@acorex/platform 20.3.0-next.0 → 20.3.0-next.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 (92) hide show
  1. package/common/index.d.ts +5 -119
  2. package/core/index.d.ts +67 -72
  3. package/fesm2022/acorex-platform-auth.mjs +1 -1
  4. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  5. package/fesm2022/acorex-platform-common.mjs +11 -35
  6. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  7. package/fesm2022/acorex-platform-core.mjs +164 -142
  8. package/fesm2022/acorex-platform-core.mjs.map +1 -1
  9. package/fesm2022/acorex-platform-layout-builder.mjs +638 -1168
  10. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  11. package/fesm2022/acorex-platform-layout-components.mjs +51 -1439
  12. package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
  13. package/fesm2022/acorex-platform-layout-designer.mjs +137 -92
  14. package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
  15. package/fesm2022/acorex-platform-layout-entity.mjs +1059 -3204
  16. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  17. package/fesm2022/acorex-platform-layout-views.mjs +72 -373
  18. package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
  19. package/fesm2022/acorex-platform-themes-default-create-entity-view.component-SY0oMDoH.mjs +22 -0
  20. package/fesm2022/acorex-platform-themes-default-create-entity-view.component-SY0oMDoH.mjs.map +1 -0
  21. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-I7Eq8Nti.mjs → acorex-platform-themes-default-entity-master-create-view.component-hHXxHlFG.mjs} +3 -3
  22. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-I7Eq8Nti.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-hHXxHlFG.mjs.map} +1 -1
  23. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-hf4QOz_4.mjs +665 -0
  24. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-hf4QOz_4.mjs.map +1 -0
  25. package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-16sdMBvH.mjs → acorex-platform-themes-default-entity-master-modify-view.component-DC3MrDtI.mjs} +10 -3
  26. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DC3MrDtI.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bb90PeHq.mjs +236 -0
  28. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bb90PeHq.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-themes-default.mjs +484 -39
  30. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  31. package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-DjKLg513.mjs → acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs} +1 -1
  32. package/fesm2022/acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs.map +1 -0
  33. package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-DE0wO98F.mjs → acorex-platform-themes-shared-color-chooser-view.component-DE0wO98F.mjs} +1 -1
  34. package/fesm2022/acorex-platform-themes-shared-color-chooser-view.component-DE0wO98F.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-themes-shared.mjs +13 -11
  36. package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
  37. package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-BJtkWusr.mjs → acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs} +3 -3
  38. package/fesm2022/acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs.map +1 -0
  39. package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-DeKpl0uK.mjs → acorex-platform-widgets-checkbox-widget-column.component-BNBOATPB.mjs} +2 -1
  40. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-BNBOATPB.mjs.map +1 -0
  41. package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-Cv7dEMCm.mjs → acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs} +2 -2
  42. package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs.map +1 -0
  43. package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-CohkI1w1.mjs → acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs} +2 -2
  44. package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs.map +1 -0
  45. package/fesm2022/{acorex-platform-widgets-file-list-popup.component-BafU5Lfl.mjs → acorex-platform-widgets-file-list-popup.component-DFbPO0ud.mjs} +4 -69
  46. package/fesm2022/acorex-platform-widgets-file-list-popup.component-DFbPO0ud.mjs.map +1 -0
  47. package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-Cw9WcZze.mjs → acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs} +64 -74
  48. package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs.map +1 -0
  49. package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-BDQIfr0g.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs} +5 -5
  50. package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-BDQIfr0g.mjs.map → acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs.map} +1 -1
  51. package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-CmPqtt0G.mjs → acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs} +3 -3
  52. package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-CmPqtt0G.mjs.map → acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs.map} +1 -1
  53. package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-DaR4Nkv4.mjs → acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs} +12 -8
  54. package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs.map +1 -0
  55. package/fesm2022/acorex-platform-widgets.mjs +1498 -2707
  56. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  57. package/fesm2022/acorex-platform-workflow.mjs +0 -3
  58. package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
  59. package/layout/builder/index.d.ts +181 -367
  60. package/layout/components/index.d.ts +25 -372
  61. package/layout/designer/index.d.ts +47 -16
  62. package/layout/entity/index.d.ts +336 -222
  63. package/layout/views/index.d.ts +22 -129
  64. package/package.json +36 -22
  65. package/widgets/index.d.ts +224 -275
  66. package/workflow/index.d.ts +1 -4
  67. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D3VUh8K8.mjs +0 -707
  68. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D3VUh8K8.mjs.map +0 -1
  69. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-16sdMBvH.mjs.map +0 -1
  70. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BMkhNfF4.mjs +0 -244
  71. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BMkhNfF4.mjs.map +0 -1
  72. package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-DjKLg513.mjs.map +0 -1
  73. package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DE0wO98F.mjs.map +0 -1
  74. package/fesm2022/acorex-platform-widgets-button-widget-designer.component-BJtkWusr.mjs.map +0 -1
  75. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-DeKpl0uK.mjs.map +0 -1
  76. package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-Cv7dEMCm.mjs.map +0 -1
  77. package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CohkI1w1.mjs.map +0 -1
  78. package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-B3SJUnGQ.mjs +0 -50
  79. package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-B3SJUnGQ.mjs.map +0 -1
  80. package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-BLR0JkRt.mjs +0 -42
  81. package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-BLR0JkRt.mjs.map +0 -1
  82. package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-hzR2FgOm.mjs +0 -55
  83. package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-hzR2FgOm.mjs.map +0 -1
  84. package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-IDm6Clua.mjs +0 -50
  85. package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-IDm6Clua.mjs.map +0 -1
  86. package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-BRO9tYDa.mjs +0 -48
  87. package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-BRO9tYDa.mjs.map +0 -1
  88. package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-CkpLimyW.mjs +0 -42
  89. package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-CkpLimyW.mjs.map +0 -1
  90. package/fesm2022/acorex-platform-widgets-file-list-popup.component-BafU5Lfl.mjs.map +0 -1
  91. package/fesm2022/acorex-platform-widgets-page-widget-designer.component-Cw9WcZze.mjs.map +0 -1
  92. package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-DaR4Nkv4.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, AXPOptionsData, AXPPlatformScope, AXPPlatformScopeKey, AXPWidgetTriggers, AXPAppStartUpService, AXPLogoConfig, AXPUserReference, AXPApplicationUserReference, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from '@acorex/platform/core';
