@acorex-platform/module-assessment-management-client 0.0.32 → 0.0.37

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 (55) hide show
  1. package/fesm2022/{acorex-platform-module-assessment-management-client-acorex-platform-module-assessment-management-client-YfOwCCLz.mjs → acorex-platform-module-assessment-management-client-acorex-platform-module-assessment-management-client-BcpbQ8TJ.mjs} +41 -41
  2. package/fesm2022/acorex-platform-module-assessment-management-client-acorex-platform-module-assessment-management-client-BcpbQ8TJ.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-assessment-management-client-assessment-case-status.provider-i48XDX-I.mjs.map +1 -1
  4. package/fesm2022/acorex-platform-module-assessment-management-client-assessment-session-answers-view.util-42ZcOY2C.mjs.map +1 -1
  5. package/fesm2022/acorex-platform-module-assessment-management-client-assessment-session-status.provider-Bk9hHj5V.mjs.map +1 -1
  6. package/fesm2022/{acorex-platform-module-assessment-management-client-assessment-voice.commands-CZjFuIsF.mjs → acorex-platform-module-assessment-management-client-assessment-voice.commands-DEcHphg8.mjs} +2 -2
  7. package/fesm2022/{acorex-platform-module-assessment-management-client-assessment-voice.commands-CZjFuIsF.mjs.map → acorex-platform-module-assessment-management-client-assessment-voice.commands-DEcHphg8.mjs.map} +1 -1
  8. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-assessment-case.mjs +302 -0
  9. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-assessment-case.mjs.map +1 -0
  10. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-assessment-session.mjs +327 -0
  11. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-assessment-session.mjs.map +1 -0
  12. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-question-bank-item.mjs +531 -0
  13. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-question-bank-item.mjs.map +1 -0
  14. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-questionnaire.mjs +1134 -0
  15. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-questionnaire.mjs.map +1 -0
  16. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-acorex-platform-module-assessment-management-client-contracts-entity-catalog-B8PJe3IJ.mjs +73 -0
  17. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-acorex-platform-module-assessment-management-client-contracts-entity-catalog-B8PJe3IJ.mjs.map +1 -0
  18. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-case.entity-DcRzvfKO.mjs +251 -0
  19. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-case.entity-DcRzvfKO.mjs.map +1 -0
  20. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-session.entity-Y0FU8X-e.mjs +276 -0
  21. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-session.entity-Y0FU8X-e.mjs.map +1 -0
  22. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-question-bank-item.entity-CT913OrX.mjs +480 -0
  23. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-question-bank-item.entity-CT913OrX.mjs.map +1 -0
  24. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-questionnaire.entity-C4hxiPTX.mjs +1083 -0
  25. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-questionnaire.entity-C4hxiPTX.mjs.map +1 -0
  26. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog.mjs +2 -0
  27. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog.mjs.map +1 -0
  28. package/fesm2022/acorex-platform-module-assessment-management-client-contracts.mjs.map +1 -1
  29. package/fesm2022/{acorex-platform-module-assessment-management-client-fill-assessment-session.command-DUo0Jy0W.mjs → acorex-platform-module-assessment-management-client-fill-assessment-session.command-lHYKxCXo.mjs} +2 -2
  30. package/fesm2022/{acorex-platform-module-assessment-management-client-fill-assessment-session.command-DUo0Jy0W.mjs.map → acorex-platform-module-assessment-management-client-fill-assessment-session.command-lHYKxCXo.mjs.map} +1 -1
  31. package/fesm2022/acorex-platform-module-assessment-management-client-list-question-difficulty-options.query-h3xT-MNd.mjs.map +1 -1
  32. package/fesm2022/acorex-platform-module-assessment-management-client-local-entities.mjs +32 -0
  33. package/fesm2022/acorex-platform-module-assessment-management-client-local-entities.mjs.map +1 -0
  34. package/fesm2022/{acorex-platform-module-assessment-management-client-preview-question.command-BR3YNIEg.mjs → acorex-platform-module-assessment-management-client-preview-question.command-Db64SCn6.mjs} +2 -2
  35. package/fesm2022/{acorex-platform-module-assessment-management-client-preview-question.command-BR3YNIEg.mjs.map → acorex-platform-module-assessment-management-client-preview-question.command-Db64SCn6.mjs.map} +1 -1
  36. package/fesm2022/{acorex-platform-module-assessment-management-client-preview-questionnaire.command-D9Y57_r2.mjs → acorex-platform-module-assessment-management-client-preview-questionnaire.command-yOfBbOMK.mjs} +2 -2
  37. package/fesm2022/{acorex-platform-module-assessment-management-client-preview-questionnaire.command-D9Y57_r2.mjs.map → acorex-platform-module-assessment-management-client-preview-questionnaire.command-yOfBbOMK.mjs.map} +1 -1
  38. package/fesm2022/acorex-platform-module-assessment-management-client-preview-session-pdf.command-BsiJU6ep.mjs.map +1 -1
  39. package/fesm2022/{acorex-platform-module-assessment-management-client-question-bank-interface-editor-widget-edit.component-BqIo3Zhp.mjs → acorex-platform-module-assessment-management-client-question-bank-interface-editor-widget-edit.component-B9iRaSSF.mjs} +3 -3
  40. package/fesm2022/{acorex-platform-module-assessment-management-client-question-bank-interface-editor-widget-edit.component-BqIo3Zhp.mjs.map → acorex-platform-module-assessment-management-client-question-bank-interface-editor-widget-edit.component-B9iRaSSF.mjs.map} +1 -1
  41. package/fesm2022/{acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-EEBL0x9K.mjs → acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-B4JMc6ew.mjs} +3 -3
  42. package/fesm2022/{acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-EEBL0x9K.mjs.map → acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-B4JMc6ew.mjs.map} +1 -1
  43. package/fesm2022/{acorex-platform-module-assessment-management-client-review-assessment-session.command-Bobavgnt.mjs → acorex-platform-module-assessment-management-client-review-assessment-session.command-si6-7hpg.mjs} +2 -2
  44. package/fesm2022/{acorex-platform-module-assessment-management-client-review-assessment-session.command-Bobavgnt.mjs.map → acorex-platform-module-assessment-management-client-review-assessment-session.command-si6-7hpg.mjs.map} +1 -1
  45. package/fesm2022/{acorex-platform-module-assessment-management-client-view-session-answers.command-DPfg8ioy.mjs → acorex-platform-module-assessment-management-client-view-session-answers.command-BUMtj_L6.mjs} +2 -2
  46. package/fesm2022/{acorex-platform-module-assessment-management-client-view-session-answers.command-DPfg8ioy.mjs.map → acorex-platform-module-assessment-management-client-view-session-answers.command-BUMtj_L6.mjs.map} +1 -1
  47. package/fesm2022/acorex-platform-module-assessment-management-client.mjs +1 -1
  48. package/package.json +27 -2
  49. package/types/acorex-platform-module-assessment-management-client-contracts-entities-assessment-case.d.ts +5 -0
  50. package/types/acorex-platform-module-assessment-management-client-contracts-entities-assessment-session.d.ts +5 -0
  51. package/types/acorex-platform-module-assessment-management-client-contracts-entities-question-bank-item.d.ts +5 -0
  52. package/types/acorex-platform-module-assessment-management-client-contracts-entities-questionnaire.d.ts +5 -0
  53. package/types/acorex-platform-module-assessment-management-client-contracts-entity-catalog.d.ts +10 -0
  54. package/types/acorex-platform-module-assessment-management-client-local-entities.d.ts +12 -0
  55. package/fesm2022/acorex-platform-module-assessment-management-client-acorex-platform-module-assessment-management-client-YfOwCCLz.mjs.map +0 -1
