@koobiq/components 17.0.0-beta.2 → 17.0.0-rc.10
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/README.md +1 -2
- package/alert/_alert-theme.scss +48 -24
- package/alert/alert.component.d.ts +23 -3
- package/alert/alert.component.scss +91 -59
- package/autocomplete/_autocomplete-theme.scss +3 -3
- package/autocomplete/autocomplete.scss +8 -18
- package/badge/_badge-theme.scss +30 -45
- package/badge/badge.component.scss +18 -39
- package/button/_button-base.scss +7 -14
- package/button/_button-theme.scss +30 -86
- package/button/button.component.d.ts +3 -2
- package/button/button.scss +7 -17
- package/button-toggle/_button-toggle-theme.scss +19 -20
- package/button-toggle/button-toggle.scss +17 -44
- package/card/_card-theme.scss +18 -17
- package/card/card.component.scss +3 -6
- package/checkbox/_checkbox-theme.scss +50 -50
- package/checkbox/checkbox.scss +31 -35
- package/code-block/README.md +18 -14
- package/code-block/_code-block-theme.scss +53 -23
- package/code-block/actionbar.component.scss +11 -25
- package/code-block/code-block.component.d.ts +12 -4
- package/code-block/code-block.scss +62 -77
- package/core/form-field/form-field-ref.d.ts +2 -0
- package/core/forms/_forms-theme.scss +4 -8
- package/core/forms/_forms.scss +13 -43
- package/core/locales/formatters.d.ts +96 -0
- package/core/locales/locale-service.d.ts +97 -0
- package/core/option/_optgroup-theme.scss +4 -6
- package/core/option/_option-action-theme.scss +8 -11
- package/core/option/_option-theme.scss +15 -20
- package/core/option/optgroup.scss +0 -1
- package/core/option/option.scss +0 -1
- package/core/pop-up/_pop-up.scss +0 -1
- package/core/pop-up/pop-up-trigger.d.ts +3 -1
- package/core/select/common.d.ts +35 -0
- package/core/select/index.d.ts +1 -0
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +15 -19
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +9 -9
- package/core/services/theme.service.d.ts +3 -2
- package/core/styles/_core.scss +0 -1
- package/core/styles/_koobiq-theme.scss +5 -3
- package/core/styles/common/_animation.scss +9 -8
- package/core/styles/common/_button.scss +0 -2
- package/core/styles/common/_clearfix.scss +1 -1
- package/core/styles/common/_groups.scss +3 -9
- package/core/styles/common/_list.scss +28 -31
- package/core/styles/common/_overlay.scss +4 -3
- package/core/styles/common/_popup.scss +5 -5
- package/core/styles/common/_rtl.scss +4 -4
- package/core/styles/common/_select.scss +48 -42
- package/core/styles/common/_tokens.scss +47 -0
- package/core/styles/functions/_number.scss +14 -19
- package/core/styles/functions/_string.scss +18 -19
- package/core/styles/functions/_timing.scss +24 -24
- package/core/styles/theming/_components-theming.scss +1380 -1384
- package/core/styles/theming/_scrollbar-theme.scss +8 -5
- package/core/styles/theming/_theming.scss +26 -29
- package/core/styles/typography/_typography-utils.scss +1 -2
- package/core/styles/typography/_typography.scss +138 -85
- package/core/styles/visual/_body.scss +0 -2
- package/core/styles/visual/_layout.scss +44 -38
- package/core/utils/data-size/config.d.ts +20 -2
- package/core/utils/data-size/data-size.pipe.d.ts +10 -9
- package/core/utils/data-size/size.d.ts +3 -4
- package/datepicker/_datepicker-theme.scss +38 -40
- package/datepicker/calendar-body.scss +3 -11
- package/datepicker/calendar-header.scss +4 -10
- package/datepicker/calendar.scss +5 -17
- package/datepicker/datepicker-content.scss +5 -15
- package/datepicker/datepicker-input.scss +0 -5
- package/datepicker/datepicker-toggle.scss +3 -3
- package/divider/_divider-theme.scss +2 -1
- package/divider/divider.scss +9 -26
- package/dl/_dl-theme.scss +5 -8
- package/dl/dl.scss +5 -20
- package/dropdown/_dropdown-theme.scss +27 -22
- package/dropdown/dropdown-item.scss +5 -12
- package/dropdown/dropdown-trigger.directive.d.ts +2 -2
- package/dropdown/dropdown.scss +6 -15
- package/ellipsis-center/ellipsis-center.directive.d.ts +3 -2
- package/empty-state/README.md +0 -0
- package/empty-state/_empty-state-theme.scss +56 -0
- package/empty-state/empty-state.component.d.ts +31 -0
- package/empty-state/empty-state.module.d.ts +10 -0
- package/empty-state/empty-state.scss +81 -0
- package/empty-state/index.d.ts +1 -0
- package/empty-state/public-api.d.ts +2 -0
- package/esm2022/alert/alert.component.mjs +52 -5
- package/esm2022/badge/badge.component.mjs +2 -2
- package/esm2022/button/button.component.mjs +13 -6
- package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
- package/esm2022/checkbox/checkbox.mjs +2 -2
- package/esm2022/code-block/actionbar.component.mjs +2 -2
- package/esm2022/code-block/code-block.component.mjs +58 -14
- package/esm2022/core/animation/select-animations.mjs +4 -4
- package/esm2022/core/form-field/form-field-ref.mjs +1 -1
- package/esm2022/core/locales/formatters.mjs +97 -1
- package/esm2022/core/locales/locale-service.mjs +5 -2
- package/esm2022/core/option/option.mjs +2 -2
- package/esm2022/core/pop-up/pop-up-trigger.mjs +18 -11
- package/esm2022/core/select/common.mjs +120 -0
- package/esm2022/core/select/index.mjs +2 -1
- package/esm2022/core/services/theme.service.mjs +4 -1
- package/esm2022/core/utils/data-size/config.mjs +5 -17
- package/esm2022/core/utils/data-size/data-size.pipe.mjs +36 -22
- package/esm2022/core/utils/data-size/size.mjs +10 -14
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-header.component.mjs +1 -1
- package/esm2022/datepicker/datepicker-animations.mjs +2 -2
- package/esm2022/dropdown/dropdown-animations.mjs +4 -4
- package/esm2022/dropdown/dropdown-item.component.mjs +2 -2
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +4 -4
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +7 -5
- package/esm2022/empty-state/empty-state.component.mjs +104 -0
- package/esm2022/empty-state/empty-state.module.mjs +50 -0
- package/esm2022/empty-state/index.mjs +2 -0
- package/esm2022/empty-state/koobiq-components-empty-state.mjs +5 -0
- package/esm2022/empty-state/public-api.mjs +3 -0
- package/esm2022/file-upload/file-upload.mjs +15 -1
- package/esm2022/file-upload/file-upload.module.mjs +15 -5
- package/esm2022/file-upload/multiple-file-upload.component.mjs +98 -49
- package/esm2022/file-upload/single-file-upload.component.mjs +110 -54
- package/esm2022/form-field/form-field.mjs +2 -2
- package/esm2022/form-field/hint.mjs +2 -2
- package/esm2022/form-field/password-hint.mjs +2 -2
- package/esm2022/form-field/password-toggle.mjs +11 -9
- package/esm2022/icon/icon-item.component.mjs +16 -6
- package/esm2022/input/input-number.mjs +2 -2
- package/esm2022/list/list-selection.component.mjs +2 -2
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/loader-overlay/loader-overlay.component.mjs +2 -2
- package/esm2022/markdown/markdown.component.mjs +2 -2
- package/esm2022/modal/modal.component.mjs +8 -9
- package/esm2022/navbar/navbar-item.component.mjs +11 -11
- package/esm2022/navbar/navbar.component.mjs +2 -2
- package/esm2022/navbar/vertical-navbar.component.mjs +2 -2
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +3 -3
- package/esm2022/radio/radio.component.mjs +2 -2
- package/esm2022/scrollbar/scrollbar.component.mjs +2 -2
- package/esm2022/select/select-option.directive.mjs +7 -5
- package/esm2022/select/select.component.mjs +71 -125
- package/esm2022/select/select.module.mjs +28 -28
- package/esm2022/splitter/splitter.component.mjs +37 -17
- package/esm2022/table/table.component.mjs +29 -6
- package/esm2022/table/table.module.mjs +14 -6
- package/esm2022/tabs/tab-body.component.mjs +1 -1
- package/esm2022/tabs/tab-group.component.mjs +55 -13
- package/esm2022/tabs/tab-header.component.mjs +2 -2
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +2 -2
- package/esm2022/tags/tag-default-options.mjs +1 -1
- package/esm2022/tags/tag-input.mjs +17 -3
- package/esm2022/tags/tag-list.component.mjs +2 -2
- package/esm2022/tags/tag.component.mjs +4 -4
- package/esm2022/textarea/textarea.component.mjs +12 -10
- package/esm2022/timepicker/timepicker.directive.mjs +11 -3
- package/esm2022/timezone/timezone-option.component.mjs +2 -2
- package/esm2022/timezone/timezone-option.directive.mjs +7 -5
- package/esm2022/timezone/timezone-select.component.mjs +5 -5
- package/esm2022/title/title.directive.mjs +3 -4
- package/esm2022/toast/toast-container.component.mjs +2 -2
- package/esm2022/toast/toast.component.mjs +4 -4
- package/esm2022/toast/toast.service.mjs +18 -13
- package/esm2022/toast/toast.type.mjs +3 -1
- package/esm2022/tooltip/tooltip.component.mjs +28 -14
- package/esm2022/tree/padding.directive.mjs +2 -2
- package/esm2022/tree/tree-base.mjs +2 -2
- package/esm2022/tree/tree-option.component.mjs +2 -2
- package/esm2022/tree/tree-selection.component.mjs +6 -1
- package/esm2022/tree-select/tree-select.component.mjs +29 -44
- package/esm2022/tree-select/tree-select.module.mjs +31 -11
- package/fesm2022/koobiq-components-alert.mjs +52 -5
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +2 -2
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +2 -2
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +12 -5
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +2 -2
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +57 -14
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +285 -67
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +2 -2
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +8 -8
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +5 -4
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +157 -0
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -0
- package/fesm2022/koobiq-components-file-upload.mjs +225 -97
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +21 -21
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +14 -4
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +1 -1
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +4 -4
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +2 -2
- package/fesm2022/koobiq-components-modal.mjs +7 -8
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +14 -14
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +4 -4
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +2 -2
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-scrollbar.mjs +2 -2
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +102 -155
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +36 -16
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +41 -10
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +57 -15
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +21 -8
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +11 -9
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +10 -2
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +11 -10
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +2 -3
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +25 -17
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +26 -13
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +57 -51
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +9 -4
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +124 -73
- package/file-upload/file-upload.d.ts +1 -1
- package/file-upload/file-upload.module.d.ts +11 -9
- package/file-upload/file-upload.scss +0 -6
- package/file-upload/multiple-file-upload.component.d.ts +38 -10
- package/file-upload/multiple-file-upload.component.scss +50 -120
- package/file-upload/single-file-upload.component.d.ts +40 -13
- package/file-upload/single-file-upload.component.scss +12 -33
- package/form-field/_form-field-theme.scss +46 -36
- package/form-field/_hint-theme.scss +15 -20
- package/form-field/cleaner.scss +3 -9
- package/form-field/form-field.scss +23 -26
- package/form-field/hint.scss +5 -8
- package/form-field/password-toggle.d.ts +3 -2
- package/form-field/password-toggle.scss +3 -10
- package/form-field/stepper.scss +4 -11
- package/icon/_icon-button-theme.scss +47 -36
- package/icon/_icon-item-theme.scss +47 -26
- package/icon/_icon-theme.scss +12 -14
- package/icon/icon-button.scss +5 -20
- package/icon/icon-item.component.d.ts +3 -1
- package/icon/icon-item.scss +10 -8
- package/icon/icon.scss +0 -6
- package/input/_input-theme.scss +6 -4
- package/input/input.scss +11 -10
- package/link/_link-theme.scss +30 -49
- package/list/_list-theme.scss +21 -19
- package/list/list.scss +2 -6
- package/loader-overlay/_loader-overlay-theme.scss +17 -18
- package/loader-overlay/loader-overlay.scss +9 -33
- package/markdown/_markdown-theme.scss +47 -47
- package/markdown/markdown.scss +41 -91
- package/modal/README.md +5 -4
- package/modal/_modal-animation.scss +0 -1
- package/modal/_modal-confirm.scss +2 -7
- package/modal/_modal-theme.scss +11 -13
- package/modal/modal.component.d.ts +1 -1
- package/modal/modal.scss +15 -31
- package/navbar/README.md +21 -20
- package/navbar/_navbar-item_horizontal.scss +28 -29
- package/navbar/_navbar-item_vertical.scss +31 -31
- package/navbar/_navbar-theme.scss +20 -24
- package/navbar/navbar-brand.scss +24 -27
- package/navbar/navbar-divider.scss +4 -8
- package/navbar/navbar-item.component.d.ts +4 -4
- package/navbar/navbar-item.scss +13 -15
- package/navbar/navbar.scss +2 -6
- package/navbar/vertical-navbar.scss +4 -6
- package/package.json +23 -16
- package/popover/README.md +18 -14
- package/popover/_popover-theme.scss +9 -17
- package/popover/popover.scss +15 -29
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +7 -11
- package/progress-bar/progress-bar.scss +6 -19
- package/progress-spinner/_progress-spinner-theme.scss +6 -8
- package/progress-spinner/progress-spinner.scss +8 -18
- package/radio/_radio-theme.scss +36 -37
- package/radio/radio.scss +25 -40
- package/risk-level/_risk-level-theme.scss +25 -31
- package/risk-level/risk-level.component.scss +4 -10
- package/schematics/collection.json +11 -0
- package/schematics/ng-add/index.js +70 -0
- package/schematics/ng-add/schema.json +15 -0
- package/scrollbar/_scrollbar-component-theme.scss +15 -19
- package/scrollbar/scrollbar.component.scss +68 -63
- package/scrollbar/scrollbar.directive.d.ts +1 -0
- package/scrollbar/scrollbar.types.d.ts +1 -0
- package/select/_select-theme.scss +14 -16
- package/select/select-option.directive.d.ts +3 -2
- package/select/select.component.d.ts +12 -33
- package/select/select.module.d.ts +1 -1
- package/select/select.scss +3 -11
- package/sidepanel/_sidepanel-theme.scss +8 -10
- package/sidepanel/sidepanel.scss +20 -37
- package/splitter/_splitter-theme.scss +5 -6
- package/splitter/splitter.component.d.ts +10 -5
- package/splitter/splitter.scss +0 -1
- package/table/_table-theme.scss +16 -15
- package/table/table.component.d.ts +8 -1
- package/table/table.module.d.ts +1 -1
- package/table/table.scss +41 -42
- package/tabs/_tabs-common.scss +13 -15
- package/tabs/_tabs-theme.scss +76 -44
- package/tabs/tab-body.component.d.ts +1 -1
- package/tabs/tab-group.component.d.ts +9 -3
- package/tabs/tab-group.scss +2 -8
- package/tabs/tab-header.scss +0 -10
- package/tabs/tab-nav-bar/tab-nav-bar.scss +2 -9
- package/tags/_tag-theme.scss +22 -27
- package/tags/tag-default-options.d.ts +1 -0
- package/tags/tag-input.d.ts +7 -1
- package/tags/tag-list.scss +15 -12
- package/tags/tag.component.d.ts +1 -1
- package/tags/tag.scss +5 -11
- package/textarea/_textarea-theme.scss +2 -5
- package/textarea/textarea.scss +5 -10
- package/timepicker/timepicker.directive.d.ts +1 -1
- package/timepicker/timepicker.scss +2 -8
- package/timezone/_timezone-option-theme.scss +8 -10
- package/timezone/timezone-option.component.scss +5 -8
- package/timezone/timezone-option.directive.d.ts +3 -2
- package/timezone/timezone-select.component.d.ts +2 -1
- package/timezone/timezone-select.component.scss +2 -4
- package/title/title.directive.d.ts +0 -1
- package/toast/_toast-theme.scss +20 -16
- package/toast/toast-container.component.scss +5 -6
- package/toast/toast.component.scss +28 -29
- package/toast/toast.service.d.ts +8 -4
- package/toast/toast.type.d.ts +2 -0
- package/toggle/_toggle-theme.scss +49 -42
- package/toggle/toggle.scss +9 -22
- package/tooltip/_tooltip-theme.scss +12 -16
- package/tooltip/tooltip.component.d.ts +12 -8
- package/tooltip/tooltip.scss +7 -13
- package/tree/_tree-theme.scss +20 -23
- package/tree/toggle.scss +3 -6
- package/tree/tree-base.d.ts +1 -1
- package/tree/tree-option.scss +17 -14
- package/tree/tree-selection.component.d.ts +1 -0
- package/tree-select/_tree-select-theme.scss +12 -15
- package/tree-select/tree-select.component.d.ts +8 -17
- package/tree-select/tree-select.module.d.ts +1 -2
- package/tree-select/tree-select.scss +1 -6
- package/core/styles/_variables.scss +0 -1
|
@@ -7,10 +7,10 @@ import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coerci
|
|
|
7
7
|
import * as i1 from '@koobiq/date-adapter';
|
|
8
8
|
import { DateAdapter as DateAdapter$1 } from '@koobiq/date-adapter';
|
|
9
9
|
import { DateFormatter as DateFormatter$1 } from '@koobiq/date-formatter';
|
|
10
|
-
import { BehaviorSubject, Subject, pairwise } from 'rxjs';
|
|
10
|
+
import { BehaviorSubject, Subject, Subscription, pairwise } from 'rxjs';
|
|
11
11
|
import * as i2 from '@angular/common';
|
|
12
|
-
import {
|
|
13
|
-
import { ENTER, SPACE, TAB, ESCAPE } from '@koobiq/cdk/keycodes';
|
|
12
|
+
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
13
|
+
import { ENTER, SPACE, TAB, ESCAPE, HOME, END } from '@koobiq/cdk/keycodes';
|
|
14
14
|
import * as i1$1 from '@angular/cdk/a11y';
|
|
15
15
|
import { takeUntil, distinctUntilChanged, delay } from 'rxjs/operators';
|
|
16
16
|
import * as i1$2 from '@angular/cdk/overlay';
|
|
@@ -55,10 +55,10 @@ const kbqSelectAnimations = {
|
|
|
55
55
|
opacity: 0
|
|
56
56
|
})),
|
|
57
57
|
transition('void => *', group([
|
|
58
|
-
animate('
|
|
58
|
+
animate('0ms cubic-bezier(0.25, 0.8, 0.25, 1)')
|
|
59
59
|
])),
|
|
60
60
|
transition('* => void', [
|
|
61
|
-
animate('
|
|
61
|
+
animate('0ms 0ms linear', style({ opacity: 0 }))
|
|
62
62
|
])
|
|
63
63
|
]),
|
|
64
64
|
/**
|
|
@@ -70,7 +70,7 @@ const kbqSelectAnimations = {
|
|
|
70
70
|
state('showing', style({ opacity: 1 })),
|
|
71
71
|
transition('void => showing', [
|
|
72
72
|
style({ opacity: 0 }),
|
|
73
|
-
animate('
|
|
73
|
+
animate('0ms 0ms cubic-bezier(0.55, 0, 0.55, 0.2)')
|
|
74
74
|
])
|
|
75
75
|
])
|
|
76
76
|
};
|
|
@@ -726,6 +726,22 @@ const enUSFormattersData = {
|
|
|
726
726
|
groupSeparator: [','],
|
|
727
727
|
fractionSeparator: '.'
|
|
728
728
|
}
|
|
729
|
+
},
|
|
730
|
+
sizeUnits: {
|
|
731
|
+
defaultUnitSystem: 'SI',
|
|
732
|
+
defaultPrecision: 2,
|
|
733
|
+
unitSystems: {
|
|
734
|
+
SI: {
|
|
735
|
+
abbreviations: ['B', 'KB', 'MB', 'GB', 'TB'],
|
|
736
|
+
base: 10,
|
|
737
|
+
power: 3
|
|
738
|
+
},
|
|
739
|
+
IEC: {
|
|
740
|
+
abbreviations: ['B', 'KiB', 'MiB', 'GiB', 'TiB'],
|
|
741
|
+
base: 2,
|
|
742
|
+
power: 10
|
|
743
|
+
}
|
|
744
|
+
}
|
|
729
745
|
}
|
|
730
746
|
};
|
|
731
747
|
const esLAFormattersData = {
|
|
@@ -748,6 +764,22 @@ const esLAFormattersData = {
|
|
|
748
764
|
groupSeparator: [' ', ' '],
|
|
749
765
|
fractionSeparator: ','
|
|
750
766
|
}
|
|
767
|
+
},
|
|
768
|
+
sizeUnits: {
|
|
769
|
+
defaultUnitSystem: 'SI',
|
|
770
|
+
defaultPrecision: 2,
|
|
771
|
+
unitSystems: {
|
|
772
|
+
SI: {
|
|
773
|
+
abbreviations: ['Б', 'КБ', 'МБ', 'ГБ', 'ТБ'],
|
|
774
|
+
base: 10,
|
|
775
|
+
power: 3
|
|
776
|
+
},
|
|
777
|
+
IEC: {
|
|
778
|
+
abbreviations: ['Б', 'КиБ', 'МиБ', 'ГиБ', 'ТиБ'],
|
|
779
|
+
base: 2,
|
|
780
|
+
power: 10
|
|
781
|
+
}
|
|
782
|
+
}
|
|
751
783
|
}
|
|
752
784
|
};
|
|
753
785
|
const faIRFormattersData = {
|
|
@@ -769,6 +801,22 @@ const faIRFormattersData = {
|
|
|
769
801
|
groupSeparator: ['\u066C'],
|
|
770
802
|
fractionSeparator: '\u066B'
|
|
771
803
|
}
|
|
804
|
+
},
|
|
805
|
+
sizeUnits: {
|
|
806
|
+
defaultUnitSystem: 'SI',
|
|
807
|
+
defaultPrecision: 2,
|
|
808
|
+
unitSystems: {
|
|
809
|
+
SI: {
|
|
810
|
+
abbreviations: ['Б', 'КБ', 'МБ', 'ГБ', 'ТБ'],
|
|
811
|
+
base: 10,
|
|
812
|
+
power: 3
|
|
813
|
+
},
|
|
814
|
+
IEC: {
|
|
815
|
+
abbreviations: ['Б', 'КиБ', 'МиБ', 'ГиБ', 'ТиБ'],
|
|
816
|
+
base: 2,
|
|
817
|
+
power: 10
|
|
818
|
+
}
|
|
819
|
+
}
|
|
772
820
|
}
|
|
773
821
|
};
|
|
774
822
|
const ptBRFormattersData = {
|
|
@@ -789,6 +837,22 @@ const ptBRFormattersData = {
|
|
|
789
837
|
groupSeparator: ['.'],
|
|
790
838
|
fractionSeparator: ','
|
|
791
839
|
}
|
|
840
|
+
},
|
|
841
|
+
sizeUnits: {
|
|
842
|
+
defaultUnitSystem: 'SI',
|
|
843
|
+
defaultPrecision: 2,
|
|
844
|
+
unitSystems: {
|
|
845
|
+
SI: {
|
|
846
|
+
abbreviations: ['Б', 'КБ', 'МБ', 'ГБ', 'ТБ'],
|
|
847
|
+
base: 10,
|
|
848
|
+
power: 3
|
|
849
|
+
},
|
|
850
|
+
IEC: {
|
|
851
|
+
abbreviations: ['Б', 'КиБ', 'МиБ', 'ГиБ', 'ТиБ'],
|
|
852
|
+
base: 2,
|
|
853
|
+
power: 10
|
|
854
|
+
}
|
|
855
|
+
}
|
|
792
856
|
}
|
|
793
857
|
};
|
|
794
858
|
const ruRUFormattersData = {
|
|
@@ -812,6 +876,22 @@ const ruRUFormattersData = {
|
|
|
812
876
|
fractionSeparator: ',',
|
|
813
877
|
startFormattingFrom: 4
|
|
814
878
|
}
|
|
879
|
+
},
|
|
880
|
+
sizeUnits: {
|
|
881
|
+
defaultUnitSystem: 'SI',
|
|
882
|
+
defaultPrecision: 2,
|
|
883
|
+
unitSystems: {
|
|
884
|
+
SI: {
|
|
885
|
+
abbreviations: ['Б', 'КБ', 'МБ', 'ГБ', 'ТБ'],
|
|
886
|
+
base: 10,
|
|
887
|
+
power: 3
|
|
888
|
+
},
|
|
889
|
+
IEC: {
|
|
890
|
+
abbreviations: ['Б', 'КиБ', 'МиБ', 'ГиБ', 'ТиБ'],
|
|
891
|
+
base: 2,
|
|
892
|
+
power: 10
|
|
893
|
+
}
|
|
894
|
+
}
|
|
815
895
|
}
|
|
816
896
|
};
|
|
817
897
|
const zhCNFormattersData = {
|
|
@@ -831,6 +911,22 @@ const zhCNFormattersData = {
|
|
|
831
911
|
groupSeparator: [','],
|
|
832
912
|
fractionSeparator: '.'
|
|
833
913
|
}
|
|
914
|
+
},
|
|
915
|
+
sizeUnits: {
|
|
916
|
+
defaultUnitSystem: 'SI',
|
|
917
|
+
defaultPrecision: 2,
|
|
918
|
+
unitSystems: {
|
|
919
|
+
SI: {
|
|
920
|
+
abbreviations: ['Б', 'КБ', 'МБ', 'ГБ', 'ТБ'],
|
|
921
|
+
base: 10,
|
|
922
|
+
power: 3
|
|
923
|
+
},
|
|
924
|
+
IEC: {
|
|
925
|
+
abbreviations: ['Б', 'КиБ', 'МиБ', 'ГиБ', 'ТиБ'],
|
|
926
|
+
base: 2,
|
|
927
|
+
power: 10
|
|
928
|
+
}
|
|
929
|
+
}
|
|
834
930
|
}
|
|
835
931
|
};
|
|
836
932
|
|
|
@@ -859,6 +955,7 @@ const KBQ_LOCALE_SERVICE = new InjectionToken('KBQ_LOCALE_SERVICE');
|
|
|
859
955
|
class KbqLocaleService {
|
|
860
956
|
constructor(id, localeData) {
|
|
861
957
|
this.locales = {};
|
|
958
|
+
this.document = inject(DOCUMENT);
|
|
862
959
|
this.locales = localeData;
|
|
863
960
|
this.id = id || KBQ_DEFAULT_LOCALE_ID;
|
|
864
961
|
this.current = this.locales[this.id];
|
|
@@ -867,6 +964,7 @@ class KbqLocaleService {
|
|
|
867
964
|
setLocale(id) {
|
|
868
965
|
this.id = id;
|
|
869
966
|
this.current = this.locales[this.id];
|
|
967
|
+
this.document.documentElement.lang = this.id;
|
|
870
968
|
this.changes.next(this.id);
|
|
871
969
|
}
|
|
872
970
|
addLocale(id, localeData) {
|
|
@@ -1825,7 +1923,7 @@ class KbqOption extends KbqOptionBase {
|
|
|
1825
1923
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqOption, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: KBQ_OPTION_PARENT_COMPONENT, optional: true }, { token: KbqOptgroup, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1826
1924
|
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.0", type: KbqOption, selector: "kbq-option", inputs: { value: "value", showCheckbox: "showCheckbox", disabled: "disabled" }, outputs: { onSelectionChange: "onSelectionChange" }, host: { listeners: { "click": "selectViaInteraction()", "keydown": "handleKeydown($event)" }, properties: { "attr.tabindex": "getTabIndex()", "class.kbq-selected": "selected", "class.kbq-option-multiple": "multiple", "class.kbq-active": "active", "class.kbq-disabled": "disabled", "id": "id" }, classAttribute: "kbq-option" }, providers: [{
|
|
1827
1925
|
provide: KBQ_TITLE_TEXT_REF, useExisting: KbqOption
|
|
1828
|
-
}], viewQueries: [{ propertyName: "textElement", first: true, predicate: ["kbqTitleText"], descendants: true }], exportAs: ["kbqOption"], usesInheritance: true, ngImport: i0, template: "<kbq-pseudo-checkbox\n *ngIf=\"showCheckbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\"\n [disabled]=\"disabled\">\n</kbq-pseudo-checkbox>\n\n<span #kbqTitleText class=\"kbq-option-text\">\n <ng-content></ng-content>\n</span>\n", styles: ["@keyframes kbq-progress{0%{background-position:0 0}to{background-position:29px 0}}.kbq-progress{position:relative}.kbq-progress:after{content:\"\";position:absolute;border-radius:inherit;inset:0;background:linear-gradient(135deg,#0000000a 10px,#ffffff0a 10px 20px,#0000000a 20px 30px,#ffffff0a 31px) repeat;background-size:32px 32px;animation:kbq-progress 1s linear infinite}.kbq-group{display:flex;flex-direction:row}.kbq-group .kbq-group_justified>.kbq-group-item{width:100%}.kbq-group .kbq-group-item+.kbq-group-item{margin-left:calc(-1 * var(--kbq-button-size-border-width, 2px))}.kbq-group>.kbq-group-item:first-child:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.kbq-group>.kbq-group-item:first-child:not(:last-child)>.kbq-form-field__container{border-bottom-right-radius:0;border-top-right-radius:0}.kbq-group>.kbq-group-item:last-child:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.kbq-group>.kbq-group-item:last-child:not(:first-child)>.kbq-form-field__container{border-bottom-left-radius:0;border-top-left-radius:0}.kbq-group>.kbq-group-item:not(:first-child):not(:last-child){border-radius:0}.kbq-group>.kbq-group-item:not(:first-child):not(:last-child)>.kbq-form-field__container{border-radius:0}.kbq-vertical-group{display:flex;flex-direction:column}.kbq-vertical-group>.kbq-group-item:first-child:not(:last-child){border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--kbq-button-size-border-radius, 8px)}.kbq-vertical-group>.kbq-group-item:first-child:not(:last-child)>.kbq-form-field__container{border-bottom-right-radius:0;border-bottom-left-radius:0}.kbq-vertical-group>.kbq-group-item:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0;border-bottom-left-radius:var(--kbq-button-size-border-radius, 8px)}.kbq-vertical-group>.kbq-group-item:last-child:not(:first-child)>.kbq-form-field__container{border-top-right-radius:0;border-top-left-radius:0}.kbq-vertical-group>.kbq-group-item:not(:first-child):not(:last-child){border-radius:0}.kbq-vertical-group>.kbq-group-item:not(:first-child):not(:last-child)>.kbq-form-field__container{border-radius:0}.kbq-vertical-group .kbq-group-item+.kbq-group-item{margin-top:calc(-1 * var(--kbq-button-size-border-width, 2px))}.kbq-no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.kbq-option{position:relative;display:flex;flex-direction:row;align-items:center;box-sizing:border-box;outline:none;-webkit-tap-highlight-color:transparent;min-height:32px;gap:var(--kbq-list-size-container-content-gap-horizontal, 8px);border-width:var(--kbq-list-size-container-focus-outline-width, 2px);border-style:solid;border-color:transparent;padding:calc(var(--kbq-list-size-container-padding-vertical,
|
|
1926
|
+
}], viewQueries: [{ propertyName: "textElement", first: true, predicate: ["kbqTitleText"], descendants: true }], exportAs: ["kbqOption"], usesInheritance: true, ngImport: i0, template: "<kbq-pseudo-checkbox\n *ngIf=\"showCheckbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\"\n [disabled]=\"disabled\">\n</kbq-pseudo-checkbox>\n\n<span #kbqTitleText class=\"kbq-option-text\">\n <ng-content></ng-content>\n</span>\n", styles: ["@keyframes kbq-progress{0%{background-position:0 0}to{background-position:29px 0}}.kbq-progress{position:relative}.kbq-progress:after{content:\"\";position:absolute;border-radius:inherit;inset:0;background:linear-gradient(135deg,#0000000a 10px,#ffffff0a 10px 20px,#0000000a 20px 30px,#ffffff0a 31px) repeat;background-size:32px 32px;animation:kbq-progress 1s linear infinite}.kbq-group{display:flex;flex-direction:row}.kbq-group .kbq-group_justified>.kbq-group-item{width:100%}.kbq-group .kbq-group-item+.kbq-group-item{margin-left:calc(-1 * var(--kbq-button-size-border-width, 2px))}.kbq-group>.kbq-group-item:first-child:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.kbq-group>.kbq-group-item:first-child:not(:last-child)>.kbq-form-field__container{border-bottom-right-radius:0;border-top-right-radius:0}.kbq-group>.kbq-group-item:last-child:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.kbq-group>.kbq-group-item:last-child:not(:first-child)>.kbq-form-field__container{border-bottom-left-radius:0;border-top-left-radius:0}.kbq-group>.kbq-group-item:not(:first-child):not(:last-child){border-radius:0}.kbq-group>.kbq-group-item:not(:first-child):not(:last-child)>.kbq-form-field__container{border-radius:0}.kbq-vertical-group{display:flex;flex-direction:column}.kbq-vertical-group>.kbq-group-item:first-child:not(:last-child){border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--kbq-button-size-border-radius, 8px)}.kbq-vertical-group>.kbq-group-item:first-child:not(:last-child)>.kbq-form-field__container{border-bottom-right-radius:0;border-bottom-left-radius:0}.kbq-vertical-group>.kbq-group-item:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0;border-bottom-left-radius:var(--kbq-button-size-border-radius, 8px)}.kbq-vertical-group>.kbq-group-item:last-child:not(:first-child)>.kbq-form-field__container{border-top-right-radius:0;border-top-left-radius:0}.kbq-vertical-group>.kbq-group-item:not(:first-child):not(:last-child){border-radius:0}.kbq-vertical-group>.kbq-group-item:not(:first-child):not(:last-child)>.kbq-form-field__container{border-radius:0}.kbq-vertical-group .kbq-group-item+.kbq-group-item{margin-top:calc(-1 * var(--kbq-button-size-border-width, 2px))}.kbq-no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.kbq-option{position:relative;display:flex;flex-direction:row;align-items:center;box-sizing:border-box;outline:none;-webkit-tap-highlight-color:transparent;min-height:32px;gap:var(--kbq-list-size-container-content-gap-horizontal, 8px);border-width:var(--kbq-list-size-container-focus-outline-width, 2px);border-style:solid;border-color:transparent;padding:calc(var(--kbq-list-size-container-padding-vertical, 6px) - var(--kbq-list-size-container-focus-outline-width, 2px)) calc(var(--kbq-list-size-container-padding-right, 12px) - var(--kbq-list-size-container-focus-outline-width, 2px)) calc(var(--kbq-list-size-container-padding-vertical, 6px) - var(--kbq-list-size-container-focus-outline-width, 2px)) calc(var(--kbq-list-size-container-padding-left, 12px) - var(--kbq-list-size-container-focus-outline-width, 2px))}.kbq-option .kbq-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:var(--kbq-list-size-text-padding-vertical, 0);padding-bottom:var(--kbq-list-size-text-padding-vertical, 0)}.kbq-option .kbq-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.kbq-option .kbq-list-text:empty{display:none}.kbq-option .kbq-list-option-caption{padding-top:var(--kbq-list-size-container-content-gap-vertical, 2px)}.kbq-option:not(.kbq-disabled){cursor:pointer}.kbq-option-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:var(--kbq-list-size-text-padding-vertical, 0);padding-bottom:var(--kbq-list-size-text-padding-vertical, 0)}.kbq-option-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.kbq-option-text:empty{display:none}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: KbqPseudoCheckbox, selector: "kbq-pseudo-checkbox", inputs: ["color", "big", "state", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1829
1927
|
}
|
|
1830
1928
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqOption, decorators: [{
|
|
1831
1929
|
type: Component,
|
|
@@ -1841,7 +1939,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImpor
|
|
|
1841
1939
|
'(keydown)': 'handleKeydown($event)'
|
|
1842
1940
|
}, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{
|
|
1843
1941
|
provide: KBQ_TITLE_TEXT_REF, useExisting: KbqOption
|
|
1844
|
-
}], template: "<kbq-pseudo-checkbox\n *ngIf=\"showCheckbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\"\n [disabled]=\"disabled\">\n</kbq-pseudo-checkbox>\n\n<span #kbqTitleText class=\"kbq-option-text\">\n <ng-content></ng-content>\n</span>\n", styles: ["@keyframes kbq-progress{0%{background-position:0 0}to{background-position:29px 0}}.kbq-progress{position:relative}.kbq-progress:after{content:\"\";position:absolute;border-radius:inherit;inset:0;background:linear-gradient(135deg,#0000000a 10px,#ffffff0a 10px 20px,#0000000a 20px 30px,#ffffff0a 31px) repeat;background-size:32px 32px;animation:kbq-progress 1s linear infinite}.kbq-group{display:flex;flex-direction:row}.kbq-group .kbq-group_justified>.kbq-group-item{width:100%}.kbq-group .kbq-group-item+.kbq-group-item{margin-left:calc(-1 * var(--kbq-button-size-border-width, 2px))}.kbq-group>.kbq-group-item:first-child:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.kbq-group>.kbq-group-item:first-child:not(:last-child)>.kbq-form-field__container{border-bottom-right-radius:0;border-top-right-radius:0}.kbq-group>.kbq-group-item:last-child:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.kbq-group>.kbq-group-item:last-child:not(:first-child)>.kbq-form-field__container{border-bottom-left-radius:0;border-top-left-radius:0}.kbq-group>.kbq-group-item:not(:first-child):not(:last-child){border-radius:0}.kbq-group>.kbq-group-item:not(:first-child):not(:last-child)>.kbq-form-field__container{border-radius:0}.kbq-vertical-group{display:flex;flex-direction:column}.kbq-vertical-group>.kbq-group-item:first-child:not(:last-child){border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--kbq-button-size-border-radius, 8px)}.kbq-vertical-group>.kbq-group-item:first-child:not(:last-child)>.kbq-form-field__container{border-bottom-right-radius:0;border-bottom-left-radius:0}.kbq-vertical-group>.kbq-group-item:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0;border-bottom-left-radius:var(--kbq-button-size-border-radius, 8px)}.kbq-vertical-group>.kbq-group-item:last-child:not(:first-child)>.kbq-form-field__container{border-top-right-radius:0;border-top-left-radius:0}.kbq-vertical-group>.kbq-group-item:not(:first-child):not(:last-child){border-radius:0}.kbq-vertical-group>.kbq-group-item:not(:first-child):not(:last-child)>.kbq-form-field__container{border-radius:0}.kbq-vertical-group .kbq-group-item+.kbq-group-item{margin-top:calc(-1 * var(--kbq-button-size-border-width, 2px))}.kbq-no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.kbq-option{position:relative;display:flex;flex-direction:row;align-items:center;box-sizing:border-box;outline:none;-webkit-tap-highlight-color:transparent;min-height:32px;gap:var(--kbq-list-size-container-content-gap-horizontal, 8px);border-width:var(--kbq-list-size-container-focus-outline-width, 2px);border-style:solid;border-color:transparent;padding:calc(var(--kbq-list-size-container-padding-vertical,
|
|
1942
|
+
}], template: "<kbq-pseudo-checkbox\n *ngIf=\"showCheckbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\"\n [disabled]=\"disabled\">\n</kbq-pseudo-checkbox>\n\n<span #kbqTitleText class=\"kbq-option-text\">\n <ng-content></ng-content>\n</span>\n", styles: ["@keyframes kbq-progress{0%{background-position:0 0}to{background-position:29px 0}}.kbq-progress{position:relative}.kbq-progress:after{content:\"\";position:absolute;border-radius:inherit;inset:0;background:linear-gradient(135deg,#0000000a 10px,#ffffff0a 10px 20px,#0000000a 20px 30px,#ffffff0a 31px) repeat;background-size:32px 32px;animation:kbq-progress 1s linear infinite}.kbq-group{display:flex;flex-direction:row}.kbq-group .kbq-group_justified>.kbq-group-item{width:100%}.kbq-group .kbq-group-item+.kbq-group-item{margin-left:calc(-1 * var(--kbq-button-size-border-width, 2px))}.kbq-group>.kbq-group-item:first-child:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.kbq-group>.kbq-group-item:first-child:not(:last-child)>.kbq-form-field__container{border-bottom-right-radius:0;border-top-right-radius:0}.kbq-group>.kbq-group-item:last-child:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.kbq-group>.kbq-group-item:last-child:not(:first-child)>.kbq-form-field__container{border-bottom-left-radius:0;border-top-left-radius:0}.kbq-group>.kbq-group-item:not(:first-child):not(:last-child){border-radius:0}.kbq-group>.kbq-group-item:not(:first-child):not(:last-child)>.kbq-form-field__container{border-radius:0}.kbq-vertical-group{display:flex;flex-direction:column}.kbq-vertical-group>.kbq-group-item:first-child:not(:last-child){border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--kbq-button-size-border-radius, 8px)}.kbq-vertical-group>.kbq-group-item:first-child:not(:last-child)>.kbq-form-field__container{border-bottom-right-radius:0;border-bottom-left-radius:0}.kbq-vertical-group>.kbq-group-item:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0;border-bottom-left-radius:var(--kbq-button-size-border-radius, 8px)}.kbq-vertical-group>.kbq-group-item:last-child:not(:first-child)>.kbq-form-field__container{border-top-right-radius:0;border-top-left-radius:0}.kbq-vertical-group>.kbq-group-item:not(:first-child):not(:last-child){border-radius:0}.kbq-vertical-group>.kbq-group-item:not(:first-child):not(:last-child)>.kbq-form-field__container{border-radius:0}.kbq-vertical-group .kbq-group-item+.kbq-group-item{margin-top:calc(-1 * var(--kbq-button-size-border-width, 2px))}.kbq-no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.kbq-option{position:relative;display:flex;flex-direction:row;align-items:center;box-sizing:border-box;outline:none;-webkit-tap-highlight-color:transparent;min-height:32px;gap:var(--kbq-list-size-container-content-gap-horizontal, 8px);border-width:var(--kbq-list-size-container-focus-outline-width, 2px);border-style:solid;border-color:transparent;padding:calc(var(--kbq-list-size-container-padding-vertical, 6px) - var(--kbq-list-size-container-focus-outline-width, 2px)) calc(var(--kbq-list-size-container-padding-right, 12px) - var(--kbq-list-size-container-focus-outline-width, 2px)) calc(var(--kbq-list-size-container-padding-vertical, 6px) - var(--kbq-list-size-container-focus-outline-width, 2px)) calc(var(--kbq-list-size-container-padding-left, 12px) - var(--kbq-list-size-container-focus-outline-width, 2px))}.kbq-option .kbq-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:var(--kbq-list-size-text-padding-vertical, 0);padding-bottom:var(--kbq-list-size-text-padding-vertical, 0)}.kbq-option .kbq-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.kbq-option .kbq-list-text:empty{display:none}.kbq-option .kbq-list-option-caption{padding-top:var(--kbq-list-size-container-content-gap-vertical, 2px)}.kbq-option:not(.kbq-disabled){cursor:pointer}.kbq-option-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:var(--kbq-list-size-text-padding-vertical, 0);padding-bottom:var(--kbq-list-size-text-padding-vertical, 0)}.kbq-option-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.kbq-option-text:empty{display:none}\n"] }]
|
|
1845
1943
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
1846
1944
|
type: Optional
|
|
1847
1945
|
}, {
|
|
@@ -2596,20 +2694,17 @@ class KbqPopUpTrigger {
|
|
|
2596
2694
|
this.clearListeners();
|
|
2597
2695
|
if (this.trigger.includes(PopUpTriggers.Click)) {
|
|
2598
2696
|
this.listeners
|
|
2599
|
-
.set('click',
|
|
2600
|
-
.forEach(this.addEventListener);
|
|
2697
|
+
.set(...this.createListener('click', this.show));
|
|
2601
2698
|
}
|
|
2602
2699
|
if (this.trigger.includes(PopUpTriggers.Hover)) {
|
|
2603
2700
|
this.listeners
|
|
2604
|
-
.set('mouseenter',
|
|
2605
|
-
.set('mouseleave',
|
|
2606
|
-
.forEach(this.addEventListener);
|
|
2701
|
+
.set(...this.createListener('mouseenter', this.show))
|
|
2702
|
+
.set(...this.createListener('mouseleave', this.hide));
|
|
2607
2703
|
}
|
|
2608
2704
|
if (this.trigger.includes(PopUpTriggers.Focus)) {
|
|
2609
2705
|
this.listeners
|
|
2610
|
-
.set('focus',
|
|
2611
|
-
.set('blur',
|
|
2612
|
-
.forEach(this.addEventListener);
|
|
2706
|
+
.set(...this.createListener('focus', this.show))
|
|
2707
|
+
.set(...this.createListener('blur', this.hide));
|
|
2613
2708
|
}
|
|
2614
2709
|
if (this.trigger.includes(PopUpTriggers.Keydown)) {
|
|
2615
2710
|
this.listeners
|
|
@@ -2617,9 +2712,10 @@ class KbqPopUpTrigger {
|
|
|
2617
2712
|
if (event instanceof KeyboardEvent && [ENTER, SPACE].includes(event.keyCode)) {
|
|
2618
2713
|
this.show();
|
|
2619
2714
|
}
|
|
2620
|
-
})
|
|
2621
|
-
.forEach(this.addEventListener);
|
|
2715
|
+
});
|
|
2622
2716
|
}
|
|
2717
|
+
this.listeners
|
|
2718
|
+
.forEach(this.addEventListener);
|
|
2623
2719
|
}
|
|
2624
2720
|
/** Updates the position of the current popover. */
|
|
2625
2721
|
updatePosition(reapplyPosition = false) {
|
|
@@ -2657,6 +2753,15 @@ class KbqPopUpTrigger {
|
|
|
2657
2753
|
this.listeners.forEach(this.removeEventListener);
|
|
2658
2754
|
this.listeners.clear();
|
|
2659
2755
|
}
|
|
2756
|
+
createListener(name, listener) {
|
|
2757
|
+
return [
|
|
2758
|
+
name,
|
|
2759
|
+
() => {
|
|
2760
|
+
this.triggerName = name;
|
|
2761
|
+
return listener.call(this);
|
|
2762
|
+
}
|
|
2763
|
+
];
|
|
2764
|
+
}
|
|
2660
2765
|
subscribeOnClosingActions() {
|
|
2661
2766
|
this.closingActionsSubscription?.unsubscribe();
|
|
2662
2767
|
this.closingActionsSubscription = this.closingActions()
|
|
@@ -2729,6 +2834,121 @@ const KBQ_SELECT_SCROLL_STRATEGY_PROVIDER = {
|
|
|
2729
2834
|
useFactory: kbqSelectScrollStrategyProviderFactory
|
|
2730
2835
|
};
|
|
2731
2836
|
|
|
2837
|
+
/* tslint:disable:no-empty */
|
|
2838
|
+
class KbqSelectTrigger {
|
|
2839
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqSelectTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2840
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: KbqSelectTrigger, isStandalone: true, selector: "kbq-select-trigger, [kbq-select-trigger]", ngImport: i0 }); }
|
|
2841
|
+
}
|
|
2842
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqSelectTrigger, decorators: [{
|
|
2843
|
+
type: Directive,
|
|
2844
|
+
args: [{
|
|
2845
|
+
selector: 'kbq-select-trigger, [kbq-select-trigger]',
|
|
2846
|
+
standalone: true
|
|
2847
|
+
}]
|
|
2848
|
+
}] });
|
|
2849
|
+
class KbqSelectMatcher {
|
|
2850
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqSelectMatcher, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2851
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: KbqSelectMatcher, isStandalone: true, selector: "kbq-select-matcher, [kbq-select-matcher]", ngImport: i0 }); }
|
|
2852
|
+
}
|
|
2853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqSelectMatcher, decorators: [{
|
|
2854
|
+
type: Directive,
|
|
2855
|
+
args: [{
|
|
2856
|
+
selector: 'kbq-select-matcher, [kbq-select-matcher]',
|
|
2857
|
+
standalone: true
|
|
2858
|
+
}]
|
|
2859
|
+
}] });
|
|
2860
|
+
class KbqSelectFooter {
|
|
2861
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqSelectFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2862
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: KbqSelectFooter, isStandalone: true, selector: "kbq-select-footer, [kbq-select-footer]", host: { classAttribute: "kbq-select__footer" }, ngImport: i0 }); }
|
|
2863
|
+
}
|
|
2864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqSelectFooter, decorators: [{
|
|
2865
|
+
type: Directive,
|
|
2866
|
+
args: [{
|
|
2867
|
+
selector: 'kbq-select-footer, [kbq-select-footer]',
|
|
2868
|
+
host: { class: 'kbq-select__footer' },
|
|
2869
|
+
standalone: true
|
|
2870
|
+
}]
|
|
2871
|
+
}] });
|
|
2872
|
+
class KbqSelectSearch {
|
|
2873
|
+
get ngControl() {
|
|
2874
|
+
return this.formField.control.ngControl;
|
|
2875
|
+
}
|
|
2876
|
+
constructor(formField) {
|
|
2877
|
+
this.formField = formField;
|
|
2878
|
+
this.searchChangesSubscription = new Subscription();
|
|
2879
|
+
this.isSearchChanged = false;
|
|
2880
|
+
formField.canCleanerClearByEsc = false;
|
|
2881
|
+
}
|
|
2882
|
+
focus() {
|
|
2883
|
+
this.formField.focusViaKeyboard();
|
|
2884
|
+
}
|
|
2885
|
+
reset() {
|
|
2886
|
+
this.ngControl.reset();
|
|
2887
|
+
}
|
|
2888
|
+
value() {
|
|
2889
|
+
return this.formField.control.value;
|
|
2890
|
+
}
|
|
2891
|
+
ngAfterContentInit() {
|
|
2892
|
+
if (this.formField.control.controlType !== 'input') {
|
|
2893
|
+
throw Error('KbqSelectSearch does not work without kbqInput');
|
|
2894
|
+
}
|
|
2895
|
+
if (!this.ngControl) {
|
|
2896
|
+
throw Error('KbqSelectSearch does not work without ngControl');
|
|
2897
|
+
}
|
|
2898
|
+
Promise.resolve().then(() => {
|
|
2899
|
+
this.searchChangesSubscription = this.ngControl.valueChanges.subscribe(() => {
|
|
2900
|
+
this.isSearchChanged = true;
|
|
2901
|
+
});
|
|
2902
|
+
});
|
|
2903
|
+
}
|
|
2904
|
+
ngOnDestroy() {
|
|
2905
|
+
this.searchChangesSubscription.unsubscribe();
|
|
2906
|
+
}
|
|
2907
|
+
handleKeydown(event) {
|
|
2908
|
+
// tslint:disable-next-line:deprecation
|
|
2909
|
+
if (event.keyCode === ESCAPE) {
|
|
2910
|
+
if (this.value()) {
|
|
2911
|
+
this.reset();
|
|
2912
|
+
event.stopPropagation();
|
|
2913
|
+
}
|
|
2914
|
+
}
|
|
2915
|
+
// tslint:disable-next-line:deprecation
|
|
2916
|
+
if ([SPACE, HOME, END].includes(event.keyCode)) {
|
|
2917
|
+
event.stopPropagation();
|
|
2918
|
+
}
|
|
2919
|
+
}
|
|
2920
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqSelectSearch, deps: [{ token: KBQ_FORM_FIELD_REF, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2921
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: KbqSelectSearch, isStandalone: true, selector: "[kbqSelectSearch]", host: { listeners: { "keydown": "handleKeydown($event)" } }, exportAs: ["kbqSelectSearch"], ngImport: i0 }); }
|
|
2922
|
+
}
|
|
2923
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqSelectSearch, decorators: [{
|
|
2924
|
+
type: Directive,
|
|
2925
|
+
args: [{
|
|
2926
|
+
selector: '[kbqSelectSearch]',
|
|
2927
|
+
exportAs: 'kbqSelectSearch',
|
|
2928
|
+
standalone: true,
|
|
2929
|
+
host: {
|
|
2930
|
+
'(keydown)': 'handleKeydown($event)'
|
|
2931
|
+
}
|
|
2932
|
+
}]
|
|
2933
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2934
|
+
type: Optional
|
|
2935
|
+
}, {
|
|
2936
|
+
type: Inject,
|
|
2937
|
+
args: [KBQ_FORM_FIELD_REF]
|
|
2938
|
+
}] }] });
|
|
2939
|
+
class KbqSelectSearchEmptyResult {
|
|
2940
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqSelectSearchEmptyResult, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2941
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: KbqSelectSearchEmptyResult, isStandalone: true, selector: "[kbq-select-search-empty-result]", exportAs: ["kbqSelectSearchEmptyResult"], ngImport: i0 }); }
|
|
2942
|
+
}
|
|
2943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqSelectSearchEmptyResult, decorators: [{
|
|
2944
|
+
type: Directive,
|
|
2945
|
+
args: [{
|
|
2946
|
+
selector: '[kbq-select-search-empty-result]',
|
|
2947
|
+
exportAs: 'kbqSelectSearchEmptyResult',
|
|
2948
|
+
standalone: true
|
|
2949
|
+
}]
|
|
2950
|
+
}] });
|
|
2951
|
+
|
|
2732
2952
|
class KbqMeasureScrollbarService {
|
|
2733
2953
|
get scrollBarWidth() {
|
|
2734
2954
|
if (this._scrollBarWidth) {
|
|
@@ -2806,6 +3026,9 @@ class ThemeService {
|
|
|
2806
3026
|
.pipe(pairwise())
|
|
2807
3027
|
.subscribe(this.update);
|
|
2808
3028
|
}
|
|
3029
|
+
ngOnDestroy() {
|
|
3030
|
+
this.subscription.unsubscribe();
|
|
3031
|
+
}
|
|
2809
3032
|
setThemes(items) {
|
|
2810
3033
|
this.themes = items;
|
|
2811
3034
|
}
|
|
@@ -2841,32 +3064,19 @@ var MeasurementSystem;
|
|
|
2841
3064
|
MeasurementSystem["SI"] = "SI";
|
|
2842
3065
|
MeasurementSystem["IEC"] = "IEC";
|
|
2843
3066
|
})(MeasurementSystem || (MeasurementSystem = {}));
|
|
2844
|
-
const
|
|
2845
|
-
|
|
2846
|
-
defaultPrecision: 2,
|
|
2847
|
-
unitSystems: {
|
|
2848
|
-
[MeasurementSystem.SI]: {
|
|
2849
|
-
abbreviations: ['B', 'KB', 'MB', 'GB', 'TB'],
|
|
2850
|
-
base: 10,
|
|
2851
|
-
power: 3
|
|
2852
|
-
},
|
|
2853
|
-
[MeasurementSystem.IEC]: {
|
|
2854
|
-
abbreviations: ['B', 'KiB', 'MiB', 'GiB', 'TiB'],
|
|
2855
|
-
base: 2,
|
|
2856
|
-
power: 10
|
|
2857
|
-
}
|
|
2858
|
-
}
|
|
2859
|
-
};
|
|
3067
|
+
const KBQ_SIZE_UNITS_DEFAULT_CONFIG = enUSFormattersData.sizeUnits;
|
|
3068
|
+
const KBQ_SIZE_UNITS_CONFIG = new InjectionToken('KbqSizeUnitsConfig');
|
|
2860
3069
|
|
|
2861
|
-
const formatDataSize = (value,
|
|
2862
|
-
const
|
|
2863
|
-
const { result, unit } = getHumanizedBytes(value, systemCode);
|
|
3070
|
+
const formatDataSize = (value, precision, system) => {
|
|
3071
|
+
const { result, unit } = getHumanizedBytes(value, system);
|
|
2864
3072
|
let volume;
|
|
2865
3073
|
if (system.abbreviations[0] === unit) {
|
|
2866
3074
|
volume = result.toString();
|
|
2867
3075
|
}
|
|
2868
3076
|
else {
|
|
2869
|
-
volume = result
|
|
3077
|
+
volume = result
|
|
3078
|
+
.toFixed(precision)
|
|
3079
|
+
.replace(/\./g, ',');
|
|
2870
3080
|
}
|
|
2871
3081
|
return {
|
|
2872
3082
|
value: volume,
|
|
@@ -2877,25 +3087,21 @@ const formatDataSize = (value, systemCode = sizeUnitsConfig.defaultUnitSystem, p
|
|
|
2877
3087
|
* Переводит байты в Кб, Мб, Гб
|
|
2878
3088
|
*
|
|
2879
3089
|
* @param value количество байт
|
|
2880
|
-
* @param
|
|
3090
|
+
* @param system система измерения
|
|
2881
3091
|
* @param threshold нижний порог подсчета
|
|
2882
3092
|
*/
|
|
2883
|
-
const getHumanizedBytes = (value,
|
|
2884
|
-
const system = sizeUnitsConfig.unitSystems[systemCode];
|
|
2885
|
-
if (!system) {
|
|
2886
|
-
throw new Error(`Unit system "${systemCode}" not configured!`);
|
|
2887
|
-
}
|
|
3093
|
+
const getHumanizedBytes = (value, system, threshold) => {
|
|
2888
3094
|
if (!Number.isFinite(value)) {
|
|
2889
3095
|
throw new Error('Argument "value" must be number!');
|
|
2890
3096
|
}
|
|
2891
|
-
const
|
|
3097
|
+
const calculatedThreshold = Number.isFinite(threshold)
|
|
2892
3098
|
? threshold : Math.pow(system.base, system.power);
|
|
2893
3099
|
const orderOfMagnitude = Math.pow(system.base, system.power);
|
|
2894
3100
|
let result = value;
|
|
2895
3101
|
let step = 0;
|
|
2896
3102
|
const len = system.abbreviations.length - 1;
|
|
2897
3103
|
while (step < len) {
|
|
2898
|
-
if (
|
|
3104
|
+
if (calculatedThreshold !== undefined && result < calculatedThreshold) {
|
|
2899
3105
|
break;
|
|
2900
3106
|
}
|
|
2901
3107
|
step++;
|
|
@@ -2908,42 +3114,54 @@ const getHumanizedBytes = (value, systemCode = sizeUnitsConfig.defaultUnitSystem
|
|
|
2908
3114
|
};
|
|
2909
3115
|
|
|
2910
3116
|
class KbqDataSizePipe {
|
|
2911
|
-
|
|
2912
|
-
|
|
3117
|
+
constructor(externalConfig, localeService) {
|
|
3118
|
+
this.externalConfig = externalConfig;
|
|
3119
|
+
this.localeService = localeService;
|
|
3120
|
+
this.updateLocaleParams = () => {
|
|
3121
|
+
this.config = this.externalConfig || this.localeService?.getParams('sizeUnits');
|
|
3122
|
+
};
|
|
3123
|
+
this.localeService?.changes
|
|
3124
|
+
.subscribe(this.updateLocaleParams);
|
|
3125
|
+
if (!localeService) {
|
|
3126
|
+
this.config = KBQ_SIZE_UNITS_DEFAULT_CONFIG;
|
|
3127
|
+
}
|
|
3128
|
+
}
|
|
3129
|
+
transform(source, precision, unitSystemName) {
|
|
3130
|
+
const unitSystem = this.config.unitSystems[unitSystemName || this.config.defaultUnitSystem];
|
|
3131
|
+
const { value, unit } = formatDataSize(source, precision || this.config.defaultPrecision, unitSystem);
|
|
2913
3132
|
return `${value} ${unit}`;
|
|
2914
3133
|
}
|
|
2915
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2916
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizePipe, name: "kbqDataSize" }); }
|
|
3134
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizePipe, deps: [{ token: KBQ_SIZE_UNITS_CONFIG, optional: true }, { token: KBQ_LOCALE_SERVICE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3135
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizePipe, isStandalone: true, name: "kbqDataSize", pure: false }); }
|
|
2917
3136
|
}
|
|
2918
3137
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqDataSizePipe, decorators: [{
|
|
2919
3138
|
type: Pipe,
|
|
2920
3139
|
args: [{
|
|
2921
|
-
name: 'kbqDataSize'
|
|
3140
|
+
name: 'kbqDataSize',
|
|
3141
|
+
standalone: true,
|
|
3142
|
+
pure: false
|
|
2922
3143
|
}]
|
|
2923
|
-
}]
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
}
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
declarations: [KbqDataSizePipe]
|
|
2935
|
-
}]
|
|
2936
|
-
}] });
|
|
3144
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
3145
|
+
type: Optional
|
|
3146
|
+
}, {
|
|
3147
|
+
type: Inject,
|
|
3148
|
+
args: [KBQ_SIZE_UNITS_CONFIG]
|
|
3149
|
+
}] }, { type: KbqLocaleService, decorators: [{
|
|
3150
|
+
type: Optional
|
|
3151
|
+
}, {
|
|
3152
|
+
type: Inject,
|
|
3153
|
+
args: [KBQ_LOCALE_SERVICE]
|
|
3154
|
+
}] }] });
|
|
2937
3155
|
|
|
2938
3156
|
const validationTooltipShowDelay = 10;
|
|
2939
3157
|
const validationTooltipHideDelay = 3000;
|
|
2940
3158
|
const KBQ_VALIDATION = new InjectionToken('KbqUseValidation', { factory: () => ({ useValidation: true }) });
|
|
2941
3159
|
|
|
2942
|
-
const VERSION = new Version('
|
|
3160
|
+
const VERSION = new Version('17.0.0-rc.10+sha-f28bf2f');
|
|
2943
3161
|
|
|
2944
3162
|
/**
|
|
2945
3163
|
* Generated bundle index. Do not edit.
|
|
2946
3164
|
*/
|
|
2947
3165
|
|
|
2948
|
-
export { AbsoluteDateFormatterPipe, AbsoluteDateShortFormatterPipe, AbsoluteDateTimeFormatterPipe, AbsoluteShortDateTimeFormatterPipe, AnimationCurves, BOTTOM_LEFT_POSITION_PRIORITY, BOTTOM_POSITION_PRIORITY, BOTTOM_RIGHT_POSITION_PRIORITY, DateAdapter, DateFormatter, EXTENDED_OVERLAY_POSITIONS, ErrorStateMatcher, KBQ_CUSTOM_SCROLL_STRATEGY_PROVIDER, KBQ_DATE_FORMATS, KBQ_DATE_LOCALE, KBQ_DATE_LOCALE_FACTORY, KBQ_DEFAULT_LOCALE_DATA_FACTORY, KBQ_DEFAULT_LOCALE_ID, KBQ_FORM_FIELD_REF, KBQ_LABEL_GLOBAL_OPTIONS, KBQ_LOCALE_DATA, KBQ_LOCALE_ID, KBQ_LOCALE_SERVICE, KBQ_NUMBER_FORMATTER_DEFAULT_OPTIONS, KBQ_NUMBER_FORMATTER_OPTIONS, KBQ_OPTION_ACTION_PARENT, KBQ_OPTION_PARENT_COMPONENT, KBQ_PARENT_ANIMATION_COMPONENT, KBQ_SANITY_CHECKS, KBQ_SELECT_SCROLL_STRATEGY, KBQ_SELECT_SCROLL_STRATEGY_PROVIDER, KBQ_TITLE_TEXT_REF, KBQ_VALIDATION, KbqCommonModule, KbqComponentColors,
|
|
3166
|
+
export { AbsoluteDateFormatterPipe, AbsoluteDateShortFormatterPipe, AbsoluteDateTimeFormatterPipe, AbsoluteShortDateTimeFormatterPipe, AnimationCurves, BOTTOM_LEFT_POSITION_PRIORITY, BOTTOM_POSITION_PRIORITY, BOTTOM_RIGHT_POSITION_PRIORITY, DateAdapter, DateFormatter, EXTENDED_OVERLAY_POSITIONS, ErrorStateMatcher, KBQ_CUSTOM_SCROLL_STRATEGY_PROVIDER, KBQ_DATE_FORMATS, KBQ_DATE_LOCALE, KBQ_DATE_LOCALE_FACTORY, KBQ_DEFAULT_LOCALE_DATA_FACTORY, KBQ_DEFAULT_LOCALE_ID, KBQ_FORM_FIELD_REF, KBQ_LABEL_GLOBAL_OPTIONS, KBQ_LOCALE_DATA, KBQ_LOCALE_ID, KBQ_LOCALE_SERVICE, KBQ_NUMBER_FORMATTER_DEFAULT_OPTIONS, KBQ_NUMBER_FORMATTER_OPTIONS, KBQ_OPTION_ACTION_PARENT, KBQ_OPTION_PARENT_COMPONENT, KBQ_PARENT_ANIMATION_COMPONENT, KBQ_SANITY_CHECKS, KBQ_SELECT_SCROLL_STRATEGY, KBQ_SELECT_SCROLL_STRATEGY_PROVIDER, KBQ_SIZE_UNITS_CONFIG, KBQ_SIZE_UNITS_DEFAULT_CONFIG, KBQ_TITLE_TEXT_REF, KBQ_VALIDATION, KbqCommonModule, KbqComponentColors, KbqDataSizePipe, KbqDecimalPipe, KbqDefaultThemes, KbqForm, KbqFormElement, KbqFormattersModule, KbqFormsModule, KbqHighlightModule, KbqHighlightPipe, KbqLine, KbqLineModule, KbqLineSetter, KbqLocaleService, KbqLocaleServiceModule, KbqMeasureScrollbarService, KbqOptgroup, KbqOptgroupBase, KbqOptgroupMixinBase, KbqOption, KbqOptionActionBase, KbqOptionActionComponent, KbqOptionActionMixinBase, KbqOptionBase, KbqOptionModule, KbqOptionSelectionChange, KbqPopUp, KbqPopUpTrigger, KbqPseudoCheckbox, KbqPseudoCheckboxBase, KbqPseudoCheckboxMixinBase, KbqPseudoCheckboxModule, KbqRoundDecimalPipe, KbqSelectFooter, KbqSelectMatcher, KbqSelectSearch, KbqSelectSearchEmptyResult, KbqSelectTrigger, KbqTableNumberPipe, KbqVirtualOption, LEFT_BOTTOM_POSITION_PRIORITY, LEFT_POSITION_PRIORITY, LEFT_TOP_POSITION_PRIORITY, MeasurementSystem, MultipleMode, NUMBER_FORMAT_REGEXP, POSITION_MAP, POSITION_PRIORITY_STRATEGY, POSITION_TO_CSS_MAP, PopUpPlacements, PopUpSizes, PopUpTriggers, PopUpVisibility, RIGHT_BOTTOM_POSITION_PRIORITY, RIGHT_POSITION_PRIORITY, RIGHT_TOP_POSITION_PRIORITY, RangeDateFormatterPipe, RangeDateTimeFormatterPipe, RangeMiddleDateTimeFormatterPipe, RangeShortDateFormatterPipe, RangeShortDateTimeFormatterPipe, RelativeDateFormatterPipe, RelativeDateTimeFormatterPipe, RelativeShortDateFormatterPipe, RelativeShortDateTimeFormatterPipe, SELECT_PANEL_INDENT_PADDING_X, SELECT_PANEL_MAX_HEIGHT, SELECT_PANEL_PADDING_X, SELECT_PANEL_VIEWPORT_PADDING, ShowOnDirtyErrorStateMatcher, TOP_LEFT_POSITION_PRIORITY, TOP_POSITION_PRIORITY, TOP_RIGHT_POSITION_PRIORITY, ThemePalette, ThemeService, VERSION, countGroupLabelsBeforeOption, enUSFormattersData, enUSLocaleData, esLAFormattersData, esLALocaleData, escapeRegExp, faIRFormattersData, faIRLocaleData, fadeAnimation, formatDataSize, getHumanizedBytes, getKbqSelectDynamicMultipleError, getKbqSelectNonArrayValueError, getKbqSelectNonFunctionValueError, getOptionScrollPosition, isBoolean, isWithin, kbqSelectAnimations, kbqSelectScrollStrategyProviderFactory, mixinColor, mixinDisabled, mixinErrorState, mixinTabIndex, ptBRFormattersData, ptBRLocaleData, ruRUFormattersData, ruRULocaleData, selectEvents, toBoolean, validationTooltipHideDelay, validationTooltipShowDelay, zhCNFormattersData, zhCNLocaleData };
|
|
2949
3167
|
//# sourceMappingURL=koobiq-components-core.mjs.map
|