@acorex-platform/module-rule-engine-management-client 0.0.30 → 0.0.33

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 (36) hide show
  1. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entities-decision-table.mjs +162 -0
  2. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entities-decision-table.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-definition.mjs +167 -0
  4. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-definition.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-evaluation-run.mjs +166 -0
  6. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-evaluation-run.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-set-version.mjs +164 -0
  8. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-set-version.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-set.mjs +179 -0
  10. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-set.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-DTAe_E9Y.mjs +77 -0
  12. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-DTAe_E9Y.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-decision-table.entity-CEUy_Ynp.mjs +23 -0
  14. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-decision-table.entity-CEUy_Ynp.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-entity-factory.util-F9RWQOLM.mjs +89 -0
  16. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-entity-factory.util-F9RWQOLM.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-rule-definition.entity-mOluqI_4.mjs +28 -0
  18. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-rule-definition.entity-mOluqI_4.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-rule-evaluation-run.entity-lnOwB2B5.mjs +27 -0
  20. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-rule-evaluation-run.entity-lnOwB2B5.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-rule-set-version.entity-BIJ9oUhD.mjs +25 -0
  22. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-rule-set-version.entity-BIJ9oUhD.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-rule-set.entity-BSBDdK0J.mjs +40 -0
  24. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-rule-set.entity-BSBDdK0J.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog.mjs +2 -0
  26. package/fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-rule-engine-management-client-local-entities.mjs +33 -0
  28. package/fesm2022/acorex-platform-module-rule-engine-management-client-local-entities.mjs.map +1 -0
  29. package/package.json +29 -1
  30. package/types/acorex-platform-module-rule-engine-management-client-contracts-entities-decision-table.d.ts +5 -0
  31. package/types/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-definition.d.ts +5 -0
  32. package/types/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-evaluation-run.d.ts +5 -0
  33. package/types/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-set-version.d.ts +5 -0
  34. package/types/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-set.d.ts +5 -0
  35. package/types/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog.d.ts +10 -0
  36. package/types/acorex-platform-module-rule-engine-management-client-local-entities.d.ts +12 -0
