@koobiq/components 16.0.0-beta.6 → 16.0.0-beta.7

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.
Files changed (283) hide show
  1. package/autocomplete/autocomplete-trigger.directive.d.ts +5 -15
  2. package/button-toggle/button-toggle.component.d.ts +2 -2
  3. package/checkbox/_checkbox-theme.scss +10 -2
  4. package/checkbox/checkbox.d.ts +1 -1
  5. package/code-block/README.md +14 -14
  6. package/code-block/_code-block-theme.scss +8 -0
  7. package/code-block/code-block.component.d.ts +1 -1
  8. package/core/animation/index.d.ts +1 -1
  9. package/core/animation/select-animations.d.ts +1 -1
  10. package/core/formatters/index.d.ts +1 -1
  11. package/core/formatters/number/formatter.d.ts +56 -1
  12. package/core/forms/forms.directive.d.ts +2 -2
  13. package/core/locales/en-US.d.ts +19 -1
  14. package/core/locales/es-LA.d.ts +27 -0
  15. package/core/locales/fa-IR.d.ts +28 -0
  16. package/core/locales/locale-service.d.ts +148 -3
  17. package/core/locales/pt-BR.d.ts +27 -0
  18. package/core/locales/ru-RU.d.ts +20 -1
  19. package/core/locales/zh-CN.d.ts +26 -0
  20. package/core/option/action.d.ts +1 -1
  21. package/core/option/optgroup.d.ts +1 -1
  22. package/core/option/option.d.ts +37 -8
  23. package/core/overlay/overlay-position-map.d.ts +7 -1
  24. package/core/pop-up/constants.d.ts +2 -1
  25. package/core/public-api.d.ts +1 -0
  26. package/core/select/constants.d.ts +2 -2
  27. package/core/services/theme.service.d.ts +23 -0
  28. package/core/styles/_variables.scss +1 -0
  29. package/core/styles/common/_select.scss +24 -24
  30. package/core/styles/theming/_components-theming.scss +31 -5
  31. package/datepicker/calendar-body.component.d.ts +1 -1
  32. package/datepicker/calendar-header.component.d.ts +9 -3
  33. package/datepicker/calendar.component.d.ts +4 -5
  34. package/datepicker/datepicker-animations.d.ts +1 -1
  35. package/datepicker/datepicker-input.directive.d.ts +4 -4
  36. package/datepicker/datepicker-toggle.component.d.ts +3 -3
  37. package/datepicker/datepicker.component.d.ts +2 -2
  38. package/datepicker/month-view.component.d.ts +5 -6
  39. package/dl/_dl-theme.scss +2 -56
  40. package/dl/dl.component.d.ts +1 -2
  41. package/dl/dl.scss +10 -47
  42. package/dropdown/dropdown-animations.d.ts +1 -1
  43. package/dropdown/dropdown-content.directive.d.ts +1 -1
  44. package/dropdown/dropdown-item.component.d.ts +1 -1
  45. package/dropdown/dropdown-trigger.directive.d.ts +2 -2
  46. package/dropdown/dropdown.component.d.ts +1 -1
  47. package/dropdown/dropdown.types.d.ts +1 -1
  48. package/esm2022/alert/alert.component.mjs +2 -2
  49. package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +24 -21
  50. package/esm2022/button-toggle/button-toggle.component.mjs +8 -8
  51. package/esm2022/checkbox/checkbox.mjs +3 -3
  52. package/esm2022/code-block/actionbar.component.mjs +1 -1
  53. package/esm2022/code-block/code-block.component.mjs +3 -3
  54. package/esm2022/core/animation/index.mjs +2 -2
  55. package/esm2022/core/animation/select-animations.mjs +4 -4
  56. package/esm2022/core/formatters/index.mjs +10 -2
  57. package/esm2022/core/formatters/number/formatter.mjs +224 -3
  58. package/esm2022/core/forms/forms.directive.mjs +5 -5
  59. package/esm2022/core/locales/en-US.mjs +22 -4
  60. package/esm2022/core/locales/es-LA.mjs +31 -2
  61. package/esm2022/core/locales/fa-IR.mjs +30 -2
  62. package/esm2022/core/locales/locale-service.mjs +4 -4
  63. package/esm2022/core/locales/pt-BR.mjs +29 -2
  64. package/esm2022/core/locales/ru-RU.mjs +23 -2
  65. package/esm2022/core/locales/zh-CN.mjs +28 -2
  66. package/esm2022/core/option/action.mjs +3 -3
  67. package/esm2022/core/option/optgroup.mjs +3 -3
  68. package/esm2022/core/option/option.mjs +47 -10
  69. package/esm2022/core/overlay/overlay-position-map.mjs +7 -1
  70. package/esm2022/core/pop-up/constants.mjs +2 -1
  71. package/esm2022/core/pop-up/pop-up-trigger.mjs +12 -3
  72. package/esm2022/core/public-api.mjs +2 -1
  73. package/esm2022/core/select/constants.mjs +3 -3
  74. package/esm2022/core/services/theme.service.mjs +60 -0
  75. package/esm2022/core/version.mjs +2 -2
  76. package/esm2022/datepicker/calendar-body.component.mjs +3 -3
  77. package/esm2022/datepicker/calendar-header.component.mjs +9 -8
  78. package/esm2022/datepicker/calendar.component.mjs +7 -16
  79. package/esm2022/datepicker/datepicker-animations.mjs +2 -2
  80. package/esm2022/datepicker/datepicker-input.directive.mjs +29 -20
  81. package/esm2022/datepicker/datepicker-toggle.component.mjs +6 -6
  82. package/esm2022/datepicker/datepicker.component.mjs +11 -11
  83. package/esm2022/datepicker/month-view.component.mjs +9 -18
  84. package/esm2022/dl/dl.component.mjs +3 -7
  85. package/esm2022/dropdown/dropdown-animations.mjs +4 -4
  86. package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
  87. package/esm2022/dropdown/dropdown-errors.mjs +6 -6
  88. package/esm2022/dropdown/dropdown-item.component.mjs +5 -5
  89. package/esm2022/dropdown/dropdown-trigger.directive.mjs +8 -8
  90. package/esm2022/dropdown/dropdown.component.mjs +8 -8
  91. package/esm2022/dropdown/dropdown.types.mjs +1 -1
  92. package/esm2022/file-upload/file-drop.mjs +4 -4
  93. package/esm2022/file-upload/multiple-file-upload.component.mjs +12 -8
  94. package/esm2022/file-upload/single-file-upload.component.mjs +12 -8
  95. package/esm2022/form-field/cleaner.mjs +3 -3
  96. package/esm2022/form-field/form-field.mjs +7 -7
  97. package/esm2022/form-field/hint.mjs +4 -4
  98. package/esm2022/form-field/password-hint.mjs +11 -11
  99. package/esm2022/form-field/password-toggle.mjs +21 -8
  100. package/esm2022/form-field/suffix.mjs +3 -3
  101. package/esm2022/form-field/validate.directive.mjs +4 -4
  102. package/esm2022/input/input-number.mjs +259 -43
  103. package/esm2022/link/link.component.mjs +3 -3
  104. package/esm2022/list/list-selection.component.mjs +6 -6
  105. package/esm2022/loader-overlay/loader-overlay.component.mjs +2 -2
  106. package/esm2022/modal/modal-control.service.mjs +5 -5
  107. package/esm2022/modal/modal-ref.class.mjs +1 -1
  108. package/esm2022/modal/modal.component.mjs +124 -111
  109. package/esm2022/modal/modal.service.mjs +23 -23
  110. package/esm2022/modal/modal.type.mjs +1 -3
  111. package/esm2022/navbar/navbar-item.component.mjs +6 -6
  112. package/esm2022/navbar/navbar.component.mjs +18 -9
  113. package/esm2022/navbar/vertical-navbar.component.mjs +9 -6
  114. package/esm2022/popover/popover-animations.mjs +2 -2
  115. package/esm2022/popover/popover-confirm.component.mjs +9 -9
  116. package/esm2022/popover/popover.component.mjs +23 -23
  117. package/esm2022/radio/radio.component.mjs +10 -8
  118. package/esm2022/select/select.component.mjs +32 -17
  119. package/esm2022/sidebar/sidebar-animations.mjs +2 -2
  120. package/esm2022/sidebar/sidebar.component.mjs +9 -9
  121. package/esm2022/sidepanel/sidepanel-directives.mjs +2 -2
  122. package/esm2022/splitter/splitter.component.mjs +3 -3
  123. package/esm2022/table/table.component.mjs +3 -3
  124. package/esm2022/tabs/tab-body.component.mjs +7 -7
  125. package/esm2022/tabs/tab-content.directive.mjs +3 -3
  126. package/esm2022/tabs/tab-group.component.mjs +3 -3
  127. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +6 -6
  128. package/esm2022/tabs/tab.component.mjs +14 -5
  129. package/esm2022/tabs/tabs-animations.mjs +2 -2
  130. package/esm2022/tags/tag-input.mjs +3 -3
  131. package/esm2022/tags/tag-list.component.mjs +5 -5
  132. package/esm2022/tags/tag.component.mjs +10 -10
  133. package/esm2022/timepicker/timepicker.directive.mjs +10 -10
  134. package/esm2022/timezone/timezone-option.component.mjs +3 -3
  135. package/esm2022/timezone/timezone-select.component.mjs +5 -5
  136. package/esm2022/title/title.directive.mjs +5 -5
  137. package/esm2022/toast/toast.module.mjs +10 -4
  138. package/esm2022/toggle/toggle.component.mjs +3 -3
  139. package/esm2022/tooltip/tooltip.component.mjs +16 -16
  140. package/esm2022/tree/node.mjs +5 -5
  141. package/esm2022/tree/outlet.mjs +3 -3
  142. package/esm2022/tree/padding.directive.mjs +6 -6
  143. package/esm2022/tree/toggle.mjs +8 -8
  144. package/esm2022/tree/tree-base.mjs +3 -3
  145. package/esm2022/tree/tree-option.component.mjs +8 -5
  146. package/esm2022/tree/tree-selection.component.mjs +8 -6
  147. package/esm2022/tree/tree.mjs +3 -3
  148. package/esm2022/tree-select/tree-select.component.mjs +13 -13
  149. package/fesm2022/koobiq-components-alert.mjs +2 -2
  150. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  151. package/fesm2022/koobiq-components-autocomplete.mjs +24 -21
  152. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  153. package/fesm2022/koobiq-components-button-toggle.mjs +7 -7
  154. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  155. package/fesm2022/koobiq-components-checkbox.mjs +2 -2
  156. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  157. package/fesm2022/koobiq-components-code-block.mjs +3 -3
  158. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  159. package/fesm2022/koobiq-components-core.mjs +526 -39
  160. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  161. package/fesm2022/koobiq-components-datepicker.mjs +66 -74
  162. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  163. package/fesm2022/koobiq-components-dl.mjs +2 -6
  164. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  165. package/fesm2022/koobiq-components-dropdown.mjs +28 -28
  166. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  167. package/fesm2022/koobiq-components-file-upload.mjs +23 -15
  168. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  169. package/fesm2022/koobiq-components-form-field.mjs +46 -34
  170. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  171. package/fesm2022/koobiq-components-input.mjs +257 -43
  172. package/fesm2022/koobiq-components-input.mjs.map +1 -1
  173. package/fesm2022/koobiq-components-link.mjs +2 -2
  174. package/fesm2022/koobiq-components-link.mjs.map +1 -1
  175. package/fesm2022/koobiq-components-list.mjs +5 -5
  176. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  177. package/fesm2022/koobiq-components-loader-overlay.mjs +2 -2
  178. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  179. package/fesm2022/koobiq-components-modal.mjs +149 -140
  180. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  181. package/fesm2022/koobiq-components-navbar.mjs +28 -20
  182. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  183. package/fesm2022/koobiq-components-popover.mjs +30 -30
  184. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  185. package/fesm2022/koobiq-components-radio.mjs +9 -7
  186. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  187. package/fesm2022/koobiq-components-select.mjs +31 -16
  188. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  189. package/fesm2022/koobiq-components-sidebar.mjs +8 -8
  190. package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
  191. package/fesm2022/koobiq-components-sidepanel.mjs +1 -1
  192. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  193. package/fesm2022/koobiq-components-splitter.mjs +2 -2
  194. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  195. package/fesm2022/koobiq-components-table.mjs +2 -2
  196. package/fesm2022/koobiq-components-table.mjs.map +1 -1
  197. package/fesm2022/koobiq-components-tabs.mjs +29 -20
  198. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  199. package/fesm2022/koobiq-components-tags.mjs +15 -15
  200. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  201. package/fesm2022/koobiq-components-timepicker.mjs +9 -9
  202. package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
  203. package/fesm2022/koobiq-components-timezone.mjs +6 -6
  204. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  205. package/fesm2022/koobiq-components-title.mjs +4 -4
  206. package/fesm2022/koobiq-components-title.mjs.map +1 -1
  207. package/fesm2022/koobiq-components-toast.mjs +8 -2
  208. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  209. package/fesm2022/koobiq-components-toggle.mjs +2 -2
  210. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  211. package/fesm2022/koobiq-components-tooltip.mjs +15 -15
  212. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  213. package/fesm2022/koobiq-components-tree-select.mjs +12 -12
  214. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  215. package/fesm2022/koobiq-components-tree.mjs +36 -31
  216. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  217. package/file-upload/file-drop.d.ts +1 -1
  218. package/file-upload/multiple-file-upload.component.d.ts +4 -3
  219. package/file-upload/single-file-upload.component.d.ts +4 -3
  220. package/form-field/_hint-theme.scss +1 -1
  221. package/form-field/cleaner.d.ts +1 -1
  222. package/form-field/form-field.d.ts +2 -2
  223. package/form-field/form-field.scss +2 -2
  224. package/form-field/hint.d.ts +1 -1
  225. package/form-field/password-hint.d.ts +2 -1
  226. package/form-field/password-toggle.d.ts +11 -6
  227. package/form-field/suffix.d.ts +1 -1
  228. package/form-field/validate.directive.d.ts +1 -1
  229. package/icon/_icon-theme.scss +2 -1
  230. package/input/input-number.d.ts +61 -10
  231. package/link/_link-theme.scss +4 -0
  232. package/link/link.component.d.ts +1 -1
  233. package/list/list-selection.component.d.ts +1 -1
  234. package/loader-overlay/loader-overlay.scss +3 -0
  235. package/modal/README.md +5 -5
  236. package/modal/modal-ref.class.d.ts +2 -2
  237. package/modal/modal.component.d.ts +51 -47
  238. package/modal/modal.type.d.ts +35 -36
  239. package/navbar/navbar-item.component.d.ts +2 -2
  240. package/navbar/navbar.component.d.ts +5 -2
  241. package/navbar/vertical-navbar.component.d.ts +4 -2
  242. package/package.json +9 -11
  243. package/popover/README.md +14 -14
  244. package/popover/_popover-theme.scss +11 -11
  245. package/popover/popover-animations.d.ts +1 -1
  246. package/popover/popover-confirm.component.d.ts +1 -1
  247. package/popover/popover.component.d.ts +3 -3
  248. package/prebuilt-themes/dark-theme.css +1 -1
  249. package/prebuilt-themes/light-theme.css +1 -1
  250. package/radio/_radio-theme.scss +15 -2
  251. package/radio/radio.component.d.ts +2 -2
  252. package/radio/radio.scss +13 -0
  253. package/select/select.component.d.ts +14 -11
  254. package/sidebar/sidebar-animations.d.ts +1 -1
  255. package/sidebar/sidebar.component.d.ts +3 -3
  256. package/splitter/splitter.component.d.ts +1 -1
  257. package/table/table.component.d.ts +1 -1
  258. package/tabs/tab-body.component.d.ts +1 -1
  259. package/tabs/tab-content.directive.d.ts +1 -1
  260. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +2 -2
  261. package/tabs/tab.component.d.ts +1 -1
  262. package/tabs/tabs-animations.d.ts +1 -1
  263. package/tags/_tag-theme.scss +1 -1
  264. package/tags/tag-input.d.ts +2 -2
  265. package/tags/tag-list.component.d.ts +2 -2
  266. package/tags/tag-list.scss +2 -0
  267. package/tags/tag.component.d.ts +3 -3
  268. package/timepicker/timepicker.directive.d.ts +2 -2
  269. package/timezone/timezone-option.component.d.ts +1 -1
  270. package/timezone/timezone-select.component.d.ts +1 -1
  271. package/title/title.directive.d.ts +1 -1
  272. package/toggle/toggle.component.d.ts +1 -1
  273. package/tooltip/tooltip.component.d.ts +3 -3
  274. package/tree/node.d.ts +1 -1
  275. package/tree/outlet.d.ts +1 -1
  276. package/tree/padding.directive.d.ts +1 -1
  277. package/tree/toggle.d.ts +3 -3
  278. package/tree/tree-base.d.ts +1 -1
  279. package/tree/tree-option.component.d.ts +1 -1
  280. package/tree/tree-option.scss +2 -0
  281. package/tree/tree-selection.component.d.ts +1 -1
  282. package/tree/tree.d.ts +1 -1
  283. package/tree-select/tree-select.component.d.ts +1 -1
