@hmcts/ccd-case-ui-toolkit 6.13.11-activity-tracker → 6.13.11-welsh-release
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 +6411 -5353
- 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 -11
- package/esm2015/lib/components/banners/alert/alert.component.js +7 -5
- package/esm2015/lib/components/banners/alert/alert.module.js +12 -4
- package/esm2015/lib/components/banners/index.js +1 -2
- package/esm2015/lib/components/banners/notification-banner/index.js +1 -2
- package/esm2015/lib/components/body/index.js +1 -2
- package/esm2015/lib/components/footer/footer.component.js +55 -30
- package/esm2015/lib/components/footer/footers.module.js +12 -4
- package/esm2015/lib/components/footer/index.js +1 -2
- package/esm2015/lib/components/form/date-input/date-input.component.js +56 -37
- package/esm2015/lib/components/form/form.module.js +8 -4
- package/esm2015/lib/components/form/index.js +1 -2
- package/esm2015/lib/components/header/header-bar/header-bar.component.js +32 -19
- package/esm2015/lib/components/header/headers.module.js +6 -4
- package/esm2015/lib/components/header/navigation/navigation-item.component.js +9 -7
- package/esm2015/lib/components/header/phase/phase.component.js +20 -9
- package/esm2015/lib/components/tabs/tabs.component.js +8 -5
- package/esm2015/lib/components/tabs/tabs.module.js +6 -2
- package/esm2015/lib/shared/components/activity/activity-banner/activity-banner.component.js +14 -11
- package/esm2015/lib/shared/components/activity/activity-icon/activity-icon.component.js +12 -9
- package/esm2015/lib/shared/components/activity/activity.component.js +155 -0
- package/esm2015/lib/shared/components/activity/activity.module.js +17 -13
- package/esm2015/lib/shared/components/activity/index.js +2 -2
- 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 +29 -25
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +76 -48
- package/esm2015/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.js +179 -131
- package/esm2015/lib/shared/components/case-editor/case-editor.module.js +30 -26
- package/esm2015/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.js +51 -26
- package/esm2015/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.js +51 -28
- 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 +3 -2
- 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 +89 -63
- package/esm2015/lib/shared/components/case-history/case-history.module.js +18 -14
- package/esm2015/lib/shared/components/case-list/case-list.component.js +56 -49
- package/esm2015/lib/shared/components/case-list/case-list.module.js +8 -4
- package/esm2015/lib/shared/components/case-list-filters/case-list-filters.module.js +11 -7
- package/esm2015/lib/shared/components/case-timeline/case-timeline.component.js +9 -6
- package/esm2015/lib/shared/components/case-timeline/case-timeline.module.js +12 -8
- package/esm2015/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.js +106 -61
- package/esm2015/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.js +89 -69
- package/esm2015/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.js +45 -23
- package/esm2015/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.js +27 -32
- package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +103 -95
- package/esm2015/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.js +32 -20
- package/esm2015/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.js +107 -79
- package/esm2015/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.js +79 -49
- 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 +38 -30
- package/esm2015/lib/shared/components/case-viewer/printer/case-printer.component.js +36 -22
- package/esm2015/lib/shared/components/create-case-filters/create-case-filters.component.js +63 -40
- package/esm2015/lib/shared/components/create-case-filters/create-case-filters.module.js +6 -2
- package/esm2015/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.js +28 -14
- package/esm2015/lib/shared/components/dialogs/dialogs.module.js +6 -2
- package/esm2015/lib/shared/components/dialogs/document-dialog/document-dialog.component.js +28 -14
- package/esm2015/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.js +28 -14
- package/esm2015/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.js +28 -14
- package/esm2015/lib/shared/components/error/callback-errors.component.js +34 -23
- package/esm2015/lib/shared/components/error/errors.module.js +6 -2
- package/esm2015/lib/shared/components/error-message/error-message.component.js +14 -11
- package/esm2015/lib/shared/components/error-message/error-message.module.js +8 -4
- package/esm2015/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.js +39 -20
- package/esm2015/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.js +34 -18
- package/esm2015/lib/shared/components/event-start/components/task-assigned/task-assigned.component.js +34 -19
- package/esm2015/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.js +50 -25
- package/esm2015/lib/shared/components/event-start/components/task-conflict/task-conflict.component.js +39 -20
- package/esm2015/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.js +34 -18
- package/esm2015/lib/shared/components/event-start/event-start.module.js +8 -4
- package/esm2015/lib/shared/components/event-trigger/event-trigger.component.js +27 -17
- package/esm2015/lib/shared/components/event-trigger/event-trigger.module.js +6 -2
- package/esm2015/lib/shared/components/loading-spinner/loading-spinner.component.js +7 -5
- package/esm2015/lib/shared/components/loading-spinner/loading-spinner.module.js +6 -2
- package/esm2015/lib/shared/components/pagination/pagination.component.js +84 -67
- package/esm2015/lib/shared/components/pagination/pagination.module.js +8 -4
- package/esm2015/lib/shared/components/palette/address/write-address-field.component.js +50 -31
- package/esm2015/lib/shared/components/palette/base-field/field-read-label.component.js +10 -8
- package/esm2015/lib/shared/components/palette/base-field/field-read.component.js +6 -2
- package/esm2015/lib/shared/components/palette/base-field/field-write.component.js +2 -2
- package/esm2015/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.js +31 -25
- package/esm2015/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.js +6 -1
- package/esm2015/lib/shared/components/palette/case-flag/read-case-flag-field.component.js +18 -12
- package/esm2015/lib/shared/components/palette/case-link/write-case-link-field.component.js +16 -12
- package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +57 -33
- package/esm2015/lib/shared/components/palette/complex/read-complex-field-collection-table.component.js +50 -46
- package/esm2015/lib/shared/components/palette/complex/read-complex-field-raw.component.js +7 -6
- package/esm2015/lib/shared/components/palette/complex/read-complex-field-table.component.js +22 -20
- package/esm2015/lib/shared/components/palette/complex/write-complex-field.component.js +5 -4
- package/esm2015/lib/shared/components/palette/date/write-date-field.component.js +16 -12
- package/esm2015/lib/shared/components/palette/datetime-picker/datetime-picker.component.js +29 -17
- package/esm2015/lib/shared/components/palette/document/write-document-field.component.js +31 -25
- package/esm2015/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.js +9 -7
- package/esm2015/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.js +32 -20
- package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/index.js +3 -0
- package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.js +47 -0
- package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.js +153 -0
- package/esm2015/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.js +9 -7
- package/esm2015/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.js +30 -22
- package/esm2015/lib/shared/components/palette/email/write-email-field.component.js +16 -12
- package/esm2015/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.js +9 -7
- package/esm2015/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.js +19 -14
- package/esm2015/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.js +9 -7
- package/esm2015/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.js +20 -15
- package/esm2015/lib/shared/components/palette/history/event-log/event-log-details.component.js +87 -65
- package/esm2015/lib/shared/components/palette/history/event-log/event-log-table.component.js +60 -46
- package/esm2015/lib/shared/components/palette/index.js +2 -1
- package/esm2015/lib/shared/components/palette/label/label-field.component.js +24 -5
- package/esm2015/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.js +16 -12
- package/esm2015/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.js +15 -11
- package/esm2015/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.js +19 -14
- package/esm2015/lib/shared/components/palette/number/write-number-field.component.js +16 -12
- package/esm2015/lib/shared/components/palette/order-summary/read-order-summary-field.component.js +43 -25
- package/esm2015/lib/shared/components/palette/order-summary/read-order-summary-row.component.js +7 -6
- package/esm2015/lib/shared/components/palette/organisation/read-organisation-field-raw.component.js +41 -29
- package/esm2015/lib/shared/components/palette/organisation/read-organisation-field-table.component.js +48 -35
- package/esm2015/lib/shared/components/palette/organisation/write-organisation-field.component.js +88 -50
- package/esm2015/lib/shared/components/palette/palette.module.js +91 -59
- package/esm2015/lib/shared/components/palette/palette.service.js +4 -1
- package/esm2015/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.js +16 -12
- package/esm2015/lib/shared/components/palette/text/read-text-field.component.js +7 -5
- package/esm2015/lib/shared/components/palette/text/write-text-field.component.js +16 -12
- package/esm2015/lib/shared/components/palette/text-area/read-text-area-field.component.js +7 -5
- package/esm2015/lib/shared/components/palette/text-area/write-text-area-field.component.js +16 -12
- package/esm2015/lib/shared/components/palette/yes-no/read-yes-no-field.component.js +7 -5
- package/esm2015/lib/shared/components/palette/yes-no/write-yes-no-field.component.js +20 -15
- package/esm2015/lib/shared/components/search-filters/search-filters.component.js +60 -35
- package/esm2015/lib/shared/components/search-filters/search-filters.module.js +14 -10
- package/esm2015/lib/shared/components/search-result/search-result.component.js +149 -129
- package/esm2015/lib/shared/components/search-result/search-result.module.js +16 -13
- package/esm2015/lib/shared/components/workbasket-filters/workbasket-filters.component.js +90 -52
- package/esm2015/lib/shared/components/workbasket-filters/workbasket-filters.module.js +13 -9
- package/esm2015/lib/shared/domain/activity/activity.model.js +1 -1
- package/esm2015/lib/shared/domain/activity/index.js +1 -4
- package/esm2015/lib/shared/domain/alert/alert-status-params.model.js +2 -0
- package/esm2015/lib/shared/domain/definition/case-field.model.js +6 -3
- package/esm2015/lib/shared/domain/definition/field-type-enum.model.js +1 -1
- package/esm2015/lib/shared/domain/search/index.js +1 -2
- package/esm2015/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.js +14 -11
- package/esm2015/lib/shared/services/activity/activity.polling.service.js +10 -25
- package/esm2015/lib/shared/services/activity/activity.service.js +21 -47
- package/esm2015/lib/shared/services/activity/index.js +1 -2
- package/esm2015/lib/shared/services/alert/alert.service.js +28 -8
- package/esm2015/lib/shared/services/form/field-type-sanitiser.js +16 -1
- package/esm2015/lib/shared/services/request/request.options.builder.js +7 -1
- package/esm2015/lib/shared/services/window/window.service.js +1 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +6785 -5741
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/app.config.d.ts +0 -10
- package/lib/app.config.d.ts.map +1 -1
- package/lib/components/banners/alert/alert.module.d.ts +2 -1
- package/lib/components/banners/alert/alert.module.d.ts.map +1 -1
- package/lib/components/banners/index.d.ts +0 -1
- package/lib/components/banners/index.d.ts.map +1 -1
- package/lib/components/banners/notification-banner/index.d.ts +0 -1
- package/lib/components/banners/notification-banner/index.d.ts.map +1 -1
- package/lib/components/body/index.d.ts +0 -1
- package/lib/components/body/index.d.ts.map +1 -1
- package/lib/components/footer/footers.module.d.ts +2 -1
- package/lib/components/footer/footers.module.d.ts.map +1 -1
- package/lib/components/footer/index.d.ts +0 -1
- package/lib/components/footer/index.d.ts.map +1 -1
- package/lib/components/form/form.module.d.ts +2 -1
- package/lib/components/form/form.module.d.ts.map +1 -1
- package/lib/components/form/index.d.ts +0 -1
- package/lib/components/form/index.d.ts.map +1 -1
- package/lib/components/header/headers.module.d.ts +2 -1
- 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 +2 -1
- package/lib/components/tabs/tabs.module.d.ts.map +1 -1
- package/lib/shared/components/activity/activity.component.d.ts +32 -0
- package/lib/shared/components/activity/activity.component.d.ts.map +1 -0
- package/lib/shared/components/activity/activity.module.d.ts +5 -4
- package/lib/shared/components/activity/activity.module.d.ts.map +1 -1
- package/lib/shared/components/activity/index.d.ts +1 -1
- package/lib/shared/components/activity/index.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-editor.module.d.ts +3 -2
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +4 -5
- 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-full-access-view/case-full-access-view.component.d.ts +4 -7
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-viewer.module.d.ts +6 -4
- 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 +2 -1
- 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 +2 -1
- package/lib/shared/components/dialogs/dialogs.module.d.ts.map +1 -1
- package/lib/shared/components/error/errors.module.d.ts +2 -1
- package/lib/shared/components/error/errors.module.d.ts.map +1 -1
- package/lib/shared/components/error-message/error-message.module.d.ts +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- package/lib/shared/components/loading-spinner/loading-spinner.module.d.ts.map +1 -1
- package/lib/shared/components/pagination/pagination.module.d.ts +2 -1
- package/lib/shared/components/pagination/pagination.module.d.ts.map +1 -1
- package/lib/shared/components/palette/base-field/field-read.component.d.ts +1 -0
- 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/collection/write-collection-field.component.d.ts +1 -0
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/dynamic-multi-select-list/index.d.ts +3 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/index.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.d.ts +9 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.d.ts +17 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts +1 -1
- package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/index.d.ts +1 -0
- package/lib/shared/components/palette/index.d.ts.map +1 -1
- package/lib/shared/components/palette/label/label-field.component.d.ts +2 -1
- package/lib/shared/components/palette/label/label-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +60 -57
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.service.d.ts.map +1 -1
- package/lib/shared/components/search-filters/search-filters.module.d.ts +2 -1
- package/lib/shared/components/search-filters/search-filters.module.d.ts.map +1 -1
- package/lib/shared/components/search-result/search-result.component.d.ts +6 -9
- package/lib/shared/components/search-result/search-result.component.d.ts.map +1 -1
- package/lib/shared/components/search-result/search-result.module.d.ts +3 -2
- 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 +2 -1
- package/lib/shared/components/workbasket-filters/workbasket-filters.module.d.ts.map +1 -1
- package/lib/shared/domain/activity/activity.model.d.ts +0 -1
- package/lib/shared/domain/activity/activity.model.d.ts.map +1 -1
- package/lib/shared/domain/activity/index.d.ts +0 -3
- package/lib/shared/domain/activity/index.d.ts.map +1 -1
- package/lib/shared/domain/alert/alert-status-params.model.d.ts +6 -0
- package/lib/shared/domain/alert/alert-status-params.model.d.ts.map +1 -0
- package/lib/shared/domain/definition/case-field.model.d.ts.map +1 -1
- package/lib/shared/domain/definition/field-type-enum.model.d.ts +1 -1
- package/lib/shared/domain/definition/field-type-enum.model.d.ts.map +1 -1
- package/lib/shared/domain/search/index.d.ts +0 -1
- package/lib/shared/domain/search/index.d.ts.map +1 -1
- package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -1
- package/lib/shared/services/activity/activity.polling.service.d.ts +5 -6
- package/lib/shared/services/activity/activity.polling.service.d.ts.map +1 -1
- package/lib/shared/services/activity/activity.service.d.ts +5 -14
- package/lib/shared/services/activity/activity.service.d.ts.map +1 -1
- package/lib/shared/services/activity/index.d.ts +0 -1
- package/lib/shared/services/activity/index.d.ts.map +1 -1
- package/lib/shared/services/alert/alert.service.d.ts +8 -4
- package/lib/shared/services/alert/alert.service.d.ts.map +1 -1
- package/lib/shared/services/form/field-type-sanitiser.d.ts +2 -0
- package/lib/shared/services/form/field-type-sanitiser.d.ts.map +1 -1
- package/lib/shared/services/request/request.options.builder.d.ts.map +1 -1
- package/lib/shared/services/window/window.service.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm2015/lib/shared/components/activity/case-activity.component.js +0 -174
- package/esm2015/lib/shared/domain/activity/case-activity-info.model.js +0 -3
- package/esm2015/lib/shared/domain/activity/case-activity.model.js +0 -3
- package/esm2015/lib/shared/domain/activity/user.model.js +0 -3
- package/esm2015/lib/shared/domain/search/sorting/index.js +0 -4
- package/esm2015/lib/shared/domain/user/index.js +0 -3
- package/esm2015/lib/shared/services/activity/activity-socket.service.js +0 -91
- package/esm2015/lib/shared/services/activity/utils/index.js +0 -117
- package/lib/shared/components/activity/case-activity.component.d.ts +0 -32
- package/lib/shared/components/activity/case-activity.component.d.ts.map +0 -1
- package/lib/shared/domain/activity/case-activity-info.model.d.ts +0 -9
- package/lib/shared/domain/activity/case-activity-info.model.d.ts.map +0 -1
- package/lib/shared/domain/activity/case-activity.model.d.ts +0 -5
- package/lib/shared/domain/activity/case-activity.model.d.ts.map +0 -1
- package/lib/shared/domain/activity/user.model.d.ts +0 -6
- package/lib/shared/domain/activity/user.model.d.ts.map +0 -1
- package/lib/shared/domain/search/sorting/index.d.ts +0 -4
- package/lib/shared/domain/search/sorting/index.d.ts.map +0 -1
- package/lib/shared/domain/user/index.d.ts +0 -3
- package/lib/shared/domain/user/index.d.ts.map +0 -1
- package/lib/shared/services/activity/activity-socket.service.d.ts +0 -33
- package/lib/shared/services/activity/activity-socket.service.d.ts.map +0 -1
- package/lib/shared/services/activity/utils/index.d.ts +0 -40
- package/lib/shared/services/activity/utils/index.d.ts.map +0 -1
|
@@ -4,36 +4,40 @@ 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/
|
|
7
|
+
import * as i3 from "rpx-xui-translation";
|
|
8
|
+
import * as i4 from "../utils/field-label.pipe";
|
|
9
|
+
import * as i5 from "../utils/first-error.pipe";
|
|
9
10
|
function WritePhoneUKFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
10
11
|
i0.ɵɵelementStart(0, "span", 6);
|
|
11
12
|
i0.ɵɵtext(1);
|
|
12
|
-
i0.ɵɵpipe(2, "
|
|
13
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
14
|
+
i0.ɵɵpipe(3, "ccdFieldLabel");
|
|
13
15
|
i0.ɵɵelementEnd();
|
|
14
16
|
} if (rf & 2) {
|
|
15
17
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
16
18
|
i0.ɵɵadvance(1);
|
|
17
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
|
|
19
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind1(3, 3, ctx_r0.caseField)));
|
|
18
20
|
} }
|
|
19
21
|
function WritePhoneUKFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
20
22
|
i0.ɵɵelementStart(0, "span", 7);
|
|
21
23
|
i0.ɵɵtext(1);
|
|
24
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
22
25
|
i0.ɵɵelementEnd();
|
|
23
26
|
} if (rf & 2) {
|
|
24
27
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
25
28
|
i0.ɵɵadvance(1);
|
|
26
|
-
i0.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
|
|
29
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r1.caseField.hint_text));
|
|
27
30
|
} }
|
|
28
31
|
function WritePhoneUKFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
29
32
|
i0.ɵɵelementStart(0, "span", 8);
|
|
30
33
|
i0.ɵɵtext(1);
|
|
31
|
-
i0.ɵɵpipe(2, "
|
|
34
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
35
|
+
i0.ɵɵpipe(3, "ccdFirstError");
|
|
32
36
|
i0.ɵɵelementEnd();
|
|
33
37
|
} if (rf & 2) {
|
|
34
38
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
35
39
|
i0.ɵɵadvance(1);
|
|
36
|
-
i0.ɵɵ
|
|
40
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label)), " ");
|
|
37
41
|
} }
|
|
38
42
|
const _c0 = function (a0) { return { "form-group-error": a0 }; };
|
|
39
43
|
const _c1 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
@@ -46,10 +50,10 @@ WritePhoneUKFieldComponent.ɵfac = function WritePhoneUKFieldComponent_Factory(t
|
|
|
46
50
|
WritePhoneUKFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WritePhoneUKFieldComponent, selectors: [["ccd-write-phone-uk-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 12, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["type", "tel", 1, "form-control", "bottom-30", 3, "ngClass", "id", "formControl"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WritePhoneUKFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
47
51
|
i0.ɵɵelementStart(0, "div", 0);
|
|
48
52
|
i0.ɵɵelementStart(1, "label", 1);
|
|
49
|
-
i0.ɵɵtemplate(2, WritePhoneUKFieldComponent_span_2_Template,
|
|
53
|
+
i0.ɵɵtemplate(2, WritePhoneUKFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
50
54
|
i0.ɵɵelementEnd();
|
|
51
|
-
i0.ɵɵtemplate(3, WritePhoneUKFieldComponent_span_3_Template,
|
|
52
|
-
i0.ɵɵtemplate(4, WritePhoneUKFieldComponent_span_4_Template,
|
|
55
|
+
i0.ɵɵtemplate(3, WritePhoneUKFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
56
|
+
i0.ɵɵtemplate(4, WritePhoneUKFieldComponent_span_4_Template, 4, 6, "span", 4);
|
|
53
57
|
i0.ɵɵelement(5, "input", 5);
|
|
54
58
|
i0.ɵɵelementEnd();
|
|
55
59
|
} if (rf & 2) {
|
|
@@ -64,7 +68,7 @@ WritePhoneUKFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WritePhoneUKFi
|
|
|
64
68
|
i0.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
|
|
65
69
|
i0.ɵɵadvance(1);
|
|
66
70
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
|
|
67
|
-
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [i3.
|
|
71
|
+
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [i3.RpxTranslatePipe, i4.FieldLabelPipe, i5.FirstErrorPipe], encapsulation: 2 });
|
|
68
72
|
const ɵWritePhoneUKFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WritePhoneUKFieldComponent);
|
|
69
73
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WritePhoneUKFieldComponent, [{
|
|
70
74
|
type: Component,
|
|
@@ -73,4 +77,4 @@ const ɵWritePhoneUKFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInherit
|
|
|
73
77
|
templateUrl: './write-phone-uk-field.html'
|
|
74
78
|
}]
|
|
75
79
|
}], null, null); })();
|
|
76
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
80
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUtcGhvbmUtdWstZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvcGhvbmUtdWsvd3JpdGUtcGhvbmUtdWstZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvcGhvbmUtdWsvd3JpdGUtcGhvbmUtdWstZmllbGQuaHRtbCJdLCJuYW1l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hvbmVVa0NvbnRyb2wudG91Y2hlZCl9XCI+XG4gIDxsYWJlbCBbZm9yXT1cImlkKClcIj5cbiAgICA8c3BhbiBjbGFzcz1cImZvcm0tbGFiZWxcIiAqbmdJZj1cImNhc2VGaWVsZC5sYWJlbFwiPnt7Y2FzZUZpZWxkIHwgY2NkRmllbGRMYWJlbCB8IHJweFRyYW5zbGF0ZX19PC9zcGFuPlxuICA8L2xhYmVsPlxuICA8c3BhbiBjbGFzcz1cImZvcm0taGludFwiICpuZ0lmPVwiY2FzZUZpZWxkLmhpbnRfdGV4dFwiPnt7Y2FzZUZpZWxkLmhpbnRfdGV4dCB8IHJweFRyYW5zbGF0ZX19PC9zcGFuPlxuICA8c3BhbiBjbGFzcz1cImVycm9yLW1lc3NhZ2VcIiAqbmdJZj1cInBob25lVWtDb250cm9sLmVycm9ycyAmJiAocGhvbmVVa0NvbnRyb2wuZGlydHkgfHwgcGhvbmVVa0NvbnRyb2wudG91Y2hlZClcIj5cbiAgICB7e3Bob25lVWtDb250cm9sLmVycm9ycyB8IGNjZEZpcnN0RXJyb3I6Y2FzZUZpZWxkLmxhYmVsIHwgcnB4VHJhbnNsYXRlfX1cbiAgPC9zcGFuPlxuICA8aW5wdXQgY2xhc3M9XCJmb3JtLWNvbnRyb2wgYm90dG9tLTMwXCIgW25nQ2xhc3NdPVwieydnb3Z1ay1pbnB1dC0tZXJyb3InOiBwaG9uZVVrQ29udHJvbC5lcnJvcnMgJiYgcGhvbmVVa0NvbnRyb2wuZGlydHl9XCJcbiAgIFtpZF09XCJpZCgpXCIgdHlwZT1cInRlbFwiIFtmb3JtQ29udHJvbF09XCJwaG9uZVVrQ29udHJvbFwiPlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,23 +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 "rpx-xui-translation";
|
|
4
5
|
export class ReadTextFieldComponent extends AbstractFieldReadComponent {
|
|
5
6
|
}
|
|
6
7
|
ReadTextFieldComponent.ɵfac = function ReadTextFieldComponent_Factory(t) { return ɵReadTextFieldComponent_BaseFactory(t || ReadTextFieldComponent); };
|
|
7
|
-
ReadTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadTextFieldComponent, selectors: [["ccd-read-text-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
8
|
+
ReadTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadTextFieldComponent, selectors: [["ccd-read-text-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[1, "text-16"]], template: function ReadTextFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8
9
|
i0.ɵɵelementStart(0, "span", 0);
|
|
9
10
|
i0.ɵɵtext(1);
|
|
11
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
10
12
|
i0.ɵɵelementEnd();
|
|
11
13
|
} if (rf & 2) {
|
|
12
14
|
i0.ɵɵadvance(1);
|
|
13
|
-
i0.ɵɵtextInterpolate(ctx.caseField.value);
|
|
14
|
-
} }, encapsulation: 2 });
|
|
15
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx.caseField.value));
|
|
16
|
+
} }, pipes: [i1.RpxTranslatePipe], encapsulation: 2 });
|
|
15
17
|
const ɵReadTextFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadTextFieldComponent);
|
|
16
18
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadTextFieldComponent, [{
|
|
17
19
|
type: Component,
|
|
18
20
|
args: [{
|
|
19
21
|
selector: 'ccd-read-text-field',
|
|
20
|
-
template: `<span class="text-16">{{caseField.value}}</span>`
|
|
22
|
+
template: `<span class="text-16">{{caseField.value | rpxTranslate}}</span>`
|
|
21
23
|
}]
|
|
22
24
|
}], null, null); })();
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC10ZXh0LWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL3RleHQvcmVhZC10ZXh0LWZpZWxkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLDZDQUE2QyxDQUFDOzs7QUFNekYsTUFBTSxPQUFPLHNCQUF1QixTQUFRLDBCQUEwQjs7MkhBQXpELHNCQUFzQjsyREFBdEIsc0JBQXNCO1FBRnRCLCtCQUFzQjtRQUFBLFlBQWtDOztRQUFBLGlCQUFPOztRQUF6QyxlQUFrQztRQUFsQywrREFBa0M7O21GQUV4RCxzQkFBc0I7dUZBQXRCLHNCQUFzQjtjQUpsQyxTQUFTO2VBQUM7Z0JBQ1QsUUFBUSxFQUFFLHFCQUFxQjtnQkFDL0IsUUFBUSxFQUFFLGlFQUFpRTthQUM1RSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQWJzdHJhY3RGaWVsZFJlYWRDb21wb25lbnQgfSBmcm9tICcuLi9iYXNlLWZpZWxkL2Fic3RyYWN0LWZpZWxkLXJlYWQuY29tcG9uZW50JztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnY2NkLXJlYWQtdGV4dC1maWVsZCcsXG4gIHRlbXBsYXRlOiBgPHNwYW4gY2xhc3M9XCJ0ZXh0LTE2XCI+e3tjYXNlRmllbGQudmFsdWUgfCBycHhUcmFuc2xhdGV9fTwvc3Bhbj5gXG59KVxuZXhwb3J0IGNsYXNzIFJlYWRUZXh0RmllbGRDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdEZpZWxkUmVhZENvbXBvbmVudCB7fVxuIl19
|
|
@@ -4,36 +4,40 @@ 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/
|
|
7
|
+
import * as i3 from "rpx-xui-translation";
|
|
8
|
+
import * as i4 from "../utils/field-label.pipe";
|
|
9
|
+
import * as i5 from "../utils/first-error.pipe";
|
|
9
10
|
function WriteTextFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
10
11
|
i0.ɵɵelementStart(0, "span", 6);
|
|
11
12
|
i0.ɵɵtext(1);
|
|
12
|
-
i0.ɵɵpipe(2, "
|
|
13
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
14
|
+
i0.ɵɵpipe(3, "ccdFieldLabel");
|
|
13
15
|
i0.ɵɵelementEnd();
|
|
14
16
|
} if (rf & 2) {
|
|
15
17
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
16
18
|
i0.ɵɵadvance(1);
|
|
17
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
|
|
19
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind1(3, 3, ctx_r0.caseField)));
|
|
18
20
|
} }
|
|
19
21
|
function WriteTextFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
20
22
|
i0.ɵɵelementStart(0, "span", 7);
|
|
21
23
|
i0.ɵɵtext(1);
|
|
24
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
22
25
|
i0.ɵɵelementEnd();
|
|
23
26
|
} if (rf & 2) {
|
|
24
27
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
25
28
|
i0.ɵɵadvance(1);
|
|
26
|
-
i0.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
|
|
29
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r1.caseField.hint_text));
|
|
27
30
|
} }
|
|
28
31
|
function WriteTextFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
29
32
|
i0.ɵɵelementStart(0, "span", 8);
|
|
30
33
|
i0.ɵɵtext(1);
|
|
31
|
-
i0.ɵɵpipe(2, "
|
|
34
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
35
|
+
i0.ɵɵpipe(3, "ccdFirstError");
|
|
32
36
|
i0.ɵɵelementEnd();
|
|
33
37
|
} if (rf & 2) {
|
|
34
38
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
35
39
|
i0.ɵɵadvance(1);
|
|
36
|
-
i0.ɵɵ
|
|
40
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.textControl.errors, ctx_r2.caseField.label)), " ");
|
|
37
41
|
} }
|
|
38
42
|
const _c0 = function (a0) { return { "form-group-error": a0 }; };
|
|
39
43
|
const _c1 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
@@ -49,10 +53,10 @@ WriteTextFieldComponent.ɵfac = function WriteTextFieldComponent_Factory(t) { re
|
|
|
49
53
|
WriteTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextFieldComponent, selectors: [["ccd-write-text-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 12, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["type", "text", 1, "form-control", "bottom-30", 3, "ngClass", "id", "formControl", "blur"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteTextFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
50
54
|
i0.ɵɵelementStart(0, "div", 0);
|
|
51
55
|
i0.ɵɵelementStart(1, "label", 1);
|
|
52
|
-
i0.ɵɵtemplate(2, WriteTextFieldComponent_span_2_Template,
|
|
56
|
+
i0.ɵɵtemplate(2, WriteTextFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
53
57
|
i0.ɵɵelementEnd();
|
|
54
|
-
i0.ɵɵtemplate(3, WriteTextFieldComponent_span_3_Template,
|
|
55
|
-
i0.ɵɵtemplate(4, WriteTextFieldComponent_span_4_Template,
|
|
58
|
+
i0.ɵɵtemplate(3, WriteTextFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
59
|
+
i0.ɵɵtemplate(4, WriteTextFieldComponent_span_4_Template, 4, 6, "span", 4);
|
|
56
60
|
i0.ɵɵelementStart(5, "input", 5);
|
|
57
61
|
i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_5_listener($event) { return ctx.onBlur($event); });
|
|
58
62
|
i0.ɵɵelementEnd();
|
|
@@ -69,7 +73,7 @@ WriteTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextFieldCom
|
|
|
69
73
|
i0.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
|
|
70
74
|
i0.ɵɵadvance(1);
|
|
71
75
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("formControl", ctx.textControl);
|
|
72
|
-
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [i3.
|
|
76
|
+
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [i3.RpxTranslatePipe, i4.FieldLabelPipe, i5.FirstErrorPipe], encapsulation: 2 });
|
|
73
77
|
const ɵWriteTextFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteTextFieldComponent);
|
|
74
78
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextFieldComponent, [{
|
|
75
79
|
type: Component,
|
|
@@ -78,4 +82,4 @@ const ɵWriteTextFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedF
|
|
|
78
82
|
templateUrl: './write-text-field.html'
|
|
79
83
|
}]
|
|
80
84
|
}], null, null); })();
|
|
81
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
85
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUtdGV4dC1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS90ZXh0L3dyaXRlLXRleHQtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvdGV4dC93cml0ZS10ZXh0LWZpZWxkLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUNsRCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFD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gKGJsdXIpPVwib25CbHVyKCRldmVudClcIj5cbjwvZGl2PlxuIl19
|
|
@@ -1,23 +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 "rpx-xui-translation";
|
|
4
5
|
export class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
5
6
|
}
|
|
6
7
|
ReadTextAreaFieldComponent.ɵfac = function ReadTextAreaFieldComponent_Factory(t) { return ɵReadTextAreaFieldComponent_BaseFactory(t || ReadTextAreaFieldComponent); };
|
|
7
|
-
ReadTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadTextAreaFieldComponent, selectors: [["ccd-read-text-area-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
8
|
+
ReadTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadTextAreaFieldComponent, selectors: [["ccd-read-text-area-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[2, "white-space", "pre-wrap"]], template: function ReadTextAreaFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8
9
|
i0.ɵɵelementStart(0, "span", 0);
|
|
9
10
|
i0.ɵɵtext(1);
|
|
11
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
10
12
|
i0.ɵɵelementEnd();
|
|
11
13
|
} if (rf & 2) {
|
|
12
14
|
i0.ɵɵadvance(1);
|
|
13
|
-
i0.ɵɵtextInterpolate(ctx.caseField.value);
|
|
14
|
-
} }, encapsulation: 2 });
|
|
15
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx.caseField.value));
|
|
16
|
+
} }, pipes: [i1.RpxTranslatePipe], encapsulation: 2 });
|
|
15
17
|
const ɵReadTextAreaFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadTextAreaFieldComponent);
|
|
16
18
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadTextAreaFieldComponent, [{
|
|
17
19
|
type: Component,
|
|
18
20
|
args: [{
|
|
19
21
|
selector: 'ccd-read-text-area-field',
|
|
20
|
-
template: `<span style="white-space: pre-wrap">{{caseField.value}}</span>`
|
|
22
|
+
template: `<span style="white-space: pre-wrap">{{caseField.value | rpxTranslate}}</span>`
|
|
21
23
|
}]
|
|
22
24
|
}], null, null); })();
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC10ZXh0LWFyZWEtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvdGV4dC1hcmVhL3JlYWQtdGV4dC1hcmVhLWZpZWxkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLDZDQUE2QyxDQUFDOzs7QUFNekYsTUFBTSxPQUFPLDBCQUEyQixTQUFRLDBCQUEwQjs7dUlBQTdELDBCQUEwQjsrREFBMUIsMEJBQTBCO1FBRjFCLCtCQUFvQztRQUFBLFlBQWtDOztRQUFBLGlCQUFPOztRQUF6QyxlQUFrQztRQUFsQywrREFBa0M7O3VGQUV0RSwwQkFBMEI7dUZBQTFCLDBCQUEwQjtjQUp0QyxTQUFTO2VBQUM7Z0JBQ1QsUUFBUSxFQUFFLDBCQUEwQjtnQkFDcEMsUUFBUSxFQUFFLCtFQUErRTthQUMxRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQWJzdHJhY3RGaWVsZFJlYWRDb21wb25lbnQgfSBmcm9tICcuLi9iYXNlLWZpZWxkL2Fic3RyYWN0LWZpZWxkLXJlYWQuY29tcG9uZW50JztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnY2NkLXJlYWQtdGV4dC1hcmVhLWZpZWxkJyxcbiAgdGVtcGxhdGU6IGA8c3BhbiBzdHlsZT1cIndoaXRlLXNwYWNlOiBwcmUtd3JhcFwiPnt7Y2FzZUZpZWxkLnZhbHVlIHwgcnB4VHJhbnNsYXRlfX08L3NwYW4+YFxufSlcbmV4cG9ydCBjbGFzcyBSZWFkVGV4dEFyZWFGaWVsZENvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0RmllbGRSZWFkQ29tcG9uZW50IHt9XG4iXX0=
|
|
@@ -6,36 +6,40 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
import * as i1 from "../../../services/browser/browser.service";
|
|
7
7
|
import * as i2 from "@angular/common";
|
|
8
8
|
import * as i3 from "@angular/forms";
|
|
9
|
-
import * as i4 from "
|
|
10
|
-
import * as i5 from "../utils/
|
|
9
|
+
import * as i4 from "rpx-xui-translation";
|
|
10
|
+
import * as i5 from "../utils/field-label.pipe";
|
|
11
|
+
import * as i6 from "../utils/first-error.pipe";
|
|
11
12
|
function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
12
13
|
i0.ɵɵelementStart(0, "span", 6);
|
|
13
14
|
i0.ɵɵtext(1);
|
|
14
|
-
i0.ɵɵpipe(2, "
|
|
15
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
16
|
+
i0.ɵɵpipe(3, "ccdFieldLabel");
|
|
15
17
|
i0.ɵɵelementEnd();
|
|
16
18
|
} if (rf & 2) {
|
|
17
19
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
18
20
|
i0.ɵɵadvance(1);
|
|
19
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
|
|
21
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind1(3, 3, ctx_r0.caseField)));
|
|
20
22
|
} }
|
|
21
23
|
function WriteTextAreaFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
22
24
|
i0.ɵɵelementStart(0, "span", 7);
|
|
23
25
|
i0.ɵɵtext(1);
|
|
26
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
24
27
|
i0.ɵɵelementEnd();
|
|
25
28
|
} if (rf & 2) {
|
|
26
29
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
27
30
|
i0.ɵɵadvance(1);
|
|
28
|
-
i0.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
|
|
31
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r1.caseField.hint_text));
|
|
29
32
|
} }
|
|
30
33
|
function WriteTextAreaFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
31
34
|
i0.ɵɵelementStart(0, "span", 8);
|
|
32
35
|
i0.ɵɵtext(1);
|
|
33
|
-
i0.ɵɵpipe(2, "
|
|
36
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
37
|
+
i0.ɵɵpipe(3, "ccdFirstError");
|
|
34
38
|
i0.ɵɵelementEnd();
|
|
35
39
|
} if (rf & 2) {
|
|
36
40
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
37
41
|
i0.ɵɵadvance(1);
|
|
38
|
-
i0.ɵɵ
|
|
42
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.textareaControl.errors, ctx_r2.caseField.label)), " ");
|
|
39
43
|
} }
|
|
40
44
|
const _c0 = function (a0) { return { "form-group-error": a0 }; };
|
|
41
45
|
const _c1 = function (a0) { return { "govuk-textarea--error": a0 }; };
|
|
@@ -59,10 +63,10 @@ WriteTextAreaFieldComponent.ɵfac = function WriteTextAreaFieldComponent_Factory
|
|
|
59
63
|
WriteTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextAreaFieldComponent, selectors: [["ccd-write-text-area-field"]], features: [i0.ɵɵProvidersFeature([BrowserService]), i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 12, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["rows", "3", 1, "form-control", "bottom-30", 3, "ngClass", "id", "formControl", "input"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteTextAreaFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
60
64
|
i0.ɵɵelementStart(0, "div", 0);
|
|
61
65
|
i0.ɵɵelementStart(1, "label", 1);
|
|
62
|
-
i0.ɵɵtemplate(2, WriteTextAreaFieldComponent_span_2_Template,
|
|
66
|
+
i0.ɵɵtemplate(2, WriteTextAreaFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
63
67
|
i0.ɵɵelementEnd();
|
|
64
|
-
i0.ɵɵtemplate(3, WriteTextAreaFieldComponent_span_3_Template,
|
|
65
|
-
i0.ɵɵtemplate(4, WriteTextAreaFieldComponent_span_4_Template,
|
|
68
|
+
i0.ɵɵtemplate(3, WriteTextAreaFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
69
|
+
i0.ɵɵtemplate(4, WriteTextAreaFieldComponent_span_4_Template, 4, 6, "span", 4);
|
|
66
70
|
i0.ɵɵelementStart(5, "textarea", 5);
|
|
67
71
|
i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
|
|
68
72
|
i0.ɵɵelementEnd();
|
|
@@ -79,7 +83,7 @@ WriteTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextArea
|
|
|
79
83
|
i0.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
|
|
80
84
|
i0.ɵɵadvance(1);
|
|
81
85
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
|
|
82
|
-
} }, directives: [i2.NgClass, i2.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective], pipes: [i4.
|
|
86
|
+
} }, directives: [i2.NgClass, i2.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective], pipes: [i4.RpxTranslatePipe, i5.FieldLabelPipe, i6.FirstErrorPipe], encapsulation: 2 });
|
|
83
87
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextAreaFieldComponent, [{
|
|
84
88
|
type: Component,
|
|
85
89
|
args: [{
|
|
@@ -88,4 +92,4 @@ WriteTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextArea
|
|
|
88
92
|
providers: [BrowserService]
|
|
89
93
|
}]
|
|
90
94
|
}], function () { return [{ type: i1.BrowserService }]; }, null); })();
|
|
91
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
95
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUtdGV4dC1hcmVhLWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL3RleHQtYXJlYS93cml0ZS10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wiYXV0b0dyb3coJGV2ZW50KVwiIGNsYXNzPVwiZm9ybS1jb250cm9sIGJvdHRvbS0zMFwiIFtuZ0NsYXNzXT1cInsnZ292dWstdGV4dGFyZWEtLWVycm9yJzogdGV4dGFyZWFDb250cm9sLmVycm9ycyAmJiAodGV4dGFyZWFDb250cm9sLmRpcnR5IHx8IHRleHRhcmVhQ29udHJvbC50b3VjaGVkKX1cIlxuICAgW2lkXT1cImlkKClcIiByb3dzPVwiM1wiIFtmb3JtQ29udHJvbF09XCJ0ZXh0YXJlYUNvbnRyb2xcIj48L3RleHRhcmVhPlxuPC9kaXY+XG4iXX0=
|
|
@@ -3,6 +3,7 @@ import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.co
|
|
|
3
3
|
import { YesNoService } from './yes-no.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "./yes-no.service";
|
|
6
|
+
import * as i2 from "rpx-xui-translation";
|
|
6
7
|
export class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
|
|
7
8
|
constructor(yesNoService) {
|
|
8
9
|
super();
|
|
@@ -14,19 +15,20 @@ export class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
ReadYesNoFieldComponent.ɵfac = function ReadYesNoFieldComponent_Factory(t) { return new (t || ReadYesNoFieldComponent)(i0.ɵɵdirectiveInject(i1.YesNoService)); };
|
|
17
|
-
ReadYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadYesNoFieldComponent, selectors: [["ccd-read-yes-no-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
18
|
+
ReadYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadYesNoFieldComponent, selectors: [["ccd-read-yes-no-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[1, "text-16"]], template: function ReadYesNoFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18
19
|
i0.ɵɵelementStart(0, "span", 0);
|
|
19
20
|
i0.ɵɵtext(1);
|
|
21
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
20
22
|
i0.ɵɵelementEnd();
|
|
21
23
|
} if (rf & 2) {
|
|
22
24
|
i0.ɵɵadvance(1);
|
|
23
|
-
i0.ɵɵtextInterpolate(ctx.formattedValue);
|
|
24
|
-
} }, encapsulation: 2 });
|
|
25
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx.formattedValue));
|
|
26
|
+
} }, pipes: [i2.RpxTranslatePipe], encapsulation: 2 });
|
|
25
27
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadYesNoFieldComponent, [{
|
|
26
28
|
type: Component,
|
|
27
29
|
args: [{
|
|
28
30
|
selector: 'ccd-read-yes-no-field',
|
|
29
|
-
template: `<span class="text-16">{{formattedValue}}</span>`
|
|
31
|
+
template: `<span class="text-16">{{formattedValue | rpxTranslate}}</span>`
|
|
30
32
|
}]
|
|
31
33
|
}], function () { return [{ type: i1.YesNoService }]; }, null); })();
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC15ZXMtbm8tZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUveWVzLW5vL3JlYWQteWVzLW5vLWZpZWxkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ2xELE9BQU8sRUFBRSwwQkFBMEIsRUFBRS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QtMTZcIj57e2Zvcm1hdHRlZFZhbHVlIHwgcnB4VHJhbnNsYXRlfX08L3NwYW4+YFxufSlcbmV4cG9ydCBjbGFzcyBSZWFkWWVzTm9GaWVsZENvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0RmllbGRSZWFkQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcblxuICBwdWJsaWMgZm9ybWF0dGVkVmFsdWU6IHN0cmluZztcblxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHJlYWRvbmx5IHllc05vU2VydmljZTogWWVzTm9TZXJ2aWNlKSB7XG4gICAgc3VwZXIoKTtcbiAgfVxuXG4gIHB1YmxpYyBuZ09uSW5pdCgpIHtcbiAgICBzdXBlci5uZ09uSW5pdCgpO1xuICAgIHRoaXMuZm9ybWF0dGVkVmFsdWUgPSB0aGlzLnllc05vU2VydmljZS5mb3JtYXQodGhpcy5jYXNlRmllbGQudmFsdWUpO1xuICB9XG5cbn1cbiJdfQ==
|
|
@@ -6,36 +6,40 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
import * as i1 from "./yes-no.service";
|
|
7
7
|
import * as i2 from "@angular/common";
|
|
8
8
|
import * as i3 from "@angular/forms";
|
|
9
|
-
import * as i4 from "
|
|
10
|
-
import * as i5 from "../utils/
|
|
9
|
+
import * as i4 from "rpx-xui-translation";
|
|
10
|
+
import * as i5 from "../utils/field-label.pipe";
|
|
11
|
+
import * as i6 from "../utils/first-error.pipe";
|
|
11
12
|
function WriteYesNoFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
12
13
|
i0.ɵɵelementStart(0, "span", 7);
|
|
13
14
|
i0.ɵɵtext(1);
|
|
14
|
-
i0.ɵɵpipe(2, "
|
|
15
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
16
|
+
i0.ɵɵpipe(3, "ccdFieldLabel");
|
|
15
17
|
i0.ɵɵelementEnd();
|
|
16
18
|
} if (rf & 2) {
|
|
17
19
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
18
20
|
i0.ɵɵadvance(1);
|
|
19
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
|
|
21
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind1(3, 3, ctx_r0.caseField)));
|
|
20
22
|
} }
|
|
21
23
|
function WriteYesNoFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
22
24
|
i0.ɵɵelementStart(0, "span", 8);
|
|
23
25
|
i0.ɵɵtext(1);
|
|
26
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
24
27
|
i0.ɵɵelementEnd();
|
|
25
28
|
} if (rf & 2) {
|
|
26
29
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
27
30
|
i0.ɵɵadvance(1);
|
|
28
|
-
i0.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
|
|
31
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r1.caseField.hint_text));
|
|
29
32
|
} }
|
|
30
33
|
function WriteYesNoFieldComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
31
34
|
i0.ɵɵelementStart(0, "span", 9);
|
|
32
35
|
i0.ɵɵtext(1);
|
|
33
|
-
i0.ɵɵpipe(2, "
|
|
36
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
37
|
+
i0.ɵɵpipe(3, "ccdFirstError");
|
|
34
38
|
i0.ɵɵelementEnd();
|
|
35
39
|
} if (rf & 2) {
|
|
36
40
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
37
41
|
i0.ɵɵadvance(1);
|
|
38
|
-
i0.ɵɵ
|
|
42
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label)), " ");
|
|
39
43
|
} }
|
|
40
44
|
const _c0 = function (a0) { return { selected: a0 }; };
|
|
41
45
|
function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -43,19 +47,20 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
43
47
|
i0.ɵɵelement(1, "input", 11);
|
|
44
48
|
i0.ɵɵelementStart(2, "label", 12);
|
|
45
49
|
i0.ɵɵtext(3);
|
|
50
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
46
51
|
i0.ɵɵelementEnd();
|
|
47
52
|
i0.ɵɵelementEnd();
|
|
48
53
|
} if (rf & 2) {
|
|
49
54
|
const value_r4 = ctx.$implicit;
|
|
50
55
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
51
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
56
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0, ctx_r3.yesNoControl.value === value_r4));
|
|
52
57
|
i0.ɵɵadvance(1);
|
|
53
58
|
i0.ɵɵproperty("id", ctx_r3.createElementId(value_r4))("name", ctx_r3.id())("formControl", ctx_r3.yesNoControl)("value", value_r4);
|
|
54
59
|
i0.ɵɵattribute("name", ctx_r3.id());
|
|
55
60
|
i0.ɵɵadvance(1);
|
|
56
61
|
i0.ɵɵproperty("for", ctx_r3.createElementId(value_r4));
|
|
57
62
|
i0.ɵɵadvance(1);
|
|
58
|
-
i0.ɵɵtextInterpolate(value_r4);
|
|
63
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 8, value_r4));
|
|
59
64
|
} }
|
|
60
65
|
const _c1 = function (a0) { return { "form-group-error": a0 }; };
|
|
61
66
|
export class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
@@ -73,12 +78,12 @@ WriteYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteYesNoFieldC
|
|
|
73
78
|
i0.ɵɵelementStart(0, "div", 0);
|
|
74
79
|
i0.ɵɵelementStart(1, "fieldset", 1);
|
|
75
80
|
i0.ɵɵelementStart(2, "legend");
|
|
76
|
-
i0.ɵɵtemplate(3, WriteYesNoFieldComponent_span_3_Template,
|
|
81
|
+
i0.ɵɵtemplate(3, WriteYesNoFieldComponent_span_3_Template, 4, 5, "span", 2);
|
|
77
82
|
i0.ɵɵelementEnd();
|
|
78
|
-
i0.ɵɵtemplate(4, WriteYesNoFieldComponent_span_4_Template,
|
|
79
|
-
i0.ɵɵtemplate(5, WriteYesNoFieldComponent_span_5_Template,
|
|
83
|
+
i0.ɵɵtemplate(4, WriteYesNoFieldComponent_span_4_Template, 3, 3, "span", 3);
|
|
84
|
+
i0.ɵɵtemplate(5, WriteYesNoFieldComponent_span_5_Template, 4, 6, "span", 4);
|
|
80
85
|
i0.ɵɵelementStart(6, "div", 5);
|
|
81
|
-
i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template,
|
|
86
|
+
i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 12, "div", 6);
|
|
82
87
|
i0.ɵɵelementEnd();
|
|
83
88
|
i0.ɵɵelementEnd();
|
|
84
89
|
i0.ɵɵelementEnd();
|
|
@@ -94,7 +99,7 @@ WriteYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteYesNoFieldC
|
|
|
94
99
|
i0.ɵɵproperty("id", ctx.createElementId("radio"));
|
|
95
100
|
i0.ɵɵadvance(1);
|
|
96
101
|
i0.ɵɵproperty("ngForOf", ctx.yesNoValues);
|
|
97
|
-
} }, directives: [i2.NgClass, i2.NgIf, i2.NgForOf, i3.RadioControlValueAccessor, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective], pipes: [i4.
|
|
102
|
+
} }, directives: [i2.NgClass, i2.NgIf, i2.NgForOf, i3.RadioControlValueAccessor, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective], pipes: [i4.RpxTranslatePipe, i5.FieldLabelPipe, i6.FirstErrorPipe], encapsulation: 2 });
|
|
98
103
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteYesNoFieldComponent, [{
|
|
99
104
|
type: Component,
|
|
100
105
|
args: [{
|
|
@@ -102,4 +107,4 @@ WriteYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteYesNoFieldC
|
|
|
102
107
|
templateUrl: './write-yes-no-field.html'
|
|
103
108
|
}]
|
|
104
109
|
}], function () { return [{ type: i1.YesNoService }]; }, null); })();
|
|
105
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
110
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUteWVzLW5vLWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL3llcy1uby93cml0ZS15ZXMtbm8tZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUveWVzLW5vL3dyaXRlLXllcy1uby1maWVsZC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDbEQsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLDhDQUE4QyxDQUFDO0FBQzNGLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQzs7Ozs7Ozs7O0lDQTFDLCtCQUFpRDtJQUFBLFlBQTRD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