@hmcts/ccd-case-ui-toolkit 6.13.11-welsh-release-v5-yes-no → 6.13.11-welsh-form-validation-errors
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 +87 -93
- 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/commons/case-edit-data/case-edit-validation.model.js +1 -1
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +13 -8
- package/esm2015/lib/shared/components/palette/case-flag/write-case-flag-field.component.js +1 -1
- package/esm2015/lib/shared/components/palette/case-link/write-case-link-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/date/write-date-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/datetime-picker/datetime-picker.component.js +4 -5
- package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.js +2 -2
- package/esm2015/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/email/write-email-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.js +1 -1
- package/esm2015/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/number/write-number-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/text/write-text-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/text-area/write-text-area-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/utils/first-error.pipe.js +17 -10
- package/esm2015/lib/shared/components/palette/utils/utils.module.js +12 -6
- package/esm2015/lib/shared/components/palette/yes-no/read-yes-no-field.component.js +4 -4
- package/esm2015/lib/shared/components/palette/yes-no/write-yes-no-field.component.js +8 -12
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +89 -93
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/commons/case-edit-data/case-edit-validation.model.d.ts +1 -0
- package/lib/shared/commons/case-edit-data/case-edit-validation.model.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts +5 -5
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/utils/first-error.pipe.d.ts +3 -0
- package/lib/shared/components/palette/utils/first-error.pipe.d.ts.map +1 -1
- package/lib/shared/components/palette/utils/utils.module.d.ts +2 -1
- package/lib/shared/components/palette/utils/utils.module.d.ts.map +1 -1
- package/lib/shared/components/palette/yes-no/read-yes-no-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/yes-no/write-yes-no-field.component.d.ts +0 -1
- package/lib/shared/components/palette/yes-no/write-yes-no-field.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3124,7 +3124,8 @@
|
|
|
3124
3124
|
})();
|
|
3125
3125
|
|
|
3126
3126
|
var FirstErrorPipe = /** @class */ (function () {
|
|
3127
|
-
function FirstErrorPipe() {
|
|
3127
|
+
function FirstErrorPipe(rpxTranslationPipe) {
|
|
3128
|
+
this.rpxTranslationPipe = rpxTranslationPipe;
|
|
3128
3129
|
}
|
|
3129
3130
|
FirstErrorPipe.prototype.transform = function (value, args) {
|
|
3130
3131
|
if (!value) {
|
|
@@ -3137,34 +3138,36 @@
|
|
|
3137
3138
|
if (!keys.length) {
|
|
3138
3139
|
return '';
|
|
3139
3140
|
}
|
|
3141
|
+
var fieldLabel = this.rpxTranslationPipe.transform(args);
|
|
3140
3142
|
if (keys[0] === 'required') {
|
|
3141
|
-
return
|
|
3143
|
+
return this.rpxTranslationPipe.transform('%FIELDLABEL% is required', { FIELDLABEL: fieldLabel });
|
|
3142
3144
|
}
|
|
3143
3145
|
else if (keys[0] === 'pattern') {
|
|
3144
|
-
return
|
|
3146
|
+
return this.rpxTranslationPipe.transform('The data entered is not valid for %FIELDLABEL%', { FIELDLABEL: fieldLabel });
|
|
3145
3147
|
}
|
|
3146
3148
|
else if (keys[0] === 'minlength') {
|
|
3147
|
-
return
|
|
3149
|
+
return this.rpxTranslationPipe.transform('%FIELDLABEL% is below the minimum length', { FIELDLABEL: fieldLabel });
|
|
3148
3150
|
}
|
|
3149
3151
|
else if (keys[0] === 'maxlength') {
|
|
3150
|
-
return
|
|
3152
|
+
return this.rpxTranslationPipe.transform('%FIELDLABEL% exceeds the maximum length', { FIELDLABEL: fieldLabel });
|
|
3151
3153
|
}
|
|
3152
3154
|
else if (value.hasOwnProperty('matDatetimePickerParse')) {
|
|
3153
|
-
return 'The date entered is not valid. Please provide a valid date';
|
|
3155
|
+
return this.rpxTranslationPipe.transform('The date entered is not valid. Please provide a valid date');
|
|
3154
3156
|
}
|
|
3155
3157
|
return value[keys[0]];
|
|
3156
3158
|
};
|
|
3157
3159
|
return FirstErrorPipe;
|
|
3158
3160
|
}());
|
|
3159
|
-
FirstErrorPipe.ɵfac = function FirstErrorPipe_Factory(t) { return new (t || FirstErrorPipe)(); };
|
|
3160
|
-
FirstErrorPipe.ɵpipe = i0__namespace.ɵɵdefinePipe({ name: "ccdFirstError", type: FirstErrorPipe, pure:
|
|
3161
|
+
FirstErrorPipe.ɵfac = function FirstErrorPipe_Factory(t) { return new (t || FirstErrorPipe)(i0__namespace.ɵɵdirectiveInject(i1__namespace.RpxTranslatePipe)); };
|
|
3162
|
+
FirstErrorPipe.ɵpipe = i0__namespace.ɵɵdefinePipe({ name: "ccdFirstError", type: FirstErrorPipe, pure: false });
|
|
3161
3163
|
(function () {
|
|
3162
3164
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FirstErrorPipe, [{
|
|
3163
3165
|
type: i0.Pipe,
|
|
3164
3166
|
args: [{
|
|
3165
|
-
name: 'ccdFirstError'
|
|
3167
|
+
name: 'ccdFirstError',
|
|
3168
|
+
pure: false
|
|
3166
3169
|
}]
|
|
3167
|
-
}],
|
|
3170
|
+
}], function () { return [{ type: i1__namespace.RpxTranslatePipe }]; }, null);
|
|
3168
3171
|
})();
|
|
3169
3172
|
|
|
3170
3173
|
var IsCompoundPipe = /** @class */ (function () {
|
|
@@ -3328,9 +3331,11 @@
|
|
|
3328
3331
|
PaletteUtilsModule.ɵfac = function PaletteUtilsModule_Factory(t) { return new (t || PaletteUtilsModule)(); };
|
|
3329
3332
|
PaletteUtilsModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: PaletteUtilsModule });
|
|
3330
3333
|
PaletteUtilsModule.ɵinj = i0__namespace.ɵɵdefineInjector({ providers: [
|
|
3331
|
-
IsCompoundPipe
|
|
3334
|
+
IsCompoundPipe,
|
|
3335
|
+
i1.RpxTranslatePipe
|
|
3332
3336
|
], imports: [[
|
|
3333
|
-
i2.CommonModule
|
|
3337
|
+
i2.CommonModule,
|
|
3338
|
+
i1.RpxTranslationModule.forChild()
|
|
3334
3339
|
]] });
|
|
3335
3340
|
(function () {
|
|
3336
3341
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(PaletteUtilsModule, { declarations: [DatePipe,
|
|
@@ -3340,7 +3345,7 @@
|
|
|
3340
3345
|
IsMandatoryPipe,
|
|
3341
3346
|
IsReadOnlyPipe,
|
|
3342
3347
|
IsReadOnlyAndNotCollectionPipe,
|
|
3343
|
-
DashPipe], imports: [i2.CommonModule], exports: [DatePipe,
|
|
3348
|
+
DashPipe], imports: [i2.CommonModule, i1__namespace.RpxTranslationModule], exports: [DatePipe,
|
|
3344
3349
|
FieldLabelPipe,
|
|
3345
3350
|
FirstErrorPipe,
|
|
3346
3351
|
IsCompoundPipe,
|
|
@@ -3354,7 +3359,8 @@
|
|
|
3354
3359
|
type: i0.NgModule,
|
|
3355
3360
|
args: [{
|
|
3356
3361
|
imports: [
|
|
3357
|
-
i2.CommonModule
|
|
3362
|
+
i2.CommonModule,
|
|
3363
|
+
i1.RpxTranslationModule.forChild()
|
|
3358
3364
|
],
|
|
3359
3365
|
declarations: [
|
|
3360
3366
|
DatePipe,
|
|
@@ -3377,7 +3383,8 @@
|
|
|
3377
3383
|
DashPipe
|
|
3378
3384
|
],
|
|
3379
3385
|
providers: [
|
|
3380
|
-
IsCompoundPipe
|
|
3386
|
+
IsCompoundPipe,
|
|
3387
|
+
i1.RpxTranslatePipe
|
|
3381
3388
|
]
|
|
3382
3389
|
}]
|
|
3383
3390
|
}], null, null);
|
|
@@ -10296,6 +10303,7 @@
|
|
|
10296
10303
|
i0__namespace.ɵɵlistener("click", function CaseEditPageComponent_div_7_div_4_Template_a_click_3_listener() { i0__namespace.ɵɵrestoreView(_r17_1); var validationError_r15 = ctx.$implicit; var ctx_r16 = i0__namespace.ɵɵnextContext(2); return ctx_r16.navigateToErrorElement(validationError_r15.id); });
|
|
10297
10304
|
i0__namespace.ɵɵtext(4);
|
|
10298
10305
|
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
10306
|
+
i0__namespace.ɵɵpipe(6, "rpxTranslate");
|
|
10299
10307
|
i0__namespace.ɵɵelementEnd();
|
|
10300
10308
|
i0__namespace.ɵɵelementEnd();
|
|
10301
10309
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -10303,8 +10311,9 @@
|
|
|
10303
10311
|
}
|
|
10304
10312
|
if (rf & 2) {
|
|
10305
10313
|
var validationError_r15 = ctx.$implicit;
|
|
10314
|
+
var ctx_r14 = i0__namespace.ɵɵnextContext(2);
|
|
10306
10315
|
i0__namespace.ɵɵadvance(4);
|
|
10307
|
-
i0__namespace.ɵɵ
|
|
10316
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(5, 1, validationError_r15.message, ctx_r14.getRpxTranslatePipeArgs(i0__namespace.ɵɵpipeBind1(6, 5, validationError_r15.label)), null), " ");
|
|
10308
10317
|
}
|
|
10309
10318
|
}
|
|
10310
10319
|
function CaseEditPageComponent_div_7_Template(rf, ctx) {
|
|
@@ -10314,7 +10323,7 @@
|
|
|
10314
10323
|
i0__namespace.ɵɵtext(2);
|
|
10315
10324
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
10316
10325
|
i0__namespace.ɵɵelementEnd();
|
|
10317
|
-
i0__namespace.ɵɵtemplate(4, CaseEditPageComponent_div_7_div_4_Template,
|
|
10326
|
+
i0__namespace.ɵɵtemplate(4, CaseEditPageComponent_div_7_div_4_Template, 7, 7, "div", 17);
|
|
10318
10327
|
i0__namespace.ɵɵelementEnd();
|
|
10319
10328
|
}
|
|
10320
10329
|
if (rf & 2) {
|
|
@@ -10610,19 +10619,19 @@
|
|
|
10610
10619
|
}
|
|
10611
10620
|
}
|
|
10612
10621
|
if (fieldElement.hasError('required')) {
|
|
10613
|
-
_this.caseEditDataService.addFormValidationError({ id: id_1, message:
|
|
10622
|
+
_this.caseEditDataService.addFormValidationError({ id: id_1, message: "%FIELDLABEL% is required", label: label });
|
|
10614
10623
|
fieldElement.markAsDirty();
|
|
10615
10624
|
}
|
|
10616
10625
|
else if (fieldElement.hasError('pattern')) {
|
|
10617
|
-
_this.caseEditDataService.addFormValidationError({ id: id_1, message:
|
|
10626
|
+
_this.caseEditDataService.addFormValidationError({ id: id_1, message: "%FIELDLABEL% is not valid", label: label });
|
|
10618
10627
|
fieldElement.markAsDirty();
|
|
10619
10628
|
}
|
|
10620
10629
|
else if (fieldElement.hasError('minlength')) {
|
|
10621
|
-
_this.caseEditDataService.addFormValidationError({ id: id_1, message:
|
|
10630
|
+
_this.caseEditDataService.addFormValidationError({ id: id_1, message: "%FIELDLABEL% is below the minimum length", label: label });
|
|
10622
10631
|
fieldElement.markAsDirty();
|
|
10623
10632
|
}
|
|
10624
10633
|
else if (fieldElement.hasError('maxlength')) {
|
|
10625
|
-
_this.caseEditDataService.addFormValidationError({ id: id_1, message:
|
|
10634
|
+
_this.caseEditDataService.addFormValidationError({ id: id_1, message: "%FIELDLABEL% exceeds the maximum length", label: label });
|
|
10626
10635
|
fieldElement.markAsDirty();
|
|
10627
10636
|
}
|
|
10628
10637
|
else if (fieldElement.invalid) {
|
|
@@ -10919,6 +10928,9 @@
|
|
|
10919
10928
|
next: function (validationErrors) { return _this.validationErrors = validationErrors; }
|
|
10920
10929
|
});
|
|
10921
10930
|
};
|
|
10931
|
+
CaseEditPageComponent.prototype.getRpxTranslatePipeArgs = function (fieldLabel) {
|
|
10932
|
+
return fieldLabel ? ({ FIELDLABEL: fieldLabel }) : null;
|
|
10933
|
+
};
|
|
10922
10934
|
return CaseEditPageComponent;
|
|
10923
10935
|
}());
|
|
10924
10936
|
CaseEditPageComponent.RESUMED_FORM_DISCARD = 'RESUMED_FORM_DISCARD';
|
|
@@ -10972,7 +10984,7 @@
|
|
|
10972
10984
|
args: [{
|
|
10973
10985
|
selector: 'ccd-case-edit-page',
|
|
10974
10986
|
templateUrl: 'case-edit-page.html',
|
|
10975
|
-
styleUrls: ['./case-edit-page.scss']
|
|
10987
|
+
styleUrls: ['./case-edit-page.scss'],
|
|
10976
10988
|
}]
|
|
10977
10989
|
}], function () { return [{ type: CaseEditComponent }, { type: i1__namespace$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0__namespace.ChangeDetectorRef }, { type: PageValidationService }, { type: i1__namespace$3.MatDialog }, { type: CaseFieldService }, { type: CaseEditDataService }]; }, null);
|
|
10978
10990
|
})();
|
|
@@ -12543,14 +12555,13 @@
|
|
|
12543
12555
|
if (rf & 1) {
|
|
12544
12556
|
i0__namespace.ɵɵelementStart(0, "span", 8);
|
|
12545
12557
|
i0__namespace.ɵɵtext(1);
|
|
12546
|
-
i0__namespace.ɵɵpipe(2, "
|
|
12547
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
12558
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
12548
12559
|
i0__namespace.ɵɵelementEnd();
|
|
12549
12560
|
}
|
|
12550
12561
|
if (rf & 2) {
|
|
12551
12562
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
12552
12563
|
i0__namespace.ɵɵadvance(1);
|
|
12553
|
-
i0__namespace.ɵɵ
|
|
12564
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.caseReferenceControl.errors, ctx_r2.caseField.label), " ");
|
|
12554
12565
|
}
|
|
12555
12566
|
}
|
|
12556
12567
|
var _c1$l = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -12632,7 +12643,7 @@
|
|
|
12632
12643
|
i0__namespace.ɵɵtemplate(2, WriteCaseLinkFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
12633
12644
|
i0__namespace.ɵɵelementEnd();
|
|
12634
12645
|
i0__namespace.ɵɵtemplate(3, WriteCaseLinkFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
12635
|
-
i0__namespace.ɵɵtemplate(4, WriteCaseLinkFieldComponent_span_4_Template,
|
|
12646
|
+
i0__namespace.ɵɵtemplate(4, WriteCaseLinkFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
12636
12647
|
i0__namespace.ɵɵelement(5, "input", 5);
|
|
12637
12648
|
i0__namespace.ɵɵelementEnd();
|
|
12638
12649
|
}
|
|
@@ -12862,21 +12873,20 @@
|
|
|
12862
12873
|
if (rf & 1) {
|
|
12863
12874
|
i0__namespace.ɵɵelementStart(0, "span", 10);
|
|
12864
12875
|
i0__namespace.ɵɵtext(1);
|
|
12865
|
-
i0__namespace.ɵɵpipe(2, "
|
|
12866
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
12876
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
12867
12877
|
i0__namespace.ɵɵelementEnd();
|
|
12868
12878
|
}
|
|
12869
12879
|
if (rf & 2) {
|
|
12870
12880
|
var ctx_r4 = i0__namespace.ɵɵnextContext(2);
|
|
12871
12881
|
i0__namespace.ɵɵadvance(1);
|
|
12872
|
-
i0__namespace.ɵɵ
|
|
12882
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r4.formArray.errors, ctx_r4.caseField.label), " ");
|
|
12873
12883
|
}
|
|
12874
12884
|
}
|
|
12875
12885
|
function WriteCollectionFieldComponent_h2_9_Template(rf, ctx) {
|
|
12876
12886
|
if (rf & 1) {
|
|
12877
12887
|
i0__namespace.ɵɵelementStart(0, "h2", 2);
|
|
12878
12888
|
i0__namespace.ɵɵtemplate(1, WriteCollectionFieldComponent_h2_9_span_1_Template, 3, 3, "span", 7);
|
|
12879
|
-
i0__namespace.ɵɵtemplate(2, WriteCollectionFieldComponent_h2_9_span_2_Template,
|
|
12889
|
+
i0__namespace.ɵɵtemplate(2, WriteCollectionFieldComponent_h2_9_span_2_Template, 3, 4, "span", 8);
|
|
12880
12890
|
i0__namespace.ɵɵelementEnd();
|
|
12881
12891
|
}
|
|
12882
12892
|
if (rf & 2) {
|
|
@@ -14698,7 +14708,7 @@
|
|
|
14698
14708
|
if (rf & 2) {
|
|
14699
14709
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
14700
14710
|
i0__namespace.ɵɵadvance(1);
|
|
14701
|
-
i0__namespace.ɵɵ
|
|
14711
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, ctx_r2.checkboxes.errors), "");
|
|
14702
14712
|
}
|
|
14703
14713
|
}
|
|
14704
14714
|
function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) {
|
|
@@ -14952,14 +14962,13 @@
|
|
|
14952
14962
|
if (rf & 1) {
|
|
14953
14963
|
i0__namespace.ɵɵelementStart(0, "span", 9);
|
|
14954
14964
|
i0__namespace.ɵɵtext(1);
|
|
14955
|
-
i0__namespace.ɵɵpipe(2, "
|
|
14956
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
14965
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
14957
14966
|
i0__namespace.ɵɵelementEnd();
|
|
14958
14967
|
}
|
|
14959
14968
|
if (rf & 2) {
|
|
14960
14969
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
14961
14970
|
i0__namespace.ɵɵadvance(1);
|
|
14962
|
-
i0__namespace.ɵɵ
|
|
14971
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, ctx_r3.dynamicRadioListControl.errors), " ");
|
|
14963
14972
|
}
|
|
14964
14973
|
}
|
|
14965
14974
|
var _c0$K = function (a0) { return { selected: a0 }; };
|
|
@@ -15024,7 +15033,7 @@
|
|
|
15024
15033
|
i0__namespace.ɵɵtemplate(4, WriteDynamicRadioListFieldComponent_span_4_Template, 4, 5, "span", 3);
|
|
15025
15034
|
i0__namespace.ɵɵtemplate(5, WriteDynamicRadioListFieldComponent_span_5_Template, 3, 3, "span", 4);
|
|
15026
15035
|
i0__namespace.ɵɵtemplate(6, WriteDynamicRadioListFieldComponent_span_6_Template, 3, 3, "span", 3);
|
|
15027
|
-
i0__namespace.ɵɵtemplate(7, WriteDynamicRadioListFieldComponent_span_7_Template,
|
|
15036
|
+
i0__namespace.ɵɵtemplate(7, WriteDynamicRadioListFieldComponent_span_7_Template, 3, 3, "span", 5);
|
|
15028
15037
|
i0__namespace.ɵɵelementEnd();
|
|
15029
15038
|
i0__namespace.ɵɵelementContainerStart(8);
|
|
15030
15039
|
i0__namespace.ɵɵtemplate(9, WriteDynamicRadioListFieldComponent_div_9_Template, 5, 11, "div", 6);
|
|
@@ -15133,14 +15142,13 @@
|
|
|
15133
15142
|
if (rf & 1) {
|
|
15134
15143
|
i0__namespace.ɵɵelementStart(0, "span", 8);
|
|
15135
15144
|
i0__namespace.ɵɵtext(1);
|
|
15136
|
-
i0__namespace.ɵɵpipe(2, "
|
|
15137
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
15145
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
15138
15146
|
i0__namespace.ɵɵelementEnd();
|
|
15139
15147
|
}
|
|
15140
15148
|
if (rf & 2) {
|
|
15141
15149
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
15142
15150
|
i0__namespace.ɵɵadvance(1);
|
|
15143
|
-
i0__namespace.ɵɵ
|
|
15151
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.emailControl.errors, ctx_r2.caseField.label), "");
|
|
15144
15152
|
}
|
|
15145
15153
|
}
|
|
15146
15154
|
var _c0$J = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -15163,7 +15171,7 @@
|
|
|
15163
15171
|
i0__namespace.ɵɵtemplate(2, WriteEmailFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
15164
15172
|
i0__namespace.ɵɵelementEnd();
|
|
15165
15173
|
i0__namespace.ɵɵtemplate(3, WriteEmailFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
15166
|
-
i0__namespace.ɵɵtemplate(4, WriteEmailFieldComponent_span_4_Template,
|
|
15174
|
+
i0__namespace.ɵɵtemplate(4, WriteEmailFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
15167
15175
|
i0__namespace.ɵɵelement(5, "input", 5);
|
|
15168
15176
|
i0__namespace.ɵɵelementEnd();
|
|
15169
15177
|
}
|
|
@@ -15255,14 +15263,13 @@
|
|
|
15255
15263
|
if (rf & 1) {
|
|
15256
15264
|
i0__namespace.ɵɵelementStart(0, "span", 10);
|
|
15257
15265
|
i0__namespace.ɵɵtext(1);
|
|
15258
|
-
i0__namespace.ɵɵpipe(2, "
|
|
15259
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
15266
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
15260
15267
|
i0__namespace.ɵɵelementEnd();
|
|
15261
15268
|
}
|
|
15262
15269
|
if (rf & 2) {
|
|
15263
15270
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
15264
15271
|
i0__namespace.ɵɵadvance(1);
|
|
15265
|
-
i0__namespace.ɵɵ
|
|
15272
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.fixedListFormControl.errors, ctx_r2.caseField.label), " ");
|
|
15266
15273
|
}
|
|
15267
15274
|
}
|
|
15268
15275
|
function WriteFixedListFieldComponent_option_8_Template(rf, ctx) {
|
|
@@ -15318,7 +15325,7 @@
|
|
|
15318
15325
|
i0__namespace.ɵɵtemplate(2, WriteFixedListFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
15319
15326
|
i0__namespace.ɵɵelementEnd();
|
|
15320
15327
|
i0__namespace.ɵɵtemplate(3, WriteFixedListFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
15321
|
-
i0__namespace.ɵɵtemplate(4, WriteFixedListFieldComponent_span_4_Template,
|
|
15328
|
+
i0__namespace.ɵɵtemplate(4, WriteFixedListFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
15322
15329
|
i0__namespace.ɵɵelementStart(5, "select", 5);
|
|
15323
15330
|
i0__namespace.ɵɵelementStart(6, "option", 6);
|
|
15324
15331
|
i0__namespace.ɵɵtext(7, "--Select a value--");
|
|
@@ -15440,14 +15447,13 @@
|
|
|
15440
15447
|
if (rf & 1) {
|
|
15441
15448
|
i0__namespace.ɵɵelementStart(0, "span", 8);
|
|
15442
15449
|
i0__namespace.ɵɵtext(1);
|
|
15443
|
-
i0__namespace.ɵɵpipe(2, "
|
|
15444
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
15450
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
15445
15451
|
i0__namespace.ɵɵelementEnd();
|
|
15446
15452
|
}
|
|
15447
15453
|
if (rf & 2) {
|
|
15448
15454
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
15449
15455
|
i0__namespace.ɵɵadvance(1);
|
|
15450
|
-
i0__namespace.ɵɵ
|
|
15456
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label), " ");
|
|
15451
15457
|
}
|
|
15452
15458
|
}
|
|
15453
15459
|
var _c0$H = function (a0) { return { selected: a0 }; };
|
|
@@ -15495,7 +15501,7 @@
|
|
|
15495
15501
|
i0__namespace.ɵɵtemplate(4, WriteFixedRadioListFieldComponent_span_4_Template, 4, 5, "span", 2);
|
|
15496
15502
|
i0__namespace.ɵɵelementEnd();
|
|
15497
15503
|
i0__namespace.ɵɵtemplate(5, WriteFixedRadioListFieldComponent_span_5_Template, 3, 3, "span", 3);
|
|
15498
|
-
i0__namespace.ɵɵtemplate(6, WriteFixedRadioListFieldComponent_span_6_Template,
|
|
15504
|
+
i0__namespace.ɵɵtemplate(6, WriteFixedRadioListFieldComponent_span_6_Template, 3, 4, "span", 4);
|
|
15499
15505
|
i0__namespace.ɵɵelementEnd();
|
|
15500
15506
|
i0__namespace.ɵɵelementContainerStart(7);
|
|
15501
15507
|
i0__namespace.ɵɵtemplate(8, WriteFixedRadioListFieldComponent_div_8_Template, 5, 11, "div", 5);
|
|
@@ -18573,14 +18579,13 @@
|
|
|
18573
18579
|
if (rf & 1) {
|
|
18574
18580
|
i0__namespace.ɵɵelementStart(0, "span", 10);
|
|
18575
18581
|
i0__namespace.ɵɵtext(1);
|
|
18576
|
-
i0__namespace.ɵɵpipe(2, "
|
|
18577
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
18582
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
18578
18583
|
i0__namespace.ɵɵelementEnd();
|
|
18579
18584
|
}
|
|
18580
18585
|
if (rf & 2) {
|
|
18581
18586
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
18582
18587
|
i0__namespace.ɵɵadvance(1);
|
|
18583
|
-
i0__namespace.ɵɵ
|
|
18588
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label), "");
|
|
18584
18589
|
}
|
|
18585
18590
|
}
|
|
18586
18591
|
var _c0$D = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -18602,7 +18607,7 @@
|
|
|
18602
18607
|
i0__namespace.ɵɵtemplate(2, WriteMoneyGbpFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
18603
18608
|
i0__namespace.ɵɵelementEnd();
|
|
18604
18609
|
i0__namespace.ɵɵtemplate(3, WriteMoneyGbpFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
18605
|
-
i0__namespace.ɵɵtemplate(4, WriteMoneyGbpFieldComponent_span_4_Template,
|
|
18610
|
+
i0__namespace.ɵɵtemplate(4, WriteMoneyGbpFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
18606
18611
|
i0__namespace.ɵɵelementStart(5, "div", 5);
|
|
18607
18612
|
i0__namespace.ɵɵelementStart(6, "span", 6);
|
|
18608
18613
|
i0__namespace.ɵɵtext(7, "\u00A3");
|
|
@@ -18732,14 +18737,13 @@
|
|
|
18732
18737
|
if (rf & 1) {
|
|
18733
18738
|
i0__namespace.ɵɵelementStart(0, "span", 7);
|
|
18734
18739
|
i0__namespace.ɵɵtext(1);
|
|
18735
|
-
i0__namespace.ɵɵpipe(2, "
|
|
18736
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
18740
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
18737
18741
|
i0__namespace.ɵɵelementEnd();
|
|
18738
18742
|
}
|
|
18739
18743
|
if (rf & 2) {
|
|
18740
18744
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
18741
18745
|
i0__namespace.ɵɵadvance(1);
|
|
18742
|
-
i0__namespace.ɵɵ
|
|
18746
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.checkboxes.errors, ctx_r2.caseField.label), " ");
|
|
18743
18747
|
}
|
|
18744
18748
|
}
|
|
18745
18749
|
function WriteMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) {
|
|
@@ -18826,7 +18830,7 @@
|
|
|
18826
18830
|
i0__namespace.ɵɵtemplate(3, WriteMultiSelectListFieldComponent_span_3_Template, 4, 5, "span", 1);
|
|
18827
18831
|
i0__namespace.ɵɵelementEnd();
|
|
18828
18832
|
i0__namespace.ɵɵtemplate(4, WriteMultiSelectListFieldComponent_span_4_Template, 3, 3, "span", 2);
|
|
18829
|
-
i0__namespace.ɵɵtemplate(5, WriteMultiSelectListFieldComponent_span_5_Template,
|
|
18833
|
+
i0__namespace.ɵɵtemplate(5, WriteMultiSelectListFieldComponent_span_5_Template, 3, 4, "span", 3);
|
|
18830
18834
|
i0__namespace.ɵɵtemplate(6, WriteMultiSelectListFieldComponent_ng_container_6_Template, 6, 8, "ng-container", 4);
|
|
18831
18835
|
i0__namespace.ɵɵelementEnd();
|
|
18832
18836
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -18916,14 +18920,13 @@
|
|
|
18916
18920
|
if (rf & 1) {
|
|
18917
18921
|
i0__namespace.ɵɵelementStart(0, "span", 8);
|
|
18918
18922
|
i0__namespace.ɵɵtext(1);
|
|
18919
|
-
i0__namespace.ɵɵpipe(2, "
|
|
18920
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
18923
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
18921
18924
|
i0__namespace.ɵɵelementEnd();
|
|
18922
18925
|
}
|
|
18923
18926
|
if (rf & 2) {
|
|
18924
18927
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
18925
18928
|
i0__namespace.ɵɵadvance(1);
|
|
18926
|
-
i0__namespace.ɵɵ
|
|
18929
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.numberControl.errors, ctx_r2.caseField.label), " ");
|
|
18927
18930
|
}
|
|
18928
18931
|
}
|
|
18929
18932
|
var _c0$B = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -18946,7 +18949,7 @@
|
|
|
18946
18949
|
i0__namespace.ɵɵtemplate(2, WriteNumberFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
18947
18950
|
i0__namespace.ɵɵelementEnd();
|
|
18948
18951
|
i0__namespace.ɵɵtemplate(3, WriteNumberFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
18949
|
-
i0__namespace.ɵɵtemplate(4, WriteNumberFieldComponent_span_4_Template,
|
|
18952
|
+
i0__namespace.ɵɵtemplate(4, WriteNumberFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
18950
18953
|
i0__namespace.ɵɵelement(5, "input", 5);
|
|
18951
18954
|
i0__namespace.ɵɵelementEnd();
|
|
18952
18955
|
}
|
|
@@ -19794,14 +19797,13 @@
|
|
|
19794
19797
|
if (rf & 1) {
|
|
19795
19798
|
i0__namespace.ɵɵelementStart(0, "span", 8);
|
|
19796
19799
|
i0__namespace.ɵɵtext(1);
|
|
19797
|
-
i0__namespace.ɵɵpipe(2, "
|
|
19798
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
19800
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
19799
19801
|
i0__namespace.ɵɵelementEnd();
|
|
19800
19802
|
}
|
|
19801
19803
|
if (rf & 2) {
|
|
19802
19804
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
19803
19805
|
i0__namespace.ɵɵadvance(1);
|
|
19804
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵ
|
|
19806
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label), " ");
|
|
19805
19807
|
}
|
|
19806
19808
|
}
|
|
19807
19809
|
var _c0$z = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -19824,7 +19826,7 @@
|
|
|
19824
19826
|
i0__namespace.ɵɵtemplate(2, WritePhoneUKFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
19825
19827
|
i0__namespace.ɵɵelementEnd();
|
|
19826
19828
|
i0__namespace.ɵɵtemplate(3, WritePhoneUKFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
19827
|
-
i0__namespace.ɵɵtemplate(4, WritePhoneUKFieldComponent_span_4_Template,
|
|
19829
|
+
i0__namespace.ɵɵtemplate(4, WritePhoneUKFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
19828
19830
|
i0__namespace.ɵɵelement(5, "input", 5);
|
|
19829
19831
|
i0__namespace.ɵɵelementEnd();
|
|
19830
19832
|
}
|
|
@@ -19915,14 +19917,13 @@
|
|
|
19915
19917
|
if (rf & 1) {
|
|
19916
19918
|
i0__namespace.ɵɵelementStart(0, "span", 8);
|
|
19917
19919
|
i0__namespace.ɵɵtext(1);
|
|
19918
|
-
i0__namespace.ɵɵpipe(2, "
|
|
19919
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
19920
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
19920
19921
|
i0__namespace.ɵɵelementEnd();
|
|
19921
19922
|
}
|
|
19922
19923
|
if (rf & 2) {
|
|
19923
19924
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
19924
19925
|
i0__namespace.ɵɵadvance(1);
|
|
19925
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵ
|
|
19926
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.textareaControl.errors, ctx_r2.caseField.label), " ");
|
|
19926
19927
|
}
|
|
19927
19928
|
}
|
|
19928
19929
|
var _c0$y = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -19954,7 +19955,7 @@
|
|
|
19954
19955
|
i0__namespace.ɵɵtemplate(2, WriteTextAreaFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
19955
19956
|
i0__namespace.ɵɵelementEnd();
|
|
19956
19957
|
i0__namespace.ɵɵtemplate(3, WriteTextAreaFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
19957
|
-
i0__namespace.ɵɵtemplate(4, WriteTextAreaFieldComponent_span_4_Template,
|
|
19958
|
+
i0__namespace.ɵɵtemplate(4, WriteTextAreaFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
19958
19959
|
i0__namespace.ɵɵelementStart(5, "textarea", 5);
|
|
19959
19960
|
i0__namespace.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
|
|
19960
19961
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -20047,14 +20048,13 @@
|
|
|
20047
20048
|
if (rf & 1) {
|
|
20048
20049
|
i0__namespace.ɵɵelementStart(0, "span", 8);
|
|
20049
20050
|
i0__namespace.ɵɵtext(1);
|
|
20050
|
-
i0__namespace.ɵɵpipe(2, "
|
|
20051
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
20051
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
20052
20052
|
i0__namespace.ɵɵelementEnd();
|
|
20053
20053
|
}
|
|
20054
20054
|
if (rf & 2) {
|
|
20055
20055
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
20056
20056
|
i0__namespace.ɵɵadvance(1);
|
|
20057
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵ
|
|
20057
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.textControl.errors, ctx_r2.caseField.label), " ");
|
|
20058
20058
|
}
|
|
20059
20059
|
}
|
|
20060
20060
|
var _c0$x = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -20080,7 +20080,7 @@
|
|
|
20080
20080
|
i0__namespace.ɵɵtemplate(2, WriteTextFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
20081
20081
|
i0__namespace.ɵɵelementEnd();
|
|
20082
20082
|
i0__namespace.ɵɵtemplate(3, WriteTextFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
20083
|
-
i0__namespace.ɵɵtemplate(4, WriteTextFieldComponent_span_4_Template,
|
|
20083
|
+
i0__namespace.ɵɵtemplate(4, WriteTextFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
20084
20084
|
i0__namespace.ɵɵelementStart(5, "input", 5);
|
|
20085
20085
|
i0__namespace.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_5_listener($event) { return ctx.onBlur($event); });
|
|
20086
20086
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -20238,7 +20238,7 @@
|
|
|
20238
20238
|
return ReadYesNoFieldComponent;
|
|
20239
20239
|
}(AbstractFieldReadComponent));
|
|
20240
20240
|
ReadYesNoFieldComponent.ɵfac = function ReadYesNoFieldComponent_Factory(t) { return new (t || ReadYesNoFieldComponent)(i0__namespace.ɵɵdirectiveInject(YesNoService)); };
|
|
20241
|
-
ReadYesNoFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadYesNoFieldComponent, selectors: [["ccd-read-yes-no-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars:
|
|
20241
|
+
ReadYesNoFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadYesNoFieldComponent, selectors: [["ccd-read-yes-no-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[1, "text-16"]], template: function ReadYesNoFieldComponent_Template(rf, ctx) {
|
|
20242
20242
|
if (rf & 1) {
|
|
20243
20243
|
i0__namespace.ɵɵelementStart(0, "span", 0);
|
|
20244
20244
|
i0__namespace.ɵɵtext(1);
|
|
@@ -20247,7 +20247,7 @@
|
|
|
20247
20247
|
}
|
|
20248
20248
|
if (rf & 2) {
|
|
20249
20249
|
i0__namespace.ɵɵadvance(1);
|
|
20250
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵ
|
|
20250
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, ctx.formattedValue));
|
|
20251
20251
|
}
|
|
20252
20252
|
}, pipes: [i1__namespace.RpxTranslatePipe], encapsulation: 2 });
|
|
20253
20253
|
(function () {
|
|
@@ -20255,7 +20255,7 @@
|
|
|
20255
20255
|
type: i0.Component,
|
|
20256
20256
|
args: [{
|
|
20257
20257
|
selector: 'ccd-read-yes-no-field',
|
|
20258
|
-
template: "<span class=\"text-16\">{{
|
|
20258
|
+
template: "<span class=\"text-16\">{{formattedValue | rpxTranslate}}</span>"
|
|
20259
20259
|
}]
|
|
20260
20260
|
}], function () { return [{ type: YesNoService }]; }, null);
|
|
20261
20261
|
})();
|
|
@@ -20271,7 +20271,7 @@
|
|
|
20271
20271
|
if (rf & 2) {
|
|
20272
20272
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
20273
20273
|
i0__namespace.ɵɵadvance(1);
|
|
20274
|
-
i0__namespace.ɵɵ
|
|
20274
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind1(3, 3, ctx_r0.caseField)), " ");
|
|
20275
20275
|
}
|
|
20276
20276
|
}
|
|
20277
20277
|
function WriteYesNoFieldComponent_span_4_Template(rf, ctx) {
|
|
@@ -20291,14 +20291,13 @@
|
|
|
20291
20291
|
if (rf & 1) {
|
|
20292
20292
|
i0__namespace.ɵɵelementStart(0, "span", 9);
|
|
20293
20293
|
i0__namespace.ɵɵtext(1);
|
|
20294
|
-
i0__namespace.ɵɵpipe(2, "
|
|
20295
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
20294
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
20296
20295
|
i0__namespace.ɵɵelementEnd();
|
|
20297
20296
|
}
|
|
20298
20297
|
if (rf & 2) {
|
|
20299
20298
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
20300
20299
|
i0__namespace.ɵɵadvance(1);
|
|
20301
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵ
|
|
20300
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label), " ");
|
|
20302
20301
|
}
|
|
20303
20302
|
}
|
|
20304
20303
|
var _c0$w = function (a0) { return { selected: a0 }; };
|
|
@@ -20315,14 +20314,14 @@
|
|
|
20315
20314
|
if (rf & 2) {
|
|
20316
20315
|
var value_r4 = ctx.$implicit;
|
|
20317
20316
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
20318
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(
|
|
20317
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$w, ctx_r3.yesNoControl.value === value_r4));
|
|
20319
20318
|
i0__namespace.ɵɵadvance(1);
|
|
20320
20319
|
i0__namespace.ɵɵproperty("id", ctx_r3.createElementId(value_r4))("name", ctx_r3.id())("formControl", ctx_r3.yesNoControl)("value", value_r4);
|
|
20321
20320
|
i0__namespace.ɵɵattribute("name", ctx_r3.id());
|
|
20322
20321
|
i0__namespace.ɵɵadvance(1);
|
|
20323
20322
|
i0__namespace.ɵɵproperty("for", ctx_r3.createElementId(value_r4));
|
|
20324
20323
|
i0__namespace.ɵɵadvance(1);
|
|
20325
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵ
|
|
20324
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 8, value_r4));
|
|
20326
20325
|
}
|
|
20327
20326
|
}
|
|
20328
20327
|
var _c1$a = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -20337,9 +20336,6 @@
|
|
|
20337
20336
|
WriteYesNoFieldComponent.prototype.ngOnInit = function () {
|
|
20338
20337
|
this.yesNoControl = this.registerControl(new i2$1.FormControl(this.yesNoService.format(this.caseField.value)));
|
|
20339
20338
|
};
|
|
20340
|
-
WriteYesNoFieldComponent.prototype.toLowerCase = function (value) {
|
|
20341
|
-
return value.toLowerCase();
|
|
20342
|
-
};
|
|
20343
20339
|
return WriteYesNoFieldComponent;
|
|
20344
20340
|
}(AbstractFieldWriteComponent));
|
|
20345
20341
|
WriteYesNoFieldComponent.ɵfac = function WriteYesNoFieldComponent_Factory(t) { return new (t || WriteYesNoFieldComponent)(i0__namespace.ɵɵdirectiveInject(YesNoService)); };
|
|
@@ -20351,9 +20347,9 @@
|
|
|
20351
20347
|
i0__namespace.ɵɵtemplate(3, WriteYesNoFieldComponent_span_3_Template, 4, 5, "span", 2);
|
|
20352
20348
|
i0__namespace.ɵɵelementEnd();
|
|
20353
20349
|
i0__namespace.ɵɵtemplate(4, WriteYesNoFieldComponent_span_4_Template, 3, 3, "span", 3);
|
|
20354
|
-
i0__namespace.ɵɵtemplate(5, WriteYesNoFieldComponent_span_5_Template,
|
|
20350
|
+
i0__namespace.ɵɵtemplate(5, WriteYesNoFieldComponent_span_5_Template, 3, 4, "span", 4);
|
|
20355
20351
|
i0__namespace.ɵɵelementStart(6, "div", 5);
|
|
20356
|
-
i0__namespace.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5,
|
|
20352
|
+
i0__namespace.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 12, "div", 6);
|
|
20357
20353
|
i0__namespace.ɵɵelementEnd();
|
|
20358
20354
|
i0__namespace.ɵɵelementEnd();
|
|
20359
20355
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -24053,14 +24049,13 @@
|
|
|
24053
24049
|
if (rf & 1) {
|
|
24054
24050
|
i0__namespace.ɵɵelementStart(0, "span", 7);
|
|
24055
24051
|
i0__namespace.ɵɵtext(1);
|
|
24056
|
-
i0__namespace.ɵɵpipe(2, "
|
|
24057
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
24052
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
24058
24053
|
i0__namespace.ɵɵelementEnd();
|
|
24059
24054
|
}
|
|
24060
24055
|
if (rf & 2) {
|
|
24061
24056
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
24062
24057
|
i0__namespace.ɵɵadvance(1);
|
|
24063
|
-
i0__namespace.ɵɵ
|
|
24058
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.dateControl.errors, ctx_r2.caseField.label), " ");
|
|
24064
24059
|
}
|
|
24065
24060
|
}
|
|
24066
24061
|
var _c0$j = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -24086,7 +24081,7 @@
|
|
|
24086
24081
|
i0__namespace.ɵɵtemplate(3, WriteDateFieldComponent_span_3_Template, 4, 5, "span", 1);
|
|
24087
24082
|
i0__namespace.ɵɵelementEnd();
|
|
24088
24083
|
i0__namespace.ɵɵtemplate(4, WriteDateFieldComponent_span_4_Template, 3, 3, "span", 2);
|
|
24089
|
-
i0__namespace.ɵɵtemplate(5, WriteDateFieldComponent_span_5_Template,
|
|
24084
|
+
i0__namespace.ɵɵtemplate(5, WriteDateFieldComponent_span_5_Template, 3, 4, "span", 3);
|
|
24090
24085
|
i0__namespace.ɵɵelement(6, "cut-date-input", 4);
|
|
24091
24086
|
i0__namespace.ɵɵpipe(7, "ccdIsMandatory");
|
|
24092
24087
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -24160,14 +24155,13 @@
|
|
|
24160
24155
|
if (rf & 1) {
|
|
24161
24156
|
i0__namespace.ɵɵelementStart(0, "span", 12);
|
|
24162
24157
|
i0__namespace.ɵɵtext(1);
|
|
24163
|
-
i0__namespace.ɵɵpipe(2, "
|
|
24164
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
24158
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
24165
24159
|
i0__namespace.ɵɵelementEnd();
|
|
24166
24160
|
}
|
|
24167
24161
|
if (rf & 2) {
|
|
24168
24162
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
24169
24163
|
i0__namespace.ɵɵadvance(1);
|
|
24170
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵ
|
|
24164
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.dateControl.errors, ctx_r2.caseField.label));
|
|
24171
24165
|
}
|
|
24172
24166
|
}
|
|
24173
24167
|
function DatetimePickerComponent_span_6_Template(rf, ctx) {
|
|
@@ -24385,7 +24379,7 @@
|
|
|
24385
24379
|
i0__namespace.ɵɵelementStart(2, "legend");
|
|
24386
24380
|
i0__namespace.ɵɵtemplate(3, DatetimePickerComponent_span_3_Template, 4, 5, "span", 1);
|
|
24387
24381
|
i0__namespace.ɵɵtemplate(4, DatetimePickerComponent_span_4_Template, 3, 3, "span", 2);
|
|
24388
|
-
i0__namespace.ɵɵtemplate(5, DatetimePickerComponent_span_5_Template,
|
|
24382
|
+
i0__namespace.ɵɵtemplate(5, DatetimePickerComponent_span_5_Template, 3, 4, "span", 3);
|
|
24389
24383
|
i0__namespace.ɵɵtemplate(6, DatetimePickerComponent_span_6_Template, 3, 3, "span", 3);
|
|
24390
24384
|
i0__namespace.ɵɵtemplate(7, DatetimePickerComponent_span_7_Template, 3, 3, "span", 3);
|
|
24391
24385
|
i0__namespace.ɵɵelementEnd();
|