@acorex/modules 21.0.0-next.16 → 21.0.0-next.18

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 (63) hide show
  1. package/data-management/index.d.ts +153 -9
  2. package/document-management/index.d.ts +167 -374
  3. package/fesm2022/acorex-modules-common.mjs +11 -3
  4. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  5. package/fesm2022/acorex-modules-content-management.mjs +15 -4
  6. package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
  7. package/fesm2022/acorex-modules-data-management.mjs +1877 -1648
  8. package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
  9. package/fesm2022/{acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs → acorex-modules-document-management-drive-choose.component-BOeZ9mpL.mjs} +3 -7
  10. package/fesm2022/acorex-modules-document-management-drive-choose.component-BOeZ9mpL.mjs.map +1 -0
  11. package/fesm2022/acorex-modules-document-management.mjs +655 -2995
  12. package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
  13. package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-BDSyXKSF.mjs → acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs} +2 -2
  14. package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs.map +1 -0
  15. package/fesm2022/acorex-modules-human-capital-management.mjs +350 -695
  16. package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
  17. package/fesm2022/acorex-modules-person-core-education-level.entity-BiXdPA-Z.mjs +120 -0
  18. package/fesm2022/acorex-modules-person-core-education-level.entity-BiXdPA-Z.mjs.map +1 -0
  19. package/fesm2022/acorex-modules-person-core-marital-status.entity-j6sMTtTS.mjs +120 -0
  20. package/fesm2022/acorex-modules-person-core-marital-status.entity-j6sMTtTS.mjs.map +1 -0
  21. package/fesm2022/acorex-modules-person-core-person-identifier-type.entity-BIFiRZ2d.mjs +191 -0
  22. package/fesm2022/acorex-modules-person-core-person-identifier-type.entity-BIFiRZ2d.mjs.map +1 -0
  23. package/fesm2022/acorex-modules-person-core-person-relationship-type.entity-2qysKjU5.mjs +119 -0
  24. package/fesm2022/acorex-modules-person-core-person-relationship-type.entity-2qysKjU5.mjs.map +1 -0
  25. package/fesm2022/acorex-modules-person-core.mjs +290 -0
  26. package/fesm2022/acorex-modules-person-core.mjs.map +1 -0
  27. package/fesm2022/{acorex-modules-person-management-person-identifier.entity-CI8u0Ro6.mjs → acorex-modules-person-management-person-identifier.entity-HBmiUahC.mjs} +4 -3
  28. package/fesm2022/acorex-modules-person-management-person-identifier.entity-HBmiUahC.mjs.map +1 -0
  29. package/fesm2022/{acorex-modules-person-management-person-relationship.entity-DK3mYVFv.mjs → acorex-modules-person-management-person-relationship.entity-DbcXasEe.mjs} +4 -3
  30. package/fesm2022/acorex-modules-person-management-person-relationship.entity-DbcXasEe.mjs.map +1 -0
  31. package/fesm2022/acorex-modules-person-management.mjs +11 -259
  32. package/fesm2022/acorex-modules-person-management.mjs.map +1 -1
  33. package/fesm2022/{acorex-modules-task-management-task-board.page-CuP9U1h8.mjs → acorex-modules-task-management-task-board.page-BOOY3qla.mjs} +47 -54
  34. package/fesm2022/acorex-modules-task-management-task-board.page-BOOY3qla.mjs.map +1 -0
  35. package/fesm2022/acorex-modules-task-management.mjs +39 -11
  36. package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
  37. package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-BbBEPTBa.mjs +258 -0
  38. package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-BbBEPTBa.mjs.map +1 -0
  39. package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-nJMBL0qt.mjs +371 -0
  40. package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-nJMBL0qt.mjs.map +1 -0
  41. package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Pso0oRN5.mjs +313 -0
  42. package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Pso0oRN5.mjs.map +1 -0
  43. package/fesm2022/acorex-modules-workflow-management.mjs +710 -2536
  44. package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
  45. package/human-capital-management/index.d.ts +19 -79
  46. package/package.json +14 -10
  47. package/person-core/index.d.ts +117 -0
  48. package/person-management/index.d.ts +1 -25
  49. package/task-management/index.d.ts +12 -1
  50. package/workflow-management/index.d.ts +220 -265
  51. package/fesm2022/acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs.map +0 -1
  52. package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-yGvT9kSL.mjs +0 -381
  53. package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-yGvT9kSL.mjs.map +0 -1
  54. package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-BDSyXKSF.mjs.map +0 -1
  55. package/fesm2022/acorex-modules-person-management-person-identifier-type.entity-VchCczk-.mjs +0 -498
  56. package/fesm2022/acorex-modules-person-management-person-identifier-type.entity-VchCczk-.mjs.map +0 -1
  57. package/fesm2022/acorex-modules-person-management-person-identifier.entity-CI8u0Ro6.mjs.map +0 -1
  58. package/fesm2022/acorex-modules-person-management-person-relationship.entity-DK3mYVFv.mjs.map +0 -1
  59. package/fesm2022/acorex-modules-task-management-task-board.page-CuP9U1h8.mjs.map +0 -1
  60. package/fesm2022/acorex-modules-workflow-management-cartable-page.component-Bso0XRkJ.mjs +0 -296
  61. package/fesm2022/acorex-modules-workflow-management-cartable-page.component-Bso0XRkJ.mjs.map +0 -1
  62. package/fesm2022/acorex-modules-workflow-management-index-xB36g4F1.mjs +0 -469
  63. 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, AXPCommonSettings, AXPHomePageService, ALL_DEFAULT_OPERATORS, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_STATUS_PROVIDERS } from '@acorex/platform/common';
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
- ctx.columns.add({ name: propertyName, options: { dataPath: 'categories' } });
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)) {