@acorex-platform/module-conversation-client 0.0.38 → 0.0.46
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-conversation-client-acorex-platform-module-conversation-client-XTzQQhii.mjs → acorex-platform-module-conversation-client-acorex-platform-module-conversation-client-DUR2oyfP.mjs} +9727 -8104
- package/fesm2022/acorex-platform-module-conversation-client-acorex-platform-module-conversation-client-DUR2oyfP.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-conversation-client-after-message-sent.command-BMGagKtP.mjs → acorex-platform-module-conversation-client-after-message-sent.command-qTWATpgC.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-conversation-client-after-message-sent.command-BMGagKtP.mjs.map → acorex-platform-module-conversation-client-after-message-sent.command-qTWATpgC.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-conversation-client-assist-delegated-agent-detail-popup.component-D1SDsHvl.mjs → acorex-platform-module-conversation-client-assist-delegated-agent-detail-popup.component-DQWhOmBE.mjs} +8 -7
- package/fesm2022/{acorex-platform-module-conversation-client-assist-delegated-agent-detail-popup.component-D1SDsHvl.mjs.map → acorex-platform-module-conversation-client-assist-delegated-agent-detail-popup.component-DQWhOmBE.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-conversation-client-assist-message-renderer.component-DyVepuaW.mjs +1756 -0
- package/fesm2022/acorex-platform-module-conversation-client-assist-message-renderer.component-DyVepuaW.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-conversation-client-assist-tool-detail-popup.component-D8na_1QJ.mjs +120 -0
- package/fesm2022/{acorex-platform-module-conversation-client-assist-tool-detail-popup.component-BV1YH96m.mjs.map → acorex-platform-module-conversation-client-assist-tool-detail-popup.component-D8na_1QJ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-conversation-client-chat-call-session-page.component-nE7xP4bF.mjs → acorex-platform-module-conversation-client-chat-call-session-page.component-BeS4Duip.mjs} +747 -25
- package/fesm2022/acorex-platform-module-conversation-client-chat-call-session-page.component-BeS4Duip.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-conversation-client-chat-call-start-popup.component-DXkqkS50.mjs → acorex-platform-module-conversation-client-chat-call-start-popup.component-BbEhkLLh.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-conversation-client-chat-call-start-popup.component-DXkqkS50.mjs.map → acorex-platform-module-conversation-client-chat-call-start-popup.component-BbEhkLLh.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-conversation-client-chat-conversation-info-media-view.component-SYCtAqcV.mjs → acorex-platform-module-conversation-client-chat-conversation-info-media-view.component-Bnbj0e6M.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-conversation-client-chat-conversation-info-media-view.component-SYCtAqcV.mjs.map → acorex-platform-module-conversation-client-chat-conversation-info-media-view.component-Bnbj0e6M.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-conversation-client-chat-conversation-info-panel.component-bwT1-lAn.mjs +497 -0
- package/fesm2022/acorex-platform-module-conversation-client-chat-conversation-info-panel.component-bwT1-lAn.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-conversation-client-comments-page.component-Dv_x3ztZ.mjs → acorex-platform-module-conversation-client-comments-page.component-BxUz9jTX.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-conversation-client-comments-page.component-Dv_x3ztZ.mjs.map → acorex-platform-module-conversation-client-comments-page.component-BxUz9jTX.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entities-channel-audience.mjs +277 -0
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entities-channel-audience.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entities-channel-post.mjs +530 -0
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entities-channel-post.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entities-channel-receipt.mjs +206 -0
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entities-channel-receipt.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entities-message.mjs +65 -17
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entities-message.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entities-room.mjs +231 -59
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entities-room.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog-acorex-platform-module-conversation-client-contracts-entity-catalog-CV_sCYGf.mjs +87 -0
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog-acorex-platform-module-conversation-client-contracts-entity-catalog-CV_sCYGf.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog-channel-audience.entity-DyaUcESJ.mjs +213 -0
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog-channel-audience.entity-DyaUcESJ.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog-channel-post.entity-CbBcChEt.mjs +466 -0
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog-channel-post.entity-CbBcChEt.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog-channel-receipt.entity-DtRFj8zV.mjs +142 -0
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog-channel-receipt.entity-DtRFj8zV.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-conversation-client-contracts-entity-catalog-message.entity-Dz7cO1P4.mjs → acorex-platform-module-conversation-client-contracts-entity-catalog-message.entity-CJk1wEvA.mjs} +35 -19
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog-message.entity-CJk1wEvA.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog-room.entity-Ctt7qzfF.mjs +403 -0
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog-room.entity-Ctt7qzfF.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-conversation-client-contracts.mjs +846 -4
- package/fesm2022/acorex-platform-module-conversation-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-conversation-client-local-entities.mjs +3 -0
- package/fesm2022/acorex-platform-module-conversation-client-local-entities.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-conversation-client-mark-conversation-unread.command-8NoSuUwe.mjs → acorex-platform-module-conversation-client-mark-conversation-unread.command-juoWxu7I.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-conversation-client-mark-conversation-unread.command-8NoSuUwe.mjs.map → acorex-platform-module-conversation-client-mark-conversation-unread.command-juoWxu7I.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-conversation-client-open-chat.command-BgJ0Z36e.mjs → acorex-platform-module-conversation-client-open-chat.command-ridcdmj7.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-conversation-client-open-chat.command-BgJ0Z36e.mjs.map → acorex-platform-module-conversation-client-open-chat.command-ridcdmj7.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-conversation-client-retry-assist-response.command-lcNz4Hpu.mjs → acorex-platform-module-conversation-client-retry-assist-response.command-BsYxaH3g.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-conversation-client-retry-assist-response.command-lcNz4Hpu.mjs.map → acorex-platform-module-conversation-client-retry-assist-response.command-BsYxaH3g.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-conversation-client-sync-read-state.command-DxccFsD9.mjs → acorex-platform-module-conversation-client-sync-read-state.command-DsCyIdEk.mjs} +7 -2
- package/fesm2022/acorex-platform-module-conversation-client-sync-read-state.command-DsCyIdEk.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-conversation-client.mjs +1 -1
- package/package.json +14 -2
- package/types/acorex-platform-module-conversation-client-contracts-entities-channel-audience.d.ts +5 -0
- package/types/acorex-platform-module-conversation-client-contracts-entities-channel-post.d.ts +5 -0
- package/types/acorex-platform-module-conversation-client-contracts-entities-channel-receipt.d.ts +5 -0
- package/types/acorex-platform-module-conversation-client-contracts.d.ts +432 -2
- package/types/acorex-platform-module-conversation-client.d.ts +676 -161
- package/fesm2022/acorex-platform-module-conversation-client-acorex-platform-module-conversation-client-XTzQQhii.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-conversation-client-assist-tool-detail-popup.component-BV1YH96m.mjs +0 -120
- package/fesm2022/acorex-platform-module-conversation-client-chat-call-session-page.component-nE7xP4bF.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-conversation-client-chat-conversation-info-panel.component-51PtojIM.mjs +0 -482
- package/fesm2022/acorex-platform-module-conversation-client-chat-conversation-info-panel.component-51PtojIM.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog-acorex-platform-module-conversation-client-contracts-entity-catalog-Cy3LwYMZ.mjs +0 -52
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog-acorex-platform-module-conversation-client-contracts-entity-catalog-Cy3LwYMZ.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog-message.entity-Dz7cO1P4.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog-room.entity-B9txvc3y.mjs +0 -263
- package/fesm2022/acorex-platform-module-conversation-client-contracts-entity-catalog-room.entity-B9txvc3y.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-conversation-client-sync-read-state.command-DxccFsD9.mjs.map +0 -1
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityDetailsCrudActions, entityDetailsSimpleCondition } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-conversation-client-contracts-entity-catalog-acorex-platform-module-conversation-client-contracts-entity-catalog-CV_sCYGf.mjs';
|
|
4
|
+
|
|
5
|
+
//#region ----- Imports -----
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region ----- Constants -----
|
|
8
|
+
const i18n = RootConfig.config.i18n;
|
|
9
|
+
const entityI18n = `${i18n}:entities.channel-post`;
|
|
10
|
+
const listSortAndFilterOptions = {
|
|
11
|
+
sort: { enabled: true },
|
|
12
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
13
|
+
};
|
|
14
|
+
const KIND_OPTIONS = [
|
|
15
|
+
{ id: 'announcement', title: `@${entityI18n}.fields.kind.options.announcement` },
|
|
16
|
+
{ id: 'news', title: `@${entityI18n}.fields.kind.options.news` },
|
|
17
|
+
{ id: 'event', title: `@${entityI18n}.fields.kind.options.event` },
|
|
18
|
+
{ id: 'urgent', title: `@${entityI18n}.fields.kind.options.urgent` },
|
|
19
|
+
];
|
|
20
|
+
const STATUS_OPTIONS = [
|
|
21
|
+
{ id: 'draft', title: `@${entityI18n}.fields.status.options.draft` },
|
|
22
|
+
{ id: 'scheduled', title: `@${entityI18n}.fields.status.options.scheduled` },
|
|
23
|
+
{ id: 'published', title: `@${entityI18n}.fields.status.options.published` },
|
|
24
|
+
{ id: 'cancelled', title: `@${entityI18n}.fields.status.options.cancelled` },
|
|
25
|
+
{ id: 'archived', title: `@${entityI18n}.fields.status.options.archived` },
|
|
26
|
+
];
|
|
27
|
+
const NOTIFICATION_POLICY_OPTIONS = [
|
|
28
|
+
{ id: 'in-app', title: `@${entityI18n}.fields.notification-policy.options.in-app` },
|
|
29
|
+
{ id: 'selected-channels', title: `@${entityI18n}.fields.notification-policy.options.selected-channels` },
|
|
30
|
+
{ id: 'urgent-override', title: `@${entityI18n}.fields.notification-policy.options.urgent-override` },
|
|
31
|
+
];
|
|
32
|
+
const halfWidthLg = { positions: { lg: { colSpan: 6 } } };
|
|
33
|
+
const PINNED_FIELDS_VISIBLE = '{{ !!context.eval("isPinned") }}';
|
|
34
|
+
const gallerySection = {
|
|
35
|
+
id: 'gallery-gallery',
|
|
36
|
+
title: '@platform-layout-widgets:widgets.file-viewer.title',
|
|
37
|
+
};
|
|
38
|
+
const galleryProperty = {
|
|
39
|
+
name: 'gallery',
|
|
40
|
+
layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 20 } } },
|
|
41
|
+
};
|
|
42
|
+
const galleryFieldProperty = {
|
|
43
|
+
name: 'gallery',
|
|
44
|
+
title: '@platform-layout-widgets:widgets.file-viewer.title',
|
|
45
|
+
groupId: 'gallery-gallery',
|
|
46
|
+
schema: {
|
|
47
|
+
dataType: 'array',
|
|
48
|
+
interface: {
|
|
49
|
+
type: AXPWidgetsCatalog.fileViewer,
|
|
50
|
+
options: {
|
|
51
|
+
thumbnail: true,
|
|
52
|
+
fullScreenButton: true,
|
|
53
|
+
downloadButton: true,
|
|
54
|
+
allowUpload: true,
|
|
55
|
+
allowUploadTypes: ['image/*', 'video/*'],
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region ----- Entity Factory -----
|
|
62
|
+
async function channelPostFactory() {
|
|
63
|
+
const entityDef = {
|
|
64
|
+
module: RootConfig.module.name,
|
|
65
|
+
name: RootConfig.entities.channelPost.name,
|
|
66
|
+
title: RootConfig.entities.channelPost.title,
|
|
67
|
+
icon: RootConfig.entities.channelPost.icon,
|
|
68
|
+
searchTags: [
|
|
69
|
+
'channel-post',
|
|
70
|
+
'announcement',
|
|
71
|
+
'news',
|
|
72
|
+
'urgent',
|
|
73
|
+
'event',
|
|
74
|
+
'internal-comms',
|
|
75
|
+
'publish',
|
|
76
|
+
'اطلاعیه',
|
|
77
|
+
'اطلاعیهها',
|
|
78
|
+
'اخبار',
|
|
79
|
+
'رویداد',
|
|
80
|
+
],
|
|
81
|
+
formats: {
|
|
82
|
+
individual: RootConfig.entities.channelPost.title,
|
|
83
|
+
plural: RootConfig.entities.channelPost.titlePlural,
|
|
84
|
+
searchResult: {
|
|
85
|
+
title: '{{ title }}',
|
|
86
|
+
description: '{{ kind }}',
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
plugins: [
|
|
90
|
+
{ name: 'history' },
|
|
91
|
+
{ name: 'lock' },
|
|
92
|
+
{ name: 'compare' },
|
|
93
|
+
{ name: 'archive' },
|
|
94
|
+
{ name: 'comments', options: { display: 'page' } },
|
|
95
|
+
{
|
|
96
|
+
name: 'gallery',
|
|
97
|
+
options: {
|
|
98
|
+
display: 'section',
|
|
99
|
+
allowUpload: true,
|
|
100
|
+
allowUploadTypes: ['image/*', 'video/*'],
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
{ name: 'attachments', options: {} },
|
|
104
|
+
{ name: 'tags', options: { showInList: true } },
|
|
105
|
+
],
|
|
106
|
+
relatedEntities: [
|
|
107
|
+
{
|
|
108
|
+
entity: RootConfig.entities.channelReceipt.source,
|
|
109
|
+
title: RootConfig.entities.channelReceipt.titlePlural,
|
|
110
|
+
columns: ['userId', 'firstSeenAt', 'readAt', 'dismissedAt'],
|
|
111
|
+
conditions: [entityDetailsSimpleCondition('postId')],
|
|
112
|
+
actions: [...entityDetailsCrudActions('postId', { delete: false })],
|
|
113
|
+
persistence: { foreignKeyField: 'postId' },
|
|
114
|
+
excludeProperties: ['postId'],
|
|
115
|
+
layout: { type: 'page-list', position: 'after', order: 1 },
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
groups: [
|
|
119
|
+
{ id: 'basic-info', title: '@general:terms.interface.basic-info' },
|
|
120
|
+
{ id: 'lifecycle', title: `@${entityI18n}.groups.lifecycle` },
|
|
121
|
+
{ id: 'event', title: `@${entityI18n}.groups.event` },
|
|
122
|
+
{ id: 'engagement', title: `@${entityI18n}.groups.engagement` },
|
|
123
|
+
{ id: 'gallery-gallery', title: '@platform-layout-widgets:widgets.file-viewer.title' },
|
|
124
|
+
],
|
|
125
|
+
properties: [
|
|
126
|
+
{
|
|
127
|
+
name: 'id',
|
|
128
|
+
title: '@general:terms.common.id',
|
|
129
|
+
groupId: 'basic-info',
|
|
130
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
name: 'roomId',
|
|
134
|
+
title: `@${entityI18n}.fields.room-id.title`,
|
|
135
|
+
groupId: 'basic-info',
|
|
136
|
+
options: listSortAndFilterOptions,
|
|
137
|
+
schema: {
|
|
138
|
+
dataType: 'string',
|
|
139
|
+
interface: {
|
|
140
|
+
type: AXPWidgetsCatalog.lookup,
|
|
141
|
+
options: {
|
|
142
|
+
entity: RootConfig.entities.room.source,
|
|
143
|
+
textField: 'title',
|
|
144
|
+
valueField: 'id',
|
|
145
|
+
look: 'select',
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
validations: [{ rule: 'required' }],
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: 'title',
|
|
153
|
+
title: '@general:terms.common.title',
|
|
154
|
+
groupId: 'basic-info',
|
|
155
|
+
options: listSortAndFilterOptions,
|
|
156
|
+
schema: {
|
|
157
|
+
dataType: 'string',
|
|
158
|
+
interface: { type: AXPWidgetsCatalog.text, options: { multiLanguage: true } },
|
|
159
|
+
},
|
|
160
|
+
validations: [{ rule: 'required' }],
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
name: 'body',
|
|
164
|
+
title: `@${entityI18n}.fields.body.title`,
|
|
165
|
+
groupId: 'basic-info',
|
|
166
|
+
schema: {
|
|
167
|
+
dataType: 'string',
|
|
168
|
+
interface: { type: AXPWidgetsCatalog.richText, options: { multiLanguage: true } },
|
|
169
|
+
},
|
|
170
|
+
validations: [{ rule: 'required' }],
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
name: 'kind',
|
|
174
|
+
title: `@${entityI18n}.fields.kind.title`,
|
|
175
|
+
groupId: 'basic-info',
|
|
176
|
+
options: listSortAndFilterOptions,
|
|
177
|
+
schema: {
|
|
178
|
+
dataType: 'string',
|
|
179
|
+
defaultValue: 'announcement',
|
|
180
|
+
interface: {
|
|
181
|
+
type: AXPWidgetsCatalog.select,
|
|
182
|
+
options: {
|
|
183
|
+
valueField: 'id',
|
|
184
|
+
textField: 'title',
|
|
185
|
+
dataSource: KIND_OPTIONS,
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
validations: [{ rule: 'required' }],
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
name: 'status',
|
|
193
|
+
title: `@${entityI18n}.fields.status.title`,
|
|
194
|
+
groupId: 'lifecycle',
|
|
195
|
+
options: listSortAndFilterOptions,
|
|
196
|
+
schema: {
|
|
197
|
+
dataType: 'string',
|
|
198
|
+
defaultValue: 'draft',
|
|
199
|
+
interface: {
|
|
200
|
+
type: AXPWidgetsCatalog.select,
|
|
201
|
+
options: {
|
|
202
|
+
valueField: 'id',
|
|
203
|
+
textField: 'title',
|
|
204
|
+
dataSource: STATUS_OPTIONS,
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
validations: [{ rule: 'required' }],
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
name: 'authorUserId',
|
|
212
|
+
title: `@${entityI18n}.fields.author-user-id.title`,
|
|
213
|
+
groupId: 'basic-info',
|
|
214
|
+
options: listSortAndFilterOptions,
|
|
215
|
+
schema: {
|
|
216
|
+
dataType: 'string',
|
|
217
|
+
interface: {
|
|
218
|
+
type: AXPWidgetsCatalog.lookup,
|
|
219
|
+
options: {
|
|
220
|
+
entity: 'SecurityManagement.User',
|
|
221
|
+
textField: 'displayName',
|
|
222
|
+
valueField: 'id',
|
|
223
|
+
look: 'select',
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
},
|
|
227
|
+
validations: [{ rule: 'required' }],
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
name: 'publishAt',
|
|
231
|
+
title: `@${entityI18n}.fields.publish-at.title`,
|
|
232
|
+
groupId: 'lifecycle',
|
|
233
|
+
options: listSortAndFilterOptions,
|
|
234
|
+
schema: {
|
|
235
|
+
dataType: 'date',
|
|
236
|
+
interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
|
|
237
|
+
},
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
name: 'expiresAt',
|
|
241
|
+
title: `@${entityI18n}.fields.expires-at.title`,
|
|
242
|
+
groupId: 'lifecycle',
|
|
243
|
+
options: listSortAndFilterOptions,
|
|
244
|
+
schema: {
|
|
245
|
+
dataType: 'date',
|
|
246
|
+
interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
|
|
247
|
+
},
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
name: 'publishedAt',
|
|
251
|
+
title: `@${entityI18n}.fields.published-at.title`,
|
|
252
|
+
groupId: 'lifecycle',
|
|
253
|
+
options: { sort: { enabled: true } },
|
|
254
|
+
schema: {
|
|
255
|
+
dataType: 'date',
|
|
256
|
+
readonly: true,
|
|
257
|
+
interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
|
|
258
|
+
},
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
name: 'eventStartsAt',
|
|
262
|
+
title: `@${entityI18n}.fields.event-starts-at.title`,
|
|
263
|
+
groupId: 'event',
|
|
264
|
+
options: listSortAndFilterOptions,
|
|
265
|
+
schema: {
|
|
266
|
+
dataType: 'date',
|
|
267
|
+
interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
|
|
268
|
+
},
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
name: 'eventEndsAt',
|
|
272
|
+
title: `@${entityI18n}.fields.event-ends-at.title`,
|
|
273
|
+
groupId: 'event',
|
|
274
|
+
schema: {
|
|
275
|
+
dataType: 'date',
|
|
276
|
+
interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
|
|
277
|
+
},
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
name: 'eventLocation',
|
|
281
|
+
title: `@${entityI18n}.fields.event-location.title`,
|
|
282
|
+
groupId: 'event',
|
|
283
|
+
schema: {
|
|
284
|
+
dataType: 'string',
|
|
285
|
+
interface: { type: AXPWidgetsCatalog.text, options: { multiLanguage: true } },
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
name: 'isPinned',
|
|
290
|
+
title: `@${entityI18n}.fields.is-pinned.title`,
|
|
291
|
+
groupId: 'lifecycle',
|
|
292
|
+
options: listSortAndFilterOptions,
|
|
293
|
+
schema: {
|
|
294
|
+
dataType: 'boolean',
|
|
295
|
+
defaultValue: false,
|
|
296
|
+
interface: { type: AXPWidgetsCatalog.toggle },
|
|
297
|
+
},
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
name: 'pinRank',
|
|
301
|
+
title: `@${entityI18n}.fields.pin-rank.title`,
|
|
302
|
+
groupId: 'lifecycle',
|
|
303
|
+
schema: {
|
|
304
|
+
dataType: 'number',
|
|
305
|
+
visible: PINNED_FIELDS_VISIBLE,
|
|
306
|
+
interface: { type: AXPWidgetsCatalog.number },
|
|
307
|
+
},
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
name: 'pinnedUntil',
|
|
311
|
+
title: `@${entityI18n}.fields.pinned-until.title`,
|
|
312
|
+
groupId: 'lifecycle',
|
|
313
|
+
schema: {
|
|
314
|
+
dataType: 'date',
|
|
315
|
+
visible: PINNED_FIELDS_VISIBLE,
|
|
316
|
+
interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
|
|
317
|
+
},
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
name: 'allowReactions',
|
|
321
|
+
title: `@${entityI18n}.fields.allow-reactions.title`,
|
|
322
|
+
groupId: 'engagement',
|
|
323
|
+
schema: {
|
|
324
|
+
dataType: 'boolean',
|
|
325
|
+
defaultValue: true,
|
|
326
|
+
interface: { type: AXPWidgetsCatalog.toggle },
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
name: 'allowComments',
|
|
331
|
+
title: `@${entityI18n}.fields.allow-comments.title`,
|
|
332
|
+
groupId: 'engagement',
|
|
333
|
+
schema: {
|
|
334
|
+
dataType: 'boolean',
|
|
335
|
+
defaultValue: true,
|
|
336
|
+
interface: { type: AXPWidgetsCatalog.toggle },
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
name: 'notificationPolicy',
|
|
341
|
+
title: `@${entityI18n}.fields.notification-policy.title`,
|
|
342
|
+
groupId: 'engagement',
|
|
343
|
+
schema: {
|
|
344
|
+
dataType: 'string',
|
|
345
|
+
defaultValue: 'in-app',
|
|
346
|
+
interface: {
|
|
347
|
+
type: AXPWidgetsCatalog.select,
|
|
348
|
+
options: {
|
|
349
|
+
valueField: 'id',
|
|
350
|
+
textField: 'title',
|
|
351
|
+
dataSource: NOTIFICATION_POLICY_OPTIONS,
|
|
352
|
+
},
|
|
353
|
+
},
|
|
354
|
+
},
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
name: 'publicationVersion',
|
|
358
|
+
title: `@${entityI18n}.fields.publication-version.title`,
|
|
359
|
+
groupId: 'lifecycle',
|
|
360
|
+
schema: {
|
|
361
|
+
dataType: 'number',
|
|
362
|
+
defaultValue: 0,
|
|
363
|
+
readonly: true,
|
|
364
|
+
interface: { type: AXPWidgetsCatalog.number },
|
|
365
|
+
},
|
|
366
|
+
},
|
|
367
|
+
galleryFieldProperty,
|
|
368
|
+
],
|
|
369
|
+
columns: [
|
|
370
|
+
{ name: 'title' },
|
|
371
|
+
{ name: 'roomId' },
|
|
372
|
+
{ name: 'kind' },
|
|
373
|
+
{ name: 'status' },
|
|
374
|
+
{ name: 'authorUserId' },
|
|
375
|
+
{ name: 'publishedAt' },
|
|
376
|
+
{ name: 'isPinned' },
|
|
377
|
+
],
|
|
378
|
+
interfaces: {
|
|
379
|
+
master: {
|
|
380
|
+
create: {
|
|
381
|
+
sections: [{ id: 'basic-info' }, { id: 'lifecycle' }, { id: 'event' }, { id: 'engagement' }, gallerySection],
|
|
382
|
+
properties: [
|
|
383
|
+
{ name: 'roomId', layout: halfWidthLg },
|
|
384
|
+
{ name: 'title' },
|
|
385
|
+
{ name: 'kind', layout: halfWidthLg },
|
|
386
|
+
{ name: 'body' },
|
|
387
|
+
{ name: 'authorUserId', layout: halfWidthLg },
|
|
388
|
+
{ name: 'publishAt', layout: halfWidthLg },
|
|
389
|
+
{ name: 'expiresAt', layout: halfWidthLg },
|
|
390
|
+
{ name: 'eventStartsAt' },
|
|
391
|
+
{ name: 'eventEndsAt' },
|
|
392
|
+
{ name: 'eventLocation' },
|
|
393
|
+
{ name: 'isPinned' },
|
|
394
|
+
{ name: 'pinRank', layout: halfWidthLg },
|
|
395
|
+
{ name: 'pinnedUntil', layout: halfWidthLg },
|
|
396
|
+
{ name: 'allowReactions' },
|
|
397
|
+
{ name: 'allowComments' },
|
|
398
|
+
{ name: 'notificationPolicy' },
|
|
399
|
+
galleryProperty,
|
|
400
|
+
],
|
|
401
|
+
},
|
|
402
|
+
update: {
|
|
403
|
+
sections: [{ id: 'basic-info' }, { id: 'lifecycle' }, { id: 'event' }, { id: 'engagement' }, gallerySection],
|
|
404
|
+
properties: [
|
|
405
|
+
{ name: 'roomId', layout: halfWidthLg },
|
|
406
|
+
{ name: 'title' },
|
|
407
|
+
{ name: 'kind', layout: halfWidthLg },
|
|
408
|
+
{ name: 'status' },
|
|
409
|
+
{ name: 'body' },
|
|
410
|
+
{ name: 'authorUserId', layout: halfWidthLg },
|
|
411
|
+
{ name: 'publishAt', layout: halfWidthLg },
|
|
412
|
+
{ name: 'expiresAt', layout: halfWidthLg },
|
|
413
|
+
{ name: 'publishedAt' },
|
|
414
|
+
{ name: 'eventStartsAt' },
|
|
415
|
+
{ name: 'eventEndsAt' },
|
|
416
|
+
{ name: 'eventLocation' },
|
|
417
|
+
{ name: 'isPinned' },
|
|
418
|
+
{ name: 'pinRank', layout: halfWidthLg },
|
|
419
|
+
{ name: 'pinnedUntil', layout: halfWidthLg },
|
|
420
|
+
{ name: 'allowReactions' },
|
|
421
|
+
{ name: 'allowComments' },
|
|
422
|
+
{ name: 'notificationPolicy' },
|
|
423
|
+
{ name: 'publicationVersion' },
|
|
424
|
+
galleryProperty,
|
|
425
|
+
],
|
|
426
|
+
},
|
|
427
|
+
single: {
|
|
428
|
+
title: '{{ title }}',
|
|
429
|
+
sections: [{ id: 'basic-info' }, { id: 'lifecycle' }, { id: 'event' }, { id: 'engagement' }, gallerySection],
|
|
430
|
+
properties: [
|
|
431
|
+
{ name: 'roomId', layout: halfWidthLg },
|
|
432
|
+
{ name: 'title' },
|
|
433
|
+
{ name: 'kind', layout: halfWidthLg },
|
|
434
|
+
{ name: 'status' },
|
|
435
|
+
{ name: 'body' },
|
|
436
|
+
{ name: 'authorUserId', layout: halfWidthLg },
|
|
437
|
+
{ name: 'publishAt', layout: halfWidthLg },
|
|
438
|
+
{ name: 'expiresAt', layout: halfWidthLg },
|
|
439
|
+
{ name: 'publishedAt' },
|
|
440
|
+
{ name: 'eventStartsAt' },
|
|
441
|
+
{ name: 'eventEndsAt' },
|
|
442
|
+
{ name: 'eventLocation' },
|
|
443
|
+
{ name: 'isPinned' },
|
|
444
|
+
{ name: 'pinRank', layout: halfWidthLg },
|
|
445
|
+
{ name: 'pinnedUntil', layout: halfWidthLg },
|
|
446
|
+
{ name: 'allowReactions' },
|
|
447
|
+
{ name: 'allowComments' },
|
|
448
|
+
{ name: 'notificationPolicy' },
|
|
449
|
+
{ name: 'publicationVersion' },
|
|
450
|
+
galleryProperty,
|
|
451
|
+
],
|
|
452
|
+
actions: [],
|
|
453
|
+
},
|
|
454
|
+
list: {
|
|
455
|
+
actions: [...entityMasterCrudActions()],
|
|
456
|
+
views: [createAllQueryView({ sorts: [{ name: 'publishedAt', dir: 'desc' }] })],
|
|
457
|
+
},
|
|
458
|
+
},
|
|
459
|
+
},
|
|
460
|
+
};
|
|
461
|
+
return entityDef;
|
|
462
|
+
}
|
|
463
|
+
//#endregion
|
|
464
|
+
|
|
465
|
+
export { channelPostFactory };
|
|
466
|
+
//# sourceMappingURL=acorex-platform-module-conversation-client-contracts-entity-catalog-channel-post.entity-CbBcChEt.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-conversation-client-contracts-entity-catalog-channel-post.entity-CbBcChEt.mjs","sources":["../../../../libs/modules/conversation/contracts/src/entities/channel-post/channel-post.entity.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n createAllQueryView,\n entityDetailsCrudActions,\n entityDetailsSimpleCondition,\n entityMasterCrudActions,\n type AXPEntityPropertyLayoutConfig,\n} from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ----- Constants -----\n\nconst i18n = RootConfig.config.i18n;\nconst entityI18n = `${i18n}:entities.channel-post`;\n\nconst listSortAndFilterOptions = {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n};\n\nconst KIND_OPTIONS = [\n { id: 'announcement', title: `@${entityI18n}.fields.kind.options.announcement` },\n { id: 'news', title: `@${entityI18n}.fields.kind.options.news` },\n { id: 'event', title: `@${entityI18n}.fields.kind.options.event` },\n { id: 'urgent', title: `@${entityI18n}.fields.kind.options.urgent` },\n];\n\nconst STATUS_OPTIONS = [\n { id: 'draft', title: `@${entityI18n}.fields.status.options.draft` },\n { id: 'scheduled', title: `@${entityI18n}.fields.status.options.scheduled` },\n { id: 'published', title: `@${entityI18n}.fields.status.options.published` },\n { id: 'cancelled', title: `@${entityI18n}.fields.status.options.cancelled` },\n { id: 'archived', title: `@${entityI18n}.fields.status.options.archived` },\n];\n\nconst NOTIFICATION_POLICY_OPTIONS = [\n { id: 'in-app', title: `@${entityI18n}.fields.notification-policy.options.in-app` },\n { id: 'selected-channels', title: `@${entityI18n}.fields.notification-policy.options.selected-channels` },\n { id: 'urgent-override', title: `@${entityI18n}.fields.notification-policy.options.urgent-override` },\n];\n\nconst halfWidthLg: AXPEntityPropertyLayoutConfig = { positions: { lg: { colSpan: 6 } } };\nconst PINNED_FIELDS_VISIBLE = '{{ !!context.eval(\"isPinned\") }}';\nconst gallerySection = {\n id: 'gallery-gallery',\n title: '@platform-layout-widgets:widgets.file-viewer.title',\n};\nconst galleryProperty = {\n name: 'gallery',\n layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 20 } } },\n};\nconst galleryFieldProperty = {\n name: 'gallery',\n title: '@platform-layout-widgets:widgets.file-viewer.title',\n groupId: 'gallery-gallery',\n schema: {\n dataType: 'array' as const,\n interface: {\n type: AXPWidgetsCatalog.fileViewer,\n options: {\n thumbnail: true,\n fullScreenButton: true,\n downloadButton: true,\n allowUpload: true,\n allowUploadTypes: ['image/*', 'video/*'],\n },\n },\n },\n};\n\n//#endregion\n\n//#region ----- Entity Factory -----\n\nexport async function channelPostFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.channelPost.name,\n title: RootConfig.entities.channelPost.title,\n icon: RootConfig.entities.channelPost.icon,\n searchTags: [\n 'channel-post',\n 'announcement',\n 'news',\n 'urgent',\n 'event',\n 'internal-comms',\n 'publish',\n 'اطلاعیه',\n 'اطلاعیهها',\n 'اخبار',\n 'رویداد',\n ],\n formats: {\n individual: RootConfig.entities.channelPost.title,\n plural: RootConfig.entities.channelPost.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ kind }}',\n },\n },\n plugins: [\n { name: 'history' },\n { name: 'lock' },\n { name: 'compare' },\n { name: 'archive' },\n { name: 'comments', options: { display: 'page' } },\n {\n name: 'gallery',\n options: {\n display: 'section',\n allowUpload: true,\n allowUploadTypes: ['image/*', 'video/*'],\n },\n },\n { name: 'attachments', options: {} },\n { name: 'tags', options: { showInList: true } },\n ],\n relatedEntities: [\n {\n entity: RootConfig.entities.channelReceipt.source,\n title: RootConfig.entities.channelReceipt.titlePlural,\n columns: ['userId', 'firstSeenAt', 'readAt', 'dismissedAt'],\n conditions: [entityDetailsSimpleCondition('postId')],\n actions: [...entityDetailsCrudActions('postId', { delete: false })],\n persistence: { foreignKeyField: 'postId' },\n excludeProperties: ['postId'],\n layout: { type: 'page-list', position: 'after', order: 1 },\n },\n ],\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n { id: 'lifecycle', title: `@${entityI18n}.groups.lifecycle` },\n { id: 'event', title: `@${entityI18n}.groups.event` },\n { id: 'engagement', title: `@${entityI18n}.groups.engagement` },\n { id: 'gallery-gallery', title: '@platform-layout-widgets:widgets.file-viewer.title' },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'roomId',\n title: `@${entityI18n}.fields.room-id.title`,\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: RootConfig.entities.room.source,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text, options: { multiLanguage: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'body',\n title: `@${entityI18n}.fields.body.title`,\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.richText, options: { multiLanguage: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'kind',\n title: `@${entityI18n}.fields.kind.title`,\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n defaultValue: 'announcement',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: KIND_OPTIONS,\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'status',\n title: `@${entityI18n}.fields.status.title`,\n groupId: 'lifecycle',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n defaultValue: 'draft',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: STATUS_OPTIONS,\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'authorUserId',\n title: `@${entityI18n}.fields.author-user-id.title`,\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: 'SecurityManagement.User',\n textField: 'displayName',\n valueField: 'id',\n look: 'select',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'publishAt',\n title: `@${entityI18n}.fields.publish-at.title`,\n groupId: 'lifecycle',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'date',\n interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },\n },\n },\n {\n name: 'expiresAt',\n title: `@${entityI18n}.fields.expires-at.title`,\n groupId: 'lifecycle',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'date',\n interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },\n },\n },\n {\n name: 'publishedAt',\n title: `@${entityI18n}.fields.published-at.title`,\n groupId: 'lifecycle',\n options: { sort: { enabled: true } },\n schema: {\n dataType: 'date',\n readonly: true,\n interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },\n },\n },\n {\n name: 'eventStartsAt',\n title: `@${entityI18n}.fields.event-starts-at.title`,\n groupId: 'event',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'date',\n interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },\n },\n },\n {\n name: 'eventEndsAt',\n title: `@${entityI18n}.fields.event-ends-at.title`,\n groupId: 'event',\n schema: {\n dataType: 'date',\n interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },\n },\n },\n {\n name: 'eventLocation',\n title: `@${entityI18n}.fields.event-location.title`,\n groupId: 'event',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text, options: { multiLanguage: true } },\n },\n },\n {\n name: 'isPinned',\n title: `@${entityI18n}.fields.is-pinned.title`,\n groupId: 'lifecycle',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'boolean',\n defaultValue: false,\n interface: { type: AXPWidgetsCatalog.toggle },\n },\n },\n {\n name: 'pinRank',\n title: `@${entityI18n}.fields.pin-rank.title`,\n groupId: 'lifecycle',\n schema: {\n dataType: 'number',\n visible: PINNED_FIELDS_VISIBLE,\n interface: { type: AXPWidgetsCatalog.number },\n },\n },\n {\n name: 'pinnedUntil',\n title: `@${entityI18n}.fields.pinned-until.title`,\n groupId: 'lifecycle',\n schema: {\n dataType: 'date',\n visible: PINNED_FIELDS_VISIBLE,\n interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },\n },\n },\n {\n name: 'allowReactions',\n title: `@${entityI18n}.fields.allow-reactions.title`,\n groupId: 'engagement',\n schema: {\n dataType: 'boolean',\n defaultValue: true,\n interface: { type: AXPWidgetsCatalog.toggle },\n },\n },\n {\n name: 'allowComments',\n title: `@${entityI18n}.fields.allow-comments.title`,\n groupId: 'engagement',\n schema: {\n dataType: 'boolean',\n defaultValue: true,\n interface: { type: AXPWidgetsCatalog.toggle },\n },\n },\n {\n name: 'notificationPolicy',\n title: `@${entityI18n}.fields.notification-policy.title`,\n groupId: 'engagement',\n schema: {\n dataType: 'string',\n defaultValue: 'in-app',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: NOTIFICATION_POLICY_OPTIONS,\n },\n },\n },\n },\n {\n name: 'publicationVersion',\n title: `@${entityI18n}.fields.publication-version.title`,\n groupId: 'lifecycle',\n schema: {\n dataType: 'number',\n defaultValue: 0,\n readonly: true,\n interface: { type: AXPWidgetsCatalog.number },\n },\n },\n galleryFieldProperty,\n ],\n columns: [\n { name: 'title' },\n { name: 'roomId' },\n { name: 'kind' },\n { name: 'status' },\n { name: 'authorUserId' },\n { name: 'publishedAt' },\n { name: 'isPinned' },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'lifecycle' }, { id: 'event' }, { id: 'engagement' }, gallerySection],\n properties: [\n { name: 'roomId', layout: halfWidthLg },\n { name: 'title' },\n { name: 'kind', layout: halfWidthLg },\n { name: 'body' },\n { name: 'authorUserId', layout: halfWidthLg },\n { name: 'publishAt', layout: halfWidthLg },\n { name: 'expiresAt', layout: halfWidthLg },\n { name: 'eventStartsAt' },\n { name: 'eventEndsAt' },\n { name: 'eventLocation' },\n { name: 'isPinned' },\n { name: 'pinRank', layout: halfWidthLg },\n { name: 'pinnedUntil', layout: halfWidthLg },\n { name: 'allowReactions' },\n { name: 'allowComments' },\n { name: 'notificationPolicy' },\n galleryProperty,\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'lifecycle' }, { id: 'event' }, { id: 'engagement' }, gallerySection],\n properties: [\n { name: 'roomId', layout: halfWidthLg },\n { name: 'title' },\n { name: 'kind', layout: halfWidthLg },\n { name: 'status' },\n { name: 'body' },\n { name: 'authorUserId', layout: halfWidthLg },\n { name: 'publishAt', layout: halfWidthLg },\n { name: 'expiresAt', layout: halfWidthLg },\n { name: 'publishedAt' },\n { name: 'eventStartsAt' },\n { name: 'eventEndsAt' },\n { name: 'eventLocation' },\n { name: 'isPinned' },\n { name: 'pinRank', layout: halfWidthLg },\n { name: 'pinnedUntil', layout: halfWidthLg },\n { name: 'allowReactions' },\n { name: 'allowComments' },\n { name: 'notificationPolicy' },\n { name: 'publicationVersion' },\n galleryProperty,\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [{ id: 'basic-info' }, { id: 'lifecycle' }, { id: 'event' }, { id: 'engagement' }, gallerySection],\n properties: [\n { name: 'roomId', layout: halfWidthLg },\n { name: 'title' },\n { name: 'kind', layout: halfWidthLg },\n { name: 'status' },\n { name: 'body' },\n { name: 'authorUserId', layout: halfWidthLg },\n { name: 'publishAt', layout: halfWidthLg },\n { name: 'expiresAt', layout: halfWidthLg },\n { name: 'publishedAt' },\n { name: 'eventStartsAt' },\n { name: 'eventEndsAt' },\n { name: 'eventLocation' },\n { name: 'isPinned' },\n { name: 'pinRank', layout: halfWidthLg },\n { name: 'pinnedUntil', layout: halfWidthLg },\n { name: 'allowReactions' },\n { name: 'allowComments' },\n { name: 'notificationPolicy' },\n { name: 'publicationVersion' },\n galleryProperty,\n ],\n actions: [],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'publishedAt', dir: 'desc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAAA;AAaA;AAEA;AAEA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AACnC,MAAM,UAAU,GAAG,CAAA,EAAG,IAAI,wBAAwB;AAElD,MAAM,wBAAwB,GAAG;AAC/B,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;AACvB,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE;CACnE;AAED,MAAM,YAAY,GAAG;IACnB,EAAE,EAAE,EAAE,cAAc,EAAE,KAAK,EAAE,CAAA,CAAA,EAAI,UAAU,CAAA,iCAAA,CAAmC,EAAE;IAChF,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAA,CAAA,EAAI,UAAU,CAAA,yBAAA,CAA2B,EAAE;IAChE,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAA,CAAA,EAAI,UAAU,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