@@ -8,7 +8,7 @@ import * as i1$1 from '@angular/common';
8
8
  import { CommonModule } from '@angular/common';
9
9
  import * as i0 from '@angular/core';
10
10
  import { EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Input, Output, ViewChild, forwardRef, Directive, Inject, InjectionToken, TemplateRef, ContentChild, ContentChildren, Attribute, NgModule } from '@angular/core';
11
- import { mixinDisabled, PopUpPlacements, mixinTabIndex, KbqCommonModule } from '@koobiq/components/core';
11
+ import { mixinDisabled, PopUpPlacements, KBQ_SELECT_SCROLL_STRATEGY, KBQ_CUSTOM_SCROLL_STRATEGY_PROVIDER, mixinTabIndex, KbqCommonModule } from '@koobiq/components/core';
12
12
  import * as i4 from '@koobiq/components/icon';
13
13
  import { KbqIconModule } from '@koobiq/components/icon';
14
14
  import * as i4$1 from '@koobiq/components/tooltip';
@@ -23,8 +23,10 @@ import { normalizePassiveListenerOptions } from '@angular/cdk/platform';
23
23
  import { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';
24
24
  import { hasModifierKey, ENTER, SPACE } from '@angular/cdk/keycodes';
25
25
  import { HOME, END, UP_ARROW, DOWN_ARROW, RIGHT_ARROW, LEFT_ARROW } from '@koobiq/cdk/keycodes';
26
+ import { KBQ_DROPDOWN_SCROLL_STRATEGY } from '@koobiq/components/dropdown';
27
+ import { KBQ_POPOVER_SCROLL_STRATEGY } from '@koobiq/components/popover';
26
28
 
27
- const mcTabsAnimations = {
29
+ const kbqTabsAnimations = {
28
30
  /** Animation translates a tab along the X axis. */
29
31
  translateTab: trigger('translateTab', [
30
32
  // Note: transitions to `none` instead of 0, because some browsers might blur the content.
@@ -142,13 +144,13 @@ class KbqTabBody {
142
144
  return 'right-origin-center';
143
145
  }
144
146
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqTabBody, deps: [{ token: i0.ElementRef }, { token: i3.Directionality, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
145
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqTabBody, selector: "kbq-tab-body", inputs: { position: "position", content: "content", origin: "origin", animationDuration: "animationDuration" }, outputs: { onCentering: "onCentering", beforeCentering: "beforeCentering", afterLeavingCenter: "afterLeavingCenter", onCentered: "onCentered" }, host: { classAttribute: "kbq-tab-body" }, viewQueries: [{ propertyName: "portalHost", first: true, predicate: CdkPortalOutlet, descendants: true }], ngImport: i0, template: "<div class=\"kbq-tab-body__content\"\n #content\n [@translateTab]=\"{\n value: bodyPosition,\n params: {animationDuration: animationDuration}\n }\"\n (@translateTab.start)=\"onTranslateTabStarted($event)\"\n (@translateTab.done)=\"onTranslateTabComplete($event)\"\n cdk-scrollable>\n <ng-template mcTabBodyHost></ng-template>\n</div>\n", styles: [".kbq-tab-body__content{height:100%;overflow:auto}.kbq-tab-body__content .kbq-tab-group_dynamic-height{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return i1.CdkScrollable; }), selector: "[cdk-scrollable], [cdkScrollable]" }, { kind: "directive", type: i0.forwardRef(function () { return KbqTabBodyPortal; }), selector: "[mcTabBodyHost]" }], animations: [mcTabsAnimations.translateTab], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
147
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqTabBody, selector: "kbq-tab-body", inputs: { position: "position", content: "content", origin: "origin", animationDuration: "animationDuration" }, outputs: { onCentering: "onCentering", beforeCentering: "beforeCentering", afterLeavingCenter: "afterLeavingCenter", onCentered: "onCentered" }, host: { classAttribute: "kbq-tab-body" }, viewQueries: [{ propertyName: "portalHost", first: true, predicate: CdkPortalOutlet, descendants: true }], ngImport: i0, template: "<div class=\"kbq-tab-body__content\"\n #content\n [@translateTab]=\"{\n value: bodyPosition,\n params: {animationDuration: animationDuration}\n }\"\n (@translateTab.start)=\"onTranslateTabStarted($event)\"\n (@translateTab.done)=\"onTranslateTabComplete($event)\"\n cdk-scrollable>\n <ng-template kbqTabBodyHost></ng-template>\n</div>\n", styles: [".kbq-tab-body__content{height:100%;overflow:auto}.kbq-tab-body__content .kbq-tab-group_dynamic-height{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return i1.CdkScrollable; }), selector: "[cdk-scrollable], [cdkScrollable]" }, { kind: "directive", type: i0.forwardRef(function () { return KbqTabBodyPortal; }), selector: "[kbqTabBodyHost]" }], animations: [kbqTabsAnimations.translateTab], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
146
148
  }
147
149
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqTabBody, decorators: [{
148
150
  type: Component,
149
- args: [{ selector: 'kbq-tab-body', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [mcTabsAnimations.translateTab], host: {
151
+ args: [{ selector: 'kbq-tab-body', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [kbqTabsAnimations.translateTab], host: {
150
152
  class: 'kbq-tab-body'
151
- }, template: "<div class=\"kbq-tab-body__content\"\n #content\n [@translateTab]=\"{\n value: bodyPosition,\n params: {animationDuration: animationDuration}\n }\"\n (@translateTab.start)=\"onTranslateTabStarted($event)\"\n (@translateTab.done)=\"onTranslateTabComplete($event)\"\n cdk-scrollable>\n <ng-template mcTabBodyHost></ng-template>\n</div>\n", styles: [".kbq-tab-body__content{height:100%;overflow:auto}.kbq-tab-body__content .kbq-tab-group_dynamic-height{overflow:hidden}\n"] }]
153
+ }, template: "<div class=\"kbq-tab-body__content\"\n #content\n [@translateTab]=\"{\n value: bodyPosition,\n params: {animationDuration: animationDuration}\n }\"\n (@translateTab.start)=\"onTranslateTabStarted($event)\"\n (@translateTab.done)=\"onTranslateTabComplete($event)\"\n cdk-scrollable>\n <ng-template kbqTabBodyHost></ng-template>\n</div>\n", styles: [".kbq-tab-body__content{height:100%;overflow:auto}.kbq-tab-body__content .kbq-tab-group_dynamic-height{overflow:hidden}\n"] }]
152
154
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i3.Directionality, decorators: [{
153
155
  type: Optional
154
156
  }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { position: [{
@@ -205,12 +207,12 @@ class KbqTabBodyPortal extends CdkPortalOutlet {
205
207
  this.leavingSub.unsubscribe();
206
208
  }
207
209
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqTabBodyPortal, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: forwardRef(() => KbqTabBody) }], target: i0.ɵɵFactoryTarget.Directive }); }
208
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: KbqTabBodyPortal, selector: "[mcTabBodyHost]", usesInheritance: true, ngImport: i0 }); }
210
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: KbqTabBodyPortal, selector: "[kbqTabBodyHost]", usesInheritance: true, ngImport: i0 }); }
209
211
  }
210
212
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqTabBodyPortal, decorators: [{
211
213
  type: Directive,
212
214
  args: [{
213
- selector: '[mcTabBodyHost]'
215
+ selector: '[kbqTabBodyHost]'
214
216
  }]
215
217
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: KbqTabBody, decorators: [{
216
218
  type: Inject,
@@ -223,11 +225,11 @@ class KbqTabContent {
223
225
  this.template = template;
224
226
  }
225
227
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqTabContent, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
226
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: KbqTabContent, selector: "[mcTabContent]", ngImport: i0 }); }
228
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: KbqTabContent, selector: "[kbqTabContent]", ngImport: i0 }); }
227
229
  }
