@hmcts/ccd-case-ui-toolkit 7.1.49 → 7.1.50-exui-2748-rc1

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.
@@ -10253,11 +10253,11 @@ class SaveOrDiscardDialogComponent {
10253
10253
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 8, "Save"));
10254
10254
  i0.ɵɵadvance(3);
10255
10255
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 10, "Discard"));
10256
- } }, dependencies: [i1.RpxTranslatePipe], styles: [".x[_ngcontent-%COMP%]{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}.dialog-header[_ngcontent-%COMP%]{text-align:right}.dialog-title[_ngcontent-%COMP%], .dialog-info[_ngcontent-%COMP%]{margin:0 0 21px 25px}.action-button[_ngcontent-%COMP%]{margin:0 15px 0 25px}"] });
10256
+ } }, dependencies: [i1.RpxTranslatePipe], styles: [".x[_ngcontent-%COMP%]{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}@media (prefers-color-scheme: dark){.dialog-title[_ngcontent-%COMP%], .dialog-info[_ngcontent-%COMP%]{color:#000}}.dialog-header[_ngcontent-%COMP%]{text-align:right}.dialog-title[_ngcontent-%COMP%], .dialog-info[_ngcontent-%COMP%]{margin:0 0 21px 25px}.action-button[_ngcontent-%COMP%]{margin:0 15px 0 25px}"] });
10257
10257
  }
10258
10258
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SaveOrDiscardDialogComponent, [{
10259
10259
  type: Component,
10260
- args: [{ selector: 'ccd-save-or-discard-dialog', template: "<div>\n <div class=\"dialog-header\">\n <h2 (click)=\"cancel()\" class=\"heading-h2 x\">X</h2>\n </div>\n <div>\n <h2 class=\"heading-h2 dialog-title\">{{'Would you like to save changes to this page?' | rpxTranslate}}</h2>\n </div>\n <div class=\"dialog-info\">\n <span class=\"text-info\">{{'You will be taken back to your case list.' | rpxTranslate}}</span>\n </div>\n <div>\n <button type=\"button\" title=\"Save\" class=\"button action-button\" (click)=\"save()\">{{'Save' | rpxTranslate}}</button>\n <button type=\"button\" title=\"Discard\" class=\"button button-secondary\" (click)=\"discard()\">{{'Discard' | rpxTranslate}}</button>\n </div>\n</div>\n", styles: [".x{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}.dialog-header{text-align:right}.dialog-title,.dialog-info{margin:0 0 21px 25px}.action-button{margin:0 15px 0 25px}\n"] }]
10260
+ args: [{ selector: 'ccd-save-or-discard-dialog', template: "<div>\n <div class=\"dialog-header\">\n <h2 (click)=\"cancel()\" class=\"heading-h2 x\">X</h2>\n </div>\n <div>\n <h2 class=\"heading-h2 dialog-title\">{{'Would you like to save changes to this page?' | rpxTranslate}}</h2>\n </div>\n <div class=\"dialog-info\">\n <span class=\"text-info\">{{'You will be taken back to your case list.' | rpxTranslate}}</span>\n </div>\n <div>\n <button type=\"button\" title=\"Save\" class=\"button action-button\" (click)=\"save()\">{{'Save' | rpxTranslate}}</button>\n <button type=\"button\" title=\"Discard\" class=\"button button-secondary\" (click)=\"discard()\">{{'Discard' | rpxTranslate}}</button>\n </div>\n</div>\n", styles: [".x{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}@media (prefers-color-scheme: dark){.dialog-title,.dialog-info{color:#000}}.dialog-header{text-align:right}.dialog-title,.dialog-info{margin:0 0 21px 25px}.action-button{margin:0 15px 0 25px}\n"] }]
10261
10261
  }], () => [{ type: i1$3.MatLegacyDialogRef }], null); })();
10262
10262
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SaveOrDiscardDialogComponent, { className: "SaveOrDiscardDialogComponent", filePath: "lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.ts", lineNumber: 9 }); })();
10263
10263
 
