@hmcts/rpx-xui-common-lib 2.0.2-pre-release-include-user-access-type → 2.0.2-pre-release-accessibility-updated-version
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-rpx-xui-common-lib.umd.js +6257 -0
- package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +1 -0
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +2 -0
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +1 -0
- package/esm2015/hmcts-rpx-xui-common-lib.js +77 -0
- package/esm2015/lib/components/accessibility/accessibility.component.js +27 -0
- package/esm2015/lib/components/checkbox-list/checkbox-list.component.js +185 -0
- package/esm2015/lib/components/contact-details/contact-details.component.js +17 -0
- package/esm2015/lib/components/cookie-banner/cookie-banner.component.js +68 -0
- package/esm2015/lib/components/due-date/due-date.component.js +123 -0
- package/esm2015/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +28 -0
- package/esm2015/lib/components/find-location/find-location.component.js +146 -0
- package/esm2015/lib/components/find-person/find-person.component.js +120 -0
- package/esm2015/lib/components/find-service/find-service.component.js +113 -0
- package/esm2015/lib/components/find-task-name/find-task-name.component.js +97 -0
- package/esm2015/lib/components/generic-filter/generic-filter.component.js +629 -0
- package/esm2015/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +27 -0
- package/esm2015/lib/components/invite-user-form/invite-user-form.component.js +25 -0
- package/esm2015/lib/components/invite-user-permissions/invite-user-permission.component.js +25 -0
- package/esm2015/lib/components/loading-spinner/loading-spinner.component.js +26 -0
- package/esm2015/lib/components/pagination/pagination.component.js +28 -0
- package/esm2015/lib/components/search-judicials/search-judicials.component.js +126 -0
- package/esm2015/lib/components/search-location/search-location.component.js +135 -0
- package/esm2015/lib/components/search-service/search-service.component.js +42 -0
- package/esm2015/lib/components/search-venue/search-venue.component.js +123 -0
- package/esm2015/lib/components/selected-case/selected-case.component.js +158 -0
- package/esm2015/lib/components/selected-case-confirm/selected-case-confirm.component.js +36 -0
- package/esm2015/lib/components/selected-case-list/selected-case-list.component.js +49 -0
- package/esm2015/lib/components/service-message/service-message.component.js +22 -0
- package/esm2015/lib/components/service-messages/service-messages.component.js +48 -0
- package/esm2015/lib/components/share-case/share-case.component.js +205 -0
- package/esm2015/lib/components/share-case-confirm/share-case-confirm.component.js +34 -0
- package/esm2015/lib/components/tab/tab.component.js +21 -0
- package/esm2015/lib/components/tc-confirm/tc-confirm.component.js +22 -0
- package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +13 -0
- package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +13 -0
- package/esm2015/lib/components/terms-and-conditions/terms-and-conditions.component.js +16 -0
- package/esm2015/lib/components/user-details/user-details.component.js +41 -0
- package/esm2015/lib/components/user-list/user-list.component.js +33 -0
- package/esm2015/lib/components/user-select/user-select.component.js +58 -0
- package/esm2015/lib/components/write-address/write-address.component.js +182 -0
- package/esm2015/lib/components/write-address-inputs/write-address-inputs.component.js +36 -0
- package/esm2015/lib/directives/feature-toggle/feature-toggle.directive.js +42 -0
- package/esm2015/lib/directives/let/let.directive.js +30 -0
- package/esm2015/lib/exui-common-lib.module.js +174 -0
- package/esm2015/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +31 -0
- package/esm2015/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +60 -0
- package/esm2015/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +64 -0
- package/esm2015/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +22 -0
- package/esm2015/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +28 -0
- package/esm2015/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +35 -0
- package/esm2015/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +23 -0
- package/esm2015/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +34 -0
- package/esm2015/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +22 -0
- package/esm2015/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +33 -0
- package/esm2015/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +21 -0
- package/esm2015/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +27 -0
- package/esm2015/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +39 -0
- package/esm2015/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +27 -0
- package/esm2015/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +23 -0
- package/esm2015/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +48 -0
- package/esm2015/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +19 -0
- package/esm2015/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +41 -0
- package/esm2015/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +28 -0
- package/esm2015/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +23 -0
- package/esm2015/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +15 -0
- package/esm2015/lib/gov-ui/directives/remove-host.directive.js +29 -0
- package/esm2015/lib/gov-ui/gov-ui.service.js +13 -0
- package/{esm2020/lib/models/public_api.mjs → esm2015/lib/models/public_api.js} +1 -2
- package/esm2015/lib/models/user-details.model.js +2 -0
- package/esm2015/lib/pipes/capitalize/capitalize.pipe.js +11 -0
- package/esm2015/lib/services/address/address.service.js +50 -0
- package/esm2015/lib/services/case-sharing-state/case-sharing-state.service.js +157 -0
- package/esm2015/lib/services/cookie/cookie.service.js +47 -0
- package/esm2015/lib/services/feature-toggle/feature-toggle.guard.js +36 -0
- package/esm2015/lib/services/feature-toggle/feature-toggle.service.js +27 -0
- package/{esm2020/lib/services/feature-toggle/launch-darkly.service.mjs → esm2015/lib/services/feature-toggle/launch-darkly.service.js} +6 -8
- package/{esm2020/lib/services/filter/filter.service.mjs → esm2015/lib/services/filter/filter.service.js} +6 -8
- package/esm2015/lib/services/find-person/find-person.service.js +115 -0
- package/esm2015/lib/services/google-analytics/google-analytics.service.js +68 -0
- package/esm2015/lib/services/google-tag-manager/google-tag-manager.service.js +71 -0
- package/{esm2020/lib/services/loading/loading.service.mjs → esm2015/lib/services/loading/loading.service.js} +6 -8
- package/esm2015/lib/services/locations/location.service.js +39 -0
- package/{esm2020/lib/services/manage-session/manage-session.services.mjs → esm2015/lib/services/manage-session/manage-session.services.js} +10 -8
- package/esm2015/lib/services/ref-data/ref-data-data-access/ref-data-data-access.service.js +34 -0
- package/{esm2020/lib/services/ref-data/ref-data.service.mjs → esm2015/lib/services/ref-data/ref-data.service.js} +9 -8
- package/{esm2020/lib/services/role-guard/role.guard.mjs → esm2015/lib/services/role-guard/role.guard.js} +10 -8
- package/esm2015/lib/services/role-guard/role.service.js +20 -0
- package/{esm2020/lib/services/storage/session-storage/session-storage.service.mjs → esm2015/lib/services/storage/session-storage/session-storage.service.js} +6 -8
- package/{esm2020/lib/services/task-name/task-name.service.mjs → esm2015/lib/services/task-name/task-name.service.js} +10 -8
- package/{esm2020/lib/services/timeout-notifications/timeout-notifications.service.mjs → esm2015/lib/services/timeout-notifications/timeout-notifications.service.js} +10 -8
- package/fesm2015/hmcts-rpx-xui-common-lib.js +5227 -0
- package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -0
- package/hmcts-rpx-xui-common-lib.d.ts +76 -0
- package/hmcts-rpx-xui-common-lib.metadata.json +1 -0
- package/lib/components/accessibility/accessibility.component.d.ts +4 -4
- package/lib/components/checkbox-list/checkbox-list.component.d.ts +0 -3
- package/lib/components/contact-details/contact-details.component.d.ts +0 -3
- package/lib/components/cookie-banner/cookie-banner.component.d.ts +1 -6
- package/lib/components/due-date/due-date.component.d.ts +0 -3
- package/lib/components/exui-main-wrapper/exui-page-wrapper.component.d.ts +0 -3
- package/lib/components/find-location/find-location.component.d.ts +0 -3
- package/lib/components/find-person/find-person.component.d.ts +0 -3
- package/lib/components/find-service/find-service.component.d.ts +0 -3
- package/lib/components/find-task-name/find-task-name.component.d.ts +0 -3
- package/lib/components/generic-filter/generic-filter.component.d.ts +0 -3
- package/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.d.ts +0 -3
- package/lib/components/invite-user-form/invite-user-form.component.d.ts +0 -3
- package/lib/components/invite-user-permissions/invite-user-permission.component.d.ts +0 -3
- package/lib/components/loading-spinner/loading-spinner.component.d.ts +0 -3
- package/lib/components/pagination/pagination.component.d.ts +0 -3
- package/lib/components/search-judicials/search-judicials.component.d.ts +0 -3
- package/lib/components/search-location/search-location.component.d.ts +1 -4
- package/lib/components/search-service/search-service.component.d.ts +1 -4
- package/lib/components/search-venue/search-venue.component.d.ts +0 -3
- package/lib/components/selected-case/selected-case.component.d.ts +0 -3
- package/lib/components/selected-case-confirm/selected-case-confirm.component.d.ts +0 -3
- package/lib/components/selected-case-list/selected-case-list.component.d.ts +0 -3
- package/lib/components/service-message/service-message.component.d.ts +0 -3
- package/lib/components/service-messages/service-messages.component.d.ts +0 -3
- package/lib/components/share-case/share-case.component.d.ts +0 -3
- package/lib/components/share-case-confirm/share-case-confirm.component.d.ts +0 -3
- package/lib/components/tab/tab.component.d.ts +0 -3
- package/lib/components/tc-confirm/tc-confirm.component.d.ts +0 -3
- package/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.d.ts +0 -3
- package/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.d.ts +0 -3
- package/lib/components/terms-and-conditions/terms-and-conditions.component.d.ts +0 -3
- package/lib/components/user-details/user-details.component.d.ts +0 -3
- package/lib/components/user-list/user-list.component.d.ts +0 -3
- package/lib/components/user-select/user-select.component.d.ts +2 -5
- package/lib/components/write-address/write-address.component.d.ts +0 -3
- package/lib/components/write-address-inputs/write-address-inputs.component.d.ts +3 -3
- package/lib/directives/feature-toggle/feature-toggle.directive.d.ts +0 -3
- package/lib/directives/let/let.directive.d.ts +0 -3
- package/lib/exui-common-lib.module.d.ts +3 -77
- package/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.d.ts +0 -3
- package/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.d.ts +0 -3
- package/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.d.ts +0 -3
- package/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.d.ts +0 -3
- package/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.d.ts +0 -3
- package/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.d.ts +0 -3
- package/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.d.ts +0 -3
- package/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.d.ts +0 -3
- package/lib/gov-ui/directives/remove-host.directive.d.ts +0 -3
- package/lib/gov-ui/gov-ui.service.d.ts +0 -3
- package/lib/models/feature-user.d.ts +1 -1
- package/lib/models/filter.model.d.ts +2 -2
- package/lib/models/public_api.d.ts +0 -1
- package/lib/models/user-details.model.d.ts +0 -2
- package/lib/pipes/capitalize/capitalize.pipe.d.ts +0 -3
- package/lib/services/address/address.service.d.ts +0 -3
- package/lib/services/case-sharing-state/case-sharing-state.service.d.ts +0 -3
- package/lib/services/cookie/cookie.service.d.ts +0 -3
- package/lib/services/feature-toggle/feature-toggle.guard.d.ts +0 -3
- package/lib/services/feature-toggle/feature-toggle.service.d.ts +0 -3
- package/lib/services/feature-toggle/launch-darkly.service.d.ts +0 -3
- package/lib/services/filter/filter.service.d.ts +0 -3
- package/lib/services/find-person/find-person.service.d.ts +0 -3
- package/lib/services/google-analytics/google-analytics.service.d.ts +0 -3
- package/lib/services/google-tag-manager/google-tag-manager.service.d.ts +0 -3
- package/lib/services/loading/loading.service.d.ts +0 -3
- package/lib/services/locations/location.service.d.ts +0 -3
- package/lib/services/manage-session/manage-session.services.d.ts +0 -3
- package/lib/services/ref-data/ref-data-data-access/ref-data-data-access.service.d.ts +0 -3
- package/lib/services/ref-data/ref-data.service.d.ts +0 -3
- package/lib/services/role-guard/role.guard.d.ts +0 -3
- package/lib/services/role-guard/role.service.d.ts +2 -5
- package/lib/services/storage/session-storage/session-storage.service.d.ts +0 -3
- package/lib/services/task-name/task-name.service.d.ts +0 -3
- package/lib/services/timeout-notifications/timeout-notifications.service.d.ts +0 -3
- package/package.json +9 -24
- package/esm2020/hmcts-rpx-xui-common-lib.mjs +0 -5
- package/esm2020/lib/components/accessibility/accessibility.component.mjs +0 -486
- package/esm2020/lib/components/checkbox-list/checkbox-list.component.mjs +0 -231
- package/esm2020/lib/components/contact-details/contact-details.component.mjs +0 -107
- package/esm2020/lib/components/cookie-banner/cookie-banner.component.mjs +0 -144
- package/esm2020/lib/components/due-date/due-date.component.mjs +0 -140
- package/esm2020/lib/components/exui-main-wrapper/exui-page-wrapper.component.mjs +0 -79
- package/esm2020/lib/components/find-location/find-location.component.mjs +0 -219
- package/esm2020/lib/components/find-person/find-person.component.mjs +0 -234
- package/esm2020/lib/components/find-service/find-service.component.mjs +0 -187
- package/esm2020/lib/components/find-task-name/find-task-name.component.mjs +0 -200
- package/esm2020/lib/components/generic-filter/generic-filter.component.mjs +0 -1198
- package/esm2020/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.mjs +0 -55
- package/esm2020/lib/components/invite-user-form/invite-user-form.component.mjs +0 -50
- package/esm2020/lib/components/invite-user-permissions/invite-user-permission.component.mjs +0 -54
- package/esm2020/lib/components/loading-spinner/loading-spinner.component.mjs +0 -32
- package/esm2020/lib/components/pagination/pagination.component.mjs +0 -93
- package/esm2020/lib/components/search-judicials/search-judicials.component.mjs +0 -184
- package/esm2020/lib/components/search-location/search-location.component.mjs +0 -205
- package/esm2020/lib/components/search-service/search-service.component.mjs +0 -81
- package/esm2020/lib/components/search-venue/search-venue.component.mjs +0 -188
- package/esm2020/lib/components/selected-case/selected-case.component.mjs +0 -380
- package/esm2020/lib/components/selected-case-confirm/selected-case-confirm.component.mjs +0 -130
- package/esm2020/lib/components/selected-case-list/selected-case-list.component.mjs +0 -98
- package/esm2020/lib/components/service-message/service-message.component.mjs +0 -50
- package/esm2020/lib/components/service-messages/service-messages.component.mjs +0 -75
- package/esm2020/lib/components/share-case/share-case.component.mjs +0 -410
- package/esm2020/lib/components/share-case-confirm/share-case-confirm.component.mjs +0 -85
- package/esm2020/lib/components/tab/tab.component.mjs +0 -39
- package/esm2020/lib/components/tc-confirm/tc-confirm.component.mjs +0 -65
- package/esm2020/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.mjs +0 -16
- package/esm2020/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.mjs +0 -16
- package/esm2020/lib/components/terms-and-conditions/terms-and-conditions.component.mjs +0 -59
- package/esm2020/lib/components/user-details/user-details.component.mjs +0 -265
- package/esm2020/lib/components/user-list/user-list.component.mjs +0 -99
- package/esm2020/lib/components/user-select/user-select.component.mjs +0 -92
- package/esm2020/lib/components/write-address/write-address.component.mjs +0 -345
- package/esm2020/lib/components/write-address-inputs/write-address-inputs.component.mjs +0 -165
- package/esm2020/lib/directives/feature-toggle/feature-toggle.directive.mjs +0 -41
- package/esm2020/lib/directives/let/let.directive.mjs +0 -29
- package/esm2020/lib/exui-common-lib.module.mjs +0 -313
- package/esm2020/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.mjs +0 -54
- package/esm2020/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.mjs +0 -136
- package/esm2020/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.mjs +0 -120
- package/esm2020/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.mjs +0 -45
- package/esm2020/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.mjs +0 -80
- package/esm2020/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.mjs +0 -78
- package/esm2020/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.mjs +0 -45
- package/esm2020/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.mjs +0 -70
- package/esm2020/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.mjs +0 -84
- package/esm2020/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.mjs +0 -47
- package/esm2020/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.mjs +0 -41
- package/esm2020/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.mjs +0 -79
- package/esm2020/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.mjs +0 -188
- package/esm2020/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.mjs +0 -56
- package/esm2020/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.mjs +0 -112
- package/esm2020/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.mjs +0 -141
- package/esm2020/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.mjs +0 -33
- package/esm2020/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.mjs +0 -130
- package/esm2020/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.mjs +0 -204
- package/esm2020/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.mjs +0 -59
- package/esm2020/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.mjs +0 -57
- package/esm2020/lib/gov-ui/directives/remove-host.directive.mjs +0 -30
- package/esm2020/lib/gov-ui/gov-ui.service.mjs +0 -14
- package/esm2020/lib/models/user-access-type.model.mjs +0 -2
- package/esm2020/lib/models/user-details.model.mjs +0 -2
- package/esm2020/lib/pipes/capitalize/capitalize.pipe.mjs +0 -15
- package/esm2020/lib/services/address/address.service.mjs +0 -55
- package/esm2020/lib/services/case-sharing-state/case-sharing-state.service.mjs +0 -170
- package/esm2020/lib/services/cookie/cookie.service.mjs +0 -48
- package/esm2020/lib/services/feature-toggle/feature-toggle.guard.mjs +0 -34
- package/esm2020/lib/services/feature-toggle/feature-toggle.service.mjs +0 -29
- package/esm2020/lib/services/find-person/find-person.service.mjs +0 -114
- package/esm2020/lib/services/google-analytics/google-analytics.service.mjs +0 -68
- package/esm2020/lib/services/google-tag-manager/google-tag-manager.service.mjs +0 -71
- package/esm2020/lib/services/locations/location.service.mjs +0 -38
- package/esm2020/lib/services/ref-data/ref-data-data-access/ref-data-data-access.service.mjs +0 -33
- package/esm2020/lib/services/role-guard/role.service.mjs +0 -22
- package/fesm2015/hmcts-rpx-xui-common-lib.mjs +0 -10735
- package/fesm2015/hmcts-rpx-xui-common-lib.mjs.map +0 -1
- package/fesm2020/hmcts-rpx-xui-common-lib.mjs +0 -9774
- package/fesm2020/hmcts-rpx-xui-common-lib.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/models/user-access-type.model.d.ts +0 -6
- /package/{esm2020/lib/components/generic-filter/generic-filter-utils.mjs → esm2015/lib/components/generic-filter/generic-filter-utils.js} +0 -0
- /package/{esm2020/lib/components/index.mjs → esm2015/lib/components/index.js} +0 -0
- /package/{esm2020/lib/components/public_api.mjs → esm2015/lib/components/public_api.js} +0 -0
- /package/{esm2020/lib/directives/index.mjs → esm2015/lib/directives/index.js} +0 -0
- /package/{esm2020/lib/directives/public-api.mjs → esm2015/lib/directives/public-api.js} +0 -0
- /package/{esm2020/lib/gov-ui/components/hmcts-banner/hmcts-banner-info.interface.mjs → esm2015/lib/gov-ui/components/hmcts-banner/hmcts-banner-info.interface.js} +0 -0
- /package/{esm2020/lib/gov-ui/components/index.mjs → esm2015/lib/gov-ui/components/index.js} +0 -0
- /package/{esm2020/lib/gov-ui/components/public_api.mjs → esm2015/lib/gov-ui/components/public_api.js} +0 -0
- /package/{esm2020/lib/gov-ui/index.mjs → esm2015/lib/gov-ui/index.js} +0 -0
- /package/{esm2020/lib/gov-ui/models/checkboxes-model.mjs → esm2015/lib/gov-ui/models/checkboxes-model.js} +0 -0
- /package/{esm2020/lib/gov-ui/models/error-messages-model.mjs → esm2015/lib/gov-ui/models/error-messages-model.js} +0 -0
- /package/{esm2020/lib/gov-ui/models/gov-ui-config-model.mjs → esm2015/lib/gov-ui/models/gov-ui-config-model.js} +0 -0
- /package/{esm2020/lib/gov-ui/models/index.mjs → esm2015/lib/gov-ui/models/index.js} +0 -0
- /package/{esm2020/lib/gov-ui/models/isession-storage.interface.mjs → esm2015/lib/gov-ui/models/isession-storage.interface.js} +0 -0
- /package/{esm2020/lib/gov-ui/models/public_api.mjs → esm2015/lib/gov-ui/models/public_api.js} +0 -0
- /package/{esm2020/lib/gov-ui/models/radio-buttons.model.mjs → esm2015/lib/gov-ui/models/radio-buttons.model.js} +0 -0
- /package/{esm2020/lib/gov-ui/public_api.mjs → esm2015/lib/gov-ui/public_api.js} +0 -0
- /package/{esm2020/lib/gov-ui/util/helpers/html-templates.helper.mjs → esm2015/lib/gov-ui/util/helpers/html-templates.helper.js} +0 -0
- /package/{esm2020/lib/gov-ui/util/session-storage/session-storage-utils.mjs → esm2015/lib/gov-ui/util/session-storage/session-storage-utils.js} +0 -0
- /package/{esm2020/lib/gov-ui/validators/checkboxes-be-checked.validator.mjs → esm2015/lib/gov-ui/validators/checkboxes-be-checked.validator.js} +0 -0
- /package/{esm2020/lib/gov-ui/validators/date.validator.mjs → esm2015/lib/gov-ui/validators/date.validator.js} +0 -0
- /package/{esm2020/lib/gov-ui/validators/index.mjs → esm2015/lib/gov-ui/validators/index.js} +0 -0
- /package/{esm2020/lib/gov-ui/validators/public_api.mjs → esm2015/lib/gov-ui/validators/public_api.js} +0 -0
- /package/{esm2020/lib/gov-ui/validators/radio-group.validator.mjs → esm2015/lib/gov-ui/validators/radio-group.validator.js} +0 -0
- /package/{esm2020/lib/models/address-message.enum.mjs → esm2015/lib/models/address-message.enum.js} +0 -0
- /package/{esm2020/lib/models/address-option.model.mjs → esm2015/lib/models/address-option.model.js} +0 -0
- /package/{esm2020/lib/models/address.model.mjs → esm2015/lib/models/address.model.js} +0 -0
- /package/{esm2020/lib/models/case-share.model.mjs → esm2015/lib/models/case-share.model.js} +0 -0
- /package/{esm2020/lib/models/contact-details.model.mjs → esm2015/lib/models/contact-details.model.js} +0 -0
- /package/{esm2020/lib/models/due-date.model.mjs → esm2015/lib/models/due-date.model.js} +0 -0
- /package/{esm2020/lib/models/feature-user.mjs → esm2015/lib/models/feature-user.js} +0 -0
- /package/{esm2020/lib/models/filter.model.mjs → esm2015/lib/models/filter.model.js} +0 -0
- /package/{esm2020/lib/models/idle-config.model.mjs → esm2015/lib/models/idle-config.model.js} +0 -0
- /package/{esm2020/lib/models/index.mjs → esm2015/lib/models/index.js} +0 -0
- /package/{esm2020/lib/models/location.model.mjs → esm2015/lib/models/location.model.js} +0 -0
- /package/{esm2020/lib/models/pagination.model.mjs → esm2015/lib/models/pagination.model.js} +0 -0
- /package/{esm2020/lib/models/person.model.mjs → esm2015/lib/models/person.model.js} +0 -0
- /package/{esm2020/lib/models/search-options.model.mjs → esm2015/lib/models/search-options.model.js} +0 -0
- /package/{esm2020/lib/models/task-name.model.mjs → esm2015/lib/models/task-name.model.js} +0 -0
- /package/{esm2020/lib/models/tcDocument.model.mjs → esm2015/lib/models/tcDocument.model.js} +0 -0
- /package/{esm2020/lib/models/timeout-notification.model.mjs → esm2015/lib/models/timeout-notification.model.js} +0 -0
- /package/{esm2020/lib/models/user.model.mjs → esm2015/lib/models/user.model.js} +0 -0
- /package/{esm2020/lib/pipes/index.mjs → esm2015/lib/pipes/index.js} +0 -0
- /package/{esm2020/lib/services/address/address-parser.mjs → esm2015/lib/services/address/address-parser.js} +0 -0
- /package/{esm2020/lib/services/address/address-type.enum.mjs → esm2015/lib/services/address/address-type.enum.js} +0 -0
- /package/{esm2020/lib/services/index.mjs → esm2015/lib/services/index.js} +0 -0
- /package/{esm2020/lib/services/public-api.mjs → esm2015/lib/services/public-api.js} +0 -0
- /package/{esm2020/lib/services/ref-data/index.mjs → esm2015/lib/services/ref-data/index.js} +0 -0
- /package/{esm2020/lib/services/ref-data/models/ref-data-htmcs-service.model.mjs → esm2015/lib/services/ref-data/models/ref-data-htmcs-service.model.js} +0 -0
- /package/{esm2020/lib/services/ref-data/models/ref-data-region.model.mjs → esm2015/lib/services/ref-data/models/ref-data-region.model.js} +0 -0
- /package/{esm2020/lib/services/ref-data/ref-data-data-access/models/ref-data-locations-by-service-code-response.model.mjs → esm2015/lib/services/ref-data/ref-data-data-access/models/ref-data-locations-by-service-code-response.model.js} +0 -0
- /package/{esm2020/lib/window.mjs → esm2015/lib/window.js} +0 -0
- /package/{esm2020/public-api.mjs → esm2015/public-api.js} +0 -0
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/router";
|
|
4
|
-
import * as i2 from "rpx-xui-translation";
|
|
5
|
-
export class TcConfirmComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.confirm = new EventEmitter();
|
|
8
|
-
}
|
|
9
|
-
onClick() {
|
|
10
|
-
this.confirm.emit();
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
TcConfirmComponent.ɵfac = function TcConfirmComponent_Factory(t) { return new (t || TcConfirmComponent)(); };
|
|
14
|
-
TcConfirmComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TcConfirmComponent, selectors: [["xuilib-tc-confirm"]], inputs: { buttonText: "buttonText" }, outputs: { confirm: "confirm" }, decls: 26, vars: 18, consts: [[1, "govuk-width-container"], ["role", "main", 1, "govuk-main-wrapper"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-heading-m"], ["routerLink", "/terms-and-conditions", "rel", "noopener noreferrer", "target", "_blank"], [1, "govuk-button", 3, "click"], [1, "govuk-grid-column-one-third"]], template: function TcConfirmComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "main", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "h1", 5);
|
|
16
|
-
i0.ɵɵtext(6);
|
|
17
|
-
i0.ɵɵpipe(7, "rpxTranslate");
|
|
18
|
-
i0.ɵɵelementEnd();
|
|
19
|
-
i0.ɵɵelementStart(8, "h2", 6);
|
|
20
|
-
i0.ɵɵtext(9);
|
|
21
|
-
i0.ɵɵpipe(10, "rpxTranslate");
|
|
22
|
-
i0.ɵɵelementEnd();
|
|
23
|
-
i0.ɵɵelementStart(11, "p");
|
|
24
|
-
i0.ɵɵtext(12);
|
|
25
|
-
i0.ɵɵpipe(13, "rpxTranslate");
|
|
26
|
-
i0.ɵɵelementStart(14, "a", 7);
|
|
27
|
-
i0.ɵɵtext(15);
|
|
28
|
-
i0.ɵɵpipe(16, "rpxTranslate");
|
|
29
|
-
i0.ɵɵelementEnd();
|
|
30
|
-
i0.ɵɵtext(17, ". ");
|
|
31
|
-
i0.ɵɵelementEnd();
|
|
32
|
-
i0.ɵɵelementStart(18, "p");
|
|
33
|
-
i0.ɵɵtext(19);
|
|
34
|
-
i0.ɵɵpipe(20, "rpxTranslate");
|
|
35
|
-
i0.ɵɵelementEnd();
|
|
36
|
-
i0.ɵɵelementStart(21, "p")(22, "button", 8);
|
|
37
|
-
i0.ɵɵlistener("click", function TcConfirmComponent_Template_button_click_22_listener() { return ctx.onClick(); });
|
|
38
|
-
i0.ɵɵtext(23);
|
|
39
|
-
i0.ɵɵpipe(24, "rpxTranslate");
|
|
40
|
-
i0.ɵɵelementEnd()()()()();
|
|
41
|
-
i0.ɵɵelement(25, "div", 9);
|
|
42
|
-
i0.ɵɵelementEnd()();
|
|
43
|
-
} if (rf & 2) {
|
|
44
|
-
i0.ɵɵadvance(6);
|
|
45
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 6, "Using this service"));
|
|
46
|
-
i0.ɵɵadvance(3);
|
|
47
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 8, "Terms and conditions"));
|
|
48
|
-
i0.ɵɵadvance(3);
|
|
49
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(13, 10, "We've recently updated the"), " ");
|
|
50
|
-
i0.ɵɵadvance(3);
|
|
51
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 12, "terms and conditions"));
|
|
52
|
-
i0.ɵɵadvance(4);
|
|
53
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(20, 14, "You must review and accept them."), " ");
|
|
54
|
-
i0.ɵɵadvance(4);
|
|
55
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(24, 16, ctx.buttonText), " ");
|
|
56
|
-
} }, dependencies: [i1.RouterLink, i2.RpxTranslatePipe] });
|
|
57
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TcConfirmComponent, [{
|
|
58
|
-
type: Component,
|
|
59
|
-
args: [{ selector: 'xuilib-tc-confirm', template: "<div class=\"govuk-width-container\">\n <main role=\"main\" class=\"govuk-main-wrapper\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <div class=\"column-two-thirds\">\n <h1 class=\"govuk-heading-xl\">{{'Using this service' | rpxTranslate}}</h1>\n <h2 class=\"govuk-heading-m\">{{'Terms and conditions' | rpxTranslate}}</h2>\n <p>{{'We\\'ve recently updated the' | rpxTranslate}}\n <a\n routerLink=\"/terms-and-conditions\"\n rel=\"noopener noreferrer\"\n target=\"_blank\"\n >{{'terms and conditions' | rpxTranslate}}</a\n >.\n </p>\n <p>{{'You must review and accept them.' | rpxTranslate}}\n </p>\n <p>\n <button class=\"govuk-button\" (click)=\"onClick()\">\n {{ buttonText | rpxTranslate }}\n </button>\n </p>\n </div>\n </div>\n </div>\n <div class=\"govuk-grid-column-one-third\"></div>\n </main>\n</div>\n" }]
|
|
60
|
-
}], function () { return []; }, { buttonText: [{
|
|
61
|
-
type: Input
|
|
62
|
-
}], confirm: [{
|
|
63
|
-
type: Output
|
|
64
|
-
}] }); })();
|
|
65
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGMtY29uZmlybS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHVpLWNvbW1vbi1saWIvc3JjL2xpYi9jb21wb25lbnRzL3RjLWNvbmZpcm0vdGMtY29uZmlybS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHVpLWNvbW1vbi1saWIvc3JjL2xpYi9jb21wb25lbnRzL3RjLWNvbmZpcm0vdGMtY29uZmlybS5jb21wb25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ICAgICAgICAgIDxoMiBjbGFzcz1cImdvdnVrLWhlYWRpbmctbVwiPnt7J1Rlcm1zIGFuZCBjb25kaXRpb25zJyB8IHJweFRyYW5zbGF0ZX19PC9oMj5cbiAgICAgICAgICA8cD57eydXZVxcJ3ZlIHJlY2VudGx5IHVwZGF0ZWQgdGhlJyB8IHJweFRyYW5zbGF0ZX19XG4gICAgICAgICAgICA8YVxuICAgICAgICAgICAgICByb3V0ZXJMaW5rPVwiL3Rlcm1zLWFuZC1jb25kaXRpb25zXCJcbiAgICAgICAgICAgICAgcmVsPVwibm9vcGVuZXIgbm9yZWZlcnJlclwiXG4gICAgICAgICAgICAgIHRhcmdldD1cIl9ibGFua1wiXG4gICAgICAgICAgICAgID57eyd0ZXJtcyBhbmQgY29uZGl0aW9ucycgfCBycHhUcmFuc2xhdGV9fTwvYVxuICAgICAgICAgICAgPi5cbiAgICAgICAgICA8L3A+XG4gICAgICAgICAgPHA+e3snWW91IG11c3QgcmV2aWV3IGFuZCBhY2NlcHQgdGhlbS4nIHwgcnB4VHJhbnNsYXRlfX1cbiAgICAgICAgICA8L3A+XG4gICAgICAgICAgPHA+XG4gICAgICAgICAgICA8YnV0dG9uIGNsYXNzPVwiZ292dWstYnV0dG9uXCIgKGNsaWNrKT1cIm9uQ2xpY2soKVwiPlxuICAgICAgICAgICAgICB7eyBidXR0b25UZXh0IHwgcnB4VHJhbnNsYXRlIH19XG4gICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICA8L3A+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gICAgPGRpdiBjbGFzcz1cImdvdnVrLWdyaWQtY29sdW1uLW9uZS10aGlyZFwiPjwvZGl2PlxuICA8L21haW4+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
const _c0 = ["*"];
|
|
4
|
-
export class TcDisplayHtmlComponent {
|
|
5
|
-
constructor() { }
|
|
6
|
-
}
|
|
7
|
-
TcDisplayHtmlComponent.ɵfac = function TcDisplayHtmlComponent_Factory(t) { return new (t || TcDisplayHtmlComponent)(); };
|
|
8
|
-
TcDisplayHtmlComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TcDisplayHtmlComponent, selectors: [["xuilib-tc-display-html"]], ngContentSelectors: _c0, decls: 1, vars: 0, template: function TcDisplayHtmlComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9
|
-
i0.ɵɵprojectionDef();
|
|
10
|
-
i0.ɵɵprojection(0);
|
|
11
|
-
} }, styles: ["[_nghost-%COMP%]{display:block;width:100%}"] });
|
|
12
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TcDisplayHtmlComponent, [{
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{ selector: 'xuilib-tc-display-html', template: "<ng-content></ng-content>", styles: [":host{display:block;width:100%}\n"] }]
|
|
15
|
-
}], function () { return []; }, null); })();
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGMtZGlzcGxheS1odG1sLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dWktY29tbW9uLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvdGVybXMtYW5kLWNvbmRpdGlvbnMvdGMtZGlzcGxheS90Yy1kaXNwbGF5LWh0bWwvdGMtZGlzcGxheS1odG1sLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dWktY29tbW9uLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvdGVybXMtYW5kLWNvbmRpdGlvbnMvdGMtZGlzcGxheS90Yy1kaXNwbGF5LWh0bWwvdGMtZGlzcGxheS1odG1sLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQU8xQyxNQUFNLE9BQU8sc0JBQXNCO0lBRWpDLGdCQUFnQixDQUFDOzs0RkFGTixzQkFBc0I7eUVBQXRCLHNCQUFzQjs7UUNQbkMsa0JBQXlCOzt1RkRPWixzQkFBc0I7Y0FMbEMsU0FBUzsyQkFDRSx3QkFBd0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAneHVpbGliLXRjLWRpc3BsYXktaHRtbCcsXG4gIHRlbXBsYXRlVXJsOiAnLi90Yy1kaXNwbGF5LWh0bWwuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi90Yy1kaXNwbGF5LWh0bWwuY29tcG9uZW50LnNjc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBUY0Rpc3BsYXlIdG1sQ29tcG9uZW50IHtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxuXG59XG4iLCI8bmctY29udGVudD48L25nLWNvbnRlbnQ+Il19
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
const _c0 = ["*"];
|
|
4
|
-
export class TcDisplayPlainComponent {
|
|
5
|
-
constructor() { }
|
|
6
|
-
}
|
|
7
|
-
TcDisplayPlainComponent.ɵfac = function TcDisplayPlainComponent_Factory(t) { return new (t || TcDisplayPlainComponent)(); };
|
|
8
|
-
TcDisplayPlainComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TcDisplayPlainComponent, selectors: [["xuilib-tc-display-plain"]], ngContentSelectors: _c0, decls: 1, vars: 0, template: function TcDisplayPlainComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9
|
-
i0.ɵɵprojectionDef();
|
|
10
|
-
i0.ɵɵprojection(0);
|
|
11
|
-
} }, styles: ["[_nghost-%COMP%]{display:block;width:100%}"] });
|
|
12
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TcDisplayPlainComponent, [{
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{ selector: 'xuilib-tc-display-plain', template: "<ng-content></ng-content>", styles: [":host{display:block;width:100%}\n"] }]
|
|
15
|
-
}], function () { return []; }, null); })();
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGMtZGlzcGxheS1wbGFpbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHVpLWNvbW1vbi1saWIvc3JjL2xpYi9jb21wb25lbnRzL3Rlcm1zLWFuZC1jb25kaXRpb25zL3RjLWRpc3BsYXkvdGMtZGlzcGxheS1wbGFpbi90Yy1kaXNwbGF5LXBsYWluLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dWktY29tbW9uLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvdGVybXMtYW5kLWNvbmRpdGlvbnMvdGMtZGlzcGxheS90Yy1kaXNwbGF5LXBsYWluL3RjLWRpc3BsYXktcGxhaW4uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7O0FBTzFDLE1BQU0sT0FBTyx1QkFBdUI7SUFFbEMsZ0JBQWdCLENBQUM7OzhGQUZOLHVCQUF1QjswRUFBdkIsdUJBQXVCOztRQ1BwQyxrQkFBeUI7O3VGRE9aLHVCQUF1QjtjQUxuQyxTQUFTOzJCQUNFLHlCQUF5QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICd4dWlsaWItdGMtZGlzcGxheS1wbGFpbicsXG4gIHRlbXBsYXRlVXJsOiAnLi90Yy1kaXNwbGF5LXBsYWluLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vdGMtZGlzcGxheS1wbGFpbi5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIFRjRGlzcGxheVBsYWluQ29tcG9uZW50IHtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxuXG59XG4iLCI8bmctY29udGVudD48L25nLWNvbnRlbnQ+Il19
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "./tc-display/tc-display-html/tc-display-html.component";
|
|
5
|
-
import * as i3 from "./tc-display/tc-display-plain/tc-display-plain.component";
|
|
6
|
-
import * as i4 from "rpx-xui-translation";
|
|
7
|
-
function TermsAndConditionsComponent_xuilib_tc_display_html_1_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
-
i0.ɵɵelementStart(0, "xuilib-tc-display-html");
|
|
9
|
-
i0.ɵɵelement(1, "div", 3);
|
|
10
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
11
|
-
i0.ɵɵelementEnd();
|
|
12
|
-
} if (rf & 2) {
|
|
13
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
14
|
-
i0.ɵɵadvance(1);
|
|
15
|
-
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(2, 1, ctx_r0.document.content), i0.ɵɵsanitizeHtml);
|
|
16
|
-
} }
|
|
17
|
-
function TermsAndConditionsComponent_xuilib_tc_display_plain_2_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
-
i0.ɵɵelementStart(0, "xuilib-tc-display-plain");
|
|
19
|
-
i0.ɵɵtext(1);
|
|
20
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
21
|
-
i0.ɵɵelementEnd();
|
|
22
|
-
} if (rf & 2) {
|
|
23
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
24
|
-
i0.ɵɵadvance(1);
|
|
25
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r1.document.content), " ");
|
|
26
|
-
} }
|
|
27
|
-
function TermsAndConditionsComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
-
i0.ɵɵelementStart(0, "div");
|
|
29
|
-
i0.ɵɵtext(1);
|
|
30
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
31
|
-
i0.ɵɵelementEnd();
|
|
32
|
-
} if (rf & 2) {
|
|
33
|
-
i0.ɵɵadvance(1);
|
|
34
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "An error occured. Please try again."), " ");
|
|
35
|
-
} }
|
|
36
|
-
export class TermsAndConditionsComponent {
|
|
37
|
-
constructor() { }
|
|
38
|
-
}
|
|
39
|
-
TermsAndConditionsComponent.ɵfac = function TermsAndConditionsComponent_Factory(t) { return new (t || TermsAndConditionsComponent)(); };
|
|
40
|
-
TermsAndConditionsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TermsAndConditionsComponent, selectors: [["xuilib-terms-and-conditions"]], inputs: { document: "document" }, decls: 4, vars: 3, consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "innerHTML"]], template: function TermsAndConditionsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
-
i0.ɵɵelementContainerStart(0, 0);
|
|
42
|
-
i0.ɵɵtemplate(1, TermsAndConditionsComponent_xuilib_tc_display_html_1_Template, 3, 3, "xuilib-tc-display-html", 1);
|
|
43
|
-
i0.ɵɵtemplate(2, TermsAndConditionsComponent_xuilib_tc_display_plain_2_Template, 3, 3, "xuilib-tc-display-plain", 1);
|
|
44
|
-
i0.ɵɵtemplate(3, TermsAndConditionsComponent_div_3_Template, 3, 3, "div", 2);
|
|
45
|
-
i0.ɵɵelementContainerEnd();
|
|
46
|
-
} if (rf & 2) {
|
|
47
|
-
i0.ɵɵproperty("ngSwitch", ctx.document.mimeType);
|
|
48
|
-
i0.ɵɵadvance(1);
|
|
49
|
-
i0.ɵɵproperty("ngSwitchCase", "text/html");
|
|
50
|
-
i0.ɵɵadvance(1);
|
|
51
|
-
i0.ɵɵproperty("ngSwitchCase", "text/plain");
|
|
52
|
-
} }, dependencies: [i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i2.TcDisplayHtmlComponent, i3.TcDisplayPlainComponent, i4.RpxTranslatePipe], styles: ["[_nghost-%COMP%]{display:block;width:100%}"] });
|
|
53
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TermsAndConditionsComponent, [{
|
|
54
|
-
type: Component,
|
|
55
|
-
args: [{ selector: 'xuilib-terms-and-conditions', template: "<ng-container [ngSwitch]=\"document.mimeType\">\n <xuilib-tc-display-html *ngSwitchCase=\"'text/html'\">\n <div [innerHTML]=\"document.content | rpxTranslate\"></div>\n </xuilib-tc-display-html>\n <xuilib-tc-display-plain *ngSwitchCase=\"'text/plain'\">\n {{ document.content | rpxTranslate}}\n </xuilib-tc-display-plain>\n <div *ngSwitchDefault>\n {{'An error occured. Please try again.' | rpxTranslate}}\n </div>\n</ng-container>\n", styles: [":host{display:block;width:100%}\n"] }]
|
|
56
|
-
}], function () { return []; }, { document: [{
|
|
57
|
-
type: Input
|
|
58
|
-
}] }); })();
|
|
59
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid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7eydBbiBlcnJvciBvY2N1cmVkLiBQbGVhc2UgdHJ5IGFnYWluLicgfCBycHhUcmFuc2xhdGV9fVxuICA8L2Rpdj5cbjwvbmctY29udGFpbmVyPlxuIl19
|
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "@angular/router";
|
|
5
|
-
import * as i3 from "rpx-xui-translation";
|
|
6
|
-
function UserDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
7
|
-
i0.ɵɵelementStart(0, "div", 5)(1, "span", 6);
|
|
8
|
-
i0.ɵɵtext(2, "!");
|
|
9
|
-
i0.ɵɵelementEnd();
|
|
10
|
-
i0.ɵɵelementStart(3, "strong", 7);
|
|
11
|
-
i0.ɵɵtext(4);
|
|
12
|
-
i0.ɵɵpipe(5, "rpxTranslate");
|
|
13
|
-
i0.ɵɵelementEnd()();
|
|
14
|
-
} if (rf & 2) {
|
|
15
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
16
|
-
i0.ɵɵadvance(4);
|
|
17
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 1, ctx_r0.warningTitle), "\n");
|
|
18
|
-
} }
|
|
19
|
-
function UserDetailsComponent_table_1_tr_17_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
-
i0.ɵɵelementStart(0, "div");
|
|
21
|
-
i0.ɵɵtext(1);
|
|
22
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
23
|
-
i0.ɵɵelementEnd();
|
|
24
|
-
} if (rf & 2) {
|
|
25
|
-
i0.ɵɵadvance(1);
|
|
26
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Manage organisations"));
|
|
27
|
-
} }
|
|
28
|
-
function UserDetailsComponent_table_1_tr_17_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
-
i0.ɵɵelementStart(0, "div");
|
|
30
|
-
i0.ɵɵtext(1);
|
|
31
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
32
|
-
i0.ɵɵelementEnd();
|
|
33
|
-
} if (rf & 2) {
|
|
34
|
-
i0.ɵɵadvance(1);
|
|
35
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Manage users"));
|
|
36
|
-
} }
|
|
37
|
-
function UserDetailsComponent_table_1_tr_17_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
-
i0.ɵɵelementStart(0, "div");
|
|
39
|
-
i0.ɵɵtext(1);
|
|
40
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
41
|
-
i0.ɵɵelementEnd();
|
|
42
|
-
} if (rf & 2) {
|
|
43
|
-
i0.ɵɵadvance(1);
|
|
44
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Manage cases"));
|
|
45
|
-
} }
|
|
46
|
-
function UserDetailsComponent_table_1_tr_17_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
47
|
-
i0.ɵɵelementStart(0, "div");
|
|
48
|
-
i0.ɵɵtext(1);
|
|
49
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
50
|
-
i0.ɵɵelementEnd();
|
|
51
|
-
} if (rf & 2) {
|
|
52
|
-
i0.ɵɵadvance(1);
|
|
53
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Case access administrator"));
|
|
54
|
-
} }
|
|
55
|
-
function UserDetailsComponent_table_1_tr_17_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
56
|
-
i0.ɵɵelementStart(0, "div");
|
|
57
|
-
i0.ɵɵtext(1);
|
|
58
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
59
|
-
i0.ɵɵelementEnd();
|
|
60
|
-
} if (rf & 2) {
|
|
61
|
-
i0.ɵɵadvance(1);
|
|
62
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Manage fee accounts"));
|
|
63
|
-
} }
|
|
64
|
-
function UserDetailsComponent_table_1_tr_17_a_11_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
-
i0.ɵɵelementStart(0, "a", 15);
|
|
66
|
-
i0.ɵɵtext(1);
|
|
67
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
68
|
-
i0.ɵɵelementStart(3, "span", 16);
|
|
69
|
-
i0.ɵɵtext(4);
|
|
70
|
-
i0.ɵɵpipe(5, "rpxTranslate");
|
|
71
|
-
i0.ɵɵelementEnd()();
|
|
72
|
-
} if (rf & 2) {
|
|
73
|
-
const ctx_r11 = i0.ɵɵnextContext(3);
|
|
74
|
-
i0.ɵɵproperty("routerLink", ctx_r11.editPermissionRouterLink);
|
|
75
|
-
i0.ɵɵadvance(1);
|
|
76
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 3, "Change"), " ");
|
|
77
|
-
i0.ɵɵadvance(3);
|
|
78
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 5, "roles"));
|
|
79
|
-
} }
|
|
80
|
-
function UserDetailsComponent_table_1_tr_17_Template(rf, ctx) { if (rf & 1) {
|
|
81
|
-
i0.ɵɵelementStart(0, "tr", 10)(1, "th", 11);
|
|
82
|
-
i0.ɵɵtext(2);
|
|
83
|
-
i0.ɵɵpipe(3, "rpxTranslate");
|
|
84
|
-
i0.ɵɵelementEnd();
|
|
85
|
-
i0.ɵɵelementStart(4, "td", 12);
|
|
86
|
-
i0.ɵɵtemplate(5, UserDetailsComponent_table_1_tr_17_div_5_Template, 3, 3, "div", 3);
|
|
87
|
-
i0.ɵɵtemplate(6, UserDetailsComponent_table_1_tr_17_div_6_Template, 3, 3, "div", 3);
|
|
88
|
-
i0.ɵɵtemplate(7, UserDetailsComponent_table_1_tr_17_div_7_Template, 3, 3, "div", 3);
|
|
89
|
-
i0.ɵɵtemplate(8, UserDetailsComponent_table_1_tr_17_div_8_Template, 3, 3, "div", 3);
|
|
90
|
-
i0.ɵɵtemplate(9, UserDetailsComponent_table_1_tr_17_div_9_Template, 3, 3, "div", 3);
|
|
91
|
-
i0.ɵɵelementEnd();
|
|
92
|
-
i0.ɵɵelementStart(10, "td", 12);
|
|
93
|
-
i0.ɵɵtemplate(11, UserDetailsComponent_table_1_tr_17_a_11_Template, 6, 7, "a", 14);
|
|
94
|
-
i0.ɵɵelementEnd()();
|
|
95
|
-
} if (rf & 2) {
|
|
96
|
-
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
97
|
-
i0.ɵɵadvance(2);
|
|
98
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Permissions"));
|
|
99
|
-
i0.ɵɵadvance(3);
|
|
100
|
-
i0.ɵɵproperty("ngIf", ctx_r5.user.manageOrganisations === "Yes");
|
|
101
|
-
i0.ɵɵadvance(1);
|
|
102
|
-
i0.ɵɵproperty("ngIf", ctx_r5.user.manageUsers === "Yes");
|
|
103
|
-
i0.ɵɵadvance(1);
|
|
104
|
-
i0.ɵɵproperty("ngIf", ctx_r5.user.manageCases === "Yes");
|
|
105
|
-
i0.ɵɵadvance(1);
|
|
106
|
-
i0.ɵɵproperty("ngIf", ctx_r5.userHasRole("pui-caa"));
|
|
107
|
-
i0.ɵɵadvance(1);
|
|
108
|
-
i0.ɵɵproperty("ngIf", ctx_r5.userHasRole("pui-finance-manager"));
|
|
109
|
-
i0.ɵɵadvance(2);
|
|
110
|
-
i0.ɵɵproperty("ngIf", ctx_r5.editPermissionRouterLink && ctx_r5.showEditLink);
|
|
111
|
-
} }
|
|
112
|
-
function UserDetailsComponent_table_1_Template(rf, ctx) { if (rf & 1) {
|
|
113
|
-
i0.ɵɵelementStart(0, "table", 8)(1, "tbody", 9)(2, "tr", 10)(3, "th", 11);
|
|
114
|
-
i0.ɵɵtext(4);
|
|
115
|
-
i0.ɵɵpipe(5, "rpxTranslate");
|
|
116
|
-
i0.ɵɵelementEnd();
|
|
117
|
-
i0.ɵɵelementStart(6, "td", 12);
|
|
118
|
-
i0.ɵɵtext(7);
|
|
119
|
-
i0.ɵɵpipe(8, "rpxTranslate");
|
|
120
|
-
i0.ɵɵelementEnd();
|
|
121
|
-
i0.ɵɵelement(9, "td", 12);
|
|
122
|
-
i0.ɵɵelementEnd();
|
|
123
|
-
i0.ɵɵelementStart(10, "tr", 10)(11, "th", 11);
|
|
124
|
-
i0.ɵɵtext(12);
|
|
125
|
-
i0.ɵɵpipe(13, "rpxTranslate");
|
|
126
|
-
i0.ɵɵelementEnd();
|
|
127
|
-
i0.ɵɵelementStart(14, "td", 12);
|
|
128
|
-
i0.ɵɵtext(15);
|
|
129
|
-
i0.ɵɵelementEnd();
|
|
130
|
-
i0.ɵɵelement(16, "td", 12);
|
|
131
|
-
i0.ɵɵelementEnd();
|
|
132
|
-
i0.ɵɵtemplate(17, UserDetailsComponent_table_1_tr_17_Template, 12, 9, "tr", 13);
|
|
133
|
-
i0.ɵɵelementEnd()();
|
|
134
|
-
} if (rf & 2) {
|
|
135
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
136
|
-
i0.ɵɵadvance(4);
|
|
137
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 5, "Name"));
|
|
138
|
-
i0.ɵɵadvance(3);
|
|
139
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 7, ctx_r1.user.fullName));
|
|
140
|
-
i0.ɵɵadvance(5);
|
|
141
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 9, "Email address"));
|
|
142
|
-
i0.ɵɵadvance(3);
|
|
143
|
-
i0.ɵɵtextInterpolate(ctx_r1.user.email);
|
|
144
|
-
i0.ɵɵadvance(2);
|
|
145
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.user.resendInvite);
|
|
146
|
-
} }
|
|
147
|
-
function UserDetailsComponent_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
148
|
-
const _r13 = i0.ɵɵgetCurrentView();
|
|
149
|
-
i0.ɵɵelementStart(0, "button", 17);
|
|
150
|
-
i0.ɵɵlistener("click", function UserDetailsComponent_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r12.suspendUser(ctx_r12.user)); });
|
|
151
|
-
i0.ɵɵtext(1);
|
|
152
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
153
|
-
i0.ɵɵelementEnd();
|
|
154
|
-
} if (rf & 2) {
|
|
155
|
-
i0.ɵɵadvance(1);
|
|
156
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Suspend account"), "\n");
|
|
157
|
-
} }
|
|
158
|
-
function UserDetailsComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
159
|
-
const _r15 = i0.ɵɵgetCurrentView();
|
|
160
|
-
i0.ɵɵelementStart(0, "div")(1, "div", 18)(2, "p");
|
|
161
|
-
i0.ɵɵtext(3);
|
|
162
|
-
i0.ɵɵpipe(4, "rpxTranslate");
|
|
163
|
-
i0.ɵɵelementEnd();
|
|
164
|
-
i0.ɵɵelementStart(5, "p");
|
|
165
|
-
i0.ɵɵtext(6);
|
|
166
|
-
i0.ɵɵpipe(7, "rpxTranslate");
|
|
167
|
-
i0.ɵɵelementEnd();
|
|
168
|
-
i0.ɵɵelementStart(8, "p");
|
|
169
|
-
i0.ɵɵtext(9);
|
|
170
|
-
i0.ɵɵpipe(10, "rpxTranslate");
|
|
171
|
-
i0.ɵɵelementEnd()();
|
|
172
|
-
i0.ɵɵelementStart(11, "a", 19);
|
|
173
|
-
i0.ɵɵlistener("click", function UserDetailsComponent_div_3_Template_a_click_11_listener() { i0.ɵɵrestoreView(_r15); const ctx_r14 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r14.reinviteClick(ctx_r14.user)); });
|
|
174
|
-
i0.ɵɵtext(12);
|
|
175
|
-
i0.ɵɵpipe(13, "rpxTranslate");
|
|
176
|
-
i0.ɵɵelementEnd()();
|
|
177
|
-
} if (rf & 2) {
|
|
178
|
-
i0.ɵɵadvance(3);
|
|
179
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 4, "This user has already been invited but has not activated their account."));
|
|
180
|
-
i0.ɵɵadvance(3);
|
|
181
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 6, "If you resend an invitation, they'll receive an email from HM Courts and Tribunals to finish setting up their account."));
|
|
182
|
-
i0.ɵɵadvance(3);
|
|
183
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 8, "You can't invite the same user more than once an hour."));
|
|
184
|
-
i0.ɵɵadvance(3);
|
|
185
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 10, "Resend invitation"), " ");
|
|
186
|
-
} }
|
|
187
|
-
function UserDetailsComponent_p_4_Template(rf, ctx) { if (rf & 1) {
|
|
188
|
-
i0.ɵɵelementStart(0, "p", 20)(1, "a", 21);
|
|
189
|
-
i0.ɵɵtext(2);
|
|
190
|
-
i0.ɵɵpipe(3, "rpxTranslate");
|
|
191
|
-
i0.ɵɵelementEnd();
|
|
192
|
-
i0.ɵɵtext(4);
|
|
193
|
-
i0.ɵɵpipe(5, "rpxTranslate");
|
|
194
|
-
i0.ɵɵelementEnd();
|
|
195
|
-
} if (rf & 2) {
|
|
196
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
|
197
|
-
i0.ɵɵadvance(1);
|
|
198
|
-
i0.ɵɵproperty("routerLink", ctx_r4.suspendHelpLink);
|
|
199
|
-
i0.ɵɵadvance(1);
|
|
200
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 3, "Get help"));
|
|
201
|
-
i0.ɵɵadvance(2);
|
|
202
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 5, "to reactivate this account."), "");
|
|
203
|
-
} }
|
|
204
|
-
export class UserDetailsComponent {
|
|
205
|
-
constructor() {
|
|
206
|
-
this.showEditLink = false;
|
|
207
|
-
this.showHelpLink = false;
|
|
208
|
-
this.suspendUserEvent = new EventEmitter();
|
|
209
|
-
this.showSuspendUserButton = false;
|
|
210
|
-
this.reinvite = new EventEmitter();
|
|
211
|
-
}
|
|
212
|
-
reinviteClick(user) {
|
|
213
|
-
this.reinvite.emit(user);
|
|
214
|
-
}
|
|
215
|
-
suspendUser(suspendUser) {
|
|
216
|
-
this.suspendUserEvent.emit(suspendUser);
|
|
217
|
-
}
|
|
218
|
-
userHasRole(theRole) {
|
|
219
|
-
if (this.user && this.user.roles) {
|
|
220
|
-
return this.user.roles.includes(theRole);
|
|
221
|
-
}
|
|
222
|
-
return false;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
UserDetailsComponent.ɵfac = function UserDetailsComponent_Factory(t) { return new (t || UserDetailsComponent)(); };
|
|
226
|
-
UserDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserDetailsComponent, selectors: [["xuilib-user-details"]], inputs: { user: "user", editPermissionRouterLink: "editPermissionRouterLink", warningTitle: "warningTitle", showEditLink: "showEditLink", showHelpLink: "showHelpLink", suspendHelpLink: "suspendHelpLink", showSuspendUserButton: "showSuspendUserButton" }, outputs: { suspendUserEvent: "suspendUserEvent", reinvite: "reinvite" }, decls: 5, vars: 5, consts: [["class", "govuk-warning-text", 4, "ngIf"], ["class", "govuk-table", 4, "ngIf"], ["class", "govuk-button govuk-button--warning", 3, "click", 4, "ngIf"], [4, "ngIf"], ["class", "govuk-body", 4, "ngIf"], [1, "govuk-warning-text"], [1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row", 4, "ngIf"], [3, "routerLink", 4, "ngIf"], [3, "routerLink"], [1, "govuk-visually-hidden"], [1, "govuk-button", "govuk-button--warning", 3, "click"], [1, "govuk-inset-text"], ["role", "button", "draggable", "false", "id", "resend-invite-button", 1, "govuk-button", 3, "click"], [1, "govuk-body"], ["target", "_blank", 3, "routerLink"]], template: function UserDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
227
|
-
i0.ɵɵtemplate(0, UserDetailsComponent_div_0_Template, 6, 3, "div", 0);
|
|
228
|
-
i0.ɵɵtemplate(1, UserDetailsComponent_table_1_Template, 18, 11, "table", 1);
|
|
229
|
-
i0.ɵɵtemplate(2, UserDetailsComponent_button_2_Template, 3, 3, "button", 2);
|
|
230
|
-
i0.ɵɵtemplate(3, UserDetailsComponent_div_3_Template, 14, 12, "div", 3);
|
|
231
|
-
i0.ɵɵtemplate(4, UserDetailsComponent_p_4_Template, 6, 7, "p", 4);
|
|
232
|
-
} if (rf & 2) {
|
|
233
|
-
i0.ɵɵproperty("ngIf", ctx.warningTitle && ctx.warningTitle !== "");
|
|
234
|
-
i0.ɵɵadvance(1);
|
|
235
|
-
i0.ɵɵproperty("ngIf", ctx.user);
|
|
236
|
-
i0.ɵɵadvance(1);
|
|
237
|
-
i0.ɵɵproperty("ngIf", ctx.showSuspendUserButton);
|
|
238
|
-
i0.ɵɵadvance(1);
|
|
239
|
-
i0.ɵɵproperty("ngIf", ctx.user && ctx.user.resendInvite);
|
|
240
|
-
i0.ɵɵadvance(1);
|
|
241
|
-
i0.ɵɵproperty("ngIf", ctx.showHelpLink && ctx.suspendHelpLink);
|
|
242
|
-
} }, dependencies: [i1.NgIf, i2.RouterLink, i3.RpxTranslatePipe], styles: ["[_nghost-%COMP%]{display:block}"] });
|
|
243
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserDetailsComponent, [{
|
|
244
|
-
type: Component,
|
|
245
|
-
args: [{ selector: 'xuilib-user-details', template: "<div class=\"govuk-warning-text\" *ngIf=\"warningTitle && warningTitle !== ''\">\n<span class=\"govuk-warning-text__icon\">!</span>\n<strong class=\"govuk-warning-text__text\">\n {{ warningTitle | rpxTranslate}}\n</strong>\n</div>\n<table class=\"govuk-table\" *ngIf=\"user\">\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th class=\"govuk-table__header\" scope=\"row\">{{'Name' | rpxTranslate}}</th>\n <td class=\"govuk-table__cell\">{{user.fullName | rpxTranslate}}</td>\n <td class=\"govuk-table__cell\"></td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th class=\"govuk-table__header\" scope=\"row\">{{'Email address' | rpxTranslate}}</th>\n <td class=\"govuk-table__cell\">{{user.email}}</td>\n <td class=\"govuk-table__cell\"></td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"!user.resendInvite\">\n <th class=\"govuk-table__header\" scope=\"row\">{{'Permissions' | rpxTranslate}}</th>\n <td class=\"govuk-table__cell\">\n <div *ngIf=\"user.manageOrganisations === 'Yes'\">{{'Manage organisations' | rpxTranslate}}</div>\n <div *ngIf=\"user.manageUsers === 'Yes'\">{{'Manage users' | rpxTranslate}}</div>\n <div *ngIf=\"user.manageCases === 'Yes'\">{{'Manage cases' | rpxTranslate}}</div>\n <div *ngIf=\"userHasRole('pui-caa')\">{{'Case access administrator' | rpxTranslate}}</div>\n <div *ngIf=\"userHasRole('pui-finance-manager')\">{{'Manage fee accounts' | rpxTranslate}}</div>\n </td>\n <td class=\"govuk-table__cell\"><a *ngIf=\"editPermissionRouterLink && showEditLink\" [routerLink]=\"editPermissionRouterLink\">{{'Change' | rpxTranslate}} <span class=\"govuk-visually-hidden\">{{'roles' | rpxTranslate}}</span></a></td>\n </tr>\n </tbody>\n</table>\n<button *ngIf=\"showSuspendUserButton\" class=\"govuk-button govuk-button--warning\" (click)=\"suspendUser(user)\">\n {{'Suspend account' | rpxTranslate}}\n</button>\n<div *ngIf=\"user && user.resendInvite\">\n <div class=\"govuk-inset-text\">\n <p>{{'This user has already been invited but has not activated their account.' | rpxTranslate}}</p>\n <p>{{'If you resend an invitation, they\\'ll receive an email from HM Courts and Tribunals to finish setting up their account.' | rpxTranslate}}</p>\n <p>{{'You can\\'t invite the same user more than once an hour.' | rpxTranslate}}</p>\n </div>\n <a role=\"button\" draggable=\"false\" class=\"govuk-button\" (click)=\"reinviteClick(user)\" id=\"resend-invite-button\">\n {{'Resend invitation' | rpxTranslate}}\n </a>\n</div>\n<p class=\"govuk-body\" *ngIf=\"showHelpLink && suspendHelpLink\"><a [routerLink]=\"suspendHelpLink\" target=\"_blank\">{{'Get help' | rpxTranslate}}</a> {{'to reactivate this account.' | rpxTranslate}}</p>\n", styles: [":host{display:block}\n"] }]
|
|
246
|
-
}], null, { user: [{
|
|
247
|
-
type: Input
|
|
248
|
-
}], editPermissionRouterLink: [{
|
|
249
|
-
type: Input
|
|
250
|
-
}], warningTitle: [{
|
|
251
|
-
type: Input
|
|
252
|
-
}], showEditLink: [{
|
|
253
|
-
type: Input
|
|
254
|
-
}], showHelpLink: [{
|
|
255
|
-
type: Input
|
|
256
|
-
}], suspendHelpLink: [{
|
|
257
|
-
type: Input
|
|
258
|
-
}], suspendUserEvent: [{
|
|
259
|
-
type: Output
|
|
260
|
-
}], showSuspendUserButton: [{
|
|
261
|
-
type: Input
|
|
262
|
-
}], reinvite: [{
|
|
263
|
-
type: Output
|
|
264
|
-
}] }); })();
|
|
265
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1kZXRhaWxzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dWktY29tbW9uLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvdXNlci1kZXRhaWxzL3VzZXItZGV0YWlscy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHVpLWNvbW1vbi1saWIvc3JjL2xpYi9jb21wb25lbnRzL3VzZXItZGV0YWlscy91c2VyLWRldG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GFjY291bnQuJyB8IHJweFRyYW5zbGF0ZX19PC9wPlxuICAgIDxwPnt7J1lvdSBjYW5cXCd0IGludml0ZSB0aGUgc2FtZSB1c2VyIG1vcmUgdGhhbiBvbmNlIGFuIGhvdXIuJyB8IHJweFRyYW5zbGF0ZX19PC9wPlxuICA8L2Rpdj5cbiAgPGEgcm9sZT1cImJ1dHRvblwiIGRyYWdnYWJsZT1cImZhbHNlXCIgY2xhc3M9XCJnb3Z1ay1idXR0b25cIiAoY2xpY2spPVwicmVpbnZpdGVDbGljayh1c2VyKVwiIGlkPVwicmVzZW5kLWludml0ZS1idXR0b25cIj5cbiAgICAgIHt7J1Jlc2VuZCBpbnZpdGF0aW9uJyB8IHJweFRyYW5zbGF0ZX19XG4gIDwvYT5cbjwvZGl2PlxuPHAgY2xhc3M9XCJnb3Z1ay1ib2R5XCIgKm5nSWY9XCJzaG93SGVscExpbmsgJiYgc3VzcGVuZEhlbHBMaW5rXCI+PGEgW3JvdXRlckxpbmtdPVwic3VzcGVuZEhlbHBMaW5rXCIgdGFyZ2V0PVwiX2JsYW5rXCI+e3snR2V0IGhlbHAnIHwgcnB4VHJhbnNsYXRlfX08L2E+IHt7J3RvIHJlYWN0aXZhdGUgdGhpcyBhY2NvdW50LicgfCBycHhUcmFuc2xhdGV9fTwvcD5cbiJdfQ==
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "@angular/router";
|
|
5
|
-
import * as i3 from "../../gov-ui/components/hmcts-pagination/hmcts-pagination.component";
|
|
6
|
-
import * as i4 from "ngx-pagination";
|
|
7
|
-
import * as i5 from "rpx-xui-translation";
|
|
8
|
-
function UserListComponent_ng_container_13_Template(rf, ctx) { if (rf & 1) {
|
|
9
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
|
10
|
-
i0.ɵɵelementContainerStart(0);
|
|
11
|
-
i0.ɵɵelementStart(1, "tr", 7)(2, "td", 8)(3, "a", 9);
|
|
12
|
-
i0.ɵɵlistener("click", function UserListComponent_ng_container_13_Template_a_click_3_listener() { const restoredCtx = i0.ɵɵrestoreView(_r3); const u_r1 = restoredCtx.$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onUserClick(u_r1)); });
|
|
13
|
-
i0.ɵɵtext(4);
|
|
14
|
-
i0.ɵɵelementEnd()();
|
|
15
|
-
i0.ɵɵelementStart(5, "td", 8);
|
|
16
|
-
i0.ɵɵtext(6);
|
|
17
|
-
i0.ɵɵelementEnd();
|
|
18
|
-
i0.ɵɵelementStart(7, "td", 8);
|
|
19
|
-
i0.ɵɵtext(8);
|
|
20
|
-
i0.ɵɵelementEnd()();
|
|
21
|
-
i0.ɵɵelementContainerEnd();
|
|
22
|
-
} if (rf & 2) {
|
|
23
|
-
const u_r1 = ctx.$implicit;
|
|
24
|
-
i0.ɵɵadvance(3);
|
|
25
|
-
i0.ɵɵproperty("routerLink", u_r1.routerLink);
|
|
26
|
-
i0.ɵɵattribute("title", u_r1.routerLinkTitle);
|
|
27
|
-
i0.ɵɵadvance(1);
|
|
28
|
-
i0.ɵɵtextInterpolate(u_r1.fullName);
|
|
29
|
-
i0.ɵɵadvance(2);
|
|
30
|
-
i0.ɵɵtextInterpolate(u_r1.email);
|
|
31
|
-
i0.ɵɵadvance(2);
|
|
32
|
-
i0.ɵɵtextInterpolate(u_r1.status);
|
|
33
|
-
} }
|
|
34
|
-
const _c0 = function (a0, a1, a2) { return { itemsPerPage: a0, currentPage: a1, totalItems: a2 }; };
|
|
35
|
-
export class UserListComponent {
|
|
36
|
-
constructor() {
|
|
37
|
-
this.users = [];
|
|
38
|
-
this.userClick = new EventEmitter();
|
|
39
|
-
this.pageChange = new EventEmitter();
|
|
40
|
-
}
|
|
41
|
-
ngOnInit() {
|
|
42
|
-
this.pagination = { itemsPerPage: 50, currentPage: this.currentPageNumber, totalItems: this.pageTotalSize };
|
|
43
|
-
}
|
|
44
|
-
onUserClick(user) {
|
|
45
|
-
this.userClick.emit(user);
|
|
46
|
-
}
|
|
47
|
-
emitPageClickEvent(pageNumber) {
|
|
48
|
-
this.currentPageNumber = pageNumber;
|
|
49
|
-
this.pageChange.emit(pageNumber);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
UserListComponent.ɵfac = function UserListComponent_Factory(t) { return new (t || UserListComponent)(); };
|
|
53
|
-
UserListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserListComponent, selectors: [["xuilib-user-list"]], inputs: { users: "users", currentPageNumber: "currentPageNumber", pageTotalSize: "pageTotalSize" }, outputs: { userClick: "userClick", pageChange: "pageChange" }, decls: 16, vars: 18, consts: [[1, "govuk-table"], ["clas", "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header"], [1, "govuk-table__body"], [4, "ngFor", "ngForOf"], [3, "pageSize", "pageChange"], ["data-selector", "table-row", 1, "govuk-table__row"], ["data-selector", "table-cell", 1, "govuk-table__cell"], [1, "govuk-link", 3, "routerLink", "click"]], template: function UserListComponent_Template(rf, ctx) { if (rf & 1) {
|
|
54
|
-
i0.ɵɵelementStart(0, "table", 0)(1, "thead", 1)(2, "tr", 2)(3, "th", 3);
|
|
55
|
-
i0.ɵɵtext(4);
|
|
56
|
-
i0.ɵɵpipe(5, "rpxTranslate");
|
|
57
|
-
i0.ɵɵelementEnd();
|
|
58
|
-
i0.ɵɵelementStart(6, "th", 3);
|
|
59
|
-
i0.ɵɵtext(7);
|
|
60
|
-
i0.ɵɵpipe(8, "rpxTranslate");
|
|
61
|
-
i0.ɵɵelementEnd();
|
|
62
|
-
i0.ɵɵelementStart(9, "th", 3);
|
|
63
|
-
i0.ɵɵtext(10);
|
|
64
|
-
i0.ɵɵpipe(11, "rpxTranslate");
|
|
65
|
-
i0.ɵɵelementEnd()()();
|
|
66
|
-
i0.ɵɵelementStart(12, "tbody", 4);
|
|
67
|
-
i0.ɵɵtemplate(13, UserListComponent_ng_container_13_Template, 9, 5, "ng-container", 5);
|
|
68
|
-
i0.ɵɵpipe(14, "paginate");
|
|
69
|
-
i0.ɵɵelementEnd()();
|
|
70
|
-
i0.ɵɵelementStart(15, "xuilib-hmcts-pagination", 6);
|
|
71
|
-
i0.ɵɵlistener("pageChange", function UserListComponent_Template_xuilib_hmcts_pagination_pageChange_15_listener($event) { return ctx.emitPageClickEvent($event); });
|
|
72
|
-
i0.ɵɵelementEnd();
|
|
73
|
-
} if (rf & 2) {
|
|
74
|
-
i0.ɵɵadvance(4);
|
|
75
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 5, "Name"));
|
|
76
|
-
i0.ɵɵadvance(3);
|
|
77
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 7, "Email"));
|
|
78
|
-
i0.ɵɵadvance(3);
|
|
79
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 9, "Status"));
|
|
80
|
-
i0.ɵɵadvance(3);
|
|
81
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(14, 11, ctx.users, i0.ɵɵpureFunction3(14, _c0, ctx.pagination.itemsPerPage, ctx.currentPageNumber, ctx.pagination.totalItems)));
|
|
82
|
-
i0.ɵɵadvance(2);
|
|
83
|
-
i0.ɵɵproperty("pageSize", ctx.pagination.itemsPerPage);
|
|
84
|
-
} }, dependencies: [i1.NgForOf, i2.RouterLink, i3.HmctsPaginationComponent, i4.PaginatePipe, i5.RpxTranslatePipe], styles: ["[_nghost-%COMP%]{display:block}"] });
|
|
85
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserListComponent, [{
|
|
86
|
-
type: Component,
|
|
87
|
-
args: [{ selector: 'xuilib-user-list', template: "<table class=\"govuk-table\">\n\n <thead clas=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th class=\"govuk-table__header\" scope=\"col\">{{'Name' | rpxTranslate}}</th>\n <th class=\"govuk-table__header\" scope=\"col\">{{'Email' | rpxTranslate}}</th>\n <th class=\"govuk-table__header\" scope=\"col\">{{'Status' | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <ng-container *ngFor=\"let u of users | paginate: { itemsPerPage: pagination.itemsPerPage, currentPage: currentPageNumber, totalItems: pagination.totalItems }\">\n <tr class=\"govuk-table__row\" data-selector=\"table-row\">\n <td class=\"govuk-table__cell\" data-selector=\"table-cell\">\n <a class=\"govuk-link\" [attr.title]=\"u.routerLinkTitle\" [routerLink]=\"u.routerLink\" (click)=\"onUserClick(u)\">{{ u.fullName }}</a>\n </td>\n <td class=\"govuk-table__cell\" data-selector=\"table-cell\">{{ u.email }}</td>\n <td class=\"govuk-table__cell\" data-selector=\"table-cell\">{{ u.status }}</td>\n </tr>\n </ng-container>\n </tbody>\n</table>\n<xuilib-hmcts-pagination (pageChange)=\"emitPageClickEvent($event)\" [pageSize]=\"pagination.itemsPerPage\"></xuilib-hmcts-pagination>\n", styles: [":host{display:block}\n"] }]
|
|
88
|
-
}], null, { users: [{
|
|
89
|
-
type: Input
|
|
90
|
-
}], currentPageNumber: [{
|
|
91
|
-
type: Input
|
|
92
|
-
}], pageTotalSize: [{
|
|
93
|
-
type: Input
|
|
94
|
-
}], userClick: [{
|
|
95
|
-
type: Output
|
|
96
|
-
}], pageChange: [{
|
|
97
|
-
type: Output
|
|
98
|
-
}] }); })();
|
|
99
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dWktY29tbW9uLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvdXNlci1saXN0L3VzZXItbGlzdC5jb21wb25lbnQudHMiLCIuL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