@hmcts/ccd-case-ui-toolkit 7.4.28-angular-22 → 7.4.28-angular-22.0
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.
|
@@ -2084,7 +2084,7 @@ function NotificationBannerComponent_Conditional_0_Conditional_12_Template(rf, c
|
|
|
2084
2084
|
}
|
|
2085
2085
|
function NotificationBannerComponent_Conditional_0_Template(rf, ctx) {
|
|
2086
2086
|
if (rf & 1) {
|
|
2087
|
-
i0.ɵɵelementStart(0, "
|
|
2087
|
+
i0.ɵɵelementStart(0, "section", 0)(1, "div", 1)(2, "h2", 2);
|
|
2088
2088
|
i0.ɵɵtext(3);
|
|
2089
2089
|
i0.ɵɵelementEnd()();
|
|
2090
2090
|
i0.ɵɵelementStart(4, "div", 3)(5, "p", 4);
|
|
@@ -2132,8 +2132,6 @@ var NotificationBannerComponent = class NotificationBannerComponent {
|
|
|
2132
2132
|
vars: 1,
|
|
2133
2133
|
consts: [
|
|
2134
2134
|
[
|
|
2135
|
-
"role",
|
|
2136
|
-
"region",
|
|
2137
2135
|
"aria-labelledby",
|
|
2138
2136
|
"govuk-notification-banner-title",
|
|
2139
2137
|
"data-module",
|
|
@@ -2195,7 +2193,7 @@ var NotificationBannerComponent = class NotificationBannerComponent {
|
|
|
2195
2193
|
]
|
|
2196
2194
|
],
|
|
2197
2195
|
template: function NotificationBannerComponent_Template(rf, ctx) {
|
|
2198
|
-
if (rf & 1) i0.ɵɵconditionalCreate(0, NotificationBannerComponent_Conditional_0_Template, 13, 6, "
|
|
2196
|
+
if (rf & 1) i0.ɵɵconditionalCreate(0, NotificationBannerComponent_Conditional_0_Template, 13, 6, "section", 0);
|
|
2199
2197
|
if (rf & 2) i0.ɵɵconditional(ctx.notificationBannerConfig ? 0 : -1);
|
|
2200
2198
|
},
|
|
2201
2199
|
dependencies: [i1$5.NgClass],
|
|
@@ -2210,7 +2208,7 @@ var NotificationBannerComponent = class NotificationBannerComponent {
|
|
|
2210
2208
|
selector: "ccd-notification-banner",
|
|
2211
2209
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
2212
2210
|
standalone: false,
|
|
2213
|
-
template: "@if (notificationBannerConfig) {\n <
|
|
2211
|
+
template: "@if (notificationBannerConfig) {\n <section\n class=\"govuk-notification-banner\"\n [ngClass]=\"notificationBannerConfig.headerClass\"\n aria-labelledby=\"govuk-notification-banner-title\"\n data-module=\"govuk-notification-banner\">\n <div class=\"govuk-notification-banner__header\">\n <h2 class=\"govuk-notification-banner__title\" id=\"govuk-notification-banner-title\">\n {{notificationBannerConfig.headingText}}\n </h2>\n </div>\n <div class=\"govuk-notification-banner__content\">\n <p class=\"govuk-notification-banner__heading\">\n @switch (notificationBannerConfig.bannerType) {\n @case (notificationBannerType.WARNING) {\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\n <path d=\"M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z\"></path>\n </svg>\n }\n @case (notificationBannerType.ERROR) {\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\n <path d=\"M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z\"></path>\n </svg>\n }\n @case (notificationBannerType.SUCCESS) {\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\n <path d=\"M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z\"></path>\n </svg>\n }\n @case (notificationBannerType.INFORMATION) {\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\n <path d=\"M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z\"></path>\n </svg>\n }\n }\n {{notificationBannerConfig.description}}\n @if (notificationBannerConfig.showLink && !notificationBannerConfig.triggerOutputEvent) {\n <a\n class=\"govuk-notification-banner__link\"\n href=\"{{notificationBannerConfig.linkUrl}}\">{{notificationBannerConfig.linkText}}</a>\n }\n @if (notificationBannerConfig.showLink && notificationBannerConfig.triggerOutputEvent) {\n <a\n class=\"govuk-notification-banner__link\"\n href=\"#\"\n (click)=\"onLinkClick(notificationBannerConfig.triggerOutputEventText); $event.preventDefault()\">{{notificationBannerConfig.linkText}}</a>\n }\n </p>\n </div>\n </section>\n}\n",
|
|
2214
2212
|
styles: [".govuk-notification-banner .govuk-notification-banner__content .govuk-notification-banner__heading{margin-left:0;max-width:fit-content}.govuk-notification-banner .govuk-notification-banner__content .govuk-notification-banner__heading .govuk-notification-banner__link{margin-left:10px}.notification-banner-information,.notification-banner-error{background-color:#d4351c;border:5px solid #d4351c}.notification-banner-warning{background-color:#912b88;border:5px solid #912b88}.notification-banner-success{background-color:#006435;border:5px solid #006435}\n"]
|
|
2215
2213
|
}]
|
|
2216
2214
|
}], null, {
|
|
@@ -27460,8 +27458,6 @@ var QueryCheckYourAnswersComponent = class QueryCheckYourAnswersComponent {
|
|
|
27460
27458
|
"govuk-error-summary"
|
|
27461
27459
|
],
|
|
27462
27460
|
[
|
|
27463
|
-
"role",
|
|
27464
|
-
"group",
|
|
27465
27461
|
"aria-labelledby",
|
|
27466
27462
|
"edit-case-event_error-summary-heading",
|
|
27467
27463
|
"tabindex",
|
|
@@ -27570,7 +27566,7 @@ var QueryCheckYourAnswersComponent = class QueryCheckYourAnswersComponent {
|
|
|
27570
27566
|
selector: "ccd-query-check-your-answers",
|
|
27571
27567
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
27572
27568
|
standalone: false,
|
|
27573
|
-
template: "@if (readyToSubmit) {\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds-from-desktop\">\n <!-- Error message summary -->\n @if (errorMessages.length > 0) {\n <div class=\"govuk-error-summary\"\n aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{ 'There is a problem' | rpxTranslate }}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n @for (errorMessage of errorMessages; track errorMessage) {\n <li>\n <a [id]=\"'error-' + errorMessage.fieldId\" href=\"#\" (click)=\"$event.preventDefault()\"\n class=\"validation-error\">{{ errorMessage.description | rpxTranslate }}</a>\n </li>\n }\n </ul>\n </div>\n </div>\n }\n @if (error && (error.details || error.message)) {\n <div class=\"error-summary\"
|
|
27569
|
+
template: "@if (readyToSubmit) {\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds-from-desktop\">\n <!-- Error message summary -->\n @if (errorMessages.length > 0) {\n <div class=\"govuk-error-summary\"\n aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{ 'There is a problem' | rpxTranslate }}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n @for (errorMessage of errorMessages; track errorMessage) {\n <li>\n <a [id]=\"'error-' + errorMessage.fieldId\" href=\"#\" (click)=\"$event.preventDefault()\"\n class=\"validation-error\">{{ errorMessage.description | rpxTranslate }}</a>\n </li>\n }\n </ul>\n </div>\n </div>\n }\n @if (error && (error.details || error.message)) {\n <div class=\"error-summary\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h3 class=\"heading-h3 error-summary-heading\" id=\"event_error-summary-heading\">\n The event could not be created\n </h3>\n <p>{{error.message}}</p>\n @if (error.details?.field_errors) {\n <ul class=\"error-summary-list\">\n @for (fieldError of error.details.field_errors; track fieldError) {\n <li class=\"ccd-error-summary-li\">{{fieldError.message}}</li>\n }\n </ul>\n }\n </div>\n }\n <ccd-callback-errors [callbackErrorsSubject]=\"callbackErrorsSubject\"></ccd-callback-errors>\n @if (queryCreateContext === queryCreateContextEnum.NEW_QUERY) {\n <div class=\"govuk-caption-l\">{{ 'Raise a query' | rpxTranslate }}</div>\n }\n <h1 class=\"govuk-heading-l\">\n @if (queryCreateContext === queryCreateContextEnum.RESPOND) {\n {{ 'Review query response details' | rpxTranslate }}\n } @else {\n {{ 'Review query details' | rpxTranslate }}\n }\n </h1>\n <div class=\"govuk-!-margin-bottom-4\">\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n @if (queryCreateContext !== queryCreateContextEnum.FOLLOWUP) {\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Submitted query' : 'Query subject' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? queryItem.subject : formGroup.get('subject')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n @if (queryCreateContext === queryCreateContextEnum.NEW_QUERY) {\n <button type=\"button\"\n class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n }\n </dd>\n </div>\n </dl>\n }\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Response detail' : 'Query detail' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('body')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n </dl>\n @if (queryCreateContext === queryCreateContextEnum.NEW_QUERY) {\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n @if (formGroup.get('isHearingRelated')?.value === true) {\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'Yes' }}\n } @else {\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'No' }}\n }\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n @if (formGroup.get('isHearingRelated')?.value) {\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY\n ? 'What is the date of the hearing?'\n : 'What is the date of the hearing your query is related to?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ $safeNavigationMigration(formGroup.get('hearingDate')?.value) | date: 'dd MMM yyyy' }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n }\n </dl>\n }\n @if (this.formGroup.get('attachments').value.length > 0) {\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY ? 'Upload a file to the query' : 'Document attached' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value govuk-summary-list__value--documentAttached\">\n @if (this.formGroup.get('attachments').value) {\n <ccd-query-attachments-read\n [attachments]=\"attachments\"\n >\n </ccd-query-attachments-read>\n }\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n </dl>\n }\n @if (queryCreateContext === queryCreateContextEnum.RESPOND) {\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ 'Closing the query' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('closeQuery')?.value ? 'I want to close this query' : 'No answer' | rpxTranslate }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n </dl>\n }\n <br>\n <div>\n <button class=\"govuk-button govuk-button--secondary govuk-!-margin-right-3\" data-module=\"govuk-button\"\n (click)=\"goBack()\">\n {{ 'Previous' | rpxTranslate }}\n </button>\n <button class=\"govuk-button\" data-module=\"govuk-button\" type=\"submit\" (click)=\"submit()\">\n {{ 'Submit' | rpxTranslate }}\n </button>\n </div>\n </div>\n <ccd-query-event-completion [eventCompletionParams]=\"eventCompletionParams\">\n </ccd-query-event-completion>\n </div>\n }\n",
|
|
27574
27570
|
styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}.govuk-summary-list__value--documentAttached{vertical-align:middle}\n"]
|
|
27575
27571
|
}]
|
|
27576
27572
|
}], () => [
|
|
@@ -36774,11 +36770,11 @@ function CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_2
|
|
|
36774
36770
|
if (rf & 1) {
|
|
36775
36771
|
i0.ɵɵelementStart(0, "div");
|
|
36776
36772
|
i0.ɵɵnamespaceSVG();
|
|
36777
|
-
i0.ɵɵelementStart(1, "svg",
|
|
36778
|
-
i0.ɵɵelement(2, "path",
|
|
36773
|
+
i0.ɵɵelementStart(1, "svg", 18);
|
|
36774
|
+
i0.ɵɵelement(2, "path", 19);
|
|
36779
36775
|
i0.ɵɵelementEnd();
|
|
36780
36776
|
i0.ɵɵnamespaceHTML();
|
|
36781
|
-
i0.ɵɵelementStart(3, "span",
|
|
36777
|
+
i0.ɵɵelementStart(3, "span", 20);
|
|
36782
36778
|
i0.ɵɵtext(4);
|
|
36783
36779
|
i0.ɵɵelementEnd()();
|
|
36784
36780
|
}
|
|
@@ -36803,7 +36799,7 @@ function CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_3
|
|
|
36803
36799
|
}
|
|
36804
36800
|
function CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_14_Template(rf, ctx) {
|
|
36805
36801
|
if (rf & 1) {
|
|
36806
|
-
i0.ɵɵelementStart(0, "div")(1, "span",
|
|
36802
|
+
i0.ɵɵelementStart(0, "div")(1, "span", 20);
|
|
36807
36803
|
i0.ɵɵtext(2);
|
|
36808
36804
|
i0.ɵɵelementEnd()();
|
|
36809
36805
|
}
|
|
@@ -36815,7 +36811,7 @@ function CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_1
|
|
|
36815
36811
|
}
|
|
36816
36812
|
function CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_22_Template(rf, ctx) {
|
|
36817
36813
|
if (rf & 1) {
|
|
36818
|
-
i0.ɵɵelementStart(0, "strong",
|
|
36814
|
+
i0.ɵɵelementStart(0, "strong", 14);
|
|
36819
36815
|
i0.ɵɵtext(1);
|
|
36820
36816
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
36821
36817
|
i0.ɵɵelementEnd();
|
|
@@ -36827,7 +36823,7 @@ function CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_2
|
|
|
36827
36823
|
}
|
|
36828
36824
|
function CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_23_Template(rf, ctx) {
|
|
36829
36825
|
if (rf & 1) {
|
|
36830
|
-
i0.ɵɵelementStart(0, "strong",
|
|
36826
|
+
i0.ɵɵelementStart(0, "strong", 15);
|
|
36831
36827
|
i0.ɵɵtext(1);
|
|
36832
36828
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
36833
36829
|
i0.ɵɵelementEnd();
|
|
@@ -36839,7 +36835,7 @@ function CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_2
|
|
|
36839
36835
|
}
|
|
36840
36836
|
function CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_24_Template(rf, ctx) {
|
|
36841
36837
|
if (rf & 1) {
|
|
36842
|
-
i0.ɵɵelementStart(0, "strong",
|
|
36838
|
+
i0.ɵɵelementStart(0, "strong", 16);
|
|
36843
36839
|
i0.ɵɵtext(1);
|
|
36844
36840
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
36845
36841
|
i0.ɵɵelementEnd();
|
|
@@ -36851,7 +36847,7 @@ function CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_2
|
|
|
36851
36847
|
}
|
|
36852
36848
|
function CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_25_Template(rf, ctx) {
|
|
36853
36849
|
if (rf & 1) {
|
|
36854
|
-
i0.ɵɵelementStart(0, "strong",
|
|
36850
|
+
i0.ɵɵelementStart(0, "strong", 17);
|
|
36855
36851
|
i0.ɵɵtext(1);
|
|
36856
36852
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
36857
36853
|
i0.ɵɵelementEnd();
|
|
@@ -36863,7 +36859,7 @@ function CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_2
|
|
|
36863
36859
|
}
|
|
36864
36860
|
function CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Template(rf, ctx) {
|
|
36865
36861
|
if (rf & 1) {
|
|
36866
|
-
i0.ɵɵelementStart(0, "tr",
|
|
36862
|
+
i0.ɵɵelementStart(0, "tr", 3)(1, "td", 11);
|
|
36867
36863
|
i0.ɵɵconditionalCreate(2, CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_2_Template, 5, 1, "div");
|
|
36868
36864
|
i0.ɵɵconditionalCreate(3, CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_3_Template, 3, 4, "div");
|
|
36869
36865
|
i0.ɵɵelementStart(4, "div");
|
|
@@ -36874,25 +36870,25 @@ function CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Template(rf,
|
|
|
36874
36870
|
i0.ɵɵtext(8);
|
|
36875
36871
|
i0.ɵɵpipe(9, "flagFieldDisplay");
|
|
36876
36872
|
i0.ɵɵelementEnd()();
|
|
36877
|
-
i0.ɵɵelementStart(10, "td",
|
|
36873
|
+
i0.ɵɵelementStart(10, "td", 11)(11, "div", 12);
|
|
36878
36874
|
i0.ɵɵtext(12);
|
|
36879
36875
|
i0.ɵɵpipe(13, "flagFieldDisplay");
|
|
36880
36876
|
i0.ɵɵelementEnd();
|
|
36881
36877
|
i0.ɵɵconditionalCreate(14, CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_14_Template, 3, 1, "div");
|
|
36882
36878
|
i0.ɵɵelementEnd();
|
|
36883
|
-
i0.ɵɵelementStart(15, "td",
|
|
36879
|
+
i0.ɵɵelementStart(15, "td", 11);
|
|
36884
36880
|
i0.ɵɵtext(16);
|
|
36885
36881
|
i0.ɵɵpipe(17, "date");
|
|
36886
36882
|
i0.ɵɵelementEnd();
|
|
36887
|
-
i0.ɵɵelementStart(18, "td",
|
|
36883
|
+
i0.ɵɵelementStart(18, "td", 11);
|
|
36888
36884
|
i0.ɵɵtext(19);
|
|
36889
36885
|
i0.ɵɵpipe(20, "date");
|
|
36890
36886
|
i0.ɵɵelementEnd();
|
|
36891
|
-
i0.ɵɵelementStart(21, "td",
|
|
36892
|
-
i0.ɵɵconditionalCreate(22, CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_22_Template, 3, 3, "strong",
|
|
36893
|
-
i0.ɵɵconditionalCreate(23, CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_23_Template, 3, 3, "strong",
|
|
36894
|
-
i0.ɵɵconditionalCreate(24, CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_24_Template, 3, 3, "strong",
|
|
36895
|
-
i0.ɵɵconditionalCreate(25, CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_25_Template, 3, 3, "strong",
|
|
36887
|
+
i0.ɵɵelementStart(21, "td", 13);
|
|
36888
|
+
i0.ɵɵconditionalCreate(22, CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_22_Template, 3, 3, "strong", 14);
|
|
36889
|
+
i0.ɵɵconditionalCreate(23, CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_23_Template, 3, 3, "strong", 15);
|
|
36890
|
+
i0.ɵɵconditionalCreate(24, CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_24_Template, 3, 3, "strong", 16);
|
|
36891
|
+
i0.ɵɵconditionalCreate(25, CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Conditional_25_Template, 3, 3, "strong", 17);
|
|
36896
36892
|
i0.ɵɵelementEnd()();
|
|
36897
36893
|
}
|
|
36898
36894
|
if (rf & 2) {
|
|
@@ -36929,7 +36925,7 @@ function CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Template(rf,
|
|
|
36929
36925
|
function CaseFlagTableComponent_Conditional_0_Conditional_20_Template(rf, ctx) {
|
|
36930
36926
|
if (rf & 1) {
|
|
36931
36927
|
i0.ɵɵelementStart(0, "tbody", 9);
|
|
36932
|
-
i0.ɵɵrepeaterCreate(1, CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Template, 26, 30, "tr",
|
|
36928
|
+
i0.ɵɵrepeaterCreate(1, CaseFlagTableComponent_Conditional_0_Conditional_20_For_2_Template, 26, 30, "tr", 3, i0.ɵɵrepeaterTrackByIdentity);
|
|
36933
36929
|
i0.ɵɵelementEnd();
|
|
36934
36930
|
}
|
|
36935
36931
|
if (rf & 2) {
|
|
@@ -37063,12 +37059,6 @@ var CaseFlagTableComponent = class CaseFlagTableComponent {
|
|
|
37063
37059
|
],
|
|
37064
37060
|
[1, "govuk-table__body"],
|
|
37065
37061
|
["colspan", "5"],
|
|
37066
|
-
[
|
|
37067
|
-
"scope",
|
|
37068
|
-
"row",
|
|
37069
|
-
1,
|
|
37070
|
-
"govuk-table__row"
|
|
37071
|
-
],
|
|
37072
37062
|
[1, "govuk-table__cell"],
|
|
37073
37063
|
[3, "ngClass"],
|
|
37074
37064
|
[
|
|
@@ -37134,7 +37124,7 @@ var CaseFlagTableComponent = class CaseFlagTableComponent {
|
|
|
37134
37124
|
selector: "ccd-case-flag-table",
|
|
37135
37125
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
37136
37126
|
standalone: false,
|
|
37137
|
-
template: "@if (flagData) {\n <table class=\"govuk-table\">\n @if (tableCaption) {\n <caption class=\"govuk-table__caption govuk-table__caption--l\">{{tableCaption}}</caption>\n }\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header col-party-name\">{{firstColumnHeader}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-comments\">{{'Comments' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-creation-date\">{{'Creation date' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-last-modified\">{{'Last modified' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-flag-status\">{{'Flag status' | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n @if (!flagData.flags.details || (flagData.flags.details && flagData.flags.details.length === 0)) {\n <tr>\n <td colspan=\"5\">{{'None' | rpxTranslate}}</td>\n </tr>\n }\n </tbody>\n @if (flagData.flags.details && flagData.flags.details.length > 0) {\n <tbody class=\"govuk-table__body\">\n @for (flagDetail of flagData.flags.details; track flagDetail) {\n <tr
|
|
37127
|
+
template: "@if (flagData) {\n <table class=\"govuk-table\">\n @if (tableCaption) {\n <caption class=\"govuk-table__caption govuk-table__caption--l\">{{tableCaption}}</caption>\n }\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header col-party-name\">{{firstColumnHeader}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-comments\">{{'Comments' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-creation-date\">{{'Creation date' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-last-modified\">{{'Last modified' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-flag-status\">{{'Flag status' | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n @if (!flagData.flags.details || (flagData.flags.details && flagData.flags.details.length === 0)) {\n <tr>\n <td colspan=\"5\">{{'None' | rpxTranslate}}</td>\n </tr>\n }\n </tbody>\n @if (flagData.flags.details && flagData.flags.details.length > 0) {\n <tbody class=\"govuk-table__body\">\n @for (flagDetail of flagData.flags.details; track flagDetail) {\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell\">\n @if (isActivePvpFlag(flagDetail)) {\n <div>\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" aria-hidden=\"true\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path d=\"M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z\"></path>\n </svg>\n <span class=\"govuk-!-font-weight-bold\">{{pvpDisplayText}}</span>\n </div>\n }\n @if (!isActivePvpFlag(flagDetail)) {\n <div>{{flagDetail | flagFieldDisplay:'name'}}</div>\n }\n <div>{{flagDetail | flagFieldDisplay:'otherDescription'}}</div>\n <div>{{flagDetail | flagFieldDisplay:'subTypeValue'}}</div>\n </td>\n <td class=\"govuk-table__cell\">\n <div [ngClass]=\"{'govuk-!-font-weight-bold': isActivePvpFlag(flagDetail)}\">\n {{flagDetail | flagFieldDisplay:'flagComment'}}\n </div>\n @if (!caseFlagsExternalUser &&\n (flagDetail.status === caseFlagStatus.NOT_APPROVED || flagDetail.status === caseFlagStatus.INACTIVE) &&\n flagDetail.flagUpdateComment) {\n <div>\n <span class=\"govuk-!-font-weight-bold\">Update Reason: {{flagDetail.flagUpdateComment}}</span>\n </div>\n }\n </td>\n <td class=\"govuk-table__cell\">{{flagDetail.dateTimeCreated | date: 'dd LLL yyyy'}}</td>\n <td class=\"govuk-table__cell\">{{flagDetail.dateTimeModified | date: 'dd LLL yyyy'}}</td>\n <td class=\"govuk-table__cell cell-flag-status\">\n @if (flagDetail.status === caseFlagStatus.ACTIVE) {\n <strong class=\"govuk-tag govuk-tag--turquoise\">{{'Active' | rpxTranslate}}</strong>\n }\n @if (flagDetail.status === caseFlagStatus.INACTIVE) {\n <strong class=\"govuk-tag govuk-tag--grey\">{{'Inactive' | rpxTranslate}}</strong>\n }\n @if (flagDetail.status === caseFlagStatus.REQUESTED) {\n <strong class=\"govuk-tag govuk-tag--yellow\">{{'Requested' | rpxTranslate}}</strong>\n }\n @if (flagDetail.status === caseFlagStatus.NOT_APPROVED) {\n <strong class=\"govuk-tag govuk-tag--red\">{{'Not approved' | rpxTranslate}}</strong>\n }\n </td>\n </tr>\n }\n </tbody>\n }\n </table>\n}\n",
|
|
37138
37128
|
styles: [".govuk-table .govuk-table__caption{margin-top:10px}.govuk-table .govuk-table__head .govuk-table__row .col-party-name{width:24%}.govuk-table .govuk-table__head .govuk-table__row .col-comments{width:42%}.govuk-table .govuk-table__head .govuk-table__row .col-creation-date,.govuk-table .govuk-table__head .govuk-table__row .col-last-modified{width:12%}.govuk-table .govuk-table__head .govuk-table__row .col-flag-status{width:10%}.govuk-table .govuk-table__body .govuk-table__row .cell-flag-status{white-space:nowrap}\n"]
|
|
37139
37129
|
}]
|
|
37140
37130
|
}], null, {
|
|
@@ -46209,8 +46199,6 @@ var CaseEditGenericErrorsComponent = class CaseEditGenericErrorsComponent {
|
|
|
46209
46199
|
vars: 2,
|
|
46210
46200
|
consts: [
|
|
46211
46201
|
[
|
|
46212
|
-
"role",
|
|
46213
|
-
"group",
|
|
46214
46202
|
"aria-labelledby",
|
|
46215
46203
|
"edit-case-event_error-summary-heading",
|
|
46216
46204
|
"tabindex",
|
|
@@ -46270,7 +46258,7 @@ var CaseEditGenericErrorsComponent = class CaseEditGenericErrorsComponent {
|
|
|
46270
46258
|
providers: [],
|
|
46271
46259
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
46272
46260
|
standalone: false,
|
|
46273
|
-
template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n@if (error && (!(error.callbackErrors || error.callbackWarnings || error.details) && !error.message)) {\n <div class=\"error-summary\"
|
|
46261
|
+
template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n@if (error && (!(error.callbackErrors || error.callbackWarnings || error.details) && !error.message)) {\n <div class=\"error-summary\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n Something went wrong\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>We're working to fix the problem. Try again shortly.</p>\n <p><a href=\"get-help\" target=\"_blank\">Contact us</a> if you're still having problems.</p>\n </div>\n </div>\n}\n<!-- Event error heading and error message to be displayed if there are specific error details -->\n@if (error && (error.details || error.message)) {\n <div class=\"error-summary\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h3 class=\"heading-h3 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n The event could not be created\n </h3>\n <p>{{error.message}}</p>\n @if (error.details?.field_errors) {\n <ul class=\"error-summary-list\">\n @for (fieldError of error.details.field_errors; track fieldError) {\n <li class=\"ccd-error-summary-li\">{{fieldError.message}}</li>\n }\n </ul>\n }\n </div>\n}\n",
|
|
46274
46262
|
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 .button{margin-top:12px}\n"]
|
|
46275
46263
|
}]
|
|
46276
46264
|
}], null, { error: [{ type: Input }] });
|
|
@@ -51076,8 +51064,6 @@ var CaseFullAccessViewComponent = class CaseFullAccessViewComponent {
|
|
|
51076
51064
|
consts: [
|
|
51077
51065
|
["tabGroup", ""],
|
|
51078
51066
|
[
|
|
51079
|
-
"role",
|
|
51080
|
-
"group",
|
|
51081
51067
|
"aria-labelledby",
|
|
51082
51068
|
"edit-case-event_error-summary-heading",
|
|
51083
51069
|
"tabindex",
|
|
@@ -51268,7 +51254,7 @@ var CaseFullAccessViewComponent = class CaseFullAccessViewComponent {
|
|
|
51268
51254
|
selector: "ccd-case-full-access-view",
|
|
51269
51255
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
51270
51256
|
standalone: false,
|
|
51271
|
-
template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n@if (error && !(error.callbackErrors || error.callbackWarnings || error.details)) {\n <div class=\"error-summary\"\n
|
|
51257
|
+
template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n@if (error && !(error.callbackErrors || error.callbackWarnings || error.details)) {\n <div class=\"error-summary\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </div>\n </div>\n}\n<!-- Callback error heading and error message to be displayed if there are specific error details -->\n@if (error && error.details) {\n <div class=\"error-summary\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n @if (error.details?.field_errors) {\n <ul class=\"error-summary-list\">\n @for (fieldError of error.details.field_errors; track fieldError) {\n <li>\n {{fieldError.message | rpxTranslate}}\n </li>\n }\n </ul>\n }\n </div>\n}\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 @if (hasPrint && !isDraft() && isPrintEnabled()) {\n <div class=\"case-viewer-controls\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"button button-secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n }\n </div>\n @if (hasEventSelector) {\n <div 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 }\n</div>\n@if (activeCaseFlags && !caseFlagsExternalUser) {\n <div class=\"grid-row\">\n <div class=\"column-full\">\n <ccd-notification-banner [notificationBannerConfig]=\"notificationBannerConfig\" (linkClicked)=\"onLinkClicked($event)\">\n </ccd-notification-banner>\n </div>\n </div>\n}\n<div class=\"grid-row\">\n <div class=\"column-full\">\n @if (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 @for (tab of prependedTabs; track tab) {\n <mat-tab [attr.data-case-tab-id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n @if (tab.id === 'tasks') {\n <exui-tasks-ce></exui-tasks-ce>\n }\n @if (tab.id === 'roles-and-access') {\n <exui-roles-and-access-ce></exui-roles-and-access-ce>\n }\n </ng-template>\n </mat-tab>\n }\n @for (tab of sortedTabs; track tab; let curIdx = $index) {\n <mat-tab [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 @for (field of tab | ccdTabFields | ccdReadFieldsFilter:false :undefined :true : $safeNavigationMigration(formGroup?.controls['data']); track field) {\n <div ccdLabelSubstitutor [caseField]=\"field\" [contextFields]=\"caseFields\" [hidden]=\"field.hidden\">\n @switch (!(field | ccdIsCompound)) {\n @case (true) {\n <tr>\n @if (!isFieldToHaveNoLabel(field) && field.label) {\n <th [id]=\"'case-viewer-field-label--' + field.id\" scope=\"row\">\n <div class=\"case-viewer-label text-16\">\n {{field.label | rpxTranslate}}</div>\n </th>\n }\n <td [id]=\"'case-viewer-field-read--' + field.id\" scope=\"col\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"$safeNavigationMigration(formGroup?.controls['data'])\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n }\n @case (false) {\n <tr 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 }\n }\n </div>\n }\n </tbody>\n </table>\n </ng-template>\n </mat-tab>\n }\n @for (tab of appendedTabs; track tab) {\n <mat-tab [attr.data-case-tab-id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n @if (tab.id === 'hearings') {\n <exui-case-hearings-ce></exui-case-hearings-ce>\n }\n </ng-template>\n </mat-tab>\n }\n </mat-tab-group>\n }\n </div>\n</div>\n",
|
|
51272
51258
|
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"]
|
|
51273
51259
|
}]
|
|
51274
51260
|
}], () => [
|