@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
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { FormArray, FormControl } from '@angular/forms';
|
|
3
|
+
import { AbstractFieldWriteComponent } from '../base-field/abstract-field-write.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "../utils/field-label.pipe";
|
|
7
|
+
import * as i3 from "../utils/first-error.pipe";
|
|
8
|
+
function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
9
|
+
i0.ɵɵelementStart(0, "span", 5);
|
|
10
|
+
i0.ɵɵtext(1);
|
|
11
|
+
i0.ɵɵpipe(2, "ccdFieldLabel");
|
|
12
|
+
i0.ɵɵelementEnd();
|
|
13
|
+
} if (rf & 2) {
|
|
14
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
15
|
+
i0.ɵɵadvance(1);
|
|
16
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
|
|
17
|
+
} }
|
|
18
|
+
function WriteDynamicMultiSelectListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
i0.ɵɵelementStart(0, "span", 6);
|
|
20
|
+
i0.ɵɵtext(1);
|
|
21
|
+
i0.ɵɵelementEnd();
|
|
22
|
+
} if (rf & 2) {
|
|
23
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
24
|
+
i0.ɵɵadvance(1);
|
|
25
|
+
i0.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
|
|
26
|
+
} }
|
|
27
|
+
function WriteDynamicMultiSelectListFieldComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
+
i0.ɵɵelementStart(0, "span", 7);
|
|
29
|
+
i0.ɵɵtext(1);
|
|
30
|
+
i0.ɵɵpipe(2, "ccdFirstError");
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
} if (rf & 2) {
|
|
33
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
34
|
+
i0.ɵɵadvance(1);
|
|
35
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r2.checkboxes.errors));
|
|
36
|
+
} }
|
|
37
|
+
function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
39
|
+
i0.ɵɵelementContainerStart(0);
|
|
40
|
+
i0.ɵɵelementStart(1, "div", 8);
|
|
41
|
+
i0.ɵɵelementStart(2, "input", 9);
|
|
42
|
+
i0.ɵɵlistener("change", function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template_input_change_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.onCheckChange($event); });
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
i0.ɵɵelementStart(3, "label", 10);
|
|
45
|
+
i0.ɵɵtext(4);
|
|
46
|
+
i0.ɵɵelementEnd();
|
|
47
|
+
i0.ɵɵelementEnd();
|
|
48
|
+
i0.ɵɵelementContainerEnd();
|
|
49
|
+
} if (rf & 2) {
|
|
50
|
+
const checkbox_r4 = ctx.$implicit;
|
|
51
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
52
|
+
i0.ɵɵadvance(2);
|
|
53
|
+
i0.ɵɵpropertyInterpolate("id", ctx_r3.createElementId(checkbox_r4.code));
|
|
54
|
+
i0.ɵɵpropertyInterpolate("name", ctx_r3.id());
|
|
55
|
+
i0.ɵɵproperty("value", checkbox_r4.code)("checked", ctx_r3.isSelected(checkbox_r4.code));
|
|
56
|
+
i0.ɵɵadvance(1);
|
|
57
|
+
i0.ɵɵpropertyInterpolate("for", ctx_r3.createElementId(checkbox_r4.code));
|
|
58
|
+
i0.ɵɵadvance(1);
|
|
59
|
+
i0.ɵɵtextInterpolate(checkbox_r4.label);
|
|
60
|
+
} }
|
|
61
|
+
const _c0 = function (a0) { return { "error": a0 }; };
|
|
62
|
+
export class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
63
|
+
ngOnInit() {
|
|
64
|
+
this.checkboxes = new FormArray([]);
|
|
65
|
+
this.setInitialCaseList();
|
|
66
|
+
this.setInitialCaseFieldValue();
|
|
67
|
+
// Initialise array with existing values
|
|
68
|
+
if (this.caseField.value && Array.isArray(this.caseField.value)) {
|
|
69
|
+
const values = this.caseField.value;
|
|
70
|
+
values.forEach(value => {
|
|
71
|
+
this.checkboxes.push(new FormControl(value));
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
this.dynamicListFormControl = this.registerControl(new FormControl(this.checkboxes.value));
|
|
75
|
+
this.dynamicListFormControl.setValue(this.checkboxes.value);
|
|
76
|
+
}
|
|
77
|
+
onCheckChange(event) {
|
|
78
|
+
const target = event.target;
|
|
79
|
+
if (!target || !target.value) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
const selectedListItem = this.getValueListItem(target.value);
|
|
83
|
+
if (!this.isSelected(target.value)) {
|
|
84
|
+
// Add a new control in the FormArray
|
|
85
|
+
this.checkboxes.push(new FormControl(selectedListItem));
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
// Remove the control from the FormArray
|
|
89
|
+
this.checkboxes.controls.forEach((ctrl, i) => {
|
|
90
|
+
if (ctrl.value.code === target.value) {
|
|
91
|
+
this.checkboxes.removeAt(i);
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
this.dynamicListFormControl.setValue(this.checkboxes.value);
|
|
96
|
+
}
|
|
97
|
+
isSelected(code) {
|
|
98
|
+
if (this.checkboxes && this.checkboxes.controls) {
|
|
99
|
+
return this.checkboxes.controls.find(control => control.value.code === code);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
getValueListItem(value) {
|
|
103
|
+
return this.caseField.list_items.find(i => i.code === value);
|
|
104
|
+
}
|
|
105
|
+
setInitialCaseList() {
|
|
106
|
+
const hasListItems = this.caseField.list_items && this.caseField.list_items.length > 0;
|
|
107
|
+
const hasFormattedListItems = this.caseField.formatted_value && this.caseField.formatted_value.list_items.length > 0;
|
|
108
|
+
if (!hasListItems && hasFormattedListItems) {
|
|
109
|
+
this.caseField.list_items = this.caseField.formatted_value.list_items;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
setInitialCaseFieldValue() {
|
|
113
|
+
if (!this.caseField.value && this.caseField.formatted_value && this.caseField.formatted_value.value) {
|
|
114
|
+
this.caseField.value = this.caseField.formatted_value.value;
|
|
115
|
+
}
|
|
116
|
+
const isNull = this.caseField.value === undefined || this.caseField.value === '';
|
|
117
|
+
if (isNull || !Array.isArray(this.caseField.value)) {
|
|
118
|
+
this.caseField.value = [];
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
WriteDynamicMultiSelectListFieldComponent.ɵfac = function WriteDynamicMultiSelectListFieldComponent_Factory(t) { return ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory(t || WriteDynamicMultiSelectListFieldComponent); };
|
|
123
|
+
WriteDynamicMultiSelectListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynamicMultiSelectListFieldComponent, selectors: [["ccd-write-dynamic-multi-select-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 7, vars: 8, consts: [[1, "form-group", "bottom-30", 3, "ngClass", "id"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "multiple-choice"], ["type", "checkbox", 1, "form-control", 3, "id", "name", "value", "checked", "change"], [1, "form-label", 3, "for"]], template: function WriteDynamicMultiSelectListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
124
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
125
|
+
i0.ɵɵelementStart(1, "fieldset");
|
|
126
|
+
i0.ɵɵelementStart(2, "legend");
|
|
127
|
+
i0.ɵɵtemplate(3, WriteDynamicMultiSelectListFieldComponent_span_3_Template, 3, 3, "span", 1);
|
|
128
|
+
i0.ɵɵtemplate(4, WriteDynamicMultiSelectListFieldComponent_span_4_Template, 2, 1, "span", 2);
|
|
129
|
+
i0.ɵɵtemplate(5, WriteDynamicMultiSelectListFieldComponent_span_5_Template, 3, 3, "span", 3);
|
|
130
|
+
i0.ɵɵelementEnd();
|
|
131
|
+
i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 5, 6, "ng-container", 4);
|
|
132
|
+
i0.ɵɵelementEnd();
|
|
133
|
+
i0.ɵɵelementEnd();
|
|
134
|
+
} if (rf & 2) {
|
|
135
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
136
|
+
i0.ɵɵadvance(3);
|
|
137
|
+
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
138
|
+
i0.ɵɵadvance(1);
|
|
139
|
+
i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
|
|
140
|
+
i0.ɵɵadvance(1);
|
|
141
|
+
i0.ɵɵproperty("ngIf", ctx.checkboxes.errors && ctx.checkboxes.touched);
|
|
142
|
+
i0.ɵɵadvance(1);
|
|
143
|
+
i0.ɵɵproperty("ngForOf", ctx.caseField.list_items);
|
|
144
|
+
} }, directives: [i1.NgClass, i1.NgIf, i1.NgForOf], pipes: [i2.FieldLabelPipe, i3.FirstErrorPipe], encapsulation: 2 });
|
|
145
|
+
const ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteDynamicMultiSelectListFieldComponent);
|
|
146
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDynamicMultiSelectListFieldComponent, [{
|
|
147
|
+
type: Component,
|
|
148
|
+
args: [{
|
|
149
|
+
selector: 'ccd-write-dynamic-multi-select-list-field',
|
|
150
|
+
templateUrl: './write-dynamic-multi-select-list-field.html'
|
|
151
|
+
}]
|
|
152
|
+
}], null, null); })();
|
|
153
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUtZHluYW1pYy1tdWx0aS1zZWxlY3QtbGlzdC1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS9keW5hbWljLW11bHRpLXNlbGVjdC1saXN0L3dyaXRlLWR5bmFtaWMtbXVsdGktc2VsZWN0LWxpc3QtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvZHluYW1pYy1tdWx0aS1zZWxlY3QtbGlzdC93cml0ZS1keW5hbWljLW11bHRpLXNlbGVjdC1saXN0LWZpZWxkLmh0bW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lPVwie3sgaWQoKSB9fVwiIHR5cGU9XCJjaGVja2JveFwiXG4gICAgICAgICAgW3ZhbHVlXT1cImNoZWNrYm94LmNvZGVcIiBbY2hlY2tlZF09XCJpc1NlbGVjdGVkKGNoZWNrYm94LmNvZGUpXCIgKGNoYW5nZSk9XCJvbkNoZWNrQ2hhbmdlKCRldmVudClcIj5cbiAgICAgICAgPGxhYmVsIGNsYXNzPVwiZm9ybS1sYWJlbFwiIGZvcj1cInt7IGNyZWF0ZUVsZW1lbnRJZChjaGVja2JveC5jb2RlKSB9fVwiPnt7Y2hlY2tib3gubGFiZWx9fTwvbGFiZWw+XG4gICAgICA8L2Rpdj5cblxuICAgIDwvbmctY29udGFpbmVyPlxuXG4gIDwvZmllbGRzZXQ+XG5cbjwvZGl2PlxuIl19
|
|
@@ -1,7 +1,8 @@
|
|
|
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 "
|
|
4
|
+
import * as i1 from "rpx-xui-translation";
|
|
5
|
+
import * as i2 from "./dynamic-radio-list.pipe";
|
|
5
6
|
export class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
6
7
|
ngOnInit() {
|
|
7
8
|
/**
|
|
@@ -21,21 +22,22 @@ export class ReadDynamicRadioListFieldComponent extends AbstractFieldReadCompone
|
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
ReadDynamicRadioListFieldComponent.ɵfac = function ReadDynamicRadioListFieldComponent_Factory(t) { return ɵReadDynamicRadioListFieldComponent_BaseFactory(t || ReadDynamicRadioListFieldComponent); };
|
|
24
|
-
ReadDynamicRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadDynamicRadioListFieldComponent, selectors: [["ccd-read-dynamic-radio-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
25
|
+
ReadDynamicRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadDynamicRadioListFieldComponent, selectors: [["ccd-read-dynamic-radio-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadDynamicRadioListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
25
26
|
i0.ɵɵelementStart(0, "span", 0);
|
|
26
27
|
i0.ɵɵtext(1);
|
|
27
|
-
i0.ɵɵpipe(2, "
|
|
28
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
29
|
+
i0.ɵɵpipe(3, "ccdDynamicRadioList");
|
|
28
30
|
i0.ɵɵelementEnd();
|
|
29
31
|
} if (rf & 2) {
|
|
30
32
|
i0.ɵɵadvance(1);
|
|
31
|
-
i0.ɵɵtextInterpolate(i0.ɵɵ
|
|
32
|
-
} }, pipes: [i1.DynamicRadioListPipe], encapsulation: 2 });
|
|
33
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx.caseField.value, ctx.caseField.list_items)));
|
|
34
|
+
} }, pipes: [i1.RpxTranslatePipe, i2.DynamicRadioListPipe], encapsulation: 2 });
|
|
33
35
|
const ɵReadDynamicRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadDynamicRadioListFieldComponent);
|
|
34
36
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadDynamicRadioListFieldComponent, [{
|
|
35
37
|
type: Component,
|
|
36
38
|
args: [{
|
|
37
39
|
selector: 'ccd-read-dynamic-radio-list-field',
|
|
38
|
-
template: '<span class="text-16">{{caseField.value | ccdDynamicRadioList:caseField.list_items}}</span>',
|
|
40
|
+
template: '<span class="text-16">{{caseField.value | ccdDynamicRadioList:caseField.list_items | rpxTranslate}}</span>',
|
|
39
41
|
}]
|
|
40
42
|
}], null, null); })();
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
|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9saXN0IHdoZW4gbGlzdF9pdGVtcyBpcyBlbXB0eVxuICAgICAqL1xuICAgIGlmICghdGhpcy5jYXNlRmllbGQubGlzdF9pdGVtcyAmJiB0aGlzLmNhc2VGaWVsZC5mb3JtYXR0ZWRfdmFsdWUgJiYgdGhpcy5jYXNlRmllbGQuZm9ybWF0dGVkX3ZhbHVlLmxpc3RfaXRlbXMpIHtcbiAgICAgIHRoaXMuY2FzZUZpZWxkLmxpc3RfaXRlbXMgPSB0aGlzLmNhc2VGaWVsZC5mb3JtYXR0ZWRfdmFsdWUubGlzdF9pdGVtcztcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKlxuICAgICAqIFNlZW1zIGZvcm1hdHRlZF92YWx1ZSBjYW4gYWxzbyBiZSBlbXB0eSBmb3IgRHluYW1pY1JhZGlvTGlzdCdzLiBSZWFzc2lnbmluZyBsaXN0X2l0ZW1zIGZyb20gdmFsdWUubGlzdF9pdGVtcyBpbiB0aGF0IGNhc2VcbiAgICAgKi9cbiAgICBpZiAoIXRoaXMuY2FzZUZpZWxkLmxpc3RfaXRlbXMgJiYgdGhpcy5jYXNlRmllbGQudmFsdWUgJiYgdGhpcy5jYXNlRmllbGQudmFsdWUubGlzdF9pdGVtcykge1xuICAgICAgdGhpcy5jYXNlRmllbGQubGlzdF9pdGVtcyA9IHRoaXMuY2FzZUZpZWxkLnZhbHVlLmxpc3RfaXRlbXM7XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -4,41 +4,49 @@ 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 WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
10
11
|
i0.ɵɵelementStart(0, "span", 7);
|
|
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 WriteDynamicRadioListFieldComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
20
22
|
i0.ɵɵelementStart(0, "span", 8);
|
|
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 WriteDynamicRadioListFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
29
32
|
i0.ɵɵelementStart(0, "span", 7);
|
|
30
|
-
i0.ɵɵtext(1
|
|
33
|
+
i0.ɵɵtext(1);
|
|
34
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
31
35
|
i0.ɵɵelementEnd();
|
|
36
|
+
} if (rf & 2) {
|
|
37
|
+
i0.ɵɵadvance(1);
|
|
38
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Select an option below"));
|
|
32
39
|
} }
|
|
33
40
|
function WriteDynamicRadioListFieldComponent_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
34
41
|
i0.ɵɵelementStart(0, "span", 9);
|
|
35
42
|
i0.ɵɵtext(1);
|
|
36
|
-
i0.ɵɵpipe(2, "
|
|
43
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
44
|
+
i0.ɵɵpipe(3, "ccdFirstError");
|
|
37
45
|
i0.ɵɵelementEnd();
|
|
38
46
|
} if (rf & 2) {
|
|
39
47
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
40
48
|
i0.ɵɵadvance(1);
|
|
41
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r3.dynamicRadioListControl.errors));
|
|
49
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind1(3, 3, ctx_r3.dynamicRadioListControl.errors)));
|
|
42
50
|
} }
|
|
43
51
|
const _c0 = function (a0) { return { selected: a0 }; };
|
|
44
52
|
function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -46,19 +54,19 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
|
|
|
46
54
|
i0.ɵɵelement(1, "input", 11);
|
|
47
55
|
i0.ɵɵelementStart(2, "label", 12);
|
|
48
56
|
i0.ɵɵtext(3);
|
|
57
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
49
58
|
i0.ɵɵelementEnd();
|
|
50
59
|
i0.ɵɵelementEnd();
|
|
51
60
|
} if (rf & 2) {
|
|
52
61
|
const radioButton_r5 = ctx.$implicit;
|
|
53
62
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
54
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
63
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
|
|
55
64
|
i0.ɵɵadvance(1);
|
|
56
|
-
i0.ɵɵ
|
|
57
|
-
i0.ɵɵproperty("id", ctx_r4.buildElementId(radioButton_r5.code))("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
|
|
65
|
+
i0.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.createElementId(radioButton_r5.code))("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
|
|
58
66
|
i0.ɵɵadvance(1);
|
|
59
|
-
i0.ɵɵproperty("for", ctx_r4.
|
|
67
|
+
i0.ɵɵproperty("for", ctx_r4.createElementId(radioButton_r5.code));
|
|
60
68
|
i0.ɵɵadvance(1);
|
|
61
|
-
i0.ɵɵtextInterpolate(radioButton_r5.label);
|
|
69
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 7, radioButton_r5.label));
|
|
62
70
|
} }
|
|
63
71
|
const _c1 = function (a0) { return { "form-group-error": a0 }; };
|
|
64
72
|
export class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
@@ -80,8 +88,8 @@ export class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteCompo
|
|
|
80
88
|
this.dynamicRadioListControl = this.registerControl(new FormControl(this.caseField.value));
|
|
81
89
|
this.dynamicRadioListControl.setValue(this.caseField.value);
|
|
82
90
|
}
|
|
83
|
-
|
|
84
|
-
return
|
|
91
|
+
createElementId(name) {
|
|
92
|
+
return this.parent && this.parent.value ? this.parent.value.id + this.parent.value.value : super.createElementId(name);
|
|
85
93
|
}
|
|
86
94
|
}
|
|
87
95
|
WriteDynamicRadioListFieldComponent.ɵfac = function WriteDynamicRadioListFieldComponent_Factory(t) { return ɵWriteDynamicRadioListFieldComponent_BaseFactory(t || WriteDynamicRadioListFieldComponent); };
|
|
@@ -90,13 +98,13 @@ WriteDynamicRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Write
|
|
|
90
98
|
i0.ɵɵelementStart(1, "fieldset");
|
|
91
99
|
i0.ɵɵelement(2, "legend", 1);
|
|
92
100
|
i0.ɵɵelementStart(3, "label", 2);
|
|
93
|
-
i0.ɵɵtemplate(4, WriteDynamicRadioListFieldComponent_span_4_Template,
|
|
94
|
-
i0.ɵɵtemplate(5, WriteDynamicRadioListFieldComponent_span_5_Template,
|
|
95
|
-
i0.ɵɵtemplate(6, WriteDynamicRadioListFieldComponent_span_6_Template,
|
|
96
|
-
i0.ɵɵtemplate(7, WriteDynamicRadioListFieldComponent_span_7_Template,
|
|
101
|
+
i0.ɵɵtemplate(4, WriteDynamicRadioListFieldComponent_span_4_Template, 4, 5, "span", 3);
|
|
102
|
+
i0.ɵɵtemplate(5, WriteDynamicRadioListFieldComponent_span_5_Template, 3, 3, "span", 4);
|
|
103
|
+
i0.ɵɵtemplate(6, WriteDynamicRadioListFieldComponent_span_6_Template, 3, 3, "span", 3);
|
|
104
|
+
i0.ɵɵtemplate(7, WriteDynamicRadioListFieldComponent_span_7_Template, 4, 5, "span", 5);
|
|
97
105
|
i0.ɵɵelementEnd();
|
|
98
106
|
i0.ɵɵelementContainerStart(8);
|
|
99
|
-
i0.ɵɵtemplate(9, WriteDynamicRadioListFieldComponent_div_9_Template,
|
|
107
|
+
i0.ɵɵtemplate(9, WriteDynamicRadioListFieldComponent_div_9_Template, 5, 11, "div", 6);
|
|
100
108
|
i0.ɵɵelementContainerEnd();
|
|
101
109
|
i0.ɵɵelementEnd();
|
|
102
110
|
i0.ɵɵelementEnd();
|
|
@@ -114,7 +122,7 @@ WriteDynamicRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Write
|
|
|
114
122
|
i0.ɵɵproperty("ngIf", ctx.dynamicRadioListControl.errors && ctx.dynamicRadioListControl.dirty);
|
|
115
123
|
i0.ɵɵadvance(2);
|
|
116
124
|
i0.ɵɵproperty("ngForOf", ctx.caseField.list_items);
|
|
117
|
-
} }, directives: [i1.NgClass, i1.NgIf, i1.NgForOf, i2.RadioControlValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [i3.
|
|
125
|
+
} }, directives: [i1.NgClass, i1.NgIf, i1.NgForOf, i2.RadioControlValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [i3.RpxTranslatePipe, i4.FieldLabelPipe, i5.FirstErrorPipe], encapsulation: 2 });
|
|
118
126
|
const ɵWriteDynamicRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteDynamicRadioListFieldComponent);
|
|
119
127
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDynamicRadioListFieldComponent, [{
|
|
120
128
|
type: Component,
|
|
@@ -123,4 +131,4 @@ const ɵWriteDynamicRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵg
|
|
|
123
131
|
templateUrl: './write-dynamic-radio-list-field.html'
|
|
124
132
|
}]
|
|
125
133
|
}], null, null); })();
|
|
126
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
134
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUtZHluYW1pYy1yYWRpby1saXN0LWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2R5bmFtaWMtcmFkaW8tbGlzdC93cml0ZS1keW5hbWljLXJhZGlvLWxpc3QtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2Utd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24gb2YgY2FzZUZpZWxkLmxpc3RfaXRlbXNcIiBbbmdDbGFzc109XCJ7c2VsZWN0ZWQ6IGR5bmFtaWNSYWRpb0xpc3RDb250cm9sLnZhbHVlID09PSByYWRpb0J1dHRvbi5jb2RlfVwiPlxuICAgICAgICA8aW5wdXQgY2xhc3M9XCJmb3JtLWNvbnRyb2xcIiBbaWRdPVwiY3JlYXRlRWxlbWVudElkKHJhZGlvQnV0dG9uLmNvZGUpXCIgW25hbWVdPVwiY3JlYXRlRWxlbWVudElkKHJhZGlvQnV0dG9uLmNvZGUpXCIgdHlwZT1cInJhZGlvXCIgW2Zvcm1Db250cm9sXT1cImR5bmFtaWNSYWRpb0xpc3RDb250cm9sXCIgW3ZhbHVlXT1cInJhZGlvQnV0dG9uLmNvZGVcIj5cbiAgICAgICAgPGxhYmVsIGNsYXNzPVwiZm9ybS1sYWJlbFwiIFtmb3JdPVwiY3JlYXRlRWxlbWVudElkKHJhZGlvQnV0dG9uLmNvZGUpXCI+e3tyYWRpb0J1dHRvbi5sYWJlbCB8IHJweFRyYW5zbGF0ZX19PC9sYWJlbD5cbiAgICAgIDwvZGl2PlxuICAgIDwvbmctY29udGFpbmVyPlxuICA8L2ZpZWxkc2V0PlxuPC9kaXY+XG4iXX0=
|
|
@@ -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 WriteEmailFieldComponent_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 WriteEmailFieldComponent_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 WriteEmailFieldComponent_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.ɵɵtextInterpolate(i0.ɵɵ
|
|
40
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.emailControl.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 @@ WriteEmailFieldComponent.ɵfac = function WriteEmailFieldComponent_Factory(t) {
|
|
|
46
50
|
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) {
|
|
47
51
|
i0.ɵɵelementStart(0, "div", 0);
|
|
48
52
|
i0.ɵɵelementStart(1, "label", 1);
|
|
49
|
-
i0.ɵɵtemplate(2, WriteEmailFieldComponent_span_2_Template,
|
|
53
|
+
i0.ɵɵtemplate(2, WriteEmailFieldComponent_span_2_Template, 4, 5, "span", 2);
|
|
50
54
|
i0.ɵɵelementEnd();
|
|
51
|
-
i0.ɵɵtemplate(3, WriteEmailFieldComponent_span_3_Template,
|
|
52
|
-
i0.ɵɵtemplate(4, WriteEmailFieldComponent_span_4_Template,
|
|
55
|
+
i0.ɵɵtemplate(3, WriteEmailFieldComponent_span_3_Template, 3, 3, "span", 3);
|
|
56
|
+
i0.ɵɵtemplate(4, WriteEmailFieldComponent_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 @@ WriteEmailFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteEmailFieldC
|
|
|
64
68
|
i0.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
|
|
65
69
|
i0.ɵɵadvance(1);
|
|
66
70
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
|
|
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 ɵWriteEmailFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteEmailFieldComponent);
|
|
69
73
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteEmailFieldComponent, [{
|
|
70
74
|
type: Component,
|
|
@@ -73,4 +77,4 @@ const ɵWriteEmailFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInherited
|
|
|
73
77
|
templateUrl: 'write-email-field.html'
|
|
74
78
|
}]
|
|
75
79
|
}], null, null); })();
|
|
76
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
80
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUtZW1haWwtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9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cIlxuICAgIFtpZF09XCJpZCgpXCIgdHlwZT1cImVtYWlsXCIgW2Zvcm1Db250cm9sXT1cImVtYWlsQ29udHJvbFwiPlxuXG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,25 +1,27 @@
|
|
|
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 "
|
|
4
|
+
import * as i1 from "rpx-xui-translation";
|
|
5
|
+
import * as i2 from "./fixed-list.pipe";
|
|
5
6
|
export class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
|
|
6
7
|
}
|
|
7
8
|
ReadFixedListFieldComponent.ɵfac = function ReadFixedListFieldComponent_Factory(t) { return ɵReadFixedListFieldComponent_BaseFactory(t || ReadFixedListFieldComponent); };
|
|
8
|
-
ReadFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadFixedListFieldComponent, selectors: [["ccd-read-fixed-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
9
|
+
ReadFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadFixedListFieldComponent, selectors: [["ccd-read-fixed-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadFixedListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9
10
|
i0.ɵɵelementStart(0, "span", 0);
|
|
10
11
|
i0.ɵɵtext(1);
|
|
11
|
-
i0.ɵɵpipe(2, "
|
|
12
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
13
|
+
i0.ɵɵpipe(3, "ccdFixedList");
|
|
12
14
|
i0.ɵɵelementEnd();
|
|
13
15
|
} if (rf & 2) {
|
|
14
16
|
i0.ɵɵadvance(1);
|
|
15
|
-
i0.ɵɵtextInterpolate(i0.ɵɵ
|
|
16
|
-
} }, pipes: [i1.FixedListPipe], encapsulation: 2 });
|
|
17
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx.caseField.value, ctx.caseField.list_items)));
|
|
18
|
+
} }, pipes: [i1.RpxTranslatePipe, i2.FixedListPipe], encapsulation: 2 });
|
|
17
19
|
const ɵReadFixedListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadFixedListFieldComponent);
|
|
18
20
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadFixedListFieldComponent, [{
|
|
19
21
|
type: Component,
|
|
20
22
|
args: [{
|
|
21
23
|
selector: 'ccd-read-fixed-list-field',
|
|
22
|
-
template: '<span class="text-16">{{caseField.value | ccdFixedList:caseField.list_items}}</span>',
|
|
24
|
+
template: '<span class="text-16">{{caseField.value | ccdFixedList:caseField.list_items | rpxTranslate}}</span>',
|
|
23
25
|
}]
|
|
24
26
|
}], null, null); })();
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1maXhlZC1saXN0LWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2ZpeGVkLWxpc3QvcmVhZC1maXhlZC1saXN0LWZpZWxkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLDZDQUE2QyxDQUFDOzs7O0FBTXpGLE1BQU0sT0FBTywyQkFBNEIsU0FBU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