@acorex/platform 20.2.0-next.4 → 20.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/common/index.d.ts +30 -471
  2. package/core/index.d.ts +1 -1
  3. package/fesm2022/acorex-platform-auth.mjs +19 -19
  4. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  5. package/fesm2022/acorex-platform-common.mjs +148 -374
  6. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  7. package/fesm2022/acorex-platform-core.mjs +66 -45
  8. package/fesm2022/acorex-platform-core.mjs.map +1 -1
  9. package/fesm2022/acorex-platform-domain.mjs +16 -16
  10. package/fesm2022/acorex-platform-domain.mjs.map +1 -1
  11. package/fesm2022/acorex-platform-layout-builder.mjs +61 -38
  12. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  13. package/fesm2022/acorex-platform-layout-components.mjs +85 -85
  14. package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
  15. package/fesm2022/acorex-platform-layout-designer.mjs +72 -72
  16. package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
  17. package/fesm2022/acorex-platform-layout-entity.mjs +193 -127
  18. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  19. package/fesm2022/acorex-platform-layout-views.mjs +15 -15
  20. package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
  21. package/fesm2022/acorex-platform-native.mjs +7 -7
  22. package/fesm2022/acorex-platform-native.mjs.map +1 -1
  23. package/fesm2022/acorex-platform-runtime.mjs +40 -40
  24. package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
  25. package/fesm2022/{acorex-platform-themes-default-create-entity-view.component-DBkuhSDb.mjs → acorex-platform-themes-default-create-entity-view.component-SY0oMDoH.mjs} +4 -4
  26. package/fesm2022/{acorex-platform-themes-default-create-entity-view.component-DBkuhSDb.mjs.map → acorex-platform-themes-default-create-entity-view.component-SY0oMDoH.mjs.map} +1 -1
  27. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-8S2CXBAi.mjs → acorex-platform-themes-default-entity-master-create-view.component-hHXxHlFG.mjs} +4 -4
  28. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-8S2CXBAi.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-hHXxHlFG.mjs.map} +1 -1
  29. package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-Bf8N5e5h.mjs → acorex-platform-themes-default-entity-master-list-view.component-hf4QOz_4.mjs} +22 -22
  30. package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-Bf8N5e5h.mjs.map → acorex-platform-themes-default-entity-master-list-view.component-hf4QOz_4.mjs.map} +1 -1
  31. package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-DF0gS61P.mjs → acorex-platform-themes-default-entity-master-modify-view.component-DC3MrDtI.mjs} +4 -4
  32. package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-DF0gS61P.mjs.map → acorex-platform-themes-default-entity-master-modify-view.component-DC3MrDtI.mjs.map} +1 -1
  33. package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-CEnHe_cU.mjs → acorex-platform-themes-default-entity-master-single-view.component-Bb90PeHq.mjs} +65 -28
  34. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bb90PeHq.mjs.map +1 -0
  35. package/fesm2022/{acorex-platform-themes-default-error-401.component-BYI4xP23.mjs → acorex-platform-themes-default-error-401.component-D4glpFvU.mjs} +4 -4
  36. package/fesm2022/{acorex-platform-themes-default-error-401.component-BYI4xP23.mjs.map → acorex-platform-themes-default-error-401.component-D4glpFvU.mjs.map} +1 -1
  37. package/fesm2022/{acorex-platform-themes-default-error-404.component-1gM0Vlbv.mjs → acorex-platform-themes-default-error-404.component-BvGeDMjo.mjs} +4 -4
  38. package/fesm2022/{acorex-platform-themes-default-error-404.component-1gM0Vlbv.mjs.map → acorex-platform-themes-default-error-404.component-BvGeDMjo.mjs.map} +1 -1
  39. package/fesm2022/{acorex-platform-themes-default-error-offline.component-Y3w3K60c.mjs → acorex-platform-themes-default-error-offline.component-BINy-Zo3.mjs} +4 -4
  40. package/fesm2022/{acorex-platform-themes-default-error-offline.component-Y3w3K60c.mjs.map → acorex-platform-themes-default-error-offline.component-BINy-Zo3.mjs.map} +1 -1
  41. package/fesm2022/acorex-platform-themes-default.mjs +39 -39
  42. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  43. package/fesm2022/{acorex-platform-themes-shared-color-chooser-column.component-BLFvyMvH.mjs → acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs} +4 -4
  44. package/fesm2022/{acorex-platform-themes-shared-color-chooser-column.component-BLFvyMvH.mjs.map → acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs.map} +1 -1
  45. package/fesm2022/{acorex-platform-themes-shared-color-chooser-view.component-CN1lEEOY.mjs → acorex-platform-themes-shared-color-chooser-view.component-DE0wO98F.mjs} +4 -4
  46. package/fesm2022/{acorex-platform-themes-shared-color-chooser-view.component-CN1lEEOY.mjs.map → acorex-platform-themes-shared-color-chooser-view.component-DE0wO98F.mjs.map} +1 -1
  47. package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-UJ2abdzQ.mjs → acorex-platform-themes-shared-icon-chooser-view.component-C833prGO.mjs} +4 -4
  48. package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-UJ2abdzQ.mjs.map → acorex-platform-themes-shared-icon-chooser-view.component-C833prGO.mjs.map} +1 -1
  49. package/fesm2022/acorex-platform-themes-shared.mjs +41 -41
  50. package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
  51. package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-BMsEt6Lq.mjs → acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs} +4 -4
  52. package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-BMsEt6Lq.mjs.map → acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs.map} +1 -1
  53. package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-CezBQ0iO.mjs → acorex-platform-widgets-checkbox-widget-column.component-BNBOATPB.mjs} +4 -4
  54. package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-CezBQ0iO.mjs.map → acorex-platform-widgets-checkbox-widget-column.component-BNBOATPB.mjs.map} +1 -1
  55. package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-BkH4hBUc.mjs → acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs} +4 -4
  56. package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-BkH4hBUc.mjs.map → acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs.map} +1 -1
  57. package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-BwlHVBRW.mjs → acorex-platform-widgets-checkbox-widget-view.component-C6-QPsnb.mjs} +4 -4
  58. package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-BwlHVBRW.mjs.map → acorex-platform-widgets-checkbox-widget-view.component-C6-QPsnb.mjs.map} +1 -1
  59. package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-BPLG8mY4.mjs → acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs} +4 -4
  60. package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-BPLG8mY4.mjs.map → acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs.map} +1 -1
  61. package/fesm2022/{acorex-platform-widgets-file-list-popup.component-Bwbrw1xo.mjs → acorex-platform-widgets-file-list-popup.component-DFbPO0ud.mjs} +4 -4
  62. package/fesm2022/{acorex-platform-widgets-file-list-popup.component-Bwbrw1xo.mjs.map → acorex-platform-widgets-file-list-popup.component-DFbPO0ud.mjs.map} +1 -1
  63. package/fesm2022/{acorex-platform-widgets-file-rename-popup.component-CXRHtjFu.mjs → acorex-platform-widgets-file-rename-popup.component-DA_CgIvm.mjs} +4 -4
  64. package/fesm2022/{acorex-platform-widgets-file-rename-popup.component-CXRHtjFu.mjs.map → acorex-platform-widgets-file-rename-popup.component-DA_CgIvm.mjs.map} +1 -1
  65. package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-Cf5bTu-k.mjs → acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs} +4 -4
  66. package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-Cf5bTu-k.mjs.map → acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs.map} +1 -1
  67. package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-DOGwSrH1.mjs → acorex-platform-widgets-rich-text-popup.component-CM_v-cL4.mjs} +4 -4
  68. package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-DOGwSrH1.mjs.map → acorex-platform-widgets-rich-text-popup.component-CM_v-cL4.mjs.map} +1 -1
  69. package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-CFg2-tyF.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs} +4 -4
  70. package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-CFg2-tyF.mjs.map → acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs.map} +1 -1
  71. package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-BvVF-vJF.mjs → acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs} +4 -4
  72. package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-BvVF-vJF.mjs.map → acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs.map} +1 -1
  73. package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-BhXq3JZ1.mjs → acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs} +4 -4
  74. package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-BhXq3JZ1.mjs.map → acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs.map} +1 -1
  75. package/fesm2022/acorex-platform-widgets.mjs +572 -572
  76. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  77. package/fesm2022/acorex-platform-workflow.mjs +25 -25
  78. package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
  79. package/layout/entity/index.d.ts +8 -3
  80. package/package.json +5 -5
  81. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-CEnHe_cU.mjs.map +0 -1