@@ -0,0 +1,28 @@
1
+ import { R as RootConfig } from './acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-DTAe_E9Y.mjs';
2
+ import { c as createSimpleCrudEntity } from './acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-entity-factory.util-F9RWQOLM.mjs';
3
+
4
+ async function factoryRuleDefinition() {
5
+ return createSimpleCrudEntity({
6
+ module: RootConfig.module.name,
7
+ name: RootConfig.entities.ruleDefinition.name,
8
+ title: RootConfig.entities.ruleDefinition.title,
9
+ titlePlural: RootConfig.entities.ruleDefinition.titlePlural,
10
+ icon: RootConfig.entities.ruleDefinition.icon,
11
+ i18nPrefix: '@rule-engine-management:rules.entities.rule-definition',
12
+ fields: [
13
+ { name: 'ruleSetId', titleKey: 'rule-set-id', required: true },
14
+ { name: 'name', titleKey: 'name', required: true },
15
+ { name: 'enabled', titleKey: 'enabled', dataType: 'boolean' },
16
+ { name: 'priority', titleKey: 'priority', dataType: 'number' },
17
+ { name: 'salience', titleKey: 'salience', dataType: 'number' },
18
+ { name: 'activationGroup', titleKey: 'activation-group' },
19
+ { name: 'severity', titleKey: 'severity' },
20
+ { name: 'whenJson', titleKey: 'when-json', largeText: true, required: true },
21
+ { name: 'thenJson', titleKey: 'then-json', largeText: true, required: true },
22
+ ],
23
+ columns: ['name', 'ruleSetId', 'severity', 'priority', 'enabled'],
24
+ });
25
+ }
26
+
27
+ export { factoryRuleDefinition };
28
+ //# sourceMappingURL=acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-rule-definition.entity-mOluqI_4.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-rule-definition.entity-mOluqI_4.mjs","sources":["../../../../libs/modules/rule-engine-management/contracts/src/entities/rule-definition/rule-definition.entity.ts"],"sourcesContent":["import { AXPEntity } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\nimport { createSimpleCrudEntity } from '../entity-factory.util';\n\nexport async function factoryRuleDefinition(): Promise<AXPEntity | null> {\n return createSimpleCrudEntity({\n module: RootConfig.module.name,\n name: RootConfig.entities.ruleDefinition.name,\n title: RootConfig.entities.ruleDefinition.title,\n titlePlural: RootConfig.entities.ruleDefinition.titlePlural,\n icon: RootConfig.entities.ruleDefinition.icon,\n i18nPrefix: '@rule-engine-management:rules.entities.rule-definition',\n fields: [\n { name: 'ruleSetId', titleKey: 'rule-set-id', required: true },\n { name: 'name', titleKey: 'name', required: true },\n { name: 'enabled', titleKey: 'enabled', dataType: 'boolean' },\n { name: 'priority', titleKey: 'priority', dataType: 'number' },\n { name: 'salience', titleKey: 'salience', dataType: 'number' },\n { name: 'activationGroup', titleKey: 'activation-group' },\n { name: 'severity', titleKey: 'severity' },\n { name: 'whenJson', titleKey: 'when-json', largeText: true, required: true },\n { name: 'thenJson', titleKey: 'then-json', largeText: true, required: true },\n ],\n columns: ['name', 'ruleSetId', 'severity', 'priority', 'enabled'],\n });\n}\n"],"names":[],"mappings":";;;AAIO,eAAe,qBAAqB,GAAA;AACzC,IAAA,OAAO,sBAAsB,CAAC;AAC5B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI;AAC7C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,KAAK;AAC/C,QAAA,WAAW,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,WAAW;AAC3D,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI;AAC7C,QAAA,UAAU,EAAE,wDAAwD;AACpE,QAAA,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC9D,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;YAClD,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE;YAC7D,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE;YAC9D,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE;AAC9D,YAAA,EAAE,IAAI,EAAE,iBAAiB,EAAE,QAAQ,EAAE,kBAAkB,EAAE;AACzD,YAAA,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE;AAC1C,YAAA,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;AAC5E,YAAA,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;AAC7E,SAAA;QACD,OAAO,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC;AAClE,KAAA,CAAC;AACJ;;;;"}
@@ -0,0 +1,27 @@
1
+ import { R as RootConfig } from './acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-DTAe_E9Y.mjs';
2
+ import { c as createSimpleCrudEntity } from './acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-entity-factory.util-F9RWQOLM.mjs';
3
+
4
+ async function factoryRuleEvaluationRun() {
5
+ return createSimpleCrudEntity({
6
+ module: RootConfig.module.name,
7
+ name: RootConfig.entities.ruleEvaluationRun.name,
8
+ title: RootConfig.entities.ruleEvaluationRun.title,
9
+ titlePlural: RootConfig.entities.ruleEvaluationRun.titlePlural,
10
+ icon: RootConfig.entities.ruleEvaluationRun.icon,
11
+ i18nPrefix: '@rule-engine-management:runs.entities.rule-evaluation-run',
12
+ fields: [
13
+ { name: 'ruleSetId', titleKey: 'rule-set-id', required: true },
14
+ { name: 'ruleSetVersion', titleKey: 'rule-set-version' },
15
+ { name: 'mode', titleKey: 'mode' },
16
+ { name: 'passed', titleKey: 'passed', dataType: 'boolean' },
17
+ { name: 'durationMs', titleKey: 'duration-ms', dataType: 'number' },
18
+ { name: 'factsJson', titleKey: 'facts-json', largeText: true },
19
+ { name: 'resultJson', titleKey: 'result-json', largeText: true },
20
+ { name: 'correlationId', titleKey: 'correlation-id' },
21
+ ],
22
+ columns: ['ruleSetId', 'ruleSetVersion', 'mode', 'passed', 'durationMs'],
23
+ });
24
+ }
25
+
26
+ export { factoryRuleEvaluationRun };
27
+ //# sourceMappingURL=acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-rule-evaluation-run.entity-lnOwB2B5.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-rule-evaluation-run.entity-lnOwB2B5.mjs","sources":["../../../../libs/modules/rule-engine-management/contracts/src/entities/rule-evaluation-run/rule-evaluation-run.entity.ts"],"sourcesContent":["import { AXPEntity } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\nimport { createSimpleCrudEntity } from '../entity-factory.util';\n\nexport async function factoryRuleEvaluationRun(): Promise<AXPEntity | null> {\n return createSimpleCrudEntity({\n module: RootConfig.module.name,\n name: RootConfig.entities.ruleEvaluationRun.name,\n title: RootConfig.entities.ruleEvaluationRun.title,\n titlePlural: RootConfig.entities.ruleEvaluationRun.titlePlural,\n icon: RootConfig.entities.ruleEvaluationRun.icon,\n i18nPrefix: '@rule-engine-management:runs.entities.rule-evaluation-run',\n fields: [\n { name: 'ruleSetId', titleKey: 'rule-set-id', required: true },\n { name: 'ruleSetVersion', titleKey: 'rule-set-version' },\n { name: 'mode', titleKey: 'mode' },\n { name: 'passed', titleKey: 'passed', dataType: 'boolean' },\n { name: 'durationMs', titleKey: 'duration-ms', dataType: 'number' },\n { name: 'factsJson', titleKey: 'facts-json', largeText: true },\n { name: 'resultJson', titleKey: 'result-json', largeText: true },\n { name: 'correlationId', titleKey: 'correlation-id' },\n ],\n columns: ['ruleSetId', 'ruleSetVersion', 'mode', 'passed', 'durationMs'],\n });\n}\n"],"names":[],"mappings":";;;AAIO,eAAe,wBAAwB,GAAA;AAC5C,IAAA,OAAO,sBAAsB,CAAC;AAC5B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,IAAI;AAChD,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,KAAK;AAClD,QAAA,WAAW,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,WAAW;AAC9D,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,IAAI;AAChD,QAAA,UAAU,EAAE,2DAA2D;AACvE,QAAA,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE;AAC9D,YAAA,EAAE,IAAI,EAAE,gBAAgB,EAAE,QAAQ,EAAE,kBAAkB,EAAE;AACxD,YAAA,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE;YAClC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE;YAC3D,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE;YACnE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE;YAC9D,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,IAAI,EAAE;AAChE,YAAA,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,gBAAgB,EAAE;AACtD,SAAA;QACD,OAAO,EAAE,CAAC,WAAW,EAAE,gBAAgB,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,CAAC;AACzE,KAAA,CAAC;AACJ;;;;"}
@@ -0,0 +1,25 @@
1
+ import { R as RootConfig } from './acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-DTAe_E9Y.mjs';
2
+ import { c as createSimpleCrudEntity } from './acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-entity-factory.util-F9RWQOLM.mjs';
3
+
4
+ async function factoryRuleSetVersion() {
5
+ return createSimpleCrudEntity({
6
+ module: RootConfig.module.name,
7
+ name: RootConfig.entities.ruleSetVersion.name,
8
+ title: RootConfig.entities.ruleSetVersion.title,
9
+ titlePlural: RootConfig.entities.ruleSetVersion.titlePlural,
10
+ icon: RootConfig.entities.ruleSetVersion.icon,
11
+ i18nPrefix: '@rule-engine-management:versions.entities.rule-set-version',
12
+ fields: [
13
+ { name: 'ruleSetId', titleKey: 'rule-set-id', required: true },
14
+ { name: 'version', titleKey: 'version', required: true },
15
+ { name: 'status', titleKey: 'status', required: true },
16
+ { name: 'snapshotJson', titleKey: 'snapshot-json', largeText: true, required: true },
17
+ { name: 'publishedAt', titleKey: 'published-at' },
18
+ { name: 'publishedBy', titleKey: 'published-by' },
19
+ ],
20
+ columns: ['ruleSetId', 'version', 'status', 'publishedAt'],
21
+ });
22
+ }
23
+
24
+ export { factoryRuleSetVersion };
25
+ //# sourceMappingURL=acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-rule-set-version.entity-BIJ9oUhD.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-rule-set-version.entity-BIJ9oUhD.mjs","sources":["../../../../libs/modules/rule-engine-management/contracts/src/entities/rule-set-version/rule-set-version.entity.ts"],"sourcesContent":["import { AXPEntity } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\nimport { createSimpleCrudEntity } from '../entity-factory.util';\n\nexport async function factoryRuleSetVersion(): Promise<AXPEntity | null> {\n return createSimpleCrudEntity({\n module: RootConfig.module.name,\n name: RootConfig.entities.ruleSetVersion.name,\n title: RootConfig.entities.ruleSetVersion.title,\n titlePlural: RootConfig.entities.ruleSetVersion.titlePlural,\n icon: RootConfig.entities.ruleSetVersion.icon,\n i18nPrefix: '@rule-engine-management:versions.entities.rule-set-version',\n fields: [\n { name: 'ruleSetId', titleKey: 'rule-set-id', required: true },\n { name: 'version', titleKey: 'version', required: true },\n { name: 'status', titleKey: 'status', required: true },\n { name: 'snapshotJson', titleKey: 'snapshot-json', largeText: true, required: true },\n { name: 'publishedAt', titleKey: 'published-at' },\n { name: 'publishedBy', titleKey: 'published-by' },\n ],\n columns: ['ruleSetId', 'version', 'status', 'publishedAt'],\n });\n}\n"],"names":[],"mappings":";;;AAIO,eAAe,qBAAqB,GAAA;AACzC,IAAA,OAAO,sBAAsB,CAAC;AAC5B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI;AAC7C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,KAAK;AAC/C,QAAA,WAAW,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,WAAW;AAC3D,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI;AAC7C,QAAA,UAAU,EAAE,4DAA4D;AACxE,QAAA,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC9D,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE;YACxD,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;AACtD,YAAA,EAAE,IAAI,EAAE,cAAc,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;AACpF,YAAA,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,EAAE;AACjD,YAAA,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,EAAE;AAClD,SAAA;QACD,OAAO,EAAE,CAAC,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,CAAC;AAC3D,KAAA,CAAC;AACJ;;;;"}
@@ -0,0 +1,40 @@
1
+ import { R as RootConfig } from './acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-DTAe_E9Y.mjs';
2
+ import { c as createSimpleCrudEntity } from './acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-entity-factory.util-F9RWQOLM.mjs';
3
+
4
+ /** Registry key for RuleSet Simulate custom entity page (tab). */
5
+ const RULE_SET_SIMULATE_PAGE_COMPONENT_KEY = 'rule-set-simulate-page';
6
+
7
+ async function factoryRuleSet() {
8
+ return createSimpleCrudEntity({
9
+ module: RootConfig.module.name,
10
+ name: RootConfig.entities.ruleSet.name,
11
+ title: RootConfig.entities.ruleSet.title,
12
+ titlePlural: RootConfig.entities.ruleSet.titlePlural,
13
+ icon: RootConfig.entities.ruleSet.icon,
14
+ i18nPrefix: '@rule-engine-management:rule-sets.entities.rule-set',
15
+ fields: [
16
+ { name: 'name', titleKey: 'name', required: true },
17
+ { name: 'domain', titleKey: 'domain', required: true },
18
+ { name: 'version', titleKey: 'version', required: true },
19
+ { name: 'status', titleKey: 'status', required: true },
20
+ { name: 'title', titleKey: 'title' },
21
+ { name: 'description', titleKey: 'description', largeText: true },
22
+ { name: 'hitPolicyDefault', titleKey: 'hit-policy-default' },
23
+ { name: 'featureFlag', titleKey: 'feature-flag' },
24
+ { name: 'enabled', titleKey: 'enabled', dataType: 'boolean' },
25
+ ],
26
+ columns: ['name', 'domain', 'version', 'status', 'enabled'],
27
+ pages: [
28
+ {
29
+ componentKey: RULE_SET_SIMULATE_PAGE_COMPONENT_KEY,
30
+ title: '@rule-engine-management:rule-sets.entities.rule-set.pages.simulate.title',
31
+ icon: 'fa-light fa-flask',
32
+ layout: { order: 1, position: 'after' },
33
+ appearOn: { create: false, update: true },
34
+ },
35
+ ],
36
+ });
37
+ }
38
+
39
+ export { factoryRuleSet };
40
+ //# sourceMappingURL=acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-rule-set.entity-BSBDdK0J.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-rule-set.entity-BSBDdK0J.mjs","sources":["../../../../libs/modules/rule-engine-management/contracts/src/rule-set-simulate-page.component-key.ts","../../../../libs/modules/rule-engine-management/contracts/src/entities/rule-set/rule-set.entity.ts"],"sourcesContent":["/** Registry key for RuleSet Simulate custom entity page (tab). */\nexport const RULE_SET_SIMULATE_PAGE_COMPONENT_KEY = 'rule-set-simulate-page';\n","import { AXPEntity } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\nimport { RULE_SET_SIMULATE_PAGE_COMPONENT_KEY } from '../../rule-set-simulate-page.component-key';\nimport { createSimpleCrudEntity } from '../entity-factory.util';\n\nexport async function factoryRuleSet(): Promise<AXPEntity | null> {\n return createSimpleCrudEntity({\n module: RootConfig.module.name,\n name: RootConfig.entities.ruleSet.name,\n title: RootConfig.entities.ruleSet.title,\n titlePlural: RootConfig.entities.ruleSet.titlePlural,\n icon: RootConfig.entities.ruleSet.icon,\n i18nPrefix: '@rule-engine-management:rule-sets.entities.rule-set',\n fields: [\n { name: 'name', titleKey: 'name', required: true },\n { name: 'domain', titleKey: 'domain', required: true },\n { name: 'version', titleKey: 'version', required: true },\n { name: 'status', titleKey: 'status', required: true },\n { name: 'title', titleKey: 'title' },\n { name: 'description', titleKey: 'description', largeText: true },\n { name: 'hitPolicyDefault', titleKey: 'hit-policy-default' },\n { name: 'featureFlag', titleKey: 'feature-flag' },\n { name: 'enabled', titleKey: 'enabled', dataType: 'boolean' },\n ],\n columns: ['name', 'domain', 'version', 'status', 'enabled'],\n pages: [\n {\n componentKey: RULE_SET_SIMULATE_PAGE_COMPONENT_KEY,\n title: '@rule-engine-management:rule-sets.entities.rule-set.pages.simulate.title',\n icon: 'fa-light fa-flask',\n layout: { order: 1, position: 'after' },\n appearOn: { create: false, update: true },\n },\n ],\n });\n}\n"],"names":[],"mappings":";;;AAAA;AACO,MAAM,oCAAoC,GAAG,wBAAwB;;ACIrE,eAAe,cAAc,GAAA;AAClC,IAAA,OAAO,sBAAsB,CAAC;AAC5B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI;AACtC,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK;AACxC,QAAA,WAAW,EAAE,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW;AACpD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI;AACtC,QAAA,UAAU,EAAE,qDAAqD;AACjE,QAAA,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;YAClD,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;YACtD,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE;YACxD,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;AACtD,YAAA,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE;YACpC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,IAAI,EAAE;AACjE,YAAA,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,oBAAoB,EAAE;AAC5D,YAAA,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,EAAE;YACjD,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE;AAC9D,SAAA;QACD,OAAO,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,CAAC;AAC3D,QAAA,KAAK,EAAE;AACL,YAAA;AACE,gBAAA,YAAY,EAAE,oCAAoC;AAClD,gBAAA,KAAK,EAAE,0EAA0E;AACjF,gBAAA,IAAI,EAAE,mBAAmB;gBACzB,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE;gBACvC,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE;AAC1C,aAAA;AACF,SAAA;AACF,KAAA,CAAC;AACJ;;;;"}
@@ -0,0 +1,2 @@
1
+ export { r as ruleEngineManagementLocalEntityCatalog } from './acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-acorex-platform-module-rule-engine-management-client-contracts-entity-catalog-DTAe_E9Y.mjs';
2
+ //# sourceMappingURL=acorex-platform-module-rule-engine-management-client-contracts-entity-catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-rule-engine-management-client-contracts-entity-catalog.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,33 @@
1
+ import { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';
2
+ import { RootConfig } from '@acorex-platform/module-rule-engine-management-client/contracts';
3
+ export { ruleEngineManagementLocalEntityCatalog } from '@acorex-platform/module-rule-engine-management-client/contracts/entity-catalog';
4
+
5
+ //#region ----- Imports -----
6
+ //#endregion
7
+ //#region ----- Provide local entities -----
8
+ /**
9
+ * Registers rule-engine-management layouts on the client from packaged factories.
10
+ * Each `import()` targets a secondary entry so unused entities stay out of the
11
+ * bundle. Do not add this to the demo app; demo continues to load layouts via
12
+ * `Domain:GetEntityLayout`.
13
+ */
14
+ function provideRuleEngineManagementLocalEntities() {
15
+ return provideLocalEntityCatalog({
16
+ moduleName: RootConfig.module.name,
17
+ loaders: {
18
+ [RootConfig.entities.decisionTable.name]: () => import('@acorex-platform/module-rule-engine-management-client/contracts/entities/decision-table').then((m) => m.factoryDecisionTable()),
19
+ [RootConfig.entities.ruleDefinition.name]: () => import('@acorex-platform/module-rule-engine-management-client/contracts/entities/rule-definition').then((m) => m.factoryRuleDefinition()),
20
+ [RootConfig.entities.ruleEvaluationRun.name]: () => import('@acorex-platform/module-rule-engine-management-client/contracts/entities/rule-evaluation-run').then((m) => m.factoryRuleEvaluationRun()),
21
+ [RootConfig.entities.ruleSet.name]: () => import('@acorex-platform/module-rule-engine-management-client/contracts/entities/rule-set').then((m) => m.factoryRuleSet()),
22
+ [RootConfig.entities.ruleSetVersion.name]: () => import('@acorex-platform/module-rule-engine-management-client/contracts/entities/rule-set-version').then((m) => m.factoryRuleSetVersion()),
23
+ },
24
+ });
25
+ }
26
+ //#endregion
27
+
28
+ /**
29
+ * Generated bundle index. Do not edit.
30
+ */
31
+
32
+ export { provideRuleEngineManagementLocalEntities };
33
+ //# sourceMappingURL=acorex-platform-module-rule-engine-management-client-local-entities.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-rule-engine-management-client-local-entities.mjs","sources":["../../../../libs/modules/rule-engine-management/client/src/lib/provide-local-entities.ts","../../../../libs/modules/rule-engine-management/client/src/lib/acorex-platform-module-rule-engine-management-client-local-entities.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';\nimport { RootConfig } from '@acorex-platform/module-rule-engine-management-client/contracts';\n\n//#endregion\n\n//#region ----- Provide local entities -----\n\n/**\n * Registers rule-engine-management layouts on the client from packaged factories.\n * Each `import()` targets a secondary entry so unused entities stay out of the\n * bundle. Do not add this to the demo app; demo continues to load layouts via\n * `Domain:GetEntityLayout`.\n */\nexport function provideRuleEngineManagementLocalEntities() {\n return provideLocalEntityCatalog({\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.decisionTable.name]: () =>\n import('@acorex-platform/module-rule-engine-management-client/contracts/entities/decision-table').then((m) => m.factoryDecisionTable()),\n [RootConfig.entities.ruleDefinition.name]: () =>\n import('@acorex-platform/module-rule-engine-management-client/contracts/entities/rule-definition').then((m) => m.factoryRuleDefinition()),\n [RootConfig.entities.ruleEvaluationRun.name]: () =>\n import('@acorex-platform/module-rule-engine-management-client/contracts/entities/rule-evaluation-run').then((m) => m.factoryRuleEvaluationRun()),\n [RootConfig.entities.ruleSet.name]: () =>\n import('@acorex-platform/module-rule-engine-management-client/contracts/entities/rule-set').then((m) => m.factoryRuleSet()),\n [RootConfig.entities.ruleSetVersion.name]: () =>\n import('@acorex-platform/module-rule-engine-management-client/contracts/entities/rule-set-version').then((m) => m.factoryRuleSetVersion()),\n },\n });\n}\n\nexport { ruleEngineManagementLocalEntityCatalog } from '@acorex-platform/module-rule-engine-management-client/contracts/entity-catalog';\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './provide-local-entities';\n"],"names":[],"mappings":";;;;AAAA;AAKA;AAEA;AAEA;;;;;AAKG;SACa,wCAAwC,GAAA;AACtD,IAAA,OAAO,yBAAyB,CAAC;AAC/B,QAAA,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAClC,QAAA,OAAO,EAAE;AACP,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,GAAG,MACxC,OAAO,yFAAyF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,oBAAoB,EAAE,CAAC;AACzI,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,GAAG,MACzC,OAAO,0FAA0F,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,qBAAqB,EAAE,CAAC;AAC3I,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,IAAI,GAAG,MAC5C,OAAO,8FAA8F,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,wBAAwB,EAAE,CAAC;AAClJ,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,GAAG,MAClC,OAAO,mFAAmF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,cAAc,EAAE,CAAC;AAC7H,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,GAAG,MACzC,OAAO,2FAA2F,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,qBAAqB,EAAE,CAAC;AAC7I,SAAA;AACF,KAAA,CAAC;AACJ;AAIA;;ACnCA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex-platform/module-rule-engine-management-client",
3
- "version": "0.0.30",
3
+ "version": "0.0.33",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0 || ^22.0.0",
@@ -22,6 +22,34 @@
22
22
  "./contracts": {
23
23
  "types": "./types/acorex-platform-module-rule-engine-management-client-contracts.d.ts",
24
24
  "default": "./fesm2022/acorex-platform-module-rule-engine-management-client-contracts.mjs"
25
+ },
26
+ "./contracts/entities/decision-table": {
27
+ "types": "./types/acorex-platform-module-rule-engine-management-client-contracts-entities-decision-table.d.ts",
28
+ "default": "./fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entities-decision-table.mjs"
29
+ },
30
+ "./contracts/entities/rule-definition": {
31
+ "types": "./types/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-definition.d.ts",
32
+ "default": "./fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-definition.mjs"
33
+ },
34
+ "./contracts/entities/rule-evaluation-run": {
35
+ "types": "./types/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-evaluation-run.d.ts",
36
+ "default": "./fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-evaluation-run.mjs"
37
+ },
38
+ "./contracts/entities/rule-set": {
39
+ "types": "./types/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-set.d.ts",
40
+ "default": "./fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-set.mjs"
41
+ },
42
+ "./contracts/entities/rule-set-version": {
43
+ "types": "./types/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-set-version.d.ts",
44
+ "default": "./fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entities-rule-set-version.mjs"
45
+ },
46
+ "./contracts/entity-catalog": {
47
+ "types": "./types/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog.d.ts",
48
+ "default": "./fesm2022/acorex-platform-module-rule-engine-management-client-contracts-entity-catalog.mjs"
49
+ },
50
+ "./local-entities": {
51
+ "types": "./types/acorex-platform-module-rule-engine-management-client-local-entities.d.ts",
52
+ "default": "./fesm2022/acorex-platform-module-rule-engine-management-client-local-entities.mjs"
25
53
  }
26
54
  },
