@hmcts/ccd-case-ui-toolkit 7.4.14 → 7.4.15-accessibility-issue

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.
@@ -17781,6 +17781,30 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
17781
17781
  }], null, null); })();
17782
17782
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteDynamicListFieldComponent, { className: "WriteDynamicListFieldComponent", filePath: "lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.ts", lineNumber: 10 }); })();
17783
17783
 
17784
+ function MarkdownComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
17785
+ const _r1 = i0.ɵɵgetCurrentView();
17786
+ i0.ɵɵelementContainerStart(0);
17787
+ i0.ɵɵelementStart(1, "markdown", 2);
17788
+ i0.ɵɵpipe(2, "ccdCaseReference");
17789
+ i0.ɵɵlistener("click", function MarkdownComponent_ng_container_0_Template_markdown_click_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.interceptClick($event)); });
17790
+ i0.ɵɵelementEnd();
17791
+ i0.ɵɵelementContainerEnd();
17792
+ } if (rf & 2) {
17793
+ const ctx_r1 = i0.ɵɵnextContext();
17794
+ i0.ɵɵadvance();
17795
+ i0.ɵɵproperty("data", i0.ɵɵpipeBind1(2, 2, ctx_r1.content))("inline", true);
17796
+ } }
17797
+ function MarkdownComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
17798
+ const _r3 = i0.ɵɵgetCurrentView();
17799
+ i0.ɵɵelementStart(0, "div")(1, "markdown", 3);
17800
+ i0.ɵɵpipe(2, "ccdCaseReference");
17801
+ i0.ɵɵlistener("click", function MarkdownComponent_ng_template_1_Template_markdown_click_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.interceptClick($event)); });
17802
+ i0.ɵɵelementEnd()();
17803
+ } if (rf & 2) {
17804
+ const ctx_r1 = i0.ɵɵnextContext();
17805
+ i0.ɵɵadvance();
17806
+ i0.ɵɵproperty("data", i0.ɵɵpipeBind1(2, 1, ctx_r1.content));
17807
+ } }
17784
17808
  class MarkdownComponent {
17785
17809
  router;
17786
17810
  renderer;
@@ -17788,6 +17812,7 @@ class MarkdownComponent {
17788
17812
  cdr;
17789
17813
  content;
17790
17814
  renderUrlToTextFeature = true;
17815
+ inline = false;
17791
17816
  constructor(router, renderer, ngZone, cdr) {
17792
17817
  this.router = router;
17793
17818
  this.renderer = renderer;
@@ -17854,23 +17879,22 @@ class MarkdownComponent {
17854
17879
  return markdownLinkRegex.test(inputString);
17855
17880
  }
17856
17881
  static ɵfac = function MarkdownComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MarkdownComponent)(i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
17857
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownComponent, selectors: [["ccd-markdown"]], inputs: { content: "content", renderUrlToTextFeature: "renderUrlToTextFeature" }, standalone: false, decls: 3, vars: 3, consts: [[1, "markdown", 3, "click", "data"]], template: function MarkdownComponent_Template(rf, ctx) { if (rf & 1) {
17858
- i0.ɵɵelementStart(0, "div")(1, "markdown", 0);
17859
- i0.ɵɵpipe(2, "ccdCaseReference");
17860
- i0.ɵɵlistener("click", function MarkdownComponent_Template_markdown_click_1_listener($event) { return ctx.interceptClick($event); });
17861
- i0.ɵɵelementEnd()();
17882
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownComponent, selectors: [["ccd-markdown"]], inputs: { content: "content", renderUrlToTextFeature: "renderUrlToTextFeature", inline: "inline" }, standalone: false, decls: 3, vars: 2, consts: [["blockMarkdown", ""], [4, "ngIf", "ngIfElse"], [1, "markdown", 3, "click", "data", "inline"], [1, "markdown", 3, "click", "data"]], template: function MarkdownComponent_Template(rf, ctx) { if (rf & 1) {
17883
+ i0.ɵɵtemplate(0, MarkdownComponent_ng_container_0_Template, 3, 4, "ng-container", 1)(1, MarkdownComponent_ng_template_1_Template, 3, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
17862
17884
  } if (rf & 2) {
17863
- i0.ɵɵadvance();
17864
- i0.ɵɵproperty("data", i0.ɵɵpipeBind1(2, 1, ctx.content));
17865
- } }, dependencies: [i1$4.MarkdownComponent, CaseReferencePipe], encapsulation: 2, changeDetection: 0 });
17885
+ const blockMarkdown_r4 = i0.ɵɵreference(2);
17886
+ i0.ɵɵproperty("ngIf", ctx.inline)("ngIfElse", blockMarkdown_r4);
17887
+ } }, dependencies: [i5.NgIf, i1$4.MarkdownComponent, CaseReferencePipe], encapsulation: 2, changeDetection: 0 });
17866
17888
  }
