@hmcts/rpx-xui-common-lib 1.8.0-angular-upgrade-9-rc.6 → 2.0.0-angular-upgrade-8
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 +7435 -3173
- package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +1 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +2 -2
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +1 -1
- package/esm2015/hmcts-rpx-xui-common-lib.js +28 -22
- package/esm2015/lib/components/accessibility/accessibility.component.js +17 -13
- package/esm2015/lib/components/checkbox-list/checkbox-list.component.js +127 -45
- package/esm2015/lib/components/contact-details/contact-details.component.js +23 -16
- package/esm2015/lib/components/cookie-banner/cookie-banner.component.js +78 -31
- package/esm2015/lib/components/due-date/due-date.component.js +110 -24
- package/esm2015/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +34 -29
- package/esm2015/lib/components/find-location/find-location.component.js +140 -69
- package/esm2015/lib/components/find-person/find-person.component.js +180 -97
- package/esm2015/lib/components/generic-filter/generic-filter-utils.js +55 -11
- package/esm2015/lib/components/generic-filter/generic-filter.component.js +293 -54
- package/esm2015/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +29 -20
- package/esm2015/lib/components/index.js +7 -2
- package/esm2015/lib/components/invite-user-form/invite-user-form.component.js +33 -23
- package/esm2015/lib/components/invite-user-permissions/invite-user-permission.component.js +35 -34
- package/esm2015/lib/components/loading-spinner/loading-spinner.component.js +22 -16
- package/esm2015/lib/components/pagination/pagination.component.js +38 -28
- package/esm2015/lib/components/public_api.js +33 -33
- package/esm2015/lib/components/search-judicials/search-judicials.component.js +156 -70
- package/esm2015/lib/components/search-location/search-location.component.js +183 -80
- package/esm2015/lib/components/search-venue/search-venue.component.js +154 -62
- package/esm2015/lib/components/selected-case/selected-case.component.js +191 -54
- package/esm2015/lib/components/selected-case-confirm/selected-case-confirm.component.js +53 -22
- package/esm2015/lib/components/selected-case-list/selected-case-list.component.js +68 -38
- package/esm2015/lib/components/service-message/service-message.component.js +32 -23
- package/esm2015/lib/components/service-messages/service-messages.component.js +77 -29
- package/esm2015/lib/components/share-case/share-case.component.js +104 -45
- package/esm2015/lib/components/share-case-confirm/share-case-confirm.component.js +50 -27
- package/esm2015/lib/components/tab/tab.component.js +37 -19
- package/esm2015/lib/components/tc-confirm/tc-confirm.component.js +29 -20
- package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +17 -13
- package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +17 -13
- package/esm2015/lib/components/terms-and-conditions/terms-and-conditions.component.js +23 -16
- package/esm2015/lib/components/user-details/user-details.component.js +57 -47
- package/esm2015/lib/components/user-list/user-list.component.js +54 -19
- package/esm2015/lib/components/user-select/user-select.component.js +64 -23
- package/esm2015/lib/directives/feature-toggle/feature-toggle.directive.js +67 -21
- package/esm2015/lib/directives/index.js +7 -2
- package/esm2015/lib/directives/let/let.directive.js +49 -16
- package/esm2015/lib/directives/public-api.js +8 -3
- package/esm2015/lib/exui-common-lib.module.js +40 -31
- package/esm2015/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +34 -23
- package/esm2015/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +23 -18
- package/esm2015/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +68 -30
- package/esm2015/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +25 -19
- package/esm2015/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +28 -19
- package/esm2015/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +36 -23
- package/esm2015/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +28 -23
- package/esm2015/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +35 -24
- package/esm2015/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +22 -15
- package/esm2015/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +35 -23
- package/esm2015/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +23 -18
- package/esm2015/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +34 -27
- package/esm2015/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +47 -32
- package/esm2015/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +29 -22
- package/esm2015/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +26 -20
- package/esm2015/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +56 -26
- package/esm2015/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +27 -17
- package/esm2015/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +52 -40
- package/esm2015/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +49 -0
- package/esm2015/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +36 -29
- package/esm2015/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +40 -18
- package/esm2015/lib/gov-ui/components/index.js +7 -2
- package/esm2015/lib/gov-ui/components/public_api.js +7 -21
- package/esm2015/lib/gov-ui/directives/remove-host.directive.js +30 -12
- package/esm2015/lib/gov-ui/gov-ui.service.js +16 -12
- package/esm2015/lib/gov-ui/index.js +7 -2
- package/esm2015/lib/gov-ui/models/banner-data-model.js +16 -1
- package/esm2015/lib/gov-ui/models/checkboxes-model.js +22 -1
- package/esm2015/lib/gov-ui/models/error-messages-model.js +16 -1
- package/esm2015/lib/gov-ui/models/gov-ui-config-model.js +36 -1
- package/esm2015/lib/gov-ui/models/index.js +7 -1
- package/esm2015/lib/gov-ui/models/isession-storage.interface.js +24 -1
- package/esm2015/lib/gov-ui/models/public_api.js +10 -1
- package/esm2015/lib/gov-ui/public_api.js +9 -5
- package/esm2015/lib/gov-ui/util/helpers/html-templates.helper.js +14 -4
- package/esm2015/lib/gov-ui/util/session-storage/session-storage-utils.js +48 -12
- package/esm2015/lib/gov-ui/validators/checkboxes-be-checked.validator.js +24 -5
- package/esm2015/lib/gov-ui/validators/date.validator.js +20 -3
- package/esm2015/lib/gov-ui/validators/index.js +7 -2
- package/esm2015/lib/gov-ui/validators/public_api.js +9 -4
- package/esm2015/lib/gov-ui/validators/radio-group.validator.js +15 -3
- package/esm2015/lib/models/case-share.model.js +26 -1
- package/esm2015/lib/models/contact-details.model.js +31 -7
- package/esm2015/lib/models/due-date.model.js +14 -7
- package/esm2015/lib/models/feature-user.js +16 -1
- package/esm2015/lib/models/filter.model.js +116 -1
- package/esm2015/lib/models/idle-config.model.js +20 -1
- package/esm2015/lib/models/index.js +19 -6
- package/esm2015/lib/models/location.model.js +108 -1
- package/esm2015/lib/models/pagination.model.js +18 -0
- package/esm2015/lib/models/person.model.js +92 -17
- package/esm2015/lib/models/public_api.js +11 -4
- package/esm2015/lib/models/search-options.model.js +22 -1
- package/esm2015/lib/models/tcDocument.model.js +18 -1
- package/esm2015/lib/models/timeout-notification.model.js +18 -1
- package/esm2015/lib/models/user-details.model.js +22 -1
- package/esm2015/lib/models/user.model.js +25 -1
- package/esm2015/lib/services/case-sharing-state/case-sharing-state.service.js +92 -19
- package/esm2015/lib/services/cookie/cookie.service.js +78 -19
- package/esm2015/lib/services/feature-toggle/feature-toggle.guard.js +51 -16
- package/esm2015/lib/services/feature-toggle/feature-toggle.service.js +35 -11
- package/esm2015/lib/services/feature-toggle/launch-darkly.service.js +101 -21
- package/esm2015/lib/services/filter/filter.service.js +63 -11
- package/esm2015/lib/services/find-person/find-person.service.js +130 -25
- package/esm2015/lib/services/google-analytics/google-analytics.service.js +70 -21
- package/esm2015/lib/services/google-tag-manager/google-tag-manager.service.js +71 -23
- package/esm2015/lib/services/index.js +7 -2
- package/esm2015/lib/services/loading/loading.service.js +48 -11
- package/esm2015/lib/services/locations/location.service.js +35 -22
- package/esm2015/lib/services/manage-session/manage-session.services.js +70 -21
- package/esm2015/lib/services/public-api.js +18 -13
- package/esm2015/lib/services/role-guard/role.guard.js +61 -24
- package/esm2015/lib/services/role-guard/role.service.js +28 -11
- package/esm2015/lib/services/session-storage/session-storage.service.js +24 -12
- package/esm2015/lib/services/timeout-notifications/timeout-notifications.service.js +82 -20
- package/esm2015/lib/window.js +10 -1
- package/esm2015/public-api.js +13 -8
- package/esm5/hmcts-rpx-xui-common-lib.js +28 -22
- package/esm5/lib/components/accessibility/accessibility.component.js +15 -10
- package/esm5/lib/components/checkbox-list/checkbox-list.component.js +232 -57
- package/esm5/lib/components/contact-details/contact-details.component.js +22 -14
- package/esm5/lib/components/cookie-banner/cookie-banner.component.js +106 -36
- package/esm5/lib/components/due-date/due-date.component.js +142 -29
- package/esm5/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +33 -27
- package/esm5/lib/components/find-location/find-location.component.js +180 -80
- package/esm5/lib/components/find-person/find-person.component.js +203 -102
- package/esm5/lib/components/generic-filter/generic-filter-utils.js +57 -13
- package/esm5/lib/components/generic-filter/generic-filter.component.js +421 -85
- package/esm5/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +32 -19
- package/esm5/lib/components/index.js +7 -2
- package/esm5/lib/components/invite-user-form/invite-user-form.component.js +37 -23
- package/esm5/lib/components/invite-user-permissions/invite-user-permission.component.js +34 -32
- package/esm5/lib/components/loading-spinner/loading-spinner.component.js +21 -14
- package/esm5/lib/components/pagination/pagination.component.js +45 -28
- package/esm5/lib/components/public_api.js +33 -33
- package/esm5/lib/components/search-judicials/search-judicials.component.js +198 -78
- package/esm5/lib/components/search-location/search-location.component.js +217 -89
- package/esm5/lib/components/search-venue/search-venue.component.js +199 -71
- package/esm5/lib/components/selected-case/selected-case.component.js +279 -72
- package/esm5/lib/components/selected-case-confirm/selected-case-confirm.component.js +61 -22
- package/esm5/lib/components/selected-case-list/selected-case-list.component.js +82 -39
- package/esm5/lib/components/service-message/service-message.component.js +36 -22
- package/esm5/lib/components/service-messages/service-messages.component.js +91 -30
- package/esm5/lib/components/share-case/share-case.component.js +138 -52
- package/esm5/lib/components/share-case-confirm/share-case-confirm.component.js +49 -25
- package/esm5/lib/components/tab/tab.component.js +41 -18
- package/esm5/lib/components/tc-confirm/tc-confirm.component.js +32 -19
- package/esm5/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +15 -10
- package/esm5/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +15 -10
- package/esm5/lib/components/terms-and-conditions/terms-and-conditions.component.js +22 -14
- package/esm5/lib/components/user-details/user-details.component.js +71 -48
- package/esm5/lib/components/user-list/user-list.component.js +65 -18
- package/esm5/lib/components/user-select/user-select.component.js +92 -27
- package/esm5/lib/directives/feature-toggle/feature-toggle.directive.js +70 -21
- package/esm5/lib/directives/index.js +7 -2
- package/esm5/lib/directives/let/let.directive.js +51 -15
- package/esm5/lib/directives/public-api.js +8 -3
- package/esm5/lib/exui-common-lib.module.js +34 -22
- package/esm5/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +37 -22
- package/esm5/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +22 -16
- package/esm5/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +89 -32
- package/esm5/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +24 -17
- package/esm5/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +31 -18
- package/esm5/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +43 -23
- package/esm5/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +27 -21
- package/esm5/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +45 -24
- package/esm5/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +21 -13
- package/esm5/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +44 -18
- package/esm5/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +22 -16
- package/esm5/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +37 -26
- package/esm5/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +51 -31
- package/esm5/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +32 -21
- package/esm5/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +25 -18
- package/esm5/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +71 -28
- package/esm5/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +27 -16
- package/esm5/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +60 -41
- package/esm5/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +51 -0
- package/esm5/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +36 -28
- package/esm5/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +39 -16
- package/esm5/lib/gov-ui/components/index.js +7 -2
- package/esm5/lib/gov-ui/components/public_api.js +7 -21
- package/esm5/lib/gov-ui/directives/remove-host.directive.js +29 -10
- package/esm5/lib/gov-ui/gov-ui.service.js +14 -9
- package/esm5/lib/gov-ui/index.js +7 -2
- package/esm5/lib/gov-ui/models/banner-data-model.js +16 -1
- package/esm5/lib/gov-ui/models/checkboxes-model.js +22 -1
- package/esm5/lib/gov-ui/models/error-messages-model.js +16 -1
- package/esm5/lib/gov-ui/models/gov-ui-config-model.js +36 -1
- package/esm5/lib/gov-ui/models/index.js +7 -1
- package/esm5/lib/gov-ui/models/isession-storage.interface.js +24 -1
- package/esm5/lib/gov-ui/models/public_api.js +10 -1
- package/esm5/lib/gov-ui/public_api.js +9 -5
- package/esm5/lib/gov-ui/util/helpers/html-templates.helper.js +34 -3
- package/esm5/lib/gov-ui/util/session-storage/session-storage-utils.js +48 -12
- package/esm5/lib/gov-ui/validators/checkboxes-be-checked.validator.js +24 -5
- package/esm5/lib/gov-ui/validators/date.validator.js +20 -3
- package/esm5/lib/gov-ui/validators/index.js +7 -2
- package/esm5/lib/gov-ui/validators/public_api.js +9 -4
- package/esm5/lib/gov-ui/validators/radio-group.validator.js +15 -3
- package/esm5/lib/models/case-share.model.js +26 -1
- package/esm5/lib/models/contact-details.model.js +31 -7
- package/esm5/lib/models/due-date.model.js +14 -7
- package/esm5/lib/models/feature-user.js +16 -1
- package/esm5/lib/models/filter.model.js +116 -1
- package/esm5/lib/models/idle-config.model.js +20 -1
- package/esm5/lib/models/index.js +19 -6
- package/esm5/lib/models/location.model.js +108 -1
- package/esm5/lib/models/pagination.model.js +18 -0
- package/esm5/lib/models/person.model.js +92 -17
- package/esm5/lib/models/public_api.js +11 -4
- package/esm5/lib/models/search-options.model.js +22 -1
- package/esm5/lib/models/tcDocument.model.js +18 -1
- package/esm5/lib/models/timeout-notification.model.js +18 -1
- package/esm5/lib/models/user-details.model.js +22 -1
- package/esm5/lib/models/user.model.js +25 -1
- package/esm5/lib/services/case-sharing-state/case-sharing-state.service.js +132 -27
- package/esm5/lib/services/cookie/cookie.service.js +104 -21
- package/esm5/lib/services/feature-toggle/feature-toggle.guard.js +61 -13
- package/esm5/lib/services/feature-toggle/feature-toggle.service.js +70 -12
- package/esm5/lib/services/feature-toggle/launch-darkly.service.js +142 -21
- package/esm5/lib/services/filter/filter.service.js +101 -15
- package/esm5/lib/services/find-person/find-person.service.js +152 -27
- package/esm5/lib/services/google-analytics/google-analytics.service.js +78 -21
- package/esm5/lib/services/google-tag-manager/google-tag-manager.service.js +79 -23
- package/esm5/lib/services/index.js +7 -2
- package/esm5/lib/services/loading/loading.service.js +69 -14
- package/esm5/lib/services/locations/location.service.js +50 -11
- package/esm5/lib/services/manage-session/manage-session.services.js +73 -20
- package/esm5/lib/services/public-api.js +18 -13
- package/esm5/lib/services/role-guard/role.guard.js +60 -22
- package/esm5/lib/services/role-guard/role.service.js +28 -10
- package/esm5/lib/services/session-storage/session-storage.service.js +61 -12
- package/esm5/lib/services/timeout-notifications/timeout-notifications.service.js +111 -19
- package/esm5/lib/window.js +10 -1
- package/esm5/public-api.js +13 -8
- package/fesm2015/hmcts-rpx-xui-common-lib.js +6513 -3192
- package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/fesm5/hmcts-rpx-xui-common-lib.js +7455 -3160
- package/fesm5/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/hmcts-rpx-xui-common-lib.d.ts +21 -20
- package/hmcts-rpx-xui-common-lib.metadata.json +1 -1
- package/lib/components/checkbox-list/checkbox-list.component.d.ts +5 -6
- package/lib/components/due-date/due-date.component.d.ts +4 -4
- package/lib/components/find-location/find-location.component.d.ts +2 -4
- package/lib/components/generic-filter/generic-filter.component.d.ts +2 -4
- package/lib/components/invite-user-form/invite-user-form.component.d.ts +1 -1
- package/lib/components/public_api.d.ts +4 -9
- package/lib/components/search-judicials/search-judicials.component.d.ts +1 -1
- package/lib/components/search-location/search-location.component.d.ts +2 -4
- package/lib/components/search-venue/search-venue.component.d.ts +1 -1
- package/lib/components/user-list/user-list.component.d.ts +9 -2
- package/lib/directives/feature-toggle/feature-toggle.directive.d.ts +1 -1
- package/lib/directives/let/let.directive.d.ts +1 -1
- package/lib/exui-common-lib.module.d.ts +4 -2
- package/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.d.ts +1 -1
- package/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.d.ts +1 -1
- package/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.d.ts +1 -1
- package/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.d.ts +10 -0
- package/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.d.ts +1 -1
- package/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.d.ts +2 -0
- package/lib/gov-ui/components/public_api.d.ts +0 -19
- package/lib/gov-ui/public_api.d.ts +1 -2
- package/lib/models/index.d.ts +1 -0
- package/lib/models/pagination.model.d.ts +5 -0
- package/lib/services/case-sharing-state/case-sharing-state.service.d.ts +1 -1
- package/lib/services/loading/loading.service.d.ts +2 -2
- package/lib/services/role-guard/role.service.d.ts +1 -2
- package/lib/window.d.ts +1 -1
- package/package.json +10 -6
- package/esm2015/lib/gov-ui/directives/index.js +0 -2
- package/esm2015/lib/gov-ui/directives/public_api.js +0 -2
- package/esm5/lib/gov-ui/directives/index.js +0 -2
- package/esm5/lib/gov-ui/directives/public_api.js +0 -2
- package/lib/gov-ui/directives/index.d.ts +0 -1
- package/lib/gov-ui/directives/public_api.d.ts +0 -1
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* Generated from: lib/components/selected-case-confirm/selected-case-confirm.component.ts
|
|
4
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
+
*/
|
|
2
6
|
import { Component, Input } from '@angular/core';
|
|
3
7
|
import { CaseSharingStateService } from '../../services/case-sharing-state/case-sharing-state.service';
|
|
4
8
|
var SelectedCaseConfirmComponent = /** @class */ (function () {
|
|
@@ -6,40 +10,75 @@ var SelectedCaseConfirmComponent = /** @class */ (function () {
|
|
|
6
10
|
this.stateService = stateService;
|
|
7
11
|
this.changeLink = '';
|
|
8
12
|
}
|
|
9
|
-
|
|
13
|
+
/**
|
|
14
|
+
* @return {?}
|
|
15
|
+
*/
|
|
16
|
+
SelectedCaseConfirmComponent.prototype.ngOnInit = /**
|
|
17
|
+
* @return {?}
|
|
18
|
+
*/
|
|
19
|
+
function () {
|
|
10
20
|
var _this = this;
|
|
11
21
|
this.shareCases$ = this.stateService.state;
|
|
12
|
-
this.shareCases$.subscribe(
|
|
22
|
+
this.shareCases$.subscribe((/**
|
|
23
|
+
* @param {?} shareCases
|
|
24
|
+
* @return {?}
|
|
25
|
+
*/
|
|
26
|
+
function (shareCases) { return _this.shareCases = shareCases; }));
|
|
13
27
|
};
|
|
14
|
-
|
|
28
|
+
/**
|
|
29
|
+
* @param {?} user
|
|
30
|
+
* @return {?}
|
|
31
|
+
*/
|
|
32
|
+
SelectedCaseConfirmComponent.prototype.trackByUserId = /**
|
|
33
|
+
* @param {?} user
|
|
34
|
+
* @return {?}
|
|
35
|
+
*/
|
|
36
|
+
function (user) {
|
|
15
37
|
return user.idamId;
|
|
16
38
|
};
|
|
17
|
-
|
|
39
|
+
/**
|
|
40
|
+
* @return {?}
|
|
41
|
+
*/
|
|
42
|
+
SelectedCaseConfirmComponent.prototype.showUserAccessBlock = /**
|
|
43
|
+
* @return {?}
|
|
44
|
+
*/
|
|
45
|
+
function () {
|
|
18
46
|
if (this.sharedCase.pendingShares && this.sharedCase.pendingShares.length > 0) {
|
|
19
47
|
return true;
|
|
20
48
|
}
|
|
21
49
|
return this.sharedCase.pendingUnshares && this.sharedCase.pendingUnshares.length > 0;
|
|
22
50
|
};
|
|
51
|
+
SelectedCaseConfirmComponent.decorators = [
|
|
52
|
+
{ type: Component, args: [{
|
|
53
|
+
selector: 'xuilib-selected-case-confirm',
|
|
54
|
+
template: "<div id=\"user-access-block-{{ sharedCase.caseId }}\" *ngIf=\"showUserAccessBlock()\">\n <h2 class=\"govuk-heading-m case-share-confirm__title\">{{ sharedCase.caseTitle }}</h2>\n <div class=\"case-share-confirm__caption-area\">\n <div class=\"govuk-caption-m case-share-confirm__caption\">\n {{ sharedCase.caseId }}\n </div>\n <a [routerLink]=\"changeLink\" class=\"case-share-confirm__change-link govuk-link govuk-!-font-size-19\">Change</a>\n </div>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th class=\"govuk-table__header govuk-table-column-header\" scope=\"col\">Name</th>\n <th class=\"govuk-table__header govuk-table-column-header\" scope=\"col\">Email address</th>\n <th class=\"govuk-table__header govuk-table-column-actions\" scope=\"col\">Actions</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let user of sharedCase.pendingShares; trackBy: trackByUserId\">\n <td class=\"govuk-table__cell\">{{ user.firstName + ' ' + user.lastName }}</td>\n <td class=\"govuk-table__cell\">{{ user.email }}</td>\n <td class=\"govuk-table__cell\">\n <span class=\"hmcts-badge\">To be added</span>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngFor=\"let user of sharedCase.pendingUnshares; trackBy: trackByUserId\">\n <td class=\"govuk-table__cell\">{{ user.firstName + ' ' + user.lastName }}</td>\n <td class=\"govuk-table__cell\">{{ user.email }}</td>\n <td class=\"govuk-table__cell\">\n <span class=\"hmcts-badge hmcts-badge--red\">to be removed</span>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n",
|
|
55
|
+
styles: [".case-share-confirm__title{margin-bottom:0}.case-share-confirm__caption-area{border-bottom:1px solid #b1b4b6;padding-bottom:10px;display:inline-block;width:100%;clear:both}.case-share-confirm__caption{float:left}.case-share-confirm__change-link{float:right}.govuk-table-column-header{width:45%}.govuk-table-column-actions{width:10%}"]
|
|
56
|
+
}] }
|
|
57
|
+
];
|
|
58
|
+
/** @nocollapse */
|
|
23
59
|
SelectedCaseConfirmComponent.ctorParameters = function () { return [
|
|
24
60
|
{ type: CaseSharingStateService }
|
|
25
61
|
]; };
|
|
26
|
-
|
|
27
|
-
Input
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
__decorate([
|
|
31
|
-
Input(),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], SelectedCaseConfirmComponent.prototype, "changeLink", void 0);
|
|
34
|
-
SelectedCaseConfirmComponent = __decorate([
|
|
35
|
-
Component({
|
|
36
|
-
selector: 'xuilib-selected-case-confirm',
|
|
37
|
-
template: "<div id=\"user-access-block-{{ sharedCase.caseId }}\" *ngIf=\"showUserAccessBlock()\">\n <h2 class=\"govuk-heading-m case-share-confirm__title\">{{ sharedCase.caseTitle }}</h2>\n <div class=\"case-share-confirm__caption-area\">\n <div class=\"govuk-caption-m case-share-confirm__caption\">\n {{ sharedCase.caseId }}\n </div>\n <a [routerLink]=\"changeLink\" class=\"case-share-confirm__change-link govuk-link govuk-!-font-size-19\">Change</a>\n </div>\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th class=\"govuk-table__header govuk-table-column-header\" scope=\"col\">Name</th>\n <th class=\"govuk-table__header govuk-table-column-header\" scope=\"col\">Email address</th>\n <th class=\"govuk-table__header govuk-table-column-actions\" scope=\"col\">Actions</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let user of sharedCase.pendingShares; trackBy: trackByUserId\">\n <td class=\"govuk-table__cell\">{{ user.firstName + ' ' + user.lastName }}</td>\n <td class=\"govuk-table__cell\">{{ user.email }}</td>\n <td class=\"govuk-table__cell\">\n <span class=\"hmcts-badge\">To be added</span>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngFor=\"let user of sharedCase.pendingUnshares; trackBy: trackByUserId\">\n <td class=\"govuk-table__cell\">{{ user.firstName + ' ' + user.lastName }}</td>\n <td class=\"govuk-table__cell\">{{ user.email }}</td>\n <td class=\"govuk-table__cell\">\n <span class=\"hmcts-badge hmcts-badge--red\">to be removed</span>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n",
|
|
38
|
-
styles: [".case-share-confirm__title{margin-bottom:0}.case-share-confirm__caption-area{border-bottom:1px solid #b1b4b6;padding-bottom:10px;display:inline-block;width:100%;clear:both}.case-share-confirm__caption{float:left}.case-share-confirm__change-link{float:right}.govuk-table-column-header{width:45%}.govuk-table-column-actions{width:10%}"]
|
|
39
|
-
}),
|
|
40
|
-
__metadata("design:paramtypes", [CaseSharingStateService])
|
|
41
|
-
], SelectedCaseConfirmComponent);
|
|
62
|
+
SelectedCaseConfirmComponent.propDecorators = {
|
|
63
|
+
sharedCase: [{ type: Input }],
|
|
64
|
+
changeLink: [{ type: Input }]
|
|
65
|
+
};
|
|
42
66
|
return SelectedCaseConfirmComponent;
|
|
43
67
|
}());
|
|
44
68
|
export { SelectedCaseConfirmComponent };
|
|
45
|
-
|
|
69
|
+
if (false) {
|
|
70
|
+
/** @type {?} */
|
|
71
|
+
SelectedCaseConfirmComponent.prototype.sharedCase;
|
|
72
|
+
/** @type {?} */
|
|
73
|
+
SelectedCaseConfirmComponent.prototype.changeLink;
|
|
74
|
+
/** @type {?} */
|
|
75
|
+
SelectedCaseConfirmComponent.prototype.shareCases;
|
|
76
|
+
/** @type {?} */
|
|
77
|
+
SelectedCaseConfirmComponent.prototype.shareCases$;
|
|
78
|
+
/**
|
|
79
|
+
* @type {?}
|
|
80
|
+
* @private
|
|
81
|
+
*/
|
|
82
|
+
SelectedCaseConfirmComponent.prototype.stateService;
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0ZWQtY2FzZS1jb25maXJtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9ycHgteHVpLWNvbW1vbi1saWIvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9zZWxlY3RlZC1jYXNlLWNvbmZpcm0vc2VsZWN0ZWQtY2FzZS1jb25maXJtLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBSXpELE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDhEQUE4RCxDQUFDO0FBRXZHO0lBYUUsc0NBQTZCLFlBQXFDO1FBQXJDLGlCQUFZLEdBQVosWUFBWSxDQUF5QjtRQUxsRCxlQUFVLEdBQVcsRUFBRSxDQUFDO0lBSzhCLENBQUM7Ozs7SUFFaEUsK0NBQVE7OztJQUFmO1FBQUEsaUJBR0M7UUFGQyxJQUFJLENBQU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nN0YXRlU2VydmljZS5zdGF0ZTtcbiAgICB0aGlzLnNoYXJlQ2FzZXMkLnN1YnNjcmliZShzaGFyZUNhc2VzID0+IHRoaXMuc2hhcmVDYXNlcyA9IHNoYXJlQ2FzZXMpO1xuICB9XG5cbiAgcHVibGljIHRyYWNrQnlVc2VySWQodXNlcjogVXNlckRldGFpbHMpOiBzdHJpbmcge1xuICAgIHJldHVybiB1c2VyLmlkYW1JZDtcbiAgfVxuXG4gIHB1YmxpYyBzaG93VXNlckFjY2Vzc0Jsb2NrKCk6IGJvb2xlYW4ge1xuICAgIGlmICh0aGlzLnNoYXJlZENhc2UucGVuZGluZ1NoYXJlcyAmJiB0aGlzLnNoYXJlZENhc2UucGVuZGluZ1NoYXJlcy5sZW5ndGggPiAwKSB7XG4gICAgICByZXR1cm4gdHJ1ZTtcbiAgICB9XG4gICAgcmV0dXJuIHRoaXMuc2hhcmVkQ2FzZS5wZW5kaW5nVW5zaGFyZXMgJiYgdGhpcy5zaGFyZWRDYXNlLnBlbmRpbmdVbnNoYXJlcy5sZW5ndGggPiAwO1xuICB9XG59XG4iXX0=
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* Generated from: lib/components/selected-case-list/selected-case-list.component.ts
|
|
4
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
+
*/
|
|
2
6
|
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
3
7
|
import { Observable } from 'rxjs';
|
|
4
8
|
import { CaseSharingStateService } from '../../services/case-sharing-state/case-sharing-state.service';
|
|
@@ -11,56 +15,95 @@ var SelectedCaseListComponent = /** @class */ (function () {
|
|
|
11
15
|
this.unselect = new EventEmitter();
|
|
12
16
|
this.synchronizeStore = new EventEmitter();
|
|
13
17
|
}
|
|
14
|
-
|
|
18
|
+
/**
|
|
19
|
+
* @return {?}
|
|
20
|
+
*/
|
|
21
|
+
SelectedCaseListComponent.prototype.ngOnInit = /**
|
|
22
|
+
* @return {?}
|
|
23
|
+
*/
|
|
24
|
+
function () {
|
|
15
25
|
var _this = this;
|
|
16
26
|
this.shareCases$ = this.stateService.state;
|
|
17
|
-
this.shareCases$.subscribe(
|
|
27
|
+
this.shareCases$.subscribe((/**
|
|
28
|
+
* @param {?} shareCases
|
|
29
|
+
* @return {?}
|
|
30
|
+
*/
|
|
31
|
+
function (shareCases) { return _this.shareCases = shareCases; }));
|
|
18
32
|
};
|
|
19
|
-
|
|
33
|
+
/**
|
|
34
|
+
* @param {?} sharedCase
|
|
35
|
+
* @return {?}
|
|
36
|
+
*/
|
|
37
|
+
SelectedCaseListComponent.prototype.onUnselect = /**
|
|
38
|
+
* @param {?} sharedCase
|
|
39
|
+
* @return {?}
|
|
40
|
+
*/
|
|
41
|
+
function (sharedCase) {
|
|
20
42
|
this.unselect.emit(sharedCase);
|
|
21
43
|
};
|
|
22
|
-
|
|
44
|
+
/**
|
|
45
|
+
* @param {?} event
|
|
46
|
+
* @return {?}
|
|
47
|
+
*/
|
|
48
|
+
SelectedCaseListComponent.prototype.onSynchronizeStore = /**
|
|
49
|
+
* @param {?} event
|
|
50
|
+
* @return {?}
|
|
51
|
+
*/
|
|
52
|
+
function (event) {
|
|
23
53
|
this.synchronizeStore.emit(event);
|
|
24
54
|
};
|
|
25
|
-
|
|
55
|
+
/**
|
|
56
|
+
* @param {?} sharedCase
|
|
57
|
+
* @return {?}
|
|
58
|
+
*/
|
|
59
|
+
SelectedCaseListComponent.prototype.trackByCaseId = /**
|
|
60
|
+
* @param {?} sharedCase
|
|
61
|
+
* @return {?}
|
|
62
|
+
*/
|
|
63
|
+
function (sharedCase) {
|
|
26
64
|
return sharedCase.caseId;
|
|
27
65
|
};
|
|
66
|
+
SelectedCaseListComponent.decorators = [
|
|
67
|
+
{ type: Component, args: [{
|
|
68
|
+
selector: 'xuilib-selected-case-list',
|
|
69
|
+
template: "<ng-container *ngIf=\"!toConfirm\">\n <xuilib-selected-case\n *ngFor=\"let sharedCase of (shareCases$ | async); trackBy: trackByCaseId\"\n [sharedCase]=\"sharedCase\"\n [removeUserFromCaseToggleOn]=\"removeUserFromCaseToggleOn\"\n (unselect)=\"onUnselect($event)\"\n (synchronizeStore)=\"onSynchronizeStore($event)\"\n >\n </xuilib-selected-case>\n</ng-container>\n\n<ng-container *ngIf=\"toConfirm\">\n <xuilib-selected-case-confirm\n *ngFor=\"let sharedCase of (shareCases$ | async); trackBy: trackByCaseId\"\n [sharedCase]=\"sharedCase\"\n [changeLink]=\"changeLink\">\n </xuilib-selected-case-confirm>\n</ng-container>\n",
|
|
70
|
+
styles: [""]
|
|
71
|
+
}] }
|
|
72
|
+
];
|
|
73
|
+
/** @nocollapse */
|
|
28
74
|
SelectedCaseListComponent.ctorParameters = function () { return [
|
|
29
75
|
{ type: CaseSharingStateService }
|
|
30
76
|
]; };
|
|
31
|
-
|
|
32
|
-
Input
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
__decorate([
|
|
40
|
-
Input(),
|
|
41
|
-
__metadata("design:type", Boolean)
|
|
42
|
-
], SelectedCaseListComponent.prototype, "toConfirm", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
Input(),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], SelectedCaseListComponent.prototype, "changeLink", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
Output(),
|
|
49
|
-
__metadata("design:type", Object)
|
|
50
|
-
], SelectedCaseListComponent.prototype, "unselect", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
Output(),
|
|
53
|
-
__metadata("design:type", Object)
|
|
54
|
-
], SelectedCaseListComponent.prototype, "synchronizeStore", void 0);
|
|
55
|
-
SelectedCaseListComponent = __decorate([
|
|
56
|
-
Component({
|
|
57
|
-
selector: 'xuilib-selected-case-list',
|
|
58
|
-
template: "<ng-container *ngIf=\"!toConfirm\">\n <xuilib-selected-case\n *ngFor=\"let sharedCase of (shareCases$ | async); trackBy: trackByCaseId\"\n [sharedCase]=\"sharedCase\"\n [removeUserFromCaseToggleOn]=\"removeUserFromCaseToggleOn\"\n (unselect)=\"onUnselect($event)\"\n (synchronizeStore)=\"onSynchronizeStore($event)\"\n >\n </xuilib-selected-case>\n</ng-container>\n\n<ng-container *ngIf=\"toConfirm\">\n <xuilib-selected-case-confirm\n *ngFor=\"let sharedCase of (shareCases$ | async); trackBy: trackByCaseId\"\n [sharedCase]=\"sharedCase\"\n [changeLink]=\"changeLink\">\n </xuilib-selected-case-confirm>\n</ng-container>\n",
|
|
59
|
-
styles: [""]
|
|
60
|
-
}),
|
|
61
|
-
__metadata("design:paramtypes", [CaseSharingStateService])
|
|
62
|
-
], SelectedCaseListComponent);
|
|
77
|
+
SelectedCaseListComponent.propDecorators = {
|
|
78
|
+
shareCases$: [{ type: Input }],
|
|
79
|
+
removeUserFromCaseToggleOn: [{ type: Input }],
|
|
80
|
+
toConfirm: [{ type: Input }],
|
|
81
|
+
changeLink: [{ type: Input }],
|
|
82
|
+
unselect: [{ type: Output }],
|
|
83
|
+
synchronizeStore: [{ type: Output }]
|
|
84
|
+
};
|
|
63
85
|
return SelectedCaseListComponent;
|
|
64
86
|
}());
|
|
65
87
|
export { SelectedCaseListComponent };
|
|
66
|
-
|
|
88
|
+
if (false) {
|
|
89
|
+
/** @type {?} */
|
|
90
|
+
SelectedCaseListComponent.prototype.shareCases;
|
|
91
|
+
/** @type {?} */
|
|
92
|
+
SelectedCaseListComponent.prototype.shareCases$;
|
|
93
|
+
/** @type {?} */
|
|
94
|
+
SelectedCaseListComponent.prototype.removeUserFromCaseToggleOn;
|
|
95
|
+
/** @type {?} */
|
|
96
|
+
SelectedCaseListComponent.prototype.toConfirm;
|
|
97
|
+
/** @type {?} */
|
|
98
|
+
SelectedCaseListComponent.prototype.changeLink;
|
|
99
|
+
/** @type {?} */
|
|
100
|
+
SelectedCaseListComponent.prototype.unselect;
|
|
101
|
+
/** @type {?} */
|
|
102
|
+
SelectedCaseListComponent.prototype.synchronizeStore;
|
|
103
|
+
/**
|
|
104
|
+
* @type {?}
|
|
105
|
+
* @private
|
|
106
|
+
*/
|
|
107
|
+
SelectedCaseListComponent.prototype.stateService;
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0ZWQtY2FzZS1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9ycHgteHVpLWNvbW1vbi1saWIvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9zZWxlY3RlZC1jYXNlLWxpc3Qvc2VsZWN0ZWQtY2FzZS1saXN0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBVSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDL0UsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUVsQyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw4REFBOEQsQ0FBQztBQUV2RztJQW9CRSxtQ0FBNkIsWUFBcUM7UUFBckMsaUJBQVksR0FBWixZQUFZLENBQXlCO1FBYjNELGVBQVUsR0FBaUIsRUFBRSxDQUFDO1FBTXJCLGNBQVMsR0FBWSxLQUFLLENBQUM7UUFFM0IsZUFBVSxHQUFXLEVBQUUsQ0FBQztRQUV2QixhQUFRLEdBQUcsSUFBSSxZQUFZLEVBQWMsQ0FBQztRQUMxQyxxQkFBZ0IsR0FBRyxJQUFJLFlBQVksRUFBYyxDQUFDO0lBRUcsQ0FBQzs7OztJQUVoRSw0Q0FBUTs7O0lBQWY7UUFBQSxpQkFHQztRQUZDLElBQUksQ0FBQ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oYXJlZENhc2U+KCk7XG4gIEBPdXRwdXQoKSBwdWJsaWMgc3luY2hyb25pemVTdG9yZSA9IG5ldyBFdmVudEVtaXR0ZXI8U2hhcmVkQ2FzZT4oKTtcblxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHJlYWRvbmx5IHN0YXRlU2VydmljZTogQ2FzZVNoYXJpbmdTdGF0ZVNlcnZpY2UpIHsgfVxuXG4gIHB1YmxpYyBuZ09uSW5pdCgpIHtcbiAgICB0aGlzLnNoYXJlQ2FzZXMkID0gdGhpcy5zdGF0ZVNlcnZpY2Uuc3RhdGU7XG4gICAgdGhpcy5zaGFyZUNhc2VzJC5zdWJzY3JpYmUoc2hhcmVDYXNlcyA9PiB0aGlzLnNoYXJlQ2FzZXMgPSBzaGFyZUNhc2VzKTtcbiAgfVxuXG4gIHB1YmxpYyBvblVuc2VsZWN0KHNoYXJlZENhc2U6IFNoYXJlZENhc2UpOiB2b2lkIHtcbiAgICB0aGlzLnVuc2VsZWN0LmVtaXQoc2hhcmVkQ2FzZSk7XG4gIH1cblxuICBwdWJsaWMgb25TeW5jaHJvbml6ZVN0b3JlKGV2ZW50OiBhbnkpOiB2b2lkIHtcbiAgICB0aGlzLnN5bmNocm9uaXplU3RvcmUuZW1pdChldmVudCk7XG4gIH1cblxuICBwdWJsaWMgdHJhY2tCeUNhc2VJZChzaGFyZWRDYXNlOiBTaGFyZWRDYXNlKTogc3RyaW5nIHtcbiAgICByZXR1cm4gc2hhcmVkQ2FzZS5jYXNlSWQ7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,32 +1,46 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* Generated from: lib/components/service-message/service-message.component.ts
|
|
4
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
+
*/
|
|
2
6
|
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
3
7
|
var ServiceMessageComponent = /** @class */ (function () {
|
|
4
8
|
function ServiceMessageComponent() {
|
|
5
9
|
this.hideMessage = new EventEmitter();
|
|
6
10
|
}
|
|
7
|
-
|
|
11
|
+
/**
|
|
12
|
+
* @param {?} key
|
|
13
|
+
* @return {?}
|
|
14
|
+
*/
|
|
15
|
+
ServiceMessageComponent.prototype.onHideMessageEvent = /**
|
|
16
|
+
* @param {?} key
|
|
17
|
+
* @return {?}
|
|
18
|
+
*/
|
|
19
|
+
function (key) {
|
|
8
20
|
this.hideMessage.emit(key);
|
|
9
21
|
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Component({
|
|
24
|
-
selector: 'xuilib-service-message',
|
|
25
|
-
template: "<div class=\"hmcts-banner hmcts-banner--warning\">\n\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path d=\"M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z\" />\n </svg>\n\n <div class=\"hmcts-banner__message\">\n <span class=\"hmcts-banner__assistive\">Warning</span>\n <h2 class=\"govuk-heading-s\" [innerHTML]=\"message\"></h2>\n <a [routerLink]=\"\" class=\"govuk-link--no-visited-state\" (click)=\"onHideMessageEvent(key)\">Hide message</a>\n </div>\n\n</div>"
|
|
26
|
-
}),
|
|
27
|
-
__metadata("design:paramtypes", [])
|
|
28
|
-
], ServiceMessageComponent);
|
|
22
|
+
ServiceMessageComponent.decorators = [
|
|
23
|
+
{ type: Component, args: [{
|
|
24
|
+
selector: 'xuilib-service-message',
|
|
25
|
+
template: "<div class=\"hmcts-banner hmcts-banner--warning\">\n\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path d=\"M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z\" />\n </svg>\n\n <div class=\"hmcts-banner__message\">\n <span class=\"hmcts-banner__assistive\">Warning</span>\n <h2 class=\"govuk-heading-s\" [innerHTML]=\"message\"></h2>\n <a [routerLink]=\"\" class=\"govuk-link--no-visited-state\" (click)=\"onHideMessageEvent(key)\">Hide message</a>\n </div>\n\n</div>"
|
|
26
|
+
}] }
|
|
27
|
+
];
|
|
28
|
+
/** @nocollapse */
|
|
29
|
+
ServiceMessageComponent.ctorParameters = function () { return []; };
|
|
30
|
+
ServiceMessageComponent.propDecorators = {
|
|
31
|
+
message: [{ type: Input }],
|
|
32
|
+
key: [{ type: Input }],
|
|
33
|
+
hideMessage: [{ type: Output }]
|
|
34
|
+
};
|
|
29
35
|
return ServiceMessageComponent;
|
|
30
36
|
}());
|
|
31
37
|
export { ServiceMessageComponent };
|
|
32
|
-
|
|
38
|
+
if (false) {
|
|
39
|
+
/** @type {?} */
|
|
40
|
+
ServiceMessageComponent.prototype.message;
|
|
41
|
+
/** @type {?} */
|
|
42
|
+
ServiceMessageComponent.prototype.key;
|
|
43
|
+
/** @type {?} */
|
|
44
|
+
ServiceMessageComponent.prototype.hideMessage;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1tZXNzYWdlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9ycHgteHVpLWNvbW1vbi1saWIvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9zZXJ2aWNlLW1lc3NhZ2Uvc2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aWRlTWVzc2FnZSA9IG5ldyBFdmVudEVtaXR0ZXI8c3RyaW5nPigpO1xuICBjb25zdHJ1Y3RvcigpIHsgfVxuXG4gIHB1YmxpYyBvbkhpZGVNZXNzYWdlRXZlbnQoa2V5OiBzdHJpbmcpIHtcbiAgICB0aGlzLmhpZGVNZXNzYWdlLmVtaXQoa2V5KTtcbiAgfVxufVxuIl19
|
|
@@ -1,61 +1,122 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* Generated from: lib/components/service-messages/service-messages.component.ts
|
|
4
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
+
*/
|
|
2
6
|
import { Component, Input } from '@angular/core';
|
|
3
7
|
import { FeatureToggleService } from '../../services/feature-toggle/feature-toggle.service';
|
|
8
|
+
/**
|
|
9
|
+
* @record
|
|
10
|
+
*/
|
|
11
|
+
export function ServiceMessages() { }
|
|
4
12
|
var ServiceMessagesComponent = /** @class */ (function () {
|
|
5
13
|
function ServiceMessagesComponent(featureToggleService) {
|
|
6
14
|
this.featureToggleService = featureToggleService;
|
|
7
15
|
this.filteredMessages = new Map();
|
|
8
16
|
}
|
|
9
|
-
|
|
17
|
+
/**
|
|
18
|
+
* @return {?}
|
|
19
|
+
*/
|
|
20
|
+
ServiceMessagesComponent.prototype.ngOnInit = /**
|
|
21
|
+
* @return {?}
|
|
22
|
+
*/
|
|
23
|
+
function () {
|
|
10
24
|
this.getServiceMessages();
|
|
11
25
|
};
|
|
12
|
-
|
|
26
|
+
/**
|
|
27
|
+
* @return {?}
|
|
28
|
+
*/
|
|
29
|
+
ServiceMessagesComponent.prototype.getServiceMessages = /**
|
|
30
|
+
* @return {?}
|
|
31
|
+
*/
|
|
32
|
+
function () {
|
|
13
33
|
var _this = this;
|
|
14
34
|
this.featureToggleService.getValue(this.featureToggleKey, null)
|
|
15
|
-
.subscribe(
|
|
35
|
+
.subscribe((/**
|
|
36
|
+
* @param {?} messages
|
|
37
|
+
* @return {?}
|
|
38
|
+
*/
|
|
39
|
+
function (messages) {
|
|
16
40
|
if (!!messages) {
|
|
17
41
|
_this.createFilteredMessages(messages);
|
|
18
42
|
}
|
|
19
|
-
});
|
|
43
|
+
}));
|
|
20
44
|
};
|
|
21
|
-
|
|
45
|
+
/**
|
|
46
|
+
* @private
|
|
47
|
+
* @param {?} messages
|
|
48
|
+
* @return {?}
|
|
49
|
+
*/
|
|
50
|
+
ServiceMessagesComponent.prototype.createFilteredMessages = /**
|
|
51
|
+
* @private
|
|
52
|
+
* @param {?} messages
|
|
53
|
+
* @return {?}
|
|
54
|
+
*/
|
|
55
|
+
function (messages) {
|
|
22
56
|
var _this = this;
|
|
23
57
|
this.hiddenBanners = JSON.parse(window.sessionStorage.getItem(this.serviceMessageCookie)) || [];
|
|
24
|
-
Object.keys(messages).forEach(
|
|
58
|
+
Object.keys(messages).forEach((/**
|
|
59
|
+
* @param {?} key
|
|
60
|
+
* @return {?}
|
|
61
|
+
*/
|
|
62
|
+
function (key) {
|
|
63
|
+
/** @type {?} */
|
|
25
64
|
var regEx = new RegExp(key);
|
|
26
|
-
if (_this.userRoles.some(
|
|
65
|
+
if (_this.userRoles.some((/**
|
|
66
|
+
* @param {?} e
|
|
67
|
+
* @return {?}
|
|
68
|
+
*/
|
|
69
|
+
function (e) { return regEx.test(e); })) && _this.hiddenBanners.indexOf(key) === -1) {
|
|
27
70
|
_this.filteredMessages.set(key, messages[key]);
|
|
28
71
|
}
|
|
29
|
-
});
|
|
72
|
+
}));
|
|
30
73
|
};
|
|
31
|
-
|
|
74
|
+
/**
|
|
75
|
+
* @param {?} key
|
|
76
|
+
* @return {?}
|
|
77
|
+
*/
|
|
78
|
+
ServiceMessagesComponent.prototype.hideMessage = /**
|
|
79
|
+
* @param {?} key
|
|
80
|
+
* @return {?}
|
|
81
|
+
*/
|
|
82
|
+
function (key) {
|
|
32
83
|
this.filteredMessages.delete(key);
|
|
33
84
|
this.hiddenBanners.push(key);
|
|
34
85
|
window.sessionStorage.setItem(this.serviceMessageCookie, JSON.stringify(this.hiddenBanners));
|
|
35
86
|
};
|
|
87
|
+
ServiceMessagesComponent.decorators = [
|
|
88
|
+
{ type: Component, args: [{
|
|
89
|
+
selector: 'xuilib-service-messages',
|
|
90
|
+
template: "<div *ngIf=\"filteredMessages?.size > 0\" class=\"govuk-width-container govuk-!-margin-top-6\">\n <xuilib-service-message *ngFor=\"let message of filteredMessages | keyvalue\" [key]=\"message.key\"\n [message]=\"message.value\" (hideMessage)=\"hideMessage($event)\"></xuilib-service-message>\n</div>"
|
|
91
|
+
}] }
|
|
92
|
+
];
|
|
93
|
+
/** @nocollapse */
|
|
36
94
|
ServiceMessagesComponent.ctorParameters = function () { return [
|
|
37
95
|
{ type: FeatureToggleService }
|
|
38
96
|
]; };
|
|
39
|
-
|
|
40
|
-
Input
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
Input(),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], ServiceMessagesComponent.prototype, "featureToggleKey", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
Input(),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], ServiceMessagesComponent.prototype, "serviceMessageCookie", void 0);
|
|
51
|
-
ServiceMessagesComponent = __decorate([
|
|
52
|
-
Component({
|
|
53
|
-
selector: 'xuilib-service-messages',
|
|
54
|
-
template: "<div *ngIf=\"filteredMessages?.size > 0\" class=\"govuk-width-container govuk-!-margin-top-6\">\n <xuilib-service-message *ngFor=\"let message of filteredMessages | keyvalue\" [key]=\"message.key\"\n [message]=\"message.value\" (hideMessage)=\"hideMessage($event)\"></xuilib-service-message>\n</div>"
|
|
55
|
-
}),
|
|
56
|
-
__metadata("design:paramtypes", [FeatureToggleService])
|
|
57
|
-
], ServiceMessagesComponent);
|
|
97
|
+
ServiceMessagesComponent.propDecorators = {
|
|
98
|
+
userRoles: [{ type: Input }],
|
|
99
|
+
featureToggleKey: [{ type: Input }],
|
|
100
|
+
serviceMessageCookie: [{ type: Input }]
|
|
101
|
+
};
|
|
58
102
|
return ServiceMessagesComponent;
|
|
59
103
|
}());
|
|
60
104
|
export { ServiceMessagesComponent };
|
|
61
|
-
|
|
105
|
+
if (false) {
|
|
106
|
+
/** @type {?} */
|
|
107
|
+
ServiceMessagesComponent.prototype.hiddenBanners;
|
|
108
|
+
/** @type {?} */
|
|
109
|
+
ServiceMessagesComponent.prototype.filteredMessages;
|
|
110
|
+
/** @type {?} */
|
|
111
|
+
ServiceMessagesComponent.prototype.userRoles;
|
|
112
|
+
/** @type {?} */
|
|
113
|
+
ServiceMessagesComponent.prototype.featureToggleKey;
|
|
114
|
+
/** @type {?} */
|
|
115
|
+
ServiceMessagesComponent.prototype.serviceMessageCookie;
|
|
116
|
+
/**
|
|
117
|
+
* @type {?}
|
|
118
|
+
* @private
|
|
119
|
+
*/
|
|
120
|
+
ServiceMessagesComponent.prototype.featureToggleService;
|
|
121
|
+
}
|
|
122
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1tZXNzYWdlcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvcnB4LXh1aS1jb21tb24tbGliLyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvc2VydmljZS1tZXNzYWdlcy9zZXJ2aWNlLW1lc3NhZ2VzLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHNEQUFzRCxDQUFDOzs7O0FBRTVGLHFDQUVDO0FBRUQ7SUFZRSxrQ0FBNkIsb0JBQTBDO1FBQTFDLHlCQUFvQixHQUF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