@acorex/modules 21.0.0-next.12 → 21.0.0-next.13

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 (34) hide show
  1. package/data-management/index.d.ts +35 -2
  2. package/document-management/index.d.ts +76 -261
  3. package/fesm2022/acorex-modules-data-management.mjs +231 -2
  4. package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
  5. package/fesm2022/acorex-modules-document-management.mjs +529 -2717
  6. package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
  7. package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-BDSyXKSF.mjs → acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs} +2 -2
  8. package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs.map +1 -0
  9. package/fesm2022/acorex-modules-human-capital-management.mjs +350 -695
  10. package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
  11. package/fesm2022/{acorex-modules-task-management-task-board.page-Cgxdk78j.mjs → acorex-modules-task-management-task-board.page-B_S373L-.mjs} +47 -54
  12. package/fesm2022/acorex-modules-task-management-task-board.page-B_S373L-.mjs.map +1 -0
  13. package/fesm2022/acorex-modules-task-management.mjs +39 -11
  14. package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
  15. package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-BbBEPTBa.mjs +258 -0
  16. package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-BbBEPTBa.mjs.map +1 -0
  17. package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-nJMBL0qt.mjs +371 -0
  18. package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-nJMBL0qt.mjs.map +1 -0
  19. package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Pso0oRN5.mjs +313 -0
  20. package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Pso0oRN5.mjs.map +1 -0
  21. package/fesm2022/acorex-modules-workflow-management.mjs +710 -2536
  22. package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
  23. package/human-capital-management/index.d.ts +19 -79
  24. package/package.json +14 -14
  25. package/task-management/index.d.ts +12 -1
  26. package/workflow-management/index.d.ts +220 -265
  27. package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-yGvT9kSL.mjs +0 -381
  28. package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-yGvT9kSL.mjs.map +0 -1
  29. package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-BDSyXKSF.mjs.map +0 -1
  30. package/fesm2022/acorex-modules-task-management-task-board.page-Cgxdk78j.mjs.map +0 -1
  31. package/fesm2022/acorex-modules-workflow-management-cartable-page.component-Bso0XRkJ.mjs +0 -296
  32. package/fesm2022/acorex-modules-workflow-management-cartable-page.component-Bso0XRkJ.mjs.map +0 -1
  33. package/fesm2022/acorex-modules-workflow-management-index-xB36g4F1.mjs +0 -469
  34. package/fesm2022/acorex-modules-workflow-management-index-xB36g4F1.mjs.map +0 -1
@@ -104,6 +104,19 @@ declare const RootConfig: {
104
104
  title: string;
105
105
  icon: string;
106
106
  };
107
+ equipmentCategory: {
108
+ name: string;
109
+ title: string;
110
+ titlePlural: string;
111
+ icon: string;
112
+ };
113
+ equipment: {
114
+ name: string;
115
+ source: string;
116
+ title: string;
117
+ titlePlural: string;
118
+ icon: string;
119
+ };
107
120
  };
108
121
  };
109
122
 
@@ -514,6 +527,20 @@ interface AXMTag {
514
527
  updatedAt?: Date;
515
528
  }
516
529
 