17867
17889
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MarkdownComponent, [{
17868
17890
  type: Component,
17869
- args: [{ selector: 'ccd-markdown', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div><markdown class=\"markdown\" (click)=\"interceptClick($event)\" [data]=\"content | ccdCaseReference\"></markdown></div>\n" }]
17891
+ args: [{ selector: 'ccd-markdown', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<ng-container *ngIf=\"inline; else blockMarkdown\">\n <markdown class=\"markdown\" (click)=\"interceptClick($event)\" [data]=\"content | ccdCaseReference\" [inline]=\"true\"></markdown>\n</ng-container>\n<ng-template #blockMarkdown>\n <div><markdown class=\"markdown\" (click)=\"interceptClick($event)\" [data]=\"content | ccdCaseReference\"></markdown></div>\n</ng-template>\n" }]
17870
17892
  }], () => [{ type: i1$2.Router }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }], { content: [{
17871
17893
  type: Input
17872
17894
  }], renderUrlToTextFeature: [{
17873
17895
  type: Input
17896
+ }], inline: [{
17897
+ type: Input
17874
17898
  }] }); })();
17875
17899
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MarkdownComponent, { className: "MarkdownComponent", filePath: "lib/shared/components/palette/markdown/markdown.component.ts", lineNumber: 12 }); })();
17876
17900
 
@@ -17971,10 +17995,10 @@ function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, c
17971
17995
  i0.ɵɵelementStart(1, "div", 8)(2, "input", 9);
17972
17996
  i0.ɵɵlistener("change", function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template_input_change_2_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.onCheckChange($event)); });
17973
17997
  i0.ɵɵelementEnd();
17974
- i0.ɵɵelementStart(3, "label", 10);
17975
- i0.ɵɵelement(4, "ccd-markdown", 11);
17976
- i0.ɵɵpipe(5, "rpxTranslate");
17977
- i0.ɵɵelementEnd()();
17998
+ i0.ɵɵelementStart(3, "label", 10)(4, "span", 5);
17999
+ i0.ɵɵelement(5, "ccd-markdown", 11);
18000
+ i0.ɵɵpipe(6, "rpxTranslate");
18001
+ i0.ɵɵelementEnd()()();
17978
18002
  i0.ɵɵelementContainerEnd();
17979
18003
  } if (rf & 2) {
17980
18004
  const checkbox_r3 = ctx.$implicit;
@@ -17983,8 +18007,8 @@ function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, c
17983
18007
  i0.ɵɵproperty("id", i0.ɵɵinterpolate(ctx_r0.createElementId(checkbox_r3.code)))("name", i0.ɵɵinterpolate(ctx_r0.id()))("value", checkbox_r3.code)("checked", ctx_r0.isSelected(checkbox_r3.code));
17984
18008
  i0.ɵɵadvance();
17985
18009
  i0.ɵɵproperty("for", i0.ɵɵinterpolate(ctx_r0.createElementId(checkbox_r3.code)));
17986
- i0.ɵɵadvance();
17987
- i0.ɵɵproperty("content", i0.ɵɵpipeBind1(5, 10, checkbox_r3.label))("renderUrlToTextFeature", false);
18010
+ i0.ɵɵadvance(2);
18011
+ i0.ɵɵproperty("content", i0.ɵɵpipeBind1(6, 11, checkbox_r3.label))("renderUrlToTextFeature", false)("inline", true);
17988
18012
  } }