@@ -52,6 +52,22 @@ class AXPAppVersionDefaultProvider {
52
52
  };
53
53
  }
54
54
  }
55
+ class AXPAppVersionService {
56
+ constructor() {
57
+ this.provider = inject(AXP_APP_VERSION_PROVIDER);
58
+ }
59
+ async getAppVersion() {
60
+ return this.provider.provider();
61
+ }
62
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPAppVersionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
63
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPAppVersionService, providedIn: 'root' }); }
64
+ }
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPAppVersionService, decorators: [{
66
+ type: Injectable,
67
+ args: [{
68
+ providedIn: 'root',
69
+ }]
70
+ }] });
55
71
 
56
72
  var AXPRelationshipKind;
57
73
  (function (AXPRelationshipKind) {
@@ -157,6 +173,7 @@ const GTE_OPER = {
157
173
  const LTE_OPER = { name: 'lessThanOrEqual', title: 'Less Than or Equal', hasValue: true };
158
174
  const CONTAINS_OPER = { name: 'contains', title: 'Contains', hasValue: true };
159
175
  const NOT_CONTAINS_OPER = { name: 'notContains', title: 'Does Not Contain', hasValue: true };
176
+ const IN_OPER = { name: 'in', title: 'In', hasValue: true };
160
177
  const STARTS_WITH_OPER = { name: 'startsWith', title: 'Starts With', hasValue: true };
161
178
  const ENDS_WITH_OPER = { name: 'endsWith', title: 'Ends With', hasValue: true };
162
179
  const IS_EMPTY_OPER = { name: 'isEmpty', title: 'Is Empty', hasValue: false };
@@ -171,6 +188,7 @@ const STRING_OPERATORS = [
171
188
  ENDS_WITH_OPER,
172
189
  IS_EMPTY_OPER,
173
190
  IS_NOT_EMPTY_OPER,
191
+ IN_OPER
174
192
  ];
175
193
  const NUMBER_OPERATORS = [
176
194
  EQ_OPER,
@@ -202,6 +220,7 @@ const ALL_DEFAULT_OPERATORS = [
202
220
  GTE_OPER,
203
221
  LTE_OPER,
204
222
  CONTAINS_OPER,
223
+ IN_OPER,
205
224
  NOT_CONTAINS_OPER,
206
225
  STARTS_WITH_OPER,
207
226
  ENDS_WITH_OPER,
@@ -447,27 +466,46 @@ class AXPSettingDefinitionProviderService {
447
466
  sections: []
448
467
  };
449
468
  }
450
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPSettingDefinitionProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
451
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPSettingDefinitionProviderService, providedIn: 'root' }); }
469
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSettingDefinitionProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
470
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSettingDefinitionProviderService, providedIn: 'root' }); }
452
471
  }
453
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPSettingDefinitionProviderService, decorators: [{
472
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSettingDefinitionProviderService, decorators: [{
454
473
  type: Injectable,
455
474
  args: [{ providedIn: 'root' }]
456
475
  }] });
457
- class AXPSettingDefaultValueProvider {
476
+ // Multi-provider token for higher-layer default values
477
+ const AXP_SETTING_DEFAULT_VALUES_PROVIDERS = new InjectionToken('AXP_SETTING_DEFAULT_VALUES_PROVIDERS', {
478
+ providedIn: 'root',
479
+ factory: () => [],
480
+ });
481
+ // Aggregator service that merges definition defaults with higher-layer providers (by priority)
482
+ class AXPSettingDefaultValuesAggregatorService {
458
483
  constructor() {
459
- this.definitionProvider = inject(AXPSettingDefinitionProviderService);
460
- }
461
- get scope() {
462
- return AXPPlatformScope.Global;
463
- }
464
- async load() {
465
- return Object.entries(await this.definitionProvider.defaultValues()).map(c => ({ key: c[0], value: c[1] }));
466
- }
467
- set(key, value) {
468
- throw new Error('Method not implemented.');
484
+ this.definitionService = inject(AXPSettingDefinitionProviderService);
485
+ this.providers = inject(AXP_SETTING_DEFAULT_VALUES_PROVIDERS, { optional: true }) ?? [];
486
+ }
487
+ async getDefaults() {
488
+ const baseDefaults = await this.definitionService.defaultValues();
489
+ const ordered = [...this.providers].sort((a, b) => (a.priority ?? 0) - (b.priority ?? 0));
490
+ const merged = { ...baseDefaults };
491
+ for (const provider of ordered) {
492
+ try {
493
+ const overrideMap = await provider.provide();
494
+ Object.assign(merged, overrideMap);
495
+ }
496
+ catch (err) {
497
+ console.error('AXPSettingDefaultValuesProvider failed:', err);
498
+ }
499
+ }
500
+ return merged;
469
501
  }
502
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSettingDefaultValuesAggregatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
503
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSettingDefaultValuesAggregatorService, providedIn: 'root' }); }
470
504
  }
