@acorex-platform/module-identifier-management-client 0.0.32 → 0.0.37
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/fesm2022/acorex-platform-module-identifier-management-client-contracts-entities-identifier-rule.mjs +171 -0
- package/fesm2022/acorex-platform-module-identifier-management-client-contracts-entities-identifier-rule.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-identifier-management-client-contracts-entity-catalog-acorex-platform-module-identifier-management-client-contracts-entity-catalog-DFRLWX48.mjs +45 -0
- package/fesm2022/acorex-platform-module-identifier-management-client-contracts-entity-catalog-acorex-platform-module-identifier-management-client-contracts-entity-catalog-DFRLWX48.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-identifier-management-client-contracts-entity-catalog-identifier-rule.entity-p_HLE3VC.mjs +145 -0
- package/fesm2022/acorex-platform-module-identifier-management-client-contracts-entity-catalog-identifier-rule.entity-p_HLE3VC.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-identifier-management-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-identifier-management-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-identifier-management-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-identifier-management-client-local-entities.mjs +29 -0
- package/fesm2022/acorex-platform-module-identifier-management-client-local-entities.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-identifier-management-client.mjs.map +1 -1
- package/package.json +13 -1
- package/types/acorex-platform-module-identifier-management-client-contracts-entities-identifier-rule.d.ts +5 -0
- package/types/acorex-platform-module-identifier-management-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-identifier-management-client-local-entities.d.ts +12 -0
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterDeleteAction } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
|
|
4
|
+
const config = {
|
|
5
|
+
i18n: 'identifier-management',
|
|
6
|
+
module: 'IdentifierManagement',
|
|
7
|
+
};
|
|
8
|
+
const RootConfig = {
|
|
9
|
+
config,
|
|
10
|
+
module: {
|
|
11
|
+
module: 'identifier-management',
|
|
12
|
+
name: config.module,
|
|
13
|
+
title: `@${config.i18n}:module.title`,
|
|
14
|
+
icon: 'fa-light fa-hashtag',
|
|
15
|
+
},
|
|
16
|
+
entities: {
|
|
17
|
+
identifierRule: {
|
|
18
|
+
name: 'IdentifierRule',
|
|
19
|
+
source: `${config.module}.IdentifierRule`,
|
|
20
|
+
title: `@${config.i18n}:entities.identifier-rule.title`,
|
|
21
|
+
titlePlural: `@${config.i18n}:entities.identifier-rule.plural`,
|
|
22
|
+
icon: 'fa-light fa-barcode',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
//#region ---- Identifier rule entity ----
|
|
28
|
+
async function identifierRuleFactory() {
|
|
29
|
+
const i18n = `${RootConfig.config.i18n}:entities.identifier-rule`;
|
|
30
|
+
const entityDef = {
|
|
31
|
+
module: RootConfig.module.name,
|
|
32
|
+
name: RootConfig.entities.identifierRule.name,
|
|
33
|
+
title: RootConfig.entities.identifierRule.title,
|
|
34
|
+
icon: RootConfig.entities.identifierRule.icon,
|
|
35
|
+
plugins: [
|
|
36
|
+
{ name: 'clone' },
|
|
37
|
+
{ name: 'disable' },
|
|
38
|
+
{
|
|
39
|
+
name: 'unique-fields',
|
|
40
|
+
options: { fields: 'name', scope: 'global' },
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
formats: {
|
|
44
|
+
individual: RootConfig.entities.identifierRule.title,
|
|
45
|
+
plural: RootConfig.entities.identifierRule.titlePlural,
|
|
46
|
+
searchResult: { title: '{{ title }}', description: '{{ entity }} · {{ pattern }}' },
|
|
47
|
+
},
|
|
48
|
+
groups: [
|
|
49
|
+
{ id: 'basic-info', title: `@${i18n}.groups.basic-info` },
|
|
50
|
+
{ id: 'pattern', title: `@${i18n}.groups.pattern` },
|
|
51
|
+
{ id: 'scope', title: `@${i18n}.groups.scope` },
|
|
52
|
+
],
|
|
53
|
+
properties: [
|
|
54
|
+
{
|
|
55
|
+
name: 'name',
|
|
56
|
+
title: '@general:terms.common.name',
|
|
57
|
+
groupId: 'basic-info',
|
|
58
|
+
schema: {
|
|
59
|
+
dataType: 'string',
|
|
60
|
+
readonly: '{{ !!context.eval("id") }}',
|
|
61
|
+
interface: { type: AXPWidgetsList.Editors.TextBox },
|
|
62
|
+
},
|
|
63
|
+
validations: [{ rule: 'required' }, { rule: 'variable-name' }],
|
|
64
|
+
options: {
|
|
65
|
+
sort: { enabled: true },
|
|
66
|
+
filter: { inline: { enabled: true }, advance: { enabled: true } },
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: 'title',
|
|
71
|
+
title: '@general:terms.common.title',
|
|
72
|
+
groupId: 'basic-info',
|
|
73
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
|
|
74
|
+
validations: [{ rule: 'required' }],
|
|
75
|
+
options: {
|
|
76
|
+
sort: { enabled: true },
|
|
77
|
+
filter: { inline: { enabled: true }, advance: { enabled: true } },
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: 'entity',
|
|
82
|
+
title: `@${i18n}.fields.entity.title`,
|
|
83
|
+
groupId: 'basic-info',
|
|
84
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
|
|
85
|
+
validations: [{ rule: 'required' }],
|
|
86
|
+
options: {
|
|
87
|
+
filter: { inline: { enabled: true }, advance: { enabled: true } },
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: 'pattern',
|
|
92
|
+
title: `@${i18n}.fields.pattern.title`,
|
|
93
|
+
groupId: 'pattern',
|
|
94
|
+
schema: {
|
|
95
|
+
dataType: 'string',
|
|
96
|
+
interface: {
|
|
97
|
+
type: AXPWidgetsList.Advanced.CodeEditor,
|
|
98
|
+
options: { language: 'plaintext', lineNumbers: true },
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
validations: [{ rule: 'required' }],
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
name: 'scopeConfig',
|
|
105
|
+
title: `@${i18n}.fields.scope-config.title`,
|
|
106
|
+
groupId: 'scope',
|
|
107
|
+
schema: {
|
|
108
|
+
dataType: 'object',
|
|
109
|
+
interface: {
|
|
110
|
+
type: AXPWidgetsList.Advanced.CodeEditor,
|
|
111
|
+
options: { language: 'json', lineNumbers: true, placeholder: '{}' },
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
columns: [{ name: 'name' }, { name: 'title' }, { name: 'entity' }, { name: 'pattern' }],
|
|
117
|
+
interfaces: {
|
|
118
|
+
master: {
|
|
119
|
+
create: {
|
|
120
|
+
sections: [{ id: 'basic-info' }, { id: 'pattern' }, { id: 'scope' }],
|
|
121
|
+
properties: [
|
|
122
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
123
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
124
|
+
{ name: 'entity', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
125
|
+
{ name: 'pattern', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
126
|
+
{ name: 'scopeConfig', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
127
|
+
],
|
|
128
|
+
},
|
|
129
|
+
update: {
|
|
130
|
+
sections: [{ id: 'basic-info' }, { id: 'pattern' }, { id: 'scope' }],
|
|
131
|
+
properties: [
|
|
132
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
133
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
134
|
+
{ name: 'entity', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
135
|
+
{ name: 'pattern', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
136
|
+
{ name: 'scopeConfig', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
137
|
+
],
|
|
138
|
+
},
|
|
139
|
+
single: {
|
|
140
|
+
title: '{{title}}',
|
|
141
|
+
sections: [
|
|
142
|
+
{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
143
|
+
{ id: 'pattern', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
144
|
+
{ id: 'scope', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
145
|
+
],
|
|
146
|
+
properties: [
|
|
147
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
148
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
149
|
+
{ name: 'entity', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
150
|
+
{ name: 'pattern', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
151
|
+
{ name: 'scopeConfig', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
152
|
+
],
|
|
153
|
+
actions: [entityMasterDeleteAction()],
|
|
154
|
+
},
|
|
155
|
+
list: {
|
|
156
|
+
actions: [...entityMasterCrudActions()],
|
|
157
|
+
views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
};
|
|
162
|
+
return entityDef;
|
|
163
|
+
}
|
|
164
|
+
//#endregion
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Generated bundle index. Do not edit.
|
|
168
|
+
*/
|
|
169
|
+
|
|
170
|
+
export { identifierRuleFactory };
|
|
171
|
+
//# sourceMappingURL=acorex-platform-module-identifier-management-client-contracts-entities-identifier-rule.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-identifier-management-client-contracts-entities-identifier-rule.mjs","sources":["../../../../libs/modules/identifier-management/contracts/src/root-config.ts","../../../../libs/modules/identifier-management/contracts/src/entities/identifier-rule/identifier-rule.entity.ts","../../../../libs/modules/identifier-management/contracts/src/acorex-platform-module-identifier-management-client-contracts-entities-identifier-rule.ts"],"sourcesContent":["const config = {\n i18n: 'identifier-management',\n module: 'IdentifierManagement',\n} as const;\n\nexport const RootConfig = {\n config,\n module: {\n module: 'identifier-management',\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-hashtag',\n },\n entities: {\n identifierRule: {\n name: 'IdentifierRule',\n source: `${config.module}.IdentifierRule`,\n title: `@${config.i18n}:entities.identifier-rule.title`,\n titlePlural: `@${config.i18n}:entities.identifier-rule.plural`,\n icon: 'fa-light fa-barcode',\n },\n },\n} as const;\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterDeleteAction,\n} from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\n//#region ---- Identifier rule entity ----\n\nexport async function identifierRuleFactory(): Promise<AXPEntity | null> {\n const i18n = `${RootConfig.config.i18n}:entities.identifier-rule`;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.identifierRule.name,\n title: RootConfig.entities.identifierRule.title,\n icon: RootConfig.entities.identifierRule.icon,\n plugins: [\n { name: 'clone' },\n { name: 'disable' },\n {\n name: 'unique-fields',\n options: { fields: 'name', scope: 'global' },\n },\n ],\n formats: {\n individual: RootConfig.entities.identifierRule.title,\n plural: RootConfig.entities.identifierRule.titlePlural,\n searchResult: { title: '{{ title }}', description: '{{ entity }} · {{ pattern }}' },\n },\n groups: [\n { id: 'basic-info', title: `@${i18n}.groups.basic-info` },\n { id: 'pattern', title: `@${i18n}.groups.pattern` },\n { id: 'scope', title: `@${i18n}.groups.scope` },\n ],\n properties: [\n {\n name: 'name',\n title: '@general:terms.common.name',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n readonly: '{{ !!context.eval(\"id\") }}',\n interface: { type: AXPWidgetsList.Editors.TextBox },\n },\n validations: [{ rule: 'required' }, { rule: 'variable-name' }],\n options: {\n sort: { enabled: true },\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n validations: [{ rule: 'required' }],\n options: {\n sort: { enabled: true },\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n },\n },\n {\n name: 'entity',\n title: `@${i18n}.fields.entity.title`,\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n validations: [{ rule: 'required' }],\n options: {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n },\n },\n {\n name: 'pattern',\n title: `@${i18n}.fields.pattern.title`,\n groupId: 'pattern',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Advanced.CodeEditor,\n options: { language: 'plaintext', lineNumbers: true },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'scopeConfig',\n title: `@${i18n}.fields.scope-config.title`,\n groupId: 'scope',\n schema: {\n dataType: 'object',\n interface: {\n type: AXPWidgetsList.Advanced.CodeEditor,\n options: { language: 'json', lineNumbers: true, placeholder: '{}' },\n },\n },\n },\n ],\n columns: [{ name: 'name' }, { name: 'title' }, { name: 'entity' }, { name: 'pattern' }],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'pattern' }, { id: 'scope' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'entity', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'pattern', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'scopeConfig', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'pattern' }, { id: 'scope' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'entity', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'pattern', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'scopeConfig', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'pattern', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'scope', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'entity', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'pattern', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'scopeConfig', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n ],\n actions: [entityMasterDeleteAction()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.identifier-rule';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,uBAAuB;AAC7B,IAAA,MAAM,EAAE,sBAAsB;CACtB;AAEH,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,MAAM,EAAE,uBAAuB;QAC/B,IAAI,EAA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IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBAC5E,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBAC7E,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAClF,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,wBAAwB,EAAE,CAAC;AACtC,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACxE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;ACtJA;;AAEG;;"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
const config = {
|
|
2
|
+
i18n: 'identifier-management',
|
|
3
|
+
module: 'IdentifierManagement',
|
|
4
|
+
};
|
|
5
|
+
const RootConfig = {
|
|
6
|
+
config,
|
|
7
|
+
module: {
|
|
8
|
+
module: 'identifier-management',
|
|
9
|
+
name: config.module,
|
|
10
|
+
title: `@${config.i18n}:module.title`,
|
|
11
|
+
icon: 'fa-light fa-hashtag',
|
|
12
|
+
},
|
|
13
|
+
entities: {
|
|
14
|
+
identifierRule: {
|
|
15
|
+
name: 'IdentifierRule',
|
|
16
|
+
source: `${config.module}.IdentifierRule`,
|
|
17
|
+
title: `@${config.i18n}:entities.identifier-rule.title`,
|
|
18
|
+
titlePlural: `@${config.i18n}:entities.identifier-rule.plural`,
|
|
19
|
+
icon: 'fa-light fa-barcode',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
//#region ----- Imports -----
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region ----- Local entity catalog -----
|
|
27
|
+
/**
|
|
28
|
+
* Lazy per-entity layout factories. Do not re-export from the contracts barrel
|
|
29
|
+
* so RootConfig imports stay light. Server seed and client `local-entities`
|
|
30
|
+
* consume this catalog explicitly.
|
|
31
|
+
*/
|
|
32
|
+
const identifierManagementLocalEntityCatalog = {
|
|
33
|
+
moduleName: RootConfig.module.name,
|
|
34
|
+
loaders: {
|
|
35
|
+
[RootConfig.entities.identifierRule.name]: () => import('./acorex-platform-module-identifier-management-client-contracts-entity-catalog-identifier-rule.entity-p_HLE3VC.mjs').then((m) => m.identifierRuleFactory()),
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
//#endregion
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Generated bundle index. Do not edit.
|
|
42
|
+
*/
|
|
43
|
+
|
|
44
|
+
export { RootConfig as R, identifierManagementLocalEntityCatalog as i };
|
|
45
|
+
//# sourceMappingURL=acorex-platform-module-identifier-management-client-contracts-entity-catalog-acorex-platform-module-identifier-management-client-contracts-entity-catalog-DFRLWX48.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-identifier-management-client-contracts-entity-catalog-acorex-platform-module-identifier-management-client-contracts-entity-catalog-DFRLWX48.mjs","sources":["../../../../libs/modules/identifier-management/contracts/src/root-config.ts","../../../../libs/modules/identifier-management/contracts/src/entity-catalog.ts","../../../../libs/modules/identifier-management/contracts/src/acorex-platform-module-identifier-management-client-contracts-entity-catalog.ts"],"sourcesContent":["const config = {\n i18n: 'identifier-management',\n module: 'IdentifierManagement',\n} as const;\n\nexport const RootConfig = {\n config,\n module: {\n module: 'identifier-management',\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-hashtag',\n },\n entities: {\n identifierRule: {\n name: 'IdentifierRule',\n source: `${config.module}.IdentifierRule`,\n title: `@${config.i18n}:entities.identifier-rule.title`,\n titlePlural: `@${config.i18n}:entities.identifier-rule.plural`,\n icon: 'fa-light fa-barcode',\n },\n },\n} as const;\n","//#region ----- Imports -----\n\nimport type { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from './root-config';\n\n//#endregion\n\n//#region ----- Local entity catalog -----\n\n/**\n * Lazy per-entity layout factories. Do not re-export from the contracts barrel\n * so RootConfig imports stay light. Server seed and client `local-entities`\n * consume this catalog explicitly.\n */\nexport const identifierManagementLocalEntityCatalog: AXPLocalEntityCatalog = {\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.identifierRule.name]: () =>\n import('./entities/identifier-rule/identifier-rule.entity.js').then((m) => m.identifierRuleFactory()),\n },\n};\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-catalog';\n"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,uBAAuB;AAC7B,IAAA,MAAM,EAAE,sBAAsB;CACtB;AAEH,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,MAAM,EAAE,uBAAuB;QAC/B,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,qBAAqB;AAC5B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,cAAc,EAAE;AACd,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,eAAA,CAAiB;AACzC,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,+BAAA,CAAiC;AACvD,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,gCAAA,CAAkC;AAC9D,YAAA,IAAI,EAAE,qBAAqB;AAC5B,SAAA;AACF,KAAA;;;ACrBH;AAMA;AAEA;AAEA;;;;AAIG;AACI,MAAM,sCAAsC,GAA0B;AAC3E,IAAA,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAClC,IAAA,OAAO,EAAE;AACP,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,GAAG,MACzC,OAAO,oHAAsD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,qBAAqB,EAAE,CAAC;AACxG,KAAA;;AAGH;;ACvBA;;AAEG;;"}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterDeleteAction } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-identifier-management-client-contracts-entity-catalog-acorex-platform-module-identifier-management-client-contracts-entity-catalog-DFRLWX48.mjs';
|
|
4
|
+
|
|
5
|
+
//#region ---- Identifier rule entity ----
|
|
6
|
+
async function identifierRuleFactory() {
|
|
7
|
+
const i18n = `${RootConfig.config.i18n}:entities.identifier-rule`;
|
|
8
|
+
const entityDef = {
|
|
9
|
+
module: RootConfig.module.name,
|
|
10
|
+
name: RootConfig.entities.identifierRule.name,
|
|
11
|
+
title: RootConfig.entities.identifierRule.title,
|
|
12
|
+
icon: RootConfig.entities.identifierRule.icon,
|
|
13
|
+
plugins: [
|
|
14
|
+
{ name: 'clone' },
|
|
15
|
+
{ name: 'disable' },
|
|
16
|
+
{
|
|
17
|
+
name: 'unique-fields',
|
|
18
|
+
options: { fields: 'name', scope: 'global' },
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
formats: {
|
|
22
|
+
individual: RootConfig.entities.identifierRule.title,
|
|
23
|
+
plural: RootConfig.entities.identifierRule.titlePlural,
|
|
24
|
+
searchResult: { title: '{{ title }}', description: '{{ entity }} · {{ pattern }}' },
|
|
25
|
+
},
|
|
26
|
+
groups: [
|
|
27
|
+
{ id: 'basic-info', title: `@${i18n}.groups.basic-info` },
|
|
28
|
+
{ id: 'pattern', title: `@${i18n}.groups.pattern` },
|
|
29
|
+
{ id: 'scope', title: `@${i18n}.groups.scope` },
|
|
30
|
+
],
|
|
31
|
+
properties: [
|
|
32
|
+
{
|
|
33
|
+
name: 'name',
|
|
34
|
+
title: '@general:terms.common.name',
|
|
35
|
+
groupId: 'basic-info',
|
|
36
|
+
schema: {
|
|
37
|
+
dataType: 'string',
|
|
38
|
+
readonly: '{{ !!context.eval("id") }}',
|
|
39
|
+
interface: { type: AXPWidgetsList.Editors.TextBox },
|
|
40
|
+
},
|
|
41
|
+
validations: [{ rule: 'required' }, { rule: 'variable-name' }],
|
|
42
|
+
options: {
|
|
43
|
+
sort: { enabled: true },
|
|
44
|
+
filter: { inline: { enabled: true }, advance: { enabled: true } },
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'title',
|
|
49
|
+
title: '@general:terms.common.title',
|
|
50
|
+
groupId: 'basic-info',
|
|
51
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
|
|
52
|
+
validations: [{ rule: 'required' }],
|
|
53
|
+
options: {
|
|
54
|
+
sort: { enabled: true },
|
|
55
|
+
filter: { inline: { enabled: true }, advance: { enabled: true } },
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'entity',
|
|
60
|
+
title: `@${i18n}.fields.entity.title`,
|
|
61
|
+
groupId: 'basic-info',
|
|
62
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
|
|
63
|
+
validations: [{ rule: 'required' }],
|
|
64
|
+
options: {
|
|
65
|
+
filter: { inline: { enabled: true }, advance: { enabled: true } },
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: 'pattern',
|
|
70
|
+
title: `@${i18n}.fields.pattern.title`,
|
|
71
|
+
groupId: 'pattern',
|
|
72
|
+
schema: {
|
|
73
|
+
dataType: 'string',
|
|
74
|
+
interface: {
|
|
75
|
+
type: AXPWidgetsList.Advanced.CodeEditor,
|
|
76
|
+
options: { language: 'plaintext', lineNumbers: true },
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
validations: [{ rule: 'required' }],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: 'scopeConfig',
|
|
83
|
+
title: `@${i18n}.fields.scope-config.title`,
|
|
84
|
+
groupId: 'scope',
|
|
85
|
+
schema: {
|
|
86
|
+
dataType: 'object',
|
|
87
|
+
interface: {
|
|
88
|
+
type: AXPWidgetsList.Advanced.CodeEditor,
|
|
89
|
+
options: { language: 'json', lineNumbers: true, placeholder: '{}' },
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
columns: [{ name: 'name' }, { name: 'title' }, { name: 'entity' }, { name: 'pattern' }],
|
|
95
|
+
interfaces: {
|
|
96
|
+
master: {
|
|
97
|
+
create: {
|
|
98
|
+
sections: [{ id: 'basic-info' }, { id: 'pattern' }, { id: 'scope' }],
|
|
99
|
+
properties: [
|
|
100
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
101
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
102
|
+
{ name: 'entity', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
103
|
+
{ name: 'pattern', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
104
|
+
{ name: 'scopeConfig', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
105
|
+
],
|
|
106
|
+
},
|
|
107
|
+
update: {
|
|
108
|
+
sections: [{ id: 'basic-info' }, { id: 'pattern' }, { id: 'scope' }],
|
|
109
|
+
properties: [
|
|
110
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
111
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
112
|
+
{ name: 'entity', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
113
|
+
{ name: 'pattern', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
114
|
+
{ name: 'scopeConfig', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
single: {
|
|
118
|
+
title: '{{title}}',
|
|
119
|
+
sections: [
|
|
120
|
+
{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
121
|
+
{ id: 'pattern', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
122
|
+
{ id: 'scope', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
123
|
+
],
|
|
124
|
+
properties: [
|
|
125
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
126
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
127
|
+
{ name: 'entity', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
128
|
+
{ name: 'pattern', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
129
|
+
{ name: 'scopeConfig', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
130
|
+
],
|
|
131
|
+
actions: [entityMasterDeleteAction()],
|
|
132
|
+
},
|
|
133
|
+
list: {
|
|
134
|
+
actions: [...entityMasterCrudActions()],
|
|
135
|
+
views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
};
|
|
140
|
+
return entityDef;
|
|
141
|
+
}
|
|
142
|
+
//#endregion
|
|
143
|
+
|
|
144
|
+
export { identifierRuleFactory };
|
|
145
|
+
//# sourceMappingURL=acorex-platform-module-identifier-management-client-contracts-entity-catalog-identifier-rule.entity-p_HLE3VC.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-identifier-management-client-contracts-entity-catalog-identifier-rule.entity-p_HLE3VC.mjs","sources":["../../../../libs/modules/identifier-management/contracts/src/entities/identifier-rule/identifier-rule.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterDeleteAction,\n} from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\n//#region ---- Identifier rule entity ----\n\nexport async function identifierRuleFactory(): Promise<AXPEntity | null> {\n const i18n = `${RootConfig.config.i18n}:entities.identifier-rule`;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.identifierRule.name,\n title: RootConfig.entities.identifierRule.title,\n icon: RootConfig.entities.identifierRule.icon,\n plugins: [\n { name: 'clone' },\n { name: 'disable' },\n {\n name: 'unique-fields',\n options: { fields: 'name', scope: 'global' },\n },\n ],\n formats: {\n individual: RootConfig.entities.identifierRule.title,\n plural: RootConfig.entities.identifierRule.titlePlural,\n searchResult: { title: '{{ title }}', description: '{{ entity }} · {{ pattern }}' },\n },\n groups: [\n { id: 'basic-info', title: `@${i18n}.groups.basic-info` },\n { id: 'pattern', title: `@${i18n}.groups.pattern` },\n { id: 'scope', title: `@${i18n}.groups.scope` },\n ],\n properties: [\n {\n name: 'name',\n title: '@general:terms.common.name',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n readonly: '{{ !!context.eval(\"id\") }}',\n interface: { type: AXPWidgetsList.Editors.TextBox },\n },\n validations: [{ rule: 'required' }, { rule: 'variable-name' }],\n options: {\n sort: { enabled: true },\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n validations: [{ rule: 'required' }],\n options: {\n sort: { enabled: true },\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n },\n },\n {\n name: 'entity',\n title: `@${i18n}.fields.entity.title`,\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n validations: [{ rule: 'required' }],\n options: {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n },\n },\n {\n name: 'pattern',\n title: `@${i18n}.fields.pattern.title`,\n groupId: 'pattern',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Advanced.CodeEditor,\n options: { language: 'plaintext', lineNumbers: true },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'scopeConfig',\n title: `@${i18n}.fields.scope-config.title`,\n groupId: 'scope',\n schema: {\n dataType: 'object',\n interface: {\n type: AXPWidgetsList.Advanced.CodeEditor,\n options: { language: 'json', lineNumbers: true, placeholder: '{}' },\n },\n },\n },\n ],\n columns: [{ name: 'name' }, { name: 'title' }, { name: 'entity' }, { name: 'pattern' }],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'pattern' }, { id: 'scope' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'entity', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'pattern', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'scopeConfig', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'pattern' }, { id: 'scope' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'entity', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'pattern', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'scopeConfig', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'pattern', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'scope', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'entity', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'pattern', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'scopeConfig', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n ],\n actions: [entityMasterDeleteAction()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AASA;AAEO,eAAe,qBAAqB,GAAA;IACzC,MAAM,IAAI,GAAG,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,yBAAA,CAA2B;AAEjE,IAAA,MAAM,SAAS,GAAc;AAC3B,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,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAA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|
|
1
|
+
export { i as identifierManagementLocalEntityCatalog } from './acorex-platform-module-identifier-management-client-contracts-entity-catalog-acorex-platform-module-identifier-management-client-contracts-entity-catalog-DFRLWX48.mjs';
|
|
2
|
+
//# sourceMappingURL=acorex-platform-module-identifier-management-client-contracts-entity-catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-identifier-management-client-contracts-entity-catalog.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-identifier-management-client-contracts.mjs","sources":["../../../../libs/modules/identifier-management/contracts/src/permission.keys.ts","../../../../libs/modules/identifier-management/contracts/src/menu.keys.ts","../../../../libs/modules/identifier-management/contracts/src/identifier-rule.types.ts","../../../../libs/modules/identifier-management/contracts/src/root-config.ts","../../../../libs/modules/identifier-management/contracts/src/runtime.keys.ts","../../../../libs/modules/identifier-management/contracts/src/entities/identifier-rule/identifier-rule.types.ts","../../../../libs/modules/identifier-management/contracts/src/index.ts","../../../../libs/modules/identifier-management/contracts/src/acorex-platform-module-identifier-management-client-contracts.ts"],"sourcesContent":["/**\n * Applications & Platform capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPApplicationsPlatformPermissionKeys = {\n Access: 'ApplicationsPlatform:Permission:Access',\n MaintainApplications: 'ApplicationsPlatform:Permission:MaintainApplications',\n MaintainTenants: 'ApplicationsPlatform:Permission:MaintainTenants',\n MaintainPlatformShell: 'ApplicationsPlatform:Permission:MaintainPlatformShell',\n MaintainLandingPages: 'ApplicationsPlatform:Permission:MaintainLandingPages',\n MaintainIdentifiers: 'ApplicationsPlatform:Permission:MaintainIdentifiers',\n MaintainTenantSettings: 'ApplicationsPlatform:Permission:MaintainTenantSettings',\n MaintainPlatformSettings: 'ApplicationsPlatform:Permission:MaintainPlatformSettings',\n MaintainLocales: 'ApplicationsPlatform:Permission:MaintainLocales',\n UseDevTools: 'ApplicationsPlatform:Permission:UseDevTools',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPApplicationsPlatformPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMPermissionsKeys = {\n IdentifierManagement: {\n Management: AXPApplicationsPlatformPermissionKeys.MaintainIdentifiers,\n IdentifierRules: AXPApplicationsPlatformPermissionKeys.MaintainIdentifiers,\n },\n} as const;\n","export const AXPIdentifierManagementMenuKeys = {\n Root: 'IdentifierManagement:Menu',\n IdentifierRules: 'IdentifierManagement:Menu:IdentifierRules',\n} as const;\n","//#region ---- Identifier rule contracts ----\n\nexport type { AXPIdentifierRule } from '@acorex-platform/framework-shared/core';\n\nexport { IDENTIFIER_RULE_ENTITY } from '@acorex-platform/framework-shared/core';\n\n//#endregion\n","const config = {\n i18n: 'identifier-management',\n module: 'IdentifierManagement',\n} as const;\n\nexport const RootConfig = {\n config,\n module: {\n module: 'identifier-management',\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-hashtag',\n },\n entities: {\n identifierRule: {\n name: 'IdentifierRule',\n source: `${config.module}.IdentifierRule`,\n title: `@${config.i18n}:entities.identifier-rule.title`,\n titlePlural: `@${config.i18n}:entities.identifier-rule.plural`,\n icon: 'fa-light fa-barcode',\n },\n },\n} as const;\n","//#region ---- Identifier runtime keys ----\n\nexport const AXPIdentifierCommandKeys = {\n Generate: 'Identifier:Generate',\n Peek: 'Identifier:Peek',\n Validate: 'Identifier:Validate',\n CommitWithToken: 'Identifier:CommitWithToken',\n CommitByCode: 'Identifier:CommitByCode',\n} as const;\n\n//#endregion\n","\n//#region ---- Identifier rule domain model ----\n\nimport { AXPIdentifierRule } from \"../../identifier-rule.types\";\n\nexport interface AXMIdentifierManagementIdentifierRuleEntityModel extends AXPIdentifierRule {\n id: string;\n}\n\n//#endregion\n","//#region ---- Contracts barrel ----\n\nexport * from './permission.keys';\n\nexport * from './menu.keys';\n\nexport * from './identifier-rule.types';\n\nexport { IDENTIFIER_RULE_ENTITY } from './identifier-rule.types';\n\nexport * from './root-config';\n\nexport * from './runtime.keys';\n\n//#endregion\n\nexport * from './entities';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;;;AAGG;AACI,MAAM,qCAAqC,GAAG;AACnD,IAAA,MAAM,EAAE,wCAAwC;AAChD,IAAA,oBAAoB,EAAE,sDAAsD;AAC5E,IAAA,eAAe,EAAE,iDAAiD;AAClE,IAAA,qBAAqB,EAAE,uDAAuD;AAC9E,IAAA,oBAAoB,EAAE,sDAAsD;AAC5E,IAAA,mBAAmB,EAAE,qDAAqD;AAC1E,IAAA,sBAAsB,EAAE,wDAAwD;AAChF,IAAA,wBAAwB,EAAE,0DAA0D;AACpF,IAAA,eAAe,EAAE,iDAAiD;AAClE,IAAA,WAAW,EAAE,6CAA6C;;AAG5D;;;AAGG;AACI,MAAM,kBAAkB,GAAG;AAChC,IAAA,oBAAoB,EAAE;QACpB,UAAU,EAAE,qCAAqC,CAAC,mBAAmB;QACrE,eAAe,EAAE,qCAAqC,CAAC,mBAAmB;AAC3E,KAAA;;;ACzBI,MAAM,+BAA+B,GAAG;AAC7C,IAAA,IAAI,EAAE,2BAA2B;AACjC,IAAA,eAAe,EAAE,2CAA2C;;;ACF9D;AAMA;;ACNA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,uBAAuB;AAC7B,IAAA,MAAM,EAAE,sBAAsB;CACtB;AAEH,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,MAAM,EAAE,uBAAuB;QAC/B,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,qBAAqB;AAC5B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,cAAc,EAAE;AACd,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,eAAA,CAAiB;AACzC,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,+BAAA,CAAiC;AACvD,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,gCAAA,CAAkC;AAC9D,YAAA,IAAI,EAAE,qBAAqB;AAC5B,SAAA;AACF,KAAA;;;ACrBH;AAEO,MAAM,wBAAwB,GAAG;AACtC,IAAA,QAAQ,EAAE,qBAAqB;AAC/B,IAAA,IAAI,EAAE,iBAAiB;AACvB,IAAA,QAAQ,EAAE,qBAAqB;AAC/B,IAAA,eAAe,EAAE,4BAA4B;AAC7C,IAAA,YAAY,EAAE,yBAAyB;;AAGzC;;ACTA;AAQA;;ACTA;;ACAA;;AAEG
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-identifier-management-client-contracts.mjs","sources":["../../../../libs/modules/identifier-management/contracts/src/permission.keys.ts","../../../../libs/modules/identifier-management/contracts/src/menu.keys.ts","../../../../libs/modules/identifier-management/contracts/src/identifier-rule.types.ts","../../../../libs/modules/identifier-management/contracts/src/root-config.ts","../../../../libs/modules/identifier-management/contracts/src/runtime.keys.ts","../../../../libs/modules/identifier-management/contracts/src/entities/identifier-rule/identifier-rule.types.ts","../../../../libs/modules/identifier-management/contracts/src/index.ts","../../../../libs/modules/identifier-management/contracts/src/acorex-platform-module-identifier-management-client-contracts.ts"],"sourcesContent":["/**\n * Applications & Platform capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPApplicationsPlatformPermissionKeys = {\n Access: 'ApplicationsPlatform:Permission:Access',\n MaintainApplications: 'ApplicationsPlatform:Permission:MaintainApplications',\n MaintainTenants: 'ApplicationsPlatform:Permission:MaintainTenants',\n MaintainPlatformShell: 'ApplicationsPlatform:Permission:MaintainPlatformShell',\n MaintainLandingPages: 'ApplicationsPlatform:Permission:MaintainLandingPages',\n MaintainIdentifiers: 'ApplicationsPlatform:Permission:MaintainIdentifiers',\n MaintainTenantSettings: 'ApplicationsPlatform:Permission:MaintainTenantSettings',\n MaintainPlatformSettings: 'ApplicationsPlatform:Permission:MaintainPlatformSettings',\n MaintainLocales: 'ApplicationsPlatform:Permission:MaintainLocales',\n UseDevTools: 'ApplicationsPlatform:Permission:UseDevTools',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPApplicationsPlatformPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMPermissionsKeys = {\n IdentifierManagement: {\n Management: AXPApplicationsPlatformPermissionKeys.MaintainIdentifiers,\n IdentifierRules: AXPApplicationsPlatformPermissionKeys.MaintainIdentifiers,\n },\n} as const;\n","export const AXPIdentifierManagementMenuKeys = {\n Root: 'IdentifierManagement:Menu',\n IdentifierRules: 'IdentifierManagement:Menu:IdentifierRules',\n} as const;\n","//#region ---- Identifier rule contracts ----\n\nexport type { AXPIdentifierRule } from '@acorex-platform/framework-shared/core';\n\nexport { IDENTIFIER_RULE_ENTITY } from '@acorex-platform/framework-shared/core';\n\n//#endregion\n","const config = {\n i18n: 'identifier-management',\n module: 'IdentifierManagement',\n} as const;\n\nexport const RootConfig = {\n config,\n module: {\n module: 'identifier-management',\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-hashtag',\n },\n entities: {\n identifierRule: {\n name: 'IdentifierRule',\n source: `${config.module}.IdentifierRule`,\n title: `@${config.i18n}:entities.identifier-rule.title`,\n titlePlural: `@${config.i18n}:entities.identifier-rule.plural`,\n icon: 'fa-light fa-barcode',\n },\n },\n} as const;\n","//#region ---- Identifier runtime keys ----\n\nexport const AXPIdentifierCommandKeys = {\n Generate: 'Identifier:Generate',\n Peek: 'Identifier:Peek',\n Validate: 'Identifier:Validate',\n CommitWithToken: 'Identifier:CommitWithToken',\n CommitByCode: 'Identifier:CommitByCode',\n} as const;\n\n//#endregion\n","\n//#region ---- Identifier rule domain model ----\n\nimport { AXPIdentifierRule } from \"../../identifier-rule.types\";\n\nexport interface AXMIdentifierManagementIdentifierRuleEntityModel extends AXPIdentifierRule {\n id: string;\n}\n\n//#endregion\n","//#region ---- Contracts barrel ----\n\nexport * from './permission.keys';\n\nexport * from './menu.keys';\n\nexport * from './identifier-rule.types';\n\nexport { IDENTIFIER_RULE_ENTITY } from './identifier-rule.types';\n\nexport * from './root-config';\n\nexport * from './runtime.keys';\n\n//#endregion\n\nexport * from './entities';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;;;AAGG;AACI,MAAM,qCAAqC,GAAG;AACnD,IAAA,MAAM,EAAE,wCAAwC;AAChD,IAAA,oBAAoB,EAAE,sDAAsD;AAC5E,IAAA,eAAe,EAAE,iDAAiD;AAClE,IAAA,qBAAqB,EAAE,uDAAuD;AAC9E,IAAA,oBAAoB,EAAE,sDAAsD;AAC5E,IAAA,mBAAmB,EAAE,qDAAqD;AAC1E,IAAA,sBAAsB,EAAE,wDAAwD;AAChF,IAAA,wBAAwB,EAAE,0DAA0D;AACpF,IAAA,eAAe,EAAE,iDAAiD;AAClE,IAAA,WAAW,EAAE,6CAA6C;;AAG5D;;;AAGG;AACI,MAAM,kBAAkB,GAAG;AAChC,IAAA,oBAAoB,EAAE;QACpB,UAAU,EAAE,qCAAqC,CAAC,mBAAmB;QACrE,eAAe,EAAE,qCAAqC,CAAC,mBAAmB;AAC3E,KAAA;;;ACzBI,MAAM,+BAA+B,GAAG;AAC7C,IAAA,IAAI,EAAE,2BAA2B;AACjC,IAAA,eAAe,EAAE,2CAA2C;;;ACF9D;AAMA;;ACNA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,uBAAuB;AAC7B,IAAA,MAAM,EAAE,sBAAsB;CACtB;AAEH,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,MAAM,EAAE,uBAAuB;QAC/B,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,qBAAqB;AAC5B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,cAAc,EAAE;AACd,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,eAAA,CAAiB;AACzC,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,+BAAA,CAAiC;AACvD,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,gCAAA,CAAkC;AAC9D,YAAA,IAAI,EAAE,qBAAqB;AAC5B,SAAA;AACF,KAAA;;;ACrBH;AAEO,MAAM,wBAAwB,GAAG;AACtC,IAAA,QAAQ,EAAE,qBAAqB;AAC/B,IAAA,IAAI,EAAE,iBAAiB;AACvB,IAAA,QAAQ,EAAE,qBAAqB;AAC/B,IAAA,eAAe,EAAE,4BAA4B;AAC7C,IAAA,YAAY,EAAE,yBAAyB;;AAGzC;;ACTA;AAQA;;ACTA;;ACAA;;AAEG;;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';
|
|
2
|
+
import { RootConfig } from '@acorex-platform/module-identifier-management-client/contracts';
|
|
3
|
+
export { identifierManagementLocalEntityCatalog } from '@acorex-platform/module-identifier-management-client/contracts/entity-catalog';
|
|
4
|
+
|
|
5
|
+
//#region ----- Imports -----
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region ----- Provide local entities -----
|
|
8
|
+
/**
|
|
9
|
+
* Registers identifier-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 provideIdentifierManagementLocalEntities() {
|
|
15
|
+
return provideLocalEntityCatalog({
|
|
16
|
+
moduleName: RootConfig.module.name,
|
|
17
|
+
loaders: {
|
|
18
|
+
[RootConfig.entities.identifierRule.name]: () => import('@acorex-platform/module-identifier-management-client/contracts/entities/identifier-rule').then((m) => m.identifierRuleFactory()),
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Generated bundle index. Do not edit.
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
export { provideIdentifierManagementLocalEntities };
|
|
29
|
+
//# sourceMappingURL=acorex-platform-module-identifier-management-client-local-entities.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-identifier-management-client-local-entities.mjs","sources":["../../../../libs/modules/identifier-management/client/src/lib/provide-local-entities.ts","../../../../libs/modules/identifier-management/client/src/lib/acorex-platform-module-identifier-management-client-local-entities.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';\nimport { RootConfig } from '@acorex-platform/module-identifier-management-client/contracts';\n\n//#endregion\n\n//#region ----- Provide local entities -----\n\n/**\n * Registers identifier-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 provideIdentifierManagementLocalEntities() {\n return provideLocalEntityCatalog({\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.identifierRule.name]: () =>\n import('@acorex-platform/module-identifier-management-client/contracts/entities/identifier-rule').then((m) => m.identifierRuleFactory()),\n },\n });\n}\n\nexport { identifierManagementLocalEntityCatalog } from '@acorex-platform/module-identifier-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,cAAc,CAAC,IAAI,GAAG,MACzC,OAAO,yFAAyF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,qBAAqB,EAAE,CAAC;AAC3I,SAAA;AACF,KAAA,CAAC;AACJ;AAIA;;AC3BA;;AAEG;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-identifier-management-client.mjs","sources":["../../../../libs/modules/identifier-management/client/src/lib/manifest.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/core/identifier.types.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/identifier-evaluator-scope.provider.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/identifier.plugin.ts","../../../../libs/modules/identifier-management/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/identifier-management/client/src/lib/menu.provider.ts","../../../../libs/modules/identifier-management/client/src/lib/setting.provider.ts","../../../../libs/modules/identifier-management/client/src/lib/identifier-management.module.ts","../../../../libs/modules/identifier-management/client/src/lib/search-command.provider.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/core/identifier-rule.repository.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/core/tokens.types.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/core/token-registry.service.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/core/engine.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/core/utils.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/core/tokens-default.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/core/tokens-default.providers.ts","../../../../libs/modules/identifier-management/client/src/acorex-platform-module-identifier-management-client.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-identifier-management-client/contracts';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Identifier Management Module Manifest.\n * Defines module metadata, features, and provider references.\n */\nexport const IdentifierManagementManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n type: 'platform',\n domain: 'platform',\n required: true,\n\n // Module dependencies (optional)\n};\n\n//#endregion\n\n","//#region ---- Imports ----\n\nimport { InjectionToken } from '@angular/core';\nimport type { AXPIdentifierRule } from '@acorex-platform/module-identifier-management-client/contracts';\n\n//#endregion\n\n//#region ---- Public Types: Requests & Results ----\n\nexport interface AXPIdentifierRequest {\n /** Identifier id, e.g. 'employee-code' */\n id: string;\n /** Optional tenant partition */\n tenantId?: string;\n /** Optional application partition */\n appId?: string;\n /** Arbitrary payload for tokens to read from */\n payload?: Record<string, unknown>;\n}\n\nexport interface AXPIdentifierResult {\n code: string;\n ruleId: string;\n scopeHash: string;\n consumed: boolean;\n meta?: Record<string, unknown>;\n}\n\nexport interface AXPIdentifierPeekResult extends AXPIdentifierResult {\n consumed: false;\n commitToken: string; // opaque token for safe finalization\n}\n\n//#endregion\n\n//#region ---- Rule Definition ----\n\nexport type { AXPIdentifierRule };\n\n//#endregion\n\n//#region ---- Main Port (UI) ----\n\nexport abstract class AXPIdentifierService {\n abstract generate(req: AXPIdentifierRequest): Promise<AXPIdentifierResult>;\n abstract peek(req: AXPIdentifierRequest): Promise<AXPIdentifierPeekResult>;\n abstract validate(code: string, entity: string, tenantId?: string): Promise<boolean>;\n abstract commitWithToken(token: string): Promise<AXPIdentifierResult>;\n /** Optional helper for manual codes; stricter and may reject if not next sequence */\n abstract commitByCode(req: AXPIdentifierRequest, code: string): Promise<AXPIdentifierResult>;\n}\n\n\nexport const AXP_IDENTIFIER_SERVICE = new InjectionToken<AXPIdentifierService>('AXP_IDENTIFIER_SERVICE');\n\n//#endregion\n\n//#region ---- DI Tokens ----\n\n/** @deprecated Rules are loaded from {@link IDENTIFIER_RULE_ENTITY} entity storage. */\nexport const AXP_IDENTIFIER_RULES = new InjectionToken<AXPIdentifierRule[]>(\n 'AXP_IDENTIFIER_RULES'\n);\n\n//#endregion\n\n\n","import { AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from \"@acorex-platform/framework-shared/core\";\nimport { inject } from \"@angular/core\";\nimport { AXP_IDENTIFIER_SERVICE } from \"./core/identifier.types\";\nimport { AXPSessionService } from \"@acorex-platform/framework-client/auth\";\n\nexport class AXMIdentifierEvaluatorScopeProvider implements AXPExpressionEvaluatorScopeProvider {\n\n protected identifierService = inject(AXP_IDENTIFIER_SERVICE);\n protected sessionService = inject(AXPSessionService);\n\n async provide(context: AXPExpressionEvaluatorScopeProviderContext): Promise<void> {\n context.addScope('identifier', {\n peek: async (id: string) => {\n const identifier = await this.identifierService.peek({\n id,\n tenantId: this.sessionService.tenant?.id,\n appId: this.sessionService.application?.id,\n });\n return identifier.code;\n },\n generate: async (id: string) => {\n const identifier = await this.identifierService.generate({\n id,\n tenantId: this.sessionService.tenant?.id,\n appId: this.sessionService.application?.id,\n });\n return identifier.code;\n }\n })\n }\n}","import { AXPEntityActionPlugin } from \"@acorex-platform/framework-client/layout/entity\";\n\nconst IDENTIFIER_DEFAULT_VALUE = (rule: string) => `{{ identifier.peek(\"${rule}\") }}`;\n\nexport const identifierPlugin: AXPEntityActionPlugin = {\n name: 'identifier',\n order: 40,\n apply: (ctx, options: { field: string; rule: string }) => {\n if (!options?.field || !options?.rule) return;\n\n const defaultValue = IDENTIFIER_DEFAULT_VALUE(options.rule);\n const entity = ctx.entity as any;\n\n // Direct property: update in-place\n const propHandle = ctx.properties.find(options.field);\n const existingProp = propHandle.get();\n if (existingProp) {\n propHandle.update((p) => {\n const next = { ...p } as any;\n next.schema = { ...(next.schema ?? {}) };\n next.schema.defaultValue = defaultValue;\n return next;\n });\n } else if (options.field.includes('.')) {\n // Nested path (e.g. party.code): use generic propertyOverrides extension\n entity.extensions ??= {};\n entity.extensions.propertyOverrides ??= {};\n entity.extensions.propertyOverrides[options.field] = {\n schema: { ...(entity.extensions.propertyOverrides[options.field]?.schema ?? {}), defaultValue },\n };\n }\n\n entity.extensions ??= {};\n entity.extensions.identifier = { field: options.field, rule: options.rule };\n },\n};\n\n","//#region ---- Imports ----\n\nimport {\n AXPPermissionDefinitionProvider,\n AXPPermissionDefinitionProviderContext,\n} from '@acorex-platform/framework-client/auth';\nimport {\n AXPCommonPermissionGroupKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport {\n AXPApplicationsPlatformPermissionKeys\n} from '@acorex-platform/module-identifier-management-client/contracts';\n\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ---- Permission Definition Provider ----\n\n/**\n * Registers MaintainIdentifiers under Applications & Platform.\n */\n@Injectable()\nexport class AXMPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXPApplicationsPlatformPermissionKeys;\n const groups = AXPCommonPermissionGroupKeys;\n const P = '@common:applications-platform.permissions';\n const G = '@common:permission-groups';\n\n context.addGroup(groups.ApplicationsPlatform.Root, `${G}.applications-platform.title`, `${G}.applications-platform.description`, { order: 110 });\n\n context\n .addGroup(\n groups.ApplicationsPlatform.Configuration,\n `${G}.applications-platform-configuration.title`,\n `${G}.applications-platform-configuration.description`,\n { parent: groups.ApplicationsPlatform.Root, order: 30 },\n )\n .addPermission(\n keys.MaintainIdentifiers,\n `${P}.maintain-identifiers.title`,\n `${P}.maintain-identifiers.description`,\n { modules: ['IdentifierManagement'], requiredFeatures: ['IdentifierManagement'] },\n )\n .endPermission()\n .endGroup();\n }\n}\n\n//#endregion\n","import { AXPCommonMenuKeys } from '@acorex-platform/module-common-client/contracts';\nimport {\n AXPApplicationsPlatformPermissionKeys,\n AXPIdentifierManagementMenuKeys,\n RootConfig,\n} from '@acorex-platform/module-identifier-management-client/contracts';\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { inject } from '@angular/core';\n\nexport class AXMMenuProvider implements AXPMenuProvider {\n private entityService = inject(AXPEntityService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n\n context.find(AXPCommonMenuKeys.Platform).addItems([\n {\n name: AXPIdentifierManagementMenuKeys.IdentifierRules,\n text: RootConfig.entities.identifierRule.titlePlural,\n path: this.entityService.createPath(module.name, RootConfig.entities.identifierRule.name),\n icon: RootConfig.entities.identifierRule.icon,\n priority: 4,\n policy: {\n features: [module.name],\n permissions: [AXPApplicationsPlatformPermissionKeys.MaintainIdentifiers],\n },\n },\n ]);\n }\n}\n","import { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex-platform/framework-client/common';\n\nexport class AXMSettingProvider implements AXPSettingDefinitionProvider {\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n // context\n // // Add Form Template Group\n // .addGroup('form-template', 'Form Template', 'Settings related to form templates.', RootConfig.module.icon)\n // // Start Interface Section\n // .addSection('interface', 'UI Interface', 'Customize the user interface for forms.')\n // .addSetting({\n // key: 'history-panel',\n // title: 'Show History Panel',\n // scope: 'U',\n // isInherited: true,\n // defaultValue: false,\n // widget: {\n // type: AXPWidgetsCatalog.toggle,\n // },\n // description: 'Enable or disable the history panel for forms.',\n // validationRules: [\n // {\n // rule: 'required',\n // },\n // ],\n // })\n // .endSection()\n // .endGroup();\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { AXP_ENTITY_ACTION_PLUGIN } from '@acorex-platform/framework-client/layout/entity';\nimport { AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_MODULE_MANIFEST_PROVIDER } from '@acorex-platform/framework-client/core';\nimport { IdentifierManagementManifest } from './manifest';\nimport { AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\nimport { AXMIdentifierEvaluatorScopeProvider } from './features/shared/identifier-evaluator-scope.provider';\nimport { identifierPlugin } from \"./features/shared/identifier.plugin\";\nimport { AXMPermissionDefinitionProvider } from './permission-definition.provider';\nimport { AXMMenuProvider } from './menu.provider';\n\nimport { AXMSettingProvider } from './setting.provider';\n\n@NgModule({\n imports: [],\n exports: [],\n declarations: [],\n providers: [\n // Module-specific providers (not part of manifest system)\n {\n provide: AXP_ENTITY_ACTION_PLUGIN,\n useValue: identifierPlugin,\n multi: true,\n },\n {\n provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,\n useClass: AXMIdentifierEvaluatorScopeProvider,\n multi: true,\n },\n // Module Manifest Provider\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: IdentifierManagementManifest,\n multi: true,\n },\n // Provider references (now using tokens)\n {\n provide: AXP_PERMISSION_DEFINITION_PROVIDER,\n useClass: AXMPermissionDefinitionProvider,\n multi: true,\n },\n {\n provide: AXP_MENU_PROVIDER,\n useClass: AXMMenuProvider,\n multi: true,\n },\n \n {\n provide: AXP_SETTING_DEFINITION_PROVIDER,\n useClass: AXMSettingProvider,\n multi: true,\n },\n ]\n})\nexport class AXMIdentifierManagementModule { }\n","import { AXPSearchCommandProvider, AXPSearchResult } from '@acorex-platform/framework-client/common';\n\nexport class AXMSearchCommandProvider extends AXPSearchCommandProvider {\n commands: AXPSearchResult[] = [\n // {\n // group: 'command',\n // title: 'New Form Template',\n // icon: RootConfig.entities.template.icon,\n // description: 'Create a new form template for designing reusable forms.', // Added description\n // commands: {\n // 'create-entity': {\n // entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,\n // },\n // },\n // }\n ];\n}\n","import { AXPQueryService } from '@acorex-platform/framework-client/runtime';\nimport { runtimeQueryCollectionData } from '@acorex-platform/framework-shared/core';\nimport { ENTITY_QUERY_DEFAULT } from '@acorex-platform/framework-shared/runtime';\nimport {\n IDENTIFIER_RULE_ENTITY,\n type AXPIdentifierRule,\n} from '@acorex-platform/module-identifier-management-client/contracts';\nimport { inject, Injectable } from '@angular/core';\nimport { get } from 'lodash';\n\n//#region ---- Identifier rule repository ----\n\n/**\n * Loads identifier rules from {@link IDENTIFIER_RULE_ENTITY} via {@link ENTITY_QUERY_DEFAULT}.\n */\n@Injectable({ providedIn: 'root' })\nexport class AXPIdentifierRuleRepository {\n private readonly queryService = inject(AXPQueryService);\n\n async findById(id: string): Promise<AXPIdentifierRule | undefined> {\n const rules = await this.listAll();\n return rules.find((rule) => rule.name === id && !rule.isDisabled);\n }\n\n async listEnabled(): Promise<AXPIdentifierRule[]> {\n const rules = await this.listAll();\n return rules.filter((rule) => !rule.isDisabled);\n }\n\n private async listAll(): Promise<AXPIdentifierRule[]> {\n try {\n const response = await this.queryService.fetch(ENTITY_QUERY_DEFAULT, {\n entity: IDENTIFIER_RULE_ENTITY,\n skip: 0,\n take: 1000,\n });\n const items = runtimeQueryCollectionData(response)?.items ?? [];\n return items\n .map((item) => this.mapEntityToRule(item))\n .filter((rule): rule is AXPIdentifierRule => rule != null);\n } catch {\n return [];\n }\n }\n\n private mapEntityToRule(record: unknown): AXPIdentifierRule | null {\n if (!record || typeof record !== 'object') {\n return null;\n }\n const nameRaw = get(record, 'name') ?? get(record, 'id');\n const pattern = get(record, 'pattern');\n if (typeof nameRaw !== 'string' || typeof pattern !== 'string') {\n return null;\n }\n const scopeConfig = get(record, 'scopeConfig');\n const enabledLegacy = get(record, 'enabled');\n const isDisabledRaw = get(record, 'isDisabled');\n const isDisabled =\n typeof isDisabledRaw === 'boolean' ? isDisabledRaw : enabledLegacy === false;\n\n return {\n name: nameRaw,\n title: String(get(record, 'title') ?? nameRaw),\n entity: String(get(record, 'entity') ?? ''),\n pattern,\n isDisabled,\n scopeConfig:\n scopeConfig && typeof scopeConfig === 'object'\n ? (scopeConfig as AXPIdentifierRule['scopeConfig'])\n : {},\n };\n }\n}\n\n//#endregion\n","//#region ---- Token Contracts ----\n\nimport { AXPIdentifierRequest } from './identifier.types';\nimport { InjectionToken } from '@angular/core';\n\nexport interface AXPPatternToken {\n name: string;\n args: string[];\n raw: string;\n index: number;\n}\n\nexport interface AXPEvalServices {\n sequence: AXPSequenceProvider;\n checksum: AXPChecksumProvider;\n lookup?: AXPLookupProvider;\n policy?: AXPPolicyProvider;\n clock?: AXPClockProvider;\n}\n\nexport interface AXPEvalContext {\n pattern: string;\n request: AXPIdentifierRequest;\n cache: Map<string, unknown>;\n now: Date;\n services: AXPEvalServices;\n evaluationMode: 'preview' | 'commit';\n}\n\nexport interface AXPTokenHandler {\n readonly name: string;\n readonly priority?: number;\n validate?(token: AXPPatternToken): void | never;\n eval(token: AXPPatternToken, ctx: AXPEvalContext): Promise<string>;\n meta?: {\n title?: string;\n description?: string;\n category?: string;\n examples?: string[];\n argHints?: string[];\n version?: string;\n };\n}\n\nexport interface AXPTokenRegistry {\n register(handler: AXPTokenHandler): void;\n unregister(name: string): void;\n get(name: string): AXPTokenHandler | undefined;\n list(): AXPTokenHandler[];\n}\n\n//#endregion\n\n//#region ---- Sequence & Utilities ----\n\nexport interface AXPSequenceProvider {\n next(scopeHash: string, ruleId: string, options?: { pad?: number; consume?: boolean }): Promise<number>;\n}\n\nexport interface AXPChecksumProvider {\n compute(algo: 'luhn' | 'mod11', input: string): string;\n}\n\nexport interface AXPLookupProvider {\n get(key: string, params?: Record<string, unknown>): Promise<string | undefined>;\n}\n\nexport interface AXPPolicyProvider {\n isAllowed(tokenName: string, request: AXPIdentifierRequest): boolean;\n}\n\nexport interface AXPClockProvider {\n now(): Date;\n}\n\n//#endregion\n\n//#region ---- DI Tokens ----\n\nexport const AXP_TOKEN_HANDLERS = new InjectionToken<AXPTokenHandler[]>(\n 'AXP_TOKEN_HANDLERS'\n);\n\n//#endregion\n\n\n","//#region ---- Imports ----\n\nimport { Injectable, inject } from '@angular/core';\nimport { AXPTokenHandler, AXPTokenRegistry, AXP_TOKEN_HANDLERS } from './tokens.types';\n\n//#endregion\n\n@Injectable({ providedIn: 'root' })\nexport class AXPTokenRegistryService implements AXPTokenRegistry {\n //#region ---- Fields ----\n\n private readonly handlers = new Map<string, AXPTokenHandler>();\n private readonly providerHandlers = inject(AXP_TOKEN_HANDLERS, { optional: true }) ?? [];\n\n //#endregion\n\n //#region ---- Public API ----\n\n register(handler: AXPTokenHandler): void {\n const existing = this.handlers.get(handler.name);\n if (!existing || (handler.priority ?? 0) > (existing.priority ?? 0)) {\n this.handlers.set(handler.name, handler);\n }\n }\n\n unregister(name: string): void {\n this.handlers.delete(name);\n }\n\n get(name: string): AXPTokenHandler | undefined {\n // provider-provided take precedence by priority\n const fromProviders = this.providerHandlers\n .filter((h) => h.name === name)\n .sort((a, b) => (b.priority ?? 0) - (a.priority ?? 0))[0];\n if (fromProviders) return fromProviders;\n return this.handlers.get(name);\n }\n\n list(): AXPTokenHandler[] {\n const map = new Map<string, AXPTokenHandler>();\n const put = (h: AXPTokenHandler) => {\n const prev = map.get(h.name);\n if (!prev || (h.priority ?? 0) > (prev.priority ?? 0)) map.set(h.name, h);\n };\n this.providerHandlers.forEach(put);\n Array.from(this.handlers.values()).forEach(put);\n return Array.from(map.values()).sort((a, b) => (b.priority ?? 0) - (a.priority ?? 0));\n }\n\n //#endregion\n}\n\n\n","//#region ---- Imports ----\n\nimport { AXPEvalContext, AXPPatternToken } from './tokens.types';\nimport { inject } from '@angular/core';\nimport { AXPTokenRegistryService } from './token-registry.service';\n\n//#endregion\n\n//#region ---- Engine Contracts ----\n\nexport type AXPCompiledFragment = AXPPatternToken | { type: 'literal'; text: string };\n\nexport interface AXPCompiledPattern {\n pattern: string;\n tokens: AXPCompiledFragment[];\n}\n\nexport interface AXPPatternEngine {\n compile(pattern: string): AXPCompiledPattern;\n evaluate(compiled: AXPCompiledPattern, ctx: AXPEvalContext): Promise<string>;\n}\n\n//#endregion\n\n//#region ---- Simple Pattern Engine Impl ----\n\nconst TOKEN_REGEX = /\\{([^{}]+)\\}/g; // matches {token[:args]}\n\nexport class AXPSimplePatternEngine implements AXPPatternEngine {\n private readonly registry = inject(AXPTokenRegistryService);\n\n compile(pattern: string): AXPCompiledPattern {\n const tokens: AXPCompiledFragment[] = [];\n let match: RegExpExecArray | null;\n let index = 0;\n let lastIndex = 0;\n while ((match = TOKEN_REGEX.exec(pattern)) !== null) {\n // push any literal text before this token\n const literal = pattern.slice(lastIndex, match.index);\n if (literal) {\n tokens.push({ type: 'literal', text: literal });\n }\n const raw = match[0];\n const inner = match[1];\n const [name, ...args] = inner.split(':');\n const token: AXPPatternToken = {\n name: name.trim(),\n args: args.length ? inner.substring(inner.indexOf(':') + 1).split(':') : [],\n raw,\n index: index++,\n };\n const handler = this.registry.get(token.name);\n if (!handler) {\n throw new Error(`Unknown token: ${token.name}`);\n }\n handler.validate?.(token);\n tokens.push(token);\n lastIndex = match.index + raw.length;\n }\n // trailing literal\n const tail = pattern.slice(lastIndex);\n if (tail) {\n tokens.push({ type: 'literal', text: tail });\n }\n return { pattern, tokens };\n }\n\n async evaluate(compiled: AXPCompiledPattern, ctx: AXPEvalContext): Promise<string> {\n let built = '';\n for (const frag of compiled.tokens) {\n if ((frag as any).type === 'literal') {\n built += (frag as any).text as string;\n continue;\n }\n const token = frag as AXPPatternToken;\n ctx.cache.set('__acc__', built);\n const handler = this.registry.get(token.name);\n if (!handler) {\n throw new Error(`Unknown token at eval: ${token.name}`);\n }\n const fragment = await handler.eval(token, ctx);\n built += fragment;\n }\n return built;\n }\n}\n\n//#endregion\n\n\n","//#region ---- Imports ----\n\nimport {AXPDataGenerator} from '@acorex-platform/framework-client/core';\n\n//#endregion\n\n//#region ---- Utility Functions ----\n\nexport function buildScopeHash(parts: Array<string | undefined>): string {\n return parts.filter(Boolean).join('|');\n}\n\nexport function padNumber(num: number, size: number): string {\n const s = String(num);\n if (s.length >= size) return s;\n return '0'.repeat(size - s.length) + s;\n}\n\nexport function uuid(): string {\n return AXPDataGenerator.uuid();\n}\n\n//#endregion\n\n","//#region ---- Imports ----\n\nimport { AXPEvalContext, AXPPatternToken, AXPTokenHandler } from './tokens.types';\nimport { padNumber } from './utils';\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ---- Built-in Token Handlers (Injectable) ----\n\n@Injectable()\nexport class DateToken implements AXPTokenHandler {\n readonly name = 'date';\n readonly meta = { title: 'Date', description: 'Formats current date', argHints: ['YYYY', 'YYYYMM', 'YYYYMMDD'] };\n async eval(token: AXPPatternToken, ctx: AXPEvalContext): Promise<string> {\n const fmt = token.args[0] ?? 'YYYYMMDD';\n const d = ctx.services.clock?.now() ?? ctx.now;\n const y = String(d.getFullYear());\n const m = padNumber(d.getMonth() + 1, 2);\n const day = padNumber(d.getDate(), 2);\n switch (fmt) {\n case 'YYYY':\n return y;\n case 'YYYYMM':\n return y + m;\n case 'YYYYMMDD':\n default:\n return y + m + day;\n }\n }\n}\n\n@Injectable()\nexport class ConstToken implements AXPTokenHandler {\n readonly name = 'const';\n readonly meta = { title: 'Constant', description: 'Fixed literal value' };\n async eval(token: AXPPatternToken): Promise<string> {\n return token.args.join(':');\n }\n}\n\n@Injectable()\nexport class FieldToken implements AXPTokenHandler {\n readonly name = 'field';\n readonly meta = { title: 'Field', description: 'Reads a value from request.payload' };\n async eval(token: AXPPatternToken, ctx: AXPEvalContext): Promise<string> {\n const key = token.args[0];\n if (!key) return '';\n const value = ctx.request.payload?.[key];\n return value == null ? '' : String(value);\n }\n}\n\n@Injectable()\nexport class TenantToken implements AXPTokenHandler {\n readonly name = 'tenant';\n readonly meta = { title: 'Tenant', description: 'Tenant scope identifier' };\n async eval(_t: AXPPatternToken, ctx: AXPEvalContext): Promise<string> {\n return ctx.request.tenantId ?? '';\n }\n}\n\n@Injectable()\nexport class AppToken implements AXPTokenHandler {\n readonly name = 'app';\n readonly meta = { title: 'App', description: 'Application scope identifier' };\n async eval(_t: AXPPatternToken, ctx: AXPEvalContext): Promise<string> {\n return ctx.request.appId ?? '';\n }\n}\n\n@Injectable()\nexport class SeqToken implements AXPTokenHandler {\n readonly name = 'seq';\n readonly meta = { title: 'Sequence', description: 'Auto-increment sequence', argHints: ['pad'] };\n async eval(token: AXPPatternToken, ctx: AXPEvalContext): Promise<string> {\n const pad = Number(token.args[0] ?? '0') || 0;\n const consume = ctx.evaluationMode === 'commit';\n const ruleId = ctx.cache.get('ruleId') as string;\n const n = await ctx.services.sequence.next(ctx.cache.get('scopeHash') as string, ruleId, { pad, consume });\n return pad ? padNumber(n, pad) : String(n);\n }\n}\n\n@Injectable()\nexport class CheckToken implements AXPTokenHandler {\n readonly name = 'check';\n readonly meta = { title: 'Checksum', description: 'Checksum of the string built so far', argHints: ['luhn|mod11'] };\n async eval(token: AXPPatternToken, ctx: AXPEvalContext): Promise<string> {\n const algo = (token.args[0] as 'luhn' | 'mod11') ?? 'luhn';\n const acc = String(ctx.cache.get('__acc__') ?? '');\n return ctx.services.checksum.compute(algo, acc);\n }\n}\n\n//#endregion\n","import { Provider } from '@angular/core';\nimport { AXP_TOKEN_HANDLERS } from './tokens.types';\nimport { AppToken, CheckToken, ConstToken, DateToken, FieldToken, SeqToken, TenantToken } from './tokens-default';\n\nexport const AXP_DEFAULT_TOKEN_PROVIDERS: Provider[] = [\n { provide: AXP_TOKEN_HANDLERS, useClass: DateToken, multi: true },\n { provide: AXP_TOKEN_HANDLERS, useClass: ConstToken, multi: true },\n { provide: AXP_TOKEN_HANDLERS, useClass: FieldToken, multi: true },\n { provide: AXP_TOKEN_HANDLERS, useClass: TenantToken, multi: true },\n { provide: AXP_TOKEN_HANDLERS, useClass: AppToken, multi: true },\n { provide: AXP_TOKEN_HANDLERS, useClass: SeqToken, multi: true },\n { provide: AXP_TOKEN_HANDLERS, useClass: CheckToken, multi: true },\n];\n\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;AAKA;AAEA;AAEA;;;AAGG;AACI,MAAM,4BAA4B,GAAsB;AAC7D,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,OAAO,EAAE,OAAO;AAChB,IAAA,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK;AAC9B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,IAAI,EAAE,UAAU;AAChB,IAAA,MAAM,EAAE,UAAU;AAClB,IAAA,QAAQ,EAAE,IAAI;;CAGf;AAED;;AC1BA;AAuCA;AAEA;MAEsB,oBAAoB,CAAA;AAOzC;MAGY,sBAAsB,GAAG,IAAI,cAAc,CAAuB,wBAAwB;AAEvG;AAEA;AAEA;MACa,oBAAoB,GAAG,IAAI,cAAc,CAClD,sBAAsB;AAG1B;;MC3Da,mCAAmC,CAAA;AAAhD,IAAA,WAAA,GAAA;AAEc,QAAA,IAAA,CAAA,iBAAiB,GAAG,MAAM,CAAC,sBAAsB,CAAC;AAClD,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;IAsBxD;IApBI,MAAM,OAAO,CAAC,OAAmD,EAAA;AAC7D,QAAA,OAAO,CAAC,QAAQ,CAAC,YAAY,EAAE;AAC3B,YAAA,IAAI,EAAE,OAAO,EAAU,KAAI;gBACvB,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC;oBACjD,EAAE;AACF,oBAAA,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,EAAE;AACxC,oBAAA,KAAK,EAAE,IAAI,CAAC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ier-management-client.mjs","sources":["../../../../libs/modules/identifier-management/client/src/lib/manifest.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/core/identifier.types.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/identifier-evaluator-scope.provider.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/identifier.plugin.ts","../../../../libs/modules/identifier-management/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/identifier-management/client/src/lib/menu.provider.ts","../../../../libs/modules/identifier-management/client/src/lib/setting.provider.ts","../../../../libs/modules/identifier-management/client/src/lib/identifier-management.module.ts","../../../../libs/modules/identifier-management/client/src/lib/search-command.provider.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/core/identifier-rule.repository.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/core/tokens.types.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/core/token-registry.service.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/core/engine.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/core/utils.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/core/tokens-default.ts","../../../../libs/modules/identifier-management/client/src/lib/features/shared/core/tokens-default.providers.ts","../../../../libs/modules/identifier-management/client/src/acorex-platform-module-identifier-management-client.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-identifier-management-client/contracts';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Identifier Management Module Manifest.\n * Defines module metadata, features, and provider references.\n */\nexport const IdentifierManagementManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n type: 'platform',\n domain: 'platform',\n required: true,\n\n // Module dependencies (optional)\n};\n\n//#endregion\n\n","//#region ---- Imports ----\n\nimport { InjectionToken } from '@angular/core';\nimport type { AXPIdentifierRule } from '@acorex-platform/module-identifier-management-client/contracts';\n\n//#endregion\n\n//#region ---- Public Types: Requests & Results ----\n\nexport interface AXPIdentifierRequest {\n /** Identifier id, e.g. 'employee-code' */\n id: string;\n /** Optional tenant partition */\n tenantId?: string;\n /** Optional application partition */\n appId?: string;\n /** Arbitrary payload for tokens to read from */\n payload?: Record<string, unknown>;\n}\n\nexport interface AXPIdentifierResult {\n code: string;\n ruleId: string;\n scopeHash: string;\n consumed: boolean;\n meta?: Record<string, unknown>;\n}\n\nexport interface AXPIdentifierPeekResult extends AXPIdentifierResult {\n consumed: false;\n commitToken: string; // opaque token for safe finalization\n}\n\n//#endregion\n\n//#region ---- Rule Definition ----\n\nexport type { AXPIdentifierRule };\n\n//#endregion\n\n//#region ---- Main Port (UI) ----\n\nexport abstract class AXPIdentifierService {\n abstract generate(req: AXPIdentifierRequest): Promise<AXPIdentifierResult>;\n abstract peek(req: AXPIdentifierRequest): Promise<AXPIdentifierPeekResult>;\n abstract validate(code: string, entity: string, tenantId?: string): Promise<boolean>;\n abstract commitWithToken(token: string): Promise<AXPIdentifierResult>;\n /** Optional helper for manual codes; stricter and may reject if not next sequence */\n abstract commitByCode(req: AXPIdentifierRequest, code: string): Promise<AXPIdentifierResult>;\n}\n\n\nexport const AXP_IDENTIFIER_SERVICE = new InjectionToken<AXPIdentifierService>('AXP_IDENTIFIER_SERVICE');\n\n//#endregion\n\n//#region ---- DI Tokens ----\n\n/** @deprecated Rules are loaded from {@link IDENTIFIER_RULE_ENTITY} entity storage. */\nexport const AXP_IDENTIFIER_RULES = new InjectionToken<AXPIdentifierRule[]>(\n 'AXP_IDENTIFIER_RULES'\n);\n\n//#endregion\n\n\n","import { AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from \"@acorex-platform/framework-shared/core\";\nimport { inject } from \"@angular/core\";\nimport { AXP_IDENTIFIER_SERVICE } from \"./core/identifier.types\";\nimport { AXPSessionService } from \"@acorex-platform/framework-client/auth\";\n\nexport class AXMIdentifierEvaluatorScopeProvider implements AXPExpressionEvaluatorScopeProvider {\n\n protected identifierService = inject(AXP_IDENTIFIER_SERVICE);\n protected sessionService = inject(AXPSessionService);\n\n async provide(context: AXPExpressionEvaluatorScopeProviderContext): Promise<void> {\n context.addScope('identifier', {\n peek: async (id: string) => {\n const identifier = await this.identifierService.peek({\n id,\n tenantId: this.sessionService.tenant?.id,\n appId: this.sessionService.application?.id,\n });\n return identifier.code;\n },\n generate: async (id: string) => {\n const identifier = await this.identifierService.generate({\n id,\n tenantId: this.sessionService.tenant?.id,\n appId: this.sessionService.application?.id,\n });\n return identifier.code;\n }\n })\n }\n}","import { AXPEntityActionPlugin } from \"@acorex-platform/framework-client/layout/entity\";\n\nconst IDENTIFIER_DEFAULT_VALUE = (rule: string) => `{{ identifier.peek(\"${rule}\") }}`;\n\nexport const identifierPlugin: AXPEntityActionPlugin = {\n name: 'identifier',\n order: 40,\n apply: (ctx, options: { field: string; rule: string }) => {\n if (!options?.field || !options?.rule) return;\n\n const defaultValue = IDENTIFIER_DEFAULT_VALUE(options.rule);\n const entity = ctx.entity as any;\n\n // Direct property: update in-place\n const propHandle = ctx.properties.find(options.field);\n const existingProp = propHandle.get();\n if (existingProp) {\n propHandle.update((p) => {\n const next = { ...p } as any;\n next.schema = { ...(next.schema ?? {}) };\n next.schema.defaultValue = defaultValue;\n return next;\n });\n } else if (options.field.includes('.')) {\n // Nested path (e.g. party.code): use generic propertyOverrides extension\n entity.extensions ??= {};\n entity.extensions.propertyOverrides ??= {};\n entity.extensions.propertyOverrides[options.field] = {\n schema: { ...(entity.extensions.propertyOverrides[options.field]?.schema ?? {}), defaultValue },\n };\n }\n\n entity.extensions ??= {};\n entity.extensions.identifier = { field: options.field, rule: options.rule };\n },\n};\n\n","//#region ---- Imports ----\n\nimport {\n AXPPermissionDefinitionProvider,\n AXPPermissionDefinitionProviderContext,\n} from '@acorex-platform/framework-client/auth';\nimport {\n AXPCommonPermissionGroupKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport {\n AXPApplicationsPlatformPermissionKeys\n} from '@acorex-platform/module-identifier-management-client/contracts';\n\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ---- Permission Definition Provider ----\n\n/**\n * Registers MaintainIdentifiers under Applications & Platform.\n */\n@Injectable()\nexport class AXMPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXPApplicationsPlatformPermissionKeys;\n const groups = AXPCommonPermissionGroupKeys;\n const P = '@common:applications-platform.permissions';\n const G = '@common:permission-groups';\n\n context.addGroup(groups.ApplicationsPlatform.Root, `${G}.applications-platform.title`, `${G}.applications-platform.description`, { order: 110 });\n\n context\n .addGroup(\n groups.ApplicationsPlatform.Configuration,\n `${G}.applications-platform-configuration.title`,\n `${G}.applications-platform-configuration.description`,\n { parent: groups.ApplicationsPlatform.Root, order: 30 },\n )\n .addPermission(\n keys.MaintainIdentifiers,\n `${P}.maintain-identifiers.title`,\n `${P}.maintain-identifiers.description`,\n { modules: ['IdentifierManagement'], requiredFeatures: ['IdentifierManagement'] },\n )\n .endPermission()\n .endGroup();\n }\n}\n\n//#endregion\n","import { AXPCommonMenuKeys } from '@acorex-platform/module-common-client/contracts';\nimport {\n AXPApplicationsPlatformPermissionKeys,\n AXPIdentifierManagementMenuKeys,\n RootConfig,\n} from '@acorex-platform/module-identifier-management-client/contracts';\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { inject } from '@angular/core';\n\nexport class AXMMenuProvider implements AXPMenuProvider {\n private entityService = inject(AXPEntityService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n\n context.find(AXPCommonMenuKeys.Platform).addItems([\n {\n name: AXPIdentifierManagementMenuKeys.IdentifierRules,\n text: RootConfig.entities.identifierRule.titlePlural,\n path: this.entityService.createPath(module.name, RootConfig.entities.identifierRule.name),\n icon: RootConfig.entities.identifierRule.icon,\n priority: 4,\n policy: {\n features: [module.name],\n permissions: [AXPApplicationsPlatformPermissionKeys.MaintainIdentifiers],\n },\n },\n ]);\n }\n}\n","import { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex-platform/framework-client/common';\n\nexport class AXMSettingProvider implements AXPSettingDefinitionProvider {\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n // context\n // // Add Form Template Group\n // .addGroup('form-template', 'Form Template', 'Settings related to form templates.', RootConfig.module.icon)\n // // Start Interface Section\n // .addSection('interface', 'UI Interface', 'Customize the user interface for forms.')\n // .addSetting({\n // key: 'history-panel',\n // title: 'Show History Panel',\n // scope: 'U',\n // isInherited: true,\n // defaultValue: false,\n // widget: {\n // type: AXPWidgetsCatalog.toggle,\n // },\n // description: 'Enable or disable the history panel for forms.',\n // validationRules: [\n // {\n // rule: 'required',\n // },\n // ],\n // })\n // .endSection()\n // .endGroup();\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { AXP_ENTITY_ACTION_PLUGIN } from '@acorex-platform/framework-client/layout/entity';\nimport { AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_MODULE_MANIFEST_PROVIDER } from '@acorex-platform/framework-client/core';\nimport { IdentifierManagementManifest } from './manifest';\nimport { AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\nimport { AXMIdentifierEvaluatorScopeProvider } from './features/shared/identifier-evaluator-scope.provider';\nimport { identifierPlugin } from \"./features/shared/identifier.plugin\";\nimport { AXMPermissionDefinitionProvider } from './permission-definition.provider';\nimport { AXMMenuProvider } from './menu.provider';\n\nimport { AXMSettingProvider } from './setting.provider';\n\n@NgModule({\n imports: [],\n exports: [],\n declarations: [],\n providers: [\n // Module-specific providers (not part of manifest system)\n {\n provide: AXP_ENTITY_ACTION_PLUGIN,\n useValue: identifierPlugin,\n multi: true,\n },\n {\n provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,\n useClass: AXMIdentifierEvaluatorScopeProvider,\n multi: true,\n },\n // Module Manifest Provider\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: IdentifierManagementManifest,\n multi: true,\n },\n // Provider references (now using tokens)\n {\n provide: AXP_PERMISSION_DEFINITION_PROVIDER,\n useClass: AXMPermissionDefinitionProvider,\n multi: true,\n },\n {\n provide: AXP_MENU_PROVIDER,\n useClass: AXMMenuProvider,\n multi: true,\n },\n \n {\n provide: AXP_SETTING_DEFINITION_PROVIDER,\n useClass: AXMSettingProvider,\n multi: true,\n },\n ]\n})\nexport class AXMIdentifierManagementModule { }\n","import { AXPSearchCommandProvider, AXPSearchResult } from '@acorex-platform/framework-client/common';\n\nexport class AXMSearchCommandProvider extends AXPSearchCommandProvider {\n commands: AXPSearchResult[] = [\n // {\n // group: 'command',\n // title: 'New Form Template',\n // icon: RootConfig.entities.template.icon,\n // description: 'Create a new form template for designing reusable forms.', // Added description\n // commands: {\n // 'create-entity': {\n // entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,\n // },\n // },\n // }\n ];\n}\n","import { AXPQueryService } from '@acorex-platform/framework-client/runtime';\nimport { runtimeQueryCollectionData } from '@acorex-platform/framework-shared/core';\nimport { ENTITY_QUERY_DEFAULT } from '@acorex-platform/framework-shared/runtime';\nimport {\n IDENTIFIER_RULE_ENTITY,\n type AXPIdentifierRule,\n} from '@acorex-platform/module-identifier-management-client/contracts';\nimport { inject, Injectable } from '@angular/core';\nimport { get } from 'lodash';\n\n//#region ---- Identifier rule repository ----\n\n/**\n * Loads identifier rules from {@link IDENTIFIER_RULE_ENTITY} via {@link ENTITY_QUERY_DEFAULT}.\n */\n@Injectable({ providedIn: 'root' })\nexport class AXPIdentifierRuleRepository {\n private readonly queryService = inject(AXPQueryService);\n\n async findById(id: string): Promise<AXPIdentifierRule | undefined> {\n const rules = await this.listAll();\n return rules.find((rule) => rule.name === id && !rule.isDisabled);\n }\n\n async listEnabled(): Promise<AXPIdentifierRule[]> {\n const rules = await this.listAll();\n return rules.filter((rule) => !rule.isDisabled);\n }\n\n private async listAll(): Promise<AXPIdentifierRule[]> {\n try {\n const response = await this.queryService.fetch(ENTITY_QUERY_DEFAULT, {\n entity: IDENTIFIER_RULE_ENTITY,\n skip: 0,\n take: 1000,\n });\n const items = runtimeQueryCollectionData(response)?.items ?? [];\n return items\n .map((item) => this.mapEntityToRule(item))\n .filter((rule): rule is AXPIdentifierRule => rule != null);\n } catch {\n return [];\n }\n }\n\n private mapEntityToRule(record: unknown): AXPIdentifierRule | null {\n if (!record || typeof record !== 'object') {\n return null;\n }\n const nameRaw = get(record, 'name') ?? get(record, 'id');\n const pattern = get(record, 'pattern');\n if (typeof nameRaw !== 'string' || typeof pattern !== 'string') {\n return null;\n }\n const scopeConfig = get(record, 'scopeConfig');\n const enabledLegacy = get(record, 'enabled');\n const isDisabledRaw = get(record, 'isDisabled');\n const isDisabled =\n typeof isDisabledRaw === 'boolean' ? isDisabledRaw : enabledLegacy === false;\n\n return {\n name: nameRaw,\n title: String(get(record, 'title') ?? nameRaw),\n entity: String(get(record, 'entity') ?? ''),\n pattern,\n isDisabled,\n scopeConfig:\n scopeConfig && typeof scopeConfig === 'object'\n ? (scopeConfig as AXPIdentifierRule['scopeConfig'])\n : {},\n };\n }\n}\n\n//#endregion\n","//#region ---- Token Contracts ----\n\nimport { AXPIdentifierRequest } from './identifier.types';\nimport { InjectionToken } from '@angular/core';\n\nexport interface AXPPatternToken {\n name: string;\n args: string[];\n raw: string;\n index: number;\n}\n\nexport interface AXPEvalServices {\n sequence: AXPSequenceProvider;\n checksum: AXPChecksumProvider;\n lookup?: AXPLookupProvider;\n policy?: AXPPolicyProvider;\n clock?: AXPClockProvider;\n}\n\nexport interface AXPEvalContext {\n pattern: string;\n request: AXPIdentifierRequest;\n cache: Map<string, unknown>;\n now: Date;\n services: AXPEvalServices;\n evaluationMode: 'preview' | 'commit';\n}\n\nexport interface AXPTokenHandler {\n readonly name: string;\n readonly priority?: number;\n validate?(token: AXPPatternToken): void | never;\n eval(token: AXPPatternToken, ctx: AXPEvalContext): Promise<string>;\n meta?: {\n title?: string;\n description?: string;\n category?: string;\n examples?: string[];\n argHints?: string[];\n version?: string;\n };\n}\n\nexport interface AXPTokenRegistry {\n register(handler: AXPTokenHandler): void;\n unregister(name: string): void;\n get(name: string): AXPTokenHandler | undefined;\n list(): AXPTokenHandler[];\n}\n\n//#endregion\n\n//#region ---- Sequence & Utilities ----\n\nexport interface AXPSequenceProvider {\n next(scopeHash: string, ruleId: string, options?: { pad?: number; consume?: boolean }): Promise<number>;\n}\n\nexport interface AXPChecksumProvider {\n compute(algo: 'luhn' | 'mod11', input: string): string;\n}\n\nexport interface AXPLookupProvider {\n get(key: string, params?: Record<string, unknown>): Promise<string | undefined>;\n}\n\nexport interface AXPPolicyProvider {\n isAllowed(tokenName: string, request: AXPIdentifierRequest): boolean;\n}\n\nexport interface AXPClockProvider {\n now(): Date;\n}\n\n//#endregion\n\n//#region ---- DI Tokens ----\n\nexport const AXP_TOKEN_HANDLERS = new InjectionToken<AXPTokenHandler[]>(\n 'AXP_TOKEN_HANDLERS'\n);\n\n//#endregion\n\n\n","//#region ---- Imports ----\n\nimport { Injectable, inject } from '@angular/core';\nimport { AXPTokenHandler, AXPTokenRegistry, AXP_TOKEN_HANDLERS } from './tokens.types';\n\n//#endregion\n\n@Injectable({ providedIn: 'root' })\nexport class AXPTokenRegistryService implements AXPTokenRegistry {\n //#region ---- Fields ----\n\n private readonly handlers = new Map<string, AXPTokenHandler>();\n private readonly providerHandlers = inject(AXP_TOKEN_HANDLERS, { optional: true }) ?? [];\n\n //#endregion\n\n //#region ---- Public API ----\n\n register(handler: AXPTokenHandler): void {\n const existing = this.handlers.get(handler.name);\n if (!existing || (handler.priority ?? 0) > (existing.priority ?? 0)) {\n this.handlers.set(handler.name, handler);\n }\n }\n\n unregister(name: string): void {\n this.handlers.delete(name);\n }\n\n get(name: string): AXPTokenHandler | undefined {\n // provider-provided take precedence by priority\n const fromProviders = this.providerHandlers\n .filter((h) => h.name === name)\n .sort((a, b) => (b.priority ?? 0) - (a.priority ?? 0))[0];\n if (fromProviders) return fromProviders;\n return this.handlers.get(name);\n }\n\n list(): AXPTokenHandler[] {\n const map = new Map<string, AXPTokenHandler>();\n const put = (h: AXPTokenHandler) => {\n const prev = map.get(h.name);\n if (!prev || (h.priority ?? 0) > (prev.priority ?? 0)) map.set(h.name, h);\n };\n this.providerHandlers.forEach(put);\n Array.from(this.handlers.values()).forEach(put);\n return Array.from(map.values()).sort((a, b) => (b.priority ?? 0) - (a.priority ?? 0));\n }\n\n //#endregion\n}\n\n\n","//#region ---- Imports ----\n\nimport { AXPEvalContext, AXPPatternToken } from './tokens.types';\nimport { inject } from '@angular/core';\nimport { AXPTokenRegistryService } from './token-registry.service';\n\n//#endregion\n\n//#region ---- Engine Contracts ----\n\nexport type AXPCompiledFragment = AXPPatternToken | { type: 'literal'; text: string };\n\nexport interface AXPCompiledPattern {\n pattern: string;\n tokens: AXPCompiledFragment[];\n}\n\nexport interface AXPPatternEngine {\n compile(pattern: string): AXPCompiledPattern;\n evaluate(compiled: AXPCompiledPattern, ctx: AXPEvalContext): Promise<string>;\n}\n\n//#endregion\n\n//#region ---- Simple Pattern Engine Impl ----\n\nconst TOKEN_REGEX = /\\{([^{}]+)\\}/g; // matches {token[:args]}\n\nexport class AXPSimplePatternEngine implements AXPPatternEngine {\n private readonly registry = inject(AXPTokenRegistryService);\n\n compile(pattern: string): AXPCompiledPattern {\n const tokens: AXPCompiledFragment[] = [];\n let match: RegExpExecArray | null;\n let index = 0;\n let lastIndex = 0;\n while ((match = TOKEN_REGEX.exec(pattern)) !== null) {\n // push any literal text before this token\n const literal = pattern.slice(lastIndex, match.index);\n if (literal) {\n tokens.push({ type: 'literal', text: literal });\n }\n const raw = match[0];\n const inner = match[1];\n const [name, ...args] = inner.split(':');\n const token: AXPPatternToken = {\n name: name.trim(),\n args: args.length ? inner.substring(inner.indexOf(':') + 1).split(':') : [],\n raw,\n index: index++,\n };\n const handler = this.registry.get(token.name);\n if (!handler) {\n throw new Error(`Unknown token: ${token.name}`);\n }\n handler.validate?.(token);\n tokens.push(token);\n lastIndex = match.index + raw.length;\n }\n // trailing literal\n const tail = pattern.slice(lastIndex);\n if (tail) {\n tokens.push({ type: 'literal', text: tail });\n }\n return { pattern, tokens };\n }\n\n async evaluate(compiled: AXPCompiledPattern, ctx: AXPEvalContext): Promise<string> {\n let built = '';\n for (const frag of compiled.tokens) {\n if ((frag as any).type === 'literal') {\n built += (frag as any).text as string;\n continue;\n }\n const token = frag as AXPPatternToken;\n ctx.cache.set('__acc__', built);\n const handler = this.registry.get(token.name);\n if (!handler) {\n throw new Error(`Unknown token at eval: ${token.name}`);\n }\n const fragment = await handler.eval(token, ctx);\n built += fragment;\n }\n return built;\n }\n}\n\n//#endregion\n\n\n","//#region ---- Imports ----\n\nimport {AXPDataGenerator} from '@acorex-platform/framework-client/core';\n\n//#endregion\n\n//#region ---- Utility Functions ----\n\nexport function buildScopeHash(parts: Array<string | undefined>): string {\n return parts.filter(Boolean).join('|');\n}\n\nexport function padNumber(num: number, size: number): string {\n const s = String(num);\n if (s.length >= size) return s;\n return '0'.repeat(size - s.length) + s;\n}\n\nexport function uuid(): string {\n return AXPDataGenerator.uuid();\n}\n\n//#endregion\n\n","//#region ---- Imports ----\n\nimport { AXPEvalContext, AXPPatternToken, AXPTokenHandler } from './tokens.types';\nimport { padNumber } from './utils';\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ---- Built-in Token Handlers (Injectable) ----\n\n@Injectable()\nexport class DateToken implements AXPTokenHandler {\n readonly name = 'date';\n readonly meta = { title: 'Date', description: 'Formats current date', argHints: ['YYYY', 'YYYYMM', 'YYYYMMDD'] };\n async eval(token: AXPPatternToken, ctx: AXPEvalContext): Promise<string> {\n const fmt = token.args[0] ?? 'YYYYMMDD';\n const d = ctx.services.clock?.now() ?? ctx.now;\n const y = String(d.getFullYear());\n const m = padNumber(d.getMonth() + 1, 2);\n const day = padNumber(d.getDate(), 2);\n switch (fmt) {\n case 'YYYY':\n return y;\n case 'YYYYMM':\n return y + m;\n case 'YYYYMMDD':\n default:\n return y + m + day;\n }\n }\n}\n\n@Injectable()\nexport class ConstToken implements AXPTokenHandler {\n readonly name = 'const';\n readonly meta = { title: 'Constant', description: 'Fixed literal value' };\n async eval(token: AXPPatternToken): Promise<string> {\n return token.args.join(':');\n }\n}\n\n@Injectable()\nexport class FieldToken implements AXPTokenHandler {\n readonly name = 'field';\n readonly meta = { title: 'Field', description: 'Reads a value from request.payload' };\n async eval(token: AXPPatternToken, ctx: AXPEvalContext): Promise<string> {\n const key = token.args[0];\n if (!key) return '';\n const value = ctx.request.payload?.[key];\n return value == null ? '' : String(value);\n }\n}\n\n@Injectable()\nexport class TenantToken implements AXPTokenHandler {\n readonly name = 'tenant';\n readonly meta = { title: 'Tenant', description: 'Tenant scope identifier' };\n async eval(_t: AXPPatternToken, ctx: AXPEvalContext): Promise<string> {\n return ctx.request.tenantId ?? '';\n }\n}\n\n@Injectable()\nexport class AppToken implements AXPTokenHandler {\n readonly name = 'app';\n readonly meta = { title: 'App', description: 'Application scope identifier' };\n async eval(_t: AXPPatternToken, ctx: AXPEvalContext): Promise<string> {\n return ctx.request.appId ?? '';\n }\n}\n\n@Injectable()\nexport class SeqToken implements AXPTokenHandler {\n readonly name = 'seq';\n readonly meta = { title: 'Sequence', description: 'Auto-increment sequence', argHints: ['pad'] };\n async eval(token: AXPPatternToken, ctx: AXPEvalContext): Promise<string> {\n const pad = Number(token.args[0] ?? '0') || 0;\n const consume = ctx.evaluationMode === 'commit';\n const ruleId = ctx.cache.get('ruleId') as string;\n const n = await ctx.services.sequence.next(ctx.cache.get('scopeHash') as string, ruleId, { pad, consume });\n return pad ? padNumber(n, pad) : String(n);\n }\n}\n\n@Injectable()\nexport class CheckToken implements AXPTokenHandler {\n readonly name = 'check';\n readonly meta = { title: 'Checksum', description: 'Checksum of the string built so far', argHints: ['luhn|mod11'] };\n async eval(token: AXPPatternToken, ctx: AXPEvalContext): Promise<string> {\n const algo = (token.args[0] as 'luhn' | 'mod11') ?? 'luhn';\n const acc = String(ctx.cache.get('__acc__') ?? '');\n return ctx.services.checksum.compute(algo, acc);\n }\n}\n\n//#endregion\n","import { Provider } from '@angular/core';\nimport { AXP_TOKEN_HANDLERS } from './tokens.types';\nimport { AppToken, CheckToken, ConstToken, DateToken, FieldToken, SeqToken, TenantToken } from './tokens-default';\n\nexport const AXP_DEFAULT_TOKEN_PROVIDERS: Provider[] = [\n { provide: AXP_TOKEN_HANDLERS, useClass: DateToken, multi: true },\n { provide: AXP_TOKEN_HANDLERS, useClass: ConstToken, multi: true },\n { provide: AXP_TOKEN_HANDLERS, useClass: FieldToken, multi: true },\n { provide: AXP_TOKEN_HANDLERS, useClass: TenantToken, multi: true },\n { provide: AXP_TOKEN_HANDLERS, useClass: AppToken, multi: true },\n { provide: AXP_TOKEN_HANDLERS, useClass: SeqToken, multi: true },\n { provide: AXP_TOKEN_HANDLERS, useClass: CheckToken, multi: true },\n];\n\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;AAKA;AAEA;AAEA;;;AAGG;AACI,MAAM,4BAA4B,GAAsB;AAC7D,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,OAAO,EAAE,OAAO;AAChB,IAAA,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK;AAC9B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,IAAI,EAAE,UAAU;AAChB,IAAA,MAAM,EAAE,UAAU;AAClB,IAAA,QAAQ,EAAE,IAA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B,GAAe;IACnD,EAAE,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE;IACjE,EAAE,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,IAAI,EAAE;IAClE,EAAE,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,IAAI,EAAE;IAClE,EAAE,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE;IACnE,EAAE,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE;IAChE,EAAE,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE;IAChE,EAAE,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,IAAI,EAAE;;;ACXtE;;AAEG;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex-platform/module-identifier-management-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.37",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0 || ^22.0.0",
|
|
@@ -22,6 +22,18 @@
|
|
|
22
22
|
"./contracts": {
|
|
23
23
|
"types": "./types/acorex-platform-module-identifier-management-client-contracts.d.ts",
|
|
24
24
|
"default": "./fesm2022/acorex-platform-module-identifier-management-client-contracts.mjs"
|
|
25
|
+
},
|
|
26
|
+
"./contracts/entities/identifier-rule": {
|
|
27
|
+
"types": "./types/acorex-platform-module-identifier-management-client-contracts-entities-identifier-rule.d.ts",
|
|
28
|
+
"default": "./fesm2022/acorex-platform-module-identifier-management-client-contracts-entities-identifier-rule.mjs"
|
|
29
|
+
},
|
|
30
|
+
"./contracts/entity-catalog": {
|
|
31
|
+
"types": "./types/acorex-platform-module-identifier-management-client-contracts-entity-catalog.d.ts",
|
|
32
|
+
"default": "./fesm2022/acorex-platform-module-identifier-management-client-contracts-entity-catalog.mjs"
|
|
33
|
+
},
|
|
34
|
+
"./local-entities": {
|
|
35
|
+
"types": "./types/acorex-platform-module-identifier-management-client-local-entities.d.ts",
|
|
36
|
+
"default": "./fesm2022/acorex-platform-module-identifier-management-client-local-entities.mjs"
|
|
25
37
|
}
|
|
26
38
|
},
|
|
27
39
|
"type": "module"
|
package/types/acorex-platform-module-identifier-management-client-contracts-entity-catalog.d.ts
ADDED
|
@@ -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 identifierManagementLocalEntityCatalog: AXPLocalEntityCatalog;
|
|
9
|
+
|
|
10
|
+
export { identifierManagementLocalEntityCatalog };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
export { identifierManagementLocalEntityCatalog } from '@acorex-platform/module-identifier-management-client/contracts/entity-catalog';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Registers identifier-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 provideIdentifierManagementLocalEntities(): _angular_core.EnvironmentProviders;
|
|
11
|
+
|
|
12
|
+
export { provideIdentifierManagementLocalEntities };
|