@acorex/modules 21.0.0-next.16 → 21.0.0-next.17
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/data-management/index.d.ts +153 -9
- package/document-management/index.d.ts +167 -374
- package/fesm2022/acorex-modules-common.mjs +11 -3
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +15 -4
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +1877 -1648
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs → acorex-modules-document-management-drive-choose.component-BOeZ9mpL.mjs} +3 -7
- package/fesm2022/acorex-modules-document-management-drive-choose.component-BOeZ9mpL.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management.mjs +655 -2995
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-BDSyXKSF.mjs → acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs} +2 -2
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +350 -695
- package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-CuP9U1h8.mjs → acorex-modules-task-management-task-board.page-BOOY3qla.mjs} +47 -54
- package/fesm2022/acorex-modules-task-management-task-board.page-BOOY3qla.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +39 -11
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-BbBEPTBa.mjs +258 -0
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-BbBEPTBa.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-nJMBL0qt.mjs +371 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-nJMBL0qt.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Pso0oRN5.mjs +313 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Pso0oRN5.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +710 -2536
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/human-capital-management/index.d.ts +19 -79
- package/package.json +2 -2
- package/task-management/index.d.ts +12 -1
- package/workflow-management/index.d.ts +220 -265
- package/fesm2022/acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-yGvT9kSL.mjs +0 -381
- package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-yGvT9kSL.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-BDSyXKSF.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-CuP9U1h8.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-cartable-page.component-Bso0XRkJ.mjs +0 -296
- package/fesm2022/acorex-modules-workflow-management-cartable-page.component-Bso0XRkJ.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-index-xB36g4F1.mjs +0 -469
- package/fesm2022/acorex-modules-workflow-management-index-xB36g4F1.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXPEntityCommandScope, createQueryView, AXPRefreshEvent, AXPSettingsService, createAllQueryView, AXPEntityQueryType, AXPVersioningService, AXPSearchService, AXPLockService, AXPStatusDefinitionProviderService, AXPStatusProvider, AXPSystemStatuses, AXPSystemStatusType,
|
|
1
|
+
import { AXPEntityCommandScope, createQueryView, AXPRefreshEvent, AXPSettingsService, AXPCommonSettings, createAllQueryView, AXPEntityQueryType, AXPVersioningService, AXPSearchService, AXPLockService, AXPStatusDefinitionProviderService, AXPStatusProvider, AXPSystemStatuses, AXPSystemStatusType, AXPHomePageService, ALL_DEFAULT_OPERATORS, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_STATUS_PROVIDERS } from '@acorex/platform/common';
|
|
2
2
|
import * as i1$5 from '@acorex/platform/core';
|
|
3
3
|
import { AXPExpressionEvaluatorService, getSmart, AXPComponentSlotModule, AXPPlatformScope, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXPBroadcastEventService, AXP_MODULE_MANIFEST_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER } from '@acorex/platform/core';
|
|
4
4
|
import { AXPWidgetsModule } from '@acorex/platform/layout/widgets';
|
|
@@ -1740,7 +1740,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
1740
1740
|
const categoryPlugin = {
|
|
1741
1741
|
name: 'category',
|
|
1742
1742
|
order: 45,
|
|
1743
|
-
apply: (ctx, options) => {
|
|
1743
|
+
apply: async (ctx, options) => {
|
|
1744
1744
|
const moduleName = ctx.entity.module;
|
|
1745
1745
|
const baseEntityName = ctx.entity.name;
|
|
1746
1746
|
const defaultCategoryEntityName = `${baseEntityName}Category`;
|
|
@@ -1757,7 +1757,15 @@ const categoryPlugin = {
|
|
|
1757
1757
|
if (!groups.some((g) => g.id === groupId)) {
|
|
1758
1758
|
ctx.groups.add({ id: groupId, title: '@general:terms.interface.classification' });
|
|
1759
1759
|
}
|
|
1760
|
-
|
|
1760
|
+
const settings = inject(AXPSettingsService);
|
|
1761
|
+
const showCategoryColumnsByDefault = (await settings.get(AXPCommonSettings.ShowCategoryColumnsByDefault)) !== false;
|
|
1762
|
+
ctx.columns.add({
|
|
1763
|
+
name: propertyName,
|
|
1764
|
+
options: {
|
|
1765
|
+
dataPath: 'categories',
|
|
1766
|
+
visible: showCategoryColumnsByDefault,
|
|
1767
|
+
},
|
|
1768
|
+
});
|
|
1761
1769
|
// Ensure property exists
|
|
1762
1770
|
const props = ctx.properties.list();
|
|
1763
1771
|
if (!props.some((p) => p.name === propertyName)) {
|