@acorex/platform 20.3.0-next.1 → 20.3.0-next.2

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 (113) hide show
  1. package/common/index.d.ts +120 -5
  2. package/core/index.d.ts +102 -61
  3. package/fesm2022/acorex-platform-auth.mjs +20 -20
  4. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  5. package/fesm2022/acorex-platform-common.mjs +136 -112
  6. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  7. package/fesm2022/acorex-platform-core.mjs +287 -198
  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 +1226 -687
  12. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  13. package/fesm2022/acorex-platform-layout-components.mjs +1525 -129
  14. package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
  15. package/fesm2022/acorex-platform-layout-designer.mjs +159 -204
  16. package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
  17. package/fesm2022/acorex-platform-layout-entity.mjs +3674 -1154
  18. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  19. package/fesm2022/acorex-platform-layout-views.mjs +387 -86
  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-entity-master-create-view.component-hHXxHlFG.mjs → acorex-platform-themes-default-entity-master-create-view.component-BXbkGGei.mjs} +6 -6
  26. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-hHXxHlFG.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-BXbkGGei.mjs.map} +1 -1
  27. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-X0hLRZhX.mjs +708 -0
  28. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-X0hLRZhX.mjs.map +1 -0
  29. package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-DC3MrDtI.mjs → acorex-platform-themes-default-entity-master-modify-view.component-Bp1JLsj1.mjs} +6 -13
  30. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Bp1JLsj1.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs +244 -0
  32. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs.map +1 -0
  33. package/fesm2022/{acorex-platform-themes-default-error-401.component-D4glpFvU.mjs → acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs} +4 -4
  34. package/fesm2022/{acorex-platform-themes-default-error-401.component-D4glpFvU.mjs.map → acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs.map} +1 -1
  35. package/fesm2022/{acorex-platform-themes-default-error-404.component-BvGeDMjo.mjs → acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs} +4 -4
  36. package/fesm2022/{acorex-platform-themes-default-error-404.component-BvGeDMjo.mjs.map → acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs.map} +1 -1
  37. package/fesm2022/{acorex-platform-themes-default-error-offline.component-BINy-Zo3.mjs → acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs} +4 -4
  38. package/fesm2022/{acorex-platform-themes-default-error-offline.component-BINy-Zo3.mjs.map → acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs.map} +1 -1
  39. package/fesm2022/acorex-platform-themes-default.mjs +64 -509
  40. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  41. package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-C833prGO.mjs → acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs} +4 -4
  42. package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-C833prGO.mjs.map → acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs.map} +1 -1
  43. package/fesm2022/acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs.map +1 -1
  44. package/fesm2022/{acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs} +4 -4
  45. package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs.map +1 -0
  46. package/fesm2022/{acorex-platform-themes-shared-color-chooser-view.component-DE0wO98F.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs} +4 -4
  47. package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs.map +1 -0
  48. package/fesm2022/acorex-platform-themes-shared.mjs +50 -52
  49. package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
  50. package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs → acorex-platform-widgets-button-widget-designer.component-C2Qn1YAW.mjs} +6 -6
  51. package/fesm2022/acorex-platform-widgets-button-widget-designer.component-C2Qn1YAW.mjs.map +1 -0
  52. package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-BNBOATPB.mjs → acorex-platform-widgets-checkbox-widget-column.component-CzEFmKWG.mjs} +4 -5
  53. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-CzEFmKWG.mjs.map +1 -0
  54. package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs → acorex-platform-widgets-checkbox-widget-designer.component-JC_nYunG.mjs} +5 -5
  55. package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-JC_nYunG.mjs.map +1 -0
  56. package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-C6-QPsnb.mjs → acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs} +4 -4
  57. package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-C6-QPsnb.mjs.map → acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs.map} +1 -1
  58. package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs → acorex-platform-widgets-color-box-widget-designer.component-CxgKO2VI.mjs} +5 -5
  59. package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CxgKO2VI.mjs.map +1 -0
  60. package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs +50 -0
  61. package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs.map +1 -0
  62. package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs +42 -0
  63. package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs.map +1 -0
  64. package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs +55 -0
  65. package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs.map +1 -0
  66. package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs +50 -0
  67. package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs.map +1 -0
  68. package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs +48 -0
  69. package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs.map +1 -0
  70. package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs +42 -0
  71. package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs.map +1 -0
  72. package/fesm2022/{acorex-platform-widgets-file-list-popup.component-DFbPO0ud.mjs → acorex-platform-widgets-file-list-popup.component-rW2RD35f.mjs} +71 -6
  73. package/fesm2022/acorex-platform-widgets-file-list-popup.component-rW2RD35f.mjs.map +1 -0
  74. package/fesm2022/{acorex-platform-widgets-file-rename-popup.component-DA_CgIvm.mjs → acorex-platform-widgets-file-rename-popup.component-DHFMnkls.mjs} +4 -4
  75. package/fesm2022/{acorex-platform-widgets-file-rename-popup.component-DA_CgIvm.mjs.map → acorex-platform-widgets-file-rename-popup.component-DHFMnkls.mjs.map} +1 -1
  76. package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs → acorex-platform-widgets-page-widget-designer.component-DNvnQ4Mc.mjs} +77 -67
  77. package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DNvnQ4Mc.mjs.map +1 -0
  78. package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-CM_v-cL4.mjs → acorex-platform-widgets-rich-text-popup.component-Cydlpsat.mjs} +4 -4
  79. package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-CM_v-cL4.mjs.map → acorex-platform-widgets-rich-text-popup.component-Cydlpsat.mjs.map} +1 -1
  80. package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-CPVRbE8B.mjs} +8 -8
  81. package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs.map → acorex-platform-widgets-tabular-data-edit-popup.component-CPVRbE8B.mjs.map} +1 -1
  82. package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs → acorex-platform-widgets-tabular-data-view-popup.component-Dmg5DdX8.mjs} +6 -6
  83. package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs.map → acorex-platform-widgets-tabular-data-view-popup.component-Dmg5DdX8.mjs.map} +1 -1
  84. package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs → acorex-platform-widgets-text-block-widget-designer.component-yADN3Xji.mjs} +10 -14
  85. package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-yADN3Xji.mjs.map +1 -0
  86. package/fesm2022/acorex-platform-widgets.mjs +3562 -2053
  87. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  88. package/fesm2022/acorex-platform-workflow.mjs +28 -25
  89. package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
  90. package/layout/builder/index.d.ts +361 -181
  91. package/layout/components/index.d.ts +372 -25
  92. package/layout/designer/index.d.ts +16 -47
  93. package/layout/entity/index.d.ts +255 -336
  94. package/layout/views/index.d.ts +129 -22
  95. package/package.json +26 -40
  96. package/widgets/index.d.ts +302 -225
  97. package/workflow/index.d.ts +4 -1
  98. package/fesm2022/acorex-platform-themes-default-create-entity-view.component-SY0oMDoH.mjs +0 -22
  99. package/fesm2022/acorex-platform-themes-default-create-entity-view.component-SY0oMDoH.mjs.map +0 -1
  100. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-hf4QOz_4.mjs +0 -665
  101. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-hf4QOz_4.mjs.map +0 -1
  102. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DC3MrDtI.mjs.map +0 -1
  103. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bb90PeHq.mjs +0 -236
  104. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bb90PeHq.mjs.map +0 -1
  105. package/fesm2022/acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs.map +0 -1
  106. package/fesm2022/acorex-platform-themes-shared-color-chooser-view.component-DE0wO98F.mjs.map +0 -1
  107. package/fesm2022/acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs.map +0 -1
  108. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-BNBOATPB.mjs.map +0 -1
  109. package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs.map +0 -1
  110. package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs.map +0 -1
  111. package/fesm2022/acorex-platform-widgets-file-list-popup.component-DFbPO0ud.mjs.map +0 -1
  112. package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs.map +0 -1
  113. package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs.map +0 -1
