@acorex/modules 21.0.0-next.67 → 21.0.0-next.70
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-modules-assessment-management-acorex-modules-assessment-management-DHM3xrMh.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-IHgQ8RVH.mjs} +91 -38
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-IHgQ8RVH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-DLO1sfD4.mjs → acorex-modules-assessment-management-assessment-case.entity-B95yBXgi.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-DLO1sfD4.mjs.map → acorex-modules-assessment-management-assessment-case.entity-B95yBXgi.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-session-answers-view.util-CDAdDXDl.mjs → acorex-modules-assessment-management-assessment-session-answers-view.util-Jhy94fgV.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-session-answers-view.util-CDAdDXDl.mjs.map → acorex-modules-assessment-management-assessment-session-answers-view.util-Jhy94fgV.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-FDgQPy0O.mjs → acorex-modules-assessment-management-assessment-session.entity-DBhBxqh1.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-FDgQPy0O.mjs.map → acorex-modules-assessment-management-assessment-session.entity-DBhBxqh1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-CfcHl3L_.mjs → acorex-modules-assessment-management-fill-assessment-session.command-nkFpnKE2.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-CfcHl3L_.mjs.map → acorex-modules-assessment-management-fill-assessment-session.command-nkFpnKE2.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-DsQ_LTMn.mjs → acorex-modules-assessment-management-preview-question.command-B29oj3WB.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-DsQ_LTMn.mjs.map → acorex-modules-assessment-management-preview-question.command-B29oj3WB.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BKxRn8Ha.mjs → acorex-modules-assessment-management-preview-questionnaire.command-Sd4gRHo5.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BKxRn8Ha.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-Sd4gRHo5.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-Dxhk9mD4.mjs → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-BCtQO_j7.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-Dxhk9mD4.mjs.map → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-BCtQO_j7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-6H5NiAwi.mjs → acorex-modules-assessment-management-question-bank-item.entity-RLIfWCzq.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-6H5NiAwi.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-RLIfWCzq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-B0ZKyWy5.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-B8LMKqVO.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-B0ZKyWy5.mjs.map → acorex-modules-assessment-management-questionnaire-viewer-popup.component-B8LMKqVO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-BS1ohT8P.mjs → acorex-modules-assessment-management-questionnaire.entity-CZBnfCYE.mjs} +4 -2
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-CZBnfCYE.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-review-assessment-session.command-Dcopsdi4.mjs → acorex-modules-assessment-management-review-assessment-session.command-hB_LFUSE.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-review-assessment-session.command-Dcopsdi4.mjs.map → acorex-modules-assessment-management-review-assessment-session.command-hB_LFUSE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-3UWzJPH6.mjs → acorex-modules-assessment-management-view-session-answers.command-BN-nYHha.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-3UWzJPH6.mjs.map → acorex-modules-assessment-management-view-session-answers.command-BN-nYHha.mjs.map} +1 -1
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/{acorex-modules-data-management-index-DdExF8qX.mjs → acorex-modules-data-management-index-DEm_BsbE.mjs} +7 -5
- package/fesm2022/acorex-modules-data-management-index-DEm_BsbE.mjs.map +1 -0
- package/fesm2022/acorex-modules-data-management.mjs +2 -2
- package/fesm2022/{acorex-modules-workflow-management-index-CdaVEEgn.mjs → acorex-modules-workflow-management-index-1B7oRAKX.mjs} +2 -2
- package/fesm2022/acorex-modules-workflow-management-index-1B7oRAKX.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +2 -2
- package/package.json +2 -2
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-DHM3xrMh.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-BS1ohT8P.mjs.map +0 -1
- package/fesm2022/acorex-modules-data-management-index-DdExF8qX.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-index-CdaVEEgn.mjs.map +0 -1
|
@@ -6,7 +6,7 @@ import { AXPSearchCommandProvider, createEntityCommandOptions, AXPFileStorageSer
|
|
|
6
6
|
import { AXPAuthGuard, AXP_PERMISSION_DEFINITION_PROVIDER, AXPSessionService } from '@acorex/platform/auth';
|
|
7
7
|
import { AXPDataSelectorService, AXPPropertyViewerService, AXPStandardSectionItemsBuilderComponent, AXPStateMessageComponent, AXP_PAGE_COMPONENT_PROVIDER, AXPOutcomeResultsViewerComponent, AXPThemeLayoutBlockComponent, AXPStopwatchComponent } from '@acorex/platform/layout/components';
|
|
8
8
|
import { AXPCommandService, provideCommandSetups, provideCommand } from '@acorex/platform/runtime';
|
|
9
|
-
import { AXPExpressionEvaluatorService, AXPDeviceService, AXPBroadcastEventService, AXPDataGenerator, containsHtmlMarkup, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider, AXP_FEATURE_DEFINITION_PROVIDER
|
|
9
|
+
import { AXPExpressionEvaluatorService, AXPDeviceService, AXPBroadcastEventService, AXPContextStore, AXPDataGenerator, containsHtmlMarkup, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider, AXP_FEATURE_DEFINITION_PROVIDER } from '@acorex/platform/core';
|
|
10
10
|
import { ROUTES, ActivatedRoute, Router } from '@angular/router';
|
|
11
11
|
import { AXPRootLayoutComponent } from '@acorex/platform/themes/default';
|
|
12
12
|
import { AXMMetaDataDefinitionEntityModule } from '@acorex/modules/data-management';
|
|
@@ -101,13 +101,13 @@ class AXMAssessmentManagementEntityProvider {
|
|
|
101
101
|
if (moduleName === RootConfig.module.name) {
|
|
102
102
|
switch (entityName) {
|
|
103
103
|
case RootConfig.entities.questionBankItem.name:
|
|
104
|
-
return (await import('./acorex-modules-assessment-management-question-bank-item.entity-
|
|
104
|
+
return (await import('./acorex-modules-assessment-management-question-bank-item.entity-RLIfWCzq.mjs')).factory(this.injector);
|
|
105
105
|
case RootConfig.entities.questionnaire.name:
|
|
106
|
-
return (await import('./acorex-modules-assessment-management-questionnaire.entity-
|
|
106
|
+
return (await import('./acorex-modules-assessment-management-questionnaire.entity-CZBnfCYE.mjs')).factory();
|
|
107
107
|
case RootConfig.entities.assessmentCase.name:
|
|
108
|
-
return (await import('./acorex-modules-assessment-management-assessment-case.entity-
|
|
108
|
+
return (await import('./acorex-modules-assessment-management-assessment-case.entity-B95yBXgi.mjs')).factory(this.injector);
|
|
109
109
|
case RootConfig.entities.assessmentSession.name:
|
|
110
|
-
return (await import('./acorex-modules-assessment-management-assessment-session.entity-
|
|
110
|
+
return (await import('./acorex-modules-assessment-management-assessment-session.entity-DBhBxqh1.mjs')).factory(this.injector);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
return null;
|
|
@@ -430,10 +430,10 @@ const AXMQuestionBankInterfaceEditorWidget = {
|
|
|
430
430
|
],
|
|
431
431
|
components: {
|
|
432
432
|
edit: {
|
|
433
|
-
component: () => import('./acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-
|
|
433
|
+
component: () => import('./acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-BCtQO_j7.mjs').then((c) => c.AXMQuestionBankInterfaceEditorWidgetEditComponent),
|
|
434
434
|
},
|
|
435
435
|
designer: {
|
|
436
|
-
component: () => import('./acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-
|
|
436
|
+
component: () => import('./acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-BCtQO_j7.mjs').then((c) => c.AXMQuestionBankInterfaceEditorWidgetEditComponent),
|
|
437
437
|
},
|
|
438
438
|
column: {
|
|
439
439
|
component: () => import('@acorex/platform/layout/widgets').then((m) => m.AXPWidgetFieldConfiguratorWidgetColumnComponent),
|
|
@@ -1376,7 +1376,7 @@ class AXMQuestionnaireViewerService {
|
|
|
1376
1376
|
* Open questionnaire viewer in a dialog
|
|
1377
1377
|
*/
|
|
1378
1378
|
async open(config) {
|
|
1379
|
-
const { AXMQuestionnaireViewerPopupComponent } = await import('./acorex-modules-assessment-management-questionnaire-viewer-popup.component-
|
|
1379
|
+
const { AXMQuestionnaireViewerPopupComponent } = await import('./acorex-modules-assessment-management-questionnaire-viewer-popup.component-B8LMKqVO.mjs');
|
|
1380
1380
|
const structure = config.structure;
|
|
1381
1381
|
const submitHandler = config.submitHandler ??
|
|
1382
1382
|
((answers) => this.buildSummaryPlaceholderValues(structure, answers, {
|
|
@@ -3057,6 +3057,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
3057
3057
|
/** Component key for the questionnaire Questions page tab. Register via AXP_PAGE_COMPONENT_PROVIDER. */
|
|
3058
3058
|
const QUESTIONNAIRE_QUESTIONS_PAGE_COMPONENT_KEY = 'questionnaire-questions-page';
|
|
3059
3059
|
|
|
3060
|
+
/**
|
|
3061
|
+
* Resolves a persisted host entity id from wizard/details context (supports id, _id, string or number).
|
|
3062
|
+
*/
|
|
3063
|
+
function resolvePersistedEntityId(ctx) {
|
|
3064
|
+
if (!ctx) {
|
|
3065
|
+
return undefined;
|
|
3066
|
+
}
|
|
3067
|
+
const raw = ctx['id'] ?? ctx['_id'];
|
|
3068
|
+
if (typeof raw === 'string' && raw.length > 0) {
|
|
3069
|
+
return raw;
|
|
3070
|
+
}
|
|
3071
|
+
if (typeof raw === 'number' && !Number.isNaN(raw)) {
|
|
3072
|
+
return String(raw);
|
|
3073
|
+
}
|
|
3074
|
+
return undefined;
|
|
3075
|
+
}
|
|
3076
|
+
|
|
3060
3077
|
const QUESTIONNAIRE_QUESTIONS_SAVE_COMMAND = 'Questionnaire:Questions:Save';
|
|
3061
3078
|
/**
|
|
3062
3079
|
* Command to save the questionnaire questions field.
|
|
@@ -3139,6 +3156,7 @@ class AXMQuestionnaireQuestionsPageComponent extends AXPPageLayoutBaseComponent
|
|
|
3139
3156
|
//#region ---- Services & Dependencies ----
|
|
3140
3157
|
this.commandService = inject(AXPCommandService);
|
|
3141
3158
|
this.eventService = inject(AXPBroadcastEventService);
|
|
3159
|
+
this.contextStore = inject(AXPContextStore);
|
|
3142
3160
|
this.hostPageLayout = inject(AXPPageLayoutBase, { optional: true, skipSelf: true });
|
|
3143
3161
|
//#endregion
|
|
3144
3162
|
//#region ---- View References ----
|
|
@@ -3180,13 +3198,13 @@ class AXMQuestionnaireQuestionsPageComponent extends AXPPageLayoutBaseComponent
|
|
|
3180
3198
|
this.entityDisplaySettings = computed(() => toDisplaySettings((this.rootContext() ?? undefined)) ?? null, ...(ngDevMode ? [{ debugName: "entityDisplaySettings" }] : /* istanbul ignore next */ []));
|
|
3181
3199
|
/** Questionnaire entity id for preview outcome evaluation. */
|
|
3182
3200
|
this.questionnaireEntityId = computed(() => {
|
|
3183
|
-
const
|
|
3184
|
-
return
|
|
3201
|
+
const ctx = this.context();
|
|
3202
|
+
return resolvePersistedEntityId(ctx);
|
|
3185
3203
|
}, ...(ngDevMode ? [{ debugName: "questionnaireEntityId" }] : /* istanbul ignore next */ []));
|
|
3186
3204
|
let previousRootId = undefined;
|
|
3187
3205
|
effect(() => {
|
|
3188
3206
|
const ctx = this.rootContext();
|
|
3189
|
-
const currentId = ctx
|
|
3207
|
+
const currentId = resolvePersistedEntityId(ctx);
|
|
3190
3208
|
if (currentId !== previousRootId) {
|
|
3191
3209
|
previousRootId = currentId;
|
|
3192
3210
|
this.localContext.set(null);
|
|
@@ -3289,7 +3307,7 @@ class AXMQuestionnaireQuestionsPageComponent extends AXPPageLayoutBaseComponent
|
|
|
3289
3307
|
}
|
|
3290
3308
|
async handleSaveExecute() {
|
|
3291
3309
|
const ctx = this.localContext() ?? this.rootContext() ?? {};
|
|
3292
|
-
const id =
|
|
3310
|
+
const id = resolvePersistedEntityId(ctx);
|
|
3293
3311
|
const questions = ctx['questions'];
|
|
3294
3312
|
if (!id) {
|
|
3295
3313
|
return {
|
|
@@ -3343,16 +3361,32 @@ class AXMQuestionnaireQuestionsPageComponent extends AXPPageLayoutBaseComponent
|
|
|
3343
3361
|
this.isDirty.set(false);
|
|
3344
3362
|
this.questionsBaselinePendingReconcile.set(false);
|
|
3345
3363
|
this.localContext.set({ ...base, questions: value });
|
|
3364
|
+
this.contextStore.update('questions', value);
|
|
3346
3365
|
this.recompute();
|
|
3347
3366
|
return;
|
|
3348
3367
|
}
|
|
3349
|
-
|
|
3368
|
+
const nextContext = { ...base, questions: value };
|
|
3369
|
+
this.localContext.set(nextContext);
|
|
3370
|
+
this.contextStore.update('questions', value);
|
|
3350
3371
|
const baseline = this.baselineQuestions();
|
|
3351
3372
|
const dirty = !this.areQuestionsEqual(baseline, value);
|
|
3352
3373
|
this.isDirty.set(dirty);
|
|
3353
3374
|
this.recompute();
|
|
3354
3375
|
}
|
|
3355
3376
|
//#endregion
|
|
3377
|
+
//#region ---- Wizard step context ----
|
|
3378
|
+
getWizardStepContext() {
|
|
3379
|
+
const ctx = this.localContext() ?? this.rootContext();
|
|
3380
|
+
if (!ctx) {
|
|
3381
|
+
return null;
|
|
3382
|
+
}
|
|
3383
|
+
const questions = ctx['questions'];
|
|
3384
|
+
if (questions == null) {
|
|
3385
|
+
return null;
|
|
3386
|
+
}
|
|
3387
|
+
return { questions };
|
|
3388
|
+
}
|
|
3389
|
+
//#endregion
|
|
3356
3390
|
//#region ---- Utility Methods ----
|
|
3357
3391
|
areQuestionsEqual(a, b) {
|
|
3358
3392
|
return isEqual(a, b);
|
|
@@ -3365,7 +3399,7 @@ class AXMQuestionnaireQuestionsPageComponent extends AXPPageLayoutBaseComponent
|
|
|
3365
3399
|
recompute() {
|
|
3366
3400
|
super.recompute();
|
|
3367
3401
|
const maybeLayout = this.hostPageLayout;
|
|
3368
|
-
maybeLayout
|
|
3402
|
+
maybeLayout?.recompute?.();
|
|
3369
3403
|
}
|
|
3370
3404
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireQuestionsPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3371
3405
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: AXMQuestionnaireQuestionsPageComponent, isStandalone: true, selector: "axm-questionnaire-questions-page", inputs: { rootContext: { classPropertyName: "rootContext", publicName: "rootContext", isSignal: true, isRequired: false, transformFunction: null }, pageConfig: { classPropertyName: "pageConfig", publicName: "pageConfig", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
@@ -3381,7 +3415,8 @@ class AXMQuestionnaireQuestionsPageComponent extends AXPPageLayoutBaseComponent
|
|
|
3381
3415
|
[displaySettingsInput]="entityDisplaySettings()"
|
|
3382
3416
|
[questionnaireEntityId]="questionnaireEntityId()"
|
|
3383
3417
|
[showHeader]="false"
|
|
3384
|
-
(valueChange)="onQuestionsChange($event)"
|
|
3418
|
+
(valueChange)="onQuestionsChange($event)"
|
|
3419
|
+
>
|
|
3385
3420
|
</axm-questionnaire-questions-builder>
|
|
3386
3421
|
`, isInline: true, dependencies: [{ kind: "component", type: AXMQuestionnaireQuestionsBuilderComponent, selector: "axm-questionnaire-questions-builder", inputs: ["value", "readonly", "prePostConfig", "showHeader", "displaySettingsInput", "questionnaireEntityId"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3387
3422
|
}
|
|
@@ -3399,7 +3434,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
3399
3434
|
[displaySettingsInput]="entityDisplaySettings()"
|
|
3400
3435
|
[questionnaireEntityId]="questionnaireEntityId()"
|
|
3401
3436
|
[showHeader]="false"
|
|
3402
|
-
(valueChange)="onQuestionsChange($event)"
|
|
3437
|
+
(valueChange)="onQuestionsChange($event)"
|
|
3438
|
+
>
|
|
3403
3439
|
</axm-questionnaire-questions-builder>
|
|
3404
3440
|
`,
|
|
3405
3441
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -4435,6 +4471,7 @@ class AXMQuestionnaireOutcomesPageComponent extends AXPPageLayoutBaseComponent {
|
|
|
4435
4471
|
//#region ---- Services ----
|
|
4436
4472
|
this.commandService = inject(AXPCommandService);
|
|
4437
4473
|
this.eventService = inject(AXPBroadcastEventService);
|
|
4474
|
+
this.contextStore = inject(AXPContextStore);
|
|
4438
4475
|
this.hostPageLayout = inject(AXPPageLayoutBase, { optional: true, skipSelf: true });
|
|
4439
4476
|
//#endregion
|
|
4440
4477
|
//#region ---- View References ----
|
|
@@ -4460,7 +4497,7 @@ class AXMQuestionnaireOutcomesPageComponent extends AXPPageLayoutBaseComponent {
|
|
|
4460
4497
|
let previousRootId = undefined;
|
|
4461
4498
|
effect(() => {
|
|
4462
4499
|
const ctx = this.rootContext();
|
|
4463
|
-
const currentId = ctx
|
|
4500
|
+
const currentId = resolvePersistedEntityId(ctx);
|
|
4464
4501
|
if (currentId !== previousRootId) {
|
|
4465
4502
|
previousRootId = currentId;
|
|
4466
4503
|
this.localContext.set(null);
|
|
@@ -4535,7 +4572,7 @@ class AXMQuestionnaireOutcomesPageComponent extends AXPPageLayoutBaseComponent {
|
|
|
4535
4572
|
}
|
|
4536
4573
|
async handleSaveExecute() {
|
|
4537
4574
|
const ctx = this.localContext() ?? this.rootContext() ?? {};
|
|
4538
|
-
const id =
|
|
4575
|
+
const id = resolvePersistedEntityId(ctx);
|
|
4539
4576
|
const outcomes = normalizeQuestionnaireOutcomesValue(ctx['outcomes']);
|
|
4540
4577
|
if (!id) {
|
|
4541
4578
|
return {
|
|
@@ -4580,14 +4617,28 @@ class AXMQuestionnaireOutcomesPageComponent extends AXPPageLayoutBaseComponent {
|
|
|
4580
4617
|
}
|
|
4581
4618
|
const base = this.localContext() ?? this.rootContext() ?? {};
|
|
4582
4619
|
this.localContext.set({ ...base, outcomes: value });
|
|
4620
|
+
this.contextStore.update('outcomes', value);
|
|
4583
4621
|
this.recompute();
|
|
4584
4622
|
}
|
|
4585
4623
|
//#endregion
|
|
4624
|
+
//#region ---- Wizard step context ----
|
|
4625
|
+
getWizardStepContext() {
|
|
4626
|
+
const ctx = this.localContext() ?? this.rootContext();
|
|
4627
|
+
if (!ctx) {
|
|
4628
|
+
return null;
|
|
4629
|
+
}
|
|
4630
|
+
const outcomes = ctx['outcomes'];
|
|
4631
|
+
if (outcomes == null) {
|
|
4632
|
+
return null;
|
|
4633
|
+
}
|
|
4634
|
+
return { outcomes };
|
|
4635
|
+
}
|
|
4636
|
+
//#endregion
|
|
4586
4637
|
//#region ---- Utility ----
|
|
4587
4638
|
recompute() {
|
|
4588
4639
|
super.recompute();
|
|
4589
4640
|
const maybeLayout = this.hostPageLayout;
|
|
4590
|
-
maybeLayout
|
|
4641
|
+
maybeLayout?.recompute?.();
|
|
4591
4642
|
}
|
|
4592
4643
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireOutcomesPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4593
4644
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: AXMQuestionnaireOutcomesPageComponent, isStandalone: true, selector: "axm-questionnaire-outcomes-page", inputs: { rootContext: { classPropertyName: "rootContext", publicName: "rootContext", isSignal: true, isRequired: false, transformFunction: null }, pageConfig: { classPropertyName: "pageConfig", publicName: "pageConfig", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
@@ -4600,7 +4651,8 @@ class AXMQuestionnaireOutcomesPageComponent extends AXPPageLayoutBaseComponent {
|
|
|
4600
4651
|
#builderRef
|
|
4601
4652
|
[value]="outcomesValue()"
|
|
4602
4653
|
[showHeader]="false"
|
|
4603
|
-
(valueChange)="onOutcomesChange($event)"
|
|
4654
|
+
(valueChange)="onOutcomesChange($event)"
|
|
4655
|
+
>
|
|
4604
4656
|
</axm-questionnaire-outcomes-builder>
|
|
4605
4657
|
`, isInline: true, dependencies: [{ kind: "component", type: AXMQuestionnaireOutcomesBuilderComponent, selector: "axm-questionnaire-outcomes-builder", inputs: ["value", "readonly", "showHeader"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4606
4658
|
}
|
|
@@ -4615,7 +4667,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
4615
4667
|
#builderRef
|
|
4616
4668
|
[value]="outcomesValue()"
|
|
4617
4669
|
[showHeader]="false"
|
|
4618
|
-
(valueChange)="onOutcomesChange($event)"
|
|
4670
|
+
(valueChange)="onOutcomesChange($event)"
|
|
4671
|
+
>
|
|
4619
4672
|
</axm-questionnaire-outcomes-builder>
|
|
4620
4673
|
`,
|
|
4621
4674
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -7539,35 +7592,35 @@ class AXMQuestionnaireViewerFeatureModule {
|
|
|
7539
7592
|
provideCommandSetups([
|
|
7540
7593
|
{
|
|
7541
7594
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:Preview`,
|
|
7542
|
-
command: () => import('./acorex-modules-assessment-management-preview-questionnaire.command-
|
|
7595
|
+
command: () => import('./acorex-modules-assessment-management-preview-questionnaire.command-Sd4gRHo5.mjs').then((c) => c.AXPPreviewQuestionnaireCommand),
|
|
7543
7596
|
},
|
|
7544
7597
|
{
|
|
7545
7598
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:PreviewQuestion`,
|
|
7546
|
-
command: () => import('./acorex-modules-assessment-management-preview-question.command-
|
|
7599
|
+
command: () => import('./acorex-modules-assessment-management-preview-question.command-B29oj3WB.mjs').then((c) => c.PreviewQuestionCommand),
|
|
7547
7600
|
},
|
|
7548
7601
|
{
|
|
7549
7602
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionBankItem.name}:Preview`,
|
|
7550
|
-
command: () => import('./acorex-modules-assessment-management-preview-question.command-
|
|
7603
|
+
command: () => import('./acorex-modules-assessment-management-preview-question.command-B29oj3WB.mjs').then((c) => c.PreviewQuestionCommand),
|
|
7551
7604
|
},
|
|
7552
7605
|
{
|
|
7553
7606
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:ViewAnswers`,
|
|
7554
|
-
command: () => import('./acorex-modules-assessment-management-view-session-answers.command-
|
|
7607
|
+
command: () => import('./acorex-modules-assessment-management-view-session-answers.command-BN-nYHha.mjs').then((c) => c.ViewSessionAnswersCommand),
|
|
7555
7608
|
},
|
|
7556
7609
|
{
|
|
7557
7610
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:Fill`,
|
|
7558
|
-
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-
|
|
7611
|
+
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-nkFpnKE2.mjs').then((c) => c.FillAssessmentSessionCommand),
|
|
7559
7612
|
},
|
|
7560
7613
|
{
|
|
7561
7614
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentCase.name}:Fill`,
|
|
7562
|
-
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-
|
|
7615
|
+
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-nkFpnKE2.mjs').then((c) => c.FillAssessmentSessionCommand),
|
|
7563
7616
|
},
|
|
7564
7617
|
{
|
|
7565
7618
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:ReviewAnswers`,
|
|
7566
|
-
command: () => import('./acorex-modules-assessment-management-review-assessment-session.command-
|
|
7619
|
+
command: () => import('./acorex-modules-assessment-management-review-assessment-session.command-hB_LFUSE.mjs').then((c) => c.ReviewAssessmentSessionCommand),
|
|
7567
7620
|
},
|
|
7568
7621
|
{
|
|
7569
7622
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentCase.name}:ReviewAnswers`,
|
|
7570
|
-
command: () => import('./acorex-modules-assessment-management-review-assessment-session.command-
|
|
7623
|
+
command: () => import('./acorex-modules-assessment-management-review-assessment-session.command-hB_LFUSE.mjs').then((c) => c.ReviewAssessmentSessionCommand),
|
|
7571
7624
|
},
|
|
7572
7625
|
]),
|
|
7573
7626
|
], imports: [AXPWidgetCoreModule,
|
|
@@ -7594,35 +7647,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
7594
7647
|
provideCommandSetups([
|
|
7595
7648
|
{
|
|
7596
7649
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:Preview`,
|
|
7597
|
-
command: () => import('./acorex-modules-assessment-management-preview-questionnaire.command-
|
|
7650
|
+
command: () => import('./acorex-modules-assessment-management-preview-questionnaire.command-Sd4gRHo5.mjs').then((c) => c.AXPPreviewQuestionnaireCommand),
|
|
7598
7651
|
},
|
|
7599
7652
|
{
|
|
7600
7653
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:PreviewQuestion`,
|
|
7601
|
-
command: () => import('./acorex-modules-assessment-management-preview-question.command-
|
|
7654
|
+
command: () => import('./acorex-modules-assessment-management-preview-question.command-B29oj3WB.mjs').then((c) => c.PreviewQuestionCommand),
|
|
7602
7655
|
},
|
|
7603
7656
|
{
|
|
7604
7657
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionBankItem.name}:Preview`,
|
|
7605
|
-
command: () => import('./acorex-modules-assessment-management-preview-question.command-
|
|
7658
|
+
command: () => import('./acorex-modules-assessment-management-preview-question.command-B29oj3WB.mjs').then((c) => c.PreviewQuestionCommand),
|
|
7606
7659
|
},
|
|
7607
7660
|
{
|
|
7608
7661
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:ViewAnswers`,
|
|
7609
|
-
command: () => import('./acorex-modules-assessment-management-view-session-answers.command-
|
|
7662
|
+
command: () => import('./acorex-modules-assessment-management-view-session-answers.command-BN-nYHha.mjs').then((c) => c.ViewSessionAnswersCommand),
|
|
7610
7663
|
},
|
|
7611
7664
|
{
|
|
7612
7665
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:Fill`,
|
|
7613
|
-
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-
|
|
7666
|
+
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-nkFpnKE2.mjs').then((c) => c.FillAssessmentSessionCommand),
|
|
7614
7667
|
},
|
|
7615
7668
|
{
|
|
7616
7669
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentCase.name}:Fill`,
|
|
7617
|
-
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-
|
|
7670
|
+
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-nkFpnKE2.mjs').then((c) => c.FillAssessmentSessionCommand),
|
|
7618
7671
|
},
|
|
7619
7672
|
{
|
|
7620
7673
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:ReviewAnswers`,
|
|
7621
|
-
command: () => import('./acorex-modules-assessment-management-review-assessment-session.command-
|
|
7674
|
+
command: () => import('./acorex-modules-assessment-management-review-assessment-session.command-hB_LFUSE.mjs').then((c) => c.ReviewAssessmentSessionCommand),
|
|
7622
7675
|
},
|
|
7623
7676
|
{
|
|
7624
7677
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentCase.name}:ReviewAnswers`,
|
|
7625
|
-
command: () => import('./acorex-modules-assessment-management-review-assessment-session.command-
|
|
7678
|
+
command: () => import('./acorex-modules-assessment-management-review-assessment-session.command-hB_LFUSE.mjs').then((c) => c.ReviewAssessmentSessionCommand),
|
|
7626
7679
|
},
|
|
7627
7680
|
]),
|
|
7628
7681
|
],
|
|
@@ -9165,4 +9218,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
9165
9218
|
*/
|
|
9166
9219
|
|
|
9167
9220
|
export { AXMQuestionnaireViewerService as A, diffQuestionCommentOverride as B, diffQuestionHintOverride as C, DEFAULT_POST_QUESTIONNAIRE_CONFIG as D, findDuplicateOutcomeNames as E, flattenQuestionnaireOutcomeItems as F, getQuestionAnswerCommentStoragePath as G, isQuestionnaireOutcomeDisplayColorHex as H, matchesQuestionnaireOutcomeDisplayRule as I, mergeQuestionCommentConfig as J, mergeQuestionHintForViewer as K, normalizeQuestionCommentConfig as L, normalizeQuestionHintConfig as M, normalizeQuestionHintFromEntityRow as N, normalizeQuestionHintMode as O, normalizeQuestionnaireOutcomeDisplayRules as P, QUESTIONNAIRE_QUESTIONS_PAGE_COMPONENT_KEY as Q, RootConfig as R, normalizeQuestionnaireOutcomesValue as S, normalizeValidationStrategy$1 as T, normalizeViewMode as U, parseQuestionHintPartialFromRecord as V, parseQuestionnaireOutcomeDisplayColor as W, readHintFieldsFromRecord as X, QUESTIONNAIRE_OUTCOMES_PAGE_COMPONENT_KEY as a, AXMQuestionnaireViewerComponent as b, AXMPreQuestionnaireContentComponent as c, AXMPostQuestionnaireContentComponent as d, toDisplaySettings as e, AXMAssessmentManagementEntityProvider as f, AXMAssessmentManagementFeatureDefinitionProvider as g, AXMAssessmentManagementFeatureKeys as h, AXMAssessmentManagementMenuProvider as i, AXMAssessmentManagementModule as j, AXMAssessmentManagementPermissionDefinitionProvider as k, AXMAssessmentManagementPermissionKeys as l, AXMAssessmentManagementSearchCommandProvider as m, normalizeCompletionMode as n, AXMQuestionnaireViewerPageComponent as o, persistAssessmentSession as p, AXMQuestionnaireViewerStandalonePageComponent as q, resolveWidgetNodeFromMetaDataDefinitionInterface as r, stripQuestionBankInterfaceMetadata as s, toPrePostConfig as t, AXPAssessmentManagementMenuKeys as u, DEFAULT_PRE_QUESTIONNAIRE_CONFIG as v, DEFAULT_QUESTIONNAIRE_ENTITY_DISPLAY as w, DEFAULT_QUESTIONNAIRE_OUTCOMES as x, DEFAULT_QUESTION_COMMENT_CONFIG as y, DEFAULT_QUESTION_HINT_CONFIG as z };
|
|
9168
|
-
//# sourceMappingURL=acorex-modules-assessment-management-acorex-modules-assessment-management-
|
|
9221
|
+
//# sourceMappingURL=acorex-modules-assessment-management-acorex-modules-assessment-management-IHgQ8RVH.mjs.map
|