228
230
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqTabContent, decorators: [{
229
231
  type: Directive,
230
- args: [{ selector: '[mcTabContent]' }]
232
+ args: [{ selector: '[kbqTabContent]' }]
231
233
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
232
234
 
233
235
  /* tslint:disable:naming-convention */
@@ -806,20 +808,27 @@ class KbqTab extends KbqTabMixinBase {
806
808
  }
807
809
  }
808
810
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqTab, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component }); }
809
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqTab, selector: "kbq-tab", inputs: { disabled: "disabled", tooltipTitle: "tooltipTitle", tooltipPlacement: "tooltipPlacement", textLabel: ["label", "textLabel"], empty: "empty", tabId: "tabId" }, queries: [{ propertyName: "templateLabel", first: true, predicate: KBQ_TAB_LABEL, descendants: true }, { propertyName: "explicitContent", first: true, predicate: KbqTabContent, descendants: true, read: TemplateRef, static: true }], viewQueries: [{ propertyName: "implicitContent", first: true, predicate: TemplateRef, descendants: true, static: true }], exportAs: ["mcTab"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '<ng-template><ng-content></ng-content></ng-template>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
811
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqTab, selector: "kbq-tab", inputs: { disabled: "disabled", tooltipTitle: "tooltipTitle", tooltipPlacement: "tooltipPlacement", textLabel: ["label", "textLabel"], empty: "empty", tabId: "tabId" }, providers: [
812
+ ...[KBQ_SELECT_SCROLL_STRATEGY, KBQ_DROPDOWN_SCROLL_STRATEGY, KBQ_POPOVER_SCROLL_STRATEGY]
813
+ .map(((token) => KBQ_CUSTOM_SCROLL_STRATEGY_PROVIDER(token, ((overlay) => (() => overlay.scrollStrategies.close())))))
814
+ ], queries: [{ propertyName: "templateLabel", first: true, predicate: KBQ_TAB_LABEL, descendants: true }, { propertyName: "explicitContent", first: true, predicate: KbqTabContent, descendants: true, read: TemplateRef, static: true }], viewQueries: [{ propertyName: "implicitContent", first: true, predicate: TemplateRef, descendants: true, static: true }], exportAs: ["kbqTab"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '<ng-template><ng-content></ng-content></ng-template>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
810
815
  }
811
816
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqTab, decorators: [{
812
817
  type: Component,
813
818
  args: [{
814
819
  selector: 'kbq-tab',
815
- exportAs: 'mcTab',
820
+ exportAs: 'kbqTab',
816
821
  // Create a template for the content of the <kbq-tab> so that we can grab a reference to this
817
822
  // TemplateRef and use it in a Portal to render the tab content in the appropriate place in the
818
823
  // tab-group.
819
824
  template: '<ng-template><ng-content></ng-content></ng-template>',
820
825
  inputs: ['disabled'],
821
826
  changeDetection: ChangeDetectionStrategy.OnPush,
822
- encapsulation: ViewEncapsulation.None
827
+ encapsulation: ViewEncapsulation.None,
828
+ providers: [
829
+ ...[KBQ_SELECT_SCROLL_STRATEGY, KBQ_DROPDOWN_SCROLL_STRATEGY, KBQ_POPOVER_SCROLL_STRATEGY]
830
+ .map(((token) => KBQ_CUSTOM_SCROLL_STRATEGY_PROVIDER(token, ((overlay) => (() => overlay.scrollStrategies.close())))))
831
+ ]
823
832
  }]
824
833
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { templateLabel: [{
825
834
  type: ContentChild,
@@ -1249,7 +1258,7 @@ class KbqTabGroup extends KbqTabGroupMixinBase {
1249
1258
  return Math.min(this.tabs.length - 1, Math.max(index || 0, 0));
1250
1259
  }
1251
1260
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqTabGroup, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: 'vertical', attribute: true }, { token: KBQ_TABS_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
1252
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqTabGroup, selector: "kbq-tab-group", inputs: { disabled: "disabled", transparent: "transparent", onSurface: "onSurface", dynamicHeight: "dynamicHeight", selectedIndex: "selectedIndex", headerPosition: "headerPosition", animationDuration: "animationDuration" }, outputs: { selectedIndexChange: "selectedIndexChange", focusChange: "focusChange", animationDone: "animationDone", selectedTabChange: "selectedTabChange" }, host: { listeners: { "window:resize": "resizeStream.next($event)" }, properties: { "class.kbq-tab-group_filled": "!transparent", "class.kbq-tab-group_transparent": "transparent", "class.kbq-tab-group_on-background": "!onSurface", "class.kbq-tab-group_on-surface": "onSurface", "class.kbq-tab-group_dynamic-height": "dynamicHeight", "class.kbq-tab-group_inverted-header": "headerPosition === \"below\"" }, classAttribute: "kbq-tab-group" }, queries: [{ propertyName: "tabs", predicate: KbqTab }], viewQueries: [{ propertyName: "tabBodyWrapper", first: true, predicate: ["tabBodyWrapper"], descendants: true }, { propertyName: "tabHeader", first: true, predicate: ["tabHeader"], descendants: true }], exportAs: ["kbqTabGroup"], usesInheritance: true, ngImport: i0, template: "<kbq-tab-header\n #tabHeader\n [vertical]=\"vertical\"\n [selectedIndex]=\"selectedIndex\"\n (indexFocused)=\"focusChanged($event)\"\n (selectFocusedIndex)=\"selectedIndex = $event\">\n\n <div class=\"kbq-tab-label\"\n kbqTabLabelWrapper\n cdkMonitorElementFocus\n [attr.tabindex]=\"getTabIndex(tab, i)\"\n [class.kbq-tab-label_horizontal]=\"!vertical\"\n [class.kbq-tab-label_vertical]=\"vertical\"\n [class.kbq-tab-label_empty]=\"tab.empty\"\n [class.kbq-selected]=\"selectedIndex == i\"\n *ngFor=\"let tab of tabs; let i = index\"\n [tab]=\"tab\"\n [id]=\"getTabLabelId(i)\"\n [disabled]=\"tab.disabled\"\n (click)=\"handleClick(tab, tabHeader, i)\"\n\n [kbqTooltip]=\"tab.tooltipTitle\"\n [kbqTooltipDisabled]=\"!tab.empty && !tab.isOverflown\"\n [mcTrigger]=\"'hover, focus'\"\n [mcPlacement]=\"tab.tooltipPlacement\">\n\n <div #labelContent class=\"kbq-tab-label__content\"\n [class.kbq-tab-label__template]=\"tab.templateLabel\">\n <!-- If there is a label template, use it. -->\n <ng-template [ngIf]=\"tab.templateLabel\">\n <ng-template [cdkPortalOutlet]=\"tab.templateLabel\"></ng-template>\n </ng-template>\n\n <!-- If there is not a label template, fall back to the text label. -->\n <ng-template [ngIf]=\"!tab.templateLabel\">{{ tab.textLabel }}</ng-template>\n </div>\n </div>\n</kbq-tab-header>\n\n<div class=\"kbq-tab-body__wrapper\" #tabBodyWrapper>\n <kbq-tab-body\n *ngFor=\"let tab of tabs; let i = index\"\n [id]=\"getTabContentId(i)\"\n [class.kbq-tab-body__active]=\"selectedIndex == i\"\n [content]=\"tab.content!\"\n [position]=\"tab.position!\"\n [origin]=\"tab.origin!\"\n [animationDuration]=\"animationDuration\"\n (onCentered)=\"removeTabBodyWrapperHeight()\"\n (onCentering)=\"setTabBodyWrapperHeight($event)\">\n </kbq-tab-body>\n</div>\n", styles: [".kbq-tab-group{display:flex;flex-direction:column;box-sizing:border-box;text-align:left}.kbq-tab-group.kbq-tab-group_inverted-header{flex-direction:column-reverse}.kbq-tab-group_vertical{flex-direction:row}.kbq-tab-group_vertical .kbq-tab-list__content{gap:var(--kbq-tabs-size-tab-stack-vertical-content-gap-vartical, 8px) 0}.kbq-tab-group_vertical .kbq-tab-header__content{overflow-y:auto}.kbq-tab-body__wrapper{display:flex;overflow:hidden;position:relative}.kbq-tab-body{inset:0;position:absolute;display:block;overflow:hidden}.kbq-tab-body.kbq-tab-body__active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.kbq-tab-group.kbq-tab-group_dynamic-height .kbq-tab-body.kbq-tab-body__active{overflow-y:hidden}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i1$2.CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: ["cdkFocusChange"], exportAs: ["cdkMonitorFocus"] }, { kind: "directive", type: i4$1.KbqTooltipTrigger, selector: "[kbqTooltip]", inputs: ["mcVisible", "mcPlacement", "mcPlacementPriority", "kbqTooltip", "kbqTooltipDisabled", "mcEnterDelay", "mcLeaveDelay", "mcTrigger", "kbqTooltipClass", "color"], outputs: ["mcPlacementChange", "mcVisibleChange"], exportAs: ["kbqTooltip"] }, { kind: "directive", type: KbqTabLabelWrapper, selector: "[kbqTabLabelWrapper]", inputs: ["disabled", "tab"] }, { kind: "component", type: KbqTabBody, selector: "kbq-tab-body", inputs: ["position", "content", "origin", "animationDuration"], outputs: ["onCentering", "beforeCentering", "afterLeavingCenter", "onCentered"] }, { kind: "component", type: KbqTabHeader, selector: "kbq-tab-header", inputs: ["selectedIndex", "vertical"], outputs: ["selectFocusedIndex", "indexFocused"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1261
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqTabGroup, selector: "kbq-tab-group", inputs: { disabled: "disabled", transparent: "transparent", onSurface: "onSurface", dynamicHeight: "dynamicHeight", selectedIndex: "selectedIndex", headerPosition: "headerPosition", animationDuration: "animationDuration" }, outputs: { selectedIndexChange: "selectedIndexChange", focusChange: "focusChange", animationDone: "animationDone", selectedTabChange: "selectedTabChange" }, host: { listeners: { "window:resize": "resizeStream.next($event)" }, properties: { "class.kbq-tab-group_filled": "!transparent", "class.kbq-tab-group_transparent": "transparent", "class.kbq-tab-group_on-background": "!onSurface", "class.kbq-tab-group_on-surface": "onSurface", "class.kbq-tab-group_dynamic-height": "dynamicHeight", "class.kbq-tab-group_inverted-header": "headerPosition === \"below\"" }, classAttribute: "kbq-tab-group" }, queries: [{ propertyName: "tabs", predicate: KbqTab }], viewQueries: [{ propertyName: "tabBodyWrapper", first: true, predicate: ["tabBodyWrapper"], descendants: true }, { propertyName: "tabHeader", first: true, predicate: ["tabHeader"], descendants: true }], exportAs: ["kbqTabGroup"], usesInheritance: true, ngImport: i0, template: "<kbq-tab-header\n #tabHeader\n [vertical]=\"vertical\"\n [selectedIndex]=\"selectedIndex\"\n (indexFocused)=\"focusChanged($event)\"\n (selectFocusedIndex)=\"selectedIndex = $event\">\n\n <div class=\"kbq-tab-label\"\n kbqTabLabelWrapper\n cdkMonitorElementFocus\n [attr.tabindex]=\"getTabIndex(tab, i)\"\n [class.kbq-tab-label_horizontal]=\"!vertical\"\n [class.kbq-tab-label_vertical]=\"vertical\"\n [class.kbq-tab-label_empty]=\"tab.empty\"\n [class.kbq-selected]=\"selectedIndex == i\"\n *ngFor=\"let tab of tabs; let i = index\"\n [tab]=\"tab\"\n [id]=\"getTabLabelId(i)\"\n [disabled]=\"tab.disabled\"\n (click)=\"handleClick(tab, tabHeader, i)\"\n\n [kbqTooltip]=\"tab.tooltipTitle\"\n [kbqTooltipDisabled]=\"!tab.empty && !tab.isOverflown\"\n [kbqTrigger]=\"'hover, focus'\"\n [kbqPlacement]=\"tab.tooltipPlacement\">\n\n <div #labelContent class=\"kbq-tab-label__content\"\n [class.kbq-tab-label__template]=\"tab.templateLabel\">\n <!-- If there is a label template, use it. -->\n <ng-template [ngIf]=\"tab.templateLabel\">\n <ng-template [cdkPortalOutlet]=\"tab.templateLabel\"></ng-template>\n </ng-template>\n\n <!-- If there is not a label template, fall back to the text label. -->\n <ng-template [ngIf]=\"!tab.templateLabel\">{{ tab.textLabel }}</ng-template>\n </div>\n </div>\n</kbq-tab-header>\n\n<div class=\"kbq-tab-body__wrapper\" #tabBodyWrapper>\n <kbq-tab-body\n *ngFor=\"let tab of tabs; let i = index\"\n [id]=\"getTabContentId(i)\"\n [class.kbq-tab-body__active]=\"selectedIndex == i\"\n [content]=\"tab.content!\"\n [position]=\"tab.position!\"\n [origin]=\"tab.origin!\"\n [animationDuration]=\"animationDuration\"\n (onCentered)=\"removeTabBodyWrapperHeight()\"\n (onCentering)=\"setTabBodyWrapperHeight($event)\">\n </kbq-tab-body>\n</div>\n", styles: [".kbq-tab-group{display:flex;flex-direction:column;box-sizing:border-box;text-align:left}.kbq-tab-group.kbq-tab-group_inverted-header{flex-direction:column-reverse}.kbq-tab-group_vertical{flex-direction:row}.kbq-tab-group_vertical .kbq-tab-list__content{gap:var(--kbq-tabs-size-tab-stack-vertical-content-gap-vartical, 8px) 0}.kbq-tab-group_vertical .kbq-tab-header__content{overflow-y:auto}.kbq-tab-body__wrapper{display:flex;overflow:hidden;position:relative}.kbq-tab-body{inset:0;position:absolute;display:block;overflow:hidden}.kbq-tab-body.kbq-tab-body__active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.kbq-tab-group.kbq-tab-group_dynamic-height .kbq-tab-body.kbq-tab-body__active{overflow-y:hidden}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i1$2.CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: ["cdkFocusChange"], exportAs: ["cdkMonitorFocus"] }, { kind: "directive", type: i4$1.KbqTooltipTrigger, selector: "[kbqTooltip]", inputs: ["kbqVisible", "kbqPlacement", "kbqPlacementPriority", "kbqTooltip", "kbqTooltipDisabled", "mcEnterDelay", "mcLeaveDelay", "kbqTrigger", "kbqTooltipClass", "color"], outputs: ["kbqPlacementChange", "kbqVisibleChange"], exportAs: ["kbqTooltip"] }, { kind: "directive", type: KbqTabLabelWrapper, selector: "[kbqTabLabelWrapper]", inputs: ["disabled", "tab"] }, { kind: "component", type: KbqTabBody, selector: "kbq-tab-body", inputs: ["position", "content", "origin", "animationDuration"], outputs: ["onCentering", "beforeCentering", "afterLeavingCenter", "onCentered"] }, { kind: "component", type: KbqTabHeader, selector: "kbq-tab-header", inputs: ["selectedIndex", "vertical"], outputs: ["selectFocusedIndex", "indexFocused"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1253
1262
  }
1254
1263
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqTabGroup, decorators: [{
1255
1264
  type: Component,
@@ -1262,7 +1271,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
1262
1271
  '[class.kbq-tab-group_dynamic-height]': 'dynamicHeight',
1263
1272
  '[class.kbq-tab-group_inverted-header]': 'headerPosition === "below"',
1264
1273
  '(window:resize)': 'resizeStream.next($event)'
1265
- }, template: "<kbq-tab-header\n #tabHeader\n [vertical]=\"vertical\"\n [selectedIndex]=\"selectedIndex\"\n (indexFocused)=\"focusChanged($event)\"\n (selectFocusedIndex)=\"selectedIndex = $event\">\n\n <div class=\"kbq-tab-label\"\n kbqTabLabelWrapper\n cdkMonitorElementFocus\n [attr.tabindex]=\"getTabIndex(tab, i)\"\n [class.kbq-tab-label_horizontal]=\"!vertical\"\n [class.kbq-tab-label_vertical]=\"vertical\"\n [class.kbq-tab-label_empty]=\"tab.empty\"\n [class.kbq-selected]=\"selectedIndex == i\"\n *ngFor=\"let tab of tabs; let i = index\"\n [tab]=\"tab\"\n [id]=\"getTabLabelId(i)\"\n [disabled]=\"tab.disabled\"\n (click)=\"handleClick(tab, tabHeader, i)\"\n\n [kbqTooltip]=\"tab.tooltipTitle\"\n [kbqTooltipDisabled]=\"!tab.empty && !tab.isOverflown\"\n [mcTrigger]=\"'hover, focus'\"\n [mcPlacement]=\"tab.tooltipPlacement\">\n\n <div #labelContent class=\"kbq-tab-label__content\"\n [class.kbq-tab-label__template]=\"tab.templateLabel\">\n <!-- If there is a label template, use it. -->\n <ng-template [ngIf]=\"tab.templateLabel\">\n <ng-template [cdkPortalOutlet]=\"tab.templateLabel\"></ng-template>\n </ng-template>\n\n <!-- If there is not a label template, fall back to the text label. -->\n <ng-template [ngIf]=\"!tab.templateLabel\">{{ tab.textLabel }}</ng-template>\n </div>\n </div>\n</kbq-tab-header>\n\n<div class=\"kbq-tab-body__wrapper\" #tabBodyWrapper>\n <kbq-tab-body\n *ngFor=\"let tab of tabs; let i = index\"\n [id]=\"getTabContentId(i)\"\n [class.kbq-tab-body__active]=\"selectedIndex == i\"\n [content]=\"tab.content!\"\n [position]=\"tab.position!\"\n [origin]=\"tab.origin!\"\n [animationDuration]=\"animationDuration\"\n (onCentered)=\"removeTabBodyWrapperHeight()\"\n (onCentering)=\"setTabBodyWrapperHeight($event)\">\n </kbq-tab-body>\n</div>\n", styles: [".kbq-tab-group{display:flex;flex-direction:column;box-sizing:border-box;text-align:left}.kbq-tab-group.kbq-tab-group_inverted-header{flex-direction:column-reverse}.kbq-tab-group_vertical{flex-direction:row}.kbq-tab-group_vertical .kbq-tab-list__content{gap:var(--kbq-tabs-size-tab-stack-vertical-content-gap-vartical, 8px) 0}.kbq-tab-group_vertical .kbq-tab-header__content{overflow-y:auto}.kbq-tab-body__wrapper{display:flex;overflow:hidden;position:relative}.kbq-tab-body{inset:0;position:absolute;display:block;overflow:hidden}.kbq-tab-body.kbq-tab-body__active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.kbq-tab-group.kbq-tab-group_dynamic-height .kbq-tab-body.kbq-tab-body__active{overflow-y:hidden}\n"] }]
1274
+ }, template: "<kbq-tab-header\n #tabHeader\n [vertical]=\"vertical\"\n [selectedIndex]=\"selectedIndex\"\n (indexFocused)=\"focusChanged($event)\"\n (selectFocusedIndex)=\"selectedIndex = $event\">\n\n <div class=\"kbq-tab-label\"\n kbqTabLabelWrapper\n cdkMonitorElementFocus\n [attr.tabindex]=\"getTabIndex(tab, i)\"\n [class.kbq-tab-label_horizontal]=\"!vertical\"\n [class.kbq-tab-label_vertical]=\"vertical\"\n [class.kbq-tab-label_empty]=\"tab.empty\"\n [class.kbq-selected]=\"selectedIndex == i\"\n *ngFor=\"let tab of tabs; let i = index\"\n [tab]=\"tab\"\n [id]=\"getTabLabelId(i)\"\n [disabled]=\"tab.disabled\"\n (click)=\"handleClick(tab, tabHeader, i)\"\n\n [kbqTooltip]=\"tab.tooltipTitle\"\n [kbqTooltipDisabled]=\"!tab.empty && !tab.isOverflown\"\n [kbqTrigger]=\"'hover, focus'\"\n [kbqPlacement]=\"tab.tooltipPlacement\">\n\n <div #labelContent class=\"kbq-tab-label__content\"\n [class.kbq-tab-label__template]=\"tab.templateLabel\">\n <!-- If there is a label template, use it. -->\n <ng-template [ngIf]=\"tab.templateLabel\">\n <ng-template [cdkPortalOutlet]=\"tab.templateLabel\"></ng-template>\n </ng-template>\n\n <!-- If there is not a label template, fall back to the text label. -->\n <ng-template [ngIf]=\"!tab.templateLabel\">{{ tab.textLabel }}</ng-template>\n </div>\n </div>\n</kbq-tab-header>\n\n<div class=\"kbq-tab-body__wrapper\" #tabBodyWrapper>\n <kbq-tab-body\n *ngFor=\"let tab of tabs; let i = index\"\n [id]=\"getTabContentId(i)\"\n [class.kbq-tab-body__active]=\"selectedIndex == i\"\n [content]=\"tab.content!\"\n [position]=\"tab.position!\"\n [origin]=\"tab.origin!\"\n [animationDuration]=\"animationDuration\"\n (onCentered)=\"removeTabBodyWrapperHeight()\"\n (onCentering)=\"setTabBodyWrapperHeight($event)\">\n </kbq-tab-body>\n</div>\n", styles: [".kbq-tab-group{display:flex;flex-direction:column;box-sizing:border-box;text-align:left}.kbq-tab-group.kbq-tab-group_inverted-header{flex-direction:column-reverse}.kbq-tab-group_vertical{flex-direction:row}.kbq-tab-group_vertical .kbq-tab-list__content{gap:var(--kbq-tabs-size-tab-stack-vertical-content-gap-vartical, 8px) 0}.kbq-tab-group_vertical .kbq-tab-header__content{overflow-y:auto}.kbq-tab-body__wrapper{display:flex;overflow:hidden;position:relative}.kbq-tab-body{inset:0;position:absolute;display:block;overflow:hidden}.kbq-tab-body.kbq-tab-body__active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.kbq-tab-group.kbq-tab-group_dynamic-height .kbq-tab-body.kbq-tab-body__active{overflow-y:hidden}\n"] }]
1266
1275
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
1267
1276
  type: Attribute,
1268
1277
  args: ['vertical']
@@ -1355,13 +1364,13 @@ class KbqTabLink extends KbqTabLinkMixinBase {
1355
1364
  }
1356
1365
  }
1357
1366
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqTabLink, deps: [{ token: i0.ElementRef }, { token: i1$2.FocusMonitor }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
1358
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqTabLink, selector: "a[kbq-tab-link], a[mcTabLink]", inputs: { disabled: "disabled", tabIndex: "tabIndex", active: "active" }, host: { properties: { "class.kbq-selected": "active", "class.kbq-tab-label_vertical": "vertical", "class.kbq-tab-label_horizontal": "!vertical", "attr.tabindex": "tabIndex", "attr.disabled": "disabled || null" }, classAttribute: "kbq-tab-link" }, exportAs: ["mcTabLink"], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
1367
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqTabLink, selector: "a[kbq-tab-link], a[kbqTabLink]", inputs: { disabled: "disabled", tabIndex: "tabIndex", active: "active" }, host: { properties: { "class.kbq-selected": "active", "class.kbq-tab-label_vertical": "vertical", "class.kbq-tab-label_horizontal": "!vertical", "attr.tabindex": "tabIndex", "attr.disabled": "disabled || null" }, classAttribute: "kbq-tab-link" }, exportAs: ["kbqTabLink"], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
1359
1368
  }
1360
1369
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqTabLink, decorators: [{
1361
1370
  type: Component,
1362
1371
  args: [{
1363
- selector: 'a[kbq-tab-link], a[mcTabLink]',
1364
- exportAs: 'mcTabLink',
1372
+ selector: 'a[kbq-tab-link], a[kbqTabLink]',
1373
+ exportAs: 'kbqTabLink',
1365
1374
  template: '<ng-content></ng-content>',
1366
1375
  inputs: ['disabled', 'tabIndex'],
1367
1376
  host: {
@@ -1393,11 +1402,11 @@ class KbqTabNav {
1393
1402
  this.links.notifyOnChanges();
1394
1403
  }
1395
1404
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqTabNav, deps: [{ token: 'vertical', attribute: true }], target: i0.ɵɵFactoryTarget.Component }); }
1396
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqTabNav, selector: "[kbq-tab-nav-bar]", inputs: { transparent: "transparent", onSurface: "onSurface" }, host: { properties: { "class.kbq-tab-nav-bar_filled": "!transparent", "class.kbq-tab-nav-bar_transparent": "transparent", "class.kbq-tab-nav-bar_on-background": "!onSurface", "class.kbq-tab-nav-bar_on-surface": "onSurface" }, classAttribute: "kbq-tab-nav-bar" }, queries: [{ propertyName: "links", predicate: KbqTabLink }], exportAs: ["mcTabNavBar", "mcTabNav"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".kbq-tab-link{vertical-align:top;text-decoration:none;-webkit-tap-highlight-color:transparent;position:relative;box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;text-align:center;white-space:nowrap;cursor:pointer;padding:calc(var(--kbq-tabs-size-tab-item-padding-vertical, 8px) - var(--kbq-tabs-size-tab-item-focus-outline-width, 2px)) calc(var(--kbq-tabs-size-tab-item-padding-horizontal, 12px) - var(--kbq-tabs-size-tab-item-focus-outline-width, 2px));border-width:var(--kbq-tabs-size-tab-item-focus-outline-width, 2px);border-style:solid;border-color:transparent;border-radius:var(--kbq-tabs-size-tab-item-border-radius, 8px);outline:none}.kbq-tab-link.kbq-selected{cursor:default}.kbq-tab-link.cdk-keyboard-focused{z-index:1}.kbq-tab-link[disabled]{pointer-events:none}.kbq-tab-link .kbq-tab-label__content{display:flex;gap:var(--kbq-tabs-size-tab-item-content-gap-horizontal, 4px)}.kbq-tab-link.kbq-tab-label_vertical{justify-content:flex-start}.kbq-tab-link.kbq-tab-label_vertical .kbq-tab-label__content{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kbq-tab-link .kbq-tab-group_stretch-labels .kbq-tab-link{flex-basis:0;flex-grow:1}.kbq-tab-nav-bar{display:flex;flex-grow:1;position:relative}.kbq-tab-nav-bar .kbq-tab-group_align-labels-center{justify-content:center}.kbq-tab-nav-bar .kbq-tab-group_align-labels-end{justify-content:flex-end}.kbq-tab-nav-bar.kbq-tab-group_vertical{flex-direction:column;flex-grow:0;gap:var(--kbq-tabs-size-tab-stack-vertical-content-gap-vartical, 8px) 0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1405
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqTabNav, selector: "[kbq-tab-nav-bar]", inputs: { transparent: "transparent", onSurface: "onSurface" }, host: { properties: { "class.kbq-tab-nav-bar_filled": "!transparent", "class.kbq-tab-nav-bar_transparent": "transparent", "class.kbq-tab-nav-bar_on-background": "!onSurface", "class.kbq-tab-nav-bar_on-surface": "onSurface" }, classAttribute: "kbq-tab-nav-bar" }, queries: [{ propertyName: "links", predicate: KbqTabLink }], exportAs: ["kbqTabNavBar", "kbqTabNav"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".kbq-tab-link{vertical-align:top;text-decoration:none;-webkit-tap-highlight-color:transparent;position:relative;box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;text-align:center;white-space:nowrap;cursor:pointer;padding:calc(var(--kbq-tabs-size-tab-item-padding-vertical, 8px) - var(--kbq-tabs-size-tab-item-focus-outline-width, 2px)) calc(var(--kbq-tabs-size-tab-item-padding-horizontal, 12px) - var(--kbq-tabs-size-tab-item-focus-outline-width, 2px));border-width:var(--kbq-tabs-size-tab-item-focus-outline-width, 2px);border-style:solid;border-color:transparent;border-radius:var(--kbq-tabs-size-tab-item-border-radius, 8px);outline:none}.kbq-tab-link.kbq-selected{cursor:default}.kbq-tab-link.cdk-keyboard-focused{z-index:1}.kbq-tab-link[disabled]{pointer-events:none}.kbq-tab-link .kbq-tab-label__content{display:flex;gap:var(--kbq-tabs-size-tab-item-content-gap-horizontal, 4px)}.kbq-tab-link.kbq-tab-label_vertical{justify-content:flex-start}.kbq-tab-link.kbq-tab-label_vertical .kbq-tab-label__content{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kbq-tab-link .kbq-tab-group_stretch-labels .kbq-tab-link{flex-basis:0;flex-grow:1}.kbq-tab-nav-bar{display:flex;flex-grow:1;position:relative}.kbq-tab-nav-bar .kbq-tab-group_align-labels-center{justify-content:center}.kbq-tab-nav-bar .kbq-tab-group_align-labels-end{justify-content:flex-end}.kbq-tab-nav-bar.kbq-tab-group_vertical{flex-direction:column;flex-grow:0;gap:var(--kbq-tabs-size-tab-stack-vertical-content-gap-vartical, 8px) 0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1397
1406
  }
1398
1407
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqTabNav, decorators: [{
1399
1408
  type: Component,
1400
- args: [{ selector: '[kbq-tab-nav-bar]', exportAs: 'mcTabNavBar, mcTabNav', template: '<ng-content></ng-content>', host: {
1409
+ args: [{ selector: '[kbq-tab-nav-bar]', exportAs: 'kbqTabNavBar, kbqTabNav', template: '<ng-content></ng-content>', host: {
1401
1410
  class: 'kbq-tab-nav-bar',
1402
1411
  '[class.kbq-tab-nav-bar_filled]': '!transparent',
1403
1412
  '[class.kbq-tab-nav-bar_transparent]': 'transparent',
@@ -1505,5 +1514,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
1505
1514
  * Generated bundle index. Do not edit.
1506
1515
  */
1507
1516
 
1508
- export { KBQ_TABS_CONFIG, KbqAlignTabsCenterCssStyler, KbqAlignTabsEndCssStyler, KbqStretchTabsCssStyler, KbqTab, KbqTabBody, KbqTabBodyPortal, KbqTabChangeEvent, KbqTabContent, KbqTabGroup, KbqTabGroupBase, KbqTabGroupMixinBase, KbqTabHeader, KbqTabLabel, KbqTabLabelWrapper, KbqTabLink, KbqTabNav, KbqTabsModule, KbqVerticalTabsCssStyler, mcTabsAnimations };
1517
+ export { KBQ_TABS_CONFIG, KbqAlignTabsCenterCssStyler, KbqAlignTabsEndCssStyler, KbqStretchTabsCssStyler, KbqTab, KbqTabBody, KbqTabBodyPortal, KbqTabChangeEvent, KbqTabContent, KbqTabGroup, KbqTabGroupBase, KbqTabGroupMixinBase, KbqTabHeader, KbqTabLabel, KbqTabLabelWrapper, KbqTabLink, KbqTabNav, KbqTabsModule, KbqVerticalTabsCssStyler, kbqTabsAnimations };
1509
1518
  //# sourceMappingURL=koobiq-components-tabs.mjs.map