@hmcts/ccd-case-ui-toolkit 6.16.2-ccpay-5.2.8 → 6.18.0-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 +8657 -4204
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/app.config.js +1 -1
- package/esm2015/lib/components/banners/alert/alert.component.js +7 -5
- package/esm2015/lib/components/banners/alert/alert.module.js +12 -4
- package/esm2015/lib/components/footer/footer.component.js +55 -30
- package/esm2015/lib/components/footer/footers.module.js +12 -4
- 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/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/commons/case-edit-data/case-edit-validation.model.js +1 -1
- package/esm2015/lib/shared/components/activity/activity-banner/activity-banner.component.js +12 -9
- package/esm2015/lib/shared/components/activity/activity-icon/activity-icon.component.js +11 -8
- package/esm2015/lib/shared/components/activity/activity.component.js +15 -10
- package/esm2015/lib/shared/components/activity/activity.module.js +6 -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/case-edit.component.js +13 -15
- package/esm2015/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.js +30 -26
- package/esm2015/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.js +2 -2
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +51 -34
- package/esm2015/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.js +129 -99
- package/esm2015/lib/shared/components/case-editor/case-editor.module.js +35 -28
- 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/case-flag-state.service.js +19 -0
- 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 +16 -13
- package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +157 -117
- 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 +37 -27
- 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/abstract-field-read.component.js +1 -1
- 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 +5 -1
- package/esm2015/lib/shared/components/palette/base-field/field-write.component.js +1 -1
- package/esm2015/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.js +62 -37
- package/esm2015/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.js +246 -42
- package/esm2015/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.js +144 -73
- package/esm2015/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.js +181 -0
- package/esm2015/lib/shared/components/palette/case-flag/components/index.js +3 -1
- package/esm2015/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.js +62 -87
- package/esm2015/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter-control-names.enum.js +6 -0
- package/esm2015/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.js +133 -101
- package/esm2015/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.js +54 -34
- package/esm2015/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.js +186 -113
- package/esm2015/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.js +292 -0
- package/esm2015/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.js +286 -99
- package/esm2015/lib/shared/components/palette/case-flag/domain/case-flag-state.model.js +1 -1
- package/esm2015/lib/shared/components/palette/case-flag/domain/case-flag.model.js +1 -1
- package/esm2015/lib/shared/components/palette/case-flag/domain/language.model.js +1 -1
- package/esm2015/lib/shared/components/palette/case-flag/enums/case-flag-display-context-parameter.enum.js +9 -0
- package/esm2015/lib/shared/components/palette/case-flag/enums/case-flag-form-fields.enum.js +12 -0
- package/esm2015/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.js +3 -2
- package/esm2015/lib/shared/components/palette/case-flag/enums/case-flag-wizard-step-title.enum.js +8 -3
- package/esm2015/lib/shared/components/palette/case-flag/enums/confirm-status-error-message.enum.js +6 -0
- package/esm2015/lib/shared/components/palette/case-flag/enums/confirm-status-step.enum.js +6 -0
- package/esm2015/lib/shared/components/palette/case-flag/enums/index.js +8 -2
- package/esm2015/lib/shared/components/palette/case-flag/enums/select-flag-error-message.enum.js +3 -2
- package/esm2015/lib/shared/components/palette/case-flag/enums/select-flag-type-error-message.enum.js +2 -1
- package/esm2015/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-error-message.enum.js +6 -0
- package/esm2015/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-step.enum.js +6 -0
- package/esm2015/lib/shared/components/palette/case-flag/enums/update-flag-error-message.enum.js +3 -1
- package/esm2015/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.js +3 -2
- package/esm2015/lib/shared/components/palette/case-flag/enums/write-case-flag-field.enum.js +8 -4
- package/esm2015/lib/shared/components/palette/case-flag/index.js +2 -1
- package/esm2015/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.js +41 -0
- package/esm2015/lib/shared/components/palette/case-flag/pipes/index.js +5 -0
- package/esm2015/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.js +41 -0
- package/esm2015/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.js +109 -0
- package/esm2015/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.js +77 -0
- package/esm2015/lib/shared/components/palette/case-flag/read-case-flag-field.component.js +121 -50
- package/esm2015/lib/shared/components/palette/case-flag/write-case-flag-field.component.js +250 -141
- 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 +68 -57
- 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/write-dynamic-multi-select-list-field.component.js +2 -2
- 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 +27 -18
- 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 +3 -2
- package/esm2015/lib/shared/components/palette/label/label-field.component.js +24 -5
- package/esm2015/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.js +1 -1
- package/esm2015/lib/shared/components/palette/markdown/index.js +2 -1
- package/esm2015/lib/shared/components/palette/markdown/markdown-component.module.js +42 -0
- package/esm2015/lib/shared/components/palette/markdown/markdown.component.js +4 -4
- package/esm2015/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.js +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 +185 -88
- package/esm2015/lib/shared/components/palette/palette.service.js +5 -2
- package/esm2015/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.js +16 -12
- package/esm2015/lib/shared/components/palette/query-management/__mocks__/index.js +120 -0
- package/esm2015/lib/shared/components/palette/query-management/components/index.js +9 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.js +64 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-create/query-create.component.js +18 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-details/query-details.component.js +56 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-details-table/query-details-table.component.js +150 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-list/query-list.component.js +175 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.js +67 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +214 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +108 -0
- package/esm2015/lib/shared/components/palette/query-management/index.js +6 -0
- package/esm2015/lib/shared/components/palette/query-management/models/index.js +7 -0
- package/esm2015/lib/shared/components/palette/query-management/models/party-messages/party-message.model.js +2 -0
- package/esm2015/lib/shared/components/palette/query-management/models/party-messages/party-messages-group.model.js +2 -0
- package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-column/query-list-column.model.js +2 -0
- package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.js +18 -0
- package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.js +35 -0
- package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.js +6 -0
- package/esm2015/lib/shared/components/palette/query-management/read-query-management-field.component.js +83 -0
- package/esm2015/lib/shared/components/palette/query-management/utils/query-management.utils.js +12 -0
- package/esm2015/lib/shared/components/palette/query-management/write-query-management-field.component.js +45 -0
- 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/utils/first-error.pipe.js +22 -11
- package/esm2015/lib/shared/components/palette/utils/utils.module.js +12 -6
- package/esm2015/lib/shared/components/palette/yes-no/read-yes-no-field.component.js +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 +132 -95
- 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/alert/alert-status-params.model.js +2 -0
- package/esm2015/lib/shared/domain/case-flag/flag-type.model.js +17 -2
- package/esm2015/lib/shared/domain/case-view/case-view-event-ids.enum.js +6 -0
- package/esm2015/lib/shared/domain/case-view/case-view-trigger.model.js +1 -2
- package/esm2015/lib/shared/domain/definition/display-context-enum.model.js +3 -1
- package/esm2015/lib/shared/fixture/shared.test.fixture.js +2 -1
- package/esm2015/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.js +16 -0
- package/esm2015/lib/shared/pipes/generic/index.js +2 -0
- package/esm2015/lib/shared/pipes/index.js +3 -2
- package/esm2015/lib/shared/pipes/pipes.module.js +9 -5
- package/esm2015/lib/shared/services/alert/alert.service.js +28 -8
- package/esm2015/lib/shared/services/case-flag/case-flag-refdata.service.js +9 -3
- package/esm2015/lib/shared/services/fields/fields.utils.js +22 -1
- package/esm2015/lib/shared/services/form/form-value.service.js +37 -43
- package/esm2015/lib/shared/services/request/request.options.builder.js +7 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +9998 -6037
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/app.config.d.ts.map +1 -1
- package/lib/components/banners/alert/alert.module.d.ts +2 -1
- package/lib/components/banners/alert/alert.module.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/form/form.module.d.ts +2 -1
- package/lib/components/form/form.module.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/commons/case-edit-data/case-edit-validation.model.d.ts +1 -0
- package/lib/shared/commons/case-edit-data/case-edit-validation.model.d.ts.map +1 -1
- package/lib/shared/components/activity/activity.module.d.ts +2 -1
- package/lib/shared/components/activity/activity.module.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts +6 -5
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.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-editor/services/case-flag-state.service.d.ts +11 -0
- package/lib/shared/components/case-editor/services/case-flag-state.service.d.ts.map +1 -0
- 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.map +1 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts +3 -1
- 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/abstract-field-read.component.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/add-comments/add-comments.component.d.ts +2 -1
- package/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.d.ts +20 -5
- package/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.d.ts +2 -1
- package/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.d.ts +28 -0
- package/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/components/index.d.ts +2 -0
- package/lib/shared/components/palette/case-flag/components/index.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.d.ts +4 -8
- 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/case-flag/components/search-language-interpreter/search-language-interpreter-control-names.enum.d.ts +5 -0
- package/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter-control-names.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.d.ts +10 -8
- package/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.d.ts +2 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.d.ts +12 -8
- package/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.d.ts +27 -0
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.d.ts +19 -9
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/domain/case-flag-state.model.d.ts +1 -10
- package/lib/shared/components/palette/case-flag/domain/case-flag-state.model.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/domain/case-flag.model.d.ts +6 -0
- package/lib/shared/components/palette/case-flag/domain/case-flag.model.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/domain/language.model.d.ts +1 -0
- package/lib/shared/components/palette/case-flag/domain/language.model.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/case-flag-display-context-parameter.enum.d.ts +8 -0
- package/lib/shared/components/palette/case-flag/enums/case-flag-display-context-parameter.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/enums/case-flag-form-fields.enum.d.ts +11 -0
- package/lib/shared/components/palette/case-flag/enums/case-flag-form-fields.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.d.ts +2 -1
- package/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/case-flag-wizard-step-title.enum.d.ts +8 -3
- package/lib/shared/components/palette/case-flag/enums/case-flag-wizard-step-title.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/confirm-status-error-message.enum.d.ts +5 -0
- package/lib/shared/components/palette/case-flag/enums/confirm-status-error-message.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/enums/confirm-status-step.enum.d.ts +5 -0
- package/lib/shared/components/palette/case-flag/enums/confirm-status-step.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/enums/index.d.ts +7 -1
- package/lib/shared/components/palette/case-flag/enums/index.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/select-flag-error-message.enum.d.ts +2 -1
- package/lib/shared/components/palette/case-flag/enums/select-flag-error-message.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/select-flag-type-error-message.enum.d.ts +1 -0
- package/lib/shared/components/palette/case-flag/enums/select-flag-type-error-message.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-error-message.enum.d.ts +5 -0
- package/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-error-message.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-step.enum.d.ts +5 -0
- package/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-step.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/enums/update-flag-error-message.enum.d.ts +3 -1
- package/lib/shared/components/palette/case-flag/enums/update-flag-error-message.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.d.ts +3 -2
- package/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/write-case-flag-field.enum.d.ts +7 -3
- package/lib/shared/components/palette/case-flag/enums/write-case-flag-field.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/index.d.ts +1 -0
- package/lib/shared/components/palette/case-flag/index.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.d.ts +19 -0
- package/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/pipes/index.d.ts +5 -0
- package/lib/shared/components/palette/case-flag/pipes/index.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.d.ts +18 -0
- package/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.d.ts +25 -0
- package/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.d.ts +21 -0
- package/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/read-case-flag-field.component.d.ts +11 -8
- package/lib/shared/components/palette/case-flag/read-case-flag-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts +23 -24
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts +3 -2
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/index.d.ts +2 -1
- 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/markdown/index.d.ts +1 -0
- package/lib/shared/components/palette/markdown/index.d.ts.map +1 -1
- package/lib/shared/components/palette/markdown/markdown-component.module.d.ts +13 -0
- package/lib/shared/components/palette/markdown/markdown-component.module.d.ts.map +1 -0
- package/lib/shared/components/palette/markdown/markdown.component.d.ts +3 -3
- package/lib/shared/components/palette/markdown/markdown.component.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +134 -117
- 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/palette/query-management/__mocks__/index.d.ts +3 -0
- package/lib/shared/components/palette/query-management/__mocks__/index.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/index.d.ts +9 -0
- package/lib/shared/components/palette/query-management/components/index.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.d.ts +10 -0
- package/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-create/query-create.component.d.ts +9 -0
- package/lib/shared/components/palette/query-management/components/query-create/query-create.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-details/query-details.component.d.ts +11 -0
- package/lib/shared/components/palette/query-management/components/query-details/query-details.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-details-table/query-details-table.component.d.ts +8 -0
- package/lib/shared/components/palette/query-management/components/query-details-table/query-details-table.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-list/query-list.component.d.ts +18 -0
- package/lib/shared/components/palette/query-management/components/query-list/query-list.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts +17 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.d.ts +8 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts +10 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/index.d.ts +6 -0
- package/lib/shared/components/palette/query-management/index.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/index.d.ts +7 -0
- package/lib/shared/components/palette/query-management/models/index.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/party-messages/party-message.model.d.ts +14 -0
- package/lib/shared/components/palette/query-management/models/party-messages/party-message.model.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/party-messages/party-messages-group.model.d.ts +7 -0
- package/lib/shared/components/palette/query-management/models/party-messages/party-messages-group.model.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-column/query-list-column.model.d.ts +7 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-column/query-list-column.model.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.d.ts +10 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.d.ts +21 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.d.ts +5 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/read-query-management-field.component.d.ts +17 -0
- package/lib/shared/components/palette/query-management/read-query-management-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/utils/query-management.utils.d.ts +7 -0
- package/lib/shared/components/palette/query-management/utils/query-management.utils.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/write-query-management-field.component.d.ts +12 -0
- package/lib/shared/components/palette/query-management/write-query-management-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/utils/first-error.pipe.d.ts +3 -0
- package/lib/shared/components/palette/utils/first-error.pipe.d.ts.map +1 -1
- package/lib/shared/components/palette/utils/utils.module.d.ts +2 -1
- package/lib/shared/components/palette/utils/utils.module.d.ts.map +1 -1
- package/lib/shared/components/palette/yes-no/read-yes-no-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/yes-no/write-yes-no-field.component.d.ts.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 +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/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/case-flag/flag-type.model.d.ts +6 -1
- package/lib/shared/domain/case-flag/flag-type.model.d.ts.map +1 -1
- package/lib/shared/domain/case-view/case-view-event-ids.enum.d.ts +5 -0
- package/lib/shared/domain/case-view/case-view-event-ids.enum.d.ts.map +1 -0
- package/lib/shared/domain/case-view/case-view-trigger.model.d.ts +0 -1
- package/lib/shared/domain/case-view/case-view-trigger.model.d.ts.map +1 -1
- package/lib/shared/domain/definition/display-context-enum.model.d.ts +3 -1
- package/lib/shared/domain/definition/display-context-enum.model.d.ts.map +1 -1
- package/lib/shared/fixture/shared.test.fixture.d.ts.map +1 -1
- package/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.d.ts +8 -0
- package/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.d.ts.map +1 -0
- package/lib/shared/pipes/generic/index.d.ts +2 -0
- package/lib/shared/pipes/generic/index.d.ts.map +1 -0
- package/lib/shared/pipes/index.d.ts +2 -1
- package/lib/shared/pipes/index.d.ts.map +1 -1
- package/lib/shared/pipes/pipes.module.d.ts +3 -2
- package/lib/shared/pipes/pipes.module.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/case-flag/case-flag-refdata.service.d.ts +3 -2
- package/lib/shared/services/case-flag/case-flag-refdata.service.d.ts.map +1 -1
- package/lib/shared/services/fields/fields.utils.d.ts +16 -0
- package/lib/shared/services/fields/fields.utils.d.ts.map +1 -1
- package/lib/shared/services/form/form-value.service.d.ts +14 -13
- package/lib/shared/services/form/form-value.service.d.ts.map +1 -1
- package/lib/shared/services/request/request.options.builder.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { Component } from '@angular/core';
|
|
|
2
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/material/dialog";
|
|
5
|
+
import * as i2 from "rpx-xui-translation";
|
|
5
6
|
export class RemoveDialogComponent {
|
|
6
7
|
constructor(matDialogRef) {
|
|
7
8
|
this.matDialogRef = matDialogRef;
|
|
@@ -16,7 +17,7 @@ export class RemoveDialogComponent {
|
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0.ɵɵdirectiveInject(i1.MatDialogRef)); };
|
|
19
|
-
RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogComponent, selectors: [["ccd-remove-dialog"]], decls:
|
|
20
|
+
RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogComponent, selectors: [["ccd-remove-dialog"]], decls: 19, vars: 12, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Remove", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function RemoveDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20
21
|
i0.ɵɵelementStart(0, "div");
|
|
21
22
|
i0.ɵɵelementStart(1, "div", 0);
|
|
22
23
|
i0.ɵɵelementStart(2, "h2", 1);
|
|
@@ -26,26 +27,39 @@ RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogCompone
|
|
|
26
27
|
i0.ɵɵelementEnd();
|
|
27
28
|
i0.ɵɵelementStart(4, "div");
|
|
28
29
|
i0.ɵɵelementStart(5, "h2", 2);
|
|
29
|
-
i0.ɵɵtext(6
|
|
30
|
+
i0.ɵɵtext(6);
|
|
31
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
30
32
|
i0.ɵɵelementEnd();
|
|
31
33
|
i0.ɵɵelementEnd();
|
|
32
|
-
i0.ɵɵelementStart(
|
|
33
|
-
i0.ɵɵelementStart(
|
|
34
|
-
i0.ɵɵtext(
|
|
34
|
+
i0.ɵɵelementStart(8, "div", 3);
|
|
35
|
+
i0.ɵɵelementStart(9, "span", 4);
|
|
36
|
+
i0.ɵɵtext(10);
|
|
37
|
+
i0.ɵɵpipe(11, "rpxTranslate");
|
|
35
38
|
i0.ɵɵelementEnd();
|
|
36
39
|
i0.ɵɵelementEnd();
|
|
37
|
-
i0.ɵɵelementStart(
|
|
38
|
-
i0.ɵɵelementStart(
|
|
39
|
-
i0.ɵɵlistener("click", function
|
|
40
|
-
i0.ɵɵtext(
|
|
40
|
+
i0.ɵɵelementStart(12, "div");
|
|
41
|
+
i0.ɵɵelementStart(13, "button", 5);
|
|
42
|
+
i0.ɵɵlistener("click", function RemoveDialogComponent_Template_button_click_13_listener() { return ctx.remove(); });
|
|
43
|
+
i0.ɵɵtext(14);
|
|
44
|
+
i0.ɵɵpipe(15, "rpxTranslate");
|
|
41
45
|
i0.ɵɵelementEnd();
|
|
42
|
-
i0.ɵɵelementStart(
|
|
43
|
-
i0.ɵɵlistener("click", function
|
|
44
|
-
i0.ɵɵtext(
|
|
46
|
+
i0.ɵɵelementStart(16, "button", 6);
|
|
47
|
+
i0.ɵɵlistener("click", function RemoveDialogComponent_Template_button_click_16_listener() { return ctx.cancel(); });
|
|
48
|
+
i0.ɵɵtext(17);
|
|
49
|
+
i0.ɵɵpipe(18, "rpxTranslate");
|
|
45
50
|
i0.ɵɵelementEnd();
|
|
46
51
|
i0.ɵɵelementEnd();
|
|
47
52
|
i0.ɵɵelementEnd();
|
|
48
|
-
}
|
|
53
|
+
} if (rf & 2) {
|
|
54
|
+
i0.ɵɵadvance(6);
|
|
55
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 4, "Are you sure you want to remove the item ?"));
|
|
56
|
+
i0.ɵɵadvance(4);
|
|
57
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(11, 6, "You are about to permanently remove an item, are you sure you want to remove this item ?"), " ");
|
|
58
|
+
i0.ɵɵadvance(4);
|
|
59
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 8, "Remove"));
|
|
60
|
+
i0.ɵɵadvance(3);
|
|
61
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 10, "Cancel"));
|
|
62
|
+
} }, pipes: [i2.RpxTranslatePipe], styles: [".x[_ngcontent-%COMP%]{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}.dialog-header[_ngcontent-%COMP%]{text-align:right}.dialog-info[_ngcontent-%COMP%], .dialog-title[_ngcontent-%COMP%]{margin:0 0 21px 25px}.action-button[_ngcontent-%COMP%]{margin:0 15px 0 25px}"] });
|
|
49
63
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RemoveDialogComponent, [{
|
|
50
64
|
type: Component,
|
|
51
65
|
args: [{
|
|
@@ -54,4 +68,4 @@ RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogCompone
|
|
|
54
68
|
styleUrls: ['../action-dialog.component.scss']
|
|
55
69
|
}]
|
|
56
70
|
}], function () { return [{ type: i1.MatDialogRef }]; }, null); })();
|
|
57
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
71
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVtb3ZlLWRpYWxvZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvZGlhbG9ncy9yZW1vdmUtZGlhbG9nL3JlbW92ZS1kaWFsb2cuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL2RpYWxvZ3MvcmVtb3ZlLWRpYWxvZy9yZW1vdmUtZGlhbG9nLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLDBCQUEwQixDQUFDOzs7O0FBT3hELE1BQU0sT0FBTyxxQkFBcUI7SUFJaEMsWUFBNkIsWUFBaUQ7UUFBakQsaUJBQVksR0FBWixZQUFZLENBQXFDO0lBQUcsQ0FBQztJQUUzRSxNQUFNO1FBQ1gsSUFBSSxDQUFDLE1BQU0sR0FBRyxRQUFRLENBQUM7UUFDdkIsSUFBSSxDQUFDLF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J0FyZSB5b3Ugc3VyZSB5b3Ugd2FudCB0byByZW1vdmUgdGhlIGl0ZW0gPycgfCBycHhUcmFuc2xhdGV9fTwvaDI+XG4gIDwvZGl2PlxuICA8ZGl2IGNsYXNzPVwiZGlhbG9nLWluZm9cIj5cbiAgICA8c3BhbiBjbGFzcz1cInRleHQtaW5mb1wiPlxuICAgICAge3snWW91IGFyZSBhYm91dCB0byBwZXJtYW5lbnRseSByZW1vdmUgYW4gaXRlbSwgYXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIHJlbW92ZSB0aGlzIGl0ZW0gPycgfCBycHhUcmFuc2xhdGV9fVxuICAgIDwvc3Bhbj5cbiAgPC9kaXY+XG4gIDxkaXY+XG4gICAgPGJ1dHRvbiB0eXBlPVwiYnV0dG9uXCIgdGl0bGU9XCJSZW1vdmVcIiBjbGFzcz1cImJ1dHRvbiBhY3Rpb24tYnV0dG9uXCIgKGNsaWNrKT1cInJlbW92ZSgpXCI+e3snUmVtb3ZlJyB8IHJweFRyYW5zbGF0ZX19PC9idXR0b24+XG4gICAgPGJ1dHRvbiB0eXBlPVwiYnV0dG9uXCIgdGl0bGU9XCJDYW5jZWxcIiBjbGFzcz1cImJ1dHRvbiBidXR0b24tc2Vjb25kYXJ5XCIgKGNsaWNrKT1cImNhbmNlbCgpXCI+e3snQ2FuY2VsJyB8IHJweFRyYW5zbGF0ZX19PC9idXR0b24+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -2,6 +2,7 @@ import { Component } from '@angular/core';
|
|
|
2
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/material/dialog";
|
|
5
|
+
import * as i2 from "rpx-xui-translation";
|
|
5
6
|
export class SaveOrDiscardDialogComponent {
|
|
6
7
|
constructor(matDialogRef) {
|
|
7
8
|
this.matDialogRef = matDialogRef;
|
|
@@ -20,7 +21,7 @@ export class SaveOrDiscardDialogComponent {
|
|
|
20
21
|
}
|
|
21
22
|
}
|
|
22
23
|
SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0.ɵɵdirectiveInject(i1.MatDialogRef)); };
|
|
23
|
-
SaveOrDiscardDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SaveOrDiscardDialogComponent, selectors: [["ccd-save-or-discard-dialog"]], decls:
|
|
24
|
+
SaveOrDiscardDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SaveOrDiscardDialogComponent, selectors: [["ccd-save-or-discard-dialog"]], decls: 19, vars: 12, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Save", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Discard", 1, "button", "button-secondary", 3, "click"]], template: function SaveOrDiscardDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24
25
|
i0.ɵɵelementStart(0, "div");
|
|
25
26
|
i0.ɵɵelementStart(1, "div", 0);
|
|
26
27
|
i0.ɵɵelementStart(2, "h2", 1);
|
|
@@ -30,26 +31,39 @@ SaveOrDiscardDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SaveOrDiscar
|
|
|
30
31
|
i0.ɵɵelementEnd();
|
|
31
32
|
i0.ɵɵelementStart(4, "div");
|
|
32
33
|
i0.ɵɵelementStart(5, "h2", 2);
|
|
33
|
-
i0.ɵɵtext(6
|
|
34
|
+
i0.ɵɵtext(6);
|
|
35
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
34
36
|
i0.ɵɵelementEnd();
|
|
35
37
|
i0.ɵɵelementEnd();
|
|
36
|
-
i0.ɵɵelementStart(
|
|
37
|
-
i0.ɵɵelementStart(
|
|
38
|
-
i0.ɵɵtext(
|
|
38
|
+
i0.ɵɵelementStart(8, "div", 3);
|
|
39
|
+
i0.ɵɵelementStart(9, "span", 4);
|
|
40
|
+
i0.ɵɵtext(10);
|
|
41
|
+
i0.ɵɵpipe(11, "rpxTranslate");
|
|
39
42
|
i0.ɵɵelementEnd();
|
|
40
43
|
i0.ɵɵelementEnd();
|
|
41
|
-
i0.ɵɵelementStart(
|
|
42
|
-
i0.ɵɵelementStart(
|
|
43
|
-
i0.ɵɵlistener("click", function
|
|
44
|
-
i0.ɵɵtext(
|
|
44
|
+
i0.ɵɵelementStart(12, "div");
|
|
45
|
+
i0.ɵɵelementStart(13, "button", 5);
|
|
46
|
+
i0.ɵɵlistener("click", function SaveOrDiscardDialogComponent_Template_button_click_13_listener() { return ctx.save(); });
|
|
47
|
+
i0.ɵɵtext(14);
|
|
48
|
+
i0.ɵɵpipe(15, "rpxTranslate");
|
|
45
49
|
i0.ɵɵelementEnd();
|
|
46
|
-
i0.ɵɵelementStart(
|
|
47
|
-
i0.ɵɵlistener("click", function
|
|
48
|
-
i0.ɵɵtext(
|
|
50
|
+
i0.ɵɵelementStart(16, "button", 6);
|
|
51
|
+
i0.ɵɵlistener("click", function SaveOrDiscardDialogComponent_Template_button_click_16_listener() { return ctx.discard(); });
|
|
52
|
+
i0.ɵɵtext(17);
|
|
53
|
+
i0.ɵɵpipe(18, "rpxTranslate");
|
|
49
54
|
i0.ɵɵelementEnd();
|
|
50
55
|
i0.ɵɵelementEnd();
|
|
51
56
|
i0.ɵɵelementEnd();
|
|
52
|
-
}
|
|
57
|
+
} if (rf & 2) {
|
|
58
|
+
i0.ɵɵadvance(6);
|
|
59
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 4, "Would you like to save changes to this page ?"));
|
|
60
|
+
i0.ɵɵadvance(4);
|
|
61
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 6, "You will be taken back to your case list."));
|
|
62
|
+
i0.ɵɵadvance(4);
|
|
63
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 8, "Save"));
|
|
64
|
+
i0.ɵɵadvance(3);
|
|
65
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 10, "Discard"));
|
|
66
|
+
} }, pipes: [i2.RpxTranslatePipe], styles: [".x[_ngcontent-%COMP%]{margin:0;padding:9px 9px 0 0;font-size:24px;font-weight:700;font-style:normal;font-stretch:normal;cursor:pointer;color:#6e7071}.dialog-header[_ngcontent-%COMP%]{text-align:right}.dialog-info[_ngcontent-%COMP%], .dialog-title[_ngcontent-%COMP%]{margin:0 0 21px 25px}.action-button[_ngcontent-%COMP%]{margin:0 15px 0 25px}"] });
|
|
53
67
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SaveOrDiscardDialogComponent, [{
|
|
54
68
|
type: Component,
|
|
55
69
|
args: [{
|
|
@@ -58,4 +72,4 @@ SaveOrDiscardDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SaveOrDiscar
|
|
|
58
72
|
styleUrls: ['../action-dialog.component.scss']
|
|
59
73
|
}]
|
|
60
74
|
}], function () { return [{ type: i1.MatDialogRef }]; }, null); })();
|
|
61
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2F2ZS1vci1kaXNjYXJkLWRpYWxvZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvZGlhbG9ncy9zYXZlLW9yLWRpc2NhcmQtZGlhbG9nL3NhdmUtb3ItZGlzY2FyZC1kaWFsb2cuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL2RpYWxvZ3M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iAgPGRpdj5cbiAgICA8YnV0dG9uIHR5cGU9XCJidXR0b25cIiB0aXRsZT1cIlNhdmVcIiBjbGFzcz1cImJ1dHRvbiBhY3Rpb24tYnV0dG9uXCIgKGNsaWNrKT1cInNhdmUoKVwiPnt7J1NhdmUnIHwgcnB4VHJhbnNsYXRlfX08L2J1dHRvbj5cbiAgICA8YnV0dG9uIHR5cGU9XCJidXR0b25cIiB0aXRsZT1cIkRpc2NhcmRcIiBjbGFzcz1cImJ1dHRvbiBidXR0b24tc2Vjb25kYXJ5XCIgKGNsaWNrKT1cImRpc2NhcmQoKVwiPnt7J0Rpc2NhcmQnIHwgcnB4VHJhbnNsYXRlfX08L2J1dHRvbj5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -3,64 +3,75 @@ import { Subject } from 'rxjs';
|
|
|
3
3
|
import { CallbackErrorsContext } from './domain/error-context';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/common";
|
|
6
|
-
|
|
6
|
+
import * as i2 from "rpx-xui-translation";
|
|
7
|
+
function CallbackErrorsComponent_div_0_ng_container_2_li_5_Template(rf, ctx) { if (rf & 1) {
|
|
7
8
|
i0.ɵɵelementStart(0, "li");
|
|
8
9
|
i0.ɵɵtext(1);
|
|
10
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
9
11
|
i0.ɵɵelementEnd();
|
|
10
12
|
} if (rf & 2) {
|
|
11
13
|
const errorMsg_r5 = ctx.$implicit;
|
|
12
14
|
i0.ɵɵadvance(1);
|
|
13
|
-
i0.ɵɵtextInterpolate1(" ", errorMsg_r5, " ");
|
|
15
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, errorMsg_r5), " ");
|
|
14
16
|
} }
|
|
15
|
-
function
|
|
17
|
+
function CallbackErrorsComponent_div_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
16
18
|
i0.ɵɵelementContainerStart(0);
|
|
17
19
|
i0.ɵɵelementStart(1, "h3", 3);
|
|
18
|
-
i0.ɵɵtext(2
|
|
20
|
+
i0.ɵɵtext(2);
|
|
21
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
19
22
|
i0.ɵɵelementEnd();
|
|
20
|
-
i0.ɵɵelementStart(
|
|
21
|
-
i0.ɵɵtemplate(
|
|
23
|
+
i0.ɵɵelementStart(4, "ul", 4);
|
|
24
|
+
i0.ɵɵtemplate(5, CallbackErrorsComponent_div_0_ng_container_2_li_5_Template, 3, 3, "li", 5);
|
|
22
25
|
i0.ɵɵelementEnd();
|
|
23
26
|
i0.ɵɵelementContainerEnd();
|
|
24
27
|
} if (rf & 2) {
|
|
25
28
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
26
|
-
i0.ɵɵadvance(
|
|
29
|
+
i0.ɵɵadvance(2);
|
|
30
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Errors"), " ");
|
|
31
|
+
i0.ɵɵadvance(3);
|
|
27
32
|
i0.ɵɵproperty("ngForOf", ctx_r1.error.callbackErrors);
|
|
28
33
|
} }
|
|
29
|
-
function
|
|
34
|
+
function CallbackErrorsComponent_div_0_br_3_Template(rf, ctx) { if (rf & 1) {
|
|
30
35
|
i0.ɵɵelement(0, "br");
|
|
31
36
|
} }
|
|
32
|
-
function
|
|
37
|
+
function CallbackErrorsComponent_div_0_ng_container_4_li_5_Template(rf, ctx) { if (rf & 1) {
|
|
33
38
|
i0.ɵɵelementStart(0, "li");
|
|
34
39
|
i0.ɵɵtext(1);
|
|
40
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
35
41
|
i0.ɵɵelementEnd();
|
|
36
42
|
} if (rf & 2) {
|
|
37
43
|
const warningMsg_r7 = ctx.$implicit;
|
|
38
44
|
i0.ɵɵadvance(1);
|
|
39
|
-
i0.ɵɵtextInterpolate1(" ", warningMsg_r7, " ");
|
|
45
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, warningMsg_r7), " ");
|
|
40
46
|
} }
|
|
41
|
-
function
|
|
47
|
+
function CallbackErrorsComponent_div_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
42
48
|
i0.ɵɵelementContainerStart(0);
|
|
43
49
|
i0.ɵɵelementStart(1, "h3", 3);
|
|
44
|
-
i0.ɵɵtext(2
|
|
50
|
+
i0.ɵɵtext(2);
|
|
51
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
45
52
|
i0.ɵɵelementEnd();
|
|
46
|
-
i0.ɵɵelementStart(
|
|
47
|
-
i0.ɵɵtemplate(
|
|
53
|
+
i0.ɵɵelementStart(4, "ul", 6);
|
|
54
|
+
i0.ɵɵtemplate(5, CallbackErrorsComponent_div_0_ng_container_4_li_5_Template, 3, 3, "li", 5);
|
|
48
55
|
i0.ɵɵelementEnd();
|
|
49
56
|
i0.ɵɵelementContainerEnd();
|
|
50
57
|
} if (rf & 2) {
|
|
51
58
|
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
52
|
-
i0.ɵɵadvance(
|
|
59
|
+
i0.ɵɵadvance(2);
|
|
60
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Warnings"), " ");
|
|
61
|
+
i0.ɵɵadvance(3);
|
|
53
62
|
i0.ɵɵproperty("ngForOf", ctx_r3.error.callbackWarnings);
|
|
54
63
|
} }
|
|
55
64
|
function CallbackErrorsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
56
65
|
i0.ɵɵelementStart(0, "div", 1);
|
|
57
|
-
i0.ɵɵ
|
|
58
|
-
i0.ɵɵtemplate(2,
|
|
59
|
-
i0.ɵɵtemplate(3,
|
|
66
|
+
i0.ɵɵpipe(1, "rpxTranslate");
|
|
67
|
+
i0.ɵɵtemplate(2, CallbackErrorsComponent_div_0_ng_container_2_Template, 6, 4, "ng-container", 2);
|
|
68
|
+
i0.ɵɵtemplate(3, CallbackErrorsComponent_div_0_br_3_Template, 1, 0, "br", 2);
|
|
69
|
+
i0.ɵɵtemplate(4, CallbackErrorsComponent_div_0_ng_container_4_Template, 6, 4, "ng-container", 2);
|
|
60
70
|
i0.ɵɵelementEnd();
|
|
61
71
|
} if (rf & 2) {
|
|
62
72
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
63
|
-
i0.ɵɵ
|
|
73
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 4, "Cannot continue because the service reported one or more errors or warnings"));
|
|
74
|
+
i0.ɵɵadvance(2);
|
|
64
75
|
i0.ɵɵproperty("ngIf", ctx_r0.hasErrors());
|
|
65
76
|
i0.ɵɵadvance(1);
|
|
66
77
|
i0.ɵɵproperty("ngIf", ctx_r0.hasErrors() && ctx_r0.hasWarnings());
|
|
@@ -117,11 +128,11 @@ CallbackErrorsComponent.TRIGGER_TEXT_START = 'Start';
|
|
|
117
128
|
CallbackErrorsComponent.TRIGGER_TEXT_GO = 'Go';
|
|
118
129
|
CallbackErrorsComponent.TRIGGER_TEXT_IGNORE = 'Ignore Warning and Go';
|
|
119
130
|
CallbackErrorsComponent.ɵfac = function CallbackErrorsComponent_Factory(t) { return new (t || CallbackErrorsComponent)(); };
|
|
120
|
-
CallbackErrorsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CallbackErrorsComponent, selectors: [["ccd-callback-errors"]], inputs: { triggerTextIgnore: "triggerTextIgnore", triggerTextContinue: "triggerTextContinue", callbackErrorsSubject: "callbackErrorsSubject" }, outputs: { callbackErrorsContext: "callbackErrorsContext" }, decls: 1, vars: 1, consts: [["class", "error-summary", "role", "group", "
|
|
121
|
-
i0.ɵɵtemplate(0, CallbackErrorsComponent_div_0_Template,
|
|
131
|
+
CallbackErrorsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CallbackErrorsComponent, selectors: [["ccd-callback-errors"]], inputs: { triggerTextIgnore: "triggerTextIgnore", triggerTextContinue: "triggerTextContinue", callbackErrorsSubject: "callbackErrorsSubject" }, outputs: { callbackErrorsContext: "callbackErrorsContext" }, decls: 1, vars: 1, consts: [["class", "error-summary", "role", "group", "tabindex", "-1", 4, "ngIf"], ["role", "group", "tabindex", "-1", 1, "error-summary"], [4, "ngIf"], [1, "heading-h3", "error-summary-heading"], ["id", "errors", 1, "error-summary-list"], [4, "ngFor", "ngForOf"], ["id", "warnings", 1, "error-summary-list"]], template: function CallbackErrorsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
132
|
+
i0.ɵɵtemplate(0, CallbackErrorsComponent_div_0_Template, 5, 6, "div", 0);
|
|
122
133
|
} if (rf & 2) {
|
|
123
134
|
i0.ɵɵproperty("ngIf", ctx.hasErrors() || ctx.hasWarnings());
|
|
124
|
-
} }, directives: [i1.NgIf, i1.NgForOf], encapsulation: 2 });
|
|
135
|
+
} }, directives: [i1.NgIf, i1.NgForOf], pipes: [i2.RpxTranslatePipe], encapsulation: 2 });
|
|
125
136
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CallbackErrorsComponent, [{
|
|
126
137
|
type: Component,
|
|
127
138
|
args: [{
|
|
@@ -137,4 +148,4 @@ CallbackErrorsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CallbackErrorsCom
|
|
|
137
148
|
}], callbackErrorsContext: [{
|
|
138
149
|
type: Output
|
|
139
150
|
}] }); })();
|
|
140
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
151
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsbGJhY2stZXJyb3JzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9lcnJvci9jYWxsYmFjay1lcnJvcnMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4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NvbnRhaW5lciAqbmdJZj1cImhhc1dhcm5pbmdzKClcIj5cbiAgICA8aDMgY2xhc3M9XCJoZWFkaW5nLWgzIGVycm9yLXN1bW1hcnktaGVhZGluZ1wiPlxuICAgICAge3snV2FybmluZ3MnIHwgcnB4VHJhbnNsYXRlfX1cbiAgICA8L2gzPlxuICAgIDx1bCBpZD1cIndhcm5pbmdzXCIgY2xhc3M9XCJlcnJvci1zdW1tYXJ5LWxpc3RcIj5cbiAgICAgIDxsaSAqbmdGb3I9XCJsZXQgd2FybmluZ01zZyBvZiBlcnJvci5jYWxsYmFja1dhcm5pbmdzXCI+XG4gICAgICAgIHt7d2FybmluZ01zZyB8IHJweFRyYW5zbGF0ZX19XG4gICAgICA8L2xpPlxuICAgIDwvdWw+XG4gIDwvbmctY29udGFpbmVyPlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { CommonModule } from '@angular/common';
|
|
2
2
|
import { NgModule } from '@angular/core';
|
|
3
3
|
import { RouterModule } from '@angular/router';
|
|
4
|
+
import { RpxTranslationModule } from 'rpx-xui-translation';
|
|
4
5
|
import { CallbackErrorsComponent } from './callback-errors.component';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "rpx-xui-translation";
|
|
6
8
|
export class ErrorsModule {
|
|
7
9
|
}
|
|
8
10
|
ErrorsModule.ɵfac = function ErrorsModule_Factory(t) { return new (t || ErrorsModule)(); };
|
|
@@ -10,15 +12,17 @@ ErrorsModule.ɵmod = i0.ɵɵdefineNgModule({ type: ErrorsModule });
|
|
|
10
12
|
ErrorsModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
11
13
|
CommonModule,
|
|
12
14
|
RouterModule,
|
|
15
|
+
RpxTranslationModule.forChild()
|
|
13
16
|
]] });
|
|
14
17
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ErrorsModule, { declarations: [CallbackErrorsComponent], imports: [CommonModule,
|
|
15
|
-
RouterModule], exports: [CallbackErrorsComponent] }); })();
|
|
18
|
+
RouterModule, i1.RpxTranslationModule], exports: [CallbackErrorsComponent] }); })();
|
|
16
19
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ErrorsModule, [{
|
|
17
20
|
type: NgModule,
|
|
18
21
|
args: [{
|
|
19
22
|
imports: [
|
|
20
23
|
CommonModule,
|
|
21
24
|
RouterModule,
|
|
25
|
+
RpxTranslationModule.forChild()
|
|
22
26
|
],
|
|
23
27
|
declarations: [
|
|
24
28
|
CallbackErrorsComponent
|
|
@@ -28,4 +32,4 @@ ErrorsModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
28
32
|
]
|
|
29
33
|
}]
|
|
30
34
|
}], null, null); })();
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3JzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9lcnJvci9lcnJvcnMubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQzs7O0FBZX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BleHBvcnRzOiBbXG4gICAgQ2FsbGJhY2tFcnJvcnNDb21wb25lbnQsXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgRXJyb3JzTW9kdWxlIHt9XG4iXX0=
|
|
@@ -5,17 +5,20 @@ import { Component, Input } from '@angular/core';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "@angular/common";
|
|
7
7
|
import * as i2 from "@angular/router";
|
|
8
|
+
import * as i3 from "rpx-xui-translation";
|
|
8
9
|
function ErrorMessageComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
9
10
|
i0.ɵɵelementContainerStart(0);
|
|
10
11
|
i0.ɵɵelementStart(1, "div", 1);
|
|
11
12
|
i0.ɵɵelementStart(2, "h2", 2);
|
|
12
13
|
i0.ɵɵtext(3);
|
|
14
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
13
15
|
i0.ɵɵelementEnd();
|
|
14
|
-
i0.ɵɵelementStart(
|
|
15
|
-
i0.ɵɵelementStart(
|
|
16
|
-
i0.ɵɵelementStart(
|
|
17
|
-
i0.ɵɵelementStart(
|
|
18
|
-
i0.ɵɵtext(
|
|
16
|
+
i0.ɵɵelementStart(5, "div", 3);
|
|
17
|
+
i0.ɵɵelementStart(6, "ul", 4);
|
|
18
|
+
i0.ɵɵelementStart(7, "li");
|
|
19
|
+
i0.ɵɵelementStart(8, "a", 5);
|
|
20
|
+
i0.ɵɵtext(9);
|
|
21
|
+
i0.ɵɵpipe(10, "rpxTranslate");
|
|
19
22
|
i0.ɵɵelementEnd();
|
|
20
23
|
i0.ɵɵelementEnd();
|
|
21
24
|
i0.ɵɵelementEnd();
|
|
@@ -25,20 +28,20 @@ function ErrorMessageComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
25
28
|
} if (rf & 2) {
|
|
26
29
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
27
30
|
i0.ɵɵadvance(3);
|
|
28
|
-
i0.ɵɵtextInterpolate(ctx_r0.error.title);
|
|
29
|
-
i0.ɵɵadvance(
|
|
31
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 3, ctx_r0.error.title));
|
|
32
|
+
i0.ɵɵadvance(5);
|
|
30
33
|
i0.ɵɵproperty("fragment", ctx_r0.error.fieldId);
|
|
31
34
|
i0.ɵɵadvance(1);
|
|
32
|
-
i0.ɵɵtextInterpolate(ctx_r0.error.description);
|
|
35
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 5, ctx_r0.error.description));
|
|
33
36
|
} }
|
|
34
37
|
export class ErrorMessageComponent {
|
|
35
38
|
}
|
|
36
39
|
ErrorMessageComponent.ɵfac = function ErrorMessageComponent_Factory(t) { return new (t || ErrorMessageComponent)(); };
|
|
37
40
|
ErrorMessageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ErrorMessageComponent, selectors: [["exui-error-message"]], inputs: { error: "error" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["routerLink", ".", 3, "fragment"]], template: function ErrorMessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
-
i0.ɵɵtemplate(0, ErrorMessageComponent_ng_container_0_Template,
|
|
41
|
+
i0.ɵɵtemplate(0, ErrorMessageComponent_ng_container_0_Template, 11, 7, "ng-container", 0);
|
|
39
42
|
} if (rf & 2) {
|
|
40
43
|
i0.ɵɵproperty("ngIf", ctx.error);
|
|
41
|
-
} }, directives: [i1.NgIf, i2.RouterLinkWithHref], encapsulation: 2 });
|
|
44
|
+
} }, directives: [i1.NgIf, i2.RouterLinkWithHref], pipes: [i3.RpxTranslatePipe], encapsulation: 2 });
|
|
42
45
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ErrorMessageComponent, [{
|
|
43
46
|
type: Component,
|
|
44
47
|
args: [{
|
|
@@ -48,4 +51,4 @@ ErrorMessageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ErrorMessageCompone
|
|
|
48
51
|
}], null, { error: [{
|
|
49
52
|
type: Input
|
|
50
53
|
}] }); })();
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
54
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3ItbWVzc2FnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvZXJyb3ItbWVzc2FnZS9lcnJvci1tZXNzYWdlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9lcnJvci1tZXNzYWdlL2Vycm9yLW1lc3NhZ2UuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFDSCxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7O0lDRmpELDZCQUE0QjtJQUMxQiw4QkFBb0k7SUFDbEksNkJBQWdFO0lBQUEsWUFBOEI7O0lBQUEsaUJBQUs7SUFDbkcsOEJBQXVDO0lBQ3JDLDZCQUFpRDtJQUMvQywwQkFBSTtJQUNGLDRCQUE2QztJQUFBLFlBQW9DOztJQUFBLGlCQUFJO0lBQ3ZGLGlCQUFLO0lBQ1AsaUJBQUs7SUFDUCxpQkFBTTtJQUNSLGlCQUFNO0lBQ1IsMEJBQWU7OztJQVRxRCxlQUE4Qj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rLWVycm9yLXN1bW1hcnlcIiBhcmlhLWxhYmVsbGVkYnk9XCJlcnJvci1zdW1tYXJ5LXRpdGxlXCIgcm9sZT1cImFsZXJ0XCIgdGFiaW5kZXg9XCItMVwiIGRhdGEtbW9kdWxlPVwiZ292dWstZXJyb3Itc3VtbWFyeVwiPlxuICAgIDxoMiBjbGFzcz1cImdvdnVrLWVycm9yLXN1bW1hcnlfX3RpdGxlXCIgaWQ9XCJlcnJvci1zdW1tYXJ5LXRpdGxlXCI+e3tlcnJvci50aXRsZSB8IHJweFRyYW5zbGF0ZX19PC9oMj5cbiAgICA8ZGl2IGNsYXNzPVwiZ292dWstZXJyb3Itc3VtbWFyeV9fYm9keVwiPlxuICAgICAgPHVsIGNsYXNzPVwiZ292dWstbGlzdCBnb3Z1ay1lcnJvci1zdW1tYXJ5X19saXN0XCI+XG4gICAgICAgIDxsaT5cbiAgICAgICAgICA8YSByb3V0ZXJMaW5rPVwiLlwiIFtmcmFnbWVudF09XCJlcnJvci5maWVsZElkXCI+e3tlcnJvci5kZXNjcmlwdGlvbiB8IHJweFRyYW5zbGF0ZX19PC9hPlxuICAgICAgICA8L2xpPlxuICAgICAgPC91bD5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -2,9 +2,11 @@ import { CommonModule } from '@angular/common';
|
|
|
2
2
|
import { NgModule } from '@angular/core';
|
|
3
3
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
4
4
|
import { RouterModule } from '@angular/router';
|
|
5
|
+
import { RpxTranslationModule } from 'rpx-xui-translation';
|
|
5
6
|
import { ActivityModule } from '../activity';
|
|
6
7
|
import { ErrorMessageComponent } from './error-message.component';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "rpx-xui-translation";
|
|
8
10
|
export class EventMessageModule {
|
|
9
11
|
}
|
|
10
12
|
EventMessageModule.ɵfac = function EventMessageModule_Factory(t) { return new (t || EventMessageModule)(); };
|
|
@@ -13,12 +15,13 @@ EventMessageModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
13
15
|
CommonModule,
|
|
14
16
|
ReactiveFormsModule,
|
|
15
17
|
RouterModule,
|
|
16
|
-
ActivityModule
|
|
18
|
+
ActivityModule,
|
|
19
|
+
RpxTranslationModule.forChild()
|
|
17
20
|
]] });
|
|
18
21
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(EventMessageModule, { declarations: [ErrorMessageComponent], imports: [CommonModule,
|
|
19
22
|
ReactiveFormsModule,
|
|
20
23
|
RouterModule,
|
|
21
|
-
ActivityModule], exports: [ErrorMessageComponent] }); })();
|
|
24
|
+
ActivityModule, i1.RpxTranslationModule], exports: [ErrorMessageComponent] }); })();
|
|
22
25
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventMessageModule, [{
|
|
23
26
|
type: NgModule,
|
|
24
27
|
args: [{
|
|
@@ -26,7 +29,8 @@ EventMessageModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
26
29
|
CommonModule,
|
|
27
30
|
ReactiveFormsModule,
|
|
28
31
|
RouterModule,
|
|
29
|
-
ActivityModule
|
|
32
|
+
ActivityModule,
|
|
33
|
+
RpxTranslationModule.forChild()
|
|
30
34
|
],
|
|
31
35
|
declarations: [
|
|
32
36
|
ErrorMessageComponent
|
|
@@ -36,4 +40,4 @@ EventMessageModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
36
40
|
]
|
|
37
41
|
}]
|
|
38
42
|
}], null, null); })();
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3ItbWVzc2FnZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm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';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/router";
|
|
5
|
+
import * as i2 from "rpx-xui-translation";
|
|
5
6
|
const _c0 = function (a3) { return ["/", "cases", "case-details", a3, "tasks"]; };
|
|
6
7
|
export class MultipleTasksExistComponent {
|
|
7
8
|
constructor(route) {
|
|
@@ -10,41 +11,59 @@ export class MultipleTasksExistComponent {
|
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
MultipleTasksExistComponent.ɵfac = function MultipleTasksExistComponent_Factory(t) { return new (t || MultipleTasksExistComponent)(i0.ɵɵdirectiveInject(i1.ActivatedRoute)); };
|
|
13
|
-
MultipleTasksExistComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MultipleTasksExistComponent, selectors: [["app-multiple-tasks-exist"]], decls:
|
|
14
|
+
MultipleTasksExistComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MultipleTasksExistComponent, selectors: [["app-multiple-tasks-exist"]], decls: 24, vars: 21, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function MultipleTasksExistComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14
15
|
i0.ɵɵelementStart(0, "div", 0);
|
|
15
16
|
i0.ɵɵelementStart(1, "div", 1);
|
|
16
17
|
i0.ɵɵelementStart(2, "h2", 2);
|
|
17
|
-
i0.ɵɵtext(3
|
|
18
|
+
i0.ɵɵtext(3);
|
|
19
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
18
20
|
i0.ɵɵelementEnd();
|
|
19
|
-
i0.ɵɵelementStart(
|
|
20
|
-
i0.ɵɵelementStart(
|
|
21
|
-
i0.ɵɵelementStart(
|
|
22
|
-
i0.ɵɵelementStart(
|
|
23
|
-
i0.ɵɵtext(
|
|
21
|
+
i0.ɵɵelementStart(5, "div", 3);
|
|
22
|
+
i0.ɵɵelementStart(6, "ul", 4);
|
|
23
|
+
i0.ɵɵelementStart(7, "li");
|
|
24
|
+
i0.ɵɵelementStart(8, "a", 5);
|
|
25
|
+
i0.ɵɵtext(9);
|
|
26
|
+
i0.ɵɵpipe(10, "rpxTranslate");
|
|
24
27
|
i0.ɵɵelementEnd();
|
|
25
28
|
i0.ɵɵelementEnd();
|
|
26
29
|
i0.ɵɵelementEnd();
|
|
27
30
|
i0.ɵɵelementEnd();
|
|
28
31
|
i0.ɵɵelementEnd();
|
|
29
|
-
i0.ɵɵelementStart(
|
|
30
|
-
i0.ɵɵelementStart(
|
|
31
|
-
i0.ɵɵtext(
|
|
32
|
+
i0.ɵɵelementStart(11, "div", 6);
|
|
33
|
+
i0.ɵɵelementStart(12, "h2", 7);
|
|
34
|
+
i0.ɵɵtext(13);
|
|
35
|
+
i0.ɵɵpipe(14, "rpxTranslate");
|
|
32
36
|
i0.ɵɵelementEnd();
|
|
33
|
-
i0.ɵɵelementStart(
|
|
34
|
-
i0.ɵɵtext(
|
|
37
|
+
i0.ɵɵelementStart(15, "p");
|
|
38
|
+
i0.ɵɵtext(16);
|
|
39
|
+
i0.ɵɵpipe(17, "rpxTranslate");
|
|
35
40
|
i0.ɵɵelementEnd();
|
|
36
|
-
i0.ɵɵelementStart(
|
|
37
|
-
i0.ɵɵtext(
|
|
41
|
+
i0.ɵɵelementStart(18, "p");
|
|
42
|
+
i0.ɵɵtext(19);
|
|
43
|
+
i0.ɵɵpipe(20, "rpxTranslate");
|
|
38
44
|
i0.ɵɵelementEnd();
|
|
39
|
-
i0.ɵɵelementStart(
|
|
40
|
-
i0.ɵɵtext(
|
|
45
|
+
i0.ɵɵelementStart(21, "a", 8);
|
|
46
|
+
i0.ɵɵtext(22);
|
|
47
|
+
i0.ɵɵpipe(23, "rpxTranslate");
|
|
41
48
|
i0.ɵɵelementEnd();
|
|
42
49
|
i0.ɵɵelementEnd();
|
|
43
50
|
i0.ɵɵelementEnd();
|
|
44
51
|
} if (rf & 2) {
|
|
45
|
-
i0.ɵɵadvance(
|
|
46
|
-
i0.ɵɵ
|
|
47
|
-
|
|
52
|
+
i0.ɵɵadvance(3);
|
|
53
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 7, "There is a problem"), " ");
|
|
54
|
+
i0.ɵɵadvance(6);
|
|
55
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 9, "Multiple tasks exist"));
|
|
56
|
+
i0.ɵɵadvance(4);
|
|
57
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 11, "Multiple tasks exist"), " ");
|
|
58
|
+
i0.ɵɵadvance(3);
|
|
59
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 13, "You're starting work which could complete more than one of the active tasks for this case."));
|
|
60
|
+
i0.ɵɵadvance(3);
|
|
61
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 15, "Return to tasks tab and start the event from there."));
|
|
62
|
+
i0.ɵɵadvance(2);
|
|
63
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(19, _c0, ctx.caseId));
|
|
64
|
+
i0.ɵɵadvance(1);
|
|
65
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, "Return to tasks tab"));
|
|
66
|
+
} }, directives: [i1.RouterLinkWithHref], pipes: [i2.RpxTranslatePipe], encapsulation: 2 });
|
|
48
67
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultipleTasksExistComponent, [{
|
|
49
68
|
type: Component,
|
|
50
69
|
args: [{
|
|
@@ -52,4 +71,4 @@ MultipleTasksExistComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MultipleTasks
|
|
|
52
71
|
templateUrl: './multiple-tasks-exist.component.html'
|
|
53
72
|
}]
|
|
54
73
|
}], function () { return [{ type: i1.ActivatedRoute }]; }, null); })();
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXVsdGlwbGUtdGFza3MtZXhpc3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL2V2ZW50LXN0YXJ0L2NvbXBvbmVudHMvbXVsdGlwbGUtdGFza3MtZXhpc3QvbXVsdGlwbGUtdGFza3MtZXhpc3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL2V2ZW50LXN0YXJ0L2NvbXBvbmVudHMvbXVsdGlwbGUtdGFza3MtZXhpc3QvbXVsdGlwbGUtdGFza3MtZXhpc3QuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxQyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0saUJBQWlCLENBQUM7Ozs7O0FBTWpELE1BQU0sT0FBTywyQkFBMkI7SUFJdEMsWUFBNkIsS0FBcUI7UUFBckIsVUFBSyxHQUFMLEtBQUssQ0FBZ0I7UUFDaEQsSUFBSSxDQUFDLE1BQU0sR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQztJQUN0RCxDQUFDOztzR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