17989
18013
  class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
17990
18014
  checkboxes;
@@ -18048,11 +18072,11 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
18048
18072
  }
18049
18073
  }
18050
18074
  static ɵfac = /*@__PURE__*/ (() => { let ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory; return function WriteDynamicMultiSelectListFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory || (ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteDynamicMultiSelectListFieldComponent)))(__ngFactoryType__ || WriteDynamicMultiSelectListFieldComponent); }; })();
18051
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDynamicMultiSelectListFieldComponent, selectors: [["ccd-write-dynamic-multi-select-list-field"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 7, vars: 8, consts: [[1, "form-group", "bottom-30", 3, "ngClass", "id"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "multiple-choice"], ["type", "checkbox", 1, "form-control", 3, "change", "id", "name", "value", "checked"], [1, "form-label", 3, "for"], [3, "content", "renderUrlToTextFeature"]], template: function WriteDynamicMultiSelectListFieldComponent_Template(rf, ctx) { if (rf & 1) {
18075
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDynamicMultiSelectListFieldComponent, selectors: [["ccd-write-dynamic-multi-select-list-field"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 7, vars: 8, consts: [[1, "form-group", "bottom-30", 3, "ngClass", "id"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "multiple-choice"], ["type", "checkbox", 1, "form-control", 3, "change", "id", "name", "value", "checked"], [3, "for"], [3, "content", "renderUrlToTextFeature", "inline"]], template: function WriteDynamicMultiSelectListFieldComponent_Template(rf, ctx) { if (rf & 1) {
18052
18076
  i0.ɵɵelementStart(0, "div", 0)(1, "fieldset")(2, "legend");
18053
18077
  i0.ɵɵtemplate(3, WriteDynamicMultiSelectListFieldComponent_span_3_Template, 3, 3, "span", 1)(4, WriteDynamicMultiSelectListFieldComponent_span_4_Template, 2, 1, "span", 2)(5, WriteDynamicMultiSelectListFieldComponent_span_5_Template, 3, 3, "span", 3);
18054
18078
  i0.ɵɵelementEnd();
18055
- i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 6, 12, "ng-container", 4);
18079
+ i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 7, 13, "ng-container", 4);
18056
18080
  i0.ɵɵelementEnd()();
18057
18081
  } if (rf & 2) {
18058
18082
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$T, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
@@ -18068,7 +18092,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
18068
18092
  }
18069
18093
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDynamicMultiSelectListFieldComponent, [{
18070
18094
  type: Component,
18071
- args: [{ selector: 'ccd-write-dynamic-multi-select-list-field', standalone: false, template: "<div class=\"form-group bottom-30\" [ngClass]=\"{'error': !checkboxes.valid && checkboxes.touched}\" [id]=\"id()\">\n\n <fieldset>\n\n <legend>\n <span *ngIf=\"caseField.label\" class=\"form-label\">{{caseField | ccdFieldLabel}}</span>\n <span *ngIf=\"caseField.hint_text\" class=\"form-hint\">{{caseField.hint_text}}</span>\n <span *ngIf=\"checkboxes.errors && checkboxes.touched\" class=\"error-message\">{{checkboxes.errors |\n ccdFirstError}}</span>\n </legend>\n\n <ng-container *ngFor=\"let checkbox of caseField.list_items\">\n\n <div class=\"multiple-choice\">\n <input class=\"form-control\" id=\"{{ createElementId(checkbox.code) }}\" name=\"{{ id() }}\" type=\"checkbox\"\n [value]=\"checkbox.code\" [checked]=\"isSelected(checkbox.code)\" (change)=\"onCheckChange($event)\">\n <label class=\"form-label\" for=\"{{ createElementId(checkbox.code) }}\">\n <ccd-markdown [content]=\"checkbox.label | rpxTranslate\" [renderUrlToTextFeature]=\"false\"></ccd-markdown>\n </label>\n </div>\n\n </ng-container>\n\n </fieldset>\n\n</div>\n", styles: ["ccd-markdown{display:inline-block}\n"] }]
18095
+ args: [{ selector: 'ccd-write-dynamic-multi-select-list-field', standalone: false, template: "<div class=\"form-group bottom-30\" [ngClass]=\"{'error': !checkboxes.valid && checkboxes.touched}\" [id]=\"id()\">\n\n <fieldset>\n\n <legend>\n <span *ngIf=\"caseField.label\" class=\"form-label\">{{caseField | ccdFieldLabel}}</span>\n <span *ngIf=\"caseField.hint_text\" class=\"form-hint\">{{caseField.hint_text}}</span>\n <span *ngIf=\"checkboxes.errors && checkboxes.touched\" class=\"error-message\">{{checkboxes.errors |\n ccdFirstError}}</span>\n </legend>\n\n <ng-container *ngFor=\"let checkbox of caseField.list_items\">\n\n <div class=\"multiple-choice\">\n <input class=\"form-control\" id=\"{{ createElementId(checkbox.code) }}\" name=\"{{ id() }}\" type=\"checkbox\"\n [value]=\"checkbox.code\" [checked]=\"isSelected(checkbox.code)\" (change)=\"onCheckChange($event)\">\n <label for=\"{{ createElementId(checkbox.code) }}\">\n <span class=\"form-label\">\n <ccd-markdown [content]=\"checkbox.label | rpxTranslate\" [renderUrlToTextFeature]=\"false\" [inline]=\"true\"></ccd-markdown>\n </span>\n </label>\n </div>\n\n </ng-container>\n\n </fieldset>\n\n</div>\n", styles: ["ccd-markdown{display:inline-block}\n"] }]
18072
18096
  }], null, null); })();
18073
18097
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteDynamicMultiSelectListFieldComponent, { className: "WriteDynamicMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.ts", lineNumber: 11 }); })();
18074
18098
 