@@ -13565,11 +13565,11 @@ class RemoveDialogComponent {
13565
13565
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 8, "Remove"));
13566
13566
  i0.ɵɵadvance(3);
13567
13567
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 10, "Cancel"));
13568
- } }, dependencies: [i1.RpxTranslatePipe], styles: [".x[_ngcontent-%COMP%]{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}.dialog-header[_ngcontent-%COMP%]{text-align:right}.dialog-title[_ngcontent-%COMP%], .dialog-info[_ngcontent-%COMP%]{margin:0 0 21px 25px}.action-button[_ngcontent-%COMP%]{margin:0 15px 0 25px}"] });
13568
+ } }, dependencies: [i1.RpxTranslatePipe], styles: [".x[_ngcontent-%COMP%]{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}@media (prefers-color-scheme: dark){.dialog-title[_ngcontent-%COMP%], .dialog-info[_ngcontent-%COMP%]{color:#000}}.dialog-header[_ngcontent-%COMP%]{text-align:right}.dialog-title[_ngcontent-%COMP%], .dialog-info[_ngcontent-%COMP%]{margin:0 0 21px 25px}.action-button[_ngcontent-%COMP%]{margin:0 15px 0 25px}"] });
13569
13569
  }
13570
13570
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RemoveDialogComponent, [{
13571
13571
  type: Component,
13572
- args: [{ selector: 'ccd-remove-dialog', template: "<div>\n <div class=\"dialog-header\">\n <h2 (click)=\"cancel()\" class=\"heading-h2 x\">X</h2>\n </div>\n <div>\n <h2 class=\"heading-h2 dialog-title\">{{'Are you sure you want to remove the item?' | rpxTranslate}}</h2>\n </div>\n <div class=\"dialog-info\">\n <span class=\"text-info\">\n {{'You are about to permanently remove an item, are you sure you want to remove this item?' | rpxTranslate}}\n </span>\n </div>\n <div>\n <button type=\"button\" title=\"Remove\" class=\"button action-button\" (click)=\"remove()\">{{'Remove' | rpxTranslate}}</button>\n <button type=\"button\" title=\"Cancel\" class=\"button button-secondary\" (click)=\"cancel()\">{{'Cancel' | rpxTranslate}}</button>\n </div>\n</div>\n", styles: [".x{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}.dialog-header{text-align:right}.dialog-title,.dialog-info{margin:0 0 21px 25px}.action-button{margin:0 15px 0 25px}\n"] }]
13572
+ args: [{ selector: 'ccd-remove-dialog', template: "<div>\n <div class=\"dialog-header\">\n <h2 (click)=\"cancel()\" class=\"heading-h2 x\">X</h2>\n </div>\n <div>\n <h2 class=\"heading-h2 dialog-title\">{{'Are you sure you want to remove the item?' | rpxTranslate}}</h2>\n </div>\n <div class=\"dialog-info\">\n <span class=\"text-info\">\n {{'You are about to permanently remove an item, are you sure you want to remove this item?' | rpxTranslate}}\n </span>\n </div>\n <div>\n <button type=\"button\" title=\"Remove\" class=\"button action-button\" (click)=\"remove()\">{{'Remove' | rpxTranslate}}</button>\n <button type=\"button\" title=\"Cancel\" class=\"button button-secondary\" (click)=\"cancel()\">{{'Cancel' | rpxTranslate}}</button>\n </div>\n</div>\n", styles: [".x{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}@media (prefers-color-scheme: dark){.dialog-title,.dialog-info{color:#000}}.dialog-header{text-align:right}.dialog-title,.dialog-info{margin:0 0 21px 25px}.action-button{margin:0 15px 0 25px}\n"] }]
13573
13573
  }], () => [{ type: i1$3.MatLegacyDialogRef }], null); })();
13574
13574
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 9 }); })();
13575
13575
 
@@ -14247,11 +14247,11 @@ class DocumentDialogComponent {
14247
14247
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 8, "Replace file"));
14248
14248
  i0.ɵɵadvance(3);
