@acorex-platform/module-security-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-security-management-client-acorex-platform-module-security-management-client-Wtvhs7VH.mjs → acorex-platform-module-security-management-client-acorex-platform-module-security-management-client-Ddzg9VYV.mjs} +5 -5
- package/fesm2022/acorex-platform-module-security-management-client-acorex-platform-module-security-management-client-Ddzg9VYV.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entities-device-sessions.mjs +579 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entities-device-sessions.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entities-identity-provider.mjs +326 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entities-identity-provider.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entities-policy.mjs +284 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entities-policy.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entities-profile.mjs +243 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entities-profile.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entities-role-permission.mjs +220 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entities-role-permission.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entities-roles.mjs +271 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entities-roles.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entities-user-role.mjs +221 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entities-user-role.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entities-users.mjs +562 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entities-users.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-acorex-platform-module-security-management-client-contracts-entity-catalog-CeqvAe30.mjs +102 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-acorex-platform-module-security-management-client-contracts-entity-catalog-CeqvAe30.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-device-sessions.entity-D5wMKRJ3.mjs +503 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-device-sessions.entity-D5wMKRJ3.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-identity-provider.entity-6LBD6MuU.mjs +250 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-identity-provider.entity-6LBD6MuU.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-policy.entity-CVsH_anF.mjs +208 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-policy.entity-CVsH_anF.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-profile.entity-B3m3wpcT.mjs +167 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-profile.entity-B3m3wpcT.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-role-permission.entity-DK99ir3U.mjs +144 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-role-permission.entity-DK99ir3U.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-roles.entity-B5PknTEu.mjs +195 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-roles.entity-B5PknTEu.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-user-role.entity-IHUWsgjf.mjs +145 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-user-role.entity-IHUWsgjf.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-users.entity-DmVp5gj1.mjs +486 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog-users.entity-DmVp5gj1.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-contracts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-security-management-client-index-Dw9MKtB1.mjs → acorex-platform-module-security-management-client-index-C1rCxs2K.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-security-management-client-index-Dw9MKtB1.mjs.map → acorex-platform-module-security-management-client-index-C1rCxs2K.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-security-management-client-local-entities.mjs +36 -0
- package/fesm2022/acorex-platform-module-security-management-client-local-entities.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-security-management-client-send-password-reset-email.command-CoQgWdya.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-security-management-client-terminate-session.command-dsU7scOK.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-security-management-client.mjs +1 -1
- package/package.json +41 -1
- package/types/acorex-platform-module-security-management-client-contracts-entities-device-sessions.d.ts +5 -0
- package/types/acorex-platform-module-security-management-client-contracts-entities-identity-provider.d.ts +5 -0
- package/types/acorex-platform-module-security-management-client-contracts-entities-policy.d.ts +5 -0
- package/types/acorex-platform-module-security-management-client-contracts-entities-profile.d.ts +5 -0
- package/types/acorex-platform-module-security-management-client-contracts-entities-role-permission.d.ts +5 -0
- package/types/acorex-platform-module-security-management-client-contracts-entities-roles.d.ts +5 -0
- package/types/acorex-platform-module-security-management-client-contracts-entities-user-role.d.ts +5 -0
- package/types/acorex-platform-module-security-management-client-contracts-entities-users.d.ts +5 -0
- package/types/acorex-platform-module-security-management-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-security-management-client-contracts.d.ts +5 -0
- package/types/acorex-platform-module-security-management-client-local-entities.d.ts +12 -0
- package/types/acorex-platform-module-security-management-client.d.ts +1 -1
- package/fesm2022/acorex-platform-module-security-management-client-acorex-platform-module-security-management-client-Wtvhs7VH.mjs.map +0 -1
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-security-management-client-contracts-entity-catalog-acorex-platform-module-security-management-client-contracts-entity-catalog-CeqvAe30.mjs';
|
|
4
|
+
|
|
5
|
+
async function profileFactory() {
|
|
6
|
+
const i18n = RootConfig.config.i18n;
|
|
7
|
+
const entityDef = {
|
|
8
|
+
module: RootConfig.module.name,
|
|
9
|
+
name: RootConfig.entities.profile.name,
|
|
10
|
+
title: RootConfig.entities.profile.title,
|
|
11
|
+
icon: RootConfig.entities.profile.icon,
|
|
12
|
+
formats: {
|
|
13
|
+
individual: RootConfig.entities.profile.title,
|
|
14
|
+
plural: RootConfig.entities.profile.titlePlural,
|
|
15
|
+
},
|
|
16
|
+
plugins: [
|
|
17
|
+
{ name: 'history' },
|
|
18
|
+
{ name: 'lock' },
|
|
19
|
+
{ name: 'compare' },
|
|
20
|
+
{ name: 'archive' },
|
|
21
|
+
],
|
|
22
|
+
relatedEntities: [],
|
|
23
|
+
groups: [
|
|
24
|
+
{
|
|
25
|
+
id: 'basic-info',
|
|
26
|
+
title: `@general:terms.interface.basic-info`,
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
id: 'contact',
|
|
30
|
+
title: `@${i18n}:contactInformation`,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
id: 'address',
|
|
34
|
+
title: `@${i18n}:addressInformation`,
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
properties: [
|
|
38
|
+
{
|
|
39
|
+
name: 'id',
|
|
40
|
+
title: "@general:terms.common.id",
|
|
41
|
+
groupId: 'basic-info',
|
|
42
|
+
schema: {
|
|
43
|
+
dataType: 'string',
|
|
44
|
+
interface: {
|
|
45
|
+
type: AXPWidgetsCatalog.text,
|
|
46
|
+
options: { readOnly: true },
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: 'username',
|
|
52
|
+
title: "@general:terms.contact.username",
|
|
53
|
+
groupId: 'basic-info',
|
|
54
|
+
schema: {
|
|
55
|
+
dataType: 'string',
|
|
56
|
+
interface: {
|
|
57
|
+
type: AXPWidgetsCatalog.text,
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
validations: [{ rule: 'required' }],
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: 'firstName',
|
|
64
|
+
title: "@general:terms.contact.first-name",
|
|
65
|
+
groupId: 'basic-info',
|
|
66
|
+
schema: {
|
|
67
|
+
dataType: 'string',
|
|
68
|
+
interface: {
|
|
69
|
+
type: AXPWidgetsCatalog.text,
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
validations: [{ rule: 'required' }],
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: 'lastName',
|
|
76
|
+
title: "@general:terms.contact.last-name",
|
|
77
|
+
groupId: 'basic-info',
|
|
78
|
+
schema: {
|
|
79
|
+
dataType: 'string',
|
|
80
|
+
interface: {
|
|
81
|
+
type: AXPWidgetsCatalog.text,
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
validations: [{ rule: 'required' }],
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: 'nationalCode',
|
|
88
|
+
title: "@security-management:profile.entities.profile.fields.national-code.title",
|
|
89
|
+
groupId: 'basic-info',
|
|
90
|
+
schema: {
|
|
91
|
+
dataType: 'string',
|
|
92
|
+
interface: {
|
|
93
|
+
type: AXPWidgetsCatalog.text,
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
validations: [
|
|
97
|
+
{ rule: 'required' },
|
|
98
|
+
{ rule: 'minLength', options: { value: 10 } },
|
|
99
|
+
{ rule: 'maxLength', options: { value: 10 } },
|
|
100
|
+
],
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
name: 'password',
|
|
104
|
+
title: "@security-management:profile.entities.profile.fields.password.title",
|
|
105
|
+
groupId: 'basic-info',
|
|
106
|
+
schema: {
|
|
107
|
+
dataType: 'string',
|
|
108
|
+
interface: {
|
|
109
|
+
type: AXPWidgetsCatalog.password,
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
validations: [{ rule: 'required' }],
|
|
113
|
+
},
|
|
114
|
+
],
|
|
115
|
+
columns: [],
|
|
116
|
+
//TODO dd
|
|
117
|
+
interfaces: {
|
|
118
|
+
master: {
|
|
119
|
+
create: {
|
|
120
|
+
sections: [{ id: 'info' }],
|
|
121
|
+
properties: [
|
|
122
|
+
{ name: 'id' },
|
|
123
|
+
{ name: 'username' },
|
|
124
|
+
{ name: 'firstName' },
|
|
125
|
+
{ name: 'lastName' },
|
|
126
|
+
{ name: 'nationalCode' },
|
|
127
|
+
{ name: 'password' },
|
|
128
|
+
],
|
|
129
|
+
},
|
|
130
|
+
update: {
|
|
131
|
+
sections: [{ id: 'info' }],
|
|
132
|
+
properties: [
|
|
133
|
+
{ name: 'id' },
|
|
134
|
+
{ name: 'username' },
|
|
135
|
+
{ name: 'firstName' },
|
|
136
|
+
{ name: 'lastName' },
|
|
137
|
+
{ name: 'nationalCode' },
|
|
138
|
+
{ name: 'password' },
|
|
139
|
+
],
|
|
140
|
+
},
|
|
141
|
+
single: {
|
|
142
|
+
title: '{{ context.eval("firstName") + " " + context.eval("lastName") }}',
|
|
143
|
+
sections: [{ id: 'info' }],
|
|
144
|
+
properties: [
|
|
145
|
+
{ name: 'id' },
|
|
146
|
+
{ name: 'username' },
|
|
147
|
+
{ name: 'firstName' },
|
|
148
|
+
{ name: 'lastName' },
|
|
149
|
+
{ name: 'nationalCode' },
|
|
150
|
+
{ name: 'password' },
|
|
151
|
+
],
|
|
152
|
+
actions: [...entityMasterRecordActions()],
|
|
153
|
+
},
|
|
154
|
+
list: {
|
|
155
|
+
actions: [
|
|
156
|
+
...entityMasterCrudActions(),
|
|
157
|
+
],
|
|
158
|
+
views: [createAllQueryView()],
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
};
|
|
163
|
+
return entityDef;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export { profileFactory };
|
|
167
|
+
//# sourceMappingURL=acorex-platform-module-security-management-client-contracts-entity-catalog-profile.entity-B3m3wpcT.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-security-management-client-contracts-entity-catalog-profile.entity-B3m3wpcT.mjs","sources":["../../../../libs/modules/security-management/contracts/src/entities/profile/profile.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function profileFactory(): Promise<AXPEntity | null> {\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.profile.name,\n title: RootConfig.entities.profile.title,\n icon: RootConfig.entities.profile.icon,\n formats: {\n individual: RootConfig.entities.profile.title,\n plural: RootConfig.entities.profile.titlePlural,\n },\n plugins: [\n { name: 'history' },\n { name: 'lock' },\n { name: 'compare' },\n { name: 'archive' },\n ],\n relatedEntities: [],\n groups: [\n {\n id: 'basic-info',\n title: `@general:terms.interface.basic-info`,\n },\n {\n id: 'contact',\n title: `@${i18n}:contactInformation`,\n },\n {\n id: 'address',\n title: `@${i18n}:addressInformation`,\n },\n ],\n properties: [\n {\n name: 'id',\n title: \"@general:terms.common.id\",\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: { readOnly: true },\n },\n },\n },\n {\n name: 'username',\n title: \"@general:terms.contact.username\",\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'firstName',\n title: \"@general:terms.contact.first-name\",\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'lastName',\n title: \"@general:terms.contact.last-name\",\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'nationalCode',\n title: \"@security-management:profile.entities.profile.fields.national-code.title\",\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n validations: [\n { rule: 'required' },\n { rule: 'minLength', options: { value: 10 } },\n { rule: 'maxLength', options: { value: 10 } },\n ],\n },\n {\n name: 'password',\n title: \"@security-management:profile.entities.profile.fields.password.title\",\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.password,\n },\n },\n validations: [{ rule: 'required' }],\n },\n ],\n columns: [],\n //TODO dd\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'info' }],\n properties: [\n { name: 'id' },\n { name: 'username' },\n { name: 'firstName' },\n { name: 'lastName' },\n { name: 'nationalCode' },\n { name: 'password' },\n ],\n },\n update: {\n sections: [{ id: 'info' }],\n properties: [\n { name: 'id' },\n { name: 'username' },\n { name: 'firstName' },\n { name: 'lastName' },\n { name: 'nationalCode' },\n { name: 'password' },\n ],\n },\n single: {\n title: '{{ context.eval(\"firstName\") + \" \" + context.eval(\"lastName\") }}',\n sections: [{ id: 'info' }],\n properties: [\n { name: 'id' },\n { name: 'username' },\n { name: 'firstName' },\n { name: 'lastName' },\n { name: 'nationalCode' },\n { name: 'password' },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [\n ...entityMasterCrudActions(),\n ],\n views: [createAllQueryView()],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAIO,eAAe,cAAc,GAAA;AAClC,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAEnC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI;AACtC,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK;AACxC,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI;AACtC,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK;AAC7C,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW;AAChD,SAAA;AACD,QAAA,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,SAAS,EAAE;YACnB,EAAE,IAAI,EAAE,MAAM,EAAE;YAChB,EAAE,IAAI,EAAE,SAAS,EAAE;YACnB,EAAE,IAAI,EAAE,SAAS,EAAE;AACpB,SAAA;AACD,QAAA,eAAe,EAAE,EAAE;AACnB,QAAA,MAAM,EAAE;AACN,YAAA;AACE,gBAAA,EAAE,EAAE,YAAY;AAChB,gBAAA,KAAK,EAAE,CAAA,mCAAA,CAAqC;AAC7C,aAAA;AACD,YAAA;AACE,gBAAA,EAAE,EAAE,SAAS;gBACb,KAAK,EAAE,CAAA,CAAA,EAAI,IAAI,CAAA,mBAAA,CAAqB;AACrC,aAAA;AACD,YAAA;AACE,gBAAA,EAAE,EAAE,SAAS;gBACb,KAAK,EAAE,CAAA,CAAA,EAAI,IAAI,CAAA,mBAAA,CAAqB;AACrC,aAAA;AACF,SA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,0 +1,144 @@
|
|
|
1
|
+
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-security-management-client-contracts-entity-catalog-acorex-platform-module-security-management-client-contracts-entity-catalog-CeqvAe30.mjs';
|
|
4
|
+
|
|
5
|
+
async function rolePermissionFactory() {
|
|
6
|
+
const i18n = RootConfig.config.i18n;
|
|
7
|
+
const entityDef = {
|
|
8
|
+
module: RootConfig.module.name,
|
|
9
|
+
name: RootConfig.entities.rolePermission.name,
|
|
10
|
+
title: RootConfig.entities.rolePermission.title,
|
|
11
|
+
icon: RootConfig.entities.rolePermission.icon,
|
|
12
|
+
formats: {
|
|
13
|
+
individual: RootConfig.entities.rolePermission.title,
|
|
14
|
+
plural: RootConfig.entities.rolePermission.titlePlural,
|
|
15
|
+
},
|
|
16
|
+
plugins: [{ name: 'history' }, { name: 'lock' }, { name: 'compare' }, { name: 'archive' }],
|
|
17
|
+
relatedEntities: [],
|
|
18
|
+
groups: [
|
|
19
|
+
{
|
|
20
|
+
id: 'basic-info',
|
|
21
|
+
title: `@general:terms.interface.basic-info`,
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
id: 'permissions',
|
|
25
|
+
title: `@${i18n}:permissions-feature.terms.permissions`,
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
properties: [
|
|
29
|
+
{
|
|
30
|
+
name: 'id',
|
|
31
|
+
title: `@general:terms.common.id`,
|
|
32
|
+
groupId: 'basic-info',
|
|
33
|
+
schema: {
|
|
34
|
+
dataType: 'string',
|
|
35
|
+
visible: false,
|
|
36
|
+
nullable: false,
|
|
37
|
+
readonly: true,
|
|
38
|
+
unique: {
|
|
39
|
+
enabled: true,
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: 'roleId',
|
|
45
|
+
title: `@${i18n}:role-permissions.entities.role-permission.fields.role.title`,
|
|
46
|
+
groupId: 'basic-info',
|
|
47
|
+
schema: {
|
|
48
|
+
dataType: 'string',
|
|
49
|
+
nullable: false,
|
|
50
|
+
interface: {
|
|
51
|
+
type: AXPWidgetsCatalog.text,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
validations: [{ rule: 'required' }],
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'permissions',
|
|
58
|
+
title: `@${i18n}:permissions-feature.terms.permissions`,
|
|
59
|
+
groupId: 'permissions',
|
|
60
|
+
schema: {
|
|
61
|
+
dataType: 'array',
|
|
62
|
+
interface: {
|
|
63
|
+
type: 'permissions-editor',
|
|
64
|
+
options: {
|
|
65
|
+
multiple: true,
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
columns: [{ name: 'roleId' }, { name: 'permissions' }],
|
|
72
|
+
interfaces: {
|
|
73
|
+
master: {
|
|
74
|
+
create: {
|
|
75
|
+
sections: [{ id: 'basic-info' }, { id: 'permissions' }],
|
|
76
|
+
properties: [
|
|
77
|
+
{
|
|
78
|
+
name: 'roleId',
|
|
79
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: 'permissions',
|
|
83
|
+
layout: {
|
|
84
|
+
label: { visible: false },
|
|
85
|
+
positions: { lg: { colSpan: 12 } },
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
},
|
|
90
|
+
update: {
|
|
91
|
+
sections: [{ id: 'basic-info' }, { id: 'permissions' }],
|
|
92
|
+
properties: [
|
|
93
|
+
{
|
|
94
|
+
name: 'roleId',
|
|
95
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
name: 'permissions',
|
|
99
|
+
layout: {
|
|
100
|
+
label: { visible: false },
|
|
101
|
+
positions: { lg: { colSpan: 12 } },
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
},
|
|
106
|
+
single: {
|
|
107
|
+
title: '{{roleId}}',
|
|
108
|
+
sections: [
|
|
109
|
+
{
|
|
110
|
+
id: 'basic-info',
|
|
111
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
id: 'permissions',
|
|
115
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
properties: [
|
|
119
|
+
{
|
|
120
|
+
name: 'roleId',
|
|
121
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
name: 'permissions',
|
|
125
|
+
layout: {
|
|
126
|
+
label: { visible: false },
|
|
127
|
+
positions: { lg: { colSpan: 12 } },
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
actions: [...entityMasterRecordActions()],
|
|
132
|
+
},
|
|
133
|
+
list: {
|
|
134
|
+
actions: [...entityMasterCrudActions()],
|
|
135
|
+
views: [createAllQueryView()],
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
};
|
|
140
|
+
return entityDef;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export { rolePermissionFactory };
|
|
144
|
+
//# sourceMappingURL=acorex-platform-module-security-management-client-contracts-entity-catalog-role-permission.entity-DK99ir3U.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-security-management-client-contracts-entity-catalog-role-permission.entity-DK99ir3U.mjs","sources":["../../../../libs/modules/security-management/contracts/src/entities/role-permission/role-permission.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function rolePermissionFactory(): Promise<AXPEntity | null> {\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.rolePermission.name,\n title: RootConfig.entities.rolePermission.title,\n icon: RootConfig.entities.rolePermission.icon,\n formats: {\n individual: RootConfig.entities.rolePermission.title,\n plural: RootConfig.entities.rolePermission.titlePlural,\n },\n plugins: [{ name: 'history' }, { name: 'lock' }, { name: 'compare' }, { name: 'archive' }],\n relatedEntities: [],\n groups: [\n {\n id: 'basic-info',\n title: `@general:terms.interface.basic-info`,\n },\n {\n id: 'permissions',\n title: `@${i18n}:permissions-feature.terms.permissions`,\n },\n ],\n properties: [\n {\n name: 'id',\n title: `@general:terms.common.id`,\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n visible: false,\n nullable: false,\n readonly: true,\n unique: {\n enabled: true,\n },\n },\n },\n {\n name: 'roleId',\n title: `@${i18n}:role-permissions.entities.role-permission.fields.role.title`,\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n nullable: false,\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'permissions',\n title: `@${i18n}:permissions-feature.terms.permissions`,\n groupId: 'permissions',\n schema: {\n dataType: 'array',\n interface: {\n type: 'permissions-editor',\n options: {\n multiple: true,\n },\n },\n },\n },\n ],\n columns: [{ name: 'roleId' }, { name: 'permissions' }],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'permissions' }],\n properties: [\n {\n name: 'roleId',\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n {\n name: 'permissions',\n layout: {\n label: { visible: false },\n positions: { lg: { colSpan: 12 } },\n },\n },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'permissions' }],\n properties: [\n {\n name: 'roleId',\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n {\n name: 'permissions',\n layout: {\n label: { visible: false },\n positions: { lg: { colSpan: 12 } },\n },\n },\n ],\n },\n single: {\n title: '{{roleId}}',\n sections: [\n {\n id: 'basic-info',\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n {\n id: 'permissions',\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n ],\n properties: [\n {\n name: 'roleId',\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n {\n name: 'permissions',\n layout: {\n label: { visible: false },\n positions: { lg: { colSpan: 12 } },\n },\n },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView()],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AASO,eAAe,qBAAqB,GAAA;AACzC,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAEnC,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,CAAC,IAAI;AAC7C,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,KAAK;AACpD,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,WAAW;AACvD,SAAA;QACD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAC1F,QAAA,eAAe,EAAE,EAAE;AACnB,QAAA,MA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AA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;"}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, AXPEntityCommandScope, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-security-management-client-contracts-entity-catalog-acorex-platform-module-security-management-client-contracts-entity-catalog-CeqvAe30.mjs';
|
|
4
|
+
|
|
5
|
+
/** Component key for the Role permissions page tab. Register via AXP_PAGE_COMPONENT_PROVIDER. */
|
|
6
|
+
const ROLE_PERMISSIONS_PAGE_COMPONENT_KEY = 'role-permissions-page';
|
|
7
|
+
|
|
8
|
+
async function rolesFactory() {
|
|
9
|
+
const i18n = RootConfig.config.i18n;
|
|
10
|
+
const entityDef = {
|
|
11
|
+
module: RootConfig.module.name,
|
|
12
|
+
name: RootConfig.entities.roles.name,
|
|
13
|
+
title: RootConfig.entities.roles.title,
|
|
14
|
+
icon: RootConfig.entities.roles.icon,
|
|
15
|
+
formats: {
|
|
16
|
+
individual: RootConfig.entities.roles.title,
|
|
17
|
+
plural: RootConfig.entities.roles.titlePlural,
|
|
18
|
+
},
|
|
19
|
+
plugins: [
|
|
20
|
+
{ name: 'history' },
|
|
21
|
+
{ name: 'lock' },
|
|
22
|
+
{ name: 'compare' },
|
|
23
|
+
{ name: 'archive' },
|
|
24
|
+
{ name: 'reports' },
|
|
25
|
+
],
|
|
26
|
+
relatedEntities: [],
|
|
27
|
+
pages: [
|
|
28
|
+
{
|
|
29
|
+
componentKey: ROLE_PERMISSIONS_PAGE_COMPONENT_KEY,
|
|
30
|
+
title: '@security-management:roles.entities.role.pages.permissions.title',
|
|
31
|
+
icon: 'fa-light fa-shield-keyhole',
|
|
32
|
+
layout: { order: 1, position: 'after' },
|
|
33
|
+
appearOn: { create: true, update: true },
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
groups: [
|
|
37
|
+
{
|
|
38
|
+
id: 'basic-info',
|
|
39
|
+
title: `@general:terms.interface.basic-info`,
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
properties: [
|
|
43
|
+
{
|
|
44
|
+
name: 'id',
|
|
45
|
+
title: `@general:terms.common.id`,
|
|
46
|
+
groupId: 'basic-info',
|
|
47
|
+
schema: {
|
|
48
|
+
dataType: 'string',
|
|
49
|
+
visible: false,
|
|
50
|
+
nullable: false,
|
|
51
|
+
readonly: true,
|
|
52
|
+
unique: {
|
|
53
|
+
enabled: true,
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: 'name',
|
|
59
|
+
title: `@general:terms.common.name`,
|
|
60
|
+
groupId: 'basic-info',
|
|
61
|
+
options: {
|
|
62
|
+
sort: { enabled: true },
|
|
63
|
+
filter: {
|
|
64
|
+
advance: { enabled: true },
|
|
65
|
+
inline: { enabled: true },
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
schema: {
|
|
69
|
+
dataType: 'string',
|
|
70
|
+
interface: {
|
|
71
|
+
type: AXPWidgetsCatalog.text,
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'title',
|
|
77
|
+
title: `@general:terms.common.title`,
|
|
78
|
+
groupId: 'basic-info',
|
|
79
|
+
options: {
|
|
80
|
+
sort: { enabled: true },
|
|
81
|
+
filter: {
|
|
82
|
+
advance: { enabled: true },
|
|
83
|
+
inline: { enabled: true },
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
schema: {
|
|
87
|
+
dataType: 'string',
|
|
88
|
+
interface: {
|
|
89
|
+
type: AXPWidgetsCatalog.text,
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: 'description',
|
|
95
|
+
title: `@general:terms.common.description`,
|
|
96
|
+
groupId: 'basic-info',
|
|
97
|
+
options: {
|
|
98
|
+
sort: { enabled: true },
|
|
99
|
+
filter: {
|
|
100
|
+
advance: { enabled: true },
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
schema: {
|
|
104
|
+
dataType: 'string',
|
|
105
|
+
interface: {
|
|
106
|
+
type: AXPWidgetsCatalog.largeText,
|
|
107
|
+
options: {
|
|
108
|
+
rows: 3,
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
columns: [{ name: 'title' }, { name: 'name' }, { name: 'description' }],
|
|
115
|
+
interfaces: {
|
|
116
|
+
master: {
|
|
117
|
+
create: {
|
|
118
|
+
sections: [{ id: 'basic-info' }],
|
|
119
|
+
properties: [
|
|
120
|
+
{
|
|
121
|
+
name: 'title',
|
|
122
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
name: 'name',
|
|
126
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
name: 'description',
|
|
130
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
},
|
|
134
|
+
update: {
|
|
135
|
+
sections: [{ id: 'basic-info' }],
|
|
136
|
+
properties: [
|
|
137
|
+
{
|
|
138
|
+
name: 'title',
|
|
139
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: 'name',
|
|
143
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: 'description',
|
|
147
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
},
|
|
151
|
+
single: {
|
|
152
|
+
title: '{{title}}',
|
|
153
|
+
sections: [
|
|
154
|
+
{
|
|
155
|
+
id: 'basic-info',
|
|
156
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
properties: [
|
|
160
|
+
{
|
|
161
|
+
name: 'title',
|
|
162
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
name: 'name',
|
|
166
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
name: 'description',
|
|
170
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
actions: [...entityMasterRecordActions()],
|
|
174
|
+
},
|
|
175
|
+
list: {
|
|
176
|
+
actions: [
|
|
177
|
+
...entityMasterCrudActions(),
|
|
178
|
+
{
|
|
179
|
+
title: `@${i18n}:permissions-feature.actions.assign.title`,
|
|
180
|
+
command: 'assign-permissions',
|
|
181
|
+
priority: 'secondary',
|
|
182
|
+
type: 'view',
|
|
183
|
+
scope: AXPEntityCommandScope.Individual,
|
|
184
|
+
},
|
|
185
|
+
],
|
|
186
|
+
views: [createAllQueryView()],
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
};
|
|
191
|
+
return entityDef;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export { rolesFactory };
|
|
195
|
+
//# sourceMappingURL=acorex-platform-module-security-management-client-contracts-entity-catalog-roles.entity-B5PknTEu.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-security-management-client-contracts-entity-catalog-roles.entity-B5PknTEu.mjs","sources":["../../../../libs/modules/security-management/contracts/src/ROLE_PERMISSIONS_PAGE_COMPONENT_KEY.ts","../../../../libs/modules/security-management/contracts/src/entities/roles/roles.entity.ts"],"sourcesContent":["/** Component key for the Role permissions page tab. Register via AXP_PAGE_COMPONENT_PROVIDER. */\nexport const ROLE_PERMISSIONS_PAGE_COMPONENT_KEY = 'role-permissions-page';\n","import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\nimport { ROLE_PERMISSIONS_PAGE_COMPONENT_KEY } from '../../ROLE_PERMISSIONS_PAGE_COMPONENT_KEY';\nimport { RootConfig } from '../../root-config';\n\nexport async function rolesFactory(): Promise<AXPEntity | null> {\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.roles.name,\n title: RootConfig.entities.roles.title,\n icon: RootConfig.entities.roles.icon,\n formats: {\n individual: RootConfig.entities.roles.title,\n plural: RootConfig.entities.roles.titlePlural,\n },\n plugins: [\n { name: 'history' },\n { name: 'lock' },\n { name: 'compare' },\n { name: 'archive' },\n { name: 'reports' },\n ],\n relatedEntities: [],\n pages: [\n {\n componentKey: ROLE_PERMISSIONS_PAGE_COMPONENT_KEY,\n title: '@security-management:roles.entities.role.pages.permissions.title',\n icon: 'fa-light fa-shield-keyhole',\n layout: { order: 1, position: 'after' },\n appearOn: { create: true, update: true },\n },\n ],\n groups: [\n {\n id: 'basic-info',\n title: `@general:terms.interface.basic-info`,\n },\n ],\n properties: [\n {\n name: 'id',\n title: `@general:terms.common.id`,\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n visible: false,\n nullable: false,\n readonly: true,\n unique: {\n enabled: true,\n },\n },\n },\n {\n name: 'name',\n title: `@general:terms.common.name`,\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'title',\n title: `@general:terms.common.title`,\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'description',\n title: `@general:terms.common.description`,\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.largeText,\n options: {\n rows: 3,\n },\n },\n },\n },\n ],\n columns: [{ name: 'title' }, { name: 'name' }, { name: 'description' }],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'title',\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n {\n name: 'name',\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n {\n name: 'description',\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'title',\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n {\n name: 'name',\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n {\n name: 'description',\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'basic-info',\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n {\n name: 'name',\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n {\n name: 'description',\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [\n ...entityMasterCrudActions(),\n {\n title: `@${i18n}:permissions-feature.actions.assign.title`,\n command: 'assign-permissions',\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [createAllQueryView()],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAAA;AACO,MAAM,mCAAmC,GAAG,uBAAuB;;ACUnE,eAAe,YAAY,GAAA;AAChC,IAAA,MAAM,I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