@hmcts/rpx-xui-common-lib 2.1.2-angular-upgrade-11 → 2.1.2-google-analytics
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/README.md +1 -1
- package/esm2022/hmcts-rpx-xui-common-lib.mjs +5 -0
- package/esm2022/lib/components/accessibility/accessibility.component.mjs +833 -0
- package/esm2022/lib/components/checkbox-list/checkbox-list.component.mjs +232 -0
- package/esm2022/lib/components/contact-details/contact-details.component.mjs +123 -0
- package/esm2022/lib/components/cookie-banner/cookie-banner.component.mjs +151 -0
- package/esm2022/lib/components/due-date/due-date.component.mjs +141 -0
- package/esm2022/lib/components/exui-main-wrapper/exui-page-wrapper.component.mjs +80 -0
- package/esm2022/lib/components/find-location/find-location.component.mjs +220 -0
- package/esm2022/lib/components/find-person/find-person.component.mjs +234 -0
- package/esm2022/lib/components/find-service/find-service.component.mjs +193 -0
- package/esm2022/lib/components/find-task-name/find-task-name.component.mjs +200 -0
- package/esm2022/lib/components/generic-filter/generic-filter-utils.mjs +21 -0
- package/esm2022/lib/components/generic-filter/generic-filter.component.mjs +1224 -0
- package/esm2022/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.mjs +56 -0
- package/esm2022/lib/components/index.mjs +2 -0
- package/esm2022/lib/components/invite-user-form/invite-user-form.component.mjs +51 -0
- package/esm2022/lib/components/invite-user-permissions/invite-user-permission.component.mjs +54 -0
- package/esm2022/lib/components/loading-spinner/loading-spinner.component.mjs +33 -0
- package/esm2022/lib/components/pagination/pagination.component.mjs +92 -0
- package/esm2022/lib/components/public_api.mjs +39 -0
- package/esm2022/lib/components/search-judicials/search-judicials.component.mjs +185 -0
- package/esm2022/lib/components/search-location/search-location.component.mjs +240 -0
- package/esm2022/lib/components/search-service/search-service.component.mjs +94 -0
- package/esm2022/lib/components/search-venue/search-venue.component.mjs +188 -0
- package/esm2022/lib/components/selected-case/selected-case.component.mjs +381 -0
- package/esm2022/lib/components/selected-case-confirm/selected-case-confirm.component.mjs +135 -0
- package/esm2022/lib/components/selected-case-list/selected-case-list.component.mjs +98 -0
- package/esm2022/lib/components/service-message/service-message.component.mjs +62 -0
- package/esm2022/lib/components/service-messages/service-messages.component.mjs +165 -0
- package/esm2022/lib/components/share-case/share-case.component.mjs +427 -0
- package/esm2022/lib/components/share-case-confirm/share-case-confirm.component.mjs +85 -0
- package/esm2022/lib/components/tab/tab.component.mjs +40 -0
- package/esm2022/lib/components/tc-confirm/tc-confirm.component.mjs +66 -0
- package/esm2022/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.mjs +17 -0
- package/esm2022/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.mjs +17 -0
- package/esm2022/lib/components/terms-and-conditions/terms-and-conditions.component.mjs +58 -0
- package/esm2022/lib/components/user-details/user-details.component.mjs +276 -0
- package/esm2022/lib/components/user-list/user-list.component.mjs +100 -0
- package/esm2022/lib/components/user-select/user-select.component.mjs +94 -0
- package/esm2022/lib/components/write-address/write-address.component.mjs +342 -0
- package/esm2022/lib/components/write-address-inputs/write-address-inputs.component.mjs +165 -0
- package/esm2022/lib/directives/feature-toggle/feature-toggle.directive.mjs +41 -0
- package/esm2022/lib/directives/index.mjs +2 -0
- package/esm2022/lib/directives/let/let.directive.mjs +29 -0
- package/esm2022/lib/directives/public-api.mjs +3 -0
- package/esm2022/lib/exui-common-lib.module.mjs +313 -0
- package/esm2022/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.mjs +55 -0
- package/esm2022/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.mjs +137 -0
- package/esm2022/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.mjs +127 -0
- package/esm2022/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.mjs +46 -0
- package/esm2022/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.mjs +79 -0
- package/esm2022/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.mjs +79 -0
- package/esm2022/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.mjs +45 -0
- package/esm2022/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.mjs +71 -0
- package/esm2022/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.mjs +84 -0
- package/esm2022/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.mjs +48 -0
- package/esm2022/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.mjs +42 -0
- package/esm2022/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.mjs +80 -0
- package/esm2022/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.mjs +185 -0
- package/esm2022/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.mjs +57 -0
- package/esm2022/lib/gov-ui/components/hmcts-banner/hmcts-banner-info.interface.mjs +2 -0
- package/esm2022/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.mjs +111 -0
- package/esm2022/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.mjs +140 -0
- package/esm2022/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.mjs +34 -0
- package/esm2022/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.mjs +129 -0
- package/esm2022/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.mjs +204 -0
- package/esm2022/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.mjs +60 -0
- package/esm2022/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.mjs +58 -0
- package/esm2022/lib/gov-ui/components/index.mjs +2 -0
- package/esm2022/lib/gov-ui/components/public_api.mjs +22 -0
- package/esm2022/lib/gov-ui/directives/remove-host.directive.mjs +30 -0
- package/esm2022/lib/gov-ui/gov-ui.service.mjs +14 -0
- package/esm2022/lib/gov-ui/index.mjs +2 -0
- package/esm2022/lib/gov-ui/models/checkboxes-model.mjs +2 -0
- package/esm2022/lib/gov-ui/models/error-messages-model.mjs +2 -0
- package/esm2022/lib/gov-ui/models/gov-ui-config-model.mjs +2 -0
- package/esm2022/lib/gov-ui/models/index.mjs +2 -0
- package/esm2022/lib/gov-ui/models/public_api.mjs +7 -0
- package/esm2022/lib/gov-ui/models/radio-buttons.model.mjs +2 -0
- package/esm2022/lib/gov-ui/public_api.mjs +8 -0
- package/esm2022/lib/gov-ui/util/helpers/html-templates.helper.mjs +22 -0
- package/esm2022/lib/gov-ui/validators/checkboxes-be-checked.validator.mjs +18 -0
- package/esm2022/lib/gov-ui/validators/date.validator.mjs +15 -0
- package/esm2022/lib/gov-ui/validators/index.mjs +2 -0
- package/esm2022/lib/gov-ui/validators/public_api.mjs +7 -0
- package/esm2022/lib/gov-ui/validators/radio-group.validator.mjs +15 -0
- package/esm2022/lib/models/address-message.enum.mjs +11 -0
- package/esm2022/lib/models/address-option.model.mjs +21 -0
- package/esm2022/lib/models/address.model.mjs +4 -0
- package/esm2022/lib/models/case-share.model.mjs +7 -0
- package/esm2022/lib/models/contact-details.model.mjs +7 -0
- package/esm2022/lib/models/due-date.model.mjs +8 -0
- package/esm2022/lib/models/feature-user.mjs +5 -0
- package/esm2022/lib/models/filter.model.mjs +3 -0
- package/esm2022/lib/models/idle-config.model.mjs +2 -0
- package/esm2022/lib/models/index.mjs +19 -0
- package/esm2022/lib/models/location.model.mjs +7 -0
- package/esm2022/lib/models/pagination.model.mjs +2 -0
- package/esm2022/lib/models/person.model.mjs +19 -0
- package/esm2022/lib/models/public_api.mjs +7 -0
- package/esm2022/lib/models/search-options.model.mjs +2 -0
- package/esm2022/lib/models/service-message.model.mjs +2 -0
- package/esm2022/lib/models/task-name.model.mjs +2 -0
- package/esm2022/lib/models/tcDocument.model.mjs +2 -0
- package/esm2022/lib/models/timeout-notification.model.mjs +2 -0
- package/esm2022/lib/models/user-access-type.model.mjs +2 -0
- package/esm2022/lib/models/user-details.model.mjs +2 -0
- package/esm2022/lib/models/user.model.mjs +2 -0
- package/esm2022/lib/pipes/capitalize/capitalize.pipe.mjs +15 -0
- package/esm2022/lib/pipes/index.mjs +2 -0
- package/esm2022/lib/services/address/address-parser.mjs +76 -0
- package/esm2022/lib/services/address/address-type.enum.mjs +7 -0
- package/esm2022/lib/services/address/address.service.mjs +55 -0
- package/esm2022/lib/services/case-sharing-state/case-sharing-state.service.mjs +170 -0
- package/esm2022/lib/services/cookie/cookie.service.mjs +48 -0
- package/esm2022/lib/services/feature-toggle/feature-toggle.guard.mjs +37 -0
- package/esm2022/lib/services/feature-toggle/feature-toggle.service.mjs +33 -0
- package/esm2022/lib/services/feature-toggle/launch-darkly.service.mjs +65 -0
- package/esm2022/lib/services/filter/filter.service.mjs +95 -0
- package/esm2022/lib/services/find-person/find-person.service.mjs +92 -0
- package/esm2022/lib/services/google-analytics/google-analytics.service.mjs +73 -0
- package/esm2022/lib/services/google-tag-manager/google-tag-manager.service.mjs +85 -0
- package/esm2022/lib/services/index.mjs +2 -0
- package/esm2022/lib/services/loading/loading.service.mjs +41 -0
- package/esm2022/lib/services/locations/location.service.mjs +38 -0
- package/esm2022/lib/services/manage-session/manage-session.services.mjs +50 -0
- package/esm2022/lib/services/public-api.mjs +18 -0
- package/esm2022/lib/services/ref-data/index.mjs +4 -0
- package/esm2022/lib/services/ref-data/models/ref-data-htmcs-service.model.mjs +2 -0
- package/esm2022/lib/services/ref-data/models/ref-data-region.model.mjs +2 -0
- package/esm2022/lib/services/ref-data/ref-data-data-access/models/ref-data-locations-by-service-code-response.model.mjs +2 -0
- package/esm2022/lib/services/ref-data/ref-data-data-access/ref-data-data-access.service.mjs +33 -0
- package/esm2022/lib/services/ref-data/ref-data.service.mjs +34 -0
- package/esm2022/lib/services/role-guard/role.guard.mjs +43 -0
- package/esm2022/lib/services/role-guard/role.service.mjs +22 -0
- package/esm2022/lib/services/storage/session-storage/session-storage.service.mjs +43 -0
- package/esm2022/lib/services/task-name/task-name.service.mjs +35 -0
- package/esm2022/lib/services/timeout-notifications/timeout-notifications.service.mjs +103 -0
- package/esm2022/lib/window.mjs +4 -0
- package/esm2022/public-api.mjs +12 -0
- package/fesm2022/hmcts-rpx-xui-common-lib.mjs +10377 -0
- package/fesm2022/hmcts-rpx-xui-common-lib.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/accessibility/accessibility.component.d.ts +7 -1
- package/lib/components/checkbox-list/checkbox-list.component.d.ts +14 -7
- package/lib/components/contact-details/contact-details.component.d.ts +3 -0
- package/lib/components/cookie-banner/cookie-banner.component.d.ts +5 -1
- package/lib/components/due-date/due-date.component.d.ts +12 -6
- package/lib/components/exui-main-wrapper/exui-page-wrapper.component.d.ts +3 -0
- package/lib/components/find-location/find-location.component.d.ts +16 -8
- package/lib/components/find-person/find-person.component.d.ts +5 -2
- package/lib/components/find-service/find-service.component.d.ts +29 -0
- package/lib/components/find-task-name/find-task-name.component.d.ts +44 -0
- package/lib/components/generic-filter/generic-filter-utils.d.ts +2 -5
- package/lib/components/generic-filter/generic-filter.component.d.ts +29 -8
- package/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.d.ts +3 -0
- package/lib/components/invite-user-form/invite-user-form.component.d.ts +4 -1
- package/lib/components/invite-user-permissions/invite-user-permission.component.d.ts +3 -0
- package/lib/components/loading-spinner/loading-spinner.component.d.ts +8 -1
- package/lib/components/pagination/pagination.component.d.ts +3 -0
- package/lib/components/public_api.d.ts +11 -0
- package/lib/components/search-judicials/search-judicials.component.d.ts +4 -1
- package/lib/components/search-location/search-location.component.d.ts +27 -20
- package/lib/components/search-service/search-service.component.d.ts +20 -0
- package/lib/components/search-venue/search-venue.component.d.ts +4 -2
- package/lib/components/selected-case/selected-case.component.d.ts +4 -1
- package/lib/components/selected-case-confirm/selected-case-confirm.component.d.ts +3 -0
- package/lib/components/selected-case-list/selected-case-list.component.d.ts +4 -0
- package/lib/components/service-message/service-message.component.d.ts +9 -4
- package/lib/components/service-messages/service-messages.component.d.ts +15 -5
- package/lib/components/share-case/share-case.component.d.ts +41 -2
- package/lib/components/share-case-confirm/share-case-confirm.component.d.ts +3 -0
- package/lib/components/tab/tab.component.d.ts +3 -0
- package/lib/components/tc-confirm/tc-confirm.component.d.ts +3 -0
- package/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.d.ts +3 -0
- package/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.d.ts +3 -0
- package/lib/components/terms-and-conditions/terms-and-conditions.component.d.ts +3 -0
- package/lib/components/user-details/user-details.component.d.ts +4 -0
- package/lib/components/user-list/user-list.component.d.ts +3 -0
- package/lib/components/user-select/user-select.component.d.ts +5 -3
- package/lib/components/write-address/write-address.component.d.ts +45 -0
- package/lib/components/write-address-inputs/write-address-inputs.component.d.ts +16 -0
- package/lib/directives/feature-toggle/feature-toggle.directive.d.ts +4 -1
- package/lib/directives/let/let.directive.d.ts +4 -1
- package/lib/exui-common-lib.module.d.ts +83 -4
- package/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.d.ts +17 -5
- package/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.d.ts +4 -2
- package/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.d.ts +4 -0
- package/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.d.ts +5 -2
- package/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.d.ts +3 -0
- package/lib/gov-ui/components/hmcts-banner/hmcts-banner-info.interface.d.ts +7 -0
- package/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.d.ts +7 -2
- package/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.d.ts +4 -1
- package/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.d.ts +4 -1
- package/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.d.ts +6 -3
- package/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.d.ts +3 -0
- package/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.d.ts +4 -1
- package/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.d.ts +3 -0
- package/lib/gov-ui/components/public_api.d.ts +20 -0
- package/lib/gov-ui/directives/remove-host.directive.d.ts +3 -0
- package/lib/gov-ui/gov-ui.service.d.ts +3 -0
- package/lib/gov-ui/models/checkboxes-model.d.ts +4 -7
- package/lib/gov-ui/models/gov-ui-config-model.d.ts +2 -0
- package/lib/gov-ui/models/public_api.d.ts +0 -1
- package/lib/gov-ui/models/radio-buttons.model.d.ts +9 -0
- package/lib/gov-ui/public_api.d.ts +1 -0
- package/lib/models/address-message.enum.d.ts +9 -0
- package/lib/models/address-option.model.d.ts +9 -0
- package/lib/models/address.model.d.ts +9 -0
- package/lib/models/case-share.model.d.ts +5 -0
- package/lib/models/contact-details.model.d.ts +4 -0
- package/lib/models/feature-user.d.ts +4 -6
- package/lib/models/filter.model.d.ts +43 -9
- package/lib/models/index.d.ts +4 -0
- package/lib/models/location.model.d.ts +12 -12
- package/lib/models/person.model.d.ts +3 -0
- package/lib/models/public_api.d.ts +1 -0
- package/lib/models/search-options.model.d.ts +1 -1
- package/lib/models/service-message.model.d.ts +8 -0
- package/lib/models/task-name.model.d.ts +4 -0
- package/lib/models/user-access-type.model.d.ts +6 -0
- package/lib/models/user-details.model.d.ts +2 -0
- package/lib/pipes/capitalize/capitalize.pipe.d.ts +7 -0
- package/lib/pipes/index.d.ts +1 -0
- package/lib/services/address/address-parser.d.ts +17 -0
- package/lib/services/address/address-type.enum.d.ts +5 -0
- package/lib/services/address/address.service.d.ts +15 -0
- package/lib/services/case-sharing-state/case-sharing-state.service.d.ts +5 -2
- package/lib/services/cookie/cookie.service.d.ts +3 -0
- package/lib/services/feature-toggle/feature-toggle.guard.d.ts +8 -2
- package/lib/services/feature-toggle/feature-toggle.service.d.ts +4 -0
- package/lib/services/feature-toggle/launch-darkly.service.d.ts +14 -10
- package/lib/services/filter/filter.service.d.ts +6 -0
- package/lib/services/find-person/find-person.service.d.ts +5 -2
- package/lib/services/google-analytics/google-analytics.service.d.ts +4 -1
- package/lib/services/google-tag-manager/google-tag-manager.service.d.ts +5 -1
- package/lib/services/loading/loading.service.d.ts +5 -2
- package/lib/services/locations/location.service.d.ts +4 -1
- package/lib/services/manage-session/manage-session.services.d.ts +3 -0
- package/lib/services/public-api.d.ts +2 -4
- package/lib/services/ref-data/index.d.ts +3 -0
- package/lib/services/ref-data/models/ref-data-htmcs-service.model.d.ts +13 -0
- package/lib/services/ref-data/models/ref-data-region.model.d.ts +4 -0
- package/lib/services/ref-data/ref-data-data-access/models/ref-data-locations-by-service-code-response.model.d.ts +8 -0
- package/lib/services/ref-data/ref-data-data-access/ref-data-data-access.service.d.ts +18 -0
- package/lib/services/ref-data/ref-data.service.d.ts +17 -0
- package/lib/services/role-guard/role.guard.d.ts +7 -3
- package/lib/services/role-guard/role.service.d.ts +9 -4
- package/lib/services/{session-storage → storage/session-storage}/session-storage.service.d.ts +3 -0
- package/lib/services/task-name/task-name.service.d.ts +17 -0
- package/lib/services/timeout-notifications/timeout-notifications.service.d.ts +8 -2
- package/lib/window.d.ts +1 -1
- package/package.json +22 -22
- package/public-api.d.ts +1 -0
- package/bundles/hmcts-rpx-xui-common-lib.umd.js +0 -9742
- package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +0 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +0 -16
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +0 -1
- package/esm2015/hmcts-rpx-xui-common-lib.js +0 -73
- package/esm2015/lib/components/accessibility/accessibility.component.js +0 -20
- package/esm2015/lib/components/checkbox-list/checkbox-list.component.js +0 -275
- package/esm2015/lib/components/contact-details/contact-details.component.js +0 -27
- package/esm2015/lib/components/cookie-banner/cookie-banner.component.js +0 -129
- package/esm2015/lib/components/due-date/due-date.component.js +0 -210
- package/esm2015/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +0 -42
- package/esm2015/lib/components/find-location/find-location.component.js +0 -240
- package/esm2015/lib/components/find-person/find-person.component.js +0 -259
- package/esm2015/lib/components/generic-filter/generic-filter-utils.js +0 -65
- package/esm2015/lib/components/generic-filter/generic-filter.component.js +0 -636
- package/esm2015/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +0 -42
- package/esm2015/lib/components/index.js +0 -7
- package/esm2015/lib/components/invite-user-form/invite-user-form.component.js +0 -45
- package/esm2015/lib/components/invite-user-permissions/invite-user-permission.component.js +0 -44
- package/esm2015/lib/components/loading-spinner/loading-spinner.component.js +0 -27
- package/esm2015/lib/components/pagination/pagination.component.js +0 -50
- package/esm2015/lib/components/public_api.js +0 -33
- package/esm2015/lib/components/search-judicials/search-judicials.component.js +0 -249
- package/esm2015/lib/components/search-location/search-location.component.js +0 -294
- package/esm2015/lib/components/search-venue/search-venue.component.js +0 -246
- package/esm2015/lib/components/selected-case/selected-case.component.js +0 -316
- package/esm2015/lib/components/selected-case-confirm/selected-case-confirm.component.js +0 -74
- package/esm2015/lib/components/selected-case-list/selected-case-list.component.js +0 -94
- package/esm2015/lib/components/service-message/service-message.component.js +0 -40
- package/esm2015/lib/components/service-messages/service-messages.component.js +0 -106
- package/esm2015/lib/components/share-case/share-case.component.js +0 -172
- package/esm2015/lib/components/share-case-confirm/share-case-confirm.component.js +0 -67
- package/esm2015/lib/components/tab/tab.component.js +0 -45
- package/esm2015/lib/components/tc-confirm/tc-confirm.component.js +0 -37
- package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +0 -19
- package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +0 -19
- package/esm2015/lib/components/terms-and-conditions/terms-and-conditions.component.js +0 -26
- package/esm2015/lib/components/user-details/user-details.component.js +0 -78
- package/esm2015/lib/components/user-list/user-list.component.js +0 -63
- package/esm2015/lib/components/user-select/user-select.component.js +0 -105
- package/esm2015/lib/directives/feature-toggle/feature-toggle.directive.js +0 -95
- package/esm2015/lib/directives/index.js +0 -7
- package/esm2015/lib/directives/let/let.directive.js +0 -68
- package/esm2015/lib/directives/public-api.js +0 -8
- package/esm2015/lib/exui-common-lib.module.js +0 -162
- package/esm2015/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +0 -51
- package/esm2015/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +0 -32
- package/esm2015/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +0 -114
- package/esm2015/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +0 -34
- package/esm2015/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +0 -43
- package/esm2015/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +0 -57
- package/esm2015/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +0 -37
- package/esm2015/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +0 -54
- package/esm2015/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +0 -31
- package/esm2015/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +0 -51
- package/esm2015/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +0 -32
- package/esm2015/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +0 -46
- package/esm2015/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +0 -69
- package/esm2015/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +0 -43
- package/esm2015/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +0 -35
- package/esm2015/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +0 -90
- package/esm2015/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +0 -33
- package/esm2015/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +0 -75
- package/esm2015/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +0 -49
- package/esm2015/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +0 -43
- package/esm2015/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +0 -42
- package/esm2015/lib/gov-ui/components/index.js +0 -7
- package/esm2015/lib/gov-ui/components/public_api.js +0 -7
- package/esm2015/lib/gov-ui/directives/remove-host.directive.js +0 -50
- package/esm2015/lib/gov-ui/gov-ui.service.js +0 -19
- package/esm2015/lib/gov-ui/index.js +0 -7
- package/esm2015/lib/gov-ui/models/banner-data-model.js +0 -16
- package/esm2015/lib/gov-ui/models/checkboxes-model.js +0 -22
- package/esm2015/lib/gov-ui/models/error-messages-model.js +0 -16
- package/esm2015/lib/gov-ui/models/gov-ui-config-model.js +0 -36
- package/esm2015/lib/gov-ui/models/index.js +0 -7
- package/esm2015/lib/gov-ui/models/isession-storage.interface.js +0 -24
- package/esm2015/lib/gov-ui/models/public_api.js +0 -13
- package/esm2015/lib/gov-ui/public_api.js +0 -12
- package/esm2015/lib/gov-ui/util/helpers/html-templates.helper.js +0 -32
- package/esm2015/lib/gov-ui/util/session-storage/session-storage-utils.js +0 -58
- package/esm2015/lib/gov-ui/validators/checkboxes-be-checked.validator.js +0 -37
- package/esm2015/lib/gov-ui/validators/date.validator.js +0 -32
- package/esm2015/lib/gov-ui/validators/index.js +0 -7
- package/esm2015/lib/gov-ui/validators/public_api.js +0 -12
- package/esm2015/lib/gov-ui/validators/radio-group.validator.js +0 -27
- package/esm2015/lib/models/case-share.model.js +0 -26
- package/esm2015/lib/models/contact-details.model.js +0 -31
- package/esm2015/lib/models/due-date.model.js +0 -15
- package/esm2015/lib/models/feature-user.js +0 -20
- package/esm2015/lib/models/filter.model.js +0 -120
- package/esm2015/lib/models/idle-config.model.js +0 -20
- package/esm2015/lib/models/index.js +0 -20
- package/esm2015/lib/models/location.model.js +0 -129
- package/esm2015/lib/models/pagination.model.js +0 -18
- package/esm2015/lib/models/person.model.js +0 -92
- package/esm2015/lib/models/public_api.js +0 -11
- package/esm2015/lib/models/search-options.model.js +0 -22
- package/esm2015/lib/models/tcDocument.model.js +0 -18
- package/esm2015/lib/models/timeout-notification.model.js +0 -18
- package/esm2015/lib/models/user-details.model.js +0 -22
- package/esm2015/lib/models/user.model.js +0 -25
- package/esm2015/lib/services/case-sharing-state/case-sharing-state.service.js +0 -218
- package/esm2015/lib/services/cookie/cookie.service.js +0 -110
- package/esm2015/lib/services/feature-toggle/feature-toggle.guard.js +0 -74
- package/esm2015/lib/services/feature-toggle/feature-toggle.service.js +0 -53
- package/esm2015/lib/services/feature-toggle/launch-darkly.service.js +0 -141
- package/esm2015/lib/services/filter/filter.service.js +0 -118
- package/esm2015/lib/services/find-person/find-person.service.js +0 -214
- package/esm2015/lib/services/google-analytics/google-analytics.service.js +0 -123
- package/esm2015/lib/services/google-tag-manager/google-tag-manager.service.js +0 -125
- package/esm2015/lib/services/index.js +0 -7
- package/esm2015/lib/services/loading/loading.service.js +0 -78
- package/esm2015/lib/services/locations/location.service.js +0 -57
- package/esm2015/lib/services/manage-session/manage-session.services.js +0 -105
- package/esm2015/lib/services/public-api.js +0 -25
- package/esm2015/lib/services/role-guard/role.guard.js +0 -78
- package/esm2015/lib/services/role-guard/role.service.js +0 -39
- package/esm2015/lib/services/session-storage/session-storage.service.js +0 -55
- package/esm2015/lib/services/timeout-notifications/timeout-notifications.service.js +0 -158
- package/esm2015/lib/window.js +0 -13
- package/esm2015/public-api.js +0 -16
- package/esm5/hmcts-rpx-xui-common-lib.js +0 -73
- package/esm5/lib/components/accessibility/accessibility.component.js +0 -22
- package/esm5/lib/components/checkbox-list/checkbox-list.component.js +0 -391
- package/esm5/lib/components/contact-details/contact-details.component.js +0 -29
- package/esm5/lib/components/cookie-banner/cookie-banner.component.js +0 -154
- package/esm5/lib/components/due-date/due-date.component.js +0 -254
- package/esm5/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +0 -45
- package/esm5/lib/components/find-location/find-location.component.js +0 -293
- package/esm5/lib/components/find-person/find-person.component.js +0 -286
- package/esm5/lib/components/generic-filter/generic-filter-utils.js +0 -66
- package/esm5/lib/components/generic-filter/generic-filter.component.js +0 -839
- package/esm5/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +0 -47
- package/esm5/lib/components/index.js +0 -7
- package/esm5/lib/components/invite-user-form/invite-user-form.component.js +0 -54
- package/esm5/lib/components/invite-user-permissions/invite-user-permission.component.js +0 -46
- package/esm5/lib/components/loading-spinner/loading-spinner.component.js +0 -29
- package/esm5/lib/components/pagination/pagination.component.js +0 -58
- package/esm5/lib/components/public_api.js +0 -33
- package/esm5/lib/components/search-judicials/search-judicials.component.js +0 -291
- package/esm5/lib/components/search-location/search-location.component.js +0 -330
- package/esm5/lib/components/search-venue/search-venue.component.js +0 -290
- package/esm5/lib/components/selected-case/selected-case.component.js +0 -430
- package/esm5/lib/components/selected-case-confirm/selected-case-confirm.component.js +0 -84
- package/esm5/lib/components/selected-case-list/selected-case-list.component.js +0 -109
- package/esm5/lib/components/service-message/service-message.component.js +0 -46
- package/esm5/lib/components/service-messages/service-messages.component.js +0 -122
- package/esm5/lib/components/share-case/share-case.component.js +0 -223
- package/esm5/lib/components/share-case-confirm/share-case-confirm.component.js +0 -70
- package/esm5/lib/components/tab/tab.component.js +0 -51
- package/esm5/lib/components/tc-confirm/tc-confirm.component.js +0 -42
- package/esm5/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +0 -22
- package/esm5/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +0 -22
- package/esm5/lib/components/terms-and-conditions/terms-and-conditions.component.js +0 -29
- package/esm5/lib/components/user-details/user-details.component.js +0 -92
- package/esm5/lib/components/user-list/user-list.component.js +0 -76
- package/esm5/lib/components/user-select/user-select.component.js +0 -131
- package/esm5/lib/directives/feature-toggle/feature-toggle.directive.js +0 -104
- package/esm5/lib/directives/index.js +0 -7
- package/esm5/lib/directives/let/let.directive.js +0 -78
- package/esm5/lib/directives/public-api.js +0 -8
- package/esm5/lib/exui-common-lib.module.js +0 -162
- package/esm5/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +0 -56
- package/esm5/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +0 -36
- package/esm5/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +0 -135
- package/esm5/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +0 -37
- package/esm5/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +0 -49
- package/esm5/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +0 -65
- package/esm5/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +0 -40
- package/esm5/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +0 -66
- package/esm5/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +0 -34
- package/esm5/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +0 -67
- package/esm5/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +0 -36
- package/esm5/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +0 -52
- package/esm5/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +0 -77
- package/esm5/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +0 -50
- package/esm5/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +0 -38
- package/esm5/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +0 -108
- package/esm5/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +0 -40
- package/esm5/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +0 -87
- package/esm5/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +0 -51
- package/esm5/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +0 -49
- package/esm5/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +0 -46
- package/esm5/lib/gov-ui/components/index.js +0 -7
- package/esm5/lib/gov-ui/components/public_api.js +0 -7
- package/esm5/lib/gov-ui/directives/remove-host.directive.js +0 -52
- package/esm5/lib/gov-ui/gov-ui.service.js +0 -22
- package/esm5/lib/gov-ui/index.js +0 -7
- package/esm5/lib/gov-ui/models/banner-data-model.js +0 -16
- package/esm5/lib/gov-ui/models/checkboxes-model.js +0 -22
- package/esm5/lib/gov-ui/models/error-messages-model.js +0 -16
- package/esm5/lib/gov-ui/models/gov-ui-config-model.js +0 -36
- package/esm5/lib/gov-ui/models/index.js +0 -7
- package/esm5/lib/gov-ui/models/isession-storage.interface.js +0 -24
- package/esm5/lib/gov-ui/models/public_api.js +0 -13
- package/esm5/lib/gov-ui/public_api.js +0 -12
- package/esm5/lib/gov-ui/util/helpers/html-templates.helper.js +0 -57
- package/esm5/lib/gov-ui/util/session-storage/session-storage-utils.js +0 -58
- package/esm5/lib/gov-ui/validators/checkboxes-be-checked.validator.js +0 -38
- package/esm5/lib/gov-ui/validators/date.validator.js +0 -32
- package/esm5/lib/gov-ui/validators/index.js +0 -7
- package/esm5/lib/gov-ui/validators/public_api.js +0 -12
- package/esm5/lib/gov-ui/validators/radio-group.validator.js +0 -27
- package/esm5/lib/models/case-share.model.js +0 -26
- package/esm5/lib/models/contact-details.model.js +0 -31
- package/esm5/lib/models/due-date.model.js +0 -15
- package/esm5/lib/models/feature-user.js +0 -28
- package/esm5/lib/models/filter.model.js +0 -124
- package/esm5/lib/models/idle-config.model.js +0 -20
- package/esm5/lib/models/index.js +0 -20
- package/esm5/lib/models/location.model.js +0 -129
- package/esm5/lib/models/pagination.model.js +0 -18
- package/esm5/lib/models/person.model.js +0 -92
- package/esm5/lib/models/public_api.js +0 -11
- package/esm5/lib/models/search-options.model.js +0 -22
- package/esm5/lib/models/tcDocument.model.js +0 -18
- package/esm5/lib/models/timeout-notification.model.js +0 -18
- package/esm5/lib/models/user-details.model.js +0 -22
- package/esm5/lib/models/user.model.js +0 -25
- package/esm5/lib/services/case-sharing-state/case-sharing-state.service.js +0 -289
- package/esm5/lib/services/cookie/cookie.service.js +0 -136
- package/esm5/lib/services/feature-toggle/feature-toggle.guard.js +0 -89
- package/esm5/lib/services/feature-toggle/feature-toggle.service.js +0 -90
- package/esm5/lib/services/feature-toggle/launch-darkly.service.js +0 -187
- package/esm5/lib/services/filter/filter.service.js +0 -153
- package/esm5/lib/services/find-person/find-person.service.js +0 -238
- package/esm5/lib/services/google-analytics/google-analytics.service.js +0 -128
- package/esm5/lib/services/google-tag-manager/google-tag-manager.service.js +0 -135
- package/esm5/lib/services/index.js +0 -7
- package/esm5/lib/services/loading/loading.service.js +0 -109
- package/esm5/lib/services/locations/location.service.js +0 -86
- package/esm5/lib/services/manage-session/manage-session.services.js +0 -111
- package/esm5/lib/services/public-api.js +0 -25
- package/esm5/lib/services/role-guard/role.guard.js +0 -81
- package/esm5/lib/services/role-guard/role.service.js +0 -45
- package/esm5/lib/services/session-storage/session-storage.service.js +0 -96
- package/esm5/lib/services/timeout-notifications/timeout-notifications.service.js +0 -190
- package/esm5/lib/window.js +0 -13
- package/esm5/public-api.js +0 -16
- package/fesm2015/hmcts-rpx-xui-common-lib.js +0 -7973
- package/fesm2015/hmcts-rpx-xui-common-lib.js.map +0 -1
- package/fesm5/hmcts-rpx-xui-common-lib.js +0 -9423
- package/fesm5/hmcts-rpx-xui-common-lib.js.map +0 -1
- package/hmcts-rpx-xui-common-lib.d.ts +0 -67
- package/hmcts-rpx-xui-common-lib.metadata.json +0 -1
- package/lib/gov-ui/models/banner-data-model.d.ts +0 -4
- package/lib/gov-ui/models/isession-storage.interface.d.ts +0 -4
- package/lib/gov-ui/util/session-storage/session-storage-utils.d.ts +0 -6
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/forms";
|
|
5
|
+
import * as i2 from "../gov-uk-label/gov-uk-label.component";
|
|
6
|
+
import * as i3 from "../../directives/remove-host.directive";
|
|
7
|
+
/*
|
|
8
|
+
* Gov Uk Radio state-less Component responsible for
|
|
9
|
+
* displaying radios input and hint
|
|
10
|
+
*
|
|
11
|
+
* */
|
|
12
|
+
export class GovUkRadioComponent {
|
|
13
|
+
constructor() { }
|
|
14
|
+
/*
|
|
15
|
+
* ngOnInIt
|
|
16
|
+
* needed to manage the focus id if passed on in config
|
|
17
|
+
* si it can focus on element when user clicks on error message in the header.
|
|
18
|
+
**/
|
|
19
|
+
ngOnInit() {
|
|
20
|
+
const id = this.config.focusOn ? this.config.focusOn : this.config.value;
|
|
21
|
+
this.config.id = id;
|
|
22
|
+
this.config.classes = this.config.classes ?
|
|
23
|
+
this.config.classes.concat(' govuk-radios__label') : 'govuk-radios__label';
|
|
24
|
+
}
|
|
25
|
+
static { this.ɵfac = function GovUkRadioComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GovUkRadioComponent)(); }; }
|
|
26
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GovUkRadioComponent, selectors: [["xuilib-gov-radio"]], inputs: { group: "group", config: "config" }, decls: 3, vars: 8, consts: [[1, "govuk-radios__item", 3, "formGroup"], ["type", "radio", 3, "className", "id", "value", "name", "formControl"], ["appRemoveHost", "", 3, "config"]], template: function GovUkRadioComponent_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
28
|
+
i0.ɵɵelement(1, "input", 1)(2, "xuilib-gov-label", 2);
|
|
29
|
+
i0.ɵɵelementEnd();
|
|
30
|
+
} if (rf & 2) {
|
|
31
|
+
i0.ɵɵproperty("formGroup", ctx.group);
|
|
32
|
+
i0.ɵɵadvance();
|
|
33
|
+
i0.ɵɵproperty("className", "govuk-radios__input " + ctx.config.classes)("id", ctx.config.id)("value", ctx.config.value)("name", ctx.config.name)("formControl", ctx.group.controls[ctx.config.name]);
|
|
34
|
+
i0.ɵɵattribute("data-aria-controls", ctx.config.id);
|
|
35
|
+
i0.ɵɵadvance();
|
|
36
|
+
i0.ɵɵproperty("config", ctx.config);
|
|
37
|
+
} }, dependencies: [i1.DefaultValueAccessor, i1.RadioControlValueAccessor, i1.NgControlStatus, i1.NgControlStatusGroup, i1.FormControlDirective, i1.FormGroupDirective, i2.GovUkLabelComponent, i3.RemoveHostDirective], encapsulation: 2 }); }
|
|
38
|
+
}
|
|
39
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GovUkRadioComponent, [{
|
|
40
|
+
type: Component,
|
|
41
|
+
args: [{ selector: 'xuilib-gov-radio', template: "<div class=\"govuk-radios__item\" [formGroup]=\"group\">\n <input [className]=\"'govuk-radios__input ' + config.classes\"\n [id]=\"config.id\"\n [value]=\"config.value\" type=\"radio\"\n [attr.data-aria-controls]=\"config.id\"\n [name]=\"config.name\"\n [formControl]=\"group.controls[config.name]\">\n <xuilib-gov-label appRemoveHost [config]=\"config\"></xuilib-gov-label>\n</div>\n" }]
|
|
42
|
+
}], () => [], { group: [{
|
|
43
|
+
type: Input
|
|
44
|
+
}], config: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}] }); })();
|
|
47
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GovUkRadioComponent, { className: "GovUkRadioComponent", filePath: "lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.ts", lineNumber: 13 }); })();
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ292LXVrLXJhZGlvLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dWktY29tbW9uLWxpYi9zcmMvbGliL2dvdi11aS9jb21wb25lbnRzL2dvdi11ay1yYWRpby9nb3YtdWstcmFkaW8uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXh1aS1jb21tb24tbGliL3NyYy9saWIvZ292LXVpL2NvbXBvbmVudHMvZ292LXVrLXJhZGlvL2dvdi11ay1yYWRpby5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLEtBQUssRUFBUyxNQUFNLGVBQWUsQ0FBQztBQUN2RCxPQUFPLEVBQUMsU0FBUyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7Ozs7O0FBRXpDOzs7O0lBSUk7QUFLSixNQUFNLE9BQU8sbUJBQW1CO0lBQzlCLGdCQUFnQixDQUFDO0lBTWpCOzs7O1FBSUk7SUFDRyxRQUFRO1FBQ2IsTUFBTSxFQUFFLEdBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssQ0FBQztRQUMxRSxJQUFJLENBQUMsTUFBTSxDQUFDLEVBQUUsR0FBRyxFQUFFLENBQUM7UUFDcEIsSUFBS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3M9XCJnb3Z1ay1yYWRpb3NfX2l0ZW1cIiBbZm9ybUdyb3VwXT1cImdyb3VwXCI+XG4gIDxpbnB1dCBbY2xhc3NOYW1lXT1cIidnb3Z1ay1yYWRpb3NfX2lucHV0ICcgKyBjb25maWcuY2xhc3Nlc1wiXG4gICAgICAgICBbaWRdPVwiY29uZmlnLmlkXCJcbiAgICAgICAgIFt2YWx1ZV09XCJjb25maWcudmFsdWVcIiB0eXBlPVwicmFkaW9cIlxuICAgICAgICAgW2F0dHIuZGF0YS1hcmlhLWNvbnRyb2xzXT1cImNvbmZpZy5pZFwiXG4gICAgICAgICBbbmFtZV09XCJjb25maWcubmFtZVwiXG4gICAgICAgICBbZm9ybUNvbnRyb2xdPVwiZ3JvdXAuY29udHJvbHNbY29uZmlnLm5hbWVdXCI+XG4gIDx4dWlsaWItZ292LWxhYmVsIGFwcFJlbW92ZUhvc3QgW2NvbmZpZ109XCJjb25maWdcIj48L3h1aWxpYi1nb3YtbGFiZWw+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,42 @@
|
|
|
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 "../gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component";
|
|
5
|
+
import * as i3 from "../gov-uk-radio/gov-uk-radio.component";
|
|
6
|
+
import * as i4 from "../../directives/remove-host.directive";
|
|
7
|
+
function GovUkRadiosComponent_xuilib_gov_radio_2_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
+
i0.ɵɵelement(0, "xuilib-gov-radio", 3);
|
|
9
|
+
} if (rf & 2) {
|
|
10
|
+
const item_r1 = ctx.$implicit;
|
|
11
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
12
|
+
i0.ɵɵproperty("group", ctx_r1.options.group)("config", item_r1.config);
|
|
13
|
+
} }
|
|
14
|
+
/*
|
|
15
|
+
* Radios component - state less
|
|
16
|
+
* Responsible for displaying a list of gov-uk-radio components
|
|
17
|
+
* @param: options - object with data for wrapper (fieldset) and
|
|
18
|
+
* array of items for gov-uk-checkboxes
|
|
19
|
+
* @param: errors - array of error stings
|
|
20
|
+
* */
|
|
21
|
+
export class GovUkRadiosComponent {
|
|
22
|
+
static { this.ɵfac = function GovUkRadiosComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GovUkRadiosComponent)(); }; }
|
|
23
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GovUkRadiosComponent, selectors: [["xuilib-gov-uk-radios"]], inputs: { options: "options", errors: "errors" }, decls: 3, vars: 4, consts: [[3, "error", "config", "group"], [1, "govuk-radios"], ["appRemoveHost", "", 3, "group", "config", 4, "ngFor", "ngForOf"], ["appRemoveHost", "", 3, "group", "config"]], template: function GovUkRadiosComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
+
i0.ɵɵelementStart(0, "xuilib-gov-uk-form-group-wrapper", 0)(1, "div", 1);
|
|
25
|
+
i0.ɵɵtemplate(2, GovUkRadiosComponent_xuilib_gov_radio_2_Template, 1, 2, "xuilib-gov-radio", 2);
|
|
26
|
+
i0.ɵɵelementEnd()();
|
|
27
|
+
} if (rf & 2) {
|
|
28
|
+
i0.ɵɵproperty("error", ctx.errors)("config", ctx.options.config)("group", ctx.options.key);
|
|
29
|
+
i0.ɵɵadvance(2);
|
|
30
|
+
i0.ɵɵproperty("ngForOf", ctx.options.items);
|
|
31
|
+
} }, dependencies: [i1.NgForOf, i2.GovUkFormGroupWrapperComponent, i3.GovUkRadioComponent, i4.RemoveHostDirective], encapsulation: 2 }); }
|
|
32
|
+
}
|
|
33
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GovUkRadiosComponent, [{
|
|
34
|
+
type: Component,
|
|
35
|
+
args: [{ selector: 'xuilib-gov-uk-radios', template: "<xuilib-gov-uk-form-group-wrapper\n[error]=\"errors\"\n[config]=\"options.config\"\n[group]=\"options.key\">\n<div class=\"govuk-radios\">\n <xuilib-gov-radio\n appRemoveHost\n *ngFor=\"let item of options.items\"\n [group]=\"options.group\"\n [config]=\"item.config\">\n </xuilib-gov-radio>\n</div>\n</xuilib-gov-uk-form-group-wrapper>" }]
|
|
36
|
+
}], null, { options: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}], errors: [{
|
|
39
|
+
type: Input
|
|
40
|
+
}] }); })();
|
|
41
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GovUkRadiosComponent, { className: "GovUkRadiosComponent", filePath: "lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.ts", lineNumber: 16 }); })();
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ292LXVrLXJhZGlvcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHVpLWNvbW1vbi1saWIvc3JjL2xpYi9nb3YtdWkvY29tcG9uZW50cy9nb3YtdWstcmFkaW9zL2dvdi11ay1yYWRpb3MuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXh1aS1jb21tb24tbGliL3NyYy9saWIvZ292LXVpL2NvbXBvbmVudHMvZ292LXVrLXJhZGlvcy9nb3YtdWstcmFkaW9zLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7Ozs7O0lDSy9DLHNDQUttQjs7OztJQURqQixBQURBLDRDQUF1QiwwQkFDRDs7QUROMUI7Ozs7OztJQU1JO0FBTUosTUFBTSxPQUFPLG9CQUFvQjtxSEFBcEIsb0JBQW9CO29FQUFwQixvQkFB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NDb21wb25lbnQge1xuXG4gIEBJbnB1dCgpIHB1YmxpYyBvcHRpb25zOiBSYWRpb0J1dHRvbnNNb2RlbDtcbiAgQElucHV0KCkgcHVibGljIGVycm9yczogRXJyb3JNZXNzYWdlc01vZGVsO1xuXG59XG4iLCI8eHVpbGliLWdvdi11ay1mb3JtLWdyb3VwLXdyYXBwZXJcbltlcnJvcl09XCJlcnJvcnNcIlxuW2NvbmZpZ109XCJvcHRpb25zLmNvbmZpZ1wiXG5bZ3JvdXBdPVwib3B0aW9ucy5rZXlcIj5cbjxkaXYgY2xhc3M9XCJnb3Z1ay1yYWRpb3NcIj5cbiAgPHh1aWxpYi1nb3YtcmFkaW9cbiAgICBhcHBSZW1vdmVIb3N0XG4gICAgKm5nRm9yPVwibGV0IGl0ZW0gb2Ygb3B0aW9ucy5pdGVtc1wiXG4gICAgW2dyb3VwXT1cIm9wdGlvbnMuZ3JvdXBcIlxuICAgIFtjb25maWddPVwiaXRlbS5jb25maWdcIj5cbiAgPC94dWlsaWItZ292LXJhZGlvPlxuPC9kaXY+XG48L3h1aWxpYi1nb3YtdWstZm9ybS1ncm91cC13cmFwcGVyPiJdfQ==
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { HtmlTemplatesHelper } from '../../util/helpers/html-templates.helper';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "@angular/forms";
|
|
7
|
+
import * as i3 from "../gov-uk-label/gov-uk-label.component";
|
|
8
|
+
import * as i4 from "../gov-uk-error-message/gov-uk-error-message.component";
|
|
9
|
+
import * as i5 from "rpx-xui-translation";
|
|
10
|
+
const _c0 = a0 => ({ "govuk-form-group--error": a0 });
|
|
11
|
+
function GovUkSelectComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
12
|
+
i0.ɵɵelementStart(0, "span", 6);
|
|
13
|
+
i0.ɵɵtext(1);
|
|
14
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
15
|
+
i0.ɵɵelementEnd();
|
|
16
|
+
} if (rf & 2) {
|
|
17
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
18
|
+
i0.ɵɵproperty("id", ctx_r0.config.id + "-hint");
|
|
19
|
+
i0.ɵɵadvance();
|
|
20
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, ctx_r0.config.hint), "\n");
|
|
21
|
+
} }
|
|
22
|
+
function GovUkSelectComponent_option_5_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
i0.ɵɵelementStart(0, "option", 7);
|
|
24
|
+
i0.ɵɵtext(1);
|
|
25
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
} if (rf & 2) {
|
|
28
|
+
const item_r2 = ctx.$implicit;
|
|
29
|
+
i0.ɵɵpropertyInterpolate("value", item_r2.value);
|
|
30
|
+
i0.ɵɵadvance();
|
|
31
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, item_r2.label));
|
|
32
|
+
} }
|
|
33
|
+
/*
|
|
34
|
+
* Gov Uk Select Dumb Component responsible for
|
|
35
|
+
* dropdown input.
|
|
36
|
+
* */
|
|
37
|
+
export class GovUkSelectComponent {
|
|
38
|
+
constructor() { }
|
|
39
|
+
setDescribedBy() {
|
|
40
|
+
return HtmlTemplatesHelper.setDescribedBy(this.errorMessage, this.config);
|
|
41
|
+
}
|
|
42
|
+
static { this.ɵfac = function GovUkSelectComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GovUkSelectComponent)(); }; }
|
|
43
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GovUkSelectComponent, selectors: [["xuilib-gov-select"]], inputs: { errorMessage: "errorMessage", group: "group", config: "config", items: "items" }, decls: 6, vars: 15, consts: [[1, "govuk-form-group", 3, "formGroup", "ngClass"], [3, "config"], ["class", "govuk-hint", 3, "id", 4, "ngIf"], [3, "config", "errorMessage"], [1, "govuk-select", 3, "id", "name", "formControlName"], [3, "value", 4, "ngFor", "ngForOf"], [1, "govuk-hint", 3, "id"], [3, "value"]], template: function GovUkSelectComponent_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
45
|
+
i0.ɵɵelement(1, "xuilib-gov-label", 1);
|
|
46
|
+
i0.ɵɵtemplate(2, GovUkSelectComponent_span_2_Template, 3, 4, "span", 2);
|
|
47
|
+
i0.ɵɵelement(3, "xuilib-gov-uk-error-message", 3);
|
|
48
|
+
i0.ɵɵelementStart(4, "select", 4);
|
|
49
|
+
i0.ɵɵtemplate(5, GovUkSelectComponent_option_5_Template, 3, 4, "option", 5);
|
|
50
|
+
i0.ɵɵelementEnd()();
|
|
51
|
+
} if (rf & 2) {
|
|
52
|
+
i0.ɵɵproperty("formGroup", ctx.group)("ngClass", i0.ɵɵpureFunction1(13, _c0, ctx.errorMessage == null ? null : ctx.errorMessage.isInvalid));
|
|
53
|
+
i0.ɵɵadvance();
|
|
54
|
+
i0.ɵɵproperty("config", ctx.config);
|
|
55
|
+
i0.ɵɵadvance();
|
|
56
|
+
i0.ɵɵproperty("ngIf", ctx.config.hint);
|
|
57
|
+
i0.ɵɵadvance();
|
|
58
|
+
i0.ɵɵproperty("config", ctx.config)("errorMessage", ctx.errorMessage);
|
|
59
|
+
i0.ɵɵadvance();
|
|
60
|
+
i0.ɵɵclassProp("govuk-!-width-full", ctx.config.fullWidth);
|
|
61
|
+
i0.ɵɵproperty("id", ctx.config.id)("name", ctx.config.id)("formControlName", ctx.config.id);
|
|
62
|
+
i0.ɵɵattribute("aria-describedby", ctx.setDescribedBy());
|
|
63
|
+
i0.ɵɵadvance();
|
|
64
|
+
i0.ɵɵproperty("ngForOf", ctx.items);
|
|
65
|
+
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3.GovUkLabelComponent, i4.GovUkErrorMessageComponent, i5.RpxTranslatePipe], encapsulation: 2 }); }
|
|
66
|
+
}
|
|
67
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GovUkSelectComponent, [{
|
|
68
|
+
type: Component,
|
|
69
|
+
args: [{ selector: 'xuilib-gov-select', template: "<div class=\"govuk-form-group\" [formGroup]=\"group\"\n[ngClass]=\"{'govuk-form-group--error': errorMessage?.isInvalid}\">\n<xuilib-gov-label [config]=\"config\"></xuilib-gov-label>\n<span *ngIf=\"config.hint\" [id]=\"config.id +'-hint'\" class=\"govuk-hint\">\n {{config.hint | rpxTranslate}}\n</span>\n<xuilib-gov-uk-error-message [config]=\"config\" [errorMessage]=\"errorMessage\"></xuilib-gov-uk-error-message>\n\n<select class=\"govuk-select\"\n [class.govuk-!-width-full]=\"config.fullWidth\"\n [id]=\"config.id\" [name]=\"config.id\" [formControlName]=\"config.id\" [attr.aria-describedby]='setDescribedBy()'>\n <option value=\"{{item.value}}\" *ngFor=\"let item of items\">{{item.label | rpxTranslate}}</option>\n</select>\n</div>\n" }]
|
|
70
|
+
}], () => [], { errorMessage: [{
|
|
71
|
+
type: Input
|
|
72
|
+
}], group: [{
|
|
73
|
+
type: Input
|
|
74
|
+
}], config: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], items: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}] }); })();
|
|
79
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GovUkSelectComponent, { className: "GovUkSelectComponent", filePath: "lib/gov-ui/components/gov-uk-select/gov-uk-select.component.ts", lineNumber: 14 }); })();
|
|
80
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxl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jb25maWcuaGludFwiIFtpZF09XCJjb25maWcuaWQgKyctaGludCdcIiBjbGFzcz1cImdvdnVrLWhpbnRcIj5cbiB7e2NvbmZpZy5oaW50IHwgcnB4VHJhbnNsYXRlfX1cbjwvc3Bhbj5cbjx4dWlsaWItZ292LXVrLWVycm9yLW1lc3NhZ2UgW2NvbmZpZ109XCJjb25maWdcIiBbZXJyb3JNZXNzYWdlXT1cImVycm9yTWVzc2FnZVwiPjwveHVpbGliLWdvdi11ay1lcnJvci1tZXNzYWdlPlxuXG48c2VsZWN0IGNsYXNzPVwiZ292dWstc2VsZWN0XCJcbiAgICAgICAgW2NsYXNzLmdvdnVrLSEtd2lkdGgtZnVsbF09XCJjb25maWcuZnVsbFdpZHRoXCJcbiAgICAgICAgW2lkXT1cImNvbmZpZy5pZFwiIFtuYW1lXT1cImNvbmZpZy5pZFwiIFtmb3JtQ29udHJvbE5hbWVdPVwiY29uZmlnLmlkXCIgW2F0dHIuYXJpYS1kZXNjcmliZWRieV09J3NldERlc2NyaWJlZEJ5KCknPlxuICA8b3B0aW9uIHZhbHVlPVwie3tpdGVtLnZhbHVlfX1cIiAqbmdGb3I9XCJsZXQgaXRlbSBvZiBpdGVtc1wiPnt7aXRlbS5sYWJlbCB8IHJweFRyYW5zbGF0ZX19PC9vcHRpb24+XG48L3NlbGVjdD5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { formatDate } from '@angular/common';
|
|
2
|
+
import { Component, Input } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@angular/router";
|
|
6
|
+
import * as i3 from "rpx-xui-translation";
|
|
7
|
+
function GovukTableComponent_th_6_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
+
i0.ɵɵelementStart(0, "th", 6);
|
|
9
|
+
i0.ɵɵtext(1);
|
|
10
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
11
|
+
i0.ɵɵelementEnd();
|
|
12
|
+
} if (rf & 2) {
|
|
13
|
+
const h_r1 = ctx.$implicit;
|
|
14
|
+
i0.ɵɵadvance();
|
|
15
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, h_r1.header));
|
|
16
|
+
} }
|
|
17
|
+
function GovukTableComponent_tr_8_ng_container_1_th_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
i0.ɵɵelementContainerStart(0);
|
|
19
|
+
i0.ɵɵtext(1);
|
|
20
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
21
|
+
i0.ɵɵelementContainerEnd();
|
|
22
|
+
} if (rf & 2) {
|
|
23
|
+
const col_r2 = i0.ɵɵnextContext(2).$implicit;
|
|
24
|
+
const r_r3 = i0.ɵɵnextContext().$implicit;
|
|
25
|
+
i0.ɵɵadvance();
|
|
26
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, r_r3[col_r2.key]));
|
|
27
|
+
} }
|
|
28
|
+
function GovukTableComponent_tr_8_ng_container_1_th_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
+
i0.ɵɵelementContainerStart(0);
|
|
30
|
+
i0.ɵɵelementStart(1, "a", 13);
|
|
31
|
+
i0.ɵɵtext(2);
|
|
32
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
i0.ɵɵelementContainerEnd();
|
|
35
|
+
} if (rf & 2) {
|
|
36
|
+
const col_r2 = i0.ɵɵnextContext(2).$implicit;
|
|
37
|
+
const r_r3 = i0.ɵɵnextContext().$implicit;
|
|
38
|
+
i0.ɵɵadvance();
|
|
39
|
+
i0.ɵɵproperty("routerLink", r_r3.routerLink);
|
|
40
|
+
i0.ɵɵadvance();
|
|
41
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, r_r3[col_r2.key]));
|
|
42
|
+
} }
|
|
43
|
+
function GovukTableComponent_tr_8_ng_container_1_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
+
i0.ɵɵelementStart(0, "th", 11);
|
|
45
|
+
i0.ɵɵtemplate(1, GovukTableComponent_tr_8_ng_container_1_th_1_ng_container_1_Template, 3, 3, "ng-container", 12)(2, GovukTableComponent_tr_8_ng_container_1_th_1_ng_container_2_Template, 4, 4, "ng-container", 12);
|
|
46
|
+
i0.ɵɵelementEnd();
|
|
47
|
+
} if (rf & 2) {
|
|
48
|
+
const col_r2 = i0.ɵɵnextContext().$implicit;
|
|
49
|
+
const r_r3 = i0.ɵɵnextContext().$implicit;
|
|
50
|
+
i0.ɵɵadvance();
|
|
51
|
+
i0.ɵɵproperty("ngIf", !col_r2.type || col_r2.type === "text" || !r_r3.routerLink);
|
|
52
|
+
i0.ɵɵadvance();
|
|
53
|
+
i0.ɵɵproperty("ngIf", col_r2.type === "link" && r_r3.routerLink);
|
|
54
|
+
} }
|
|
55
|
+
function GovukTableComponent_tr_8_ng_container_1_td_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
56
|
+
i0.ɵɵelementContainerStart(0);
|
|
57
|
+
i0.ɵɵtext(1);
|
|
58
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
59
|
+
i0.ɵɵelementContainerEnd();
|
|
60
|
+
} if (rf & 2) {
|
|
61
|
+
const col_r2 = i0.ɵɵnextContext(2).$implicit;
|
|
62
|
+
const r_r3 = i0.ɵɵnextContext().$implicit;
|
|
63
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
64
|
+
i0.ɵɵadvance();
|
|
65
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r3.formatDate(r_r3[col_r2.key])));
|
|
66
|
+
} }
|
|
67
|
+
function GovukTableComponent_tr_8_ng_container_1_td_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
68
|
+
i0.ɵɵelementContainerStart(0);
|
|
69
|
+
i0.ɵɵtext(1);
|
|
70
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
71
|
+
i0.ɵɵelementContainerEnd();
|
|
72
|
+
} if (rf & 2) {
|
|
73
|
+
const col_r2 = i0.ɵɵnextContext(2).$implicit;
|
|
74
|
+
const r_r3 = i0.ɵɵnextContext().$implicit;
|
|
75
|
+
i0.ɵɵadvance();
|
|
76
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, r_r3[col_r2.key]));
|
|
77
|
+
} }
|
|
78
|
+
function GovukTableComponent_tr_8_ng_container_1_td_2_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
79
|
+
i0.ɵɵelementContainerStart(0);
|
|
80
|
+
i0.ɵɵelementStart(1, "a", 13);
|
|
81
|
+
i0.ɵɵtext(2);
|
|
82
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
83
|
+
i0.ɵɵelementEnd();
|
|
84
|
+
i0.ɵɵelementContainerEnd();
|
|
85
|
+
} if (rf & 2) {
|
|
86
|
+
const col_r2 = i0.ɵɵnextContext(2).$implicit;
|
|
87
|
+
const r_r3 = i0.ɵɵnextContext().$implicit;
|
|
88
|
+
i0.ɵɵadvance();
|
|
89
|
+
i0.ɵɵproperty("routerLink", r_r3.routerLink);
|
|
90
|
+
i0.ɵɵadvance();
|
|
91
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, r_r3[col_r2.key]));
|
|
92
|
+
} }
|
|
93
|
+
function GovukTableComponent_tr_8_ng_container_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
94
|
+
i0.ɵɵelementStart(0, "td", 14);
|
|
95
|
+
i0.ɵɵtemplate(1, GovukTableComponent_tr_8_ng_container_1_td_2_ng_container_1_Template, 3, 3, "ng-container", 12)(2, GovukTableComponent_tr_8_ng_container_1_td_2_ng_container_2_Template, 3, 3, "ng-container", 12)(3, GovukTableComponent_tr_8_ng_container_1_td_2_ng_container_3_Template, 4, 4, "ng-container", 12);
|
|
96
|
+
i0.ɵɵelementEnd();
|
|
97
|
+
} if (rf & 2) {
|
|
98
|
+
const col_r2 = i0.ɵɵnextContext().$implicit;
|
|
99
|
+
const r_r3 = i0.ɵɵnextContext().$implicit;
|
|
100
|
+
i0.ɵɵadvance();
|
|
101
|
+
i0.ɵɵproperty("ngIf", col_r2.type === "date");
|
|
102
|
+
i0.ɵɵadvance();
|
|
103
|
+
i0.ɵɵproperty("ngIf", !col_r2.type || col_r2.type === "text" || !r_r3.routerLink);
|
|
104
|
+
i0.ɵɵadvance();
|
|
105
|
+
i0.ɵɵproperty("ngIf", col_r2.type === "link" && r_r3.routerLink);
|
|
106
|
+
} }
|
|
107
|
+
function GovukTableComponent_tr_8_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
108
|
+
i0.ɵɵelementContainerStart(0);
|
|
109
|
+
i0.ɵɵtemplate(1, GovukTableComponent_tr_8_ng_container_1_th_1_Template, 3, 2, "th", 9)(2, GovukTableComponent_tr_8_ng_container_1_td_2_Template, 4, 3, "td", 10);
|
|
110
|
+
i0.ɵɵelementContainerEnd();
|
|
111
|
+
} if (rf & 2) {
|
|
112
|
+
const isFirst_r5 = ctx.first;
|
|
113
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
114
|
+
i0.ɵɵadvance();
|
|
115
|
+
i0.ɵɵproperty("ngIf", isFirst_r5 && ctx_r3.firstCellIsHeader);
|
|
116
|
+
i0.ɵɵadvance();
|
|
117
|
+
i0.ɵɵproperty("ngIf", !(isFirst_r5 && ctx_r3.firstCellIsHeader));
|
|
118
|
+
} }
|
|
119
|
+
function GovukTableComponent_tr_8_Template(rf, ctx) { if (rf & 1) {
|
|
120
|
+
i0.ɵɵelementStart(0, "tr", 7);
|
|
121
|
+
i0.ɵɵtemplate(1, GovukTableComponent_tr_8_ng_container_1_Template, 3, 2, "ng-container", 8);
|
|
122
|
+
i0.ɵɵelementEnd();
|
|
123
|
+
} if (rf & 2) {
|
|
124
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
125
|
+
i0.ɵɵadvance();
|
|
126
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.columnConfig);
|
|
127
|
+
} }
|
|
128
|
+
export class GovukTableComponent {
|
|
129
|
+
constructor() {
|
|
130
|
+
this.classes = '';
|
|
131
|
+
this.caption = 'Dates and amounts';
|
|
132
|
+
this.firstCellIsHeader = true;
|
|
133
|
+
this.columnConfig = [
|
|
134
|
+
{ header: 'Date', key: 'date', type: 'text' },
|
|
135
|
+
{ header: 'Amount', key: 'amount' }
|
|
136
|
+
];
|
|
137
|
+
}
|
|
138
|
+
formatDate(date) {
|
|
139
|
+
return formatDate(date, 'dd/MM/yyyy', 'en-UK');
|
|
140
|
+
}
|
|
141
|
+
static { this.ɵfac = function GovukTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GovukTableComponent)(); }; }
|
|
142
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GovukTableComponent, selectors: [["xuilib-gov-uk-table"]], inputs: { classes: "classes", caption: "caption", firstCellIsHeader: "firstCellIsHeader", rows: "rows", columnConfig: "columnConfig" }, decls: 9, vars: 8, consts: [[1, "govuk-table__caption"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["class", "govuk-table__header", "scope", "col", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], ["data-selector", "table-row", "class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__header"], ["data-selector", "table-row", 1, "govuk-table__row"], [4, "ngFor", "ngForOf"], ["data-selector", "table-header", "class", "govuk-table__header", "scope", "row", 4, "ngIf"], ["data-selector", "table-cell", "class", "govuk-table__cell", 4, "ngIf"], ["data-selector", "table-header", "scope", "row", 1, "govuk-table__header"], [4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["data-selector", "table-cell", 1, "govuk-table__cell"]], template: function GovukTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
143
|
+
i0.ɵɵelementStart(0, "table")(1, "caption", 0);
|
|
144
|
+
i0.ɵɵtext(2);
|
|
145
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
146
|
+
i0.ɵɵelementEnd();
|
|
147
|
+
i0.ɵɵelementStart(4, "thead", 1)(5, "tr", 2);
|
|
148
|
+
i0.ɵɵtemplate(6, GovukTableComponent_th_6_Template, 3, 3, "th", 3);
|
|
149
|
+
i0.ɵɵelementEnd()();
|
|
150
|
+
i0.ɵɵelementStart(7, "tbody", 4);
|
|
151
|
+
i0.ɵɵtemplate(8, GovukTableComponent_tr_8_Template, 2, 1, "tr", 5);
|
|
152
|
+
i0.ɵɵelementEnd()();
|
|
153
|
+
} if (rf & 2) {
|
|
154
|
+
i0.ɵɵclassMap("govuk-table " + ctx.classes);
|
|
155
|
+
i0.ɵɵadvance(2);
|
|
156
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, ctx.caption));
|
|
157
|
+
i0.ɵɵadvance(4);
|
|
158
|
+
i0.ɵɵproperty("ngForOf", ctx.columnConfig);
|
|
159
|
+
i0.ɵɵadvance(2);
|
|
160
|
+
i0.ɵɵproperty("ngForOf", ctx.rows);
|
|
161
|
+
} }, dependencies: [i1.NgForOf, i1.NgIf, i2.RouterLink, i3.RpxTranslatePipe] }); }
|
|
162
|
+
}
|
|
163
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GovukTableComponent, [{
|
|
164
|
+
type: Component,
|
|
165
|
+
args: [{ selector: 'xuilib-gov-uk-table', template: "<table class=\"{{'govuk-table ' + classes}}\">\n <caption class=\"govuk-table__caption\">{{caption | rpxTranslate}}</caption>\n <thead class=\"govuk-table__head\" >\n <tr class=\"govuk-table__row\">\n <th class=\"govuk-table__header\" scope=\"col\" *ngFor=\"let h of columnConfig\">{{h.header | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr data-selector=\"table-row\" class=\"govuk-table__row\" *ngFor=\"let r of rows\">\n <ng-container *ngFor=\"let col of columnConfig; first as isFirst\">\n <th data-selector=\"table-header\" class=\"govuk-table__header\" scope=\"row\" *ngIf=\"isFirst && firstCellIsHeader\">\n <ng-container *ngIf=\"!col.type || col.type === 'text' || !r.routerLink\">{{r[col.key] | rpxTranslate}}</ng-container>\n <ng-container *ngIf=\"col.type === 'link' && r.routerLink\">\n <a class=\"govuk-link\" [routerLink]=\"r.routerLink\">{{r[col.key] | rpxTranslate}}</a>\n </ng-container>\n </th>\n <td data-selector=\"table-cell\" class=\"govuk-table__cell\" *ngIf=\"!(isFirst && firstCellIsHeader)\">\n <ng-container *ngIf=\"col.type === 'date'\">{{formatDate(r[col.key]) | rpxTranslate}}</ng-container>\n <ng-container *ngIf=\"!col.type || col.type === 'text' || !r.routerLink\">{{r[col.key] | rpxTranslate}}</ng-container>\n <ng-container *ngIf=\"col.type === 'link' && r.routerLink\">\n <a class=\"govuk-link\" [routerLink]=\"r.routerLink\">{{r[col.key] | rpxTranslate}}</a>\n </ng-container>\n </td>\n </ng-container>\n </tr>\n </tbody>\n</table>\n" }]
|
|
166
|
+
}], () => [], { classes: [{
|
|
167
|
+
type: Input
|
|
168
|
+
}], caption: [{
|
|
169
|
+
type: Input
|
|
170
|
+
}], firstCellIsHeader: [{
|
|
171
|
+
type: Input
|
|
172
|
+
}], rows: [{
|
|
173
|
+
type: Input
|
|
174
|
+
}], columnConfig: [{
|
|
175
|
+
type: Input
|
|
176
|
+
}] }); })();
|
|
177
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GovukTableComponent, { className: "GovukTableComponent", filePath: "lib/gov-ui/components/gov-uk-table/gov-uk-table.component.ts", lineNumber: 9 }); })();
|
|
178
|
+
export class GovukTableColumnConfig {
|
|
179
|
+
constructor() {
|
|
180
|
+
this.header = '';
|
|
181
|
+
this.key = '';
|
|
182
|
+
this.type = 'text';
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
//# sourceMappingURL=data:application/json;base64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RlckxpbmtcIj57e3JbY29sLmtleV0gfCBycHhUcmFuc2xhdGV9fTwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJjb2wudHlwZSA9PT0gJ2xpbmsnICYmIHIucm91dGVyTGlua1wiPlxuICAgICAgICAgICAgICAgICAgICA8YSBjbGFzcz1cImdvdnVrLWxpbmtcIiBbcm91dGVyTGlua109XCJyLnJvdXRlckxpbmtcIj57e3JbY29sLmtleV0gfCBycHhUcmFuc2xhdGV9fTwvYT5cbiAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgIDwvdGg+XG4gICAgICAgICAgICA8dGQgZGF0YS1zZWxlY3Rvcj1cInRhYmxlLWNlbGxcIiBjbGFzcz1cImdvdnVrLXRhYmxlX19jZWxsXCIgICpuZ0lmPVwiIShpc0ZpcnN0ICYmIGZpcnN0Q2VsbElzSGVhZGVyKVwiPlxuICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJjb2wudHlwZSA9PT0gJ2RhdGUnXCI+e3tmb3JtYXREYXRlKHJbY29sLmtleV0pIHwgcnB4VHJhbnNsYXRlfX08L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiIWNvbC50eXBlIHx8IGNvbC50eXBlID09PSAndGV4dCcgfHwgIXIucm91dGVyTGlua1wiPnt7cltjb2wua2V5XSB8IHJweFRyYW5zbGF0ZX19PC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cImNvbC50eXBlID09PSAnbGluaycgJiYgci5yb3V0ZXJMaW5rXCI+XG4gICAgICAgICAgICAgICAgICAgIDxhIGNsYXNzPVwiZ292dWstbGlua1wiIFtyb3V0ZXJMaW5rXT1cInIucm91dGVyTGlua1wiPnt7cltjb2wua2V5XSB8IHJweFRyYW5zbGF0ZX19PC9hPlxuICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgPC90ZD5cbiAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgPC90cj5cbiAgICA8L3Rib2R5PlxuPC90YWJsZT5cbiJdfQ==
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { HtmlTemplatesHelper } from '../../util/helpers/html-templates.helper';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "@angular/forms";
|
|
7
|
+
import * as i3 from "../gov-uk-label/gov-uk-label.component";
|
|
8
|
+
import * as i4 from "../gov-uk-error-message/gov-uk-error-message.component";
|
|
9
|
+
import * as i5 from "rpx-xui-translation";
|
|
10
|
+
const _c0 = a0 => ({ "govuk-form-group--error": a0 });
|
|
11
|
+
const _c1 = a0 => ({ "govuk-textarea--error": a0 });
|
|
12
|
+
/*
|
|
13
|
+
* CheckBox component - state less
|
|
14
|
+
* Responsible for displaying a list of gov-uk-checkboxes
|
|
15
|
+
* @param: options - object with data for wrapper (fieldset) and
|
|
16
|
+
* array of items for gov-uk-checkboxes
|
|
17
|
+
* @param: errors - array of errorMessage
|
|
18
|
+
* */
|
|
19
|
+
export class GovUkTextareaComponent {
|
|
20
|
+
setDescribedBy() {
|
|
21
|
+
return HtmlTemplatesHelper.setDescribedBy(this.errorMessage, this.config);
|
|
22
|
+
}
|
|
23
|
+
static { this.ɵfac = function GovUkTextareaComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GovUkTextareaComponent)(); }; }
|
|
24
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GovUkTextareaComponent, selectors: [["xuilib-gov-uk-textarea"]], inputs: { config: "config", errorMessage: "errorMessage", group: "group" }, decls: 7, vars: 17, consts: [[1, "govuk-form-group", 3, "formGroup", "ngClass"], [3, "config"], ["id", "more-detail-hint", 1, "govuk-hint"], [3, "config", "errorMessage"], ["name", "more-detail", 1, "govuk-textarea", 3, "formControlName", "ngClass", "id", "rows"]], template: function GovUkTextareaComponent_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
26
|
+
i0.ɵɵelement(1, "xuilib-gov-label", 1);
|
|
27
|
+
i0.ɵɵelementStart(2, "span", 2);
|
|
28
|
+
i0.ɵɵtext(3);
|
|
29
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
30
|
+
i0.ɵɵelementEnd();
|
|
31
|
+
i0.ɵɵelement(5, "xuilib-gov-uk-error-message", 3)(6, "textarea", 4);
|
|
32
|
+
i0.ɵɵelementEnd();
|
|
33
|
+
} if (rf & 2) {
|
|
34
|
+
i0.ɵɵproperty("formGroup", ctx.group)("ngClass", i0.ɵɵpureFunction1(13, _c0, ctx.errorMessage == null ? null : ctx.errorMessage.isInvalid));
|
|
35
|
+
i0.ɵɵadvance();
|
|
36
|
+
i0.ɵɵproperty("config", ctx.config);
|
|
37
|
+
i0.ɵɵadvance(2);
|
|
38
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 11, ctx.config.hint), "\n");
|
|
39
|
+
i0.ɵɵadvance(2);
|
|
40
|
+
i0.ɵɵproperty("config", ctx.config)("errorMessage", ctx.errorMessage);
|
|
41
|
+
i0.ɵɵadvance();
|
|
42
|
+
i0.ɵɵproperty("formControlName", ctx.config.key)("ngClass", i0.ɵɵpureFunction1(15, _c1, ctx.errorMessage == null ? null : ctx.errorMessage.isInvalid))("id", ctx.config.id)("rows", ctx.config.rows);
|
|
43
|
+
i0.ɵɵattribute("aria-describedby", ctx.setDescribedBy());
|
|
44
|
+
} }, dependencies: [i1.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3.GovUkLabelComponent, i4.GovUkErrorMessageComponent, i5.RpxTranslatePipe], encapsulation: 2 }); }
|
|
45
|
+
}
|
|
46
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GovUkTextareaComponent, [{
|
|
47
|
+
type: Component,
|
|
48
|
+
args: [{ selector: 'xuilib-gov-uk-textarea', template: "<div [formGroup]=\"group\"\nclass=\"govuk-form-group\" [ngClass]=\"{'govuk-form-group--error': errorMessage?.isInvalid}\">\n<xuilib-gov-label [config]=\"config\"></xuilib-gov-label>\n<span id=\"more-detail-hint\" class=\"govuk-hint\">\n {{config.hint | rpxTranslate}}\n</span>\n<xuilib-gov-uk-error-message [config]=\"config\" [errorMessage]=\"errorMessage\"></xuilib-gov-uk-error-message>\n<textarea\n class=\"govuk-textarea\" [formControlName]=\"config.key\"\n [ngClass]=\"{'govuk-textarea--error': errorMessage?.isInvalid}\"\n [id]=\"config.id\" name=\"more-detail\" [rows]=\"config.rows\" [attr.aria-describedby]=\"setDescribedBy()\"></textarea>\n</div>\n" }]
|
|
49
|
+
}], null, { config: [{
|
|
50
|
+
type: Input
|
|
51
|
+
}], errorMessage: [{
|
|
52
|
+
type: Input
|
|
53
|
+
}], group: [{
|
|
54
|
+
type: Input
|
|
55
|
+
}] }); })();
|
|
56
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GovUkTextareaComponent, { className: "GovUkTextareaComponent", filePath: "lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.ts", lineNumber: 17 }); })();
|
|
57
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ292LXVrLXRleHRhcmVhLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dWktY29tbW9uLWxpYi9zcmMvbGliL2dvdi11aS9jb21wb25lbnRzL2dvdi11ay10ZXh0YXJlYS9nb3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ZV09XCJjb25maWcua2V5XCJcbiAgW25nQ2xhc3NdPVwieydnb3Z1ay10ZXh0YXJlYS0tZXJyb3InOiBlcnJvck1lc3NhZ2U/LmlzSW52YWxpZH1cIlxuICBbaWRdPVwiY29uZmlnLmlkXCIgbmFtZT1cIm1vcmUtZGV0YWlsXCIgW3Jvd3NdPVwiY29uZmlnLnJvd3NcIiBbYXR0ci5hcmlhLWRlc2NyaWJlZGJ5XT1cInNldERlc2NyaWJlZEJ5KClcIj48L3RleHRhcmVhPlxuPC9kaXY+XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG1jdHMtYmFubmVyLWluZm8uaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXh1aS1jb21tb24tbGliL3NyYy9saWIvZ292LXVpL2NvbXBvbmVudHMvaG1jdHMtYmFubmVyL2htY3RzLWJhbm5lci1pbmZvLmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBIbWN0c0Jhbm5lckluZm8ge1xuICBtZXNzYWdlOiBzdHJpbmc7XG4gIHR5cGU6ICd3YXJuaW5nJyB8ICdzdWNjZXNzJyB8ICdpbmZvcm1hdGlvbic7XG4gIHRpdGxlPzogc3RyaW5nO1xuICBzaG93TWVzc2FnZUljb24/OiBib29sZWFuO1xuICBtZXNzYWdlQm9sZFRleHQ/OiBib29sZWFuO1xufVxuIl19
|
|
@@ -0,0 +1,111 @@
|
|
|
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 "rpx-xui-translation";
|
|
5
|
+
function HmctsBannerComponent_ng_container_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
6
|
+
i0.ɵɵelementStart(0, "div");
|
|
7
|
+
i0.ɵɵtext(1);
|
|
8
|
+
i0.ɵɵelementEnd();
|
|
9
|
+
} if (rf & 2) {
|
|
10
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
11
|
+
i0.ɵɵclassMapInterpolate1("hmcts-banner-title hmcts-banner-title--", ctx_r0.type, "");
|
|
12
|
+
i0.ɵɵadvance();
|
|
13
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.title, " ");
|
|
14
|
+
} }
|
|
15
|
+
function HmctsBannerComponent_ng_container_0_ng_container_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
+
i0.ɵɵelementContainerStart(0);
|
|
17
|
+
i0.ɵɵnamespaceSVG();
|
|
18
|
+
i0.ɵɵelementStart(1, "svg", 7);
|
|
19
|
+
i0.ɵɵelement(2, "path", 8);
|
|
20
|
+
i0.ɵɵelementEnd();
|
|
21
|
+
i0.ɵɵelementContainerEnd();
|
|
22
|
+
} }
|
|
23
|
+
function HmctsBannerComponent_ng_container_0_ng_container_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
+
i0.ɵɵelementContainerStart(0);
|
|
25
|
+
i0.ɵɵnamespaceSVG();
|
|
26
|
+
i0.ɵɵelementStart(1, "svg", 9);
|
|
27
|
+
i0.ɵɵelement(2, "path", 10);
|
|
28
|
+
i0.ɵɵelementEnd();
|
|
29
|
+
i0.ɵɵelementContainerEnd();
|
|
30
|
+
} }
|
|
31
|
+
function HmctsBannerComponent_ng_container_0_ng_container_3_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
32
|
+
i0.ɵɵelementContainerStart(0);
|
|
33
|
+
i0.ɵɵnamespaceSVG();
|
|
34
|
+
i0.ɵɵelementStart(1, "svg", 11);
|
|
35
|
+
i0.ɵɵelement(2, "path", 12);
|
|
36
|
+
i0.ɵɵelementEnd();
|
|
37
|
+
i0.ɵɵelementContainerEnd();
|
|
38
|
+
} }
|
|
39
|
+
function HmctsBannerComponent_ng_container_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵelementContainerStart(0)(1, 5);
|
|
41
|
+
i0.ɵɵtemplate(2, HmctsBannerComponent_ng_container_0_ng_container_3_ng_container_2_Template, 3, 0, "ng-container", 6)(3, HmctsBannerComponent_ng_container_0_ng_container_3_ng_container_3_Template, 3, 0, "ng-container", 6)(4, HmctsBannerComponent_ng_container_0_ng_container_3_ng_container_4_Template, 3, 0, "ng-container", 6);
|
|
42
|
+
i0.ɵɵelementContainerEnd()();
|
|
43
|
+
} if (rf & 2) {
|
|
44
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
45
|
+
i0.ɵɵadvance();
|
|
46
|
+
i0.ɵɵproperty("ngSwitch", ctx_r0.type);
|
|
47
|
+
i0.ɵɵadvance();
|
|
48
|
+
i0.ɵɵproperty("ngSwitchCase", "warning");
|
|
49
|
+
i0.ɵɵadvance();
|
|
50
|
+
i0.ɵɵproperty("ngSwitchCase", "success");
|
|
51
|
+
i0.ɵɵadvance();
|
|
52
|
+
i0.ɵɵproperty("ngSwitchCase", "information");
|
|
53
|
+
} }
|
|
54
|
+
function HmctsBannerComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
+
i0.ɵɵelementContainerStart(0);
|
|
56
|
+
i0.ɵɵtemplate(1, HmctsBannerComponent_ng_container_0_div_1_Template, 2, 4, "div", 1);
|
|
57
|
+
i0.ɵɵelementStart(2, "div");
|
|
58
|
+
i0.ɵɵtemplate(3, HmctsBannerComponent_ng_container_0_ng_container_3_Template, 5, 4, "ng-container", 0);
|
|
59
|
+
i0.ɵɵelementStart(4, "div", 2)(5, "span", 3);
|
|
60
|
+
i0.ɵɵtext(6);
|
|
61
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
62
|
+
i0.ɵɵelementEnd();
|
|
63
|
+
i0.ɵɵelementStart(8, "span", 4);
|
|
64
|
+
i0.ɵɵtext(9);
|
|
65
|
+
i0.ɵɵpipe(10, "rpxTranslate");
|
|
66
|
+
i0.ɵɵelementEnd()()();
|
|
67
|
+
i0.ɵɵelementContainerEnd();
|
|
68
|
+
} if (rf & 2) {
|
|
69
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
70
|
+
i0.ɵɵadvance();
|
|
71
|
+
i0.ɵɵproperty("ngIf", ctx_r0.title);
|
|
72
|
+
i0.ɵɵadvance();
|
|
73
|
+
i0.ɵɵclassMapInterpolate1("hmcts-banner hmcts-banner--", ctx_r0.type, "");
|
|
74
|
+
i0.ɵɵadvance();
|
|
75
|
+
i0.ɵɵproperty("ngIf", ctx_r0.showMessageIcon);
|
|
76
|
+
i0.ɵɵadvance();
|
|
77
|
+
i0.ɵɵclassProp("hmcts-banner__message--bold", ctx_r0.messageBoldText);
|
|
78
|
+
i0.ɵɵadvance(2);
|
|
79
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 9, ctx_r0.type));
|
|
80
|
+
i0.ɵɵadvance(3);
|
|
81
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 11, ctx_r0.message));
|
|
82
|
+
} }
|
|
83
|
+
export class HmctsBannerComponent {
|
|
84
|
+
constructor() {
|
|
85
|
+
this.title = '';
|
|
86
|
+
this.showMessageIcon = false;
|
|
87
|
+
this.messageBoldText = false;
|
|
88
|
+
}
|
|
89
|
+
static { this.ɵfac = function HmctsBannerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HmctsBannerComponent)(); }; }
|
|
90
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HmctsBannerComponent, selectors: [["xuilib-hmcts-banner"]], inputs: { message: "message", type: "type", title: "title", showMessageIcon: "showMessageIcon", messageBoldText: "messageBoldText" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "class", 4, "ngIf"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], [1, "hmcts-banner__message-text", "govuk-!-font-weight-bold"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon", "hmcts-banner__icon--warning"], ["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"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon", "hmcts-banner__icon--success"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon", "hmcts-banner__icon--information"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function HmctsBannerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
91
|
+
i0.ɵɵtemplate(0, HmctsBannerComponent_ng_container_0_Template, 11, 13, "ng-container", 0);
|
|
92
|
+
} if (rf & 2) {
|
|
93
|
+
i0.ɵɵproperty("ngIf", ctx.message && ctx.type);
|
|
94
|
+
} }, dependencies: [i1.NgIf, i1.NgSwitch, i1.NgSwitchCase, i2.RpxTranslatePipe], styles: [".hmcts-banner-title[_ngcontent-%COMP%]{color:#fff;background-color:#1d70b8;font-weight:700;padding:10px 15px 5px}.hmcts-banner-title--success[_ngcontent-%COMP%]{background-color:#00703c}.hmcts-banner-title--warning[_ngcontent-%COMP%]{background-color:#d4351c}.hmcts-banner__message--bold[_ngcontent-%COMP%]{font-weight:700}"] }); }
|
|
95
|
+
}
|
|
96
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HmctsBannerComponent, [{
|
|
97
|
+
type: Component,
|
|
98
|
+
args: [{ selector: 'xuilib-hmcts-banner', template: "<ng-container *ngIf=\"message && type\">\n <div *ngIf=\"title\"\n class=\"hmcts-banner-title hmcts-banner-title--{{ type }}\">\n {{ title }}\n </div>\n <div class=\"hmcts-banner hmcts-banner--{{ type }}\">\n <ng-container *ngIf=\"showMessageIcon\">\n <ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"'warning'\">\n <svg class=\"hmcts-banner__icon hmcts-banner__icon--warning\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\" 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\"></path>\n </svg>\n </ng-container>\n <ng-container *ngSwitchCase=\"'success'\">\n <svg class=\"hmcts-banner__icon hmcts-banner__icon--success\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path d=\"M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z\"></path>\n </svg>\n </ng-container>\n <ng-container *ngSwitchCase=\"'information'\">\n <svg class=\"hmcts-banner__icon hmcts-banner__icon--information\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path d=\"M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z\"></path>\n </svg>\n </ng-container>\n </ng-container>\n </ng-container>\n\n <div class=\"hmcts-banner__message\" [class.hmcts-banner__message--bold]=\"messageBoldText\">\n <span class=\"hmcts-banner__assistive\">{{type | rpxTranslate}}</span>\n <span class=\"hmcts-banner__message-text govuk-!-font-weight-bold\">{{message | rpxTranslate}}</span>\n </div>\n </div>\n</ng-container>\n", styles: [".hmcts-banner-title{color:#fff;background-color:#1d70b8;font-weight:700;padding:10px 15px 5px}.hmcts-banner-title--success{background-color:#00703c}.hmcts-banner-title--warning{background-color:#d4351c}.hmcts-banner__message--bold{font-weight:700}\n"] }]
|
|
99
|
+
}], null, { message: [{
|
|
100
|
+
type: Input
|
|
101
|
+
}], type: [{
|
|
102
|
+
type: Input
|
|
103
|
+
}], title: [{
|
|
104
|
+
type: Input
|
|
105
|
+
}], showMessageIcon: [{
|
|
106
|
+
type: Input
|
|
107
|
+
}], messageBoldText: [{
|
|
108
|
+
type: Input
|
|
109
|
+
}] }); })();
|
|
110
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HmctsBannerComponent, { className: "HmctsBannerComponent", filePath: "lib/gov-ui/components/hmcts-banner/hmcts-banner.component.ts", lineNumber: 8 }); })();
|
|
111
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG1jdHMtYmFubmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dWktY29tbW9uLWxpYi9zcmMvbGliL2dvdi11aS9jb21wb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