14249
14249
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 10, "Cancel"));
14250
- } }, dependencies: [i1.RpxTranslatePipe], styles: [".x[_ngcontent-%COMP%]{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}.dialog-header[_ngcontent-%COMP%]{text-align:right}.dialog-title[_ngcontent-%COMP%], .dialog-info[_ngcontent-%COMP%]{margin:0 0 21px 25px}.action-button[_ngcontent-%COMP%]{margin:0 15px 0 25px}"] });
14250
+ } }, dependencies: [i1.RpxTranslatePipe], styles: [".x[_ngcontent-%COMP%]{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}@media (prefers-color-scheme: dark){.dialog-title[_ngcontent-%COMP%], .dialog-info[_ngcontent-%COMP%]{color:#000}}.dialog-header[_ngcontent-%COMP%]{text-align:right}.dialog-title[_ngcontent-%COMP%], .dialog-info[_ngcontent-%COMP%]{margin:0 0 21px 25px}.action-button[_ngcontent-%COMP%]{margin:0 15px 0 25px}"] });
14251
14251
  }
14252
14252
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DocumentDialogComponent, [{
14253
14253
  type: Component,
14254
- args: [{ selector: 'ccd-document-dialog', template: "<div>\n <div class=\"dialog-header\">\n <h2 (click)=\"cancel()\" class=\"heading-h2 x\">X</h2>\n </div>\n <div>\n <h2 class=\"heading-h2 dialog-title\">{{'Are you sure you want to replace the existing file?' | rpxTranslate}}</h2>\n </div>\n <div class=\"dialog-info\">\n <span class=\"text-info\">{{'You are about to delete the original file uploaded. Are you sure you want to proceed?' | rpxTranslate}}</span>\n </div>\n <div>\n <button type=\"button\" title=\"Replace\" class=\"button action-button\" (click)=\"replace()\">{{'Replace file' | rpxTranslate}}</button>\n <button type=\"button\" title=\"Cancel\" class=\"button button-secondary\" (click)=\"cancel()\">{{'Cancel' | rpxTranslate}}</button>\n </div>\n</div>\n", styles: [".x{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}.dialog-header{text-align:right}.dialog-title,.dialog-info{margin:0 0 21px 25px}.action-button{margin:0 15px 0 25px}\n"] }]
14254
+ args: [{ selector: 'ccd-document-dialog', template: "<div>\n <div class=\"dialog-header\">\n <h2 (click)=\"cancel()\" class=\"heading-h2 x\">X</h2>\n </div>\n <div>\n <h2 class=\"heading-h2 dialog-title\">{{'Are you sure you want to replace the existing file?' | rpxTranslate}}</h2>\n </div>\n <div class=\"dialog-info\">\n <span class=\"text-info\">{{'You are about to delete the original file uploaded. Are you sure you want to proceed?' | rpxTranslate}}</span>\n </div>\n <div>\n <button type=\"button\" title=\"Replace\" class=\"button action-button\" (click)=\"replace()\">{{'Replace file' | rpxTranslate}}</button>\n <button type=\"button\" title=\"Cancel\" class=\"button button-secondary\" (click)=\"cancel()\">{{'Cancel' | rpxTranslate}}</button>\n </div>\n</div>\n", styles: [".x{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}@media (prefers-color-scheme: dark){.dialog-title,.dialog-info{color:#000}}.dialog-header{text-align:right}.dialog-title,.dialog-info{margin:0 0 21px 25px}.action-button{margin:0 15px 0 25px}\n"] }]
14255
14255
  }], () => [{ type: i1$3.MatLegacyDialogRef }], null); })();
14256
14256
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DocumentDialogComponent, { className: "DocumentDialogComponent", filePath: "lib/shared/components/dialogs/document-dialog/document-dialog.component.ts", lineNumber: 9 }); })();
14257
14257
 
