@hmcts/ccd-case-ui-toolkit 7.4.26-pofcc-436-optional-text → 7.4.27-exui-3768-tab-order
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/README.md +1 -1
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +98 -111
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +8 -0
- package/index.d.ts.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ The published package name is:
|
|
|
26
26
|
Prerequisites
|
|
27
27
|
-------------
|
|
28
28
|
|
|
29
|
-
- Node.js 24.
|
|
29
|
+
- Node.js 24.22.2 or a later version accepted by package.json.
|
|
30
30
|
- Yarn 4.5.0, managed through the repository's Yarn configuration.
|
|
31
31
|
- A Git checkout with the repository files available.
|
|
32
32
|
- Chromium if you are running the Playwright browser tests.
|
|
@@ -6321,20 +6321,15 @@ class FormValidatorsService {
|
|
|
6321
6321
|
static DEFAULT_INPUT_TEXT = 'text';
|
|
6322
6322
|
static DEFAULT_INPUT_TEXTAREA = 'textAreas';
|
|
6323
6323
|
static addValidators(caseField, control) {
|
|
6324
|
-
|
|
6325
|
-
!FormValidatorsService.isCustomValidatedType(caseField)
|
|
6326
|
-
|
|
6327
|
-
if (isMandatory || isOptionalText) {
|
|
6328
|
-
const validators = [];
|
|
6329
|
-
if (isMandatory) {
|
|
6330
|
-
validators.push(Validators.required);
|
|
6331
|
-
}
|
|
6324
|
+
if (caseField.display_context === Constants.MANDATORY &&
|
|
6325
|
+
!FormValidatorsService.isCustomValidatedType(caseField)) {
|
|
6326
|
+
const validators = [Validators.required];
|
|
6332
6327
|
if (caseField.field_type.type === 'Text') {
|
|
6333
6328
|
validators.push(this.markDownPatternValidator());
|
|
6334
6329
|
if (caseField.field_type.regular_expression) {
|
|
6335
6330
|
validators.push(Validators.pattern(caseField.field_type.regular_expression));
|
|
6336
6331
|
}
|
|
6337
|
-
else
|
|
6332
|
+
else {
|
|
6338
6333
|
validators.push(this.emptyValidator());
|
|
6339
6334
|
}
|
|
6340
6335
|
if (caseField.field_type.min && (typeof caseField.field_type.min === 'number')) {
|
|
@@ -6353,7 +6348,7 @@ class FormValidatorsService {
|
|
|
6353
6348
|
}
|
|
6354
6349
|
control.setValidators(validators);
|
|
6355
6350
|
}
|
|
6356
|
-
else if (caseField.display_context === 'OPTIONAL' && this.isTextAreaType(caseField.field_type.type)
|
|
6351
|
+
else if (caseField.display_context === 'OPTIONAL' && (caseField.field_type.type === 'Text' || this.isTextAreaType(caseField.field_type.type))
|
|
6357
6352
|
|| (caseField.display_context === 'COMPLEX' && caseField.field_type.type === 'Complex')) {
|
|
6358
6353
|
control.setValidators(this.markDownPatternValidator());
|
|
6359
6354
|
}
|
|
@@ -41306,146 +41301,120 @@ function CaseFullAccessViewComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
41306
41301
|
i0.ɵɵadvance(2);
|
|
41307
41302
|
i0.ɵɵproperty("notificationBannerConfig", ctx_r1.notificationBannerConfig);
|
|
41308
41303
|
} }
|
|
41309
|
-
function
|
|
41310
|
-
i0.ɵɵ
|
|
41311
|
-
i0.ɵɵelement(1, "exui-tasks-ce");
|
|
41312
|
-
i0.ɵɵelementContainerEnd();
|
|
41304
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_tasks_ce_1_Template(rf, ctx) { if (rf & 1) {
|
|
41305
|
+
i0.ɵɵelement(0, "exui-tasks-ce");
|
|
41313
41306
|
} }
|
|
41314
|
-
function
|
|
41315
|
-
i0.ɵɵ
|
|
41316
|
-
i0.ɵɵelement(1, "exui-roles-and-access-ce");
|
|
41317
|
-
i0.ɵɵelementContainerEnd();
|
|
41307
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_roles_and_access_ce_2_Template(rf, ctx) { if (rf & 1) {
|
|
41308
|
+
i0.ɵɵelement(0, "exui-roles-and-access-ce");
|
|
41318
41309
|
} }
|
|
41319
|
-
function
|
|
41320
|
-
i0.ɵɵ
|
|
41321
|
-
} if (rf & 2) {
|
|
41322
|
-
const tab_r6 = i0.ɵɵnextContext().$implicit;
|
|
41323
|
-
i0.ɵɵproperty("ngIf", tab_r6.id === "tasks");
|
|
41324
|
-
i0.ɵɵadvance();
|
|
41325
|
-
i0.ɵɵproperty("ngIf", tab_r6.id === "roles-and-access");
|
|
41310
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_case_hearings_ce_3_Template(rf, ctx) { if (rf & 1) {
|
|
41311
|
+
i0.ɵɵelement(0, "exui-case-hearings-ce");
|
|
41326
41312
|
} }
|
|
41327
|
-
function
|
|
41328
|
-
i0.ɵɵelementStart(0, "
|
|
41329
|
-
i0.ɵɵpipe(1, "rpxTranslate");
|
|
41330
|
-
i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_2_Template, 2, 2, "ng-template", 28);
|
|
41331
|
-
i0.ɵɵelementEnd();
|
|
41332
|
-
} if (rf & 2) {
|
|
41333
|
-
const tab_r6 = ctx.$implicit;
|
|
41334
|
-
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 2, tab_r6.label));
|
|
41335
|
-
i0.ɵɵattribute("data-case-tab-id", tab_r6.id);
|
|
41336
|
-
} }
|
|
41337
|
-
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
41338
|
-
i0.ɵɵelementStart(0, "th", 38)(1, "div", 39);
|
|
41313
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
41314
|
+
i0.ɵɵelementStart(0, "th", 37)(1, "div", 38);
|
|
41339
41315
|
i0.ɵɵtext(2);
|
|
41340
41316
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
41341
41317
|
i0.ɵɵelementEnd()();
|
|
41342
41318
|
} if (rf & 2) {
|
|
41343
|
-
const
|
|
41344
|
-
i0.ɵɵproperty("id", "case-viewer-field-label--" +
|
|
41319
|
+
const field_r6 = i0.ɵɵnextContext(2).$implicit;
|
|
41320
|
+
i0.ɵɵproperty("id", "case-viewer-field-label--" + field_r6.id);
|
|
41345
41321
|
i0.ɵɵadvance(2);
|
|
41346
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2,
|
|
41322
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, field_r6.label));
|
|
41347
41323
|
} }
|
|
41348
|
-
function
|
|
41324
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_4_Template(rf, ctx) { if (rf & 1) {
|
|
41349
41325
|
i0.ɵɵelementStart(0, "tr");
|
|
41350
|
-
i0.ɵɵtemplate(1,
|
|
41351
|
-
i0.ɵɵelementStart(2, "td",
|
|
41352
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
41326
|
+
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_4_th_1_Template, 4, 4, "th", 33);
|
|
41327
|
+
i0.ɵɵelementStart(2, "td", 34)(3, "span", 35);
|
|
41328
|
+
i0.ɵɵelement(4, "ccd-field-read", 36);
|
|
41353
41329
|
i0.ɵɵelementEnd()()();
|
|
41354
41330
|
} if (rf & 2) {
|
|
41355
|
-
const
|
|
41356
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
41331
|
+
const field_r6 = i0.ɵɵnextContext().$implicit;
|
|
41332
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
41357
41333
|
i0.ɵɵadvance();
|
|
41358
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.isFieldToHaveNoLabel(
|
|
41334
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.isFieldToHaveNoLabel(field_r6) && field_r6.label);
|
|
41359
41335
|
i0.ɵɵadvance();
|
|
41360
|
-
i0.ɵɵproperty("id", "case-viewer-field-read--" +
|
|
41336
|
+
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r6.id);
|
|
41361
41337
|
i0.ɵɵadvance(2);
|
|
41362
|
-
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField",
|
|
41338
|
+
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r6)("caseReference", ctx_r1.caseDetails.case_id);
|
|
41363
41339
|
} }
|
|
41364
|
-
function
|
|
41365
|
-
i0.ɵɵelementStart(0, "tr",
|
|
41340
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_5_Template(rf, ctx) { if (rf & 1) {
|
|
41341
|
+
i0.ɵɵelementStart(0, "tr", 39)(1, "td", 40);
|
|
41366
41342
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
41367
|
-
i0.ɵɵelementStart(3, "span",
|
|
41368
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
41343
|
+
i0.ɵɵelementStart(3, "span", 35);
|
|
41344
|
+
i0.ɵɵelement(4, "ccd-field-read", 36);
|
|
41369
41345
|
i0.ɵɵelementEnd()()();
|
|
41370
41346
|
} if (rf & 2) {
|
|
41371
|
-
const
|
|
41372
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
41347
|
+
const field_r6 = i0.ɵɵnextContext().$implicit;
|
|
41348
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
41373
41349
|
i0.ɵɵadvance();
|
|
41374
|
-
i0.ɵɵproperty("id", "case-viewer-field-read--" +
|
|
41375
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 6,
|
|
41350
|
+
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r6.id);
|
|
41351
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 6, field_r6.label || field_r6.id));
|
|
41376
41352
|
i0.ɵɵadvance(3);
|
|
41377
|
-
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField",
|
|
41353
|
+
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r6)("caseReference", ctx_r1.caseDetails.case_id);
|
|
41378
41354
|
} }
|
|
41379
|
-
function
|
|
41355
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
41380
41356
|
i0.ɵɵelementContainerStart(0);
|
|
41381
|
-
i0.ɵɵelementStart(1, "div",
|
|
41382
|
-
i0.ɵɵelementContainerStart(2,
|
|
41357
|
+
i0.ɵɵelementStart(1, "div", 31);
|
|
41358
|
+
i0.ɵɵelementContainerStart(2, 28);
|
|
41383
41359
|
i0.ɵɵpipe(3, "ccdIsCompound");
|
|
41384
|
-
i0.ɵɵtemplate(4,
|
|
41360
|
+
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_4_Template, 5, 6, "tr", 29)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_5_Template, 5, 8, "tr", 32);
|
|
41385
41361
|
i0.ɵɵelementContainerEnd();
|
|
41386
41362
|
i0.ɵɵelementEnd();
|
|
41387
41363
|
i0.ɵɵelementContainerEnd();
|
|
41388
41364
|
} if (rf & 2) {
|
|
41389
|
-
const
|
|
41390
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
41365
|
+
const field_r6 = ctx.$implicit;
|
|
41366
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
41391
41367
|
i0.ɵɵadvance();
|
|
41392
|
-
i0.ɵɵproperty("caseField",
|
|
41368
|
+
i0.ɵɵproperty("caseField", field_r6)("contextFields", ctx_r1.caseFields)("hidden", field_r6.hidden);
|
|
41393
41369
|
i0.ɵɵadvance();
|
|
41394
|
-
i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 6,
|
|
41370
|
+
i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 6, field_r6));
|
|
41395
41371
|
i0.ɵɵadvance(2);
|
|
41396
41372
|
i0.ɵɵproperty("ngSwitchCase", true);
|
|
41397
41373
|
i0.ɵɵadvance();
|
|
41398
41374
|
i0.ɵɵproperty("ngSwitchCase", false);
|
|
41399
41375
|
} }
|
|
41400
|
-
function
|
|
41376
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_Template(rf, ctx) { if (rf & 1) {
|
|
41401
41377
|
i0.ɵɵelementStart(0, "table");
|
|
41402
41378
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
41403
41379
|
i0.ɵɵelementStart(2, "tbody");
|
|
41404
|
-
i0.ɵɵtemplate(3,
|
|
41380
|
+
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_Template, 6, 8, "ng-container", 19);
|
|
41405
41381
|
i0.ɵɵpipe(4, "ccdTabFields");
|
|
41406
41382
|
i0.ɵɵpipe(5, "ccdReadFieldsFilter");
|
|
41407
41383
|
i0.ɵɵelementEnd()();
|
|
41408
41384
|
} if (rf & 2) {
|
|
41409
|
-
const
|
|
41385
|
+
const viewerTab_r7 = i0.ɵɵnextContext(2).$implicit;
|
|
41410
41386
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
41411
|
-
i0.ɵɵclassMap(
|
|
41387
|
+
i0.ɵɵclassMap(viewerTab_r7.tab.id);
|
|
41412
41388
|
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 4, "case viewer table"));
|
|
41413
41389
|
i0.ɵɵadvance(3);
|
|
41414
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(5, 8, i0.ɵɵpureFunction2(14, _c1$3, i0.ɵɵpipeBind1(4, 6,
|
|
41415
|
-
} }
|
|
41416
|
-
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_Template(rf, ctx) { if (rf & 1) {
|
|
41417
|
-
i0.ɵɵelementStart(0, "mat-tab", 29);
|
|
41418
|
-
i0.ɵɵpipe(1, "rpxTranslate");
|
|
41419
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
41420
|
-
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_Template, 6, 17, "ng-template", 28);
|
|
41421
|
-
i0.ɵɵelementEnd();
|
|
41422
|
-
} if (rf & 2) {
|
|
41423
|
-
const tab_r8 = ctx.$implicit;
|
|
41424
|
-
const curIdx_r9 = ctx.index;
|
|
41425
|
-
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 3, tab_r8.label));
|
|
41426
|
-
i0.ɵɵariaProperty("aria-label", curIdx_r9 === 0 ? tab_r8.label + ", Please use left and right arrow keys to navigate case tabs" : i0.ɵɵpipeBind1(2, 5, ""));
|
|
41427
|
-
i0.ɵɵattribute("data-case-tab-id", tab_r8.id);
|
|
41390
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(5, 8, i0.ɵɵpureFunction2(14, _c1$3, i0.ɵɵpipeBind1(4, 6, viewerTab_r7.tab), ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])));
|
|
41428
41391
|
} }
|
|
41429
|
-
function
|
|
41430
|
-
i0.ɵɵelementContainerStart(0);
|
|
41431
|
-
i0.ɵɵ
|
|
41392
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
41393
|
+
i0.ɵɵelementContainerStart(0, 28);
|
|
41394
|
+
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_tasks_ce_1_Template, 1, 0, "exui-tasks-ce", 29)(2, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_roles_and_access_ce_2_Template, 1, 0, "exui-roles-and-access-ce", 29)(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_case_hearings_ce_3_Template, 1, 0, "exui-case-hearings-ce", 29)(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_Template, 6, 17, "table", 30);
|
|
41432
41395
|
i0.ɵɵelementContainerEnd();
|
|
41433
|
-
} }
|
|
41434
|
-
function CaseFullAccessViewComponent_ng_container_12_mat_tab_5_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
41435
|
-
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_ng_container_12_mat_tab_5_ng_template_2_ng_container_0_Template, 2, 0, "ng-container", 11);
|
|
41436
41396
|
} if (rf & 2) {
|
|
41437
|
-
const
|
|
41438
|
-
i0.ɵɵproperty("
|
|
41397
|
+
const viewerTab_r7 = i0.ɵɵnextContext().$implicit;
|
|
41398
|
+
i0.ɵɵproperty("ngSwitch", viewerTab_r7.contentType);
|
|
41399
|
+
i0.ɵɵadvance();
|
|
41400
|
+
i0.ɵɵproperty("ngSwitchCase", "tasks");
|
|
41401
|
+
i0.ɵɵadvance();
|
|
41402
|
+
i0.ɵɵproperty("ngSwitchCase", "roles-and-access");
|
|
41403
|
+
i0.ɵɵadvance();
|
|
41404
|
+
i0.ɵɵproperty("ngSwitchCase", "hearings");
|
|
41439
41405
|
} }
|
|
41440
|
-
function
|
|
41441
|
-
i0.ɵɵelementStart(0, "mat-tab",
|
|
41406
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template(rf, ctx) { if (rf & 1) {
|
|
41407
|
+
i0.ɵɵelementStart(0, "mat-tab", 26);
|
|
41442
41408
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
41443
|
-
i0.ɵɵ
|
|
41409
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
41410
|
+
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_Template, 5, 4, "ng-template", 27);
|
|
41444
41411
|
i0.ɵɵelementEnd();
|
|
41445
41412
|
} if (rf & 2) {
|
|
41446
|
-
const
|
|
41447
|
-
|
|
41448
|
-
i0.ɵɵ
|
|
41413
|
+
const viewerTab_r7 = ctx.$implicit;
|
|
41414
|
+
const curIdx_r8 = ctx.index;
|
|
41415
|
+
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 3, viewerTab_r7.tab.label));
|
|
41416
|
+
i0.ɵɵariaProperty("aria-label", curIdx_r8 === 0 ? viewerTab_r7.tab.label + ", Please use left and right arrow keys to navigate case tabs" : i0.ɵɵpipeBind1(2, 5, ""));
|
|
41417
|
+
i0.ɵɵattribute("data-case-tab-id", viewerTab_r7.tab.id);
|
|
41449
41418
|
} }
|
|
41450
41419
|
function CaseFullAccessViewComponent_ng_container_12_Template(rf, ctx) { if (rf & 1) {
|
|
41451
41420
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
@@ -41453,7 +41422,7 @@ function CaseFullAccessViewComponent_ng_container_12_Template(rf, ctx) { if (rf
|
|
|
41453
41422
|
i0.ɵɵelementStart(1, "mat-tab-group", 24, 0);
|
|
41454
41423
|
i0.ɵɵlistener("selectedIndexChange", function CaseFullAccessViewComponent_ng_container_12_Template_mat_tab_group_selectedIndexChange_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.tabChanged($event)); });
|
|
41455
41424
|
i0.ɵɵtwoWayListener("selectedIndexChange", function CaseFullAccessViewComponent_ng_container_12_Template_mat_tab_group_selectedIndexChange_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.selectedTabIndex, $event) || (ctx_r1.selectedTabIndex = $event); return i0.ɵɵresetView($event); });
|
|
41456
|
-
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template,
|
|
41425
|
+
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template, 4, 7, "mat-tab", 25);
|
|
41457
41426
|
i0.ɵɵelementEnd();
|
|
41458
41427
|
i0.ɵɵelementContainerEnd();
|
|
41459
41428
|
} if (rf & 2) {
|
|
@@ -41463,11 +41432,7 @@ function CaseFullAccessViewComponent_ng_container_12_Template(rf, ctx) { if (rf
|
|
|
41463
41432
|
i0.ɵɵtwoWayProperty("selectedIndex", ctx_r1.selectedTabIndex);
|
|
41464
41433
|
i0.ɵɵproperty("selectedIndex", ctx_r1.selectedTabIndex);
|
|
41465
41434
|
i0.ɵɵadvance(2);
|
|
41466
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.
|
|
41467
|
-
i0.ɵɵadvance();
|
|
41468
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.sortedTabs);
|
|
41469
|
-
i0.ɵɵadvance();
|
|
41470
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.appendedTabs);
|
|
41435
|
+
i0.ɵɵproperty("ngForOf", ctx_r1.viewerTabs);
|
|
41471
41436
|
} }
|
|
41472
41437
|
class CaseFullAccessViewComponent {
|
|
41473
41438
|
ngZone;
|
|
@@ -41502,6 +41467,7 @@ class CaseFullAccessViewComponent {
|
|
|
41502
41467
|
appendedTabs = [];
|
|
41503
41468
|
BANNER = DisplayMode.BANNER;
|
|
41504
41469
|
sortedTabs;
|
|
41470
|
+
viewerTabs;
|
|
41505
41471
|
caseFields;
|
|
41506
41472
|
formGroup;
|
|
41507
41473
|
error;
|
|
@@ -41577,7 +41543,10 @@ class CaseFullAccessViewComponent {
|
|
|
41577
41543
|
this.caseFlagStateService.resetInitialCaseFlags();
|
|
41578
41544
|
}
|
|
41579
41545
|
ngOnChanges(changes) {
|
|
41580
|
-
|
|
41546
|
+
const caseDetailsChanged = changes?.caseDetails && !changes.caseDetails.firstChange;
|
|
41547
|
+
const prependedTabsChanged = changes?.prependedTabs && !changes.prependedTabs.firstChange;
|
|
41548
|
+
const appendedTabsChanged = changes?.appendedTabs && !changes.appendedTabs.firstChange;
|
|
41549
|
+
if (caseDetailsChanged || prependedTabsChanged || appendedTabsChanged) {
|
|
41581
41550
|
this.init();
|
|
41582
41551
|
this.crf.detectChanges();
|
|
41583
41552
|
this.organiseTabPosition();
|
|
@@ -41693,7 +41662,7 @@ class CaseFullAccessViewComponent {
|
|
|
41693
41662
|
}
|
|
41694
41663
|
}
|
|
41695
41664
|
hasTabsPresent() {
|
|
41696
|
-
return this.
|
|
41665
|
+
return this.viewerTabs.length > 0;
|
|
41697
41666
|
}
|
|
41698
41667
|
callbackErrorsNotify(callbackErrorsContext) {
|
|
41699
41668
|
this.ignoreWarning = callbackErrorsContext.ignoreWarning;
|
|
@@ -41883,11 +41852,29 @@ class CaseFullAccessViewComponent {
|
|
|
41883
41852
|
this.sortedTabs = this.orderService.sort(this.caseDetails?.tabs);
|
|
41884
41853
|
this.caseFields = this.getTabFields();
|
|
41885
41854
|
this.sortedTabs = this.sortTabFieldsAndFilterTabs(this.sortedTabs);
|
|
41855
|
+
this.viewerTabs = this.buildViewerTabs();
|
|
41886
41856
|
this.formGroup = this.buildFormGroup(this.caseFields);
|
|
41887
41857
|
if (this.caseDetails?.triggers && this.error) {
|
|
41888
41858
|
this.resetErrors();
|
|
41889
41859
|
}
|
|
41890
41860
|
}
|
|
41861
|
+
buildViewerTabs() {
|
|
41862
|
+
const suppliedTabIds = new Set(this.sortedTabs.map((tab) => tab.id));
|
|
41863
|
+
const prependedTabs = (this.prependedTabs || [])
|
|
41864
|
+
.filter((tab) => !suppliedTabIds.has(tab.id))
|
|
41865
|
+
.map((tab) => this.toViewerTab(tab));
|
|
41866
|
+
const appendedTabs = (this.appendedTabs || [])
|
|
41867
|
+
.filter((tab) => !suppliedTabIds.has(tab.id))
|
|
41868
|
+
.map((tab) => this.toViewerTab(tab));
|
|
41869
|
+
const caseTabs = this.sortedTabs.map((tab) => this.toViewerTab(tab));
|
|
41870
|
+
return [...prependedTabs, ...caseTabs, ...appendedTabs];
|
|
41871
|
+
}
|
|
41872
|
+
toViewerTab(tab) {
|
|
41873
|
+
const contentType = ['tasks', 'roles-and-access', 'hearings'].includes(tab.id)
|
|
41874
|
+
? tab.id
|
|
41875
|
+
: 'case';
|
|
41876
|
+
return { tab, contentType };
|
|
41877
|
+
}
|
|
41891
41878
|
sortTabFieldsAndFilterTabs(tabs) {
|
|
41892
41879
|
return tabs?.map((tab) => ({
|
|
41893
41880
|
...tab,
|
|
@@ -41929,7 +41916,7 @@ class CaseFullAccessViewComponent {
|
|
|
41929
41916
|
} if (rf & 2) {
|
|
41930
41917
|
let _t;
|
|
41931
41918
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
41932
|
-
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex", "selectedIndex"], [3, "label", 4, "ngFor", "ngForOf"], [3, "label", "aria-label",
|
|
41919
|
+
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex", "selectedIndex"], [3, "label", "aria-label", 4, "ngFor", "ngForOf"], [3, "label", "aria-label"], ["matTabContent", ""], [3, "ngSwitch"], [4, "ngSwitchCase"], [3, "class", 4, "ngSwitchDefault"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], ["class", "compound-field", 4, "ngSwitchCase"], ["scope", "row", 3, "id", 4, "ngIf"], ["scope", "col", 3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseFields", "caseField", "caseReference"], ["scope", "row", 3, "id"], [1, "case-viewer-label", "text-16"], [1, "compound-field"], ["role", "rowheader", 3, "id"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
41933
41920
|
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 14, 12, "div", 1)(1, CaseFullAccessViewComponent_div_1_Template, 8, 7, "div", 1);
|
|
41934
41921
|
i0.ɵɵelementStart(2, "ccd-callback-errors", 2);
|
|
41935
41922
|
i0.ɵɵlistener("callbackErrorsContext", function CaseFullAccessViewComponent_Template_ccd_callback_errors_callbackErrorsContext_2_listener($event) { return ctx.callbackErrorsNotify($event); });
|
|
@@ -41943,7 +41930,7 @@ class CaseFullAccessViewComponent {
|
|
|
41943
41930
|
i0.ɵɵelementEnd();
|
|
41944
41931
|
i0.ɵɵtemplate(9, CaseFullAccessViewComponent_div_9_Template, 3, 1, "div", 9);
|
|
41945
41932
|
i0.ɵɵelementStart(10, "div", 4)(11, "div", 10);
|
|
41946
|
-
i0.ɵɵtemplate(12, CaseFullAccessViewComponent_ng_container_12_Template,
|
|
41933
|
+
i0.ɵɵtemplate(12, CaseFullAccessViewComponent_ng_container_12_Template, 4, 4, "ng-container", 11);
|
|
41947
41934
|
i0.ɵɵelementEnd()();
|
|
41948
41935
|
} if (rf & 2) {
|
|
41949
41936
|
i0.ɵɵproperty("ngIf", ctx.error && !(ctx.error.callbackErrors || ctx.error.callbackWarnings || ctx.error.details));
|
|
@@ -41967,7 +41954,7 @@ class CaseFullAccessViewComponent {
|
|
|
41967
41954
|
}
|
|
41968
41955
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
|
|
41969
41956
|
type: Component,
|
|
41970
|
-
args: [{ selector: 'ccd-case-full-access-view', standalone: false, template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\" class=\"error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </div>\n</div>\n<!-- Callback error heading and error message to be displayed if there are specific error details -->\n<div *ngIf=\"error && error.details\" class=\"error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"button button-secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\"\n [eventId]=\"eventId\"\n (onTriggerChange)=\"clearErrorsAndWarnings()\"\n (onTriggerSubmit)=\"applyTrigger($event)\"></ccd-event-trigger>\n </div>\n</div>\n<div class=\"grid-row\" *ngIf=\"activeCaseFlags && !caseFlagsExternalUser\">\n <div class=\"column-full\">\n <ccd-notification-banner [notificationBannerConfig]=\"notificationBannerConfig\" (linkClicked)=\"onLinkClicked($event)\">\n </ccd-notification-banner>\n </div>\n</div>\n<div class=\"grid-row\">\n <div class=\"column-full\">\n <ng-container *ngIf=\"hasTabsPresent()\">\n <!-- Let Material generate header IDs so URL tab fragments do not trigger anchor scrolling. -->\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\" [(selectedIndex)]=\"selectedTabIndex\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let
|
|
41957
|
+
args: [{ selector: 'ccd-case-full-access-view', standalone: false, template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\" class=\"error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </div>\n</div>\n<!-- Callback error heading and error message to be displayed if there are specific error details -->\n<div *ngIf=\"error && error.details\" class=\"error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"button button-secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\"\n [eventId]=\"eventId\"\n (onTriggerChange)=\"clearErrorsAndWarnings()\"\n (onTriggerSubmit)=\"applyTrigger($event)\"></ccd-event-trigger>\n </div>\n</div>\n<div class=\"grid-row\" *ngIf=\"activeCaseFlags && !caseFlagsExternalUser\">\n <div class=\"column-full\">\n <ccd-notification-banner [notificationBannerConfig]=\"notificationBannerConfig\" (linkClicked)=\"onLinkClicked($event)\">\n </ccd-notification-banner>\n </div>\n</div>\n<div class=\"grid-row\">\n <div class=\"column-full\">\n <ng-container *ngIf=\"hasTabsPresent()\">\n <!-- Let Material generate header IDs so URL tab fragments do not trigger anchor scrolling. -->\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\" [(selectedIndex)]=\"selectedTabIndex\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let viewerTab of viewerTabs; let curIdx=index\" [attr.data-case-tab-id]=\"viewerTab.tab.id\" [label]=\"viewerTab.tab.label | rpxTranslate\" [aria-label]=\"curIdx === 0 ? viewerTab.tab.label + ', Please use left and right arrow keys to navigate case tabs' : '' | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container [ngSwitch]=\"viewerTab.contentType\">\n <exui-tasks-ce *ngSwitchCase=\"'tasks'\"></exui-tasks-ce>\n <exui-roles-and-access-ce *ngSwitchCase=\"'roles-and-access'\"></exui-roles-and-access-ce>\n <exui-case-hearings-ce *ngSwitchCase=\"'hearings'\"></exui-case-hearings-ce>\n <table *ngSwitchDefault [class]=\"viewerTab.tab.id\" [attr.aria-label]=\"'case viewer table' | rpxTranslate\">\n <tbody>\n <ng-container *ngFor=\"let field of viewerTab.tab | ccdTabFields | ccdReadFieldsFilter:false :undefined :true : formGroup?.controls['data']\">\n <div ccdLabelSubstitutor [caseField]=\"field\" [contextFields]=\"caseFields\" [hidden]=\"field.hidden\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\">\n <th [id]=\"'case-viewer-field-label--' + field.id\" scope=\"row\" *ngIf=\"!isFieldToHaveNoLabel(field) && field.label\">\n <div class=\"case-viewer-label text-16\">\n {{field.label | rpxTranslate}}</div>\n </th>\n <td [id]=\"'case-viewer-field-read--' + field.id\" scope=\"col\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup?.controls['data']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\">\n <td role=\"rowheader\" [attr.aria-label]=\"(field.label || field.id) | rpxTranslate\" [id]=\"'case-viewer-field-read--' + field.id\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup.controls['data']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-container>\n </div>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n </ng-template>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n </div>\n</div>\n", styles: ["th,.compound-field>td{width:1%;white-space:nowrap;vertical-align:top}.compound-field th{padding:0}.compound-field>td{padding:0}.case-viewer-controls{margin-top:47px;margin-bottom:20px}ccd-case-header{float:left;margin-right:10px}ccd-event-trigger{float:right}.case-viewer-label{min-width:300px;white-space:normal}.markdown h3{margin-bottom:0}.hide-table-capion{position:absolute;visibility:hidden}\n"] }]
|
|
41971
41958
|
}], () => [{ type: i0.NgZone }, { type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$3.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i5.Location }, { type: i0.ChangeDetectorRef }, { type: SessionStorageService }, { type: i1.RpxTranslatePipe }, { type: LoadingService }, { type: LinkedCasesService }, { type: CaseFlagStateService }, { type: i0.NgZone }], { hasPrint: [{
|
|
41972
41959
|
type: Input
|
|
41973
41960
|
}], hasEventSelector: [{
|
|
@@ -41982,7 +41969,7 @@ class CaseFullAccessViewComponent {
|
|
|
41982
41969
|
type: ViewChild,
|
|
41983
41970
|
args: ['tabGroup', { static: false }]
|
|
41984
41971
|
}] }); })();
|
|
41985
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFullAccessViewComponent, { className: "CaseFullAccessViewComponent", filePath: "lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.ts", lineNumber:
|
|
41972
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFullAccessViewComponent, { className: "CaseFullAccessViewComponent", filePath: "lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.ts", lineNumber: 55 }); })();
|
|
41986
41973
|
|
|
41987
41974
|
class PrintUrlPipe {
|
|
41988
41975
|
appConfig;
|
|
@@ -44641,7 +44628,7 @@ i0.ɵɵsetComponentScope(CaseEventTriggerComponent, function () { return [i5.NgI
|
|
|
44641
44628
|
i0.ɵɵsetComponentScope(CasePrinterComponent, function () { return [i5.NgForOf, i5.NgIf, CaseHeaderComponent]; }, function () { return [i1.RpxTranslatePipe, PrintUrlPipe]; });
|
|
44642
44629
|
i0.ɵɵsetComponentScope(CaseViewerComponent, function () { return [i5.NgIf, CaseFullAccessViewComponent,
|
|
44643
44630
|
CaseBasicAccessViewComponent]; }, []);
|
|
44644
|
-
i0.ɵɵsetComponentScope(CaseFullAccessViewComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i1$2.RouterLink, CallbackErrorsComponent, ActivityComponent, CaseHeaderComponent, EventTriggerComponent, FieldReadComponent, i10.MatTabContent, i10.MatTab, i10.MatTabGroup, LabelSubstitutorDirective, NotificationBannerComponent]; }, function () { return [IsCompoundPipe, ReadFieldsFilterPipe, CcdTabFieldsPipe, i1.RpxTranslatePipe]; });
|
|
44631
|
+
i0.ɵɵsetComponentScope(CaseFullAccessViewComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$2.RouterLink, CallbackErrorsComponent, ActivityComponent, CaseHeaderComponent, EventTriggerComponent, FieldReadComponent, i10.MatTabContent, i10.MatTab, i10.MatTabGroup, LabelSubstitutorDirective, NotificationBannerComponent]; }, function () { return [IsCompoundPipe, ReadFieldsFilterPipe, CcdTabFieldsPipe, i1.RpxTranslatePipe]; });
|
|
44645
44632
|
i0.ɵɵsetComponentScope(CaseViewComponent, function () { return [i5.NgIf, CaseViewerComponent]; }, []);
|
|
44646
44633
|
i0.ɵɵsetComponentScope(CaseChallengedAccessRequestComponent, function () { return [i5.NgClass, i5.NgIf, i4.ɵNgNoValidate, i4.DefaultValueAccessor, i4.RadioControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, AlertComponent, ErrorMessageComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
44647
44634
|
i0.ɵɵsetComponentScope(CaseSpecificAccessRequestComponent, function () { return [i5.NgClass, i5.NgIf, i4.ɵNgNoValidate, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, AlertComponent, ErrorMessageComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|