@acorex-platform/module-business-core-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 (51) hide show
  1. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-business-status.mjs +203 -0
  2. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-business-status.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-business-type.mjs +203 -0
  4. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-business-type.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-industry.mjs +203 -0
  6. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-industry.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-lifecycle-stage.mjs +170 -0
  8. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-lifecycle-stage.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-manufacturer.mjs +350 -0
  10. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-manufacturer.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party-segment.mjs +184 -0
  12. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party-segment.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party-type.mjs +197 -0
  14. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party-type.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party.mjs +392 -0
  16. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-acorex-platform-module-business-core-client-contracts-entity-catalog-CgsGPgV1.mjs +92 -0
  18. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-acorex-platform-module-business-core-client-contracts-entity-catalog-CgsGPgV1.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-business-status.entity-DsqWCkLU.mjs +137 -0
  20. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-business-status.entity-DsqWCkLU.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-business-type.entity-wK3D1WEc.mjs +137 -0
  22. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-business-type.entity-wK3D1WEc.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-industry.entity-DBEKleao.mjs +137 -0
  24. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-industry.entity-DBEKleao.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-lifecycle-stage.entity-BWPn1XnS.mjs +104 -0
  26. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-lifecycle-stage.entity-BWPn1XnS.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-manufacturer.entity-CAd01aKL.mjs +284 -0
  28. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-manufacturer.entity-CAd01aKL.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party-segment.entity-WNUL6gHc.mjs +118 -0
  30. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party-segment.entity-WNUL6gHc.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party-type.entity-9PmLR0SV.mjs +131 -0
  32. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party-type.entity-9PmLR0SV.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party.entity-8vs-i3_r.mjs +326 -0
  34. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party.entity-8vs-i3_r.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog.mjs +2 -0
  36. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-business-core-client-contracts.mjs.map +1 -1
  38. package/fesm2022/acorex-platform-module-business-core-client-local-entities.mjs +36 -0
  39. package/fesm2022/acorex-platform-module-business-core-client-local-entities.mjs.map +1 -0
  40. package/fesm2022/acorex-platform-module-business-core-client.mjs.map +1 -1
  41. package/package.json +43 -1
  42. package/types/acorex-platform-module-business-core-client-contracts-entities-business-status.d.ts +5 -0
  43. package/types/acorex-platform-module-business-core-client-contracts-entities-business-type.d.ts +5 -0
  44. package/types/acorex-platform-module-business-core-client-contracts-entities-industry.d.ts +5 -0
  45. package/types/acorex-platform-module-business-core-client-contracts-entities-lifecycle-stage.d.ts +5 -0
  46. package/types/acorex-platform-module-business-core-client-contracts-entities-manufacturer.d.ts +5 -0
  47. package/types/acorex-platform-module-business-core-client-contracts-entities-party-segment.d.ts +5 -0
  48. package/types/acorex-platform-module-business-core-client-contracts-entities-party-type.d.ts +5 -0
  49. package/types/acorex-platform-module-business-core-client-contracts-entities-party.d.ts +5 -0
  50. package/types/acorex-platform-module-business-core-client-contracts-entity-catalog.d.ts +10 -0
  51. package/types/acorex-platform-module-business-core-client-local-entities.d.ts +12 -0
