@hmcts/ccd-case-ui-toolkit 7.2.6 → 7.2.7-exui-3199-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.
@@ -6615,17 +6615,13 @@ class LabelSubstitutorDirective {
6615
6615
  const oldLabel = this.caseField.label;
6616
6616
  const substitutedLabel = this.resolvePlaceholders(fields, this.caseField.label);
6617
6617
  if (oldLabel && oldLabel !== substitutedLabel) {
6618
- console.log(`placeholders present: ${oldLabel} -> ${substitutedLabel}`);
6619
6618
  // we need to translate the uninterpolated data then substitute the values in translated string
6620
6619
  const translated = this.rpxTranslationPipe.transform(oldLabel);
6621
- console.log(`translated: ${translated}`);
6622
6620
  const transSubstitutedLabel = this.resolvePlaceholders(fields, translated);
6623
- console.log(`translated and substituted: ${transSubstitutedLabel}`);
6624
6621
  this.caseField.label = transSubstitutedLabel;
6625
6622
  this.caseField.isTranslated = true;
6626
6623
  }
6627
6624
  else {
6628
- console.log(`no placeholders present: ${oldLabel}`);
6629
6625
  this.caseField.label = substitutedLabel;
6630
6626
  this.caseField.isTranslated = false;
6631
6627
  }
@@ -15071,7 +15067,7 @@ class FileUploadStateService {
15071
15067
  const _c0$R = ["fileInput"];
15072
15068
  const _c1$l = a0 => ({ "form-group-error bottom-30": a0 });
15073
15069
  function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
15074
- i0.ɵɵelementStart(0, "span", 15)(1, "markdown");
15070
+ i0.ɵɵelementStart(0, "span", 12)(1, "markdown");
15075
15071
  i0.ɵɵtext(2);
15076
15072
  i0.ɵɵpipe(3, "rpxTranslate");
15077
15073
  i0.ɵɵelementEnd()();
@@ -15081,7 +15077,7 @@ function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
15081
15077
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, ctx_r1.caseField.hint_text));
15082
15078
  } }
