@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
|
@@ -23,7 +23,11 @@ export declare abstract class KbqBasePipe<V> implements AfterViewInit {
|
|
|
23
23
|
protected values: any;
|
|
24
24
|
/** TemplateRef for selecting an option */
|
|
25
25
|
protected valueTemplate?: TemplateRef<any> | string;
|
|
26
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Whether the current platform is a Mac.
|
|
28
|
+
*
|
|
29
|
+
* @docs-private
|
|
30
|
+
*/
|
|
27
31
|
isMac: boolean;
|
|
28
32
|
/** Data for the pipe.
|
|
29
33
|
* @docs-private */
|
|
@@ -54,7 +58,7 @@ export declare class KbqPipeMinWidth {
|
|
|
54
58
|
/** KbqFilterBar instance */
|
|
55
59
|
protected readonly filterBar: KbqFilterBar | null;
|
|
56
60
|
/** @docs-private */
|
|
57
|
-
protected readonly elementRef: ElementRef<
|
|
61
|
+
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
58
62
|
/** @docs-private */
|
|
59
63
|
protected readonly changeDetectorRef: ChangeDetectorRef;
|
|
60
64
|
/** @docs-private */
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
margin-left: -1px;
|
|
40
40
|
margin-right: 0;
|
|
41
41
|
|
|
42
|
-
height:
|
|
42
|
+
height: var(--kbq-size-l);
|
|
43
43
|
|
|
44
44
|
align-self: center;
|
|
45
45
|
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
content: '';
|
|
54
54
|
position: absolute;
|
|
55
55
|
left: 0;
|
|
56
|
-
top:
|
|
56
|
+
top: var(--kbq-size-s);
|
|
57
57
|
|
|
58
58
|
width: 1px;
|
|
59
|
-
height:
|
|
59
|
+
height: var(--kbq-size-l);
|
|
60
60
|
|
|
61
61
|
background: var(--kbq-line-contrast-less);
|
|
62
62
|
}
|
|
@@ -87,14 +87,17 @@
|
|
|
87
87
|
display: flex;
|
|
88
88
|
|
|
89
89
|
& .kbq-date-period__date {
|
|
90
|
+
min-width: 136px;
|
|
91
|
+
|
|
90
92
|
& .kbq-form-field__container {
|
|
91
93
|
border-top-right-radius: unset;
|
|
92
94
|
border-bottom-right-radius: unset;
|
|
93
95
|
}
|
|
94
96
|
}
|
|
95
97
|
|
|
96
|
-
& .kbq-date-period__time {
|
|
98
|
+
& .kbq-date-period__time.kbq-form-field-type-timepicker {
|
|
97
99
|
margin-left: -1px;
|
|
100
|
+
width: unset;
|
|
98
101
|
|
|
99
102
|
& .kbq-form-field__container {
|
|
100
103
|
border-top-left-radius: unset;
|
|
@@ -15,10 +15,12 @@ export declare class KbqPipeTitleDirective extends KbqTooltipTrigger implements
|
|
|
15
15
|
private focusMonitorSubscription;
|
|
16
16
|
private childContainer;
|
|
17
17
|
private parentContainer;
|
|
18
|
+
constructor();
|
|
18
19
|
ngAfterViewInit(): void;
|
|
19
20
|
ngOnDestroy(): void;
|
|
20
21
|
handleElementEnter(): void;
|
|
21
22
|
hideTooltip(): void;
|
|
23
|
+
private listenToMutationObserver;
|
|
22
24
|
private createMutationObserver;
|
|
23
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqPipeTitleDirective, never>;
|
|
24
26
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqPipeTitleDirective, "[kbqPipeTitle]", ["kbqPipeTitle"], { "viewValue": { "alias": "kbqPipeTitle"; "required": false; }; }, {}, ["parentContainer", "childContainer"], never, true, never>;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
--kbq-form-field-size-icon-button-margin-left: var(--kbq-size-xxs);
|
|
12
12
|
|
|
13
13
|
--kbq-form-field-hint-size-margin-top: var(--kbq-size-xs);
|
|
14
|
-
--kbq-form-field-hint-size-gap: var(--kbq-size-
|
|
14
|
+
--kbq-form-field-hint-size-gap: var(--kbq-size-xxs);
|
|
15
15
|
|
|
16
16
|
--kbq-form-field-size-container-vertical-padding: calc(var(--kbq-size-xs) - var(--kbq-size-border-width));
|
|
17
17
|
--kbq-form-field-size-container-left-padding: calc(var(--kbq-size-xs) - var(--kbq-size-border-width));
|
|
@@ -41,7 +41,7 @@ export declare class KbqFormField extends KbqColorDirective implements AfterCont
|
|
|
41
41
|
/**
|
|
42
42
|
* @docs-private
|
|
43
43
|
*/
|
|
44
|
-
readonly elementRef: ElementRef<
|
|
44
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
45
45
|
/** Disables form field borders and shadows. */
|
|
46
46
|
readonly noBorders: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
47
47
|
/**
|
|
@@ -4,11 +4,15 @@
|
|
|
4
4
|
@mixin kbq-form-field-hint-geometry {
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column;
|
|
7
|
-
gap: var(--kbq-size-
|
|
7
|
+
gap: var(--kbq-form-field-hint-size-gap);
|
|
8
8
|
margin-top: var(--kbq-form-field-hint-size-margin-top);
|
|
9
9
|
|
|
10
|
-
.kbq-password-hint
|
|
11
|
-
|
|
10
|
+
&:has(.kbq-reactive-password-hint, .kbq-password-hint) {
|
|
11
|
+
--kbq-form-field-hint-size-gap: var(--kbq-size-s);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:has(:is(.kbq-reactive-password-hint, .kbq-password-hint):first-child) {
|
|
15
|
+
--kbq-form-field-hint-size-margin-top: var(--kbq-size-m);
|
|
12
16
|
}
|
|
13
17
|
}
|
|
14
18
|
|
|
@@ -120,10 +124,6 @@
|
|
|
120
124
|
.kbq-form-field__hint {
|
|
121
125
|
@include kbq-form-field-hint-geometry();
|
|
122
126
|
}
|
|
123
|
-
|
|
124
|
-
.kbq-password-hint {
|
|
125
|
-
margin-top: var(--kbq-form-field-hint-size-gap);
|
|
126
|
-
}
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
@include theme.kbq-form-field-theme();
|
|
@@ -5,7 +5,7 @@ import { KbqTooltipTrigger } from '@koobiq/components/tooltip';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/** Component which changes password visibility. */
|
|
7
7
|
export declare class KbqPasswordToggle extends KbqTooltipTrigger implements AfterViewInit, OnDestroy, AfterContentInit {
|
|
8
|
-
protected readonly nativeElement:
|
|
8
|
+
protected readonly nativeElement: HTMLElement;
|
|
9
9
|
protected readonly focusMonitor: FocusMonitor;
|
|
10
10
|
protected readonly changeDetectorRef: ChangeDetectorRef;
|
|
11
11
|
private readonly formField;
|
package/form-field/stepper.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
2
3
|
import { KbqFormFieldControl } from './form-field-control';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
type KbqNumberInput = KbqFormFieldControl<unknown> & {
|
|
@@ -6,13 +7,37 @@ type KbqNumberInput = KbqFormFieldControl<unknown> & {
|
|
|
6
7
|
stepDown: (step: number) => void;
|
|
7
8
|
step: number;
|
|
8
9
|
};
|
|
10
|
+
/**
|
|
11
|
+
* Timeout duration when clicking the up/down arrow
|
|
12
|
+
* @docs-private
|
|
13
|
+
*/
|
|
14
|
+
export declare const KBQ_STEPPER_INITIAL_TIMEOUT = 300;
|
|
15
|
+
/**
|
|
16
|
+
* Interval delay when clicking the up/down arrow
|
|
17
|
+
* @docs-private
|
|
18
|
+
*/
|
|
19
|
+
export declare const KBQ_STEPPER_INTERVAL_DELAY = 75;
|
|
9
20
|
/** Component which allow to increment or decrement number value. */
|
|
10
21
|
export declare class KbqStepper {
|
|
11
22
|
private readonly formField;
|
|
23
|
+
private readonly document;
|
|
12
24
|
/** Emitted when the stepper is incremented. */
|
|
13
25
|
readonly stepUp: EventEmitter<void>;
|
|
14
26
|
/** Emitted when the stepper is decremented. */
|
|
15
27
|
readonly stepDown: EventEmitter<void>;
|
|
28
|
+
/** @docs-private */
|
|
29
|
+
protected readonly mouseUp: Subject<void>;
|
|
30
|
+
/**
|
|
31
|
+
* Timing observable simulating long press in native input-number.
|
|
32
|
+
* - Value increases/decreases by step immediately.
|
|
33
|
+
* - Brief pause (`300ms`)
|
|
34
|
+
* - Numbers start running upward/downward with selected speed
|
|
35
|
+
* (controlled by interval period)
|
|
36
|
+
* @see KBQ_STEPPER_INTERVAL_DELAY
|
|
37
|
+
* @see KBQ_STEPPER_INITIAL_TIMEOUT
|
|
38
|
+
* @docs-private
|
|
39
|
+
*/
|
|
40
|
+
private readonly longPress;
|
|
16
41
|
/**
|
|
17
42
|
* Form field number control.
|
|
18
43
|
*
|
|
@@ -23,14 +48,11 @@ export declare class KbqStepper {
|
|
|
23
48
|
* @docs-private
|
|
24
49
|
*/
|
|
25
50
|
connectTo(numberInput: KbqNumberInput): void;
|
|
26
|
-
/**
|
|
27
|
-
* @docs-private
|
|
28
|
-
*/
|
|
51
|
+
/** @docs-private */
|
|
29
52
|
onStepUp($event: MouseEvent): void;
|
|
30
|
-
/**
|
|
31
|
-
* @docs-private
|
|
32
|
-
*/
|
|
53
|
+
/** @docs-private */
|
|
33
54
|
onStepDown($event: MouseEvent): void;
|
|
55
|
+
private handleStep;
|
|
34
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqStepper, never>;
|
|
35
57
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqStepper, "kbq-stepper", ["kbqStepper"], {}, { "stepUp": "stepUp"; "stepDown": "stepDown"; }, never, never, true, never>;
|
|
36
58
|
}
|
package/icon/icon.component.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { AfterContentInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
|
2
2
|
import { KbqColorDirective } from '@koobiq/components/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class KbqIcon extends KbqColorDirective implements AfterContentInit {
|
|
5
|
-
readonly elementRef: ElementRef<
|
|
5
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
6
6
|
protected readonly formField: import("@koobiq/components/core").KbqFormFieldRef | null;
|
|
7
7
|
protected readonly changeDetectorRef: ChangeDetectorRef;
|
|
8
8
|
small: boolean;
|
|
@@ -11,7 +11,7 @@ export declare class KbqIcon extends KbqColorDirective implements AfterContentIn
|
|
|
11
11
|
/** Name of an icon within a @koobiq/icons. */
|
|
12
12
|
iconName: string;
|
|
13
13
|
protected name: string;
|
|
14
|
-
getHostElement():
|
|
14
|
+
getHostElement(): HTMLElement;
|
|
15
15
|
updateMaxHeight(): void;
|
|
16
16
|
ngAfterContentInit(): void;
|
|
17
17
|
private updateState;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
:where(.kbq-inline-edit, .kbq-inline-edit__panel) {
|
|
2
|
+
--kbq-inline-edit-background: transparent;
|
|
3
|
+
--kbq-inline-edit-height: var(--kbq-size-3xl);
|
|
4
|
+
--kbq-inline-edit-padding-horizontal: var(--kbq-size-s);
|
|
5
|
+
--kbq-inline-edit-padding-vertical: 5px;
|
|
6
|
+
--kbq-inline-edit-panel-shadow: var(--kbq-shadow-popup);
|
|
7
|
+
--kbq-inline-edit-label-color: var(--kbq-foreground-contrast-secondary);
|
|
8
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { CdkConnectedOverlay, CdkOverlayOrigin, ScrollStrategy } from '@angular/cdk/overlay';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import { KbqComponentColors, PopUpPlacements } from '@koobiq/components/core';
|
|
4
|
+
import { KbqDropdownTrigger } from '@koobiq/components/dropdown';
|
|
5
|
+
import { KbqFormField, KbqLabel } from '@koobiq/components/form-field';
|
|
6
|
+
import { KbqTooltipTrigger } from '@koobiq/components/tooltip';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@koobiq/components/core";
|
|
9
|
+
/** @docs-private */
|
|
10
|
+
export declare class KbqFocusRegionItem {
|
|
11
|
+
readonly tabOut: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
|
|
12
|
+
protected isFocused: boolean;
|
|
13
|
+
protected onTabOut(event: KeyboardEvent): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqFocusRegionItem, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqFocusRegionItem, "[kbqFocusRegionItem]", ["kbqFocusRegionItem"], {}, { "tabOut": "tabOut"; }, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
/** Directive for easy using styles of inline edit placeholder publicly. */
|
|
18
|
+
export declare class KbqInlineEditPlaceholder {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqInlineEditPlaceholder, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqInlineEditPlaceholder, "[kbqInlineEditPlaceholder]", ["kbqInlineEditPlaceholder"], {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* This directive enhances element acting as dropdown trigger,
|
|
24
|
+
* visually indicating the active state with the `kbq-active` class.
|
|
25
|
+
* Also, it prevents click/keydown events from being propagated to disable mode toggling of parent component.
|
|
26
|
+
*/
|
|
27
|
+
export declare class KbqInlineEditMenu {
|
|
28
|
+
/** @docs-private */
|
|
29
|
+
protected readonly dropdownTrigger: KbqDropdownTrigger | null;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqInlineEditMenu, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqInlineEditMenu, "[kbqInlineEditMenu]", ["kbqInlineEditMenu"], {}, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Customizable component that enables edit-in-place logic for specified control and it's view.
|
|
35
|
+
* This component is projecting edit/view mode templates and adds keyboard/pointer handlers.
|
|
36
|
+
* Edit mode opens in a positioned overlay that matches the view mode width or can be customized.
|
|
37
|
+
*/
|
|
38
|
+
export declare class KbqInlineEdit {
|
|
39
|
+
private readonly elementRef;
|
|
40
|
+
private readonly kbqFocusMonitor;
|
|
41
|
+
private readonly overlay;
|
|
42
|
+
private readonly document;
|
|
43
|
+
/**
|
|
44
|
+
* Whether to show save/cancel action buttons in edit mode.
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
47
|
+
readonly showActions: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
48
|
+
/**
|
|
49
|
+
* Whether to automatically show validation error tooltips on save attempts.
|
|
50
|
+
* @default true
|
|
51
|
+
*/
|
|
52
|
+
readonly showTooltipOnError: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
53
|
+
/** Custom validation tooltip message. */
|
|
54
|
+
readonly validationTooltip: import("@angular/core").InputSignal<string | TemplateRef<any> | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* Disables the component, preventing interaction and mode switching. Only allows menu dropdown.
|
|
57
|
+
* @default false
|
|
58
|
+
*/
|
|
59
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
60
|
+
/** Custom width in pixels for the edit mode overlay. Auto-calculated if not set. */
|
|
61
|
+
readonly editModeWidth: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
62
|
+
/** User-defined tooltip placement */
|
|
63
|
+
readonly tooltipPlacement: import("@angular/core").InputSignal<PopUpPlacements | undefined>;
|
|
64
|
+
/** Handler function to retrieve the current value */
|
|
65
|
+
readonly getValueHandler: import("@angular/core").InputSignal<(() => unknown) | undefined>;
|
|
66
|
+
/** Handler function to update the value */
|
|
67
|
+
readonly setValueHandler: import("@angular/core").InputSignal<((value: any) => void) | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* Customizable function that checks if saving on enter available.
|
|
70
|
+
*/
|
|
71
|
+
readonly canSaveOnEnter: import("@angular/core").InputSignal<(event: KeyboardEvent) => boolean>;
|
|
72
|
+
/** Emitted when the inline edit is saved successfully. */
|
|
73
|
+
protected readonly saved: import("@angular/core").OutputEmitterRef<void>;
|
|
74
|
+
/** Emitted when the inline edit is canceled and changes are discarded. */
|
|
75
|
+
protected readonly canceled: import("@angular/core").OutputEmitterRef<void>;
|
|
76
|
+
/** Emitted when mode switched to edit/view */
|
|
77
|
+
protected readonly modeChange: import("@angular/core").OutputEmitterRef<"view" | "edit">;
|
|
78
|
+
/** @docs-private */
|
|
79
|
+
protected readonly menu: import("@angular/core").Signal<KbqInlineEditMenu | undefined>;
|
|
80
|
+
/** @docs-private */
|
|
81
|
+
protected readonly label: import("@angular/core").Signal<KbqLabel | undefined>;
|
|
82
|
+
/** @docs-private */
|
|
83
|
+
protected readonly formFieldRef: import("@angular/core").Signal<KbqFormField | undefined>;
|
|
84
|
+
/** @docs-private */
|
|
85
|
+
protected readonly overlayOrigin: import("@angular/core").Signal<CdkOverlayOrigin>;
|
|
86
|
+
/** @docs-private */
|
|
87
|
+
protected readonly tooltipTrigger: import("@angular/core").Signal<KbqTooltipTrigger | undefined>;
|
|
88
|
+
/** @docs-private */
|
|
89
|
+
protected readonly overlayDir: import("@angular/core").Signal<CdkConnectedOverlay | undefined>;
|
|
90
|
+
/** @docs-private */
|
|
91
|
+
protected readonly regionItems: import("@angular/core").Signal<readonly KbqFocusRegionItem[]>;
|
|
92
|
+
/** @docs-private */
|
|
93
|
+
protected readonly mode: import("@angular/core").WritableSignal<"view" | "edit">;
|
|
94
|
+
/** @docs-private */
|
|
95
|
+
protected readonly overlayWidth: import("@angular/core").WritableSignal<string | number>;
|
|
96
|
+
/** @docs-private */
|
|
97
|
+
protected readonly scrollStrategy: import("@angular/core").WritableSignal<ScrollStrategy>;
|
|
98
|
+
/** @docs-private */
|
|
99
|
+
readonly modeAsReadonly: import("@angular/core").Signal<"view" | "edit">;
|
|
100
|
+
/** @docs-private */
|
|
101
|
+
protected readonly className: import("@angular/core").Signal<string>;
|
|
102
|
+
/** @docs-private */
|
|
103
|
+
protected readonly isEditMode: import("@angular/core").Signal<boolean>;
|
|
104
|
+
/** @docs-private */
|
|
105
|
+
protected readonly tabIndex: import("@angular/core").Signal<0 | -1>;
|
|
106
|
+
/** @docs-private */
|
|
107
|
+
protected readonly placements: typeof PopUpPlacements;
|
|
108
|
+
/** @docs-private */
|
|
109
|
+
protected readonly colors: typeof KbqComponentColors;
|
|
110
|
+
private initialValue;
|
|
111
|
+
constructor();
|
|
112
|
+
/** @docs-private */
|
|
113
|
+
protected toggleMode(): void;
|
|
114
|
+
/** @docs-private */
|
|
115
|
+
protected onClick(event: Event): void;
|
|
116
|
+
/** @docs-private */
|
|
117
|
+
protected onAttach(): void;
|
|
118
|
+
/** @docs-private */
|
|
119
|
+
protected save($event?: Event): void;
|
|
120
|
+
/** @docs-private */
|
|
121
|
+
protected cancel(): void;
|
|
122
|
+
/** @docs-private */
|
|
123
|
+
protected onOverlayKeydown(event: KeyboardEvent): void;
|
|
124
|
+
/**
|
|
125
|
+
* Sets up Tab key listeners on region items.
|
|
126
|
+
* Single item: Tab moves to next edit.
|
|
127
|
+
* Multiple items: Shift+Tab on first or Tab on last moves to next edit.
|
|
128
|
+
*/
|
|
129
|
+
private setOverlayKeydownListener;
|
|
130
|
+
private saveAndFocusNextInlineEdit;
|
|
131
|
+
private isInvalid;
|
|
132
|
+
private getValue;
|
|
133
|
+
private setValue;
|
|
134
|
+
private coerceControl;
|
|
135
|
+
private setOverlayWidth;
|
|
136
|
+
private openPanel;
|
|
137
|
+
private getInputNativeElement;
|
|
138
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqInlineEdit, never>;
|
|
139
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqInlineEdit, "kbq-inline-edit", ["kbqInlineEdit"], { "showActions": { "alias": "showActions"; "required": false; "isSignal": true; }; "showTooltipOnError": { "alias": "showTooltipOnError"; "required": false; "isSignal": true; }; "validationTooltip": { "alias": "validationTooltip"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "editModeWidth": { "alias": "editModeWidth"; "required": false; "isSignal": true; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; "isSignal": true; }; "getValueHandler": { "alias": "getValueHandler"; "required": false; "isSignal": true; }; "setValueHandler": { "alias": "setValueHandler"; "required": false; "isSignal": true; }; "canSaveOnEnter": { "alias": "canSaveOnEnter"; "required": false; "isSignal": true; }; }, { "saved": "saved"; "canceled": "canceled"; "modeChange": "modeChange"; }, ["menu", "label", "formFieldRef"], ["kbq-label", "[kbqInlineEditViewMode]", "[kbqInlineEditMenu]", "[kbqInlineEditEditMode]"], true, [{ directive: typeof i1.KbqFocusMonitor; inputs: {}; outputs: {}; }]>;
|
|
140
|
+
}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
@use '../core/styles/common/tokens';
|
|
4
|
+
|
|
5
|
+
@mixin _mask($config) {
|
|
6
|
+
& {
|
|
7
|
+
position: relative;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.kbq-mask {
|
|
11
|
+
display: flex;
|
|
12
|
+
position: absolute;
|
|
13
|
+
|
|
14
|
+
@if (map.get($config, 'top')) {
|
|
15
|
+
top: map.get($config, 'top');
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@if (map.get($config, 'right')) {
|
|
19
|
+
right: map.get($config, 'right');
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@if (map.get($config, 'bottom')) {
|
|
23
|
+
bottom: map.get($config, 'bottom');
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@if (map.get($config, 'left')) {
|
|
27
|
+
left: map.get($config, 'left');
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.kbq-mask__fade {
|
|
31
|
+
background: var(--kbq-mask-background, transparent);
|
|
32
|
+
mask-image: linear-gradient(90deg, transparent, var(--kbq-black-default));
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.kbq-mask__container {
|
|
36
|
+
background: var(--kbq-mask-background, transparent);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin _inline-edit-theme {
|
|
42
|
+
&.kbq-inline-edit_view {
|
|
43
|
+
&:not(.kbq-inline-edit_disabled) {
|
|
44
|
+
&:hover {
|
|
45
|
+
--kbq-inline-edit-background: var(--kbq-states-background-transparent-hover);
|
|
46
|
+
--kbq-mask-background: var(--kbq-states-background-contrast-less-hover);
|
|
47
|
+
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&:active,
|
|
52
|
+
&:has(.kbq-inline-edit__menu.kbq-active) {
|
|
53
|
+
--kbq-inline-edit-background: var(--kbq-states-background-transparent-active);
|
|
54
|
+
--kbq-mask-background: var(--kbq-states-background-contrast-less-active);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&.kbq-inline-edit_disabled {
|
|
59
|
+
&:hover,
|
|
60
|
+
&:has(.kbq-inline-edit__menu.kbq-active) {
|
|
61
|
+
--kbq-mask-background: var(--kbq-background-bg);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.kbq-label {
|
|
67
|
+
color: var(--kbq-inline-edit-label-color);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.kbq-inline-edit__focus_container {
|
|
71
|
+
background: var(--kbq-inline-edit-background);
|
|
72
|
+
border-color: var(--kbq-inline-edit-background);
|
|
73
|
+
|
|
74
|
+
&:focus-visible {
|
|
75
|
+
outline: none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.cdk-keyboard-focused {
|
|
79
|
+
$focused-color: var(--kbq-states-line-focus-theme);
|
|
80
|
+
outline: 1px solid $focused-color;
|
|
81
|
+
border-color: $focused-color;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@mixin _inline-edit-typography {
|
|
87
|
+
@include tokens.kbq-typography-level-to-styles-css-variables(typography, text-normal);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.kbq-inline-edit {
|
|
91
|
+
display: flex;
|
|
92
|
+
flex-direction: column;
|
|
93
|
+
justify-content: center;
|
|
94
|
+
border-radius: var(--kbq-size-border-radius);
|
|
95
|
+
padding: var(--kbq-inline-edit-padding-vertical) var(--kbq-inline-edit-padding-horizontal);
|
|
96
|
+
min-height: var(--kbq-inline-edit-height);
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
|
|
99
|
+
@include _inline-edit-theme();
|
|
100
|
+
@include _inline-edit-typography();
|
|
101
|
+
|
|
102
|
+
&:not(.kbq-inline-edit_with-label) {
|
|
103
|
+
--kbq-inline-edit-padding-horizontal: calc(var(--kbq-size-m) - var(--kbq-size-border-width));
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.kbq-inline-edit_with-label {
|
|
107
|
+
padding-top: var(--kbq-inline-edit-padding-vertical);
|
|
108
|
+
padding-bottom: var(--kbq-inline-edit-padding-vertical);
|
|
109
|
+
|
|
110
|
+
&.kbq-inline-edit_edit {
|
|
111
|
+
.kbq-inline-edit__view-container {
|
|
112
|
+
position: relative;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.kbq-inline-edit__label {
|
|
117
|
+
margin-bottom: var(--kbq-size-3xs);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&.kbq-inline-edit_view {
|
|
122
|
+
.kbq-inline-edit__view-container {
|
|
123
|
+
text-overflow: ellipsis;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&:hover,
|
|
128
|
+
&.cdk-keyboard-focused {
|
|
129
|
+
.kbq-inline-edit__menu-mask {
|
|
130
|
+
opacity: 1;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.kbq-inline-edit__placeholder {
|
|
135
|
+
color: var(--kbq-foreground-contrast-secondary);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@include _mask(
|
|
139
|
+
(
|
|
140
|
+
'top': 0,
|
|
141
|
+
'right': 0
|
|
142
|
+
)
|
|
143
|
+
);
|
|
144
|
+
|
|
145
|
+
.kbq-inline-edit__menu-mask {
|
|
146
|
+
opacity: 0;
|
|
147
|
+
height: 100%;
|
|
148
|
+
justify-content: flex-end;
|
|
149
|
+
border-top-right-radius: var(--kbq-size-border-radius);
|
|
150
|
+
border-bottom-right-radius: var(--kbq-size-border-radius);
|
|
151
|
+
|
|
152
|
+
&:has(.kbq-inline-edit__menu.kbq-pressed, .kbq-inline-edit__menu.cdk-keyboard-focused) {
|
|
153
|
+
opacity: 1;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.kbq-inline-edit__menu-mask-fade {
|
|
157
|
+
width: 32px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.kbq-inline-edit__menu-mask-container {
|
|
161
|
+
display: flex;
|
|
162
|
+
justify-content: flex-end;
|
|
163
|
+
min-width: 40px;
|
|
164
|
+
border-radius: inherit;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.kbq-inline-edit__menu {
|
|
168
|
+
display: inline-flex;
|
|
169
|
+
align-self: flex-start;
|
|
170
|
+
padding: var(--kbq-size-s);
|
|
171
|
+
z-index: 2;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.kbq-inline-edit__focus_container {
|
|
176
|
+
position: absolute;
|
|
177
|
+
top: 0;
|
|
178
|
+
left: 0;
|
|
179
|
+
width: calc(100% - 2 * var(--kbq-size-border-width));
|
|
180
|
+
height: calc(100% - 2 * var(--kbq-size-border-width));
|
|
181
|
+
border: var(--kbq-size-border-width) solid transparent;
|
|
182
|
+
border-radius: var(--kbq-size-border-radius);
|
|
183
|
+
// set z-index to hide mask borders
|
|
184
|
+
z-index: 1;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.kbq-inline-edit__panel {
|
|
189
|
+
width: 100%;
|
|
190
|
+
|
|
191
|
+
.kbq-inline-edit__control-container {
|
|
192
|
+
border-radius: var(--kbq-size-border-radius);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.kbq-inline-edit__action-buttons {
|
|
196
|
+
position: absolute;
|
|
197
|
+
left: calc(-1 * var(--kbq-inline-edit-padding-horizontal));
|
|
198
|
+
display: inline-flex;
|
|
199
|
+
flex-direction: row;
|
|
200
|
+
gap: var(--kbq-size-xxs);
|
|
201
|
+
padding: var(--kbq-size-xxs) var(--kbq-size-s) var(--kbq-size-s);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.kbq-inline-edit__control-container,
|
|
205
|
+
.kbq-inline-edit__action-buttons > .kbq-button-icon {
|
|
206
|
+
box-shadow: var(--kbq-shadow-popup);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./inline-edit";
|
|
3
|
+
export declare class KbqInlineEditModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqInlineEditModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqInlineEditModule, never, [typeof i1.KbqInlineEdit, typeof i1.KbqInlineEditPlaceholder, typeof i1.KbqInlineEditMenu], [typeof i1.KbqInlineEdit, typeof i1.KbqInlineEditPlaceholder, typeof i1.KbqInlineEditMenu]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KbqInlineEditModule>;
|
|
7
|
+
}
|
package/input/input-number.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export declare class KbqNumberInput implements KbqFormFieldControl<any>, Control
|
|
|
62
62
|
private control;
|
|
63
63
|
private config;
|
|
64
64
|
private valueFromPaste;
|
|
65
|
-
constructor(elementRef: ElementRef
|
|
65
|
+
constructor(elementRef: ElementRef<HTMLInputElement>, renderer: Renderer2, step: string, bigStep: string, min: string, max: string, localeService?: KbqLocaleService | undefined);
|
|
66
66
|
ngOnDestroy(): void;
|
|
67
67
|
onContainerClick(): void;
|
|
68
68
|
focus(): void;
|
|
@@ -5,7 +5,7 @@ import { KbqFormFieldControl } from '@koobiq/components/form-field';
|
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class KbqInputPassword implements KbqFormFieldControl<any>, OnChanges, OnDestroy, DoCheck, OnChanges, CanUpdateErrorState {
|
|
8
|
-
protected elementRef: ElementRef
|
|
8
|
+
protected elementRef: ElementRef<HTMLInputElement>;
|
|
9
9
|
ngControl: NgControl;
|
|
10
10
|
parentForm: NgForm;
|
|
11
11
|
parentFormGroup: FormGroupDirective;
|
|
@@ -71,7 +71,7 @@ export declare class KbqInputPassword implements KbqFormFieldControl<any>, OnCha
|
|
|
71
71
|
*/
|
|
72
72
|
get empty(): boolean;
|
|
73
73
|
private _inputValueAccessor;
|
|
74
|
-
constructor(elementRef: ElementRef
|
|
74
|
+
constructor(elementRef: ElementRef<HTMLInputElement>, ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, inputValueAccessor: any);
|
|
75
75
|
ngOnChanges(): void;
|
|
76
76
|
ngOnDestroy(): void;
|
|
77
77
|
ngDoCheck(): void;
|
package/input/input.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { Subject } from 'rxjs';
|
|
|
6
6
|
import { KbqNumberInput } from './input-number';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class KbqInput implements KbqFormFieldControl<any>, OnChanges, OnDestroy, DoCheck, OnChanges, CanUpdateErrorState {
|
|
9
|
-
protected elementRef: ElementRef
|
|
9
|
+
protected elementRef: ElementRef<HTMLInputElement>;
|
|
10
10
|
ngControl: NgControl;
|
|
11
11
|
numberInput: KbqNumberInput;
|
|
12
12
|
parentForm: NgForm;
|
|
@@ -71,7 +71,7 @@ export declare class KbqInput implements KbqFormFieldControl<any>, OnChanges, On
|
|
|
71
71
|
get value(): string;
|
|
72
72
|
set value(value: string);
|
|
73
73
|
private inputValueAccessor;
|
|
74
|
-
constructor(elementRef: ElementRef
|
|
74
|
+
constructor(elementRef: ElementRef<HTMLInputElement>, ngControl: NgControl, numberInput: KbqNumberInput, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, inputValueAccessor: any);
|
|
75
75
|
ngOnChanges(): void;
|
|
76
76
|
ngOnDestroy(): void;
|
|
77
77
|
ngDoCheck(): void;
|
package/input/input.module.d.ts
CHANGED
|
@@ -6,8 +6,9 @@ import * as i4 from "./input-number-validators";
|
|
|
6
6
|
import * as i5 from "@angular/cdk/a11y";
|
|
7
7
|
import * as i6 from "@angular/forms";
|
|
8
8
|
import * as i7 from "@koobiq/components/icon";
|
|
9
|
+
import * as i8 from "@koobiq/components/form-field";
|
|
9
10
|
export declare class KbqInputModule {
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqInputModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqInputModule, [typeof i1.KbqInput, typeof i2.KbqNumberInput, typeof i3.KbqInputPassword, typeof i1.KbqInputMono, typeof i4.MinValidator, typeof i4.MaxValidator], [typeof i5.A11yModule, typeof i6.FormsModule, typeof i7.KbqIconModule], [typeof i1.KbqInput, typeof i2.KbqNumberInput, typeof i3.KbqInputPassword, typeof i1.KbqInputMono, typeof i4.MinValidator, typeof i4.MaxValidator]>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqInputModule, [typeof i1.KbqInput, typeof i2.KbqNumberInput, typeof i3.KbqInputPassword, typeof i1.KbqInputMono, typeof i4.MinValidator, typeof i4.MaxValidator], [typeof i5.A11yModule, typeof i6.FormsModule, typeof i7.KbqIconModule], [typeof i1.KbqInput, typeof i2.KbqNumberInput, typeof i3.KbqInputPassword, typeof i1.KbqInputMono, typeof i4.MinValidator, typeof i4.MaxValidator, typeof i8.KbqFormFieldModule]>;
|
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqInputModule>;
|
|
13
14
|
}
|