27
55
  "type": "module"
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryDecisionTable(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryDecisionTable };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryRuleDefinition(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryRuleDefinition };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryRuleEvaluationRun(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryRuleEvaluationRun };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryRuleSetVersion(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryRuleSetVersion };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryRuleSet(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryRuleSet };
@@ -0,0 +1,10 @@
1
+ import { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';
2
+
3
+ /**
4
+ * Lazy per-entity layout factories. Do not re-export from the contracts barrel
5
+ * so RootConfig imports stay light. Server seed and client `local-entities`
6
+ * consume this catalog explicitly.
7
+ */
8
+ declare const ruleEngineManagementLocalEntityCatalog: AXPLocalEntityCatalog;
9
+
10
+ export { ruleEngineManagementLocalEntityCatalog };
@@ -0,0 +1,12 @@
1
+ import * as _angular_core from '@angular/core';
2
+ export { ruleEngineManagementLocalEntityCatalog } from '@acorex-platform/module-rule-engine-management-client/contracts/entity-catalog';
3
+
4
+ /**
5
+ * Registers rule-engine-management layouts on the client from packaged factories.
6
+ * Each `import()` targets a secondary entry so unused entities stay out of the
7
+ * bundle. Do not add this to the demo app; demo continues to load layouts via
8
+ * `Domain:GetEntityLayout`.
9
+ */
10
+ declare function provideRuleEngineManagementLocalEntities(): _angular_core.EnvironmentProviders;
11
+
12
+ export { provideRuleEngineManagementLocalEntities };