@hmcts/rpx-xui-common-lib 1.7.0 → 1.8.0-angular-upgrade-9
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 +4078 -6583
- 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 +2 -7
- package/esm2015/lib/components/accessibility/accessibility.component.js +13 -17
- package/esm2015/lib/components/checkbox-list/checkbox-list.component.js +45 -127
- package/esm2015/lib/components/contact-details/contact-details.component.js +16 -23
- package/esm2015/lib/components/cookie-banner/cookie-banner.component.js +31 -78
- package/esm2015/lib/components/due-date/due-date.component.js +24 -110
- package/esm2015/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +29 -34
- package/esm2015/lib/components/find-location/find-location.component.js +61 -131
- package/esm2015/lib/components/find-person/find-person.component.js +93 -174
- package/esm2015/lib/components/generic-filter/generic-filter-utils.js +11 -55
- package/esm2015/lib/components/generic-filter/generic-filter.component.js +54 -289
- package/esm2015/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +20 -29
- package/esm2015/lib/components/index.js +2 -7
- package/esm2015/lib/components/invite-user-form/invite-user-form.component.js +23 -33
- package/esm2015/lib/components/invite-user-permissions/invite-user-permission.component.js +34 -35
- package/esm2015/lib/components/loading-spinner/loading-spinner.component.js +16 -22
- package/esm2015/lib/components/pagination/pagination.component.js +28 -38
- package/esm2015/lib/components/public_api.js +33 -33
- package/esm2015/lib/components/search-judicials/search-judicials.component.js +70 -156
- package/esm2015/lib/components/search-location/search-location.component.js +76 -177
- package/esm2015/lib/components/search-venue/search-venue.component.js +62 -154
- package/esm2015/lib/components/selected-case/selected-case.component.js +54 -191
- package/esm2015/lib/components/selected-case-confirm/selected-case-confirm.component.js +22 -53
- package/esm2015/lib/components/selected-case-list/selected-case-list.component.js +38 -68
- package/esm2015/lib/components/service-message/service-message.component.js +23 -32
- package/esm2015/lib/components/service-messages/service-messages.component.js +29 -77
- package/esm2015/lib/components/share-case/share-case.component.js +45 -104
- package/esm2015/lib/components/share-case-confirm/share-case-confirm.component.js +27 -50
- package/esm2015/lib/components/tab/tab.component.js +19 -37
- package/esm2015/lib/components/tc-confirm/tc-confirm.component.js +20 -29
- package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +13 -17
- package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +13 -17
- package/esm2015/lib/components/terms-and-conditions/terms-and-conditions.component.js +16 -23
- package/esm2015/lib/components/user-details/user-details.component.js +47 -57
- package/esm2015/lib/components/user-list/user-list.component.js +19 -28
- package/esm2015/lib/components/user-select/user-select.component.js +23 -64
- package/esm2015/lib/directives/feature-toggle/feature-toggle.directive.js +21 -67
- package/esm2015/lib/directives/index.js +2 -7
- package/esm2015/lib/directives/let/let.directive.js +16 -49
- package/esm2015/lib/directives/public-api.js +3 -8
- package/esm2015/lib/exui-common-lib.module.js +31 -35
- package/esm2015/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +23 -34
- package/esm2015/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +18 -23
- package/esm2015/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +30 -68
- package/esm2015/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +19 -25
- package/esm2015/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +19 -28
- package/esm2015/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +23 -36
- package/esm2015/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +23 -28
- package/esm2015/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +24 -35
- package/esm2015/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +15 -22
- package/esm2015/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +23 -35
- package/esm2015/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +18 -23
- package/esm2015/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +27 -34
- package/esm2015/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +32 -47
- package/esm2015/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +22 -29
- package/esm2015/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +20 -26
- package/esm2015/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +26 -56
- package/esm2015/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +17 -27
- package/esm2015/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +40 -52
- package/esm2015/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +29 -36
- package/esm2015/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +18 -35
- package/esm2015/lib/gov-ui/components/index.js +2 -7
- package/esm2015/lib/gov-ui/components/public_api.js +21 -7
- package/esm2015/lib/gov-ui/directives/index.js +2 -0
- package/esm2015/lib/gov-ui/directives/public_api.js +2 -0
- package/esm2015/lib/gov-ui/directives/remove-host.directive.js +12 -30
- package/esm2015/lib/gov-ui/gov-ui.service.js +12 -16
- package/esm2015/lib/gov-ui/index.js +2 -7
- package/esm2015/lib/gov-ui/models/banner-data-model.js +1 -16
- package/esm2015/lib/gov-ui/models/checkboxes-model.js +1 -22
- package/esm2015/lib/gov-ui/models/error-messages-model.js +1 -16
- package/esm2015/lib/gov-ui/models/gov-ui-config-model.js +1 -36
- package/esm2015/lib/gov-ui/models/index.js +1 -7
- package/esm2015/lib/gov-ui/models/isession-storage.interface.js +1 -24
- package/esm2015/lib/gov-ui/models/public_api.js +1 -10
- package/esm2015/lib/gov-ui/public_api.js +5 -9
- package/esm2015/lib/gov-ui/util/helpers/html-templates.helper.js +4 -14
- package/esm2015/lib/gov-ui/util/session-storage/session-storage-utils.js +12 -48
- package/esm2015/lib/gov-ui/validators/checkboxes-be-checked.validator.js +5 -24
- package/esm2015/lib/gov-ui/validators/date.validator.js +3 -20
- package/esm2015/lib/gov-ui/validators/index.js +2 -7
- package/esm2015/lib/gov-ui/validators/public_api.js +4 -9
- package/esm2015/lib/gov-ui/validators/radio-group.validator.js +3 -15
- package/esm2015/lib/models/case-share.model.js +1 -26
- package/esm2015/lib/models/contact-details.model.js +7 -31
- package/esm2015/lib/models/due-date.model.js +7 -14
- package/esm2015/lib/models/feature-user.js +1 -16
- package/esm2015/lib/models/filter.model.js +1 -112
- package/esm2015/lib/models/idle-config.model.js +1 -20
- package/esm2015/lib/models/index.js +6 -18
- package/esm2015/lib/models/location.model.js +1 -108
- package/esm2015/lib/models/person.model.js +17 -92
- package/esm2015/lib/models/public_api.js +4 -11
- package/esm2015/lib/models/search-options.model.js +1 -22
- package/esm2015/lib/models/tcDocument.model.js +1 -18
- package/esm2015/lib/models/timeout-notification.model.js +1 -18
- package/esm2015/lib/models/user-details.model.js +1 -22
- package/esm2015/lib/models/user.model.js +1 -25
- package/esm2015/lib/services/case-sharing-state/case-sharing-state.service.js +19 -92
- package/esm2015/lib/services/cookie/cookie.service.js +19 -78
- package/esm2015/lib/services/feature-toggle/feature-toggle.guard.js +16 -51
- package/esm2015/lib/services/feature-toggle/feature-toggle.service.js +11 -35
- package/esm2015/lib/services/feature-toggle/launch-darkly.service.js +21 -101
- package/esm2015/lib/services/filter/filter.service.js +11 -63
- package/esm2015/lib/services/find-person/find-person.service.js +25 -130
- package/esm2015/lib/services/google-analytics/google-analytics.service.js +21 -70
- package/esm2015/lib/services/google-tag-manager/google-tag-manager.service.js +23 -71
- package/esm2015/lib/services/index.js +2 -7
- package/esm2015/lib/services/loading/loading.service.js +11 -48
- package/esm2015/lib/services/locations/location.service.js +22 -35
- package/esm2015/lib/services/manage-session/manage-session.services.js +21 -70
- package/esm2015/lib/services/public-api.js +13 -18
- package/esm2015/lib/services/role-guard/role.guard.js +24 -61
- package/esm2015/lib/services/role-guard/role.service.js +11 -28
- package/esm2015/lib/services/session-storage/session-storage.service.js +12 -24
- package/esm2015/lib/services/timeout-notifications/timeout-notifications.service.js +20 -82
- package/esm2015/lib/window.js +1 -10
- package/esm2015/public-api.js +8 -13
- package/esm5/hmcts-rpx-xui-common-lib.js +2 -7
- package/esm5/lib/components/accessibility/accessibility.component.js +10 -15
- package/esm5/lib/components/checkbox-list/checkbox-list.component.js +57 -232
- package/esm5/lib/components/contact-details/contact-details.component.js +14 -22
- package/esm5/lib/components/cookie-banner/cookie-banner.component.js +36 -106
- package/esm5/lib/components/due-date/due-date.component.js +29 -142
- package/esm5/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +27 -33
- package/esm5/lib/components/find-location/find-location.component.js +71 -167
- package/esm5/lib/components/find-person/find-person.component.js +97 -193
- package/esm5/lib/components/generic-filter/generic-filter-utils.js +13 -57
- package/esm5/lib/components/generic-filter/generic-filter.component.js +83 -408
- package/esm5/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +19 -32
- package/esm5/lib/components/index.js +2 -7
- package/esm5/lib/components/invite-user-form/invite-user-form.component.js +23 -37
- package/esm5/lib/components/invite-user-permissions/invite-user-permission.component.js +32 -34
- package/esm5/lib/components/loading-spinner/loading-spinner.component.js +14 -21
- package/esm5/lib/components/pagination/pagination.component.js +28 -45
- package/esm5/lib/components/public_api.js +33 -33
- package/esm5/lib/components/search-judicials/search-judicials.component.js +78 -198
- package/esm5/lib/components/search-location/search-location.component.js +84 -207
- package/esm5/lib/components/search-venue/search-venue.component.js +71 -199
- package/esm5/lib/components/selected-case/selected-case.component.js +72 -279
- package/esm5/lib/components/selected-case-confirm/selected-case-confirm.component.js +22 -61
- package/esm5/lib/components/selected-case-list/selected-case-list.component.js +39 -82
- package/esm5/lib/components/service-message/service-message.component.js +22 -36
- package/esm5/lib/components/service-messages/service-messages.component.js +30 -91
- package/esm5/lib/components/share-case/share-case.component.js +52 -138
- package/esm5/lib/components/share-case-confirm/share-case-confirm.component.js +25 -49
- package/esm5/lib/components/tab/tab.component.js +18 -41
- package/esm5/lib/components/tc-confirm/tc-confirm.component.js +19 -32
- package/esm5/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +10 -15
- package/esm5/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +10 -15
- package/esm5/lib/components/terms-and-conditions/terms-and-conditions.component.js +14 -22
- package/esm5/lib/components/user-details/user-details.component.js +48 -71
- package/esm5/lib/components/user-list/user-list.component.js +18 -32
- package/esm5/lib/components/user-select/user-select.component.js +27 -92
- package/esm5/lib/directives/feature-toggle/feature-toggle.directive.js +21 -70
- package/esm5/lib/directives/index.js +2 -7
- package/esm5/lib/directives/let/let.directive.js +15 -51
- package/esm5/lib/directives/public-api.js +3 -8
- package/esm5/lib/exui-common-lib.module.js +22 -28
- package/esm5/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +22 -37
- package/esm5/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +16 -22
- package/esm5/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +32 -89
- package/esm5/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +17 -24
- package/esm5/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +18 -31
- package/esm5/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +23 -43
- package/esm5/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +21 -27
- package/esm5/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +24 -45
- package/esm5/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +13 -21
- package/esm5/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +18 -44
- package/esm5/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +16 -22
- package/esm5/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +26 -37
- package/esm5/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +31 -51
- package/esm5/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +21 -32
- package/esm5/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +18 -25
- package/esm5/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +28 -71
- package/esm5/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +16 -27
- package/esm5/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +41 -60
- package/esm5/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +28 -36
- package/esm5/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +16 -34
- package/esm5/lib/gov-ui/components/index.js +2 -7
- package/esm5/lib/gov-ui/components/public_api.js +21 -7
- package/esm5/lib/gov-ui/directives/index.js +2 -0
- package/esm5/lib/gov-ui/directives/public_api.js +2 -0
- package/esm5/lib/gov-ui/directives/remove-host.directive.js +10 -29
- package/esm5/lib/gov-ui/gov-ui.service.js +9 -14
- package/esm5/lib/gov-ui/index.js +2 -7
- package/esm5/lib/gov-ui/models/banner-data-model.js +1 -16
- package/esm5/lib/gov-ui/models/checkboxes-model.js +1 -22
- package/esm5/lib/gov-ui/models/error-messages-model.js +1 -16
- package/esm5/lib/gov-ui/models/gov-ui-config-model.js +1 -36
- package/esm5/lib/gov-ui/models/index.js +1 -7
- package/esm5/lib/gov-ui/models/isession-storage.interface.js +1 -24
- package/esm5/lib/gov-ui/models/public_api.js +1 -10
- package/esm5/lib/gov-ui/public_api.js +5 -9
- package/esm5/lib/gov-ui/util/helpers/html-templates.helper.js +3 -34
- package/esm5/lib/gov-ui/util/session-storage/session-storage-utils.js +12 -48
- package/esm5/lib/gov-ui/validators/checkboxes-be-checked.validator.js +5 -24
- package/esm5/lib/gov-ui/validators/date.validator.js +3 -20
- package/esm5/lib/gov-ui/validators/index.js +2 -7
- package/esm5/lib/gov-ui/validators/public_api.js +4 -9
- package/esm5/lib/gov-ui/validators/radio-group.validator.js +3 -15
- package/esm5/lib/models/case-share.model.js +1 -26
- package/esm5/lib/models/contact-details.model.js +7 -31
- package/esm5/lib/models/due-date.model.js +7 -14
- package/esm5/lib/models/feature-user.js +1 -16
- package/esm5/lib/models/filter.model.js +1 -112
- package/esm5/lib/models/idle-config.model.js +1 -20
- package/esm5/lib/models/index.js +6 -18
- package/esm5/lib/models/location.model.js +1 -108
- package/esm5/lib/models/person.model.js +17 -92
- package/esm5/lib/models/public_api.js +4 -11
- package/esm5/lib/models/search-options.model.js +1 -22
- package/esm5/lib/models/tcDocument.model.js +1 -18
- package/esm5/lib/models/timeout-notification.model.js +1 -18
- package/esm5/lib/models/user-details.model.js +1 -22
- package/esm5/lib/models/user.model.js +1 -25
- package/esm5/lib/services/case-sharing-state/case-sharing-state.service.js +27 -132
- package/esm5/lib/services/cookie/cookie.service.js +21 -104
- package/esm5/lib/services/feature-toggle/feature-toggle.guard.js +13 -61
- package/esm5/lib/services/feature-toggle/feature-toggle.service.js +12 -70
- package/esm5/lib/services/feature-toggle/launch-darkly.service.js +21 -142
- package/esm5/lib/services/filter/filter.service.js +15 -101
- package/esm5/lib/services/find-person/find-person.service.js +27 -152
- package/esm5/lib/services/google-analytics/google-analytics.service.js +21 -78
- package/esm5/lib/services/google-tag-manager/google-tag-manager.service.js +23 -79
- package/esm5/lib/services/index.js +2 -7
- package/esm5/lib/services/loading/loading.service.js +14 -69
- package/esm5/lib/services/locations/location.service.js +11 -50
- package/esm5/lib/services/manage-session/manage-session.services.js +20 -73
- package/esm5/lib/services/public-api.js +13 -18
- package/esm5/lib/services/role-guard/role.guard.js +22 -60
- package/esm5/lib/services/role-guard/role.service.js +10 -28
- package/esm5/lib/services/session-storage/session-storage.service.js +12 -61
- package/esm5/lib/services/timeout-notifications/timeout-notifications.service.js +19 -111
- package/esm5/lib/window.js +1 -10
- package/esm5/public-api.js +8 -13
- package/fesm2015/hmcts-rpx-xui-common-lib.js +3152 -4924
- package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/fesm5/hmcts-rpx-xui-common-lib.js +3458 -6178
- package/fesm5/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/hmcts-rpx-xui-common-lib.metadata.json +1 -1
- package/lib/components/checkbox-list/checkbox-list.component.d.ts +6 -5
- package/lib/components/due-date/due-date.component.d.ts +4 -4
- package/lib/components/find-location/find-location.component.d.ts +4 -2
- package/lib/components/generic-filter/generic-filter.component.d.ts +4 -2
- package/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.d.ts +1 -1
- package/lib/components/invite-user-form/invite-user-form.component.d.ts +2 -2
- package/lib/components/public_api.d.ts +9 -4
- package/lib/components/search-judicials/search-judicials.component.d.ts +1 -1
- package/lib/components/search-location/search-location.component.d.ts +4 -2
- 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 +1 -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 +19 -0
- package/lib/gov-ui/directives/index.d.ts +1 -0
- package/lib/gov-ui/directives/public_api.d.ts +1 -0
- package/lib/gov-ui/public_api.d.ts +2 -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/role-guard/role.service.d.ts +2 -1
- package/lib/window.d.ts +2 -2
- package/package.json +2 -6
|
@@ -25,19 +25,20 @@ 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
|
-
selection: T[];
|
|
28
|
+
get selection(): T[];
|
|
29
|
+
set selection(value: T[]);
|
|
29
30
|
private pSelection;
|
|
30
31
|
private pSelectionMade;
|
|
31
32
|
/**
|
|
32
33
|
* Indicates whether or not all of the items are selected.
|
|
33
34
|
*/
|
|
34
|
-
|
|
35
|
+
get allSelected(): boolean;
|
|
35
36
|
ngOnChanges(): void;
|
|
36
37
|
/**
|
|
37
38
|
* Indicates whether or not there are any options to render.
|
|
38
39
|
*/
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
get hasOptions(): boolean;
|
|
41
|
+
get isFunctional(): boolean;
|
|
41
42
|
/**
|
|
42
43
|
* Indicates whether or not an item is part of the current selection.
|
|
43
44
|
* @param item The item in question.
|
|
@@ -62,7 +63,7 @@ export declare class CheckboxListComponent<T> implements OnChanges {
|
|
|
62
63
|
* @param item The item to check in the options.
|
|
63
64
|
*/
|
|
64
65
|
containsItem(items: T[], item: T): boolean;
|
|
65
|
-
private
|
|
66
|
+
private get hasPreselection();
|
|
66
67
|
private setupPreselection;
|
|
67
68
|
private getSelection;
|
|
68
69
|
private checkSelection;
|
|
@@ -36,13 +36,13 @@ export declare class DueDateComponent implements OnChanges {
|
|
|
36
36
|
*/
|
|
37
37
|
mediumUrgencyCutoff: number;
|
|
38
38
|
private pBadge;
|
|
39
|
-
|
|
39
|
+
get badge(): string;
|
|
40
40
|
private pLabel;
|
|
41
|
-
|
|
41
|
+
get label(): string;
|
|
42
42
|
private pAccessibleLabel;
|
|
43
|
-
|
|
43
|
+
get accessibleLabel(): string;
|
|
44
44
|
private pDaysDiff;
|
|
45
|
-
|
|
45
|
+
get daysDiff(): number;
|
|
46
46
|
ngOnChanges(): void;
|
|
47
47
|
private handleInputChanges;
|
|
48
48
|
private getDaysDifference;
|
|
@@ -16,8 +16,10 @@ export declare class FindLocationComponent {
|
|
|
16
16
|
searchLocationComponent: SearchLocationComponent;
|
|
17
17
|
private pServices;
|
|
18
18
|
private pDisabled;
|
|
19
|
-
disabled: boolean;
|
|
20
|
-
|
|
19
|
+
get disabled(): boolean;
|
|
20
|
+
set disabled(value: boolean);
|
|
21
|
+
get services(): string[];
|
|
22
|
+
set services(value: string[]);
|
|
21
23
|
addLocation(): void;
|
|
22
24
|
removeLocation(location: LocationByEPIMMSModel): void;
|
|
23
25
|
onInputChanged(term: string): void;
|
|
@@ -11,9 +11,11 @@ export declare class GenericFilterComponent implements OnInit, OnDestroy {
|
|
|
11
11
|
formSub: Subscription;
|
|
12
12
|
constructor(filterService: FilterService, fb: FormBuilder);
|
|
13
13
|
private _config;
|
|
14
|
-
config: FilterConfig;
|
|
14
|
+
get config(): FilterConfig;
|
|
15
|
+
set config(value: FilterConfig);
|
|
15
16
|
private _settings?;
|
|
16
|
-
settings: FilterSetting;
|
|
17
|
+
get settings(): FilterSetting;
|
|
18
|
+
set settings(value: FilterSetting);
|
|
17
19
|
private static addFormValidators;
|
|
18
20
|
ngOnInit(): void;
|
|
19
21
|
ngOnDestroy(): void;
|
|
@@ -2,8 +2,8 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
export declare class InviteUserFormComponent {
|
|
4
4
|
isInvalid: any;
|
|
5
|
-
submitForm: EventEmitter<
|
|
5
|
+
submitForm: EventEmitter<any>;
|
|
6
6
|
inviteUserForm: FormGroup;
|
|
7
|
-
errorMessages: any;
|
|
7
|
+
set errorMessages(value: any);
|
|
8
8
|
onSubmit(): void;
|
|
9
9
|
}
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
export * from './accessibility/accessibility.component';
|
|
2
2
|
export * from './checkbox-list/checkbox-list.component';
|
|
3
3
|
export * from './contact-details/contact-details.component';
|
|
4
|
+
export * from './cookie-banner/cookie-banner.component';
|
|
4
5
|
export * from './due-date/due-date.component';
|
|
6
|
+
export * from './exui-main-wrapper/exui-page-wrapper.component';
|
|
7
|
+
export * from './find-location/find-location.component';
|
|
8
|
+
export * from './find-person/find-person.component';
|
|
5
9
|
export * from './generic-filter/generic-filter.component';
|
|
6
10
|
export * from './hmcts-session-dialog/hmcts-session-dialog.component';
|
|
7
11
|
export * from './invite-user-form/invite-user-form.component';
|
|
8
12
|
export * from './invite-user-permissions/invite-user-permission.component';
|
|
9
13
|
export * from './loading-spinner/loading-spinner.component';
|
|
14
|
+
export * from './pagination/pagination.component';
|
|
15
|
+
export * from './search-location/search-location.component';
|
|
16
|
+
export * from './search-venue/search-venue.component';
|
|
17
|
+
export * from './search-judicials/search-judicials.component';
|
|
10
18
|
export * from './selected-case-confirm/selected-case-confirm.component';
|
|
11
19
|
export * from './selected-case-list/selected-case-list.component';
|
|
12
20
|
export * from './selected-case/selected-case.component';
|
|
@@ -21,7 +29,4 @@ export * from './terms-and-conditions/tc-display/tc-display-plain/tc-display-pla
|
|
|
21
29
|
export * from './terms-and-conditions/terms-and-conditions.component';
|
|
22
30
|
export * from './user-details/user-details.component';
|
|
23
31
|
export * from './user-list/user-list.component';
|
|
24
|
-
export * from './
|
|
25
|
-
export * from './find-location/find-location.component';
|
|
26
|
-
export * from './search-location/search-location.component';
|
|
27
|
-
export * from './pagination/pagination.component';
|
|
32
|
+
export * from './user-select/user-select.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
|
+
get displayedJudicialsDuplicationFiltered(): JudicialUserModel[];
|
|
31
31
|
filter(term: string): void;
|
|
32
32
|
onSelectionChange(selection?: JudicialUserModel): void;
|
|
33
33
|
search(currentValue: string): void;
|
|
@@ -24,8 +24,10 @@ export declare class SearchLocationComponent implements OnInit {
|
|
|
24
24
|
private pSelectedLocations;
|
|
25
25
|
private pReset;
|
|
26
26
|
constructor(locationService: LocationService, fb: FormBuilder, cd: ChangeDetectorRef);
|
|
27
|
-
reset: boolean;
|
|
28
|
-
|
|
27
|
+
get reset(): boolean;
|
|
28
|
+
set reset(value: boolean);
|
|
29
|
+
get selectedLocations(): any[];
|
|
30
|
+
set selectedLocations(value: any[]);
|
|
29
31
|
ngOnInit(): void;
|
|
30
32
|
filter(term: string): void;
|
|
31
33
|
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
|
+
get 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
|
-
xuilibFeatureToggle: string;
|
|
9
|
+
set xuilibFeatureToggle(feature: string);
|
|
10
10
|
constructor(service: FeatureToggleService, viewContainer: ViewContainerRef, templateRef: TemplateRef<any>);
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
private updateSubscription;
|
|
@@ -25,7 +25,7 @@ import { HmctsIdentityBarComponent } from './gov-ui/components/hmcts-identity-ba
|
|
|
25
25
|
import { HmctsMainWrapperComponent } from './gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component';
|
|
26
26
|
import { HmctsSubNavigationComponent } from './gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component';
|
|
27
27
|
import { RemoveHostDirective } from './gov-ui/directives/remove-host.directive';
|
|
28
|
-
export declare const COMMON_COMPONENTS: (typeof AccessibilityComponent | typeof
|
|
28
|
+
export declare const COMMON_COMPONENTS: (typeof AccessibilityComponent | typeof CookieBannerComponent | typeof SearchLocationComponent | typeof FindPersonComponent | typeof GenericFilterComponent | typeof SearchVenueComponent | typeof SearchJudicialsComponent | typeof SelectedCaseConfirmComponent | typeof SelectedCaseListComponent | typeof SelectedCaseComponent | typeof ServiceMessagesComponent | typeof ShareCaseConfirmComponent | typeof ShareCaseComponent | typeof FeatureToggleDirective | typeof LetDirective)[];
|
|
29
29
|
export declare const GOV_UI_COMPONENTS: (typeof HmctsIdentityBarComponent | typeof HmctsSubNavigationComponent | typeof HmctsErrorSummaryComponent | typeof HmctsMainWrapperComponent | typeof HmctsBannerComponent | typeof GovukTableComponent | typeof GovUkFormGroupWrapperComponent | typeof GovUkLabelComponent | typeof GovUkErrorMessageComponent | typeof GovUkCheckboxesComponent | typeof GovUkRadioComponent | typeof RemoveHostDirective)[];
|
|
30
30
|
export declare class ExuiCommonLibModule {
|
|
31
31
|
}
|
|
@@ -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
|
-
errorMessages: any;
|
|
4
|
+
set errorMessages(value: any);
|
|
5
5
|
header: string;
|
|
6
6
|
showWarningMessage: boolean;
|
|
7
7
|
messages: object[];
|
|
@@ -1 +1,20 @@
|
|
|
1
|
+
export * from './gov-uk-checkbox/gov-uk-checkbox.component';
|
|
2
|
+
export * from './gov-uk-checkboxes/gov-uk-checkboxes.component';
|
|
3
|
+
export * from './gov-uk-date/gov-uk-date.component';
|
|
4
|
+
export * from './gov-uk-error-message/gov-uk-error-message.component';
|
|
5
|
+
export * from './gov-uk-fieldset/gov-uk-fieldset.component';
|
|
6
|
+
export * from './gov-uk-file-upload/gov-uk-file-upload.component';
|
|
7
|
+
export * from './gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component';
|
|
8
|
+
export * from './gov-uk-input/gov-uk-input.component';
|
|
9
|
+
export * from './gov-uk-label/gov-uk-label.component';
|
|
10
|
+
export * from './gov-uk-radio/gov-uk-radio.component';
|
|
11
|
+
export * from './gov-uk-radios/gov-uk-radios.component';
|
|
12
|
+
export * from './gov-uk-select/gov-uk-select.component';
|
|
13
|
+
export * from './gov-uk-table/gov-uk-table.component';
|
|
14
|
+
export * from './gov-uk-textarea/gov-uk-textarea.component';
|
|
15
|
+
export * from './hmcts-banner/hmcts-banner.component';
|
|
16
|
+
export * from './hmcts-error-summary/hmcts-error-summary.component';
|
|
17
|
+
export * from './hmcts-identity-bar/hmcts-identity-bar.component';
|
|
18
|
+
export * from './hmcts-main-wrapper/hmcts-main-wrapper.component';
|
|
19
|
+
export * from './hmcts-primary-navigation/hmcts-primary-navigation.component';
|
|
1
20
|
export * from './hmcts-sub-navigation/hmcts-sub-navigation.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './remove-host.directive';
|
|
@@ -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
|
+
get 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
|
+
get 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
|
+
get isLoading(): Observable<boolean>;
|
|
9
9
|
register(): string;
|
|
10
10
|
unregister(token: string): void;
|
|
11
11
|
private generateToken;
|
package/lib/window.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export declare const windowToken: InjectionToken<
|
|
3
|
-
export declare function windowProvider(): Window;
|
|
2
|
+
export declare const windowToken: InjectionToken<unknown>;
|
|
3
|
+
export declare function windowProvider(): Window & typeof globalThis;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmcts/rpx-xui-common-lib",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0-angular-upgrade-9",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^7.2.0",
|
|
6
6
|
"@angular/core": "^7.2.0",
|
|
@@ -25,10 +25,6 @@
|
|
|
25
25
|
"email": "ronald.mansveld@hmcts.net"
|
|
26
26
|
}
|
|
27
27
|
],
|
|
28
|
-
"devDependencies": {
|
|
29
|
-
"ngx-spec": "^2.1.4",
|
|
30
|
-
"node-sass": "^4.0.0"
|
|
31
|
-
},
|
|
32
28
|
"main": "bundles/hmcts-rpx-xui-common-lib.umd.js",
|
|
33
29
|
"module": "fesm5/hmcts-rpx-xui-common-lib.js",
|
|
34
30
|
"es2015": "fesm2015/hmcts-rpx-xui-common-lib.js",
|
|
@@ -40,6 +36,6 @@
|
|
|
40
36
|
"metadata": "hmcts-rpx-xui-common-lib.metadata.json",
|
|
41
37
|
"sideEffects": false,
|
|
42
38
|
"dependencies": {
|
|
43
|
-
"tslib": "^1.
|
|
39
|
+
"tslib": "^1.10.0"
|
|
44
40
|
}
|
|
45
41
|
}
|