@acorex/modules 20.6.0-next.1 → 20.6.0-next.3
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.
- package/common/index.d.ts +85 -3
- package/fesm2022/acorex-modules-common.mjs +1 -1
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-content-management-acorex-modules-content-management-DUEmt_c7.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-D6A8nh4E.mjs → acorex-modules-document-management-acorex-modules-document-management-Cx45oj-N.mjs} +77 -72
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-D6A8nh4E.mjs.map → acorex-modules-document-management-acorex-modules-document-management-Cx45oj-N.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-RnnszRLs.mjs → acorex-modules-document-management-attachment-widget.component-D-f5Ml7b.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-RnnszRLs.mjs.map → acorex-modules-document-management-attachment-widget.component-D-f5Ml7b.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-Cos2NG-O.mjs → acorex-modules-document-management-details-view.component-BQmpQhlZ.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-Cos2NG-O.mjs.map → acorex-modules-document-management-details-view.component-BQmpQhlZ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-CuYgvv2m.mjs → acorex-modules-document-management-document-signature-popup.component-Dz1uKKIr.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-CuYgvv2m.mjs.map → acorex-modules-document-management-document-signature-popup.component-Dz1uKKIr.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-Cmc5lK1T.mjs → acorex-modules-document-management-drive-choose.component-Bh245lBa.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-Cmc5lK1T.mjs.map → acorex-modules-document-management-drive-choose.component-Bh245lBa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-NubvqosJ.mjs → acorex-modules-document-management-drive.component-BrSRKQ23.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive.component-NubvqosJ.mjs.map → acorex-modules-document-management-drive.component-BrSRKQ23.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-3EMonsWT.mjs → acorex-modules-document-management-large-icons-view.component-C1FegGr_.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-3EMonsWT.mjs.map → acorex-modules-document-management-large-icons-view.component-C1FegGr_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Chnjms53.mjs → acorex-modules-document-management-large-tiles-view.component-r-zzDobG.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Chnjms53.mjs.map → acorex-modules-document-management-large-tiles-view.component-r-zzDobG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-CITeGX_Y.mjs → acorex-modules-document-management-list-view.component-GuPa6IEy.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-CITeGX_Y.mjs.map → acorex-modules-document-management-list-view.component-GuPa6IEy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-bUtjrzBL.mjs → acorex-modules-document-management-permission-definition.provider-yjgChROd.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-bUtjrzBL.mjs.map → acorex-modules-document-management-permission-definition.provider-yjgChROd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-DLW4iBWa.mjs → acorex-modules-document-management-small-icons-view.component-CF5IIGwk.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-DLW4iBWa.mjs.map → acorex-modules-document-management-small-icons-view.component-CF5IIGwk.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-CUrf4NNl.mjs → acorex-modules-document-management-small-tiles-view.component-DqXs1Z9m.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-CUrf4NNl.mjs.map → acorex-modules-document-management-small-tiles-view.component-DqXs1Z9m.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/acorex-modules-workflow-management.mjs +591 -11
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/package.json +2 -2
- package/workflow-management/index.d.ts +148 -6
package/common/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injector, OnInit, Type, InjectionToken } from '@angular/core';
|
|
3
|
-
import { AXPAppStartUpService } from '@acorex/platform/core';
|
|
3
|
+
import { AXPAppStartUpService, AXPStatusProvider, AXPStatusDefinition, AXPStatusTransition, AXPSystemStatusType } from '@acorex/platform/core';
|
|
4
4
|
import * as i1 from '@acorex/platform/layout/components';
|
|
5
5
|
import { AXPCompareViewInputs, AXPCompareViewMode } from '@acorex/platform/layout/components';
|
|
6
6
|
import * as i1$1 from '@acorex/platform/workflow';
|
|
@@ -307,5 +307,87 @@ declare const AXMUnlockConfirmWorkflow: AXPWorkflow;
|
|
|
307
307
|
|
|
308
308
|
declare const disablePlugin: AXPEntityActionPlugin;
|
|
309
309
|
|
|
310
|
-
|
|
311
|
-
|
|
310
|
+
declare const statusPlugin: AXPEntityActionPlugin;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Comprehensive status management types and predefined statuses
|
|
314
|
+
* This file contains all standard statuses with their transitions and metadata
|
|
315
|
+
*/
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Status configuration for entity status plugin
|
|
319
|
+
*/
|
|
320
|
+
interface AXPStatusConfig {
|
|
321
|
+
/**
|
|
322
|
+
* Field name for status in entity
|
|
323
|
+
*/
|
|
324
|
+
field: string;
|
|
325
|
+
/**
|
|
326
|
+
* Status definition key (from provider) or direct provider data
|
|
327
|
+
*/
|
|
328
|
+
definition?: string | Pick<AXPStatusProvider, 'statuses' | 'transitions' | 'defaultStatus'>;
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* Get status definition by name from provider
|
|
332
|
+
*/
|
|
333
|
+
declare function getStatusByName(statusName: string, provider: AXPStatusProvider): AXPStatusDefinition | undefined;
|
|
334
|
+
/**
|
|
335
|
+
* Get all possible transitions from a status
|
|
336
|
+
*/
|
|
337
|
+
declare function getTransitionsFromStatus(fromStatus: string, provider: AXPStatusProvider): AXPStatusTransition[];
|
|
338
|
+
/**
|
|
339
|
+
* Get all possible transitions to a status
|
|
340
|
+
*/
|
|
341
|
+
declare function getTransitionsToStatus(toStatus: string, provider: AXPStatusProvider): AXPStatusTransition[];
|
|
342
|
+
/**
|
|
343
|
+
* Check if a transition is valid
|
|
344
|
+
*/
|
|
345
|
+
declare function isValidTransition(fromStatus: string, toStatus: string, provider: AXPStatusProvider): boolean;
|
|
346
|
+
/**
|
|
347
|
+
* Get initial statuses
|
|
348
|
+
*/
|
|
349
|
+
declare function getInitialStatuses(provider: AXPStatusProvider): AXPStatusDefinition[];
|
|
350
|
+
/**
|
|
351
|
+
* Get final statuses
|
|
352
|
+
*/
|
|
353
|
+
declare function getFinalStatuses(provider: AXPStatusProvider): AXPStatusDefinition[];
|
|
354
|
+
/**
|
|
355
|
+
* Get active statuses
|
|
356
|
+
*/
|
|
357
|
+
declare function getActiveStatuses(provider: AXPStatusProvider): AXPStatusDefinition[];
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Task status provider for task management workflows
|
|
361
|
+
* Provides statuses: Todo, InProgress, InReview, Blocked, Done, Cancelled
|
|
362
|
+
*/
|
|
363
|
+
declare class TaskStatusProvider extends AXPStatusProvider {
|
|
364
|
+
readonly key = "common.status.task";
|
|
365
|
+
readonly statuses: AXPStatusDefinition[];
|
|
366
|
+
readonly transitions: AXPStatusTransition[];
|
|
367
|
+
readonly defaultStatus = AXPSystemStatusType.Todo;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Approval status provider for content approval workflows
|
|
372
|
+
* Provides statuses: Draft, PendingReview, Approved, Published, Archived, Rejected
|
|
373
|
+
*/
|
|
374
|
+
declare class ApprovalStatusProvider extends AXPStatusProvider {
|
|
375
|
+
readonly key = "common.status.approval";
|
|
376
|
+
readonly statuses: AXPStatusDefinition[];
|
|
377
|
+
readonly transitions: AXPStatusTransition[];
|
|
378
|
+
readonly defaultStatus = AXPSystemStatusType.Draft;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* State status provider for entity state management
|
|
383
|
+
* Provides statuses: Active, Inactive, Pending, Completed, Suspended, Failed
|
|
384
|
+
*/
|
|
385
|
+
declare class StateStatusProvider extends AXPStatusProvider {
|
|
386
|
+
readonly key = "common.status.state";
|
|
387
|
+
readonly statuses: AXPStatusDefinition[];
|
|
388
|
+
readonly transitions: AXPStatusTransition[];
|
|
389
|
+
readonly defaultStatus = AXPSystemStatusType.Pending;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export { AXMCommonModule, AXMLockPopupWorkflow, AXMLockPopupWorkflowAction, AXMMenuProvider, AXMSearchCommandProvider, AXMSettingProvider, AXMUnlockConfirmWorkflow, AXMUnlockConfirmWorkflowAction, AXPDisablePluginModule, AXPGlobalSearchModule, AXPGlobalSearchViewModel, AXPStatusPluginModule, AXPVersionHistoryModule, AXPWidgetsList, AXP_GLOBAL_SEARCH_CONFIG_TOKEN, ApprovalStatusProvider, RootConfig, StateStatusProvider, TaskStatusProvider, disablePlugin, getActiveStatuses, getFinalStatuses, getInitialStatuses, getStatusByName, getTransitionsFromStatus, getTransitionsToStatus, isValidTransition, statusPlugin };
|
|
393
|
+
export type { AXPGlobalSearchConfigs, AXPStatusConfig };
|
|
@@ -5605,5 +5605,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
|
|
|
5605
5605
|
* Generated bundle index. Do not edit.
|
|
5606
5606
|
*/
|
|
5607
5607
|
|
|
5608
|
-
export { AXMCommonModule, AXMLockPopupWorkflow, AXMLockPopupWorkflowAction, AXMMenuProvider, AXMSearchCommandProvider, AXMSettingProvider, AXMUnlockConfirmWorkflow, AXMUnlockConfirmWorkflowAction, AXPDisablePluginModule, AXPGlobalSearchModule, AXPGlobalSearchViewModel, AXPVersionHistoryModule, AXPWidgetsList, AXP_GLOBAL_SEARCH_CONFIG_TOKEN, RootConfig, disablePlugin };
|
|
5608
|
+
export { AXMCommonModule, AXMLockPopupWorkflow, AXMLockPopupWorkflowAction, AXMMenuProvider, AXMSearchCommandProvider, AXMSettingProvider, AXMUnlockConfirmWorkflow, AXMUnlockConfirmWorkflowAction, AXPDisablePluginModule, AXPGlobalSearchModule, AXPGlobalSearchViewModel, AXPStatusPluginModule, AXPVersionHistoryModule, AXPWidgetsList, AXP_GLOBAL_SEARCH_CONFIG_TOKEN, ApprovalStatusProvider, RootConfig, StateStatusProvider, TaskStatusProvider, disablePlugin, getActiveStatuses, getFinalStatuses, getInitialStatuses, getStatusByName, getTransitionsFromStatus, getTransitionsToStatus, isValidTransition, statusPlugin };
|
|
5609
5609
|
//# sourceMappingURL=acorex-modules-common.mjs.map
|