@@ -14272,8 +14272,8 @@ class FileUploadStateService {
14272
14272
 
14273
14273
  const _c0$R = ["fileInput"];
14274
14274
  const _c1$l = a0 => ({ "form-group-error bottom-30": a0 });
14275
- function WriteDocumentFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
14276
- i0.ɵɵelementStart(0, "span", 11);
14275
+ function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
14276
+ i0.ɵɵelementStart(0, "span", 12);
14277
14277
  i0.ɵɵtext(1);
14278
14278
  i0.ɵɵpipe(2, "rpxTranslate");
14279
14279
  i0.ɵɵelementEnd();
@@ -14282,8 +14282,8 @@ function WriteDocumentFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
14282
14282
  i0.ɵɵadvance();
14283
14283
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r1.caseField.hint_text), " ");
14284
14284
  } }
14285
- function WriteDocumentFieldComponent_ccd_read_document_field_9_Template(rf, ctx) { if (rf & 1) {
14286
- i0.ɵɵelement(0, "ccd-read-document-field", 12);
14285
+ function WriteDocumentFieldComponent_ccd_read_document_field_11_Template(rf, ctx) { if (rf & 1) {
14286
+ i0.ɵɵelement(0, "ccd-read-document-field", 13);
14287
14287
  } if (rf & 2) {
14288
14288
  const ctx_r1 = i0.ɵɵnextContext();
14289
14289
  i0.ɵɵproperty("caseField", ctx_r1.caseField);
@@ -14628,41 +14628,46 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
14628
14628
  } if (rf & 2) {
14629
14629
  let _t;
14630
14630
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
14631
- } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 18, vars: 19, consts: [["fileInput", ""], [1, "form-group", 3, "ngClass"], [1, "form-label"], ["class", "form-hint", 4, "ngIf"], ["role", "alert", "tabindex", "0", 1, "error-message", 3, "hidden"], [3, "caseField", 4, "ngIf"], [2, "position", "relative"], [3, "click", "keyup", "id"], ["type", "file", 1, "form-control", "bottom-30", 3, "keydown.Tab", "change", "id", "accept"], [1, "form-group", "bottom-30"], ["type", "button", "aria-label", "Cancel upload", 1, "button", "button-secondary", 3, "click", "disabled"], [1, "form-hint"], [3, "caseField"]], template: function WriteDocumentFieldComponent_Template(rf, ctx) { if (rf & 1) {
14631
+ } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 20, vars: 23, consts: [["fileInput", ""], [1, "form-group", 3, "ngClass"], [3, "for"], [1, "form-label"], ["class", "form-hint", 4, "ngIf"], ["role", "alert", "tabindex", "0", 1, "error-message", 3, "hidden"], [3, "caseField", 4, "ngIf"], [2, "position", "relative"], [3, "click", "keyup", "id"], ["type", "file", 1, "form-control", "bottom-30", 3, "keydown.Tab", "change", "id", "accept"], [1, "form-group", "bottom-30"], ["type", "button", "aria-label", "Cancel upload", 1, "button", "button-secondary", 3, "click", "disabled"], [1, "form-hint"], [3, "caseField"]], template: function WriteDocumentFieldComponent_Template(rf, ctx) { if (rf & 1) {
14632
14632
  const _r1 = i0.ɵɵgetCurrentView();
14633
- i0.ɵɵelementStart(0, "div", 1)(1, "legend", 2);
14634
- i0.ɵɵtext(2);
14633
+ i0.ɵɵelementStart(0, "div", 1)(1, "label", 2)(2, "span", 3);
14635
14634
  i0.ɵɵpipe(3, "ccdFieldLabel");
14635
+ i0.ɵɵtext(4);
14636
+ i0.ɵɵpipe(5, "ccdFieldLabel");
14637
+ i0.ɵɵelementEnd()();
14638
+ i0.ɵɵtemplate(6, WriteDocumentFieldComponent_span_6_Template, 3, 3, "span", 4);
14639
+ i0.ɵɵelementStart(7, "span", 5);
14640
+ i0.ɵɵtext(8);
14641
+ i0.ɵɵpipe(9, "rpxTranslate");
14636
14642
  i0.ɵɵelementEnd();
14637
- i0.ɵɵtemplate(4, WriteDocumentFieldComponent_span_4_Template, 3, 3, "span", 3);
14638
- i0.ɵɵelementStart(5, "span", 4);
14639
- i0.ɵɵtext(6);
14640
- i0.ɵɵpipe(7, "rpxTranslate");
14641
- i0.ɵɵelementEnd();
14642
- i0.ɵɵelementStart(8, "div");
14643
- i0.ɵɵtemplate(9, WriteDocumentFieldComponent_ccd_read_document_field_9_Template, 1, 1, "ccd-read-document-field", 5);
14643
+ i0.ɵɵelementStart(10, "div");
14644
+ i0.ɵɵtemplate(11, WriteDocumentFieldComponent_ccd_read_document_field_11_Template, 1, 1, "ccd-read-document-field", 6);
14644
14645
  i0.ɵɵelementEnd();
14645
- i0.ɵɵelementStart(10, "div", 6)(11, "div", 7);
14646
- i0.ɵɵlistener("click", function WriteDocumentFieldComponent_Template_div_click_11_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.fileSelectEvent()); })("keyup", function WriteDocumentFieldComponent_Template_div_keyup_11_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.fileSelectEvent()); });
14646
+ i0.ɵɵelementStart(12, "div", 7)(13, "div", 8);
14647
+ i0.ɵɵlistener("click", function WriteDocumentFieldComponent_Template_div_click_13_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.fileSelectEvent()); })("keyup", function WriteDocumentFieldComponent_Template_div_keyup_13_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.fileSelectEvent()); });
14647
14648
  i0.ɵɵelementEnd();
