@acorex-platform/module-common-client 0.0.30 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/{acorex-platform-module-common-client-acorex-platform-module-common-client-CkeshVWo.mjs → acorex-platform-module-common-client-acorex-platform-module-common-client-DsCvUxSh.mjs} +90 -37
- package/fesm2022/acorex-platform-module-common-client-acorex-platform-module-common-client-DsCvUxSh.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-common-client-archive-entity.command-BZgNdxFS.mjs → acorex-platform-module-common-client-archive-entity.command-QmrPzKy_.mjs} +5 -7
- package/fesm2022/acorex-platform-module-common-client-archive-entity.command-QmrPzKy_.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-common-client-archive-entity.command.util-BVrK8ZGy.mjs → acorex-platform-module-common-client-archive-entity.command.util-fd533YPY.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-archive-entity.command.util-BVrK8ZGy.mjs.map → acorex-platform-module-common-client-archive-entity.command.util-fd533YPY.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-bulk-archive-entity.command-EIlMyuII.mjs → acorex-platform-module-common-client-bulk-archive-entity.command-BfINUGph.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-common-client-bulk-archive-entity.command-EIlMyuII.mjs.map → acorex-platform-module-common-client-bulk-archive-entity.command-BfINUGph.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-bulk-restore-archive-entity.command-C8T0gUAH.mjs → acorex-platform-module-common-client-bulk-restore-archive-entity.command-CGy1Kdon.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-common-client-bulk-restore-archive-entity.command-C8T0gUAH.mjs.map → acorex-platform-module-common-client-bulk-restore-archive-entity.command-CGy1Kdon.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-clone-entity.command-rTasIhWx.mjs → acorex-platform-module-common-client-clone-entity.command-DgVI86z3.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-clone-entity.command-rTasIhWx.mjs.map → acorex-platform-module-common-client-clone-entity.command-DgVI86z3.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-common-client-contracts-entities-record-lock.mjs +135 -0
- package/fesm2022/acorex-platform-module-common-client-contracts-entities-record-lock.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-common-client-contracts-entities-version-entry.mjs +205 -0
- package/fesm2022/acorex-platform-module-common-client-contracts-entities-version-entry.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-common-client-contracts-entities-version-stream.mjs +118 -0
- package/fesm2022/acorex-platform-module-common-client-contracts-entities-version-stream.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-common-client-contracts-entity-catalog-acorex-platform-module-common-client-contracts-entity-catalog-C2WFbRne.mjs +61 -0
- package/fesm2022/acorex-platform-module-common-client-contracts-entity-catalog-acorex-platform-module-common-client-contracts-entity-catalog-C2WFbRne.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-common-client-contracts-entity-catalog-record-lock.entity-CY6jfaD7.mjs +95 -0
- package/fesm2022/acorex-platform-module-common-client-contracts-entity-catalog-record-lock.entity-CY6jfaD7.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-common-client-contracts-entity-catalog-version-entry.entity-DCBxAIMJ.mjs +165 -0
- package/fesm2022/acorex-platform-module-common-client-contracts-entity-catalog-version-entry.entity-DCBxAIMJ.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-common-client-contracts-entity-catalog-version-stream.entity-DbSB34vz.mjs +78 -0
- package/fesm2022/acorex-platform-module-common-client-contracts-entity-catalog-version-stream.entity-DbSB34vz.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-common-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-common-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-common-client-local-entities.mjs +31 -0
- package/fesm2022/acorex-platform-module-common-client-local-entities.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-common-client-restore-archive-entity.command-Dr1GcC8a.mjs → acorex-platform-module-common-client-restore-archive-entity.command-Dx8CIcWc.mjs} +5 -6
- package/fesm2022/acorex-platform-module-common-client-restore-archive-entity.command-Dx8CIcWc.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-common-client-search-popup.component-DH0OQYoQ.mjs → acorex-platform-module-common-client-search-popup.component-D9gce0xf.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-search-popup.component-DH0OQYoQ.mjs.map → acorex-platform-module-common-client-search-popup.component-D9gce0xf.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-timeline-version-history-popup.component-BqTLeGtG.mjs → acorex-platform-module-common-client-timeline-version-history-popup.component-Dg-TrXGF.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-timeline-version-history-popup.component-BqTLeGtG.mjs.map → acorex-platform-module-common-client-timeline-version-history-popup.component-Dg-TrXGF.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-common-client.mjs +1 -1
- package/package.json +21 -1
- package/types/acorex-platform-module-common-client-contracts-entities-record-lock.d.ts +5 -0
- package/types/acorex-platform-module-common-client-contracts-entities-version-entry.d.ts +5 -0
- package/types/acorex-platform-module-common-client-contracts-entities-version-stream.d.ts +5 -0
- package/types/acorex-platform-module-common-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-common-client-local-entities.d.ts +12 -0
- package/fesm2022/acorex-platform-module-common-client-acorex-platform-module-common-client-CkeshVWo.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-common-client-archive-entity.command-BZgNdxFS.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-common-client-restore-archive-entity.command-Dr1GcC8a.mjs.map +0 -1
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
|
|
4
|
+
const config = {
|
|
5
|
+
i18n: 'common',
|
|
6
|
+
module: 'Common',
|
|
7
|
+
};
|
|
8
|
+
const RootConfig = {
|
|
9
|
+
config,
|
|
10
|
+
module: {
|
|
11
|
+
route: 'common',
|
|
12
|
+
name: config.module,
|
|
13
|
+
title: '@general:common.module.title',
|
|
14
|
+
icon: 'fa-light fa-file-invoice',
|
|
15
|
+
},
|
|
16
|
+
entities: {
|
|
17
|
+
recordLock: {
|
|
18
|
+
name: 'RecordLock',
|
|
19
|
+
title: 'Record Lock',
|
|
20
|
+
titlePlural: 'Record Locks',
|
|
21
|
+
icon: 'fa-light fa-lock',
|
|
22
|
+
source: `${config.module}.RecordLock`,
|
|
23
|
+
},
|
|
24
|
+
versionStream: {
|
|
25
|
+
name: 'VersionStream',
|
|
26
|
+
title: 'Version Stream',
|
|
27
|
+
titlePlural: 'Version Streams',
|
|
28
|
+
icon: 'fa-light fa-code-branch',
|
|
29
|
+
source: `${config.module}.VersionStream`,
|
|
30
|
+
},
|
|
31
|
+
versionEntry: {
|
|
32
|
+
name: 'VersionEntry',
|
|
33
|
+
title: 'Version Entry',
|
|
34
|
+
titlePlural: 'Version Entries',
|
|
35
|
+
icon: 'fa-light fa-clock-rotate-left',
|
|
36
|
+
source: `${config.module}.VersionEntry`,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
//#region ---- Version entry entity ----
|
|
42
|
+
async function factoryVersionEntry() {
|
|
43
|
+
const i18n = RootConfig.config.i18n;
|
|
44
|
+
const entityDef = {
|
|
45
|
+
module: RootConfig.module.name,
|
|
46
|
+
name: RootConfig.entities.versionEntry.name,
|
|
47
|
+
title: `@${i18n}:version-history.entities.version-entry.title`,
|
|
48
|
+
icon: RootConfig.entities.versionEntry.icon,
|
|
49
|
+
formats: {
|
|
50
|
+
individual: `@${i18n}:version-history.entities.version-entry.title`,
|
|
51
|
+
plural: `@${i18n}:version-history.entities.version-entry.plural`,
|
|
52
|
+
searchResult: {
|
|
53
|
+
title: '#{{ versionNumber }} {{ changeType }}',
|
|
54
|
+
description: '{{ changedAt }}',
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
groups: [
|
|
58
|
+
{
|
|
59
|
+
id: 'overview',
|
|
60
|
+
title: `@general:terms.interface.basic-info`,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: 'change',
|
|
64
|
+
title: `@${i18n}:version-history.entities.version-entry.groups.change`,
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: 'payload',
|
|
68
|
+
title: `@${i18n}:version-history.entities.version-entry.groups.payload`,
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
properties: [
|
|
72
|
+
{
|
|
73
|
+
name: 'id',
|
|
74
|
+
title: `@general:terms.common.id`,
|
|
75
|
+
groupId: 'overview',
|
|
76
|
+
schema: {
|
|
77
|
+
dataType: 'string',
|
|
78
|
+
visible: false,
|
|
79
|
+
nullable: false,
|
|
80
|
+
readonly: true,
|
|
81
|
+
unique: { enabled: true },
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: 'streamId',
|
|
86
|
+
title: `@${i18n}:version-history.entities.version-entry.fields.stream.title`,
|
|
87
|
+
groupId: 'overview',
|
|
88
|
+
schema: {
|
|
89
|
+
dataType: 'string',
|
|
90
|
+
readonly: true,
|
|
91
|
+
interface: { type: AXPWidgetsCatalog.text },
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
name: 'versionNumber',
|
|
96
|
+
title: `@${i18n}:version-history.entities.version-entry.fields.version-number.title`,
|
|
97
|
+
groupId: 'overview',
|
|
98
|
+
schema: {
|
|
99
|
+
dataType: 'number',
|
|
100
|
+
interface: { type: AXPWidgetsCatalog.number },
|
|
101
|
+
readonly: true,
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: 'changeType',
|
|
106
|
+
title: `@${i18n}:version-history.entities.version-entry.fields.change-type.title`,
|
|
107
|
+
groupId: 'change',
|
|
108
|
+
schema: {
|
|
109
|
+
dataType: 'string',
|
|
110
|
+
interface: {
|
|
111
|
+
type: AXPWidgetsCatalog.select,
|
|
112
|
+
options: {
|
|
113
|
+
valueField: 'value',
|
|
114
|
+
textField: 'text',
|
|
115
|
+
dataSource: [
|
|
116
|
+
{ value: 'Create', text: `@${i18n}:version-history.change-types.create` },
|
|
117
|
+
{ value: 'Update', text: `@${i18n}:version-history.change-types.update` },
|
|
118
|
+
{ value: 'Delete', text: `@${i18n}:version-history.change-types.delete` },
|
|
119
|
+
],
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
readonly: true,
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: 'changedBy',
|
|
127
|
+
title: `@${i18n}:version-history.entities.version-entry.fields.changed-by.title`,
|
|
128
|
+
groupId: 'change',
|
|
129
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
name: 'changedByName',
|
|
133
|
+
title: `@${i18n}:version-history.entities.version-entry.fields.changed-by-name.title`,
|
|
134
|
+
groupId: 'change',
|
|
135
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
name: 'changedAt',
|
|
139
|
+
title: `@${i18n}:version-history.entities.version-entry.fields.changed-at.title`,
|
|
140
|
+
groupId: 'change',
|
|
141
|
+
schema: {
|
|
142
|
+
dataType: 'datetime',
|
|
143
|
+
interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
|
|
144
|
+
readonly: true,
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
name: 'summary',
|
|
149
|
+
title: `@${i18n}:version-history.entities.version-entry.fields.summary.title`,
|
|
150
|
+
groupId: 'change',
|
|
151
|
+
schema: {
|
|
152
|
+
dataType: 'object',
|
|
153
|
+
interface: { type: 'json' },
|
|
154
|
+
readonly: true,
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
name: 'changeLines',
|
|
159
|
+
title: `@${i18n}:version-history.entities.version-entry.fields.change-lines.title`,
|
|
160
|
+
groupId: 'change',
|
|
161
|
+
schema: {
|
|
162
|
+
dataType: 'object',
|
|
163
|
+
interface: { type: 'json' },
|
|
164
|
+
readonly: true,
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
name: 'snapshotJson',
|
|
169
|
+
title: `@${i18n}:version-history.entities.version-entry.fields.snapshot.title`,
|
|
170
|
+
groupId: 'payload',
|
|
171
|
+
schema: { dataType: 'object', interface: { type: 'json' }, readonly: true },
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
name: 'patchFromPrevJson',
|
|
175
|
+
title: `@${i18n}:version-history.entities.version-entry.fields.patch.title`,
|
|
176
|
+
groupId: 'payload',
|
|
177
|
+
schema: { dataType: 'object', interface: { type: 'json' }, readonly: true },
|
|
178
|
+
},
|
|
179
|
+
],
|
|
180
|
+
columns: [
|
|
181
|
+
{ name: 'streamId' },
|
|
182
|
+
{ name: 'versionNumber' },
|
|
183
|
+
{ name: 'changeType' },
|
|
184
|
+
{ name: 'summary' },
|
|
185
|
+
{ name: 'changedAt' },
|
|
186
|
+
],
|
|
187
|
+
interfaces: {
|
|
188
|
+
master: {
|
|
189
|
+
list: {
|
|
190
|
+
actions: [],
|
|
191
|
+
views: [createAllQueryView({})],
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
};
|
|
196
|
+
return entityDef;
|
|
197
|
+
}
|
|
198
|
+
//#endregion
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Generated bundle index. Do not edit.
|
|
202
|
+
*/
|
|
203
|
+
|
|
204
|
+
export { factoryVersionEntry };
|
|
205
|
+
//# sourceMappingURL=acorex-platform-module-common-client-contracts-entities-version-entry.mjs.map
|
package/fesm2022/acorex-platform-module-common-client-contracts-entities-version-entry.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-common-client-contracts-entities-version-entry.mjs","sources":["../../../../libs/modules/common/contracts/src/root-config.ts","../../../../libs/modules/common/contracts/src/entities/version-entry/version-entry.entity.ts","../../../../libs/modules/common/contracts/src/acorex-platform-module-common-client-contracts-entities-version-entry.ts"],"sourcesContent":["const config = {\n i18n: 'common',\n module: 'Common',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'common',\n name: config.module,\n title: '@general:common.module.title',\n icon: 'fa-light fa-file-invoice',\n },\n entities: {\n recordLock: {\n name: 'RecordLock',\n title: 'Record Lock',\n titlePlural: 'Record Locks',\n icon: 'fa-light fa-lock',\n source: `${config.module}.RecordLock`,\n },\n versionStream: {\n name: 'VersionStream',\n title: 'Version Stream',\n titlePlural: 'Version Streams',\n icon: 'fa-light fa-code-branch',\n source: `${config.module}.VersionStream`,\n },\n versionEntry: {\n name: 'VersionEntry',\n title: 'Version Entry',\n titlePlural: 'Version Entries',\n icon: 'fa-light fa-clock-rotate-left',\n source: `${config.module}.VersionEntry`,\n },\n },\n} as const;\n","import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\n//#region ---- Version entry entity ----\n\nexport async function factoryVersionEntry(): Promise<AXPEntity | null> {\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.versionEntry.name,\n title: `@${i18n}:version-history.entities.version-entry.title`,\n icon: RootConfig.entities.versionEntry.icon,\n formats: {\n individual: `@${i18n}:version-history.entities.version-entry.title`,\n plural: `@${i18n}:version-history.entities.version-entry.plural`,\n searchResult: {\n title: '#{{ versionNumber }} {{ changeType }}',\n description: '{{ changedAt }}',\n },\n },\n groups: [\n {\n id: 'overview',\n title: `@general:terms.interface.basic-info`,\n },\n {\n id: 'change',\n title: `@${i18n}:version-history.entities.version-entry.groups.change`,\n },\n {\n id: 'payload',\n title: `@${i18n}:version-history.entities.version-entry.groups.payload`,\n },\n ],\n properties: [\n {\n name: 'id',\n title: `@general:terms.common.id`,\n groupId: 'overview',\n schema: {\n dataType: 'string',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'streamId',\n title: `@${i18n}:version-history.entities.version-entry.fields.stream.title`,\n groupId: 'overview',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: { type: AXPWidgetsCatalog.text },\n },\n },\n {\n name: 'versionNumber',\n title: `@${i18n}:version-history.entities.version-entry.fields.version-number.title`,\n groupId: 'overview',\n schema: {\n dataType: 'number',\n interface: { type: AXPWidgetsCatalog.number },\n readonly: true,\n },\n },\n {\n name: 'changeType',\n title: `@${i18n}:version-history.entities.version-entry.fields.change-type.title`,\n groupId: 'change',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'value',\n textField: 'text',\n dataSource: [\n { value: 'Create', text: `@${i18n}:version-history.change-types.create` },\n { value: 'Update', text: `@${i18n}:version-history.change-types.update` },\n { value: 'Delete', text: `@${i18n}:version-history.change-types.delete` },\n ],\n },\n },\n readonly: true,\n },\n },\n {\n name: 'changedBy',\n title: `@${i18n}:version-history.entities.version-entry.fields.changed-by.title`,\n groupId: 'change',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'changedByName',\n title: `@${i18n}:version-history.entities.version-entry.fields.changed-by-name.title`,\n groupId: 'change',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'changedAt',\n title: `@${i18n}:version-history.entities.version-entry.fields.changed-at.title`,\n groupId: 'change',\n schema: {\n dataType: 'datetime',\n interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },\n readonly: true,\n },\n },\n {\n name: 'summary',\n title: `@${i18n}:version-history.entities.version-entry.fields.summary.title`,\n groupId: 'change',\n schema: {\n dataType: 'object',\n interface: { type: 'json' },\n readonly: true,\n },\n },\n {\n name: 'changeLines',\n title: `@${i18n}:version-history.entities.version-entry.fields.change-lines.title`,\n groupId: 'change',\n schema: {\n dataType: 'object',\n interface: { type: 'json' },\n readonly: true,\n },\n },\n {\n name: 'snapshotJson',\n title: `@${i18n}:version-history.entities.version-entry.fields.snapshot.title`,\n groupId: 'payload',\n schema: { dataType: 'object', interface: { type: 'json' }, readonly: true },\n },\n {\n name: 'patchFromPrevJson',\n title: `@${i18n}:version-history.entities.version-entry.fields.patch.title`,\n groupId: 'payload',\n schema: { dataType: 'object', interface: { type: 'json' }, readonly: true },\n },\n ],\n columns: [\n { name: 'streamId' },\n { name: 'versionNumber' },\n { name: 'changeType' },\n { name: 'summary' },\n { name: 'changedAt' },\n ],\n interfaces: {\n master: {\n list: {\n actions: [],\n views: [createAllQueryView({})],\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.version-entry';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,QAAQ;AACd,IAAA,MAAM,EAAE,QAAQ;CACjB;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,8BAA8B;AACrC,QAAA,IAAI,EAAE,0BAA0B;AACjC,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,UAAU,EAAE;AACV,YAAA,IAAI,EAAE,YAAY;AAClB,YAAA,KAAK,EAAE,aAAa;AACpB,YAAA,WAAW,EAAE,cAAc;AAC3B,YAAA,IAAI,EAAE,kBAAkB;AACx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AA;AACD,YAAA;AACE,gBAAA,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,CAAA,CAAA,EAAI,IAAI,CAAA,6DAAA,CAA+D;AAC9E,gBAAA,OAAO,EAAE,SAAS;AAClB,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;AAC5E,aAAA;AACD,YAAA;AACE,gBAAA,IAAI,EAAE,mBAAmB;gBACzB,KAAK,EAAE,CAAA,CAAA,EAAI,IAAI,CAAA,0DAAA,CAA4D;AAC3E,gBAAA,OAAO,EAAE,SAAS;AAClB,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;AAC5E,aAAA;AACF,SAAA;AACD,QAAA,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,UAAU,EAAE;YACpB,EAAE,IAAI,EAAE,eAAe,EAAE;YACzB,EAAE,IAAI,EAAE,YAAY,EAAE;YACtB,EAAE,IAAI,EAAE,SAAS,EAAE;YACnB,EAAE,IAAI,EAAE,WAAW,EAAE;AACtB,SAAA;AACD,QAAA,UAAU,EAAE;AACV,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAC;AAChC,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;ACrKA;;AAEG;;;;"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
|
|
4
|
+
const config = {
|
|
5
|
+
i18n: 'common',
|
|
6
|
+
module: 'Common',
|
|
7
|
+
};
|
|
8
|
+
const RootConfig = {
|
|
9
|
+
config,
|
|
10
|
+
module: {
|
|
11
|
+
route: 'common',
|
|
12
|
+
name: config.module,
|
|
13
|
+
title: '@general:common.module.title',
|
|
14
|
+
icon: 'fa-light fa-file-invoice',
|
|
15
|
+
},
|
|
16
|
+
entities: {
|
|
17
|
+
recordLock: {
|
|
18
|
+
name: 'RecordLock',
|
|
19
|
+
title: 'Record Lock',
|
|
20
|
+
titlePlural: 'Record Locks',
|
|
21
|
+
icon: 'fa-light fa-lock',
|
|
22
|
+
source: `${config.module}.RecordLock`,
|
|
23
|
+
},
|
|
24
|
+
versionStream: {
|
|
25
|
+
name: 'VersionStream',
|
|
26
|
+
title: 'Version Stream',
|
|
27
|
+
titlePlural: 'Version Streams',
|
|
28
|
+
icon: 'fa-light fa-code-branch',
|
|
29
|
+
source: `${config.module}.VersionStream`,
|
|
30
|
+
},
|
|
31
|
+
versionEntry: {
|
|
32
|
+
name: 'VersionEntry',
|
|
33
|
+
title: 'Version Entry',
|
|
34
|
+
titlePlural: 'Version Entries',
|
|
35
|
+
icon: 'fa-light fa-clock-rotate-left',
|
|
36
|
+
source: `${config.module}.VersionEntry`,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
//#region ---- Version stream entity ----
|
|
42
|
+
async function factoryVersionStream() {
|
|
43
|
+
const i18n = RootConfig.config.i18n;
|
|
44
|
+
const entityDef = {
|
|
45
|
+
module: RootConfig.module.name,
|
|
46
|
+
name: RootConfig.entities.versionStream.name,
|
|
47
|
+
title: `@${i18n}:version-history.entities.version-stream.title`,
|
|
48
|
+
icon: RootConfig.entities.versionStream.icon,
|
|
49
|
+
formats: {
|
|
50
|
+
individual: `@${i18n}:version-history.entities.version-stream.title`,
|
|
51
|
+
plural: `@${i18n}:version-history.entities.version-stream.plural`,
|
|
52
|
+
searchResult: {
|
|
53
|
+
title: '{{ entityType }} / {{ entityId }}',
|
|
54
|
+
description: '{{ createdAt }}',
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
groups: [
|
|
58
|
+
{
|
|
59
|
+
id: 'overview',
|
|
60
|
+
title: `@general:terms.interface.basic-info`,
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
properties: [
|
|
64
|
+
{
|
|
65
|
+
name: 'id',
|
|
66
|
+
title: `@general:terms.common.id`,
|
|
67
|
+
groupId: 'overview',
|
|
68
|
+
schema: {
|
|
69
|
+
dataType: 'string',
|
|
70
|
+
visible: false,
|
|
71
|
+
nullable: false,
|
|
72
|
+
readonly: true,
|
|
73
|
+
unique: { enabled: true },
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: 'entityType',
|
|
78
|
+
title: `@${i18n}:version-history.entities.version-stream.fields.entity-type.title`,
|
|
79
|
+
groupId: 'overview',
|
|
80
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
name: 'entityId',
|
|
84
|
+
title: `@${i18n}:version-history.entities.version-stream.fields.entity-id.title`,
|
|
85
|
+
groupId: 'overview',
|
|
86
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: 'createdAt',
|
|
90
|
+
title: `@${i18n}:version-history.entities.version-stream.fields.created-at.title`,
|
|
91
|
+
groupId: 'overview',
|
|
92
|
+
schema: {
|
|
93
|
+
dataType: 'datetime',
|
|
94
|
+
interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
|
|
95
|
+
readonly: true,
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
columns: [{ name: 'entityType' }, { name: 'entityId' }, { name: 'createdAt' }],
|
|
100
|
+
interfaces: {
|
|
101
|
+
master: {
|
|
102
|
+
list: {
|
|
103
|
+
actions: [],
|
|
104
|
+
views: [createAllQueryView({})],
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
};
|
|
109
|
+
return entityDef;
|
|
110
|
+
}
|
|
111
|
+
//#endregion
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Generated bundle index. Do not edit.
|
|
115
|
+
*/
|
|
116
|
+
|
|
117
|
+
export { factoryVersionStream };
|
|
118
|
+
//# sourceMappingURL=acorex-platform-module-common-client-contracts-entities-version-stream.mjs.map
|
package/fesm2022/acorex-platform-module-common-client-contracts-entities-version-stream.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-common-client-contracts-entities-version-stream.mjs","sources":["../../../../libs/modules/common/contracts/src/root-config.ts","../../../../libs/modules/common/contracts/src/entities/version-stream/version-stream.entity.ts","../../../../libs/modules/common/contracts/src/acorex-platform-module-common-client-contracts-entities-version-stream.ts"],"sourcesContent":["const config = {\n i18n: 'common',\n module: 'Common',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'common',\n name: config.module,\n title: '@general:common.module.title',\n icon: 'fa-light fa-file-invoice',\n },\n entities: {\n recordLock: {\n name: 'RecordLock',\n title: 'Record Lock',\n titlePlural: 'Record Locks',\n icon: 'fa-light fa-lock',\n source: `${config.module}.RecordLock`,\n },\n versionStream: {\n name: 'VersionStream',\n title: 'Version Stream',\n titlePlural: 'Version Streams',\n icon: 'fa-light fa-code-branch',\n source: `${config.module}.VersionStream`,\n },\n versionEntry: {\n name: 'VersionEntry',\n title: 'Version Entry',\n titlePlural: 'Version Entries',\n icon: 'fa-light fa-clock-rotate-left',\n source: `${config.module}.VersionEntry`,\n },\n },\n} as const;\n","import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\n//#region ---- Version stream entity ----\n\nexport async function factoryVersionStream(): Promise<AXPEntity | null> {\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.versionStream.name,\n title: `@${i18n}:version-history.entities.version-stream.title`,\n icon: RootConfig.entities.versionStream.icon,\n formats: {\n individual: `@${i18n}:version-history.entities.version-stream.title`,\n plural: `@${i18n}:version-history.entities.version-stream.plural`,\n searchResult: {\n title: '{{ entityType }} / {{ entityId }}',\n description: '{{ createdAt }}',\n },\n },\n groups: [\n {\n id: 'overview',\n title: `@general:terms.interface.basic-info`,\n },\n ],\n properties: [\n {\n name: 'id',\n title: `@general:terms.common.id`,\n groupId: 'overview',\n schema: {\n dataType: 'string',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'entityType',\n title: `@${i18n}:version-history.entities.version-stream.fields.entity-type.title`,\n groupId: 'overview',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'entityId',\n title: `@${i18n}:version-history.entities.version-stream.fields.entity-id.title`,\n groupId: 'overview',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'createdAt',\n title: `@${i18n}:version-history.entities.version-stream.fields.created-at.title`,\n groupId: 'overview',\n schema: {\n dataType: 'datetime',\n interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },\n readonly: true,\n },\n },\n ],\n columns: [{ name: 'entityType' }, { name: 'entityId' }, { name: 'createdAt' }],\n interfaces: {\n master: {\n list: {\n actions: [],\n views: [createAllQueryView({})],\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.version-stream';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,QAAQ;AACd,IAAA,MAAM,EAAE,QAAQ;CACjB;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,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AAO,EAAE,UAAU;AACnB,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,iBAAiB,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;AAC5F,aAAA;AACD,YAAA;AACE,gBAAA,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,CAAA,CAAA,EAAI,IAAI,CAAA,gEAAA,CAAkE;AACjF,gBAAA,OAAO,EAAE,UAAU;AACnB,gBAAA,MAAM,EAAE;AACN,oBAAA,QAAQ,EAAE,UAAU;AACpB,oBAAA,SAAS,EAAE,EAAE,IAAI,EAAE,iBAAiB,CAAC,QAAQ,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE;AAChF,oBAAA,QAAQ,EAAE,IAAI;AACf,iBAAA;AACF,aAAA;AACF,SAAA;AACD,QAAA,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;AAC9E,QAAA,UAAU,EAAE;AACV,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAC;AAChC,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;AC9EA;;AAEG;;;;"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
const config = {
|
|
2
|
+
i18n: 'common',
|
|
3
|
+
module: 'Common',
|
|
4
|
+
};
|
|
5
|
+
const RootConfig = {
|
|
6
|
+
config,
|
|
7
|
+
module: {
|
|
8
|
+
route: 'common',
|
|
9
|
+
name: config.module,
|
|
10
|
+
title: '@general:common.module.title',
|
|
11
|
+
icon: 'fa-light fa-file-invoice',
|
|
12
|
+
},
|
|
13
|
+
entities: {
|
|
14
|
+
recordLock: {
|
|
15
|
+
name: 'RecordLock',
|
|
16
|
+
title: 'Record Lock',
|
|
17
|
+
titlePlural: 'Record Locks',
|
|
18
|
+
icon: 'fa-light fa-lock',
|
|
19
|
+
source: `${config.module}.RecordLock`,
|
|
20
|
+
},
|
|
21
|
+
versionStream: {
|
|
22
|
+
name: 'VersionStream',
|
|
23
|
+
title: 'Version Stream',
|
|
24
|
+
titlePlural: 'Version Streams',
|
|
25
|
+
icon: 'fa-light fa-code-branch',
|
|
26
|
+
source: `${config.module}.VersionStream`,
|
|
27
|
+
},
|
|
28
|
+
versionEntry: {
|
|
29
|
+
name: 'VersionEntry',
|
|
30
|
+
title: 'Version Entry',
|
|
31
|
+
titlePlural: 'Version Entries',
|
|
32
|
+
icon: 'fa-light fa-clock-rotate-left',
|
|
33
|
+
source: `${config.module}.VersionEntry`,
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
//#region ----- Imports -----
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region ----- Local entity catalog -----
|
|
41
|
+
/**
|
|
42
|
+
* Lazy per-entity layout factories. Do not re-export from the contracts barrel
|
|
43
|
+
* so RootConfig imports stay light. Server seed and client `local-entities`
|
|
44
|
+
* consume this catalog explicitly.
|
|
45
|
+
*/
|
|
46
|
+
const commonLocalEntityCatalog = {
|
|
47
|
+
moduleName: RootConfig.module.name,
|
|
48
|
+
loaders: {
|
|
49
|
+
[RootConfig.entities.recordLock.name]: () => import('./acorex-platform-module-common-client-contracts-entity-catalog-record-lock.entity-CY6jfaD7.mjs').then((m) => m.factoryRecordLock()),
|
|
50
|
+
[RootConfig.entities.versionEntry.name]: () => import('./acorex-platform-module-common-client-contracts-entity-catalog-version-entry.entity-DCBxAIMJ.mjs').then((m) => m.factoryVersionEntry()),
|
|
51
|
+
[RootConfig.entities.versionStream.name]: () => import('./acorex-platform-module-common-client-contracts-entity-catalog-version-stream.entity-DbSB34vz.mjs').then((m) => m.factoryVersionStream()),
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
//#endregion
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Generated bundle index. Do not edit.
|
|
58
|
+
*/
|
|
59
|
+
|
|
60
|
+
export { RootConfig as R, commonLocalEntityCatalog as c };
|
|
61
|
+
//# sourceMappingURL=acorex-platform-module-common-client-contracts-entity-catalog-acorex-platform-module-common-client-contracts-entity-catalog-C2WFbRne.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-common-client-contracts-entity-catalog-acorex-platform-module-common-client-contracts-entity-catalog-C2WFbRne.mjs","sources":["../../../../libs/modules/common/contracts/src/root-config.ts","../../../../libs/modules/common/contracts/src/entity-catalog.ts","../../../../libs/modules/common/contracts/src/acorex-platform-module-common-client-contracts-entity-catalog.ts"],"sourcesContent":["const config = {\n i18n: 'common',\n module: 'Common',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'common',\n name: config.module,\n title: '@general:common.module.title',\n icon: 'fa-light fa-file-invoice',\n },\n entities: {\n recordLock: {\n name: 'RecordLock',\n title: 'Record Lock',\n titlePlural: 'Record Locks',\n icon: 'fa-light fa-lock',\n source: `${config.module}.RecordLock`,\n },\n versionStream: {\n name: 'VersionStream',\n title: 'Version Stream',\n titlePlural: 'Version Streams',\n icon: 'fa-light fa-code-branch',\n source: `${config.module}.VersionStream`,\n },\n versionEntry: {\n name: 'VersionEntry',\n title: 'Version Entry',\n titlePlural: 'Version Entries',\n icon: 'fa-light fa-clock-rotate-left',\n source: `${config.module}.VersionEntry`,\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 commonLocalEntityCatalog: AXPLocalEntityCatalog = {\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.recordLock.name]: () =>\n import('./entities/record-lock/record-lock.entity.js').then((m) => m.factoryRecordLock()),\n [RootConfig.entities.versionEntry.name]: () =>\n import('./entities/version-entry/version-entry.entity.js').then((m) => m.factoryVersionEntry()),\n [RootConfig.entities.versionStream.name]: () =>\n import('./entities/version-stream/version-stream.entity.js').then((m) => m.factoryVersionStream()),\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,QAAQ;AACd,IAAA,MAAM,EAAE,QAAQ;CACjB;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,8BAA8B;AACrC,QAAA,IAAI,EAAE,0BAA0B;AACjC,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,UAAU,EAAE;AACV,YAAA,IAAI,EAAE,YAAY;AAClB,YAAA,KAAK,EAAE,aAAa;AACpB,YAAA,WAAW,EAAE,cAAc;AAC3B,YAAA,IAAI,EAAE,kBAAkB;AACxB,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,WAAA,CAAa;AACtC,SAAA;AACD,QAAA,aAAa,EAAE;AACb,YAAA,IAAI,EAAE,eAAe;AACrB,YAAA,KAAK,EAAE,gBAAgB;AACvB,YAAA,WAAW,EAAE,iBAAiB;AAC9B,YAAA,IAAI,EAAE,yBAAyB;AAC/B,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,cAAA,CAAgB;AACzC,SAAA;AACD,QAAA,YAAY,EAAE;AACZ,YAAA,IAAI,EAAE,cAAc;AACpB,YAAA,KAAK,EAAE,eAAe;AACtB,YAAA,WAAW,EAAE,iBAAiB;AAC9B,YAAA,IAAI,EAAE,+BAA+B;AACrC,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,aAAA,CAAe;AACxC,SAAA;AACF,KAAA;;;ACnCH;AAMA;AAEA;AAEA;;;;AAIG;AACI,MAAM,wBAAwB,GAA0B;AAC7D,IAAA,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAClC,IAAA,OAAO,EAAE;AACP,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,GAAG,MACrC,OAAO,iGAA8C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,iBAAiB,EAAE,CAAC;AAC3F,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,GAAG,MACvC,OAAO,mGAAkD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,mBAAmB,EAAE,CAAC;AACjG,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,GAAG,MACxC,OAAO,oGAAoD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,oBAAoB,EAAE,CAAC;AACrG,KAAA;;AAGH;;AC3BA;;AAEG;;;;"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-common-client-contracts-entity-catalog-acorex-platform-module-common-client-contracts-entity-catalog-C2WFbRne.mjs';
|
|
4
|
+
|
|
5
|
+
//#region ---- Record lock entity (edit locks) ----
|
|
6
|
+
async function factoryRecordLock() {
|
|
7
|
+
const entityDef = {
|
|
8
|
+
module: RootConfig.module.name,
|
|
9
|
+
name: RootConfig.entities.recordLock.name,
|
|
10
|
+
title: RootConfig.entities.recordLock.title,
|
|
11
|
+
icon: RootConfig.entities.recordLock.icon,
|
|
12
|
+
formats: {
|
|
13
|
+
individual: RootConfig.entities.recordLock.title,
|
|
14
|
+
plural: RootConfig.entities.recordLock.titlePlural,
|
|
15
|
+
searchResult: {
|
|
16
|
+
title: '{{ refType }} / {{ refId }}',
|
|
17
|
+
description: '{{ type }}',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
groups: [{ id: 'overview', title: 'Overview' }],
|
|
21
|
+
properties: [
|
|
22
|
+
{
|
|
23
|
+
name: 'id',
|
|
24
|
+
title: 'ID',
|
|
25
|
+
groupId: 'overview',
|
|
26
|
+
schema: {
|
|
27
|
+
dataType: 'uuid',
|
|
28
|
+
visible: false,
|
|
29
|
+
nullable: false,
|
|
30
|
+
readonly: true,
|
|
31
|
+
unique: { enabled: true },
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'refId',
|
|
36
|
+
title: 'Reference Id',
|
|
37
|
+
groupId: 'overview',
|
|
38
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'refType',
|
|
42
|
+
title: 'Reference Type',
|
|
43
|
+
groupId: 'overview',
|
|
44
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'type',
|
|
48
|
+
title: 'Lock Type',
|
|
49
|
+
groupId: 'overview',
|
|
50
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'date',
|
|
54
|
+
title: 'Lock Date',
|
|
55
|
+
groupId: 'overview',
|
|
56
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'expireAt',
|
|
60
|
+
title: 'Expires At',
|
|
61
|
+
groupId: 'overview',
|
|
62
|
+
schema: {
|
|
63
|
+
dataType: 'datetime',
|
|
64
|
+
interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
|
|
65
|
+
readonly: true,
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: 'lockedBy',
|
|
70
|
+
title: 'Locked By',
|
|
71
|
+
groupId: 'overview',
|
|
72
|
+
schema: { dataType: 'object', interface: { type: 'json' }, readonly: true },
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
columns: [
|
|
76
|
+
{ name: 'refType' },
|
|
77
|
+
{ name: 'refId' },
|
|
78
|
+
{ name: 'type' },
|
|
79
|
+
{ name: 'expireAt' },
|
|
80
|
+
],
|
|
81
|
+
interfaces: {
|
|
82
|
+
master: {
|
|
83
|
+
list: {
|
|
84
|
+
actions: [],
|
|
85
|
+
views: [createAllQueryView({})],
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
};
|
|
90
|
+
return entityDef;
|
|
91
|
+
}
|
|
92
|
+
//#endregion
|
|
93
|
+
|
|
94
|
+
export { factoryRecordLock };
|
|
95
|
+
//# sourceMappingURL=acorex-platform-module-common-client-contracts-entity-catalog-record-lock.entity-CY6jfaD7.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-common-client-contracts-entity-catalog-record-lock.entity-CY6jfaD7.mjs","sources":["../../../../libs/modules/common/contracts/src/entities/record-lock/record-lock.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\n//#region ---- Record lock entity (edit locks) ----\n\nexport async function factoryRecordLock(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.recordLock.name,\n title: RootConfig.entities.recordLock.title,\n icon: RootConfig.entities.recordLock.icon,\n formats: {\n individual: RootConfig.entities.recordLock.title,\n plural: RootConfig.entities.recordLock.titlePlural,\n searchResult: {\n title: '{{ refType }} / {{ refId }}',\n description: '{{ type }}',\n },\n },\n groups: [{ id: 'overview', title: 'Overview' }],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'overview',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'refId',\n title: 'Reference Id',\n groupId: 'overview',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'refType',\n title: 'Reference Type',\n groupId: 'overview',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'type',\n title: 'Lock Type',\n groupId: 'overview',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'date',\n title: 'Lock Date',\n groupId: 'overview',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'expireAt',\n title: 'Expires At',\n groupId: 'overview',\n schema: {\n dataType: 'datetime',\n interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },\n readonly: true,\n },\n },\n {\n name: 'lockedBy',\n title: 'Locked By',\n groupId: 'overview',\n schema: { dataType: 'object', interface: { type: 'json' }, readonly: true },\n },\n ],\n columns: [\n { name: 'refType' },\n { name: 'refId' },\n { name: 'type' },\n { name: 'expireAt' },\n ],\n interfaces: {\n master: {\n list: {\n actions: [],\n views: [createAllQueryView({})],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAIA;AAEO,eAAe,iBAAiB,GAAA;AACrC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAA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