@hmcts/ccd-case-ui-toolkit 7.3.77-field-interpolation → 7.3.77

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.
@@ -7059,7 +7059,6 @@ class LabelSubstitutorModule {
7059
7059
  static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
7060
7060
  FieldsUtils,
7061
7061
  CurrencyPipe,
7062
- PlaceholderService
7063
7062
  ] });
7064
7063
  }
7065
7064
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LabelSubstitutorModule, [{
@@ -7074,7 +7073,6 @@ class LabelSubstitutorModule {
7074
7073
  providers: [
7075
7074
  FieldsUtils,
7076
7075
  CurrencyPipe,
7077
- PlaceholderService
7078
7076
  ]
7079
7077
  }]
7080
7078
  }], null, null); })();
@@ -11560,8 +11558,6 @@ class CaseEditPageComponent {
11560
11558
  saveDraftSub;
11561
11559
  caseFormValidationErrorsSub;
11562
11560
  logger = new StructuredLoggerService();
11563
- fieldsUtils = new FieldsUtils();
11564
- placeholderService = new PlaceholderService();
11565
11561
  caseEditFormComponents;
11566
11562
  static scrollToTop() {
11567
11563
  window.scrollTo(0, 0);
@@ -11726,7 +11722,7 @@ class CaseEditPageComponent {
11726
11722
  ? group.get(`${casefield.id}_judicialUserControl`)
11727
11723
  : group.get(casefield.id);
11728
11724
  if (fieldElement) {
11729
- const label = this.getInterpolatedFieldLabel(casefield);
11725
+ const label = casefield.label || 'Field';
11730
11726
  let id = casefield.id;
11731
11727
  if (fieldElement['component'] && (fieldElement['component'].parent || sourceFromComplexField)) {
11732
11728
  if (fieldElement['component'].idPrefix.indexOf(`_${id}_`) === -1) {
@@ -11791,7 +11787,7 @@ class CaseEditPageComponent {
11791
11787
  });
11792
11788
  }
11793
11789
  else {
11794
- this.validationErrors.push({ id, message: `Select or fill the required ${label} field` });
11790
+ this.validationErrors.push({ id, message: `Select or fill the required ${casefield.label} field` });
11795
11791
  fieldElement.markAsDirty();
11796
11792
  }
11797
11793
  }
@@ -12199,20 +12195,7 @@ class CaseEditPageComponent {
12199
12195
  });
12200
12196
  }
12201
12197
  getRpxTranslatePipeArgs(fieldLabel) {
12202
- return fieldLabel ? ({ FIELDLABEL: this.resolveLabelPlaceholders(fieldLabel) }) : null;
12203
- }
12204
- getInterpolatedFieldLabel(caseField) {
12205
- const label = caseField.label || 'Field';
12206
- return this.resolveLabelPlaceholders(label);
12207
- }
12208
- resolveLabelPlaceholders(label) {
12209
- const dataControl = this.editForm?.controls?.['data'];
12210
- const formFields = dataControl && typeof dataControl.getRawValue === 'function'
12211
- ? dataControl.getRawValue()
12212
- : {};
12213
- const contextFields = this.caseFields?.length ? this.caseFields : this.eventTrigger?.case_fields || [];
12214
- const fields = this.fieldsUtils.mergeLabelCaseFieldsAndFormFields(contextFields, formFields);
12215
- return this.placeholderService.resolvePlaceholders(fields, label);
12198
+ return fieldLabel ? ({ FIELDLABEL: fieldLabel }) : null;
12216
12199
  }
12217
12200
  onEventCanBeCompleted(eventCanBeCompleted) {
12218
12201
  this.caseEdit.onEventCanBeCompleted({
@@ -12272,7 +12255,7 @@ class CaseEditPageComponent {
12272
12255
  type: ViewChildren,
12273
12256
  args: [CaseEditFormComponent]
12274
12257
  }] }); })();
12275
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEditPageComponent, { className: "CaseEditPageComponent", filePath: "lib/shared/components/case-editor/case-edit-page/case-edit-page.component.ts", lineNumber: 38 }); })();
12258
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEditPageComponent, { className: "CaseEditPageComponent", filePath: "lib/shared/components/case-editor/case-edit-page/case-edit-page.component.ts", lineNumber: 37 }); })();
12276
12259
 
