@wavemaker-ai/app-ng-runtime 12.1.1-rc.352 → 12.1.2-rc.353

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.
Files changed (46) hide show
  1. package/build-task/bundles/index.umd.js +153 -139
  2. package/build-task/fesm2022/index.mjs +154 -141
  3. package/build-task/fesm2022/index.mjs.map +1 -1
  4. package/build-task/types/index-rolldown-runtime-C25Le4-w.d.ts +1 -0
  5. package/build-task/types/index.d.ts +41 -37
  6. package/components/base/bundles/index.umd.js +16 -9
  7. package/components/base/fesm2022/index.mjs +18 -11
  8. package/components/base/fesm2022/index.mjs.map +1 -1
  9. package/components/basic/audio/bundles/index.umd.js +2 -8
  10. package/components/basic/audio/fesm2022/index.mjs +3 -9
  11. package/components/basic/audio/fesm2022/index.mjs.map +1 -1
  12. package/components/containers/wizard/bundles/index.umd.js +101 -65
  13. package/components/containers/wizard/fesm2022/index.mjs +99 -62
  14. package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
  15. package/components/containers/wizard/types/index.d.ts +79 -5
  16. package/components/containers/wizardstepper/bundles/index.umd.js +237 -0
  17. package/components/containers/wizardstepper/fesm2022/index.mjs +215 -0
  18. package/components/containers/wizardstepper/fesm2022/index.mjs.map +1 -0
  19. package/components/containers/wizardstepper/package.json +19 -0
  20. package/components/containers/wizardstepper/types/index.d.ts +71 -0
  21. package/components/data/list/bundles/index.umd.js +4 -0
  22. package/components/data/list/fesm2022/index.mjs +4 -0
  23. package/components/data/list/fesm2022/index.mjs.map +1 -1
  24. package/components/data/list/types/index.d.ts +1 -0
  25. package/components/data/pagination/bundles/index.umd.js +26 -8
  26. package/components/data/pagination/fesm2022/index.mjs +24 -5
  27. package/components/data/pagination/fesm2022/index.mjs.map +1 -1
  28. package/components/data/pagination/types/index.d.ts +5 -3
  29. package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  30. package/core/bundles/index.umd.js +20 -14
  31. package/core/fesm2022/index.mjs +23 -17
  32. package/core/fesm2022/index.mjs.map +1 -1
  33. package/core/types/index.d.ts +1 -0
  34. package/npm-shrinkwrap.json +2 -2
  35. package/package-lock.json +2 -2
  36. package/package.json +1 -1
  37. package/runtime/base/bundles/index.umd.js +20 -15
  38. package/runtime/base/fesm2022/index.mjs +52 -46
  39. package/runtime/base/fesm2022/index.mjs.map +1 -1
  40. package/runtime/base/types/index.d.ts +23 -21
  41. package/runtime/dynamic/bundles/index.umd.js +6 -1
  42. package/runtime/dynamic/fesm2022/index.mjs +6 -1
  43. package/runtime/dynamic/fesm2022/index.mjs.map +1 -1
  44. package/variables/bundles/index.umd.js +13 -13
  45. package/variables/fesm2022/index.mjs +18 -18
  46. package/variables/fesm2022/index.mjs.map +1 -1
