@hmcts/rpx-xui-common-lib 2.0.2-pre-release-include-user-access-type → 2.0.2-pre-release-accessibility-updated-version
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/hmcts-rpx-xui-common-lib.umd.js +6257 -0
- package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +1 -0
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +2 -0
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +1 -0
- package/esm2015/hmcts-rpx-xui-common-lib.js +77 -0
- package/esm2015/lib/components/accessibility/accessibility.component.js +27 -0
- package/esm2015/lib/components/checkbox-list/checkbox-list.component.js +185 -0
- package/esm2015/lib/components/contact-details/contact-details.component.js +17 -0
- package/esm2015/lib/components/cookie-banner/cookie-banner.component.js +68 -0
- package/esm2015/lib/components/due-date/due-date.component.js +123 -0
- package/esm2015/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +28 -0
- package/esm2015/lib/components/find-location/find-location.component.js +146 -0
- package/esm2015/lib/components/find-person/find-person.component.js +120 -0
- package/esm2015/lib/components/find-service/find-service.component.js +113 -0
- package/esm2015/lib/components/find-task-name/find-task-name.component.js +97 -0
- package/esm2015/lib/components/generic-filter/generic-filter.component.js +629 -0
- package/esm2015/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +27 -0
- package/esm2015/lib/components/invite-user-form/invite-user-form.component.js +25 -0
- package/esm2015/lib/components/invite-user-permissions/invite-user-permission.component.js +25 -0
- package/esm2015/lib/components/loading-spinner/loading-spinner.component.js +26 -0
- package/esm2015/lib/components/pagination/pagination.component.js +28 -0
- package/esm2015/lib/components/search-judicials/search-judicials.component.js +126 -0
- package/esm2015/lib/components/search-location/search-location.component.js +135 -0
- package/esm2015/lib/components/search-service/search-service.component.js +42 -0
- package/esm2015/lib/components/search-venue/search-venue.component.js +123 -0
- package/esm2015/lib/components/selected-case/selected-case.component.js +158 -0
- package/esm2015/lib/components/selected-case-confirm/selected-case-confirm.component.js +36 -0
- package/esm2015/lib/components/selected-case-list/selected-case-list.component.js +49 -0
- package/esm2015/lib/components/service-message/service-message.component.js +22 -0
- package/esm2015/lib/components/service-messages/service-messages.component.js +48 -0
- package/esm2015/lib/components/share-case/share-case.component.js +205 -0
- package/esm2015/lib/components/share-case-confirm/share-case-confirm.component.js +34 -0
- package/esm2015/lib/components/tab/tab.component.js +21 -0
- package/esm2015/lib/components/tc-confirm/tc-confirm.component.js +22 -0
- package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +13 -0
- package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +13 -0
- package/esm2015/lib/components/terms-and-conditions/terms-and-conditions.component.js +16 -0
- package/esm2015/lib/components/user-details/user-details.component.js +41 -0
- package/esm2015/lib/components/user-list/user-list.component.js +33 -0
- package/esm2015/lib/components/user-select/user-select.component.js +58 -0
- package/esm2015/lib/components/write-address/write-address.component.js +182 -0
- package/esm2015/lib/components/write-address-inputs/write-address-inputs.component.js +36 -0
- package/esm2015/lib/directives/feature-toggle/feature-toggle.directive.js +42 -0
- package/esm2015/lib/directives/let/let.directive.js +30 -0
- package/esm2015/lib/exui-common-lib.module.js +174 -0
- package/esm2015/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +31 -0
- package/esm2015/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +60 -0
- package/esm2015/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +64 -0
- package/esm2015/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +22 -0
- package/esm2015/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +28 -0
- package/esm2015/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +35 -0
- package/esm2015/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +23 -0
- package/esm2015/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +34 -0
- package/esm2015/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +22 -0
- package/esm2015/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +33 -0
- package/esm2015/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +21 -0
- package/esm2015/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +27 -0
- package/esm2015/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +39 -0
- package/esm2015/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +27 -0
- package/esm2015/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +23 -0
- package/esm2015/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +48 -0
- package/esm2015/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +19 -0
- package/esm2015/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +41 -0
- package/esm2015/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +28 -0
- package/esm2015/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +23 -0
- package/esm2015/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +15 -0
- package/esm2015/lib/gov-ui/directives/remove-host.directive.js +29 -0
- package/esm2015/lib/gov-ui/gov-ui.service.js +13 -0
- package/{esm2020/lib/models/public_api.mjs → esm2015/lib/models/public_api.js} +1 -2
- package/esm2015/lib/models/user-details.model.js +2 -0
- package/esm2015/lib/pipes/capitalize/capitalize.pipe.js +11 -0
- package/esm2015/lib/services/address/address.service.js +50 -0
- package/esm2015/lib/services/case-sharing-state/case-sharing-state.service.js +157 -0
- package/esm2015/lib/services/cookie/cookie.service.js +47 -0
- package/esm2015/lib/services/feature-toggle/feature-toggle.guard.js +36 -0
- package/esm2015/lib/services/feature-toggle/feature-toggle.service.js +27 -0
- package/{esm2020/lib/services/feature-toggle/launch-darkly.service.mjs → esm2015/lib/services/feature-toggle/launch-darkly.service.js} +6 -8
- package/{esm2020/lib/services/filter/filter.service.mjs → esm2015/lib/services/filter/filter.service.js} +6 -8
- package/esm2015/lib/services/find-person/find-person.service.js +115 -0
- package/esm2015/lib/services/google-analytics/google-analytics.service.js +68 -0
- package/esm2015/lib/services/google-tag-manager/google-tag-manager.service.js +71 -0
- package/{esm2020/lib/services/loading/loading.service.mjs → esm2015/lib/services/loading/loading.service.js} +6 -8
- package/esm2015/lib/services/locations/location.service.js +39 -0
- package/{esm2020/lib/services/manage-session/manage-session.services.mjs → esm2015/lib/services/manage-session/manage-session.services.js} +10 -8
- package/esm2015/lib/services/ref-data/ref-data-data-access/ref-data-data-access.service.js +34 -0
- package/{esm2020/lib/services/ref-data/ref-data.service.mjs → esm2015/lib/services/ref-data/ref-data.service.js} +9 -8
- package/{esm2020/lib/services/role-guard/role.guard.mjs → esm2015/lib/services/role-guard/role.guard.js} +10 -8
- package/esm2015/lib/services/role-guard/role.service.js +20 -0
- package/{esm2020/lib/services/storage/session-storage/session-storage.service.mjs → esm2015/lib/services/storage/session-storage/session-storage.service.js} +6 -8
- package/{esm2020/lib/services/task-name/task-name.service.mjs → esm2015/lib/services/task-name/task-name.service.js} +10 -8
- package/{esm2020/lib/services/timeout-notifications/timeout-notifications.service.mjs → esm2015/lib/services/timeout-notifications/timeout-notifications.service.js} +10 -8
- package/fesm2015/hmcts-rpx-xui-common-lib.js +5227 -0
- package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -0
- package/hmcts-rpx-xui-common-lib.d.ts +76 -0
- package/hmcts-rpx-xui-common-lib.metadata.json +1 -0
- package/lib/components/accessibility/accessibility.component.d.ts +4 -4
- package/lib/components/checkbox-list/checkbox-list.component.d.ts +0 -3
- package/lib/components/contact-details/contact-details.component.d.ts +0 -3
- package/lib/components/cookie-banner/cookie-banner.component.d.ts +1 -6
- package/lib/components/due-date/due-date.component.d.ts +0 -3
- package/lib/components/exui-main-wrapper/exui-page-wrapper.component.d.ts +0 -3
- package/lib/components/find-location/find-location.component.d.ts +0 -3
- package/lib/components/find-person/find-person.component.d.ts +0 -3
- package/lib/components/find-service/find-service.component.d.ts +0 -3
- package/lib/components/find-task-name/find-task-name.component.d.ts +0 -3
- package/lib/components/generic-filter/generic-filter.component.d.ts +0 -3
- package/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.d.ts +0 -3
- package/lib/components/invite-user-form/invite-user-form.component.d.ts +0 -3
- package/lib/components/invite-user-permissions/invite-user-permission.component.d.ts +0 -3
- package/lib/components/loading-spinner/loading-spinner.component.d.ts +0 -3
- package/lib/components/pagination/pagination.component.d.ts +0 -3
- package/lib/components/search-judicials/search-judicials.component.d.ts +0 -3
- package/lib/components/search-location/search-location.component.d.ts +1 -4
- package/lib/components/search-service/search-service.component.d.ts +1 -4
- package/lib/components/search-venue/search-venue.component.d.ts +0 -3
- package/lib/components/selected-case/selected-case.component.d.ts +0 -3
- package/lib/components/selected-case-confirm/selected-case-confirm.component.d.ts +0 -3
- package/lib/components/selected-case-list/selected-case-list.component.d.ts +0 -3
- package/lib/components/service-message/service-message.component.d.ts +0 -3
- package/lib/components/service-messages/service-messages.component.d.ts +0 -3
- package/lib/components/share-case/share-case.component.d.ts +0 -3
- package/lib/components/share-case-confirm/share-case-confirm.component.d.ts +0 -3
- package/lib/components/tab/tab.component.d.ts +0 -3
- package/lib/components/tc-confirm/tc-confirm.component.d.ts +0 -3
- package/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.d.ts +0 -3
- package/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.d.ts +0 -3
- package/lib/components/terms-and-conditions/terms-and-conditions.component.d.ts +0 -3
- package/lib/components/user-details/user-details.component.d.ts +0 -3
- package/lib/components/user-list/user-list.component.d.ts +0 -3
- package/lib/components/user-select/user-select.component.d.ts +2 -5
- package/lib/components/write-address/write-address.component.d.ts +0 -3
- package/lib/components/write-address-inputs/write-address-inputs.component.d.ts +3 -3
- package/lib/directives/feature-toggle/feature-toggle.directive.d.ts +0 -3
- package/lib/directives/let/let.directive.d.ts +0 -3
- package/lib/exui-common-lib.module.d.ts +3 -77
- package/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.d.ts +0 -3
- package/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.d.ts +0 -3
- package/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.d.ts +0 -3
- package/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.d.ts +0 -3
- package/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.d.ts +0 -3
- package/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.d.ts +0 -3
- package/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.d.ts +0 -3
- package/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.d.ts +0 -3
- package/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.d.ts +0 -3
- package/lib/gov-ui/directives/remove-host.directive.d.ts +0 -3
- package/lib/gov-ui/gov-ui.service.d.ts +0 -3
- package/lib/models/feature-user.d.ts +1 -1
- package/lib/models/filter.model.d.ts +2 -2
- package/lib/models/public_api.d.ts +0 -1
- package/lib/models/user-details.model.d.ts +0 -2
- package/lib/pipes/capitalize/capitalize.pipe.d.ts +0 -3
- package/lib/services/address/address.service.d.ts +0 -3
- package/lib/services/case-sharing-state/case-sharing-state.service.d.ts +0 -3
- package/lib/services/cookie/cookie.service.d.ts +0 -3
- package/lib/services/feature-toggle/feature-toggle.guard.d.ts +0 -3
- package/lib/services/feature-toggle/feature-toggle.service.d.ts +0 -3
- package/lib/services/feature-toggle/launch-darkly.service.d.ts +0 -3
- package/lib/services/filter/filter.service.d.ts +0 -3
- package/lib/services/find-person/find-person.service.d.ts +0 -3
- package/lib/services/google-analytics/google-analytics.service.d.ts +0 -3
- package/lib/services/google-tag-manager/google-tag-manager.service.d.ts +0 -3
- package/lib/services/loading/loading.service.d.ts +0 -3
- package/lib/services/locations/location.service.d.ts +0 -3
- package/lib/services/manage-session/manage-session.services.d.ts +0 -3
- package/lib/services/ref-data/ref-data-data-access/ref-data-data-access.service.d.ts +0 -3
- package/lib/services/ref-data/ref-data.service.d.ts +0 -3
- package/lib/services/role-guard/role.guard.d.ts +0 -3
- package/lib/services/role-guard/role.service.d.ts +2 -5
- package/lib/services/storage/session-storage/session-storage.service.d.ts +0 -3
- package/lib/services/task-name/task-name.service.d.ts +0 -3
- package/lib/services/timeout-notifications/timeout-notifications.service.d.ts +0 -3
- package/package.json +9 -24
- package/esm2020/hmcts-rpx-xui-common-lib.mjs +0 -5
- package/esm2020/lib/components/accessibility/accessibility.component.mjs +0 -486
- package/esm2020/lib/components/checkbox-list/checkbox-list.component.mjs +0 -231
- package/esm2020/lib/components/contact-details/contact-details.component.mjs +0 -107
- package/esm2020/lib/components/cookie-banner/cookie-banner.component.mjs +0 -144
- package/esm2020/lib/components/due-date/due-date.component.mjs +0 -140
- package/esm2020/lib/components/exui-main-wrapper/exui-page-wrapper.component.mjs +0 -79
- package/esm2020/lib/components/find-location/find-location.component.mjs +0 -219
- package/esm2020/lib/components/find-person/find-person.component.mjs +0 -234
- package/esm2020/lib/components/find-service/find-service.component.mjs +0 -187
- package/esm2020/lib/components/find-task-name/find-task-name.component.mjs +0 -200
- package/esm2020/lib/components/generic-filter/generic-filter.component.mjs +0 -1198
- package/esm2020/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.mjs +0 -55
- package/esm2020/lib/components/invite-user-form/invite-user-form.component.mjs +0 -50
- package/esm2020/lib/components/invite-user-permissions/invite-user-permission.component.mjs +0 -54
- package/esm2020/lib/components/loading-spinner/loading-spinner.component.mjs +0 -32
- package/esm2020/lib/components/pagination/pagination.component.mjs +0 -93
- package/esm2020/lib/components/search-judicials/search-judicials.component.mjs +0 -184
- package/esm2020/lib/components/search-location/search-location.component.mjs +0 -205
- package/esm2020/lib/components/search-service/search-service.component.mjs +0 -81
- package/esm2020/lib/components/search-venue/search-venue.component.mjs +0 -188
- package/esm2020/lib/components/selected-case/selected-case.component.mjs +0 -380
- package/esm2020/lib/components/selected-case-confirm/selected-case-confirm.component.mjs +0 -130
- package/esm2020/lib/components/selected-case-list/selected-case-list.component.mjs +0 -98
- package/esm2020/lib/components/service-message/service-message.component.mjs +0 -50
- package/esm2020/lib/components/service-messages/service-messages.component.mjs +0 -75
- package/esm2020/lib/components/share-case/share-case.component.mjs +0 -410
- package/esm2020/lib/components/share-case-confirm/share-case-confirm.component.mjs +0 -85
- package/esm2020/lib/components/tab/tab.component.mjs +0 -39
- package/esm2020/lib/components/tc-confirm/tc-confirm.component.mjs +0 -65
- package/esm2020/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.mjs +0 -16
- package/esm2020/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.mjs +0 -16
- package/esm2020/lib/components/terms-and-conditions/terms-and-conditions.component.mjs +0 -59
- package/esm2020/lib/components/user-details/user-details.component.mjs +0 -265
- package/esm2020/lib/components/user-list/user-list.component.mjs +0 -99
- package/esm2020/lib/components/user-select/user-select.component.mjs +0 -92
- package/esm2020/lib/components/write-address/write-address.component.mjs +0 -345
- package/esm2020/lib/components/write-address-inputs/write-address-inputs.component.mjs +0 -165
- package/esm2020/lib/directives/feature-toggle/feature-toggle.directive.mjs +0 -41
- package/esm2020/lib/directives/let/let.directive.mjs +0 -29
- package/esm2020/lib/exui-common-lib.module.mjs +0 -313
- package/esm2020/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.mjs +0 -54
- package/esm2020/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.mjs +0 -136
- package/esm2020/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.mjs +0 -120
- package/esm2020/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.mjs +0 -45
- package/esm2020/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.mjs +0 -80
- package/esm2020/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.mjs +0 -78
- package/esm2020/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.mjs +0 -45
- package/esm2020/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.mjs +0 -70
- package/esm2020/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.mjs +0 -84
- package/esm2020/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.mjs +0 -47
- package/esm2020/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.mjs +0 -41
- package/esm2020/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.mjs +0 -79
- package/esm2020/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.mjs +0 -188
- package/esm2020/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.mjs +0 -56
- package/esm2020/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.mjs +0 -112
- package/esm2020/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.mjs +0 -141
- package/esm2020/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.mjs +0 -33
- package/esm2020/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.mjs +0 -130
- package/esm2020/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.mjs +0 -204
- package/esm2020/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.mjs +0 -59
- package/esm2020/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.mjs +0 -57
- package/esm2020/lib/gov-ui/directives/remove-host.directive.mjs +0 -30
- package/esm2020/lib/gov-ui/gov-ui.service.mjs +0 -14
- package/esm2020/lib/models/user-access-type.model.mjs +0 -2
- package/esm2020/lib/models/user-details.model.mjs +0 -2
- package/esm2020/lib/pipes/capitalize/capitalize.pipe.mjs +0 -15
- package/esm2020/lib/services/address/address.service.mjs +0 -55
- package/esm2020/lib/services/case-sharing-state/case-sharing-state.service.mjs +0 -170
- package/esm2020/lib/services/cookie/cookie.service.mjs +0 -48
- package/esm2020/lib/services/feature-toggle/feature-toggle.guard.mjs +0 -34
- package/esm2020/lib/services/feature-toggle/feature-toggle.service.mjs +0 -29
- package/esm2020/lib/services/find-person/find-person.service.mjs +0 -114
- package/esm2020/lib/services/google-analytics/google-analytics.service.mjs +0 -68
- package/esm2020/lib/services/google-tag-manager/google-tag-manager.service.mjs +0 -71
- package/esm2020/lib/services/locations/location.service.mjs +0 -38
- package/esm2020/lib/services/ref-data/ref-data-data-access/ref-data-data-access.service.mjs +0 -33
- package/esm2020/lib/services/role-guard/role.service.mjs +0 -22
- package/fesm2015/hmcts-rpx-xui-common-lib.mjs +0 -10735
- package/fesm2015/hmcts-rpx-xui-common-lib.mjs.map +0 -1
- package/fesm2020/hmcts-rpx-xui-common-lib.mjs +0 -9774
- package/fesm2020/hmcts-rpx-xui-common-lib.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/models/user-access-type.model.d.ts +0 -6
- /package/{esm2020/lib/components/generic-filter/generic-filter-utils.mjs → esm2015/lib/components/generic-filter/generic-filter-utils.js} +0 -0
- /package/{esm2020/lib/components/index.mjs → esm2015/lib/components/index.js} +0 -0
- /package/{esm2020/lib/components/public_api.mjs → esm2015/lib/components/public_api.js} +0 -0
- /package/{esm2020/lib/directives/index.mjs → esm2015/lib/directives/index.js} +0 -0
- /package/{esm2020/lib/directives/public-api.mjs → esm2015/lib/directives/public-api.js} +0 -0
- /package/{esm2020/lib/gov-ui/components/hmcts-banner/hmcts-banner-info.interface.mjs → esm2015/lib/gov-ui/components/hmcts-banner/hmcts-banner-info.interface.js} +0 -0
- /package/{esm2020/lib/gov-ui/components/index.mjs → esm2015/lib/gov-ui/components/index.js} +0 -0
- /package/{esm2020/lib/gov-ui/components/public_api.mjs → esm2015/lib/gov-ui/components/public_api.js} +0 -0
- /package/{esm2020/lib/gov-ui/index.mjs → esm2015/lib/gov-ui/index.js} +0 -0
- /package/{esm2020/lib/gov-ui/models/checkboxes-model.mjs → esm2015/lib/gov-ui/models/checkboxes-model.js} +0 -0
- /package/{esm2020/lib/gov-ui/models/error-messages-model.mjs → esm2015/lib/gov-ui/models/error-messages-model.js} +0 -0
- /package/{esm2020/lib/gov-ui/models/gov-ui-config-model.mjs → esm2015/lib/gov-ui/models/gov-ui-config-model.js} +0 -0
- /package/{esm2020/lib/gov-ui/models/index.mjs → esm2015/lib/gov-ui/models/index.js} +0 -0
- /package/{esm2020/lib/gov-ui/models/isession-storage.interface.mjs → esm2015/lib/gov-ui/models/isession-storage.interface.js} +0 -0
- /package/{esm2020/lib/gov-ui/models/public_api.mjs → esm2015/lib/gov-ui/models/public_api.js} +0 -0
- /package/{esm2020/lib/gov-ui/models/radio-buttons.model.mjs → esm2015/lib/gov-ui/models/radio-buttons.model.js} +0 -0
- /package/{esm2020/lib/gov-ui/public_api.mjs → esm2015/lib/gov-ui/public_api.js} +0 -0
- /package/{esm2020/lib/gov-ui/util/helpers/html-templates.helper.mjs → esm2015/lib/gov-ui/util/helpers/html-templates.helper.js} +0 -0
- /package/{esm2020/lib/gov-ui/util/session-storage/session-storage-utils.mjs → esm2015/lib/gov-ui/util/session-storage/session-storage-utils.js} +0 -0
- /package/{esm2020/lib/gov-ui/validators/checkboxes-be-checked.validator.mjs → esm2015/lib/gov-ui/validators/checkboxes-be-checked.validator.js} +0 -0
- /package/{esm2020/lib/gov-ui/validators/date.validator.mjs → esm2015/lib/gov-ui/validators/date.validator.js} +0 -0
- /package/{esm2020/lib/gov-ui/validators/index.mjs → esm2015/lib/gov-ui/validators/index.js} +0 -0
- /package/{esm2020/lib/gov-ui/validators/public_api.mjs → esm2015/lib/gov-ui/validators/public_api.js} +0 -0
- /package/{esm2020/lib/gov-ui/validators/radio-group.validator.mjs → esm2015/lib/gov-ui/validators/radio-group.validator.js} +0 -0
- /package/{esm2020/lib/models/address-message.enum.mjs → esm2015/lib/models/address-message.enum.js} +0 -0
- /package/{esm2020/lib/models/address-option.model.mjs → esm2015/lib/models/address-option.model.js} +0 -0
- /package/{esm2020/lib/models/address.model.mjs → esm2015/lib/models/address.model.js} +0 -0
- /package/{esm2020/lib/models/case-share.model.mjs → esm2015/lib/models/case-share.model.js} +0 -0
- /package/{esm2020/lib/models/contact-details.model.mjs → esm2015/lib/models/contact-details.model.js} +0 -0
- /package/{esm2020/lib/models/due-date.model.mjs → esm2015/lib/models/due-date.model.js} +0 -0
- /package/{esm2020/lib/models/feature-user.mjs → esm2015/lib/models/feature-user.js} +0 -0
- /package/{esm2020/lib/models/filter.model.mjs → esm2015/lib/models/filter.model.js} +0 -0
- /package/{esm2020/lib/models/idle-config.model.mjs → esm2015/lib/models/idle-config.model.js} +0 -0
- /package/{esm2020/lib/models/index.mjs → esm2015/lib/models/index.js} +0 -0
- /package/{esm2020/lib/models/location.model.mjs → esm2015/lib/models/location.model.js} +0 -0
- /package/{esm2020/lib/models/pagination.model.mjs → esm2015/lib/models/pagination.model.js} +0 -0
- /package/{esm2020/lib/models/person.model.mjs → esm2015/lib/models/person.model.js} +0 -0
- /package/{esm2020/lib/models/search-options.model.mjs → esm2015/lib/models/search-options.model.js} +0 -0
- /package/{esm2020/lib/models/task-name.model.mjs → esm2015/lib/models/task-name.model.js} +0 -0
- /package/{esm2020/lib/models/tcDocument.model.mjs → esm2015/lib/models/tcDocument.model.js} +0 -0
- /package/{esm2020/lib/models/timeout-notification.model.mjs → esm2015/lib/models/timeout-notification.model.js} +0 -0
- /package/{esm2020/lib/models/user.model.mjs → esm2015/lib/models/user.model.js} +0 -0
- /package/{esm2020/lib/pipes/index.mjs → esm2015/lib/pipes/index.js} +0 -0
- /package/{esm2020/lib/services/address/address-parser.mjs → esm2015/lib/services/address/address-parser.js} +0 -0
- /package/{esm2020/lib/services/address/address-type.enum.mjs → esm2015/lib/services/address/address-type.enum.js} +0 -0
- /package/{esm2020/lib/services/index.mjs → esm2015/lib/services/index.js} +0 -0
- /package/{esm2020/lib/services/public-api.mjs → esm2015/lib/services/public-api.js} +0 -0
- /package/{esm2020/lib/services/ref-data/index.mjs → esm2015/lib/services/ref-data/index.js} +0 -0
- /package/{esm2020/lib/services/ref-data/models/ref-data-htmcs-service.model.mjs → esm2015/lib/services/ref-data/models/ref-data-htmcs-service.model.js} +0 -0
- /package/{esm2020/lib/services/ref-data/models/ref-data-region.model.mjs → esm2015/lib/services/ref-data/models/ref-data-region.model.js} +0 -0
- /package/{esm2020/lib/services/ref-data/ref-data-data-access/models/ref-data-locations-by-service-code-response.model.mjs → esm2015/lib/services/ref-data/ref-data-data-access/models/ref-data-locations-by-service-code-response.model.js} +0 -0
- /package/{esm2020/lib/window.mjs → esm2015/lib/window.js} +0 -0
- /package/{esm2020/public-api.mjs → esm2015/public-api.js} +0 -0
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "@angular/forms";
|
|
5
|
-
import * as i3 from "../gov-uk-error-message/gov-uk-error-message.component";
|
|
6
|
-
import * as i4 from "../gov-uk-fieldset/gov-uk-fieldset.component";
|
|
7
|
-
const _c0 = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
8
|
-
const _c1 = function (a0, a2, a3, a4) { return { legend: a0, classes: "govuk-label--m", id: a2, hint: a3, isPageHeading: a4 }; };
|
|
9
|
-
const _c2 = function (a0) { return { id: a0 }; };
|
|
10
|
-
const _c3 = ["*"];
|
|
11
|
-
/*
|
|
12
|
-
* Gov Uk Form Group Wrapper
|
|
13
|
-
* Used to wrap group form elements in html tags below such as
|
|
14
|
-
* gov-uk-checkboxes and radio buttons
|
|
15
|
-
* and errorMessage messages
|
|
16
|
-
* */
|
|
17
|
-
export class GovUkFormGroupWrapperComponent {
|
|
18
|
-
constructor() { }
|
|
19
|
-
}
|
|
20
|
-
GovUkFormGroupWrapperComponent.ɵfac = function GovUkFormGroupWrapperComponent_Factory(t) { return new (t || GovUkFormGroupWrapperComponent)(); };
|
|
21
|
-
GovUkFormGroupWrapperComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GovUkFormGroupWrapperComponent, selectors: [["xuilib-gov-uk-form-group-wrapper"]], inputs: { error: "error", group: "group", config: "config" }, ngContentSelectors: _c3, decls: 4, vars: 15, consts: [[1, "govuk-form-group", 3, "ngClass"], [3, "config", "errorMessage"]], template: function GovUkFormGroupWrapperComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22
|
-
i0.ɵɵprojectionDef();
|
|
23
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "xuilib-gov-uk-fieldset", 1);
|
|
24
|
-
i0.ɵɵelement(2, "xuilib-gov-uk-error-message", 1);
|
|
25
|
-
i0.ɵɵprojection(3);
|
|
26
|
-
i0.ɵɵelementEnd()();
|
|
27
|
-
} if (rf & 2) {
|
|
28
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0, ctx.error == null ? null : ctx.error.isInvalid));
|
|
29
|
-
i0.ɵɵattribute("formGroupName", ctx.group);
|
|
30
|
-
i0.ɵɵadvance(1);
|
|
31
|
-
i0.ɵɵproperty("config", i0.ɵɵpureFunction4(8, _c1, ctx.config.legend, ctx.config.key, ctx.config.hint, ctx.config.isPageHeading))("errorMessage", ctx.error);
|
|
32
|
-
i0.ɵɵadvance(1);
|
|
33
|
-
i0.ɵɵproperty("config", i0.ɵɵpureFunction1(13, _c2, ctx.group))("errorMessage", ctx.error);
|
|
34
|
-
} }, dependencies: [i1.NgClass, i2.NgControlStatusGroup, i2.FormGroupName, i3.GovUkErrorMessageComponent, i4.GovUkFieldsetComponent], encapsulation: 2 });
|
|
35
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GovUkFormGroupWrapperComponent, [{
|
|
36
|
-
type: Component,
|
|
37
|
-
args: [{ selector: 'xuilib-gov-uk-form-group-wrapper', template: "<div class=\"govuk-form-group\" [attr.formGroupName]=\"group\" [ngClass]=\"{'govuk-form-group--error': (error?.isInvalid)}\">\n <xuilib-gov-uk-fieldset\n [config]=\"{legend: config.legend, classes: 'govuk-label--m', id: config.key, hint: config.hint, isPageHeading: config.isPageHeading}\"\n [errorMessage]=\"error\">\n\n <xuilib-gov-uk-error-message [config]=\"{id: group}\" [errorMessage]=\"error\"></xuilib-gov-uk-error-message>\n\n <ng-content></ng-content>\n\n </xuilib-gov-uk-fieldset>\n</div>" }]
|
|
38
|
-
}], function () { return []; }, { error: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}], group: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}], config: [{
|
|
43
|
-
type: Input
|
|
44
|
-
}] }); })();
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ292LXVrLWZvcm0tZ3JvdXAtd3JhcHBlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb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Z1ay1mb3JtLWdyb3VwLS1lcnJvcic6IChlcnJvcj8uaXNJbnZhbGlkKX1cIj5cbiAgPHh1aWxpYi1nb3YtdWstZmllbGRzZXRcbiAgICBbY29uZmlnXT1cIntsZWdlbmQ6IGNvbmZpZy5sZWdlbmQsIGNsYXNzZXM6ICdnb3Z1ay1sYWJlbC0tbScsIGlkOiBjb25maWcua2V5LCBoaW50OiBjb25maWcuaGludCwgaXNQYWdlSGVhZGluZzogY29uZmlnLmlzUGFnZUhlYWRpbmd9XCJcbiAgICBbZXJyb3JNZXNzYWdlXT1cImVycm9yXCI+XG5cbiAgICA8eHVpbGliLWdvdi11ay1lcnJvci1tZXNzYWdlIFtjb25maWddPVwie2lkOiBncm91cH1cIiBbZXJyb3JNZXNzYWdlXT1cImVycm9yXCI+PC94dWlsaWItZ292LXVrLWVycm9yLW1lc3NhZ2U+XG5cbiAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG5cbiAgPC94dWlsaWItZ292LXVrLWZpZWxkc2V0PlxuPC9kaXY+Il19
|
|
@@ -1,70 +0,0 @@
|
|
|
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
|
-
function GovUkInputComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
11
|
-
i0.ɵɵelementStart(0, "span", 5);
|
|
12
|
-
i0.ɵɵtext(1);
|
|
13
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
14
|
-
i0.ɵɵelementEnd();
|
|
15
|
-
} if (rf & 2) {
|
|
16
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
17
|
-
i0.ɵɵproperty("id", ctx_r0.config.id + "-hint");
|
|
18
|
-
i0.ɵɵadvance(1);
|
|
19
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, ctx_r0.config.hint), "\n");
|
|
20
|
-
} }
|
|
21
|
-
const _c0 = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
22
|
-
const _c1 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
23
|
-
/*
|
|
24
|
-
* Gov UK Input component
|
|
25
|
-
* Responsible for displaying input, hint and error messages
|
|
26
|
-
* @prop errorMessages - array of messages
|
|
27
|
-
* @prop focusOn - passing the FormGroup
|
|
28
|
-
* @prop config - adding configuration
|
|
29
|
-
* */
|
|
30
|
-
export class GovUkInputComponent {
|
|
31
|
-
constructor() { }
|
|
32
|
-
// { label: string, hint: string; name: string; id: string, type: string; isPageHeading: boolean, classes: string };
|
|
33
|
-
ngOnInit() {
|
|
34
|
-
this.config.classes = typeof (this.config.classes) === 'string' ? this.config.classes : 'govuk-label govuk-label--m';
|
|
35
|
-
}
|
|
36
|
-
setDescribedBy() {
|
|
37
|
-
return HtmlTemplatesHelper.setDescribedBy(this.errorMessage, this.config);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
GovUkInputComponent.ɵfac = function GovUkInputComponent_Factory(t) { return new (t || GovUkInputComponent)(); };
|
|
41
|
-
GovUkInputComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GovUkInputComponent, selectors: [["xuilib-gov-uk-input"]], inputs: { errorMessage: "errorMessage", group: "group", config: "config" }, decls: 5, vars: 19, consts: [[1, "govuk-form-group", "gov-uk-input", 3, "formGroup", "ngClass"], [3, "config"], ["class", "govuk-hint", 3, "id", 4, "ngIf"], [3, "config", "errorMessage"], [1, "govuk-input", 3, "ngClass", "id", "name", "type", "formControlName"], [1, "govuk-hint", 3, "id"]], template: function GovUkInputComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
43
|
-
i0.ɵɵelement(1, "xuilib-gov-label", 1);
|
|
44
|
-
i0.ɵɵtemplate(2, GovUkInputComponent_span_2_Template, 3, 4, "span", 2);
|
|
45
|
-
i0.ɵɵelement(3, "xuilib-gov-uk-error-message", 3)(4, "input", 4);
|
|
46
|
-
i0.ɵɵelementEnd();
|
|
47
|
-
} if (rf & 2) {
|
|
48
|
-
i0.ɵɵproperty("formGroup", ctx.group)("ngClass", i0.ɵɵpureFunction1(15, _c0, ctx.errorMessage == null ? null : ctx.errorMessage.isInvalid));
|
|
49
|
-
i0.ɵɵadvance(1);
|
|
50
|
-
i0.ɵɵproperty("config", ctx.config);
|
|
51
|
-
i0.ɵɵadvance(1);
|
|
52
|
-
i0.ɵɵproperty("ngIf", ctx.config.hint);
|
|
53
|
-
i0.ɵɵadvance(1);
|
|
54
|
-
i0.ɵɵproperty("config", ctx.config)("errorMessage", ctx.errorMessage);
|
|
55
|
-
i0.ɵɵadvance(1);
|
|
56
|
-
i0.ɵɵclassProp("govuk-!-width-full", ctx.config.fullWidth);
|
|
57
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c1, ctx.errorMessage == null ? null : ctx.errorMessage.isInvalid))("id", ctx.config.id)("name", ctx.config.name)("type", ctx.config.type)("formControlName", ctx.config.name);
|
|
58
|
-
i0.ɵɵattribute("aria-invalid", ctx.errorMessage == null ? null : ctx.errorMessage.isInvalid)("aria-describedby", ctx.setDescribedBy());
|
|
59
|
-
} }, dependencies: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3.GovUkLabelComponent, i4.GovUkErrorMessageComponent, i5.RpxTranslatePipe], styles: [".gov-uk-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled{background:#b1b4b6}"] });
|
|
60
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GovUkInputComponent, [{
|
|
61
|
-
type: Component,
|
|
62
|
-
args: [{ selector: 'xuilib-gov-uk-input', template: "<div class=\"govuk-form-group gov-uk-input\" [formGroup]=\"group\"\n[ngClass]=\"{'govuk-form-group--error': errorMessage?.isInvalid}\">\n\n<xuilib-gov-label [config]=\"config\"></xuilib-gov-label>\n\n<span *ngIf=\"config.hint\" [id]=\"config.id +'-hint'\" class=\"govuk-hint\">\n {{config.hint | rpxTranslate}}\n</span>\n\n<xuilib-gov-uk-error-message [config]=\"config\" [errorMessage]=\"errorMessage\"></xuilib-gov-uk-error-message>\n\n<input class=\"govuk-input\"\n [class.govuk-!-width-full]=\"config.fullWidth\"\n [ngClass]=\"{'govuk-input--error': errorMessage?.isInvalid}\"\n [id]=\"config.id\"\n [name]=\"config.name\"\n [type]=\"config.type\"\n [attr.aria-invalid]=\"errorMessage?.isInvalid\"\n [formControlName]=\"config.name\"\n [attr.aria-describedby]='setDescribedBy()'>\n</div>\n", styles: [".gov-uk-input input:disabled{background:#b1b4b6}\n"] }]
|
|
63
|
-
}], function () { return []; }, { errorMessage: [{
|
|
64
|
-
type: Input
|
|
65
|
-
}], group: [{
|
|
66
|
-
type: Input
|
|
67
|
-
}], config: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}] }); })();
|
|
70
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ292LXVrLWlucHV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dWktY29tbW9uLWxpYi9zcmMvbGliL2dvdi11aS9jb21wb25lbnRzL2dvdi11ay1pbnB1dC9nb3YtdWstaW5wdXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXh1aS1jb21tb24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ncm91cC0tZXJyb3InOiBlcnJvck1lc3NhZ2U/LmlzSW52YWxpZH1cIj5cblxuPHh1aWxpYi1nb3YtbGFiZWwgW2NvbmZpZ109XCJjb25maWdcIj48L3h1aWxpYi1nb3YtbGFiZWw+XG5cbjxzcGFuICpuZ0lmPVwiY29uZmlnLmhpbnRcIiBbaWRdPVwiY29uZmlnLmlkICsnLWhpbnQnXCIgY2xhc3M9XCJnb3Z1ay1oaW50XCI+XG4gIHt7Y29uZmlnLmhpbnQgfCBycHhUcmFuc2xhdGV9fVxuPC9zcGFuPlxuXG48eHVpbGliLWdvdi11ay1lcnJvci1tZXNzYWdlIFtjb25maWddPVwiY29uZmlnXCIgW2Vycm9yTWVzc2FnZV09XCJlcnJvck1lc3NhZ2VcIj48L3h1aWxpYi1nb3YtdWstZXJyb3ItbWVzc2FnZT5cblxuPGlucHV0IGNsYXNzPVwiZ292dWstaW5wdXRcIlxuICAgICAgIFtjbGFzcy5nb3Z1ay0hLXdpZHRoLWZ1bGxdPVwiY29uZmlnLmZ1bGxXaWR0aFwiXG4gICAgICAgW25nQ2xhc3NdPVwieydnb3Z1ay1pbnB1dC0tZXJyb3InOiBlcnJvck1lc3NhZ2U/LmlzSW52YWxpZH1cIlxuICAgICAgIFtpZF09XCJjb25maWcuaWRcIlxuICAgICAgIFtuYW1lXT1cImNvbmZpZy5uYW1lXCJcbiAgICAgICBbdHlwZV09XCJjb25maWcudHlwZVwiXG4gICAgICAgW2F0dHIuYXJpYS1pbnZhbGlkXT1cImVycm9yTWVzc2FnZT8uaXNJbnZhbGlkXCJcbiAgICAgICBbZm9ybUNvbnRyb2xOYW1lXT1cImNvbmZpZy5uYW1lXCJcbiAgICAgICBbYXR0ci5hcmlhLWRlc2NyaWJlZGJ5XT0nc2V0RGVzY3JpYmVkQnkoKSc+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "rpx-xui-translation";
|
|
5
|
-
function GovUkLabelComponent_h1_0_label_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
6
|
-
i0.ɵɵelementStart(0, "span", 5);
|
|
7
|
-
i0.ɵɵtext(1, "(optional)");
|
|
8
|
-
i0.ɵɵelementEnd();
|
|
9
|
-
} }
|
|
10
|
-
function GovUkLabelComponent_h1_0_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
11
|
-
i0.ɵɵelementStart(0, "label", 3)(1, "span");
|
|
12
|
-
i0.ɵɵtext(2);
|
|
13
|
-
i0.ɵɵpipe(3, "rpxTranslate");
|
|
14
|
-
i0.ɵɵelementEnd();
|
|
15
|
-
i0.ɵɵtemplate(4, GovUkLabelComponent_h1_0_label_1_span_4_Template, 2, 0, "span", 4);
|
|
16
|
-
i0.ɵɵelementEnd();
|
|
17
|
-
} if (rf & 2) {
|
|
18
|
-
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
19
|
-
i0.ɵɵclassMap(ctx_r3.config.classes + " govuk-label");
|
|
20
|
-
i0.ɵɵproperty("for", ctx_r3.config.id);
|
|
21
|
-
i0.ɵɵadvance(2);
|
|
22
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 5, ctx_r3.config.label));
|
|
23
|
-
i0.ɵɵadvance(2);
|
|
24
|
-
i0.ɵɵproperty("ngIf", ctx_r3.config.optional);
|
|
25
|
-
} }
|
|
26
|
-
function GovUkLabelComponent_h1_0_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
-
i0.ɵɵelementStart(0, "h1");
|
|
28
|
-
i0.ɵɵtemplate(1, GovUkLabelComponent_h1_0_label_1_Template, 5, 7, "label", 2);
|
|
29
|
-
i0.ɵɵelementEnd();
|
|
30
|
-
} if (rf & 2) {
|
|
31
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
32
|
-
i0.ɵɵadvance(1);
|
|
33
|
-
i0.ɵɵproperty("ngIf", ctx_r0.config.label);
|
|
34
|
-
} }
|
|
35
|
-
function GovUkLabelComponent_ng_template_1_label_0_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
-
i0.ɵɵelementStart(0, "span", 5);
|
|
37
|
-
i0.ɵɵtext(1, "(optional)");
|
|
38
|
-
i0.ɵɵelementEnd();
|
|
39
|
-
} }
|
|
40
|
-
function GovUkLabelComponent_ng_template_1_label_0_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
-
i0.ɵɵelementStart(0, "label", 3)(1, "span");
|
|
42
|
-
i0.ɵɵtext(2);
|
|
43
|
-
i0.ɵɵelementEnd();
|
|
44
|
-
i0.ɵɵtemplate(3, GovUkLabelComponent_ng_template_1_label_0_span_3_Template, 2, 0, "span", 4);
|
|
45
|
-
i0.ɵɵelementEnd();
|
|
46
|
-
} if (rf & 2) {
|
|
47
|
-
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
48
|
-
i0.ɵɵclassMap(ctx_r5.config.classes + " govuk-label");
|
|
49
|
-
i0.ɵɵproperty("for", ctx_r5.config.id);
|
|
50
|
-
i0.ɵɵadvance(2);
|
|
51
|
-
i0.ɵɵtextInterpolate(ctx_r5.config.label);
|
|
52
|
-
i0.ɵɵadvance(1);
|
|
53
|
-
i0.ɵɵproperty("ngIf", ctx_r5.config.optional);
|
|
54
|
-
} }
|
|
55
|
-
function GovUkLabelComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
56
|
-
i0.ɵɵtemplate(0, GovUkLabelComponent_ng_template_1_label_0_Template, 4, 5, "label", 2);
|
|
57
|
-
} if (rf & 2) {
|
|
58
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
59
|
-
i0.ɵɵproperty("ngIf", ctx_r2.config.label);
|
|
60
|
-
} }
|
|
61
|
-
/*
|
|
62
|
-
* Gov UK Label component
|
|
63
|
-
* Responsible for displaying label tag
|
|
64
|
-
* @prop isPageHading - boolean to display h1
|
|
65
|
-
* @prop config - obj with properties
|
|
66
|
-
* */
|
|
67
|
-
export class GovUkLabelComponent {
|
|
68
|
-
constructor() { }
|
|
69
|
-
}
|
|
70
|
-
GovUkLabelComponent.ɵfac = function GovUkLabelComponent_Factory(t) { return new (t || GovUkLabelComponent)(); };
|
|
71
|
-
GovUkLabelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GovUkLabelComponent, selectors: [["xuilib-gov-label"]], inputs: { config: "config" }, decls: 3, vars: 2, consts: [[4, "ngIf", "ngIfElse"], ["noHeading", ""], [3, "for", "class", 4, "ngIf"], [3, "for"], ["class", "govuk-label__optional", 4, "ngIf"], [1, "govuk-label__optional"]], template: function GovUkLabelComponent_Template(rf, ctx) { if (rf & 1) {
|
|
72
|
-
i0.ɵɵtemplate(0, GovUkLabelComponent_h1_0_Template, 2, 1, "h1", 0);
|
|
73
|
-
i0.ɵɵtemplate(1, GovUkLabelComponent_ng_template_1_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
74
|
-
} if (rf & 2) {
|
|
75
|
-
const _r1 = i0.ɵɵreference(2);
|
|
76
|
-
i0.ɵɵproperty("ngIf", ctx.config.isPageHeading)("ngIfElse", _r1);
|
|
77
|
-
} }, dependencies: [i1.NgIf, i2.RpxTranslatePipe], styles: [".govuk-label[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}.govuk-label__optional[_ngcontent-%COMP%]{font-weight:400;font-size:16px;display:inline-block;margin-left:.75rem}"] });
|
|
78
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GovUkLabelComponent, [{
|
|
79
|
-
type: Component,
|
|
80
|
-
args: [{ selector: 'xuilib-gov-label', template: "<h1 *ngIf=\"config.isPageHeading else noHeading\">\n <label *ngIf=\"config.label\" [for]=\"config.id\" [class]=\"config.classes + ' govuk-label'\">\n <span>{{ config.label | rpxTranslate }}</span>\n <span class=\"govuk-label__optional\" *ngIf=\"config.optional\">(optional)</span>\n </label>\n</h1>\n<ng-template #noHeading>\n <label *ngIf=\"config.label\" [for]=\"config.id\" [class]=\"config.classes + ' govuk-label'\">\n <span>{{ config.label }}</span>\n <span class=\"govuk-label__optional\" *ngIf=\"config.optional\">(optional)</span>\n </label>\n</ng-template>\n", styles: [".govuk-label{display:flex;align-items:center;flex-wrap:wrap}.govuk-label__optional{font-weight:400;font-size:16px;display:inline-block;margin-left:.75rem}\n"] }]
|
|
81
|
-
}], function () { return []; }, { config: [{
|
|
82
|
-
type: Input
|
|
83
|
-
}] }); })();
|
|
84
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ292LXVrLWxhYmVsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dWktY29tbW9uLWxpYi9zcmMvbGliL2dvdi11aS9jb21wb25lbnRzL2dvdi11ay1sYWJlbC9nb3YtdWstbGFiZWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXh1aS1jb21tb24tbGliL3NyYy9saWIvZ292LXVpL2NvbXBvbmVudHMvZ292LXVrLWxhYmVsL2dvdi11ay1sYWJlbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQzs7Ozs7SUNHM0MsK0JBQTREO0lBQUEsMEJBQVU7SUFBQSxpQkFBTzs7O0lBRi9FLGdDQUF3RixXQUFBO0lBQ2hGLFlBQWlDOztJQUFBLGlCQUFPO0lBQzlDLG1GQUE2RTtJQUMvRSxpQkFBUTs7O0lBSHNDLHFEQUF5QztJQUEzRCxzQ0FBaUI7SUFDckMsZUFBaUM7SUFBakMsK0RBQWlDO0lBQ0YsZUFBcUI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PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -1,47 +0,0 @@
|
|
|
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
|
-
}
|
|
26
|
-
GovUkRadioComponent.ɵfac = function GovUkRadioComponent_Factory(t) { return new (t || GovUkRadioComponent)(); };
|
|
27
|
-
GovUkRadioComponent.ɵ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) {
|
|
28
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
29
|
-
i0.ɵɵelement(1, "input", 1)(2, "xuilib-gov-label", 2);
|
|
30
|
-
i0.ɵɵelementEnd();
|
|
31
|
-
} if (rf & 2) {
|
|
32
|
-
i0.ɵɵproperty("formGroup", ctx.group);
|
|
33
|
-
i0.ɵɵadvance(1);
|
|
34
|
-
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]);
|
|
35
|
-
i0.ɵɵattribute("data-aria-controls", ctx.config.id);
|
|
36
|
-
i0.ɵɵadvance(1);
|
|
37
|
-
i0.ɵɵproperty("config", ctx.config);
|
|
38
|
-
} }, dependencies: [i1.DefaultValueAccessor, i1.RadioControlValueAccessor, i1.NgControlStatus, i1.NgControlStatusGroup, i1.FormControlDirective, i1.FormGroupDirective, i2.GovUkLabelComponent, i3.RemoveHostDirective], encapsulation: 2 });
|
|
39
|
-
(function () { (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
|
-
}], function () { return []; }, { group: [{
|
|
43
|
-
type: Input
|
|
44
|
-
}], config: [{
|
|
45
|
-
type: Input
|
|
46
|
-
}] }); })();
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ292LXVrLXJhZGlvLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dWktY29tbW9uLWxpYi9zcmMvbGliL2dvdi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uYW1lXCJcbiAgICAgICAgIFtmb3JtQ29udHJvbF09XCJncm91cC5jb250cm9sc1tjb25maWcubmFtZV1cIj5cbiAgPHh1aWxpYi1nb3YtbGFiZWwgYXBwUmVtb3ZlSG9zdCBbY29uZmlnXT1cImNvbmZpZ1wiPjwveHVpbGliLWdvdi1sYWJlbD5cbjwvZGl2PlxuIl19
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "../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_r0 = i0.ɵɵnextContext();
|
|
12
|
-
i0.ɵɵproperty("group", ctx_r0.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
|
-
}
|
|
23
|
-
GovUkRadiosComponent.ɵfac = function GovUkRadiosComponent_Factory(t) { return new (t || GovUkRadiosComponent)(); };
|
|
24
|
-
GovUkRadiosComponent.ɵ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) {
|
|
25
|
-
i0.ɵɵelementStart(0, "xuilib-gov-uk-form-group-wrapper", 0)(1, "div", 1);
|
|
26
|
-
i0.ɵɵtemplate(2, GovUkRadiosComponent_xuilib_gov_radio_2_Template, 1, 2, "xuilib-gov-radio", 2);
|
|
27
|
-
i0.ɵɵelementEnd()();
|
|
28
|
-
} if (rf & 2) {
|
|
29
|
-
i0.ɵɵproperty("error", ctx.errors)("config", ctx.options.config)("group", ctx.options.key);
|
|
30
|
-
i0.ɵɵadvance(2);
|
|
31
|
-
i0.ɵɵproperty("ngForOf", ctx.options.items);
|
|
32
|
-
} }, dependencies: [i1.NgForOf, i2.GovUkFormGroupWrapperComponent, i3.GovUkRadioComponent, i4.RemoveHostDirective], encapsulation: 2 });
|
|
33
|
-
(function () { (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
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ292LXVrLXJhZGlvcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIi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pbz5cbjwvZGl2PlxuPC94dWlsaWItZ292LXVrLWZvcm0tZ3JvdXAtd3JhcHBlcj4iXX0=
|
|
@@ -1,79 +0,0 @@
|
|
|
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
|
-
function GovUkSelectComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
11
|
-
i0.ɵɵelementStart(0, "span", 6);
|
|
12
|
-
i0.ɵɵtext(1);
|
|
13
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
14
|
-
i0.ɵɵelementEnd();
|
|
15
|
-
} if (rf & 2) {
|
|
16
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
17
|
-
i0.ɵɵproperty("id", ctx_r0.config.id + "-hint");
|
|
18
|
-
i0.ɵɵadvance(1);
|
|
19
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, ctx_r0.config.hint), "\n");
|
|
20
|
-
} }
|
|
21
|
-
function GovUkSelectComponent_option_5_Template(rf, ctx) { if (rf & 1) {
|
|
22
|
-
i0.ɵɵelementStart(0, "option", 7);
|
|
23
|
-
i0.ɵɵtext(1);
|
|
24
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
25
|
-
i0.ɵɵelementEnd();
|
|
26
|
-
} if (rf & 2) {
|
|
27
|
-
const item_r2 = ctx.$implicit;
|
|
28
|
-
i0.ɵɵpropertyInterpolate("value", item_r2.value);
|
|
29
|
-
i0.ɵɵadvance(1);
|
|
30
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, item_r2.label));
|
|
31
|
-
} }
|
|
32
|
-
const _c0 = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
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
|
-
}
|
|
43
|
-
GovUkSelectComponent.ɵfac = function GovUkSelectComponent_Factory(t) { return new (t || GovUkSelectComponent)(); };
|
|
44
|
-
GovUkSelectComponent.ɵ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) {
|
|
45
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
46
|
-
i0.ɵɵelement(1, "xuilib-gov-label", 1);
|
|
47
|
-
i0.ɵɵtemplate(2, GovUkSelectComponent_span_2_Template, 3, 4, "span", 2);
|
|
48
|
-
i0.ɵɵelement(3, "xuilib-gov-uk-error-message", 3);
|
|
49
|
-
i0.ɵɵelementStart(4, "select", 4);
|
|
50
|
-
i0.ɵɵtemplate(5, GovUkSelectComponent_option_5_Template, 3, 4, "option", 5);
|
|
51
|
-
i0.ɵɵelementEnd()();
|
|
52
|
-
} if (rf & 2) {
|
|
53
|
-
i0.ɵɵproperty("formGroup", ctx.group)("ngClass", i0.ɵɵpureFunction1(13, _c0, ctx.errorMessage == null ? null : ctx.errorMessage.isInvalid));
|
|
54
|
-
i0.ɵɵadvance(1);
|
|
55
|
-
i0.ɵɵproperty("config", ctx.config);
|
|
56
|
-
i0.ɵɵadvance(1);
|
|
57
|
-
i0.ɵɵproperty("ngIf", ctx.config.hint);
|
|
58
|
-
i0.ɵɵadvance(1);
|
|
59
|
-
i0.ɵɵproperty("config", ctx.config)("errorMessage", ctx.errorMessage);
|
|
60
|
-
i0.ɵɵadvance(1);
|
|
61
|
-
i0.ɵɵclassProp("govuk-!-width-full", ctx.config.fullWidth);
|
|
62
|
-
i0.ɵɵproperty("id", ctx.config.id)("name", ctx.config.id)("formControlName", ctx.config.id);
|
|
63
|
-
i0.ɵɵattribute("aria-describedby", ctx.setDescribedBy());
|
|
64
|
-
i0.ɵɵadvance(1);
|
|
65
|
-
i0.ɵɵproperty("ngForOf", ctx.items);
|
|
66
|
-
} }, 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 });
|
|
67
|
-
(function () { (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
|
-
}], function () { return []; }, { errorMessage: [{
|
|
71
|
-
type: Input
|
|
72
|
-
}], group: [{
|
|
73
|
-
type: Input
|
|
74
|
-
}], config: [{
|
|
75
|
-
type: Input
|
|
76
|
-
}], items: [{
|
|
77
|
-
type: Input
|
|
78
|
-
}] }); })();
|
|
79
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ292LXVrLXNlbGVjdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHVpLWNvbW1vbi1saWIvc3JjL2xpYi9nb3YtdWkvY29tcG9uZW50cy9nb3YtdWstc2VsZWN0L2dvdi11ay1zZWxlY3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXh1aS1jb21tb24tbGliL3NyYy9saWIvZ292LXVpL2NvbXBvbmVudHMvZ292LXVrLXNlbGVjdC9nb3YtdWstc2VsZWN0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQy9DLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUd6QyxPQUFPLEVBQUMsbUJBQW1CLEVBQUMsTUFBTSwwQ0FBMEMsQ0FBQzs7Ozs7Ozs7SUNEN0UsK0JBQXVFO0lBQ3RFLFlBQ0Q7O0lBQUEsaUJBQU87OztJQUZtQiwrQ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cbjwvZGl2PlxuIl19
|
|
@@ -1,188 +0,0 @@
|
|
|
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_r2 = ctx.$implicit;
|
|
14
|
-
i0.ɵɵadvance(1);
|
|
15
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, h_r2.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_r5 = i0.ɵɵnextContext(2).$implicit;
|
|
24
|
-
const r_r3 = i0.ɵɵnextContext().$implicit;
|
|
25
|
-
i0.ɵɵadvance(1);
|
|
26
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, r_r3[col_r5.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_r5 = i0.ɵɵnextContext(2).$implicit;
|
|
37
|
-
const r_r3 = i0.ɵɵnextContext().$implicit;
|
|
38
|
-
i0.ɵɵadvance(1);
|
|
39
|
-
i0.ɵɵproperty("routerLink", r_r3.routerLink);
|
|
40
|
-
i0.ɵɵadvance(1);
|
|
41
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, r_r3[col_r5.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);
|
|
46
|
-
i0.ɵɵtemplate(2, GovukTableComponent_tr_8_ng_container_1_th_1_ng_container_2_Template, 4, 4, "ng-container", 12);
|
|
47
|
-
i0.ɵɵelementEnd();
|
|
48
|
-
} if (rf & 2) {
|
|
49
|
-
const col_r5 = i0.ɵɵnextContext().$implicit;
|
|
50
|
-
const r_r3 = i0.ɵɵnextContext().$implicit;
|
|
51
|
-
i0.ɵɵadvance(1);
|
|
52
|
-
i0.ɵɵproperty("ngIf", !col_r5.type || col_r5.type === "text" || !r_r3.routerLink);
|
|
53
|
-
i0.ɵɵadvance(1);
|
|
54
|
-
i0.ɵɵproperty("ngIf", col_r5.type === "link" && r_r3.routerLink);
|
|
55
|
-
} }
|
|
56
|
-
function GovukTableComponent_tr_8_ng_container_1_td_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
57
|
-
i0.ɵɵelementContainerStart(0);
|
|
58
|
-
i0.ɵɵtext(1);
|
|
59
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
60
|
-
i0.ɵɵelementContainerEnd();
|
|
61
|
-
} if (rf & 2) {
|
|
62
|
-
const col_r5 = i0.ɵɵnextContext(2).$implicit;
|
|
63
|
-
const r_r3 = i0.ɵɵnextContext().$implicit;
|
|
64
|
-
const ctx_r17 = i0.ɵɵnextContext();
|
|
65
|
-
i0.ɵɵadvance(1);
|
|
66
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r17.formatDate(r_r3[col_r5.key])));
|
|
67
|
-
} }
|
|
68
|
-
function GovukTableComponent_tr_8_ng_container_1_td_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
69
|
-
i0.ɵɵelementContainerStart(0);
|
|
70
|
-
i0.ɵɵtext(1);
|
|
71
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
72
|
-
i0.ɵɵelementContainerEnd();
|
|
73
|
-
} if (rf & 2) {
|
|
74
|
-
const col_r5 = i0.ɵɵnextContext(2).$implicit;
|
|
75
|
-
const r_r3 = i0.ɵɵnextContext().$implicit;
|
|
76
|
-
i0.ɵɵadvance(1);
|
|
77
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, r_r3[col_r5.key]));
|
|
78
|
-
} }
|
|
79
|
-
function GovukTableComponent_tr_8_ng_container_1_td_2_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
80
|
-
i0.ɵɵelementContainerStart(0);
|
|
81
|
-
i0.ɵɵelementStart(1, "a", 13);
|
|
82
|
-
i0.ɵɵtext(2);
|
|
83
|
-
i0.ɵɵpipe(3, "rpxTranslate");
|
|
84
|
-
i0.ɵɵelementEnd();
|
|
85
|
-
i0.ɵɵelementContainerEnd();
|
|
86
|
-
} if (rf & 2) {
|
|
87
|
-
const col_r5 = i0.ɵɵnextContext(2).$implicit;
|
|
88
|
-
const r_r3 = i0.ɵɵnextContext().$implicit;
|
|
89
|
-
i0.ɵɵadvance(1);
|
|
90
|
-
i0.ɵɵproperty("routerLink", r_r3.routerLink);
|
|
91
|
-
i0.ɵɵadvance(1);
|
|
92
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, r_r3[col_r5.key]));
|
|
93
|
-
} }
|
|
94
|
-
function GovukTableComponent_tr_8_ng_container_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
95
|
-
i0.ɵɵelementStart(0, "td", 14);
|
|
96
|
-
i0.ɵɵtemplate(1, GovukTableComponent_tr_8_ng_container_1_td_2_ng_container_1_Template, 3, 3, "ng-container", 12);
|
|
97
|
-
i0.ɵɵtemplate(2, GovukTableComponent_tr_8_ng_container_1_td_2_ng_container_2_Template, 3, 3, "ng-container", 12);
|
|
98
|
-
i0.ɵɵtemplate(3, GovukTableComponent_tr_8_ng_container_1_td_2_ng_container_3_Template, 4, 4, "ng-container", 12);
|
|
99
|
-
i0.ɵɵelementEnd();
|
|
100
|
-
} if (rf & 2) {
|
|
101
|
-
const col_r5 = i0.ɵɵnextContext().$implicit;
|
|
102
|
-
const r_r3 = i0.ɵɵnextContext().$implicit;
|
|
103
|
-
i0.ɵɵadvance(1);
|
|
104
|
-
i0.ɵɵproperty("ngIf", col_r5.type === "date");
|
|
105
|
-
i0.ɵɵadvance(1);
|
|
106
|
-
i0.ɵɵproperty("ngIf", !col_r5.type || col_r5.type === "text" || !r_r3.routerLink);
|
|
107
|
-
i0.ɵɵadvance(1);
|
|
108
|
-
i0.ɵɵproperty("ngIf", col_r5.type === "link" && r_r3.routerLink);
|
|
109
|
-
} }
|
|
110
|
-
function GovukTableComponent_tr_8_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
111
|
-
i0.ɵɵelementContainerStart(0);
|
|
112
|
-
i0.ɵɵtemplate(1, GovukTableComponent_tr_8_ng_container_1_th_1_Template, 3, 2, "th", 9);
|
|
113
|
-
i0.ɵɵtemplate(2, GovukTableComponent_tr_8_ng_container_1_td_2_Template, 4, 3, "td", 10);
|
|
114
|
-
i0.ɵɵelementContainerEnd();
|
|
115
|
-
} if (rf & 2) {
|
|
116
|
-
const isFirst_r6 = ctx.first;
|
|
117
|
-
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
118
|
-
i0.ɵɵadvance(1);
|
|
119
|
-
i0.ɵɵproperty("ngIf", isFirst_r6 && ctx_r4.firstCellIsHeader);
|
|
120
|
-
i0.ɵɵadvance(1);
|
|
121
|
-
i0.ɵɵproperty("ngIf", !(isFirst_r6 && ctx_r4.firstCellIsHeader));
|
|
122
|
-
} }
|
|
123
|
-
function GovukTableComponent_tr_8_Template(rf, ctx) { if (rf & 1) {
|
|
124
|
-
i0.ɵɵelementStart(0, "tr", 7);
|
|
125
|
-
i0.ɵɵtemplate(1, GovukTableComponent_tr_8_ng_container_1_Template, 3, 2, "ng-container", 8);
|
|
126
|
-
i0.ɵɵelementEnd();
|
|
127
|
-
} if (rf & 2) {
|
|
128
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
129
|
-
i0.ɵɵadvance(1);
|
|
130
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.columnConfig);
|
|
131
|
-
} }
|
|
132
|
-
export class GovukTableComponent {
|
|
133
|
-
constructor() {
|
|
134
|
-
this.classes = '';
|
|
135
|
-
this.caption = 'Dates and amounts';
|
|
136
|
-
this.firstCellIsHeader = true;
|
|
137
|
-
this.columnConfig = [
|
|
138
|
-
{ header: 'Date', key: 'date', type: 'text' },
|
|
139
|
-
{ header: 'Amount', key: 'amount' }
|
|
140
|
-
];
|
|
141
|
-
}
|
|
142
|
-
formatDate(date) {
|
|
143
|
-
return formatDate(date, 'dd/MM/yyyy', 'en-UK');
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
GovukTableComponent.ɵfac = function GovukTableComponent_Factory(t) { return new (t || GovukTableComponent)(); };
|
|
147
|
-
GovukTableComponent.ɵ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) {
|
|
148
|
-
i0.ɵɵelementStart(0, "table")(1, "caption", 0);
|
|
149
|
-
i0.ɵɵtext(2);
|
|
150
|
-
i0.ɵɵpipe(3, "rpxTranslate");
|
|
151
|
-
i0.ɵɵelementEnd();
|
|
152
|
-
i0.ɵɵelementStart(4, "thead", 1)(5, "tr", 2);
|
|
153
|
-
i0.ɵɵtemplate(6, GovukTableComponent_th_6_Template, 3, 3, "th", 3);
|
|
154
|
-
i0.ɵɵelementEnd()();
|
|
155
|
-
i0.ɵɵelementStart(7, "tbody", 4);
|
|
156
|
-
i0.ɵɵtemplate(8, GovukTableComponent_tr_8_Template, 2, 1, "tr", 5);
|
|
157
|
-
i0.ɵɵelementEnd()();
|
|
158
|
-
} if (rf & 2) {
|
|
159
|
-
i0.ɵɵclassMap("govuk-table " + ctx.classes);
|
|
160
|
-
i0.ɵɵadvance(2);
|
|
161
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, ctx.caption));
|
|
162
|
-
i0.ɵɵadvance(4);
|
|
163
|
-
i0.ɵɵproperty("ngForOf", ctx.columnConfig);
|
|
164
|
-
i0.ɵɵadvance(2);
|
|
165
|
-
i0.ɵɵproperty("ngForOf", ctx.rows);
|
|
166
|
-
} }, dependencies: [i1.NgForOf, i1.NgIf, i2.RouterLink, i3.RpxTranslatePipe] });
|
|
167
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GovukTableComponent, [{
|
|
168
|
-
type: Component,
|
|
169
|
-
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" }]
|
|
170
|
-
}], function () { return []; }, { classes: [{
|
|
171
|
-
type: Input
|
|
172
|
-
}], caption: [{
|
|
173
|
-
type: Input
|
|
174
|
-
}], firstCellIsHeader: [{
|
|
175
|
-
type: Input
|
|
176
|
-
}], rows: [{
|
|
177
|
-
type: Input
|
|
178
|
-
}], columnConfig: [{
|
|
179
|
-
type: Input
|
|
180
|
-
}] }); })();
|
|
181
|
-
export class GovukTableColumnConfig {
|
|
182
|
-
constructor() {
|
|
183
|
-
this.header = '';
|
|
184
|
-
this.key = '';
|
|
185
|
-
this.type = 'text';
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ292LXVrLXRhYmxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dWktY29tbW9uLWxpYi9zcmMvbGliL2dvdi11aS9jb21wb25lbnRzL2dvdi11ay10YWJsZS9nb3YtdWstdGFibGUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXh1aS1jb21tb24tbGliL3NyYy9saWIvZ292LXVpL2NvbXBvbmVudHMvZ292LXVrLXRhYmxlL2dvdi11ay10YWJsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDM0MsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQUMsTUFBTSxlQUFlLENBQUM7Ozs7OztJQ0d2Qyw2QkFBMkU7SUFBQSxZQUEyQjs7SUFBQSxpQkFBSzs7O0lBQWhDLGVBQTJCO0lBQTNCLHVEQUEyQjs7O0lBTzlGLDZCQUF3RTtJQUFBLFlBQTZCOztJQUFBLDBCQUFlOzs7O0lBQTVDLGVBQTZCO0lBQTd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cbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiIWNvbC50eXBlIHx8IGNvbC50eXBlID09PSAndGV4dCcgfHwgIXIucm91dGVyTGlua1wiPnt7cltjb2wua2V5XSB8IHJweFRyYW5zbGF0ZX19PC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cImNvbC50eXBlID09PSAnbGluaycgJiYgci5yb3V0ZXJMaW5rXCI+XG4gICAgICAgICAgICAgICAgICAgIDxhIGNsYXNzPVwiZ292dWstbGlua1wiIFtyb3V0ZXJMaW5rXT1cInIucm91dGVyTGlua1wiPnt7cltjb2wua2V5XSB8IHJweFRyYW5zbGF0ZX19PC9hPlxuICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgPC90ZD5cbiAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgPC90cj5cbiAgICA8L3Rib2R5PlxuPC90YWJsZT5cbiJdfQ==
|