@koobiq/components 16.0.0-beta.9 → 17.0.0-beta.2
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/autocomplete/_autocomplete-theme.scss +3 -10
- package/autocomplete/autocomplete-trigger.directive.d.ts +7 -1
- package/autocomplete/autocomplete.scss +0 -5
- package/badge/_badge-theme.scss +4 -0
- package/badge/badge.component.d.ts +1 -0
- package/button/_button-base.scss +1 -1
- package/button/_button-theme.scss +23 -38
- package/button-toggle/_button-toggle-theme.scss +4 -0
- package/checkbox/_checkbox-theme.scss +9 -6
- package/checkbox/checkbox.scss +6 -9
- package/code-block/_code-block-theme.scss +53 -16
- package/code-block/actionbar.component.scss +34 -6
- package/code-block/code-block.component.d.ts +5 -2
- package/code-block/code-block.scss +112 -28
- package/core/common-behaviors/index.d.ts +2 -0
- package/core/datetime/date-adapter.d.ts +1 -1
- package/core/datetime/date-formats.d.ts +1 -1
- package/core/formatters/date/formatter.d.ts +2 -2
- package/core/formatters/date/formatter.pipe.d.ts +1 -1
- package/core/locales/en-US.d.ts +25 -22
- package/core/locales/es-LA.d.ts +24 -27
- package/core/locales/fa-IR.d.ts +24 -28
- package/core/locales/formatters.d.ts +121 -0
- package/core/locales/index.d.ts +7 -2
- package/core/locales/locale-service.d.ts +146 -32
- package/core/locales/pt-BR.d.ts +24 -27
- package/core/locales/ru-RU.d.ts +25 -23
- package/core/locales/zh-CN.d.ts +25 -27
- package/core/option/_option-action-theme.scss +1 -1
- package/core/option/_option-theme.scss +5 -5
- package/core/option/action.scss +1 -1
- package/core/pop-up/pop-up.d.ts +7 -0
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +4 -15
- package/core/styles/_koobiq-theme.scss +3 -1
- package/core/styles/_variables.scss +1 -10
- package/core/styles/common/_overlay.scss +4 -0
- package/core/styles/common/_select.scss +2 -1
- package/core/styles/theming/_components-theming.scss +99 -38
- package/core/styles/theming/{_scrollbars-theme.scss → _scrollbar-theme.scss} +25 -4
- package/core/styles/theming/_theming.scss +1 -0
- package/core/styles/typography/_typography.scss +8 -1
- package/core/utils/data-size/data-size.pipe.d.ts +1 -1
- package/dropdown/_dropdown-theme.scss +1 -2
- package/ellipsis-center/ellipsis-center.directive.d.ts +3 -3
- package/esm2022/alert/alert.component.mjs +12 -12
- package/esm2022/alert/alert.module.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +18 -6
- package/esm2022/autocomplete/autocomplete.component.mjs +8 -8
- package/esm2022/autocomplete/autocomplete.module.mjs +4 -4
- package/esm2022/badge/badge.component.mjs +13 -12
- package/esm2022/badge/badge.module.mjs +4 -4
- package/esm2022/button/button.component.mjs +16 -13
- package/esm2022/button/button.module.mjs +4 -4
- package/esm2022/button-toggle/button-toggle.component.mjs +12 -12
- package/esm2022/button-toggle/button-toggle.module.mjs +4 -4
- package/esm2022/card/card.component.mjs +5 -5
- package/esm2022/card/card.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 +7 -7
- package/esm2022/code-block/actionbar.component.mjs +5 -5
- package/esm2022/code-block/code-block.component.mjs +32 -14
- package/esm2022/code-block/code-block.module.mjs +8 -8
- package/esm2022/core/common-behaviors/color.mjs +1 -1
- package/esm2022/core/common-behaviors/common-module.mjs +7 -7
- package/esm2022/core/common-behaviors/error-state.mjs +1 -1
- package/esm2022/core/common-behaviors/index.mjs +3 -1
- package/esm2022/core/datetime/date-adapter.mjs +2 -2
- package/esm2022/core/datetime/date-formats.mjs +1 -1
- package/esm2022/core/error/error-options.mjs +6 -6
- package/esm2022/core/formatters/date/formatter.mjs +9 -9
- package/esm2022/core/formatters/date/formatter.pipe.mjs +53 -53
- package/esm2022/core/formatters/index.mjs +7 -6
- package/esm2022/core/formatters/number/formatter.mjs +19 -19
- package/esm2022/core/forms/forms-module.mjs +4 -4
- package/esm2022/core/forms/forms.directive.mjs +8 -8
- package/esm2022/core/highlight/highlight.pipe.mjs +5 -5
- package/esm2022/core/highlight/index.mjs +4 -4
- package/esm2022/core/line/line.mjs +8 -8
- package/esm2022/core/locales/en-US.mjs +25 -22
- package/esm2022/core/locales/es-LA.mjs +24 -29
- package/esm2022/core/locales/fa-IR.mjs +24 -28
- package/esm2022/core/locales/formatters.mjs +126 -0
- package/esm2022/core/locales/index.mjs +8 -3
- package/esm2022/core/locales/locale-service.mjs +14 -13
- package/esm2022/core/locales/locale-service.module.mjs +4 -4
- package/esm2022/core/locales/pt-BR.mjs +24 -27
- package/esm2022/core/locales/ru-RU.mjs +25 -25
- package/esm2022/core/locales/zh-CN.mjs +25 -27
- package/esm2022/core/option/action.mjs +9 -8
- package/esm2022/core/option/optgroup.mjs +4 -4
- package/esm2022/core/option/option-module.mjs +4 -4
- package/esm2022/core/option/option.mjs +8 -8
- package/esm2022/core/overlay/overlay-position-map.mjs +1 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +6 -6
- package/esm2022/core/pop-up/pop-up.mjs +12 -5
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +6 -6
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
- package/esm2022/core/services/measure-scrollbar.service.mjs +6 -6
- package/esm2022/core/services/theme.service.mjs +5 -5
- package/esm2022/core/utils/data-size/data-size.pipe.mjs +9 -9
- package/esm2022/core/utils/data-size/size.mjs +1 -1
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +4 -4
- package/esm2022/datepicker/calendar-header.component.mjs +5 -5
- package/esm2022/datepicker/calendar.component.mjs +6 -6
- package/esm2022/datepicker/datepicker-animations.mjs +1 -1
- package/esm2022/datepicker/datepicker-input.directive.mjs +6 -6
- package/esm2022/datepicker/datepicker-intl.mjs +3 -3
- package/esm2022/datepicker/datepicker-module.mjs +4 -4
- package/esm2022/datepicker/datepicker-toggle.component.mjs +8 -8
- package/esm2022/datepicker/datepicker.component.mjs +10 -10
- package/esm2022/datepicker/month-view.component.mjs +6 -6
- package/esm2022/divider/divider.component.mjs +3 -3
- package/esm2022/divider/divider.module.mjs +4 -4
- package/esm2022/dl/dl.component.mjs +11 -11
- package/esm2022/dl/dl.module.mjs +4 -4
- package/esm2022/dropdown/dropdown-content.directive.mjs +6 -6
- package/esm2022/dropdown/dropdown-item.component.mjs +9 -8
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +6 -6
- package/esm2022/dropdown/dropdown.component.mjs +6 -6
- package/esm2022/dropdown/dropdown.module.mjs +4 -4
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +20 -20
- package/esm2022/file-upload/file-drop.mjs +43 -6
- 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 +47 -26
- package/esm2022/file-upload/single-file-upload.component.mjs +39 -16
- package/esm2022/form-field/cleaner.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +21 -15
- package/esm2022/form-field/form-field.module.mjs +4 -4
- package/esm2022/form-field/hint.mjs +20 -8
- package/esm2022/form-field/password-hint.mjs +24 -21
- package/esm2022/form-field/password-toggle.mjs +6 -6
- package/esm2022/form-field/prefix.mjs +3 -3
- package/esm2022/form-field/stepper.mjs +4 -4
- package/esm2022/form-field/suffix.mjs +3 -3
- package/esm2022/form-field/validate.directive.mjs +17 -12
- package/esm2022/icon/icon-button.component.mjs +7 -6
- package/esm2022/icon/icon-item.component.mjs +7 -6
- package/esm2022/icon/icon.component.mjs +18 -6
- package/esm2022/icon/icon.module.mjs +4 -4
- package/esm2022/input/input-number-validators.mjs +7 -7
- package/esm2022/input/input-number.mjs +12 -9
- package/esm2022/input/input-password.mjs +6 -6
- package/esm2022/input/input.mjs +9 -9
- package/esm2022/input/input.module.mjs +4 -4
- package/esm2022/link/link.component.mjs +5 -5
- package/esm2022/link/link.module.mjs +4 -4
- package/esm2022/list/list-selection.component.mjs +16 -16
- package/esm2022/list/list.component.mjs +9 -9
- package/esm2022/list/list.module.mjs +4 -4
- package/esm2022/loader-overlay/loader-overlay.component.mjs +15 -15
- package/esm2022/loader-overlay/loader-overlay.module.mjs +4 -4
- package/esm2022/markdown/markdown.component.mjs +5 -5
- 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 +6 -6
- package/esm2022/modal/modal.component.mjs +22 -16
- package/esm2022/modal/modal.directive.mjs +12 -12
- package/esm2022/modal/modal.module.mjs +4 -4
- package/esm2022/modal/modal.service.mjs +5 -5
- package/esm2022/modal/modal.type.mjs +1 -1
- package/esm2022/navbar/navbar-item.component.mjs +69 -104
- package/esm2022/navbar/navbar.component.mjs +28 -17
- package/esm2022/navbar/navbar.module.mjs +6 -10
- package/esm2022/navbar/vertical-navbar.component.mjs +9 -13
- package/esm2022/popover/popover-confirm.component.mjs +11 -13
- package/esm2022/popover/popover.component.mjs +16 -11
- package/esm2022/popover/popover.module.mjs +4 -4
- package/esm2022/progress-bar/progress-bar.component.mjs +11 -11
- package/esm2022/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2022/progress-spinner/progress-spinner.component.mjs +12 -12
- package/esm2022/progress-spinner/progress-spinner.module.mjs +4 -4
- package/esm2022/radio/radio.component.mjs +10 -10
- package/esm2022/radio/radio.module.mjs +4 -4
- package/esm2022/risk-level/risk-level.component.mjs +3 -3
- package/esm2022/risk-level/risk-level.module.mjs +4 -4
- package/esm2022/scrollbar/index.mjs +2 -0
- package/esm2022/scrollbar/koobiq-components-scrollbar.mjs +5 -0
- package/esm2022/scrollbar/public-api.mjs +5 -0
- package/esm2022/scrollbar/scrollbar.component.mjs +130 -0
- package/esm2022/scrollbar/scrollbar.directive.mjs +97 -0
- package/esm2022/scrollbar/scrollbar.module.mjs +20 -0
- package/esm2022/scrollbar/scrollbar.types.mjs +13 -0
- package/esm2022/select/select-option.directive.mjs +6 -6
- package/esm2022/select/select.component.mjs +43 -36
- package/esm2022/select/select.module.mjs +4 -4
- package/esm2022/sidebar/sidebar.component.mjs +11 -11
- package/esm2022/sidebar/sidebar.module.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-animations.mjs +5 -5
- package/esm2022/sidepanel/sidepanel-container.component.mjs +11 -11
- package/esm2022/sidepanel/sidepanel-directives.mjs +26 -26
- package/esm2022/sidepanel/sidepanel-ref.mjs +1 -1
- package/esm2022/sidepanel/sidepanel.module.mjs +4 -4
- package/esm2022/sidepanel/sidepanel.service.mjs +6 -6
- package/esm2022/splitter/splitter.component.mjs +17 -17
- package/esm2022/splitter/splitter.module.mjs +4 -4
- package/esm2022/table/table.component.mjs +3 -3
- package/esm2022/table/table.module.mjs +4 -4
- package/esm2022/tabs/paginated-tab-header.mjs +6 -6
- package/esm2022/tabs/tab-body.component.mjs +12 -12
- package/esm2022/tabs/tab-content.directive.mjs +4 -4
- package/esm2022/tabs/tab-group.component.mjs +21 -21
- package/esm2022/tabs/tab-header.component.mjs +7 -7
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +6 -5
- package/esm2022/tabs/tab-label.directive.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +12 -11
- package/esm2022/tabs/tab.component.mjs +5 -5
- package/esm2022/tabs/tabs.module.mjs +4 -4
- package/esm2022/tags/tag-input.mjs +31 -11
- package/esm2022/tags/tag-list.component.mjs +9 -8
- package/esm2022/tags/tag.component.mjs +16 -16
- package/esm2022/tags/tag.module.mjs +4 -4
- package/esm2022/textarea/textarea.component.mjs +36 -25
- package/esm2022/textarea/textarea.module.mjs +4 -4
- package/esm2022/timepicker/timepicker.directive.mjs +6 -6
- package/esm2022/timepicker/timepicker.module.mjs +4 -4
- package/esm2022/timezone/cities-by-filter.pipe.mjs +3 -3
- package/esm2022/timezone/timezone-option.component.mjs +10 -9
- package/esm2022/timezone/timezone-option.directive.mjs +5 -5
- package/esm2022/timezone/timezone-select.component.mjs +9 -9
- package/esm2022/timezone/timezone.module.mjs +4 -4
- package/esm2022/timezone/timezone.utils.mjs +9 -4
- package/esm2022/timezone/utc-offset.pipe.mjs +6 -6
- package/esm2022/title/title.directive.mjs +6 -6
- package/esm2022/title/title.module.mjs +4 -4
- package/esm2022/toast/toast-animations.mjs +3 -3
- package/esm2022/toast/toast-container.component.mjs +7 -7
- package/esm2022/toast/toast.component.mjs +12 -11
- package/esm2022/toast/toast.module.mjs +4 -4
- package/esm2022/toast/toast.service.mjs +16 -8
- package/esm2022/toast/toast.type.mjs +1 -1
- package/esm2022/toggle/toggle.component.mjs +5 -5
- package/esm2022/toggle/toggle.module.mjs +4 -4
- package/esm2022/tooltip/tooltip.component.mjs +24 -24
- package/esm2022/tooltip/tooltip.module.mjs +4 -4
- package/esm2022/tree/control/base-tree-control.mjs +4 -4
- package/esm2022/tree/control/flat-tree-control.filters.mjs +47 -0
- package/esm2022/tree/control/flat-tree-control.mjs +27 -45
- package/esm2022/tree/control/nested-tree-control.mjs +1 -1
- package/esm2022/tree/control/tree-control.mjs +1 -1
- package/esm2022/tree/data-source/flat-data-source.mjs +1 -1
- package/esm2022/tree/node.mjs +5 -5
- package/esm2022/tree/outlet.mjs +4 -4
- package/esm2022/tree/padding.directive.mjs +6 -6
- package/esm2022/tree/public-api.mjs +2 -1
- package/esm2022/tree/toggle.mjs +12 -12
- package/esm2022/tree/tree-base.mjs +10 -10
- package/esm2022/tree/tree-option.component.mjs +12 -8
- package/esm2022/tree/tree-selection.component.mjs +6 -6
- package/esm2022/tree/tree.mjs +3 -3
- package/esm2022/tree/tree.module.mjs +4 -4
- package/esm2022/tree-select/tree-select.component.mjs +29 -19
- package/esm2022/tree-select/tree-select.module.mjs +9 -9
- package/fesm2022/koobiq-components-alert.mjs +16 -16
- package/fesm2022/koobiq-components-autocomplete.mjs +32 -20
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +16 -15
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +15 -15
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +19 -16
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-card.mjs +8 -8
- package/fesm2022/koobiq-components-card.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +13 -13
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +40 -23
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +473 -350
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +45 -45
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs +7 -7
- package/fesm2022/koobiq-components-dl.mjs +14 -14
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +27 -26
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +19 -19
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +128 -50
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +97 -72
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +33 -19
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +34 -31
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +8 -8
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +27 -27
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +18 -18
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +11 -11
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +49 -43
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +108 -149
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +30 -26
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +14 -14
- package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +15 -15
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +13 -13
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +7 -7
- package/fesm2022/koobiq-components-scrollbar.mjs +256 -0
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -0
- package/fesm2022/koobiq-components-select.mjs +49 -42
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +14 -14
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +47 -47
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +20 -20
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +7 -7
- package/fesm2022/koobiq-components-tabs.mjs +72 -70
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +56 -36
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +39 -28
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +9 -9
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +42 -37
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +9 -9
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +36 -27
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +8 -8
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +27 -27
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +36 -26
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +132 -100
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +10 -1
- package/file-upload/file-drop.d.ts +2 -1
- package/file-upload/file-upload.d.ts +4 -1
- package/file-upload/multiple-file-upload.component.d.ts +14 -6
- package/file-upload/single-file-upload.component.d.ts +12 -6
- package/form-field/_form-field-theme.scss +8 -14
- package/form-field/form-field.d.ts +2 -0
- package/form-field/form-field.scss +12 -1
- package/form-field/hint.scss +1 -1
- package/form-field/password-hint.d.ts +7 -5
- package/icon/icon-button.component.d.ts +1 -0
- package/icon/icon-item.component.d.ts +1 -0
- package/icon/icon.component.d.ts +3 -0
- package/input/input-number.d.ts +3 -2
- package/link/_link-theme.scss +1 -0
- package/list/_list-theme.scss +1 -2
- package/list/list.scss +3 -3
- package/loader-overlay/loader-overlay.scss +2 -2
- package/modal/_modal-confirm.scss +0 -24
- package/modal/modal.component.d.ts +4 -2
- package/modal/modal.scss +32 -20
- package/modal/modal.type.d.ts +0 -1
- package/navbar/_navbar-item_horizontal.scss +97 -0
- package/navbar/_navbar-item_vertical.scss +98 -0
- package/navbar/_navbar-theme.scss +58 -60
- package/navbar/navbar-brand.scss +76 -16
- package/navbar/navbar-divider.scss +13 -4
- package/navbar/navbar-item.component.d.ts +6 -17
- package/navbar/navbar-item.scss +41 -87
- package/navbar/navbar.component.d.ts +3 -0
- package/navbar/navbar.module.d.ts +1 -1
- package/navbar/navbar.scss +13 -1
- package/navbar/vertical-navbar.scss +7 -14
- package/package.json +28 -20
- package/popover/popover-confirm.component.d.ts +0 -2
- package/popover/popover.component.d.ts +6 -1
- package/popover/popover.scss +4 -9
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-spinner/progress-spinner.scss +10 -5
- package/scrollbar/_scrollbar-component-theme.scss +52 -0
- package/scrollbar/index.d.ts +1 -0
- package/scrollbar/public-api.d.ts +4 -0
- package/scrollbar/scrollbar.component.d.ts +33 -0
- package/scrollbar/scrollbar.component.scss +559 -0
- package/scrollbar/scrollbar.directive.d.ts +47 -0
- package/scrollbar/scrollbar.module.d.ts +8 -0
- package/scrollbar/scrollbar.types.d.ts +32 -0
- package/select/select.component.d.ts +4 -3
- package/select/select.scss +7 -0
- package/sidepanel/sidepanel-animations.d.ts +2 -2
- package/sidepanel/sidepanel-directives.d.ts +5 -5
- package/splitter/_splitter-theme.scss +5 -4
- package/tabs/_tabs-common.scss +1 -1
- package/tabs/_tabs-theme.scss +2 -2
- package/tags/tag-input.d.ts +9 -4
- package/tags/tag-list.scss +4 -0
- package/textarea/textarea.component.d.ts +4 -3
- package/timezone/_timezone-option-theme.scss +8 -0
- package/timezone/timezone-option.component.scss +4 -0
- package/timezone/timezone-select.component.scss +13 -0
- package/timezone/timezone.utils.d.ts +4 -0
- package/timezone/utc-offset.pipe.d.ts +3 -1
- package/toast/toast-animations.d.ts +1 -1
- package/toast/toast-container.component.scss +1 -9
- package/toast/toast.component.scss +0 -4
- package/toast/toast.service.d.ts +5 -3
- package/toast/toast.type.d.ts +1 -0
- package/tooltip/tooltip.component.d.ts +1 -1
- package/tooltip/tooltip.scss +0 -3
- package/tree/_tree-theme.scss +5 -5
- package/tree/control/base-tree-control.d.ts +1 -1
- package/tree/control/flat-tree-control.d.ts +5 -3
- package/tree/control/flat-tree-control.filters.d.ts +26 -0
- package/tree/control/tree-control.d.ts +1 -1
- package/tree/public-api.d.ts +1 -0
- package/tree/tree-option.scss +4 -4
- package/tree-select/tree-select.component.d.ts +8 -4
- package/tree-select/tree-select.module.d.ts +1 -1
- package/esm2022/navbar/vertical-navbar.animation.mjs +0 -10
- package/form-field/password-hint.scss +0 -11
- package/navbar/vertical-navbar.animation.d.ts +0 -2
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { NgZone, OnDestroy } from '@angular/core';
|
|
2
|
+
import { KbqScrollbarEvents, KbqScrollbarOptions, KbqScrollbarTarget } from './scrollbar.types';
|
|
3
|
+
import { OverlayScrollbars } from 'overlayscrollbars';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class KbqScrollbarDirective implements OnDestroy {
|
|
6
|
+
private ngZone;
|
|
7
|
+
private scrollbarConfig?;
|
|
8
|
+
private requestDefer;
|
|
9
|
+
private cancelDefer;
|
|
10
|
+
private _options;
|
|
11
|
+
set options(value: KbqScrollbarOptions);
|
|
12
|
+
/** Scrollbar behavior customization object */
|
|
13
|
+
get options(): KbqScrollbarOptions | undefined;
|
|
14
|
+
private _events?;
|
|
15
|
+
set events(value: KbqScrollbarEvents);
|
|
16
|
+
get events(): KbqScrollbarEvents | undefined;
|
|
17
|
+
/** Whether to defer the initialization to a point in time when the browser is idle. (or to the next frame if `window.requestIdleCallback` is not supported) */
|
|
18
|
+
defer?: boolean | IdleRequestOptions;
|
|
19
|
+
scrollbarInstance?: OverlayScrollbars;
|
|
20
|
+
constructor(ngZone: NgZone, scrollbarConfig?: {
|
|
21
|
+
paddingAbsolute?: boolean | undefined;
|
|
22
|
+
showNativeOverlaidScrollbars?: boolean | undefined;
|
|
23
|
+
update?: {
|
|
24
|
+
elementEvents?: [elementSelector: string, eventNames: string][] | null | undefined;
|
|
25
|
+
debounce?: number | [timeout: number, maxWait: number] | null | undefined;
|
|
26
|
+
attributes?: string[] | null | undefined;
|
|
27
|
+
ignoreMutation?: ((mutation: MutationRecord) => any) | null | undefined;
|
|
28
|
+
} | undefined;
|
|
29
|
+
overflow?: {
|
|
30
|
+
x?: import("overlayscrollbars").OverflowBehavior | undefined;
|
|
31
|
+
y?: import("overlayscrollbars").OverflowBehavior | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
scrollbars?: {
|
|
34
|
+
theme?: string | null | undefined;
|
|
35
|
+
visibility?: import("overlayscrollbars").ScrollbarsVisibilityBehavior | undefined;
|
|
36
|
+
autoHide?: import("overlayscrollbars").ScrollbarsAutoHideBehavior | undefined;
|
|
37
|
+
autoHideDelay?: number | undefined;
|
|
38
|
+
dragScroll?: boolean | undefined;
|
|
39
|
+
clickScroll?: boolean | undefined;
|
|
40
|
+
pointers?: string[] | null | undefined;
|
|
41
|
+
} | undefined;
|
|
42
|
+
} | undefined);
|
|
43
|
+
initialize(target: KbqScrollbarTarget): void;
|
|
44
|
+
ngOnDestroy(): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqScrollbarDirective, never>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqScrollbarDirective, "[kbqScrollbar]", never, { "options": { "alias": "options"; "required": false; }; "events": { "alias": "events"; "required": false; }; "defer": { "alias": "defer"; "required": false; }; }, {}, never, never, false, never>;
|
|
47
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./scrollbar.component";
|
|
3
|
+
import * as i2 from "./scrollbar.directive";
|
|
4
|
+
export declare class KbqScrollbarModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqScrollbarModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqScrollbarModule, [typeof i1.KbqScrollbar, typeof i2.KbqScrollbarDirective], never, [typeof i1.KbqScrollbar, typeof i2.KbqScrollbarDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KbqScrollbarModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EventListeners, EventListenerArgs, InitializationTarget, PartialOptions } from 'overlayscrollbars';
|
|
2
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
3
|
+
export type KbqScrollbarEvents = EventListeners;
|
|
4
|
+
export type KbqScrollbarEventListenerArgs = EventListenerArgs;
|
|
5
|
+
export type KbqScrollbarOptions = PartialOptions;
|
|
6
|
+
export type KbqScrollbarTarget = InitializationTarget;
|
|
7
|
+
export declare const KBQ_SCROLLBAR_OPTIONS_DEFAULT_CONFIG: KbqScrollbarOptions;
|
|
8
|
+
export declare const KBQ_SCROLLBAR_CONFIG: InjectionToken<{
|
|
9
|
+
paddingAbsolute?: boolean | undefined;
|
|
10
|
+
showNativeOverlaidScrollbars?: boolean | undefined;
|
|
11
|
+
update?: {
|
|
12
|
+
elementEvents?: [elementSelector: string, eventNames: string][] | null | undefined;
|
|
13
|
+
debounce?: number | [timeout: number, maxWait: number] | null | undefined;
|
|
14
|
+
attributes?: string[] | null | undefined;
|
|
15
|
+
ignoreMutation?: ((mutation: MutationRecord) => any) | null | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
overflow?: {
|
|
18
|
+
x?: import("overlayscrollbars").OverflowBehavior | undefined;
|
|
19
|
+
y?: import("overlayscrollbars").OverflowBehavior | undefined;
|
|
20
|
+
} | undefined;
|
|
21
|
+
scrollbars?: {
|
|
22
|
+
theme?: string | null | undefined;
|
|
23
|
+
visibility?: import("overlayscrollbars").ScrollbarsVisibilityBehavior | undefined;
|
|
24
|
+
autoHide?: import("overlayscrollbars").ScrollbarsAutoHideBehavior | undefined;
|
|
25
|
+
autoHideDelay?: number | undefined;
|
|
26
|
+
dragScroll?: boolean | undefined;
|
|
27
|
+
clickScroll?: boolean | undefined;
|
|
28
|
+
pointers?: string[] | null | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
}>;
|
|
31
|
+
/** Default scroll behavior */
|
|
32
|
+
export declare const KBQ_SCROLLBAR_OPTIONS_DEFAULT_CONFIG_PROVIDER: Provider;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directionality } from '@angular/cdk/bidi';
|
|
2
2
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
3
|
-
import { CdkConnectedOverlay, ConnectedPosition } from '@angular/cdk/overlay';
|
|
3
|
+
import { CdkConnectedOverlay, ConnectedPosition, OverlayContainer } from '@angular/cdk/overlay';
|
|
4
4
|
import { CdkVirtualForOf } from '@angular/cdk/scrolling';
|
|
5
5
|
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, DoCheck, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, QueryList, Renderer2, SimpleChanges, TemplateRef } from '@angular/core';
|
|
6
6
|
import { ControlValueAccessor, FormGroupDirective, NgControl, NgForm } from '@angular/forms';
|
|
@@ -67,6 +67,7 @@ export declare class KbqSelect extends KbqSelectMixinBase implements AfterConten
|
|
|
67
67
|
private readonly _changeDetectorRef;
|
|
68
68
|
private readonly _ngZone;
|
|
69
69
|
private readonly _renderer;
|
|
70
|
+
private overlayContainer;
|
|
70
71
|
private readonly _dir;
|
|
71
72
|
private readonly parentFormField;
|
|
72
73
|
private readonly scrollStrategyFactory;
|
|
@@ -196,7 +197,7 @@ export declare class KbqSelect extends KbqSelectMixinBase implements AfterConten
|
|
|
196
197
|
private visibleChanges;
|
|
197
198
|
/** Emits whenever the component is destroyed. */
|
|
198
199
|
private readonly destroy;
|
|
199
|
-
constructor(_changeDetectorRef: ChangeDetectorRef, _ngZone: NgZone, _renderer: Renderer2, defaultErrorStateMatcher: ErrorStateMatcher, elementRef: ElementRef, _dir: Directionality, parentForm: NgForm, parentFormGroup: FormGroupDirective, parentFormField: KbqFormField, ngControl: NgControl, scrollStrategyFactory: any, localeService?: KbqLocaleService | undefined);
|
|
200
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _ngZone: NgZone, _renderer: Renderer2, defaultErrorStateMatcher: ErrorStateMatcher, elementRef: ElementRef, overlayContainer: OverlayContainer, _dir: Directionality, parentForm: NgForm, parentFormGroup: FormGroupDirective, parentFormField: KbqFormField, ngControl: NgControl, scrollStrategyFactory: any, localeService?: KbqLocaleService | undefined);
|
|
200
201
|
ngOnInit(): void;
|
|
201
202
|
ngAfterContentInit(): void;
|
|
202
203
|
ngAfterViewInit(): void;
|
|
@@ -327,7 +328,7 @@ export declare class KbqSelect extends KbqSelectMixinBase implements AfterConten
|
|
|
327
328
|
private _compareWith;
|
|
328
329
|
private getTotalVisibleItems;
|
|
329
330
|
private buildTriggerClone;
|
|
330
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelect, [null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }, null, { optional: true; }]>;
|
|
331
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelect, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }, null, { optional: true; }]>;
|
|
331
332
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqSelect, "kbq-select", ["kbqSelect"], { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "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; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "hiddenItemsTextFormatter": { "alias": "hiddenItemsTextFormatter"; "required": false; }; }, { "openedChange": "openedChange"; "openedStream": "opened"; "closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, ["cdkVirtualForOf", "customTrigger", "customMatcher", "customTagTemplateRef", "cleaner", "search", "options", "optionGroups"], ["kbq-select-trigger, [kbq-select-trigger]", "kbq-cleaner", "kbq-select-matcher, [kbq-select-matcher]", "[kbqSelectSearch]", "[kbq-select-search-empty-result]", "*", "kbq-select-footer,[kbq-select-footer]"], false, never>;
|
|
332
333
|
}
|
|
333
334
|
export {};
|
package/select/select.scss
CHANGED
|
@@ -25,9 +25,16 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
25
25
|
@extend %kbq-select-content;
|
|
26
26
|
|
|
27
27
|
&:not(:has(> .kbq-select__no-options-message)) .cdk-virtual-scroll-viewport {
|
|
28
|
+
min-height: calc(
|
|
29
|
+
var(--kbq-select-panel-size-max-height, map.get($tokens, select-panel-size-max-height))
|
|
30
|
+
);
|
|
28
31
|
max-height: calc(
|
|
29
32
|
var(--kbq-select-panel-size-max-height, map.get($tokens, select-panel-size-max-height))
|
|
30
33
|
);
|
|
34
|
+
|
|
35
|
+
&.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper {
|
|
36
|
+
max-width: 100%;
|
|
37
|
+
}
|
|
31
38
|
}
|
|
32
39
|
}
|
|
33
40
|
|
|
@@ -5,10 +5,10 @@ export declare enum KbqSidepanelAnimationState {
|
|
|
5
5
|
Visible = "visible",
|
|
6
6
|
Hidden = "hidden"
|
|
7
7
|
}
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const kbqSidepanelTransformAnimation: Record<KbqSidepanelPosition, {
|
|
9
9
|
in: string;
|
|
10
10
|
out: string;
|
|
11
11
|
}>;
|
|
12
|
-
export declare const
|
|
12
|
+
export declare const kbqSidepanelAnimations: {
|
|
13
13
|
readonly sidepanelState: AnimationTriggerMetadata;
|
|
14
14
|
};
|
|
@@ -10,12 +10,12 @@ export declare class KbqSidepanelClose implements OnInit, OnChanges {
|
|
|
10
10
|
private elementRef;
|
|
11
11
|
private sidepanelService;
|
|
12
12
|
sidepanelResult: any;
|
|
13
|
-
|
|
13
|
+
kbqSidepanelClose: any;
|
|
14
14
|
constructor(sidepanelRef: KbqSidepanelRef, elementRef: ElementRef<HTMLElement>, sidepanelService: KbqSidepanelService);
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
ngOnChanges(changes: SimpleChanges): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSidepanelClose, [{ optional: true; }, null, null]>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSidepanelClose, "button[kbq-sidepanel-close], button[
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSidepanelClose, "button[kbq-sidepanel-close], button[kbqSidepanelClose]", never, { "sidepanelResult": { "alias": "kbq-sidepanel-close"; "required": false; }; "kbqSidepanelClose": { "alias": "kbqSidepanelClose"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Header of a sidepanel.
|
|
@@ -30,19 +30,19 @@ export declare class KbqSidepanelHeader {
|
|
|
30
30
|
*/
|
|
31
31
|
export declare class KbqSidepanelBody {
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSidepanelBody, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSidepanelBody, "kbq-sidepanel-body, [kbq-sidepanel-body],
|
|
33
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSidepanelBody, "kbq-sidepanel-body, [kbq-sidepanel-body], kbqSidepanelBody", never, {}, {}, never, never, false, never>;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* Footer of a sidepanel.
|
|
37
37
|
*/
|
|
38
38
|
export declare class KbqSidepanelFooter {
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSidepanelFooter, never>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSidepanelFooter, "kbq-sidepanel-footer, [kbq-sidepanel-footer],
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSidepanelFooter, "kbq-sidepanel-footer, [kbq-sidepanel-footer], kbqSidepanelFooter", never, {}, {}, never, never, false, never>;
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* Actions block of a sidepanel footer.
|
|
44
44
|
*/
|
|
45
45
|
export declare class KbqSidepanelActions {
|
|
46
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSidepanelActions, never>;
|
|
47
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSidepanelActions, "kbq-sidepanel-actions, [kbq-sidepanel-actions],
|
|
47
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSidepanelActions, "kbq-sidepanel-actions, [kbq-sidepanel-actions], kbqSidepanelActions", never, {}, {}, never, never, false, never>;
|
|
48
48
|
}
|
|
@@ -4,28 +4,29 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
@mixin kbq-splitter-theme($theme) {
|
|
7
|
-
$background: map.get($theme, background);
|
|
7
|
+
$background: map.get(map.get($theme, states), background);
|
|
8
8
|
|
|
9
9
|
.kbq-gutter {
|
|
10
10
|
cursor: col-resize;
|
|
11
11
|
|
|
12
12
|
&:hover,
|
|
13
13
|
&.kbq-gutter_dragged {
|
|
14
|
-
background-color: map.get($background,
|
|
14
|
+
background-color: map.get($background, ghost-hover);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
&.kbq-gutter_vertical {
|
|
18
18
|
cursor: row-resize;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
// todo
|
|
21
22
|
&[disabled] {
|
|
22
|
-
background-color: kbq-color($background,
|
|
23
|
+
background-color: kbq-color($background, disabled);
|
|
23
24
|
|
|
24
25
|
cursor: default;
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
.kbq-gutter-ghost {
|
|
29
|
-
background: kbq-color($background,
|
|
30
|
+
background: kbq-color($background, ghost-active);
|
|
30
31
|
}
|
|
31
32
|
}
|
package/tabs/_tabs-common.scss
CHANGED
package/tabs/_tabs-theme.scss
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
@mixin kbq-tab-item-style($tab-item) {
|
|
17
17
|
@include kbq-tab-item-state(map.get($tab-item, default));
|
|
18
18
|
|
|
19
|
-
&:hover:not(
|
|
19
|
+
&:hover:not(.kbq-disabled) {
|
|
20
20
|
@include kbq-tab-item-state(map.get($tab-item, hover));
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
border-color: map.get(map.get($tab-item, focused), border-color);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
&.kbq-disabled {
|
|
36
36
|
@include kbq-tab-item-state(map.get($tab-item, disabled));
|
|
37
37
|
|
|
38
38
|
&.kbq-selected {
|
package/tags/tag-input.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { KbqTrim } from '@koobiq/components/form-field';
|
|
|
4
4
|
import { KbqTagsDefaultOptions } from './tag-default-options';
|
|
5
5
|
import { KbqTagList } from './tag-list.component';
|
|
6
6
|
import { KbqTagTextControl } from './tag-text-control';
|
|
7
|
+
import { KbqAutocompleteTrigger } from '@koobiq/components/autocomplete';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
/** Represents an input event on a `kbqTagInput`. */
|
|
9
10
|
export interface KbqTagInputEvent {
|
|
@@ -26,6 +27,7 @@ export declare class KbqTagInput implements KbqTagTextControl, OnChanges {
|
|
|
26
27
|
private defaultOptions;
|
|
27
28
|
private trimDirective;
|
|
28
29
|
ngControl: NgControl;
|
|
30
|
+
autocompleteTrigger?: KbqAutocompleteTrigger | undefined;
|
|
29
31
|
/** Whether the control is focused. */
|
|
30
32
|
focused: boolean;
|
|
31
33
|
/**
|
|
@@ -39,6 +41,8 @@ export declare class KbqTagInput implements KbqTagTextControl, OnChanges {
|
|
|
39
41
|
private _separators;
|
|
40
42
|
/** Emitted when a tag is to be added. */
|
|
41
43
|
tagEnd: EventEmitter<KbqTagInputEvent>;
|
|
44
|
+
/** A value indicating whether allow/prevent tags duplication */
|
|
45
|
+
distinct: boolean;
|
|
42
46
|
/** The input's placeholder text. */
|
|
43
47
|
placeholder: string;
|
|
44
48
|
/** Unique id for the input. */
|
|
@@ -62,14 +66,15 @@ export declare class KbqTagInput implements KbqTagTextControl, OnChanges {
|
|
|
62
66
|
private oneSymbolWidth;
|
|
63
67
|
/** The native input element to which this directive is attached. */
|
|
64
68
|
private inputElement;
|
|
65
|
-
constructor(elementRef: ElementRef<HTMLInputElement>, renderer: Renderer2, defaultOptions: KbqTagsDefaultOptions, trimDirective: KbqTrim, ngControl: NgControl);
|
|
69
|
+
constructor(elementRef: ElementRef<HTMLInputElement>, renderer: Renderer2, defaultOptions: KbqTagsDefaultOptions, trimDirective: KbqTrim, ngControl: NgControl, autocompleteTrigger?: KbqAutocompleteTrigger | undefined);
|
|
66
70
|
ngOnChanges(): void;
|
|
67
71
|
onKeydown(event: KeyboardEvent): void;
|
|
68
72
|
/** Checks to see if the blur should emit the (tagEnd) event. */
|
|
69
|
-
blur(): void;
|
|
73
|
+
blur(event: FocusEvent): void;
|
|
70
74
|
triggerValidation(): void;
|
|
71
75
|
/** Checks to see if the (tagEnd) event needs to be emitted. */
|
|
72
76
|
emitTagEnd(): void;
|
|
77
|
+
get hasDuplicates(): boolean;
|
|
73
78
|
onInput(): void;
|
|
74
79
|
onPaste($event: ClipboardEvent): void;
|
|
75
80
|
updateInputWidth(): void;
|
|
@@ -82,6 +87,6 @@ export declare class KbqTagInput implements KbqTagTextControl, OnChanges {
|
|
|
82
87
|
private setDefaultInputWidth;
|
|
83
88
|
/** Checks whether a keycode is one of the configured separators. */
|
|
84
89
|
private isSeparatorKey;
|
|
85
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTagInput, [null, null, null, { optional: true; self: true; }, { optional: true; self: true; }]>;
|
|
86
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTagInput, "input[kbqTagInputFor]", ["kbqTagInput", "kbqTagInputFor"], { "separatorKeyCodes": { "alias": "kbqTagInputSeparatorKeyCodes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "tagList": { "alias": "kbqTagInputFor"; "required": false; }; "addOnBlur": { "alias": "kbqTagInputAddOnBlur"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "tagEnd": "kbqTagInputTokenEnd"; }, never, never, false, never>;
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTagInput, [null, null, null, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }]>;
|
|
91
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTagInput, "input[kbqTagInputFor]", ["kbqTagInput", "kbqTagInputFor"], { "separatorKeyCodes": { "alias": "kbqTagInputSeparatorKeyCodes"; "required": false; }; "distinct": { "alias": "distinct"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "tagList": { "alias": "kbqTagInputFor"; "required": false; }; "addOnBlur": { "alias": "kbqTagInputAddOnBlur"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "tagEnd": "kbqTagInputTokenEnd"; }, never, never, false, never>;
|
|
87
92
|
}
|
package/tags/tag-list.scss
CHANGED
|
@@ -25,6 +25,7 @@ export declare class KbqTextareaBase {
|
|
|
25
25
|
export declare const KbqTextareaMixinBase: CanUpdateErrorStateCtor & typeof KbqTextareaBase;
|
|
26
26
|
export declare class KbqTextarea extends KbqTextareaMixinBase implements KbqFormFieldControl<any>, OnInit, OnChanges, OnDestroy, DoCheck, CanUpdateErrorState {
|
|
27
27
|
protected elementRef: ElementRef;
|
|
28
|
+
private parent;
|
|
28
29
|
private ngZone;
|
|
29
30
|
canGrow: boolean;
|
|
30
31
|
/** An object used to control when error messages are shown. */
|
|
@@ -83,14 +84,14 @@ export declare class KbqTextarea extends KbqTextareaMixinBase implements KbqForm
|
|
|
83
84
|
private lineHeight;
|
|
84
85
|
private freeRowsHeight;
|
|
85
86
|
private minHeight;
|
|
86
|
-
constructor(elementRef: ElementRef, ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, inputValueAccessor: any, ngZone: NgZone);
|
|
87
|
+
constructor(elementRef: ElementRef, ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, inputValueAccessor: any, parent: any, ngZone: NgZone);
|
|
87
88
|
ngOnInit(): void;
|
|
88
89
|
ngOnChanges(): void;
|
|
89
90
|
ngOnDestroy(): void;
|
|
90
91
|
ngDoCheck(): void;
|
|
91
92
|
onBlur(): void;
|
|
92
93
|
/** Grow textarea height to avoid vertical scroll */
|
|
93
|
-
grow()
|
|
94
|
+
grow: () => void;
|
|
94
95
|
/** Focuses the textarea. */
|
|
95
96
|
focus(): void;
|
|
96
97
|
/** Callback for the cases where the focused state of the textarea changes. */
|
|
@@ -109,6 +110,6 @@ export declare class KbqTextarea extends KbqTextareaMixinBase implements KbqForm
|
|
|
109
110
|
protected dirtyCheckNativeValue(): void;
|
|
110
111
|
/** Checks whether the textarea is invalid based on the native validation. */
|
|
111
112
|
protected isBadInput(): boolean;
|
|
112
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTextarea, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }, null]>;
|
|
113
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTextarea, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }, { optional: true; host: true; }, null]>;
|
|
113
114
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTextarea, "textarea[kbqTextarea]", ["kbqTextarea"], { "canGrow": { "alias": "canGrow"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
114
115
|
}
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
.kbq-timezone-option__cities {
|
|
16
16
|
color: map.get($timezone, caption);
|
|
17
17
|
}
|
|
18
|
+
|
|
19
|
+
.kbq-timezone-select__panel.kbq-select__panel .kbq-optgroup-label {
|
|
20
|
+
color: map.get($timezone, optgroup-label);
|
|
21
|
+
}
|
|
18
22
|
}
|
|
19
23
|
|
|
20
24
|
@mixin kbq-timezone-option-typography($config) {
|
|
@@ -31,4 +35,8 @@
|
|
|
31
35
|
.kbq-timezone-option__cities {
|
|
32
36
|
@include kbq-typography-level-to-styles($config, map.get($tokens, timezone-option-font-caption));
|
|
33
37
|
}
|
|
38
|
+
|
|
39
|
+
.kbq-timezone-select__panel.kbq-select__panel .kbq-optgroup-label {
|
|
40
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, timezone-option-font-optgroup-label));
|
|
41
|
+
}
|
|
34
42
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@use 'sass:meta';
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
@use '../core/styles/tokens';
|
|
5
|
+
|
|
6
|
+
$tokens: meta.module-variables(tokens) !default;
|
|
7
|
+
|
|
8
|
+
.kbq-timezone-select__panel.kbq-select__panel {
|
|
9
|
+
.kbq-optgroup-label {
|
|
10
|
+
display: block;
|
|
11
|
+
padding: map.get($tokens, timezone-option-size-optgroup-label-padding);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -7,7 +7,11 @@ export declare function parseOffset(offset: string): number;
|
|
|
7
7
|
* Grouping timezones by countries
|
|
8
8
|
*/
|
|
9
9
|
export declare function getZonesGroupedByCountry(data: KbqTimezoneZone[], otherCountriesLabel?: string, priorityCountry?: string): KbqTimezoneGroup[];
|
|
10
|
+
export declare function offset(value: any): string;
|
|
10
11
|
export declare function offsetFormatter(value: string): string;
|
|
12
|
+
export declare function offsetFormatterAsObject(value: string): {
|
|
13
|
+
[UTC: string]: string;
|
|
14
|
+
};
|
|
11
15
|
/**
|
|
12
16
|
* Comparator for timezone sorting. Sort by offset and country name
|
|
13
17
|
*/
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class UtcOffsetPipe implements PipeTransform {
|
|
4
|
-
transform(value: string):
|
|
4
|
+
transform(value: string): {
|
|
5
|
+
[UTC: string]: string;
|
|
6
|
+
};
|
|
5
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<UtcOffsetPipe, never>;
|
|
6
8
|
static ɵpipe: i0.ɵɵPipeDeclaration<UtcOffsetPipe, "utcOffset", false>;
|
|
7
9
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
4
|
@use '../core/styles/tokens';
|
|
5
|
-
@use '../core/styles/variables';
|
|
6
5
|
|
|
7
6
|
|
|
8
7
|
$tokens: meta.module-variables(tokens) !default;
|
|
@@ -13,12 +12,5 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
13
12
|
flex-direction: column;
|
|
14
13
|
align-items: flex-end;
|
|
15
14
|
|
|
16
|
-
gap:
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.cdk-overlay-container {
|
|
20
|
-
.kbq-toast-overlay,
|
|
21
|
-
.kbq-toast-overlay ~ *:not(.kbq-modal-overlay, .kbq-sidepanel-overlay, .cdk-overlay-backdrop) {
|
|
22
|
-
z-index: variables.$z-index-notification;
|
|
23
|
-
}
|
|
15
|
+
gap: map.get($tokens, size-m);
|
|
24
16
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
@use 'sass:meta';
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
|
-
@use '../core/styles/variables' as *;
|
|
5
|
-
|
|
6
4
|
@use '../core/styles/tokens';
|
|
7
5
|
|
|
8
6
|
|
|
@@ -12,8 +10,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
12
10
|
display: flex;
|
|
13
11
|
box-sizing: border-box;
|
|
14
12
|
|
|
15
|
-
z-index: $z-index-toast;
|
|
16
|
-
|
|
17
13
|
min-width: var(--kbq-toast-size-container-min-width, map.get($tokens, toast-size-container-min-width));
|
|
18
14
|
max-width: 480px;
|
|
19
15
|
|
package/toast/toast.service.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnimationEvent } from '@angular/animations';
|
|
2
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
+
import { Overlay, OverlayContainer } from '@angular/cdk/overlay';
|
|
3
3
|
import { Injector, ComponentRef, TemplateRef, EmbeddedViewRef, InjectionToken } from '@angular/core';
|
|
4
4
|
import { BehaviorSubject } from 'rxjs';
|
|
5
5
|
import { KbqToastComponent } from './toast.component';
|
|
@@ -10,6 +10,7 @@ export declare const defaultToastConfig: KbqToastConfig;
|
|
|
10
10
|
export declare class KbqToastService<T extends KbqToastComponent = KbqToastComponent> {
|
|
11
11
|
private overlay;
|
|
12
12
|
private injector;
|
|
13
|
+
private overlayContainer;
|
|
13
14
|
private toastFactory;
|
|
14
15
|
private toastConfig;
|
|
15
16
|
get toasts(): ComponentRef<T>[];
|
|
@@ -22,7 +23,7 @@ export declare class KbqToastService<T extends KbqToastComponent = KbqToastCompo
|
|
|
22
23
|
private portal;
|
|
23
24
|
private toastsDict;
|
|
24
25
|
private templatesDict;
|
|
25
|
-
constructor(overlay: Overlay, injector: Injector, toastFactory: any, toastConfig: KbqToastConfig);
|
|
26
|
+
constructor(overlay: Overlay, injector: Injector, overlayContainer: OverlayContainer, toastFactory: any, toastConfig: KbqToastConfig);
|
|
26
27
|
show(data: KbqToastData, duration?: number, onTop?: boolean): {
|
|
27
28
|
ref: ComponentRef<T>;
|
|
28
29
|
id: number;
|
|
@@ -38,6 +39,7 @@ export declare class KbqToastService<T extends KbqToastComponent = KbqToastCompo
|
|
|
38
39
|
private updateTTLAfterDelete;
|
|
39
40
|
private addRemoveTimer;
|
|
40
41
|
private prepareContainer;
|
|
42
|
+
private toTop;
|
|
41
43
|
private createOverlay;
|
|
42
44
|
private getPositionStrategy;
|
|
43
45
|
private getTopCenter;
|
|
@@ -48,6 +50,6 @@ export declare class KbqToastService<T extends KbqToastComponent = KbqToastCompo
|
|
|
48
50
|
private getBottomRight;
|
|
49
51
|
private getCenter;
|
|
50
52
|
private getGlobalOverlayPosition;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqToastService<any>, [null, null, null, { optional: true; }]>;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqToastService<any>, [null, null, null, null, { optional: true; }]>;
|
|
52
54
|
static ɵprov: i0.ɵɵInjectableDeclaration<KbqToastService<any>>;
|
|
53
55
|
}
|
package/toast/toast.type.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export declare class KbqToastData {
|
|
|
16
16
|
title?: string | TemplateRef<any>;
|
|
17
17
|
style?: KbqToastStyle | string;
|
|
18
18
|
icon?: TemplateRef<any> | boolean;
|
|
19
|
+
iconClass?: string;
|
|
19
20
|
caption?: string | TemplateRef<any>;
|
|
20
21
|
content?: string | TemplateRef<any>;
|
|
21
22
|
actions?: TemplateRef<any>;
|
|
@@ -70,7 +70,7 @@ export declare class KbqTooltipTrigger extends KbqPopUpTrigger<KbqTooltipCompone
|
|
|
70
70
|
getOverlayHandleComponentType(): Type<KbqTooltipComponent>;
|
|
71
71
|
updateClassMap(newPlacement?: string): void;
|
|
72
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTooltipTrigger, [null, null, null, null, null, null, { optional: true; }]>;
|
|
73
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTooltipTrigger, "[kbqTooltip]", ["kbqTooltip"], { "tooltipVisible": { "alias": "kbqVisible"; "required": false; }; "tooltipPlacement": { "alias": "kbqPlacement"; "required": false; }; "tooltipPlacementPriority": { "alias": "kbqPlacementPriority"; "required": false; }; "content": { "alias": "kbqTooltip"; "required": false; }; "disabled": { "alias": "kbqTooltipDisabled"; "required": false; }; "enterDelay": { "alias": "
|
|
73
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTooltipTrigger, "[kbqTooltip]", ["kbqTooltip"], { "tooltipVisible": { "alias": "kbqVisible"; "required": false; }; "tooltipPlacement": { "alias": "kbqPlacement"; "required": false; }; "tooltipPlacementPriority": { "alias": "kbqPlacementPriority"; "required": false; }; "content": { "alias": "kbqTooltip"; "required": false; }; "disabled": { "alias": "kbqTooltipDisabled"; "required": false; }; "enterDelay": { "alias": "kbqEnterDelay"; "required": false; }; "leaveDelay": { "alias": "kbqLeaveDelay"; "required": false; }; "trigger": { "alias": "kbqTrigger"; "required": false; }; "customClass": { "alias": "kbqTooltipClass"; "required": false; }; "color": { "alias": "kbqTooltipColor"; "required": false; }; }, { "placementChange": "kbqPlacementChange"; "visibleChange": "kbqVisibleChange"; }, never, never, false, never>;
|
|
74
74
|
}
|
|
75
75
|
export declare class KbqWarningTooltipTrigger extends KbqTooltipTrigger {
|
|
76
76
|
get content(): string | TemplateRef<any>;
|
package/tooltip/tooltip.scss
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@use 'sass:meta';
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
|
-
@use '../core/styles/variables' as *;
|
|
5
4
|
@use '../core/pop-up/pop-up';
|
|
6
5
|
|
|
7
6
|
@use '../core/styles/tokens';
|
|
@@ -22,8 +21,6 @@ $trigger-margin: 8px;
|
|
|
22
21
|
|
|
23
22
|
border-radius: var(--kbq-tooltip-size-border-radius, map.get($tokens, tooltip-size-border-radius));
|
|
24
23
|
|
|
25
|
-
z-index: $z-index-tooltip;
|
|
26
|
-
|
|
27
24
|
white-space: pre-line;
|
|
28
25
|
|
|
29
26
|
@include pop-up.popup-margins(kbq-tooltip, $trigger-margin);
|
package/tree/_tree-theme.scss
CHANGED
|
@@ -12,9 +12,10 @@
|
|
|
12
12
|
color: map.get($state, text);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
// todo выглядит как баг
|
|
16
|
+
//.kbq-icon {
|
|
17
|
+
// color: map.get($state, icon);
|
|
18
|
+
//}
|
|
18
19
|
|
|
19
20
|
.kbq-tree-node-toggle .kbq-icon {
|
|
20
21
|
color: map.get($state, tree-toggle);
|
|
@@ -57,8 +58,7 @@
|
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
60
|
|
|
60
|
-
&.kbq-disabled
|
|
61
|
-
&[disabled] {
|
|
61
|
+
&.kbq-disabled {
|
|
62
62
|
@include kbq-tree-option(map.get($tree-item, disabled));
|
|
63
63
|
|
|
64
64
|
& .kbq-icon {
|
|
@@ -7,7 +7,7 @@ export declare abstract class BaseTreeControl<T> implements TreeControl<T> {
|
|
|
7
7
|
/** A selection model with multi-selection to track expansion status. */
|
|
8
8
|
expansionModel: SelectionModel<T>;
|
|
9
9
|
filterModel: SelectionModel<T>;
|
|
10
|
-
filterValue: BehaviorSubject<string | null>;
|
|
10
|
+
filterValue: BehaviorSubject<string | T[] | null>;
|
|
11
11
|
/** Get depth of a given data node, return the level number. This is for flat tree node. */
|
|
12
12
|
getLevel: (dataNode: T) => number;
|
|
13
13
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseTreeControl } from './base-tree-control';
|
|
2
|
+
import { FlatTreeControlFilter } from './flat-tree-control.filters';
|
|
2
3
|
export declare function defaultCompareValues(firstValue: string, secondValue: string): boolean;
|
|
3
4
|
export declare function defaultCompareViewValues(firstViewValue: string, secondViewValue: string): boolean;
|
|
4
5
|
/** Flat tree control. Able to expand/collapse a subtree recursively for flattened tree. */
|
|
@@ -16,6 +17,7 @@ export declare class FlatTreeControl<T> extends BaseTreeControl<T> {
|
|
|
16
17
|
/** isDisabled will be used to determine if the node is disabled. */
|
|
17
18
|
isDisabled: (dataNode: T) => boolean;
|
|
18
19
|
expandedItemsBeforeFiltration: T[];
|
|
20
|
+
private filters;
|
|
19
21
|
/** Construct with flat tree data node functions getLevel, isExpandable, getValue and getViewValue. */
|
|
20
22
|
constructor(getLevel: (dataNode: T) => number, isExpandable: (dataNode: T) => boolean,
|
|
21
23
|
/** getValue will be used to determine if the tree contains value or not. Used in method hasValue */
|
|
@@ -28,6 +30,8 @@ export declare class FlatTreeControl<T> extends BaseTreeControl<T> {
|
|
|
28
30
|
compareViewValues?: (firstViewValue: any, secondViewValue: any) => boolean,
|
|
29
31
|
/** isDisabled will be used to determine if the node is disabled. */
|
|
30
32
|
isDisabled?: (dataNode: T) => boolean);
|
|
33
|
+
getFilters(): FlatTreeControlFilter<T>[];
|
|
34
|
+
setFilters(...filters: FlatTreeControlFilter<T>[]): void;
|
|
31
35
|
/**
|
|
32
36
|
* Gets a list of the data node's subtree of descendent data nodes.
|
|
33
37
|
*
|
|
@@ -44,10 +48,8 @@ export declare class FlatTreeControl<T> extends BaseTreeControl<T> {
|
|
|
44
48
|
expandAll(): void;
|
|
45
49
|
getParents(node: any, result: T[]): T[];
|
|
46
50
|
hasValue(value: string): T | undefined;
|
|
47
|
-
filterNodes(value
|
|
51
|
+
filterNodes(value?: string | null): void;
|
|
48
52
|
private updateFilterValue;
|
|
49
|
-
private expandDataNode;
|
|
50
53
|
private saveExpansionState;
|
|
51
54
|
private restoreExpansionState;
|
|
52
|
-
private hasFilteredDescendant;
|
|
53
55
|
}
|