14648
- i0.ɵɵelementStart(12, "input", 8, 0);
14649
- i0.ɵɵlistener("keydown.Tab", function WriteDocumentFieldComponent_Template_input_keydown_Tab_12_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.fileValidationsOnTab()); })("change", function WriteDocumentFieldComponent_Template_input_change_12_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.fileChangeEvent($event, ctx.caseField.field_type.regular_expression)); });
14649
+ i0.ɵɵelementStart(14, "input", 9, 0);
14650
+ i0.ɵɵlistener("keydown.Tab", function WriteDocumentFieldComponent_Template_input_keydown_Tab_14_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.fileValidationsOnTab()); })("change", function WriteDocumentFieldComponent_Template_input_change_14_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.fileChangeEvent($event, ctx.caseField.field_type.regular_expression)); });
14650
14651
  i0.ɵɵelementEnd()()();
14651
- i0.ɵɵelementStart(14, "div", 9)(15, "button", 10);
14652
- i0.ɵɵlistener("click", function WriteDocumentFieldComponent_Template_button_click_15_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cancelUpload()); });
14653
- i0.ɵɵtext(16);
14654
- i0.ɵɵpipe(17, "rpxTranslate");
14652
+ i0.ɵɵelementStart(16, "div", 10)(17, "button", 11);
14653
+ i0.ɵɵlistener("click", function WriteDocumentFieldComponent_Template_button_click_17_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cancelUpload()); });
14654
+ i0.ɵɵtext(18);
14655
+ i0.ɵɵpipe(19, "rpxTranslate");
14655
14656
  i0.ɵɵelementEnd()();
14656
14657
  } if (rf & 2) {
14657
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c1$l, !ctx.valid));
14658
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c1$l, !ctx.valid));
14659
+ i0.ɵɵadvance();
14660
+ i0.ɵɵproperty("for", ctx.id());
14661
+ i0.ɵɵadvance();
14662
+ i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(3, 13, ctx.caseField));
14658
14663
  i0.ɵɵadvance(2);
14659
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 11, ctx.caseField), " ");
14664
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 15, ctx.caseField));
14660
14665
  i0.ɵɵadvance(2);
14661
14666
  i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
14662
14667
  i0.ɵɵadvance();
14663
14668
  i0.ɵɵproperty("hidden", !(ctx.fileUploadMessages && !ctx.valid));
14664
14669
  i0.ɵɵadvance();
14665
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 13, ctx.fileUploadMessages), " ");
14670
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 17, ctx.fileUploadMessages), " ");
14666
14671
  i0.ɵɵadvance(3);
14667
14672
  i0.ɵɵproperty("ngIf", ctx.caseField);
14668
14673
  i0.ɵɵadvance(2);
