@odx/angular 12.26.1 → 13.0.1
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/CHANGELOG.md +83 -0
- package/animations/README.md +2 -0
- package/animations/index.d.ts +261 -5
- package/breakpoints/index.d.ts +216 -7
- package/cdk/a11y/index.d.ts +116 -2
- package/cdk/active-indicator/index.d.ts +104 -2
- package/cdk/autocomplete-control/index.d.ts +189 -3
- package/cdk/checkbox-control/index.d.ts +40 -1
- package/cdk/connected-overlay/index.d.ts +165 -3
- package/cdk/custom-form-control/index.d.ts +243 -3
- package/cdk/date-input/index.d.ts +86 -5
- package/cdk/dynamic-view/index.d.ts +335 -7
- package/cdk/event-plugins/index.d.ts +187 -3
- package/cdk/expandable/index.d.ts +169 -4
- package/cdk/option-control/index.d.ts +70 -1
- package/cdk/radio-group-control/index.d.ts +74 -3
- package/cdk/scrollable/index.d.ts +57 -1
- package/components/accordion/index.d.ts +91 -4
- package/components/action-group/index.d.ts +20 -1
- package/components/anchor-navigation/index.d.ts +104 -4
- package/components/area-header/index.d.ts +54 -4
- package/components/autocomplete/index.d.ts +109 -6
- package/components/avatar/index.d.ts +36 -2
- package/components/badge/index.d.ts +95 -3
- package/components/bar/index.d.ts +56 -5
- package/components/breadcrumbs/index.d.ts +12 -1
- package/components/button/index.d.ts +55 -3
- package/components/button-group/index.d.ts +44 -1
- package/components/calendar/index.d.ts +746 -9
- package/components/card/index.d.ts +118 -5
- package/components/checkbox/index.d.ts +93 -3
- package/components/chip/index.d.ts +78 -2
- package/components/circular-progress/index.d.ts +71 -2
- package/components/content-box/index.d.ts +33 -3
- package/components/data-table/index.d.ts +84 -4
- package/components/datepicker/index.d.ts +216 -6
- package/components/daterangepicker/index.d.ts +257 -6
- package/components/dropdown/index.d.ts +202 -5
- package/components/error-page/index.d.ts +56 -2
- package/components/footer/index.d.ts +80 -3
- package/components/form-field/index.d.ts +398 -7
- package/components/header/index.d.ts +44 -3
- package/components/header-navigation/index.d.ts +41 -3
- package/components/icon/index.d.ts +154 -4
- package/components/inline-message/index.d.ts +36 -2
- package/components/link/index.d.ts +13 -1
- package/components/list/index.d.ts +86 -4
- package/components/loading-spinner/index.d.ts +89 -3
- package/components/logo/index.d.ts +39 -2
- package/components/main-menu/index.d.ts +217 -4
- package/components/mainfilter-group/index.d.ts +13 -1
- package/components/menu/index.d.ts +94 -4
- package/components/modal/index.d.ts +549 -9
- package/components/navigation-back/index.d.ts +12 -1
- package/components/notification/index.d.ts +630 -7
- package/components/notification/testing/index.d.ts +9 -1
- package/components/paginator/index.d.ts +264 -5
- package/components/progress/index.d.ts +36 -1
- package/components/radio-group/index.d.ts +70 -3
- package/components/rail-navigation/index.d.ts +97 -4
- package/components/rich-list/index.d.ts +92 -3
- package/components/search-bar/index.d.ts +26 -3
- package/components/select/index.d.ts +263 -6
- package/components/slider/index.d.ts +37 -1
- package/components/spinbox/index.d.ts +54 -1
- package/components/switch/index.d.ts +44 -3
- package/components/tab-bar/index.d.ts +141 -4
- package/components/table/index.d.ts +239 -5
- package/components/timepicker/index.d.ts +324 -7
- package/components/toast/index.d.ts +267 -5
- package/components/toggle-button-group/index.d.ts +61 -3
- package/components/tooltip/index.d.ts +204 -7
- package/components/wizard/index.d.ts +159 -3
- package/fesm2022/odx-angular-animations.mjs +51 -0
- package/fesm2022/odx-angular-animations.mjs.map +1 -1
- package/fesm2022/odx-angular-breakpoints.mjs +10 -10
- package/fesm2022/odx-angular-breakpoints.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-a11y.mjs +13 -13
- package/fesm2022/odx-angular-cdk-a11y.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-active-indicator.mjs +6 -8
- package/fesm2022/odx-angular-cdk-active-indicator.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-autocomplete-control.mjs +12 -15
- package/fesm2022/odx-angular-cdk-autocomplete-control.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-checkbox-control.mjs +3 -3
- package/fesm2022/odx-angular-cdk-checkbox-control.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-connected-overlay.mjs +6 -6
- package/fesm2022/odx-angular-cdk-connected-overlay.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-custom-form-control.mjs +12 -14
- package/fesm2022/odx-angular-cdk-custom-form-control.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-dynamic-view.mjs +10 -11
- package/fesm2022/odx-angular-cdk-dynamic-view.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-event-plugins.mjs +6 -6
- package/fesm2022/odx-angular-cdk-expandable.mjs +10 -10
- package/fesm2022/odx-angular-cdk-expandable.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-option-control.mjs +3 -3
- package/fesm2022/odx-angular-cdk-option-control.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-radio-group-control.mjs +10 -10
- package/fesm2022/odx-angular-cdk-radio-group-control.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-scrollable.mjs +6 -6
- package/fesm2022/odx-angular-cdk-scrollable.mjs.map +1 -1
- package/fesm2022/odx-angular-components-accordion.mjs +17 -17
- package/fesm2022/odx-angular-components-accordion.mjs.map +1 -1
- package/fesm2022/odx-angular-components-action-group.mjs +5 -6
- package/fesm2022/odx-angular-components-action-group.mjs.map +1 -1
- package/fesm2022/odx-angular-components-anchor-navigation.mjs +33 -34
- package/fesm2022/odx-angular-components-anchor-navigation.mjs.map +1 -1
- package/fesm2022/odx-angular-components-area-header.mjs +16 -19
- package/fesm2022/odx-angular-components-area-header.mjs.map +1 -1
- package/fesm2022/odx-angular-components-autocomplete.mjs +19 -22
- package/fesm2022/odx-angular-components-autocomplete.mjs.map +1 -1
- package/fesm2022/odx-angular-components-avatar.mjs +6 -8
- package/fesm2022/odx-angular-components-avatar.mjs.map +1 -1
- package/fesm2022/odx-angular-components-badge.mjs +9 -11
- package/fesm2022/odx-angular-components-badge.mjs.map +1 -1
- package/fesm2022/odx-angular-components-bar.mjs +15 -16
- package/fesm2022/odx-angular-components-bar.mjs.map +1 -1
- package/fesm2022/odx-angular-components-breadcrumbs.mjs +3 -3
- package/fesm2022/odx-angular-components-button-group.mjs +8 -12
- package/fesm2022/odx-angular-components-button-group.mjs.map +1 -1
- package/fesm2022/odx-angular-components-button.mjs +9 -11
- package/fesm2022/odx-angular-components-button.mjs.map +1 -1
- package/fesm2022/odx-angular-components-calendar.mjs +53 -63
- package/fesm2022/odx-angular-components-calendar.mjs.map +1 -1
- package/fesm2022/odx-angular-components-card.mjs +33 -36
- package/fesm2022/odx-angular-components-card.mjs.map +1 -1
- package/fesm2022/odx-angular-components-checkbox.mjs +14 -16
- package/fesm2022/odx-angular-components-checkbox.mjs.map +1 -1
- package/fesm2022/odx-angular-components-chip.mjs +13 -15
- package/fesm2022/odx-angular-components-chip.mjs.map +1 -1
- package/fesm2022/odx-angular-components-circular-progress.mjs +6 -8
- package/fesm2022/odx-angular-components-circular-progress.mjs.map +1 -1
- package/fesm2022/odx-angular-components-content-box.mjs +13 -13
- package/fesm2022/odx-angular-components-data-table.mjs +33 -47
- package/fesm2022/odx-angular-components-data-table.mjs.map +1 -1
- package/fesm2022/odx-angular-components-datepicker.mjs +26 -28
- package/fesm2022/odx-angular-components-datepicker.mjs.map +1 -1
- package/fesm2022/odx-angular-components-daterangepicker.mjs +22 -24
- package/fesm2022/odx-angular-components-daterangepicker.mjs.map +1 -1
- package/fesm2022/odx-angular-components-dropdown.mjs +10 -10
- package/fesm2022/odx-angular-components-dropdown.mjs.map +1 -1
- package/fesm2022/odx-angular-components-error-page.mjs +3 -3
- package/fesm2022/odx-angular-components-error-page.mjs.map +1 -1
- package/fesm2022/odx-angular-components-footer.mjs +5 -6
- package/fesm2022/odx-angular-components-footer.mjs.map +1 -1
- package/fesm2022/odx-angular-components-form-field.mjs +44 -44
- package/fesm2022/odx-angular-components-form-field.mjs.map +1 -1
- package/fesm2022/odx-angular-components-header-navigation.mjs +15 -16
- package/fesm2022/odx-angular-components-header-navigation.mjs.map +1 -1
- package/fesm2022/odx-angular-components-header.mjs +13 -13
- package/fesm2022/odx-angular-components-icon.mjs +98 -86
- package/fesm2022/odx-angular-components-icon.mjs.map +1 -1
- package/fesm2022/odx-angular-components-inline-message.mjs +10 -11
- package/fesm2022/odx-angular-components-inline-message.mjs.map +1 -1
- package/fesm2022/odx-angular-components-link.mjs +3 -3
- package/fesm2022/odx-angular-components-list.mjs +19 -35
- package/fesm2022/odx-angular-components-list.mjs.map +1 -1
- package/fesm2022/odx-angular-components-loading-spinner.mjs +12 -17
- package/fesm2022/odx-angular-components-loading-spinner.mjs.map +1 -1
- package/fesm2022/odx-angular-components-logo.mjs +6 -8
- package/fesm2022/odx-angular-components-logo.mjs.map +1 -1
- package/fesm2022/odx-angular-components-main-menu.mjs +20 -20
- package/fesm2022/odx-angular-components-main-menu.mjs.map +1 -1
- package/fesm2022/odx-angular-components-mainfilter-group.mjs +3 -3
- package/fesm2022/odx-angular-components-menu.mjs +16 -18
- package/fesm2022/odx-angular-components-menu.mjs.map +1 -1
- package/fesm2022/odx-angular-components-modal.mjs +70 -80
- package/fesm2022/odx-angular-components-modal.mjs.map +1 -1
- package/fesm2022/odx-angular-components-navigation-back.mjs +4 -4
- package/fesm2022/odx-angular-components-navigation-back.mjs.map +1 -1
- package/fesm2022/odx-angular-components-notification-testing.mjs +3 -2
- package/fesm2022/odx-angular-components-notification-testing.mjs.map +1 -1
- package/fesm2022/odx-angular-components-notification.mjs +24 -24
- package/fesm2022/odx-angular-components-notification.mjs.map +1 -1
- package/fesm2022/odx-angular-components-paginator.mjs +8 -8
- package/fesm2022/odx-angular-components-paginator.mjs.map +1 -1
- package/fesm2022/odx-angular-components-progress.mjs +5 -6
- package/fesm2022/odx-angular-components-progress.mjs.map +1 -1
- package/fesm2022/odx-angular-components-radio-group.mjs +13 -15
- package/fesm2022/odx-angular-components-radio-group.mjs.map +1 -1
- package/fesm2022/odx-angular-components-rail-navigation.mjs +16 -26
- package/fesm2022/odx-angular-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/odx-angular-components-rich-list.mjs +20 -21
- package/fesm2022/odx-angular-components-rich-list.mjs.map +1 -1
- package/fesm2022/odx-angular-components-search-bar.mjs +11 -11
- package/fesm2022/odx-angular-components-search-bar.mjs.map +1 -1
- package/fesm2022/odx-angular-components-select.mjs +44 -49
- package/fesm2022/odx-angular-components-select.mjs.map +1 -1
- package/fesm2022/odx-angular-components-slider.mjs +3 -3
- package/fesm2022/odx-angular-components-slider.mjs.map +1 -1
- package/fesm2022/odx-angular-components-spinbox.mjs +6 -7
- package/fesm2022/odx-angular-components-spinbox.mjs.map +1 -1
- package/fesm2022/odx-angular-components-switch.mjs +11 -11
- package/fesm2022/odx-angular-components-switch.mjs.map +1 -1
- package/fesm2022/odx-angular-components-tab-bar.mjs +24 -26
- package/fesm2022/odx-angular-components-tab-bar.mjs.map +1 -1
- package/fesm2022/odx-angular-components-table.mjs +31 -48
- package/fesm2022/odx-angular-components-table.mjs.map +1 -1
- package/fesm2022/odx-angular-components-timepicker.mjs +24 -33
- package/fesm2022/odx-angular-components-timepicker.mjs.map +1 -1
- package/fesm2022/odx-angular-components-toast.mjs +21 -52
- package/fesm2022/odx-angular-components-toast.mjs.map +1 -1
- package/fesm2022/odx-angular-components-toggle-button-group.mjs +11 -11
- package/fesm2022/odx-angular-components-toggle-button-group.mjs.map +1 -1
- package/fesm2022/odx-angular-components-tooltip.mjs +13 -16
- package/fesm2022/odx-angular-components-tooltip.mjs.map +1 -1
- package/fesm2022/odx-angular-components-wizard.mjs +20 -27
- package/fesm2022/odx-angular-components-wizard.mjs.map +1 -1
- package/fesm2022/odx-angular-internal-translate.mjs +3 -3
- package/fesm2022/odx-angular-localization.mjs +3 -3
- package/fesm2022/odx-angular-theming.mjs +4 -5
- package/fesm2022/odx-angular-theming.mjs.map +1 -1
- package/fesm2022/odx-angular-utils.mjs +4 -26
- package/fesm2022/odx-angular-utils.mjs.map +1 -1
- package/fesm2022/odx-angular.mjs +36 -35
- package/fesm2022/odx-angular.mjs.map +1 -1
- package/index.d.ts +546 -6
- package/internal/index.d.ts +79 -3
- package/internal/translate/index.d.ts +88 -4
- package/localization/index.d.ts +343 -5
- package/package.json +40 -198
- package/rxjs/index.d.ts +125 -5
- package/sdk/index.d.ts +74 -1
- package/theming/index.d.ts +213 -4
- package/utils/index.d.ts +1020 -3
- package/animations/lib/config.d.ts +0 -7
- package/animations/lib/expand.d.ts +0 -46
- package/animations/lib/fade.d.ts +0 -76
- package/animations/lib/slide.d.ts +0 -34
- package/animations/lib/wait-for-child-animations.d.ts +0 -39
- package/breakpoints/lib/breakpoints.config.d.ts +0 -59
- package/breakpoints/lib/breakpoints.module.d.ts +0 -7
- package/breakpoints/lib/breakpoints.service.d.ts +0 -56
- package/breakpoints/lib/breakpoints.typings.d.ts +0 -8
- package/breakpoints/lib/directives/index.d.ts +0 -1
- package/breakpoints/lib/directives/match-breakpoints.directive.d.ts +0 -52
- package/breakpoints/lib/helpers/configure-breakpoint.d.ts +0 -23
- package/breakpoints/lib/helpers/index.d.ts +0 -1
- package/breakpoints/lib/models/breakpoint.d.ts +0 -5
- package/breakpoints/lib/models/index.d.ts +0 -1
- package/cdk/a11y/lib/a11y.module.d.ts +0 -11
- package/cdk/a11y/lib/directives/index.d.ts +0 -3
- package/cdk/a11y/lib/directives/interactive.directive.d.ts +0 -43
- package/cdk/a11y/lib/directives/list-focus-manager-option.directive.d.ts +0 -34
- package/cdk/a11y/lib/directives/list-focus-manager.directive.d.ts +0 -31
- package/cdk/active-indicator/lib/active-indicator.directive.d.ts +0 -90
- package/cdk/active-indicator/lib/models/active-indicator-direction.d.ts +0 -5
- package/cdk/active-indicator/lib/models/active-indicator-position.d.ts +0 -6
- package/cdk/active-indicator/lib/models/index.d.ts +0 -2
- package/cdk/autocomplete-control/lib/autocomplete-control.d.ts +0 -144
- package/cdk/autocomplete-control/lib/directives/highlight-search-result.directive.d.ts +0 -19
- package/cdk/autocomplete-control/lib/directives/index.d.ts +0 -1
- package/cdk/autocomplete-control/lib/pipes/base-search-filter-pipe.d.ts +0 -24
- package/cdk/autocomplete-control/lib/pipes/index.d.ts +0 -1
- package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +0 -37
- package/cdk/connected-overlay/lib/connected-overlay.component.d.ts +0 -26
- package/cdk/connected-overlay/lib/connected-overlay.service.d.ts +0 -54
- package/cdk/connected-overlay/lib/helpers/compute-overlay-position.d.ts +0 -13
- package/cdk/connected-overlay/lib/helpers/index.d.ts +0 -1
- package/cdk/connected-overlay/lib/models/connected-overlay-options.d.ts +0 -27
- package/cdk/connected-overlay/lib/models/connected-overlay-ref.d.ts +0 -62
- package/cdk/connected-overlay/lib/models/index.d.ts +0 -2
- package/cdk/custom-form-control/lib/control.directive.d.ts +0 -6
- package/cdk/custom-form-control/lib/custom-form-control.d.ts +0 -146
- package/cdk/custom-form-control/lib/input-control.directive.d.ts +0 -88
- package/cdk/date-input/lib/date.config.d.ts +0 -48
- package/cdk/date-input/lib/models/input-date-order.d.ts +0 -17
- package/cdk/date-input/lib/utils/get-date-input-pattern.d.ts +0 -5
- package/cdk/date-input/lib/utils/get-input-value-as-date.d.ts +0 -3
- package/cdk/date-input/lib/utils/ngx-mask-init.d.ts +0 -3
- package/cdk/dynamic-view/lib/dynamic-view.component.d.ts +0 -12
- package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +0 -55
- package/cdk/dynamic-view/lib/dynamic-view.service.d.ts +0 -40
- package/cdk/dynamic-view/lib/facade/dynamic-content.d.ts +0 -8
- package/cdk/dynamic-view/lib/facade/dynamic-view-ref.d.ts +0 -10
- package/cdk/dynamic-view/lib/facade/index.d.ts +0 -2
- package/cdk/dynamic-view/lib/helpers/create-projectable-nodes.d.ts +0 -24
- package/cdk/dynamic-view/lib/helpers/index.d.ts +0 -3
- package/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.d.ts +0 -24
- package/cdk/dynamic-view/lib/helpers/is-dynamic-view.d.ts +0 -24
- package/cdk/dynamic-view/lib/models/dynamic-component-ref.d.ts +0 -59
- package/cdk/dynamic-view/lib/models/dynamic-template-ref.d.ts +0 -55
- package/cdk/dynamic-view/lib/models/dynamic-view-options.d.ts +0 -11
- package/cdk/dynamic-view/lib/models/index.d.ts +0 -3
- package/cdk/dynamic-view/lib/tokens/dynamic-view-context.d.ts +0 -9
- package/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.d.ts +0 -13
- package/cdk/dynamic-view/lib/tokens/index.d.ts +0 -2
- package/cdk/event-plugins/lib/event-plugins.config.d.ts +0 -38
- package/cdk/event-plugins/lib/models/event-plugin.d.ts +0 -73
- package/cdk/event-plugins/lib/models/index.d.ts +0 -1
- package/cdk/event-plugins/lib/plugins/debounce-event-plugin.d.ts +0 -42
- package/cdk/event-plugins/lib/plugins/defer-event-plugin.d.ts +0 -33
- package/cdk/event-plugins/lib/plugins/index.d.ts +0 -2
- package/cdk/expandable/lib/directives/expandable-container.directive.d.ts +0 -65
- package/cdk/expandable/lib/directives/expandable-item.directive.d.ts +0 -73
- package/cdk/expandable/lib/directives/index.d.ts +0 -2
- package/cdk/expandable/lib/expandable.module.d.ts +0 -8
- package/cdk/expandable/lib/expandable.tokens.d.ts +0 -4
- package/cdk/expandable/lib/facade/expandable-container.d.ts +0 -10
- package/cdk/expandable/lib/facade/expandable-item.d.ts +0 -10
- package/cdk/expandable/lib/facade/index.d.ts +0 -2
- package/cdk/option-control/lib/option-control.d.ts +0 -66
- package/cdk/radio-group-control/lib/radio-control.directive.d.ts +0 -39
- package/cdk/radio-group-control/lib/radio-group-control.directive.d.ts +0 -24
- package/cdk/radio-group-control/lib/radio-group-control.module.d.ts +0 -9
- package/cdk/scrollable/lib/scrollable.service.d.ts +0 -53
- package/components/accordion/lib/accordion.component.d.ts +0 -15
- package/components/accordion/lib/accordion.module.d.ts +0 -10
- package/components/accordion/lib/components/accordion-item/accordion-item.component.d.ts +0 -59
- package/components/accordion/lib/components/index.d.ts +0 -1
- package/components/accordion/lib/directives/accordion-item-title.d.ts +0 -8
- package/components/accordion/lib/directives/index.d.ts +0 -1
- package/components/action-group/action-group.component.d.ts +0 -17
- package/components/anchor-navigation/anchor-navigation.component.d.ts +0 -37
- package/components/anchor-navigation/anchor-navigation.module.d.ts +0 -8
- package/components/anchor-navigation/anchor-navigation.service.d.ts +0 -50
- package/components/anchor-navigation/components/anchor-navigation-item.component.d.ts +0 -10
- package/components/anchor-navigation/components/index.d.ts +0 -1
- package/components/area-header/area-header.component.d.ts +0 -17
- package/components/area-header/area-header.module.d.ts +0 -14
- package/components/area-header/directives/area-header-content.directive.d.ts +0 -8
- package/components/area-header/directives/area-header-subtitle.directive.d.ts +0 -8
- package/components/area-header/directives/index.d.ts +0 -2
- package/components/area-header/models/area-header-size.d.ts +0 -7
- package/components/area-header/models/index.d.ts +0 -1
- package/components/autocomplete/lib/autocomplete.component.d.ts +0 -66
- package/components/autocomplete/lib/autocomplete.module.d.ts +0 -11
- package/components/autocomplete/lib/autocomplete.tokens.d.ts +0 -3
- package/components/autocomplete/lib/components/index.d.ts +0 -1
- package/components/autocomplete/lib/components/option/autocomplete-option.component.d.ts +0 -17
- package/components/autocomplete/lib/directives/autocomplete-input-control.directive.d.ts +0 -13
- package/components/autocomplete/lib/directives/index.d.ts +0 -1
- package/components/autocomplete/lib/pipes/autocomplete-search-filter.pipe.d.ts +0 -7
- package/components/autocomplete/lib/pipes/index.d.ts +0 -1
- package/components/avatar/lib/avatar.component.d.ts +0 -21
- package/components/avatar/lib/models/avatar-size.d.ts +0 -6
- package/components/avatar/lib/models/avatar-variant.d.ts +0 -5
- package/components/avatar/lib/models/index.d.ts +0 -2
- package/components/badge/lib/badge.component.d.ts +0 -33
- package/components/badge/lib/badge.directive.d.ts +0 -56
- package/components/badge/lib/models/badge-variant.d.ts +0 -6
- package/components/badge/lib/models/index.d.ts +0 -1
- package/components/bar/lib/bar.component.d.ts +0 -13
- package/components/bar/lib/bar.module.d.ts +0 -10
- package/components/bar/lib/directives/bar-button.directive.d.ts +0 -20
- package/components/bar/lib/directives/bar-label.directive.d.ts +0 -9
- package/components/bar/lib/models/bar-button-variant.d.ts +0 -5
- package/components/breadcrumbs/lib/breadcrumbs.component.d.ts +0 -9
- package/components/button/lib/button.component.d.ts +0 -29
- package/components/button/lib/directives/index.d.ts +0 -1
- package/components/button/lib/directives/responsive-button.directive.d.ts +0 -6
- package/components/button/lib/models/button-size.d.ts +0 -6
- package/components/button/lib/models/button-variant.d.ts +0 -10
- package/components/button/lib/models/index.d.ts +0 -2
- package/components/button-group/lib/button-group.component.d.ts +0 -41
- package/components/calendar/lib/calendar.component.d.ts +0 -90
- package/components/calendar/lib/calendar.config.d.ts +0 -117
- package/components/calendar/lib/calendar.service.d.ts +0 -81
- package/components/calendar/lib/components/calendar-header/calendar-header.component.d.ts +0 -61
- package/components/calendar/lib/components/calendar-header/index.d.ts +0 -1
- package/components/calendar/lib/components/calendar-month/calendar-month.component.d.ts +0 -24
- package/components/calendar/lib/components/calendar-month/index.d.ts +0 -1
- package/components/calendar/lib/components/calendar-year/calendar-year.component.d.ts +0 -24
- package/components/calendar/lib/components/calendar-year/index.d.ts +0 -1
- package/components/calendar/lib/components/calendar-years/calendar-years.component.d.ts +0 -26
- package/components/calendar/lib/components/calendar-years/index.d.ts +0 -1
- package/components/calendar/lib/components/index.d.ts +0 -4
- package/components/calendar/lib/daterange.service.d.ts +0 -33
- package/components/calendar/lib/directives/calendar-cell.directive.d.ts +0 -90
- package/components/calendar/lib/directives/calendar-view.directive.d.ts +0 -92
- package/components/calendar/lib/directives/index.d.ts +0 -2
- package/components/calendar/lib/models/calendar-view.d.ts +0 -5
- package/components/calendar/lib/models/date-filter.d.ts +0 -1
- package/components/calendar/lib/models/date-range.d.ts +0 -18
- package/components/calendar/lib/models/date-type.d.ts +0 -1
- package/components/calendar/lib/models/date-validator.d.ts +0 -1
- package/components/calendar/lib/models/index.d.ts +0 -7
- package/components/calendar/lib/models/selected-date.d.ts +0 -9
- package/components/calendar/lib/models/selection-mode.d.ts +0 -4
- package/components/calendar/lib/pipes/date-label.pipe.d.ts +0 -22
- package/components/calendar/lib/pipes/index.d.ts +0 -1
- package/components/calendar/lib/services/calendar-month.service.d.ts +0 -13
- package/components/calendar/lib/services/calendar-year.service.d.ts +0 -10
- package/components/calendar/lib/services/calendar-years.service.d.ts +0 -9
- package/components/calendar/lib/services/index.d.ts +0 -3
- package/components/calendar/lib/utils/check-cell-in-range.d.ts +0 -8
- package/components/calendar/lib/utils/check-identical-date.d.ts +0 -3
- package/components/calendar/lib/utils/get-A11y-label.d.ts +0 -3
- package/components/calendar/lib/utils/index.d.ts +0 -9
- package/components/calendar/lib/utils/is-date-disabled.d.ts +0 -3
- package/components/calendar/lib/utils/parse-date.d.ts +0 -3
- package/components/calendar/lib/utils/validate-daterange.d.ts +0 -2
- package/components/calendar/lib/utils/validate-max-date.d.ts +0 -3
- package/components/calendar/lib/utils/validate-min-date.d.ts +0 -3
- package/components/calendar/lib/utils/validate-next-date-set.d.ts +0 -3
- package/components/calendar/lib/utils/validate-previous-date-set.d.ts +0 -3
- package/components/card/lib/card.component.d.ts +0 -54
- package/components/card/lib/card.config.d.ts +0 -49
- package/components/card/lib/card.module.d.ts +0 -12
- package/components/card/lib/components/card-footer/card-footer.component.d.ts +0 -8
- package/components/card/lib/components/card-image/card-image.component.d.ts +0 -25
- package/components/card/lib/components/index.d.ts +0 -3
- package/components/card/lib/components/launch-card-subtitle/launch-card-subtitle.component.d.ts +0 -8
- package/components/card/lib/directives/card-content.directive.d.ts +0 -8
- package/components/card/lib/directives/index.d.ts +0 -1
- package/components/card/lib/models/card-variant.d.ts +0 -7
- package/components/card/lib/models/index.d.ts +0 -1
- package/components/checkbox/lib/checkbox.component.d.ts +0 -55
- package/components/checkbox/lib/checkbox.module.d.ts +0 -9
- package/components/checkbox/lib/checkbox.validator.d.ts +0 -29
- package/components/chip/lib/components/chip/chip.component.d.ts +0 -42
- package/components/chip/lib/components/chip-list/chip-list.component.d.ts +0 -9
- package/components/chip/lib/components/chip-list-row/chip-list-row.component.d.ts +0 -9
- package/components/chip/lib/components/index.d.ts +0 -3
- package/components/chip/lib/models/chip-size.d.ts +0 -5
- package/components/chip/lib/models/chip-variant.d.ts +0 -9
- package/components/chip/lib/models/index.d.ts +0 -2
- package/components/circular-progress/lib/circular-progress.component.d.ts +0 -61
- package/components/circular-progress/lib/models/circular-progress-size.d.ts +0 -7
- package/components/circular-progress/lib/models/index.d.ts +0 -1
- package/components/content-box/lib/content-box.component.d.ts +0 -8
- package/components/content-box/lib/content-box.module.d.ts +0 -9
- package/components/content-box/lib/directives/content-box-footer.directive.d.ts +0 -8
- package/components/content-box/lib/directives/content-box-header.directive.d.ts +0 -8
- package/components/content-box/lib/directives/index.d.ts +0 -2
- package/components/data-table/lib/data-table.component.d.ts +0 -32
- package/components/data-table/lib/data-table.module.d.ts +0 -14
- package/components/data-table/lib/directives/cell-def.directive.d.ts +0 -7
- package/components/data-table/lib/directives/cell.directive.d.ts +0 -5
- package/components/data-table/lib/directives/column-def.directive.d.ts +0 -11
- package/components/data-table/lib/directives/header-cell-def.directive.d.ts +0 -7
- package/components/data-table/lib/directives/header-cell.directive.d.ts +0 -5
- package/components/data-table/lib/directives/index.d.ts +0 -6
- package/components/data-table/lib/directives/table-empty.directive.d.ts +0 -5
- package/components/data-table/lib/models/index.d.ts +0 -15
- package/components/data-table/lib/models/table-variant.d.ts +0 -5
- package/components/datepicker/lib/datepicker.component.d.ts +0 -132
- package/components/datepicker/lib/datepicker.config.d.ts +0 -1
- package/components/datepicker/lib/datepicker.module.d.ts +0 -11
- package/components/datepicker/lib/directives/datepicker-input-control.directive.d.ts +0 -49
- package/components/datepicker/lib/directives/index.d.ts +0 -1
- package/components/datepicker/lib/validators/filter.validator.d.ts +0 -15
- package/components/datepicker/lib/validators/minmax.validator.d.ts +0 -15
- package/components/daterangepicker/lib/daterangepicker.component.d.ts +0 -159
- package/components/daterangepicker/lib/daterangepicker.config.d.ts +0 -1
- package/components/daterangepicker/lib/daterangepicker.module.d.ts +0 -11
- package/components/daterangepicker/lib/directives/daterangepicker-input-control.directive.d.ts +0 -45
- package/components/daterangepicker/lib/directives/index.d.ts +0 -1
- package/components/daterangepicker/lib/range.validator.d.ts +0 -25
- package/components/daterangepicker/lib/required.validator.d.ts +0 -24
- package/components/dropdown/lib/dropdown.component.d.ts +0 -33
- package/components/dropdown/lib/dropdown.directive.d.ts +0 -145
- package/components/dropdown/lib/dropdown.module.d.ts +0 -8
- package/components/dropdown/lib/helpers/close-current-dropdown.d.ts +0 -7
- package/components/dropdown/lib/helpers/index.d.ts +0 -1
- package/components/dropdown/lib/models/close-dropdown-event.d.ts +0 -4
- package/components/dropdown/lib/models/dropdown-options.d.ts +0 -3
- package/components/dropdown/lib/models/index.d.ts +0 -2
- package/components/error-page/lib/error-page.component.d.ts +0 -16
- package/components/error-page/lib/error-page.config.d.ts +0 -34
- package/components/footer/lib/footer.component.d.ts +0 -28
- package/components/footer/lib/footer.config.d.ts +0 -32
- package/components/footer/lib/footer.i18n.d.ts +0 -3
- package/components/footer/lib/helpers/create-footer-links.d.ts +0 -11
- package/components/footer/lib/helpers/index.d.ts +0 -1
- package/components/footer/lib/models/footer-link.d.ts +0 -4
- package/components/footer/lib/models/footer-variant.d.ts +0 -5
- package/components/footer/lib/models/index.d.ts +0 -2
- package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +0 -23
- package/components/form-field/lib/components/form-group/form-group.component.d.ts +0 -34
- package/components/form-field/lib/components/index.d.ts +0 -2
- package/components/form-field/lib/directives/form-field-control.directive.d.ts +0 -25
- package/components/form-field/lib/directives/form-field-error.directive.d.ts +0 -18
- package/components/form-field/lib/directives/form-field-hint.directive.d.ts +0 -11
- package/components/form-field/lib/directives/form-field-label.directive.d.ts +0 -9
- package/components/form-field/lib/directives/form.directive.d.ts +0 -25
- package/components/form-field/lib/directives/index.d.ts +0 -5
- package/components/form-field/lib/form-field.component.d.ts +0 -61
- package/components/form-field/lib/form-field.config.d.ts +0 -16
- package/components/form-field/lib/form-field.module.d.ts +0 -14
- package/components/form-field/lib/form-field.service.d.ts +0 -92
- package/components/form-field/lib/models/form-field-error-resolver.d.ts +0 -27
- package/components/form-field/lib/models/form-field-error.d.ts +0 -8
- package/components/form-field/lib/models/form-field-variant.d.ts +0 -6
- package/components/form-field/lib/models/index.d.ts +0 -3
- package/components/form-field/lib/services/form-field-error.service.d.ts +0 -51
- package/components/form-field/lib/services/index.d.ts +0 -1
- package/components/header/lib/directives/header-avatar.directive.d.ts +0 -12
- package/components/header/lib/directives/header-title.directive.d.ts +0 -8
- package/components/header/lib/directives/index.d.ts +0 -2
- package/components/header/lib/header.component.d.ts +0 -9
- package/components/header/lib/header.module.d.ts +0 -15
- package/components/header-navigation/lib/directives/header-navigation-link.directive.d.ts +0 -14
- package/components/header-navigation/lib/directives/index.d.ts +0 -1
- package/components/header-navigation/lib/header-navigation.component.d.ts +0 -17
- package/components/header-navigation/lib/header-navigation.module.d.ts +0 -9
- package/components/icon/lib/helpers/index.d.ts +0 -1
- package/components/icon/lib/helpers/unpack-icon-identifier.d.ts +0 -29
- package/components/icon/lib/icon.component.d.ts +0 -50
- package/components/icon/lib/icon.config.d.ts +0 -31
- package/components/icon/lib/models/icon-set.d.ts +0 -7
- package/components/icon/lib/models/icon-size.d.ts +0 -8
- package/components/icon/lib/models/index.d.ts +0 -2
- package/components/inline-message/lib/inline-message.component.d.ts +0 -26
- package/components/inline-message/lib/models/index.d.ts +0 -1
- package/components/inline-message/lib/models/inline-message-variant.d.ts +0 -7
- package/components/link/link.directive.d.ts +0 -10
- package/components/list/lib/components/expandable-list-item/expandable-list-item.component.d.ts +0 -18
- package/components/list/lib/components/index.d.ts +0 -2
- package/components/list/lib/components/list-item/list-item.component.d.ts +0 -47
- package/components/list/lib/list.component.d.ts +0 -13
- package/components/list/lib/list.module.d.ts +0 -10
- package/components/list/lib/models/index.d.ts +0 -1
- package/components/list/lib/models/list-item-variant.d.ts +0 -6
- package/components/loading-spinner/lib/loading-spinner.component.d.ts +0 -26
- package/components/loading-spinner/lib/loading-spinner.directive.d.ts +0 -53
- package/components/loading-spinner/lib/loading-spinner.module.d.ts +0 -9
- package/components/logo/logo.directive.d.ts +0 -24
- package/components/logo/models/index.d.ts +0 -2
- package/components/logo/models/logo-size.d.ts +0 -6
- package/components/logo/models/logo-variant.d.ts +0 -5
- package/components/main-menu/lib/directives/index.d.ts +0 -3
- package/components/main-menu/lib/directives/main-menu-button.directive.d.ts +0 -12
- package/components/main-menu/lib/directives/main-menu-close.directive.d.ts +0 -10
- package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +0 -28
- package/components/main-menu/lib/helpers/create-main-menu-links.d.ts +0 -4
- package/components/main-menu/lib/helpers/index.d.ts +0 -1
- package/components/main-menu/lib/main-menu.component.d.ts +0 -67
- package/components/main-menu/lib/main-menu.config.d.ts +0 -43
- package/components/main-menu/lib/main-menu.i18n.d.ts +0 -3
- package/components/main-menu/lib/main-menu.module.d.ts +0 -12
- package/components/main-menu/lib/main-menu.service.d.ts +0 -39
- package/components/main-menu/lib/models/index.d.ts +0 -1
- package/components/main-menu/lib/models/main-menu-link.d.ts +0 -4
- package/components/mainfilter-group/lib/mainfilter-group.component.d.ts +0 -10
- package/components/menu/lib/directives/index.d.ts +0 -1
- package/components/menu/lib/directives/menu-item.directive.d.ts +0 -14
- package/components/menu/lib/menu.component.d.ts +0 -22
- package/components/menu/lib/menu.directive.d.ts +0 -48
- package/components/menu/lib/menu.module.d.ts +0 -11
- package/components/modal/lib/components/basic-modal/basic-modal.component.d.ts +0 -24
- package/components/modal/lib/components/index.d.ts +0 -4
- package/components/modal/lib/components/modal-footer/modal-footer.component.d.ts +0 -9
- package/components/modal/lib/components/modal-header/modal-header.component.d.ts +0 -20
- package/components/modal/lib/components/modal-hero/modal-hero.component.d.ts +0 -37
- package/components/modal/lib/directives/index.d.ts +0 -5
- package/components/modal/lib/directives/modal-close.directive.d.ts +0 -32
- package/components/modal/lib/directives/modal-content.directive.d.ts +0 -9
- package/components/modal/lib/directives/modal-dismiss.directive.d.ts +0 -24
- package/components/modal/lib/directives/prevent-form-method-dialog.directive.d.ts +0 -9
- package/components/modal/lib/directives/prevent-method-dialog.directive.d.ts +0 -9
- package/components/modal/lib/helpers/index.d.ts +0 -2
- package/components/modal/lib/helpers/inject-modal-ref.d.ts +0 -23
- package/components/modal/lib/helpers/provide-modal-ref.d.ts +0 -12
- package/components/modal/lib/modal.component.d.ts +0 -48
- package/components/modal/lib/modal.config.d.ts +0 -36
- package/components/modal/lib/modal.directive.d.ts +0 -47
- package/components/modal/lib/modal.module.d.ts +0 -20
- package/components/modal/lib/modal.service.d.ts +0 -79
- package/components/modal/lib/models/basic-modal-options.d.ts +0 -17
- package/components/modal/lib/models/index.d.ts +0 -7
- package/components/modal/lib/models/modal-hero-variant.d.ts +0 -7
- package/components/modal/lib/models/modal-options.d.ts +0 -18
- package/components/modal/lib/models/modal-ref.d.ts +0 -68
- package/components/modal/lib/models/modal-size.d.ts +0 -7
- package/components/modal/lib/models/modal-type.d.ts +0 -8
- package/components/modal/lib/models/modal-variant.d.ts +0 -5
- package/components/navigation-back/lib/navigation-back.component.d.ts +0 -9
- package/components/notification/lib/components/index.d.ts +0 -2
- package/components/notification/lib/components/notification-center/notification-center.component.d.ts +0 -15
- package/components/notification/lib/components/notification-item/notification-item.component.d.ts +0 -37
- package/components/notification/lib/directives/index.d.ts +0 -1
- package/components/notification/lib/directives/notification-center.directive.d.ts +0 -86
- package/components/notification/lib/features/index.d.ts +0 -5
- package/components/notification/lib/features/with-browser-notifications.d.ts +0 -17
- package/components/notification/lib/features/with-load-notifications.d.ts +0 -19
- package/components/notification/lib/features/with-notification-transformer.d.ts +0 -26
- package/components/notification/lib/features/with-peristent-notifications.d.ts +0 -61
- package/components/notification/lib/features/with-save-notifications.d.ts +0 -11
- package/components/notification/lib/helpers/get-notifications-by-tag.d.ts +0 -3
- package/components/notification/lib/helpers/index.d.ts +0 -3
- package/components/notification/lib/helpers/sort-notifications.d.ts +0 -4
- package/components/notification/lib/helpers/to-notification-collection.d.ts +0 -4
- package/components/notification/lib/models/index.d.ts +0 -8
- package/components/notification/lib/models/notification-action.d.ts +0 -2
- package/components/notification/lib/models/notification-collection.d.ts +0 -6
- package/components/notification/lib/models/notification-feature.d.ts +0 -20
- package/components/notification/lib/models/notification-options.d.ts +0 -7
- package/components/notification/lib/models/notification-query.d.ts +0 -2
- package/components/notification/lib/models/notification-sort-fn.d.ts +0 -2
- package/components/notification/lib/models/notification.d.ts +0 -6
- package/components/notification/lib/models/notification.ref.d.ts +0 -9
- package/components/notification/lib/notification.config.d.ts +0 -65
- package/components/notification/lib/notification.i18n.d.ts +0 -3
- package/components/notification/lib/notification.logger.d.ts +0 -4
- package/components/notification/lib/notification.service.d.ts +0 -165
- package/components/notification/lib/notification.tokens.d.ts +0 -7
- package/components/notification/lib/services/index.d.ts +0 -1
- package/components/notification/lib/services/notification-center.service.d.ts +0 -78
- package/components/notification/testing/lib/test-helpers.d.ts +0 -5
- package/components/paginator/lib/interfaces/index.d.ts +0 -1
- package/components/paginator/lib/interfaces/page-change.interface.d.ts +0 -5
- package/components/paginator/lib/models/get-range-content.model.d.ts +0 -2
- package/components/paginator/lib/models/get-summary-content.model.d.ts +0 -2
- package/components/paginator/lib/models/index.d.ts +0 -2
- package/components/paginator/lib/paginator.component.d.ts +0 -183
- package/components/paginator/lib/paginator.config.d.ts +0 -59
- package/components/paginator/lib/paginator.module.d.ts +0 -7
- package/components/progress/lib/progress.component.d.ts +0 -33
- package/components/radio-group/lib/components/index.d.ts +0 -1
- package/components/radio-group/lib/components/radio-button/radio-button.component.d.ts +0 -36
- package/components/radio-group/lib/radio-group.component.d.ts +0 -25
- package/components/radio-group/lib/radio-group.module.d.ts +0 -9
- package/components/rail-navigation/lib/components/index.d.ts +0 -1
- package/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.d.ts +0 -41
- package/components/rail-navigation/lib/models/index.d.ts +0 -1
- package/components/rail-navigation/lib/models/rail-navigation-variant.d.ts +0 -5
- package/components/rail-navigation/lib/rail-navigation.component.d.ts +0 -49
- package/components/rail-navigation/lib/rail-navigation.module.d.ts +0 -9
- package/components/rich-list/lib/components/index.d.ts +0 -3
- package/components/rich-list/lib/components/rich-list-content/rich-list-content.component.d.ts +0 -10
- package/components/rich-list/lib/components/rich-list-item/rich-list-item.component.d.ts +0 -40
- package/components/rich-list/lib/components/rich-list-item-header/rich-list-item-header.component.d.ts +0 -10
- package/components/rich-list/lib/rich-list.component.d.ts +0 -23
- package/components/rich-list/lib/rich-list.module.d.ts +0 -11
- package/components/search-bar/lib/search-bar-control.directive.d.ts +0 -8
- package/components/search-bar/lib/search-bar.component.d.ts +0 -8
- package/components/search-bar/lib/search-bar.module.d.ts +0 -9
- package/components/select/lib/components/index.d.ts +0 -1
- package/components/select/lib/components/select-option/select-option.component.d.ts +0 -56
- package/components/select/lib/directives/index.d.ts +0 -2
- package/components/select/lib/directives/select-all.directive.d.ts +0 -13
- package/components/select/lib/directives/select-input-control.directive.d.ts +0 -31
- package/components/select/lib/pipes/index.d.ts +0 -1
- package/components/select/lib/pipes/select-search-filter.pipe.d.ts +0 -17
- package/components/select/lib/select.component.d.ts +0 -140
- package/components/select/lib/select.module.d.ts +0 -11
- package/components/select/lib/select.tokens.d.ts +0 -3
- package/components/slider/lib/slider.directive.d.ts +0 -34
- package/components/spinbox/lib/spinbox.component.d.ts +0 -51
- package/components/switch/lib/switch.component.d.ts +0 -17
- package/components/switch/lib/switch.module.d.ts +0 -9
- package/components/switch/lib/switch.validator.d.ts +0 -18
- package/components/tab-bar/lib/components/index.d.ts +0 -1
- package/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.d.ts +0 -52
- package/components/tab-bar/lib/models/index.d.ts +0 -1
- package/components/tab-bar/lib/models/tab-change-event.d.ts +0 -5
- package/components/tab-bar/lib/tab-bar.component.d.ts +0 -77
- package/components/tab-bar/lib/tab-bar.config.d.ts +0 -3
- package/components/tab-bar/lib/tab-bar.module.d.ts +0 -9
- package/components/table/lib/components/check-cell/check-cell.component.d.ts +0 -33
- package/components/table/lib/components/header-title/header-title.component.d.ts +0 -71
- package/components/table/lib/components/index.d.ts +0 -2
- package/components/table/lib/directives/index.d.ts +0 -2
- package/components/table/lib/directives/table-cell.directive.d.ts +0 -10
- package/components/table/lib/directives/table-row.directive.d.ts +0 -10
- package/components/table/lib/models/header-cell.d.ts +0 -8
- package/components/table/lib/models/index.d.ts +0 -5
- package/components/table/lib/models/sort-status.d.ts +0 -5
- package/components/table/lib/models/sort-variant.d.ts +0 -21
- package/components/table/lib/models/table-body-cell.d.ts +0 -3
- package/components/table/lib/models/table-variant.d.ts +0 -5
- package/components/table/lib/table.component.d.ts +0 -85
- package/components/table/lib/table.config.d.ts +0 -4
- package/components/table/lib/table.module.d.ts +0 -11
- package/components/timepicker/lib/components/timepicker-option.component.d.ts +0 -52
- package/components/timepicker/lib/directives/timepicker-input-control.directive.d.ts +0 -43
- package/components/timepicker/lib/timepicker.component.d.ts +0 -120
- package/components/timepicker/lib/timepicker.module.d.ts +0 -10
- package/components/timepicker/lib/timepicker.service.d.ts +0 -59
- package/components/timepicker/lib/timepicker.token.d.ts +0 -9
- package/components/timepicker/lib/utils/generate-time-stamps.d.ts +0 -19
- package/components/timepicker/lib/utils/index.d.ts +0 -2
- package/components/timepicker/lib/utils/ngx-mask-helper.d.ts +0 -22
- package/components/toast/lib/components/index.d.ts +0 -2
- package/components/toast/lib/components/toast-container/toast-container.component.d.ts +0 -42
- package/components/toast/lib/components/toast-item/toast-item.component.d.ts +0 -77
- package/components/toast/lib/models/index.d.ts +0 -5
- package/components/toast/lib/models/toast-action.d.ts +0 -7
- package/components/toast/lib/models/toast-ref.d.ts +0 -7
- package/components/toast/lib/models/toast-variant.d.ts +0 -9
- package/components/toast/lib/models/toast.d.ts +0 -12
- package/components/toast/lib/models/toast.options.d.ts +0 -4
- package/components/toast/lib/toast.config.d.ts +0 -29
- package/components/toast/lib/toast.module.d.ts +0 -9
- package/components/toast/lib/toast.service.d.ts +0 -91
- package/components/toggle-button-group/lib/components/index.d.ts +0 -1
- package/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.d.ts +0 -24
- package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +0 -30
- package/components/toggle-button-group/lib/toggle-button-group.module.d.ts +0 -9
- package/components/tooltip/lib/directives/index.d.ts +0 -2
- package/components/tooltip/lib/directives/tooltip-disabled-focusable.directive.d.ts +0 -20
- package/components/tooltip/lib/helpers/index.d.ts +0 -1
- package/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.d.ts +0 -9
- package/components/tooltip/lib/models/index.d.ts +0 -3
- package/components/tooltip/lib/models/tooltip-options.d.ts +0 -10
- package/components/tooltip/lib/models/tooltip-size.d.ts +0 -7
- package/components/tooltip/lib/models/tooltip-trigger.d.ts +0 -1
- package/components/tooltip/lib/tooltip.component.d.ts +0 -40
- package/components/tooltip/lib/tooltip.config.d.ts +0 -29
- package/components/tooltip/lib/tooltip.directive.d.ts +0 -84
- package/components/wizard/lib/components/index.d.ts +0 -1
- package/components/wizard/lib/components/wizard-step/wizard-step.component.d.ts +0 -68
- package/components/wizard/lib/wizard.component.d.ts +0 -83
- package/components/wizard/lib/wizard.module.d.ts +0 -9
- package/esm2022/animations/index.mjs +0 -6
- package/esm2022/animations/lib/config.mjs +0 -8
- package/esm2022/animations/lib/expand.mjs +0 -58
- package/esm2022/animations/lib/fade.mjs +0 -83
- package/esm2022/animations/lib/slide.mjs +0 -55
- package/esm2022/animations/lib/wait-for-child-animations.mjs +0 -41
- package/esm2022/animations/odx-angular-animations.mjs +0 -5
- package/esm2022/breakpoints/index.mjs +0 -8
- package/esm2022/breakpoints/lib/breakpoints.config.mjs +0 -51
- package/esm2022/breakpoints/lib/breakpoints.module.mjs +0 -17
- package/esm2022/breakpoints/lib/breakpoints.service.mjs +0 -77
- package/esm2022/breakpoints/lib/breakpoints.typings.mjs +0 -2
- package/esm2022/breakpoints/lib/directives/index.mjs +0 -2
- package/esm2022/breakpoints/lib/directives/match-breakpoints.directive.mjs +0 -84
- package/esm2022/breakpoints/lib/helpers/configure-breakpoint.mjs +0 -27
- package/esm2022/breakpoints/lib/helpers/index.mjs +0 -2
- package/esm2022/breakpoints/lib/models/breakpoint.mjs +0 -2
- package/esm2022/breakpoints/lib/models/index.mjs +0 -2
- package/esm2022/breakpoints/odx-angular-breakpoints.mjs +0 -5
- package/esm2022/cdk/a11y/index.mjs +0 -3
- package/esm2022/cdk/a11y/lib/a11y.module.mjs +0 -19
- package/esm2022/cdk/a11y/lib/directives/index.mjs +0 -4
- package/esm2022/cdk/a11y/lib/directives/interactive.directive.mjs +0 -81
- package/esm2022/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +0 -50
- package/esm2022/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +0 -59
- package/esm2022/cdk/a11y/odx-angular-cdk-a11y.mjs +0 -5
- package/esm2022/cdk/active-indicator/index.mjs +0 -3
- package/esm2022/cdk/active-indicator/lib/active-indicator.directive.mjs +0 -193
- package/esm2022/cdk/active-indicator/lib/models/active-indicator-direction.mjs +0 -5
- package/esm2022/cdk/active-indicator/lib/models/active-indicator-position.mjs +0 -6
- package/esm2022/cdk/active-indicator/lib/models/index.mjs +0 -3
- package/esm2022/cdk/active-indicator/odx-angular-cdk-active-indicator.mjs +0 -5
- package/esm2022/cdk/autocomplete-control/index.mjs +0 -4
- package/esm2022/cdk/autocomplete-control/lib/autocomplete-control.mjs +0 -198
- package/esm2022/cdk/autocomplete-control/lib/directives/highlight-search-result.directive.mjs +0 -43
- package/esm2022/cdk/autocomplete-control/lib/directives/index.mjs +0 -2
- package/esm2022/cdk/autocomplete-control/lib/pipes/base-search-filter-pipe.mjs +0 -47
- package/esm2022/cdk/autocomplete-control/lib/pipes/index.mjs +0 -2
- package/esm2022/cdk/autocomplete-control/odx-angular-cdk-autocomplete-control.mjs +0 -5
- package/esm2022/cdk/checkbox-control/index.mjs +0 -2
- package/esm2022/cdk/checkbox-control/lib/checkbox-control.directive.mjs +0 -67
- package/esm2022/cdk/checkbox-control/odx-angular-cdk-checkbox-control.mjs +0 -5
- package/esm2022/cdk/connected-overlay/index.mjs +0 -4
- package/esm2022/cdk/connected-overlay/lib/connected-overlay.component.mjs +0 -83
- package/esm2022/cdk/connected-overlay/lib/connected-overlay.service.mjs +0 -69
- package/esm2022/cdk/connected-overlay/lib/helpers/compute-overlay-position.mjs +0 -59
- package/esm2022/cdk/connected-overlay/lib/helpers/index.mjs +0 -2
- package/esm2022/cdk/connected-overlay/lib/models/connected-overlay-options.mjs +0 -12
- package/esm2022/cdk/connected-overlay/lib/models/connected-overlay-ref.mjs +0 -69
- package/esm2022/cdk/connected-overlay/lib/models/index.mjs +0 -3
- package/esm2022/cdk/connected-overlay/odx-angular-cdk-connected-overlay.mjs +0 -5
- package/esm2022/cdk/custom-form-control/index.mjs +0 -4
- package/esm2022/cdk/custom-form-control/lib/control.directive.mjs +0 -19
- package/esm2022/cdk/custom-form-control/lib/custom-form-control.mjs +0 -224
- package/esm2022/cdk/custom-form-control/lib/input-control.directive.mjs +0 -110
- package/esm2022/cdk/custom-form-control/odx-angular-cdk-custom-form-control.mjs +0 -5
- package/esm2022/cdk/date-input/index.mjs +0 -6
- package/esm2022/cdk/date-input/lib/date.config.mjs +0 -26
- package/esm2022/cdk/date-input/lib/models/input-date-order.mjs +0 -16
- package/esm2022/cdk/date-input/lib/utils/get-date-input-pattern.mjs +0 -18
- package/esm2022/cdk/date-input/lib/utils/get-input-value-as-date.mjs +0 -38
- package/esm2022/cdk/date-input/lib/utils/ngx-mask-init.mjs +0 -22
- package/esm2022/cdk/date-input/odx-angular-cdk-date-input.mjs +0 -5
- package/esm2022/cdk/dynamic-view/index.mjs +0 -8
- package/esm2022/cdk/dynamic-view/lib/dynamic-view.component.mjs +0 -43
- package/esm2022/cdk/dynamic-view/lib/dynamic-view.directive.mjs +0 -113
- package/esm2022/cdk/dynamic-view/lib/dynamic-view.service.mjs +0 -75
- package/esm2022/cdk/dynamic-view/lib/facade/dynamic-content.mjs +0 -2
- package/esm2022/cdk/dynamic-view/lib/facade/dynamic-view-ref.mjs +0 -2
- package/esm2022/cdk/dynamic-view/lib/facade/index.mjs +0 -3
- package/esm2022/cdk/dynamic-view/lib/helpers/create-projectable-nodes.mjs +0 -31
- package/esm2022/cdk/dynamic-view/lib/helpers/index.mjs +0 -4
- package/esm2022/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.mjs +0 -28
- package/esm2022/cdk/dynamic-view/lib/helpers/is-dynamic-view.mjs +0 -27
- package/esm2022/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +0 -108
- package/esm2022/cdk/dynamic-view/lib/models/dynamic-template-ref.mjs +0 -87
- package/esm2022/cdk/dynamic-view/lib/models/dynamic-view-options.mjs +0 -2
- package/esm2022/cdk/dynamic-view/lib/models/index.mjs +0 -4
- package/esm2022/cdk/dynamic-view/lib/tokens/dynamic-view-context.mjs +0 -7
- package/esm2022/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.mjs +0 -20
- package/esm2022/cdk/dynamic-view/lib/tokens/index.mjs +0 -3
- package/esm2022/cdk/dynamic-view/odx-angular-cdk-dynamic-view.mjs +0 -5
- package/esm2022/cdk/event-plugins/index.mjs +0 -4
- package/esm2022/cdk/event-plugins/lib/event-plugins.config.mjs +0 -48
- package/esm2022/cdk/event-plugins/lib/models/event-plugin.mjs +0 -60
- package/esm2022/cdk/event-plugins/lib/models/index.mjs +0 -2
- package/esm2022/cdk/event-plugins/lib/plugins/debounce-event-plugin.mjs +0 -67
- package/esm2022/cdk/event-plugins/lib/plugins/defer-event-plugin.mjs +0 -51
- package/esm2022/cdk/event-plugins/lib/plugins/index.mjs +0 -3
- package/esm2022/cdk/event-plugins/odx-angular-cdk-event-plugins.mjs +0 -5
- package/esm2022/cdk/expandable/index.mjs +0 -5
- package/esm2022/cdk/expandable/lib/directives/expandable-container.directive.mjs +0 -104
- package/esm2022/cdk/expandable/lib/directives/expandable-item.directive.mjs +0 -119
- package/esm2022/cdk/expandable/lib/directives/index.mjs +0 -3
- package/esm2022/cdk/expandable/lib/expandable.module.mjs +0 -17
- package/esm2022/cdk/expandable/lib/expandable.tokens.mjs +0 -4
- package/esm2022/cdk/expandable/lib/facade/expandable-container.mjs +0 -2
- package/esm2022/cdk/expandable/lib/facade/expandable-item.mjs +0 -2
- package/esm2022/cdk/expandable/lib/facade/index.mjs +0 -3
- package/esm2022/cdk/expandable/odx-angular-cdk-expandable.mjs +0 -5
- package/esm2022/cdk/option-control/index.mjs +0 -2
- package/esm2022/cdk/option-control/lib/option-control.mjs +0 -91
- package/esm2022/cdk/option-control/odx-angular-cdk-option-control.mjs +0 -5
- package/esm2022/cdk/radio-group-control/index.mjs +0 -4
- package/esm2022/cdk/radio-group-control/lib/radio-control.directive.mjs +0 -65
- package/esm2022/cdk/radio-group-control/lib/radio-group-control.directive.mjs +0 -60
- package/esm2022/cdk/radio-group-control/lib/radio-group-control.module.mjs +0 -19
- package/esm2022/cdk/radio-group-control/odx-angular-cdk-radio-group-control.mjs +0 -5
- package/esm2022/cdk/scrollable/index.mjs +0 -2
- package/esm2022/cdk/scrollable/lib/scrollable.service.mjs +0 -129
- package/esm2022/cdk/scrollable/odx-angular-cdk-scrollable.mjs +0 -5
- package/esm2022/components/accordion/index.mjs +0 -5
- package/esm2022/components/accordion/lib/accordion.component.mjs +0 -31
- package/esm2022/components/accordion/lib/accordion.module.mjs +0 -20
- package/esm2022/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +0 -94
- package/esm2022/components/accordion/lib/components/index.mjs +0 -2
- package/esm2022/components/accordion/lib/directives/accordion-item-title.mjs +0 -17
- package/esm2022/components/accordion/lib/directives/index.mjs +0 -2
- package/esm2022/components/accordion/odx-angular-components-accordion.mjs +0 -5
- package/esm2022/components/action-group/action-group.component.mjs +0 -38
- package/esm2022/components/action-group/index.mjs +0 -2
- package/esm2022/components/action-group/odx-angular-components-action-group.mjs +0 -5
- package/esm2022/components/anchor-navigation/anchor-navigation.component.mjs +0 -69
- package/esm2022/components/anchor-navigation/anchor-navigation.module.mjs +0 -18
- package/esm2022/components/anchor-navigation/anchor-navigation.service.mjs +0 -130
- package/esm2022/components/anchor-navigation/components/anchor-navigation-item.component.mjs +0 -32
- package/esm2022/components/anchor-navigation/components/index.mjs +0 -2
- package/esm2022/components/anchor-navigation/index.mjs +0 -5
- package/esm2022/components/anchor-navigation/odx-angular-components-anchor-navigation.mjs +0 -5
- package/esm2022/components/area-header/area-header.component.mjs +0 -39
- package/esm2022/components/area-header/area-header.module.mjs +0 -47
- package/esm2022/components/area-header/directives/area-header-content.directive.mjs +0 -20
- package/esm2022/components/area-header/directives/area-header-subtitle.directive.mjs +0 -20
- package/esm2022/components/area-header/directives/index.mjs +0 -3
- package/esm2022/components/area-header/index.mjs +0 -5
- package/esm2022/components/area-header/models/area-header-size.mjs +0 -7
- package/esm2022/components/area-header/models/index.mjs +0 -2
- package/esm2022/components/area-header/odx-angular-components-area-header.mjs +0 -5
- package/esm2022/components/autocomplete/index.mjs +0 -7
- package/esm2022/components/autocomplete/lib/autocomplete.component.mjs +0 -212
- package/esm2022/components/autocomplete/lib/autocomplete.module.mjs +0 -21
- package/esm2022/components/autocomplete/lib/autocomplete.tokens.mjs +0 -3
- package/esm2022/components/autocomplete/lib/components/index.mjs +0 -2
- package/esm2022/components/autocomplete/lib/components/option/autocomplete-option.component.mjs +0 -45
- package/esm2022/components/autocomplete/lib/directives/autocomplete-input-control.directive.mjs +0 -36
- package/esm2022/components/autocomplete/lib/directives/index.mjs +0 -2
- package/esm2022/components/autocomplete/lib/pipes/autocomplete-search-filter.pipe.mjs +0 -16
- package/esm2022/components/autocomplete/lib/pipes/index.mjs +0 -2
- package/esm2022/components/autocomplete/odx-angular-components-autocomplete.mjs +0 -5
- package/esm2022/components/avatar/index.mjs +0 -3
- package/esm2022/components/avatar/lib/avatar.component.mjs +0 -48
- package/esm2022/components/avatar/lib/models/avatar-size.mjs +0 -6
- package/esm2022/components/avatar/lib/models/avatar-variant.mjs +0 -5
- package/esm2022/components/avatar/lib/models/index.mjs +0 -3
- package/esm2022/components/avatar/odx-angular-components-avatar.mjs +0 -5
- package/esm2022/components/badge/index.mjs +0 -4
- package/esm2022/components/badge/lib/badge.component.mjs +0 -62
- package/esm2022/components/badge/lib/badge.directive.mjs +0 -116
- package/esm2022/components/badge/lib/models/badge-variant.mjs +0 -6
- package/esm2022/components/badge/lib/models/index.mjs +0 -2
- package/esm2022/components/badge/odx-angular-components-badge.mjs +0 -5
- package/esm2022/components/bar/index.mjs +0 -6
- package/esm2022/components/bar/lib/bar.component.mjs +0 -28
- package/esm2022/components/bar/lib/bar.module.mjs +0 -20
- package/esm2022/components/bar/lib/directives/bar-button.directive.mjs +0 -45
- package/esm2022/components/bar/lib/directives/bar-label.directive.mjs +0 -27
- package/esm2022/components/bar/lib/models/bar-button-variant.mjs +0 -5
- package/esm2022/components/bar/odx-angular-components-bar.mjs +0 -5
- package/esm2022/components/breadcrumbs/index.mjs +0 -2
- package/esm2022/components/breadcrumbs/lib/breadcrumbs.component.mjs +0 -24
- package/esm2022/components/breadcrumbs/odx-angular-components-breadcrumbs.mjs +0 -5
- package/esm2022/components/button/index.mjs +0 -4
- package/esm2022/components/button/lib/button.component.mjs +0 -59
- package/esm2022/components/button/lib/directives/index.mjs +0 -2
- package/esm2022/components/button/lib/directives/responsive-button.directive.mjs +0 -24
- package/esm2022/components/button/lib/models/button-size.mjs +0 -6
- package/esm2022/components/button/lib/models/button-variant.mjs +0 -10
- package/esm2022/components/button/lib/models/index.mjs +0 -3
- package/esm2022/components/button/odx-angular-components-button.mjs +0 -5
- package/esm2022/components/button-group/index.mjs +0 -2
- package/esm2022/components/button-group/lib/button-group.component.mjs +0 -80
- package/esm2022/components/button-group/odx-angular-components-button-group.mjs +0 -5
- package/esm2022/components/calendar/index.mjs +0 -10
- package/esm2022/components/calendar/lib/calendar.component.mjs +0 -116
- package/esm2022/components/calendar/lib/calendar.config.mjs +0 -31
- package/esm2022/components/calendar/lib/calendar.service.mjs +0 -111
- package/esm2022/components/calendar/lib/components/calendar-header/calendar-header.component.mjs +0 -95
- package/esm2022/components/calendar/lib/components/calendar-header/index.mjs +0 -2
- package/esm2022/components/calendar/lib/components/calendar-month/calendar-month.component.mjs +0 -61
- package/esm2022/components/calendar/lib/components/calendar-month/index.mjs +0 -2
- package/esm2022/components/calendar/lib/components/calendar-year/calendar-year.component.mjs +0 -63
- package/esm2022/components/calendar/lib/components/calendar-year/index.mjs +0 -2
- package/esm2022/components/calendar/lib/components/calendar-years/calendar-years.component.mjs +0 -71
- package/esm2022/components/calendar/lib/components/calendar-years/index.mjs +0 -2
- package/esm2022/components/calendar/lib/components/index.mjs +0 -5
- package/esm2022/components/calendar/lib/daterange.service.mjs +0 -76
- package/esm2022/components/calendar/lib/directives/calendar-cell.directive.mjs +0 -202
- package/esm2022/components/calendar/lib/directives/calendar-view.directive.mjs +0 -108
- package/esm2022/components/calendar/lib/directives/index.mjs +0 -3
- package/esm2022/components/calendar/lib/models/calendar-view.mjs +0 -7
- package/esm2022/components/calendar/lib/models/date-filter.mjs +0 -2
- package/esm2022/components/calendar/lib/models/date-range.mjs +0 -7
- package/esm2022/components/calendar/lib/models/date-type.mjs +0 -2
- package/esm2022/components/calendar/lib/models/date-validator.mjs +0 -2
- package/esm2022/components/calendar/lib/models/index.mjs +0 -8
- package/esm2022/components/calendar/lib/models/selected-date.mjs +0 -5
- package/esm2022/components/calendar/lib/models/selection-mode.mjs +0 -6
- package/esm2022/components/calendar/lib/pipes/date-label.pipe.mjs +0 -47
- package/esm2022/components/calendar/lib/pipes/index.mjs +0 -2
- package/esm2022/components/calendar/lib/services/calendar-month.service.mjs +0 -38
- package/esm2022/components/calendar/lib/services/calendar-year.service.mjs +0 -34
- package/esm2022/components/calendar/lib/services/calendar-years.service.mjs +0 -37
- package/esm2022/components/calendar/lib/services/index.mjs +0 -4
- package/esm2022/components/calendar/lib/utils/check-cell-in-range.mjs +0 -29
- package/esm2022/components/calendar/lib/utils/check-identical-date.mjs +0 -12
- package/esm2022/components/calendar/lib/utils/get-A11y-label.mjs +0 -13
- package/esm2022/components/calendar/lib/utils/index.mjs +0 -10
- package/esm2022/components/calendar/lib/utils/is-date-disabled.mjs +0 -11
- package/esm2022/components/calendar/lib/utils/parse-date.mjs +0 -16
- package/esm2022/components/calendar/lib/utils/validate-daterange.mjs +0 -6
- package/esm2022/components/calendar/lib/utils/validate-max-date.mjs +0 -12
- package/esm2022/components/calendar/lib/utils/validate-min-date.mjs +0 -12
- package/esm2022/components/calendar/lib/utils/validate-next-date-set.mjs +0 -12
- package/esm2022/components/calendar/lib/utils/validate-previous-date-set.mjs +0 -12
- package/esm2022/components/calendar/odx-angular-components-calendar.mjs +0 -5
- package/esm2022/components/card/index.mjs +0 -6
- package/esm2022/components/card/lib/card.component.mjs +0 -101
- package/esm2022/components/card/lib/card.config.mjs +0 -25
- package/esm2022/components/card/lib/card.module.mjs +0 -20
- package/esm2022/components/card/lib/components/card-footer/card-footer.component.mjs +0 -16
- package/esm2022/components/card/lib/components/card-image/card-image.component.mjs +0 -83
- package/esm2022/components/card/lib/components/index.mjs +0 -4
- package/esm2022/components/card/lib/components/launch-card-subtitle/launch-card-subtitle.component.mjs +0 -16
- package/esm2022/components/card/lib/directives/card-content.directive.mjs +0 -20
- package/esm2022/components/card/lib/directives/index.mjs +0 -2
- package/esm2022/components/card/lib/models/card-variant.mjs +0 -7
- package/esm2022/components/card/lib/models/index.mjs +0 -2
- package/esm2022/components/card/odx-angular-components-card.mjs +0 -5
- package/esm2022/components/checkbox/index.mjs +0 -4
- package/esm2022/components/checkbox/lib/checkbox.component.mjs +0 -99
- package/esm2022/components/checkbox/lib/checkbox.module.mjs +0 -19
- package/esm2022/components/checkbox/lib/checkbox.validator.mjs +0 -51
- package/esm2022/components/checkbox/odx-angular-components-checkbox.mjs +0 -5
- package/esm2022/components/chip/index.mjs +0 -3
- package/esm2022/components/chip/lib/components/chip/chip.component.mjs +0 -78
- package/esm2022/components/chip/lib/components/chip-list/chip-list.component.mjs +0 -24
- package/esm2022/components/chip/lib/components/chip-list-row/chip-list-row.component.mjs +0 -24
- package/esm2022/components/chip/lib/components/index.mjs +0 -4
- package/esm2022/components/chip/lib/models/chip-size.mjs +0 -5
- package/esm2022/components/chip/lib/models/chip-variant.mjs +0 -9
- package/esm2022/components/chip/lib/models/index.mjs +0 -3
- package/esm2022/components/chip/odx-angular-components-chip.mjs +0 -5
- package/esm2022/components/circular-progress/index.mjs +0 -3
- package/esm2022/components/circular-progress/lib/circular-progress.component.mjs +0 -124
- package/esm2022/components/circular-progress/lib/models/circular-progress-size.mjs +0 -7
- package/esm2022/components/circular-progress/lib/models/index.mjs +0 -2
- package/esm2022/components/circular-progress/odx-angular-components-circular-progress.mjs +0 -5
- package/esm2022/components/content-box/index.mjs +0 -4
- package/esm2022/components/content-box/lib/content-box.component.mjs +0 -16
- package/esm2022/components/content-box/lib/content-box.module.mjs +0 -19
- package/esm2022/components/content-box/lib/directives/content-box-footer.directive.mjs +0 -20
- package/esm2022/components/content-box/lib/directives/content-box-header.directive.mjs +0 -20
- package/esm2022/components/content-box/lib/directives/index.mjs +0 -3
- package/esm2022/components/content-box/odx-angular-components-content-box.mjs +0 -5
- package/esm2022/components/data-table/index.mjs +0 -5
- package/esm2022/components/data-table/lib/data-table.component.mjs +0 -51
- package/esm2022/components/data-table/lib/data-table.module.mjs +0 -19
- package/esm2022/components/data-table/lib/directives/cell-def.directive.mjs +0 -17
- package/esm2022/components/data-table/lib/directives/cell.directive.mjs +0 -18
- package/esm2022/components/data-table/lib/directives/column-def.directive.mjs +0 -27
- package/esm2022/components/data-table/lib/directives/header-cell-def.directive.mjs +0 -17
- package/esm2022/components/data-table/lib/directives/header-cell.directive.mjs +0 -18
- package/esm2022/components/data-table/lib/directives/index.mjs +0 -7
- package/esm2022/components/data-table/lib/directives/table-empty.directive.mjs +0 -11
- package/esm2022/components/data-table/lib/models/index.mjs +0 -15
- package/esm2022/components/data-table/lib/models/table-variant.mjs +0 -5
- package/esm2022/components/data-table/odx-angular-components-data-table.mjs +0 -5
- package/esm2022/components/datepicker/index.mjs +0 -7
- package/esm2022/components/datepicker/lib/datepicker.component.mjs +0 -208
- package/esm2022/components/datepicker/lib/datepicker.config.mjs +0 -52
- package/esm2022/components/datepicker/lib/datepicker.module.mjs +0 -21
- package/esm2022/components/datepicker/lib/directives/datepicker-input-control.directive.mjs +0 -86
- package/esm2022/components/datepicker/lib/directives/index.mjs +0 -2
- package/esm2022/components/datepicker/lib/validators/filter.validator.mjs +0 -49
- package/esm2022/components/datepicker/lib/validators/minmax.validator.mjs +0 -60
- package/esm2022/components/datepicker/odx-angular-components-datepicker.mjs +0 -5
- package/esm2022/components/daterangepicker/index.mjs +0 -7
- package/esm2022/components/daterangepicker/lib/daterangepicker.component.mjs +0 -277
- package/esm2022/components/daterangepicker/lib/daterangepicker.config.mjs +0 -52
- package/esm2022/components/daterangepicker/lib/daterangepicker.module.mjs +0 -21
- package/esm2022/components/daterangepicker/lib/directives/daterangepicker-input-control.directive.mjs +0 -82
- package/esm2022/components/daterangepicker/lib/directives/index.mjs +0 -2
- package/esm2022/components/daterangepicker/lib/range.validator.mjs +0 -52
- package/esm2022/components/daterangepicker/lib/required.validator.mjs +0 -48
- package/esm2022/components/daterangepicker/odx-angular-components-daterangepicker.mjs +0 -5
- package/esm2022/components/dropdown/index.mjs +0 -6
- package/esm2022/components/dropdown/lib/dropdown.component.mjs +0 -47
- package/esm2022/components/dropdown/lib/dropdown.directive.mjs +0 -238
- package/esm2022/components/dropdown/lib/dropdown.module.mjs +0 -18
- package/esm2022/components/dropdown/lib/helpers/close-current-dropdown.mjs +0 -11
- package/esm2022/components/dropdown/lib/helpers/index.mjs +0 -2
- package/esm2022/components/dropdown/lib/models/close-dropdown-event.mjs +0 -7
- package/esm2022/components/dropdown/lib/models/dropdown-options.mjs +0 -9
- package/esm2022/components/dropdown/lib/models/index.mjs +0 -3
- package/esm2022/components/dropdown/odx-angular-components-dropdown.mjs +0 -5
- package/esm2022/components/error-page/index.mjs +0 -3
- package/esm2022/components/error-page/lib/error-page.component.mjs +0 -37
- package/esm2022/components/error-page/lib/error-page.config.mjs +0 -18
- package/esm2022/components/error-page/odx-angular-components-error-page.mjs +0 -5
- package/esm2022/components/footer/index.mjs +0 -4
- package/esm2022/components/footer/lib/footer.component.mjs +0 -58
- package/esm2022/components/footer/lib/footer.config.mjs +0 -31
- package/esm2022/components/footer/lib/footer.i18n.mjs +0 -19
- package/esm2022/components/footer/lib/helpers/create-footer-links.mjs +0 -24
- package/esm2022/components/footer/lib/helpers/index.mjs +0 -2
- package/esm2022/components/footer/lib/models/footer-link.mjs +0 -2
- package/esm2022/components/footer/lib/models/footer-variant.mjs +0 -5
- package/esm2022/components/footer/lib/models/index.mjs +0 -3
- package/esm2022/components/footer/odx-angular-components-footer.mjs +0 -5
- package/esm2022/components/form-field/index.mjs +0 -8
- package/esm2022/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +0 -37
- package/esm2022/components/form-field/lib/components/form-group/form-group.component.mjs +0 -49
- package/esm2022/components/form-field/lib/components/index.mjs +0 -3
- package/esm2022/components/form-field/lib/directives/form-field-control.directive.mjs +0 -80
- package/esm2022/components/form-field/lib/directives/form-field-error.directive.mjs +0 -28
- package/esm2022/components/form-field/lib/directives/form-field-hint.directive.mjs +0 -26
- package/esm2022/components/form-field/lib/directives/form-field-label.directive.mjs +0 -27
- package/esm2022/components/form-field/lib/directives/form.directive.mjs +0 -46
- package/esm2022/components/form-field/lib/directives/index.mjs +0 -6
- package/esm2022/components/form-field/lib/form-field.component.mjs +0 -93
- package/esm2022/components/form-field/lib/form-field.config.mjs +0 -7
- package/esm2022/components/form-field/lib/form-field.module.mjs +0 -41
- package/esm2022/components/form-field/lib/form-field.service.mjs +0 -117
- package/esm2022/components/form-field/lib/models/form-field-error-resolver.mjs +0 -2
- package/esm2022/components/form-field/lib/models/form-field-error.mjs +0 -2
- package/esm2022/components/form-field/lib/models/form-field-variant.mjs +0 -6
- package/esm2022/components/form-field/lib/models/index.mjs +0 -4
- package/esm2022/components/form-field/lib/services/form-field-error.service.mjs +0 -88
- package/esm2022/components/form-field/lib/services/index.mjs +0 -2
- package/esm2022/components/form-field/odx-angular-components-form-field.mjs +0 -5
- package/esm2022/components/header/index.mjs +0 -4
- package/esm2022/components/header/lib/directives/header-avatar.directive.mjs +0 -28
- package/esm2022/components/header/lib/directives/header-title.directive.mjs +0 -20
- package/esm2022/components/header/lib/directives/index.mjs +0 -3
- package/esm2022/components/header/lib/header.component.mjs +0 -25
- package/esm2022/components/header/lib/header.module.mjs +0 -51
- package/esm2022/components/header/odx-angular-components-header.mjs +0 -5
- package/esm2022/components/header-navigation/index.mjs +0 -4
- package/esm2022/components/header-navigation/lib/directives/header-navigation-link.directive.mjs +0 -40
- package/esm2022/components/header-navigation/lib/directives/index.mjs +0 -2
- package/esm2022/components/header-navigation/lib/header-navigation.component.mjs +0 -32
- package/esm2022/components/header-navigation/lib/header-navigation.module.mjs +0 -19
- package/esm2022/components/header-navigation/odx-angular-components-header-navigation.mjs +0 -5
- package/esm2022/components/icon/index.mjs +0 -5
- package/esm2022/components/icon/lib/helpers/index.mjs +0 -2
- package/esm2022/components/icon/lib/helpers/unpack-icon-identifier.mjs +0 -38
- package/esm2022/components/icon/lib/icon.component.mjs +0 -101
- package/esm2022/components/icon/lib/icon.config.mjs +0 -25
- package/esm2022/components/icon/lib/models/icon-set.mjs +0 -7
- package/esm2022/components/icon/lib/models/icon-size.mjs +0 -8
- package/esm2022/components/icon/lib/models/index.mjs +0 -3
- package/esm2022/components/icon/odx-angular-components-icon.mjs +0 -5
- package/esm2022/components/inline-message/index.mjs +0 -3
- package/esm2022/components/inline-message/lib/inline-message.component.mjs +0 -59
- package/esm2022/components/inline-message/lib/models/index.mjs +0 -2
- package/esm2022/components/inline-message/lib/models/inline-message-variant.mjs +0 -7
- package/esm2022/components/inline-message/odx-angular-components-inline-message.mjs +0 -5
- package/esm2022/components/link/index.mjs +0 -2
- package/esm2022/components/link/link.directive.mjs +0 -30
- package/esm2022/components/link/odx-angular-components-link.mjs +0 -5
- package/esm2022/components/list/index.mjs +0 -5
- package/esm2022/components/list/lib/components/expandable-list-item/expandable-list-item.component.mjs +0 -47
- package/esm2022/components/list/lib/components/index.mjs +0 -3
- package/esm2022/components/list/lib/components/list-item/list-item.component.mjs +0 -88
- package/esm2022/components/list/lib/list.component.mjs +0 -29
- package/esm2022/components/list/lib/list.module.mjs +0 -19
- package/esm2022/components/list/lib/models/index.mjs +0 -2
- package/esm2022/components/list/lib/models/list-item-variant.mjs +0 -6
- package/esm2022/components/list/odx-angular-components-list.mjs +0 -5
- package/esm2022/components/loading-spinner/index.mjs +0 -4
- package/esm2022/components/loading-spinner/lib/loading-spinner.component.mjs +0 -69
- package/esm2022/components/loading-spinner/lib/loading-spinner.directive.mjs +0 -116
- package/esm2022/components/loading-spinner/lib/loading-spinner.module.mjs +0 -19
- package/esm2022/components/loading-spinner/odx-angular-components-loading-spinner.mjs +0 -5
- package/esm2022/components/logo/index.mjs +0 -3
- package/esm2022/components/logo/logo.directive.mjs +0 -61
- package/esm2022/components/logo/models/index.mjs +0 -3
- package/esm2022/components/logo/models/logo-size.mjs +0 -6
- package/esm2022/components/logo/models/logo-variant.mjs +0 -5
- package/esm2022/components/logo/odx-angular-components-logo.mjs +0 -5
- package/esm2022/components/main-menu/index.mjs +0 -5
- package/esm2022/components/main-menu/lib/directives/index.mjs +0 -4
- package/esm2022/components/main-menu/lib/directives/main-menu-button.directive.mjs +0 -36
- package/esm2022/components/main-menu/lib/directives/main-menu-close.directive.mjs +0 -27
- package/esm2022/components/main-menu/lib/directives/main-menu-item.directive.mjs +0 -55
- package/esm2022/components/main-menu/lib/helpers/create-main-menu-links.mjs +0 -17
- package/esm2022/components/main-menu/lib/helpers/index.mjs +0 -2
- package/esm2022/components/main-menu/lib/main-menu.component.mjs +0 -125
- package/esm2022/components/main-menu/lib/main-menu.config.mjs +0 -37
- package/esm2022/components/main-menu/lib/main-menu.i18n.mjs +0 -19
- package/esm2022/components/main-menu/lib/main-menu.module.mjs +0 -20
- package/esm2022/components/main-menu/lib/main-menu.service.mjs +0 -56
- package/esm2022/components/main-menu/lib/models/index.mjs +0 -2
- package/esm2022/components/main-menu/lib/models/main-menu-link.mjs +0 -2
- package/esm2022/components/main-menu/odx-angular-components-main-menu.mjs +0 -5
- package/esm2022/components/mainfilter-group/index.mjs +0 -2
- package/esm2022/components/mainfilter-group/lib/mainfilter-group.component.mjs +0 -25
- package/esm2022/components/mainfilter-group/odx-angular-components-mainfilter-group.mjs +0 -5
- package/esm2022/components/menu/index.mjs +0 -5
- package/esm2022/components/menu/lib/directives/index.mjs +0 -2
- package/esm2022/components/menu/lib/directives/menu-item.directive.mjs +0 -43
- package/esm2022/components/menu/lib/menu.component.mjs +0 -56
- package/esm2022/components/menu/lib/menu.directive.mjs +0 -76
- package/esm2022/components/menu/lib/menu.module.mjs +0 -21
- package/esm2022/components/menu/odx-angular-components-menu.mjs +0 -5
- package/esm2022/components/modal/index.mjs +0 -10
- package/esm2022/components/modal/lib/components/basic-modal/basic-modal.component.mjs +0 -51
- package/esm2022/components/modal/lib/components/index.mjs +0 -5
- package/esm2022/components/modal/lib/components/modal-footer/modal-footer.component.mjs +0 -24
- package/esm2022/components/modal/lib/components/modal-header/modal-header.component.mjs +0 -42
- package/esm2022/components/modal/lib/components/modal-hero/modal-hero.component.mjs +0 -55
- package/esm2022/components/modal/lib/directives/index.mjs +0 -6
- package/esm2022/components/modal/lib/directives/modal-close.directive.mjs +0 -58
- package/esm2022/components/modal/lib/directives/modal-content.directive.mjs +0 -27
- package/esm2022/components/modal/lib/directives/modal-dismiss.directive.mjs +0 -41
- package/esm2022/components/modal/lib/directives/prevent-form-method-dialog.directive.mjs +0 -23
- package/esm2022/components/modal/lib/directives/prevent-method-dialog.directive.mjs +0 -23
- package/esm2022/components/modal/lib/helpers/index.mjs +0 -3
- package/esm2022/components/modal/lib/helpers/inject-modal-ref.mjs +0 -27
- package/esm2022/components/modal/lib/helpers/provide-modal-ref.mjs +0 -14
- package/esm2022/components/modal/lib/modal.component.mjs +0 -98
- package/esm2022/components/modal/lib/modal.config.mjs +0 -44
- package/esm2022/components/modal/lib/modal.directive.mjs +0 -75
- package/esm2022/components/modal/lib/modal.module.mjs +0 -55
- package/esm2022/components/modal/lib/modal.service.mjs +0 -123
- package/esm2022/components/modal/lib/models/basic-modal-options.mjs +0 -2
- package/esm2022/components/modal/lib/models/index.mjs +0 -8
- package/esm2022/components/modal/lib/models/modal-hero-variant.mjs +0 -7
- package/esm2022/components/modal/lib/models/modal-options.mjs +0 -2
- package/esm2022/components/modal/lib/models/modal-ref.mjs +0 -99
- package/esm2022/components/modal/lib/models/modal-size.mjs +0 -7
- package/esm2022/components/modal/lib/models/modal-type.mjs +0 -2
- package/esm2022/components/modal/lib/models/modal-variant.mjs +0 -5
- package/esm2022/components/modal/odx-angular-components-modal.mjs +0 -5
- package/esm2022/components/navigation-back/index.mjs +0 -2
- package/esm2022/components/navigation-back/lib/navigation-back.component.mjs +0 -25
- package/esm2022/components/navigation-back/odx-angular-components-navigation-back.mjs +0 -5
- package/esm2022/components/notification/index.mjs +0 -8
- package/esm2022/components/notification/lib/components/index.mjs +0 -3
- package/esm2022/components/notification/lib/components/notification-center/notification-center.component.mjs +0 -61
- package/esm2022/components/notification/lib/components/notification-item/notification-item.component.mjs +0 -66
- package/esm2022/components/notification/lib/directives/index.mjs +0 -2
- package/esm2022/components/notification/lib/directives/notification-center.directive.mjs +0 -159
- package/esm2022/components/notification/lib/features/index.mjs +0 -6
- package/esm2022/components/notification/lib/features/with-browser-notifications.mjs +0 -73
- package/esm2022/components/notification/lib/features/with-load-notifications.mjs +0 -45
- package/esm2022/components/notification/lib/features/with-notification-transformer.mjs +0 -34
- package/esm2022/components/notification/lib/features/with-peristent-notifications.mjs +0 -92
- package/esm2022/components/notification/lib/features/with-save-notifications.mjs +0 -44
- package/esm2022/components/notification/lib/helpers/get-notifications-by-tag.mjs +0 -8
- package/esm2022/components/notification/lib/helpers/index.mjs +0 -4
- package/esm2022/components/notification/lib/helpers/sort-notifications.mjs +0 -11
- package/esm2022/components/notification/lib/helpers/to-notification-collection.mjs +0 -10
- package/esm2022/components/notification/lib/models/index.mjs +0 -9
- package/esm2022/components/notification/lib/models/notification-action.mjs +0 -2
- package/esm2022/components/notification/lib/models/notification-collection.mjs +0 -2
- package/esm2022/components/notification/lib/models/notification-feature.mjs +0 -19
- package/esm2022/components/notification/lib/models/notification-options.mjs +0 -2
- package/esm2022/components/notification/lib/models/notification-query.mjs +0 -2
- package/esm2022/components/notification/lib/models/notification-sort-fn.mjs +0 -2
- package/esm2022/components/notification/lib/models/notification.mjs +0 -2
- package/esm2022/components/notification/lib/models/notification.ref.mjs +0 -2
- package/esm2022/components/notification/lib/notification.config.mjs +0 -55
- package/esm2022/components/notification/lib/notification.i18n.mjs +0 -11
- package/esm2022/components/notification/lib/notification.logger.mjs +0 -4
- package/esm2022/components/notification/lib/notification.service.mjs +0 -223
- package/esm2022/components/notification/lib/notification.tokens.mjs +0 -10
- package/esm2022/components/notification/lib/services/index.mjs +0 -2
- package/esm2022/components/notification/lib/services/notification-center.service.mjs +0 -105
- package/esm2022/components/notification/odx-angular-components-notification.mjs +0 -5
- package/esm2022/components/notification/testing/index.mjs +0 -2
- package/esm2022/components/notification/testing/lib/test-helpers.mjs +0 -33
- package/esm2022/components/notification/testing/odx-angular-components-notification-testing.mjs +0 -5
- package/esm2022/components/paginator/index.mjs +0 -6
- package/esm2022/components/paginator/lib/interfaces/index.mjs +0 -2
- package/esm2022/components/paginator/lib/interfaces/page-change.interface.mjs +0 -2
- package/esm2022/components/paginator/lib/models/get-range-content.model.mjs +0 -2
- package/esm2022/components/paginator/lib/models/get-summary-content.model.mjs +0 -2
- package/esm2022/components/paginator/lib/models/index.mjs +0 -3
- package/esm2022/components/paginator/lib/paginator.component.mjs +0 -277
- package/esm2022/components/paginator/lib/paginator.config.mjs +0 -48
- package/esm2022/components/paginator/lib/paginator.module.mjs +0 -17
- package/esm2022/components/paginator/odx-angular-components-paginator.mjs +0 -5
- package/esm2022/components/progress/index.mjs +0 -2
- package/esm2022/components/progress/lib/progress.component.mjs +0 -70
- package/esm2022/components/progress/odx-angular-components-progress.mjs +0 -5
- package/esm2022/components/radio-group/index.mjs +0 -4
- package/esm2022/components/radio-group/lib/components/index.mjs +0 -2
- package/esm2022/components/radio-group/lib/components/radio-button/radio-button.component.mjs +0 -59
- package/esm2022/components/radio-group/lib/radio-group.component.mjs +0 -64
- package/esm2022/components/radio-group/lib/radio-group.module.mjs +0 -19
- package/esm2022/components/radio-group/odx-angular-components-radio-group.mjs +0 -5
- package/esm2022/components/rail-navigation/index.mjs +0 -5
- package/esm2022/components/rail-navigation/lib/components/index.mjs +0 -2
- package/esm2022/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.mjs +0 -60
- package/esm2022/components/rail-navigation/lib/models/index.mjs +0 -2
- package/esm2022/components/rail-navigation/lib/models/rail-navigation-variant.mjs +0 -5
- package/esm2022/components/rail-navigation/lib/rail-navigation.component.mjs +0 -85
- package/esm2022/components/rail-navigation/lib/rail-navigation.module.mjs +0 -19
- package/esm2022/components/rail-navigation/odx-angular-components-rail-navigation.mjs +0 -5
- package/esm2022/components/rich-list/index.mjs +0 -4
- package/esm2022/components/rich-list/lib/components/index.mjs +0 -4
- package/esm2022/components/rich-list/lib/components/rich-list-content/rich-list-content.component.mjs +0 -31
- package/esm2022/components/rich-list/lib/components/rich-list-item/rich-list-item.component.mjs +0 -83
- package/esm2022/components/rich-list/lib/components/rich-list-item-header/rich-list-item-header.component.mjs +0 -27
- package/esm2022/components/rich-list/lib/rich-list.component.mjs +0 -45
- package/esm2022/components/rich-list/lib/rich-list.module.mjs +0 -20
- package/esm2022/components/rich-list/odx-angular-components-rich-list.mjs +0 -5
- package/esm2022/components/search-bar/index.mjs +0 -4
- package/esm2022/components/search-bar/lib/search-bar-control.directive.mjs +0 -21
- package/esm2022/components/search-bar/lib/search-bar.component.mjs +0 -17
- package/esm2022/components/search-bar/lib/search-bar.module.mjs +0 -19
- package/esm2022/components/search-bar/odx-angular-components-search-bar.mjs +0 -5
- package/esm2022/components/select/index.mjs +0 -7
- package/esm2022/components/select/lib/components/index.mjs +0 -2
- package/esm2022/components/select/lib/components/select-option/select-option.component.mjs +0 -114
- package/esm2022/components/select/lib/directives/index.mjs +0 -3
- package/esm2022/components/select/lib/directives/select-all.directive.mjs +0 -33
- package/esm2022/components/select/lib/directives/select-input-control.directive.mjs +0 -61
- package/esm2022/components/select/lib/pipes/index.mjs +0 -2
- package/esm2022/components/select/lib/pipes/select-search-filter.pipe.mjs +0 -26
- package/esm2022/components/select/lib/select.component.mjs +0 -344
- package/esm2022/components/select/lib/select.module.mjs +0 -21
- package/esm2022/components/select/lib/select.tokens.mjs +0 -3
- package/esm2022/components/select/odx-angular-components-select.mjs +0 -5
- package/esm2022/components/slider/index.mjs +0 -2
- package/esm2022/components/slider/lib/slider.directive.mjs +0 -64
- package/esm2022/components/slider/odx-angular-components-slider.mjs +0 -5
- package/esm2022/components/spinbox/index.mjs +0 -2
- package/esm2022/components/spinbox/lib/spinbox.component.mjs +0 -143
- package/esm2022/components/spinbox/odx-angular-components-spinbox.mjs +0 -5
- package/esm2022/components/switch/index.mjs +0 -4
- package/esm2022/components/switch/lib/switch.component.mjs +0 -34
- package/esm2022/components/switch/lib/switch.module.mjs +0 -19
- package/esm2022/components/switch/lib/switch.validator.mjs +0 -40
- package/esm2022/components/switch/odx-angular-components-switch.mjs +0 -5
- package/esm2022/components/tab-bar/index.mjs +0 -5
- package/esm2022/components/tab-bar/lib/components/index.mjs +0 -2
- package/esm2022/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +0 -98
- package/esm2022/components/tab-bar/lib/models/index.mjs +0 -2
- package/esm2022/components/tab-bar/lib/models/tab-change-event.mjs +0 -2
- package/esm2022/components/tab-bar/lib/tab-bar.component.mjs +0 -145
- package/esm2022/components/tab-bar/lib/tab-bar.config.mjs +0 -3
- package/esm2022/components/tab-bar/lib/tab-bar.module.mjs +0 -19
- package/esm2022/components/tab-bar/odx-angular-components-tab-bar.mjs +0 -5
- package/esm2022/components/table/index.mjs +0 -6
- package/esm2022/components/table/lib/components/check-cell/check-cell.component.mjs +0 -52
- package/esm2022/components/table/lib/components/header-title/header-title.component.mjs +0 -127
- package/esm2022/components/table/lib/components/index.mjs +0 -3
- package/esm2022/components/table/lib/directives/index.mjs +0 -3
- package/esm2022/components/table/lib/directives/table-cell.directive.mjs +0 -31
- package/esm2022/components/table/lib/directives/table-row.directive.mjs +0 -32
- package/esm2022/components/table/lib/models/header-cell.mjs +0 -2
- package/esm2022/components/table/lib/models/index.mjs +0 -6
- package/esm2022/components/table/lib/models/sort-status.mjs +0 -2
- package/esm2022/components/table/lib/models/sort-variant.mjs +0 -16
- package/esm2022/components/table/lib/models/table-body-cell.mjs +0 -2
- package/esm2022/components/table/lib/models/table-variant.mjs +0 -5
- package/esm2022/components/table/lib/table.component.mjs +0 -119
- package/esm2022/components/table/lib/table.config.mjs +0 -3
- package/esm2022/components/table/lib/table.module.mjs +0 -21
- package/esm2022/components/table/odx-angular-components-table.mjs +0 -5
- package/esm2022/components/timepicker/index.mjs +0 -8
- package/esm2022/components/timepicker/lib/components/timepicker-option.component.mjs +0 -86
- package/esm2022/components/timepicker/lib/directives/timepicker-input-control.directive.mjs +0 -87
- package/esm2022/components/timepicker/lib/timepicker.component.mjs +0 -270
- package/esm2022/components/timepicker/lib/timepicker.module.mjs +0 -20
- package/esm2022/components/timepicker/lib/timepicker.service.mjs +0 -134
- package/esm2022/components/timepicker/lib/timepicker.token.mjs +0 -9
- package/esm2022/components/timepicker/lib/utils/generate-time-stamps.mjs +0 -54
- package/esm2022/components/timepicker/lib/utils/index.mjs +0 -3
- package/esm2022/components/timepicker/lib/utils/ngx-mask-helper.mjs +0 -34
- package/esm2022/components/timepicker/odx-angular-components-timepicker.mjs +0 -5
- package/esm2022/components/toast/index.mjs +0 -6
- package/esm2022/components/toast/lib/components/index.mjs +0 -3
- package/esm2022/components/toast/lib/components/toast-container/toast-container.component.mjs +0 -111
- package/esm2022/components/toast/lib/components/toast-item/toast-item.component.mjs +0 -99
- package/esm2022/components/toast/lib/models/index.mjs +0 -6
- package/esm2022/components/toast/lib/models/toast-action.mjs +0 -2
- package/esm2022/components/toast/lib/models/toast-ref.mjs +0 -2
- package/esm2022/components/toast/lib/models/toast-variant.mjs +0 -9
- package/esm2022/components/toast/lib/models/toast.mjs +0 -2
- package/esm2022/components/toast/lib/models/toast.options.mjs +0 -2
- package/esm2022/components/toast/lib/toast.config.mjs +0 -32
- package/esm2022/components/toast/lib/toast.module.mjs +0 -18
- package/esm2022/components/toast/lib/toast.service.mjs +0 -115
- package/esm2022/components/toast/odx-angular-components-toast.mjs +0 -5
- package/esm2022/components/toggle-button-group/index.mjs +0 -4
- package/esm2022/components/toggle-button-group/lib/components/index.mjs +0 -2
- package/esm2022/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +0 -46
- package/esm2022/components/toggle-button-group/lib/toggle-button-group.component.mjs +0 -74
- package/esm2022/components/toggle-button-group/lib/toggle-button-group.module.mjs +0 -19
- package/esm2022/components/toggle-button-group/odx-angular-components-toggle-button-group.mjs +0 -5
- package/esm2022/components/tooltip/index.mjs +0 -8
- package/esm2022/components/tooltip/lib/directives/index.mjs +0 -3
- package/esm2022/components/tooltip/lib/directives/tooltip-disabled-focusable.directive.mjs +0 -47
- package/esm2022/components/tooltip/lib/helpers/index.mjs +0 -2
- package/esm2022/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.mjs +0 -16
- package/esm2022/components/tooltip/lib/models/index.mjs +0 -4
- package/esm2022/components/tooltip/lib/models/tooltip-options.mjs +0 -10
- package/esm2022/components/tooltip/lib/models/tooltip-size.mjs +0 -7
- package/esm2022/components/tooltip/lib/models/tooltip-trigger.mjs +0 -2
- package/esm2022/components/tooltip/lib/tooltip.component.mjs +0 -62
- package/esm2022/components/tooltip/lib/tooltip.config.mjs +0 -32
- package/esm2022/components/tooltip/lib/tooltip.directive.mjs +0 -189
- package/esm2022/components/tooltip/odx-angular-components-tooltip.mjs +0 -5
- package/esm2022/components/wizard/index.mjs +0 -4
- package/esm2022/components/wizard/lib/components/index.mjs +0 -2
- package/esm2022/components/wizard/lib/components/wizard-step/wizard-step.component.mjs +0 -124
- package/esm2022/components/wizard/lib/wizard.component.mjs +0 -224
- package/esm2022/components/wizard/lib/wizard.module.mjs +0 -19
- package/esm2022/components/wizard/odx-angular-components-wizard.mjs +0 -5
- package/esm2022/index.mjs +0 -7
- package/esm2022/internal/index.mjs +0 -4
- package/esm2022/internal/lib/decorators/css-component.mjs +0 -19
- package/esm2022/internal/lib/decorators/css-modifier.mjs +0 -49
- package/esm2022/internal/lib/decorators/index.mjs +0 -3
- package/esm2022/internal/lib/helpers/camel-to-kebab-case.mjs +0 -12
- package/esm2022/internal/lib/helpers/decorator-property-name.mjs +0 -12
- package/esm2022/internal/lib/helpers/deepmerge.mjs +0 -6
- package/esm2022/internal/lib/helpers/fast-equals.mjs +0 -3
- package/esm2022/internal/lib/helpers/get-css-variables.mjs +0 -22
- package/esm2022/internal/lib/helpers/get-enum-values.mjs +0 -6
- package/esm2022/internal/lib/helpers/index.mjs +0 -8
- package/esm2022/internal/lib/helpers/toggle-form-disabled-state.mjs +0 -6
- package/esm2022/internal/lib/logger.mjs +0 -42
- package/esm2022/internal/odx-angular-internal.mjs +0 -5
- package/esm2022/internal/translate/index.mjs +0 -5
- package/esm2022/internal/translate/lib/models/index.mjs +0 -2
- package/esm2022/internal/translate/lib/models/translation-object.mjs +0 -2
- package/esm2022/internal/translate/lib/pipes/index.mjs +0 -2
- package/esm2022/internal/translate/lib/pipes/translate.pipe.mjs +0 -22
- package/esm2022/internal/translate/lib/translate.config.mjs +0 -39
- package/esm2022/internal/translate/lib/translate.service.mjs +0 -56
- package/esm2022/internal/translate/odx-angular-internal-translate.mjs +0 -5
- package/esm2022/lib/controllers/controller.mjs +0 -64
- package/esm2022/lib/controllers/disabled.controller.mjs +0 -134
- package/esm2022/lib/controllers/index.mjs +0 -4
- package/esm2022/lib/controllers/readonly.controller.mjs +0 -135
- package/esm2022/lib/core.module.mjs +0 -19
- package/esm2022/lib/directives/click-outside.directive.mjs +0 -102
- package/esm2022/lib/directives/delegate-focus.directive.mjs +0 -54
- package/esm2022/lib/directives/index.mjs +0 -5
- package/esm2022/lib/directives/with-disabled-state.directive.mjs +0 -41
- package/esm2022/lib/directives/with-tabindex.directive.mjs +0 -24
- package/esm2022/lib/models/environment.mjs +0 -6
- package/esm2022/lib/models/index.mjs +0 -2
- package/esm2022/lib/services/index.mjs +0 -2
- package/esm2022/lib/services/window-ref.mjs +0 -157
- package/esm2022/lib/tokens/identity-matcher.mjs +0 -31
- package/esm2022/lib/tokens/index.mjs +0 -4
- package/esm2022/lib/tokens/string-search-handler.mjs +0 -33
- package/esm2022/lib/tokens/stringify.mjs +0 -33
- package/esm2022/localization/index.mjs +0 -6
- package/esm2022/localization/lib/features/index.mjs +0 -3
- package/esm2022/localization/lib/features/with-http-language-header.mjs +0 -76
- package/esm2022/localization/lib/features/with-http-language-query-param.mjs +0 -74
- package/esm2022/localization/lib/loaders/browser-language-loader.mjs +0 -38
- package/esm2022/localization/lib/loaders/index.mjs +0 -2
- package/esm2022/localization/lib/localization.config.mjs +0 -90
- package/esm2022/localization/lib/localization.logger.mjs +0 -3
- package/esm2022/localization/lib/localization.service.mjs +0 -101
- package/esm2022/localization/lib/models/index.mjs +0 -3
- package/esm2022/localization/lib/models/language-loader-fn.mjs +0 -2
- package/esm2022/localization/lib/models/localization-feature.mjs +0 -11
- package/esm2022/localization/odx-angular-localization.mjs +0 -5
- package/esm2022/odx-angular.mjs +0 -5
- package/esm2022/rxjs/index.mjs +0 -6
- package/esm2022/rxjs/lib/delay-until.mjs +0 -27
- package/esm2022/rxjs/lib/from-element-mutation.mjs +0 -31
- package/esm2022/rxjs/lib/from-element-resize.mjs +0 -38
- package/esm2022/rxjs/lib/from-events.mjs +0 -29
- package/esm2022/rxjs/lib/from-query-list.mjs +0 -24
- package/esm2022/rxjs/odx-angular-rxjs.mjs +0 -5
- package/esm2022/sdk/index.mjs +0 -2
- package/esm2022/sdk/lib/application-environment.mjs +0 -85
- package/esm2022/sdk/odx-angular-sdk.mjs +0 -5
- package/esm2022/theming/index.mjs +0 -5
- package/esm2022/theming/lib/helpers/index.mjs +0 -4
- package/esm2022/theming/lib/helpers/prefers-dark-theme.mjs +0 -22
- package/esm2022/theming/lib/helpers/resolve-theme.mjs +0 -30
- package/esm2022/theming/lib/helpers/theme-storage.mjs +0 -61
- package/esm2022/theming/lib/models/index.mjs +0 -2
- package/esm2022/theming/lib/models/theme.mjs +0 -6
- package/esm2022/theming/lib/theming.config.mjs +0 -54
- package/esm2022/theming/lib/theming.service.mjs +0 -90
- package/esm2022/theming/odx-angular-theming.mjs +0 -5
- package/esm2022/utils/index.mjs +0 -4
- package/esm2022/utils/lib/decorators/index.mjs +0 -2
- package/esm2022/utils/lib/decorators/pure.mjs +0 -88
- package/esm2022/utils/lib/helpers/angular.mjs +0 -74
- package/esm2022/utils/lib/helpers/animations-handler.mjs +0 -20
- package/esm2022/utils/lib/helpers/array.mjs +0 -51
- package/esm2022/utils/lib/helpers/build-url.mjs +0 -24
- package/esm2022/utils/lib/helpers/build-website-url.mjs +0 -30
- package/esm2022/utils/lib/helpers/cache-storage-client.mjs +0 -104
- package/esm2022/utils/lib/helpers/coercion.mjs +0 -23
- package/esm2022/utils/lib/helpers/debounce.mjs +0 -48
- package/esm2022/utils/lib/helpers/defer-fn.mjs +0 -24
- package/esm2022/utils/lib/helpers/dom.mjs +0 -135
- package/esm2022/utils/lib/helpers/event-manager.mjs +0 -49
- package/esm2022/utils/lib/helpers/get-axis.mjs +0 -34
- package/esm2022/utils/lib/helpers/get-language-code.mjs +0 -22
- package/esm2022/utils/lib/helpers/get-opposite-side.mjs +0 -36
- package/esm2022/utils/lib/helpers/get-side.mjs +0 -21
- package/esm2022/utils/lib/helpers/get-unique-id.mjs +0 -42
- package/esm2022/utils/lib/helpers/index.mjs +0 -24
- package/esm2022/utils/lib/helpers/match-url.mjs +0 -48
- package/esm2022/utils/lib/helpers/ng-changes.mjs +0 -43
- package/esm2022/utils/lib/helpers/provide-config.mjs +0 -93
- package/esm2022/utils/lib/helpers/queue.mjs +0 -185
- package/esm2022/utils/lib/helpers/sorter.mjs +0 -91
- package/esm2022/utils/lib/helpers/type-guards.mjs +0 -86
- package/esm2022/utils/lib/helpers/until-destroyed.mjs +0 -45
- package/esm2022/utils/lib/types/axis.mjs +0 -5
- package/esm2022/utils/lib/types/get-properties.mjs +0 -2
- package/esm2022/utils/lib/types/index.mjs +0 -5
- package/esm2022/utils/lib/types/position.mjs +0 -15
- package/esm2022/utils/lib/types/side.mjs +0 -7
- package/esm2022/utils/odx-angular-utils.mjs +0 -5
- package/internal/lib/decorators/css-component.d.ts +0 -8
- package/internal/lib/decorators/css-modifier.d.ts +0 -9
- package/internal/lib/decorators/index.d.ts +0 -2
- package/internal/lib/helpers/camel-to-kebab-case.d.ts +0 -2
- package/internal/lib/helpers/decorator-property-name.d.ts +0 -9
- package/internal/lib/helpers/deepmerge.d.ts +0 -11
- package/internal/lib/helpers/fast-equals.d.ts +0 -1
- package/internal/lib/helpers/get-css-variables.d.ts +0 -7
- package/internal/lib/helpers/get-enum-values.d.ts +0 -4
- package/internal/lib/helpers/index.d.ts +0 -7
- package/internal/lib/helpers/toggle-form-disabled-state.d.ts +0 -3
- package/internal/lib/logger.d.ts +0 -15
- package/internal/translate/lib/models/index.d.ts +0 -1
- package/internal/translate/lib/models/translation-object.d.ts +0 -1
- package/internal/translate/lib/pipes/index.d.ts +0 -1
- package/internal/translate/lib/pipes/translate.pipe.d.ts +0 -9
- package/internal/translate/lib/translate.config.d.ts +0 -37
- package/internal/translate/lib/translate.service.d.ts +0 -38
- package/lib/controllers/controller.d.ts +0 -39
- package/lib/controllers/disabled.controller.d.ts +0 -85
- package/lib/controllers/index.d.ts +0 -3
- package/lib/controllers/readonly.controller.d.ts +0 -78
- package/lib/core.module.d.ts +0 -10
- package/lib/directives/click-outside.directive.d.ts +0 -50
- package/lib/directives/delegate-focus.directive.d.ts +0 -25
- package/lib/directives/index.d.ts +0 -4
- package/lib/directives/with-disabled-state.directive.d.ts +0 -13
- package/lib/directives/with-tabindex.directive.d.ts +0 -10
- package/lib/models/environment.d.ts +0 -6
- package/lib/models/index.d.ts +0 -1
- package/lib/services/index.d.ts +0 -1
- package/lib/services/window-ref.d.ts +0 -105
- package/lib/tokens/identity-matcher.d.ts +0 -44
- package/lib/tokens/index.d.ts +0 -3
- package/lib/tokens/string-search-handler.d.ts +0 -42
- package/lib/tokens/stringify.d.ts +0 -45
- package/localization/lib/features/index.d.ts +0 -2
- package/localization/lib/features/with-http-language-header.d.ts +0 -72
- package/localization/lib/features/with-http-language-query-param.d.ts +0 -70
- package/localization/lib/loaders/browser-language-loader.d.ts +0 -34
- package/localization/lib/loaders/index.d.ts +0 -1
- package/localization/lib/localization.config.d.ts +0 -90
- package/localization/lib/localization.logger.d.ts +0 -3
- package/localization/lib/localization.service.d.ts +0 -56
- package/localization/lib/models/index.d.ts +0 -2
- package/localization/lib/models/language-loader-fn.d.ts +0 -2
- package/localization/lib/models/localization-feature.d.ts +0 -12
- package/rxjs/lib/delay-until.d.ts +0 -24
- package/rxjs/lib/from-element-mutation.d.ts +0 -23
- package/rxjs/lib/from-element-resize.d.ts +0 -26
- package/rxjs/lib/from-events.d.ts +0 -27
- package/rxjs/lib/from-query-list.d.ts +0 -22
- package/sdk/lib/application-environment.d.ts +0 -68
- package/theming/lib/helpers/index.d.ts +0 -3
- package/theming/lib/helpers/prefers-dark-theme.d.ts +0 -19
- package/theming/lib/helpers/resolve-theme.d.ts +0 -27
- package/theming/lib/helpers/theme-storage.d.ts +0 -46
- package/theming/lib/models/index.d.ts +0 -1
- package/theming/lib/models/theme.d.ts +0 -6
- package/theming/lib/theming.config.d.ts +0 -56
- package/theming/lib/theming.service.d.ts +0 -52
- package/utils/lib/decorators/index.d.ts +0 -1
- package/utils/lib/decorators/pure.d.ts +0 -52
- package/utils/lib/helpers/angular.d.ts +0 -47
- package/utils/lib/helpers/animations-handler.d.ts +0 -14
- package/utils/lib/helpers/array.d.ts +0 -30
- package/utils/lib/helpers/build-url.d.ts +0 -21
- package/utils/lib/helpers/build-website-url.d.ts +0 -26
- package/utils/lib/helpers/cache-storage-client.d.ts +0 -65
- package/utils/lib/helpers/coercion.d.ts +0 -19
- package/utils/lib/helpers/debounce.d.ts +0 -28
- package/utils/lib/helpers/defer-fn.d.ts +0 -21
- package/utils/lib/helpers/dom.d.ts +0 -82
- package/utils/lib/helpers/event-manager.d.ts +0 -14
- package/utils/lib/helpers/get-axis.d.ts +0 -22
- package/utils/lib/helpers/get-language-code.d.ts +0 -18
- package/utils/lib/helpers/get-opposite-side.d.ts +0 -23
- package/utils/lib/helpers/get-side.d.ts +0 -19
- package/utils/lib/helpers/get-unique-id.d.ts +0 -35
- package/utils/lib/helpers/index.d.ts +0 -23
- package/utils/lib/helpers/match-url.d.ts +0 -42
- package/utils/lib/helpers/ng-changes.d.ts +0 -62
- package/utils/lib/helpers/provide-config.d.ts +0 -69
- package/utils/lib/helpers/queue.d.ts +0 -123
- package/utils/lib/helpers/sorter.d.ts +0 -51
- package/utils/lib/helpers/type-guards.d.ts +0 -67
- package/utils/lib/helpers/until-destroyed.d.ts +0 -40
- package/utils/lib/types/axis.d.ts +0 -5
- package/utils/lib/types/get-properties.d.ts +0 -5
- package/utils/lib/types/index.d.ts +0 -4
- package/utils/lib/types/position.d.ts +0 -15
- package/utils/lib/types/side.d.ts +0 -7
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import { concatAll, distinctUntilChanged, filter, map, share, shareReplay, startWith } from 'rxjs/operators';
|
|
3
|
-
import { isNumber, isString } from './type-guards';
|
|
4
|
-
function isQueueItemId(value) {
|
|
5
|
-
return isString(value) || isNumber(value);
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* A class representing a queue structure with advanced functionalities including adding, removing,
|
|
9
|
-
* updating items, and observing changes through RxJS observables. It supports generic queue item types,
|
|
10
|
-
* allowing for flexible usage across different contexts.
|
|
11
|
-
*
|
|
12
|
-
* @template T - The type of items stored in the queue. Each item must extend an object containing a unique `id`.
|
|
13
|
-
*/
|
|
14
|
-
export class Queue {
|
|
15
|
-
constructor() {
|
|
16
|
-
this.queue = new Map();
|
|
17
|
-
this.events$$ = new Subject();
|
|
18
|
-
this.values = [];
|
|
19
|
-
this.firstItem = null;
|
|
20
|
-
this.lastItem = null;
|
|
21
|
-
/**
|
|
22
|
-
* An observable that emits when an item is added to the queue.
|
|
23
|
-
*
|
|
24
|
-
* @type {Observable<T>}
|
|
25
|
-
*/
|
|
26
|
-
this.onAdd$ = this.createEventObserver('add');
|
|
27
|
-
/**
|
|
28
|
-
* An observable that emits when an item in the queue is updated.
|
|
29
|
-
*
|
|
30
|
-
* @type {Observable<T>}
|
|
31
|
-
*/
|
|
32
|
-
this.onUpdate$ = this.createEventObserver('update');
|
|
33
|
-
/**
|
|
34
|
-
* An observable that emits when an item is removed from the queue.
|
|
35
|
-
*
|
|
36
|
-
* @type {Observable<T>}
|
|
37
|
-
*/
|
|
38
|
-
this.onRemove$ = this.createEventObserver('remove');
|
|
39
|
-
/**
|
|
40
|
-
* An observable representing the current state of the queue as an array of items.
|
|
41
|
-
*
|
|
42
|
-
* @type {Observable<QueueItem<T>[]>}
|
|
43
|
-
*/
|
|
44
|
-
this.value$ = this.events$$.pipe(startWith(() => void 0), map(() => this.values), shareReplay({ bufferSize: 1, refCount: true }));
|
|
45
|
-
/**
|
|
46
|
-
* An observable that emits the current size of the queue.
|
|
47
|
-
*
|
|
48
|
-
* @type {Observable<number>}
|
|
49
|
-
*/
|
|
50
|
-
this.size$ = this.value$.pipe(map(() => this.size), distinctUntilChanged(), shareReplay({ bufferSize: 1, refCount: true }));
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Gets the size of the queue.
|
|
54
|
-
*
|
|
55
|
-
* @returns {number} - The number of elements in the queue.
|
|
56
|
-
*/
|
|
57
|
-
get size() {
|
|
58
|
-
return this.queue.size;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Checks if the specified item is the first item in the queue.
|
|
62
|
-
*
|
|
63
|
-
* @param {QueueItem<T>} item - The item to check.
|
|
64
|
-
* @returns {boolean} - Returns `true` if the item is the first item in the queue, `false` otherwise.
|
|
65
|
-
*/
|
|
66
|
-
isFirst({ id }) {
|
|
67
|
-
return this.firstItem?.id === id;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Checks if the specified item is the last item in the queue.
|
|
71
|
-
*
|
|
72
|
-
* @param {QueueItem<T>} item - The item to check.
|
|
73
|
-
* @returns {boolean} - Returns true if the item is the last item, otherwise returns false.
|
|
74
|
-
*/
|
|
75
|
-
isLast({ id }) {
|
|
76
|
-
return this.lastItem?.id === id;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Retrieves a queue item from the queue based on the provided item or item ID.
|
|
80
|
-
*
|
|
81
|
-
* @param {QueueItem<T> | QueueItemId} itemOrId - The queue item or item ID to retrieve.
|
|
82
|
-
* @returns {QueueItem<T> | null} - The queue item if found, or `null` if not found.
|
|
83
|
-
*/
|
|
84
|
-
get(itemOrId) {
|
|
85
|
-
const id = isQueueItemId(itemOrId) ? itemOrId.toString() : itemOrId.id.toString();
|
|
86
|
-
return this.queue.get(id) ?? null;
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Adds an item to the queue, optionally emitting an event.
|
|
90
|
-
*
|
|
91
|
-
* @param {QueueItem<T>} item - The item to add.
|
|
92
|
-
* @param {boolean} [emitEvent=true] - Whether to emit an event for this action.
|
|
93
|
-
* @returns {QueueItem<T>} The item added to the queue.
|
|
94
|
-
*/
|
|
95
|
-
add(item, emitEvent = true) {
|
|
96
|
-
this.remove(item, false);
|
|
97
|
-
return this.addMany([item], emitEvent)[0];
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Adds multiple items to the queue.
|
|
101
|
-
*
|
|
102
|
-
* @param {Array<QueueItem<T>>} items - An array of items to be added to the queue.
|
|
103
|
-
* @param {boolean} emitEvent - (Optional) A boolean indicating whether to emit an event after adding the items. Default is true.
|
|
104
|
-
* @returns {Array<QueueItem<T>>} An array of added items.
|
|
105
|
-
*/
|
|
106
|
-
addMany(items, emitEvent = true) {
|
|
107
|
-
const addedItems = [];
|
|
108
|
-
const updatedItems = [];
|
|
109
|
-
for (const item of items) {
|
|
110
|
-
if (!this.get(item)) {
|
|
111
|
-
addedItems.push(item);
|
|
112
|
-
}
|
|
113
|
-
else {
|
|
114
|
-
updatedItems.push(item);
|
|
115
|
-
}
|
|
116
|
-
this.queue.set(item.id.toString(), item);
|
|
117
|
-
}
|
|
118
|
-
if (addedItems.length) {
|
|
119
|
-
this.notify({ type: 'add', items: addedItems }, emitEvent);
|
|
120
|
-
}
|
|
121
|
-
if (updatedItems.length) {
|
|
122
|
-
this.notify({ type: 'update', items: updatedItems }, emitEvent);
|
|
123
|
-
}
|
|
124
|
-
return items;
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* Removes an item from the queue.
|
|
128
|
-
*
|
|
129
|
-
* @param {Array<QueueItem<T> | QueueItemId>} itemOrId - The item or ID of the item to be removed.
|
|
130
|
-
* @param {boolean} emitEvent - Whether to emit an event after removing the item. Default is `true`.
|
|
131
|
-
* @returns The removed item, or `null` if the item was not found.
|
|
132
|
-
*/
|
|
133
|
-
remove(itemOrId, emitEvent = true) {
|
|
134
|
-
return this.removeMany([itemOrId], emitEvent)[0];
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* Removes multiple items from the queue based on the provided item or item IDs.
|
|
138
|
-
*
|
|
139
|
-
* @param {Array<QueueItem<T> | QueueItemId>} itemOrIds - An array of QueueItem or QueueItemId objects representing the items to be removed.
|
|
140
|
-
* @param {boolean} emitEvent - A boolean indicating whether to emit an event after removing the items. Default is true.
|
|
141
|
-
* @returns {Array<QueueItem<T> | null>} An array of removed QueueItem objects or null values.
|
|
142
|
-
*/
|
|
143
|
-
removeMany(itemOrIds, emitEvent = true) {
|
|
144
|
-
const items = itemOrIds.map((itemOrId) => this.get(itemOrId)).filter(Boolean);
|
|
145
|
-
const removedItems = [];
|
|
146
|
-
for (const item of items) {
|
|
147
|
-
const itemRemoved = this.queue.delete(item.id.toString());
|
|
148
|
-
if (!itemRemoved)
|
|
149
|
-
continue;
|
|
150
|
-
removedItems.push(item);
|
|
151
|
-
}
|
|
152
|
-
this.notify({ type: 'remove', items: removedItems }, emitEvent);
|
|
153
|
-
return items;
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* Clears the queue by removing all items.
|
|
157
|
-
*
|
|
158
|
-
* @param {boolean} emitEvent - Whether to emit an event after clearing the queue. Default is true.
|
|
159
|
-
*/
|
|
160
|
-
clear(emitEvent = true) {
|
|
161
|
-
const items = this.toArray();
|
|
162
|
-
this.queue.clear();
|
|
163
|
-
this.notify({ type: 'remove', items }, emitEvent);
|
|
164
|
-
}
|
|
165
|
-
/**
|
|
166
|
-
* Returns an array representation of the queue.
|
|
167
|
-
*
|
|
168
|
-
* @returns {QueueItem<T>[]} An array containing all the items in the queue.
|
|
169
|
-
*/
|
|
170
|
-
toArray() {
|
|
171
|
-
return this.values;
|
|
172
|
-
}
|
|
173
|
-
notify(event, emitEvent = true) {
|
|
174
|
-
this.values = Array.from(this.queue, ([_, item]) => item).reverse();
|
|
175
|
-
this.firstItem = this.values[0] ?? null;
|
|
176
|
-
this.lastItem = this.values[this.values.length - 1] ?? null;
|
|
177
|
-
if (!emitEvent)
|
|
178
|
-
return;
|
|
179
|
-
this.events$$.next(event);
|
|
180
|
-
}
|
|
181
|
-
createEventObserver(type) {
|
|
182
|
-
return this.events$$.pipe(filter((event) => event.type === type), map(({ items }) => items), concatAll(), share());
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVldWUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvdXRpbHMvc3JjL2xpYi9oZWxwZXJzL3F1ZXVlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBYyxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDM0MsT0FBTyxFQUFFLFNBQVMsRUFBRSxvQkFBb0IsRUFBRSxNQUFNLEVBQUUsR0FBRyxFQUFFLEtBQUssRUFBRSxXQUFXLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDN0csT0FBTyxFQUFFLFFBQVEsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFPbkQsU0FBUyxhQUFhLENBQUMsS0FBYztJQUNuQyxPQUFPLFFBQVEsQ0FBQyxLQUFLLENBQUMsSUFBSSxRQUFRLENBQUMsS0FBSyxDQUFDLENBQUM7QUFDNUMsQ0FBQztBQUVEOzs7Ozs7R0FNRztBQUNILE1BQU0sT0FBTyxLQUFLO0lBQWxCO1FBQ21CLFVBQUssR0FBRyxJQUFJLEdBQUcsRUFBd0IsQ0FBQztRQUN4QyxhQUFRLEdBQUcsSUFBSSxPQUFPLEVBQWlCLENBQUM7UUFDakQsV0FBTSxHQUFtQixFQUFFLENBQUM7UUFDNUIsY0FBUyxHQUF3QixJQUFJLENBQUM7UUFDdEMsYUFBUSxHQUF3QixJQUFJLENBQUM7UUFFN0M7Ozs7V0FJRztRQUNhLFdBQU0sR0FBRyxJQUFJLENBQUMsbUJBQW1CLENBQUMsS0FBS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FlbWl0RXZlbnQpIHJldHVybjtcbiAgICB0aGlzLmV2ZW50cyQkLm5leHQoZXZlbnQpO1xuICB9XG5cbiAgcHJpdmF0ZSBjcmVhdGVFdmVudE9ic2VydmVyKHR5cGU6IFF1ZXVlRXZlbnRUeXBlKTogT2JzZXJ2YWJsZTxUPiB7XG4gICAgcmV0dXJuIHRoaXMuZXZlbnRzJCQucGlwZShcbiAgICAgIGZpbHRlcigoZXZlbnQpID0+IGV2ZW50LnR5cGUgPT09IHR5cGUpLFxuICAgICAgbWFwKCh7IGl0ZW1zIH0pID0+IGl0ZW1zKSxcbiAgICAgIGNvbmNhdEFsbCgpLFxuICAgICAgc2hhcmUoKSxcbiAgICApO1xuICB9XG59XG4iXX0=
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Constant object representing the available sort directions.
|
|
3
|
-
* @property {string} ASC - Sort in ascending order.
|
|
4
|
-
* @property {string} DESC - Sort in descending order.
|
|
5
|
-
* @readonly
|
|
6
|
-
*/
|
|
7
|
-
export const SortDirection = {
|
|
8
|
-
ASC: 'asc',
|
|
9
|
-
DESC: 'desc',
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Handles comparison for null values, assuming undefined has already been handled.
|
|
13
|
-
* - `null` is considered less than any defined (non-null, non-undefined) value.
|
|
14
|
-
* @param valA First value.
|
|
15
|
-
* @param valB Second value.
|
|
16
|
-
* @returns Comparison result (-1, 0, 1) or null if both values are non-null.
|
|
17
|
-
*/
|
|
18
|
-
function handleNullValues(valA, valB) {
|
|
19
|
-
const aIsNull = valA === null;
|
|
20
|
-
const bIsNull = valB === null;
|
|
21
|
-
if (aIsNull && bIsNull)
|
|
22
|
-
return 0;
|
|
23
|
-
if (aIsNull)
|
|
24
|
-
return -1; // valA is null, valB is not -> valA is "lesser"
|
|
25
|
-
if (bIsNull)
|
|
26
|
-
return 1; // valB is null, valA is not -> valA is "greater"
|
|
27
|
-
return null; // Both are non-null (and non-undefined at this stage of the main sorter)
|
|
28
|
-
}
|
|
29
|
-
function compareNonNullValues(valA, valB, collator) {
|
|
30
|
-
if (typeof valA === 'string' && typeof valB === 'string') {
|
|
31
|
-
return collator.compare(valA, valB);
|
|
32
|
-
}
|
|
33
|
-
else if (typeof valA === 'number' && typeof valB === 'number') {
|
|
34
|
-
return valA - valB;
|
|
35
|
-
}
|
|
36
|
-
else if (typeof valA === 'boolean' && typeof valB === 'boolean') {
|
|
37
|
-
return Number(valA) - Number(valB);
|
|
38
|
-
}
|
|
39
|
-
return collator.compare(String(valA), String(valB));
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Creates a comparison function suitable for Array.prototype.sort(),
|
|
43
|
-
* based on the provided sort parameters.
|
|
44
|
-
* Uses Intl.Collator for string comparison.
|
|
45
|
-
* Can sort arrays of objects by an extracted value (via `keyFn`) or arrays of primitives directly.
|
|
46
|
-
*
|
|
47
|
-
* Behavior for `null` and `undefined` values (either direct or returned by `keyFn`):
|
|
48
|
-
* - `undefined` values are **always** sorted to the end of the array, regardless of the sort direction.
|
|
49
|
-
* - `null` values are sorted to the beginning of the array for ASC sort.
|
|
50
|
-
* - For DESC sort, `null` values are sorted to the end of the array, but before any `undefined` values.
|
|
51
|
-
*
|
|
52
|
-
* @template T The type of items in the array.
|
|
53
|
-
* @param options Optional sorting options. If `keyFn` is not provided, items are compared directly.
|
|
54
|
-
* @returns A comparison function `(a: T, b: T) => number`.
|
|
55
|
-
*/
|
|
56
|
-
export function createSorter(options) {
|
|
57
|
-
const { keyFn: userProvidedKeyFn, sortDirection, locale, collatorOptions } = options || {};
|
|
58
|
-
if (!sortDirection || !Object.values(SortDirection).includes(sortDirection))
|
|
59
|
-
return () => 0;
|
|
60
|
-
if (userProvidedKeyFn !== undefined && typeof userProvidedKeyFn !== 'function') {
|
|
61
|
-
console.warn('createSorter: provided keyFn is not a function. Returning a no-op sorter.');
|
|
62
|
-
return () => 0;
|
|
63
|
-
}
|
|
64
|
-
// Default keyFn extracts the item itself, suitable for primitives or if T is the sortable value.
|
|
65
|
-
const keyFn = userProvidedKeyFn ?? ((item) => item);
|
|
66
|
-
const collator = new Intl.Collator(locale, collatorOptions);
|
|
67
|
-
return (itemA, itemB) => {
|
|
68
|
-
const valA = keyFn(itemA);
|
|
69
|
-
const valB = keyFn(itemB);
|
|
70
|
-
const aIsUndefined = valA === undefined;
|
|
71
|
-
const bIsUndefined = valB === undefined;
|
|
72
|
-
if (aIsUndefined && bIsUndefined)
|
|
73
|
-
return 0;
|
|
74
|
-
if (aIsUndefined)
|
|
75
|
-
return 1;
|
|
76
|
-
if (bIsUndefined)
|
|
77
|
-
return -1;
|
|
78
|
-
let comparison = 0;
|
|
79
|
-
const nullComparison = handleNullValues(valA, valB);
|
|
80
|
-
if (nullComparison !== null) {
|
|
81
|
-
comparison = nullComparison;
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
comparison = compareNonNullValues(valA, // valA is known to be not null/undefined here
|
|
85
|
-
valB, // valB is known to be not null/undefined here
|
|
86
|
-
collator);
|
|
87
|
-
}
|
|
88
|
-
return sortDirection === SortDirection.DESC ? comparison * -1 : comparison;
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ydGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL3V0aWxzL3NyYy9saWIvaGVscGVycy9zb3J0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMkJBOzs7OztHQUtHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sYUFBYSxHQUFHO0lBQzNCLEdBQUcsRUFBRSxLQUFLO0lBQ1YsSUFBSSxFQUFFLE1BQU07Q0FDSixDQUFDO0FBRVg7Ozs7OztHQU1HO0FBQ0gsU0FBUyxnQkFBZ0IsQ0FBSSxJQUFPLE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-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
/**
|
|
3
|
-
* Checks if the given value is a `ViewContainerRef`.
|
|
4
|
-
*
|
|
5
|
-
* @param {unknown} value - The value to check.
|
|
6
|
-
* @returns {value is ViewContainerRef} `true` if the value is a `ViewContainerRef`, otherwise `false`.
|
|
7
|
-
*/
|
|
8
|
-
export function isViewContainer(value) {
|
|
9
|
-
return isFunction(value?.createComponent);
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Checks if the given value is a `TemplateRef`.
|
|
13
|
-
*
|
|
14
|
-
* @template T - The embedded view type.
|
|
15
|
-
* @param {unknown} value - The value to check.
|
|
16
|
-
* @returns {value is TemplateRef<T>} `true` if the value is a `TemplateRef`, otherwise `false`.
|
|
17
|
-
*/
|
|
18
|
-
export function isTemplateRef(value) {
|
|
19
|
-
return value instanceof TemplateRef;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Checks if the given value is an Angular component class.
|
|
23
|
-
*
|
|
24
|
-
* @template T - The component class type.
|
|
25
|
-
* @param {unknown} value - The value to check.
|
|
26
|
-
* @returns {value is Type<T>} `true` if the value is a component class, otherwise `false`.
|
|
27
|
-
*/
|
|
28
|
-
export function isComponent(value) {
|
|
29
|
-
return isFunction(value);
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Checks if the given value is a string.
|
|
33
|
-
*
|
|
34
|
-
* @param {unknown} value - The value to check.
|
|
35
|
-
* @returns {value is string} `true` if the value is a string, otherwise `false`.
|
|
36
|
-
*/
|
|
37
|
-
export function isString(value) {
|
|
38
|
-
return typeof value === 'string';
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Checks if the given value is a non-empty string.
|
|
42
|
-
*
|
|
43
|
-
* @param {unknown} value - The value to check.
|
|
44
|
-
* @returns {value is string} `true` if the value is a non-empty string, otherwise `false`.
|
|
45
|
-
*/
|
|
46
|
-
export function isNonEmptyString(value) {
|
|
47
|
-
return isString(value) && value.length > 0;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Checks if the given value is a boolean.
|
|
51
|
-
*
|
|
52
|
-
* @param {unknown} value - The value to check.
|
|
53
|
-
* @returns {value is boolean} `true` if the value is a boolean, otherwise `false`.
|
|
54
|
-
*/
|
|
55
|
-
export function isBoolean(value) {
|
|
56
|
-
return value === true || value === false;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Checks if the given value is a function.
|
|
60
|
-
*
|
|
61
|
-
* @param {unknown} value - The value to check.
|
|
62
|
-
* @returns {value is CallableFunction} `true` if the value is a function, otherwise `false`.
|
|
63
|
-
*/
|
|
64
|
-
export function isFunction(value) {
|
|
65
|
-
return typeof value === 'function';
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Checks if the given value is present (not null or undefined).
|
|
69
|
-
*
|
|
70
|
-
* @template T - The value type.
|
|
71
|
-
* @param {T | null | undefined} value - The value to check.
|
|
72
|
-
* @returns {value is NonNullable<T>} `true` if the value is present, otherwise `false`.
|
|
73
|
-
*/
|
|
74
|
-
export function isPresent(value) {
|
|
75
|
-
return value !== null && value !== undefined;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Checks if the given value is a number.
|
|
79
|
-
*
|
|
80
|
-
* @param {unknown} value - The value to check.
|
|
81
|
-
* @returns {value is number} `true` if the value is a number, otherwise `false`.
|
|
82
|
-
*/
|
|
83
|
-
export function isNumber(value) {
|
|
84
|
-
return typeof value === 'number';
|
|
85
|
-
}
|
|
86
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZS1ndWFyZHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvdXRpbHMvc3JjL2xpYi9oZWxwZXJzL3R5cGUtZ3VhcmRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUF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ZXIsIG90aGVyd2lzZSBgZmFsc2VgLlxuICovXG5leHBvcnQgZnVuY3Rpb24gaXNOdW1iZXIodmFsdWU6IHVua25vd24pOiB2YWx1ZSBpcyBudW1iZXIge1xuICByZXR1cm4gdHlwZW9mIHZhbHVlID09PSAnbnVtYmVyJztcbn1cbiJdfQ==
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { DestroyRef, inject } from '@angular/core';
|
|
2
|
-
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
3
|
-
/**
|
|
4
|
-
* Creates a MonoTypeOperatorFunction that automatically unsubscribes from observables when the host component or service is destroyed.
|
|
5
|
-
* It uses Angular's `DestroyRef` to detect when the component or service is destroyed and triggers the unsubscription at that point.
|
|
6
|
-
* This utility function helps in managing subscriptions and prevents memory leaks by ensuring observables are unsubscribed when no longer needed.
|
|
7
|
-
*
|
|
8
|
-
* @returns A function that returns a `MonoTypeOperatorFunction<T>`, which can be used in an RxJS pipe to automatically unsubscribe
|
|
9
|
-
* based on the component's or service's lifecycle.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```ts
|
|
13
|
-
* // In an Angular component or service
|
|
14
|
-
* import { Component } from '@angular/core';
|
|
15
|
-
* import { Observable } from 'rxjs';
|
|
16
|
-
* import { untilDestroyed } from './path/to/untilDestroyed';
|
|
17
|
-
*
|
|
18
|
-
* @Component({
|
|
19
|
-
* selector: 'app-example',
|
|
20
|
-
* template: `<div>Example Component</div>`,
|
|
21
|
-
* })
|
|
22
|
-
* export class ExampleComponent {
|
|
23
|
-
* private readonly takeUntilDestroyed = untilDestroyed();
|
|
24
|
-
*
|
|
25
|
-
* constructor() {
|
|
26
|
-
* const exampleObservable$ = new Observable(observer => {
|
|
27
|
-
* // Observable logic here
|
|
28
|
-
* });
|
|
29
|
-
*
|
|
30
|
-
* exampleObservable$.pipe(
|
|
31
|
-
* this.takeUntilDestroyed(),
|
|
32
|
-
* ).subscribe(data => {
|
|
33
|
-
* // Subscription logic here
|
|
34
|
-
* });
|
|
35
|
-
* }
|
|
36
|
-
*
|
|
37
|
-
* // No need to manually implement ngOnDestroy to unsubscribe
|
|
38
|
-
* }
|
|
39
|
-
* ```
|
|
40
|
-
*/
|
|
41
|
-
export function untilDestroyed() {
|
|
42
|
-
const destroyRef = inject(DestroyRef);
|
|
43
|
-
return () => takeUntilDestroyed(destroyRef);
|
|
44
|
-
}
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW50aWwtZGVzdHJveWVkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL3V0aWxzL3NyYy9saWIvaGVscGVycy91bnRpbC1kZXN0cm95ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFHaEU7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FxQ0c7QUFDSCxNQUFNLFVBQVUsY0FBYztJQUM1QixNQUFNLFVBQVUsR0FBRyxNQUFNLENBQUMsVUFBVSxDQUFDLENBQUM7SUFFdEMsT0FBTyxHQUFHLEVBQUUsQ0FBQyxrQkFBa0IsQ0FBQyxVQUFVLENBQUMsQ0FBQztBQUM5QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGVzdHJveVJlZiwgaW5qZWN0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyB0YWtlVW50aWxEZXN0cm95ZWQgfSBmcm9tICdAYW5ndWxhci9jb3JlL3J4anMtaW50ZXJvcCc7XG5pbXBvcnQgeyBNb25vVHlwZU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N0cm95UmVmKTtcbn1cbiJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export const Axis = {
|
|
2
|
-
X: 'x',
|
|
3
|
-
Y: 'y',
|
|
4
|
-
};
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXhpcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci91dGlscy9zcmMvbGliL3R5cGVzL2F4aXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxDQUFDLE1BQU0sSUFBSSxHQUFHO0lBQ2xCLENBQUMsRUFBRSxHQUFHO0lBQ04sQ0FBQyxFQUFFLEdBQUc7Q0FDRSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgQXhpcyA9ICh0eXBlb2YgQXhpcylba2V5b2YgdHlwZW9mIEF4aXNdO1xuXG5leHBvcnQgY29uc3QgQXhpcyA9IHtcbiAgWDogJ3gnLFxuICBZOiAneScsXG59IGFzIGNvbnN0O1xuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXByb3BlcnRpZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvdXRpbHMvc3JjL2xpYi90eXBlcy9nZXQtcHJvcGVydGllcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsidHlwZSBNYXJrRnVuY3Rpb25Qcm9wZXJ0eU5hbWVzPFQ+ID0ge1xuICBbS2V5IGluIGtleW9mIFRdOiBUW0tleV0gZXh0ZW5kcyBDYWxsYWJsZUZ1bmN0aW9uID8gbmV2ZXIgOiBLZXk7XG59W2tleW9mIFRdO1xuXG5leHBvcnQgdHlwZSBHZXRQcm9wZXJ0aWVzPFQ+ID0gUGljazxULCBNYXJrRnVuY3Rpb25Qcm9wZXJ0eU5hbWVzPFQ+PjtcbiJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from './axis';
|
|
2
|
-
export * from './get-properties';
|
|
3
|
-
export * from './position';
|
|
4
|
-
export * from './side';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvdXRpbHMvc3JjL2xpYi90eXBlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFFBQVEsQ0FBQztBQUN2QixjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsUUFBUSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9heGlzJztcbmV4cG9ydCAqIGZyb20gJy4vZ2V0LXByb3BlcnRpZXMnO1xuZXhwb3J0ICogZnJvbSAnLi9wb3NpdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL3NpZGUnO1xuIl19
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export const Position = {
|
|
2
|
-
TOP: 'top',
|
|
3
|
-
TOP_START: 'top-start',
|
|
4
|
-
TOP_END: 'top-end',
|
|
5
|
-
RIGHT: 'right',
|
|
6
|
-
RIGHT_START: 'right-start',
|
|
7
|
-
RIGHT_END: 'right-end',
|
|
8
|
-
BOTTOM: 'bottom',
|
|
9
|
-
BOTTOM_START: 'bottom-start',
|
|
10
|
-
BOTTOM_END: 'bottom-end',
|
|
11
|
-
LEFT: 'left',
|
|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k9UVE9NX1NUQVJUOiAnYm90dG9tLXN0YXJ0JyxcbiAgQk9UVE9NX0VORDogJ2JvdHRvbS1lbmQnLFxuXG4gIExFRlQ6ICdsZWZ0JyxcbiAgTEVGVF9TVEFSVDogJ2xlZnQtc3RhcnQnLFxuICBMRUZUX0VORDogJ2xlZnQtZW5kJyxcbn0gYXMgY29uc3Q7XG4iXX0=
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export const Side = {
|
|
2
|
-
TOP: 'top',
|
|
3
|
-
RIGHT: 'right',
|
|
4
|
-
BOTTOM: 'bottom',
|
|
5
|
-
LEFT: 'left',
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci91dGlscy9zcmMvbGliL3R5cGVzL3NpZGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxDQUFDLE1BQU0sSUFBSSxHQUFHO0lBQ2xCLEdBQUcsRUFBRSxLQUFLO0lBQ1YsS0FBSyxFQUFFLE9BQU87SUFDZCxNQUFNLEVBQUUsUUFBUTtJQUNoQixJQUFJLEVBQUUsTUFBTTtDQUNKLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBTaWRlID0gKHR5cGVvZiBTaWRlKVtrZXlvZiB0eXBlb2YgU2lkZV07XG5cbmV4cG9ydCBjb25zdCBTaWRlID0ge1xuICBUT1A6ICd0b3AnLFxuICBSSUdIVDogJ3JpZ2h0JyxcbiAgQk9UVE9NOiAnYm90dG9tJyxcbiAgTEVGVDogJ2xlZnQnLFxufSBhcyBjb25zdDtcbiJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2R4LWFuZ3VsYXItdXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvdXRpbHMvc3JjL29keC1hbmd1bGFyLXV0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Type } from '@angular/core';
|
|
2
|
-
export declare const CSS_COMPONENT_NAME: "__ODX_CSSComponent_name__";
|
|
3
|
-
/** @internal */
|
|
4
|
-
export interface CSSComponent {
|
|
5
|
-
readonly element: ElementRef<HTMLElement>;
|
|
6
|
-
}
|
|
7
|
-
/** @internal */
|
|
8
|
-
export declare function CSSComponent(name: string, prefix?: string): (target: Type<CSSComponent>) => void;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CSSComponent } from './css-component';
|
|
2
|
-
/** @internal */
|
|
3
|
-
interface CSSModifierOptions {
|
|
4
|
-
withComponentPrefix?: boolean;
|
|
5
|
-
withPrefix?: boolean;
|
|
6
|
-
}
|
|
7
|
-
/** @internal */
|
|
8
|
-
export declare function CSSModifier(options?: CSSModifierOptions): (target: CSSComponent, propertyKey: PropertyKey) => void;
|
|
9
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @internal
|
|
3
|
-
* Generates a unique property name for a decorator.
|
|
4
|
-
*
|
|
5
|
-
* @param {string} decoratorName - The name of the decorator.
|
|
6
|
-
* @param {string} propertyName - The name of the property.
|
|
7
|
-
* @returns {string} - The unique property name.
|
|
8
|
-
*/
|
|
9
|
-
export declare function decoratorPropertyName<D extends string, T extends string>(decoratorName: D, propertyName: T): `__ODX_${D}_${T}__`;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const deepmerge: <Ts extends readonly unknown[]>(...objects: Ts) => import("deepmerge-ts").DeepMergeHKT<Ts, Readonly<{
|
|
2
|
-
DeepMergeRecordsURI: "DeepMergeRecordsDefaultURI";
|
|
3
|
-
DeepMergeArraysURI: "DeepMergeArraysDefaultURI";
|
|
4
|
-
DeepMergeSetsURI: "DeepMergeSetsDefaultURI";
|
|
5
|
-
DeepMergeMapsURI: "DeepMergeMapsDefaultURI";
|
|
6
|
-
DeepMergeOthersURI: "DeepMergeLeafURI";
|
|
7
|
-
DeepMergeFilterValuesURI: "DeepMergeFilterValuesDefaultURI";
|
|
8
|
-
}>, Readonly<{
|
|
9
|
-
key: PropertyKey;
|
|
10
|
-
parents: ReadonlyArray<Readonly<Record<PropertyKey, unknown>>>;
|
|
11
|
-
}>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const fastDeepEqual: (obj1: unknown, obj2: unknown) => boolean;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from './camel-to-kebab-case';
|
|
2
|
-
export * from './decorator-property-name';
|
|
3
|
-
export * from './deepmerge';
|
|
4
|
-
export * from './fast-equals';
|
|
5
|
-
export * from './get-css-variables';
|
|
6
|
-
export * from './get-enum-values';
|
|
7
|
-
export * from './toggle-form-disabled-state';
|
package/internal/lib/logger.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare class Logger {
|
|
2
|
-
private isEnabled;
|
|
3
|
-
private readonly name;
|
|
4
|
-
private readonly prefix;
|
|
5
|
-
constructor(name: string);
|
|
6
|
-
log(...data: unknown[]): void;
|
|
7
|
-
info(...data: unknown[]): void;
|
|
8
|
-
warn(...data: unknown[]): void;
|
|
9
|
-
error(...data: unknown[]): void;
|
|
10
|
-
debug(...data: unknown[]): void;
|
|
11
|
-
group(name: string, groupHandler: (this: Logger, log: (...data: unknown[]) => void) => void, collapsed?: boolean): void;
|
|
12
|
-
enable(): void;
|
|
13
|
-
disable(): void;
|
|
14
|
-
protected handle(method: 'debug' | 'log' | 'info' | 'warn' | 'error', data: unknown[]): void;
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './translation-object';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type TranslationObject = Record<string, Record<string, string>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './translate.pipe';
|