@hmcts/ccd-case-ui-toolkit 6.13.11-welsh-release-v5-yes-no → 6.13.11-welsh-form-validation-errors-v2
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 +92 -94
- 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 +22 -11
- 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 +94 -94
- 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,40 @@
|
|
|
3137
3138
|
if (!keys.length) {
|
|
3138
3139
|
return '';
|
|
3139
3140
|
}
|
|
3141
|
+
var fieldLabel = this.rpxTranslationPipe.transform(args);
|
|
3142
|
+
var errorMessage;
|
|
3140
3143
|
if (keys[0] === 'required') {
|
|
3141
|
-
|
|
3144
|
+
errorMessage = '%FIELDLABEL% is required';
|
|
3142
3145
|
}
|
|
3143
3146
|
else if (keys[0] === 'pattern') {
|
|
3144
|
-
|
|
3147
|
+
errorMessage = 'The data entered is not valid for %FIELDLABEL%';
|
|
3145
3148
|
}
|
|
3146
3149
|
else if (keys[0] === 'minlength') {
|
|
3147
|
-
|
|
3150
|
+
errorMessage = '%FIELDLABEL% is below the minimum length';
|
|
3148
3151
|
}
|
|
3149
3152
|
else if (keys[0] === 'maxlength') {
|
|
3150
|
-
|
|
3153
|
+
errorMessage = '%FIELDLABEL% exceeds the maximum length';
|
|
3151
3154
|
}
|
|
3152
3155
|
else if (value.hasOwnProperty('matDatetimePickerParse')) {
|
|
3153
|
-
|
|
3156
|
+
errorMessage = 'The date entered is not valid. Please provide a valid date';
|
|
3154
3157
|
}
|
|
3155
|
-
|
|
3158
|
+
else {
|
|
3159
|
+
errorMessage = value[keys[0]];
|
|
3160
|
+
}
|
|
3161
|
+
return this.rpxTranslationPipe.transform(errorMessage, { FIELDLABEL: fieldLabel });
|
|
3156
3162
|
};
|
|
3157
3163
|
return FirstErrorPipe;
|
|
3158
3164
|
}());
|
|
3159
|
-
FirstErrorPipe.ɵfac = function FirstErrorPipe_Factory(t) { return new (t || FirstErrorPipe)(); };
|
|
3160
|
-
FirstErrorPipe.ɵpipe = i0__namespace.ɵɵdefinePipe({ name: "ccdFirstError", type: FirstErrorPipe, pure:
|
|
3165
|
+
FirstErrorPipe.ɵfac = function FirstErrorPipe_Factory(t) { return new (t || FirstErrorPipe)(i0__namespace.ɵɵdirectiveInject(i1__namespace.RpxTranslatePipe)); };
|
|
3166
|
+
FirstErrorPipe.ɵpipe = i0__namespace.ɵɵdefinePipe({ name: "ccdFirstError", type: FirstErrorPipe, pure: false });
|
|
3161
3167
|
(function () {
|
|
3162
3168
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FirstErrorPipe, [{
|
|
3163
3169
|
type: i0.Pipe,
|
|
3164
3170
|
args: [{
|
|
3165
|
-
name: 'ccdFirstError'
|
|
3171
|
+
name: 'ccdFirstError',
|
|
3172
|
+
pure: false
|
|
3166
3173
|
}]
|
|
3167
|
-
}],
|
|
3174
|
+
}], function () { return [{ type: i1__namespace.RpxTranslatePipe }]; }, null);
|
|
3168
3175
|
})();
|
|
3169
3176
|
|
|
3170
3177
|
var IsCompoundPipe = /** @class */ (function () {
|
|
@@ -3328,9 +3335,11 @@
|
|
|
3328
3335
|
PaletteUtilsModule.ɵfac = function PaletteUtilsModule_Factory(t) { return new (t || PaletteUtilsModule)(); };
|
|
3329
3336
|
PaletteUtilsModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: PaletteUtilsModule });
|
|
3330
3337
|
PaletteUtilsModule.ɵinj = i0__namespace.ɵɵdefineInjector({ providers: [
|
|
3331
|
-
IsCompoundPipe
|
|
3338
|
+
IsCompoundPipe,
|
|
3339
|
+
i1.RpxTranslatePipe
|
|
3332
3340
|
], imports: [[
|
|
3333
|
-
i2.CommonModule
|
|
3341
|
+
i2.CommonModule,
|
|
3342
|
+
i1.RpxTranslationModule.forChild()
|
|
3334
3343
|
]] });
|
|
3335
3344
|
(function () {
|
|
3336
3345
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(PaletteUtilsModule, { declarations: [DatePipe,
|
|
@@ -3340,7 +3349,7 @@
|
|
|
3340
3349
|
IsMandatoryPipe,
|
|
3341
3350
|
IsReadOnlyPipe,
|
|
3342
3351
|
IsReadOnlyAndNotCollectionPipe,
|
|
3343
|
-
DashPipe], imports: [i2.CommonModule], exports: [DatePipe,
|
|
3352
|
+
DashPipe], imports: [i2.CommonModule, i1__namespace.RpxTranslationModule], exports: [DatePipe,
|
|
3344
3353
|
FieldLabelPipe,
|
|
3345
3354
|
FirstErrorPipe,
|
|
3346
3355
|
IsCompoundPipe,
|
|
@@ -3354,7 +3363,8 @@
|
|
|
3354
3363
|
type: i0.NgModule,
|
|
3355
3364
|
args: [{
|
|
3356
3365
|
imports: [
|
|
3357
|
-
i2.CommonModule
|
|
3366
|
+
i2.CommonModule,
|
|
3367
|
+
i1.RpxTranslationModule.forChild()
|
|
3358
3368
|
],
|
|
3359
3369
|
declarations: [
|
|
3360
3370
|
DatePipe,
|
|
@@ -3377,7 +3387,8 @@
|
|
|
3377
3387
|
DashPipe
|
|
3378
3388
|
],
|
|
3379
3389
|
providers: [
|
|
3380
|
-
IsCompoundPipe
|
|
3390
|
+
IsCompoundPipe,
|
|
3391
|
+
i1.RpxTranslatePipe
|
|
3381
3392
|
]
|
|
3382
3393
|
}]
|
|
3383
3394
|
}], null, null);
|
|
@@ -10296,6 +10307,7 @@
|
|
|
10296
10307
|
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
10308
|
i0__namespace.ɵɵtext(4);
|
|
10298
10309
|
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
10310
|
+
i0__namespace.ɵɵpipe(6, "rpxTranslate");
|
|
10299
10311
|
i0__namespace.ɵɵelementEnd();
|
|
10300
10312
|
i0__namespace.ɵɵelementEnd();
|
|
10301
10313
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -10303,8 +10315,9 @@
|
|
|
10303
10315
|
}
|
|
10304
10316
|
if (rf & 2) {
|
|
10305
10317
|
var validationError_r15 = ctx.$implicit;
|
|
10318
|
+
var ctx_r14 = i0__namespace.ɵɵnextContext(2);
|
|
10306
10319
|
i0__namespace.ɵɵadvance(4);
|
|
10307
|
-
i0__namespace.ɵɵ
|
|
10320
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(5, 1, validationError_r15.message, ctx_r14.getRpxTranslatePipeArgs(i0__namespace.ɵɵpipeBind1(6, 5, validationError_r15.label)), null), " ");
|
|
10308
10321
|
}
|
|
10309
10322
|
}
|
|
10310
10323
|
function CaseEditPageComponent_div_7_Template(rf, ctx) {
|
|
@@ -10314,7 +10327,7 @@
|
|
|
10314
10327
|
i0__namespace.ɵɵtext(2);
|
|
10315
10328
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
10316
10329
|
i0__namespace.ɵɵelementEnd();
|
|
10317
|
-
i0__namespace.ɵɵtemplate(4, CaseEditPageComponent_div_7_div_4_Template,
|
|
10330
|
+
i0__namespace.ɵɵtemplate(4, CaseEditPageComponent_div_7_div_4_Template, 7, 7, "div", 17);
|
|
10318
10331
|
i0__namespace.ɵɵelementEnd();
|
|
10319
10332
|
}
|
|
10320
10333
|
if (rf & 2) {
|
|
@@ -10610,19 +10623,19 @@
|
|
|
10610
10623
|
}
|
|
10611
10624
|
}
|
|
10612
10625
|
if (fieldElement.hasError('required')) {
|
|
10613
|
-
_this.caseEditDataService.addFormValidationError({ id: id_1, message:
|
|
10626
|
+
_this.caseEditDataService.addFormValidationError({ id: id_1, message: "%FIELDLABEL% is required", label: label });
|
|
10614
10627
|
fieldElement.markAsDirty();
|
|
10615
10628
|
}
|
|
10616
10629
|
else if (fieldElement.hasError('pattern')) {
|
|
10617
|
-
_this.caseEditDataService.addFormValidationError({ id: id_1, message:
|
|
10630
|
+
_this.caseEditDataService.addFormValidationError({ id: id_1, message: "%FIELDLABEL% is not valid", label: label });
|
|
10618
10631
|
fieldElement.markAsDirty();
|
|
10619
10632
|
}
|
|
10620
10633
|
else if (fieldElement.hasError('minlength')) {
|
|
10621
|
-
_this.caseEditDataService.addFormValidationError({ id: id_1, message:
|
|
10634
|
+
_this.caseEditDataService.addFormValidationError({ id: id_1, message: "%FIELDLABEL% is below the minimum length", label: label });
|
|
10622
10635
|
fieldElement.markAsDirty();
|
|
10623
10636
|
}
|
|
10624
10637
|
else if (fieldElement.hasError('maxlength')) {
|
|
10625
|
-
_this.caseEditDataService.addFormValidationError({ id: id_1, message:
|
|
10638
|
+
_this.caseEditDataService.addFormValidationError({ id: id_1, message: "%FIELDLABEL% exceeds the maximum length", label: label });
|
|
10626
10639
|
fieldElement.markAsDirty();
|
|
10627
10640
|
}
|
|
10628
10641
|
else if (fieldElement.invalid) {
|
|
@@ -10919,6 +10932,9 @@
|
|
|
10919
10932
|
next: function (validationErrors) { return _this.validationErrors = validationErrors; }
|
|
10920
10933
|
});
|
|
10921
10934
|
};
|
|
10935
|
+
CaseEditPageComponent.prototype.getRpxTranslatePipeArgs = function (fieldLabel) {
|
|
10936
|
+
return fieldLabel ? ({ FIELDLABEL: fieldLabel }) : null;
|
|
10937
|
+
};
|
|
10922
10938
|
return CaseEditPageComponent;
|
|
10923
10939
|
}());
|
|
10924
10940
|
CaseEditPageComponent.RESUMED_FORM_DISCARD = 'RESUMED_FORM_DISCARD';
|
|
@@ -10972,7 +10988,7 @@
|
|
|
10972
10988
|
args: [{
|
|
10973
10989
|
selector: 'ccd-case-edit-page',
|
|
10974
10990
|
templateUrl: 'case-edit-page.html',
|
|
10975
|
-
styleUrls: ['./case-edit-page.scss']
|
|
10991
|
+
styleUrls: ['./case-edit-page.scss'],
|
|
10976
10992
|
}]
|
|
10977
10993
|
}], 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
10994
|
})();
|
|
@@ -12543,14 +12559,13 @@
|
|
|
12543
12559
|
if (rf & 1) {
|
|
12544
12560
|
i0__namespace.ɵɵelementStart(0, "span", 8);
|
|
12545
12561
|
i0__namespace.ɵɵtext(1);
|
|
12546
|
-
i0__namespace.ɵɵpipe(2, "
|
|
12547
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
12562
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
12548
12563
|
i0__namespace.ɵɵelementEnd();
|
|
12549
12564
|
}
|
|
12550
12565
|
if (rf & 2) {
|
|
12551
12566
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
12552
12567
|
i0__namespace.ɵɵadvance(1);
|
|
12553
|
-
i0__namespace.ɵɵ
|
|
12568
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.caseReferenceControl.errors, ctx_r2.caseField.label), " ");
|
|
12554
12569
|
}
|
|
12555
12570
|
}
|
|
12556
12571
|
var _c1$l = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -12632,7 +12647,7 @@
|
|
|
12632
12647
|
i0__namespace.ɵɵtemplate(2, WriteCaseLinkFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
12633
12648
|
i0__namespace.ɵɵelementEnd();
|
|
12634
12649
|
i0__namespace.ɵɵtemplate(3, WriteCaseLinkFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
12635
|
-
i0__namespace.ɵɵtemplate(4, WriteCaseLinkFieldComponent_span_4_Template,
|
|
12650
|
+
i0__namespace.ɵɵtemplate(4, WriteCaseLinkFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
12636
12651
|
i0__namespace.ɵɵelement(5, "input", 5);
|
|
12637
12652
|
i0__namespace.ɵɵelementEnd();
|
|
12638
12653
|
}
|
|
@@ -12862,21 +12877,20 @@
|
|
|
12862
12877
|
if (rf & 1) {
|
|
12863
12878
|
i0__namespace.ɵɵelementStart(0, "span", 10);
|
|
12864
12879
|
i0__namespace.ɵɵtext(1);
|
|
12865
|
-
i0__namespace.ɵɵpipe(2, "
|
|
12866
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
12880
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
12867
12881
|
i0__namespace.ɵɵelementEnd();
|
|
12868
12882
|
}
|
|
12869
12883
|
if (rf & 2) {
|
|
12870
12884
|
var ctx_r4 = i0__namespace.ɵɵnextContext(2);
|
|
12871
12885
|
i0__namespace.ɵɵadvance(1);
|
|
12872
|
-
i0__namespace.ɵɵ
|
|
12886
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r4.formArray.errors, ctx_r4.caseField.label), " ");
|
|
12873
12887
|
}
|
|
12874
12888
|
}
|
|
12875
12889
|
function WriteCollectionFieldComponent_h2_9_Template(rf, ctx) {
|
|
12876
12890
|
if (rf & 1) {
|
|
12877
12891
|
i0__namespace.ɵɵelementStart(0, "h2", 2);
|
|
12878
12892
|
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,
|
|
12893
|
+
i0__namespace.ɵɵtemplate(2, WriteCollectionFieldComponent_h2_9_span_2_Template, 3, 4, "span", 8);
|
|
12880
12894
|
i0__namespace.ɵɵelementEnd();
|
|
12881
12895
|
}
|
|
12882
12896
|
if (rf & 2) {
|
|
@@ -14698,7 +14712,7 @@
|
|
|
14698
14712
|
if (rf & 2) {
|
|
14699
14713
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
14700
14714
|
i0__namespace.ɵɵadvance(1);
|
|
14701
|
-
i0__namespace.ɵɵ
|
|
14715
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, ctx_r2.checkboxes.errors), "");
|
|
14702
14716
|
}
|
|
14703
14717
|
}
|
|
14704
14718
|
function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) {
|
|
@@ -14952,14 +14966,13 @@
|
|
|
14952
14966
|
if (rf & 1) {
|
|
14953
14967
|
i0__namespace.ɵɵelementStart(0, "span", 9);
|
|
14954
14968
|
i0__namespace.ɵɵtext(1);
|
|
14955
|
-
i0__namespace.ɵɵpipe(2, "
|
|
14956
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
14969
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
14957
14970
|
i0__namespace.ɵɵelementEnd();
|
|
14958
14971
|
}
|
|
14959
14972
|
if (rf & 2) {
|
|
14960
14973
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
14961
14974
|
i0__namespace.ɵɵadvance(1);
|
|
14962
|
-
i0__namespace.ɵɵ
|
|
14975
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, ctx_r3.dynamicRadioListControl.errors), " ");
|
|
14963
14976
|
}
|
|
14964
14977
|
}
|
|
14965
14978
|
var _c0$K = function (a0) { return { selected: a0 }; };
|
|
@@ -15024,7 +15037,7 @@
|
|
|
15024
15037
|
i0__namespace.ɵɵtemplate(4, WriteDynamicRadioListFieldComponent_span_4_Template, 4, 5, "span", 3);
|
|
15025
15038
|
i0__namespace.ɵɵtemplate(5, WriteDynamicRadioListFieldComponent_span_5_Template, 3, 3, "span", 4);
|
|
15026
15039
|
i0__namespace.ɵɵtemplate(6, WriteDynamicRadioListFieldComponent_span_6_Template, 3, 3, "span", 3);
|
|
15027
|
-
i0__namespace.ɵɵtemplate(7, WriteDynamicRadioListFieldComponent_span_7_Template,
|
|
15040
|
+
i0__namespace.ɵɵtemplate(7, WriteDynamicRadioListFieldComponent_span_7_Template, 3, 3, "span", 5);
|
|
15028
15041
|
i0__namespace.ɵɵelementEnd();
|
|
15029
15042
|
i0__namespace.ɵɵelementContainerStart(8);
|
|
15030
15043
|
i0__namespace.ɵɵtemplate(9, WriteDynamicRadioListFieldComponent_div_9_Template, 5, 11, "div", 6);
|
|
@@ -15133,14 +15146,13 @@
|
|
|
15133
15146
|
if (rf & 1) {
|
|
15134
15147
|
i0__namespace.ɵɵelementStart(0, "span", 8);
|
|
15135
15148
|
i0__namespace.ɵɵtext(1);
|
|
15136
|
-
i0__namespace.ɵɵpipe(2, "
|
|
15137
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
15149
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
15138
15150
|
i0__namespace.ɵɵelementEnd();
|
|
15139
15151
|
}
|
|
15140
15152
|
if (rf & 2) {
|
|
15141
15153
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
15142
15154
|
i0__namespace.ɵɵadvance(1);
|
|
15143
|
-
i0__namespace.ɵɵ
|
|
15155
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.emailControl.errors, ctx_r2.caseField.label), "");
|
|
15144
15156
|
}
|
|
15145
15157
|
}
|
|
15146
15158
|
var _c0$J = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -15163,7 +15175,7 @@
|
|
|
15163
15175
|
i0__namespace.ɵɵtemplate(2, WriteEmailFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
15164
15176
|
i0__namespace.ɵɵelementEnd();
|
|
15165
15177
|
i0__namespace.ɵɵtemplate(3, WriteEmailFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
15166
|
-
i0__namespace.ɵɵtemplate(4, WriteEmailFieldComponent_span_4_Template,
|
|
15178
|
+
i0__namespace.ɵɵtemplate(4, WriteEmailFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
15167
15179
|
i0__namespace.ɵɵelement(5, "input", 5);
|
|
15168
15180
|
i0__namespace.ɵɵelementEnd();
|
|
15169
15181
|
}
|
|
@@ -15255,14 +15267,13 @@
|
|
|
15255
15267
|
if (rf & 1) {
|
|
15256
15268
|
i0__namespace.ɵɵelementStart(0, "span", 10);
|
|
15257
15269
|
i0__namespace.ɵɵtext(1);
|
|
15258
|
-
i0__namespace.ɵɵpipe(2, "
|
|
15259
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
15270
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
15260
15271
|
i0__namespace.ɵɵelementEnd();
|
|
15261
15272
|
}
|
|
15262
15273
|
if (rf & 2) {
|
|
15263
15274
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
15264
15275
|
i0__namespace.ɵɵadvance(1);
|
|
15265
|
-
i0__namespace.ɵɵ
|
|
15276
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.fixedListFormControl.errors, ctx_r2.caseField.label), " ");
|
|
15266
15277
|
}
|
|
15267
15278
|
}
|
|
15268
15279
|
function WriteFixedListFieldComponent_option_8_Template(rf, ctx) {
|
|
@@ -15318,7 +15329,7 @@
|
|
|
15318
15329
|
i0__namespace.ɵɵtemplate(2, WriteFixedListFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
15319
15330
|
i0__namespace.ɵɵelementEnd();
|
|
15320
15331
|
i0__namespace.ɵɵtemplate(3, WriteFixedListFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
15321
|
-
i0__namespace.ɵɵtemplate(4, WriteFixedListFieldComponent_span_4_Template,
|
|
15332
|
+
i0__namespace.ɵɵtemplate(4, WriteFixedListFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
15322
15333
|
i0__namespace.ɵɵelementStart(5, "select", 5);
|
|
15323
15334
|
i0__namespace.ɵɵelementStart(6, "option", 6);
|
|
15324
15335
|
i0__namespace.ɵɵtext(7, "--Select a value--");
|
|
@@ -15440,14 +15451,13 @@
|
|
|
15440
15451
|
if (rf & 1) {
|
|
15441
15452
|
i0__namespace.ɵɵelementStart(0, "span", 8);
|
|
15442
15453
|
i0__namespace.ɵɵtext(1);
|
|
15443
|
-
i0__namespace.ɵɵpipe(2, "
|
|
15444
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
15454
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
15445
15455
|
i0__namespace.ɵɵelementEnd();
|
|
15446
15456
|
}
|
|
15447
15457
|
if (rf & 2) {
|
|
15448
15458
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
15449
15459
|
i0__namespace.ɵɵadvance(1);
|
|
15450
|
-
i0__namespace.ɵɵ
|
|
15460
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label), " ");
|
|
15451
15461
|
}
|
|
15452
15462
|
}
|
|
15453
15463
|
var _c0$H = function (a0) { return { selected: a0 }; };
|
|
@@ -15495,7 +15505,7 @@
|
|
|
15495
15505
|
i0__namespace.ɵɵtemplate(4, WriteFixedRadioListFieldComponent_span_4_Template, 4, 5, "span", 2);
|
|
15496
15506
|
i0__namespace.ɵɵelementEnd();
|
|
15497
15507
|
i0__namespace.ɵɵtemplate(5, WriteFixedRadioListFieldComponent_span_5_Template, 3, 3, "span", 3);
|
|
15498
|
-
i0__namespace.ɵɵtemplate(6, WriteFixedRadioListFieldComponent_span_6_Template,
|
|
15508
|
+
i0__namespace.ɵɵtemplate(6, WriteFixedRadioListFieldComponent_span_6_Template, 3, 4, "span", 4);
|
|
15499
15509
|
i0__namespace.ɵɵelementEnd();
|
|
15500
15510
|
i0__namespace.ɵɵelementContainerStart(7);
|
|
15501
15511
|
i0__namespace.ɵɵtemplate(8, WriteFixedRadioListFieldComponent_div_8_Template, 5, 11, "div", 5);
|
|
@@ -18573,14 +18583,13 @@
|
|
|
18573
18583
|
if (rf & 1) {
|
|
18574
18584
|
i0__namespace.ɵɵelementStart(0, "span", 10);
|
|
18575
18585
|
i0__namespace.ɵɵtext(1);
|
|
18576
|
-
i0__namespace.ɵɵpipe(2, "
|
|
18577
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
18586
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
18578
18587
|
i0__namespace.ɵɵelementEnd();
|
|
18579
18588
|
}
|
|
18580
18589
|
if (rf & 2) {
|
|
18581
18590
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
18582
18591
|
i0__namespace.ɵɵadvance(1);
|
|
18583
|
-
i0__namespace.ɵɵ
|
|
18592
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label), "");
|
|
18584
18593
|
}
|
|
18585
18594
|
}
|
|
18586
18595
|
var _c0$D = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -18602,7 +18611,7 @@
|
|
|
18602
18611
|
i0__namespace.ɵɵtemplate(2, WriteMoneyGbpFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
18603
18612
|
i0__namespace.ɵɵelementEnd();
|
|
18604
18613
|
i0__namespace.ɵɵtemplate(3, WriteMoneyGbpFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
18605
|
-
i0__namespace.ɵɵtemplate(4, WriteMoneyGbpFieldComponent_span_4_Template,
|
|
18614
|
+
i0__namespace.ɵɵtemplate(4, WriteMoneyGbpFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
18606
18615
|
i0__namespace.ɵɵelementStart(5, "div", 5);
|
|
18607
18616
|
i0__namespace.ɵɵelementStart(6, "span", 6);
|
|
18608
18617
|
i0__namespace.ɵɵtext(7, "\u00A3");
|
|
@@ -18732,14 +18741,13 @@
|
|
|
18732
18741
|
if (rf & 1) {
|
|
18733
18742
|
i0__namespace.ɵɵelementStart(0, "span", 7);
|
|
18734
18743
|
i0__namespace.ɵɵtext(1);
|
|
18735
|
-
i0__namespace.ɵɵpipe(2, "
|
|
18736
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
18744
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
18737
18745
|
i0__namespace.ɵɵelementEnd();
|
|
18738
18746
|
}
|
|
18739
18747
|
if (rf & 2) {
|
|
18740
18748
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
18741
18749
|
i0__namespace.ɵɵadvance(1);
|
|
18742
|
-
i0__namespace.ɵɵ
|
|
18750
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.checkboxes.errors, ctx_r2.caseField.label), " ");
|
|
18743
18751
|
}
|
|
18744
18752
|
}
|
|
18745
18753
|
function WriteMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) {
|
|
@@ -18826,7 +18834,7 @@
|
|
|
18826
18834
|
i0__namespace.ɵɵtemplate(3, WriteMultiSelectListFieldComponent_span_3_Template, 4, 5, "span", 1);
|
|
18827
18835
|
i0__namespace.ɵɵelementEnd();
|
|
18828
18836
|
i0__namespace.ɵɵtemplate(4, WriteMultiSelectListFieldComponent_span_4_Template, 3, 3, "span", 2);
|
|
18829
|
-
i0__namespace.ɵɵtemplate(5, WriteMultiSelectListFieldComponent_span_5_Template,
|
|
18837
|
+
i0__namespace.ɵɵtemplate(5, WriteMultiSelectListFieldComponent_span_5_Template, 3, 4, "span", 3);
|
|
18830
18838
|
i0__namespace.ɵɵtemplate(6, WriteMultiSelectListFieldComponent_ng_container_6_Template, 6, 8, "ng-container", 4);
|
|
18831
18839
|
i0__namespace.ɵɵelementEnd();
|
|
18832
18840
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -18916,14 +18924,13 @@
|
|
|
18916
18924
|
if (rf & 1) {
|
|
18917
18925
|
i0__namespace.ɵɵelementStart(0, "span", 8);
|
|
18918
18926
|
i0__namespace.ɵɵtext(1);
|
|
18919
|
-
i0__namespace.ɵɵpipe(2, "
|
|
18920
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
18927
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
18921
18928
|
i0__namespace.ɵɵelementEnd();
|
|
18922
18929
|
}
|
|
18923
18930
|
if (rf & 2) {
|
|
18924
18931
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
18925
18932
|
i0__namespace.ɵɵadvance(1);
|
|
18926
|
-
i0__namespace.ɵɵ
|
|
18933
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.numberControl.errors, ctx_r2.caseField.label), " ");
|
|
18927
18934
|
}
|
|
18928
18935
|
}
|
|
18929
18936
|
var _c0$B = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -18946,7 +18953,7 @@
|
|
|
18946
18953
|
i0__namespace.ɵɵtemplate(2, WriteNumberFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
18947
18954
|
i0__namespace.ɵɵelementEnd();
|
|
18948
18955
|
i0__namespace.ɵɵtemplate(3, WriteNumberFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
18949
|
-
i0__namespace.ɵɵtemplate(4, WriteNumberFieldComponent_span_4_Template,
|
|
18956
|
+
i0__namespace.ɵɵtemplate(4, WriteNumberFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
18950
18957
|
i0__namespace.ɵɵelement(5, "input", 5);
|
|
18951
18958
|
i0__namespace.ɵɵelementEnd();
|
|
18952
18959
|
}
|
|
@@ -19794,14 +19801,13 @@
|
|
|
19794
19801
|
if (rf & 1) {
|
|
19795
19802
|
i0__namespace.ɵɵelementStart(0, "span", 8);
|
|
19796
19803
|
i0__namespace.ɵɵtext(1);
|
|
19797
|
-
i0__namespace.ɵɵpipe(2, "
|
|
19798
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
19804
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
19799
19805
|
i0__namespace.ɵɵelementEnd();
|
|
19800
19806
|
}
|
|
19801
19807
|
if (rf & 2) {
|
|
19802
19808
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
19803
19809
|
i0__namespace.ɵɵadvance(1);
|
|
19804
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵ
|
|
19810
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label), " ");
|
|
19805
19811
|
}
|
|
19806
19812
|
}
|
|
19807
19813
|
var _c0$z = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -19824,7 +19830,7 @@
|
|
|
19824
19830
|
i0__namespace.ɵɵtemplate(2, WritePhoneUKFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
19825
19831
|
i0__namespace.ɵɵelementEnd();
|
|
19826
19832
|
i0__namespace.ɵɵtemplate(3, WritePhoneUKFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
19827
|
-
i0__namespace.ɵɵtemplate(4, WritePhoneUKFieldComponent_span_4_Template,
|
|
19833
|
+
i0__namespace.ɵɵtemplate(4, WritePhoneUKFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
19828
19834
|
i0__namespace.ɵɵelement(5, "input", 5);
|
|
19829
19835
|
i0__namespace.ɵɵelementEnd();
|
|
19830
19836
|
}
|
|
@@ -19915,14 +19921,13 @@
|
|
|
19915
19921
|
if (rf & 1) {
|
|
19916
19922
|
i0__namespace.ɵɵelementStart(0, "span", 8);
|
|
19917
19923
|
i0__namespace.ɵɵtext(1);
|
|
19918
|
-
i0__namespace.ɵɵpipe(2, "
|
|
19919
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
19924
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
19920
19925
|
i0__namespace.ɵɵelementEnd();
|
|
19921
19926
|
}
|
|
19922
19927
|
if (rf & 2) {
|
|
19923
19928
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
19924
19929
|
i0__namespace.ɵɵadvance(1);
|
|
19925
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵ
|
|
19930
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.textareaControl.errors, ctx_r2.caseField.label), " ");
|
|
19926
19931
|
}
|
|
19927
19932
|
}
|
|
19928
19933
|
var _c0$y = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -19954,7 +19959,7 @@
|
|
|
19954
19959
|
i0__namespace.ɵɵtemplate(2, WriteTextAreaFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
19955
19960
|
i0__namespace.ɵɵelementEnd();
|
|
19956
19961
|
i0__namespace.ɵɵtemplate(3, WriteTextAreaFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
19957
|
-
i0__namespace.ɵɵtemplate(4, WriteTextAreaFieldComponent_span_4_Template,
|
|
19962
|
+
i0__namespace.ɵɵtemplate(4, WriteTextAreaFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
19958
19963
|
i0__namespace.ɵɵelementStart(5, "textarea", 5);
|
|
19959
19964
|
i0__namespace.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
|
|
19960
19965
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -20047,14 +20052,13 @@
|
|
|
20047
20052
|
if (rf & 1) {
|
|
20048
20053
|
i0__namespace.ɵɵelementStart(0, "span", 8);
|
|
20049
20054
|
i0__namespace.ɵɵtext(1);
|
|
20050
|
-
i0__namespace.ɵɵpipe(2, "
|
|
20051
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
20055
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
20052
20056
|
i0__namespace.ɵɵelementEnd();
|
|
20053
20057
|
}
|
|
20054
20058
|
if (rf & 2) {
|
|
20055
20059
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
20056
20060
|
i0__namespace.ɵɵadvance(1);
|
|
20057
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵ
|
|
20061
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.textControl.errors, ctx_r2.caseField.label), " ");
|
|
20058
20062
|
}
|
|
20059
20063
|
}
|
|
20060
20064
|
var _c0$x = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -20080,7 +20084,7 @@
|
|
|
20080
20084
|
i0__namespace.ɵɵtemplate(2, WriteTextFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
20081
20085
|
i0__namespace.ɵɵelementEnd();
|
|
20082
20086
|
i0__namespace.ɵɵtemplate(3, WriteTextFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
20083
|
-
i0__namespace.ɵɵtemplate(4, WriteTextFieldComponent_span_4_Template,
|
|
20087
|
+
i0__namespace.ɵɵtemplate(4, WriteTextFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
20084
20088
|
i0__namespace.ɵɵelementStart(5, "input", 5);
|
|
20085
20089
|
i0__namespace.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_5_listener($event) { return ctx.onBlur($event); });
|
|
20086
20090
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -20238,7 +20242,7 @@
|
|
|
20238
20242
|
return ReadYesNoFieldComponent;
|
|
20239
20243
|
}(AbstractFieldReadComponent));
|
|
20240
20244
|
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:
|
|
20245
|
+
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
20246
|
if (rf & 1) {
|
|
20243
20247
|
i0__namespace.ɵɵelementStart(0, "span", 0);
|
|
20244
20248
|
i0__namespace.ɵɵtext(1);
|
|
@@ -20247,7 +20251,7 @@
|
|
|
20247
20251
|
}
|
|
20248
20252
|
if (rf & 2) {
|
|
20249
20253
|
i0__namespace.ɵɵadvance(1);
|
|
20250
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵ
|
|
20254
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, ctx.formattedValue));
|
|
20251
20255
|
}
|
|
20252
20256
|
}, pipes: [i1__namespace.RpxTranslatePipe], encapsulation: 2 });
|
|
20253
20257
|
(function () {
|
|
@@ -20255,7 +20259,7 @@
|
|
|
20255
20259
|
type: i0.Component,
|
|
20256
20260
|
args: [{
|
|
20257
20261
|
selector: 'ccd-read-yes-no-field',
|
|
20258
|
-
template: "<span class=\"text-16\">{{
|
|
20262
|
+
template: "<span class=\"text-16\">{{formattedValue | rpxTranslate}}</span>"
|
|
20259
20263
|
}]
|
|
20260
20264
|
}], function () { return [{ type: YesNoService }]; }, null);
|
|
20261
20265
|
})();
|
|
@@ -20271,7 +20275,7 @@
|
|
|
20271
20275
|
if (rf & 2) {
|
|
20272
20276
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
20273
20277
|
i0__namespace.ɵɵadvance(1);
|
|
20274
|
-
i0__namespace.ɵɵ
|
|
20278
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind1(3, 3, ctx_r0.caseField)), " ");
|
|
20275
20279
|
}
|
|
20276
20280
|
}
|
|
20277
20281
|
function WriteYesNoFieldComponent_span_4_Template(rf, ctx) {
|
|
@@ -20291,14 +20295,13 @@
|
|
|
20291
20295
|
if (rf & 1) {
|
|
20292
20296
|
i0__namespace.ɵɵelementStart(0, "span", 9);
|
|
20293
20297
|
i0__namespace.ɵɵtext(1);
|
|
20294
|
-
i0__namespace.ɵɵpipe(2, "
|
|
20295
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
20298
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
20296
20299
|
i0__namespace.ɵɵelementEnd();
|
|
20297
20300
|
}
|
|
20298
20301
|
if (rf & 2) {
|
|
20299
20302
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
20300
20303
|
i0__namespace.ɵɵadvance(1);
|
|
20301
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵ
|
|
20304
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label), " ");
|
|
20302
20305
|
}
|
|
20303
20306
|
}
|
|
20304
20307
|
var _c0$w = function (a0) { return { selected: a0 }; };
|
|
@@ -20315,14 +20318,14 @@
|
|
|
20315
20318
|
if (rf & 2) {
|
|
20316
20319
|
var value_r4 = ctx.$implicit;
|
|
20317
20320
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
20318
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(
|
|
20321
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$w, ctx_r3.yesNoControl.value === value_r4));
|
|
20319
20322
|
i0__namespace.ɵɵadvance(1);
|
|
20320
20323
|
i0__namespace.ɵɵproperty("id", ctx_r3.createElementId(value_r4))("name", ctx_r3.id())("formControl", ctx_r3.yesNoControl)("value", value_r4);
|
|
20321
20324
|
i0__namespace.ɵɵattribute("name", ctx_r3.id());
|
|
20322
20325
|
i0__namespace.ɵɵadvance(1);
|
|
20323
20326
|
i0__namespace.ɵɵproperty("for", ctx_r3.createElementId(value_r4));
|
|
20324
20327
|
i0__namespace.ɵɵadvance(1);
|
|
20325
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵ
|
|
20328
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 8, value_r4));
|
|
20326
20329
|
}
|
|
20327
20330
|
}
|
|
20328
20331
|
var _c1$a = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -20337,9 +20340,6 @@
|
|
|
20337
20340
|
WriteYesNoFieldComponent.prototype.ngOnInit = function () {
|
|
20338
20341
|
this.yesNoControl = this.registerControl(new i2$1.FormControl(this.yesNoService.format(this.caseField.value)));
|
|
20339
20342
|
};
|
|
20340
|
-
WriteYesNoFieldComponent.prototype.toLowerCase = function (value) {
|
|
20341
|
-
return value.toLowerCase();
|
|
20342
|
-
};
|
|
20343
20343
|
return WriteYesNoFieldComponent;
|
|
20344
20344
|
}(AbstractFieldWriteComponent));
|
|
20345
20345
|
WriteYesNoFieldComponent.ɵfac = function WriteYesNoFieldComponent_Factory(t) { return new (t || WriteYesNoFieldComponent)(i0__namespace.ɵɵdirectiveInject(YesNoService)); };
|
|
@@ -20351,9 +20351,9 @@
|
|
|
20351
20351
|
i0__namespace.ɵɵtemplate(3, WriteYesNoFieldComponent_span_3_Template, 4, 5, "span", 2);
|
|
20352
20352
|
i0__namespace.ɵɵelementEnd();
|
|
20353
20353
|
i0__namespace.ɵɵtemplate(4, WriteYesNoFieldComponent_span_4_Template, 3, 3, "span", 3);
|
|
20354
|
-
i0__namespace.ɵɵtemplate(5, WriteYesNoFieldComponent_span_5_Template,
|
|
20354
|
+
i0__namespace.ɵɵtemplate(5, WriteYesNoFieldComponent_span_5_Template, 3, 4, "span", 4);
|
|
20355
20355
|
i0__namespace.ɵɵelementStart(6, "div", 5);
|
|
20356
|
-
i0__namespace.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5,
|
|
20356
|
+
i0__namespace.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 12, "div", 6);
|
|
20357
20357
|
i0__namespace.ɵɵelementEnd();
|
|
20358
20358
|
i0__namespace.ɵɵelementEnd();
|
|
20359
20359
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -24053,14 +24053,13 @@
|
|
|
24053
24053
|
if (rf & 1) {
|
|
24054
24054
|
i0__namespace.ɵɵelementStart(0, "span", 7);
|
|
24055
24055
|
i0__namespace.ɵɵtext(1);
|
|
24056
|
-
i0__namespace.ɵɵpipe(2, "
|
|
24057
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
24056
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
24058
24057
|
i0__namespace.ɵɵelementEnd();
|
|
24059
24058
|
}
|
|
24060
24059
|
if (rf & 2) {
|
|
24061
24060
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
24062
24061
|
i0__namespace.ɵɵadvance(1);
|
|
24063
|
-
i0__namespace.ɵɵ
|
|
24062
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.dateControl.errors, ctx_r2.caseField.label), " ");
|
|
24064
24063
|
}
|
|
24065
24064
|
}
|
|
24066
24065
|
var _c0$j = function (a0) { return { "form-group-error": a0 }; };
|
|
@@ -24086,7 +24085,7 @@
|
|
|
24086
24085
|
i0__namespace.ɵɵtemplate(3, WriteDateFieldComponent_span_3_Template, 4, 5, "span", 1);
|
|
24087
24086
|
i0__namespace.ɵɵelementEnd();
|
|
24088
24087
|
i0__namespace.ɵɵtemplate(4, WriteDateFieldComponent_span_4_Template, 3, 3, "span", 2);
|
|
24089
|
-
i0__namespace.ɵɵtemplate(5, WriteDateFieldComponent_span_5_Template,
|
|
24088
|
+
i0__namespace.ɵɵtemplate(5, WriteDateFieldComponent_span_5_Template, 3, 4, "span", 3);
|
|
24090
24089
|
i0__namespace.ɵɵelement(6, "cut-date-input", 4);
|
|
24091
24090
|
i0__namespace.ɵɵpipe(7, "ccdIsMandatory");
|
|
24092
24091
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -24160,14 +24159,13 @@
|
|
|
24160
24159
|
if (rf & 1) {
|
|
24161
24160
|
i0__namespace.ɵɵelementStart(0, "span", 12);
|
|
24162
24161
|
i0__namespace.ɵɵtext(1);
|
|
24163
|
-
i0__namespace.ɵɵpipe(2, "
|
|
24164
|
-
i0__namespace.ɵɵpipe(3, "ccdFirstError");
|
|
24162
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
24165
24163
|
i0__namespace.ɵɵelementEnd();
|
|
24166
24164
|
}
|
|
24167
24165
|
if (rf & 2) {
|
|
24168
24166
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
24169
24167
|
i0__namespace.ɵɵadvance(1);
|
|
24170
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵ
|
|
24168
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.dateControl.errors, ctx_r2.caseField.label));
|
|
24171
24169
|
}
|
|
24172
24170
|
}
|
|
24173
24171
|
function DatetimePickerComponent_span_6_Template(rf, ctx) {
|
|
@@ -24385,7 +24383,7 @@
|
|
|
24385
24383
|
i0__namespace.ɵɵelementStart(2, "legend");
|
|
24386
24384
|
i0__namespace.ɵɵtemplate(3, DatetimePickerComponent_span_3_Template, 4, 5, "span", 1);
|
|
24387
24385
|
i0__namespace.ɵɵtemplate(4, DatetimePickerComponent_span_4_Template, 3, 3, "span", 2);
|
|
24388
|
-
i0__namespace.ɵɵtemplate(5, DatetimePickerComponent_span_5_Template,
|
|
24386
|
+
i0__namespace.ɵɵtemplate(5, DatetimePickerComponent_span_5_Template, 3, 4, "span", 3);
|
|
24389
24387
|
i0__namespace.ɵɵtemplate(6, DatetimePickerComponent_span_6_Template, 3, 3, "span", 3);
|
|
24390
24388
|
i0__namespace.ɵɵtemplate(7, DatetimePickerComponent_span_7_Template, 3, 3, "span", 3);
|
|
24391
24389
|
i0__namespace.ɵɵelementEnd();
|