@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,403 @@
1
+ import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, createQueryView, entityMasterCrudActions, entityMasterRecordActions, entityDetailsCrudActions, entityMasterViewAction, 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 ----- Target entity map -----
8
+ /** Lookup entity for each audience target type. `organization` has no row lookup. */
9
+ const AXM_CHANNEL_AUDIENCE_TARGET_ENTITY = {
10
+ organization: null,
11
+ user: 'SecurityManagement.User',
12
+ role: 'SecurityManagement.Role',
13
+ team: 'OrganizationManagement.Team',
14
+ businessUnit: 'OrganizationManagement.BusinessUnit',
15
+ position: 'OrganizationManagement.Position',
16
+ jobDefinition: 'OrganizationManagement.JobDefinition',
17
+ };
18
+ function axmChannelAudienceTargetEntity(targetType) {
19
+ if (!targetType) {
20
+ return null;
21
+ }
22
+ return AXM_CHANNEL_AUDIENCE_TARGET_ENTITY[targetType] ?? null;
23
+ }
24
+ function axmRoomAudienceRule(room) {
25
+ const roomId = room.id?.trim();
26
+ const targetType = room.audienceTargetType?.trim();
27
+ if (!roomId || !targetType) {
28
+ return null;
29
+ }
30
+ return {
31
+ id: `room-audience:${roomId}`,
32
+ roomId,
33
+ targetType,
34
+ targetId: room.audienceTargetId?.trim() || undefined,
35
+ mode: room.audienceMode?.trim() ?? 'include',
36
+ };
37
+ }
38
+ //#endregion
39
+
40
+ //#region ---- Imports ----
41
+ //#endregion
42
+ //#region ---- Property helpers ----
43
+ function roomProp(i18n, name, groupId, schema, options) {
44
+ return {
45
+ name,
46
+ title: `t("room.props.${name}", { scope: "${i18n}" })`,
47
+ groupId,
48
+ schema,
49
+ ...options,
50
+ };
51
+ }
52
+ function hiddenStorageProp(i18n, name, dataType, groupId = 'runtime') {
53
+ return roomProp(i18n, name, groupId, {
54
+ dataType,
55
+ visible: false,
56
+ nullable: true,
57
+ });
58
+ }
59
+ const filterable = {
60
+ sort: { enabled: true },
61
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
62
+ };
63
+ /** Channel admin forms omit `type`; treat missing as channel. */
64
+ const channelAudienceVisible = '{{ !context.eval("type") || context.eval("type") === "channel" }}';
65
+ /** Select stores the combo item (`{ value }`) when strategy is `item`, otherwise the primitive key. */
66
+ const audienceTargetTypeKey = "(context.eval('audienceTargetType')?.value || context.eval('audienceTargetType')?.name || context.eval('audienceTargetType')?.id || context.eval('audienceTargetType'))";
67
+ const channelTargetLookupVisible = `{{ (!context.eval("type") || context.eval("type") === "channel") && !!${audienceTargetTypeKey} && ${audienceTargetTypeKey} !== "organization" }}`;
68
+ const audienceTargetTypeOptions = [
69
+ { name: 'organization', title: '@conversation:entities.channel-audience.fields.target-type.options.organization' },
70
+ { name: 'user', title: '@conversation:entities.channel-audience.fields.target-type.options.user' },
71
+ { name: 'role', title: '@conversation:entities.channel-audience.fields.target-type.options.role' },
72
+ { name: 'team', title: '@conversation:entities.channel-audience.fields.target-type.options.team' },
73
+ { name: 'businessUnit', title: '@conversation:entities.channel-audience.fields.target-type.options.business-unit' },
74
+ { name: 'position', title: '@conversation:entities.channel-audience.fields.target-type.options.position' },
75
+ { name: 'jobDefinition', title: '@conversation:entities.channel-audience.fields.target-type.options.job-definition' },
76
+ ];
77
+ const audienceModeOptions = [
78
+ { name: 'include', title: '@conversation:entities.channel-audience.fields.mode.options.include' },
79
+ { name: 'exclude', title: '@conversation:entities.channel-audience.fields.mode.options.exclude' },
80
+ ];
81
+ const audienceTargetEntityByTypeJson = JSON.stringify(AXM_CHANNEL_AUDIENCE_TARGET_ENTITY);
82
+ const audienceTargetLookupEntity = `{{ (${audienceTargetEntityByTypeJson})[${audienceTargetTypeKey}] || '' }}`;
83
+ const audienceTypeChangedAction = `{{ context.set('audienceTargetEntity', (${audienceTargetEntityByTypeJson})[${audienceTargetTypeKey}] || ''); context.set('audienceTargetId', null); }}`;
84
+ //#endregion
85
+ //#region ---- Entity factory ----
86
+ async function roomFactory() {
87
+ const i18n = RootConfig.config.i18n;
88
+ const entityDef = {
89
+ module: RootConfig.module.name,
90
+ name: RootConfig.entities.room.name,
91
+ title: RootConfig.entities.room.title,
92
+ icon: RootConfig.entities.room.icon,
93
+ searchTags: ['room', 'chat-room', 'conversation-room', 'private-chat', 'group-chat', 'channel', 'comment-thread', 'participants', 'unread', 'archived', 'اتاق', 'اتاق‌ها', 'گفتگو', 'گفتگوها', 'نظر'],
94
+ formats: {
95
+ individual: RootConfig.entities.room.title,
96
+ plural: RootConfig.entities.room.title,
97
+ searchResult: {
98
+ title: '{{ title }}',
99
+ description: '{{ kind }}',
100
+ },
101
+ },
102
+ relatedEntities: [
103
+ {
104
+ entity: RootConfig.entities.channelPost.source,
105
+ title: RootConfig.entities.channelPost.titlePlural,
106
+ columns: ['title', 'kind', 'status', 'authorUserId', 'publishedAt', 'isPinned'],
107
+ conditions: [entityDetailsSimpleCondition('roomId')],
108
+ actions: [...entityDetailsCrudActions('roomId', { delete: false, view: false }), entityMasterViewAction()],
109
+ persistence: { foreignKeyField: 'roomId' },
110
+ excludeProperties: ['roomId'],
111
+ layout: { type: 'page-list', position: 'after', order: 1 },
112
+ },
113
+ ],
114
+ groups: [
115
+ { id: 'basic-info', title: '@general:terms.interface.basic-info' },
116
+ { id: 'audience', title: `@${i18n}:entities.channel-audience.title` },
117
+ { id: 'comment', title: `t("room.groups.comment", { scope: "${i18n}" })` },
118
+ { id: 'flags', title: `t("room.groups.flags", { scope: "${i18n}" })` },
119
+ { id: 'runtime', title: `t("room.groups.runtime", { scope: "${i18n}" })` },
120
+ ],
121
+ properties: [
122
+ roomProp(i18n, 'name', 'basic-info', {
123
+ dataType: 'string',
124
+ interface: { type: AXPWidgetsCatalog.text },
125
+ }),
126
+ roomProp(i18n, 'title', 'basic-info', {
127
+ dataType: 'string',
128
+ interface: { type: AXPWidgetsCatalog.text },
129
+ }, { options: filterable, validations: [{ rule: 'required' }] }),
130
+ roomProp(i18n, 'kind', 'basic-info', {
131
+ dataType: 'string',
132
+ defaultValue: 'chat',
133
+ interface: {
134
+ type: AXPWidgetsCatalog.select,
135
+ options: {
136
+ valueField: 'name',
137
+ textField: 'title',
138
+ multiple: false,
139
+ dataSource: [
140
+ { name: 'chat', title: `@${i18n}:room.options.kind.chat` },
141
+ { name: 'comment', title: `@${i18n}:room.options.kind.comment` },
142
+ ],
143
+ },
144
+ },
145
+ }, { options: filterable, validations: [{ rule: 'required' }] }),
146
+ roomProp(i18n, 'type', 'basic-info', {
147
+ dataType: 'string',
148
+ defaultValue: 'channel',
149
+ interface: {
150
+ type: AXPWidgetsCatalog.select,
151
+ options: {
152
+ valueField: 'name',
153
+ textField: 'title',
154
+ multiple: false,
155
+ dataSource: [
156
+ { name: 'private', title: `@${i18n}:room.options.type.private` },
157
+ { name: 'group', title: `@${i18n}:room.options.type.group` },
158
+ { name: 'channel', title: `@${i18n}:room.options.type.channel` },
159
+ { name: 'bot', title: `@${i18n}:room.options.type.bot` },
160
+ ],
161
+ },
162
+ },
163
+ }, { options: filterable, validations: [{ rule: 'required' }] }),
164
+ roomProp(i18n, 'creatorId', 'basic-info', {
165
+ dataType: 'string',
166
+ interface: {
167
+ type: AXPWidgetsCatalog.lookup,
168
+ options: {
169
+ entity: 'SecurityManagement.User',
170
+ textField: 'displayName',
171
+ valueField: 'id',
172
+ look: 'select',
173
+ },
174
+ },
175
+ }, { options: filterable }),
176
+ roomProp(i18n, 'avatar', 'basic-info', {
177
+ dataType: 'string',
178
+ interface: { type: AXPWidgetsCatalog.text },
179
+ }),
180
+ roomProp(i18n, 'icon', 'basic-info', {
181
+ dataType: 'string',
182
+ interface: { type: AXPWidgetsCatalog.text },
183
+ }),
184
+ roomProp(i18n, 'description', 'basic-info', {
185
+ dataType: 'string',
186
+ interface: { type: AXPWidgetsCatalog.largeText },
187
+ }),
188
+ roomProp(i18n, 'audienceTargetType', 'audience', {
189
+ dataType: 'string',
190
+ defaultValue: 'organization',
191
+ visible: channelAudienceVisible,
192
+ interface: {
193
+ type: AXPWidgetsCatalog.select,
194
+ options: {
195
+ valueField: 'name',
196
+ textField: 'title',
197
+ multiple: false,
198
+ dataSource: audienceTargetTypeOptions,
199
+ },
200
+ triggers: [
201
+ {
202
+ event: "{{ events.context('audienceTargetType') }}",
203
+ action: audienceTypeChangedAction,
204
+ },
205
+ ],
206
+ },
207
+ }, { title: `@${i18n}:entities.channel-audience.fields.target-type.title` }),
208
+ roomProp(i18n, 'audienceTargetEntity', 'audience', {
209
+ dataType: 'string',
210
+ visible: false,
211
+ interface: { type: AXPWidgetsCatalog.text },
212
+ }),
213
+ roomProp(i18n, 'audienceTargetId', 'audience', {
214
+ dataType: 'string',
215
+ visible: channelTargetLookupVisible,
216
+ interface: {
217
+ type: AXPWidgetsCatalog.lookup,
218
+ options: {
219
+ entity: audienceTargetLookupEntity,
220
+ valueField: 'id',
221
+ look: 'select',
222
+ },
223
+ triggers: [
224
+ {
225
+ event: "{{ events.context('audienceTargetType') }}",
226
+ action: `{{ widget.refresh() }}`,
227
+ },
228
+ ],
229
+ },
230
+ }, { title: `@${i18n}:entities.channel-audience.fields.target-id.title` }),
231
+ roomProp(i18n, 'audienceMode', 'audience', {
232
+ dataType: 'string',
233
+ defaultValue: 'include',
234
+ visible: channelAudienceVisible,
235
+ interface: {
236
+ type: AXPWidgetsCatalog.select,
237
+ options: {
238
+ valueField: 'name',
239
+ textField: 'title',
240
+ multiple: false,
241
+ dataSource: audienceModeOptions,
242
+ },
243
+ },
244
+ }, { title: `@${i18n}:entities.channel-audience.fields.mode.title` }),
245
+ roomProp(i18n, 'lastMessageAt', 'runtime', {
246
+ dataType: 'date',
247
+ visible: false,
248
+ interface: { type: AXPWidgetsCatalog.dateTime },
249
+ }, { options: filterable }),
250
+ roomProp(i18n, 'unreadCount', 'runtime', {
251
+ dataType: 'number',
252
+ defaultValue: 0,
253
+ visible: false,
254
+ interface: { type: AXPWidgetsCatalog.number },
255
+ }, { options: filterable }),
256
+ roomProp(i18n, 'unreadMentions', 'runtime', {
257
+ dataType: 'number',
258
+ visible: false,
259
+ interface: { type: AXPWidgetsCatalog.number },
260
+ }),
261
+ roomProp(i18n, 'createdAt', 'runtime', {
262
+ dataType: 'date',
263
+ visible: false,
264
+ interface: { type: AXPWidgetsCatalog.dateTime },
265
+ }, { validations: [{ rule: 'required' }] }),
266
+ roomProp(i18n, 'updatedAt', 'runtime', {
267
+ dataType: 'date',
268
+ visible: false,
269
+ interface: { type: AXPWidgetsCatalog.dateTime },
270
+ }, { validations: [{ rule: 'required' }] }),
271
+ roomProp(i18n, 'draft', 'runtime', {
272
+ dataType: 'string',
273
+ visible: false,
274
+ interface: { type: AXPWidgetsCatalog.largeText },
275
+ }),
276
+ hiddenStorageProp(i18n, 'participants', 'array'),
277
+ hiddenStorageProp(i18n, 'lastMessage', 'object'),
278
+ hiddenStorageProp(i18n, 'status', 'object'),
279
+ hiddenStorageProp(i18n, 'settings', 'object'),
280
+ hiddenStorageProp(i18n, 'pinnedMessageIds', 'array'),
281
+ hiddenStorageProp(i18n, 'metadata', 'object'),
282
+ {
283
+ ...hiddenStorageProp(i18n, 'entityRef', 'object', 'comment'),
284
+ title: `t("room.props.entityRef.title", { scope: "${i18n}" })`,
285
+ },
286
+ roomProp(i18n, 'topic', 'comment', {
287
+ dataType: 'string',
288
+ interface: { type: AXPWidgetsCatalog.text },
289
+ }),
290
+ roomProp(i18n, 'entityRef.entityId', 'comment', {
291
+ dataType: 'string',
292
+ visible: false,
293
+ interface: { type: AXPWidgetsCatalog.text },
294
+ }),
295
+ roomProp(i18n, 'entityRef.entityTypeId', 'comment', {
296
+ dataType: 'string',
297
+ visible: false,
298
+ interface: { type: AXPWidgetsCatalog.text },
299
+ }),
300
+ roomProp(i18n, 'entityRef.moduleName', 'comment', {
301
+ dataType: 'string',
302
+ visible: false,
303
+ interface: { type: AXPWidgetsCatalog.text },
304
+ }),
305
+ roomProp(i18n, 'entityRef.entityName', 'comment', {
306
+ dataType: 'string',
307
+ visible: false,
308
+ interface: { type: AXPWidgetsCatalog.text },
309
+ }),
310
+ roomProp(i18n, 'blocked', 'flags', {
311
+ dataType: 'boolean',
312
+ visible: false,
313
+ interface: { type: AXPWidgetsCatalog.toggle },
314
+ }),
315
+ roomProp(i18n, 'pinned', 'flags', {
316
+ dataType: 'boolean',
317
+ interface: { type: AXPWidgetsCatalog.toggle },
318
+ }),
319
+ roomProp(i18n, 'archived', 'flags', {
320
+ dataType: 'boolean',
321
+ interface: { type: AXPWidgetsCatalog.toggle },
322
+ }),
323
+ ],
324
+ columns: [{ name: 'title' }, { name: 'kind' }, { name: 'type' }, { name: 'pinned' }, { name: 'archived' }],
325
+ interfaces: {
326
+ master: {
327
+ create: {
328
+ sections: [{ id: 'basic-info' }, { id: 'audience' }, { id: 'flags' }],
329
+ properties: [
330
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
331
+ { name: 'name', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
332
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
333
+ { name: 'audienceTargetType', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },
334
+ { name: 'audienceTargetId', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },
335
+ { name: 'audienceMode', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
336
+ { name: 'pinned', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },
337
+ { name: 'archived', layout: { positions: { lg: { colSpan: 6, order: 8 } } } },
338
+ ],
339
+ },
340
+ update: {
341
+ sections: [{ id: 'basic-info' }, { id: 'audience' }, { id: 'flags' }],
342
+ properties: [
343
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
344
+ { name: 'name', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
345
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
346
+ { name: 'audienceTargetType', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },
347
+ { name: 'audienceTargetId', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },
348
+ { name: 'audienceMode', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
349
+ { name: 'pinned', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },
350
+ { name: 'archived', layout: { positions: { lg: { colSpan: 6, order: 8 } } } },
351
+ ],
352
+ },
353
+ single: {
354
+ title: '{{title}}',
355
+ sections: [{ id: 'basic-info' }, { id: 'audience' }, { id: 'flags' }],
356
+ properties: [
357
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
358
+ { name: 'name', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
359
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
360
+ { name: 'audienceTargetType', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },
361
+ { name: 'audienceTargetId', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },
362
+ { name: 'audienceMode', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
363
+ { name: 'pinned', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },
364
+ { name: 'archived', layout: { positions: { lg: { colSpan: 6, order: 8 } } } },
365
+ ],
366
+ actions: [...entityMasterRecordActions()],
367
+ },
368
+ list: {
369
+ actions: [...entityMasterCrudActions()],
370
+ views: [
371
+ createAllQueryView({
372
+ columns: ['title', 'kind', 'type', 'pinned', 'archived'],
373
+ sorts: [{ name: 'title', dir: 'asc' }],
374
+ }),
375
+ createQueryView('channels', `t("room.views.channels", { scope: "${i18n}" })`, true, {
376
+ columns: ['title', 'description', 'pinned', 'archived'],
377
+ conditions: [{ name: 'type', operator: { type: 'equal' }, value: 'channel' }],
378
+ sorts: [{ name: 'title', dir: 'asc' }],
379
+ }),
380
+ ],
381
+ },
382
+ card: {
383
+ enabled: false,
384
+ header: {
385
+ title: 'title',
386
+ description: 'description',
387
+ icon: 'icon',
388
+ },
389
+ fields: [
390
+ { name: 'pinned', display: 'simple' },
391
+ { name: 'archived', display: 'simple' },
392
+ { name: 'audienceTargetType', display: 'simple' },
393
+ ],
394
+ },
395
+ },
396
+ },
397
+ };
398
+ return entityDef;
399
+ }
400
+ //#endregion
401
+
402
+ export { roomFactory };
403
+ //# sourceMappingURL=acorex-platform-module-conversation-client-contracts-entity-catalog-room.entity-Ctt7qzfF.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-conversation-client-contracts-entity-catalog-room.entity-Ctt7qzfF.mjs","sources":["../../../../libs/modules/conversation/contracts/src/channel-audience-target.util.ts","../../../../libs/modules/conversation/contracts/src/entities/room/room.entity.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport type {\n AXMChannelAudienceEntityModel,\n AXMChannelAudienceMode,\n AXMChannelAudienceTargetType,\n} from './entities/channel-audience/channel-audience.types';\n\n//#endregion\n\n//#region ----- Target entity map -----\n\n/** Lookup entity for each audience target type. `organization` has no row lookup. */\nexport const AXM_CHANNEL_AUDIENCE_TARGET_ENTITY: Record<\n AXMChannelAudienceTargetType,\n string | null\n> = {\n organization: null,\n user: 'SecurityManagement.User',\n role: 'SecurityManagement.Role',\n team: 'OrganizationManagement.Team',\n businessUnit: 'OrganizationManagement.BusinessUnit',\n position: 'OrganizationManagement.Position',\n jobDefinition: 'OrganizationManagement.JobDefinition',\n};\n\nexport function axmChannelAudienceTargetEntity(\n targetType: string | null | undefined,\n): string | null {\n if (!targetType) {\n return null;\n }\n return AXM_CHANNEL_AUDIENCE_TARGET_ENTITY[targetType as AXMChannelAudienceTargetType] ?? null;\n}\n\nexport function axmRoomAudienceRule(room: {\n id?: string | null;\n audienceTargetType?: string | null;\n audienceTargetId?: string | null;\n audienceMode?: string | null;\n}): AXMChannelAudienceEntityModel | null {\n const roomId = room.id?.trim();\n const targetType = room.audienceTargetType?.trim() as AXMChannelAudienceTargetType | undefined;\n if (!roomId || !targetType) {\n return null;\n }\n return {\n id: `room-audience:${roomId}`,\n roomId,\n targetType,\n targetId: room.audienceTargetId?.trim() || undefined,\n mode: (room.audienceMode?.trim() as AXMChannelAudienceMode | undefined) ?? 'include',\n };\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityProperty,\n createAllQueryView,\n createQueryView,\n entityDetailsCrudActions,\n entityDetailsSimpleCondition,\n entityMasterCrudActions,\n entityMasterRecordActions,\n entityMasterViewAction,\n} from '@acorex-platform/framework-shared/entity';\nimport { AXM_CHANNEL_AUDIENCE_TARGET_ENTITY } from '../../channel-audience-target.util';\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Property helpers ----\n\nfunction roomProp(i18n: string, name: string, groupId: string, schema: AXPEntityProperty['schema'], options?: Partial<AXPEntityProperty>): AXPEntityProperty {\n return {\n name,\n title: `t(\"room.props.${name}\", { scope: \"${i18n}\" })`,\n groupId,\n schema,\n ...options,\n };\n}\n\nfunction hiddenStorageProp(i18n: string, name: string, dataType: 'object' | 'array', groupId = 'runtime'): AXPEntityProperty {\n return roomProp(i18n, name, groupId, {\n dataType,\n visible: false,\n nullable: true,\n });\n}\n\nconst filterable = {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n};\n\n/** Channel admin forms omit `type`; treat missing as channel. */\nconst channelAudienceVisible = '{{ !context.eval(\"type\") || context.eval(\"type\") === \"channel\" }}';\n/** Select stores the combo item (`{ value }`) when strategy is `item`, otherwise the primitive key. */\nconst audienceTargetTypeKey = \"(context.eval('audienceTargetType')?.value || context.eval('audienceTargetType')?.name || context.eval('audienceTargetType')?.id || context.eval('audienceTargetType'))\";\nconst channelTargetLookupVisible = `{{ (!context.eval(\"type\") || context.eval(\"type\") === \"channel\") && !!${audienceTargetTypeKey} && ${audienceTargetTypeKey} !== \"organization\" }}`;\n\nconst audienceTargetTypeOptions = [\n { name: 'organization', title: '@conversation:entities.channel-audience.fields.target-type.options.organization' },\n { name: 'user', title: '@conversation:entities.channel-audience.fields.target-type.options.user' },\n { name: 'role', title: '@conversation:entities.channel-audience.fields.target-type.options.role' },\n { name: 'team', title: '@conversation:entities.channel-audience.fields.target-type.options.team' },\n { name: 'businessUnit', title: '@conversation:entities.channel-audience.fields.target-type.options.business-unit' },\n { name: 'position', title: '@conversation:entities.channel-audience.fields.target-type.options.position' },\n { name: 'jobDefinition', title: '@conversation:entities.channel-audience.fields.target-type.options.job-definition' },\n];\n\nconst audienceModeOptions = [\n { name: 'include', title: '@conversation:entities.channel-audience.fields.mode.options.include' },\n { name: 'exclude', title: '@conversation:entities.channel-audience.fields.mode.options.exclude' },\n];\n\nconst audienceTargetEntityByTypeJson = JSON.stringify(AXM_CHANNEL_AUDIENCE_TARGET_ENTITY);\nconst audienceTargetLookupEntity = `{{ (${audienceTargetEntityByTypeJson})[${audienceTargetTypeKey}] || '' }}`;\nconst audienceTypeChangedAction = `{{ context.set('audienceTargetEntity', (${audienceTargetEntityByTypeJson})[${audienceTargetTypeKey}] || ''); context.set('audienceTargetId', null); }}`;\n\n//#endregion\n\n//#region ---- Entity factory ----\n\nexport async function roomFactory(): Promise<AXPEntity | null> {\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.room.name,\n title: RootConfig.entities.room.title,\n icon: RootConfig.entities.room.icon,\n searchTags: ['room', 'chat-room', 'conversation-room', 'private-chat', 'group-chat', 'channel', 'comment-thread', 'participants', 'unread', 'archived', 'اتاق', 'اتاق‌ها', 'گفتگو', 'گفتگوها', 'نظر'],\n formats: {\n individual: RootConfig.entities.room.title,\n plural: RootConfig.entities.room.title,\n searchResult: {\n title: '{{ title }}',\n description: '{{ kind }}',\n },\n },\n relatedEntities: [\n {\n entity: RootConfig.entities.channelPost.source,\n title: RootConfig.entities.channelPost.titlePlural,\n columns: ['title', 'kind', 'status', 'authorUserId', 'publishedAt', 'isPinned'],\n conditions: [entityDetailsSimpleCondition('roomId')],\n actions: [...entityDetailsCrudActions('roomId', { delete: false, view: false }), entityMasterViewAction()],\n persistence: { foreignKeyField: 'roomId' },\n excludeProperties: ['roomId'],\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: 'audience', title: `@${i18n}:entities.channel-audience.title` },\n { id: 'comment', title: `t(\"room.groups.comment\", { scope: \"${i18n}\" })` },\n { id: 'flags', title: `t(\"room.groups.flags\", { scope: \"${i18n}\" })` },\n { id: 'runtime', title: `t(\"room.groups.runtime\", { scope: \"${i18n}\" })` },\n ],\n properties: [\n roomProp(i18n, 'name', 'basic-info', {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n }),\n roomProp(\n i18n,\n 'title',\n 'basic-info',\n {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n },\n { options: filterable, validations: [{ rule: 'required' }] },\n ),\n roomProp(\n i18n,\n 'kind',\n 'basic-info',\n {\n dataType: 'string',\n defaultValue: 'chat',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'name',\n textField: 'title',\n multiple: false,\n dataSource: [\n { name: 'chat', title: `@${i18n}:room.options.kind.chat` },\n { name: 'comment', title: `@${i18n}:room.options.kind.comment` },\n ],\n },\n },\n },\n { options: filterable, validations: [{ rule: 'required' }] },\n ),\n roomProp(\n i18n,\n 'type',\n 'basic-info',\n {\n dataType: 'string',\n defaultValue: 'channel',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'name',\n textField: 'title',\n multiple: false,\n dataSource: [\n { name: 'private', title: `@${i18n}:room.options.type.private` },\n { name: 'group', title: `@${i18n}:room.options.type.group` },\n { name: 'channel', title: `@${i18n}:room.options.type.channel` },\n { name: 'bot', title: `@${i18n}:room.options.type.bot` },\n ],\n },\n },\n },\n { options: filterable, validations: [{ rule: 'required' }] },\n ),\n roomProp(\n i18n,\n 'creatorId',\n 'basic-info',\n {\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 { options: filterable },\n ),\n roomProp(i18n, 'avatar', 'basic-info', {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n }),\n roomProp(i18n, 'icon', 'basic-info', {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n }),\n roomProp(i18n, 'description', 'basic-info', {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.largeText },\n }),\n roomProp(\n i18n,\n 'audienceTargetType',\n 'audience',\n {\n dataType: 'string',\n defaultValue: 'organization',\n visible: channelAudienceVisible,\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'name',\n textField: 'title',\n multiple: false,\n dataSource: audienceTargetTypeOptions,\n },\n triggers: [\n {\n event: \"{{ events.context('audienceTargetType') }}\",\n action: audienceTypeChangedAction,\n },\n ],\n },\n },\n { title: `@${i18n}:entities.channel-audience.fields.target-type.title` },\n ),\n roomProp(i18n, 'audienceTargetEntity', 'audience', {\n dataType: 'string',\n visible: false,\n interface: { type: AXPWidgetsCatalog.text },\n }),\n roomProp(\n i18n,\n 'audienceTargetId',\n 'audience',\n {\n dataType: 'string',\n visible: channelTargetLookupVisible,\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: audienceTargetLookupEntity,\n valueField: 'id',\n look: 'select',\n },\n triggers: [\n {\n event: \"{{ events.context('audienceTargetType') }}\",\n action: `{{ widget.refresh() }}`,\n },\n ],\n },\n },\n { title: `@${i18n}:entities.channel-audience.fields.target-id.title` },\n ),\n roomProp(\n i18n,\n 'audienceMode',\n 'audience',\n {\n dataType: 'string',\n defaultValue: 'include',\n visible: channelAudienceVisible,\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'name',\n textField: 'title',\n multiple: false,\n dataSource: audienceModeOptions,\n },\n },\n },\n { title: `@${i18n}:entities.channel-audience.fields.mode.title` },\n ),\n roomProp(\n i18n,\n 'lastMessageAt',\n 'runtime',\n {\n dataType: 'date',\n visible: false,\n interface: { type: AXPWidgetsCatalog.dateTime },\n },\n { options: filterable },\n ),\n roomProp(\n i18n,\n 'unreadCount',\n 'runtime',\n {\n dataType: 'number',\n defaultValue: 0,\n visible: false,\n interface: { type: AXPWidgetsCatalog.number },\n },\n { options: filterable },\n ),\n roomProp(i18n, 'unreadMentions', 'runtime', {\n dataType: 'number',\n visible: false,\n interface: { type: AXPWidgetsCatalog.number },\n }),\n roomProp(\n i18n,\n 'createdAt',\n 'runtime',\n {\n dataType: 'date',\n visible: false,\n interface: { type: AXPWidgetsCatalog.dateTime },\n },\n { validations: [{ rule: 'required' }] },\n ),\n roomProp(\n i18n,\n 'updatedAt',\n 'runtime',\n {\n dataType: 'date',\n visible: false,\n interface: { type: AXPWidgetsCatalog.dateTime },\n },\n { validations: [{ rule: 'required' }] },\n ),\n roomProp(i18n, 'draft', 'runtime', {\n dataType: 'string',\n visible: false,\n interface: { type: AXPWidgetsCatalog.largeText },\n }),\n hiddenStorageProp(i18n, 'participants', 'array'),\n hiddenStorageProp(i18n, 'lastMessage', 'object'),\n hiddenStorageProp(i18n, 'status', 'object'),\n hiddenStorageProp(i18n, 'settings', 'object'),\n hiddenStorageProp(i18n, 'pinnedMessageIds', 'array'),\n hiddenStorageProp(i18n, 'metadata', 'object'),\n {\n ...hiddenStorageProp(i18n, 'entityRef', 'object', 'comment'),\n title: `t(\"room.props.entityRef.title\", { scope: \"${i18n}\" })`,\n },\n roomProp(i18n, 'topic', 'comment', {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n }),\n roomProp(i18n, 'entityRef.entityId', 'comment', {\n dataType: 'string',\n visible: false,\n interface: { type: AXPWidgetsCatalog.text },\n }),\n roomProp(i18n, 'entityRef.entityTypeId', 'comment', {\n dataType: 'string',\n visible: false,\n interface: { type: AXPWidgetsCatalog.text },\n }),\n roomProp(i18n, 'entityRef.moduleName', 'comment', {\n dataType: 'string',\n visible: false,\n interface: { type: AXPWidgetsCatalog.text },\n }),\n roomProp(i18n, 'entityRef.entityName', 'comment', {\n dataType: 'string',\n visible: false,\n interface: { type: AXPWidgetsCatalog.text },\n }),\n roomProp(i18n, 'blocked', 'flags', {\n dataType: 'boolean',\n visible: false,\n interface: { type: AXPWidgetsCatalog.toggle },\n }),\n roomProp(i18n, 'pinned', 'flags', {\n dataType: 'boolean',\n interface: { type: AXPWidgetsCatalog.toggle },\n }),\n roomProp(i18n, 'archived', 'flags', {\n dataType: 'boolean',\n interface: { type: AXPWidgetsCatalog.toggle },\n }),\n ],\n columns: [{ name: 'title' }, { name: 'kind' }, { name: 'type' }, { name: 'pinned' }, { name: 'archived' }],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'audience' }, { id: 'flags' }],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'name', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'audienceTargetType', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },\n { name: 'audienceTargetId', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n { name: 'audienceMode', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'pinned', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },\n { name: 'archived', layout: { positions: { lg: { colSpan: 6, order: 8 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'audience' }, { id: 'flags' }],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'name', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'audienceTargetType', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },\n { name: 'audienceTargetId', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n { name: 'audienceMode', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'pinned', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },\n { name: 'archived', layout: { positions: { lg: { colSpan: 6, order: 8 } } } },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [{ id: 'basic-info' }, { id: 'audience' }, { id: 'flags' }],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'name', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'audienceTargetType', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },\n { name: 'audienceTargetId', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n { name: 'audienceMode', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'pinned', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },\n { name: 'archived', layout: { positions: { lg: { colSpan: 6, order: 8 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n columns: ['title', 'kind', 'type', 'pinned', 'archived'],\n sorts: [{ name: 'title', dir: 'asc' }],\n }),\n createQueryView('channels', `t(\"room.views.channels\", { scope: \"${i18n}\" })`, true, {\n columns: ['title', 'description', 'pinned', 'archived'],\n conditions: [{ name: 'type', operator: { type: 'equal' }, value: 'channel' }],\n sorts: [{ name: 'title', dir: 'asc' }],\n }),\n ],\n },\n card: {\n enabled: false,\n header: {\n title: 'title',\n description: 'description',\n icon: 'icon',\n },\n fields: [\n { name: 'pinned', display: 'simple' },\n { name: 'archived', display: 'simple' },\n { name: 'audienceTargetType', display: 'simple' },\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAAA;AAQA;AAEA;AAEA;AACO,MAAM,kCAAkC,GAG3C;AACF,IAAA,YAAY,EAAE,IAAI;AAClB,IAAA,IAAI,EAAE,yBAAyB;AAC/B,IAAA,IAAI,EAAE,yBAAyB;AAC/B,IAAA,IAAI,EAAE,6BAA6B;A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AE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;4BAC7E,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACvC,CAAC;AACH,qBAAA;AACF,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,KAAK;AACd,oBAAA,MAAM,EAAE;AACN,wBAAA,KAAK,EAAE,OAAO;AACd,wBAAA,WAAW,EAAE,aAAa;AAC1B,wBAAA,IAAI,EAAE,MAAM;AACb,qBAAA;AACD,oBAAA,MAAM,EAAE;AACN,wBAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE;AACrC,wBAAA,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE;AACvC,wBAAA,EAAE,IAAI,EAAE,oBAAoB,EAAE,OAAO,EAAE,QAAQ,EAAE;AAClD,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
@@ -1,2 +1,2 @@
1
- export { c as conversationLocalEntityCatalog } from './acorex-platform-module-conversation-client-contracts-entity-catalog-acorex-platform-module-conversation-client-contracts-entity-catalog-Cy3LwYMZ.mjs';
1
+ export { c as conversationLocalEntityCatalog } from './acorex-platform-module-conversation-client-contracts-entity-catalog-acorex-platform-module-conversation-client-contracts-entity-catalog-CV_sCYGf.mjs';
2
2
  //# sourceMappingURL=acorex-platform-module-conversation-client-contracts-entity-catalog.mjs.map