@acorex-platform/module-content-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.
Files changed (26) hide show
  1. package/fesm2022/acorex-platform-module-content-management-client-contracts-entities-promotion.mjs +302 -0
  2. package/fesm2022/acorex-platform-module-content-management-client-contracts-entities-promotion.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-content-management-client-contracts-entities-text-template.mjs +264 -0
  4. package/fesm2022/acorex-platform-module-content-management-client-contracts-entities-text-template.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-content-management-client-contracts-entity-catalog-acorex-platform-module-content-management-client-contracts-entity-catalog-CTui3PB-.mjs +56 -0
  6. package/fesm2022/acorex-platform-module-content-management-client-contracts-entity-catalog-acorex-platform-module-content-management-client-contracts-entity-catalog-CTui3PB-.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-content-management-client-contracts-entity-catalog-promotion.entity-DXk_WIh3.mjs +266 -0
  8. package/fesm2022/acorex-platform-module-content-management-client-contracts-entity-catalog-promotion.entity-DXk_WIh3.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-content-management-client-contracts-entity-catalog-text-template.entity-C8SFkg-E.mjs +228 -0
  10. package/fesm2022/acorex-platform-module-content-management-client-contracts-entity-catalog-text-template.entity-C8SFkg-E.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-content-management-client-contracts-entity-catalog.mjs +2 -0
  12. package/fesm2022/acorex-platform-module-content-management-client-contracts-entity-catalog.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-content-management-client-contracts.mjs.map +1 -1
  14. package/fesm2022/acorex-platform-module-content-management-client-local-entities.mjs +30 -0
  15. package/fesm2022/acorex-platform-module-content-management-client-local-entities.mjs.map +1 -0
  16. package/fesm2022/acorex-platform-module-content-management-client-permission-definition.provider-DHowV1eO.mjs.map +1 -1
  17. package/fesm2022/{acorex-platform-module-content-management-client-template-content-editor-widget-edit.component-BkSjAXjQ.mjs → acorex-platform-module-content-management-client-template-content-editor-widget-edit.component-BZUn1TiT.mjs} +2 -2
  18. package/fesm2022/{acorex-platform-module-content-management-client-template-content-editor-widget-edit.component-BkSjAXjQ.mjs.map → acorex-platform-module-content-management-client-template-content-editor-widget-edit.component-BZUn1TiT.mjs.map} +1 -1
  19. package/fesm2022/acorex-platform-module-content-management-client-template-content-editor-widget-view.component-CfupUZTI.mjs.map +1 -1
  20. package/fesm2022/acorex-platform-module-content-management-client.mjs +1 -1
  21. package/fesm2022/acorex-platform-module-content-management-client.mjs.map +1 -1
  22. package/package.json +17 -1
  23. package/types/acorex-platform-module-content-management-client-contracts-entities-promotion.d.ts +8 -0
  24. package/types/acorex-platform-module-content-management-client-contracts-entities-text-template.d.ts +5 -0
  25. package/types/acorex-platform-module-content-management-client-contracts-entity-catalog.d.ts +10 -0
  26. package/types/acorex-platform-module-content-management-client-local-entities.d.ts +12 -0