@@ -0,0 +1,1083 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, createQueryView, AXPEntityCommandScope, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-assessment-management-client-contracts-entity-catalog-acorex-platform-module-assessment-management-client-contracts-entity-catalog-B8PJe3IJ.mjs';
4
+ import { AXM_TEXT_TEMPLATE_KIND, AXM_TEXT_TEMPLATE_IDS } from '@acorex-platform/module-content-management-client/contracts';
5
+
6
+ /** Component key for the questionnaire Outcomes page tab. Register via AXP_PAGE_COMPONENT_PROVIDER. */
7
+ const QUESTIONNAIRE_OUTCOMES_PAGE_COMPONENT_KEY = 'questionnaire-outcomes-page';
8
+
9
+ /** Component key for the questionnaire Questions page tab. Register via AXP_PAGE_COMPONENT_PROVIDER. */
10
+ const QUESTIONNAIRE_QUESTIONS_PAGE_COMPONENT_KEY = 'questionnaire-questions-page';
11
+
12
+ //#endregion
13
+ //#region ---- Entity Factory ----
14
+ async function factoryQuestionnaire() {
15
+ const entityDef = {
16
+ module: RootConfig.module.name,
17
+ name: RootConfig.entities.questionnaire.name,
18
+ title: RootConfig.entities.questionnaire.title,
19
+ icon: RootConfig.entities.questionnaire.icon,
20
+ plugins: [
21
+ { name: 'history' },
22
+ { name: 'category' },
23
+ { name: 'catalog-scope' },
24
+ { name: 'lock' },
25
+ { name: 'archive' },
26
+ { name: 'clone' },
27
+ { name: 'attachments', options: { display: 'page' } },
28
+ {
29
+ name: 'automation',
30
+ options: {
31
+ title: '@assessment-management:questionnaires.entities.questionnaire.related-entities.automations.title',
32
+ layoutType: 'page-list',
33
+ position: 'after',
34
+ order: 2,
35
+ icon: 'fa-light fa-bolt',
36
+ },
37
+ },
38
+ ],
39
+ formats: {
40
+ individual: RootConfig.entities.questionnaire.title,
41
+ plural: RootConfig.entities.questionnaire.titlePlural,
42
+ searchResult: {
43
+ title: '{{ title }}',
44
+ description: '{{ type }}',
45
+ },
46
+ },
47
+ pages: [
48
+ {
49
+ componentKey: QUESTIONNAIRE_QUESTIONS_PAGE_COMPONENT_KEY,
50
+ field: 'questions',
51
+ title: '@assessment-management:questionnaires.entities.questionnaire.fields.questions.title',
52
+ icon: 'fa-light fa-list-check',
53
+ layout: { order: 1, position: 'after' },
54
+ appearOn: { create: true, update: true },
55
+ },
56
+ {
57
+ componentKey: QUESTIONNAIRE_OUTCOMES_PAGE_COMPONENT_KEY,
58
+ field: 'outcomes',
59
+ title: '@assessment-management:questionnaires.entities.questionnaire.fields.outcomes.title',
60
+ icon: 'fa-light fa-calculator',
61
+ layout: { order: 2, position: 'after' },
62
+ appearOn: { create: true, update: true },
63
+ },
64
+ ],
65
+ groups: [
66
+ { id: 'basic-info', title: '@general:terms.interface.basic-info' },
67
+ { id: 'questions', title: '@assessment-management:questionnaires.entities.questionnaire.groups.questions' },
68
+ {
69
+ id: 'pre-questionnaire',
70
+ title: '@assessment-management:questionnaires.entities.questionnaire.groups.pre-questionnaire',
71
+ },
72
+ {
73
+ id: 'post-questionnaire',
74
+ title: '@assessment-management:questionnaires.entities.questionnaire.groups.post-questionnaire',
75
+ },
76
+ {
77
+ id: 'display',
78
+ title: '@assessment-management:questionnaires.entities.questionnaire.groups.display',
79
+ },
80
+ {
81
+ id: 'print',
82
+ title: '@assessment-management:questionnaires.entities.questionnaire.groups.print',
83
+ },
84
+ ],
85
+ properties: [
86
+ {
87
+ name: 'id',
88
+ title: 'ID',
89
+ groupId: 'basic-info',
90
+ schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
91
+ },
92
+ {
93
+ name: 'title',
94
+ title: '@assessment-management:questionnaires.entities.questionnaire.fields.title.title',
95
+ groupId: 'basic-info',
96
+ options: {
97
+ sort: { enabled: true },
98
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
99
+ },
100
+ schema: {
101
+ dataType: 'string',
102
+ interface: {
103
+ type: AXPWidgetsList.Editors.TextBox,
104
+ options: { placeholder: 'Questionnaire title...' },
105
+ },
106
+ },
107
+ validations: [{ rule: 'required' }],
108
+ },
109
+ {
110
+ name: 'type',
111
+ title: '@assessment-management:questionnaires.entities.questionnaire.fields.type.title',
112
+ groupId: 'basic-info',
113
+ options: {
114
+ sort: { enabled: true },
115
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
116
+ },
117
+ schema: {
118
+ dataType: 'string',
119
+ defaultValue: 'questionnaire',
120
+ interface: {
121
+ type: AXPWidgetsList.Editors.SelectBox,
122
+ options: {
123
+ valueField: 'id',
124
+ dataSource: [
125
+ {
126
+ id: 'questionnaire',
127
+ title: '@assessment-management:questionnaires.entities.questionnaire.fields.type.options.questionnaire',
128
+ },
129
+ {
130
+ id: 'survey',
131
+ title: '@assessment-management:questionnaires.entities.questionnaire.fields.type.options.survey',
132
+ },
133
+ {
134
+ id: 'checklist',
135
+ title: '@assessment-management:questionnaires.entities.questionnaire.fields.type.options.checklist',
136
+ },
137
+ {
138
+ id: 'test',
139
+ title: '@assessment-management:questionnaires.entities.questionnaire.fields.type.options.test',
140
+ },
141
+ {
142
+ id: 'evaluation',
143
+ title: '@assessment-management:questionnaires.entities.questionnaire.fields.type.options.evaluation',
144
+ },
145
+ ],
146
+ },
147
+ },
148
+ },
149
+ validations: [{ rule: 'required' }],
150
+ },
151
+ {
152
+ name: 'description',
153
+ title: '@assessment-management:questionnaires.entities.questionnaire.fields.description.title',
154
+ groupId: 'basic-info',
155
+ options: {
156
+ sort: { enabled: false },
157
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
158
+ },
159
+ schema: {
160
+ dataType: 'string',
161
+ interface: {
162
+ type: AXPWidgetsList.Editors.LargeTextBox,
163
+ options: { rows: 3 },
164
+ },
165
+ },
166
+ },
167
+ {
168
+ name: 'pre',
169
+ title: '@assessment-management:questionnaires.entities.questionnaire.groups.pre-questionnaire',
170
+ groupId: 'pre-questionnaire',
171
+ options: {
172
+ sort: { enabled: false },
173
+ filter: { advance: { enabled: false }, inline: { enabled: false } },
174
+ },
175
+ schema: {
176
+ dataType: 'object',
177
+ nullable: true,
178
+ defaultValue: { enabled: false },
179
+ interface: {
180
+ type: AXPWidgetsList.Layouts.GridLayout,
181
+ mode: 'edit',
182
+ options: {
183
+ grid: {
184
+ default: {
185
+ columns: 12,
186
+ gap: '1rem',
187
+ },
188
+ },
189
+ },
190
+ children: [
191
+ {
192
+ type: AXPWidgetsList.Layouts.GridItemLayout,
193
+ mode: 'edit',
194
+ options: { colSpan: 12 },
195
+ children: [
196
+ {
197
+ type: AXPWidgetsList.Layouts.FormField,
198
+ mode: 'edit',
199
+ options: {
200
+ label: '@assessment-management:questionnaires.entities.questionnaire.fields.pre-enabled.title',
201
+ showLabel: true,
202
+ },
203
+ children: [
204
+ {
205
+ type: AXPWidgetsList.Editors.ToggleSwitch,
206
+ path: 'pre.enabled',
207
+ mode: 'edit',
208
+ options: {
209
+ description: '@assessment-management:questionnaires.entities.questionnaire.fields.pre-enabled.description',
210
+ },
211
+ },
212
+ ],
213
+ },
214
+ ],
215
+ },
216
+ {
217
+ type: AXPWidgetsList.Layouts.GridItemLayout,
218
+ mode: 'edit',
219
+ options: {
220
+ colSpan: 12,
221
+ visible: `{{ context.eval('pre.enabled') === true }}`,
222
+ },
223
+ children: [
224
+ {
225
+ type: AXPWidgetsList.Layouts.FormField,
226
+ mode: 'edit',
227
+ options: {
228
+ label: '@assessment-management:questionnaires.entities.questionnaire.fields.pre-content.title',
229
+ showLabel: true,
230
+ },
231
+ children: [
232
+ {
233
+ type: AXPWidgetsList.Editors.RichText,
234
+ path: 'pre.content',
235
+ mode: 'edit',
236
+ options: {
237
+ placeholder: '@assessment-management:questionnaires.entities.questionnaire.fields.pre-content.placeholder',
238
+ },
239
+ },
240
+ ],
241
+ },
242
+ ],
243
+ },
244
+ ],
245
+ },
246
+ },
247
+ },
248
+ {
249
+ name: 'post',
250
+ title: '@assessment-management:questionnaires.entities.questionnaire.groups.post-questionnaire',
251
+ groupId: 'post-questionnaire',
252
+ options: {
253
+ sort: { enabled: false },
254
+ filter: { advance: { enabled: false }, inline: { enabled: false } },
255
+ },
256
+ schema: {
257
+ dataType: 'object',
258
+ nullable: true,
259
+ defaultValue: { reviewEnabled: false, summaryEnabled: false, showOutcomeResults: false },
260
+ interface: {
261
+ type: AXPWidgetsList.Layouts.GridLayout,
262
+ mode: 'edit',
263
+ options: {
264
+ grid: {
265
+ default: {
266
+ columns: 12,
267
+ gap: '1rem',
268
+ },
269
+ },
270
+ },
271
+ children: [
272
+ {
273
+ type: AXPWidgetsList.Layouts.GridItemLayout,
274
+ mode: 'edit',
275
+ options: { colSpan: 4 },
276
+ children: [
277
+ {
278
+ type: AXPWidgetsList.Layouts.FormField,
279
+ mode: 'edit',
280
+ options: {
281
+ label: '@assessment-management:questionnaires.entities.questionnaire.fields.post-review-enabled.title',
282
+ showLabel: true,
283
+ },
284
+ children: [
285
+ {
286
+ type: AXPWidgetsList.Editors.ToggleSwitch,
287
+ path: 'post.reviewEnabled',
288
+ mode: 'edit',
289
+ options: {
290
+ description: '@assessment-management:questionnaires.entities.questionnaire.fields.post-review-enabled.description',
291
+ },
292
+ },
293
+ ],
294
+ },
295
+ ],
296
+ },
297
+ {
298
+ type: AXPWidgetsList.Layouts.GridItemLayout,
299
+ mode: 'edit',
300
+ options: { colSpan: 4 },
301
+ children: [
302
+ {
303
+ type: AXPWidgetsList.Layouts.FormField,
304
+ mode: 'edit',
305
+ options: {
306
+ label: '@assessment-management:questionnaires.entities.questionnaire.fields.post-summary-enabled.title',
307
+ showLabel: true,
308
+ },
309
+ children: [
310
+ {
311
+ type: AXPWidgetsList.Editors.ToggleSwitch,
312
+ path: 'post.summaryEnabled',
313
+ mode: 'edit',
314
+ options: {
315
+ description: '@assessment-management:questionnaires.entities.questionnaire.fields.post-summary-enabled.description',
316
+ },
317
+ },
318
+ ],
319
+ },
320
+ ],
321
+ },
322
+ {
323
+ type: AXPWidgetsList.Layouts.GridItemLayout,
324
+ mode: 'edit',
325
+ options: { colSpan: 4 },
326
+ children: [
327
+ {
328
+ type: AXPWidgetsList.Layouts.FormField,
329
+ mode: 'edit',
330
+ options: {
331
+ label: '@assessment-management:questionnaires.entities.questionnaire.fields.post-show-outcome-results.title',
332
+ showLabel: true,
333
+ },
334
+ children: [
335
+ {
336
+ type: AXPWidgetsList.Editors.ToggleSwitch,
337
+ path: 'post.showOutcomeResults',
338
+ mode: 'edit',
339
+ options: {
340
+ description: '@assessment-management:questionnaires.entities.questionnaire.fields.post-show-outcome-results.description',
341
+ },
342
+ },
343
+ ],
344
+ },
345
+ ],
346
+ },
347
+ {
348
+ type: AXPWidgetsList.Layouts.GridItemLayout,
349
+ mode: 'edit',
350
+ options: {
351
+ colSpan: 12,
352
+ visible: `{{ context.eval('post.summaryEnabled') === true }}`,
353
+ },
354
+ children: [
355
+ {
356
+ type: AXPWidgetsList.Layouts.FormField,
357
+ mode: 'edit',
358
+ options: {
359
+ label: '@assessment-management:questionnaires.entities.questionnaire.fields.post-summary-content.title',
360
+ showLabel: true,
361
+ },
362
+ children: [
363
+ {
364
+ type: AXPWidgetsList.Editors.RichText,
365
+ path: 'post.summaryContent',
366
+ mode: 'edit',
367
+ options: {
368
+ placeholder: '@assessment-management:questionnaires.entities.questionnaire.fields.post-summary-content.placeholder',
369
+ },
370
+ },
371
+ ],
372
+ },
373
+ ],
374
+ },
375
+ ],
376
+ },
377
+ },
378
+ },
379
+ {
380
+ name: 'display',
381
+ title: '@assessment-management:questionnaires.entities.questionnaire.groups.display',
382
+ groupId: 'display',
383
+ options: {
384
+ sort: { enabled: false },
385
+ filter: { advance: { enabled: false }, inline: { enabled: false } },
386
+ },
387
+ schema: {
388
+ dataType: 'object',
389
+ nullable: true,
390
+ defaultValue: {
391
+ viewMode: 'single-page',
392
+ showProgressBar: true,
393
+ showTimer: false,
394
+ showQuestionNumbers: true,
395
+ validationStrategy: 'step',
396
+ completionMode: 'submit-only',
397
+ },
398
+ interface: {
399
+ type: AXPWidgetsList.Layouts.GridLayout,
400
+ mode: 'edit',
401
+ options: {
402
+ grid: {
403
+ default: {
404
+ columns: 12,
405
+ gap: '1rem',
406
+ },
407
+ },
408
+ },
409
+ children: [
410
+ {
411
+ type: AXPWidgetsList.Layouts.GridItemLayout,
412
+ mode: 'edit',
413
+ options: { colSpan: 6 },
414
+ children: [
415
+ {
416
+ type: AXPWidgetsList.Layouts.FormField,
417
+ mode: 'edit',
418
+ options: {
419
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.view-mode.title',
420
+ showLabel: true,
421
+ },
422
+ children: [
423
+ {
424
+ type: AXPWidgetsList.Editors.SelectBox,
425
+ path: 'display.viewMode',
426
+ mode: 'edit',
427
+ options: {
428
+ valueField: 'id',
429
+ textField: 'title',
430
+ dataSource: [
431
+ {
432
+ id: 'single-page',
433
+ title: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.view-mode.options.single-page',
434
+ },
435
+ {
436
+ id: 'page-per-group',
437
+ title: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.view-mode.options.page-per-group',
438
+ },
439
+ {
440
+ id: 'page-per-question',
441
+ title: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.view-mode.options.page-per-question',
442
+ },
443
+ {
444
+ id: 'side-menu',
445
+ title: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.view-mode.options.side-menu',
446
+ },
447
+ ],
448
+ },
449
+ },
450
+ ],
451
+ },
452
+ ],
453
+ },
454
+ {
455
+ type: AXPWidgetsList.Layouts.GridItemLayout,
456
+ mode: 'edit',
457
+ options: { colSpan: 6 },
458
+ children: [
459
+ {
460
+ type: AXPWidgetsList.Layouts.FormField,
461
+ mode: 'edit',
462
+ options: {
463
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.validation-strategy.title',
464
+ showLabel: true,
465
+ },
466
+ children: [
467
+ {
468
+ type: AXPWidgetsList.Editors.SelectBox,
469
+ path: 'display.validationStrategy',
470
+ mode: 'edit',
471
+ options: {
472
+ valueField: 'id',
473
+ textField: 'title',
474
+ dataSource: [
475
+ {
476
+ id: 'step',
477
+ title: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.validation-strategy.options.step',
478
+ },
479
+ {
480
+ id: 'end',
481
+ title: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.validation-strategy.options.end',
482
+ },
483
+ ],
484
+ },
485
+ },
486
+ ],
487
+ },
488
+ ],
489
+ },
490
+ {
491
+ type: AXPWidgetsList.Layouts.GridItemLayout,
492
+ mode: 'edit',
493
+ options: { colSpan: 4 },
494
+ children: [
495
+ {
496
+ type: AXPWidgetsList.Layouts.FormField,
497
+ mode: 'edit',
498
+ options: {
499
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.show-progress-bar.title',
500
+ showLabel: true,
501
+ },
502
+ children: [
503
+ {
504
+ type: AXPWidgetsList.Editors.ToggleSwitch,
505
+ path: 'display.showProgressBar',
506
+ mode: 'edit',
507
+ },
508
+ ],
509
+ },
510
+ ],
511
+ },
512
+ {
513
+ type: AXPWidgetsList.Layouts.GridItemLayout,
514
+ mode: 'edit',
515
+ options: { colSpan: 4 },
516
+ children: [
517
+ {
518
+ type: AXPWidgetsList.Layouts.FormField,
519
+ mode: 'edit',
520
+ options: {
521
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.show-timer.title',
522
+ showLabel: true,
523
+ },
524
+ children: [
525
+ {
526
+ type: AXPWidgetsList.Editors.ToggleSwitch,
527
+ path: 'display.showTimer',
528
+ mode: 'edit',
529
+ },
530
+ ],
531
+ },
532
+ ],
533
+ },
534
+ {
535
+ type: AXPWidgetsList.Layouts.GridItemLayout,
536
+ mode: 'edit',
537
+ options: { colSpan: 4 },
538
+ children: [
539
+ {
540
+ type: AXPWidgetsList.Layouts.FormField,
541
+ mode: 'edit',
542
+ options: {
543
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.show-question-numbers.title',
544
+ showLabel: true,
545
+ },
546
+ children: [
547
+ {
548
+ type: AXPWidgetsList.Editors.ToggleSwitch,
549
+ path: 'display.showQuestionNumbers',
550
+ mode: 'edit',
551
+ },
552
+ ],
553
+ },
554
+ ],
555
+ },
556
+ {
557
+ type: AXPWidgetsList.Layouts.GridItemLayout,
558
+ mode: 'edit',
559
+ options: { colSpan: 6 },
560
+ children: [
561
+ {
562
+ type: AXPWidgetsList.Layouts.FormField,
563
+ mode: 'edit',
564
+ options: {
565
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.completion-mode.title',
566
+ showLabel: true,
567
+ },
568
+ children: [
569
+ {
570
+ type: AXPWidgetsList.Editors.SelectBox,
571
+ path: 'display.completionMode',
572
+ mode: 'edit',
573
+ options: {
574
+ valueField: 'id',
575
+ textField: 'title',
576
+ dataSource: [
577
+ {
578
+ id: 'submit-only',
579
+ title: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.completion-mode.options.submit-only',
580
+ },
581
+ {
582
+ id: 'save-and-continue',
583
+ title: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.completion-mode.options.save-and-continue',
584
+ },
585
+ ],
586
+ },
587
+ },
588
+ ],
589
+ },
590
+ ],
591
+ },
592
+ ],
593
+ },
594
+ },
595
+ },
596
+ {
597
+ name: 'printTemplateId',
598
+ title: '@assessment-management:questionnaires.entities.questionnaire.fields.print-template-id.title',
599
+ groupId: 'print',
600
+ options: {
601
+ sort: { enabled: false },
602
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
603
+ },
604
+ schema: {
605
+ dataType: 'string',
606
+ nullable: true,
607
+ defaultValue: AXM_TEXT_TEMPLATE_IDS.questionnairePrint,
608
+ interface: {
609
+ type: AXPWidgetsList.Editors.LookupBox,
610
+ options: {
611
+ entity: 'ContentManagement.TextTemplate',
612
+ textField: 'title',
613
+ valueField: 'id',
614
+ look: 'select',
615
+ columns: ['title', 'kind'],
616
+ filter: {
617
+ logic: 'and',
618
+ filters: [
619
+ {
620
+ field: 'kind',
621
+ operator: { type: 'equal' },
622
+ value: AXM_TEXT_TEMPLATE_KIND.Content,
623
+ },
624
+ ],
625
+ },
626
+ },
627
+ },
628
+ },
629
+ },
630
+ {
631
+ name: 'print',
632
+ title: '@assessment-management:questionnaires.entities.questionnaire.groups.print',
633
+ groupId: 'print',
634
+ options: {
635
+ sort: { enabled: false },
636
+ filter: { advance: { enabled: false }, inline: { enabled: false } },
637
+ },
638
+ schema: {
639
+ dataType: 'object',
640
+ nullable: true,
641
+ defaultValue: {
642
+ paperSize: 'A4',
643
+ orientation: 'portrait',
644
+ watermark: '',
645
+ showQuestionNumbers: true,
646
+ showWelcomeScreen: false,
647
+ showSummaryAfterSubmit: false,
648
+ showOutcomeResults: false,
649
+ showUnansweredQuestions: true,
650
+ showComments: true,
651
+ showAttachments: true,
652
+ showHints: true,
653
+ showNotes: true,
654
+ },
655
+ interface: {
656
+ type: AXPWidgetsList.Layouts.GridLayout,
657
+ mode: 'edit',
658
+ options: {
659
+ grid: {
660
+ default: {
661
+ columns: 12,
662
+ gap: '1rem',
663
+ },
664
+ },
665
+ },
666
+ children: [
667
+ {
668
+ type: AXPWidgetsList.Layouts.GridItemLayout,
669
+ mode: 'edit',
670
+ options: { colSpan: 6 },
671
+ children: [
672
+ {
673
+ type: AXPWidgetsList.Layouts.FormField,
674
+ mode: 'edit',
675
+ options: {
676
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-paper-size.title',
677
+ showLabel: true,
678
+ },
679
+ children: [
680
+ {
681
+ type: AXPWidgetsList.Editors.SelectBox,
682
+ path: 'print.paperSize',
683
+ mode: 'edit',
684
+ options: {
685
+ valueField: 'id',
686
+ textField: 'title',
687
+ dataSource: [
688
+ {
689
+ id: 'A4',
690
+ title: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-paper-size.options.a4',
691
+ },
692
+ {
693
+ id: 'Letter',
694
+ title: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-paper-size.options.letter',
695
+ },
696
+ {
697
+ id: 'Legal',
698
+ title: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-paper-size.options.legal',
699
+ },
700
+ ],
701
+ },
702
+ },
703
+ ],
704
+ },
705
+ ],
706
+ },
707
+ {
708
+ type: AXPWidgetsList.Layouts.GridItemLayout,
709
+ mode: 'edit',
710
+ options: { colSpan: 6 },
711
+ children: [
712
+ {
713
+ type: AXPWidgetsList.Layouts.FormField,
714
+ mode: 'edit',
715
+ options: {
716
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-orientation.title',
717
+ showLabel: true,
718
+ },
719
+ children: [
720
+ {
721
+ type: AXPWidgetsList.Editors.SelectBox,
722
+ path: 'print.orientation',
723
+ mode: 'edit',
724
+ options: {
725
+ valueField: 'id',
726
+ textField: 'title',
727
+ dataSource: [
728
+ {
729
+ id: 'portrait',
730
+ title: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-orientation.options.portrait',
731
+ },
732
+ {
733
+ id: 'landscape',
734
+ title: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-orientation.options.landscape',
735
+ },
736
+ ],
737
+ },
738
+ },
739
+ ],
740
+ },
741
+ ],
742
+ },
743
+ {
744
+ type: AXPWidgetsList.Layouts.GridItemLayout,
745
+ mode: 'edit',
746
+ options: { colSpan: 12 },
747
+ children: [
748
+ {
749
+ type: AXPWidgetsList.Layouts.FormField,
750
+ mode: 'edit',
751
+ options: {
752
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-watermark.title',
753
+ showLabel: true,
754
+ },
755
+ children: [
756
+ {
757
+ type: AXPWidgetsList.Editors.TextBox,
758
+ path: 'print.watermark',
759
+ mode: 'edit',
760
+ options: {
761
+ placeholder: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-watermark.placeholder',
762
+ },
763
+ },
764
+ ],
765
+ },
766
+ ],
767
+ },
768
+ {
769
+ type: AXPWidgetsList.Layouts.GridItemLayout,
770
+ mode: 'edit',
771
+ options: { colSpan: 4 },
772
+ children: [
773
+ {
774
+ type: AXPWidgetsList.Layouts.FormField,
775
+ mode: 'edit',
776
+ options: {
777
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-show-welcome-screen.title',
778
+ showLabel: true,
779
+ },
780
+ children: [
781
+ {
782
+ type: AXPWidgetsList.Editors.ToggleSwitch,
783
+ path: 'print.showWelcomeScreen',
784
+ mode: 'edit',
785
+ },
786
+ ],
787
+ },
788
+ ],
789
+ },
790
+ {
791
+ type: AXPWidgetsList.Layouts.GridItemLayout,
792
+ mode: 'edit',
793
+ options: { colSpan: 4 },
794
+ children: [
795
+ {
796
+ type: AXPWidgetsList.Layouts.FormField,
797
+ mode: 'edit',
798
+ options: {
799
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-show-summary-after-submit.title',
800
+ showLabel: true,
801
+ },
802
+ children: [
803
+ {
804
+ type: AXPWidgetsList.Editors.ToggleSwitch,
805
+ path: 'print.showSummaryAfterSubmit',
806
+ mode: 'edit',
807
+ },
808
+ ],
809
+ },
810
+ ],
811
+ },
812
+ {
813
+ type: AXPWidgetsList.Layouts.GridItemLayout,
814
+ mode: 'edit',
815
+ options: { colSpan: 4 },
816
+ children: [
817
+ {
818
+ type: AXPWidgetsList.Layouts.FormField,
819
+ mode: 'edit',
820
+ options: {
821
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-show-outcome-results.title',
822
+ showLabel: true,
823
+ },
824
+ children: [
825
+ {
826
+ type: AXPWidgetsList.Editors.ToggleSwitch,
827
+ path: 'print.showOutcomeResults',
828
+ mode: 'edit',
829
+ },
830
+ ],
831
+ },
832
+ ],
833
+ },
834
+ {
835
+ type: AXPWidgetsList.Layouts.GridItemLayout,
836
+ mode: 'edit',
837
+ options: { colSpan: 4 },
838
+ children: [
839
+ {
840
+ type: AXPWidgetsList.Layouts.FormField,
841
+ mode: 'edit',
842
+ options: {
843
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.show-question-numbers.title',
844
+ showLabel: true,
845
+ },
846
+ children: [
847
+ {
848
+ type: AXPWidgetsList.Editors.ToggleSwitch,
849
+ path: 'print.showQuestionNumbers',
850
+ mode: 'edit',
851
+ },
852
+ ],
853
+ },
854
+ ],
855
+ },
856
+ {
857
+ type: AXPWidgetsList.Layouts.GridItemLayout,
858
+ mode: 'edit',
859
+ options: { colSpan: 4 },
860
+ children: [
861
+ {
862
+ type: AXPWidgetsList.Layouts.FormField,
863
+ mode: 'edit',
864
+ options: {
865
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-show-unanswered-questions.title',
866
+ showLabel: true,
867
+ },
868
+ children: [
869
+ {
870
+ type: AXPWidgetsList.Editors.ToggleSwitch,
871
+ path: 'print.showUnansweredQuestions',
872
+ mode: 'edit',
873
+ },
874
+ ],
875
+ },
876
+ ],
877
+ },
878
+ {
879
+ type: AXPWidgetsList.Layouts.GridItemLayout,
880
+ mode: 'edit',
881
+ options: { colSpan: 4 },
882
+ children: [
883
+ {
884
+ type: AXPWidgetsList.Layouts.FormField,
885
+ mode: 'edit',
886
+ options: {
887
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-show-comments.title',
888
+ showLabel: true,
889
+ },
890
+ children: [
891
+ {
892
+ type: AXPWidgetsList.Editors.ToggleSwitch,
893
+ path: 'print.showComments',
894
+ mode: 'edit',
895
+ },
896
+ ],
897
+ },
898
+ ],
899
+ },
900
+ {
901
+ type: AXPWidgetsList.Layouts.GridItemLayout,
902
+ mode: 'edit',
903
+ options: { colSpan: 4 },
904
+ children: [
905
+ {
906
+ type: AXPWidgetsList.Layouts.FormField,
907
+ mode: 'edit',
908
+ options: {
909
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-show-attachments.title',
910
+ showLabel: true,
911
+ },
912
+ children: [
913
+ {
914
+ type: AXPWidgetsList.Editors.ToggleSwitch,
915
+ path: 'print.showAttachments',
916
+ mode: 'edit',
917
+ },
918
+ ],
919
+ },
920
+ ],
921
+ },
922
+ {
923
+ type: AXPWidgetsList.Layouts.GridItemLayout,
924
+ mode: 'edit',
925
+ options: { colSpan: 4 },
926
+ children: [
927
+ {
928
+ type: AXPWidgetsList.Layouts.FormField,
929
+ mode: 'edit',
930
+ options: {
931
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-show-hints.title',
932
+ showLabel: true,
933
+ },
934
+ children: [
935
+ {
936
+ type: AXPWidgetsList.Editors.ToggleSwitch,
937
+ path: 'print.showHints',
938
+ mode: 'edit',
939
+ },
940
+ ],
941
+ },
942
+ ],
943
+ },
944
+ {
945
+ type: AXPWidgetsList.Layouts.GridItemLayout,
946
+ mode: 'edit',
947
+ options: { colSpan: 4 },
948
+ children: [
949
+ {
950
+ type: AXPWidgetsList.Layouts.FormField,
951
+ mode: 'edit',
952
+ options: {
953
+ label: '@assessment-management:questionnaires.components.questionnaire-viewer.fields.print-show-notes.title',
954
+ showLabel: true,
955
+ },
956
+ children: [
957
+ {
958
+ type: AXPWidgetsList.Editors.ToggleSwitch,
959
+ path: 'print.showNotes',
960
+ mode: 'edit',
961
+ },
962
+ ],
963
+ },
964
+ ],
965
+ },
966
+ ],
967
+ },
968
+ },
969
+ },
970
+ ],
971
+ columns: [{ name: 'title' }, { name: 'description' }, { name: 'type' }],
972
+ interfaces: {
973
+ master: {
974
+ create: {
975
+ sections: [{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } }],
976
+ properties: [
977
+ { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
978
+ { name: 'type', layout: { positions: { lg: { colSpan: 12 } } } },
979
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
980
+ ],
981
+ },
982
+ update: {
983
+ sections: [
984
+ { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
985
+ { id: 'pre-questionnaire', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },
986
+ { id: 'post-questionnaire', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },
987
+ { id: 'display', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },
988
+ { id: 'print', order: 5, layout: { positions: { lg: { colSpan: 12 } } } },
989
+ ],
990
+ properties: [
991
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
992
+ { name: 'type', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
993
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
994
+ { name: 'pre', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 4 } } } },
995
+ { name: 'post', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 5 } } } },
996
+ { name: 'display', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 6 } } } },
997
+ { name: 'printTemplateId', layout: { positions: { lg: { colSpan: 12, order: 7 } } } },
998
+ { name: 'print', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },
999
+ ],
1000
+ },
1001
+ single: {
1002
+ title: '{{title}}',
1003
+ sections: [
1004
+ { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
1005
+ { id: 'pre-questionnaire', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },
1006
+ { id: 'post-questionnaire', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },
1007
+ { id: 'display', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },
1008
+ { id: 'print', order: 5, layout: { positions: { lg: { colSpan: 12 } } } },
1009
+ ],
1010
+ properties: [
1011
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
1012
+ { name: 'type', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
1013
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
1014
+ { name: 'pre', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 4 } } } },
1015
+ { name: 'post', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 5 } } } },
1016
+ { name: 'display', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 6 } } } },
1017
+ { name: 'printTemplateId', layout: { positions: { lg: { colSpan: 12, order: 7 } } } },
1018
+ { name: 'print', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },
1019
+ ],
1020
+ actions: [
1021
+ ...entityMasterRecordActions(),
1022
+ {
1023
+ title: '@assessment-management:questionnaires.entities.questionnaire.actions.preview.title',
1024
+ command: {
1025
+ name: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:Preview`,
1026
+ options: {
1027
+ questionnaireId: '{{ context.eval("id") }}',
1028
+ questionnaireTitle: '{{ context.eval("title", { pipes: ["translate"] }) }}',
1029
+ },
1030
+ },
1031
+ priority: 'primary',
1032
+ type: 'action',
1033
+ icon: 'fa-light fa-eye',
1034
+ scope: AXPEntityCommandScope.Individual,
1035
+ },
1036
+ ],
1037
+ },
1038
+ list: {
1039
+ actions: [
1040
+ ...entityMasterCrudActions(),
1041
+ {
1042
+ title: '@assessment-management:questionnaires.entities.questionnaire.actions.preview.title',
1043
+ command: {
1044
+ name: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:Preview`,
1045
+ options: {
1046
+ questionnaireId: '{{ context.eval("id") }}',
1047
+ questionnaireTitle: '{{ context.eval("title", { pipes: ["translate"] }) }}',
1048
+ },
1049
+ },
1050
+ priority: 'primary',
1051
+ type: 'action',
1052
+ icon: 'fa-light fa-eye',
1053
+ scope: AXPEntityCommandScope.Individual,
1054
+ },
1055
+ ],
1056
+ views: [
1057
+ createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] }),
1058
+ createQueryView('questionnaire', '@assessment-management:questionnaires.entities.questionnaire.fields.type.options.questionnaire', true, {
1059
+ conditions: [{ name: 'type', operator: { type: 'equal' }, value: 'questionnaire' }],
1060
+ }),
1061
+ createQueryView('survey', '@assessment-management:questionnaires.entities.questionnaire.fields.type.options.survey', true, {
1062
+ conditions: [{ name: 'type', operator: { type: 'equal' }, value: 'survey' }],
1063
+ }),
1064
+ createQueryView('checklist', '@assessment-management:questionnaires.entities.questionnaire.fields.type.options.checklist', true, {
1065
+ conditions: [{ name: 'type', operator: { type: 'equal' }, value: 'checklist' }],
1066
+ }),
1067
+ createQueryView('test', '@assessment-management:questionnaires.entities.questionnaire.fields.type.options.test', true, {
1068
+ conditions: [{ name: 'type', operator: { type: 'equal' }, value: 'test' }],
1069
+ }),
1070
+ createQueryView('evaluation', '@assessment-management:questionnaires.entities.questionnaire.fields.type.options.evaluation', true, {
1071
+ conditions: [{ name: 'type', operator: { type: 'equal' }, value: 'evaluation' }],
1072
+ }),
1073
+ ],
1074
+ },
1075
+ },
1076
+ },
1077
+ };
1078
+ return entityDef;
1079
+ }
1080
+ //#endregion
1081
+
1082
+ export { factoryQuestionnaire };
1083
+ //# sourceMappingURL=acorex-platform-module-assessment-management-client-contracts-entity-catalog-questionnaire.entity-C4hxiPTX.mjs.map