505
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSettingDefaultValuesAggregatorService, decorators: [{
506
+ type: Injectable,
507
+ args: [{ providedIn: 'root' }]
508
+ }] });
471
509
 
472
510
  const AXP_SETTING_VALUE_PROVIDER = new InjectionToken('AXP_SETTING_VALUE_PROVIDER', {
473
511
  providedIn: 'root',
@@ -623,8 +661,7 @@ class AXPSettingService {
623
661
  }
624
662
  }
625
663
  }
626
- const definitionService = this.injector.get(AXPSettingDefinitionProviderService);
627
- const defaults = await definitionService.defaultValues();
664
+ const defaults = await this.injector.get(AXPSettingDefaultValuesAggregatorService).getDefaults();
628
665
  return get(defaults, key); // Fallback if no value is found
629
666
  }
630
667
  async defaultValues(scope) {
@@ -652,9 +689,8 @@ class AXPSettingService {
652
689
  });
653
690
  }
654
691
  }
655
- // Merge with global default values from the definition service
656
- const definitionService = this.injector.get(AXPSettingDefinitionProviderService);
657
- const globalDefaults = await definitionService.defaultValues();
692
+ // Merge with aggregated default values (definition + higher-layer providers)
693
+ const globalDefaults = await this.injector.get(AXPSettingDefaultValuesAggregatorService).getDefaults();
658
694
  return { ...globalDefaults, ...accumulatedDefaults };
659
695
  }
660
696
  scope(scope) {
@@ -668,10 +704,10 @@ class AXPSettingService {
668
704
  this.onChanged.next(event);
669
705
  this.eventService.publish('AXPSettingChangedEvent', event);
670
706
  }
671
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPSettingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
672
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPSettingService, providedIn: 'root' }); }
707
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSettingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
708
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSettingService, providedIn: 'root' }); }
673
709
  }
674
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPSettingService, decorators: [{
710
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSettingService, decorators: [{
675
711
  type: Injectable,
676
712
  args: [{
677
713
  providedIn: 'root',
@@ -853,10 +889,10 @@ class AXPHomePageService {
853
889
  router.navigate([current.path]);
854
890
  }, 100);
855
891
  }
856
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPHomePageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
857
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPHomePageService, providedIn: 'root' }); }
892
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPHomePageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
893
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPHomePageService, providedIn: 'root' }); }
858
894
  }
859
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPHomePageService, decorators: [{
895
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPHomePageService, decorators: [{
860
896
  type: Injectable,
861
897
  args: [{
862
898
  providedIn: 'root',
@@ -918,17 +954,17 @@ class AXPHomePageSettingProvider {
918
954
  // End the 'General Settings' group
919
955
  .endGroup();
920
956
  }
921
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPHomePageSettingProvider, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
922
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPHomePageSettingProvider }); }
957
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPHomePageSettingProvider, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
958
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPHomePageSettingProvider }); }
923
959
  }
924
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPHomePageSettingProvider, decorators: [{
960
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPHomePageSettingProvider, decorators: [{
925
961
  type: Injectable
926
962
  }], ctorParameters: () => [{ type: i0.Injector }] });
927
963
 
928
964
  class AXPHomePageModule {
929
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPHomePageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
930
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: AXPHomePageModule }); }
931
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPHomePageModule, providers: [
965
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPHomePageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
966
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXPHomePageModule }); }
967
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPHomePageModule, providers: [
932
968
  {
933
969
  provide: AXP_SETTING_DEFINITION_PROVIDER,
934
970
  useClass: AXPHomePageSettingProvider,
@@ -936,7 +972,7 @@ class AXPHomePageModule {
936
972
  },
937
973
  ] }); }
938
974
  }
939
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPHomePageModule, decorators: [{
975
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPHomePageModule, decorators: [{
940
976
  type: NgModule,
941
977
  args: [{
942
978
  imports: [],
@@ -959,10 +995,10 @@ class AXPCustomOperatorServiceImpl extends AXPCustomOperatorService {
959
995
  getCustomOperators() {
960
996
  return {};
961
997
  }
962
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPCustomOperatorServiceImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
963
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPCustomOperatorServiceImpl }); }
998
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPCustomOperatorServiceImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
999
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPCustomOperatorServiceImpl }); }
964
1000
  }
965
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPCustomOperatorServiceImpl, decorators: [{
1001
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPCustomOperatorServiceImpl, decorators: [{
966
1002
  type: Injectable
967
1003
  }] });
968
1004
 
@@ -1007,10 +1043,10 @@ class AXPFilterOperatorMiddlewareServiceImpl extends AXPFilterOperatorMiddleware
1007
1043
  return acc;
1008
1044
  }, {});
1009
1045
  }
1010
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPFilterOperatorMiddlewareServiceImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1011
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPFilterOperatorMiddlewareServiceImpl }); }
1046
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPFilterOperatorMiddlewareServiceImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1047
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPFilterOperatorMiddlewareServiceImpl }); }
1012
1048
  }
1013
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPFilterOperatorMiddlewareServiceImpl, decorators: [{
1049
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPFilterOperatorMiddlewareServiceImpl, decorators: [{
1014
1050
  type: Injectable
1015
1051
  }] });
1016
1052
 
@@ -1031,10 +1067,10 @@ class AXPErrorHandlerRegistryService {
1031
1067
  get handlers() {
1032
1068
  return this.errorHandlers;
1033
1069
  }
1034
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPErrorHandlerRegistryService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
1035
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPErrorHandlerRegistryService, providedIn: 'root' }); }
1070
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPErrorHandlerRegistryService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
1071
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPErrorHandlerRegistryService, providedIn: 'root' }); }
1036
1072
  }
