@koobiq/components 18.35.0 → 18.37.0
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/accordion/accordion.component.d.ts +1 -1
- package/app-switcher/_app-switcher-theme.scss +34 -0
- package/app-switcher/app-switcher-animations.d.ts +5 -0
- package/app-switcher/app-switcher-dropdown-app.d.ts +11 -0
- package/app-switcher/app-switcher-dropdown-app.scss +85 -0
- package/app-switcher/app-switcher-dropdown-site.d.ts +9 -0
- package/app-switcher/app-switcher-dropdown-site.scss +53 -0
- package/app-switcher/app-switcher.d.ts +191 -0
- package/app-switcher/app-switcher.module.d.ts +10 -0
- package/app-switcher/app-switcher.scss +64 -0
- package/app-switcher/index.d.ts +1 -0
- package/app-switcher/kbq-app-switcher-list-item.d.ts +16 -0
- package/app-switcher/kbq-app-switcher-list-item.scss +180 -0
- package/app-switcher/public-api.d.ts +6 -0
- package/autocomplete/autocomplete.scss +2 -17
- package/badge/badge.component.d.ts +1 -1
- package/badge/badge.component.scss +2 -0
- package/breadcrumbs/breadcrumbs.d.ts +2 -1
- package/breadcrumbs/breadcrumbs.scss +8 -4
- package/button/button.component.d.ts +3 -2
- package/button-toggle/button-toggle.scss +0 -2
- package/content-panel/content-panel.d.ts +1 -1
- package/content-panel/index.d.ts +0 -1
- package/core/common-behaviors/clipboard.d.ts +1 -1
- package/core/common-behaviors/color.d.ts +5 -5
- package/core/common-behaviors/focus-monitor.d.ts +19 -0
- package/core/common-behaviors/hover.d.ts +15 -0
- package/core/common-behaviors/index.d.ts +4 -0
- package/core/common-behaviors/orientation.d.ts +4 -0
- package/core/common-behaviors/read-state.d.ts +12 -0
- package/core/locales/en-US.d.ts +62 -0
- package/core/locales/es-LA.d.ts +62 -0
- package/core/locales/formatters.d.ts +0 -72
- package/core/locales/index.d.ts +0 -2
- package/core/locales/locale-service.d.ts +292 -250
- package/core/locales/pt-BR.d.ts +62 -0
- package/core/locales/ru-RU.d.ts +62 -0
- package/core/locales/tk-TM.d.ts +62 -0
- package/core/locales/types.d.ts +22 -0
- package/core/navbar/rectangle-item.d.ts +1 -1
- package/core/option/action.d.ts +1 -1
- package/core/option/option.d.ts +3 -2
- package/core/pop-up/constants.d.ts +2 -1
- package/core/pop-up/pop-up-trigger.d.ts +3 -3
- package/core/pop-up/pop-up.d.ts +2 -1
- package/core/select/common.d.ts +6 -1
- package/core/select/constants.d.ts +5 -0
- package/core/styles/common/_select.scss +25 -0
- package/core/styles/typography/_typography.scss +23 -82
- package/core/utils/dom.d.ts +1 -6
- package/datepicker/datepicker-module.d.ts +2 -1
- package/divider/divider.scss +1 -0
- package/dropdown/dropdown-item.scss +8 -7
- package/dropdown/dropdown.component.d.ts +5 -1
- package/dropdown/dropdown.module.d.ts +1 -1
- package/dropdown/dropdown.scss +5 -14
- package/esm2022/accordion/accordion-content.mjs +3 -3
- package/esm2022/accordion/accordion-header.mjs +3 -3
- package/esm2022/accordion/accordion-item.mjs +3 -3
- package/esm2022/accordion/accordion-trigger.component.mjs +3 -3
- package/esm2022/accordion/accordion.component.mjs +5 -5
- package/esm2022/accordion/accordion.module.mjs +4 -4
- package/esm2022/actions-panel/actions-panel-container.mjs +3 -3
- package/esm2022/actions-panel/actions-panel.mjs +3 -3
- package/esm2022/actions-panel/module.mjs +4 -4
- package/esm2022/alert/alert.component.mjs +12 -12
- package/esm2022/alert/alert.module.mjs +4 -4
- package/esm2022/app-switcher/app-switcher-animations.mjs +18 -0
- package/esm2022/app-switcher/app-switcher-dropdown-app.mjs +75 -0
- package/esm2022/app-switcher/app-switcher-dropdown-site.mjs +60 -0
- package/esm2022/app-switcher/app-switcher.mjs +446 -0
- package/esm2022/app-switcher/app-switcher.module.mjs +45 -0
- package/esm2022/app-switcher/index.mjs +2 -0
- package/esm2022/app-switcher/kbq-app-switcher-list-item.mjs +84 -0
- package/esm2022/app-switcher/koobiq-components-app-switcher.mjs +5 -0
- package/esm2022/app-switcher/public-api.mjs +7 -0
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +3 -3
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +7 -7
- package/esm2022/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/autocomplete/autocomplete.module.mjs +4 -4
- package/esm2022/badge/badge.component.mjs +11 -11
- package/esm2022/badge/badge.module.mjs +4 -4
- package/esm2022/breadcrumbs/breadcrumbs.mjs +58 -49
- package/esm2022/breadcrumbs/breadcrumbs.module.mjs +4 -4
- package/esm2022/button/button.component.mjs +12 -10
- package/esm2022/button/button.dropdown-trigger.directive.mjs +3 -3
- package/esm2022/button/button.module.mjs +4 -4
- package/esm2022/button-toggle/button-toggle.component.mjs +8 -8
- package/esm2022/button-toggle/button-toggle.module.mjs +4 -4
- package/esm2022/checkbox/checkbox-module.mjs +4 -4
- package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
- package/esm2022/checkbox/checkbox.mjs +3 -3
- package/esm2022/clamped-text/clamped-text.mjs +3 -3
- package/esm2022/clamped-text/module.mjs +4 -4
- package/esm2022/code-block/code-block-highlight.mjs +12 -7
- package/esm2022/code-block/code-block.mjs +4 -4
- package/esm2022/code-block/code-block.module.mjs +4 -4
- package/esm2022/content-panel/content-panel.mjs +26 -26
- package/esm2022/content-panel/index.mjs +1 -2
- package/esm2022/content-panel/module.mjs +4 -4
- package/esm2022/core/common-behaviors/clipboard.mjs +4 -4
- package/esm2022/core/common-behaviors/color.mjs +7 -7
- package/esm2022/core/common-behaviors/common-module.mjs +6 -5
- package/esm2022/core/common-behaviors/disabled.mjs +2 -1
- package/esm2022/core/common-behaviors/error-state.mjs +2 -1
- package/esm2022/core/common-behaviors/focus-monitor.mjs +37 -0
- package/esm2022/core/common-behaviors/hover.mjs +34 -0
- package/esm2022/core/common-behaviors/index.mjs +5 -1
- package/esm2022/core/common-behaviors/orientation.mjs +2 -0
- package/esm2022/core/common-behaviors/read-state.mjs +33 -0
- package/esm2022/core/common-behaviors/tabindex.mjs +2 -1
- package/esm2022/core/error/error-state-matcher.mjs +9 -9
- package/esm2022/core/form-field/field-sizing-content.mjs +8 -5
- package/esm2022/core/formatters/date/formatter.mjs +3 -3
- package/esm2022/core/formatters/date/formatter.pipe.mjs +78 -78
- package/esm2022/core/formatters/filesize/formatter.mjs +3 -3
- package/esm2022/core/formatters/index.mjs +4 -4
- package/esm2022/core/formatters/number/formatter.mjs +14 -14
- package/esm2022/core/forms/forms-module.mjs +4 -4
- package/esm2022/core/forms/forms.directive.mjs +6 -6
- package/esm2022/core/highlight/highlight.pipe.mjs +3 -3
- package/esm2022/core/highlight/index.mjs +4 -4
- package/esm2022/core/line/line.mjs +7 -7
- package/esm2022/core/locales/en-US.mjs +105 -1
- package/esm2022/core/locales/es-LA.mjs +114 -10
- package/esm2022/core/locales/formatters.mjs +1 -73
- package/esm2022/core/locales/index.mjs +1 -3
- package/esm2022/core/locales/locale-service.mjs +5 -11
- package/esm2022/core/locales/locale-service.module.mjs +4 -4
- package/esm2022/core/locales/pt-BR.mjs +123 -19
- package/esm2022/core/locales/ru-RU.mjs +119 -1
- package/esm2022/core/locales/tk-TM.mjs +128 -24
- package/esm2022/core/locales/types.mjs +1 -1
- package/esm2022/core/navbar/rectangle-item.mjs +7 -6
- package/esm2022/core/option/action-container.mjs +3 -3
- package/esm2022/core/option/action.mjs +4 -4
- package/esm2022/core/option/optgroup.mjs +3 -3
- package/esm2022/core/option/option-module.mjs +4 -4
- package/esm2022/core/option/option.mjs +13 -9
- package/esm2022/core/pop-up/constants.mjs +2 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +7 -6
- package/esm2022/core/pop-up/pop-up.mjs +4 -4
- package/esm2022/core/select/common.mjs +35 -19
- package/esm2022/core/select/constants.mjs +6 -1
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
- package/esm2022/core/services/measure-scrollbar.service.mjs +3 -3
- package/esm2022/core/services/theme.service.mjs +3 -3
- package/esm2022/core/utils/dom.mjs +2 -8
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +3 -3
- package/esm2022/datepicker/calendar-header.component.mjs +7 -6
- package/esm2022/datepicker/calendar.component.mjs +3 -3
- package/esm2022/datepicker/datepicker-input.directive.mjs +6 -6
- package/esm2022/datepicker/datepicker-intl.mjs +3 -3
- package/esm2022/datepicker/datepicker-module.mjs +11 -8
- package/esm2022/datepicker/datepicker-toggle.component.mjs +9 -9
- package/esm2022/datepicker/datepicker.component.mjs +6 -6
- package/esm2022/datepicker/month-view.component.mjs +3 -3
- package/esm2022/divider/divider.component.mjs +4 -4
- package/esm2022/divider/divider.module.mjs +4 -4
- package/esm2022/dl/dl.component.mjs +9 -9
- package/esm2022/dl/dl.module.mjs +4 -4
- package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown-item.component.mjs +5 -5
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +5 -5
- package/esm2022/dropdown/dropdown.component.mjs +18 -8
- package/esm2022/dropdown/dropdown.module.mjs +14 -10
- package/esm2022/dynamic-translation/dynamic-translation.mjs +9 -9
- package/esm2022/dynamic-translation/module.mjs +4 -4
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +12 -9
- package/esm2022/empty-state/empty-state.component.mjs +15 -15
- package/esm2022/empty-state/empty-state.module.mjs +4 -4
- package/esm2022/file-upload/file-drop.mjs +7 -5
- package/esm2022/file-upload/file-upload.mjs +1 -1
- package/esm2022/file-upload/file-upload.module.mjs +4 -4
- package/esm2022/file-upload/multiple-file-upload.component.mjs +20 -13
- package/esm2022/file-upload/single-file-upload.component.mjs +19 -6
- package/esm2022/filter-bar/filter-bar-button.mjs +3 -3
- package/esm2022/filter-bar/filter-bar.mjs +8 -4
- package/esm2022/filter-bar/filter-bar.module.mjs +4 -4
- package/esm2022/filter-bar/filter-refresher.mjs +3 -3
- package/esm2022/filter-bar/filter-reset.mjs +3 -3
- package/esm2022/filter-bar/filter-search.mjs +6 -6
- package/esm2022/filter-bar/filters.mjs +12 -7
- package/esm2022/filter-bar/pipe-add.mjs +6 -5
- package/esm2022/filter-bar/pipe.directive.mjs +3 -3
- package/esm2022/filter-bar/pipes/base-pipe.mjs +17 -9
- package/esm2022/filter-bar/pipes/pipe-button.mjs +3 -3
- package/esm2022/filter-bar/pipes/pipe-date.mjs +6 -6
- package/esm2022/filter-bar/pipes/pipe-datetime.mjs +6 -6
- package/esm2022/filter-bar/pipes/pipe-multi-select.mjs +15 -9
- package/esm2022/filter-bar/pipes/pipe-multi-tree-select.mjs +12 -7
- package/esm2022/filter-bar/pipes/pipe-readonly.mjs +6 -6
- package/esm2022/filter-bar/pipes/pipe-select.mjs +6 -6
- package/esm2022/filter-bar/pipes/pipe-state.mjs +3 -3
- package/esm2022/filter-bar/pipes/pipe-text.mjs +6 -6
- package/esm2022/filter-bar/pipes/pipe-title.mjs +26 -21
- package/esm2022/filter-bar/pipes/pipe-tree-select.mjs +6 -6
- package/esm2022/form-field/cleaner.mjs +3 -3
- package/esm2022/form-field/error.mjs +3 -3
- package/esm2022/form-field/fieldset.mjs +11 -11
- package/esm2022/form-field/form-field.mjs +11 -11
- package/esm2022/form-field/form-field.module.mjs +4 -4
- package/esm2022/form-field/hint.mjs +3 -3
- package/esm2022/form-field/label.mjs +3 -3
- package/esm2022/form-field/password-hint.mjs +3 -3
- package/esm2022/form-field/password-toggle.mjs +7 -7
- package/esm2022/form-field/prefix.mjs +3 -3
- package/esm2022/form-field/reactive-password-hint.mjs +3 -3
- package/esm2022/form-field/stepper.mjs +44 -13
- package/esm2022/form-field/suffix.mjs +3 -3
- package/esm2022/form-field/validate.directive.mjs +3 -3
- package/esm2022/icon/icon-button.component.mjs +3 -3
- package/esm2022/icon/icon-item.component.mjs +3 -3
- package/esm2022/icon/icon.component.mjs +4 -4
- package/esm2022/icon/icon.module.mjs +4 -4
- package/esm2022/inline-edit/index.mjs +3 -0
- package/esm2022/inline-edit/inline-edit.mjs +382 -0
- package/esm2022/inline-edit/koobiq-components-inline-edit.mjs +5 -0
- package/esm2022/inline-edit/module.mjs +25 -0
- package/esm2022/input/input-number-validators.mjs +6 -6
- package/esm2022/input/input-number.mjs +10 -9
- package/esm2022/input/input-password.mjs +4 -4
- package/esm2022/input/input.mjs +7 -7
- package/esm2022/input/input.module.mjs +11 -8
- package/esm2022/link/link.component.mjs +6 -6
- package/esm2022/link/link.module.mjs +4 -4
- package/esm2022/list/list-selection.component.mjs +40 -24
- package/esm2022/list/list.component.mjs +6 -6
- package/esm2022/list/list.module.mjs +4 -4
- package/esm2022/loader-overlay/loader-overlay.component.mjs +13 -13
- package/esm2022/loader-overlay/loader-overlay.module.mjs +4 -4
- package/esm2022/markdown/markdown.component.mjs +10 -10
- package/esm2022/markdown/markdown.module.mjs +4 -4
- package/esm2022/markdown/markdown.service.mjs +3 -3
- package/esm2022/modal/css-unit.pipe.mjs +3 -3
- package/esm2022/modal/modal-control.service.mjs +3 -3
- package/esm2022/modal/modal-util.mjs +7 -3
- package/esm2022/modal/modal.component.mjs +5 -5
- package/esm2022/modal/modal.directive.mjs +12 -12
- package/esm2022/modal/modal.module.mjs +4 -4
- package/esm2022/modal/modal.service.mjs +5 -4
- package/esm2022/navbar/navbar-item.component.mjs +53 -44
- package/esm2022/navbar/navbar.component.mjs +17 -13
- package/esm2022/navbar/navbar.module.mjs +4 -4
- package/esm2022/navbar/vertical-navbar.component.mjs +6 -6
- package/esm2022/navbar-ic/navbar-ic-header.mjs +25 -9
- package/esm2022/navbar-ic/navbar-ic-item.mjs +35 -44
- package/esm2022/navbar-ic/navbar-ic.animation.mjs +10 -2
- package/esm2022/navbar-ic/navbar-ic.mjs +50 -21
- package/esm2022/navbar-ic/navbar-ic.module.mjs +4 -4
- package/esm2022/notification-center/index.mjs +2 -0
- package/esm2022/notification-center/koobiq-components-notification-center.mjs +5 -0
- package/esm2022/notification-center/notification-center-animations.mjs +18 -0
- package/esm2022/notification-center/notification-center.mjs +353 -0
- package/esm2022/notification-center/notification-center.module.mjs +38 -0
- package/esm2022/notification-center/notification-center.service.mjs +127 -0
- package/esm2022/notification-center/notification-item.mjs +70 -0
- package/esm2022/notification-center/public-api.mjs +5 -0
- package/esm2022/overflow-items/module.mjs +4 -4
- package/esm2022/overflow-items/overflow-items.mjs +95 -41
- package/esm2022/popover/popover-confirm.component.mjs +10 -10
- package/esm2022/popover/popover.component.mjs +31 -13
- package/esm2022/popover/popover.module.mjs +4 -4
- package/esm2022/progress-bar/progress-bar.component.mjs +9 -9
- package/esm2022/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2022/progress-spinner/progress-spinner.component.mjs +9 -9
- package/esm2022/progress-spinner/progress-spinner.module.mjs +4 -4
- package/esm2022/radio/radio.component.mjs +6 -6
- package/esm2022/radio/radio.module.mjs +4 -4
- package/esm2022/resizer/index.mjs +3 -0
- package/esm2022/resizer/koobiq-components-resizer.mjs +5 -0
- package/esm2022/resizer/module.mjs +17 -0
- package/esm2022/resizer/resizer.mjs +135 -0
- package/esm2022/risk-level/risk-level.component.mjs +3 -3
- package/esm2022/risk-level/risk-level.module.mjs +4 -4
- package/esm2022/scrollbar/scrollbar.component.mjs +3 -3
- package/esm2022/scrollbar/scrollbar.directive.mjs +7 -6
- package/esm2022/scrollbar/scrollbar.module.mjs +4 -4
- package/esm2022/search-expandable/index.mjs +2 -0
- package/esm2022/search-expandable/koobiq-components-search-expandable.mjs +5 -0
- package/esm2022/search-expandable/public-api.mjs +3 -0
- package/esm2022/search-expandable/search-expandable.mjs +177 -0
- package/esm2022/search-expandable/search-expandable.module.mjs +18 -0
- package/esm2022/select/select-option.directive.mjs +3 -3
- package/esm2022/select/select.component.mjs +38 -23
- package/esm2022/select/select.module.mjs +12 -8
- package/esm2022/sidebar/sidebar.component.mjs +9 -9
- package/esm2022/sidebar/sidebar.module.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-container.component.mjs +5 -5
- package/esm2022/sidepanel/sidepanel-directives.mjs +15 -15
- package/esm2022/sidepanel/sidepanel.module.mjs +4 -4
- package/esm2022/sidepanel/sidepanel.service.mjs +3 -3
- package/esm2022/split-button/index.mjs +2 -0
- package/esm2022/split-button/koobiq-components-split-button.mjs +5 -0
- package/esm2022/split-button/public-api.mjs +3 -0
- package/esm2022/split-button/split-button.mjs +133 -0
- package/esm2022/split-button/split-button.module.mjs +18 -0
- package/esm2022/splitter/splitter.component.mjs +13 -13
- package/esm2022/splitter/splitter.module.mjs +4 -4
- package/esm2022/table/table.component.mjs +6 -6
- package/esm2022/table/table.module.mjs +4 -4
- package/esm2022/tabs/paginated-tab-header.mjs +4 -4
- package/esm2022/tabs/tab-body.component.mjs +6 -6
- package/esm2022/tabs/tab-content.directive.mjs +3 -3
- package/esm2022/tabs/tab-group.component.mjs +15 -15
- package/esm2022/tabs/tab-header.component.mjs +4 -4
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +4 -4
- package/esm2022/tabs/tab-label.directive.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar.mjs +10 -10
- package/esm2022/tabs/tab.component.mjs +3 -3
- package/esm2022/tabs/tabs.module.mjs +4 -4
- package/esm2022/tags/tag-input.mjs +38 -36
- package/esm2022/tags/tag-list.component.mjs +281 -250
- package/esm2022/tags/tag.component.mjs +206 -140
- package/esm2022/tags/tag.module.mjs +4 -4
- package/esm2022/textarea/textarea.component.mjs +5 -5
- package/esm2022/textarea/textarea.module.mjs +7 -6
- package/esm2022/time-range/constants.mjs +42 -0
- package/esm2022/time-range/index.mjs +8 -0
- package/esm2022/time-range/koobiq-components-time-range.mjs +5 -0
- package/esm2022/time-range/module.mjs +36 -0
- package/esm2022/time-range/time-range-editor.mjs +224 -0
- package/esm2022/time-range/time-range-title-as-form-field.mjs +60 -0
- package/esm2022/time-range/time-range-title.mjs +112 -0
- package/esm2022/time-range/time-range.mjs +234 -0
- package/esm2022/time-range/time-range.service.mjs +126 -0
- package/esm2022/time-range/types.mjs +2 -0
- package/esm2022/timepicker/timepicker.directive.mjs +4 -4
- package/esm2022/timepicker/timepicker.module.mjs +9 -8
- package/esm2022/timezone/cities-by-filter.pipe.mjs +3 -3
- package/esm2022/timezone/timezone-option.component.mjs +5 -5
- package/esm2022/timezone/timezone-option.directive.mjs +3 -3
- package/esm2022/timezone/timezone-select.component.mjs +9 -9
- package/esm2022/timezone/timezone.module.mjs +10 -8
- package/esm2022/timezone/utc-offset.pipe.mjs +3 -3
- package/esm2022/title/title.directive.mjs +9 -5
- package/esm2022/title/title.module.mjs +4 -4
- package/esm2022/toast/toast-container.component.mjs +3 -3
- package/esm2022/toast/toast.component.mjs +20 -14
- package/esm2022/toast/toast.module.mjs +4 -4
- package/esm2022/toast/toast.service.mjs +5 -4
- package/esm2022/toast/toast.type.mjs +1 -1
- package/esm2022/toggle/toggle.component.mjs +6 -6
- package/esm2022/toggle/toggle.module.mjs +4 -4
- package/esm2022/tooltip/tooltip.component.mjs +19 -19
- package/esm2022/tooltip/tooltip.module.mjs +4 -4
- package/esm2022/top-bar/module.mjs +4 -4
- package/esm2022/top-bar/top-bar.mjs +11 -11
- package/esm2022/tree/node.mjs +3 -3
- package/esm2022/tree/outlet.mjs +3 -3
- package/esm2022/tree/padding.directive.mjs +3 -3
- package/esm2022/tree/toggle.mjs +16 -12
- package/esm2022/tree/tree-base.mjs +7 -7
- package/esm2022/tree/tree-option.component.mjs +11 -14
- package/esm2022/tree/tree-selection.component.mjs +26 -16
- package/esm2022/tree/tree.mjs +3 -3
- package/esm2022/tree/tree.module.mjs +4 -4
- package/esm2022/tree-select/tree-select.component.mjs +142 -84
- package/esm2022/tree-select/tree-select.module.mjs +11 -8
- package/esm2022/username/module.mjs +4 -4
- package/esm2022/username/username.mjs +15 -15
- package/esm2022/username/username.pipe.mjs +8 -8
- package/fesm2022/koobiq-components-accordion.mjs +20 -20
- package/fesm2022/koobiq-components-accordion.mjs.map +1 -1
- package/fesm2022/koobiq-components-actions-panel.mjs +10 -10
- package/fesm2022/koobiq-components-alert.mjs +16 -16
- package/fesm2022/koobiq-components-app-switcher.mjs +704 -0
- package/fesm2022/koobiq-components-app-switcher.mjs.map +1 -0
- package/fesm2022/koobiq-components-autocomplete.mjs +16 -16
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +14 -14
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-breadcrumbs.mjs +61 -52
- package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +12 -12
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +18 -16
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +10 -10
- package/fesm2022/koobiq-components-clamped-text.mjs +7 -7
- package/fesm2022/koobiq-components-code-block.mjs +18 -13
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-content-panel.mjs +31 -165
- package/fesm2022/koobiq-components-content-panel.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +962 -581
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +47 -44
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs +8 -8
- package/fesm2022/koobiq-components-divider.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +13 -13
- package/fesm2022/koobiq-components-dropdown.mjs +41 -27
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-dynamic-translation.mjs +13 -13
- package/fesm2022/koobiq-components-ellipsis-center.mjs +11 -8
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +19 -19
- package/fesm2022/koobiq-components-file-upload.mjs +45 -25
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +147 -114
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +100 -73
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +13 -13
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-inline-edit.mjs +411 -0
- package/fesm2022/koobiq-components-inline-edit.mjs.map +1 -0
- package/fesm2022/koobiq-components-input.mjs +34 -31
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +10 -10
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +49 -33
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +16 -16
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +16 -16
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +36 -31
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar-ic.mjs +122 -81
- package/fesm2022/koobiq-components-navbar-ic.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +77 -64
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-notification-center.mjs +586 -0
- package/fesm2022/koobiq-components-notification-center.mjs.map +1 -0
- package/fesm2022/koobiq-components-overflow-items.mjs +98 -44
- package/fesm2022/koobiq-components-overflow-items.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +43 -25
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +13 -13
- package/fesm2022/koobiq-components-progress-spinner.mjs +13 -13
- package/fesm2022/koobiq-components-radio.mjs +10 -10
- package/fesm2022/koobiq-components-resizer.mjs +156 -0
- package/fesm2022/koobiq-components-resizer.mjs.map +1 -0
- package/fesm2022/koobiq-components-risk-level.mjs +7 -7
- package/fesm2022/koobiq-components-scrollbar.mjs +13 -12
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-search-expandable.mjs +199 -0
- package/fesm2022/koobiq-components-search-expandable.mjs.map +1 -0
- package/fesm2022/koobiq-components-select.mjs +51 -33
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +13 -13
- package/fesm2022/koobiq-components-sidepanel.mjs +26 -26
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-split-button.mjs +155 -0
- package/fesm2022/koobiq-components-split-button.mjs.map +1 -0
- package/fesm2022/koobiq-components-splitter.mjs +16 -16
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +10 -10
- package/fesm2022/koobiq-components-tabs.mjs +52 -52
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +522 -428
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +10 -10
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-time-range.mjs +809 -0
- package/fesm2022/koobiq-components-time-range.mjs.map +1 -0
- package/fesm2022/koobiq-components-timepicker.mjs +11 -11
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +31 -29
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +12 -8
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +28 -21
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +9 -9
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +22 -22
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-top-bar.mjs +15 -15
- package/fesm2022/koobiq-components-top-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +151 -91
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +72 -61
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/fesm2022/koobiq-components-username.mjs +27 -27
- package/file-upload/_file-upload-theme.scss +33 -35
- package/file-upload/file-upload-tokens.scss +1 -2
- package/file-upload/file-upload.d.ts +1 -1
- package/file-upload/file-upload.scss +4 -7
- package/file-upload/multiple-file-upload.component.d.ts +2 -1
- package/file-upload/multiple-file-upload.component.scss +12 -14
- package/file-upload/single-file-upload.component.d.ts +2 -0
- package/file-upload/single-file-upload.component.scss +5 -7
- package/filter-bar/filter-bar.d.ts +3 -1
- package/filter-bar/filter-search.scss +1 -3
- package/filter-bar/filters.d.ts +1 -0
- package/filter-bar/pipes/base-pipe.d.ts +6 -2
- package/filter-bar/pipes/base-pipe.scss +3 -3
- package/filter-bar/pipes/pipe-date.scss +4 -1
- package/filter-bar/pipes/pipe-title.d.ts +2 -0
- package/form-field/fieldset-tokens.scss +1 -0
- package/form-field/form-field-tokens.scss +1 -1
- package/form-field/form-field.d.ts +1 -1
- package/form-field/form-field.scss +7 -7
- package/form-field/password-toggle.d.ts +1 -1
- package/form-field/stepper.d.ts +28 -6
- package/icon/icon.component.d.ts +2 -2
- package/inline-edit/index.d.ts +2 -0
- package/inline-edit/inline-edit-tokens.scss +8 -0
- package/inline-edit/inline-edit.d.ts +140 -0
- package/inline-edit/inline-edit.scss +208 -0
- package/inline-edit/module.d.ts +7 -0
- package/input/input-number.d.ts +1 -1
- package/input/input-password.d.ts +2 -2
- package/input/input.d.ts +2 -2
- package/input/input.module.d.ts +2 -1
- package/link/link.component.d.ts +3 -3
- package/list/list-selection.component.d.ts +13 -2
- package/loader-overlay/loader-overlay.component.d.ts +1 -1
- package/markdown/_markdown-theme.scss +1 -2
- package/markdown/markdown-tokens.scss +1 -0
- package/markdown/markdown.scss +10 -4
- package/modal/modal-tokens.scss +2 -1
- package/modal/modal-util.d.ts +5 -2
- package/modal/modal.component.d.ts +1 -1
- package/modal/modal.scss +3 -4
- package/navbar/_navbar-item_vertical.scss +10 -0
- package/navbar/navbar-brand.scss +5 -2
- package/navbar/navbar-item.component.d.ts +3 -2
- package/navbar/navbar.component.d.ts +4 -4
- package/navbar/vertical-navbar.component.d.ts +2 -2
- package/navbar/vertical-navbar.scss +1 -0
- package/navbar-ic/navbar-ic-header.d.ts +4 -3
- package/navbar-ic/navbar-ic-header.scss +0 -4
- package/navbar-ic/navbar-ic-item.d.ts +3 -2
- package/navbar-ic/navbar-ic-item.scss +0 -4
- package/navbar-ic/navbar-ic.animation.d.ts +1 -0
- package/navbar-ic/navbar-ic.d.ts +11 -2
- package/notification-center/_notification-center-theme.scss +27 -0
- package/notification-center/index.d.ts +1 -0
- package/notification-center/notification-center-animations.d.ts +5 -0
- package/notification-center/notification-center.d.ts +153 -0
- package/notification-center/notification-center.module.d.ts +7 -0
- package/notification-center/notification-center.scss +126 -0
- package/notification-center/notification-center.service.d.ts +72 -0
- package/notification-center/notification-item.d.ts +27 -0
- package/notification-center/notification-item.scss +157 -0
- package/notification-center/public-api.d.ts +4 -0
- package/overflow-items/overflow-items.d.ts +23 -9
- package/package.json +46 -4
- package/popover/popover-tokens.scss +1 -0
- package/popover/popover.component.d.ts +9 -1
- package/popover/popover.scss +18 -11
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/prebuilt-themes/theme.css +1 -1
- package/resizer/index.d.ts +2 -0
- package/resizer/module.d.ts +7 -0
- package/{content-panel/resizable.d.ts → resizer/resizer.d.ts} +18 -13
- package/schematics/collection.json +5 -0
- package/schematics/migrations/icons-replacement/README.md +93 -0
- package/schematics/migrations/icons-replacement/data.js +92 -0
- package/schematics/migrations/icons-replacement/index.js +84 -0
- package/schematics/migrations/icons-replacement/schema.json +32 -0
- package/schematics/ng-add/index.js +6 -6
- package/scrollbar/scrollbar.component.scss +2 -3
- package/search-expandable/index.d.ts +1 -0
- package/search-expandable/public-api.d.ts +2 -0
- package/search-expandable/search-expandable.d.ts +70 -0
- package/search-expandable/search-expandable.module.d.ts +7 -0
- package/search-expandable/search-expandable.scss +21 -0
- package/select/select.component.d.ts +38 -3
- package/select/select.module.d.ts +2 -1
- package/select/select.scss +1 -17
- package/sidepanel/sidepanel-tokens.scss +2 -0
- package/sidepanel/sidepanel.scss +2 -0
- package/split-button/_split-button-theme.scss +114 -0
- package/split-button/index.d.ts +1 -0
- package/split-button/public-api.d.ts +2 -0
- package/split-button/split-button.d.ts +37 -0
- package/split-button/split-button.module.d.ts +7 -0
- package/split-button/split-button.scss +72 -0
- package/splitter/splitter.component.d.ts +5 -5
- package/tabs/paginated-tab-header.d.ts +1 -1
- package/tabs/tab-header.component.d.ts +2 -2
- package/tabs/tab-label-wrapper.directive.d.ts +2 -2
- package/tabs/tab-nav-bar.d.ts +3 -3
- package/tags/_tag-theme.scss +21 -15
- package/tags/tag-input.d.ts +18 -7
- package/tags/tag-list.component.d.ts +175 -64
- package/tags/tag-list.scss +24 -14
- package/tags/tag-tokens.scss +17 -1
- package/tags/tag.component.d.ts +91 -27
- package/tags/tag.scss +9 -0
- package/textarea/textarea-tokens.scss +6 -1
- package/textarea/textarea.component.d.ts +2 -2
- package/textarea/textarea.module.d.ts +2 -1
- package/textarea/textarea.scss +4 -0
- package/time-range/constants.d.ts +19 -0
- package/time-range/index.d.ts +7 -0
- package/time-range/module.d.ts +10 -0
- package/time-range/time-range-editor.d.ts +65 -0
- package/time-range/time-range-title-as-form-field.d.ts +41 -0
- package/time-range/time-range-title.d.ts +18 -0
- package/time-range/time-range.d.ts +78 -0
- package/time-range/time-range.scss +66 -0
- package/time-range/time-range.service.d.ts +25 -0
- package/time-range/types.d.ts +69 -0
- package/timepicker/timepicker.directive.d.ts +2 -2
- package/timepicker/timepicker.module.d.ts +2 -1
- package/timezone/timezone-option.component.scss +6 -0
- package/timezone/timezone.module.d.ts +1 -1
- package/toast/toast.component.d.ts +6 -4
- package/toast/toast.component.scss +11 -1
- package/toast/toast.service.d.ts +1 -0
- package/toast/toast.type.d.ts +1 -0
- package/toggle/_toggle-theme.scss +8 -5
- package/toggle/toggle-tokens.scss +0 -1
- package/toggle/toggle.scss +11 -15
- package/top-bar/top-bar-tokens.scss +1 -1
- package/top-bar/top-bar.scss +3 -0
- package/tree/toggle.d.ts +1 -1
- package/tree/tree-base.d.ts +2 -2
- package/tree/tree-option.component.d.ts +2 -1
- package/tree/tree-selection.component.d.ts +12 -3
- package/tree-select/tree-select.component.d.ts +49 -8
- package/tree-select/tree-select.module.d.ts +2 -1
- package/tree-select/tree-select.scss +4 -0
- package/core/locales/fa-IR.d.ts +0 -100
- package/core/locales/zh-CN.d.ts +0 -100
- package/esm2022/content-panel/resizable.mjs +0 -138
- package/esm2022/core/locales/fa-IR.mjs +0 -99
- package/esm2022/core/locales/zh-CN.mjs +0 -99
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { KbqPopoverTrigger } from '@koobiq/components/popover';
|
|
2
|
+
import { DurationObjectUnits, DurationUnit } from '@koobiq/date-adapter';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a time range with optional start and end date-time values.
|
|
5
|
+
* Used as a form value when range in popover change.
|
|
6
|
+
*/
|
|
7
|
+
export interface KbqRangeValue<T> {
|
|
8
|
+
fromTime?: T;
|
|
9
|
+
fromDate?: T;
|
|
10
|
+
toTime?: T;
|
|
11
|
+
toDate?: T;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Represents a time range with optional start and end date-time values.
|
|
15
|
+
* Used as a range value by default.
|
|
16
|
+
*/
|
|
17
|
+
export type KbqRange = {
|
|
18
|
+
startDateTime?: string;
|
|
19
|
+
endDateTime?: string;
|
|
20
|
+
};
|
|
21
|
+
/** Range type selected */
|
|
22
|
+
export type KbqTimeRangeTypeContext = {
|
|
23
|
+
type: KbqTimeRangeType;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Main range information.
|
|
27
|
+
* Used for a popover date range selection, when selected type is range,
|
|
28
|
+
* and for trigger information calculation.
|
|
29
|
+
*/
|
|
30
|
+
export type KbqTimeRangeRange = KbqRange & KbqTimeRangeTypeContext;
|
|
31
|
+
/** Default accepted “time‑range” identifiers. */
|
|
32
|
+
export type KbqTimeRangeType = 'lastMinute' | 'last5Minutes' | 'last15Minutes' | 'last30Minutes' | 'lastHour' | 'last24Hours' | 'last3Days' | 'last7Days' | 'last14Days' | 'last30Days' | 'last3Months' | 'last12Months' | 'allTime' | 'currentQuarter' | 'currentYear' | 'range';
|
|
33
|
+
/** Property representing duration output unit */
|
|
34
|
+
export type KbqTimeRangeTranslationType = Exclude<DurationUnit, 'quarters' | 'milliseconds'> | 'other';
|
|
35
|
+
/**
|
|
36
|
+
* Configuration for a custom time range with duration metadata.
|
|
37
|
+
* Defines a time range with its identifier, duration units, and optional fixed date range.
|
|
38
|
+
*/
|
|
39
|
+
export interface KbqTimeRangeUnits extends DurationObjectUnits {
|
|
40
|
+
}
|
|
41
|
+
export type KbqCustomTimeRangeType = {
|
|
42
|
+
/** time range identifier. Used as config key */
|
|
43
|
+
type: KbqTimeRangeType | string;
|
|
44
|
+
/** Duration metadata */
|
|
45
|
+
units: KbqTimeRangeUnits;
|
|
46
|
+
/** Property representing duration output unit */
|
|
47
|
+
translationType: KbqTimeRangeTranslationType;
|
|
48
|
+
/** Custom range of start/end date-times */
|
|
49
|
+
range?: KbqRange;
|
|
50
|
+
};
|
|
51
|
+
/** Context for a time range trigger, combining range info and type. */
|
|
52
|
+
export type KbqTimeRangeTitleContext = KbqTimeRangeRange & KbqTimeRangeUnits;
|
|
53
|
+
/** Context for a time range trigger customization, combining meta information. */
|
|
54
|
+
export type KbqTimeRangeCustomizableTitleContext = Partial<KbqTimeRangeTitleContext> & {
|
|
55
|
+
$implicit: Partial<KbqTimeRangeTitleContext> & {
|
|
56
|
+
formattedDate: string;
|
|
57
|
+
popover: KbqPopoverTrigger;
|
|
58
|
+
};
|
|
59
|
+
} & {
|
|
60
|
+
formattedDate: string;
|
|
61
|
+
popover: KbqPopoverTrigger;
|
|
62
|
+
};
|
|
63
|
+
/** @docs-private */
|
|
64
|
+
export type KbqTimeRangeTranslateTypeMap = Record<KbqTimeRangeType, KbqTimeRangeTranslationType>;
|
|
65
|
+
/** Context for a time range option customization, combining meta information. */
|
|
66
|
+
export type KbqTimeRangeOptionContext = KbqTimeRangeTypeContext & KbqTimeRangeUnits & {
|
|
67
|
+
translationType: KbqTimeRangeTranslationType;
|
|
68
|
+
formattedValue: string;
|
|
69
|
+
};
|
|
@@ -20,7 +20,7 @@ export declare class KbqTimepicker<D> implements KbqFormFieldControl<D>, Control
|
|
|
20
20
|
* @docs-private
|
|
21
21
|
*/
|
|
22
22
|
readonly stateChanges: Subject<void>;
|
|
23
|
-
|
|
23
|
+
errorState: boolean;
|
|
24
24
|
/**
|
|
25
25
|
* Implemented as part of KbqFormFieldControl.
|
|
26
26
|
* @docs-private
|
|
@@ -90,7 +90,7 @@ export declare class KbqTimepicker<D> implements KbqFormFieldControl<D>, Control
|
|
|
90
90
|
private onChange;
|
|
91
91
|
private onTouched;
|
|
92
92
|
private localeSubscription;
|
|
93
|
-
constructor(elementRef: ElementRef
|
|
93
|
+
constructor(elementRef: ElementRef<HTMLInputElement>, renderer: Renderer2, dateAdapter: DateAdapter<any>, localeService?: KbqLocaleService | undefined);
|
|
94
94
|
ngOnDestroy(): void;
|
|
95
95
|
getSize(): number;
|
|
96
96
|
focus(): void;
|
|
@@ -3,8 +3,9 @@ import * as i1 from "./timepicker.directive";
|
|
|
3
3
|
import * as i2 from "@angular/cdk/a11y";
|
|
4
4
|
import * as i3 from "@angular/cdk/platform";
|
|
5
5
|
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "@koobiq/components/form-field";
|
|
6
7
|
export declare class KbqTimepickerModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTimepickerModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTimepickerModule, [typeof i1.KbqTimepicker], [typeof i2.A11yModule, typeof i3.PlatformModule, typeof i4.FormsModule], [typeof i1.KbqTimepicker]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTimepickerModule, [typeof i1.KbqTimepicker], [typeof i2.A11yModule, typeof i3.PlatformModule, typeof i4.FormsModule], [typeof i1.KbqTimepicker, typeof i5.KbqFormFieldModule]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqTimepickerModule>;
|
|
10
11
|
}
|
|
@@ -32,6 +32,12 @@
|
|
|
32
32
|
|
|
33
33
|
.kbq-select__panel .kbq-timezone-option {
|
|
34
34
|
height: var(--kbq-timezone-option-size-height);
|
|
35
|
+
|
|
36
|
+
&:before,
|
|
37
|
+
&:after {
|
|
38
|
+
top: calc(-1 * var(--kbq-size-3xs));
|
|
39
|
+
bottom: calc(-1 * var(--kbq-size-3xs));
|
|
40
|
+
}
|
|
35
41
|
}
|
|
36
42
|
|
|
37
43
|
@include kbq-timezone-option-theme();
|
|
@@ -15,6 +15,6 @@ import * as i13 from "@angular/common";
|
|
|
15
15
|
import * as i14 from "@angular/cdk/a11y";
|
|
16
16
|
export declare class KbqTimezoneModule {
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTimezoneModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTimezoneModule, [typeof i1.UtcOffsetPipe, typeof i2.CitiesByFilterPipe, typeof i3.KbqTimezoneSelect, typeof i4.KbqTimezoneOption, typeof i5.KbqTimezoneOptionTooltip, typeof i3.KbqTimezoneSelectTrigger], [typeof i6.OverlayModule, typeof i7.KbqFormFieldModule, typeof i8.KbqOptionModule, typeof i9.KbqSelectModule, typeof i10.KbqIconModule, typeof i11.KbqTagsModule, typeof i12.KbqToolTipModule, typeof i8.KbqHighlightModule, typeof i13.NgClass, typeof i13.KeyValuePipe, typeof i14.A11yModule], [typeof i3.KbqTimezoneSelect, typeof i4.KbqTimezoneOption, typeof i5.KbqTimezoneOptionTooltip, typeof i3.KbqTimezoneSelectTrigger]>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTimezoneModule, [typeof i1.UtcOffsetPipe, typeof i2.CitiesByFilterPipe, typeof i3.KbqTimezoneSelect, typeof i4.KbqTimezoneOption, typeof i5.KbqTimezoneOptionTooltip, typeof i3.KbqTimezoneSelectTrigger], [typeof i6.OverlayModule, typeof i7.KbqFormFieldModule, typeof i8.KbqOptionModule, typeof i9.KbqSelectModule, typeof i10.KbqIconModule, typeof i11.KbqTagsModule, typeof i12.KbqToolTipModule, typeof i8.KbqHighlightModule, typeof i13.NgClass, typeof i13.KeyValuePipe, typeof i14.A11yModule], [typeof i3.KbqTimezoneSelect, typeof i4.KbqTimezoneOption, typeof i5.KbqTimezoneOptionTooltip, typeof i3.KbqTimezoneSelectTrigger, typeof i7.KbqFormFieldModule]>;
|
|
19
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqTimezoneModule>;
|
|
20
20
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { AnimationEvent } from '@angular/animations';
|
|
2
2
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
3
3
|
import { ElementRef, OnDestroy } from '@angular/core';
|
|
4
|
-
import { ThemePalette } from '@koobiq/components/core';
|
|
4
|
+
import { KbqReadStateDirective, ThemePalette } from '@koobiq/components/core';
|
|
5
5
|
import { BehaviorSubject } from 'rxjs';
|
|
6
6
|
import { KbqToastService } from './toast.service';
|
|
7
7
|
import { KbqToastData } from './toast.type';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "@koobiq/components/core";
|
|
9
10
|
export declare class KbqToastCloseButton {
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqToastCloseButton, never>;
|
|
11
12
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqToastCloseButton, "[kbq-toast-close-button]", never, {}, {}, never, never, true, never>;
|
|
@@ -13,8 +14,9 @@ export declare class KbqToastCloseButton {
|
|
|
13
14
|
export declare class KbqToastComponent implements OnDestroy {
|
|
14
15
|
readonly data: KbqToastData;
|
|
15
16
|
readonly service: KbqToastService;
|
|
16
|
-
elementRef: ElementRef
|
|
17
|
+
elementRef: ElementRef<HTMLElement>;
|
|
17
18
|
private focusMonitor;
|
|
19
|
+
protected readonly readStateDirective: KbqReadStateDirective;
|
|
18
20
|
themePalette: typeof ThemePalette;
|
|
19
21
|
animationState: string;
|
|
20
22
|
readonly hovered: BehaviorSubject<boolean>;
|
|
@@ -27,7 +29,7 @@ export declare class KbqToastComponent implements OnDestroy {
|
|
|
27
29
|
[x: string]: boolean;
|
|
28
30
|
};
|
|
29
31
|
get isFocusedOrHovered(): boolean;
|
|
30
|
-
constructor(data: KbqToastData, service: KbqToastService, elementRef: ElementRef
|
|
32
|
+
constructor(data: KbqToastData, service: KbqToastService, elementRef: ElementRef<HTMLElement>, focusMonitor: FocusMonitor);
|
|
31
33
|
ngOnDestroy(): void;
|
|
32
34
|
close(): void;
|
|
33
35
|
isTemplateRef(value: any): boolean;
|
|
@@ -35,5 +37,5 @@ export declare class KbqToastComponent implements OnDestroy {
|
|
|
35
37
|
private runFocusMonitor;
|
|
36
38
|
private stopFocusMonitor;
|
|
37
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqToastComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqToastComponent, "kbq-toast", never, {}, {}, never, never, true,
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqToastComponent, "kbq-toast", never, {}, {}, never, never, true, [{ directive: typeof i1.KbqReadStateDirective; inputs: {}; outputs: {}; }]>;
|
|
39
41
|
}
|
|
@@ -55,6 +55,10 @@
|
|
|
55
55
|
overflow: hidden;
|
|
56
56
|
text-overflow: ellipsis;
|
|
57
57
|
}
|
|
58
|
+
|
|
59
|
+
&.kbq-toast__title_only-text {
|
|
60
|
+
white-space: pre-wrap;
|
|
61
|
+
}
|
|
58
62
|
}
|
|
59
63
|
|
|
60
64
|
.kbq-toast__title_with-content {
|
|
@@ -65,13 +69,19 @@
|
|
|
65
69
|
display: flex;
|
|
66
70
|
flex: 1;
|
|
67
71
|
align-items: center;
|
|
72
|
+
|
|
73
|
+
&.kbq-toast__text_only-text {
|
|
74
|
+
white-space: pre-wrap;
|
|
75
|
+
}
|
|
68
76
|
}
|
|
69
77
|
|
|
70
78
|
.kbq-toast__content {
|
|
71
79
|
display: flex;
|
|
72
80
|
flex-direction: column;
|
|
73
81
|
|
|
74
|
-
|
|
82
|
+
&.kbq-toast__content_only-text {
|
|
83
|
+
white-space: pre-wrap;
|
|
84
|
+
}
|
|
75
85
|
}
|
|
76
86
|
|
|
77
87
|
.kbq-toast__actions {
|
package/toast/toast.service.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare class KbqToastService<T extends KbqToastComponent = KbqToastCompo
|
|
|
15
15
|
private toastConfig;
|
|
16
16
|
get toasts(): ComponentRef<T>[];
|
|
17
17
|
get templates(): EmbeddedViewRef<T>[];
|
|
18
|
+
readonly read: BehaviorSubject<KbqToastData | null>;
|
|
18
19
|
readonly hovered: BehaviorSubject<boolean>;
|
|
19
20
|
readonly focused: BehaviorSubject<boolean>;
|
|
20
21
|
readonly animation: BehaviorSubject<AnimationEvent | null>;
|
package/toast/toast.type.d.ts
CHANGED
|
@@ -16,18 +16,17 @@
|
|
|
16
16
|
@mixin _kbq-toggle-color($type) {
|
|
17
17
|
@include _kbq-toggle-state($type, default);
|
|
18
18
|
|
|
19
|
-
&:hover {
|
|
19
|
+
&:is(:hover, .kbq-hovered) {
|
|
20
20
|
@include _kbq-toggle-state($type, states-hover);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&.kbq-active,
|
|
24
24
|
&.kbq-indeterminate {
|
|
25
25
|
@include _kbq-toggle-state($type, states-checked);
|
|
26
|
-
}
|
|
27
26
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
&:is(:hover, .kbq-hovered) {
|
|
28
|
+
@include _kbq-toggle-state($type, states-checked-hover);
|
|
29
|
+
}
|
|
31
30
|
}
|
|
32
31
|
|
|
33
32
|
&.cdk-keyboard-focused {
|
|
@@ -73,6 +72,10 @@
|
|
|
73
72
|
|
|
74
73
|
&.kbq-disabled {
|
|
75
74
|
color: var(--kbq-states-foreground-disabled);
|
|
75
|
+
|
|
76
|
+
.kbq-hint .kbq-hint__text {
|
|
77
|
+
color: inherit;
|
|
78
|
+
}
|
|
76
79
|
}
|
|
77
80
|
|
|
78
81
|
.kbq-toggle-bar {
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
--kbq-toggle-size-big-height: var(--kbq-size-l);
|
|
6
6
|
--kbq-toggle-size-big-width: 28px;
|
|
7
7
|
--kbq-toggle-size-big-horizontal-content-padding: var(--kbq-size-s);
|
|
8
|
-
--kbq-toggle-size-big-vertical-content-padding: var(--kbq-size-s);
|
|
9
8
|
/* THEME TOKENS */
|
|
10
9
|
--kbq-toggle-theme-default-border: var(--kbq-line-contrast-less);
|
|
11
10
|
--kbq-toggle-theme-default-background: var(--kbq-background-bg);
|
package/toggle/toggle.scss
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
// @TODO should remove "selector-class-pattern" rule ignore (#DS-3753)
|
|
2
|
-
/* stylelint-disable selector-class-pattern */
|
|
3
1
|
@use '../core/styles/common/tokens';
|
|
4
2
|
@use '../core/styles/common/animation';
|
|
5
3
|
@use './toggle-theme' as theme;
|
|
@@ -27,11 +25,11 @@ $toggle-thumb-offset: 8px;
|
|
|
27
25
|
|
|
28
26
|
cursor: inherit;
|
|
29
27
|
|
|
30
|
-
&.
|
|
28
|
+
&.kbq-toggle-layout_left {
|
|
31
29
|
flex-direction: row-reverse;
|
|
32
30
|
}
|
|
33
31
|
|
|
34
|
-
.kbq-toggle-
|
|
32
|
+
&:has(.kbq-toggle-label:not(:empty)) .kbq-toggle-bar-container {
|
|
35
33
|
padding-top: tokens.kbq-css-half-difference(typography-text-normal-line-height, toggle-size-normal-height);
|
|
36
34
|
}
|
|
37
35
|
}
|
|
@@ -104,12 +102,14 @@ $toggle-thumb-offset: 8px;
|
|
|
104
102
|
|
|
105
103
|
flex: 1;
|
|
106
104
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
105
|
+
&:has(.kbq-toggle-label:not(:empty)) {
|
|
106
|
+
&.kbq-toggle__content_left {
|
|
107
|
+
margin-right: var(--kbq-toggle-size-normal-horizontal-content-padding);
|
|
108
|
+
}
|
|
110
109
|
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
&.kbq-toggle__content_right {
|
|
111
|
+
margin-left: var(--kbq-toggle-size-normal-horizontal-content-padding);
|
|
112
|
+
}
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
@@ -119,13 +119,9 @@ $toggle-thumb-offset: 8px;
|
|
|
119
119
|
width: var(--kbq-toggle-size-big-width);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
& .kbq-hint {
|
|
123
|
-
margin-top: var(--kbq-toggle-size-big-vertical-content-padding);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
122
|
.kbq-toggle-layout {
|
|
127
|
-
.kbq-toggle-
|
|
128
|
-
padding-top: tokens.kbq-css-half-difference(
|
|
123
|
+
&:has(.kbq-toggle-label:not(:empty)) .kbq-toggle-bar-container {
|
|
124
|
+
padding-top: tokens.kbq-css-half-difference(typography-text-big-line-height, toggle-size-big-height);
|
|
129
125
|
}
|
|
130
126
|
}
|
|
131
127
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
--kbq-top-bar-position: sticky;
|
|
3
3
|
--kbq-top-bar-background: var(--kbq-background-bg);
|
|
4
4
|
--kbq-top-bar-spacer-min-width: 80px;
|
|
5
|
-
--kbq-top-bar-padding-vertical: var(--kbq-size-
|
|
5
|
+
--kbq-top-bar-padding-vertical: var(--kbq-size-m);
|
|
6
6
|
--kbq-top-bar-padding-horizontal: var(--kbq-size-xxl);
|
|
7
7
|
--kbq-top-bar-border-radius: 0;
|
|
8
8
|
--kbq-top-bar-container-start-gap: 0;
|
package/top-bar/top-bar.scss
CHANGED
|
@@ -45,6 +45,9 @@
|
|
|
45
45
|
&:has(> .kbq-overflow-items) {
|
|
46
46
|
gap: unset;
|
|
47
47
|
overflow: hidden;
|
|
48
|
+
// reduce height added by overflow-items' padding
|
|
49
|
+
margin-top: calc(-1 * var(--kbq-size-border-width));
|
|
50
|
+
margin-bottom: calc(-1 * var(--kbq-size-border-width));
|
|
48
51
|
}
|
|
49
52
|
|
|
50
53
|
.kbq-overflow-items {
|
package/tree/toggle.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare class KbqTreeNodeToggleBaseDirective<T> {
|
|
|
20
20
|
}
|
|
21
21
|
export declare class KbqTreeNodeToggleComponent<T> extends KbqTreeNodeToggleBaseDirective<T> {
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTreeNodeToggleComponent<any>, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTreeNodeToggleComponent<any>, "kbq-tree-node-toggle", ["kbqTreeNodeToggle"], {}, {}, never,
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTreeNodeToggleComponent<any>, "kbq-tree-node-toggle", ["kbqTreeNodeToggle"], {}, {}, never, ["*"], false, never>;
|
|
24
24
|
}
|
|
25
25
|
export declare class KbqTreeNodeToggleDirective<T> extends KbqTreeNodeToggleBaseDirective<T> {
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTreeNodeToggleDirective<any>, never>;
|
package/tree/tree-base.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ export declare class KbqTreeBase<T> implements AfterContentChecked, CollectionVi
|
|
|
75
75
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTreeBase<any>, never, never, { "treeControl": { "alias": "treeControl"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; }, {}, ["nodeDefs"], never, false, never>;
|
|
76
76
|
}
|
|
77
77
|
export declare class KbqTreeNode<T> implements IFocusableOption, OnDestroy {
|
|
78
|
-
protected elementRef: ElementRef
|
|
78
|
+
protected elementRef: ElementRef<HTMLElement>;
|
|
79
79
|
tree: KbqTreeBase<T>;
|
|
80
80
|
/**
|
|
81
81
|
* The most recently created `KbqTreeNode`. We save it in static variable so we can retrieve it
|
|
@@ -88,7 +88,7 @@ export declare class KbqTreeNode<T> implements IFocusableOption, OnDestroy {
|
|
|
88
88
|
private _data;
|
|
89
89
|
get isExpanded(): boolean;
|
|
90
90
|
get level(): number;
|
|
91
|
-
constructor(elementRef: ElementRef
|
|
91
|
+
constructor(elementRef: ElementRef<HTMLElement>, tree: KbqTreeBase<T>);
|
|
92
92
|
ngOnDestroy(): void;
|
|
93
93
|
focus(): void;
|
|
94
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTreeNode<any>, never>;
|
|
@@ -58,7 +58,7 @@ export declare class KbqTreeOption extends KbqTreeNode<KbqTreeOption> implements
|
|
|
58
58
|
get toggleElement(): KbqTreeNodeToggleBaseDirective<KbqTreeOption>;
|
|
59
59
|
get isToggleInDefaultPlace(): boolean;
|
|
60
60
|
checkboxState: KbqPseudoCheckboxState;
|
|
61
|
-
constructor(elementRef: ElementRef
|
|
61
|
+
constructor(elementRef: ElementRef<HTMLElement>, changeDetectorRef: ChangeDetectorRef, ngZone: NgZone, tree: any);
|
|
62
62
|
ngAfterContentInit(): void;
|
|
63
63
|
descendantsAllSelected(): boolean;
|
|
64
64
|
descendantsPartiallySelected(): boolean;
|
|
@@ -68,6 +68,7 @@ export declare class KbqTreeOption extends KbqTreeNode<KbqTreeOption> implements
|
|
|
68
68
|
setSelected(selected: boolean): void;
|
|
69
69
|
focus(focusOrigin?: FocusOrigin): void;
|
|
70
70
|
blur(): void;
|
|
71
|
+
/** @docs-private */
|
|
71
72
|
getHeight(): number;
|
|
72
73
|
select(setFocus?: boolean): void;
|
|
73
74
|
deselect(): void;
|
|
@@ -18,10 +18,19 @@ export declare class KbqTreeSelectAllEvent<T> {
|
|
|
18
18
|
options: T[];
|
|
19
19
|
constructor(source: KbqTreeSelection, options: T[]);
|
|
20
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* Event class that occurs when copying an item from the KbqTreeSelection.
|
|
23
|
+
* Used to pass data about the copied item and copy context.
|
|
24
|
+
*
|
|
25
|
+
* @param source - instance of KbqTreeSelection
|
|
26
|
+
* @param option - instance of KbqTreeOption
|
|
27
|
+
* @param event - original keyboard event (optional) that triggered the copy
|
|
28
|
+
*/
|
|
21
29
|
export declare class KbqTreeCopyEvent<T> {
|
|
22
30
|
source: KbqTreeSelection;
|
|
23
31
|
option: T;
|
|
24
|
-
|
|
32
|
+
event?: KeyboardEvent | undefined;
|
|
33
|
+
constructor(source: KbqTreeSelection, option: T, event?: KeyboardEvent | undefined);
|
|
25
34
|
}
|
|
26
35
|
export declare class KbqTreeNavigationChange<T> {
|
|
27
36
|
source: KbqTreeSelection;
|
|
@@ -76,7 +85,7 @@ export declare class KbqTreeSelection extends KbqTreeBase<any> implements Contro
|
|
|
76
85
|
get isEmpty(): boolean;
|
|
77
86
|
private optionFocusSubscription;
|
|
78
87
|
private optionBlurSubscription;
|
|
79
|
-
constructor(elementRef: ElementRef
|
|
88
|
+
constructor(elementRef: ElementRef<HTMLElement>, scheduler: AsyncScheduler, differs: IterableDiffers, changeDetectorRef: ChangeDetectorRef, multiple: MultipleMode, clipboard: Clipboard);
|
|
80
89
|
ngAfterContentInit(): void;
|
|
81
90
|
ngAfterViewInit(): void;
|
|
82
91
|
ngOnDestroy(): void;
|
|
@@ -94,7 +103,7 @@ export declare class KbqTreeSelection extends KbqTreeBase<any> implements Contro
|
|
|
94
103
|
emitNavigationEvent(option: KbqTreeOption): void;
|
|
95
104
|
emitChangeEvent(option: KbqTreeOption): void;
|
|
96
105
|
selectAllOptions(): void;
|
|
97
|
-
copyActiveOption(): void;
|
|
106
|
+
copyActiveOption(event: KeyboardEvent): void;
|
|
98
107
|
writeValue(value: any): void;
|
|
99
108
|
/** `View -> model callback called when value changes` */
|
|
100
109
|
onChange: (value: any) => void;
|
|
@@ -24,6 +24,18 @@ export type KbqTreeSelectOptions = Partial<{
|
|
|
24
24
|
* If set to null or an empty string, the panel will grow to match the longest option's text.
|
|
25
25
|
*/
|
|
26
26
|
panelWidth: KbqTreeSelectPanelWidth;
|
|
27
|
+
/**
|
|
28
|
+
* Minimum width of the panel. If minWidth is larger than window width or property set to null, it will be ignored.
|
|
29
|
+
*/
|
|
30
|
+
panelMinWidth: Exclude<KbqTreeSelectPanelWidth, 'auto'>;
|
|
31
|
+
/**
|
|
32
|
+
* Whether to enable hiding search by default if options is less than minimum.
|
|
33
|
+
*
|
|
34
|
+
* - `'auto'` uses `KBQ_SELECT_SEARCH_MIN_OPTIONS_THRESHOLD` as min value.
|
|
35
|
+
* - number - will enables search hiding and uses value as min.
|
|
36
|
+
* @see KBQ_SELECT_SEARCH_MIN_OPTIONS_THRESHOLD
|
|
37
|
+
*/
|
|
38
|
+
searchMinOptionsThreshold: 'auto' | number;
|
|
27
39
|
}>;
|
|
28
40
|
/** Injection token that can be used to provide the default options for the `kbq-tree-select`. */
|
|
29
41
|
export declare const KBQ_TREE_SELECT_OPTIONS: InjectionToken<Partial<{
|
|
@@ -32,6 +44,18 @@ export declare const KBQ_TREE_SELECT_OPTIONS: InjectionToken<Partial<{
|
|
|
32
44
|
* If set to null or an empty string, the panel will grow to match the longest option's text.
|
|
33
45
|
*/
|
|
34
46
|
panelWidth: KbqTreeSelectPanelWidth;
|
|
47
|
+
/**
|
|
48
|
+
* Minimum width of the panel. If minWidth is larger than window width or property set to null, it will be ignored.
|
|
49
|
+
*/
|
|
50
|
+
panelMinWidth: Exclude<KbqTreeSelectPanelWidth, "auto">;
|
|
51
|
+
/**
|
|
52
|
+
* Whether to enable hiding search by default if options is less than minimum.
|
|
53
|
+
*
|
|
54
|
+
* - `'auto'` uses `KBQ_SELECT_SEARCH_MIN_OPTIONS_THRESHOLD` as min value.
|
|
55
|
+
* - number - will enables search hiding and uses value as min.
|
|
56
|
+
* @see KBQ_SELECT_SEARCH_MIN_OPTIONS_THRESHOLD
|
|
57
|
+
*/
|
|
58
|
+
searchMinOptionsThreshold: "auto" | number;
|
|
35
59
|
}>>;
|
|
36
60
|
/** Utility provider for `KBQ_TREE_SELECT_OPTIONS`. */
|
|
37
61
|
export declare const kbqTreeSelectOptionsProvider: (options: KbqTreeSelectOptions) => Provider;
|
|
@@ -43,7 +67,7 @@ export declare class KbqTreeSelectChange {
|
|
|
43
67
|
constructor(source: KbqTreeSelect, value: any, isUserInput?: boolean);
|
|
44
68
|
}
|
|
45
69
|
export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterContentInit, AfterViewInit, OnDestroy, OnInit, DoCheck, ControlValueAccessor, KbqFormFieldControl<KbqTreeOption>, CanUpdateErrorState {
|
|
46
|
-
elementRef: ElementRef
|
|
70
|
+
elementRef: ElementRef<HTMLElement>;
|
|
47
71
|
readonly changeDetectorRef: ChangeDetectorRef;
|
|
48
72
|
private readonly ngZone;
|
|
49
73
|
private readonly renderer;
|
|
@@ -162,8 +186,8 @@ export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterCon
|
|
|
162
186
|
get hasBackdrop(): boolean;
|
|
163
187
|
set hasBackdrop(value: boolean);
|
|
164
188
|
private _hasBackdrop;
|
|
165
|
-
get tabIndex(): number;
|
|
166
|
-
set tabIndex(value: number);
|
|
189
|
+
get tabIndex(): number | null;
|
|
190
|
+
set tabIndex(value: number | null);
|
|
167
191
|
private _tabIndex;
|
|
168
192
|
get disabled(): boolean;
|
|
169
193
|
set disabled(value: boolean);
|
|
@@ -185,6 +209,11 @@ export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterCon
|
|
|
185
209
|
protected overlayWidth: string | number;
|
|
186
210
|
/** Min width of the overlay panel. */
|
|
187
211
|
protected overlayMinWidth: string | number;
|
|
212
|
+
/**
|
|
213
|
+
* Minimum width of the panel.
|
|
214
|
+
* If minWidth is larger than window width, it will be ignored.
|
|
215
|
+
*/
|
|
216
|
+
panelMinWidth: Exclude<KbqTreeSelectPanelWidth, 'auto'>;
|
|
188
217
|
/** Origin for the overlay panel. */
|
|
189
218
|
protected overlayOrigin?: CdkOverlayOrigin | ElementRef;
|
|
190
219
|
/**
|
|
@@ -192,6 +221,15 @@ export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterCon
|
|
|
192
221
|
* If set to null or an empty string, the panel will grow to match the longest option's text.
|
|
193
222
|
*/
|
|
194
223
|
panelWidth: KbqTreeSelectPanelWidth;
|
|
224
|
+
/**
|
|
225
|
+
* Controls when the search functionality is displayed based on the number of available options.
|
|
226
|
+
*
|
|
227
|
+
* Automatically enables search hiding if value provided, even if `defaultOptions.searchMinOptionsThreshold` is provided.
|
|
228
|
+
* @default undefined
|
|
229
|
+
*/
|
|
230
|
+
set searchMinOptionsThreshold(value: 'auto' | number | undefined);
|
|
231
|
+
get searchMinOptionsThreshold(): number | undefined;
|
|
232
|
+
private _searchMinOptionsThreshold;
|
|
195
233
|
get panelOpen(): boolean;
|
|
196
234
|
get canShowCleaner(): boolean;
|
|
197
235
|
/** @docs-private */
|
|
@@ -208,7 +246,7 @@ export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterCon
|
|
|
208
246
|
private tempValues;
|
|
209
247
|
private readonly destroyRef;
|
|
210
248
|
private readonly window;
|
|
211
|
-
constructor(elementRef: ElementRef
|
|
249
|
+
constructor(elementRef: ElementRef<HTMLElement>, changeDetectorRef: ChangeDetectorRef, ngZone: NgZone, renderer: Renderer2, defaultErrorStateMatcher: ErrorStateMatcher, scrollStrategyFactory: any, dir: Directionality, parentForm: NgForm, parentFormGroup: FormGroupDirective, parentFormField: KbqFormField, ngControl: NgControl, localeService?: KbqLocaleService | undefined);
|
|
212
250
|
ngOnInit(): void;
|
|
213
251
|
ngDoCheck(): void;
|
|
214
252
|
ngAfterContentInit(): void;
|
|
@@ -221,6 +259,7 @@ export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterCon
|
|
|
221
259
|
onChange: (value: any) => void;
|
|
222
260
|
/** `View -> model callback called when select has been touched` */
|
|
223
261
|
onTouched: () => void;
|
|
262
|
+
handleClick(): void;
|
|
224
263
|
toggle(): void;
|
|
225
264
|
open(): void;
|
|
226
265
|
/** Closes the overlay panel and focuses the host element. */
|
|
@@ -281,6 +320,10 @@ export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterCon
|
|
|
281
320
|
/** Invoked when an option is clicked. */
|
|
282
321
|
onRemoveSelectedOption(selectedOption: any, $event: any): void;
|
|
283
322
|
calculateHiddenItems(): void;
|
|
323
|
+
triggerKeydownHandler(event: KeyboardEvent): void;
|
|
324
|
+
panelKeydownHandler(event: KeyboardEvent): any;
|
|
325
|
+
/** @docs-private */
|
|
326
|
+
protected shouldShowSearch(): boolean;
|
|
284
327
|
private updateLocaleParams;
|
|
285
328
|
private closingActions;
|
|
286
329
|
private getTotalItemsWidthInMatcher;
|
|
@@ -289,8 +332,6 @@ export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterCon
|
|
|
289
332
|
private getOverlayWidth;
|
|
290
333
|
private buildTriggerClone;
|
|
291
334
|
private getItemWidth;
|
|
292
|
-
private handleClosedKeydown;
|
|
293
|
-
private handleOpenKeydown;
|
|
294
335
|
private refreshTriggerValues;
|
|
295
336
|
/**
|
|
296
337
|
* Sets the selected option based on a value. If no option can be
|
|
@@ -309,9 +350,9 @@ export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterCon
|
|
|
309
350
|
private scrollActiveOptionIntoView;
|
|
310
351
|
private subscribeOnSearchChanges;
|
|
311
352
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTreeSelect, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; host: true; }, { optional: true; self: true; }, { optional: true; }]>;
|
|
312
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTreeSelect, "kbq-tree-select", ["kbqTreeSelect"], { "hiddenItemsText": { "alias": "hiddenItemsText"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "sortComparator": { "alias": "sortComparator"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "autoSelect": { "alias": "autoSelect"; "required": false; }; "id": { "alias": "id"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selectAllHandler": { "alias": "selectAllHandler"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; "hiddenItemsTextFormatter": { "alias": "hiddenItemsTextFormatter"; "required": false; }; }, { "openedChange": "openedChange"; "openedStream": "opened"; "closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, ["cleaner", "customTrigger", "customMatcher", "customTagTemplateRef", "tree", "search"], ["kbq-select-matcher, [kbq-select-matcher]", "kbq-select-trigger, [kbq-select-trigger]", "kbq-cleaner", "[kbqSelectSearch]", "[kbq-select-search-empty-result]", "kbq-tree-selection", "kbq-select-footer,[kbq-tree-select-footer]"], false, never>;
|
|
353
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTreeSelect, "kbq-tree-select", ["kbqTreeSelect"], { "hiddenItemsText": { "alias": "hiddenItemsText"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "sortComparator": { "alias": "sortComparator"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "autoSelect": { "alias": "autoSelect"; "required": false; }; "id": { "alias": "id"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selectAllHandler": { "alias": "selectAllHandler"; "required": false; }; "panelMinWidth": { "alias": "panelMinWidth"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; "searchMinOptionsThreshold": { "alias": "searchMinOptionsThreshold"; "required": false; }; "hiddenItemsTextFormatter": { "alias": "hiddenItemsTextFormatter"; "required": false; }; }, { "openedChange": "openedChange"; "openedStream": "opened"; "closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, ["cleaner", "customTrigger", "customMatcher", "customTagTemplateRef", "tree", "search"], ["kbq-select-matcher, [kbq-select-matcher]", "kbq-select-trigger, [kbq-select-trigger]", "kbq-cleaner", "[kbqSelectSearch]", "[kbq-select-search-empty-result]", "kbq-tree-selection", "kbq-select-footer,[kbq-tree-select-footer]"], false, never>;
|
|
313
354
|
static ngAcceptInputType_multiline: unknown;
|
|
314
355
|
static ngAcceptInputType_multiple: unknown;
|
|
315
|
-
static ngAcceptInputType_tabIndex: unknown;
|
|
316
356
|
static ngAcceptInputType_disabled: unknown;
|
|
357
|
+
static ngAcceptInputType_panelMinWidth: unknown;
|
|
317
358
|
}
|
|
@@ -7,8 +7,9 @@ import * as i5 from "@koobiq/components/tags";
|
|
|
7
7
|
import * as i6 from "@koobiq/components/core";
|
|
8
8
|
import * as i7 from "@angular/common";
|
|
9
9
|
import * as i8 from "@angular/cdk/a11y";
|
|
10
|
+
import * as i9 from "@koobiq/components/form-field";
|
|
10
11
|
export declare class KbqTreeSelectModule {
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTreeSelectModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTreeSelectModule, [typeof i1.KbqTreeSelect], [typeof i2.OverlayModule, typeof i3.KbqTreeModule, typeof i4.KbqIconModule, typeof i5.KbqTagsModule, typeof i6.KbqPseudoCheckboxModule, typeof i6.KbqSelectSearch, typeof i6.KbqSelectFooter, typeof i6.KbqSelectMatcher, typeof i6.KbqSelectTrigger, typeof i6.KbqSelectSearchEmptyResult, typeof i7.NgClass, typeof i7.NgTemplateOutlet, typeof i8.A11yModule], [typeof i1.KbqTreeSelect, typeof i6.KbqSelectSearch, typeof i6.KbqSelectFooter, typeof i6.KbqSelectMatcher, typeof i6.KbqSelectTrigger, typeof i6.KbqSelectSearchEmptyResult]>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTreeSelectModule, [typeof i1.KbqTreeSelect], [typeof i2.OverlayModule, typeof i3.KbqTreeModule, typeof i4.KbqIconModule, typeof i5.KbqTagsModule, typeof i6.KbqPseudoCheckboxModule, typeof i6.KbqSelectSearch, typeof i6.KbqSelectFooter, typeof i6.KbqSelectMatcher, typeof i6.KbqSelectTrigger, typeof i6.KbqSelectSearchEmptyResult, typeof i7.NgClass, typeof i7.NgTemplateOutlet, typeof i8.A11yModule], [typeof i1.KbqTreeSelect, typeof i6.KbqSelectSearch, typeof i6.KbqSelectFooter, typeof i6.KbqSelectMatcher, typeof i6.KbqSelectTrigger, typeof i6.KbqSelectSearchEmptyResult, typeof i9.KbqFormFieldModule]>;
|
|
13
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqTreeSelectModule>;
|
|
14
15
|
}
|