@wavemaker/app-ng-runtime 11.11.0-rc.6106 → 11.11.0-rc.6112
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/build-task/bundles/index.umd.js +1 -1
- package/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +2 -2
- package/build-task/fesm2022/index.mjs +1 -1
- package/build-task/fesm2022/index.mjs.map +1 -1
- package/components/base/bundles/index.umd.js +14 -8
- package/components/base/esm2022/pipes/custom-pipes.mjs +3 -2
- package/components/base/esm2022/utils/form-utils.mjs +3 -2
- package/components/base/esm2022/widgets/common/base/base-field-validations.mjs +4 -2
- package/components/base/fesm2022/index.mjs +10 -5
- package/components/base/fesm2022/index.mjs.map +1 -1
- package/components/base/pipes/custom-pipes.d.ts +1 -1
- package/components/chart/bundles/index.umd.js +4 -2
- package/components/chart/esm2022/chart.utils.mjs +3 -2
- package/components/chart/fesm2022/index.mjs +2 -1
- package/components/chart/fesm2022/index.mjs.map +1 -1
- package/components/containers/tabs/bundles/index.umd.js +28 -4
- package/components/containers/tabs/esm2022/tabs.component.mjs +27 -6
- package/components/containers/tabs/esm2022/tabs.props.mjs +2 -1
- package/components/containers/tabs/fesm2022/index.mjs +27 -5
- package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- package/components/containers/tabs/tabs.component.d.ts +2 -0
- package/components/containers/wizard/bundles/index.umd.js +8 -11
- package/components/containers/wizard/esm2022/wizard.component.mjs +9 -12
- package/components/containers/wizard/fesm2022/index.mjs +8 -11
- package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/wizard.component.d.ts +2 -2
- package/components/data/table/bundles/index.umd.js +10 -7
- package/components/data/table/esm2022/table-filter.directive.mjs +3 -2
- package/components/data/table/esm2022/table.component.mjs +6 -4
- package/components/data/table/fesm2022/index.mjs +7 -4
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/input/calendar/bundles/index.umd.js +8 -3
- package/components/input/calendar/esm2022/calendar.component.mjs +7 -3
- package/components/input/calendar/fesm2022/index.mjs +6 -2
- package/components/input/calendar/fesm2022/index.mjs.map +1 -1
- package/components/input/color-picker/bundles/index.umd.js +5 -3
- package/components/input/color-picker/esm2022/color-picker.component.mjs +7 -5
- package/components/input/color-picker/fesm2022/index.mjs +6 -4
- package/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/bundles/index.umd.js +45 -39
- package/components/input/epoch/esm2022/base-date-time.component.mjs +3 -2
- package/components/input/epoch/esm2022/date/imaskUtil.mjs +3 -2
- package/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +5 -4
- package/components/input/epoch/esm2022/date-time/date-time.component.mjs +4 -3
- package/components/input/epoch/esm2022/time/time.component.mjs +4 -3
- package/components/input/epoch/fesm2022/index.mjs +43 -38
- package/components/input/epoch/fesm2022/index.mjs.map +1 -1
- package/core/bundles/index.umd.js +6 -4
- package/core/esm2022/types/types.mjs +1 -1
- package/core/esm2022/utils/utils.mjs +3 -2
- package/core/fesm2022/index.mjs +2 -1
- package/core/fesm2022/index.mjs.map +1 -1
- package/core/types/types.d.ts +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/oAuth/bundles/index.umd.js +4 -2
- package/oAuth/esm2022/oAuth.utils.mjs +3 -2
- package/oAuth/fesm2022/index.mjs +2 -1
- package/oAuth/fesm2022/index.mjs.map +1 -1
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/runtime/base/bundles/index.umd.js +13 -4
- package/runtime/base/esm2022/services/app.service.mjs +8 -1
- package/runtime/base/esm2022/services/i18n.service.mjs +4 -2
- package/runtime/base/fesm2022/index.mjs +9 -1
- package/runtime/base/fesm2022/index.mjs.map +1 -1
- package/runtime/base/services/app.service.d.ts +1 -0
- package/runtime/dynamic/app/app.config.d.ts +5 -0
- package/runtime/dynamic/bundles/index.umd.js +165 -56
- package/runtime/dynamic/esm2022/app/app.config.mjs +136 -0
- package/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +2 -4
- package/runtime/dynamic/esm2022/main.mjs +10 -10
- package/runtime/dynamic/fesm2022/index.mjs +189 -78
- package/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- package/variables/bundles/index.umd.js +5 -2
- package/variables/esm2022/util/variable/variables.utils.mjs +3 -2
- package/variables/fesm2022/index.mjs +2 -1
- package/variables/fesm2022/index.mjs.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../projects/runtime-dynamic/src/app/components/page-wrapper.component.ts","../../../../projects/runtime-dynamic/src/app/app.routes.ts","../../../../projects/runtime-dynamic/src/app/services/app-js-provider.service.ts","../../../../projects/runtime-dynamic/src/app/services/app-resource-manager.service.ts","../../../../projects/runtime-dynamic/src/app/services/app-variables-provider.service.ts","../../../../projects/runtime-dynamic/src/app/services/app-extension.service.ts","../../../../projects/runtime-dynamic/src/app/services/component-ref-provider.service.ts","../../../../projects/runtime-dynamic/src/app/services/customwidget-config-provider.service.ts","../../../../projects/runtime-dynamic/src/app/services/prefab-config-provider.service.ts","../../../../projects/runtime-dynamic/src/app/app.module.ts","../../../../projects/runtime-dynamic/src/main.ts","../../../../projects/runtime-dynamic/src/index.ts"],"sourcesContent":["import { WmComponentsModule } from \"@wm/components/base\";\nimport {\n ApplicationRef,\n Component,\n ElementRef,\n Injector,\n NgZone,\n OnDestroy,\n OnInit,\n ViewContainerRef,\n HostListener\n} from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\n\nimport { Subscription } from 'rxjs';\n\nimport { AbstractSpinnerService, App, noop} from '@wm/core';\nimport { MetadataService } from '@wm/variables';\nimport { SecurityService } from '@wm/security';\nimport { AppManagerService, BasePageComponent, ComponentRefProvider, ComponentType } from '@wm/runtime/base';\n\n@Component({\n standalone: true,\n imports: [WmComponentsModule],\n selector: 'app-page-outlet',\n template: '<div></div>'\n})\nexport class PageWrapperComponent implements OnInit, OnDestroy {\n\n subscription: Subscription;\n instance: any;\n\n constructor(\n private injector: Injector,\n private route: ActivatedRoute,\n private vcRef: ViewContainerRef,\n private appRef: ApplicationRef,\n private metadataService: MetadataService,\n private securityService: SecurityService,\n private appManager: AppManagerService,\n private app: App,\n private ngZone: NgZone,\n private elRef: ElementRef,\n private spinnerService: AbstractSpinnerService,\n private componentRefProvider: ComponentRefProvider,\n private router: Router\n ) {}\n\n getTargetNode() {\n return this.elRef.nativeElement;\n }\n\n resetViewContainer() {\n this.vcRef.clear();\n const $target = this.getTargetNode();\n $target.innerHTML = '';\n }\n\n renderPage(pageName) {\n const $target = this.getTargetNode();\n\n this.appManager.loadAppVariables()\n .then(async () => {\n const pageComponentFactoryRef = await this.componentRefProvider.getComponentFactoryRef(pageName, ComponentType.PAGE);\n if (pageComponentFactoryRef) {\n const componentRef = this.vcRef.createComponent(pageComponentFactoryRef, 0, this.injector);\n this.instance = componentRef.instance;\n $target.appendChild(componentRef.location.nativeElement);\n } else {\n BasePageComponent.clear();\n }\n if (this.vcRef.length > 1) {\n this.vcRef.remove(1);\n }\n });\n }\n\n renderPrefabPreviewPage() {\n this.router.navigate(['prefab-preview']);\n }\n\n loadPage(pageName) {\n this.ngZone.run(() => {\n if (pageName) {\n this.renderPage(pageName);\n }\n });\n }\n\n ngOnInit() {\n if (this.app.isPrefabType) {\n // there is only one route\n this.renderPrefabPreviewPage();\n } else {\n $(this.getTargetNode()).find('>div').first().remove();\n this.subscription = this.route.params.subscribe(({pageName}: any) => {\n this.loadPage(pageName);\n });\n }\n }\n\n ngOnDestroy() {\n this.vcRef.clear();\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n }\n\n ngOnAttach() {\n this.getTargetNode().appendChild(this.instance.$page[0]);\n this.instance.ngOnAttach();\n }\n\n ngOnDetach() {\n this.instance.ngOnDetach();\n }\n}\n","import { MetadataResolve, AppExtensionJSResolve } from '@wm/runtime/base';\nimport { SecurityConfigResolve, PrefabPreviewComponent, CanDeactivatePageGuard, EmptyPageComponent } from '@wm/runtime/base';\n\nimport { PageWrapperComponent } from './components/page-wrapper.component';\nimport {Routes} from '@angular/router';\n\nconst appDependenciesResolve = {\n securityConfig: SecurityConfigResolve,\n metadata: MetadataResolve,\n appMetaConfig: AppExtensionJSResolve\n};\n\nexport const routes: Routes = [\n {\n path: '',\n pathMatch: 'full',\n resolve: appDependenciesResolve,\n component: EmptyPageComponent\n },\n {\n path: 'prefab-preview',\n pathMatch: 'full',\n resolve: appDependenciesResolve,\n component: PrefabPreviewComponent\n },\n {\n path: ':pageName',\n pathMatch: 'full',\n resolve: appDependenciesResolve,\n component: PageWrapperComponent,\n canDeactivate: [CanDeactivatePageGuard]\n }\n];\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\n\nimport { AppJSProvider } from '@wm/runtime/base';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AppJSProviderService extends AppJSProvider {\n constructor(private $http: HttpClient) {\n super();\n }\n\n public getAppScriptFn(): Promise<Function> {\n return this.$http.get('./app.js', {responseType: 'text'})\n .toPromise()\n .then(script => new Function('App', 'Utils', 'Injector', script));\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { AbstractHttpService, App } from '@wm/core';\n\nconst cache = new Map<string, string>();\n\n@Injectable()\nexport class AppResourceManagerService {\n\n get(url: string, useCache?: boolean): string | any {\n const cachedResponse = cache.get(url);\n\n if (cachedResponse) {\n return Promise.resolve(cachedResponse);\n }\n\n return this.$http.get(url).then(response => {\n if (useCache) {\n cache.set(url, response);\n }\n return response;\n });\n }\n\n public clearCache() {\n cache.clear();\n }\n\n constructor(private $http: AbstractHttpService) {}\n}\n","import { Injectable } from '@angular/core';\nimport { AppVariablesProvider } from '@wm/runtime/base';\nimport { AppResourceManagerService } from './app-resource-manager.service';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AppVariablesProviderService extends AppVariablesProvider {\n constructor(private resourceManager: AppResourceManagerService) {\n super();\n }\n\n public async getAppVariables(): Promise<any> {\n return this.resourceManager.get('./app.variables.json');\n }\n}\n","import { Injectable } from '@angular/core';\nimport { AppExtensionProvider } from '@wm/runtime/base';\nimport { appendScriptToHead } from '@wm/core';\n@Injectable({\n providedIn: 'root'\n})\nexport class AppExtensionProviderService extends AppExtensionProvider {\n\n // With renderer create element, added onloaded callback the append to the body\n public loadFormatterConfigScript(callback:Function):void {\n try{\n appendScriptToHead(callback);\n }catch(e){\n console.warn('Error while loading the formatters.js file');\n }\n }\n}\n","import {\n Compiler,\n Component,\n CUSTOM_ELEMENTS_SCHEMA, forwardRef, Inject,\n Injectable,\n Injector,\n NgModule,\n NO_ERRORS_SCHEMA,\n ViewEncapsulation\n} from '@angular/core';\n\nimport { App, getValidJSON, UserDefinedExecutionContext } from '@wm/core';\nimport { transpile, scopeComponentStyles } from '@wm/transpiler';\nimport {\n AppManagerService,\n BasePageComponent,\n BasePartialComponent,\n BaseCustomWidgetComponent,\n BasePrefabComponent,\n ComponentRefProvider,\n ComponentType,\n RuntimeBaseModule,\n getPrefabMinJsonUrl,\n getPrefabPartialJsonUrl\n} from '@wm/runtime/base';\n\nimport { AppResourceManagerService } from './app-resource-manager.service';\nimport { isString, isUndefined } from \"lodash-es\";\nimport * as customWidgets from '@wavemaker/custom-widgets-m3';\nimport { PageDirective } from '@wm/components/page';\n\ninterface IPageMinJSON {\n markup: string;\n script: string;\n styles: string;\n variables: string;\n config?: string;\n}\n\ndeclare const window: any;\n\nconst fragmentCache = new Map<string, any>();\n\nwindow.resourceCache = fragmentCache;\n\nconst componentFactoryRefCache = new Map<ComponentType, Map<string, any>>();\n\ncomponentFactoryRefCache.set(ComponentType.PAGE, new Map<string, any>());\ncomponentFactoryRefCache.set(ComponentType.PARTIAL, new Map<string, any>());\ncomponentFactoryRefCache.set(ComponentType.PREFAB, new Map<string, any>());\ncomponentFactoryRefCache.set(ComponentType.WIDGET, new Map<string, any>());\n\nconst _decodeURIComponent = (str: string) => decodeURIComponent(str.replace(/\\+/g, ' '));\n\nconst getFragmentUrl = (fragmentName: string, type: ComponentType, options?) => {\n if (type === ComponentType.PAGE || type === ComponentType.PARTIAL) {\n return options && options.prefab ? getPrefabPartialJsonUrl(options.prefab, fragmentName) : `./pages/${fragmentName}/page.min.json`;\n } else if (type === ComponentType.PREFAB) {\n return getPrefabMinJsonUrl(fragmentName);\n } else if (type === ComponentType.WIDGET) {\n return `./custom-widgets/${fragmentName}/page.min.json`\n }\n};\n\nconst scriptCache = new Map<string, Function>();\nconst execScript = (\n script: string,\n identifier: string,\n ctx: string,\n instance: any,\n app: any,\n utils: any\n) => {\n let fn = scriptCache.get(identifier);\n // Fix for [WMS-21196]: Incorrect script is being assigned, when 2 prefabs have same partial name (i.e. same identifier).\n if ((ctx === 'Partial' && !isUndefined(instance.Prefab)) || !fn) {\n fn = new Function(ctx, 'App', 'Utils', script);\n scriptCache.set(identifier, fn);\n }\n fn(instance, app, utils);\n};\n\nclass BaseDynamicComponent {\n init() { }\n}\n\nconst getDynamicModule = (componentRef: any) => {\n return NgModule({\n declarations: [componentRef],\n imports: [\n RuntimeBaseModule,\n ],\n schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA]\n })(class DynamicModule { });\n};\n\nconst getDynamicComponent = (\n componentName,\n type: ComponentType,\n template: string,\n css: string,\n script: any,\n variables: string,\n) => {\n\n const componentDef = {\n template,\n styles: [css],\n encapsulation: ViewEncapsulation.None\n };\n\n let BaseClass: any = BaseDynamicComponent;\n let selector = '';\n let context = '';\n\n switch (type) {\n case ComponentType.PAGE:\n BaseClass = BasePageComponent;\n selector = `app-page-${componentName}`;\n context = 'Page';\n break;\n case ComponentType.PARTIAL:\n BaseClass = BasePartialComponent;\n selector = `app-partial-${componentName}`;\n context = 'Partial';\n break;\n case ComponentType.PREFAB:\n BaseClass = BasePrefabComponent;\n selector = `app-prefab-${componentName}`;\n context = 'Prefab';\n break;\n case ComponentType.WIDGET:\n BaseClass = BaseCustomWidgetComponent;\n selector = `app-custom-${componentName}`;\n context = 'Widget';\n break;\n }\n\n class DynamicComponent extends BaseClass {\n isDynamicComponent: boolean = true;\n pageName;\n partialName;\n prefabName;\n customWidgetName;\n constructor(@Inject(Injector) public injector: Injector) {\n super();\n this.injector = injector;\n switch (type) {\n case ComponentType.PAGE:\n this.pageName = componentName;\n break;\n case ComponentType.PARTIAL:\n this.partialName = componentName;\n break;\n case ComponentType.PREFAB:\n this.prefabName = componentName;\n break;\n case ComponentType.WIDGET:\n this.customWidgetName = componentName;\n break;\n }\n\n super.init();\n }\n\n evalUserScript(instance: any, appContext: any, utils: any) {\n execScript(script, selector, context, instance, appContext, utils);\n }\n\n getVariables() {\n return JSON.parse(variables);\n }\n\n // in preview mode, there will be no function registered. functions will be generated dynamically through $parseEvent and $parseExpr\n getExpressions() {\n return {};\n }\n }\n\n const component = Component({\n ...componentDef,\n selector,\n providers: [\n {\n provide: UserDefinedExecutionContext,\n useExisting: DynamicComponent\n },\n PageDirective,\n ]\n })(DynamicComponent)\n return component;\n};\n\n@Injectable()\nexport class ComponentRefProviderService extends ComponentRefProvider {\n\n private loadResourcesOfFragment(componentName, componentType, options?): Promise<IPageMinJSON> {\n const url = getFragmentUrl(componentName, componentType, options);\n\n const resource = fragmentCache.get(url);\n\n if (resource) {\n return resource;\n }\n const promise = (((componentType === ComponentType.WIDGET && !customWidgets[componentName]) || componentType !== ComponentType.WIDGET) ? this.resouceMngr.get(url, true) : Promise.resolve(customWidgets[componentName]))\n .then(({ markup, script, styles, variables, config }: IPageMinJSON) => {\n const response = {\n markup: transpile(_decodeURIComponent(markup)).markup,\n script: _decodeURIComponent(script),\n styles: scopeComponentStyles(componentName, componentType, _decodeURIComponent(styles)),\n variables: getValidJSON(_decodeURIComponent(variables)),\n ...(config ? { config: getValidJSON(_decodeURIComponent(config)) } : {})\n };\n fragmentCache.set(url, Promise.resolve(response));\n\n return response;\n }, e => {\n const status = e.details.status;\n const errorMsgMap = {\n 404: this.app.appLocale.MESSAGE_PAGE_NOT_FOUND || 'The page you are trying to reach is not available',\n 403: this.app.appLocale.LABEL_ACCESS_DENIED || 'Access Denied'\n };\n return Promise.reject(errorMsgMap[status]);\n });\n fragmentCache.set(url, promise);\n return promise;\n }\n\n constructor(\n private resouceMngr: AppResourceManagerService,\n private app: App,\n private appManager: AppManagerService,\n private compiler: Compiler\n ) {\n super();\n }\n\n public async getComponentFactoryRef(componentName: string, componentType: ComponentType, options?: {}): Promise<any> {\n // check in the cache.\n const componentFactoryMap = componentFactoryRefCache.get(componentType);\n let componentFactoryRef;\n if (componentFactoryMap) {\n const updatedComponentName = (options && options['prefab']) ? options['prefab'] + componentName : componentName;\n componentFactoryRef = componentFactoryMap.get(updatedComponentName);\n\n if (componentFactoryRef) {\n return componentFactoryRef;\n }\n }\n\n return this.loadResourcesOfFragment(componentName, componentType, options)\n .then(({ markup, script, styles, variables }) => {\n const componentDef = getDynamicComponent(componentName, componentType, markup, styles, script, JSON.stringify(variables));\n const moduleDef = getDynamicModule(componentDef);\n\n componentFactoryRef = this.compiler\n .compileModuleAndAllComponentsSync(moduleDef)\n .componentFactories\n .filter(factory => // @ts-ignore\n factory.componentType === componentDef)[0];\n const updatedComponentName = (options && options['prefab']) ? options['prefab'] + componentName : componentName;\n componentFactoryRefCache.get(componentType).set(updatedComponentName, componentFactoryRef);\n\n return componentFactoryRef;\n }, (err) => {\n if (err) {\n const msg = \"Error while loading page\";\n // console the error for easy debugging\n console.log(msg, err);\n this.appManager.notifyApp(\n isString(err) ? err : msg + ', check browser console for error details',\n 'error'\n );\n }\n });\n }\n\n // clears the cache map\n public clearComponentFactoryRefCache() {\n this.resouceMngr.clearCache();\n fragmentCache.clear();\n componentFactoryRefCache.forEach(map => {\n map.clear();\n });\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { CustomwidgetConfigProvider } from '@wm/runtime/base';\n\nconst cache = new Map<string, any>();\n@Injectable()\nexport class CustomwidgetConfigProviderService extends CustomwidgetConfigProvider {\n\n constructor() {\n super();\n }\n\n public getConfig(widgetname: string): Promise<any> {\n return new Promise((res, rej) => {\n Promise.resolve(window['resourceCache'].get(`./custom-widgets/${widgetname}/page.min.json`)).then((pageInfo) => {\n res(pageInfo.config);\n });\n })\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { getPrefabConfigUrl, PrefabConfigProvider } from '@wm/runtime/base';\n\nimport { AppResourceManagerService } from './app-resource-manager.service';\n\nconst cache = new Map<string, any>();\n@Injectable()\nexport class PrefabConfigProviderService extends PrefabConfigProvider {\n\n constructor(private resourceMngr: AppResourceManagerService) {\n super();\n }\n\n public getConfig(prefabName: string): Promise<any> {\n const config = cache.get(prefabName);\n if (config) {\n return Promise.resolve(config);\n }\n\n return this.resourceMngr.get(getPrefabConfigUrl(prefabName))\n .then(_config => {\n cache.set(prefabName, _config);\n return _config;\n });\n }\n}\n","import { Injector, ModuleWithProviders, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { CommonModule } from '@angular/common';\nimport { RouteReuseStrategy, RouterModule } from '@angular/router';\nimport { HttpClientModule, HttpClientXsrfModule } from '@angular/common/http';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { TypeaheadModule } from 'ngx-bootstrap/typeahead';\nimport { TimepickerModule as ngxTimepickerModule } from 'ngx-bootstrap/timepicker';\nimport { ProgressbarModule } from 'ngx-bootstrap/progressbar';\nimport { PaginationModule as ngxPaginationModule } from 'ngx-bootstrap/pagination';\nimport { ModalModule } from 'ngx-bootstrap/modal';\nimport { TooltipModule } from 'ngx-bootstrap/tooltip';\nimport { BsDatepickerModule } from 'ngx-bootstrap/datepicker';\nimport { BsDropdownModule } from 'ngx-bootstrap/dropdown';\nimport { PopoverModule as ngxPopoverModule } from 'ngx-bootstrap/popover';\n\nimport { NgCircleProgressModule } from 'ng-circle-progress';\nimport { ToastNoAnimationModule } from 'ngx-toastr';\nimport { CarouselModule as ngxCarouselModule, } from 'ngx-bootstrap/carousel';\n\nimport { App, getWmProjectProperties, PartialRefProvider, CustomWidgetRefProvider, AbstractHttpService } from '@wm/core';\n// Basic widgets\n\nimport {\n AnchorComponent,\n AudioComponent,\n HtmlDirective,\n IconComponent,\n IframeComponent,\n LabelDirective,\n PictureDirective,\n SpinnerComponent,\n VideoComponent\n} from '@wm/components/basic';\nimport { ProgressBarComponent, ProgressCircleComponent } from '@wm/components/basic/progress';\nimport { RichTextEditorComponent } from '@wm/components/basic/rich-text-editor';\nimport { SearchComponent, ScrollableDirective } from '@wm/components/basic/search';\nimport { TreeComponent } from '@wm/components/basic/tree';\n\n// input\nimport {\n ButtonComponent,\n ButtonGroupDirective,\n CaptionPositionDirective,\n CheckboxComponent,\n CheckboxsetComponent,\n CompositeDirective,\n NumberComponent,\n RadiosetComponent,\n SelectComponent,\n SwitchComponent,\n InputCalendarComponent,\n InputColorComponent,\n InputEmailComponent,\n InputNumberComponent,\n InputTextComponent,\n TextareaComponent\n} from '@wm/components/input';\nimport { CalendarComponent } from '@wm/components/input/calendar';\nimport { ChipsComponent } from '@wm/components/input/chips';\nimport { ColorPickerComponent } from '@wm/components/input/color-picker';\nimport { CurrencyComponent } from '@wm/components/input/currency';\nimport {\n DateComponent,\n DatetimeComponent,\n TimeComponent,\n DateTimePickerComponent,\n TimePickerComponent,\n PickerComponent,\n PickerGroupComponent\n} from '@wm/components/input/epoch';\nimport { FileUploadComponent } from '@wm/components/input/file-upload';\nimport { RatingComponent } from '@wm/components/input/rating';\nimport { SliderComponent } from '@wm/components/input/slider';\n// Data\nimport {\n CardComponent,\n CardActionsDirective,\n CardContentComponent,\n CardFooterDirective\n} from '@wm/components/data/card';\nimport {\n FormComponent,\n FormWidgetDirective,\n FormActionDirective,\n FormFieldDirective,\n LiveActionsDirective,\n DependsonDirective,\n LiveFilterDirective,\n LiveFormDirective\n} from '@wm/components/data/form';\nimport { ListComponent, ListItemDirective } from '@wm/components/data/list';\nimport { LiveTableComponent } from '@wm/components/data/live-table';\nimport { PaginationComponent } from '@wm/components/data/pagination';\nimport {\n TableComponent,\n TableCUDDirective,\n TableFilterSortDirective,\n TableActionDirective,\n TableColumnDirective,\n TableColumnGroupDirective,\n TableRowDirective,\n TableRowActionDirective\n} from '@wm/components/data/table';\n\n// Chart\nimport { ChartComponent } from '@wm/components/chart';\n\n// Containers\nimport { AccordionPaneComponent, AccordionDirective } from '@wm/components/containers/accordion';\nimport { LinearLayoutDirective, LinearLayoutItemDirective } from '@wm/components/containers/linear-layout';\nimport { LayoutgridDirective, LayoutGridRowDirective, LayoutGridColumnDirective } from '@wm/components/containers/layout-grid';\nimport { PanelComponent } from '@wm/components/containers/panel';\nimport { TabPaneComponent, TabsComponent } from '@wm/components/containers/tabs';\nimport { TileDirective } from '@wm/components/containers/tile';\nimport { WizardActionDirective, WizardStepComponent, WizardComponent } from '@wm/components/containers/wizard';\n\n// Dialogs\nimport { AlertDialogComponent } from '@wm/components/dialogs/alert-dialog';\nimport { IframeDialogComponent } from '@wm/components/dialogs/iframe-dialog';\nimport { LoginDialogDirective } from '@wm/components/dialogs/login-dialog';\nimport { PartialDialogComponent } from '@wm/components/dialogs/partial-dialog';\n\n// Navigation\nimport { BreadcrumbComponent } from '@wm/components/navigation/breadcrumb';\nimport { MenuComponent, MenuDropdownComponent, MenuDropdownItemComponent, NavigationControlDirective, NavComponent, NavItemDirective } from '@wm/components/navigation/menu';\nimport { NavbarComponent } from '@wm/components/navigation/navbar';\nimport { PopoverComponent } from '@wm/components/navigation/popover';\n\n// Advanced\nimport { CarouselDirective, CarouselTemplateDirective } from '@wm/components/advanced/carousel';\nimport { LoginComponent } from '@wm/components/advanced/login';\nimport { MarqueeDirective } from '@wm/components/advanced/marquee';\nimport { CustomWidgetDirective, CustomWidgetContainerDirective } from '@wm/components/advanced/custom';\n\nimport {\n PageDirective,\n LayoutDirective,\n ContentComponent,\n PageContentComponent,\n SpaPageDirective,\n RouterOutletDirective\n} from '@wm/components/page';\nimport { FooterDirective } from '@wm/components/page/footer';\nimport { HeaderComponent } from '@wm/components/page/header';\nimport { LeftPanelDirective } from '@wm/components/page/left-panel';\nimport { RightPanelDirective } from '@wm/components/page/right-panel';\nimport { TopNavDirective } from '@wm/components/page/top-nav';\n\nimport { PrefabDirective, PrefabContainerDirective } from '@wm/components/prefab';\n\nimport {\n AppComponent,\n AppJSProvider,\n AppVariablesProvider,\n ComponentRefProvider,\n PrefabConfigProvider,\n WmRouteReuseStrategy,\n WM_MODULES_FOR_ROOT,\n CustomwidgetConfigProvider,\n REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS,\n AppExtensionProvider\n} from '@wm/runtime/base';\n\nimport { routes } from './app.routes';\nimport { PageWrapperComponent } from './components/page-wrapper.component';\nimport { AppJSProviderService } from './services/app-js-provider.service';\nimport { AppVariablesProviderService } from './services/app-variables-provider.service';\nimport { AppExtensionProviderService } from './services/app-extension.service';\nimport { ComponentRefProviderService } from './services/component-ref-provider.service';\nimport { CustomwidgetConfigProviderService } from './services/customwidget-config-provider.service';\nimport { PrefabConfigProviderService } from './services/prefab-config-provider.service';\nimport { AppResourceManagerService } from './services/app-resource-manager.service';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { HttpServiceImpl } from '@wm/http';\n\nexport const routerModule = RouterModule.forRoot(routes, { useHash: true, scrollPositionRestoration: 'top' });\nexport const toastrModule = ToastNoAnimationModule.forRoot({ maxOpened: 1, autoDismiss: true });\n\n// In angular 15, xsrf headerName should not be null. Angular 15 is not using default header value like it used to send in calls\n// for angular 12 if the headerName is null . The user has to take care of not sending null values. Then ng 15 uses default value for headerName\nconst xsrfHeaderName = getWmProjectProperties().xsrf_header_name;\nconst xsrfOptions = {\n cookieName: 'wm_xsrf_token'\n}\nif (xsrfHeaderName) {\n xsrfOptions['headerName'] = xsrfHeaderName;\n}\nexport const httpClientXsrfModule = HttpClientXsrfModule.withOptions(xsrfOptions);\n\nexport const modalModule: ModuleWithProviders<ModalModule> = ModalModule.forRoot();\nexport const bsDatePickerModule: ModuleWithProviders<BsDatepickerModule> = BsDatepickerModule.forRoot();\nexport const timepickerModule: ModuleWithProviders<ngxTimepickerModule> = ngxTimepickerModule.forRoot();\nexport const bsDropdownModule: ModuleWithProviders<BsDropdownModule> = BsDropdownModule.forRoot();\nexport const paginationModule: ModuleWithProviders<ngxPaginationModule> = ngxPaginationModule.forRoot();\nexport const typeaheadModule: ModuleWithProviders<TypeaheadModule> = TypeaheadModule.forRoot();\nexport const progressbarModule: ModuleWithProviders<ProgressbarModule> = ProgressbarModule.forRoot();\nexport const carouselModule: ModuleWithProviders<ngxCarouselModule> = ngxCarouselModule.forRoot();\nexport const popoverModule: ModuleWithProviders<ngxPopoverModule> = ngxPopoverModule.forRoot();\nexport const ngCircleProgressModule: ModuleWithProviders<NgCircleProgressModule> = NgCircleProgressModule.forRoot({});\nexport const tooltipModule: ModuleWithProviders<TooltipModule> = TooltipModule.forRoot();\n\nconst componentsModule = [\n // NGX Bootstrap\n BsDatepickerModule,\n ngxTimepickerModule,\n BsDropdownModule,\n ngxPaginationModule,\n TypeaheadModule,\n ProgressbarModule,\n ngxCarouselModule,\n ngxPopoverModule,\n NgCircleProgressModule,\n TooltipModule,\n\n // Basic widgets\n AnchorComponent,\n AudioComponent,\n HtmlDirective,\n IconComponent,\n IframeComponent,\n LabelDirective,\n PictureDirective,\n SpinnerComponent,\n VideoComponent,\n ProgressBarComponent, ProgressCircleComponent,\n RichTextEditorComponent,\n SearchComponent, ScrollableDirective,\n TreeComponent,\n\n // Input\n CalendarComponent,\n ChipsComponent,\n ColorPickerComponent,\n CurrencyComponent,\n DateComponent,\n DatetimeComponent,\n TimeComponent,\n DateTimePickerComponent,\n TimePickerComponent,\n PickerComponent,\n PickerGroupComponent,\n FileUploadComponent,\n ButtonComponent,\n ButtonGroupDirective,\n CaptionPositionDirective,\n CheckboxComponent,\n CheckboxsetComponent,\n CompositeDirective,\n NumberComponent,\n RadiosetComponent,\n SelectComponent,\n SwitchComponent,\n InputCalendarComponent,\n InputColorComponent,\n InputEmailComponent,\n InputNumberComponent,\n InputTextComponent,\n TextareaComponent,\n RatingComponent,\n SliderComponent,\n\n // Data\n CardComponent,\n CardActionsDirective,\n CardContentComponent,\n CardFooterDirective,\n FormComponent,\n FormWidgetDirective,\n FormActionDirective,\n FormFieldDirective,\n LiveActionsDirective,\n DependsonDirective,\n LiveFilterDirective,\n LiveFormDirective,\n ListComponent, ListItemDirective,\n LiveTableComponent,\n PaginationComponent,\n TableComponent,\n TableCUDDirective,\n TableFilterSortDirective,\n TableActionDirective,\n TableColumnDirective,\n TableColumnGroupDirective,\n TableRowDirective,\n TableRowActionDirective,\n\n // chart\n ChartComponent,\n\n // container modules\n AccordionPaneComponent, AccordionDirective,\n LinearLayoutDirective, LinearLayoutItemDirective,\n LayoutgridDirective, LayoutGridRowDirective, LayoutGridColumnDirective,\n PanelComponent,\n TabPaneComponent, TabsComponent,\n TileDirective,\n WizardActionDirective, WizardStepComponent, WizardComponent,\n\n // dialogs\n AlertDialogComponent,\n IframeDialogComponent,\n LoginDialogDirective,\n PartialDialogComponent,\n\n // navigation\n BreadcrumbComponent,\n MenuComponent, MenuDropdownComponent, MenuDropdownItemComponent, NavigationControlDirective, NavComponent, NavItemDirective,\n NavbarComponent,\n PopoverComponent,\n\n // Advanced\n CarouselDirective, CarouselTemplateDirective,\n LoginComponent,\n MarqueeDirective,\n CustomWidgetDirective, CustomWidgetContainerDirective,\n\n PageDirective,\n LayoutDirective,\n ContentComponent,\n PageContentComponent,\n SpaPageDirective,\n RouterOutletDirective,\n FooterDirective,\n HeaderComponent,\n LeftPanelDirective,\n RightPanelDirective,\n TopNavDirective,\n\n PrefabDirective, PrefabContainerDirective\n];\n\nREQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS.push(...componentsModule as any);\nREQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS.push(FormsModule as any, ReactiveFormsModule as any);\n\n@NgModule({\n declarations: [\n PageWrapperComponent\n ],\n imports: [\n BrowserModule,\n BrowserAnimationsModule,\n CommonModule,\n RouterModule,\n HttpClientModule,\n\n modalModule,\n bsDatePickerModule,\n timepickerModule,\n bsDropdownModule,\n paginationModule,\n typeaheadModule,\n tooltipModule,\n progressbarModule,\n carouselModule,\n popoverModule,\n ngCircleProgressModule,\n\n routerModule,\n toastrModule,\n httpClientXsrfModule,\n WM_MODULES_FOR_ROOT\n ],\n providers: [\n AppResourceManagerService,\n { provide: AppJSProvider, useClass: AppJSProviderService },\n { provide: AppVariablesProvider, useClass: AppVariablesProviderService },\n { provide: AppExtensionProvider, useClass: AppExtensionProviderService },\n { provide: ComponentRefProvider, useClass: ComponentRefProviderService },\n { provide: PartialRefProvider, useClass: ComponentRefProviderService },\n { provide: CustomWidgetRefProvider, useClass: ComponentRefProviderService },\n { provide: CustomwidgetConfigProvider, useClass: CustomwidgetConfigProviderService },\n { provide: PrefabConfigProvider, useClass: PrefabConfigProviderService },\n { provide: RouteReuseStrategy, useClass: WmRouteReuseStrategy },\n { provide: AbstractHttpService, useClass: HttpServiceImpl }\n ],\n bootstrap: [AppComponent]\n})\nexport class AppModule {\n constructor(private app: App, private inj: Injector, private componentRefProvider: ComponentRefProvider) {\n }\n}\n","import { ApplicationRef, enableProdMode, NgModuleRef } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport {isEmpty} from \"lodash-es\";\n\nconst DEBUG_MODE = 'debugMode';\n\nif (sessionStorage.getItem(DEBUG_MODE) !== 'true') {\n enableProdMode();\n}\n\nconsole.time('bootstrap');\n\n\ndocument.addEventListener('DOMContentLoaded', () => {\n new Promise<void|Event>( resolve => {\n resolve();\n }).then(() => platformBrowserDynamic().bootstrapModule(AppModule))\n .then((appModuleRef: NgModuleRef<AppModule>) => {\n const applicationRef = appModuleRef.injector.get(ApplicationRef);\n window.addEventListener('unload', () => {\n applicationRef.components.map(c => c && c.destroy());\n });\n console.timeEnd('bootstrap');\n }, err => console.log(err));\n});\n\n(window as any).debugMode = function(on) {\n if (isEmpty(on)) {\n on = true;\n }\n const value = on ? 'true' : 'false';\n if (sessionStorage.getItem(DEBUG_MODE) !== value) {\n sessionStorage.setItem(DEBUG_MODE, value);\n window.location.reload();\n }\n};\n\nexport default () => {};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1","cache","i1.AppResourceManagerService","i2","i3","ngxTimepickerModule","ngxPaginationModule","ngxCarouselModule","ngxPopoverModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2Ba,oBAAoB,CAAA;IAK7B,WACY,CAAA,QAAkB,EAClB,KAAqB,EACrB,KAAuB,EACvB,MAAsB,EACtB,eAAgC,EAChC,eAAgC,EAChC,UAA6B,EAC7B,GAAQ,EACR,MAAc,EACd,KAAiB,EACjB,cAAsC,EACtC,oBAA0C,EAC1C,MAAc,EAAA;QAZd,IAAQ,CAAA,QAAA,GAAR,QAAQ;QACR,IAAK,CAAA,KAAA,GAAL,KAAK;QACL,IAAK,CAAA,KAAA,GAAL,KAAK;QACL,IAAM,CAAA,MAAA,GAAN,MAAM;QACN,IAAe,CAAA,eAAA,GAAf,eAAe;QACf,IAAe,CAAA,eAAA,GAAf,eAAe;QACf,IAAU,CAAA,UAAA,GAAV,UAAU;QACV,IAAG,CAAA,GAAA,GAAH,GAAG;QACH,IAAM,CAAA,MAAA,GAAN,MAAM;QACN,IAAK,CAAA,KAAA,GAAL,KAAK;QACL,IAAc,CAAA,cAAA,GAAd,cAAc;QACd,IAAoB,CAAA,oBAAA,GAApB,oBAAoB;QACpB,IAAM,CAAA,MAAA,GAAN,MAAM;;IAGlB,aAAa,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa;;IAGnC,kBAAkB,GAAA;AACd,QAAA,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE;AAClB,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,EAAE;AACpC,QAAA,OAAO,CAAC,SAAS,GAAG,EAAE;;AAG1B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
+
{"version":3,"file":"index.mjs","sources":["../../../../projects/runtime-dynamic/src/app/components/page-wrapper.component.ts","../../../../projects/runtime-dynamic/src/app/app.routes.ts","../../../../projects/runtime-dynamic/src/app/services/customwidget-config-provider.service.ts","../../../../projects/runtime-dynamic/src/app/services/app-js-provider.service.ts","../../../../projects/runtime-dynamic/src/app/services/app-resource-manager.service.ts","../../../../projects/runtime-dynamic/src/app/services/app-variables-provider.service.ts","../../../../projects/runtime-dynamic/src/app/services/app-extension.service.ts","../../../../projects/runtime-dynamic/src/app/services/component-ref-provider.service.ts","../../../../projects/runtime-dynamic/src/app/services/prefab-config-provider.service.ts","../../../../projects/runtime-dynamic/src/app/app.config.ts","../../../../projects/runtime-dynamic/src/main.ts","../../../../projects/runtime-dynamic/src/app/app.module.ts","../../../../projects/runtime-dynamic/src/index.ts"],"sourcesContent":["import { WmComponentsModule } from \"@wm/components/base\";\nimport {\n ApplicationRef,\n Component,\n ElementRef,\n Injector,\n NgZone,\n OnDestroy,\n OnInit,\n ViewContainerRef,\n HostListener\n} from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\n\nimport { Subscription } from 'rxjs';\n\nimport { AbstractSpinnerService, App, noop} from '@wm/core';\nimport { MetadataService } from '@wm/variables';\nimport { SecurityService } from '@wm/security';\nimport { AppManagerService, BasePageComponent, ComponentRefProvider, ComponentType } from '@wm/runtime/base';\n\n@Component({\n standalone: true,\n imports: [WmComponentsModule],\n selector: 'app-page-outlet',\n template: '<div></div>'\n})\nexport class PageWrapperComponent implements OnInit, OnDestroy {\n\n subscription: Subscription;\n instance: any;\n\n constructor(\n private injector: Injector,\n private route: ActivatedRoute,\n private vcRef: ViewContainerRef,\n private appRef: ApplicationRef,\n private metadataService: MetadataService,\n private securityService: SecurityService,\n private appManager: AppManagerService,\n private app: App,\n private ngZone: NgZone,\n private elRef: ElementRef,\n private spinnerService: AbstractSpinnerService,\n private componentRefProvider: ComponentRefProvider,\n private router: Router\n ) {}\n\n getTargetNode() {\n return this.elRef.nativeElement;\n }\n\n resetViewContainer() {\n this.vcRef.clear();\n const $target = this.getTargetNode();\n $target.innerHTML = '';\n }\n\n renderPage(pageName) {\n const $target = this.getTargetNode();\n\n this.appManager.loadAppVariables()\n .then(async () => {\n const pageComponentFactoryRef = await this.componentRefProvider.getComponentFactoryRef(pageName, ComponentType.PAGE);\n if (pageComponentFactoryRef) {\n const componentRef = this.vcRef.createComponent(pageComponentFactoryRef, 0, this.injector);\n this.instance = componentRef.instance;\n $target.appendChild(componentRef.location.nativeElement);\n } else {\n BasePageComponent.clear();\n }\n if (this.vcRef.length > 1) {\n this.vcRef.remove(1);\n }\n });\n }\n\n renderPrefabPreviewPage() {\n this.router.navigate(['prefab-preview']);\n }\n\n loadPage(pageName) {\n this.ngZone.run(() => {\n if (pageName) {\n this.renderPage(pageName);\n }\n });\n }\n\n ngOnInit() {\n if (this.app.isPrefabType) {\n // there is only one route\n this.renderPrefabPreviewPage();\n } else {\n $(this.getTargetNode()).find('>div').first().remove();\n this.subscription = this.route.params.subscribe(({pageName}: any) => {\n this.loadPage(pageName);\n });\n }\n }\n\n ngOnDestroy() {\n this.vcRef.clear();\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n }\n\n ngOnAttach() {\n this.getTargetNode().appendChild(this.instance.$page[0]);\n this.instance.ngOnAttach();\n }\n\n ngOnDetach() {\n this.instance.ngOnDetach();\n }\n}\n","import { MetadataResolve, AppExtensionJSResolve } from '@wm/runtime/base';\nimport { SecurityConfigResolve, PrefabPreviewComponent, CanDeactivatePageGuard, EmptyPageComponent } from '@wm/runtime/base';\n\nimport { PageWrapperComponent } from './components/page-wrapper.component';\nimport {Routes} from '@angular/router';\n\nconst appDependenciesResolve = {\n securityConfig: SecurityConfigResolve,\n metadata: MetadataResolve,\n appMetaConfig: AppExtensionJSResolve\n};\n\nexport const routes: Routes = [\n {\n path: '',\n pathMatch: 'full',\n resolve: appDependenciesResolve,\n component: EmptyPageComponent\n },\n {\n path: 'prefab-preview',\n pathMatch: 'full',\n resolve: appDependenciesResolve,\n component: PrefabPreviewComponent\n },\n {\n path: ':pageName',\n pathMatch: 'full',\n resolve: appDependenciesResolve,\n component: PageWrapperComponent,\n canDeactivate: [CanDeactivatePageGuard]\n }\n];\n","import { Injectable } from '@angular/core';\n\nimport { CustomwidgetConfigProvider } from '@wm/runtime/base';\n\nconst cache = new Map<string, any>();\n@Injectable()\nexport class CustomwidgetConfigProviderService extends CustomwidgetConfigProvider {\n\n constructor() {\n super();\n }\n\n public getConfig(widgetname: string): Promise<any> {\n return new Promise((res, rej) => {\n Promise.resolve(window['resourceCache'].get(`./custom-widgets/${widgetname}/page.min.json`)).then((pageInfo) => {\n res(pageInfo.config);\n });\n })\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\n\nimport { AppJSProvider } from '@wm/runtime/base';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AppJSProviderService extends AppJSProvider {\n constructor(private $http: HttpClient) {\n super();\n }\n\n public getAppScriptFn(): Promise<Function> {\n return this.$http.get('./app.js', {responseType: 'text'})\n .toPromise()\n .then(script => new Function('App', 'Utils', 'Injector', script));\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { AbstractHttpService, App } from '@wm/core';\n\nconst cache = new Map<string, string>();\n\n@Injectable()\nexport class AppResourceManagerService {\n\n get(url: string, useCache?: boolean): string | any {\n const cachedResponse = cache.get(url);\n\n if (cachedResponse) {\n return Promise.resolve(cachedResponse);\n }\n\n return this.$http.get(url).then(response => {\n if (useCache) {\n cache.set(url, response);\n }\n return response;\n });\n }\n\n public clearCache() {\n cache.clear();\n }\n\n constructor(private $http: AbstractHttpService) {}\n}\n","import { Injectable } from '@angular/core';\nimport { AppVariablesProvider } from '@wm/runtime/base';\nimport { AppResourceManagerService } from './app-resource-manager.service';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AppVariablesProviderService extends AppVariablesProvider {\n constructor(private resourceManager: AppResourceManagerService) {\n super();\n }\n\n public async getAppVariables(): Promise<any> {\n return this.resourceManager.get('./app.variables.json');\n }\n}\n","import { Injectable } from '@angular/core';\nimport { AppExtensionProvider } from '@wm/runtime/base';\nimport { appendScriptToHead } from '@wm/core';\n@Injectable({\n providedIn: 'root'\n})\nexport class AppExtensionProviderService extends AppExtensionProvider {\n\n // With renderer create element, added onloaded callback the append to the body\n public loadFormatterConfigScript(callback:Function):void {\n try{\n appendScriptToHead(callback);\n }catch(e){\n console.warn('Error while loading the formatters.js file');\n }\n }\n}\n","import {\n Compiler,\n Component,\n CUSTOM_ELEMENTS_SCHEMA, forwardRef, Inject,\n Injectable,\n Injector,\n NgModule,\n NO_ERRORS_SCHEMA,\n ViewEncapsulation\n} from '@angular/core';\n\nimport { App, getValidJSON, UserDefinedExecutionContext } from '@wm/core';\nimport { transpile, scopeComponentStyles } from '@wm/transpiler';\nimport {\n AppManagerService,\n BasePageComponent,\n BasePartialComponent,\n BaseCustomWidgetComponent,\n BasePrefabComponent,\n ComponentRefProvider,\n ComponentType,\n RuntimeBaseModule,\n getPrefabMinJsonUrl,\n getPrefabPartialJsonUrl\n} from '@wm/runtime/base';\n\nimport { AppResourceManagerService } from './app-resource-manager.service';\nimport { isString, isUndefined } from \"lodash-es\";\nimport * as customWidgets from '@wavemaker/custom-widgets-m3';\n\ninterface IPageMinJSON {\n markup: string;\n script: string;\n styles: string;\n variables: string;\n config?: string;\n}\n\ndeclare const window: any;\n\nconst fragmentCache = new Map<string, any>();\n\nwindow.resourceCache = fragmentCache;\n\nconst componentFactoryRefCache = new Map<ComponentType, Map<string, any>>();\n\ncomponentFactoryRefCache.set(ComponentType.PAGE, new Map<string, any>());\ncomponentFactoryRefCache.set(ComponentType.PARTIAL, new Map<string, any>());\ncomponentFactoryRefCache.set(ComponentType.PREFAB, new Map<string, any>());\ncomponentFactoryRefCache.set(ComponentType.WIDGET, new Map<string, any>());\n\nconst _decodeURIComponent = (str: string) => decodeURIComponent(str.replace(/\\+/g, ' '));\n\nconst getFragmentUrl = (fragmentName: string, type: ComponentType, options?) => {\n if (type === ComponentType.PAGE || type === ComponentType.PARTIAL) {\n return options && options.prefab ? getPrefabPartialJsonUrl(options.prefab, fragmentName) : `./pages/${fragmentName}/page.min.json`;\n } else if (type === ComponentType.PREFAB) {\n return getPrefabMinJsonUrl(fragmentName);\n } else if (type === ComponentType.WIDGET) {\n return `./custom-widgets/${fragmentName}/page.min.json`\n }\n};\n\nconst scriptCache = new Map<string, Function>();\nconst execScript = (\n script: string,\n identifier: string,\n ctx: string,\n instance: any,\n app: any,\n utils: any\n) => {\n let fn = scriptCache.get(identifier);\n // Fix for [WMS-21196]: Incorrect script is being assigned, when 2 prefabs have same partial name (i.e. same identifier).\n if ((ctx === 'Partial' && !isUndefined(instance.Prefab)) || !fn) {\n fn = new Function(ctx, 'App', 'Utils', script);\n scriptCache.set(identifier, fn);\n }\n fn(instance, app, utils);\n};\n\nclass BaseDynamicComponent {\n init() { }\n}\n\nconst getDynamicModule = (componentRef: any) => {\n return NgModule({\n declarations: [componentRef],\n imports: [\n RuntimeBaseModule,\n ],\n schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA]\n })(class DynamicModule { });\n};\n\nconst getDynamicComponent = (\n componentName,\n type: ComponentType,\n template: string,\n css: string,\n script: any,\n variables: string,\n) => {\n\n const componentDef = {\n template,\n styles: [css],\n encapsulation: ViewEncapsulation.None\n };\n\n let BaseClass: any = BaseDynamicComponent;\n let selector = '';\n let context = '';\n\n switch (type) {\n case ComponentType.PAGE:\n BaseClass = BasePageComponent;\n selector = `app-page-${componentName}`;\n context = 'Page';\n break;\n case ComponentType.PARTIAL:\n BaseClass = BasePartialComponent;\n selector = `app-partial-${componentName}`;\n context = 'Partial';\n break;\n case ComponentType.PREFAB:\n BaseClass = BasePrefabComponent;\n selector = `app-prefab-${componentName}`;\n context = 'Prefab';\n break;\n case ComponentType.WIDGET:\n BaseClass = BaseCustomWidgetComponent;\n selector = `app-custom-${componentName}`;\n context = 'Widget';\n break;\n }\n\n class DynamicComponent extends BaseClass {\n isDynamicComponent: boolean = true;\n pageName;\n partialName;\n prefabName;\n customWidgetName;\n constructor(@Inject(Injector) public injector: Injector) {\n super();\n this.injector = injector;\n switch (type) {\n case ComponentType.PAGE:\n this.pageName = componentName;\n break;\n case ComponentType.PARTIAL:\n this.partialName = componentName;\n break;\n case ComponentType.PREFAB:\n this.prefabName = componentName;\n break;\n case ComponentType.WIDGET:\n this.customWidgetName = componentName;\n break;\n }\n\n super.init();\n }\n\n evalUserScript(instance: any, appContext: any, utils: any) {\n execScript(script, selector, context, instance, appContext, utils);\n }\n\n getVariables() {\n return JSON.parse(variables);\n }\n\n // in preview mode, there will be no function registered. functions will be generated dynamically through $parseEvent and $parseExpr\n getExpressions() {\n return {};\n }\n }\n\n const component = Component({\n ...componentDef,\n selector,\n providers: [\n {\n provide: UserDefinedExecutionContext,\n useExisting: DynamicComponent\n }\n ]\n })(DynamicComponent)\n return component;\n};\n\n@Injectable()\nexport class ComponentRefProviderService extends ComponentRefProvider {\n\n private loadResourcesOfFragment(componentName, componentType, options?): Promise<IPageMinJSON> {\n const url = getFragmentUrl(componentName, componentType, options);\n\n const resource = fragmentCache.get(url);\n\n if (resource) {\n return resource;\n }\n const promise = (((componentType === ComponentType.WIDGET && !customWidgets[componentName]) || componentType !== ComponentType.WIDGET) ? this.resouceMngr.get(url, true) : Promise.resolve(customWidgets[componentName]))\n .then(({ markup, script, styles, variables, config }: IPageMinJSON) => {\n const response = {\n markup: transpile(_decodeURIComponent(markup)).markup,\n script: _decodeURIComponent(script),\n styles: scopeComponentStyles(componentName, componentType, _decodeURIComponent(styles)),\n variables: getValidJSON(_decodeURIComponent(variables)),\n ...(config ? { config: getValidJSON(_decodeURIComponent(config)) } : {})\n };\n fragmentCache.set(url, Promise.resolve(response));\n\n return response;\n }, e => {\n const status = e.details.status;\n const errorMsgMap = {\n 404: this.app.appLocale.MESSAGE_PAGE_NOT_FOUND || 'The page you are trying to reach is not available',\n 403: this.app.appLocale.LABEL_ACCESS_DENIED || 'Access Denied'\n };\n return Promise.reject(errorMsgMap[status]);\n });\n fragmentCache.set(url, promise);\n return promise;\n }\n\n constructor(\n private resouceMngr: AppResourceManagerService,\n private app: App,\n private appManager: AppManagerService,\n private compiler: Compiler\n ) {\n super();\n }\n\n public async getComponentFactoryRef(componentName: string, componentType: ComponentType, options?: {}): Promise<any> {\n // check in the cache.\n const componentFactoryMap = componentFactoryRefCache.get(componentType);\n let componentFactoryRef;\n if (componentFactoryMap) {\n const updatedComponentName = (options && options['prefab']) ? options['prefab'] + componentName : componentName;\n componentFactoryRef = componentFactoryMap.get(updatedComponentName);\n\n if (componentFactoryRef) {\n return componentFactoryRef;\n }\n }\n\n return this.loadResourcesOfFragment(componentName, componentType, options)\n .then(({ markup, script, styles, variables }) => {\n const componentDef = getDynamicComponent(componentName, componentType, markup, styles, script, JSON.stringify(variables));\n const moduleDef = getDynamicModule(componentDef);\n\n componentFactoryRef = this.compiler\n .compileModuleAndAllComponentsSync(moduleDef)\n .componentFactories\n .filter(factory => // @ts-ignore\n factory.componentType === componentDef)[0];\n const updatedComponentName = (options && options['prefab']) ? options['prefab'] + componentName : componentName;\n componentFactoryRefCache.get(componentType).set(updatedComponentName, componentFactoryRef);\n\n return componentFactoryRef;\n }, (err) => {\n if (err) {\n const msg = \"Error while loading page\";\n // console the error for easy debugging\n console.log(msg, err);\n this.appManager.notifyApp(\n isString(err) ? err : msg + ', check browser console for error details',\n 'error'\n );\n }\n });\n }\n\n // clears the cache map\n public clearComponentFactoryRefCache() {\n this.resouceMngr.clearCache();\n fragmentCache.clear();\n componentFactoryRefCache.forEach(map => {\n map.clear();\n });\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { getPrefabConfigUrl, PrefabConfigProvider } from '@wm/runtime/base';\n\nimport { AppResourceManagerService } from './app-resource-manager.service';\n\nconst cache = new Map<string, any>();\n@Injectable()\nexport class PrefabConfigProviderService extends PrefabConfigProvider {\n\n constructor(private resourceMngr: AppResourceManagerService) {\n super();\n }\n\n public getConfig(prefabName: string): Promise<any> {\n const config = cache.get(prefabName);\n if (config) {\n return Promise.resolve(config);\n }\n\n return this.resourceMngr.get(getPrefabConfigUrl(prefabName))\n .then(_config => {\n cache.set(prefabName, _config);\n return _config;\n });\n }\n}\n","import { ApplicationConfig, importProvidersFrom, APP_INITIALIZER, LOCALE_ID } from \"@angular/core\";\nimport { provideRouter, RouteReuseStrategy, withComponentInputBinding, withHashLocation } from \"@angular/router\";\nimport { provideHttpClient, withXsrfConfiguration, HTTP_INTERCEPTORS, withInterceptorsFromDi } from \"@angular/common/http\";\nimport { provideAnimations } from \"@angular/platform-browser/animations\";\nimport { routes } from \"./app.routes\";\nimport { HttpServiceImpl } from \"@wm/http\";\nimport { SecurityService } from \"@wm/security\";\nimport { VariablesService, MetadataService } from \"@wm/variables\";\nimport { OAuthService } from \"@wm/oAuth\";\nimport {\n AppJSProvider,\n AppVariablesProvider,\n ComponentRefProvider,\n PrefabConfigProvider,\n AppExtensionProvider,\n CustomwidgetConfigProvider,\n AppDefaultsService,\n AppExtensionJSResolve,\n AppJSResolve,\n AppManagerService,\n AppRef,\n I18nServiceImpl,\n NavigationServiceImpl,\n SpinnerServiceImpl,\n ToasterServiceImpl,\n DynamicComponentRefProviderService,\n HttpCallInterceptor,\n PrefabManagerService,\n CanDeactivatePageGuard,\n PageNotFoundGuard,\n I18nResolve,\n RoleGuard,\n PipeService,\n AuthGuard,\n WmRouteReuseStrategy\n} from \"@wm/runtime/base\";\nimport {\n AbstractDialogService,\n AbstractHttpService,\n AbstractI18nService,\n AbstractNavigationService,\n AbstractSpinnerService,\n AbstractToasterService,\n App,\n AppDefaults,\n CustomWidgetRefProvider,\n DynamicComponentRefProvider,\n PartialRefProvider,\n _WM_APP_PROJECT,\n} from \"@wm/core\";\nimport { ModalModule } from \"ngx-bootstrap/modal\";\nimport { ToastNoAnimationModule } from \"ngx-toastr\";\nimport { BsDatepickerModule } from \"ngx-bootstrap/datepicker\";\nimport { NgCircleProgressModule } from \"ng-circle-progress\";\nimport { DatePipe, DecimalPipe } from \"@angular/common\";\nimport { CustomwidgetConfigProviderService } from \"./services/customwidget-config-provider.service\";\nimport { AppJSProviderService } from \"./services/app-js-provider.service\";\nimport { AppVariablesProviderService } from \"./services/app-variables-provider.service\";\nimport { AppExtensionProviderService } from \"./services/app-extension.service\";\nimport { ComponentRefProviderService } from \"./services/component-ref-provider.service\";\nimport { PrefabConfigProviderService } from \"./services/prefab-config-provider.service\";\nimport { AppResourceManagerService } from \"./services/app-resource-manager.service\";\nimport { CustomPipe, DialogServiceImpl, FilterPipe, ImagePipe, SanitizePipe, ToDatePipe, TrailingZeroDecimalPipe, TrustAsPipe } from \"@wm/components/base\";\nimport {PageDirective} from \"@wm/components/page\";\n\n\nconst wmModules = [\n importProvidersFrom(\n ModalModule.forRoot(),\n ToastNoAnimationModule.forRoot({ maxOpened: 1, autoDismiss: true }),\n BsDatepickerModule.forRoot(),\n NgCircleProgressModule.forRoot(),\n )\n];\nexport const xsrfHeaderName = \"X-WM-XSRF-TOKEN\";\n\n\n\n\nconst initializeProjectDetails = () => {\n let cdnUrl = document.querySelector('[name=\"deployUrl\"]') && document.querySelector('[name=\"deployUrl\"]').getAttribute('content');\n _WM_APP_PROJECT.isPreview = cdnUrl ? false : true;\n const apiUrl = document.querySelector('[name=\"apiUrl\"]') && document.querySelector('[name=\"apiUrl\"]').getAttribute('content');\n //for preview\n if (!cdnUrl) {\n cdnUrl = document.querySelector('[name=\"cdnUrl\"]') && document.querySelector('[name=\"cdnUrl\"]').getAttribute('content');\n }\n _WM_APP_PROJECT.id = location.href.split('/')[3];\n // Integration with third party apps like in SSPA/WebComponents, this meta tag with cdnUrl will not be there then default it to ng-bundle/\n _WM_APP_PROJECT.apiUrl = apiUrl || './';\n _WM_APP_PROJECT.cdnUrl = cdnUrl || 'ng-bundle/';\n _WM_APP_PROJECT.ngDest = 'ng-bundle/';\n try {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n //@ts-ignore\n __webpack_require__.p = __webpack_public_path__ = cdnUrl;\n } catch (e) {\n //for app preview there is no webpack. Don't do anything.\n }\n};\n\nexport function InitializeApp(I18nService, AppJSResolve) {\n return async () => {\n initializeProjectDetails();\n await AppJSResolve.resolve();\n return I18nService.loadDefaultLocale();\n };\n}\n\nexport function setAngularLocale(I18nService) {\n initializeProjectDetails();\n return I18nService.deduceAppLocale();\n}\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n // Provide Angular core services\n provideRouter(routes, withHashLocation(), withComponentInputBinding()),\n provideHttpClient(\n withInterceptorsFromDi(),\n withXsrfConfiguration({\n cookieName: \"wm_xsrf_token\",\n headerName: xsrfHeaderName\n })\n ),\n provideAnimations(),\n // Provide application-specific services\n {\n provide: APP_INITIALIZER,\n useFactory: InitializeApp,\n deps: [AbstractI18nService, AppJSResolve],\n multi: true\n },\n {\n provide: LOCALE_ID,\n useFactory: setAngularLocale,\n deps: [AbstractI18nService]\n },\n {\n provide: HTTP_INTERCEPTORS,\n useClass: HttpCallInterceptor,\n multi: true\n },\n { provide: App, useClass: AppRef },\n { provide: AbstractToasterService, useClass: ToasterServiceImpl },\n { provide: AbstractI18nService, useClass: I18nServiceImpl },\n { provide: AbstractSpinnerService, useClass: SpinnerServiceImpl },\n { provide: AbstractNavigationService, useClass: NavigationServiceImpl },\n { provide: AbstractDialogService, useClass: DialogServiceImpl },\n { provide: AppDefaults, useClass: AppDefaultsService },\n { provide: DynamicComponentRefProvider, useClass: DynamicComponentRefProviderService },\n { provide: AppJSProvider, useClass: AppJSProviderService },\n { provide: AppVariablesProvider, useClass: AppVariablesProviderService },\n { provide: AppExtensionProvider, useClass: AppExtensionProviderService },\n { provide: ComponentRefProvider, useClass: ComponentRefProviderService },\n { provide: PartialRefProvider, useClass: ComponentRefProviderService },\n { provide: CustomWidgetRefProvider, useClass: ComponentRefProviderService },\n { provide: CustomwidgetConfigProvider, useClass: CustomwidgetConfigProviderService },\n { provide: PrefabConfigProvider, useClass: PrefabConfigProviderService },\n { provide: RouteReuseStrategy, useClass: WmRouteReuseStrategy },\n { provide: AbstractHttpService, useClass: HttpServiceImpl },\n AppResourceManagerService,\n PipeService,\n DecimalPipe,\n SanitizePipe,\n ToDatePipe,\n FilterPipe,\n TrailingZeroDecimalPipe,\n TrustAsPipe,\n ImagePipe,\n CustomPipe,\n Location,\n DatePipe,\n AppManagerService,\n PrefabManagerService,\n AuthGuard,\n RoleGuard,\n PageNotFoundGuard,\n CanDeactivatePageGuard,\n AppJSResolve,\n AppExtensionJSResolve,\n I18nResolve,\n SecurityService,\n OAuthService,\n VariablesService,\n MetadataService,\n ...wmModules,\n PageDirective\n ]\n};\n","import { ApplicationRef, enableProdMode } from '@angular/core';\n\nimport { isEmpty } from \"lodash-es\";\nimport { bootstrapApplication } from '@angular/platform-browser';\nimport { AppComponent } from '@wm/runtime/base';\nimport { appConfig } from './app/app.config';\n\nconst DEBUG_MODE = 'debugMode';\n\nif (sessionStorage.getItem(DEBUG_MODE) !== 'true') {\n enableProdMode();\n}\n\nconsole.time('bootstrap');\n\n\ndocument.addEventListener('DOMContentLoaded', () => {\n new Promise<Event | void>(resolve => {\n resolve();\n }).then(() => bootstrapApplication(AppComponent, appConfig))\n .then((appRef: ApplicationRef) => { \n window.addEventListener('unload', () => {\n appRef.components.map(c => c?.destroy());\n });\n })\n .catch(err => console.error('Error bootstrapping app:', err));\n});\n\n(window as any).debugMode = function (on) {\n if (isEmpty(on)) {\n on = true;\n }\n const value = on ? 'true' : 'false';\n if (sessionStorage.getItem(DEBUG_MODE) !== value) {\n sessionStorage.setItem(DEBUG_MODE, value);\n window.location.reload();\n }\n};\n\nexport default () => { };\n","import { Injector, ModuleWithProviders, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { CommonModule } from '@angular/common';\nimport { RouteReuseStrategy, RouterModule } from '@angular/router';\nimport { HttpClientModule, HttpClientXsrfModule } from '@angular/common/http';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { TypeaheadModule } from 'ngx-bootstrap/typeahead';\nimport { TimepickerModule as ngxTimepickerModule } from 'ngx-bootstrap/timepicker';\nimport { ProgressbarModule } from 'ngx-bootstrap/progressbar';\nimport { PaginationModule as ngxPaginationModule } from 'ngx-bootstrap/pagination';\nimport { ModalModule } from 'ngx-bootstrap/modal';\nimport { TooltipModule } from 'ngx-bootstrap/tooltip';\nimport { BsDatepickerModule } from 'ngx-bootstrap/datepicker';\nimport { BsDropdownModule } from 'ngx-bootstrap/dropdown';\nimport { PopoverModule as ngxPopoverModule } from 'ngx-bootstrap/popover';\n\nimport { NgCircleProgressModule } from 'ng-circle-progress';\nimport { ToastNoAnimationModule } from 'ngx-toastr';\nimport { CarouselModule as ngxCarouselModule, } from 'ngx-bootstrap/carousel';\n\nimport { App, getWmProjectProperties, PartialRefProvider, CustomWidgetRefProvider, AbstractHttpService } from '@wm/core';\n// Basic widgets\n\nimport {\n AnchorComponent,\n AudioComponent,\n HtmlDirective,\n IconComponent,\n IframeComponent,\n LabelDirective,\n PictureDirective,\n SpinnerComponent,\n VideoComponent\n} from '@wm/components/basic';\nimport { ProgressBarComponent, ProgressCircleComponent } from '@wm/components/basic/progress';\nimport { RichTextEditorComponent } from '@wm/components/basic/rich-text-editor';\nimport { SearchComponent, ScrollableDirective } from '@wm/components/basic/search';\nimport { TreeComponent } from '@wm/components/basic/tree';\n\n// input\nimport {\n ButtonComponent,\n ButtonGroupDirective,\n CaptionPositionDirective,\n CheckboxComponent,\n CheckboxsetComponent,\n CompositeDirective,\n NumberComponent,\n RadiosetComponent,\n SelectComponent,\n SwitchComponent,\n InputCalendarComponent,\n InputColorComponent,\n InputEmailComponent,\n InputNumberComponent,\n InputTextComponent,\n TextareaComponent\n} from '@wm/components/input';\nimport { CalendarComponent } from '@wm/components/input/calendar';\nimport { ChipsComponent } from '@wm/components/input/chips';\nimport { ColorPickerComponent } from '@wm/components/input/color-picker';\nimport { CurrencyComponent } from '@wm/components/input/currency';\nimport {\n DateComponent,\n DatetimeComponent,\n TimeComponent,\n DateTimePickerComponent,\n TimePickerComponent,\n PickerComponent,\n PickerGroupComponent\n} from '@wm/components/input/epoch';\nimport { FileUploadComponent } from '@wm/components/input/file-upload';\nimport { RatingComponent } from '@wm/components/input/rating';\nimport { SliderComponent } from '@wm/components/input/slider';\n// Data\nimport {\n CardComponent,\n CardActionsDirective,\n CardContentComponent,\n CardFooterDirective\n} from '@wm/components/data/card';\nimport {\n FormComponent,\n FormWidgetDirective,\n FormActionDirective,\n FormFieldDirective,\n LiveActionsDirective,\n DependsonDirective,\n LiveFilterDirective,\n LiveFormDirective\n} from '@wm/components/data/form';\nimport { ListComponent, ListItemDirective } from '@wm/components/data/list';\nimport { LiveTableComponent } from '@wm/components/data/live-table';\nimport { PaginationComponent } from '@wm/components/data/pagination';\nimport {\n TableComponent,\n TableCUDDirective,\n TableFilterSortDirective,\n TableActionDirective,\n TableColumnDirective,\n TableColumnGroupDirective,\n TableRowDirective,\n TableRowActionDirective\n} from '@wm/components/data/table';\n\n// Chart\nimport { ChartComponent } from '@wm/components/chart';\n\n// Containers\nimport { AccordionPaneComponent, AccordionDirective } from '@wm/components/containers/accordion';\nimport { LinearLayoutDirective, LinearLayoutItemDirective } from '@wm/components/containers/linear-layout';\nimport { LayoutgridDirective, LayoutGridRowDirective, LayoutGridColumnDirective } from '@wm/components/containers/layout-grid';\nimport { PanelComponent } from '@wm/components/containers/panel';\nimport { TabPaneComponent, TabsComponent } from '@wm/components/containers/tabs';\nimport { TileDirective } from '@wm/components/containers/tile';\nimport { WizardActionDirective, WizardStepComponent, WizardComponent } from '@wm/components/containers/wizard';\n\n// Dialogs\nimport { AlertDialogComponent } from '@wm/components/dialogs/alert-dialog';\nimport { IframeDialogComponent } from '@wm/components/dialogs/iframe-dialog';\nimport { LoginDialogDirective } from '@wm/components/dialogs/login-dialog';\nimport { PartialDialogComponent } from '@wm/components/dialogs/partial-dialog';\n\n// Navigation\nimport { BreadcrumbComponent } from '@wm/components/navigation/breadcrumb';\nimport { MenuComponent, MenuDropdownComponent, MenuDropdownItemComponent, NavigationControlDirective, NavComponent, NavItemDirective } from '@wm/components/navigation/menu';\nimport { NavbarComponent } from '@wm/components/navigation/navbar';\nimport { PopoverComponent } from '@wm/components/navigation/popover';\n\n// Advanced\nimport { CarouselDirective, CarouselTemplateDirective } from '@wm/components/advanced/carousel';\nimport { LoginComponent } from '@wm/components/advanced/login';\nimport { MarqueeDirective } from '@wm/components/advanced/marquee';\nimport { CustomWidgetDirective, CustomWidgetContainerDirective } from '@wm/components/advanced/custom';\n\nimport {\n PageDirective,\n LayoutDirective,\n ContentComponent,\n PageContentComponent,\n SpaPageDirective,\n RouterOutletDirective\n} from '@wm/components/page';\nimport { FooterDirective } from '@wm/components/page/footer';\nimport { HeaderComponent } from '@wm/components/page/header';\nimport { LeftPanelDirective } from '@wm/components/page/left-panel';\nimport { RightPanelDirective } from '@wm/components/page/right-panel';\nimport { TopNavDirective } from '@wm/components/page/top-nav';\n\nimport { PrefabDirective, PrefabContainerDirective } from '@wm/components/prefab';\n\nimport {\n AppComponent,\n AppJSProvider,\n AppVariablesProvider,\n ComponentRefProvider,\n PrefabConfigProvider,\n WmRouteReuseStrategy,\n WM_MODULES_FOR_ROOT,\n CustomwidgetConfigProvider,\n REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS,\n AppExtensionProvider\n} from '@wm/runtime/base';\n\nimport { routes } from './app.routes';\nimport { PageWrapperComponent } from './components/page-wrapper.component';\nimport { AppJSProviderService } from './services/app-js-provider.service';\nimport { AppVariablesProviderService } from './services/app-variables-provider.service';\nimport { AppExtensionProviderService } from './services/app-extension.service';\nimport { ComponentRefProviderService } from './services/component-ref-provider.service';\nimport { CustomwidgetConfigProviderService } from './services/customwidget-config-provider.service';\nimport { PrefabConfigProviderService } from './services/prefab-config-provider.service';\nimport { AppResourceManagerService } from './services/app-resource-manager.service';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { HttpServiceImpl } from '@wm/http';\n\nexport const routerModule = RouterModule.forRoot(routes, { useHash: true, scrollPositionRestoration: 'top' });\nexport const toastrModule = ToastNoAnimationModule.forRoot({ maxOpened: 1, autoDismiss: true });\n\n// In angular 15, xsrf headerName should not be null. Angular 15 is not using default header value like it used to send in calls\n// for angular 12 if the headerName is null . The user has to take care of not sending null values. Then ng 15 uses default value for headerName\nconst xsrfHeaderName = getWmProjectProperties().xsrf_header_name;\nconst xsrfOptions = {\n cookieName: 'wm_xsrf_token'\n}\nif (xsrfHeaderName) {\n xsrfOptions['headerName'] = xsrfHeaderName;\n}\nexport const httpClientXsrfModule = HttpClientXsrfModule.withOptions(xsrfOptions);\n\nexport const modalModule: ModuleWithProviders<ModalModule> = ModalModule.forRoot();\nexport const bsDatePickerModule: ModuleWithProviders<BsDatepickerModule> = BsDatepickerModule.forRoot();\nexport const timepickerModule: ModuleWithProviders<ngxTimepickerModule> = ngxTimepickerModule.forRoot();\nexport const bsDropdownModule: ModuleWithProviders<BsDropdownModule> = BsDropdownModule.forRoot();\nexport const paginationModule: ModuleWithProviders<ngxPaginationModule> = ngxPaginationModule.forRoot();\nexport const typeaheadModule: ModuleWithProviders<TypeaheadModule> = TypeaheadModule.forRoot();\nexport const progressbarModule: ModuleWithProviders<ProgressbarModule> = ProgressbarModule.forRoot();\nexport const carouselModule: ModuleWithProviders<ngxCarouselModule> = ngxCarouselModule.forRoot();\nexport const popoverModule: ModuleWithProviders<ngxPopoverModule> = ngxPopoverModule.forRoot();\nexport const ngCircleProgressModule: ModuleWithProviders<NgCircleProgressModule> = NgCircleProgressModule.forRoot({});\nexport const tooltipModule: ModuleWithProviders<TooltipModule> = TooltipModule.forRoot();\n\nconst componentsModule = [\n // NGX Bootstrap\n BsDatepickerModule,\n ngxTimepickerModule,\n BsDropdownModule,\n ngxPaginationModule,\n TypeaheadModule,\n ProgressbarModule,\n ngxCarouselModule,\n ngxPopoverModule,\n NgCircleProgressModule,\n TooltipModule,\n\n // Basic widgets\n AnchorComponent,\n AudioComponent,\n HtmlDirective,\n IconComponent,\n IframeComponent,\n LabelDirective,\n PictureDirective,\n SpinnerComponent,\n VideoComponent,\n ProgressBarComponent, ProgressCircleComponent,\n RichTextEditorComponent,\n SearchComponent, ScrollableDirective,\n TreeComponent,\n\n // Input\n CalendarComponent,\n ChipsComponent,\n ColorPickerComponent,\n CurrencyComponent,\n DateComponent,\n DatetimeComponent,\n TimeComponent,\n DateTimePickerComponent,\n TimePickerComponent,\n PickerComponent,\n PickerGroupComponent,\n FileUploadComponent,\n ButtonComponent,\n ButtonGroupDirective,\n CaptionPositionDirective,\n CheckboxComponent,\n CheckboxsetComponent,\n CompositeDirective,\n NumberComponent,\n RadiosetComponent,\n SelectComponent,\n SwitchComponent,\n InputCalendarComponent,\n InputColorComponent,\n InputEmailComponent,\n InputNumberComponent,\n InputTextComponent,\n TextareaComponent,\n RatingComponent,\n SliderComponent,\n\n // Data\n CardComponent,\n CardActionsDirective,\n CardContentComponent,\n CardFooterDirective,\n FormComponent,\n FormWidgetDirective,\n FormActionDirective,\n FormFieldDirective,\n LiveActionsDirective,\n DependsonDirective,\n LiveFilterDirective,\n LiveFormDirective,\n ListComponent, ListItemDirective,\n LiveTableComponent,\n PaginationComponent,\n TableComponent,\n TableCUDDirective,\n TableFilterSortDirective,\n TableActionDirective,\n TableColumnDirective,\n TableColumnGroupDirective,\n TableRowDirective,\n TableRowActionDirective,\n\n // chart\n ChartComponent,\n\n // container modules\n AccordionPaneComponent, AccordionDirective,\n LinearLayoutDirective, LinearLayoutItemDirective,\n LayoutgridDirective, LayoutGridRowDirective, LayoutGridColumnDirective,\n PanelComponent,\n TabPaneComponent, TabsComponent,\n TileDirective,\n WizardActionDirective, WizardStepComponent, WizardComponent,\n\n // dialogs\n AlertDialogComponent,\n IframeDialogComponent,\n LoginDialogDirective,\n PartialDialogComponent,\n\n // navigation\n BreadcrumbComponent,\n MenuComponent, MenuDropdownComponent, MenuDropdownItemComponent, NavigationControlDirective, NavComponent, NavItemDirective,\n NavbarComponent,\n PopoverComponent,\n\n // Advanced\n CarouselDirective, CarouselTemplateDirective,\n LoginComponent,\n MarqueeDirective,\n CustomWidgetDirective, CustomWidgetContainerDirective,\n\n PageDirective,\n LayoutDirective,\n ContentComponent,\n PageContentComponent,\n SpaPageDirective,\n RouterOutletDirective,\n FooterDirective,\n HeaderComponent,\n LeftPanelDirective,\n RightPanelDirective,\n TopNavDirective,\n\n PrefabDirective, PrefabContainerDirective\n];\n\nREQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS.push(...componentsModule as any);\nREQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS.push(FormsModule as any, ReactiveFormsModule as any);\n\n@NgModule({\n declarations: [\n PageWrapperComponent\n ],\n imports: [\n BrowserModule,\n BrowserAnimationsModule,\n CommonModule,\n RouterModule,\n HttpClientModule,\n\n modalModule,\n bsDatePickerModule,\n timepickerModule,\n bsDropdownModule,\n paginationModule,\n typeaheadModule,\n tooltipModule,\n progressbarModule,\n carouselModule,\n popoverModule,\n ngCircleProgressModule,\n\n routerModule,\n toastrModule,\n httpClientXsrfModule,\n WM_MODULES_FOR_ROOT\n ],\n providers: [\n AppResourceManagerService,\n { provide: AppJSProvider, useClass: AppJSProviderService },\n { provide: AppVariablesProvider, useClass: AppVariablesProviderService },\n { provide: AppExtensionProvider, useClass: AppExtensionProviderService },\n { provide: ComponentRefProvider, useClass: ComponentRefProviderService },\n { provide: PartialRefProvider, useClass: ComponentRefProviderService },\n { provide: CustomWidgetRefProvider, useClass: ComponentRefProviderService },\n { provide: CustomwidgetConfigProvider, useClass: CustomwidgetConfigProviderService },\n { provide: PrefabConfigProvider, useClass: PrefabConfigProviderService },\n { provide: RouteReuseStrategy, useClass: WmRouteReuseStrategy },\n { provide: AbstractHttpService, useClass: HttpServiceImpl }\n ],\n bootstrap: [AppComponent]\n})\nexport class AppModule {\n constructor(private app: App, private inj: Injector, private componentRefProvider: ComponentRefProvider) {\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["cache","i1","i1.AppResourceManagerService","i2","i3","xsrfHeaderName","ngxTimepickerModule","ngxPaginationModule","ngxCarouselModule","ngxPopoverModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2Ba,oBAAoB,CAAA;IAK7B,WACY,CAAA,QAAkB,EAClB,KAAqB,EACrB,KAAuB,EACvB,MAAsB,EACtB,eAAgC,EAChC,eAAgC,EAChC,UAA6B,EAC7B,GAAQ,EACR,MAAc,EACd,KAAiB,EACjB,cAAsC,EACtC,oBAA0C,EAC1C,MAAc,EAAA;QAZd,IAAQ,CAAA,QAAA,GAAR,QAAQ;QACR,IAAK,CAAA,KAAA,GAAL,KAAK;QACL,IAAK,CAAA,KAAA,GAAL,KAAK;QACL,IAAM,CAAA,MAAA,GAAN,MAAM;QACN,IAAe,CAAA,eAAA,GAAf,eAAe;QACf,IAAe,CAAA,eAAA,GAAf,eAAe;QACf,IAAU,CAAA,UAAA,GAAV,UAAU;QACV,IAAG,CAAA,GAAA,GAAH,GAAG;QACH,IAAM,CAAA,MAAA,GAAN,MAAM;QACN,IAAK,CAAA,KAAA,GAAL,KAAK;QACL,IAAc,CAAA,cAAA,GAAd,cAAc;QACd,IAAoB,CAAA,oBAAA,GAApB,oBAAoB;QACpB,IAAM,CAAA,MAAA,GAAN,MAAM;;IAGlB,aAAa,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa;;IAGnC,kBAAkB,GAAA;AACd,QAAA,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE;AAClB,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,EAAE;AACpC,QAAA,OAAO,CAAC,SAAS,GAAG,EAAE;;AAG1B,IAAA,UAAU,CAAC,QAAQ,EAAA;AACf,QAAA,MAAM,OAAO,GAAG,IAAI,C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typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@wavemaker/variables'), require('@wm/core'), require('lodash-es'), require('moment'), require('angular2-websocket/angular2-websocket'), require('@metrichor/jmespath'), require('@angular/core'), require('@angular/router'), require('@wm/oAuth'), require('@wm/security')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports', '@wavemaker/variables', '@wm/core', 'lodash-es', 'moment', 'angular2-websocket/angular2-websocket', '@metrichor/jmespath', '@angular/core', '@angular/router', '@wm/oAuth', '@wm/security'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.variables = {}), global.wm_common_variables, global.wm.core, global._, global.
|
|
5
|
-
})(this, (function (exports, variables, i1, lodashEs,
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.variables = {}), global.wm_common_variables, global.wm.core, global._, global.momentLib, global.angularWebSocket, global.jmespath, global.ng.core, global.ng.router, global.wm.oAuth, global.wm.security));
|
|
5
|
+
})(this, (function (exports, variables, i1, lodashEs, momentLib, angular2Websocket, jmespath, i0, i3, i4, i5) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
|
|
25
|
+
var momentLib__namespace = /*#__PURE__*/_interopNamespaceDefault(momentLib);
|
|
25
26
|
var i0__namespace = /*#__PURE__*/_interopNamespaceDefault(i0);
|
|
26
27
|
var i3__namespace = /*#__PURE__*/_interopNamespaceDefault(i3);
|
|
27
28
|
var i4__namespace = /*#__PURE__*/_interopNamespaceDefault(i4);
|
|
@@ -349,6 +350,8 @@
|
|
|
349
350
|
}
|
|
350
351
|
};
|
|
351
352
|
const $rootScope = variables.$rootScope;
|
|
353
|
+
|
|
354
|
+
const moment = momentLib__namespace.default || window['moment'];
|
|
352
355
|
exports.appManager = void 0;
|
|
353
356
|
exports.httpService = void 0;
|
|
354
357
|
exports.metadataService = void 0;
|