1037
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPErrorHandlerRegistryService, decorators: [{
1073
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPErrorHandlerRegistryService, decorators: [{
1038
1074
  type: Injectable,
1039
1075
  args: [{
1040
1076
  providedIn: 'root'
@@ -1065,10 +1101,10 @@ class AXPGlobalErrorHandler extends ErrorHandler {
1065
1101
  }
1066
1102
  handleErrorRecursively(0, error);
1067
1103
  }
1068
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPGlobalErrorHandler, deps: [{ token: i0.Injector }, { token: AXPErrorHandlerRegistryService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1069
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPGlobalErrorHandler, providedIn: 'root' }); }
1104
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPGlobalErrorHandler, deps: [{ token: i0.Injector }, { token: AXPErrorHandlerRegistryService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1105
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPGlobalErrorHandler, providedIn: 'root' }); }
1070
1106
  }
1071
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPGlobalErrorHandler, decorators: [{
1107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPGlobalErrorHandler, decorators: [{
1072
1108
  type: Injectable,
1073
1109
  args: [{ providedIn: 'root' }]
1074
1110
  }], ctorParameters: () => [{ type: i0.Injector }, { type: AXPErrorHandlerRegistryService }] });
@@ -1120,10 +1156,10 @@ class AXPGridLayoutDirective {
1120
1156
  }
1121
1157
  });
1122
1158
  }
1123
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPGridLayoutDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
1124
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.4", type: AXPGridLayoutDirective, isStandalone: true, selector: "[gridLayout]", inputs: { options: ["gridLayout", "options"] }, usesOnChanges: true, ngImport: i0 }); }
1159
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPGridLayoutDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
1160
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.6", type: AXPGridLayoutDirective, isStandalone: true, selector: "[gridLayout]", inputs: { options: ["gridLayout", "options"] }, usesOnChanges: true, ngImport: i0 }); }
1125
1161
  }
1126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPGridLayoutDirective, decorators: [{
1162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPGridLayoutDirective, decorators: [{
1127
1163
  type: Directive,
1128
1164
  args: [{
1129
1165
  selector: '[gridLayout]',
@@ -1219,10 +1255,10 @@ class AXPStickyDirective {
1219
1255
  this.mutationObserver.disconnect();
1220
1256
  }
1221
1257
  }
1222
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPStickyDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
1223
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.4", type: AXPStickyDirective, isStandalone: true, selector: "[axpSticky]", inputs: { stickyClass: ["axpSticky", "stickyClass"], stickyOffset: "stickyOffset", stickyParent: "stickyParent", stickyTarget: "stickyTarget" }, outputs: { isStickyChange: "isStickyChange" }, exportAs: ["axpSticky"], ngImport: i0 }); }
1258
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPStickyDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
1259
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.6", type: AXPStickyDirective, isStandalone: true, selector: "[axpSticky]", inputs: { stickyClass: ["axpSticky", "stickyClass"], stickyOffset: "stickyOffset", stickyParent: "stickyParent", stickyTarget: "stickyTarget" }, outputs: { isStickyChange: "isStickyChange" }, exportAs: ["axpSticky"], ngImport: i0 }); }
1224
1260
  }
1225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPStickyDirective, decorators: [{
1261
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPStickyDirective, decorators: [{
1226
1262
  type: Directive,
1227
1263
  args: [{
1228
1264
  selector: '[axpSticky]',
@@ -1273,10 +1309,10 @@ class AXPLogoComponent {
1273
1309
  this.source = this.platform.isDark() ? this.source.dark : this.source.light;
1274
1310
  }
1275
1311
  }
1276
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPLogoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1277
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: AXPLogoComponent, isStandalone: true, selector: "axp-logo", inputs: { source: "source" }, host: { classAttribute: "ax-flex ax-justify-center" }, usesOnChanges: true, ngImport: i0, template: "@switch (logoType) { @case ('url') {\n<ax-image [width]=\"source.width\" [height]=\"source.height\" [src]=\"source.url\"></ax-image>\n} @case ('component') {\n<ng-container *ngComponentOutlet=\"source.component\"></ng-container>\n} }\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2.AXImageComponent, selector: "ax-image", inputs: ["width", "height", "overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXDecoratorModule }] }); }
1312
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPLogoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1313
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AXPLogoComponent, isStandalone: true, selector: "axp-logo", inputs: { source: "source" }, host: { classAttribute: "ax-flex ax-justify-center" }, usesOnChanges: true, ngImport: i0, template: "@switch (logoType) { @case ('url') {\n<ax-image [width]=\"source.width\" [height]=\"source.height\" [src]=\"source.url\"></ax-image>\n} @case ('component') {\n<ng-container *ngComponentOutlet=\"source.component\"></ng-container>\n} }\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2.AXImageComponent, selector: "ax-image", inputs: ["width", "height", "overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXDecoratorModule }] }); }
1278
1314
  }
1279
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPLogoComponent, decorators: [{
1315
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPLogoComponent, decorators: [{
1280
1316
  type: Component,
1281
1317
  args: [{ selector: 'axp-logo', imports: [CommonModule, AXImageModule, AXDecoratorModule], host: { class: 'ax-flex ax-justify-center' }, template: "@switch (logoType) { @case ('url') {\n<ax-image [width]=\"source.width\" [height]=\"source.height\" [src]=\"source.url\"></ax-image>\n} @case ('component') {\n<ng-container *ngComponentOutlet=\"source.component\"></ng-container>\n} }\n" }]
1282
1318
  }], propDecorators: { source: [{
@@ -1419,10 +1455,10 @@ class AXPMenuProviderService {
1419
1455
  this.pendingUpdates = [];
1420
1456
  this.pendingAdditions = [];
1421
1457
  }
1422
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPMenuProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1423
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPMenuProviderService, providedIn: 'root' }); }
1458
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPMenuProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1459
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPMenuProviderService, providedIn: 'root' }); }
1424
1460
  }
1425
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPMenuProviderService, decorators: [{
1461
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPMenuProviderService, decorators: [{
1426
1462
  type: Injectable,
1427
1463
  args: [{ providedIn: 'root' }]
1428
1464
  }] });
@@ -1626,12 +1662,12 @@ class AXPMenuSearchProvider {
1626
1662
  }
1627
1663
 