@@ -36304,7 +36328,7 @@ class ReadOrganisationFieldRawComponent extends AbstractFieldReadComponent {
36304
36328
  }] }); })();
36305
36329
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldRawComponent, { className: "ReadOrganisationFieldRawComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field-raw.component.ts", lineNumber: 16 }); })();
36306
36330
 
36307
- function ReadOrganisationFieldTableComponent_table_12_Template(rf, ctx) { if (rf & 1) {
36331
+ function ReadOrganisationFieldTableComponent_table_13_Template(rf, ctx) { if (rf & 1) {
36308
36332
  i0.ɵɵelementStart(0, "table", 1)(1, "tr", 6);
36309
36333
  i0.ɵɵelement(2, "th", 7);
36310
36334
  i0.ɵɵelementStart(3, "td", 8)(4, "span", 4);
@@ -36352,29 +36376,31 @@ class ReadOrganisationFieldTableComponent extends AbstractFieldReadComponent {
36352
36376
  }
36353
36377
  }
36354
36378
  static ɵfac = function ReadOrganisationFieldTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadOrganisationFieldTableComponent)(i0.ɵɵdirectiveInject(OrganisationService), i0.ɵɵdirectiveInject(OrganisationConverter)); };
36355
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrganisationFieldTableComponent, selectors: [["ccd-read-organisation-field-table"]], inputs: { caseFields: "caseFields" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 14, vars: 9, consts: [[1, "complex-panel"], [1, "complex-field-table"], [1, "complex-field-title"], [1, "complex-panel-title"], [1, "text-16"], ["class", "complex-field-table", 4, "ngIf"], [1, "complex-panel-compound-field"], [2, "display", "none"], [1, "label-width-medium"], [3, "content"]], template: function ReadOrganisationFieldTableComponent_Template(rf, ctx) { if (rf & 1) {
36379
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrganisationFieldTableComponent, selectors: [["ccd-read-organisation-field-table"]], inputs: { caseFields: "caseFields" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 15, vars: 9, consts: [[1, "complex-panel"], [1, "complex-field-table"], [1, "complex-field-title"], [1, "complex-panel-title"], [1, "text-16"], ["class", "complex-field-table", 4, "ngIf"], [1, "complex-panel-compound-field"], [2, "display", "none"], [1, "label-width-medium"], [3, "content"]], template: function ReadOrganisationFieldTableComponent_Template(rf, ctx) { if (rf & 1) {
36356
36380
  i0.ɵɵelementStart(0, "div", 0)(1, "table", 1);
36357
36381
  i0.ɵɵpipe(2, "rpxTranslate");
36358
36382
  i0.ɵɵelementStart(3, "tbody")(4, "tr")(5, "th", 2)(6, "dl", 3)(7, "dt")(8, "span", 4);
36359
36383
  i0.ɵɵtext(9);
36360
36384
  i0.ɵɵpipe(10, "rpxTranslate");
36361
- i0.ɵɵelementEnd()()()();
36362
- i0.ɵɵelementStart(11, "td");
36363
- i0.ɵɵtemplate(12, ReadOrganisationFieldTableComponent_table_12_Template, 16, 5, "table", 5);
36364
- i0.ɵɵpipe(13, "async");
36385
+ i0.ɵɵelementEnd()();
36386
+ i0.ɵɵelement(11, "dd");
36387
+ i0.ɵɵelementEnd()();
36388
+ i0.ɵɵelementStart(12, "td");
36389
+ i0.ɵɵtemplate(13, ReadOrganisationFieldTableComponent_table_13_Template, 16, 5, "table", 5);
36390
+ i0.ɵɵpipe(14, "async");
36365
36391
  i0.ɵɵelementEnd()()()()();
36366
36392
  } if (rf & 2) {
36367
36393
  i0.ɵɵadvance();
36368
36394
  i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(2, 3, "complex organisation field table"));
36369
36395
  i0.ɵɵadvance(8);
36370
36396
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 5, ctx.caseField.label));
36371
- i0.ɵɵadvance(3);
36372
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(13, 7, ctx.selectedOrg$));
36397
+ i0.ɵɵadvance(4);
36398
+ i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(14, 7, ctx.selectedOrg$));
36373
36399
  } }, dependencies: [i5.NgIf, MarkdownComponent, i5.AsyncPipe, i1.RpxTranslatePipe], styles: [".govuk-js-link[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link[_ngcontent-%COMP%]:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link[_ngcontent-%COMP%]:visited{color:#4c2c92}.hmcts-banner[_ngcontent-%COMP%]{border:0 solid;margin-bottom:10px;color:#000}.hmcts-banner[_ngcontent-%COMP%] .warning-message[_ngcontent-%COMP%]{font-weight:700}.govuk-hint[_ngcontent-%COMP%]{font-size:1.1rem}.name-header[_ngcontent-%COMP%]{font-weight:700;margin-top:10px;font-size:18px}.td-address[_ngcontent-%COMP%]{width:90%;padding-top:2px}.td-select[_ngcontent-%COMP%]{width:10%}.warning-panel[_ngcontent-%COMP%]{background-color:#e7ebef;height:40px;margin-bottom:0;align-items:center;display:flex}.warning-panel[_ngcontent-%COMP%] .warning-message[_ngcontent-%COMP%]{padding-left:15px}.complex-field-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{border:none}.complex-field-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%], .complex-field-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.complex-field-title[_ngcontent-%COMP%]{width:300px}.label-width-small[_ngcontent-%COMP%]{width:100px}.label-width-medium[_ngcontent-%COMP%]{width:150px}.scroll-container[_ngcontent-%COMP%]{height:600px;overflow-y:scroll}.no-result-message[_ngcontent-%COMP%]{margin-top:15px}"] });
