@wavemaker/app-ng-runtime 12.0.0-next.45057 → 12.0.0-next.45061

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. app-ng-runtime/components/dialogs/default/base-dialog.d.ts +2 -0
  2. app-ng-runtime/components/dialogs/default/bundles/index.umd.js +3 -0
  3. app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +5 -2
  4. app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +4 -1
  5. app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  6. app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +19 -2
  7. app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +3 -2
  8. app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +20 -3
  9. app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +19 -2
  10. app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  11. app-ng-runtime/components/page/left-panel/bundles/index.umd.js +1 -1
  12. app-ng-runtime/components/page/left-panel/esm2022/left-panel.directive.mjs +3 -3
  13. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +2 -2
  14. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  15. app-ng-runtime/components/page/right-panel/bundles/index.umd.js +1 -1
  16. app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +3 -3
  17. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +2 -2
  18. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
  19. app-ng-runtime/core/bundles/index.umd.js +12 -3
  20. app-ng-runtime/core/esm2022/public_api.mjs +2 -2
  21. app-ng-runtime/core/esm2022/utils/utils.mjs +9 -2
  22. app-ng-runtime/core/fesm2022/index.mjs +11 -3
  23. app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
  24. app-ng-runtime/core/public_api.d.ts +1 -1
  25. app-ng-runtime/core/utils/utils.d.ts +2 -1
  26. app-ng-runtime/package.json +1 -1
  27. app-ng-runtime/runtime/base/bundles/index.umd.js +9 -5
  28. app-ng-runtime/runtime/base/components/base-custom-widget.component.d.ts +2 -1
  29. app-ng-runtime/runtime/base/esm2022/components/base-custom-widget.component.mjs +9 -7
  30. app-ng-runtime/runtime/base/esm2022/public_api.mjs +1 -1
  31. app-ng-runtime/runtime/base/esm2022/types/types.mjs +3 -1
  32. app-ng-runtime/runtime/base/fesm2022/index.mjs +9 -6
  33. app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
  34. app-ng-runtime/runtime/base/types/types.d.ts +3 -0
  35. app-ng-runtime/runtime/dynamic/app/services/customwidget-config-provider.service.d.ts +8 -0
  36. app-ng-runtime/runtime/dynamic/bundles/index.umd.js +22 -4
  37. app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +4 -2
  38. app-ng-runtime/runtime/dynamic/esm2022/app/services/customwidget-config-provider.service.mjs +22 -0
  39. app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +25 -5
  40. app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
  41. app-ng-runtime/scripts/custom-widgets-m3/src/checkbox_set/checkbox_set.d.ts +0 -0
  42. app-ng-runtime/scripts/custom-widgets-m3/src/checkbox_set/checkbox_set.js +38 -0
  43. app-ng-runtime/scripts/custom-widgets-m3/src/checkbox_set/page.min.d.ts +7 -0
  44. app-ng-runtime/scripts/custom-widgets-m3/src/checkbox_set/page.min.js +7 -0
  45. app-ng-runtime/scripts/custom-widgets-m3/src/discrete_slider/discrete_slider.d.ts +10 -0
  46. app-ng-runtime/scripts/custom-widgets-m3/src/discrete_slider/discrete_slider.js +171 -0
  47. app-ng-runtime/scripts/custom-widgets-m3/src/discrete_slider/page.min.d.ts +7 -0
  48. app-ng-runtime/scripts/custom-widgets-m3/src/discrete_slider/page.min.js +7 -0
  49. app-ng-runtime/scripts/custom-widgets-m3/src/divider/divider.d.ts +0 -0
  50. app-ng-runtime/scripts/custom-widgets-m3/src/divider/divider.js +28 -0
  51. app-ng-runtime/scripts/custom-widgets-m3/src/divider/page.min.d.ts +7 -0
  52. app-ng-runtime/scripts/custom-widgets-m3/src/divider/page.min.js +7 -0
  53. app-ng-runtime/scripts/custom-widgets-m3/src/icon_button/icon_button.d.ts +0 -0
  54. app-ng-runtime/scripts/custom-widgets-m3/src/icon_button/icon_button.js +24 -0
  55. app-ng-runtime/scripts/custom-widgets-m3/src/icon_button/page.min.d.ts +7 -0
  56. app-ng-runtime/scripts/custom-widgets-m3/src/icon_button/page.min.js +7 -0
  57. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/input_chip.d.ts +0 -0
  58. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/input_chip.js +34 -0
  59. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/input_chip.variables.d.ts +0 -0
  60. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/input_chip.variables.js +1 -0
  61. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/page.min.d.ts +7 -0
  62. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/page.min.js +7 -0
  63. app-ng-runtime/scripts/custom-widgets-m3/src/payee_list/page.min.d.ts +7 -0
  64. app-ng-runtime/scripts/custom-widgets-m3/src/payee_list/page.min.js +7 -0
  65. app-ng-runtime/scripts/custom-widgets-m3/src/payee_list/payee_list.d.ts +0 -0
  66. app-ng-runtime/scripts/custom-widgets-m3/src/payee_list/payee_list.js +19 -0
  67. app-ng-runtime/scripts/custom-widgets-m3/src/progressbar/page.min.d.ts +7 -0
  68. app-ng-runtime/scripts/custom-widgets-m3/src/progressbar/page.min.js +7 -0
  69. app-ng-runtime/scripts/custom-widgets-m3/src/progressbar/progressbar.d.ts +0 -0
  70. app-ng-runtime/scripts/custom-widgets-m3/src/progressbar/progressbar.js +52 -0
  71. app-ng-runtime/scripts/custom-widgets-m3/src/radio_set/page.min.d.ts +7 -0
  72. app-ng-runtime/scripts/custom-widgets-m3/src/radio_set/page.min.js +7 -0
  73. app-ng-runtime/scripts/custom-widgets-m3/src/radio_set/radio_set.d.ts +0 -0
  74. app-ng-runtime/scripts/custom-widgets-m3/src/radio_set/radio_set.js +35 -0
  75. app-ng-runtime/scripts/custom-widgets-m3/src/slider/page.min.d.ts +7 -0
  76. app-ng-runtime/scripts/custom-widgets-m3/src/slider/page.min.js +7 -0
  77. app-ng-runtime/scripts/custom-widgets-m3/src/slider/slider.d.ts +11 -0
  78. app-ng-runtime/scripts/custom-widgets-m3/src/slider/slider.js +121 -0
  79. app-ng-runtime/scripts/custom-widgets-m3/src/switch_button/page.min.d.ts +7 -0
  80. app-ng-runtime/scripts/custom-widgets-m3/src/switch_button/page.min.js +7 -0
  81. app-ng-runtime/scripts/custom-widgets-m3/src/switch_button/switch_button.d.ts +0 -0
  82. app-ng-runtime/scripts/custom-widgets-m3/src/switch_button/switch_button.js +33 -0
  83. app-ng-runtime/scripts/custom-widgets-m3/src/textfield/page.min.d.ts +7 -0
  84. app-ng-runtime/scripts/custom-widgets-m3/src/textfield/page.min.js +7 -0
  85. app-ng-runtime/scripts/custom-widgets-m3/src/textfield/textfield.d.ts +4 -0
  86. app-ng-runtime/scripts/custom-widgets-m3/src/textfield/textfield.js +65 -0
  87. app-ng-runtime/scripts/custom-widgets-m3/src/widget-registry.d.ts +6 -0
  88. app-ng-runtime/scripts/custom-widgets-m3/src/widget-registry.js +68 -0