1628
1664
  class AXPFooterTextSlotComponent {
1629
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPFooterTextSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1630
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: AXPFooterTextSlotComponent, isStandalone: true, selector: "ng-component", inputs: { text: "text" }, ngImport: i0, template: `
1665
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPFooterTextSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1666
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: AXPFooterTextSlotComponent, isStandalone: true, selector: "ng-component", inputs: { text: "text" }, ngImport: i0, template: `
1631
1667
  <small class="ax-text-sm" [innerHTML]="text"></small>
1632
1668
  `, isInline: true }); }
1633
1669
  }
1634
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPFooterTextSlotComponent, decorators: [{
1670
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPFooterTextSlotComponent, decorators: [{
1635
1671
  type: Component,
1636
1672
  args: [{
1637
1673
  template: `
@@ -1648,8 +1684,8 @@ class AXPNavBarSlotComponent {
1648
1684
  // if (action)
1649
1685
  // this.store.dispatch(action)
1650
1686
  }
1651
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPNavBarSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1652
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: AXPNavBarSlotComponent, isStandalone: true, selector: "ng-component", inputs: { items: "items" }, ngImport: i0, template: `
1687
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPNavBarSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1688
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AXPNavBarSlotComponent, isStandalone: true, selector: "ng-component", inputs: { items: "items" }, ngImport: i0, template: `
1653
1689
  <div class="ax-flex ax-items-center ax-justify-between ax-gap-5">
1654
1690
  @for (link of items; track link) {
1655
1691
  <a (click)="handleCommand(link.command)" >{{ link.text }}</a>
@@ -1657,7 +1693,7 @@ class AXPNavBarSlotComponent {
1657
1693
  </div>
1658
1694
  `, isInline: true, encapsulation: i0.ViewEncapsulation.None }); }
1659
1695
  }
1660
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPNavBarSlotComponent, decorators: [{
1696
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPNavBarSlotComponent, decorators: [{
1661
1697
  type: Component,
1662
1698
  args: [{
1663
1699
  template: `
@@ -1788,10 +1824,10 @@ class AXPSearchDefinitionProviderService {
1788
1824
  }
1789
1825
  return definition;
1790
1826
  }
1791
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPSearchDefinitionProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1792
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPSearchDefinitionProviderService, providedIn: 'root' }); }
1827
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSearchDefinitionProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1828
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSearchDefinitionProviderService, providedIn: 'root' }); }
1793
1829
  }
1794
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPSearchDefinitionProviderService, decorators: [{
1830
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSearchDefinitionProviderService, decorators: [{
1795
1831
  type: Injectable,
1796
1832
  args: [{ providedIn: 'root' }]
1797
1833
  }] });
@@ -1875,10 +1911,10 @@ class AXPSearchService {
1875
1911
  groupedData.sort((a, b) => a.order - b.order);
1876
1912
  return groupedData;
1877
1913
  }
1878
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPSearchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1879
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPSearchService, providedIn: 'root' }); }
1914
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSearchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1915
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSearchService, providedIn: 'root' }); }
1880
1916
  }
1881
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPSearchService, decorators: [{
1917
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSearchService, decorators: [{
1882
1918
  type: Injectable,
1883
1919
  args: [{ providedIn: 'root' }]
1884
1920
  }] });
@@ -1905,10 +1941,10 @@ class AXPWorkflowNavigateAction extends AXPWorkflowAction {
1905
1941
  this.router.navigate([payload.commands], payload.extras);
1906
1942
  }
1907
1943
  }
1908
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPWorkflowNavigateAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1909
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPWorkflowNavigateAction }); }
1944
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPWorkflowNavigateAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1945
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPWorkflowNavigateAction }); }
1910
1946
  }
1911
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPWorkflowNavigateAction, decorators: [{
1947
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPWorkflowNavigateAction, decorators: [{
1912
1948
  type: Injectable
1913
1949
  }] });
1914
1950
  class AXPDialogConfirmAction extends AXPWorkflowAction {
@@ -1924,10 +1960,10 @@ class AXPDialogConfirmAction extends AXPWorkflowAction {
1924
1960
  console.log({ dialogResult });
1925
1961
  context.setOutput('result', dialogResult.result);
1926
1962
  }
1927
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPDialogConfirmAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1928
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPDialogConfirmAction }); }
1963
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPDialogConfirmAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1964
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPDialogConfirmAction }); }
1929
1965
  }
1930
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPDialogConfirmAction, decorators: [{
1966
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPDialogConfirmAction, decorators: [{
1931
1967
  type: Injectable
1932
1968
  }] });
1933
1969
  class AXPToastAction extends AXPWorkflowAction {
@@ -1951,20 +1987,20 @@ class AXPToastAction extends AXPWorkflowAction {
1951
1987
  });
1952
1988
  }
1953
1989
  }
1954
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPToastAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1955
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPToastAction }); }
1990
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPToastAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1991
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPToastAction }); }
1956
1992
  }
1957
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPToastAction, decorators: [{
1993
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPToastAction, decorators: [{
1958
1994
  type: Injectable
1959
1995
  }] });
1960
1996
  class AXPReloadAction extends AXPWorkflowAction {
1961
1997
  async execute(context) {
1962
1998
  this.dispatch(AXPReloadEvent({ entity: context.getVariable('entity'), meta: context.getVariable('meta') }));
1963
1999
  }
1964
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPReloadAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1965
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPReloadAction }); }
2000
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPReloadAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
2001
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPReloadAction }); }
1966
2002
  }
1967
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPReloadAction, decorators: [{
2003
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPReloadAction, decorators: [{
1968
2004
  type: Injectable
1969
2005
  }] });
1970
2006
 
@@ -2004,10 +2040,10 @@ class AXPWorkflowRouterNavigateAction extends AXPWorkflowAction {
2004
2040
  return params;
2005
2041
  }, {});
2006
2042
  }
2007
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPWorkflowRouterNavigateAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
2008
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPWorkflowRouterNavigateAction }); }
2043
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPWorkflowRouterNavigateAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
2044
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPWorkflowRouterNavigateAction }); }
2009
2045
  }
2010
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPWorkflowRouterNavigateAction, decorators: [{
2046
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPWorkflowRouterNavigateAction, decorators: [{
2011
2047
  type: Injectable
2012
2048
  }] });
2013
2049
  const AXPNavigateWorkflow = {
@@ -2032,10 +2068,10 @@ class AXMWorkflowErrorHandler {
2032
2068
  next(error);
2033
2069
  }
2034
2070
  }
2035
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMWorkflowErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2036
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMWorkflowErrorHandler }); }
2071
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMWorkflowErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2072
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMWorkflowErrorHandler }); }
2037
2073
  }
2038
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMWorkflowErrorHandler, decorators: [{
2074
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMWorkflowErrorHandler, decorators: [{
2039
2075
  type: Injectable
2040
2076
  }] });
2041
2077
 
@@ -2087,10 +2123,10 @@ class AXPGlobalVariableDefinitionService {
2087
2123
  clearDefinitionsCache() {
2088
2124
  this.definitionsByName.clear();
2089
2125
  }
2090
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPGlobalVariableDefinitionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2091
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPGlobalVariableDefinitionService, providedIn: 'root' }); }
2126
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPGlobalVariableDefinitionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2127
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPGlobalVariableDefinitionService, providedIn: 'root' }); }
2092
2128
  }