15083
15079
  function WriteDocumentFieldComponent_ccd_read_document_field_11_Template(rf, ctx) { if (rf & 1) {
15084
- i0.ɵɵelement(0, "ccd-read-document-field", 16);
15080
+ i0.ɵɵelement(0, "ccd-read-document-field", 13);
15085
15081
  } if (rf & 2) {
15086
15082
  const ctx_r1 = i0.ɵɵnextContext();
15087
15083
  i0.ɵɵproperty("caseField", ctx_r1.caseField);
@@ -15093,7 +15089,6 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
15093
15089
  dialog;
15094
15090
  fileUploadStateService;
15095
15091
  jurisdictionService;
15096
- rpxTranslationService;
15097
15092
  static DOCUMENT_URL = 'document_url';
15098
15093
  static DOCUMENT_BINARY_URL = 'document_binary_url';
15099
15094
  static DOCUMENT_FILENAME = 'document_filename';
@@ -15104,7 +15099,6 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
15104
15099
  static UPLOAD_ERROR_INVALID_FORMAT = 'Document format is not supported';
15105
15100
  static UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
15106
15101
  static ERROR_UPLOADING_FILE = 'Error Uploading File';
15107
- static NO_FILE_CHOSED = 'No file chosen';
15108
15102
  fileInput;
15109
15103
  selectedFile;
15110
15104
  valid = true;
@@ -15116,13 +15110,12 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
15116
15110
  dialogSubscription;
15117
15111
  caseNotifierSubscription;
15118
15112
  jurisdictionSubs;
15119
- fileName = WriteDocumentFieldComponent.NO_FILE_CHOSED;
15120
15113
  uploadedDocument;
15121
15114
  dialogConfig;
15122
15115
  secureModeOn;
15123
15116
  jurisdictionId;
15124
15117
  caseTypeId;
15125
- constructor(appConfig, caseNotifier, documentManagement, dialog, fileUploadStateService, jurisdictionService, rpxTranslationService) {
15118
+ constructor(appConfig, caseNotifier, documentManagement, dialog, fileUploadStateService, jurisdictionService) {
15126
15119
  super();
15127
15120
  this.appConfig = appConfig;
15128
15121
  this.caseNotifier = caseNotifier;
@@ -15130,15 +15123,9 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
15130
15123
  this.dialog = dialog;
15131
15124
  this.fileUploadStateService = fileUploadStateService;
15132
15125
  this.jurisdictionService = jurisdictionService;
15133
- this.rpxTranslationService = rpxTranslationService;
15134
15126
  }
15135
15127
  ngOnInit() {
15136
15128
  this.secureModeOn = this.appConfig.getDocumentSecureMode();
15137
- if (this.rpxTranslationService.language === 'cy') {
15138
- this.rpxTranslationService.getTranslation$(WriteDocumentFieldComponent.NO_FILE_CHOSED).subscribe((translation) => {
15139
- this.fileName = translation;
15140
- });
15141
- }
15142
15129
  if (this.secureModeOn) {
15143
15130
  this.subscribeToCaseDetails();
15144
15131
  }
@@ -15197,7 +15184,6 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
15197
15184
  }
15198
15185
  else if (fileInput.target.files[0]) {
15199
15186
  this.selectedFile = fileInput.target.files[0];
15200
- this.fileName = fileInput.target.files[0].name;
15201
15187
  this.displayFileUploadMessages(WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS);
15202
15188
  const documentUpload = this.buildDocumentUploadData(this.selectedFile);
15203
15189
  this.fileUploadStateService.setUploadInProgress(true);
@@ -15432,13 +15418,13 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
15432
15418
  this.valid = false;
15433
15419
  this.fileUploadStateService.setUploadInProgress(false);
15434
15420
  }
15435
- static ɵfac = function WriteDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(i1.RpxTranslationService)); };
15421
+ static ɵfac = function WriteDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService)); };
15436
15422
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
15437
15423
  i0.ɵɵviewQuery(_c0$R, 5);
15438
15424
  } if (rf & 2) {
15439
15425
  let _t;
15440
15426
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
15441
- } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 27, vars: 28, 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"], [1, "upload-file-container"], ["aria-label", "Choose file", 1, "button", "button-secondary", "input-label", 3, "for"], [1, "form-control", "bottom-30"], ["type", "file", 1, "input-upload-file", 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) {
15427
+ } }, 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) {
15442
15428
  const _r1 = i0.ɵɵgetCurrentView();
15443
15429
  i0.ɵɵelementStart(0, "div", 1)(1, "label", 2)(2, "span", 3);
15444
15430
  i0.ɵɵpipe(3, "ccdFieldLabel");
@@ -15456,62 +15442,49 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
15456
15442
  i0.ɵɵelementStart(12, "div", 7)(13, "div", 8);
15457
15443
  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()); });
15458
15444
  i0.ɵɵelementEnd();
15459
- i0.ɵɵelementStart(14, "div", 9)(15, "label", 10);
15460
- i0.ɵɵtext(16);
15461
- i0.ɵɵpipe(17, "rpxTranslate");
15462
- i0.ɵɵelementEnd();
15463
- i0.ɵɵelementStart(18, "span", 11)(19, "span");
15464
- i0.ɵɵtext(20);
15465
- i0.ɵɵelementEnd()()();
15466
- i0.ɵɵelementStart(21, "input", 12, 0);
15467
- i0.ɵɵlistener("keydown.Tab", function WriteDocumentFieldComponent_Template_input_keydown_Tab_21_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.fileValidationsOnTab()); })("change", function WriteDocumentFieldComponent_Template_input_change_21_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.fileChangeEvent($event, ctx.caseField.field_type.regular_expression)); });
15445
+ i0.ɵɵelementStart(14, "input", 9, 0);
15446
+ 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)); });
15468
15447
  i0.ɵɵelementEnd()()();