12277
12260
  class CallbackErrorsContext {
12278
12261
  triggerText;
@@ -25367,7 +25350,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
25367
25350
  type: ViewChild,
25368
25351
  args: ['fieldContainer', { static: false, read: ViewContainerRef }]
25369
25352
  }] }); })();
25370
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadComponent, { className: "FieldReadComponent", filePath: "lib/shared/components/palette/base-field/field-read.component.ts", lineNumber: 15 }); })();
25353
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadComponent, { className: "FieldReadComponent", filePath: "lib/shared/components/palette/base-field/field-read.component.ts", lineNumber: 16 }); })();
25371
25354
 
25372
25355
  const _c0$y = ["fieldContainer"];
25373
25356
  const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
@@ -29729,24 +29712,22 @@ class UpdateFlagTitleDisplayPipe extends AsyncPipe {
29729
29712
 
29730
29713
  const _c0$l = (a0, a1, a2) => [a0, false, undefined, true, a1, a2];
29731
29714
  function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
29732
- i0.ɵɵelementContainerStart(0)(1, 2);
29733
- i0.ɵɵelementStart(2, "dt", 3)(3, "span", 4);
29734
- i0.ɵɵtext(4);
29735
- i0.ɵɵpipe(5, "rpxTranslate");
29715
+ i0.ɵɵelementContainerStart(0);
29716
+ i0.ɵɵelementStart(1, "dt", 2)(2, "span", 3);
29717
+ i0.ɵɵtext(3);
29718
+ i0.ɵɵpipe(4, "rpxTranslate");
29736
29719
  i0.ɵɵelementEnd()();
29737
- i0.ɵɵelementStart(6, "dd", 3);
29738
- i0.ɵɵelement(7, "ccd-field-read", 5);
29720
+ i0.ɵɵelementStart(5, "dd", 2);
29721
+ i0.ɵɵelement(6, "ccd-field-read", 4);
29739
29722
  i0.ɵɵelementEnd();
29740
- i0.ɵɵelementContainerEnd()();
29723
+ i0.ɵɵelementContainerEnd();
29741
29724
  } if (rf & 2) {
29742
29725
  const field_r1 = ctx.$implicit;
29743
29726
  const ctx_r1 = i0.ɵɵnextContext();
29744
29727
  i0.ɵɵadvance();
29745
- i0.ɵɵproperty("caseField", field_r1)("formGroup", ctx_r1.topLevelFormGroup)("contextFields", ctx_r1.caseFields);
29746
- i0.ɵɵadvance();
29747
29728
  i0.ɵɵproperty("hidden", field_r1.hidden || field_r1.field_type.type === "Label");
29748
29729
  i0.ɵɵadvance(2);
29749
- i0.ɵɵtextInterpolate(ctx_r1.isTranslatable(field_r1) ? i0.ɵɵpipeBind1(5, 11, field_r1.label) : field_r1.label);
29730
+ i0.ɵɵtextInterpolate(ctx_r1.isTranslatable(field_r1) ? i0.ɵɵpipeBind1(4, 8, field_r1.label) : field_r1.label);
29750
29731
  i0.ɵɵadvance(2);
29751
29732
  i0.ɵɵproperty("hidden", field_r1.hidden);
29752
29733
  i0.ɵɵadvance();
@@ -29759,9 +29740,9 @@ function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf
29759
29740
  class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
29760
29741
  caseFields = [];
29761
29742
  static ɵfac = /*@__PURE__*/ (() => { let ɵReadComplexFieldRawComponent_BaseFactory; return function ReadComplexFieldRawComponent_Factory(__ngFactoryType__) { return (ɵReadComplexFieldRawComponent_BaseFactory || (ɵReadComplexFieldRawComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadComplexFieldRawComponent)))(__ngFactoryType__ || ReadComplexFieldRawComponent); }; })();