2093
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPGlobalVariableDefinitionService, decorators: [{
2129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPGlobalVariableDefinitionService, decorators: [{
2094
2130
  type: Injectable,
2095
2131
  args: [{
2096
2132
  providedIn: 'root',
@@ -2159,11 +2195,11 @@ class AXPCommonModule {
2159
2195
  },
2160
2196
  });
2161
2197
  }
2162
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPCommonModule, deps: [{ token: 'AXPCommonModuleFactory' }, { token: i1$1.AXPAppStartUpService }, { token: AXPSettingService }], target: i0.ɵɵFactoryTarget.NgModule }); }
2163
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: AXPCommonModule, imports: [i3.AXPWorkflowModule, AXPopupModule,
2198
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPCommonModule, deps: [{ token: 'AXPCommonModuleFactory' }, { token: i1$1.AXPAppStartUpService }, { token: AXPSettingService }], target: i0.ɵɵFactoryTarget.NgModule }); }
2199
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXPCommonModule, imports: [i3.AXPWorkflowModule, AXPopupModule,
2164
2200
  AXDateTimeModule,
2165
2201
  AXToastModule], exports: [RouterModule] }); }
2166
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPCommonModule, providers: [
2202
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPCommonModule, providers: [
2167
2203
  AXPAppStartUpProvider,
2168
2204
  {
2169
2205
  provide: ErrorHandler,
@@ -2207,7 +2243,7 @@ class AXPCommonModule {
2207
2243
  AXDateTimeModule,
2208
2244
  AXToastModule, RouterModule] }); }
2209
2245
  }
2210
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPCommonModule, decorators: [{
2246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPCommonModule, decorators: [{
2211
2247
  type: NgModule,
2212
2248
  args: [{
2213
2249
  imports: [
@@ -2284,10 +2320,10 @@ function configPlatform(config = AXPPlatformDefaultConfigs) {
2284
2320
  const AXP_ROOT_CONFIG_TOKEN = new InjectionToken('AXP_ROOT_CONFIG_TOKEN');
2285
2321
 
2286
2322
  class AXPFileStorageService {
2287
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPFileStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2288
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPFileStorageService }); }
2323
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPFileStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2324
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPFileStorageService }); }
2289
2325
  }
2290
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPFileStorageService, decorators: [{
2326
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPFileStorageService, decorators: [{
2291
2327
  type: Injectable
2292
2328
  }] });
2293
2329
 
@@ -2317,284 +2353,22 @@ class AXPFileTypeProviderService {
2317
2353
  async get(name) {
2318
2354
  return (await this.items()).find((c) => c.name == name);
2319
2355
  }
2320
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPFileTypeProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2321
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPFileTypeProviderService, providedIn: 'root' }); }
2356
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPFileTypeProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2357
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPFileTypeProviderService, providedIn: 'root' }); }
2322
2358
  }
2323
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPFileTypeProviderService, decorators: [{
2359
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPFileTypeProviderService, decorators: [{
2324
2360
  type: Injectable,
2325
2361
  args: [{ providedIn: 'root' }]
2326
2362
  }] });
2327
2363
 
2328
2364
  class AXPLockService {
2329
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPLockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2330
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPLockService }); }
2365
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPLockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2366
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPLockService }); }
2331
2367
  }
2332
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPLockService, decorators: [{
2368
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPLockService, decorators: [{
2333
2369
  type: Injectable
2334
2370
  }] });
2335
2371
 
