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