@acorex/modules 21.0.0-next.59 → 21.0.0-next.64
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/assessment-management/README.md +4 -4
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-o8aFazwA.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-DqmJVJ0z.mjs} +3599 -373
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-DqmJVJ0z.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-yrc_Yybq.mjs → acorex-modules-assessment-management-assessment-case.entity-DhVwPz0T.mjs} +45 -29
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-DhVwPz0T.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-Cwf30iuu.mjs → acorex-modules-assessment-management-assessment-session.entity-BvV2Qgw1.mjs} +19 -3
- package/fesm2022/acorex-modules-assessment-management-assessment-session.entity-BvV2Qgw1.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-CJieLR5g.mjs → acorex-modules-assessment-management-fill-assessment-session.command-4fkaeAG-.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-4fkaeAG-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-D0-FB1HH.mjs → acorex-modules-assessment-management-preview-question.command-6IGOdVVZ.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-preview-question.command-6IGOdVVZ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-wqPNgv7q.mjs → acorex-modules-assessment-management-preview-questionnaire.command-CRDBe_BS.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-wqPNgv7q.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-CRDBe_BS.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DYyUhSWd.mjs → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-B2ES-zcL.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-B2ES-zcL.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-DUf2ceKY.mjs → acorex-modules-assessment-management-question-bank-item.entity-Cw2WCdYK.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-DUf2ceKY.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-Cw2WCdYK.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-Cy5ElBmU.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-D9I3S-ZT.mjs} +125 -124
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-D9I3S-ZT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-RWSkzNbA.mjs → acorex-modules-assessment-management-questionnaire.entity-D9nHUmQB.mjs} +12 -36
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-D9nHUmQB.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-BOeO3Dit.mjs +350 -0
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-BOeO3Dit.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/acorex-modules-common.mjs +1 -8
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-BWezAea1.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-uRz1c5Km.mjs} +20 -20
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-BWezAea1.mjs.map → acorex-modules-human-capital-management-acorex-modules-human-capital-management-uRz1c5Km.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-Bh_Bbq5-.mjs → acorex-modules-human-capital-management-approve-leave-request.command-23klKnTy.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-Bh_Bbq5-.mjs.map → acorex-modules-human-capital-management-approve-leave-request.command-23klKnTy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-BpDdDG9i.mjs → acorex-modules-human-capital-management-assign-position-assignment.command-BJ8xUiR2.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-BpDdDG9i.mjs.map → acorex-modules-human-capital-management-assign-position-assignment.command-BJ8xUiR2.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-CjtKaKFw.mjs → acorex-modules-human-capital-management-cancel-leave-request.command-B3u1gXWI.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-CjtKaKFw.mjs.map → acorex-modules-human-capital-management-cancel-leave-request.command-B3u1gXWI.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-Cx_oY2aK.mjs → acorex-modules-human-capital-management-employee.entity-uhwOOw_y.mjs} +11 -3
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-uhwOOw_y.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-B20Taa5x.mjs → acorex-modules-human-capital-management-employment-type.entity-BQe82rsr.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-B20Taa5x.mjs.map → acorex-modules-human-capital-management-employment-type.entity-BQe82rsr.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-BO8QXpZE.mjs → acorex-modules-human-capital-management-leave-request.entity-CE4hs4C8.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-BO8QXpZE.mjs.map → acorex-modules-human-capital-management-leave-request.entity-CE4hs4C8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-CQwSWqSh.mjs → acorex-modules-human-capital-management-leave-type.entity-DJ4EEUKg.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-CQwSWqSh.mjs.map → acorex-modules-human-capital-management-leave-type.entity-DJ4EEUKg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-lifecycle-event-type.entity-BPWJrvbN.mjs → acorex-modules-human-capital-management-lifecycle-event-type.entity-CB2hlyOP.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-lifecycle-event-type.entity-BPWJrvbN.mjs.map → acorex-modules-human-capital-management-lifecycle-event-type.entity-CB2hlyOP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-lifecycle-event.entity-ZZuPu9KQ.mjs → acorex-modules-human-capital-management-lifecycle-event.entity-DWonFZpU.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-lifecycle-event.entity-ZZuPu9KQ.mjs.map → acorex-modules-human-capital-management-lifecycle-event.entity-DWonFZpU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-BN1y0qhi.mjs → acorex-modules-human-capital-management-position-assignment.entity-o8PjggiT.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-BN1y0qhi.mjs.map → acorex-modules-human-capital-management-position-assignment.entity-o8PjggiT.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-LczqOHP-.mjs → acorex-modules-human-capital-management-reject-leave-request.command-B6sr7oey.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-LczqOHP-.mjs.map → acorex-modules-human-capital-management-reject-leave-request.command-B6sr7oey.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-Dm8YacDI.mjs → acorex-modules-human-capital-management-revoke-position-assignment.command-aH7qTRnr.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-Dm8YacDI.mjs.map → acorex-modules-human-capital-management-revoke-position-assignment.command-aH7qTRnr.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-start-lifecycle-event-flow.command-DPwuyFz2.mjs → acorex-modules-human-capital-management-start-lifecycle-event-flow.command-B-VsXS4c.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-start-lifecycle-event-flow.command-DPwuyFz2.mjs.map → acorex-modules-human-capital-management-start-lifecycle-event-flow.command-B-VsXS4c.mjs.map} +1 -1
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +1 -1
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-acorex-modules-task-management--mdNdYIs.mjs → acorex-modules-task-management-acorex-modules-task-management-DAh3IByo.mjs} +37 -19
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-DAh3IByo.mjs.map +1 -0
- package/fesm2022/{acorex-modules-task-management-task-board.page-BIZ1qH7m.mjs → acorex-modules-task-management-task-board.page-C2hB9JPM.mjs} +21 -12
- package/fesm2022/acorex-modules-task-management-task-board.page-C2hB9JPM.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +1 -1
- package/package.json +2 -2
- package/types/acorex-modules-assessment-management.d.ts +391 -271
- package/types/acorex-modules-common.d.ts +1 -0
- package/types/acorex-modules-task-management.d.ts +14 -1
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-o8aFazwA.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-yrc_Yybq.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-session-answers-view.util-BUQa_TSY.mjs +0 -47
- package/fesm2022/acorex-modules-assessment-management-assessment-session-answers-view.util-BUQa_TSY.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-session.entity-Cwf30iuu.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-CJieLR5g.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-index-D8KjfHAH.mjs +0 -1509
- package/fesm2022/acorex-modules-assessment-management-index-D8KjfHAH.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-preview-question.command-D0-FB1HH.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DYyUhSWd.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-calculation.entity-CYF0k42_.mjs +0 -236
- package/fesm2022/acorex-modules-assessment-management-questionnaire-calculation.entity-CYF0k42_.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-Cy5ElBmU.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-RWSkzNbA.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-save-questionnaire-questions.command-koGmUbNE.mjs +0 -61
- package/fesm2022/acorex-modules-assessment-management-save-questionnaire-questions.command-koGmUbNE.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-view-case-last-session-answers.command-NTuDdoYk.mjs +0 -157
- package/fesm2022/acorex-modules-assessment-management-view-case-last-session-answers.command-NTuDdoYk.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-0btGV66_.mjs +0 -172
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-0btGV66_.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-Cx_oY2aK.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management--mdNdYIs.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-BIZ1qH7m.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-assessment-management-question-bank-item.entity-DUf2ceKY.mjs","sources":["../../../../libs/modules/assessment-management/src/lib/entities/question-bank-item/question-bank-item.entity.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPWidgetsList } from '@acorex/modules/common';\nimport {\n AXPEntity,\n AXPEntityAction,\n AXPEntityCommandScope,\n createAllQueryView,\n} from '@acorex/platform/common';\nimport { entityMasterCrudActions, entityMasterRecordActions } from '@acorex/platform/layout/entity';\nimport { Injector } from '@angular/core';\nimport { RootConfig } from '../../const';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function factory(_injector: Injector): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.questionBankItem.name,\n title: RootConfig.entities.questionBankItem.title,\n icon: RootConfig.entities.questionBankItem.icon,\n plugins: [\n { name: 'category' },\n { name: 'tags' },\n { name: 'history' },\n { name: 'lock' },\n { name: 'compare' },\n { name: 'archive' },\n { name: 'clone' },\n { name: 'attachments', options: { display: 'page' } },\n { name: 'unique-fields', options: { fields: ['name'], scope: 'global' } },\n ],\n formats: {\n individual: RootConfig.entities.questionBankItem.title,\n plural: RootConfig.entities.questionBankItem.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n {\n id: 'question-content',\n title: '@assessment-management:question-bank.entities.question-bank-item.groups.content',\n },\n {\n id: 'presentation',\n title: '@assessment-management:question-bank.entities.question-bank-item.groups.presentation',\n },\n {\n id: 'question-properties',\n title: '@assessment-management:question-bank.entities.question-bank-item.groups.settings',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'title',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.title.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@assessment-management:question-bank.entities.question-bank-item.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'name',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.name.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@assessment-management:question-bank.entities.question-bank-item.fields.name.placeholder',\n },\n },\n },\n validations: [\n { rule: 'required' },\n { rule: 'variable-name' },\n ],\n },\n {\n name: 'question',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.question.title',\n groupId: 'question-content',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.RichText,\n options: {\n height: 160,\n placeholder: '@assessment-management:question-bank.entities.question-bank-item.fields.question.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'note',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.note.title',\n groupId: 'question-content',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.RichText,\n options: {\n height: 120,\n placeholder: '@assessment-management:question-bank.entities.question-bank-item.fields.note.placeholder',\n },\n },\n },\n },\n {\n name: 'interface',\n title: `@assessment-management:question-bank.entities.question-bank-item.fields.interface.title`,\n groupId: 'presentation',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'object',\n interface: {\n type: 'question-bank-interface-editor',\n options: {\n fieldName: \"{{ context.eval('title') }}\",\n label: '@general:terms.common.widget',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'difficulty',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.difficulty.title',\n groupId: 'question-properties',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n dataSource: [\n {\n id: 'easy',\n title:\n '@assessment-management:question-bank.entities.question-bank-item.fields.difficulty.options.easy',\n },\n {\n id: 'medium',\n title:\n '@assessment-management:question-bank.entities.question-bank-item.fields.difficulty.options.medium',\n },\n {\n id: 'hard',\n title:\n '@assessment-management:question-bank.entities.question-bank-item.fields.difficulty.options.hard',\n },\n ],\n },\n },\n },\n },\n {\n name: 'estimatedTime',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.estimated-time.title',\n groupId: 'question-properties',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 0,\n placeholder: 'Estimated time in seconds',\n },\n },\n },\n },\n {\n name: 'hint',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.hint.title',\n groupId: 'question-properties',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'object',\n nullable: true,\n defaultValue: { mode: 'off' },\n interface: {\n type: AXPWidgetsList.Layouts.GridLayout,\n mode: 'edit',\n options: {\n grid: {\n default: {\n columns: 12,\n gap: '1rem',\n },\n },\n },\n children: [\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit',\n options: {\n colSpan: 12,\n },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit',\n options: {\n label: '@assessment-management:question-bank.entities.question-bank-item.fields.hint-mode.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.SelectBox,\n path: 'hint.mode',\n mode: 'edit',\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: [\n {\n id: 'off',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.hint-mode.options.off',\n },\n { id: 'info', title: '@assessment-management:question-bank.entities.question-bank-item.fields.hint-mode.options.info' },\n { id: 'warning', title: '@assessment-management:question-bank.entities.question-bank-item.fields.hint-mode.options.warning' },\n { id: 'danger', title: '@assessment-management:question-bank.entities.question-bank-item.fields.hint-mode.options.danger' },\n { id: 'success', title: '@assessment-management:question-bank.entities.question-bank-item.fields.hint-mode.options.success' },\n { id: 'neutral', title: '@assessment-management:question-bank.entities.question-bank-item.fields.hint-mode.options.neutral' },\n ],\n },\n },\n ],\n },\n ],\n },\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit',\n options: {\n colSpan: 12,\n visible: `{{ context.eval('hint.mode') && (context.eval('hint.mode').id || context.eval('hint.mode')) != 'off' }}`,\n },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit',\n options: {\n label: '@assessment-management:question-bank.entities.question-bank-item.fields.hint-content.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.RichText,\n path: 'hint.content',\n mode: 'edit',\n options: { height: 120 },\n },\n ],\n },\n ],\n },\n ],\n },\n },\n },\n {\n name: 'comment',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.comment.title',\n groupId: 'question-properties',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'object',\n nullable: true,\n defaultValue: { enabled: false, required: false },\n interface: {\n type: AXPWidgetsList.Layouts.GridLayout,\n mode: 'edit',\n options: {\n grid: {\n default: {\n columns: 12,\n gap: '1rem',\n },\n },\n },\n children: [\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit',\n options: {\n colSpan: 3,\n },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit',\n options: {\n label: '@assessment-management:question-bank.entities.question-bank-item.fields.comment.enabled',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n path: 'comment.enabled',\n mode: 'edit',\n },\n ],\n },\n ],\n },\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit',\n options: {\n colSpan: 3,\n visible: `{{ context.eval('comment.enabled') === true }}`,\n },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit',\n options: {\n label: '@assessment-management:question-bank.entities.question-bank-item.fields.comment.required',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n path: 'comment.required',\n mode: 'edit',\n },\n ],\n },\n ],\n },\n ],\n },\n },\n },\n ],\n columns: [\n { name: 'title' },\n { name: 'name' },\n { name: 'difficulty' },\n { name: 'estimatedTime' },\n { name: 'interface' },\n ],\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'question-content', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'presentation', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'question-properties', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'name', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'question', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'note', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'difficulty', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'estimatedTime', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'hint', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'comment', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'interface', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'question-content', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'presentation', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'question-properties', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'name', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'question', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'note', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'difficulty', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'estimatedTime', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'hint', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'comment', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'interface', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'question-content', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'presentation', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'question-properties', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'name', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'question', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'note', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'difficulty', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'estimatedTime', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'hint', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'comment', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'interface', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [\n ...entityMasterRecordActions(),\n {\n title: '@assessment-management:question-bank.entities.question-bank-item.actions.preview.title',\n command: {\n name: `${RootConfig.module.name}.${RootConfig.entities.questionBankItem.name}:Preview`,\n options: {\n id: '{{ context.eval(\"id\") }}',\n },\n },\n priority: 'primary',\n type: 'action',\n icon: 'fa-light fa-eye',\n scope: AXPEntityCommandScope.Individual,\n } as AXPEntityAction,\n ],\n },\n list: {\n actions: [\n ...entityMasterCrudActions(),\n {\n title: '@assessment-management:question-bank.entities.question-bank-item.actions.preview.title',\n command: {\n name: `${RootConfig.module.name}.${RootConfig.entities.questionBankItem.name}:Preview`,\n options: {\n id: '{{ context.eval(\"id\") }}',\n },\n },\n priority: 'primary',\n type: 'action',\n icon: 'fa-light fa-eye',\n scope: AXPEntityCommandScope.Individual,\n } as AXPEntityAction,\n ],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AAaA;AAEA;AAEO,eAAe,OAAO,CAAC,SAAmB,EAAA;AAC/C,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI;AAC/C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,KAAK;AACjD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI;AAC/C,QAAA,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,UAAU,EAAE;YACpB,EAAE,IAAI,EAAE,MAAM,EAAE;YAChB,EAAE,IAAI,EAAE,SAAS,EAAE;YACnB,EAAE,IAAI,EAAE,MAAM,EAAE;YAChB,EAAE,IAAI,EAAE,SAAS,EAAE;YACnB,EAAE,IAAI,EAAE,SAAS,EAAE;YACnB,EAAE,IAAI,EAAE,OAAO,EAAE;YACjB,EAAE,IAAI,EAAE,aA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,CAAC,UAAU;AACrB,yBAAA;AACrB,qBAAA;oBACD,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACxE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-modules-assessment-management-question-bank-item.entity-Cw2WCdYK.mjs","sources":["../../../../libs/modules/assessment-management/src/lib/entities/question-bank-item/question-bank-item.entity.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPWidgetsList } from '@acorex/modules/common';\nimport {\n AXPEntity,\n AXPEntityAction,\n AXPEntityCommandScope,\n createAllQueryView,\n} from '@acorex/platform/common';\nimport { entityMasterCrudActions, entityMasterRecordActions } from '@acorex/platform/layout/entity';\nimport { Injector } from '@angular/core';\nimport { RootConfig } from '../../const';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function factory(_injector: Injector): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.questionBankItem.name,\n title: RootConfig.entities.questionBankItem.title,\n icon: RootConfig.entities.questionBankItem.icon,\n plugins: [\n { name: 'category' },\n { name: 'tags' },\n { name: 'history' },\n { name: 'lock' },\n { name: 'compare' },\n { name: 'archive' },\n { name: 'clone' },\n { name: 'attachments', options: { display: 'page' } },\n { name: 'unique-fields', options: { fields: ['name'], scope: 'global' } },\n ],\n formats: {\n individual: RootConfig.entities.questionBankItem.title,\n plural: RootConfig.entities.questionBankItem.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n {\n id: 'question-content',\n title: '@assessment-management:question-bank.entities.question-bank-item.groups.content',\n },\n {\n id: 'presentation',\n title: '@assessment-management:question-bank.entities.question-bank-item.groups.presentation',\n },\n {\n id: 'question-properties',\n title: '@assessment-management:question-bank.entities.question-bank-item.groups.settings',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'title',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.title.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@assessment-management:question-bank.entities.question-bank-item.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'name',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.name.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@assessment-management:question-bank.entities.question-bank-item.fields.name.placeholder',\n },\n },\n },\n validations: [\n { rule: 'required' },\n { rule: 'variable-name' },\n ],\n },\n {\n name: 'question',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.question.title',\n groupId: 'question-content',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.RichText,\n options: {\n height: 160,\n placeholder: '@assessment-management:question-bank.entities.question-bank-item.fields.question.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'note',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.note.title',\n groupId: 'question-content',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.RichText,\n options: {\n height: 120,\n placeholder: '@assessment-management:question-bank.entities.question-bank-item.fields.note.placeholder',\n },\n },\n },\n },\n {\n name: 'interface',\n title: `@assessment-management:question-bank.entities.question-bank-item.fields.interface.title`,\n groupId: 'presentation',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'object',\n interface: {\n type: 'question-bank-interface-editor',\n options: {\n fieldName: \"{{ context.eval('title') }}\",\n label: '@general:terms.common.widget',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'difficulty',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.difficulty.title',\n groupId: 'question-properties',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n dataSource: [\n {\n id: 'easy',\n title:\n '@assessment-management:question-bank.entities.question-bank-item.fields.difficulty.options.easy',\n },\n {\n id: 'medium',\n title:\n '@assessment-management:question-bank.entities.question-bank-item.fields.difficulty.options.medium',\n },\n {\n id: 'hard',\n title:\n '@assessment-management:question-bank.entities.question-bank-item.fields.difficulty.options.hard',\n },\n ],\n },\n },\n },\n },\n {\n name: 'estimatedTime',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.estimated-time.title',\n groupId: 'question-properties',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 0,\n placeholder: 'Estimated time in seconds',\n },\n },\n },\n },\n {\n name: 'hint',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.hint.title',\n groupId: 'question-properties',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'object',\n nullable: true,\n defaultValue: { mode: 'off' },\n interface: {\n type: AXPWidgetsList.Layouts.GridLayout,\n mode: 'edit',\n options: {\n grid: {\n default: {\n columns: 12,\n gap: '1rem',\n },\n },\n },\n children: [\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit',\n options: {\n colSpan: 12,\n },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit',\n options: {\n label: '@assessment-management:question-bank.entities.question-bank-item.fields.hint-mode.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.SelectBox,\n path: 'hint.mode',\n mode: 'edit',\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: [\n {\n id: 'off',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.hint-mode.options.off',\n },\n { id: 'info', title: '@assessment-management:question-bank.entities.question-bank-item.fields.hint-mode.options.info' },\n { id: 'warning', title: '@assessment-management:question-bank.entities.question-bank-item.fields.hint-mode.options.warning' },\n { id: 'danger', title: '@assessment-management:question-bank.entities.question-bank-item.fields.hint-mode.options.danger' },\n { id: 'success', title: '@assessment-management:question-bank.entities.question-bank-item.fields.hint-mode.options.success' },\n { id: 'neutral', title: '@assessment-management:question-bank.entities.question-bank-item.fields.hint-mode.options.neutral' },\n ],\n },\n },\n ],\n },\n ],\n },\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit',\n options: {\n colSpan: 12,\n visible: `{{ context.eval('hint.mode') && (context.eval('hint.mode').id || context.eval('hint.mode')) != 'off' }}`,\n },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit',\n options: {\n label: '@assessment-management:question-bank.entities.question-bank-item.fields.hint-content.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.RichText,\n path: 'hint.content',\n mode: 'edit',\n options: { height: 120 },\n },\n ],\n },\n ],\n },\n ],\n },\n },\n },\n {\n name: 'comment',\n title: '@assessment-management:question-bank.entities.question-bank-item.fields.comment.title',\n groupId: 'question-properties',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'object',\n nullable: true,\n defaultValue: { enabled: false, required: false },\n interface: {\n type: AXPWidgetsList.Layouts.GridLayout,\n mode: 'edit',\n options: {\n grid: {\n default: {\n columns: 12,\n gap: '1rem',\n },\n },\n },\n children: [\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit',\n options: {\n colSpan: 3,\n },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit',\n options: {\n label: '@assessment-management:question-bank.entities.question-bank-item.fields.comment.enabled',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n path: 'comment.enabled',\n mode: 'edit',\n },\n ],\n },\n ],\n },\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit',\n options: {\n colSpan: 3,\n visible: `{{ context.eval('comment.enabled') === true }}`,\n },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit',\n options: {\n label: '@assessment-management:question-bank.entities.question-bank-item.fields.comment.required',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n path: 'comment.required',\n mode: 'edit',\n },\n ],\n },\n ],\n },\n ],\n },\n },\n },\n ],\n columns: [\n { name: 'title' },\n { name: 'name' },\n { name: 'difficulty' },\n { name: 'estimatedTime' },\n { name: 'interface' },\n ],\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'question-content', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'presentation', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'question-properties', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'name', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'question', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'note', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'difficulty', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'estimatedTime', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'hint', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'comment', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'interface', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'question-content', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'presentation', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'question-properties', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'name', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'question', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'note', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'difficulty', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'estimatedTime', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'hint', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'comment', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'interface', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'question-content', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'presentation', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'question-properties', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'name', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'question', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'note', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'difficulty', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'estimatedTime', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'hint', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'comment', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'interface', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [\n ...entityMasterRecordActions(),\n {\n title: '@assessment-management:question-bank.entities.question-bank-item.actions.preview.title',\n command: {\n name: `${RootConfig.module.name}.${RootConfig.entities.questionBankItem.name}:Preview`,\n options: {\n id: '{{ context.eval(\"id\") }}',\n },\n },\n priority: 'primary',\n type: 'action',\n icon: 'fa-light fa-eye',\n scope: AXPEntityCommandScope.Individual,\n } as AXPEntityAction,\n ],\n },\n list: {\n actions: [\n ...entityMasterCrudActions(),\n {\n title: '@assessment-management:question-bank.entities.question-bank-item.actions.preview.title',\n command: {\n name: `${RootConfig.module.name}.${RootConfig.entities.questionBankItem.name}:Preview`,\n options: {\n id: '{{ context.eval(\"id\") }}',\n },\n },\n priority: 'primary',\n type: 'action',\n icon: 'fa-light fa-eye',\n scope: AXPEntityCommandScope.Individual,\n } as AXPEntityAction,\n ],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AAaA;AAEA;AAEO,eAAe,OAAO,CAAC,SAAmB,EAAA;AAC/C,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI;AAC/C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,KAAK;AACjD,Q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AAO,EAAE;AACP,gCAAA,IAAI,EAAE,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,CAAA,EAAI,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAA,QAAA,CAAU;AACtF,gCAAA,OAAO,EAAE;AACP,oCAAA,EAAE,EAAE,0BAA0B;AAC/B,iCAAA;AACF,6BAAA;AACD,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,QAAQ;AACd,4BAAA,IAAI,EAAE,iBAAiB;4BACvB,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACrB,yBAAA;AACrB,qBAAA;oBACD,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACxE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
|
|
@@ -11,123 +11,8 @@ import * as i3 from '@angular/common';
|
|
|
11
11
|
import { CommonModule } from '@angular/common';
|
|
12
12
|
import * as i0 from '@angular/core';
|
|
13
13
|
import { inject, input, computed, signal, viewChild, effect, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
14
|
-
import { first
|
|
15
|
-
import { R as RootConfig,
|
|
16
|
-
import { AXPSystemStatusType } from '@acorex/platform/common';
|
|
17
|
-
|
|
18
|
-
//#region ---- Imports ----
|
|
19
|
-
//#endregion
|
|
20
|
-
//#region ---- Persistence ----
|
|
21
|
-
/**
|
|
22
|
-
* Loads a session by id using list query first, then byKey.
|
|
23
|
-
*/
|
|
24
|
-
async function loadSessionById(entityService, sessionId) {
|
|
25
|
-
const sessionAccessor = entityService
|
|
26
|
-
.withEntity(RootConfig.module.name, RootConfig.entities.assessmentSession.name)
|
|
27
|
-
.data();
|
|
28
|
-
const listMatch = await sessionAccessor.query({
|
|
29
|
-
skip: 0,
|
|
30
|
-
take: 1,
|
|
31
|
-
filter: {
|
|
32
|
-
field: 'id',
|
|
33
|
-
operator: { type: 'equal' },
|
|
34
|
-
value: sessionId,
|
|
35
|
-
},
|
|
36
|
-
});
|
|
37
|
-
const fromQuery = first(listMatch.items);
|
|
38
|
-
if (fromQuery) {
|
|
39
|
-
return fromQuery;
|
|
40
|
-
}
|
|
41
|
-
return defaultTo(await sessionAccessor.byKey(sessionId), null);
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Loads assessment case by id using query first, then byKey.
|
|
45
|
-
*/
|
|
46
|
-
async function loadCaseById(entityService, caseId) {
|
|
47
|
-
const caseAccessor = entityService
|
|
48
|
-
.withEntity(RootConfig.module.name, RootConfig.entities.assessmentCase.name)
|
|
49
|
-
.data();
|
|
50
|
-
const listMatch = await caseAccessor.query({
|
|
51
|
-
skip: 0,
|
|
52
|
-
take: 1,
|
|
53
|
-
filter: {
|
|
54
|
-
field: 'id',
|
|
55
|
-
operator: { type: 'equal' },
|
|
56
|
-
value: caseId,
|
|
57
|
-
},
|
|
58
|
-
});
|
|
59
|
-
const fromQuery = first(listMatch.items);
|
|
60
|
-
if (fromQuery) {
|
|
61
|
-
return fromQuery;
|
|
62
|
-
}
|
|
63
|
-
return defaultTo(await caseAccessor.byKey(caseId), null);
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* Bumps case audit metadata by performing a domain update (history middleware sets auditInfo.updated.at).
|
|
67
|
-
*/
|
|
68
|
-
async function touchAssessmentCaseActivity(entityService, caseId) {
|
|
69
|
-
const assessmentCase = await loadCaseById(entityService, caseId);
|
|
70
|
-
if (!assessmentCase) {
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
const caseAccessor = entityService
|
|
74
|
-
.withEntity(RootConfig.module.name, RootConfig.entities.assessmentCase.name)
|
|
75
|
-
.data();
|
|
76
|
-
const caseStatus = assessmentCase.statusId;
|
|
77
|
-
const nextCaseStatus = caseStatus === AXPSystemStatusType.Closed || caseStatus === AXPSystemStatusType.Cancelled
|
|
78
|
-
? caseStatus
|
|
79
|
-
: AXPSystemStatusType.InProgress;
|
|
80
|
-
await caseAccessor.update(caseId, { statusId: nextCaseStatus });
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Upserts assessment session answers and status; moves case to in-progress when saving or submitting.
|
|
84
|
-
*/
|
|
85
|
-
async function persistAssessmentSession(input) {
|
|
86
|
-
const { entityService, questionnaireViewerService, caseId, sessionId, existingSession, responderId, role, structure, answers, finalize, progressMetrics, timeSpentSeconds, } = input;
|
|
87
|
-
const calculatedProgress = questionnaireViewerService.calculateProgressFromStructure(structure, answers);
|
|
88
|
-
const answeredQuestionsCount = defaultTo(get(progressMetrics, 'answeredQuestionsCount'), calculatedProgress.answeredQuestionsCount);
|
|
89
|
-
const progressPercentage = defaultTo(get(progressMetrics, 'progressPercentage'), calculatedProgress.progressPercentage);
|
|
90
|
-
const now = new Date();
|
|
91
|
-
const sessionAccessor = entityService
|
|
92
|
-
.withEntity(RootConfig.module.name, RootConfig.entities.assessmentSession.name)
|
|
93
|
-
.data();
|
|
94
|
-
let resolvedSessionId = sessionId;
|
|
95
|
-
let currentSession = existingSession;
|
|
96
|
-
if (resolvedSessionId && !currentSession) {
|
|
97
|
-
currentSession = await loadSessionById(entityService, resolvedSessionId);
|
|
98
|
-
}
|
|
99
|
-
const sessionStatusId = finalize
|
|
100
|
-
? 'submitted'
|
|
101
|
-
: get(currentSession, 'statusId') === 'submitted'
|
|
102
|
-
? 'submitted'
|
|
103
|
-
: AXPSystemStatusType.InProgress;
|
|
104
|
-
const sessionData = {
|
|
105
|
-
caseId,
|
|
106
|
-
responderId,
|
|
107
|
-
role,
|
|
108
|
-
answers,
|
|
109
|
-
progressPercentage,
|
|
110
|
-
answeredQuestionsCount,
|
|
111
|
-
lastSavedAt: now,
|
|
112
|
-
statusId: sessionStatusId,
|
|
113
|
-
};
|
|
114
|
-
if (isEmpty(get(currentSession, 'startedAt'))) {
|
|
115
|
-
sessionData['startedAt'] = now;
|
|
116
|
-
}
|
|
117
|
-
if (timeSpentSeconds != null && timeSpentSeconds >= 0) {
|
|
118
|
-
sessionData['timeSpent'] = timeSpentSeconds;
|
|
119
|
-
}
|
|
120
|
-
if (resolvedSessionId) {
|
|
121
|
-
await sessionAccessor.update(resolvedSessionId, sessionData);
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
sessionData['startedAt'] = now;
|
|
125
|
-
resolvedSessionId = await sessionAccessor.create(sessionData);
|
|
126
|
-
}
|
|
127
|
-
await touchAssessmentCaseActivity(entityService, caseId);
|
|
128
|
-
return { sessionId: resolvedSessionId };
|
|
129
|
-
}
|
|
130
|
-
//#endregion
|
|
14
|
+
import { first } from 'lodash-es';
|
|
15
|
+
import { A as AXMQuestionnaireViewerService, R as RootConfig, p as persistAssessmentSession, b as AXMQuestionnaireViewerComponent, c as AXMPreQuestionnaireContentComponent, d as AXMPostQuestionnaireContentComponent } from './acorex-modules-assessment-management-acorex-modules-assessment-management-DqmJVJ0z.mjs';
|
|
131
16
|
|
|
132
17
|
//#region ---- Imports ----
|
|
133
18
|
//#endregion
|
|
@@ -141,6 +26,7 @@ class AXMQuestionnaireViewerPopupComponent extends AXBasePageComponent {
|
|
|
141
26
|
return async (answers) => {
|
|
142
27
|
return this.questionnaireViewerService.buildSummaryPlaceholderValues(this.structureValue(), answers, {
|
|
143
28
|
questionnaireId: this.questionnaireIdValue(),
|
|
29
|
+
outcomeRules: this.outcomeRulesValue(),
|
|
144
30
|
elapsedSeconds: this.timerElapsed(),
|
|
145
31
|
});
|
|
146
32
|
};
|
|
@@ -152,7 +38,7 @@ class AXMQuestionnaireViewerPopupComponent extends AXBasePageComponent {
|
|
|
152
38
|
if (!summary)
|
|
153
39
|
return null;
|
|
154
40
|
const cfg = this.prePostConfigValue();
|
|
155
|
-
if (cfg?.post.
|
|
41
|
+
if (cfg?.post.showOutcomeResults === true)
|
|
156
42
|
return 'results';
|
|
157
43
|
if (cfg?.post.summaryEnabled === true)
|
|
158
44
|
return 'summary';
|
|
@@ -177,12 +63,21 @@ class AXMQuestionnaireViewerPopupComponent extends AXBasePageComponent {
|
|
|
177
63
|
this.saveHandler = input(...(ngDevMode ? [undefined, { debugName: "saveHandler" }] : /* istanbul ignore next */ []));
|
|
178
64
|
this.assessmentFillContext = input(undefined, ...(ngDevMode ? [{ debugName: "assessmentFillContext" }] : /* istanbul ignore next */ []));
|
|
179
65
|
this.questionnaireId = input(undefined, ...(ngDevMode ? [{ debugName: "questionnaireId" }] : /* istanbul ignore next */ []));
|
|
66
|
+
this.outcomeRules = input(undefined, ...(ngDevMode ? [{ debugName: "outcomeRules" }] : /* istanbul ignore next */ []));
|
|
67
|
+
this.storedOutcomeResults = input(null, ...(ngDevMode ? [{ debugName: "storedOutcomeResults" }] : /* istanbul ignore next */ []));
|
|
180
68
|
/** Safe accessors: popup framework may overwrite inputs with plain values. */
|
|
181
69
|
this.prePostConfigValue = computed(() => this.safeInputValue(this.prePostConfig), ...(ngDevMode ? [{ debugName: "prePostConfigValue" }] : /* istanbul ignore next */ []));
|
|
182
70
|
this.structureValue = computed(() => this.safeInputValue(this.structure), ...(ngDevMode ? [{ debugName: "structureValue" }] : /* istanbul ignore next */ []));
|
|
183
71
|
this.configValue = computed(() => this.safeInputValue(this.config), ...(ngDevMode ? [{ debugName: "configValue" }] : /* istanbul ignore next */ []));
|
|
184
72
|
this.initialAnswersValue = computed(() => this.safeInputValue(this.initialAnswers), ...(ngDevMode ? [{ debugName: "initialAnswersValue" }] : /* istanbul ignore next */ []));
|
|
185
73
|
this.questionnaireIdValue = computed(() => this.safeInputValue(this.questionnaireId), ...(ngDevMode ? [{ debugName: "questionnaireIdValue" }] : /* istanbul ignore next */ []));
|
|
74
|
+
this.outcomeRulesValue = computed(() => this.safeInputValue(this.outcomeRules), ...(ngDevMode ? [{ debugName: "outcomeRulesValue" }] : /* istanbul ignore next */ []));
|
|
75
|
+
this.storedOutcomeResultsValue = computed(() => this.safeInputValue(this.storedOutcomeResults), ...(ngDevMode ? [{ debugName: "storedOutcomeResultsValue" }] : /* istanbul ignore next */ []));
|
|
76
|
+
/** Readonly entry step from viewer config (popup assigns plain object on `config`). */
|
|
77
|
+
this.readonlyInitialFlowStep = computed(() => {
|
|
78
|
+
const step = this.configValue()?.initialFlowStep;
|
|
79
|
+
return step === 'results' ? 'results' : 'questions';
|
|
80
|
+
}, ...(ngDevMode ? [{ debugName: "readonlyInitialFlowStep" }] : /* istanbul ignore next */ []));
|
|
186
81
|
this.assessmentFillContextValue = computed(() => {
|
|
187
82
|
const raw = this.safeInputValue(this.assessmentFillContext);
|
|
188
83
|
if (raw && typeof raw === 'object' && typeof raw.caseId === 'string') {
|
|
@@ -231,6 +126,7 @@ class AXMQuestionnaireViewerPopupComponent extends AXBasePageComponent {
|
|
|
231
126
|
//#endregion
|
|
232
127
|
//#region ---- State ----
|
|
233
128
|
this.flowStep = signal('questions', ...(ngDevMode ? [{ debugName: "flowStep" }] : /* istanbul ignore next */ []));
|
|
129
|
+
this.initialFlowApplied = signal(false, ...(ngDevMode ? [{ debugName: "initialFlowApplied" }] : /* istanbul ignore next */ []));
|
|
234
130
|
this.reviewSnapshot = signal([], ...(ngDevMode ? [{ debugName: "reviewSnapshot" }] : /* istanbul ignore next */ []));
|
|
235
131
|
this.reviewContext = signal(null, ...(ngDevMode ? [{ debugName: "reviewContext" }] : /* istanbul ignore next */ []));
|
|
236
132
|
this.submitResult = signal(null, ...(ngDevMode ? [{ debugName: "submitResult" }] : /* istanbul ignore next */ []));
|
|
@@ -254,10 +150,40 @@ class AXMQuestionnaireViewerPopupComponent extends AXBasePageComponent {
|
|
|
254
150
|
this.timerElapsed = computed(() => this.viewerViewModel()?.timerElapsed() ?? 0, ...(ngDevMode ? [{ debugName: "timerElapsed" }] : /* istanbul ignore next */ []));
|
|
255
151
|
this.answeredQuestionsCount = computed(() => this.viewerViewModel()?.answeredQuestionsCount() ?? 0, ...(ngDevMode ? [{ debugName: "answeredQuestionsCount" }] : /* istanbul ignore next */ []));
|
|
256
152
|
this.showReviewButton = computed(() => this.isLastStep() && (this.prePostConfigValue()?.post?.reviewEnabled ?? false) && this.flowStep() === 'questions', ...(ngDevMode ? [{ debugName: "showReviewButton" }] : /* istanbul ignore next */ []));
|
|
153
|
+
/** True when readonly view has stored outcome results to display. */
|
|
154
|
+
this.hasStoredOutcomeResults = computed(() => {
|
|
155
|
+
const result = this.storedOutcomeResultsValue() ?? this.submitResult();
|
|
156
|
+
if (!result) {
|
|
157
|
+
return false;
|
|
158
|
+
}
|
|
159
|
+
if ((result.outcomeSections?.length ?? 0) > 0) {
|
|
160
|
+
return true;
|
|
161
|
+
}
|
|
162
|
+
return Object.keys(result.outcomes ?? {}).length > 0;
|
|
163
|
+
}, ...(ngDevMode ? [{ debugName: "hasStoredOutcomeResults" }] : /* istanbul ignore next */ []));
|
|
164
|
+
/** Results navigation on any questions step (readonly session review only). */
|
|
165
|
+
this.showViewResultsButton = computed(() => this.isReadonly() && this.flowStep() === 'questions' && this.hasStoredOutcomeResults(), ...(ngDevMode ? [{ debugName: "showViewResultsButton" }] : /* istanbul ignore next */ []));
|
|
257
166
|
this.showFooter = computed(() => ['pre', 'questions', 'review', 'summary', 'results'].includes(this.flowStep()), ...(ngDevMode ? [{ debugName: "showFooter" }] : /* istanbul ignore next */ []));
|
|
258
167
|
effect(() => {
|
|
259
168
|
const cfg = this.prePostConfigValue();
|
|
169
|
+
const initial = this.readonlyInitialFlowStep();
|
|
170
|
+
const stored = this.storedOutcomeResultsValue();
|
|
171
|
+
if (stored) {
|
|
172
|
+
this.submitResult.set(stored);
|
|
173
|
+
}
|
|
174
|
+
if (this.initialFlowApplied()) {
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
if (initial === 'results') {
|
|
178
|
+
if (!stored) {
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
this.flowStep.set('results');
|
|
182
|
+
this.initialFlowApplied.set(true);
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
260
185
|
this.flowStep.set(cfg?.pre.enabled === true ? 'pre' : 'questions');
|
|
186
|
+
this.initialFlowApplied.set(true);
|
|
261
187
|
});
|
|
262
188
|
effect(() => {
|
|
263
189
|
const ctx = this.assessmentFillContextValue();
|
|
@@ -455,13 +381,28 @@ class AXMQuestionnaireViewerPopupComponent extends AXBasePageComponent {
|
|
|
455
381
|
this.isSubmitting.set(false);
|
|
456
382
|
}
|
|
457
383
|
}
|
|
384
|
+
handleViewResultsClick() {
|
|
385
|
+
const stored = this.storedOutcomeResultsValue();
|
|
386
|
+
if (stored) {
|
|
387
|
+
this.submitResult.set(stored);
|
|
388
|
+
}
|
|
389
|
+
this.flowStep.set('results');
|
|
390
|
+
}
|
|
458
391
|
handleDone() {
|
|
392
|
+
if (this.isReadonly()) {
|
|
393
|
+
this.close({
|
|
394
|
+
answers: this.effectiveInitialAnswers(),
|
|
395
|
+
questions: this.viewer()?.getQuestionsWithAnswers() ?? [],
|
|
396
|
+
submitted: false,
|
|
397
|
+
});
|
|
398
|
+
return;
|
|
399
|
+
}
|
|
459
400
|
const answers = this.lastSubmittedAnswers();
|
|
460
401
|
const questions = this.lastSubmittedQuestions();
|
|
461
402
|
this.close({ answers, questions, submitted: true });
|
|
462
403
|
}
|
|
463
404
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireViewerPopupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
464
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMQuestionnaireViewerPopupComponent, isStandalone: true, selector: "axm-questionnaire-viewer-popup", inputs: { structure: { classPropertyName: "structure", publicName: "structure", isSignal: true, isRequired: true, transformFunction: null }, prePostConfig: { classPropertyName: "prePostConfig", publicName: "prePostConfig", isSignal: true, isRequired: false, transformFunction: null }, config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null }, initialAnswers: { classPropertyName: "initialAnswers", publicName: "initialAnswers", isSignal: true, isRequired: false, transformFunction: null }, submitHandler: { classPropertyName: "submitHandler", publicName: "submitHandler", isSignal: true, isRequired: false, transformFunction: null }, saveHandler: { classPropertyName: "saveHandler", publicName: "saveHandler", isSignal: true, isRequired: false, transformFunction: null }, assessmentFillContext: { classPropertyName: "assessmentFillContext", publicName: "assessmentFillContext", isSignal: true, isRequired: false, transformFunction: null }, questionnaireId: { classPropertyName: "questionnaireId", publicName: "questionnaireId", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "viewer", first: true, predicate: ["viewer"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
405
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMQuestionnaireViewerPopupComponent, isStandalone: true, selector: "axm-questionnaire-viewer-popup", inputs: { structure: { classPropertyName: "structure", publicName: "structure", isSignal: true, isRequired: true, transformFunction: null }, prePostConfig: { classPropertyName: "prePostConfig", publicName: "prePostConfig", isSignal: true, isRequired: false, transformFunction: null }, config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null }, initialAnswers: { classPropertyName: "initialAnswers", publicName: "initialAnswers", isSignal: true, isRequired: false, transformFunction: null }, submitHandler: { classPropertyName: "submitHandler", publicName: "submitHandler", isSignal: true, isRequired: false, transformFunction: null }, saveHandler: { classPropertyName: "saveHandler", publicName: "saveHandler", isSignal: true, isRequired: false, transformFunction: null }, assessmentFillContext: { classPropertyName: "assessmentFillContext", publicName: "assessmentFillContext", isSignal: true, isRequired: false, transformFunction: null }, questionnaireId: { classPropertyName: "questionnaireId", publicName: "questionnaireId", isSignal: true, isRequired: false, transformFunction: null }, outcomeRules: { classPropertyName: "outcomeRules", publicName: "outcomeRules", isSignal: true, isRequired: false, transformFunction: null }, storedOutcomeResults: { classPropertyName: "storedOutcomeResults", publicName: "storedOutcomeResults", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "viewer", first: true, predicate: ["viewer"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
465
406
|
|
|
466
407
|
<div
|
|
467
408
|
class="__content-area ax-flex ax-flex-1 ax-min-h-0 ax-flex-col"
|
|
@@ -536,9 +477,11 @@ class AXMQuestionnaireViewerPopupComponent extends AXBasePageComponent {
|
|
|
536
477
|
}
|
|
537
478
|
</ax-prefix>
|
|
538
479
|
<ax-suffix>
|
|
480
|
+
<!-- Pre-questionnaire welcome step -->
|
|
539
481
|
@if (flowStep() === 'pre') {
|
|
540
482
|
<ax-button look="solid" color="primary" [text]="'@assessment-management:questionnaires.components.questionnaire-viewer.flow.start' | translate | async" (onClick)="flowStep.set('questions')"></ax-button>
|
|
541
483
|
} @else if (flowStep() === 'questions') {
|
|
484
|
+
<!-- Draft save (fill mode with save-and-continue) -->
|
|
542
485
|
@if (showSaveButton()) {
|
|
543
486
|
<ax-button
|
|
544
487
|
look="outline"
|
|
@@ -548,34 +491,62 @@ class AXMQuestionnaireViewerPopupComponent extends AXBasePageComponent {
|
|
|
548
491
|
(onClick)="handleSaveClick()"
|
|
549
492
|
></ax-button>
|
|
550
493
|
}
|
|
494
|
+
<!-- Section / page navigation (paginated view modes) -->
|
|
551
495
|
@if (showNavigationButtons()) {
|
|
552
496
|
<ax-button look="solid" [disabled]="!canNavigatePrevious()" [text]="'@general:actions.previous.title' | translate | async" (onClick)="handlePreviousClick()"></ax-button>
|
|
553
497
|
@if (!isLastStep()) {
|
|
554
498
|
<ax-button look="solid" color="primary" [disabled]="!canNavigateNext()" [text]="'@general:actions.next.title' | translate | async" (onClick)="handleNextClick()"></ax-button>
|
|
555
499
|
}
|
|
556
500
|
}
|
|
501
|
+
<!-- Last step: optional review before submit -->
|
|
557
502
|
@if (isLastStep() && showReviewButton()) {
|
|
558
503
|
<ax-button look="solid" color="primary" [text]="'@assessment-management:questionnaires.components.questionnaire-viewer.flow.review' | translate | async" [disabled]="isReadonly() || !areAllRequiredQuestionsAnswered()" (onClick)="handleReviewClick()"></ax-button>
|
|
559
504
|
}
|
|
505
|
+
<!-- Last step: submit when review is disabled -->
|
|
560
506
|
@if (isLastStep() && !showReviewButton() && showSubmitButton()) {
|
|
561
507
|
<ax-button look="solid" color="primary" [text]="'@general:actions.submit.title' | translate | async" [disabled]="isSubmitting() || isReadonly() || !areAllRequiredQuestionsAnswered()" (onClick)="handleSubmitClick()"></ax-button>
|
|
562
508
|
}
|
|
509
|
+
<!-- Readonly session review: jump to stored outcome results -->
|
|
510
|
+
@if (showViewResultsButton()) {
|
|
511
|
+
<ax-button
|
|
512
|
+
look="outline"
|
|
513
|
+
color="success"
|
|
514
|
+
[text]="'@assessment-management:questionnaires.components.questionnaire-viewer.flow.results' | translate | async"
|
|
515
|
+
(onClick)="handleViewResultsClick()"
|
|
516
|
+
>
|
|
517
|
+
<ax-icon class="fa-light fa-chart-simple"></ax-icon>
|
|
518
|
+
</ax-button>
|
|
519
|
+
}
|
|
563
520
|
} @else if (flowStep() === 'review') {
|
|
521
|
+
<!-- Review step: return to questions or submit -->
|
|
564
522
|
<ax-button look="outline" [text]="'@assessment-management:questionnaires.components.questionnaire-viewer.flow.edit' | translate | async" (onClick)="flowStep.set('questions')"></ax-button>
|
|
565
523
|
<ax-button look="solid" color="primary" [text]="'@general:actions.submit.title' | translate | async" [disabled]="isSubmitting()" (onClick)="handleReviewSubmit()"></ax-button>
|
|
566
524
|
} @else if (flowStep() === 'results') {
|
|
567
|
-
|
|
525
|
+
<!-- Readonly session review: return to answers -->
|
|
526
|
+
@if (isReadonly() && hasStoredOutcomeResults()) {
|
|
527
|
+
<ax-button
|
|
528
|
+
look="outline"
|
|
529
|
+
[color]="'primary'"
|
|
530
|
+
[text]="'@assessment-management:questionnaires.components.questionnaire-viewer.flow.answers' | translate | async"
|
|
531
|
+
(onClick)="flowStep.set('questions')"
|
|
532
|
+
>
|
|
533
|
+
<ax-icon class="fa-light fa-clipboard-list-check"></ax-icon>
|
|
534
|
+
</ax-button>
|
|
535
|
+
}
|
|
536
|
+
<!-- Post-submit: summary next, or close / done -->
|
|
537
|
+
@if (prePostConfigValue()?.post?.summaryEnabled && !isReadonly()) {
|
|
568
538
|
<ax-button look="solid" color="primary" [text]="'@general:actions.next.title' | translate | async" (onClick)="flowStep.set('summary')"></ax-button>
|
|
569
539
|
} @else {
|
|
570
540
|
<ax-button look="solid" color="primary" [text]="'@assessment-management:questionnaires.components.questionnaire-viewer.flow.done' | translate | async" (onClick)="handleDone()"></ax-button>
|
|
571
541
|
}
|
|
572
542
|
} @else if (flowStep() === 'summary') {
|
|
543
|
+
<!-- Post-submit summary: close -->
|
|
573
544
|
<ax-button look="solid" color="primary" [text]="'@assessment-management:questionnaires.components.questionnaire-viewer.flow.done' | translate | async" (onClick)="handleDone()"></ax-button>
|
|
574
545
|
}
|
|
575
546
|
</ax-suffix>
|
|
576
547
|
</ax-footer>
|
|
577
548
|
}
|
|
578
|
-
`, isInline: true, styles: ["axm-questionnaire-viewer-popup{display:flex;height:100%;max-height:90vh;min-height:0px;width:100%;flex:1 1 0%;flex-direction:column;overflow:hidden}@media(min-width:1024px){axm-questionnaire-viewer-popup{max-height:75vh}}axm-questionnaire-viewer-popup .__content-area{min-height:0px}axm-questionnaire-viewer-popup .__questions{min-height:0px;overflow:hidden}axm-questionnaire-viewer-popup .__header{z-index:20;display:flex;flex-shrink:0;flex-direction:column;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface));border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));color:rgb(var(--ax-sys-color-on-surface-variant));position:sticky;top:0}axm-questionnaire-viewer-popup .__header .__header-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem}axm-questionnaire-viewer-popup .__header .__header-top .__header-meta{display:flex;align-items:center;gap:1rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity, 1))}axm-questionnaire-viewer-popup .__header .__header-top .__header-meta .__meta-item{display:flex;align-items:center;gap:.375rem}axm-questionnaire-viewer-popup .__header .__header-top .__header-meta .__meta-item i{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgba(var(--ax-sys-color-primary-600),var(--tw-text-opacity, 1))}axm-questionnaire-viewer-popup .__header .__header-top .__header-meta .__meta-item span{font-weight:500}axm-questionnaire-viewer-popup .__header .__header-top .__header-timer{display:flex;flex-shrink:0;align-items:center}axm-questionnaire-viewer-popup .__content-wrapper{display:flex;min-height:0px;flex:1 1 0%;overflow:hidden}axm-questionnaire-viewer-popup .__content axm-questionnaire-viewer{display:flex;height:auto;max-height:none;min-height:0px;width:100%;max-width:100%;flex:none;flex-direction:column}axm-questionnaire-viewer-popup .__content axm-questionnaire-viewer .__questionnaire-container{min-height:0px;flex:none;overflow:visible}axm-questionnaire-viewer-popup .__popup-footer{position:sticky;bottom:0;z-index:20;border-top-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}axm-questionnaire-viewer-popup .__toolbar-meta{color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-popup .__footer-progress{color:rgb(var(--ax-sys-color-on-surface-variant))}axp-popup-content:has(axm-questionnaire-viewer-popup){display:flex;min-height:0px;flex-direction:column;overflow:hidden}axp-popup-content axm-questionnaire-viewer-popup{min-height:0px;flex:1 1 0%}axp-layout-container#axp-popup-layout:has(axm-questionnaire-viewer-popup){min-height:0px;overflow:hidden}axp-layout-container#axp-popup-layout:has(axm-questionnaire-viewer-popup) axp-page-content{min-height:0px;flex:1 1 0%;overflow:hidden}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "component", type:
|
|
549
|
+
`, isInline: true, styles: ["axm-questionnaire-viewer-popup{display:flex;height:100%;max-height:90vh;min-height:0px;width:100%;flex:1 1 0%;flex-direction:column;overflow:hidden}@media(min-width:1024px){axm-questionnaire-viewer-popup{max-height:75vh}}axm-questionnaire-viewer-popup .__content-area{min-height:0px}axm-questionnaire-viewer-popup .__questions{min-height:0px;overflow:hidden}axm-questionnaire-viewer-popup .__header{z-index:20;display:flex;flex-shrink:0;flex-direction:column;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface));border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));color:rgb(var(--ax-sys-color-on-surface-variant));position:sticky;top:0}axm-questionnaire-viewer-popup .__header .__header-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem}axm-questionnaire-viewer-popup .__header .__header-top .__header-meta{display:flex;align-items:center;gap:1rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity, 1))}axm-questionnaire-viewer-popup .__header .__header-top .__header-meta .__meta-item{display:flex;align-items:center;gap:.375rem}axm-questionnaire-viewer-popup .__header .__header-top .__header-meta .__meta-item i{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgba(var(--ax-sys-color-primary-600),var(--tw-text-opacity, 1))}axm-questionnaire-viewer-popup .__header .__header-top .__header-meta .__meta-item span{font-weight:500}axm-questionnaire-viewer-popup .__header .__header-top .__header-timer{display:flex;flex-shrink:0;align-items:center}axm-questionnaire-viewer-popup .__content-wrapper{display:flex;min-height:0px;flex:1 1 0%;overflow:hidden}axm-questionnaire-viewer-popup .__content axm-questionnaire-viewer{display:flex;height:auto;max-height:none;min-height:0px;width:100%;max-width:100%;flex:none;flex-direction:column}axm-questionnaire-viewer-popup .__content axm-questionnaire-viewer .__questionnaire-container{min-height:0px;flex:none;overflow:visible}axm-questionnaire-viewer-popup .__popup-footer{position:sticky;bottom:0;z-index:20;border-top-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}axm-questionnaire-viewer-popup .__toolbar-meta{color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-popup .__footer-progress{color:rgb(var(--ax-sys-color-on-surface-variant))}axp-popup-content:has(axm-questionnaire-viewer-popup){display:flex;min-height:0px;flex-direction:column;overflow:hidden}axp-popup-content axm-questionnaire-viewer-popup{min-height:0px;flex:1 1 0%}axp-layout-container#axp-popup-layout:has(axm-questionnaire-viewer-popup){min-height:0px;overflow:hidden}axp-layout-container#axp-popup-layout:has(axm-questionnaire-viewer-popup) axp-page-content{min-height:0px;flex:1 1 0%;overflow:hidden}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "component", type:
|
|
579
550
|
//AXPStopwatchComponent,
|
|
580
551
|
AXMQuestionnaireViewerComponent, selector: "axm-questionnaire-viewer", inputs: ["questionnaireId", "structure", "config", "initialAnswers"], outputs: ["answersChanged", "questionAnswered"] }, { kind: "component", type: AXMPreQuestionnaireContentComponent, selector: "axm-pre-questionnaire-content", inputs: ["content"] }, { kind: "component", type: AXMPostQuestionnaireContentComponent, selector: "axm-post-questionnaire-content", inputs: ["mode", "questionsWithAnswers", "reviewContext", "summaryContent", "placeholderValues", "locale", "showQuestionNumbers"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
581
552
|
}
|
|
@@ -656,9 +627,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
656
627
|
}
|
|
657
628
|
</ax-prefix>
|
|
658
629
|
<ax-suffix>
|
|
630
|
+
<!-- Pre-questionnaire welcome step -->
|
|
659
631
|
@if (flowStep() === 'pre') {
|
|
660
632
|
<ax-button look="solid" color="primary" [text]="'@assessment-management:questionnaires.components.questionnaire-viewer.flow.start' | translate | async" (onClick)="flowStep.set('questions')"></ax-button>
|
|
661
633
|
} @else if (flowStep() === 'questions') {
|
|
634
|
+
<!-- Draft save (fill mode with save-and-continue) -->
|
|
662
635
|
@if (showSaveButton()) {
|
|
663
636
|
<ax-button
|
|
664
637
|
look="outline"
|
|
@@ -668,28 +641,56 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
668
641
|
(onClick)="handleSaveClick()"
|
|
669
642
|
></ax-button>
|
|
670
643
|
}
|
|
644
|
+
<!-- Section / page navigation (paginated view modes) -->
|
|
671
645
|
@if (showNavigationButtons()) {
|
|
672
646
|
<ax-button look="solid" [disabled]="!canNavigatePrevious()" [text]="'@general:actions.previous.title' | translate | async" (onClick)="handlePreviousClick()"></ax-button>
|
|
673
647
|
@if (!isLastStep()) {
|
|
674
648
|
<ax-button look="solid" color="primary" [disabled]="!canNavigateNext()" [text]="'@general:actions.next.title' | translate | async" (onClick)="handleNextClick()"></ax-button>
|
|
675
649
|
}
|
|
676
650
|
}
|
|
651
|
+
<!-- Last step: optional review before submit -->
|
|
677
652
|
@if (isLastStep() && showReviewButton()) {
|
|
678
653
|
<ax-button look="solid" color="primary" [text]="'@assessment-management:questionnaires.components.questionnaire-viewer.flow.review' | translate | async" [disabled]="isReadonly() || !areAllRequiredQuestionsAnswered()" (onClick)="handleReviewClick()"></ax-button>
|
|
679
654
|
}
|
|
655
|
+
<!-- Last step: submit when review is disabled -->
|
|
680
656
|
@if (isLastStep() && !showReviewButton() && showSubmitButton()) {
|
|
681
657
|
<ax-button look="solid" color="primary" [text]="'@general:actions.submit.title' | translate | async" [disabled]="isSubmitting() || isReadonly() || !areAllRequiredQuestionsAnswered()" (onClick)="handleSubmitClick()"></ax-button>
|
|
682
658
|
}
|
|
659
|
+
<!-- Readonly session review: jump to stored outcome results -->
|
|
660
|
+
@if (showViewResultsButton()) {
|
|
661
|
+
<ax-button
|
|
662
|
+
look="outline"
|
|
663
|
+
color="success"
|
|
664
|
+
[text]="'@assessment-management:questionnaires.components.questionnaire-viewer.flow.results' | translate | async"
|
|
665
|
+
(onClick)="handleViewResultsClick()"
|
|
666
|
+
>
|
|
667
|
+
<ax-icon class="fa-light fa-chart-simple"></ax-icon>
|
|
668
|
+
</ax-button>
|
|
669
|
+
}
|
|
683
670
|
} @else if (flowStep() === 'review') {
|
|
671
|
+
<!-- Review step: return to questions or submit -->
|
|
684
672
|
<ax-button look="outline" [text]="'@assessment-management:questionnaires.components.questionnaire-viewer.flow.edit' | translate | async" (onClick)="flowStep.set('questions')"></ax-button>
|
|
685
673
|
<ax-button look="solid" color="primary" [text]="'@general:actions.submit.title' | translate | async" [disabled]="isSubmitting()" (onClick)="handleReviewSubmit()"></ax-button>
|
|
686
674
|
} @else if (flowStep() === 'results') {
|
|
687
|
-
|
|
675
|
+
<!-- Readonly session review: return to answers -->
|
|
676
|
+
@if (isReadonly() && hasStoredOutcomeResults()) {
|
|
677
|
+
<ax-button
|
|
678
|
+
look="outline"
|
|
679
|
+
[color]="'primary'"
|
|
680
|
+
[text]="'@assessment-management:questionnaires.components.questionnaire-viewer.flow.answers' | translate | async"
|
|
681
|
+
(onClick)="flowStep.set('questions')"
|
|
682
|
+
>
|
|
683
|
+
<ax-icon class="fa-light fa-clipboard-list-check"></ax-icon>
|
|
684
|
+
</ax-button>
|
|
685
|
+
}
|
|
686
|
+
<!-- Post-submit: summary next, or close / done -->
|
|
687
|
+
@if (prePostConfigValue()?.post?.summaryEnabled && !isReadonly()) {
|
|
688
688
|
<ax-button look="solid" color="primary" [text]="'@general:actions.next.title' | translate | async" (onClick)="flowStep.set('summary')"></ax-button>
|
|
689
689
|
} @else {
|
|
690
690
|
<ax-button look="solid" color="primary" [text]="'@assessment-management:questionnaires.components.questionnaire-viewer.flow.done' | translate | async" (onClick)="handleDone()"></ax-button>
|
|
691
691
|
}
|
|
692
692
|
} @else if (flowStep() === 'summary') {
|
|
693
|
+
<!-- Post-submit summary: close -->
|
|
693
694
|
<ax-button look="solid" color="primary" [text]="'@assessment-management:questionnaires.components.questionnaire-viewer.flow.done' | translate | async" (onClick)="handleDone()"></ax-button>
|
|
694
695
|
}
|
|
695
696
|
</ax-suffix>
|
|
@@ -705,7 +706,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
705
706
|
AXMPreQuestionnaireContentComponent,
|
|
706
707
|
AXMPostQuestionnaireContentComponent,
|
|
707
708
|
], encapsulation: ViewEncapsulation.None, styles: ["axm-questionnaire-viewer-popup{display:flex;height:100%;max-height:90vh;min-height:0px;width:100%;flex:1 1 0%;flex-direction:column;overflow:hidden}@media(min-width:1024px){axm-questionnaire-viewer-popup{max-height:75vh}}axm-questionnaire-viewer-popup .__content-area{min-height:0px}axm-questionnaire-viewer-popup .__questions{min-height:0px;overflow:hidden}axm-questionnaire-viewer-popup .__header{z-index:20;display:flex;flex-shrink:0;flex-direction:column;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface));border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));color:rgb(var(--ax-sys-color-on-surface-variant));position:sticky;top:0}axm-questionnaire-viewer-popup .__header .__header-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem}axm-questionnaire-viewer-popup .__header .__header-top .__header-meta{display:flex;align-items:center;gap:1rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity, 1))}axm-questionnaire-viewer-popup .__header .__header-top .__header-meta .__meta-item{display:flex;align-items:center;gap:.375rem}axm-questionnaire-viewer-popup .__header .__header-top .__header-meta .__meta-item i{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgba(var(--ax-sys-color-primary-600),var(--tw-text-opacity, 1))}axm-questionnaire-viewer-popup .__header .__header-top .__header-meta .__meta-item span{font-weight:500}axm-questionnaire-viewer-popup .__header .__header-top .__header-timer{display:flex;flex-shrink:0;align-items:center}axm-questionnaire-viewer-popup .__content-wrapper{display:flex;min-height:0px;flex:1 1 0%;overflow:hidden}axm-questionnaire-viewer-popup .__content axm-questionnaire-viewer{display:flex;height:auto;max-height:none;min-height:0px;width:100%;max-width:100%;flex:none;flex-direction:column}axm-questionnaire-viewer-popup .__content axm-questionnaire-viewer .__questionnaire-container{min-height:0px;flex:none;overflow:visible}axm-questionnaire-viewer-popup .__popup-footer{position:sticky;bottom:0;z-index:20;border-top-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}axm-questionnaire-viewer-popup .__toolbar-meta{color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-popup .__footer-progress{color:rgb(var(--ax-sys-color-on-surface-variant))}axp-popup-content:has(axm-questionnaire-viewer-popup){display:flex;min-height:0px;flex-direction:column;overflow:hidden}axp-popup-content axm-questionnaire-viewer-popup{min-height:0px;flex:1 1 0%}axp-layout-container#axp-popup-layout:has(axm-questionnaire-viewer-popup){min-height:0px;overflow:hidden}axp-layout-container#axp-popup-layout:has(axm-questionnaire-viewer-popup) axp-page-content{min-height:0px;flex:1 1 0%;overflow:hidden}\n"] }]
|
|
708
|
-
}], ctorParameters: () => [], propDecorators: { structure: [{ type: i0.Input, args: [{ isSignal: true, alias: "structure", required: true }] }], prePostConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "prePostConfig", required: false }] }], config: [{ type: i0.Input, args: [{ isSignal: true, alias: "config", required: false }] }], initialAnswers: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialAnswers", required: false }] }], submitHandler: [{ type: i0.Input, args: [{ isSignal: true, alias: "submitHandler", required: false }] }], saveHandler: [{ type: i0.Input, args: [{ isSignal: true, alias: "saveHandler", required: false }] }], assessmentFillContext: [{ type: i0.Input, args: [{ isSignal: true, alias: "assessmentFillContext", required: false }] }], questionnaireId: [{ type: i0.Input, args: [{ isSignal: true, alias: "questionnaireId", required: false }] }], viewer: [{ type: i0.ViewChild, args: ['viewer', { isSignal: true }] }] } });
|
|
709
|
+
}], ctorParameters: () => [], propDecorators: { structure: [{ type: i0.Input, args: [{ isSignal: true, alias: "structure", required: true }] }], prePostConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "prePostConfig", required: false }] }], config: [{ type: i0.Input, args: [{ isSignal: true, alias: "config", required: false }] }], initialAnswers: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialAnswers", required: false }] }], submitHandler: [{ type: i0.Input, args: [{ isSignal: true, alias: "submitHandler", required: false }] }], saveHandler: [{ type: i0.Input, args: [{ isSignal: true, alias: "saveHandler", required: false }] }], assessmentFillContext: [{ type: i0.Input, args: [{ isSignal: true, alias: "assessmentFillContext", required: false }] }], questionnaireId: [{ type: i0.Input, args: [{ isSignal: true, alias: "questionnaireId", required: false }] }], outcomeRules: [{ type: i0.Input, args: [{ isSignal: true, alias: "outcomeRules", required: false }] }], storedOutcomeResults: [{ type: i0.Input, args: [{ isSignal: true, alias: "storedOutcomeResults", required: false }] }], viewer: [{ type: i0.ViewChild, args: ['viewer', { isSignal: true }] }] } });
|
|
709
710
|
|
|
710
711
|
export { AXMQuestionnaireViewerPopupComponent };
|
|
711
|
-
//# sourceMappingURL=acorex-modules-assessment-management-questionnaire-viewer-popup.component-
|
|
712
|
+
//# sourceMappingURL=acorex-modules-assessment-management-questionnaire-viewer-popup.component-D9I3S-ZT.mjs.map
|