6
+ import { AXPNavigateActionCommand, AXPExecuteCommand, AXPMetaData, AXPValueTransformerFunctions, AXPValidationRules, AXPPlatformScope, AXPPlatformScopeKey, AXPOptionsData, 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
- collapsed?: boolean;
403
+ type?: 'wrapper' | 'section';
404
404
  layout?: AXPEntityPropertyLayoutConfig;
405
405
  }
406
406
  interface AXPEntityProperty {
@@ -438,10 +438,6 @@ interface AXPEntityProperty {
438
438
  interface AXPEntityTableColumn {
439
439
  name: string;
440
440
  title?: string;
441
- showAs?: {
442
- type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap] | string;
443
- options?: Record<string, any>;
444
- };
445
441
  sort?: {
446
442
  enabled?: boolean;
447
443
  dir?: 'asc' | 'desc';
@@ -461,7 +457,7 @@ interface AXPEntityQuery {
461
457
  execute: string | Function;
462
458
  type: AXPEntityQueryType;
463
459
  }
464
- 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';
460
+ type AXPCommandActionType = 'create' | 'update' | 'delete' | 'print' | 'confirm' | 'report' | 'info' | 'view' | 'archive' | 'design' | 'upload' | 'version-history' | 'sent' | 'review' | 'sign';
465
461
  interface AXPCommandActionLook {
466
462
  color: AXStyleColorType;
467
463
  icon: string;
@@ -502,14 +498,9 @@ interface AXPEntityAction extends AXPCommandActionDisplay {
502
498
  scope: AXPEntityCommandScope;
503
499
  }
504
500
  interface AXPEntity {
505
- plugins?: {
506
- name: string;
507
- options?: AXPOptionsData;
508
- }[];
509
501
  module: string;
510
502
  name: string;
511
503
  source: string;
512
- icon?: string;
513
504
  parentKey?: string;
514
505
  category?: AXPCategoryEntity;
515
506
  versionHistory?: AXPEntityVersionHistory;
@@ -518,7 +509,6 @@ interface AXPEntity {
518
509
  individual: string;
519
510
  plural: string;
520
511
  lookup?: string;
521
- displayName?: string;
522
512
  searchResult?: {
523
513
  title: string;
524
514
  description?: string;
@@ -566,7 +556,7 @@ declare function getEntityInfo(entity: AXPEntity): {
566
556
  };
567
557
  declare function createQueryView(name: string, title: string, fixed: boolean, params?: {
568
558
  columns?: string[];
569
- conditions?: any[];
559
+ conditions?: AXPQueryFilter[];
570
560
  sorts?: AXPQuerySort[];
571
561
  }): AXPQueryView;
572
562
  declare function createAllQueryView(params?: {
@@ -577,35 +567,10 @@ declare function createAllQueryView(params?: {
577
567
  interface AXPRelatedEntity {
578
568
  entity: string;
579
569
  title?: string;
580
- icon?: string;
581
570
  columns?: string[];
582
- layout?: {
583
- type: 'tab-detail' | 'tab-list' | 'page-detail' | 'page-list' | 'merge-detail';
584
- order?: number;
585
- position?: 'before' | 'after' | 'middle';
586
- };
587
571
  conditions?: AXPQueryFilter[];
588
572
  hidden?: boolean | string;
589
573
  actions?: AXPEntityAction[];
590
- /**
591
- * Relationship-level persistence strategy for merge-detail data.
592
- * Defaults:
593
- * - strategy: 'embedded'
594
- * - idField: last segment of dataPath + 'Id' (or 'relatedId' when dataPath is missing)
595
- * - map: undefined (pass-through)
596
- * - hydrate: 'eager' (applies to getOne only in mock)
597
- * - cascade.delete: 'none'
598
- */
599
- persistence?: {
600
- strategy?: 'embedded' | 'referenced';
601
- idField?: string;
602
- dataPath?: string;
603
- map?: Record<string, string>;
604
- hydrate?: 'eager' | 'lazy';
605
- cascade?: {
606
- delete?: 'none' | 'orphans' | 'all';
607
- };
608
- };
609
574
  }
610
575
  interface AXPCategoryEntity {
611
576
  entity: string;
@@ -1124,32 +1089,6 @@ interface AXPFileStorageUpdateRequest {
1124
1089
  */
1125
1090
  isPrimary?: boolean;
1126
1091
  }
1127
- interface AXPFileManyStorageInfo {
1128
- /**
1129
- * The unique identifier for the stored file.
1130
- */
1131
- id?: string;
1132
- /**
1133
- * The unique identifier for the stored file.
1134
- */
1135
- fileId: string;
1136
- /**
1137
- * The unique identifier of referenced entity.
1138
- */
1139
- refId: string;
1140
- /**
1141
- * The type of the referenced entity.
1142
- */
1143
- refType: string;
1144
- /**
1145
- * The size of the file in bytes.
1146
- */
1147
- size: number;
1148
- /**
1149
- * The name of the file.
1150
- */
1151
- name?: string;
1152
- }
1153
1092
  /**
1154
1093
  * Represents information about a file stored in the AXP file storage system.
1155
1094
  */
@@ -1205,58 +1144,6 @@ interface AXPFileStorageInfo {
1205
1144
  status: AXPFileStorageStatus;
1206
1145
  binary: File;
1207
1146
  }
1208
- interface AXPFileStorageInfo {
1209
- /**
1210
- * The unique identifier for the stored file.
1211
- */
1212
- id?: string;
1213
- /**
1214
- * The unique identifier for the stored file.
1215
- */
1216
- fileId: string;
1217
- /**
1218
- * The unique identifier of referenced entity.
1219
- */
1220
- refId: string;
1221
- /**
1222
- * The type of the referenced entity.
1223
- */
1224
- refType: string;
1225
- /**
1226
- * The category of the file. profile-picture, company-logo, policy, document, etc.
1227
- */
1228
- category: string;
1229
- /**
1230
- * The URL where the file can be accessed.
1231
- */
1232
- url?: string;
1233
- /**
1234
- * The size of the file in bytes.
1235
- */
1236
- size: number;
1237
- /**
1238
- * The name of the file.
1239
- */
1240
- name?: string;
1241
- /**
1242
- * The MIME type of the file.
1243
- */
1244
- mimeType: string;
1245
- /**
1246
- * The date and time when the file was uploaded.
1247
- */
1248
- uploadedAt: Date;
1249
- /**
1250
- * Indicates whether the file is public or private.
1251
- */
1252
- isPublic: boolean;
1253
- /**
1254
- * Indicates whether the file is primary or not.
1255
- */
1256
- isPrimary?: boolean;
1257
- status: AXPFileStorageStatus;
1258
- binary: File;
1259
- }
1260
1147
  /**
1261
1148
  * Represents information about a file stored in the AXP file storage system.
1262
1149
  */
@@ -1298,7 +1185,6 @@ declare abstract class AXPFileStorageService {
1298
1185
  abstract save(request: AXPFileStorageCreateRequest): Promise<AXPFileStorageInfo>;
1299
1186
  abstract update(request: AXPFileStorageUpdateRequest): Promise<AXPFileStorageInfo>;
1300
1187
  abstract find(request: AXPFileStorageFindRequest): Promise<AXPFileStorageInfo[]>;
1301
- abstract findMany(ids: string[]): Promise<AXPFileManyStorageInfo[]>;
1302
1188
  abstract getInfo(fileId: string): Promise<AXPFileStorageInfo>;
1303
1189
  abstract remove(fileId: string): Promise<void>;
1304
1190
  abstract commit(fileId: string): Promise<void>;
@@ -1600,4 +1486,4 @@ declare class AXMWorkflowErrorHandler implements AXPErrorHandler {
1600
1486
  }
1601
1487
 
1602
1488
  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 };
1603
- 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 };
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 };
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: i0.Signal<{}>;
23
- previousSnapshot: i0.Signal<{}>;
22
+ initialSnapshot: _ngrx_signals.DeepSignal<{}>;
23
+ previousSnapshot: _ngrx_signals.DeepSignal<{}>;
24
24
  lastChange: _ngrx_signals.DeepSignal<AXPContextChangeEvent>;
25
25
  isChanged: i0.Signal<boolean>;
26
26
  isReset: i0.Signal<boolean>;
@@ -453,12 +453,6 @@ 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
-
462
456
  type AXPPartialNested<T> = {
463
457
  [K in keyof T]?: T[K] extends object ? AXPPartialNested<T[K]> : T[K];
464
458
  };
@@ -514,27 +508,6 @@ interface AXPQueryRequest {
514
508
  };
515
509
  }
516
510
  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
- }
538
511
 
539
512
  type AXPWidgetTrigger = {
540
513
  event: string;
@@ -578,9 +551,8 @@ interface AXPFilterDefinition {
578
551
  advance: boolean;
579
552
  inline: boolean;
580
553
  };
581
- hidden?: boolean;
582
554
  }
583
- interface AXPFilterQuery extends Pick<AXPFilterDefinition, 'field' | 'value' | 'operator' | 'logic' | 'hidden'> {
555
+ interface AXPFilterQuery extends Pick<AXPFilterDefinition, 'field' | 'value' | 'operator' | 'logic'> {
584
556
  filters?: AXPFilterQuery[];
585
557
  }
586
558
 
@@ -605,11 +577,6 @@ type AXPBreadcrumbItem = {
605
577
  icon?: string;
606
578
  command?: AXPExecuteCommand;
607
579
  };
608
- type AXPBadge = {
609
- title: string;
610
- description?: string;
611
- color?: 'primary' | 'success' | 'warning' | 'danger';
612
- };
613
580
  type AXPExecuteCommand = {
614
581
  name: string;
615
582
  options?: AXPMetaData;
@@ -675,6 +642,13 @@ interface AXPGridLayoutOptions {
675
642
  }
676
643
  type AXPFlowDirection = 'vertical' | 'horizontal';
677
644
  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
+ }
678
652
 
679
653
  interface AXPLogoConfig {
680
654
  }
@@ -702,14 +676,6 @@ declare enum AXPPlatformScope {
702
676
  declare function resolvePlatformScopeKey(name: string): AXPPlatformScopeKey;
703
677
  declare function resolvePlatformScopeName(scope: AXPPlatformScopeKey): string;
704
678
 
705
- interface AXPSortDefinition {
706
- name: string;
707
- title: string;
708
- dir?: 'asc' | 'desc';
709
- }
710
- interface AXPSortQuery extends Pick<AXPSortDefinition, 'name' | 'dir'> {
711
- }
712
-
713
679
  type AXPValidationRule = {
714
680
  rule: string;
715
681
  message?: string;
@@ -746,15 +712,6 @@ interface AXPReqexValidationRule extends AXPValidationRule {
746
712
  }
747
713
  type AXPStringValidationRules = (AXPRequiredValidationRule | AXPMinLengthValidationRule | AXPMaxLengthValidationRule | AXPEqualValidationRule<string> | AXPReqexValidationRule)[];
748
714
 
749
- interface AXPViewQuery {
750
- name: string;
751
- fixed: boolean;
752
- title: string;
753
- columns: string[];
754
- conditions: AXPFilterQuery[];
755
- sorts: AXPSortQuery[];
756
- }
757
-
758
715
  interface AXPViewDefinition {
759
716
  key: string;
760
717
  title: string;
@@ -933,6 +890,7 @@ declare class AXPContentCheckerDirective {
933
890
  viewContainerRef: ViewContainerRef;
934
891
  elementRef: ElementRef<HTMLDivElement>;
935
892
  isEmpty: i0.Signal<boolean>;
893
+ ngAfterViewInit(): void;
936
894
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPContentCheckerDirective, never>;
937
895
  static ɵdir: i0.ɵɵDirectiveDeclaration<AXPContentCheckerDirective, "[axp-content-checker]", ["checker"], {}, {}, never, never, true, never>;
938
896
  }
@@ -942,7 +900,6 @@ declare class AXPBroadcastEventService implements OnDestroy {
942
900
  private eventSubjects;
943
901
  private pendingRequests;
944
902
  private multiTabEventHistory;
945
- private readonly instanceId;
946
903
  constructor();
947
904
  /**
948
905
  * Publish an event without expecting a response
@@ -1051,21 +1008,6 @@ declare function setSmart(obj: any, smartPath: string, value: any): any;
1051
1008
  declare function getSmart(obj: any, smartPath: string): any;
1052
1009
  declare function extractValue<T = any>(value: any, key?: string): T | null;
1053
1010
  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
- }[];
1069
1011
 
1070
1012
  declare function applyFilterArray(dataArray: any[], filters?: AXDataSourceFilterOption[], logic?: 'and' | 'or'): any[];
1071
1013
  declare function applySortArray(dataArray: any, sorts: AXDataSourceSortOption[]): any;
@@ -1165,7 +1107,6 @@ interface AXPDistributedEventListenerProvider<T> {
1165
1107
 
1166
1108
  declare class AXPDistributedEventListenerService {
1167
1109
  private readonly listenerProviders;
1168
- private readonly injector;
1169
1110
  /** Cache for listeners by key. */
1170
1111
  private listenersByKey;
1171
1112
  /** Flag to track if providers have been loaded */
@@ -1197,5 +1138,59 @@ declare class AXPDistributedEventListenerService {
1197
1138
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPDistributedEventListenerService>;
1198
1139
  }
1199
1140
 
1200
- export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPComponentLogoConfig, AXPContentCheckerDirective, AXPContextChangeEvent, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDistributedEventListenerService, AXPElementDataDirective, 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, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getSystemActions, objectKeyValueTransforms, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
1201
- 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 };
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;
1163
+ /**
1164
+ * Check if an entity event key matches a wildcard pattern
1165
+ * Only supports entity patterns (entity.*)
1166
+ */
1167
+ private matchesEntityPattern;
1168
+ /**
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')
1172
+ */
1173
+ private generateEventKeys;
1174
+ /**
1175
+ * Convenience methods for specific operations
1176
+ */
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>;
1193
+ }
1194
+
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 };
@@ -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 || this.user?.name == 'root');
550
+ return keys.every((k) => isEmpty(k) || this.permissions.indexOf(k) > -1);
551
551
  }
552
552
  isFeatureEnabled(...keys) {
553
553
  return keys.every((k) => isEmpty(k) || this.features.some((c) => c.name == k && c.value == true));