@hmcts/rpx-xui-common-lib 2.1.0-angular-upgrade-11 → 2.1.1-angular-upgrade-11
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 +7051 -2390
- package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +1 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +15 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +1 -1
- package/esm2015/hmcts-rpx-xui-common-lib.js +8 -2
- package/esm2015/lib/components/accessibility/accessibility.component.js +9 -3
- package/esm2015/lib/components/checkbox-list/checkbox-list.component.js +112 -14
- package/esm2015/lib/components/contact-details/contact-details.component.js +12 -2
- package/esm2015/lib/components/cookie-banner/cookie-banner.component.js +65 -4
- package/esm2015/lib/components/due-date/due-date.component.js +97 -2
- package/esm2015/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +21 -7
- package/esm2015/lib/components/find-location/find-location.component.js +119 -10
- package/esm2015/lib/components/find-person/find-person.component.js +150 -9
- package/esm2015/lib/components/generic-filter/generic-filter-utils.js +55 -11
- package/esm2015/lib/components/generic-filter/generic-filter.component.js +276 -27
- package/esm2015/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +18 -3
- package/esm2015/lib/components/index.js +7 -2
- package/esm2015/lib/components/invite-user-form/invite-user-form.component.js +22 -2
- package/esm2015/lib/components/invite-user-permissions/invite-user-permission.component.js +21 -2
- package/esm2015/lib/components/loading-spinner/loading-spinner.component.js +12 -3
- package/esm2015/lib/components/pagination/pagination.component.js +24 -2
- package/esm2015/lib/components/public_api.js +33 -33
- package/esm2015/lib/components/search-judicials/search-judicials.component.js +133 -10
- package/esm2015/lib/components/search-location/search-location.component.js +158 -7
- package/esm2015/lib/components/search-venue/search-venue.component.js +135 -12
- package/esm2015/lib/components/selected-case/selected-case.component.js +176 -20
- package/esm2015/lib/components/selected-case-confirm/selected-case-confirm.component.js +41 -3
- package/esm2015/lib/components/selected-case-list/selected-case-list.component.js +52 -3
- package/esm2015/lib/components/service-message/service-message.component.js +20 -2
- package/esm2015/lib/components/service-messages/service-messages.component.js +65 -7
- package/esm2015/lib/components/share-case/share-case.component.js +87 -6
- package/esm2015/lib/components/share-case-confirm/share-case-confirm.component.js +37 -4
- package/esm2015/lib/components/tab/tab.component.js +26 -2
- package/esm2015/lib/components/tc-confirm/tc-confirm.component.js +17 -2
- package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +8 -2
- package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +8 -2
- package/esm2015/lib/components/terms-and-conditions/terms-and-conditions.component.js +12 -2
- package/esm2015/lib/components/user-details/user-details.component.js +39 -2
- package/esm2015/lib/components/user-list/user-list.component.js +32 -2
- package/esm2015/lib/components/user-select/user-select.component.js +52 -5
- package/esm2015/lib/directives/feature-toggle/feature-toggle.directive.js +56 -3
- package/esm2015/lib/directives/index.js +7 -2
- package/esm2015/lib/directives/let/let.directive.js +39 -1
- package/esm2015/lib/directives/public-api.js +8 -3
- package/esm2015/lib/exui-common-lib.module.js +26 -3
- package/esm2015/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +22 -2
- package/esm2015/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +13 -2
- package/esm2015/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +54 -4
- package/esm2015/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +14 -2
- package/esm2015/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +17 -2
- package/esm2015/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +24 -2
- package/esm2015/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +16 -2
- package/esm2015/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +22 -2
- package/esm2015/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +12 -2
- package/esm2015/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +24 -6
- package/esm2015/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +13 -2
- package/esm2015/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +21 -2
- package/esm2015/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +32 -2
- package/esm2015/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +18 -2
- package/esm2015/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +14 -2
- package/esm2015/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +44 -2
- package/esm2015/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +16 -2
- package/esm2015/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +36 -2
- package/esm2015/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +23 -2
- package/esm2015/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +22 -2
- package/esm2015/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +30 -3
- package/esm2015/lib/gov-ui/components/index.js +7 -2
- package/esm2015/lib/gov-ui/components/public_api.js +7 -22
- package/esm2015/lib/gov-ui/directives/remove-host.directive.js +22 -1
- package/esm2015/lib/gov-ui/gov-ui.service.js +8 -2
- package/esm2015/lib/gov-ui/index.js +7 -2
- package/esm2015/lib/gov-ui/models/banner-data-model.js +16 -2
- package/esm2015/lib/gov-ui/models/checkboxes-model.js +22 -2
- package/esm2015/lib/gov-ui/models/error-messages-model.js +16 -2
- package/esm2015/lib/gov-ui/models/gov-ui-config-model.js +36 -2
- package/esm2015/lib/gov-ui/models/index.js +7 -2
- package/esm2015/lib/gov-ui/models/isession-storage.interface.js +24 -2
- package/esm2015/lib/gov-ui/models/public_api.js +10 -5
- package/esm2015/lib/gov-ui/public_api.js +9 -5
- package/esm2015/lib/gov-ui/util/helpers/html-templates.helper.js +14 -4
- package/esm2015/lib/gov-ui/util/session-storage/session-storage-utils.js +48 -12
- package/esm2015/lib/gov-ui/validators/checkboxes-be-checked.validator.js +24 -5
- package/esm2015/lib/gov-ui/validators/date.validator.js +20 -3
- package/esm2015/lib/gov-ui/validators/index.js +7 -2
- package/esm2015/lib/gov-ui/validators/public_api.js +9 -4
- package/esm2015/lib/gov-ui/validators/radio-group.validator.js +15 -3
- package/esm2015/lib/models/case-share.model.js +26 -2
- package/esm2015/lib/models/contact-details.model.js +31 -7
- package/esm2015/lib/models/due-date.model.js +14 -7
- package/esm2015/lib/models/feature-user.js +16 -1
- package/esm2015/lib/models/filter.model.js +116 -1
- package/esm2015/lib/models/idle-config.model.js +20 -2
- package/esm2015/lib/models/index.js +19 -14
- package/esm2015/lib/models/location.model.js +108 -2
- package/esm2015/lib/models/pagination.model.js +18 -2
- package/esm2015/lib/models/person.model.js +92 -17
- package/esm2015/lib/models/public_api.js +11 -6
- package/esm2015/lib/models/search-options.model.js +22 -2
- package/esm2015/lib/models/tcDocument.model.js +18 -2
- package/esm2015/lib/models/timeout-notification.model.js +18 -2
- package/esm2015/lib/models/user-details.model.js +22 -2
- package/esm2015/lib/models/user.model.js +25 -2
- package/esm2015/lib/services/case-sharing-state/case-sharing-state.service.js +84 -9
- package/esm2015/lib/services/cookie/cookie.service.js +71 -8
- package/esm2015/lib/services/feature-toggle/feature-toggle.guard.js +43 -4
- package/esm2015/lib/services/feature-toggle/feature-toggle.service.js +28 -2
- package/esm2015/lib/services/feature-toggle/launch-darkly.service.js +94 -12
- package/esm2015/lib/services/filter/filter.service.js +56 -2
- package/esm2015/lib/services/find-person/find-person.service.js +123 -15
- package/esm2015/lib/services/google-analytics/google-analytics.service.js +63 -8
- package/esm2015/lib/services/google-tag-manager/google-tag-manager.service.js +64 -10
- package/esm2015/lib/services/index.js +7 -2
- package/esm2015/lib/services/loading/loading.service.js +41 -2
- package/esm2015/lib/services/locations/location.service.js +28 -12
- package/esm2015/lib/services/manage-session/manage-session.services.js +63 -10
- package/esm2015/lib/services/public-api.js +22 -13
- package/esm2015/lib/services/role-guard/role.guard.js +53 -12
- package/esm2015/lib/services/role-guard/role.service.js +21 -2
- package/esm2015/lib/services/session-storage/session-storage.service.js +17 -3
- package/esm2015/lib/services/timeout-notifications/timeout-notifications.service.js +75 -9
- package/esm2015/lib/window.js +10 -1
- package/esm2015/public-api.js +13 -8
- package/esm5/hmcts-rpx-xui-common-lib.js +74 -0
- package/esm5/lib/components/accessibility/accessibility.component.js +22 -0
- package/esm5/lib/components/checkbox-list/checkbox-list.component.js +391 -0
- package/esm5/lib/components/contact-details/contact-details.component.js +29 -0
- package/esm5/lib/components/cookie-banner/cookie-banner.component.js +154 -0
- package/esm5/lib/components/due-date/due-date.component.js +254 -0
- package/esm5/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +45 -0
- package/esm5/lib/components/find-location/find-location.component.js +279 -0
- package/esm5/lib/components/find-person/find-person.component.js +286 -0
- package/esm5/lib/components/generic-filter/generic-filter-utils.js +66 -0
- package/esm5/lib/components/generic-filter/generic-filter.component.js +822 -0
- package/esm5/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +47 -0
- package/esm5/lib/components/index.js +7 -0
- package/esm5/lib/components/invite-user-form/invite-user-form.component.js +54 -0
- package/esm5/lib/components/invite-user-permissions/invite-user-permission.component.js +46 -0
- package/esm5/lib/components/loading-spinner/loading-spinner.component.js +29 -0
- package/esm5/lib/components/pagination/pagination.component.js +58 -0
- package/esm5/lib/components/public_api.js +33 -0
- package/esm5/lib/components/search-judicials/search-judicials.component.js +291 -0
- package/esm5/lib/components/search-location/search-location.component.js +302 -0
- package/esm5/lib/components/search-venue/search-venue.component.js +290 -0
- package/esm5/lib/components/selected-case/selected-case.component.js +430 -0
- package/esm5/lib/components/selected-case-confirm/selected-case-confirm.component.js +84 -0
- package/esm5/lib/components/selected-case-list/selected-case-list.component.js +109 -0
- package/esm5/lib/components/service-message/service-message.component.js +46 -0
- package/esm5/lib/components/service-messages/service-messages.component.js +122 -0
- package/esm5/lib/components/share-case/share-case.component.js +223 -0
- package/esm5/lib/components/share-case-confirm/share-case-confirm.component.js +70 -0
- package/esm5/lib/components/tab/tab.component.js +51 -0
- package/esm5/lib/components/tc-confirm/tc-confirm.component.js +42 -0
- package/esm5/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +22 -0
- package/esm5/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +22 -0
- package/esm5/lib/components/terms-and-conditions/terms-and-conditions.component.js +29 -0
- package/esm5/lib/components/user-details/user-details.component.js +92 -0
- package/esm5/lib/components/user-list/user-list.component.js +76 -0
- package/esm5/lib/components/user-select/user-select.component.js +131 -0
- package/esm5/lib/directives/feature-toggle/feature-toggle.directive.js +104 -0
- package/esm5/lib/directives/index.js +7 -0
- package/esm5/lib/directives/let/let.directive.js +78 -0
- package/esm5/lib/directives/public-api.js +8 -0
- package/esm5/lib/exui-common-lib.module.js +178 -0
- package/esm5/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +56 -0
- package/esm5/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +36 -0
- package/esm5/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +135 -0
- package/esm5/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +37 -0
- package/esm5/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +49 -0
- package/esm5/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +65 -0
- package/esm5/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +40 -0
- package/esm5/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +66 -0
- package/esm5/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +34 -0
- package/esm5/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +67 -0
- package/esm5/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +36 -0
- package/esm5/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +52 -0
- package/esm5/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +77 -0
- package/esm5/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +50 -0
- package/esm5/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +38 -0
- package/esm5/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +108 -0
- package/esm5/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +40 -0
- package/esm5/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +87 -0
- package/esm5/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +51 -0
- package/esm5/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +49 -0
- package/esm5/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +46 -0
- package/esm5/lib/gov-ui/components/index.js +7 -0
- package/esm5/lib/gov-ui/components/public_api.js +7 -0
- package/esm5/lib/gov-ui/directives/remove-host.directive.js +52 -0
- package/esm5/lib/gov-ui/gov-ui.service.js +22 -0
- package/esm5/lib/gov-ui/index.js +7 -0
- package/esm5/lib/gov-ui/models/banner-data-model.js +16 -0
- package/esm5/lib/gov-ui/models/checkboxes-model.js +22 -0
- package/esm5/lib/gov-ui/models/error-messages-model.js +16 -0
- package/esm5/lib/gov-ui/models/gov-ui-config-model.js +36 -0
- package/esm5/lib/gov-ui/models/index.js +7 -0
- package/esm5/lib/gov-ui/models/isession-storage.interface.js +24 -0
- package/esm5/lib/gov-ui/models/public_api.js +13 -0
- package/esm5/lib/gov-ui/public_api.js +12 -0
- package/esm5/lib/gov-ui/util/helpers/html-templates.helper.js +57 -0
- package/esm5/lib/gov-ui/util/session-storage/session-storage-utils.js +58 -0
- package/esm5/lib/gov-ui/validators/checkboxes-be-checked.validator.js +38 -0
- package/esm5/lib/gov-ui/validators/date.validator.js +32 -0
- package/esm5/lib/gov-ui/validators/index.js +7 -0
- package/esm5/lib/gov-ui/validators/public_api.js +12 -0
- package/esm5/lib/gov-ui/validators/radio-group.validator.js +27 -0
- package/esm5/lib/models/case-share.model.js +26 -0
- package/esm5/lib/models/contact-details.model.js +31 -0
- package/esm5/lib/models/due-date.model.js +15 -0
- package/esm5/lib/models/feature-user.js +28 -0
- package/esm5/lib/models/filter.model.js +122 -0
- package/esm5/lib/models/idle-config.model.js +20 -0
- package/esm5/lib/models/index.js +19 -0
- package/esm5/lib/models/location.model.js +108 -0
- package/esm5/lib/models/pagination.model.js +18 -0
- package/esm5/lib/models/person.model.js +92 -0
- package/esm5/lib/models/public_api.js +11 -0
- package/esm5/lib/models/search-options.model.js +22 -0
- package/esm5/lib/models/tcDocument.model.js +18 -0
- package/esm5/lib/models/timeout-notification.model.js +18 -0
- package/esm5/lib/models/user-details.model.js +22 -0
- package/esm5/lib/models/user.model.js +25 -0
- package/esm5/lib/services/case-sharing-state/case-sharing-state.service.js +289 -0
- package/esm5/lib/services/cookie/cookie.service.js +136 -0
- package/esm5/lib/services/feature-toggle/feature-toggle.guard.js +89 -0
- package/esm5/lib/services/feature-toggle/feature-toggle.service.js +90 -0
- package/esm5/lib/services/feature-toggle/launch-darkly.service.js +187 -0
- package/esm5/lib/services/filter/filter.service.js +153 -0
- package/esm5/lib/services/find-person/find-person.service.js +238 -0
- package/esm5/lib/services/google-analytics/google-analytics.service.js +128 -0
- package/esm5/lib/services/google-tag-manager/google-tag-manager.service.js +135 -0
- package/esm5/lib/services/index.js +7 -0
- package/esm5/lib/services/loading/loading.service.js +109 -0
- package/esm5/lib/services/locations/location.service.js +82 -0
- package/esm5/lib/services/manage-session/manage-session.services.js +111 -0
- package/esm5/lib/services/public-api.js +25 -0
- package/esm5/lib/services/role-guard/role.guard.js +81 -0
- package/esm5/lib/services/role-guard/role.service.js +45 -0
- package/esm5/lib/services/session-storage/session-storage.service.js +96 -0
- package/esm5/lib/services/timeout-notifications/timeout-notifications.service.js +190 -0
- package/esm5/lib/window.js +13 -0
- package/esm5/public-api.js +16 -0
- package/fesm2015/hmcts-rpx-xui-common-lib.js +4742 -871
- package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/fesm5/hmcts-rpx-xui-common-lib.js +9247 -0
- package/fesm5/hmcts-rpx-xui-common-lib.js.map +1 -0
- package/hmcts-rpx-xui-common-lib.d.ts +1 -0
- package/hmcts-rpx-xui-common-lib.metadata.json +1 -1
- package/lib/components/checkbox-list/checkbox-list.component.d.ts +5 -6
- package/lib/components/due-date/due-date.component.d.ts +4 -4
- package/lib/components/find-location/find-location.component.d.ts +2 -4
- package/lib/components/generic-filter/generic-filter.component.d.ts +2 -4
- package/lib/components/invite-user-form/invite-user-form.component.d.ts +1 -1
- package/lib/components/public_api.d.ts +0 -5
- package/lib/components/search-judicials/search-judicials.component.d.ts +1 -1
- package/lib/components/search-location/search-location.component.d.ts +2 -4
- package/lib/components/search-venue/search-venue.component.d.ts +1 -1
- package/lib/directives/feature-toggle/feature-toggle.directive.d.ts +1 -1
- package/lib/directives/let/let.directive.d.ts +1 -1
- package/lib/exui-common-lib.module.d.ts +3 -1
- package/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.d.ts +1 -1
- package/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.d.ts +1 -1
- package/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.d.ts +1 -1
- package/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.d.ts +1 -1
- package/lib/gov-ui/components/public_api.d.ts +0 -20
- package/lib/gov-ui/public_api.d.ts +0 -1
- package/lib/services/case-sharing-state/case-sharing-state.service.d.ts +1 -1
- package/lib/services/loading/loading.service.d.ts +2 -2
- package/lib/services/public-api.d.ts +4 -0
- package/lib/services/role-guard/role.service.d.ts +1 -2
- package/lib/window.d.ts +1 -1
- package/package.json +16 -6
|
@@ -25,20 +25,19 @@ export declare class CheckboxListComponent<T> implements OnChanges {
|
|
|
25
25
|
* Note: This array is immutable, which means pushing and popping will
|
|
26
26
|
* have no effect on which checkboxes are selected.
|
|
27
27
|
*/
|
|
28
|
-
|
|
29
|
-
set selection(value: T[]);
|
|
28
|
+
selection: T[];
|
|
30
29
|
private pSelection;
|
|
31
30
|
private pSelectionMade;
|
|
32
31
|
/**
|
|
33
32
|
* Indicates whether or not all of the items are selected.
|
|
34
33
|
*/
|
|
35
|
-
|
|
34
|
+
readonly allSelected: boolean;
|
|
36
35
|
ngOnChanges(): void;
|
|
37
36
|
/**
|
|
38
37
|
* Indicates whether or not there are any options to render.
|
|
39
38
|
*/
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
readonly hasOptions: boolean;
|
|
40
|
+
readonly isFunctional: boolean;
|
|
42
41
|
/**
|
|
43
42
|
* Indicates whether or not an item is part of the current selection.
|
|
44
43
|
* @param item The item in question.
|
|
@@ -63,7 +62,7 @@ export declare class CheckboxListComponent<T> implements OnChanges {
|
|
|
63
62
|
* @param item The item to check in the options.
|
|
64
63
|
*/
|
|
65
64
|
containsItem(items: T[], item: T): boolean;
|
|
66
|
-
private
|
|
65
|
+
private readonly hasPreselection;
|
|
67
66
|
private setupPreselection;
|
|
68
67
|
private getSelection;
|
|
69
68
|
private checkSelection;
|
|
@@ -36,13 +36,13 @@ export declare class DueDateComponent implements OnChanges {
|
|
|
36
36
|
*/
|
|
37
37
|
mediumUrgencyCutoff: number;
|
|
38
38
|
private pBadge;
|
|
39
|
-
|
|
39
|
+
readonly badge: string;
|
|
40
40
|
private pLabel;
|
|
41
|
-
|
|
41
|
+
readonly label: string;
|
|
42
42
|
private pAccessibleLabel;
|
|
43
|
-
|
|
43
|
+
readonly accessibleLabel: string;
|
|
44
44
|
private pDaysDiff;
|
|
45
|
-
|
|
45
|
+
readonly daysDiff: number;
|
|
46
46
|
ngOnChanges(): void;
|
|
47
47
|
private handleInputChanges;
|
|
48
48
|
private getDaysDifference;
|
|
@@ -19,10 +19,8 @@ export declare class FindLocationComponent {
|
|
|
19
19
|
searchLocationComponent: SearchLocationComponent;
|
|
20
20
|
private pServices;
|
|
21
21
|
private pDisabled;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
get services(): string[];
|
|
25
|
-
set services(value: string[]);
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
services: string[];
|
|
26
24
|
addLocation(): void;
|
|
27
25
|
removeLocation(location: LocationByEPIMMSModel): void;
|
|
28
26
|
onInputChanged(term: string): void;
|
|
@@ -11,11 +11,9 @@ export declare class GenericFilterComponent implements OnInit, OnDestroy {
|
|
|
11
11
|
formSub: Subscription;
|
|
12
12
|
constructor(filterService: FilterService, fb: FormBuilder);
|
|
13
13
|
private _config;
|
|
14
|
-
|
|
15
|
-
set config(value: FilterConfig);
|
|
14
|
+
config: FilterConfig;
|
|
16
15
|
private _settings?;
|
|
17
|
-
|
|
18
|
-
set settings(value: FilterSetting);
|
|
16
|
+
settings: FilterSetting;
|
|
19
17
|
private static addFormValidators;
|
|
20
18
|
ngOnInit(): void;
|
|
21
19
|
ngOnDestroy(): void;
|
|
@@ -25,8 +25,3 @@ export * from './cookie-banner/cookie-banner.component';
|
|
|
25
25
|
export * from './find-location/find-location.component';
|
|
26
26
|
export * from './search-location/search-location.component';
|
|
27
27
|
export * from './pagination/pagination.component';
|
|
28
|
-
export * from './search-venue/search-venue.component';
|
|
29
|
-
export * from './search-judicials/search-judicials.component';
|
|
30
|
-
export * from './find-person/find-person.component';
|
|
31
|
-
export * from './user-select/user-select.component';
|
|
32
|
-
export * from './exui-main-wrapper/exui-page-wrapper.component';
|
|
@@ -27,7 +27,7 @@ export declare class SearchJudicialsComponent implements OnInit {
|
|
|
27
27
|
onKeyDown(): void;
|
|
28
28
|
onKeyUp(event: any): void;
|
|
29
29
|
onFocus(): void;
|
|
30
|
-
|
|
30
|
+
readonly displayedJudicialsDuplicationFiltered: JudicialUserModel[];
|
|
31
31
|
filter(term: string): void;
|
|
32
32
|
onSelectionChange(selection?: JudicialUserModel): void;
|
|
33
33
|
search(currentValue: string): void;
|
|
@@ -25,10 +25,8 @@ export declare class SearchLocationComponent implements OnInit {
|
|
|
25
25
|
private pSelectedLocations;
|
|
26
26
|
private pReset;
|
|
27
27
|
constructor(locationService: LocationService, fb: FormBuilder, cd: ChangeDetectorRef);
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
get selectedLocations(): any[];
|
|
31
|
-
set selectedLocations(value: any[]);
|
|
28
|
+
reset: boolean;
|
|
29
|
+
selectedLocations: any[];
|
|
32
30
|
ngOnInit(): void;
|
|
33
31
|
filter(term: string): void;
|
|
34
32
|
onSelectionChange(location: LocationByEPIMMSModel): void;
|
|
@@ -27,7 +27,7 @@ export declare class SearchVenueComponent implements OnInit, AfterContentInit {
|
|
|
27
27
|
onKeyDown(): void;
|
|
28
28
|
onKeyUp(event: any): void;
|
|
29
29
|
onFocus(): void;
|
|
30
|
-
|
|
30
|
+
readonly displayedLocationsDuplicationFiltered: LocationByEPIMMSModel[];
|
|
31
31
|
filter(term: string): void;
|
|
32
32
|
onSelectionChange(selection?: LocationByEPIMMSModel): void;
|
|
33
33
|
search(currentValue: string): void;
|
|
@@ -6,7 +6,7 @@ export declare class FeatureToggleDirective implements OnDestroy {
|
|
|
6
6
|
private readonly templateRef;
|
|
7
7
|
private feature;
|
|
8
8
|
private subscription;
|
|
9
|
-
|
|
9
|
+
xuilibFeatureToggle: string;
|
|
10
10
|
constructor(service: FeatureToggleService, viewContainer: ViewContainerRef, templateRef: TemplateRef<any>);
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
private updateSubscription;
|
|
@@ -27,7 +27,9 @@ import { HmctsPaginationComponent } from './gov-ui/components/hmcts-pagination/h
|
|
|
27
27
|
import { HmctsPrimaryNavigationComponent } from './gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component';
|
|
28
28
|
import { HmctsSubNavigationComponent } from './gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component';
|
|
29
29
|
import { RemoveHostDirective } from './gov-ui/directives/remove-host.directive';
|
|
30
|
-
|
|
30
|
+
import { CaseSharingStateService, CookieService, FilterService, FindAPersonService, GoogleAnalyticsService, GoogleTagManagerService, LaunchDarklyService, LoadingService, LocationService, ManageSessionServices, SessionStorageService, TimeoutNotificationsService } from './services';
|
|
31
|
+
export declare const COMMON_COMPONENTS: (typeof AccessibilityComponent | typeof GenericFilterComponent | typeof SelectedCaseConfirmComponent | typeof SelectedCaseListComponent | typeof SelectedCaseComponent | typeof ServiceMessagesComponent | typeof ShareCaseConfirmComponent | typeof ShareCaseComponent | typeof CookieBannerComponent | typeof SearchLocationComponent | typeof FeatureToggleDirective | typeof LetDirective | typeof FindPersonComponent | typeof SearchJudicialsComponent | typeof SearchVenueComponent)[];
|
|
31
32
|
export declare const GOV_UI_COMPONENTS: (typeof HmctsIdentityBarComponent | typeof HmctsPaginationComponent | typeof HmctsSubNavigationComponent | typeof HmctsPrimaryNavigationComponent | typeof HmctsErrorSummaryComponent | typeof HmctsMainWrapperComponent | typeof HmctsBannerComponent | typeof GovukTableComponent | typeof GovUkFormGroupWrapperComponent | typeof GovUkLabelComponent | typeof GovUkErrorMessageComponent | typeof GovUkCheckboxesComponent | typeof GovUkRadioComponent | typeof RemoveHostDirective)[];
|
|
33
|
+
export declare const COMMON_SERVICES: (typeof FilterService | typeof CaseSharingStateService | typeof CookieService | typeof LocationService | typeof SessionStorageService | typeof FindAPersonService | typeof LaunchDarklyService | typeof GoogleAnalyticsService | typeof GoogleTagManagerService | typeof ManageSessionServices | typeof TimeoutNotificationsService | typeof LoadingService)[];
|
|
32
34
|
export declare class ExuiCommonLibModule {
|
|
33
35
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
export declare class HmctsErrorSummaryComponent implements AfterViewInit, OnChanges {
|
|
3
3
|
private readonly document;
|
|
4
|
-
|
|
4
|
+
errorMessages: any;
|
|
5
5
|
header: string;
|
|
6
6
|
showWarningMessage: boolean;
|
|
7
7
|
messages: object[];
|
|
@@ -1,21 +1 @@
|
|
|
1
1
|
export * from './hmcts-sub-navigation/hmcts-sub-navigation.component';
|
|
2
|
-
export * from './hmcts-primary-navigation/hmcts-primary-navigation.component';
|
|
3
|
-
export * from './hmcts-pagination/hmcts-pagination.component';
|
|
4
|
-
export * from './hmcts-main-wrapper/hmcts-main-wrapper.component';
|
|
5
|
-
export * from './hmcts-identity-bar/hmcts-identity-bar.component';
|
|
6
|
-
export * from './hmcts-error-summary/hmcts-error-summary.component';
|
|
7
|
-
export * from './hmcts-banner/hmcts-banner.component';
|
|
8
|
-
export * from './gov-uk-textarea/gov-uk-textarea.component';
|
|
9
|
-
export * from './gov-uk-table/gov-uk-table.component';
|
|
10
|
-
export * from './gov-uk-select/gov-uk-select.component';
|
|
11
|
-
export * from './gov-uk-radios/gov-uk-radios.component';
|
|
12
|
-
export * from './gov-uk-radio/gov-uk-radio.component';
|
|
13
|
-
export * from './gov-uk-label/gov-uk-label.component';
|
|
14
|
-
export * from './gov-uk-input/gov-uk-input.component';
|
|
15
|
-
export * from './gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component';
|
|
16
|
-
export * from './gov-uk-file-upload/gov-uk-file-upload.component';
|
|
17
|
-
export * from './gov-uk-fieldset/gov-uk-fieldset.component';
|
|
18
|
-
export * from './gov-uk-error-message/gov-uk-error-message.component';
|
|
19
|
-
export * from './gov-uk-date/gov-uk-date.component';
|
|
20
|
-
export * from './gov-uk-checkboxes/gov-uk-checkboxes.component';
|
|
21
|
-
export * from './gov-uk-checkbox/gov-uk-checkbox.component';
|
|
@@ -3,7 +3,7 @@ import { UserDetails } from '../../models/user-details.model';
|
|
|
3
3
|
export declare class CaseSharingStateService {
|
|
4
4
|
private caseState;
|
|
5
5
|
private readonly subject;
|
|
6
|
-
|
|
6
|
+
readonly state: import("rxjs").Observable<SharedCase[]>;
|
|
7
7
|
constructor();
|
|
8
8
|
setCases(cases: SharedCase[]): void;
|
|
9
9
|
getCases(): SharedCase[];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
export declare abstract class HasLoadingState {
|
|
3
|
-
|
|
3
|
+
readonly isLoading: Observable<boolean>;
|
|
4
4
|
}
|
|
5
5
|
export declare class LoadingService implements HasLoadingState {
|
|
6
6
|
private readonly registered;
|
|
7
7
|
private readonly loading;
|
|
8
|
-
|
|
8
|
+
readonly isLoading: Observable<boolean>;
|
|
9
9
|
register(): string;
|
|
10
10
|
unregister(token: string): void;
|
|
11
11
|
private generateToken;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './case-sharing-state/case-sharing-state.service';
|
|
1
2
|
export * from './feature-toggle/feature-toggle.guard';
|
|
2
3
|
export * from './feature-toggle/feature-toggle.service';
|
|
3
4
|
export * from './feature-toggle/launch-darkly.service';
|
|
@@ -9,4 +10,7 @@ export * from './role-guard/role.guard';
|
|
|
9
10
|
export * from './role-guard/role.service';
|
|
10
11
|
export * from './cookie/cookie.service';
|
|
11
12
|
export * from './loading/loading.service';
|
|
13
|
+
export * from './locations/location.service';
|
|
12
14
|
export * from './filter/filter.service';
|
|
15
|
+
export * from './find-person/find-person.service';
|
|
16
|
+
export * from './session-storage/session-storage.service';
|
package/lib/window.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmcts/rpx-xui-common-lib",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1-angular-upgrade-11",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^7.2.0",
|
|
6
|
+
"@angular/core": "^7.2.0",
|
|
7
|
+
"@angular/material": "^7.2.0",
|
|
8
|
+
"@angular/cdk": "^7.2.0",
|
|
5
9
|
"launchdarkly-js-client-sdk": "^2.15.2",
|
|
6
10
|
"ngx-pagination": "^3.2.1"
|
|
7
11
|
},
|
|
@@ -22,15 +26,21 @@
|
|
|
22
26
|
"email": "ronald.mansveld@hmcts.net"
|
|
23
27
|
}
|
|
24
28
|
],
|
|
25
|
-
"
|
|
26
|
-
"
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"ngx-spec": "^2.1.4",
|
|
31
|
+
"node-sass": "^4.0.0"
|
|
27
32
|
},
|
|
28
33
|
"main": "bundles/hmcts-rpx-xui-common-lib.umd.js",
|
|
29
|
-
"module": "
|
|
34
|
+
"module": "fesm5/hmcts-rpx-xui-common-lib.js",
|
|
30
35
|
"es2015": "fesm2015/hmcts-rpx-xui-common-lib.js",
|
|
36
|
+
"esm5": "esm5/hmcts-rpx-xui-common-lib.js",
|
|
31
37
|
"esm2015": "esm2015/hmcts-rpx-xui-common-lib.js",
|
|
38
|
+
"fesm5": "fesm5/hmcts-rpx-xui-common-lib.js",
|
|
32
39
|
"fesm2015": "fesm2015/hmcts-rpx-xui-common-lib.js",
|
|
33
40
|
"typings": "hmcts-rpx-xui-common-lib.d.ts",
|
|
34
41
|
"metadata": "hmcts-rpx-xui-common-lib.metadata.json",
|
|
35
|
-
"sideEffects": false
|
|
36
|
-
|
|
42
|
+
"sideEffects": false,
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"tslib": "^1.9.0"
|
|
45
|
+
}
|
|
46
|
+
}
|