@esfaenza/core 16.2.28 → 19.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/back-top/back-top.component.d.ts +12 -12
- package/components/base/base.component.d.ts +26 -26
- package/components/base/embedding.component.d.ts +22 -22
- package/components/base/reactive.component.d.ts +9 -9
- package/components/breadcrumb/breadcrumb.component.d.ts +26 -26
- package/components/components.module.d.ts +32 -32
- package/components/error/404/pagenotfound.component.d.ts +15 -15
- package/components/error/500/servererror.component.d.ts +20 -20
- package/components/error/Angular/angularerror.component.d.ts +25 -25
- package/components/es-image-cropper/es-image-cropper.component.d.ts +25 -25
- package/components/es-modal/es-modal-head/es-modal-head.component.d.ts +11 -11
- package/components/es-modal/es-modal.component.d.ts +18 -18
- package/components/external-page/external_pages.component.d.ts +21 -21
- package/components/index.d.ts +5 -5
- package/components/jace-login/jace-login.component.d.ts +8 -8
- package/components/jace-resource/jace-resource.component.d.ts +25 -25
- package/components/labeled-span/labeled-span.component.d.ts +11 -11
- package/components/navbar/navbar.component.d.ts +58 -58
- package/components/navbar/navbar.component.loc.d.ts +8 -8
- package/components/page/pages.component.d.ts +23 -23
- package/components/public-api.d.ts +21 -21
- package/components/redirecter/redirecter.component.d.ts +23 -23
- package/components/sidebar/sidebar.component.d.ts +64 -64
- package/components/sidebar/sidebar.component.loc.d.ts +8 -8
- package/components/user_infos/user_infos.component.d.ts +50 -50
- package/components/user_infos/user_infos.component.loc.d.ts +8 -8
- package/directives/componentHost/componentHost.directive.d.ts +12 -12
- package/directives/directives.module.d.ts +12 -12
- package/directives/draggable/draggable.directive.d.ts +13 -13
- package/directives/es-modal/es-modal.directive.d.ts +20 -20
- package/directives/es-routerLink/es-routerLink.directive.d.ts +13 -13
- package/directives/index.d.ts +5 -5
- package/directives/public-api.d.ts +7 -7
- package/directives/slim-scroll/slim-scroll.directive.d.ts +15 -15
- package/directives/widget/widget.directive.d.ts +9 -9
- package/domain/index.d.ts +5 -5
- package/domain/models/core/ApplicationJob.d.ts +12 -12
- package/domain/models/core/ApplicationMenu.d.ts +16 -16
- package/domain/models/core/ApplicationRoutes.d.ts +2 -2
- package/domain/models/core/EnvOptions.d.ts +15 -15
- package/domain/models/core/GenericItem.d.ts +10 -10
- package/domain/models/core/KeyValue.d.ts +5 -5
- package/domain/models/global_search/SaerchResultContainer.d.ts +5 -5
- package/domain/models/global_search/SearchResult.d.ts +10 -10
- package/domain/models/jace/AccountScope.d.ts +9 -9
- package/domain/models/jace/ActiveModuleView.d.ts +11 -11
- package/domain/models/jace/CategoriesWithModules.d.ts +6 -6
- package/domain/models/jace/JaceAccount.d.ts +17 -17
- package/domain/models/jace/JaceIdentity.d.ts +17 -17
- package/domain/models/jace/JaceModule.d.ts +8 -8
- package/domain/models/jace/JacePermission.d.ts +10 -10
- package/domain/models/jace/JaceRole.d.ts +13 -13
- package/domain/models/jace/JaceUser.d.ts +9 -9
- package/domain/models/user/UpdateAccountRecoverySettingsDto.d.ts +5 -5
- package/domain/models/user/UpdatePasswordDto.d.ts +9 -9
- package/domain/models/user/UpdateProfilePictureDto.d.ts +4 -4
- package/domain/models/user/UserAccount.d.ts +23 -23
- package/domain/public-api.d.ts +22 -22
- package/domain/tokens.d.ts +22 -22
- package/fesm2022/esfaenza-core-components.mjs +1492 -1480
- package/fesm2022/esfaenza-core-components.mjs.map +1 -1
- package/fesm2022/esfaenza-core-directives.mjs +269 -269
- package/fesm2022/esfaenza-core-directives.mjs.map +1 -1
- package/fesm2022/esfaenza-core-domain.mjs +153 -153
- package/fesm2022/esfaenza-core-domain.mjs.map +1 -1
- package/fesm2022/esfaenza-core-helpers.mjs +38 -38
- package/fesm2022/esfaenza-core-helpers.mjs.map +1 -1
- package/fesm2022/esfaenza-core-modules.mjs +128 -134
- package/fesm2022/esfaenza-core-modules.mjs.map +1 -1
- package/fesm2022/esfaenza-core-pipes.mjs +96 -96
- package/fesm2022/esfaenza-core-pipes.mjs.map +1 -1
- package/fesm2022/esfaenza-core-services.mjs +1760 -1754
- package/fesm2022/esfaenza-core-services.mjs.map +1 -1
- package/fesm2022/esfaenza-core.mjs +206 -230
- package/fesm2022/esfaenza-core.mjs.map +1 -1
- package/helpers/classes/ResizeListener.d.ts +12 -12
- package/helpers/index.d.ts +5 -5
- package/helpers/public-api.d.ts +1 -1
- package/index.d.ts +5 -5
- package/lib/app.component.d.ts +13 -13
- package/lib/core.module.d.ts +85 -86
- package/modules/classes/_base.module.d.ts +4 -4
- package/modules/classes/_embedding.module.d.ts +11 -11
- package/modules/classes/_shared.module.d.ts +28 -29
- package/modules/classes/t_c.module.d.ts +18 -19
- package/modules/index.d.ts +5 -5
- package/modules/public-api.d.ts +4 -4
- package/package.json +84 -104
- package/pipes/classes/included_in.pipe.d.ts +7 -7
- package/pipes/classes/safe_html.pipe.d.ts +10 -10
- package/pipes/classes/safe_script.pipe.d.ts +10 -10
- package/pipes/classes/safe_style.pipe.d.ts +10 -10
- package/pipes/classes/safe_url.pipe.d.ts +10 -10
- package/pipes/index.d.ts +5 -5
- package/pipes/pipes.module.d.ts +11 -11
- package/pipes/public-api.d.ts +6 -6
- package/public-api.d.ts +2 -2
- package/services/classes/app.accesstoken.d.ts +17 -17
- package/services/classes/app.completedjobredirection.d.ts +12 -12
- package/services/classes/app.errorhandler.d.ts +11 -11
- package/services/classes/app.event.d.ts +10 -10
- package/services/classes/app.globalsearch.d.ts +25 -25
- package/services/classes/app.httpextensions.d.ts +34 -34
- package/services/classes/app.httpextensions.loc.d.ts +8 -8
- package/services/classes/app.menufilter.d.ts +14 -14
- package/services/classes/app.routeguard.d.ts +10 -10
- package/services/classes/app.session.d.ts +15 -15
- package/services/classes/app.state.d.ts +55 -55
- package/services/classes/preferences/app.cache.persistor.d.ts +25 -25
- package/services/classes/preferences/app.preference.persistor.d.ts +25 -25
- package/services/classes/preferences/user/app.userpreferences.base.d.ts +25 -25
- package/services/index.d.ts +5 -5
- package/services/public-api.d.ts +13 -13
- package/theme/initial.scss +17 -7
- package/esm2022/components/back-top/back-top.component.mjs +0 -43
- package/esm2022/components/base/base.component.mjs +0 -67
- package/esm2022/components/base/embedding.component.mjs +0 -64
- package/esm2022/components/base/reactive.component.mjs +0 -28
- package/esm2022/components/breadcrumb/breadcrumb.component.mjs +0 -80
- package/esm2022/components/components.module.mjs +0 -97
- package/esm2022/components/error/404/pagenotfound.component.mjs +0 -36
- package/esm2022/components/error/500/servererror.component.mjs +0 -47
- package/esm2022/components/error/Angular/angularerror.component.mjs +0 -62
- package/esm2022/components/es-image-cropper/es-image-cropper.component.mjs +0 -82
- package/esm2022/components/es-modal/es-modal-head/es-modal-head.component.mjs +0 -22
- package/esm2022/components/es-modal/es-modal.component.mjs +0 -40
- package/esm2022/components/esfaenza-core-components.mjs +0 -5
- package/esm2022/components/external-page/external_pages.component.mjs +0 -48
- package/esm2022/components/jace-login/jace-login.component.mjs +0 -31
- package/esm2022/components/jace-resource/jace-resource.component.mjs +0 -68
- package/esm2022/components/labeled-span/labeled-span.component.mjs +0 -25
- package/esm2022/components/navbar/navbar.component.loc.mjs +0 -41
- package/esm2022/components/navbar/navbar.component.mjs +0 -223
- package/esm2022/components/page/pages.component.mjs +0 -60
- package/esm2022/components/public-api.mjs +0 -22
- package/esm2022/components/redirecter/redirecter.component.mjs +0 -65
- package/esm2022/components/sidebar/sidebar.component.loc.mjs +0 -39
- package/esm2022/components/sidebar/sidebar.component.mjs +0 -286
- package/esm2022/components/user_infos/user_infos.component.loc.mjs +0 -43
- package/esm2022/components/user_infos/user_infos.component.mjs +0 -148
- package/esm2022/directives/componentHost/componentHost.directive.mjs +0 -29
- package/esm2022/directives/directives.module.mjs +0 -21
- package/esm2022/directives/draggable/draggable.directive.mjs +0 -49
- package/esm2022/directives/es-modal/es-modal.directive.mjs +0 -79
- package/esm2022/directives/es-routerLink/es-routerLink.directive.mjs +0 -55
- package/esm2022/directives/esfaenza-core-directives.mjs +0 -5
- package/esm2022/directives/public-api.mjs +0 -8
- package/esm2022/directives/slim-scroll/slim-scroll.directive.mjs +0 -41
- package/esm2022/directives/widget/widget.directive.mjs +0 -37
- package/esm2022/domain/esfaenza-core-domain.mjs +0 -5
- package/esm2022/domain/models/core/ApplicationJob.mjs +0 -3
- package/esm2022/domain/models/core/ApplicationMenu.mjs +0 -26
- package/esm2022/domain/models/core/ApplicationRoutes.mjs +0 -3
- package/esm2022/domain/models/core/EnvOptions.mjs +0 -13
- package/esm2022/domain/models/core/GenericItem.mjs +0 -12
- package/esm2022/domain/models/core/KeyValue.mjs +0 -15
- package/esm2022/domain/models/global_search/SaerchResultContainer.mjs +0 -6
- package/esm2022/domain/models/global_search/SearchResult.mjs +0 -8
- package/esm2022/domain/models/jace/AccountScope.mjs +0 -8
- package/esm2022/domain/models/jace/ActiveModuleView.mjs +0 -6
- package/esm2022/domain/models/jace/CategoriesWithModules.mjs +0 -7
- package/esm2022/domain/models/jace/JaceAccount.mjs +0 -3
- package/esm2022/domain/models/jace/JaceIdentity.mjs +0 -15
- package/esm2022/domain/models/jace/JaceModule.mjs +0 -10
- package/esm2022/domain/models/jace/JacePermission.mjs +0 -3
- package/esm2022/domain/models/jace/JaceRole.mjs +0 -9
- package/esm2022/domain/models/jace/JaceUser.mjs +0 -3
- package/esm2022/domain/models/user/UpdateAccountRecoverySettingsDto.mjs +0 -7
- package/esm2022/domain/models/user/UpdatePasswordDto.mjs +0 -11
- package/esm2022/domain/models/user/UpdateProfilePictureDto.mjs +0 -6
- package/esm2022/domain/models/user/UserAccount.mjs +0 -3
- package/esm2022/domain/public-api.mjs +0 -23
- package/esm2022/domain/tokens.mjs +0 -17
- package/esm2022/esfaenza-core.mjs +0 -5
- package/esm2022/helpers/classes/ResizeListener.mjs +0 -38
- package/esm2022/helpers/esfaenza-core-helpers.mjs +0 -5
- package/esm2022/helpers/public-api.mjs +0 -2
- package/esm2022/lib/app.component.mjs +0 -34
- package/esm2022/lib/core.module.mjs +0 -258
- package/esm2022/modules/classes/_base.module.mjs +0 -32
- package/esm2022/modules/classes/_embedding.module.mjs +0 -27
- package/esm2022/modules/classes/_shared.module.mjs +0 -47
- package/esm2022/modules/classes/t_c.module.mjs +0 -85
- package/esm2022/modules/esfaenza-core-modules.mjs +0 -5
- package/esm2022/modules/public-api.mjs +0 -5
- package/esm2022/pipes/classes/included_in.pipe.mjs +0 -20
- package/esm2022/pipes/classes/safe_html.pipe.mjs +0 -21
- package/esm2022/pipes/classes/safe_script.pipe.mjs +0 -21
- package/esm2022/pipes/classes/safe_style.pipe.mjs +0 -21
- package/esm2022/pipes/classes/safe_url.pipe.mjs +0 -21
- package/esm2022/pipes/esfaenza-core-pipes.mjs +0 -5
- package/esm2022/pipes/pipes.module.mjs +0 -20
- package/esm2022/pipes/public-api.mjs +0 -7
- package/esm2022/public-api.mjs +0 -3
- package/esm2022/services/classes/app.accesstoken.mjs +0 -1042
- package/esm2022/services/classes/app.completedjobredirection.mjs +0 -18
- package/esm2022/services/classes/app.errorhandler.mjs +0 -41
- package/esm2022/services/classes/app.event.mjs +0 -27
- package/esm2022/services/classes/app.globalsearch.mjs +0 -34
- package/esm2022/services/classes/app.httpextensions.loc.mjs +0 -15
- package/esm2022/services/classes/app.httpextensions.mjs +0 -90
- package/esm2022/services/classes/app.menufilter.mjs +0 -21
- package/esm2022/services/classes/app.routeguard.mjs +0 -23
- package/esm2022/services/classes/app.session.mjs +0 -40
- package/esm2022/services/classes/app.state.mjs +0 -229
- package/esm2022/services/classes/preferences/app.cache.persistor.mjs +0 -94
- package/esm2022/services/classes/preferences/app.preference.persistor.mjs +0 -94
- package/esm2022/services/classes/preferences/user/app.userpreferences.base.mjs +0 -101
- package/esm2022/services/esfaenza-core-services.mjs +0 -5
- package/esm2022/services/public-api.mjs +0 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esfaenza-core.mjs","sources":["../../../projects/core/src/lib/app.component.ts","../../../projects/core/src/lib/app.component.html","../../../projects/core/src/lib/core.module.ts","../../../projects/core/src/esfaenza-core.ts"],"sourcesContent":["// Angular\r\nimport { Component, Inject, ViewEncapsulation } from \"@angular/core\";\r\nimport { Router } from \"@angular/router\";\r\nimport { ANONYMOUS_MODE } from \"@esfaenza/core/domain\";\r\n\r\n// Configurazioni\r\nimport { AppState, TokenService } from \"@esfaenza/core/services\";\r\n\r\n/* N.B: Questo componente non può diventare standalone. È il punto di ingresso per il bootstrap dei moduli di Frontend, che NON si basano sui componenti standalone a meno di rare funzionalità */\r\n@Component({\r\n selector: 'app-root',\r\n encapsulation: ViewEncapsulation.None,\r\n styleUrls: [\"./app.component.scss\"],\r\n templateUrl: './app.component.html'\r\n})\r\nexport class AppComponent {\r\n\r\n public snows: number[] = [];\r\n\r\n public snowTrackBy = (_: number, item: any) => item;\r\n\r\n constructor(private bts: TokenService, public _state: AppState, private router: Router, @Inject(ANONYMOUS_MODE) anonymousMode: boolean) {\r\n\r\n if (this._state.christmasTime)\r\n for (let i = 0; i < 400; i++)\r\n this.snows.push(i);\r\n\r\n if (!this.bts.accountScope && !anonymousMode) {\r\n console.log(\"AppComponent - no account scope, redirecting to login\")\r\n this.router.navigate([\"login\", { fromUrl: this.router.url }]);\r\n }\r\n }\r\n}","<ng-container *ngIf=\"_state.christmasTime\">\r\n <div *ngFor=\"let i of snows; trackBy: snowTrackBy\" class=\"snow\"></div>\r\n</ng-container>\r\n<router-outlet></router-outlet>","// Angular\r\nimport { NgModule, ErrorHandler, LOCALE_ID, APP_INITIALIZER, ModuleWithProviders, Type, isDevMode } from \"@angular/core\";\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { Routes, RouterModule, NoPreloading, ROUTES } from \"@angular/router\";\r\nimport { MAT_DATE_FORMATS, MAT_DATE_LOCALE } from \"@angular/material/core\";\r\nimport { EVENT_MANAGER_PLUGINS } from \"@angular/platform-browser\";\r\nimport { ServiceWorkerModule } from \"@angular/service-worker\";\r\nimport { HttpClientModule } from \"@angular/common/http\";\r\nimport \"@angular/common/locales/global/it\";\r\n\r\n// Plugins\r\nimport { NgxMatDateAdapter, NGX_MAT_DATE_FORMATS } from \"@angular-material-components/datetime-picker\";\r\nimport { CookieService } from \"ngx-cookie-service\";\r\nimport { ToastrModule } from \"ngx-toastr\";\r\nimport \"widgster/widgster.js\";\r\n\r\n// ES\r\nimport { PreferencesModule, PREF_DEBUG_MODE, PreferencesPersistor, LocalStoragePreferencesPersistor, CachePersistor, LocalStorageCachePersistor } from \"@esfaenza/preferences\";\r\nimport { LocalizationModule, LocalizationService, LocalizationMissingPolicy, LOC_DEBUG_MODE, BaseLocalization } from \"@esfaenza/localizations\";\r\nimport { HttpserviceModule, HttpServiceExtensions, HTTPService, HTTP_DEBUG_MODE, HTTP_INVALIDATION } from \"@esfaenza/httpservice\";\r\nimport { SignalrNotificationsModule, SGR_DEBUG_MODE, BaseMessageService } from \"@esfaenza/signalr-notifications\";\r\nimport { FormsAndValidationsModule, NgxExpandedDayJsDateAdapter } from \"@esfaenza/forms-and-validations\";\r\nimport { AccessControlModule, AccessControlService, ACC_DEBUG_MODE } from \"@esfaenza/access-control\";\r\nimport { BaseAdapter, EsChartsModule, ESC_DEBUG_MODE } from \"@esfaenza/es-charts\";\r\nimport { ExtensionsModule, EXT_DEBUG_MODE } from \"@esfaenza/extensions\";\r\nimport { ContextMenuModule } from \"@esfaenza/ngx-contextmenu\";\r\nimport { DragulaModule } from '@esfaenza/ngx-dragula';\r\nimport { EsTableModule } from \"@esfaenza/es-table\";\r\nimport { TAB_DEBUG_MODE } from \"@esfaenza/tabber\";\r\n\r\n// Core\r\nimport { APPErrorHandler, HTTPServiceExtensions, ApplicationPreferencesPersistor, ApplicationCachePersistor, SessionRetriever, OutZoneEventPlugin, TokenService, GlobalSearchService, CompletedJobRedirectionService, MenuFilteringService, UserPreferencesService } from \"@esfaenza/core/services\";\r\nimport { PageNotFoundComponent, ServerErrorComponent, AngularErrorComponent, ExternalPagesComponent, JaceLoginComponent, PagesComponent, RedirecterComponent, ComponentsModule, UserInfosComponent } from \"@esfaenza/core/components\";\r\nimport { ApplicationMenu, EnvOptions, AccountScope, MENU, MENU_LOCALIZATION, REDIRECT_MAP, USE_FAKE_ACCESS_TOKEN, NAVBAR_EXTENSIONS, LOGIN_URL_LEGACY, ANONYMOUS_MODE } from \"@esfaenza/core/domain\"\r\nimport { ROUTE, EMBEDDED_ROUTE } from \"@esfaenza/core/domain\"\r\nimport { TemplateCommon } from \"@esfaenza/core/modules\";\r\n\r\n// RxJs\r\nimport { catchError, switchMap, take, tap } from \"rxjs/operators\";\r\nimport { forkJoin, Observable, of } from \"rxjs\";\r\n\r\n// Bootstrap\r\nimport { ProgressbarModule } from \"ngx-bootstrap/progressbar\";\r\nimport { TimepickerModule } from \"ngx-bootstrap/timepicker\";\r\nimport { BsDropdownModule } from \"ngx-bootstrap/dropdown\";\r\nimport { TooltipModule } from \"ngx-bootstrap/tooltip\";\r\nimport { ModalModule } from \"ngx-bootstrap/modal\";\r\n\r\n// Applicazione\r\nimport { AppComponent } from \"./app.component\";\r\n\r\n// Repositories\r\nconst GET_Jace_GetAccountScope: string = \"/api/Jace/GetAccountScope\";\r\nconst GET_AppConfig_GetAppConfig: string = \"/api/AppConfig/GetAppConfig\";\r\n\r\ndeclare var myconfig: EnvOptions;\r\n\r\nconst baseAppRoutes: Routes = [\r\n { path: \"\", redirectTo: \"pages/{emptyRouteRedirect}\", pathMatch: \"full\" },\r\n { path: EMBEDDED_ROUTE, component: ExternalPagesComponent },\r\n { path: ROUTE, component: PagesComponent },\r\n { path: \"rd\", component: RedirecterComponent },\r\n { path: \"rd/:tenant\", component: RedirecterComponent },\r\n { path: \"login\", component: JaceLoginComponent },\r\n { path: \"iserr\", component: ServerErrorComponent },\r\n { path: \"anerr\", component: AngularErrorComponent },\r\n { path: \"**\", component: PageNotFoundComponent },\r\n\r\n];\r\n\r\nconst MODULES = [\r\n BrowserAnimationsModule,\r\n HttpClientModule,\r\n TemplateCommon,\r\n ComponentsModule,\r\n\r\n // Attenzione a lasciarlo attivo in ng serve: https://github.com/angular/angular/issues/47455\r\n ServiceWorkerModule.register('ngsw-worker.js', { enabled: !isDevMode() }),\r\n RouterModule.forRoot([], { useHash: true, preloadingStrategy: NoPreloading, onSameUrlNavigation: \"reload\" }),\r\n\r\n // ES\r\n EsTableModule.forRoot(),\r\n FormsAndValidationsModule.forRoot({ acocustom: \"O\", sliderMode: true }),\r\n ExtensionsModule.forRoot(),\r\n LocalizationModule.forRoot({ localizationMissingPolicy: LocalizationMissingPolicy.PrintSource, defaultLocale: 'it-IT' }),\r\n AccessControlModule.forRoot({ contextAwareKey: \"O\", defaultCondition: '(R:Jace Admin || R:Jace Support)' }),\r\n HttpserviceModule.forRoot(),\r\n SignalrNotificationsModule.forRoot({ endpointUrl: 'notify', useMessagePack: true }),\r\n PreferencesModule.forRoot({ retrieveAllAtStart: true, sessionRetriever: SessionRetriever, preferencePersistor: ApplicationPreferencesPersistor, cachePersistor: ApplicationCachePersistor }),\r\n EsChartsModule.forRoot(),\r\n\r\n // Bootstrap\r\n TooltipModule.forRoot(),\r\n ModalModule.forRoot(),\r\n ProgressbarModule.forRoot(),\r\n BsDropdownModule.forRoot(),\r\n ToastrModule.forRoot(),\r\n TimepickerModule.forRoot(),\r\n ContextMenuModule.forRoot(),\r\n DragulaModule.forRoot()\r\n];\r\n\r\n// Generatore dei formati data\r\nvar formats = (style: 'long' | 'short') => {\r\n return {\r\n parse: { dateInput: 'DD/MM/YYYY' + (style === 'long' ? ' HH:mm:ss' : '') },\r\n display: {\r\n dateInput: 'DD/MM/YYYY' + (style === 'long' ? ' HH:mm:ss' : ''),\r\n monthYearLabel: 'MM YYYY',\r\n dateA11yLabel: 'DD/MM/YYYY' + (style === 'long' ? ' HH:mm:ss' : ''),\r\n monthYearA11yLabel: 'MM YYYY',\r\n }\r\n };\r\n}\r\n\r\nconst localeFactory = (loc: LocalizationService) => loc.SmallLocale;\r\n\r\nconst PROVIDERS = [\r\n CookieService,\r\n\r\n // Providers applicativi\r\n { provide: ErrorHandler, useClass: APPErrorHandler },\r\n { provide: EVENT_MANAGER_PLUGINS, useExisting: OutZoneEventPlugin, multi: true },\r\n { provide: HttpServiceExtensions, useClass: HTTPServiceExtensions },\r\n\r\n // Locale e gestioni delle date\r\n { provide: LOCALE_ID, useFactory: localeFactory, deps: [LocalizationService] },\r\n { provide: MAT_DATE_LOCALE, useFactory: localeFactory, deps: [LocalizationService] },\r\n { provide: MAT_DATE_FORMATS, useValue: formats('short') },\r\n\r\n // Questi due sono providati dal FormsAndValidationModule stesso, però quest'ultimo è definito in forRoot solo lato componenti shared, \r\n // quindi per rendere questi provider disponibili anche a moduli esterni devo riprovidarli anche qui\r\n { provide: NGX_MAT_DATE_FORMATS, useValue: formats('long') },\r\n { provide: NgxMatDateAdapter, useClass: NgxExpandedDayJsDateAdapter }\r\n];\r\n\r\n@NgModule({\r\n declarations: [AppComponent],\r\n imports: [...MODULES]\r\n})\r\nexport class EsFaenzaCoreModule {\r\n static forRoot(config?: EsFaenzaCoreModuleConfig): ModuleWithProviders<EsFaenzaCoreModule> {\r\n if (config.routes) {\r\n // Aggiunta della route di embedding se non dichiarata, lato aggiunta faccio in modo che l'embedding sia disponibile solo da route interne (pages OK, pages_ext NON OK)\r\n if (!config.routes.find(t => t.path.startsWith(\"embed\")))\r\n config.routes = [...config.routes, { path: \"embed/:module\", loadChildren: () => import('@esfaenza/core/modules').then(m => m.EmbeddingModule) }]\r\n\r\n baseAppRoutes[0].redirectTo = [\"pages\", \"pages_ext\"].map(t => (config.emptyRouteRedirect || '').startsWith(t)).some(t => !!t) ? \"/\" + config.emptyRouteRedirect : `pages/${config.emptyRouteRedirect || 'dashboard'}`;\r\n baseAppRoutes.filter(t => [\"pages\", \"pages_ext\"].includes(t.path)).forEach(path => {\r\n path.children = [\r\n { path: \"profile\", component: UserInfosComponent, data: { InternalNavigation: true, title: \"profilo\" } },\r\n ...config.routes.filter(r => !path.path.includes(\"pages_ext\") || !r.path.startsWith(\"embed\"))\r\n ];\r\n });\r\n }\r\n config.debugMode = (!isDevMode() && !config.forceDebugModeForProdBuilds) ? DebugFlags.None : (config.debugMode || DebugFlags.All);\r\n\r\n let mergedAppInitializer = (http: HTTPService, bts: TokenService, aac: AccessControlService, loc: BaseLocalization) => {\r\n return () => {\r\n if (config.anonymousMode) {\r\n console.log(\"%c[APP_INITIALIZER] Loading AppConfig...\", \"background-color: yellow\");\r\n return http.get<EnvOptions>(GET_AppConfig_GetAppConfig, null, null, false).pipe(catchError(_ => of({}))).pipe(\r\n tap((appConfig: EnvOptions) => {\r\n myconfig = appConfig;\r\n\r\n console.log(\"%c[APP_INITIALIZER] appConfig registered\", \"background-color: yellow\");\r\n aac.initializeIdentity(null);\r\n }),\r\n switchMap(_ => {\r\n if (!config.initializerFunction)\r\n return of();\r\n\r\n console.log(\"%c[APP_INITIALIZER] Loading custom application initialization\", \"background-color: yellow\");\r\n return config.initializerFunction(http, bts, aac)().pipe(tap(_ => {\r\n console.log(\"%c[APP_INITIALIZER] Initialization is over\", \"background-color: yellow\");\r\n }));\r\n })\r\n );\r\n }\r\n\r\n console.log(\"%c[APP_INITIALIZER] Loading AppConfig and Account Scope...\", \"background-color: yellow\");\r\n let realObservable = forkJoin(\r\n {\r\n appConfig: http.get<EnvOptions>(GET_AppConfig_GetAppConfig, null, null, false).pipe(catchError(_ => of({}))),\r\n scope: http.get<AccountScope>(GET_Jace_GetAccountScope, null, null, false).pipe(catchError(_ => of(null))),\r\n locale: loc.Locale.pipe(take(1), catchError(_ => of('it-IT'))),\r\n });\r\n\r\n let usedObservable = config.optionsAndScopeProvider || realObservable;\r\n\r\n return usedObservable.pipe(\r\n tap((res: { appConfig: EnvOptions, scope: AccountScope, locale: string }) => {\r\n myconfig = res.appConfig;\r\n http.setAppConfig(myconfig);\r\n // L'account scope lo prendo dalla Query a backend solo se non uso il Fake token\r\n if (!bts.USE_FAKE_ACCESS_TOKEN)\r\n bts.accountScope = res.scope;\r\n\r\n console.log(\"%c[APP_INITIALIZER] appConfig and scope registered\", \"background-color: yellow\");\r\n\r\n var identtity = bts.getJaceIdentity();\r\n if (bts.accountScope)\r\n aac.initializeIdentity(identtity);\r\n }),\r\n switchMap(_ => {\r\n if (!config.initializerFunction)\r\n return of();\r\n\r\n console.log(\"%c[APP_INITIALIZER] Loading custom application initialization\", \"background-color: yellow\");\r\n return config.initializerFunction(http, bts, aac)().pipe(tap(_ => {\r\n console.log(\"%c[APP_INITIALIZER] Initialization is over\", \"background-color: yellow\");\r\n }));\r\n })\r\n );\r\n }\r\n };\r\n\r\n return {\r\n ngModule: EsFaenzaCoreModule,\r\n providers: [\r\n // *************************** Provider statici ***************************\r\n\r\n ...PROVIDERS,\r\n\r\n // ************************ Provider customizzabili ************************\r\n ...(!config.redirectionMap ? [] : [{ provide: REDIRECT_MAP, useValue: config.redirectionMap }]),\r\n { provide: APP_INITIALIZER, useFactory: mergedAppInitializer, deps: [HTTPService, TokenService, AccessControlService, BaseLocalization], multi: true },\r\n { provide: ROUTES, useValue: baseAppRoutes, multi: true },\r\n { provide: LOC_DEBUG_MODE, useValue: config.debugMode ? (config.debugMode & DebugFlags.Localizations) == DebugFlags.Localizations : false },\r\n { provide: EXT_DEBUG_MODE, useValue: config.debugMode ? (config.debugMode & DebugFlags.Extensions) == DebugFlags.Extensions : false },\r\n { provide: ACC_DEBUG_MODE, useValue: config.debugMode ? (config.debugMode & DebugFlags.AccessControl) == DebugFlags.AccessControl : false },\r\n { provide: HTTP_DEBUG_MODE, useValue: config.debugMode ? (config.debugMode & DebugFlags.Http) == DebugFlags.Http : false },\r\n { provide: HTTP_INVALIDATION, useValue: config?.httpInvalidationCache },\r\n { provide: TAB_DEBUG_MODE, useValue: config.debugMode ? (config.debugMode & DebugFlags.Tabber) == DebugFlags.Tabber : false },\r\n { provide: SGR_DEBUG_MODE, useValue: config.debugMode ? (config.debugMode & DebugFlags.SignalR) == DebugFlags.SignalR : false },\r\n { provide: PREF_DEBUG_MODE, useValue: config.debugMode ? (config.debugMode & DebugFlags.Preferences) == DebugFlags.Preferences : false },\r\n { provide: ESC_DEBUG_MODE, useValue: config.debugMode ? (config.debugMode & DebugFlags.Charts) == DebugFlags.Charts : false },\r\n { provide: LOGIN_URL_LEGACY, useValue: config.legacyLogin !== null && config.legacyLogin !== undefined ? config.legacyLogin : false },\r\n { provide: NAVBAR_EXTENSIONS, useValue: config.navbarExtensions ? config.navbarExtensions : [] },\r\n { provide: ANONYMOUS_MODE, useValue: config.anonymousMode ? config.anonymousMode : false },\r\n { provide: BaseAdapter, useClass: config?.chartsAdapter || BaseAdapter },\r\n { provide: BaseMessageService, useClass: config?.messageService || BaseMessageService },\r\n { provide: GlobalSearchService, useClass: config?.globalSearchService || GlobalSearchService },\r\n { provide: CompletedJobRedirectionService, useClass: config?.completedJobRedirectionService || CompletedJobRedirectionService },\r\n { provide: MenuFilteringService, useClass: config?.menuFilteringService || MenuFilteringService },\r\n { provide: UserPreferencesService, useClass: config?.userPreferencesProvider || UserPreferencesService },\r\n { provide: MENU_LOCALIZATION, useValue: config.menuLoc || null },\r\n { provide: MENU, useValue: config.menu },\r\n { provide: USE_FAKE_ACCESS_TOKEN, useValue: !!config.fakeAccessToken },\r\n { provide: PreferencesPersistor, useClass: config.fakeAccessToken ? LocalStoragePreferencesPersistor : ApplicationPreferencesPersistor },\r\n { provide: CachePersistor, useClass: config.fakeAccessToken ? LocalStorageCachePersistor : ApplicationCachePersistor }\r\n ]\r\n };\r\n }\r\n}\r\n\r\nexport class EsFaenzaCoreModuleConfig {\r\n /* Route applicative, solo quelle dentro a **pages** */\r\n routes!: Routes;\r\n /* Menù della sidebar dell'applicazione */\r\n menu: ApplicationMenu[];\r\n /* Indica se utilizzare l'access token finto */\r\n fakeAccessToken?: boolean;\r\n /* Tipo da usare per generare le localizzaizoni del menù */\r\n menuLoc?: Type<LocalizationService>;\r\n /* Redirect per la root dell'applicazione, di default è impostato a **dashboard**. Se all'interno delle **routes** non esiste la route **dashboard** è da impostare adeguatamente */\r\n emptyRouteRedirect?: string;\r\n /* Se non specificata viene impostata automaticamente ad \"All\" in fase di debug, \"None\" in produzione (quest'ultimo a prescindere, a meno che **forceDebugModeForProdBuilds** non sia true)*/\r\n debugMode?: DebugFlags;\r\n /* Permette di forzare la modalità di debug specificata anche per le build di produzione, **NON IMPOSTARE A TRUE** a meno di rarissimissimissimi casi */\r\n forceDebugModeForProdBuilds?: boolean;\r\n /* Cache di invalidazione per le chiamate http */\r\n httpInvalidationCache?: any;\r\n /* Funzione di inizializzazione APP_INITIALIZER-like che viene richiamata dopo alla funzione di inizializzazione di default */\r\n initializerFunction?: (http: HTTPService, bts: TokenService, aac: AccessControlService) => () => Observable<any>;\r\n /* Mappa di redirect per permettere al **RedirecterComponent** di sapere dove navigare in base a Oggetto-Parametri */\r\n redirectionMap?: { [index: string]: { url: string, params: string[] } };\r\n /* Adattatore dei grafici nel caso un progetto fosse vecchio (Rimuovibile quando tutti i progetti usano nativamente es-charts) */\r\n chartsAdapter?: Type<BaseAdapter>;\r\n /* Servizio che espone i messaggi disponibili su Signalr */\r\n messageService?: Type<BaseMessageService>;\r\n /* Servizio per la search globale del modulo */\r\n globalSearchService?: Type<GlobalSearchService>;\r\n /* Servizio per filtrare le voci di menù */\r\n menuFilteringService?: Type<MenuFilteringService>;\r\n /* Servizio di ridirezione per job completati */\r\n completedJobRedirectionService?: Type<CompletedJobRedirectionService>;\r\n /* Funzione di override per recuperare account scope e envoptions. Può anche essere utilizzata per fornire modelli finti fino ad implementazione */\r\n optionsAndScopeProvider?: Observable<{ appConfig: EnvOptions, scope: AccountScope, locale: string }>;\r\n /* Lista dei componenti con cui espandere la navbar */\r\n navbarExtensions?: Type<any>[];\r\n /* Servizio di recupero/modifica preferenze utente */\r\n userPreferencesProvider?: Type<UserPreferencesService>;\r\n /* identifica se utilizzare la versione vecchia dell'url di auth (${myconfig.AUTH_URL}/login/form?client=${myconfig.CLIENT_NAME}) invece che la nuova (${myconfig.AUTH_URL}/login;client=${myconfig.CLIENT_NAME}) */\r\n legacyLogin?: boolean;\r\n /* Indica se il servizio di autenticazione deve funzionare in anonimo lato Frontend. Dev'essere utilizzato insieme al tag \"Auth\" in code behind */\r\n anonymousMode?: boolean;\r\n}\r\n\r\nexport enum DebugFlags {\r\n None = 0,\r\n Localizations = 1 << 0,\r\n Extensions = 1 << 1,\r\n AccessControl = 1 << 2,\r\n Http = 1 << 3,\r\n SignalR = 1 << 4,\r\n Preferences = 1 << 5,\r\n Charts = 1 << 6,\r\n Tabber = 1 << 7,\r\n All = ~(~0 << 8)\r\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAQA;MAOa,YAAY,CAAA;AAMrB,IAAA,WAAA,CAAoB,GAAiB,EAAS,MAAgB,EAAU,MAAc,EAA0B,aAAsB,EAAA;QAAlH,IAAG,CAAA,GAAA,GAAH,GAAG,CAAc;QAAS,IAAM,CAAA,MAAA,GAAN,MAAM,CAAU;QAAU,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QAJ/E,IAAK,CAAA,KAAA,GAAa,EAAE,CAAC;QAErB,IAAW,CAAA,WAAA,GAAG,CAAC,CAAS,EAAE,IAAS,KAAK,IAAI,CAAC;AAIhD,QAAA,IAAI,IAAI,CAAC,MAAM,CAAC,aAAa;YACzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE;AACxB,gBAAA,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAE3B,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,IAAI,CAAC,aAAa,EAAE;AAC1C,YAAA,OAAO,CAAC,GAAG,CAAC,uDAAuD,CAAC,CAAA;AACpE,YAAA,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC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BAAwB,CAAA;AAyCpC,CAAA;IAEW,WAWX;AAXD,CAAA,UAAY,UAAU,EAAA;AAClB,IAAA,UAAA,CAAA,UAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAQ,CAAA;AACR,IAAA,UAAA,CAAA,UAAA,CAAA,eAAA,CAAA,GAAA,CAAA,CAAA,GAAA,eAAsB,CAAA;AACtB,IAAA,UAAA,CAAA,UAAA,CAAA,YAAA,CAAA,GAAA,CAAA,CAAA,GAAA,YAAmB,CAAA;AACnB,IAAA,UAAA,CAAA,UAAA,CAAA,eAAA,CAAA,GAAA,CAAA,CAAA,GAAA,eAAsB,CAAA;AACtB,IAAA,UAAA,CAAA,UAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,UAAA,CAAA,UAAA,CAAA,SAAA,CAAA,GAAA,EAAA,CAAA,GAAA,SAAgB,CAAA;AAChB,IAAA,UAAA,CAAA,UAAA,CAAA,aAAA,CAAA,GAAA,EAAA,CAAA,GAAA,aAAoB,CAAA;AACpB,IAAA,UAAA,CAAA,UAAA,CAAA,QAAA,CAAA,GAAA,EAAA,CAAA,GAAA,QAAe,CAAA;AACf,IAAA,UAAA,CAAA,UAAA,CAAA,QAAA,CAAA,GAAA,GAAA,CAAA,GAAA,QAAe,CAAA;AACf,IAAA,UAAA,CAAA,UAAA,CAAA,KAAA,CAAA,GAAA,GAAA,CAAA,GAAA,KAAgB,CAAA;AACpB,CAAC,EAXW,UAAU,KAAV,UAAU,GAWrB,EAAA,CAAA,CAAA;;ACtTD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"esfaenza-core.mjs","sources":["../../../projects/core/src/lib/app.component.ts","../../../projects/core/src/lib/app.component.html","../../../projects/core/src/lib/core.module.ts","../../../projects/core/src/esfaenza-core.ts"],"sourcesContent":["// Angular\r\nimport { Component, Inject, ViewEncapsulation } from \"@angular/core\";\r\nimport { Router } from \"@angular/router\";\r\nimport { ANONYMOUS_MODE } from \"@esfaenza/core/domain\";\r\n\r\n// Configurazioni\r\nimport { AppState, TokenService } from \"@esfaenza/core/services\";\r\n\r\n/* N.B: Questo componente non può diventare standalone. È il punto di ingresso per il bootstrap dei moduli di Frontend, che NON si basano sui componenti standalone a meno di rare funzionalità */\r\n@Component({\r\n selector: 'app-root',\r\n encapsulation: ViewEncapsulation.None,\r\n styleUrls: [\"./app.component.scss\"],\r\n templateUrl: './app.component.html',\r\n standalone: false\r\n})\r\nexport class AppComponent {\r\n\r\n public snows: number[] = [];\r\n\r\n public snowTrackBy = (_: number, item: any) => item;\r\n\r\n constructor(private bts: TokenService, public _state: AppState, private router: Router, @Inject(ANONYMOUS_MODE) anonymousMode: boolean) {\r\n\r\n if (this._state.christmasTime)\r\n for (let i = 0; i < 400; i++)\r\n this.snows.push(i);\r\n\r\n if (!this.bts.accountScope && !anonymousMode) {\r\n console.log(\"AppComponent - no account scope, redirecting to login\")\r\n this.router.navigate([\"login\", { fromUrl: this.router.url }]);\r\n }\r\n }\r\n}","<ng-container *ngIf=\"_state.christmasTime\">\r\n <div *ngFor=\"let i of snows; trackBy: snowTrackBy\" class=\"snow\"></div>\r\n</ng-container>\r\n<router-outlet></router-outlet>","// Angular\r\nimport { NgModule, ErrorHandler, APP_INITIALIZER, ModuleWithProviders, Type, isDevMode } from \"@angular/core\";\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { Routes, RouterModule, NoPreloading, ROUTES } from \"@angular/router\";\r\nimport { EVENT_MANAGER_PLUGINS } from \"@angular/platform-browser\";\r\nimport { ServiceWorkerModule } from \"@angular/service-worker\";\r\nimport { provideHttpClient, withInterceptorsFromDi } from \"@angular/common/http\";\r\nimport \"@angular/common/locales/global/it\";\r\n\r\n// Plugins\r\nimport { CookieService } from \"ngx-cookie-service\";\r\nimport { ToastrModule } from \"ngx-toastr\";\r\nimport \"widgster/widgster.js\";\r\n\r\n// ES\r\nimport { PreferencesModule, PREF_DEBUG_MODE, PreferencesPersistor, LocalStoragePreferencesPersistor, CachePersistor, LocalStorageCachePersistor } from \"@esfaenza/preferences\";\r\nimport { LocalizationModule, LocalizationService, LocalizationMissingPolicy, LOC_DEBUG_MODE, BaseLocalization } from \"@esfaenza/localizations\";\r\nimport { HttpserviceModule, HttpServiceExtensions, HTTPService, HTTP_DEBUG_MODE, HTTP_INVALIDATION } from \"@esfaenza/httpservice\";\r\nimport { SignalrNotificationsModule, SGR_DEBUG_MODE, BaseMessageService } from \"@esfaenza/signalr-notifications\";\r\nimport { FormsAndValidationsModule } from \"@esfaenza/forms-and-validations\";\r\nimport { AccessControlModule, AccessControlService, ACC_DEBUG_MODE } from \"@esfaenza/access-control\";\r\nimport { BaseAdapter, EsChartsModule, ESC_DEBUG_MODE } from \"@esfaenza/es-charts\";\r\nimport { ExtensionsModule, EXT_DEBUG_MODE } from \"@esfaenza/extensions\";\r\nimport { ContextMenuModule } from \"@esfaenza/ngx-contextmenu\";\r\nimport { DragulaModule } from '@esfaenza/ngx-dragula';\r\nimport { EsTableModule } from \"@esfaenza/es-table\";\r\nimport { TAB_DEBUG_MODE } from \"@esfaenza/tabber\";\r\n\r\n// Core\r\nimport { APPErrorHandler, HTTPServiceExtensions, ApplicationPreferencesPersistor, ApplicationCachePersistor, SessionRetriever, OutZoneEventPlugin, TokenService, GlobalSearchService, CompletedJobRedirectionService, MenuFilteringService, UserPreferencesService } from \"@esfaenza/core/services\";\r\nimport { PageNotFoundComponent, ServerErrorComponent, AngularErrorComponent, ExternalPagesComponent, JaceLoginComponent, PagesComponent, RedirecterComponent, ComponentsModule, UserInfosComponent } from \"@esfaenza/core/components\";\r\nimport { ApplicationMenu, EnvOptions, AccountScope, MENU, MENU_LOCALIZATION, REDIRECT_MAP, USE_FAKE_ACCESS_TOKEN, NAVBAR_EXTENSIONS, LOGIN_URL_LEGACY, ANONYMOUS_MODE } from \"@esfaenza/core/domain\"\r\nimport { ROUTE, EMBEDDED_ROUTE } from \"@esfaenza/core/domain\"\r\nimport { TemplateCommon } from \"@esfaenza/core/modules\";\r\n\r\n// RxJs\r\nimport { catchError, switchMap, take, tap } from \"rxjs/operators\";\r\nimport { forkJoin, Observable, of } from \"rxjs\";\r\n\r\n// Bootstrap\r\nimport { ProgressbarModule } from \"ngx-bootstrap/progressbar\";\r\nimport { TimepickerModule } from \"ngx-bootstrap/timepicker\";\r\nimport { BsDropdownModule } from \"ngx-bootstrap/dropdown\";\r\nimport { TooltipModule } from \"ngx-bootstrap/tooltip\";\r\nimport { ModalModule } from \"ngx-bootstrap/modal\";\r\n\r\n// Applicazione\r\nimport { AppComponent } from \"./app.component\";\r\n\r\n// Repositories\r\nconst GET_Jace_GetAccountScope: string = \"/api/Jace/GetAccountScope\";\r\nconst GET_AppConfig_GetAppConfig: string = \"/api/AppConfig/GetAppConfig\";\r\n\r\ndeclare var myconfig: EnvOptions;\r\n\r\nconst baseAppRoutes: Routes = [\r\n { path: \"\", redirectTo: \"pages/{emptyRouteRedirect}\", pathMatch: \"full\" },\r\n { path: EMBEDDED_ROUTE, component: ExternalPagesComponent },\r\n { path: ROUTE, component: PagesComponent },\r\n { path: \"rd\", component: RedirecterComponent },\r\n { path: \"rd/:tenant\", component: RedirecterComponent },\r\n { path: \"login\", component: JaceLoginComponent },\r\n { path: \"iserr\", component: ServerErrorComponent },\r\n { path: \"anerr\", component: AngularErrorComponent },\r\n { path: \"**\", component: PageNotFoundComponent },\r\n\r\n];\r\n\r\nconst MODULES = [\r\n BrowserAnimationsModule,\r\n TemplateCommon,\r\n ComponentsModule,\r\n\r\n // Attenzione a lasciarlo attivo in ng serve: https://github.com/angular/angular/issues/47455\r\n ServiceWorkerModule.register('ngsw-worker.js', { enabled: !isDevMode() }),\r\n RouterModule.forRoot([], { useHash: true, preloadingStrategy: NoPreloading, onSameUrlNavigation: \"reload\" }),\r\n\r\n // ES\r\n EsTableModule.forRoot(),\r\n FormsAndValidationsModule.forRoot(),\r\n ExtensionsModule.forRoot(),\r\n LocalizationModule.forRoot({ localizationMissingPolicy: LocalizationMissingPolicy.PrintSource, defaultLocale: 'it-IT' }),\r\n AccessControlModule.forRoot({ contextAwareKey: \"O\", defaultCondition: '(R:Jace Admin || R:Jace Support)' }),\r\n HttpserviceModule.forRoot(),\r\n SignalrNotificationsModule.forRoot({ endpointUrl: 'notify', useMessagePack: true }),\r\n PreferencesModule.forRoot({ retrieveAllAtStart: true, sessionRetriever: SessionRetriever, preferencePersistor: ApplicationPreferencesPersistor, cachePersistor: ApplicationCachePersistor }),\r\n EsChartsModule.forRoot(),\r\n\r\n // Bootstrap\r\n TooltipModule.forRoot(),\r\n ModalModule.forRoot(),\r\n ProgressbarModule.forRoot(),\r\n BsDropdownModule.forRoot(),\r\n ToastrModule.forRoot(),\r\n TimepickerModule.forRoot(),\r\n ContextMenuModule.forRoot(),\r\n DragulaModule.forRoot()\r\n];\r\n\r\n\r\nconst PROVIDERS = [\r\n CookieService,\r\n provideHttpClient(withInterceptorsFromDi()),\r\n \r\n // Providers applicativi\r\n { provide: ErrorHandler, useClass: APPErrorHandler },\r\n { provide: EVENT_MANAGER_PLUGINS, useExisting: OutZoneEventPlugin, multi: true },\r\n { provide: HttpServiceExtensions, useClass: HTTPServiceExtensions }\r\n];\r\n\r\n@NgModule({\r\n declarations: [AppComponent],\r\n imports: [...MODULES]\r\n})\r\nexport class EsFaenzaCoreModule {\r\n static forRoot(config?: EsFaenzaCoreModuleConfig): ModuleWithProviders<EsFaenzaCoreModule> {\r\n if (config.routes) {\r\n // Aggiunta della route di embedding se non dichiarata, lato aggiunta faccio in modo che l'embedding sia disponibile solo da route interne (pages OK, pages_ext NON OK)\r\n if (!config.routes.find(t => t.path.startsWith(\"embed\")))\r\n config.routes = [...config.routes, { path: \"embed/:module\", loadChildren: () => import('@esfaenza/core/modules').then(m => m.EmbeddingModule) }]\r\n\r\n baseAppRoutes[0].redirectTo = [\"pages\", \"pages_ext\"].map(t => (config.emptyRouteRedirect || '').startsWith(t)).some(t => !!t) ? \"/\" + config.emptyRouteRedirect : `pages/${config.emptyRouteRedirect || 'dashboard'}`;\r\n baseAppRoutes.filter(t => [\"pages\", \"pages_ext\"].includes(t.path)).forEach(path => {\r\n path.children = [\r\n { path: \"profile\", component: UserInfosComponent, data: { InternalNavigation: true, title: \"profilo\" } },\r\n ...config.routes.filter(r => !path.path.includes(\"pages_ext\") || !r.path.startsWith(\"embed\"))\r\n ];\r\n });\r\n }\r\n config.debugMode = (!isDevMode() && !config.forceDebugModeForProdBuilds) ? DebugFlags.None : (config.debugMode || DebugFlags.All);\r\n\r\n let mergedAppInitializer = (http: HTTPService, bts: TokenService, aac: AccessControlService, loc: BaseLocalization) => {\r\n return () => {\r\n if (config.anonymousMode) {\r\n console.log(\"%c[APP_INITIALIZER] Loading AppConfig...\", \"background-color: yellow\");\r\n return http.get<EnvOptions>(GET_AppConfig_GetAppConfig, null, null, false).pipe(catchError(_ => of({}))).pipe(\r\n tap((appConfig: EnvOptions) => {\r\n myconfig = appConfig;\r\n\r\n console.log(\"%c[APP_INITIALIZER] appConfig registered\", \"background-color: yellow\");\r\n aac.initializeIdentity(null);\r\n }),\r\n switchMap(_ => {\r\n if (!config.initializerFunction)\r\n return of();\r\n\r\n console.log(\"%c[APP_INITIALIZER] Loading custom application initialization\", \"background-color: yellow\");\r\n return config.initializerFunction(http, bts, aac)().pipe(tap(_ => {\r\n console.log(\"%c[APP_INITIALIZER] Initialization is over\", \"background-color: yellow\");\r\n }));\r\n })\r\n );\r\n }\r\n\r\n console.log(\"%c[APP_INITIALIZER] Loading AppConfig and Account Scope...\", \"background-color: yellow\");\r\n let realObservable = forkJoin(\r\n {\r\n appConfig: http.get<EnvOptions>(GET_AppConfig_GetAppConfig, null, null, false).pipe(catchError(_ => of({}))),\r\n scope: http.get<AccountScope>(GET_Jace_GetAccountScope, null, null, false).pipe(catchError(_ => of(null))),\r\n locale: loc.Locale.pipe(take(1), catchError(_ => of('it-IT'))),\r\n });\r\n\r\n let usedObservable = config.optionsAndScopeProvider || realObservable;\r\n\r\n return usedObservable.pipe(\r\n tap((res: { appConfig: EnvOptions, scope: AccountScope, locale: string }) => {\r\n myconfig = res.appConfig;\r\n http.setAppConfig(myconfig);\r\n // L'account scope lo prendo dalla Query a backend solo se non uso il Fake token\r\n if (!bts.USE_FAKE_ACCESS_TOKEN)\r\n bts.accountScope = res.scope;\r\n\r\n console.log(\"%c[APP_INITIALIZER] appConfig and scope registered\", \"background-color: yellow\");\r\n\r\n var identtity = bts.getJaceIdentity();\r\n if (bts.accountScope)\r\n aac.initializeIdentity(identtity);\r\n }),\r\n switchMap(_ => {\r\n if (!config.initializerFunction)\r\n return of();\r\n\r\n console.log(\"%c[APP_INITIALIZER] Loading custom application initialization\", \"background-color: yellow\");\r\n return config.initializerFunction(http, bts, aac)().pipe(tap(_ => {\r\n console.log(\"%c[APP_INITIALIZER] Initialization is over\", \"background-color: yellow\");\r\n }));\r\n })\r\n );\r\n }\r\n };\r\n\r\n return {\r\n ngModule: EsFaenzaCoreModule,\r\n providers: [\r\n // *************************** Provider statici ***************************\r\n\r\n ...PROVIDERS,\r\n\r\n // ************************ Provider customizzabili ************************\r\n ...(!config.redirectionMap ? [] : [{ provide: REDIRECT_MAP, useValue: config.redirectionMap }]),\r\n { provide: APP_INITIALIZER, useFactory: mergedAppInitializer, deps: [HTTPService, TokenService, AccessControlService, BaseLocalization], multi: true },\r\n { provide: ROUTES, useValue: baseAppRoutes, multi: true },\r\n { provide: LOC_DEBUG_MODE, useValue: config.debugMode ? (config.debugMode & DebugFlags.Localizations) == DebugFlags.Localizations : false },\r\n { provide: EXT_DEBUG_MODE, useValue: config.debugMode ? (config.debugMode & DebugFlags.Extensions) == DebugFlags.Extensions : false },\r\n { provide: ACC_DEBUG_MODE, useValue: config.debugMode ? (config.debugMode & DebugFlags.AccessControl) == DebugFlags.AccessControl : false },\r\n { provide: HTTP_DEBUG_MODE, useValue: config.debugMode ? (config.debugMode & DebugFlags.Http) == DebugFlags.Http : false },\r\n { provide: HTTP_INVALIDATION, useValue: config?.httpInvalidationCache },\r\n { provide: TAB_DEBUG_MODE, useValue: config.debugMode ? (config.debugMode & DebugFlags.Tabber) == DebugFlags.Tabber : false },\r\n { provide: SGR_DEBUG_MODE, useValue: config.debugMode ? (config.debugMode & DebugFlags.SignalR) == DebugFlags.SignalR : false },\r\n { provide: PREF_DEBUG_MODE, useValue: config.debugMode ? (config.debugMode & DebugFlags.Preferences) == DebugFlags.Preferences : false },\r\n { provide: ESC_DEBUG_MODE, useValue: config.debugMode ? (config.debugMode & DebugFlags.Charts) == DebugFlags.Charts : false },\r\n { provide: LOGIN_URL_LEGACY, useValue: config.legacyLogin !== null && config.legacyLogin !== undefined ? config.legacyLogin : false },\r\n { provide: NAVBAR_EXTENSIONS, useValue: config.navbarExtensions ? config.navbarExtensions : [] },\r\n { provide: ANONYMOUS_MODE, useValue: config.anonymousMode ? config.anonymousMode : false },\r\n { provide: BaseAdapter, useClass: config?.chartsAdapter || BaseAdapter },\r\n { provide: BaseMessageService, useClass: config?.messageService || BaseMessageService },\r\n { provide: GlobalSearchService, useClass: config?.globalSearchService || GlobalSearchService },\r\n { provide: CompletedJobRedirectionService, useClass: config?.completedJobRedirectionService || CompletedJobRedirectionService },\r\n { provide: MenuFilteringService, useClass: config?.menuFilteringService || MenuFilteringService },\r\n { provide: UserPreferencesService, useClass: config?.userPreferencesProvider || UserPreferencesService },\r\n { provide: MENU_LOCALIZATION, useValue: config.menuLoc || null },\r\n { provide: MENU, useValue: config.menu },\r\n { provide: USE_FAKE_ACCESS_TOKEN, useValue: !!config.fakeAccessToken },\r\n { provide: PreferencesPersistor, useClass: config.fakeAccessToken ? LocalStoragePreferencesPersistor : ApplicationPreferencesPersistor },\r\n { provide: CachePersistor, useClass: config.fakeAccessToken ? LocalStorageCachePersistor : ApplicationCachePersistor }\r\n ]\r\n };\r\n }\r\n}\r\n\r\nexport class EsFaenzaCoreModuleConfig {\r\n /* Route applicative, solo quelle dentro a **pages** */\r\n routes!: Routes;\r\n /* Menù della sidebar dell'applicazione */\r\n menu: ApplicationMenu[];\r\n /* Indica se utilizzare l'access token finto */\r\n fakeAccessToken?: boolean;\r\n /* Tipo da usare per generare le localizzaizoni del menù */\r\n menuLoc?: Type<LocalizationService>;\r\n /* Redirect per la root dell'applicazione, di default è impostato a **dashboard**. Se all'interno delle **routes** non esiste la route **dashboard** è da impostare adeguatamente */\r\n emptyRouteRedirect?: string;\r\n /* Se non specificata viene impostata automaticamente ad \"All\" in fase di debug, \"None\" in produzione (quest'ultimo a prescindere, a meno che **forceDebugModeForProdBuilds** non sia true)*/\r\n debugMode?: DebugFlags;\r\n /* Permette di forzare la modalità di debug specificata anche per le build di produzione, **NON IMPOSTARE A TRUE** a meno di rarissimissimissimi casi */\r\n forceDebugModeForProdBuilds?: boolean;\r\n /* Cache di invalidazione per le chiamate http */\r\n httpInvalidationCache?: any;\r\n /* Funzione di inizializzazione APP_INITIALIZER-like che viene richiamata dopo alla funzione di inizializzazione di default */\r\n initializerFunction?: (http: HTTPService, bts: TokenService, aac: AccessControlService) => () => Observable<any>;\r\n /* Mappa di redirect per permettere al **RedirecterComponent** di sapere dove navigare in base a Oggetto-Parametri */\r\n redirectionMap?: { [index: string]: { url: string, params: string[] } };\r\n /* Adattatore dei grafici nel caso un progetto fosse vecchio (Rimuovibile quando tutti i progetti usano nativamente es-charts) */\r\n chartsAdapter?: Type<BaseAdapter>;\r\n /* Servizio che espone i messaggi disponibili su Signalr */\r\n messageService?: Type<BaseMessageService>;\r\n /* Servizio per la search globale del modulo */\r\n globalSearchService?: Type<GlobalSearchService>;\r\n /* Servizio per filtrare le voci di menù */\r\n menuFilteringService?: Type<MenuFilteringService>;\r\n /* Servizio di ridirezione per job completati */\r\n completedJobRedirectionService?: Type<CompletedJobRedirectionService>;\r\n /* Funzione di override per recuperare account scope e envoptions. Può anche essere utilizzata per fornire modelli finti fino ad implementazione */\r\n optionsAndScopeProvider?: Observable<{ appConfig: EnvOptions, scope: AccountScope, locale: string }>;\r\n /* Lista dei componenti con cui espandere la navbar */\r\n navbarExtensions?: Type<any>[];\r\n /* Servizio di recupero/modifica preferenze utente */\r\n userPreferencesProvider?: Type<UserPreferencesService>;\r\n /* identifica se utilizzare la versione vecchia dell'url di auth (${myconfig.AUTH_URL}/login/form?client=${myconfig.CLIENT_NAME}) invece che la nuova (${myconfig.AUTH_URL}/login;client=${myconfig.CLIENT_NAME}) */\r\n legacyLogin?: boolean;\r\n /* Indica se il servizio di autenticazione deve funzionare in anonimo lato Frontend. Dev'essere utilizzato insieme al tag \"Auth\" in code behind */\r\n anonymousMode?: boolean;\r\n}\r\n\r\nexport enum DebugFlags {\r\n None = 0,\r\n Localizations = 1 << 0,\r\n Extensions = 1 << 1,\r\n AccessControl = 1 << 2,\r\n Http = 1 << 3,\r\n SignalR = 1 << 4,\r\n Preferences = 1 << 5,\r\n Charts = 1 << 6,\r\n Tabber = 1 << 7,\r\n All = ~(~0 << 8)\r\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAQA;MAQa,YAAY,CAAA;AAMrB,IAAA,WAAA,CAAoB,GAAiB,EAAS,MAAgB,EAAU,MAAc,EAA0B,aAAsB,EAAA;QAAlH,IAAG,CAAA,GAAA,GAAH,GAAG;QAAuB,IAAM,CAAA,MAAA,GAAN,MAAM;QAAoB,IAAM,CAAA,MAAA,GAAN,MAAM;QAJvE,IAAK,CAAA,KAAA,GAAa,EAAE;QAEpB,IAAW,CAAA,WAAA,GAAG,CAAC,CAAS,EAAE,IAAS,KAAK,IAAI;AAI/C,QAAA,IAAI,IAAI,CAAC,MAAM,CAAC,aAAa;YACzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE;AACxB,gBAAA,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;Q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: Element, callback: () => void);
|
|
7
|
-
isDisposed(): boolean;
|
|
8
|
-
dispose(): void;
|
|
9
|
-
private makeListener;
|
|
10
|
-
add(target: Element, callback: () => void): void;
|
|
11
|
-
remove(target: Element): void;
|
|
12
|
-
}
|
|
1
|
+
export declare class ResizeListener {
|
|
2
|
+
private observer;
|
|
3
|
+
private _element;
|
|
4
|
+
private _disposed;
|
|
5
|
+
private _targets;
|
|
6
|
+
constructor(element: Element, callback: () => void);
|
|
7
|
+
isDisposed(): boolean;
|
|
8
|
+
dispose(): void;
|
|
9
|
+
private makeListener;
|
|
10
|
+
add(target: Element, callback: () => void): void;
|
|
11
|
+
remove(target: Element): void;
|
|
12
|
+
}
|
package/helpers/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@esfaenza/core/helpers" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@esfaenza/core/helpers" />
|
|
5
|
+
export * from './public-api';
|
package/helpers/public-api.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './classes/ResizeListener';
|
|
1
|
+
export * from './classes/ResizeListener';
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@esfaenza/core" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@esfaenza/core" />
|
|
5
|
+
export * from './public-api';
|
package/lib/app.component.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Router } from "@angular/router";
|
|
2
|
-
import { AppState, TokenService } from "@esfaenza/core/services";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AppComponent {
|
|
5
|
-
private bts;
|
|
6
|
-
_state: AppState;
|
|
7
|
-
private router;
|
|
8
|
-
snows: number[];
|
|
9
|
-
snowTrackBy: (_: number, item: any) => any;
|
|
10
|
-
constructor(bts: TokenService, _state: AppState, router: Router, anonymousMode: boolean);
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppComponent, "app-root", never, {}, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
1
|
+
import { Router } from "@angular/router";
|
|
2
|
+
import { AppState, TokenService } from "@esfaenza/core/services";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AppComponent {
|
|
5
|
+
private bts;
|
|
6
|
+
_state: AppState;
|
|
7
|
+
private router;
|
|
8
|
+
snows: number[];
|
|
9
|
+
snowTrackBy: (_: number, item: any) => any;
|
|
10
|
+
constructor(bts: TokenService, _state: AppState, router: Router, anonymousMode: boolean);
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppComponent, "app-root", never, {}, {}, never, never, false, never>;
|
|
13
|
+
}
|
package/lib/core.module.d.ts
CHANGED
|
@@ -1,86 +1,85 @@
|
|
|
1
|
-
import { ModuleWithProviders, Type } from "@angular/core";
|
|
2
|
-
import { Routes } from "@angular/router";
|
|
3
|
-
import "@angular/common/locales/global/it";
|
|
4
|
-
import "widgster/widgster.js";
|
|
5
|
-
import { LocalizationService } from "@esfaenza/localizations";
|
|
6
|
-
import { HTTPService } from "@esfaenza/httpservice";
|
|
7
|
-
import { BaseMessageService } from "@esfaenza/signalr-notifications";
|
|
8
|
-
import { AccessControlService } from "@esfaenza/access-control";
|
|
9
|
-
import { BaseAdapter } from "@esfaenza/es-charts";
|
|
10
|
-
import { TokenService, GlobalSearchService, CompletedJobRedirectionService, MenuFilteringService, UserPreferencesService } from "@esfaenza/core/services";
|
|
11
|
-
import { ApplicationMenu, EnvOptions, AccountScope } from "@esfaenza/core/domain";
|
|
12
|
-
import { Observable } from "rxjs";
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
import * as i1 from "./app.component";
|
|
15
|
-
import * as i2 from "@angular/platform-browser/animations";
|
|
16
|
-
import * as i3 from "@
|
|
17
|
-
import * as i4 from "@esfaenza/core/
|
|
18
|
-
import * as i5 from "@
|
|
19
|
-
import * as i6 from "@angular/
|
|
20
|
-
import * as i7 from "@
|
|
21
|
-
import * as i8 from "@esfaenza/
|
|
22
|
-
import * as i9 from "@esfaenza/
|
|
23
|
-
import * as i10 from "@esfaenza/
|
|
24
|
-
import * as i11 from "@esfaenza/
|
|
25
|
-
import * as i12 from "@esfaenza/
|
|
26
|
-
import * as i13 from "@esfaenza/
|
|
27
|
-
import * as i14 from "@esfaenza/
|
|
28
|
-
import * as i15 from "@esfaenza/
|
|
29
|
-
import * as i16 from "
|
|
30
|
-
import * as i17 from "ngx-bootstrap/
|
|
31
|
-
import * as i18 from "ngx-bootstrap/
|
|
32
|
-
import * as i19 from "ngx-bootstrap/
|
|
33
|
-
import * as i20 from "ngx-
|
|
34
|
-
import * as i21 from "ngx-
|
|
35
|
-
import * as i22 from "ngx-
|
|
36
|
-
import * as i23 from "@esfaenza/ngx-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
static
|
|
40
|
-
static
|
|
41
|
-
static
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
1
|
+
import { ModuleWithProviders, Type } from "@angular/core";
|
|
2
|
+
import { Routes } from "@angular/router";
|
|
3
|
+
import "@angular/common/locales/global/it";
|
|
4
|
+
import "widgster/widgster.js";
|
|
5
|
+
import { LocalizationService } from "@esfaenza/localizations";
|
|
6
|
+
import { HTTPService } from "@esfaenza/httpservice";
|
|
7
|
+
import { BaseMessageService } from "@esfaenza/signalr-notifications";
|
|
8
|
+
import { AccessControlService } from "@esfaenza/access-control";
|
|
9
|
+
import { BaseAdapter } from "@esfaenza/es-charts";
|
|
10
|
+
import { TokenService, GlobalSearchService, CompletedJobRedirectionService, MenuFilteringService, UserPreferencesService } from "@esfaenza/core/services";
|
|
11
|
+
import { ApplicationMenu, EnvOptions, AccountScope } from "@esfaenza/core/domain";
|
|
12
|
+
import { Observable } from "rxjs";
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
import * as i1 from "./app.component";
|
|
15
|
+
import * as i2 from "@angular/platform-browser/animations";
|
|
16
|
+
import * as i3 from "@esfaenza/core/modules";
|
|
17
|
+
import * as i4 from "@esfaenza/core/components";
|
|
18
|
+
import * as i5 from "@angular/service-worker";
|
|
19
|
+
import * as i6 from "@angular/router";
|
|
20
|
+
import * as i7 from "@esfaenza/es-table";
|
|
21
|
+
import * as i8 from "@esfaenza/forms-and-validations";
|
|
22
|
+
import * as i9 from "@esfaenza/extensions";
|
|
23
|
+
import * as i10 from "@esfaenza/localizations";
|
|
24
|
+
import * as i11 from "@esfaenza/access-control";
|
|
25
|
+
import * as i12 from "@esfaenza/httpservice";
|
|
26
|
+
import * as i13 from "@esfaenza/signalr-notifications";
|
|
27
|
+
import * as i14 from "@esfaenza/preferences";
|
|
28
|
+
import * as i15 from "@esfaenza/es-charts";
|
|
29
|
+
import * as i16 from "ngx-bootstrap/tooltip";
|
|
30
|
+
import * as i17 from "ngx-bootstrap/modal";
|
|
31
|
+
import * as i18 from "ngx-bootstrap/progressbar";
|
|
32
|
+
import * as i19 from "ngx-bootstrap/dropdown";
|
|
33
|
+
import * as i20 from "ngx-toastr";
|
|
34
|
+
import * as i21 from "ngx-bootstrap/timepicker";
|
|
35
|
+
import * as i22 from "@esfaenza/ngx-contextmenu";
|
|
36
|
+
import * as i23 from "@esfaenza/ngx-dragula";
|
|
37
|
+
export declare class EsFaenzaCoreModule {
|
|
38
|
+
static forRoot(config?: EsFaenzaCoreModuleConfig): ModuleWithProviders<EsFaenzaCoreModule>;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EsFaenzaCoreModule, never>;
|
|
40
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EsFaenzaCoreModule, [typeof i1.AppComponent], [typeof i2.BrowserAnimationsModule, typeof i3.TemplateCommon, typeof i4.ComponentsModule, typeof i5.ServiceWorkerModule, typeof i6.RouterModule, typeof i7.EsTableModule, typeof i8.FormsAndValidationsModule, typeof i9.ExtensionsModule, typeof i10.LocalizationModule, typeof i11.AccessControlModule, typeof i12.HttpserviceModule, typeof i13.SignalrNotificationsModule, typeof i14.PreferencesModule, typeof i15.EsChartsModule, typeof i16.TooltipModule, typeof i17.ModalModule, typeof i18.ProgressbarModule, typeof i19.BsDropdownModule, typeof i20.ToastrModule, typeof i21.TimepickerModule, typeof i22.ContextMenuModule, typeof i23.DragulaModule], never>;
|
|
41
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EsFaenzaCoreModule>;
|
|
42
|
+
}
|
|
43
|
+
export declare class EsFaenzaCoreModuleConfig {
|
|
44
|
+
routes: Routes;
|
|
45
|
+
menu: ApplicationMenu[];
|
|
46
|
+
fakeAccessToken?: boolean;
|
|
47
|
+
menuLoc?: Type<LocalizationService>;
|
|
48
|
+
emptyRouteRedirect?: string;
|
|
49
|
+
debugMode?: DebugFlags;
|
|
50
|
+
forceDebugModeForProdBuilds?: boolean;
|
|
51
|
+
httpInvalidationCache?: any;
|
|
52
|
+
initializerFunction?: (http: HTTPService, bts: TokenService, aac: AccessControlService) => () => Observable<any>;
|
|
53
|
+
redirectionMap?: {
|
|
54
|
+
[index: string]: {
|
|
55
|
+
url: string;
|
|
56
|
+
params: string[];
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
chartsAdapter?: Type<BaseAdapter>;
|
|
60
|
+
messageService?: Type<BaseMessageService>;
|
|
61
|
+
globalSearchService?: Type<GlobalSearchService>;
|
|
62
|
+
menuFilteringService?: Type<MenuFilteringService>;
|
|
63
|
+
completedJobRedirectionService?: Type<CompletedJobRedirectionService>;
|
|
64
|
+
optionsAndScopeProvider?: Observable<{
|
|
65
|
+
appConfig: EnvOptions;
|
|
66
|
+
scope: AccountScope;
|
|
67
|
+
locale: string;
|
|
68
|
+
}>;
|
|
69
|
+
navbarExtensions?: Type<any>[];
|
|
70
|
+
userPreferencesProvider?: Type<UserPreferencesService>;
|
|
71
|
+
legacyLogin?: boolean;
|
|
72
|
+
anonymousMode?: boolean;
|
|
73
|
+
}
|
|
74
|
+
export declare enum DebugFlags {
|
|
75
|
+
None = 0,
|
|
76
|
+
Localizations = 1,
|
|
77
|
+
Extensions = 2,
|
|
78
|
+
AccessControl = 4,
|
|
79
|
+
Http = 8,
|
|
80
|
+
SignalR = 16,
|
|
81
|
+
Preferences = 32,
|
|
82
|
+
Charts = 64,
|
|
83
|
+
Tabber = 128,
|
|
84
|
+
All = 255
|
|
85
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Injector } from "@angular/core";
|
|
2
|
-
export declare class BaseLazyModule {
|
|
3
|
-
constructor(injector: Injector);
|
|
4
|
-
}
|
|
1
|
+
import { Injector } from "@angular/core";
|
|
2
|
+
export declare class BaseLazyModule {
|
|
3
|
+
constructor(injector: Injector);
|
|
4
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Injector } from "@angular/core";
|
|
2
|
-
import { BaseLazyModule } from "./_base.module";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./t_c.module";
|
|
5
|
-
import * as i2 from "@angular/router";
|
|
6
|
-
export declare class EmbeddingModule extends BaseLazyModule {
|
|
7
|
-
constructor(injector: Injector);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EmbeddingModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EmbeddingModule, never, [typeof i1.TemplateCommon, typeof i2.RouterModule], never>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EmbeddingModule>;
|
|
11
|
-
}
|
|
1
|
+
import { Injector } from "@angular/core";
|
|
2
|
+
import { BaseLazyModule } from "./_base.module";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./t_c.module";
|
|
5
|
+
import * as i2 from "@angular/router";
|
|
6
|
+
export declare class EmbeddingModule extends BaseLazyModule {
|
|
7
|
+
constructor(injector: Injector);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmbeddingModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EmbeddingModule, never, [typeof i1.TemplateCommon, typeof i2.RouterModule], never>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EmbeddingModule>;
|
|
11
|
+
}
|
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@esfaenza/ngx-contextmenu";
|
|
3
|
-
import * as i2 from "@esfaenza/tabber";
|
|
4
|
-
import * as i3 from "@esfaenza/core/components";
|
|
5
|
-
import * as i4 from "ngx-bootstrap/timepicker";
|
|
6
|
-
import * as i5 from "ngx-bootstrap/dropdown";
|
|
7
|
-
import * as i6 from "ngx-bootstrap/tooltip";
|
|
8
|
-
import * as i7 from "ngx-bootstrap/progressbar";
|
|
9
|
-
import * as i8 from "@esfaenza/ngx-dragula";
|
|
10
|
-
import * as i9 from "@esfaenza/localizations";
|
|
11
|
-
import * as i10 from "@esfaenza/extensions";
|
|
12
|
-
import * as i11 from "@esfaenza/access-control";
|
|
13
|
-
import * as i12 from "@esfaenza/es-charts";
|
|
14
|
-
import * as i13 from "@esfaenza/utility-components";
|
|
15
|
-
import * as i14 from "@esfaenza/wizard";
|
|
16
|
-
import * as i15 from "@esfaenza/cron";
|
|
17
|
-
import * as i16 from "@esfaenza/gertrude";
|
|
18
|
-
import * as i17 from "@esfaenza/matrix-values";
|
|
19
|
-
import * as i18 from "@esfaenza/tag-chooser";
|
|
20
|
-
import * as i19 from "@esfaenza/query-builder";
|
|
21
|
-
import * as i20 from "@esfaenza/parameters";
|
|
22
|
-
import * as i21 from "@esfaenza/
|
|
23
|
-
import * as i22 from "@esfaenza/
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
static
|
|
27
|
-
static
|
|
28
|
-
|
|
29
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@esfaenza/ngx-contextmenu";
|
|
3
|
+
import * as i2 from "@esfaenza/tabber";
|
|
4
|
+
import * as i3 from "@esfaenza/core/components";
|
|
5
|
+
import * as i4 from "ngx-bootstrap/timepicker";
|
|
6
|
+
import * as i5 from "ngx-bootstrap/dropdown";
|
|
7
|
+
import * as i6 from "ngx-bootstrap/tooltip";
|
|
8
|
+
import * as i7 from "ngx-bootstrap/progressbar";
|
|
9
|
+
import * as i8 from "@esfaenza/ngx-dragula";
|
|
10
|
+
import * as i9 from "@esfaenza/localizations";
|
|
11
|
+
import * as i10 from "@esfaenza/extensions";
|
|
12
|
+
import * as i11 from "@esfaenza/access-control";
|
|
13
|
+
import * as i12 from "@esfaenza/es-charts";
|
|
14
|
+
import * as i13 from "@esfaenza/utility-components";
|
|
15
|
+
import * as i14 from "@esfaenza/wizard";
|
|
16
|
+
import * as i15 from "@esfaenza/cron";
|
|
17
|
+
import * as i16 from "@esfaenza/gertrude";
|
|
18
|
+
import * as i17 from "@esfaenza/matrix-values";
|
|
19
|
+
import * as i18 from "@esfaenza/tag-chooser";
|
|
20
|
+
import * as i19 from "@esfaenza/query-builder";
|
|
21
|
+
import * as i20 from "@esfaenza/parameters";
|
|
22
|
+
import * as i21 from "@esfaenza/forms-and-validations";
|
|
23
|
+
import * as i22 from "@esfaenza/es-table";
|
|
24
|
+
export declare class SharedCommon {
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedCommon, never>;
|
|
26
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedCommon, never, [typeof i1.ContextMenuModule, typeof i2.TabberModule, typeof i3.ComponentsModule, typeof i4.TimepickerModule, typeof i5.BsDropdownModule, typeof i6.TooltipModule, typeof i7.ProgressbarModule, typeof i8.DragulaModule, typeof i9.LocalizationModule, typeof i10.ExtensionsModule, typeof i11.AccessControlModule, typeof i12.EsChartsModule, typeof i13.UtilityComponentsModule, typeof i14.EsWizardModule, typeof i15.EsCronModule, typeof i16.EsGertrudeModule, typeof i17.EsMatrixValuesModule, typeof i18.EsTagChooserModule, typeof i19.EsQueryBuilderModule, typeof i20.EsParametersModule, typeof i21.FormsAndValidationsModule, typeof i22.EsTableModule], [typeof i1.ContextMenuModule, typeof i2.TabberModule, typeof i3.ComponentsModule, typeof i4.TimepickerModule, typeof i5.BsDropdownModule, typeof i6.TooltipModule, typeof i7.ProgressbarModule, typeof i8.DragulaModule, typeof i9.LocalizationModule, typeof i10.ExtensionsModule, typeof i11.AccessControlModule, typeof i12.EsChartsModule, typeof i13.UtilityComponentsModule, typeof i14.EsWizardModule, typeof i15.EsCronModule, typeof i16.EsGertrudeModule, typeof i17.EsMatrixValuesModule, typeof i18.EsTagChooserModule, typeof i19.EsQueryBuilderModule, typeof i20.EsParametersModule, typeof i21.FormsAndValidationsModule, typeof i22.EsTableModule]>;
|
|
27
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedCommon>;
|
|
28
|
+
}
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "@angular/forms";
|
|
4
|
-
import * as i3 from "@angular/router";
|
|
5
|
-
import * as i4 from "@esfaenza/core/directives";
|
|
6
|
-
import * as i5 from "@esfaenza/core/pipes";
|
|
7
|
-
import * as i6 from "ngx-bootstrap/modal";
|
|
8
|
-
import * as i7 from "@angular/material/
|
|
9
|
-
import * as i8 from "@angular/material/
|
|
10
|
-
import * as i9 from "@angular/material/datepicker";
|
|
11
|
-
import * as i10 from "@
|
|
12
|
-
import * as i11 from "@angular/material/
|
|
13
|
-
import * as i12 from "@angular/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
static
|
|
17
|
-
static
|
|
18
|
-
|
|
19
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/forms";
|
|
4
|
+
import * as i3 from "@angular/router";
|
|
5
|
+
import * as i4 from "@esfaenza/core/directives";
|
|
6
|
+
import * as i5 from "@esfaenza/core/pipes";
|
|
7
|
+
import * as i6 from "ngx-bootstrap/modal";
|
|
8
|
+
import * as i7 from "@angular/material/input";
|
|
9
|
+
import * as i8 from "@angular/material/button";
|
|
10
|
+
import * as i9 from "@angular/material/datepicker";
|
|
11
|
+
import * as i10 from "@angular/material/icon";
|
|
12
|
+
import * as i11 from "@angular/material/slide-toggle";
|
|
13
|
+
import * as i12 from "@angular/cdk/drag-drop";
|
|
14
|
+
export declare class TemplateCommon {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateCommon, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TemplateCommon, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.RouterModule, typeof i4.DirectivesModule, typeof i5.PipesModule, typeof i6.ModalModule, typeof i7.MatInputModule, typeof i8.MatButtonModule, typeof i9.MatDatepickerModule, typeof i10.MatIconModule, typeof i11.MatSlideToggleModule, typeof i12.DragDropModule], [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.RouterModule, typeof i4.DirectivesModule, typeof i5.PipesModule, typeof i6.ModalModule, typeof i7.MatInputModule, typeof i8.MatButtonModule, typeof i9.MatDatepickerModule, typeof i10.MatIconModule, typeof i11.MatSlideToggleModule, typeof i12.DragDropModule]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TemplateCommon>;
|
|
18
|
+
}
|
package/modules/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@esfaenza/core/modules" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@esfaenza/core/modules" />
|
|
5
|
+
export * from './public-api';
|
package/modules/public-api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './classes/_base.module';
|
|
2
|
-
export * from './classes/t_c.module';
|
|
3
|
-
export * from './classes/_shared.module';
|
|
4
|
-
export * from './classes/_embedding.module';
|
|
1
|
+
export * from './classes/_base.module';
|
|
2
|
+
export * from './classes/t_c.module';
|
|
3
|
+
export * from './classes/_shared.module';
|
|
4
|
+
export * from './classes/_embedding.module';
|