@acorex-platform/module-assessment-management-client 0.0.38 → 0.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. 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-CZtfv53E.mjs} +787 -91
  2. package/fesm2022/acorex-platform-module-assessment-management-client-acorex-platform-module-assessment-management-client-CZtfv53E.mjs.map +1 -0
  3. package/fesm2022/{acorex-platform-module-assessment-management-client-assessment-voice.commands-DEcHphg8.mjs → acorex-platform-module-assessment-management-client-assessment-voice.commands-DvD4E7zS.mjs} +2 -2
  4. package/fesm2022/{acorex-platform-module-assessment-management-client-assessment-voice.commands-DEcHphg8.mjs.map → acorex-platform-module-assessment-management-client-assessment-voice.commands-DvD4E7zS.mjs.map} +1 -1
  5. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-assessment-case.mjs +20 -0
  6. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-assessment-case.mjs.map +1 -1
  7. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-assessment-session.mjs +20 -0
  8. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-assessment-session.mjs.map +1 -1
  9. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-question-bank-item.mjs +20 -0
  10. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-question-bank-item.mjs.map +1 -1
  11. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-questionnaire.mjs +243 -212
  12. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-questionnaire.mjs.map +1 -1
  13. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-template.mjs +774 -0
  14. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entities-template.mjs.map +1 -0
  15. 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
  16. 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
  17. 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
  18. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-case.entity-DJeaqilT.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-pre-post.properties-DX_nB0QM.mjs +229 -0
  20. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-pre-post.properties-DX_nB0QM.mjs.map +1 -0
  21. 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
  22. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-session.entity-BSP4UQ47.mjs.map +1 -0
  23. 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
  24. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-question-bank-item.entity-CVgepxbX.mjs.map +1 -0
  25. 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
  26. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-questionnaire.entity-8Dqdbm6i.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-template.entity-BTDJAnF1.mjs +493 -0
  28. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-template.entity-BTDJAnF1.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog.mjs +1 -1
  30. package/fesm2022/acorex-platform-module-assessment-management-client-contracts.mjs +105 -13
  31. package/fesm2022/acorex-platform-module-assessment-management-client-contracts.mjs.map +1 -1
  32. package/fesm2022/acorex-platform-module-assessment-management-client-create-form-template.command-DLC7aazI.mjs +44 -0
  33. package/fesm2022/acorex-platform-module-assessment-management-client-create-form-template.command-DLC7aazI.mjs.map +1 -0
  34. package/fesm2022/acorex-platform-module-assessment-management-client-design-form-template.command-Cgc9Inlz.mjs +97 -0
  35. package/fesm2022/acorex-platform-module-assessment-management-client-design-form-template.command-Cgc9Inlz.mjs.map +1 -0
  36. package/fesm2022/acorex-platform-module-assessment-management-client-designer.page-COXTLIgc.mjs +45 -0
  37. package/fesm2022/acorex-platform-module-assessment-management-client-designer.page-COXTLIgc.mjs.map +1 -0
  38. package/fesm2022/{acorex-platform-module-assessment-management-client-fill-assessment-session.command-lHYKxCXo.mjs → acorex-platform-module-assessment-management-client-fill-assessment-session.command-Dp6gSQWO.mjs} +2 -2
  39. 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-Dp6gSQWO.mjs.map} +1 -1
  40. package/fesm2022/acorex-platform-module-assessment-management-client-form-template-viewer-popup.component-B94T15Vb.mjs +238 -0
  41. package/fesm2022/acorex-platform-module-assessment-management-client-form-template-viewer-popup.component-B94T15Vb.mjs.map +1 -0
  42. package/fesm2022/acorex-platform-module-assessment-management-client-form-template-viewer.service-DpEeqw34.mjs +93 -0
  43. package/fesm2022/acorex-platform-module-assessment-management-client-form-template-viewer.service-DpEeqw34.mjs.map +1 -0
  44. package/fesm2022/acorex-platform-module-assessment-management-client-local-entities.mjs +1 -0
  45. package/fesm2022/acorex-platform-module-assessment-management-client-local-entities.mjs.map +1 -1
  46. package/fesm2022/acorex-platform-module-assessment-management-client-open-form-template.command-5E3IK-OG.mjs +55 -0
  47. package/fesm2022/acorex-platform-module-assessment-management-client-open-form-template.command-5E3IK-OG.mjs.map +1 -0
  48. package/fesm2022/acorex-platform-module-assessment-management-client-preview-form-template.command-COIcfqBQ.mjs +90 -0
  49. package/fesm2022/acorex-platform-module-assessment-management-client-preview-form-template.command-COIcfqBQ.mjs.map +1 -0
  50. package/fesm2022/{acorex-platform-module-assessment-management-client-preview-question.command-Db64SCn6.mjs → acorex-platform-module-assessment-management-client-preview-question.command-ZTIjmXdy.mjs} +2 -2
  51. package/fesm2022/{acorex-platform-module-assessment-management-client-preview-question.command-Db64SCn6.mjs.map → acorex-platform-module-assessment-management-client-preview-question.command-ZTIjmXdy.mjs.map} +1 -1
  52. package/fesm2022/{acorex-platform-module-assessment-management-client-preview-questionnaire.command-yOfBbOMK.mjs → acorex-platform-module-assessment-management-client-preview-questionnaire.command-CyiaPtLs.mjs} +2 -2
  53. package/fesm2022/{acorex-platform-module-assessment-management-client-preview-questionnaire.command-yOfBbOMK.mjs.map → acorex-platform-module-assessment-management-client-preview-questionnaire.command-CyiaPtLs.mjs.map} +1 -1
  54. 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-CRRrPiJ9.mjs} +2 -2
  55. 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-CRRrPiJ9.mjs.map} +1 -1
  56. package/fesm2022/{acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-B4JMc6ew.mjs → acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-Cn3kk7b6.mjs} +5 -3
  57. package/fesm2022/acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-Cn3kk7b6.mjs.map +1 -0
  58. 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-Cf6SKE8F.mjs} +2 -2
  59. 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-Cf6SKE8F.mjs.map} +1 -1
  60. package/fesm2022/acorex-platform-module-assessment-management-client-template-picker.component-RFv42PnE.mjs +260 -0
  61. package/fesm2022/acorex-platform-module-assessment-management-client-template-picker.component-RFv42PnE.mjs.map +1 -0
  62. package/fesm2022/acorex-platform-module-assessment-management-client-template-widget-edit.component-D3XNxDqe.mjs +107 -0
  63. package/fesm2022/acorex-platform-module-assessment-management-client-template-widget-edit.component-D3XNxDqe.mjs.map +1 -0
  64. 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-DlnnmAlD.mjs} +2 -2
  65. 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-DlnnmAlD.mjs.map} +1 -1
  66. package/fesm2022/acorex-platform-module-assessment-management-client.mjs +1 -1
  67. package/package.json +7 -3
  68. package/types/acorex-platform-module-assessment-management-client-contracts-entities-template.d.ts +5 -0
  69. package/types/acorex-platform-module-assessment-management-client-contracts.d.ts +139 -13
  70. package/types/acorex-platform-module-assessment-management-client.d.ts +3 -2
  71. package/fesm2022/acorex-platform-module-assessment-management-client-acorex-platform-module-assessment-management-client-BcpbQ8TJ.mjs.map +0 -1
  72. 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
  73. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-case.entity-DcRzvfKO.mjs.map +0 -1
  74. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-assessment-session.entity-Y0FU8X-e.mjs.map +0 -1
  75. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-question-bank-item.entity-CT913OrX.mjs.map +0 -1
  76. package/fesm2022/acorex-platform-module-assessment-management-client-contracts-entity-catalog-questionnaire.entity-C4hxiPTX.mjs.map +0 -1
  77. package/fesm2022/acorex-platform-module-assessment-management-client-questionnaire-viewer-popup.component-B4JMc6ew.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: `"foreground background border"` (hex or utility classes).
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
- export { ASSESSMENT_PRINT_CONTENT_WIDTH_MM, ASSESSMENT_PRINT_HTML_GZIP_ENCODING, ASSESSMENT_PRINT_PAGE_FORMAT, AXMAssessmentManagementFeatureKeys, AXMAssessmentManagementPermissionKeys, AXM_ASSESSMENT_PRINT_MERGE_KEYS, AXM_ASSESSMENT_SESSION_PREVIEW_PDF_CLIENT_COMMAND_KEY, AXM_ASSESSMENT_SESSION_PREVIEW_PDF_COMMAND_KEY, AXPAssessmentManagementMenuKeys, AXPSafetyRiskPermissionKeys, 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 };
752
- export type { AXMAssessmentCaseStatus, AXMAssessmentManagementAssessmentCaseEntityModel, AXMAssessmentManagementAssessmentSessionEntityModel, AXMAssessmentManagementQuestionBankItemEntityModel, AXMAssessmentManagementQuestionnaireEntityModel, AXMAssessmentPrintMergeKey, AXMAssessmentQuestionCommentConfig, AXMAssessmentQuestionHintConfig, AXMAssessmentQuestionHintConfigOff, AXMAssessmentQuestionHintConfigShown, AXMAssessmentQuestionHintMode, AXMAssessmentQuestionHintPartial, AXMAssessmentQuestionHintVisualMode, AXMAssessmentSessionPreviewPdfRequest, AXMAssessmentSessionPreviewPdfResult, AXMAssessmentSessionRole, AXMAssessmentSessionStatus, AXMQuestionBankItemInterfaceMetadata, AXMQuestionBankItemInterfaceValue, 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 };
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/core/file';
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