Commit fd6d9932 authored by Kostis Trantzas's avatar Kostis Trantzas
Browse files

Update to Angular v14 (fix for #30)

parent fff4f842
Loading
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
        "build": {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            "allowedCommonJsDependencies": ["jwt-decode"],
            "allowedCommonJsDependencies": ["jwt-decode", "moment", "jsoneditor", "fast-sha256"],
            "outputPath": "dist/org.etsi.osl.tmf.web",
            "index": "src/index.html",
            "main": "src/main.ts",
@@ -56,7 +56,14 @@
                  "with": "src/environments/environment.prod.ts"
                }
              ],
              "optimization": true,
              "optimization": {
                "scripts": true,
                "styles": {
                  "minify": true,
                  "inlineCritical": false
                },
                "fonts": true
              },
              "outputHashing": "all",
              "sourceMap": false,
              "namedChunks": false,
@@ -154,5 +161,7 @@
      }
    }
  },
  "defaultProject": "org.etsi.osl.tmf.web"
  "cli": {
    "analytics": false
  }
}
 No newline at end of file
+8454 −4315

File changed.

Preview size limit exceeded, changes collapsed.

+34 −33
Original line number Diff line number Diff line
@@ -11,47 +11,48 @@
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "~13.3.11",
    "@angular/cdk": "~13.3.9",
    "@angular/common": "~13.3.11",
    "@angular/compiler": "~13.3.11",
    "@angular/core": "~13.3.11",
    "@angular/forms": "~13.3.11",
    "@angular/localize": "^13.3.11",
    "@angular/material": "~13.3.9",
    "@angular/platform-browser": "~13.3.11",
    "@angular/platform-browser-dynamic": "~13.3.11",
    "@angular/router": "~13.3.11",
    "@danielmoncada/angular-datetime-picker": "~13.1.1",
    "@danielmoncada/angular-datetime-picker-moment-adapter": "~1.1.0",
    "@angular/animations": "^14.3.0",
    "@angular/cdk": "^14.2.7",
    "@angular/common": "^14.3.0",
    "@angular/compiler": "^14.3.0",
    "@angular/core": "^14.3.0",
    "@angular/forms": "^14.3.0",
    "@angular/localize": "^14.3.0",
    "@angular/material": "^14.2.7",
    "@angular/platform-browser": "^14.3.0",
    "@angular/platform-browser-dynamic": "^14.3.0",
    "@angular/router": "^14.3.0",
    "@danielmoncada/angular-datetime-picker": "~14.2.0",
    "@danielmoncada/angular-datetime-picker-moment-adapter": "~3.0.1",
    "@fortawesome/fontawesome-free": "~5.15.4",
    "@fullcalendar/angular": "~5.11.2",
    "@fullcalendar/core": "~5.11.2",
    "@fullcalendar/daygrid": "~5.11.2",
    "@fullcalendar/interaction": "~5.11.2",
    "@fullcalendar/list": "~5.11.2",
    "@fullcalendar/resource-timeline": "~5.11.2",
    "@fullcalendar/timegrid": "~5.11.2",
    "@iplab/ngx-file-upload": "~13.0.0",
    "@ng-bootstrap/ng-bootstrap": "~11.0.1",
    "ang-jsoneditor": "^1.10.5",
    "angular-oauth2-oidc": "~13.0.1",
    "@fullcalendar/angular": "~6.1.16",
    "@fullcalendar/core": "~6.1.15",
    "@fullcalendar/daygrid": "~6.1.15",
    "@fullcalendar/interaction": "~6.1.15",
    "@fullcalendar/list": "~6.1.15",
    "@fullcalendar/resource-timeline": "~6.1.15",
    "@fullcalendar/timegrid": "~6.1.15",
    "@iplab/ngx-file-upload": "~14.0.2",
    "ang-jsoneditor": "~3.0.2",
    "angular-oauth2-oidc": "~14.0.1",
    "blockly": "git://github.com/google/blockly.git#6.20210701.0",
    "bootstrap": "~4.6.0",
    "jsoneditor": "^9.10.0",
    "jsoneditor": "~9.10.0",
    "jwt-decode": "~2.2.0",
    "ngx-markdown": "~13.1.0",
    "ngx-progressbar": "~8.0.0",
    "ngx-toastr": "~14.3.0",
    "rxjs": "~6.6.7",
    "marked": "^15.0.8",
    "ngx-bootstrap": "~9.0.0",
    "ngx-markdown": "~14.0.1",
    "ngx-progressbar": "~9.0.0",
    "ngx-toastr": "~15.2.2",
    "rxjs": "~7.4.0",
    "tslib": "~2.0.0",
    "zone.js": "~0.11.8"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~13.3.9",
    "@angular/cli": "~13.3.9",
    "@angular/compiler-cli": "~13.3.11",
    "@angular/language-service": "~13.3.11",
    "@angular-devkit/build-angular": "^14.2.13",
    "@angular/cli": "^14.2.13",
    "@angular/compiler-cli": "^14.3.0",
    "@angular/language-service": "^14.3.0",
    "@types/jasmine": "~3.3.8",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "~12.11.1",
