@koobiq/components 19.8.0 → 20.0.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/index.d.ts +238 -1
- package/actions-panel/index.d.ts +303 -5
- package/alert/index.d.ts +54 -1
- package/app-switcher/index.d.ts +239 -1
- package/autocomplete/index.d.ts +265 -1
- package/badge/index.d.ts +57 -1
- package/breadcrumbs/breadcrumbs.scss +7 -0
- package/breadcrumbs/index.d.ts +243 -1
- package/button/_button-base.scss +20 -0
- package/button/_button-theme.scss +3 -11
- package/button/button.scss +0 -11
- package/button/index.d.ts +153 -1
- package/button-toggle/index.d.ts +155 -1
- package/checkbox/index.d.ts +159 -1
- package/clamped-text/index.d.ts +144 -4
- package/code-block/_code-block-theme.scss +0 -6
- package/code-block/code-block-tokens.scss +0 -2
- package/code-block/index.d.ts +383 -1
- package/content-panel/content-panel.scss +0 -8
- package/content-panel/index.d.ts +158 -2
- package/core/highlight/_highlight-theme.scss +9 -0
- package/core/index.d.ts +4405 -1
- package/core/option/_option-theme.scss +5 -14
- package/core/styles/_koobiq-theme.scss +1 -0
- package/core/styles/theming/_components-theming.scss +0 -62
- package/datepicker/index.d.ts +699 -1
- package/divider/index.d.ts +20 -1
- package/dl/index.d.ts +37 -1
- package/dropdown/_dropdown-theme.scss +4 -8
- package/dropdown/dropdown.scss +4 -0
- package/dropdown/index.d.ts +473 -1
- package/dynamic-translation/index.d.ts +81 -2
- package/ellipsis-center/index.d.ts +38 -1
- package/empty-state/index.d.ts +45 -1
- package/fesm2022/koobiq-components-accordion.mjs +103 -114
- package/fesm2022/koobiq-components-accordion.mjs.map +1 -1
- package/fesm2022/koobiq-components-actions-panel.mjs +16 -16
- package/fesm2022/koobiq-components-actions-panel.mjs.map +1 -1
- package/fesm2022/koobiq-components-alert.mjs +35 -49
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-app-switcher.mjs +81 -86
- package/fesm2022/koobiq-components-app-switcher.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +294 -304
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +35 -42
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-breadcrumbs.mjs +154 -163
- package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +87 -86
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +209 -96
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +50 -52
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-clamped-text.mjs +42 -49
- package/fesm2022/koobiq-components-clamped-text.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +125 -125
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-content-panel.mjs +90 -107
- package/fesm2022/koobiq-components-content-panel.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +1630 -618
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +285 -349
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs +14 -25
- package/fesm2022/koobiq-components-divider.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +27 -29
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +202 -167
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-dynamic-translation.mjs +23 -23
- package/fesm2022/koobiq-components-dynamic-translation.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +16 -21
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +35 -39
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +135 -234
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +321 -561
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +211 -430
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +42 -43
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-inline-edit.mjs +65 -60
- package/fesm2022/koobiq-components-inline-edit.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +116 -155
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +38 -53
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +105 -114
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +37 -44
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +31 -35
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +169 -163
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +159 -161
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-notification-center.mjs +54 -55
- package/fesm2022/koobiq-components-notification-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-overflow-items.mjs +36 -36
- package/fesm2022/koobiq-components-overflow-items.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +95 -86
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +24 -30
- package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +25 -32
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +94 -80
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-resizer.mjs +17 -17
- package/fesm2022/koobiq-components-resizer.mjs.map +1 -1
- package/fesm2022/koobiq-components-scrollbar.mjs +69 -60
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-search-expandable.mjs +44 -35
- package/fesm2022/koobiq-components-search-expandable.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +249 -234
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +59 -55
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +88 -128
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-skeleton.mjs +12 -12
- package/fesm2022/koobiq-components-skeleton.mjs.map +1 -1
- package/fesm2022/koobiq-components-split-button.mjs +27 -20
- package/fesm2022/koobiq-components-split-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +110 -96
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +21 -23
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +269 -275
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +177 -267
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +37 -56
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-time-range.mjs +64 -65
- package/fesm2022/koobiq-components-time-range.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +46 -38
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +52 -58
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +23 -30
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +54 -69
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +51 -63
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +91 -119
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-top-bar.mjs +25 -23
- package/fesm2022/koobiq-components-top-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +227 -227
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +217 -209
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/fesm2022/koobiq-components-username.mjs +48 -48
- package/fesm2022/koobiq-components-username.mjs.map +1 -1
- package/file-upload/index.d.ts +574 -1
- package/filter-bar/_filter-bar-theme.scss +0 -4
- package/filter-bar/index.d.ts +796 -1
- package/form-field/index.d.ts +569 -1
- package/icon/index.d.ts +162 -1
- package/index.d.ts +2 -1
- package/inline-edit/index.d.ts +171 -2
- package/input/index.d.ts +339 -1
- package/link/index.d.ts +56 -1
- package/list/index.d.ts +220 -1
- package/loader-overlay/index.d.ts +57 -1
- package/markdown/index.d.ts +68 -1
- package/modal/_modal-theme.scss +0 -8
- package/modal/index.d.ts +311 -1
- package/navbar/index.d.ts +304 -1
- package/notification-center/index.d.ts +237 -1
- package/notification-center/notification-center.scss +0 -8
- package/overflow-items/index.d.ts +161 -2
- package/package.json +10 -18
- package/popover/index.d.ts +182 -1
- package/popover/popover.scss +8 -12
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/prebuilt-themes/theme.css +1 -1
- package/progress-bar/index.d.ts +31 -1
- package/progress-spinner/index.d.ts +37 -1
- package/radio/index.d.ts +207 -1
- package/resizer/index.d.ts +85 -2
- package/schematics/collection.json +5 -0
- package/schematics/migrations/css-selectors/index.js +1 -1
- package/schematics/migrations/deprecated-icons/index.js +1 -1
- package/schematics/migrations/new-icons-pack/index.js +1 -1
- package/schematics/migrations/v20-upgrade/README.md +72 -0
- package/schematics/migrations/v20-upgrade/data.js +274 -0
- package/schematics/migrations/v20-upgrade/index.js +222 -0
- package/schematics/migrations/v20-upgrade/schema.json +20 -0
- package/schematics/migrations.json +10 -0
- package/schematics/ng-add/index.js +3 -4
- package/scrollbar/index.d.ts +136 -1
- package/search-expandable/index.d.ts +98 -1
- package/select/index.d.ts +693 -1
- package/sidebar/index.d.ts +92 -1
- package/sidepanel/index.d.ts +263 -1
- package/sidepanel/sidepanel.scss +0 -8
- package/skeleton/index.d.ts +26 -2
- package/split-button/index.d.ts +46 -1
- package/splitter/index.d.ts +141 -1
- package/table/index.d.ts +23 -1
- package/tabs/_tabs-common.scss +31 -1
- package/tabs/_tabs-theme.scss +2 -2
- package/tabs/index.d.ts +645 -1
- package/tags/index.d.ts +706 -1
- package/textarea/index.d.ts +134 -1
- package/time-range/index.d.ts +310 -7
- package/timepicker/index.d.ts +193 -1
- package/timezone/index.d.ts +122 -1
- package/title/index.d.ts +41 -1
- package/toast/index.d.ts +164 -1
- package/toggle/index.d.ts +84 -1
- package/tooltip/index.d.ts +163 -1
- package/top-bar/index.d.ts +33 -1
- package/tree/_tree-theme.scss +4 -0
- package/tree/index.d.ts +718 -1
- package/tree/tree-option.scss +20 -7
- package/tree-select/_tree-select-theme.scss +39 -0
- package/tree-select/index.d.ts +377 -1
- package/username/index.d.ts +176 -5
- package/accordion/accordion-content.d.ts +0 -6
- package/accordion/accordion-content.directive.d.ts +0 -27
- package/accordion/accordion-header.d.ts +0 -6
- package/accordion/accordion-header.directive.d.ts +0 -7
- package/accordion/accordion-item.d.ts +0 -77
- package/accordion/accordion-trigger.component.d.ts +0 -24
- package/accordion/accordion-trigger.directive.d.ts +0 -21
- package/accordion/accordion.component.d.ts +0 -79
- package/accordion/accordion.module.d.ts +0 -12
- package/accordion/public-api.d.ts +0 -9
- package/actions-panel/actions-panel-config.d.ts +0 -82
- package/actions-panel/actions-panel-container.d.ts +0 -90
- package/actions-panel/actions-panel-ref.d.ts +0 -44
- package/actions-panel/actions-panel.d.ts +0 -84
- package/actions-panel/module.d.ts +0 -7
- package/alert/alert.component.d.ts +0 -43
- package/alert/alert.module.d.ts +0 -9
- package/alert/public-api.d.ts +0 -2
- package/app-switcher/app-switcher-animations.d.ts +0 -5
- package/app-switcher/app-switcher-dropdown-app.d.ts +0 -11
- package/app-switcher/app-switcher-dropdown-site.d.ts +0 -9
- package/app-switcher/app-switcher.d.ts +0 -198
- package/app-switcher/app-switcher.module.d.ts +0 -10
- package/app-switcher/kbq-app-switcher-list-item.d.ts +0 -16
- package/app-switcher/public-api.d.ts +0 -6
- package/autocomplete/autocomplete-origin.directive.d.ts +0 -12
- package/autocomplete/autocomplete-trigger.directive.d.ts +0 -169
- package/autocomplete/autocomplete.component.d.ts +0 -88
- package/autocomplete/autocomplete.module.d.ts +0 -12
- package/autocomplete/public-api.d.ts +0 -4
- package/badge/badge.component.d.ts +0 -46
- package/badge/badge.module.d.ts +0 -9
- package/badge/public-api.d.ts +0 -2
- package/breadcrumbs/breadcrumbs.d.ts +0 -127
- package/breadcrumbs/breadcrumbs.module.d.ts +0 -7
- package/breadcrumbs/breadcrumbs.types.d.ts +0 -22
- package/breadcrumbs/public-api.d.ts +0 -5
- package/breadcrumbs/roving-focus-group.directive.d.ts +0 -50
- package/breadcrumbs/roving-focus-item.directive.d.ts +0 -50
- package/breadcrumbs/utils.d.ts +0 -19
- package/button/button-group.d.ts +0 -45
- package/button/button.component.d.ts +0 -59
- package/button/button.dropdown-trigger.directive.d.ts +0 -14
- package/button/button.module.d.ts +0 -12
- package/button/public-api.d.ts +0 -4
- package/button-toggle/button-toggle.component.d.ts +0 -146
- package/button-toggle/button-toggle.module.d.ts +0 -9
- package/button-toggle/public-api.d.ts +0 -2
- package/checkbox/checkbox-config.d.ts +0 -13
- package/checkbox/checkbox-module.d.ts +0 -9
- package/checkbox/checkbox-required-validator.d.ts +0 -13
- package/checkbox/checkbox.d.ts +0 -128
- package/checkbox/public-api.d.ts +0 -4
- package/clamped-text/clamped-list.d.ts +0 -41
- package/clamped-text/clamped-text.d.ts +0 -65
- package/clamped-text/constants.d.ts +0 -34
- package/clamped-text/module.d.ts +0 -8
- package/code-block/code-block-highlight.d.ts +0 -98
- package/code-block/code-block.d.ts +0 -255
- package/code-block/code-block.module.d.ts +0 -7
- package/code-block/public-api.d.ts +0 -4
- package/code-block/types.d.ts +0 -36
- package/content-panel/content-panel.d.ts +0 -149
- package/content-panel/module.d.ts +0 -7
- package/core/animation/animation.d.ts +0 -37
- package/core/animation/fade-animations.d.ts +0 -2
- package/core/animation/index.d.ts +0 -3
- package/core/animation/select-animations.d.ts +0 -12
- package/core/common-behaviors/checkbox.d.ts +0 -5
- package/core/common-behaviors/clipboard.d.ts +0 -12
- package/core/common-behaviors/color.d.ts +0 -50
- package/core/common-behaviors/common-module.d.ts +0 -38
- package/core/common-behaviors/constructor.d.ts +0 -9
- package/core/common-behaviors/disabled.d.ts +0 -8
- package/core/common-behaviors/error-state.d.ts +0 -46
- package/core/common-behaviors/flex.d.ts +0 -4
- package/core/common-behaviors/hover.d.ts +0 -15
- package/core/common-behaviors/index.d.ts +0 -14
- package/core/common-behaviors/orientation.d.ts +0 -4
- package/core/common-behaviors/read-state.d.ts +0 -12
- package/core/common-behaviors/size.d.ts +0 -4
- package/core/common-behaviors/tabindex.d.ts +0 -8
- package/core/datetime/date-adapter.d.ts +0 -12
- package/core/datetime/date-formats.d.ts +0 -4
- package/core/datetime/index.d.ts +0 -2
- package/core/error/error-state-matcher.d.ts +0 -39
- package/core/form-field/field-sizing-content.d.ts +0 -21
- package/core/form-field/form-field-ref.d.ts +0 -28
- package/core/form-field/index.d.ts +0 -2
- package/core/formatters/date/formatter.d.ts +0 -11
- package/core/formatters/date/formatter.pipe.d.ts +0 -139
- package/core/formatters/filesize/config.d.ts +0 -66
- package/core/formatters/filesize/formatter.d.ts +0 -17
- package/core/formatters/filesize/index.d.ts +0 -3
- package/core/formatters/filesize/size.d.ts +0 -52
- package/core/formatters/index.d.ts +0 -13
- package/core/formatters/number/formatter.d.ts +0 -101
- package/core/forms/forms-module.d.ts +0 -7
- package/core/forms/forms.directive.d.ts +0 -22
- package/core/forms/index.d.ts +0 -3
- package/core/forms/validators.d.ts +0 -120
- package/core/highlight/highlight.pipe.d.ts +0 -10
- package/core/highlight/index.d.ts +0 -9
- package/core/line/line.d.ts +0 -23
- package/core/locales/en-US.d.ts +0 -175
- package/core/locales/es-LA.d.ts +0 -174
- package/core/locales/formatters.d.ts +0 -190
- package/core/locales/index.d.ts +0 -9
- package/core/locales/locale-service.d.ts +0 -1112
- package/core/locales/locale-service.module.d.ts +0 -6
- package/core/locales/pt-BR.d.ts +0 -174
- package/core/locales/ru-RU.d.ts +0 -175
- package/core/locales/tk-TM.d.ts +0 -175
- package/core/locales/types.d.ts +0 -77
- package/core/navbar/index.d.ts +0 -1
- package/core/navbar/rectangle-item.d.ts +0 -14
- package/core/option/action-container.d.ts +0 -5
- package/core/option/action.d.ts +0 -38
- package/core/option/index.d.ts +0 -5
- package/core/option/optgroup.d.ts +0 -16
- package/core/option/option-module.d.ts +0 -10
- package/core/option/option.d.ts +0 -170
- package/core/overlay/overlay-position-map.d.ts +0 -40
- package/core/pop-up/constants.d.ts +0 -56
- package/core/pop-up/focus-trap-strategy.d.ts +0 -5
- package/core/pop-up/index.d.ts +0 -5
- package/core/pop-up/pop-up-styles.d.ts +0 -2
- package/core/pop-up/pop-up-trigger.d.ts +0 -104
- package/core/pop-up/pop-up.d.ts +0 -57
- package/core/public-api.d.ts +0 -23
- package/core/select/common.d.ts +0 -59
- package/core/select/constants.d.ts +0 -22
- package/core/select/errors.d.ts +0 -19
- package/core/select/events.d.ts +0 -1
- package/core/select/index.d.ts +0 -4
- package/core/selection/constants.d.ts +0 -4
- package/core/selection/index.d.ts +0 -3
- package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +0 -23
- package/core/selection/pseudo-checkbox/pseudo-checkbox.module.d.ts +0 -8
- package/core/services/measure-scrollbar.service.d.ts +0 -11
- package/core/services/theme.service.d.ts +0 -41
- package/core/title/index.d.ts +0 -1
- package/core/title/title-text-ref.d.ts +0 -6
- package/core/tokens/index.d.ts +0 -1
- package/core/tokens/window.d.ts +0 -5
- package/core/utils/dom.d.ts +0 -4
- package/core/utils/index.d.ts +0 -2
- package/core/utils/public-api.d.ts +0 -1
- package/core/utils/utils.d.ts +0 -25
- package/core/validation/index.d.ts +0 -1
- package/core/validation/validation.d.ts +0 -29
- package/core/version.d.ts +0 -2
- package/datepicker/calendar-body.component.d.ts +0 -55
- package/datepicker/calendar-header.component.d.ts +0 -51
- package/datepicker/calendar.component.d.ts +0 -89
- package/datepicker/datepicker-animations.d.ts +0 -9
- package/datepicker/datepicker-errors.d.ts +0 -2
- package/datepicker/datepicker-input.directive.d.ts +0 -221
- package/datepicker/datepicker-intl.d.ts +0 -32
- package/datepicker/datepicker-module.d.ts +0 -21
- package/datepicker/datepicker-toggle.component.d.ts +0 -57
- package/datepicker/datepicker.component.d.ts +0 -148
- package/datepicker/month-view.component.d.ts +0 -73
- package/datepicker/public-api.d.ts +0 -10
- package/divider/divider.component.d.ts +0 -18
- package/divider/divider.module.d.ts +0 -8
- package/divider/public-api.d.ts +0 -2
- package/dl/dl.component.d.ts +0 -26
- package/dl/dl.module.d.ts +0 -9
- package/dl/public-api.d.ts +0 -2
- package/dropdown/dropdown-animations.d.ts +0 -11
- package/dropdown/dropdown-content.directive.d.ts +0 -32
- package/dropdown/dropdown-errors.d.ts +0 -17
- package/dropdown/dropdown-item.component.d.ts +0 -52
- package/dropdown/dropdown-trigger.directive.d.ts +0 -156
- package/dropdown/dropdown.component.d.ts +0 -126
- package/dropdown/dropdown.module.d.ts +0 -13
- package/dropdown/dropdown.types.d.ts +0 -67
- package/dropdown/public-api.d.ts +0 -8
- package/dynamic-translation/dynamic-translation.d.ts +0 -72
- package/dynamic-translation/module.d.ts +0 -7
- package/ellipsis-center/ellipsis-center.directive.d.ts +0 -36
- package/ellipsis-center/public-api.d.ts +0 -1
- package/empty-state/empty-state.component.d.ts +0 -36
- package/empty-state/empty-state.module.d.ts +0 -9
- package/empty-state/public-api.d.ts +0 -2
- package/fesm2022/koobiq-components-navbar-ic.mjs +0 -863
- package/fesm2022/koobiq-components-navbar-ic.mjs.map +0 -1
- package/fesm2022/koobiq-components-risk-level.mjs +0 -75
- package/fesm2022/koobiq-components-risk-level.mjs.map +0 -1
- package/file-upload/dropzone.d.ts +0 -147
- package/file-upload/file-upload.d.ts +0 -102
- package/file-upload/file-upload.module.d.ts +0 -20
- package/file-upload/multiple-file-upload.component.d.ts +0 -138
- package/file-upload/primitives/file-drop.d.ts +0 -35
- package/file-upload/primitives/file-picker.d.ts +0 -82
- package/file-upload/primitives/index.d.ts +0 -2
- package/file-upload/public-api.d.ts +0 -7
- package/file-upload/single-file-upload.component.d.ts +0 -118
- package/filter-bar/filter-bar-button.d.ts +0 -14
- package/filter-bar/filter-bar.d.ts +0 -81
- package/filter-bar/filter-bar.module.d.ts +0 -17
- package/filter-bar/filter-bar.types.d.ts +0 -143
- package/filter-bar/filter-refresher.d.ts +0 -5
- package/filter-bar/filter-reset.d.ts +0 -15
- package/filter-bar/filter-search.d.ts +0 -54
- package/filter-bar/filter-search.scss +0 -12
- package/filter-bar/filters.d.ts +0 -122
- package/filter-bar/pipe-add.d.ts +0 -28
- package/filter-bar/pipe.directive.d.ts +0 -13
- package/filter-bar/pipes/base-pipe.d.ts +0 -74
- package/filter-bar/pipes/pipe-button.d.ts +0 -21
- package/filter-bar/pipes/pipe-date.d.ts +0 -65
- package/filter-bar/pipes/pipe-datetime.d.ts +0 -66
- package/filter-bar/pipes/pipe-multi-select.d.ts +0 -56
- package/filter-bar/pipes/pipe-multi-tree-select.d.ts +0 -67
- package/filter-bar/pipes/pipe-readonly.d.ts +0 -7
- package/filter-bar/pipes/pipe-select.d.ts +0 -30
- package/filter-bar/pipes/pipe-state.d.ts +0 -21
- package/filter-bar/pipes/pipe-text.d.ts +0 -26
- package/filter-bar/pipes/pipe-title.d.ts +0 -27
- package/filter-bar/pipes/pipe-tree-select.d.ts +0 -42
- package/filter-bar/public-api.d.ts +0 -21
- package/form-field/cleaner.d.ts +0 -11
- package/form-field/error.d.ts +0 -8
- package/form-field/fieldset.d.ts +0 -27
- package/form-field/form-field-control.d.ts +0 -40
- package/form-field/form-field.d.ts +0 -298
- package/form-field/form-field.module.d.ts +0 -19
- package/form-field/hint.d.ts +0 -15
- package/form-field/label.d.ts +0 -6
- package/form-field/password-hint.d.ts +0 -53
- package/form-field/password-toggle.d.ts +0 -56
- package/form-field/prefix.d.ts +0 -6
- package/form-field/public-api.d.ts +0 -15
- package/form-field/reactive-password-hint.d.ts +0 -20
- package/form-field/stepper.d.ts +0 -59
- package/form-field/suffix.d.ts +0 -6
- package/form-field/validate.directive.d.ts +0 -53
- package/icon/icon-button.component.d.ts +0 -28
- package/icon/icon-item.component.d.ts +0 -11
- package/icon/icon-registry-providers.d.ts +0 -34
- package/icon/icon-registry.d.ts +0 -50
- package/icon/icon.component.d.ts +0 -33
- package/icon/icon.module.d.ts +0 -9
- package/icon/public-api.d.ts +0 -6
- package/inline-edit/inline-edit.d.ts +0 -161
- package/inline-edit/module.d.ts +0 -7
- package/input/input-errors.d.ts +0 -1
- package/input/input-number-validators.d.ts +0 -35
- package/input/input-number.d.ts +0 -96
- package/input/input-password.d.ts +0 -99
- package/input/input-value-accessor.d.ts +0 -4
- package/input/input.d.ts +0 -109
- package/input/input.module.d.ts +0 -14
- package/input/public-api.d.ts +0 -6
- package/link/link.component.d.ts +0 -53
- package/link/link.module.d.ts +0 -8
- package/link/public-api.d.ts +0 -2
- package/list/list-selection.component.d.ts +0 -196
- package/list/list.component.d.ts +0 -18
- package/list/list.module.d.ts +0 -11
- package/list/public-api.d.ts +0 -3
- package/loader-overlay/loader-overlay.component.d.ts +0 -47
- package/loader-overlay/loader-overlay.module.d.ts +0 -10
- package/loader-overlay/public-api.d.ts +0 -2
- package/markdown/markdown.component.d.ts +0 -31
- package/markdown/markdown.module.d.ts +0 -7
- package/markdown/markdown.service.d.ts +0 -19
- package/markdown/markdown.values.d.ts +0 -10
- package/markdown/public-api.d.ts +0 -4
- package/modal/css-unit.pipe.d.ts +0 -7
- package/modal/modal-control.service.d.ts +0 -20
- package/modal/modal-ref.class.d.ts +0 -37
- package/modal/modal-util.d.ts +0 -15
- package/modal/modal.component.d.ts +0 -141
- package/modal/modal.directive.d.ts +0 -20
- package/modal/modal.module.d.ts +0 -15
- package/modal/modal.service.d.ts +0 -42
- package/modal/modal.type.d.ts +0 -72
- package/modal/public-api.d.ts +0 -6
- package/navbar/navbar-brand.component.d.ts +0 -41
- package/navbar/navbar-item.component.d.ts +0 -131
- package/navbar/navbar-toggle.component.d.ts +0 -23
- package/navbar/navbar.component.d.ts +0 -68
- package/navbar/navbar.module.d.ts +0 -15
- package/navbar/public-api.d.ts +0 -6
- package/navbar/vertical-navbar.component.d.ts +0 -47
- package/navbar-ic/_navbar-ic-theme.scss +0 -81
- package/navbar-ic/index.d.ts +0 -1
- package/navbar-ic/navbar-ic-divider.scss +0 -7
- package/navbar-ic/navbar-ic-header.d.ts +0 -22
- package/navbar-ic/navbar-ic-header.scss +0 -49
- package/navbar-ic/navbar-ic-item.d.ts +0 -144
- package/navbar-ic/navbar-ic-item.scss +0 -92
- package/navbar-ic/navbar-ic-tokens.scss +0 -22
- package/navbar-ic/navbar-ic.animation.d.ts +0 -3
- package/navbar-ic/navbar-ic.d.ts +0 -118
- package/navbar-ic/navbar-ic.module.d.ts +0 -14
- package/navbar-ic/navbar-ic.scss +0 -32
- package/navbar-ic/public-api.d.ts +0 -4
- package/notification-center/notification-center-animations.d.ts +0 -5
- package/notification-center/notification-center.d.ts +0 -156
- package/notification-center/notification-center.module.d.ts +0 -7
- package/notification-center/notification-center.service.d.ts +0 -72
- package/notification-center/notification-item.d.ts +0 -27
- package/notification-center/public-api.d.ts +0 -4
- package/overflow-items/module.d.ts +0 -7
- package/overflow-items/overflow-items.d.ts +0 -152
- package/popover/popover-animations.d.ts +0 -4
- package/popover/popover-confirm.component.d.ts +0 -28
- package/popover/popover.component.d.ts +0 -139
- package/popover/popover.module.d.ts +0 -14
- package/popover/public-api.d.ts +0 -4
- package/progress-bar/progress-bar.component.d.ts +0 -20
- package/progress-bar/progress-bar.module.d.ts +0 -8
- package/progress-bar/public-api.d.ts +0 -2
- package/progress-spinner/progress-spinner.component.d.ts +0 -26
- package/progress-spinner/progress-spinner.module.d.ts +0 -9
- package/progress-spinner/public-api.d.ts +0 -2
- package/public-api.d.ts +0 -1
- package/radio/public-api.d.ts +0 -2
- package/radio/radio.component.d.ts +0 -200
- package/radio/radio.module.d.ts +0 -8
- package/resizer/module.d.ts +0 -7
- package/resizer/resizer.d.ts +0 -75
- package/risk-level/_risk-level-theme.scss +0 -74
- package/risk-level/index.d.ts +0 -1
- package/risk-level/public-api.d.ts +0 -2
- package/risk-level/risk-level-tokens.scss +0 -33
- package/risk-level/risk-level.component.d.ts +0 -21
- package/risk-level/risk-level.component.scss +0 -22
- package/risk-level/risk-level.module.d.ts +0 -12
- package/scrollbar/public-api.d.ts +0 -4
- package/scrollbar/scrollbar.component.d.ts +0 -37
- package/scrollbar/scrollbar.directive.d.ts +0 -29
- package/scrollbar/scrollbar.module.d.ts +0 -8
- package/scrollbar/scrollbar.types.d.ts +0 -33
- package/search-expandable/public-api.d.ts +0 -2
- package/search-expandable/search-expandable.d.ts +0 -89
- package/search-expandable/search-expandable.module.d.ts +0 -7
- package/select/public-api.d.ts +0 -4
- package/select/select-common.d.ts +0 -30
- package/select/select-option.directive.d.ts +0 -21
- package/select/select.component.d.ts +0 -627
- package/select/select.module.d.ts +0 -17
- package/sidebar/public-api.d.ts +0 -2
- package/sidebar/sidebar-animations.d.ts +0 -8
- package/sidebar/sidebar.component.d.ts +0 -80
- package/sidebar/sidebar.module.d.ts +0 -8
- package/sidepanel/public-api.d.ts +0 -6
- package/sidepanel/sidepanel-animations.d.ts +0 -20
- package/sidepanel/sidepanel-config.d.ts +0 -43
- package/sidepanel/sidepanel-container.component.d.ts +0 -67
- package/sidepanel/sidepanel-directives.d.ts +0 -61
- package/sidepanel/sidepanel-ref.d.ts +0 -36
- package/sidepanel/sidepanel.module.d.ts +0 -14
- package/sidepanel/sidepanel.service.d.ts +0 -58
- package/skeleton/module.d.ts +0 -7
- package/skeleton/skeleton.d.ts +0 -17
- package/split-button/public-api.d.ts +0 -2
- package/split-button/split-button.d.ts +0 -37
- package/split-button/split-button.module.d.ts +0 -7
- package/splitter/public-api.d.ts +0 -2
- package/splitter/splitter.component.d.ts +0 -136
- package/splitter/splitter.module.d.ts +0 -8
- package/table/public-api.d.ts +0 -2
- package/table/table.component.d.ts +0 -12
- package/table/table.module.d.ts +0 -9
- package/tabs/paginated-tab-header.d.ts +0 -182
- package/tabs/public-api.d.ts +0 -10
- package/tabs/tab-body.component.d.ts +0 -95
- package/tabs/tab-content.directive.d.ts +0 -9
- package/tabs/tab-group.component.d.ts +0 -137
- package/tabs/tab-header.component.d.ts +0 -32
- package/tabs/tab-label-wrapper.directive.d.ts +0 -29
- package/tabs/tab-label.directive.d.ts +0 -9
- package/tabs/tab-nav-bar.d.ts +0 -91
- package/tabs/tab.component.d.ts +0 -68
- package/tabs/tabs-animations.d.ts +0 -4
- package/tabs/tabs.module.d.ts +0 -20
- package/tags/public-api.d.ts +0 -5
- package/tags/tag-default-options.d.ts +0 -13
- package/tags/tag-input.d.ts +0 -110
- package/tags/tag-list.component.d.ts +0 -373
- package/tags/tag-text-control.d.ts +0 -10
- package/tags/tag.component.d.ts +0 -272
- package/tags/tag.module.d.ts +0 -10
- package/textarea/public-api.d.ts +0 -2
- package/textarea/textarea.component.d.ts +0 -123
- package/textarea/textarea.module.d.ts +0 -10
- package/time-range/constants.d.ts +0 -19
- package/time-range/module.d.ts +0 -10
- package/time-range/time-range-editor.d.ts +0 -65
- package/time-range/time-range-title-as-form-field.d.ts +0 -41
- package/time-range/time-range-title.d.ts +0 -18
- package/time-range/time-range.d.ts +0 -78
- package/time-range/time-range.service.d.ts +0 -25
- package/time-range/types.d.ts +0 -69
- package/timepicker/public-api.d.ts +0 -3
- package/timepicker/timepicker.constants.d.ts +0 -22
- package/timepicker/timepicker.directive.d.ts +0 -159
- package/timepicker/timepicker.module.d.ts +0 -11
- package/timezone/cities-by-filter.pipe.d.ts +0 -7
- package/timezone/public-api.d.ts +0 -6
- package/timezone/timezone-option.component.d.ts +0 -15
- package/timezone/timezone-option.directive.d.ts +0 -22
- package/timezone/timezone-select.component.d.ts +0 -16
- package/timezone/timezone.models.d.ts +0 -16
- package/timezone/timezone.module.d.ts +0 -20
- package/timezone/timezone.utils.d.ts +0 -22
- package/timezone/utc-offset.pipe.d.ts +0 -9
- package/title/public-api.d.ts +0 -2
- package/title/title.directive.d.ts +0 -33
- package/title/title.module.d.ts +0 -8
- package/toast/public-api.d.ts +0 -5
- package/toast/toast-animations.d.ts +0 -5
- package/toast/toast-container.component.d.ts +0 -19
- package/toast/toast.component.d.ts +0 -41
- package/toast/toast.module.d.ts +0 -8
- package/toast/toast.service.d.ts +0 -61
- package/toast/toast.type.d.ts +0 -44
- package/toggle/public-api.d.ts +0 -2
- package/toggle/toggle.component.d.ts +0 -77
- package/toggle/toggle.module.d.ts +0 -8
- package/tooltip/public-api.d.ts +0 -2
- package/tooltip/tooltip.animations.d.ts +0 -8
- package/tooltip/tooltip.component.d.ts +0 -156
- package/tooltip/tooltip.module.d.ts +0 -7
- package/top-bar/module.d.ts +0 -7
- package/top-bar/public-api.d.ts +0 -2
- package/top-bar/top-bar.d.ts +0 -25
- package/tree/control/base-tree-control.d.ts +0 -40
- package/tree/control/flat-tree-control.d.ts +0 -55
- package/tree/control/flat-tree-control.filters.d.ts +0 -27
- package/tree/control/nested-tree-control.d.ts +0 -19
- package/tree/control/tree-control.d.ts +0 -44
- package/tree/data-source/flat-data-source.d.ts +0 -80
- package/tree/data-source/nested-data-source.d.ts +0 -15
- package/tree/node.d.ts +0 -34
- package/tree/outlet.d.ts +0 -9
- package/tree/padding.directive.d.ts +0 -45
- package/tree/public-api.d.ts +0 -16
- package/tree/toggle.d.ts +0 -28
- package/tree/tree-base.d.ts +0 -96
- package/tree/tree-errors.d.ts +0 -25
- package/tree/tree-option.component.d.ts +0 -89
- package/tree/tree-selection.component.d.ts +0 -156
- package/tree/tree.d.ts +0 -6
- package/tree/tree.module.d.ts +0 -16
- package/tree-select/public-api.d.ts +0 -2
- package/tree-select/tree-select.component.d.ts +0 -360
- package/tree-select/tree-select.module.d.ts +0 -15
- package/username/constants.d.ts +0 -15
- package/username/module.d.ts +0 -8
- package/username/types.d.ts +0 -62
- package/username/username.d.ts +0 -68
- package/username/username.pipe.d.ts +0 -23
package/core/index.d.ts
CHANGED
|
@@ -1 +1,4405 @@
|
|
|
1
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { QueryList, ElementRef, Type, Provider, InjectionToken, ModelSignal, PipeTransform, AfterContentInit, EventEmitter, AfterViewInit, OnDestroy, AfterViewChecked, OnInit, NgZone, ViewContainerRef, DestroyRef, TemplateRef, Renderer2, ChangeDetectorRef, RendererFactory2, Version } from '@angular/core';
|
|
3
|
+
import { Subject, BehaviorSubject, Observable, Subscription } from 'rxjs';
|
|
4
|
+
import { FocusOrigin, FocusTrapInertStrategy } from '@angular/cdk/a11y';
|
|
5
|
+
import { AnimationTriggerMetadata, AnimationEvent } from '@angular/animations';
|
|
6
|
+
import { DateAdapter as DateAdapter$1, DateFormats } from '@koobiq/date-adapter';
|
|
7
|
+
import { AbstractControl, FormGroupDirective, NgForm, NgControl, ValidatorFn } from '@angular/forms';
|
|
8
|
+
import { FormatterDurationTemplate, DateFormatter as DateFormatter$1, DateTimeOptions } from '@koobiq/date-formatter';
|
|
9
|
+
import { ConnectionPositionPair, Overlay, ScrollStrategy, ScrollDispatcher, CdkScrollable, OverlayRef, OverlayConfig, FlexibleConnectedPositionStrategy, ConnectedOverlayPositionChange, CdkConnectedOverlay, RepositionScrollStrategy } from '@angular/cdk/overlay';
|
|
10
|
+
import { Directionality } from '@angular/cdk/bidi';
|
|
11
|
+
import { ComponentPortal } from '@angular/cdk/portal';
|
|
12
|
+
import { AsyncScheduler } from 'rxjs/internal/scheduler/AsyncScheduler';
|
|
13
|
+
|
|
14
|
+
interface ListKeyManagerOption {
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
getLabel?(): string;
|
|
17
|
+
}
|
|
18
|
+
/** Modifier keys handled by the ListKeyManager. */
|
|
19
|
+
type ListKeyManagerModifierKey = 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey';
|
|
20
|
+
/**
|
|
21
|
+
* This class manages keyboard events for selectable lists. If you pass it a query list
|
|
22
|
+
* of items, it will set the active item correctly when arrow events occur.
|
|
23
|
+
*/
|
|
24
|
+
declare class ListKeyManager<T extends ListKeyManagerOption> {
|
|
25
|
+
private _items;
|
|
26
|
+
/**
|
|
27
|
+
* Stream that emits any time the TAB key is pressed, so components can react
|
|
28
|
+
* when focus is shifted off of the list.
|
|
29
|
+
*/
|
|
30
|
+
tabOut: Subject<void>;
|
|
31
|
+
/** Stream that emits whenever the active item of the list manager changes. */
|
|
32
|
+
change: Subject<number>;
|
|
33
|
+
previousActiveItemIndex: number;
|
|
34
|
+
get activeItemIndex(): number;
|
|
35
|
+
private _activeItemIndex;
|
|
36
|
+
get activeItem(): T | null;
|
|
37
|
+
private _activeItem;
|
|
38
|
+
private wrap;
|
|
39
|
+
private letterKeyStream;
|
|
40
|
+
private typeaheadSubscription;
|
|
41
|
+
private vertical;
|
|
42
|
+
private horizontal;
|
|
43
|
+
private scrollSize;
|
|
44
|
+
private pressedLetters;
|
|
45
|
+
private homeAndEnd;
|
|
46
|
+
private allowedModifierKeys;
|
|
47
|
+
constructor(_items: QueryList<T>);
|
|
48
|
+
/** Gets whether the user is currently typing into the manager using the typeahead feature. */
|
|
49
|
+
isTyping(): boolean;
|
|
50
|
+
withScrollSize(scrollSize: number): this;
|
|
51
|
+
/**
|
|
52
|
+
* Modifier keys which are allowed to be held down and whose default actions will be prevented
|
|
53
|
+
* as the user is pressing the arrow keys. Defaults to not allowing any modifier keys.
|
|
54
|
+
*/
|
|
55
|
+
withAllowedModifierKeys(keys: ListKeyManagerModifierKey[]): this;
|
|
56
|
+
/**
|
|
57
|
+
* Turns on wrapping mode, which ensures that the active item will wrap to
|
|
58
|
+
* the other end of list when there are no more items in the given direction.
|
|
59
|
+
*/
|
|
60
|
+
withWrap(shouldWrap?: boolean): this;
|
|
61
|
+
/**
|
|
62
|
+
* Sets the predicate function that determines which items should be skipped by the
|
|
63
|
+
* list key manager.
|
|
64
|
+
* @param predicate Function that determines whether the given item should be skipped.
|
|
65
|
+
*/
|
|
66
|
+
skipPredicate(predicate: (item: T) => boolean): this;
|
|
67
|
+
/**
|
|
68
|
+
* Configures whether the key manager should be able to move the selection vertically.
|
|
69
|
+
* @param enabled Whether vertical selection should be enabled.
|
|
70
|
+
*/
|
|
71
|
+
withVerticalOrientation(enabled?: boolean): this;
|
|
72
|
+
/**
|
|
73
|
+
* Configures the key manager to move the selection horizontally.
|
|
74
|
+
* Passing in `null` will disable horizontal movement.
|
|
75
|
+
* @param direction Direction in which the selection can be moved.
|
|
76
|
+
*/
|
|
77
|
+
withHorizontalOrientation(direction: 'ltr' | 'rtl' | null): this;
|
|
78
|
+
/**
|
|
79
|
+
* Turns on typeahead mode which allows users to set the active item by typing.
|
|
80
|
+
* @param searchLetterIndex letter index for incremental search, if is -1 search is disabled
|
|
81
|
+
* @param debounceInterval Time to wait after the last keystroke before setting the active item.
|
|
82
|
+
*/
|
|
83
|
+
withTypeAhead(debounceInterval?: number, searchLetterIndex?: number): this;
|
|
84
|
+
/**
|
|
85
|
+
* Configures the key manager to activate the first and last items
|
|
86
|
+
* respectively when the Home or End key is pressed.
|
|
87
|
+
* @param enabled Whether pressing the Home or End key activates the first/last item.
|
|
88
|
+
*/
|
|
89
|
+
withHomeAndEnd(enabled?: boolean): this;
|
|
90
|
+
/**
|
|
91
|
+
* Sets the active item to the item at the index specified.
|
|
92
|
+
* @param index The index of the item to be set as active or item The item to be set as active.
|
|
93
|
+
*/
|
|
94
|
+
setActiveItem(index: number | T): void;
|
|
95
|
+
/**
|
|
96
|
+
* Sets the active item depending on the key event passed in.
|
|
97
|
+
* @param event Keyboard event to be used for determining which element should be active.
|
|
98
|
+
*/
|
|
99
|
+
onKeydown(event: KeyboardEvent): void;
|
|
100
|
+
setFirstItemActive(): void;
|
|
101
|
+
setLastItemActive(): void;
|
|
102
|
+
setNextItemActive(): void;
|
|
103
|
+
setPreviousItemActive(): void;
|
|
104
|
+
setNextPageItemActive(delta?: number): void;
|
|
105
|
+
setPreviousPageItemActive(delta?: number): void;
|
|
106
|
+
/**
|
|
107
|
+
* Allows setting the active without any other effects.
|
|
108
|
+
* @param index Index of the item to be set as active.
|
|
109
|
+
*/
|
|
110
|
+
updateActiveItem(index: number): void;
|
|
111
|
+
/**
|
|
112
|
+
* Allows setting the active item without any other effects.
|
|
113
|
+
* @param item Item to be set as active or index Index of the item to be set as active..
|
|
114
|
+
*/
|
|
115
|
+
updateActiveItem(item: number | T): void;
|
|
116
|
+
/**
|
|
117
|
+
* Predicate function that can be used to check whether an item should be skipped
|
|
118
|
+
* by the key manager. By default, disabled items are skipped.
|
|
119
|
+
*/
|
|
120
|
+
private skipPredicateFn;
|
|
121
|
+
/**
|
|
122
|
+
* This method sets the active item, given a list of items and the delta between the
|
|
123
|
+
* currently active item and the new active item. It will calculate differently
|
|
124
|
+
* depending on whether wrap mode is turned on.
|
|
125
|
+
*/
|
|
126
|
+
private setActiveItemByDelta;
|
|
127
|
+
/**
|
|
128
|
+
* Sets the active item properly given "wrap" mode. In other words, it will continue to move
|
|
129
|
+
* down the list until it finds an item that is not disabled, and it will wrap if it
|
|
130
|
+
* encounters either end of the list.
|
|
131
|
+
*/
|
|
132
|
+
private setActiveInWrapMode;
|
|
133
|
+
/**
|
|
134
|
+
* Sets the active item properly given the default mode. In other words, it will
|
|
135
|
+
* continue to move down the list until it finds an item that is not disabled. If
|
|
136
|
+
* it encounters either end of the list, it will stop and not wrap.
|
|
137
|
+
*/
|
|
138
|
+
private setActiveInDefaultMode;
|
|
139
|
+
/**
|
|
140
|
+
* Sets the active item to the first enabled item starting at the index specified. If the
|
|
141
|
+
* item is disabled, it will move in the fallbackDelta direction until it either
|
|
142
|
+
* finds an enabled item or encounters the end of the list.
|
|
143
|
+
*/
|
|
144
|
+
private setActiveItemByIndex;
|
|
145
|
+
/** Returns the items as an array. */
|
|
146
|
+
private getItemsArray;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* This is the interface for highlightable items (used by the ActiveDescendantKeyManager).
|
|
151
|
+
* Each item must know how to style itself as active or inactive and whether or not it is
|
|
152
|
+
* currently disabled.
|
|
153
|
+
*/
|
|
154
|
+
interface Highlightable extends ListKeyManagerOption {
|
|
155
|
+
setActiveStyles(): void;
|
|
156
|
+
setInactiveStyles(): void;
|
|
157
|
+
}
|
|
158
|
+
declare class ActiveDescendantKeyManager<T> extends ListKeyManager<Highlightable & T> {
|
|
159
|
+
/**
|
|
160
|
+
* Sets the active item to the item at the specified index and adds the
|
|
161
|
+
* active styles to the newly active item. Also removes active styles
|
|
162
|
+
* from the previously active item.
|
|
163
|
+
* @param index Index of the item to be set as active.
|
|
164
|
+
*/
|
|
165
|
+
setActiveItem(index: number): void;
|
|
166
|
+
/**
|
|
167
|
+
* Sets the active item to the item to the specified one and adds the
|
|
168
|
+
* active styles to the it. Also removes active styles from the
|
|
169
|
+
* previously active item.
|
|
170
|
+
* @param item Item to be set as active.
|
|
171
|
+
*/
|
|
172
|
+
setActiveItem(item: T): void;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* This is the interface for focusable items (used by the FocusKeyManager).
|
|
177
|
+
* Each item must know how to focus itself, whether or not it is currently disabled
|
|
178
|
+
* and be able to supply it's label.
|
|
179
|
+
*/
|
|
180
|
+
interface IFocusableOption extends ListKeyManagerOption {
|
|
181
|
+
focus(origin?: FocusOrigin): void;
|
|
182
|
+
}
|
|
183
|
+
declare class FocusKeyManager<T> extends ListKeyManager<IFocusableOption & T> {
|
|
184
|
+
private origin;
|
|
185
|
+
/**
|
|
186
|
+
* Sets the active item or index to the item that is specified and focuses it.
|
|
187
|
+
* @param item Item to be set as active.
|
|
188
|
+
*/
|
|
189
|
+
setActiveItem(item: number | T): void;
|
|
190
|
+
/**
|
|
191
|
+
* Sets the focus origin that will be passed in to the items for any subsequent `focus` calls.
|
|
192
|
+
* @param origin Focus origin to be used when focusing items.
|
|
193
|
+
*/
|
|
194
|
+
setFocusOrigin(origin: FocusOrigin): this;
|
|
195
|
+
getFocusOrigin(): FocusOrigin;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Koobiq components animation curves
|
|
200
|
+
*
|
|
201
|
+
* @docs-private
|
|
202
|
+
*/
|
|
203
|
+
declare enum KbqAnimationCurves {
|
|
204
|
+
StandardCurve = "cubic-bezier(0.4,0.0,0.2,1)",
|
|
205
|
+
DecelerationCurve = "cubic-bezier(0.0,0.0,0.2,1)",
|
|
206
|
+
AccelerationCurve = "cubic-bezier(0.4,0.0,1,1)",
|
|
207
|
+
SharpCurve = "cubic-bezier(0.4,0.0,0.6,1)",
|
|
208
|
+
EaseInOut = "ease-in-out",
|
|
209
|
+
EaseInOutQuad = "cubic-bezier(0.455,0.03,0.515,0.955)"
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Koobiq components animation durations
|
|
213
|
+
*
|
|
214
|
+
* @docs-private
|
|
215
|
+
*/
|
|
216
|
+
declare enum KbqAnimationDurations {
|
|
217
|
+
Long = "300ms",
|
|
218
|
+
Complex = "250ms",
|
|
219
|
+
Entering = "150ms",
|
|
220
|
+
Exiting = "125ms",
|
|
221
|
+
Rapid = "100ms",
|
|
222
|
+
Instant = "50ms"
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
declare const fadeAnimation: AnimationTriggerMetadata;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* The following are all the animations for the kbq-select component, with each
|
|
229
|
+
* const containing the metadata for one animation.
|
|
230
|
+
*
|
|
231
|
+
*/
|
|
232
|
+
declare const kbqSelectAnimations: {
|
|
233
|
+
readonly transformPanel: AnimationTriggerMetadata;
|
|
234
|
+
readonly fadeInContent: AnimationTriggerMetadata;
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Tri-state checkbox values
|
|
239
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-checked
|
|
240
|
+
*/
|
|
241
|
+
type KbqCheckedState = 'true' | 'false' | 'mixed';
|
|
242
|
+
|
|
243
|
+
declare class KbqNormalizeWhitespace {
|
|
244
|
+
/** @docs-private */
|
|
245
|
+
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
246
|
+
/**
|
|
247
|
+
* Replace thin-space with space on copy event
|
|
248
|
+
*/
|
|
249
|
+
onCopy($event: ClipboardEvent): void;
|
|
250
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNormalizeWhitespace, never>;
|
|
251
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqNormalizeWhitespace, "[kbqNormalizeWhitespace]", never, {}, {}, never, never, true, never>;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/** @docs-private */
|
|
255
|
+
type Constructor<T> = new (...args: any[]) => T;
|
|
256
|
+
/**
|
|
257
|
+
* This is a permissive type for abstract class constructors.
|
|
258
|
+
* @docs-private
|
|
259
|
+
*/
|
|
260
|
+
type AbstractConstructor<T> = Function & {
|
|
261
|
+
prototype: T;
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
interface CanColor {
|
|
265
|
+
color: KbqComponentColors | ThemePalette | string;
|
|
266
|
+
}
|
|
267
|
+
/** @docs-private */
|
|
268
|
+
type CanColorCtor = Constructor<CanColor> & AbstractConstructor<CanColor>;
|
|
269
|
+
interface HasElementRef {
|
|
270
|
+
elementRef: ElementRef;
|
|
271
|
+
}
|
|
272
|
+
declare enum ThemePalette {
|
|
273
|
+
Primary = "primary",
|
|
274
|
+
Secondary = "secondary",
|
|
275
|
+
Error = "error",
|
|
276
|
+
Info = "info",
|
|
277
|
+
Warning = "warning",
|
|
278
|
+
Success = "success",
|
|
279
|
+
Default = "secondary",
|
|
280
|
+
Empty = ""
|
|
281
|
+
}
|
|
282
|
+
declare enum KbqComponentColors {
|
|
283
|
+
Theme = "theme",
|
|
284
|
+
ThemeFade = "theme-fade",
|
|
285
|
+
Contrast = "contrast",
|
|
286
|
+
ContrastFade = "contrast-fade",
|
|
287
|
+
Error = "error",
|
|
288
|
+
Warning = "warning",
|
|
289
|
+
Success = "success",
|
|
290
|
+
Default = "contrast",
|
|
291
|
+
Empty = "empty"
|
|
292
|
+
}
|
|
293
|
+
/** Mixin to augment a directive with a `color` property. */
|
|
294
|
+
declare function mixinColor<T extends AbstractConstructor<HasElementRef>>(base: T, defaultColor?: KbqComponentColors | ThemePalette): CanColorCtor & T;
|
|
295
|
+
declare class KbqColorDirective {
|
|
296
|
+
/** @docs-private */
|
|
297
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
298
|
+
/** @docs-private */
|
|
299
|
+
protected defaultColor: KbqComponentColors | ThemePalette | string;
|
|
300
|
+
/** current class name of color */
|
|
301
|
+
get colorClassName(): KbqComponentColors | ThemePalette | string;
|
|
302
|
+
get color(): KbqComponentColors | ThemePalette | string;
|
|
303
|
+
set color(value: KbqComponentColors | ThemePalette | string);
|
|
304
|
+
protected _color: KbqComponentColors | ThemePalette | string;
|
|
305
|
+
constructor();
|
|
306
|
+
/** this color will be used as a default value. For example [color]="'' | false | undefined | null". */
|
|
307
|
+
setDefaultColor(color: KbqComponentColors | ThemePalette | string): void;
|
|
308
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqColorDirective, never>;
|
|
309
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqColorDirective, never, never, { "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
interface CanDisable {
|
|
313
|
+
disabled: boolean;
|
|
314
|
+
}
|
|
315
|
+
/** @docs-private */
|
|
316
|
+
type CanDisableCtor = Constructor<CanDisable> & AbstractConstructor<CanDisable>;
|
|
317
|
+
/** Mixin to augment a directive with a `disabled` property. */
|
|
318
|
+
declare function mixinDisabled<T extends AbstractConstructor<{}>>(base: T): CanDisableCtor & T;
|
|
319
|
+
|
|
320
|
+
/** Utility provider for `ErrorStateMatcher`. */
|
|
321
|
+
declare const kbqErrorStateMatcherProvider: (errorStateMatcher: Type<ErrorStateMatcher> | ErrorStateMatcher) => Provider;
|
|
322
|
+
/**
|
|
323
|
+
* Error state matcher that matches when a control is invalid and form is submitted.
|
|
324
|
+
* Requires use FormGroupDirective or NgForm.
|
|
325
|
+
*/
|
|
326
|
+
declare class ShowOnFormSubmitErrorStateMatcher implements ErrorStateMatcher {
|
|
327
|
+
isErrorState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
328
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowOnFormSubmitErrorStateMatcher, never>;
|
|
329
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ShowOnFormSubmitErrorStateMatcher>;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Error state matcher with split behavior based on error's type:
|
|
333
|
+
* - `required` errors are shown only after the form is submitted.
|
|
334
|
+
* - All other errors are shown as soon as the control is invalid and touched.
|
|
335
|
+
*/
|
|
336
|
+
declare class ShowRequiredOnSubmitErrorStateMatcher implements ErrorStateMatcher {
|
|
337
|
+
isErrorState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
338
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowRequiredOnSubmitErrorStateMatcher, never>;
|
|
339
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ShowRequiredOnSubmitErrorStateMatcher>;
|
|
340
|
+
}
|
|
341
|
+
/** Error state matcher that matches when a control is invalid and dirty or form is submitted. */
|
|
342
|
+
declare class ShowOnControlDirtyErrorStateMatcher implements ErrorStateMatcher {
|
|
343
|
+
isErrorState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
344
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowOnControlDirtyErrorStateMatcher, never>;
|
|
345
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ShowOnControlDirtyErrorStateMatcher>;
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Provider that defines how form controls behave with regards to displaying error messages.
|
|
349
|
+
* Error state matcher that matches when a control is invalid and touched or form is submitted.
|
|
350
|
+
*/
|
|
351
|
+
declare class ErrorStateMatcher {
|
|
352
|
+
isErrorState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
353
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorStateMatcher, never>;
|
|
354
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorStateMatcher>;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
/** @docs-private */
|
|
358
|
+
interface CanUpdateErrorState {
|
|
359
|
+
/** Whether the component is in an error state. */
|
|
360
|
+
errorState: boolean;
|
|
361
|
+
/** An object used to control the error state of the component. */
|
|
362
|
+
errorStateMatcher: ErrorStateMatcher;
|
|
363
|
+
/** Updates the error state based on the provided error state matcher. */
|
|
364
|
+
updateErrorState(): void;
|
|
365
|
+
}
|
|
366
|
+
/** @docs-private */
|
|
367
|
+
type CanUpdateErrorStateCtor = Constructor<CanUpdateErrorState>;
|
|
368
|
+
/** @docs-private */
|
|
369
|
+
interface HasErrorState {
|
|
370
|
+
parentFormGroup: FormGroupDirective | null;
|
|
371
|
+
parentForm: NgForm | null;
|
|
372
|
+
defaultErrorStateMatcher: ErrorStateMatcher;
|
|
373
|
+
ngControl: NgControl | null;
|
|
374
|
+
stateChanges: Subject<void>;
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* Mixin to augment a directive with updateErrorState method.
|
|
378
|
+
* For component with `errorState` and need to update `errorState`.
|
|
379
|
+
*/
|
|
380
|
+
declare function mixinErrorState<T extends AbstractConstructor<HasErrorState>>(base: T): CanUpdateErrorStateCtor & T;
|
|
381
|
+
/**
|
|
382
|
+
* Class that tracks the error state of a component.
|
|
383
|
+
* @docs-private
|
|
384
|
+
*/
|
|
385
|
+
declare class KbqErrorStateTracker implements CanUpdateErrorState {
|
|
386
|
+
private defaultMatcher;
|
|
387
|
+
ngControl: NgControl | null;
|
|
388
|
+
private parentFormGroup;
|
|
389
|
+
private parentForm;
|
|
390
|
+
private stateChanges;
|
|
391
|
+
/** Whether the tracker is currently in an error state. */
|
|
392
|
+
errorState: boolean;
|
|
393
|
+
/** User-defined matcher for the error state. */
|
|
394
|
+
errorStateMatcher: ErrorStateMatcher;
|
|
395
|
+
constructor(defaultMatcher: ErrorStateMatcher | null, ngControl: NgControl | null, parentFormGroup: FormGroupDirective | null, parentForm: NgForm | null, stateChanges: Subject<void>);
|
|
396
|
+
/** Updates the error state based on the provided error state matcher. */
|
|
397
|
+
updateErrorState(): void;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/** Controls the direction of flex items: horizontal (`'row'`) or vertical (`'column'`). */
|
|
401
|
+
type KbqFlexDirection = 'row' | 'column';
|
|
402
|
+
/** Controls flex item wrapping: single-line (`'nowrap'`) or multi-line (`'wrap'`). */
|
|
403
|
+
type KbqFlexWrap = 'nowrap' | 'wrap';
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* Directive that adds a `kbq-hovered` class to an element, based on its hover state.
|
|
407
|
+
*
|
|
408
|
+
* @docs-private
|
|
409
|
+
*/
|
|
410
|
+
declare class KbqHover {
|
|
411
|
+
private readonly element;
|
|
412
|
+
/**
|
|
413
|
+
* Whether the element is hovered.
|
|
414
|
+
*/
|
|
415
|
+
readonly hovered: i0.Signal<boolean>;
|
|
416
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqHover, never>;
|
|
417
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqHover, "[kbqHover]", ["kbqHover"], {}, {}, never, never, true, never>;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Defines component orientation.
|
|
422
|
+
*/
|
|
423
|
+
type KbqOrientation = 'horizontal' | 'vertical';
|
|
424
|
+
|
|
425
|
+
declare class KbqReadStateDirective {
|
|
426
|
+
private readonly changeDetectorRef;
|
|
427
|
+
timestamp: number;
|
|
428
|
+
timeToRead: number;
|
|
429
|
+
readonly read: BehaviorSubject<boolean>;
|
|
430
|
+
mouseenterHandler(): void;
|
|
431
|
+
mouseleaveHandler(): void;
|
|
432
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqReadStateDirective, never>;
|
|
433
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqReadStateDirective, never, never, {}, {}, never, never, true, never>;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* Defines the available size options for Koobiq components.
|
|
438
|
+
*/
|
|
439
|
+
type KbqDefaultSizes = 'compact' | 'normal' | 'big';
|
|
440
|
+
|
|
441
|
+
interface HasTabIndex {
|
|
442
|
+
tabIndex: number;
|
|
443
|
+
}
|
|
444
|
+
type HasTabIndexCtor = Constructor<HasTabIndex> & AbstractConstructor<HasTabIndex>;
|
|
445
|
+
/** Mixin to augment a directive with a `tabIndex` property. */
|
|
446
|
+
declare function mixinTabIndex<T extends AbstractConstructor<CanDisable>>(base: T, defaultTabIndex?: number): HasTabIndexCtor & T;
|
|
447
|
+
|
|
448
|
+
declare const KBQ_PARENT_ANIMATION_COMPONENT: InjectionToken<any>;
|
|
449
|
+
|
|
450
|
+
/** InjectionToken for datepicker that can be used to override default locale code. */
|
|
451
|
+
declare const KBQ_DATE_LOCALE: InjectionToken<string>;
|
|
452
|
+
/** @docs-private */
|
|
453
|
+
declare function KBQ_DATE_LOCALE_FACTORY(): string;
|
|
454
|
+
declare abstract class DateAdapter<D> extends DateAdapter$1<D> {
|
|
455
|
+
/** A stream that emits when the locale changes. */
|
|
456
|
+
abstract get localeChanges(): Observable<any>;
|
|
457
|
+
protected abstract _localeChanges: BehaviorSubject<string>;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
declare const KBQ_DATE_FORMATS: InjectionToken<DateFormats>;
|
|
461
|
+
type KbqDateFormats = DateFormats;
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Emulates [`field-sizing: content`](https://developer.mozilla.org/en-US/docs/Web/CSS/field-sizing) CSS property for
|
|
465
|
+
* browsers that do not support it natively.
|
|
466
|
+
*
|
|
467
|
+
* @docs-private
|
|
468
|
+
*/
|
|
469
|
+
declare class KbqFieldSizingContent {
|
|
470
|
+
private readonly element;
|
|
471
|
+
private readonly renderer;
|
|
472
|
+
private readonly window;
|
|
473
|
+
private readonly document;
|
|
474
|
+
private readonly destroyRef;
|
|
475
|
+
constructor();
|
|
476
|
+
private emulate;
|
|
477
|
+
private setupWidth;
|
|
478
|
+
private createRuler;
|
|
479
|
+
private calculateWidth;
|
|
480
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqFieldSizingContent, never>;
|
|
481
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqFieldSizingContent, "[kbqFieldSizingContent]", ["kbqFieldSizingContent"], {}, {}, never, never, true, never>;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Internal contract for `KbqFormField` used by code that cannot import the form-field
|
|
486
|
+
* class directly because of a circular dependency (e.g. `core/select/common.ts`).
|
|
487
|
+
*
|
|
488
|
+
* @docs-private
|
|
489
|
+
*/
|
|
490
|
+
interface KbqFormFieldRef {
|
|
491
|
+
control: any;
|
|
492
|
+
canCleanerClearByEsc: boolean;
|
|
493
|
+
/** Use when KbqFormField is in an overlay container. */
|
|
494
|
+
inOverlay: ModelSignal<boolean>;
|
|
495
|
+
focus(): void;
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* Injection token that can be used to inject an instances of `KbqFormField`. It serves
|
|
499
|
+
* as alternative token to the actual `KbqFormField` class which would cause unnecessary
|
|
500
|
+
* retention of the `KbqFormField` class and its component metadata.
|
|
501
|
+
*
|
|
502
|
+
* @TODO move into form-field.ts, add correct type for `InjectionToken<KbqFormField>` (#DS-2915)
|
|
503
|
+
*/
|
|
504
|
+
declare const KBQ_FORM_FIELD_REF: InjectionToken<KbqFormFieldRef>;
|
|
505
|
+
|
|
506
|
+
declare const enUSLocaleData: {
|
|
507
|
+
select: {
|
|
508
|
+
hiddenItemsText: string;
|
|
509
|
+
};
|
|
510
|
+
datepicker: {
|
|
511
|
+
placeholder: string;
|
|
512
|
+
dateInput: string;
|
|
513
|
+
};
|
|
514
|
+
timepicker: {
|
|
515
|
+
placeholder: {
|
|
516
|
+
full: string;
|
|
517
|
+
short: string;
|
|
518
|
+
};
|
|
519
|
+
};
|
|
520
|
+
fileUpload: {
|
|
521
|
+
single: {
|
|
522
|
+
captionText: string;
|
|
523
|
+
captionTextOnlyFolder: string;
|
|
524
|
+
captionTextWithFolder: string;
|
|
525
|
+
browseLink: string;
|
|
526
|
+
browseLinkFolder: string;
|
|
527
|
+
browseLinkFolderMixed: string;
|
|
528
|
+
};
|
|
529
|
+
multiple: {
|
|
530
|
+
captionText: string;
|
|
531
|
+
captionTextOnlyFolder: string;
|
|
532
|
+
captionTextWithFolder: string;
|
|
533
|
+
captionTextWhenSelected: string;
|
|
534
|
+
captionTextForCompactSize: string;
|
|
535
|
+
browseLink: string;
|
|
536
|
+
browseLinkFolder: string;
|
|
537
|
+
browseLinkFolderMixed: string;
|
|
538
|
+
title: string;
|
|
539
|
+
};
|
|
540
|
+
};
|
|
541
|
+
codeBlock: {
|
|
542
|
+
softWrapOnTooltip: string;
|
|
543
|
+
softWrapOffTooltip: string;
|
|
544
|
+
downloadTooltip: string;
|
|
545
|
+
copiedTooltip: string;
|
|
546
|
+
copyTooltip: string;
|
|
547
|
+
viewAllText: string;
|
|
548
|
+
viewLessText: string;
|
|
549
|
+
openExternalSystemTooltip: string;
|
|
550
|
+
};
|
|
551
|
+
timezone: {
|
|
552
|
+
searchPlaceholder: string;
|
|
553
|
+
};
|
|
554
|
+
actionsPanel: {
|
|
555
|
+
closeTooltip: string;
|
|
556
|
+
};
|
|
557
|
+
filterBar: {
|
|
558
|
+
reset: {
|
|
559
|
+
buttonName: string;
|
|
560
|
+
};
|
|
561
|
+
search: {
|
|
562
|
+
tooltip: string;
|
|
563
|
+
placeholder: string;
|
|
564
|
+
};
|
|
565
|
+
filters: {
|
|
566
|
+
defaultName: string;
|
|
567
|
+
saveNewFilterTooltip: string;
|
|
568
|
+
searchPlaceholder: string;
|
|
569
|
+
searchEmptyResult: string;
|
|
570
|
+
saveAsNewFilter: string;
|
|
571
|
+
saveChanges: string;
|
|
572
|
+
saveAsNew: string;
|
|
573
|
+
change: string;
|
|
574
|
+
resetChanges: string;
|
|
575
|
+
remove: string;
|
|
576
|
+
name: string;
|
|
577
|
+
error: string;
|
|
578
|
+
errorHint: string;
|
|
579
|
+
saveButton: string;
|
|
580
|
+
cancelButton: string;
|
|
581
|
+
};
|
|
582
|
+
add: {
|
|
583
|
+
tooltip: string;
|
|
584
|
+
};
|
|
585
|
+
pipe: {
|
|
586
|
+
clearButtonTooltip: string;
|
|
587
|
+
removeButtonTooltip: string;
|
|
588
|
+
applyButton: string;
|
|
589
|
+
emptySearchResult: string;
|
|
590
|
+
selectAll: string;
|
|
591
|
+
};
|
|
592
|
+
datePipe: {
|
|
593
|
+
customPeriod: string;
|
|
594
|
+
customPeriodFrom: string;
|
|
595
|
+
customPeriodTo: string;
|
|
596
|
+
customPeriodErrorHint: string;
|
|
597
|
+
backToPeriodSelection: string;
|
|
598
|
+
};
|
|
599
|
+
};
|
|
600
|
+
clampedText: {
|
|
601
|
+
openText: string;
|
|
602
|
+
closeText: string;
|
|
603
|
+
showMoreText: string;
|
|
604
|
+
moreText: string;
|
|
605
|
+
};
|
|
606
|
+
navbarIc: {
|
|
607
|
+
toggle: {
|
|
608
|
+
pinButton: string;
|
|
609
|
+
collapseButton: string;
|
|
610
|
+
};
|
|
611
|
+
};
|
|
612
|
+
navbar: {
|
|
613
|
+
toggle: {
|
|
614
|
+
expand: string;
|
|
615
|
+
collapse: string;
|
|
616
|
+
};
|
|
617
|
+
};
|
|
618
|
+
searchExpandable: {
|
|
619
|
+
tooltip: string;
|
|
620
|
+
placeholder: string;
|
|
621
|
+
};
|
|
622
|
+
appSwitcher: {
|
|
623
|
+
searchPlaceholder: string;
|
|
624
|
+
searchEmptyResult: string;
|
|
625
|
+
sitesHeader: string;
|
|
626
|
+
};
|
|
627
|
+
timeRange: {
|
|
628
|
+
title: {
|
|
629
|
+
for: string;
|
|
630
|
+
placeholder: string;
|
|
631
|
+
};
|
|
632
|
+
editor: {
|
|
633
|
+
from: string;
|
|
634
|
+
to: string;
|
|
635
|
+
apply: string;
|
|
636
|
+
cancel: string;
|
|
637
|
+
rangeLabel: string;
|
|
638
|
+
allTime: string;
|
|
639
|
+
currentQuarter: string;
|
|
640
|
+
currentYear: string;
|
|
641
|
+
};
|
|
642
|
+
durationTemplate: {
|
|
643
|
+
title: {
|
|
644
|
+
SEPARATOR: string;
|
|
645
|
+
LAST_PART_SEPARATOR: string;
|
|
646
|
+
YEARS: string;
|
|
647
|
+
MONTHS: string;
|
|
648
|
+
WEEKS: string;
|
|
649
|
+
DAYS: string;
|
|
650
|
+
HOURS: string;
|
|
651
|
+
MINUTES: string;
|
|
652
|
+
SECONDS: string;
|
|
653
|
+
YEARS_FRACTION: string;
|
|
654
|
+
MONTHS_FRACTION: string;
|
|
655
|
+
};
|
|
656
|
+
option: {
|
|
657
|
+
SEPARATOR: string;
|
|
658
|
+
LAST_PART_SEPARATOR: string;
|
|
659
|
+
YEARS: string;
|
|
660
|
+
MONTHS: string;
|
|
661
|
+
WEEKS: string;
|
|
662
|
+
DAYS: string;
|
|
663
|
+
HOURS: string;
|
|
664
|
+
MINUTES: string;
|
|
665
|
+
SECONDS: string;
|
|
666
|
+
YEARS_FRACTION: string;
|
|
667
|
+
MONTHS_FRACTION: string;
|
|
668
|
+
};
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
notificationCenter: {
|
|
672
|
+
notifications: string;
|
|
673
|
+
remove: string;
|
|
674
|
+
doNotDisturb: string;
|
|
675
|
+
showPopUpNotifications: string;
|
|
676
|
+
noNotifications: string;
|
|
677
|
+
failedToLoadNotifications: string;
|
|
678
|
+
repeat: string;
|
|
679
|
+
};
|
|
680
|
+
};
|
|
681
|
+
|
|
682
|
+
declare const esLALocaleData: {
|
|
683
|
+
select: {
|
|
684
|
+
hiddenItemsText: string;
|
|
685
|
+
};
|
|
686
|
+
datepicker: {
|
|
687
|
+
placeholder: string;
|
|
688
|
+
};
|
|
689
|
+
timepicker: {
|
|
690
|
+
placeholder: {
|
|
691
|
+
full: string;
|
|
692
|
+
short: string;
|
|
693
|
+
};
|
|
694
|
+
};
|
|
695
|
+
fileUpload: {
|
|
696
|
+
single: {
|
|
697
|
+
captionText: string;
|
|
698
|
+
captionTextOnlyFolder: string;
|
|
699
|
+
captionTextWithFolder: string;
|
|
700
|
+
browseLink: string;
|
|
701
|
+
browseLinkFolder: string;
|
|
702
|
+
browseLinkFolderMixed: string;
|
|
703
|
+
};
|
|
704
|
+
multiple: {
|
|
705
|
+
captionText: string;
|
|
706
|
+
captionTextOnlyFolder: string;
|
|
707
|
+
captionTextWithFolder: string;
|
|
708
|
+
captionTextWhenSelected: string;
|
|
709
|
+
captionTextForCompactSize: string;
|
|
710
|
+
browseLink: string;
|
|
711
|
+
browseLinkFolder: string;
|
|
712
|
+
browseLinkFolderMixed: string;
|
|
713
|
+
title: string;
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
codeBlock: {
|
|
717
|
+
softWrapOnTooltip: string;
|
|
718
|
+
softWrapOffTooltip: string;
|
|
719
|
+
downloadTooltip: string;
|
|
720
|
+
copiedTooltip: string;
|
|
721
|
+
copyTooltip: string;
|
|
722
|
+
viewAllText: string;
|
|
723
|
+
viewLessText: string;
|
|
724
|
+
openExternalSystemTooltip: string;
|
|
725
|
+
};
|
|
726
|
+
timezone: {
|
|
727
|
+
searchPlaceholder: string;
|
|
728
|
+
};
|
|
729
|
+
actionsPanel: {
|
|
730
|
+
closeTooltip: string;
|
|
731
|
+
};
|
|
732
|
+
filterBar: {
|
|
733
|
+
reset: {
|
|
734
|
+
buttonName: string;
|
|
735
|
+
};
|
|
736
|
+
search: {
|
|
737
|
+
tooltip: string;
|
|
738
|
+
placeholder: string;
|
|
739
|
+
};
|
|
740
|
+
filters: {
|
|
741
|
+
defaultName: string;
|
|
742
|
+
saveNewFilterTooltip: string;
|
|
743
|
+
searchPlaceholder: string;
|
|
744
|
+
searchEmptyResult: string;
|
|
745
|
+
saveAsNewFilter: string;
|
|
746
|
+
saveChanges: string;
|
|
747
|
+
saveAsNew: string;
|
|
748
|
+
change: string;
|
|
749
|
+
resetChanges: string;
|
|
750
|
+
remove: string;
|
|
751
|
+
name: string;
|
|
752
|
+
error: string;
|
|
753
|
+
errorHint: string;
|
|
754
|
+
saveButton: string;
|
|
755
|
+
cancelButton: string;
|
|
756
|
+
};
|
|
757
|
+
add: {
|
|
758
|
+
tooltip: string;
|
|
759
|
+
};
|
|
760
|
+
pipe: {
|
|
761
|
+
clearButtonTooltip: string;
|
|
762
|
+
removeButtonTooltip: string;
|
|
763
|
+
applyButton: string;
|
|
764
|
+
emptySearchResult: string;
|
|
765
|
+
selectAll: string;
|
|
766
|
+
};
|
|
767
|
+
datePipe: {
|
|
768
|
+
customPeriod: string;
|
|
769
|
+
customPeriodFrom: string;
|
|
770
|
+
customPeriodTo: string;
|
|
771
|
+
customPeriodErrorHint: string;
|
|
772
|
+
backToPeriodSelection: string;
|
|
773
|
+
};
|
|
774
|
+
};
|
|
775
|
+
clampedText: {
|
|
776
|
+
openText: string;
|
|
777
|
+
closeText: string;
|
|
778
|
+
showMoreText: string;
|
|
779
|
+
moreText: string;
|
|
780
|
+
};
|
|
781
|
+
navbarIc: {
|
|
782
|
+
toggle: {
|
|
783
|
+
pinButton: string;
|
|
784
|
+
collapseButton: string;
|
|
785
|
+
};
|
|
786
|
+
};
|
|
787
|
+
navbar: {
|
|
788
|
+
toggle: {
|
|
789
|
+
expand: string;
|
|
790
|
+
collapse: string;
|
|
791
|
+
};
|
|
792
|
+
};
|
|
793
|
+
searchExpandable: {
|
|
794
|
+
tooltip: string;
|
|
795
|
+
placeholder: string;
|
|
796
|
+
};
|
|
797
|
+
appSwitcher: {
|
|
798
|
+
searchPlaceholder: string;
|
|
799
|
+
searchEmptyResult: string;
|
|
800
|
+
sitesHeader: string;
|
|
801
|
+
};
|
|
802
|
+
timeRange: {
|
|
803
|
+
title: {
|
|
804
|
+
for: string;
|
|
805
|
+
placeholder: string;
|
|
806
|
+
};
|
|
807
|
+
editor: {
|
|
808
|
+
from: string;
|
|
809
|
+
to: string;
|
|
810
|
+
apply: string;
|
|
811
|
+
cancel: string;
|
|
812
|
+
rangeLabel: string;
|
|
813
|
+
allTime: string;
|
|
814
|
+
currentQuarter: string;
|
|
815
|
+
currentYear: string;
|
|
816
|
+
};
|
|
817
|
+
durationTemplate: {
|
|
818
|
+
title: {
|
|
819
|
+
SEPARATOR: string;
|
|
820
|
+
LAST_PART_SEPARATOR: string;
|
|
821
|
+
YEARS: string;
|
|
822
|
+
MONTHS: string;
|
|
823
|
+
WEEKS: string;
|
|
824
|
+
DAYS: string;
|
|
825
|
+
HOURS: string;
|
|
826
|
+
MINUTES: string;
|
|
827
|
+
SECONDS: string;
|
|
828
|
+
YEARS_FRACTION: string;
|
|
829
|
+
MONTHS_FRACTION: string;
|
|
830
|
+
};
|
|
831
|
+
option: {
|
|
832
|
+
SEPARATOR: string;
|
|
833
|
+
LAST_PART_SEPARATOR: string;
|
|
834
|
+
YEARS: string;
|
|
835
|
+
MONTHS: string;
|
|
836
|
+
WEEKS: string;
|
|
837
|
+
DAYS: string;
|
|
838
|
+
HOURS: string;
|
|
839
|
+
MINUTES: string;
|
|
840
|
+
SECONDS: string;
|
|
841
|
+
YEARS_FRACTION: string;
|
|
842
|
+
MONTHS_FRACTION: string;
|
|
843
|
+
};
|
|
844
|
+
};
|
|
845
|
+
};
|
|
846
|
+
notificationCenter: {
|
|
847
|
+
notifications: string;
|
|
848
|
+
remove: string;
|
|
849
|
+
doNotDisturb: string;
|
|
850
|
+
showPopUpNotifications: string;
|
|
851
|
+
noNotifications: string;
|
|
852
|
+
failedToLoadNotifications: string;
|
|
853
|
+
repeat: string;
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
|
|
857
|
+
declare const ptBRLocaleData: {
|
|
858
|
+
select: {
|
|
859
|
+
hiddenItemsText: string;
|
|
860
|
+
};
|
|
861
|
+
datepicker: {
|
|
862
|
+
placeholder: string;
|
|
863
|
+
};
|
|
864
|
+
timepicker: {
|
|
865
|
+
placeholder: {
|
|
866
|
+
full: string;
|
|
867
|
+
short: string;
|
|
868
|
+
};
|
|
869
|
+
};
|
|
870
|
+
fileUpload: {
|
|
871
|
+
single: {
|
|
872
|
+
captionText: string;
|
|
873
|
+
captionTextOnlyFolder: string;
|
|
874
|
+
captionTextWithFolder: string;
|
|
875
|
+
browseLink: string;
|
|
876
|
+
browseLinkFolder: string;
|
|
877
|
+
browseLinkFolderMixed: string;
|
|
878
|
+
};
|
|
879
|
+
multiple: {
|
|
880
|
+
captionText: string;
|
|
881
|
+
captionTextOnlyFolder: string;
|
|
882
|
+
captionTextWithFolder: string;
|
|
883
|
+
captionTextWhenSelected: string;
|
|
884
|
+
captionTextForCompactSize: string;
|
|
885
|
+
browseLink: string;
|
|
886
|
+
browseLinkFolder: string;
|
|
887
|
+
browseLinkFolderMixed: string;
|
|
888
|
+
title: string;
|
|
889
|
+
};
|
|
890
|
+
};
|
|
891
|
+
codeBlock: {
|
|
892
|
+
softWrapOnTooltip: string;
|
|
893
|
+
softWrapOffTooltip: string;
|
|
894
|
+
downloadTooltip: string;
|
|
895
|
+
copiedTooltip: string;
|
|
896
|
+
copyTooltip: string;
|
|
897
|
+
viewAllText: string;
|
|
898
|
+
viewLessText: string;
|
|
899
|
+
openExternalSystemTooltip: string;
|
|
900
|
+
};
|
|
901
|
+
timezone: {
|
|
902
|
+
searchPlaceholder: string;
|
|
903
|
+
};
|
|
904
|
+
actionsPanel: {
|
|
905
|
+
closeTooltip: string;
|
|
906
|
+
};
|
|
907
|
+
filterBar: {
|
|
908
|
+
reset: {
|
|
909
|
+
buttonName: string;
|
|
910
|
+
};
|
|
911
|
+
search: {
|
|
912
|
+
tooltip: string;
|
|
913
|
+
placeholder: string;
|
|
914
|
+
};
|
|
915
|
+
filters: {
|
|
916
|
+
defaultName: string;
|
|
917
|
+
saveNewFilterTooltip: string;
|
|
918
|
+
searchPlaceholder: string;
|
|
919
|
+
searchEmptyResult: string;
|
|
920
|
+
saveAsNewFilter: string;
|
|
921
|
+
saveChanges: string;
|
|
922
|
+
saveAsNew: string;
|
|
923
|
+
change: string;
|
|
924
|
+
resetChanges: string;
|
|
925
|
+
remove: string;
|
|
926
|
+
name: string;
|
|
927
|
+
error: string;
|
|
928
|
+
errorHint: string;
|
|
929
|
+
saveButton: string;
|
|
930
|
+
cancelButton: string;
|
|
931
|
+
};
|
|
932
|
+
add: {
|
|
933
|
+
tooltip: string;
|
|
934
|
+
};
|
|
935
|
+
pipe: {
|
|
936
|
+
clearButtonTooltip: string;
|
|
937
|
+
removeButtonTooltip: string;
|
|
938
|
+
applyButton: string;
|
|
939
|
+
emptySearchResult: string;
|
|
940
|
+
selectAll: string;
|
|
941
|
+
};
|
|
942
|
+
datePipe: {
|
|
943
|
+
customPeriod: string;
|
|
944
|
+
customPeriodFrom: string;
|
|
945
|
+
customPeriodTo: string;
|
|
946
|
+
customPeriodErrorHint: string;
|
|
947
|
+
backToPeriodSelection: string;
|
|
948
|
+
};
|
|
949
|
+
};
|
|
950
|
+
clampedText: {
|
|
951
|
+
openText: string;
|
|
952
|
+
closeText: string;
|
|
953
|
+
showMoreText: string;
|
|
954
|
+
moreText: string;
|
|
955
|
+
};
|
|
956
|
+
navbarIc: {
|
|
957
|
+
toggle: {
|
|
958
|
+
pinButton: string;
|
|
959
|
+
collapseButton: string;
|
|
960
|
+
};
|
|
961
|
+
};
|
|
962
|
+
navbar: {
|
|
963
|
+
toggle: {
|
|
964
|
+
expand: string;
|
|
965
|
+
collapse: string;
|
|
966
|
+
};
|
|
967
|
+
};
|
|
968
|
+
searchExpandable: {
|
|
969
|
+
tooltip: string;
|
|
970
|
+
placeholder: string;
|
|
971
|
+
};
|
|
972
|
+
appSwitcher: {
|
|
973
|
+
searchPlaceholder: string;
|
|
974
|
+
searchEmptyResult: string;
|
|
975
|
+
sitesHeader: string;
|
|
976
|
+
};
|
|
977
|
+
timeRange: {
|
|
978
|
+
title: {
|
|
979
|
+
for: string;
|
|
980
|
+
placeholder: string;
|
|
981
|
+
};
|
|
982
|
+
editor: {
|
|
983
|
+
from: string;
|
|
984
|
+
to: string;
|
|
985
|
+
apply: string;
|
|
986
|
+
cancel: string;
|
|
987
|
+
rangeLabel: string;
|
|
988
|
+
allTime: string;
|
|
989
|
+
currentQuarter: string;
|
|
990
|
+
currentYear: string;
|
|
991
|
+
};
|
|
992
|
+
durationTemplate: {
|
|
993
|
+
title: {
|
|
994
|
+
SEPARATOR: string;
|
|
995
|
+
LAST_PART_SEPARATOR: string;
|
|
996
|
+
YEARS: string;
|
|
997
|
+
MONTHS: string;
|
|
998
|
+
WEEKS: string;
|
|
999
|
+
DAYS: string;
|
|
1000
|
+
HOURS: string;
|
|
1001
|
+
MINUTES: string;
|
|
1002
|
+
SECONDS: string;
|
|
1003
|
+
YEARS_FRACTION: string;
|
|
1004
|
+
MONTHS_FRACTION: string;
|
|
1005
|
+
};
|
|
1006
|
+
option: {
|
|
1007
|
+
SEPARATOR: string;
|
|
1008
|
+
LAST_PART_SEPARATOR: string;
|
|
1009
|
+
YEARS: string;
|
|
1010
|
+
MONTHS: string;
|
|
1011
|
+
WEEKS: string;
|
|
1012
|
+
DAYS: string;
|
|
1013
|
+
HOURS: string;
|
|
1014
|
+
MINUTES: string;
|
|
1015
|
+
SECONDS: string;
|
|
1016
|
+
YEARS_FRACTION: string;
|
|
1017
|
+
MONTHS_FRACTION: string;
|
|
1018
|
+
};
|
|
1019
|
+
};
|
|
1020
|
+
};
|
|
1021
|
+
notificationCenter: {
|
|
1022
|
+
notifications: string;
|
|
1023
|
+
remove: string;
|
|
1024
|
+
doNotDisturb: string;
|
|
1025
|
+
showPopUpNotifications: string;
|
|
1026
|
+
noNotifications: string;
|
|
1027
|
+
failedToLoadNotifications: string;
|
|
1028
|
+
repeat: string;
|
|
1029
|
+
};
|
|
1030
|
+
};
|
|
1031
|
+
|
|
1032
|
+
declare const ruRULocaleData: {
|
|
1033
|
+
select: {
|
|
1034
|
+
hiddenItemsText: string;
|
|
1035
|
+
};
|
|
1036
|
+
datepicker: {
|
|
1037
|
+
placeholder: string;
|
|
1038
|
+
dateInput: string;
|
|
1039
|
+
};
|
|
1040
|
+
timepicker: {
|
|
1041
|
+
placeholder: {
|
|
1042
|
+
full: string;
|
|
1043
|
+
short: string;
|
|
1044
|
+
};
|
|
1045
|
+
};
|
|
1046
|
+
fileUpload: {
|
|
1047
|
+
single: {
|
|
1048
|
+
captionText: string;
|
|
1049
|
+
captionTextOnlyFolder: string;
|
|
1050
|
+
captionTextWithFolder: string;
|
|
1051
|
+
browseLink: string;
|
|
1052
|
+
browseLinkFolder: string;
|
|
1053
|
+
browseLinkFolderMixed: string;
|
|
1054
|
+
};
|
|
1055
|
+
multiple: {
|
|
1056
|
+
captionText: string;
|
|
1057
|
+
captionTextOnlyFolder: string;
|
|
1058
|
+
captionTextWithFolder: string;
|
|
1059
|
+
captionTextWhenSelected: string;
|
|
1060
|
+
captionTextForCompactSize: string;
|
|
1061
|
+
browseLink: string;
|
|
1062
|
+
browseLinkFolder: string;
|
|
1063
|
+
browseLinkFolderMixed: string;
|
|
1064
|
+
title: string;
|
|
1065
|
+
};
|
|
1066
|
+
};
|
|
1067
|
+
codeBlock: {
|
|
1068
|
+
softWrapOnTooltip: string;
|
|
1069
|
+
softWrapOffTooltip: string;
|
|
1070
|
+
downloadTooltip: string;
|
|
1071
|
+
copiedTooltip: string;
|
|
1072
|
+
copyTooltip: string;
|
|
1073
|
+
viewAllText: string;
|
|
1074
|
+
viewLessText: string;
|
|
1075
|
+
openExternalSystemTooltip: string;
|
|
1076
|
+
};
|
|
1077
|
+
timezone: {
|
|
1078
|
+
searchPlaceholder: string;
|
|
1079
|
+
};
|
|
1080
|
+
actionsPanel: {
|
|
1081
|
+
closeTooltip: string;
|
|
1082
|
+
};
|
|
1083
|
+
filterBar: {
|
|
1084
|
+
reset: {
|
|
1085
|
+
buttonName: string;
|
|
1086
|
+
};
|
|
1087
|
+
search: {
|
|
1088
|
+
tooltip: string;
|
|
1089
|
+
placeholder: string;
|
|
1090
|
+
};
|
|
1091
|
+
filters: {
|
|
1092
|
+
defaultName: string;
|
|
1093
|
+
saveNewFilterTooltip: string;
|
|
1094
|
+
searchPlaceholder: string;
|
|
1095
|
+
searchEmptyResult: string;
|
|
1096
|
+
saveAsNewFilter: string;
|
|
1097
|
+
saveChanges: string;
|
|
1098
|
+
saveAsNew: string;
|
|
1099
|
+
change: string;
|
|
1100
|
+
resetChanges: string;
|
|
1101
|
+
remove: string;
|
|
1102
|
+
name: string;
|
|
1103
|
+
error: string;
|
|
1104
|
+
errorHint: string;
|
|
1105
|
+
saveButton: string;
|
|
1106
|
+
cancelButton: string;
|
|
1107
|
+
};
|
|
1108
|
+
add: {
|
|
1109
|
+
tooltip: string;
|
|
1110
|
+
};
|
|
1111
|
+
pipe: {
|
|
1112
|
+
clearButtonTooltip: string;
|
|
1113
|
+
removeButtonTooltip: string;
|
|
1114
|
+
applyButton: string;
|
|
1115
|
+
emptySearchResult: string;
|
|
1116
|
+
selectAll: string;
|
|
1117
|
+
};
|
|
1118
|
+
datePipe: {
|
|
1119
|
+
customPeriod: string;
|
|
1120
|
+
customPeriodFrom: string;
|
|
1121
|
+
customPeriodTo: string;
|
|
1122
|
+
customPeriodErrorHint: string;
|
|
1123
|
+
backToPeriodSelection: string;
|
|
1124
|
+
};
|
|
1125
|
+
};
|
|
1126
|
+
clampedText: {
|
|
1127
|
+
openText: string;
|
|
1128
|
+
closeText: string;
|
|
1129
|
+
showMoreText: string;
|
|
1130
|
+
moreText: string;
|
|
1131
|
+
};
|
|
1132
|
+
navbarIc: {
|
|
1133
|
+
toggle: {
|
|
1134
|
+
pinButton: string;
|
|
1135
|
+
collapseButton: string;
|
|
1136
|
+
};
|
|
1137
|
+
};
|
|
1138
|
+
navbar: {
|
|
1139
|
+
toggle: {
|
|
1140
|
+
expand: string;
|
|
1141
|
+
collapse: string;
|
|
1142
|
+
};
|
|
1143
|
+
};
|
|
1144
|
+
searchExpandable: {
|
|
1145
|
+
tooltip: string;
|
|
1146
|
+
placeholder: string;
|
|
1147
|
+
};
|
|
1148
|
+
appSwitcher: {
|
|
1149
|
+
searchPlaceholder: string;
|
|
1150
|
+
searchEmptyResult: string;
|
|
1151
|
+
sitesHeader: string;
|
|
1152
|
+
};
|
|
1153
|
+
timeRange: {
|
|
1154
|
+
title: {
|
|
1155
|
+
for: string;
|
|
1156
|
+
placeholder: string;
|
|
1157
|
+
};
|
|
1158
|
+
editor: {
|
|
1159
|
+
from: string;
|
|
1160
|
+
to: string;
|
|
1161
|
+
apply: string;
|
|
1162
|
+
cancel: string;
|
|
1163
|
+
rangeLabel: string;
|
|
1164
|
+
allTime: string;
|
|
1165
|
+
currentQuarter: string;
|
|
1166
|
+
currentYear: string;
|
|
1167
|
+
};
|
|
1168
|
+
durationTemplate: {
|
|
1169
|
+
title: {
|
|
1170
|
+
SEPARATOR: string;
|
|
1171
|
+
LAST_PART_SEPARATOR: string;
|
|
1172
|
+
YEARS: string;
|
|
1173
|
+
MONTHS: string;
|
|
1174
|
+
WEEKS: string;
|
|
1175
|
+
DAYS: string;
|
|
1176
|
+
HOURS: string;
|
|
1177
|
+
MINUTES: string;
|
|
1178
|
+
SECONDS: string;
|
|
1179
|
+
YEARS_FRACTION: string;
|
|
1180
|
+
MONTHS_FRACTION: string;
|
|
1181
|
+
};
|
|
1182
|
+
option: {
|
|
1183
|
+
SEPARATOR: string;
|
|
1184
|
+
LAST_PART_SEPARATOR: string;
|
|
1185
|
+
YEARS: string;
|
|
1186
|
+
MONTHS: string;
|
|
1187
|
+
WEEKS: string;
|
|
1188
|
+
DAYS: string;
|
|
1189
|
+
HOURS: string;
|
|
1190
|
+
MINUTES: string;
|
|
1191
|
+
SECONDS: string;
|
|
1192
|
+
YEARS_FRACTION: string;
|
|
1193
|
+
MONTHS_FRACTION: string;
|
|
1194
|
+
};
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
notificationCenter: {
|
|
1198
|
+
notifications: string;
|
|
1199
|
+
remove: string;
|
|
1200
|
+
doNotDisturb: string;
|
|
1201
|
+
showPopUpNotifications: string;
|
|
1202
|
+
noNotifications: string;
|
|
1203
|
+
failedToLoadNotifications: string;
|
|
1204
|
+
repeat: string;
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
|
|
1208
|
+
declare const tkTMLocaleData: {
|
|
1209
|
+
select: {
|
|
1210
|
+
hiddenItemsText: string;
|
|
1211
|
+
};
|
|
1212
|
+
datepicker: {
|
|
1213
|
+
placeholder: string;
|
|
1214
|
+
dateInput: string;
|
|
1215
|
+
};
|
|
1216
|
+
timepicker: {
|
|
1217
|
+
placeholder: {
|
|
1218
|
+
full: string;
|
|
1219
|
+
short: string;
|
|
1220
|
+
};
|
|
1221
|
+
};
|
|
1222
|
+
fileUpload: {
|
|
1223
|
+
single: {
|
|
1224
|
+
captionText: string;
|
|
1225
|
+
captionTextOnlyFolder: string;
|
|
1226
|
+
captionTextWithFolder: string;
|
|
1227
|
+
browseLink: string;
|
|
1228
|
+
browseLinkFolder: string;
|
|
1229
|
+
browseLinkFolderMixed: string;
|
|
1230
|
+
};
|
|
1231
|
+
multiple: {
|
|
1232
|
+
captionText: string;
|
|
1233
|
+
captionTextOnlyFolder: string;
|
|
1234
|
+
captionTextWithFolder: string;
|
|
1235
|
+
captionTextWhenSelected: string;
|
|
1236
|
+
captionTextForCompactSize: string;
|
|
1237
|
+
browseLink: string;
|
|
1238
|
+
browseLinkFolder: string;
|
|
1239
|
+
browseLinkFolderMixed: string;
|
|
1240
|
+
title: string;
|
|
1241
|
+
};
|
|
1242
|
+
};
|
|
1243
|
+
codeBlock: {
|
|
1244
|
+
softWrapOnTooltip: string;
|
|
1245
|
+
softWrapOffTooltip: string;
|
|
1246
|
+
downloadTooltip: string;
|
|
1247
|
+
copiedTooltip: string;
|
|
1248
|
+
copyTooltip: string;
|
|
1249
|
+
viewAllText: string;
|
|
1250
|
+
viewLessText: string;
|
|
1251
|
+
openExternalSystemTooltip: string;
|
|
1252
|
+
};
|
|
1253
|
+
timezone: {
|
|
1254
|
+
searchPlaceholder: string;
|
|
1255
|
+
};
|
|
1256
|
+
actionsPanel: {
|
|
1257
|
+
closeTooltip: string;
|
|
1258
|
+
};
|
|
1259
|
+
filterBar: {
|
|
1260
|
+
reset: {
|
|
1261
|
+
buttonName: string;
|
|
1262
|
+
};
|
|
1263
|
+
search: {
|
|
1264
|
+
tooltip: string;
|
|
1265
|
+
placeholder: string;
|
|
1266
|
+
};
|
|
1267
|
+
filters: {
|
|
1268
|
+
defaultName: string;
|
|
1269
|
+
saveNewFilterTooltip: string;
|
|
1270
|
+
searchPlaceholder: string;
|
|
1271
|
+
searchEmptyResult: string;
|
|
1272
|
+
saveAsNewFilter: string;
|
|
1273
|
+
saveChanges: string;
|
|
1274
|
+
saveAsNew: string;
|
|
1275
|
+
change: string;
|
|
1276
|
+
resetChanges: string;
|
|
1277
|
+
remove: string;
|
|
1278
|
+
name: string;
|
|
1279
|
+
error: string;
|
|
1280
|
+
errorHint: string;
|
|
1281
|
+
saveButton: string;
|
|
1282
|
+
cancelButton: string;
|
|
1283
|
+
};
|
|
1284
|
+
add: {
|
|
1285
|
+
tooltip: string;
|
|
1286
|
+
};
|
|
1287
|
+
pipe: {
|
|
1288
|
+
clearButtonTooltip: string;
|
|
1289
|
+
removeButtonTooltip: string;
|
|
1290
|
+
applyButton: string;
|
|
1291
|
+
emptySearchResult: string;
|
|
1292
|
+
selectAll: string;
|
|
1293
|
+
};
|
|
1294
|
+
datePipe: {
|
|
1295
|
+
customPeriod: string;
|
|
1296
|
+
customPeriodFrom: string;
|
|
1297
|
+
customPeriodTo: string;
|
|
1298
|
+
customPeriodErrorHint: string;
|
|
1299
|
+
backToPeriodSelection: string;
|
|
1300
|
+
};
|
|
1301
|
+
};
|
|
1302
|
+
clampedText: {
|
|
1303
|
+
openText: string;
|
|
1304
|
+
closeText: string;
|
|
1305
|
+
showMoreText: string;
|
|
1306
|
+
moreText: string;
|
|
1307
|
+
};
|
|
1308
|
+
navbarIc: {
|
|
1309
|
+
toggle: {
|
|
1310
|
+
pinButton: string;
|
|
1311
|
+
collapseButton: string;
|
|
1312
|
+
};
|
|
1313
|
+
};
|
|
1314
|
+
navbar: {
|
|
1315
|
+
toggle: {
|
|
1316
|
+
expand: string;
|
|
1317
|
+
collapse: string;
|
|
1318
|
+
};
|
|
1319
|
+
};
|
|
1320
|
+
searchExpandable: {
|
|
1321
|
+
tooltip: string;
|
|
1322
|
+
placeholder: string;
|
|
1323
|
+
};
|
|
1324
|
+
appSwitcher: {
|
|
1325
|
+
searchPlaceholder: string;
|
|
1326
|
+
searchEmptyResult: string;
|
|
1327
|
+
sitesHeader: string;
|
|
1328
|
+
};
|
|
1329
|
+
timeRange: {
|
|
1330
|
+
title: {
|
|
1331
|
+
for: string;
|
|
1332
|
+
placeholder: string;
|
|
1333
|
+
};
|
|
1334
|
+
editor: {
|
|
1335
|
+
from: string;
|
|
1336
|
+
to: string;
|
|
1337
|
+
apply: string;
|
|
1338
|
+
cancel: string;
|
|
1339
|
+
rangeLabel: string;
|
|
1340
|
+
allTime: string;
|
|
1341
|
+
currentQuarter: string;
|
|
1342
|
+
currentYear: string;
|
|
1343
|
+
};
|
|
1344
|
+
durationTemplate: {
|
|
1345
|
+
title: {
|
|
1346
|
+
SEPARATOR: string;
|
|
1347
|
+
LAST_PART_SEPARATOR: string;
|
|
1348
|
+
YEARS: string;
|
|
1349
|
+
MONTHS: string;
|
|
1350
|
+
WEEKS: string;
|
|
1351
|
+
DAYS: string;
|
|
1352
|
+
HOURS: string;
|
|
1353
|
+
MINUTES: string;
|
|
1354
|
+
SECONDS: string;
|
|
1355
|
+
YEARS_FRACTION: string;
|
|
1356
|
+
MONTHS_FRACTION: string;
|
|
1357
|
+
};
|
|
1358
|
+
option: {
|
|
1359
|
+
SEPARATOR: string;
|
|
1360
|
+
LAST_PART_SEPARATOR: string;
|
|
1361
|
+
YEARS: string;
|
|
1362
|
+
MONTHS: string;
|
|
1363
|
+
WEEKS: string;
|
|
1364
|
+
DAYS: string;
|
|
1365
|
+
HOURS: string;
|
|
1366
|
+
MINUTES: string;
|
|
1367
|
+
SECONDS: string;
|
|
1368
|
+
YEARS_FRACTION: string;
|
|
1369
|
+
MONTHS_FRACTION: string;
|
|
1370
|
+
};
|
|
1371
|
+
};
|
|
1372
|
+
};
|
|
1373
|
+
notificationCenter: {
|
|
1374
|
+
notifications: string;
|
|
1375
|
+
remove: string;
|
|
1376
|
+
doNotDisturb: string;
|
|
1377
|
+
showPopUpNotifications: string;
|
|
1378
|
+
noNotifications: string;
|
|
1379
|
+
failedToLoadNotifications: string;
|
|
1380
|
+
repeat: string;
|
|
1381
|
+
};
|
|
1382
|
+
};
|
|
1383
|
+
|
|
1384
|
+
declare const enUSFormattersData: {
|
|
1385
|
+
formatters: {
|
|
1386
|
+
number: {
|
|
1387
|
+
rounding: {
|
|
1388
|
+
separator: string;
|
|
1389
|
+
groupSeparator: string;
|
|
1390
|
+
thousand: string;
|
|
1391
|
+
million: string;
|
|
1392
|
+
billion: string;
|
|
1393
|
+
trillion: string;
|
|
1394
|
+
};
|
|
1395
|
+
};
|
|
1396
|
+
};
|
|
1397
|
+
input: {
|
|
1398
|
+
number: {
|
|
1399
|
+
groupSeparator: string[];
|
|
1400
|
+
fractionSeparator: string;
|
|
1401
|
+
};
|
|
1402
|
+
};
|
|
1403
|
+
sizeUnits: {
|
|
1404
|
+
defaultUnitSystem: "SI";
|
|
1405
|
+
defaultPrecision: number;
|
|
1406
|
+
unitSystems: {
|
|
1407
|
+
SI: {
|
|
1408
|
+
abbreviations: string[];
|
|
1409
|
+
base: number;
|
|
1410
|
+
power: number;
|
|
1411
|
+
};
|
|
1412
|
+
IEC: {
|
|
1413
|
+
abbreviations: string[];
|
|
1414
|
+
base: number;
|
|
1415
|
+
power: number;
|
|
1416
|
+
};
|
|
1417
|
+
};
|
|
1418
|
+
};
|
|
1419
|
+
};
|
|
1420
|
+
declare const esLAFormattersData: {
|
|
1421
|
+
formatters: {
|
|
1422
|
+
number: {
|
|
1423
|
+
rounding: {
|
|
1424
|
+
separator: string;
|
|
1425
|
+
groupSeparator: string;
|
|
1426
|
+
thousand: string;
|
|
1427
|
+
million: string;
|
|
1428
|
+
billion: string;
|
|
1429
|
+
trillion: string;
|
|
1430
|
+
};
|
|
1431
|
+
decimal: {
|
|
1432
|
+
viewGroupSeparator: string;
|
|
1433
|
+
};
|
|
1434
|
+
};
|
|
1435
|
+
};
|
|
1436
|
+
input: {
|
|
1437
|
+
number: {
|
|
1438
|
+
groupSeparator: string[];
|
|
1439
|
+
fractionSeparator: string;
|
|
1440
|
+
viewGroupSeparator: string;
|
|
1441
|
+
};
|
|
1442
|
+
};
|
|
1443
|
+
sizeUnits: {
|
|
1444
|
+
defaultUnitSystem: string;
|
|
1445
|
+
defaultPrecision: number;
|
|
1446
|
+
unitSystems: {
|
|
1447
|
+
SI: {
|
|
1448
|
+
abbreviations: string[];
|
|
1449
|
+
base: number;
|
|
1450
|
+
power: number;
|
|
1451
|
+
};
|
|
1452
|
+
IEC: {
|
|
1453
|
+
abbreviations: string[];
|
|
1454
|
+
base: number;
|
|
1455
|
+
power: number;
|
|
1456
|
+
};
|
|
1457
|
+
};
|
|
1458
|
+
};
|
|
1459
|
+
};
|
|
1460
|
+
declare const ptBRFormattersData: {
|
|
1461
|
+
formatters: {
|
|
1462
|
+
number: {
|
|
1463
|
+
rounding: {
|
|
1464
|
+
separator: string;
|
|
1465
|
+
groupSeparator: string;
|
|
1466
|
+
thousand: string;
|
|
1467
|
+
million: string;
|
|
1468
|
+
billion: string;
|
|
1469
|
+
trillion: string;
|
|
1470
|
+
};
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
input: {
|
|
1474
|
+
number: {
|
|
1475
|
+
groupSeparator: string[];
|
|
1476
|
+
fractionSeparator: string;
|
|
1477
|
+
};
|
|
1478
|
+
};
|
|
1479
|
+
sizeUnits: {
|
|
1480
|
+
defaultUnitSystem: string;
|
|
1481
|
+
defaultPrecision: number;
|
|
1482
|
+
unitSystems: {
|
|
1483
|
+
SI: {
|
|
1484
|
+
abbreviations: string[];
|
|
1485
|
+
base: number;
|
|
1486
|
+
power: number;
|
|
1487
|
+
};
|
|
1488
|
+
IEC: {
|
|
1489
|
+
abbreviations: string[];
|
|
1490
|
+
base: number;
|
|
1491
|
+
power: number;
|
|
1492
|
+
};
|
|
1493
|
+
};
|
|
1494
|
+
};
|
|
1495
|
+
};
|
|
1496
|
+
declare const ruRUFormattersData: {
|
|
1497
|
+
formatters: {
|
|
1498
|
+
number: {
|
|
1499
|
+
rounding: {
|
|
1500
|
+
separator: string;
|
|
1501
|
+
groupSeparator: string;
|
|
1502
|
+
thousand: string;
|
|
1503
|
+
million: string;
|
|
1504
|
+
billion: string;
|
|
1505
|
+
trillion: string;
|
|
1506
|
+
};
|
|
1507
|
+
decimal: {
|
|
1508
|
+
viewGroupSeparator: string;
|
|
1509
|
+
};
|
|
1510
|
+
};
|
|
1511
|
+
};
|
|
1512
|
+
input: {
|
|
1513
|
+
number: {
|
|
1514
|
+
groupSeparator: string[];
|
|
1515
|
+
fractionSeparator: string;
|
|
1516
|
+
startFormattingFrom: number;
|
|
1517
|
+
viewGroupSeparator: string;
|
|
1518
|
+
};
|
|
1519
|
+
};
|
|
1520
|
+
sizeUnits: {
|
|
1521
|
+
defaultUnitSystem: string;
|
|
1522
|
+
defaultPrecision: number;
|
|
1523
|
+
unitSystems: {
|
|
1524
|
+
SI: {
|
|
1525
|
+
abbreviations: string[];
|
|
1526
|
+
base: number;
|
|
1527
|
+
power: number;
|
|
1528
|
+
};
|
|
1529
|
+
IEC: {
|
|
1530
|
+
abbreviations: string[];
|
|
1531
|
+
base: number;
|
|
1532
|
+
power: number;
|
|
1533
|
+
};
|
|
1534
|
+
};
|
|
1535
|
+
};
|
|
1536
|
+
};
|
|
1537
|
+
declare const tkTMFormattersData: {
|
|
1538
|
+
formatters: {
|
|
1539
|
+
number: {
|
|
1540
|
+
rounding: {
|
|
1541
|
+
separator: string;
|
|
1542
|
+
groupSeparator: string;
|
|
1543
|
+
thousand: string;
|
|
1544
|
+
million: string;
|
|
1545
|
+
billion: string;
|
|
1546
|
+
trillion: string;
|
|
1547
|
+
};
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
input: {
|
|
1551
|
+
number: {
|
|
1552
|
+
groupSeparator: string[];
|
|
1553
|
+
fractionSeparator: string;
|
|
1554
|
+
viewGroupSeparator: string;
|
|
1555
|
+
};
|
|
1556
|
+
};
|
|
1557
|
+
sizeUnits: {
|
|
1558
|
+
defaultUnitSystem: string;
|
|
1559
|
+
defaultPrecision: number;
|
|
1560
|
+
unitSystems: {
|
|
1561
|
+
SI: {
|
|
1562
|
+
abbreviations: string[];
|
|
1563
|
+
base: number;
|
|
1564
|
+
power: number;
|
|
1565
|
+
};
|
|
1566
|
+
IEC: {
|
|
1567
|
+
abbreviations: string[];
|
|
1568
|
+
base: number;
|
|
1569
|
+
power: number;
|
|
1570
|
+
};
|
|
1571
|
+
};
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1574
|
+
|
|
1575
|
+
/** Locale configuration for `KbqCodeBlockModule`. */
|
|
1576
|
+
type KbqCodeBlockLocaleConfiguration = {
|
|
1577
|
+
softWrapOnTooltip: string;
|
|
1578
|
+
softWrapOffTooltip: string;
|
|
1579
|
+
downloadTooltip: string;
|
|
1580
|
+
copiedTooltip: string;
|
|
1581
|
+
copyTooltip: string;
|
|
1582
|
+
viewAllText: string;
|
|
1583
|
+
viewLessText: string;
|
|
1584
|
+
openExternalSystemTooltip: string;
|
|
1585
|
+
};
|
|
1586
|
+
/**
|
|
1587
|
+
* Locale configuration for `KbqActionsPanelModule`.
|
|
1588
|
+
*/
|
|
1589
|
+
type KbqActionsPanelLocaleConfiguration = {
|
|
1590
|
+
closeTooltip: string;
|
|
1591
|
+
};
|
|
1592
|
+
/** Options for overriding locale-based number formatting */
|
|
1593
|
+
type KbqNumberFormatOptions = {
|
|
1594
|
+
/** Overrides the default group separator in the formatted output */
|
|
1595
|
+
viewGroupSeparator?: string;
|
|
1596
|
+
};
|
|
1597
|
+
/** Locale configuration for `KbqNumberInput`. */
|
|
1598
|
+
type KbqNumberInputLocaleConfig = {
|
|
1599
|
+
/** Characters recognized as group (thousands) separators. */
|
|
1600
|
+
groupSeparator: string[];
|
|
1601
|
+
/** Character used for the decimal separator */
|
|
1602
|
+
fractionSeparator: string;
|
|
1603
|
+
/** Number of digits before applying group separators */
|
|
1604
|
+
startFormattingFrom?: number;
|
|
1605
|
+
} & KbqNumberFormatOptions;
|
|
1606
|
+
/** Locale configuration for `KbqClampedText` */
|
|
1607
|
+
type KbqClampedTextLocaleConfig = {
|
|
1608
|
+
openText: string;
|
|
1609
|
+
closeText: string;
|
|
1610
|
+
showMoreText: string;
|
|
1611
|
+
moreText: string;
|
|
1612
|
+
};
|
|
1613
|
+
/** Locale configuration for `KbqTimeRange` */
|
|
1614
|
+
type KbqTimeRangeLocaleConfig = {
|
|
1615
|
+
title: {
|
|
1616
|
+
for: string;
|
|
1617
|
+
placeholder: string;
|
|
1618
|
+
};
|
|
1619
|
+
editor: {
|
|
1620
|
+
from: string;
|
|
1621
|
+
to: string;
|
|
1622
|
+
apply: string;
|
|
1623
|
+
cancel: string;
|
|
1624
|
+
rangeLabel: string;
|
|
1625
|
+
allTime: string;
|
|
1626
|
+
currentQuarter: string;
|
|
1627
|
+
currentYear: string;
|
|
1628
|
+
};
|
|
1629
|
+
durationTemplate: {
|
|
1630
|
+
title: FormatterDurationTemplate;
|
|
1631
|
+
option: FormatterDurationTemplate;
|
|
1632
|
+
};
|
|
1633
|
+
};
|
|
1634
|
+
interface KbqBaseFileUploadLocaleConfig {
|
|
1635
|
+
captionText: string;
|
|
1636
|
+
captionTextOnlyFolder: string;
|
|
1637
|
+
captionTextWithFolder: string;
|
|
1638
|
+
browseLink: string;
|
|
1639
|
+
browseLinkFolder: string;
|
|
1640
|
+
browseLinkFolderMixed?: string;
|
|
1641
|
+
}
|
|
1642
|
+
interface KbqMultipleFileUploadLocaleConfig extends KbqBaseFileUploadLocaleConfig {
|
|
1643
|
+
captionTextWhenSelected: string;
|
|
1644
|
+
captionTextForCompactSize: string;
|
|
1645
|
+
title: string;
|
|
1646
|
+
}
|
|
1647
|
+
type KbqFileUploadLocaleConfig = {
|
|
1648
|
+
single: KbqBaseFileUploadLocaleConfig;
|
|
1649
|
+
multiple: KbqMultipleFileUploadLocaleConfig;
|
|
1650
|
+
};
|
|
1651
|
+
|
|
1652
|
+
declare const KBQ_LOCALE_ID: InjectionToken<string>;
|
|
1653
|
+
declare const KBQ_DEFAULT_LOCALE_ID = "ru-RU";
|
|
1654
|
+
declare function KBQ_DEFAULT_LOCALE_DATA_FACTORY(): {
|
|
1655
|
+
items: {
|
|
1656
|
+
id: string;
|
|
1657
|
+
name: string;
|
|
1658
|
+
}[];
|
|
1659
|
+
'en-US': {
|
|
1660
|
+
formatters: {
|
|
1661
|
+
number: {
|
|
1662
|
+
rounding: {
|
|
1663
|
+
separator: string;
|
|
1664
|
+
groupSeparator: string;
|
|
1665
|
+
thousand: string;
|
|
1666
|
+
million: string;
|
|
1667
|
+
billion: string;
|
|
1668
|
+
trillion: string;
|
|
1669
|
+
};
|
|
1670
|
+
};
|
|
1671
|
+
};
|
|
1672
|
+
input: {
|
|
1673
|
+
number: {
|
|
1674
|
+
groupSeparator: string[];
|
|
1675
|
+
fractionSeparator: string;
|
|
1676
|
+
};
|
|
1677
|
+
};
|
|
1678
|
+
sizeUnits: {
|
|
1679
|
+
defaultUnitSystem: "SI";
|
|
1680
|
+
defaultPrecision: number;
|
|
1681
|
+
unitSystems: {
|
|
1682
|
+
SI: {
|
|
1683
|
+
abbreviations: string[];
|
|
1684
|
+
base: number;
|
|
1685
|
+
power: number;
|
|
1686
|
+
};
|
|
1687
|
+
IEC: {
|
|
1688
|
+
abbreviations: string[];
|
|
1689
|
+
base: number;
|
|
1690
|
+
power: number;
|
|
1691
|
+
};
|
|
1692
|
+
};
|
|
1693
|
+
};
|
|
1694
|
+
select: {
|
|
1695
|
+
hiddenItemsText: string;
|
|
1696
|
+
};
|
|
1697
|
+
datepicker: {
|
|
1698
|
+
placeholder: string;
|
|
1699
|
+
dateInput: string;
|
|
1700
|
+
};
|
|
1701
|
+
timepicker: {
|
|
1702
|
+
placeholder: {
|
|
1703
|
+
full: string;
|
|
1704
|
+
short: string;
|
|
1705
|
+
};
|
|
1706
|
+
};
|
|
1707
|
+
fileUpload: {
|
|
1708
|
+
single: {
|
|
1709
|
+
captionText: string;
|
|
1710
|
+
captionTextOnlyFolder: string;
|
|
1711
|
+
captionTextWithFolder: string;
|
|
1712
|
+
browseLink: string;
|
|
1713
|
+
browseLinkFolder: string;
|
|
1714
|
+
browseLinkFolderMixed: string;
|
|
1715
|
+
};
|
|
1716
|
+
multiple: {
|
|
1717
|
+
captionText: string;
|
|
1718
|
+
captionTextOnlyFolder: string;
|
|
1719
|
+
captionTextWithFolder: string;
|
|
1720
|
+
captionTextWhenSelected: string;
|
|
1721
|
+
captionTextForCompactSize: string;
|
|
1722
|
+
browseLink: string;
|
|
1723
|
+
browseLinkFolder: string;
|
|
1724
|
+
browseLinkFolderMixed: string;
|
|
1725
|
+
title: string;
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
1728
|
+
codeBlock: {
|
|
1729
|
+
softWrapOnTooltip: string;
|
|
1730
|
+
softWrapOffTooltip: string;
|
|
1731
|
+
downloadTooltip: string;
|
|
1732
|
+
copiedTooltip: string;
|
|
1733
|
+
copyTooltip: string;
|
|
1734
|
+
viewAllText: string;
|
|
1735
|
+
viewLessText: string;
|
|
1736
|
+
openExternalSystemTooltip: string;
|
|
1737
|
+
};
|
|
1738
|
+
timezone: {
|
|
1739
|
+
searchPlaceholder: string;
|
|
1740
|
+
};
|
|
1741
|
+
actionsPanel: {
|
|
1742
|
+
closeTooltip: string;
|
|
1743
|
+
};
|
|
1744
|
+
filterBar: {
|
|
1745
|
+
reset: {
|
|
1746
|
+
buttonName: string;
|
|
1747
|
+
};
|
|
1748
|
+
search: {
|
|
1749
|
+
tooltip: string;
|
|
1750
|
+
placeholder: string;
|
|
1751
|
+
};
|
|
1752
|
+
filters: {
|
|
1753
|
+
defaultName: string;
|
|
1754
|
+
saveNewFilterTooltip: string;
|
|
1755
|
+
searchPlaceholder: string;
|
|
1756
|
+
searchEmptyResult: string;
|
|
1757
|
+
saveAsNewFilter: string;
|
|
1758
|
+
saveChanges: string;
|
|
1759
|
+
saveAsNew: string;
|
|
1760
|
+
change: string;
|
|
1761
|
+
resetChanges: string;
|
|
1762
|
+
remove: string;
|
|
1763
|
+
name: string;
|
|
1764
|
+
error: string;
|
|
1765
|
+
errorHint: string;
|
|
1766
|
+
saveButton: string;
|
|
1767
|
+
cancelButton: string;
|
|
1768
|
+
};
|
|
1769
|
+
add: {
|
|
1770
|
+
tooltip: string;
|
|
1771
|
+
};
|
|
1772
|
+
pipe: {
|
|
1773
|
+
clearButtonTooltip: string;
|
|
1774
|
+
removeButtonTooltip: string;
|
|
1775
|
+
applyButton: string;
|
|
1776
|
+
emptySearchResult: string;
|
|
1777
|
+
selectAll: string;
|
|
1778
|
+
};
|
|
1779
|
+
datePipe: {
|
|
1780
|
+
customPeriod: string;
|
|
1781
|
+
customPeriodFrom: string;
|
|
1782
|
+
customPeriodTo: string;
|
|
1783
|
+
customPeriodErrorHint: string;
|
|
1784
|
+
backToPeriodSelection: string;
|
|
1785
|
+
};
|
|
1786
|
+
};
|
|
1787
|
+
clampedText: {
|
|
1788
|
+
openText: string;
|
|
1789
|
+
closeText: string;
|
|
1790
|
+
showMoreText: string;
|
|
1791
|
+
moreText: string;
|
|
1792
|
+
};
|
|
1793
|
+
navbarIc: {
|
|
1794
|
+
toggle: {
|
|
1795
|
+
pinButton: string;
|
|
1796
|
+
collapseButton: string;
|
|
1797
|
+
};
|
|
1798
|
+
};
|
|
1799
|
+
navbar: {
|
|
1800
|
+
toggle: {
|
|
1801
|
+
expand: string;
|
|
1802
|
+
collapse: string;
|
|
1803
|
+
};
|
|
1804
|
+
};
|
|
1805
|
+
searchExpandable: {
|
|
1806
|
+
tooltip: string;
|
|
1807
|
+
placeholder: string;
|
|
1808
|
+
};
|
|
1809
|
+
appSwitcher: {
|
|
1810
|
+
searchPlaceholder: string;
|
|
1811
|
+
searchEmptyResult: string;
|
|
1812
|
+
sitesHeader: string;
|
|
1813
|
+
};
|
|
1814
|
+
timeRange: {
|
|
1815
|
+
title: {
|
|
1816
|
+
for: string;
|
|
1817
|
+
placeholder: string;
|
|
1818
|
+
};
|
|
1819
|
+
editor: {
|
|
1820
|
+
from: string;
|
|
1821
|
+
to: string;
|
|
1822
|
+
apply: string;
|
|
1823
|
+
cancel: string;
|
|
1824
|
+
rangeLabel: string;
|
|
1825
|
+
allTime: string;
|
|
1826
|
+
currentQuarter: string;
|
|
1827
|
+
currentYear: string;
|
|
1828
|
+
};
|
|
1829
|
+
durationTemplate: {
|
|
1830
|
+
title: {
|
|
1831
|
+
SEPARATOR: string;
|
|
1832
|
+
LAST_PART_SEPARATOR: string;
|
|
1833
|
+
YEARS: string;
|
|
1834
|
+
MONTHS: string;
|
|
1835
|
+
WEEKS: string;
|
|
1836
|
+
DAYS: string;
|
|
1837
|
+
HOURS: string;
|
|
1838
|
+
MINUTES: string;
|
|
1839
|
+
SECONDS: string;
|
|
1840
|
+
YEARS_FRACTION: string;
|
|
1841
|
+
MONTHS_FRACTION: string;
|
|
1842
|
+
};
|
|
1843
|
+
option: {
|
|
1844
|
+
SEPARATOR: string;
|
|
1845
|
+
LAST_PART_SEPARATOR: string;
|
|
1846
|
+
YEARS: string;
|
|
1847
|
+
MONTHS: string;
|
|
1848
|
+
WEEKS: string;
|
|
1849
|
+
DAYS: string;
|
|
1850
|
+
HOURS: string;
|
|
1851
|
+
MINUTES: string;
|
|
1852
|
+
SECONDS: string;
|
|
1853
|
+
YEARS_FRACTION: string;
|
|
1854
|
+
MONTHS_FRACTION: string;
|
|
1855
|
+
};
|
|
1856
|
+
};
|
|
1857
|
+
};
|
|
1858
|
+
notificationCenter: {
|
|
1859
|
+
notifications: string;
|
|
1860
|
+
remove: string;
|
|
1861
|
+
doNotDisturb: string;
|
|
1862
|
+
showPopUpNotifications: string;
|
|
1863
|
+
noNotifications: string;
|
|
1864
|
+
failedToLoadNotifications: string;
|
|
1865
|
+
repeat: string;
|
|
1866
|
+
};
|
|
1867
|
+
};
|
|
1868
|
+
'es-LA': {
|
|
1869
|
+
formatters: {
|
|
1870
|
+
number: {
|
|
1871
|
+
rounding: {
|
|
1872
|
+
separator: string;
|
|
1873
|
+
groupSeparator: string;
|
|
1874
|
+
thousand: string;
|
|
1875
|
+
million: string;
|
|
1876
|
+
billion: string;
|
|
1877
|
+
trillion: string;
|
|
1878
|
+
};
|
|
1879
|
+
decimal: {
|
|
1880
|
+
viewGroupSeparator: string;
|
|
1881
|
+
};
|
|
1882
|
+
};
|
|
1883
|
+
};
|
|
1884
|
+
input: {
|
|
1885
|
+
number: {
|
|
1886
|
+
groupSeparator: string[];
|
|
1887
|
+
fractionSeparator: string;
|
|
1888
|
+
viewGroupSeparator: string;
|
|
1889
|
+
};
|
|
1890
|
+
};
|
|
1891
|
+
sizeUnits: {
|
|
1892
|
+
defaultUnitSystem: string;
|
|
1893
|
+
defaultPrecision: number;
|
|
1894
|
+
unitSystems: {
|
|
1895
|
+
SI: {
|
|
1896
|
+
abbreviations: string[];
|
|
1897
|
+
base: number;
|
|
1898
|
+
power: number;
|
|
1899
|
+
};
|
|
1900
|
+
IEC: {
|
|
1901
|
+
abbreviations: string[];
|
|
1902
|
+
base: number;
|
|
1903
|
+
power: number;
|
|
1904
|
+
};
|
|
1905
|
+
};
|
|
1906
|
+
};
|
|
1907
|
+
select: {
|
|
1908
|
+
hiddenItemsText: string;
|
|
1909
|
+
};
|
|
1910
|
+
datepicker: {
|
|
1911
|
+
placeholder: string;
|
|
1912
|
+
};
|
|
1913
|
+
timepicker: {
|
|
1914
|
+
placeholder: {
|
|
1915
|
+
full: string;
|
|
1916
|
+
short: string;
|
|
1917
|
+
};
|
|
1918
|
+
};
|
|
1919
|
+
fileUpload: {
|
|
1920
|
+
single: {
|
|
1921
|
+
captionText: string;
|
|
1922
|
+
captionTextOnlyFolder: string;
|
|
1923
|
+
captionTextWithFolder: string;
|
|
1924
|
+
browseLink: string;
|
|
1925
|
+
browseLinkFolder: string;
|
|
1926
|
+
browseLinkFolderMixed: string;
|
|
1927
|
+
};
|
|
1928
|
+
multiple: {
|
|
1929
|
+
captionText: string;
|
|
1930
|
+
captionTextOnlyFolder: string;
|
|
1931
|
+
captionTextWithFolder: string;
|
|
1932
|
+
captionTextWhenSelected: string;
|
|
1933
|
+
captionTextForCompactSize: string;
|
|
1934
|
+
browseLink: string;
|
|
1935
|
+
browseLinkFolder: string;
|
|
1936
|
+
browseLinkFolderMixed: string;
|
|
1937
|
+
title: string;
|
|
1938
|
+
};
|
|
1939
|
+
};
|
|
1940
|
+
codeBlock: {
|
|
1941
|
+
softWrapOnTooltip: string;
|
|
1942
|
+
softWrapOffTooltip: string;
|
|
1943
|
+
downloadTooltip: string;
|
|
1944
|
+
copiedTooltip: string;
|
|
1945
|
+
copyTooltip: string;
|
|
1946
|
+
viewAllText: string;
|
|
1947
|
+
viewLessText: string;
|
|
1948
|
+
openExternalSystemTooltip: string;
|
|
1949
|
+
};
|
|
1950
|
+
timezone: {
|
|
1951
|
+
searchPlaceholder: string;
|
|
1952
|
+
};
|
|
1953
|
+
actionsPanel: {
|
|
1954
|
+
closeTooltip: string;
|
|
1955
|
+
};
|
|
1956
|
+
filterBar: {
|
|
1957
|
+
reset: {
|
|
1958
|
+
buttonName: string;
|
|
1959
|
+
};
|
|
1960
|
+
search: {
|
|
1961
|
+
tooltip: string;
|
|
1962
|
+
placeholder: string;
|
|
1963
|
+
};
|
|
1964
|
+
filters: {
|
|
1965
|
+
defaultName: string;
|
|
1966
|
+
saveNewFilterTooltip: string;
|
|
1967
|
+
searchPlaceholder: string;
|
|
1968
|
+
searchEmptyResult: string;
|
|
1969
|
+
saveAsNewFilter: string;
|
|
1970
|
+
saveChanges: string;
|
|
1971
|
+
saveAsNew: string;
|
|
1972
|
+
change: string;
|
|
1973
|
+
resetChanges: string;
|
|
1974
|
+
remove: string;
|
|
1975
|
+
name: string;
|
|
1976
|
+
error: string;
|
|
1977
|
+
errorHint: string;
|
|
1978
|
+
saveButton: string;
|
|
1979
|
+
cancelButton: string;
|
|
1980
|
+
};
|
|
1981
|
+
add: {
|
|
1982
|
+
tooltip: string;
|
|
1983
|
+
};
|
|
1984
|
+
pipe: {
|
|
1985
|
+
clearButtonTooltip: string;
|
|
1986
|
+
removeButtonTooltip: string;
|
|
1987
|
+
applyButton: string;
|
|
1988
|
+
emptySearchResult: string;
|
|
1989
|
+
selectAll: string;
|
|
1990
|
+
};
|
|
1991
|
+
datePipe: {
|
|
1992
|
+
customPeriod: string;
|
|
1993
|
+
customPeriodFrom: string;
|
|
1994
|
+
customPeriodTo: string;
|
|
1995
|
+
customPeriodErrorHint: string;
|
|
1996
|
+
backToPeriodSelection: string;
|
|
1997
|
+
};
|
|
1998
|
+
};
|
|
1999
|
+
clampedText: {
|
|
2000
|
+
openText: string;
|
|
2001
|
+
closeText: string;
|
|
2002
|
+
showMoreText: string;
|
|
2003
|
+
moreText: string;
|
|
2004
|
+
};
|
|
2005
|
+
navbarIc: {
|
|
2006
|
+
toggle: {
|
|
2007
|
+
pinButton: string;
|
|
2008
|
+
collapseButton: string;
|
|
2009
|
+
};
|
|
2010
|
+
};
|
|
2011
|
+
navbar: {
|
|
2012
|
+
toggle: {
|
|
2013
|
+
expand: string;
|
|
2014
|
+
collapse: string;
|
|
2015
|
+
};
|
|
2016
|
+
};
|
|
2017
|
+
searchExpandable: {
|
|
2018
|
+
tooltip: string;
|
|
2019
|
+
placeholder: string;
|
|
2020
|
+
};
|
|
2021
|
+
appSwitcher: {
|
|
2022
|
+
searchPlaceholder: string;
|
|
2023
|
+
searchEmptyResult: string;
|
|
2024
|
+
sitesHeader: string;
|
|
2025
|
+
};
|
|
2026
|
+
timeRange: {
|
|
2027
|
+
title: {
|
|
2028
|
+
for: string;
|
|
2029
|
+
placeholder: string;
|
|
2030
|
+
};
|
|
2031
|
+
editor: {
|
|
2032
|
+
from: string;
|
|
2033
|
+
to: string;
|
|
2034
|
+
apply: string;
|
|
2035
|
+
cancel: string;
|
|
2036
|
+
rangeLabel: string;
|
|
2037
|
+
allTime: string;
|
|
2038
|
+
currentQuarter: string;
|
|
2039
|
+
currentYear: string;
|
|
2040
|
+
};
|
|
2041
|
+
durationTemplate: {
|
|
2042
|
+
title: {
|
|
2043
|
+
SEPARATOR: string;
|
|
2044
|
+
LAST_PART_SEPARATOR: string;
|
|
2045
|
+
YEARS: string;
|
|
2046
|
+
MONTHS: string;
|
|
2047
|
+
WEEKS: string;
|
|
2048
|
+
DAYS: string;
|
|
2049
|
+
HOURS: string;
|
|
2050
|
+
MINUTES: string;
|
|
2051
|
+
SECONDS: string;
|
|
2052
|
+
YEARS_FRACTION: string;
|
|
2053
|
+
MONTHS_FRACTION: string;
|
|
2054
|
+
};
|
|
2055
|
+
option: {
|
|
2056
|
+
SEPARATOR: string;
|
|
2057
|
+
LAST_PART_SEPARATOR: string;
|
|
2058
|
+
YEARS: string;
|
|
2059
|
+
MONTHS: string;
|
|
2060
|
+
WEEKS: string;
|
|
2061
|
+
DAYS: string;
|
|
2062
|
+
HOURS: string;
|
|
2063
|
+
MINUTES: string;
|
|
2064
|
+
SECONDS: string;
|
|
2065
|
+
YEARS_FRACTION: string;
|
|
2066
|
+
MONTHS_FRACTION: string;
|
|
2067
|
+
};
|
|
2068
|
+
};
|
|
2069
|
+
};
|
|
2070
|
+
notificationCenter: {
|
|
2071
|
+
notifications: string;
|
|
2072
|
+
remove: string;
|
|
2073
|
+
doNotDisturb: string;
|
|
2074
|
+
showPopUpNotifications: string;
|
|
2075
|
+
noNotifications: string;
|
|
2076
|
+
failedToLoadNotifications: string;
|
|
2077
|
+
repeat: string;
|
|
2078
|
+
};
|
|
2079
|
+
};
|
|
2080
|
+
'pt-BR': {
|
|
2081
|
+
formatters: {
|
|
2082
|
+
number: {
|
|
2083
|
+
rounding: {
|
|
2084
|
+
separator: string;
|
|
2085
|
+
groupSeparator: string;
|
|
2086
|
+
thousand: string;
|
|
2087
|
+
million: string;
|
|
2088
|
+
billion: string;
|
|
2089
|
+
trillion: string;
|
|
2090
|
+
};
|
|
2091
|
+
};
|
|
2092
|
+
};
|
|
2093
|
+
input: {
|
|
2094
|
+
number: {
|
|
2095
|
+
groupSeparator: string[];
|
|
2096
|
+
fractionSeparator: string;
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
2099
|
+
sizeUnits: {
|
|
2100
|
+
defaultUnitSystem: string;
|
|
2101
|
+
defaultPrecision: number;
|
|
2102
|
+
unitSystems: {
|
|
2103
|
+
SI: {
|
|
2104
|
+
abbreviations: string[];
|
|
2105
|
+
base: number;
|
|
2106
|
+
power: number;
|
|
2107
|
+
};
|
|
2108
|
+
IEC: {
|
|
2109
|
+
abbreviations: string[];
|
|
2110
|
+
base: number;
|
|
2111
|
+
power: number;
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2114
|
+
};
|
|
2115
|
+
select: {
|
|
2116
|
+
hiddenItemsText: string;
|
|
2117
|
+
};
|
|
2118
|
+
datepicker: {
|
|
2119
|
+
placeholder: string;
|
|
2120
|
+
};
|
|
2121
|
+
timepicker: {
|
|
2122
|
+
placeholder: {
|
|
2123
|
+
full: string;
|
|
2124
|
+
short: string;
|
|
2125
|
+
};
|
|
2126
|
+
};
|
|
2127
|
+
fileUpload: {
|
|
2128
|
+
single: {
|
|
2129
|
+
captionText: string;
|
|
2130
|
+
captionTextOnlyFolder: string;
|
|
2131
|
+
captionTextWithFolder: string;
|
|
2132
|
+
browseLink: string;
|
|
2133
|
+
browseLinkFolder: string;
|
|
2134
|
+
browseLinkFolderMixed: string;
|
|
2135
|
+
};
|
|
2136
|
+
multiple: {
|
|
2137
|
+
captionText: string;
|
|
2138
|
+
captionTextOnlyFolder: string;
|
|
2139
|
+
captionTextWithFolder: string;
|
|
2140
|
+
captionTextWhenSelected: string;
|
|
2141
|
+
captionTextForCompactSize: string;
|
|
2142
|
+
browseLink: string;
|
|
2143
|
+
browseLinkFolder: string;
|
|
2144
|
+
browseLinkFolderMixed: string;
|
|
2145
|
+
title: string;
|
|
2146
|
+
};
|
|
2147
|
+
};
|
|
2148
|
+
codeBlock: {
|
|
2149
|
+
softWrapOnTooltip: string;
|
|
2150
|
+
softWrapOffTooltip: string;
|
|
2151
|
+
downloadTooltip: string;
|
|
2152
|
+
copiedTooltip: string;
|
|
2153
|
+
copyTooltip: string;
|
|
2154
|
+
viewAllText: string;
|
|
2155
|
+
viewLessText: string;
|
|
2156
|
+
openExternalSystemTooltip: string;
|
|
2157
|
+
};
|
|
2158
|
+
timezone: {
|
|
2159
|
+
searchPlaceholder: string;
|
|
2160
|
+
};
|
|
2161
|
+
actionsPanel: {
|
|
2162
|
+
closeTooltip: string;
|
|
2163
|
+
};
|
|
2164
|
+
filterBar: {
|
|
2165
|
+
reset: {
|
|
2166
|
+
buttonName: string;
|
|
2167
|
+
};
|
|
2168
|
+
search: {
|
|
2169
|
+
tooltip: string;
|
|
2170
|
+
placeholder: string;
|
|
2171
|
+
};
|
|
2172
|
+
filters: {
|
|
2173
|
+
defaultName: string;
|
|
2174
|
+
saveNewFilterTooltip: string;
|
|
2175
|
+
searchPlaceholder: string;
|
|
2176
|
+
searchEmptyResult: string;
|
|
2177
|
+
saveAsNewFilter: string;
|
|
2178
|
+
saveChanges: string;
|
|
2179
|
+
saveAsNew: string;
|
|
2180
|
+
change: string;
|
|
2181
|
+
resetChanges: string;
|
|
2182
|
+
remove: string;
|
|
2183
|
+
name: string;
|
|
2184
|
+
error: string;
|
|
2185
|
+
errorHint: string;
|
|
2186
|
+
saveButton: string;
|
|
2187
|
+
cancelButton: string;
|
|
2188
|
+
};
|
|
2189
|
+
add: {
|
|
2190
|
+
tooltip: string;
|
|
2191
|
+
};
|
|
2192
|
+
pipe: {
|
|
2193
|
+
clearButtonTooltip: string;
|
|
2194
|
+
removeButtonTooltip: string;
|
|
2195
|
+
applyButton: string;
|
|
2196
|
+
emptySearchResult: string;
|
|
2197
|
+
selectAll: string;
|
|
2198
|
+
};
|
|
2199
|
+
datePipe: {
|
|
2200
|
+
customPeriod: string;
|
|
2201
|
+
customPeriodFrom: string;
|
|
2202
|
+
customPeriodTo: string;
|
|
2203
|
+
customPeriodErrorHint: string;
|
|
2204
|
+
backToPeriodSelection: string;
|
|
2205
|
+
};
|
|
2206
|
+
};
|
|
2207
|
+
clampedText: {
|
|
2208
|
+
openText: string;
|
|
2209
|
+
closeText: string;
|
|
2210
|
+
showMoreText: string;
|
|
2211
|
+
moreText: string;
|
|
2212
|
+
};
|
|
2213
|
+
navbarIc: {
|
|
2214
|
+
toggle: {
|
|
2215
|
+
pinButton: string;
|
|
2216
|
+
collapseButton: string;
|
|
2217
|
+
};
|
|
2218
|
+
};
|
|
2219
|
+
navbar: {
|
|
2220
|
+
toggle: {
|
|
2221
|
+
expand: string;
|
|
2222
|
+
collapse: string;
|
|
2223
|
+
};
|
|
2224
|
+
};
|
|
2225
|
+
searchExpandable: {
|
|
2226
|
+
tooltip: string;
|
|
2227
|
+
placeholder: string;
|
|
2228
|
+
};
|
|
2229
|
+
appSwitcher: {
|
|
2230
|
+
searchPlaceholder: string;
|
|
2231
|
+
searchEmptyResult: string;
|
|
2232
|
+
sitesHeader: string;
|
|
2233
|
+
};
|
|
2234
|
+
timeRange: {
|
|
2235
|
+
title: {
|
|
2236
|
+
for: string;
|
|
2237
|
+
placeholder: string;
|
|
2238
|
+
};
|
|
2239
|
+
editor: {
|
|
2240
|
+
from: string;
|
|
2241
|
+
to: string;
|
|
2242
|
+
apply: string;
|
|
2243
|
+
cancel: string;
|
|
2244
|
+
rangeLabel: string;
|
|
2245
|
+
allTime: string;
|
|
2246
|
+
currentQuarter: string;
|
|
2247
|
+
currentYear: string;
|
|
2248
|
+
};
|
|
2249
|
+
durationTemplate: {
|
|
2250
|
+
title: {
|
|
2251
|
+
SEPARATOR: string;
|
|
2252
|
+
LAST_PART_SEPARATOR: string;
|
|
2253
|
+
YEARS: string;
|
|
2254
|
+
MONTHS: string;
|
|
2255
|
+
WEEKS: string;
|
|
2256
|
+
DAYS: string;
|
|
2257
|
+
HOURS: string;
|
|
2258
|
+
MINUTES: string;
|
|
2259
|
+
SECONDS: string;
|
|
2260
|
+
YEARS_FRACTION: string;
|
|
2261
|
+
MONTHS_FRACTION: string;
|
|
2262
|
+
};
|
|
2263
|
+
option: {
|
|
2264
|
+
SEPARATOR: string;
|
|
2265
|
+
LAST_PART_SEPARATOR: string;
|
|
2266
|
+
YEARS: string;
|
|
2267
|
+
MONTHS: string;
|
|
2268
|
+
WEEKS: string;
|
|
2269
|
+
DAYS: string;
|
|
2270
|
+
HOURS: string;
|
|
2271
|
+
MINUTES: string;
|
|
2272
|
+
SECONDS: string;
|
|
2273
|
+
YEARS_FRACTION: string;
|
|
2274
|
+
MONTHS_FRACTION: string;
|
|
2275
|
+
};
|
|
2276
|
+
};
|
|
2277
|
+
};
|
|
2278
|
+
notificationCenter: {
|
|
2279
|
+
notifications: string;
|
|
2280
|
+
remove: string;
|
|
2281
|
+
doNotDisturb: string;
|
|
2282
|
+
showPopUpNotifications: string;
|
|
2283
|
+
noNotifications: string;
|
|
2284
|
+
failedToLoadNotifications: string;
|
|
2285
|
+
repeat: string;
|
|
2286
|
+
};
|
|
2287
|
+
};
|
|
2288
|
+
'ru-RU': {
|
|
2289
|
+
formatters: {
|
|
2290
|
+
number: {
|
|
2291
|
+
rounding: {
|
|
2292
|
+
separator: string;
|
|
2293
|
+
groupSeparator: string;
|
|
2294
|
+
thousand: string;
|
|
2295
|
+
million: string;
|
|
2296
|
+
billion: string;
|
|
2297
|
+
trillion: string;
|
|
2298
|
+
};
|
|
2299
|
+
decimal: {
|
|
2300
|
+
viewGroupSeparator: string;
|
|
2301
|
+
};
|
|
2302
|
+
};
|
|
2303
|
+
};
|
|
2304
|
+
input: {
|
|
2305
|
+
number: {
|
|
2306
|
+
groupSeparator: string[];
|
|
2307
|
+
fractionSeparator: string;
|
|
2308
|
+
startFormattingFrom: number;
|
|
2309
|
+
viewGroupSeparator: string;
|
|
2310
|
+
};
|
|
2311
|
+
};
|
|
2312
|
+
sizeUnits: {
|
|
2313
|
+
defaultUnitSystem: string;
|
|
2314
|
+
defaultPrecision: number;
|
|
2315
|
+
unitSystems: {
|
|
2316
|
+
SI: {
|
|
2317
|
+
abbreviations: string[];
|
|
2318
|
+
base: number;
|
|
2319
|
+
power: number;
|
|
2320
|
+
};
|
|
2321
|
+
IEC: {
|
|
2322
|
+
abbreviations: string[];
|
|
2323
|
+
base: number;
|
|
2324
|
+
power: number;
|
|
2325
|
+
};
|
|
2326
|
+
};
|
|
2327
|
+
};
|
|
2328
|
+
select: {
|
|
2329
|
+
hiddenItemsText: string;
|
|
2330
|
+
};
|
|
2331
|
+
datepicker: {
|
|
2332
|
+
placeholder: string;
|
|
2333
|
+
dateInput: string;
|
|
2334
|
+
};
|
|
2335
|
+
timepicker: {
|
|
2336
|
+
placeholder: {
|
|
2337
|
+
full: string;
|
|
2338
|
+
short: string;
|
|
2339
|
+
};
|
|
2340
|
+
};
|
|
2341
|
+
fileUpload: {
|
|
2342
|
+
single: {
|
|
2343
|
+
captionText: string;
|
|
2344
|
+
captionTextOnlyFolder: string;
|
|
2345
|
+
captionTextWithFolder: string;
|
|
2346
|
+
browseLink: string;
|
|
2347
|
+
browseLinkFolder: string;
|
|
2348
|
+
browseLinkFolderMixed: string;
|
|
2349
|
+
};
|
|
2350
|
+
multiple: {
|
|
2351
|
+
captionText: string;
|
|
2352
|
+
captionTextOnlyFolder: string;
|
|
2353
|
+
captionTextWithFolder: string;
|
|
2354
|
+
captionTextWhenSelected: string;
|
|
2355
|
+
captionTextForCompactSize: string;
|
|
2356
|
+
browseLink: string;
|
|
2357
|
+
browseLinkFolder: string;
|
|
2358
|
+
browseLinkFolderMixed: string;
|
|
2359
|
+
title: string;
|
|
2360
|
+
};
|
|
2361
|
+
};
|
|
2362
|
+
codeBlock: {
|
|
2363
|
+
softWrapOnTooltip: string;
|
|
2364
|
+
softWrapOffTooltip: string;
|
|
2365
|
+
downloadTooltip: string;
|
|
2366
|
+
copiedTooltip: string;
|
|
2367
|
+
copyTooltip: string;
|
|
2368
|
+
viewAllText: string;
|
|
2369
|
+
viewLessText: string;
|
|
2370
|
+
openExternalSystemTooltip: string;
|
|
2371
|
+
};
|
|
2372
|
+
timezone: {
|
|
2373
|
+
searchPlaceholder: string;
|
|
2374
|
+
};
|
|
2375
|
+
actionsPanel: {
|
|
2376
|
+
closeTooltip: string;
|
|
2377
|
+
};
|
|
2378
|
+
filterBar: {
|
|
2379
|
+
reset: {
|
|
2380
|
+
buttonName: string;
|
|
2381
|
+
};
|
|
2382
|
+
search: {
|
|
2383
|
+
tooltip: string;
|
|
2384
|
+
placeholder: string;
|
|
2385
|
+
};
|
|
2386
|
+
filters: {
|
|
2387
|
+
defaultName: string;
|
|
2388
|
+
saveNewFilterTooltip: string;
|
|
2389
|
+
searchPlaceholder: string;
|
|
2390
|
+
searchEmptyResult: string;
|
|
2391
|
+
saveAsNewFilter: string;
|
|
2392
|
+
saveChanges: string;
|
|
2393
|
+
saveAsNew: string;
|
|
2394
|
+
change: string;
|
|
2395
|
+
resetChanges: string;
|
|
2396
|
+
remove: string;
|
|
2397
|
+
name: string;
|
|
2398
|
+
error: string;
|
|
2399
|
+
errorHint: string;
|
|
2400
|
+
saveButton: string;
|
|
2401
|
+
cancelButton: string;
|
|
2402
|
+
};
|
|
2403
|
+
add: {
|
|
2404
|
+
tooltip: string;
|
|
2405
|
+
};
|
|
2406
|
+
pipe: {
|
|
2407
|
+
clearButtonTooltip: string;
|
|
2408
|
+
removeButtonTooltip: string;
|
|
2409
|
+
applyButton: string;
|
|
2410
|
+
emptySearchResult: string;
|
|
2411
|
+
selectAll: string;
|
|
2412
|
+
};
|
|
2413
|
+
datePipe: {
|
|
2414
|
+
customPeriod: string;
|
|
2415
|
+
customPeriodFrom: string;
|
|
2416
|
+
customPeriodTo: string;
|
|
2417
|
+
customPeriodErrorHint: string;
|
|
2418
|
+
backToPeriodSelection: string;
|
|
2419
|
+
};
|
|
2420
|
+
};
|
|
2421
|
+
clampedText: {
|
|
2422
|
+
openText: string;
|
|
2423
|
+
closeText: string;
|
|
2424
|
+
showMoreText: string;
|
|
2425
|
+
moreText: string;
|
|
2426
|
+
};
|
|
2427
|
+
navbarIc: {
|
|
2428
|
+
toggle: {
|
|
2429
|
+
pinButton: string;
|
|
2430
|
+
collapseButton: string;
|
|
2431
|
+
};
|
|
2432
|
+
};
|
|
2433
|
+
navbar: {
|
|
2434
|
+
toggle: {
|
|
2435
|
+
expand: string;
|
|
2436
|
+
collapse: string;
|
|
2437
|
+
};
|
|
2438
|
+
};
|
|
2439
|
+
searchExpandable: {
|
|
2440
|
+
tooltip: string;
|
|
2441
|
+
placeholder: string;
|
|
2442
|
+
};
|
|
2443
|
+
appSwitcher: {
|
|
2444
|
+
searchPlaceholder: string;
|
|
2445
|
+
searchEmptyResult: string;
|
|
2446
|
+
sitesHeader: string;
|
|
2447
|
+
};
|
|
2448
|
+
timeRange: {
|
|
2449
|
+
title: {
|
|
2450
|
+
for: string;
|
|
2451
|
+
placeholder: string;
|
|
2452
|
+
};
|
|
2453
|
+
editor: {
|
|
2454
|
+
from: string;
|
|
2455
|
+
to: string;
|
|
2456
|
+
apply: string;
|
|
2457
|
+
cancel: string;
|
|
2458
|
+
rangeLabel: string;
|
|
2459
|
+
allTime: string;
|
|
2460
|
+
currentQuarter: string;
|
|
2461
|
+
currentYear: string;
|
|
2462
|
+
};
|
|
2463
|
+
durationTemplate: {
|
|
2464
|
+
title: {
|
|
2465
|
+
SEPARATOR: string;
|
|
2466
|
+
LAST_PART_SEPARATOR: string;
|
|
2467
|
+
YEARS: string;
|
|
2468
|
+
MONTHS: string;
|
|
2469
|
+
WEEKS: string;
|
|
2470
|
+
DAYS: string;
|
|
2471
|
+
HOURS: string;
|
|
2472
|
+
MINUTES: string;
|
|
2473
|
+
SECONDS: string;
|
|
2474
|
+
YEARS_FRACTION: string;
|
|
2475
|
+
MONTHS_FRACTION: string;
|
|
2476
|
+
};
|
|
2477
|
+
option: {
|
|
2478
|
+
SEPARATOR: string;
|
|
2479
|
+
LAST_PART_SEPARATOR: string;
|
|
2480
|
+
YEARS: string;
|
|
2481
|
+
MONTHS: string;
|
|
2482
|
+
WEEKS: string;
|
|
2483
|
+
DAYS: string;
|
|
2484
|
+
HOURS: string;
|
|
2485
|
+
MINUTES: string;
|
|
2486
|
+
SECONDS: string;
|
|
2487
|
+
YEARS_FRACTION: string;
|
|
2488
|
+
MONTHS_FRACTION: string;
|
|
2489
|
+
};
|
|
2490
|
+
};
|
|
2491
|
+
};
|
|
2492
|
+
notificationCenter: {
|
|
2493
|
+
notifications: string;
|
|
2494
|
+
remove: string;
|
|
2495
|
+
doNotDisturb: string;
|
|
2496
|
+
showPopUpNotifications: string;
|
|
2497
|
+
noNotifications: string;
|
|
2498
|
+
failedToLoadNotifications: string;
|
|
2499
|
+
repeat: string;
|
|
2500
|
+
};
|
|
2501
|
+
};
|
|
2502
|
+
'tk-TM': {
|
|
2503
|
+
formatters: {
|
|
2504
|
+
number: {
|
|
2505
|
+
rounding: {
|
|
2506
|
+
separator: string;
|
|
2507
|
+
groupSeparator: string;
|
|
2508
|
+
thousand: string;
|
|
2509
|
+
million: string;
|
|
2510
|
+
billion: string;
|
|
2511
|
+
trillion: string;
|
|
2512
|
+
};
|
|
2513
|
+
};
|
|
2514
|
+
};
|
|
2515
|
+
input: {
|
|
2516
|
+
number: {
|
|
2517
|
+
groupSeparator: string[];
|
|
2518
|
+
fractionSeparator: string;
|
|
2519
|
+
viewGroupSeparator: string;
|
|
2520
|
+
};
|
|
2521
|
+
};
|
|
2522
|
+
sizeUnits: {
|
|
2523
|
+
defaultUnitSystem: string;
|
|
2524
|
+
defaultPrecision: number;
|
|
2525
|
+
unitSystems: {
|
|
2526
|
+
SI: {
|
|
2527
|
+
abbreviations: string[];
|
|
2528
|
+
base: number;
|
|
2529
|
+
power: number;
|
|
2530
|
+
};
|
|
2531
|
+
IEC: {
|
|
2532
|
+
abbreviations: string[];
|
|
2533
|
+
base: number;
|
|
2534
|
+
power: number;
|
|
2535
|
+
};
|
|
2536
|
+
};
|
|
2537
|
+
};
|
|
2538
|
+
select: {
|
|
2539
|
+
hiddenItemsText: string;
|
|
2540
|
+
};
|
|
2541
|
+
datepicker: {
|
|
2542
|
+
placeholder: string;
|
|
2543
|
+
dateInput: string;
|
|
2544
|
+
};
|
|
2545
|
+
timepicker: {
|
|
2546
|
+
placeholder: {
|
|
2547
|
+
full: string;
|
|
2548
|
+
short: string;
|
|
2549
|
+
};
|
|
2550
|
+
};
|
|
2551
|
+
fileUpload: {
|
|
2552
|
+
single: {
|
|
2553
|
+
captionText: string;
|
|
2554
|
+
captionTextOnlyFolder: string;
|
|
2555
|
+
captionTextWithFolder: string;
|
|
2556
|
+
browseLink: string;
|
|
2557
|
+
browseLinkFolder: string;
|
|
2558
|
+
browseLinkFolderMixed: string;
|
|
2559
|
+
};
|
|
2560
|
+
multiple: {
|
|
2561
|
+
captionText: string;
|
|
2562
|
+
captionTextOnlyFolder: string;
|
|
2563
|
+
captionTextWithFolder: string;
|
|
2564
|
+
captionTextWhenSelected: string;
|
|
2565
|
+
captionTextForCompactSize: string;
|
|
2566
|
+
browseLink: string;
|
|
2567
|
+
browseLinkFolder: string;
|
|
2568
|
+
browseLinkFolderMixed: string;
|
|
2569
|
+
title: string;
|
|
2570
|
+
};
|
|
2571
|
+
};
|
|
2572
|
+
codeBlock: {
|
|
2573
|
+
softWrapOnTooltip: string;
|
|
2574
|
+
softWrapOffTooltip: string;
|
|
2575
|
+
downloadTooltip: string;
|
|
2576
|
+
copiedTooltip: string;
|
|
2577
|
+
copyTooltip: string;
|
|
2578
|
+
viewAllText: string;
|
|
2579
|
+
viewLessText: string;
|
|
2580
|
+
openExternalSystemTooltip: string;
|
|
2581
|
+
};
|
|
2582
|
+
timezone: {
|
|
2583
|
+
searchPlaceholder: string;
|
|
2584
|
+
};
|
|
2585
|
+
actionsPanel: {
|
|
2586
|
+
closeTooltip: string;
|
|
2587
|
+
};
|
|
2588
|
+
filterBar: {
|
|
2589
|
+
reset: {
|
|
2590
|
+
buttonName: string;
|
|
2591
|
+
};
|
|
2592
|
+
search: {
|
|
2593
|
+
tooltip: string;
|
|
2594
|
+
placeholder: string;
|
|
2595
|
+
};
|
|
2596
|
+
filters: {
|
|
2597
|
+
defaultName: string;
|
|
2598
|
+
saveNewFilterTooltip: string;
|
|
2599
|
+
searchPlaceholder: string;
|
|
2600
|
+
searchEmptyResult: string;
|
|
2601
|
+
saveAsNewFilter: string;
|
|
2602
|
+
saveChanges: string;
|
|
2603
|
+
saveAsNew: string;
|
|
2604
|
+
change: string;
|
|
2605
|
+
resetChanges: string;
|
|
2606
|
+
remove: string;
|
|
2607
|
+
name: string;
|
|
2608
|
+
error: string;
|
|
2609
|
+
errorHint: string;
|
|
2610
|
+
saveButton: string;
|
|
2611
|
+
cancelButton: string;
|
|
2612
|
+
};
|
|
2613
|
+
add: {
|
|
2614
|
+
tooltip: string;
|
|
2615
|
+
};
|
|
2616
|
+
pipe: {
|
|
2617
|
+
clearButtonTooltip: string;
|
|
2618
|
+
removeButtonTooltip: string;
|
|
2619
|
+
applyButton: string;
|
|
2620
|
+
emptySearchResult: string;
|
|
2621
|
+
selectAll: string;
|
|
2622
|
+
};
|
|
2623
|
+
datePipe: {
|
|
2624
|
+
customPeriod: string;
|
|
2625
|
+
customPeriodFrom: string;
|
|
2626
|
+
customPeriodTo: string;
|
|
2627
|
+
customPeriodErrorHint: string;
|
|
2628
|
+
backToPeriodSelection: string;
|
|
2629
|
+
};
|
|
2630
|
+
};
|
|
2631
|
+
clampedText: {
|
|
2632
|
+
openText: string;
|
|
2633
|
+
closeText: string;
|
|
2634
|
+
showMoreText: string;
|
|
2635
|
+
moreText: string;
|
|
2636
|
+
};
|
|
2637
|
+
navbarIc: {
|
|
2638
|
+
toggle: {
|
|
2639
|
+
pinButton: string;
|
|
2640
|
+
collapseButton: string;
|
|
2641
|
+
};
|
|
2642
|
+
};
|
|
2643
|
+
navbar: {
|
|
2644
|
+
toggle: {
|
|
2645
|
+
expand: string;
|
|
2646
|
+
collapse: string;
|
|
2647
|
+
};
|
|
2648
|
+
};
|
|
2649
|
+
searchExpandable: {
|
|
2650
|
+
tooltip: string;
|
|
2651
|
+
placeholder: string;
|
|
2652
|
+
};
|
|
2653
|
+
appSwitcher: {
|
|
2654
|
+
searchPlaceholder: string;
|
|
2655
|
+
searchEmptyResult: string;
|
|
2656
|
+
sitesHeader: string;
|
|
2657
|
+
};
|
|
2658
|
+
timeRange: {
|
|
2659
|
+
title: {
|
|
2660
|
+
for: string;
|
|
2661
|
+
placeholder: string;
|
|
2662
|
+
};
|
|
2663
|
+
editor: {
|
|
2664
|
+
from: string;
|
|
2665
|
+
to: string;
|
|
2666
|
+
apply: string;
|
|
2667
|
+
cancel: string;
|
|
2668
|
+
rangeLabel: string;
|
|
2669
|
+
allTime: string;
|
|
2670
|
+
currentQuarter: string;
|
|
2671
|
+
currentYear: string;
|
|
2672
|
+
};
|
|
2673
|
+
durationTemplate: {
|
|
2674
|
+
title: {
|
|
2675
|
+
SEPARATOR: string;
|
|
2676
|
+
LAST_PART_SEPARATOR: string;
|
|
2677
|
+
YEARS: string;
|
|
2678
|
+
MONTHS: string;
|
|
2679
|
+
WEEKS: string;
|
|
2680
|
+
DAYS: string;
|
|
2681
|
+
HOURS: string;
|
|
2682
|
+
MINUTES: string;
|
|
2683
|
+
SECONDS: string;
|
|
2684
|
+
YEARS_FRACTION: string;
|
|
2685
|
+
MONTHS_FRACTION: string;
|
|
2686
|
+
};
|
|
2687
|
+
option: {
|
|
2688
|
+
SEPARATOR: string;
|
|
2689
|
+
LAST_PART_SEPARATOR: string;
|
|
2690
|
+
YEARS: string;
|
|
2691
|
+
MONTHS: string;
|
|
2692
|
+
WEEKS: string;
|
|
2693
|
+
DAYS: string;
|
|
2694
|
+
HOURS: string;
|
|
2695
|
+
MINUTES: string;
|
|
2696
|
+
SECONDS: string;
|
|
2697
|
+
YEARS_FRACTION: string;
|
|
2698
|
+
MONTHS_FRACTION: string;
|
|
2699
|
+
};
|
|
2700
|
+
};
|
|
2701
|
+
};
|
|
2702
|
+
notificationCenter: {
|
|
2703
|
+
notifications: string;
|
|
2704
|
+
remove: string;
|
|
2705
|
+
doNotDisturb: string;
|
|
2706
|
+
showPopUpNotifications: string;
|
|
2707
|
+
noNotifications: string;
|
|
2708
|
+
failedToLoadNotifications: string;
|
|
2709
|
+
repeat: string;
|
|
2710
|
+
};
|
|
2711
|
+
};
|
|
2712
|
+
};
|
|
2713
|
+
declare const KBQ_LOCALE_DATA: InjectionToken<any>;
|
|
2714
|
+
declare const KBQ_LOCALE_SERVICE: InjectionToken<KbqLocaleService>;
|
|
2715
|
+
/**
|
|
2716
|
+
* Attribute name to be used to set the locale in the html element.
|
|
2717
|
+
*
|
|
2718
|
+
* @default 'lang'
|
|
2719
|
+
*
|
|
2720
|
+
* @docs-private
|
|
2721
|
+
*/
|
|
2722
|
+
declare const KBQ_LOCALE_SERVICE_LANG_ATTR_NAME: InjectionToken<string>;
|
|
2723
|
+
/**
|
|
2724
|
+
* Utility provider to configure the attribute name to be used to set the locale in the html element.
|
|
2725
|
+
*
|
|
2726
|
+
* @see KBQ_LOCALE_SERVICE_LANG_ATTR_NAME
|
|
2727
|
+
*
|
|
2728
|
+
* @docs-private
|
|
2729
|
+
*/
|
|
2730
|
+
declare const kbqLocaleServiceLangAttrNameProvider: (attrName: string) => Provider;
|
|
2731
|
+
declare class KbqLocaleService {
|
|
2732
|
+
readonly changes: BehaviorSubject<string>;
|
|
2733
|
+
readonly locales: any;
|
|
2734
|
+
private readonly document;
|
|
2735
|
+
id: string;
|
|
2736
|
+
current: any;
|
|
2737
|
+
private readonly langAttrName;
|
|
2738
|
+
constructor();
|
|
2739
|
+
setLocale(id: string): void;
|
|
2740
|
+
addLocale(id: string, localeData: any): void;
|
|
2741
|
+
getParams(componentName: string): any;
|
|
2742
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqLocaleService, never>;
|
|
2743
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KbqLocaleService>;
|
|
2744
|
+
}
|
|
2745
|
+
/** @docs-private */
|
|
2746
|
+
declare const KBQ_DEFAULT_PRECISION_SEPARATOR = ".";
|
|
2747
|
+
/** @docs-private */
|
|
2748
|
+
declare function numberByParts(value: string, customConfig: Pick<KbqNumberInputLocaleConfig, 'fractionSeparator' | 'groupSeparator'>): {
|
|
2749
|
+
integer: string;
|
|
2750
|
+
fraction: string;
|
|
2751
|
+
};
|
|
2752
|
+
/**
|
|
2753
|
+
* Function that returns a string representation of a number without localized separators
|
|
2754
|
+
*/
|
|
2755
|
+
declare function normalizeNumber(value: string | null | undefined, customConfig: Pick<KbqNumberInputLocaleConfig, 'fractionSeparator' | 'groupSeparator'>): string;
|
|
2756
|
+
/**
|
|
2757
|
+
* Function that parse string and return a number. The string can be in any locale.
|
|
2758
|
+
*/
|
|
2759
|
+
declare function checkAndNormalizeLocalizedNumber(num: string | null | undefined, locale?: string): number | null;
|
|
2760
|
+
|
|
2761
|
+
declare class KbqLocaleServiceModule {
|
|
2762
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqLocaleServiceModule, never>;
|
|
2763
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqLocaleServiceModule, never, never, never>;
|
|
2764
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KbqLocaleServiceModule>;
|
|
2765
|
+
}
|
|
2766
|
+
|
|
2767
|
+
declare class DateFormatter<D> extends DateFormatter$1<D> {
|
|
2768
|
+
readonly adapter: DateAdapter$1<D>;
|
|
2769
|
+
protected localeService: KbqLocaleService | null;
|
|
2770
|
+
constructor();
|
|
2771
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatter<any>, never>;
|
|
2772
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateFormatter<any>>;
|
|
2773
|
+
}
|
|
2774
|
+
|
|
2775
|
+
declare class BaseFormatterPipe<D> {
|
|
2776
|
+
protected readonly adapter: DateAdapter<D>;
|
|
2777
|
+
protected readonly formatter: DateFormatter<D>;
|
|
2778
|
+
}
|
|
2779
|
+
/**
|
|
2780
|
+
* Base class for impure date-formatter pipes that recompute their result
|
|
2781
|
+
* whenever the active locale changes via `KbqLocaleService`.
|
|
2782
|
+
*
|
|
2783
|
+
* The base class owns:
|
|
2784
|
+
* - a subscription to `KbqLocaleService.changes` that invalidates the cache and
|
|
2785
|
+
* marks the host for check (the same approach the built-in `AsyncPipe` uses);
|
|
2786
|
+
* - caching by `(value, args, localeId)`, so the impure `transform()` only does
|
|
2787
|
+
* real work when an input or the active locale actually changed.
|
|
2788
|
+
*
|
|
2789
|
+
* Subclasses implement `format()`, which receives the raw pipe input(s) — a
|
|
2790
|
+
* single value for absolute/relative pipes, or a `[from, to]` tuple for range
|
|
2791
|
+
* pipes — deserializes via `this.adapter` and calls the matching
|
|
2792
|
+
* `DateFormatter` method.
|
|
2793
|
+
*
|
|
2794
|
+
* @docs-private
|
|
2795
|
+
*/
|
|
2796
|
+
declare abstract class BaseLocaleAwareFormatterPipe<D, Value = D | string, Args extends unknown[] = unknown[]> extends BaseFormatterPipe<D> {
|
|
2797
|
+
private readonly changeDetectorRef;
|
|
2798
|
+
private readonly localeService;
|
|
2799
|
+
private cachedValue;
|
|
2800
|
+
private cachedArgs;
|
|
2801
|
+
private cachedLocaleId;
|
|
2802
|
+
private cachedResult;
|
|
2803
|
+
private hasCache;
|
|
2804
|
+
constructor();
|
|
2805
|
+
transform(value: Value, ...args: Args): string;
|
|
2806
|
+
protected abstract format(value: Value, ...args: Args): string;
|
|
2807
|
+
private argsEqual;
|
|
2808
|
+
}
|
|
2809
|
+
declare class AbsoluteDateFormatterPipe<D> extends BaseFormatterPipe<D> implements PipeTransform {
|
|
2810
|
+
transform(value: D | string, currYear?: boolean): string;
|
|
2811
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbsoluteDateFormatterPipe<any>, never>;
|
|
2812
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AbsoluteDateFormatterPipe<any>, "absoluteLongDate", true>;
|
|
2813
|
+
}
|
|
2814
|
+
declare class AbsoluteDateFormatterImpurePipe<D> extends AbsoluteDateFormatterPipe<D> {
|
|
2815
|
+
transform(value: string | D, currYear?: boolean): string;
|
|
2816
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbsoluteDateFormatterImpurePipe<any>, never>;
|
|
2817
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AbsoluteDateFormatterImpurePipe<any>, "absoluteLongDateImpurePipe", true>;
|
|
2818
|
+
}
|
|
2819
|
+
declare class AbsoluteDateTimeFormatterPipe<D> extends BaseFormatterPipe<D> implements PipeTransform {
|
|
2820
|
+
transform(value: D | string, options?: DateTimeOptions): string;
|
|
2821
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbsoluteDateTimeFormatterPipe<any>, never>;
|
|
2822
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AbsoluteDateTimeFormatterPipe<any>, "absoluteLongDateTime", true>;
|
|
2823
|
+
}
|
|
2824
|
+
declare class AbsoluteDateTimeFormatterImpurePipe<D> extends AbsoluteDateTimeFormatterPipe<D> {
|
|
2825
|
+
transform(value: string | D, options?: DateTimeOptions): string;
|
|
2826
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbsoluteDateTimeFormatterImpurePipe<any>, never>;
|
|
2827
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AbsoluteDateTimeFormatterImpurePipe<any>, "absoluteLongDateTimeImpurePipe", true>;
|
|
2828
|
+
}
|
|
2829
|
+
declare class AbsoluteDateShortFormatterPipe<D> extends BaseFormatterPipe<D> implements PipeTransform {
|
|
2830
|
+
transform(value: D | string, currYear?: boolean): string;
|
|
2831
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbsoluteDateShortFormatterPipe<any>, never>;
|
|
2832
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AbsoluteDateShortFormatterPipe<any>, "absoluteShortDate", true>;
|
|
2833
|
+
}
|
|
2834
|
+
declare class AbsoluteDateShortFormatterImpurePipe<D> extends AbsoluteDateShortFormatterPipe<D> {
|
|
2835
|
+
transform(value: string | D, currYear?: boolean): string;
|
|
2836
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbsoluteDateShortFormatterImpurePipe<any>, never>;
|
|
2837
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AbsoluteDateShortFormatterImpurePipe<any>, "absoluteShortDateImpurePipe", true>;
|
|
2838
|
+
}
|
|
2839
|
+
declare class AbsoluteShortDateTimeFormatterPipe<D> extends BaseFormatterPipe<D> implements PipeTransform {
|
|
2840
|
+
transform(value: D | string, options?: DateTimeOptions): string;
|
|
2841
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbsoluteShortDateTimeFormatterPipe<any>, never>;
|
|
2842
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AbsoluteShortDateTimeFormatterPipe<any>, "absoluteShortDateTime", true>;
|
|
2843
|
+
}
|
|
2844
|
+
declare class AbsoluteShortDateTimeFormatterImpurePipe<D> extends AbsoluteShortDateTimeFormatterPipe<D> {
|
|
2845
|
+
transform(value: string | D, options?: DateTimeOptions): string;
|
|
2846
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbsoluteShortDateTimeFormatterImpurePipe<any>, never>;
|
|
2847
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AbsoluteShortDateTimeFormatterImpurePipe<any>, "absoluteShortDateTimeImpurePipe", true>;
|
|
2848
|
+
}
|
|
2849
|
+
declare class RelativeDateFormatterPipe<D> extends BaseFormatterPipe<D> implements PipeTransform {
|
|
2850
|
+
transform(value: D | string): string;
|
|
2851
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RelativeDateFormatterPipe<any>, never>;
|
|
2852
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RelativeDateFormatterPipe<any>, "relativeLongDate", true>;
|
|
2853
|
+
}
|
|
2854
|
+
declare class RelativeDateFormatterImpurePipe<D> extends RelativeDateFormatterPipe<D> {
|
|
2855
|
+
transform(value: string | D): string;
|
|
2856
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RelativeDateFormatterImpurePipe<any>, never>;
|
|
2857
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RelativeDateFormatterImpurePipe<any>, "relativeLongDateImpurePipe", true>;
|
|
2858
|
+
}
|
|
2859
|
+
declare class RelativeDateTimeFormatterPipe<D> extends BaseFormatterPipe<D> implements PipeTransform {
|
|
2860
|
+
transform(value: D | string, options?: DateTimeOptions): string;
|
|
2861
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RelativeDateTimeFormatterPipe<any>, never>;
|
|
2862
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RelativeDateTimeFormatterPipe<any>, "relativeLongDateTime", true>;
|
|
2863
|
+
}
|
|
2864
|
+
declare class RelativeDateTimeFormatterImpurePipe<D> extends RelativeDateTimeFormatterPipe<D> {
|
|
2865
|
+
transform(value: string | D, options?: DateTimeOptions): string;
|
|
2866
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RelativeDateTimeFormatterImpurePipe<any>, never>;
|
|
2867
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RelativeDateTimeFormatterImpurePipe<any>, "relativeLongDateTimeImpurePipe", true>;
|
|
2868
|
+
}
|
|
2869
|
+
declare class RelativeShortDateFormatterPipe<D> extends BaseFormatterPipe<D> implements PipeTransform {
|
|
2870
|
+
transform(value: D | string): string;
|
|
2871
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RelativeShortDateFormatterPipe<any>, never>;
|
|
2872
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RelativeShortDateFormatterPipe<any>, "relativeShortDate", true>;
|
|
2873
|
+
}
|
|
2874
|
+
declare class RelativeShortDateFormatterImpurePipe<D> extends RelativeShortDateFormatterPipe<D> {
|
|
2875
|
+
transform(value: string | D): string;
|
|
2876
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RelativeShortDateFormatterImpurePipe<any>, never>;
|
|
2877
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RelativeShortDateFormatterImpurePipe<any>, "relativeShortDateImpurePipe", true>;
|
|
2878
|
+
}
|
|
2879
|
+
declare class RelativeShortDateTimeFormatterPipe<D> extends BaseFormatterPipe<D> implements PipeTransform {
|
|
2880
|
+
transform(value: D | string, options?: DateTimeOptions): string;
|
|
2881
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RelativeShortDateTimeFormatterPipe<any>, never>;
|
|
2882
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RelativeShortDateTimeFormatterPipe<any>, "relativeShortDateTime", true>;
|
|
2883
|
+
}
|
|
2884
|
+
declare class RelativeShortDateTimeFormatterImpurePipe<D> extends RelativeShortDateTimeFormatterPipe<D> {
|
|
2885
|
+
transform(value: string | D, options?: DateTimeOptions): string;
|
|
2886
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RelativeShortDateTimeFormatterImpurePipe<any>, never>;
|
|
2887
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RelativeShortDateTimeFormatterImpurePipe<any>, "relativeShortDateTimeImpurePipe", true>;
|
|
2888
|
+
}
|
|
2889
|
+
declare class RangeDateFormatterPipe<D> extends BaseFormatterPipe<D> implements PipeTransform {
|
|
2890
|
+
transform([value1, value2]: D[] | string[]): string;
|
|
2891
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeDateFormatterPipe<any>, never>;
|
|
2892
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RangeDateFormatterPipe<any>, "rangeLongDate", true>;
|
|
2893
|
+
}
|
|
2894
|
+
declare class RangeDateFormatterImpurePipe<D> extends RangeDateFormatterPipe<D> {
|
|
2895
|
+
transform([value1, value2]: D[] | string[]): string;
|
|
2896
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeDateFormatterImpurePipe<any>, never>;
|
|
2897
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RangeDateFormatterImpurePipe<any>, "rangeLongDateImpurePipe", true>;
|
|
2898
|
+
}
|
|
2899
|
+
declare class RangeShortDateFormatterPipe<D> extends BaseFormatterPipe<D> implements PipeTransform {
|
|
2900
|
+
transform([value1, value2]: D[] | string[]): string;
|
|
2901
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeShortDateFormatterPipe<any>, never>;
|
|
2902
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RangeShortDateFormatterPipe<any>, "rangeShortDate", true>;
|
|
2903
|
+
}
|
|
2904
|
+
declare class RangeShortDateFormatterImpurePipe<D> extends RangeShortDateFormatterPipe<D> {
|
|
2905
|
+
transform([value1, value2]: D[] | string[]): string;
|
|
2906
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeShortDateFormatterImpurePipe<any>, never>;
|
|
2907
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RangeShortDateFormatterImpurePipe<any>, "rangeShortDateImpurePipe", true>;
|
|
2908
|
+
}
|
|
2909
|
+
declare class RangeDateTimeFormatterPipe<D> extends BaseFormatterPipe<D> implements PipeTransform {
|
|
2910
|
+
transform([value1, value2]: D[] | string[], options?: DateTimeOptions): string;
|
|
2911
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeDateTimeFormatterPipe<any>, never>;
|
|
2912
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RangeDateTimeFormatterPipe<any>, "rangeLongDateTime", true>;
|
|
2913
|
+
}
|
|
2914
|
+
declare class RangeDateTimeFormatterImpurePipe<D> extends RangeDateTimeFormatterPipe<D> {
|
|
2915
|
+
transform([value1, value2]: D[] | string[], options?: DateTimeOptions): string;
|
|
2916
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeDateTimeFormatterImpurePipe<any>, never>;
|
|
2917
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RangeDateTimeFormatterImpurePipe<any>, "rangeLongDateTimeImpurePipe", true>;
|
|
2918
|
+
}
|
|
2919
|
+
declare class RangeMiddleDateTimeFormatterPipe<D> extends BaseFormatterPipe<D> implements PipeTransform {
|
|
2920
|
+
transform([value1, value2]: D[] | string[], options?: DateTimeOptions): string;
|
|
2921
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeMiddleDateTimeFormatterPipe<any>, never>;
|
|
2922
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RangeMiddleDateTimeFormatterPipe<any>, "rangeMiddleDateTime", true>;
|
|
2923
|
+
}
|
|
2924
|
+
declare class RangeMiddleDateTimeFormatterImpurePipe<D> extends RangeMiddleDateTimeFormatterPipe<D> {
|
|
2925
|
+
transform([value1, value2]: D[] | string[], options?: DateTimeOptions): string;
|
|
2926
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeMiddleDateTimeFormatterImpurePipe<any>, never>;
|
|
2927
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RangeMiddleDateTimeFormatterImpurePipe<any>, "rangeMiddleDateTimeImpurePipe", true>;
|
|
2928
|
+
}
|
|
2929
|
+
declare class RangeShortDateTimeFormatterPipe<D> extends BaseFormatterPipe<D> implements PipeTransform {
|
|
2930
|
+
transform([value1, value2]: D[] | string[], options?: DateTimeOptions): string;
|
|
2931
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeShortDateTimeFormatterPipe<any>, never>;
|
|
2932
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RangeShortDateTimeFormatterPipe<any>, "rangeShortDateTime", true>;
|
|
2933
|
+
}
|
|
2934
|
+
declare class RangeShortDateTimeFormatterImpurePipe<D> extends RangeShortDateTimeFormatterPipe<D> {
|
|
2935
|
+
transform([value1, value2]: D[] | string[], options?: DateTimeOptions): string;
|
|
2936
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeShortDateTimeFormatterImpurePipe<any>, never>;
|
|
2937
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RangeShortDateTimeFormatterImpurePipe<any>, "rangeShortDateTimeImpurePipe", true>;
|
|
2938
|
+
}
|
|
2939
|
+
declare class KbqAbsoluteLongDatePipe<D> extends BaseLocaleAwareFormatterPipe<D, D | string, [currYear?: boolean]> implements PipeTransform {
|
|
2940
|
+
transform(value: D | string, currYear?: boolean): string;
|
|
2941
|
+
protected format(value: D | string, currYear?: boolean): string;
|
|
2942
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAbsoluteLongDatePipe<any>, never>;
|
|
2943
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqAbsoluteLongDatePipe<any>, "kbqAbsoluteLongDate", true>;
|
|
2944
|
+
}
|
|
2945
|
+
declare class KbqAbsoluteShortDatePipe<D> extends BaseLocaleAwareFormatterPipe<D, D | string, [currYear?: boolean]> implements PipeTransform {
|
|
2946
|
+
transform(value: D | string, currYear?: boolean): string;
|
|
2947
|
+
protected format(value: D | string, currYear?: boolean): string;
|
|
2948
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAbsoluteShortDatePipe<any>, never>;
|
|
2949
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqAbsoluteShortDatePipe<any>, "kbqAbsoluteShortDate", true>;
|
|
2950
|
+
}
|
|
2951
|
+
declare class KbqAbsoluteLongDateTimePipe<D> extends BaseLocaleAwareFormatterPipe<D, D | string, [options?: DateTimeOptions]> implements PipeTransform {
|
|
2952
|
+
transform(value: D | string, options?: DateTimeOptions): string;
|
|
2953
|
+
protected format(value: D | string, options?: DateTimeOptions): string;
|
|
2954
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAbsoluteLongDateTimePipe<any>, never>;
|
|
2955
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqAbsoluteLongDateTimePipe<any>, "kbqAbsoluteLongDateTime", true>;
|
|
2956
|
+
}
|
|
2957
|
+
declare class KbqAbsoluteShortDateTimePipe<D> extends BaseLocaleAwareFormatterPipe<D, D | string, [options?: DateTimeOptions]> implements PipeTransform {
|
|
2958
|
+
transform(value: D | string, options?: DateTimeOptions): string;
|
|
2959
|
+
protected format(value: D | string, options?: DateTimeOptions): string;
|
|
2960
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAbsoluteShortDateTimePipe<any>, never>;
|
|
2961
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqAbsoluteShortDateTimePipe<any>, "kbqAbsoluteShortDateTime", true>;
|
|
2962
|
+
}
|
|
2963
|
+
declare class KbqRelativeLongDatePipe<D> extends BaseLocaleAwareFormatterPipe<D, D | string, []> implements PipeTransform {
|
|
2964
|
+
transform(value: D | string): string;
|
|
2965
|
+
protected format(value: D | string): string;
|
|
2966
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRelativeLongDatePipe<any>, never>;
|
|
2967
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqRelativeLongDatePipe<any>, "kbqRelativeLongDate", true>;
|
|
2968
|
+
}
|
|
2969
|
+
declare class KbqRelativeShortDatePipe<D> extends BaseLocaleAwareFormatterPipe<D, D | string, []> implements PipeTransform {
|
|
2970
|
+
transform(value: D | string): string;
|
|
2971
|
+
protected format(value: D | string): string;
|
|
2972
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRelativeShortDatePipe<any>, never>;
|
|
2973
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqRelativeShortDatePipe<any>, "kbqRelativeShortDate", true>;
|
|
2974
|
+
}
|
|
2975
|
+
declare class KbqRelativeLongDateTimePipe<D> extends BaseLocaleAwareFormatterPipe<D, D | string, [options?: DateTimeOptions]> implements PipeTransform {
|
|
2976
|
+
transform(value: D | string, options?: DateTimeOptions): string;
|
|
2977
|
+
protected format(value: D | string, options?: DateTimeOptions): string;
|
|
2978
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRelativeLongDateTimePipe<any>, never>;
|
|
2979
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqRelativeLongDateTimePipe<any>, "kbqRelativeLongDateTime", true>;
|
|
2980
|
+
}
|
|
2981
|
+
declare class KbqRelativeShortDateTimePipe<D> extends BaseLocaleAwareFormatterPipe<D, D | string, [options?: DateTimeOptions]> implements PipeTransform {
|
|
2982
|
+
transform(value: D | string, options?: DateTimeOptions): string;
|
|
2983
|
+
protected format(value: D | string, options?: DateTimeOptions): string;
|
|
2984
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRelativeShortDateTimePipe<any>, never>;
|
|
2985
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqRelativeShortDateTimePipe<any>, "kbqRelativeShortDateTime", true>;
|
|
2986
|
+
}
|
|
2987
|
+
declare class KbqRangeLongDatePipe<D> extends BaseLocaleAwareFormatterPipe<D, D[] | string[], []> implements PipeTransform {
|
|
2988
|
+
transform(value: D[] | string[]): string;
|
|
2989
|
+
protected format([value1, value2]: D[] | string[]): string;
|
|
2990
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRangeLongDatePipe<any>, never>;
|
|
2991
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqRangeLongDatePipe<any>, "kbqRangeLongDate", true>;
|
|
2992
|
+
}
|
|
2993
|
+
declare class KbqRangeShortDatePipe<D> extends BaseLocaleAwareFormatterPipe<D, D[] | string[], []> implements PipeTransform {
|
|
2994
|
+
transform(value: D[] | string[]): string;
|
|
2995
|
+
protected format([value1, value2]: D[] | string[]): string;
|
|
2996
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRangeShortDatePipe<any>, never>;
|
|
2997
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqRangeShortDatePipe<any>, "kbqRangeShortDate", true>;
|
|
2998
|
+
}
|
|
2999
|
+
declare class KbqRangeLongDateTimePipe<D> extends BaseLocaleAwareFormatterPipe<D, D[] | string[], [options?: DateTimeOptions]> implements PipeTransform {
|
|
3000
|
+
transform(value: D[] | string[], options?: DateTimeOptions): string;
|
|
3001
|
+
protected format([value1, value2]: D[] | string[], options?: DateTimeOptions): string;
|
|
3002
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRangeLongDateTimePipe<any>, never>;
|
|
3003
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqRangeLongDateTimePipe<any>, "kbqRangeLongDateTime", true>;
|
|
3004
|
+
}
|
|
3005
|
+
declare class KbqRangeMiddleDateTimePipe<D> extends BaseLocaleAwareFormatterPipe<D, D[] | string[], [options?: DateTimeOptions]> implements PipeTransform {
|
|
3006
|
+
transform(value: D[] | string[], options?: DateTimeOptions): string;
|
|
3007
|
+
protected format([value1, value2]: D[] | string[], options?: DateTimeOptions): string;
|
|
3008
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRangeMiddleDateTimePipe<any>, never>;
|
|
3009
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqRangeMiddleDateTimePipe<any>, "kbqRangeMiddleDateTime", true>;
|
|
3010
|
+
}
|
|
3011
|
+
declare class KbqRangeShortDateTimePipe<D> extends BaseLocaleAwareFormatterPipe<D, D[] | string[], [options?: DateTimeOptions]> implements PipeTransform {
|
|
3012
|
+
transform(value: D[] | string[], options?: DateTimeOptions): string;
|
|
3013
|
+
protected format([value1, value2]: D[] | string[], options?: DateTimeOptions): string;
|
|
3014
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRangeShortDateTimePipe<any>, never>;
|
|
3015
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqRangeShortDateTimePipe<any>, "kbqRangeShortDateTime", true>;
|
|
3016
|
+
}
|
|
3017
|
+
|
|
3018
|
+
/**
|
|
3019
|
+
* Available unit systems for file size formatting.
|
|
3020
|
+
* - SI (Metric): 1 KB = 1000 bytes
|
|
3021
|
+
* - IEC (Binary): 1 KiB = 1024 bytes
|
|
3022
|
+
*/
|
|
3023
|
+
declare enum KbqMeasurementSystem {
|
|
3024
|
+
SI = "SI",
|
|
3025
|
+
IEC = "IEC"
|
|
3026
|
+
}
|
|
3027
|
+
/** Unit systems as union type */
|
|
3028
|
+
type KbqMeasurementSystemType = keyof typeof KbqMeasurementSystem;
|
|
3029
|
+
interface KbqUnitSystem {
|
|
3030
|
+
abbreviations: string[];
|
|
3031
|
+
base: number;
|
|
3032
|
+
power: number;
|
|
3033
|
+
}
|
|
3034
|
+
/**
|
|
3035
|
+
* Configuration for file size formatting options.
|
|
3036
|
+
* Defines the default unit system, precision, and available unit systems.
|
|
3037
|
+
*/
|
|
3038
|
+
interface KbqSizeUnitsConfig {
|
|
3039
|
+
/**
|
|
3040
|
+
* Default unit system to use (e.g., 'SI' or 'IEC').
|
|
3041
|
+
* @see KbqMeasurementSystem
|
|
3042
|
+
*/
|
|
3043
|
+
defaultUnitSystem: KbqMeasurementSystemType;
|
|
3044
|
+
/**
|
|
3045
|
+
* Default number of decimal places to display in formatted output.
|
|
3046
|
+
* @example
|
|
3047
|
+
* `2` → "1.23 KB"
|
|
3048
|
+
*/
|
|
3049
|
+
defaultPrecision: number;
|
|
3050
|
+
/** @see KbqMeasurementSystem */
|
|
3051
|
+
unitSystems: {
|
|
3052
|
+
[KbqMeasurementSystem.SI]: KbqUnitSystem;
|
|
3053
|
+
[KbqMeasurementSystem.IEC]: KbqUnitSystem;
|
|
3054
|
+
};
|
|
3055
|
+
}
|
|
3056
|
+
declare const KBQ_SIZE_UNITS_DEFAULT_CONFIG: KbqSizeUnitsConfig;
|
|
3057
|
+
/**
|
|
3058
|
+
* Configuration for converting sizes in different unit systems.
|
|
3059
|
+
*/
|
|
3060
|
+
declare const KBQ_SIZE_UNITS_CONFIG: InjectionToken<KbqSizeUnitsConfig>;
|
|
3061
|
+
/** Utility provider for `KBQ_SIZE_UNITS_CONFIG`. */
|
|
3062
|
+
declare const kbqFilesizeFormatterConfigurationProvider: (configuration: Partial<KbqSizeUnitsConfig>) => Provider;
|
|
3063
|
+
|
|
3064
|
+
declare class KbqDataSizePipe implements PipeTransform {
|
|
3065
|
+
/** Injects the external configuration for size units, if available. */
|
|
3066
|
+
readonly externalConfig: KbqSizeUnitsConfig | null;
|
|
3067
|
+
private readonly localeService;
|
|
3068
|
+
private readonly numberPipe;
|
|
3069
|
+
private readonly nonBreakingSpace;
|
|
3070
|
+
private config;
|
|
3071
|
+
constructor();
|
|
3072
|
+
/** Transforms bytes into localized size string */
|
|
3073
|
+
transform(source: number, precision?: number, unitSystemName?: KbqMeasurementSystemType, locale?: string): string;
|
|
3074
|
+
private updateLocaleParams;
|
|
3075
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqDataSizePipe, never>;
|
|
3076
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqDataSizePipe, "kbqDataSize", true>;
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3079
|
+
declare const KBQ_NUMBER_FORMATTER_OPTIONS: InjectionToken<ParsedDigitsInfo>;
|
|
3080
|
+
declare const KBQ_NUMBER_FORMATTER_DEFAULT_OPTIONS: ParsedDigitsInfo;
|
|
3081
|
+
/** Formats a number value according to locale and formatting options */
|
|
3082
|
+
declare function formatNumberWithLocale(value: unknown, formatter: Intl.NumberFormat, options?: KbqNumberFormatOptions): string;
|
|
3083
|
+
/**
|
|
3084
|
+
* Special contract between `KbqDecimalPipe` and `KbqTableNumberPipe`,
|
|
3085
|
+
* so they can be interchangeable in the cases of usage
|
|
3086
|
+
*/
|
|
3087
|
+
interface KbqNumericPipe {
|
|
3088
|
+
transform(value: unknown, digitsInfo?: string, locale?: string): string | null;
|
|
3089
|
+
}
|
|
3090
|
+
declare const NUMBER_FORMAT_REGEXP: RegExp;
|
|
3091
|
+
interface RoundDecimalOptions {
|
|
3092
|
+
separator: string;
|
|
3093
|
+
groupSeparator: string;
|
|
3094
|
+
thousands?: string;
|
|
3095
|
+
tenThousand?: string;
|
|
3096
|
+
million?: string;
|
|
3097
|
+
oneHundredMillions?: string;
|
|
3098
|
+
billion?: string;
|
|
3099
|
+
trillion: string;
|
|
3100
|
+
rtl?: boolean;
|
|
3101
|
+
}
|
|
3102
|
+
declare class ParsedDigitsInfo {
|
|
3103
|
+
useGrouping: boolean;
|
|
3104
|
+
minimumIntegerDigits: number;
|
|
3105
|
+
minimumFractionDigits: number;
|
|
3106
|
+
maximumFractionDigits: number;
|
|
3107
|
+
}
|
|
3108
|
+
declare class KbqDecimalPipe implements KbqNumericPipe, PipeTransform {
|
|
3109
|
+
private id;
|
|
3110
|
+
private localeService;
|
|
3111
|
+
private readonly options;
|
|
3112
|
+
constructor();
|
|
3113
|
+
/**
|
|
3114
|
+
* @param value The number to be formatted.
|
|
3115
|
+
* @param digitsInfo Decimal representation options, specified by a string
|
|
3116
|
+
* in the following format:<br>
|
|
3117
|
+
* <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.
|
|
3118
|
+
* - `minIntegerDigits`: The minimum number of integer digits before the decimal point.
|
|
3119
|
+
* Default is `1`.
|
|
3120
|
+
* - `minFractionDigits`: The minimum number of digits after the decimal point.
|
|
3121
|
+
* Default is `0`.
|
|
3122
|
+
* - `maxFractionDigits`: The maximum number of digits after the decimal point.
|
|
3123
|
+
* Default is `3`.
|
|
3124
|
+
* @param locale A locale code for the locale format rules to use.
|
|
3125
|
+
* When not supplied, uses the value of `KBQ_LOCALE_ID`, which is `ru` by default.
|
|
3126
|
+
*/
|
|
3127
|
+
transform(value: any, digitsInfo?: string, locale?: string): string | null;
|
|
3128
|
+
isSpecialFormatForRULocale(locale: string, value: number, grouping?: boolean): boolean;
|
|
3129
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqDecimalPipe, never>;
|
|
3130
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqDecimalPipe, "kbqNumber", true>;
|
|
3131
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KbqDecimalPipe>;
|
|
3132
|
+
}
|
|
3133
|
+
declare class KbqTableNumberPipe implements KbqNumericPipe, PipeTransform {
|
|
3134
|
+
private id;
|
|
3135
|
+
private localeService;
|
|
3136
|
+
private readonly options;
|
|
3137
|
+
constructor();
|
|
3138
|
+
/**
|
|
3139
|
+
* @param value The number to be formatted.
|
|
3140
|
+
* @param digitsInfo Decimal representation options, specified by a string
|
|
3141
|
+
* in the following format:<br>
|
|
3142
|
+
* <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.
|
|
3143
|
+
* - `minIntegerDigits`: The minimum number of integer digits before the decimal point.
|
|
3144
|
+
* Default is `1`.
|
|
3145
|
+
* - `minFractionDigits`: The minimum number of digits after the decimal point.
|
|
3146
|
+
* Default is `0`.
|
|
3147
|
+
* - `maxFractionDigits`: The maximum number of digits after the decimal point.
|
|
3148
|
+
* Default is `3`.
|
|
3149
|
+
* @param locale A locale code for the locale format rules to use.
|
|
3150
|
+
* When not supplied, uses the value of `KBQ_LOCALE_ID`, which is `ru` by default.
|
|
3151
|
+
*/
|
|
3152
|
+
transform(value: any, digitsInfo?: string, locale?: string): string | null;
|
|
3153
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTableNumberPipe, never>;
|
|
3154
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqTableNumberPipe, "kbqTableNumber", true>;
|
|
3155
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KbqTableNumberPipe>;
|
|
3156
|
+
}
|
|
3157
|
+
declare function isWithin(startRange: number, endRange: number, valueToCheck: number): boolean;
|
|
3158
|
+
declare class KbqRoundDecimalPipe implements PipeTransform {
|
|
3159
|
+
private id;
|
|
3160
|
+
private localeService;
|
|
3161
|
+
roundingOptions: RoundDecimalOptions;
|
|
3162
|
+
constructor();
|
|
3163
|
+
transform(value: any, locale?: string): any;
|
|
3164
|
+
private calculateDecimal;
|
|
3165
|
+
/**
|
|
3166
|
+
* 2 * 1000 is a number in the interval of [1500...2500)
|
|
3167
|
+
*
|
|
3168
|
+
* 2,0 * 1000 is a number in the interval of [1950...2050)
|
|
3169
|
+
*/
|
|
3170
|
+
private calculatePartsForThousands;
|
|
3171
|
+
private calculateUnit;
|
|
3172
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRoundDecimalPipe, never>;
|
|
3173
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqRoundDecimalPipe, "kbqRoundNumber", true>;
|
|
3174
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KbqRoundDecimalPipe>;
|
|
3175
|
+
}
|
|
3176
|
+
|
|
3177
|
+
declare const KBQ_INVALID_VALUE_ERROR = "Argument \"value\" must be a finite number!";
|
|
3178
|
+
/**
|
|
3179
|
+
* Converts a byte value into locale-independent file size parts: numeric value and unit abbreviation.
|
|
3180
|
+
*
|
|
3181
|
+
* @param value - size in bytes.
|
|
3182
|
+
* @param system - unit system defining abbreviations and base scaling (SI/IEC).
|
|
3183
|
+
* @returns Object with the formatted size info.
|
|
3184
|
+
*
|
|
3185
|
+
* @example
|
|
3186
|
+
* getFormattedSizeParts(1500, 'SI'); // { value: "1.50", unit: "KB" }
|
|
3187
|
+
*/
|
|
3188
|
+
declare function getFormattedSizeParts(value: number, system: KbqUnitSystem): {
|
|
3189
|
+
value: string;
|
|
3190
|
+
unit: string;
|
|
3191
|
+
};
|
|
3192
|
+
/**
|
|
3193
|
+
* Converts bytes to Kb, Mb, Gb
|
|
3194
|
+
*
|
|
3195
|
+
* @param value the number of bytes
|
|
3196
|
+
* @param system the measurement system
|
|
3197
|
+
* @param threshold the lower counting threshold
|
|
3198
|
+
*/
|
|
3199
|
+
declare const getHumanizedBytes: (value: number, system: KbqUnitSystem, threshold?: number) => {
|
|
3200
|
+
result: number;
|
|
3201
|
+
unit: string;
|
|
3202
|
+
};
|
|
3203
|
+
|
|
3204
|
+
declare class KbqFormattersModule {
|
|
3205
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqFormattersModule, never>;
|
|
3206
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqFormattersModule, never, [typeof AbsoluteDateFormatterPipe, typeof AbsoluteDateTimeFormatterPipe, typeof AbsoluteDateShortFormatterPipe, typeof AbsoluteShortDateTimeFormatterPipe, typeof RelativeDateFormatterPipe, typeof RelativeDateTimeFormatterPipe, typeof RelativeShortDateFormatterPipe, typeof RelativeShortDateTimeFormatterPipe, typeof RangeDateFormatterPipe, typeof RangeShortDateFormatterPipe, typeof RangeDateTimeFormatterPipe, typeof RangeShortDateTimeFormatterPipe, typeof RangeMiddleDateTimeFormatterPipe, typeof AbsoluteDateFormatterImpurePipe, typeof AbsoluteDateTimeFormatterImpurePipe, typeof AbsoluteDateShortFormatterImpurePipe, typeof AbsoluteShortDateTimeFormatterImpurePipe, typeof RelativeDateFormatterImpurePipe, typeof RelativeDateTimeFormatterImpurePipe, typeof RelativeShortDateFormatterImpurePipe, typeof RelativeShortDateTimeFormatterImpurePipe, typeof RangeDateFormatterImpurePipe, typeof RangeShortDateFormatterImpurePipe, typeof RangeDateTimeFormatterImpurePipe, typeof RangeShortDateTimeFormatterImpurePipe, typeof RangeMiddleDateTimeFormatterImpurePipe, typeof KbqAbsoluteLongDatePipe, typeof KbqAbsoluteLongDateTimePipe, typeof KbqAbsoluteShortDatePipe, typeof KbqAbsoluteShortDateTimePipe, typeof KbqRelativeLongDatePipe, typeof KbqRelativeLongDateTimePipe, typeof KbqRelativeShortDatePipe, typeof KbqRelativeShortDateTimePipe, typeof KbqRangeLongDatePipe, typeof KbqRangeLongDateTimePipe, typeof KbqRangeMiddleDateTimePipe, typeof KbqRangeShortDatePipe, typeof KbqRangeShortDateTimePipe, typeof KbqDataSizePipe, typeof KbqDecimalPipe, typeof KbqRoundDecimalPipe, typeof KbqTableNumberPipe], [typeof KbqDecimalPipe, typeof KbqRoundDecimalPipe, typeof KbqTableNumberPipe, typeof AbsoluteDateFormatterPipe, typeof AbsoluteDateTimeFormatterPipe, typeof AbsoluteDateShortFormatterPipe, typeof AbsoluteShortDateTimeFormatterPipe, typeof RelativeDateFormatterPipe, typeof RelativeDateTimeFormatterPipe, typeof RelativeShortDateFormatterPipe, typeof RelativeShortDateTimeFormatterPipe, typeof RangeDateFormatterPipe, typeof RangeShortDateFormatterPipe, typeof RangeDateTimeFormatterPipe, typeof RangeShortDateTimeFormatterPipe, typeof RangeMiddleDateTimeFormatterPipe, typeof AbsoluteDateFormatterImpurePipe, typeof AbsoluteDateTimeFormatterImpurePipe, typeof AbsoluteDateShortFormatterImpurePipe, typeof AbsoluteShortDateTimeFormatterImpurePipe, typeof RelativeDateFormatterImpurePipe, typeof RelativeDateTimeFormatterImpurePipe, typeof RelativeShortDateFormatterImpurePipe, typeof RelativeShortDateTimeFormatterImpurePipe, typeof RangeDateFormatterImpurePipe, typeof RangeShortDateFormatterImpurePipe, typeof RangeDateTimeFormatterImpurePipe, typeof RangeShortDateTimeFormatterImpurePipe, typeof RangeMiddleDateTimeFormatterImpurePipe, typeof KbqAbsoluteLongDatePipe, typeof KbqAbsoluteLongDateTimePipe, typeof KbqAbsoluteShortDatePipe, typeof KbqAbsoluteShortDateTimePipe, typeof KbqRelativeLongDatePipe, typeof KbqRelativeLongDateTimePipe, typeof KbqRelativeShortDatePipe, typeof KbqRelativeShortDateTimePipe, typeof KbqRangeLongDatePipe, typeof KbqRangeLongDateTimePipe, typeof KbqRangeMiddleDateTimePipe, typeof KbqRangeShortDatePipe, typeof KbqRangeShortDateTimePipe, typeof KbqDataSizePipe]>;
|
|
3207
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KbqFormattersModule>;
|
|
3208
|
+
}
|
|
3209
|
+
|
|
3210
|
+
declare class KbqFormElement implements AfterContentInit {
|
|
3211
|
+
private readonly element;
|
|
3212
|
+
margin: boolean;
|
|
3213
|
+
isRow: boolean;
|
|
3214
|
+
isFieldSet: boolean;
|
|
3215
|
+
hasLegend: boolean;
|
|
3216
|
+
isHorizontal: boolean;
|
|
3217
|
+
readonly elements: i0.Signal<readonly KbqFormElement[]>;
|
|
3218
|
+
ngAfterContentInit(): void;
|
|
3219
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqFormElement, never>;
|
|
3220
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqFormElement, ".kbq-form__row, .kbq-form__fieldset, .kbq-form__legend", ["kbqFormElement"], {}, {}, ["elements"], never, true, never>;
|
|
3221
|
+
}
|
|
3222
|
+
declare class KbqForm implements AfterContentInit {
|
|
3223
|
+
readonly elements: i0.Signal<readonly KbqFormElement[]>;
|
|
3224
|
+
ngAfterContentInit(): void;
|
|
3225
|
+
handleElements(elements: readonly KbqFormElement[]): void;
|
|
3226
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqForm, never>;
|
|
3227
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqForm, ".kbq-form-vertical, .kbq-form-horizontal", ["kbqForm"], {}, {}, ["elements"], never, true, never>;
|
|
3228
|
+
}
|
|
3229
|
+
|
|
3230
|
+
declare class KbqFormsModule {
|
|
3231
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqFormsModule, never>;
|
|
3232
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqFormsModule, never, [typeof KbqForm, typeof KbqFormElement], [typeof KbqForm, typeof KbqFormElement]>;
|
|
3233
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KbqFormsModule>;
|
|
3234
|
+
}
|
|
3235
|
+
|
|
3236
|
+
/** Provides a set of validators for password form controls. */
|
|
3237
|
+
declare class PasswordValidators {
|
|
3238
|
+
/**
|
|
3239
|
+
* Validator that requires the control's value length to be at least `min` characters.
|
|
3240
|
+
*
|
|
3241
|
+
* `min` - number of characters.
|
|
3242
|
+
*
|
|
3243
|
+
* ## Usage:
|
|
3244
|
+
*
|
|
3245
|
+
* ```typescript
|
|
3246
|
+
* const control = new FormControl('password', PasswordValidators.minLength(10));
|
|
3247
|
+
* console.log(control.errors); // {minLength: {min: 10, actual: 8}}
|
|
3248
|
+
* ```
|
|
3249
|
+
*/
|
|
3250
|
+
static minLength(min: number): ValidatorFn;
|
|
3251
|
+
/**
|
|
3252
|
+
* Validator that requires the control's value length to be at most `max` characters.
|
|
3253
|
+
*
|
|
3254
|
+
* `max` - number of characters.
|
|
3255
|
+
*
|
|
3256
|
+
* ## Usage:
|
|
3257
|
+
* ```typescript
|
|
3258
|
+
* const control = new FormControl('password', PasswordValidators.maxLength(6));
|
|
3259
|
+
* console.log(control.errors); // {maxLength: {max: 6, actual: 8}}
|
|
3260
|
+
* ```
|
|
3261
|
+
*/
|
|
3262
|
+
static maxLength(max: number): ValidatorFn;
|
|
3263
|
+
/**
|
|
3264
|
+
* Validator that requires the control's value to be at least `min` uppercase characters.
|
|
3265
|
+
*
|
|
3266
|
+
* `min` - number of uppercase characters.
|
|
3267
|
+
*
|
|
3268
|
+
* ### Usage:
|
|
3269
|
+
*
|
|
3270
|
+
* ```typescript
|
|
3271
|
+
* const control = new FormControl('Password', PasswordValidators.minUppercase(2));
|
|
3272
|
+
* console.log(control.errors); // {minUppercase: {min: 2, actual: 1}}
|
|
3273
|
+
* ```
|
|
3274
|
+
*/
|
|
3275
|
+
static minUppercase(min: number): ValidatorFn;
|
|
3276
|
+
/**
|
|
3277
|
+
* Validator that requires the control's value to be at least `min` lowercase characters.
|
|
3278
|
+
*
|
|
3279
|
+
* `min` - number of lowercase characters.
|
|
3280
|
+
*
|
|
3281
|
+
* ### Usage:
|
|
3282
|
+
*
|
|
3283
|
+
* ```typescript
|
|
3284
|
+
* const control = new FormControl('PASSWORD', PasswordValidators.minLowercase());
|
|
3285
|
+
* console.log(control.errors); // {minLowercase: {min: 1, actual: 0}}
|
|
3286
|
+
* ```
|
|
3287
|
+
*/
|
|
3288
|
+
static minLowercase(min: number): ValidatorFn;
|
|
3289
|
+
/**
|
|
3290
|
+
* Validator that requires the control's value to be at least `min` number characters.
|
|
3291
|
+
*
|
|
3292
|
+
* `min` - number of number characters.
|
|
3293
|
+
*
|
|
3294
|
+
* ### Usage:
|
|
3295
|
+
*
|
|
3296
|
+
* ```typescript
|
|
3297
|
+
* const control = new FormControl('passw0rd', PasswordValidators.minNumber(2));
|
|
3298
|
+
* console.log(control.errors); // {minNumber: {min: 2, actual: 1}}
|
|
3299
|
+
* ```
|
|
3300
|
+
*/
|
|
3301
|
+
static minNumber(min: number): ValidatorFn;
|
|
3302
|
+
/**
|
|
3303
|
+
* Validator that requires the control's value to be at least `min` special characters.
|
|
3304
|
+
*
|
|
3305
|
+
* `min` - number of special characters.
|
|
3306
|
+
*
|
|
3307
|
+
* ### Special characters:
|
|
3308
|
+
* ```js
|
|
3309
|
+
* ['!','@','#','$','%','^','&','*']
|
|
3310
|
+
* ```
|
|
3311
|
+
*
|
|
3312
|
+
* ### Usage:
|
|
3313
|
+
*
|
|
3314
|
+
* ```typescript
|
|
3315
|
+
* const control = new FormControl('pa$sword', PasswordValidators.minSpecial(2));
|
|
3316
|
+
* console.log(control.errors); // {minSpecial: {min: 2, actual: 1}}
|
|
3317
|
+
* ```
|
|
3318
|
+
*/
|
|
3319
|
+
static minSpecial(min: number): ValidatorFn;
|
|
3320
|
+
}
|
|
3321
|
+
/** Provides a set of validators for file-related form controls. */
|
|
3322
|
+
declare class FileValidators {
|
|
3323
|
+
/**
|
|
3324
|
+
* Validator that checks if the file size is less than or equal to the provided `maxSize`.
|
|
3325
|
+
*
|
|
3326
|
+
* @param maxSize - The maximum allowed file size in bytes.
|
|
3327
|
+
*
|
|
3328
|
+
* @returns A ValidatorFn function that checks the file size.
|
|
3329
|
+
*
|
|
3330
|
+
* ## Usage:
|
|
3331
|
+
*
|
|
3332
|
+
* ```typescript
|
|
3333
|
+
* const control = new FormControl(null, [FileValidators.maxFileSize(1024 * 1024)]); // 1MB
|
|
3334
|
+
* control.setValue(FILE_LESS_OR_EQUAL_THAN_1MB);
|
|
3335
|
+
* console.log(control.errors); // null
|
|
3336
|
+
* control.setValue(FILE_MORE_THAN_1MB);
|
|
3337
|
+
* console.log(control.errors); // {maxFileSize: { max: 1048576, actual: FILE_MORE_THAN_1MB.size }}
|
|
3338
|
+
* ```
|
|
3339
|
+
*/
|
|
3340
|
+
static maxFileSize(maxSize: number): ValidatorFn;
|
|
3341
|
+
/**
|
|
3342
|
+
* Validator that checks whether file's name or MIME type
|
|
3343
|
+
* matches one of the accepted extensions or MIME types.
|
|
3344
|
+
*
|
|
3345
|
+
* @param accept - Array of allowed file extensions or MIME types.
|
|
3346
|
+
* @returns ValidatorFn that returns validation error if file type is not accepted, or null otherwise.
|
|
3347
|
+
*/
|
|
3348
|
+
static isCorrectExtension(accept: (`.${string}` | `${string}/${string}`)[]): ValidatorFn;
|
|
3349
|
+
}
|
|
3350
|
+
/**
|
|
3351
|
+
* Type helper describing accepted file types, referring to:
|
|
3352
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/file#unique_file_type_specifiers
|
|
3353
|
+
*/
|
|
3354
|
+
type KbqFileTypeSpecifier = Parameters<typeof FileValidators.isCorrectExtension>[0];
|
|
3355
|
+
|
|
3356
|
+
/** @docs-private */
|
|
3357
|
+
declare const kbqHighlightMark: (text: string) => string;
|
|
3358
|
+
declare class KbqHighlightPipe implements PipeTransform {
|
|
3359
|
+
transform(value: unknown, keyword: unknown): string;
|
|
3360
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqHighlightPipe, never>;
|
|
3361
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqHighlightPipe, "mcHighlight", true>;
|
|
3362
|
+
}
|
|
3363
|
+
|
|
3364
|
+
/** @docs-private */
|
|
3365
|
+
declare const kbqHighlightBackgroundMark: (text: string) => string;
|
|
3366
|
+
declare class KbqHighlightBackgroundPipe implements PipeTransform {
|
|
3367
|
+
transform(value: unknown, keyword: unknown): string;
|
|
3368
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqHighlightBackgroundPipe, never>;
|
|
3369
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqHighlightBackgroundPipe, "kbqHighlightBackground", true>;
|
|
3370
|
+
}
|
|
3371
|
+
|
|
3372
|
+
/** Escapes characters in the specified string that have special meaning in a regular expression. */
|
|
3373
|
+
declare function escapeRegExp(value: string): string;
|
|
3374
|
+
|
|
3375
|
+
declare class KbqHighlightModule {
|
|
3376
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqHighlightModule, never>;
|
|
3377
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqHighlightModule, never, [typeof KbqHighlightPipe, typeof KbqHighlightBackgroundPipe], [typeof KbqHighlightPipe, typeof KbqHighlightBackgroundPipe]>;
|
|
3378
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KbqHighlightModule>;
|
|
3379
|
+
}
|
|
3380
|
+
|
|
3381
|
+
declare const MAC_ENTER = 3;
|
|
3382
|
+
declare const BACKSPACE = 8;
|
|
3383
|
+
declare const TAB = 9;
|
|
3384
|
+
declare const NUM_CENTER = 12;
|
|
3385
|
+
declare const ENTER = 13;
|
|
3386
|
+
declare const SHIFT = 16;
|
|
3387
|
+
declare const CONTROL = 17;
|
|
3388
|
+
declare const ALT = 18;
|
|
3389
|
+
declare const PAUSE = 19;
|
|
3390
|
+
declare const CAPS_LOCK = 20;
|
|
3391
|
+
declare const ESCAPE = 27;
|
|
3392
|
+
declare const SPACE = 32;
|
|
3393
|
+
declare const PAGE_UP = 33;
|
|
3394
|
+
declare const PAGE_DOWN = 34;
|
|
3395
|
+
declare const END = 35;
|
|
3396
|
+
declare const HOME = 36;
|
|
3397
|
+
declare const LEFT_ARROW = 37;
|
|
3398
|
+
declare const UP_ARROW = 38;
|
|
3399
|
+
declare const RIGHT_ARROW = 39;
|
|
3400
|
+
declare const DOWN_ARROW = 40;
|
|
3401
|
+
declare const PLUS_SIGN = 43;
|
|
3402
|
+
declare const PRINT_SCREEN = 44;
|
|
3403
|
+
declare const INSERT = 45;
|
|
3404
|
+
declare const DELETE = 46;
|
|
3405
|
+
declare const ZERO = 48;
|
|
3406
|
+
declare const ONE = 49;
|
|
3407
|
+
declare const TWO = 50;
|
|
3408
|
+
declare const THREE = 51;
|
|
3409
|
+
declare const FOUR = 52;
|
|
3410
|
+
declare const FIVE = 53;
|
|
3411
|
+
declare const SIX = 54;
|
|
3412
|
+
declare const SEVEN = 55;
|
|
3413
|
+
declare const EIGHT = 56;
|
|
3414
|
+
declare const NINE = 57;
|
|
3415
|
+
declare const FF_SEMICOLON = 59;
|
|
3416
|
+
declare const FF_EQUALS = 61;
|
|
3417
|
+
declare const QUESTION_MARK = 63;
|
|
3418
|
+
declare const AT_SIGN = 64;
|
|
3419
|
+
declare const A = 65;
|
|
3420
|
+
declare const B = 66;
|
|
3421
|
+
declare const C = 67;
|
|
3422
|
+
declare const D = 68;
|
|
3423
|
+
declare const E = 69;
|
|
3424
|
+
declare const F = 70;
|
|
3425
|
+
declare const G = 71;
|
|
3426
|
+
declare const H = 72;
|
|
3427
|
+
declare const I = 73;
|
|
3428
|
+
declare const J = 74;
|
|
3429
|
+
declare const K = 75;
|
|
3430
|
+
declare const L = 76;
|
|
3431
|
+
declare const M = 77;
|
|
3432
|
+
declare const N = 78;
|
|
3433
|
+
declare const O = 79;
|
|
3434
|
+
declare const P = 80;
|
|
3435
|
+
declare const Q = 81;
|
|
3436
|
+
declare const R = 82;
|
|
3437
|
+
declare const S = 83;
|
|
3438
|
+
declare const T = 84;
|
|
3439
|
+
declare const U = 85;
|
|
3440
|
+
declare const V = 86;
|
|
3441
|
+
declare const W = 87;
|
|
3442
|
+
declare const X = 88;
|
|
3443
|
+
declare const Y = 89;
|
|
3444
|
+
declare const Z = 90;
|
|
3445
|
+
declare const META = 91;
|
|
3446
|
+
declare const MAC_WK_CMD_LEFT = 91;
|
|
3447
|
+
declare const MAC_WK_CMD_RIGHT = 93;
|
|
3448
|
+
declare const CONTEXT_MENU = 93;
|
|
3449
|
+
declare const NUMPAD_ZERO = 96;
|
|
3450
|
+
declare const NUMPAD_ONE = 97;
|
|
3451
|
+
declare const NUMPAD_TWO = 98;
|
|
3452
|
+
declare const NUMPAD_THREE = 99;
|
|
3453
|
+
declare const NUMPAD_FOUR = 100;
|
|
3454
|
+
declare const NUMPAD_FIVE = 101;
|
|
3455
|
+
declare const NUMPAD_SIX = 102;
|
|
3456
|
+
declare const NUMPAD_SEVEN = 103;
|
|
3457
|
+
declare const NUMPAD_EIGHT = 104;
|
|
3458
|
+
declare const NUMPAD_NINE = 105;
|
|
3459
|
+
declare const NUMPAD_MULTIPLY = 106;
|
|
3460
|
+
declare const NUMPAD_PLUS = 107;
|
|
3461
|
+
declare const NUMPAD_MINUS = 109;
|
|
3462
|
+
declare const NUMPAD_PERIOD = 110;
|
|
3463
|
+
declare const NUMPAD_DIVIDE = 111;
|
|
3464
|
+
declare const F1 = 112;
|
|
3465
|
+
declare const F2 = 113;
|
|
3466
|
+
declare const F3 = 114;
|
|
3467
|
+
declare const F4 = 115;
|
|
3468
|
+
declare const F5 = 116;
|
|
3469
|
+
declare const F6 = 117;
|
|
3470
|
+
declare const F7 = 118;
|
|
3471
|
+
declare const F8 = 119;
|
|
3472
|
+
declare const F9 = 120;
|
|
3473
|
+
declare const F10 = 121;
|
|
3474
|
+
declare const F11 = 122;
|
|
3475
|
+
declare const F12 = 123;
|
|
3476
|
+
declare const NUM_LOCK = 144;
|
|
3477
|
+
declare const SCROLL_LOCK = 145;
|
|
3478
|
+
declare const FIRST_MEDIA = 166;
|
|
3479
|
+
declare const FF_MINUS = 173;
|
|
3480
|
+
declare const MUTE = 173;
|
|
3481
|
+
declare const VOLUME_DOWN = 174;
|
|
3482
|
+
declare const VOLUME_UP = 175;
|
|
3483
|
+
declare const FF_MUTE = 181;
|
|
3484
|
+
declare const FF_VOLUME_DOWN = 182;
|
|
3485
|
+
declare const LAST_MEDIA = 183;
|
|
3486
|
+
declare const FF_VOLUME_UP = 183;
|
|
3487
|
+
declare const SEMICOLON = 186;
|
|
3488
|
+
declare const EQUALS = 187;
|
|
3489
|
+
declare const COMMA = 188;
|
|
3490
|
+
declare const DASH = 189;
|
|
3491
|
+
declare const PERIOD = 190;
|
|
3492
|
+
declare const SLASH = 191;
|
|
3493
|
+
declare const APOSTROPHE = 192;
|
|
3494
|
+
declare const TILDE = 192;
|
|
3495
|
+
declare const OPEN_SQUARE_BRACKET = 219;
|
|
3496
|
+
declare const BACKSLASH = 220;
|
|
3497
|
+
declare const CLOSE_SQUARE_BRACKET = 221;
|
|
3498
|
+
declare const SINGLE_QUOTE = 222;
|
|
3499
|
+
declare const MAC_META = 224;
|
|
3500
|
+
type ModifierKey = 'altKey' | 'shiftKey' | 'ctrlKey' | 'metaKey';
|
|
3501
|
+
declare function hasModifierKey(event: KeyboardEvent | MouseEvent, ...modifiers: ModifierKey[]): boolean;
|
|
3502
|
+
declare function isControl(event: KeyboardEvent): boolean;
|
|
3503
|
+
declare function isNumberKey({ keyCode }: KeyboardEvent): boolean;
|
|
3504
|
+
declare function isNumpadKey({ keyCode }: KeyboardEvent): boolean;
|
|
3505
|
+
declare function isLetterKey({ keyCode }: KeyboardEvent): boolean;
|
|
3506
|
+
declare function isFunctionKey({ keyCode }: KeyboardEvent): boolean;
|
|
3507
|
+
declare function isVerticalMovement({ keyCode }: KeyboardEvent): boolean;
|
|
3508
|
+
declare function isHorizontalMovement({ keyCode }: KeyboardEvent): boolean;
|
|
3509
|
+
declare function isSelectAll(event: KeyboardEvent): boolean;
|
|
3510
|
+
declare function isCopy(event: KeyboardEvent): boolean;
|
|
3511
|
+
declare function isInput(event: Event): boolean;
|
|
3512
|
+
declare function isLeftBracket(event: KeyboardEvent): boolean;
|
|
3513
|
+
declare function isRightBracket(event: KeyboardEvent): boolean;
|
|
3514
|
+
declare function isDigit({ keyCode }: KeyboardEvent): boolean;
|
|
3515
|
+
|
|
3516
|
+
/**
|
|
3517
|
+
* Shared directive to count lines inside a text area, such as a list item.
|
|
3518
|
+
* Line elements can be extracted with a @ContentChildren(KbqLine) query, then
|
|
3519
|
+
* counted by checking the query list's length.
|
|
3520
|
+
*/
|
|
3521
|
+
declare class KbqLine {
|
|
3522
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqLine, never>;
|
|
3523
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqLine, "[kbq-line], [mcLine]", never, {}, {}, never, never, true, never>;
|
|
3524
|
+
}
|
|
3525
|
+
/**
|
|
3526
|
+
* Helper that takes a query list of lines and sets the correct class on the host.
|
|
3527
|
+
* @docs-private
|
|
3528
|
+
*/
|
|
3529
|
+
declare class KbqLineSetter {
|
|
3530
|
+
private _lines;
|
|
3531
|
+
private _element;
|
|
3532
|
+
constructor(_lines: QueryList<KbqLine>, _element: ElementRef);
|
|
3533
|
+
private setLineClass;
|
|
3534
|
+
private resetClasses;
|
|
3535
|
+
private setClass;
|
|
3536
|
+
}
|
|
3537
|
+
|
|
3538
|
+
declare class KbqRectangleItem {
|
|
3539
|
+
protected readonly isBrowser: boolean;
|
|
3540
|
+
protected readonly nativeElement: HTMLElement;
|
|
3541
|
+
private readonly window;
|
|
3542
|
+
readonly state: Subject<void>;
|
|
3543
|
+
get collapsed(): boolean;
|
|
3544
|
+
set collapsed(value: boolean);
|
|
3545
|
+
private _collapsed;
|
|
3546
|
+
getOuterElementWidth(): number;
|
|
3547
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRectangleItem, never>;
|
|
3548
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqRectangleItem, never, never, {}, {}, never, never, true, never>;
|
|
3549
|
+
}
|
|
3550
|
+
|
|
3551
|
+
interface KbqOptionActionParent {
|
|
3552
|
+
dropdownTrigger: {
|
|
3553
|
+
opened: boolean;
|
|
3554
|
+
restoreFocus: boolean;
|
|
3555
|
+
dropdownClosed: EventEmitter<void>;
|
|
3556
|
+
lastDestroyReason: void | 'click' | 'keydown' | 'tab';
|
|
3557
|
+
openedBy: Exclude<FocusOrigin, 'program' | null> | undefined;
|
|
3558
|
+
toggle(): void;
|
|
3559
|
+
};
|
|
3560
|
+
tooltipTrigger: {
|
|
3561
|
+
disabled: boolean;
|
|
3562
|
+
};
|
|
3563
|
+
focus(): void;
|
|
3564
|
+
}
|
|
3565
|
+
declare const KBQ_OPTION_ACTION_PARENT: InjectionToken<KbqOptionActionParent>;
|
|
3566
|
+
declare class KbqOptionActionComponent implements AfterViewInit, OnDestroy {
|
|
3567
|
+
private readonly nativeElement;
|
|
3568
|
+
private readonly focusMonitor;
|
|
3569
|
+
private readonly option;
|
|
3570
|
+
get disabled(): boolean;
|
|
3571
|
+
set disabled(value: boolean);
|
|
3572
|
+
private _disabled;
|
|
3573
|
+
hasFocus: boolean;
|
|
3574
|
+
get active(): boolean;
|
|
3575
|
+
private readonly destroyRef;
|
|
3576
|
+
ngAfterViewInit(): void;
|
|
3577
|
+
ngOnDestroy(): void;
|
|
3578
|
+
focus(origin?: FocusOrigin, options?: FocusOptions): void;
|
|
3579
|
+
onClick($event: any): void;
|
|
3580
|
+
onKeyDown($event: any): void;
|
|
3581
|
+
private preventShowingTooltip;
|
|
3582
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqOptionActionComponent, never>;
|
|
3583
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqOptionActionComponent, "kbq-option-action", ["kbqOptionAction"], { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["[kbq-icon]"], true, never>;
|
|
3584
|
+
static ngAcceptInputType_disabled: unknown;
|
|
3585
|
+
}
|
|
3586
|
+
|
|
3587
|
+
declare class KbqActionContainer {
|
|
3588
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqActionContainer, never>;
|
|
3589
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqActionContainer, "kbq-action-container", ["kbqActionContainer"], {}, {}, never, ["*"], true, never>;
|
|
3590
|
+
}
|
|
3591
|
+
|
|
3592
|
+
/**
|
|
3593
|
+
* Component that is used to group instances of `kbq-option`.
|
|
3594
|
+
* When options aren't provided as `ng-content`, used as a Group Header with styling.
|
|
3595
|
+
*/
|
|
3596
|
+
declare class KbqOptgroup {
|
|
3597
|
+
readonly label: i0.InputSignal<string>;
|
|
3598
|
+
get disabled(): boolean;
|
|
3599
|
+
set disabled(value: boolean);
|
|
3600
|
+
private _disabled;
|
|
3601
|
+
/** Unique id for the underlying label. */
|
|
3602
|
+
labelId: string;
|
|
3603
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqOptgroup, never>;
|
|
3604
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqOptgroup, "kbq-optgroup", ["kbqOptgroup"], { "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["kbq-option, kbq-list-option, kbq-timezone-option, ng-container"], true, never>;
|
|
3605
|
+
static ngAcceptInputType_disabled: unknown;
|
|
3606
|
+
}
|
|
3607
|
+
|
|
3608
|
+
interface KbqTitleTextRef {
|
|
3609
|
+
textElement?: ElementRef;
|
|
3610
|
+
parentTextElement?: ElementRef;
|
|
3611
|
+
}
|
|
3612
|
+
declare const KBQ_TITLE_TEXT_REF: InjectionToken<KbqTitleTextRef>;
|
|
3613
|
+
|
|
3614
|
+
/** Event object emitted by KbqOption when selected or deselected. */
|
|
3615
|
+
declare class KbqOptionSelectionChange<T = KbqOption> {
|
|
3616
|
+
source: T;
|
|
3617
|
+
isUserInput: boolean;
|
|
3618
|
+
constructor(source: T, isUserInput?: boolean);
|
|
3619
|
+
}
|
|
3620
|
+
/**
|
|
3621
|
+
* Describes a parent component that manages a list of options.
|
|
3622
|
+
* Contains properties that the options can inherit.
|
|
3623
|
+
* @docs-private
|
|
3624
|
+
*/
|
|
3625
|
+
interface KbqOptionParentComponent {
|
|
3626
|
+
multiple?: boolean;
|
|
3627
|
+
multiSelection?: boolean;
|
|
3628
|
+
withVirtualScroll?: boolean;
|
|
3629
|
+
keyManager?: ActiveDescendantKeyManager<KbqOption>;
|
|
3630
|
+
setSelectedOptionsByClick: (option: KbqOption) => void;
|
|
3631
|
+
}
|
|
3632
|
+
/**
|
|
3633
|
+
* Handler that will update scroll position of elements inside overlay
|
|
3634
|
+
*/
|
|
3635
|
+
interface KeyboardNavigationHandler {
|
|
3636
|
+
/** Scrolls the active option into view. */
|
|
3637
|
+
scrollActiveOptionIntoView(): void;
|
|
3638
|
+
}
|
|
3639
|
+
/**
|
|
3640
|
+
* Injection token used to provide the parent component to options.
|
|
3641
|
+
*/
|
|
3642
|
+
declare const KBQ_OPTION_PARENT_COMPONENT: InjectionToken<KbqOptionParentComponent>;
|
|
3643
|
+
declare abstract class KbqOptionBase {
|
|
3644
|
+
value: any;
|
|
3645
|
+
abstract get viewValue(): string;
|
|
3646
|
+
abstract get disabled(): boolean;
|
|
3647
|
+
abstract set disabled(value: any);
|
|
3648
|
+
abstract readonly onSelectionChange: EventEmitter<KbqOptionSelectionChange<any>>;
|
|
3649
|
+
abstract select(): void;
|
|
3650
|
+
abstract deselect(): void;
|
|
3651
|
+
/** Emits the selection change event. */
|
|
3652
|
+
protected emitSelectionChangeEvent(isUserInput?: boolean): void;
|
|
3653
|
+
}
|
|
3654
|
+
declare class KbqVirtualOption extends KbqOptionBase {
|
|
3655
|
+
value: any;
|
|
3656
|
+
private _disabled;
|
|
3657
|
+
private readonly _viewValue?;
|
|
3658
|
+
get disabled(): any;
|
|
3659
|
+
set disabled(value: any);
|
|
3660
|
+
get selected(): boolean;
|
|
3661
|
+
private _selected;
|
|
3662
|
+
get viewValue(): string;
|
|
3663
|
+
readonly onSelectionChange: EventEmitter<KbqOptionSelectionChange<KbqVirtualOption>>;
|
|
3664
|
+
constructor(value: any, _disabled?: boolean, _viewValue?: string | undefined);
|
|
3665
|
+
select(): void;
|
|
3666
|
+
deselect(): void;
|
|
3667
|
+
}
|
|
3668
|
+
/**
|
|
3669
|
+
* Single option inside of a `<kbq-select>` element.
|
|
3670
|
+
*/
|
|
3671
|
+
declare class KbqOption extends KbqOptionBase implements AfterViewChecked, OnDestroy, KbqTitleTextRef {
|
|
3672
|
+
private readonly elementRef;
|
|
3673
|
+
private readonly changeDetectorRef;
|
|
3674
|
+
protected readonly parent: KbqOptionParentComponent;
|
|
3675
|
+
readonly group: KbqOptgroup | null;
|
|
3676
|
+
textElement: ElementRef;
|
|
3677
|
+
/** The form value of the option. */
|
|
3678
|
+
value: any;
|
|
3679
|
+
readonly selectable: i0.InputSignalWithTransform<boolean, unknown>;
|
|
3680
|
+
readonly userSelect: i0.InputSignalWithTransform<boolean, unknown>;
|
|
3681
|
+
get showCheckbox(): boolean;
|
|
3682
|
+
set showCheckbox(value: boolean);
|
|
3683
|
+
private _showCheckbox;
|
|
3684
|
+
/** Event emitted when the option is selected or deselected. */
|
|
3685
|
+
readonly onSelectionChange: EventEmitter<KbqOptionSelectionChange<KbqOption>>;
|
|
3686
|
+
/** Emits when the state of the option changes and any parents have to be notified. */
|
|
3687
|
+
readonly stateChanges: Subject<void>;
|
|
3688
|
+
/**
|
|
3689
|
+
* The displayed value of the option. It is necessary to show the selected option in the
|
|
3690
|
+
* select's trigger.
|
|
3691
|
+
*/
|
|
3692
|
+
get viewValue(): string;
|
|
3693
|
+
set viewValue(value: string);
|
|
3694
|
+
private _viewValue;
|
|
3695
|
+
/** Whether the wrapping component is in multiple selection mode. */
|
|
3696
|
+
get multiple(): boolean;
|
|
3697
|
+
get id(): string;
|
|
3698
|
+
private _id;
|
|
3699
|
+
get selected(): boolean;
|
|
3700
|
+
private _selected;
|
|
3701
|
+
get disabled(): any;
|
|
3702
|
+
set disabled(value: any);
|
|
3703
|
+
private _disabled;
|
|
3704
|
+
/**
|
|
3705
|
+
* Whether or not the option is currently active and ready to be selected.
|
|
3706
|
+
* An active option displays styles as if it is focused, but the
|
|
3707
|
+
* focus is actually retained somewhere else. This comes in handy
|
|
3708
|
+
* for components like autocomplete where focus must remain on the input.
|
|
3709
|
+
*/
|
|
3710
|
+
get active(): boolean;
|
|
3711
|
+
private _active;
|
|
3712
|
+
private mostRecentViewValue;
|
|
3713
|
+
/**
|
|
3714
|
+
* Flag that indicates whether the component is currently focused by a mouse interaction.
|
|
3715
|
+
*
|
|
3716
|
+
* When set to `true`, the component has focus resulting from a mouse click or
|
|
3717
|
+
* other pointer event. It is automatically cleared when the component loses
|
|
3718
|
+
* focus or if focus is obtained through keyboard navigation or programmatic means.
|
|
3719
|
+
*/
|
|
3720
|
+
private isFocusedByMouse;
|
|
3721
|
+
ngAfterViewChecked(): void;
|
|
3722
|
+
ngOnDestroy(): void;
|
|
3723
|
+
/** @docs-private */
|
|
3724
|
+
getHeight(): number;
|
|
3725
|
+
select(emitEvent?: boolean): void;
|
|
3726
|
+
deselect(emitEvent?: boolean): void;
|
|
3727
|
+
focus(): void;
|
|
3728
|
+
/**
|
|
3729
|
+
* This method sets display styles on the option to make it appear
|
|
3730
|
+
* active. This is used by the ActiveDescendantKeyManager so key
|
|
3731
|
+
* events will display the proper options as active on arrow key events.
|
|
3732
|
+
*/
|
|
3733
|
+
setActiveStyles(): void;
|
|
3734
|
+
/**
|
|
3735
|
+
* This method removes display styles on the option that made it appear
|
|
3736
|
+
* active. This is used by the ActiveDescendantKeyManager so key
|
|
3737
|
+
* events will display the proper options as active on arrow key events.
|
|
3738
|
+
*/
|
|
3739
|
+
setInactiveStyles(): void;
|
|
3740
|
+
/** Gets the label to be used when determining whether the option should be focused. */
|
|
3741
|
+
getLabel(): string;
|
|
3742
|
+
/** @docs-private */
|
|
3743
|
+
handleClick(event: MouseEvent): void;
|
|
3744
|
+
/** Ensures the option is selected when activated from the keyboard. */
|
|
3745
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
3746
|
+
/**
|
|
3747
|
+
* `Selects the option while indicating the selection came from the user. Used to
|
|
3748
|
+
* determine if the select's view -> model callback should be invoked.`
|
|
3749
|
+
*/
|
|
3750
|
+
selectViaInteraction(): void;
|
|
3751
|
+
getTabIndex(): string;
|
|
3752
|
+
getHostElement(): HTMLElement;
|
|
3753
|
+
/** @docs-private */
|
|
3754
|
+
protected onMouseenter(): void;
|
|
3755
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqOption, never>;
|
|
3756
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqOption, "kbq-option", ["kbqOption"], { "value": { "alias": "value"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "userSelect": { "alias": "userSelect"; "required": false; "isSignal": true; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; }; "viewValue": { "alias": "viewValue"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onSelectionChange": "onSelectionChange"; }, never, ["kbq-pseudo-checkbox", "*"], true, never>;
|
|
3757
|
+
}
|
|
3758
|
+
/**
|
|
3759
|
+
* Counts the amount of option group labels that precede the specified option.
|
|
3760
|
+
* @param optionIndex Index of the option at which to start counting.
|
|
3761
|
+
* @param options Flat list of all of the options.
|
|
3762
|
+
* @param optionGroups Flat list of all of the option groups.
|
|
3763
|
+
* @docs-private
|
|
3764
|
+
*/
|
|
3765
|
+
declare function countGroupLabelsBeforeOption(optionIndex: number, options: QueryList<KbqOption>, optionGroups: QueryList<KbqOptgroup>): number;
|
|
3766
|
+
/**
|
|
3767
|
+
* Determines the position to which to scroll a panel in order for an option to be into view.
|
|
3768
|
+
* @param optionIndex Index of the option to be scrolled into the view.
|
|
3769
|
+
* @param optionHeight Height of the options.
|
|
3770
|
+
* @param currentScrollPosition Current scroll position of the panel.
|
|
3771
|
+
* @param panelHeight Height of the panel.
|
|
3772
|
+
* @docs-private
|
|
3773
|
+
*/
|
|
3774
|
+
declare function getOptionScrollPosition(optionIndex: number, optionHeight: number, currentScrollPosition: number, panelHeight: number): number;
|
|
3775
|
+
|
|
3776
|
+
type KbqPseudoCheckboxState = 'unchecked' | 'checked' | 'indeterminate' | boolean;
|
|
3777
|
+
/**
|
|
3778
|
+
* Component that shows a simplified checkbox without including any kind of "real" checkbox.
|
|
3779
|
+
* Meant to be used when the checkbox is purely decorative and a large number of them will be
|
|
3780
|
+
* included, such as for the options in a multi-select. Uses no SVGs or complex animations.
|
|
3781
|
+
* Note that theming is meant to be handled by the parent element, e.g.
|
|
3782
|
+
* `kbq-primary .kbq-pseudo-checkbox`.
|
|
3783
|
+
*
|
|
3784
|
+
* Note that this component will be completely invisible to screen-reader users. This is *not*
|
|
3785
|
+
* interchangeable with `<kbq-checkbox>` and should *not* be used if the user would directly
|
|
3786
|
+
* interact with the checkbox. The pseudo-checkbox should only be used as an implementation detail
|
|
3787
|
+
* of more complex components that appropriately handle selected / checked state.
|
|
3788
|
+
* @docs-private
|
|
3789
|
+
*/
|
|
3790
|
+
declare class KbqPseudoCheckbox extends KbqColorDirective {
|
|
3791
|
+
readonly big: i0.InputSignal<boolean>;
|
|
3792
|
+
readonly state: i0.InputSignal<KbqPseudoCheckboxState>;
|
|
3793
|
+
readonly disabled: i0.InputSignal<boolean>;
|
|
3794
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqPseudoCheckbox, never>;
|
|
3795
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqPseudoCheckbox, "kbq-pseudo-checkbox", never, { "big": { "alias": "big"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3796
|
+
}
|
|
3797
|
+
|
|
3798
|
+
declare class KbqOptionModule {
|
|
3799
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqOptionModule, never>;
|
|
3800
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqOptionModule, never, [typeof KbqPseudoCheckbox, typeof KbqOption, typeof KbqOptgroup, typeof KbqOptionActionComponent], [typeof KbqOption, typeof KbqOptgroup, typeof KbqOptionActionComponent]>;
|
|
3801
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KbqOptionModule>;
|
|
3802
|
+
}
|
|
3803
|
+
|
|
3804
|
+
/** Shadow visibility state — which of the two shadows should be rendered. */
|
|
3805
|
+
interface KbqOverflowShadowState {
|
|
3806
|
+
/** Whether the top (header) shadow should be visible — content is scrolled past the top. */
|
|
3807
|
+
top: boolean;
|
|
3808
|
+
/** Whether the bottom (footer) shadow should be visible — more content remains below the fold. */
|
|
3809
|
+
bottom: boolean;
|
|
3810
|
+
}
|
|
3811
|
+
/**
|
|
3812
|
+
* Source of scroll events and scroll metrics. Can be provided by a component that wraps
|
|
3813
|
+
* the scrollable element (e.g. `KbqScrollbar`) so that `KbqOverflowShadowContainer` does
|
|
3814
|
+
* not have to subscribe to the native `scroll` event directly.
|
|
3815
|
+
*/
|
|
3816
|
+
interface KbqOverflowShadowSource {
|
|
3817
|
+
/** Emits whenever the wrapped element scrolls. */
|
|
3818
|
+
readonly onScroll: Observable<unknown>;
|
|
3819
|
+
/** The element whose `scrollTop`/`clientHeight`/`scrollHeight` drive the shadows, or `null` if not ready yet. */
|
|
3820
|
+
getScrollElement(): HTMLElement | null;
|
|
3821
|
+
}
|
|
3822
|
+
/**
|
|
3823
|
+
* DI token a scrollable wrapper component can provide to expose itself as the scroll source
|
|
3824
|
+
* for a co-located `KbqOverflowShadowContainer` (see `KbqScrollbar`).
|
|
3825
|
+
*/
|
|
3826
|
+
declare const KBQ_OVERFLOW_SHADOW_SOURCE: InjectionToken<KbqOverflowShadowSource>;
|
|
3827
|
+
/**
|
|
3828
|
+
* Container directive that sits on the scrollable element. Listens for scroll events and
|
|
3829
|
+
* keeps the `overflow` signal up to date, which is then read by `KbqOverflowShadowTop` and
|
|
3830
|
+
* `KbqOverflowShadowBottom`.
|
|
3831
|
+
*
|
|
3832
|
+
* The scroll source is auto-detected: if `KBQ_OVERFLOW_SHADOW_SOURCE` is provided in the
|
|
3833
|
+
* host's DI, that source is used; otherwise the native `scroll` event on the host element
|
|
3834
|
+
* is observed.
|
|
3835
|
+
*
|
|
3836
|
+
* In addition to scroll events, the directive observes the scroll source's box-size changes
|
|
3837
|
+
* via CDK's `SharedResizeObserver` — this covers layout changes that happen without a scroll
|
|
3838
|
+
* and alter the viewport size (modal open/close animation, window resize, reflow that resizes
|
|
3839
|
+
* the element). Content that only grows `scrollHeight` without changing the element's box size
|
|
3840
|
+
* is not detected by the resize observer; call `checkOverflow()` manually for those cases.
|
|
3841
|
+
*/
|
|
3842
|
+
declare class KbqOverflowShadowContainer implements OnInit {
|
|
3843
|
+
private readonly destroyRef;
|
|
3844
|
+
private readonly hostElement;
|
|
3845
|
+
private readonly externalSource;
|
|
3846
|
+
private readonly sharedResizeObserver;
|
|
3847
|
+
/** Optional debounce for scroll events, in milliseconds. Default is 0. */
|
|
3848
|
+
readonly debounce: i0.InputSignalWithTransform<number, unknown>;
|
|
3849
|
+
/** Current shadow state. Updated on every scroll event. */
|
|
3850
|
+
readonly overflow: i0.WritableSignal<KbqOverflowShadowState>;
|
|
3851
|
+
constructor();
|
|
3852
|
+
ngOnInit(): void;
|
|
3853
|
+
/**
|
|
3854
|
+
* Force-rechecks overflow and updates the signal. Calling this manually is normally not
|
|
3855
|
+
* necessary — scroll events plus `SharedResizeObserver` cover the standard scenarios. Kept
|
|
3856
|
+
* for rare cases when external code knows about a layout change more precisely than the
|
|
3857
|
+
* browser observers (e.g. content that only grows `scrollHeight`).
|
|
3858
|
+
*/
|
|
3859
|
+
checkOverflow(): void;
|
|
3860
|
+
private getScrollSource;
|
|
3861
|
+
private observeResize;
|
|
3862
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqOverflowShadowContainer, never>;
|
|
3863
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqOverflowShadowContainer, "[kbqOverflowShadowContainer]", ["kbqOverflowShadowContainer"], { "debounce": { "alias": "debounce"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3864
|
+
}
|
|
3865
|
+
/**
|
|
3866
|
+
* Marker directive for the top-shadow indicator. Linked to the container directive via a
|
|
3867
|
+
* template ref: `<header [kbqOverflowShadowTop]="containerRef">`.
|
|
3868
|
+
*
|
|
3869
|
+
* Sets an inline `box-shadow` on the host element using the value from the `shadow` input
|
|
3870
|
+
* (the Koobiq token by default). Consumers can override the shadow from the outside by
|
|
3871
|
+
* overriding the token `--kbq-shadow-overflow-normal-bottom` (or whichever token is passed
|
|
3872
|
+
* via the `shadow` input) in the relevant cascade scope.
|
|
3873
|
+
*/
|
|
3874
|
+
declare class KbqOverflowShadowTop {
|
|
3875
|
+
/**
|
|
3876
|
+
* Reference to the container directive. May be `undefined` if the container has not
|
|
3877
|
+
* been rendered yet (e.g. the indicator lives in one @if block and the container in
|
|
3878
|
+
* another).
|
|
3879
|
+
*/
|
|
3880
|
+
readonly ref: i0.InputSignal<KbqOverflowShadowContainer | undefined>;
|
|
3881
|
+
/** Value of `box-shadow` when the shadow is active. Defaults to the standard Koobiq token. */
|
|
3882
|
+
readonly shadow: i0.InputSignal<string>;
|
|
3883
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqOverflowShadowTop, never>;
|
|
3884
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqOverflowShadowTop, "[kbqOverflowShadowTop]", ["kbqOverflowShadowTop"], { "ref": { "alias": "kbqOverflowShadowTop"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3885
|
+
}
|
|
3886
|
+
/**
|
|
3887
|
+
* Marker directive for the bottom-shadow indicator. Linked to the container directive via a
|
|
3888
|
+
* template ref: `<footer [kbqOverflowShadowBottom]="containerRef">`.
|
|
3889
|
+
*
|
|
3890
|
+
* Sets an inline `box-shadow` on the host element. See {@link KbqOverflowShadowTop}.
|
|
3891
|
+
*/
|
|
3892
|
+
declare class KbqOverflowShadowBottom {
|
|
3893
|
+
/** Reference to the container directive. See {@link KbqOverflowShadowTop.ref}. */
|
|
3894
|
+
readonly ref: i0.InputSignal<KbqOverflowShadowContainer | undefined>;
|
|
3895
|
+
/** Value of `box-shadow` when the shadow is active. Defaults to the standard Koobiq token. */
|
|
3896
|
+
readonly shadow: i0.InputSignal<string>;
|
|
3897
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqOverflowShadowBottom, never>;
|
|
3898
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqOverflowShadowBottom, "[kbqOverflowShadowBottom]", ["kbqOverflowShadowBottom"], { "ref": { "alias": "kbqOverflowShadowBottom"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3899
|
+
}
|
|
3900
|
+
|
|
3901
|
+
declare const POSITION_MAP: {
|
|
3902
|
+
[key: string]: ConnectionPositionPair;
|
|
3903
|
+
};
|
|
3904
|
+
declare const EXTENDED_OVERLAY_POSITIONS: ConnectionPositionPair[];
|
|
3905
|
+
declare const TOP_POSITION_PRIORITY: ConnectionPositionPair[];
|
|
3906
|
+
declare const BOTTOM_POSITION_PRIORITY: ConnectionPositionPair[];
|
|
3907
|
+
declare const RIGHT_POSITION_PRIORITY: ConnectionPositionPair[];
|
|
3908
|
+
declare const LEFT_POSITION_PRIORITY: ConnectionPositionPair[];
|
|
3909
|
+
declare const RIGHT_TOP_POSITION_PRIORITY: ConnectionPositionPair[];
|
|
3910
|
+
declare const RIGHT_BOTTOM_POSITION_PRIORITY: ConnectionPositionPair[];
|
|
3911
|
+
declare const LEFT_TOP_POSITION_PRIORITY: ConnectionPositionPair[];
|
|
3912
|
+
declare const LEFT_BOTTOM_POSITION_PRIORITY: ConnectionPositionPair[];
|
|
3913
|
+
declare const TOP_LEFT_POSITION_PRIORITY: ConnectionPositionPair[];
|
|
3914
|
+
declare const TOP_RIGHT_POSITION_PRIORITY: ConnectionPositionPair[];
|
|
3915
|
+
declare const BOTTOM_RIGHT_POSITION_PRIORITY: ConnectionPositionPair[];
|
|
3916
|
+
declare const BOTTOM_LEFT_POSITION_PRIORITY: ConnectionPositionPair[];
|
|
3917
|
+
declare const POSITION_PRIORITY_STRATEGY: {
|
|
3918
|
+
top: ConnectionPositionPair[];
|
|
3919
|
+
topLeft: ConnectionPositionPair[];
|
|
3920
|
+
topRight: ConnectionPositionPair[];
|
|
3921
|
+
bottom: ConnectionPositionPair[];
|
|
3922
|
+
bottomLeft: ConnectionPositionPair[];
|
|
3923
|
+
bottomRight: ConnectionPositionPair[];
|
|
3924
|
+
left: ConnectionPositionPair[];
|
|
3925
|
+
leftTop: ConnectionPositionPair[];
|
|
3926
|
+
leftBottom: ConnectionPositionPair[];
|
|
3927
|
+
right: ConnectionPositionPair[];
|
|
3928
|
+
rightTop: ConnectionPositionPair[];
|
|
3929
|
+
rightBottom: ConnectionPositionPair[];
|
|
3930
|
+
};
|
|
3931
|
+
declare const POSITION_TO_CSS_MAP: {
|
|
3932
|
+
[key: string]: string;
|
|
3933
|
+
};
|
|
3934
|
+
declare const KBQ_CUSTOM_SCROLL_STRATEGY_PROVIDER: <T>(token: InjectionToken<T>, factory: (overlay: Overlay) => () => ScrollStrategy) => {
|
|
3935
|
+
provide: InjectionToken<T>;
|
|
3936
|
+
deps: (typeof Overlay)[];
|
|
3937
|
+
useFactory: (overlay: Overlay) => () => ScrollStrategy;
|
|
3938
|
+
};
|
|
3939
|
+
|
|
3940
|
+
/**
|
|
3941
|
+
* Injects the native element for the current component.
|
|
3942
|
+
*/
|
|
3943
|
+
declare const kbqInjectNativeElement: <T extends Element = HTMLElement>() => T;
|
|
3944
|
+
|
|
3945
|
+
declare function isBoolean(value: unknown): value is boolean;
|
|
3946
|
+
/** Whether the value is undefined. */
|
|
3947
|
+
declare const isUndefined: (value: unknown) => value is undefined;
|
|
3948
|
+
/** Whether the value is null. */
|
|
3949
|
+
declare const isNull: (value: unknown) => value is null;
|
|
3950
|
+
/** Whether the value is HTMLElement. */
|
|
3951
|
+
declare const isHtmlElement: (value: unknown) => value is HTMLElement;
|
|
3952
|
+
/** Whether the value is Element. */
|
|
3953
|
+
declare const isElement: (value: unknown) => value is Element;
|
|
3954
|
+
/** Whether the value is HTMLElement or null. */
|
|
3955
|
+
declare const isHtmlElementOrNull: (value: unknown) => value is HTMLElement | null;
|
|
3956
|
+
declare const getNodesWithoutComments: (nodes: NodeList) => Node[];
|
|
3957
|
+
declare const leftIconClassName = "kbq-icon_left";
|
|
3958
|
+
declare const rightIconClassName = "kbq-icon_right";
|
|
3959
|
+
/** Whether the current platform is a Mac. */
|
|
3960
|
+
declare function isMac(): boolean;
|
|
3961
|
+
/** Converts an enumeration (enum) type into a string literal type containing
|
|
3962
|
+
* all possible string representations of the values. */
|
|
3963
|
+
type KbqEnumValues<T extends string | number> = `${T}`;
|
|
3964
|
+
|
|
3965
|
+
interface KbqParentPopup {
|
|
3966
|
+
closedStream: Observable<boolean>;
|
|
3967
|
+
}
|
|
3968
|
+
/**
|
|
3969
|
+
* InjectionToken for providing component with popup. Used in select and tree-select for tooltip.
|
|
3970
|
+
*/
|
|
3971
|
+
declare const KBQ_PARENT_POPUP: InjectionToken<KbqParentPopup>;
|
|
3972
|
+
declare enum PopUpPlacements {
|
|
3973
|
+
Top = "top",
|
|
3974
|
+
TopLeft = "topLeft",
|
|
3975
|
+
TopRight = "topRight",
|
|
3976
|
+
Right = "right",
|
|
3977
|
+
RightTop = "rightTop",
|
|
3978
|
+
RightBottom = "rightBottom",
|
|
3979
|
+
Left = "left",
|
|
3980
|
+
LeftTop = "leftTop",
|
|
3981
|
+
LeftBottom = "leftBottom",
|
|
3982
|
+
Bottom = "bottom",
|
|
3983
|
+
BottomLeft = "bottomLeft",
|
|
3984
|
+
BottomRight = "bottomRight"
|
|
3985
|
+
}
|
|
3986
|
+
type KbqPopUpPlacementValues = KbqEnumValues<PopUpPlacements>;
|
|
3987
|
+
type KbqStickToWindowPlacementValues = KbqEnumValues<PopUpPlacements.Top | PopUpPlacements.Right | PopUpPlacements.Bottom | PopUpPlacements.Left>;
|
|
3988
|
+
declare enum PopUpVisibility {
|
|
3989
|
+
Initial = "initial",
|
|
3990
|
+
Visible = "visible",
|
|
3991
|
+
Hidden = "hidden"
|
|
3992
|
+
}
|
|
3993
|
+
declare enum PopUpTriggers {
|
|
3994
|
+
Click = "click",
|
|
3995
|
+
Focus = "focus",
|
|
3996
|
+
Hover = "hover",
|
|
3997
|
+
Keydown = "keydown",
|
|
3998
|
+
Program = "program"
|
|
3999
|
+
}
|
|
4000
|
+
declare enum PopUpSizes {
|
|
4001
|
+
Small = "small",
|
|
4002
|
+
Medium = "medium",
|
|
4003
|
+
Large = "large",
|
|
4004
|
+
Custom = "custom"
|
|
4005
|
+
}
|
|
4006
|
+
type KbqPopUpSizeValues = KbqEnumValues<PopUpSizes>;
|
|
4007
|
+
/**
|
|
4008
|
+
* Default value when configuring overlay in popups (Autocomplete, Datepicker, Dropdown, Select, Tags Autocomplete,
|
|
4009
|
+
* Tags Input, Timezone, TreeSelect).
|
|
4010
|
+
*/
|
|
4011
|
+
declare const defaultOffsetY: number;
|
|
4012
|
+
/**
|
|
4013
|
+
* Variable used for offsetY(X) calculations when applying Angular Overlay
|
|
4014
|
+
*
|
|
4015
|
+
* @docs-private
|
|
4016
|
+
*/
|
|
4017
|
+
declare const ARROW_BOTTOM_MARGIN_AND_HALF_HEIGHT: number;
|
|
4018
|
+
|
|
4019
|
+
declare class EmptyFocusTrapStrategy implements FocusTrapInertStrategy {
|
|
4020
|
+
preventFocus(): void;
|
|
4021
|
+
allowFocus(): void;
|
|
4022
|
+
}
|
|
4023
|
+
|
|
4024
|
+
declare abstract class KbqPopUpTrigger<T> implements OnInit, OnDestroy {
|
|
4025
|
+
/** Stream that emits when the popupTrigger is hovered. */
|
|
4026
|
+
readonly hovered: BehaviorSubject<boolean>;
|
|
4027
|
+
protected readonly scheduler: AsyncScheduler | undefined;
|
|
4028
|
+
protected readonly overlay: Overlay;
|
|
4029
|
+
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
4030
|
+
protected readonly ngZone: NgZone;
|
|
4031
|
+
protected readonly scrollDispatcher: ScrollDispatcher;
|
|
4032
|
+
protected readonly hostView: ViewContainerRef;
|
|
4033
|
+
protected readonly direction: Directionality | null;
|
|
4034
|
+
protected readonly destroyRef: DestroyRef;
|
|
4035
|
+
protected readonly scrollable: CdkScrollable | null;
|
|
4036
|
+
protected abstract scrollStrategy: () => ScrollStrategy;
|
|
4037
|
+
/** @docs-private */
|
|
4038
|
+
protected externalNativeElement: HTMLElement;
|
|
4039
|
+
private popUpChangeDetectorRef;
|
|
4040
|
+
get isOpen(): boolean;
|
|
4041
|
+
set isOpen(value: boolean);
|
|
4042
|
+
private _isOpen;
|
|
4043
|
+
enterDelay: number;
|
|
4044
|
+
leaveDelay: number;
|
|
4045
|
+
triggerName: string;
|
|
4046
|
+
overlayRef: OverlayRef | null;
|
|
4047
|
+
stickToWindow: KbqStickToWindowPlacementValues;
|
|
4048
|
+
container: HTMLElement;
|
|
4049
|
+
abstract disabled: boolean;
|
|
4050
|
+
abstract arrow: boolean;
|
|
4051
|
+
abstract trigger: string;
|
|
4052
|
+
abstract customClass: string;
|
|
4053
|
+
abstract content: string | TemplateRef<any>;
|
|
4054
|
+
abstract placementChange: EventEmitter<string>;
|
|
4055
|
+
abstract visibleChange: EventEmitter<boolean>;
|
|
4056
|
+
protected abstract originSelector: string;
|
|
4057
|
+
protected abstract overlayConfig: OverlayConfig;
|
|
4058
|
+
protected placement: KbqPopUpPlacementValues;
|
|
4059
|
+
protected placementPriority: string | string[] | null;
|
|
4060
|
+
protected visible: boolean;
|
|
4061
|
+
protected _content: string | TemplateRef<any>;
|
|
4062
|
+
protected _disabled: boolean;
|
|
4063
|
+
protected _customClass: string;
|
|
4064
|
+
protected portal: ComponentPortal<T>;
|
|
4065
|
+
protected instance: any | null;
|
|
4066
|
+
protected listeners: Map<string, EventListener>;
|
|
4067
|
+
protected closingActionsSubscription: Subscription;
|
|
4068
|
+
protected readonly availablePositions: {
|
|
4069
|
+
[key: string]: ConnectionPositionPair;
|
|
4070
|
+
};
|
|
4071
|
+
protected mouseEvent?: MouseEvent;
|
|
4072
|
+
protected strategy: FlexibleConnectedPositionStrategy;
|
|
4073
|
+
/** Hide pop-up with timeout. Need if you want to show pop-up after leaving trigger */
|
|
4074
|
+
protected hideWithTimeout: boolean;
|
|
4075
|
+
/** prevents closure by any event */
|
|
4076
|
+
protected preventClose: boolean;
|
|
4077
|
+
abstract updateClassMap(newPlacement?: string): void;
|
|
4078
|
+
abstract updateData(): void;
|
|
4079
|
+
abstract closingActions(): Observable<any>;
|
|
4080
|
+
abstract getOverlayHandleComponentType(): Type<T>;
|
|
4081
|
+
ngOnInit(): void;
|
|
4082
|
+
ngOnDestroy(): void;
|
|
4083
|
+
updatePlacement(value: KbqPopUpPlacementValues): void;
|
|
4084
|
+
updatePlacementPriority(value: any): void;
|
|
4085
|
+
updateVisible(externalValue: boolean): void;
|
|
4086
|
+
keydownHandler(event: KeyboardEvent): void;
|
|
4087
|
+
touchendHandler(): void;
|
|
4088
|
+
show(delay?: number): void;
|
|
4089
|
+
hide(delay?: number): void;
|
|
4090
|
+
detach: () => void;
|
|
4091
|
+
/** Create the overlay config and position strategy */
|
|
4092
|
+
createOverlay(): OverlayRef;
|
|
4093
|
+
resetOrigin(): void;
|
|
4094
|
+
onPositionChange: ($event: ConnectedOverlayPositionChange) => void;
|
|
4095
|
+
initListeners(): void;
|
|
4096
|
+
getMouseLeaveListener(): (delay?: number) => void;
|
|
4097
|
+
/** Updates the position of the current popover. */
|
|
4098
|
+
updatePosition(reapplyPosition?: boolean): void;
|
|
4099
|
+
focus(): void;
|
|
4100
|
+
/** @docs-private */
|
|
4101
|
+
getNativeElement(): HTMLElement;
|
|
4102
|
+
/** @docs-private */
|
|
4103
|
+
setExternalNativeElement(value: HTMLElement): void;
|
|
4104
|
+
/**
|
|
4105
|
+
* Returns a list of positions that are aligned with the element's dimensions and offsets.
|
|
4106
|
+
* @protected
|
|
4107
|
+
*/
|
|
4108
|
+
protected getAdjustedPositions(): ConnectionPositionPair[];
|
|
4109
|
+
protected getPriorityPlacementStrategy(value: string | string[]): ConnectionPositionPair[];
|
|
4110
|
+
protected getPrioritizedPositions(): ConnectionPositionPair[];
|
|
4111
|
+
protected clearListeners(): void;
|
|
4112
|
+
private createListener;
|
|
4113
|
+
private saveMouseEvent;
|
|
4114
|
+
private addEventListener;
|
|
4115
|
+
private removeEventListener;
|
|
4116
|
+
private subscribeOnClosingActions;
|
|
4117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqPopUpTrigger<any>, never>;
|
|
4118
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqPopUpTrigger<any>, never, never, {}, {}, never, never, true, never>;
|
|
4119
|
+
}
|
|
4120
|
+
|
|
4121
|
+
declare abstract class KbqPopUp implements OnDestroy {
|
|
4122
|
+
protected readonly renderer: Renderer2;
|
|
4123
|
+
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
4124
|
+
protected readonly changeDetectorRef: ChangeDetectorRef;
|
|
4125
|
+
readonly destroyRef: DestroyRef;
|
|
4126
|
+
/** Stream that emits when the popup item is hovered. */
|
|
4127
|
+
readonly hovered: BehaviorSubject<boolean>;
|
|
4128
|
+
trigger: KbqPopUpTrigger<unknown>;
|
|
4129
|
+
header: string | TemplateRef<any>;
|
|
4130
|
+
content: string | TemplateRef<any>;
|
|
4131
|
+
context: {
|
|
4132
|
+
$implicit: any;
|
|
4133
|
+
} | null;
|
|
4134
|
+
classMap: {};
|
|
4135
|
+
warning: boolean;
|
|
4136
|
+
arrow: boolean;
|
|
4137
|
+
defaultPaddings: boolean;
|
|
4138
|
+
offset: number | null;
|
|
4139
|
+
visibility: PopUpVisibility;
|
|
4140
|
+
visibleChange: EventEmitter<boolean>;
|
|
4141
|
+
protected prefix: string;
|
|
4142
|
+
/** Subject for notifying that the tooltip has been hidden from the view */
|
|
4143
|
+
protected readonly onHideSubject: Subject<void>;
|
|
4144
|
+
protected closeOnInteraction: boolean;
|
|
4145
|
+
private showTimeoutId;
|
|
4146
|
+
private hideTimeoutId;
|
|
4147
|
+
ngOnDestroy(): void;
|
|
4148
|
+
isTemplateRef(value: any): boolean;
|
|
4149
|
+
show(delay: number): void;
|
|
4150
|
+
/**
|
|
4151
|
+
* Hides the popup after a specified delay.
|
|
4152
|
+
*
|
|
4153
|
+
* The hide timeout triggers the hiding of the popup by updating visibility and emitting relevant events.
|
|
4154
|
+
* Also, it marks for check to ensure proper change detection, especially for parent components with OnPush strategy.
|
|
4155
|
+
* @param delay - The delay in milliseconds before hiding the popup.
|
|
4156
|
+
*/
|
|
4157
|
+
hide(delay: number): void;
|
|
4158
|
+
isVisible(): boolean;
|
|
4159
|
+
updateClassMap(placement: string, customClass: string, classMap?: any): void;
|
|
4160
|
+
/** Returns an observable that notifies when the tooltip has been hidden from view. */
|
|
4161
|
+
afterHidden(): Observable<void>;
|
|
4162
|
+
markForCheck(): void;
|
|
4163
|
+
detectChanges(): void;
|
|
4164
|
+
animationStart(): void;
|
|
4165
|
+
animationDone({ toState }: AnimationEvent): void;
|
|
4166
|
+
handleBodyInteraction(): void;
|
|
4167
|
+
protected addEventListenerForHide(): void;
|
|
4168
|
+
protected setStickPosition(): void;
|
|
4169
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqPopUp, never>;
|
|
4170
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqPopUp, never, never, {}, {}, never, never, true, never>;
|
|
4171
|
+
}
|
|
4172
|
+
|
|
4173
|
+
declare const applyPopupMargins: (renderer: Renderer2, element: HTMLElement, name: string, value: string) => void;
|
|
4174
|
+
|
|
4175
|
+
declare class KbqSelectTrigger {
|
|
4176
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelectTrigger, never>;
|
|
4177
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSelectTrigger, "kbq-select-trigger, [kbq-select-trigger]", never, {}, {}, never, never, true, never>;
|
|
4178
|
+
}
|
|
4179
|
+
declare class KbqSelectMatcher {
|
|
4180
|
+
readonly useDefaultHandlers: i0.InputSignalWithTransform<boolean, unknown>;
|
|
4181
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelectMatcher, never>;
|
|
4182
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSelectMatcher, "kbq-select-matcher, [kbq-select-matcher]", never, { "useDefaultHandlers": { "alias": "useDefaultHandlers"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4183
|
+
}
|
|
4184
|
+
declare class KbqSelectSearchEmptyResult {
|
|
4185
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelectSearchEmptyResult, never>;
|
|
4186
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSelectSearchEmptyResult, "[kbq-select-search-empty-result]", ["kbqSelectSearchEmptyResult"], {}, {}, never, never, true, never>;
|
|
4187
|
+
}
|
|
4188
|
+
declare class KbqSelectFooter {
|
|
4189
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelectFooter, never>;
|
|
4190
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSelectFooter, "kbq-select-footer, [kbq-select-footer]", never, {}, {}, never, never, true, never>;
|
|
4191
|
+
}
|
|
4192
|
+
declare class KbqSelectSearch implements AfterContentInit, OnDestroy {
|
|
4193
|
+
protected formField: KbqFormFieldRef;
|
|
4194
|
+
readonly changes: EventEmitter<string>;
|
|
4195
|
+
isSearchChanged: boolean;
|
|
4196
|
+
get ngControl(): any;
|
|
4197
|
+
private searchChangesSubscription;
|
|
4198
|
+
constructor();
|
|
4199
|
+
setPlaceholder(value: string): void;
|
|
4200
|
+
hasPlaceholder(): boolean;
|
|
4201
|
+
focus(): void;
|
|
4202
|
+
reset(): void;
|
|
4203
|
+
value(): any;
|
|
4204
|
+
ngAfterContentInit(): void;
|
|
4205
|
+
ngOnDestroy(): void;
|
|
4206
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
4207
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelectSearch, never>;
|
|
4208
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSelectSearch, "[kbqSelectSearch]", ["kbqSelectSearch"], {}, {}, never, never, true, never>;
|
|
4209
|
+
}
|
|
4210
|
+
/**
|
|
4211
|
+
* Abstract class representing a customizable select component with an overlay.
|
|
4212
|
+
*
|
|
4213
|
+
* This class provides base functionality for handling the overlay positioning.
|
|
4214
|
+
* @docs-private
|
|
4215
|
+
*/
|
|
4216
|
+
declare abstract class KbqAbstractSelect {
|
|
4217
|
+
protected overlayDir: CdkConnectedOverlay;
|
|
4218
|
+
protected triggerRect: DOMRect;
|
|
4219
|
+
/** Overlay panel class. */
|
|
4220
|
+
protected readonly overlayPanelClass = "kbq-select-overlay";
|
|
4221
|
+
protected setOverlayPosition(): void;
|
|
4222
|
+
protected calculateOverlayOffsetX(baseOffsetX: number): number[];
|
|
4223
|
+
protected getOverlayRect(): DOMRect;
|
|
4224
|
+
protected resetOverlay(): void;
|
|
4225
|
+
protected resolveSearchMinOptionsThreshold(value?: 'auto' | number): number | undefined;
|
|
4226
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAbstractSelect, never>;
|
|
4227
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqAbstractSelect, never, never, {}, {}, never, never, true, never>;
|
|
4228
|
+
}
|
|
4229
|
+
|
|
4230
|
+
/**
|
|
4231
|
+
* Minimum option count threshold for displaying select search.
|
|
4232
|
+
* Search is hidden when fewer options are available.
|
|
4233
|
+
*/
|
|
4234
|
+
declare const KBQ_SELECT_SEARCH_MIN_OPTIONS_THRESHOLD = 10;
|
|
4235
|
+
/**
|
|
4236
|
+
* The select panel will only "fit" inside the viewport if it is positioned at
|
|
4237
|
+
* this value or more away from the viewport boundary.
|
|
4238
|
+
*/
|
|
4239
|
+
declare const SELECT_PANEL_VIEWPORT_PADDING = 8;
|
|
4240
|
+
/** Injection token that determines the scroll handling while a select is open. */
|
|
4241
|
+
declare const KBQ_SELECT_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
4242
|
+
/** @docs-private */
|
|
4243
|
+
declare function kbqSelectScrollStrategyProviderFactory(overlay: Overlay): () => RepositionScrollStrategy;
|
|
4244
|
+
/** @docs-private */
|
|
4245
|
+
declare const KBQ_SELECT_SCROLL_STRATEGY_PROVIDER: {
|
|
4246
|
+
provide: InjectionToken<() => ScrollStrategy>;
|
|
4247
|
+
deps: (typeof Overlay)[];
|
|
4248
|
+
useFactory: typeof kbqSelectScrollStrategyProviderFactory;
|
|
4249
|
+
};
|
|
4250
|
+
|
|
4251
|
+
/**
|
|
4252
|
+
* Returns an exception to be thrown when attempting to change a select's `multiple` option
|
|
4253
|
+
* after initialization.
|
|
4254
|
+
* @docs-private
|
|
4255
|
+
*/
|
|
4256
|
+
declare function getKbqSelectDynamicMultipleError(): Error;
|
|
4257
|
+
/**
|
|
4258
|
+
* Returns an exception to be thrown when attempting to assign a non-array value to a select
|
|
4259
|
+
* in `multiple` mode. Note that `undefined` and `null` are still valid values to allow for
|
|
4260
|
+
* resetting the value.
|
|
4261
|
+
* @docs-private
|
|
4262
|
+
*/
|
|
4263
|
+
declare function getKbqSelectNonArrayValueError(): Error;
|
|
4264
|
+
/**
|
|
4265
|
+
* Returns an exception to be thrown when assigning a non-function value to the comparator
|
|
4266
|
+
* used to determine if a value corresponds to an option. Note that whether the function
|
|
4267
|
+
* actually takes two values and returns a boolean is not checked.
|
|
4268
|
+
*/
|
|
4269
|
+
declare function getKbqSelectNonFunctionValueError(): Error;
|
|
4270
|
+
|
|
4271
|
+
declare const selectEvents = "selectEvents";
|
|
4272
|
+
|
|
4273
|
+
declare enum MultipleMode {
|
|
4274
|
+
CHECKBOX = "checkbox",
|
|
4275
|
+
KEYBOARD = "keyboard"
|
|
4276
|
+
}
|
|
4277
|
+
|
|
4278
|
+
declare class KbqPseudoCheckboxModule {
|
|
4279
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqPseudoCheckboxModule, never>;
|
|
4280
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqPseudoCheckboxModule, never, [typeof KbqPseudoCheckbox], [typeof KbqPseudoCheckbox]>;
|
|
4281
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KbqPseudoCheckboxModule>;
|
|
4282
|
+
}
|
|
4283
|
+
|
|
4284
|
+
declare class KbqMeasureScrollbarService {
|
|
4285
|
+
protected readonly document: Document;
|
|
4286
|
+
get scrollBarWidth(): number;
|
|
4287
|
+
private _scrollBarWidth;
|
|
4288
|
+
private scrollbarMeasure;
|
|
4289
|
+
constructor();
|
|
4290
|
+
initScrollBarWidth(): void;
|
|
4291
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqMeasureScrollbarService, never>;
|
|
4292
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KbqMeasureScrollbarService>;
|
|
4293
|
+
}
|
|
4294
|
+
|
|
4295
|
+
interface KbqTheme {
|
|
4296
|
+
name: string;
|
|
4297
|
+
className: string;
|
|
4298
|
+
selected: boolean;
|
|
4299
|
+
}
|
|
4300
|
+
/**
|
|
4301
|
+
* Enum representing the available themes for the Koobiq design system.
|
|
4302
|
+
* This enum is used to manage and switch between different visual themes.
|
|
4303
|
+
*/
|
|
4304
|
+
declare enum KbqThemeSelector {
|
|
4305
|
+
/**
|
|
4306
|
+
* Represents the default light theme.
|
|
4307
|
+
* This is the standard theme that is applied
|
|
4308
|
+
* when the application is first loaded if nothing else provided
|
|
4309
|
+
*/
|
|
4310
|
+
Default = "kbq-light",
|
|
4311
|
+
/**
|
|
4312
|
+
* This theme is used to provide a darker visual experience, often preferred in low-light environments.
|
|
4313
|
+
*/
|
|
4314
|
+
Dark = "kbq-dark"
|
|
4315
|
+
}
|
|
4316
|
+
declare const KbqDefaultThemes: KbqTheme[];
|
|
4317
|
+
declare class ThemeService<T extends KbqTheme | null = KbqTheme> implements OnDestroy {
|
|
4318
|
+
protected readonly document: Document;
|
|
4319
|
+
protected readonly rendererFactory: RendererFactory2;
|
|
4320
|
+
protected renderer: Renderer2;
|
|
4321
|
+
current: BehaviorSubject<T>;
|
|
4322
|
+
themes: T[];
|
|
4323
|
+
protected subscription: Subscription;
|
|
4324
|
+
constructor();
|
|
4325
|
+
ngOnDestroy(): void;
|
|
4326
|
+
setThemes(items: T[]): void;
|
|
4327
|
+
setTheme(value: T | number): void;
|
|
4328
|
+
getTheme(): T;
|
|
4329
|
+
protected update: ([prev, current]: T[]) => void;
|
|
4330
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService<any>, never>;
|
|
4331
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService<any>>;
|
|
4332
|
+
}
|
|
4333
|
+
|
|
4334
|
+
/** Utility to dispatch any event on a Node. */
|
|
4335
|
+
declare function dispatchEvent(node: Node | Window, event: Event): Event;
|
|
4336
|
+
/** Shorthand to dispatch a fake event on a specified node. */
|
|
4337
|
+
declare function dispatchFakeEvent(node: Node | Window, type: string, canBubble?: boolean): Event;
|
|
4338
|
+
/** Shorthand to dispatch a keyboard event with a specified key code. */
|
|
4339
|
+
declare function dispatchKeyboardEvent(node: Node, type: string, keyCode: number, target?: Element): KeyboardEvent;
|
|
4340
|
+
/** Shorthand to dispatch a mouse event on the specified coordinates. */
|
|
4341
|
+
declare function dispatchMouseEvent(node: Node, type: string, x?: number, y?: number, event?: MouseEvent): MouseEvent;
|
|
4342
|
+
/** Shorthand to dispatch a touch event on the specified coordinates. */
|
|
4343
|
+
declare function dispatchTouchEvent(node: Node, type: string, x?: number, y?: number): Event;
|
|
4344
|
+
|
|
4345
|
+
/**
|
|
4346
|
+
* Patches an elements focus and blur methods to emit events consistently and predictably.
|
|
4347
|
+
* This is necessary, because some browsers, like IE11, will call the focus handlers asynchronously,
|
|
4348
|
+
* while others won't fire them at all if the browser window is not focused.
|
|
4349
|
+
*/
|
|
4350
|
+
declare function patchElementFocus(element: HTMLElement): void;
|
|
4351
|
+
|
|
4352
|
+
/** Creates a browser MouseEvent with the specified options. */
|
|
4353
|
+
declare function createMouseEvent(type: string, x?: number, y?: number, button?: number): MouseEvent;
|
|
4354
|
+
/** Creates a browser TouchEvent with the specified pointer coordinates. */
|
|
4355
|
+
declare function createTouchEvent(type: string, pageX?: number, pageY?: number): UIEvent;
|
|
4356
|
+
/** Dispatches a keydown event from an element. */
|
|
4357
|
+
declare function createKeyboardEvent(type: string, keyCode: number, target?: Element, key?: string): any;
|
|
4358
|
+
/** Creates a fake event object with any desired event type. */
|
|
4359
|
+
declare function createFakeEvent(type: string, canBubble?: boolean, cancelable?: boolean): Event;
|
|
4360
|
+
|
|
4361
|
+
/**
|
|
4362
|
+
* Mock synchronous NgZone implementation that can be used
|
|
4363
|
+
* to flush out `onStable` subscriptions in tests.
|
|
4364
|
+
*
|
|
4365
|
+
* via: https://github.com/angular/angular/blob/master/packages/core/testing/src/ng_zone_mock.ts
|
|
4366
|
+
* @docs-private
|
|
4367
|
+
*/
|
|
4368
|
+
declare class MockNgZone extends NgZone {
|
|
4369
|
+
onStable: EventEmitter<any>;
|
|
4370
|
+
constructor();
|
|
4371
|
+
run(fn: () => void): any;
|
|
4372
|
+
runOutsideAngular(fn: () => void): any;
|
|
4373
|
+
simulateZoneExit(): void;
|
|
4374
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockNgZone, never>;
|
|
4375
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MockNgZone>;
|
|
4376
|
+
}
|
|
4377
|
+
|
|
4378
|
+
/**
|
|
4379
|
+
* Focuses an input, sets its value and dispatches
|
|
4380
|
+
* the `input` event, simulating the user typing.
|
|
4381
|
+
* @param value Value to be set on the input.
|
|
4382
|
+
* @param element Element onto which to set the value.
|
|
4383
|
+
*/
|
|
4384
|
+
declare function typeInElement(value: string, element: HTMLInputElement): void;
|
|
4385
|
+
|
|
4386
|
+
declare function wrappedErrorMessage(e: Error): RegExp;
|
|
4387
|
+
|
|
4388
|
+
/**
|
|
4389
|
+
* An abstraction over the global `window` object.
|
|
4390
|
+
*/
|
|
4391
|
+
declare const KBQ_WINDOW: InjectionToken<Window>;
|
|
4392
|
+
|
|
4393
|
+
/**
|
|
4394
|
+
* @docs-private
|
|
4395
|
+
*/
|
|
4396
|
+
declare const validationTooltipShowDelay = 10;
|
|
4397
|
+
/**
|
|
4398
|
+
* @docs-private
|
|
4399
|
+
*/
|
|
4400
|
+
declare const validationTooltipHideDelay = 3000;
|
|
4401
|
+
|
|
4402
|
+
declare const VERSION: Version;
|
|
4403
|
+
|
|
4404
|
+
export { A, ALT, APOSTROPHE, ARROW_BOTTOM_MARGIN_AND_HALF_HEIGHT, AT_SIGN, AbsoluteDateFormatterImpurePipe, AbsoluteDateFormatterPipe, AbsoluteDateShortFormatterImpurePipe, AbsoluteDateShortFormatterPipe, AbsoluteDateTimeFormatterImpurePipe, AbsoluteDateTimeFormatterPipe, AbsoluteShortDateTimeFormatterImpurePipe, AbsoluteShortDateTimeFormatterPipe, ActiveDescendantKeyManager, B, BACKSLASH, BACKSPACE, BOTTOM_LEFT_POSITION_PRIORITY, BOTTOM_POSITION_PRIORITY, BOTTOM_RIGHT_POSITION_PRIORITY, BaseFormatterPipe, BaseLocaleAwareFormatterPipe, C, CAPS_LOCK, CLOSE_SQUARE_BRACKET, COMMA, CONTEXT_MENU, CONTROL, D, DASH, DELETE, DOWN_ARROW, DateAdapter, DateFormatter, E, EIGHT, END, ENTER, EQUALS, ESCAPE, EXTENDED_OVERLAY_POSITIONS, EmptyFocusTrapStrategy, ErrorStateMatcher, F, F1, F10, F11, F12, F2, F3, F4, F5, F6, F7, F8, F9, FF_EQUALS, FF_MINUS, FF_MUTE, FF_SEMICOLON, FF_VOLUME_DOWN, FF_VOLUME_UP, FIRST_MEDIA, FIVE, FOUR, FileValidators, FocusKeyManager, G, H, HOME, I, INSERT, J, K, 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_DEFAULT_PRECISION_SEPARATOR, KBQ_FORM_FIELD_REF, KBQ_INVALID_VALUE_ERROR, KBQ_LOCALE_DATA, KBQ_LOCALE_ID, KBQ_LOCALE_SERVICE, KBQ_LOCALE_SERVICE_LANG_ATTR_NAME, KBQ_NUMBER_FORMATTER_DEFAULT_OPTIONS, KBQ_NUMBER_FORMATTER_OPTIONS, KBQ_OPTION_ACTION_PARENT, KBQ_OPTION_PARENT_COMPONENT, KBQ_OVERFLOW_SHADOW_SOURCE, KBQ_PARENT_ANIMATION_COMPONENT, KBQ_PARENT_POPUP, KBQ_SELECT_SCROLL_STRATEGY, KBQ_SELECT_SCROLL_STRATEGY_PROVIDER, KBQ_SELECT_SEARCH_MIN_OPTIONS_THRESHOLD, KBQ_SIZE_UNITS_CONFIG, KBQ_SIZE_UNITS_DEFAULT_CONFIG, KBQ_TITLE_TEXT_REF, KBQ_WINDOW, KbqAbsoluteLongDatePipe, KbqAbsoluteLongDateTimePipe, KbqAbsoluteShortDatePipe, KbqAbsoluteShortDateTimePipe, KbqAbstractSelect, KbqActionContainer, KbqAnimationCurves, KbqAnimationDurations, KbqColorDirective, KbqComponentColors, KbqDataSizePipe, KbqDecimalPipe, KbqDefaultThemes, KbqErrorStateTracker, KbqFieldSizingContent, KbqForm, KbqFormElement, KbqFormattersModule, KbqFormsModule, KbqHighlightBackgroundPipe, KbqHighlightModule, KbqHighlightPipe, KbqHover, KbqLine, KbqLineSetter, KbqLocaleService, KbqLocaleServiceModule, KbqMeasureScrollbarService, KbqMeasurementSystem, KbqNormalizeWhitespace, KbqOptgroup, KbqOption, KbqOptionActionComponent, KbqOptionBase, KbqOptionModule, KbqOptionSelectionChange, KbqOverflowShadowBottom, KbqOverflowShadowContainer, KbqOverflowShadowTop, KbqPopUp, KbqPopUpTrigger, KbqPseudoCheckbox, KbqPseudoCheckboxModule, KbqRangeLongDatePipe, KbqRangeLongDateTimePipe, KbqRangeMiddleDateTimePipe, KbqRangeShortDatePipe, KbqRangeShortDateTimePipe, KbqReadStateDirective, KbqRectangleItem, KbqRelativeLongDatePipe, KbqRelativeLongDateTimePipe, KbqRelativeShortDatePipe, KbqRelativeShortDateTimePipe, KbqRoundDecimalPipe, KbqSelectFooter, KbqSelectMatcher, KbqSelectSearch, KbqSelectSearchEmptyResult, KbqSelectTrigger, KbqTableNumberPipe, KbqThemeSelector, KbqVirtualOption, L, LAST_MEDIA, LEFT_ARROW, LEFT_BOTTOM_POSITION_PRIORITY, LEFT_POSITION_PRIORITY, LEFT_TOP_POSITION_PRIORITY, ListKeyManager, M, MAC_ENTER, MAC_META, MAC_WK_CMD_LEFT, MAC_WK_CMD_RIGHT, META, MUTE, MockNgZone, MultipleMode, N, NINE, NUMBER_FORMAT_REGEXP, NUMPAD_DIVIDE, NUMPAD_EIGHT, NUMPAD_FIVE, NUMPAD_FOUR, NUMPAD_MINUS, NUMPAD_MULTIPLY, NUMPAD_NINE, NUMPAD_ONE, NUMPAD_PERIOD, NUMPAD_PLUS, NUMPAD_SEVEN, NUMPAD_SIX, NUMPAD_THREE, NUMPAD_TWO, NUMPAD_ZERO, NUM_CENTER, NUM_LOCK, O, ONE, OPEN_SQUARE_BRACKET, P, PAGE_DOWN, PAGE_UP, PAUSE, PERIOD, PLUS_SIGN, POSITION_MAP, POSITION_PRIORITY_STRATEGY, POSITION_TO_CSS_MAP, PRINT_SCREEN, PasswordValidators, PopUpPlacements, PopUpSizes, PopUpTriggers, PopUpVisibility, Q, QUESTION_MARK, R, RIGHT_ARROW, RIGHT_BOTTOM_POSITION_PRIORITY, RIGHT_POSITION_PRIORITY, RIGHT_TOP_POSITION_PRIORITY, RangeDateFormatterImpurePipe, RangeDateFormatterPipe, RangeDateTimeFormatterImpurePipe, RangeDateTimeFormatterPipe, RangeMiddleDateTimeFormatterImpurePipe, RangeMiddleDateTimeFormatterPipe, RangeShortDateFormatterImpurePipe, RangeShortDateFormatterPipe, RangeShortDateTimeFormatterImpurePipe, RangeShortDateTimeFormatterPipe, RelativeDateFormatterImpurePipe, RelativeDateFormatterPipe, RelativeDateTimeFormatterImpurePipe, RelativeDateTimeFormatterPipe, RelativeShortDateFormatterImpurePipe, RelativeShortDateFormatterPipe, RelativeShortDateTimeFormatterImpurePipe, RelativeShortDateTimeFormatterPipe, S, SCROLL_LOCK, SELECT_PANEL_VIEWPORT_PADDING, SEMICOLON, SEVEN, SHIFT, SINGLE_QUOTE, SIX, SLASH, SPACE, ShowOnControlDirtyErrorStateMatcher, ShowOnFormSubmitErrorStateMatcher, ShowRequiredOnSubmitErrorStateMatcher, T, TAB, THREE, TILDE, TOP_LEFT_POSITION_PRIORITY, TOP_POSITION_PRIORITY, TOP_RIGHT_POSITION_PRIORITY, TWO, ThemePalette, ThemeService, U, UP_ARROW, V, VERSION, VOLUME_DOWN, VOLUME_UP, W, X, Y, Z, ZERO, applyPopupMargins, checkAndNormalizeLocalizedNumber, countGroupLabelsBeforeOption, createFakeEvent, createKeyboardEvent, createMouseEvent, createTouchEvent, defaultOffsetY, dispatchEvent, dispatchFakeEvent, dispatchKeyboardEvent, dispatchMouseEvent, dispatchTouchEvent, enUSFormattersData, enUSLocaleData, esLAFormattersData, esLALocaleData, escapeRegExp, fadeAnimation, formatNumberWithLocale, getFormattedSizeParts, getHumanizedBytes, getKbqSelectDynamicMultipleError, getKbqSelectNonArrayValueError, getKbqSelectNonFunctionValueError, getNodesWithoutComments, getOptionScrollPosition, hasModifierKey, isBoolean, isControl, isCopy, isDigit, isElement, isFunctionKey, isHorizontalMovement, isHtmlElement, isHtmlElementOrNull, isInput, isLeftBracket, isLetterKey, isMac, isNull, isNumberKey, isNumpadKey, isRightBracket, isSelectAll, isUndefined, isVerticalMovement, isWithin, kbqErrorStateMatcherProvider, kbqFilesizeFormatterConfigurationProvider, kbqHighlightBackgroundMark, kbqHighlightMark, kbqInjectNativeElement, kbqLocaleServiceLangAttrNameProvider, kbqSelectAnimations, kbqSelectScrollStrategyProviderFactory, leftIconClassName, mixinColor, mixinDisabled, mixinErrorState, mixinTabIndex, normalizeNumber, numberByParts, patchElementFocus, ptBRFormattersData, ptBRLocaleData, rightIconClassName, ruRUFormattersData, ruRULocaleData, selectEvents, tkTMFormattersData, tkTMLocaleData, typeInElement, validationTooltipHideDelay, validationTooltipShowDelay, wrappedErrorMessage };
|
|
4405
|
+
export type { CanColor, CanColorCtor, CanDisable, CanDisableCtor, CanUpdateErrorState, CanUpdateErrorStateCtor, HasTabIndex, HasTabIndexCtor, Highlightable, IFocusableOption, KbqActionsPanelLocaleConfiguration, KbqBaseFileUploadLocaleConfig, KbqCheckedState, KbqClampedTextLocaleConfig, KbqCodeBlockLocaleConfiguration, KbqDateFormats, KbqDefaultSizes, KbqEnumValues, KbqFileTypeSpecifier, KbqFileUploadLocaleConfig, KbqFlexDirection, KbqFlexWrap, KbqFormFieldRef, KbqMeasurementSystemType, KbqMultipleFileUploadLocaleConfig, KbqNumberFormatOptions, KbqNumberInputLocaleConfig, KbqNumericPipe, KbqOptionActionParent, KbqOptionParentComponent, KbqOrientation, KbqOverflowShadowSource, KbqOverflowShadowState, KbqParentPopup, KbqPopUpPlacementValues, KbqPopUpSizeValues, KbqPseudoCheckboxState, KbqSizeUnitsConfig, KbqStickToWindowPlacementValues, KbqTheme, KbqTimeRangeLocaleConfig, KbqTitleTextRef, KbqUnitSystem, KeyboardNavigationHandler, ListKeyManagerModifierKey, ListKeyManagerOption };
|