@@ -14673,12 +14678,12 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
14673
14678
  i0.ɵɵadvance(3);
14674
14679
  i0.ɵɵproperty("disabled", !ctx.isUploadInProgress());
14675
14680
  i0.ɵɵadvance();
14676
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 15, "Cancel upload"));
14681
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 19, "Cancel upload"));
14677
14682
  } }, encapsulation: 2 });
14678
14683
  }
14679
14684
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDocumentFieldComponent, [{
14680
14685
  type: Component,
14681
- args: [{ selector: 'ccd-write-document-field', template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error bottom-30': !valid}\">\n <legend class=\"form-label\">\n {{ caseField | ccdFieldLabel }}\n </legend>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">\n {{ caseField.hint_text | rpxTranslate }}\n </span>\n <span class=\"error-message\"\n role=\"alert\"\n tabindex=\"0\"\n [hidden]=\"!(fileUploadMessages && !valid)\">\n {{ fileUploadMessages | rpxTranslate }}\n </span>\n <div>\n <!--<span *ngIf=\"getUploadedFileName()\" class=\"text-16\">File name: {{getUploadedFileName()}}</span>-->\n <ccd-read-document-field *ngIf=\"caseField\" [caseField]=\"caseField\"></ccd-read-document-field>\n </div>\n\n <div style='position:relative'>\n <div [id]=\"createElementId('fileInputWrapper')\" (click)=\"fileSelectEvent()\" (keyup)=\"fileSelectEvent()\"></div>\n <input class=\"form-control bottom-30\" [id]=\"id()\" type=\"file\" (keydown.Tab)=\"fileValidationsOnTab()\" (change)=\"fileChangeEvent($event, caseField.field_type.regular_expression)\"\n accept=\"{{caseField.field_type.regular_expression}}\" #fileInput/>\n </div>\n</div>\n<div class=\"form-group bottom-30\">\n <button class=\"button button-secondary\" type=\"button\" aria-label=\"Cancel upload\" (click)=\"cancelUpload()\" [disabled]=\"!isUploadInProgress()\">{{'Cancel upload' | rpxTranslate}}</button>\n</div>\n" }]
14686
+ args: [{ selector: 'ccd-write-document-field', template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error bottom-30': !valid}\">\n <label [for]=\"id()\">\n <span class=\"form-label\" attr.aria-label=\"{{caseField | ccdFieldLabel}}\">{{(caseField | ccdFieldLabel)}}</span>\n </label>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">\n {{ caseField.hint_text | rpxTranslate }}\n </span>\n <span class=\"error-message\"\n role=\"alert\"\n tabindex=\"0\"\n [hidden]=\"!(fileUploadMessages && !valid)\">\n {{ fileUploadMessages | rpxTranslate }}\n </span>\n <div>\n <!--<span *ngIf=\"getUploadedFileName()\" class=\"text-16\">File name: {{getUploadedFileName()}}</span>-->\n <ccd-read-document-field *ngIf=\"caseField\" [caseField]=\"caseField\"></ccd-read-document-field>\n </div>\n\n <div style='position:relative'>\n <div [id]=\"createElementId('fileInputWrapper')\" (click)=\"fileSelectEvent()\" (keyup)=\"fileSelectEvent()\"></div>\n <input class=\"form-control bottom-30\" [id]=\"id()\" type=\"file\" (keydown.Tab)=\"fileValidationsOnTab()\" (change)=\"fileChangeEvent($event, caseField.field_type.regular_expression)\"\n accept=\"{{caseField.field_type.regular_expression}}\" #fileInput/>\n </div>\n</div>\n<div class=\"form-group bottom-30\">\n <button class=\"button button-secondary\" type=\"button\" aria-label=\"Cancel upload\" (click)=\"cancelUpload()\" [disabled]=\"!isUploadInProgress()\">{{'Cancel upload' | rpxTranslate}}</button>\n</div>\n" }]
14682
14687
  }], () => [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$3.MatLegacyDialog }, { type: FileUploadStateService }, { type: JurisdictionService }], { fileInput: [{
14683
14688
  type: ViewChild,
14684
14689
  args: ['fileInput', { static: false }]
@@ -33100,11 +33105,11 @@ class DeleteOrCancelDialogComponent {
33100
33105
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 8, "Delete draft"));
33101
33106
  i0.ɵɵadvance(3);
33102
33107
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 10, "Cancel"));
33103
- } }, dependencies: [i1.RpxTranslatePipe], styles: [".x[_ngcontent-%COMP%]{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}.dialog-header[_ngcontent-%COMP%]{text-align:right}.dialog-title[_ngcontent-%COMP%], .dialog-info[_ngcontent-%COMP%]{margin:0 0 21px 25px}.action-button[_ngcontent-%COMP%]{margin:0 15px 0 25px}"] });
33108
+ } }, dependencies: [i1.RpxTranslatePipe], styles: [".x[_ngcontent-%COMP%]{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}@media (prefers-color-scheme: dark){.dialog-title[_ngcontent-%COMP%], .dialog-info[_ngcontent-%COMP%]{color:#000}}.dialog-header[_ngcontent-%COMP%]{text-align:right}.dialog-title[_ngcontent-%COMP%], .dialog-info[_ngcontent-%COMP%]{margin:0 0 21px 25px}.action-button[_ngcontent-%COMP%]{margin:0 15px 0 25px}"] });
33104
33109
  }