530
+ declare function equipmentFactory(injector: Injector): Promise<AXPEntity | null>;
531
+
532
+ interface AXMDataManagementEquipmentEntityModel extends AXPEntityModel<string> {
533
+ code?: string;
534
+ title: string;
535
+ description?: string;
536
+ categoryIds?: string[];
537
+ categories?: Array<{
538
+ id: string;
539
+ title: string;
540
+ }>;
541
+ statusId?: string;
542
+ }
543
+
517
544
  declare class AXMEntityProvider implements AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader {
518
545
  private injector;
519
546
  preload(): AXPEntityPreloadEntity[];
@@ -536,6 +563,8 @@ declare const AXPDataManagementMenuKeys: {
536
563
  readonly Queries: "DataManagement:Menu:Queries";
537
564
  readonly DataSources: "DataManagement:Menu:DataSources";
538
565
  readonly MetaDataDefinitions: "DataManagement:Menu:MetaDataDefinitions";
566
+ readonly Equipments: "DataManagement:Menu:Equipments";
567
+ readonly EquipmentCategories: "DataManagement:Menu:EquipmentCategories";
539
568
  readonly Tags: "DataManagement:Menu:Tags";
540
569
  };
541
570
 
@@ -2052,6 +2081,7 @@ declare const AXMDataManagementFeatureKeys: {
2052
2081
  readonly Queries: "DataManagement:Feature:Queries";
2053
2082
  readonly DataSources: "DataManagement:Feature:DataSources";
2054
2083
  readonly MetaDataDefinitions: "DataManagement:Feature:MetaDataDefinitions";
2084
+ readonly Equipments: "DataManagement:Feature:Equipments";
2055
2085
  };
2056
2086
 
2057
2087
  declare const AXMPermissionsKeys: {
@@ -2065,11 +2095,14 @@ declare const AXMPermissionsKeys: {
2065
2095
  MetaDataDefinition: {
2066
2096
  Management: string;
2067
2097
  };
2098
+ Equipment: {
2099
+ Management: string;
2100
+ };
2068
2101
  Tag: {
2069
2102
  Management: string;
2070
2103
  };
2071
2104
  };
2072
2105
  };
2073
2106
 
2074
- export { AXMColumnFilterSelectorWidget, AXMColumnFilterSelectorWidgetColumnComponent, AXMColumnFilterSelectorWidgetEditComponent, AXMColumnFilterSelectorWidgetFilterComponent, AXMColumnFilterSelectorWidgetPrintComponent, AXMColumnFilterSelectorWidgetViewComponent, AXMDataManagementFeatureKeys, AXMDataManagementModule, AXMDataSourceEntityModule, AXMDataSourceOutputType, AXMDataSourceService, AXMDataSourceServiceImpl, AXMDataSourceType, AXMDefaultAggregateFunctionProvider, AXMDefaultDatabaseTypeProvider, AXMEntityProvider, AXMMenuProvider, AXMMetaDataDefinitionEntityModule, AXMMetaDataDefinitionService, AXMMetaDataFeatureModule, AXMMetadataEvaluatorScopeProvider, AXMPMetaDataDefinitionServiceImpl, AXMPermissionsKeys, AXMQueryEntityModule, AXMQueryService, AXMQueryServiceImpl, AXMTagEntityModule, AXMTagEntityService, AXMTagsFeatureModule, AXM_COLUMN_DEF_WIDGET, AXM_FILTER_DEF_WIDGET, AXPAggregateBuilderComponent, AXPAggregateFunctionService, AXPAggregateFunctionsRegistry, AXPColumnsBuilderComponent, AXPDataManagementMenuKeys, AXPDatabaseTypeService, AXPGroupByBuilderComponent, AXPMetaDataSelectorWidget, AXPMetaDataSelectorWidgetEditComponent, AXPMetaDataSelectorWidgetViewComponent, AXPQueryBuilderComponent, AXPQueryBuilderWidget, AXPQueryBuilderWidgetColumnComponent, AXPQueryBuilderWidgetDesignerComponent, AXPQueryBuilderWidgetEditComponent, AXPQueryBuilderWidgetViewComponent, AXPRawQueryBuilderComponent, AXPSortBuilderComponent, AXPSystemTagProvider, AXPWhereBuilderComponent, AXP_AGGREGATE_FUNCTION_PROVIDER, AXP_DATABASE_TYPE_PROVIDER, AXP_DEFAULT_AGGREGATE_FUNCTION_PROVIDER, AXP_DEFAULT_DATABASE_TYPE_PROVIDER, META_DATA_FORM_FIELD, META_DATA_SELECTOR_FIELD, RootConfig, convertStateToValue, convertValueToState, createDefaultGroup, dataSourceEntityFactory, factory, metaDataDefinitionFactory, metaDataSelectorPlugin, queryFactory, tagsPlugin };
2075
- export type { AXMColumnFilterSelectorWidgetConfigType, AXMDataManagementQueryEntityModel, AXMDataSourceEntityModel, AXMDataSourceFilter, AXMDataSourceOutputTypeOption, AXMDataSourceTypeOption, AXMMetaDataDefinitionEntityModel, AXMMetaDataSelectorField, AXMMetaDataSelectorGroup, AXMMetaDataSelectorState, AXMMetaDataSelectorValue, AXMQueryEntityModel, AXMTag, AXPAggregateCategory, AXPAggregateFunctionDefinition, AXPAggregateFunctionProvider, AXPAggregateFunctionProviderToken, AXPAggregateOperation, AXPDatabaseType, AXPDatabaseTypeDefinition, AXPDatabaseTypeProvider, AXPDatabaseTypeProviderToken, AXPMetaDataSelectorWidgetConfigType, AXPQueryBuilderData, AXPQueryBuilderWidgetConfigType, AXPQueryExecutionResult, AXPQueryOutputType, AXPQuerySortRule, AXPTagPluginOptions, ColumnFilterValue, MetaDataSelectorPluginOptions };
2107
+ export { AXMColumnFilterSelectorWidget, AXMColumnFilterSelectorWidgetColumnComponent, AXMColumnFilterSelectorWidgetEditComponent, AXMColumnFilterSelectorWidgetFilterComponent, AXMColumnFilterSelectorWidgetPrintComponent, AXMColumnFilterSelectorWidgetViewComponent, AXMDataManagementFeatureKeys, AXMDataManagementModule, AXMDataSourceEntityModule, AXMDataSourceOutputType, AXMDataSourceService, AXMDataSourceServiceImpl, AXMDataSourceType, AXMDefaultAggregateFunctionProvider, AXMDefaultDatabaseTypeProvider, AXMEntityProvider, AXMMenuProvider, AXMMetaDataDefinitionEntityModule, AXMMetaDataDefinitionService, AXMMetaDataFeatureModule, AXMMetadataEvaluatorScopeProvider, AXMPMetaDataDefinitionServiceImpl, AXMPermissionsKeys, AXMQueryEntityModule, AXMQueryService, AXMQueryServiceImpl, AXMTagEntityModule, AXMTagEntityService, AXMTagsFeatureModule, AXM_COLUMN_DEF_WIDGET, AXM_FILTER_DEF_WIDGET, AXPAggregateBuilderComponent, AXPAggregateFunctionService, AXPAggregateFunctionsRegistry, AXPColumnsBuilderComponent, AXPDataManagementMenuKeys, AXPDatabaseTypeService, AXPGroupByBuilderComponent, AXPMetaDataSelectorWidget, AXPMetaDataSelectorWidgetEditComponent, AXPMetaDataSelectorWidgetViewComponent, AXPQueryBuilderComponent, AXPQueryBuilderWidget, AXPQueryBuilderWidgetColumnComponent, AXPQueryBuilderWidgetDesignerComponent, AXPQueryBuilderWidgetEditComponent, AXPQueryBuilderWidgetViewComponent, AXPRawQueryBuilderComponent, AXPSortBuilderComponent, AXPSystemTagProvider, AXPWhereBuilderComponent, AXP_AGGREGATE_FUNCTION_PROVIDER, AXP_DATABASE_TYPE_PROVIDER, AXP_DEFAULT_AGGREGATE_FUNCTION_PROVIDER, AXP_DEFAULT_DATABASE_TYPE_PROVIDER, META_DATA_FORM_FIELD, META_DATA_SELECTOR_FIELD, RootConfig, convertStateToValue, convertValueToState, createDefaultGroup, dataSourceEntityFactory, equipmentFactory, factory, metaDataDefinitionFactory, metaDataSelectorPlugin, queryFactory, tagsPlugin };
2108
+ export type { AXMColumnFilterSelectorWidgetConfigType, AXMDataManagementEquipmentEntityModel, AXMDataManagementQueryEntityModel, AXMDataSourceEntityModel, AXMDataSourceFilter, AXMDataSourceOutputTypeOption, AXMDataSourceTypeOption, AXMMetaDataDefinitionEntityModel, AXMMetaDataSelectorField, AXMMetaDataSelectorGroup, AXMMetaDataSelectorState, AXMMetaDataSelectorValue, AXMQueryEntityModel, AXMTag, AXPAggregateCategory, AXPAggregateFunctionDefinition, AXPAggregateFunctionProvider, AXPAggregateFunctionProviderToken, AXPAggregateOperation, AXPDatabaseType, AXPDatabaseTypeDefinition, AXPDatabaseTypeProvider, AXPDatabaseTypeProviderToken, AXPMetaDataSelectorWidgetConfigType, AXPQueryBuilderData, AXPQueryBuilderWidgetConfigType, AXPQueryExecutionResult, AXPQueryOutputType, AXPQuerySortRule, AXPTagPluginOptions, ColumnFilterValue, MetaDataSelectorPluginOptions };
@@ -1,16 +1,16 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
  import { Injector, Type, OnInit } from '@angular/core';
3
- import * as i9 from '@acorex/platform/layout/widget-core';
3
+ import * as i3 from '@acorex/platform/layout/widget-core';
4
4
  import { AXPValueWidgetComponent, AXPWidgetCoreContextChangeEvent, AXPWidgetNode, AXPWidgetConfig } from '@acorex/platform/layout/widget-core';
5
- import * as i10 from '@acorex/components/media-viewer';
6
- import * as i11 from '@acorex/platform/workflow';
5
+ import * as i4 from '@acorex/components/media-viewer';
6
+ import * as i5 from '@acorex/platform/workflow';
7
7
  import { AXPWorkflowService } from '@acorex/platform/workflow';
8
8
  import * as _acorex_platform_common from '@acorex/platform/common';
9
9
  import { AXPEntity, AXPFileStorageService, AXPFilterOperatorMiddlewareService, AXPFileType, AXPFileTypeInfoProvider, AXPFileTypeProviderService, AXPMenuProvider, AXPMenuProviderContext, AXPSearchCommandProvider, AXPSearchResult, AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex/platform/common';
10
10
  import { AXPEntityModel, AXMEntityCrudServiceImpl, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityPreloadEntity } from '@acorex/platform/layout/entity';
11
- import { AXMMetaDataSelectorValue } from '@acorex/modules/data-management';
12
11
  import * as _acorex_platform_core from '@acorex/platform/core';
13
- import { AXPFileListItem, AXPMetaData, AXPApplicationUserReference, AXPPlatformScope, AXPQueryRequest, AXPHookService, AXPActionMenuItem, AXPDeviceService, AXPBackButton, AXPBreadcrumbItem, AXPExecuteCommand } from '@acorex/platform/core';
12
+ import { AXPFileListItem, AXPMetaData, AXPCategoryEntity, AXPPlatformScope, AXPQueryRequest, AXPHookService, AXPActionMenuItem, AXPDeviceService, AXPBackButton, AXPBreadcrumbItem, AXPExecuteCommand } from '@acorex/platform/core';
13
+ import { AXMMetaDataSelectorValue } from '@acorex/modules/data-management';
14
14
  import * as _acorex_platform_themes_shared from '@acorex/platform/themes/shared';
15
15
  import * as _ngrx_signals from '@ngrx/signals';
16
16
  import * as _acorex_components_menu from '@acorex/components/menu';
@@ -38,18 +38,6 @@ declare const RootConfig: {
38
38
  icon: string;
39
39
  };
40
40
  entities: {
41
- documentRelated: {
42
- name: string;
43
- title: string;
44
- titlePlural: string;
45
- icon: string;
46
- };
47
- review: {
48
- name: string;
49
- title: string;
50
- titlePlural: string;
51
- icon: string;
52
- };
53
41
  folder: {
54
42
  name: string;
55
43
  title: string;
@@ -68,24 +56,6 @@ declare const RootConfig: {
68
56
  titlePlural: string;
69
57
  icon: string;
70
58
  };
71
- documentTypeMetaDefinition: {
72
- name: string;
73
- title: string;
74
- titlePlural: string;
75
- icon: string;
76
- };
77
- documentTypeMetaValue: {
78
- name: string;
79
- title: string;
80
- titlePlural: string;
81
- icon: string;
82
- };
83
- documentTypeStatus: {
84
- name: string;
85
- title: string;
86
- titlePlural: string;
87
- icon: string;
88
- };
89
59
  };
90
60
  };
91
61
 
@@ -95,55 +65,50 @@ declare class AXMDriveChooseModule {
95
65
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDriveChooseModule>;
96
66
  }
97
67
 
98
- declare class AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule {
99
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, never>;
100
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, never, never, never>;
101
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule>;
102
- }
103
-
104
- declare class AXMDocumentManagementDocumentTypeMetaValueEntityModule {
105
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementDocumentTypeMetaValueEntityModule, never>;
106
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMDocumentManagementDocumentTypeMetaValueEntityModule, never, never, never>;
107
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDocumentManagementDocumentTypeMetaValueEntityModule>;
108
- }
109
-
110
- declare class AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule {
111
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, never>;
112
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, never, never, never>;
113
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule>;
114
- }
115
-
116
68
  declare class AXMDocumentManagementDocumentTypeEntityModule {
117
69
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementDocumentTypeEntityModule, never>;
118
70
  static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMDocumentManagementDocumentTypeEntityModule, never, never, never>;
119
71
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDocumentManagementDocumentTypeEntityModule>;
120
72
  }
121
73
 
122
- declare class AXMDocumentManagementDocumentEntityModule {
123
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementDocumentEntityModule, never>;
124
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMDocumentManagementDocumentEntityModule, never, never, never>;
125
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDocumentManagementDocumentEntityModule>;
74
+ declare class AXMDocumentManagementModule {
75
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementModule, never>;
76
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMDocumentManagementModule, never, [typeof AXMDriveChooseModule, typeof AXMDocumentManagementDocumentTypeEntityModule, typeof i3.AXPWidgetCoreModule, typeof i4.AXMediaViewerModule, typeof i5.AXPWorkflowModule], never>;
77
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDocumentManagementModule>;
126
78
  }
127
79
 
128
- declare class AXMFolderEntityModule {
129
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMFolderEntityModule, never>;
130
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMFolderEntityModule, never, never, never>;
131
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMFolderEntityModule>;
132
- }
80
+ /**
81
+ * Minimal entity definition for Document so the entity registry can resolve
82
+ * DocumentManagement.Document. Used by AXMDocumentService (AXMEntityCrudServiceImpl).
83
+ * No list/form UI; documents are handled by document-explorer.
84
+ */
85
+ declare function documentEntityFactory(_injector: Injector): Promise<AXPEntity | null>;
133
86
 
134
- declare class AXMReviewEntityModule {
135
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMReviewEntityModule, never>;
136
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMReviewEntityModule, never, never, never>;
137
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMReviewEntityModule>;
87
+ interface AXMDocumentDto extends AXPEntityModel<string> {
88
+ name: string;
89
+ title: string;
90
+ documentType: AXMDocumentDocDto;
91
+ parentId: string;
92
+ fileInfo: AXPFileListItem;
93
+ description?: string;
94
+ expirationDate?: Date;
95
+ status?: string;
96
+ version?: number;
97
+ metaDataForm?: AXPMetaData;
138
98
  }
139
-
140
- declare class AXMDocumentManagementModule {
141
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementModule, never>;
142
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMDocumentManagementModule, never, [typeof AXMDriveChooseModule, typeof AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, typeof AXMDocumentManagementDocumentTypeMetaValueEntityModule, typeof AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, typeof AXMDocumentManagementDocumentTypeEntityModule, typeof AXMDocumentManagementDocumentEntityModule, typeof AXMFolderEntityModule, typeof AXMReviewEntityModule, typeof i9.AXPWidgetCoreModule, typeof i10.AXMediaViewerModule, typeof i11.AXPWorkflowModule], never>;
143
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDocumentManagementModule>;
99
+ interface AXMDocumentDocDto {
100
+ id: string;
101
+ name: string;
102
+ title: string;
144
103
  }
145
104
 
146
- declare function documentFactory(injector: Injector): Promise<AXPEntity | null>;
105
+ declare abstract class AXMDocumentService extends AXMEntityCrudServiceImpl<string, AXMDocumentDto> {
106
+ }
107
+ declare class AXMDocumentServiceImpl extends AXMDocumentService {
108
+ constructor();
109
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentServiceImpl, never>;
110
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMDocumentServiceImpl>;
111
+ }
147
112
 
148
113
  declare function documentTypeFactory(injector: Injector): Promise<AXPEntity | null>;
149
114
 
@@ -179,133 +144,52 @@ declare class AXMDocumentTypeServiceImpl extends AXMDocumentTypeService {
179
144
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMDocumentTypeServiceImpl>;
180
145
  }
181
146
 
182
- type AXMDocumentWorkflowPhase = 'Draft' | 'PendingReview' | 'Rejected' | 'Reviewed' | 'Distributed' | 'Completed';
183
- interface AXMDocumentMeta {
184
- name: string;
185
- title: string;
186
- value: string;
187
- }
188
- interface AXMDocumentManagementDocumentEntityModel extends AXPEntityModel<string> {
189
- name: string;
190
- title: string;
191
- documentType: AXMDocumentManagementDocumentTypeEntityModel;
192
- parentId: string;
193
- fileId: string | AXPFileListItem | any;
194
- refRecordId?: string;
195
- refEntity?: string;
196
- description?: string;
197
- size: number;
198
- version?: number;
199
- reviewRecordId?: string;
200
- expirationDate?: Date;
201
- fileData?: AXPFileListItem[];
202
- status?: AXMDocumentWorkflowPhase;
203
- metaDataForm?: AXPMetaData;
204
- }
205
- interface GetNextStatusOptions {
206
- current: AXMDocumentWorkflowPhase;
207
- requiresReview: boolean;
208
- reviewFirst: boolean;
209
- reviewResult?: 'approved' | 'rejected';
210
- }
211
- declare function getNextStatus(options: GetNextStatusOptions): AXMDocumentWorkflowPhase | null;
212
- declare function canTransition(from: AXMDocumentWorkflowPhase, to: AXMDocumentWorkflowPhase): boolean;
213
-
214
- declare abstract class AXMDocumentService extends AXMEntityCrudServiceImpl<string, AXMDocumentManagementDocumentEntityModel> {
215
- }
216
- declare class AXMDocumentServiceImpl extends AXMDocumentService {
217
- constructor();
218
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentServiceImpl, never>;
219
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMDocumentServiceImpl>;
220
- }
221
-
222
- declare function documentTypeMetaDefinitionfactory(injector: Injector): Promise<AXPEntity | null>;
223
-
224
- interface AXMDocumentManagementDocumentTypeMetaDefinitionEntityModel extends AXPEntityModel<string> {
225
- name: string;
226
- title: string;
227
- }
228
-
229
- declare abstract class AXMDocumentManagementDocumentTypeMetaDefinitionEntityService extends AXMEntityCrudServiceImpl<string, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModel> {
230
- }
231
- declare class AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl extends AXMDocumentManagementDocumentTypeMetaDefinitionEntityService {
232
- constructor();
233
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl, never>;
234
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl>;
235
- }
236
-
237
- declare function documentTypeMetaValueFactory(injector: Injector): Promise<AXPEntity | null>;
238
-
239
- interface AXMDocumentManagementDocumentTypeMetaValueEntityModel extends AXPEntityModel<string> {
240
- name: string;
241
- title: string;
242
- }
243
-
244
- declare abstract class AXMDocumentManagementDocumentTypeMetaValueEntityService extends AXMEntityCrudServiceImpl<string, AXMDocumentManagementDocumentTypeMetaValueEntityModel> {
245
- }
246
- declare class AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl extends AXMDocumentManagementDocumentTypeMetaValueEntityService {
247
- constructor();
248
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl, never>;
249
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl>;
250
- }
251
-
252
- declare function documentTypeStatusDefinitionFactory(injector: Injector): Promise<AXPEntity | null>;
253
-
254
- interface AXMDocumentManagementDocumentTypeStatusDefinitionEntityModel extends AXPEntityModel<string> {
255
- name: string;
256
- title: string;
257
- }
258
-
259
- declare abstract class AXMDocumentManagementDocumentTypeStatusDefinitionEntityService extends AXMEntityCrudServiceImpl<string, AXMDocumentManagementDocumentTypeStatusDefinitionEntityModel> {
260
- }
261
- declare class AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl extends AXMDocumentManagementDocumentTypeStatusDefinitionEntityService {
262
- constructor();
263
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl, never>;
264
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl>;
265
- }
266
-
267
- declare function documentRelatedFactory(injector: Injector): Promise<AXPEntity | null>;
268
-
269
- declare function folderFactory(injector: Injector): Promise<AXPEntity | null>;
147
+ /**
148
+ * Minimal entity definition for Folder so the entity registry can resolve
149
+ * DocumentManagement.Folder. Used by AXMFolderService (AXMEntityCrudServiceImpl).
150
+ * No list/form UI; folder tree is handled by document-explorer.
151
+ */
152
+ declare function folderEntityFactory(_injector: Injector): Promise<AXPEntity | null>;
270
153
 
271
154
  type AXMDocumentInheritanceType = 'Extends' | 'Inherited' | 'None';
272
- interface AXMDocumentManagementFolderEntityModel extends AXPEntityModel<string> {
273
- name: string;
155
+ /**
156
+ * Document Management Folder - Extends category substructure for consistency with platform
157
+ *
158
+ * Inherited from AXPCategoryEntity:
159
+ * - id, title, description?, parentId?
160
+ * - childrenCount (direct subfolders count)
161
+ * - itemsCount? (direct documents count)
162
+ * - totalChildrenCount?, totalItemsCount? (optional, for analytics)
163
+ *
164
+ * Folder-specific: color, documentTypes, inherit, size, parent, folders, documents.
165
+ */
166
+ interface AXMDocumentManagementFolderEntityModel extends AXPEntityModel<string>, AXPCategoryEntity<string> {
274
167
  color: string;
275
- description?: string;
276
- parentId?: string;
277
- isSystem: boolean;
278
- isHidden: boolean;
279
- isDeleted: boolean;
280
- createdByUser?: any;
281
- updatedByUser?: any;
282
- tenantId?: string;
283
- userId?: string;
284
168
  documentTypes?: AXMDocumentManagementDocumentTypeEntityModel[];
169
+ inherit: AXMDocumentInheritanceType;
170
+ size: number;
285
171
  parent?: AXMDocumentManagementFolderEntityModel;
286
172
  folders?: AXMDocumentManagementFolderEntityModel[];
287
- documents?: AXMDocumentManagementDocumentEntityModel[];
288
- nodeCount?: number;
289
- size: number;
290
- inherit: AXMDocumentInheritanceType;
173
+ documents?: AXMDocumentDto[];
291
174
  }
292
175
  interface AXMDocumentManagementFolderCreateDto {
293
- name: string;
176
+ title: string;
294
177
  color: string;
295
- size: number;
296
178
  description?: string;
297
179
  parentId?: string;
298
180
  documentTypes?: AXMDocumentManagementDocumentTypeEntityModel[];
181
+ inherit: AXMDocumentInheritanceType;
182
+ /** Optional; when not provided, backend may set to 0 or compute. */
183
+ size?: number;
184
+ /** Optional; used for tenant-scoped folder creation. */
299
185
  tenantId?: string;
186
+ /** Optional; used for user-scoped folder creation. */
300
187
  userId?: string;
301
- inherit: AXMDocumentInheritanceType;
302
188
  }
303
189
  interface AXMDocumentManagementFolderGetDto extends AXMDocumentManagementFolderEntityModel {
304
- createdByUser?: any;
305
- updatedByUser?: any;
306
190
  parent?: AXMDocumentManagementFolderEntityModel;
307
191
  folders?: AXMDocumentManagementFolderEntityModel[];
308
- documents?: AXMDocumentManagementDocumentEntityModel[];
192
+ documents?: AXMDocumentDto[];
309
193
  }
310
194
 
311
195
  declare abstract class AXMFolderService extends AXMEntityCrudServiceImpl<string, AXMDocumentManagementFolderEntityModel, AXMDocumentManagementFolderEntityModel, AXMDocumentManagementFolderCreateDto> {
@@ -316,36 +200,6 @@ declare class AXMFolderServiceImpl extends AXMFolderService {
316
200
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMFolderServiceImpl>;
317
201
  }
318
202
 
319
- declare function reviewFactory(injector: Injector): Promise<AXPEntity | null>;
320
-
321
- interface AXMDocumentManagementReviewEntityModel extends AXPEntityModel<string> {
322
- id: string;
323
- documentId: string;
324
- document?: AXMDocumentManagementDocumentEntityModel;
325
- version: number;
326
- reviewerId: string;
327
- reviewer?: AXPApplicationUserReference;
328
- reviewStatus: 'Pending' | 'Approved' | 'Rejected';
329
- reviewComment?: string;
330
- reviewedAt?: Date;
331
- modifiedBy?: AXPApplicationUserReference;
332
- modifiedAt?: Date;
333
- }
334
-
335
- declare abstract class AXMReviewService extends AXMEntityCrudServiceImpl<string, AXMDocumentManagementReviewEntityModel> {
336
- }
337
- declare class AXMReviewServiceImpl extends AXMReviewService {
338
- constructor();
339
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMReviewServiceImpl, never>;
340
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMReviewServiceImpl>;
341
- }
342
-
343
- declare class AXMDocumentReletedEntityModule {
344
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentReletedEntityModule, never>;
345
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMDocumentReletedEntityModule, never, never, never>;
346
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDocumentReletedEntityModule>;
347
- }
348
-
349
203
  declare class AXMEntityProvider implements AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader {
350
204
  private injector;
351
205
  preload(): AXPEntityPreloadEntity[];
@@ -360,11 +214,11 @@ declare class AXMEntityProvider implements AXPEntityDefinitionLoader, AXPEntityD
360
214
 
361
215
  declare abstract class AXPDocumentManagementService {
362
216
  abstract getDocumentPath(documentId: string, stopFolderId?: string): Promise<AXMDocumentManagementFolderEntityModel[]>;
363
- abstract searchFiles(searchTerm: string, rootFolderId: string): Promise<AXMDocumentManagementDocumentEntityModel[]>;
364
- abstract findManyDocuments(ids: string[]): Promise<AXMDocumentManagementDocumentEntityModel[]>;
217
+ abstract searchFiles(searchTerm: string, rootFolderId: string): Promise<AXMDocumentDto[]>;
218
+ abstract findManyDocuments(ids: string[]): Promise<AXMDocumentDto[]>;
365
219
  abstract getFolderPath(folderId: string, stopFolderId?: string): Promise<AXMDocumentManagementFolderEntityModel[]>;
366
220
  abstract searchFolders(searchTerm: string, rootFolderId: string): Promise<AXMDocumentManagementFolderEntityModel[]>;
367
- abstract getDocumentTypeByName(name: string): Promise<AXMDocumentManagementDocumentTypeEntityModel>;
221
+ abstract getDocumentTypeByName(name: string): Promise<AXMDocumentDocDto>;
368
222
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDocumentManagementService, never>;
369
223
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPDocumentManagementService>;
370
224
  }
@@ -389,15 +243,15 @@ interface AXMDocumentExplorerNode {
389
243
  }[];
390
244
  inherit?: AXMDocumentInheritanceType;
391
245
  }
392
- interface AXMNodeType extends AXMDocumentManagementDocumentTypeEntityModel {
246
+ interface AXMNodeType extends AXMDocumentDocDto {
393
247
  }
394
248
  type AXPDocumentExplorerViewMode = 'large-tiles' | 'small-tiles' | 'list' | 'details' | 'large-icons' | 'attachment' | 'small-icons';
395
249
  type AXMDocumentExplorerBrowseMode = 'file' | 'folder';
396
250
  type AXMDocumentSelectionMode = 'single' | 'multiple' | 'none';
397
251
  type CreateFolderDto = Partial<Omit<AXMDocumentManagementFolderEntityModel, 'id'>>;
398
252
  type UpdateFolderDto = Partial<Omit<AXMDocumentManagementFolderEntityModel, 'id'>>;
399
- type CreateFileDto = Omit<AXMDocumentManagementDocumentEntityModel, 'id'>;
400
- type UpdateFileDto = Partial<Omit<AXMDocumentManagementDocumentEntityModel, 'id'>>;
253
+ type CreateFileDto = Omit<AXMDocumentDto, 'id'>;
254
+ type UpdateFileDto = Partial<Omit<AXMDocumentDto, 'id'>>;
401
255
 
402
256
  interface AttachmentOptions {
403
257
  multiple?: boolean;
@@ -416,7 +270,7 @@ declare class DocumentAttachmentsService {
416
270
  private readonly documentService;
417
271
  private readonly documentDialog;
418
272
  private readonly translateService;
419
- attachFile(fileType: string | AXMDocumentManagementDocumentTypeEntityModel, options?: AttachmentOptions): Promise<boolean>;
273
+ attachFile(fileType: string | AXMDocumentDocDto, options?: AttachmentOptions): Promise<boolean>;
420
274
  updateAttachedFile(fileId: string, options?: UpdateAttachmentOptions): Promise<boolean>;
421
275
  /**
422
276
  * Upload a new version for an existing document. Lets user choose a new file, edit metadata, and updates the document
@@ -520,7 +374,6 @@ declare class AXMDocumentManagerService implements AXMDocumentManagerServiceInte
520
374
  protected workflow: AXPWorkflowService;
521
375
  protected translate: AXTranslationService;
522
376
  protected layoutBuilder: AXPLayoutBuilderService;
523
- protected reviewService: AXMReviewService;
524
377
  protected attachmentsService: DocumentAttachmentsService;
525
378
  protected filterMiddlewareService: AXPFilterOperatorMiddlewareService;
526
379
  protected hooks: AXPHookService | null;
@@ -570,9 +423,8 @@ declare class AXMDocumentManagerService implements AXMDocumentManagerServiceInte
570
423
  */
571
424
  private createCopyName;
572
425
  /**
573
- * Prepares file for copy operation by downloading from storage and converting to blob source
574
- * This method takes an existing AXPFileListItem (or fileId string) and prepares it for re-upload
575
- * by downloading the file from storage and changing source to blob with uploading status
426
+ * Prepares file for copy operation by downloading from storage and converting to blob source.
427
+ * Accepts document fileId (AXPFileListItem or legacy string) and returns AXPFileListItem with blob source.
576
428
  */
577
429
  private prepareFileForCopy;
578
430
  /**
@@ -1197,18 +1049,6 @@ declare class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent imple
1197
1049
  icon: string;
1198
1050
  };
1199
1051
  entities: {
1200
- documentRelated: {
1201
- name: string;
1202
- title: string;
1203
- titlePlural: string;
1204
- icon: string;
1205
- };
1206
- review: {
1207
- name: string;
1208
- title: string;
1209
- titlePlural: string;
1210
- icon: string;
1211
- };
1212
1052
  folder: {
1213
1053
  name: string;
1214
1054
  title: string;
@@ -1227,24 +1067,6 @@ declare class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent imple
1227
1067
  titlePlural: string;
1228
1068
  icon: string;
1229
1069
  };
1230
- documentTypeMetaDefinition: {
1231
- name: string;
1232
- title: string;
1233
- titlePlural: string;
1234
- icon: string;
1235
- };
1236
- documentTypeMetaValue: {
1237
- name: string;
1238
- title: string;
1239
- titlePlural: string;
1240
- icon: string;
1241
- };
1242
- documentTypeStatus: {
1243
- name: string;
1244
- title: string;
1245
- titlePlural: string;
1246
- icon: string;
1247
- };
1248
1070
  };
1249
1071
  };
1250
1072
  protected readonly deviceService: AXPDeviceService;
@@ -1774,13 +1596,6 @@ declare const AXMPermissionsKeys: {
1774
1596
  Delete: string;
1775
1597
  Create: string;
1776
1598
  };
1777
- Review: {
1778
- Management: string;
1779
- View: string;
1780
- Edit: string;
1781
- Delete: string;
1782
- Create: string;
1783
- };
1784
1599
  };
1785
1600
  };
1786
1601
 
@@ -1794,5 +1609,5 @@ declare class AXMSettingProvider implements AXPSettingDefinitionProvider {
1794
1609
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMSettingProvider>;
1795
1610
  }
1796
1611
 
1797
- export { AXMArchiveFileTypeProvider, AXMAudioFileTypeProvider, AXMCodeFileTypeProvider, AXMDocumentDriveComponent, AXMDocumentExplorerComponent, AXMDocumentFileTypeProvider, AXMDocumentManagementDocumentEntityModule, AXMDocumentManagementDocumentTypeEntityModule, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, AXMDocumentManagementDocumentTypeMetaDefinitionEntityService, AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl, AXMDocumentManagementDocumentTypeMetaValueEntityModule, AXMDocumentManagementDocumentTypeMetaValueEntityService, AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl, AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, AXMDocumentManagementDocumentTypeStatusDefinitionEntityService, AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl, AXMDocumentManagementModule, AXMDocumentManagerService, AXMDocumentReletedEntityModule, AXMDocumentService, AXMDocumentServiceImpl, AXMDocumentTypeService, AXMDocumentTypeServiceImpl, AXMEntityProvider, AXMFileGalleryPopupComponent, AXMFileTypeExtensionWidgetColumnComponent, AXMFileTypeExtensionWidgetDesignerComponent, AXMFileTypeExtensionWidgetEditComponent, AXMFileTypeExtensionWidgetViewComponent, AXMFileTypeModule, AXMFolderEntityModule, AXMFolderPathBreadcrumbsComponent, AXMFolderService, AXMFolderServiceImpl, AXMImageFileTypeProvider, AXMMenuProvider, AXMPermissionsKeys, AXMReviewEntityModule, AXMReviewService, AXMReviewServiceImpl, AXMSearchCommandProvider, AXMSettingProvider, AXMVideoFileTypeProvider, AXPDocumentExplorerSettings, AXPDocumentExplorerViewModel, AXPDocumentManagementFeatureKeys, AXPDocumentManagementMenuKeys, AXPDocumentManagementService, AXmFileTypeExtensionWidget, RootConfig, ScopedDriveService, canTransition, documentFactory, documentRelatedFactory, documentTypeFactory, documentTypeMetaDefinitionfactory, documentTypeMetaValueFactory, documentTypeStatusDefinitionFactory, folderFactory, getNextStatus, reviewFactory };
1798
- export type { AXMDocumentExplorerBrowseMode, AXMDocumentExplorerNode, AXMDocumentInheritanceType, AXMDocumentManagementDocumentEntityModel, AXMDocumentManagementDocumentTypeEntityModel, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModel, AXMDocumentManagementDocumentTypeMetaValueEntityModel, AXMDocumentManagementDocumentTypeStatusDefinitionEntityModel, AXMDocumentManagementFolderCreateDto, AXMDocumentManagementFolderEntityModel, AXMDocumentManagementFolderGetDto, AXMDocumentManagementReviewEntityModel, AXMDocumentManagerServiceInterface, AXMDocumentMeta, AXMDocumentSelectionMode, AXMDocumentWorkflowPhase, AXMNodeType, AXPDocumentExplorerViewMode, CreateFileDto, CreateFolderDto, DocumentTypeFileOutput, UpdateFileDto, UpdateFolderDto };
1612
+ export { AXMArchiveFileTypeProvider, AXMAudioFileTypeProvider, AXMCodeFileTypeProvider, AXMDocumentDriveComponent, AXMDocumentExplorerComponent, AXMDocumentFileTypeProvider, AXMDocumentManagementDocumentTypeEntityModule, AXMDocumentManagementModule, AXMDocumentManagerService, AXMDocumentService, AXMDocumentServiceImpl, AXMDocumentTypeService, AXMDocumentTypeServiceImpl, AXMEntityProvider, AXMFileGalleryPopupComponent, AXMFileTypeExtensionWidgetColumnComponent, AXMFileTypeExtensionWidgetDesignerComponent, AXMFileTypeExtensionWidgetEditComponent, AXMFileTypeExtensionWidgetViewComponent, AXMFileTypeModule, AXMFolderPathBreadcrumbsComponent, AXMFolderService, AXMFolderServiceImpl, AXMImageFileTypeProvider, AXMMenuProvider, AXMPermissionsKeys, AXMSearchCommandProvider, AXMSettingProvider, AXMVideoFileTypeProvider, AXPDocumentExplorerSettings, AXPDocumentExplorerViewModel, AXPDocumentManagementFeatureKeys, AXPDocumentManagementMenuKeys, AXPDocumentManagementService, AXmFileTypeExtensionWidget, RootConfig, ScopedDriveService, documentEntityFactory, documentTypeFactory, folderEntityFactory };
1613
+ export type { AXMDocumentDocDto, AXMDocumentDto, AXMDocumentExplorerBrowseMode, AXMDocumentExplorerNode, AXMDocumentInheritanceType, AXMDocumentManagementDocumentTypeEntityModel, AXMDocumentManagementFolderCreateDto, AXMDocumentManagementFolderEntityModel, AXMDocumentManagementFolderGetDto, AXMDocumentManagerServiceInterface, AXMDocumentSelectionMode, AXMNodeType, AXPDocumentExplorerViewMode, CreateFileDto, CreateFolderDto, DocumentTypeFileOutput, UpdateFileDto, UpdateFolderDto };