2336
- //#region ---- Imports ----
2337
- //#endregion
2338
-
2339
- const AXP_REPORT_DEFINITION_PROVIDER = new InjectionToken('AXP_REPORT_DEFINITION_PROVIDER', {
2340
- factory: () => [],
2341
- });
2342
- const AXP_REPORT_CATEGORY_PROVIDER = new InjectionToken('AXP_REPORT_CATEGORY_PROVIDER', {
2343
- factory: () => [],
2344
- });
2345
-
2346
- //#region ---- Imports ----
2347
- //#endregion
2348
- class AXPReportDefinitionService {
2349
- constructor() {
2350
- //#region ---- Providers & Caches ----
2351
- this.categoryProviders = inject(AXP_REPORT_CATEGORY_PROVIDER, { optional: true }) || [];
2352
- this.definitionProviders = inject(AXP_REPORT_DEFINITION_PROVIDER, { optional: true }) || [];
2353
- /** Cache for definitions by categoryId. */
2354
- this.definitionsByCategory = new Map();
2355
- /** Cache for categories by id. */
2356
- this.categoriesById = new Map();
2357
- /** Cache for categories by parentId. */
2358
- this.categoriesByParentId = new Map();
2359
- }
2360
- //#endregion
2361
- //#region ---- Public API ----
2362
- /**
2363
- * Returns all categories for a given parentId, loading from providers if not cached.
2364
- * @param parentId The parent ID to filter by (or undefined for root categories).
2365
- */
2366
- async getCategories(parentId) {
2367
- if (this.categoriesByParentId.has(parentId)) {
2368
- return this.categoriesByParentId.get(parentId);
2369
- }
2370
- const resolvedProviders = await Promise.all(this.categoryProviders);
2371
- const categories = [];
2372
- for (const provider of resolvedProviders) {
2373
- if (provider && typeof provider.getList === 'function') {
2374
- const cats = await provider.getList(parentId);
2375
- if (Array.isArray(cats)) {
2376
- categories.push(...cats);
2377
- }
2378
- }
2379
- }
2380
- this.categoriesByParentId.set(parentId, categories);
2381
- // Optionally update categoriesById cache for fast lookup by id
2382
- for (const cat of categories) {
2383
- this.categoriesById.set(cat.id, cat);
2384
- }
2385
- return categories;
2386
- }
2387
- /**
2388
- * Returns all report definitions for a given categoryId, loading from providers if not cached.
2389
- * @param categoryId The category ID to filter by.
2390
- */
2391
- async getReportsByCategoryId(categoryId) {
2392
- if (this.definitionsByCategory.has(categoryId)) {
2393
- return this.definitionsByCategory.get(categoryId);
2394
- }
2395
- const resolvedProviders = await Promise.all(this.definitionProviders);
2396
- const definitions = [];
2397
- for (const provider of resolvedProviders) {
2398
- if (provider && typeof provider.getList === 'function') {
2399
- const defs = await provider.getList(categoryId);
2400
- if (Array.isArray(defs)) {
2401
- definitions.push(...defs);
2402
- }
2403
- }
2404
- }
2405
- this.definitionsByCategory.set(categoryId, definitions);
2406
- return definitions;
2407
- }
2408
- /**
2409
- * Returns a report definition by its id.
2410
- * First checks the cache, then queries all providers if not found.
2411
- * @param id The report id.
2412
- * @returns The report definition if found, undefined otherwise.
2413
- */
2414
- async getReportById(id) {
2415
- // Check cache first
2416
- for (const reports of this.definitionsByCategory.values()) {
2417
- const found = reports.find(report => report.id === id);
2418
- if (found) {
2419
- return found;
2420
- }
2421
- }
2422
- // Not in cache, query providers
2423
- const resolvedProviders = await Promise.all(this.definitionProviders);
2424
- const results = await Promise.all(resolvedProviders
2425
- .filter(p => p && typeof p.getById === 'function')
2426
- .map(p => p.getById(id)));
2427
- return results.find(r => r !== undefined);
2428
- }
2429
- /**
2430
- * Returns a category by its id, using cache and providers if needed.
2431
- * @param categoryId The category id.
2432
- */
2433
- async getCategoryById(categoryId) {
2434
- // Check if it's already in cache
2435
- if (this.categoriesById.has(categoryId)) {
2436
- return this.categoriesById.get(categoryId);
2437
- }
2438
- // Search in already loaded categories first
2439
- for (const [parentId, categories] of this.categoriesByParentId.entries()) {
2440
- const found = categories.find(cat => cat.id === categoryId);
2441
- if (found) {
2442
- this.categoriesById.set(categoryId, found);
2443
- return found;
2444
- }
2445
- }
2446
- // If not found in loaded categories, we need to search level by level
2447
- // Start with root categories if not already loaded
2448
- if (!this.categoriesByParentId.has(undefined)) {
2449
- await this.getCategories();
2450
- const found = this.categoriesById.get(categoryId);
2451
- if (found)
2452
- return found;
2453
- }
2454
- // Search through loaded categories and their children
2455
- const searchQueue = [undefined];
2456
- const searched = new Set();
2457
- while (searchQueue.length > 0) {
2458
- const parentId = searchQueue.shift();
2459
- if (searched.has(parentId))
2460
- continue;
2461
- searched.add(parentId);
2462
- const categories = await this.getCategories(parentId);
2463
- const found = categories.find(cat => cat.id === categoryId);
2464
- if (found) {
2465
- return found;
2466
- }
2467
- // Add children to search queue
2468
- for (const category of categories) {
2469
- if (!searched.has(category.id)) {
2470
- searchQueue.push(category.id);
2471
- }
2472
- }
2473
- }
2474
- return undefined;
2475
- }
2476
- /**
2477
- * Returns the full categories path from root to the specified category.
2478
- * @param categoryId The category ID to get the path for.
2479
- * @returns Array of categories from root to the specified category.
2480
- * @throws Error if category not found.
2481
- */
2482
- async getCategoriesPathById(categoryId) {
2483
- const path = [];
2484
- let currentCategoryId = categoryId;
2485
- while (currentCategoryId) {
2486
- // Try to get from cache first
2487
- let category = this.categoriesById.get(currentCategoryId);
2488
- // If not in cache, we need to find it by searching parent levels
2489
- if (!category) {
2490
- category = await this.getCategoryById(currentCategoryId);
2491
- if (!category) {
2492
- throw new Error(`Category with id '${currentCategoryId}' not found`);
2493
- }
2494
- }
2495
- path.unshift(category); // Add to beginning to maintain root->target order
2496
- currentCategoryId = category.parentId;
2497
- }
2498
- return path;
2499
- }
2500
- /**
2501
- * Returns the full categories path for the category that contains the specified report.
2502
- * @param reportId The report ID to find the category path for.
2503
- * @returns Array of categories from root to the category containing the report.
2504
- * @throws Error if report not found.
2505
- */
2506
- async getCategoriesPathByReportId(reportId) {
2507
- // Find which category contains this report
2508
- const categoryId = await this.getCategoryIdByReportId(reportId);
2509
- if (!categoryId) {
2510
- throw new Error(`Report with id '${reportId}' not found in any category`);
2511
- }
2512
- return this.getCategoriesPathById(categoryId);
2513
- }
2514
- /**
2515
- * Returns the category ID that contains a specific report.
2516
- * @param reportId The report ID to search for.
2517
- * @returns The category ID containing the report, or undefined if not found.
2518
- */
2519
- async getCategoryIdByReportId(reportId) {
2520
- // First check already cached report definitions
2521
- for (const [categoryId, reports] of this.definitionsByCategory.entries()) {
2522
- if (reports.some(report => report.id === reportId)) {
2523
- return categoryId;
2524
- }
2525
- }
2526
- // If not found in cache, search through categories level by level
2527
- // Start with root categories
2528
- if (!this.categoriesByParentId.has(undefined)) {
2529
- await this.getCategories();
2530
- }
2531
- const searchQueue = [];
2532
- const searched = new Set();
2533
- // Add all known category IDs to search queue
2534
- for (const category of this.categoriesById.values()) {
2535
- searchQueue.push(category.id);
2536
- }
2537
- // Search level by level
2538
- const searchQueueParents = [undefined];
2539
- const searchedParents = new Set();
2540
- while (searchQueueParents.length > 0) {
2541
- const parentId = searchQueueParents.shift();
2542
- if (searchedParents.has(parentId))
2543
- continue;
2544
- searchedParents.add(parentId);
2545
- const categories = await this.getCategories(parentId);
2546
- // Check reports in each category
2547
- for (const category of categories) {
2548
- if (!searched.has(category.id)) {
2549
- searched.add(category.id);
2550
- const reports = await this.getReportsByCategoryId(category.id);
2551
- if (reports.some(report => report.id === reportId)) {
2552
- return category.id;
2553
- }
2554
- // Add category to search queue for children
2555
- searchQueueParents.push(category.id);
2556
- }
2557
- }
2558
- }
2559
- return undefined;
2560
- }
2561
- //#endregion
2562
- //#region ---- Cache Management ----
2563
- /** Clears the definitions by category cache. */
2564
- clearDefinitionsCache() {
2565
- this.definitionsByCategory.clear();
2566
- }
2567
- /** Clears the categories by parentId cache. */
2568
- clearCategoriesCache() {
2569
- this.categoriesByParentId.clear();
2570
- }
2571
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPReportDefinitionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2572
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPReportDefinitionService, providedIn: 'root' }); }
2573
- }
2574
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPReportDefinitionService, decorators: [{
2575
- type: Injectable,
2576
- args: [{
2577
- providedIn: 'root',
2578
- }]
2579
- }] });
2580
-
2581
- function AXPBarChartReportMapper(data, options) {
2582
- return data.map((item) => {
2583
- return {
2584
- id: item.id,
2585
- label: item[options.xField],
2586
- value: item[options.yFields[0]]
2587
- };
2588
- });
2589
- }
2590
- function AXPieChartReportMapper(data) {
2591
- return Object.entries(data).map(([key, value]) => ({
2592
- id: key,
2593
- label: key,
2594
- value: value
2595
- }));
2596
- }
2597
-
2598
2372
  class AXPClipBoardService {
2599
2373
  constructor() {
2600
2374
  this.toast = inject(AXToastService);
@@ -2608,10 +2382,10 @@ class AXPClipBoardService {
2608
2382
  navigator.clipboard.writeText(value);
2609
2383
  this.toast.success(`${title} copied!`);
2610
2384
  }
2611
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPClipBoardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2612
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPClipBoardService, providedIn: 'root' }); }
2385
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPClipBoardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2386
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPClipBoardService, providedIn: 'root' }); }
2613
2387
  }