@@ -8,9 +8,9 @@ import { AbstractDialogService, AbstractHttpService, AbstractI18nService, Abstra
8
8
  import { SecurityService } from "@wm/security";
9
9
  import { MetadataService, VariablesService } from "@wm/variables";
10
10
  import { Observable, Subject } from "rxjs";
11
- import * as i91 from "@wm/components/page";
11
+ import * as i92 from "@wm/components/page";
12
12
  import { ContentComponent, LayoutDirective, PageContentComponent, PageDirective, RouterOutletDirective, SpaPageDirective } from "@wm/components/page";
13
- import * as i97 from "@wm/components/prefab";
13
+ import * as i98 from "@wm/components/prefab";
14
14
  import { PrefabContainerDirective, PrefabDirective as PrefabDirective$1 } from "@wm/components/prefab";
15
15
  import { CssVarNamespacer, DomSanitizer, EventManager, ɵSharedStylesHost } from "@angular/platform-browser";
16
16
  import * as i15 from "@wm/components/dialogs";
@@ -19,9 +19,9 @@ import * as i13 from "@wm/components/dialogs/confirm-dialog";
19
19
  import { ConfirmDialogComponent } from "@wm/components/dialogs/confirm-dialog";
20
20
  import * as i14 from "@wm/components/dialogs/design-dialog";
21
21
  import { DialogComponent } from "@wm/components/dialogs/design-dialog";
22
- import * as i94 from "@wm/components/page/left-panel";
22
+ import * as i95 from "@wm/components/page/left-panel";
23
23
  import { LeftPanelDirective } from "@wm/components/page/left-panel";
24
- import * as i95 from "@wm/components/page/right-panel";
24
+ import * as i96 from "@wm/components/page/right-panel";
25
25
  import { RightPanelDirective } from "@wm/components/page/right-panel";
26
26
  import * as i27 from "@wm/components/basic/anchor";
27
27
  import { AnchorComponent } from "@wm/components/basic/anchor";
@@ -91,23 +91,25 @@ import * as i76 from "@wm/components/containers/tabs";
91
91
  import { TabPaneComponent, TabsComponent } from "@wm/components/containers/tabs";
92
92
  import * as i78 from "@wm/components/containers/wizard";
93
93
  import { WizardComponent, WizardStepComponent } from "@wm/components/containers/wizard";
94
- import * as i79 from "@wm/components/dialogs/alert-dialog";
94
+ import * as i79 from "@wm/components/containers/wizardstepper";
95
+ import { WizardStepperComponent } from "@wm/components/containers/wizardstepper";
96
+ import * as i80 from "@wm/components/dialogs/alert-dialog";
95
97
  import { AlertDialogComponent } from "@wm/components/dialogs/alert-dialog";
96
- import * as i80 from "@wm/components/dialogs/iframe-dialog";
98
+ import * as i81 from "@wm/components/dialogs/iframe-dialog";
97
99
  import { IframeDialogComponent } from "@wm/components/dialogs/iframe-dialog";
98
- import * as i81 from "@wm/components/dialogs/login-dialog";
100
+ import * as i82 from "@wm/components/dialogs/login-dialog";
99
101
  import { LoginDialogDirective } from "@wm/components/dialogs/login-dialog";
100
- import * as i82 from "@wm/components/dialogs/partial-dialog";
102
+ import * as i83 from "@wm/components/dialogs/partial-dialog";
101
103
  import { PartialDialogComponent } from "@wm/components/dialogs/partial-dialog";
102
- import * as i83 from "@wm/components/navigation/breadcrumb";
104
+ import * as i84 from "@wm/components/navigation/breadcrumb";
103
105
  import { BreadcrumbComponent } from "@wm/components/navigation/breadcrumb";
104
- import * as i84 from "@wm/components/navigation/menu";
106
+ import * as i85 from "@wm/components/navigation/menu";
105
107
  import { MenuComponent, MenuDropdownComponent, MenuDropdownItemComponent, NavComponent, NavigationControlDirective } from "@wm/components/navigation/menu";
106
- import * as i86 from "@wm/components/navigation/popover";
108
+ import * as i87 from "@wm/components/navigation/popover";
107
109
  import { PopoverComponent } from "@wm/components/navigation/popover";
108
- import * as i87 from "@wm/components/advanced/carousel";
110
+ import * as i88 from "@wm/components/advanced/carousel";
109
111
  import { CarouselDirective } from "@wm/components/advanced/carousel";
110
- import * as i90 from "@wm/components/advanced/custom";
112
+ import * as i91 from "@wm/components/advanced/custom";
111
113
  import { CustomWidgetContainerDirective } from "@wm/components/advanced/custom";
112
114
  import * as i17 from "ngx-bootstrap/datepicker";
113
115
  import { BsDatepickerModule, BsLocaleService } from "ngx-bootstrap/datepicker";
@@ -146,12 +148,12 @@ import * as i63 from "@wm/components/input/rating";
146
148
  import * as i73 from "@wm/components/containers/linear-layout";
147
149
  import * as i75 from "@wm/components/containers/panel";
148
150
  import * as i77 from "@wm/components/containers/tile";
149
- import * as i85 from "@wm/components/navigation/navbar";
150
- import * as i88 from "@wm/components/advanced/login";
151
- import * as i89 from "@wm/components/advanced/marquee";
152
- import * as i92 from "@wm/components/page/footer";
153
- import * as i93 from "@wm/components/page/header";
154
- import * as i96 from "@wm/components/page/top-nav";
151
+ import * as i86 from "@wm/components/navigation/navbar";
152
+ import * as i89 from "@wm/components/advanced/login";
153
+ import * as i90 from "@wm/components/advanced/marquee";
154
+ import * as i93 from "@wm/components/page/footer";
155
+ import * as i94 from "@wm/components/page/header";
156
+ import * as i97 from "@wm/components/page/top-nav";
155
157
  export declare enum ComponentType {
156
158
  PAGE = 0,
157
159
  PREFAB = 1,
@@ -954,14 +956,14 @@ declare function getSettingProvider(key: string, defaultValue: unknown): {
954
956
  };
955
957
  export declare function InitializeApp(I18nService: any, AppJSResolve: any): () => Promise<any>;
956
958
  export declare function setAngularLocale(I18nService: any): any;
957
- export declare const REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS: (typeof ConfirmDialogComponent | typeof DialogComponent | typeof DialogBodyDirective | typeof DialogFooterDirective | typeof DialogHeaderComponent | typeof ContainerDirective | typeof ItemTemplateDirective | typeof LazyLoadDirective | typeof PartialDirective | typeof PartialParamHandlerDirective | typeof PartialParamDirective | typeof PartialContainerDirective | typeof CustomWidgetContainerDirective$1 | typeof RedrawableDirective | typeof ShowInDeviceDirective | typeof TextContentDirective | typeof ToDatePipe | typeof FilterPipe | typeof FileSizePipe | typeof ToNumberPipe | typeof ToCurrencyPipe | typeof TrailingZeroDecimalPipe | typeof TrustAsPipe | typeof ImagePipe | typeof CustomPipe | typeof SanitizePipe | typeof BsDatepickerModule | typeof AnchorComponent | typeof HtmlDirective | typeof IframeComponent | typeof PictureDirective | typeof SpinnerComponent | typeof VideoComponent | typeof ProgressBarComponent | typeof RichTextEditorComponent | typeof SearchComponent | typeof ScrollableDirective | typeof TreeComponent | typeof CalendarComponent | typeof ChipsComponent | typeof CurrencyComponent | typeof DateComponent | typeof DatetimeComponent | typeof TimeComponent | typeof DateTimePickerComponent | typeof TimePickerComponent | typeof PickerComponent | typeof PickerGroupComponent | typeof FileUploadComponent | typeof CaptionPositionDirective | typeof CheckboxComponent | typeof NumberComponent | typeof SliderComponent | typeof CardComponent | typeof FormComponent | typeof FormWidgetDirective | typeof FormActionDirective | typeof FormFieldDirective | typeof LiveActionsDirective | typeof DependsonDirective | typeof LiveFilterDirective | typeof LiveFormDirective | typeof ListComponent | typeof ListItemDirective | typeof LiveTableComponent | typeof PaginationComponent | typeof TableComponent | typeof TableCUDDirective | typeof TableFilterSortDirective | typeof TableActionDirective | typeof TableColumnDirective | typeof TableColumnGroupDirective | typeof TableRowDirective | typeof TableRowActionDirective | typeof ChartComponent | typeof AccordionPaneComponent | typeof AccordionDirective | typeof LayoutGridColumnDirective | typeof TabPaneComponent | typeof TabsComponent | typeof WizardStepComponent | typeof WizardComponent | typeof AlertDialogComponent | typeof IframeDialogComponent | typeof LoginDialogDirective | typeof PartialDialogComponent | typeof BreadcrumbComponent | typeof MenuComponent | typeof MenuDropdownComponent | typeof MenuDropdownItemComponent | typeof NavigationControlDirective | typeof NavComponent | typeof PopoverComponent | typeof CarouselDirective | typeof CustomWidgetContainerDirective | typeof PageDirective | typeof ContentComponent | typeof PageContentComponent | typeof SpaPageDirective | typeof RouterOutletDirective | typeof LeftPanelDirective | typeof RightPanelDirective | typeof PrefabDirective$1 | typeof PrefabContainerDirective)[];
959
+ export declare const REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS: (typeof ConfirmDialogComponent | typeof DialogComponent | typeof DialogBodyDirective | typeof DialogFooterDirective | typeof DialogHeaderComponent | typeof ContainerDirective | typeof ItemTemplateDirective | typeof LazyLoadDirective | typeof PartialDirective | typeof PartialParamHandlerDirective | typeof PartialParamDirective | typeof PartialContainerDirective | typeof CustomWidgetContainerDirective$1 | typeof RedrawableDirective | typeof ShowInDeviceDirective | typeof TextContentDirective | typeof ToDatePipe | typeof FilterPipe | typeof FileSizePipe | typeof ToNumberPipe | typeof ToCurrencyPipe | typeof TrailingZeroDecimalPipe | typeof TrustAsPipe | typeof ImagePipe | typeof CustomPipe | typeof SanitizePipe | typeof BsDatepickerModule | typeof AnchorComponent | typeof HtmlDirective | typeof IframeComponent | typeof PictureDirective | typeof SpinnerComponent | typeof VideoComponent | typeof ProgressBarComponent | typeof RichTextEditorComponent | typeof SearchComponent | typeof ScrollableDirective | typeof TreeComponent | typeof CalendarComponent | typeof ChipsComponent | typeof CurrencyComponent | typeof DateComponent | typeof DatetimeComponent | typeof TimeComponent | typeof DateTimePickerComponent | typeof TimePickerComponent | typeof PickerComponent | typeof PickerGroupComponent | typeof FileUploadComponent | typeof CaptionPositionDirective | typeof CheckboxComponent | typeof NumberComponent | typeof SliderComponent | typeof CardComponent | typeof FormComponent | typeof FormWidgetDirective | typeof FormActionDirective | typeof FormFieldDirective | typeof LiveActionsDirective | typeof DependsonDirective | typeof LiveFilterDirective | typeof LiveFormDirective | typeof ListComponent | typeof ListItemDirective | typeof LiveTableComponent | typeof PaginationComponent | typeof TableComponent | typeof TableCUDDirective | typeof TableFilterSortDirective | typeof TableActionDirective | typeof TableColumnDirective | typeof TableColumnGroupDirective | typeof TableRowDirective | typeof TableRowActionDirective | typeof ChartComponent | typeof AccordionPaneComponent | typeof AccordionDirective | typeof LayoutGridColumnDirective | typeof TabPaneComponent | typeof TabsComponent | typeof WizardStepComponent | typeof WizardComponent | typeof WizardStepperComponent | typeof AlertDialogComponent | typeof IframeDialogComponent | typeof LoginDialogDirective | typeof PartialDialogComponent | typeof BreadcrumbComponent | typeof MenuComponent | typeof MenuDropdownComponent | typeof MenuDropdownItemComponent | typeof NavigationControlDirective | typeof NavComponent | typeof PopoverComponent | typeof CarouselDirective | typeof CustomWidgetContainerDirective | typeof PageDirective | typeof ContentComponent | typeof PageContentComponent | typeof SpaPageDirective | typeof RouterOutletDirective | typeof LeftPanelDirective | typeof RightPanelDirective | typeof PrefabDirective$1 | typeof PrefabContainerDirective)[];
958
960
  export declare class RuntimeBaseModule {
959
961
  static addCustomEventPolyfill(): boolean;
960
962
  static forRoot(): ModuleWithProviders<RuntimeBaseModule>;
961
963
  constructor(app: App, viewport: Viewport);
962
964
  private getDeviceDetails;
963
965
  static ɵfac: i0.ɵɵFactoryDeclaration<RuntimeBaseModule, never>;
964
- static ɵmod: i0.ɵɵNgModuleDeclaration<RuntimeBaseModule, never, [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.HttpClientModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof AccessrolesDirective, typeof AppSpinnerComponent, typeof CustomToasterComponent, typeof AppComponent, typeof PrefabDirective, typeof PrefabPreviewComponent, typeof EmptyPageComponent, typeof i12.ToastrModule, typeof i13.ConfirmDialogComponent, typeof i14.DialogComponent, typeof i15.DialogBodyDirective, typeof i15.DialogFooterDirective, typeof i15.DialogHeaderComponent, typeof i16.ContainerDirective, typeof i16.ItemTemplateDirective, typeof i16.RepeatTemplateDirective, typeof i16.LazyLoadDirective, typeof i16.MessageComponent, typeof i16.PartialDirective, typeof i16.PartialParamHandlerDirective, typeof i16.PartialParamDirective, typeof i16.PartialContainerDirective, typeof i16.CustomWidgetContainerDirective, typeof i16.RedrawableDirective, typeof i16.ShowInDeviceDirective, typeof i16.TextContentDirective, typeof i16.ToDatePipe, typeof i16.FileIconClassPipe, typeof i16.FileExtensionFromMimePipe, typeof i16.FilterPipe, typeof i16.FileSizePipe, typeof i16.ToNumberPipe, typeof i16.ToCurrencyPipe, typeof i16.PrefixPipe, typeof i16.SuffixPipe, typeof i16.TimeFromNowPipe, typeof i16.NumberToStringPipe, typeof i16.StateClassPipe, typeof i16.StringToNumberPipe, typeof i16.TrailingZeroDecimalPipe, typeof i16.TrustAsPipe, typeof i16.ImagePipe, typeof i16.CustomPipe, typeof i16.SanitizePipe, typeof i17.BsDatepickerModule, typeof i18.TimepickerModule, typeof i19.BsDropdownModule, typeof i20.PaginationModule, typeof i21.TypeaheadModule, typeof i22.ProgressbarModule, typeof i23.CarouselModule, typeof i24.PopoverModule, typeof i25.NgCircleProgressModule, typeof i26.TooltipModule, typeof i27.AnchorComponent, typeof i28.AudioComponent, typeof i29.HtmlDirective, typeof i30.IconComponent, typeof i31.IframeComponent, typeof i32.LabelDirective, typeof i33.PictureDirective, typeof i34.SpinnerComponent, typeof i35.VideoComponent, typeof i36.ProgressBarComponent, typeof i37.ProgressCircleComponent, typeof i38.RichTextEditorComponent, typeof i39.SearchComponent, typeof i39.ScrollableDirective, typeof i40.TreeComponent, typeof i41.CalendarComponent, typeof i42.ChipsComponent, typeof i43.ColorPickerComponent, typeof i44.CurrencyComponent, typeof i45.DateComponent, typeof i46.DatetimeComponent, typeof i47.TimeComponent, typeof i48.DateTimePickerComponent, typeof i48.TimePickerComponent, typeof i49.PickerComponent, typeof i49.PickerGroupComponent, typeof i50.FileUploadComponent, typeof i51.ButtonComponent, typeof i52.ButtonGroupDirective, typeof i53.CaptionPositionDirective, typeof i54.CheckboxComponent, typeof i55.CheckboxsetComponent, typeof i56.CompositeDirective, typeof i57.NumberComponent, typeof i58.RadiosetComponent, typeof i59.SelectComponent, typeof i60.SwitchComponent, typeof i61.InputCalendarComponent, typeof i61.InputColorComponent, typeof i61.InputEmailComponent, typeof i61.InputNumberComponent, typeof i61.InputTextComponent, typeof i62.TextareaComponent, typeof i63.RatingComponent, typeof i64.SliderComponent, typeof i65.CardComponent, typeof i65.CardActionsDirective, typeof i65.CardContentComponent, typeof i65.CardFooterDirective, typeof i66.FormComponent, typeof i66.FormWidgetDirective, typeof i66.FormActionDirective, typeof i66.FormFieldDirective, typeof i66.LiveActionsDirective, typeof i66.DependsonDirective, typeof i66.LiveFilterDirective, typeof i66.LiveFormDirective, typeof i67.ListComponent, typeof i67.ListItemDirective, typeof i68.LiveTableComponent, typeof i69.PaginationComponent, typeof i70.TableComponent, typeof i70.TableCUDDirective, typeof i70.TableFilterSortDirective, typeof i70.TableActionDirective, typeof i70.TableColumnDirective, typeof i70.TableColumnGroupDirective, typeof i70.TableRowDirective, typeof i70.TableRowActionDirective, typeof i71.ChartComponent, typeof i72.AccordionPaneComponent, typeof i72.AccordionDirective, typeof i73.LinearLayoutDirective, typeof i73.LinearLayoutItemDirective, typeof i74.LayoutgridDirective, typeof i74.LayoutGridRowDirective, typeof i74.LayoutGridColumnDirective, typeof i75.PanelComponent, typeof i76.TabPaneComponent, typeof i76.TabsComponent, typeof i77.TileDirective, typeof i78.WizardActionDirective, typeof i78.WizardStepComponent, typeof i78.WizardComponent, typeof i79.AlertDialogComponent, typeof i80.IframeDialogComponent, typeof i81.LoginDialogDirective, typeof i82.PartialDialogComponent, typeof i83.BreadcrumbComponent, typeof i84.MenuComponent, typeof i84.MenuDropdownComponent, typeof i84.MenuDropdownItemComponent, typeof i84.NavigationControlDirective, typeof i84.NavComponent, typeof i84.NavItemDirective, typeof i85.NavbarComponent, typeof i86.PopoverComponent, typeof i87.CarouselDirective, typeof i87.CarouselTemplateDirective, typeof i88.LoginComponent, typeof i89.MarqueeDirective, typeof i90.CustomWidgetDirective, typeof i90.CustomWidgetContainerDirective, typeof i91.PageDirective, typeof i91.LayoutDirective, typeof i91.ContentComponent, typeof i91.PageContentComponent, typeof i91.SpaPageDirective, typeof i91.RouterOutletDirective, typeof i92.FooterDirective, typeof i93.HeaderComponent, typeof i94.LeftPanelDirective, typeof i95.RightPanelDirective, typeof i96.TopNavDirective, typeof i97.PrefabDirective, typeof i97.PrefabContainerDirective], [typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof PrefabDirective, typeof AccessrolesDirective, typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.HttpClientModule, typeof i12.ToastrModule, typeof i13.ConfirmDialogComponent, typeof i14.DialogComponent, typeof i15.DialogBodyDirective, typeof i15.DialogFooterDirective, typeof i15.DialogHeaderComponent, typeof i16.ContainerDirective, typeof i16.ItemTemplateDirective, typeof i16.RepeatTemplateDirective, typeof i16.LazyLoadDirective, typeof i16.MessageComponent, typeof i16.PartialDirective, typeof i16.PartialParamHandlerDirective, typeof i16.PartialParamDirective, typeof i16.PartialContainerDirective, typeof i16.CustomWidgetContainerDirective, typeof i16.RedrawableDirective, typeof i16.ShowInDeviceDirective, typeof i16.TextContentDirective, typeof i16.ToDatePipe, typeof i16.FileIconClassPipe, typeof i16.FileExtensionFromMimePipe, typeof i16.FilterPipe, typeof i16.FileSizePipe, typeof i16.ToNumberPipe, typeof i16.ToCurrencyPipe, typeof i16.PrefixPipe, typeof i16.SuffixPipe, typeof i16.TimeFromNowPipe, typeof i16.NumberToStringPipe, typeof i16.StateClassPipe, typeof i16.StringToNumberPipe, typeof i16.TrailingZeroDecimalPipe, typeof i16.TrustAsPipe, typeof i16.ImagePipe, typeof i16.CustomPipe, typeof i16.SanitizePipe, typeof i17.BsDatepickerModule, typeof i18.TimepickerModule, typeof i19.BsDropdownModule, typeof i20.PaginationModule, typeof i21.TypeaheadModule, typeof i22.ProgressbarModule, typeof i23.CarouselModule, typeof i24.PopoverModule, typeof i25.NgCircleProgressModule, typeof i26.TooltipModule, typeof i27.AnchorComponent, typeof i28.AudioComponent, typeof i29.HtmlDirective, typeof i30.IconComponent, typeof i31.IframeComponent, typeof i32.LabelDirective, typeof i33.PictureDirective, typeof i34.SpinnerComponent, typeof i35.VideoComponent, typeof i36.ProgressBarComponent, typeof i37.ProgressCircleComponent, typeof i38.RichTextEditorComponent, typeof i39.SearchComponent, typeof i39.ScrollableDirective, typeof i40.TreeComponent, typeof i41.CalendarComponent, typeof i42.ChipsComponent, typeof i43.ColorPickerComponent, typeof i44.CurrencyComponent, typeof i45.DateComponent, typeof i46.DatetimeComponent, typeof i47.TimeComponent, typeof i48.DateTimePickerComponent, typeof i48.TimePickerComponent, typeof i49.PickerComponent, typeof i49.PickerGroupComponent, typeof i50.FileUploadComponent, typeof i51.ButtonComponent, typeof i52.ButtonGroupDirective, typeof i53.CaptionPositionDirective, typeof i54.CheckboxComponent, typeof i55.CheckboxsetComponent, typeof i56.CompositeDirective, typeof i57.NumberComponent, typeof i58.RadiosetComponent, typeof i59.SelectComponent, typeof i60.SwitchComponent, typeof i61.InputCalendarComponent, typeof i61.InputColorComponent, typeof i61.InputEmailComponent, typeof i61.InputNumberComponent, typeof i61.InputTextComponent, typeof i62.TextareaComponent, typeof i63.RatingComponent, typeof i64.SliderComponent, typeof i65.CardComponent, typeof i65.CardActionsDirective, typeof i65.CardContentComponent, typeof i65.CardFooterDirective, typeof i66.FormComponent, typeof i66.FormWidgetDirective, typeof i66.FormActionDirective, typeof i66.FormFieldDirective, typeof i66.LiveActionsDirective, typeof i66.DependsonDirective, typeof i66.LiveFilterDirective, typeof i66.LiveFormDirective, typeof i67.ListComponent, typeof i67.ListItemDirective, typeof i68.LiveTableComponent, typeof i69.PaginationComponent, typeof i70.TableComponent, typeof i70.TableCUDDirective, typeof i70.TableFilterSortDirective, typeof i70.TableActionDirective, typeof i70.TableColumnDirective, typeof i70.TableColumnGroupDirective, typeof i70.TableRowDirective, typeof i70.TableRowActionDirective, typeof i71.ChartComponent, typeof i72.AccordionPaneComponent, typeof i72.AccordionDirective, typeof i73.LinearLayoutDirective, typeof i73.LinearLayoutItemDirective, typeof i74.LayoutgridDirective, typeof i74.LayoutGridRowDirective, typeof i74.LayoutGridColumnDirective, typeof i75.PanelComponent, typeof i76.TabPaneComponent, typeof i76.TabsComponent, typeof i77.TileDirective, typeof i78.WizardActionDirective, typeof i78.WizardStepComponent, typeof i78.WizardComponent, typeof i79.AlertDialogComponent, typeof i80.IframeDialogComponent, typeof i81.LoginDialogDirective, typeof i82.PartialDialogComponent, typeof i83.BreadcrumbComponent, typeof i84.MenuComponent, typeof i84.MenuDropdownComponent, typeof i84.MenuDropdownItemComponent, typeof i84.NavigationControlDirective, typeof i84.NavComponent, typeof i84.NavItemDirective, typeof i85.NavbarComponent, typeof i86.PopoverComponent, typeof i87.CarouselDirective, typeof i87.CarouselTemplateDirective, typeof i88.LoginComponent, typeof i89.MarqueeDirective, typeof i90.CustomWidgetDirective, typeof i90.CustomWidgetContainerDirective, typeof i91.PageDirective, typeof i91.LayoutDirective, typeof i91.ContentComponent, typeof i91.PageContentComponent, typeof i91.SpaPageDirective, typeof i91.RouterOutletDirective, typeof i92.FooterDirective, typeof i93.HeaderComponent, typeof i94.LeftPanelDirective, typeof i95.RightPanelDirective, typeof i96.TopNavDirective, typeof i97.PrefabDirective, typeof i97.PrefabContainerDirective]>;
966
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RuntimeBaseModule, never, [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.HttpClientModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof AccessrolesDirective, typeof AppSpinnerComponent, typeof CustomToasterComponent, typeof AppComponent, typeof PrefabDirective, typeof PrefabPreviewComponent, typeof EmptyPageComponent, typeof i12.ToastrModule, typeof i13.ConfirmDialogComponent, typeof i14.DialogComponent, typeof i15.DialogBodyDirective, typeof i15.DialogFooterDirective, typeof i15.DialogHeaderComponent, typeof i16.ContainerDirective, typeof i16.ItemTemplateDirective, typeof i16.RepeatTemplateDirective, typeof i16.LazyLoadDirective, typeof i16.MessageComponent, typeof i16.PartialDirective, typeof i16.PartialParamHandlerDirective, typeof i16.PartialParamDirective, typeof i16.PartialContainerDirective, typeof i16.CustomWidgetContainerDirective, typeof i16.RedrawableDirective, typeof i16.ShowInDeviceDirective, typeof i16.TextContentDirective, typeof i16.ToDatePipe, typeof i16.FileIconClassPipe, typeof i16.FileExtensionFromMimePipe, typeof i16.FilterPipe, typeof i16.FileSizePipe, typeof i16.ToNumberPipe, typeof i16.ToCurrencyPipe, typeof i16.PrefixPipe, typeof i16.SuffixPipe, typeof i16.TimeFromNowPipe, typeof i16.NumberToStringPipe, typeof i16.StateClassPipe, typeof i16.StringToNumberPipe, typeof i16.TrailingZeroDecimalPipe, typeof i16.TrustAsPipe, typeof i16.ImagePipe, typeof i16.CustomPipe, typeof i16.SanitizePipe, typeof i17.BsDatepickerModule, typeof i18.TimepickerModule, typeof i19.BsDropdownModule, typeof i20.PaginationModule, typeof i21.TypeaheadModule, typeof i22.ProgressbarModule, typeof i23.CarouselModule, typeof i24.PopoverModule, typeof i25.NgCircleProgressModule, typeof i26.TooltipModule, typeof i27.AnchorComponent, typeof i28.AudioComponent, typeof i29.HtmlDirective, typeof i30.IconComponent, typeof i31.IframeComponent, typeof i32.LabelDirective, typeof i33.PictureDirective, typeof i34.SpinnerComponent, typeof i35.VideoComponent, typeof i36.ProgressBarComponent, typeof i37.ProgressCircleComponent, typeof i38.RichTextEditorComponent, typeof i39.SearchComponent, typeof i39.ScrollableDirective, typeof i40.TreeComponent, typeof i41.CalendarComponent, typeof i42.ChipsComponent, typeof i43.ColorPickerComponent, typeof i44.CurrencyComponent, typeof i45.DateComponent, typeof i46.DatetimeComponent, typeof i47.TimeComponent, typeof i48.DateTimePickerComponent, typeof i48.TimePickerComponent, typeof i49.PickerComponent, typeof i49.PickerGroupComponent, typeof i50.FileUploadComponent, typeof i51.ButtonComponent, typeof i52.ButtonGroupDirective, typeof i53.CaptionPositionDirective, typeof i54.CheckboxComponent, typeof i55.CheckboxsetComponent, typeof i56.CompositeDirective, typeof i57.NumberComponent, typeof i58.RadiosetComponent, typeof i59.SelectComponent, typeof i60.SwitchComponent, typeof i61.InputCalendarComponent, typeof i61.InputColorComponent, typeof i61.InputEmailComponent, typeof i61.InputNumberComponent, typeof i61.InputTextComponent, typeof i62.TextareaComponent, typeof i63.RatingComponent, typeof i64.SliderComponent, typeof i65.CardComponent, typeof i65.CardActionsDirective, typeof i65.CardContentComponent, typeof i65.CardFooterDirective, typeof i66.FormComponent, typeof i66.FormWidgetDirective, typeof i66.FormActionDirective, typeof i66.FormFieldDirective, typeof i66.LiveActionsDirective, typeof i66.DependsonDirective, typeof i66.LiveFilterDirective, typeof i66.LiveFormDirective, typeof i67.ListComponent, typeof i67.ListItemDirective, typeof i68.LiveTableComponent, typeof i69.PaginationComponent, typeof i70.TableComponent, typeof i70.TableCUDDirective, typeof i70.TableFilterSortDirective, typeof i70.TableActionDirective, typeof i70.TableColumnDirective, typeof i70.TableColumnGroupDirective, typeof i70.TableRowDirective, typeof i70.TableRowActionDirective, typeof i71.ChartComponent, typeof i72.AccordionPaneComponent, typeof i72.AccordionDirective, typeof i73.LinearLayoutDirective, typeof i73.LinearLayoutItemDirective, typeof i74.LayoutgridDirective, typeof i74.LayoutGridRowDirective, typeof i74.LayoutGridColumnDirective, typeof i75.PanelComponent, typeof i76.TabPaneComponent, typeof i76.TabsComponent, typeof i77.TileDirective, typeof i78.WizardActionDirective, typeof i78.WizardStepComponent, typeof i78.WizardComponent, typeof i79.WizardStepperComponent, typeof i80.AlertDialogComponent, typeof i81.IframeDialogComponent, typeof i82.LoginDialogDirective, typeof i83.PartialDialogComponent, typeof i84.BreadcrumbComponent, typeof i85.MenuComponent, typeof i85.MenuDropdownComponent, typeof i85.MenuDropdownItemComponent, typeof i85.NavigationControlDirective, typeof i85.NavComponent, typeof i85.NavItemDirective, typeof i86.NavbarComponent, typeof i87.PopoverComponent, typeof i88.CarouselDirective, typeof i88.CarouselTemplateDirective, typeof i89.LoginComponent, typeof i90.MarqueeDirective, typeof i91.CustomWidgetDirective, typeof i91.CustomWidgetContainerDirective, typeof i92.PageDirective, typeof i92.LayoutDirective, typeof i92.ContentComponent, typeof i92.PageContentComponent, typeof i92.SpaPageDirective, typeof i92.RouterOutletDirective, typeof i93.FooterDirective, typeof i94.HeaderComponent, typeof i95.LeftPanelDirective, typeof i96.RightPanelDirective, typeof i97.TopNavDirective, typeof i98.PrefabDirective, typeof i98.PrefabContainerDirective], [typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof PrefabDirective, typeof AccessrolesDirective, typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.HttpClientModule, typeof i12.ToastrModule, typeof i13.ConfirmDialogComponent, typeof i14.DialogComponent, typeof i15.DialogBodyDirective, typeof i15.DialogFooterDirective, typeof i15.DialogHeaderComponent, typeof i16.ContainerDirective, typeof i16.ItemTemplateDirective, typeof i16.RepeatTemplateDirective, typeof i16.LazyLoadDirective, typeof i16.MessageComponent, typeof i16.PartialDirective, typeof i16.PartialParamHandlerDirective, typeof i16.PartialParamDirective, typeof i16.PartialContainerDirective, typeof i16.CustomWidgetContainerDirective, typeof i16.RedrawableDirective, typeof i16.ShowInDeviceDirective, typeof i16.TextContentDirective, typeof i16.ToDatePipe, typeof i16.FileIconClassPipe, typeof i16.FileExtensionFromMimePipe, typeof i16.FilterPipe, typeof i16.FileSizePipe, typeof i16.ToNumberPipe, typeof i16.ToCurrencyPipe, typeof i16.PrefixPipe, typeof i16.SuffixPipe, typeof i16.TimeFromNowPipe, typeof i16.NumberToStringPipe, typeof i16.StateClassPipe, typeof i16.StringToNumberPipe, typeof i16.TrailingZeroDecimalPipe, typeof i16.TrustAsPipe, typeof i16.ImagePipe, typeof i16.CustomPipe, typeof i16.SanitizePipe, typeof i17.BsDatepickerModule, typeof i18.TimepickerModule, typeof i19.BsDropdownModule, typeof i20.PaginationModule, typeof i21.TypeaheadModule, typeof i22.ProgressbarModule, typeof i23.CarouselModule, typeof i24.PopoverModule, typeof i25.NgCircleProgressModule, typeof i26.TooltipModule, typeof i27.AnchorComponent, typeof i28.AudioComponent, typeof i29.HtmlDirective, typeof i30.IconComponent, typeof i31.IframeComponent, typeof i32.LabelDirective, typeof i33.PictureDirective, typeof i34.SpinnerComponent, typeof i35.VideoComponent, typeof i36.ProgressBarComponent, typeof i37.ProgressCircleComponent, typeof i38.RichTextEditorComponent, typeof i39.SearchComponent, typeof i39.ScrollableDirective, typeof i40.TreeComponent, typeof i41.CalendarComponent, typeof i42.ChipsComponent, typeof i43.ColorPickerComponent, typeof i44.CurrencyComponent, typeof i45.DateComponent, typeof i46.DatetimeComponent, typeof i47.TimeComponent, typeof i48.DateTimePickerComponent, typeof i48.TimePickerComponent, typeof i49.PickerComponent, typeof i49.PickerGroupComponent, typeof i50.FileUploadComponent, typeof i51.ButtonComponent, typeof i52.ButtonGroupDirective, typeof i53.CaptionPositionDirective, typeof i54.CheckboxComponent, typeof i55.CheckboxsetComponent, typeof i56.CompositeDirective, typeof i57.NumberComponent, typeof i58.RadiosetComponent, typeof i59.SelectComponent, typeof i60.SwitchComponent, typeof i61.InputCalendarComponent, typeof i61.InputColorComponent, typeof i61.InputEmailComponent, typeof i61.InputNumberComponent, typeof i61.InputTextComponent, typeof i62.TextareaComponent, typeof i63.RatingComponent, typeof i64.SliderComponent, typeof i65.CardComponent, typeof i65.CardActionsDirective, typeof i65.CardContentComponent, typeof i65.CardFooterDirective, typeof i66.FormComponent, typeof i66.FormWidgetDirective, typeof i66.FormActionDirective, typeof i66.FormFieldDirective, typeof i66.LiveActionsDirective, typeof i66.DependsonDirective, typeof i66.LiveFilterDirective, typeof i66.LiveFormDirective, typeof i67.ListComponent, typeof i67.ListItemDirective, typeof i68.LiveTableComponent, typeof i69.PaginationComponent, typeof i70.TableComponent, typeof i70.TableCUDDirective, typeof i70.TableFilterSortDirective, typeof i70.TableActionDirective, typeof i70.TableColumnDirective, typeof i70.TableColumnGroupDirective, typeof i70.TableRowDirective, typeof i70.TableRowActionDirective, typeof i71.ChartComponent, typeof i72.AccordionPaneComponent, typeof i72.AccordionDirective, typeof i73.LinearLayoutDirective, typeof i73.LinearLayoutItemDirective, typeof i74.LayoutgridDirective, typeof i74.LayoutGridRowDirective, typeof i74.LayoutGridColumnDirective, typeof i75.PanelComponent, typeof i76.TabPaneComponent, typeof i76.TabsComponent, typeof i77.TileDirective, typeof i78.WizardActionDirective, typeof i78.WizardStepComponent, typeof i78.WizardComponent, typeof i79.WizardStepperComponent, typeof i80.AlertDialogComponent, typeof i81.IframeDialogComponent, typeof i82.LoginDialogDirective, typeof i83.PartialDialogComponent, typeof i84.BreadcrumbComponent, typeof i85.MenuComponent, typeof i85.MenuDropdownComponent, typeof i85.MenuDropdownItemComponent, typeof i85.NavigationControlDirective, typeof i85.NavComponent, typeof i85.NavItemDirective, typeof i86.NavbarComponent, typeof i87.PopoverComponent, typeof i88.CarouselDirective, typeof i88.CarouselTemplateDirective, typeof i89.LoginComponent, typeof i90.MarqueeDirective, typeof i91.CustomWidgetDirective, typeof i91.CustomWidgetContainerDirective, typeof i92.PageDirective, typeof i92.LayoutDirective, typeof i92.ContentComponent, typeof i92.PageContentComponent, typeof i92.SpaPageDirective, typeof i92.RouterOutletDirective, typeof i93.FooterDirective, typeof i94.HeaderComponent, typeof i95.LeftPanelDirective, typeof i96.RightPanelDirective, typeof i97.TopNavDirective, typeof i98.PrefabDirective, typeof i98.PrefabContainerDirective]>;
965
967
  static ɵinj: i0.ɵɵInjectorDeclaration<RuntimeBaseModule>;
966
968
  }
967
969
  export declare const WM_MODULES_FOR_ROOT: any[];
@@ -847,8 +847,13 @@
847
847
  new Promise((resolve) => {
848
848
  resolve();
849
849
  }).then(() => platformBrowser.bootstrapApplication(i4$1.AppComponent, appConfig)).then((appRef) => {
850
- window.addEventListener("unload", () => {
850
+ const onPageHide = () => {
851
851
  appRef.components.forEach((c) => c?.destroy());
852
+ window.removeEventListener("pagehide", onPageHide);
853
+ };
854
+ window.addEventListener("pagehide", onPageHide);
855
+ window.addEventListener("pageshow", (event) => {
856
+ if (event.persisted) window.location.reload();
852
857
  });
853
858
  }).catch((err) => console.error("Error bootstrapping app:", err));
854
859
  });
@@ -923,8 +923,13 @@ document.addEventListener("DOMContentLoaded", () => {
923
923
  new Promise((resolve) => {
924
924
  resolve();
925
925
  }).then(() => bootstrapApplication(AppComponent, appConfig)).then((appRef) => {
926
- window.addEventListener("unload", () => {
926
+ const onPageHide = () => {
927
927
  appRef.components.forEach((c) => c?.destroy());
928
+ window.removeEventListener("pagehide", onPageHide);
929
+ };
930
+ window.addEventListener("pagehide", onPageHide);
931
+ window.addEventListener("pageshow", (event) => {
932
+ if (event.persisted) window.location.reload();
928
933
  });
929
934
  }).catch((err) => console.error("Error bootstrapping app:", err));
930
935
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["i1","i4","cache","cache","i1","i1.AppResourceManagerService","i2","PrefabLoader","i1.AppResourceManagerService","xsrfHeaderName","ngxTimepickerModule","ngxPaginationModule","ngxCarouselModule","ngxPopoverModule","PrefabDirective","i1","i2","i3","i5"],"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"],"sourcesContent":["import {\n ApplicationRef,\n Component,\n ElementRef,\n EnvironmentInjector,\n Injector,\n NgZone,\n OnDestroy,\n OnInit,\n ViewContainerRef, ChangeDetectionStrategy} from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\n\nimport { Subscription } from 'rxjs';\n\nimport { AbstractSpinnerService, App} 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 changeDetection: ChangeDetectionStrategy.Eager,\n standalone: true, \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 readonly injector: Injector,\n private readonly envInjector: EnvironmentInjector,\n private readonly route: ActivatedRoute,\n private readonly vcRef: ViewContainerRef,\n private readonly appRef: ApplicationRef,\n private readonly metadataService: MetadataService,\n private readonly securityService: SecurityService,\n private readonly appManager: AppManagerService,\n private readonly app: App,\n private readonly ngZone: NgZone,\n private readonly elRef: ElementRef,\n private readonly spinnerService: AbstractSpinnerService,\n private readonly componentRefProvider: ComponentRefProvider,\n private readonly 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: string): void {\n const $target = this.getTargetNode();\n\n this.appManager.loadAppVariables()\n .then(async () => {\n const PageComponentClass = await this.componentRefProvider.getComponentFactoryRef(pageName, ComponentType.PAGE);\n \n if (!PageComponentClass) {\n console.error(`Failed to load page component: ${pageName}`);\n BasePageComponent.clear();\n return;\n }\n\n try {\n // Create a child injector that explicitly provides the route-specific\n // ActivatedRoute from PageWrapperComponent. This ensures dynamically\n // created page components get the correct ActivatedRoute with proper\n // queryParams, rather than a root-level ActivatedRoute.\n const childInjector = Injector.create({\n providers: [\n { provide: ActivatedRoute, useValue: this.route }\n ],\n parent: this.injector\n });\n\n const componentRef = this.vcRef.createComponent(PageComponentClass, {\n index: 0,\n environmentInjector: this.envInjector,\n injector: childInjector\n });\n \n this.instance = componentRef.instance;\n $target.appendChild(componentRef.location.nativeElement);\n \n // Clean up any duplicate component instances\n if (this.vcRef.length > 1) {\n this.vcRef.remove(1);\n }\n } catch (error) {\n console.error(`Error creating page component ${pageName}:`, error);\n BasePageComponent.clear();\n }\n })\n .catch(error => {\n console.error(`Error loading app variables for page ${pageName}:`, error);\n BasePageComponent.clear();\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 // MEMORY LEAK FIX: Clear ViewContainerRef to destroy dynamically created components\n this.vcRef.clear();\n \n // MEMORY LEAK FIX: Unsubscribe from route params subscription\n if (this.subscription) {\n this.subscription.unsubscribe();\n this.subscription = null;\n }\n\n // MEMORY LEAK FIX: Clear instance reference\n this.instance = null;\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 { PrefabPreviewComponent, CanDeactivatePageGuard, EmptyPageComponent } from '@wm/runtime/base';\n\nimport { PageWrapperComponent } from './components/page-wrapper.component';\nimport {Routes} from '@angular/router';\n\nexport const routes: Routes = [\n {\n path: '',\n pathMatch: 'full',\n component: EmptyPageComponent\n },\n {\n path: 'prefab-preview',\n pathMatch: 'full',\n component: PrefabPreviewComponent\n },\n {\n path: ':pageName',\n pathMatch: 'full',\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 readonly $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 } 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 readonly $http: AbstractHttpService) {}\n}\n","import { Injectable } from '@angular/core';\nimport { AppVariablesProvider } from '@wm/runtime/base';\nimport { AppResourceManagerService } from './app-resource-manager.service';\nimport { App } from '@wm/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AppVariablesProviderService extends AppVariablesProvider {\n constructor(private readonly resourceManager: AppResourceManagerService, private readonly app: App) {\n super();\n }\n\n public async getAppVariables(): Promise<any> {\n // if prefab return {} - app variables will be empty for prefabs\n return this.app.isPrefabType ? {} : 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 ChangeDetectionStrategy,\n Component,\n CUSTOM_ELEMENTS_SCHEMA,\n Inject,\n Injectable,\n Injector,\n NO_ERRORS_SCHEMA,\n ViewEncapsulation,\n Type,\n inject\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 getPrefabMinJsonUrl,\n getPrefabPartialJsonUrl,\n REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS,\n AccessrolesDirective, AppSpinnerComponent, CustomToasterComponent, AppComponent,\n PrefabPreviewComponent, EmptyPageComponent, PrefabDirective as PrefabLoader\n} from '@wm/runtime/base';\nimport { AppResourceManagerService } from './app-resource-manager.service';\nimport { isString, isUndefined } from \"lodash-es\";\nimport * as customWidgets from '@wavemaker-ai/custom-widgets-m3';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\n\n// All the directive/component imports\nimport {\n ContentComponent, LayoutDirective, PageContentComponent, PageDirective,\n RouterOutletDirective, SpaPageDirective\n} from '@wm/components/page';\nimport { PartialDirective } from '@wm/components/base';\nimport { ProgressBarComponent } from '@wm/components/basic/progress/progress-bar';\nimport { PrefabContainerDirective } from '@wm/components/prefab';\n\n// ==================== Types ====================\n\ninterface PageMinJSON {\n markup: string;\n script: string;\n styles: string;\n variables: string;\n config?: string;\n}\n\ninterface FragmentOptions {\n prefab?: string;\n [key: string]: unknown;\n}\n\ntype ScriptFn = (instance: Record<string, unknown>, app: Record<string, unknown>, utils: Record<string, unknown>) => void;\n\n// ==================== Caches ====================\n\nconst fragmentCache = new Map<string, Promise<PageMinJSON>>();\nconst componentCache = new Map<ComponentType, Map<string, Type<unknown>>>([\n [ComponentType.PAGE, new Map()],\n [ComponentType.PARTIAL, new Map()],\n [ComponentType.PREFAB, new Map()],\n [ComponentType.WIDGET, new Map()]\n]);\nconst scriptCache = new Map<string, ScriptFn>();\n\ndeclare global {\n interface Window { resourceCache?: Map<string, Promise<PageMinJSON>>; }\n}\nwindow.resourceCache = fragmentCache;\n\n// ==================== Utilities ====================\n\nconst decode = (str: string): string => {\n try {\n return decodeURIComponent(str.replace(/\\+/g, ' '));\n } catch {\n return str;\n }\n};\n\nconst getUrl = (name: string, type: ComponentType, options?: FragmentOptions): string => {\n if (type === ComponentType.PAGE || type === ComponentType.PARTIAL) {\n return options?.prefab ? getPrefabPartialJsonUrl(options.prefab, name) : `./pages/${name}/page.min.json`;\n }\n return type === ComponentType.PREFAB ? getPrefabMinJsonUrl(name) : `./custom-widgets/${name}/page.min.json`;\n};\n\nconst execScript = (script: string, id: string, ctx: string, instance: Record<string, unknown>,\n app: Record<string, unknown>, utils: Record<string, unknown>): void => {\n let fn = scriptCache.get(id);\n if ((ctx === 'Partial' && !isUndefined(instance.Prefab)) || !fn) {\n fn = new Function(ctx, 'App', 'Utils', script) as ScriptFn;\n scriptCache.set(id, fn);\n }\n fn(instance, app, utils);\n};\n\n// ==================== Component Imports ====================\n\nconst IMPORTS = [\n ...REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS, CommonModule, FormsModule, ReactiveFormsModule,\n PartialDirective, PageDirective, AccessrolesDirective, AppSpinnerComponent, CustomToasterComponent,\n AppComponent, PrefabLoader, PrefabPreviewComponent, EmptyPageComponent, LayoutDirective,\n ContentComponent, PageContentComponent, SpaPageDirective, RouterOutletDirective,\n ProgressBarComponent, PrefabContainerDirective\n] as const;\n\n// ==================== Component Factory ====================\n\nconst CONFIG_MAP = {\n [ComponentType.PAGE]: { Base: BasePageComponent, prefix: 'app-page-', ctx: 'Page' },\n [ComponentType.PARTIAL]: { Base: BasePartialComponent, prefix: 'app-partial-', ctx: 'Partial' },\n [ComponentType.PREFAB]: { Base: BasePrefabComponent, prefix: 'app-prefab-', ctx: 'Prefab' },\n [ComponentType.WIDGET]: { Base: BaseCustomWidgetComponent, prefix: 'app-custom-', ctx: 'Widget' }\n};\n\nconst createComponent = (name: string, type: ComponentType, template: string,\n css: string, script: string, variables: string): Type<unknown> => {\n const { Base, prefix, ctx } = CONFIG_MAP[type];\n const selector = prefix + name;\n\n class DynamicComponent extends Base {\n isDynamicComponent = true;\n pageName?: string;\n partialName?: string;\n prefabName?: string;\n customWidgetName?: string;\n\n constructor(@Inject(Injector) public injector: Injector) {\n super();\n this.injector = injector;\n\n // Set component name based on type\n if (type === ComponentType.PAGE) this.pageName = name;\n else if (type === ComponentType.PARTIAL) this.partialName = name;\n else if (type === ComponentType.PREFAB) this.prefabName = name;\n else this.customWidgetName = name;\n\n super.init();\n }\n\n evalUserScript(instance: Record<string, unknown>, app: Record<string, unknown>, utils: Record<string, unknown>): void {\n execScript(script, selector, ctx, instance, app, utils);\n }\n\n getVariables(): Record<string, unknown> {\n try {\n return JSON.parse(variables) || {};\n } catch {\n return {};\n }\n }\n\n getExpressions(): Record<string, unknown> {\n return {};\n }\n }\n\n return Component({\n template,\n styles: [css],\n encapsulation: ViewEncapsulation.None,\n selector,\n standalone: true,\n // Angular 22 changed the default changeDetection strategy for components with no\n // explicit setting (patterns/runtime.md §27a). The 76 statically-declared production\n // components got ChangeDetectionStrategy.Eager pinned during the upgrade, but this\n // dynamic Component() call -- which builds every page/partial/prefab/widget component\n // in the entire app at runtime -- was missed, since it's not a static @Component()\n // decorator a repo-wide grep would catch. Without this, the created component's host\n // element is inserted into the DOM (so createComponent() \"succeeds\", no error), but\n // its own template content never gets checked/rendered under the new default strategy.\n changeDetection: ChangeDetectionStrategy.Eager,\n imports: [...IMPORTS],\n providers: [{ provide: UserDefinedExecutionContext, useExisting: DynamicComponent }],\n schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA]\n })(DynamicComponent);\n};\n\n// ==================== Service ====================\n\n@Injectable()\nexport class ComponentRefProviderService extends ComponentRefProvider {\n private readonly cache = new Map<string, Type<unknown>>();\n private readonly app = inject(App);\n private readonly appManager = inject(AppManagerService);\n private readonly resourceMngr = inject(AppResourceManagerService);\n\n constructor() {\n super();\n }\n\n /**\n * Load component fragment (markup, script, styles, variables) from JSON resources\n * Fetches and processes .min.json files for pages, partials, prefabs, and widgets\n * \n * @param name - Component name\n * @param type - Component type (PAGE, PARTIAL, PREFAB, WIDGET)\n * @param options - Additional options (e.g., prefab context)\n * @returns Promise resolving to processed component definition\n * @throws Error with user-friendly message if loading fails (404, 403, etc.)\n * @private\n */\n private async loadFragment(name: string, type: ComponentType, options?: FragmentOptions): Promise<PageMinJSON> {\n const url = getUrl(name, type, options);\n\n // Return cached promise if already loading/loaded\n if (fragmentCache.has(url)) {\n return fragmentCache.get(url)!;\n }\n\n // Create loading promise\n const loadPromise = (async () => {\n try {\n // Determine if we need to fetch from server or use bundled custom widgets\n const shouldFetch = type === ComponentType.WIDGET && !customWidgets[name];\n const rawData = shouldFetch || type !== ComponentType.WIDGET\n ? await this.resourceMngr.get(url, true)\n : customWidgets[name];\n\n // Process and return component definition\n return {\n markup: transpile(decode(rawData.markup)).markup,\n script: decode(rawData.script),\n styles: scopeComponentStyles(name, type, decode(rawData.styles)),\n variables: getValidJSON(decode(rawData.variables)),\n ...(rawData.config && { config: getValidJSON(decode(rawData.config)) })\n };\n } catch (err: unknown) {\n // Provide user-friendly error messages\n const status = (err as { details?: { status?: number } })?.details?.status;\n const errorMessages: Record<number, string> = {\n 404: this.app.appLocale?.MESSAGE_PAGE_NOT_FOUND || 'Page not available',\n 403: this.app.appLocale?.LABEL_ACCESS_DENIED || 'Access Denied'\n };\n throw errorMessages[status!] || 'Unknown error loading component';\n }\n })();\n\n // Cache the promise to prevent duplicate requests\n fragmentCache.set(url, loadPromise);\n return loadPromise;\n }\n\n /**\n * Get component class by loading and compiling from JSON resources\n * Loads page/partial/prefab/widget definitions from .min.json files and creates standalone components\n * \n * @param name - Component name (e.g., 'Main', 'Header')\n * @param type - Component type (PAGE, PARTIAL, PREFAB, WIDGET)\n * @param options - Additional options (e.g., prefab context for partials)\n * @returns Promise resolving to component Type or undefined if loading fails\n */\n public async getComponentFactoryRef(name: string, type: ComponentType, options?: FragmentOptions): Promise<Type<unknown> | undefined> {\n const cacheKey = options?.prefab ? `${options.prefab}${name}` : name;\n const fullKey = `${type}-${cacheKey}`;\n\n // Check component cache (by type and name)\n const typeCache = componentCache.get(type);\n if (typeCache?.has(cacheKey)) {\n return typeCache.get(cacheKey);\n }\n \n // Check full cache (by full key)\n if (this.cache.has(fullKey)) {\n return this.cache.get(fullKey);\n }\n\n try {\n // Load component definition from JSON file\n const { markup, script, styles, variables } = await this.loadFragment(name, type, options);\n \n // Create standalone component class from definition\n const ComponentClass = createComponent(\n name, \n type, \n markup, \n styles, \n script, \n JSON.stringify(variables)\n );\n\n // Store in both caches for fast lookup\n this.cache.set(fullKey, ComponentClass);\n typeCache?.set(cacheKey, ComponentClass);\n\n return ComponentClass;\n } catch (err: unknown) {\n const errorMsg = isString(err) ? err : 'Error loading component, check console';\n console.error(`Failed to load ${type} component '${name}':`, err);\n this.appManager.notifyApp(errorMsg, 'error');\n return undefined;\n }\n }\n\n public clearComponentFactoryRefCache(): void {\n this.resourceMngr.clearCache();\n fragmentCache.clear();\n this.cache.clear();\n componentCache.forEach(m => m.clear());\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 readonly 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 {\n APP_INITIALIZER,\n ApplicationConfig,\n importProvidersFrom,\n LOCALE_ID,\n RendererFactory2,\n provideZoneChangeDetection\n} from \"@angular/core\";\nimport { provideRouter, RouteReuseStrategy, withComponentInputBinding, withHashLocation, withRouterConfig } from \"@angular/router\";\nimport {\n HTTP_INTERCEPTORS,\n HttpXhrBackend,\n provideHttpClient,\n withInterceptorsFromDi,\n withXhr,\n withXsrfConfiguration\n} 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 { MetadataService, VariablesService } from \"@wm/variables\";\nimport { OAuthService } from \"@wm/oAuth\";\nimport {\n AppBeforeLoadResolve,\n AppDefaultsService,\n AppExtensionJSResolve,\n AppExtensionProvider,\n AppJSProvider,\n AppJSResolve,\n AppManagerService,\n AppRef,\n AppVariablesProvider,\n AppVariablesResolve,\n AuthGuard,\n CanDeactivatePageGuard,\n ComponentRefProvider,\n CustomwidgetConfigProvider,\n DynamicComponentRefProviderService,\n HttpCallInterceptor,\n I18nResolve,\n I18nServiceImpl,\n NavigationServiceImpl,\n PageNotFoundGuard,\n PipeService,\n PrefabConfigProvider,\n PrefabManagerService,\n RoleGuard,\n SpinnerServiceImpl,\n ToasterServiceImpl,\n WmRouteReuseStrategy,\n WMDomRendererFactory2,\n MAX_CACHE_SIZE,\n MAX_CACHE_AGE\n} from \"@wm/runtime/base\";\nimport {\n _WM_APP_PROJECT,\n AbstractDialogService,\n AbstractHttpService,\n AbstractI18nService,\n AbstractNavigationService,\n AbstractSpinnerService,\n AbstractToasterService,\n App,\n AppDefaults,\n CustomWidgetRefProvider,\n DynamicComponentRefProvider,\n getWmProjectProperties,\n PartialRefProvider,\n CustomIconsLoaderService,\n Viewport\n} from \"@wm/core\";\nimport { ToastNoAnimationModule } from \"ngx-toastr\";\nimport { ModalModule } from \"ngx-bootstrap/modal\";\nimport { BsDatepickerModule } from \"ngx-bootstrap/datepicker\";\nimport { NgCircleProgressModule } from \"ng-circle-progress\";\nimport { DatePipe, DecimalPipe, Location, XhrFactory } 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 {\n CustomPipe,\n DialogServiceImpl,\n FilterPipe,\n ImagePipe,\n SanitizePipe,\n ToDatePipe,\n TrailingZeroDecimalPipe,\n TrustAsPipe\n} from \"@wm/components/base\";\n\n\nconst wmModules = [\n importProvidersFrom(\n ModalModule,\n ToastNoAnimationModule.forRoot({ maxOpened: 1, autoDismiss: true }),\n BsDatepickerModule,\n NgCircleProgressModule\n )\n];\n\nconst WM_XHR_FACTORY: XhrFactory = { build: () => new XMLHttpRequest() } as XhrFactory;\n\nexport const xsrfHeaderName = getWmProjectProperties().xsrf_header_name || \"X-WM-XSRF-TOKEN\";\n\nexport const initializeProjectDetails = () => {\n let cdnUrl = document.querySelector('[name=\"deployUrl\"]')?.getAttribute('content');\n _WM_APP_PROJECT.isPreview = cdnUrl ? false : true;\n const apiUrl = document.querySelector('[name=\"apiUrl\"]')?.getAttribute('content');\n //for preview\n if (!cdnUrl) {\n 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, AppBeforeLoadResolve, AppVariablesResolve, AppExtensionJSResolve, PipeService) {\n return async () => {\n initializeProjectDetails();\n await AppJSResolve.resolve();\n await AppVariablesResolve.resolve();\n await AppExtensionJSResolve.resolve();\n await I18nService.loadDefaultLocale();\n return AppBeforeLoadResolve.resolve();\n };\n}\n\nexport function setAngularLocale(I18nService) {\n initializeProjectDetails();\n return I18nService.deduceAppLocale();\n}\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideZoneChangeDetection({\n eventCoalescing: true,\n runCoalescing: true\n }),\n { provide: HTTP_INTERCEPTORS, useClass: HttpCallInterceptor, multi: true },\n // Provide Angular core services FIRST\n provideRouter(routes, withHashLocation(), withComponentInputBinding(), withRouterConfig({ paramsInheritanceStrategy: 'emptyOnly' })),\n provideAnimations(),\n { provide: XhrFactory, useValue: WM_XHR_FACTORY },\n provideHttpClient(\n withXhr(),\n withInterceptorsFromDi(),\n withXsrfConfiguration({\n cookieName: \"wm_xsrf_token\",\n headerName: xsrfHeaderName\n })\n ),\n { provide: HttpXhrBackend, useFactory: () => new HttpXhrBackend(WM_XHR_FACTORY) },\n\n // Custom renderer overrides (must be early)\n { provide: RendererFactory2, useClass: WMDomRendererFactory2 },\n // Provide HttpService EARLY (AppManagerService needs it)\n { provide: AbstractHttpService, useClass: HttpServiceImpl },\n // Provide base services (before APP_INITIALIZER that depends on them)\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 AppResourceManagerService,\n PipeService,\n CustomIconsLoaderService,\n Viewport,\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 AppVariablesResolve,\n AppExtensionJSResolve,\n I18nResolve,\n AppBeforeLoadResolve,\n SecurityService,\n OAuthService,\n VariablesService,\n MetadataService,\n // Route reuse strategy cache settings\n { provide: MAX_CACHE_SIZE, useValue: 10 },\n { provide: MAX_CACHE_AGE, useValue: 30 * 60 },\n // Third-party standalone providers\n ...wmModules,\n // APP_INITIALIZER for locale and app initialization\n {\n provide: APP_INITIALIZER,\n useFactory: InitializeApp,\n deps: [AbstractI18nService, AppJSResolve, AppBeforeLoadResolve, AppVariablesResolve, AppExtensionJSResolve, PipeService],\n multi: true\n },\n // LOCALE_ID will be set by I18n service\n {\n provide: LOCALE_ID,\n useFactory: setAngularLocale,\n deps: [AbstractI18nService]\n }\n ]\n};\n","import { ApplicationRef, enableProdMode } from '@angular/core';\n\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}\nconsole.time('bootstrap');\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.forEach(c => c?.destroy());\n });\n })\n .catch(err => console.error('Error bootstrapping app:', err));\n});\n\n// debugMode() or debugMode(true) switches debug mode on, debugMode(false) switches it off\n(window as any).debugMode = function (on = true) {\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, 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 { AnchorComponent } from '@wm/components/basic/anchor';\nimport { AudioComponent } from '@wm/components/basic/audio';\nimport { HtmlDirective } from '@wm/components/basic/html';\nimport { IconComponent } from '@wm/components/basic/icon';\nimport { IframeComponent } from '@wm/components/basic/iframe';\nimport { LabelDirective } from '@wm/components/basic/label';\nimport { PictureDirective } from '@wm/components/basic/picture';\nimport { SpinnerComponent } from '@wm/components/basic/spinner';\nimport { VideoComponent } from '@wm/components/basic/video';\n\nimport { ProgressBarComponent } from '@wm/components/basic/progress/progress-bar';\nimport { ProgressCircleComponent } from '@wm/components/basic/progress/progress-circle';\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 { ButtonComponent } from \"@wm/components/input/button\";\nimport { ButtonGroupDirective } from \"@wm/components/input/button-group\";\nimport { CaptionPositionDirective } from \"@wm/components/input/caption-position\";\nimport { CheckboxComponent } from \"@wm/components/input/checkbox\";\nimport { CheckboxsetComponent } from \"@wm/components/input/checkboxset\";\nimport { CompositeDirective } from \"@wm/components/input/composite\";\nimport { NumberComponent } from \"@wm/components/input/number\";\nimport { RadiosetComponent } from \"@wm/components/input/radioset\";\nimport { SelectComponent } from \"@wm/components/input/select\";\nimport { SwitchComponent } from \"@wm/components/input/switch\";\nimport { InputCalendarComponent, InputColorComponent, InputEmailComponent, InputNumberComponent, InputTextComponent } from \"@wm/components/input/text\";\nimport { TextareaComponent } from \"@wm/components/input/textarea\";\n\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';\n\nimport { DateComponent } from '@wm/components/input/epoch/date';\nimport { DatetimeComponent } from '@wm/components/input/epoch/date-time';\nimport { TimeComponent } from '@wm/components/input/epoch/time';\nimport { DateTimePickerComponent, TimePickerComponent } from '@wm/components/input/epoch/date-time-picker';\nimport { PickerComponent, PickerGroupComponent } from '@wm/components/input/epoch/picker';\n\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 AppJSProvider,\n AppVariablesProvider,\n ComponentRefProvider,\n PrefabConfigProvider,\n WmRouteReuseStrategy,\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\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 imports: [\n BrowserModule,\n BrowserAnimationsModule,\n CommonModule,\n RouterModule,\n HttpClientModule,\n PageWrapperComponent,\n\n ModalModule,\n BsDatepickerModule,\n ngxTimepickerModule,\n BsDropdownModule,\n ngxPaginationModule,\n TypeaheadModule,\n TooltipModule,\n ProgressbarModule,\n ngxCarouselModule,\n ngxPopoverModule,\n NgCircleProgressModule,\n\n routerModule,\n toastrModule,\n httpClientXsrfModule\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})\nexport class AppModule {\n constructor(private readonly app: App, private readonly inj: Injector, private readonly componentRefProvider: ComponentRefProvider) {\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,IAAa,uBAAb,MAAa,qBAAoB;CAK7B,YACqB,UACA,aACA,OACA,OACA,QACA,iBACA,iBACA,YACA,KACA,QACA,OACA,gBACA,sBACA,QAAc;EAbd,KAAA,WAAA;EACA,KAAA,cAAA;EACA,KAAA,QAAA;EACA,KAAA,QAAA;EACA,KAAA,SAAA;EACA,KAAA,kBAAA;EACA,KAAA,kBAAA;EACA,KAAA,aAAA;EACA,KAAA,MAAA;EACA,KAAA,SAAA;EACA,KAAA,QAAA;EACA,KAAA,iBAAA;EACA,KAAA,uBAAA;EACA,KAAA,SAAA;CAClB;CAEH,gBAAa;EACT,OAAO,KAAK,MAAM;CACtB;CAEA,qBAAkB;EACd,KAAK,MAAM,MAAK;EAChB,MAAM,UAAU,KAAK,cAAa;EAClC,QAAQ,YAAY;CACxB;CAEA,WAAW,UAAgB;EACvB,MAAM,UAAU,KAAK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sB,CAAE,CAAC;AAChD,MAAM,cAAc,EAChB,YAAY,gBACf;AACD,IAAI,gBACA,YAAY,gBAAgB;AAEhC,MAAa,uBAAuB,qBAAqB,YAAY,WAAW;AAEhF,MAAM,mBAAmB;CAErB;CACAC;CACA;CACAC;CACA;CACA;CACAC;CACAC;CACA;CACA;CAGA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAAsB;CACtB;CACA;CAAiB;CACjB;CAGA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAGA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAAe;CACf;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAGA;CAGA;CAAwB;CACxB;CAAuB;CACvB;CAAqB;CAAwB;CAC7C;CACA;CAAkB;CAClB;CACA;CAAuB;CAAqB;CAG5C;CACA;CACA;CACA;CAGA;CACA;CAAe;CAAuB;CAA2B;CAA4B;CAAc;CAC3G;CACA;CAGA;CAAmB;CACnB;CACA;CACA;CAAuB;CAEvB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEAC;CAAiB;AACpB;AAED,wCAAwC,KAAK,GAAG,gBAAuB;AACvE,wCAAwC,KAAK,aAAoB,mBAA0B;AA0C3F,IAAa,YAAb,MAAa,UAAS;CAClB,YAA6B,KAA2B,KAAgC,sBAA0C;EAArG,KAAA,MAAA;EAA2B,KAAA,MAAA;EAAgC,KAAA,uBAAA;CACxF;CAFS;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAS,MAAA;IAAA,EAAA,OAAAC,GAAA,IAAA;IAAA,EAAA,OAAA,GAAA,SAAA;IAAA,EAAA,OAAAC,KAAA,qBAAA;GAAA;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B;IACxD;KAAE,SAAS;KAAsB,UAAU;IAA2B;IACtE;KAAE,SAAS;KAAsB,UAAU;IAA2B;IACtE;KAAE,SAAS;KAAsB,UAAU;IAA2B;IACtE;KAAE,SAAS;KAAoB,UAAU;IAA2B;IACpE;KAAE,SAAS;KAAyB,UAAU;IAA2B;IACzE;KAAE,SAAS;KAA4B,UAAU;IAAiC;IAClF;KAAE,SAAS;KAAsB,UAAU;IAA2B;IACtE;KAAE,SAAS;KAAoB,UAAU;IAAoB;IAC7D;KAAE,SAAS;KAAqB,UAAU;IAAe;GAC5D;EACJ,CAAA"}
1
+ {"version":3,"file":"index.mjs","names":["i1","i4","cache","cache","i1","i1.AppResourceManagerService","i2","PrefabLoader","i1.AppResourceManagerService","xsrfHeaderName","ngxTimepickerModule","ngxPaginationModule","ngxCarouselModule","ngxPopoverModule","PrefabDirective","i1","i2","i3","i5"],"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"],"sourcesContent":["import {\n ApplicationRef,\n Component,\n ElementRef,\n EnvironmentInjector,\n Injector,\n NgZone,\n OnDestroy,\n OnInit,\n ViewContainerRef, ChangeDetectionStrategy} from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\n\nimport { Subscription } from 'rxjs';\n\nimport { AbstractSpinnerService, App} 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 changeDetection: ChangeDetectionStrategy.Eager,\n standalone: true, \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 readonly injector: Injector,\n private readonly envInjector: EnvironmentInjector,\n private readonly route: ActivatedRoute,\n private readonly vcRef: ViewContainerRef,\n private readonly appRef: ApplicationRef,\n private readonly metadataService: MetadataService,\n private readonly securityService: SecurityService,\n private readonly appManager: AppManagerService,\n private readonly app: App,\n private readonly ngZone: NgZone,\n private readonly elRef: ElementRef,\n private readonly spinnerService: AbstractSpinnerService,\n private readonly componentRefProvider: ComponentRefProvider,\n private readonly 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: string): void {\n const $target = this.getTargetNode();\n\n this.appManager.loadAppVariables()\n .then(async () => {\n const PageComponentClass = await this.componentRefProvider.getComponentFactoryRef(pageName, ComponentType.PAGE);\n \n if (!PageComponentClass) {\n console.error(`Failed to load page component: ${pageName}`);\n BasePageComponent.clear();\n return;\n }\n\n try {\n // Create a child injector that explicitly provides the route-specific\n // ActivatedRoute from PageWrapperComponent. This ensures dynamically\n // created page components get the correct ActivatedRoute with proper\n // queryParams, rather than a root-level ActivatedRoute.\n const childInjector = Injector.create({\n providers: [\n { provide: ActivatedRoute, useValue: this.route }\n ],\n parent: this.injector\n });\n\n const componentRef = this.vcRef.createComponent(PageComponentClass, {\n index: 0,\n environmentInjector: this.envInjector,\n injector: childInjector\n });\n \n this.instance = componentRef.instance;\n $target.appendChild(componentRef.location.nativeElement);\n \n // Clean up any duplicate component instances\n if (this.vcRef.length > 1) {\n this.vcRef.remove(1);\n }\n } catch (error) {\n console.error(`Error creating page component ${pageName}:`, error);\n BasePageComponent.clear();\n }\n })\n .catch(error => {\n console.error(`Error loading app variables for page ${pageName}:`, error);\n BasePageComponent.clear();\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 // MEMORY LEAK FIX: Clear ViewContainerRef to destroy dynamically created components\n this.vcRef.clear();\n \n // MEMORY LEAK FIX: Unsubscribe from route params subscription\n if (this.subscription) {\n this.subscription.unsubscribe();\n this.subscription = null;\n }\n\n // MEMORY LEAK FIX: Clear instance reference\n this.instance = null;\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 { PrefabPreviewComponent, CanDeactivatePageGuard, EmptyPageComponent } from '@wm/runtime/base';\n\nimport { PageWrapperComponent } from './components/page-wrapper.component';\nimport {Routes} from '@angular/router';\n\nexport const routes: Routes = [\n {\n path: '',\n pathMatch: 'full',\n component: EmptyPageComponent\n },\n {\n path: 'prefab-preview',\n pathMatch: 'full',\n component: PrefabPreviewComponent\n },\n {\n path: ':pageName',\n pathMatch: 'full',\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 readonly $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 } 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 readonly $http: AbstractHttpService) {}\n}\n","import { Injectable } from '@angular/core';\nimport { AppVariablesProvider } from '@wm/runtime/base';\nimport { AppResourceManagerService } from './app-resource-manager.service';\nimport { App } from '@wm/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AppVariablesProviderService extends AppVariablesProvider {\n constructor(private readonly resourceManager: AppResourceManagerService, private readonly app: App) {\n super();\n }\n\n public async getAppVariables(): Promise<any> {\n // if prefab return {} - app variables will be empty for prefabs\n return this.app.isPrefabType ? {} : 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 ChangeDetectionStrategy,\n Component,\n CUSTOM_ELEMENTS_SCHEMA,\n Inject,\n Injectable,\n Injector,\n NO_ERRORS_SCHEMA,\n ViewEncapsulation,\n Type,\n inject\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 getPrefabMinJsonUrl,\n getPrefabPartialJsonUrl,\n REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS,\n AccessrolesDirective, AppSpinnerComponent, CustomToasterComponent, AppComponent,\n PrefabPreviewComponent, EmptyPageComponent, PrefabDirective as PrefabLoader\n} from '@wm/runtime/base';\nimport { AppResourceManagerService } from './app-resource-manager.service';\nimport { isString, isUndefined } from \"lodash-es\";\nimport * as customWidgets from '@wavemaker-ai/custom-widgets-m3';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\n\n// All the directive/component imports\nimport {\n ContentComponent, LayoutDirective, PageContentComponent, PageDirective,\n RouterOutletDirective, SpaPageDirective\n} from '@wm/components/page';\nimport { PartialDirective } from '@wm/components/base';\nimport { ProgressBarComponent } from '@wm/components/basic/progress/progress-bar';\nimport { PrefabContainerDirective } from '@wm/components/prefab';\n\n// ==================== Types ====================\n\ninterface PageMinJSON {\n markup: string;\n script: string;\n styles: string;\n variables: string;\n config?: string;\n}\n\ninterface FragmentOptions {\n prefab?: string;\n [key: string]: unknown;\n}\n\ntype ScriptFn = (instance: Record<string, unknown>, app: Record<string, unknown>, utils: Record<string, unknown>) => void;\n\n// ==================== Caches ====================\n\nconst fragmentCache = new Map<string, Promise<PageMinJSON>>();\nconst componentCache = new Map<ComponentType, Map<string, Type<unknown>>>([\n [ComponentType.PAGE, new Map()],\n [ComponentType.PARTIAL, new Map()],\n [ComponentType.PREFAB, new Map()],\n [ComponentType.WIDGET, new Map()]\n]);\nconst scriptCache = new Map<string, ScriptFn>();\n\ndeclare global {\n interface Window { resourceCache?: Map<string, Promise<PageMinJSON>>; }\n}\nwindow.resourceCache = fragmentCache;\n\n// ==================== Utilities ====================\n\nconst decode = (str: string): string => {\n try {\n return decodeURIComponent(str.replace(/\\+/g, ' '));\n } catch {\n return str;\n }\n};\n\nconst getUrl = (name: string, type: ComponentType, options?: FragmentOptions): string => {\n if (type === ComponentType.PAGE || type === ComponentType.PARTIAL) {\n return options?.prefab ? getPrefabPartialJsonUrl(options.prefab, name) : `./pages/${name}/page.min.json`;\n }\n return type === ComponentType.PREFAB ? getPrefabMinJsonUrl(name) : `./custom-widgets/${name}/page.min.json`;\n};\n\nconst execScript = (script: string, id: string, ctx: string, instance: Record<string, unknown>,\n app: Record<string, unknown>, utils: Record<string, unknown>): void => {\n let fn = scriptCache.get(id);\n if ((ctx === 'Partial' && !isUndefined(instance.Prefab)) || !fn) {\n fn = new Function(ctx, 'App', 'Utils', script) as ScriptFn;\n scriptCache.set(id, fn);\n }\n fn(instance, app, utils);\n};\n\n// ==================== Component Imports ====================\n\nconst IMPORTS = [\n ...REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS, CommonModule, FormsModule, ReactiveFormsModule,\n PartialDirective, PageDirective, AccessrolesDirective, AppSpinnerComponent, CustomToasterComponent,\n AppComponent, PrefabLoader, PrefabPreviewComponent, EmptyPageComponent, LayoutDirective,\n ContentComponent, PageContentComponent, SpaPageDirective, RouterOutletDirective,\n ProgressBarComponent, PrefabContainerDirective\n] as const;\n\n// ==================== Component Factory ====================\n\nconst CONFIG_MAP = {\n [ComponentType.PAGE]: { Base: BasePageComponent, prefix: 'app-page-', ctx: 'Page' },\n [ComponentType.PARTIAL]: { Base: BasePartialComponent, prefix: 'app-partial-', ctx: 'Partial' },\n [ComponentType.PREFAB]: { Base: BasePrefabComponent, prefix: 'app-prefab-', ctx: 'Prefab' },\n [ComponentType.WIDGET]: { Base: BaseCustomWidgetComponent, prefix: 'app-custom-', ctx: 'Widget' }\n};\n\nconst createComponent = (name: string, type: ComponentType, template: string,\n css: string, script: string, variables: string): Type<unknown> => {\n const { Base, prefix, ctx } = CONFIG_MAP[type];\n const selector = prefix + name;\n\n class DynamicComponent extends Base {\n isDynamicComponent = true;\n pageName?: string;\n partialName?: string;\n prefabName?: string;\n customWidgetName?: string;\n\n constructor(@Inject(Injector) public injector: Injector) {\n super();\n this.injector = injector;\n\n // Set component name based on type\n if (type === ComponentType.PAGE) this.pageName = name;\n else if (type === ComponentType.PARTIAL) this.partialName = name;\n else if (type === ComponentType.PREFAB) this.prefabName = name;\n else this.customWidgetName = name;\n\n super.init();\n }\n\n evalUserScript(instance: Record<string, unknown>, app: Record<string, unknown>, utils: Record<string, unknown>): void {\n execScript(script, selector, ctx, instance, app, utils);\n }\n\n getVariables(): Record<string, unknown> {\n try {\n return JSON.parse(variables) || {};\n } catch {\n return {};\n }\n }\n\n getExpressions(): Record<string, unknown> {\n return {};\n }\n }\n\n return Component({\n template,\n styles: [css],\n encapsulation: ViewEncapsulation.None,\n selector,\n standalone: true,\n // Angular 22 changed the default changeDetection strategy for components with no\n // explicit setting (patterns/runtime.md §27a). The 76 statically-declared production\n // components got ChangeDetectionStrategy.Eager pinned during the upgrade, but this\n // dynamic Component() call -- which builds every page/partial/prefab/widget component\n // in the entire app at runtime -- was missed, since it's not a static @Component()\n // decorator a repo-wide grep would catch. Without this, the created component's host\n // element is inserted into the DOM (so createComponent() \"succeeds\", no error), but\n // its own template content never gets checked/rendered under the new default strategy.\n changeDetection: ChangeDetectionStrategy.Eager,\n imports: [...IMPORTS],\n providers: [{ provide: UserDefinedExecutionContext, useExisting: DynamicComponent }],\n schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA]\n })(DynamicComponent);\n};\n\n// ==================== Service ====================\n\n@Injectable()\nexport class ComponentRefProviderService extends ComponentRefProvider {\n private readonly cache = new Map<string, Type<unknown>>();\n private readonly app = inject(App);\n private readonly appManager = inject(AppManagerService);\n private readonly resourceMngr = inject(AppResourceManagerService);\n\n constructor() {\n super();\n }\n\n /**\n * Load component fragment (markup, script, styles, variables) from JSON resources\n * Fetches and processes .min.json files for pages, partials, prefabs, and widgets\n * \n * @param name - Component name\n * @param type - Component type (PAGE, PARTIAL, PREFAB, WIDGET)\n * @param options - Additional options (e.g., prefab context)\n * @returns Promise resolving to processed component definition\n * @throws Error with user-friendly message if loading fails (404, 403, etc.)\n * @private\n */\n private async loadFragment(name: string, type: ComponentType, options?: FragmentOptions): Promise<PageMinJSON> {\n const url = getUrl(name, type, options);\n\n // Return cached promise if already loading/loaded\n if (fragmentCache.has(url)) {\n return fragmentCache.get(url)!;\n }\n\n // Create loading promise\n const loadPromise = (async () => {\n try {\n // Determine if we need to fetch from server or use bundled custom widgets\n const shouldFetch = type === ComponentType.WIDGET && !customWidgets[name];\n const rawData = shouldFetch || type !== ComponentType.WIDGET\n ? await this.resourceMngr.get(url, true)\n : customWidgets[name];\n\n // Process and return component definition\n return {\n markup: transpile(decode(rawData.markup)).markup,\n script: decode(rawData.script),\n styles: scopeComponentStyles(name, type, decode(rawData.styles)),\n variables: getValidJSON(decode(rawData.variables)),\n ...(rawData.config && { config: getValidJSON(decode(rawData.config)) })\n };\n } catch (err: unknown) {\n // Provide user-friendly error messages\n const status = (err as { details?: { status?: number } })?.details?.status;\n const errorMessages: Record<number, string> = {\n 404: this.app.appLocale?.MESSAGE_PAGE_NOT_FOUND || 'Page not available',\n 403: this.app.appLocale?.LABEL_ACCESS_DENIED || 'Access Denied'\n };\n throw errorMessages[status!] || 'Unknown error loading component';\n }\n })();\n\n // Cache the promise to prevent duplicate requests\n fragmentCache.set(url, loadPromise);\n return loadPromise;\n }\n\n /**\n * Get component class by loading and compiling from JSON resources\n * Loads page/partial/prefab/widget definitions from .min.json files and creates standalone components\n * \n * @param name - Component name (e.g., 'Main', 'Header')\n * @param type - Component type (PAGE, PARTIAL, PREFAB, WIDGET)\n * @param options - Additional options (e.g., prefab context for partials)\n * @returns Promise resolving to component Type or undefined if loading fails\n */\n public async getComponentFactoryRef(name: string, type: ComponentType, options?: FragmentOptions): Promise<Type<unknown> | undefined> {\n const cacheKey = options?.prefab ? `${options.prefab}${name}` : name;\n const fullKey = `${type}-${cacheKey}`;\n\n // Check component cache (by type and name)\n const typeCache = componentCache.get(type);\n if (typeCache?.has(cacheKey)) {\n return typeCache.get(cacheKey);\n }\n \n // Check full cache (by full key)\n if (this.cache.has(fullKey)) {\n return this.cache.get(fullKey);\n }\n\n try {\n // Load component definition from JSON file\n const { markup, script, styles, variables } = await this.loadFragment(name, type, options);\n \n // Create standalone component class from definition\n const ComponentClass = createComponent(\n name, \n type, \n markup, \n styles, \n script, \n JSON.stringify(variables)\n );\n\n // Store in both caches for fast lookup\n this.cache.set(fullKey, ComponentClass);\n typeCache?.set(cacheKey, ComponentClass);\n\n return ComponentClass;\n } catch (err: unknown) {\n const errorMsg = isString(err) ? err : 'Error loading component, check console';\n console.error(`Failed to load ${type} component '${name}':`, err);\n this.appManager.notifyApp(errorMsg, 'error');\n return undefined;\n }\n }\n\n public clearComponentFactoryRefCache(): void {\n this.resourceMngr.clearCache();\n fragmentCache.clear();\n this.cache.clear();\n componentCache.forEach(m => m.clear());\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 readonly 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 {\n APP_INITIALIZER,\n ApplicationConfig,\n importProvidersFrom,\n LOCALE_ID,\n RendererFactory2,\n provideZoneChangeDetection\n} from \"@angular/core\";\nimport { provideRouter, RouteReuseStrategy, withComponentInputBinding, withHashLocation, withRouterConfig } from \"@angular/router\";\nimport {\n HTTP_INTERCEPTORS,\n HttpXhrBackend,\n provideHttpClient,\n withInterceptorsFromDi,\n withXhr,\n withXsrfConfiguration\n} 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 { MetadataService, VariablesService } from \"@wm/variables\";\nimport { OAuthService } from \"@wm/oAuth\";\nimport {\n AppBeforeLoadResolve,\n AppDefaultsService,\n AppExtensionJSResolve,\n AppExtensionProvider,\n AppJSProvider,\n AppJSResolve,\n AppManagerService,\n AppRef,\n AppVariablesProvider,\n AppVariablesResolve,\n AuthGuard,\n CanDeactivatePageGuard,\n ComponentRefProvider,\n CustomwidgetConfigProvider,\n DynamicComponentRefProviderService,\n HttpCallInterceptor,\n I18nResolve,\n I18nServiceImpl,\n NavigationServiceImpl,\n PageNotFoundGuard,\n PipeService,\n PrefabConfigProvider,\n PrefabManagerService,\n RoleGuard,\n SpinnerServiceImpl,\n ToasterServiceImpl,\n WmRouteReuseStrategy,\n WMDomRendererFactory2,\n MAX_CACHE_SIZE,\n MAX_CACHE_AGE\n} from \"@wm/runtime/base\";\nimport {\n _WM_APP_PROJECT,\n AbstractDialogService,\n AbstractHttpService,\n AbstractI18nService,\n AbstractNavigationService,\n AbstractSpinnerService,\n AbstractToasterService,\n App,\n AppDefaults,\n CustomWidgetRefProvider,\n DynamicComponentRefProvider,\n getWmProjectProperties,\n PartialRefProvider,\n CustomIconsLoaderService,\n Viewport\n} from \"@wm/core\";\nimport { ToastNoAnimationModule } from \"ngx-toastr\";\nimport { ModalModule } from \"ngx-bootstrap/modal\";\nimport { BsDatepickerModule } from \"ngx-bootstrap/datepicker\";\nimport { NgCircleProgressModule } from \"ng-circle-progress\";\nimport { DatePipe, DecimalPipe, Location, XhrFactory } 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 {\n CustomPipe,\n DialogServiceImpl,\n FilterPipe,\n ImagePipe,\n SanitizePipe,\n ToDatePipe,\n TrailingZeroDecimalPipe,\n TrustAsPipe\n} from \"@wm/components/base\";\n\n\nconst wmModules = [\n importProvidersFrom(\n ModalModule,\n ToastNoAnimationModule.forRoot({ maxOpened: 1, autoDismiss: true }),\n BsDatepickerModule,\n NgCircleProgressModule\n )\n];\n\nconst WM_XHR_FACTORY: XhrFactory = { build: () => new XMLHttpRequest() } as XhrFactory;\n\nexport const xsrfHeaderName = getWmProjectProperties().xsrf_header_name || \"X-WM-XSRF-TOKEN\";\n\nexport const initializeProjectDetails = () => {\n let cdnUrl = document.querySelector('[name=\"deployUrl\"]')?.getAttribute('content');\n _WM_APP_PROJECT.isPreview = cdnUrl ? false : true;\n const apiUrl = document.querySelector('[name=\"apiUrl\"]')?.getAttribute('content');\n //for preview\n if (!cdnUrl) {\n 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, AppBeforeLoadResolve, AppVariablesResolve, AppExtensionJSResolve, PipeService) {\n return async () => {\n initializeProjectDetails();\n await AppJSResolve.resolve();\n await AppVariablesResolve.resolve();\n await AppExtensionJSResolve.resolve();\n await I18nService.loadDefaultLocale();\n return AppBeforeLoadResolve.resolve();\n };\n}\n\nexport function setAngularLocale(I18nService) {\n initializeProjectDetails();\n return I18nService.deduceAppLocale();\n}\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideZoneChangeDetection({\n eventCoalescing: true,\n runCoalescing: true\n }),\n { provide: HTTP_INTERCEPTORS, useClass: HttpCallInterceptor, multi: true },\n // Provide Angular core services FIRST\n provideRouter(routes, withHashLocation(), withComponentInputBinding(), withRouterConfig({ paramsInheritanceStrategy: 'emptyOnly' })),\n provideAnimations(),\n { provide: XhrFactory, useValue: WM_XHR_FACTORY },\n provideHttpClient(\n withXhr(),\n withInterceptorsFromDi(),\n withXsrfConfiguration({\n cookieName: \"wm_xsrf_token\",\n headerName: xsrfHeaderName\n })\n ),\n { provide: HttpXhrBackend, useFactory: () => new HttpXhrBackend(WM_XHR_FACTORY) },\n\n // Custom renderer overrides (must be early)\n { provide: RendererFactory2, useClass: WMDomRendererFactory2 },\n // Provide HttpService EARLY (AppManagerService needs it)\n { provide: AbstractHttpService, useClass: HttpServiceImpl },\n // Provide base services (before APP_INITIALIZER that depends on them)\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 AppResourceManagerService,\n PipeService,\n CustomIconsLoaderService,\n Viewport,\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 AppVariablesResolve,\n AppExtensionJSResolve,\n I18nResolve,\n AppBeforeLoadResolve,\n SecurityService,\n OAuthService,\n VariablesService,\n MetadataService,\n // Route reuse strategy cache settings\n { provide: MAX_CACHE_SIZE, useValue: 10 },\n { provide: MAX_CACHE_AGE, useValue: 30 * 60 },\n // Third-party standalone providers\n ...wmModules,\n // APP_INITIALIZER for locale and app initialization\n {\n provide: APP_INITIALIZER,\n useFactory: InitializeApp,\n deps: [AbstractI18nService, AppJSResolve, AppBeforeLoadResolve, AppVariablesResolve, AppExtensionJSResolve, PipeService],\n multi: true\n },\n // LOCALE_ID will be set by I18n service\n {\n provide: LOCALE_ID,\n useFactory: setAngularLocale,\n deps: [AbstractI18nService]\n }\n ]\n};\n","import { ApplicationRef, enableProdMode } from '@angular/core';\n\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}\nconsole.time('bootstrap');\n\ndocument.addEventListener('DOMContentLoaded', () => {\n new Promise<Event | void>(resolve => {\n resolve();\n }).then(() => bootstrapApplication(AppComponent, appConfig))\n .then((appRef: ApplicationRef) => {\n const onPageHide = () => {\n appRef.components.forEach(c => c?.destroy());\n window.removeEventListener('pagehide', onPageHide);\n };\n window.addEventListener('pagehide', onPageHide);\n window.addEventListener('pageshow', (event: PageTransitionEvent) => {\n if (event.persisted) {\n window.location.reload();\n }\n });\n })\n .catch(err => console.error('Error bootstrapping app:', err));\n});\n\n// debugMode() or debugMode(true) switches debug mode on, debugMode(false) switches it off\n(window as any).debugMode = function (on = true) {\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, 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 { AnchorComponent } from '@wm/components/basic/anchor';\nimport { AudioComponent } from '@wm/components/basic/audio';\nimport { HtmlDirective } from '@wm/components/basic/html';\nimport { IconComponent } from '@wm/components/basic/icon';\nimport { IframeComponent } from '@wm/components/basic/iframe';\nimport { LabelDirective } from '@wm/components/basic/label';\nimport { PictureDirective } from '@wm/components/basic/picture';\nimport { SpinnerComponent } from '@wm/components/basic/spinner';\nimport { VideoComponent } from '@wm/components/basic/video';\n\nimport { ProgressBarComponent } from '@wm/components/basic/progress/progress-bar';\nimport { ProgressCircleComponent } from '@wm/components/basic/progress/progress-circle';\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 { ButtonComponent } from \"@wm/components/input/button\";\nimport { ButtonGroupDirective } from \"@wm/components/input/button-group\";\nimport { CaptionPositionDirective } from \"@wm/components/input/caption-position\";\nimport { CheckboxComponent } from \"@wm/components/input/checkbox\";\nimport { CheckboxsetComponent } from \"@wm/components/input/checkboxset\";\nimport { CompositeDirective } from \"@wm/components/input/composite\";\nimport { NumberComponent } from \"@wm/components/input/number\";\nimport { RadiosetComponent } from \"@wm/components/input/radioset\";\nimport { SelectComponent } from \"@wm/components/input/select\";\nimport { SwitchComponent } from \"@wm/components/input/switch\";\nimport { InputCalendarComponent, InputColorComponent, InputEmailComponent, InputNumberComponent, InputTextComponent } from \"@wm/components/input/text\";\nimport { TextareaComponent } from \"@wm/components/input/textarea\";\n\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';\n\nimport { DateComponent } from '@wm/components/input/epoch/date';\nimport { DatetimeComponent } from '@wm/components/input/epoch/date-time';\nimport { TimeComponent } from '@wm/components/input/epoch/time';\nimport { DateTimePickerComponent, TimePickerComponent } from '@wm/components/input/epoch/date-time-picker';\nimport { PickerComponent, PickerGroupComponent } from '@wm/components/input/epoch/picker';\n\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 AppJSProvider,\n AppVariablesProvider,\n ComponentRefProvider,\n PrefabConfigProvider,\n WmRouteReuseStrategy,\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\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 imports: [\n BrowserModule,\n BrowserAnimationsModule,\n CommonModule,\n RouterModule,\n HttpClientModule,\n PageWrapperComponent,\n\n ModalModule,\n BsDatepickerModule,\n ngxTimepickerModule,\n BsDropdownModule,\n ngxPaginationModule,\n TypeaheadModule,\n TooltipModule,\n ProgressbarModule,\n ngxCarouselModule,\n ngxPopoverModule,\n NgCircleProgressModule,\n\n routerModule,\n toastrModule,\n httpClientXsrfModule\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})\nexport class AppModule {\n constructor(private readonly app: App, private readonly inj: Injector, private readonly componentRefProvider: ComponentRefProvider) {\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,IAAa,uBAAb,MAAa,qBAAoB;CAK7B,YACqB,UACA,aACA,OACA,OACA,QACA,iBACA,iBACA,YACA,KACA,QACA,OACA,gBACA,sBACA,QAAc;EAbd,KAAA,WAAA;EACA,KAAA,cAAA;EACA,KAAA,QAAA;EACA,KAAA,QAAA;EACA,KAAA,SAAA;EACA,KAAA,kBAAA;EACA,KAAA,kBAAA;EACA,KAAA,aAAA;EACA,KAAA,MAAA;EACA,KAAA,SAAA;EACA,KAAA,QAAA;EACA,KAAA,iBAAA;EACA,KAAA,uBAAA;EACA,KAAA,SAAA;CAClB;CAEH,gBAAa;EACT,OAAO,KAAK,MAAM;CACtB;CAEA,qBAAkB;EACd,KAAK,MAAM,MAAK;EA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e,QAAQ,YAAY,KAAK;EACxC,OAAO,SAAS,OAAM;CAC1B;AACJ;ACgIA,MAAa,eAAe,aAAa,QAAQ,QAAQ;CAAE,SAAS;CAAM,2BAA2B;AAAK,CAAE;AAC5G,MAAa,eAAe,uBAAuB,QAAQ;CAAE,WAAW;CAAG,aAAa;AAAI,CAAE;AAI9F,MAAM,iBAAiB,uBAAsB,CAAE,CAAC;AAChD,MAAM,cAAc,EAChB,YAAY,gBACf;AACD,IAAI,gBACA,YAAY,gBAAgB;AAEhC,MAAa,uBAAuB,qBAAqB,YAAY,WAAW;AAEhF,MAAM,mBAAmB;CAErB;CACAC;CACA;CACAC;CACA;CACA;CACAC;CACAC;CACA;CACA;CAGA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAAsB;CACtB;CACA;CAAiB;CACjB;CAGA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAGA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAAe;CACf;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAGA;CAGA;CAAwB;CACxB;CAAuB;CACvB;CAAqB;CAAwB;CAC7C;CACA;CAAkB;CAClB;CACA;CAAuB;CAAqB;CAG5C;CACA;CACA;CACA;CAGA;CACA;CAAe;CAAuB;CAA2B;CAA4B;CAAc;CAC3G;CACA;CAGA;CAAmB;CACnB;CACA;CACA;CAAuB;CAEvB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEAC;CAAiB;AACpB;AAED,wCAAwC,KAAK,GAAG,gBAAuB;AACvE,wCAAwC,KAAK,aAAoB,mBAA0B;AA0C3F,IAAa,YAAb,MAAa,UAAS;CAClB,YAA6B,KAA2B,KAAgC,sBAA0C;EAArG,KAAA,MAAA;EAA2B,K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AAS,YAAA,CAAA;EAxCrB,MAAA;EAAS,MAAA,CAAA;GACN,cAAc,CAAA;GACd,SAAS;IACL;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;IACAH;IACA;IACAC;IACA;IACA;IACA;IACAC;IACAC;IACA;IAEA;IACA;IACA;GACH;GACD,WAAW;IACP;IACA;KAAE,SAAS;KAAe,UAAU;IAAoB;IACxD;KAAE,SAAS;KAAsB,UAAU;IAA2B;IACtE;KAAE,SAAS;KAAsB,UAAU;IAA2B;IACtE;KAAE,SAAS;KAAsB,UAAU;IAA2B;IACtE;KAAE,SAAS;KAAoB,UAAU;IAA2B;IACpE;KAAE,SAAS;KAAyB,UAAU;IAA2B;IACzE;KAAE,SAAS;KAA4B,UAAU;IAAiC;IAClF;KAAE,SAAS;KAAsB,UAAU;IAA2B;IACtE;KAAE,SAAS;KAAoB,UAAU;IAAoB;IAC7D;KAAE,SAAS;KAAqB,UAAU;IAAe;GAC5D;EACJ,CAAA"}
@@ -411,7 +411,7 @@
411
411
  exports.securityService = void 0;
412
412
  exports.dialogService = void 0;
413
413
  const DOT_EXPR_REX = /^\[("|')[\w\W]*(\1)\]$/;
414
- const internalBoundNodeMap$1 = /* @__PURE__ */ new Map();
414
+ const internalBoundNodeMap = /* @__PURE__ */ new Map();
415
415
  const timers = /* @__PURE__ */ new Map();
416
416
  const _invoke = (variable, op) => {
417
417
  let debouncedFn, cancelFn = lodashEs.noop, retVal;
@@ -659,7 +659,7 @@
659
659
  }
660
660
  return targetObj;
661
661
  };
662
- const getTargetNodeKey$1 = (target) => {
662
+ const getTargetNodeKey = (target) => {
663
663
  let targetNodeKey;
664
664
  if (DOT_EXPR_REX.test(target)) targetNodeKey = target.replace(/(^\[["'])|(["']\]$)/g, "");
665
665
  else targetNodeKey = target.split(".").pop();
@@ -677,8 +677,8 @@
677
677
  values[slot] = value;
678
678
  }
679
679
  };
680
- const setValueToNode$1 = (target, obj, root, variable, value, noUpdate) => {
681
- const targetNodeKey = getTargetNodeKey$1(target), targetObj = getTargetObj(obj, root, variable);
680
+ const setValueToNode = (target, obj, root, variable, value, noUpdate) => {
681
+ const targetNodeKey = getTargetNodeKey(target), targetObj = getTargetObj(obj, root, variable);
682
682
  if (targetObj) {
683
683
  if (obj.collectionFormat === "multi" && !lodashEs.isArray(value)) applyMultiSlotValue(targetObj, targetNodeKey, obj, value);
684
684
  else targetObj[targetNodeKey] = value;
@@ -686,7 +686,7 @@
686
686
  processVariablePostBindUpdate(targetNodeKey, value, obj.type, variable, noUpdate);
687
687
  };
688
688
  const updateInternalNodes = (target, root, variable) => {
689
- const boundInternalNodes = lodashEs.keys(lodashEs.get(internalBoundNodeMap$1.get(variable), [variable.name, root])), targetNodeKey = getTargetNodeKey$1(target);
689
+ const boundInternalNodes = lodashEs.keys(lodashEs.get(internalBoundNodeMap.get(variable), [variable.name, root])), targetNodeKey = getTargetNodeKey(target);
690
690
  let internalNodes;
691
691
  function findInternalNodeBound() {
692
692
  return lodashEs.filter(boundInternalNodes, function(node) {
@@ -695,7 +695,7 @@
695
695
  }
696
696
  internalNodes = findInternalNodeBound();
697
697
  if (internalNodes.length) lodashEs.forEach(internalNodes, function(node) {
698
- setValueToNode$1(node, { target: node }, root, variable, lodashEs.get(internalBoundNodeMap$1.get(variable), [
698
+ setValueToNode(node, { target: node }, root, variable, lodashEs.get(internalBoundNodeMap.get(variable), [
699
699
  variable.name,
700
700
  root,
701
701
  node
@@ -703,16 +703,16 @@
703
703
  });
704
704
  };
705
705
  const processBindObject = (obj, scope, root, variable) => {
706
- const target = obj.target, targetNodeKey = getTargetNodeKey$1(target);
706
+ const target = obj.target, targetNodeKey = getTargetNodeKey(target);
707
707
  getTargetObj(obj, root, variable);
708
708
  const destroyFn = scope.registerDestroyListener ? scope.registerDestroyListener.bind(scope) : lodashEs.noop;
709
709
  if (i1.stringStartsWith(obj.value, "bind:")) {
710
710
  const listener = (newVal, oldVal) => {
711
711
  if (newVal === oldVal && lodashEs.isUndefined(newVal) || lodashEs.isUndefined(newVal) && !lodashEs.isUndefined(oldVal)) return;
712
712
  if (!lodashEs.includes(["blob", "file"], obj.type)) newVal = i1.getClonedObject(newVal);
713
- setValueToNode$1(target, obj, root, variable, newVal);
714
- if (!internalBoundNodeMap$1.has(variable)) internalBoundNodeMap$1.set(variable, {});
715
- lodashEs.set(internalBoundNodeMap$1.get(variable), [
713
+ setValueToNode(target, obj, root, variable, newVal);
714
+ if (!internalBoundNodeMap.has(variable)) internalBoundNodeMap.set(variable, {});
715
+ lodashEs.set(internalBoundNodeMap.get(variable), [
716
716
  variable.name,
717
717
  root,
718
718
  target
@@ -721,10 +721,10 @@
721
721
  };
722
722
  destroyFn(i1.$watch(obj.value.replace("bind:", ""), scope, {}, listener, void 0, void 0, void 0, () => variable.isMuted));
723
723
  } else if (!lodashEs.isUndefined(obj.value)) {
724
- setValueToNode$1(target, obj, root, variable, obj.value, true);
724
+ setValueToNode(target, obj, root, variable, obj.value, true);
725
725
  if (root !== targetNodeKey) {
726
- if (!internalBoundNodeMap$1.has(variable)) internalBoundNodeMap$1.set(variable, {});
727
- lodashEs.set(internalBoundNodeMap$1.get(variable), [
726
+ if (!internalBoundNodeMap.has(variable)) internalBoundNodeMap.set(variable, {});
727
+ lodashEs.set(internalBoundNodeMap.get(variable), [
728
728
  variable.name,
729
729
  root,
730
730
  target