@hmcts/ccd-case-ui-toolkit 6.15.0-c → 6.15.0-e
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/bundles/hmcts-ccd-case-ui-toolkit.umd.js +71 -23
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +2 -1
- package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +31 -18
- package/esm2015/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.js +21 -7
- package/esm2015/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.js +20 -7
- package/esm2015/lib/shared/components/palette/case-flag/write-case-flag-field.component.js +12 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +71 -23
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts +6 -2
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.d.ts +7 -2
- package/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.d.ts +4 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts +4 -2
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -10752,6 +10752,7 @@
|
|
|
10752
10752
|
id: id_1,
|
|
10753
10753
|
message: "Please select Next to complete the " + action + " of the " + (action === 'update' ? 'selected ' : '') + "case flag"
|
|
10754
10754
|
});
|
|
10755
|
+
_this.caseEditDataService.setFormValidationErrors(_this.validationErrors);
|
|
10755
10756
|
}
|
|
10756
10757
|
else {
|
|
10757
10758
|
_this.validationErrors.push({ id: id_1, message: "Select or fill the required " + casefield.label + " field" });
|
|
@@ -12334,6 +12335,13 @@
|
|
|
12334
12335
|
});
|
|
12335
12336
|
}
|
|
12336
12337
|
}
|
|
12338
|
+
this.caseValidationErrorsSubscription$ = this.caseEditDataService.caseFormValidationErrors$.subscribe({
|
|
12339
|
+
next: function (validationErrors) {
|
|
12340
|
+
if (validationErrors.length) {
|
|
12341
|
+
_this.errorMessages = [];
|
|
12342
|
+
}
|
|
12343
|
+
}
|
|
12344
|
+
});
|
|
12337
12345
|
};
|
|
12338
12346
|
WriteCaseFlagFieldComponent.prototype.setDisplayContextParameterUpdate = function (caseFields) {
|
|
12339
12347
|
var _this = this;
|
|
@@ -12565,6 +12573,10 @@
|
|
|
12565
12573
|
this.formGroup.updateValueAndValidity();
|
|
12566
12574
|
this.caseEditDataService.setTriggerSubmitEvent(true);
|
|
12567
12575
|
};
|
|
12576
|
+
WriteCaseFlagFieldComponent.prototype.ngOnDestroy = function () {
|
|
12577
|
+
var _a;
|
|
12578
|
+
(_a = this.caseValidationErrorsSubscription$) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
12579
|
+
};
|
|
12568
12580
|
return WriteCaseFlagFieldComponent;
|
|
12569
12581
|
}(AbstractFieldWriteComponent));
|
|
12570
12582
|
WriteCaseFlagFieldComponent.ɵfac = function WriteCaseFlagFieldComponent_Factory(t) { return new (t || WriteCaseFlagFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(CaseEditDataService)); };
|
|
@@ -21942,8 +21954,9 @@
|
|
|
21942
21954
|
}
|
|
21943
21955
|
}
|
|
21944
21956
|
var SelectFlagTypeComponent = /** @class */ (function () {
|
|
21945
|
-
function SelectFlagTypeComponent(caseFlagRefdataService) {
|
|
21957
|
+
function SelectFlagTypeComponent(caseFlagRefdataService, caseEditDataService) {
|
|
21946
21958
|
this.caseFlagRefdataService = caseFlagRefdataService;
|
|
21959
|
+
this.caseEditDataService = caseEditDataService;
|
|
21947
21960
|
this.caseFlagStateEmitter = new i0.EventEmitter();
|
|
21948
21961
|
this.flagCommentsOptionalEmitter = new i0.EventEmitter();
|
|
21949
21962
|
this.flagTypeNotSelectedErrorMessage = '';
|
|
@@ -21998,11 +22011,21 @@
|
|
|
21998
22011
|
error: function (error) { return _this.onRefdataError(error); }
|
|
21999
22012
|
});
|
|
22000
22013
|
}
|
|
22014
|
+
this.caseValidationErrorsSubscription$ = this.caseEditDataService.caseFormValidationErrors$.subscribe({
|
|
22015
|
+
next: function (validationErrors) {
|
|
22016
|
+
if (validationErrors.length) {
|
|
22017
|
+
_this.errorMessages = [];
|
|
22018
|
+
_this.flagTypeNotSelectedErrorMessage = '';
|
|
22019
|
+
_this.flagTypeErrorMessage = '';
|
|
22020
|
+
}
|
|
22021
|
+
}
|
|
22022
|
+
});
|
|
22001
22023
|
};
|
|
22002
22024
|
SelectFlagTypeComponent.prototype.ngOnDestroy = function () {
|
|
22003
22025
|
if (this.flagRefdata$) {
|
|
22004
22026
|
this.flagRefdata$.unsubscribe();
|
|
22005
22027
|
}
|
|
22028
|
+
this.caseValidationErrorsSubscription$.unsubscribe();
|
|
22006
22029
|
};
|
|
22007
22030
|
SelectFlagTypeComponent.prototype.onFlagTypeChanged = function (flagType) {
|
|
22008
22031
|
this.selectedFlagType = flagType;
|
|
@@ -22068,7 +22091,7 @@
|
|
|
22068
22091
|
};
|
|
22069
22092
|
return SelectFlagTypeComponent;
|
|
22070
22093
|
}());
|
|
22071
|
-
SelectFlagTypeComponent.ɵfac = function SelectFlagTypeComponent_Factory(t) { return new (t || SelectFlagTypeComponent)(i0__namespace.ɵɵdirectiveInject(CaseFlagRefdataService)); };
|
|
22094
|
+
SelectFlagTypeComponent.ɵfac = function SelectFlagTypeComponent_Factory(t) { return new (t || SelectFlagTypeComponent)(i0__namespace.ɵɵdirectiveInject(CaseFlagRefdataService), i0__namespace.ɵɵdirectiveInject(CaseEditDataService)); };
|
|
22072
22095
|
SelectFlagTypeComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: SelectFlagTypeComponent, selectors: [["ccd-select-flag-type"]], inputs: { formGroup: "formGroup", jurisdiction: "jurisdiction", caseTypeId: "caseTypeId", hmctsServiceId: "hmctsServiceId" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter", flagCommentsOptionalEmitter: "flagCommentsOptionalEmitter" }, decls: 11, vars: 9, consts: [[1, "form-group", 3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "flag-type-heading", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], ["id", "flag-type-heading", 1, "govuk-fieldset__heading"], ["id", "flag-type-not-selected-error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", "id", "conditional-radios-list", 1, "govuk-radios", "govuk-radios--conditional"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf"], ["class", "govuk-radios__conditional", "id", "conditional-flagType", 4, "ngIf"], ["class", "govuk-button-group", 4, "ngIf"], ["id", "flag-type-not-selected-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "id", "name", "value", "formControlName", "change"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["id", "conditional-flagType", 1, "govuk-radios__conditional"], ["for", "other-flag-type-description", 1, "govuk-label"], ["id", "flag-type-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "other-flag-type-description", "type", "text", 1, "govuk-input", "govuk-!-width-one-half", 3, "ngClass", "name", "formControlName"], ["id", "flag-type-error-message", 1, "govuk-error-message"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"]], template: function SelectFlagTypeComponent_Template(rf, ctx) {
|
|
22073
22096
|
if (rf & 1) {
|
|
22074
22097
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -22113,7 +22136,7 @@
|
|
|
22113
22136
|
templateUrl: './select-flag-type.component.html',
|
|
22114
22137
|
styleUrls: ['./select-flag-type.component.scss']
|
|
22115
22138
|
}]
|
|
22116
|
-
}], function () { return [{ type: CaseFlagRefdataService }]; }, { formGroup: [{
|
|
22139
|
+
}], function () { return [{ type: CaseFlagRefdataService }, { type: CaseEditDataService }]; }, { formGroup: [{
|
|
22117
22140
|
type: i0.Input
|
|
22118
22141
|
}], jurisdiction: [{
|
|
22119
22142
|
type: i0.Input
|
|
@@ -22536,7 +22559,8 @@
|
|
|
22536
22559
|
}
|
|
22537
22560
|
var _c0$o = function (a0) { return { "form-group-error": a0 }; };
|
|
22538
22561
|
var SelectFlagLocationComponent = /** @class */ (function () {
|
|
22539
|
-
function SelectFlagLocationComponent() {
|
|
22562
|
+
function SelectFlagLocationComponent(caseEditDataService) {
|
|
22563
|
+
this.caseEditDataService = caseEditDataService;
|
|
22540
22564
|
this.caseFlagStateEmitter = new i0.EventEmitter();
|
|
22541
22565
|
this.errorMessages = [];
|
|
22542
22566
|
this.flagLocationNotSelectedErrorMessage = null;
|
|
@@ -22564,6 +22588,14 @@
|
|
|
22564
22588
|
// flags in future)
|
|
22565
22589
|
this.onCaseFlagsConfigError();
|
|
22566
22590
|
}
|
|
22591
|
+
this.caseValidationErrorsSubscription$ = this.caseEditDataService.caseFormValidationErrors$.subscribe({
|
|
22592
|
+
next: function (validationErrors) {
|
|
22593
|
+
if (validationErrors.length) {
|
|
22594
|
+
_this.errorMessages = [];
|
|
22595
|
+
_this.flagLocationNotSelectedErrorMessage = null;
|
|
22596
|
+
}
|
|
22597
|
+
}
|
|
22598
|
+
});
|
|
22567
22599
|
};
|
|
22568
22600
|
SelectFlagLocationComponent.prototype.onNext = function () {
|
|
22569
22601
|
// Validate flag location selection
|
|
@@ -22598,9 +22630,12 @@
|
|
|
22598
22630
|
// Return case flag field state and error messages to the parent
|
|
22599
22631
|
this.caseFlagStateEmitter.emit({ currentCaseFlagFieldState: exports.CaseFlagFieldState.FLAG_TYPE, errorMessages: this.errorMessages });
|
|
22600
22632
|
};
|
|
22633
|
+
SelectFlagLocationComponent.prototype.ngOnDestroy = function () {
|
|
22634
|
+
this.caseValidationErrorsSubscription$.unsubscribe();
|
|
22635
|
+
};
|
|
22601
22636
|
return SelectFlagLocationComponent;
|
|
22602
22637
|
}());
|
|
22603
|
-
SelectFlagLocationComponent.ɵfac = function SelectFlagLocationComponent_Factory(t) { return new (t || SelectFlagLocationComponent)(); };
|
|
22638
|
+
SelectFlagLocationComponent.ɵfac = function SelectFlagLocationComponent_Factory(t) { return new (t || SelectFlagLocationComponent)(i0__namespace.ɵɵdirectiveInject(CaseEditDataService)); };
|
|
22604
22639
|
SelectFlagLocationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: SelectFlagLocationComponent, selectors: [["ccd-select-flag-location"]], inputs: { formGroup: "formGroup", flagsData: "flagsData" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls: 10, vars: 8, consts: [[1, "form-group", 3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "flag-location-heading", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], ["id", "flag-location-heading", 1, "govuk-fieldset__heading"], ["id", "flag-location-not-selected-error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", "id", "conditional-radios-list", 1, "govuk-radios", "govuk-radios--conditional"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf"], ["class", "govuk-button-group", 4, "ngIf"], ["id", "flag-location-not-selected-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "id", "name", "value", "formControlName"], [1, "govuk-label", "govuk-radios__label", 3, "for"], [4, "ngIf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"]], template: function SelectFlagLocationComponent_Template(rf, ctx) {
|
|
22605
22640
|
if (rf & 1) {
|
|
22606
22641
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -22641,7 +22676,7 @@
|
|
|
22641
22676
|
selector: 'ccd-select-flag-location',
|
|
22642
22677
|
templateUrl: './select-flag-location.component.html'
|
|
22643
22678
|
}]
|
|
22644
|
-
}],
|
|
22679
|
+
}], function () { return [{ type: CaseEditDataService }]; }, { formGroup: [{
|
|
22645
22680
|
type: i0.Input
|
|
22646
22681
|
}], flagsData: [{
|
|
22647
22682
|
type: i0.Input
|
|
@@ -30913,7 +30948,7 @@
|
|
|
30913
30948
|
var _r34_1 = i0__namespace.ɵɵgetCurrentView();
|
|
30914
30949
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
30915
30950
|
i0__namespace.ɵɵelementStart(1, "mat-tab-group", 23, 24);
|
|
30916
|
-
i0__namespace.ɵɵlistener("
|
|
30951
|
+
i0__namespace.ɵɵlistener("selectedIndexChange", function CaseFullAccessViewComponent_ng_container_12_Template_mat_tab_group_selectedIndexChange_1_listener($event) { i0__namespace.ɵɵrestoreView(_r34_1); var ctx_r33 = i0__namespace.ɵɵnextContext(); return ctx_r33.tabChanged($event); });
|
|
30917
30952
|
i0__namespace.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template, 1, 2, "mat-tab", 25);
|
|
30918
30953
|
i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_Template, 2, 2, "mat-tab", 25);
|
|
30919
30954
|
i0__namespace.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_5_Template, 1, 2, "mat-tab", 25);
|
|
@@ -30951,6 +30986,7 @@
|
|
|
30951
30986
|
this.location = location;
|
|
30952
30987
|
this.crf = crf;
|
|
30953
30988
|
this.sessionStorageService = sessionStorageService;
|
|
30989
|
+
this.HEARINGS_TAB_LABEL = 'Hearings';
|
|
30954
30990
|
this.hasPrint = true;
|
|
30955
30991
|
this.hasEventSelector = true;
|
|
30956
30992
|
this.prependedTabs = [];
|
|
@@ -30962,6 +30998,7 @@
|
|
|
30962
30998
|
this.ignoreWarning = false;
|
|
30963
30999
|
this.selectedTabIndex = 0;
|
|
30964
31000
|
this.activeCaseFlags = false;
|
|
31001
|
+
this.subs = [];
|
|
30965
31002
|
this.callbackErrorsSubject = new rxjs.Subject();
|
|
30966
31003
|
}
|
|
30967
31004
|
CaseFullAccessViewComponent.prototype.ngOnInit = function () {
|
|
@@ -31014,6 +31051,7 @@
|
|
|
31014
31051
|
this.unsubscribe(this.callbackErrorsSubject);
|
|
31015
31052
|
this.unsubscribe(this.errorSubscription);
|
|
31016
31053
|
this.unsubscribe(this.subscription);
|
|
31054
|
+
this.subs.forEach(function (s) { return s.unsubscribe(); });
|
|
31017
31055
|
};
|
|
31018
31056
|
CaseFullAccessViewComponent.prototype.unsubscribe = function (subscription) {
|
|
31019
31057
|
if (subscription) {
|
|
@@ -31022,7 +31060,7 @@
|
|
|
31022
31060
|
};
|
|
31023
31061
|
CaseFullAccessViewComponent.prototype.checkRouteAndSetCaseViewTab = function () {
|
|
31024
31062
|
var _this = this;
|
|
31025
|
-
this.router.events
|
|
31063
|
+
this.subs.push(this.router.events
|
|
31026
31064
|
.pipe(operators.filter(function (event) { return event instanceof i1$1.NavigationEnd; }))
|
|
31027
31065
|
.subscribe(function (event) {
|
|
31028
31066
|
var url = event && event.url;
|
|
@@ -31034,8 +31072,9 @@
|
|
|
31034
31072
|
_this.tabGroup.selectedIndex = matTab.position;
|
|
31035
31073
|
}
|
|
31036
31074
|
}
|
|
31037
|
-
});
|
|
31075
|
+
}));
|
|
31038
31076
|
};
|
|
31077
|
+
;
|
|
31039
31078
|
CaseFullAccessViewComponent.prototype.postViewActivity = function () {
|
|
31040
31079
|
return this.activityPollingService.postViewActivity(this.caseDetails.case_id);
|
|
31041
31080
|
};
|
|
@@ -31158,22 +31197,25 @@
|
|
|
31158
31197
|
}
|
|
31159
31198
|
}
|
|
31160
31199
|
};
|
|
31161
|
-
|
|
31162
|
-
|
|
31163
|
-
this.
|
|
31164
|
-
var
|
|
31165
|
-
|
|
31166
|
-
//
|
|
31167
|
-
|
|
31168
|
-
|
|
31169
|
-
|
|
31200
|
+
// Refactored under EXUI-110 to address infinite tab loop to use tabIndexChanged instead
|
|
31201
|
+
CaseFullAccessViewComponent.prototype.tabChanged = function (tabIndexChanged) {
|
|
31202
|
+
var matTab = this.tabGroup._tabs.find(function (tab) { return tab.isActive; });
|
|
31203
|
+
var tabLabel = matTab.textLabel;
|
|
31204
|
+
// sortedTabs are fragments
|
|
31205
|
+
// appended/prepepended tabs use router navigation
|
|
31206
|
+
if ((tabIndexChanged <= 1 && this.prependedTabs && this.prependedTabs.length) ||
|
|
31207
|
+
(this.appendedTabs && this.appendedTabs.length && tabLabel === this.HEARINGS_TAB_LABEL)) {
|
|
31208
|
+
// Hack to get ID from tab as it's not easily achieved through Angular Material Tabs
|
|
31209
|
+
var tab = matTab['_viewContainerRef'];
|
|
31210
|
+
var id = tab.element.nativeElement.id;
|
|
31211
|
+
// cases/case-details/:caseId/hearings
|
|
31212
|
+
// cases/case-details/:caseId/roles-and-access
|
|
31170
31213
|
this.router.navigate([id], { relativeTo: this.route });
|
|
31171
31214
|
}
|
|
31172
31215
|
else {
|
|
31173
|
-
|
|
31174
|
-
|
|
31175
|
-
|
|
31176
|
-
});
|
|
31216
|
+
// Routing here is based on tab label, not ideal
|
|
31217
|
+
// cases/case-details/:caseId#tabLabel
|
|
31218
|
+
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id], { fragment: tabLabel });
|
|
31177
31219
|
}
|
|
31178
31220
|
};
|
|
31179
31221
|
CaseFullAccessViewComponent.prototype.onLinkClicked = function (triggerOutputEventText) {
|
|
@@ -31271,6 +31313,12 @@
|
|
|
31271
31313
|
this.callbackErrorsSubject.next(null);
|
|
31272
31314
|
this.alertService.clear();
|
|
31273
31315
|
};
|
|
31316
|
+
CaseFullAccessViewComponent.prototype.getUrlFragment = function (url) {
|
|
31317
|
+
return url.split('#')[url.split('#').length - 1];
|
|
31318
|
+
};
|
|
31319
|
+
CaseFullAccessViewComponent.prototype.getTabIndexByTabLabel = function (tabGroup, tabLabel) {
|
|
31320
|
+
return tabGroup._tabs.toArray().findIndex(function (t) { return t.textLabel.toLowerCase() === tabLabel.toLowerCase(); });
|
|
31321
|
+
};
|
|
31274
31322
|
return CaseFullAccessViewComponent;
|
|
31275
31323
|
}());
|
|
31276
31324
|
CaseFullAccessViewComponent.ORIGIN_QUERY_PARAM = 'origin';
|
|
@@ -31287,7 +31335,7 @@
|
|
|
31287
31335
|
var _t = void 0;
|
|
31288
31336
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
31289
31337
|
}
|
|
31290
|
-
}, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [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, "isDisabled", "triggers", "triggerText", "onTriggerChange", "onTriggerSubmit"], [3, "notificationBannerConfig", "linkClicked"], ["animationDuration", "0ms", 3, "disableRipple", "selectedIndex", "
|
|
31338
|
+
}, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [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, "isDisabled", "triggers", "triggerText", "onTriggerChange", "onTriggerSubmit"], [3, "notificationBannerConfig", "linkClicked"], ["animationDuration", "0ms", 3, "disableRipple", "selectedIndex", "selectedIndexChange"], ["tabGroup", ""], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], ["aria-describedby", "case viewer table"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["id", "case-viewer-field-label", 4, "ngIf"], ["scope", "col", 3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseField", "caseReference", "markdownUseHrefAsRouterLink"], ["id", "case-viewer-field-label"], [1, "case-viewer-label", "text-16"], [1, "compound-field"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) {
|
|
31291
31339
|
if (rf & 1) {
|
|
31292
31340
|
i0__namespace.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 10, 0, "div", 0);
|
|
31293
31341
|
i0__namespace.ɵɵtemplate(1, CaseFullAccessViewComponent_div_1_Template, 6, 2, "div", 0);
|