15469
- i0.ɵɵelementStart(23, "div", 13)(24, "button", 14);
15470
- i0.ɵɵlistener("click", function WriteDocumentFieldComponent_Template_button_click_24_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cancelUpload()); });
15471
- i0.ɵɵtext(25);
15472
- i0.ɵɵpipe(26, "rpxTranslate");
15448
+ i0.ɵɵelementStart(16, "div", 10)(17, "button", 11);
15449
+ i0.ɵɵlistener("click", function WriteDocumentFieldComponent_Template_button_click_17_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cancelUpload()); });
15450
+ i0.ɵɵtext(18);
15451
+ i0.ɵɵpipe(19, "rpxTranslate");
15473
15452
  i0.ɵɵelementEnd()();
15474
15453
  } if (rf & 2) {
15475
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(26, _c1$l, !ctx.valid));
15454
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c1$l, !ctx.valid));
15476
15455
  i0.ɵɵadvance();
15477
15456
  i0.ɵɵproperty("for", ctx.id());
15478
15457
  i0.ɵɵadvance();
15479
- i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(3, 16, ctx.caseField));
15458
+ i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(3, 13, ctx.caseField));
15480
15459
  i0.ɵɵadvance(2);
15481
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 18, ctx.caseField));
15460
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 15, ctx.caseField));
15482
15461
  i0.ɵɵadvance(2);
15483
15462
  i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
15484
15463
  i0.ɵɵadvance();
15485
15464
  i0.ɵɵproperty("hidden", !(ctx.fileUploadMessages && !ctx.valid));
15486
15465
  i0.ɵɵadvance();
15487
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 20, ctx.fileUploadMessages), " ");
15466
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 17, ctx.fileUploadMessages), " ");
15488
15467
  i0.ɵɵadvance(3);
15489
15468
  i0.ɵɵproperty("ngIf", ctx.caseField);
15490
15469
  i0.ɵɵadvance(2);
15491
15470
  i0.ɵɵproperty("id", ctx.createElementId("fileInputWrapper"));
15492
- i0.ɵɵadvance(2);
15493
- i0.ɵɵproperty("for", ctx.id());
15494
- i0.ɵɵadvance();
15495
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 22, "Choose file"), " ");
15496
- i0.ɵɵadvance(4);
15497
- i0.ɵɵtextInterpolate(ctx.fileName);
15498
15471
  i0.ɵɵadvance();
15499
15472
  i0.ɵɵpropertyInterpolate("accept", ctx.caseField.field_type.regular_expression);
15500
15473
  i0.ɵɵproperty("id", ctx.id());
15501
15474
  i0.ɵɵadvance(3);
15502
15475
  i0.ɵɵproperty("disabled", !ctx.isUploadInProgress());
15503
15476
  i0.ɵɵadvance();
15504
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(26, 24, "Cancel upload"), " ");
15505
- } }, styles: [".input-upload-file[_ngcontent-%COMP%]{width:100%;display:none}.upload-file-container[_ngcontent-%COMP%]{display:flex;align-items:baseline}.input-label[_ngcontent-%COMP%]{width:8rem}.form [_nghost-%COMP%] .grey-bar>*>.form-group, .form [_nghost-%COMP%] .grey-bar>*>*>.form-group, .form [_nghost-%COMP%] .grey-bar>*>dl.case-field{margin-left:15px;padding-left:15px}.form [_nghost-%COMP%] .grey-bar>*>.form-group:not(.form-group-error), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group:not(.form-group-error), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field:not(.form-group-error){border-left:solid 5px #b1b4b6}.form [_nghost-%COMP%] .grey-bar>*>.form-group input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>.form-group select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>.form-group textarea:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group textarea:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field textarea:not(.inline-block){display:block}"] });
15477
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 19, "Cancel upload"));
15478
+ } }, encapsulation: 2 });
15506
15479
  }
