@acorex-platform/module-assessment-management-client 1.0.1 → 1.0.2
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/fesm2022/{acorex-platform-module-assessment-management-client-acorex-platform-module-assessment-management-client-sm_OxV_k.mjs → acorex-platform-module-assessment-management-client-acorex-platform-module-assessment-management-client-5wbq3eEn.mjs} +84 -77
- package/fesm2022/acorex-platform-module-assessment-management-client-acorex-platform-module-assessment-management-client-5wbq3eEn.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-assessment-session-answers-view.util-42ZcOY2C.mjs → acorex-platform-module-assessment-management-client-assessment-session-answers-view.util-D5gUv0HJ.mjs} +4 -4
- package/fesm2022/acorex-platform-module-assessment-management-client-assessment-session-answers-view.util-D5gUv0HJ.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-assessment-voice.commands-6Hw6NQgS.mjs → acorex-platform-module-assessment-management-client-assessment-voice.commands-C05ceRIS.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-assessment-voice.commands-6Hw6NQgS.mjs.map → acorex-platform-module-assessment-management-client-assessment-voice.commands-C05ceRIS.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-assessment-case.mjs +10 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-assessment-case.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-assessment-session.mjs +1 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-assessment-session.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-questionnaire.mjs +12 -2
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-questionnaire.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-contracts-entity-catalog-acorex-platform-module-assessment-management-client-contracts-entity-catalog-DDCy1T4t.mjs → acorex-platform-module-assessment-management-client-contracts-entity-catalog-acorex-platform-module-assessment-management-client-contracts-entity-catalog-CgUoWW8B.mjs} +6 -6
- package/fesm2022/{acorex-platform-module-assessment-management-client-contracts-entity-catalog-acorex-platform-module-assessment-management-client-contracts-entity-catalog-DDCy1T4t.mjs.map → acorex-platform-module-assessment-management-client-contracts-entity-catalog-acorex-platform-module-assessment-management-client-contracts-entity-catalog-CgUoWW8B.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-case.entity-DXJp2k3o.mjs → acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-case.entity-GDJX71dY.mjs} +6 -2
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-case.entity-GDJX71dY.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-session.entity-Q7-5toSQ.mjs → acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-session.entity-tP9SU7u8.mjs} +3 -3
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-session.entity-tP9SU7u8.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-features.keys-BVOMWggD.mjs +9 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-features.keys-BVOMWggD.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-contracts-entity-catalog-question-bank-item.entity-CPEpSSlP.mjs → acorex-platform-module-assessment-management-client-contracts-entity-catalog-question-bank-item.entity-BSXs6_z8.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-contracts-entity-catalog-question-bank-item.entity-CPEpSSlP.mjs.map → acorex-platform-module-assessment-management-client-contracts-entity-catalog-question-bank-item.entity-BSXs6_z8.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-contracts-entity-catalog-questionnaire.entity-DOG7yHv-.mjs → acorex-platform-module-assessment-management-client-contracts-entity-catalog-questionnaire.entity-a63MvFoX.mjs} +8 -4
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-questionnaire.entity-a63MvFoX.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-contracts-entity-catalog-template.entity-BeYGYRb7.mjs → acorex-platform-module-assessment-management-client-contracts-entity-catalog-template.entity-DWRFJCah.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-contracts-entity-catalog-template.entity-BeYGYRb7.mjs.map → acorex-platform-module-assessment-management-client-contracts-entity-catalog-template.entity-DWRFJCah.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts.mjs +207 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-fill-assessment-session.command-BOzXBvS2.mjs → acorex-platform-module-assessment-management-client-fill-assessment-session.command-xJKBN_ld.mjs} +18 -7
- package/fesm2022/acorex-platform-module-assessment-management-client-fill-assessment-session.command-xJKBN_ld.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-form-template-viewer-popup.component-BU6YLe8q.mjs → acorex-platform-module-assessment-management-client-form-template-viewer-popup.component-BJR4IfPd.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-form-template-viewer-popup.component-BU6YLe8q.mjs.map → acorex-platform-module-assessment-management-client-form-template-viewer-popup.component-BJR4IfPd.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-form-template-viewer.service-CZre8wPB.mjs → acorex-platform-module-assessment-management-client-form-template-viewer.service-R-ggiWLO.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-assessment-management-client-form-template-viewer.service-CZre8wPB.mjs.map → acorex-platform-module-assessment-management-client-form-template-viewer.service-R-ggiWLO.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-index-BmODQqQ4.mjs → acorex-platform-module-assessment-management-client-index-BZtiVD2e.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-index-BmODQqQ4.mjs.map → acorex-platform-module-assessment-management-client-index-BZtiVD2e.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-open-form-template.command-C9BMiyDb.mjs → acorex-platform-module-assessment-management-client-open-form-template.command-C4081c1C.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-assessment-management-client-open-form-template.command-C9BMiyDb.mjs.map → acorex-platform-module-assessment-management-client-open-form-template.command-C4081c1C.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-preview-form-template.command-L5NxVqdE.mjs → acorex-platform-module-assessment-management-client-preview-form-template.command-CBmZ-Bmy.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-preview-form-template.command-L5NxVqdE.mjs.map → acorex-platform-module-assessment-management-client-preview-form-template.command-CBmZ-Bmy.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-preview-question.command-7GuqlVX4.mjs → acorex-platform-module-assessment-management-client-preview-question.command-DVnUPcnM.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-preview-question.command-7GuqlVX4.mjs.map → acorex-platform-module-assessment-management-client-preview-question.command-DVnUPcnM.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-preview-questionnaire.command-ChtB6q9D.mjs → acorex-platform-module-assessment-management-client-preview-questionnaire.command-ZDwi_ANo.mjs} +3 -2
- package/fesm2022/acorex-platform-module-assessment-management-client-preview-questionnaire.command-ZDwi_ANo.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-question-bank-interface-editor-widget-edit.component-Iwdbc86Q.mjs → acorex-platform-module-assessment-management-client-question-bank-interface-editor-widget-edit.component-xVopqBXb.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-question-bank-interface-editor-widget-edit.component-Iwdbc86Q.mjs.map → acorex-platform-module-assessment-management-client-question-bank-interface-editor-widget-edit.component-xVopqBXb.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-questionnaire-questions-editor-edit.component-Q6Wu81xW.mjs → acorex-platform-module-assessment-management-client-questionnaire-questions-editor-edit.component-CzBwueq5.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-questionnaire-questions-editor-edit.component-Q6Wu81xW.mjs.map → acorex-platform-module-assessment-management-client-questionnaire-questions-editor-edit.component-CzBwueq5.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-questionnaire-viewer-edit.component-CaKML07K.mjs → acorex-platform-module-assessment-management-client-questionnaire-viewer-edit.component-dQVv8Byi.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-questionnaire-viewer-edit.component-CaKML07K.mjs.map → acorex-platform-module-assessment-management-client-questionnaire-viewer-edit.component-dQVv8Byi.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-xDX86cTn.mjs → acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-C7NKQ3JK.mjs} +8 -5
- package/fesm2022/acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-C7NKQ3JK.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-related-content-viewer-page-component.provider-CiMERtrE.mjs → acorex-platform-module-assessment-management-client-related-content-viewer-page-component.provider-C30AdJgp.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-related-content-viewer-page-component.provider-CiMERtrE.mjs.map → acorex-platform-module-assessment-management-client-related-content-viewer-page-component.provider-C30AdJgp.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-review-assessment-session.command-CfqUtmMt.mjs → acorex-platform-module-assessment-management-client-review-assessment-session.command-CUgxOyhV.mjs} +5 -5
- package/fesm2022/acorex-platform-module-assessment-management-client-review-assessment-session.command-CUgxOyhV.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-show-form-template-viewer-popup.command-BZxwRr8J.mjs → acorex-platform-module-assessment-management-client-show-form-template-viewer-popup.command-D4XOgSLK.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-assessment-management-client-show-form-template-viewer-popup.command-BZxwRr8J.mjs.map → acorex-platform-module-assessment-management-client-show-form-template-viewer-popup.command-D4XOgSLK.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-show-questionnaire-questions-popup.command-hrtJQmvG.mjs → acorex-platform-module-assessment-management-client-show-questionnaire-questions-popup.command-HMUwV7JV.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-show-questionnaire-questions-popup.command-hrtJQmvG.mjs.map → acorex-platform-module-assessment-management-client-show-questionnaire-questions-popup.command-HMUwV7JV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-show-questionnaire-viewer-popup.command-CMUmrNac.mjs → acorex-platform-module-assessment-management-client-show-questionnaire-viewer-popup.command-qxFtVjPL.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-show-questionnaire-viewer-popup.command-CMUmrNac.mjs.map → acorex-platform-module-assessment-management-client-show-questionnaire-viewer-popup.command-qxFtVjPL.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-template-widget-edit.component-BhW_Wn7N.mjs → acorex-platform-module-assessment-management-client-template-widget-edit.component-ToNSOrm0.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-template-widget-edit.component-BhW_Wn7N.mjs.map → acorex-platform-module-assessment-management-client-template-widget-edit.component-ToNSOrm0.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-test-sheet-cell-type-widget-edit.component-Dkaw3T8R.mjs → acorex-platform-module-assessment-management-client-test-sheet-cell-type-widget-edit.component-IrGyg6gp.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-test-sheet-cell-type-widget-edit.component-Dkaw3T8R.mjs.map → acorex-platform-module-assessment-management-client-test-sheet-cell-type-widget-edit.component-IrGyg6gp.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-test-sheet-grid.component-BCRIENMA.mjs → acorex-platform-module-assessment-management-client-test-sheet-grid.component-YuI3fd0M.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-assessment-management-client-test-sheet-grid.component-BCRIENMA.mjs.map → acorex-platform-module-assessment-management-client-test-sheet-grid.component-YuI3fd0M.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-test-sheet-schema-widget-edit.component-CFu_CQ91.mjs → acorex-platform-module-assessment-management-client-test-sheet-schema-widget-edit.component-Bj3yQcnK.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-assessment-management-client-test-sheet-schema-widget-edit.component-CFu_CQ91.mjs.map → acorex-platform-module-assessment-management-client-test-sheet-schema-widget-edit.component-Bj3yQcnK.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-test-sheet-widget-edit.component-DdC83GV8.mjs → acorex-platform-module-assessment-management-client-test-sheet-widget-edit.component-jiWQ9kKS.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-assessment-management-client-test-sheet-widget-edit.component-DdC83GV8.mjs.map → acorex-platform-module-assessment-management-client-test-sheet-widget-edit.component-jiWQ9kKS.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-test-sheet-widget-view.component-OQZIzcjG.mjs → acorex-platform-module-assessment-management-client-test-sheet-widget-view.component-DKTfJTSJ.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-assessment-management-client-test-sheet-widget-view.component-OQZIzcjG.mjs.map → acorex-platform-module-assessment-management-client-test-sheet-widget-view.component-DKTfJTSJ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-test-sheet.util-CPbgWk5E.mjs → acorex-platform-module-assessment-management-client-test-sheet.util-Dtmdv9Za.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-test-sheet.util-CPbgWk5E.mjs.map → acorex-platform-module-assessment-management-client-test-sheet.util-Dtmdv9Za.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-view-session-answers.command-YoUUyJ4j.mjs → acorex-platform-module-assessment-management-client-view-session-answers.command-Dkv_lnpQ.mjs} +6 -6
- package/fesm2022/acorex-platform-module-assessment-management-client-view-session-answers.command-Dkv_lnpQ.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-assessment-management-client.mjs +1 -1
- package/i18n/en-AU/assessment-management.json +9 -2
- package/i18n/en-US/assessment-management.json +9 -2
- package/i18n/fa-IR/assessment-management.json +8 -1
- package/package.json +3 -3
- package/types/acorex-platform-module-assessment-management-client-contracts.d.ts +38 -3
- package/types/acorex-platform-module-assessment-management-client.d.ts +4 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-acorex-platform-module-assessment-management-client-sm_OxV_k.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-assessment-session-answers-view.util-42ZcOY2C.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-case.entity-DXJp2k3o.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-session.entity-Q7-5toSQ.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-questionnaire.entity-DOG7yHv-.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-fill-assessment-session.command-BOzXBvS2.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-preview-questionnaire.command-ChtB6q9D.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-xDX86cTn.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-review-assessment-session.command-CfqUtmMt.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-view-session-answers.command-YoUUyJ4j.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXMAssessmentManagementFeatureKeys, RootConfig, AXPSafetyRiskPermissionKeys, AXPAssessmentManagementMenuKeys, AXPContentDocumentsPermissionKeys, AXPFormTemplateManagementMenuKeys, AXMFormTemplateTypes, QUESTIONNAIRE_QUESTIONS_PAGE_COMPONENT_KEY, parseQuestionHintPartialFromRecord, flattenQuestionnaireOutcomeItems, normalizeQuestionnaireOutcomesValue, normalizeQuestionnaireOutcomeDisplayRules, matchesQuestionnaireOutcomeDisplayRule, readQuestionnaireItemColSpan, normalizeQuestionCommentConfig, commentConfigForEditForm, mergeQuestionCommentConfig, normalizeQuestionHintFromEntityRow, mergeQuestionHintForViewer, questionnaireItemLayoutOverride, normalizeQuestionHintMode, normalizeQuestionHintConfig, diffQuestionHintOverride, diffQuestionCommentOverride, toDisplaySettings, toPrintSettings, toPrePostConfig, findDuplicateOutcomeNames, QUESTIONNAIRE_OUTCOMES_PAGE_COMPONENT_KEY, resolvePrintSettings, resolvePrintPaging, getQuestionAnswerCommentStoragePath, getQuestionCommentVisibilityFlag, DEFAULT_QUESTIONNAIRE_PRINT_SETTINGS, normalizeCompletionMode, wrapPrintDocument, minifyPrintHtml, resolvePrintPlainText, parseQuestionnaireOutcomeDisplayColor, isQuestionnaireOutcomeDisplayColorHex, resolvePrintContentWidthMm } from '@acorex-platform/module-assessment-management-client/contracts';
|
|
1
|
+
import { AXMAssessmentManagementFeatureKeys, RootConfig, AXPSafetyRiskPermissionKeys, AXPAssessmentManagementMenuKeys, AXPContentDocumentsPermissionKeys, AXPFormTemplateManagementMenuKeys, AXMFormTemplateTypes, QUESTIONNAIRE_QUESTIONS_PAGE_COMPONENT_KEY, parseQuestionHintPartialFromRecord, flattenQuestionnaireOutcomeItems, normalizeQuestionnaireOutcomesValue, normalizeQuestionnaireOutcomeDisplayRules, matchesQuestionnaireOutcomeDisplayRule, readQuestionnaireItemColSpan, normalizeQuestionCommentConfig, commentConfigForEditForm, mergeQuestionCommentConfig, normalizeQuestionHintFromEntityRow, mergeQuestionHintForViewer, questionnaireItemLayoutOverride, normalizeQuestionHintMode, normalizeQuestionHintConfig, diffQuestionHintOverride, diffQuestionCommentOverride, toDisplaySettings, toPrintSettings, toPrePostConfig, findDuplicateOutcomeNames, QUESTIONNAIRE_OUTCOMES_PAGE_COMPONENT_KEY, resolvePrintSettings, resolvePrintPaging, getQuestionAnswerCommentStoragePath, getQuestionCommentVisibilityFlag, DEFAULT_QUESTIONNAIRE_PRINT_SETTINGS, toPersistedAnswers, normalizeCompletionMode, toViewerAnswers, wrapPrintDocument, minifyPrintHtml, resolvePrintPlainText, parseQuestionnaireOutcomeDisplayColor, isQuestionnaireOutcomeDisplayColorHex, resolvePrintContentWidthMm } from '@acorex-platform/module-assessment-management-client/contracts';
|
|
2
2
|
import { AXPCommonMenuKeys, AXPCommonPermissionGroupKeys } from '@acorex-platform/module-common-client/contracts';
|
|
3
3
|
import { AXPEntityService, cloneLayoutArrays, actionExists, ensureLayoutSection, ensureLayoutPropertyView, AXP_ENTITY_ACTION_PLUGIN, AXPEntityDefinitionRegistryService, AXPFileListComponent } from '@acorex-platform/framework-client/layout/entity';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
@@ -84,6 +84,12 @@ class AXMAssessmentManagementFeatureDefinitionProvider {
|
|
|
84
84
|
defaultValue: false,
|
|
85
85
|
type: 'boolean',
|
|
86
86
|
});
|
|
87
|
+
context.addFeature(AXMAssessmentManagementFeatureKeys.QuestionnairePrint, {
|
|
88
|
+
title: '@assessment-management:features.questionnaire-print.title',
|
|
89
|
+
description: '@assessment-management:features.questionnaire-print.description',
|
|
90
|
+
defaultValue: false,
|
|
91
|
+
type: 'boolean',
|
|
92
|
+
});
|
|
87
93
|
}
|
|
88
94
|
}
|
|
89
95
|
//#endregion
|
|
@@ -1020,10 +1026,10 @@ const AXMQuestionnaireQuestionsEditorWidget = {
|
|
|
1020
1026
|
properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY],
|
|
1021
1027
|
components: {
|
|
1022
1028
|
view: {
|
|
1023
|
-
component: () => import('./acorex-platform-module-assessment-management-client-questionnaire-questions-editor-edit.component-
|
|
1029
|
+
component: () => import('./acorex-platform-module-assessment-management-client-questionnaire-questions-editor-edit.component-CzBwueq5.mjs').then((module) => module.AXMQuestionnaireQuestionsEditorEditComponent),
|
|
1024
1030
|
},
|
|
1025
1031
|
edit: {
|
|
1026
|
-
component: () => import('./acorex-platform-module-assessment-management-client-questionnaire-questions-editor-edit.component-
|
|
1032
|
+
component: () => import('./acorex-platform-module-assessment-management-client-questionnaire-questions-editor-edit.component-CzBwueq5.mjs').then((module) => module.AXMQuestionnaireQuestionsEditorEditComponent),
|
|
1027
1033
|
},
|
|
1028
1034
|
},
|
|
1029
1035
|
};
|
|
@@ -1282,10 +1288,10 @@ const AXMQuestionnaireViewerWidget = {
|
|
|
1282
1288
|
properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY],
|
|
1283
1289
|
components: {
|
|
1284
1290
|
view: {
|
|
1285
|
-
component: () => import('./acorex-platform-module-assessment-management-client-questionnaire-viewer-edit.component-
|
|
1291
|
+
component: () => import('./acorex-platform-module-assessment-management-client-questionnaire-viewer-edit.component-dQVv8Byi.mjs').then((module) => module.AXMQuestionnaireViewerEditComponent),
|
|
1286
1292
|
},
|
|
1287
1293
|
edit: {
|
|
1288
|
-
component: () => import('./acorex-platform-module-assessment-management-client-questionnaire-viewer-edit.component-
|
|
1294
|
+
component: () => import('./acorex-platform-module-assessment-management-client-questionnaire-viewer-edit.component-dQVv8Byi.mjs').then((module) => module.AXMQuestionnaireViewerEditComponent),
|
|
1289
1295
|
},
|
|
1290
1296
|
},
|
|
1291
1297
|
};
|
|
@@ -1408,10 +1414,10 @@ const AXMQuestionBankInterfaceEditorWidget = {
|
|
|
1408
1414
|
],
|
|
1409
1415
|
components: {
|
|
1410
1416
|
edit: {
|
|
1411
|
-
component: () => import('./acorex-platform-module-assessment-management-client-question-bank-interface-editor-widget-edit.component-
|
|
1417
|
+
component: () => import('./acorex-platform-module-assessment-management-client-question-bank-interface-editor-widget-edit.component-xVopqBXb.mjs').then((c) => c.AXMQuestionBankInterfaceEditorWidgetEditComponent),
|
|
1412
1418
|
},
|
|
1413
1419
|
designer: {
|
|
1414
|
-
component: () => import('./acorex-platform-module-assessment-management-client-question-bank-interface-editor-widget-edit.component-
|
|
1420
|
+
component: () => import('./acorex-platform-module-assessment-management-client-question-bank-interface-editor-widget-edit.component-xVopqBXb.mjs').then((c) => c.AXMQuestionBankInterfaceEditorWidgetEditComponent),
|
|
1415
1421
|
},
|
|
1416
1422
|
column: {
|
|
1417
1423
|
component: () => import('@acorex-platform/framework-client/layout/widgets').then((m) => m.AXPWidgetFieldConfiguratorWidgetColumnComponent),
|
|
@@ -1475,16 +1481,16 @@ const AXMTestSheetWidget = {
|
|
|
1475
1481
|
properties: [{ ...AXP_DATA_PATH_PROPERTY, visible: false }, TEST_SHEET_DEFINITION_PROPERTY],
|
|
1476
1482
|
components: {
|
|
1477
1483
|
view: {
|
|
1478
|
-
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-widget-view.component-
|
|
1484
|
+
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-widget-view.component-DKTfJTSJ.mjs').then((c) => c.AXMTestSheetWidgetViewComponent),
|
|
1479
1485
|
},
|
|
1480
1486
|
edit: {
|
|
1481
|
-
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-widget-edit.component-
|
|
1487
|
+
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-widget-edit.component-jiWQ9kKS.mjs').then((c) => c.AXMTestSheetWidgetEditComponent),
|
|
1482
1488
|
},
|
|
1483
1489
|
column: {
|
|
1484
1490
|
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-widget-column.component-B3Lx7yuD.mjs').then((c) => c.AXMTestSheetWidgetColumnComponent),
|
|
1485
1491
|
},
|
|
1486
1492
|
designer: {
|
|
1487
|
-
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-widget-edit.component-
|
|
1493
|
+
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-widget-edit.component-jiWQ9kKS.mjs').then((c) => c.AXMTestSheetWidgetEditComponent),
|
|
1488
1494
|
},
|
|
1489
1495
|
},
|
|
1490
1496
|
};
|
|
@@ -1502,13 +1508,13 @@ const AXMTestSheetCellTypeWidget = {
|
|
|
1502
1508
|
properties: [AXP_DATA_PATH_PROPERTY],
|
|
1503
1509
|
components: {
|
|
1504
1510
|
edit: {
|
|
1505
|
-
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-cell-type-widget-edit.component-
|
|
1511
|
+
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-cell-type-widget-edit.component-IrGyg6gp.mjs').then((c) => c.AXMTestSheetCellTypeWidgetEditComponent),
|
|
1506
1512
|
},
|
|
1507
1513
|
view: {
|
|
1508
|
-
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-cell-type-widget-edit.component-
|
|
1514
|
+
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-cell-type-widget-edit.component-IrGyg6gp.mjs').then((c) => c.AXMTestSheetCellTypeWidgetEditComponent),
|
|
1509
1515
|
},
|
|
1510
1516
|
designer: {
|
|
1511
|
-
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-cell-type-widget-edit.component-
|
|
1517
|
+
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-cell-type-widget-edit.component-IrGyg6gp.mjs').then((c) => c.AXMTestSheetCellTypeWidgetEditComponent),
|
|
1512
1518
|
},
|
|
1513
1519
|
},
|
|
1514
1520
|
};
|
|
@@ -1526,13 +1532,13 @@ const AXMTestSheetSchemaWidget = {
|
|
|
1526
1532
|
properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY],
|
|
1527
1533
|
components: {
|
|
1528
1534
|
edit: {
|
|
1529
|
-
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-schema-widget-edit.component-
|
|
1535
|
+
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-schema-widget-edit.component-Bj3yQcnK.mjs').then((c) => c.AXMTestSheetSchemaWidgetEditComponent),
|
|
1530
1536
|
},
|
|
1531
1537
|
view: {
|
|
1532
|
-
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-schema-widget-edit.component-
|
|
1538
|
+
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-schema-widget-edit.component-Bj3yQcnK.mjs').then((c) => c.AXMTestSheetSchemaWidgetEditComponent),
|
|
1533
1539
|
},
|
|
1534
1540
|
designer: {
|
|
1535
|
-
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-schema-widget-edit.component-
|
|
1541
|
+
component: () => import('./acorex-platform-module-assessment-management-client-test-sheet-schema-widget-edit.component-Bj3yQcnK.mjs').then((c) => c.AXMTestSheetSchemaWidgetEditComponent),
|
|
1536
1542
|
},
|
|
1537
1543
|
},
|
|
1538
1544
|
};
|
|
@@ -1975,7 +1981,7 @@ class AXMQuestionnaireViewerService {
|
|
|
1975
1981
|
outcomeRules: config.outcomeRules,
|
|
1976
1982
|
}));
|
|
1977
1983
|
const result = await this.dialogOpener.openPopup({
|
|
1978
|
-
load: () => import('./acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-
|
|
1984
|
+
load: () => import('./acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-C7NKQ3JK.mjs').then((module) => module.AXMQuestionnaireViewerPopupComponent),
|
|
1979
1985
|
data: { title: config.title, questionnaireId: config.questionnaireId ?? '' },
|
|
1980
1986
|
show: (component) => this.popupService.open(component, {
|
|
1981
1987
|
title: config.title,
|
|
@@ -3721,7 +3727,7 @@ class AXMQuestionnaireQuestionsBuilderComponent {
|
|
|
3721
3727
|
structure: currentValue,
|
|
3722
3728
|
prePostConfig: this.prePostConfig() ?? undefined,
|
|
3723
3729
|
questionnaireId: this.questionnaireEntityId(),
|
|
3724
|
-
config: { previewMode: true },
|
|
3730
|
+
config: { previewMode: true, pdfPreview: true },
|
|
3725
3731
|
});
|
|
3726
3732
|
// Handle result if needed (answers, submitted status)
|
|
3727
3733
|
if (result) {
|
|
@@ -6272,6 +6278,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
6272
6278
|
options: {
|
|
6273
6279
|
...existingOptions,
|
|
6274
6280
|
readonly: resolveQuestionWidgetReadonly(answerKey, config, existingOptions.readonly),
|
|
6281
|
+
...(config?.readonly === true ? { disabled: true } : {}),
|
|
6275
6282
|
validations: validations.length > 0 ? validations : undefined,
|
|
6276
6283
|
},
|
|
6277
6284
|
};
|
|
@@ -6404,6 +6411,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
6404
6411
|
options: {
|
|
6405
6412
|
...existingOptions,
|
|
6406
6413
|
readonly: resolveQuestionWidgetReadonly(answerKey, config, existingOptions.readonly),
|
|
6414
|
+
...(config?.readonly === true ? { disabled: true } : {}),
|
|
6407
6415
|
validations: validations.length > 0 ? validations : undefined,
|
|
6408
6416
|
},
|
|
6409
6417
|
};
|
|
@@ -7322,7 +7330,8 @@ class AXMQuestionnaireViewerQuestionComponent {
|
|
|
7322
7330
|
if (this.mode() === 'view') {
|
|
7323
7331
|
return 'view';
|
|
7324
7332
|
}
|
|
7325
|
-
|
|
7333
|
+
// Readonly still uses the edit widgets so the form is visible. Submit stays hidden by isReadonly.
|
|
7334
|
+
return 'edit';
|
|
7326
7335
|
}, /* @ts-ignore */
|
|
7327
7336
|
...(ngDevMode ? [{ debugName: "effectiveMode" }] : /* istanbul ignore next */ []));
|
|
7328
7337
|
/** Non-off hint for the template (narrows discriminated union for `content`). */
|
|
@@ -7594,7 +7603,7 @@ class AXMQuestionnaireViewerQuestionComponent {
|
|
|
7594
7603
|
/>
|
|
7595
7604
|
}
|
|
7596
7605
|
</div>
|
|
7597
|
-
`, isInline: true, styles: ["@layer properties;axm-questionnaire-viewer-question{display:block}axm-questionnaire-viewer-question .__question-item{display:flex;flex-direction:column;gap:var(--spacing, .25rem);padding:calc(var(--spacing, .25rem) * 4);text-align:start;transition-property:all;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration, var(--default-transition-duration, .15s));--tw-duration: .2s;transition-duration:.2s;border-radius:var(--radius-lg, .5rem);border-style:var(--tw-border-style);border-width:1px;border-color:rgba(var(--ax-sys-color-surface));--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}axm-questionnaire-viewer-question .__question-item:hover{background:rgba(var(--ax-sys-color-primary-surface),.08);border-color:rgba(var(--ax-sys-color-primary-surface),.14)}axm-questionnaire-viewer-question .__question-item.__answered{background:rgba(var(--ax-sys-color-primary-surface),.14);border-color:rgba(var(--ax-sys-color-primary-surface),.5)}axm-questionnaire-viewer-question .__question-item.__print-mode{box-shadow:none}axm-questionnaire-viewer-question .__question-item.__print-mode:hover{background:inherit;border-color:inherit}axm-questionnaire-viewer-question .__question-item.__print-plain{background:transparent;border:none;border-radius:0;box-shadow:none;padding-inline:0}axm-questionnaire-viewer-question .__question-item.__print-plain:hover{background:transparent;border:none}axm-questionnaire-viewer-question .__question-item .__question-header{display:flex;width:100%;min-width:0px;align-items:flex-start;justify-content:space-between;gap:calc(var(--spacing, .25rem) * 4)}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-left{display:flex;flex-shrink:0;align-items:center;gap:calc(var(--spacing, .25rem) * 3)}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-left .__question-number{font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600);color:rgba(var(--ax-sys-color-primary-600))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-left .__question-counter{font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500);color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right{display:flex;min-width:0px;flex:1;flex-wrap:wrap;align-items:flex-start;gap:calc(var(--spacing, .25rem) * 2)}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block{min-width:0px;flex:1;text-align:start}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block h3.__question-title{--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500)}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title{margin:0;min-width:0px;flex:1;text-align:start;font-size:var(--text-base, 1rem);line-height:var(--tw-leading, var(--text-base--line-height, 1.5 ));color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title.__question-title--rich{--tw-font-weight: var(--font-weight-normal, 400);font-weight:var(--font-weight-normal, 400)}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich{width:100%;max-width:100%;text-align:start;font-size:var(--text-base, 1rem);line-height:var(--tw-leading, var(--text-base--line-height, 1.5 ));color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich p{margin:0}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich p:first-child{margin-top:0}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich ul{list-style-type:disc;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich ul ul{list-style-type:circle;margin-block:.25rem 0}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich ol{list-style-type:decimal;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich li{margin-block:.125rem;padding-inline-start:.25rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__answered-badge{border-radius:.25rem;padding-inline:calc(var(--spacing, .25rem) * 2);padding-block:var(--spacing, .25rem);font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500);background-color:rgb(var(--ax-sys-color-success-lighter-surface));color:rgb(var(--ax-sys-color-on-success-lighter-surface))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__required-badge{border-radius:.25rem;padding-inline:calc(var(--spacing, .25rem) * 2);padding-block:var(--spacing, .25rem);font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500);background-color:rgb(var(--ax-sys-color-warning-lighter-surface));color:rgb(var(--ax-sys-color-on-warning-lighter-surface))}axm-questionnaire-viewer-question .__question-item .__question-note{font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__question-note p{margin:0}axm-questionnaire-viewer-question .__question-item .__question-note p:first-child{margin-top:0}axm-questionnaire-viewer-question .__question-item .__question-note ul{list-style-type:disc;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-question .__question-item .__question-note ol{list-style-type:decimal;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-question .__question-item .__question-note li{margin-block:.125rem}axm-questionnaire-viewer-question .__question-item .__question-description{margin-top:var(--spacing, .25rem);font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__question-widget{text-align:start}axm-questionnaire-viewer-question .__question-item .__question-widget>*{margin-bottom:0}axm-questionnaire-viewer-question .__question-item .__widget-placeholder{border-radius:.25rem;border-style:var(--tw-border-style);border-width:1px;--tw-border-style: dashed;border-style:dashed;padding:calc(var(--spacing, .25rem) * 4);font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));font-style:italic;color:rgb(var(--ax-sys-color-on-surface-variant));background-color:var(--color-lighter);color:var(--color-on-lighter);border-color:var(--color-border-lighter);border-color:rgba(var(--ax-sys-color-surface))}axm-questionnaire-viewer-question .__question-item .__question-comment{display:flex;width:100%;flex-direction:column;gap:var(--spacing, .25rem)}axm-questionnaire-viewer-question .__question-item .__question-comment ax-text-area{margin-top:calc(var(--spacing, .25rem) * 2)}axm-questionnaire-viewer-question .__question-item .__question-comment--readonly{margin-top:calc(var(--spacing, .25rem) * 2)}axm-questionnaire-viewer-question .__question-item .__question-comment-text{margin:0;width:100%;font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));white-space:pre-wrap;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-question .__question-item .__question-comment-label{font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500);color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__question-comment-required{color:rgb(var(--ax-sys-color-danger-600))}axm-questionnaire-viewer-question .__question-item axp-file-list.--look-links.--links-inline{display:block;padding-top:calc(var(--spacing, .25rem) * 3)}@property --tw-duration{syntax: \"*\"; inherits: false;}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --tw-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: \"*\"; inherits: false;}@property --tw-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: \"*\"; inherits: false;}@property --tw-inset-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: \"*\"; inherits: false;}@property --tw-ring-offset-width{syntax: \"<length>\"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: \"*\"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-duration: initial;--tw-border-style: solid;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000;--tw-font-weight: initial}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "directive", type: i1$1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged", "onLoad"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXAlertModule }, { kind: "component", type: i2$1.AXAlertComponent, selector: "ax-alert", inputs: ["color", "timeOut"], outputs: ["colorChange", "onClosed", "timeOutChange"] }, { 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: "ngmodule", type: AXTextAreaModule }, { kind: "component", type: i4.AXTextAreaComponent, selector: "ax-text-area", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "placeholder", "maxLength", "look", "rows", "allowResize", "showCounter", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: AXPFileListComponent, selector: "axp-file-list", inputs: ["readonly", "fileEditable", "enableTitleDescription", "multiple", "look", "titleKey", "showLabel", "linksLayout", "files", "accept", "maxFileSize", "showUploadZoneHint", "plugins", "excludePlugins", "capabilities"], outputs: ["onRemove", "onRevert", "onRename"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AXSafePipe, name: "safe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7606
|
+
`, isInline: true, styles: ["@layer properties;axm-questionnaire-viewer-question{display:block}axm-questionnaire-viewer-question .__question-item{display:flex;flex-direction:column;gap:var(--spacing, .25rem);padding:calc(var(--spacing, .25rem) * 4);text-align:start;transition-property:all;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration, var(--default-transition-duration, .15s));--tw-duration: .2s;transition-duration:.2s;border-radius:var(--radius-lg, .5rem);border-style:var(--tw-border-style);border-width:1px;border-color:rgba(var(--ax-sys-color-surface));--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}axm-questionnaire-viewer-question .__question-item:hover{background:rgba(var(--ax-sys-color-primary-surface),.08);border-color:rgba(var(--ax-sys-color-primary-surface),.14)}axm-questionnaire-viewer-question .__question-item.__answered{background:rgba(var(--ax-sys-color-primary-surface),.14);border-color:rgba(var(--ax-sys-color-primary-surface),.5)}axm-questionnaire-viewer-question .__question-item.__print-mode{box-shadow:none}axm-questionnaire-viewer-question .__question-item.__print-mode:hover{background:inherit;border-color:inherit}axm-questionnaire-viewer-question .__question-item.__print-plain{background:transparent;border:none;border-radius:0;box-shadow:none;padding-inline:0}axm-questionnaire-viewer-question .__question-item.__print-plain:hover{background:transparent;border:none}axm-questionnaire-viewer-question .__question-item .__question-header{display:flex;width:100%;min-width:0px;align-items:flex-start;justify-content:space-between;gap:calc(var(--spacing, .25rem) * 4)}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-left{display:flex;flex-shrink:0;align-items:center;gap:calc(var(--spacing, .25rem) * 3)}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-left .__question-number{font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600);color:rgba(var(--ax-sys-color-primary-600))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-left .__question-counter{font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500);color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right{display:flex;min-width:0px;flex:1;flex-wrap:wrap;align-items:flex-start;gap:calc(var(--spacing, .25rem) * 2)}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block{min-width:0px;flex:1;text-align:start}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block h3.__question-title{--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500)}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title{margin:0;min-width:0px;flex:1;text-align:start;font-size:var(--text-base, 1rem);line-height:var(--tw-leading, var(--text-base--line-height, 1.5 ));color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title.__question-title--rich{--tw-font-weight: var(--font-weight-normal, 400);font-weight:var(--font-weight-normal, 400)}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich{width:100%;max-width:100%;text-align:start;font-size:var(--text-base, 1rem);line-height:var(--tw-leading, var(--text-base--line-height, 1.5 ));color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich p{margin:0}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich p:first-child{margin-top:0}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich ul{list-style-type:disc;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich ul ul{list-style-type:circle;margin-block:.25rem 0}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich ol{list-style-type:decimal;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich li{margin-block:.125rem;padding-inline-start:.25rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__answered-badge{border-radius:.25rem;padding-inline:calc(var(--spacing, .25rem) * 2);padding-block:var(--spacing, .25rem);font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500);background-color:rgb(var(--ax-sys-color-success-lighter-surface));color:rgb(var(--ax-sys-color-on-success-lighter-surface))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__required-badge{border-radius:.25rem;padding-inline:calc(var(--spacing, .25rem) * 2);padding-block:var(--spacing, .25rem);font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500);background-color:rgb(var(--ax-sys-color-warning-lighter-surface));color:rgb(var(--ax-sys-color-on-warning-lighter-surface))}axm-questionnaire-viewer-question .__question-item .__question-note{font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__question-note p{margin:0}axm-questionnaire-viewer-question .__question-item .__question-note p:first-child{margin-top:0}axm-questionnaire-viewer-question .__question-item .__question-note ul{list-style-type:disc;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-question .__question-item .__question-note ol{list-style-type:decimal;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-question .__question-item .__question-note li{margin-block:.125rem}axm-questionnaire-viewer-question .__question-item .__question-description{margin-top:var(--spacing, .25rem);font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__question-widget{text-align:start}axm-questionnaire-viewer-question .__question-item .__question-widget>*{margin-bottom:0}axm-questionnaire-viewer-question .__question-item .__widget-placeholder{border-radius:.25rem;border-style:var(--tw-border-style);border-width:1px;--tw-border-style: dashed;border-style:dashed;padding:calc(var(--spacing, .25rem) * 4);font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));font-style:italic;color:rgb(var(--ax-sys-color-on-surface-variant));background-color:var(--color-lighter);color:var(--color-on-lighter);border-color:var(--color-border-lighter);border-color:rgba(var(--ax-sys-color-surface))}axm-questionnaire-viewer-question .__question-item .__question-comment{display:flex;width:100%;flex-direction:column;gap:var(--spacing, .25rem)}axm-questionnaire-viewer-question .__question-item .__question-comment ax-text-area{margin-top:calc(var(--spacing, .25rem) * 2)}axm-questionnaire-viewer-question .__question-item .__question-comment--readonly{margin-top:calc(var(--spacing, .25rem) * 2)}axm-questionnaire-viewer-question .__question-item .__question-comment-text{margin:0;width:100%;font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));white-space:pre-wrap;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-question .__question-item .__question-comment-label{font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500);color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__question-comment-required{color:rgb(var(--ax-sys-color-danger-600))}axm-questionnaire-viewer-question .__question-item axp-file-list.--look-links.--links-inline{display:block;padding-top:calc(var(--spacing, .25rem) * 3)}@property --tw-duration{syntax: \"*\"; inherits: false;}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --tw-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: \"*\"; inherits: false;}@property --tw-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: \"*\"; inherits: false;}@property --tw-inset-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: \"*\"; inherits: false;}@property --tw-ring-offset-width{syntax: \"<length>\"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: \"*\"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-duration: initial;--tw-border-style: solid;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000;--tw-font-weight: initial}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "directive", type: i1$1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged", "onLoad"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXAlertModule }, { kind: "component", type: i2$1.AXAlertComponent, selector: "ax-alert", inputs: ["color", "timeOut"], outputs: ["colorChange", "onClosed", "timeOutChange"] }, { 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: "ngmodule", type: AXTextAreaModule }, { kind: "component", type: i4.AXTextAreaComponent, selector: "ax-text-area", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "placeholder", "maxLength", "look", "rows", "allowResize", "showCounter", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: AXPFileListComponent, selector: "axp-file-list", inputs: ["readonly", "fileEditable", "enableTitleDescription", "multiple", "look", "showActions", "titleKey", "showLabel", "linksLayout", "files", "accept", "maxFileSize", "showUploadZoneHint", "plugins", "excludePlugins", "capabilities"], outputs: ["onRemove", "onRevert", "onRename"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AXSafePipe, name: "safe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7598
7607
|
}
|
|
7599
7608
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMQuestionnaireViewerQuestionComponent, decorators: [{
|
|
7600
7609
|
type: Component,
|
|
@@ -7878,11 +7887,11 @@ class AXMQuestionnaireViewerPagePerQuestionViewComponent {
|
|
|
7878
7887
|
this.vm = inject(AXMQuestionnaireViewerViewModel);
|
|
7879
7888
|
}
|
|
7880
7889
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMQuestionnaireViewerPagePerQuestionViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7881
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXMQuestionnaireViewerPagePerQuestionViewComponent, isStandalone: true, selector: "axm-questionnaire-viewer-page-per-question-view", ngImport: i0, template: "@if (vm.currentQuestion(); as question) {\n <div class=\"__page-question\">\n @if (vm.currentSection(); as currentSection) {\n <axm-questionnaire-viewer-section-header\n [title]=\"currentSection.title\"\n [description]=\"currentSection.description\"\n [titleSize]=\"'md'\"\n [marginBottom]=\"'none'\"\n >\n </axm-questionnaire-viewer-section-header>\n }\n\n <axm-questionnaire-viewer-question\n class=\"mt-8\"\n [question]=\"question\"\n [sectionOrder]=\"vm.currentSectionIndex() + 1\"\n [questionIndex]=\"vm.currentQuestionIndex() + 1\"\n [showQuestionNumbers]=\"vm.showQuestionNumbers()\"\n [showQuestionCounter]=\"vm.showQuestionCounter()\"\n [currentPosition]=\"vm.currentQuestionPosition()\"\n >\n </axm-questionnaire-viewer-question>\n </div>\n}\n", styles: ["axm-questionnaire-viewer-page-per-question-view{display:flex;flex-direction:column;gap:calc(var(--spacing, .25rem) * 4);padding:calc(var(--spacing, .25rem) * 4);flex-shrink:0;background-color:var(--color-lightest);color:var(--color-on-lightest);border-color:var(--color-border-lightest)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: AXMQuestionnaireViewerQuestionComponent, selector: "axm-questionnaire-viewer-question", inputs: ["question", "contextData", "sectionOrder", "questionIndex", "showQuestionNumbers", "showQuestionCounter", "currentPosition", "mode"] }, { kind: "component", type: AXMQuestionnaireViewerSectionHeaderComponent, selector: "axm-questionnaire-viewer-section-header", inputs: ["title", "description", "titleSize", "marginBottom"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7890
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXMQuestionnaireViewerPagePerQuestionViewComponent, isStandalone: true, selector: "axm-questionnaire-viewer-page-per-question-view", ngImport: i0, template: "@if (vm.currentQuestion(); as question) {\n <div class=\"__page-question\">\n @if (vm.currentSection(); as currentSection) {\n <axm-questionnaire-viewer-section-header\n [title]=\"currentSection.title\"\n [description]=\"currentSection.description\"\n [titleSize]=\"'md'\"\n [marginBottom]=\"'none'\"\n >\n </axm-questionnaire-viewer-section-header>\n }\n\n <axm-questionnaire-viewer-question\n class=\"mt-8\"\n [question]=\"question\"\n [sectionOrder]=\"vm.currentSectionIndex() + 1\"\n [questionIndex]=\"vm.currentQuestionIndex() + 1\"\n [showQuestionNumbers]=\"vm.showQuestionNumbers()\"\n [showQuestionCounter]=\"vm.showQuestionCounter()\"\n [currentPosition]=\"vm.currentQuestionPosition()\"\n >\n </axm-questionnaire-viewer-question>\n </div>\n}\n", styles: ["axm-questionnaire-viewer-page-per-question-view{display:flex;width:100%;flex-direction:column;gap:calc(var(--spacing, .25rem) * 4);padding:calc(var(--spacing, .25rem) * 4);flex-shrink:0;background-color:var(--color-lightest);color:var(--color-on-lightest);border-color:var(--color-border-lightest)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: AXMQuestionnaireViewerQuestionComponent, selector: "axm-questionnaire-viewer-question", inputs: ["question", "contextData", "sectionOrder", "questionIndex", "showQuestionNumbers", "showQuestionCounter", "currentPosition", "mode"] }, { kind: "component", type: AXMQuestionnaireViewerSectionHeaderComponent, selector: "axm-questionnaire-viewer-section-header", inputs: ["title", "description", "titleSize", "marginBottom"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7882
7891
|
}
|
|
7883
7892
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMQuestionnaireViewerPagePerQuestionViewComponent, decorators: [{
|
|
7884
7893
|
type: Component,
|
|
7885
|
-
args: [{ selector: 'axm-questionnaire-viewer-page-per-question-view', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [AXMQuestionnaireViewerQuestionComponent, AXMQuestionnaireViewerSectionHeaderComponent], template: "@if (vm.currentQuestion(); as question) {\n <div class=\"__page-question\">\n @if (vm.currentSection(); as currentSection) {\n <axm-questionnaire-viewer-section-header\n [title]=\"currentSection.title\"\n [description]=\"currentSection.description\"\n [titleSize]=\"'md'\"\n [marginBottom]=\"'none'\"\n >\n </axm-questionnaire-viewer-section-header>\n }\n\n <axm-questionnaire-viewer-question\n class=\"mt-8\"\n [question]=\"question\"\n [sectionOrder]=\"vm.currentSectionIndex() + 1\"\n [questionIndex]=\"vm.currentQuestionIndex() + 1\"\n [showQuestionNumbers]=\"vm.showQuestionNumbers()\"\n [showQuestionCounter]=\"vm.showQuestionCounter()\"\n [currentPosition]=\"vm.currentQuestionPosition()\"\n >\n </axm-questionnaire-viewer-question>\n </div>\n}\n", styles: ["axm-questionnaire-viewer-page-per-question-view{display:flex;flex-direction:column;gap:calc(var(--spacing, .25rem) * 4);padding:calc(var(--spacing, .25rem) * 4);flex-shrink:0;background-color:var(--color-lightest);color:var(--color-on-lightest);border-color:var(--color-border-lightest)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
7894
|
+
args: [{ selector: 'axm-questionnaire-viewer-page-per-question-view', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [AXMQuestionnaireViewerQuestionComponent, AXMQuestionnaireViewerSectionHeaderComponent], template: "@if (vm.currentQuestion(); as question) {\n <div class=\"__page-question\">\n @if (vm.currentSection(); as currentSection) {\n <axm-questionnaire-viewer-section-header\n [title]=\"currentSection.title\"\n [description]=\"currentSection.description\"\n [titleSize]=\"'md'\"\n [marginBottom]=\"'none'\"\n >\n </axm-questionnaire-viewer-section-header>\n }\n\n <axm-questionnaire-viewer-question\n class=\"mt-8\"\n [question]=\"question\"\n [sectionOrder]=\"vm.currentSectionIndex() + 1\"\n [questionIndex]=\"vm.currentQuestionIndex() + 1\"\n [showQuestionNumbers]=\"vm.showQuestionNumbers()\"\n [showQuestionCounter]=\"vm.showQuestionCounter()\"\n [currentPosition]=\"vm.currentQuestionPosition()\"\n >\n </axm-questionnaire-viewer-question>\n </div>\n}\n", styles: ["axm-questionnaire-viewer-page-per-question-view{display:flex;width:100%;flex-direction:column;gap:calc(var(--spacing, .25rem) * 4);padding:calc(var(--spacing, .25rem) * 4);flex-shrink:0;background-color:var(--color-lightest);color:var(--color-on-lightest);border-color:var(--color-border-lightest)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
7886
7895
|
}] });
|
|
7887
7896
|
|
|
7888
7897
|
//#endregion
|
|
@@ -8342,7 +8351,7 @@ class AXMQuestionnaireViewerComponent {
|
|
|
8342
8351
|
this.answersChanged.emit(answers);
|
|
8343
8352
|
}
|
|
8344
8353
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMQuestionnaireViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8345
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXMQuestionnaireViewerComponent, isStandalone: true, selector: "axm-questionnaire-viewer", inputs: { questionnaireId: { classPropertyName: "questionnaireId", publicName: "questionnaireId", isSignal: true, isRequired: false, transformFunction: null }, structure: { classPropertyName: "structure", publicName: "structure", 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 } }, outputs: { answersChanged: "answersChanged", questionAnswered: "questionAnswered" }, host: { classAttribute: "axm-questionnaire-viewer" }, providers: [AXMQuestionnaireViewerViewModel], viewQueries: [{ propertyName: "form", first: true, predicate: ["form"], descendants: true, isSignal: true }, { propertyName: "widgetContainer", first: true, predicate: AXPWidgetContainerComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<axp-widgets-container #widgetContainer [attr.dir]=\"layoutDirection()\" [context]=\"{}\"\n (onContextChanged)=\"handleContextChanged()\">\n @if (vm.isLoading()) {\n <div class=\"__loading\">\n <axp-state-message icon=\"fa-light fa-spinner fa-spin\"\n [title]=\"('@assessment-management:questionnaires.components.questionnaire-viewer.loading.title' | translate | async) || ''\"\n [description]=\"('@assessment-management:questionnaires.components.questionnaire-viewer.loading.description' | translate | async) || ''\">\n </axp-state-message>\n </div>\n } @else if (vm.error()) {\n <div class=\"__error\">\n <axp-state-message icon=\"fa-light fa-exclamation-triangle\"\n [title]=\"('@assessment-management:questionnaires.components.questionnaire-viewer.error.title' | translate | async) || ''\"\n [description]=\"vm.error() || ''\">\n </axp-state-message>\n </div>\n } @else if (vm.questionnaireData()) {\n <div class=\"__questionnaire-container\">\n <ax-form #form>\n @if (vm.printLayout()) {\n <axm-questionnaire-viewer-print-view></axm-questionnaire-viewer-print-view>\n } @else if (vm.viewMode() === 'single-page') {\n <axm-questionnaire-viewer-single-page-view></axm-questionnaire-viewer-single-page-view>\n } @else if (vm.viewMode() === 'page-per-group') {\n <axm-questionnaire-viewer-page-per-group-view></axm-questionnaire-viewer-page-per-group-view>\n } @else if (vm.viewMode() === 'page-per-question') {\n <axm-questionnaire-viewer-page-per-question-view></axm-questionnaire-viewer-page-per-question-view>\n } @else if (vm.viewMode() === 'side-menu') {\n <axm-questionnaire-viewer-side-menu-view></axm-questionnaire-viewer-side-menu-view>\n }\n <ax-validation-summary [displayMode]=\"'toast'\" [autoHide]=\"true\"></ax-validation-summary>\n </ax-form>\n </div>\n }\n</axp-widgets-container>", styles: [".axm-questionnaire-viewer{display:flex;height:100%;max-height:100%;min-height:0px;width:100%;flex:1;flex-direction:column}.axm-questionnaire-viewer axp-widgets-container{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column}.axm-questionnaire-viewer .__loading,.axm-questionnaire-viewer .__error{display:flex;height:100%;align-items:center;justify-content:center}.axm-questionnaire-viewer .__questionnaire-container{display:flex;min-height:0px;flex:1;flex-direction:column;overflow:hidden}.axm-questionnaire-viewer ax-form{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n", "@layer properties;.__section-title-sticky,.__mobile-header-row{position:sticky;top:0;z-index:10;isolation:isolate;min-width:0px;align-self:stretch;--tw-border-style: none;border-style:none;background-color:var(--color-lightest);color:var(--color-on-lightest);border-color:var(--color-border-lightest);padding-inline:calc(var(--spacing, .25rem) * 4);padding-block:calc(var(--spacing, .25rem) * 3)}:is(.__section-title-sticky,.__mobile-header-row):before{content:\"\";position:absolute;z-index:-1;inset-block:0;inset-inline:0;pointer-events:none;background-color:rgb(var(--ax-sys-color-lightest-surface));border-bottom:1px solid transparent;box-shadow:none;transition:box-shadow .2s ease-out,border-color .2s ease-out}:is(.__section-title-sticky,.__mobile-header-row):after{content:\"\";position:absolute;bottom:0;left:1rem;right:1rem;border-bottom:1px solid rgb(var(--ax-sys-color-border-surface));pointer-events:none;opacity:1;transition:opacity .2s ease-out}:is(.__section-title-sticky,.__mobile-header-row).--stuck:after{opacity:0}:is(.__section-title-sticky,.__mobile-header-row).--stuck:before{border-bottom-color:rgb(var(--ax-sys-color-border-surface));--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);inset-inline:-1rem}@media(prefers-reduced-motion:reduce){.__section-title-sticky:before,.__mobile-header-row:before,.__section-title-sticky:after,.__mobile-header-row:after{transition-duration:1ms}}.__mobile-header-row{display:flex;flex-shrink:0;align-items:flex-start;gap:calc(var(--spacing, .25rem) * 2)}.__viewer-scroll{display:flex;min-height:0px;width:100%;flex:1;flex-direction:column;overflow-x:hidden;overflow-y:auto;max-height:83vh}@media(width>=48rem){.__viewer-scroll{max-height:75vh}}axm-questionnaire-viewer-popup .__content axm-questionnaire-viewer:has(.__viewer-scroll){display:flex;height:100%;max-height:100%;min-height:0px;width:100%;flex:1;flex-direction:column}axm-questionnaire-viewer-popup .__content axm-questionnaire-viewer:has(.__viewer-scroll) .__questionnaire-container{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}axm-questionnaire-viewer-popup .__content axm-questionnaire-viewer:has(.__viewer-scroll) ax-form{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}axm-questionnaire-viewer-popup .__content:has(.__viewer-scroll){overflow:hidden}axm-questionnaire-viewer-standalone-page .__content axm-questionnaire-viewer:has(.__viewer-scroll){display:flex;height:100%;max-height:100%;min-height:0px;width:100%;flex:1;flex-direction:column}axm-questionnaire-viewer-standalone-page .__content axm-questionnaire-viewer:has(.__viewer-scroll) .__questionnaire-container{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}axm-questionnaire-viewer-standalone-page .__content axm-questionnaire-viewer:has(.__viewer-scroll) ax-form{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}axm-questionnaire-viewer-standalone-page .__content:has(.__viewer-scroll){overflow:hidden}axm-questionnaire-viewer-single-page-view,axm-questionnaire-viewer-page-per-group-view{display:flex;height:100%;min-height:0px;width:100%;flex:1;flex-direction:column;overflow:hidden}@property --tw-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: \"*\"; inherits: false;}@property --tw-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: \"*\"; inherits: false;}@property --tw-inset-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: \"*\"; inherits: false;}@property --tw-ring-offset-width{syntax: \"<length>\"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: \"*\"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "component", type: AXPStateMessageComponent, selector: "axp-state-message", inputs: ["mode", "icon", "title", "description", "titleParams", "descriptionParams", "look"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i1$3.AXFormComponent, selector: "ax-form", inputs: ["disabled", "readonly", "labelMode", "look", "messageStyle", "updateOn", "inUserInteractionActive"], outputs: ["onValidate", "updateOnChange"] }, { kind: "component", type: i1$3.AXValidationSummaryComponent, selector: "ax-validation-summary", inputs: ["title", "displayMode", "timeOut", "autoHide"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "component", type: i1$1.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "component", type:
|
|
8354
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXMQuestionnaireViewerComponent, isStandalone: true, selector: "axm-questionnaire-viewer", inputs: { questionnaireId: { classPropertyName: "questionnaireId", publicName: "questionnaireId", isSignal: true, isRequired: false, transformFunction: null }, structure: { classPropertyName: "structure", publicName: "structure", 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 } }, outputs: { answersChanged: "answersChanged", questionAnswered: "questionAnswered" }, host: { classAttribute: "axm-questionnaire-viewer" }, providers: [AXMQuestionnaireViewerViewModel], viewQueries: [{ propertyName: "form", first: true, predicate: ["form"], descendants: true, isSignal: true }, { propertyName: "widgetContainer", first: true, predicate: AXPWidgetContainerComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<axp-widgets-container #widgetContainer [attr.dir]=\"layoutDirection()\" [context]=\"{}\"\n (onContextChanged)=\"handleContextChanged()\">\n @if (vm.isLoading()) {\n <div class=\"__loading\">\n <axp-state-message icon=\"fa-light fa-spinner fa-spin\"\n [title]=\"('@assessment-management:questionnaires.components.questionnaire-viewer.loading.title' | translate | async) || ''\"\n [description]=\"('@assessment-management:questionnaires.components.questionnaire-viewer.loading.description' | translate | async) || ''\">\n </axp-state-message>\n </div>\n } @else if (vm.error()) {\n <div class=\"__error\">\n <axp-state-message icon=\"fa-light fa-exclamation-triangle\"\n [title]=\"('@assessment-management:questionnaires.components.questionnaire-viewer.error.title' | translate | async) || ''\"\n [description]=\"vm.error() || ''\">\n </axp-state-message>\n </div>\n } @else if (vm.questionnaireData()) {\n <div class=\"__questionnaire-container\">\n <ax-form #form>\n @if (vm.printLayout()) {\n <axm-questionnaire-viewer-print-view></axm-questionnaire-viewer-print-view>\n } @else if (vm.viewMode() === 'single-page') {\n <axm-questionnaire-viewer-single-page-view></axm-questionnaire-viewer-single-page-view>\n } @else if (vm.viewMode() === 'page-per-group') {\n <axm-questionnaire-viewer-page-per-group-view></axm-questionnaire-viewer-page-per-group-view>\n } @else if (vm.viewMode() === 'page-per-question') {\n <axm-questionnaire-viewer-page-per-question-view></axm-questionnaire-viewer-page-per-question-view>\n } @else if (vm.viewMode() === 'side-menu') {\n <axm-questionnaire-viewer-side-menu-view></axm-questionnaire-viewer-side-menu-view>\n }\n <ax-validation-summary [displayMode]=\"'toast'\" [autoHide]=\"true\"></ax-validation-summary>\n </ax-form>\n </div>\n }\n</axp-widgets-container>", styles: [".axm-questionnaire-viewer{display:flex;height:100%;max-height:100%;min-height:0px;width:100%;flex:1;flex-direction:column}.axm-questionnaire-viewer axp-widgets-container{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column}.axm-questionnaire-viewer .__loading,.axm-questionnaire-viewer .__error{display:flex;height:100%;align-items:center;justify-content:center}.axm-questionnaire-viewer .__questionnaire-container{display:flex;min-height:0px;flex:1;flex-direction:column;overflow:hidden}.axm-questionnaire-viewer ax-form{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n", ".__section-title-sticky,.__mobile-header-row{position:sticky;top:0;z-index:10;isolation:isolate;min-width:0px;align-self:stretch;--tw-border-style: none;border-style:none;background-color:var(--color-lightest);color:var(--color-on-lightest);border-color:var(--color-border-lightest);padding-inline:calc(var(--spacing, .25rem) * 4);padding-block:calc(var(--spacing, .25rem) * 3)}:is(.__section-title-sticky,.__mobile-header-row):before{content:\"\";position:absolute;z-index:-1;inset-block:0;inset-inline:0;pointer-events:none;background-color:rgb(var(--ax-sys-color-lightest-surface));border-bottom:1px solid transparent;box-shadow:none;transition:box-shadow .2s ease-out,border-color .2s ease-out}:is(.__section-title-sticky,.__mobile-header-row):after{content:\"\";position:absolute;bottom:0;left:1rem;right:1rem;border-bottom:1px solid rgb(var(--ax-sys-color-border-surface));pointer-events:none;opacity:1;transition:opacity .2s ease-out}:is(.__section-title-sticky,.__mobile-header-row).--stuck{border-bottom:1px solid rgb(var(--ax-sys-color-border-surface));box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a}:is(.__section-title-sticky,.__mobile-header-row).--stuck:after{opacity:0}@media(prefers-reduced-motion:reduce){.__section-title-sticky:before,.__mobile-header-row:before,.__section-title-sticky:after,.__mobile-header-row:after{transition-duration:1ms}}.__mobile-header-row{display:flex;flex-shrink:0;align-items:flex-start;gap:calc(var(--spacing, .25rem) * 2)}.__viewer-scroll{display:flex;min-height:0px;width:100%;flex:1;flex-direction:column;overflow-x:hidden;overflow-y:auto;max-height:83vh}@media(width>=48rem){.__viewer-scroll{max-height:75vh}}axm-questionnaire-viewer-popup .__content axm-questionnaire-viewer:has(.__viewer-scroll){display:flex;height:100%;max-height:100%;min-height:0px;width:100%;flex:1;flex-direction:column}axm-questionnaire-viewer-popup .__content axm-questionnaire-viewer:has(.__viewer-scroll) .__questionnaire-container{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}axm-questionnaire-viewer-popup .__content axm-questionnaire-viewer:has(.__viewer-scroll) ax-form{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}axm-questionnaire-viewer-popup .__content:has(.__viewer-scroll){overflow:hidden}axm-questionnaire-viewer-standalone-page .__content axm-questionnaire-viewer:has(.__viewer-scroll){display:flex;height:100%;max-height:100%;min-height:0px;width:100%;flex:1;flex-direction:column}axm-questionnaire-viewer-standalone-page .__content axm-questionnaire-viewer:has(.__viewer-scroll) .__questionnaire-container{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}axm-questionnaire-viewer-standalone-page .__content axm-questionnaire-viewer:has(.__viewer-scroll) ax-form{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}axm-questionnaire-viewer-standalone-page .__content:has(.__viewer-scroll){overflow:hidden}axm-questionnaire-viewer-single-page-view,axm-questionnaire-viewer-page-per-group-view{display:flex;height:100%;min-height:0px;width:100%;flex:1;flex-direction:column;overflow:hidden}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "component", type: AXPStateMessageComponent, selector: "axp-state-message", inputs: ["mode", "icon", "title", "description", "titleParams", "descriptionParams", "look"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i1$3.AXFormComponent, selector: "ax-form", inputs: ["disabled", "readonly", "labelMode", "look", "messageStyle", "updateOn", "inUserInteractionActive"], outputs: ["onValidate", "updateOnChange"] }, { kind: "component", type: i1$3.AXValidationSummaryComponent, selector: "ax-validation-summary", inputs: ["title", "displayMode", "timeOut", "autoHide"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "component", type: i1$1.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "component", type:
|
|
8346
8355
|
// View components
|
|
8347
8356
|
AXMQuestionnaireViewerSinglePageViewComponent, selector: "axm-questionnaire-viewer-single-page-view" }, { kind: "component", type: AXMQuestionnaireViewerPagePerGroupViewComponent, selector: "axm-questionnaire-viewer-page-per-group-view" }, { kind: "component", type: AXMQuestionnaireViewerPagePerQuestionViewComponent, selector: "axm-questionnaire-viewer-page-per-question-view" }, { kind: "component", type: AXMQuestionnaireViewerSideMenuViewComponent, selector: "axm-questionnaire-viewer-side-menu-view" }, { kind: "component", type: AXMQuestionnaireViewerPrintViewComponent, selector: "axm-questionnaire-viewer-print-view" }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
8348
8357
|
}
|
|
@@ -8363,7 +8372,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
8363
8372
|
AXMQuestionnaireViewerPrintViewComponent,
|
|
8364
8373
|
], providers: [AXMQuestionnaireViewerViewModel], encapsulation: ViewEncapsulation.None, host: {
|
|
8365
8374
|
class: 'axm-questionnaire-viewer',
|
|
8366
|
-
}, template: "<axp-widgets-container #widgetContainer [attr.dir]=\"layoutDirection()\" [context]=\"{}\"\n (onContextChanged)=\"handleContextChanged()\">\n @if (vm.isLoading()) {\n <div class=\"__loading\">\n <axp-state-message icon=\"fa-light fa-spinner fa-spin\"\n [title]=\"('@assessment-management:questionnaires.components.questionnaire-viewer.loading.title' | translate | async) || ''\"\n [description]=\"('@assessment-management:questionnaires.components.questionnaire-viewer.loading.description' | translate | async) || ''\">\n </axp-state-message>\n </div>\n } @else if (vm.error()) {\n <div class=\"__error\">\n <axp-state-message icon=\"fa-light fa-exclamation-triangle\"\n [title]=\"('@assessment-management:questionnaires.components.questionnaire-viewer.error.title' | translate | async) || ''\"\n [description]=\"vm.error() || ''\">\n </axp-state-message>\n </div>\n } @else if (vm.questionnaireData()) {\n <div class=\"__questionnaire-container\">\n <ax-form #form>\n @if (vm.printLayout()) {\n <axm-questionnaire-viewer-print-view></axm-questionnaire-viewer-print-view>\n } @else if (vm.viewMode() === 'single-page') {\n <axm-questionnaire-viewer-single-page-view></axm-questionnaire-viewer-single-page-view>\n } @else if (vm.viewMode() === 'page-per-group') {\n <axm-questionnaire-viewer-page-per-group-view></axm-questionnaire-viewer-page-per-group-view>\n } @else if (vm.viewMode() === 'page-per-question') {\n <axm-questionnaire-viewer-page-per-question-view></axm-questionnaire-viewer-page-per-question-view>\n } @else if (vm.viewMode() === 'side-menu') {\n <axm-questionnaire-viewer-side-menu-view></axm-questionnaire-viewer-side-menu-view>\n }\n <ax-validation-summary [displayMode]=\"'toast'\" [autoHide]=\"true\"></ax-validation-summary>\n </ax-form>\n </div>\n }\n</axp-widgets-container>", styles: [".axm-questionnaire-viewer{display:flex;height:100%;max-height:100%;min-height:0px;width:100%;flex:1;flex-direction:column}.axm-questionnaire-viewer axp-widgets-container{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column}.axm-questionnaire-viewer .__loading,.axm-questionnaire-viewer .__error{display:flex;height:100%;align-items:center;justify-content:center}.axm-questionnaire-viewer .__questionnaire-container{display:flex;min-height:0px;flex:1;flex-direction:column;overflow:hidden}.axm-questionnaire-viewer ax-form{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n", "
|
|
8375
|
+
}, template: "<axp-widgets-container #widgetContainer [attr.dir]=\"layoutDirection()\" [context]=\"{}\"\n (onContextChanged)=\"handleContextChanged()\">\n @if (vm.isLoading()) {\n <div class=\"__loading\">\n <axp-state-message icon=\"fa-light fa-spinner fa-spin\"\n [title]=\"('@assessment-management:questionnaires.components.questionnaire-viewer.loading.title' | translate | async) || ''\"\n [description]=\"('@assessment-management:questionnaires.components.questionnaire-viewer.loading.description' | translate | async) || ''\">\n </axp-state-message>\n </div>\n } @else if (vm.error()) {\n <div class=\"__error\">\n <axp-state-message icon=\"fa-light fa-exclamation-triangle\"\n [title]=\"('@assessment-management:questionnaires.components.questionnaire-viewer.error.title' | translate | async) || ''\"\n [description]=\"vm.error() || ''\">\n </axp-state-message>\n </div>\n } @else if (vm.questionnaireData()) {\n <div class=\"__questionnaire-container\">\n <ax-form #form>\n @if (vm.printLayout()) {\n <axm-questionnaire-viewer-print-view></axm-questionnaire-viewer-print-view>\n } @else if (vm.viewMode() === 'single-page') {\n <axm-questionnaire-viewer-single-page-view></axm-questionnaire-viewer-single-page-view>\n } @else if (vm.viewMode() === 'page-per-group') {\n <axm-questionnaire-viewer-page-per-group-view></axm-questionnaire-viewer-page-per-group-view>\n } @else if (vm.viewMode() === 'page-per-question') {\n <axm-questionnaire-viewer-page-per-question-view></axm-questionnaire-viewer-page-per-question-view>\n } @else if (vm.viewMode() === 'side-menu') {\n <axm-questionnaire-viewer-side-menu-view></axm-questionnaire-viewer-side-menu-view>\n }\n <ax-validation-summary [displayMode]=\"'toast'\" [autoHide]=\"true\"></ax-validation-summary>\n </ax-form>\n </div>\n }\n</axp-widgets-container>", styles: [".axm-questionnaire-viewer{display:flex;height:100%;max-height:100%;min-height:0px;width:100%;flex:1;flex-direction:column}.axm-questionnaire-viewer axp-widgets-container{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column}.axm-questionnaire-viewer .__loading,.axm-questionnaire-viewer .__error{display:flex;height:100%;align-items:center;justify-content:center}.axm-questionnaire-viewer .__questionnaire-container{display:flex;min-height:0px;flex:1;flex-direction:column;overflow:hidden}.axm-questionnaire-viewer ax-form{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n", ".__section-title-sticky,.__mobile-header-row{position:sticky;top:0;z-index:10;isolation:isolate;min-width:0px;align-self:stretch;--tw-border-style: none;border-style:none;background-color:var(--color-lightest);color:var(--color-on-lightest);border-color:var(--color-border-lightest);padding-inline:calc(var(--spacing, .25rem) * 4);padding-block:calc(var(--spacing, .25rem) * 3)}:is(.__section-title-sticky,.__mobile-header-row):before{content:\"\";position:absolute;z-index:-1;inset-block:0;inset-inline:0;pointer-events:none;background-color:rgb(var(--ax-sys-color-lightest-surface));border-bottom:1px solid transparent;box-shadow:none;transition:box-shadow .2s ease-out,border-color .2s ease-out}:is(.__section-title-sticky,.__mobile-header-row):after{content:\"\";position:absolute;bottom:0;left:1rem;right:1rem;border-bottom:1px solid rgb(var(--ax-sys-color-border-surface));pointer-events:none;opacity:1;transition:opacity .2s ease-out}:is(.__section-title-sticky,.__mobile-header-row).--stuck{border-bottom:1px solid rgb(var(--ax-sys-color-border-surface));box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a}:is(.__section-title-sticky,.__mobile-header-row).--stuck:after{opacity:0}@media(prefers-reduced-motion:reduce){.__section-title-sticky:before,.__mobile-header-row:before,.__section-title-sticky:after,.__mobile-header-row:after{transition-duration:1ms}}.__mobile-header-row{display:flex;flex-shrink:0;align-items:flex-start;gap:calc(var(--spacing, .25rem) * 2)}.__viewer-scroll{display:flex;min-height:0px;width:100%;flex:1;flex-direction:column;overflow-x:hidden;overflow-y:auto;max-height:83vh}@media(width>=48rem){.__viewer-scroll{max-height:75vh}}axm-questionnaire-viewer-popup .__content axm-questionnaire-viewer:has(.__viewer-scroll){display:flex;height:100%;max-height:100%;min-height:0px;width:100%;flex:1;flex-direction:column}axm-questionnaire-viewer-popup .__content axm-questionnaire-viewer:has(.__viewer-scroll) .__questionnaire-container{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}axm-questionnaire-viewer-popup .__content axm-questionnaire-viewer:has(.__viewer-scroll) ax-form{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}axm-questionnaire-viewer-popup .__content:has(.__viewer-scroll){overflow:hidden}axm-questionnaire-viewer-standalone-page .__content axm-questionnaire-viewer:has(.__viewer-scroll){display:flex;height:100%;max-height:100%;min-height:0px;width:100%;flex:1;flex-direction:column}axm-questionnaire-viewer-standalone-page .__content axm-questionnaire-viewer:has(.__viewer-scroll) .__questionnaire-container{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}axm-questionnaire-viewer-standalone-page .__content axm-questionnaire-viewer:has(.__viewer-scroll) ax-form{display:flex;height:100%;min-height:0px;flex:1;flex-direction:column;overflow:hidden}axm-questionnaire-viewer-standalone-page .__content:has(.__viewer-scroll){overflow:hidden}axm-questionnaire-viewer-single-page-view,axm-questionnaire-viewer-page-per-group-view{display:flex;height:100%;min-height:0px;width:100%;flex:1;flex-direction:column;overflow:hidden}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
8367
8376
|
}], ctorParameters: () => [], propDecorators: { questionnaireId: [{ type: i0.Input, args: [{ isSignal: true, alias: "questionnaireId", required: false }] }], structure: [{ type: i0.Input, args: [{ isSignal: true, alias: "structure", required: false }] }], config: [{ type: i0.Input, args: [{ isSignal: true, alias: "config", required: false }] }], initialAnswers: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialAnswers", required: false }] }], answersChanged: [{ type: i0.Output, args: ["answersChanged"] }], questionAnswered: [{ type: i0.Output, args: ["questionAnswered"] }], form: [{ type: i0.ViewChild, args: ['form', { isSignal: true }] }], widgetContainer: [{ type: i0.ViewChild, args: [i0.forwardRef(() => AXPWidgetContainerComponent), { isSignal: true }] }] } });
|
|
8368
8377
|
|
|
8369
8378
|
//#region ---- Imports ----
|
|
@@ -8650,7 +8659,7 @@ async function persistAssessmentSession(input) {
|
|
|
8650
8659
|
caseId,
|
|
8651
8660
|
responderId,
|
|
8652
8661
|
role,
|
|
8653
|
-
answers,
|
|
8662
|
+
answers: toPersistedAnswers(answers, structure, get$1(currentSession, 'answers')),
|
|
8654
8663
|
progressPercentage,
|
|
8655
8664
|
answeredQuestionsCount,
|
|
8656
8665
|
lastSavedAt: now,
|
|
@@ -8926,7 +8935,7 @@ class AXMHeadlessQuestionnaireSessionService {
|
|
|
8926
8935
|
role: input.role ?? 'responder',
|
|
8927
8936
|
persistedSessionId: existingSession?.id ?? null,
|
|
8928
8937
|
existingSession,
|
|
8929
|
-
answers:
|
|
8938
|
+
answers: toViewerAnswers(existingSession?.answers),
|
|
8930
8939
|
items,
|
|
8931
8940
|
sectionCache: {},
|
|
8932
8941
|
questionCache: {},
|
|
@@ -9304,19 +9313,19 @@ class AXMQuestionnaireViewerFeatureModule {
|
|
|
9304
9313
|
provideCommandSetups([
|
|
9305
9314
|
{
|
|
9306
9315
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:Preview`,
|
|
9307
|
-
command: () => import('./acorex-platform-module-assessment-management-client-preview-questionnaire.command-
|
|
9316
|
+
command: () => import('./acorex-platform-module-assessment-management-client-preview-questionnaire.command-ZDwi_ANo.mjs').then((c) => c.AXPPreviewQuestionnaireCommand),
|
|
9308
9317
|
},
|
|
9309
9318
|
{
|
|
9310
9319
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:PreviewQuestion`,
|
|
9311
|
-
command: () => import('./acorex-platform-module-assessment-management-client-preview-question.command-
|
|
9320
|
+
command: () => import('./acorex-platform-module-assessment-management-client-preview-question.command-DVnUPcnM.mjs').then((c) => c.PreviewQuestionCommand),
|
|
9312
9321
|
},
|
|
9313
9322
|
{
|
|
9314
9323
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionBankItem.name}:Preview`,
|
|
9315
|
-
command: () => import('./acorex-platform-module-assessment-management-client-preview-question.command-
|
|
9324
|
+
command: () => import('./acorex-platform-module-assessment-management-client-preview-question.command-DVnUPcnM.mjs').then((c) => c.PreviewQuestionCommand),
|
|
9316
9325
|
},
|
|
9317
9326
|
{
|
|
9318
9327
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:ViewAnswers`,
|
|
9319
|
-
command: () => import('./acorex-platform-module-assessment-management-client-view-session-answers.command-
|
|
9328
|
+
command: () => import('./acorex-platform-module-assessment-management-client-view-session-answers.command-Dkv_lnpQ.mjs').then((c) => c.ViewSessionAnswersCommand),
|
|
9320
9329
|
},
|
|
9321
9330
|
{
|
|
9322
9331
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:PreviewPdf`,
|
|
@@ -9324,47 +9333,47 @@ class AXMQuestionnaireViewerFeatureModule {
|
|
|
9324
9333
|
},
|
|
9325
9334
|
{
|
|
9326
9335
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:Fill`,
|
|
9327
|
-
command: () => import('./acorex-platform-module-assessment-management-client-fill-assessment-session.command-
|
|
9336
|
+
command: () => import('./acorex-platform-module-assessment-management-client-fill-assessment-session.command-xJKBN_ld.mjs').then((c) => c.FillAssessmentSessionCommand),
|
|
9328
9337
|
},
|
|
9329
9338
|
{
|
|
9330
9339
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentCase.name}:Fill`,
|
|
9331
|
-
command: () => import('./acorex-platform-module-assessment-management-client-fill-assessment-session.command-
|
|
9340
|
+
command: () => import('./acorex-platform-module-assessment-management-client-fill-assessment-session.command-xJKBN_ld.mjs').then((c) => c.FillAssessmentSessionCommand),
|
|
9332
9341
|
},
|
|
9333
9342
|
{
|
|
9334
9343
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:ReviewAnswers`,
|
|
9335
|
-
command: () => import('./acorex-platform-module-assessment-management-client-review-assessment-session.command-
|
|
9344
|
+
command: () => import('./acorex-platform-module-assessment-management-client-review-assessment-session.command-CUgxOyhV.mjs').then((c) => c.ReviewAssessmentSessionCommand),
|
|
9336
9345
|
},
|
|
9337
9346
|
{
|
|
9338
9347
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentCase.name}:ReviewAnswers`,
|
|
9339
|
-
command: () => import('./acorex-platform-module-assessment-management-client-review-assessment-session.command-
|
|
9348
|
+
command: () => import('./acorex-platform-module-assessment-management-client-review-assessment-session.command-CUgxOyhV.mjs').then((c) => c.ReviewAssessmentSessionCommand),
|
|
9340
9349
|
},
|
|
9341
9350
|
{
|
|
9342
9351
|
key: ASSESSMENT_FIND_CASE_FOR_VOICE_FILL_COMMAND,
|
|
9343
|
-
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-
|
|
9352
|
+
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-C05ceRIS.mjs').then((c) => c.AXMFindCaseForVoiceFillCommand),
|
|
9344
9353
|
},
|
|
9345
9354
|
{
|
|
9346
9355
|
key: ASSESSMENT_START_HEADLESS_QUESTIONNAIRE_COMMAND,
|
|
9347
|
-
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-
|
|
9356
|
+
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-C05ceRIS.mjs').then((c) => c.AXMStartHeadlessQuestionnaireCommand),
|
|
9348
9357
|
},
|
|
9349
9358
|
{
|
|
9350
9359
|
key: ASSESSMENT_NEXT_QUESTIONNAIRE_QUESTION_COMMAND,
|
|
9351
|
-
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-
|
|
9360
|
+
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-C05ceRIS.mjs').then((c) => c.AXMNextQuestionnaireQuestionCommand),
|
|
9352
9361
|
},
|
|
9353
9362
|
{
|
|
9354
9363
|
key: ASSESSMENT_APPLY_QUESTIONNAIRE_ANSWER_COMMAND,
|
|
9355
|
-
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-
|
|
9364
|
+
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-C05ceRIS.mjs').then((c) => c.AXMApplyQuestionnaireAnswerCommand),
|
|
9356
9365
|
},
|
|
9357
9366
|
{
|
|
9358
9367
|
key: ASSESSMENT_SAVE_QUESTIONNAIRE_DRAFT_COMMAND,
|
|
9359
|
-
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-
|
|
9368
|
+
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-C05ceRIS.mjs').then((c) => c.AXMSaveQuestionnaireDraftCommand),
|
|
9360
9369
|
},
|
|
9361
9370
|
{
|
|
9362
9371
|
key: ASSESSMENT_SUBMIT_QUESTIONNAIRE_COMMAND,
|
|
9363
|
-
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-
|
|
9372
|
+
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-C05ceRIS.mjs').then((c) => c.AXMSubmitQuestionnaireCommand),
|
|
9364
9373
|
},
|
|
9365
9374
|
{
|
|
9366
9375
|
key: ASSESSMENT_CANCEL_QUESTIONNAIRE_COMMAND,
|
|
9367
|
-
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-
|
|
9376
|
+
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-C05ceRIS.mjs').then((c) => c.AXMCancelQuestionnaireCommand),
|
|
9368
9377
|
},
|
|
9369
9378
|
]),
|
|
9370
9379
|
{
|
|
@@ -9396,19 +9405,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
9396
9405
|
provideCommandSetups([
|
|
9397
9406
|
{
|
|
9398
9407
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:Preview`,
|
|
9399
|
-
command: () => import('./acorex-platform-module-assessment-management-client-preview-questionnaire.command-
|
|
9408
|
+
command: () => import('./acorex-platform-module-assessment-management-client-preview-questionnaire.command-ZDwi_ANo.mjs').then((c) => c.AXPPreviewQuestionnaireCommand),
|
|
9400
9409
|
},
|
|
9401
9410
|
{
|
|
9402
9411
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:PreviewQuestion`,
|
|
9403
|
-
command: () => import('./acorex-platform-module-assessment-management-client-preview-question.command-
|
|
9412
|
+
command: () => import('./acorex-platform-module-assessment-management-client-preview-question.command-DVnUPcnM.mjs').then((c) => c.PreviewQuestionCommand),
|
|
9404
9413
|
},
|
|
9405
9414
|
{
|
|
9406
9415
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionBankItem.name}:Preview`,
|
|
9407
|
-
command: () => import('./acorex-platform-module-assessment-management-client-preview-question.command-
|
|
9416
|
+
command: () => import('./acorex-platform-module-assessment-management-client-preview-question.command-DVnUPcnM.mjs').then((c) => c.PreviewQuestionCommand),
|
|
9408
9417
|
},
|
|
9409
9418
|
{
|
|
9410
9419
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:ViewAnswers`,
|
|
9411
|
-
command: () => import('./acorex-platform-module-assessment-management-client-view-session-answers.command-
|
|
9420
|
+
command: () => import('./acorex-platform-module-assessment-management-client-view-session-answers.command-Dkv_lnpQ.mjs').then((c) => c.ViewSessionAnswersCommand),
|
|
9412
9421
|
},
|
|
9413
9422
|
{
|
|
9414
9423
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:PreviewPdf`,
|
|
@@ -9416,47 +9425,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
9416
9425
|
},
|
|
9417
9426
|
{
|
|
9418
9427
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:Fill`,
|
|
9419
|
-
command: () => import('./acorex-platform-module-assessment-management-client-fill-assessment-session.command-
|
|
9428
|
+
command: () => import('./acorex-platform-module-assessment-management-client-fill-assessment-session.command-xJKBN_ld.mjs').then((c) => c.FillAssessmentSessionCommand),
|
|
9420
9429
|
},
|
|
9421
9430
|
{
|
|
9422
9431
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentCase.name}:Fill`,
|
|
9423
|
-
command: () => import('./acorex-platform-module-assessment-management-client-fill-assessment-session.command-
|
|
9432
|
+
command: () => import('./acorex-platform-module-assessment-management-client-fill-assessment-session.command-xJKBN_ld.mjs').then((c) => c.FillAssessmentSessionCommand),
|
|
9424
9433
|
},
|
|
9425
9434
|
{
|
|
9426
9435
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:ReviewAnswers`,
|
|
9427
|
-
command: () => import('./acorex-platform-module-assessment-management-client-review-assessment-session.command-
|
|
9436
|
+
command: () => import('./acorex-platform-module-assessment-management-client-review-assessment-session.command-CUgxOyhV.mjs').then((c) => c.ReviewAssessmentSessionCommand),
|
|
9428
9437
|
},
|
|
9429
9438
|
{
|
|
9430
9439
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentCase.name}:ReviewAnswers`,
|
|
9431
|
-
command: () => import('./acorex-platform-module-assessment-management-client-review-assessment-session.command-
|
|
9440
|
+
command: () => import('./acorex-platform-module-assessment-management-client-review-assessment-session.command-CUgxOyhV.mjs').then((c) => c.ReviewAssessmentSessionCommand),
|
|
9432
9441
|
},
|
|
9433
9442
|
{
|
|
9434
9443
|
key: ASSESSMENT_FIND_CASE_FOR_VOICE_FILL_COMMAND,
|
|
9435
|
-
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-
|
|
9444
|
+
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-C05ceRIS.mjs').then((c) => c.AXMFindCaseForVoiceFillCommand),
|
|
9436
9445
|
},
|
|
9437
9446
|
{
|
|
9438
9447
|
key: ASSESSMENT_START_HEADLESS_QUESTIONNAIRE_COMMAND,
|
|
9439
|
-
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-
|
|
9448
|
+
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-C05ceRIS.mjs').then((c) => c.AXMStartHeadlessQuestionnaireCommand),
|
|
9440
9449
|
},
|
|
9441
9450
|
{
|
|
9442
9451
|
key: ASSESSMENT_NEXT_QUESTIONNAIRE_QUESTION_COMMAND,
|
|
9443
|
-
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-
|
|
9452
|
+
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-C05ceRIS.mjs').then((c) => c.AXMNextQuestionnaireQuestionCommand),
|
|
9444
9453
|
},
|
|
9445
9454
|
{
|
|
9446
9455
|
key: ASSESSMENT_APPLY_QUESTIONNAIRE_ANSWER_COMMAND,
|
|
9447
|
-
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-
|
|
9456
|
+
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-C05ceRIS.mjs').then((c) => c.AXMApplyQuestionnaireAnswerCommand),
|
|
9448
9457
|
},
|
|
9449
9458
|
{
|
|
9450
9459
|
key: ASSESSMENT_SAVE_QUESTIONNAIRE_DRAFT_COMMAND,
|
|
9451
|
-
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-
|
|
9460
|
+
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-C05ceRIS.mjs').then((c) => c.AXMSaveQuestionnaireDraftCommand),
|
|
9452
9461
|
},
|
|
9453
9462
|
{
|
|
9454
9463
|
key: ASSESSMENT_SUBMIT_QUESTIONNAIRE_COMMAND,
|
|
9455
|
-
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-
|
|
9464
|
+
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-C05ceRIS.mjs').then((c) => c.AXMSubmitQuestionnaireCommand),
|
|
9456
9465
|
},
|
|
9457
9466
|
{
|
|
9458
9467
|
key: ASSESSMENT_CANCEL_QUESTIONNAIRE_COMMAND,
|
|
9459
|
-
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-
|
|
9468
|
+
command: () => import('./acorex-platform-module-assessment-management-client-assessment-voice.commands-C05ceRIS.mjs').then((c) => c.AXMCancelQuestionnaireCommand),
|
|
9460
9469
|
},
|
|
9461
9470
|
]),
|
|
9462
9471
|
{
|
|
@@ -9972,7 +9981,7 @@ const AXPTemplateWidget = {
|
|
|
9972
9981
|
component: () => Promise.resolve().then(function () { return templateWidgetView_component; }).then((c) => c.AXPTemplateWidgetViewComponent),
|
|
9973
9982
|
},
|
|
9974
9983
|
edit: {
|
|
9975
|
-
component: () => import('./acorex-platform-module-assessment-management-client-template-widget-edit.component-
|
|
9984
|
+
component: () => import('./acorex-platform-module-assessment-management-client-template-widget-edit.component-ToNSOrm0.mjs').then((c) => c.AXPTemplateWidgetEditComponent),
|
|
9976
9985
|
},
|
|
9977
9986
|
print: {
|
|
9978
9987
|
component: () => Promise.resolve().then(function () { return templateWidgetView_component; }).then((c) => c.AXPTemplateWidgetViewComponent),
|
|
@@ -10286,8 +10295,8 @@ class AXMAssessmentManagementModule {
|
|
|
10286
10295
|
]),
|
|
10287
10296
|
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => Promise.resolve().then(function () { return index$1; }).then((m) => m.AXMQuestionnaireQuestionsPageComponentProvider)),
|
|
10288
10297
|
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => Promise.resolve().then(function () { return index; }).then((m) => m.AXMQuestionnaireOutcomesPageComponentProvider)),
|
|
10289
|
-
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-assessment-management-client-index-
|
|
10290
|
-
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-assessment-management-client-related-content-viewer-page-component.provider-
|
|
10298
|
+
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-assessment-management-client-index-BZtiVD2e.mjs').then((m) => m.AXMFormTemplatePageComponentProvider)),
|
|
10299
|
+
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-assessment-management-client-related-content-viewer-page-component.provider-C30AdJgp.mjs').then((m) => m.AXMRelatedContentViewerPageComponentProvider)),
|
|
10291
10300
|
provideCommand('Questionnaire:Questions:Save', () => Promise.resolve().then(function () { return saveQuestionnaireQuestions_command; }).then((m) => m.AXMSaveQuestionnaireQuestionsCommand)),
|
|
10292
10301
|
provideCommand('Questionnaire:Outcomes:Save', () => Promise.resolve().then(function () { return saveQuestionnaireOutcomes_command; }).then((m) => m.AXMSaveQuestionnaireOutcomesCommand)),
|
|
10293
10302
|
provideLazyProvider(AXP_SEARCH_PROVIDER, () => Promise.resolve().then(function () { return searchCommand_provider; }).then((m) => m.AXMAssessmentManagementSearchCommandProvider)),
|
|
@@ -10303,11 +10312,11 @@ class AXMAssessmentManagementModule {
|
|
|
10303
10312
|
},
|
|
10304
10313
|
{
|
|
10305
10314
|
key: 'open-form-template',
|
|
10306
|
-
command: () => import('./acorex-platform-module-assessment-management-client-open-form-template.command-
|
|
10315
|
+
command: () => import('./acorex-platform-module-assessment-management-client-open-form-template.command-C4081c1C.mjs').then((c) => c.AXMOpenFormTemplateCommand),
|
|
10307
10316
|
},
|
|
10308
10317
|
{
|
|
10309
10318
|
key: `${RootConfig.module.name}.${RootConfig.entities.template.name}:Preview`,
|
|
10310
|
-
command: () => import('./acorex-platform-module-assessment-management-client-preview-form-template.command-
|
|
10319
|
+
command: () => import('./acorex-platform-module-assessment-management-client-preview-form-template.command-CBmZ-Bmy.mjs').then((c) => c.AXMPreviewFormTemplateCommand),
|
|
10311
10320
|
},
|
|
10312
10321
|
{
|
|
10313
10322
|
key: 'design-form-template',
|
|
@@ -10315,15 +10324,15 @@ class AXMAssessmentManagementModule {
|
|
|
10315
10324
|
},
|
|
10316
10325
|
{
|
|
10317
10326
|
key: 'show-questionnaire-questions-popup',
|
|
10318
|
-
command: () => import('./acorex-platform-module-assessment-management-client-show-questionnaire-questions-popup.command-
|
|
10327
|
+
command: () => import('./acorex-platform-module-assessment-management-client-show-questionnaire-questions-popup.command-HMUwV7JV.mjs').then((c) => c.ShowQuestionnaireQuestionsPopupCommand),
|
|
10319
10328
|
},
|
|
10320
10329
|
{
|
|
10321
10330
|
key: 'show-form-template-viewer-popup',
|
|
10322
|
-
command: () => import('./acorex-platform-module-assessment-management-client-show-form-template-viewer-popup.command-
|
|
10331
|
+
command: () => import('./acorex-platform-module-assessment-management-client-show-form-template-viewer-popup.command-D4XOgSLK.mjs').then((c) => c.ShowFormTemplateViewerPopupCommand),
|
|
10323
10332
|
},
|
|
10324
10333
|
{
|
|
10325
10334
|
key: 'show-questionnaire-viewer-popup',
|
|
10326
|
-
command: () => import('./acorex-platform-module-assessment-management-client-show-questionnaire-viewer-popup.command-
|
|
10335
|
+
command: () => import('./acorex-platform-module-assessment-management-client-show-questionnaire-viewer-popup.command-qxFtVjPL.mjs').then((c) => c.ShowQuestionnaireViewerPopupCommand),
|
|
10327
10336
|
},
|
|
10328
10337
|
]),
|
|
10329
10338
|
], imports: [AXPWidgetsModule,
|
|
@@ -10393,8 +10402,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
10393
10402
|
]),
|
|
10394
10403
|
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => Promise.resolve().then(function () { return index$1; }).then((m) => m.AXMQuestionnaireQuestionsPageComponentProvider)),
|
|
10395
10404
|
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => Promise.resolve().then(function () { return index; }).then((m) => m.AXMQuestionnaireOutcomesPageComponentProvider)),
|
|
10396
|
-
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-assessment-management-client-index-
|
|
10397
|
-
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-assessment-management-client-related-content-viewer-page-component.provider-
|
|
10405
|
+
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-assessment-management-client-index-BZtiVD2e.mjs').then((m) => m.AXMFormTemplatePageComponentProvider)),
|
|
10406
|
+
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-assessment-management-client-related-content-viewer-page-component.provider-C30AdJgp.mjs').then((m) => m.AXMRelatedContentViewerPageComponentProvider)),
|
|
10398
10407
|
provideCommand('Questionnaire:Questions:Save', () => Promise.resolve().then(function () { return saveQuestionnaireQuestions_command; }).then((m) => m.AXMSaveQuestionnaireQuestionsCommand)),
|
|
10399
10408
|
provideCommand('Questionnaire:Outcomes:Save', () => Promise.resolve().then(function () { return saveQuestionnaireOutcomes_command; }).then((m) => m.AXMSaveQuestionnaireOutcomesCommand)),
|
|
10400
10409
|
provideLazyProvider(AXP_SEARCH_PROVIDER, () => Promise.resolve().then(function () { return searchCommand_provider; }).then((m) => m.AXMAssessmentManagementSearchCommandProvider)),
|
|
@@ -10410,11 +10419,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
10410
10419
|
},
|
|
10411
10420
|
{
|
|
10412
10421
|
key: 'open-form-template',
|
|
10413
|
-
command: () => import('./acorex-platform-module-assessment-management-client-open-form-template.command-
|
|
10422
|
+
command: () => import('./acorex-platform-module-assessment-management-client-open-form-template.command-C4081c1C.mjs').then((c) => c.AXMOpenFormTemplateCommand),
|
|
10414
10423
|
},
|
|
10415
10424
|
{
|
|
10416
10425
|
key: `${RootConfig.module.name}.${RootConfig.entities.template.name}:Preview`,
|
|
10417
|
-
command: () => import('./acorex-platform-module-assessment-management-client-preview-form-template.command-
|
|
10426
|
+
command: () => import('./acorex-platform-module-assessment-management-client-preview-form-template.command-CBmZ-Bmy.mjs').then((c) => c.AXMPreviewFormTemplateCommand),
|
|
10418
10427
|
},
|
|
10419
10428
|
{
|
|
10420
10429
|
key: 'design-form-template',
|
|
@@ -10422,15 +10431,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
10422
10431
|
},
|
|
10423
10432
|
{
|
|
10424
10433
|
key: 'show-questionnaire-questions-popup',
|
|
10425
|
-
command: () => import('./acorex-platform-module-assessment-management-client-show-questionnaire-questions-popup.command-
|
|
10434
|
+
command: () => import('./acorex-platform-module-assessment-management-client-show-questionnaire-questions-popup.command-HMUwV7JV.mjs').then((c) => c.ShowQuestionnaireQuestionsPopupCommand),
|
|
10426
10435
|
},
|
|
10427
10436
|
{
|
|
10428
10437
|
key: 'show-form-template-viewer-popup',
|
|
10429
|
-
command: () => import('./acorex-platform-module-assessment-management-client-show-form-template-viewer-popup.command-
|
|
10438
|
+
command: () => import('./acorex-platform-module-assessment-management-client-show-form-template-viewer-popup.command-D4XOgSLK.mjs').then((c) => c.ShowFormTemplateViewerPopupCommand),
|
|
10430
10439
|
},
|
|
10431
10440
|
{
|
|
10432
10441
|
key: 'show-questionnaire-viewer-popup',
|
|
10433
|
-
command: () => import('./acorex-platform-module-assessment-management-client-show-questionnaire-viewer-popup.command-
|
|
10442
|
+
command: () => import('./acorex-platform-module-assessment-management-client-show-questionnaire-viewer-popup.command-qxFtVjPL.mjs').then((c) => c.ShowQuestionnaireViewerPopupCommand),
|
|
10434
10443
|
},
|
|
10435
10444
|
]),
|
|
10436
10445
|
],
|
|
@@ -11561,7 +11570,7 @@ class AXMQuestionnaireViewerQuestionnaireAttachmentsFooterComponent {
|
|
|
11561
11570
|
</ax-popover>
|
|
11562
11571
|
</div>
|
|
11563
11572
|
}
|
|
11564
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "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: "ngmodule", type: AXPopoverModule }, { kind: "component", type: i3$3.AXPopoverComponent, selector: "ax-popover", inputs: ["width", "disablePanelClass", "visualContextScope", "disabled", "offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "closeOnScroll", "closeOnNavigation", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: AXPFileListComponent, selector: "axp-file-list", inputs: ["readonly", "fileEditable", "enableTitleDescription", "multiple", "look", "titleKey", "showLabel", "linksLayout", "files", "accept", "maxFileSize", "showUploadZoneHint", "plugins", "excludePlugins", "capabilities"], outputs: ["onRemove", "onRevert", "onRename"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
11573
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "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: "ngmodule", type: AXPopoverModule }, { kind: "component", type: i3$3.AXPopoverComponent, selector: "ax-popover", inputs: ["width", "disablePanelClass", "visualContextScope", "disabled", "offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "restoreFocusOnClose", "openAfter", "closeAfter", "closeOnScroll", "closeOnNavigation", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: AXPFileListComponent, selector: "axp-file-list", inputs: ["readonly", "fileEditable", "enableTitleDescription", "multiple", "look", "showActions", "titleKey", "showLabel", "linksLayout", "files", "accept", "maxFileSize", "showUploadZoneHint", "plugins", "excludePlugins", "capabilities"], outputs: ["onRemove", "onRevert", "onRename"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
11565
11574
|
}
|
|
11566
11575
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMQuestionnaireViewerQuestionnaireAttachmentsFooterComponent, decorators: [{
|
|
11567
11576
|
type: Component,
|
|
@@ -11780,9 +11789,7 @@ class AXMQuestionnaireViewerPageComponent extends AXPPageLayoutBaseComponent {
|
|
|
11780
11789
|
.data()
|
|
11781
11790
|
.byKey(existingSessionId);
|
|
11782
11791
|
if (session) {
|
|
11783
|
-
|
|
11784
|
-
answers = session.answers;
|
|
11785
|
-
}
|
|
11792
|
+
answers = toViewerAnswers(session.answers);
|
|
11786
11793
|
this.currentSessionId.set(existingSessionId);
|
|
11787
11794
|
this.existingSession.set(session);
|
|
11788
11795
|
}
|
|
@@ -12161,7 +12168,7 @@ class AXMQuestionnaireViewerStandalonePageComponent {
|
|
|
12161
12168
|
this.isLoading.set(false);
|
|
12162
12169
|
return;
|
|
12163
12170
|
}
|
|
12164
|
-
const answers = session.answers
|
|
12171
|
+
const answers = toViewerAnswers(session.answers);
|
|
12165
12172
|
const cfg = toPrePostConfig(questionnaire);
|
|
12166
12173
|
this.questionnaire.set(questionnaire);
|
|
12167
12174
|
this.structure.set({
|
|
@@ -12599,4 +12606,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
12599
12606
|
*/
|
|
12600
12607
|
|
|
12601
12608
|
export { AXPFormTemplateViewerConnector as A, resolveSummaryPlaceholders as B, AXMAssessmentManagementFeatureDefinitionProvider as C, AXMAssessmentManagementMenuProvider as D, AXMAssessmentManagementModule as E, FORM_TEMPLATE_PAGE_COMPONENT_KEY as F, AXMAssessmentManagementPermissionDefinitionProvider as G, AXMAssessmentManagementSearchCommandProvider as H, AXMQuestionnaireViewerPageComponent as I, AXMQuestionnaireViewerStandalonePageComponent as J, QUESTIONNAIRE_VIEWER_PAGE_COMPONENT_KEY as Q, FORM_TEMPLATE_VIEWER_PAGE_COMPONENT_KEY as a, QUESTIONNAIRE_QUESTIONS_EDITOR_WIDGET as b, AXMRelatedContentRecordService as c, readRelatedRecordId as d, FORM_TEMPLATE_VIEWER_FIELD as e, FORM_TEMPLATE_VIEWER_SOURCE_FIELD as f, formatQuestionnairePreviewDialogTitle as g, AXMQuestionnaireViewerService as h, QUESTIONNAIRE_VIEWER_FIELD as i, QUESTIONNAIRE_VIEWER_SOURCE_FIELD as j, AXMQuestionnairePrintSnapshotService as k, AXMQuestionnairePrintHostComponent as l, AXMQuestionnaireViewerComponent as m, AXMQuestionnaireViewerQuestionnaireAttachmentsFooterComponent as n, AXMPreQuestionnaireContentComponent as o, persistAssessmentSession as p, AXMPostQuestionnaireContentComponent as q, resolvePersistedEntityId as r, AXMHeadlessQuestionnaireSessionService as s, AXMQuestionnaireQuestionsBuilderComponent as t, AXPTemplateWidgetProviderService as u, stripQuestionBankInterfaceMetadata as v, resolveWidgetNodeFromMetaDataDefinitionInterface as w, AXM_TEST_SHEET_ROW_GROUP_PATH as x, AXM_TEST_SHEET_INPUT_WIDGET_TYPES as y, AXM_TEST_SHEET_CELL_TYPE_WIDGET as z };
|
|
12602
|
-
//# sourceMappingURL=acorex-platform-module-assessment-management-client-acorex-platform-module-assessment-management-client-
|
|
12609
|
+
//# sourceMappingURL=acorex-platform-module-assessment-management-client-acorex-platform-module-assessment-management-client-5wbq3eEn.mjs.map
|