@hmcts/ccd-case-ui-toolkit 7.4.26-govuk6 → 7.4.26-govuk6-v3
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/hmcts-ccd-case-ui-toolkit.mjs +251 -207
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/package.json +13 -13
|
@@ -23710,10 +23710,11 @@ function QualifyingQuestionOptionsComponent_ng_container_0_ng_container_12_Templ
|
|
|
23710
23710
|
i0.ɵɵproperty("ngIf", isLast_r4);
|
|
23711
23711
|
i0.ɵɵadvance(2);
|
|
23712
23712
|
i0.ɵɵproperty("id", i0.ɵɵinterpolate(qualifyingQuestion_r3.name))("formControl", ctx_r0.qualifyingQuestionsControl)("value", qualifyingQuestion_r3);
|
|
23713
|
+
i0.ɵɵattribute("aria-describedby", ctx_r0.displayError ? "qualifyingQuestionOption-error" : null);
|
|
23713
23714
|
i0.ɵɵadvance();
|
|
23714
23715
|
i0.ɵɵproperty("for", qualifyingQuestion_r3.name);
|
|
23715
23716
|
i0.ɵɵadvance();
|
|
23716
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6,
|
|
23717
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 8, qualifyingQuestion_r3.name));
|
|
23717
23718
|
} }
|
|
23718
23719
|
function QualifyingQuestionOptionsComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
23719
23720
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -23727,7 +23728,7 @@ function QualifyingQuestionOptionsComponent_ng_container_0_Template(rf, ctx) { i
|
|
|
23727
23728
|
i0.ɵɵelementEnd();
|
|
23728
23729
|
i0.ɵɵtemplate(10, QualifyingQuestionOptionsComponent_ng_container_0_ng_container_10_Template, 7, 6, "ng-container", 0);
|
|
23729
23730
|
i0.ɵɵelementStart(11, "div", 6);
|
|
23730
|
-
i0.ɵɵtemplate(12, QualifyingQuestionOptionsComponent_ng_container_0_ng_container_12_Template, 7,
|
|
23731
|
+
i0.ɵɵtemplate(12, QualifyingQuestionOptionsComponent_ng_container_0_ng_container_12_Template, 7, 10, "ng-container", 7);
|
|
23731
23732
|
i0.ɵɵpipe(13, "async");
|
|
23732
23733
|
i0.ɵɵelementEnd()()();
|
|
23733
23734
|
i0.ɵɵelementContainerEnd();
|
|
@@ -23780,7 +23781,7 @@ class QualifyingQuestionOptionsComponent {
|
|
|
23780
23781
|
this.questionSelected.emit(qualifyingQuestion);
|
|
23781
23782
|
}
|
|
23782
23783
|
static ɵfac = function QualifyingQuestionOptionsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QualifyingQuestionOptionsComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(QualifyingQuestionService)); };
|
|
23783
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionOptionsComponent, selectors: [["ccd-qualifying-question-options"]], inputs: { qualifyingQuestionsControl: "qualifyingQuestionsControl", qualifyingQuestions$: "qualifyingQuestions$" }, outputs: { questionSelected: "questionSelected" }, standalone: false, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-form-group"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], [1, "govuk-heading-m", "govuk-!-margin-top-10"], ["data-module", "govuk-radios", 1, "govuk-radios"], [4, "ngFor", "ngForOf"], [1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["name", "qualifyingQuestionOption", "type", "radio", 1, "govuk-radios__input", 3, "change", "id", "formControl", "value"], [1, "govuk-label", "govuk-radios__label", 3, "for"], [1, "qm-qualifying-question__divider"]], template: function QualifyingQuestionOptionsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23784
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionOptionsComponent, selectors: [["ccd-qualifying-question-options"]], inputs: { qualifyingQuestionsControl: "qualifyingQuestionsControl", qualifyingQuestions$: "qualifyingQuestions$" }, outputs: { questionSelected: "questionSelected" }, standalone: false, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-form-group"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], [1, "govuk-heading-m", "govuk-!-margin-top-10"], ["data-module", "govuk-radios", 1, "govuk-radios"], [4, "ngFor", "ngForOf"], ["id", "qualifyingQuestionOption-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["name", "qualifyingQuestionOption", "type", "radio", 1, "govuk-radios__input", 3, "change", "id", "formControl", "value"], [1, "govuk-label", "govuk-radios__label", 3, "for"], [1, "qm-qualifying-question__divider"]], template: function QualifyingQuestionOptionsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23784
23785
|
i0.ɵɵtemplate(0, QualifyingQuestionOptionsComponent_ng_container_0_Template, 14, 12, "ng-container", 0);
|
|
23785
23786
|
} if (rf & 2) {
|
|
23786
23787
|
i0.ɵɵproperty("ngIf", ctx.qualifyingQuestionsControl);
|
|
@@ -23788,7 +23789,7 @@ class QualifyingQuestionOptionsComponent {
|
|
|
23788
23789
|
}
|
|
23789
23790
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QualifyingQuestionOptionsComponent, [{
|
|
23790
23791
|
type: Component,
|
|
23791
|
-
args: [{ selector: 'ccd-qualifying-question-options', standalone: false, template: "<ng-container *ngIf=\"qualifyingQuestionsControl\">\n <div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"displayError\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ 'Raise a new query' | rpxTranslate }}\n </h1>\n </legend>\n <h2 class=\"govuk-heading-m govuk-!-margin-top-10\">\n {{ 'What do you need help to do?' | rpxTranslate }}\n </h2>\n\n <ng-container *ngIf=\"displayError\">\n <p class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{\n qualifyingQuestionsErrorMessage.SELECT_AN_OPTION | rpxTranslate }}\n </p>\n </ng-container>\n\n <div class=\"govuk-radios\" data-module=\"govuk-radios\">\n <ng-container *ngFor=\"let qualifyingQuestion of qualifyingQuestions$ | async; let isLast = last\">\n <ng-container *ngIf=\"isLast\">\n <div class=\"qm-qualifying-question__divider\">{{ 'If your issue is not covered by the options above, raise a query:' | rpxTranslate }}</div>\n </ng-container>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" \n id=\"{{qualifyingQuestion.name}}\" \n name=\"qualifyingQuestionOption\"\n type=\"radio\" [formControl]=\"qualifyingQuestionsControl\"
|
|
23792
|
+
args: [{ selector: 'ccd-qualifying-question-options', standalone: false, template: "<ng-container *ngIf=\"qualifyingQuestionsControl\">\n <div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"displayError\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ 'Raise a new query' | rpxTranslate }}\n </h1>\n </legend>\n <h2 class=\"govuk-heading-m govuk-!-margin-top-10\">\n {{ 'What do you need help to do?' | rpxTranslate }}\n </h2>\n\n <ng-container *ngIf=\"displayError\">\n <p id=\"qualifyingQuestionOption-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{\n qualifyingQuestionsErrorMessage.SELECT_AN_OPTION | rpxTranslate }}\n </p>\n </ng-container>\n\n <div class=\"govuk-radios\" data-module=\"govuk-radios\">\n <ng-container *ngFor=\"let qualifyingQuestion of qualifyingQuestions$ | async; let isLast = last\">\n <ng-container *ngIf=\"isLast\">\n <div class=\"qm-qualifying-question__divider\">{{ 'If your issue is not covered by the options above, raise a query:' | rpxTranslate }}</div>\n </ng-container>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" \n id=\"{{qualifyingQuestion.name}}\" \n name=\"qualifyingQuestionOption\"\n type=\"radio\" [formControl]=\"qualifyingQuestionsControl\"\n [value]=\"qualifyingQuestion\"\n [attr.aria-describedby]=\"displayError ? 'qualifyingQuestionOption-error' : null\"\n (change)=\"onSelectionChange(qualifyingQuestion)\">\n <label class=\"govuk-label govuk-radios__label\" [for]=\"qualifyingQuestion.name\">{{ qualifyingQuestion.name |\n rpxTranslate }}</label>\n </div>\n </ng-container>\n </div>\n </fieldset>\n </div>\n</ng-container>\n" }]
|
|
23792
23793
|
}], () => [{ type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: QualifyingQuestionService }], { qualifyingQuestionsControl: [{
|
|
23793
23794
|
type: Input
|
|
23794
23795
|
}], qualifyingQuestions$: [{
|
|
@@ -23860,8 +23861,8 @@ class QueryAttachmentsReadComponent {
|
|
|
23860
23861
|
}] }); })();
|
|
23861
23862
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryAttachmentsReadComponent, { className: "QueryAttachmentsReadComponent", filePath: "lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.ts", lineNumber: 11 }); })();
|
|
23862
23863
|
|
|
23863
|
-
function
|
|
23864
|
-
i0.ɵɵelementStart(0, "
|
|
23864
|
+
function QueryCaseDetailsHeaderComponent_h2_0_Template(rf, ctx) { if (rf & 1) {
|
|
23865
|
+
i0.ɵɵelementStart(0, "h2", 2);
|
|
23865
23866
|
i0.ɵɵtext(1);
|
|
23866
23867
|
i0.ɵɵpipe(2, "ccdCaseReference");
|
|
23867
23868
|
i0.ɵɵelementEnd();
|
|
@@ -23885,9 +23886,12 @@ class QueryCaseDetailsHeaderComponent {
|
|
|
23885
23886
|
caseFields;
|
|
23886
23887
|
ngOnInit() {
|
|
23887
23888
|
this.caseTitle = new CaseField();
|
|
23888
|
-
this.caseTitle.label = this.caseDetails?.state?.title_display;
|
|
23889
|
+
this.caseTitle.label = QueryCaseDetailsHeaderComponent.demoteHeadings(this.caseDetails?.state?.title_display);
|
|
23889
23890
|
this.caseFields = this.getCaseFieldsInfo();
|
|
23890
23891
|
}
|
|
23892
|
+
static demoteHeadings(markdown) {
|
|
23893
|
+
return typeof markdown === 'string' ? markdown.replace(/^(\s{0,3})(#{1,5})(?=\s|$)/gm, '$1$2#') : markdown;
|
|
23894
|
+
}
|
|
23891
23895
|
getCaseFieldsInfo() {
|
|
23892
23896
|
const caseDataFields = this.caseDetails?.tabs?.reduce((acc, tab) => {
|
|
23893
23897
|
return acc.concat(tab.fields);
|
|
@@ -23896,7 +23900,7 @@ class QueryCaseDetailsHeaderComponent {
|
|
|
23896
23900
|
}
|
|
23897
23901
|
static ɵfac = function QueryCaseDetailsHeaderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryCaseDetailsHeaderComponent)(); };
|
|
23898
23902
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryCaseDetailsHeaderComponent, selectors: [["ccd-query-case-details-header"]], inputs: { caseDetails: "caseDetails" }, standalone: false, decls: 2, vars: 2, consts: [["class", "heading-h1", 4, "ngIf"], ["class", "case-title", 4, "ngIf"], [1, "heading-h1"], [1, "case-title"], [3, "caseField", "caseFields"]], template: function QueryCaseDetailsHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23899
|
-
i0.ɵɵtemplate(0,
|
|
23903
|
+
i0.ɵɵtemplate(0, QueryCaseDetailsHeaderComponent_h2_0_Template, 3, 3, "h2", 0)(1, QueryCaseDetailsHeaderComponent_div_1_Template, 2, 2, "div", 1);
|
|
23900
23904
|
} if (rf & 2) {
|
|
23901
23905
|
i0.ɵɵproperty("ngIf", !ctx.caseTitle.label);
|
|
23902
23906
|
i0.ɵɵadvance();
|
|
@@ -23905,7 +23909,7 @@ class QueryCaseDetailsHeaderComponent {
|
|
|
23905
23909
|
}
|
|
23906
23910
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryCaseDetailsHeaderComponent, [{
|
|
23907
23911
|
type: Component,
|
|
23908
|
-
args: [{ selector: 'ccd-query-case-details-header', standalone: false, template: "<
|
|
23912
|
+
args: [{ selector: 'ccd-query-case-details-header', standalone: false, template: "<h2 *ngIf=\"!caseTitle.label\" class=\"heading-h1\">#{{ caseDetails.case_id | ccdCaseReference}}</h2>\n<div *ngIf=\"caseTitle.label\" class=\"case-title\">\n <ccd-label-field [caseField]=\"caseTitle\" [caseFields]=\"caseFields\"></ccd-label-field>\n</div>\n" }]
|
|
23909
23913
|
}], null, { caseDetails: [{
|
|
23910
23914
|
type: Input
|
|
23911
23915
|
}] }); })();
|
|
@@ -25513,40 +25517,45 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
25513
25517
|
i0.ɵɵadvance();
|
|
25514
25518
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
25515
25519
|
i0.ɵɵadvance(8);
|
|
25516
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10,
|
|
25520
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 27, ctx_r0.serviceMessage));
|
|
25517
25521
|
i0.ɵɵadvance(2);
|
|
25518
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
25522
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$F, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
|
|
25519
25523
|
i0.ɵɵadvance(3);
|
|
25520
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15,
|
|
25524
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 29, "Query subject"), " ");
|
|
25521
25525
|
i0.ɵɵadvance(3);
|
|
25522
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18,
|
|
25526
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 31, "The subject should be a summary of your query"), " ");
|
|
25523
25527
|
i0.ɵɵadvance(2);
|
|
25524
25528
|
i0.ɵɵproperty("ngIf", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")));
|
|
25525
|
-
i0.ɵɵadvance(
|
|
25526
|
-
i0.ɵɵ
|
|
25529
|
+
i0.ɵɵadvance();
|
|
25530
|
+
i0.ɵɵattribute("aria-describedby", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")) ? "subject-hint subject-error" : "subject-hint");
|
|
25531
|
+
i0.ɵɵadvance();
|
|
25532
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(49, _c0$F, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
|
|
25527
25533
|
i0.ɵɵadvance(3);
|
|
25528
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25,
|
|
25534
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 33, "Query detail"), " ");
|
|
25529
25535
|
i0.ɵɵadvance(3);
|
|
25530
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28,
|
|
25536
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 35, "Include as many details as possible so case workers can respond to your query"), " ");
|
|
25531
25537
|
i0.ɵɵadvance(2);
|
|
25532
25538
|
i0.ɵɵproperty("ngIf", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
|
|
25533
25539
|
i0.ɵɵadvance();
|
|
25534
25540
|
i0.ɵɵclassProp("govuk-textarea--error", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
|
|
25535
25541
|
i0.ɵɵproperty("formControlName", "body");
|
|
25542
|
+
i0.ɵɵattribute("aria-describedby", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required") ? "body-hint body-error" : "body-hint");
|
|
25536
25543
|
i0.ɵɵadvance(2);
|
|
25537
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
25544
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(51, _c0$F, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
|
|
25538
25545
|
i0.ɵɵadvance(4);
|
|
25539
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37,
|
|
25546
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 37, "Is the query hearing related?"), " ");
|
|
25540
25547
|
i0.ɵɵadvance(2);
|
|
25541
25548
|
i0.ɵɵproperty("ngIf", ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required"));
|
|
25542
25549
|
i0.ɵɵadvance(3);
|
|
25543
25550
|
i0.ɵɵproperty("checked", ctx_r0.formGroup.get("isHearingRelated").value === true)("value", true);
|
|
25551
|
+
i0.ɵɵattribute("aria-describedby", ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required") ? "isHearingRelated-error" : null);
|
|
25544
25552
|
i0.ɵɵadvance(2);
|
|
25545
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(44,
|
|
25553
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(44, 39, "Is the query hearing related?", null, "Yes"), " ");
|
|
25546
25554
|
i0.ɵɵadvance(3);
|
|
25547
25555
|
i0.ɵɵproperty("checked", ctx_r0.formGroup.get("isHearingRelated").value === false)("value", false);
|
|
25556
|
+
i0.ɵɵattribute("aria-describedby", ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required") ? "isHearingRelated-error" : null);
|
|
25548
25557
|
i0.ɵɵadvance(2);
|
|
25549
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(49,
|
|
25558
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(49, 43, "Is the query hearing related?", null, "No"), " ");
|
|
25550
25559
|
i0.ɵɵadvance(2);
|
|
25551
25560
|
i0.ɵɵproperty("ngIf", ctx_r0.formGroup.get("isHearingRelated").value);
|
|
25552
25561
|
} }
|
|
@@ -25611,7 +25620,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
25611
25620
|
return this.queryManagementService.generateCaseQueriesCollectionData(this.formGroup, this.queryCreateContext, this.queryItem, this.messageId);
|
|
25612
25621
|
}
|
|
25613
25622
|
static ɵfac = function QueryWriteRaiseQueryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryWriteRaiseQueryComponent)(i0.ɵɵdirectiveInject(QueryManagementService), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute)); };
|
|
25614
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted", caseDetails: "caseDetails", showForm: "showForm", serviceMessage: "serviceMessage", queryCreateContext: "queryCreateContext", eventData: "eventData", queryItem: "queryItem", validate: "validate", triggerSubmission: "triggerSubmission" }, outputs: { queryDataCreated: "queryDataCreated" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 12, vars: 8, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [3, "caseDetails", 4, "ngIf"], ["class", "govuk-!-margin-bottom-4", 4, "ngIf"], [3, "caseDetails"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-warning-text"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], [3, "content"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], ["for", "subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "subject-hint", 1, "govuk-hint"], ["id", "subject-error", "class", "govuk-error-message", 4, "ngIf"], ["type", "text", "id", "subject", "formControlName", "subject", "maxlength", "200",
|
|
25623
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted", caseDetails: "caseDetails", showForm: "showForm", serviceMessage: "serviceMessage", queryCreateContext: "queryCreateContext", eventData: "eventData", queryItem: "queryItem", validate: "validate", triggerSubmission: "triggerSubmission" }, outputs: { queryDataCreated: "queryDataCreated" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 12, vars: 8, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [3, "caseDetails", 4, "ngIf"], ["class", "govuk-!-margin-bottom-4", 4, "ngIf"], [3, "caseDetails"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-warning-text"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], [3, "content"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], ["for", "subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "subject-hint", 1, "govuk-hint"], ["id", "subject-error", "class", "govuk-error-message", 4, "ngIf"], ["type", "text", "id", "subject", "formControlName", "subject", "maxlength", "200", 1, "govuk-input", 3, "input"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-hint", 1, "govuk-hint"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "isHearingRelated-error", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "subject-error", 1, "govuk-error-message"], ["id", "body-error", 1, "govuk-error-message"], ["id", "isHearingRelated-error", 1, "govuk-error-message"], [1, "govuk-radios__conditional", "govuk-!-margin-top-1", 3, "ngClass"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["id", "hearingDate-error", "class", "govuk-error-message", 4, "ngIf"], ["formControlName", "hearingDate"], ["id", "hearingDate-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
25615
25624
|
i0.ɵɵelementStart(0, "div")(1, "div", 0)(2, "div", 1);
|
|
25616
25625
|
i0.ɵɵtext(3);
|
|
25617
25626
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -25624,7 +25633,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
25624
25633
|
i0.ɵɵtemplate(9, QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template, 1, 1, "ccd-query-case-details-header", 3);
|
|
25625
25634
|
i0.ɵɵelementEnd();
|
|
25626
25635
|
i0.ɵɵelement(10, "hr");
|
|
25627
|
-
i0.ɵɵtemplate(11, QueryWriteRaiseQueryComponent_div_11_Template, 51,
|
|
25636
|
+
i0.ɵɵtemplate(11, QueryWriteRaiseQueryComponent_div_11_Template, 51, 53, "div", 4);
|
|
25628
25637
|
i0.ɵɵelementEnd();
|
|
25629
25638
|
} if (rf & 2) {
|
|
25630
25639
|
i0.ɵɵadvance(3);
|
|
@@ -25639,7 +25648,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
25639
25648
|
}
|
|
25640
25649
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteRaiseQueryComponent, [{
|
|
25641
25650
|
type: Component,
|
|
25642
|
-
args: [{ selector: 'ccd-query-write-raise-query', standalone: false, template: "<div>\n <div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-caption-l\">{{ 'Raise a query' | rpxTranslate }}</div>\n <h1 class=\"govuk-heading-l govuk-!-margin-bottom-4\">{{ 'Enter query details' | rpxTranslate }}</h1>\n </div>\n\n <div>\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\" *ngIf=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <hr>\n\n <div class=\"govuk-!-margin-bottom-4\" *ngIf=\"showForm\">\n <div [formGroup]=\"formGroup\">\n <div>\n <div class=\"govuk-warning-text\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">Warning</span>\n <ccd-markdown\n [content]=\"serviceMessage | rpxTranslate\">\n </ccd-markdown>\n </strong>\n </div>\n <div class=\"govuk-form-group\" [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('subject').hasError('required')}\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"subject\">\n {{ 'Query subject' | rpxTranslate }}\n </label>\n </div>\n <div id=\"subject-hint\" class=\"govuk-hint\">\n {{ 'The subject should be a summary of your query' | rpxTranslate }}\n </div>\n <p id=\"subject-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && (formGroup.get('subject').hasError('required') || formGroup.get('subject').hasError('maxlength'))\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }}</span>\n {{ getSubjectErrorMessage() | rpxTranslate }}\n </p>\n\n <input type=\"text\"\n id=\"subject\"\n class=\"govuk-input\"\n formControlName=\"subject\"\n maxlength=\"200\"\n (input)=\"onSubjectInput()\"\n aria-describedby=\"subject-error\" />\n </div>\n\n <div class=\"govuk-form-group\"\n [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('body').hasError('required')}\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"body\">\n {{ 'Query detail' | rpxTranslate }}\n </label>\n </div>\n <div id=\"body-hint\" class=\"govuk-hint\">\n {{ 'Include as many details as possible so case workers can respond to your query' | rpxTranslate }}\n </div>\n <p id=\"body-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('body').hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_BODY | rpxTranslate }}\n </p>\n <textarea [formControlName]=\"'body'\"\n id=\"body\" name=\"body\" rows=\"5\"\n aria-describedby=\"body-hint body-error\"\n class=\"govuk-textarea\"\n [class.govuk-textarea--error]=\"submitted && formGroup.get('body').hasError('required')\"\n >\n </textarea>\n </div>\n\n <div class=\"govuk-form-group\"\n [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('isHearingRelated').hasError('required')}\">\n <fieldset class=\"govuk-fieldset\">\n <legend>\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </label>\n </legend>\n <p id=\"isHearingRelated-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('isHearingRelated').hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_HEARING_RELATED | rpxTranslate }}\n </p>\n <div class=\"govuk-radios govuk-radios--inline\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"isHearingRelated-yes\" name=\"isHearingRelated\"\n type=\"radio\"\n formControlName=\"isHearingRelated\"\n [checked]=\"formGroup.get('isHearingRelated').value === true\" [value]=\"true\"\n >\n <label class=\"govuk-label govuk-radios__label\" for=\"isHearingRelated-yes\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'Yes' }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"isHearingRelated-no\" name=\"isHearingRelated\"\n type=\"radio\"\n formControlName=\"isHearingRelated\"\n [checked]=\"formGroup.get('isHearingRelated').value === false\" [value]=\"false\"\n >\n <label class=\"govuk-label govuk-radios__label\" for=\"isHearingRelated-no\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'No' }}\n </label>\n </div>\n </div>\n </fieldset>\n\n <ng-container *ngIf=\"formGroup.get('isHearingRelated').value\">\n <div class=\"govuk-radios__conditional govuk-!-margin-top-1\"\n [ngClass]=\"{'govuk-form-group--error': submitted &&\n formGroup.get('isHearingRelated').value === true &&\n formGroup.get('hearingDate').value === null}\">\n <fieldset class=\"govuk-fieldset\" role=\"group\">\n <legend>\n <label class=\"govuk-label govuk-label--s\">\n {{ 'What is the date of the hearing?' | rpxTranslate }}\n </label>\n </legend>\n <p id=\"hearingDate-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('isHearingRelated').value === true && formGroup.get('hearingDate').value === null\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_HEARING_DATE | rpxTranslate }}\n </p>\n <ccd-query-write-date-input formControlName=\"hearingDate\"></ccd-query-write-date-input>\n </fieldset>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n" }]
|
|
25651
|
+
args: [{ selector: 'ccd-query-write-raise-query', standalone: false, template: "<div>\n <div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-caption-l\">{{ 'Raise a query' | rpxTranslate }}</div>\n <h1 class=\"govuk-heading-l govuk-!-margin-bottom-4\">{{ 'Enter query details' | rpxTranslate }}</h1>\n </div>\n\n <div>\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\" *ngIf=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <hr>\n\n <div class=\"govuk-!-margin-bottom-4\" *ngIf=\"showForm\">\n <div [formGroup]=\"formGroup\">\n <div>\n <div class=\"govuk-warning-text\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">Warning</span>\n <ccd-markdown\n [content]=\"serviceMessage | rpxTranslate\">\n </ccd-markdown>\n </strong>\n </div>\n <div class=\"govuk-form-group\" [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('subject').hasError('required')}\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"subject\">\n {{ 'Query subject' | rpxTranslate }}\n </label>\n </div>\n <div id=\"subject-hint\" class=\"govuk-hint\">\n {{ 'The subject should be a summary of your query' | rpxTranslate }}\n </div>\n <p id=\"subject-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && (formGroup.get('subject').hasError('required') || formGroup.get('subject').hasError('maxlength'))\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }}</span>\n {{ getSubjectErrorMessage() | rpxTranslate }}\n </p>\n\n <input type=\"text\"\n id=\"subject\"\n class=\"govuk-input\"\n formControlName=\"subject\"\n maxlength=\"200\"\n (input)=\"onSubjectInput()\"\n [attr.aria-describedby]=\"\n submitted && (formGroup.get('subject').hasError('required') || formGroup.get('subject').hasError('maxlength'))\n ? 'subject-hint subject-error'\n : 'subject-hint'\n \" />\n </div>\n\n <div class=\"govuk-form-group\"\n [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('body').hasError('required')}\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"body\">\n {{ 'Query detail' | rpxTranslate }}\n </label>\n </div>\n <div id=\"body-hint\" class=\"govuk-hint\">\n {{ 'Include as many details as possible so case workers can respond to your query' | rpxTranslate }}\n </div>\n <p id=\"body-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('body').hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_BODY | rpxTranslate }}\n </p>\n <textarea [formControlName]=\"'body'\"\n id=\"body\" name=\"body\" rows=\"5\"\n [attr.aria-describedby]=\"submitted && formGroup.get('body').hasError('required') ? 'body-hint body-error' : 'body-hint'\"\n class=\"govuk-textarea\"\n [class.govuk-textarea--error]=\"submitted && formGroup.get('body').hasError('required')\"\n >\n </textarea>\n </div>\n\n <div class=\"govuk-form-group\"\n [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('isHearingRelated').hasError('required')}\">\n <fieldset class=\"govuk-fieldset\">\n <legend>\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </label>\n </legend>\n <p id=\"isHearingRelated-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('isHearingRelated').hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_HEARING_RELATED | rpxTranslate }}\n </p>\n <div class=\"govuk-radios govuk-radios--inline\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"isHearingRelated-yes\" name=\"isHearingRelated\"\n type=\"radio\"\n [attr.aria-describedby]=\"submitted && formGroup.get('isHearingRelated').hasError('required') ? 'isHearingRelated-error' : null\"\n formControlName=\"isHearingRelated\"\n [checked]=\"formGroup.get('isHearingRelated').value === true\" [value]=\"true\"\n >\n <label class=\"govuk-label govuk-radios__label\" for=\"isHearingRelated-yes\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'Yes' }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"isHearingRelated-no\" name=\"isHearingRelated\"\n type=\"radio\"\n [attr.aria-describedby]=\"submitted && formGroup.get('isHearingRelated').hasError('required') ? 'isHearingRelated-error' : null\"\n formControlName=\"isHearingRelated\"\n [checked]=\"formGroup.get('isHearingRelated').value === false\" [value]=\"false\"\n >\n <label class=\"govuk-label govuk-radios__label\" for=\"isHearingRelated-no\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'No' }}\n </label>\n </div>\n </div>\n </fieldset>\n\n <ng-container *ngIf=\"formGroup.get('isHearingRelated').value\">\n <div class=\"govuk-radios__conditional govuk-!-margin-top-1\"\n [ngClass]=\"{'govuk-form-group--error': submitted &&\n formGroup.get('isHearingRelated').value === true &&\n formGroup.get('hearingDate').value === null}\">\n <fieldset class=\"govuk-fieldset\" role=\"group\">\n <legend>\n <label class=\"govuk-label govuk-label--s\">\n {{ 'What is the date of the hearing?' | rpxTranslate }}\n </label>\n </legend>\n <p id=\"hearingDate-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('isHearingRelated').value === true && formGroup.get('hearingDate').value === null\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_HEARING_DATE | rpxTranslate }}\n </p>\n <ccd-query-write-date-input formControlName=\"hearingDate\"></ccd-query-write-date-input>\n </fieldset>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n" }]
|
|
25643
25652
|
}], () => [{ type: QueryManagementService }, { type: i1$2.ActivatedRoute }], { formGroup: [{
|
|
25644
25653
|
type: Input
|
|
25645
25654
|
}], submitted: [{
|
|
@@ -25894,7 +25903,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
25894
25903
|
}] }); })();
|
|
25895
25904
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryWriteRespondToQueryComponent, { className: "QueryWriteRespondToQueryComponent", filePath: "lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.ts", lineNumber: 20 }); })();
|
|
25896
25905
|
|
|
25897
|
-
function
|
|
25906
|
+
function QueryConfirmationComponent_div_0_ng_container_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
25898
25907
|
i0.ɵɵelementStart(0, "h1", 8);
|
|
25899
25908
|
i0.ɵɵtext(1);
|
|
25900
25909
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -25909,7 +25918,7 @@ function QueryConfirmationComponent_main_0_ng_container_3_Conditional_2_Template
|
|
|
25909
25918
|
i0.ɵɵadvance(3);
|
|
25910
25919
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, "This query response has been added to the case"));
|
|
25911
25920
|
} }
|
|
25912
|
-
function
|
|
25921
|
+
function QueryConfirmationComponent_div_0_ng_container_3_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
25913
25922
|
i0.ɵɵelementStart(0, "h1", 8);
|
|
25914
25923
|
i0.ɵɵtext(1);
|
|
25915
25924
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -25924,7 +25933,7 @@ function QueryConfirmationComponent_main_0_ng_container_3_Conditional_3_Template
|
|
|
25924
25933
|
i0.ɵɵadvance(3);
|
|
25925
25934
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, "Your query has been sent."));
|
|
25926
25935
|
} }
|
|
25927
|
-
function
|
|
25936
|
+
function QueryConfirmationComponent_div_0_ng_container_3_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
25928
25937
|
i0.ɵɵelementStart(0, "h1", 8);
|
|
25929
25938
|
i0.ɵɵtext(1);
|
|
25930
25939
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -25940,8 +25949,8 @@ function QueryConfirmationComponent_main_0_ng_container_3_Conditional_4_Template
|
|
|
25940
25949
|
i0.ɵɵadvance(3);
|
|
25941
25950
|
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(5, 4, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.header));
|
|
25942
25951
|
} }
|
|
25943
|
-
function
|
|
25944
|
-
i0.ɵɵelementStart(0, "
|
|
25952
|
+
function QueryConfirmationComponent_div_0_ng_container_3_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
25953
|
+
i0.ɵɵelementStart(0, "h2", 12);
|
|
25945
25954
|
i0.ɵɵtext(1);
|
|
25946
25955
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
25947
25956
|
i0.ɵɵelementEnd();
|
|
@@ -25960,13 +25969,13 @@ function QueryConfirmationComponent_main_0_ng_container_3_Conditional_6_Template
|
|
|
25960
25969
|
i0.ɵɵadvance(3);
|
|
25961
25970
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 7, "When the response is available it will be added to the 'Queries' section."));
|
|
25962
25971
|
} }
|
|
25963
|
-
function
|
|
25972
|
+
function QueryConfirmationComponent_div_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
25964
25973
|
i0.ɵɵelementContainerStart(0);
|
|
25965
25974
|
i0.ɵɵelementStart(1, "div", 5);
|
|
25966
|
-
i0.ɵɵconditionalCreate(2,
|
|
25975
|
+
i0.ɵɵconditionalCreate(2, QueryConfirmationComponent_div_0_ng_container_3_Conditional_2_Template, 6, 6)(3, QueryConfirmationComponent_div_0_ng_container_3_Conditional_3_Template, 6, 6)(4, QueryConfirmationComponent_div_0_ng_container_3_Conditional_4_Template, 6, 6);
|
|
25967
25976
|
i0.ɵɵelementEnd();
|
|
25968
25977
|
i0.ɵɵelementStart(5, "div", 6);
|
|
25969
|
-
i0.ɵɵconditionalCreate(6,
|
|
25978
|
+
i0.ɵɵconditionalCreate(6, QueryConfirmationComponent_div_0_ng_container_3_Conditional_6_Template, 8, 9);
|
|
25970
25979
|
i0.ɵɵelementStart(7, "p");
|
|
25971
25980
|
i0.ɵɵtext(8);
|
|
25972
25981
|
i0.ɵɵpipe(9, "rpxTranslate");
|
|
@@ -25988,7 +25997,7 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
|
|
|
25988
25997
|
i0.ɵɵadvance();
|
|
25989
25998
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 10, "Go back to the case"));
|
|
25990
25999
|
} }
|
|
25991
|
-
function
|
|
26000
|
+
function QueryConfirmationComponent_div_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
25992
26001
|
i0.ɵɵelementContainerStart(0);
|
|
25993
26002
|
i0.ɵɵelementStart(1, "div", 5)(2, "h1", 8);
|
|
25994
26003
|
i0.ɵɵtext(3);
|
|
@@ -26028,9 +26037,9 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
|
|
|
26028
26037
|
i0.ɵɵadvance();
|
|
26029
26038
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 21, "Go back to the case"));
|
|
26030
26039
|
} }
|
|
26031
|
-
function
|
|
26032
|
-
i0.ɵɵelementStart(0, "
|
|
26033
|
-
i0.ɵɵtemplate(3,
|
|
26040
|
+
function QueryConfirmationComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
26041
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "div", 3);
|
|
26042
|
+
i0.ɵɵtemplate(3, QueryConfirmationComponent_div_0_ng_container_3_Template, 13, 12, "ng-container", 4)(4, QueryConfirmationComponent_div_0_ng_container_4_Template, 18, 23, "ng-container", 4);
|
|
26034
26043
|
i0.ɵɵelementEnd()()();
|
|
26035
26044
|
} if (rf & 2) {
|
|
26036
26045
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -26097,14 +26106,14 @@ class QueryConfirmationComponent {
|
|
|
26097
26106
|
}
|
|
26098
26107
|
static ɵfac = function QueryConfirmationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryConfirmationComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
26099
26108
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryConfirmationComponent, selectors: [["ccd-query-confirmation"]], inputs: { queryCreateContext: "queryCreateContext", callbackConfirmationMessageText: "callbackConfirmationMessageText", eventResponseData: "eventResponseData" }, standalone: false, decls: 1, vars: 1, consts: [["class", "govuk-main-wrapper", 4, "ngIf"], [1, "govuk-main-wrapper"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [4, "ngIf"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-body"], [1, "govuk-link", 3, "routerLink"], [1, "govuk-panel__title"], [1, "govuk-panel__body"], [1, "qm-confirmation", "govuk-panel__body"], [3, "content"], [1, "govuk-heading-s"], ["id", "tasks-link", 1, "govuk-link", 3, "routerLink"], ["id", "case-link", 1, "govuk-link", 3, "routerLink"]], template: function QueryConfirmationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
26100
|
-
i0.ɵɵtemplate(0,
|
|
26109
|
+
i0.ɵɵtemplate(0, QueryConfirmationComponent_div_0_Template, 5, 2, "div", 0);
|
|
26101
26110
|
} if (rf & 2) {
|
|
26102
26111
|
i0.ɵɵproperty("ngIf", ctx.queryCreateContext);
|
|
26103
26112
|
} }, dependencies: [i5.NgIf, i1$2.RouterLink, MarkdownComponent, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
26104
26113
|
}
|
|
26105
26114
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryConfirmationComponent, [{
|
|
26106
26115
|
type: Component,
|
|
26107
|
-
args: [{ selector: 'ccd-query-confirmation', standalone: false, template: "<
|
|
26116
|
+
args: [{ selector: 'ccd-query-confirmation', standalone: false, template: "<div class=\"govuk-main-wrapper\" *ngIf=\"queryCreateContext\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY || queryCreateContext === queryCreateContextEnum.FOLLOWUP\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n\n @if (isHmctsStaffRaisedQuery?.toLowerCase() === 'yes' && queryCreateContext === queryCreateContextEnum.FOLLOWUP) {\n <h1 class=\"govuk-panel__title\">{{'Query response submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'This query response has been added to the case' | rpxTranslate}}</div>\n } @else if (isHmctsStaffRaisedQuery?.toLowerCase() === 'yes' && queryCreateContext === queryCreateContextEnum.NEW_QUERY) {\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'Your query has been sent.' | rpxTranslate}}</div>\n } @else {\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"qm-confirmation govuk-panel__body\">\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.header | rpxTranslate\"></ccd-markdown>\n </div>\n }\n\n </div>\n <div class=\"govuk-body\">\n @if (isHmctsStaff.toLowerCase() !== 'yes') {\n <h2 class=\"govuk-heading-s\">{{'What happens next' | rpxTranslate}}</h2>\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.body | rpxTranslate\"></ccd-markdown>\n <p>{{'When the response is available it will be added to the \\'Queries\\' section.' | rpxTranslate}}</p>\n }\n <p>\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </p>\n\n </div>\n </ng-container>\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query response submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'This query response has been added to the case' | rpxTranslate}}</div>\n </div>\n <div class=\"govuk-body\">\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" id=\"tasks-link\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}#Tasks\">{{'return to tasks' | rpxTranslate}}</a> or\n <a class=\"govuk-link\" id=\"case-link\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </div>\n </ng-container>\n </div>\n </div>\n</div>\n" }]
|
|
26108
26117
|
}], () => [{ type: i1$2.ActivatedRoute }, { type: SessionStorageService }], { queryCreateContext: [{
|
|
26109
26118
|
type: Input
|
|
26110
26119
|
}], callbackConfirmationMessageText: [{
|
|
@@ -38285,20 +38294,15 @@ class LoadingSpinnerModule {
|
|
|
38285
38294
|
}], null, null); })();
|
|
38286
38295
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(LoadingSpinnerModule, { declarations: [LoadingSpinnerComponent], imports: [CommonModule, i1.RpxTranslationModule], exports: [LoadingSpinnerComponent] }); })();
|
|
38287
38296
|
|
|
38288
|
-
function
|
|
38289
|
-
i0.ɵɵ
|
|
38290
|
-
i0.ɵɵtext(
|
|
38291
|
-
i0.ɵɵ
|
|
38292
|
-
i0.ɵɵelementStart(3, "div", 3)(4, "p", 4);
|
|
38293
|
-
i0.ɵɵtext(5, "We're working to fix the problem. Try again shortly.");
|
|
38294
|
-
i0.ɵɵelementEnd();
|
|
38295
|
-
i0.ɵɵelementStart(6, "p", 4)(7, "a", 5);
|
|
38296
|
-
i0.ɵɵtext(8, "Contact us");
|
|
38297
|
-
i0.ɵɵelementEnd();
|
|
38298
|
-
i0.ɵɵtext(9, " if you're still having problems.");
|
|
38299
|
-
i0.ɵɵelementEnd()()();
|
|
38297
|
+
function CaseEditGenericErrorsComponent_div_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
38298
|
+
i0.ɵɵelementContainerStart(0);
|
|
38299
|
+
i0.ɵɵtext(1, "The event could not be created");
|
|
38300
|
+
i0.ɵɵelementContainerEnd();
|
|
38300
38301
|
} }
|
|
38301
|
-
function
|
|
38302
|
+
function CaseEditGenericErrorsComponent_div_0_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
38303
|
+
i0.ɵɵtext(0, "Something went wrong");
|
|
38304
|
+
} }
|
|
38305
|
+
function CaseEditGenericErrorsComponent_div_0_ng_container_6_ul_3_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
38302
38306
|
i0.ɵɵelementStart(0, "li");
|
|
38303
38307
|
i0.ɵɵtext(1);
|
|
38304
38308
|
i0.ɵɵelementEnd();
|
|
@@ -38307,45 +38311,67 @@ function CaseEditGenericErrorsComponent_div_1_ul_6_li_1_Template(rf, ctx) { if (
|
|
|
38307
38311
|
i0.ɵɵadvance();
|
|
38308
38312
|
i0.ɵɵtextInterpolate(fieldError_r1.message);
|
|
38309
38313
|
} }
|
|
38310
|
-
function
|
|
38311
|
-
i0.ɵɵelementStart(0, "ul",
|
|
38312
|
-
i0.ɵɵtemplate(1,
|
|
38314
|
+
function CaseEditGenericErrorsComponent_div_0_ng_container_6_ul_3_Template(rf, ctx) { if (rf & 1) {
|
|
38315
|
+
i0.ɵɵelementStart(0, "ul", 9);
|
|
38316
|
+
i0.ɵɵtemplate(1, CaseEditGenericErrorsComponent_div_0_ng_container_6_ul_3_li_1_Template, 2, 1, "li", 10);
|
|
38313
38317
|
i0.ɵɵelementEnd();
|
|
38314
38318
|
} if (rf & 2) {
|
|
38315
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
38319
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
38316
38320
|
i0.ɵɵadvance();
|
|
38317
38321
|
i0.ɵɵproperty("ngForOf", ctx_r1.error.details.field_errors);
|
|
38318
38322
|
} }
|
|
38319
|
-
function
|
|
38320
|
-
i0.ɵɵ
|
|
38321
|
-
i0.ɵɵ
|
|
38322
|
-
i0.ɵɵ
|
|
38323
|
-
i0.ɵɵelementStart(3, "div", 6)(4, "p", 4);
|
|
38324
|
-
i0.ɵɵtext(5);
|
|
38323
|
+
function CaseEditGenericErrorsComponent_div_0_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
38324
|
+
i0.ɵɵelementContainerStart(0);
|
|
38325
|
+
i0.ɵɵelementStart(1, "p", 7);
|
|
38326
|
+
i0.ɵɵtext(2);
|
|
38325
38327
|
i0.ɵɵelementEnd();
|
|
38326
|
-
i0.ɵɵtemplate(
|
|
38327
|
-
i0.ɵɵ
|
|
38328
|
+
i0.ɵɵtemplate(3, CaseEditGenericErrorsComponent_div_0_ng_container_6_ul_3_Template, 2, 1, "ul", 8);
|
|
38329
|
+
i0.ɵɵelementContainerEnd();
|
|
38328
38330
|
} if (rf & 2) {
|
|
38329
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
38330
|
-
i0.ɵɵadvance(
|
|
38331
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
38332
|
+
i0.ɵɵadvance(2);
|
|
38331
38333
|
i0.ɵɵtextInterpolate(ctx_r1.error.message);
|
|
38332
38334
|
i0.ɵɵadvance();
|
|
38333
38335
|
i0.ɵɵproperty("ngIf", ctx_r1.error.details == null ? null : ctx_r1.error.details.field_errors);
|
|
38334
38336
|
} }
|
|
38337
|
+
function CaseEditGenericErrorsComponent_div_0_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
38338
|
+
i0.ɵɵelementStart(0, "p", 7);
|
|
38339
|
+
i0.ɵɵtext(1, "We're working to fix the problem. Try again shortly.");
|
|
38340
|
+
i0.ɵɵelementEnd();
|
|
38341
|
+
i0.ɵɵelementStart(2, "p", 7)(3, "a", 11);
|
|
38342
|
+
i0.ɵɵtext(4, "Contact us");
|
|
38343
|
+
i0.ɵɵelementEnd();
|
|
38344
|
+
i0.ɵɵtext(5, " if you're still having problems.");
|
|
38345
|
+
i0.ɵɵelementEnd();
|
|
38346
|
+
} }
|
|
38347
|
+
function CaseEditGenericErrorsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
38348
|
+
i0.ɵɵelementStart(0, "div", 3)(1, "h2", 4);
|
|
38349
|
+
i0.ɵɵtemplate(2, CaseEditGenericErrorsComponent_div_0_ng_container_2_Template, 2, 0, "ng-container", 5)(3, CaseEditGenericErrorsComponent_div_0_ng_template_3_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
38350
|
+
i0.ɵɵelementEnd();
|
|
38351
|
+
i0.ɵɵelementStart(5, "div", 6);
|
|
38352
|
+
i0.ɵɵtemplate(6, CaseEditGenericErrorsComponent_div_0_ng_container_6_Template, 4, 2, "ng-container", 5)(7, CaseEditGenericErrorsComponent_div_0_ng_template_7_Template, 6, 0, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
38353
|
+
i0.ɵɵelementEnd()();
|
|
38354
|
+
} if (rf & 2) {
|
|
38355
|
+
const genericErrorTitle_r3 = i0.ɵɵreference(4);
|
|
38356
|
+
const genericErrorBody_r4 = i0.ɵɵreference(8);
|
|
38357
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
38358
|
+
i0.ɵɵadvance(2);
|
|
38359
|
+
i0.ɵɵproperty("ngIf", ctx_r1.error.details || ctx_r1.error.message)("ngIfElse", genericErrorTitle_r3);
|
|
38360
|
+
i0.ɵɵadvance(4);
|
|
38361
|
+
i0.ɵɵproperty("ngIf", ctx_r1.error.details || ctx_r1.error.message)("ngIfElse", genericErrorBody_r4);
|
|
38362
|
+
} }
|
|
38335
38363
|
class CaseEditGenericErrorsComponent {
|
|
38336
38364
|
error;
|
|
38337
38365
|
static ɵfac = function CaseEditGenericErrorsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditGenericErrorsComponent)(); };
|
|
38338
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditGenericErrorsComponent, selectors: [["ccd-case-edit-generic-errors"]], inputs: { error: "error" }, standalone: false, features: [i0.ɵɵProvidersFeature([])], decls:
|
|
38339
|
-
i0.ɵɵtemplate(0, CaseEditGenericErrorsComponent_div_0_Template,
|
|
38366
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditGenericErrorsComponent, selectors: [["ccd-case-edit-generic-errors"]], inputs: { error: "error" }, standalone: false, features: [i0.ɵɵProvidersFeature([])], decls: 1, vars: 1, consts: [["genericErrorTitle", ""], ["genericErrorBody", ""], ["class", "govuk-error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "govuk-error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "govuk-error-summary__title"], [4, "ngIf", "ngIfElse"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], [1, "govuk-body"], ["class", "govuk-list govuk-error-summary__list", 4, "ngIf"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["href", "get-help", "target", "_blank"]], template: function CaseEditGenericErrorsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
38367
|
+
i0.ɵɵtemplate(0, CaseEditGenericErrorsComponent_div_0_Template, 9, 4, "div", 2);
|
|
38340
38368
|
} if (rf & 2) {
|
|
38341
|
-
i0.ɵɵproperty("ngIf", ctx.error && (
|
|
38342
|
-
i0.ɵɵadvance();
|
|
38343
|
-
i0.ɵɵproperty("ngIf", ctx.error && (ctx.error.details || ctx.error.message));
|
|
38369
|
+
i0.ɵɵproperty("ngIf", ctx.error && (ctx.error.details || ctx.error.message || !(ctx.error.callbackErrors || ctx.error.callbackWarnings)));
|
|
38344
38370
|
} }, dependencies: [i5.NgForOf, i5.NgIf], styles: ["#fieldset-case-data[_ngcontent-%COMP%]{margin-bottom:30px}#fieldset-case-data[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}.compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:0}#confirmation-header[_ngcontent-%COMP%]{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body[_ngcontent-%COMP%]{width:630px;background-color:#fff}.valign-top[_ngcontent-%COMP%]{vertical-align:top}.summary-fields[_ngcontent-%COMP%]{margin-bottom:30px}.summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:0px}a.disabled[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.case-field-label[_ngcontent-%COMP%]{width:45%}.case-field-content[_ngcontent-%COMP%]{width:50%}.no-bottom-border[_ngcontent-%COMP%]{border-bottom:none}.case-field-change[_ngcontent-%COMP%]{width:5%}.refresh-modal-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.refresh-modal[_ngcontent-%COMP%]{background:#fff;padding:24px;max-width:520px;width:90%;box-shadow:0 8px 24px #0003;border-radius:4px;text-align:center}.refresh-modal[_ngcontent-%COMP%] .govuk-button[_ngcontent-%COMP%]{margin-top:12px}"] });
|
|
38345
38371
|
}
|
|
38346
38372
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditGenericErrorsComponent, [{
|
|
38347
38373
|
type: Component,
|
|
38348
|
-
args: [{ selector: 'ccd-case-edit-generic-errors', providers: [], standalone: false, template: "
|
|
38374
|
+
args: [{ selector: 'ccd-case-edit-generic-errors', providers: [], standalone: false, template: "<div *ngIf=\"error && (error.details || error.message || !(error.callbackErrors || error.callbackWarnings))\" class=\"govuk-error-summary\" role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"govuk-error-summary__title\" id=\"edit-case-event_error-summary-heading\">\n <ng-container *ngIf=\"error.details || error.message; else genericErrorTitle\">The event could not be created</ng-container>\n <ng-template #genericErrorTitle>Something went wrong</ng-template>\n </h2>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <ng-container *ngIf=\"error.details || error.message; else genericErrorBody\">\n <p class=\"govuk-body\">{{error.message}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">{{fieldError.message}}</li>\n </ul>\n </ng-container>\n <ng-template #genericErrorBody>\n <p class=\"govuk-body\">We're working to fix the problem. Try again shortly.</p>\n <p class=\"govuk-body\"><a href=\"get-help\" target=\"_blank\">Contact us</a> if you're still having problems.</p>\n </ng-template>\n </div>\n</div>\n", styles: ["#fieldset-case-data{margin-bottom:30px}#fieldset-case-data th{width:1%;white-space:nowrap;vertical-align:top}.compound-field td{padding:0}#confirmation-header{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body{width:630px;background-color:#fff}.valign-top{vertical-align:top}.summary-fields{margin-bottom:30px}.summary-fields tbody tr th,.summary-fields tbody tr td{border-bottom:0px}a.disabled{pointer-events:none;cursor:default}.case-field-label{width:45%}.case-field-content{width:50%}.no-bottom-border{border-bottom:none}.case-field-change{width:5%}.refresh-modal-backdrop{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.refresh-modal{background:#fff;padding:24px;max-width:520px;width:90%;box-shadow:0 8px 24px #0003;border-radius:4px;text-align:center}.refresh-modal .govuk-button{margin-top:12px}\n"] }]
|
|
38349
38375
|
}], null, { error: [{
|
|
38350
38376
|
type: Input
|
|
38351
38377
|
}] }); })();
|
|
@@ -41282,33 +41308,22 @@ class DialogsModule {
|
|
|
41282
41308
|
|
|
41283
41309
|
const _c0$c = ["tabGroup"];
|
|
41284
41310
|
const _c1$3 = (a0, a1) => [a0, false, undefined, true, a1];
|
|
41285
|
-
function
|
|
41286
|
-
i0.ɵɵ
|
|
41287
|
-
i0.ɵɵtext(
|
|
41288
|
-
i0.ɵɵpipe(
|
|
41289
|
-
i0.ɵɵ
|
|
41290
|
-
i0.ɵɵelementStart(4, "div", 14)(5, "p", 15);
|
|
41291
|
-
i0.ɵɵtext(6);
|
|
41292
|
-
i0.ɵɵpipe(7, "rpxTranslate");
|
|
41293
|
-
i0.ɵɵelementEnd();
|
|
41294
|
-
i0.ɵɵelementStart(8, "p", 15)(9, "a", 16);
|
|
41295
|
-
i0.ɵɵtext(10);
|
|
41296
|
-
i0.ɵɵpipe(11, "rpxTranslate");
|
|
41297
|
-
i0.ɵɵelementEnd();
|
|
41298
|
-
i0.ɵɵtext(12);
|
|
41299
|
-
i0.ɵɵpipe(13, "rpxTranslate");
|
|
41300
|
-
i0.ɵɵelementEnd()()();
|
|
41311
|
+
function CaseFullAccessViewComponent_div_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
41312
|
+
i0.ɵɵelementContainerStart(0);
|
|
41313
|
+
i0.ɵɵtext(1);
|
|
41314
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
41315
|
+
i0.ɵɵelementContainerEnd();
|
|
41301
41316
|
} if (rf & 2) {
|
|
41302
|
-
i0.ɵɵadvance(
|
|
41303
|
-
i0.ɵɵ
|
|
41304
|
-
|
|
41305
|
-
|
|
41306
|
-
i0.ɵɵ
|
|
41307
|
-
i0.ɵɵ
|
|
41308
|
-
|
|
41309
|
-
i0.ɵɵ
|
|
41317
|
+
i0.ɵɵadvance();
|
|
41318
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "The callback data failed validation"));
|
|
41319
|
+
} }
|
|
41320
|
+
function CaseFullAccessViewComponent_div_0_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
41321
|
+
i0.ɵɵtext(0);
|
|
41322
|
+
i0.ɵɵpipe(1, "rpxTranslate");
|
|
41323
|
+
} if (rf & 2) {
|
|
41324
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, "Something went wrong"));
|
|
41310
41325
|
} }
|
|
41311
|
-
function
|
|
41326
|
+
function CaseFullAccessViewComponent_div_0_ng_container_6_ul_4_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
41312
41327
|
i0.ɵɵelementStart(0, "li");
|
|
41313
41328
|
i0.ɵɵtext(1);
|
|
41314
41329
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -41318,37 +41333,68 @@ function CaseFullAccessViewComponent_div_1_ul_8_li_1_Template(rf, ctx) { if (rf
|
|
|
41318
41333
|
i0.ɵɵadvance();
|
|
41319
41334
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, fieldError_r1.message), " ");
|
|
41320
41335
|
} }
|
|
41321
|
-
function
|
|
41322
|
-
i0.ɵɵelementStart(0, "ul",
|
|
41323
|
-
i0.ɵɵtemplate(1,
|
|
41336
|
+
function CaseFullAccessViewComponent_div_0_ng_container_6_ul_4_Template(rf, ctx) { if (rf & 1) {
|
|
41337
|
+
i0.ɵɵelementStart(0, "ul", 20);
|
|
41338
|
+
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_div_0_ng_container_6_ul_4_li_1_Template, 3, 3, "li", 21);
|
|
41324
41339
|
i0.ɵɵelementEnd();
|
|
41325
41340
|
} if (rf & 2) {
|
|
41326
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
41341
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
41327
41342
|
i0.ɵɵadvance();
|
|
41328
41343
|
i0.ɵɵproperty("ngForOf", ctx_r1.error.details.field_errors);
|
|
41329
41344
|
} }
|
|
41330
|
-
function
|
|
41331
|
-
i0.ɵɵ
|
|
41345
|
+
function CaseFullAccessViewComponent_div_0_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
41346
|
+
i0.ɵɵelementContainerStart(0);
|
|
41347
|
+
i0.ɵɵelementStart(1, "p", 18);
|
|
41332
41348
|
i0.ɵɵtext(2);
|
|
41333
41349
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
41334
41350
|
i0.ɵɵelementEnd();
|
|
41335
|
-
i0.ɵɵ
|
|
41336
|
-
i0.ɵɵ
|
|
41337
|
-
|
|
41351
|
+
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_div_0_ng_container_6_ul_4_Template, 2, 1, "ul", 19);
|
|
41352
|
+
i0.ɵɵelementContainerEnd();
|
|
41353
|
+
} if (rf & 2) {
|
|
41354
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
41355
|
+
i0.ɵɵadvance(2);
|
|
41356
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, ctx_r1.error.message));
|
|
41357
|
+
i0.ɵɵadvance(2);
|
|
41358
|
+
i0.ɵɵproperty("ngIf", ctx_r1.error.details == null ? null : ctx_r1.error.details.field_errors);
|
|
41359
|
+
} }
|
|
41360
|
+
function CaseFullAccessViewComponent_div_0_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
41361
|
+
i0.ɵɵelementStart(0, "p", 18);
|
|
41362
|
+
i0.ɵɵtext(1);
|
|
41363
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
41364
|
+
i0.ɵɵelementEnd();
|
|
41365
|
+
i0.ɵɵelementStart(3, "p", 18)(4, "a", 22);
|
|
41366
|
+
i0.ɵɵtext(5);
|
|
41367
|
+
i0.ɵɵpipe(6, "rpxTranslate");
|
|
41368
|
+
i0.ɵɵelementEnd();
|
|
41369
|
+
i0.ɵɵtext(7);
|
|
41370
|
+
i0.ɵɵpipe(8, "rpxTranslate");
|
|
41371
|
+
i0.ɵɵelementEnd();
|
|
41372
|
+
} if (rf & 2) {
|
|
41373
|
+
i0.ɵɵadvance();
|
|
41374
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 3, "We're working to fix the problem. Try again shortly."));
|
|
41375
|
+
i0.ɵɵadvance(4);
|
|
41376
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, "Contact us"));
|
|
41377
|
+
i0.ɵɵadvance(2);
|
|
41378
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 7, "if you're still having problems."), " ");
|
|
41379
|
+
} }
|
|
41380
|
+
function CaseFullAccessViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
41381
|
+
i0.ɵɵelementStart(0, "div", 14)(1, "h2", 15);
|
|
41382
|
+
i0.ɵɵtemplate(2, CaseFullAccessViewComponent_div_0_ng_container_2_Template, 3, 3, "ng-container", 16)(3, CaseFullAccessViewComponent_div_0_ng_template_3_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
41338
41383
|
i0.ɵɵelementEnd();
|
|
41339
|
-
i0.ɵɵ
|
|
41384
|
+
i0.ɵɵelementStart(5, "div", 17);
|
|
41385
|
+
i0.ɵɵtemplate(6, CaseFullAccessViewComponent_div_0_ng_container_6_Template, 5, 4, "ng-container", 16)(7, CaseFullAccessViewComponent_div_0_ng_template_7_Template, 9, 9, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
41340
41386
|
i0.ɵɵelementEnd()();
|
|
41341
41387
|
} if (rf & 2) {
|
|
41388
|
+
const genericErrorTitle_r3 = i0.ɵɵreference(4);
|
|
41389
|
+
const genericErrorBody_r4 = i0.ɵɵreference(8);
|
|
41342
41390
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
41343
41391
|
i0.ɵɵadvance(2);
|
|
41344
|
-
i0.ɵɵ
|
|
41392
|
+
i0.ɵɵproperty("ngIf", ctx_r1.error.details)("ngIfElse", genericErrorTitle_r3);
|
|
41345
41393
|
i0.ɵɵadvance(4);
|
|
41346
|
-
i0.ɵɵ
|
|
41347
|
-
i0.ɵɵadvance(2);
|
|
41348
|
-
i0.ɵɵproperty("ngIf", ctx_r1.error.details == null ? null : ctx_r1.error.details.field_errors);
|
|
41394
|
+
i0.ɵɵproperty("ngIf", ctx_r1.error.details)("ngIfElse", genericErrorBody_r4);
|
|
41349
41395
|
} }
|
|
41350
|
-
function
|
|
41351
|
-
i0.ɵɵelementStart(0, "div",
|
|
41396
|
+
function CaseFullAccessViewComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
41397
|
+
i0.ɵɵelementStart(0, "div", 23)(1, "a", 24);
|
|
41352
41398
|
i0.ɵɵtext(2);
|
|
41353
41399
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
41354
41400
|
i0.ɵɵelementEnd()();
|
|
@@ -41356,174 +41402,174 @@ function CaseFullAccessViewComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
41356
41402
|
i0.ɵɵadvance(2);
|
|
41357
41403
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Print"));
|
|
41358
41404
|
} }
|
|
41359
|
-
function
|
|
41360
|
-
const
|
|
41361
|
-
i0.ɵɵelementStart(0, "div",
|
|
41362
|
-
i0.ɵɵlistener("onTriggerChange", function
|
|
41405
|
+
function CaseFullAccessViewComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
41406
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
41407
|
+
i0.ɵɵelementStart(0, "div", 7)(1, "ccd-event-trigger", 25);
|
|
41408
|
+
i0.ɵɵlistener("onTriggerChange", function CaseFullAccessViewComponent_div_7_Template_ccd_event_trigger_onTriggerChange_1_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.clearErrorsAndWarnings()); })("onTriggerSubmit", function CaseFullAccessViewComponent_div_7_Template_ccd_event_trigger_onTriggerSubmit_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.applyTrigger($event)); });
|
|
41363
41409
|
i0.ɵɵelementEnd()();
|
|
41364
41410
|
} if (rf & 2) {
|
|
41365
41411
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
41366
41412
|
i0.ɵɵadvance();
|
|
41367
41413
|
i0.ɵɵproperty("isDisabled", ctx_r1.isTriggerButtonDisabled())("triggers", ctx_r1.caseDetails.triggers)("triggerText", ctx_r1.triggerText)("eventId", ctx_r1.eventId);
|
|
41368
41414
|
} }
|
|
41369
|
-
function
|
|
41370
|
-
const
|
|
41371
|
-
i0.ɵɵelementStart(0, "div",
|
|
41372
|
-
i0.ɵɵlistener("linkClicked", function
|
|
41415
|
+
function CaseFullAccessViewComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
41416
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
41417
|
+
i0.ɵɵelementStart(0, "div", 6)(1, "div", 12)(2, "ccd-notification-banner", 26);
|
|
41418
|
+
i0.ɵɵlistener("linkClicked", function CaseFullAccessViewComponent_div_8_Template_ccd_notification_banner_linkClicked_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onLinkClicked($event)); });
|
|
41373
41419
|
i0.ɵɵelementEnd()()();
|
|
41374
41420
|
} if (rf & 2) {
|
|
41375
41421
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
41376
41422
|
i0.ɵɵadvance(2);
|
|
41377
41423
|
i0.ɵɵproperty("notificationBannerConfig", ctx_r1.notificationBannerConfig);
|
|
41378
41424
|
} }
|
|
41379
|
-
function
|
|
41425
|
+
function CaseFullAccessViewComponent_ng_container_11_mat_tab_3_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
41380
41426
|
i0.ɵɵelementContainerStart(0);
|
|
41381
41427
|
i0.ɵɵelement(1, "exui-tasks-ce");
|
|
41382
41428
|
i0.ɵɵelementContainerEnd();
|
|
41383
41429
|
} }
|
|
41384
|
-
function
|
|
41430
|
+
function CaseFullAccessViewComponent_ng_container_11_mat_tab_3_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
41385
41431
|
i0.ɵɵelementContainerStart(0);
|
|
41386
41432
|
i0.ɵɵelement(1, "exui-roles-and-access-ce");
|
|
41387
41433
|
i0.ɵɵelementContainerEnd();
|
|
41388
41434
|
} }
|
|
41389
|
-
function
|
|
41390
|
-
i0.ɵɵtemplate(0,
|
|
41435
|
+
function CaseFullAccessViewComponent_ng_container_11_mat_tab_3_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
41436
|
+
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_ng_container_11_mat_tab_3_ng_template_2_ng_container_0_Template, 2, 0, "ng-container", 13)(1, CaseFullAccessViewComponent_ng_container_11_mat_tab_3_ng_template_2_ng_container_1_Template, 2, 0, "ng-container", 13);
|
|
41391
41437
|
} if (rf & 2) {
|
|
41392
|
-
const
|
|
41393
|
-
i0.ɵɵproperty("ngIf",
|
|
41438
|
+
const tab_r8 = i0.ɵɵnextContext().$implicit;
|
|
41439
|
+
i0.ɵɵproperty("ngIf", tab_r8.id === "tasks");
|
|
41394
41440
|
i0.ɵɵadvance();
|
|
41395
|
-
i0.ɵɵproperty("ngIf",
|
|
41441
|
+
i0.ɵɵproperty("ngIf", tab_r8.id === "roles-and-access");
|
|
41396
41442
|
} }
|
|
41397
|
-
function
|
|
41398
|
-
i0.ɵɵelementStart(0, "mat-tab",
|
|
41443
|
+
function CaseFullAccessViewComponent_ng_container_11_mat_tab_3_Template(rf, ctx) { if (rf & 1) {
|
|
41444
|
+
i0.ɵɵelementStart(0, "mat-tab", 30);
|
|
41399
41445
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
41400
|
-
i0.ɵɵtemplate(2,
|
|
41446
|
+
i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_11_mat_tab_3_ng_template_2_Template, 2, 2, "ng-template", 31);
|
|
41401
41447
|
i0.ɵɵelementEnd();
|
|
41402
41448
|
} if (rf & 2) {
|
|
41403
|
-
const
|
|
41404
|
-
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 2,
|
|
41405
|
-
i0.ɵɵattribute("data-case-tab-id",
|
|
41449
|
+
const tab_r8 = ctx.$implicit;
|
|
41450
|
+
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 2, tab_r8.label));
|
|
41451
|
+
i0.ɵɵattribute("data-case-tab-id", tab_r8.id);
|
|
41406
41452
|
} }
|
|
41407
|
-
function
|
|
41408
|
-
i0.ɵɵelementStart(0, "th",
|
|
41453
|
+
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
41454
|
+
i0.ɵɵelementStart(0, "th", 41)(1, "div", 42);
|
|
41409
41455
|
i0.ɵɵtext(2);
|
|
41410
41456
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
41411
41457
|
i0.ɵɵelementEnd()();
|
|
41412
41458
|
} if (rf & 2) {
|
|
41413
|
-
const
|
|
41414
|
-
i0.ɵɵproperty("id", "case-viewer-field-label--" +
|
|
41459
|
+
const field_r9 = i0.ɵɵnextContext(2).$implicit;
|
|
41460
|
+
i0.ɵɵproperty("id", "case-viewer-field-label--" + field_r9.id);
|
|
41415
41461
|
i0.ɵɵadvance(2);
|
|
41416
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2,
|
|
41462
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, field_r9.label));
|
|
41417
41463
|
} }
|
|
41418
|
-
function
|
|
41464
|
+
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template(rf, ctx) { if (rf & 1) {
|
|
41419
41465
|
i0.ɵɵelementStart(0, "tr");
|
|
41420
|
-
i0.ɵɵtemplate(1,
|
|
41421
|
-
i0.ɵɵelementStart(2, "td",
|
|
41422
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
41466
|
+
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template, 4, 4, "th", 37);
|
|
41467
|
+
i0.ɵɵelementStart(2, "td", 38)(3, "span", 39);
|
|
41468
|
+
i0.ɵɵelement(4, "ccd-field-read", 40);
|
|
41423
41469
|
i0.ɵɵelementEnd()()();
|
|
41424
41470
|
} if (rf & 2) {
|
|
41425
|
-
const
|
|
41471
|
+
const field_r9 = i0.ɵɵnextContext().$implicit;
|
|
41426
41472
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
41427
41473
|
i0.ɵɵadvance();
|
|
41428
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.isFieldToHaveNoLabel(
|
|
41474
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.isFieldToHaveNoLabel(field_r9) && field_r9.label);
|
|
41429
41475
|
i0.ɵɵadvance();
|
|
41430
|
-
i0.ɵɵproperty("id", "case-viewer-field-read--" +
|
|
41476
|
+
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r9.id);
|
|
41431
41477
|
i0.ɵɵadvance(2);
|
|
41432
|
-
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField",
|
|
41478
|
+
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r9)("caseReference", ctx_r1.caseDetails.case_id);
|
|
41433
41479
|
} }
|
|
41434
|
-
function
|
|
41435
|
-
i0.ɵɵelementStart(0, "tr",
|
|
41480
|
+
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template(rf, ctx) { if (rf & 1) {
|
|
41481
|
+
i0.ɵɵelementStart(0, "tr", 43)(1, "td", 44);
|
|
41436
41482
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
41437
|
-
i0.ɵɵelementStart(3, "span",
|
|
41438
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
41483
|
+
i0.ɵɵelementStart(3, "span", 39);
|
|
41484
|
+
i0.ɵɵelement(4, "ccd-field-read", 40);
|
|
41439
41485
|
i0.ɵɵelementEnd()()();
|
|
41440
41486
|
} if (rf & 2) {
|
|
41441
|
-
const
|
|
41487
|
+
const field_r9 = i0.ɵɵnextContext().$implicit;
|
|
41442
41488
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
41443
41489
|
i0.ɵɵadvance();
|
|
41444
|
-
i0.ɵɵproperty("id", "case-viewer-field-read--" +
|
|
41445
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 6,
|
|
41490
|
+
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r9.id);
|
|
41491
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 6, field_r9.label || field_r9.id));
|
|
41446
41492
|
i0.ɵɵadvance(3);
|
|
41447
|
-
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField",
|
|
41493
|
+
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r9)("caseReference", ctx_r1.caseDetails.case_id);
|
|
41448
41494
|
} }
|
|
41449
|
-
function
|
|
41495
|
+
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
41450
41496
|
i0.ɵɵelementContainerStart(0);
|
|
41451
|
-
i0.ɵɵelementStart(1, "div",
|
|
41452
|
-
i0.ɵɵelementContainerStart(2,
|
|
41497
|
+
i0.ɵɵelementStart(1, "div", 33);
|
|
41498
|
+
i0.ɵɵelementContainerStart(2, 34);
|
|
41453
41499
|
i0.ɵɵpipe(3, "ccdIsCompound");
|
|
41454
|
-
i0.ɵɵtemplate(4,
|
|
41500
|
+
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template, 5, 6, "tr", 35)(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template, 5, 8, "tr", 36);
|
|
41455
41501
|
i0.ɵɵelementContainerEnd();
|
|
41456
41502
|
i0.ɵɵelementEnd();
|
|
41457
41503
|
i0.ɵɵelementContainerEnd();
|
|
41458
41504
|
} if (rf & 2) {
|
|
41459
|
-
const
|
|
41505
|
+
const field_r9 = ctx.$implicit;
|
|
41460
41506
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
41461
41507
|
i0.ɵɵadvance();
|
|
41462
|
-
i0.ɵɵproperty("caseField",
|
|
41508
|
+
i0.ɵɵproperty("caseField", field_r9)("contextFields", ctx_r1.caseFields)("hidden", field_r9.hidden);
|
|
41463
41509
|
i0.ɵɵadvance();
|
|
41464
|
-
i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 6,
|
|
41510
|
+
i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 6, field_r9));
|
|
41465
41511
|
i0.ɵɵadvance(2);
|
|
41466
41512
|
i0.ɵɵproperty("ngSwitchCase", true);
|
|
41467
41513
|
i0.ɵɵadvance();
|
|
41468
41514
|
i0.ɵɵproperty("ngSwitchCase", false);
|
|
41469
41515
|
} }
|
|
41470
|
-
function
|
|
41516
|
+
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
41471
41517
|
i0.ɵɵelementStart(0, "table");
|
|
41472
41518
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
41473
41519
|
i0.ɵɵelementStart(2, "tbody");
|
|
41474
|
-
i0.ɵɵtemplate(3,
|
|
41520
|
+
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_ng_container_3_Template, 6, 8, "ng-container", 21);
|
|
41475
41521
|
i0.ɵɵpipe(4, "ccdTabFields");
|
|
41476
41522
|
i0.ɵɵpipe(5, "ccdReadFieldsFilter");
|
|
41477
41523
|
i0.ɵɵelementEnd()();
|
|
41478
41524
|
} if (rf & 2) {
|
|
41479
|
-
const
|
|
41525
|
+
const tab_r10 = i0.ɵɵnextContext().$implicit;
|
|
41480
41526
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
41481
|
-
i0.ɵɵclassMap(
|
|
41527
|
+
i0.ɵɵclassMap(tab_r10.id);
|
|
41482
41528
|
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 4, "case viewer table"));
|
|
41483
41529
|
i0.ɵɵadvance(3);
|
|
41484
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(5, 8, i0.ɵɵpureFunction2(14, _c1$3, i0.ɵɵpipeBind1(4, 6,
|
|
41530
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(5, 8, i0.ɵɵpureFunction2(14, _c1$3, i0.ɵɵpipeBind1(4, 6, tab_r10), ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])));
|
|
41485
41531
|
} }
|
|
41486
|
-
function
|
|
41487
|
-
i0.ɵɵelementStart(0, "mat-tab",
|
|
41532
|
+
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_Template(rf, ctx) { if (rf & 1) {
|
|
41533
|
+
i0.ɵɵelementStart(0, "mat-tab", 32);
|
|
41488
41534
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
41489
41535
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
41490
|
-
i0.ɵɵtemplate(3,
|
|
41536
|
+
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_Template, 6, 17, "ng-template", 31);
|
|
41491
41537
|
i0.ɵɵelementEnd();
|
|
41492
41538
|
} if (rf & 2) {
|
|
41493
|
-
const
|
|
41494
|
-
const
|
|
41495
|
-
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 3,
|
|
41496
|
-
i0.ɵɵariaProperty("aria-label",
|
|
41497
|
-
i0.ɵɵattribute("data-case-tab-id",
|
|
41539
|
+
const tab_r10 = ctx.$implicit;
|
|
41540
|
+
const curIdx_r11 = ctx.index;
|
|
41541
|
+
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 3, tab_r10.label));
|
|
41542
|
+
i0.ɵɵariaProperty("aria-label", curIdx_r11 === 0 ? tab_r10.label + ", Please use left and right arrow keys to navigate case tabs" : i0.ɵɵpipeBind1(2, 5, ""));
|
|
41543
|
+
i0.ɵɵattribute("data-case-tab-id", tab_r10.id);
|
|
41498
41544
|
} }
|
|
41499
|
-
function
|
|
41545
|
+
function CaseFullAccessViewComponent_ng_container_11_mat_tab_5_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
41500
41546
|
i0.ɵɵelementContainerStart(0);
|
|
41501
41547
|
i0.ɵɵelement(1, "exui-case-hearings-ce");
|
|
41502
41548
|
i0.ɵɵelementContainerEnd();
|
|
41503
41549
|
} }
|
|
41504
|
-
function
|
|
41505
|
-
i0.ɵɵtemplate(0,
|
|
41550
|
+
function CaseFullAccessViewComponent_ng_container_11_mat_tab_5_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
41551
|
+
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_ng_container_11_mat_tab_5_ng_template_2_ng_container_0_Template, 2, 0, "ng-container", 13);
|
|
41506
41552
|
} if (rf & 2) {
|
|
41507
|
-
const
|
|
41508
|
-
i0.ɵɵproperty("ngIf",
|
|
41553
|
+
const tab_r12 = i0.ɵɵnextContext().$implicit;
|
|
41554
|
+
i0.ɵɵproperty("ngIf", tab_r12.id === "hearings");
|
|
41509
41555
|
} }
|
|
41510
|
-
function
|
|
41511
|
-
i0.ɵɵelementStart(0, "mat-tab",
|
|
41556
|
+
function CaseFullAccessViewComponent_ng_container_11_mat_tab_5_Template(rf, ctx) { if (rf & 1) {
|
|
41557
|
+
i0.ɵɵelementStart(0, "mat-tab", 30);
|
|
41512
41558
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
41513
|
-
i0.ɵɵtemplate(2,
|
|
41559
|
+
i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_11_mat_tab_5_ng_template_2_Template, 1, 1, "ng-template", 31);
|
|
41514
41560
|
i0.ɵɵelementEnd();
|
|
41515
41561
|
} if (rf & 2) {
|
|
41516
|
-
const
|
|
41517
|
-
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 2,
|
|
41518
|
-
i0.ɵɵattribute("data-case-tab-id",
|
|
41562
|
+
const tab_r12 = ctx.$implicit;
|
|
41563
|
+
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 2, tab_r12.label));
|
|
41564
|
+
i0.ɵɵattribute("data-case-tab-id", tab_r12.id);
|
|
41519
41565
|
} }
|
|
41520
|
-
function
|
|
41521
|
-
const
|
|
41566
|
+
function CaseFullAccessViewComponent_ng_container_11_Template(rf, ctx) { if (rf & 1) {
|
|
41567
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
41522
41568
|
i0.ɵɵelementContainerStart(0);
|
|
41523
|
-
i0.ɵɵelementStart(1, "mat-tab-group",
|
|
41524
|
-
i0.ɵɵlistener("selectedIndexChange", function
|
|
41525
|
-
i0.ɵɵtwoWayListener("selectedIndexChange", function
|
|
41526
|
-
i0.ɵɵtemplate(3,
|
|
41569
|
+
i0.ɵɵelementStart(1, "mat-tab-group", 27, 2);
|
|
41570
|
+
i0.ɵɵlistener("selectedIndexChange", function CaseFullAccessViewComponent_ng_container_11_Template_mat_tab_group_selectedIndexChange_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.tabChanged($event)); });
|
|
41571
|
+
i0.ɵɵtwoWayListener("selectedIndexChange", function CaseFullAccessViewComponent_ng_container_11_Template_mat_tab_group_selectedIndexChange_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.selectedTabIndex, $event) || (ctx_r1.selectedTabIndex = $event); return i0.ɵɵresetView($event); });
|
|
41572
|
+
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_11_mat_tab_3_Template, 3, 4, "mat-tab", 28)(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_Template, 4, 7, "mat-tab", 29)(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_5_Template, 3, 4, "mat-tab", 28);
|
|
41527
41573
|
i0.ɵɵelementEnd();
|
|
41528
41574
|
i0.ɵɵelementContainerEnd();
|
|
41529
41575
|
} if (rf & 2) {
|
|
@@ -41999,26 +42045,24 @@ class CaseFullAccessViewComponent {
|
|
|
41999
42045
|
} if (rf & 2) {
|
|
42000
42046
|
let _t;
|
|
42001
42047
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
42002
|
-
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls:
|
|
42003
|
-
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template,
|
|
42004
|
-
i0.ɵɵelementStart(
|
|
42005
|
-
i0.ɵɵlistener("callbackErrorsContext", function
|
|
42048
|
+
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 12, vars: 11, consts: [["genericErrorTitle", ""], ["genericErrorBody", ""], ["tabGroup", ""], ["id", "case-full-access-error-summary", "class", "govuk-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"], ["id", "case-full-access-error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "govuk-error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "govuk-error-summary__title"], [4, "ngIf", "ngIfElse"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], [1, "govuk-body"], ["class", "govuk-list govuk-error-summary__list", 4, "ngIf"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["href", "get-help", "target", "_blank"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "govuk-button", "govuk-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", 4, "ngFor", "ngForOf"], [3, "label"], ["matTabContent", ""], [3, "label", "aria-label"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["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) {
|
|
42049
|
+
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 9, 4, "div", 3);
|
|
42050
|
+
i0.ɵɵelementStart(1, "ccd-callback-errors", 4);
|
|
42051
|
+
i0.ɵɵlistener("callbackErrorsContext", function CaseFullAccessViewComponent_Template_ccd_callback_errors_callbackErrorsContext_1_listener($event) { return ctx.callbackErrorsNotify($event); });
|
|
42006
42052
|
i0.ɵɵelementEnd();
|
|
42007
|
-
i0.ɵɵelement(
|
|
42008
|
-
i0.ɵɵelementStart(
|
|
42009
|
-
i0.ɵɵelement(
|
|
42010
|
-
i0.ɵɵtemplate(
|
|
42053
|
+
i0.ɵɵelement(2, "ccd-activity", 5);
|
|
42054
|
+
i0.ɵɵelementStart(3, "div", 6)(4, "div", 7);
|
|
42055
|
+
i0.ɵɵelement(5, "ccd-case-header", 8);
|
|
42056
|
+
i0.ɵɵtemplate(6, CaseFullAccessViewComponent_div_6_Template, 4, 3, "div", 9);
|
|
42011
42057
|
i0.ɵɵelementEnd();
|
|
42012
|
-
i0.ɵɵtemplate(
|
|
42058
|
+
i0.ɵɵtemplate(7, CaseFullAccessViewComponent_div_7_Template, 2, 4, "div", 10);
|
|
42013
42059
|
i0.ɵɵelementEnd();
|
|
42014
|
-
i0.ɵɵtemplate(
|
|
42015
|
-
i0.ɵɵelementStart(
|
|
42016
|
-
i0.ɵɵtemplate(
|
|
42060
|
+
i0.ɵɵtemplate(8, CaseFullAccessViewComponent_div_8_Template, 3, 1, "div", 11);
|
|
42061
|
+
i0.ɵɵelementStart(9, "div", 6)(10, "div", 12);
|
|
42062
|
+
i0.ɵɵtemplate(11, CaseFullAccessViewComponent_ng_container_11_Template, 6, 6, "ng-container", 13);
|
|
42017
42063
|
i0.ɵɵelementEnd()();
|
|
42018
42064
|
} if (rf & 2) {
|
|
42019
|
-
i0.ɵɵproperty("ngIf", ctx.error &&
|
|
42020
|
-
i0.ɵɵadvance();
|
|
42021
|
-
i0.ɵɵproperty("ngIf", ctx.error && ctx.error.details);
|
|
42065
|
+
i0.ɵɵproperty("ngIf", ctx.error && (ctx.error.details || !(ctx.error.callbackErrors || ctx.error.callbackWarnings)));
|
|
42022
42066
|
i0.ɵɵadvance();
|
|
42023
42067
|
i0.ɵɵproperty("triggerTextContinue", ctx.triggerTextStart)("triggerTextIgnore", ctx.triggerTextIgnoreWarnings)("callbackErrorsSubject", ctx.callbackErrorsSubject);
|
|
42024
42068
|
i0.ɵɵadvance();
|
|
@@ -42037,7 +42081,7 @@ class CaseFullAccessViewComponent {
|
|
|
42037
42081
|
}
|
|
42038
42082
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
|
|
42039
42083
|
type: Component,
|
|
42040
|
-
args: [{ selector: 'ccd-case-full-access-view', standalone: false, template: "
|
|
42084
|
+
args: [{ selector: 'ccd-case-full-access-view', standalone: false, template: "<div *ngIf=\"error && (error.details || !(error.callbackErrors || error.callbackWarnings))\"\n id=\"case-full-access-error-summary\" class=\"govuk-error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"govuk-error-summary__title\" id=\"edit-case-event_error-summary-heading\">\n <ng-container *ngIf=\"error.details; else genericErrorTitle\">{{'The callback data failed validation' | rpxTranslate}}</ng-container>\n <ng-template #genericErrorTitle>{{'Something went wrong' | rpxTranslate}}</ng-template>\n </h2>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <ng-container *ngIf=\"error.details; else genericErrorBody\">\n <p class=\"govuk-body\">{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n </ng-container>\n <ng-template #genericErrorBody>\n <p class=\"govuk-body\">{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p class=\"govuk-body\">\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </ng-template>\n </div>\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=\"govuk-button govuk-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 tab of prependedTabs\" [attr.data-case-tab-id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container *ngIf=\"tab.id === 'tasks'\">\n <exui-tasks-ce></exui-tasks-ce>\n </ng-container>\n <ng-container *ngIf=\"tab.id === 'roles-and-access'\">\n <exui-roles-and-access-ce></exui-roles-and-access-ce>\n </ng-container>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of sortedTabs; let curIdx=index\" [attr.data-case-tab-id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\" [aria-label]=\"curIdx === 0 ? tab.label + ', Please use left and right arrow keys to navigate case tabs' : '' | rpxTranslate\">\n <ng-template matTabContent>\n <table [class]=\"tab.id\" [attr.aria-label]=\"'case viewer table' | rpxTranslate\">\n <tbody>\n <ng-container *ngFor=\"let field of 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-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of appendedTabs\" [attr.data-case-tab-id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container *ngIf=\"tab.id === 'hearings'\">\n <exui-case-hearings-ce></exui-case-hearings-ce>\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"] }]
|
|
42041
42085
|
}], () => [{ 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: [{
|
|
42042
42086
|
type: Input
|
|
42043
42087
|
}], hasEventSelector: [{
|