2614
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPClipBoardService, decorators: [{
2388
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPClipBoardService, decorators: [{
2615
2389
  type: Injectable,
2616
2390
  args: [{
2617
2391
  providedIn: 'root',
@@ -2666,8 +2440,8 @@ class AXMOrgChartPrintPage extends AXBasePageComponent {
2666
2440
  isCanceled,
2667
2441
  });
2668
2442
  }
2669
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMOrgChartPrintPage, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2670
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: AXMOrgChartPrintPage, isStandalone: true, selector: "ng-component", inputs: { bgcolor: { classPropertyName: "bgcolor", publicName: "bgcolor", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, quality: { classPropertyName: "quality", publicName: "quality", isSignal: true, isRequired: false, transformFunction: null }, scale: { classPropertyName: "scale", publicName: "scale", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { bgcolor: "bgcolorChange", width: "widthChange", height: "heightChange", quality: "qualityChange", scale: "scaleChange" }, usesInheritance: true, ngImport: i0, template: ` <div class="ax-grid ax-grid-cols-[auto_18rem] ax-gap-4 ax-justify-center ax-p-4 ax-items-center">
2443
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMOrgChartPrintPage, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2444
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.6", type: AXMOrgChartPrintPage, isStandalone: true, selector: "ng-component", inputs: { bgcolor: { classPropertyName: "bgcolor", publicName: "bgcolor", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, quality: { classPropertyName: "quality", publicName: "quality", isSignal: true, isRequired: false, transformFunction: null }, scale: { classPropertyName: "scale", publicName: "scale", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { bgcolor: "bgcolorChange", width: "widthChange", height: "heightChange", quality: "qualityChange", scale: "scaleChange" }, usesInheritance: true, ngImport: i0, template: ` <div class="ax-grid ax-grid-cols-[auto_18rem] ax-gap-4 ax-justify-center ax-p-4 ax-items-center">
2671
2445
  <ax-label>Resolution (px)</ax-label>
2672
2446
  <div class="ax-flex ax-gap-2 ax-items-center">
2673
2447
  <ax-number-box
@@ -2718,7 +2492,7 @@ class AXMOrgChartPrintPage extends AXBasePageComponent {
2718
2492
  </ax-suffix>
2719
2493
  </ax-footer>`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i2$1.AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "type", "changeOnScroll", "allDigits", "thousandsSeparator", "padDecimalZeros", "step", "decimals", "decimalStep", "showSpinButtons", "minValue", "maxValue", "class"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i3$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i4.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i4.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXColorBoxModule }, { kind: "component", type: i6.AXColorBoxComponent, selector: "ax-color-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "showBadge", "showValue", "showClearButton", "showIcon"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange"] }] }); }
2720
2494
  }
2721
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMOrgChartPrintPage, decorators: [{
2495
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMOrgChartPrintPage, decorators: [{
2722
2496
  type: Component,
2723
2497
  args: [{
2724
2498
  template: ` <div class="ax-grid ax-grid-cols-[auto_18rem] ax-gap-4 ax-justify-center ax-p-4 ax-items-center">
@@ -2832,10 +2606,10 @@ class AXPExportService {
2832
2606
  document.body.removeChild(link);
2833
2607
  URL.revokeObjectURL(link.href);
2834
2608
  }
2835
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPExportService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2836
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPExportService, providedIn: 'root' }); }
2609
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPExportService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2610
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPExportService, providedIn: 'root' }); }
2837
2611
  }
2838
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPExportService, decorators: [{
2612
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPExportService, decorators: [{
2839
2613
  type: Injectable,
2840
2614
  args: [{
2841
2615
  providedIn: 'root',
@@ -2869,5 +2643,5 @@ function AXPCleanNestedFilters(filters) {
2869
2643
  * Generated bundle index. Do not edit.
2870
2644
  */
2871
2645
 
2872
- export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPBarChartReportMapper, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPGlobalVariableDefinitionService, AXPGlobalVariableEvaluatorScopeProvider, AXPGridLayoutDirective, AXPHomePageModule, AXPHomePageService, AXPLockService, AXPLogoComponent, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRelationshipCardinality, AXPRelationshipKind, AXPReloadAction, AXPReloadEvent, AXPReportDefinitionService, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValueProvider, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingService, AXPStickyDirective, AXPToastAction, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_APP_VERSION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_MENU_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_REPORT_CATEGORY_PROVIDER, AXP_REPORT_DEFINITION_PROVIDER, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, AXPieChartReportMapper, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, configPlatform, createAllQueryView, createQueryView, getEntityInfo, provideDynamicHomePage, resolveActionLook };
2646
+ export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPGlobalVariableDefinitionService, AXPGlobalVariableEvaluatorScopeProvider, AXPGridLayoutDirective, AXPHomePageModule, AXPHomePageService, AXPLockService, AXPLogoComponent, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRelationshipCardinality, AXPRelationshipKind, AXPReloadAction, AXPReloadEvent, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValuesAggregatorService, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingService, AXPStickyDirective, AXPToastAction, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_APP_VERSION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_MENU_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFAULT_VALUES_PROVIDERS, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IN_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, configPlatform, createAllQueryView, createQueryView, getEntityInfo, provideDynamicHomePage, resolveActionLook };
2873
2647
  //# sourceMappingURL=acorex-platform-common.mjs.map