@acorex/modules 20.0.11 → 20.0.13
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/calendar-management/README.md +271 -0
- package/calendar-management/index.d.ts +156 -0
- package/contact-management/README.md +150 -0
- package/contact-management/index.d.ts +15 -4
- package/fesm2022/acorex-modules-calendar-management.mjs +1509 -0
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -0
- package/fesm2022/acorex-modules-common-search-popup.component-B_bJ0ZRM.mjs +128 -0
- package/fesm2022/acorex-modules-common-search-popup.component-B_bJ0ZRM.mjs.map +1 -0
- package/fesm2022/acorex-modules-common.mjs +2 -2
- package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-DVjMlS0K.mjs +2548 -0
- package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-DVjMlS0K.mjs.map +1 -0
- package/fesm2022/{acorex-modules-contact-management-address-type.entity-QMEODkhx.mjs → acorex-modules-contact-management-address-type.entity-CWIBwWfZ.mjs} +65 -38
- package/fesm2022/acorex-modules-contact-management-address-type.entity-CWIBwWfZ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-contact-management-contact-address.entity-0f4Vaw_k.mjs → acorex-modules-contact-management-contact-address.entity-DO6GizbS.mjs} +49 -95
- package/fesm2022/acorex-modules-contact-management-contact-address.entity-DO6GizbS.mjs.map +1 -0
- package/fesm2022/{acorex-modules-contact-management-contact-method.entity-ChEz1jW0.mjs → acorex-modules-contact-management-contact-method.entity-tEtMSV4f.mjs} +67 -69
- package/fesm2022/acorex-modules-contact-management-contact-method.entity-tEtMSV4f.mjs.map +1 -0
- package/fesm2022/{acorex-modules-contact-management-contact-relationship.entity-DLfiEEfk.mjs → acorex-modules-contact-management-contact-relationship.entity-C-B5aOoq.mjs} +34 -63
- package/fesm2022/acorex-modules-contact-management-contact-relationship.entity-C-B5aOoq.mjs.map +1 -0
- package/fesm2022/{acorex-modules-contact-management-contact-source.entity-hopVxiIT.mjs → acorex-modules-contact-management-contact-source.entity-Dw8jwcox.mjs} +67 -40
- package/fesm2022/acorex-modules-contact-management-contact-source.entity-Dw8jwcox.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-management-emergency-contact-category.entity-BJOOhcD1.mjs +680 -0
- package/fesm2022/acorex-modules-contact-management-emergency-contact-category.entity-BJOOhcD1.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-management-emergency-contact.entity-Cr7_5JKD.mjs +1062 -0
- package/fesm2022/acorex-modules-contact-management-emergency-contact.entity-Cr7_5JKD.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-management.mjs +1 -2331
- package/fesm2022/acorex-modules-contact-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +23 -0
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-EsaVgkdd.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-TWTBqgn6.mjs → acorex-modules-platform-management-acorex-modules-platform-management-BLhzWiXM.mjs} +29 -5
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-BLhzWiXM.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-version.component-DQ3Gp9kl.mjs → acorex-modules-platform-management-list-version.component-CgF5pvTa.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-list-version.component-DQ3Gp9kl.mjs.map → acorex-modules-platform-management-list-version.component-CgF5pvTa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-settings.provider-FXMK1_44.mjs → acorex-modules-platform-management-settings.provider-intHn3XI.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-settings.provider-FXMK1_44.mjs.map → acorex-modules-platform-management-settings.provider-intHn3XI.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/{acorex-modules-report-management-report-create-root.component-CcNJIUk2.mjs → acorex-modules-report-management-report-create-root.component-DqrLa6vh.mjs} +4 -4
- package/fesm2022/{acorex-modules-report-management-report-create-root.component-CcNJIUk2.mjs.map → acorex-modules-report-management-report-create-root.component-DqrLa6vh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-CAxcD_pe.mjs → acorex-modules-report-management-report-runner-root-page.component-S8qyvs79.mjs} +41 -24
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-S8qyvs79.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management.mjs +670 -8
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +4 -2
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/package.json +9 -5
- package/report-management/index.d.ts +303 -5
- package/fesm2022/acorex-modules-common-search-popup.component-CNh7TFpe.mjs +0 -128
- package/fesm2022/acorex-modules-common-search-popup.component-CNh7TFpe.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-address-type.entity-QMEODkhx.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-contact-address.entity-0f4Vaw_k.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-contact-method.entity-ChEz1jW0.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-contact-relationship.entity-DLfiEEfk.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-contact-source.entity-hopVxiIT.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-TWTBqgn6.mjs.map +0 -1
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-CAxcD_pe.mjs.map +0 -1
@@ -0,0 +1,1062 @@
|
|
1
|
+
import { createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';
|
2
|
+
import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
|
3
|
+
import { f as AXMEmergencyContactService, R as RootConfig } from './acorex-modules-contact-management-acorex-modules-contact-management-DVjMlS0K.mjs';
|
4
|
+
|
5
|
+
async function emergencyContactFactory(injector) {
|
6
|
+
const dataService = injector.get(AXMEmergencyContactService);
|
7
|
+
const entityDef = {
|
8
|
+
module: RootConfig.module.name,
|
9
|
+
name: RootConfig.entities.emergencyContact.name,
|
10
|
+
source: '',
|
11
|
+
title: RootConfig.entities.emergencyContact.title,
|
12
|
+
formats: {
|
13
|
+
individual: RootConfig.entities.emergencyContact.title,
|
14
|
+
plural: RootConfig.entities.emergencyContact.titlePlural,
|
15
|
+
searchResult: {
|
16
|
+
title: '{{ name }} - {{ phoneNumber }}',
|
17
|
+
description: RootConfig.module.title,
|
18
|
+
},
|
19
|
+
},
|
20
|
+
groups: [
|
21
|
+
{
|
22
|
+
id: 'basic',
|
23
|
+
title: '@general:terms.basic-info',
|
24
|
+
},
|
25
|
+
{
|
26
|
+
id: 'contact-info',
|
27
|
+
title: '@contact-management:emergency-contact.contact-info',
|
28
|
+
},
|
29
|
+
{
|
30
|
+
id: 'location',
|
31
|
+
title: '@contact-management:emergency-contact.location-info',
|
32
|
+
},
|
33
|
+
{
|
34
|
+
id: 'settings',
|
35
|
+
title: '@general:terms.settings',
|
36
|
+
},
|
37
|
+
],
|
38
|
+
category: {
|
39
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.emergencyContactCategory.name}`,
|
40
|
+
title: '@contact-management:emergency-contact-category.title',
|
41
|
+
textField: 'title',
|
42
|
+
valueField: 'id',
|
43
|
+
applyConditions: [
|
44
|
+
{
|
45
|
+
name: 'categoryIds',
|
46
|
+
operator: {
|
47
|
+
type: 'contains',
|
48
|
+
},
|
49
|
+
value: 'id',
|
50
|
+
},
|
51
|
+
],
|
52
|
+
},
|
53
|
+
properties: [
|
54
|
+
{
|
55
|
+
name: 'name',
|
56
|
+
title: '@general:terms.name',
|
57
|
+
groupId: 'basic',
|
58
|
+
options: {
|
59
|
+
sort: {
|
60
|
+
enabled: true,
|
61
|
+
},
|
62
|
+
filter: {
|
63
|
+
advance: {
|
64
|
+
enabled: true,
|
65
|
+
},
|
66
|
+
inline: {
|
67
|
+
enabled: true,
|
68
|
+
},
|
69
|
+
},
|
70
|
+
},
|
71
|
+
schema: {
|
72
|
+
dataType: 'string',
|
73
|
+
interface: {
|
74
|
+
type: AXPWidgetsCatalog.text,
|
75
|
+
},
|
76
|
+
},
|
77
|
+
validations: [
|
78
|
+
{
|
79
|
+
rule: 'required',
|
80
|
+
},
|
81
|
+
],
|
82
|
+
},
|
83
|
+
{
|
84
|
+
name: 'shortName',
|
85
|
+
title: '@general:terms.short-name',
|
86
|
+
groupId: 'basic',
|
87
|
+
options: {
|
88
|
+
sort: {
|
89
|
+
enabled: true,
|
90
|
+
},
|
91
|
+
filter: {
|
92
|
+
advance: {
|
93
|
+
enabled: true,
|
94
|
+
},
|
95
|
+
inline: {
|
96
|
+
enabled: true,
|
97
|
+
},
|
98
|
+
},
|
99
|
+
},
|
100
|
+
schema: {
|
101
|
+
dataType: 'string',
|
102
|
+
interface: {
|
103
|
+
type: AXPWidgetsCatalog.text,
|
104
|
+
options: {
|
105
|
+
placeholder: 'e.g., 911, Police, Fire',
|
106
|
+
},
|
107
|
+
},
|
108
|
+
},
|
109
|
+
},
|
110
|
+
{
|
111
|
+
name: 'description',
|
112
|
+
title: '@general:terms.description',
|
113
|
+
groupId: 'basic',
|
114
|
+
options: {
|
115
|
+
sort: {
|
116
|
+
enabled: false,
|
117
|
+
},
|
118
|
+
filter: {
|
119
|
+
advance: {
|
120
|
+
enabled: true,
|
121
|
+
},
|
122
|
+
inline: {
|
123
|
+
enabled: false,
|
124
|
+
},
|
125
|
+
},
|
126
|
+
},
|
127
|
+
schema: {
|
128
|
+
dataType: 'string',
|
129
|
+
interface: {
|
130
|
+
type: AXPWidgetsCatalog.largeText,
|
131
|
+
options: {
|
132
|
+
rows: 3,
|
133
|
+
},
|
134
|
+
},
|
135
|
+
},
|
136
|
+
},
|
137
|
+
{
|
138
|
+
name: 'categoryIds',
|
139
|
+
title: '@general:terms.category-ids',
|
140
|
+
groupId: 'basic',
|
141
|
+
options: {
|
142
|
+
sort: {
|
143
|
+
enabled: false,
|
144
|
+
},
|
145
|
+
filter: {
|
146
|
+
advance: {
|
147
|
+
enabled: true,
|
148
|
+
},
|
149
|
+
inline: {
|
150
|
+
enabled: true,
|
151
|
+
},
|
152
|
+
},
|
153
|
+
},
|
154
|
+
schema: {
|
155
|
+
dataType: 'object',
|
156
|
+
interface: {
|
157
|
+
type: AXPWidgetsCatalog.lookup,
|
158
|
+
options: {
|
159
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.emergencyContactCategory.name}`,
|
160
|
+
multiple: true,
|
161
|
+
expose: [
|
162
|
+
{ source: 'id', target: 'categories.{id}' },
|
163
|
+
{ source: 'title', target: 'categories.{title}' }
|
164
|
+
]
|
165
|
+
},
|
166
|
+
},
|
167
|
+
},
|
168
|
+
},
|
169
|
+
{
|
170
|
+
name: 'phoneNumber',
|
171
|
+
title: '@contact-management:emergency-contact.phone-number',
|
172
|
+
groupId: 'contact-info',
|
173
|
+
options: {
|
174
|
+
sort: {
|
175
|
+
enabled: true,
|
176
|
+
},
|
177
|
+
filter: {
|
178
|
+
advance: {
|
179
|
+
enabled: true,
|
180
|
+
},
|
181
|
+
inline: {
|
182
|
+
enabled: true,
|
183
|
+
},
|
184
|
+
},
|
185
|
+
},
|
186
|
+
schema: {
|
187
|
+
dataType: 'string',
|
188
|
+
interface: {
|
189
|
+
type: AXPWidgetsCatalog.contact,
|
190
|
+
options: {
|
191
|
+
placeholder: 'e.g., 911, +1-800-273-8255',
|
192
|
+
type: 'phone',
|
193
|
+
hasLabel: false
|
194
|
+
},
|
195
|
+
},
|
196
|
+
},
|
197
|
+
validations: [
|
198
|
+
{
|
199
|
+
rule: 'required',
|
200
|
+
},
|
201
|
+
],
|
202
|
+
},
|
203
|
+
{
|
204
|
+
name: 'alternateNumbers',
|
205
|
+
title: '@contact-management:emergency-contact.alternate-numbers',
|
206
|
+
groupId: 'contact-info',
|
207
|
+
options: {
|
208
|
+
sort: {
|
209
|
+
enabled: false,
|
210
|
+
},
|
211
|
+
filter: {
|
212
|
+
advance: {
|
213
|
+
enabled: true,
|
214
|
+
},
|
215
|
+
inline: {
|
216
|
+
enabled: false,
|
217
|
+
},
|
218
|
+
},
|
219
|
+
},
|
220
|
+
schema: {
|
221
|
+
dataType: 'string',
|
222
|
+
interface: {
|
223
|
+
type: AXPWidgetsCatalog.text,
|
224
|
+
options: {
|
225
|
+
placeholder: 'e.g., 911, +1-800-273-8255',
|
226
|
+
},
|
227
|
+
},
|
228
|
+
},
|
229
|
+
},
|
230
|
+
{
|
231
|
+
name: 'textNumber',
|
232
|
+
title: '@contact-management:emergency-contact.text-number',
|
233
|
+
groupId: 'contact-info',
|
234
|
+
options: {
|
235
|
+
sort: {
|
236
|
+
enabled: false,
|
237
|
+
},
|
238
|
+
filter: {
|
239
|
+
advance: {
|
240
|
+
enabled: true,
|
241
|
+
},
|
242
|
+
inline: {
|
243
|
+
enabled: false,
|
244
|
+
},
|
245
|
+
},
|
246
|
+
},
|
247
|
+
schema: {
|
248
|
+
dataType: 'string',
|
249
|
+
interface: {
|
250
|
+
type: AXPWidgetsCatalog.contact,
|
251
|
+
options: {
|
252
|
+
placeholder: 'SMS number if available',
|
253
|
+
hasLabel: false,
|
254
|
+
type: 'phone',
|
255
|
+
},
|
256
|
+
},
|
257
|
+
},
|
258
|
+
},
|
259
|
+
{
|
260
|
+
name: 'website',
|
261
|
+
title: '@contact-management:emergency-contact.website',
|
262
|
+
groupId: 'contact-info',
|
263
|
+
options: {
|
264
|
+
sort: {
|
265
|
+
enabled: false,
|
266
|
+
},
|
267
|
+
filter: {
|
268
|
+
advance: {
|
269
|
+
enabled: true,
|
270
|
+
},
|
271
|
+
inline: {
|
272
|
+
enabled: false,
|
273
|
+
},
|
274
|
+
},
|
275
|
+
},
|
276
|
+
schema: {
|
277
|
+
dataType: 'string',
|
278
|
+
interface: {
|
279
|
+
type: AXPWidgetsCatalog.text,
|
280
|
+
options: {
|
281
|
+
placeholder: 'https://www.example.gov',
|
282
|
+
},
|
283
|
+
},
|
284
|
+
},
|
285
|
+
},
|
286
|
+
{
|
287
|
+
name: 'email',
|
288
|
+
title: '@contact-management:emergency-contact.email',
|
289
|
+
groupId: 'contact-info',
|
290
|
+
options: {
|
291
|
+
sort: {
|
292
|
+
enabled: false,
|
293
|
+
},
|
294
|
+
filter: {
|
295
|
+
advance: {
|
296
|
+
enabled: true,
|
297
|
+
},
|
298
|
+
inline: {
|
299
|
+
enabled: false,
|
300
|
+
},
|
301
|
+
},
|
302
|
+
},
|
303
|
+
schema: {
|
304
|
+
dataType: 'string',
|
305
|
+
interface: {
|
306
|
+
type: AXPWidgetsCatalog.text,
|
307
|
+
options: {
|
308
|
+
placeholder: 'contact@emergency.gov',
|
309
|
+
},
|
310
|
+
},
|
311
|
+
},
|
312
|
+
},
|
313
|
+
{
|
314
|
+
name: 'country',
|
315
|
+
title: '@general:terms.country',
|
316
|
+
groupId: 'location',
|
317
|
+
options: {
|
318
|
+
sort: {
|
319
|
+
enabled: true,
|
320
|
+
},
|
321
|
+
filter: {
|
322
|
+
advance: {
|
323
|
+
enabled: true,
|
324
|
+
},
|
325
|
+
inline: {
|
326
|
+
enabled: true,
|
327
|
+
},
|
328
|
+
},
|
329
|
+
},
|
330
|
+
schema: {
|
331
|
+
dataType: 'string',
|
332
|
+
interface: {
|
333
|
+
type: AXPWidgetsCatalog.text,
|
334
|
+
},
|
335
|
+
},
|
336
|
+
},
|
337
|
+
{
|
338
|
+
name: 'region',
|
339
|
+
title: '@general:terms.region',
|
340
|
+
groupId: 'location',
|
341
|
+
options: {
|
342
|
+
sort: {
|
343
|
+
enabled: true,
|
344
|
+
},
|
345
|
+
filter: {
|
346
|
+
advance: {
|
347
|
+
enabled: true,
|
348
|
+
},
|
349
|
+
inline: {
|
350
|
+
enabled: true,
|
351
|
+
},
|
352
|
+
},
|
353
|
+
},
|
354
|
+
schema: {
|
355
|
+
dataType: 'string',
|
356
|
+
interface: {
|
357
|
+
type: AXPWidgetsCatalog.text,
|
358
|
+
},
|
359
|
+
},
|
360
|
+
},
|
361
|
+
{
|
362
|
+
name: 'city',
|
363
|
+
title: '@general:terms.city',
|
364
|
+
groupId: 'location',
|
365
|
+
options: {
|
366
|
+
sort: {
|
367
|
+
enabled: true,
|
368
|
+
},
|
369
|
+
filter: {
|
370
|
+
advance: {
|
371
|
+
enabled: true,
|
372
|
+
},
|
373
|
+
inline: {
|
374
|
+
enabled: true,
|
375
|
+
},
|
376
|
+
},
|
377
|
+
},
|
378
|
+
schema: {
|
379
|
+
dataType: 'string',
|
380
|
+
interface: {
|
381
|
+
type: AXPWidgetsCatalog.text,
|
382
|
+
},
|
383
|
+
},
|
384
|
+
},
|
385
|
+
{
|
386
|
+
name: 'isNational',
|
387
|
+
title: '@contact-management:emergency-contact.is-national',
|
388
|
+
groupId: 'location',
|
389
|
+
options: {
|
390
|
+
sort: {
|
391
|
+
enabled: true,
|
392
|
+
},
|
393
|
+
filter: {
|
394
|
+
advance: {
|
395
|
+
enabled: true,
|
396
|
+
},
|
397
|
+
inline: {
|
398
|
+
enabled: true,
|
399
|
+
},
|
400
|
+
},
|
401
|
+
},
|
402
|
+
schema: {
|
403
|
+
dataType: 'boolean',
|
404
|
+
interface: {
|
405
|
+
type: AXPWidgetsCatalog.toggle,
|
406
|
+
},
|
407
|
+
},
|
408
|
+
},
|
409
|
+
{
|
410
|
+
name: 'isRegional',
|
411
|
+
title: '@contact-management:emergency-contact.is-regional',
|
412
|
+
groupId: 'location',
|
413
|
+
options: {
|
414
|
+
sort: {
|
415
|
+
enabled: true,
|
416
|
+
},
|
417
|
+
filter: {
|
418
|
+
advance: {
|
419
|
+
enabled: true,
|
420
|
+
},
|
421
|
+
inline: {
|
422
|
+
enabled: true,
|
423
|
+
},
|
424
|
+
},
|
425
|
+
},
|
426
|
+
schema: {
|
427
|
+
dataType: 'boolean',
|
428
|
+
interface: {
|
429
|
+
type: AXPWidgetsCatalog.toggle,
|
430
|
+
},
|
431
|
+
},
|
432
|
+
},
|
433
|
+
{
|
434
|
+
name: 'isLocal',
|
435
|
+
title: '@contact-management:emergency-contact.is-local',
|
436
|
+
groupId: 'location',
|
437
|
+
options: {
|
438
|
+
sort: {
|
439
|
+
enabled: true,
|
440
|
+
},
|
441
|
+
filter: {
|
442
|
+
advance: {
|
443
|
+
enabled: true,
|
444
|
+
},
|
445
|
+
inline: {
|
446
|
+
enabled: true,
|
447
|
+
},
|
448
|
+
},
|
449
|
+
},
|
450
|
+
schema: {
|
451
|
+
dataType: 'boolean',
|
452
|
+
interface: {
|
453
|
+
type: AXPWidgetsCatalog.toggle,
|
454
|
+
},
|
455
|
+
},
|
456
|
+
},
|
457
|
+
{
|
458
|
+
name: 'availability',
|
459
|
+
title: '@general:terms.availability',
|
460
|
+
groupId: 'settings',
|
461
|
+
options: {
|
462
|
+
sort: {
|
463
|
+
enabled: true,
|
464
|
+
},
|
465
|
+
filter: {
|
466
|
+
advance: {
|
467
|
+
enabled: true,
|
468
|
+
},
|
469
|
+
inline: {
|
470
|
+
enabled: true,
|
471
|
+
},
|
472
|
+
},
|
473
|
+
},
|
474
|
+
schema: {
|
475
|
+
dataType: 'string',
|
476
|
+
defaultValue: '24/7',
|
477
|
+
interface: {
|
478
|
+
type: AXPWidgetsCatalog.select,
|
479
|
+
options: {
|
480
|
+
valueField: 'value',
|
481
|
+
textField: 'text',
|
482
|
+
dataSource: [
|
483
|
+
{ value: '24/7', text: '24/7' },
|
484
|
+
{ value: 'business_hours', text: 'Business Hours' },
|
485
|
+
{ value: 'weekends_only', text: 'Weekends Only' },
|
486
|
+
{ value: 'nights_only', text: 'Nights Only' },
|
487
|
+
],
|
488
|
+
},
|
489
|
+
},
|
490
|
+
},
|
491
|
+
validations: [
|
492
|
+
{
|
493
|
+
rule: 'required',
|
494
|
+
},
|
495
|
+
],
|
496
|
+
},
|
497
|
+
{
|
498
|
+
name: 'languages',
|
499
|
+
title: '@contact-management:emergency-contact.languages',
|
500
|
+
groupId: 'settings',
|
501
|
+
options: {
|
502
|
+
sort: {
|
503
|
+
enabled: false,
|
504
|
+
},
|
505
|
+
filter: {
|
506
|
+
advance: {
|
507
|
+
enabled: true,
|
508
|
+
},
|
509
|
+
inline: {
|
510
|
+
enabled: false,
|
511
|
+
},
|
512
|
+
},
|
513
|
+
},
|
514
|
+
schema: {
|
515
|
+
dataType: 'object',
|
516
|
+
interface: {
|
517
|
+
type: AXPWidgetsCatalog.select,
|
518
|
+
options: {
|
519
|
+
dataSource: "languages",
|
520
|
+
valueField: "code",
|
521
|
+
textField: "title",
|
522
|
+
multiple: true,
|
523
|
+
},
|
524
|
+
},
|
525
|
+
},
|
526
|
+
},
|
527
|
+
{
|
528
|
+
name: 'isTextCapable',
|
529
|
+
title: '@contact-management:emergency-contact.is-text-capable',
|
530
|
+
groupId: 'settings',
|
531
|
+
options: {
|
532
|
+
sort: {
|
533
|
+
enabled: true,
|
534
|
+
},
|
535
|
+
filter: {
|
536
|
+
advance: {
|
537
|
+
enabled: true,
|
538
|
+
},
|
539
|
+
inline: {
|
540
|
+
enabled: true,
|
541
|
+
},
|
542
|
+
},
|
543
|
+
},
|
544
|
+
schema: {
|
545
|
+
dataType: 'boolean',
|
546
|
+
interface: {
|
547
|
+
type: AXPWidgetsCatalog.toggle,
|
548
|
+
},
|
549
|
+
},
|
550
|
+
},
|
551
|
+
{
|
552
|
+
name: 'isVideoCallCapable',
|
553
|
+
title: '@contact-management:emergency-contact.is-video-call-capable',
|
554
|
+
groupId: 'settings',
|
555
|
+
options: {
|
556
|
+
sort: {
|
557
|
+
enabled: true,
|
558
|
+
},
|
559
|
+
filter: {
|
560
|
+
advance: {
|
561
|
+
enabled: true,
|
562
|
+
},
|
563
|
+
inline: {
|
564
|
+
enabled: true,
|
565
|
+
},
|
566
|
+
},
|
567
|
+
},
|
568
|
+
schema: {
|
569
|
+
dataType: 'boolean',
|
570
|
+
interface: {
|
571
|
+
type: AXPWidgetsCatalog.toggle,
|
572
|
+
},
|
573
|
+
},
|
574
|
+
},
|
575
|
+
{
|
576
|
+
name: 'whenToCall',
|
577
|
+
title: '@contact-management:emergency-contact.when-to-call',
|
578
|
+
groupId: 'settings',
|
579
|
+
options: {
|
580
|
+
sort: {
|
581
|
+
enabled: false,
|
582
|
+
},
|
583
|
+
filter: {
|
584
|
+
advance: {
|
585
|
+
enabled: true,
|
586
|
+
},
|
587
|
+
inline: {
|
588
|
+
enabled: false,
|
589
|
+
},
|
590
|
+
},
|
591
|
+
},
|
592
|
+
schema: {
|
593
|
+
dataType: 'string',
|
594
|
+
interface: {
|
595
|
+
type: AXPWidgetsCatalog.largeText,
|
596
|
+
options: {
|
597
|
+
rows: 2,
|
598
|
+
placeholder: 'When to call this emergency number',
|
599
|
+
},
|
600
|
+
},
|
601
|
+
},
|
602
|
+
},
|
603
|
+
{
|
604
|
+
name: 'whenNotToCall',
|
605
|
+
title: '@contact-management:emergency-contact.when-not-to-call',
|
606
|
+
groupId: 'settings',
|
607
|
+
options: {
|
608
|
+
sort: {
|
609
|
+
enabled: false,
|
610
|
+
},
|
611
|
+
filter: {
|
612
|
+
advance: {
|
613
|
+
enabled: true,
|
614
|
+
},
|
615
|
+
inline: {
|
616
|
+
enabled: false,
|
617
|
+
},
|
618
|
+
},
|
619
|
+
},
|
620
|
+
schema: {
|
621
|
+
dataType: 'string',
|
622
|
+
interface: {
|
623
|
+
type: AXPWidgetsCatalog.largeText,
|
624
|
+
options: {
|
625
|
+
rows: 2,
|
626
|
+
placeholder: 'When NOT to call this number',
|
627
|
+
},
|
628
|
+
},
|
629
|
+
},
|
630
|
+
},
|
631
|
+
{
|
632
|
+
name: 'instructions',
|
633
|
+
title: '@contact-management:emergency-contact.instructions',
|
634
|
+
groupId: 'settings',
|
635
|
+
options: {
|
636
|
+
sort: {
|
637
|
+
enabled: false,
|
638
|
+
},
|
639
|
+
filter: {
|
640
|
+
advance: {
|
641
|
+
enabled: true,
|
642
|
+
},
|
643
|
+
inline: {
|
644
|
+
enabled: false,
|
645
|
+
},
|
646
|
+
},
|
647
|
+
},
|
648
|
+
schema: {
|
649
|
+
dataType: 'string',
|
650
|
+
interface: {
|
651
|
+
type: AXPWidgetsCatalog.largeText,
|
652
|
+
options: {
|
653
|
+
rows: 3,
|
654
|
+
placeholder: 'Special instructions for calling',
|
655
|
+
},
|
656
|
+
},
|
657
|
+
},
|
658
|
+
},
|
659
|
+
{
|
660
|
+
name: 'isActive',
|
661
|
+
title: '@general:terms.is-active',
|
662
|
+
groupId: 'settings',
|
663
|
+
options: {
|
664
|
+
sort: {
|
665
|
+
enabled: true,
|
666
|
+
},
|
667
|
+
filter: {
|
668
|
+
advance: {
|
669
|
+
enabled: true,
|
670
|
+
},
|
671
|
+
inline: {
|
672
|
+
enabled: true,
|
673
|
+
},
|
674
|
+
},
|
675
|
+
},
|
676
|
+
schema: {
|
677
|
+
dataType: 'boolean',
|
678
|
+
interface: {
|
679
|
+
type: AXPWidgetsCatalog.toggle,
|
680
|
+
},
|
681
|
+
},
|
682
|
+
},
|
683
|
+
{
|
684
|
+
name: 'isVerified',
|
685
|
+
title: '@general:terms.is-verified',
|
686
|
+
groupId: 'settings',
|
687
|
+
options: {
|
688
|
+
sort: {
|
689
|
+
enabled: true,
|
690
|
+
},
|
691
|
+
filter: {
|
692
|
+
advance: {
|
693
|
+
enabled: true,
|
694
|
+
},
|
695
|
+
inline: {
|
696
|
+
enabled: true,
|
697
|
+
},
|
698
|
+
},
|
699
|
+
},
|
700
|
+
schema: {
|
701
|
+
dataType: 'boolean',
|
702
|
+
interface: {
|
703
|
+
type: AXPWidgetsCatalog.toggle,
|
704
|
+
},
|
705
|
+
},
|
706
|
+
},
|
707
|
+
{
|
708
|
+
name: 'lastVerified',
|
709
|
+
title: '@general:terms.last-verified',
|
710
|
+
groupId: 'settings',
|
711
|
+
options: {
|
712
|
+
sort: {
|
713
|
+
enabled: true,
|
714
|
+
},
|
715
|
+
filter: {
|
716
|
+
advance: {
|
717
|
+
enabled: true,
|
718
|
+
},
|
719
|
+
inline: {
|
720
|
+
enabled: false,
|
721
|
+
},
|
722
|
+
},
|
723
|
+
},
|
724
|
+
schema: {
|
725
|
+
dataType: 'date',
|
726
|
+
interface: {
|
727
|
+
type: AXPWidgetsCatalog.dateTime,
|
728
|
+
},
|
729
|
+
},
|
730
|
+
},
|
731
|
+
{
|
732
|
+
name: 'showOnDashboard',
|
733
|
+
title: '@contact-management:emergency-contact.show-on-dashboard',
|
734
|
+
groupId: 'settings',
|
735
|
+
options: {
|
736
|
+
sort: {
|
737
|
+
enabled: true,
|
738
|
+
},
|
739
|
+
filter: {
|
740
|
+
advance: {
|
741
|
+
enabled: true,
|
742
|
+
},
|
743
|
+
inline: {
|
744
|
+
enabled: true,
|
745
|
+
},
|
746
|
+
},
|
747
|
+
},
|
748
|
+
schema: {
|
749
|
+
dataType: 'boolean',
|
750
|
+
interface: {
|
751
|
+
type: AXPWidgetsCatalog.toggle,
|
752
|
+
},
|
753
|
+
},
|
754
|
+
},
|
755
|
+
{
|
756
|
+
name: 'requiresConfirmation',
|
757
|
+
title: '@contact-management:emergency-contact.requires-confirmation',
|
758
|
+
groupId: 'settings',
|
759
|
+
options: {
|
760
|
+
sort: {
|
761
|
+
enabled: true,
|
762
|
+
},
|
763
|
+
filter: {
|
764
|
+
advance: {
|
765
|
+
enabled: true,
|
766
|
+
},
|
767
|
+
inline: {
|
768
|
+
enabled: true,
|
769
|
+
},
|
770
|
+
},
|
771
|
+
},
|
772
|
+
schema: {
|
773
|
+
dataType: 'boolean',
|
774
|
+
interface: {
|
775
|
+
type: AXPWidgetsCatalog.toggle,
|
776
|
+
},
|
777
|
+
},
|
778
|
+
},
|
779
|
+
{
|
780
|
+
name: 'isQuickDial',
|
781
|
+
title: '@contact-management:emergency-contact.is-quick-dial',
|
782
|
+
groupId: 'settings',
|
783
|
+
options: {
|
784
|
+
sort: {
|
785
|
+
enabled: true,
|
786
|
+
},
|
787
|
+
filter: {
|
788
|
+
advance: {
|
789
|
+
enabled: true,
|
790
|
+
},
|
791
|
+
inline: {
|
792
|
+
enabled: true,
|
793
|
+
},
|
794
|
+
},
|
795
|
+
},
|
796
|
+
schema: {
|
797
|
+
dataType: 'boolean',
|
798
|
+
interface: {
|
799
|
+
type: AXPWidgetsCatalog.toggle,
|
800
|
+
},
|
801
|
+
},
|
802
|
+
},
|
803
|
+
{
|
804
|
+
name: 'additionalInfo',
|
805
|
+
title: '@general:terms.additional-info',
|
806
|
+
groupId: 'settings',
|
807
|
+
options: {
|
808
|
+
sort: {
|
809
|
+
enabled: false,
|
810
|
+
},
|
811
|
+
filter: {
|
812
|
+
advance: {
|
813
|
+
enabled: true,
|
814
|
+
},
|
815
|
+
inline: {
|
816
|
+
enabled: false,
|
817
|
+
},
|
818
|
+
},
|
819
|
+
},
|
820
|
+
schema: {
|
821
|
+
dataType: 'string',
|
822
|
+
interface: {
|
823
|
+
type: AXPWidgetsCatalog.largeText,
|
824
|
+
options: {
|
825
|
+
rows: 3,
|
826
|
+
placeholder: 'Additional information',
|
827
|
+
},
|
828
|
+
},
|
829
|
+
},
|
830
|
+
},
|
831
|
+
],
|
832
|
+
columns: [
|
833
|
+
{ name: 'name' },
|
834
|
+
{ name: 'shortName' },
|
835
|
+
{ name: 'phoneNumber' },
|
836
|
+
{ name: 'categoryIds', options: { dataPath: 'categories' } },
|
837
|
+
{ name: 'country' },
|
838
|
+
{ name: 'availability' },
|
839
|
+
{ name: 'isActive' },
|
840
|
+
{ name: 'isVerified' }
|
841
|
+
],
|
842
|
+
commands: {
|
843
|
+
create: {
|
844
|
+
execute: async (data) => {
|
845
|
+
const res = await dataService.insertOne(data);
|
846
|
+
return { id: res };
|
847
|
+
},
|
848
|
+
},
|
849
|
+
delete: {
|
850
|
+
execute: async (id) => {
|
851
|
+
return await dataService.deleteOne(id);
|
852
|
+
},
|
853
|
+
},
|
854
|
+
update: {
|
855
|
+
execute: async (data) => {
|
856
|
+
return await dataService.updateOne(data.id, data);
|
857
|
+
},
|
858
|
+
},
|
859
|
+
},
|
860
|
+
queries: {
|
861
|
+
byKey: {
|
862
|
+
execute: async (id) => {
|
863
|
+
return await dataService.getOne(id);
|
864
|
+
},
|
865
|
+
type: AXPEntityQueryType.Single,
|
866
|
+
},
|
867
|
+
list: {
|
868
|
+
execute: async (e) => {
|
869
|
+
return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
|
870
|
+
},
|
871
|
+
type: AXPEntityQueryType.List,
|
872
|
+
},
|
873
|
+
},
|
874
|
+
interfaces: {
|
875
|
+
master: {
|
876
|
+
create: {
|
877
|
+
sections: [
|
878
|
+
{ id: 'basic' },
|
879
|
+
{ id: 'contact-info' },
|
880
|
+
{ id: 'location' },
|
881
|
+
{ id: 'settings' },
|
882
|
+
],
|
883
|
+
properties: [
|
884
|
+
// Basic
|
885
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
886
|
+
{ name: 'shortName', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
887
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
888
|
+
{ name: 'categoryIds', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
889
|
+
// Contact Info
|
890
|
+
{ name: 'phoneNumber', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },
|
891
|
+
{ name: 'alternateNumbers', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
|
892
|
+
{ name: 'textNumber', layout: { positions: { lg: { colSpan: 4, order: 7 } } } },
|
893
|
+
{ name: 'website', layout: { positions: { lg: { colSpan: 4, order: 8 } } } },
|
894
|
+
{ name: 'email', layout: { positions: { lg: { colSpan: 4, order: 9 } } } },
|
895
|
+
// Location
|
896
|
+
{ name: 'country', layout: { positions: { lg: { colSpan: 4, order: 10 } } } },
|
897
|
+
{ name: 'region', layout: { positions: { lg: { colSpan: 4, order: 11 } } } },
|
898
|
+
{ name: 'city', layout: { positions: { lg: { colSpan: 4, order: 12 } } } },
|
899
|
+
{ name: 'isNational', layout: { positions: { lg: { colSpan: 4, order: 13 } } } },
|
900
|
+
{ name: 'isRegional', layout: { positions: { lg: { colSpan: 4, order: 14 } } } },
|
901
|
+
{ name: 'isLocal', layout: { positions: { lg: { colSpan: 4, order: 15 } } } },
|
902
|
+
// Settings
|
903
|
+
{ name: 'availability', layout: { positions: { lg: { colSpan: 6, order: 16 } } } },
|
904
|
+
{ name: 'languages', layout: { positions: { lg: { colSpan: 6, order: 17 } } } },
|
905
|
+
{ name: 'isTextCapable', layout: { positions: { lg: { colSpan: 3, order: 18 } } } },
|
906
|
+
{ name: 'isVideoCallCapable', layout: { positions: { lg: { colSpan: 3, order: 19 } } } },
|
907
|
+
{ name: 'priority', layout: { positions: { lg: { colSpan: 3, order: 20 } } } },
|
908
|
+
{ name: 'isActive', layout: { positions: { lg: { colSpan: 3, order: 21 } } } },
|
909
|
+
{ name: 'whenToCall', layout: { positions: { lg: { colStart: 1, colSpan: 6, order: 22 } } } },
|
910
|
+
{ name: 'whenNotToCall', layout: { positions: { lg: { colSpan: 6, order: 23 } } } },
|
911
|
+
{ name: 'instructions', layout: { positions: { lg: { colSpan: 12, order: 24 } } } },
|
912
|
+
{ name: 'isVerified', layout: { positions: { lg: { colSpan: 3, order: 25 } } } },
|
913
|
+
{ name: 'lastVerified', layout: { positions: { lg: { colSpan: 3, order: 26 } } } },
|
914
|
+
{ name: 'showOnDashboard', layout: { positions: { lg: { colSpan: 3, order: 27 } } } },
|
915
|
+
{ name: 'requiresConfirmation', layout: { positions: { lg: { colSpan: 3, order: 28 } } } },
|
916
|
+
{ name: 'isQuickDial', layout: { positions: { lg: { colSpan: 6, order: 29 } } } },
|
917
|
+
{ name: 'additionalInfo', layout: { positions: { lg: { colSpan: 12, order: 30 } } } },
|
918
|
+
],
|
919
|
+
},
|
920
|
+
update: {
|
921
|
+
sections: [
|
922
|
+
{ id: 'basic' },
|
923
|
+
{ id: 'contact-info' },
|
924
|
+
{ id: 'location' },
|
925
|
+
{ id: 'settings' },
|
926
|
+
],
|
927
|
+
properties: [
|
928
|
+
// Basic
|
929
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
930
|
+
{ name: 'shortName', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
931
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
932
|
+
{ name: 'categoryIds', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
933
|
+
// Contact Info
|
934
|
+
{ name: 'phoneNumber', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },
|
935
|
+
{ name: 'alternateNumbers', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
|
936
|
+
{ name: 'textNumber', layout: { positions: { lg: { colSpan: 4, order: 7 } } } },
|
937
|
+
{ name: 'website', layout: { positions: { lg: { colSpan: 4, order: 8 } } } },
|
938
|
+
{ name: 'email', layout: { positions: { lg: { colSpan: 4, order: 9 } } } },
|
939
|
+
// Location
|
940
|
+
{ name: 'country', layout: { positions: { lg: { colSpan: 4, order: 10 } } } },
|
941
|
+
{ name: 'region', layout: { positions: { lg: { colSpan: 4, order: 11 } } } },
|
942
|
+
{ name: 'city', layout: { positions: { lg: { colSpan: 4, order: 12 } } } },
|
943
|
+
{ name: 'isNational', layout: { positions: { lg: { colSpan: 4, order: 13 } } } },
|
944
|
+
{ name: 'isRegional', layout: { positions: { lg: { colSpan: 4, order: 14 } } } },
|
945
|
+
{ name: 'isLocal', layout: { positions: { lg: { colSpan: 4, order: 15 } } } },
|
946
|
+
// Settings
|
947
|
+
{ name: 'availability', layout: { positions: { lg: { colSpan: 6, order: 16 } } } },
|
948
|
+
{ name: 'languages', layout: { positions: { lg: { colSpan: 6, order: 17 } } } },
|
949
|
+
{ name: 'isTextCapable', layout: { positions: { lg: { colSpan: 3, order: 18 } } } },
|
950
|
+
{ name: 'isVideoCallCapable', layout: { positions: { lg: { colSpan: 3, order: 19 } } } },
|
951
|
+
{ name: 'priority', layout: { positions: { lg: { colSpan: 3, order: 20 } } } },
|
952
|
+
{ name: 'isActive', layout: { positions: { lg: { colSpan: 3, order: 21 } } } },
|
953
|
+
{ name: 'whenToCall', layout: { positions: { lg: { colStart: 1, colSpan: 6, order: 22 } } } },
|
954
|
+
{ name: 'whenNotToCall', layout: { positions: { lg: { colSpan: 6, order: 23 } } } },
|
955
|
+
{ name: 'instructions', layout: { positions: { lg: { colSpan: 12, order: 24 } } } },
|
956
|
+
{ name: 'isVerified', layout: { positions: { lg: { colSpan: 3, order: 25 } } } },
|
957
|
+
{ name: 'lastVerified', layout: { positions: { lg: { colSpan: 3, order: 26 } } } },
|
958
|
+
{ name: 'showOnDashboard', layout: { positions: { lg: { colSpan: 3, order: 27 } } } },
|
959
|
+
{ name: 'requiresConfirmation', layout: { positions: { lg: { colSpan: 3, order: 28 } } } },
|
960
|
+
{ name: 'isQuickDial', layout: { positions: { lg: { colSpan: 6, order: 29 } } } },
|
961
|
+
{ name: 'additionalInfo', layout: { positions: { lg: { colSpan: 12, order: 30 } } } },
|
962
|
+
],
|
963
|
+
},
|
964
|
+
single: {
|
965
|
+
title: '{{name}}',
|
966
|
+
sections: [
|
967
|
+
{ id: 'basic' },
|
968
|
+
{ id: 'contact-info' },
|
969
|
+
{ id: 'location' },
|
970
|
+
{ id: 'settings' },
|
971
|
+
],
|
972
|
+
properties: [
|
973
|
+
// Basic
|
974
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
975
|
+
{ name: 'shortName', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
976
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
977
|
+
{ name: 'categoryIds', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
978
|
+
// Contact Info
|
979
|
+
{ name: 'phoneNumber', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },
|
980
|
+
{ name: 'alternateNumbers', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
|
981
|
+
{ name: 'textNumber', layout: { positions: { lg: { colSpan: 4, order: 7 } } } },
|
982
|
+
{ name: 'website', layout: { positions: { lg: { colSpan: 4, order: 8 } } } },
|
983
|
+
{ name: 'email', layout: { positions: { lg: { colSpan: 4, order: 9 } } } },
|
984
|
+
// Location
|
985
|
+
{ name: 'country', layout: { positions: { lg: { colSpan: 4, order: 10 } } } },
|
986
|
+
{ name: 'region', layout: { positions: { lg: { colSpan: 4, order: 11 } } } },
|
987
|
+
{ name: 'city', layout: { positions: { lg: { colSpan: 4, order: 12 } } } },
|
988
|
+
{ name: 'isNational', layout: { positions: { lg: { colSpan: 4, order: 13 } } } },
|
989
|
+
{ name: 'isRegional', layout: { positions: { lg: { colSpan: 4, order: 14 } } } },
|
990
|
+
{ name: 'isLocal', layout: { positions: { lg: { colSpan: 4, order: 15 } } } },
|
991
|
+
// Settings
|
992
|
+
{ name: 'availability', layout: { positions: { lg: { colSpan: 6, order: 16 } } } },
|
993
|
+
{ name: 'languages', layout: { positions: { lg: { colSpan: 6, order: 17 } } } },
|
994
|
+
{ name: 'isTextCapable', layout: { positions: { lg: { colSpan: 3, order: 18 } } } },
|
995
|
+
{ name: 'isVideoCallCapable', layout: { positions: { lg: { colSpan: 3, order: 19 } } } },
|
996
|
+
{ name: 'priority', layout: { positions: { lg: { colSpan: 3, order: 20 } } } },
|
997
|
+
{ name: 'isActive', layout: { positions: { lg: { colSpan: 3, order: 21 } } } },
|
998
|
+
{ name: 'whenToCall', layout: { positions: { lg: { colStart: 1, colSpan: 6, order: 22 } } } },
|
999
|
+
{ name: 'whenNotToCall', layout: { positions: { lg: { colSpan: 6, order: 23 } } } },
|
1000
|
+
{ name: 'instructions', layout: { positions: { lg: { colSpan: 12, order: 24 } } } },
|
1001
|
+
{ name: 'isVerified', layout: { positions: { lg: { colSpan: 3, order: 25 } } } },
|
1002
|
+
{ name: 'lastVerified', layout: { positions: { lg: { colSpan: 3, order: 26 } } } },
|
1003
|
+
{ name: 'showOnDashboard', layout: { positions: { lg: { colSpan: 3, order: 27 } } } },
|
1004
|
+
{ name: 'requiresConfirmation', layout: { positions: { lg: { colSpan: 3, order: 28 } } } },
|
1005
|
+
{ name: 'isQuickDial', layout: { positions: { lg: { colSpan: 6, order: 29 } } } },
|
1006
|
+
{ name: 'additionalInfo', layout: { positions: { lg: { colSpan: 12, order: 30 } } } },
|
1007
|
+
],
|
1008
|
+
actions: [
|
1009
|
+
{
|
1010
|
+
title: '@general:actions.delete.title',
|
1011
|
+
command: 'delete-entity',
|
1012
|
+
priority: 'secondary',
|
1013
|
+
type: 'delete',
|
1014
|
+
scope: AXPEntityCommandScope.Individual,
|
1015
|
+
},
|
1016
|
+
],
|
1017
|
+
},
|
1018
|
+
list: {
|
1019
|
+
actions: [
|
1020
|
+
{
|
1021
|
+
title: '@general:actions.create.title',
|
1022
|
+
command: 'create-entity',
|
1023
|
+
priority: 'primary',
|
1024
|
+
type: 'create',
|
1025
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
1026
|
+
},
|
1027
|
+
{
|
1028
|
+
title: '@general:actions.delete-items.title',
|
1029
|
+
command: 'delete-entity',
|
1030
|
+
priority: 'primary',
|
1031
|
+
type: 'delete',
|
1032
|
+
scope: AXPEntityCommandScope.Selected,
|
1033
|
+
},
|
1034
|
+
{
|
1035
|
+
title: '@general:actions.detail.title',
|
1036
|
+
command: 'open-entity',
|
1037
|
+
priority: 'secondary',
|
1038
|
+
type: 'view',
|
1039
|
+
scope: AXPEntityCommandScope.Individual,
|
1040
|
+
},
|
1041
|
+
{
|
1042
|
+
title: '@general:actions.delete.title',
|
1043
|
+
command: 'delete-entity',
|
1044
|
+
priority: 'secondary',
|
1045
|
+
type: 'delete',
|
1046
|
+
scope: AXPEntityCommandScope.Individual,
|
1047
|
+
},
|
1048
|
+
],
|
1049
|
+
views: [
|
1050
|
+
createAllQueryView({
|
1051
|
+
sorts: [{ name: 'name', dir: 'asc' }]
|
1052
|
+
}),
|
1053
|
+
],
|
1054
|
+
},
|
1055
|
+
},
|
1056
|
+
},
|
1057
|
+
};
|
1058
|
+
return entityDef;
|
1059
|
+
}
|
1060
|
+
|
1061
|
+
export { emergencyContactFactory };
|
1062
|
+
//# sourceMappingURL=acorex-modules-contact-management-emergency-contact.entity-Cr7_5JKD.mjs.map
|