@koobiq/components 16.0.0-beta.9 → 17.0.0-beta.2

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 (427) hide show
  1. package/autocomplete/_autocomplete-theme.scss +3 -10
  2. package/autocomplete/autocomplete-trigger.directive.d.ts +7 -1
  3. package/autocomplete/autocomplete.scss +0 -5
  4. package/badge/_badge-theme.scss +4 -0
  5. package/badge/badge.component.d.ts +1 -0
  6. package/button/_button-base.scss +1 -1
  7. package/button/_button-theme.scss +23 -38
  8. package/button-toggle/_button-toggle-theme.scss +4 -0
  9. package/checkbox/_checkbox-theme.scss +9 -6
  10. package/checkbox/checkbox.scss +6 -9
  11. package/code-block/_code-block-theme.scss +53 -16
  12. package/code-block/actionbar.component.scss +34 -6
  13. package/code-block/code-block.component.d.ts +5 -2
  14. package/code-block/code-block.scss +112 -28
  15. package/core/common-behaviors/index.d.ts +2 -0
  16. package/core/datetime/date-adapter.d.ts +1 -1
  17. package/core/datetime/date-formats.d.ts +1 -1
  18. package/core/formatters/date/formatter.d.ts +2 -2
  19. package/core/formatters/date/formatter.pipe.d.ts +1 -1
  20. package/core/locales/en-US.d.ts +25 -22
  21. package/core/locales/es-LA.d.ts +24 -27
  22. package/core/locales/fa-IR.d.ts +24 -28
  23. package/core/locales/formatters.d.ts +121 -0
  24. package/core/locales/index.d.ts +7 -2
  25. package/core/locales/locale-service.d.ts +146 -32
  26. package/core/locales/pt-BR.d.ts +24 -27
  27. package/core/locales/ru-RU.d.ts +25 -23
  28. package/core/locales/zh-CN.d.ts +25 -27
  29. package/core/option/_option-action-theme.scss +1 -1
  30. package/core/option/_option-theme.scss +5 -5
  31. package/core/option/action.scss +1 -1
  32. package/core/pop-up/pop-up.d.ts +7 -0
  33. package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +4 -15
  34. package/core/styles/_koobiq-theme.scss +3 -1
  35. package/core/styles/_variables.scss +1 -10
  36. package/core/styles/common/_overlay.scss +4 -0
  37. package/core/styles/common/_select.scss +2 -1
  38. package/core/styles/theming/_components-theming.scss +99 -38
  39. package/core/styles/theming/{_scrollbars-theme.scss → _scrollbar-theme.scss} +25 -4
  40. package/core/styles/theming/_theming.scss +1 -0
  41. package/core/styles/typography/_typography.scss +8 -1
  42. package/core/utils/data-size/data-size.pipe.d.ts +1 -1
  43. package/dropdown/_dropdown-theme.scss +1 -2
  44. package/ellipsis-center/ellipsis-center.directive.d.ts +3 -3
  45. package/esm2022/alert/alert.component.mjs +12 -12
  46. package/esm2022/alert/alert.module.mjs +4 -4
  47. package/esm2022/autocomplete/autocomplete-origin.directive.mjs +4 -4
  48. package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +18 -6
  49. package/esm2022/autocomplete/autocomplete.component.mjs +8 -8
  50. package/esm2022/autocomplete/autocomplete.module.mjs +4 -4
  51. package/esm2022/badge/badge.component.mjs +13 -12
  52. package/esm2022/badge/badge.module.mjs +4 -4
  53. package/esm2022/button/button.component.mjs +16 -13
  54. package/esm2022/button/button.module.mjs +4 -4
  55. package/esm2022/button-toggle/button-toggle.component.mjs +12 -12
  56. package/esm2022/button-toggle/button-toggle.module.mjs +4 -4
  57. package/esm2022/card/card.component.mjs +5 -5
  58. package/esm2022/card/card.module.mjs +4 -4
  59. package/esm2022/checkbox/checkbox-module.mjs +4 -4
  60. package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
  61. package/esm2022/checkbox/checkbox.mjs +7 -7
  62. package/esm2022/code-block/actionbar.component.mjs +5 -5
  63. package/esm2022/code-block/code-block.component.mjs +32 -14
  64. package/esm2022/code-block/code-block.module.mjs +8 -8
  65. package/esm2022/core/common-behaviors/color.mjs +1 -1
  66. package/esm2022/core/common-behaviors/common-module.mjs +7 -7
  67. package/esm2022/core/common-behaviors/error-state.mjs +1 -1
  68. package/esm2022/core/common-behaviors/index.mjs +3 -1
  69. package/esm2022/core/datetime/date-adapter.mjs +2 -2
  70. package/esm2022/core/datetime/date-formats.mjs +1 -1
  71. package/esm2022/core/error/error-options.mjs +6 -6
  72. package/esm2022/core/formatters/date/formatter.mjs +9 -9
  73. package/esm2022/core/formatters/date/formatter.pipe.mjs +53 -53
  74. package/esm2022/core/formatters/index.mjs +7 -6
  75. package/esm2022/core/formatters/number/formatter.mjs +19 -19
  76. package/esm2022/core/forms/forms-module.mjs +4 -4
  77. package/esm2022/core/forms/forms.directive.mjs +8 -8
  78. package/esm2022/core/highlight/highlight.pipe.mjs +5 -5
  79. package/esm2022/core/highlight/index.mjs +4 -4
  80. package/esm2022/core/line/line.mjs +8 -8
  81. package/esm2022/core/locales/en-US.mjs +25 -22
  82. package/esm2022/core/locales/es-LA.mjs +24 -29
  83. package/esm2022/core/locales/fa-IR.mjs +24 -28
  84. package/esm2022/core/locales/formatters.mjs +126 -0
  85. package/esm2022/core/locales/index.mjs +8 -3
  86. package/esm2022/core/locales/locale-service.mjs +14 -13
  87. package/esm2022/core/locales/locale-service.module.mjs +4 -4
  88. package/esm2022/core/locales/pt-BR.mjs +24 -27
  89. package/esm2022/core/locales/ru-RU.mjs +25 -25
  90. package/esm2022/core/locales/zh-CN.mjs +25 -27
  91. package/esm2022/core/option/action.mjs +9 -8
  92. package/esm2022/core/option/optgroup.mjs +4 -4
  93. package/esm2022/core/option/option-module.mjs +4 -4
  94. package/esm2022/core/option/option.mjs +8 -8
  95. package/esm2022/core/overlay/overlay-position-map.mjs +1 -1
  96. package/esm2022/core/pop-up/pop-up-trigger.mjs +6 -6
  97. package/esm2022/core/pop-up/pop-up.mjs +12 -5
  98. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +6 -6
  99. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
  100. package/esm2022/core/services/measure-scrollbar.service.mjs +6 -6
  101. package/esm2022/core/services/theme.service.mjs +5 -5
  102. package/esm2022/core/utils/data-size/data-size.pipe.mjs +9 -9
  103. package/esm2022/core/utils/data-size/size.mjs +1 -1
  104. package/esm2022/core/version.mjs +2 -2
  105. package/esm2022/datepicker/calendar-body.component.mjs +4 -4
  106. package/esm2022/datepicker/calendar-header.component.mjs +5 -5
  107. package/esm2022/datepicker/calendar.component.mjs +6 -6
  108. package/esm2022/datepicker/datepicker-animations.mjs +1 -1
  109. package/esm2022/datepicker/datepicker-input.directive.mjs +6 -6
  110. package/esm2022/datepicker/datepicker-intl.mjs +3 -3
  111. package/esm2022/datepicker/datepicker-module.mjs +4 -4
  112. package/esm2022/datepicker/datepicker-toggle.component.mjs +8 -8
  113. package/esm2022/datepicker/datepicker.component.mjs +10 -10
  114. package/esm2022/datepicker/month-view.component.mjs +6 -6
  115. package/esm2022/divider/divider.component.mjs +3 -3
  116. package/esm2022/divider/divider.module.mjs +4 -4
  117. package/esm2022/dl/dl.component.mjs +11 -11
  118. package/esm2022/dl/dl.module.mjs +4 -4
  119. package/esm2022/dropdown/dropdown-content.directive.mjs +6 -6
  120. package/esm2022/dropdown/dropdown-item.component.mjs +9 -8
  121. package/esm2022/dropdown/dropdown-trigger.directive.mjs +6 -6
  122. package/esm2022/dropdown/dropdown.component.mjs +6 -6
  123. package/esm2022/dropdown/dropdown.module.mjs +4 -4
  124. package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +20 -20
  125. package/esm2022/file-upload/file-drop.mjs +43 -6
  126. package/esm2022/file-upload/file-upload.mjs +1 -1
  127. package/esm2022/file-upload/file-upload.module.mjs +4 -4
  128. package/esm2022/file-upload/multiple-file-upload.component.mjs +47 -26
  129. package/esm2022/file-upload/single-file-upload.component.mjs +39 -16
  130. package/esm2022/form-field/cleaner.mjs +3 -3
  131. package/esm2022/form-field/form-field.mjs +21 -15
  132. package/esm2022/form-field/form-field.module.mjs +4 -4
  133. package/esm2022/form-field/hint.mjs +20 -8
  134. package/esm2022/form-field/password-hint.mjs +24 -21
  135. package/esm2022/form-field/password-toggle.mjs +6 -6
  136. package/esm2022/form-field/prefix.mjs +3 -3
  137. package/esm2022/form-field/stepper.mjs +4 -4
  138. package/esm2022/form-field/suffix.mjs +3 -3
  139. package/esm2022/form-field/validate.directive.mjs +17 -12
  140. package/esm2022/icon/icon-button.component.mjs +7 -6
  141. package/esm2022/icon/icon-item.component.mjs +7 -6
  142. package/esm2022/icon/icon.component.mjs +18 -6
  143. package/esm2022/icon/icon.module.mjs +4 -4
  144. package/esm2022/input/input-number-validators.mjs +7 -7
  145. package/esm2022/input/input-number.mjs +12 -9
  146. package/esm2022/input/input-password.mjs +6 -6
  147. package/esm2022/input/input.mjs +9 -9
  148. package/esm2022/input/input.module.mjs +4 -4
  149. package/esm2022/link/link.component.mjs +5 -5
  150. package/esm2022/link/link.module.mjs +4 -4
  151. package/esm2022/list/list-selection.component.mjs +16 -16
  152. package/esm2022/list/list.component.mjs +9 -9
  153. package/esm2022/list/list.module.mjs +4 -4
  154. package/esm2022/loader-overlay/loader-overlay.component.mjs +15 -15
  155. package/esm2022/loader-overlay/loader-overlay.module.mjs +4 -4
  156. package/esm2022/markdown/markdown.component.mjs +5 -5
  157. package/esm2022/markdown/markdown.module.mjs +4 -4
  158. package/esm2022/markdown/markdown.service.mjs +3 -3
  159. package/esm2022/modal/css-unit.pipe.mjs +3 -3
  160. package/esm2022/modal/modal-control.service.mjs +6 -6
  161. package/esm2022/modal/modal.component.mjs +22 -16
  162. package/esm2022/modal/modal.directive.mjs +12 -12
  163. package/esm2022/modal/modal.module.mjs +4 -4
  164. package/esm2022/modal/modal.service.mjs +5 -5
  165. package/esm2022/modal/modal.type.mjs +1 -1
  166. package/esm2022/navbar/navbar-item.component.mjs +69 -104
  167. package/esm2022/navbar/navbar.component.mjs +28 -17
  168. package/esm2022/navbar/navbar.module.mjs +6 -10
  169. package/esm2022/navbar/vertical-navbar.component.mjs +9 -13
  170. package/esm2022/popover/popover-confirm.component.mjs +11 -13
  171. package/esm2022/popover/popover.component.mjs +16 -11
  172. package/esm2022/popover/popover.module.mjs +4 -4
  173. package/esm2022/progress-bar/progress-bar.component.mjs +11 -11
  174. package/esm2022/progress-bar/progress-bar.module.mjs +4 -4
  175. package/esm2022/progress-spinner/progress-spinner.component.mjs +12 -12
  176. package/esm2022/progress-spinner/progress-spinner.module.mjs +4 -4
  177. package/esm2022/radio/radio.component.mjs +10 -10
  178. package/esm2022/radio/radio.module.mjs +4 -4
  179. package/esm2022/risk-level/risk-level.component.mjs +3 -3
  180. package/esm2022/risk-level/risk-level.module.mjs +4 -4
  181. package/esm2022/scrollbar/index.mjs +2 -0
  182. package/esm2022/scrollbar/koobiq-components-scrollbar.mjs +5 -0
  183. package/esm2022/scrollbar/public-api.mjs +5 -0
  184. package/esm2022/scrollbar/scrollbar.component.mjs +130 -0
  185. package/esm2022/scrollbar/scrollbar.directive.mjs +97 -0
  186. package/esm2022/scrollbar/scrollbar.module.mjs +20 -0
  187. package/esm2022/scrollbar/scrollbar.types.mjs +13 -0
  188. package/esm2022/select/select-option.directive.mjs +6 -6
  189. package/esm2022/select/select.component.mjs +43 -36
  190. package/esm2022/select/select.module.mjs +4 -4
  191. package/esm2022/sidebar/sidebar.component.mjs +11 -11
  192. package/esm2022/sidebar/sidebar.module.mjs +4 -4
  193. package/esm2022/sidepanel/sidepanel-animations.mjs +5 -5
  194. package/esm2022/sidepanel/sidepanel-container.component.mjs +11 -11
  195. package/esm2022/sidepanel/sidepanel-directives.mjs +26 -26
  196. package/esm2022/sidepanel/sidepanel-ref.mjs +1 -1
  197. package/esm2022/sidepanel/sidepanel.module.mjs +4 -4
  198. package/esm2022/sidepanel/sidepanel.service.mjs +6 -6
  199. package/esm2022/splitter/splitter.component.mjs +17 -17
  200. package/esm2022/splitter/splitter.module.mjs +4 -4
  201. package/esm2022/table/table.component.mjs +3 -3
  202. package/esm2022/table/table.module.mjs +4 -4
  203. package/esm2022/tabs/paginated-tab-header.mjs +6 -6
  204. package/esm2022/tabs/tab-body.component.mjs +12 -12
  205. package/esm2022/tabs/tab-content.directive.mjs +4 -4
  206. package/esm2022/tabs/tab-group.component.mjs +21 -21
  207. package/esm2022/tabs/tab-header.component.mjs +7 -7
  208. package/esm2022/tabs/tab-label-wrapper.directive.mjs +6 -5
  209. package/esm2022/tabs/tab-label.directive.mjs +3 -3
  210. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +12 -11
  211. package/esm2022/tabs/tab.component.mjs +5 -5
  212. package/esm2022/tabs/tabs.module.mjs +4 -4
  213. package/esm2022/tags/tag-input.mjs +31 -11
  214. package/esm2022/tags/tag-list.component.mjs +9 -8
  215. package/esm2022/tags/tag.component.mjs +16 -16
  216. package/esm2022/tags/tag.module.mjs +4 -4
  217. package/esm2022/textarea/textarea.component.mjs +36 -25
  218. package/esm2022/textarea/textarea.module.mjs +4 -4
  219. package/esm2022/timepicker/timepicker.directive.mjs +6 -6
  220. package/esm2022/timepicker/timepicker.module.mjs +4 -4
  221. package/esm2022/timezone/cities-by-filter.pipe.mjs +3 -3
  222. package/esm2022/timezone/timezone-option.component.mjs +10 -9
  223. package/esm2022/timezone/timezone-option.directive.mjs +5 -5
  224. package/esm2022/timezone/timezone-select.component.mjs +9 -9
  225. package/esm2022/timezone/timezone.module.mjs +4 -4
  226. package/esm2022/timezone/timezone.utils.mjs +9 -4
  227. package/esm2022/timezone/utc-offset.pipe.mjs +6 -6
  228. package/esm2022/title/title.directive.mjs +6 -6
  229. package/esm2022/title/title.module.mjs +4 -4
  230. package/esm2022/toast/toast-animations.mjs +3 -3
  231. package/esm2022/toast/toast-container.component.mjs +7 -7
  232. package/esm2022/toast/toast.component.mjs +12 -11
  233. package/esm2022/toast/toast.module.mjs +4 -4
  234. package/esm2022/toast/toast.service.mjs +16 -8
  235. package/esm2022/toast/toast.type.mjs +1 -1
  236. package/esm2022/toggle/toggle.component.mjs +5 -5
  237. package/esm2022/toggle/toggle.module.mjs +4 -4
  238. package/esm2022/tooltip/tooltip.component.mjs +24 -24
  239. package/esm2022/tooltip/tooltip.module.mjs +4 -4
  240. package/esm2022/tree/control/base-tree-control.mjs +4 -4
  241. package/esm2022/tree/control/flat-tree-control.filters.mjs +47 -0
  242. package/esm2022/tree/control/flat-tree-control.mjs +27 -45
  243. package/esm2022/tree/control/nested-tree-control.mjs +1 -1
  244. package/esm2022/tree/control/tree-control.mjs +1 -1
  245. package/esm2022/tree/data-source/flat-data-source.mjs +1 -1
  246. package/esm2022/tree/node.mjs +5 -5
  247. package/esm2022/tree/outlet.mjs +4 -4
  248. package/esm2022/tree/padding.directive.mjs +6 -6
  249. package/esm2022/tree/public-api.mjs +2 -1
  250. package/esm2022/tree/toggle.mjs +12 -12
  251. package/esm2022/tree/tree-base.mjs +10 -10
  252. package/esm2022/tree/tree-option.component.mjs +12 -8
  253. package/esm2022/tree/tree-selection.component.mjs +6 -6
  254. package/esm2022/tree/tree.mjs +3 -3
  255. package/esm2022/tree/tree.module.mjs +4 -4
  256. package/esm2022/tree-select/tree-select.component.mjs +29 -19
  257. package/esm2022/tree-select/tree-select.module.mjs +9 -9
  258. package/fesm2022/koobiq-components-alert.mjs +16 -16
  259. package/fesm2022/koobiq-components-autocomplete.mjs +32 -20
  260. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  261. package/fesm2022/koobiq-components-badge.mjs +16 -15
  262. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  263. package/fesm2022/koobiq-components-button-toggle.mjs +15 -15
  264. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  265. package/fesm2022/koobiq-components-button.mjs +19 -16
  266. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  267. package/fesm2022/koobiq-components-card.mjs +8 -8
  268. package/fesm2022/koobiq-components-card.mjs.map +1 -1
  269. package/fesm2022/koobiq-components-checkbox.mjs +13 -13
  270. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  271. package/fesm2022/koobiq-components-code-block.mjs +40 -23
  272. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  273. package/fesm2022/koobiq-components-core.mjs +473 -350
  274. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  275. package/fesm2022/koobiq-components-datepicker.mjs +45 -45
  276. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  277. package/fesm2022/koobiq-components-divider.mjs +7 -7
  278. package/fesm2022/koobiq-components-dl.mjs +14 -14
  279. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  280. package/fesm2022/koobiq-components-dropdown.mjs +27 -26
  281. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  282. package/fesm2022/koobiq-components-ellipsis-center.mjs +19 -19
  283. package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
  284. package/fesm2022/koobiq-components-file-upload.mjs +128 -50
  285. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  286. package/fesm2022/koobiq-components-form-field.mjs +97 -72
  287. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  288. package/fesm2022/koobiq-components-icon.mjs +33 -19
  289. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  290. package/fesm2022/koobiq-components-input.mjs +34 -31
  291. package/fesm2022/koobiq-components-input.mjs.map +1 -1
  292. package/fesm2022/koobiq-components-link.mjs +8 -8
  293. package/fesm2022/koobiq-components-link.mjs.map +1 -1
  294. package/fesm2022/koobiq-components-list.mjs +27 -27
  295. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  296. package/fesm2022/koobiq-components-loader-overlay.mjs +18 -18
  297. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  298. package/fesm2022/koobiq-components-markdown.mjs +11 -11
  299. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  300. package/fesm2022/koobiq-components-modal.mjs +49 -43
  301. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  302. package/fesm2022/koobiq-components-navbar.mjs +108 -149
  303. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  304. package/fesm2022/koobiq-components-popover.mjs +30 -26
  305. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  306. package/fesm2022/koobiq-components-progress-bar.mjs +14 -14
  307. package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
  308. package/fesm2022/koobiq-components-progress-spinner.mjs +15 -15
  309. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  310. package/fesm2022/koobiq-components-radio.mjs +13 -13
  311. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  312. package/fesm2022/koobiq-components-risk-level.mjs +7 -7
  313. package/fesm2022/koobiq-components-scrollbar.mjs +256 -0
  314. package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -0
  315. package/fesm2022/koobiq-components-select.mjs +49 -42
  316. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  317. package/fesm2022/koobiq-components-sidebar.mjs +14 -14
  318. package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
  319. package/fesm2022/koobiq-components-sidepanel.mjs +47 -47
  320. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  321. package/fesm2022/koobiq-components-splitter.mjs +20 -20
  322. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  323. package/fesm2022/koobiq-components-table.mjs +7 -7
  324. package/fesm2022/koobiq-components-tabs.mjs +72 -70
  325. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  326. package/fesm2022/koobiq-components-tags.mjs +56 -36
  327. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  328. package/fesm2022/koobiq-components-textarea.mjs +39 -28
  329. package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
  330. package/fesm2022/koobiq-components-timepicker.mjs +9 -9
  331. package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
  332. package/fesm2022/koobiq-components-timezone.mjs +42 -37
  333. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  334. package/fesm2022/koobiq-components-title.mjs +9 -9
  335. package/fesm2022/koobiq-components-title.mjs.map +1 -1
  336. package/fesm2022/koobiq-components-toast.mjs +36 -27
  337. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  338. package/fesm2022/koobiq-components-toggle.mjs +8 -8
  339. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  340. package/fesm2022/koobiq-components-tooltip.mjs +27 -27
  341. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  342. package/fesm2022/koobiq-components-tree-select.mjs +36 -26
  343. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  344. package/fesm2022/koobiq-components-tree.mjs +132 -100
  345. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  346. package/file-upload/_file-upload-theme.scss +10 -1
  347. package/file-upload/file-drop.d.ts +2 -1
  348. package/file-upload/file-upload.d.ts +4 -1
  349. package/file-upload/multiple-file-upload.component.d.ts +14 -6
  350. package/file-upload/single-file-upload.component.d.ts +12 -6
  351. package/form-field/_form-field-theme.scss +8 -14
  352. package/form-field/form-field.d.ts +2 -0
  353. package/form-field/form-field.scss +12 -1
  354. package/form-field/hint.scss +1 -1
  355. package/form-field/password-hint.d.ts +7 -5
  356. package/icon/icon-button.component.d.ts +1 -0
  357. package/icon/icon-item.component.d.ts +1 -0
  358. package/icon/icon.component.d.ts +3 -0
  359. package/input/input-number.d.ts +3 -2
  360. package/link/_link-theme.scss +1 -0
  361. package/list/_list-theme.scss +1 -2
  362. package/list/list.scss +3 -3
  363. package/loader-overlay/loader-overlay.scss +2 -2
  364. package/modal/_modal-confirm.scss +0 -24
  365. package/modal/modal.component.d.ts +4 -2
  366. package/modal/modal.scss +32 -20
  367. package/modal/modal.type.d.ts +0 -1
  368. package/navbar/_navbar-item_horizontal.scss +97 -0
  369. package/navbar/_navbar-item_vertical.scss +98 -0
  370. package/navbar/_navbar-theme.scss +58 -60
  371. package/navbar/navbar-brand.scss +76 -16
  372. package/navbar/navbar-divider.scss +13 -4
  373. package/navbar/navbar-item.component.d.ts +6 -17
  374. package/navbar/navbar-item.scss +41 -87
  375. package/navbar/navbar.component.d.ts +3 -0
  376. package/navbar/navbar.module.d.ts +1 -1
  377. package/navbar/navbar.scss +13 -1
  378. package/navbar/vertical-navbar.scss +7 -14
  379. package/package.json +28 -20
  380. package/popover/popover-confirm.component.d.ts +0 -2
  381. package/popover/popover.component.d.ts +6 -1
  382. package/popover/popover.scss +4 -9
  383. package/prebuilt-themes/dark-theme.css +1 -1
  384. package/prebuilt-themes/light-theme.css +1 -1
  385. package/progress-spinner/progress-spinner.scss +10 -5
  386. package/scrollbar/_scrollbar-component-theme.scss +52 -0
  387. package/scrollbar/index.d.ts +1 -0
  388. package/scrollbar/public-api.d.ts +4 -0
  389. package/scrollbar/scrollbar.component.d.ts +33 -0
  390. package/scrollbar/scrollbar.component.scss +559 -0
  391. package/scrollbar/scrollbar.directive.d.ts +47 -0
  392. package/scrollbar/scrollbar.module.d.ts +8 -0
  393. package/scrollbar/scrollbar.types.d.ts +32 -0
  394. package/select/select.component.d.ts +4 -3
  395. package/select/select.scss +7 -0
  396. package/sidepanel/sidepanel-animations.d.ts +2 -2
  397. package/sidepanel/sidepanel-directives.d.ts +5 -5
  398. package/splitter/_splitter-theme.scss +5 -4
  399. package/tabs/_tabs-common.scss +1 -1
  400. package/tabs/_tabs-theme.scss +2 -2
  401. package/tags/tag-input.d.ts +9 -4
  402. package/tags/tag-list.scss +4 -0
  403. package/textarea/textarea.component.d.ts +4 -3
  404. package/timezone/_timezone-option-theme.scss +8 -0
  405. package/timezone/timezone-option.component.scss +4 -0
  406. package/timezone/timezone-select.component.scss +13 -0
  407. package/timezone/timezone.utils.d.ts +4 -0
  408. package/timezone/utc-offset.pipe.d.ts +3 -1
  409. package/toast/toast-animations.d.ts +1 -1
  410. package/toast/toast-container.component.scss +1 -9
  411. package/toast/toast.component.scss +0 -4
  412. package/toast/toast.service.d.ts +5 -3
  413. package/toast/toast.type.d.ts +1 -0
  414. package/tooltip/tooltip.component.d.ts +1 -1
  415. package/tooltip/tooltip.scss +0 -3
  416. package/tree/_tree-theme.scss +5 -5
  417. package/tree/control/base-tree-control.d.ts +1 -1
  418. package/tree/control/flat-tree-control.d.ts +5 -3
  419. package/tree/control/flat-tree-control.filters.d.ts +26 -0
  420. package/tree/control/tree-control.d.ts +1 -1
  421. package/tree/public-api.d.ts +1 -0
  422. package/tree/tree-option.scss +4 -4
  423. package/tree-select/tree-select.component.d.ts +8 -4
  424. package/tree-select/tree-select.module.d.ts +1 -1
  425. package/esm2022/navbar/vertical-navbar.animation.mjs +0 -10
  426. package/form-field/password-hint.scss +0 -11
  427. package/navbar/vertical-navbar.animation.d.ts +0 -2
@@ -1,7 +1,7 @@
1
1
  import * as i1$1 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Component, ViewEncapsulation, Input, forwardRef, ChangeDetectionStrategy, Optional, Inject, ViewChild, Directive, EventEmitter, Output, ContentChild, ContentChildren, Attribute, Self, NgModule } from '@angular/core';
4
+ import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, forwardRef, Optional, Inject, ViewChild, Directive, EventEmitter, Output, ContentChild, ContentChildren, Attribute, Self, NgModule } from '@angular/core';
5
5
  import * as i1 from '@koobiq/components/icon';
6
6
  import { KbqIconButton, KbqIconModule } from '@koobiq/components/icon';
7
7
  import * as i1$3 from '@angular/cdk/a11y';
@@ -17,10 +17,10 @@ import * as i1$2 from '@angular/cdk/overlay';
17
17
  import { KbqTooltipTrigger, KBQ_TOOLTIP_SCROLL_STRATEGY } from '@koobiq/components/tooltip';
18
18
 
19
19
  class KbqCleaner {
20
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqCleaner, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
21
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqCleaner, selector: "kbq-cleaner", host: { classAttribute: "kbq-cleaner" }, exportAs: ["kbqCleaner"], ngImport: i0, template: `<i kbq-icon-button="mc-close-circle_16" [autoColor]="true"></i>`, isInline: true, styles: [".kbq-cleaner{display:flex;align-items:center;justify-content:center;width:var(--kbq-form-field-size-icon-button-size, 24px);margin-right:var(--kbq-form-field-size-icon-button-margin-right, 4px);height:100%;cursor:pointer}\n"], dependencies: [{ kind: "component", type: i1.KbqIconButton, selector: "[kbq-icon-button]", inputs: ["color", "small", "tabindex", "disabled"] }], encapsulation: i0.ViewEncapsulation.None }); }
20
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqCleaner, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
21
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.0", type: KbqCleaner, selector: "kbq-cleaner", host: { classAttribute: "kbq-cleaner" }, exportAs: ["kbqCleaner"], ngImport: i0, template: `<i kbq-icon-button="mc-close-circle_16" [autoColor]="true"></i>`, isInline: true, styles: [".kbq-cleaner{display:flex;align-items:center;justify-content:center;width:var(--kbq-form-field-size-icon-button-size, 24px);margin-right:var(--kbq-form-field-size-icon-button-margin-right, 4px);height:100%;cursor:pointer}\n"], dependencies: [{ kind: "component", type: i1.KbqIconButton, selector: "[kbq-icon-button]", inputs: ["color", "small", "tabindex", "disabled"] }], encapsulation: i0.ViewEncapsulation.None }); }
22
22
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqCleaner, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqCleaner, decorators: [{
24
24
  type: Component,
25
25
  args: [{ selector: 'kbq-cleaner', exportAs: 'kbqCleaner', template: `<i kbq-icon-button="mc-close-circle_16" [autoColor]="true"></i>`, host: {
26
26
  class: 'kbq-cleaner'
@@ -61,18 +61,30 @@ class KbqHint extends KbqHintMixinBase {
61
61
  this.fillTextOff = false;
62
62
  this._compact = false;
63
63
  }
64
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqHint, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
65
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqHint, selector: "kbq-hint", inputs: { color: "color", id: "id", fillTextOff: "fillTextOff", compact: "compact" }, host: { properties: { "attr.id": "id", "class.kbq-hint_fill-text-off": "fillTextOff", "class.kbq-hint_compact": "compact" }, classAttribute: "kbq-hint" }, exportAs: ["kbqHint"], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"[kbq-icon]\"></ng-content>\n\n<span class=\"kbq-hint__text\">\n <ng-content></ng-content>\n</span>\n", styles: [".kbq-hint{display:block}.kbq-hint .kbq-icon{margin-right:var(--kbq-hint-size-normal-content-padding, 4px)}.kbq-hint.kbq-hint_compact .kbq-icon{margin-right:var(--kbq-hint-size-compact-content-padding, 2px)}\n"], encapsulation: i0.ViewEncapsulation.None }); }
64
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqHint, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
65
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.0", type: KbqHint, selector: "kbq-hint", inputs: { color: "color", id: "id", fillTextOff: "fillTextOff", compact: "compact" }, host: { properties: { "attr.id": "id", "class.kbq-hint_fill-text-off": "fillTextOff", "class.kbq-hint_compact": "compact" }, classAttribute: "kbq-hint" }, exportAs: ["kbqHint"], usesInheritance: true, ngImport: i0, template: `
66
+ <ng-content select="[kbq-icon]"></ng-content>
67
+
68
+ <span class="kbq-hint__text">
69
+ <ng-content></ng-content>
70
+ </span>
71
+ `, isInline: true, styles: [".kbq-hint{display:flex}.kbq-hint .kbq-icon{margin-right:var(--kbq-hint-size-normal-content-padding, 4px)}.kbq-hint.kbq-hint_compact .kbq-icon{margin-right:var(--kbq-hint-size-compact-content-padding, 2px)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
66
72
  }
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqHint, decorators: [{
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqHint, decorators: [{
68
74
  type: Component,
69
- args: [{ selector: 'kbq-hint', exportAs: 'kbqHint', inputs: ['color'], host: {
75
+ args: [{ selector: 'kbq-hint', exportAs: 'kbqHint', template: `
76
+ <ng-content select="[kbq-icon]"></ng-content>
77
+
78
+ <span class="kbq-hint__text">
79
+ <ng-content></ng-content>
80
+ </span>
81
+ `, inputs: ['color'], host: {
70
82
  class: 'kbq-hint',
71
83
  '[attr.id]': 'id',
72
84
  '[class.kbq-hint_fill-text-off]': 'fillTextOff',
73
85
  '[class.kbq-hint_compact]': 'compact'
74
- }, encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"[kbq-icon]\"></ng-content>\n\n<span class=\"kbq-hint__text\">\n <ng-content></ng-content>\n</span>\n", styles: [".kbq-hint{display:block}.kbq-hint .kbq-icon{margin-right:var(--kbq-hint-size-normal-content-padding, 4px)}.kbq-hint.kbq-hint_compact .kbq-icon{margin-right:var(--kbq-hint-size-compact-content-padding, 2px)}\n"] }]
75
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { id: [{
86
+ }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".kbq-hint{display:flex}.kbq-hint .kbq-icon{margin-right:var(--kbq-hint-size-normal-content-padding, 4px)}.kbq-hint.kbq-hint_compact .kbq-icon{margin-right:var(--kbq-hint-size-compact-content-padding, 2px)}\n"] }]
87
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { id: [{
76
88
  type: Input
77
89
  }], fillTextOff: [{
78
90
  type: Input
@@ -99,17 +111,19 @@ const regExpPasswordValidator = {
99
111
  const hasPasswordStrengthError = (passwordHints) => {
100
112
  return passwordHints.some((hint) => hint.hasError);
101
113
  };
102
- class KbqPasswordHint {
114
+ class KbqPasswordHint extends KbqHint {
103
115
  get icon() {
104
116
  return this.checked ? 'mc-check_16' : 'mc-close-M_16';
105
117
  }
106
118
  get control() {
107
119
  return this.formField.control;
108
120
  }
109
- constructor(changeDetectorRef, formField) {
121
+ constructor(elementRef, changeDetectorRef, formField) {
122
+ super(elementRef);
110
123
  this.changeDetectorRef = changeDetectorRef;
111
124
  this.formField = formField;
112
125
  this.id = `kbq-hint-${nextPasswordHintUniqueId++}`;
126
+ this.fillTextOff = true;
113
127
  this.hasError = false;
114
128
  this.checked = false;
115
129
  this.checkValue = () => {
@@ -172,45 +186,43 @@ class KbqPasswordHint {
172
186
  isValueChanged() {
173
187
  return this.lastControlValue !== this.formField.control.value;
174
188
  }
175
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqPasswordHint, deps: [{ token: i0.ChangeDetectorRef }, { token: forwardRef(() => KBQ_FORM_FIELD_REF), optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
176
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqPasswordHint, selector: "kbq-password-hint", inputs: { id: "id", rule: "rule", min: "min", max: "max", regex: "regex", customCheckRule: ["checkRule", "customCheckRule"], viewFormField: "viewFormField" }, host: { properties: { "class.kbq-password-hint_valid": "checked", "class.kbq-password-hint_invalid": "hasError", "attr.id": "id" }, classAttribute: "kbq-password-hint" }, ngImport: i0, template: `
189
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqPasswordHint, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: forwardRef(() => KBQ_FORM_FIELD_REF), optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
190
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.0", type: KbqPasswordHint, selector: "kbq-password-hint", inputs: { id: "id", rule: "rule", min: "min", max: "max", regex: "regex", customCheckRule: ["checkRule", "customCheckRule"], viewFormField: "viewFormField", fillTextOff: "fillTextOff" }, host: { properties: { "attr.id": "id", "class.kbq-success": "checked", "class.kbq-error": "hasError", "class.kbq-hint_fill-text-off": "fillTextOff", "class.kbq-hint_compact": "compact" }, classAttribute: "kbq-hint kbq-password-hint" }, usesInheritance: true, ngImport: i0, template: `
177
191
  <i class="kbq-password-hint__icon"
178
192
  kbq-icon=""
179
- [class.kbq-success]="checked"
180
- [class.kbq-error]="hasError"
181
193
  [ngClass]="icon">
182
194
  </i>
183
195
 
184
- <span class="kbq-password-hint__text">
196
+ <span class="kbq-hint__text">
185
197
  <ng-content></ng-content>
186
198
  </span>
187
- `, isInline: true, styles: [".kbq-password-hint{display:block}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i1.KbqIcon, selector: "[kbq-icon]", inputs: ["color", "small", "autoColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
199
+ `, isInline: true, styles: [".kbq-hint{display:flex}.kbq-hint .kbq-icon{margin-right:var(--kbq-hint-size-normal-content-padding, 4px)}.kbq-hint.kbq-hint_compact .kbq-icon{margin-right:var(--kbq-hint-size-compact-content-padding, 2px)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i1.KbqIcon, selector: "[kbq-icon]", inputs: ["color", "small", "autoColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
188
200
  }
189
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqPasswordHint, decorators: [{
201
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqPasswordHint, decorators: [{
190
202
  type: Component,
191
203
  args: [{ selector: 'kbq-password-hint', template: `
192
204
  <i class="kbq-password-hint__icon"
193
205
  kbq-icon=""
194
- [class.kbq-success]="checked"
195
- [class.kbq-error]="hasError"
196
206
  [ngClass]="icon">
197
207
  </i>
198
208
 
199
- <span class="kbq-password-hint__text">
209
+ <span class="kbq-hint__text">
200
210
  <ng-content></ng-content>
201
211
  </span>
202
212
  `, host: {
203
- class: 'kbq-password-hint',
204
- '[class.kbq-password-hint_valid]': 'checked',
205
- '[class.kbq-password-hint_invalid]': 'hasError',
206
- '[attr.id]': 'id'
207
- }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".kbq-password-hint{display:block}\n"] }]
208
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
213
+ '[attr.id]': 'id',
214
+ class: 'kbq-hint kbq-password-hint',
215
+ '[class.kbq-success]': 'checked',
216
+ '[class.kbq-error]': 'hasError',
217
+ '[class.kbq-hint_fill-text-off]': 'fillTextOff',
218
+ '[class.kbq-hint_compact]': 'compact'
219
+ }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".kbq-hint{display:flex}.kbq-hint .kbq-icon{margin-right:var(--kbq-hint-size-normal-content-padding, 4px)}.kbq-hint.kbq-hint_compact .kbq-icon{margin-right:var(--kbq-hint-size-compact-content-padding, 2px)}\n"] }]
220
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
209
221
  type: Optional
210
222
  }, {
211
223
  type: Inject,
212
224
  args: [forwardRef(() => KBQ_FORM_FIELD_REF)]
213
- }] }]; }, propDecorators: { id: [{
225
+ }] }], propDecorators: { id: [{
214
226
  type: Input
215
227
  }], rule: [{
216
228
  type: Input
@@ -225,6 +237,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
225
237
  args: ['checkRule']
226
238
  }], viewFormField: [{
227
239
  type: Input
240
+ }], fillTextOff: [{
241
+ type: Input
228
242
  }] } });
229
243
 
230
244
  class KbqPasswordToggle extends KbqTooltipTrigger {
@@ -267,10 +281,10 @@ class KbqPasswordToggle extends KbqTooltipTrigger {
267
281
  this.updateData();
268
282
  event.preventDefault();
269
283
  }
270
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqPasswordToggle, deps: [{ token: i1$2.Overlay }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i1$2.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: KBQ_TOOLTIP_SCROLL_STRATEGY }, { token: i2.Directionality, optional: true }, { token: forwardRef(() => KBQ_FORM_FIELD_REF) }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
271
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqPasswordToggle, selector: "kbq-password-toggle", inputs: { content: ["kbqTooltipNotHidden", "content"], kbqTooltipHidden: "kbqTooltipHidden" }, host: { listeners: { "click": "toggle($event)", "keydown.ENTER": "toggle($event)", "keydown.SPACE": "toggle($event)" }, properties: { "style.visibility": "visibility" }, classAttribute: "kbq-password-toggle" }, viewQueries: [{ propertyName: "icon", first: true, predicate: KbqIconButton, descendants: true }], exportAs: ["kbqPasswordToggle"], usesInheritance: true, ngImport: i0, template: '<i kbq-icon-button="" [ngClass]="iconClass"></i>', isInline: true, styles: [".kbq-password-toggle{display:flex;align-items:center;justify-content:center;width:var(--kbq-form-field-size-icon-button-size, 24px);margin-right:var(--kbq-form-field-size-icon-button-margin-right, 4px);height:100%}.kbq-password-toggle::-moz-focus-inner{border:0}.kbq-password-toggle:focus{outline:none}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i1.KbqIconButton, selector: "[kbq-icon-button]", inputs: ["color", "small", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
284
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqPasswordToggle, deps: [{ token: i1$2.Overlay }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i1$2.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: KBQ_TOOLTIP_SCROLL_STRATEGY }, { token: i2.Directionality, optional: true }, { token: forwardRef(() => KBQ_FORM_FIELD_REF) }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
285
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.0", type: KbqPasswordToggle, selector: "kbq-password-toggle", inputs: { content: ["kbqTooltipNotHidden", "content"], kbqTooltipHidden: "kbqTooltipHidden" }, host: { listeners: { "click": "toggle($event)", "keydown.ENTER": "toggle($event)", "keydown.SPACE": "toggle($event)" }, properties: { "style.visibility": "visibility" }, classAttribute: "kbq-password-toggle" }, viewQueries: [{ propertyName: "icon", first: true, predicate: KbqIconButton, descendants: true }], exportAs: ["kbqPasswordToggle"], usesInheritance: true, ngImport: i0, template: '<i kbq-icon-button="" [ngClass]="iconClass"></i>', isInline: true, styles: [".kbq-password-toggle{display:flex;align-items:center;justify-content:center;width:var(--kbq-form-field-size-icon-button-size, 24px);margin-right:var(--kbq-form-field-size-icon-button-margin-right, 4px);height:100%}.kbq-password-toggle::-moz-focus-inner{border:0}.kbq-password-toggle:focus{outline:none}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i1.KbqIconButton, selector: "[kbq-icon-button]", inputs: ["color", "small", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
272
286
  }
273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqPasswordToggle, decorators: [{
287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqPasswordToggle, decorators: [{
274
288
  type: Component,
275
289
  args: [{ selector: `kbq-password-toggle`, exportAs: 'kbqPasswordToggle', template: '<i kbq-icon-button="" [ngClass]="iconClass"></i>', host: {
276
290
  class: 'kbq-password-toggle',
@@ -279,7 +293,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
279
293
  '(keydown.ENTER)': 'toggle($event)',
280
294
  '(keydown.SPACE)': 'toggle($event)'
281
295
  }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".kbq-password-toggle{display:flex;align-items:center;justify-content:center;width:var(--kbq-form-field-size-icon-button-size, 24px);margin-right:var(--kbq-form-field-size-icon-button-margin-right, 4px);height:100%}.kbq-password-toggle::-moz-focus-inner{border:0}.kbq-password-toggle:focus{outline:none}\n"] }]
282
- }], ctorParameters: function () { return [{ type: i1$2.Overlay }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i1$2.ScrollDispatcher }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{
296
+ }], ctorParameters: () => [{ type: i1$2.Overlay }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i1$2.ScrollDispatcher }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{
283
297
  type: Inject,
284
298
  args: [KBQ_TOOLTIP_SCROLL_STRATEGY]
285
299
  }] }, { type: i2.Directionality, decorators: [{
@@ -287,7 +301,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
287
301
  }] }, { type: undefined, decorators: [{
288
302
  type: Inject,
289
303
  args: [forwardRef(() => KBQ_FORM_FIELD_REF)]
290
- }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
304
+ }] }, { type: i0.ChangeDetectorRef }], propDecorators: { icon: [{
291
305
  type: ViewChild,
292
306
  args: [KbqIconButton]
293
307
  }], content: [{
@@ -298,10 +312,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
298
312
  }] } });
299
313
 
300
314
  class KbqPrefix {
301
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqPrefix, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
302
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: KbqPrefix, selector: "[kbqPrefix]", ngImport: i0 }); }
315
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqPrefix, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
316
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: KbqPrefix, selector: "[kbqPrefix]", ngImport: i0 }); }
303
317
  }
304
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqPrefix, decorators: [{
318
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqPrefix, decorators: [{
305
319
  type: Directive,
306
320
  args: [{
307
321
  selector: '[kbqPrefix]'
@@ -332,8 +346,8 @@ class KbqStepper {
332
346
  this.stepDown.emit();
333
347
  $event.preventDefault();
334
348
  }
335
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqStepper, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
336
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqStepper, selector: "kbq-stepper", outputs: { stepUp: "stepUp", stepDown: "stepDown" }, host: { classAttribute: "kbq-stepper" }, ngImport: i0, template: `
349
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqStepper, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
350
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.0", type: KbqStepper, selector: "kbq-stepper", outputs: { stepUp: "stepUp", stepDown: "stepDown" }, host: { classAttribute: "kbq-stepper" }, ngImport: i0, template: `
337
351
  <i kbq-icon-button="mc-angle-down-L_16"
338
352
  class="kbq-stepper-step-up"
339
353
  [small]="true"
@@ -350,7 +364,7 @@ class KbqStepper {
350
364
  </i>
351
365
  `, isInline: true, styles: [".kbq-stepper{display:flex;flex-direction:column;justify-content:center;align-items:center;width:var(--kbq-form-field-size-icon-button-size, 24px);margin-right:var(--kbq-form-field-size-icon-button-margin-right, 4px);height:100%}.kbq-stepper .kbq-stepper-step-up,.kbq-stepper .kbq-stepper-step-down{cursor:pointer;width:var(--kbq-form-field-size-button-width, );text-align:center}.kbq-stepper .kbq-stepper-step-up{transform:scaleY(-1)}\n"], dependencies: [{ kind: "component", type: i1.KbqIconButton, selector: "[kbq-icon-button]", inputs: ["color", "small", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
352
366
  }
353
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqStepper, decorators: [{
367
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqStepper, decorators: [{
354
368
  type: Component,
355
369
  args: [{ selector: 'kbq-stepper', template: `
356
370
  <i kbq-icon-button="mc-angle-down-L_16"
@@ -377,10 +391,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
377
391
  }] } });
378
392
 
379
393
  class KbqSuffix {
380
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqSuffix, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
381
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: KbqSuffix, selector: "[kbqSuffix]", ngImport: i0 }); }
394
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqSuffix, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
395
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: KbqSuffix, selector: "[kbqSuffix]", ngImport: i0 }); }
382
396
  }
383
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqSuffix, decorators: [{
397
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqSuffix, decorators: [{
384
398
  type: Directive,
385
399
  args: [{
386
400
  selector: '[kbqSuffix]'
@@ -397,6 +411,9 @@ class KbqFormFieldBase {
397
411
  /** @docs-private */
398
412
  const KbqFormFieldMixinBase = mixinColor(KbqFormFieldBase);
399
413
  class KbqFormField extends KbqFormFieldMixinBase {
414
+ get hasFocus() {
415
+ return this.control.focused;
416
+ }
400
417
  get hasHint() {
401
418
  return this.hint?.length > 0;
402
419
  }
@@ -475,6 +492,9 @@ class KbqFormField extends KbqFormFieldMixinBase {
475
492
  // Avoid animations on load.
476
493
  this.changeDetectorRef.detectChanges();
477
494
  }
495
+ focusViaKeyboard() {
496
+ this.control.focus();
497
+ }
478
498
  clearValue($event) {
479
499
  $event.stopPropagation();
480
500
  this.control?.ngControl?.reset();
@@ -531,12 +551,12 @@ class KbqFormField extends KbqFormFieldMixinBase {
531
551
  throw getKbqFormFieldMissingControlError();
532
552
  }
533
553
  }
534
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqFormField, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$3.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }
535
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: KbqFormField, selector: "kbq-form-field", inputs: { color: "color" }, host: { listeners: { "keydown": "onKeyDown($event)", "mouseenter": "onHoverChanged(true)", "mouseleave": "onHoverChanged(false)" }, properties: { "class.kbq-form-field_invalid": "control.errorState", "class.kbq-form-field_has-prefix": "hasPrefix", "class.kbq-form-field_has-suffix": "hasSuffix", "class.kbq-form-field_has-password-toggle": "hasPasswordToggle", "class.kbq-form-field_has-cleaner": "canShowCleaner", "class.kbq-form-field_has-stepper": "canShowStepper", "class.kbq-disabled": "control.disabled", "class.ng-untouched": "shouldForward(\"untouched\")", "class.ng-touched": "shouldForward(\"touched\")", "class.ng-pristine": "shouldForward(\"pristine\")", "class.ng-dirty": "shouldForward(\"dirty\")", "class.ng-valid": "shouldForward(\"valid\")", "class.ng-invalid": "shouldForward(\"invalid\")", "class.ng-pending": "shouldForward(\"pending\")" }, classAttribute: "kbq-form-field" }, providers: [
554
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqFormField, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$3.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }
555
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.0", type: KbqFormField, selector: "kbq-form-field", inputs: { color: "color" }, host: { listeners: { "keydown": "onKeyDown($event)", "mouseenter": "onHoverChanged(true)", "mouseleave": "onHoverChanged(false)" }, properties: { "class.kbq-form-field_invalid": "control.errorState", "class.kbq-form-field_has-prefix": "hasPrefix", "class.kbq-form-field_has-suffix": "hasSuffix", "class.kbq-form-field_has-password-toggle": "hasPasswordToggle", "class.kbq-form-field_has-cleaner": "canShowCleaner", "class.kbq-form-field_has-stepper": "canShowStepper", "class.kbq-disabled": "control.disabled", "class.ng-untouched": "shouldForward(\"untouched\")", "class.ng-touched": "shouldForward(\"touched\")", "class.ng-pristine": "shouldForward(\"pristine\")", "class.ng-dirty": "shouldForward(\"dirty\")", "class.ng-valid": "shouldForward(\"valid\")", "class.ng-invalid": "shouldForward(\"invalid\")", "class.ng-pending": "shouldForward(\"pending\")" }, classAttribute: "kbq-form-field" }, providers: [
536
556
  { provide: KBQ_FORM_FIELD_REF, useExisting: KbqFormField }
537
- ], queries: [{ propertyName: "control", first: true, predicate: KbqFormFieldControl, descendants: true }, { propertyName: "stepper", first: true, predicate: KbqStepper, descendants: true }, { propertyName: "cleaner", first: true, predicate: KbqCleaner, descendants: true }, { propertyName: "passwordToggle", first: true, predicate: KbqPasswordToggle, descendants: true }, { propertyName: "hint", predicate: KbqHint }, { propertyName: "passwordHints", predicate: KbqPasswordHint }, { propertyName: "suffix", predicate: KbqSuffix }, { propertyName: "prefix", predicate: KbqPrefix }], viewQueries: [{ propertyName: "connectionContainerRef", first: true, predicate: ["connectionContainer"], descendants: true, static: true }], exportAs: ["kbqFormField"], usesInheritance: true, ngImport: i0, template: "<div class=\"kbq-form-field__container\" (click)=\"onContainerClick($event)\" #connectionContainer>\n\n <div class=\"kbq-form-field__prefix\" *ngIf=\"hasPrefix\">\n <ng-content select=\"[kbqPrefix]\"></ng-content>\n </div>\n\n <div class=\"kbq-form-field__infix\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"kbq-form-field__suffix\" *ngIf=\"hasSuffix\">\n <ng-content select=\"[kbqSuffix]\"></ng-content>\n </div>\n\n <div class=\"kbq-form-field__cleaner\"\n *ngIf=\"canShowCleaner && !hasSuffix\"\n (click)=\"clearValue($event)\">\n <ng-content select=\"kbq-cleaner\"></ng-content>\n </div>\n\n <ng-content select=\"kbq-password-toggle\"></ng-content>\n\n <ng-content *ngIf=\"canShowStepper\" select=\"kbq-stepper\"></ng-content>\n</div>\n\n<div class=\"kbq-form-field__hint\" *ngIf=\"hasHint || passwordHints.length\">\n <ng-content select=\"kbq-hint, kbq-password-hint\"></ng-content>\n</div>\n", styles: [".kbq-form-field{position:relative;display:inline-block;width:100%}.kbq-form-field .kbq-form-field__container{box-sizing:border-box}.kbq-form-field .kbq-form-field:not(.kbq-form-field-type-textarea){height:var(--kbq-form-field-size-height, 32px)}.kbq-form-field,.kbq-form-field .kbq-input,.kbq-form-field .kbq-textarea{border-radius:var(--kbq-form-field-size-border-radius, 8px)}.kbq-form-field:hover{z-index:1}.kbq-form-field.kbq-focused{z-index:2}.kbq-form-field.kbq-form-field_without-borders .kbq-form-field__container{border-color:transparent!important;box-shadow:none!important}.kbq-form-field.kbq-form-field_has-prefix .kbq-input{padding-left:calc(var(--kbq-form-field-size-icon-size, 16px) + var(--kbq-form-field-size-icon-margin-left, 8px) + var(--kbq-form-field-size-icon-margin-right, 8px))}.kbq-form-field.kbq-form-field_has-password-toggle .kbq-input,.kbq-form-field.kbq-form-field_has-cleaner .kbq-input,.kbq-form-field.kbq-form-field_has-stepper .kbq-input,.kbq-form-field.kbq-form-field_has-suffix .kbq-input{padding-right:calc(var(--kbq-form-field-size-icon-button-size, 24px) + var(--kbq-form-field-size-icon-button-margin-left, 4px) + var(--kbq-form-field-size-icon-button-margin-right, 4px))}.kbq-form-field__container{position:relative;border-width:var(--kbq-form-field-size-border-width, 1px);border-style:solid;border-color:transparent;border-radius:var(--kbq-form-field-size-border-radius, 8px)}.kbq-form-field__prefix,.kbq-form-field__suffix{position:absolute;top:0;bottom:0;width:32px;display:flex;flex-direction:row;justify-content:center;align-items:center}.kbq-form-field__prefix{left:0}.kbq-form-field__suffix{right:0}.kbq-form-field__cleaner,.kbq-password-toggle,.kbq-stepper{position:absolute;top:0;bottom:0;right:0}.kbq-stepper{display:flex;flex-direction:column;justify-content:center;align-items:center;width:var(--kbq-form-field-size-button-width, )}.kbq-stepper .kbq-stepper-step-up,.kbq-stepper .kbq-stepper-step-down{cursor:pointer;width:var(--kbq-form-field-size-button-width, );text-align:center}.kbq-stepper .kbq-stepper-step-up{transform:scaleY(-1)}.kbq-form-field__hint{display:flex;flex-direction:column;margin-top:var(--kbq-form-field-hint-size-margin-top, 4px);gap:var(--kbq-form-field-hint-size-gap, 8px)}\n", ".kbq-input{background:transparent;padding:0;margin:0;border:none;outline:none;display:inline-block;box-sizing:border-box;text-overflow:ellipsis;width:100%;min-height:calc(var(--kbq-form-field-size-height, 32px) - var(--kbq-form-field-size-border-width, 1px) * 2);padding:calc(var(--kbq-input-size-padding-vertical, 4px) - var(--kbq-form-field-size-border-width, 1px)) var(--kbq-input-size-padding-horizontal, 12px)}.kbq-input::-ms-clear{display:none;width:0;height:0}.kbq-input::-ms-reveal{display:none;width:0;height:0}.kbq-input::-webkit-search-decoration,.kbq-input::-webkit-search-cancel-button,.kbq-input::-webkit-search-results-button,.kbq-input::-webkit-search-results-decoration{display:none}input.kbq-input[type=number]{-moz-appearance:textfield}input.kbq-input[type=number]::-webkit-inner-spin-button,input.kbq-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}input.kbq-input:invalid{box-shadow:unset}input.kbq-input::placeholder{opacity:1}\n", ".kbq-timepicker{padding-right:calc(var(--kbq-timepicker-size-padding-right, ) - var(--kbq-form-field-size-border-width, 1px))}.kbq-form-field-type-timepicker{width:auto}\n", ".kbq-form-field-type-datepicker{width:auto}.kbq-datepicker{width:130px}\n", ".kbq-textarea{display:inline-block;background:transparent;margin:0;border:none;outline:none;resize:none;overflow:auto;width:100%;box-sizing:border-box;padding:var(--kbq-textarea-size-padding-vertical, 8px) var(--kbq-textarea-size-padding-horizontal, 12px);-webkit-appearance:none;vertical-align:bottom}.kbq-textarea:not(.kbq-textarea-resizable){box-sizing:border-box;overflow-y:hidden}.kbq-textarea.kbq-textarea-resizable{resize:vertical;min-height:var(--kbq-textarea-size-min-height, 64px)}.kbq-textarea:invalid{box-shadow:unset}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
557
+ ], queries: [{ propertyName: "control", first: true, predicate: KbqFormFieldControl, descendants: true }, { propertyName: "stepper", first: true, predicate: KbqStepper, descendants: true }, { propertyName: "cleaner", first: true, predicate: KbqCleaner, descendants: true }, { propertyName: "passwordToggle", first: true, predicate: KbqPasswordToggle, descendants: true }, { propertyName: "hint", predicate: KbqHint }, { propertyName: "passwordHints", predicate: KbqPasswordHint }, { propertyName: "suffix", predicate: KbqSuffix }, { propertyName: "prefix", predicate: KbqPrefix }], viewQueries: [{ propertyName: "connectionContainerRef", first: true, predicate: ["connectionContainer"], descendants: true, static: true }], exportAs: ["kbqFormField"], usesInheritance: true, ngImport: i0, template: "<div class=\"kbq-form-field__container\" (click)=\"onContainerClick($event)\" #connectionContainer>\n\n <div class=\"kbq-form-field__prefix\" *ngIf=\"hasPrefix\">\n <ng-content select=\"[kbqPrefix]\"></ng-content>\n </div>\n\n <div class=\"kbq-form-field__infix\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"kbq-form-field__suffix\" *ngIf=\"hasSuffix\">\n <ng-content select=\"[kbqSuffix]\"></ng-content>\n </div>\n\n <div class=\"kbq-form-field__cleaner\"\n *ngIf=\"canShowCleaner && !hasSuffix\"\n (click)=\"clearValue($event)\">\n <ng-content select=\"kbq-cleaner\"></ng-content>\n </div>\n\n <ng-content select=\"kbq-password-toggle\"></ng-content>\n\n <ng-content *ngIf=\"canShowStepper\" select=\"kbq-stepper\"></ng-content>\n</div>\n\n<div class=\"kbq-form-field__hint\" *ngIf=\"hasHint || passwordHints.length\">\n <ng-content select=\"kbq-hint, kbq-password-hint\"></ng-content>\n</div>\n", styles: [".kbq-form-field{position:relative;display:inline-block;width:100%}.kbq-form-field .kbq-form-field__container{box-sizing:border-box}.kbq-form-field .kbq-form-field:not(.kbq-form-field-type-textarea){height:var(--kbq-form-field-size-height, 32px)}.kbq-form-field,.kbq-form-field .kbq-input,.kbq-form-field .kbq-textarea{border-radius:var(--kbq-form-field-size-border-radius, 8px)}.kbq-form-field:hover{z-index:1}.kbq-form-field.kbq-focused{z-index:2}.kbq-form-field.kbq-form-field_without-borders .kbq-form-field__container{border-color:transparent!important;box-shadow:none!important}.kbq-form-field.kbq-form-field_has-prefix .kbq-input{padding-left:calc(var(--kbq-form-field-size-icon-size, 16px) + var(--kbq-form-field-size-icon-margin-left, 8px) + var(--kbq-form-field-size-icon-margin-right, 8px))}.kbq-form-field.kbq-form-field_has-password-toggle .kbq-input,.kbq-form-field.kbq-form-field_has-cleaner .kbq-input,.kbq-form-field.kbq-form-field_has-stepper .kbq-input,.kbq-form-field.kbq-form-field_has-suffix .kbq-input{padding-right:calc(var(--kbq-form-field-size-icon-button-size, 24px) + var(--kbq-form-field-size-icon-button-margin-left, 4px) + var(--kbq-form-field-size-icon-button-margin-right, 4px))}.kbq-form-field+.kbq-password-hint{margin-top:var(--kbq-size-m, 12px)}.kbq-form-field__container{position:relative;border-width:var(--kbq-form-field-size-border-width, 1px);border-style:solid;border-color:transparent;border-radius:var(--kbq-form-field-size-border-radius, 8px)}.kbq-form-field__prefix,.kbq-form-field__suffix{position:absolute;top:0;bottom:0;width:32px;display:flex;flex-direction:row;justify-content:center;align-items:center}.kbq-form-field__prefix{left:0}.kbq-form-field__suffix{right:0}.kbq-form-field__cleaner,.kbq-password-toggle,.kbq-stepper{position:absolute;top:0;bottom:0;right:0}.kbq-stepper{display:flex;flex-direction:column;justify-content:center;align-items:center;width:var(--kbq-form-field-size-button-width, )}.kbq-stepper .kbq-stepper-step-up,.kbq-stepper .kbq-stepper-step-down{cursor:pointer;width:var(--kbq-form-field-size-button-width, );text-align:center}.kbq-stepper .kbq-stepper-step-up{transform:scaleY(-1)}.kbq-form-field__hint{display:flex;flex-direction:column;margin-top:var(--kbq-form-field-hint-size-margin-top, 4px)}.kbq-form-field__hint .kbq-password-hint:first-child{margin-top:var(--kbq-size-s, 8px)}.kbq-password-hint{margin-top:var(--kbq-form-field-hint-size-gap, 8px)}\n", ".kbq-input{background:transparent;padding:0;margin:0;border:none;outline:none;display:inline-block;box-sizing:border-box;text-overflow:ellipsis;width:100%;min-height:calc(var(--kbq-form-field-size-height, 32px) - var(--kbq-form-field-size-border-width, 1px) * 2);padding:calc(var(--kbq-input-size-padding-vertical, 4px) - var(--kbq-form-field-size-border-width, 1px)) var(--kbq-input-size-padding-horizontal, 12px)}.kbq-input::-ms-clear{display:none;width:0;height:0}.kbq-input::-ms-reveal{display:none;width:0;height:0}.kbq-input::-webkit-search-decoration,.kbq-input::-webkit-search-cancel-button,.kbq-input::-webkit-search-results-button,.kbq-input::-webkit-search-results-decoration{display:none}input.kbq-input[type=number]{-moz-appearance:textfield}input.kbq-input[type=number]::-webkit-inner-spin-button,input.kbq-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}input.kbq-input:invalid{box-shadow:unset}input.kbq-input::placeholder{opacity:1}\n", ".kbq-timepicker{padding-right:calc(var(--kbq-timepicker-size-padding-right, ) - var(--kbq-form-field-size-border-width, 1px))}.kbq-form-field-type-timepicker{width:auto}\n", ".kbq-form-field-type-datepicker{width:auto}.kbq-datepicker{width:130px}\n", ".kbq-textarea{display:inline-block;background:transparent;margin:0;border:none;outline:none;resize:none;overflow:auto;width:100%;box-sizing:border-box;padding:var(--kbq-textarea-size-padding-vertical, 8px) var(--kbq-textarea-size-padding-horizontal, 12px);-webkit-appearance:none;vertical-align:bottom}.kbq-textarea:not(.kbq-textarea-resizable){box-sizing:border-box;overflow-y:hidden}.kbq-textarea.kbq-textarea-resizable{resize:vertical;min-height:var(--kbq-textarea-size-min-height, 64px)}.kbq-textarea:invalid{box-shadow:unset}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
538
558
  }
539
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqFormField, decorators: [{
559
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqFormField, decorators: [{
540
560
  type: Component,
541
561
  args: [{ selector: 'kbq-form-field', exportAs: 'kbqFormField', host: {
542
562
  class: 'kbq-form-field',
@@ -559,8 +579,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
559
579
  '(mouseleave)': 'onHoverChanged(false)'
560
580
  }, inputs: ['color'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
561
581
  { provide: KBQ_FORM_FIELD_REF, useExisting: KbqFormField }
562
- ], template: "<div class=\"kbq-form-field__container\" (click)=\"onContainerClick($event)\" #connectionContainer>\n\n <div class=\"kbq-form-field__prefix\" *ngIf=\"hasPrefix\">\n <ng-content select=\"[kbqPrefix]\"></ng-content>\n </div>\n\n <div class=\"kbq-form-field__infix\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"kbq-form-field__suffix\" *ngIf=\"hasSuffix\">\n <ng-content select=\"[kbqSuffix]\"></ng-content>\n </div>\n\n <div class=\"kbq-form-field__cleaner\"\n *ngIf=\"canShowCleaner && !hasSuffix\"\n (click)=\"clearValue($event)\">\n <ng-content select=\"kbq-cleaner\"></ng-content>\n </div>\n\n <ng-content select=\"kbq-password-toggle\"></ng-content>\n\n <ng-content *ngIf=\"canShowStepper\" select=\"kbq-stepper\"></ng-content>\n</div>\n\n<div class=\"kbq-form-field__hint\" *ngIf=\"hasHint || passwordHints.length\">\n <ng-content select=\"kbq-hint, kbq-password-hint\"></ng-content>\n</div>\n", styles: [".kbq-form-field{position:relative;display:inline-block;width:100%}.kbq-form-field .kbq-form-field__container{box-sizing:border-box}.kbq-form-field .kbq-form-field:not(.kbq-form-field-type-textarea){height:var(--kbq-form-field-size-height, 32px)}.kbq-form-field,.kbq-form-field .kbq-input,.kbq-form-field .kbq-textarea{border-radius:var(--kbq-form-field-size-border-radius, 8px)}.kbq-form-field:hover{z-index:1}.kbq-form-field.kbq-focused{z-index:2}.kbq-form-field.kbq-form-field_without-borders .kbq-form-field__container{border-color:transparent!important;box-shadow:none!important}.kbq-form-field.kbq-form-field_has-prefix .kbq-input{padding-left:calc(var(--kbq-form-field-size-icon-size, 16px) + var(--kbq-form-field-size-icon-margin-left, 8px) + var(--kbq-form-field-size-icon-margin-right, 8px))}.kbq-form-field.kbq-form-field_has-password-toggle .kbq-input,.kbq-form-field.kbq-form-field_has-cleaner .kbq-input,.kbq-form-field.kbq-form-field_has-stepper .kbq-input,.kbq-form-field.kbq-form-field_has-suffix .kbq-input{padding-right:calc(var(--kbq-form-field-size-icon-button-size, 24px) + var(--kbq-form-field-size-icon-button-margin-left, 4px) + var(--kbq-form-field-size-icon-button-margin-right, 4px))}.kbq-form-field__container{position:relative;border-width:var(--kbq-form-field-size-border-width, 1px);border-style:solid;border-color:transparent;border-radius:var(--kbq-form-field-size-border-radius, 8px)}.kbq-form-field__prefix,.kbq-form-field__suffix{position:absolute;top:0;bottom:0;width:32px;display:flex;flex-direction:row;justify-content:center;align-items:center}.kbq-form-field__prefix{left:0}.kbq-form-field__suffix{right:0}.kbq-form-field__cleaner,.kbq-password-toggle,.kbq-stepper{position:absolute;top:0;bottom:0;right:0}.kbq-stepper{display:flex;flex-direction:column;justify-content:center;align-items:center;width:var(--kbq-form-field-size-button-width, )}.kbq-stepper .kbq-stepper-step-up,.kbq-stepper .kbq-stepper-step-down{cursor:pointer;width:var(--kbq-form-field-size-button-width, );text-align:center}.kbq-stepper .kbq-stepper-step-up{transform:scaleY(-1)}.kbq-form-field__hint{display:flex;flex-direction:column;margin-top:var(--kbq-form-field-hint-size-margin-top, 4px);gap:var(--kbq-form-field-hint-size-gap, 8px)}\n", ".kbq-input{background:transparent;padding:0;margin:0;border:none;outline:none;display:inline-block;box-sizing:border-box;text-overflow:ellipsis;width:100%;min-height:calc(var(--kbq-form-field-size-height, 32px) - var(--kbq-form-field-size-border-width, 1px) * 2);padding:calc(var(--kbq-input-size-padding-vertical, 4px) - var(--kbq-form-field-size-border-width, 1px)) var(--kbq-input-size-padding-horizontal, 12px)}.kbq-input::-ms-clear{display:none;width:0;height:0}.kbq-input::-ms-reveal{display:none;width:0;height:0}.kbq-input::-webkit-search-decoration,.kbq-input::-webkit-search-cancel-button,.kbq-input::-webkit-search-results-button,.kbq-input::-webkit-search-results-decoration{display:none}input.kbq-input[type=number]{-moz-appearance:textfield}input.kbq-input[type=number]::-webkit-inner-spin-button,input.kbq-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}input.kbq-input:invalid{box-shadow:unset}input.kbq-input::placeholder{opacity:1}\n", ".kbq-timepicker{padding-right:calc(var(--kbq-timepicker-size-padding-right, ) - var(--kbq-form-field-size-border-width, 1px))}.kbq-form-field-type-timepicker{width:auto}\n", ".kbq-form-field-type-datepicker{width:auto}.kbq-datepicker{width:130px}\n", ".kbq-textarea{display:inline-block;background:transparent;margin:0;border:none;outline:none;resize:none;overflow:auto;width:100%;box-sizing:border-box;padding:var(--kbq-textarea-size-padding-vertical, 8px) var(--kbq-textarea-size-padding-horizontal, 12px);-webkit-appearance:none;vertical-align:bottom}.kbq-textarea:not(.kbq-textarea-resizable){box-sizing:border-box;overflow-y:hidden}.kbq-textarea.kbq-textarea-resizable{resize:vertical;min-height:var(--kbq-textarea-size-min-height, 64px)}.kbq-textarea:invalid{box-shadow:unset}\n"] }]
563
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$3.FocusMonitor }]; }, propDecorators: { control: [{
582
+ ], template: "<div class=\"kbq-form-field__container\" (click)=\"onContainerClick($event)\" #connectionContainer>\n\n <div class=\"kbq-form-field__prefix\" *ngIf=\"hasPrefix\">\n <ng-content select=\"[kbqPrefix]\"></ng-content>\n </div>\n\n <div class=\"kbq-form-field__infix\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"kbq-form-field__suffix\" *ngIf=\"hasSuffix\">\n <ng-content select=\"[kbqSuffix]\"></ng-content>\n </div>\n\n <div class=\"kbq-form-field__cleaner\"\n *ngIf=\"canShowCleaner && !hasSuffix\"\n (click)=\"clearValue($event)\">\n <ng-content select=\"kbq-cleaner\"></ng-content>\n </div>\n\n <ng-content select=\"kbq-password-toggle\"></ng-content>\n\n <ng-content *ngIf=\"canShowStepper\" select=\"kbq-stepper\"></ng-content>\n</div>\n\n<div class=\"kbq-form-field__hint\" *ngIf=\"hasHint || passwordHints.length\">\n <ng-content select=\"kbq-hint, kbq-password-hint\"></ng-content>\n</div>\n", styles: [".kbq-form-field{position:relative;display:inline-block;width:100%}.kbq-form-field .kbq-form-field__container{box-sizing:border-box}.kbq-form-field .kbq-form-field:not(.kbq-form-field-type-textarea){height:var(--kbq-form-field-size-height, 32px)}.kbq-form-field,.kbq-form-field .kbq-input,.kbq-form-field .kbq-textarea{border-radius:var(--kbq-form-field-size-border-radius, 8px)}.kbq-form-field:hover{z-index:1}.kbq-form-field.kbq-focused{z-index:2}.kbq-form-field.kbq-form-field_without-borders .kbq-form-field__container{border-color:transparent!important;box-shadow:none!important}.kbq-form-field.kbq-form-field_has-prefix .kbq-input{padding-left:calc(var(--kbq-form-field-size-icon-size, 16px) + var(--kbq-form-field-size-icon-margin-left, 8px) + var(--kbq-form-field-size-icon-margin-right, 8px))}.kbq-form-field.kbq-form-field_has-password-toggle .kbq-input,.kbq-form-field.kbq-form-field_has-cleaner .kbq-input,.kbq-form-field.kbq-form-field_has-stepper .kbq-input,.kbq-form-field.kbq-form-field_has-suffix .kbq-input{padding-right:calc(var(--kbq-form-field-size-icon-button-size, 24px) + var(--kbq-form-field-size-icon-button-margin-left, 4px) + var(--kbq-form-field-size-icon-button-margin-right, 4px))}.kbq-form-field+.kbq-password-hint{margin-top:var(--kbq-size-m, 12px)}.kbq-form-field__container{position:relative;border-width:var(--kbq-form-field-size-border-width, 1px);border-style:solid;border-color:transparent;border-radius:var(--kbq-form-field-size-border-radius, 8px)}.kbq-form-field__prefix,.kbq-form-field__suffix{position:absolute;top:0;bottom:0;width:32px;display:flex;flex-direction:row;justify-content:center;align-items:center}.kbq-form-field__prefix{left:0}.kbq-form-field__suffix{right:0}.kbq-form-field__cleaner,.kbq-password-toggle,.kbq-stepper{position:absolute;top:0;bottom:0;right:0}.kbq-stepper{display:flex;flex-direction:column;justify-content:center;align-items:center;width:var(--kbq-form-field-size-button-width, )}.kbq-stepper .kbq-stepper-step-up,.kbq-stepper .kbq-stepper-step-down{cursor:pointer;width:var(--kbq-form-field-size-button-width, );text-align:center}.kbq-stepper .kbq-stepper-step-up{transform:scaleY(-1)}.kbq-form-field__hint{display:flex;flex-direction:column;margin-top:var(--kbq-form-field-hint-size-margin-top, 4px)}.kbq-form-field__hint .kbq-password-hint:first-child{margin-top:var(--kbq-size-s, 8px)}.kbq-password-hint{margin-top:var(--kbq-form-field-hint-size-gap, 8px)}\n", ".kbq-input{background:transparent;padding:0;margin:0;border:none;outline:none;display:inline-block;box-sizing:border-box;text-overflow:ellipsis;width:100%;min-height:calc(var(--kbq-form-field-size-height, 32px) - var(--kbq-form-field-size-border-width, 1px) * 2);padding:calc(var(--kbq-input-size-padding-vertical, 4px) - var(--kbq-form-field-size-border-width, 1px)) var(--kbq-input-size-padding-horizontal, 12px)}.kbq-input::-ms-clear{display:none;width:0;height:0}.kbq-input::-ms-reveal{display:none;width:0;height:0}.kbq-input::-webkit-search-decoration,.kbq-input::-webkit-search-cancel-button,.kbq-input::-webkit-search-results-button,.kbq-input::-webkit-search-results-decoration{display:none}input.kbq-input[type=number]{-moz-appearance:textfield}input.kbq-input[type=number]::-webkit-inner-spin-button,input.kbq-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}input.kbq-input:invalid{box-shadow:unset}input.kbq-input::placeholder{opacity:1}\n", ".kbq-timepicker{padding-right:calc(var(--kbq-timepicker-size-padding-right, ) - var(--kbq-form-field-size-border-width, 1px))}.kbq-form-field-type-timepicker{width:auto}\n", ".kbq-form-field-type-datepicker{width:auto}.kbq-datepicker{width:130px}\n", ".kbq-textarea{display:inline-block;background:transparent;margin:0;border:none;outline:none;resize:none;overflow:auto;width:100%;box-sizing:border-box;padding:var(--kbq-textarea-size-padding-vertical, 8px) var(--kbq-textarea-size-padding-horizontal, 12px);-webkit-appearance:none;vertical-align:bottom}.kbq-textarea:not(.kbq-textarea-resizable){box-sizing:border-box;overflow-y:hidden}.kbq-textarea.kbq-textarea-resizable{resize:vertical;min-height:var(--kbq-textarea-size-min-height, 64px)}.kbq-textarea:invalid{box-shadow:unset}\n"] }]
583
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$3.FocusMonitor }], propDecorators: { control: [{
564
584
  type: ContentChild,
565
585
  args: [KbqFormFieldControl, { static: false }]
566
586
  }], stepper: [{
@@ -589,10 +609,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
589
609
  args: ['connectionContainer', { static: true }]
590
610
  }] } });
591
611
  class KbqFormFieldWithoutBorders {
592
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqFormFieldWithoutBorders, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
593
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: KbqFormFieldWithoutBorders, selector: "kbq-form-field[kbqFormFieldWithoutBorders]", host: { classAttribute: "kbq-form-field_without-borders" }, exportAs: ["kbqFormFieldWithoutBorders"], ngImport: i0 }); }
612
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqFormFieldWithoutBorders, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
613
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: KbqFormFieldWithoutBorders, selector: "kbq-form-field[kbqFormFieldWithoutBorders]", host: { classAttribute: "kbq-form-field_without-borders" }, exportAs: ["kbqFormFieldWithoutBorders"], ngImport: i0 }); }
594
614
  }
595
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqFormFieldWithoutBorders, decorators: [{
615
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqFormFieldWithoutBorders, decorators: [{
596
616
  type: Directive,
597
617
  args: [{
598
618
  selector: 'kbq-form-field[kbqFormFieldWithoutBorders]',
@@ -620,24 +640,24 @@ class KbqTrim {
620
640
  }
621
641
  return typeof value === 'string' ? value.trim() : value;
622
642
  }
623
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqTrim, deps: [{ token: 'no-trim', attribute: true }, { token: i1$4.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
624
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: KbqTrim, selector: "[kbqInput], [kbqTextarea]", host: { classAttribute: "kbq-trim" }, exportAs: ["KbqTrim"], ngImport: i0 }); }
643
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqTrim, deps: [{ token: 'no-trim', attribute: true }, { token: i1$4.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
644
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: KbqTrim, selector: "[kbqInput], [kbqTextarea]", host: { classAttribute: "kbq-trim" }, exportAs: ["KbqTrim"], ngImport: i0 }); }
625
645
  }
626
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqTrim, decorators: [{
646
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqTrim, decorators: [{
627
647
  type: Directive,
628
648
  args: [{
629
649
  selector: '[kbqInput], [kbqTextarea]',
630
650
  exportAs: 'KbqTrim',
631
651
  host: { class: 'kbq-trim' }
632
652
  }]
633
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
653
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
634
654
  type: Attribute,
635
655
  args: ['no-trim']
636
656
  }] }, { type: i1$4.NgControl, decorators: [{
637
657
  type: Optional
638
658
  }, {
639
659
  type: Self
640
- }] }]; } });
660
+ }] }] });
641
661
 
642
662
  class KbqValidateDirective {
643
663
  get isNgModel() {
@@ -689,8 +709,14 @@ class KbqValidateDirective {
689
709
  if (!this.validationControl) {
690
710
  return;
691
711
  }
692
- this.parent?.ngSubmit
693
- .subscribe(() => this.validationControl.updateValueAndValidity({ emitEvent: false }));
712
+ if (this.parent?.onSubmit) {
713
+ // tslint:disable-next-line: no-unbound-method
714
+ const originalSubmit = this.parent.onSubmit;
715
+ this.parent.onSubmit = ($event) => {
716
+ this.validationControl.updateValueAndValidity({ emitEvent: false });
717
+ return originalSubmit.call(this.parent, $event);
718
+ };
719
+ }
694
720
  if (this.isNgModel) {
695
721
  this.setMosaicValidationForModelControl();
696
722
  }
@@ -726,11 +752,10 @@ class KbqValidateDirective {
726
752
  });
727
753
  }
728
754
  setMosaicValidationForFormControl() {
729
- const originalValidator = this.validationControl.validator;
730
755
  // changed required validation logic after initialization
731
756
  if (this.validationControl.invalid && this.validationControl.errors.required) {
732
757
  Promise.resolve().then(() => {
733
- this.setValidState(this.validationControl, originalValidator);
758
+ this.setValidState(this.validationControl, this.validationControl.validator);
734
759
  this.cdr.markForCheck();
735
760
  });
736
761
  }
@@ -739,18 +764,18 @@ class KbqValidateDirective {
739
764
  .subscribe(() => {
740
765
  // changed required validation logic
741
766
  if (this.validationControl.invalid && (this.hasNotSubmittedParent) && this.validationControl.errors.required) {
742
- this.setValidState(this.validationControl, originalValidator);
767
+ this.setValidState(this.validationControl, this.validationControl.validator);
743
768
  }
744
769
  // changed all other validation logic
745
770
  if (this.validationControl.invalid && this.formFieldControl.focused) {
746
- this.setValidState(this.validationControl, originalValidator);
771
+ this.setValidState(this.validationControl, this.validationControl.validator);
747
772
  }
748
773
  });
749
774
  }
750
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqValidateDirective, deps: [{ token: forwardRef(() => KbqFormFieldControl) }, { token: NG_VALIDATORS, optional: true, self: true }, { token: i1$4.NgControl, optional: true, self: true }, { token: i1$4.NgForm, optional: true }, { token: i1$4.FormGroupDirective, optional: true }, { token: KBQ_VALIDATION, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
751
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: KbqValidateDirective, selector: "\n input[kbqInput],\n input[kbqInputPassword],\n input[kbqTimepicker],\n input[kbqDatepicker],\n textarea[kbqTextarea],\n kbq-select,\n kbq-tree-select,\n kbq-tag-list\n ", exportAs: ["KbqValidate"], ngImport: i0 }); }
775
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqValidateDirective, deps: [{ token: forwardRef(() => KbqFormFieldControl) }, { token: NG_VALIDATORS, optional: true, self: true }, { token: i1$4.NgControl, optional: true, self: true }, { token: i1$4.NgForm, optional: true }, { token: i1$4.FormGroupDirective, optional: true }, { token: KBQ_VALIDATION, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
776
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: KbqValidateDirective, selector: "\n input[kbqInput],\n input[kbqInputPassword],\n input[kbqTimepicker],\n input[kbqDatepicker],\n textarea[kbqTextarea],\n kbq-select,\n kbq-tree-select,\n kbq-tag-list\n ", exportAs: ["KbqValidate"], ngImport: i0 }); }
752
777
  }
753
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqValidateDirective, decorators: [{
778
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqValidateDirective, decorators: [{
754
779
  type: Directive,
755
780
  args: [{
756
781
  selector: `
@@ -765,7 +790,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
765
790
  `,
766
791
  exportAs: 'KbqValidate'
767
792
  }]
768
- }], ctorParameters: function () { return [{ type: KbqFormFieldControl, decorators: [{
793
+ }], ctorParameters: () => [{ type: KbqFormFieldControl, decorators: [{
769
794
  type: Inject,
770
795
  args: [forwardRef(() => KbqFormFieldControl)]
771
796
  }] }, { type: undefined, decorators: [{
@@ -788,11 +813,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
788
813
  }, {
789
814
  type: Inject,
790
815
  args: [KBQ_VALIDATION]
791
- }] }, { type: i0.ChangeDetectorRef }]; } });
816
+ }] }, { type: i0.ChangeDetectorRef }] });
792
817
 
793
818
  class KbqFormFieldModule {
794
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
795
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: KbqFormFieldModule, declarations: [KbqFormField,
819
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
820
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.0", ngImport: i0, type: KbqFormFieldModule, declarations: [KbqFormField,
796
821
  KbqFormFieldWithoutBorders,
797
822
  KbqHint,
798
823
  KbqPasswordHint,
@@ -813,9 +838,9 @@ class KbqFormFieldModule {
813
838
  KbqValidateDirective,
814
839
  KbqTrim,
815
840
  KbqPasswordToggle] }); }
816
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqFormFieldModule, imports: [CommonModule, KbqIconModule] }); }
841
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqFormFieldModule, imports: [CommonModule, KbqIconModule] }); }
817
842
  }
818
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: KbqFormFieldModule, decorators: [{
843
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: KbqFormFieldModule, decorators: [{
819
844
  type: NgModule,
820
845
  args: [{
821
846
  declarations: [