@acorex/modules 21.0.0-next.15 → 21.0.0-next.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assessment-management/README.md +11 -0
- package/assessment-management/index.d.ts +122 -24
- package/common/index.d.ts +6 -1
- package/data-management/index.d.ts +67 -48
- package/document-management/index.d.ts +374 -167
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-ClgGS32i.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-HgaOIA2U.mjs} +950 -468
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-HgaOIA2U.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-UmXUT6Xn.mjs → acorex-modules-assessment-management-answers-viewer-widget-column.component-DyxE9Xec.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-UmXUT6Xn.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-column.component-DyxE9Xec.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-vVfXtden.mjs → acorex-modules-assessment-management-answers-viewer-widget-edit.component-DC2Ep3r1.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-vVfXtden.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-edit.component-DC2Ep3r1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-C75zxKgV.mjs → acorex-modules-assessment-management-answers-viewer-widget-view.component-iKqac5PE.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-C75zxKgV.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-view.component-iKqac5PE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-CjhC5YAF.mjs → acorex-modules-assessment-management-assessment-case.entity-CsCMlcvF.mjs} +3 -3
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-CsCMlcvF.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-B_IDiEzp.mjs → acorex-modules-assessment-management-assessment-session.entity-BkNVe3FO.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-B_IDiEzp.mjs.map → acorex-modules-assessment-management-assessment-session.entity-BkNVe3FO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-zT5u3h_s.mjs → acorex-modules-assessment-management-fill-assessment-session.command-Dgeh3E5f.mjs} +32 -33
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-Dgeh3E5f.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BIXy9eut.mjs → acorex-modules-assessment-management-preview-questionnaire.command-NcZlE6DU.mjs} +24 -8
- package/fesm2022/acorex-modules-assessment-management-preview-questionnaire.command-NcZlE6DU.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-BWYLXvCp.mjs → acorex-modules-assessment-management-question-bank-item.entity-vNxSmJuv.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-BWYLXvCp.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-vNxSmJuv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-edit.component-3wVcKQGE.mjs → acorex-modules-assessment-management-questionnaire-builder-edit.component-CbfHOFT1.mjs} +20 -4
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder-edit.component-CbfHOFT1.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-view.component-meuUo7Vx.mjs → acorex-modules-assessment-management-questionnaire-builder-view.component-DDqDjzwH.mjs} +3 -3
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder-view.component-DDqDjzwH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder.component-CGgUUkOY.mjs → acorex-modules-assessment-management-questionnaire-builder.component-BOnwdWj7.mjs} +11 -5
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder.component-BOnwdWj7.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-BX8Q2Kfn.mjs +392 -0
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-BX8Q2Kfn.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer.service-D3k3J93r.mjs → acorex-modules-assessment-management-questionnaire-viewer.service-CSdVNxV2.mjs} +21 -6
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer.service-CSdVNxV2.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-C8sX0d_p.mjs → acorex-modules-assessment-management-questionnaire.entity-DFQIvlza.mjs} +138 -23
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-DFQIvlza.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-Czq7cj9R.mjs → acorex-modules-assessment-management-view-session-answers.command-CMmE72Kt.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-Czq7cj9R.mjs.map → acorex-modules-assessment-management-view-session-answers.command-CMmE72Kt.mjs.map} +1 -1
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/acorex-modules-calendar-management.mjs +4 -3
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-common.mjs +34 -28
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +333 -342
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BOeZ9mpL.mjs → acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs} +7 -3
- package/fesm2022/acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management.mjs +3014 -699
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-yGvT9kSL.mjs +381 -0
- package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-yGvT9kSL.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs → acorex-modules-human-capital-management-leave-request.entity-BDSyXKSF.mjs} +2 -2
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-BDSyXKSF.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-CY81Nohl.mjs → acorex-modules-human-capital-management-leave-type.entity-YitcNesR.mjs} +6 -2
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-YitcNesR.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +696 -351
- package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-locale-management.mjs +11 -2
- package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-BRVfUYiM.mjs → acorex-modules-settings-management-acorex-modules-settings-management-Dpjfgmg9.mjs} +6 -6
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-BRVfUYiM.mjs.map → acorex-modules-settings-management-acorex-modules-settings-management-Dpjfgmg9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-WSxrvAsV.mjs → acorex-modules-settings-management-permission-definition.provider-nYV8iDwJ.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-WSxrvAsV.mjs.map → acorex-modules-settings-management-permission-definition.provider-nYV8iDwJ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-MYnJYUxE.mjs → acorex-modules-settings-management-setting-page.component-B1lhCtl_.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-MYnJYUxE.mjs.map → acorex-modules-settings-management-setting-page.component-B1lhCtl_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-Cq80snth.mjs → acorex-modules-settings-management-setting-view.component-CAX1kFy2.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-Cq80snth.mjs.map → acorex-modules-settings-management-setting-view.component-CAX1kFy2.mjs.map} +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs +1 -1
- package/fesm2022/acorex-modules-system-insight.mjs +4 -3
- package/fesm2022/acorex-modules-system-insight.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-t-iBvKOh.mjs → acorex-modules-task-management-task-board.page-CuP9U1h8.mjs} +58 -51
- package/fesm2022/acorex-modules-task-management-task-board.page-CuP9U1h8.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +11 -39
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management-cartable-page.component-Bso0XRkJ.mjs +296 -0
- package/fesm2022/acorex-modules-workflow-management-cartable-page.component-Bso0XRkJ.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-index-xB36g4F1.mjs +469 -0
- package/fesm2022/acorex-modules-workflow-management-index-xB36g4F1.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +2507 -681
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/human-capital-management/index.d.ts +79 -19
- package/package.json +6 -6
- package/task-management/index.d.ts +1 -12
- package/workflow-management/index.d.ts +265 -220
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-ClgGS32i.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-CjhC5YAF.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-zT5u3h_s.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-preview-questionnaire.command-BIXy9eut.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder-edit.component-3wVcKQGE.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder-view.component-meuUo7Vx.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder.component-CGgUUkOY.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-kVnWtedV.mjs +0 -416
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-kVnWtedV.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer.service-D3k3J93r.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-C8sX0d_p.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-drive-choose.component-BOeZ9mpL.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-CY81Nohl.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-t-iBvKOh.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-BbBEPTBa.mjs +0 -258
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-BbBEPTBa.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-nJMBL0qt.mjs +0 -371
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-nJMBL0qt.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Pso0oRN5.mjs +0 -313
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Pso0oRN5.mjs.map +0 -1
|
@@ -63,12 +63,23 @@ Assessment template with embedded sections and questions (value objects).
|
|
|
63
63
|
|
|
64
64
|
- Multiple assessment types (questionnaire, survey, checklist, test, evaluation)
|
|
65
65
|
- Embedded sections and items (not separate entities)
|
|
66
|
+
- **Pre-questionnaire**: Welcome screen before questions (rich text, multi-language)
|
|
67
|
+
- **Post-questionnaire**: Review step before submit, summary screen after submit
|
|
66
68
|
- Scoring profiles (cumulative, weighted, formula)
|
|
67
69
|
- Grading scales (A-F, custom)
|
|
68
70
|
- Timer and navigation settings
|
|
69
71
|
- Question randomization
|
|
70
72
|
- Progress bar configuration
|
|
71
73
|
|
|
74
|
+
**Pre/Post Summary Placeholders** (for `postSummaryContent`):
|
|
75
|
+
|
|
76
|
+
| Placeholder | Description |
|
|
77
|
+
|:------------------|:-------------------------------|
|
|
78
|
+
| `{{score}}` | Score percentage (0-100) |
|
|
79
|
+
| `{{passFail}}` | Pass/fail label |
|
|
80
|
+
| `{{totalQuestions}}` | Total question count |
|
|
81
|
+
| `{{answeredCount}}` | Number of answered questions |
|
|
82
|
+
|
|
72
83
|
**Value Objects**:
|
|
73
84
|
|
|
74
85
|
- **Sections**: Logical grouping with visibility conditions and scoring weights
|
|
@@ -8,6 +8,7 @@ import * as _acorex_platform_layout_widget_core from '@acorex/platform/layout/wi
|
|
|
8
8
|
import { AXPWidgetNode, AXPWidgetContainerComponent, AXPValueWidgetComponent } from '@acorex/platform/layout/widget-core';
|
|
9
9
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
10
10
|
import { AXFormComponent } from '@acorex/components/form';
|
|
11
|
+
import * as _acorex_modules_assessment_management from '@acorex/modules/assessment-management';
|
|
11
12
|
import { AXPPageLayoutBaseComponent } from '@acorex/platform/layout/views';
|
|
12
13
|
import { ActivatedRoute } from '@angular/router';
|
|
13
14
|
|
|
@@ -440,6 +441,7 @@ declare class AXMQuestionnaireViewerComponent {
|
|
|
440
441
|
description?: string;
|
|
441
442
|
answer: any;
|
|
442
443
|
isRequired?: boolean;
|
|
444
|
+
question: QuestionnaireViewerQuestion;
|
|
443
445
|
}>;
|
|
444
446
|
getSectionUnansweredRequiredCount: (sectionId: string) => number;
|
|
445
447
|
submit: () => Promise<{
|
|
@@ -567,6 +569,7 @@ declare class AXMQuestionnaireViewerComponent {
|
|
|
567
569
|
description?: string;
|
|
568
570
|
answer: any;
|
|
569
571
|
isRequired?: boolean;
|
|
572
|
+
question: QuestionnaireViewerQuestion;
|
|
570
573
|
}>;
|
|
571
574
|
getSectionUnansweredRequiredCount: (sectionId: string) => number;
|
|
572
575
|
submit: () => Promise<{
|
|
@@ -662,7 +665,13 @@ declare class AXMQuestionnaireViewerComponent {
|
|
|
662
665
|
description?: string;
|
|
663
666
|
answer: any;
|
|
664
667
|
isRequired?: boolean;
|
|
668
|
+
question: QuestionnaireViewerQuestion;
|
|
665
669
|
}[];
|
|
670
|
+
/**
|
|
671
|
+
* Get context data for review step (answers at widget paths).
|
|
672
|
+
* Must be called before transitioning to review while viewer is still rendered.
|
|
673
|
+
*/
|
|
674
|
+
getReviewContext(): Record<string, any>;
|
|
666
675
|
/**
|
|
667
676
|
* Submit questionnaire
|
|
668
677
|
* Validates all questions before submitting
|
|
@@ -738,11 +747,53 @@ declare class AXMQuestionBankItemServiceImpl extends AXMQuestionBankItemService
|
|
|
738
747
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMQuestionBankItemServiceImpl>;
|
|
739
748
|
}
|
|
740
749
|
|
|
750
|
+
/**
|
|
751
|
+
* Pre-questionnaire content (welcome/intro).
|
|
752
|
+
* When multiLanguage is used, value is Record<locale, string>.
|
|
753
|
+
*/
|
|
754
|
+
type PrePostContentValue = string | Record<string, string>;
|
|
755
|
+
/**
|
|
756
|
+
* Pre-questionnaire configuration (shown before questions).
|
|
757
|
+
*/
|
|
758
|
+
interface PreQuestionnaireConfig {
|
|
759
|
+
enabled: boolean;
|
|
760
|
+
/** Rich text content. Supports multi-language: Record<locale, string>. */
|
|
761
|
+
content?: PrePostContentValue;
|
|
762
|
+
}
|
|
763
|
+
/**
|
|
764
|
+
* Post-questionnaire configuration (review before submit, summary after submit).
|
|
765
|
+
* Summary content supports placeholders: {{score}}, {{passFail}}, {{totalQuestions}}, {{answeredCount}}.
|
|
766
|
+
*/
|
|
767
|
+
interface PostQuestionnaireConfig {
|
|
768
|
+
/** Show review step before submit (all answers, edit/submit). */
|
|
769
|
+
reviewEnabled: boolean;
|
|
770
|
+
/** Show summary screen after submit. */
|
|
771
|
+
summaryEnabled: boolean;
|
|
772
|
+
/** Rich text content for summary. Supports multi-language and placeholders. */
|
|
773
|
+
summaryContent?: PrePostContentValue;
|
|
774
|
+
}
|
|
775
|
+
/**
|
|
776
|
+
* Pre/post questionnaire configuration for viewer flow.
|
|
777
|
+
* Extracted from questionnaire entity or passed explicitly.
|
|
778
|
+
*/
|
|
779
|
+
interface PrePostConfig {
|
|
780
|
+
preEnabled?: boolean;
|
|
781
|
+
preContent?: PrePostContentValue;
|
|
782
|
+
postReviewEnabled?: boolean;
|
|
783
|
+
postSummaryEnabled?: boolean;
|
|
784
|
+
postSummaryContent?: PrePostContentValue;
|
|
785
|
+
passingScore?: number;
|
|
786
|
+
}
|
|
741
787
|
interface AXMAssessmentManagementQuestionnaireEntityModel extends AXPEntityModel<string> {
|
|
742
788
|
title: string;
|
|
743
789
|
description?: string;
|
|
744
790
|
type: 'questionnaire' | 'survey' | 'checklist' | 'test' | 'evaluation';
|
|
745
791
|
structure?: QuestionnaireBuilderValue;
|
|
792
|
+
preEnabled?: boolean;
|
|
793
|
+
preContent?: PrePostContentValue;
|
|
794
|
+
postReviewEnabled?: boolean;
|
|
795
|
+
postSummaryEnabled?: boolean;
|
|
796
|
+
postSummaryContent?: PrePostContentValue;
|
|
746
797
|
scoringType?: 'none' | 'cumulative' | 'weighted' | 'formula';
|
|
747
798
|
passingScore?: number;
|
|
748
799
|
scoringFormula?: string;
|
|
@@ -754,6 +805,10 @@ interface AXMAssessmentManagementQuestionnaireEntityModel extends AXPEntityModel
|
|
|
754
805
|
tags?: string[];
|
|
755
806
|
color?: string;
|
|
756
807
|
}
|
|
808
|
+
/**
|
|
809
|
+
* Extract PrePostConfig from questionnaire entity.
|
|
810
|
+
*/
|
|
811
|
+
declare function toPrePostConfig(q: Partial<AXMAssessmentManagementQuestionnaireEntityModel> | null | undefined): PrePostConfig | null;
|
|
757
812
|
|
|
758
813
|
declare abstract class AXMQuestionnaireService extends AXMEntityCrudServiceImpl<string, AXMAssessmentManagementQuestionnaireEntityModel> {
|
|
759
814
|
}
|
|
@@ -812,6 +867,25 @@ declare class AXMAssessmentSessionServiceImpl extends AXMAssessmentSessionServic
|
|
|
812
867
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMAssessmentSessionServiceImpl>;
|
|
813
868
|
}
|
|
814
869
|
|
|
870
|
+
/**
|
|
871
|
+
* Placeholder values for post-questionnaire summary content.
|
|
872
|
+
*/
|
|
873
|
+
interface SummaryPlaceholderValues {
|
|
874
|
+
score?: number;
|
|
875
|
+
passFail?: string;
|
|
876
|
+
totalQuestions?: number;
|
|
877
|
+
answeredCount?: number;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
interface QuestionWithAnswer {
|
|
881
|
+
questionId: string;
|
|
882
|
+
title: string;
|
|
883
|
+
answer: unknown;
|
|
884
|
+
/** Full question with interface for widget rendering in view mode. */
|
|
885
|
+
question?: QuestionnaireViewerQuestion;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
type FlowStep$1 = 'pre' | 'questions' | 'review' | 'summary';
|
|
815
889
|
declare class AXMQuestionnaireViewerPageComponent extends AXPPageLayoutBaseComponent {
|
|
816
890
|
protected readonly route: ActivatedRoute;
|
|
817
891
|
private readonly router;
|
|
@@ -820,13 +894,24 @@ declare class AXMQuestionnaireViewerPageComponent extends AXPPageLayoutBaseCompo
|
|
|
820
894
|
private readonly assessmentSessionService;
|
|
821
895
|
private readonly authSession;
|
|
822
896
|
protected readonly structure: _angular_core.WritableSignal<QuestionnaireBuilderValue | null>;
|
|
897
|
+
protected readonly questionnaire: _angular_core.WritableSignal<AXMAssessmentManagementQuestionnaireEntityModel | null>;
|
|
823
898
|
protected readonly initialAnswers: _angular_core.WritableSignal<Record<string, any>>;
|
|
824
899
|
protected readonly viewerConfig: _angular_core.WritableSignal<QuestionnaireViewerConfig | undefined>;
|
|
900
|
+
protected readonly prePostConfig: _angular_core.WritableSignal<_acorex_modules_assessment_management.PrePostConfig | null>;
|
|
825
901
|
protected readonly isLoading: _angular_core.WritableSignal<boolean>;
|
|
826
902
|
protected readonly loadError: _angular_core.WritableSignal<string | null>;
|
|
827
|
-
protected readonly isSubmitting: _angular_core.WritableSignal<boolean>;
|
|
828
903
|
protected readonly currentSessionId: _angular_core.WritableSignal<string | null>;
|
|
829
|
-
protected readonly
|
|
904
|
+
protected readonly flowStep: _angular_core.WritableSignal<FlowStep$1>;
|
|
905
|
+
protected readonly reviewSnapshot: _angular_core.WritableSignal<QuestionWithAnswer[]>;
|
|
906
|
+
protected readonly reviewContext: _angular_core.WritableSignal<Record<string, any> | null>;
|
|
907
|
+
protected readonly submitResult: _angular_core.WritableSignal<SummaryPlaceholderValues | null>;
|
|
908
|
+
protected readonly isSubmitting: _angular_core.WritableSignal<boolean>;
|
|
909
|
+
protected readonly canNavigatePrevious: _angular_core.WritableSignal<boolean>;
|
|
910
|
+
protected readonly canNavigateNext: _angular_core.WritableSignal<boolean>;
|
|
911
|
+
protected readonly showNavigationButtons: _angular_core.WritableSignal<boolean>;
|
|
912
|
+
protected readonly isLastStep: _angular_core.WritableSignal<boolean>;
|
|
913
|
+
protected readonly areAllRequiredQuestionsAnswered: _angular_core.WritableSignal<boolean>;
|
|
914
|
+
protected readonly viewer: _angular_core.Signal<AXMQuestionnaireViewerComponent | undefined>;
|
|
830
915
|
protected readonly viewerViewModel: _angular_core.Signal<({
|
|
831
916
|
questionnaireData: _angular_core.Signal<QuestionnaireViewerData | null>;
|
|
832
917
|
structure: _angular_core.Signal<QuestionnaireBuilderValue | null>;
|
|
@@ -890,6 +975,7 @@ declare class AXMQuestionnaireViewerPageComponent extends AXPPageLayoutBaseCompo
|
|
|
890
975
|
description?: string;
|
|
891
976
|
answer: any;
|
|
892
977
|
isRequired?: boolean;
|
|
978
|
+
question: QuestionnaireViewerQuestion;
|
|
893
979
|
}>;
|
|
894
980
|
getSectionUnansweredRequiredCount: (sectionId: string) => number;
|
|
895
981
|
submit: () => Promise<{
|
|
@@ -922,46 +1008,56 @@ declare class AXMQuestionnaireViewerPageComponent extends AXPPageLayoutBaseCompo
|
|
|
922
1008
|
protected readonly showProgressBar: _angular_core.Signal<boolean>;
|
|
923
1009
|
protected readonly answeredQuestionsCount: _angular_core.Signal<number>;
|
|
924
1010
|
protected readonly isReadonly: _angular_core.Signal<boolean>;
|
|
925
|
-
protected readonly
|
|
926
|
-
|
|
927
|
-
protected readonly
|
|
928
|
-
|
|
929
|
-
|
|
1011
|
+
protected readonly showReviewButton: _angular_core.Signal<boolean>;
|
|
1012
|
+
/** Use answers from review context when returning from review; otherwise use initial answers. */
|
|
1013
|
+
protected readonly effectiveInitialAnswers: _angular_core.Signal<Record<string, any>>;
|
|
1014
|
+
constructor();
|
|
1015
|
+
ngOnInit(): Promise<void>;
|
|
1016
|
+
private loadData;
|
|
1017
|
+
private saveSessionAndGetSummary;
|
|
930
1018
|
getPageTitle(): Promise<string>;
|
|
931
1019
|
getPageBreadcrumbs(): ReturnType<AXPPageLayoutBaseComponent['getPageBreadcrumbs']>;
|
|
932
1020
|
getBackButton(): Promise<{
|
|
933
1021
|
title: string;
|
|
934
1022
|
} | null>;
|
|
935
1023
|
onBackButtonClick(): void;
|
|
936
|
-
constructor();
|
|
937
|
-
ngOnInit(): Promise<void>;
|
|
938
|
-
private loadData;
|
|
939
1024
|
private getCasesListPath;
|
|
940
1025
|
private calculateProgress;
|
|
941
1026
|
protected handleAnswersChanged(_answers: Record<string, any>): void;
|
|
1027
|
+
protected handleReviewClick(): void;
|
|
1028
|
+
protected handleReviewSubmit(): Promise<void>;
|
|
942
1029
|
protected handlePreviousClick(): Promise<void>;
|
|
943
1030
|
protected handleNextClick(): Promise<void>;
|
|
944
1031
|
protected handleSubmitClick(): Promise<void>;
|
|
1032
|
+
protected handleDone(): void;
|
|
945
1033
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMQuestionnaireViewerPageComponent, never>;
|
|
946
1034
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMQuestionnaireViewerPageComponent, "axm-questionnaire-viewer-page", never, {}, {}, never, never, true, never>;
|
|
947
1035
|
}
|
|
948
1036
|
|
|
949
|
-
|
|
950
|
-
* Standalone questionnaire viewer page for external access (e.g. shareable links).
|
|
951
|
-
* Renders full-screen without app shell (no sidebar, no main header).
|
|
952
|
-
*/
|
|
1037
|
+
type FlowStep = 'pre' | 'questions' | 'review' | 'summary';
|
|
953
1038
|
declare class AXMQuestionnaireViewerStandalonePageComponent implements OnInit {
|
|
954
1039
|
private readonly route;
|
|
955
1040
|
private readonly sessionService;
|
|
956
1041
|
private readonly caseService;
|
|
957
1042
|
private readonly questionnaireService;
|
|
958
1043
|
protected readonly structure: _angular_core.WritableSignal<QuestionnaireBuilderValue | null>;
|
|
1044
|
+
protected readonly questionnaire: _angular_core.WritableSignal<any>;
|
|
959
1045
|
protected readonly initialAnswers: _angular_core.WritableSignal<Record<string, any>>;
|
|
1046
|
+
protected readonly prePostConfig: _angular_core.WritableSignal<_acorex_modules_assessment_management.PrePostConfig | null>;
|
|
960
1047
|
protected readonly viewerConfig: _angular_core.WritableSignal<QuestionnaireViewerConfig | undefined>;
|
|
961
1048
|
protected readonly isLoading: _angular_core.WritableSignal<boolean>;
|
|
962
1049
|
protected readonly loadError: _angular_core.WritableSignal<string | null>;
|
|
963
1050
|
protected readonly isSubmitting: _angular_core.WritableSignal<boolean>;
|
|
964
|
-
protected readonly
|
|
1051
|
+
protected readonly flowStep: _angular_core.WritableSignal<FlowStep>;
|
|
1052
|
+
protected readonly reviewSnapshot: _angular_core.WritableSignal<QuestionWithAnswer[]>;
|
|
1053
|
+
protected readonly reviewContext: _angular_core.WritableSignal<Record<string, any> | null>;
|
|
1054
|
+
protected readonly submitResult: _angular_core.WritableSignal<SummaryPlaceholderValues | null>;
|
|
1055
|
+
protected readonly canNavigatePrevious: _angular_core.WritableSignal<boolean>;
|
|
1056
|
+
protected readonly canNavigateNext: _angular_core.WritableSignal<boolean>;
|
|
1057
|
+
protected readonly showNavigationButtons: _angular_core.WritableSignal<boolean>;
|
|
1058
|
+
protected readonly isLastStep: _angular_core.WritableSignal<boolean>;
|
|
1059
|
+
protected readonly areAllRequiredQuestionsAnswered: _angular_core.WritableSignal<boolean>;
|
|
1060
|
+
protected readonly viewer: _angular_core.Signal<AXMQuestionnaireViewerComponent | undefined>;
|
|
965
1061
|
protected readonly viewerViewModel: _angular_core.Signal<({
|
|
966
1062
|
questionnaireData: _angular_core.Signal<QuestionnaireViewerData | null>;
|
|
967
1063
|
structure: _angular_core.Signal<QuestionnaireBuilderValue | null>;
|
|
@@ -1025,6 +1121,7 @@ declare class AXMQuestionnaireViewerStandalonePageComponent implements OnInit {
|
|
|
1025
1121
|
description?: string;
|
|
1026
1122
|
answer: any;
|
|
1027
1123
|
isRequired?: boolean;
|
|
1124
|
+
question: QuestionnaireViewerQuestion;
|
|
1028
1125
|
}>;
|
|
1029
1126
|
getSectionUnansweredRequiredCount: (sectionId: string) => number;
|
|
1030
1127
|
submit: () => Promise<{
|
|
@@ -1050,28 +1147,29 @@ declare class AXMQuestionnaireViewerStandalonePageComponent implements OnInit {
|
|
|
1050
1147
|
validationErrors: QuestionnaireValidationError[];
|
|
1051
1148
|
}>) | undefined>;
|
|
1052
1149
|
protected readonly totalQuestionsCount: _angular_core.Signal<number>;
|
|
1053
|
-
protected readonly totalSectionsCount: _angular_core.Signal<number>;
|
|
1054
1150
|
protected readonly showTimer: _angular_core.Signal<boolean>;
|
|
1055
1151
|
protected readonly timerTimeLimit: _angular_core.Signal<number | undefined>;
|
|
1056
1152
|
protected readonly timerElapsed: _angular_core.Signal<number>;
|
|
1057
1153
|
protected readonly showProgressBar: _angular_core.Signal<boolean>;
|
|
1058
1154
|
protected readonly answeredQuestionsCount: _angular_core.Signal<number>;
|
|
1059
1155
|
protected readonly isReadonly: _angular_core.Signal<boolean>;
|
|
1060
|
-
protected readonly
|
|
1061
|
-
|
|
1062
|
-
protected readonly
|
|
1063
|
-
protected readonly isLastStep: _angular_core.WritableSignal<boolean>;
|
|
1064
|
-
protected readonly areAllRequiredQuestionsAnswered: _angular_core.WritableSignal<boolean>;
|
|
1156
|
+
protected readonly showReviewButton: _angular_core.Signal<boolean>;
|
|
1157
|
+
/** Use answers from review context when returning from review; otherwise use initial answers. */
|
|
1158
|
+
protected readonly effectiveInitialAnswers: _angular_core.Signal<Record<string, any>>;
|
|
1065
1159
|
constructor();
|
|
1066
1160
|
ngOnInit(): void;
|
|
1067
1161
|
private loadData;
|
|
1068
|
-
|
|
1162
|
+
private saveSessionAndGetSummary;
|
|
1163
|
+
private calculateProgress;
|
|
1164
|
+
protected handleReviewClick(): void;
|
|
1165
|
+
protected handleReviewSubmit(): Promise<void>;
|
|
1069
1166
|
protected handlePreviousClick(): Promise<void>;
|
|
1070
1167
|
protected handleNextClick(): Promise<void>;
|
|
1071
1168
|
protected handleSubmitClick(): Promise<void>;
|
|
1169
|
+
protected handleDone(): void;
|
|
1072
1170
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMQuestionnaireViewerStandalonePageComponent, never>;
|
|
1073
1171
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMQuestionnaireViewerStandalonePageComponent, "axm-questionnaire-viewer-standalone-page", never, {}, {}, never, never, true, never>;
|
|
1074
1172
|
}
|
|
1075
1173
|
|
|
1076
|
-
export { AXMAssessmentCaseService, AXMAssessmentCaseServiceImpl, AXMAssessmentManagementEntityProvider, AXMAssessmentManagementFeatureDefinitionProvider, AXMAssessmentManagementFeatureKeys, AXMAssessmentManagementMenuProvider, AXMAssessmentManagementModule, AXMAssessmentManagementPermissionDefinitionProvider, AXMAssessmentManagementPermissionKeys, AXMAssessmentManagementSearchCommandProvider, AXMAssessmentSessionService, AXMAssessmentSessionServiceImpl, AXMQuestionBankItemService, AXMQuestionBankItemServiceImpl, AXMQuestionnaireService, AXMQuestionnaireServiceImpl, AXMQuestionnaireViewerPageComponent, AXMQuestionnaireViewerStandalonePageComponent, AXPAssessmentManagementMenuKeys, RootConfig };
|
|
1077
|
-
export type { AXMAssessmentCaseStatus, AXMAssessmentManagementAssessmentCaseEntityModel, AXMAssessmentManagementAssessmentSessionEntityModel, AXMAssessmentManagementQuestionBankItemEntityModel, AXMAssessmentManagementQuestionnaireEntityModel, AXMAssessmentSessionRole, AXMAssessmentSessionStatus };
|
|
1174
|
+
export { AXMAssessmentCaseService, AXMAssessmentCaseServiceImpl, AXMAssessmentManagementEntityProvider, AXMAssessmentManagementFeatureDefinitionProvider, AXMAssessmentManagementFeatureKeys, AXMAssessmentManagementMenuProvider, AXMAssessmentManagementModule, AXMAssessmentManagementPermissionDefinitionProvider, AXMAssessmentManagementPermissionKeys, AXMAssessmentManagementSearchCommandProvider, AXMAssessmentSessionService, AXMAssessmentSessionServiceImpl, AXMQuestionBankItemService, AXMQuestionBankItemServiceImpl, AXMQuestionnaireService, AXMQuestionnaireServiceImpl, AXMQuestionnaireViewerPageComponent, AXMQuestionnaireViewerStandalonePageComponent, AXPAssessmentManagementMenuKeys, RootConfig, toPrePostConfig };
|
|
1175
|
+
export type { AXMAssessmentCaseStatus, AXMAssessmentManagementAssessmentCaseEntityModel, AXMAssessmentManagementAssessmentSessionEntityModel, AXMAssessmentManagementQuestionBankItemEntityModel, AXMAssessmentManagementQuestionnaireEntityModel, AXMAssessmentSessionRole, AXMAssessmentSessionStatus, PostQuestionnaireConfig, PrePostConfig, PrePostContentValue, PreQuestionnaireConfig };
|
package/common/index.d.ts
CHANGED
|
@@ -403,6 +403,11 @@ declare class AXMUnlockConfirmWorkflowAction extends AXPWorkflowAction {
|
|
|
403
403
|
}
|
|
404
404
|
declare const AXMUnlockConfirmWorkflow: AXPWorkflow;
|
|
405
405
|
|
|
406
|
+
/** Options for the disable plugin. */
|
|
407
|
+
interface DisablePluginOptions {
|
|
408
|
+
/** Name of the boolean field used for disabled state. Defaults to `'isDisabled'`. */
|
|
409
|
+
fieldName?: string;
|
|
410
|
+
}
|
|
406
411
|
declare const disablePlugin: AXPEntityActionPlugin;
|
|
407
412
|
|
|
408
413
|
interface UniqueFieldsPluginOptions {
|
|
@@ -594,4 +599,4 @@ declare class StateStatusProvider extends AXPStatusProvider {
|
|
|
594
599
|
}
|
|
595
600
|
|
|
596
601
|
export { AXMCommonModule, AXMLockPopupWorkflow, AXMLockPopupWorkflowAction, AXMMenuProvider, AXMSettingProvider, AXMUnlockConfirmWorkflow, AXMUnlockConfirmWorkflowAction, AXPCommonFeatureDefinitionProvider, AXPCommonFeatureKeys, AXPCommonMenuKeys, AXPDisablePluginModule, AXPGlobalSearchModule, AXPGlobalSearchViewModel, AXPStatusPluginModule, AXPUniqueFieldsPluginModule, AXPValidationRulesModule, AXPVersionHistoryModule, AXPWidgetsList, AXP_GLOBAL_SEARCH_CONFIG_TOKEN, ApprovalStatusProvider, CommonManifest, RootConfig, StateStatusProvider, TaskStatusProvider, VARIABLE_NAME_VALIDATION_PATTERN, VariableNameValidationRule, disablePlugin, getActiveStatuses, getFinalStatuses, getInitialStatuses, getStatusByName, getTransitionsFromStatus, getTransitionsToStatus, isValidTransition, statusPlugin, uniqueFieldsPlugin };
|
|
597
|
-
export type { AXPGlobalSearchConfigs, AXPStatusPluginGenerateOptions, AXPStatusPluginGenerateViewsOptions, AXPStatusPluginOptions, AXVariableNameValidationRuleOptions, UniqueFieldsPluginOptions };
|
|
602
|
+
export type { AXPGlobalSearchConfigs, AXPStatusPluginGenerateOptions, AXPStatusPluginGenerateViewsOptions, AXPStatusPluginOptions, AXVariableNameValidationRuleOptions, DisablePluginOptions, UniqueFieldsPluginOptions };
|
|
@@ -3,9 +3,9 @@ import { Injector, InjectionToken } from '@angular/core';
|
|
|
3
3
|
import * as i1 from '@acorex/platform/layout/widget-core';
|
|
4
4
|
import { AXPWidgetConfig, AXPValueWidgetComponent, AXPWidgetNode, AXPWidgetCoreContextChangeEvent, AXPMetaDataDefinition } from '@acorex/platform/layout/widget-core';
|
|
5
5
|
import { AXPEntity, AXPMenuProvider, AXPMenuProviderContext } from '@acorex/platform/common';
|
|
6
|
-
import { AXPEntityModel, AXMEntityCrudServiceImpl, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityPreloadEntity, AXPEntityDefinitionRegistryService, AXPEntityActionPlugin } from '@acorex/platform/layout/entity';
|
|
6
|
+
import { AXPEntityModel, AXMEntityCrudServiceImpl, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityPreloadEntity, AXPEntityDefinitionRegistryService, AXPEntityActionPlugin, AXPEntityService } from '@acorex/platform/layout/entity';
|
|
7
7
|
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
8
|
-
import { AXPFilterDefinition, AXPDataSourceDefinition, AXPFilterClause, AXPDataSourceDataFieldDefinition, AXPOptionsData, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext, AXPTagProvider, AXPTag } from '@acorex/platform/core';
|
|
8
|
+
import { AXPFilterDefinition, AXPDataSourceDefinition, AXPFilterClause, AXPDataSourceDataFieldDefinition, AXPOptionsData, AXPExecuteCommandResult, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext, AXPTagProvider, AXPTag } from '@acorex/platform/core';
|
|
9
9
|
import { AXDataSource, AXDataSourceOperator, AXFilterLogic } from '@acorex/cdk/common';
|
|
10
10
|
import { AXDropListDroppedEvent } from '@acorex/cdk/drag-drop';
|
|
11
11
|
import * as _acorex_modules_data_management from '@acorex/modules/data-management';
|
|
@@ -14,6 +14,7 @@ import { AXPLayoutBuilderService, AXPDynamicFormDefinition } from '@acorex/platf
|
|
|
14
14
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
15
15
|
import { AXDialogService } from '@acorex/components/dialog';
|
|
16
16
|
import { AXPDataSelectorService, AXPWidgetPropertyViewerService } from '@acorex/platform/layout/components';
|
|
17
|
+
import { AXPCommand } from '@acorex/platform/runtime';
|
|
17
18
|
|
|
18
19
|
declare class AXMQueryEntityModule {
|
|
19
20
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMQueryEntityModule, never>;
|
|
@@ -104,19 +105,6 @@ declare const RootConfig: {
|
|
|
104
105
|
title: string;
|
|
105
106
|
icon: string;
|
|
106
107
|
};
|
|
107
|
-
equipmentCategory: {
|
|
108
|
-
name: string;
|
|
109
|
-
title: string;
|
|
110
|
-
titlePlural: string;
|
|
111
|
-
icon: string;
|
|
112
|
-
};
|
|
113
|
-
equipment: {
|
|
114
|
-
name: string;
|
|
115
|
-
source: string;
|
|
116
|
-
title: string;
|
|
117
|
-
titlePlural: string;
|
|
118
|
-
icon: string;
|
|
119
|
-
};
|
|
120
108
|
};
|
|
121
109
|
};
|
|
122
110
|
|
|
@@ -527,20 +515,6 @@ interface AXMTag {
|
|
|
527
515
|
updatedAt?: Date;
|
|
528
516
|
}
|
|
529
517
|
|
|
530
|
-
declare function equipmentFactory(injector: Injector): Promise<AXPEntity | null>;
|
|
531
|
-
|
|
532
|
-
interface AXMDataManagementEquipmentEntityModel extends AXPEntityModel<string> {
|
|
533
|
-
code?: string;
|
|
534
|
-
title: string;
|
|
535
|
-
description?: string;
|
|
536
|
-
categoryIds?: string[];
|
|
537
|
-
categories?: Array<{
|
|
538
|
-
id: string;
|
|
539
|
-
title: string;
|
|
540
|
-
}>;
|
|
541
|
-
statusId?: string;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
518
|
declare class AXMEntityProvider implements AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader {
|
|
545
519
|
private injector;
|
|
546
520
|
preload(): AXPEntityPreloadEntity[];
|
|
@@ -563,8 +537,6 @@ declare const AXPDataManagementMenuKeys: {
|
|
|
563
537
|
readonly Queries: "DataManagement:Menu:Queries";
|
|
564
538
|
readonly DataSources: "DataManagement:Menu:DataSources";
|
|
565
539
|
readonly MetaDataDefinitions: "DataManagement:Menu:MetaDataDefinitions";
|
|
566
|
-
readonly Equipments: "DataManagement:Menu:Equipments";
|
|
567
|
-
readonly EquipmentCategories: "DataManagement:Menu:EquipmentCategories";
|
|
568
540
|
readonly Tags: "DataManagement:Menu:Tags";
|
|
569
541
|
};
|
|
570
542
|
|
|
@@ -2005,6 +1977,44 @@ declare class AXPMetaDataSelectorWidgetEditComponent extends AXPValueWidgetCompo
|
|
|
2005
1977
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPMetaDataSelectorWidgetEditComponent, "axp-meta-data-selector-widget-edit", never, {}, {}, never, never, true, never>;
|
|
2006
1978
|
}
|
|
2007
1979
|
|
|
1980
|
+
/** Display configuration for section (selector shown inline in entity views) */
|
|
1981
|
+
type MetaDataSelectorSectionConfig = {
|
|
1982
|
+
enabled?: boolean;
|
|
1983
|
+
title?: string;
|
|
1984
|
+
order?: number;
|
|
1985
|
+
};
|
|
1986
|
+
/** Display configuration for popup (action opens selector in dialog) */
|
|
1987
|
+
type MetaDataSelectorPopupConfig = {
|
|
1988
|
+
enabled?: boolean;
|
|
1989
|
+
title?: string;
|
|
1990
|
+
order?: number;
|
|
1991
|
+
};
|
|
1992
|
+
/** Flexible display configuration object for the meta-data-selector */
|
|
1993
|
+
type MetaDataSelectorDisplayConfig = {
|
|
1994
|
+
section?: MetaDataSelectorSectionConfig;
|
|
1995
|
+
popup?: MetaDataSelectorPopupConfig;
|
|
1996
|
+
};
|
|
1997
|
+
/** Display option - where to show the meta-data-selector: section, popup, or both */
|
|
1998
|
+
type MetaDataSelectorDisplay = MetaDataSelectorDisplayConfig | 'section' | 'popup' | 'both';
|
|
1999
|
+
type MetaDataSelectorPluginOptions = {
|
|
2000
|
+
/** Field and group title */
|
|
2001
|
+
title?: string;
|
|
2002
|
+
/** How to display the meta-data-selector: section (inline), popup (button opens dialog), or both */
|
|
2003
|
+
display?: MetaDataSelectorDisplay;
|
|
2004
|
+
/** If true, each metadata group becomes a separate entity section (TODO) */
|
|
2005
|
+
renderGroupsAsSections?: boolean;
|
|
2006
|
+
};
|
|
2007
|
+
/**
|
|
2008
|
+
* meta-data-selector plugin
|
|
2009
|
+
*
|
|
2010
|
+
* Dynamic behavior:
|
|
2011
|
+
* - Creates a single property for metadata selector configuration
|
|
2012
|
+
* - Dynamically generates entity groups and meta-data-form widgets based on configured groups
|
|
2013
|
+
* - Each metadata group becomes a separate entity section with its own meta-data-form widget
|
|
2014
|
+
* - Reads group configuration at runtime from the field value
|
|
2015
|
+
*/
|
|
2016
|
+
declare const metaDataSelectorPlugin: AXPEntityActionPlugin;
|
|
2017
|
+
|
|
2008
2018
|
declare class AXPMetaDataSelectorWidgetViewComponent extends AXPValueWidgetComponent<any> {
|
|
2009
2019
|
/**
|
|
2010
2020
|
* Returns a comma-separated list of selected meta titles.
|
|
@@ -2017,20 +2027,33 @@ declare class AXPMetaDataSelectorWidgetViewComponent extends AXPValueWidgetCompo
|
|
|
2017
2027
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPMetaDataSelectorWidgetViewComponent, "axp-meta-data-selector-widget-view", never, {}, {}, never, never, true, never>;
|
|
2018
2028
|
}
|
|
2019
2029
|
|
|
2020
|
-
|
|
2030
|
+
interface ShowMetaDataSelectorPopupInput {
|
|
2031
|
+
entity: string;
|
|
2032
|
+
id: string;
|
|
2033
|
+
/** Selector field name (default: META_DATA_SELECTOR_FIELD) */
|
|
2034
|
+
field?: string;
|
|
2021
2035
|
title?: string;
|
|
2022
|
-
|
|
2023
|
-
};
|
|
2036
|
+
}
|
|
2024
2037
|
/**
|
|
2025
|
-
* meta-data-selector
|
|
2026
|
-
*
|
|
2027
|
-
* Dynamic behavior:
|
|
2028
|
-
* - Creates a single property for metadata selector configuration
|
|
2029
|
-
* - Dynamically generates entity groups and meta-data-form widgets based on configured groups
|
|
2030
|
-
* - Each metadata group becomes a separate entity section with its own meta-data-form widget
|
|
2031
|
-
* - Reads group configuration at runtime from the field value
|
|
2038
|
+
* Opens the meta-data-selector (configuration UI for groups/fields) in a popup.
|
|
2039
|
+
* Used when meta-data-selector plugin has display: 'popup' or 'both'.
|
|
2032
2040
|
*/
|
|
2033
|
-
declare
|
|
2041
|
+
declare class ShowMetaDataSelectorPopupCommand implements AXPCommand<ShowMetaDataSelectorPopupInput, any> {
|
|
2042
|
+
protected readonly layoutBuilder: AXPLayoutBuilderService;
|
|
2043
|
+
protected readonly translationService: AXTranslationService;
|
|
2044
|
+
protected readonly entityService: AXPEntityService;
|
|
2045
|
+
execute(input: ShowMetaDataSelectorPopupInput | any): Promise<AXPExecuteCommandResult<any>>;
|
|
2046
|
+
/**
|
|
2047
|
+
* Loads a record by entity and id. Override to use custom data sources or key handling.
|
|
2048
|
+
*/
|
|
2049
|
+
protected findRecord(entity: string, id: string): Promise<Record<string, unknown> | null>;
|
|
2050
|
+
/**
|
|
2051
|
+
* Persists meta-data changes. Override to use custom persistence or validation.
|
|
2052
|
+
*/
|
|
2053
|
+
protected updateRecord(entity: string, id: string, data: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
2054
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShowMetaDataSelectorPopupCommand, never>;
|
|
2055
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ShowMetaDataSelectorPopupCommand>;
|
|
2056
|
+
}
|
|
2034
2057
|
|
|
2035
2058
|
/**
|
|
2036
2059
|
* Metadata Evaluator Scope Provider
|
|
@@ -2081,7 +2104,6 @@ declare const AXMDataManagementFeatureKeys: {
|
|
|
2081
2104
|
readonly Queries: "DataManagement:Feature:Queries";
|
|
2082
2105
|
readonly DataSources: "DataManagement:Feature:DataSources";
|
|
2083
2106
|
readonly MetaDataDefinitions: "DataManagement:Feature:MetaDataDefinitions";
|
|
2084
|
-
readonly Equipments: "DataManagement:Feature:Equipments";
|
|
2085
2107
|
};
|
|
2086
2108
|
|
|
2087
2109
|
declare const AXMPermissionsKeys: {
|
|
@@ -2095,14 +2117,11 @@ declare const AXMPermissionsKeys: {
|
|
|
2095
2117
|
MetaDataDefinition: {
|
|
2096
2118
|
Management: string;
|
|
2097
2119
|
};
|
|
2098
|
-
Equipment: {
|
|
2099
|
-
Management: string;
|
|
2100
|
-
};
|
|
2101
2120
|
Tag: {
|
|
2102
2121
|
Management: string;
|
|
2103
2122
|
};
|
|
2104
2123
|
};
|
|
2105
2124
|
};
|
|
2106
2125
|
|
|
2107
|
-
export { AXMColumnFilterSelectorWidget, AXMColumnFilterSelectorWidgetColumnComponent, AXMColumnFilterSelectorWidgetEditComponent, AXMColumnFilterSelectorWidgetFilterComponent, AXMColumnFilterSelectorWidgetPrintComponent, AXMColumnFilterSelectorWidgetViewComponent, AXMDataManagementFeatureKeys, AXMDataManagementModule, AXMDataSourceEntityModule, AXMDataSourceOutputType, AXMDataSourceService, AXMDataSourceServiceImpl, AXMDataSourceType, AXMDefaultAggregateFunctionProvider, AXMDefaultDatabaseTypeProvider, AXMEntityProvider, AXMMenuProvider, AXMMetaDataDefinitionEntityModule, AXMMetaDataDefinitionService, AXMMetaDataFeatureModule, AXMMetadataEvaluatorScopeProvider, AXMPMetaDataDefinitionServiceImpl, AXMPermissionsKeys, AXMQueryEntityModule, AXMQueryService, AXMQueryServiceImpl, AXMTagEntityModule, AXMTagEntityService, AXMTagsFeatureModule, AXM_COLUMN_DEF_WIDGET, AXM_FILTER_DEF_WIDGET, AXPAggregateBuilderComponent, AXPAggregateFunctionService, AXPAggregateFunctionsRegistry, AXPColumnsBuilderComponent, AXPDataManagementMenuKeys, AXPDatabaseTypeService, AXPGroupByBuilderComponent, AXPMetaDataSelectorWidget, AXPMetaDataSelectorWidgetEditComponent, AXPMetaDataSelectorWidgetViewComponent, AXPQueryBuilderComponent, AXPQueryBuilderWidget, AXPQueryBuilderWidgetColumnComponent, AXPQueryBuilderWidgetDesignerComponent, AXPQueryBuilderWidgetEditComponent, AXPQueryBuilderWidgetViewComponent, AXPRawQueryBuilderComponent, AXPSortBuilderComponent, AXPSystemTagProvider, AXPWhereBuilderComponent, AXP_AGGREGATE_FUNCTION_PROVIDER, AXP_DATABASE_TYPE_PROVIDER, AXP_DEFAULT_AGGREGATE_FUNCTION_PROVIDER, AXP_DEFAULT_DATABASE_TYPE_PROVIDER, META_DATA_FORM_FIELD, META_DATA_SELECTOR_FIELD, RootConfig, convertStateToValue, convertValueToState, createDefaultGroup, dataSourceEntityFactory,
|
|
2108
|
-
export type { AXMColumnFilterSelectorWidgetConfigType,
|
|
2126
|
+
export { AXMColumnFilterSelectorWidget, AXMColumnFilterSelectorWidgetColumnComponent, AXMColumnFilterSelectorWidgetEditComponent, AXMColumnFilterSelectorWidgetFilterComponent, AXMColumnFilterSelectorWidgetPrintComponent, AXMColumnFilterSelectorWidgetViewComponent, AXMDataManagementFeatureKeys, AXMDataManagementModule, AXMDataSourceEntityModule, AXMDataSourceOutputType, AXMDataSourceService, AXMDataSourceServiceImpl, AXMDataSourceType, AXMDefaultAggregateFunctionProvider, AXMDefaultDatabaseTypeProvider, AXMEntityProvider, AXMMenuProvider, AXMMetaDataDefinitionEntityModule, AXMMetaDataDefinitionService, AXMMetaDataFeatureModule, AXMMetadataEvaluatorScopeProvider, AXMPMetaDataDefinitionServiceImpl, AXMPermissionsKeys, AXMQueryEntityModule, AXMQueryService, AXMQueryServiceImpl, AXMTagEntityModule, AXMTagEntityService, AXMTagsFeatureModule, AXM_COLUMN_DEF_WIDGET, AXM_FILTER_DEF_WIDGET, AXPAggregateBuilderComponent, AXPAggregateFunctionService, AXPAggregateFunctionsRegistry, AXPColumnsBuilderComponent, AXPDataManagementMenuKeys, AXPDatabaseTypeService, AXPGroupByBuilderComponent, AXPMetaDataSelectorWidget, AXPMetaDataSelectorWidgetEditComponent, AXPMetaDataSelectorWidgetViewComponent, AXPQueryBuilderComponent, AXPQueryBuilderWidget, AXPQueryBuilderWidgetColumnComponent, AXPQueryBuilderWidgetDesignerComponent, AXPQueryBuilderWidgetEditComponent, AXPQueryBuilderWidgetViewComponent, AXPRawQueryBuilderComponent, AXPSortBuilderComponent, AXPSystemTagProvider, AXPWhereBuilderComponent, AXP_AGGREGATE_FUNCTION_PROVIDER, AXP_DATABASE_TYPE_PROVIDER, AXP_DEFAULT_AGGREGATE_FUNCTION_PROVIDER, AXP_DEFAULT_DATABASE_TYPE_PROVIDER, META_DATA_FORM_FIELD, META_DATA_SELECTOR_FIELD, RootConfig, ShowMetaDataSelectorPopupCommand, convertStateToValue, convertValueToState, createDefaultGroup, dataSourceEntityFactory, factory, metaDataDefinitionFactory, metaDataSelectorPlugin, queryFactory, tagsPlugin };
|
|
2127
|
+
export type { AXMColumnFilterSelectorWidgetConfigType, AXMDataManagementQueryEntityModel, AXMDataSourceEntityModel, AXMDataSourceFilter, AXMDataSourceOutputTypeOption, AXMDataSourceTypeOption, AXMMetaDataDefinitionEntityModel, AXMMetaDataSelectorField, AXMMetaDataSelectorGroup, AXMMetaDataSelectorState, AXMMetaDataSelectorValue, AXMQueryEntityModel, AXMTag, AXPAggregateCategory, AXPAggregateFunctionDefinition, AXPAggregateFunctionProvider, AXPAggregateFunctionProviderToken, AXPAggregateOperation, AXPDatabaseType, AXPDatabaseTypeDefinition, AXPDatabaseTypeProvider, AXPDatabaseTypeProviderToken, AXPMetaDataSelectorWidgetConfigType, AXPQueryBuilderData, AXPQueryBuilderWidgetConfigType, AXPQueryExecutionResult, AXPQueryOutputType, AXPQuerySortRule, AXPTagPluginOptions, ColumnFilterValue, MetaDataSelectorDisplay, MetaDataSelectorDisplayConfig, MetaDataSelectorPluginOptions, MetaDataSelectorPopupConfig, MetaDataSelectorSectionConfig, ShowMetaDataSelectorPopupInput };
|