@wavemaker/app-ng-runtime 12.0.0-next.45032 → 12.0.0-next.45503
Sign up to get free protection for your applications and to get access to all the features.
- app-ng-runtime/build-task/bundles/index.umd.js +405 -451
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +2 -3
- app-ng-runtime/build-task/esm2022/public_api.mjs +1 -3
- app-ng-runtime/build-task/fesm2022/index.mjs +406 -454
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/build-task/public_api.d.ts +0 -2
- app-ng-runtime/components/base/bundles/index.umd.js +14 -62
- app-ng-runtime/components/base/components.module.d.ts +11 -12
- app-ng-runtime/components/base/esm2022/components.module.mjs +1 -5
- app-ng-runtime/components/base/esm2022/public_api.mjs +1 -2
- app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +15 -25
- app-ng-runtime/components/base/fesm2022/index.mjs +15 -62
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/public_api.d.ts +0 -1
- app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +5 -10
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +17 -0
- app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +18 -1
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +17 -0
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +1 -0
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +1 -3
- app-ng-runtime/components/data/form/fesm2022/index.mjs +0 -2
- app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +11 -0
- app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +12 -1
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +11 -0
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/bundles/index.umd.js +63 -39
- app-ng-runtime/components/input/default/checkboxset/checkboxset.component.d.ts +0 -1
- app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +5 -8
- app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +5 -8
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +57 -29
- app-ng-runtime/components/input/default/esm2022/text/base/base-input.mjs +1 -4
- app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +2 -2
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +4 -1
- app-ng-runtime/components/input/default/fesm2022/index.mjs +63 -39
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/radioset/radioset.component.d.ts +0 -1
- app-ng-runtime/components/input/default/select/select.component.d.ts +2 -4
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +3 -2
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +3 -0
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +4 -1
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +3 -0
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +31 -5
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +34 -8
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +32 -6
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +6 -2
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +2 -2
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +2 -2
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +2 -2
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +6 -16
- app-ng-runtime/core/enums/enums.d.ts +1 -2
- app-ng-runtime/core/esm2022/enums/enums.mjs +1 -2
- app-ng-runtime/core/esm2022/types/types.mjs +1 -4
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +1 -6
- app-ng-runtime/core/esm2022/utils/utils.mjs +4 -3
- app-ng-runtime/core/fesm2022/index.mjs +4 -12
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/types/types.d.ts +1 -5
- app-ng-runtime/core/utils/utils.d.ts +1 -0
- app-ng-runtime/mobile/core/bundles/index.umd.js +18 -2
- app-ng-runtime/mobile/core/esm2022/native.xhr.mjs +19 -3
- app-ng-runtime/mobile/core/fesm2022/index.mjs +18 -2
- app-ng-runtime/mobile/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +5 -288
- app-ng-runtime/runtime/base/esm2022/public_api.mjs +1 -2
- app-ng-runtime/runtime/base/esm2022/runtime-base.module.mjs +1 -6
- app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +2 -2
- app-ng-runtime/runtime/base/esm2022/types/types.mjs +1 -2
- app-ng-runtime/runtime/base/fesm2022/index.mjs +4 -287
- app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/public_api.d.ts +0 -1
- app-ng-runtime/runtime/base/runtime-base.module.d.ts +8 -9
- app-ng-runtime/runtime/base/types/types.d.ts +1 -2
- app-ng-runtime/runtime/dynamic/bundles/index.umd.js +9 -27
- app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +2 -5
- app-ng-runtime/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +7 -23
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +7 -26
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/scripts/@wavemaker/nvd3/build/nv.d3.min.js +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +6 -3
- app-ng-runtime/scripts/summernote/dist/summernote-lite.min.js +2 -3
- app-ng-runtime/transpiler/bundles/index.umd.js +0 -5
- app-ng-runtime/transpiler/esm2022/build.mjs +1 -4
- app-ng-runtime/transpiler/esm2022/imports.mjs +1 -3
- app-ng-runtime/transpiler/fesm2022/index.mjs +0 -5
- app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/build-task/advanced/custom-widget-container/custom-widget-container.build.d.ts +0 -2
- app-ng-runtime/build-task/advanced/custom-widget-wrapper/custom-widget-wrapper.build.d.ts +0 -2
- app-ng-runtime/build-task/esm2022/advanced/custom-widget-container/custom-widget-container.build.mjs +0 -15
- app-ng-runtime/build-task/esm2022/advanced/custom-widget-wrapper/custom-widget-wrapper.build.mjs +0 -26
- app-ng-runtime/components/advanced/custom/.npmignore +0 -2
- app-ng-runtime/components/advanced/custom/bundles/index.umd.js +0 -232
- app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget-container.directive.d.ts +0 -19
- app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget.props.d.ts +0 -2
- app-ng-runtime/components/advanced/custom/custom-widget-prop.d.ts +0 -1
- app-ng-runtime/components/advanced/custom/custom-widget.directive.d.ts +0 -19
- app-ng-runtime/components/advanced/custom/custom-widget.module.d.ts +0 -10
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget-container.directive.mjs +0 -102
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget.props.mjs +0 -12
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-prop.mjs +0 -8
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget.directive.mjs +0 -68
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget.module.mjs +0 -32
- app-ng-runtime/components/advanced/custom/esm2022/index.mjs +0 -5
- app-ng-runtime/components/advanced/custom/esm2022/public_api.mjs +0 -4
- app-ng-runtime/components/advanced/custom/fesm2022/index.mjs +0 -215
- app-ng-runtime/components/advanced/custom/fesm2022/index.mjs.map +0 -1
- app-ng-runtime/components/advanced/custom/index.d.ts +0 -5
- app-ng-runtime/components/advanced/custom/package.json +0 -23
- app-ng-runtime/components/advanced/custom/public_api.d.ts +0 -3
- app-ng-runtime/components/base/esm2022/widgets/common/base/custom-widget-container.directive.mjs +0 -39
- app-ng-runtime/components/base/widgets/common/base/custom-widget-container.directive.d.ts +0 -14
- app-ng-runtime/runtime/base/components/base-custom-widget.component.d.ts +0 -72
- app-ng-runtime/runtime/base/esm2022/components/base-custom-widget.component.mjs +0 -288
@@ -3,7 +3,6 @@ export * from './services/app.manager.service';
|
|
3
3
|
export * from './services/prefab-manager.service';
|
4
4
|
export * from './components/base-page.component';
|
5
5
|
export * from './components/base-partial.component';
|
6
|
-
export * from './components/base-custom-widget.component';
|
7
6
|
export * from './components/base-prefab.component';
|
8
7
|
export * from './components/base-layout.component';
|
9
8
|
export * from './components/base-spa-page.component';
|
@@ -75,14 +75,13 @@ import * as i68 from "@wm/components/navigation/popover";
|
|
75
75
|
import * as i69 from "@wm/components/advanced/carousel";
|
76
76
|
import * as i70 from "@wm/components/advanced/login";
|
77
77
|
import * as i71 from "@wm/components/advanced/marquee";
|
78
|
-
import * as i72 from "@wm/components/
|
79
|
-
import * as i73 from "@wm/components/page";
|
80
|
-
import * as i74 from "@wm/components/page/
|
81
|
-
import * as i75 from "@wm/components/page/
|
82
|
-
import * as i76 from "@wm/components/page/
|
83
|
-
import * as i77 from "@wm/components/page/
|
84
|
-
import * as i78 from "@wm/components/
|
85
|
-
import * as i79 from "@wm/components/prefab";
|
78
|
+
import * as i72 from "@wm/components/page";
|
79
|
+
import * as i73 from "@wm/components/page/footer";
|
80
|
+
import * as i74 from "@wm/components/page/header";
|
81
|
+
import * as i75 from "@wm/components/page/left-panel";
|
82
|
+
import * as i76 from "@wm/components/page/right-panel";
|
83
|
+
import * as i77 from "@wm/components/page/top-nav";
|
84
|
+
import * as i78 from "@wm/components/prefab";
|
86
85
|
export declare function getSettingProvider(key: string, defaultValue: any): {
|
87
86
|
provide: string;
|
88
87
|
useValue: any;
|
@@ -96,7 +95,7 @@ export declare class RuntimeBaseModule {
|
|
96
95
|
constructor(mobileRuntimeModule: MobileRuntimeModule, app: App, viewport: Viewport);
|
97
96
|
private getDeviceDetails;
|
98
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuntimeBaseModule, never>;
|
99
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RuntimeBaseModule, [typeof i1.AccessrolesDirective, typeof i2.AppSpinnerComponent, typeof i3.CustomToasterComponent, typeof i4.PrefabDirective, typeof i5.AppComponent, typeof i6.PrefabPreviewComponent, typeof i7.EmptyPageComponent], [typeof i8.CommonModule, typeof i9.RouterModule, typeof i10.HttpClientModule, typeof i11.FormsModule, typeof i11.ReactiveFormsModule, typeof i12.ToastrModule, typeof i13.WmComponentsModule, typeof i14.MobileRuntimeModule, typeof i15.CoreModule, typeof i16.SecurityModule, typeof i17.OAuthModule, typeof i18.VariablesModule, typeof i19.HttpServiceModule, typeof i20.ConfirmDialogModule, typeof i21.DesignDialogModule, typeof i22.DialogModule, typeof i23.BsDatepickerModule, typeof i24.TimepickerModule, typeof i25.BsDropdownModule, typeof i26.PaginationModule, typeof i27.TypeaheadModule, typeof i28.ProgressbarModule, typeof i29.CarouselModule, typeof i30.PopoverModule, typeof i31.NgCircleProgressModule, typeof i32.TooltipModule, typeof i33.BasicModule, typeof i34.ProgressModule, typeof i35.RichTextEditorModule, typeof i36.SearchModule, typeof i37.TreeModule, typeof i38.CalendarModule, typeof i39.ChipsModule, typeof i40.ColorPickerModule, typeof i41.CurrencyModule, typeof i42.EpochModule, typeof i43.FileUploadModule, typeof i44.InputModule, typeof i45.RatingModule, typeof i46.SliderModule, typeof i47.CardModule, typeof i48.FormModule, typeof i49.ListModule, typeof i50.LiveTableModule, typeof i51.PaginationModule, typeof i52.TableModule, typeof i53.ChartModule, typeof i54.AccordionModule, typeof i55.LinearLayoutModule, typeof i56.LayoutGridModule, typeof i57.PanelModule, typeof i58.TabsModule, typeof i59.TileModule, typeof i60.WizardModule, typeof i61.AlertDialogModule, typeof i62.IframeDialogModule, typeof i63.LoginDialogModule, typeof i64.PartialDialogModule, typeof i65.BreadcrumbModule, typeof i66.MenuModule, typeof i67.NavbarModule, typeof i68.PopoverModule, typeof i69.CarouselModule, typeof i70.LoginModule, typeof i71.MarqueeModule, typeof i72.
|
98
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RuntimeBaseModule, [typeof i1.AccessrolesDirective, typeof i2.AppSpinnerComponent, typeof i3.CustomToasterComponent, typeof i4.PrefabDirective, typeof i5.AppComponent, typeof i6.PrefabPreviewComponent, typeof i7.EmptyPageComponent], [typeof i8.CommonModule, typeof i9.RouterModule, typeof i10.HttpClientModule, typeof i11.FormsModule, typeof i11.ReactiveFormsModule, typeof i12.ToastrModule, typeof i13.WmComponentsModule, typeof i14.MobileRuntimeModule, typeof i15.CoreModule, typeof i16.SecurityModule, typeof i17.OAuthModule, typeof i18.VariablesModule, typeof i19.HttpServiceModule, typeof i20.ConfirmDialogModule, typeof i21.DesignDialogModule, typeof i22.DialogModule, typeof i23.BsDatepickerModule, typeof i24.TimepickerModule, typeof i25.BsDropdownModule, typeof i26.PaginationModule, typeof i27.TypeaheadModule, typeof i28.ProgressbarModule, typeof i29.CarouselModule, typeof i30.PopoverModule, typeof i31.NgCircleProgressModule, typeof i32.TooltipModule, typeof i33.BasicModule, typeof i34.ProgressModule, typeof i35.RichTextEditorModule, typeof i36.SearchModule, typeof i37.TreeModule, typeof i38.CalendarModule, typeof i39.ChipsModule, typeof i40.ColorPickerModule, typeof i41.CurrencyModule, typeof i42.EpochModule, typeof i43.FileUploadModule, typeof i44.InputModule, typeof i45.RatingModule, typeof i46.SliderModule, typeof i47.CardModule, typeof i48.FormModule, typeof i49.ListModule, typeof i50.LiveTableModule, typeof i51.PaginationModule, typeof i52.TableModule, typeof i53.ChartModule, typeof i54.AccordionModule, typeof i55.LinearLayoutModule, typeof i56.LayoutGridModule, typeof i57.PanelModule, typeof i58.TabsModule, typeof i59.TileModule, typeof i60.WizardModule, typeof i61.AlertDialogModule, typeof i62.IframeDialogModule, typeof i63.LoginDialogModule, typeof i64.PartialDialogModule, typeof i65.BreadcrumbModule, typeof i66.MenuModule, typeof i67.NavbarModule, typeof i68.PopoverModule, typeof i69.CarouselModule, typeof i70.LoginModule, typeof i71.MarqueeModule, typeof i72.PageModule, typeof i73.FooterModule, typeof i74.HeaderModule, typeof i75.LeftPanelModule, typeof i76.RightPanelModule, typeof i77.TopNavModule, typeof i78.PrefabModule], [typeof i11.FormsModule, typeof i11.ReactiveFormsModule, typeof i1.AccessrolesDirective, typeof i2.AppSpinnerComponent, typeof i3.CustomToasterComponent, typeof i4.PrefabDirective, typeof i5.AppComponent, typeof i6.PrefabPreviewComponent, typeof i7.EmptyPageComponent, typeof i8.CommonModule, typeof i9.RouterModule, typeof i10.HttpClientModule, typeof i12.ToastrModule, typeof i13.WmComponentsModule, typeof i14.MobileRuntimeModule, typeof i15.CoreModule, typeof i16.SecurityModule, typeof i17.OAuthModule, typeof i18.VariablesModule, typeof i19.HttpServiceModule, typeof i20.ConfirmDialogModule, typeof i21.DesignDialogModule, typeof i22.DialogModule, typeof i23.BsDatepickerModule, typeof i24.TimepickerModule, typeof i25.BsDropdownModule, typeof i26.PaginationModule, typeof i27.TypeaheadModule, typeof i28.ProgressbarModule, typeof i29.CarouselModule, typeof i30.PopoverModule, typeof i31.NgCircleProgressModule, typeof i32.TooltipModule, typeof i33.BasicModule, typeof i34.ProgressModule, typeof i35.RichTextEditorModule, typeof i36.SearchModule, typeof i37.TreeModule, typeof i38.CalendarModule, typeof i39.ChipsModule, typeof i40.ColorPickerModule, typeof i41.CurrencyModule, typeof i42.EpochModule, typeof i43.FileUploadModule, typeof i44.InputModule, typeof i45.RatingModule, typeof i46.SliderModule, typeof i47.CardModule, typeof i48.FormModule, typeof i49.ListModule, typeof i50.LiveTableModule, typeof i51.PaginationModule, typeof i52.TableModule, typeof i53.ChartModule, typeof i54.AccordionModule, typeof i55.LinearLayoutModule, typeof i56.LayoutGridModule, typeof i57.PanelModule, typeof i58.TabsModule, typeof i59.TileModule, typeof i60.WizardModule, typeof i61.AlertDialogModule, typeof i62.IframeDialogModule, typeof i63.LoginDialogModule, typeof i64.PartialDialogModule, typeof i65.BreadcrumbModule, typeof i66.MenuModule, typeof i67.NavbarModule, typeof i68.PopoverModule, typeof i69.CarouselModule, typeof i70.LoginModule, typeof i71.MarqueeModule, typeof i72.PageModule, typeof i73.FooterModule, typeof i74.HeaderModule, typeof i75.LeftPanelModule, typeof i76.RightPanelModule, typeof i77.TopNavModule, typeof i78.PrefabModule]>;
|
100
99
|
static ɵinj: i0.ɵɵInjectorDeclaration<RuntimeBaseModule>;
|
101
100
|
}
|
102
101
|
export declare const WM_MODULES_FOR_ROOT: ModuleWithProviders<WmComponentsModule>[];
|
@@ -1,8 +1,7 @@
|
|
1
1
|
export declare enum ComponentType {
|
2
2
|
PAGE = 0,
|
3
3
|
PREFAB = 1,
|
4
|
-
PARTIAL = 2
|
5
|
-
WIDGET = 3
|
4
|
+
PARTIAL = 2
|
6
5
|
}
|
7
6
|
export declare abstract class ComponentRefProvider {
|
8
7
|
abstract getComponentFactoryRef(componentName: string, componentType: ComponentType): Promise<any>;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
(function (global, factory) {
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/platform-browser-dynamic'), require('tslib'), require('@angular/platform-browser'), require('@angular/common'), require('@angular/router'), require('@angular/common/http'), require('@angular/forms'), require('ngx-bootstrap/typeahead'), require('ngx-bootstrap/timepicker'), require('ngx-bootstrap/progressbar'), require('ngx-bootstrap/pagination'), require('ngx-bootstrap/modal'), require('ngx-bootstrap/tooltip'), require('ngx-bootstrap/datepicker'), require('ngx-bootstrap/dropdown'), require('ngx-bootstrap/popover'), require('ng-circle-progress'), require('ngx-toastr'), require('ngx-bootstrap/carousel'), require('@wm/core'), require('@wm/components/basic'), require('@wm/components/basic/progress'), require('@wm/components/basic/rich-text-editor'), require('@wm/components/basic/search'), require('@wm/components/basic/tree'), require('@wm/components/input'), require('@wm/components/input/calendar'), require('@wm/components/input/chips'), require('@wm/components/input/color-picker'), require('@wm/components/input/currency'), require('@wm/components/input/epoch'), require('@wm/components/input/file-upload'), require('@wm/components/input/rating'), require('@wm/components/input/slider'), require('@wm/mobile/runtime/dynamic'), require('@wm/components/data/card'), require('@wm/components/data/form'), require('@wm/components/data/list'), require('@wm/components/data/live-table'), require('@wm/components/data/pagination'), require('@wm/components/data/table'), require('@wm/components/chart'), require('@wm/components/containers/accordion'), require('@wm/components/containers/linear-layout'), require('@wm/components/containers/layout-grid'), require('@wm/components/containers/panel'), require('@wm/components/containers/tabs'), require('@wm/components/containers/tile'), require('@wm/components/containers/wizard'), require('@wm/components/dialogs/alert-dialog'), require('@wm/components/dialogs/iframe-dialog'), require('@wm/components/dialogs/login-dialog'), require('@wm/components/dialogs/partial-dialog'), require('@wm/components/navigation/breadcrumb'), require('@wm/components/navigation/menu'), require('@wm/components/navigation/navbar'), require('@wm/components/navigation/popover'), require('@wm/components/advanced/carousel'), require('@wm/components/advanced/login'), require('@wm/components/advanced/marquee'), require('@wm/components/
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/platform-browser-dynamic', 'tslib', '@angular/platform-browser', '@angular/common', '@angular/router', '@angular/common/http', '@angular/forms', 'ngx-bootstrap/typeahead', 'ngx-bootstrap/timepicker', 'ngx-bootstrap/progressbar', 'ngx-bootstrap/pagination', 'ngx-bootstrap/modal', 'ngx-bootstrap/tooltip', 'ngx-bootstrap/datepicker', 'ngx-bootstrap/dropdown', 'ngx-bootstrap/popover', 'ng-circle-progress', 'ngx-toastr', 'ngx-bootstrap/carousel', '@wm/core', '@wm/components/basic', '@wm/components/basic/progress', '@wm/components/basic/rich-text-editor', '@wm/components/basic/search', '@wm/components/basic/tree', '@wm/components/input', '@wm/components/input/calendar', '@wm/components/input/chips', '@wm/components/input/color-picker', '@wm/components/input/currency', '@wm/components/input/epoch', '@wm/components/input/file-upload', '@wm/components/input/rating', '@wm/components/input/slider', '@wm/mobile/runtime/dynamic', '@wm/components/data/card', '@wm/components/data/form', '@wm/components/data/list', '@wm/components/data/live-table', '@wm/components/data/pagination', '@wm/components/data/table', '@wm/components/chart', '@wm/components/containers/accordion', '@wm/components/containers/linear-layout', '@wm/components/containers/layout-grid', '@wm/components/containers/panel', '@wm/components/containers/tabs', '@wm/components/containers/tile', '@wm/components/containers/wizard', '@wm/components/dialogs/alert-dialog', '@wm/components/dialogs/iframe-dialog', '@wm/components/dialogs/login-dialog', '@wm/components/dialogs/partial-dialog', '@wm/components/navigation/breadcrumb', '@wm/components/navigation/menu', '@wm/components/navigation/navbar', '@wm/components/navigation/popover', '@wm/components/advanced/carousel', '@wm/components/advanced/login', '@wm/components/advanced/marquee', '@wm/components/
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.runtime = global.wm.runtime || {}, global.wm.runtime.dynamic = {}), global.ng.core, global.ng.platformBrowserDynamic, global.tslib, global.ng.platformBrowser, global.ng.common, global.ng.router, global.ng.common.http, global.ng.forms, global.typeahead, global.timepicker, global.progressbar, global.pagination, global.modal, global.tooltip, global.datepicker, global.dropdown, global.popover, global.ngCircleProgress, global.ngxToastr, global.carousel, global.wm.core, global.wm.components.basic, global.wm.components.basic.progress, global.wm.components.basic.richtexteditor, global.wm.components.basic.search, global.wm.components.basic.tree, global.wm.components.input, global.wm.components.input.calendar, global.wm.components.input.chips, global.wm.components.input.colorpicker, global.wm.components.input.currency, global.wm.components.input.epoch, global.wm.components.input.fileupload, global.wm.components.input.rating, global.wm.components.input.slider, global.wm.mobile.runtime.dynamic, global.wm.components.data.card, global.wm.components.data.form, global.wm.components.data.list, global.wm.components.data.livetable, global.wm.components.data.pagination, global.wm.components.data.table, global.wm.components.chart, global.wm.components.containers.accordion, global.wm.components.containers.linearlayout, global.wm.components.containers.layoutgrid, global.wm.components.containers.panel, global.wm.components.containers.tabs, global.wm.components.containers.tile, global.wm.components.containers.wizard, global.wm.components.dialogs.alertdialog, global.wm.components.dialogs.iframedialog, global.wm.components.dialogs.logindialog, global.wm.components.dialogs.partialdialog, global.wm.components.navigation.breadcrumb, global.wm.components.navigation.menu, global.wm.components.navigation.navbar, global.wm.components.navigation.popover, global.wm.components.advanced.carousel, global.wm.components.advanced.login, global.wm.components.advanced.marquee, global.wm.components.
|
5
|
-
})(this, (function (exports, i0, platformBrowserDynamic, tslib, platformBrowser, common, i1, i1$1, forms, typeahead, timepicker, progressbar, pagination, modal, tooltip, datepicker, dropdown, popover, ngCircleProgress, ngxToastr, carousel, i5, basic, progress, richTextEditor, search, tree, input, calendar, chips, colorPicker, currency, epoch, fileUpload, rating, slider, dynamic, card, form, list, liveTable, pagination$1, table, chart, accordion, linearLayout, layoutGrid, panel, tabs, tile, wizard, alertDialog, iframeDialog, loginDialog, partialDialog, breadcrumb, menu, navbar, popover$1, carousel$1, login, marquee,
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/platform-browser-dynamic'), require('tslib'), require('@angular/platform-browser'), require('@angular/common'), require('@angular/router'), require('@angular/common/http'), require('@angular/forms'), require('ngx-bootstrap/typeahead'), require('ngx-bootstrap/timepicker'), require('ngx-bootstrap/progressbar'), require('ngx-bootstrap/pagination'), require('ngx-bootstrap/modal'), require('ngx-bootstrap/tooltip'), require('ngx-bootstrap/datepicker'), require('ngx-bootstrap/dropdown'), require('ngx-bootstrap/popover'), require('ng-circle-progress'), require('ngx-toastr'), require('ngx-bootstrap/carousel'), require('@wm/core'), require('@wm/components/basic'), require('@wm/components/basic/progress'), require('@wm/components/basic/rich-text-editor'), require('@wm/components/basic/search'), require('@wm/components/basic/tree'), require('@wm/components/input'), require('@wm/components/input/calendar'), require('@wm/components/input/chips'), require('@wm/components/input/color-picker'), require('@wm/components/input/currency'), require('@wm/components/input/epoch'), require('@wm/components/input/file-upload'), require('@wm/components/input/rating'), require('@wm/components/input/slider'), require('@wm/mobile/runtime/dynamic'), require('@wm/components/data/card'), require('@wm/components/data/form'), require('@wm/components/data/list'), require('@wm/components/data/live-table'), require('@wm/components/data/pagination'), require('@wm/components/data/table'), require('@wm/components/chart'), require('@wm/components/containers/accordion'), require('@wm/components/containers/linear-layout'), require('@wm/components/containers/layout-grid'), require('@wm/components/containers/panel'), require('@wm/components/containers/tabs'), require('@wm/components/containers/tile'), require('@wm/components/containers/wizard'), require('@wm/components/dialogs/alert-dialog'), require('@wm/components/dialogs/iframe-dialog'), require('@wm/components/dialogs/login-dialog'), require('@wm/components/dialogs/partial-dialog'), require('@wm/components/navigation/breadcrumb'), require('@wm/components/navigation/menu'), require('@wm/components/navigation/navbar'), require('@wm/components/navigation/popover'), require('@wm/components/advanced/carousel'), require('@wm/components/advanced/login'), require('@wm/components/advanced/marquee'), require('@wm/components/page'), require('@wm/components/page/footer'), require('@wm/components/page/header'), require('@wm/components/page/left-panel'), require('@wm/components/page/right-panel'), require('@wm/components/page/top-nav'), require('@wm/components/prefab'), require('@wm/runtime/base'), require('@wm/variables'), require('@wm/security'), require('@wm/transpiler'), require('lodash-es'), require('@angular/platform-browser/animations')) :
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/platform-browser-dynamic', 'tslib', '@angular/platform-browser', '@angular/common', '@angular/router', '@angular/common/http', '@angular/forms', 'ngx-bootstrap/typeahead', 'ngx-bootstrap/timepicker', 'ngx-bootstrap/progressbar', 'ngx-bootstrap/pagination', 'ngx-bootstrap/modal', 'ngx-bootstrap/tooltip', 'ngx-bootstrap/datepicker', 'ngx-bootstrap/dropdown', 'ngx-bootstrap/popover', 'ng-circle-progress', 'ngx-toastr', 'ngx-bootstrap/carousel', '@wm/core', '@wm/components/basic', '@wm/components/basic/progress', '@wm/components/basic/rich-text-editor', '@wm/components/basic/search', '@wm/components/basic/tree', '@wm/components/input', '@wm/components/input/calendar', '@wm/components/input/chips', '@wm/components/input/color-picker', '@wm/components/input/currency', '@wm/components/input/epoch', '@wm/components/input/file-upload', '@wm/components/input/rating', '@wm/components/input/slider', '@wm/mobile/runtime/dynamic', '@wm/components/data/card', '@wm/components/data/form', '@wm/components/data/list', '@wm/components/data/live-table', '@wm/components/data/pagination', '@wm/components/data/table', '@wm/components/chart', '@wm/components/containers/accordion', '@wm/components/containers/linear-layout', '@wm/components/containers/layout-grid', '@wm/components/containers/panel', '@wm/components/containers/tabs', '@wm/components/containers/tile', '@wm/components/containers/wizard', '@wm/components/dialogs/alert-dialog', '@wm/components/dialogs/iframe-dialog', '@wm/components/dialogs/login-dialog', '@wm/components/dialogs/partial-dialog', '@wm/components/navigation/breadcrumb', '@wm/components/navigation/menu', '@wm/components/navigation/navbar', '@wm/components/navigation/popover', '@wm/components/advanced/carousel', '@wm/components/advanced/login', '@wm/components/advanced/marquee', '@wm/components/page', '@wm/components/page/footer', '@wm/components/page/header', '@wm/components/page/left-panel', '@wm/components/page/right-panel', '@wm/components/page/top-nav', '@wm/components/prefab', '@wm/runtime/base', '@wm/variables', '@wm/security', '@wm/transpiler', 'lodash-es', '@angular/platform-browser/animations'], factory) :
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.runtime = global.wm.runtime || {}, global.wm.runtime.dynamic = {}), global.ng.core, global.ng.platformBrowserDynamic, global.tslib, global.ng.platformBrowser, global.ng.common, global.ng.router, global.ng.common.http, global.ng.forms, global.typeahead, global.timepicker, global.progressbar, global.pagination, global.modal, global.tooltip, global.datepicker, global.dropdown, global.popover, global.ngCircleProgress, global.ngxToastr, global.carousel, global.wm.core, global.wm.components.basic, global.wm.components.basic.progress, global.wm.components.basic.richtexteditor, global.wm.components.basic.search, global.wm.components.basic.tree, global.wm.components.input, global.wm.components.input.calendar, global.wm.components.input.chips, global.wm.components.input.colorpicker, global.wm.components.input.currency, global.wm.components.input.epoch, global.wm.components.input.fileupload, global.wm.components.input.rating, global.wm.components.input.slider, global.wm.mobile.runtime.dynamic, global.wm.components.data.card, global.wm.components.data.form, global.wm.components.data.list, global.wm.components.data.livetable, global.wm.components.data.pagination, global.wm.components.data.table, global.wm.components.chart, global.wm.components.containers.accordion, global.wm.components.containers.linearlayout, global.wm.components.containers.layoutgrid, global.wm.components.containers.panel, global.wm.components.containers.tabs, global.wm.components.containers.tile, global.wm.components.containers.wizard, global.wm.components.dialogs.alertdialog, global.wm.components.dialogs.iframedialog, global.wm.components.dialogs.logindialog, global.wm.components.dialogs.partialdialog, global.wm.components.navigation.breadcrumb, global.wm.components.navigation.menu, global.wm.components.navigation.navbar, global.wm.components.navigation.popover, global.wm.components.advanced.carousel, global.wm.components.advanced.login, global.wm.components.advanced.marquee, global.wm.components.page, global.wm.components.page.footer, global.wm.components.page.header, global.wm.components.page.leftpanel, global.wm.components.page.rightpanel, global.wm.components.page.topnav, global.wm.components.prefab, global.wm.runtime.base, global.wm.variables, global.wm.security, global.wm.transpiler, global._, global.ng.platformBrowser.animations));
|
5
|
+
})(this, (function (exports, i0, platformBrowserDynamic, tslib, platformBrowser, common, i1, i1$1, forms, typeahead, timepicker, progressbar, pagination, modal, tooltip, datepicker, dropdown, popover, ngCircleProgress, ngxToastr, carousel, i5, basic, progress, richTextEditor, search, tree, input, calendar, chips, colorPicker, currency, epoch, fileUpload, rating, slider, dynamic, card, form, list, liveTable, pagination$1, table, chart, accordion, linearLayout, layoutGrid, panel, tabs, tile, wizard, alertDialog, iframeDialog, loginDialog, partialDialog, breadcrumb, menu, navbar, popover$1, carousel$1, login, marquee, page, footer, header, leftPanel, rightPanel, topNav, prefab, i4, i2, i3, transpiler, lodashEs, animations) { 'use strict';
|
6
6
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
8
8
|
var n = Object.create(null);
|
@@ -28,7 +28,6 @@
|
|
28
28
|
var i4__namespace = /*#__PURE__*/_interopNamespaceDefault(i4);
|
29
29
|
var i2__namespace = /*#__PURE__*/_interopNamespaceDefault(i2);
|
30
30
|
var i3__namespace = /*#__PURE__*/_interopNamespaceDefault(i3);
|
31
|
-
var customWidgets__namespace = /*#__PURE__*/_interopNamespaceDefault(customWidgets);
|
32
31
|
|
33
32
|
class PageWrapperComponent {
|
34
33
|
constructor(injector, route, vcRef, appRef, metadataService, securityService, appManager, app, ngZone, elRef, spinnerService, componentRefProvider, router) {
|
@@ -239,7 +238,6 @@
|
|
239
238
|
componentFactoryRefCache.set(i4.ComponentType.PAGE, new Map());
|
240
239
|
componentFactoryRefCache.set(i4.ComponentType.PARTIAL, new Map());
|
241
240
|
componentFactoryRefCache.set(i4.ComponentType.PREFAB, new Map());
|
242
|
-
componentFactoryRefCache.set(i4.ComponentType.WIDGET, new Map());
|
243
241
|
const _decodeURIComponent = (str) => decodeURIComponent(str.replace(/\+/g, ' '));
|
244
242
|
const getFragmentUrl = (fragmentName, type, options) => {
|
245
243
|
if (type === i4.ComponentType.PAGE || type === i4.ComponentType.PARTIAL) {
|
@@ -248,9 +246,6 @@
|
|
248
246
|
else if (type === i4.ComponentType.PREFAB) {
|
249
247
|
return i4.getPrefabMinJsonUrl(fragmentName);
|
250
248
|
}
|
251
|
-
else if (type === i4.ComponentType.WIDGET) {
|
252
|
-
return `./custom-widgets/${fragmentName}/page.min.json`;
|
253
|
-
}
|
254
249
|
};
|
255
250
|
const scriptCache = new Map();
|
256
251
|
const execScript = (script, identifier, ctx, instance, app, utils) => {
|
@@ -300,11 +295,6 @@
|
|
300
295
|
selector = `app-prefab-${componentName}`;
|
301
296
|
context = 'Prefab';
|
302
297
|
break;
|
303
|
-
case i4.ComponentType.WIDGET:
|
304
|
-
BaseClass = i4.BaseCustomWidgetComponent;
|
305
|
-
selector = `app-custom-${componentName}`;
|
306
|
-
context = 'Widget';
|
307
|
-
break;
|
308
298
|
}
|
309
299
|
let DynamicComponent = class DynamicComponent extends BaseClass {
|
310
300
|
constructor(injector) {
|
@@ -322,9 +312,6 @@
|
|
322
312
|
case i4.ComponentType.PREFAB:
|
323
313
|
this.prefabName = componentName;
|
324
314
|
break;
|
325
|
-
case i4.ComponentType.WIDGET:
|
326
|
-
this.customWidgetName = componentName;
|
327
|
-
break;
|
328
315
|
}
|
329
316
|
super.init();
|
330
317
|
}
|
@@ -360,18 +347,17 @@
|
|
360
347
|
const url = getFragmentUrl(componentName, componentType, options);
|
361
348
|
const resource = fragmentCache.get(url);
|
362
349
|
if (resource) {
|
363
|
-
return resource;
|
350
|
+
return Promise.resolve(resource);
|
364
351
|
}
|
365
|
-
|
366
|
-
.then(({ markup, script, styles, variables
|
352
|
+
return this.resouceMngr.get(url, true)
|
353
|
+
.then(({ markup, script, styles, variables }) => {
|
367
354
|
const response = {
|
368
355
|
markup: transpiler.transpile(_decodeURIComponent(markup)).markup,
|
369
356
|
script: _decodeURIComponent(script),
|
370
357
|
styles: transpiler.scopeComponentStyles(componentName, componentType, _decodeURIComponent(styles)),
|
371
|
-
variables: i5.getValidJSON(_decodeURIComponent(variables))
|
372
|
-
...(config ? { config: i5.getValidJSON(_decodeURIComponent(config)) } : {})
|
358
|
+
variables: i5.getValidJSON(_decodeURIComponent(variables))
|
373
359
|
};
|
374
|
-
fragmentCache.set(url,
|
360
|
+
fragmentCache.set(url, response);
|
375
361
|
return response;
|
376
362
|
}, e => {
|
377
363
|
const status = e.details.status;
|
@@ -381,8 +367,6 @@
|
|
381
367
|
};
|
382
368
|
return Promise.reject(errorMsgMap[status]);
|
383
369
|
});
|
384
|
-
fragmentCache.set(url, promise);
|
385
|
-
return promise;
|
386
370
|
}
|
387
371
|
constructor(resouceMngr, app, appManager, compiler) {
|
388
372
|
super();
|
@@ -544,7 +528,6 @@
|
|
544
528
|
carousel$1.CarouselModule,
|
545
529
|
login.LoginModule,
|
546
530
|
marquee.MarqueeModule,
|
547
|
-
custom.CustomModule,
|
548
531
|
page.PageModule,
|
549
532
|
footer.FooterModule,
|
550
533
|
header.HeaderModule,
|
@@ -602,7 +585,6 @@
|
|
602
585
|
{ provide: i4.AppExtensionProvider, useClass: AppExtensionProviderService },
|
603
586
|
{ provide: i4.ComponentRefProvider, useClass: ComponentRefProviderService },
|
604
587
|
{ provide: i5.PartialRefProvider, useClass: ComponentRefProviderService },
|
605
|
-
{ provide: i5.CustomWidgetRefProvider, useClass: ComponentRefProviderService },
|
606
588
|
{ provide: i4.PrefabConfigProvider, useClass: PrefabConfigProviderService },
|
607
589
|
{ provide: i1.RouteReuseStrategy, useClass: i4.WmRouteReuseStrategy }
|
608
590
|
],
|
@@ -17,7 +17,7 @@ import { PopoverModule as ngxPopoverModule } from 'ngx-bootstrap/popover';
|
|
17
17
|
import { NgCircleProgressModule } from 'ng-circle-progress';
|
18
18
|
import { ToastNoAnimationModule } from 'ngx-toastr';
|
19
19
|
import { CarouselModule as ngxCarouselModule, } from 'ngx-bootstrap/carousel';
|
20
|
-
import { App, getWmProjectProperties, PartialRefProvider
|
20
|
+
import { App, getWmProjectProperties, PartialRefProvider } from '@wm/core';
|
21
21
|
// Basic widgets
|
22
22
|
import { BasicModule } from '@wm/components/basic';
|
23
23
|
import { ProgressModule } from '@wm/components/basic/progress';
|
@@ -66,7 +66,6 @@ import { PopoverModule } from '@wm/components/navigation/popover';
|
|
66
66
|
import { CarouselModule } from '@wm/components/advanced/carousel';
|
67
67
|
import { LoginModule } from '@wm/components/advanced/login';
|
68
68
|
import { MarqueeModule } from '@wm/components/advanced/marquee';
|
69
|
-
import { CustomModule } from '@wm/components/advanced/custom';
|
70
69
|
import { PageModule } from '@wm/components/page';
|
71
70
|
import { FooterModule } from '@wm/components/page/footer';
|
72
71
|
import { HeaderModule } from '@wm/components/page/header';
|
@@ -166,7 +165,6 @@ const componentsModule = [
|
|
166
165
|
CarouselModule,
|
167
166
|
LoginModule,
|
168
167
|
MarqueeModule,
|
169
|
-
CustomModule,
|
170
168
|
PageModule,
|
171
169
|
FooterModule,
|
172
170
|
HeaderModule,
|
@@ -224,7 +222,6 @@ AppModule = __decorate([
|
|
224
222
|
{ provide: AppExtensionProvider, useClass: AppExtensionProviderService },
|
225
223
|
{ provide: ComponentRefProvider, useClass: ComponentRefProviderService },
|
226
224
|
{ provide: PartialRefProvider, useClass: ComponentRefProviderService },
|
227
|
-
{ provide: CustomWidgetRefProvider, useClass: ComponentRefProviderService },
|
228
225
|
{ provide: PrefabConfigProvider, useClass: PrefabConfigProviderService },
|
229
226
|
{ provide: RouteReuseStrategy, useClass: WmRouteReuseStrategy }
|
230
227
|
],
|
@@ -233,4 +230,4 @@ AppModule = __decorate([
|
|
233
230
|
__metadata("design:paramtypes", [App, Injector, ComponentRefProvider])
|
234
231
|
], AppModule);
|
235
232
|
export { AppModule };
|
236
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3J1bnRpbWUtZHluYW1pYy9zcmMvYXBwL2FwcC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQXVCLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN4RSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDMUQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUNuRSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUM5RSxPQUFPLEVBQUUsV0FBVyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFbEUsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHlCQUF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hbFJlZlByb3ZpZGVyLCB1c2VDbGFzczogQ29tcG9uZW50UmVmUHJvdmlkZXJTZXJ2aWNlIH0sXG4gICAgICAgIHsgcHJvdmlkZTogUHJlZmFiQ29uZmlnUHJvdmlkZXIsIHVzZUNsYXNzOiBQcmVmYWJDb25maWdQcm92aWRlclNlcnZpY2UgfSxcbiAgICAgICAgeyBwcm92aWRlOiBSb3V0ZVJldXNlU3RyYXRlZ3ksIHVzZUNsYXNzOiBXbVJvdXRlUmV1c2VTdHJhdGVneSB9XG4gICAgXSxcbiAgICBib290c3RyYXA6IFtBcHBDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIEFwcE1vZHVsZSB7XG4gICAgY29uc3RydWN0b3IocHJpdmF0ZSBhcHA6IEFwcCwgcHJpdmF0ZSBpbmo6IEluamVjdG9yLCBwcml2YXRlIGNvbXBvbmVudFJlZlByb3ZpZGVyOiBDb21wb25lbnRSZWZQcm92aWRlcikge1xuICAgICAgICBpZiAod2luZG93Wydjb3Jkb3ZhJ10pIHtcbiAgICAgICAgICAgIC8vIGNsZWFyIHRoZSBjYWNoZWQgdXJscyBvbiBsb2dvdXQsIHRvIGxvYWQgdGhlIExvZ2luIFBhZ2UgYW5kIG5vdCB0aGUgTWFpbiBQYWdlIGFzIGFwcCByZWxvYWQod2luZG93LmxvY2F0aW9uLnJlbG9hZCkgaXMgbm90IGludm9rZWQgaW4gbW9iaWxlXG4gICAgICAgICAgICB0aGlzLmFwcC5zdWJzY3JpYmUoJ3VzZXJMb2dnZWRPdXQnLCB0aGlzLmNvbXBvbmVudFJlZlByb3ZpZGVyLmNsZWFyQ29tcG9uZW50RmFjdG9yeVJlZkNhY2hlLmJpbmQodGhpcy5jb21wb25lbnRSZWZQcm92aWRlcikpO1xuICAgICAgICB9XG4gICAgfVxufVxuIl19
|
@@ -2,10 +2,9 @@ import { __decorate, __metadata, __param } from "tslib";
|
|
2
2
|
import { Compiler, Component, CUSTOM_ELEMENTS_SCHEMA, Inject, Injectable, Injector, NgModule, NO_ERRORS_SCHEMA, ViewEncapsulation } from '@angular/core';
|
3
3
|
import { App, getValidJSON, UserDefinedExecutionContext } from '@wm/core';
|
4
4
|
import { transpile, scopeComponentStyles } from '@wm/transpiler';
|
5
|
-
import { AppManagerService, BasePageComponent, BasePartialComponent,
|
5
|
+
import { AppManagerService, BasePageComponent, BasePartialComponent, BasePrefabComponent, ComponentRefProvider, ComponentType, RuntimeBaseModule, getPrefabMinJsonUrl, getPrefabPartialJsonUrl } from '@wm/runtime/base';
|
6
6
|
import { AppResourceManagerService } from './app-resource-manager.service';
|
7
7
|
import { isString, isUndefined } from "lodash-es";
|
8
|
-
import * as customWidgets from '@wavemaker/custom-widgets-m3';
|
9
8
|
import * as i0 from "@angular/core";
|
10
9
|
import * as i1 from "./app-resource-manager.service";
|
11
10
|
import * as i2 from "@wm/core";
|
@@ -16,7 +15,6 @@ const componentFactoryRefCache = new Map();
|
|
16
15
|
componentFactoryRefCache.set(ComponentType.PAGE, new Map());
|
17
16
|
componentFactoryRefCache.set(ComponentType.PARTIAL, new Map());
|
18
17
|
componentFactoryRefCache.set(ComponentType.PREFAB, new Map());
|
19
|
-
componentFactoryRefCache.set(ComponentType.WIDGET, new Map());
|
20
18
|
const _decodeURIComponent = (str) => decodeURIComponent(str.replace(/\+/g, ' '));
|
21
19
|
const getFragmentUrl = (fragmentName, type, options) => {
|
22
20
|
if (type === ComponentType.PAGE || type === ComponentType.PARTIAL) {
|
@@ -25,9 +23,6 @@ const getFragmentUrl = (fragmentName, type, options) => {
|
|
25
23
|
else if (type === ComponentType.PREFAB) {
|
26
24
|
return getPrefabMinJsonUrl(fragmentName);
|
27
25
|
}
|
28
|
-
else if (type === ComponentType.WIDGET) {
|
29
|
-
return `./custom-widgets/${fragmentName}/page.min.json`;
|
30
|
-
}
|
31
26
|
};
|
32
27
|
const scriptCache = new Map();
|
33
28
|
const execScript = (script, identifier, ctx, instance, app, utils) => {
|
@@ -77,11 +72,6 @@ const getDynamicComponent = (componentName, type, template, css, script, variabl
|
|
77
72
|
selector = `app-prefab-${componentName}`;
|
78
73
|
context = 'Prefab';
|
79
74
|
break;
|
80
|
-
case ComponentType.WIDGET:
|
81
|
-
BaseClass = BaseCustomWidgetComponent;
|
82
|
-
selector = `app-custom-${componentName}`;
|
83
|
-
context = 'Widget';
|
84
|
-
break;
|
85
75
|
}
|
86
76
|
let DynamicComponent = class DynamicComponent extends BaseClass {
|
87
77
|
constructor(injector) {
|
@@ -99,9 +89,6 @@ const getDynamicComponent = (componentName, type, template, css, script, variabl
|
|
99
89
|
case ComponentType.PREFAB:
|
100
90
|
this.prefabName = componentName;
|
101
91
|
break;
|
102
|
-
case ComponentType.WIDGET:
|
103
|
-
this.customWidgetName = componentName;
|
104
|
-
break;
|
105
92
|
}
|
106
93
|
super.init();
|
107
94
|
}
|
@@ -137,18 +124,17 @@ export class ComponentRefProviderService extends ComponentRefProvider {
|
|
137
124
|
const url = getFragmentUrl(componentName, componentType, options);
|
138
125
|
const resource = fragmentCache.get(url);
|
139
126
|
if (resource) {
|
140
|
-
return resource;
|
127
|
+
return Promise.resolve(resource);
|
141
128
|
}
|
142
|
-
|
143
|
-
.then(({ markup, script, styles, variables
|
129
|
+
return this.resouceMngr.get(url, true)
|
130
|
+
.then(({ markup, script, styles, variables }) => {
|
144
131
|
const response = {
|
145
132
|
markup: transpile(_decodeURIComponent(markup)).markup,
|
146
133
|
script: _decodeURIComponent(script),
|
147
134
|
styles: scopeComponentStyles(componentName, componentType, _decodeURIComponent(styles)),
|
148
|
-
variables: getValidJSON(_decodeURIComponent(variables))
|
149
|
-
...(config ? { config: getValidJSON(_decodeURIComponent(config)) } : {})
|
135
|
+
variables: getValidJSON(_decodeURIComponent(variables))
|
150
136
|
};
|
151
|
-
fragmentCache.set(url,
|
137
|
+
fragmentCache.set(url, response);
|
152
138
|
return response;
|
153
139
|
}, e => {
|
154
140
|
const status = e.details.status;
|
@@ -158,8 +144,6 @@ export class ComponentRefProviderService extends ComponentRefProvider {
|
|
158
144
|
};
|
159
145
|
return Promise.reject(errorMsgMap[status]);
|
160
146
|
});
|
161
|
-
fragmentCache.set(url, promise);
|
162
|
-
return promise;
|
163
147
|
}
|
164
148
|
constructor(resouceMngr, app, appManager, compiler) {
|
165
149
|
super();
|
@@ -214,4 +198,4 @@ export class ComponentRefProviderService extends ComponentRefProvider {
|
|
214
198
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentRefProviderService, [{
|
215
199
|
type: Injectable
|
216
200
|
}], () => [{ type: i1.AppResourceManagerService }, { type: i2.App }, { type: i3.AppManagerService }, { type: i0.Compiler }], null); })();
|
217
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50LXJlZi1wcm92aWRlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcnVudGltZS1keW5hbWljL3NyYy9hcHAvc2VydmljZXMvY29tcG9uZW50LXJlZi1wcm92aWRlci5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQ0gsUUFBUSxFQUNSLFNBQVMsRUFDVCxzQkFBc0IsRUFBYyxNQUFNLEVBQzFDLFVBQVUsRUFDVixRQUFRLEVBQ1IsUUFBUSxFQUNSLGdCQUFnQixFQUNoQixpQkFBaUIsRUFDcEIsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLEdBQUcsRUFBRSxZQUFZLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFDMUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2pFLE9BQU8sRUFDSCxpQkFBaUIsRUFDakIsaUJBQWlCLEVBQ2pCLG9CQUFvQixFQUNwQix5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CYXNlUGFydGlhbENvbXBvbmVudDtcbiAgICAgICAgICAgIHNlbGVjdG9yID0gYGFwcC1wYXJ0aWFsLSR7Y29tcG9uZW50TmFtZX1gO1xuICAgICAgICAgICAgY29udGV4dCA9ICdQYXJ0aWFsJztcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICBjYXNlIENvbXBvbmVudFR5cGUuUFJFRkFCOlxuICAgICAgICAgICAgQmFzZUNsYXNzID0gQmFzZVByZWZhYkNvbXBvbmVudDtcbiAgICAgICAgICAgIHNlbGVjdG9yID0gYGFwcC1wcmVmYWItJHtjb21wb25lbnROYW1lfWA7XG4gICAgICAgICAgICBjb250ZXh0ID0gJ1ByZWZhYic7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgY2FzZSBDb21wb25lbnRUeXBlLldJREdFVDpcbiAgICAgICAgICAgIEJhc2VDbGFzcyA9IEJhc2VDdXN0b21XaWRnZXRDb21wb25lbnQ7XG4gICAgICAgICAgICBzZWxlY3RvciA9IGBhcHAtY3VzdG9tLSR7Y29tcG9uZW50TmFtZX1gO1xuICAgICAgICAgICAgY29udGV4dCA9ICdXaWRnZXQnO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgfVxuXG4gICAgY2xhc3MgRHluYW1pY0NvbXBvbmVudCBleHRlbmRzIEJhc2VDbGFzcyB7XG4gICAgICAgIGlzRHluYW1pY0NvbXBvbmVudDogYm9vbGVhbiA9IHRydWU7XG4gICAgICAgIHBhZ2VOYW1lO1xuICAgICAgICBwYXJ0aWFsTmFtZTtcbiAgICAgICAgcHJlZmFiTmFtZTtcbiAgICAgICAgY3VzdG9tV2lkZ2V0TmFtZTtcbiAgICAgICAgY29uc3RydWN0b3IoQEluamVjdChJbmplY3RvcikgcHVibGljIGluamVjdG9yOiBJbmplY3Rvcikge1xuICAgICAgICAgICAgc3VwZXIoKTtcbiAgICAgICAgICAgIHRoaXMuaW5qZWN0b3IgPSBpbmplY3RvcjtcbiAgICAgICAgICAgIHN3aXRjaCAodHlwZSkge1xuICAgICAgICAgICAgICAgIGNhc2UgQ29tcG9uZW50VHlwZS5QQUdFOlxuICAgICAgICAgICAgICAgICAgICB0aGlzLnBhZ2VOYW1lID0gY29tcG9uZW50TmFtZTtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgY2FzZSBDb21wb25lbnRUeXBlLlBBUlRJQUw6XG4gICAgICAgICAgICAgICAgICAgIHRoaXMucGFydGlhbE5hbWUgPSBjb21wb25lbnROYW1lO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICBjYXNlIENvbXBvbmVudFR5cGUuUFJFRkFCOlxuICAgICAgICAgICAgICAgICAgICB0aGlzLnByZWZhYk5hbWUgPSBjb21wb25lbnROYW1lO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICBjYXNlIENvbXBvbmVudFR5cGUuV0lER0VUOlxuICAgICAgICAgICAgICAgICAgICB0aGlzLmN1c3RvbVdpZGdldE5hbWUgPSBjb21wb25lbnROYW1lO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgc3VwZXIuaW5pdCgpO1xuICAgICAgICB9XG5cbiAgICAgICAgZXZhbFVzZXJTY3JpcHQoaW5zdGFuY2U6IGFueSwgYXBwQ29udGV4dDogYW55LCB1dGlsczogYW55KSB7XG4gICAgICAgICAgICBleGVjU2NyaXB0KHNjcmlwdCwgc2VsZWN0b3IsIGNvbnRleHQsIGluc3RhbmNlLCBhcHBDb250ZXh0LCB1dGlscyk7XG4gICAgICAgIH1cblxuICAgICAgICBnZXRWYXJpYWJsZXMoKSB7XG4gICAgICAgICAgICByZXR1cm4gSlNPTi5wYXJzZSh2YXJpYWJsZXMpO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gaW4gcHJldmlldyBtb2RlLCB0aGVyZSB3aWxsIGJlIG5vIGZ1bmN0aW9uIHJlZ2lzdGVyZWQuIGZ1bmN0aW9ucyB3aWxsIGJlIGdlbmVyYXRlZCBkeW5hbWljYWxseSB0aHJvdWdoICRwYXJzZUV2ZW50IGFuZCAkcGFyc2VFeHByXG4gICAgICAgIGdldEV4cHJlc3Npb25zKCkge1xuICAgICAgICAgICAgcmV0dXJuIHt9O1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgY29uc3QgY29tcG9uZW50ID0gQ29tcG9uZW50KHtcbiAgICAgICAgLi4uY29tcG9uZW50RGVmLFxuICAgICAgICBzZWxlY3RvcixcbiAgICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgcHJvdmlkZTogVXNlckRlZmluZWRFeGVjdXRpb25Db250ZXh0LFxuICAgICAgICAgICAgICAgIHVzZUV4aXN0aW5nOiBEeW5hbWljQ29tcG9uZW50XG4gICAgICAgICAgICB9XG4gICAgICAgIF1cbiAgICB9KShEeW5hbWljQ29tcG9uZW50KVxuICAgIHJldHVybiBjb21wb25lbnQ7XG59O1xuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgQ29tcG9uZW50UmVmUHJvdmlkZXJTZXJ2aWNlIGV4dGVuZHMgQ29tcG9uZW50UmVmUHJvdmlkZXIge1xuXG4gICAgcHJpdmF0ZSBsb2FkUmVzb3VyY2VzT2ZGcmFnbWVudChjb21wb25lbnROYW1lLCBjb21wb25lbnRUeXBlLCBvcHRpb25zPyk6IFByb21pc2U8SVBhZ2VNaW5KU09OPiB7XG4gICAgICAgIGNvbnN0IHVybCA9IGdldEZyYWdtZW50VXJsKGNvbXBvbmVudE5hbWUsIGNvbXBvbmVudFR5cGUsIG9wdGlvbnMpO1xuXG4gICAgICAgIGNvbnN0IHJlc291cmNlID0gZnJhZ21lbnRDYWNoZS5nZXQodXJsKTtcblxuICAgICAgICBpZiAocmVzb3VyY2UpIHtcbiAgICAgICAgICAgIHJldHVybiByZXNvdXJjZTtcbiAgICAgICAgfVxuICAgICAgICBjb25zdCBwcm9taXNlID0gKCgoY29tcG9uZW50VHlwZSA9PT0gQ29tcG9uZW50VHlwZS5XSURHRVQgJiYgIWN1c3RvbVdpZGdldHNbY29tcG9uZW50TmFtZV0pIHx8IGNvbXBvbmVudFR5cGUgIT09IENvbXBvbmVudFR5cGUuV0lER0VUKSAgPyB0aGlzLnJlc291Y2VNbmdyLmdldCh1cmwsIHRydWUpIDogUHJvbWlzZS5yZXNvbHZlKGN1c3RvbVdpZGdldHNbY29tcG9uZW50TmFtZV0pKVxuICAgICAgICAgICAgLnRoZW4oKHttYXJrdXAsIHNjcmlwdCwgc3R5bGVzLCB2YXJpYWJsZXMsIGNvbmZpZ306IElQYWdlTWluSlNPTikgPT4ge1xuICAgICAgICAgICAgICAgIGNvbnN0IHJlc3BvbnNlID0ge1xuICAgICAgICAgICAgICAgICAgICBtYXJrdXA6IHRyYW5zcGlsZShfZGVjb2RlVVJJQ29tcG9uZW50KG1hcmt1cCkpLm1hcmt1cCxcbiAgICAgICAgICAgICAgICAgICAgc2NyaXB0OiBfZGVjb2RlVVJJQ29tcG9uZW50KHNjcmlwdCksXG4gICAgICAgICAgICAgICAgICAgIHN0eWxlczogc2NvcGVDb21wb25lbnRTdHlsZXMoY29tcG9uZW50TmFtZSwgY29tcG9uZW50VHlwZSwgX2RlY29kZVVSSUNvbXBvbmVudChzdHlsZXMpKSxcbiAgICAgICAgICAgICAgICAgICAgdmFyaWFibGVzOiBnZXRWYWxpZEpTT04oX2RlY29kZVVSSUNvbXBvbmVudCh2YXJpYWJsZXMpKSxcbiAgICAgICAgICAgICAgICAgICAgLi4uKGNvbmZpZz8ge2NvbmZpZyA6IGdldFZhbGlkSlNPTihfZGVjb2RlVVJJQ29tcG9uZW50KGNvbmZpZykpfSA6IHt9KVxuICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgICAgZnJhZ21lbnRDYWNoZS5zZXQodXJsLCBQcm9taXNlLnJlc29sdmUocmVzcG9uc2UpKTtcblxuIC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GU6IENvbXBvbmVudFR5cGUsIG9wdGlvbnM/OiB7fSk6IFByb21pc2U8YW55PiB7XG4gICAgICAgIC8vIGNoZWNrIGluIHRoZSBjYWNoZS5cbiAgICAgICAgY29uc3QgY29tcG9uZW50RmFjdG9yeU1hcCA9IGNvbXBvbmVudEZhY3RvcnlSZWZDYWNoZS5nZXQoY29tcG9uZW50VHlwZSk7XG4gICAgICAgIGxldCBjb21wb25lbnRGYWN0b3J5UmVmO1xuICAgICAgICBpZiAoY29tcG9uZW50RmFjdG9yeU1hcCkge1xuICAgICAgICAgICAgY29uc3QgdXBkYXRlZENvbXBvbmVudE5hbWUgPSAob3B0aW9ucyAmJiBvcHRpb25zWydwcmVmYWInXSkgPyBvcHRpb25zWydwcmVmYWInXSArICBjb21wb25lbnROYW1lIDogY29tcG9uZW50TmFtZTtcbiAgICAgICAgICAgIGNvbXBvbmVudEZhY3RvcnlSZWYgPSBjb21wb25lbnRGYWN0b3J5TWFwLmdldCh1cGRhdGVkQ29tcG9uZW50TmFtZSk7XG5cbiAgICAgICAgICAgIGlmIChjb21wb25lbnRGYWN0b3J5UmVmKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGNvbXBvbmVudEZhY3RvcnlSZWY7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gdGhpcy5sb2FkUmVzb3VyY2VzT2ZGcmFnbWVudChjb21wb25lbnROYW1lLCBjb21wb25lbnRUeXBlLCBvcHRpb25zKVxuICAgICAgICAgICAgLnRoZW4oKHttYXJrdXAsIHNjcmlwdCwgc3R5bGVzLCB2YXJpYWJsZXN9KSAgPT4ge1xuICAgICAgICAgICAgICAgIGNvbnN0IGNvbXBvbmVudERlZiA9IGdldER5bmFtaWNDb21wb25lbnQoY29tcG9uZW50TmFtZSwgY29tcG9uZW50VHlwZSwgbWFya3VwLCBzdHlsZXMsIHNjcmlwdCwgSlNPTi5zdHJpbmdpZnkodmFyaWFibGVzKSk7XG4gICAgICAgICAgICAgICAgY29uc3QgbW9kdWxlRGVmID0gZ2V0RHluYW1pY01vZHVsZShjb21wb25lbnREZWYpO1xuXG4gICAgICAgICAgICAgICAgY29tcG9uZW50RmFjdG9yeVJlZiA9IHRoaXMuY29tcGlsZXJcbiAgICAgICAgICAgICAgICAgICAgLmNvbXBpbGVNb2R1bGVBbmRBbGxDb21wb25lbnRzU3luYyhtb2R1bGVEZWYpXG4gICAgICAgICAgICAgICAgICAgIC5jb21wb25lbnRGYWN0b3JpZXNcbiAgICAgICAgICAgICAgICAgICAgLmZpbHRlcihmYWN0b3J5ID0+IC8vIEB0cy1pZ25vcmVcbiAgICAgICAgICAgICAgICAgICAgICAgIGZhY3RvcnkuY29tcG9uZW50VHlwZSA9PT0gY29tcG9uZW50RGVmKVswXTtcbiAgICAgICAgICAgICAgICBjb25zdCB1cGRhdGVkQ29tcG9uZW50TmFtZSA9IChvcHRpb25zICYmIG9wdGlvbnNbJ3ByZWZhYiddKSA/IG9wdGlvbnNbJ3ByZWZhYiddICsgIGNvbXBvbmVudE5hbWUgOiBjb21wb25lbnROYW1lO1xuICAgICAgICAgICAgICAgIGNvbXBvbmVudEZhY3RvcnlSZWZDYWNoZS5nZXQoY29tcG9uZW50VHlwZSkuc2V0KHVwZGF0ZWRDb21wb25lbnROYW1lLCBjb21wb25lbnRGYWN0b3J5UmVmKTtcblxuICAgICAgICAgICAgICAgIHJldHVybiBjb21wb25lbnRGYWN0b3J5UmVmO1xuICAgICAgICAgICAgfSwgKGVycikgPT4ge1xuICAgICAgICAgICAgICAgIGlmIChlcnIpIHtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgbXNnID0gXCJFcnJvciB3aGlsZSBsb2FkaW5nIHBhZ2VcIjtcbiAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZSB0aGUgZXJyb3IgZm9yIGVhc3kgZGVidWdnaW5nXG4gICAgICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKG1zZywgZXJyKTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5hcHBNYW5hZ2VyLm5vdGlmeUFwcChcbiAgICAgICAgICAgICAgICAgICAgICAgIGlzU3RyaW5nKGVycikgPyBlcnIgOiBtc2cgKyAnLCBjaGVjayBicm93c2VyIGNvbnNvbGUgZm9yIGVycm9yIGRldGFpbHMnLFxuICAgICAgICAgICAgICAgICAgICAgICAgJ2Vycm9yJ1xuICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pO1xuICAgIH1cblxuICAgIC8vIGNsZWFycyB0aGUgY2FjaGUgbWFwXG4gICAgcHVibGljIGNsZWFyQ29tcG9uZW50RmFjdG9yeVJlZkNhY2hlKCkge1xuICAgICAgICB0aGlzLnJlc291Y2VNbmdyLmNsZWFyQ2FjaGUoKTtcbiAgICAgICAgZnJhZ21lbnRDYWNoZS5jbGVhcigpO1xuICAgICAgICBjb21wb25lbnRGYWN0b3J5UmVmQ2FjaGUuZm9yRWFjaChtYXAgPT4ge1xuICAgICAgICAgICAgbWFwLmNsZWFyKCk7XG4gICAgICAgIH0pO1xuICAgIH1cbn1cbiJdfQ==
|
201
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50LXJlZi1wcm92aWRlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcnVudGltZS1keW5hbWljL3NyYy9hcHAvc2VydmljZXMvY29tcG9uZW50LXJlZi1wcm92aWRlci5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQ0gsUUFBUSxFQUNSLFNBQVMsRUFDVCxzQkFBc0IsRUFBYyxNQUFNLEVBQzFDLFVBQVUsRUFDVixRQUFRLEVBQ1IsUUFBUSxFQUNSLGdCQUFnQixFQUNoQixpQkFBaUIsRUFDcEIsTUF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QjpcbiAgICAgICAgICAgIEJhc2VDbGFzcyA9IEJhc2VQcmVmYWJDb21wb25lbnQ7XG4gICAgICAgICAgICBzZWxlY3RvciA9IGBhcHAtcHJlZmFiLSR7Y29tcG9uZW50TmFtZX1gO1xuICAgICAgICAgICAgY29udGV4dCA9ICdQcmVmYWInO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgfVxuXG4gICAgY2xhc3MgRHluYW1pY0NvbXBvbmVudCBleHRlbmRzIEJhc2VDbGFzcyB7XG4gICAgICAgIGlzRHluYW1pY0NvbXBvbmVudDogYm9vbGVhbiA9IHRydWU7XG4gICAgICAgIHBhZ2VOYW1lO1xuICAgICAgICBwYXJ0aWFsTmFtZTtcbiAgICAgICAgcHJlZmFiTmFtZTtcbiAgICAgICAgY29uc3RydWN0b3IoQEluamVjdChJbmplY3RvcikgcHVibGljIGluamVjdG9yOiBJbmplY3Rvcikge1xuICAgICAgICAgICAgc3VwZXIoKTtcbiAgICAgICAgICAgIHRoaXMuaW5qZWN0b3IgPSBpbmplY3RvcjtcbiAgICAgICAgICAgIHN3aXRjaCAodHlwZSkge1xuICAgICAgICAgICAgICAgIGNhc2UgQ29tcG9uZW50VHlwZS5QQUdFOlxuICAgICAgICAgICAgICAgICAgICB0aGlzLnBhZ2VOYW1lID0gY29tcG9uZW50TmFtZTtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgY2FzZSBDb21wb25lbnRUeXBlLlBBUlRJQUw6XG4gICAgICAgICAgICAgICAgICAgIHRoaXMucGFydGlhbE5hbWUgPSBjb21wb25lbnROYW1lO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICBjYXNlIENvbXBvbmVudFR5cGUuUFJFRkFCOlxuICAgICAgICAgICAgICAgICAgICB0aGlzLnByZWZhYk5hbWUgPSBjb21wb25lbnROYW1lO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgc3VwZXIuaW5pdCgpO1xuICAgICAgICB9XG5cbiAgICAgICAgZXZhbFVzZXJTY3JpcHQoaW5zdGFuY2U6IGFueSwgYXBwQ29udGV4dDogYW55LCB1dGlsczogYW55KSB7XG4gICAgICAgICAgICBleGVjU2NyaXB0KHNjcmlwdCwgc2VsZWN0b3IsIGNvbnRleHQsIGluc3RhbmNlLCBhcHBDb250ZXh0LCB1dGlscyk7XG4gICAgICAgIH1cblxuICAgICAgICBnZXRWYXJpYWJsZXMoKSB7XG4gICAgICAgICAgICByZXR1cm4gSlNPTi5wYXJzZSh2YXJpYWJsZXMpO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gaW4gcHJldmlldyBtb2RlLCB0aGVyZSB3aWxsIGJlIG5vIGZ1bmN0aW9uIHJlZ2lzdGVyZWQuIGZ1bmN0aW9ucyB3aWxsIGJlIGdlbmVyYXRlZCBkeW5hbWljYWxseSB0aHJvdWdoICRwYXJzZUV2ZW50IGFuZCAkcGFyc2VFeHByXG4gICAgICAgIGdldEV4cHJlc3Npb25zKCkge1xuICAgICAgICAgICAgcmV0dXJuIHt9O1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgY29uc3QgY29tcG9uZW50ID0gQ29tcG9uZW50KHtcbiAgICAgICAgLi4uY29tcG9uZW50RGVmLFxuICAgICAgICBzZWxlY3RvcixcbiAgICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgcHJvdmlkZTogVXNlckRlZmluZWRFeGVjdXRpb25Db250ZXh0LFxuICAgICAgICAgICAgICAgIHVzZUV4aXN0aW5nOiBEeW5hbWljQ29tcG9uZW50XG4gICAgICAgICAgICB9XG4gICAgICAgIF1cbiAgICB9KShEeW5hbWljQ29tcG9uZW50KVxuICAgIHJldHVybiBjb21wb25lbnQ7XG59O1xuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgQ29tcG9uZW50UmVmUHJvdmlkZXJTZXJ2aWNlIGV4dGVuZHMgQ29tcG9uZW50UmVmUHJvdmlkZXIge1xuXG4gICAgcHJpdmF0ZSBsb2FkUmVzb3VyY2VzT2ZGcmFnbWVudChjb21wb25lbnROYW1lLCBjb21wb25lbnRUeXBlLCBvcHRpb25zPyk6IFByb21pc2U8SVBhZ2VNaW5KU09OPiB7XG4gICAgICAgIGNvbnN0IHVybCA9IGdldEZyYWdtZW50VXJsKGNvbXBvbmVudE5hbWUsIGNvbXBvbmVudFR5cGUsIG9wdGlvbnMpO1xuXG4gICAgICAgIGNvbnN0IHJlc291cmNlID0gZnJhZ21lbnRDYWNoZS5nZXQodXJsKTtcblxuICAgICAgICBpZiAocmVzb3VyY2UpIHtcbiAgICAgICAgICAgIHJldHVybiBQcm9taXNlLnJlc29sdmUocmVzb3VyY2UpO1xuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHRoaXMucmVzb3VjZU1uZ3IuZ2V0KHVybCwgdHJ1ZSlcbiAgICAgICAgICAgIC50aGVuKCh7bWFya3VwLCBzY3JpcHQsIHN0eWxlcywgdmFyaWFibGVzfTogSVBhZ2VNaW5KU09OKSA9PiB7XG4gICAgICAgICAgICAgICAgY29uc3QgcmVzcG9uc2UgPSB7XG4gICAgICAgICAgICAgICAgICAgIG1hcmt1cDogdHJhbnNwaWxlKF9kZWNvZGVVUklDb21wb25lbnQobWFya3VwKSkubWFya3VwLFxuICAgICAgICAgICAgICAgICAgICBzY3JpcHQ6IF9kZWNvZGVVUklDb21wb25lbnQoc2NyaXB0KSxcbiAgICAgICAgICAgICAgICAgICAgc3R5bGVzOiBzY29wZUNvbXBvbmVudFN0eWxlcyhjb21wb25lbnROYW1lLCBjb21wb25lbnRUeXBlLCBfZGVjb2RlVVJJQ29tcG9uZW50KHN0eWxlcykpLFxuICAgICAgICAgICAgICAgICAgICB2YXJpYWJsZXM6IGdldFZhbGlkSlNPTihfZGVjb2RlVVJJQ29tcG9uZW50KHZhcmlhYmxlcykpXG4gICAgICAgICAgICAg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sIG9wdGlvbnM/OiB7fSk6IFByb21pc2U8YW55PiB7XG4gICAgICAgIC8vIGNoZWNrIGluIHRoZSBjYWNoZS5cbiAgICAgICAgY29uc3QgY29tcG9uZW50RmFjdG9yeU1hcCA9IGNvbXBvbmVudEZhY3RvcnlSZWZDYWNoZS5nZXQoY29tcG9uZW50VHlwZSk7XG4gICAgICAgIGxldCBjb21wb25lbnRGYWN0b3J5UmVmO1xuICAgICAgICBpZiAoY29tcG9uZW50RmFjdG9yeU1hcCkge1xuICAgICAgICAgICAgY29uc3QgdXBkYXRlZENvbXBvbmVudE5hbWUgPSAob3B0aW9ucyAmJiBvcHRpb25zWydwcmVmYWInXSkgPyBvcHRpb25zWydwcmVmYWInXSArICBjb21wb25lbnROYW1lIDogY29tcG9uZW50TmFtZTtcbiAgICAgICAgICAgIGNvbXBvbmVudEZhY3RvcnlSZWYgPSBjb21wb25lbnRGYWN0b3J5TWFwLmdldCh1cGRhdGVkQ29tcG9uZW50TmFtZSk7XG5cbiAgICAgICAgICAgIGlmIChjb21wb25lbnRGYWN0b3J5UmVmKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGNvbXBvbmVudEZhY3RvcnlSZWY7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gdGhpcy5sb2FkUmVzb3VyY2VzT2ZGcmFnbWVudChjb21wb25lbnROYW1lLCBjb21wb25lbnRUeXBlLCBvcHRpb25zKVxuICAgICAgICAgICAgLnRoZW4oKHttYXJrdXAsIHNjcmlwdCwgc3R5bGVzLCB2YXJpYWJsZXN9KSAgPT4ge1xuXG4gICAgICAgICAgICAgICAgY29uc3QgY29tcG9uZW50RGVmID0gZ2V0RHluYW1pY0NvbXBvbmVudChjb21wb25lbnROYW1lLCBjb21wb25lbnRUeXBlLCBtYXJrdXAsIHN0eWxlcywgc2NyaXB0LCBKU09OLnN0cmluZ2lmeSh2YXJpYWJsZXMpKTtcbiAgICAgICAgICAgICAgICBjb25zdCBtb2R1bGVEZWYgPSBnZXREeW5hbWljTW9kdWxlKGNvbXBvbmVudERlZik7XG5cbiAgICAgICAgICAgICAgICBjb21wb25lbnRGYWN0b3J5UmVmID0gdGhpcy5jb21waWxlclxuICAgICAgICAgICAgICAgICAgICAuY29tcGlsZU1vZHVsZUFuZEFsbENvbXBvbmVudHNTeW5jKG1vZHVsZURlZilcbiAgICAgICAgICAgICAgICAgICAgLmNvbXBvbmVudEZhY3Rvcmllc1xuICAgICAgICAgICAgICAgICAgICAuZmlsdGVyKGZhY3RvcnkgPT4gLy8gQHRzLWlnbm9yZVxuICAgICAgICAgICAgICAgICAgICAgICAgZmFjdG9yeS5jb21wb25lbnRUeXBlID09PSBjb21wb25lbnREZWYpWzBdO1xuICAgICAgICAgICAgICAgIGNvbnN0IHVwZGF0ZWRDb21wb25lbnROYW1lID0gKG9wdGlvbnMgJiYgb3B0aW9uc1sncHJlZmFiJ10pID8gb3B0aW9uc1sncHJlZmFiJ10gKyAgY29tcG9uZW50TmFtZSA6IGNvbXBvbmVudE5hbWU7XG4gICAgICAgICAgICAgICAgY29tcG9uZW50RmFjdG9yeVJlZkNhY2hlLmdldChjb21wb25lbnRUeXBlKS5zZXQodXBkYXRlZENvbXBvbmVudE5hbWUsIGNvbXBvbmVudEZhY3RvcnlSZWYpO1xuXG4gICAgICAgICAgICAgICAgcmV0dXJuIGNvbXBvbmVudEZhY3RvcnlSZWY7XG4gICAgICAgICAgICB9LCAoZXJyKSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKGVycikge1xuICAgICAgICAgICAgICAgICAgICBjb25zdCBtc2cgPSBcIkVycm9yIHdoaWxlIGxvYWRpbmcgcGFnZVwiO1xuICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlIHRoZSBlcnJvciBmb3IgZWFzeSBkZWJ1Z2dpbmdcbiAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2cobXNnLCBlcnIpO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmFwcE1hbmFnZXIubm90aWZ5QXBwKFxuICAgICAgICAgICAgICAgICAgICAgICAgaXNTdHJpbmcoZXJyKSA/IGVyciA6IG1zZyArICcsIGNoZWNrIGJyb3dzZXIgY29uc29sZSBmb3IgZXJyb3IgZGV0YWlscycsXG4gICAgICAgICAgICAgICAgICAgICAgICAnZXJyb3InXG4gICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgLy8gY2xlYXJzIHRoZSBjYWNoZSBtYXBcbiAgICBwdWJsaWMgY2xlYXJDb21wb25lbnRGYWN0b3J5UmVmQ2FjaGUoKSB7XG4gICAgICAgIHRoaXMucmVzb3VjZU1uZ3IuY2xlYXJDYWNoZSgpO1xuICAgICAgICBmcmFnbWVudENhY2hlLmNsZWFyKCk7XG4gICAgICAgIGNvbXBvbmVudEZhY3RvcnlSZWZDYWNoZS5mb3JFYWNoKG1hcCA9PiB7XG4gICAgICAgICAgICBtYXAuY2xlYXIoKTtcbiAgICAgICAgfSk7XG4gICAgfVxufVxuIl19
|