@@ -0,0 +1,184 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+
4
+ const config = {
5
+ i18n: 'business-core',
6
+ module: 'BusinessCore',
7
+ };
8
+ const RootConfig = {
9
+ config,
10
+ module: {
11
+ name: config.module,
12
+ title: `@${config.i18n}:module.title`,
13
+ icon: 'fa-light fa-building',
14
+ },
15
+ entities: {
16
+ manufacturer: {
17
+ name: 'Manufacturer',
18
+ title: `@${config.i18n}:manufacturers.entities.manufacturer.title`,
19
+ titlePlural: `@${config.i18n}:manufacturers.entities.manufacturer.plural`,
20
+ icon: 'fa-light fa-industry',
21
+ },
22
+ industry: {
23
+ name: 'Industry',
24
+ title: `@${config.i18n}:industries.entities.industry.title`,
25
+ titlePlural: `@${config.i18n}:industries.entities.industry.plural`,
26
+ icon: 'fa-light fa-chart-line',
27
+ },
28
+ businessType: {
29
+ name: 'BusinessType',
30
+ title: `@${config.i18n}:business-types.entities.business-type.title`,
31
+ titlePlural: `@${config.i18n}:business-types.entities.business-type.plural`,
32
+ icon: 'fa-light fa-briefcase',
33
+ },
34
+ businessStatus: {
35
+ name: 'BusinessStatus',
36
+ title: `@${config.i18n}:business-statuses.entities.business-status.title`,
37
+ titlePlural: `@${config.i18n}:business-statuses.entities.business-status.plural`,
38
+ icon: 'fa-light fa-circle-check',
39
+ },
40
+ partyType: {
41
+ name: 'PartyType',
42
+ title: `@${config.i18n}:party-types.entities.party-type.title`,
43
+ titlePlural: `@${config.i18n}:party-types.entities.party-type.plural`,
44
+ icon: 'fa-light fa-tag',
45
+ },
46
+ partySegment: {
47
+ name: 'PartySegment',
48
+ title: `@${config.i18n}:party-segments.entities.party-segment.title`,
49
+ titlePlural: `@${config.i18n}:party-segments.entities.party-segment.plural`,
50
+ icon: 'fa-light fa-chart-pie',
51
+ },
52
+ lifecycleStage: {
53
+ name: 'LifecycleStage',
54
+ title: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.title`,
55
+ titlePlural: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.plural`,
56
+ icon: 'fa-light fa-timeline',
57
+ },
58
+ party: {
59
+ name: 'Party',
60
+ title: `@${config.i18n}:parties.entities.party.title`,
61
+ titlePlural: `@${config.i18n}:parties.entities.party.plural`,
62
+ icon: 'fa-light fa-building',
63
+ },
64
+ },
65
+ };
66
+
67
+ //#endregion
68
+ //#region ---- Entity Factory ----
69
+ async function partySegmentFactory() {
70
+ const sections = [
71
+ { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
72
+ { id: 'appearance', layout: { positions: { lg: { colSpan: 12 } } } },
73
+ ];
74
+ const propertyLayouts = [
75
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
76
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
77
+ { name: 'color', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
78
+ ];
79
+ const entityDef = {
80
+ module: RootConfig.module.name,
81
+ name: RootConfig.entities.partySegment.name,
82
+ title: RootConfig.entities.partySegment.title,
83
+ icon: RootConfig.entities.partySegment.icon,
84
+ formats: {
85
+ individual: RootConfig.entities.partySegment.title,
86
+ plural: RootConfig.entities.partySegment.titlePlural,
87
+ searchResult: {
88
+ title: '{{ title }}',
89
+ description: RootConfig.module.title,
90
+ },
91
+ },
92
+ plugins: [{ name: 'color' }, { name: 'archive' }],
93
+ groups: [
94
+ { id: 'basic-info', title: '@business-core:party-segments.entities.party-segment.groups.basic-info' },
95
+ { id: 'appearance', title: '@general:terms.interface.appearance' },
96
+ ],
97
+ properties: [
98
+ {
99
+ name: 'id',
100
+ title: '@general:terms.common.id',
101
+ groupId: 'basic-info',
102
+ schema: {
103
+ dataType: 'uuid',
104
+ visible: false,
105
+ readonly: true,
106
+ unique: { enabled: true },
107
+ },
108
+ },
109
+ {
110
+ name: 'title',
111
+ title: '@general:terms.common.title',
112
+ groupId: 'basic-info',
113
+ options: {
114
+ sort: { enabled: true },
115
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
116
+ },
117
+ schema: {
118
+ dataType: 'string',
119
+ interface: {
120
+ type: AXPWidgetsList.Editors.TextBox,
121
+ options: {
122
+ placeholder: '@business-core:party-segments.entities.party-segment.fields.title.placeholder',
123
+ },
124
+ },
125
+ },
126
+ validations: [{ rule: 'required' }],
127
+ },
128
+ {
129
+ name: 'description',
130
+ title: '@general:terms.common.description',
131
+ groupId: 'basic-info',
132
+ schema: {
133
+ dataType: 'string',
134
+ interface: {
135
+ type: AXPWidgetsList.Editors.LargeTextBox,
136
+ options: {
137
+ rows: 3,
138
+ placeholder: '@business-core:party-segments.entities.party-segment.fields.description.placeholder',
139
+ },
140
+ },
141
+ },
142
+ },
143
+ ],
144
+ columns: [
145
+ { name: 'title', options: { width: '200px', order: 1 } },
146
+ { name: 'description', options: { width: '280px', order: 2 } },
147
+ ],
148
+ interfaces: {
149
+ master: {
150
+ create: {
151
+ sections,
152
+ properties: propertyLayouts,
153
+ },
154
+ update: {
155
+ sections,
156
+ properties: propertyLayouts,
157
+ },
158
+ single: {
159
+ title: '{{ title }}',
160
+ sections,
161
+ properties: propertyLayouts,
162
+ actions: [...entityMasterRecordActions()],
163
+ },
164
+ list: {
165
+ actions: [...entityMasterCrudActions()],
166
+ views: [
167
+ createAllQueryView({
168
+ sorts: [{ name: 'title', dir: 'asc' }],
169
+ }),
170
+ ],
171
+ },
172
+ },
173
+ },
174
+ };
175
+ return entityDef;
176
+ }
177
+ //#endregion
178
+
179
+ /**
180
+ * Generated bundle index. Do not edit.
181
+ */
182
+
183
+ export { partySegmentFactory };
184
+ //# sourceMappingURL=acorex-platform-module-business-core-client-contracts-entities-party-segment.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-business-core-client-contracts-entities-party-segment.mjs","sources":["../../../../libs/modules/business-core/contracts/src/root-config.ts","../../../../libs/modules/business-core/contracts/src/entities/party-segment/party-segment.entity.ts","../../../../libs/modules/business-core/contracts/src/acorex-platform-module-business-core-client-contracts-entities-party-segment.ts"],"sourcesContent":["const config = {\n i18n: 'business-core',\n module: 'BusinessCore',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-building',\n },\n entities: {\n manufacturer: {\n name: 'Manufacturer',\n title: `@${config.i18n}:manufacturers.entities.manufacturer.title`,\n titlePlural: `@${config.i18n}:manufacturers.entities.manufacturer.plural`,\n icon: 'fa-light fa-industry',\n },\n industry: {\n name: 'Industry',\n title: `@${config.i18n}:industries.entities.industry.title`,\n titlePlural: `@${config.i18n}:industries.entities.industry.plural`,\n icon: 'fa-light fa-chart-line',\n },\n businessType: {\n name: 'BusinessType',\n title: `@${config.i18n}:business-types.entities.business-type.title`,\n titlePlural: `@${config.i18n}:business-types.entities.business-type.plural`,\n icon: 'fa-light fa-briefcase',\n },\n businessStatus: {\n name: 'BusinessStatus',\n title: `@${config.i18n}:business-statuses.entities.business-status.title`,\n titlePlural: `@${config.i18n}:business-statuses.entities.business-status.plural`,\n icon: 'fa-light fa-circle-check',\n },\n partyType: {\n name: 'PartyType',\n title: `@${config.i18n}:party-types.entities.party-type.title`,\n titlePlural: `@${config.i18n}:party-types.entities.party-type.plural`,\n icon: 'fa-light fa-tag',\n },\n partySegment: {\n name: 'PartySegment',\n title: `@${config.i18n}:party-segments.entities.party-segment.title`,\n titlePlural: `@${config.i18n}:party-segments.entities.party-segment.plural`,\n icon: 'fa-light fa-chart-pie',\n },\n lifecycleStage: {\n name: 'LifecycleStage',\n title: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.title`,\n titlePlural: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.plural`,\n icon: 'fa-light fa-timeline',\n },\n party: {\n name: 'Party',\n title: `@${config.i18n}:parties.entities.party.title`,\n titlePlural: `@${config.i18n}:parties.entities.party.plural`,\n icon: 'fa-light fa-building',\n },\n },\n} as const;\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';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function partySegmentFactory(): Promise<AXPEntity> {\n const sections = [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'appearance', layout: { positions: { lg: { colSpan: 12 } } } },\n ];\n\n const propertyLayouts = [\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'color', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.partySegment.name,\n title: RootConfig.entities.partySegment.title,\n icon: RootConfig.entities.partySegment.icon,\n formats: {\n individual: RootConfig.entities.partySegment.title,\n plural: RootConfig.entities.partySegment.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n plugins: [{ name: 'color' }, { name: 'archive' }],\n groups: [\n { id: 'basic-info', title: '@business-core:party-segments.entities.party-segment.groups.basic-info' },\n { id: 'appearance', title: '@general:terms.interface.appearance' },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: 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 sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@business-core:party-segments.entities.party-segment.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder: '@business-core:party-segments.entities.party-segment.fields.description.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'title', options: { width: '200px', order: 1 } },\n { name: 'description', options: { width: '280px', order: 2 } },\n ],\n interfaces: {\n master: {\n create: {\n sections,\n properties: propertyLayouts,\n },\n update: {\n sections,\n properties: propertyLayouts,\n },\n single: {\n title: '{{ title }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\n },\n list: {\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\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.party-segment';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACX,IAAA,IAAI,EAAE,eAAe;AACrB,IAAA,MAAM,EAAE,cAAc;CACzB;AAEM,MAAM,UAAU,GAAG;IACtB,MAAM;AACN,IAAA,MAAM,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,sBAAsB;AAC/B,KAAA;AACD,IAAA,QAAQ,EAAE;AACN,QAAA,YAAY,EAAE;AACV,YAAA,IAAI,EAAE,cAAc;AACpB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,0CAAA,CAA4C;AAClE,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,2CAAA,CAA6C;AACzE,YAAA,IAAI,EAAE,sBAAsB;AAC/B,SAAA;AACD,QAAA,QAAQ,EAAE;AACN,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,wBAAwB;AACjC,SAAA;AACD,QAAA,YAAY,EAAE;AACV,YAAA,IAAI,EAAE,cAAc;AACpB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,4CAAA,CAA8C;AACpE,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,6CAAA,C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D,gBAAA,MAAM,EAAE;AACJ,oBAAA,KAAK,EAAE,aAAa;oBACpB,QAAQ;AACR,oBAAA,UAAU,EAAE,eAAe;AAC3B,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC5C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACF,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;AACvC,oBAAA,KAAK,EAAE;AACH,wBAAA,kBAAkB,CAAC;4BACf,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACzC,CAAC;AACL,qBAAA;AACJ,iBAAA;AACJ,aAAA;AACJ,SAAA;KACJ;AAED,IAAA,OAAO,SAAS;AACpB;AAEA;;ACzHA;;AAEG;;"}
@@ -0,0 +1,197 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+
4
+ const config = {
5
+ i18n: 'business-core',
6
+ module: 'BusinessCore',
7
+ };
8
+ const RootConfig = {
9
+ config,
10
+ module: {
11
+ name: config.module,
12
+ title: `@${config.i18n}:module.title`,
13
+ icon: 'fa-light fa-building',
14
+ },
15
+ entities: {
16
+ manufacturer: {
17
+ name: 'Manufacturer',
18
+ title: `@${config.i18n}:manufacturers.entities.manufacturer.title`,
19
+ titlePlural: `@${config.i18n}:manufacturers.entities.manufacturer.plural`,
20
+ icon: 'fa-light fa-industry',
21
+ },
22
+ industry: {
23
+ name: 'Industry',
24
+ title: `@${config.i18n}:industries.entities.industry.title`,
25
+ titlePlural: `@${config.i18n}:industries.entities.industry.plural`,
26
+ icon: 'fa-light fa-chart-line',
27
+ },
28
+ businessType: {
29
+ name: 'BusinessType',
30
+ title: `@${config.i18n}:business-types.entities.business-type.title`,
31
+ titlePlural: `@${config.i18n}:business-types.entities.business-type.plural`,
32
+ icon: 'fa-light fa-briefcase',
33
+ },
34
+ businessStatus: {
35
+ name: 'BusinessStatus',
36
+ title: `@${config.i18n}:business-statuses.entities.business-status.title`,
37
+ titlePlural: `@${config.i18n}:business-statuses.entities.business-status.plural`,
38
+ icon: 'fa-light fa-circle-check',
39
+ },
40
+ partyType: {
41
+ name: 'PartyType',
42
+ title: `@${config.i18n}:party-types.entities.party-type.title`,
43
+ titlePlural: `@${config.i18n}:party-types.entities.party-type.plural`,
44
+ icon: 'fa-light fa-tag',
45
+ },
46
+ partySegment: {
47
+ name: 'PartySegment',
48
+ title: `@${config.i18n}:party-segments.entities.party-segment.title`,
49
+ titlePlural: `@${config.i18n}:party-segments.entities.party-segment.plural`,
50
+ icon: 'fa-light fa-chart-pie',
51
+ },
52
+ lifecycleStage: {
53
+ name: 'LifecycleStage',
54
+ title: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.title`,
55
+ titlePlural: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.plural`,
56
+ icon: 'fa-light fa-timeline',
57
+ },
58
+ party: {
59
+ name: 'Party',
60
+ title: `@${config.i18n}:parties.entities.party.title`,
61
+ titlePlural: `@${config.i18n}:parties.entities.party.plural`,
62
+ icon: 'fa-light fa-building',
63
+ },
64
+ },
65
+ };
66
+
67
+ //#endregion
68
+ //#region ---- Entity Factory ----
69
+ async function partyTypeFactory() {
70
+ const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
71
+ const propertyLayouts = [
72
+ { name: 'code', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },
73
+ { name: 'title', layout: { positions: { lg: { colSpan: 8, order: 2 } } } },
74
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
75
+ ];
76
+ const entityDef = {
77
+ module: RootConfig.module.name,
78
+ name: RootConfig.entities.partyType.name,
79
+ title: RootConfig.entities.partyType.title,
80
+ icon: RootConfig.entities.partyType.icon,
81
+ formats: {
82
+ individual: RootConfig.entities.partyType.title,
83
+ plural: RootConfig.entities.partyType.titlePlural,
84
+ searchResult: {
85
+ title: '{{ title }}',
86
+ description: '{{ code }}',
87
+ },
88
+ },
89
+ plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }, { name: 'disable' }],
90
+ groups: [{ id: 'basic-info', title: '@business-core:party-types.entities.party-type.groups.basic-info' }],
91
+ properties: [
92
+ {
93
+ name: 'id',
94
+ title: '@general:terms.common.id',
95
+ groupId: 'basic-info',
96
+ schema: {
97
+ dataType: 'uuid',
98
+ visible: false,
99
+ readonly: true,
100
+ unique: { enabled: true },
101
+ },
102
+ },
103
+ {
104
+ name: 'code',
105
+ title: '@general:terms.common.code',
106
+ groupId: 'basic-info',
107
+ options: {
108
+ sort: { enabled: true },
109
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
110
+ },
111
+ schema: {
112
+ dataType: 'string',
113
+ interface: {
114
+ type: AXPWidgetsList.Editors.TextBox,
115
+ options: {
116
+ placeholder: '@business-core:party-types.entities.party-type.fields.code.placeholder',
117
+ },
118
+ },
119
+ },
120
+ validations: [{ rule: 'required' }],
121
+ },
122
+ {
123
+ name: 'title',
124
+ title: '@general:terms.common.title',
125
+ groupId: 'basic-info',
126
+ options: {
127
+ sort: { enabled: true },
128
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
129
+ },
130
+ schema: {
131
+ dataType: 'string',
132
+ interface: {
133
+ type: AXPWidgetsList.Editors.TextBox,
134
+ options: {
135
+ placeholder: '@business-core:party-types.entities.party-type.fields.title.placeholder',
136
+ },
137
+ },
138
+ },
139
+ validations: [{ rule: 'required' }],
140
+ },
141
+ {
142
+ name: 'description',
143
+ title: '@general:terms.common.description',
144
+ groupId: 'basic-info',
145
+ schema: {
146
+ dataType: 'string',
147
+ interface: {
148
+ type: AXPWidgetsList.Editors.LargeTextBox,
149
+ options: {
150
+ rows: 3,
151
+ placeholder: '@business-core:party-types.entities.party-type.fields.description.placeholder',
152
+ },
153
+ },
154
+ },
155
+ },
156
+ ],
157
+ columns: [
158
+ { name: 'code', options: { width: '120px', order: 1 } },
159
+ { name: 'title', options: { width: '220px', order: 2 } },
160
+ ],
161
+ interfaces: {
162
+ master: {
163
+ create: {
164
+ sections,
165
+ properties: propertyLayouts,
166
+ },
167
+ update: {
168
+ sections,
169
+ properties: propertyLayouts,
170
+ },
171
+ single: {
172
+ title: '{{ title }}',
173
+ sections,
174
+ properties: propertyLayouts,
175
+ actions: [...entityMasterRecordActions()],
176
+ },
177
+ list: {
178
+ actions: [...entityMasterCrudActions()],
179
+ views: [
180
+ createAllQueryView({
181
+ sorts: [{ name: 'code', dir: 'asc' }],
182
+ }),
183
+ ],
184
+ },
185
+ },
186
+ },
187
+ };
188
+ return entityDef;
189
+ }
190
+ //#endregion
191
+
192
+ /**
193
+ * Generated bundle index. Do not edit.
194
+ */
195
+
196
+ export { partyTypeFactory };
197
+ //# sourceMappingURL=acorex-platform-module-business-core-client-contracts-entities-party-type.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-business-core-client-contracts-entities-party-type.mjs","sources":["../../../../libs/modules/business-core/contracts/src/root-config.ts","../../../../libs/modules/business-core/contracts/src/entities/party-type/party-type.entity.ts","../../../../libs/modules/business-core/contracts/src/acorex-platform-module-business-core-client-contracts-entities-party-type.ts"],"sourcesContent":["const config = {\n i18n: 'business-core',\n module: 'BusinessCore',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-building',\n },\n entities: {\n manufacturer: {\n name: 'Manufacturer',\n title: `@${config.i18n}:manufacturers.entities.manufacturer.title`,\n titlePlural: `@${config.i18n}:manufacturers.entities.manufacturer.plural`,\n icon: 'fa-light fa-industry',\n },\n industry: {\n name: 'Industry',\n title: `@${config.i18n}:industries.entities.industry.title`,\n titlePlural: `@${config.i18n}:industries.entities.industry.plural`,\n icon: 'fa-light fa-chart-line',\n },\n businessType: {\n name: 'BusinessType',\n title: `@${config.i18n}:business-types.entities.business-type.title`,\n titlePlural: `@${config.i18n}:business-types.entities.business-type.plural`,\n icon: 'fa-light fa-briefcase',\n },\n businessStatus: {\n name: 'BusinessStatus',\n title: `@${config.i18n}:business-statuses.entities.business-status.title`,\n titlePlural: `@${config.i18n}:business-statuses.entities.business-status.plural`,\n icon: 'fa-light fa-circle-check',\n },\n partyType: {\n name: 'PartyType',\n title: `@${config.i18n}:party-types.entities.party-type.title`,\n titlePlural: `@${config.i18n}:party-types.entities.party-type.plural`,\n icon: 'fa-light fa-tag',\n },\n partySegment: {\n name: 'PartySegment',\n title: `@${config.i18n}:party-segments.entities.party-segment.title`,\n titlePlural: `@${config.i18n}:party-segments.entities.party-segment.plural`,\n icon: 'fa-light fa-chart-pie',\n },\n lifecycleStage: {\n name: 'LifecycleStage',\n title: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.title`,\n titlePlural: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.plural`,\n icon: 'fa-light fa-timeline',\n },\n party: {\n name: 'Party',\n title: `@${config.i18n}:parties.entities.party.title`,\n titlePlural: `@${config.i18n}:parties.entities.party.plural`,\n icon: 'fa-light fa-building',\n },\n },\n} as const;\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';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function partyTypeFactory(): Promise<AXPEntity> {\n const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];\n\n const propertyLayouts = [\n { name: 'code', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 8, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.partyType.name,\n title: RootConfig.entities.partyType.title,\n icon: RootConfig.entities.partyType.icon,\n formats: {\n individual: RootConfig.entities.partyType.title,\n plural: RootConfig.entities.partyType.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }, { name: 'disable' }],\n groups: [{ id: 'basic-info', title: '@business-core:party-types.entities.party-type.groups.basic-info' }],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'code',\n title: '@general:terms.common.code',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@business-core:party-types.entities.party-type.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@business-core:party-types.entities.party-type.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder: '@business-core:party-types.entities.party-type.fields.description.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '120px', order: 1 } },\n { name: 'title', options: { width: '220px', order: 2 } },\n ],\n interfaces: {\n master: {\n create: {\n sections,\n properties: propertyLayouts,\n },\n update: {\n sections,\n properties: propertyLayouts,\n },\n single: {\n title: '{{ title }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'code', dir: 'asc' }],\n }),\n ],\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.party-type';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACX,IAAA,IAAI,EAAE,eAAe;AACrB,IAAA,MAAM,EAAE,cAAc;CACzB;AAEM,MAAM,UAAU,GAAG;IACtB,MAAM;AACN,IAAA,MAAM,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,sBAAsB;AAC/B,KAAA;AACD,IAAA,QAAQ,EAAE;AACN,QAAA,YAAY,EAAE;AACV,YAAA,IAAI,EAAE,cAAc;AACpB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,0CAAA,CAA4C;AAClE,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,2CAAA,CAA6C;AACzE,YAAA,IAAI,EAAE,sBAAsB;AAC/B,SAAA;AACD,QAAA,QAAQ,EAAE;AACN,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,wBAAwB;AACjC,SAAA;AACD,QAAA,YAAY,EAAE;AACV,YAAA,IAAI,EAAE,cAAc;AACpB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,4CAAA,CAA8C;AACpE,YAAA,WAAW,EAAE,CAAA,CAAA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