15507
15480
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDocumentFieldComponent, [{
15508
15481
  type: Component,
15509
- 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 <markdown>{{ caseField.hint_text | rpxTranslate }}</markdown>\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\n [id]=\"createElementId('fileInputWrapper')\"\n (click)=\"fileSelectEvent()\"\n (keyup)=\"fileSelectEvent()\"\n ></div>\n <div class=\"upload-file-container\">\n <label\n [for]=\"id()\"\n class=\"button button-secondary input-label\"\n aria-label=\"Choose file\">\n {{'Choose file' | rpxTranslate}}\n </label>\n <span class=\"form-control bottom-30\">\n <span>{{fileName}}</span>\n </span>\n </div>\n <input\n [id]=\"id()\"\n type=\"file\"\n class=\"input-upload-file\"\n (keydown.Tab)=\"fileValidationsOnTab()\"\n (change)=\"fileChangeEvent($event, caseField.field_type.regular_expression)\"\n accept=\"{{caseField.field_type.regular_expression}}\"\n #fileInput/>\n </div>\n</div>\n<div class=\"form-group bottom-30\">\n <button\n class=\"button button-secondary\"\n type=\"button\"\n aria-label=\"Cancel upload\"\n (click)=\"cancelUpload()\"\n [disabled]=\"!isUploadInProgress()\">\n {{'Cancel upload' | rpxTranslate}}\n </button>\n</div>\n", styles: [".input-upload-file{width:100%;display:none}.upload-file-container{display:flex;align-items:baseline}.input-label{width:8rem}.form :host::ng-deep .grey-bar>*>.form-group,.form :host::ng-deep .grey-bar>*>*>.form-group,.form :host::ng-deep .grey-bar>*>dl.case-field{margin-left:15px;padding-left:15px}.form :host::ng-deep .grey-bar>*>.form-group:not(.form-group-error),.form :host::ng-deep .grey-bar>*>*>.form-group:not(.form-group-error),.form :host::ng-deep .grey-bar>*>dl.case-field:not(.form-group-error){border-left:solid 5px #b1b4b6}.form :host::ng-deep .grey-bar>*>.form-group input:not(.inline-block),.form :host::ng-deep .grey-bar>*>.form-group select:not(.inline-block),.form :host::ng-deep .grey-bar>*>.form-group textarea:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group input:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group select:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group textarea:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field input:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field select:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field textarea:not(.inline-block){display:block}\n"] }]
15510
- }], () => [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$3.MatLegacyDialog }, { type: FileUploadStateService }, { type: JurisdictionService }, { type: i1.RpxTranslationService }], { fileInput: [{
15482
+ 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 <markdown>{{ caseField.hint_text | rpxTranslate }}</markdown>\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" }]
15483
+ }], () => [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$3.MatLegacyDialog }, { type: FileUploadStateService }, { type: JurisdictionService }], { fileInput: [{
15511
15484
  type: ViewChild,
15512
15485
  args: ['fileInput', { static: false }]
15513
15486
  }] }); })();
15514
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteDocumentFieldComponent, { className: "WriteDocumentFieldComponent", filePath: "lib/shared/components/palette/document/write-document-field.component.ts", lineNumber: 25 }); })();
15487
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteDocumentFieldComponent, { className: "WriteDocumentFieldComponent", filePath: "lib/shared/components/palette/document/write-document-field.component.ts", lineNumber: 23 }); })();
15515
15488
 
