@hmcts/ccd-case-ui-toolkit 6.13.11-welsh-release-v8 → 6.13.12-disabled-fields
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 +2499 -3653
- 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/app.config.js +1 -1
- package/esm2015/lib/components/banners/alert/alert.component.js +5 -7
- package/esm2015/lib/components/banners/alert/alert.module.js +4 -12
- package/esm2015/lib/components/footer/footer.component.js +30 -55
- package/esm2015/lib/components/footer/footers.module.js +4 -12
- package/esm2015/lib/components/form/date-input/date-input.component.js +37 -56
- package/esm2015/lib/components/form/form.module.js +4 -8
- package/esm2015/lib/components/header/header-bar/header-bar.component.js +19 -32
- package/esm2015/lib/components/header/headers.module.js +4 -6
- package/esm2015/lib/components/header/navigation/navigation-item.component.js +7 -9
- package/esm2015/lib/components/header/phase/phase.component.js +9 -20
- package/esm2015/lib/components/tabs/tabs.component.js +5 -8
- package/esm2015/lib/components/tabs/tabs.module.js +2 -6
- package/esm2015/lib/shared/components/activity/activity-banner/activity-banner.component.js +9 -12
- package/esm2015/lib/shared/components/activity/activity-icon/activity-icon.component.js +8 -11
- package/esm2015/lib/shared/components/activity/activity.component.js +10 -15
- package/esm2015/lib/shared/components/activity/activity.module.js +2 -6
- package/esm2015/lib/shared/components/case-editor/case-create/case-create.component.js +2 -2
- package/esm2015/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.js +25 -29
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +48 -76
- package/esm2015/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.js +131 -179
- package/esm2015/lib/shared/components/case-editor/case-editor.module.js +26 -30
- package/esm2015/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.js +26 -51
- package/esm2015/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.js +28 -51
- package/esm2015/lib/shared/components/case-editor/case-progress/case-progress.component.js +2 -2
- package/esm2015/lib/shared/components/case-editor/services/case-edit-wizard.guard.js +2 -3
- package/esm2015/lib/shared/components/case-editor/services/work-allocation.service.js +2 -2
- package/esm2015/lib/shared/components/case-history/case-history.component.js +63 -89
- package/esm2015/lib/shared/components/case-history/case-history.module.js +14 -18
- package/esm2015/lib/shared/components/case-list/case-list.component.js +49 -56
- package/esm2015/lib/shared/components/case-list/case-list.module.js +4 -8
- package/esm2015/lib/shared/components/case-list-filters/case-list-filters.module.js +7 -11
- package/esm2015/lib/shared/components/case-timeline/case-timeline.component.js +6 -9
- package/esm2015/lib/shared/components/case-timeline/case-timeline.module.js +8 -12
- package/esm2015/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.js +61 -106
- package/esm2015/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.js +69 -89
- package/esm2015/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.js +23 -45
- package/esm2015/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.js +4 -12
- package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +59 -87
- package/esm2015/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.js +20 -32
- package/esm2015/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.js +79 -107
- package/esm2015/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.js +49 -79
- package/esm2015/lib/shared/components/case-viewer/case-view/case-view.component.js +1 -1
- package/esm2015/lib/shared/components/case-viewer/case-viewer.module.js +27 -37
- package/esm2015/lib/shared/components/case-viewer/printer/case-printer.component.js +22 -36
- package/esm2015/lib/shared/components/create-case-filters/create-case-filters.component.js +40 -63
- package/esm2015/lib/shared/components/create-case-filters/create-case-filters.module.js +2 -6
- package/esm2015/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.js +14 -28
- package/esm2015/lib/shared/components/dialogs/dialogs.module.js +2 -6
- package/esm2015/lib/shared/components/dialogs/document-dialog/document-dialog.component.js +14 -28
- package/esm2015/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.js +14 -28
- package/esm2015/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.js +14 -28
- package/esm2015/lib/shared/components/error/callback-errors.component.js +23 -34
- package/esm2015/lib/shared/components/error/errors.module.js +2 -6
- package/esm2015/lib/shared/components/error-message/error-message.component.js +11 -14
- package/esm2015/lib/shared/components/error-message/error-message.module.js +4 -8
- package/esm2015/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.js +20 -39
- package/esm2015/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.js +18 -34
- package/esm2015/lib/shared/components/event-start/components/task-assigned/task-assigned.component.js +19 -34
- package/esm2015/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.js +25 -50
- package/esm2015/lib/shared/components/event-start/components/task-conflict/task-conflict.component.js +20 -39
- package/esm2015/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.js +18 -34
- package/esm2015/lib/shared/components/event-start/event-start.module.js +4 -8
- package/esm2015/lib/shared/components/event-trigger/event-trigger.component.js +17 -27
- package/esm2015/lib/shared/components/event-trigger/event-trigger.module.js +2 -6
- package/esm2015/lib/shared/components/loading-spinner/loading-spinner.component.js +5 -7
- package/esm2015/lib/shared/components/loading-spinner/loading-spinner.module.js +2 -6
- package/esm2015/lib/shared/components/pagination/pagination.component.js +67 -84
- package/esm2015/lib/shared/components/pagination/pagination.module.js +4 -8
- package/esm2015/lib/shared/components/palette/address/write-address-field.component.js +31 -50
- package/esm2015/lib/shared/components/palette/base-field/field-read-label.component.js +8 -10
- package/esm2015/lib/shared/components/palette/base-field/field-read.component.js +1 -5
- package/esm2015/lib/shared/components/palette/base-field/field-write.component.js +1 -1
- package/esm2015/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.js +25 -31
- package/esm2015/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.js +1 -6
- package/esm2015/lib/shared/components/palette/case-flag/read-case-flag-field.component.js +12 -18
- package/esm2015/lib/shared/components/palette/case-link/write-case-link-field.component.js +12 -16
- package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +32 -45
- package/esm2015/lib/shared/components/palette/complex/read-complex-field-collection-table.component.js +46 -50
- package/esm2015/lib/shared/components/palette/complex/read-complex-field-raw.component.js +6 -7
- package/esm2015/lib/shared/components/palette/complex/read-complex-field-table.component.js +20 -22
- package/esm2015/lib/shared/components/palette/complex/write-complex-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/date/write-date-field.component.js +12 -16
- package/esm2015/lib/shared/components/palette/datetime-picker/datetime-picker.component.js +17 -29
- package/esm2015/lib/shared/components/palette/document/write-document-field.component.js +25 -31
- package/esm2015/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.js +7 -9
- package/esm2015/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.js +20 -32
- package/esm2015/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.js +7 -9
- package/esm2015/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.js +17 -26
- package/esm2015/lib/shared/components/palette/email/write-email-field.component.js +12 -16
- package/esm2015/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.js +7 -9
- package/esm2015/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.js +14 -19
- package/esm2015/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.js +7 -9
- package/esm2015/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.js +15 -20
- package/esm2015/lib/shared/components/palette/history/event-log/event-log-details.component.js +65 -87
- package/esm2015/lib/shared/components/palette/history/event-log/event-log-table.component.js +46 -60
- package/esm2015/lib/shared/components/palette/label/label-field.component.js +5 -24
- package/esm2015/lib/shared/components/palette/markdown/markdown.component.js +4 -4
- package/esm2015/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.js +12 -16
- package/esm2015/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.js +11 -15
- package/esm2015/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.js +14 -19
- package/esm2015/lib/shared/components/palette/number/write-number-field.component.js +12 -16
- package/esm2015/lib/shared/components/palette/order-summary/read-order-summary-field.component.js +25 -43
- package/esm2015/lib/shared/components/palette/order-summary/read-order-summary-row.component.js +6 -7
- package/esm2015/lib/shared/components/palette/organisation/read-organisation-field-raw.component.js +29 -41
- package/esm2015/lib/shared/components/palette/organisation/read-organisation-field-table.component.js +35 -48
- package/esm2015/lib/shared/components/palette/organisation/write-organisation-field.component.js +50 -88
- package/esm2015/lib/shared/components/palette/palette.module.js +58 -62
- package/esm2015/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.js +12 -16
- package/esm2015/lib/shared/components/palette/text/read-text-field.component.js +5 -7
- package/esm2015/lib/shared/components/palette/text/write-text-field.component.js +12 -16
- package/esm2015/lib/shared/components/palette/text-area/read-text-area-field.component.js +5 -7
- package/esm2015/lib/shared/components/palette/text-area/write-text-area-field.component.js +12 -16
- package/esm2015/lib/shared/components/palette/yes-no/read-yes-no-field.component.js +5 -7
- package/esm2015/lib/shared/components/palette/yes-no/write-yes-no-field.component.js +15 -20
- package/esm2015/lib/shared/components/search-filters/search-filters.component.js +35 -60
- package/esm2015/lib/shared/components/search-filters/search-filters.module.js +10 -14
- package/esm2015/lib/shared/components/search-result/search-result.component.js +95 -132
- package/esm2015/lib/shared/components/search-result/search-result.module.js +13 -16
- package/esm2015/lib/shared/components/workbasket-filters/workbasket-filters.component.js +52 -90
- package/esm2015/lib/shared/components/workbasket-filters/workbasket-filters.module.js +9 -13
- package/esm2015/lib/shared/directives/conditional-show/conditional-show-form.directive.js +2 -2
- package/esm2015/lib/shared/services/alert/alert.service.js +8 -28
- package/esm2015/lib/shared/services/request/request.options.builder.js +1 -7
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +2213 -3335
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/app.config.d.ts.map +1 -1
- package/lib/components/banners/alert/alert.module.d.ts +1 -2
- package/lib/components/banners/alert/alert.module.d.ts.map +1 -1
- package/lib/components/footer/footers.module.d.ts +1 -2
- package/lib/components/footer/footers.module.d.ts.map +1 -1
- package/lib/components/form/form.module.d.ts +1 -2
- package/lib/components/form/form.module.d.ts.map +1 -1
- package/lib/components/header/headers.module.d.ts +1 -2
- package/lib/components/header/headers.module.d.ts.map +1 -1
- package/lib/components/tabs/tabs.component.d.ts.map +1 -1
- package/lib/components/tabs/tabs.module.d.ts +1 -2
- package/lib/components/tabs/tabs.module.d.ts.map +1 -1
- package/lib/shared/components/activity/activity.module.d.ts +1 -2
- package/lib/shared/components/activity/activity.module.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-editor.module.d.ts +2 -3
- package/lib/shared/components/case-editor/case-editor.module.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/case-edit-wizard.guard.d.ts.map +1 -1
- package/lib/shared/components/case-history/case-history.module.d.ts +1 -2
- package/lib/shared/components/case-history/case-history.module.d.ts.map +1 -1
- package/lib/shared/components/case-list/case-list.module.d.ts +1 -2
- package/lib/shared/components/case-list/case-list.module.d.ts.map +1 -1
- package/lib/shared/components/case-list-filters/case-list-filters.module.d.ts +1 -2
- package/lib/shared/components/case-list-filters/case-list-filters.module.d.ts.map +1 -1
- package/lib/shared/components/case-timeline/case-timeline.module.d.ts +1 -2
- package/lib/shared/components/case-timeline/case-timeline.module.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-viewer.module.d.ts +4 -6
- package/lib/shared/components/case-viewer/case-viewer.module.d.ts.map +1 -1
- package/lib/shared/components/create-case-filters/create-case-filters.module.d.ts +1 -2
- package/lib/shared/components/create-case-filters/create-case-filters.module.d.ts.map +1 -1
- package/lib/shared/components/dialogs/dialogs.module.d.ts +1 -2
- package/lib/shared/components/dialogs/dialogs.module.d.ts.map +1 -1
- package/lib/shared/components/error/errors.module.d.ts +1 -2
- package/lib/shared/components/error/errors.module.d.ts.map +1 -1
- package/lib/shared/components/error-message/error-message.module.d.ts +1 -2
- package/lib/shared/components/error-message/error-message.module.d.ts.map +1 -1
- package/lib/shared/components/event-start/event-start.module.d.ts +1 -2
- package/lib/shared/components/event-start/event-start.module.d.ts.map +1 -1
- package/lib/shared/components/event-trigger/event-trigger.module.d.ts +1 -2
- package/lib/shared/components/event-trigger/event-trigger.module.d.ts.map +1 -1
- package/lib/shared/components/loading-spinner/loading-spinner.module.d.ts +1 -2
- package/lib/shared/components/loading-spinner/loading-spinner.module.d.ts.map +1 -1
- package/lib/shared/components/pagination/pagination.module.d.ts +1 -2
- package/lib/shared/components/pagination/pagination.module.d.ts.map +1 -1
- package/lib/shared/components/palette/base-field/field-read.component.d.ts +0 -1
- package/lib/shared/components/palette/base-field/field-read.component.d.ts.map +1 -1
- package/lib/shared/components/palette/base-field/field-write.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.d.ts.map +1 -1
- package/lib/shared/components/palette/label/label-field.component.d.ts +1 -2
- package/lib/shared/components/palette/label/label-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/markdown/markdown.component.d.ts +3 -3
- package/lib/shared/components/palette/markdown/markdown.component.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +7 -8
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/search-filters/search-filters.module.d.ts +1 -2
- package/lib/shared/components/search-filters/search-filters.module.d.ts.map +1 -1
- package/lib/shared/components/search-result/search-result.module.d.ts +2 -3
- package/lib/shared/components/search-result/search-result.module.d.ts.map +1 -1
- package/lib/shared/components/workbasket-filters/workbasket-filters.module.d.ts +1 -2
- package/lib/shared/components/workbasket-filters/workbasket-filters.module.d.ts.map +1 -1
- package/lib/shared/services/alert/alert.service.d.ts +4 -8
- package/lib/shared/services/alert/alert.service.d.ts.map +1 -1
- package/lib/shared/services/request/request.options.builder.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm2015/lib/shared/domain/alert/alert-status-params.model.js +0 -2
- package/lib/shared/domain/alert/alert-status-params.model.d.ts +0 -6
- package/lib/shared/domain/alert/alert-status-params.model.d.ts.map +0 -1
|
@@ -4,49 +4,41 @@ import { AbstractFieldWriteComponent } from '../base-field/abstract-field-write.
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/common";
|
|
6
6
|
import * as i2 from "@angular/forms";
|
|
7
|
-
import * as i3 from "
|
|
8
|
-
import * as i4 from "../utils/
|
|
9
|
-
import * as i5 from "../utils/first-error.pipe";
|
|
7
|
+
import * as i3 from "../utils/field-label.pipe";
|
|
8
|
+
import * as i4 from "../utils/first-error.pipe";
|
|
10
9
|
function WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
11
10
|
i0.ɵɵelementStart(0, "span", 7);
|
|
12
11
|
i0.ɵɵtext(1);
|
|
13
|
-
i0.ɵɵpipe(2, "
|
|
14
|
-
i0.ɵɵpipe(3, "ccdFieldLabel");
|
|
12
|
+
i0.ɵɵpipe(2, "ccdFieldLabel");
|
|
15
13
|
i0.ɵɵelementEnd();
|
|
16
14
|
} if (rf & 2) {
|
|
17
15
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
18
16
|
i0.ɵɵadvance(1);
|
|
19
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1,
|
|
17
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
|
|
20
18
|
} }
|
|
21
19
|
function WriteDynamicRadioListFieldComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
22
20
|
i0.ɵɵelementStart(0, "span", 8);
|
|
23
21
|
i0.ɵɵtext(1);
|
|
24
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
25
22
|
i0.ɵɵelementEnd();
|
|
26
23
|
} if (rf & 2) {
|
|
27
24
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
28
25
|
i0.ɵɵadvance(1);
|
|
29
|
-
i0.ɵɵtextInterpolate(
|
|
26
|
+
i0.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
|
|
30
27
|
} }
|
|
31
28
|
function WriteDynamicRadioListFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
32
29
|
i0.ɵɵelementStart(0, "span", 7);
|
|
33
|
-
i0.ɵɵtext(1);
|
|
34
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
30
|
+
i0.ɵɵtext(1, "Select an option below");
|
|
35
31
|
i0.ɵɵelementEnd();
|
|
36
|
-
} if (rf & 2) {
|
|
37
|
-
i0.ɵɵadvance(1);
|
|
38
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Select an option below"));
|
|
39
32
|
} }
|
|
40
33
|
function WriteDynamicRadioListFieldComponent_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
41
34
|
i0.ɵɵelementStart(0, "span", 9);
|
|
42
35
|
i0.ɵɵtext(1);
|
|
43
|
-
i0.ɵɵpipe(2, "
|
|
44
|
-
i0.ɵɵpipe(3, "ccdFirstError");
|
|
36
|
+
i0.ɵɵpipe(2, "ccdFirstError");
|
|
45
37
|
i0.ɵɵelementEnd();
|
|
46
38
|
} if (rf & 2) {
|
|
47
39
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
48
40
|
i0.ɵɵadvance(1);
|
|
49
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1,
|
|
41
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r3.dynamicRadioListControl.errors));
|
|
50
42
|
} }
|
|
51
43
|
const _c0 = function (a0) { return { selected: a0 }; };
|
|
52
44
|
function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -54,19 +46,18 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
|
|
|
54
46
|
i0.ɵɵelement(1, "input", 11);
|
|
55
47
|
i0.ɵɵelementStart(2, "label", 12);
|
|
56
48
|
i0.ɵɵtext(3);
|
|
57
|
-
i0.ɵɵpipe(4, "rpxTranslate");
|
|
58
49
|
i0.ɵɵelementEnd();
|
|
59
50
|
i0.ɵɵelementEnd();
|
|
60
51
|
} if (rf & 2) {
|
|
61
52
|
const radioButton_r5 = ctx.$implicit;
|
|
62
53
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
63
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
54
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
|
|
64
55
|
i0.ɵɵadvance(1);
|
|
65
56
|
i0.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.createElementId(radioButton_r5.code))("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
|
|
66
57
|
i0.ɵɵadvance(1);
|
|
67
58
|
i0.ɵɵproperty("for", ctx_r4.createElementId(radioButton_r5.code));
|
|
68
59
|
i0.ɵɵadvance(1);
|
|
69
|
-
i0.ɵɵtextInterpolate(
|
|
60
|
+
i0.ɵɵtextInterpolate(radioButton_r5.label);
|
|
70
61
|
} }
|
|
71
62
|
const _c1 = function (a0) { return { "form-group-error": a0 }; };
|
|
72
63
|
export class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
@@ -98,13 +89,13 @@ WriteDynamicRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Write
|
|
|
98
89
|
i0.ɵɵelementStart(1, "fieldset");
|
|
99
90
|
i0.ɵɵelement(2, "legend", 1);
|
|
100
91
|
i0.ɵɵelementStart(3, "label", 2);
|
|
101
|
-
i0.ɵɵtemplate(4, WriteDynamicRadioListFieldComponent_span_4_Template,
|
|
102
|
-
i0.ɵɵtemplate(5, WriteDynamicRadioListFieldComponent_span_5_Template,
|
|
103
|
-
i0.ɵɵtemplate(6, WriteDynamicRadioListFieldComponent_span_6_Template,
|
|
104
|
-
i0.ɵɵtemplate(7, WriteDynamicRadioListFieldComponent_span_7_Template,
|
|
92
|
+
i0.ɵɵtemplate(4, WriteDynamicRadioListFieldComponent_span_4_Template, 3, 3, "span", 3);
|
|
93
|
+
i0.ɵɵtemplate(5, WriteDynamicRadioListFieldComponent_span_5_Template, 2, 1, "span", 4);
|
|
94
|
+
i0.ɵɵtemplate(6, WriteDynamicRadioListFieldComponent_span_6_Template, 2, 0, "span", 3);
|
|
95
|
+
i0.ɵɵtemplate(7, WriteDynamicRadioListFieldComponent_span_7_Template, 3, 3, "span", 5);
|
|
105
96
|
i0.ɵɵelementEnd();
|
|
106
97
|
i0.ɵɵelementContainerStart(8);
|
|
107
|
-
i0.ɵɵtemplate(9, WriteDynamicRadioListFieldComponent_div_9_Template,
|
|
98
|
+
i0.ɵɵtemplate(9, WriteDynamicRadioListFieldComponent_div_9_Template, 4, 9, "div", 6);
|
|
108
99
|
i0.ɵɵelementContainerEnd();
|
|
109
100
|
i0.ɵɵelementEnd();
|
|
110
101
|
i0.ɵɵelementEnd();
|
|
@@ -122,7 +113,7 @@ WriteDynamicRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Write
|
|
|
122
113
|
i0.ɵɵproperty("ngIf", ctx.dynamicRadioListControl.errors && ctx.dynamicRadioListControl.dirty);
|
|
123
114
|
i0.ɵɵadvance(2);
|
|
124
115
|
i0.ɵɵproperty("ngForOf", ctx.caseField.list_items);
|
|
125
|
-
} }, directives: [i1.NgClass, i1.NgIf, i1.NgForOf, i2.RadioControlValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [i3.
|
|
116
|
+
} }, directives: [i1.NgClass, i1.NgIf, i1.NgForOf, i2.RadioControlValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [i3.FieldLabelPipe, i4.FirstErrorPipe], encapsulation: 2 });
|
|
126
117
|
const ɵWriteDynamicRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteDynamicRadioListFieldComponent);
|
|
127
118
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDynamicRadioListFieldComponent, [{
|
|
128
119
|
type: Component,
|
|
@@ -131,4 +122,4 @@ const ɵWriteDynamicRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵg
|
|
|
131
122
|
templateUrl: './write-dynamic-radio-list-field.html'
|
|
132
123
|
}]
|
|
133
124
|
}], null, null); })();
|
|
134
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
125
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUtZHluYW1pYy1yYWRpby1saXN0LWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2R5bmFtaWMtcmFkaW8tbGlzdC93cml0ZS1keW5hbWljLXJhZGlvLWxpc3QtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbG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250cm9sXCIgW2lkXT1cImNyZWF0ZUVsZW1lbnRJZChyYWRpb0J1dHRvbi5jb2RlKVwiIFtuYW1lXT1cImNyZWF0ZUVsZW1lbnRJZChyYWRpb0J1dHRvbi5jb2RlKVwiIHR5cGU9XCJyYWRpb1wiIFtmb3JtQ29udHJvbF09XCJkeW5hbWljUmFkaW9MaXN0Q29udHJvbFwiIFt2YWx1ZV09XCJyYWRpb0J1dHRvbi5jb2RlXCI+XG4gICAgICAgIDxsYWJlbCBjbGFzcz1cImZvcm0tbGFiZWxcIiBbZm9yXT1cImNyZWF0ZUVsZW1lbnRJZChyYWRpb0J1dHRvbi5jb2RlKVwiPnt7cmFkaW9CdXR0b24ubGFiZWx9fTwvbGFiZWw+XG4gICAgICA8L2Rpdj5cbiAgICA8L25nLWNvbnRhaW5lcj5cbiAgPC9maWVsZHNldD5cbjwvZGl2PlxuIl19
|
|
@@ -4,40 +4,36 @@ import { AbstractFieldWriteComponent } from '../base-field/abstract-field-write.
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/common";
|
|
6
6
|
import * as i2 from "@angular/forms";
|
|
7
|
-
import * as i3 from "
|
|
8
|
-
import * as i4 from "../utils/
|
|
9
|
-
import * as i5 from "../utils/first-error.pipe";
|
|
7
|
+
import * as i3 from "../utils/field-label.pipe";
|
|
8
|
+
import * as i4 from "../utils/first-error.pipe";
|
|
10
9
|
function WriteEmailFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
11
10
|
i0.ɵɵelementStart(0, "span", 6);
|
|
12
11
|
i0.ɵɵtext(1);
|
|
13
|
-
i0.ɵɵpipe(2, "
|
|
14
|
-
i0.ɵɵpipe(3, "ccdFieldLabel");
|
|
12
|
+
i0.ɵɵpipe(2, "ccdFieldLabel");
|
|
15
13
|
i0.ɵɵelementEnd();
|
|
16
14
|
} if (rf & 2) {
|
|
17
15
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
18
16
|
i0.ɵɵadvance(1);
|
|
19
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1,
|
|
17
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
|
|
20
18
|
} }
|
|
21
19
|
function WriteEmailFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
22
20
|
i0.ɵɵelementStart(0, "span", 7);
|
|
23
21
|
i0.ɵɵtext(1);
|
|
24
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
25
22
|
i0.ɵɵelementEnd();
|
|
26
23
|
} if (rf & 2) {
|
|
27
24
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
28
25
|
i0.ɵɵadvance(1);
|
|
29
|
-
i0.ɵɵtextInterpolate(
|
|
26
|
+
i0.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
|
|
30
27
|
} }
|
|
31
28
|
function WriteEmailFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
32
29
|
i0.ɵɵelementStart(0, "span", 8);
|
|
33
30
|
i0.ɵɵtext(1);
|
|
34
|
-
i0.ɵɵpipe(2, "
|
|
35
|
-
i0.ɵɵpipe(3, "ccdFirstError");
|
|
31
|
+
i0.ɵɵpipe(2, "ccdFirstError");
|
|
36
32
|
i0.ɵɵelementEnd();
|
|
37
33
|
} if (rf & 2) {
|
|
38
34
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
39
35
|
i0.ɵɵadvance(1);
|
|
40
|
-
i0.ɵɵtextInterpolate(i0.ɵɵ
|
|
36
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.emailControl.errors, ctx_r2.caseField.label));
|
|
41
37
|
} }
|
|
42
38
|
const _c0 = function (a0) { return { "form-group-error": a0 }; };
|
|
43
39
|
const _c1 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
@@ -50,10 +46,10 @@ WriteEmailFieldComponent.ɵfac = function WriteEmailFieldComponent_Factory(t) {
|
|
|
50
46
|
WriteEmailFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteEmailFieldComponent, selectors: [["ccd-write-email-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 12, consts: [[1, "form-group", "bottom-30", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["type", "email", 1, "form-control", 3, "ngClass", "id", "formControl"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteEmailFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
51
47
|
i0.ɵɵelementStart(0, "div", 0);
|
|
52
48
|
i0.ɵɵelementStart(1, "label", 1);
|
|
53
|
-
i0.ɵɵtemplate(2, WriteEmailFieldComponent_span_2_Template,
|
|
49
|
+
i0.ɵɵtemplate(2, WriteEmailFieldComponent_span_2_Template, 3, 3, "span", 2);
|
|
54
50
|
i0.ɵɵelementEnd();
|
|
55
|
-
i0.ɵɵtemplate(3, WriteEmailFieldComponent_span_3_Template,
|
|
56
|
-
i0.ɵɵtemplate(4, WriteEmailFieldComponent_span_4_Template,
|
|
51
|
+
i0.ɵɵtemplate(3, WriteEmailFieldComponent_span_3_Template, 2, 1, "span", 3);
|
|
52
|
+
i0.ɵɵtemplate(4, WriteEmailFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
57
53
|
i0.ɵɵelement(5, "input", 5);
|
|
58
54
|
i0.ɵɵelementEnd();
|
|
59
55
|
} if (rf & 2) {
|
|
@@ -68,7 +64,7 @@ WriteEmailFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteEmailFieldC
|
|
|
68
64
|
i0.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
|
|
69
65
|
i0.ɵɵadvance(1);
|
|
70
66
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
|
|
71
|
-
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [i3.
|
|
67
|
+
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [i3.FieldLabelPipe, i4.FirstErrorPipe], encapsulation: 2 });
|
|
72
68
|
const ɵWriteEmailFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteEmailFieldComponent);
|
|
73
69
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteEmailFieldComponent, [{
|
|
74
70
|
type: Component,
|
|
@@ -77,4 +73,4 @@ const ɵWriteEmailFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInherited
|
|
|
77
73
|
templateUrl: 'write-email-field.html'
|
|
78
74
|
}]
|
|
79
75
|
}], null, null); })();
|
|
80
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUtZW1haWwtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvZW1haWwvd3JpdGUtZW1haWwtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvZW1haWwvd3JpdGUtZW1haWwtZmllbGQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQU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Zvcl09XCJpZCgpXCI+XG4gICAgPHNwYW4gY2xhc3M9XCJmb3JtLWxhYmVsXCIgKm5nSWY9XCJjYXNlRmllbGQubGFiZWxcIj57e2Nhc2VGaWVsZCB8IGNjZEZpZWxkTGFiZWx9fTwvc3Bhbj5cbiAgPC9sYWJlbD5cbiAgPHNwYW4gY2xhc3M9XCJmb3JtLWhpbnRcIiAqbmdJZj1cImNhc2VGaWVsZC5oaW50X3RleHRcIj57e2Nhc2VGaWVsZC5oaW50X3RleHR9fTwvc3Bhbj5cbiAgPHNwYW4gY2xhc3M9XCJlcnJvci1tZXNzYWdlXCIgKm5nSWY9XCJlbWFpbENvbnRyb2wuZXJyb3JzICYmIChlbWFpbENvbnRyb2wuZGlydHkgfHwgZW1haWxDb250cm9sLnRvdWNoZWQpXCI+e3tlbWFpbENvbnRyb2wuZXJyb3JzIHwgY2NkRmlyc3RFcnJvcjpjYXNlRmllbGQubGFiZWx9fTwvc3Bhbj5cblxuICA8aW5wdXQgY2xhc3M9XCJmb3JtLWNvbnRyb2xcIiBbbmdDbGFzc109XCJ7J2dvdnVrLWlucHV0LS1lcnJvcic6IGVtYWlsQ29udHJvbC5lcnJvcnMgJiYgKGVtYWlsQ29udHJvbC5kaXJ0eSB8fCBlbWFpbENvbnRyb2wudG91Y2hlZCl9XCJcbiAgICBbaWRdPVwiaWQoKVwiIHR5cGU9XCJlbWFpbFwiIFtmb3JtQ29udHJvbF09XCJlbWFpbENvbnRyb2xcIj5cblxuPC9kaXY+XG4iXX0=
|
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
import { Component } from '@angular/core';
|
|
2
2
|
import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "
|
|
5
|
-
import * as i2 from "./fixed-list.pipe";
|
|
4
|
+
import * as i1 from "./fixed-list.pipe";
|
|
6
5
|
export class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
|
|
7
6
|
}
|
|
8
7
|
ReadFixedListFieldComponent.ɵfac = function ReadFixedListFieldComponent_Factory(t) { return ɵReadFixedListFieldComponent_BaseFactory(t || ReadFixedListFieldComponent); };
|
|
9
|
-
ReadFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadFixedListFieldComponent, selectors: [["ccd-read-fixed-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
8
|
+
ReadFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadFixedListFieldComponent, selectors: [["ccd-read-fixed-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 4, consts: [[1, "text-16"]], template: function ReadFixedListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10
9
|
i0.ɵɵelementStart(0, "span", 0);
|
|
11
10
|
i0.ɵɵtext(1);
|
|
12
|
-
i0.ɵɵpipe(2, "
|
|
13
|
-
i0.ɵɵpipe(3, "ccdFixedList");
|
|
11
|
+
i0.ɵɵpipe(2, "ccdFixedList");
|
|
14
12
|
i0.ɵɵelementEnd();
|
|
15
13
|
} if (rf & 2) {
|
|
16
14
|
i0.ɵɵadvance(1);
|
|
17
|
-
i0.ɵɵtextInterpolate(i0.ɵɵ
|
|
18
|
-
} }, pipes: [i1.
|
|
15
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx.caseField.value, ctx.caseField.list_items));
|
|
16
|
+
} }, pipes: [i1.FixedListPipe], encapsulation: 2 });
|
|
19
17
|
const ɵReadFixedListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadFixedListFieldComponent);
|
|
20
18
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadFixedListFieldComponent, [{
|
|
21
19
|
type: Component,
|
|
22
20
|
args: [{
|
|
23
21
|
selector: 'ccd-read-fixed-list-field',
|
|
24
|
-
template: '<span class="text-16">{{caseField.value | ccdFixedList:caseField.list_items
|
|
22
|
+
template: '<span class="text-16">{{caseField.value | ccdFixedList:caseField.list_items}}</span>',
|
|
25
23
|
}]
|
|
26
24
|
}], null, null); })();
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1maXhlZC1saXN0LWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2ZpeGVkLWxpc3QvcmVhZC1maXhlZC1saXN0LWZpZWxkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLDZDQUE2QyxDQUFDOzs7QUFNekYsTUFBTSxPQUFPLDJCQUE0QixTQUFRLDBCQUEwQjs7MElBQTlELDJCQUEyQjtnRUFBM0IsMkJBQTJCO1FBRjNCLCtCQUFzQjtRQUFBLFlBQXVEOztRQUFBLGlCQUFPOztRQUE5RCxlQUF1RDtRQUF2RCx5RkFBdUQ7O3dGQUU3RSwyQkFBMkI7dUZBQTNCLDJCQUEyQjtjQUp2QyxTQUFTO2VBQUM7Z0JBQ1QsUUFBUSxFQUFFLDJCQUEyQjtnQkFDckMsUUFBUSxFQUFFLHNGQUFzRjthQUNqRyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQWJzdHJhY3RGaWVsZFJlYWRDb21wb25lbnQgfSBmcm9tICcuLi9iYXNlLWZpZWxkL2Fic3RyYWN0LWZpZWxkLXJlYWQuY29tcG9uZW50JztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnY2NkLXJlYWQtZml4ZWQtbGlzdC1maWVsZCcsXG4gIHRlbXBsYXRlOiAnPHNwYW4gY2xhc3M9XCJ0ZXh0LTE2XCI+e3tjYXNlRmllbGQudmFsdWUgfCBjY2RGaXhlZExpc3Q6Y2FzZUZpZWxkLmxpc3RfaXRlbXN9fTwvc3Bhbj4nLFxufSlcbmV4cG9ydCBjbGFzcyBSZWFkRml4ZWRMaXN0RmllbGRDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdEZpZWxkUmVhZENvbXBvbmVudCB7XG5cbn1cbiJdfQ==
|
package/esm2015/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.js
CHANGED
|
@@ -4,51 +4,46 @@ import { AbstractFieldWriteComponent } from '../base-field/abstract-field-write.
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/common";
|
|
6
6
|
import * as i2 from "@angular/forms";
|
|
7
|
-
import * as i3 from "
|
|
8
|
-
import * as i4 from "../utils/
|
|
9
|
-
import * as i5 from "../utils/first-error.pipe";
|
|
7
|
+
import * as i3 from "../utils/field-label.pipe";
|
|
8
|
+
import * as i4 from "../utils/first-error.pipe";
|
|
10
9
|
function WriteFixedListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
11
10
|
i0.ɵɵelementStart(0, "span", 8);
|
|
12
11
|
i0.ɵɵtext(1);
|
|
13
|
-
i0.ɵɵpipe(2, "
|
|
14
|
-
i0.ɵɵpipe(3, "ccdFieldLabel");
|
|
12
|
+
i0.ɵɵpipe(2, "ccdFieldLabel");
|
|
15
13
|
i0.ɵɵelementEnd();
|
|
16
14
|
} if (rf & 2) {
|
|
17
15
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
18
16
|
i0.ɵɵadvance(1);
|
|
19
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1,
|
|
17
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
|
|
20
18
|
} }
|
|
21
19
|
function WriteFixedListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
22
20
|
i0.ɵɵelementStart(0, "span", 9);
|
|
23
21
|
i0.ɵɵtext(1);
|
|
24
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
25
22
|
i0.ɵɵelementEnd();
|
|
26
23
|
} if (rf & 2) {
|
|
27
24
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
28
25
|
i0.ɵɵadvance(1);
|
|
29
|
-
i0.ɵɵtextInterpolate(
|
|
26
|
+
i0.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
|
|
30
27
|
} }
|
|
31
28
|
function WriteFixedListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
32
29
|
i0.ɵɵelementStart(0, "span", 10);
|
|
33
30
|
i0.ɵɵtext(1);
|
|
34
|
-
i0.ɵɵpipe(2, "
|
|
35
|
-
i0.ɵɵpipe(3, "ccdFirstError");
|
|
31
|
+
i0.ɵɵpipe(2, "ccdFirstError");
|
|
36
32
|
i0.ɵɵelementEnd();
|
|
37
33
|
} if (rf & 2) {
|
|
38
34
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
39
35
|
i0.ɵɵadvance(1);
|
|
40
|
-
i0.ɵɵtextInterpolate(i0.ɵɵ
|
|
36
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.fixedListFormControl.errors, ctx_r2.caseField.label));
|
|
41
37
|
} }
|
|
42
38
|
function WriteFixedListFieldComponent_option_8_Template(rf, ctx) { if (rf & 1) {
|
|
43
39
|
i0.ɵɵelementStart(0, "option", 6);
|
|
44
40
|
i0.ɵɵtext(1);
|
|
45
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
46
41
|
i0.ɵɵelementEnd();
|
|
47
42
|
} if (rf & 2) {
|
|
48
43
|
const type_r4 = ctx.$implicit;
|
|
49
44
|
i0.ɵɵproperty("ngValue", type_r4.code);
|
|
50
45
|
i0.ɵɵadvance(1);
|
|
51
|
-
i0.ɵɵtextInterpolate(
|
|
46
|
+
i0.ɵɵtextInterpolate(type_r4.label);
|
|
52
47
|
} }
|
|
53
48
|
const _c0 = function (a0) { return { "form-group-error": a0 }; };
|
|
54
49
|
export class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
@@ -76,15 +71,15 @@ WriteFixedListFieldComponent.ɵfac = function WriteFixedListFieldComponent_Facto
|
|
|
76
71
|
WriteFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFixedListFieldComponent, selectors: [["ccd-write-fixed-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 9, vars: 11, 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"], [3, "ngValue", 4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteFixedListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
77
72
|
i0.ɵɵelementStart(0, "div", 0);
|
|
78
73
|
i0.ɵɵelementStart(1, "label", 1);
|
|
79
|
-
i0.ɵɵtemplate(2, WriteFixedListFieldComponent_span_2_Template,
|
|
74
|
+
i0.ɵɵtemplate(2, WriteFixedListFieldComponent_span_2_Template, 3, 3, "span", 2);
|
|
80
75
|
i0.ɵɵelementEnd();
|
|
81
|
-
i0.ɵɵtemplate(3, WriteFixedListFieldComponent_span_3_Template,
|
|
82
|
-
i0.ɵɵtemplate(4, WriteFixedListFieldComponent_span_4_Template,
|
|
76
|
+
i0.ɵɵtemplate(3, WriteFixedListFieldComponent_span_3_Template, 2, 1, "span", 3);
|
|
77
|
+
i0.ɵɵtemplate(4, WriteFixedListFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
83
78
|
i0.ɵɵelementStart(5, "select", 5);
|
|
84
79
|
i0.ɵɵelementStart(6, "option", 6);
|
|
85
80
|
i0.ɵɵtext(7, "--Select a value--");
|
|
86
81
|
i0.ɵɵelementEnd();
|
|
87
|
-
i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template,
|
|
82
|
+
i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 2, 2, "option", 7);
|
|
88
83
|
i0.ɵɵelementEnd();
|
|
89
84
|
i0.ɵɵelementEnd();
|
|
90
85
|
} if (rf & 2) {
|
|
@@ -103,7 +98,7 @@ WriteFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFixedLi
|
|
|
103
98
|
i0.ɵɵproperty("ngValue", null);
|
|
104
99
|
i0.ɵɵadvance(2);
|
|
105
100
|
i0.ɵɵproperty("ngForOf", ctx.listItems);
|
|
106
|
-
} }, directives: [i1.NgClass, i1.NgIf, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.FormControlDirective, i2.NgSelectOption, i2.ɵangular_packages_forms_forms_z, i1.NgForOf], pipes: [i3.
|
|
101
|
+
} }, directives: [i1.NgClass, i1.NgIf, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.FormControlDirective, i2.NgSelectOption, i2.ɵangular_packages_forms_forms_z, i1.NgForOf], pipes: [i3.FieldLabelPipe, i4.FirstErrorPipe], encapsulation: 2 });
|
|
107
102
|
const ɵWriteFixedListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteFixedListFieldComponent);
|
|
108
103
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteFixedListFieldComponent, [{
|
|
109
104
|
type: Component,
|
|
@@ -112,4 +107,4 @@ const ɵWriteFixedListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInher
|
|
|
112
107
|
templateUrl: './write-fixed-list-field.html'
|
|
113
108
|
}]
|
|
114
109
|
}], null, null); })();
|
|
115
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
110
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUtZml4ZWQtbGlzdC1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS9maXhlZC1saXN0L3dyaXRlLWZpeGVkLWxpc3QtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvZml4ZWQtbGlzdC93cml0ZS1maXhlZC1saXN0LWZpZWxkLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUNsRCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDN0MsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sOENBQThDLENBQUM7Ozs7Ozs7SUNDdkYsK0JBQWlEO0lBQUEsWUFBNkI7O0lBQUEsaUJBQU87OztJQUFwQyxlQUE2QjtJQUE3Qiw0REFBNkI7OztJQUVoRiwrQkFBb0Q7SUFBQSxZQUF1QjtJQUFBLGlCQUFPOzs7SUFBOUIsZUFBdUI7SUFBdkIsZ0RBQXVCOzs7SUFDM0UsZ0NBQWdJO0lBQUEsWUFBK0Q7O0lBQUEsaUJBQU87OztJQUF0RSxlQUErRDtJQUEvRCxzR0FBK0Q7OztJQUk3TCxpQ0FBNkQ7SUF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gW25nVmFsdWVdPVwidHlwZS5jb2RlXCIgKm5nRm9yPVwibGV0IHR5cGUgb2YgbGlzdEl0ZW1zXCI+e3t0eXBlLmxhYmVsfX08L29wdGlvbj5cbiAgPC9zZWxlY3Q+XG5cbjwvZGl2PlxuIl19
|
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
import { Component } from '@angular/core';
|
|
2
2
|
import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "
|
|
5
|
-
import * as i2 from "./fixed-radio-list.pipe";
|
|
4
|
+
import * as i1 from "./fixed-radio-list.pipe";
|
|
6
5
|
export class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
7
6
|
}
|
|
8
7
|
ReadFixedRadioListFieldComponent.ɵfac = function ReadFixedRadioListFieldComponent_Factory(t) { return ɵReadFixedRadioListFieldComponent_BaseFactory(t || ReadFixedRadioListFieldComponent); };
|
|
9
|
-
ReadFixedRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadFixedRadioListFieldComponent, selectors: [["ccd-read-fixed-radio-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
8
|
+
ReadFixedRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadFixedRadioListFieldComponent, selectors: [["ccd-read-fixed-radio-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 4, consts: [[1, "text-16"]], template: function ReadFixedRadioListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10
9
|
i0.ɵɵelementStart(0, "span", 0);
|
|
11
10
|
i0.ɵɵtext(1);
|
|
12
|
-
i0.ɵɵpipe(2, "
|
|
13
|
-
i0.ɵɵpipe(3, "ccdFixedRadioList");
|
|
11
|
+
i0.ɵɵpipe(2, "ccdFixedRadioList");
|
|
14
12
|
i0.ɵɵelementEnd();
|
|
15
13
|
} if (rf & 2) {
|
|
16
14
|
i0.ɵɵadvance(1);
|
|
17
|
-
i0.ɵɵtextInterpolate(i0.ɵɵ
|
|
18
|
-
} }, pipes: [i1.
|
|
15
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx.caseField.value, ctx.caseField.field_type.fixed_list_items));
|
|
16
|
+
} }, pipes: [i1.FixedRadioListPipe], encapsulation: 2 });
|
|
19
17
|
const ɵReadFixedRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadFixedRadioListFieldComponent);
|
|
20
18
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadFixedRadioListFieldComponent, [{
|
|
21
19
|
type: Component,
|
|
22
20
|
args: [{
|
|
23
21
|
selector: 'ccd-read-fixed-radio-list-field',
|
|
24
|
-
template: '<span class="text-16">{{caseField.value | ccdFixedRadioList:caseField.field_type.fixed_list_items
|
|
22
|
+
template: '<span class="text-16">{{caseField.value | ccdFixedRadioList:caseField.field_type.fixed_list_items}}</span>',
|
|
25
23
|
}]
|
|
26
24
|
}], null, null); })();
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1maXhlZC1yYWRpby1saXN0LWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2ZpeGVkLXJhZGlvLWxpc3QvcmVhZC1maXhlZC1yYWRpby1saXN0LWZpZWxkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLDZDQUE2QyxDQUFDOzs7QUFNekYsTUFBTSxPQUFPLGdDQUFpQyxTQUFRLDBCQUEwQjs7eUpBQW5FLGdDQUFnQztxRUFBaEMsZ0NBQWdDO1FBRmhDLCtCQUFzQjtRQUFBLFlBQTZFOztRQUFBLGlCQUFPOztRQUFwRixlQUE2RTtRQUE3RSwwR0FBNkU7OzZGQUVuRyxnQ0FBZ0M7dUZBQWhDLGdDQUFnQztjQUo1QyxTQUFTO2VBQUM7Z0JBQ1QsUUFBUSxFQUFFLGlDQUFpQztnQkFDM0MsUUFBUSxFQUFFLDRHQUE0RzthQUN2SCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQWJzdHJhY3RGaWVsZFJlYWRDb21wb25lbnQgfSBmcm9tICcuLi9iYXNlLWZpZWxkL2Fic3RyYWN0LWZpZWxkLXJlYWQuY29tcG9uZW50JztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnY2NkLXJlYWQtZml4ZWQtcmFkaW8tbGlzdC1maWVsZCcsXG4gIHRlbXBsYXRlOiAnPHNwYW4gY2xhc3M9XCJ0ZXh0LTE2XCI+e3tjYXNlRmllbGQudmFsdWUgfCBjY2RGaXhlZFJhZGlvTGlzdDpjYXNlRmllbGQuZmllbGRfdHlwZS5maXhlZF9saXN0X2l0ZW1zfX08L3NwYW4+Jyxcbn0pXG5leHBvcnQgY2xhc3MgUmVhZEZpeGVkUmFkaW9MaXN0RmllbGRDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdEZpZWxkUmVhZENvbXBvbmVudCB7IH1cbiJdfQ==
|
|
@@ -4,40 +4,36 @@ import { AbstractFieldWriteComponent } from '../base-field/abstract-field-write.
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/common";
|
|
6
6
|
import * as i2 from "@angular/forms";
|
|
7
|
-
import * as i3 from "
|
|
8
|
-
import * as i4 from "../utils/
|
|
9
|
-
import * as i5 from "../utils/first-error.pipe";
|
|
7
|
+
import * as i3 from "../utils/field-label.pipe";
|
|
8
|
+
import * as i4 from "../utils/first-error.pipe";
|
|
10
9
|
function WriteFixedRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
11
10
|
i0.ɵɵelementStart(0, "span", 6);
|
|
12
11
|
i0.ɵɵtext(1);
|
|
13
|
-
i0.ɵɵpipe(2, "
|
|
14
|
-
i0.ɵɵpipe(3, "ccdFieldLabel");
|
|
12
|
+
i0.ɵɵpipe(2, "ccdFieldLabel");
|
|
15
13
|
i0.ɵɵelementEnd();
|
|
16
14
|
} if (rf & 2) {
|
|
17
15
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
18
16
|
i0.ɵɵadvance(1);
|
|
19
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1,
|
|
17
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
|
|
20
18
|
} }
|
|
21
19
|
function WriteFixedRadioListFieldComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
22
20
|
i0.ɵɵelementStart(0, "span", 7);
|
|
23
21
|
i0.ɵɵtext(1);
|
|
24
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
25
22
|
i0.ɵɵelementEnd();
|
|
26
23
|
} if (rf & 2) {
|
|
27
24
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
28
25
|
i0.ɵɵadvance(1);
|
|
29
|
-
i0.ɵɵtextInterpolate(
|
|
26
|
+
i0.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
|
|
30
27
|
} }
|
|
31
28
|
function WriteFixedRadioListFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
32
29
|
i0.ɵɵelementStart(0, "span", 8);
|
|
33
30
|
i0.ɵɵtext(1);
|
|
34
|
-
i0.ɵɵpipe(2, "
|
|
35
|
-
i0.ɵɵpipe(3, "ccdFirstError");
|
|
31
|
+
i0.ɵɵpipe(2, "ccdFirstError");
|
|
36
32
|
i0.ɵɵelementEnd();
|
|
37
33
|
} if (rf & 2) {
|
|
38
34
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
39
35
|
i0.ɵɵadvance(1);
|
|
40
|
-
i0.ɵɵtextInterpolate(i0.ɵɵ
|
|
36
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label));
|
|
41
37
|
} }
|
|
42
38
|
const _c0 = function (a0) { return { selected: a0 }; };
|
|
43
39
|
function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -45,19 +41,18 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
|
|
|
45
41
|
i0.ɵɵelement(1, "input", 10);
|
|
46
42
|
i0.ɵɵelementStart(2, "label", 11);
|
|
47
43
|
i0.ɵɵtext(3);
|
|
48
|
-
i0.ɵɵpipe(4, "rpxTranslate");
|
|
49
44
|
i0.ɵɵelementEnd();
|
|
50
45
|
i0.ɵɵelementEnd();
|
|
51
46
|
} if (rf & 2) {
|
|
52
47
|
const radioButton_r4 = ctx.$implicit;
|
|
53
48
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
54
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
49
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
|
|
55
50
|
i0.ɵɵadvance(1);
|
|
56
51
|
i0.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
|
|
57
52
|
i0.ɵɵadvance(1);
|
|
58
53
|
i0.ɵɵproperty("for", ctx_r3.id() + "-" + radioButton_r4.code);
|
|
59
54
|
i0.ɵɵadvance(1);
|
|
60
|
-
i0.ɵɵtextInterpolate(
|
|
55
|
+
i0.ɵɵtextInterpolate(radioButton_r4.label);
|
|
61
56
|
} }
|
|
62
57
|
const _c1 = function (a0) { return { "form-group-error": a0 }; };
|
|
63
58
|
export class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
@@ -72,13 +67,13 @@ WriteFixedRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFi
|
|
|
72
67
|
i0.ɵɵelementStart(1, "fieldset");
|
|
73
68
|
i0.ɵɵelementStart(2, "legend");
|
|
74
69
|
i0.ɵɵelementStart(3, "label", 1);
|
|
75
|
-
i0.ɵɵtemplate(4, WriteFixedRadioListFieldComponent_span_4_Template,
|
|
70
|
+
i0.ɵɵtemplate(4, WriteFixedRadioListFieldComponent_span_4_Template, 3, 3, "span", 2);
|
|
76
71
|
i0.ɵɵelementEnd();
|
|
77
|
-
i0.ɵɵtemplate(5, WriteFixedRadioListFieldComponent_span_5_Template,
|
|
78
|
-
i0.ɵɵtemplate(6, WriteFixedRadioListFieldComponent_span_6_Template,
|
|
72
|
+
i0.ɵɵtemplate(5, WriteFixedRadioListFieldComponent_span_5_Template, 2, 1, "span", 3);
|
|
73
|
+
i0.ɵɵtemplate(6, WriteFixedRadioListFieldComponent_span_6_Template, 3, 4, "span", 4);
|
|
79
74
|
i0.ɵɵelementEnd();
|
|
80
75
|
i0.ɵɵelementContainerStart(7);
|
|
81
|
-
i0.ɵɵtemplate(8, WriteFixedRadioListFieldComponent_div_8_Template,
|
|
76
|
+
i0.ɵɵtemplate(8, WriteFixedRadioListFieldComponent_div_8_Template, 4, 9, "div", 5);
|
|
82
77
|
i0.ɵɵelementContainerEnd();
|
|
83
78
|
i0.ɵɵelementEnd();
|
|
84
79
|
i0.ɵɵelementEnd();
|
|
@@ -94,7 +89,7 @@ WriteFixedRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFi
|
|
|
94
89
|
i0.ɵɵproperty("ngIf", ctx.fixedRadioListControl.errors && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched));
|
|
95
90
|
i0.ɵɵadvance(2);
|
|
96
91
|
i0.ɵɵproperty("ngForOf", ctx.caseField.field_type.fixed_list_items);
|
|
97
|
-
} }, directives: [i1.NgClass, i1.NgIf, i1.NgForOf, i2.RadioControlValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [i3.
|
|
92
|
+
} }, directives: [i1.NgClass, i1.NgIf, i1.NgForOf, i2.RadioControlValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [i3.FieldLabelPipe, i4.FirstErrorPipe], encapsulation: 2 });
|
|
98
93
|
const ɵWriteFixedRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteFixedRadioListFieldComponent);
|
|
99
94
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteFixedRadioListFieldComponent, [{
|
|
100
95
|
type: Component,
|
|
@@ -103,4 +98,4 @@ const ɵWriteFixedRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵget
|
|
|
103
98
|
templateUrl: './write-fixed-radio-list-field.html'
|
|
104
99
|
}]
|
|
105
100
|
}], null, null); })();
|
|
106
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
101
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUtZml4ZWQtcmFkaW8tbGlzdC1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS9maXhlZC1yYWRpby1saXN0L3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