33105
33110
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DeleteOrCancelDialogComponent, [{
33106
33111
  type: Component,
33107
- args: [{ selector: 'ccd-delete-or-cancel-dialog', template: "<div>\n <div class=\"dialog-header\">\n <h2 (click)=\"cancel()\" class=\"heading-h2 x\">X</h2>\n </div>\n <div>\n <h2 class=\"heading-h2 dialog-title\">{{'Are you sure you want to delete this draft?' | rpxTranslate}}</h2>\n </div>\n <div class=\"dialog-info\">\n <span class=\"text-info\">{{'You are about to delete this draft. Are you sure you want to proceed?' | rpxTranslate}}</span>\n </div>\n <div>\n <button type=\"button\" title=\"Delete\" class=\"button action-button\" (click)=\"delete()\">{{'Delete draft' | rpxTranslate}}</button>\n <button type=\"button\" title=\"Cancel\" class=\"button button-secondary\" (click)=\"cancel()\">{{'Cancel' | rpxTranslate}}</button>\n </div>\n</div>\n", styles: [".x{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}.dialog-header{text-align:right}.dialog-title,.dialog-info{margin:0 0 21px 25px}.action-button{margin:0 15px 0 25px}\n"] }]
33112
+ args: [{ selector: 'ccd-delete-or-cancel-dialog', template: "<div>\n <div class=\"dialog-header\">\n <h2 (click)=\"cancel()\" class=\"heading-h2 x\">X</h2>\n </div>\n <div>\n <h2 class=\"heading-h2 dialog-title\">{{'Are you sure you want to delete this draft?' | rpxTranslate}}</h2>\n </div>\n <div class=\"dialog-info\">\n <span class=\"text-info\">{{'You are about to delete this draft. Are you sure you want to proceed?' | rpxTranslate}}</span>\n </div>\n <div>\n <button type=\"button\" title=\"Delete\" class=\"button action-button\" (click)=\"delete()\">{{'Delete draft' | rpxTranslate}}</button>\n <button type=\"button\" title=\"Cancel\" class=\"button button-secondary\" (click)=\"cancel()\">{{'Cancel' | rpxTranslate}}</button>\n </div>\n</div>\n", styles: [".x{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}@media (prefers-color-scheme: dark){.dialog-title,.dialog-info{color:#000}}.dialog-header{text-align:right}.dialog-title,.dialog-info{margin:0 0 21px 25px}.action-button{margin:0 15px 0 25px}\n"] }]
33108
33113
  }], () => [{ type: i1$3.MatLegacyDialogRef }], null); })();
33109
33114
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DeleteOrCancelDialogComponent, { className: "DeleteOrCancelDialogComponent", filePath: "lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.ts", lineNumber: 9 }); })();
33110
33115