29762
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldRawComponent, selectors: [["ccd-read-complex-field-raw"]], inputs: { caseFields: "caseFields" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 12, consts: [[1, "complex-raw"], [4, "ngFor", "ngForOf"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields"], [3, "hidden"], [1, "text-16"], [3, "caseField", "context", "caseFields", "topLevelFormGroup", "idPrefix"]], template: function ReadComplexFieldRawComponent_Template(rf, ctx) { if (rf & 1) {
29743
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldRawComponent, selectors: [["ccd-read-complex-field-raw"]], inputs: { caseFields: "caseFields" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 12, consts: [[1, "complex-raw"], [4, "ngFor", "ngForOf"], [3, "hidden"], [1, "text-16"], [3, "caseField", "context", "caseFields", "topLevelFormGroup", "idPrefix"]], template: function ReadComplexFieldRawComponent_Template(rf, ctx) { if (rf & 1) {
29763
29744
  i0.ɵɵelementStart(0, "dl", 0);
29764
- i0.ɵɵtemplate(1, ReadComplexFieldRawComponent_ng_container_1_Template, 8, 13, "ng-container", 1);
29745
+ i0.ɵɵtemplate(1, ReadComplexFieldRawComponent_ng_container_1_Template, 7, 10, "ng-container", 1);
29765
29746
  i0.ɵɵpipe(2, "ccdReadFieldsFilter");
29766
29747
  i0.ɵɵelementEnd();
29767
29748
  } if (rf & 2) {
@@ -29771,17 +29752,17 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
29771
29752
  }
29772
29753
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldRawComponent, [{
29773
29754
  type: Component,
29774
- args: [{ selector: 'ccd-read-complex-field-raw', standalone: false, template: "<dl class=\"complex-raw\">\n <ng-container *ngFor=\"let field of caseField | ccdReadFieldsFilter:false :undefined :true :topLevelFormGroup :id()\">\n <ng-container ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"topLevelFormGroup\" [contextFields]=\"caseFields\">\n <dt [hidden]=\"field.hidden || field.field_type.type === 'Label'\"><span class=\"text-16\">{{isTranslatable(field) ? (field.label | rpxTranslate) : field.label}}</span></dt>\n <dd [hidden]=\"field.hidden\">\n <ccd-field-read [caseField]=\"field\" [context]=\"context\" [caseFields]=\"caseFields\" [topLevelFormGroup]=\"topLevelFormGroup\" [idPrefix]=\"idPrefix\"></ccd-field-read>\n </dd>\n </ng-container>\n </ng-container>\n</dl>\n", styles: ["dl.complex-raw{list-style-type:none;margin:5px 0 10px}dl.complex-raw dl.complex-raw{padding-left:2ch}dl.complex-raw dt{font-weight:700}\n"] }]
29755
+ args: [{ selector: 'ccd-read-complex-field-raw', standalone: false, template: "<dl class=\"complex-raw\">\n <ng-container *ngFor=\"let field of caseField | ccdReadFieldsFilter:false :undefined :true :topLevelFormGroup :id()\">\n <dt [hidden]=\"field.hidden || field.field_type.type === 'Label'\"><span class=\"text-16\">{{isTranslatable(field) ? (field.label | rpxTranslate) : field.label}}</span></dt>\n <dd [hidden]=\"field.hidden\">\n <ccd-field-read [caseField]=\"field\" [context]=\"context\" [caseFields]=\"caseFields\" [topLevelFormGroup]=\"topLevelFormGroup\" [idPrefix]=\"idPrefix\"></ccd-field-read>\n </dd>\n </ng-container>\n</dl>\n", styles: ["dl.complex-raw{list-style-type:none;margin:5px 0 10px}dl.complex-raw dl.complex-raw{padding-left:2ch}dl.complex-raw dt{font-weight:700}\n"] }]
29775
29756
  }], null, { caseFields: [{
29776
29757
  type: Input
29777
29758
  }] }); })();
29778
29759
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldRawComponent, { className: "ReadComplexFieldRawComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-raw.component.ts", lineNumber: 17 }); })();
29779
29760
 
29780
29761
  const _c0$k = (a0, a1, a2, a3) => [a0, false, undefined, true, a1, a2, a3];