package/common/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import { InjectionToken, OnChanges, ElementRef, Renderer2, SimpleChanges, EventE
3
3
  import { AXStyleColorType, AXDataSourceOperator, AXDataSourceFilterOption } from '@acorex/cdk/common';
4
4
  import * as i2 from '@acorex/components/popup';
5
5
  import { AXPopupSizeType, AXPopupService } from '@acorex/components/popup';
6
- import { AXPNavigateActionCommand, AXPExecuteCommand, AXPMetaData, AXPValueTransformerFunctions, AXPValidationRules, AXPPlatformScope, AXPPlatformScopeKey, AXPOptionsData, AXPWidgetTriggers, AXPAppStartUpService, AXPLogoConfig, AXPUserReference, AXPApplicationUserReference, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from '@acorex/platform/core';
6
+ import { AXPNavigateActionCommand, AXPExecuteCommand, AXPMetaData, AXPValueTransformerFunctions, AXPValidationRules, AXPOptionsData, AXPPlatformScope, AXPPlatformScopeKey, AXPWidgetTriggers, AXPAppStartUpService, AXPLogoConfig, AXPUserReference, AXPApplicationUserReference, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from '@acorex/platform/core';
7
7
  import { AXPWidgetTypesMap, AXPWidgetNode, AXPMetaDataDefinition } from '@acorex/platform/layout/builder';
8
8
  import * as i5 from '@angular/router';
9
9
  import { Route, Routes } from '@angular/router';
@@ -400,7 +400,7 @@ interface AXPEntitySectionView {
400
400
  id: string;
401
401
  description?: string;
402
402
  order?: number;
403
- type?: 'wrapper' | 'section';
403
+ collapsed?: boolean;
404
404
  layout?: AXPEntityPropertyLayoutConfig;
405
405
  }
406
406
  interface AXPEntityProperty {
@@ -438,6 +438,11 @@ interface AXPEntityProperty {
438
438
  interface AXPEntityTableColumn {
439
439
  name: string;
440
440
  title?: string;
441
+ hidden?: boolean;
442
+ showAs?: {
443
+ type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap] | string;
444
+ options?: Record<string, any>;
445
+ };
441
446
  sort?: {
442
447
  enabled?: boolean;
443
448
  dir?: 'asc' | 'desc';
@@ -457,7 +462,7 @@ interface AXPEntityQuery {
457
462
  execute: string | Function;
458
463
  type: AXPEntityQueryType;
459
464
  }
460
- type AXPCommandActionType = 'create' | 'update' | 'delete' | 'print' | 'confirm' | 'report' | 'info' | 'view' | 'archive' | 'design' | 'upload' | 'version-history' | 'sent' | 'review' | 'sign';
465
+ type AXPCommandActionType = 'create' | 'update' | 'delete' | 'copy' | 'print' | 'confirm' | 'report' | 'info' | 'view' | 'archive' | 'design' | 'upload' | 'version-history' | 'sent' | 'review' | 'sign' | 'lock' | 'unlock' | 'compare' | 'comments' | 'assign' | 'setup' | 'send' | 'assign';
461
466
  interface AXPCommandActionLook {
462
467
  color: AXStyleColorType;
463
468
  icon: string;
@@ -498,9 +503,14 @@ interface AXPEntityAction extends AXPCommandActionDisplay {
498
503
  scope: AXPEntityCommandScope;
499
504
  }
500
505
  interface AXPEntity {
506
+ plugins?: {
507
+ name: string;
508
+ options?: AXPOptionsData;
509
+ }[];
501
510
  module: string;
502
511
  name: string;
503
512
  source: string;
513
+ icon?: string;
504
514
  parentKey?: string;
505
515
  category?: AXPCategoryEntity;
506
516
  versionHistory?: AXPEntityVersionHistory;
@@ -509,6 +519,7 @@ interface AXPEntity {
509
519
  individual: string;
510
520
  plural: string;
511
521
  lookup?: string;
522
+ displayName?: string;
512
523
  searchResult?: {
513
524
  title: string;
514
525
  description?: string;
@@ -556,7 +567,7 @@ declare function getEntityInfo(entity: AXPEntity): {
556
567
  };
557
568
  declare function createQueryView(name: string, title: string, fixed: boolean, params?: {
558
569
  columns?: string[];
559
- conditions?: AXPQueryFilter[];
570
+ conditions?: any[];
560
571
  sorts?: AXPQuerySort[];
561
572
  }): AXPQueryView;
562
573
  declare function createAllQueryView(params?: {
@@ -567,10 +578,35 @@ declare function createAllQueryView(params?: {
567
578
  interface AXPRelatedEntity {
568
579
  entity: string;
569
580
  title?: string;
581
+ icon?: string;
570
582
  columns?: string[];
583
+ layout?: {
584
+ type: 'tab-detail' | 'tab-list' | 'page-detail' | 'page-list' | 'merge-detail';
585
+ order?: number;
586
+ position?: 'before' | 'after' | 'middle';
587
+ };
571
588
  conditions?: AXPQueryFilter[];
572
589
  hidden?: boolean | string;
573
590
  actions?: AXPEntityAction[];
591
+ /**
592
+ * Relationship-level persistence strategy for merge-detail data.
593
+ * Defaults:
594
+ * - strategy: 'embedded'
595
+ * - idField: last segment of dataPath + 'Id' (or 'relatedId' when dataPath is missing)
596
+ * - map: undefined (pass-through)
597
+ * - hydrate: 'eager' (applies to getOne only in mock)
598
+ * - cascade.delete: 'none'
599
+ */
600
+ persistence?: {
601
+ strategy?: 'embedded' | 'referenced';
602
+ idField?: string;
603
+ dataPath?: string;
604
+ map?: Record<string, string>;
605
+ hydrate?: 'eager' | 'lazy';
606
+ cascade?: {
607
+ delete?: 'none' | 'orphans' | 'all';
608
+ };
609
+ };
574
610
  }
575
611
  interface AXPCategoryEntity {
576
612
  entity: string;
@@ -1089,6 +1125,32 @@ interface AXPFileStorageUpdateRequest {
1089
1125
  */
1090
1126
  isPrimary?: boolean;
1091
1127
  }
1128
+ interface AXPFileManyStorageInfo {
1129
+ /**
1130
+ * The unique identifier for the stored file.
1131
+ */
1132
+ id?: string;
1133
+ /**
1134
+ * The unique identifier for the stored file.
1135
+ */
1136
+ fileId: string;
1137
+ /**
1138
+ * The unique identifier of referenced entity.
1139
+ */
1140
+ refId: string;
1141
+ /**
1142
+ * The type of the referenced entity.
1143
+ */
1144
+ refType: string;
1145
+ /**
1146
+ * The size of the file in bytes.
1147
+ */
1148
+ size: number;
1149
+ /**
1150
+ * The name of the file.
1151
+ */
1152
+ name?: string;
1153
+ }
1092
1154
  /**
1093
1155
  * Represents information about a file stored in the AXP file storage system.
1094
1156
  */
@@ -1144,6 +1206,58 @@ interface AXPFileStorageInfo {
1144
1206
  status: AXPFileStorageStatus;
1145
1207
  binary: File;
1146
1208
  }
1209
+ interface AXPFileStorageInfo {
1210
+ /**
1211
+ * The unique identifier for the stored file.
1212
+ */
1213
+ id?: string;
1214
+ /**
1215
+ * The unique identifier for the stored file.
1216
+ */
1217
+ fileId: string;
1218
+ /**
1219
+ * The unique identifier of referenced entity.
1220
+ */
1221
+ refId: string;
1222
+ /**
1223
+ * The type of the referenced entity.
1224
+ */
1225
+ refType: string;
1226
+ /**
1227
+ * The category of the file. profile-picture, company-logo, policy, document, etc.
1228
+ */
1229
+ category: string;
1230
+ /**
1231
+ * The URL where the file can be accessed.
1232
+ */
1233
+ url?: string;
1234
+ /**
1235
+ * The size of the file in bytes.
1236
+ */
1237
+ size: number;
1238
+ /**
1239
+ * The name of the file.
1240
+ */
1241
+ name?: string;
1242
+ /**
1243
+ * The MIME type of the file.
1244
+ */
1245
+ mimeType: string;
1246
+ /**
1247
+ * The date and time when the file was uploaded.
1248
+ */
1249
+ uploadedAt: Date;
1250
+ /**
1251
+ * Indicates whether the file is public or private.
1252
+ */
1253
+ isPublic: boolean;
1254
+ /**
1255
+ * Indicates whether the file is primary or not.
1256
+ */
1257
+ isPrimary?: boolean;
1258
+ status: AXPFileStorageStatus;
1259
+ binary: File;
1260
+ }
1147
1261
  /**
1148
1262
  * Represents information about a file stored in the AXP file storage system.
1149
1263
  */
@@ -1185,6 +1299,7 @@ declare abstract class AXPFileStorageService {
1185
1299
  abstract save(request: AXPFileStorageCreateRequest): Promise<AXPFileStorageInfo>;
1186
1300
  abstract update(request: AXPFileStorageUpdateRequest): Promise<AXPFileStorageInfo>;
1187
1301
  abstract find(request: AXPFileStorageFindRequest): Promise<AXPFileStorageInfo[]>;
1302
+ abstract findMany(ids: string[]): Promise<AXPFileManyStorageInfo[]>;
1188
1303
  abstract getInfo(fileId: string): Promise<AXPFileStorageInfo>;
1189
1304
  abstract remove(fileId: string): Promise<void>;
1190
1305
  abstract commit(fileId: string): Promise<void>;
@@ -1486,4 +1601,4 @@ declare class AXMWorkflowErrorHandler implements AXPErrorHandler {
1486
1601
  }
1487
1602
 
1488
1603
  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 };
1489
- export type { AXEntityPropertyWidget, AXPAggregate, AXPAppVersion, AXPAppVersionProvider, AXPApplication, AXPCategoryEntity, AXPCommandActionCallback, AXPCommandActionDisplay, AXPCommandActionLook, AXPCommandActionPriority, AXPCommandActionType, AXPCommonModuleConfigs, AXPCurrency, AXPDomToImageOptions, AXPEntity, AXPEntityAction, AXPEntityCommand, AXPEntityDetailListView, AXPEntityMasterCreateLayoutView, AXPEntityMasterLayoutView, AXPEntityMasterListView, AXPEntityMasterSingleLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityProperty, AXPEntityPropertyCreateView, AXPEntityPropertyGroup, AXPEntityPropertyLayoutConfig, AXPEntityPropertyUpdateView, AXPEntityPropertyView, AXPEntityQuery, AXPEntitySectionView, AXPEntityTableColumn, AXPEntityVersionHistory, AXPErrorHandler, AXPFileExtension, AXPFileStorageCreateRequest, AXPFileStorageFindRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileType, AXPFileTypeInfoProvider, AXPFilterOperator, AXPGeoLocation, AXPGlobalVariableDefinition, AXPGlobalVariableDefinitionProvider, AXPGlobalVariableDefinitionProviderToken, AXPGridLayoutOptions, AXPGridLayoutPositions, AXPGroupSearchResult, AXPHomePageDefinition, AXPLanguage, AXPLocaleProfile, AXPLockGetInfoRequest, AXPLockInfo, AXPLockRequest, AXPLockType, AXPMenuFinderResult, AXPMenuInsertion, AXPMenuItem, AXPMenuItemCommand, AXPMenuItemWithParent, AXPMenuProvider, AXPMenuProviderContext, AXPMenuType, AXPModule, AXPPlatformConfigs, AXPQueryFilter, AXPQuerySort, AXPQueryView, AXPRelatedEntity, AXPRelationship, AXPRootConfigs, AXPSearchAction, AXPSearchDefinition, AXPSearchDefinitionDisplayFormat, AXPSearchDefinitionProvider, AXPSearchDisplayGroupResult, AXPSearchDisplayResult, AXPSearchDisplayResultForSave, AXPSearchParentResult, AXPSearchProvider, AXPSearchResult, AXPSettingChangedEvent, AXPSettingDefaultValuesProvider, AXPSettingDefinition, AXPSettingDefinitionGroup, AXPSettingDefinitionProvider, AXPSettingDefinitionSection, AXPSettingServiceInterface, AXPSettingValue, AXPSettingValueProvider, AXPTimeZone, AXPUnLockRequest };
1604
+ export type { AXEntityPropertyWidget, AXPAggregate, AXPAppVersion, AXPAppVersionProvider, AXPApplication, AXPCategoryEntity, AXPCommandActionCallback, AXPCommandActionDisplay, AXPCommandActionLook, AXPCommandActionPriority, AXPCommandActionType, AXPCommonModuleConfigs, AXPCurrency, AXPDomToImageOptions, AXPEntity, AXPEntityAction, AXPEntityCommand, AXPEntityDetailListView, AXPEntityMasterCreateLayoutView, AXPEntityMasterLayoutView, AXPEntityMasterListView, AXPEntityMasterSingleLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityProperty, AXPEntityPropertyCreateView, AXPEntityPropertyGroup, AXPEntityPropertyLayoutConfig, AXPEntityPropertyUpdateView, AXPEntityPropertyView, AXPEntityQuery, AXPEntitySectionView, AXPEntityTableColumn, AXPEntityVersionHistory, AXPErrorHandler, AXPFileExtension, AXPFileManyStorageInfo, AXPFileStorageCreateRequest, AXPFileStorageFindRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileType, AXPFileTypeInfoProvider, AXPFilterOperator, AXPGeoLocation, AXPGlobalVariableDefinition, AXPGlobalVariableDefinitionProvider, AXPGlobalVariableDefinitionProviderToken, AXPGridLayoutOptions, AXPGridLayoutPositions, AXPGroupSearchResult, AXPHomePageDefinition, AXPLanguage, AXPLocaleProfile, AXPLockGetInfoRequest, AXPLockInfo, AXPLockRequest, AXPLockType, AXPMenuFinderResult, AXPMenuInsertion, AXPMenuItem, AXPMenuItemCommand, AXPMenuItemWithParent, AXPMenuProvider, AXPMenuProviderContext, AXPMenuType, AXPModule, AXPPlatformConfigs, AXPQueryFilter, AXPQuerySort, AXPQueryView, AXPRelatedEntity, AXPRelationship, AXPRootConfigs, AXPSearchAction, AXPSearchDefinition, AXPSearchDefinitionDisplayFormat, AXPSearchDefinitionProvider, AXPSearchDisplayGroupResult, AXPSearchDisplayResult, AXPSearchDisplayResultForSave, AXPSearchParentResult, AXPSearchProvider, AXPSearchResult, AXPSettingChangedEvent, AXPSettingDefaultValuesProvider, AXPSettingDefinition, AXPSettingDefinitionGroup, AXPSettingDefinitionProvider, AXPSettingDefinitionSection, AXPSettingServiceInterface, AXPSettingValue, AXPSettingValueProvider, AXPTimeZone, AXPUnLockRequest };
package/core/index.d.ts CHANGED
@@ -19,8 +19,8 @@ declare class AXPContextChangeEvent {
19
19
  declare const AXPContextStore: i0.Type<{
20
20
  data: i0.Signal<AXPContextData>;
21
21
  state: i0.Signal<AXPContextState>;
22
- initialSnapshot: _ngrx_signals.DeepSignal<{}>;
23
- previousSnapshot: _ngrx_signals.DeepSignal<{}>;
22
+ initialSnapshot: i0.Signal<{}>;
23
+ previousSnapshot: i0.Signal<{}>;
24
24
  lastChange: _ngrx_signals.DeepSignal<AXPContextChangeEvent>;
25
25
  isChanged: i0.Signal<boolean>;
26
26
  isReset: i0.Signal<boolean>;
@@ -453,6 +453,12 @@ declare const AXPSystemActions: Readonly<{
453
453
  }>;
454
454
  declare function getSystemActions(type: AXPSystemActionType): AXPSystemAction;
455
455
 
456
+ interface AXPColumnQuery {
457
+ name: string;
458
+ title: string;
459
+ visible: boolean;
460
+ }
461
+
456
462
  type AXPPartialNested<T> = {
457
463
  [K in keyof T]?: T[K] extends object ? AXPPartialNested<T[K]> : T[K];
458
464
  };
@@ -508,6 +514,27 @@ interface AXPQueryRequest {
508
514
  };
509
515
  }
510
516
  type AXPDataType = 'string' | 'number' | 'object' | 'boolean' | 'array';
517
+ interface AXPCategoryEntity {
518
+ id: string;
519
+ title: string;
520
+ description?: string;
521
+ parentId?: string;
522
+ childCount: number;
523
+ }
524
+ interface AXPCategoryEntityWithItems<T> extends AXPCategoryEntity {
525
+ items: T[];
526
+ children?: AXPCategoryEntityWithItems<T>[];
527
+ }
528
+ interface AXPCategorizedEntity {
529
+ categoryIds: string[];
530
+ }
531
+ interface AXPCategorizedEntityDto {
532
+ categoryIds: string[];
533
+ categories: {
534
+ id: string;
535
+ title: string;
536
+ }[];
537
+ }
511
538
 
512
539
  type AXPWidgetTrigger = {
513
540
  event: string;
@@ -551,8 +578,9 @@ interface AXPFilterDefinition {
551
578
  advance: boolean;
552
579
  inline: boolean;
553
580
  };
581
+ hidden?: boolean;
554
582
  }
555
- interface AXPFilterQuery extends Pick<AXPFilterDefinition, 'field' | 'value' | 'operator' | 'logic'> {
583
+ interface AXPFilterQuery extends Pick<AXPFilterDefinition, 'field' | 'value' | 'operator' | 'logic' | 'hidden'> {
556
584
  filters?: AXPFilterQuery[];
557
585
  }
558
586
 
@@ -577,6 +605,11 @@ type AXPBreadcrumbItem = {
577
605
  icon?: string;
578
606
  command?: AXPExecuteCommand;
579
607
  };
608
+ type AXPBadge = {
609
+ title: string;
610
+ description?: string;
611
+ color?: 'primary' | 'success' | 'warning' | 'danger';
612
+ };
580
613
  type AXPExecuteCommand = {
581
614
  name: string;
582
615
  options?: AXPMetaData;
@@ -642,13 +675,6 @@ interface AXPGridLayoutOptions {
642
675
  }
643
676
  type AXPFlowDirection = 'vertical' | 'horizontal';
644
677
  type AXPContentDirection = 'rtl' | 'ltr';
645
- interface AXPLayoutFlexStyles {
646
- direction: 'row' | 'row-reverse' | 'column' | 'column-reverse';
647
- wrap: 'nowrap' | 'wrap' | 'wrap-reverse';
648
- justify: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
649
- align: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline';
650
- gap: string;
651
- }
652
678
 
653
679
  interface AXPLogoConfig {
654
680
  }
@@ -676,6 +702,14 @@ declare enum AXPPlatformScope {
676
702
  declare function resolvePlatformScopeKey(name: string): AXPPlatformScopeKey;
677
703
  declare function resolvePlatformScopeName(scope: AXPPlatformScopeKey): string;
678
704
 
705
+ interface AXPSortDefinition {
706
+ name: string;
707
+ title: string;
708
+ dir?: 'asc' | 'desc';
709
+ }
710
+ interface AXPSortQuery extends Pick<AXPSortDefinition, 'name' | 'dir'> {
711
+ }
712
+
679
713
  type AXPValidationRule = {
680
714
  rule: string;
681
715
  message?: string;
@@ -712,6 +746,15 @@ interface AXPReqexValidationRule extends AXPValidationRule {
712
746
  }
713
747
  type AXPStringValidationRules = (AXPRequiredValidationRule | AXPMinLengthValidationRule | AXPMaxLengthValidationRule | AXPEqualValidationRule<string> | AXPReqexValidationRule)[];
714
748
 
749
+ interface AXPViewQuery {
750
+ name: string;
751
+ fixed: boolean;
752
+ title: string;
753
+ columns: string[];
754
+ conditions: AXPFilterQuery[];
755
+ sorts: AXPSortQuery[];
756
+ }
757
+
715
758
  interface AXPViewDefinition {
716
759
  key: string;
717
760
  title: string;
@@ -890,7 +933,6 @@ declare class AXPContentCheckerDirective {
890
933
  viewContainerRef: ViewContainerRef;
891
934
  elementRef: ElementRef<HTMLDivElement>;
892
935
  isEmpty: i0.Signal<boolean>;
893
- ngAfterViewInit(): void;
894
936
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPContentCheckerDirective, never>;
895
937
  static ɵdir: i0.ɵɵDirectiveDeclaration<AXPContentCheckerDirective, "[axp-content-checker]", ["checker"], {}, {}, never, never, true, never>;
896
938
  }
@@ -900,6 +942,7 @@ declare class AXPBroadcastEventService implements OnDestroy {
900
942
  private eventSubjects;
901
943
  private pendingRequests;
902
944
  private multiTabEventHistory;
945
+ private readonly instanceId;
903
946
  constructor();
904
947
  /**
905
948
  * Publish an event without expecting a response
@@ -1008,6 +1051,21 @@ declare function setSmart(obj: any, smartPath: string, value: any): any;
1008
1051
  declare function getSmart(obj: any, smartPath: string): any;
1009
1052
  declare function extractValue<T = any>(value: any, key?: string): T | null;
1010
1053
  declare function cleanDeep(obj: any): any;
1054
+ type ChangeEntry = {
1055
+ path: string;
1056
+ oldValue: any;
1057
+ newValue: any;
1058
+ arrayDiff?: {
1059
+ added: any[];
1060
+ removed: any[];
1061
+ };
1062
+ };
1063
+ declare function getChangedPaths(obj1: any, obj2: any): string[];
1064
+ declare function getDetailedChanges(obj1: any, obj2: any): ChangeEntry[];
1065
+ declare function getEnumValues(enumType: any): {
1066
+ id: string;
1067
+ title: string;
1068
+ }[];
1011
1069
 
1012
1070
  declare function applyFilterArray(dataArray: any[], filters?: AXDataSourceFilterOption[], logic?: 'and' | 'or'): any[];
1013
1071
  declare function applySortArray(dataArray: any, sorts: AXDataSourceSortOption[]): any;
@@ -1100,13 +1158,15 @@ declare class AXPActivityLogService {
1100
1158
 
1101
1159
  type AXPDistributedEventListenerProviderToken<T> = AXPDistributedEventListenerProvider<T> | Promise<AXPDistributedEventListenerProvider<T>>;
1102
1160
  declare const AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER: InjectionToken<AXPDistributedEventListenerProviderToken<any>[]>;
1103
- interface AXPDistributedEventListenerProvider<T> {
1161
+ interface AXPDistributedEventListenerProvider<TInput = any, TOutput = void> {
1104
1162
  key: string;
1105
- execute(data: T): Promise<void> | void;
1163
+ execute(data: TInput): Promise<TOutput> | TOutput;
1164
+ priority?: number;
1106
1165
  }
1107
1166
 
1108
1167
  declare class AXPDistributedEventListenerService {
1109
1168
  private readonly listenerProviders;
1169
+ private readonly injector;
1110
1170
  /** Cache for listeners by key. */
1111
1171
  private listenersByKey;
1112
1172
  /** Flag to track if providers have been loaded */
@@ -1117,6 +1177,18 @@ declare class AXPDistributedEventListenerService {
1117
1177
  * @param data The event data to pass to listeners.
1118
1178
  */
1119
1179
  dispatch(key: string, data?: any): Promise<void>;
1180
+ /**
1181
+ * Dispatch with async response (first matching provider, with retry/timeout)
1182
+ */
1183
+ dispatchAsync<T, R>(key: string, data: T, options?: {
1184
+ timeout: number;
1185
+ retries: number;
1186
+ retryDelay: number;
1187
+ }): Promise<R>;
1188
+ /**
1189
+ * Resolve all providers (handle both direct provider and Promise<provider>)
1190
+ */
1191
+ private resolveProviders;
1120
1192
  /**
1121
1193
  * Returns all listeners for a specific event key.
1122
1194
  * @param key The event key.
@@ -1138,59 +1210,28 @@ declare class AXPDistributedEventListenerService {
1138
1210
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPDistributedEventListenerService>;
1139
1211
  }
1140
1212
 
1141
- /**
1142
- * Entity Event Dispatcher - A wrapper for entity-specific events
1143
- * Handles pattern-based dispatching for entity operations with wildcard support
1144
- */
1145
- declare class AXPEntityEventDispatcherService {
1146
- private readonly eventService;
1147
- /**
1148
- * Dispatch entity events with pattern matching support for wildcard listeners
1149
- * @param operation The operation type (inserted, updated, deleted)
1150
- * @param entityName The full entity name (e.g., 'PlatformManagement.Category')
1151
- * @param data The event data
1152
- */
1153
- dispatchEntityEvent(operation: 'inserted' | 'updated' | 'deleted', entityName: string, data: any): Promise<void>;
1154
- /**
1155
- * Get all event keys that should be dispatched for this entity operation
1156
- * including wildcard pattern matches
1157
- */
1158
- private getAllMatchingEventKeys;
1159
- /**
1160
- * Find wildcard listener keys that match this entity operation
1161
- */
1162
- private findMatchingWildcardKeys;
1213
+ declare class AXPHookService {
1214
+ private readonly listenerProviders;
1215
+ private readonly injector;
1163
1216
  /**
1164
- * Check if an entity event key matches a wildcard pattern
1165
- * Only supports entity patterns (entity.*)
1217
+ * Resolve all providers (handle both direct providers and Promise<provider>)
1166
1218
  */
1167
- private matchesEntityPattern;
1219
+ private resolveProviders;
1168
1220
  /**
1169
- * Generate all possible event keys for an entity operation
1170
- * @param operation The operation type
1171
- * @param entityName The entity name (e.g., 'PlatformManagement.Category')
1221
+ * Fire sync hooks (fire-and-forget).
1222
+ * All providers with the given key will be executed.
1223
+ * Execution is not awaited.
1172
1224
  */
1173
- private generateEventKeys;
1225
+ fire<T>(key: string, data: T): void;
1174
1226
  /**
1175
- * Convenience methods for specific operations
1227
+ * Run async hooks sequentially (waterfall).
1228
+ * The output of each hook is passed as input to the next hook.
1229
+ * Returns the final merged data after all hooks are executed.
1176
1230
  */
1177
- dispatchInserted(entityName: string, data: any): Promise<void>;
1178
- dispatchUpdated(entityName: string, data: any): Promise<void>;
1179
- dispatchDeleted(entityName: string, data: any): Promise<void>;
1180
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPEntityEventDispatcherService, never>;
1181
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPEntityEventDispatcherService>;
1182
- }
1183
-
1184
- /**
1185
- * Example implementation of a distributed event listener provider.
1186
- * This is just a sample to show how to implement the interface.
1187
- */
1188
- declare class ExampleEventListenerProvider implements AXPDistributedEventListenerProvider<any> {
1189
- key: string;
1190
- execute(data: any): Promise<void>;
1191
- static ɵfac: i0.ɵɵFactoryDeclaration<ExampleEventListenerProvider, never>;
1192
- static ɵprov: i0.ɵɵInjectableDeclaration<ExampleEventListenerProvider>;
1231
+ runAsync<T>(key: string, initialData: T): Promise<T>;
1232
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPHookService, never>;
1233
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPHookService>;
1193
1234
  }
1194
1235
 
1195
- export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPComponentLogoConfig, AXPContentCheckerDirective, AXPContextChangeEvent, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDistributedEventListenerService, AXPElementDataDirective, AXPEntityEventDispatcherService, AXPExportTemplateToken, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPGridLayoutDirective, AXPImageUrlLogoConfig, AXPPlatformScope, AXPSystemActionType, AXPSystemActions, AXP_ACTIVITY_LOG_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, ExampleEventListenerProvider, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, getNestedKeys, getSmart, getSystemActions, objectKeyValueTransforms, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
1196
- export type { AXPActionMenuItem, AXPActivityLog, AXPActivityLogChange, AXPApplicationUserReference, AXPBackButton, AXPBreadcrumbItem, AXPContent, AXPContentDirection, AXPContentType, AXPContextData, AXPContextState, AXPDataSource, AXPDataSourceDataFieldDefinition, AXPDataSourceDefinition, AXPDataSourceDefinitionProvider, AXPDataType, AXPDistributedEventListenerProvider, AXPDistributedEventListenerProviderToken, AXPEntityReference, AXPEqualValidationRule, AXPExecuteCommand, AXPExecuteCommandResult, AXPExportCsvOptions, AXPExportExcelOptions, AXPExportOptions, AXPExportPdfOptions, AXPExportPrintOptions, AXPExpression, AXPExpressionEvaluatorScope, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviders, AXPFileListItem, AXPFileSource, AXPFileStatus, AXPFilterDefinition, AXPFilterLogic, AXPFilterOperation, AXPFilterQuery, AXPFlowDirection, AXPGridLayoutOptions, AXPGridPlacement, AXPLayoutFlexStyles, AXPLogoConfig, AXPMaxLengthValidationRule, AXPMetaData, AXPMinLengthValidationRule, AXPNavigateActionCommand, AXPNavigateActionOptions, AXPOptionsData, AXPPagedListResult, AXPPartialNested, AXPPlatformScopeKey, AXPQueryFetchResult, AXPQueryRequest, AXPReqexValidationRule, AXPRequiredValidationRule, AXPStartUpTask, AXPStringValidationRules, AXPSystemAction, AXPUserReference, AXPValidationRule, AXPValidationRules, AXPValueTransformerFunction, AXPValueTransformerFunctions, AXPValueUnit, AXPValueUnits, AXPViewBlockDefinition, AXPViewDefinition, AXPViewFieldDefinition, AXPWidgetTrigger, AXPWidgetTriggers };
1236
+ export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPComponentLogoConfig, AXPContentCheckerDirective, AXPContextChangeEvent, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExportTemplateToken, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPGridLayoutDirective, AXPHookService, AXPImageUrlLogoConfig, AXPPlatformScope, AXPSystemActionType, AXPSystemActions, AXP_ACTIVITY_LOG_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getSystemActions, objectKeyValueTransforms, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
1237
+ export type { AXPActionMenuItem, AXPActivityLog, AXPActivityLogChange, AXPApplicationUserReference, AXPBackButton, AXPBadge, AXPBreadcrumbItem, AXPCategorizedEntity, AXPCategorizedEntityDto, AXPCategoryEntity, AXPCategoryEntityWithItems, AXPColumnQuery, AXPContent, AXPContentDirection, AXPContentType, AXPContextData, AXPContextState, AXPDataSource, AXPDataSourceDataFieldDefinition, AXPDataSourceDefinition, AXPDataSourceDefinitionProvider, AXPDataType, AXPDistributedEventListenerProvider, AXPDistributedEventListenerProviderToken, AXPEntityReference, AXPEqualValidationRule, AXPExecuteCommand, AXPExecuteCommandResult, AXPExportCsvOptions, AXPExportExcelOptions, AXPExportOptions, AXPExportPdfOptions, AXPExportPrintOptions, AXPExpression, AXPExpressionEvaluatorScope, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviders, AXPFileListItem, AXPFileSource, AXPFileStatus, AXPFilterDefinition, AXPFilterLogic, AXPFilterOperation, AXPFilterQuery, AXPFlowDirection, AXPGridLayoutOptions, AXPGridPlacement, AXPLogoConfig, AXPMaxLengthValidationRule, AXPMetaData, AXPMinLengthValidationRule, AXPNavigateActionCommand, AXPNavigateActionOptions, AXPOptionsData, AXPPagedListResult, AXPPartialNested, AXPPlatformScopeKey, AXPQueryFetchResult, AXPQueryRequest, AXPReqexValidationRule, AXPRequiredValidationRule, AXPSortDefinition, AXPSortQuery, AXPStartUpTask, AXPStringValidationRules, AXPSystemAction, AXPUserReference, AXPValidationRule, AXPValidationRules, AXPValueTransformerFunction, AXPValueTransformerFunctions, AXPValueUnit, AXPValueUnits, AXPViewBlockDefinition, AXPViewDefinition, AXPViewFieldDefinition, AXPViewQuery, AXPWidgetTrigger, AXPWidgetTriggers };
@@ -68,10 +68,10 @@ class AXPAuthStrategyRegistryService {
68
68
  get(strategyKey) {
69
69
  return this.strategies.get(strategyKey);
70
70
  }
71
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPAuthStrategyRegistryService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
72
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPAuthStrategyRegistryService, providedIn: 'root' }); }
71
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPAuthStrategyRegistryService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
72
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPAuthStrategyRegistryService, providedIn: 'root' }); }
73
73
  }
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPAuthStrategyRegistryService, decorators: [{
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPAuthStrategyRegistryService, decorators: [{
75
75
  type: Injectable,
76
76
  args: [{
77
77
  providedIn: 'root'
@@ -128,10 +128,10 @@ class AXPFeatureDirective {
128
128
  ngOnDestroy() {
129
129
  this.subscription?.unsubscribe();
130
130
  }
131
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPFeatureDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
132
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.6", type: AXPFeatureDirective, isStandalone: false, selector: "[feature]", inputs: { feature: "feature", featureElse: "featureElse" }, ngImport: i0 }); }
131
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPFeatureDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
132
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.8", type: AXPFeatureDirective, isStandalone: false, selector: "[feature]", inputs: { feature: "feature", featureElse: "featureElse" }, ngImport: i0 }); }
133
133
  }
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPFeatureDirective, decorators: [{
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPFeatureDirective, decorators: [{
135
135
  type: Directive,
136
136
  args: [{
137
137
  selector: '[feature]',
@@ -547,7 +547,7 @@ class AXPSessionService {
547
547
  localStorage.removeItem(AXPSessionService.SESSION_KEY);
548
548
  }
549
549
  authorize(...keys) {
550
- return keys.every((k) => isEmpty(k) || this.permissions.indexOf(k) > -1);
550
+ return keys.every((k) => isEmpty(k) || this.permissions.indexOf(k) > -1 || this.user?.name == 'root');
551
551
  }
552
552
  isFeatureEnabled(...keys) {
553
553
  return keys.every((k) => isEmpty(k) || this.features.some((c) => c.name == k && c.value == true));
@@ -574,10 +574,10 @@ class AXPSessionService {
574
574
  application: this.application,
575
575
  });
576
576
  }
577
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSessionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
578
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSessionService, providedIn: 'root' }); }
577
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSessionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
578
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSessionService, providedIn: 'root' }); }
579
579
  }
580
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPSessionService, decorators: [{
580
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSessionService, decorators: [{
581
581
  type: Injectable,
582
582
  args: [{
583
583
  providedIn: 'root',
@@ -621,10 +621,10 @@ class AXPPermissionDirective {
621
621
  ngOnDestroy() {
622
622
  this.subscription?.unsubscribe();
623
623
  }
624
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPPermissionDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
625
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.6", type: AXPPermissionDirective, isStandalone: false, selector: "[permission]", inputs: { permission: "permission", permissionElse: "permissionElse" }, ngImport: i0 }); }
624
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPermissionDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
625
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.8", type: AXPPermissionDirective, isStandalone: false, selector: "[permission]", inputs: { permission: "permission", permissionElse: "permissionElse" }, ngImport: i0 }); }
626
626
  }
627
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPPermissionDirective, decorators: [{
627
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPermissionDirective, decorators: [{
628
628
  type: Directive,
629
629
  args: [{
630
630
  selector: '[permission]',
@@ -778,10 +778,10 @@ class AXPPermissionDefinitionService {
778
778
  await this.load();
779
779
  return this.cache?.find(g => g.permissions.find(p => p.name === name))?.permissions.find(p => p.name === name) ?? null;
780
780
  }
781
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPPermissionDefinitionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
782
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPPermissionDefinitionService, providedIn: 'root' }); }
781
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPermissionDefinitionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
782
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPermissionDefinitionService, providedIn: 'root' }); }
783
783
  }
784
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPPermissionDefinitionService, decorators: [{
784
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPermissionDefinitionService, decorators: [{
785
785
  type: Injectable,
786
786
  args: [{ providedIn: 'root' }]
787
787
  }] });
@@ -875,16 +875,16 @@ class AXPAuthModule {
875
875
  f();
876
876
  });
877
877
  }
878
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPAuthModule, deps: [{ token: 'AXPAuthModuleFactory', optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
879
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXPAuthModule, declarations: [AXPPermissionDirective, AXPFeatureDirective], exports: [AXPPermissionDirective, AXPFeatureDirective] }); }
880
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPAuthModule, providers: [
878
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPAuthModule, deps: [{ token: 'AXPAuthModuleFactory', optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
879
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.8", ngImport: i0, type: AXPAuthModule, declarations: [AXPPermissionDirective, AXPFeatureDirective], exports: [AXPPermissionDirective, AXPFeatureDirective] }); }
880
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPAuthModule, providers: [
881
881
  provideAppInitializer(() => {
882
882
  const initializerFn = initializeAppState(inject(AXPSessionService));
883
883
  return initializerFn();
884
884
  }),
885
885
  ] }); }
886
886
  }
887
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPAuthModule, decorators: [{
887
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPAuthModule, decorators: [{
888
888
  type: NgModule,
889
889
  args: [{
890
890
  imports: [],