@acorex-platform/module-assessment-management-client 0.0.38 → 0.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/{acorex-platform-module-assessment-management-client-acorex-platform-module-assessment-management-client-BcpbQ8TJ.mjs → acorex-platform-module-assessment-management-client-acorex-platform-module-assessment-management-client-rrUYWHvI.mjs} +787 -91
- package/fesm2022/acorex-platform-module-assessment-management-client-acorex-platform-module-assessment-management-client-rrUYWHvI.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-assessment-voice.commands-DEcHphg8.mjs → acorex-platform-module-assessment-management-client-assessment-voice.commands-BjWPb92M.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-assessment-voice.commands-DEcHphg8.mjs.map → acorex-platform-module-assessment-management-client-assessment-voice.commands-BjWPb92M.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-assessment-case.mjs +20 -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 +20 -0
- 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-question-bank-item.mjs +20 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-question-bank-item.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-questionnaire.mjs +243 -212
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-questionnaire.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-template.mjs +774 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-template.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-contracts-entity-catalog-acorex-platform-module-assessment-management-client-contracts-entity-catalog-B8PJe3IJ.mjs → acorex-platform-module-assessment-management-client-contracts-entity-catalog-acorex-platform-module-assessment-management-client-contracts-entity-catalog-Pa8mdKRV.mjs} +12 -5
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-acorex-platform-module-assessment-management-client-contracts-entity-catalog-Pa8mdKRV.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-case.entity-DcRzvfKO.mjs → acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-case.entity-DJeaqilT.mjs} +16 -2
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-case.entity-DJeaqilT.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-pre-post.properties-DX_nB0QM.mjs +229 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-pre-post.properties-DX_nB0QM.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-session.entity-Y0FU8X-e.mjs → acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-session.entity-BSP4UQ47.mjs} +16 -2
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-session.entity-BSP4UQ47.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-contracts-entity-catalog-question-bank-item.entity-CT913OrX.mjs → acorex-platform-module-assessment-management-client-contracts-entity-catalog-question-bank-item.entity-CVgepxbX.mjs} +16 -2
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-question-bank-item.entity-CVgepxbX.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-contracts-entity-catalog-questionnaire.entity-C4hxiPTX.mjs → acorex-platform-module-assessment-management-client-contracts-entity-catalog-questionnaire.entity-8Dqdbm6i.mjs} +18 -217
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-questionnaire.entity-8Dqdbm6i.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-template.entity-BTDJAnF1.mjs +493 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-template.entity-BTDJAnF1.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts.mjs +105 -13
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-create-form-template.command-DLC7aazI.mjs +44 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-create-form-template.command-DLC7aazI.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-design-form-template.command-Cgc9Inlz.mjs +97 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-design-form-template.command-Cgc9Inlz.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-designer.page-COXTLIgc.mjs +45 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-designer.page-COXTLIgc.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-fill-assessment-session.command-lHYKxCXo.mjs → acorex-platform-module-assessment-management-client-fill-assessment-session.command-DNDkEL7L.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-fill-assessment-session.command-lHYKxCXo.mjs.map → acorex-platform-module-assessment-management-client-fill-assessment-session.command-DNDkEL7L.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-form-template-viewer-popup.component-Cuq6_FfC.mjs +238 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-form-template-viewer-popup.component-Cuq6_FfC.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-form-template-viewer.service-BTmeEOAJ.mjs +93 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-form-template-viewer.service-BTmeEOAJ.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-local-entities.mjs +1 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-local-entities.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-open-form-template.command-Cg2Cnp1-.mjs +55 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-open-form-template.command-Cg2Cnp1-.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-preview-form-template.command-CaCFGmlA.mjs +90 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-preview-form-template.command-CaCFGmlA.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-preview-question.command-Db64SCn6.mjs → acorex-platform-module-assessment-management-client-preview-question.command-DIRJDBFM.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-preview-question.command-Db64SCn6.mjs.map → acorex-platform-module-assessment-management-client-preview-question.command-DIRJDBFM.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-preview-questionnaire.command-yOfBbOMK.mjs → acorex-platform-module-assessment-management-client-preview-questionnaire.command-fcYcY10l.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-preview-questionnaire.command-yOfBbOMK.mjs.map → acorex-platform-module-assessment-management-client-preview-questionnaire.command-fcYcY10l.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-question-bank-interface-editor-widget-edit.component-B9iRaSSF.mjs → acorex-platform-module-assessment-management-client-question-bank-interface-editor-widget-edit.component-DVQZ1A-Q.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-question-bank-interface-editor-widget-edit.component-B9iRaSSF.mjs.map → acorex-platform-module-assessment-management-client-question-bank-interface-editor-widget-edit.component-DVQZ1A-Q.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-B4JMc6ew.mjs → acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-BAA879UA.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-B4JMc6ew.mjs.map → acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-BAA879UA.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-assessment-management-client-review-assessment-session.command-si6-7hpg.mjs → acorex-platform-module-assessment-management-client-review-assessment-session.command-Dm3i0_Oj.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-review-assessment-session.command-si6-7hpg.mjs.map → acorex-platform-module-assessment-management-client-review-assessment-session.command-Dm3i0_Oj.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-template-picker.component-RFv42PnE.mjs +260 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-template-picker.component-RFv42PnE.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-template-widget-edit.component-DpndNC_y.mjs +107 -0
- package/fesm2022/acorex-platform-module-assessment-management-client-template-widget-edit.component-DpndNC_y.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-assessment-management-client-view-session-answers.command-BUMtj_L6.mjs → acorex-platform-module-assessment-management-client-view-session-answers.command-4Y3C8W4k.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-assessment-management-client-view-session-answers.command-BUMtj_L6.mjs.map → acorex-platform-module-assessment-management-client-view-session-answers.command-4Y3C8W4k.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-assessment-management-client.mjs +1 -1
- package/package.json +7 -3
- package/types/acorex-platform-module-assessment-management-client-contracts-entities-template.d.ts +5 -0
- package/types/acorex-platform-module-assessment-management-client-contracts.d.ts +139 -13
- package/types/acorex-platform-module-assessment-management-client.d.ts +3 -2
- package/fesm2022/acorex-platform-module-assessment-management-client-acorex-platform-module-assessment-management-client-BcpbQ8TJ.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-acorex-platform-module-assessment-management-client-contracts-entity-catalog-B8PJe3IJ.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-case.entity-DcRzvfKO.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-session.entity-Y0FU8X-e.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-question-bank-item.entity-CT913OrX.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-questionnaire.entity-C4hxiPTX.mjs.map +0 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { AXPMultiLanguageString, AXPExpression, AXPWidgetNode, AXPEntityReference, AXPFileListItem } from '@acorex-platform/framework-shared/core';
|
|
1
|
+
import { AXPMultiLanguageString, AXPExpression, AXPWidgetNode, AXPModuleManifest, AXPEntityReference, AXPFileListItem } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import * as _acorex_platform_module_assessment_management_client_contracts from '@acorex-platform/module-assessment-management-client/contracts';
|
|
3
|
-
import { AXPEntityModel } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { AXPEntityModel, AXPEntityCreateDto, AXPEntityDetailDto, AXPEntityListItemDto, AXPEntityUpdateDto } from '@acorex-platform/framework-shared/entity';
|
|
4
4
|
|
|
5
5
|
declare const AXMAssessmentManagementFeatureKeys: {
|
|
6
6
|
readonly QuestionnaireManagement: "AssessmentManagement:Feature:Questionnaire.Management";
|
|
7
|
+
readonly FormTemplates: "AssessmentManagement:Feature:FormTemplates";
|
|
7
8
|
};
|
|
8
9
|
|
|
9
10
|
declare const AXPAssessmentManagementMenuKeys: {
|
|
@@ -12,6 +13,11 @@ declare const AXPAssessmentManagementMenuKeys: {
|
|
|
12
13
|
readonly QuestionBankItems: "AssessmentManagement:Menu:QuestionBankItems";
|
|
13
14
|
};
|
|
14
15
|
|
|
16
|
+
declare const AXPFormTemplateManagementMenuKeys: {
|
|
17
|
+
readonly Root: "FormTemplateManagement:Menu";
|
|
18
|
+
readonly Templates: "FormTemplateManagement:Menu:Templates";
|
|
19
|
+
};
|
|
20
|
+
|
|
15
21
|
/**
|
|
16
22
|
* Safety & Risk capabilities used by this module.
|
|
17
23
|
* Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).
|
|
@@ -49,6 +55,40 @@ declare const AXMAssessmentManagementPermissionKeys: {
|
|
|
49
55
|
};
|
|
50
56
|
};
|
|
51
57
|
|
|
58
|
+
/**
|
|
59
|
+
* Content & Documents capabilities used by this module.
|
|
60
|
+
* Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).
|
|
61
|
+
*/
|
|
62
|
+
declare const AXPContentDocumentsPermissionKeys: {
|
|
63
|
+
readonly Access: "ContentDocuments:Permission:Access";
|
|
64
|
+
readonly MaintainDocuments: "ContentDocuments:Permission:MaintainDocuments";
|
|
65
|
+
readonly MaintainContent: "ContentDocuments:Permission:MaintainContent";
|
|
66
|
+
readonly MaintainFormTemplates: "ContentDocuments:Permission:MaintainFormTemplates";
|
|
67
|
+
readonly Setup: "ContentDocuments:Permission:Setup";
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* @deprecated Prefer {@link AXPContentDocumentsPermissionKeys}.
|
|
71
|
+
* Legacy nested shape kept so existing imports compile during migration.
|
|
72
|
+
*/
|
|
73
|
+
declare const AXPFormTemplateManagementPermissionKeys: {
|
|
74
|
+
readonly FormTemplate: {
|
|
75
|
+
readonly Templates: {
|
|
76
|
+
readonly Management: "ContentDocuments:Permission:MaintainFormTemplates";
|
|
77
|
+
readonly View: "ContentDocuments:Permission:MaintainFormTemplates";
|
|
78
|
+
readonly Edit: "ContentDocuments:Permission:MaintainFormTemplates";
|
|
79
|
+
readonly Delete: "ContentDocuments:Permission:MaintainFormTemplates";
|
|
80
|
+
readonly Create: "ContentDocuments:Permission:MaintainFormTemplates";
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
declare enum AXPFormTemplateSettings {
|
|
86
|
+
HistoryPanel = "FormTemplateManagement:Setting:Designer.HistoryPanel",
|
|
87
|
+
AutoSave = "FormTemplateManagement:Setting:Designer.AutoSave",
|
|
88
|
+
AutoSaveInterval = "FormTemplateManagement:Setting:Designer.AutoSaveInterval",
|
|
89
|
+
AutoSaveTimeout = "FormTemplateManagement:Setting:Designer.AutoSaveTimeout"
|
|
90
|
+
}
|
|
91
|
+
|
|
52
92
|
/** Component key for the questionnaire Outcomes page tab. Register via AXP_PAGE_COMPONENT_PROVIDER. */
|
|
53
93
|
declare const QUESTIONNAIRE_OUTCOMES_PAGE_COMPONENT_KEY = "questionnaire-outcomes-page";
|
|
54
94
|
|
|
@@ -283,6 +323,12 @@ declare const RootConfig: {
|
|
|
283
323
|
readonly titlePlural: "@assessment-management:sessions.entities.assessment-session.plural";
|
|
284
324
|
readonly icon: "fa-light fa-clipboard-check";
|
|
285
325
|
};
|
|
326
|
+
readonly template: {
|
|
327
|
+
readonly name: "Template";
|
|
328
|
+
readonly title: "@form-template-management:templates.entities.template.title";
|
|
329
|
+
readonly source: "AssessmentManagement.Template";
|
|
330
|
+
readonly icon: "fa-light fa-file-code";
|
|
331
|
+
};
|
|
286
332
|
};
|
|
287
333
|
readonly queries: {
|
|
288
334
|
readonly dashboard: {
|
|
@@ -294,6 +340,12 @@ declare const RootConfig: {
|
|
|
294
340
|
};
|
|
295
341
|
};
|
|
296
342
|
|
|
343
|
+
/**
|
|
344
|
+
* Assessment Management Module Manifest.
|
|
345
|
+
* Defines module metadata, features, and provider references.
|
|
346
|
+
*/
|
|
347
|
+
declare const AssessmentManagementManifest: AXPModuleManifest;
|
|
348
|
+
|
|
297
349
|
/** Server command that renders a filled assessment session to PDF. */
|
|
298
350
|
declare const AXM_ASSESSMENT_SESSION_PREVIEW_PDF_COMMAND_KEY: "AssessmentManagement:AssessmentSession:PreviewPdf";
|
|
299
351
|
/** Client / entity-menu command that opens the PDF preview dialog. */
|
|
@@ -560,6 +612,9 @@ declare function normalizeQuestionHintFromEntityRow(row: unknown): AXMAssessment
|
|
|
560
612
|
*/
|
|
561
613
|
declare function parseQuestionHintPartialFromRecord(row: Record<string, unknown> | null | undefined): AXMAssessmentQuestionHintPartial | undefined;
|
|
562
614
|
|
|
615
|
+
/**
|
|
616
|
+
* Shared pre/post content and outcome rules for questionnaires and form templates.
|
|
617
|
+
*/
|
|
563
618
|
/**
|
|
564
619
|
* Pre- / post-questionnaire rich text (welcome, summary, etc.).
|
|
565
620
|
* @alias AXPMultiLanguageString
|
|
@@ -587,16 +642,8 @@ interface PostQuestionnaireConfig {
|
|
|
587
642
|
/** Rich text content for summary. Supports multi-language and placeholders. */
|
|
588
643
|
summaryContent?: PrePostContentValue;
|
|
589
644
|
}
|
|
590
|
-
/**
|
|
591
|
-
* Entity-level display options (viewer / builder preview). Subset of {@link QuestionnaireDisplaySettings}.
|
|
592
|
-
*/
|
|
593
|
-
type QuestionnaireEntityDisplaySettings = Pick<QuestionnaireDisplaySettings, 'viewMode' | 'showProgressBar' | 'showTimer' | 'showQuestionNumbers' | 'validationStrategy' | 'completionMode'>;
|
|
594
645
|
declare const DEFAULT_PRE_QUESTIONNAIRE_CONFIG: PreQuestionnaireConfig;
|
|
595
646
|
declare const DEFAULT_POST_QUESTIONNAIRE_CONFIG: PostQuestionnaireConfig;
|
|
596
|
-
declare const DEFAULT_QUESTIONNAIRE_ENTITY_DISPLAY: QuestionnaireEntityDisplaySettings;
|
|
597
|
-
/** Entity-level print document defaults. */
|
|
598
|
-
type QuestionnaireEntityPrintSettings = QuestionnairePrintSettings;
|
|
599
|
-
declare const DEFAULT_QUESTIONNAIRE_ENTITY_PRINT: Required<QuestionnaireEntityPrintSettings>;
|
|
600
647
|
/**
|
|
601
648
|
* Pre/post configuration for viewer flow (from {@link toPrePostConfig}).
|
|
602
649
|
*/
|
|
@@ -611,7 +658,8 @@ type QuestionnaireOutcomeDisplayEmphasis = 'normal' | 'medium' | 'bold';
|
|
|
611
658
|
/** Comparison operator for display rule conditions against the evaluated outcome `value`. */
|
|
612
659
|
type QuestionnaireOutcomeDisplayOperator = 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
613
660
|
/**
|
|
614
|
-
* Theme color chooser value:
|
|
661
|
+
* Theme color chooser value: a surface class such as `warning-lightest-surface`,
|
|
662
|
+
* or three hex tokens `"#foreground #background #border"`.
|
|
615
663
|
*/
|
|
616
664
|
type QuestionnaireOutcomeDisplayColor = string;
|
|
617
665
|
/** Icon chooser value or resolved Font Awesome class string. */
|
|
@@ -683,6 +731,19 @@ declare function normalizeQuestionnaireOutcomesValue(value: QuestionnaireOutcome
|
|
|
683
731
|
/** All outcome items across sections (evaluation, automations, duplicate checks). */
|
|
684
732
|
declare function flattenQuestionnaireOutcomeItems(value: QuestionnaireOutcomesValue | null | undefined): QuestionnaireOutcomeItem[];
|
|
685
733
|
declare function findDuplicateOutcomeNames(value: QuestionnaireOutcomesValue | null | undefined): string[];
|
|
734
|
+
type AssessmentOutcomeItem = QuestionnaireOutcomeItem;
|
|
735
|
+
type AssessmentOutcomesValue = QuestionnaireOutcomesValue;
|
|
736
|
+
type AssessmentPreContent = PreQuestionnaireConfig;
|
|
737
|
+
type AssessmentPostContent = PostQuestionnaireConfig;
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* Entity-level display options (viewer / builder preview). Subset of {@link QuestionnaireDisplaySettings}.
|
|
741
|
+
*/
|
|
742
|
+
type QuestionnaireEntityDisplaySettings = Pick<QuestionnaireDisplaySettings, 'viewMode' | 'showProgressBar' | 'showTimer' | 'showQuestionNumbers' | 'validationStrategy' | 'completionMode'>;
|
|
743
|
+
declare const DEFAULT_QUESTIONNAIRE_ENTITY_DISPLAY: QuestionnaireEntityDisplaySettings;
|
|
744
|
+
/** Entity-level print document defaults. */
|
|
745
|
+
type QuestionnaireEntityPrintSettings = QuestionnairePrintSettings;
|
|
746
|
+
declare const DEFAULT_QUESTIONNAIRE_ENTITY_PRINT: Required<QuestionnaireEntityPrintSettings>;
|
|
686
747
|
interface AXMAssessmentManagementQuestionnaireEntityModel extends AXPEntityModel<string> {
|
|
687
748
|
title: AXPMultiLanguageString;
|
|
688
749
|
description?: AXPMultiLanguageString;
|
|
@@ -748,5 +809,70 @@ declare function toDisplaySettings(q: Partial<AXMAssessmentManagementQuestionnai
|
|
|
748
809
|
*/
|
|
749
810
|
declare function toPrintSettings(q: Partial<AXMAssessmentManagementQuestionnaireEntityModel> | null | undefined): QuestionnairePrintSettings | null;
|
|
750
811
|
|
|
751
|
-
|
|
752
|
-
|
|
812
|
+
interface AXMFormTemplateTypeOption {
|
|
813
|
+
id: number;
|
|
814
|
+
title: string;
|
|
815
|
+
}
|
|
816
|
+
declare const AXMFormTemplateTypes: {
|
|
817
|
+
Form: {
|
|
818
|
+
id: number;
|
|
819
|
+
title: string;
|
|
820
|
+
};
|
|
821
|
+
Widget: {
|
|
822
|
+
id: number;
|
|
823
|
+
title: string;
|
|
824
|
+
};
|
|
825
|
+
Report: {
|
|
826
|
+
id: number;
|
|
827
|
+
title: string;
|
|
828
|
+
};
|
|
829
|
+
};
|
|
830
|
+
type AXMFormTemplateType = (typeof AXMFormTemplateTypes)[keyof typeof AXMFormTemplateTypes];
|
|
831
|
+
interface AXMCreateFormTemplateDto extends AXPEntityCreateDto {
|
|
832
|
+
code: string;
|
|
833
|
+
title: string;
|
|
834
|
+
description?: string;
|
|
835
|
+
template?: string | null;
|
|
836
|
+
type: AXMFormTemplateTypeOption;
|
|
837
|
+
categoryIds: string[];
|
|
838
|
+
pre?: AssessmentPreContent;
|
|
839
|
+
post?: AssessmentPostContent;
|
|
840
|
+
outcomes?: AssessmentOutcomesValue;
|
|
841
|
+
}
|
|
842
|
+
interface AXMUpdateFormTemplateDto extends AXPEntityUpdateDto<string> {
|
|
843
|
+
title: string;
|
|
844
|
+
description?: string;
|
|
845
|
+
type: AXMFormTemplateTypeOption;
|
|
846
|
+
template?: string;
|
|
847
|
+
categoryIds: string[];
|
|
848
|
+
pre?: AssessmentPreContent;
|
|
849
|
+
post?: AssessmentPostContent;
|
|
850
|
+
outcomes?: AssessmentOutcomesValue;
|
|
851
|
+
}
|
|
852
|
+
interface AXMFormTemplateDetailDto extends AXPEntityDetailDto<string> {
|
|
853
|
+
title: string;
|
|
854
|
+
description?: string;
|
|
855
|
+
type: AXMFormTemplateTypeOption;
|
|
856
|
+
template: string | null;
|
|
857
|
+
categoryIds: string[];
|
|
858
|
+
categories: {
|
|
859
|
+
id: string;
|
|
860
|
+
title: string;
|
|
861
|
+
}[];
|
|
862
|
+
pre?: AssessmentPreContent;
|
|
863
|
+
post?: AssessmentPostContent;
|
|
864
|
+
outcomes?: AssessmentOutcomesValue;
|
|
865
|
+
}
|
|
866
|
+
interface AXMFormTemplateListItemDto extends AXPEntityListItemDto<string> {
|
|
867
|
+
title: string;
|
|
868
|
+
description?: string;
|
|
869
|
+
type: AXMFormTemplateTypeOption;
|
|
870
|
+
categoryIds: string[];
|
|
871
|
+
categories: {
|
|
872
|
+
id: string;
|
|
873
|
+
title: string;
|
|
874
|
+
}[];
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
export { ASSESSMENT_PRINT_CONTENT_WIDTH_MM, ASSESSMENT_PRINT_HTML_GZIP_ENCODING, ASSESSMENT_PRINT_PAGE_FORMAT, AXMAssessmentManagementFeatureKeys, AXMAssessmentManagementPermissionKeys, AXMFormTemplateTypes, AXM_ASSESSMENT_PRINT_MERGE_KEYS, AXM_ASSESSMENT_SESSION_PREVIEW_PDF_CLIENT_COMMAND_KEY, AXM_ASSESSMENT_SESSION_PREVIEW_PDF_COMMAND_KEY, AXPAssessmentManagementMenuKeys, AXPContentDocumentsPermissionKeys, AXPFormTemplateManagementMenuKeys, AXPFormTemplateManagementPermissionKeys, AXPFormTemplateSettings, AXPSafetyRiskPermissionKeys, AssessmentManagementManifest, DEFAULT_POST_QUESTIONNAIRE_CONFIG, DEFAULT_PRE_QUESTIONNAIRE_CONFIG, DEFAULT_QUESTIONNAIRE_ENTITY_DISPLAY, DEFAULT_QUESTIONNAIRE_ENTITY_PRINT, DEFAULT_QUESTIONNAIRE_OUTCOMES, DEFAULT_QUESTIONNAIRE_PRINT_SETTINGS, DEFAULT_QUESTION_COMMENT_CONFIG, DEFAULT_QUESTION_HINT_CONFIG, PRINT_PAGE_LETTERHEAD_BOTTOM_MARGIN_MM, PRINT_PAGE_LETTERHEAD_TOP_MARGIN_MM, PRINT_PAGE_SIDE_MARGIN_MM, QUESTIONNAIRE_OUTCOMES_PAGE_COMPONENT_KEY, QUESTIONNAIRE_QUESTIONS_PAGE_COMPONENT_KEY, RootConfig, applyQuestionnairePrintHeader, buildQuestionnairePrintBodyHtml, buildQuestionnairePrintHeaderRegion, buildQuestionnaireQuestionCardHtml, buildQuestionnaireSessionBodyHtml, commentConfigForEditForm, diffQuestionCommentOverride, diffQuestionHintOverride, escapePrintDocumentText, extractPrintDocumentBodyHtml, findDuplicateOutcomeNames, flattenQuestionnaireOutcomeItems, formatPrintAnswerText, getQuestionAnswerCommentStoragePath, getQuestionCommentVisibilityFlag, isQuestionnaireOutcomeDisplayColorHex, matchesQuestionnaireOutcomeDisplayRule, mergeQuestionCommentConfig, mergeQuestionHintForViewer, minifyPrintHtml, normalizeCompletionMode, normalizePrintOrientation, normalizePrintPaperSize, normalizePrintWatermark, normalizeQuestionCommentConfig, normalizeQuestionHintConfig, normalizeQuestionHintFromEntityRow, normalizeQuestionHintMode, normalizeQuestionnaireOutcomeDisplayRules, normalizeQuestionnaireOutcomesValue, normalizeValidationStrategy, normalizeViewMode, parseQuestionHintPartialFromRecord, parseQuestionnaireOutcomeDisplayColor, readHintFieldsFromRecord, resolvePrintContentWidthMm, resolvePrintLetterheadPdfMargin, resolvePrintPaging, resolvePrintPdfPageOptions, resolvePrintPlainText, resolvePrintSettings, toDisplaySettings, toPrePostConfig, toPrintSettings, wrapPrintDocument };
|
|
878
|
+
export type { AXMAssessmentCaseStatus, AXMAssessmentManagementAssessmentCaseEntityModel, AXMAssessmentManagementAssessmentSessionEntityModel, AXMAssessmentManagementQuestionBankItemEntityModel, AXMAssessmentManagementQuestionnaireEntityModel, AXMAssessmentPrintMergeKey, AXMAssessmentQuestionCommentConfig, AXMAssessmentQuestionHintConfig, AXMAssessmentQuestionHintConfigOff, AXMAssessmentQuestionHintConfigShown, AXMAssessmentQuestionHintMode, AXMAssessmentQuestionHintPartial, AXMAssessmentQuestionHintVisualMode, AXMAssessmentSessionPreviewPdfRequest, AXMAssessmentSessionPreviewPdfResult, AXMAssessmentSessionRole, AXMAssessmentSessionStatus, AXMCreateFormTemplateDto, AXMFormTemplateDetailDto, AXMFormTemplateListItemDto, AXMFormTemplateType, AXMFormTemplateTypeOption, AXMQuestionBankItemInterfaceMetadata, AXMQuestionBankItemInterfaceValue, AXMUpdateFormTemplateDto, AssessmentOutcomeItem, AssessmentOutcomesValue, AssessmentPostContent, AssessmentPreContent, PostQuestionnaireConfig, PrePostConfig, PrePostContentValue, PreQuestionnaireConfig, QuestionnaireBuilderValue, QuestionnaireCompletionMode, QuestionnaireDisplaySettings, QuestionnaireEntityDisplaySettings, QuestionnaireEntityPrintSettings, QuestionnaireOutcomeDisplayColor, QuestionnaireOutcomeDisplayEmphasis, QuestionnaireOutcomeDisplayIcon, QuestionnaireOutcomeDisplayOperator, QuestionnaireOutcomeDisplayRule, QuestionnaireOutcomeItem, QuestionnaireOutcomeResultKind, QuestionnaireOutcomeSection, QuestionnaireOutcomesValue, QuestionnairePrintBodySection, QuestionnairePrintHeaderInput, QuestionnairePrintOrientation, QuestionnairePrintPaging, QuestionnairePrintPaperSize, QuestionnairePrintQuestionHtml, QuestionnairePrintSettings };
|
|
@@ -3,9 +3,10 @@ import { AXPMenuProvider, AXPMenuProviderContext, AXPSearchCommandProvider, AXPS
|
|
|
3
3
|
import { AXPPermissionDefinitionProvider, AXPPermissionDefinitionProviderContext } from '@acorex-platform/framework-client/auth';
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
5
5
|
import { OnInit } from '@angular/core';
|
|
6
|
-
import * as i1 from '@acorex/
|
|
6
|
+
import * as i1$1 from '@acorex-platform/framework-client/layout/widgets';
|
|
7
7
|
import * as _acorex_platform_framework_client_layout_widget_core from '@acorex-platform/framework-client/layout/widget-core';
|
|
8
8
|
import { AXPWidgetContainerComponent } from '@acorex-platform/framework-client/layout/widget-core';
|
|
9
|
+
import * as i1 from '@acorex/core/file';
|
|
9
10
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
10
11
|
import * as _acorex_platform_framework_shared_core from '@acorex-platform/framework-shared/core';
|
|
11
12
|
import { AXPMultiLanguageString, AXPExpression, AXPWidgetNode } from '@acorex-platform/framework-shared/core';
|
|
@@ -646,7 +647,7 @@ declare class AXMQuestionnaireViewerFeatureModule {
|
|
|
646
647
|
|
|
647
648
|
declare class AXMAssessmentManagementModule {
|
|
648
649
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMAssessmentManagementModule, never>;
|
|
649
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMAssessmentManagementModule, never, [typeof AXMAssessmentManagementFileTypeModule, typeof AXMQuestionnaireBuilderFeatureModule, typeof AXMQuestionnaireViewerFeatureModule], never>;
|
|
650
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMAssessmentManagementModule, never, [typeof i1$1.AXPWidgetsModule, typeof _acorex_platform_framework_client_layout_widget_core.AXPWidgetCoreModule, typeof AXMAssessmentManagementFileTypeModule, typeof AXMQuestionnaireBuilderFeatureModule, typeof AXMQuestionnaireViewerFeatureModule], never>;
|
|
650
651
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMAssessmentManagementModule>;
|
|
651
652
|
}
|
|
652
653
|
|