29781
- function ReadComplexFieldTableComponent_ng_container_9_ng_container_2_Template(rf, ctx) { if (rf & 1) {
29762
+ function ReadComplexFieldTableComponent_ng_container_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {
29782
29763
  i0.ɵɵelementContainerStart(0);
29783
- i0.ɵɵelementStart(1, "tr", 8)(2, "td", 9)(3, "span", 3);
29784
- i0.ɵɵelement(4, "ccd-field-read", 10);
29764
+ i0.ɵɵelementStart(1, "tr", 7)(2, "td", 8)(3, "span", 3);
29765
+ i0.ɵɵelement(4, "ccd-field-read", 9);
29785
29766
  i0.ɵɵelementEnd()()();
29786
29767
  i0.ɵɵelementContainerEnd();
29787
29768
  } if (rf & 2) {
@@ -29792,13 +29773,13 @@ function ReadComplexFieldTableComponent_ng_container_9_ng_container_2_Template(r
29792
29773
  i0.ɵɵadvance(3);
29793
29774
  i0.ɵɵproperty("topLevelFormGroup", ctx_r1.topLevelFormGroup)("caseFields", ctx_r1.caseFields)("caseField", field_r1)("context", ctx_r1.context);
29794
29775
  } }
29795
- function ReadComplexFieldTableComponent_ng_container_9_ng_template_4_Template(rf, ctx) { if (rf & 1) {
29796
- i0.ɵɵelementStart(0, "tr", 11)(1, "th", 12)(2, "span", 3);
29776
+ function ReadComplexFieldTableComponent_ng_container_9_ng_template_3_Template(rf, ctx) { if (rf & 1) {
29777
+ i0.ɵɵelementStart(0, "tr", 10)(1, "th", 11)(2, "span", 3);
29797
29778
  i0.ɵɵtext(3);
29798
29779
  i0.ɵɵpipe(4, "rpxTranslate");
29799
29780
  i0.ɵɵelementEnd()();
29800
29781
  i0.ɵɵelementStart(5, "td")(6, "span", 3);
29801
- i0.ɵɵelement(7, "ccd-field-read", 10);
29782
+ i0.ɵɵelement(7, "ccd-field-read", 9);
29802
29783
  i0.ɵɵelementEnd()()();
29803
29784
  } if (rf & 2) {
29804
29785
  const field_r1 = i0.ɵɵnextContext().$implicit;
@@ -29810,19 +29791,16 @@ function ReadComplexFieldTableComponent_ng_container_9_ng_template_4_Template(rf
29810
29791
  i0.ɵɵproperty("topLevelFormGroup", ctx_r1.topLevelFormGroup)("caseFields", ctx_r1.caseFields)("caseField", field_r1)("context", ctx_r1.context);
29811
29792
  } }
29812
29793
  function ReadComplexFieldTableComponent_ng_container_9_Template(rf, ctx) { if (rf & 1) {
29813
- i0.ɵɵelementContainerStart(0)(1, 6);
29814
- i0.ɵɵtemplate(2, ReadComplexFieldTableComponent_ng_container_9_ng_container_2_Template, 5, 5, "ng-container", 7);
29815
- i0.ɵɵpipe(3, "ccdIsCompound");
29816
- i0.ɵɵtemplate(4, ReadComplexFieldTableComponent_ng_container_9_ng_template_4_Template, 8, 8, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
29817
- i0.ɵɵelementContainerEnd()();
29794
+ i0.ɵɵelementContainerStart(0);
29795
+ i0.ɵɵtemplate(1, ReadComplexFieldTableComponent_ng_container_9_ng_container_1_Template, 5, 5, "ng-container", 6);
29796
+ i0.ɵɵpipe(2, "ccdIsCompound");
29797
+ i0.ɵɵtemplate(3, ReadComplexFieldTableComponent_ng_container_9_ng_template_3_Template, 8, 8, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
29798
+ i0.ɵɵelementContainerEnd();
29818
29799
  } if (rf & 2) {
29819
29800
  const field_r1 = ctx.$implicit;
29820
- const SimpleRow_r3 = i0.ɵɵreference(5);
29821
- const ctx_r1 = i0.ɵɵnextContext();
29822
- i0.ɵɵadvance();
29823
- i0.ɵɵproperty("caseField", field_r1)("formGroup", ctx_r1.topLevelFormGroup)("contextFields", ctx_r1.caseFields);
29801
+ const SimpleRow_r3 = i0.ɵɵreference(4);
29824
29802
  i0.ɵɵadvance();
29825
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(3, 5, field_r1))("ngIfElse", SimpleRow_r3);
29803
+ i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 2, field_r1))("ngIfElse", SimpleRow_r3);
29826
29804
  } }
29827
29805
  class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
29828
29806
  // parent_ can be replaced with any ***_ - underscore is only important character
@@ -29843,7 +29821,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
29843
29821
  this.path = ReadComplexFieldTableComponent.DUMMY_STRING_PRE + this.idPrefix + ReadComplexFieldTableComponent.DUMMY_STRING_POST;
29844
29822
  }
29845
29823
  static ɵfac = /*@__PURE__*/ (() => { let ɵReadComplexFieldTableComponent_BaseFactory; return function ReadComplexFieldTableComponent_Factory(__ngFactoryType__) { return (ɵReadComplexFieldTableComponent_BaseFactory || (ɵReadComplexFieldTableComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadComplexFieldTableComponent)))(__ngFactoryType__ || ReadComplexFieldTableComponent); }; })();
29846
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 17, consts: [["SimpleRow", ""], [1, "complex-panel"], [1, "complex-panel-title"], [1, "text-16"], ["aria-describedby", "complex field table", 1, "complex-panel-table"], [4, "ngFor", "ngForOf"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields"], [4, "ngIf", "ngIfElse"], [1, "complex-panel-compound-field", 3, "hidden"], ["colspan", "2"], [3, "topLevelFormGroup", "caseFields", "caseField", "context"], [1, "complex-panel-simple-field", 3, "hidden"], ["id", "complex-panel-simple-field-label"]], template: function ReadComplexFieldTableComponent_Template(rf, ctx) { if (rf & 1) {
29824
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 17, consts: [["SimpleRow", ""], [1, "complex-panel"], [1, "complex-panel-title"], [1, "text-16"], ["aria-describedby", "complex field table", 1, "complex-panel-table"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], [1, "complex-panel-compound-field", 3, "hidden"], ["colspan", "2"], [3, "topLevelFormGroup", "caseFields", "caseField", "context"], [1, "complex-panel-simple-field", 3, "hidden"], ["id", "complex-panel-simple-field-label"]], template: function ReadComplexFieldTableComponent_Template(rf, ctx) { if (rf & 1) {
29847
29825
  i0.ɵɵelementStart(0, "div", 1)(1, "dl", 2)(2, "dt")(3, "span", 3);
29848
29826
  i0.ɵɵtext(4);
29849
29827
  i0.ɵɵpipe(5, "rpxTranslate");
@@ -29851,7 +29829,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
29851
29829
  i0.ɵɵelement(6, "dd");
29852
29830
  i0.ɵɵelementEnd();
29853
29831
  i0.ɵɵelementStart(7, "table", 4)(8, "tbody");
29854
- i0.ɵɵtemplate(9, ReadComplexFieldTableComponent_ng_container_9_Template, 6, 7, "ng-container", 5);
29832
+ i0.ɵɵtemplate(9, ReadComplexFieldTableComponent_ng_container_9_Template, 5, 4, "ng-container", 5);
29855
29833
  i0.ɵɵpipe(10, "ccdReadFieldsFilter");
29856
29834
  i0.ɵɵelementEnd()()();
29857
29835
  } if (rf & 2) {
@@ -29863,7 +29841,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
29863
29841
  }
29864
29842
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
29865
29843
  type: Component,
29866
- args: [{ selector: 'ccd-read-complex-field-table', standalone: false, template: "<div class=\"complex-panel\">\n <dl class=\"complex-panel-title\"><dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt><dd></dd></dl>\n <table class=\"complex-panel-table\" aria-describedby=\"complex field table\">\n <tbody>\n <ng-container *ngFor=\"let field of caseField | ccdReadFieldsFilter:false :undefined :true :topLevelFormGroup :path :idPrefix\">\n <ng-container ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"topLevelFormGroup\" [contextFields]=\"caseFields\">\n <ng-container *ngIf=\"(field | ccdIsCompound); else SimpleRow\">\n <tr class=\"complex-panel-compound-field\" [hidden]=\"field.hidden\">\n <td colspan=\"2\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"topLevelFormGroup\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [context]=\"context\"></ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-container>\n <ng-template #SimpleRow>\n <tr class=\"complex-panel-simple-field\" [hidden]=\"field.hidden\">\n <th id=\"complex-panel-simple-field-label\"><span class=\"text-16\">{{field.label | rpxTranslate}}</span></th>\n <td>\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"topLevelFormGroup\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [context]=\"context\"></ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-template>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n</div>\n", styles: [".complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media(min-width:641px){.complex-panel .complex-panel-title{font-size:19px;line-height:1.3157894737}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th,.complex-panel .complex-panel-table>tbody>tr:last-child>td{border-bottom:none}.complex-panel .complex-panel-simple-field th{padding-left:5px;width:295px}.complex-panel .complex-panel-compound-field td{padding:5px}\n"] }]
29844
+ args: [{ selector: 'ccd-read-complex-field-table', standalone: false, template: "<div class=\"complex-panel\">\n <dl class=\"complex-panel-title\"><dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt><dd></dd></dl>\n <table class=\"complex-panel-table\" aria-describedby=\"complex field table\">\n <tbody>\n <ng-container *ngFor=\"let field of caseField | ccdReadFieldsFilter:false :undefined :true :topLevelFormGroup :path :idPrefix\">\n <ng-container *ngIf=\"(field | ccdIsCompound); else SimpleRow\">\n <tr class=\"complex-panel-compound-field\" [hidden]=\"field.hidden\">\n <td colspan=\"2\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"topLevelFormGroup\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [context]=\"context\"></ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-container>\n <ng-template #SimpleRow>\n <tr class=\"complex-panel-simple-field\" [hidden]=\"field.hidden\">\n <th id=\"complex-panel-simple-field-label\"><span class=\"text-16\">{{field.label | rpxTranslate}}</span></th>\n <td>\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"topLevelFormGroup\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [context]=\"context\"></ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-template>\n </ng-container>\n </tbody>\n </table>\n</div>\n", styles: [".complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media(min-width:641px){.complex-panel .complex-panel-title{font-size:19px;line-height:1.3157894737}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th,.complex-panel .complex-panel-table>tbody>tr:last-child>td{border-bottom:none}.complex-panel .complex-panel-simple-field th{padding-left:5px;width:295px}.complex-panel .complex-panel-compound-field td{padding:5px}\n"] }]
29867
29845
  }], null, { caseFields: [{
29868
29846
  type: Input
29869
29847
  }] }); })();