@@ -0,0 +1,56 @@
1
+ const config = {
2
+ i18n: 'content-management',
3
+ };
4
+ const RootConfig = {
5
+ config,
6
+ module: {
7
+ module: 'ContentManagement',
8
+ name: 'ContentManagement',
9
+ title: `@${config.i18n}:module.title`,
10
+ icon: 'fa-light fa-file-invoice',
11
+ },
12
+ entities: {
13
+ promotion: {
14
+ name: 'Promotion',
15
+ title: `@${config.i18n}:promotions.entities.promotion.title`,
16
+ titlePlural: `@${config.i18n}:promotions.entities.promotion.plural`,
17
+ icon: 'fa-light fa-megaphone',
18
+ },
19
+ glossary: {
20
+ name: 'Glossary',
21
+ title: `@${config.i18n}:glossaries.entities.glossary.title`,
22
+ titlePlural: `@${config.i18n}:glossaries.entities.glossary.plural`,
23
+ icon: 'fa-light fa-file',
24
+ },
25
+ textTemplate: {
26
+ name: 'TextTemplate',
27
+ title: `@${config.i18n}:templates.entities.text-template.title`,
28
+ titlePlural: `@${config.i18n}:templates.entities.text-template.plural`,
29
+ icon: 'fa-light fa-envelope',
30
+ },
31
+ },
32
+ };
33
+
34
+ //#region ----- Imports -----
35
+ //#endregion
36
+ //#region ----- Local entity catalog -----
37
+ /**
38
+ * Lazy per-entity layout factories. Do not re-export from the contracts barrel
39
+ * so RootConfig imports stay light. Server seed and client `local-entities`
40
+ * consume this catalog explicitly.
41
+ */
42
+ const contentManagementLocalEntityCatalog = {
43
+ moduleName: RootConfig.module.name,
44
+ loaders: {
45
+ [RootConfig.entities.promotion.name]: () => import('./acorex-platform-module-content-management-client-contracts-entity-catalog-promotion.entity-DXk_WIh3.mjs').then((m) => m.promotionEntityFactory()),
46
+ [RootConfig.entities.textTemplate.name]: () => import('./acorex-platform-module-content-management-client-contracts-entity-catalog-text-template.entity-C8SFkg-E.mjs').then((m) => m.textTemplateEntityFactory()),
47
+ },
48
+ };
49
+ //#endregion
50
+
51
+ /**
52
+ * Generated bundle index. Do not edit.
53
+ */
54
+
55
+ export { RootConfig as R, contentManagementLocalEntityCatalog as c };
56
+ //# sourceMappingURL=acorex-platform-module-content-management-client-contracts-entity-catalog-acorex-platform-module-content-management-client-contracts-entity-catalog-CTui3PB-.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-content-management-client-contracts-entity-catalog-acorex-platform-module-content-management-client-contracts-entity-catalog-CTui3PB-.mjs","sources":["../../../../libs/modules/content-management/contracts/src/root-config.ts","../../../../libs/modules/content-management/contracts/src/entity-catalog.ts","../../../../libs/modules/content-management/contracts/src/acorex-platform-module-content-management-client-contracts-entity-catalog.ts"],"sourcesContent":["const config = {\n i18n: 'content-management',\n};\nexport const RootConfig = {\n config,\n module: {\n module: 'ContentManagement',\n name: 'ContentManagement',\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-file-invoice',\n },\n entities: {\n promotion: {\n name: 'Promotion',\n title: `@${config.i18n}:promotions.entities.promotion.title`,\n titlePlural: `@${config.i18n}:promotions.entities.promotion.plural`,\n icon: 'fa-light fa-megaphone',\n },\n glossary: {\n name: 'Glossary', \n title: `@${config.i18n}:glossaries.entities.glossary.title`,\n titlePlural: `@${config.i18n}:glossaries.entities.glossary.plural`,\n icon: 'fa-light fa-file',\n },\n textTemplate: {\n name: 'TextTemplate',\n title: `@${config.i18n}:templates.entities.text-template.title`,\n titlePlural: `@${config.i18n}:templates.entities.text-template.plural`,\n icon: 'fa-light fa-envelope',\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 contentManagementLocalEntityCatalog: AXPLocalEntityCatalog = {\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.promotion.name]: () =>\n import('./entities/promotion/promotion.entity.js').then((m) => m.promotionEntityFactory()),\n [RootConfig.entities.textTemplate.name]: () =>\n import('./entities/text-template/text-template.entity.js').then((m) => m.textTemplateEntityFactory()),\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,oBAAoB;CAC3B;AACM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,MAAM,EAAE,mBAAmB;AAC3B,QAAA,IAAI,EAAE,mBAAmB;AACzB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,0BAA0B;AACjC,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,oCAAA,CAAsC;AAC5D,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,qCAAA,CAAuC;AACnE,YAAA,IAAI,EAAE,uBAAuB;AAC9B,SAAA;AACD,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,mCAAA,CAAqC;AAC3D,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,oCAAA,CAAsC;AAClE,YAAA,IAAI,EAAE,kBAAkB;AACzB,SAAA;AACD,QAAA,YAAY,EAAE;AACZ,YAAA,IAAI,EAAE,cAAc;AACpB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,uCAAA,CAAyC;AAC/D,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,wCAAA,CAA0C;AACtE,YAAA,IAAI,EAAE,sBAAsB;AAC7B,SAAA;AACF,KAAA;;;AC9BH;AAMA;AAEA;AAEA;;;;AAIG;AACI,MAAM,mCAAmC,GAA0B;AACxE,IAAA,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAClC,IAAA,OAAO,EAAE;AACP,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,GAAG,MACpC,OAAO,2GAA0C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,sBAAsB,EAAE,CAAC;AAC5F,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,GAAG,MACvC,OAAO,+GAAkD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,yBAAyB,EAAE,CAAC;AACxG,KAAA;;AAGH;;ACzBA;;AAEG;;"}
@@ -0,0 +1,266 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, createQueryView, entityMasterCrudActions, entityMasterViewAction, entityMasterDeleteAction, AXPEntityType } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-content-management-client-contracts-entity-catalog-acorex-platform-module-content-management-client-contracts-entity-catalog-CTui3PB-.mjs';
4
+
5
+ //#endregion
6
+ //#region ---- Entity definition factory ----
7
+ /**
8
+ * Builds the Promotion entity definition (mock/runtime parity with former module JSON seed).
9
+ */
10
+ async function promotionEntityFactory() {
11
+ const i18n = RootConfig.config.i18n;
12
+ const entityDef = {
13
+ version: 2,
14
+ plugins: [
15
+ { name: 'history' },
16
+ { name: 'lock' },
17
+ { name: 'compare' },
18
+ { name: 'comments', options: { display: 'page' } },
19
+ { name: 'distribution' },
20
+ {
21
+ name: 'status',
22
+ options: {
23
+ field: 'status',
24
+ definition: 'common.status.task',
25
+ defaultStatus: 'todo',
26
+ showInCreate: false,
27
+ },
28
+ },
29
+ { name: 'policy', options: { policy: 'test' } },
30
+ { name: 'workflow-run' },
31
+ { name: 'attachments', options: {} },
32
+ { name: 'gallery', options: { display: 'page' } },
33
+ ],
34
+ module: RootConfig.module.name,
35
+ aggregate: 'promotions',
36
+ name: RootConfig.entities.promotion.name,
37
+ type: AXPEntityType.AggregateRoot,
38
+ title: RootConfig.entities.promotion.title,
39
+ icon: RootConfig.entities.promotion.icon,
40
+ formats: {
41
+ individual: RootConfig.entities.promotion.title,
42
+ plural: RootConfig.entities.promotion.titlePlural,
43
+ searchResult: {
44
+ title: '{{ title }}',
45
+ description: RootConfig.module.title,
46
+ },
47
+ },
48
+ groups: [{ id: 'promotion', title: 'Promotion' }],
49
+ properties: [
50
+ {
51
+ name: 'id',
52
+ title: 'ID',
53
+ groupId: 'promotion',
54
+ schema: {
55
+ dataType: 'uuid',
56
+ visible: false,
57
+ nullable: false,
58
+ readonly: true,
59
+ unique: { enabled: true },
60
+ },
61
+ },
62
+ {
63
+ name: 'createdAt',
64
+ title: '@general:terms.datetime.created-at',
65
+ groupId: 'promotion',
66
+ schema: {
67
+ dataType: 'dateTime',
68
+ nullable: true,
69
+ readonly: true,
70
+ interface: {
71
+ type: AXPWidgetsList.Editors.DateTimeBox,
72
+ options: { readonly: true },
73
+ },
74
+ },
75
+ options: {
76
+ sort: { enabled: true },
77
+ },
78
+ },
79
+ {
80
+ name: 'title',
81
+ title: '@general:terms.common.title',
82
+ description: 'Promotion title',
83
+ groupId: 'promotion',
84
+ options: {
85
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
86
+ sort: { enabled: true },
87
+ },
88
+ schema: {
89
+ dataType: 'string',
90
+ interface: {
91
+ type: AXPWidgetsList.Editors.TextBox,
92
+ options: { maxLength: 100 },
93
+ },
94
+ },
95
+ validations: [{ rule: 'required' }],
96
+ },
97
+ {
98
+ name: 'body',
99
+ title: `@${i18n}:promotions.entities.promotion.fields.body.title`,
100
+ description: 'Promotion body content',
101
+ groupId: 'promotion',
102
+ schema: {
103
+ dataType: 'string',
104
+ interface: {
105
+ type: AXPWidgetsList.Editors.RichText,
106
+ },
107
+ nullable: true,
108
+ },
109
+ },
110
+ {
111
+ name: 'contentType',
112
+ title: `@${i18n}:promotions.entities.promotion.fields.content-type.title`,
113
+ description: 'Type of content (Media or Text)',
114
+ groupId: 'promotion',
115
+ schema: {
116
+ dataType: 'object',
117
+ nullable: true,
118
+ interface: {
119
+ type: AXPWidgetsList.Editors.SelectBox,
120
+ options: {
121
+ valueField: 'name',
122
+ textField: 'title',
123
+ dataSource: [
124
+ { title: 'Media', name: 'media' },
125
+ { title: 'Text', name: 'text' },
126
+ ],
127
+ direction: 'horizontal',
128
+ multiple: false,
129
+ },
130
+ },
131
+ },
132
+ },
133
+ {
134
+ name: 'shape',
135
+ title: `@${i18n}:promotions.entities.promotion.fields.shape.title`,
136
+ description: 'Display shape for media promotions',
137
+ groupId: 'promotion',
138
+ schema: {
139
+ dataType: 'object',
140
+ nullable: true,
141
+ interface: {
142
+ type: AXPWidgetsList.Editors.SelectBox,
143
+ options: {
144
+ valueField: 'name',
145
+ textField: 'title',
146
+ dataSource: [
147
+ { title: 'Rectangle', name: 'rectangle' },
148
+ { title: 'Circle', name: 'circle' },
149
+ ],
150
+ direction: 'horizontal',
151
+ multiple: false,
152
+ },
153
+ },
154
+ },
155
+ },
156
+ {
157
+ name: 'placement',
158
+ title: `@${i18n}:promotions.entities.promotion.fields.placement.title`,
159
+ description: 'Where the promotion is displayed',
160
+ groupId: 'promotion',
161
+ options: {
162
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
163
+ sort: { enabled: true },
164
+ },
165
+ schema: {
166
+ dataType: 'object',
167
+ nullable: true,
168
+ interface: {
169
+ type: AXPWidgetsList.Editors.SelectBox,
170
+ options: {
171
+ valueField: 'name',
172
+ textField: 'title',
173
+ dataSource: [
174
+ { title: 'Side Menu Footer', name: 'side-menu-footer', options: [] },
175
+ { title: 'Side Menu Header', name: 'side-menu-header', options: [] },
176
+ ],
177
+ direction: 'horizontal',
178
+ multiple: false,
179
+ },
180
+ },
181
+ },
182
+ },
183
+ ],
184
+ columns: [{ name: 'title' }, { name: 'placement' }, { name: 'createdAt' }],
185
+ interfaces: {
186
+ master: {
187
+ create: {
188
+ sections: [{ id: 'promotion' }],
189
+ properties: [
190
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
191
+ { name: 'body', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
192
+ { name: 'contentType', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
193
+ { name: 'shape', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
194
+ { name: 'placement', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
195
+ ],
196
+ },
197
+ update: {
198
+ sections: [{ id: 'promotion' }],
199
+ properties: [
200
+ { name: 'createdAt', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
201
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
202
+ { name: 'body', layout: { positions: { lg: { colSpan: 12, order: 6 } } } },
203
+ { name: 'contentType', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
204
+ { name: 'shape', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
205
+ { name: 'placement', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },
206
+ ],
207
+ },
208
+ single: {
209
+ title: '{{title}}',
210
+ sections: [{ id: 'promotion' }],
211
+ properties: [
212
+ { name: 'createdAt', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
213
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
214
+ { name: 'body', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
215
+ { name: 'contentType', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },
216
+ { name: 'shape', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },
217
+ { name: 'placement', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
218
+ ],
219
+ actions: [
220
+ { ...entityMasterViewAction(), default: true },
221
+ entityMasterDeleteAction(),
222
+ ],
223
+ },
224
+ list: {
225
+ title: RootConfig.entities.promotion.titlePlural,
226
+ actions: [...entityMasterCrudActions()],
227
+ views: [
228
+ createAllQueryView({
229
+ sorts: [
230
+ { name: 'title', dir: 'asc' },
231
+ { name: 'createdAt', dir: 'desc' },
232
+ ],
233
+ }),
234
+ createQueryView('media', `@${i18n}:promotions.terms.media`, true, {
235
+ columns: [],
236
+ conditions: [
237
+ {
238
+ name: 'contentType.name',
239
+ operator: { type: 'equal' },
240
+ value: 'media',
241
+ },
242
+ ],
243
+ sorts: [],
244
+ }),
245
+ createQueryView('text', `@${i18n}:promotions.terms.text`, true, {
246
+ columns: [],
247
+ conditions: [
248
+ {
249
+ name: 'contentType.name',
250
+ operator: { type: 'equal' },
251
+ value: 'text',
252
+ },
253
+ ],
254
+ sorts: [],
255
+ }),
256
+ ],
257
+ },
258
+ },
259
+ },
260
+ };
261
+ return entityDef;
262
+ }
263
+ //#endregion
264
+
265
+ export { promotionEntityFactory };
266
+ //# sourceMappingURL=acorex-platform-module-content-management-client-contracts-entity-catalog-promotion.entity-DXk_WIh3.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-content-management-client-contracts-entity-catalog-promotion.entity-DXk_WIh3.mjs","sources":["../../../../libs/modules/content-management/contracts/src/entities/promotion/promotion.entity.ts"],"sourcesContent":["import { AXPSystemActionType, AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, AXPEntityCommandScope, AXPEntityType, type AXPEntityV2, createAllQueryView, createQueryView, entityMasterCrudActions, entityMasterDeleteAction, entityMasterViewAction } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity definition factory ----\n\n/**\n * Builds the Promotion entity definition (mock/runtime parity with former module JSON seed).\n */\nexport async function promotionEntityFactory(): Promise<AXPEntity | null> {\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntityV2 = {\n version: 2,\n plugins: [\n { name: 'history' },\n { name: 'lock' },\n { name: 'compare' },\n { name: 'comments', options: { display: 'page' } },\n { name: 'distribution' },\n {\n name: 'status',\n options: {\n field: 'status',\n definition: 'common.status.task',\n defaultStatus: 'todo',\n showInCreate: false,\n },\n },\n { name: 'policy', options: { policy: 'test' } },\n { name: 'workflow-run' },\n { name: 'attachments', options: { } },\n { name: 'gallery', options: { display: 'page' } },\n ],\n module: RootConfig.module.name,\n aggregate: 'promotions',\n name: RootConfig.entities.promotion.name,\n type: AXPEntityType.AggregateRoot,\n title: RootConfig.entities.promotion.title,\n icon: RootConfig.entities.promotion.icon,\n formats: {\n individual: RootConfig.entities.promotion.title,\n plural: RootConfig.entities.promotion.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n groups: [{ id: 'promotion', title: 'Promotion' }],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'promotion',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'createdAt',\n title: '@general:terms.datetime.created-at',\n groupId: 'promotion',\n schema: {\n dataType: 'dateTime',\n nullable: true,\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: { readonly: true },\n },\n },\n options: {\n sort: { enabled: true },\n },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n description: 'Promotion title',\n groupId: 'promotion',\n options: {\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n sort: { enabled: true },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: { maxLength: 100 },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'body',\n title: `@${i18n}:promotions.entities.promotion.fields.body.title`,\n description: 'Promotion body content',\n groupId: 'promotion',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.RichText,\n },\n nullable: true,\n },\n },\n {\n name: 'contentType',\n title: `@${i18n}:promotions.entities.promotion.fields.content-type.title`,\n description: 'Type of content (Media or Text)',\n groupId: 'promotion',\n schema: {\n dataType: 'object',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'name',\n textField: 'title',\n dataSource: [\n { title: 'Media', name: 'media' },\n { title: 'Text', name: 'text' },\n ],\n direction: 'horizontal',\n multiple: false,\n },\n },\n },\n },\n {\n name: 'shape',\n title: `@${i18n}:promotions.entities.promotion.fields.shape.title`,\n description: 'Display shape for media promotions',\n groupId: 'promotion',\n schema: {\n dataType: 'object',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'name',\n textField: 'title',\n dataSource: [\n { title: 'Rectangle', name: 'rectangle' },\n { title: 'Circle', name: 'circle' },\n ],\n direction: 'horizontal',\n multiple: false,\n },\n },\n },\n },\n {\n name: 'placement',\n title: `@${i18n}:promotions.entities.promotion.fields.placement.title`,\n description: 'Where the promotion is displayed',\n groupId: 'promotion',\n options: {\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n sort: { enabled: true },\n },\n schema: {\n dataType: 'object',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'name',\n textField: 'title',\n dataSource: [\n { title: 'Side Menu Footer', name: 'side-menu-footer', options: [] },\n { title: 'Side Menu Header', name: 'side-menu-header', options: [] },\n ],\n direction: 'horizontal',\n multiple: false,\n },\n },\n },\n },\n ],\n columns: [{ name: 'title' }, { name: 'placement' }, { name: 'createdAt' }],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'promotion' }],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'body', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n { name: 'contentType', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'shape', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'placement', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n ],\n },\n update: {\n sections: [{ id: 'promotion' }],\n properties: [\n { name: 'createdAt', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'body', layout: { positions: { lg: { colSpan: 12, order: 6 } } } },\n { name: 'contentType', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'shape', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'placement', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [{ id: 'promotion' }],\n properties: [\n { name: 'createdAt', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'body', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'contentType', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },\n { name: 'shape', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n { name: 'placement', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n ],\n actions: [\n { ...entityMasterViewAction(), default: true },\n entityMasterDeleteAction(),\n ],\n },\n list: {\n title: RootConfig.entities.promotion.titlePlural,\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [\n { name: 'title', dir: 'asc' },\n { name: 'createdAt', dir: 'desc' },\n ],\n }),\n createQueryView('media', `@${i18n}:promotions.terms.media`, true, {\n columns: [],\n conditions: [\n {\n name: 'contentType.name',\n operator: { type: 'equal' },\n value: 'media',\n },\n ],\n sorts: [],\n }),\n createQueryView('text', `@${i18n}:promotions.terms.text`, true, {\n columns: [],\n conditions: [\n {\n name: 'contentType.name',\n operator: { type: 'equal' },\n value: 'text',\n },\n ],\n sorts: [],\n }),\n ],\n },\n },\n },\n } as AXPEntityV2;\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEA;;AAEG;AACI,eAAe,sBAAsB,GAAA;AAC1C,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAEnC,IAAA,MAAM,SAAS,GAAgB;AAC7B,QAAA,OAAO,EAAE,CAAC;AACV,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,UAAU,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;YAClD,EAAE,IAAI,EAAE,cAAc,EAAE;AACxB,YAAA;AACE,gBAAA,IAAI,EAAE,QAAQ;AACd,gBAAA,OAAO,EAAE;AACP,oBAAA,KAAK,EAAE,QAAQ;AACf,oBAAA,UAAU,EAAE,oBAAoB;AAChC,oBAAA,aAAa,EAAE,MAAM;AACrB,oBAAA,YAAY,EAAE,KAAK;AACpB,iBAAA;AACF,aAAA;YACD,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,M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@@ -0,0 +1,228 @@
1
+ import { AXPWidgetsList } 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-content-management-client-contracts-entity-catalog-acorex-platform-module-content-management-client-contracts-entity-catalog-CTui3PB-.mjs';
4
+
5
+ /** Template kind: content (leaf message) or master (layout shell with `[content]`). */
6
+ const AXM_TEXT_TEMPLATE_KIND = {
7
+ Content: 'content',
8
+ Master: 'master',
9
+ };
10
+ /** Print / PDF channel key on `channels` (rich body, no subject). */
11
+ const AXM_TEXT_TEMPLATE_PRINT_CHANNEL = 'print';
12
+ /** Reserved body slot for child template body injection (not a `{{token}}` variable). */
13
+ const AXM_TEXT_TEMPLATE_CONTENT_SLOT = '[content]';
14
+ /** Max `parentId` chain length (leaf → … → root), including the leaf. */
15
+ const AXM_TEXT_TEMPLATE_MAX_PARENT_DEPTH = 5;
16
+ //#endregion
17
+
18
+ //#endregion
19
+ async function textTemplateEntityFactory() {
20
+ const i18n = RootConfig.config.i18n;
21
+ const entityName = `${RootConfig.module.name}.${RootConfig.entities.textTemplate.name}`;
22
+ const entityDef = {
23
+ plugins: [
24
+ { name: 'history' },
25
+ { name: 'lock' },
26
+ { name: 'compare' },
27
+ { name: 'category' },
28
+ { name: 'archive' },
29
+ ],
30
+ module: RootConfig.module.name,
31
+ name: RootConfig.entities.textTemplate.name,
32
+ title: RootConfig.entities.textTemplate.title,
33
+ icon: RootConfig.entities.textTemplate.icon,
34
+ formats: {
35
+ individual: RootConfig.entities.textTemplate.title,
36
+ plural: RootConfig.entities.textTemplate.titlePlural,
37
+ searchResult: {
38
+ title: '{{ title }}',
39
+ description: RootConfig.module.title,
40
+ },
41
+ },
42
+ relatedEntities: [],
43
+ groups: [
44
+ { id: 'basic-info', title: '@general:terms.interface.basic-info' },
45
+ {
46
+ id: 'template-content',
47
+ title: `@${i18n}:templates.entities.text-template.groups.template-content`,
48
+ },
49
+ ],
50
+ properties: [
51
+ {
52
+ name: 'id',
53
+ title: 'ID',
54
+ schema: {
55
+ dataType: 'uuid',
56
+ visible: false,
57
+ nullable: false,
58
+ readonly: true,
59
+ unique: { enabled: true },
60
+ },
61
+ },
62
+ {
63
+ name: 'title',
64
+ title: '@general:terms.common.title',
65
+ groupId: 'basic-info',
66
+ options: {
67
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
68
+ sort: { enabled: true },
69
+ },
70
+ schema: {
71
+ dataType: 'string',
72
+ interface: {
73
+ type: AXPWidgetsList.Editors.TextBox,
74
+ options: {
75
+ placeholder: '@content-management:templates.entities.text-template.fields.title.placeholder',
76
+ multiLanguage: true,
77
+ },
78
+ },
79
+ },
80
+ validations: [
81
+ { rule: 'required' },
82
+ { rule: 'minLength', options: { value: 3 } },
83
+ { rule: 'maxLength', options: { value: 100 } },
84
+ ],
85
+ },
86
+ {
87
+ name: 'kind',
88
+ title: `@${i18n}:templates.entities.text-template.fields.kind.title`,
89
+ groupId: 'basic-info',
90
+ options: {
91
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
92
+ sort: { enabled: true },
93
+ },
94
+ schema: {
95
+ dataType: 'string',
96
+ defaultValue: AXM_TEXT_TEMPLATE_KIND.Content,
97
+ interface: {
98
+ type: AXPWidgetsList.Editors.SelectBox,
99
+ options: {
100
+ dataSource: [
101
+ {
102
+ value: AXM_TEXT_TEMPLATE_KIND.Content,
103
+ title: `@${i18n}:templates.entities.text-template.fields.kind.options.content`,
104
+ },
105
+ {
106
+ value: AXM_TEXT_TEMPLATE_KIND.Master,
107
+ title: `@${i18n}:templates.entities.text-template.fields.kind.options.master`,
108
+ },
109
+ ],
110
+ valueField: 'value',
111
+ textField: 'title',
112
+ },
113
+ },
114
+ },
115
+ validations: [{ rule: 'required' }],
116
+ },
117
+ {
118
+ name: 'parentId',
119
+ title: `@${i18n}:templates.entities.text-template.fields.parent-id.title`,
120
+ groupId: 'basic-info',
121
+ options: {
122
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
123
+ sort: { enabled: true },
124
+ },
125
+ schema: {
126
+ dataType: 'string',
127
+ nullable: true,
128
+ interface: {
129
+ type: AXPWidgetsList.Editors.LookupBox,
130
+ options: {
131
+ entity: entityName,
132
+ textField: 'title',
133
+ valueField: 'id',
134
+ look: 'select',
135
+ expose: [
136
+ { source: 'id', target: 'parent.id' },
137
+ { source: 'title', target: 'parent.title' },
138
+ ],
139
+ filter: {
140
+ logic: 'and',
141
+ filters: [
142
+ {
143
+ field: 'kind',
144
+ operator: { type: 'equal' },
145
+ value: AXM_TEXT_TEMPLATE_KIND.Master,
146
+ },
147
+ ],
148
+ },
149
+ },
150
+ },
151
+ },
152
+ },
153
+ {
154
+ name: 'parent',
155
+ title: `@${i18n}:templates.entities.text-template.fields.parent.title`,
156
+ schema: { dataType: 'object', visible: false, readonly: true },
157
+ },
158
+ {
159
+ name: 'channels',
160
+ title: '@content-management:templates.entities.text-template.fields.channels.title',
161
+ groupId: 'template-content',
162
+ schema: {
163
+ dataType: 'object',
164
+ interface: {
165
+ type: AXPWidgetsList.Editors.TemplateContentEditor,
166
+ },
167
+ },
168
+ validations: [{ rule: 'required' }],
169
+ },
170
+ ],
171
+ columns: [{ name: 'title' }, { name: 'kind' }],
172
+ interfaces: {
173
+ master: {
174
+ create: {
175
+ sections: [
176
+ { id: 'basic-info' },
177
+ { id: 'template-content' },
178
+ ],
179
+ properties: [
180
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
181
+ { name: 'kind', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
182
+ { name: 'parentId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
183
+ { name: 'channels', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 4 } } } },
184
+ ],
185
+ },
186
+ update: {
187
+ sections: [
188
+ { id: 'basic-info' },
189
+ { id: 'template-content' },
190
+ ],
191
+ properties: [
192
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
193
+ { name: 'kind', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
194
+ { name: 'parentId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
195
+ { name: 'channels', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 4 } } } },
196
+ ],
197
+ },
198
+ single: {
199
+ title: '{{ title }}',
200
+ sections: [
201
+ { id: 'basic-info' },
202
+ { id: 'template-content' },
203
+ ],
204
+ properties: [
205
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
206
+ { name: 'kind', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
207
+ { name: 'parentId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
208
+ { name: 'channels', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 4 } } } },
209
+ ],
210
+ actions: [...entityMasterRecordActions()],
211
+ },
212
+ list: {
213
+ title: RootConfig.entities.textTemplate.titlePlural,
214
+ actions: [...entityMasterCrudActions()],
215
+ views: [
216
+ createAllQueryView({
217
+ sorts: [{ name: 'title', dir: 'asc' }],
218
+ }),
219
+ ],
220
+ },
221
+ },
222
+ },
223
+ };
224
+ return entityDef;
225
+ }
226
+
227
+ export { textTemplateEntityFactory };
228
+ //# sourceMappingURL=acorex-platform-module-content-management-client-contracts-entity-catalog-text-template.entity-C8SFkg-E.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-content-management-client-contracts-entity-catalog-text-template.entity-C8SFkg-E.mjs","sources":["../../../../libs/modules/content-management/contracts/src/entities/text-template/text-template.types.ts","../../../../libs/modules/content-management/contracts/src/entities/text-template/text-template.entity.ts"],"sourcesContent":["import { AXPCategoryListItem, AXPMultiLanguageString, type AXPPlatformScopeKey } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n\n//#region ----- Types -----\n\n/** Stored value: { email: { subject?, body }, sms: { body }, ... } */\nexport interface AXMTextTemplateChannelsValue {\n [channelName: string]: {\n subject?: AXPMultiLanguageString;\n body: AXPMultiLanguageString;\n };\n}\n\nexport type AXMTextTemplateChannelEditorType = 'plain' | 'rich';\n\nexport interface AXMTextTemplateChannelConfigureSettings {\n /** Settings definition section name (e.g. `smtp-settings`). */\n section: string;\n /** Optional parent group when section names are not unique. */\n group?: string;\n scope: AXPPlatformScopeKey;\n}\n\nexport interface AXMTextTemplateChannelDefinition {\n name: string;\n title: string;\n type: AXMTextTemplateChannelEditorType;\n hasSubject?: boolean;\n communicationChannelKey?: string;\n requiredSettingKeys?: string[];\n configureSettings?: AXMTextTemplateChannelConfigureSettings;\n notConfiguredMessageKey?: string;\n}\n\nexport interface AXMTextTemplateChannelDefinitionProvider {\n getChannels(): AXMTextTemplateChannelDefinition[];\n}\n\n/** Template kind: content (leaf message) or master (layout shell with `[content]`). */\nexport const AXM_TEXT_TEMPLATE_KIND = {\n Content: 'content',\n Master: 'master',\n} as const;\n\nexport type AXMTextTemplateKind = (typeof AXM_TEXT_TEMPLATE_KIND)[keyof typeof AXM_TEXT_TEMPLATE_KIND];\n\n/** Print / PDF channel key on `channels` (rich body, no subject). */\nexport const AXM_TEXT_TEMPLATE_PRINT_CHANNEL = 'print' as const;\n\n/** Reserved body slot for child template body injection (not a `{{token}}` variable). */\nexport const AXM_TEXT_TEMPLATE_CONTENT_SLOT = '[content]' as const;\n\n/** Max `parentId` chain length (leaf → … → root), including the leaf. */\nexport const AXM_TEXT_TEMPLATE_MAX_PARENT_DEPTH = 5;\n\nexport interface AXMTextTemplateEntityModel extends AXPEntityModel<string> {\n title?: AXPMultiLanguageString;\n /** `content` (default) or `master` layout template. */\n kind?: AXMTextTemplateKind;\n /** Optional parent master template id (multi-level nesting supported). */\n parentId?: string | null;\n /** Join snapshot for `parentId` lookup. */\n parent?: { id?: string; title?: AXPMultiLanguageString | string } | null;\n channels?: AXMTextTemplateChannelsValue;\n categoryIds?: string[];\n categories?: AXPCategoryListItem[];\n}\n\n//#endregion\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ----- Imports -----\nimport { RootConfig } from '../../root-config';\nimport { AXM_TEXT_TEMPLATE_KIND } from './text-template.types';\n\n\n//#endregion\n\nexport async function textTemplateEntityFactory(): Promise<AXPEntity | null> {\n const i18n = RootConfig.config.i18n;\n const entityName = `${RootConfig.module.name}.${RootConfig.entities.textTemplate.name}`;\n\n const entityDef: AXPEntity = {\n plugins: [\n { name: 'history' },\n { name: 'lock' },\n { name: 'compare' },\n { name: 'category' },\n { name: 'archive' },\n ],\n module: RootConfig.module.name,\n name: RootConfig.entities.textTemplate.name,\n title: RootConfig.entities.textTemplate.title,\n icon: RootConfig.entities.textTemplate.icon,\n formats: {\n individual: RootConfig.entities.textTemplate.title,\n plural: RootConfig.entities.textTemplate.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n relatedEntities: [],\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n {\n id: 'template-content',\n title: `@${i18n}:templates.entities.text-template.groups.template-content`,\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n sort: { enabled: true },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@content-management:templates.entities.text-template.fields.title.placeholder',\n multiLanguage: true,\n },\n },\n },\n validations: [\n { rule: 'required' },\n { rule: 'minLength', options: { value: 3 } },\n { rule: 'maxLength', options: { value: 100 } },\n ],\n },\n {\n name: 'kind',\n title: `@${i18n}:templates.entities.text-template.fields.kind.title`,\n groupId: 'basic-info',\n options: {\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n sort: { enabled: true },\n },\n schema: {\n dataType: 'string',\n defaultValue: AXM_TEXT_TEMPLATE_KIND.Content,\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n dataSource: [\n {\n value: AXM_TEXT_TEMPLATE_KIND.Content,\n title: `@${i18n}:templates.entities.text-template.fields.kind.options.content`,\n },\n {\n value: AXM_TEXT_TEMPLATE_KIND.Master,\n title: `@${i18n}:templates.entities.text-template.fields.kind.options.master`,\n },\n ],\n valueField: 'value',\n textField: 'title',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'parentId',\n title: `@${i18n}:templates.entities.text-template.fields.parent-id.title`,\n groupId: 'basic-info',\n options: {\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n sort: { enabled: true },\n },\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: entityName,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'parent.id' },\n { source: 'title', target: 'parent.title' },\n ],\n filter: {\n logic: 'and',\n filters: [\n {\n field: 'kind',\n operator: { type: 'equal' },\n value: AXM_TEXT_TEMPLATE_KIND.Master,\n },\n ],\n },\n },\n },\n },\n },\n {\n name: 'parent',\n title: `@${i18n}:templates.entities.text-template.fields.parent.title`,\n schema: { dataType: 'object', visible: false, readonly: true },\n },\n {\n name: 'channels',\n title: '@content-management:templates.entities.text-template.fields.channels.title',\n groupId: 'template-content',\n schema: {\n dataType: 'object',\n interface: {\n type: AXPWidgetsList.Editors.TemplateContentEditor,\n },\n },\n validations: [{ rule: 'required' }],\n },\n ],\n columns: [{ name: 'title' }, { name: 'kind' }],\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'basic-info' },\n { id: 'template-content' },\n ],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'kind', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'parentId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'channels', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 4 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'basic-info' },\n { id: 'template-content' },\n ],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'kind', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'parentId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'channels', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 4 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info' },\n { id: 'template-content' },\n ],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'kind', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'parentId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'channels', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 4 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n title: RootConfig.entities.textTemplate.titlePlural,\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'title', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAsCA;AACO,MAAM,sBAAsB,GAAG;AACpC,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,MAAM,EAAE,QAAQ;CACR;AAIV;AACO,MAAM,+BAA+B,GAAG,OAAgB;AAE/D;AACO,MAAM,8BAA8B,GAAG,WAAoB;AAElE;AACO,MAAM,kCAAkC,GAAG,CAAC;AAenD;;AC7DA;AAEO,eAAe,yBAAyB,GAAA;AAC7C,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AACnC,IAAA,MAAM,UAAU,GAAG,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,CA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O,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBACzE,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAC7E,wBAAA,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAC1G,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,WAAW;AACnD,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;AACvC,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC;4BACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACvC,CAAC;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;"}
@@ -0,0 +1,2 @@
1
+ export { c as contentManagementLocalEntityCatalog } from './acorex-platform-module-content-management-client-contracts-entity-catalog-acorex-platform-module-content-management-client-contracts-entity-catalog-CTui3PB-.mjs';
2
+ //# sourceMappingURL=acorex-platform-module-content-management-client-contracts-entity-catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-content-management-client-contracts-entity-catalog.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}