@hmcts/ccd-case-ui-toolkit 5.0.44-angular11-updgrade-welsh-release-v5 → 5.0.44-angular11-welsh-release-part1-2
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.
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +127 -99
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/palette/base-field/field-write.component.js +2 -1
- package/esm2015/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.js +31 -25
- package/esm2015/lib/shared/components/palette/case-flag/read-case-flag-field.component.js +18 -12
- package/esm2015/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.js +9 -7
- package/esm2015/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.js +11 -7
- package/esm2015/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.js +9 -7
- package/esm2015/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.js +9 -7
- package/esm2015/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.js +4 -3
- package/esm2015/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.js +9 -7
- package/esm2015/lib/shared/components/palette/palette.module.js +6 -6
- package/esm2015/lib/shared/components/palette/text/read-text-field.component.js +7 -5
- package/esm2015/lib/shared/components/palette/text-area/read-text-area-field.component.js +7 -5
- package/esm2015/lib/shared/components/palette/yes-no/read-yes-no-field.component.js +7 -5
- package/esm2015/lib/shared/components/search-filters/search-filters.component.js +1 -1
- package/esm2015/lib/shared/components/search-result/search-result.component.js +17 -15
- package/esm2015/lib/shared/components/workbasket-filters/workbasket-filters.component.js +7 -5
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +124 -96
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/base-field/field-write.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -39,12 +39,12 @@ import * as i3$1 from '@angular/material/input';
|
|
|
39
39
|
import { MatInputModule } from '@angular/material/input';
|
|
40
40
|
import * as i3 from '@hmcts/ccpay-web-component';
|
|
41
41
|
import { PaymentLibModule } from '@hmcts/ccpay-web-component';
|
|
42
|
+
import * as i13 from '@hmcts/media-viewer';
|
|
43
|
+
import { MediaViewerModule } from '@hmcts/media-viewer';
|
|
42
44
|
import * as i2$2 from '@nicky-lenaers/ngx-scroll-to';
|
|
43
45
|
import { ScrollToModule } from '@nicky-lenaers/ngx-scroll-to';
|
|
44
46
|
import * as i1$5 from 'ngx-md';
|
|
45
47
|
import { NgxMdModule } from 'ngx-md';
|
|
46
|
-
import * as i13 from '@hmcts/media-viewer';
|
|
47
|
-
import { MediaViewerModule } from '@hmcts/media-viewer';
|
|
48
48
|
import { NgxMatMomentAdapter, NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS } from '@angular-material-components/moment-adapter';
|
|
49
49
|
import * as i6$2 from '@angular/cdk/portal';
|
|
50
50
|
import { ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
|
@@ -11011,41 +11011,47 @@ function ReadCaseFlagFieldComponent_ng_container_1_Template(rf, ctx) { if (rf &
|
|
|
11011
11011
|
i0.ɵɵadvance(1);
|
|
11012
11012
|
i0.ɵɵproperty("flagForSummaryDisplay", ctx_r0.flagForSummaryDisplay)("summaryListDisplayMode", ctx_r0.summaryListDisplayMode);
|
|
11013
11013
|
} }
|
|
11014
|
-
function
|
|
11014
|
+
function ReadCaseFlagFieldComponent_ng_container_2_div_4_ccd_case_flag_table_1_Template(rf, ctx) { if (rf & 1) {
|
|
11015
11015
|
i0.ɵɵelement(0, "ccd-case-flag-table", 8);
|
|
11016
|
+
i0.ɵɵpipe(1, "rpxTranslate");
|
|
11016
11017
|
} if (rf & 2) {
|
|
11017
11018
|
const flagData_r4 = i0.ɵɵnextContext().$implicit;
|
|
11018
|
-
i0.ɵɵproperty("tableCaption", flagData_r4.flags.partyName)("flagData", flagData_r4)("firstColumnHeader", "Party level flags");
|
|
11019
|
+
i0.ɵɵproperty("tableCaption", flagData_r4.flags.partyName)("flagData", flagData_r4)("firstColumnHeader", i0.ɵɵpipeBind1(1, 3, "Party level flags"));
|
|
11019
11020
|
} }
|
|
11020
|
-
function
|
|
11021
|
+
function ReadCaseFlagFieldComponent_ng_container_2_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
11021
11022
|
i0.ɵɵelementStart(0, "div");
|
|
11022
|
-
i0.ɵɵtemplate(1,
|
|
11023
|
+
i0.ɵɵtemplate(1, ReadCaseFlagFieldComponent_ng_container_2_div_4_ccd_case_flag_table_1_Template, 2, 5, "ccd-case-flag-table", 7);
|
|
11023
11024
|
i0.ɵɵelementEnd();
|
|
11024
11025
|
} if (rf & 2) {
|
|
11025
11026
|
const flagData_r4 = ctx.$implicit;
|
|
11026
11027
|
i0.ɵɵadvance(1);
|
|
11027
11028
|
i0.ɵɵproperty("ngIf", flagData_r4.flags.partyName);
|
|
11028
11029
|
} }
|
|
11029
|
-
function
|
|
11030
|
+
function ReadCaseFlagFieldComponent_ng_container_2_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
11030
11031
|
i0.ɵɵelementStart(0, "div");
|
|
11031
11032
|
i0.ɵɵelement(1, "ccd-case-flag-table", 8);
|
|
11033
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
11034
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
11032
11035
|
i0.ɵɵelementEnd();
|
|
11033
11036
|
} if (rf & 2) {
|
|
11034
11037
|
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
11035
11038
|
i0.ɵɵadvance(1);
|
|
11036
|
-
i0.ɵɵproperty("tableCaption", "Case level flags")("flagData", ctx_r3.caseLevelCaseFlagData)("firstColumnHeader", "Case flags");
|
|
11039
|
+
i0.ɵɵproperty("tableCaption", i0.ɵɵpipeBind1(2, 3, "Case level flags"))("flagData", ctx_r3.caseLevelCaseFlagData)("firstColumnHeader", i0.ɵɵpipeBind1(3, 5, "Case flags"));
|
|
11037
11040
|
} }
|
|
11038
11041
|
function ReadCaseFlagFieldComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
11039
11042
|
i0.ɵɵelementContainerStart(0);
|
|
11040
11043
|
i0.ɵɵelementStart(1, "h2", 4);
|
|
11041
|
-
i0.ɵɵtext(2
|
|
11044
|
+
i0.ɵɵtext(2);
|
|
11045
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
11042
11046
|
i0.ɵɵelementEnd();
|
|
11043
|
-
i0.ɵɵtemplate(
|
|
11044
|
-
i0.ɵɵtemplate(
|
|
11047
|
+
i0.ɵɵtemplate(4, ReadCaseFlagFieldComponent_ng_container_2_div_4_Template, 2, 1, "div", 5);
|
|
11048
|
+
i0.ɵɵtemplate(5, ReadCaseFlagFieldComponent_ng_container_2_div_5_Template, 4, 7, "div", 6);
|
|
11045
11049
|
i0.ɵɵelementContainerEnd();
|
|
11046
11050
|
} if (rf & 2) {
|
|
11047
11051
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
11048
|
-
i0.ɵɵadvance(
|
|
11052
|
+
i0.ɵɵadvance(2);
|
|
11053
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 3, "Case flags"));
|
|
11054
|
+
i0.ɵɵadvance(2);
|
|
11049
11055
|
i0.ɵɵproperty("ngForOf", ctx_r1.partyLevelCaseFlagData);
|
|
11050
11056
|
i0.ɵɵadvance(1);
|
|
11051
11057
|
i0.ɵɵproperty("ngIf", ctx_r1.caseLevelCaseFlagData);
|
|
@@ -11129,7 +11135,7 @@ ReadCaseFlagFieldComponent.ɵfac = function ReadCaseFlagFieldComponent_Factory(t
|
|
|
11129
11135
|
ReadCaseFlagFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadCaseFlagFieldComponent, selectors: [["ccd-read-case-flag-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "flagForSummaryDisplay", "summaryListDisplayMode"], [1, "govuk-heading-l"], [4, "ngFor", "ngForOf"], [4, "ngIf"], [3, "tableCaption", "flagData", "firstColumnHeader", 4, "ngIf"], [3, "tableCaption", "flagData", "firstColumnHeader"]], template: function ReadCaseFlagFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11130
11136
|
i0.ɵɵelementContainerStart(0, 0);
|
|
11131
11137
|
i0.ɵɵtemplate(1, ReadCaseFlagFieldComponent_ng_container_1_Template, 2, 2, "ng-container", 1);
|
|
11132
|
-
i0.ɵɵtemplate(2, ReadCaseFlagFieldComponent_ng_container_2_Template,
|
|
11138
|
+
i0.ɵɵtemplate(2, ReadCaseFlagFieldComponent_ng_container_2_Template, 6, 5, "ng-container", 2);
|
|
11133
11139
|
i0.ɵɵelementContainerEnd();
|
|
11134
11140
|
} if (rf & 2) {
|
|
11135
11141
|
i0.ɵɵproperty("ngSwitch", ctx.context);
|
|
@@ -13047,21 +13053,22 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
|
|
|
13047
13053
|
}
|
|
13048
13054
|
}
|
|
13049
13055
|
ReadDynamicListFieldComponent.ɵfac = function ReadDynamicListFieldComponent_Factory(t) { return ɵReadDynamicListFieldComponent_BaseFactory(t || ReadDynamicListFieldComponent); };
|
|
13050
|
-
ReadDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadDynamicListFieldComponent, selectors: [["ccd-read-dynamic-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
13056
|
+
ReadDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadDynamicListFieldComponent, selectors: [["ccd-read-dynamic-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadDynamicListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
13051
13057
|
i0.ɵɵelementStart(0, "span", 0);
|
|
13052
13058
|
i0.ɵɵtext(1);
|
|
13053
|
-
i0.ɵɵpipe(2, "
|
|
13059
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
13060
|
+
i0.ɵɵpipe(3, "ccdDynamicList");
|
|
13054
13061
|
i0.ɵɵelementEnd();
|
|
13055
13062
|
} if (rf & 2) {
|
|
13056
13063
|
i0.ɵɵadvance(1);
|
|
13057
|
-
i0.ɵɵtextInterpolate(i0.ɵɵ
|
|
13058
|
-
} }, pipes: [DynamicListPipe], encapsulation: 2 });
|
|
13064
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx.caseField.value, ctx.caseField.list_items)));
|
|
13065
|
+
} }, pipes: [i1.RpxTranslatePipe, DynamicListPipe], encapsulation: 2 });
|
|
13059
13066
|
const ɵReadDynamicListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadDynamicListFieldComponent);
|
|
13060
13067
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadDynamicListFieldComponent, [{
|
|
13061
13068
|
type: Component,
|
|
13062
13069
|
args: [{
|
|
13063
13070
|
selector: 'ccd-read-dynamic-list-field',
|
|
13064
|
-
template: '<span class="text-16">{{caseField.value | ccdDynamicList:caseField.list_items}}</span>',
|
|
13071
|
+
template: '<span class="text-16">{{caseField.value | ccdDynamicList:caseField.list_items | rpxTranslate}}</span>',
|
|
13065
13072
|
}]
|
|
13066
13073
|
}], null, null); })();
|
|
13067
13074
|
|
|
@@ -13106,15 +13113,16 @@ function WriteDynamicListFieldComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
13106
13113
|
i0.ɵɵadvance(1);
|
|
13107
13114
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r3.dynamicListFormControl.errors, ctx_r3.caseField.label)));
|
|
13108
13115
|
} }
|
|
13109
|
-
function
|
|
13116
|
+
function WriteDynamicListFieldComponent_option_10_Template(rf, ctx) { if (rf & 1) {
|
|
13110
13117
|
i0.ɵɵelementStart(0, "option", 11);
|
|
13111
13118
|
i0.ɵɵtext(1);
|
|
13119
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
13112
13120
|
i0.ɵɵelementEnd();
|
|
13113
13121
|
} if (rf & 2) {
|
|
13114
13122
|
const type_r5 = ctx.$implicit;
|
|
13115
13123
|
i0.ɵɵproperty("ngValue", type_r5.code);
|
|
13116
13124
|
i0.ɵɵadvance(1);
|
|
13117
|
-
i0.ɵɵtextInterpolate(type_r5.label);
|
|
13125
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, type_r5.label));
|
|
13118
13126
|
} }
|
|
13119
13127
|
const _c0$L = function (a0) { return { "form-group-error": a0 }; };
|
|
13120
13128
|
class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
@@ -13142,7 +13150,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
13142
13150
|
}
|
|
13143
13151
|
}
|
|
13144
13152
|
WriteDynamicListFieldComponent.ɵfac = function WriteDynamicListFieldComponent_Factory(t) { return ɵWriteDynamicListFieldComponent_BaseFactory(t || WriteDynamicListFieldComponent); };
|
|
13145
|
-
WriteDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynamicListFieldComponent, selectors: [["ccd-write-dynamic-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
13153
|
+
WriteDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynamicListFieldComponent, selectors: [["ccd-write-dynamic-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 15, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-control", "ccd-dropdown", "bottom-30", 3, "id", "formControl"], [3, "ngValue"], ["role", "option", 3, "ngValue", 4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], ["role", "option", 3, "ngValue"]], template: function WriteDynamicListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
13146
13154
|
i0.ɵɵelementStart(0, "div", 0);
|
|
13147
13155
|
i0.ɵɵelementStart(1, "label", 1);
|
|
13148
13156
|
i0.ɵɵtemplate(2, WriteDynamicListFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
@@ -13152,13 +13160,14 @@ WriteDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynam
|
|
|
13152
13160
|
i0.ɵɵtemplate(5, WriteDynamicListFieldComponent_span_5_Template, 4, 6, "span", 4);
|
|
13153
13161
|
i0.ɵɵelementStart(6, "select", 5);
|
|
13154
13162
|
i0.ɵɵelementStart(7, "option", 6);
|
|
13155
|
-
i0.ɵɵtext(8
|
|
13163
|
+
i0.ɵɵtext(8);
|
|
13164
|
+
i0.ɵɵpipe(9, "rpxTranslate");
|
|
13156
13165
|
i0.ɵɵelementEnd();
|
|
13157
|
-
i0.ɵɵtemplate(
|
|
13166
|
+
i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
|
|
13158
13167
|
i0.ɵɵelementEnd();
|
|
13159
13168
|
i0.ɵɵelementEnd();
|
|
13160
13169
|
} if (rf & 2) {
|
|
13161
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
13170
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$L, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
13162
13171
|
i0.ɵɵadvance(1);
|
|
13163
13172
|
i0.ɵɵproperty("for", ctx.id());
|
|
13164
13173
|
i0.ɵɵadvance(1);
|
|
@@ -13173,6 +13182,8 @@ WriteDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynam
|
|
|
13173
13182
|
i0.ɵɵproperty("id", ctx.id())("formControl", ctx.dynamicListFormControl);
|
|
13174
13183
|
i0.ɵɵadvance(1);
|
|
13175
13184
|
i0.ɵɵproperty("ngValue", null);
|
|
13185
|
+
i0.ɵɵadvance(1);
|
|
13186
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 11, "--Select a value--"));
|
|
13176
13187
|
i0.ɵɵadvance(2);
|
|
13177
13188
|
i0.ɵɵproperty("ngForOf", ctx.caseField.list_items);
|
|
13178
13189
|
} }, directives: [i2.NgClass, i2.NgIf, i2$1.SelectControlValueAccessor, i2$1.NgControlStatus, i2$1.FormControlDirective, i2$1.NgSelectOption, i2$1.ɵangular_packages_forms_forms_z, i2.NgForOf], pipes: [i1.RpxTranslatePipe, FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
@@ -13227,21 +13238,22 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
13227
13238
|
}
|
|
13228
13239
|
}
|
|
13229
13240
|
ReadDynamicRadioListFieldComponent.ɵfac = function ReadDynamicRadioListFieldComponent_Factory(t) { return ɵReadDynamicRadioListFieldComponent_BaseFactory(t || ReadDynamicRadioListFieldComponent); };
|
|
13230
|
-
ReadDynamicRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadDynamicRadioListFieldComponent, selectors: [["ccd-read-dynamic-radio-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
13241
|
+
ReadDynamicRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadDynamicRadioListFieldComponent, selectors: [["ccd-read-dynamic-radio-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadDynamicRadioListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
13231
13242
|
i0.ɵɵelementStart(0, "span", 0);
|
|
13232
13243
|
i0.ɵɵtext(1);
|
|
13233
|
-
i0.ɵɵpipe(2, "
|
|
13244
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
13245
|
+
i0.ɵɵpipe(3, "ccdDynamicRadioList");
|
|
13234
13246
|
i0.ɵɵelementEnd();
|
|
13235
13247
|
} if (rf & 2) {
|
|
13236
13248
|
i0.ɵɵadvance(1);
|
|
13237
|
-
i0.ɵɵtextInterpolate(i0.ɵɵ
|
|
13238
|
-
} }, pipes: [DynamicRadioListPipe], encapsulation: 2 });
|
|
13249
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx.caseField.value, ctx.caseField.list_items)));
|
|
13250
|
+
} }, pipes: [i1.RpxTranslatePipe, DynamicRadioListPipe], encapsulation: 2 });
|
|
13239
13251
|
const ɵReadDynamicRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadDynamicRadioListFieldComponent);
|
|
13240
13252
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadDynamicRadioListFieldComponent, [{
|
|
13241
13253
|
type: Component,
|
|
13242
13254
|
args: [{
|
|
13243
13255
|
selector: 'ccd-read-dynamic-radio-list-field',
|
|
13244
|
-
template: '<span class="text-16">{{caseField.value | ccdDynamicRadioList:caseField.list_items}}</span>',
|
|
13256
|
+
template: '<span class="text-16">{{caseField.value | ccdDynamicRadioList:caseField.list_items | rpxTranslate}}</span>',
|
|
13245
13257
|
}]
|
|
13246
13258
|
}], null, null); })();
|
|
13247
13259
|
|
|
@@ -13498,21 +13510,22 @@ FixedListPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdFixedList", type: FixedList
|
|
|
13498
13510
|
class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
|
|
13499
13511
|
}
|
|
13500
13512
|
ReadFixedListFieldComponent.ɵfac = function ReadFixedListFieldComponent_Factory(t) { return ɵReadFixedListFieldComponent_BaseFactory(t || ReadFixedListFieldComponent); };
|
|
13501
|
-
ReadFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadFixedListFieldComponent, selectors: [["ccd-read-fixed-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
13513
|
+
ReadFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadFixedListFieldComponent, selectors: [["ccd-read-fixed-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadFixedListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
13502
13514
|
i0.ɵɵelementStart(0, "span", 0);
|
|
13503
13515
|
i0.ɵɵtext(1);
|
|
13504
|
-
i0.ɵɵpipe(2, "
|
|
13516
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
13517
|
+
i0.ɵɵpipe(3, "ccdFixedList");
|
|
13505
13518
|
i0.ɵɵelementEnd();
|
|
13506
13519
|
} if (rf & 2) {
|
|
13507
13520
|
i0.ɵɵadvance(1);
|
|
13508
|
-
i0.ɵɵtextInterpolate(i0.ɵɵ
|
|
13509
|
-
} }, pipes: [FixedListPipe], encapsulation: 2 });
|
|
13521
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx.caseField.value, ctx.caseField.list_items)));
|
|
13522
|
+
} }, pipes: [i1.RpxTranslatePipe, FixedListPipe], encapsulation: 2 });
|
|
13510
13523
|
const ɵReadFixedListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadFixedListFieldComponent);
|
|
13511
13524
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadFixedListFieldComponent, [{
|
|
13512
13525
|
type: Component,
|
|
13513
13526
|
args: [{
|
|
13514
13527
|
selector: 'ccd-read-fixed-list-field',
|
|
13515
|
-
template: '<span class="text-16">{{caseField.value | ccdFixedList:caseField.list_items}}</span>',
|
|
13528
|
+
template: '<span class="text-16">{{caseField.value | ccdFixedList:caseField.list_items | rpxTranslate}}</span>',
|
|
13516
13529
|
}]
|
|
13517
13530
|
}], null, null); })();
|
|
13518
13531
|
|
|
@@ -13551,12 +13564,13 @@ function WriteFixedListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
13551
13564
|
function WriteFixedListFieldComponent_option_8_Template(rf, ctx) { if (rf & 1) {
|
|
13552
13565
|
i0.ɵɵelementStart(0, "option", 6);
|
|
13553
13566
|
i0.ɵɵtext(1);
|
|
13567
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
13554
13568
|
i0.ɵɵelementEnd();
|
|
13555
13569
|
} if (rf & 2) {
|
|
13556
13570
|
const type_r4 = ctx.$implicit;
|
|
13557
13571
|
i0.ɵɵproperty("ngValue", type_r4.code);
|
|
13558
13572
|
i0.ɵɵadvance(1);
|
|
13559
|
-
i0.ɵɵtextInterpolate(type_r4.label);
|
|
13573
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, type_r4.label));
|
|
13560
13574
|
} }
|
|
13561
13575
|
const _c0$I = function (a0) { return { "form-group-error": a0 }; };
|
|
13562
13576
|
class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
@@ -13592,7 +13606,7 @@ WriteFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFixedLi
|
|
|
13592
13606
|
i0.ɵɵelementStart(6, "option", 6);
|
|
13593
13607
|
i0.ɵɵtext(7, "--Select a value--");
|
|
13594
13608
|
i0.ɵɵelementEnd();
|
|
13595
|
-
i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template,
|
|
13609
|
+
i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
|
|
13596
13610
|
i0.ɵɵelementEnd();
|
|
13597
13611
|
i0.ɵɵelementEnd();
|
|
13598
13612
|
} if (rf & 2) {
|
|
@@ -13640,21 +13654,22 @@ FixedRadioListPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdFixedRadioList", type:
|
|
|
13640
13654
|
class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
13641
13655
|
}
|
|
13642
13656
|
ReadFixedRadioListFieldComponent.ɵfac = function ReadFixedRadioListFieldComponent_Factory(t) { return ɵReadFixedRadioListFieldComponent_BaseFactory(t || ReadFixedRadioListFieldComponent); };
|
|
13643
|
-
ReadFixedRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadFixedRadioListFieldComponent, selectors: [["ccd-read-fixed-radio-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
13657
|
+
ReadFixedRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadFixedRadioListFieldComponent, selectors: [["ccd-read-fixed-radio-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadFixedRadioListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
13644
13658
|
i0.ɵɵelementStart(0, "span", 0);
|
|
13645
13659
|
i0.ɵɵtext(1);
|
|
13646
|
-
i0.ɵɵpipe(2, "
|
|
13660
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
13661
|
+
i0.ɵɵpipe(3, "ccdFixedRadioList");
|
|
13647
13662
|
i0.ɵɵelementEnd();
|
|
13648
13663
|
} if (rf & 2) {
|
|
13649
13664
|
i0.ɵɵadvance(1);
|
|
13650
|
-
i0.ɵɵtextInterpolate(i0.ɵɵ
|
|
13651
|
-
} }, pipes: [FixedRadioListPipe], encapsulation: 2 });
|
|
13665
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx.caseField.value, ctx.caseField.field_type.fixed_list_items)));
|
|
13666
|
+
} }, pipes: [i1.RpxTranslatePipe, FixedRadioListPipe], encapsulation: 2 });
|
|
13652
13667
|
const ɵReadFixedRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadFixedRadioListFieldComponent);
|
|
13653
13668
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadFixedRadioListFieldComponent, [{
|
|
13654
13669
|
type: Component,
|
|
13655
13670
|
args: [{
|
|
13656
13671
|
selector: 'ccd-read-fixed-radio-list-field',
|
|
13657
|
-
template: '<span class="text-16">{{caseField.value | ccdFixedRadioList:caseField.field_type.fixed_list_items}}</span>',
|
|
13672
|
+
template: '<span class="text-16">{{caseField.value | ccdFixedRadioList:caseField.field_type.fixed_list_items | rpxTranslate}}</span>',
|
|
13658
13673
|
}]
|
|
13659
13674
|
}], null, null); })();
|
|
13660
13675
|
|
|
@@ -15210,20 +15225,21 @@ const ɵWritePhoneUKFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInherit
|
|
|
15210
15225
|
class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
15211
15226
|
}
|
|
15212
15227
|
ReadTextAreaFieldComponent.ɵfac = function ReadTextAreaFieldComponent_Factory(t) { return ɵReadTextAreaFieldComponent_BaseFactory(t || ReadTextAreaFieldComponent); };
|
|
15213
|
-
ReadTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadTextAreaFieldComponent, selectors: [["ccd-read-text-area-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
15228
|
+
ReadTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadTextAreaFieldComponent, selectors: [["ccd-read-text-area-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[2, "white-space", "pre-wrap"]], template: function ReadTextAreaFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15214
15229
|
i0.ɵɵelementStart(0, "span", 0);
|
|
15215
15230
|
i0.ɵɵtext(1);
|
|
15231
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
15216
15232
|
i0.ɵɵelementEnd();
|
|
15217
15233
|
} if (rf & 2) {
|
|
15218
15234
|
i0.ɵɵadvance(1);
|
|
15219
|
-
i0.ɵɵtextInterpolate(ctx.caseField.value);
|
|
15220
|
-
} }, encapsulation: 2 });
|
|
15235
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx.caseField.value));
|
|
15236
|
+
} }, pipes: [i1.RpxTranslatePipe], encapsulation: 2 });
|
|
15221
15237
|
const ɵReadTextAreaFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadTextAreaFieldComponent);
|
|
15222
15238
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadTextAreaFieldComponent, [{
|
|
15223
15239
|
type: Component,
|
|
15224
15240
|
args: [{
|
|
15225
15241
|
selector: 'ccd-read-text-area-field',
|
|
15226
|
-
template: `<span style="white-space: pre-wrap">{{caseField.value}}</span>`
|
|
15242
|
+
template: `<span style="white-space: pre-wrap">{{caseField.value | rpxTranslate}}</span>`
|
|
15227
15243
|
}]
|
|
15228
15244
|
}], null, null); })();
|
|
15229
15245
|
|
|
@@ -15314,20 +15330,21 @@ WriteTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextArea
|
|
|
15314
15330
|
class ReadTextFieldComponent extends AbstractFieldReadComponent {
|
|
15315
15331
|
}
|
|
15316
15332
|
ReadTextFieldComponent.ɵfac = function ReadTextFieldComponent_Factory(t) { return ɵReadTextFieldComponent_BaseFactory(t || ReadTextFieldComponent); };
|
|
15317
|
-
ReadTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadTextFieldComponent, selectors: [["ccd-read-text-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
15333
|
+
ReadTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadTextFieldComponent, selectors: [["ccd-read-text-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[1, "text-16"]], template: function ReadTextFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15318
15334
|
i0.ɵɵelementStart(0, "span", 0);
|
|
15319
15335
|
i0.ɵɵtext(1);
|
|
15336
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
15320
15337
|
i0.ɵɵelementEnd();
|
|
15321
15338
|
} if (rf & 2) {
|
|
15322
15339
|
i0.ɵɵadvance(1);
|
|
15323
|
-
i0.ɵɵtextInterpolate(ctx.caseField.value);
|
|
15324
|
-
} }, encapsulation: 2 });
|
|
15340
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx.caseField.value));
|
|
15341
|
+
} }, pipes: [i1.RpxTranslatePipe], encapsulation: 2 });
|
|
15325
15342
|
const ɵReadTextFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadTextFieldComponent);
|
|
15326
15343
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadTextFieldComponent, [{
|
|
15327
15344
|
type: Component,
|
|
15328
15345
|
args: [{
|
|
15329
15346
|
selector: 'ccd-read-text-field',
|
|
15330
|
-
template: `<span class="text-16">{{caseField.value}}</span>`
|
|
15347
|
+
template: `<span class="text-16">{{caseField.value | rpxTranslate}}</span>`
|
|
15331
15348
|
}]
|
|
15332
15349
|
}], null, null); })();
|
|
15333
15350
|
|
|
@@ -15507,19 +15524,20 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
|
|
|
15507
15524
|
}
|
|
15508
15525
|
}
|
|
15509
15526
|
ReadYesNoFieldComponent.ɵfac = function ReadYesNoFieldComponent_Factory(t) { return new (t || ReadYesNoFieldComponent)(i0.ɵɵdirectiveInject(YesNoService)); };
|
|
15510
|
-
ReadYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadYesNoFieldComponent, selectors: [["ccd-read-yes-no-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
15527
|
+
ReadYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadYesNoFieldComponent, selectors: [["ccd-read-yes-no-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[1, "text-16"]], template: function ReadYesNoFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15511
15528
|
i0.ɵɵelementStart(0, "span", 0);
|
|
15512
15529
|
i0.ɵɵtext(1);
|
|
15530
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
15513
15531
|
i0.ɵɵelementEnd();
|
|
15514
15532
|
} if (rf & 2) {
|
|
15515
15533
|
i0.ɵɵadvance(1);
|
|
15516
|
-
i0.ɵɵtextInterpolate(ctx.formattedValue);
|
|
15517
|
-
} }, encapsulation: 2 });
|
|
15534
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx.formattedValue));
|
|
15535
|
+
} }, pipes: [i1.RpxTranslatePipe], encapsulation: 2 });
|
|
15518
15536
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadYesNoFieldComponent, [{
|
|
15519
15537
|
type: Component,
|
|
15520
15538
|
args: [{
|
|
15521
15539
|
selector: 'ccd-read-yes-no-field',
|
|
15522
|
-
template: `<span class="text-16">{{formattedValue}}</span>`
|
|
15540
|
+
template: `<span class="text-16">{{formattedValue | rpxTranslate}}</span>`
|
|
15523
15541
|
}]
|
|
15524
15542
|
}], function () { return [{ type: YesNoService }]; }, null); })();
|
|
15525
15543
|
|
|
@@ -15830,6 +15848,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
15830
15848
|
}
|
|
15831
15849
|
component.instance['isExpanded'] = this.isExpanded;
|
|
15832
15850
|
component.instance['isInSearchBlock'] = this.isInSearchBlock;
|
|
15851
|
+
console.log(component.instance);
|
|
15833
15852
|
this.fieldContainer.insert(component.hostView);
|
|
15834
15853
|
// EUI-3267.
|
|
15835
15854
|
// Set up the flag for whether this can have a grey bar.
|
|
@@ -18135,59 +18154,64 @@ UpdateFlagComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UpdateFlagComponent,
|
|
|
18135
18154
|
type: Output
|
|
18136
18155
|
}] }); })();
|
|
18137
18156
|
|
|
18138
|
-
function
|
|
18157
|
+
function CaseFlagSummaryListComponent_dl_0_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
18139
18158
|
i0.ɵɵelementStart(0, "div", 2);
|
|
18140
18159
|
i0.ɵɵelementStart(1, "dt", 3);
|
|
18141
18160
|
i0.ɵɵtext(2, " Status ");
|
|
18142
18161
|
i0.ɵɵelementEnd();
|
|
18143
18162
|
i0.ɵɵelementStart(3, "dd", 4);
|
|
18144
18163
|
i0.ɵɵtext(4);
|
|
18164
|
+
i0.ɵɵpipe(5, "rpxTranslate");
|
|
18145
18165
|
i0.ɵɵelementEnd();
|
|
18146
18166
|
i0.ɵɵelementEnd();
|
|
18147
18167
|
} if (rf & 2) {
|
|
18148
18168
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
18149
18169
|
i0.ɵɵadvance(4);
|
|
18150
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.flagStatus, " ");
|
|
18170
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 1, ctx_r1.flagStatus), " ");
|
|
18151
18171
|
} }
|
|
18152
18172
|
function CaseFlagSummaryListComponent_dl_0_Template(rf, ctx) { if (rf & 1) {
|
|
18153
18173
|
i0.ɵɵelementStart(0, "dl", 1);
|
|
18154
18174
|
i0.ɵɵelementStart(1, "div", 2);
|
|
18155
18175
|
i0.ɵɵelementStart(2, "dt", 3);
|
|
18156
18176
|
i0.ɵɵtext(3);
|
|
18177
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
18157
18178
|
i0.ɵɵelementEnd();
|
|
18158
|
-
i0.ɵɵelementStart(
|
|
18159
|
-
i0.ɵɵtext(
|
|
18179
|
+
i0.ɵɵelementStart(5, "dd", 4);
|
|
18180
|
+
i0.ɵɵtext(6);
|
|
18181
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
18160
18182
|
i0.ɵɵelementEnd();
|
|
18161
18183
|
i0.ɵɵelementEnd();
|
|
18162
|
-
i0.ɵɵelementStart(
|
|
18163
|
-
i0.ɵɵelementStart(
|
|
18164
|
-
i0.ɵɵtext(
|
|
18184
|
+
i0.ɵɵelementStart(8, "div", 2);
|
|
18185
|
+
i0.ɵɵelementStart(9, "dt", 3);
|
|
18186
|
+
i0.ɵɵtext(10, " Flag type ");
|
|
18165
18187
|
i0.ɵɵelementEnd();
|
|
18166
|
-
i0.ɵɵelementStart(
|
|
18167
|
-
i0.ɵɵtext(
|
|
18188
|
+
i0.ɵɵelementStart(11, "dd", 4);
|
|
18189
|
+
i0.ɵɵtext(12);
|
|
18190
|
+
i0.ɵɵpipe(13, "rpxTranslate");
|
|
18168
18191
|
i0.ɵɵelementEnd();
|
|
18169
18192
|
i0.ɵɵelementEnd();
|
|
18170
|
-
i0.ɵɵelementStart(
|
|
18171
|
-
i0.ɵɵelementStart(
|
|
18172
|
-
i0.ɵɵtext(
|
|
18193
|
+
i0.ɵɵelementStart(14, "div", 2);
|
|
18194
|
+
i0.ɵɵelementStart(15, "dt", 3);
|
|
18195
|
+
i0.ɵɵtext(16, " Comments ");
|
|
18173
18196
|
i0.ɵɵelementEnd();
|
|
18174
|
-
i0.ɵɵelementStart(
|
|
18175
|
-
i0.ɵɵtext(
|
|
18197
|
+
i0.ɵɵelementStart(17, "dd", 4);
|
|
18198
|
+
i0.ɵɵtext(18);
|
|
18199
|
+
i0.ɵɵpipe(19, "rpxTranslate");
|
|
18176
18200
|
i0.ɵɵelementEnd();
|
|
18177
18201
|
i0.ɵɵelementEnd();
|
|
18178
|
-
i0.ɵɵtemplate(
|
|
18202
|
+
i0.ɵɵtemplate(20, CaseFlagSummaryListComponent_dl_0_div_20_Template, 6, 3, "div", 5);
|
|
18179
18203
|
i0.ɵɵelementEnd();
|
|
18180
18204
|
} if (rf & 2) {
|
|
18181
18205
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
18182
18206
|
i0.ɵɵadvance(3);
|
|
18183
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.addUpdateFlagHeaderText, " ");
|
|
18207
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 5, ctx_r0.addUpdateFlagHeaderText), " ");
|
|
18208
|
+
i0.ɵɵadvance(3);
|
|
18209
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 7, ctx_r0.flagForSummaryDisplay.partyName || ctx_r0.caseLevelLocation), " ");
|
|
18210
|
+
i0.ɵɵadvance(6);
|
|
18211
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 9, ctx_r0.flagDescription), " ");
|
|
18212
|
+
i0.ɵɵadvance(6);
|
|
18213
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 11, ctx_r0.flagComments), " ");
|
|
18184
18214
|
i0.ɵɵadvance(2);
|
|
18185
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.flagForSummaryDisplay.partyName || ctx_r0.caseLevelLocation, " ");
|
|
18186
|
-
i0.ɵɵadvance(5);
|
|
18187
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.flagDescription, " ");
|
|
18188
|
-
i0.ɵɵadvance(5);
|
|
18189
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.flagComments, " ");
|
|
18190
|
-
i0.ɵɵadvance(1);
|
|
18191
18215
|
i0.ɵɵproperty("ngIf", ctx_r0.summaryListDisplayMode === ctx_r0.displayMode.MANAGE);
|
|
18192
18216
|
} }
|
|
18193
18217
|
class CaseFlagSummaryListComponent {
|
|
@@ -18212,10 +18236,10 @@ class CaseFlagSummaryListComponent {
|
|
|
18212
18236
|
}
|
|
18213
18237
|
CaseFlagSummaryListComponent.ɵfac = function CaseFlagSummaryListComponent_Factory(t) { return new (t || CaseFlagSummaryListComponent)(); };
|
|
18214
18238
|
CaseFlagSummaryListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFlagSummaryListComponent, selectors: [["ccd-case-flag-summary-list"]], inputs: { flagForSummaryDisplay: "flagForSummaryDisplay", summaryListDisplayMode: "summaryListDisplayMode" }, decls: 1, vars: 1, consts: [["class", "govuk-summary-list", 4, "ngIf"], [1, "govuk-summary-list"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], ["class", "govuk-summary-list__row", 4, "ngIf"]], template: function CaseFlagSummaryListComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18215
|
-
i0.ɵɵtemplate(0, CaseFlagSummaryListComponent_dl_0_Template,
|
|
18239
|
+
i0.ɵɵtemplate(0, CaseFlagSummaryListComponent_dl_0_Template, 21, 13, "dl", 0);
|
|
18216
18240
|
} if (rf & 2) {
|
|
18217
18241
|
i0.ɵɵproperty("ngIf", ctx.flagForSummaryDisplay);
|
|
18218
|
-
} }, directives: [i2.NgIf], encapsulation: 2 });
|
|
18242
|
+
} }, directives: [i2.NgIf], pipes: [i1.RpxTranslatePipe], encapsulation: 2 });
|
|
18219
18243
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFlagSummaryListComponent, [{
|
|
18220
18244
|
type: Component,
|
|
18221
18245
|
args: [{
|
|
@@ -22533,7 +22557,7 @@ i0.ɵɵsetComponentScope(ReadComplexFieldRawComponent, [i2.NgForOf, FieldReadCom
|
|
|
22533
22557
|
i0.ɵɵsetComponentScope(ReadComplexFieldTableComponent, [i2.NgForOf, i2.NgIf, FieldReadComponent], [i1.RpxTranslatePipe, ReadFieldsFilterPipe, IsCompoundPipe]);
|
|
22534
22558
|
i0.ɵɵsetComponentScope(ReadComplexFieldCollectionTableComponent, [i2.NgForOf, i2.NgIf, FieldReadComponent,
|
|
22535
22559
|
ReadCaseLinkFieldComponent], [i1.RpxTranslatePipe, ReadFieldsFilterPipe, CcdCollectionTableCaseFieldsFilterPipe, i2.KeyValuePipe, IsCompoundPipe]);
|
|
22536
|
-
i0.ɵɵsetComponentScope(ReadCaseFlagFieldComponent, [i2.NgSwitch, i2.NgSwitchCase, CaseFlagSummaryListComponent, i2.NgSwitchDefault, i2.NgForOf, i2.NgIf, CaseFlagTableComponent], []);
|
|
22560
|
+
i0.ɵɵsetComponentScope(ReadCaseFlagFieldComponent, [i2.NgSwitch, i2.NgSwitchCase, CaseFlagSummaryListComponent, i2.NgSwitchDefault, i2.NgForOf, i2.NgIf, CaseFlagTableComponent], [i1.RpxTranslatePipe]);
|
|
22537
22561
|
i0.ɵɵsetComponentScope(ReadLinkedCasesComponent, [LinkedCasesToTableComponent, i2.NgIf, LinkedCasesFromTableComponent], []);
|
|
22538
22562
|
i0.ɵɵsetComponentScope(WriteAddressFieldComponent, [i2.NgIf, i2.NgClass, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.FormControlDirective, i2$1.SelectControlValueAccessor, i2.NgForOf, i2$1.NgSelectOption, i2$1.ɵangular_packages_forms_forms_z, WriteComplexFieldComponent, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective], [i1.RpxTranslatePipe, FieldLabelPipe]);
|
|
22539
22563
|
i0.ɵɵsetComponentScope(WriteComplexFieldComponent, [i2.NgIf, i2.NgForOf, i2.NgSwitch, i2.NgSwitchCase, FieldReadComponent, LabelSubstitutorDirective, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, FieldWriteComponent], [i1.RpxTranslatePipe, FieldLabelPipe, IsReadOnlyPipe]);
|
|
@@ -24866,22 +24890,24 @@ function WorkbasketFiltersComponent_option_16_Template(rf, ctx) { if (rf & 1) {
|
|
|
24866
24890
|
function WorkbasketFiltersComponent_option_17_Template(rf, ctx) { if (rf & 1) {
|
|
24867
24891
|
i0.ɵɵelementStart(0, "option", 11);
|
|
24868
24892
|
i0.ɵɵtext(1);
|
|
24893
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
24869
24894
|
i0.ɵɵelementEnd();
|
|
24870
24895
|
} if (rf & 2) {
|
|
24871
24896
|
const ct_r7 = ctx.$implicit;
|
|
24872
24897
|
i0.ɵɵproperty("ngValue", ct_r7);
|
|
24873
24898
|
i0.ɵɵadvance(1);
|
|
24874
|
-
i0.ɵɵtextInterpolate(ct_r7.name);
|
|
24899
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ct_r7.name));
|
|
24875
24900
|
} }
|
|
24876
24901
|
function WorkbasketFiltersComponent_option_25_Template(rf, ctx) { if (rf & 1) {
|
|
24877
24902
|
i0.ɵɵelementStart(0, "option", 11);
|
|
24878
24903
|
i0.ɵɵtext(1);
|
|
24904
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
24879
24905
|
i0.ɵɵelementEnd();
|
|
24880
24906
|
} if (rf & 2) {
|
|
24881
24907
|
const cs_r8 = ctx.$implicit;
|
|
24882
24908
|
i0.ɵɵproperty("ngValue", cs_r8);
|
|
24883
24909
|
i0.ɵɵadvance(1);
|
|
24884
|
-
i0.ɵɵtextInterpolate(cs_r8.name);
|
|
24910
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, cs_r8.name));
|
|
24885
24911
|
} }
|
|
24886
24912
|
function WorkbasketFiltersComponent_ng_container_26_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
24887
24913
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
@@ -25202,7 +25228,7 @@ WorkbasketFiltersComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WorkbasketFilt
|
|
|
25202
25228
|
i0.ɵɵelementStart(15, "select", 8);
|
|
25203
25229
|
i0.ɵɵlistener("ngModelChange", function WorkbasketFiltersComponent_Template_select_ngModelChange_15_listener($event) { return ctx.selected.caseType = $event; })("change", function WorkbasketFiltersComponent_Template_select_change_15_listener() { return ctx.onCaseTypeIdChange(); });
|
|
25204
25230
|
i0.ɵɵtemplate(16, WorkbasketFiltersComponent_option_16_Template, 2, 1, "option", 5);
|
|
25205
|
-
i0.ɵɵtemplate(17, WorkbasketFiltersComponent_option_17_Template,
|
|
25231
|
+
i0.ɵɵtemplate(17, WorkbasketFiltersComponent_option_17_Template, 3, 4, "option", 6);
|
|
25206
25232
|
i0.ɵɵelementEnd();
|
|
25207
25233
|
i0.ɵɵelementEnd();
|
|
25208
25234
|
i0.ɵɵelementStart(18, "div", 2);
|
|
@@ -25215,7 +25241,7 @@ WorkbasketFiltersComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WorkbasketFilt
|
|
|
25215
25241
|
i0.ɵɵelementStart(23, "option", 11);
|
|
25216
25242
|
i0.ɵɵtext(24, "Any");
|
|
25217
25243
|
i0.ɵɵelementEnd();
|
|
25218
|
-
i0.ɵɵtemplate(25, WorkbasketFiltersComponent_option_25_Template,
|
|
25244
|
+
i0.ɵɵtemplate(25, WorkbasketFiltersComponent_option_25_Template, 3, 4, "option", 6);
|
|
25219
25245
|
i0.ɵɵelementEnd();
|
|
25220
25246
|
i0.ɵɵelementEnd();
|
|
25221
25247
|
i0.ɵɵtemplate(26, WorkbasketFiltersComponent_ng_container_26_Template, 3, 3, "ng-container", 12);
|
|
@@ -30797,11 +30823,11 @@ function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
30797
30823
|
i0.ɵɵadvance(2);
|
|
30798
30824
|
i0.ɵɵproperty("checked", ctx_r6.allOnPageSelected())("disabled", !ctx_r6.canAnyBeShared());
|
|
30799
30825
|
} }
|
|
30800
|
-
function
|
|
30826
|
+
function SearchResultComponent_table_0_th_11_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
30801
30827
|
const _r19 = i0.ɵɵgetCurrentView();
|
|
30802
30828
|
i0.ɵɵelementStart(0, "div", 27);
|
|
30803
30829
|
i0.ɵɵelementStart(1, "a", 28);
|
|
30804
|
-
i0.ɵɵlistener("click", function
|
|
30830
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_8_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r19); const col_r15 = i0.ɵɵnextContext().$implicit; const ctx_r17 = i0.ɵɵnextContext(2); return ctx_r17.sort(col_r15); });
|
|
30805
30831
|
i0.ɵɵelementEnd();
|
|
30806
30832
|
i0.ɵɵelementEnd();
|
|
30807
30833
|
} if (rf & 2) {
|
|
@@ -30814,13 +30840,15 @@ function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
30814
30840
|
const _r22 = i0.ɵɵgetCurrentView();
|
|
30815
30841
|
i0.ɵɵelementStart(0, "th");
|
|
30816
30842
|
i0.ɵɵelementStart(1, "table", 24);
|
|
30817
|
-
i0.ɵɵ
|
|
30818
|
-
i0.ɵɵelementStart(3, "
|
|
30819
|
-
i0.ɵɵelementStart(4, "
|
|
30820
|
-
i0.ɵɵ
|
|
30821
|
-
i0.ɵɵ
|
|
30843
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
30844
|
+
i0.ɵɵelementStart(3, "tr");
|
|
30845
|
+
i0.ɵɵelementStart(4, "th");
|
|
30846
|
+
i0.ɵɵelementStart(5, "div", 25);
|
|
30847
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_Template_div_click_5_listener() { i0.ɵɵrestoreView(_r22); const col_r15 = ctx.$implicit; const ctx_r21 = i0.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
|
|
30848
|
+
i0.ɵɵtext(6);
|
|
30849
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
30822
30850
|
i0.ɵɵelementEnd();
|
|
30823
|
-
i0.ɵɵtemplate(
|
|
30851
|
+
i0.ɵɵtemplate(8, SearchResultComponent_table_0_th_11_div_8_Template, 2, 1, "div", 26);
|
|
30824
30852
|
i0.ɵɵelementEnd();
|
|
30825
30853
|
i0.ɵɵelementEnd();
|
|
30826
30854
|
i0.ɵɵelementEnd();
|
|
@@ -30829,10 +30857,10 @@ function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
30829
30857
|
const col_r15 = ctx.$implicit;
|
|
30830
30858
|
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
30831
30859
|
i0.ɵɵadvance(1);
|
|
30832
|
-
i0.ɵɵattribute("aria-label", "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending");
|
|
30833
|
-
i0.ɵɵadvance(
|
|
30834
|
-
i0.ɵɵ
|
|
30835
|
-
i0.ɵɵadvance(
|
|
30860
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 3, "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending"));
|
|
30861
|
+
i0.ɵɵadvance(5);
|
|
30862
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 5, col_r15.label), " ");
|
|
30863
|
+
i0.ɵɵadvance(2);
|
|
30836
30864
|
i0.ɵɵproperty("ngIf", ctx_r7.comparator(col_r15));
|
|
30837
30865
|
} }
|
|
30838
30866
|
function SearchResultComponent_table_0_th_12_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -31103,7 +31131,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
31103
31131
|
i0.ɵɵelementStart(8, "thead");
|
|
31104
31132
|
i0.ɵɵelementStart(9, "tr", 7);
|
|
31105
31133
|
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 4, 2, "th", 8);
|
|
31106
|
-
i0.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template,
|
|
31134
|
+
i0.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 9, 7, "th", 9);
|
|
31107
31135
|
i0.ɵɵtemplate(12, SearchResultComponent_table_0_th_12_Template, 1, 0, "th", 10);
|
|
31108
31136
|
i0.ɵɵelementEnd();
|
|
31109
31137
|
i0.ɵɵelementEnd();
|
|
@@ -31115,7 +31143,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
31115
31143
|
} if (rf & 2) {
|
|
31116
31144
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
31117
31145
|
i0.ɵɵadvance(3);
|
|
31118
|
-
i0.ɵɵtextInterpolate(ctx_r0.caseState ? "Your cases" :
|
|
31146
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, ctx_r0.caseState ? "Your cases" : "Search result"));
|
|
31119
31147
|
i0.ɵɵadvance(2);
|
|
31120
31148
|
i0.ɵɵproperty("ngIf", ctx_r0.paginationLimitEnforced);
|
|
31121
31149
|
i0.ɵɵadvance(1);
|