15516
15489
  class DynamicListPipe {
15517
15490
  static EMPTY = '';
@@ -23784,11 +23757,11 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
23784
23757
  } if (rf & 2) {
23785
23758
  i0.ɵɵclassProp("grey-bar", ctx.canHaveGreyBar && !ctx.caseField.hiddenCannotChange);
23786
23759
  i0.ɵɵproperty("hidden", ctx.caseField.hidden);
23787
- } }, styles: [".input-upload-file[_ngcontent-%COMP%]{width:100%;display:none}.upload-file-container[_ngcontent-%COMP%]{display:flex;align-items:baseline}.input-label[_ngcontent-%COMP%]{width:8rem}.form [_nghost-%COMP%] .grey-bar>*>.form-group, .form [_nghost-%COMP%] .grey-bar>*>*>.form-group, .form [_nghost-%COMP%] .grey-bar>*>dl.case-field{margin-left:15px;padding-left:15px}.form [_nghost-%COMP%] .grey-bar>*>.form-group:not(.form-group-error), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group:not(.form-group-error), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field:not(.form-group-error){border-left:solid 5px #b1b4b6}.form [_nghost-%COMP%] .grey-bar>*>.form-group input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>.form-group select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>.form-group textarea:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group textarea:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field textarea:not(.inline-block){display:block}"] });
23760
+ } }, styles: [".form [_nghost-%COMP%] .grey-bar>*>.form-group, .form [_nghost-%COMP%] .grey-bar>*>*>.form-group, .form [_nghost-%COMP%] .grey-bar>*>dl.case-field{margin-left:15px;padding-left:15px}.form [_nghost-%COMP%] .grey-bar>*>.form-group:not(.form-group-error), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group:not(.form-group-error), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field:not(.form-group-error){border-left:solid 5px #b1b4b6}.form [_nghost-%COMP%] .grey-bar>*>.form-group input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>.form-group select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>.form-group textarea:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group textarea:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field textarea:not(.inline-block){display:block}"] });
23788
23761
  }
23789
23762
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldWriteComponent, [{
23790
23763
  type: Component,
23791
- args: [{ selector: 'ccd-field-write', template: "<div [hidden]=\"caseField.hidden\" [class.grey-bar]=\"canHaveGreyBar && !caseField.hiddenCannotChange\">\n <ng-container #fieldContainer></ng-container>\n</div>\n", styles: [".input-upload-file{width:100%;display:none}.upload-file-container{display:flex;align-items:baseline}.input-label{width:8rem}.form :host::ng-deep .grey-bar>*>.form-group,.form :host::ng-deep .grey-bar>*>*>.form-group,.form :host::ng-deep .grey-bar>*>dl.case-field{margin-left:15px;padding-left:15px}.form :host::ng-deep .grey-bar>*>.form-group:not(.form-group-error),.form :host::ng-deep .grey-bar>*>*>.form-group:not(.form-group-error),.form :host::ng-deep .grey-bar>*>dl.case-field:not(.form-group-error){border-left:solid 5px #b1b4b6}.form :host::ng-deep .grey-bar>*>.form-group input:not(.inline-block),.form :host::ng-deep .grey-bar>*>.form-group select:not(.inline-block),.form :host::ng-deep .grey-bar>*>.form-group textarea:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group input:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group select:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group textarea:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field input:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field select:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field textarea:not(.inline-block){display:block}\n"] }]
23764
+ args: [{ selector: 'ccd-field-write', template: "<div [hidden]=\"caseField.hidden\" [class.grey-bar]=\"canHaveGreyBar && !caseField.hiddenCannotChange\">\n <ng-container #fieldContainer></ng-container>\n</div>\n", styles: [".form :host::ng-deep .grey-bar>*>.form-group,.form :host::ng-deep .grey-bar>*>*>.form-group,.form :host::ng-deep .grey-bar>*>dl.case-field{margin-left:15px;padding-left:15px}.form :host::ng-deep .grey-bar>*>.form-group:not(.form-group-error),.form :host::ng-deep .grey-bar>*>*>.form-group:not(.form-group-error),.form :host::ng-deep .grey-bar>*>dl.case-field:not(.form-group-error){border-left:solid 5px #b1b4b6}.form :host::ng-deep .grey-bar>*>.form-group input:not(.inline-block),.form :host::ng-deep .grey-bar>*>.form-group select:not(.inline-block),.form :host::ng-deep .grey-bar>*>.form-group textarea:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group input:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group select:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group textarea:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field input:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field select:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field textarea:not(.inline-block){display:block}\n"] }]
23792
23765
  }], () => [{ type: i0.ComponentFactoryResolver }, { type: PaletteService }], { caseFields: [{
23793
23766
  type: Input
23794
23767
  }], fieldContainer: [{