@@ -32643,8 +32621,8 @@ i0.ɵɵsetComponentScope(ReadOrderSummaryRowComponent, function () { return [Rea
32643
32621
  i0.ɵɵsetComponentScope(ReadComplexFieldComponent, function () { return [i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, ReadComplexFieldRawComponent,
32644
32622
  ReadComplexFieldTableComponent,
32645
32623
  ReadComplexFieldCollectionTableComponent]; }, []);
32646
- i0.ɵɵsetComponentScope(ReadComplexFieldRawComponent, function () { return [i4.NgForOf, i3.NgControlStatusGroup, i3.FormGroupDirective, LabelSubstitutorDirective, FieldReadComponent]; }, function () { return [ReadFieldsFilterPipe, i1.RpxTranslatePipe]; });
32647
- i0.ɵɵsetComponentScope(ReadComplexFieldTableComponent, function () { return [i4.NgForOf, i4.NgIf, i3.NgControlStatusGroup, i3.FormGroupDirective, LabelSubstitutorDirective, FieldReadComponent]; }, function () { return [IsCompoundPipe, ReadFieldsFilterPipe, i1.RpxTranslatePipe]; });
32624
+ i0.ɵɵsetComponentScope(ReadComplexFieldRawComponent, function () { return [i4.NgForOf, FieldReadComponent]; }, function () { return [ReadFieldsFilterPipe, i1.RpxTranslatePipe]; });
32625
+ i0.ɵɵsetComponentScope(ReadComplexFieldTableComponent, function () { return [i4.NgForOf, i4.NgIf, FieldReadComponent]; }, function () { return [IsCompoundPipe, ReadFieldsFilterPipe, i1.RpxTranslatePipe]; });
32648
32626
  i0.ɵɵsetComponentScope(ReadComplexFieldCollectionTableComponent, function () { return [i4.NgForOf, i4.NgIf, FieldReadComponent,
32649
32627
  ReadCaseLinkFieldComponent]; }, function () { return [i4.KeyValuePipe, IsCompoundPipe, CcdCollectionTableCaseFieldsFilterPipe, ReadFieldsFilterPipe, i1.RpxTranslatePipe]; });
32650
32628
  i0.ɵɵsetComponentScope(ReadCaseFlagFieldComponent, function () { return [i4.NgForOf, i4.NgIf, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault,