@koobiq/components 17.0.0-rc.10 → 17.0.0-rc.12

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 (498) hide show
  1. package/alert/public-api.d.ts +1 -1
  2. package/autocomplete/public-api.d.ts +2 -2
  3. package/badge/public-api.d.ts +1 -1
  4. package/button/button.component.d.ts +2 -2
  5. package/button/public-api.d.ts +1 -1
  6. package/button-toggle/public-api.d.ts +1 -1
  7. package/card/card.component.d.ts +1 -1
  8. package/card/public-api.d.ts +1 -1
  9. package/code-block/code-block.component.d.ts +2 -2
  10. package/code-block/public-api.d.ts +1 -1
  11. package/core/animation/index.d.ts +1 -1
  12. package/core/common-behaviors/index.d.ts +3 -3
  13. package/core/datetime/index.d.ts +1 -1
  14. package/core/formatters/index.d.ts +1 -1
  15. package/core/forms/index.d.ts +1 -1
  16. package/core/locales/index.d.ts +1 -1
  17. package/core/option/index.d.ts +2 -2
  18. package/core/option/optgroup.scss +2 -2
  19. package/core/pop-up/pop-up-trigger.d.ts +1 -1
  20. package/core/public-api.d.ts +3 -3
  21. package/core/select/constants.d.ts +1 -1
  22. package/core/select/index.d.ts +3 -3
  23. package/core/styles/common/_animation.scss +8 -8
  24. package/core/styles/common/_list.scss +23 -62
  25. package/core/styles/theming/_components-theming.scss +331 -331
  26. package/core/styles/theming/_theming.scss +3 -3
  27. package/core/styles/typography/_typography-utils.scss +8 -1
  28. package/core/styles/typography/_typography.scss +7 -7
  29. package/core/styles/visual/_layout.scss +1 -1
  30. package/core/utils/data-size/index.d.ts +1 -1
  31. package/core/utils/public-api.d.ts +1 -1
  32. package/datepicker/datepicker-input.directive.d.ts +1 -0
  33. package/datepicker/public-api.d.ts +4 -4
  34. package/dl/public-api.d.ts +1 -1
  35. package/dropdown/_dropdown-theme.scss +4 -1
  36. package/dropdown/dropdown-content.directive.d.ts +1 -1
  37. package/dropdown/dropdown-item.component.d.ts +1 -1
  38. package/dropdown/dropdown-item.scss +9 -6
  39. package/dropdown/dropdown.component.d.ts +1 -1
  40. package/dropdown/public-api.d.ts +5 -5
  41. package/ellipsis-center/ellipsis-center.directive.d.ts +1 -1
  42. package/empty-state/public-api.d.ts +1 -1
  43. package/esm2022/alert/alert.component.mjs +3 -3
  44. package/esm2022/alert/alert.module.mjs +1 -1
  45. package/esm2022/alert/public-api.mjs +2 -2
  46. package/esm2022/autocomplete/autocomplete-origin.directive.mjs +1 -1
  47. package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +23 -31
  48. package/esm2022/autocomplete/autocomplete.component.mjs +14 -9
  49. package/esm2022/autocomplete/autocomplete.module.mjs +3 -3
  50. package/esm2022/autocomplete/public-api.mjs +3 -3
  51. package/esm2022/badge/badge.component.mjs +6 -4
  52. package/esm2022/badge/badge.module.mjs +1 -1
  53. package/esm2022/badge/public-api.mjs +2 -2
  54. package/esm2022/button/button.component.mjs +12 -9
  55. package/esm2022/button/button.module.mjs +1 -1
  56. package/esm2022/button/public-api.mjs +2 -2
  57. package/esm2022/button-toggle/button-toggle.component.mjs +24 -16
  58. package/esm2022/button-toggle/button-toggle.module.mjs +1 -1
  59. package/esm2022/button-toggle/public-api.mjs +2 -2
  60. package/esm2022/card/card.component.mjs +2 -2
  61. package/esm2022/card/card.module.mjs +1 -1
  62. package/esm2022/card/public-api.mjs +2 -2
  63. package/esm2022/checkbox/checkbox-config.mjs +1 -1
  64. package/esm2022/checkbox/checkbox-module.mjs +1 -1
  65. package/esm2022/checkbox/checkbox-required-validator.mjs +1 -1
  66. package/esm2022/checkbox/checkbox.mjs +6 -6
  67. package/esm2022/checkbox/public-api.mjs +1 -1
  68. package/esm2022/code-block/actionbar.component.mjs +4 -6
  69. package/esm2022/code-block/code-block.component.mjs +16 -13
  70. package/esm2022/code-block/code-block.module.mjs +9 -5
  71. package/esm2022/code-block/public-api.mjs +2 -2
  72. package/esm2022/core/animation/fade-animations.mjs +1 -1
  73. package/esm2022/core/animation/index.mjs +2 -2
  74. package/esm2022/core/animation/select-animations.mjs +2 -2
  75. package/esm2022/core/common-behaviors/color.mjs +4 -2
  76. package/esm2022/core/common-behaviors/common-module.mjs +2 -2
  77. package/esm2022/core/common-behaviors/constructor.mjs +1 -1
  78. package/esm2022/core/common-behaviors/disabled.mjs +1 -1
  79. package/esm2022/core/common-behaviors/error-state.mjs +1 -1
  80. package/esm2022/core/common-behaviors/index.mjs +4 -4
  81. package/esm2022/core/common-behaviors/tabindex.mjs +1 -1
  82. package/esm2022/core/datetime/date-adapter.mjs +1 -1
  83. package/esm2022/core/datetime/date-formats.mjs +1 -1
  84. package/esm2022/core/datetime/index.mjs +2 -2
  85. package/esm2022/core/error/error-options.mjs +1 -1
  86. package/esm2022/core/form-field/form-field-ref.mjs +1 -1
  87. package/esm2022/core/formatters/date/formatter.mjs +1 -1
  88. package/esm2022/core/formatters/date/formatter.pipe.mjs +1 -1
  89. package/esm2022/core/formatters/index.mjs +2 -2
  90. package/esm2022/core/formatters/number/formatter.mjs +19 -20
  91. package/esm2022/core/forms/forms-module.mjs +1 -1
  92. package/esm2022/core/forms/forms.directive.mjs +1 -1
  93. package/esm2022/core/forms/index.mjs +2 -2
  94. package/esm2022/core/highlight/highlight.pipe.mjs +1 -1
  95. package/esm2022/core/highlight/index.mjs +1 -1
  96. package/esm2022/core/label/label-options.mjs +1 -1
  97. package/esm2022/core/line/line.mjs +2 -2
  98. package/esm2022/core/locales/en-US.mjs +1 -1
  99. package/esm2022/core/locales/es-LA.mjs +1 -1
  100. package/esm2022/core/locales/fa-IR.mjs +1 -1
  101. package/esm2022/core/locales/index.mjs +2 -2
  102. package/esm2022/core/locales/locale-service.mjs +8 -5
  103. package/esm2022/core/locales/locale-service.module.mjs +1 -1
  104. package/esm2022/core/locales/pt-BR.mjs +1 -1
  105. package/esm2022/core/locales/ru-RU.mjs +3 -3
  106. package/esm2022/core/locales/zh-CN.mjs +1 -1
  107. package/esm2022/core/option/action.mjs +20 -12
  108. package/esm2022/core/option/index.mjs +3 -3
  109. package/esm2022/core/option/optgroup.mjs +4 -4
  110. package/esm2022/core/option/option-module.mjs +1 -1
  111. package/esm2022/core/option/option.mjs +13 -7
  112. package/esm2022/core/overlay/overlay-position-map.mjs +1 -1
  113. package/esm2022/core/pop-up/pop-up-trigger.mjs +15 -23
  114. package/esm2022/core/pop-up/pop-up.mjs +1 -1
  115. package/esm2022/core/public-api.mjs +4 -4
  116. package/esm2022/core/select/common.mjs +2 -2
  117. package/esm2022/core/select/constants.mjs +1 -1
  118. package/esm2022/core/select/index.mjs +4 -4
  119. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
  120. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +1 -1
  121. package/esm2022/core/services/measure-scrollbar.service.mjs +1 -1
  122. package/esm2022/core/services/theme.service.mjs +2 -4
  123. package/esm2022/core/title/title-text-ref.mjs +1 -1
  124. package/esm2022/core/utils/data-size/config.mjs +1 -1
  125. package/esm2022/core/utils/data-size/data-size.pipe.mjs +2 -3
  126. package/esm2022/core/utils/data-size/index.mjs +2 -2
  127. package/esm2022/core/utils/data-size/size.mjs +3 -6
  128. package/esm2022/core/utils/public-api.mjs +2 -2
  129. package/esm2022/core/utils/utils.mjs +4 -2
  130. package/esm2022/core/validation/validation.mjs +4 -2
  131. package/esm2022/core/version.mjs +2 -2
  132. package/esm2022/datepicker/calendar-body.component.mjs +3 -3
  133. package/esm2022/datepicker/calendar-header.component.mjs +8 -7
  134. package/esm2022/datepicker/calendar.component.mjs +6 -6
  135. package/esm2022/datepicker/datepicker-animations.mjs +1 -1
  136. package/esm2022/datepicker/datepicker-errors.mjs +1 -1
  137. package/esm2022/datepicker/datepicker-input.directive.mjs +42 -34
  138. package/esm2022/datepicker/datepicker-intl.mjs +1 -1
  139. package/esm2022/datepicker/datepicker-module.mjs +2 -2
  140. package/esm2022/datepicker/datepicker-toggle.component.mjs +11 -10
  141. package/esm2022/datepicker/datepicker.component.mjs +15 -15
  142. package/esm2022/datepicker/month-view.component.mjs +14 -13
  143. package/esm2022/datepicker/public-api.mjs +5 -5
  144. package/esm2022/divider/divider.component.mjs +1 -1
  145. package/esm2022/divider/divider.module.mjs +1 -1
  146. package/esm2022/dl/dl.component.mjs +1 -1
  147. package/esm2022/dl/dl.module.mjs +2 -2
  148. package/esm2022/dl/public-api.mjs +2 -2
  149. package/esm2022/dropdown/dropdown-animations.mjs +2 -2
  150. package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
  151. package/esm2022/dropdown/dropdown-item.component.mjs +5 -5
  152. package/esm2022/dropdown/dropdown-trigger.directive.mjs +22 -28
  153. package/esm2022/dropdown/dropdown.component.mjs +10 -18
  154. package/esm2022/dropdown/dropdown.module.mjs +1 -1
  155. package/esm2022/dropdown/dropdown.types.mjs +1 -1
  156. package/esm2022/dropdown/public-api.mjs +6 -6
  157. package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +3 -3
  158. package/esm2022/empty-state/empty-state.component.mjs +1 -1
  159. package/esm2022/empty-state/empty-state.module.mjs +2 -2
  160. package/esm2022/empty-state/public-api.mjs +2 -2
  161. package/esm2022/file-upload/file-drop.mjs +2 -2
  162. package/esm2022/file-upload/file-upload.mjs +1 -1
  163. package/esm2022/file-upload/file-upload.module.mjs +2 -2
  164. package/esm2022/file-upload/index.mjs +1 -1
  165. package/esm2022/file-upload/multiple-file-upload.component.mjs +16 -12
  166. package/esm2022/file-upload/public-api.mjs +2 -2
  167. package/esm2022/file-upload/single-file-upload.component.mjs +14 -10
  168. package/esm2022/form-field/cleaner.mjs +13 -3
  169. package/esm2022/form-field/form-field-control.mjs +1 -1
  170. package/esm2022/form-field/form-field-errors.mjs +1 -1
  171. package/esm2022/form-field/form-field.mjs +8 -13
  172. package/esm2022/form-field/form-field.module.mjs +1 -1
  173. package/esm2022/form-field/hint.mjs +2 -2
  174. package/esm2022/form-field/password-hint.mjs +13 -13
  175. package/esm2022/form-field/password-toggle.mjs +4 -7
  176. package/esm2022/form-field/prefix.mjs +1 -1
  177. package/esm2022/form-field/public-api.mjs +4 -4
  178. package/esm2022/form-field/stepper.mjs +33 -29
  179. package/esm2022/form-field/suffix.mjs +1 -1
  180. package/esm2022/form-field/validate.directive.mjs +6 -5
  181. package/esm2022/icon/icon-button.component.mjs +2 -2
  182. package/esm2022/icon/icon-item.component.mjs +1 -1
  183. package/esm2022/icon/icon.component.mjs +3 -4
  184. package/esm2022/icon/icon.module.mjs +1 -1
  185. package/esm2022/icon/public-api.mjs +3 -3
  186. package/esm2022/input/input-number-validators.mjs +1 -1
  187. package/esm2022/input/input-number.mjs +34 -35
  188. package/esm2022/input/input-password.mjs +13 -7
  189. package/esm2022/input/input-value-accessor.mjs +1 -1
  190. package/esm2022/input/input.mjs +13 -7
  191. package/esm2022/input/input.module.mjs +1 -1
  192. package/esm2022/input/public-api.mjs +3 -3
  193. package/esm2022/link/link.component.mjs +2 -2
  194. package/esm2022/link/link.module.mjs +1 -1
  195. package/esm2022/link/public-api.mjs +2 -2
  196. package/esm2022/list/list-selection.component.mjs +34 -36
  197. package/esm2022/list/list.component.mjs +3 -3
  198. package/esm2022/list/list.module.mjs +2 -2
  199. package/esm2022/list/public-api.mjs +3 -3
  200. package/esm2022/loader-overlay/loader-overlay.component.mjs +3 -3
  201. package/esm2022/loader-overlay/loader-overlay.module.mjs +1 -1
  202. package/esm2022/loader-overlay/public-api.mjs +2 -2
  203. package/esm2022/markdown/markdown.component.mjs +20 -6
  204. package/esm2022/markdown/markdown.module.mjs +1 -1
  205. package/esm2022/markdown/markdown.service.mjs +1 -1
  206. package/esm2022/modal/css-unit.pipe.mjs +1 -1
  207. package/esm2022/modal/modal-control.service.mjs +3 -2
  208. package/esm2022/modal/modal-ref.class.mjs +1 -1
  209. package/esm2022/modal/modal-util.mjs +1 -1
  210. package/esm2022/modal/modal.component.mjs +50 -27
  211. package/esm2022/modal/modal.directive.mjs +27 -11
  212. package/esm2022/modal/modal.module.mjs +2 -2
  213. package/esm2022/modal/modal.service.mjs +3 -2
  214. package/esm2022/modal/modal.type.mjs +1 -1
  215. package/esm2022/modal/public-api.mjs +3 -3
  216. package/esm2022/navbar/index.mjs +1 -1
  217. package/esm2022/navbar/navbar-item.component.mjs +37 -28
  218. package/esm2022/navbar/navbar.component.mjs +19 -28
  219. package/esm2022/navbar/navbar.module.mjs +2 -2
  220. package/esm2022/navbar/public-api.mjs +3 -3
  221. package/esm2022/navbar/vertical-navbar.component.mjs +17 -18
  222. package/esm2022/popover/popover-animations.mjs +1 -1
  223. package/esm2022/popover/popover-confirm.component.mjs +3 -3
  224. package/esm2022/popover/popover.component.mjs +5 -5
  225. package/esm2022/popover/popover.module.mjs +1 -1
  226. package/esm2022/popover/public-api.mjs +3 -3
  227. package/esm2022/progress-bar/progress-bar.component.mjs +4 -4
  228. package/esm2022/progress-bar/progress-bar.module.mjs +2 -2
  229. package/esm2022/progress-bar/public-api.mjs +2 -2
  230. package/esm2022/progress-spinner/progress-spinner.component.mjs +4 -4
  231. package/esm2022/progress-spinner/progress-spinner.module.mjs +1 -1
  232. package/esm2022/progress-spinner/public-api.mjs +2 -2
  233. package/esm2022/radio/public-api.mjs +2 -2
  234. package/esm2022/radio/radio.component.mjs +9 -10
  235. package/esm2022/radio/radio.module.mjs +1 -1
  236. package/esm2022/risk-level/public-api.mjs +2 -2
  237. package/esm2022/risk-level/risk-level.component.mjs +1 -1
  238. package/esm2022/risk-level/risk-level.module.mjs +1 -1
  239. package/esm2022/scrollbar/public-api.mjs +2 -2
  240. package/esm2022/scrollbar/scrollbar.component.mjs +13 -11
  241. package/esm2022/scrollbar/scrollbar.directive.mjs +3 -3
  242. package/esm2022/scrollbar/scrollbar.module.mjs +2 -2
  243. package/esm2022/scrollbar/scrollbar.types.mjs +3 -2
  244. package/esm2022/select/public-api.mjs +3 -3
  245. package/esm2022/select/select-option.directive.mjs +8 -5
  246. package/esm2022/select/select.component.mjs +41 -64
  247. package/esm2022/select/select.module.mjs +1 -1
  248. package/esm2022/sidebar/public-api.mjs +2 -2
  249. package/esm2022/sidebar/sidebar-animations.mjs +1 -1
  250. package/esm2022/sidebar/sidebar.component.mjs +3 -3
  251. package/esm2022/sidebar/sidebar.module.mjs +1 -1
  252. package/esm2022/sidepanel/public-api.mjs +4 -4
  253. package/esm2022/sidepanel/sidepanel-animations.mjs +7 -3
  254. package/esm2022/sidepanel/sidepanel-config.mjs +1 -1
  255. package/esm2022/sidepanel/sidepanel-container.component.mjs +4 -4
  256. package/esm2022/sidepanel/sidepanel-directives.mjs +30 -16
  257. package/esm2022/sidepanel/sidepanel-ref.mjs +10 -4
  258. package/esm2022/sidepanel/sidepanel.module.mjs +1 -1
  259. package/esm2022/sidepanel/sidepanel.service.mjs +11 -14
  260. package/esm2022/splitter/public-api.mjs +2 -2
  261. package/esm2022/splitter/splitter.component.mjs +13 -23
  262. package/esm2022/splitter/splitter.module.mjs +1 -1
  263. package/esm2022/table/public-api.mjs +2 -2
  264. package/esm2022/table/table.component.mjs +1 -1
  265. package/esm2022/table/table.module.mjs +1 -1
  266. package/esm2022/tabs/paginated-tab-header.mjs +8 -11
  267. package/esm2022/tabs/public-api.mjs +6 -6
  268. package/esm2022/tabs/tab-body.component.mjs +9 -9
  269. package/esm2022/tabs/tab-content.directive.mjs +1 -1
  270. package/esm2022/tabs/tab-group.component.mjs +11 -13
  271. package/esm2022/tabs/tab-header.component.mjs +4 -4
  272. package/esm2022/tabs/tab-label-wrapper.directive.mjs +1 -1
  273. package/esm2022/tabs/tab-label.directive.mjs +1 -1
  274. package/esm2022/tabs/tab-nav-bar/index.mjs +1 -1
  275. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +2 -2
  276. package/esm2022/tabs/tab.component.mjs +4 -6
  277. package/esm2022/tabs/tabs-animations.mjs +1 -1
  278. package/esm2022/tabs/tabs.module.mjs +2 -2
  279. package/esm2022/tags/public-api.mjs +5 -5
  280. package/esm2022/tags/tag-default-options.mjs +1 -1
  281. package/esm2022/tags/tag-input.mjs +12 -14
  282. package/esm2022/tags/tag-list.component.mjs +14 -20
  283. package/esm2022/tags/tag-text-control.mjs +1 -1
  284. package/esm2022/tags/tag.component.mjs +5 -7
  285. package/esm2022/tags/tag.module.mjs +9 -5
  286. package/esm2022/textarea/index.mjs +1 -1
  287. package/esm2022/textarea/textarea.component.mjs +4 -6
  288. package/esm2022/textarea/textarea.module.mjs +1 -1
  289. package/esm2022/timepicker/public-api.mjs +2 -2
  290. package/esm2022/timepicker/timepicker.constants.mjs +6 -1
  291. package/esm2022/timepicker/timepicker.directive.mjs +62 -26
  292. package/esm2022/timepicker/timepicker.module.mjs +1 -1
  293. package/esm2022/timezone/cities-by-filter.pipe.mjs +1 -1
  294. package/esm2022/timezone/timezone-option.component.mjs +12 -11
  295. package/esm2022/timezone/timezone-option.directive.mjs +3 -3
  296. package/esm2022/timezone/timezone-select.component.mjs +5 -5
  297. package/esm2022/timezone/timezone.module.mjs +1 -1
  298. package/esm2022/timezone/timezone.utils.mjs +5 -9
  299. package/esm2022/timezone/utc-offset.pipe.mjs +1 -1
  300. package/esm2022/title/public-api.mjs +2 -2
  301. package/esm2022/title/title.directive.mjs +9 -5
  302. package/esm2022/title/title.module.mjs +1 -1
  303. package/esm2022/toast/public-api.mjs +4 -4
  304. package/esm2022/toast/toast-animations.mjs +2 -2
  305. package/esm2022/toast/toast-container.component.mjs +3 -4
  306. package/esm2022/toast/toast.component.mjs +5 -5
  307. package/esm2022/toast/toast.module.mjs +1 -1
  308. package/esm2022/toast/toast.service.mjs +14 -30
  309. package/esm2022/toast/toast.type.mjs +1 -1
  310. package/esm2022/toggle/public-api.mjs +2 -2
  311. package/esm2022/toggle/toggle.component.mjs +17 -9
  312. package/esm2022/toggle/toggle.module.mjs +1 -1
  313. package/esm2022/tooltip/public-api.mjs +2 -2
  314. package/esm2022/tooltip/tooltip.animations.mjs +1 -1
  315. package/esm2022/tooltip/tooltip.component.mjs +7 -5
  316. package/esm2022/tooltip/tooltip.module.mjs +2 -2
  317. package/esm2022/tree/control/base-tree-control.mjs +1 -1
  318. package/esm2022/tree/control/flat-tree-control.filters.mjs +4 -7
  319. package/esm2022/tree/control/flat-tree-control.mjs +4 -7
  320. package/esm2022/tree/control/nested-tree-control.mjs +1 -1
  321. package/esm2022/tree/control/tree-control.mjs +1 -1
  322. package/esm2022/tree/data-source/flat-data-source.mjs +3 -8
  323. package/esm2022/tree/data-source/nested-data-source.mjs +2 -3
  324. package/esm2022/tree/node.mjs +1 -1
  325. package/esm2022/tree/outlet.mjs +1 -1
  326. package/esm2022/tree/padding.directive.mjs +4 -5
  327. package/esm2022/tree/public-api.mjs +11 -11
  328. package/esm2022/tree/toggle.mjs +8 -5
  329. package/esm2022/tree/tree-base.mjs +3 -3
  330. package/esm2022/tree/tree-errors.mjs +1 -1
  331. package/esm2022/tree/tree-option.component.mjs +9 -13
  332. package/esm2022/tree/tree-selection.component.mjs +17 -36
  333. package/esm2022/tree/tree.mjs +7 -3
  334. package/esm2022/tree/tree.module.mjs +4 -4
  335. package/esm2022/tree-select/public-api.mjs +2 -2
  336. package/esm2022/tree-select/tree-select.component.mjs +54 -64
  337. package/esm2022/tree-select/tree-select.module.mjs +1 -1
  338. package/fesm2022/koobiq-components-alert.mjs +6 -6
  339. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  340. package/fesm2022/koobiq-components-autocomplete.mjs +58 -61
  341. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  342. package/fesm2022/koobiq-components-badge.mjs +8 -6
  343. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  344. package/fesm2022/koobiq-components-button-toggle.mjs +28 -20
  345. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  346. package/fesm2022/koobiq-components-button.mjs +14 -11
  347. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  348. package/fesm2022/koobiq-components-card.mjs +2 -2
  349. package/fesm2022/koobiq-components-card.mjs.map +1 -1
  350. package/fesm2022/koobiq-components-checkbox.mjs +3 -3
  351. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  352. package/fesm2022/koobiq-components-code-block.mjs +33 -28
  353. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  354. package/fesm2022/koobiq-components-core.mjs +323 -315
  355. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  356. package/fesm2022/koobiq-components-datepicker.mjs +100 -89
  357. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  358. package/fesm2022/koobiq-components-divider.mjs.map +1 -1
  359. package/fesm2022/koobiq-components-dl.mjs +3 -3
  360. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  361. package/fesm2022/koobiq-components-dropdown.mjs +124 -138
  362. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  363. package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
  364. package/fesm2022/koobiq-components-empty-state.mjs +3 -3
  365. package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
  366. package/fesm2022/koobiq-components-file-upload.mjs +45 -37
  367. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  368. package/fesm2022/koobiq-components-form-field.mjs +69 -62
  369. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  370. package/fesm2022/koobiq-components-icon.mjs +3 -4
  371. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  372. package/fesm2022/koobiq-components-input.mjs +61 -50
  373. package/fesm2022/koobiq-components-input.mjs.map +1 -1
  374. package/fesm2022/koobiq-components-link.mjs +1 -1
  375. package/fesm2022/koobiq-components-link.mjs.map +1 -1
  376. package/fesm2022/koobiq-components-list.mjs +39 -41
  377. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  378. package/fesm2022/koobiq-components-loader-overlay.mjs +6 -6
  379. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  380. package/fesm2022/koobiq-components-markdown.mjs +18 -4
  381. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  382. package/fesm2022/koobiq-components-modal.mjs +84 -44
  383. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  384. package/fesm2022/koobiq-components-navbar.mjs +74 -75
  385. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  386. package/fesm2022/koobiq-components-popover.mjs +12 -12
  387. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  388. package/fesm2022/koobiq-components-progress-bar.mjs +5 -5
  389. package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
  390. package/fesm2022/koobiq-components-progress-spinner.mjs +5 -5
  391. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  392. package/fesm2022/koobiq-components-radio.mjs +11 -12
  393. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  394. package/fesm2022/koobiq-components-risk-level.mjs +2 -2
  395. package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
  396. package/fesm2022/koobiq-components-scrollbar.mjs +15 -12
  397. package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
  398. package/fesm2022/koobiq-components-select.mjs +52 -72
  399. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  400. package/fesm2022/koobiq-components-sidebar.mjs +3 -3
  401. package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
  402. package/fesm2022/koobiq-components-sidepanel.mjs +108 -87
  403. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  404. package/fesm2022/koobiq-components-splitter.mjs +15 -25
  405. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  406. package/fesm2022/koobiq-components-table.mjs +3 -3
  407. package/fesm2022/koobiq-components-table.mjs.map +1 -1
  408. package/fesm2022/koobiq-components-tabs.mjs +36 -43
  409. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  410. package/fesm2022/koobiq-components-tags.mjs +38 -44
  411. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  412. package/fesm2022/koobiq-components-textarea.mjs +2 -4
  413. package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
  414. package/fesm2022/koobiq-components-timepicker.mjs +69 -28
  415. package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
  416. package/fesm2022/koobiq-components-timezone.mjs +16 -19
  417. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  418. package/fesm2022/koobiq-components-title.mjs +11 -7
  419. package/fesm2022/koobiq-components-title.mjs.map +1 -1
  420. package/fesm2022/koobiq-components-toast.mjs +69 -86
  421. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  422. package/fesm2022/koobiq-components-toggle.mjs +17 -9
  423. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  424. package/fesm2022/koobiq-components-tooltip.mjs +10 -8
  425. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  426. package/fesm2022/koobiq-components-tree-select.mjs +63 -73
  427. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  428. package/fesm2022/koobiq-components-tree.mjs +506 -535
  429. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  430. package/file-upload/multiple-file-upload.component.d.ts +2 -2
  431. package/file-upload/public-api.d.ts +1 -1
  432. package/file-upload/single-file-upload.component.d.ts +2 -2
  433. package/form-field/public-api.d.ts +3 -3
  434. package/icon/public-api.d.ts +2 -2
  435. package/input/public-api.d.ts +2 -2
  436. package/link/_link-theme.scss +1 -1
  437. package/link/link.component.d.ts +1 -1
  438. package/link/public-api.d.ts +1 -1
  439. package/list/list-selection.component.d.ts +2 -2
  440. package/list/list.scss +1 -1
  441. package/list/public-api.d.ts +2 -2
  442. package/loader-overlay/public-api.d.ts +1 -1
  443. package/modal/README.md +1 -1
  444. package/modal/modal.directive.d.ts +3 -3
  445. package/modal/modal.type.d.ts +2 -2
  446. package/modal/public-api.d.ts +2 -2
  447. package/navbar/_navbar-item_horizontal.scss +31 -23
  448. package/navbar/_navbar-item_vertical.scss +0 -2
  449. package/navbar/navbar-item.scss +7 -0
  450. package/navbar/public-api.d.ts +2 -2
  451. package/package.json +6 -6
  452. package/popover/popover.component.d.ts +1 -1
  453. package/popover/public-api.d.ts +2 -2
  454. package/prebuilt-themes/dark-theme.css +1 -1
  455. package/prebuilt-themes/light-theme.css +1 -1
  456. package/progress-bar/public-api.d.ts +1 -1
  457. package/progress-spinner/public-api.d.ts +1 -1
  458. package/radio/_radio-theme.scss +1 -0
  459. package/radio/public-api.d.ts +1 -1
  460. package/radio/radio.scss +12 -2
  461. package/risk-level/public-api.d.ts +1 -1
  462. package/schematics/ng-add/index.js +4 -4
  463. package/scrollbar/public-api.d.ts +1 -1
  464. package/scrollbar/scrollbar.directive.d.ts +1 -1
  465. package/scrollbar/scrollbar.types.d.ts +1 -1
  466. package/select/public-api.d.ts +2 -2
  467. package/select/select.component.d.ts +1 -1
  468. package/sidebar/public-api.d.ts +1 -1
  469. package/sidepanel/public-api.d.ts +3 -3
  470. package/sidepanel/sidepanel.scss +1 -1
  471. package/splitter/public-api.d.ts +1 -1
  472. package/table/public-api.d.ts +1 -1
  473. package/tabs/paginated-tab-header.d.ts +1 -1
  474. package/tabs/public-api.d.ts +5 -5
  475. package/tabs/tab-body.component.d.ts +3 -3
  476. package/tabs/tab-group.component.d.ts +1 -1
  477. package/tags/public-api.d.ts +4 -4
  478. package/tags/tag-input.d.ts +1 -1
  479. package/textarea/textarea.component.d.ts +1 -1
  480. package/timepicker/public-api.d.ts +1 -1
  481. package/timepicker/timepicker.constants.d.ts +2 -0
  482. package/timepicker/timepicker.directive.d.ts +10 -3
  483. package/timezone/timezone-option.directive.d.ts +1 -1
  484. package/timezone/timezone.utils.d.ts +1 -1
  485. package/title/public-api.d.ts +1 -1
  486. package/toast/public-api.d.ts +3 -3
  487. package/toast/toast.component.scss +4 -1
  488. package/toast/toast.service.d.ts +2 -2
  489. package/toast/toast.type.d.ts +1 -1
  490. package/toggle/public-api.d.ts +1 -1
  491. package/tooltip/public-api.d.ts +1 -1
  492. package/tooltip/tooltip.component.d.ts +2 -2
  493. package/tree/public-api.d.ts +10 -10
  494. package/tree/tree-base.d.ts +1 -1
  495. package/tree/tree-option.component.d.ts +1 -1
  496. package/tree/tree-selection.component.d.ts +1 -1
  497. package/tree-select/public-api.d.ts +1 -1
  498. package/tree-select/tree-select.component.d.ts +6 -4
@@ -1,22 +1,22 @@
1
- import { PlatformModule } from '@angular/cdk/platform';
2
- import * as i4 from '@angular/common';
3
- import { CommonModule } from '@angular/common';
4
1
  import * as i0 from '@angular/core';
5
2
  import { InjectionToken, Directive, EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, ViewChild, ContentChildren, ContentChild, forwardRef, Output, Input, Inject, Optional, Self, NgModule } from '@angular/core';
6
- import { SPACE, BACKSPACE, DELETE, HOME, END, ENTER, TAB, COMMA, SEMICOLON } from '@koobiq/cdk/keycodes';
7
3
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
8
4
  import * as i3 from '@angular/forms';
5
+ import { SPACE, BACKSPACE, DELETE, HOME, END, ENTER, TAB, COMMA, SEMICOLON } from '@koobiq/cdk/keycodes';
6
+ import * as i3$1 from '@koobiq/components/autocomplete';
7
+ import * as i1 from '@koobiq/components/core';
8
+ import { mixinColor, mixinDisabled, KbqComponentColors, KBQ_TITLE_TEXT_REF, mixinErrorState, isBoolean } from '@koobiq/components/core';
9
9
  import * as i1$1 from '@koobiq/components/form-field';
10
10
  import { KbqFormFieldControl } from '@koobiq/components/form-field';
11
11
  import * as i2 from '@angular/cdk/bidi';
12
12
  import { SelectionModel } from '@angular/cdk/collections';
13
13
  import { FocusKeyManager } from '@koobiq/cdk/a11y';
14
- import * as i1 from '@koobiq/components/core';
15
- import { mixinColor, mixinDisabled, KbqComponentColors, KBQ_TITLE_TEXT_REF, mixinErrorState, isBoolean } from '@koobiq/components/core';
16
14
  import { Subject, merge } from 'rxjs';
17
15
  import { take, takeUntil, startWith } from 'rxjs/operators';
18
16
  import { KbqIcon } from '@koobiq/components/icon';
19
- import * as i3$1 from '@koobiq/components/autocomplete';
17
+ import * as i4 from '@angular/common';
18
+ import { CommonModule } from '@angular/common';
19
+ import { PlatformModule } from '@angular/cdk/platform';
20
20
 
21
21
  /** Injection token to be used to override the default options for the chips module. */
22
22
  const KBQ_TAGS_DEFAULT_OPTIONS = new InjectionToken('kbq-tags-default-options');
@@ -82,9 +82,7 @@ class KbqTag extends KbqTagMixinBase {
82
82
  }
83
83
  /** The value of the tag. Defaults to the content inside `<kbq-tag>` tags. */
84
84
  get value() {
85
- return this._value !== undefined
86
- ? this._value
87
- : this.elementRef.nativeElement.textContent;
85
+ return this._value !== undefined ? this._value : this.elementRef.nativeElement.textContent;
88
86
  }
89
87
  set value(value) {
90
88
  this._value = value;
@@ -291,7 +289,7 @@ class KbqTag extends KbqTagMixinBase {
291
289
  });
292
290
  }
293
291
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqTag, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
294
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.0", type: KbqTag, selector: "kbq-tag, [kbq-tag], kbq-basic-tag, [kbq-basic-tag]", inputs: { color: "color", selected: "selected", value: "value", selectable: "selectable", removable: "removable", tabindex: "tabindex", disabled: "disabled" }, outputs: { selectionChange: "selectionChange", destroyed: "destroyed", removed: "removed" }, host: { listeners: { "mousedown": "handleMousedown($event)", "keydown": "handleKeydown($event)", "focus": "focus()", "blur": "blur()" }, properties: { "attr.tabindex": "tabindex", "attr.disabled": "disabled || null", "class.kbq-selected": "selected", "class.kbq-focused": "hasFocus", "class.kbq-tag-with-avatar": "avatar", "class.kbq-tag-with-icon": "contentChildren", "class.kbq-tag-with-trailing-icon": "trailingIcon || removeIcon", "class.kbq-disabled": "disabled" }, classAttribute: "kbq-tag" }, providers: [{ provide: KBQ_TITLE_TEXT_REF, useExisting: KbqTag }], queries: [{ propertyName: "avatar", first: true, predicate: KbqTagAvatar, descendants: true }, { propertyName: "trailingIcon", first: true, predicate: KbqTagTrailingIcon, descendants: true }, { propertyName: "removeIcon", first: true, predicate: i0.forwardRef(() => KbqTagRemove), descendants: true }, { propertyName: "contentChildren", predicate: KbqIcon }], viewQueries: [{ propertyName: "textElement", first: true, predicate: ["kbqTitleText"], descendants: true }], exportAs: ["kbqTag"], usesInheritance: true, ngImport: i0, template: "<div class=\"kbq-tag__wrapper\">\n <ng-content select=\"[kbq-icon]:not([kbqTagRemove])\"></ng-content>\n <span class=\"kbq-tag__text\" #kbqTitleText><ng-content></ng-content></span>\n <ng-content select=\"[kbqTagRemove]\"></ng-content>\n</div>\n", styles: [".kbq-tag{position:relative;display:inline-block;max-width:100%;padding:var(--kbq-tag-size-padding-vertical, 2px) var(--kbq-tag-size-padding-horizontal, 4px);border-radius:4px;cursor:default;outline:none;box-sizing:border-box}.kbq-tag .kbq-icon.kbq-tag-remove{display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:var(--kbq-tag-size-close-button-margin-right, 2px)}.kbq-tag .kbq-icon.kbq-tag-remove:hover{cursor:pointer}.kbq-tag.kbq-disabled .kbq-icon.kbq-tag-remove:hover{cursor:default}.kbq-tag .kbq-tag__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin:0 var(--kbq-tag-size-content-gap-horizontal, 2px)}.kbq-tag .kbq-icon_left{margin-left:var(--kbq-tag-size-icon-margin-left, 2px)}.kbq-tag__wrapper{display:flex;align-items:center;height:100%;flex:1 1 100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
292
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.0", type: KbqTag, selector: "kbq-tag, [kbq-tag], kbq-basic-tag, [kbq-basic-tag]", inputs: { color: "color", selected: "selected", value: "value", selectable: "selectable", removable: "removable", tabindex: "tabindex", disabled: "disabled" }, outputs: { selectionChange: "selectionChange", destroyed: "destroyed", removed: "removed" }, host: { listeners: { "mousedown": "handleMousedown($event)", "keydown": "handleKeydown($event)", "focus": "focus()", "blur": "blur()" }, properties: { "attr.tabindex": "tabindex", "attr.disabled": "disabled || null", "class.kbq-selected": "selected", "class.kbq-focused": "hasFocus", "class.kbq-tag-with-avatar": "avatar", "class.kbq-tag-with-icon": "contentChildren", "class.kbq-tag-with-trailing-icon": "trailingIcon || removeIcon", "class.kbq-disabled": "disabled" }, classAttribute: "kbq-tag" }, providers: [{ provide: KBQ_TITLE_TEXT_REF, useExisting: KbqTag }], queries: [{ propertyName: "avatar", first: true, predicate: KbqTagAvatar, descendants: true }, { propertyName: "trailingIcon", first: true, predicate: KbqTagTrailingIcon, descendants: true }, { propertyName: "removeIcon", first: true, predicate: i0.forwardRef(() => KbqTagRemove), descendants: true }, { propertyName: "contentChildren", predicate: KbqIcon }], viewQueries: [{ propertyName: "textElement", first: true, predicate: ["kbqTitleText"], descendants: true }], exportAs: ["kbqTag"], usesInheritance: true, ngImport: i0, template: "<div class=\"kbq-tag__wrapper\">\n <ng-content select=\"[kbq-icon]:not([kbqTagRemove])\"></ng-content>\n <span\n #kbqTitleText\n class=\"kbq-tag__text\"\n >\n <ng-content></ng-content>\n </span>\n <ng-content select=\"[kbqTagRemove]\"></ng-content>\n</div>\n", styles: [".kbq-tag{position:relative;display:inline-block;max-width:100%;padding:var(--kbq-tag-size-padding-vertical, 2px) var(--kbq-tag-size-padding-horizontal, 4px);border-radius:4px;cursor:default;outline:none;box-sizing:border-box}.kbq-tag .kbq-icon.kbq-tag-remove{display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:var(--kbq-tag-size-close-button-margin-right, 2px)}.kbq-tag .kbq-icon.kbq-tag-remove:hover{cursor:pointer}.kbq-tag.kbq-disabled .kbq-icon.kbq-tag-remove:hover{cursor:default}.kbq-tag .kbq-tag__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin:0 var(--kbq-tag-size-content-gap-horizontal, 2px)}.kbq-tag .kbq-icon_left{margin-left:var(--kbq-tag-size-icon-margin-left, 2px)}.kbq-tag__wrapper{display:flex;align-items:center;height:100%;flex:1 1 100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
295
293
  }
296
294
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqTag, decorators: [{
297
295
  type: Component,
@@ -309,7 +307,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImpor
309
307
  '(keydown)': 'handleKeydown($event)',
310
308
  '(focus)': 'focus()',
311
309
  '(blur)': 'blur()'
312
- }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: KBQ_TITLE_TEXT_REF, useExisting: KbqTag }], template: "<div class=\"kbq-tag__wrapper\">\n <ng-content select=\"[kbq-icon]:not([kbqTagRemove])\"></ng-content>\n <span class=\"kbq-tag__text\" #kbqTitleText><ng-content></ng-content></span>\n <ng-content select=\"[kbqTagRemove]\"></ng-content>\n</div>\n", styles: [".kbq-tag{position:relative;display:inline-block;max-width:100%;padding:var(--kbq-tag-size-padding-vertical, 2px) var(--kbq-tag-size-padding-horizontal, 4px);border-radius:4px;cursor:default;outline:none;box-sizing:border-box}.kbq-tag .kbq-icon.kbq-tag-remove{display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:var(--kbq-tag-size-close-button-margin-right, 2px)}.kbq-tag .kbq-icon.kbq-tag-remove:hover{cursor:pointer}.kbq-tag.kbq-disabled .kbq-icon.kbq-tag-remove:hover{cursor:default}.kbq-tag .kbq-tag__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin:0 var(--kbq-tag-size-content-gap-horizontal, 2px)}.kbq-tag .kbq-icon_left{margin-left:var(--kbq-tag-size-icon-margin-left, 2px)}.kbq-tag__wrapper{display:flex;align-items:center;height:100%;flex:1 1 100%}\n"] }]
310
+ }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: KBQ_TITLE_TEXT_REF, useExisting: KbqTag }], template: "<div class=\"kbq-tag__wrapper\">\n <ng-content select=\"[kbq-icon]:not([kbqTagRemove])\"></ng-content>\n <span\n #kbqTitleText\n class=\"kbq-tag__text\"\n >\n <ng-content></ng-content>\n </span>\n <ng-content select=\"[kbqTagRemove]\"></ng-content>\n</div>\n", styles: [".kbq-tag{position:relative;display:inline-block;max-width:100%;padding:var(--kbq-tag-size-padding-vertical, 2px) var(--kbq-tag-size-padding-horizontal, 4px);border-radius:4px;cursor:default;outline:none;box-sizing:border-box}.kbq-tag .kbq-icon.kbq-tag-remove{display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:var(--kbq-tag-size-close-button-margin-right, 2px)}.kbq-tag .kbq-icon.kbq-tag-remove:hover{cursor:pointer}.kbq-tag.kbq-disabled .kbq-icon.kbq-tag-remove:hover{cursor:default}.kbq-tag .kbq-tag__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin:0 var(--kbq-tag-size-content-gap-horizontal, 2px)}.kbq-tag .kbq-icon_left{margin-left:var(--kbq-tag-size-icon-margin-left, 2px)}.kbq-tag__wrapper{display:flex;align-items:center;height:100%;flex:1 1 100%}\n"] }]
313
311
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }], propDecorators: { textElement: [{
314
312
  type: ViewChild,
315
313
  args: ['kbqTitleText']
@@ -610,9 +608,7 @@ class KbqTagList extends KbqTagListMixinBase {
610
608
  }
611
609
  // Prevents the tag list from capturing focus and redirecting
612
610
  // it back to the first tag when the user tabs out.
613
- this.keyManager.tabOut
614
- .pipe(takeUntil(this.destroyed))
615
- .subscribe(() => {
611
+ this.keyManager.tabOut.pipe(takeUntil(this.destroyed)).subscribe(() => {
616
612
  this._tabIndex = -1;
617
613
  setTimeout(() => {
618
614
  this._tabIndex = this.userTabIndex || 0;
@@ -620,13 +616,13 @@ class KbqTagList extends KbqTagListMixinBase {
620
616
  });
621
617
  });
622
618
  // When the list changes, re-subscribe
623
- this.tags.changes
624
- .pipe(startWith(null), takeUntil(this.destroyed))
625
- .subscribe(() => {
619
+ this.tags.changes.pipe(startWith(null), takeUntil(this.destroyed)).subscribe(() => {
626
620
  if (this.disabled) {
627
621
  // Since this happens after the content has been
628
622
  // checked, we need to defer it to the next tick.
629
- Promise.resolve().then(() => { this.syncTagsDisabledState(); });
623
+ Promise.resolve().then(() => {
624
+ this.syncTagsDisabledState();
625
+ });
630
626
  }
631
627
  this.resetTags();
632
628
  // Reset tags selected/deselected status
@@ -668,8 +664,7 @@ class KbqTagList extends KbqTagListMixinBase {
668
664
  this.tagInput = inputElement;
669
665
  // todo need rethink about it
670
666
  if (this.ngControl && inputElement.ngControl?.statusChanges) {
671
- inputElement.ngControl.statusChanges
672
- .subscribe(() => this.ngControl.control.setErrors(inputElement.ngControl.errors));
667
+ inputElement.ngControl.statusChanges.subscribe(() => this.ngControl.control.setErrors(inputElement.ngControl.errors));
673
668
  }
674
669
  }
675
670
  // Implemented as part of ControlValueAccessor.
@@ -971,23 +966,20 @@ class KbqTagList extends KbqTagListMixinBase {
971
966
  }
972
967
  /** Listens to user-generated selection events on each tag. */
973
968
  listenToTagsFocus() {
974
- this.tagFocusSubscription = this.tagFocusChanges
975
- .subscribe((event) => {
969
+ this.tagFocusSubscription = this.tagFocusChanges.subscribe((event) => {
976
970
  const tagIndex = this.tags.toArray().indexOf(event.tag);
977
971
  if (this.isValidIndex(tagIndex)) {
978
972
  this.keyManager.updateActiveItem(tagIndex);
979
973
  }
980
974
  this.stateChanges.next();
981
975
  });
982
- this.tagBlurSubscription = this.tagBlurChanges
983
- .subscribe(() => {
976
+ this.tagBlurSubscription = this.tagBlurChanges.subscribe(() => {
984
977
  this.blur();
985
978
  this.stateChanges.next();
986
979
  });
987
980
  }
988
981
  listenToTagsRemoved() {
989
- this.tagRemoveSubscription = this.tagRemoveChanges
990
- .subscribe((event) => {
982
+ this.tagRemoveSubscription = this.tagRemoveChanges.subscribe((event) => {
991
983
  const tag = event.tag;
992
984
  const tagIndex = this.tags.toArray().indexOf(event.tag);
993
985
  // In case the tag that will be removed is currently focused, we temporarily store
@@ -1031,11 +1023,11 @@ class KbqTagList extends KbqTagListMixinBase {
1031
1023
  }
1032
1024
  propagateSelectableToChildren() {
1033
1025
  if (this.tags) {
1034
- this.tags.forEach((tag) => tag.tagListSelectable = this._selectable);
1026
+ this.tags.forEach((tag) => (tag.tagListSelectable = this._selectable));
1035
1027
  }
1036
1028
  }
1037
1029
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqTagList, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.ErrorStateMatcher }, { token: i2.Directionality, optional: true }, { token: i3.NgForm, optional: true }, { token: i3.FormGroupDirective, optional: true }, { token: i3.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
1038
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.0", type: KbqTagList, selector: "kbq-tag-list", inputs: { multiple: "multiple", compareWith: "compareWith", value: "value", required: "required", placeholder: "placeholder", disabled: "disabled", selectable: "selectable", tabIndex: "tabIndex", errorStateMatcher: "errorStateMatcher", orientation: "orientation" }, outputs: { valueChange: "valueChange", change: "change" }, host: { listeners: { "focus": "focus()", "blur": "blur()", "keydown": "keydown($event)" }, properties: { "class.kbq-disabled": "disabled", "class.kbq-invalid": "errorState", "attr.tabindex": "disabled ? null : tabIndex", "id": "uid" }, classAttribute: "kbq-tag-list" }, providers: [{ provide: KbqFormFieldControl, useExisting: KbqTagList }], queries: [{ propertyName: "cleaner", first: true, predicate: ["kbqTagListCleaner"], descendants: true, static: true }, { propertyName: "tags", predicate: KbqTag, descendants: true }], exportAs: ["kbqTagList"], usesInheritance: true, ngImport: i0, template: "<div class=\"kbq-tags-list__list-container\">\n <ng-content></ng-content>\n</div>\n\n<div class=\"kbq-tags-list__cleaner\"\n *ngIf=\"canShowCleaner\">\n <ng-content select=\"kbq-cleaner\"></ng-content>\n</div>\n", styles: [".kbq-tag-list{display:flex;flex-direction:row;box-sizing:border-box}.kbq-tag-list:focus-visible{outline:none}.kbq-tag-input{border:none;outline:none;background:transparent;text-overflow:ellipsis;min-height:unset;padding-top:var(--kbq-tag-size-padding-vertical, 2px);padding-bottom:var(--kbq-tag-size-padding-vertical, 2px);padding-left:4px;padding-right:unset}.kbq-tags-list__list-container{display:flex;flex-wrap:wrap;flex:1 1 100%;box-sizing:border-box;min-width:0;gap:var(--kbq-tag-list-size-content-gap, 4px)}.kbq-tags-list__list-container .kbq-tag-input{max-width:100%;flex:1 1 auto}.kbq-tags-list__cleaner .kbq-cleaner{max-height:24px}.kbq-form-field-type-tag-list .kbq-form-field__container{padding:calc(var(--kbq-tag-input-size-padding-vertical, 4px) - var(--kbq-form-field-size-border-width, 1px)) var(--kbq-tag-input-size-padding-right, 12px) calc(var(--kbq-tag-input-size-padding-vertical, 4px) - var(--kbq-form-field-size-border-width, 1px)) var(--kbq-tag-input-size-padding-left, 4px)}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1030
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.0", type: KbqTagList, selector: "kbq-tag-list", inputs: { multiple: "multiple", compareWith: "compareWith", value: "value", required: "required", placeholder: "placeholder", disabled: "disabled", selectable: "selectable", tabIndex: "tabIndex", errorStateMatcher: "errorStateMatcher", orientation: "orientation" }, outputs: { valueChange: "valueChange", change: "change" }, host: { listeners: { "focus": "focus()", "blur": "blur()", "keydown": "keydown($event)" }, properties: { "class.kbq-disabled": "disabled", "class.kbq-invalid": "errorState", "attr.tabindex": "disabled ? null : tabIndex", "id": "uid" }, classAttribute: "kbq-tag-list" }, providers: [{ provide: KbqFormFieldControl, useExisting: KbqTagList }], queries: [{ propertyName: "cleaner", first: true, predicate: ["kbqTagListCleaner"], descendants: true, static: true }, { propertyName: "tags", predicate: KbqTag, descendants: true }], exportAs: ["kbqTagList"], usesInheritance: true, ngImport: i0, template: "<div class=\"kbq-tags-list__list-container\">\n <ng-content></ng-content>\n</div>\n\n<div\n *ngIf=\"canShowCleaner\"\n class=\"kbq-tags-list__cleaner\"\n>\n <ng-content select=\"kbq-cleaner\"></ng-content>\n</div>\n", styles: [".kbq-tag-list{display:flex;flex-direction:row;box-sizing:border-box}.kbq-tag-list:focus-visible{outline:none}.kbq-tag-input{border:none;outline:none;background:transparent;text-overflow:ellipsis;min-height:unset;padding-top:var(--kbq-tag-size-padding-vertical, 2px);padding-bottom:var(--kbq-tag-size-padding-vertical, 2px);padding-left:4px;padding-right:unset}.kbq-tags-list__list-container{display:flex;flex-wrap:wrap;flex:1 1 100%;box-sizing:border-box;min-width:0;gap:var(--kbq-tag-list-size-content-gap, 4px)}.kbq-tags-list__list-container .kbq-tag-input{max-width:100%;flex:1 1 auto}.kbq-tags-list__cleaner .kbq-cleaner{max-height:24px}.kbq-form-field-type-tag-list .kbq-form-field__container{padding:calc(var(--kbq-tag-input-size-padding-vertical, 4px) - var(--kbq-form-field-size-border-width, 1px)) var(--kbq-tag-input-size-padding-right, 12px) calc(var(--kbq-tag-input-size-padding-vertical, 4px) - var(--kbq-form-field-size-border-width, 1px)) var(--kbq-tag-input-size-padding-left, 4px)}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1039
1031
  }
1040
1032
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqTagList, decorators: [{
1041
1033
  type: Component,
@@ -1048,7 +1040,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImpor
1048
1040
  '(focus)': 'focus()',
1049
1041
  '(blur)': 'blur()',
1050
1042
  '(keydown)': 'keydown($event)'
1051
- }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: KbqFormFieldControl, useExisting: KbqTagList }], template: "<div class=\"kbq-tags-list__list-container\">\n <ng-content></ng-content>\n</div>\n\n<div class=\"kbq-tags-list__cleaner\"\n *ngIf=\"canShowCleaner\">\n <ng-content select=\"kbq-cleaner\"></ng-content>\n</div>\n", styles: [".kbq-tag-list{display:flex;flex-direction:row;box-sizing:border-box}.kbq-tag-list:focus-visible{outline:none}.kbq-tag-input{border:none;outline:none;background:transparent;text-overflow:ellipsis;min-height:unset;padding-top:var(--kbq-tag-size-padding-vertical, 2px);padding-bottom:var(--kbq-tag-size-padding-vertical, 2px);padding-left:4px;padding-right:unset}.kbq-tags-list__list-container{display:flex;flex-wrap:wrap;flex:1 1 100%;box-sizing:border-box;min-width:0;gap:var(--kbq-tag-list-size-content-gap, 4px)}.kbq-tags-list__list-container .kbq-tag-input{max-width:100%;flex:1 1 auto}.kbq-tags-list__cleaner .kbq-cleaner{max-height:24px}.kbq-form-field-type-tag-list .kbq-form-field__container{padding:calc(var(--kbq-tag-input-size-padding-vertical, 4px) - var(--kbq-form-field-size-border-width, 1px)) var(--kbq-tag-input-size-padding-right, 12px) calc(var(--kbq-tag-input-size-padding-vertical, 4px) - var(--kbq-form-field-size-border-width, 1px)) var(--kbq-tag-input-size-padding-left, 4px)}\n"] }]
1043
+ }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: KbqFormFieldControl, useExisting: KbqTagList }], template: "<div class=\"kbq-tags-list__list-container\">\n <ng-content></ng-content>\n</div>\n\n<div\n *ngIf=\"canShowCleaner\"\n class=\"kbq-tags-list__cleaner\"\n>\n <ng-content select=\"kbq-cleaner\"></ng-content>\n</div>\n", styles: [".kbq-tag-list{display:flex;flex-direction:row;box-sizing:border-box}.kbq-tag-list:focus-visible{outline:none}.kbq-tag-input{border:none;outline:none;background:transparent;text-overflow:ellipsis;min-height:unset;padding-top:var(--kbq-tag-size-padding-vertical, 2px);padding-bottom:var(--kbq-tag-size-padding-vertical, 2px);padding-left:4px;padding-right:unset}.kbq-tags-list__list-container{display:flex;flex-wrap:wrap;flex:1 1 100%;box-sizing:border-box;min-width:0;gap:var(--kbq-tag-list-size-content-gap, 4px)}.kbq-tags-list__list-container .kbq-tag-input{max-width:100%;flex:1 1 auto}.kbq-tags-list__cleaner .kbq-cleaner{max-height:24px}.kbq-form-field-type-tag-list .kbq-form-field__container{padding:calc(var(--kbq-tag-input-size-padding-vertical, 4px) - var(--kbq-form-field-size-border-width, 1px)) var(--kbq-tag-input-size-padding-right, 12px) calc(var(--kbq-tag-input-size-padding-vertical, 4px) - var(--kbq-form-field-size-border-width, 1px)) var(--kbq-tag-input-size-padding-left, 4px)}\n"] }]
1052
1044
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.ErrorStateMatcher }, { type: i2.Directionality, decorators: [{
1053
1045
  type: Optional
1054
1046
  }] }, { type: i3.NgForm, decorators: [{
@@ -1119,8 +1111,7 @@ class KbqTagInput {
1119
1111
  this._separatorKeyCodes = value || [];
1120
1112
  }
1121
1113
  get separators() {
1122
- return this._separatorKeyCodes
1123
- .reduce((acc, key) => {
1114
+ return this._separatorKeyCodes.reduce((acc, key) => {
1124
1115
  const separator = this.getSeparatorByKeyCode(key);
1125
1116
  return separator ? [...acc, separator] : acc;
1126
1117
  }, []);
@@ -1231,7 +1222,8 @@ class KbqTagInput {
1231
1222
  }
1232
1223
  }
1233
1224
  get hasDuplicates() {
1234
- return this._tagList.tags.map(({ value }) => value)
1225
+ return this._tagList.tags
1226
+ .map(({ value }) => value)
1235
1227
  .some((tagValue) => tagValue === this.trimValue(this.inputElement.value));
1236
1228
  }
1237
1229
  onInput() {
@@ -1244,15 +1236,13 @@ class KbqTagInput {
1244
1236
  return;
1245
1237
  }
1246
1238
  const data = $event.clipboardData.getData('text');
1247
- if (data && data.length === 0 || !this.addOnPaste) {
1239
+ if ((data && data.length === 0) || !this.addOnPaste) {
1248
1240
  return;
1249
1241
  }
1250
1242
  const items = [];
1251
1243
  for (const separator of this.separators) {
1252
1244
  if (data.search(separator.symbol) > -1) {
1253
- items.push(...data
1254
- .split(separator.symbol)
1255
- .map((item) => this.trimValue(item)));
1245
+ items.push(...data.split(separator.symbol).map((item) => this.trimValue(item)));
1256
1246
  break;
1257
1247
  }
1258
1248
  }
@@ -1260,7 +1250,8 @@ class KbqTagInput {
1260
1250
  items.push(data);
1261
1251
  }
1262
1252
  const tagValues = this._tagList.tags.map(({ value }) => value);
1263
- items.filter((item) => !tagValues.includes(item))
1253
+ items
1254
+ .filter((item) => !tagValues.includes(item))
1264
1255
  .forEach((item) => this.tagEnd.emit({ input: this.inputElement, value: item }));
1265
1256
  this.updateInputWidth();
1266
1257
  $event.preventDefault();
@@ -1304,8 +1295,7 @@ class KbqTagInput {
1304
1295
  }
1305
1296
  /** Checks whether a keycode is one of the configured separators. */
1306
1297
  isSeparatorKey(event) {
1307
- return this.separators
1308
- .some((separator) => separator.key === event.key && !event.shiftKey);
1298
+ return this.separators.some((separator) => separator.key === event.key && !event.shiftKey);
1309
1299
  }
1310
1300
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqTagInput, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: KBQ_TAGS_DEFAULT_OPTIONS }, { token: i1$1.KbqTrim, optional: true, self: true }, { token: i3.NgControl, optional: true, self: true }, { token: i3$1.KbqAutocompleteTrigger, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
1311
1301
  /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: KbqTagInput, selector: "input[kbqTagInputFor]", inputs: { separatorKeyCodes: ["kbqTagInputSeparatorKeyCodes", "separatorKeyCodes"], distinct: "distinct", placeholder: "placeholder", id: "id", tagList: ["kbqTagInputFor", "tagList"], addOnBlur: ["kbqTagInputAddOnBlur", "addOnBlur"], addOnPaste: ["kbqTagInputAddOnPaste", "addOnPaste"], disabled: "disabled" }, outputs: { tagEnd: "kbqTagInputTokenEnd" }, host: { listeners: { "keydown": "onKeydown($event)", "blur": "blur($event)", "focus": "onFocus()", "input": "onInput()", "paste": "onPaste($event)" }, properties: { "id": "id", "attr.disabled": "disabled || null", "attr.placeholder": "placeholder || null" }, classAttribute: "kbq-tag-input" }, exportAs: ["kbqTagInput", "kbqTagInputFor"], usesOnChanges: true, ngImport: i0 }); }
@@ -1380,11 +1370,13 @@ class KbqTagsModule {
1380
1370
  KbqTagTrailingIcon,
1381
1371
  KbqTagAvatar,
1382
1372
  KbqTagRemove] }); }
1383
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqTagsModule, providers: [{
1373
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqTagsModule, providers: [
1374
+ {
1384
1375
  provide: KBQ_TAGS_DEFAULT_OPTIONS,
1385
1376
  // tslint:disable-next-line: no-object-literal-type-assertion
1386
1377
  useValue: { separatorKeyCodes: [ENTER] }
1387
- }], imports: [CommonModule, PlatformModule] }); }
1378
+ }
1379
+ ], imports: [CommonModule, PlatformModule] }); }
1388
1380
  }
1389
1381
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqTagsModule, decorators: [{
1390
1382
  type: NgModule,
@@ -1406,11 +1398,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImpor
1406
1398
  KbqTagAvatar,
1407
1399
  KbqTagRemove
1408
1400
  ],
1409
- providers: [{
1401
+ providers: [
1402
+ {
1410
1403
  provide: KBQ_TAGS_DEFAULT_OPTIONS,
1411
1404
  // tslint:disable-next-line: no-object-literal-type-assertion
1412
1405
  useValue: { separatorKeyCodes: [ENTER] }
1413
- }]
1406
+ }
1407
+ ]
1414
1408
  }]
1415
1409
  }] });
1416
1410