+25 −33
Original line number Diff line number Diff line
@@ -49,15 +49,7 @@ import { AssignSubcategoriesComponent } from './p_product/admin/productCatalogMa
        CommonModule,
        SharedModule,
        AppProductsRoutingModule,
  ],
  entryComponents: [
    DeleteProductCatalogsComponent,
    DeleteProductSpecsComponent,
    DeleteProductCategoriesComponent,
    DeleteProductOfferingComponent,
    AssignServiceSpecificationComponent,
    PreviewMarketPlaceItemComponent
  ],
    ]
})

export class AppProductsModule { }
+36 −70
Original line number Diff line number Diff line
@@ -31,11 +31,7 @@ import { DeleteResourcePoolComponent } from './p_resources/admin/resourcePoolMan
import { EditResourceReservationComponent } from './p_resources/admin/resourcePoolManagement/edit-resource-reservation/edit-resource-reservation.component';

import { FullCalendarModule } from '@fullcalendar/angular';
import dayGridPlugin from '@fullcalendar/daygrid';
import timeGridPlugin from '@fullcalendar/timegrid';
import listPlugin from '@fullcalendar/list';
import interactionPlugin from '@fullcalendar/interaction';
import resourceTimelinePlugin  from '@fullcalendar/resource-timeline';



import { ResourceReservationCalendarComponent } from './p_resources/admin/resourcePoolManagement/resource-reservation-calendar/resource-reservation-calendar.component';
@@ -43,14 +39,6 @@ import { ListResourceReservationsComponent } from './p_resources/admin/resourceP
import { ResourceReservationsCalendarComponent } from './p_resources/admin/resourcePoolManagement/list-resource-reservations/resource-reservations-calendar/resource-reservations-calendar.component';


FullCalendarModule.registerPlugins([ // register FullCalendar plugins
    dayGridPlugin,
    timeGridPlugin,
    listPlugin,
    interactionPlugin,
    resourceTimelinePlugin
]);

@NgModule({
    declarations: [
        ListResourceCatalogsComponent,
@@ -87,29 +75,7 @@ FullCalendarModule.registerPlugins([ // register FullCalendar plugins
        AppResourcesRoutingModule,
        FullCalendarModule
    ],
  entryComponents: [
    EditResourceCatalogsComponent,
    DeleteResourceSpecCharacteristicsComponent,
    EditResourceCategoriesComponent,
    DeleteResourceSpecAttachmentComponent,
    DiscardChangesComponent,
    EditResourceSpecsComponent,
    DeleteResourceCategoriesComponent,
    CreateResourceCategoryChildrenComponent,
    AssignResourceCandidatesComponent,
    EditResourceSpecCharacteristicsComponent,
    DeleteResourceCatalogsComponent,
    DeleteResourceSpecComponent,
    AssignResourceSpecRelationshipsComponent,
    EditResourcePoolComponent,
    DeleteResourcePoolComponent,
    EditResourceReservationComponent,
    AssignPoolResourceRelationshipsComponent
  ],
    exports: [

    ],
    exports: [],
    schemas: [NO_ERRORS_SCHEMA]

})
export class AppResourcesModule { }
Loading