36374
36400
  }
36375
36401
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadOrganisationFieldTableComponent, [{
36376
36402
  type: Component,
36377
- args: [{ selector: 'ccd-read-organisation-field-table', standalone: false, template: "<div class=\"complex-panel\">\n <table class=\"complex-field-table\" [attr.aria-describedby]=\"'complex organisation field table' | rpxTranslate\">\n <tbody>\n <tr>\n <th class=\"complex-field-title\">\n <dl class=\"complex-panel-title\">\n <dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt>\n </dl>\n </th>\n <td>\n <table class=\"complex-field-table\" *ngIf=\"(selectedOrg$ | async) as selectedOrg\"\n [attr.aria-describedby]=\"'selected organisation field table'\">\n <tr class=\"complex-panel-compound-field\">\n <th style=\"display: none;\"></th>\n <td class=\"label-width-medium\"><span class=\"text-16\">{{'Name:'}}</span></td>\n <td><span class=\"text-16\">{{selectedOrg.name}}</span></td>\n </tr>\n <tr class=\"complex-panel-compound-field\">\n <th style=\"display: none;\"></th>\n <td class=\"label-width-medium\"><span class=\"text-16\">{{'Address:'}}</span></td>\n <td>\n <ccd-markdown [content]=\"selectedOrg.address\"></ccd-markdown>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n", 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}.hmcts-banner{border:0 solid;margin-bottom:10px;color:#000}.hmcts-banner .warning-message{font-weight:700}.govuk-hint{font-size:1.1rem}.name-header{font-weight:700;margin-top:10px;font-size:18px}.td-address{width:90%;padding-top:2px}.td-select{width:10%}.warning-panel{background-color:#e7ebef;height:40px;margin-bottom:0;align-items:center;display:flex}.warning-panel .warning-message{padding-left:15px}.complex-field-table>tbody>tr>th{border:none}.complex-field-table>tbody>tr:last-child>th,.complex-field-table>tbody>tr:last-child>td{border-bottom:none}.complex-field-title{width:300px}.label-width-small{width:100px}.label-width-medium{width:150px}.scroll-container{height:600px;overflow-y:scroll}.no-result-message{margin-top:15px}\n"] }]
36403
+ args: [{ selector: 'ccd-read-organisation-field-table', standalone: false, template: "<div class=\"complex-panel\">\n <table class=\"complex-field-table\" [attr.aria-describedby]=\"'complex organisation field table' | rpxTranslate\">\n <tbody>\n <tr>\n <th class=\"complex-field-title\">\n <dl class=\"complex-panel-title\">\n <dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt>\n <dd></dd>\n </dl>\n </th>\n <td>\n <table class=\"complex-field-table\" *ngIf=\"(selectedOrg$ | async) as selectedOrg\"\n [attr.aria-describedby]=\"'selected organisation field table'\">\n <tr class=\"complex-panel-compound-field\">\n <th style=\"display: none;\"></th>\n <td class=\"label-width-medium\"><span class=\"text-16\">{{'Name:'}}</span></td>\n <td><span class=\"text-16\">{{selectedOrg.name}}</span></td>\n </tr>\n <tr class=\"complex-panel-compound-field\">\n <th style=\"display: none;\"></th>\n <td class=\"label-width-medium\"><span class=\"text-16\">{{'Address:'}}</span></td>\n <td>\n <ccd-markdown [content]=\"selectedOrg.address\"></ccd-markdown>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n", 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}.hmcts-banner{border:0 solid;margin-bottom:10px;color:#000}.hmcts-banner .warning-message{font-weight:700}.govuk-hint{font-size:1.1rem}.name-header{font-weight:700;margin-top:10px;font-size:18px}.td-address{width:90%;padding-top:2px}.td-select{width:10%}.warning-panel{background-color:#e7ebef;height:40px;margin-bottom:0;align-items:center;display:flex}.warning-panel .warning-message{padding-left:15px}.complex-field-table>tbody>tr>th{border:none}.complex-field-table>tbody>tr:last-child>th,.complex-field-table>tbody>tr:last-child>td{border-bottom:none}.complex-field-title{width:300px}.label-width-small{width:100px}.label-width-medium{width:150px}.scroll-container{height:600px;overflow-y:scroll}.no-result-message{margin-top:15px}\n"] }]
36378
36404
  }], () => [{ type: OrganisationService }, { type: OrganisationConverter }], { caseFields: [{
36379
36405
  type: Input
36380
36406
  }] }); })();