@@ -4,7 +4,7 @@ export { appendNode, insertBefore, insertAfter, removeNode, removeClass, addClas
4
4
  export * from './enums/enums';
5
5
  export * from './utils/event-notifier';
6
6
  export { ParseExprResult, $parseExpr, $parseEvent, registerFnByExpr, setPipeProvider, getFnByExpr, getFnForBindExpr, getFnForEventExpr } from './utils/expression-parser';
7
- export { EVENT_LIFE, isDefined, isObject, toBoolean, isIE, isAndroid, isAndroidTablet, isIphone, isIpod, isIpad, isIos, isLargeTabletLandscape, isLargeTabletPortrait, isMobile, isMobileApp, getAndroidVersion, isKitkatDevice, encodeUrl, encodeUrlParams, initCaps, spaceSeparate, replaceAt, periodSeparate, prettifyLabel, deHyphenate, prettifyLabels, isInsecureContentRequest, stringStartsWith, getEvaluatedExprValue, isImageFile, isAudioFile, isVideoFile, isValidWebURL, getResourceURL, triggerFn, hasOffsetStr, getFormattedDate, getDateObj, addEventListenerOnElement, getClonedObject, getFiles, generateGUId, validateAccessRoles, getValidJSON, xmlToJson, findValueOf, extractType, isNumberType, isEmptyObject, scrollToElement, isElementInViewport, isPageable, replace, isDateTimeType, getValidDateObject, getNativeDateObject, getBlob, isEqualWithFields, loadStyleSheet, loadStyleSheets, loadScript, loadScripts, _WM_APP_PROJECT, setSessionStorageItem, getSessionStorageItem, noop, convertToBlob, hasCordova, AppConstants, openLink, fetchContent, toPromise, retryIfFails, getAbortableDefer, createCSSRule, getUrlParams, getMomentLocaleObject, getRouteNameFromLink, isAppleProduct, defer, executePromiseChain, isDataSourceEqual, validateDataSourceCtx, processFilterExpBindNode, extendProto, removeExtraSlashes, getDisplayDateTimeFormat, addForIdAttributes, adjustContainerPosition, adjustContainerRightEdges, setTranslation3dPosition, getWebkitTraslationMatrix, closePopover, detectChanges, triggerItemAction, getDatasourceFromExpr, extractCurrentItemExpr, findRootContainer, VALIDATOR, transformFileURI, appendScriptToHead, getAppSetting, setListClass, findParent, APP_NAV } from './utils/utils';
7
+ export { EVENT_LIFE, isDefined, isObject, toBoolean, isIE, isAndroid, isAndroidTablet, isIphone, isIpod, isIpad, isIos, isLargeTabletLandscape, isLargeTabletPortrait, isMobile, isMobileApp, getAndroidVersion, isKitkatDevice, encodeUrl, encodeUrlParams, initCaps, spaceSeparate, replaceAt, periodSeparate, prettifyLabel, deHyphenate, prettifyLabels, isInsecureContentRequest, stringStartsWith, getEvaluatedExprValue, isImageFile, isAudioFile, isVideoFile, isValidWebURL, getResourceURL, triggerFn, hasOffsetStr, getFormattedDate, getDateObj, addEventListenerOnElement, getClonedObject, getFiles, generateGUId, validateAccessRoles, getValidJSON, xmlToJson, findValueOf, extractType, isNumberType, isEmptyObject, scrollToElement, isElementInViewport, isPageable, replace, isDateTimeType, getValidDateObject, getNativeDateObject, getBlob, isEqualWithFields, loadStyleSheet, loadStyleSheets, loadScript, loadScripts, _WM_APP_PROJECT, setSessionStorageItem, getSessionStorageItem, noop, convertToBlob, hasCordova, AppConstants, openLink, fetchContent, toPromise, retryIfFails, getAbortableDefer, createCSSRule, getUrlParams, getMomentLocaleObject, getRouteNameFromLink, isAppleProduct, defer, executePromiseChain, isDataSourceEqual, validateDataSourceCtx, processFilterExpBindNode, extendProto, removeExtraSlashes, getDisplayDateTimeFormat, addForIdAttributes, adjustContainerPosition, adjustContainerRightEdges, setTranslation3dPosition, getWebkitTraslationMatrix, closePopover, detectChanges, triggerItemAction, getDatasourceFromExpr, extractCurrentItemExpr, findRootContainer, VALIDATOR, transformFileURI, appendScriptToHead, getAppSetting, setListClass, findParent, getNavClass, getSheetPositionClass } from './utils/utils';
8
8
  export { FIRST_TIME_WATCH, isFirstTimeChange, debounce, muteWatchers, unMuteWatchers, $watch, $unwatch, setNgZone, setAppRef, isChangeFromWatch, resetChangeFromWatch, $invokeWatchers, $appDigest } from './utils/watcher';
9
9
  export * from './utils/id-generator';
10
10
  export * from './types/types';
@@ -1,5 +1,6 @@
1
1
  import { Subject } from 'rxjs';
2
- export declare const APP_NAV = "app-nav";
2
+ export declare const getNavClass: (suffix: string) => string;
3
+ export declare const getSheetPositionClass: (suffix: string) => string;
3
4
  export declare const enum EVENT_LIFE {
4
5
  ONCE = 0,
5
6
  WINDOW = 1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/app-ng-runtime",
3
- "version": "12.0.0-next.45057",
3
+ "version": "12.0.0-next.45061",
4
4
  "description": "All modules required for a wavemaker application.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -52,6 +52,8 @@
52
52
  }
53
53
  class PrefabConfigProvider {
54
54
  }
55
+ class CustomwidgetConfigProvider {
56
+ }
55
57
  class AppJSProvider {
56
58
  }
57
59
  class AppVariablesProvider {
@@ -1408,6 +1410,7 @@
1408
1410
  this.i18nService = this.injector ? this.injector.get(i1.AbstractI18nService) : i0.inject(i1.AbstractI18nService);
1409
1411
  this.scriptLoaderService = this.injector ? this.injector.get(i1.ScriptLoaderService) : i0.inject(i1.ScriptLoaderService);
1410
1412
  this.Viewport = this.injector ? this.injector.get(i1.Viewport) : i0.inject(i1.Viewport);
1413
+ this.customwidgetConfigProvider = this.injector ? this.injector.get(CustomwidgetConfigProvider) : i0.inject(CustomwidgetConfigProvider);
1411
1414
  // this.viewContainerRef = this.getContainerWidgetInjector().get(ViewContainerRef);
1412
1415
  // Replacing this.getContainerWidgetInjector().view.component as viewParent
1413
1416
  // this.viewParent = (this.viewContainerRef as any).parentInjector._lView[8];
@@ -1555,10 +1558,10 @@
1555
1558
  * @param expressions, map of bind expression vs generated function
1556
1559
  */
1557
1560
  registerExpressions() {
1558
- const expressions = this.getExpressions();
1559
- _.each(expressions, (fn, expr) => {
1560
- i1.registerFnByExpr(expr, fn[0], fn[1]);
1561
- });
1561
+ // const expressions = this.getExpressions();
1562
+ // _.each(expressions, (fn, expr)=>{
1563
+ // registerFnByExpr(expr, fn[0], fn[1]);
1564
+ // });
1562
1565
  }
1563
1566
  registerProps() {
1564
1567
  this.props = this.containerWidget.props;
@@ -1589,7 +1592,7 @@
1589
1592
  // });
1590
1593
  }
1591
1594
  registerPropsInContainerWidget(resolveFn) {
1592
- window['resourceCache'].get(`./custom-widgets/${this.customWidgetName}/page.min.json`).then(({ config }) => {
1595
+ this.customwidgetConfigProvider.getConfig(this.customWidgetName).then((config) => {
1593
1596
  if (config) {
1594
1597
  Object.entries((config.properties || {})).forEach(([key, prop]) => {
1595
1598
  let expr;
@@ -5465,6 +5468,7 @@
5465
5468
  exports.CanDeactivatePageGuard = CanDeactivatePageGuard;
5466
5469
  exports.ComponentRefProvider = ComponentRefProvider;
5467
5470
  exports.CustomToasterComponent = CustomToasterComponent;
5471
+ exports.CustomwidgetConfigProvider = CustomwidgetConfigProvider;
5468
5472
  exports.DynamicComponentRefProviderService = DynamicComponentRefProviderService;
5469
5473
  exports.EmptyPageComponent = EmptyPageComponent;
5470
5474
  exports.FragmentMonitor = FragmentMonitor;
@@ -4,6 +4,7 @@ import { Subject } from 'rxjs';
4
4
  import { AbstractI18nService, AbstractNavigationService, App, Viewport, ScriptLoaderService } from '@wm/core';
5
5
  import { PageDirective, SpaPageDirective } from '@wm/components/page';
6
6
  import { PrefabDirective } from '@wm/components/prefab';
7
+ import { CustomwidgetConfigProvider } from '../types/types';
7
8
  import { FragmentMonitor } from '../util/fragment-monitor';
8
9
  import { AppManagerService } from '../services/app.manager.service';
9
10
  import * as i0 from "@angular/core";
@@ -27,6 +28,7 @@ export declare abstract class BaseCustomWidgetComponent extends FragmentMonitor
27
28
  pageDirective: PageDirective | SpaPageDirective;
28
29
  Prefab: PrefabDirective;
29
30
  scriptLoaderService: ScriptLoaderService;
31
+ customwidgetConfigProvider: CustomwidgetConfigProvider;
30
32
  Viewport: Viewport;
31
33
  compileContent: boolean;
32
34
  spa: boolean;
@@ -36,7 +38,6 @@ export declare abstract class BaseCustomWidgetComponent extends FragmentMonitor
36
38
  private viewParent;
37
39
  abstract evalUserScript(prefabContext: any, appContext: any, utils: any): any;
38
40
  abstract getVariables(): any;
39
- abstract getExpressions(): any;
40
41
  getContainerWidgetInjector(): any;
41
42
  init(): void;
42
43
  registerWidgets(): void;
@@ -1,9 +1,10 @@
1
1
  import { Directive, inject } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
- import { $invokeWatchers, AbstractI18nService, App, noop, Viewport, ScriptLoaderService, UtilsService, registerFnByExpr, $watch, isIE } from '@wm/core';
3
+ import { $invokeWatchers, AbstractI18nService, App, noop, Viewport, ScriptLoaderService, UtilsService, $watch, isIE } from '@wm/core';
4
4
  import { WidgetRef } from '@wm/components/base';
5
5
  import { PageDirective, SpaPageDirective } from '@wm/components/page';
6
6
  import { VariablesService } from '@wm/variables';
7
+ import { CustomwidgetConfigProvider } from '../types/types';
7
8
  import { FragmentMonitor } from '../util/fragment-monitor';
8
9
  import { commonPartialWidgets } from "./base-partial.component";
9
10
  import { capitalize, forEach } from "lodash-es";
@@ -33,6 +34,7 @@ export class BaseCustomWidgetComponent extends FragmentMonitor {
33
34
  this.i18nService = this.injector ? this.injector.get(AbstractI18nService) : inject(AbstractI18nService);
34
35
  this.scriptLoaderService = this.injector ? this.injector.get(ScriptLoaderService) : inject(ScriptLoaderService);
35
36
  this.Viewport = this.injector ? this.injector.get(Viewport) : inject(Viewport);
37
+ this.customwidgetConfigProvider = this.injector ? this.injector.get(CustomwidgetConfigProvider) : inject(CustomwidgetConfigProvider);
36
38
  // this.viewContainerRef = this.getContainerWidgetInjector().get(ViewContainerRef);
37
39
  // Replacing this.getContainerWidgetInjector().view.component as viewParent
38
40
  // this.viewParent = (this.viewContainerRef as any).parentInjector._lView[8];
@@ -180,10 +182,10 @@ export class BaseCustomWidgetComponent extends FragmentMonitor {
180
182
  * @param expressions, map of bind expression vs generated function
181
183
  */
182
184
  registerExpressions() {
183
- const expressions = this.getExpressions();
184
- _.each(expressions, (fn, expr) => {
185
- registerFnByExpr(expr, fn[0], fn[1]);
186
- });
185
+ // const expressions = this.getExpressions();
186
+ // _.each(expressions, (fn, expr)=>{
187
+ // registerFnByExpr(expr, fn[0], fn[1]);
188
+ // });
187
189
  }
188
190
  registerProps() {
189
191
  this.props = this.containerWidget.props;
@@ -214,7 +216,7 @@ export class BaseCustomWidgetComponent extends FragmentMonitor {
214
216
  // });
215
217
  }
216
218
  registerPropsInContainerWidget(resolveFn) {
217
- window['resourceCache'].get(`./custom-widgets/${this.customWidgetName}/page.min.json`).then(({ config }) => {
219
+ this.customwidgetConfigProvider.getConfig(this.customWidgetName).then((config) => {
218
220
  if (config) {
219
221
  Object.entries((config.properties || {})).forEach(([key, prop]) => {
220
222
  let expr;
@@ -289,4 +291,4 @@ export class BaseCustomWidgetComponent extends FragmentMonitor {
289
291
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseCustomWidgetComponent, [{
290
292
  type: Directive
291
293
  }], null, null); })();
292
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1jdXN0b20td2lkZ2V0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3J1bnRpbWUtYmFzZS9zcmMvY29tcG9uZW50cy9iYXNlLWN1c3RvbS13aWRnZXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFLSCxTQUFTLEVBQ1QsTUFBTSxFQUNULE1BQU0sZUFBZSxDQUFDO0FBR3ZCLE9BQU8sRUFBQyxPQUFPLEVBQUMsTUFBTSxNQUFNLENBQUM7QUFFN0IsT0FBTyxFQUNILGVBQWUsRUFDZixtQkFBbUIsRUFFbkIsR0FBRyxFQUNILElBQUksRUFDSixRQUFRLEVBQ1IsbUJBQW1CLEVBQ25CLFlBQVksRUFDWixnQkFBZ0IsRUFDaEIsTUFBTSxFQUNOLElBQUksRUFDUCxNQUFNLFVBQVUsQ0FBQztBQUNsQixPQUFPLEVBQXVCLFNBQVMsRUFBQyxNQUFNLHFCQUFxQixDQUFDO0FBQ3BFLE9BQU8sRUFBRSxhQUFhLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUV0RSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFakQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBRTNELE9BQU8sRUFBQyxvQkFBb0IsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBQzlELE9BQU8sRUFBQyxVQUFVLEVBQUUsT0FBTyxFQUFDLE1BQU0sV0FBVyxDQUFDO0FBQzlDLE9BQ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9PiB7XG4gICAgICAgICAgICAgICAgICAgIGl0ZW0gPSBpdGVtICE9PSAnd20nID8gY2FwaXRhbGl6ZShpdGVtKSA6IGl0ZW07XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBpdGVtO1xuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIGJhc2VXaWRnZXQgPSBtb2RpZmllZEFyci5qb2luKCcnKTtcbiAgICAgICAgICAgICAgICBzd2l0Y2ggKGJhc2VXaWRnZXQpIHtcbiAgICAgICAgICAgICAgICAgICAgY2FzZSAnd21DaGVja2JveHNldCc6XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzW2Jhc2VXaWRnZXRdID0gbmV3IENoZWNrYm94c2V0Q29tcG9uZW50KHRoaXMuaW5qZWN0b3IsIHVuZGVmaW5lZCk7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzW2Jhc2VXaWRnZXRdW1wiX3NlbGVjdFwiXSA9IChpdGVtOiBhbnksICRldmVudDogYW55KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3Qga2V5cyA9IFtdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvckVhY2godGhpc1tiYXNlV2lkZ2V0XS5kYXRhc2V0SXRlbXMsIChkYXRhc2V0SXRlbTogYW55KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmKGRhdGFzZXRJdGVtLmtleSA9PT0gaXRlbS5rZXkpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkYXRhc2V0SXRlbS5zZWxlY3RlZCA9ICFkYXRhc2V0SXRlbS5zZWxlY3RlZDtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZihkYXRhc2V0SXRlbS5zZWxlY3RlZClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGtleXMucHVzaChkYXRhc2V0SXRlbS5rZXkpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXNbYmFzZVdpZGdldF0udHJpZ2dlckludm9rZU9uQ2hhbmdlKGtleXMsICRldmVudCk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgY2FzZSAnd21SYWRpb3NldCc6XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzW2Jhc2VXaWRnZXRdID0gbmV3IFJhZGlvc2V0Q29tcG9uZW50KHRoaXMuaW5qZWN0b3IsIHVuZGVmaW5lZCk7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzW2Jhc2VXaWRnZXRdW1wiX3NlbGVjdFwiXSA9IChpdGVtOiBhbnksICRldmVudDogYW55KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzW2Jhc2VXaWRnZXRdLnRyaWdnZXJJbnZva2VPbkNoYW5nZShpdGVtLmtleSwgJGV2ZW50KTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgZm9yIChsZXQgW2tleSwgdmFsdWVdIG9mIHRoaXMuY29udGFpbmVyV2lkZ2V0LiRhdHRycykge1xuICAgICAgICAgICAgICAgICAgICBpZihrZXkuc3RhcnRzV2l0aCgnYmFzZS0nKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IG1vZGlmaWVkS2V5ID0ga2V5LnJlcGxhY2UoJ2Jhc2UtJywgJycpO1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpc1tiYXNlV2lkZ2V0XVttb2RpZmllZEtleV0gPSB2YWx1ZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB0aGlzW2Jhc2VXaWRnZXRdLmluaXREYXRhc2V0SXRlbXM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GlhbERpcmVjdGl2ZS4kZWxlbWVudC5hdHRyKCdzY3JpcHRzLXRvLWxvYWQnKTtcbiAgICAgICAgLy8gICAgIGlmIChzY3JpcHRzUmVxdWlyZWQpIHtcbiAgICAgICAgLy8gICAgICAgICB0aGlzLnNjcmlwdExvYWRlclNlcnZpY2VcbiAgICAgICAgLy8gICAgICAgICAgICAgLmxvYWQoLi4uc2NyaXB0c1JlcXVpcmVkLnNwbGl0KCcsJykpXG4gICAgICAgIC8vICAgICAgICAgICAgIC50aGVuKHJlc29sdmUpO1xuICAgICAgICAvLyAgICAgfSBlbHNlIHtcbiAgICAgICAgLy8gICAgICAgICByZXNvbHZlKCk7XG4gICAgICAgIC8vICAgICB9XG4gICAgICAgIC8vIH0pO1xuICAgIH1cbiAgICByZWdpc3RlclByb3BzSW5Db250YWluZXJXaWRnZXQocmVzb2x2ZUZuOiBGdW5jdGlvbikge1xuICAgICAgICB3aW5kb3dbJ3Jlc291cmNlQ2FjaGUnXS5nZXQoYC4vY3VzdG9tLXdpZGdldHMvJHt0aGlzLmN1c3RvbVdpZGdldE5hbWV9L3BhZ2UubWluLmpzb25gKS50aGVuKCh7IGNvbmZpZyB9KSA9PiB7XG4gICAgICAgICAgICBpZiAoY29uZmlnKSB7XG4gICAgICAgICAgICAgICAgT2JqZWN0LmVudHJpZXMoKGNvbmZpZy5wcm9wZXJ0aWVzIHx8IHt9KSkuZm9yRWFjaCgoW2tleSwgcHJvcF06IFtzdHJpbmcsIGFueV0pID0+IHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IGV4cHI7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IHZhbHVlID0gXy50cmltKHByb3AudmFsdWUpO1xuXG4gICAgICAgICAgICAgICAgICAgIGlmIChfLnN0YXJ0c1dpdGgodmFsdWUsICdiaW5kOicpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBleHByID0gdmFsdWUucmVwbGFjZSgnYmluZDonLCAnJyk7XG4gICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkodGhpcywga2V5LCB7XG4gICAgICAgICAgICAgICAgICAgICAgICBnZXQ6ICgpID0+IHRoaXMuY29udGFpbmVyV2lkZ2V0W2tleV0sXG4gICAgICAgICAgICAgICAgICAgICAgICBzZXQ6IG52ID0+IHRoaXMuY29udGFpbmVyV2lkZ2V0LndpZGdldFtrZXldID0gbnZcbiAgICAgICAgICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgICAgICAgICAgaWYgKGV4cHIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vW1RvZG8tQ1NQXTogZXhwciB3aWxsIGJlIGdlbmVyYXRlZCB3aXRoIHByZWZhYi5jb21wLmV4cHIudHNcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMucmVnaXN0ZXJEZXN0cm95TGlzdGVuZXIoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgJHdhdGNoKGV4cHIsIHRoaXMsIHt9LCBudiA9PiB0aGlzLmNvbnRhaW5lcldpZGdldC53aWRnZXRba2V5XSA9IG52KVxuICAgICAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB0aGlzLmNvbnRhaW5lcldpZGdldC5zZXRQcm9wcyhjb25maWcsIHJlc29sdmVGbik7XG4gICAgICAgICAgICAvLyBSZWFzc2lnbmluZyB0aGUgcHJveHkgaGFuZGxlciBmb3IgcHJlZmFiIGluYm91bmQgcHJvcGVydGllcyBhcyB3ZVxuICAgICAgICAgICAgLy8gd2lsbCBnZXQgdGhlbSBvbmx5IGFmdGVyIHRoZSBwcmVmYWIgY29uZmlnIGNhbGwuXG4gICAgICAgICAgICBpZiAoaXNJRSgpKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5jb250YWluZXJXaWRnZXQud2lkZ2V0ID0gdGhpcy5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9PSAnd20nID8gY2FwaXRhbGl6ZShpdGVtKSA6IGl0ZW07XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBpdGVtO1xuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIGJhc2VXaWRnZXQgPSBtb2RpZmllZEFyci5qb2luKCcnKTtcbiAgICAgICAgICAgICAgICBzd2l0Y2ggKGJhc2VXaWRnZXQpIHtcbiAgICAgICAgICAgICAgICAgICAgY2FzZSAnd21DaGVja2JveHNldCc6XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzW2Jhc2VXaWRnZXRdID0gbmV3IENoZWNrYm94c2V0Q29tcG9uZW50KHRoaXMuaW5qZWN0b3IsIHVuZGVmaW5lZCk7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzW2Jhc2VXaWRnZXRdW1wiX3NlbGVjdFwiXSA9IChpdGVtOiBhbnksICRldmVudDogYW55KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3Qga2V5cyA9IFtdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvckVhY2godGhpc1tiYXNlV2lkZ2V0XS5kYXRhc2V0SXRlbXMsIChkYXRhc2V0SXRlbTogYW55KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmKGRhdGFzZXRJdGVtLmtleSA9PT0gaXRlbS5rZXkpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkYXRhc2V0SXRlbS5zZWxlY3RlZCA9ICFkYXRhc2V0SXRlbS5zZWxlY3RlZDtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZihkYXRhc2V0SXRlbS5zZWxlY3RlZClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGtleXMucHVzaChkYXRhc2V0SXRlbS5rZXkpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXNbYmFzZVdpZGdldF0udHJpZ2dlckludm9rZU9uQ2hhbmdlKGtleXMsICRldmVudCk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgY2FzZSAnd21SYWRpb3NldCc6XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzW2Jhc2VXaWRnZXRdID0gbmV3IFJhZGlvc2V0Q29tcG9uZW50KHRoaXMuaW5qZWN0b3IsIHVuZGVmaW5lZCk7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzW2Jhc2VXaWRnZXRdW1wiX3NlbGVjdFwiXSA9IChpdGVtOiBhbnksICRldmVudDogYW55KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzW2Jhc2VXaWRnZXRdLnRyaWdnZXJJbnZva2VPbkNoYW5nZShpdGVtLmtleSwgJGV2ZW50KTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgZm9yIChsZXQgW2tleSwgdmFsdWVdIG9mIHRoaXMuY29udGFpbmVyV2lkZ2V0LiRhdHRycykge1xuICAgICAgICAgICAgICAgICAgICBpZihrZXkuc3RhcnRzV2l0aCgnYmFzZS0nKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IG1vZGlmaWVkS2V5ID0ga2V5LnJlcGxhY2UoJ2Jhc2UtJywgJycpO1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpc1tiYXNlV2lkZ2V0XVttb2RpZmllZEtleV0gPSB2YWx1ZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB0aGlzW2Jhc2VXaWRnZXRdLmluaXREYXRhc2V0SXRlbXMoKTtcbiAgICAgICAgICAgICAgICB0aGlzLmNvbnRhaW5lcldpZGd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dHRyKCdzY3JpcHRzLXRvLWxvYWQnKTtcbiAgICAgICAgLy8gICAgIGlmIChzY3JpcHRzUmVxdWlyZWQpIHtcbiAgICAgICAgLy8gICAgICAgICB0aGlzLnNjcmlwdExvYWRlclNlcnZpY2VcbiAgICAgICAgLy8gICAgICAgICAgICAgLmxvYWQoLi4uc2NyaXB0c1JlcXVpcmVkLnNwbGl0KCcsJykpXG4gICAgICAgIC8vICAgICAgICAgICAgIC50aGVuKHJlc29sdmUpO1xuICAgICAgICAvLyAgICAgfSBlbHNlIHtcbiAgICAgICAgLy8gICAgICAgICByZXNvbHZlKCk7XG4gICAgICAgIC8vICAgICB9XG4gICAgICAgIC8vIH0pO1xuICAgIH1cbiAgICByZWdpc3RlclByb3BzSW5Db250YWluZXJXaWRnZXQocmVzb2x2ZUZuOiBGdW5jdGlvbikge1xuICAgICAgICB0aGlzLmN1c3RvbXdpZGdldENvbmZpZ1Byb3ZpZGVyLmdldENvbmZpZyh0aGlzLmN1c3RvbVdpZGdldE5hbWUpLnRoZW4oKGNvbmZpZykgPT4ge1xuICAgICAgICAgICAgaWYgKGNvbmZpZykge1xuICAgICAgICAgICAgICAgIE9iamVjdC5lbnRyaWVzKChjb25maWcucHJvcGVydGllcyB8fCB7fSkpLmZvckVhY2goKFtrZXksIHByb3BdOiBbc3RyaW5nLCBhbnldKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGxldCBleHByO1xuICAgICAgICAgICAgICAgICAgICBjb25zdCB2YWx1ZSA9IF8udHJpbShwcm9wLnZhbHVlKTtcblxuICAgICAgICAgICAgICAgICAgICBpZiAoXy5zdGFydHNXaXRoKHZhbHVlLCAnYmluZDonKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgZXhwciA9IHZhbHVlLnJlcGxhY2UoJ2JpbmQ6JywgJycpO1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KHRoaXMsIGtleSwge1xuICAgICAgICAgICAgICAgICAgICAgICAgZ2V0OiAoKSA9PiB0aGlzLmNvbnRhaW5lcldpZGdldFtrZXldLFxuICAgICAgICAgICAgICAgICAgICAgICAgc2V0OiBudiA9PiB0aGlzLmNvbnRhaW5lcldpZGdldC53aWRnZXRba2V5XSA9IG52XG4gICAgICAgICAgICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgICAgICAgICAgIGlmIChleHByKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvL1tUb2RvLUNTUF06IGV4cHIgd2lsbCBiZSBnZW5lcmF0ZWQgd2l0aCBwcmVmYWIuY29tcC5leHByLnRzXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnJlZ2lzdGVyRGVzdHJveUxpc3RlbmVyKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICR3YXRjaChleHByLCB0aGlzLCB7fSwgbnYgPT4gdGhpcy5jb250YWluZXJXaWRnZXQud2lkZ2V0W2tleV0gPSBudilcbiAgICAgICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdGhpcy5jb250YWluZXJXaWRnZXQuc2V0UHJvcHMoY29uZmlnLCByZXNvbHZlRm4pO1xuICAgICAgICAgICAgLy8gUmVhc3NpZ25pbmcgdGhlIHByb3h5IGhhbmRsZXIgZm9yIHByZWZhYiBpbmJvdW5kIHByb3BlcnRpZXMgYXMgd2VcbiAgICAgICAgICAgIC8vIHdpbGwgZ2V0IHRoZW0gb25seSBhZnRlciB0aGUgcHJlZmFiIGNvbmZpZyBjYWxsLlxuICAgICAgICAgICAgaWYgKGlzSUUoKSkge1xuICAgICAgICAgICAgICAgIHRoaXMuY29udGFpbmVyV2lkZ2V0LndpZGdldCA9IHRoaXMuY29udGFpbmVyV2lkZ2V0LmNyZWF0ZVByb3h5KCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0pXG4gICAg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lc2hEYXRhKSB7XG4gICAgICAgIHRoaXMudW5tdXRlKCk7XG4gICAgICAgIGlmIChyZWZyZXNoRGF0YSkge1xuICAgICAgICAgICAgY29uc3QgcmVmcmVzaCA9IHYgPT4geyB2ICYmIHYuc3RhcnRVcGRhdGUgJiYgdi5pbnZva2UgJiYgdi5pbnZva2UoKTsgfTtcbiAgICAgICAgICAgIF8uZWFjaCh0aGlzLlZhcmlhYmxlcywgcmVmcmVzaCk7XG4gICAgICAgICAgICBfLmVhY2godGhpcy5BY3Rpb25zLCByZWZyZXNoKTtcbiAgICAgICAgfVxuICAgICAgICBfLmVhY2godGhpcy5XaWRnZXRzLCB3ID0+IHcgJiYgdy5uZ09uQXR0YWNoICYmIHcubmdPbkF0dGFjaCgpKTtcbiAgICB9XG5cbiAgICBuZ09uRGV0YWNoKCkge1xuICAgICAgICB0aGlzLm11dGUoKTtcbiAgICAgICAgXy5lYWNoKHRoaXMuV2lkZ2V0cywgdyA9PiB3ICYmIHcubmdPbkRldGFjaCAmJiB3Lm5nT25EZXRhY2goKSk7XG4gICAgfVxuXG4gICAgLy8gdXNlciBvdmVycmlkZXMgdGhpc1xuICAgIG9uUHJvcGVydHlDaGFuZ2UoKSB7IH1cblxuICAgIG9uUmVhZHkocGFyYW1zPykge1xuICAgIH1cbn1cbiJdfQ==
@@ -43,4 +43,4 @@ export * from './services/toaster.service';
43
43
  export * from './types/types';
44
44
  export * from './util/fragment-monitor';
45
45
  export * from './util/utils';
46
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3J1bnRpbWUtYmFzZS9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLGdDQUFnQyxDQUFDO0FBQy9D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ZnJvbSAnLi9zZXJ2aWNlcy9keW5hbWljLWNvbXBvbmVudC1yZWYtcHJvdmlkZXIuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL3NlcnZpY2VzL2h0dHAtaW50ZXJjZXB0b3Iuc2VydmljZXMnO1xuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9pMThuLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9uYXZpZ2F0aW9uLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9waXBlLXByb3ZpZGVyLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9waXBlLnNlcnZpY2UnO1xuZXhwb3J0IHtcbiAgICBQcmVmYWJNYW5hZ2VyU2VydmljZVxufSBmcm9tICcuL3NlcnZpY2VzL3ByZWZhYi1tYW5hZ2VyLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9zcGlubmVyLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy90b2FzdGVyLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi90eXBlcy90eXBlcyc7XG5leHBvcnQgKiBmcm9tICcuL3V0aWwvZnJhZ21lbnQtbW9uaXRvcic7XG5leHBvcnQgKiBmcm9tICcuL3V0aWwvdXRpbHMnO1xuIl19
@@ -11,10 +11,12 @@ export class ComponentRefProvider {
11
11
  }
12
12
  export class PrefabConfigProvider {
13
13
  }
14
+ export class CustomwidgetConfigProvider {
15
+ }
14
16
  export class AppJSProvider {
15
17
  }
16
18
  export class AppVariablesProvider {
17
19
  }
18
20
  export class AppExtensionProvider {
19
21
  }
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9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0ZXJDb25maWdTY3JpcHQoY2FsbGJhY2s6RnVuY3Rpb24pOiB2b2lkO1xufVxuXG4iXX0=
@@ -111,6 +111,8 @@ class ComponentRefProvider {
111
111
  }
112
112
  class PrefabConfigProvider {
113
113
  }
114
+ class CustomwidgetConfigProvider {
115
+ }
114
116
  class AppJSProvider {
115
117
  }
116
118
  class AppVariablesProvider {
@@ -1467,6 +1469,7 @@ class BaseCustomWidgetComponent extends FragmentMonitor {
1467
1469
  this.i18nService = this.injector ? this.injector.get(AbstractI18nService) : inject(AbstractI18nService);
1468
1470
  this.scriptLoaderService = this.injector ? this.injector.get(ScriptLoaderService) : inject(ScriptLoaderService);
1469
1471
  this.Viewport = this.injector ? this.injector.get(Viewport) : inject(Viewport);
1472
+ this.customwidgetConfigProvider = this.injector ? this.injector.get(CustomwidgetConfigProvider) : inject(CustomwidgetConfigProvider);
1470
1473
  // this.viewContainerRef = this.getContainerWidgetInjector().get(ViewContainerRef);
1471
1474
  // Replacing this.getContainerWidgetInjector().view.component as viewParent
1472
1475
  // this.viewParent = (this.viewContainerRef as any).parentInjector._lView[8];
@@ -1614,10 +1617,10 @@ class BaseCustomWidgetComponent extends FragmentMonitor {
1614
1617
  * @param expressions, map of bind expression vs generated function
1615
1618
  */
1616
1619
  registerExpressions() {
1617
- const expressions = this.getExpressions();
1618
- _.each(expressions, (fn, expr) => {
1619
- registerFnByExpr(expr, fn[0], fn[1]);
1620
- });
1620
+ // const expressions = this.getExpressions();
1621
+ // _.each(expressions, (fn, expr)=>{
1622
+ // registerFnByExpr(expr, fn[0], fn[1]);
1623
+ // });
1621
1624
  }
1622
1625
  registerProps() {
1623
1626
  this.props = this.containerWidget.props;
@@ -1648,7 +1651,7 @@ class BaseCustomWidgetComponent extends FragmentMonitor {
1648
1651
  // });
1649
1652
  }
1650
1653
  registerPropsInContainerWidget(resolveFn) {
1651
- window['resourceCache'].get(`./custom-widgets/${this.customWidgetName}/page.min.json`).then(({ config }) => {
1654
+ this.customwidgetConfigProvider.getConfig(this.customWidgetName).then((config) => {
1652
1655
  if (config) {
1653
1656
  Object.entries((config.properties || {})).forEach(([key, prop]) => {
1654
1657
  let expr;
@@ -5526,5 +5529,5 @@ class SecurityConfigResolve {
5526
5529
  * Generated bundle index. Do not edit.
5527
5530
  */
5528
5531
 
5529
- export { AccessrolesDirective, AppComponent, AppDefaultsService, AppExtensionJSResolve, AppExtensionProvider, AppJSProvider, AppJSResolve, AppManagerService, AppRef, AppSpinnerComponent, AppVariablesProvider, AppVariablesResolve, AuthGuard, BaseCustomWidgetComponent, BaseLayoutComponent, BasePageComponent, BasePartialComponent, BasePrefabComponent, BaseSpaPageComponent, CACHE_PAGE, CanDeactivateNgPageGuard, CanDeactivatePageGuard, ComponentRefProvider, ComponentType, CustomToasterComponent, DynamicComponentRefProviderService, EmptyPageComponent, FragmentMonitor, HttpCallInterceptor, I18nResolve, I18nServiceImpl, InitializeApp, MAX_CACHE_AGE, MAX_CACHE_SIZE, MetadataResolve, NavigationServiceImpl, PageNotFoundGuard, PipeProvider, PipeService, PrefabConfigProvider, PrefabDirective, PrefabManagerService, PrefabPreviewComponent, REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS, RoleGuard, RuntimeBaseModule, SecurityConfigResolve, SpinnerServiceImpl, ToasterServiceImpl, WM_MODULES_FOR_ROOT, WmDefaultRouteReuseStrategy, WmNgRouteReuseStrategy, WmRouteReuseStrategy, commonPartialWidgets, getPrefabBaseUrl, getPrefabConfigUrl, getPrefabMinJsonUrl, getPrefabPartialJsonUrl, isPrefabInPreview, setAngularLocale };
5532
+ export { AccessrolesDirective, AppComponent, AppDefaultsService, AppExtensionJSResolve, AppExtensionProvider, AppJSProvider, AppJSResolve, AppManagerService, AppRef, AppSpinnerComponent, AppVariablesProvider, AppVariablesResolve, AuthGuard, BaseCustomWidgetComponent, BaseLayoutComponent, BasePageComponent, BasePartialComponent, BasePrefabComponent, BaseSpaPageComponent, CACHE_PAGE, CanDeactivateNgPageGuard, CanDeactivatePageGuard, ComponentRefProvider, ComponentType, CustomToasterComponent, CustomwidgetConfigProvider, DynamicComponentRefProviderService, EmptyPageComponent, FragmentMonitor, HttpCallInterceptor, I18nResolve, I18nServiceImpl, InitializeApp, MAX_CACHE_AGE, MAX_CACHE_SIZE, MetadataResolve, NavigationServiceImpl, PageNotFoundGuard, PipeProvider, PipeService, PrefabConfigProvider, PrefabDirective, PrefabManagerService, PrefabPreviewComponent, REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS, RoleGuard, RuntimeBaseModule, SecurityConfigResolve, SpinnerServiceImpl, ToasterServiceImpl, WM_MODULES_FOR_ROOT, WmDefaultRouteReuseStrategy, WmNgRouteReuseStrategy, WmRouteReuseStrategy, commonPartialWidgets, getPrefabBaseUrl, getPrefabConfigUrl, getPrefabMinJsonUrl, getPrefabPartialJsonUrl, isPrefabInPreview, setAngularLocale };
5530
5533
  //# sourceMappingURL=index.mjs.map