@taiga-ui/core 3.18.0 → 3.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. package/bundles/taiga-ui-core-abstract.umd.js +10 -19
  2. package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
  3. package/bundles/taiga-ui-core-components-alert.umd.js +14 -23
  4. package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
  5. package/bundles/taiga-ui-core-components-button.umd.js +11 -20
  6. package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
  7. package/bundles/taiga-ui-core-components-calendar.umd.js +11 -20
  8. package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
  9. package/bundles/taiga-ui-core-components-data-list.umd.js +20 -29
  10. package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
  11. package/bundles/taiga-ui-core-components-dialog.umd.js +20 -29
  12. package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
  13. package/bundles/taiga-ui-core-components-error.umd.js +11 -20
  14. package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
  15. package/bundles/taiga-ui-core-components-expand.umd.js +14 -23
  16. package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
  17. package/bundles/taiga-ui-core-components-group.umd.js +14 -23
  18. package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
  19. package/bundles/taiga-ui-core-components-hints-host.umd.js +7 -7
  20. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +14 -23
  21. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
  22. package/bundles/taiga-ui-core-components-label.umd.js +11 -20
  23. package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
  24. package/bundles/taiga-ui-core-components-link.umd.js +12 -21
  25. package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
  26. package/bundles/taiga-ui-core-components-loader.umd.js +11 -20
  27. package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
  28. package/bundles/taiga-ui-core-components-notification.umd.js +11 -20
  29. package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
  30. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +11 -20
  31. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
  32. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +11 -20
  33. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
  34. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +11 -20
  35. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
  36. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +28 -34
  37. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  38. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +11 -20
  39. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
  40. package/bundles/taiga-ui-core-components-root.umd.js +11 -20
  41. package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
  42. package/bundles/taiga-ui-core-components-scroll-controls.umd.js +17 -26
  43. package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
  44. package/bundles/taiga-ui-core-components-scrollbar.umd.js +17 -26
  45. package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
  46. package/bundles/taiga-ui-core-components-svg.umd.js +11 -20
  47. package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
  48. package/bundles/taiga-ui-core-components-theme-night.umd.js +11 -20
  49. package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
  50. package/bundles/taiga-ui-core-components-tooltip.umd.js +11 -20
  51. package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
  52. package/bundles/taiga-ui-core-directives-dropdown.umd.js +41 -50
  53. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
  54. package/bundles/taiga-ui-core-directives-hint.umd.js +38 -47
  55. package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
  56. package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +7 -7
  57. package/bundles/taiga-ui-core-directives-mode.umd.js +11 -20
  58. package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
  59. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +11 -20
  60. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
  61. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +100 -54
  62. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
  63. package/bundles/taiga-ui-core-directives-wrapper.umd.js +7 -7
  64. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +11 -20
  65. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +1 -1
  66. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +7 -7
  67. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +7 -7
  68. package/bundles/taiga-ui-core-pipes-flag.umd.js +96 -0
  69. package/bundles/taiga-ui-core-pipes-flag.umd.js.map +1 -0
  70. package/bundles/taiga-ui-core-pipes-format-date.umd.js +7 -7
  71. package/bundles/taiga-ui-core-pipes-format-number.umd.js +7 -7
  72. package/bundles/taiga-ui-core-pipes-format-phone.umd.js +7 -7
  73. package/bundles/taiga-ui-core-pipes-month.umd.js +7 -7
  74. package/bundles/taiga-ui-core-pipes-order-week-days.umd.js +11 -20
  75. package/bundles/taiga-ui-core-pipes-order-week-days.umd.js.map +1 -1
  76. package/bundles/taiga-ui-core-pipes.umd.js +10 -4
  77. package/bundles/taiga-ui-core-pipes.umd.js.map +1 -1
  78. package/bundles/taiga-ui-core-services.umd.js +22 -31
  79. package/bundles/taiga-ui-core-services.umd.js.map +1 -1
  80. package/bundles/taiga-ui-core-tokens.umd.js +6 -13
  81. package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
  82. package/bundles/taiga-ui-core-utils-format.umd.js +4 -13
  83. package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
  84. package/bundles/taiga-ui-core-utils-mask.umd.js +4 -13
  85. package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
  86. package/components/primitive-textfield/primitive-textfield.component.d.ts +3 -3
  87. package/directives/textfield-controller/index.d.ts +1 -0
  88. package/directives/textfield-controller/textfield-appearance.directive.d.ts +9 -0
  89. package/directives/textfield-controller/textfield-controller.module.d.ts +11 -10
  90. package/directives/textfield-controller/textfield.controller.d.ts +5 -1
  91. package/esm2015/abstract/abstract-driver.directive.js +3 -3
  92. package/esm2015/abstract/abstract-textfield-host.js +3 -3
  93. package/esm2015/components/alert/alert.component.js +3 -3
  94. package/esm2015/components/alert/alert.module.js +4 -4
  95. package/esm2015/components/alert/alert.service.js +3 -3
  96. package/esm2015/components/button/button.component.js +3 -3
  97. package/esm2015/components/button/button.module.js +4 -4
  98. package/esm2015/components/calendar/calendar.component.js +3 -3
  99. package/esm2015/components/calendar/calendar.module.js +4 -4
  100. package/esm2015/components/data-list/data-list.component.js +3 -3
  101. package/esm2015/components/data-list/data-list.directive.js +3 -3
  102. package/esm2015/components/data-list/data-list.module.js +4 -4
  103. package/esm2015/components/data-list/opt-group.directive.js +3 -3
  104. package/esm2015/components/data-list/option/option.component.js +3 -3
  105. package/esm2015/components/dialog/dialog-close.service.js +3 -3
  106. package/esm2015/components/dialog/dialog.component.js +3 -3
  107. package/esm2015/components/dialog/dialog.directive.js +3 -3
  108. package/esm2015/components/dialog/dialog.module.js +4 -4
  109. package/esm2015/components/dialog/dialog.service.js +3 -3
  110. package/esm2015/components/error/error.component.js +3 -3
  111. package/esm2015/components/error/error.module.js +4 -4
  112. package/esm2015/components/expand/expand-content.directive.js +3 -3
  113. package/esm2015/components/expand/expand.component.js +3 -3
  114. package/esm2015/components/expand/expand.module.js +4 -4
  115. package/esm2015/components/group/group-styles.component.js +3 -3
  116. package/esm2015/components/group/group.directive.js +3 -3
  117. package/esm2015/components/group/group.module.js +4 -4
  118. package/esm2015/components/hints-host/hints-host.component.js +3 -3
  119. package/esm2015/components/hints-host/hints-host.module.js +4 -4
  120. package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +3 -3
  121. package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +3 -3
  122. package/esm2015/components/hosted-dropdown/hosted-dropdown.module.js +4 -4
  123. package/esm2015/components/label/label.component.js +3 -3
  124. package/esm2015/components/label/label.module.js +4 -4
  125. package/esm2015/components/link/link.component.js +4 -4
  126. package/esm2015/components/link/link.module.js +4 -4
  127. package/esm2015/components/loader/loader.component.js +3 -3
  128. package/esm2015/components/loader/loader.module.js +4 -4
  129. package/esm2015/components/notification/notification.component.js +3 -3
  130. package/esm2015/components/notification/notification.module.js +4 -4
  131. package/esm2015/components/primitive-calendar/primitive-calendar.component.js +3 -3
  132. package/esm2015/components/primitive-calendar/primitive-calendar.module.js +4 -4
  133. package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +3 -3
  134. package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +4 -4
  135. package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +3 -3
  136. package/esm2015/components/primitive-spin-button/primitive-spin-button.module.js +4 -4
  137. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +9 -10
  138. package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +3 -3
  139. package/esm2015/components/primitive-textfield/primitive-textfield.module.js +4 -4
  140. package/esm2015/components/primitive-textfield/textfield/textfield.component.js +3 -3
  141. package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +3 -3
  142. package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +3 -3
  143. package/esm2015/components/primitive-year-picker/primitive-year-picker.module.js +4 -4
  144. package/esm2015/components/root/root.component.js +3 -3
  145. package/esm2015/components/root/root.module.js +4 -4
  146. package/esm2015/components/scroll-controls/scroll-controls.component.js +3 -3
  147. package/esm2015/components/scroll-controls/scroll-controls.module.js +4 -4
  148. package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +3 -3
  149. package/esm2015/components/scroll-controls/scrollbar.directive.js +3 -3
  150. package/esm2015/components/scrollbar/scroll-ref.directive.js +3 -3
  151. package/esm2015/components/scrollbar/scrollable.directive.js +3 -3
  152. package/esm2015/components/scrollbar/scrollbar.component.js +3 -3
  153. package/esm2015/components/scrollbar/scrollbar.module.js +4 -4
  154. package/esm2015/components/svg/svg.component.js +3 -3
  155. package/esm2015/components/svg/svg.module.js +4 -4
  156. package/esm2015/components/theme-night/theme-night.component.js +3 -3
  157. package/esm2015/components/theme-night/theme-night.module.js +4 -4
  158. package/esm2015/components/tooltip/tooltip.component.js +3 -3
  159. package/esm2015/components/tooltip/tooltip.module.js +4 -4
  160. package/esm2015/directives/dropdown/dropdown-context.directive.js +3 -3
  161. package/esm2015/directives/dropdown/dropdown-driver.directive.js +3 -3
  162. package/esm2015/directives/dropdown/dropdown-host.directive.js +3 -3
  163. package/esm2015/directives/dropdown/dropdown-hover.directive.js +3 -3
  164. package/esm2015/directives/dropdown/dropdown-manual.directive.js +3 -3
  165. package/esm2015/directives/dropdown/dropdown-options.directive.js +3 -3
  166. package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +3 -3
  167. package/esm2015/directives/dropdown/dropdown-position.directive.js +3 -3
  168. package/esm2015/directives/dropdown/dropdown-selection.directive.js +3 -3
  169. package/esm2015/directives/dropdown/dropdown.component.js +3 -3
  170. package/esm2015/directives/dropdown/dropdown.directive.js +3 -3
  171. package/esm2015/directives/dropdown/dropdown.module.js +4 -4
  172. package/esm2015/directives/hint/hint-describe.directive.js +3 -3
  173. package/esm2015/directives/hint/hint-driver.directive.js +3 -3
  174. package/esm2015/directives/hint/hint-host.directive.js +3 -3
  175. package/esm2015/directives/hint/hint-hover.directive.js +3 -3
  176. package/esm2015/directives/hint/hint-manual.directive.js +3 -3
  177. package/esm2015/directives/hint/hint-options.directive.js +3 -3
  178. package/esm2015/directives/hint/hint-pointer.directive.js +3 -3
  179. package/esm2015/directives/hint/hint-position.directive.js +3 -3
  180. package/esm2015/directives/hint/hint.component.js +3 -3
  181. package/esm2015/directives/hint/hint.directive.js +3 -3
  182. package/esm2015/directives/hint/hint.module.js +4 -4
  183. package/esm2015/directives/mask-accessor/mask-accessor.directive.js +3 -3
  184. package/esm2015/directives/mask-accessor/mask-accessor.module.js +4 -4
  185. package/esm2015/directives/mode/mode.directive.js +3 -3
  186. package/esm2015/directives/mode/mode.module.js +4 -4
  187. package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +3 -3
  188. package/esm2015/directives/scroll-into-view/scroll-into-view.module.js +4 -4
  189. package/esm2015/directives/textfield-controller/index.js +2 -1
  190. package/esm2015/directives/textfield-controller/textfield-appearance.directive.js +38 -0
  191. package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +3 -3
  192. package/esm2015/directives/textfield-controller/textfield-controller.module.js +11 -6
  193. package/esm2015/directives/textfield-controller/textfield-controller.provider.js +7 -3
  194. package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +3 -3
  195. package/esm2015/directives/textfield-controller/textfield-filler.directive.js +3 -3
  196. package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +3 -3
  197. package/esm2015/directives/textfield-controller/textfield-icon.directive.js +3 -3
  198. package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +3 -3
  199. package/esm2015/directives/textfield-controller/textfield-postfix.directive.js +3 -3
  200. package/esm2015/directives/textfield-controller/textfield-prefix.directive.js +3 -3
  201. package/esm2015/directives/textfield-controller/textfield-size.directive.js +3 -3
  202. package/esm2015/directives/textfield-controller/textfield.controller.js +7 -2
  203. package/esm2015/directives/wrapper/wrapper.directive.js +3 -3
  204. package/esm2015/directives/wrapper/wrapper.module.js +4 -4
  205. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +3 -3
  206. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +4 -4
  207. package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +3 -3
  208. package/esm2015/internal/svg-defs-host/svg-defs-host.module.js +4 -4
  209. package/esm2015/pipes/calendar-sheet/calendar-sheet.module.js +4 -4
  210. package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +3 -3
  211. package/esm2015/pipes/flag/flag.module.js +16 -0
  212. package/esm2015/pipes/flag/flag.pipe.js +44 -0
  213. package/esm2015/pipes/flag/index.js +3 -0
  214. package/esm2015/pipes/flag/taiga-ui-core-pipes-flag.js +5 -0
  215. package/esm2015/pipes/format-date/format-date.module.js +4 -4
  216. package/esm2015/pipes/format-date/format-date.pipe.js +3 -3
  217. package/esm2015/pipes/format-number/format-number.module.js +4 -4
  218. package/esm2015/pipes/format-number/format-number.pipe.js +3 -3
  219. package/esm2015/pipes/format-phone/format-phone.module.js +4 -4
  220. package/esm2015/pipes/format-phone/format-phone.pipe.js +3 -3
  221. package/esm2015/pipes/index.js +2 -1
  222. package/esm2015/pipes/month/month.module.js +4 -4
  223. package/esm2015/pipes/month/month.pipe.js +3 -3
  224. package/esm2015/pipes/order-week-days/order-week-days.module.js +4 -4
  225. package/esm2015/pipes/order-week-days/order-week-days.pipe.js +3 -3
  226. package/esm2015/services/format-date.service.js +3 -3
  227. package/esm2015/services/hint.service.js +3 -3
  228. package/esm2015/services/night-theme.service.js +3 -3
  229. package/esm2015/services/position.service.js +3 -3
  230. package/esm2015/services/router-link-active.service.js +3 -3
  231. package/esm2015/services/svg.service.js +3 -3
  232. package/esm2015/tokens/textfield-appearance.js +3 -1
  233. package/fesm2015/taiga-ui-core-abstract.js +6 -6
  234. package/fesm2015/taiga-ui-core-components-alert.js +10 -10
  235. package/fesm2015/taiga-ui-core-components-button.js +7 -7
  236. package/fesm2015/taiga-ui-core-components-calendar.js +7 -7
  237. package/fesm2015/taiga-ui-core-components-data-list.js +16 -16
  238. package/fesm2015/taiga-ui-core-components-dialog.js +16 -16
  239. package/fesm2015/taiga-ui-core-components-error.js +7 -7
  240. package/fesm2015/taiga-ui-core-components-expand.js +10 -10
  241. package/fesm2015/taiga-ui-core-components-group.js +10 -10
  242. package/fesm2015/taiga-ui-core-components-hints-host.js +7 -7
  243. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +10 -10
  244. package/fesm2015/taiga-ui-core-components-label.js +7 -7
  245. package/fesm2015/taiga-ui-core-components-link.js +8 -8
  246. package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
  247. package/fesm2015/taiga-ui-core-components-loader.js +7 -7
  248. package/fesm2015/taiga-ui-core-components-notification.js +7 -7
  249. package/fesm2015/taiga-ui-core-components-primitive-calendar.js +7 -7
  250. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +7 -7
  251. package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +7 -7
  252. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +21 -22
  253. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  254. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +7 -7
  255. package/fesm2015/taiga-ui-core-components-root.js +7 -7
  256. package/fesm2015/taiga-ui-core-components-scroll-controls.js +13 -13
  257. package/fesm2015/taiga-ui-core-components-scrollbar.js +13 -13
  258. package/fesm2015/taiga-ui-core-components-svg.js +7 -7
  259. package/fesm2015/taiga-ui-core-components-theme-night.js +7 -7
  260. package/fesm2015/taiga-ui-core-components-tooltip.js +7 -7
  261. package/fesm2015/taiga-ui-core-directives-dropdown.js +37 -37
  262. package/fesm2015/taiga-ui-core-directives-hint.js +34 -34
  263. package/fesm2015/taiga-ui-core-directives-mask-accessor.js +7 -7
  264. package/fesm2015/taiga-ui-core-directives-mode.js +7 -7
  265. package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +7 -7
  266. package/fesm2015/taiga-ui-core-directives-textfield-controller.js +83 -36
  267. package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
  268. package/fesm2015/taiga-ui-core-directives-wrapper.js +7 -7
  269. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +7 -7
  270. package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +7 -7
  271. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +7 -7
  272. package/fesm2015/taiga-ui-core-pipes-flag.js +64 -0
  273. package/fesm2015/taiga-ui-core-pipes-flag.js.map +1 -0
  274. package/fesm2015/taiga-ui-core-pipes-format-date.js +7 -7
  275. package/fesm2015/taiga-ui-core-pipes-format-number.js +7 -7
  276. package/fesm2015/taiga-ui-core-pipes-format-phone.js +7 -7
  277. package/fesm2015/taiga-ui-core-pipes-month.js +7 -7
  278. package/fesm2015/taiga-ui-core-pipes-order-week-days.js +7 -7
  279. package/fesm2015/taiga-ui-core-pipes.js +1 -0
  280. package/fesm2015/taiga-ui-core-pipes.js.map +1 -1
  281. package/fesm2015/taiga-ui-core-services.js +18 -18
  282. package/fesm2015/taiga-ui-core-tokens.js +2 -0
  283. package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
  284. package/package.json +4 -4
  285. package/pipes/flag/flag.module.d.ts +7 -0
  286. package/pipes/flag/flag.pipe.d.ts +13 -0
  287. package/pipes/flag/index.d.ts +2 -0
  288. package/pipes/flag/package.json +10 -0
  289. package/pipes/flag/taiga-ui-core-pipes-flag.d.ts +5 -0
  290. package/pipes/index.d.ts +1 -0
  291. package/tokens/textfield-appearance.d.ts +1 -0
@@ -51,8 +51,8 @@ class TuiHintOptionsDirective extends AbstractTuiController {
51
51
  this.icon = this.options.icon;
52
52
  }
53
53
  }
54
- TuiHintOptionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintOptionsDirective, deps: [{ token: TUI_HINT_OPTIONS, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
55
- TuiHintOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintOptionsDirective, selector: "[tuiHintContent]", inputs: { content: ["tuiHintContent", "content"], direction: ["tuiHintDirection", "direction"], appearance: ["tuiHintAppearance", "appearance"], showDelay: ["tuiHintShowDelay", "showDelay"], hideDelay: ["tuiHintHideDelay", "hideDelay"] }, providers: [
54
+ TuiHintOptionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintOptionsDirective, deps: [{ token: TUI_HINT_OPTIONS, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
55
+ TuiHintOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintOptionsDirective, selector: "[tuiHintContent]", inputs: { content: ["tuiHintContent", "content"], direction: ["tuiHintDirection", "direction"], appearance: ["tuiHintAppearance", "appearance"], showDelay: ["tuiHintShowDelay", "showDelay"], hideDelay: ["tuiHintHideDelay", "hideDelay"] }, providers: [
56
56
  {
57
57
  provide: TUI_HINT_OPTIONS,
58
58
  useExisting: forwardRef(() => TuiHintOptionsDirective),
@@ -73,7 +73,7 @@ __decorate([
73
73
  __decorate([
74
74
  tuiDefaultProp()
75
75
  ], TuiHintOptionsDirective.prototype, "hideDelay", void 0);
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintOptionsDirective, decorators: [{
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintOptionsDirective, decorators: [{
77
77
  type: Directive,
78
78
  args: [{
79
79
  selector: '[tuiHintContent]',
@@ -121,15 +121,15 @@ class TuiHintHoverDirective extends TuiDriver {
121
121
  this.toggle$.next(visible);
122
122
  }
123
123
  }
124
- TuiHintHoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintHoverDirective, deps: [{ token: TuiHoveredService }, { token: TUI_HINT_OPTIONS }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
125
- TuiHintHoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintHoverDirective, selector: "[tuiHint]:not(ng-container)", inputs: { showDelay: ["tuiHintShowDelay", "showDelay"], hideDelay: ["tuiHintHideDelay", "hideDelay"] }, providers: [tuiAsDriver(TuiHintHoverDirective), TuiHoveredService], exportAs: ["tuiHintHover"], usesInheritance: true, ngImport: i0 });
124
+ TuiHintHoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintHoverDirective, deps: [{ token: TuiHoveredService }, { token: TUI_HINT_OPTIONS }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
125
+ TuiHintHoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintHoverDirective, selector: "[tuiHint]:not(ng-container)", inputs: { showDelay: ["tuiHintShowDelay", "showDelay"], hideDelay: ["tuiHintHideDelay", "hideDelay"] }, providers: [tuiAsDriver(TuiHintHoverDirective), TuiHoveredService], exportAs: ["tuiHintHover"], usesInheritance: true, ngImport: i0 });
126
126
  __decorate([
127
127
  tuiDefaultProp()
128
128
  ], TuiHintHoverDirective.prototype, "showDelay", void 0);
129
129
  __decorate([
130
130
  tuiDefaultProp()
131
131
  ], TuiHintHoverDirective.prototype, "hideDelay", void 0);
132
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintHoverDirective, decorators: [{
132
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintHoverDirective, decorators: [{
133
133
  type: Directive,
134
134
  args: [{
135
135
  selector: '[tuiHint]:not(ng-container)',
@@ -165,12 +165,12 @@ class TuiHintPointerDirective extends TuiHintHoverDirective {
165
165
  return this.currentRect;
166
166
  }
167
167
  }
168
- TuiHintPointerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintPointerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
169
- TuiHintPointerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintPointerDirective, selector: "[tuiHint][tuiHintPointer]", host: { listeners: { "mousemove.silent": "onMove($event)" } }, providers: [
168
+ TuiHintPointerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintPointerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
169
+ TuiHintPointerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintPointerDirective, selector: "[tuiHint][tuiHintPointer]", host: { listeners: { "mousemove.silent": "onMove($event)" } }, providers: [
170
170
  tuiAsRectAccessor(TuiHintPointerDirective),
171
171
  tuiAsDriver(TuiHintPointerDirective),
172
172
  ], usesInheritance: true, ngImport: i0 });
173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintPointerDirective, decorators: [{
173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintPointerDirective, decorators: [{
174
174
  type: Directive,
175
175
  args: [{
176
176
  selector: '[tuiHint][tuiHintPointer]',
@@ -228,8 +228,8 @@ class TuiHintComponent {
228
228
  style.setProperty('--left', tuiPx(tuiClamp(beakLeft, 0.5, width - 1)));
229
229
  }
230
230
  }
231
- TuiHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintComponent, deps: [{ token: TuiHoveredService }, { token: TuiPositionService }, { token: TuiDestroyService, self: true }, { token: TuiRectAccessor }, { token: ElementRef }, { token: TUI_ANIMATION_OPTIONS }, { token: POLYMORPHEUS_CONTEXT }, { token: TuiHintHoverDirective }, { token: TuiHintPointerDirective, optional: true }, { token: TuiModeDirective, optional: true }], target: i0.ɵɵFactoryTarget.Component });
232
- TuiHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintComponent, selector: "tui-hint", host: { listeners: { "document:click": "onClick($event.target)" }, properties: { "@tuiFadeIn": "this.animation", "attr.data-appearance": "this.appearance", "class._untouchable": "this.untouchable" } }, providers: [TuiDestroyService, TuiPositionService, TuiHoveredService], ngImport: i0, template: `
231
+ TuiHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintComponent, deps: [{ token: TuiHoveredService }, { token: TuiPositionService }, { token: TuiDestroyService, self: true }, { token: TuiRectAccessor }, { token: ElementRef }, { token: TUI_ANIMATION_OPTIONS }, { token: POLYMORPHEUS_CONTEXT }, { token: TuiHintHoverDirective }, { token: TuiHintPointerDirective, optional: true }, { token: TuiModeDirective, optional: true }], target: i0.ɵɵFactoryTarget.Component });
232
+ TuiHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintComponent, selector: "tui-hint", host: { listeners: { "document:click": "onClick($event.target)" }, properties: { "@tuiFadeIn": "this.animation", "attr.data-appearance": "this.appearance", "class._untouchable": "this.untouchable" } }, providers: [TuiDestroyService, TuiPositionService, TuiHoveredService], ngImport: i0, template: `
233
233
  <ng-container *polymorpheusOutlet="content as text; context: context">
234
234
  {{ text }}
235
235
  </ng-container>
@@ -237,7 +237,7 @@ TuiHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
237
237
  __decorate([
238
238
  tuiPure
239
239
  ], TuiHintComponent.prototype, "update", null);
240
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintComponent, decorators: [{
240
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintComponent, decorators: [{
241
241
  type: Component,
242
242
  args: [{
243
243
  selector: 'tui-hint',
@@ -339,8 +339,8 @@ class TuiHintDirective {
339
339
  }
340
340
  }
341
341
  }
342
- TuiHintDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintDirective, deps: [{ token: ElementRef }, { token: PolymorpheusComponent }, { token: TuiHintService }, { token: TUI_HINT_OPTIONS }, { token: TuiActiveZoneDirective, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
343
- TuiHintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintDirective, selector: "[tuiHint]:not(ng-container)", inputs: { content: ["tuiHint", "content"], context: ["tuiHintContext", "context"], tuiHintAppearance: "tuiHintAppearance" }, providers: [
342
+ TuiHintDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintDirective, deps: [{ token: ElementRef }, { token: PolymorpheusComponent }, { token: TuiHintService }, { token: TUI_HINT_OPTIONS }, { token: TuiActiveZoneDirective, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
343
+ TuiHintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintDirective, selector: "[tuiHint]:not(ng-container)", inputs: { content: ["tuiHint", "content"], context: ["tuiHintContext", "context"], tuiHintAppearance: "tuiHintAppearance" }, providers: [
344
344
  tuiAsRectAccessor(TuiHintDirective),
345
345
  tuiAsVehicle(TuiHintDirective),
346
346
  {
@@ -355,7 +355,7 @@ __decorate([
355
355
  __decorate([
356
356
  tuiDefaultProp()
357
357
  ], TuiHintDirective.prototype, "tuiHintAppearance", void 0);
358
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintDirective, decorators: [{
358
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintDirective, decorators: [{
359
359
  type: Directive,
360
360
  args: [{
361
361
  selector: '[tuiHint]:not(ng-container)',
@@ -419,12 +419,12 @@ class TuiHintDescribeDirective extends TuiDriver {
419
419
  this.elementRef.nativeElement);
420
420
  }
421
421
  }
422
- TuiHintDescribeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintDescribeDirective, deps: [{ token: NgZone }, { token: TuiHintHoverDirective }, { token: DOCUMENT }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
423
- TuiHintDescribeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintDescribeDirective, selector: "[tuiHintDescribe]", inputs: { tuiHintDescribe: "tuiHintDescribe" }, providers: [tuiAsDriver(TuiHintDescribeDirective)], usesInheritance: true, ngImport: i0 });
422
+ TuiHintDescribeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintDescribeDirective, deps: [{ token: NgZone }, { token: TuiHintHoverDirective }, { token: DOCUMENT }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
423
+ TuiHintDescribeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintDescribeDirective, selector: "[tuiHintDescribe]", inputs: { tuiHintDescribe: "tuiHintDescribe" }, providers: [tuiAsDriver(TuiHintDescribeDirective)], usesInheritance: true, ngImport: i0 });
424
424
  __decorate([
425
425
  tuiPure
426
426
  ], TuiHintDescribeDirective.prototype, "element", null);
427
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintDescribeDirective, decorators: [{
427
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintDescribeDirective, decorators: [{
428
428
  type: Directive,
429
429
  args: [{
430
430
  selector: '[tuiHintDescribe]',
@@ -448,9 +448,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
448
448
 
449
449
  class TuiHintDriverDirective extends AbstractTuiDriverDirective {
450
450
  }
451
- TuiHintDriverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintDriverDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
452
- TuiHintDriverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintDriverDirective, selector: "[tuiHint]", providers: [TuiDestroyService], usesInheritance: true, ngImport: i0 });
453
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintDriverDirective, decorators: [{
451
+ TuiHintDriverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintDriverDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
452
+ TuiHintDriverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintDriverDirective, selector: "[tuiHint]", providers: [TuiDestroyService], usesInheritance: true, ngImport: i0 });
453
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintDriverDirective, decorators: [{
454
454
  type: Directive,
455
455
  args: [{
456
456
  selector: '[tuiHint]',
@@ -464,9 +464,9 @@ class TuiHintHostDirective extends TuiRectAccessor {
464
464
  return ((_a = this.tuiHintHost) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) || EMPTY_CLIENT_RECT;
465
465
  }
466
466
  }
467
- TuiHintHostDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintHostDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
468
- TuiHintHostDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintHostDirective, selector: "[tuiHint][tuiHintHost]", inputs: { tuiHintHost: "tuiHintHost" }, providers: [tuiAsRectAccessor(TuiHintHostDirective)], usesInheritance: true, ngImport: i0 });
469
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintHostDirective, decorators: [{
467
+ TuiHintHostDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintHostDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
468
+ TuiHintHostDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintHostDirective, selector: "[tuiHint][tuiHintHost]", inputs: { tuiHintHost: "tuiHintHost" }, providers: [tuiAsRectAccessor(TuiHintHostDirective)], usesInheritance: true, ngImport: i0 });
469
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintHostDirective, decorators: [{
470
470
  type: Directive,
471
471
  args: [{
472
472
  selector: '[tuiHint][tuiHintHost]',
@@ -486,9 +486,9 @@ class TuiHintManualDirective extends TuiDriver {
486
486
  this.stream$.next(this.tuiHintManual);
487
487
  }
488
488
  }
489
- TuiHintManualDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintManualDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
490
- TuiHintManualDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintManualDirective, selector: "[tuiHint][tuiHintManual]", inputs: { tuiHintManual: "tuiHintManual" }, providers: [tuiAsDriver(TuiHintManualDirective)], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
491
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintManualDirective, decorators: [{
489
+ TuiHintManualDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintManualDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
490
+ TuiHintManualDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintManualDirective, selector: "[tuiHint][tuiHintManual]", inputs: { tuiHintManual: "tuiHintManual" }, providers: [tuiAsDriver(TuiHintManualDirective)], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
491
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintManualDirective, decorators: [{
492
492
  type: Directive,
493
493
  args: [{
494
494
  selector: '[tuiHint][tuiHintManual]',
@@ -559,12 +559,12 @@ class TuiHintPositionDirective {
559
559
  left + width < viewport.right - OFFSET);
560
560
  }
561
561
  }
562
- TuiHintPositionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintPositionDirective, deps: [{ token: TUI_HINT_OPTIONS }, { token: TUI_VIEWPORT }, { token: TuiRectAccessor }], target: i0.ɵɵFactoryTarget.Directive });
563
- TuiHintPositionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintPositionDirective, selector: "[tuiHint]:not([tuiHintCustomPosition])", inputs: { direction: ["tuiHintDirection", "direction"] }, providers: [tuiAsPositionAccessor(TuiHintPositionDirective)], ngImport: i0 });
562
+ TuiHintPositionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintPositionDirective, deps: [{ token: TUI_HINT_OPTIONS }, { token: TUI_VIEWPORT }, { token: TuiRectAccessor }], target: i0.ɵɵFactoryTarget.Directive });
563
+ TuiHintPositionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintPositionDirective, selector: "[tuiHint]:not([tuiHintCustomPosition])", inputs: { direction: ["tuiHintDirection", "direction"] }, providers: [tuiAsPositionAccessor(TuiHintPositionDirective)], ngImport: i0 });
564
564
  __decorate([
565
565
  tuiDefaultProp()
566
566
  ], TuiHintPositionDirective.prototype, "direction", void 0);
567
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintPositionDirective, decorators: [{
567
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintPositionDirective, decorators: [{
568
568
  type: Directive,
569
569
  args: [{
570
570
  selector: '[tuiHint]:not([tuiHintCustomPosition])',
@@ -586,8 +586,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
586
586
 
587
587
  class TuiHintModule {
588
588
  }
589
- TuiHintModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
590
- TuiHintModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintModule, declarations: [TuiHintComponent,
589
+ TuiHintModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
590
+ TuiHintModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintModule, declarations: [TuiHintComponent,
591
591
  TuiHintDirective,
592
592
  TuiHintDriverDirective,
593
593
  TuiHintHostDirective,
@@ -606,8 +606,8 @@ TuiHintModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
606
606
  TuiHintDescribeDirective,
607
607
  TuiHintPositionDirective,
608
608
  TuiHintOptionsDirective] });
609
- TuiHintModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintModule, imports: [[CommonModule, PolymorpheusModule]] });
610
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintModule, decorators: [{
609
+ TuiHintModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintModule, imports: [[CommonModule, PolymorpheusModule]] });
610
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintModule, decorators: [{
611
611
  type: NgModule,
612
612
  args: [{
613
613
  imports: [CommonModule, PolymorpheusModule],
@@ -5,8 +5,8 @@ import { TUI_VALUE_ACCESSOR } from '@taiga-ui/core/tokens';
5
5
 
6
6
  class TuiMaskAccessorDirective {
7
7
  }
8
- TuiMaskAccessorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMaskAccessorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
9
- TuiMaskAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiMaskAccessorDirective, selector: "input[tuiMaskAccessor]", providers: [
8
+ TuiMaskAccessorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMaskAccessorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
9
+ TuiMaskAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiMaskAccessorDirective, selector: "input[tuiMaskAccessor]", providers: [
10
10
  {
11
11
  provide: NG_VALUE_ACCESSOR,
12
12
  deps: [[new Optional(), TUI_VALUE_ACCESSOR], DefaultValueAccessor],
@@ -14,7 +14,7 @@ TuiMaskAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0
14
14
  useFactory: (accessor, fallback) => (accessor ? accessor[0] : fallback),
15
15
  },
16
16
  ], ngImport: i0 });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMaskAccessorDirective, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMaskAccessorDirective, decorators: [{
18
18
  type: Directive,
19
19
  args: [{
20
20
  selector: 'input[tuiMaskAccessor]',
@@ -34,10 +34,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
34
34
  */
35
35
  class TuiMaskAccessorModule {
36
36
  }
37
- TuiMaskAccessorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMaskAccessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
38
- TuiMaskAccessorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMaskAccessorModule, declarations: [TuiMaskAccessorDirective], exports: [TuiMaskAccessorDirective] });
39
- TuiMaskAccessorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMaskAccessorModule });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMaskAccessorModule, decorators: [{
37
+ TuiMaskAccessorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMaskAccessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
38
+ TuiMaskAccessorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMaskAccessorModule, declarations: [TuiMaskAccessorDirective], exports: [TuiMaskAccessorDirective] });
39
+ TuiMaskAccessorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMaskAccessorModule });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMaskAccessorModule, decorators: [{
41
41
  type: NgModule,
42
42
  args: [{
43
43
  declarations: [TuiMaskAccessorDirective],
@@ -8,9 +8,9 @@ class TuiModeDirective extends AbstractTuiController {
8
8
  this.mode = null;
9
9
  }
10
10
  }
11
- TuiModeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiModeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
12
- TuiModeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiModeDirective, selector: "[tuiMode]", inputs: { mode: ["tuiMode", "mode"] }, usesInheritance: true, ngImport: i0 });
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiModeDirective, decorators: [{
11
+ TuiModeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiModeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
12
+ TuiModeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiModeDirective, selector: "[tuiMode]", inputs: { mode: ["tuiMode", "mode"] }, usesInheritance: true, ngImport: i0 });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiModeDirective, decorators: [{
14
14
  type: Directive,
15
15
  args: [{
16
16
  selector: '[tuiMode]',
@@ -22,10 +22,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
22
22
 
23
23
  class TuiModeModule {
24
24
  }
25
- TuiModeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiModeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
26
- TuiModeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiModeModule, declarations: [TuiModeDirective], exports: [TuiModeDirective] });
27
- TuiModeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiModeModule });
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiModeModule, decorators: [{
25
+ TuiModeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiModeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
26
+ TuiModeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiModeModule, declarations: [TuiModeDirective], exports: [TuiModeDirective] });
27
+ TuiModeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiModeModule });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiModeModule, decorators: [{
29
29
  type: NgModule,
30
30
  args: [{
31
31
  declarations: [TuiModeDirective],
@@ -31,12 +31,12 @@ class TuiScrollIntoViewDirective {
31
31
  });
32
32
  }
33
33
  }
34
- TuiScrollIntoViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiScrollIntoViewDirective, deps: [{ token: ElementRef }, { token: TuiDestroyService, self: true }], target: i0.ɵɵFactoryTarget.Directive });
35
- TuiScrollIntoViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiScrollIntoViewDirective, selector: "[tuiScrollIntoView]", inputs: { tuiScrollIntoView: "tuiScrollIntoView" }, providers: [TuiDestroyService], ngImport: i0 });
34
+ TuiScrollIntoViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiScrollIntoViewDirective, deps: [{ token: ElementRef }, { token: TuiDestroyService, self: true }], target: i0.ɵɵFactoryTarget.Directive });
35
+ TuiScrollIntoViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiScrollIntoViewDirective, selector: "[tuiScrollIntoView]", inputs: { tuiScrollIntoView: "tuiScrollIntoView" }, providers: [TuiDestroyService], ngImport: i0 });
36
36
  __decorate([
37
37
  tuiRequiredSetter()
38
38
  ], TuiScrollIntoViewDirective.prototype, "tuiScrollIntoView", null);
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiScrollIntoViewDirective, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiScrollIntoViewDirective, decorators: [{
40
40
  type: Directive,
41
41
  args: [{
42
42
  selector: '[tuiScrollIntoView]',
@@ -56,10 +56,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
56
56
 
57
57
  class TuiScrollIntoViewModule {
58
58
  }
59
- TuiScrollIntoViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiScrollIntoViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
60
- TuiScrollIntoViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiScrollIntoViewModule, declarations: [TuiScrollIntoViewDirective], exports: [TuiScrollIntoViewDirective] });
61
- TuiScrollIntoViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiScrollIntoViewModule });
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiScrollIntoViewModule, decorators: [{
59
+ TuiScrollIntoViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiScrollIntoViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
60
+ TuiScrollIntoViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiScrollIntoViewModule, declarations: [TuiScrollIntoViewDirective], exports: [TuiScrollIntoViewDirective] });
61
+ TuiScrollIntoViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiScrollIntoViewModule });
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiScrollIntoViewModule, decorators: [{
63
63
  type: NgModule,
64
64
  args: [{
65
65
  declarations: [TuiScrollIntoViewDirective],
@@ -1,13 +1,16 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, forwardRef, Directive, Input, NgModule, ChangeDetectorRef } from '@angular/core';
3
3
  import { AbstractTuiController, TuiDestroyService, tuiWatch } from '@taiga-ui/cdk';
4
+ import { TUI_TEXTFIELD_APPEARANCE } from '@taiga-ui/core/tokens';
4
5
  import { merge, NEVER } from 'rxjs';
5
6
  import { takeUntil } from 'rxjs/operators';
6
7
 
7
8
  class TuiTextfieldController {
8
- constructor(change$, options, cleanerDirective, customContentDirective, iconDirective, iconLeftDirective, labelOutsideDirective, sizeDirective, prefixDirective, postfixDirective, fillerDirective) {
9
+ constructor(change$, options, legacyAppearance, appearanceDirective, cleanerDirective, customContentDirective, iconDirective, iconLeftDirective, labelOutsideDirective, sizeDirective, prefixDirective, postfixDirective, fillerDirective) {
9
10
  this.change$ = change$;
10
11
  this.options = options;
12
+ this.legacyAppearance = legacyAppearance;
13
+ this.appearanceDirective = appearanceDirective;
11
14
  this.cleanerDirective = cleanerDirective;
12
15
  this.customContentDirective = customContentDirective;
13
16
  this.iconDirective = iconDirective;
@@ -18,6 +21,9 @@ class TuiTextfieldController {
18
21
  this.postfixDirective = postfixDirective;
19
22
  this.fillerDirective = fillerDirective;
20
23
  }
24
+ get appearance() {
25
+ return this.appearanceDirective.appearance || this.legacyAppearance;
26
+ }
21
27
  get cleaner() {
22
28
  return this.cleanerDirective.cleaner;
23
29
  }
@@ -47,6 +53,41 @@ class TuiTextfieldController {
47
53
  }
48
54
  }
49
55
 
56
+ // TODO: rename to TUI_TEXTFIELD_APPEARANCE in v4
57
+ const TUI_TEXTFIELD_APPEARANCE_DIRECTIVE = new InjectionToken('[TUI_TEXTFIELD_APPEARANCE_DIRECTIVE]: tuiTextfieldAppearance', {
58
+ factory: () => new TuiTextfieldAppearanceDirective(),
59
+ });
60
+ class TuiTextfieldAppearanceDirective extends AbstractTuiController {
61
+ constructor() {
62
+ super(...arguments);
63
+ // it's an empty string by default for backward compatibility
64
+ // (see comment https://github.com/Tinkoff/taiga-ui/pull/3007#issuecomment-1315179508)
65
+ this.appearance = '';
66
+ }
67
+ }
68
+ TuiTextfieldAppearanceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldAppearanceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
69
+ TuiTextfieldAppearanceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldAppearanceDirective, selector: "[tuiTextfieldAppearance]", inputs: { appearance: ["tuiTextfieldAppearance", "appearance"] }, providers: [
70
+ {
71
+ provide: TUI_TEXTFIELD_APPEARANCE_DIRECTIVE,
72
+ useExisting: forwardRef(() => TuiTextfieldAppearanceDirective),
73
+ },
74
+ ], usesInheritance: true, ngImport: i0 });
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldAppearanceDirective, decorators: [{
76
+ type: Directive,
77
+ args: [{
78
+ selector: '[tuiTextfieldAppearance]',
79
+ providers: [
80
+ {
81
+ provide: TUI_TEXTFIELD_APPEARANCE_DIRECTIVE,
82
+ useExisting: forwardRef(() => TuiTextfieldAppearanceDirective),
83
+ },
84
+ ],
85
+ }]
86
+ }], propDecorators: { appearance: [{
87
+ type: Input,
88
+ args: ['tuiTextfieldAppearance']
89
+ }] } });
90
+
50
91
  const TUI_TEXTFIELD_CLEANER = new InjectionToken('[TUI_TEXTFIELD_CLEANER]: tuiTextfieldCleaner', {
51
92
  factory: () => new TuiTextfieldCleanerDirective(),
52
93
  });
@@ -56,14 +97,14 @@ class TuiTextfieldCleanerDirective extends AbstractTuiController {
56
97
  this.cleaner = false;
57
98
  }
58
99
  }
59
- TuiTextfieldCleanerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldCleanerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
60
- TuiTextfieldCleanerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiTextfieldCleanerDirective, selector: "[tuiTextfieldCleaner]", inputs: { cleaner: ["tuiTextfieldCleaner", "cleaner"] }, providers: [
100
+ TuiTextfieldCleanerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldCleanerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
101
+ TuiTextfieldCleanerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldCleanerDirective, selector: "[tuiTextfieldCleaner]", inputs: { cleaner: ["tuiTextfieldCleaner", "cleaner"] }, providers: [
61
102
  {
62
103
  provide: TUI_TEXTFIELD_CLEANER,
63
104
  useExisting: forwardRef(() => TuiTextfieldCleanerDirective),
64
105
  },
65
106
  ], usesInheritance: true, ngImport: i0 });
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldCleanerDirective, decorators: [{
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldCleanerDirective, decorators: [{
67
108
  type: Directive,
68
109
  args: [{
69
110
  selector: '[tuiTextfieldCleaner]',
@@ -88,14 +129,14 @@ class TuiTextfieldCustomContentDirective extends AbstractTuiController {
88
129
  this.customContent = '';
89
130
  }
90
131
  }
91
- TuiTextfieldCustomContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldCustomContentDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
92
- TuiTextfieldCustomContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiTextfieldCustomContentDirective, selector: "[tuiTextfieldCustomContent]", inputs: { customContent: ["tuiTextfieldCustomContent", "customContent"] }, providers: [
132
+ TuiTextfieldCustomContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldCustomContentDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
133
+ TuiTextfieldCustomContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldCustomContentDirective, selector: "[tuiTextfieldCustomContent]", inputs: { customContent: ["tuiTextfieldCustomContent", "customContent"] }, providers: [
93
134
  {
94
135
  provide: TUI_TEXTFIELD_CUSTOM_CONTENT,
95
136
  useExisting: forwardRef(() => TuiTextfieldCustomContentDirective),
96
137
  },
97
138
  ], usesInheritance: true, ngImport: i0 });
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldCustomContentDirective, decorators: [{
139
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldCustomContentDirective, decorators: [{
99
140
  type: Directive,
100
141
  args: [{
101
142
  selector: '[tuiTextfieldCustomContent]',
@@ -120,14 +161,14 @@ class TuiTextfieldFillerDirective extends AbstractTuiController {
120
161
  this.filler = '';
121
162
  }
122
163
  }
123
- TuiTextfieldFillerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldFillerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
124
- TuiTextfieldFillerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: { filler: ["tuiTextfieldFiller", "filler"] }, providers: [
164
+ TuiTextfieldFillerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldFillerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
165
+ TuiTextfieldFillerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: { filler: ["tuiTextfieldFiller", "filler"] }, providers: [
125
166
  {
126
167
  provide: TUI_TEXTFIELD_FILLER,
127
168
  useExisting: forwardRef(() => TuiTextfieldFillerDirective),
128
169
  },
129
170
  ], usesInheritance: true, ngImport: i0 });
130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldFillerDirective, decorators: [{
171
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldFillerDirective, decorators: [{
131
172
  type: Directive,
132
173
  args: [{
133
174
  selector: '[tuiTextfieldFiller]',
@@ -152,14 +193,14 @@ class TuiTextfieldIconDirective extends AbstractTuiController {
152
193
  this.icon = '';
153
194
  }
154
195
  }
155
- TuiTextfieldIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldIconDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
156
- TuiTextfieldIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: { icon: ["tuiTextfieldIcon", "icon"] }, providers: [
196
+ TuiTextfieldIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldIconDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
197
+ TuiTextfieldIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: { icon: ["tuiTextfieldIcon", "icon"] }, providers: [
157
198
  {
158
199
  provide: TUI_TEXTFIELD_ICON,
159
200
  useExisting: forwardRef(() => TuiTextfieldIconDirective),
160
201
  },
161
202
  ], usesInheritance: true, ngImport: i0 });
162
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldIconDirective, decorators: [{
203
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldIconDirective, decorators: [{
163
204
  type: Directive,
164
205
  args: [{
165
206
  selector: '[tuiTextfieldIcon]',
@@ -187,14 +228,14 @@ class TuiTextfieldIconLeftDirective extends AbstractTuiController {
187
228
  this.iconLeft = '';
188
229
  }
189
230
  }
190
- TuiTextfieldIconLeftDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldIconLeftDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
191
- TuiTextfieldIconLeftDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiTextfieldIconLeftDirective, selector: "[tuiTextfieldIconLeft]", inputs: { iconLeft: ["tuiTextfieldIconLeft", "iconLeft"] }, providers: [
231
+ TuiTextfieldIconLeftDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldIconLeftDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
232
+ TuiTextfieldIconLeftDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldIconLeftDirective, selector: "[tuiTextfieldIconLeft]", inputs: { iconLeft: ["tuiTextfieldIconLeft", "iconLeft"] }, providers: [
192
233
  {
193
234
  provide: TUI_TEXTFIELD_ICON_LEFT,
194
235
  useExisting: forwardRef(() => TuiTextfieldIconLeftDirective),
195
236
  },
196
237
  ], usesInheritance: true, ngImport: i0 });
197
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldIconLeftDirective, decorators: [{
238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldIconLeftDirective, decorators: [{
198
239
  type: Directive,
199
240
  args: [{
200
241
  selector: '[tuiTextfieldIconLeft]',
@@ -222,14 +263,14 @@ class TuiTextfieldLabelOutsideDirective extends AbstractTuiController {
222
263
  this.labelOutside = false;
223
264
  }
224
265
  }
225
- TuiTextfieldLabelOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldLabelOutsideDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
226
- TuiTextfieldLabelOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiTextfieldLabelOutsideDirective, selector: "[tuiTextfieldLabelOutside]", inputs: { labelOutside: ["tuiTextfieldLabelOutside", "labelOutside"] }, providers: [
266
+ TuiTextfieldLabelOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldLabelOutsideDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
267
+ TuiTextfieldLabelOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldLabelOutsideDirective, selector: "[tuiTextfieldLabelOutside]", inputs: { labelOutside: ["tuiTextfieldLabelOutside", "labelOutside"] }, providers: [
227
268
  {
228
269
  provide: TUI_TEXTFIELD_LABEL_OUTSIDE,
229
270
  useExisting: forwardRef(() => TuiTextfieldLabelOutsideDirective),
230
271
  },
231
272
  ], usesInheritance: true, ngImport: i0 });
232
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldLabelOutsideDirective, decorators: [{
273
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldLabelOutsideDirective, decorators: [{
233
274
  type: Directive,
234
275
  args: [{
235
276
  selector: '[tuiTextfieldLabelOutside]',
@@ -254,14 +295,14 @@ class TuiTextfieldPostfixDirective extends AbstractTuiController {
254
295
  this.postfix = '';
255
296
  }
256
297
  }
257
- TuiTextfieldPostfixDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldPostfixDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
258
- TuiTextfieldPostfixDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiTextfieldPostfixDirective, selector: "[tuiTextfieldPostfix]", inputs: { postfix: ["tuiTextfieldPostfix", "postfix"] }, providers: [
298
+ TuiTextfieldPostfixDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldPostfixDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
299
+ TuiTextfieldPostfixDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldPostfixDirective, selector: "[tuiTextfieldPostfix]", inputs: { postfix: ["tuiTextfieldPostfix", "postfix"] }, providers: [
259
300
  {
260
301
  provide: TUI_TEXTFIELD_POSTFIX,
261
302
  useExisting: forwardRef(() => TuiTextfieldPostfixDirective),
262
303
  },
263
304
  ], usesInheritance: true, ngImport: i0 });
264
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldPostfixDirective, decorators: [{
305
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldPostfixDirective, decorators: [{
265
306
  type: Directive,
266
307
  args: [{
267
308
  selector: '[tuiTextfieldPostfix]',
@@ -286,14 +327,14 @@ class TuiTextfieldPrefixDirective extends AbstractTuiController {
286
327
  this.prefix = '';
287
328
  }
288
329
  }
289
- TuiTextfieldPrefixDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldPrefixDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
290
- TuiTextfieldPrefixDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiTextfieldPrefixDirective, selector: "[tuiTextfieldPrefix]", inputs: { prefix: ["tuiTextfieldPrefix", "prefix"] }, providers: [
330
+ TuiTextfieldPrefixDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldPrefixDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
331
+ TuiTextfieldPrefixDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldPrefixDirective, selector: "[tuiTextfieldPrefix]", inputs: { prefix: ["tuiTextfieldPrefix", "prefix"] }, providers: [
291
332
  {
292
333
  provide: TUI_TEXTFIELD_PREFIX,
293
334
  useExisting: forwardRef(() => TuiTextfieldPrefixDirective),
294
335
  },
295
336
  ], usesInheritance: true, ngImport: i0 });
296
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldPrefixDirective, decorators: [{
337
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldPrefixDirective, decorators: [{
297
338
  type: Directive,
298
339
  args: [{
299
340
  selector: '[tuiTextfieldPrefix]',
@@ -318,14 +359,14 @@ class TuiTextfieldSizeDirective extends AbstractTuiController {
318
359
  this.size = 'l';
319
360
  }
320
361
  }
321
- TuiTextfieldSizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldSizeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
322
- TuiTextfieldSizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiTextfieldSizeDirective, selector: "[tuiTextfieldSize]", inputs: { size: ["tuiTextfieldSize", "size"] }, providers: [
362
+ TuiTextfieldSizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldSizeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
363
+ TuiTextfieldSizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldSizeDirective, selector: "[tuiTextfieldSize]", inputs: { size: ["tuiTextfieldSize", "size"] }, providers: [
323
364
  {
324
365
  provide: TUI_TEXTFIELD_SIZE,
325
366
  useExisting: forwardRef(() => TuiTextfieldSizeDirective),
326
367
  },
327
368
  ], usesInheritance: true, ngImport: i0 });
328
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldSizeDirective, decorators: [{
369
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldSizeDirective, decorators: [{
329
370
  type: Directive,
330
371
  args: [{
331
372
  selector: '[tuiTextfieldSize]',
@@ -343,8 +384,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
343
384
 
344
385
  class TuiTextfieldControllerModule {
345
386
  }
346
- TuiTextfieldControllerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldControllerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
347
- TuiTextfieldControllerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldControllerModule, declarations: [TuiTextfieldCleanerDirective,
387
+ TuiTextfieldControllerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldControllerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
388
+ TuiTextfieldControllerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldControllerModule, declarations: [TuiTextfieldAppearanceDirective,
389
+ TuiTextfieldCleanerDirective,
348
390
  TuiTextfieldCustomContentDirective,
349
391
  TuiTextfieldLabelOutsideDirective,
350
392
  TuiTextfieldSizeDirective,
@@ -352,7 +394,8 @@ TuiTextfieldControllerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.
352
394
  TuiTextfieldIconLeftDirective,
353
395
  TuiTextfieldPrefixDirective,
354
396
  TuiTextfieldPostfixDirective,
355
- TuiTextfieldFillerDirective], exports: [TuiTextfieldCleanerDirective,
397
+ TuiTextfieldFillerDirective], exports: [TuiTextfieldAppearanceDirective,
398
+ TuiTextfieldCleanerDirective,
356
399
  TuiTextfieldCustomContentDirective,
357
400
  TuiTextfieldLabelOutsideDirective,
358
401
  TuiTextfieldSizeDirective,
@@ -361,11 +404,12 @@ TuiTextfieldControllerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.
361
404
  TuiTextfieldPrefixDirective,
362
405
  TuiTextfieldPostfixDirective,
363
406
  TuiTextfieldFillerDirective] });
364
- TuiTextfieldControllerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldControllerModule });
365
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldControllerModule, decorators: [{
407
+ TuiTextfieldControllerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldControllerModule });
408
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldControllerModule, decorators: [{
366
409
  type: NgModule,
367
410
  args: [{
368
411
  declarations: [
412
+ TuiTextfieldAppearanceDirective,
369
413
  TuiTextfieldCleanerDirective,
370
414
  TuiTextfieldCustomContentDirective,
371
415
  TuiTextfieldLabelOutsideDirective,
@@ -377,6 +421,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
377
421
  TuiTextfieldFillerDirective,
378
422
  ],
379
423
  exports: [
424
+ TuiTextfieldAppearanceDirective,
380
425
  TuiTextfieldCleanerDirective,
381
426
  TuiTextfieldCustomContentDirective,
382
427
  TuiTextfieldLabelOutsideDirective,
@@ -409,6 +454,8 @@ const TEXTFIELD_CONTROLLER_PROVIDER = [
409
454
  ChangeDetectorRef,
410
455
  TuiDestroyService,
411
456
  TUI_TEXTFIELD_OPTIONS,
457
+ TUI_TEXTFIELD_APPEARANCE,
458
+ TUI_TEXTFIELD_APPEARANCE_DIRECTIVE,
412
459
  TUI_TEXTFIELD_CLEANER,
413
460
  TUI_TEXTFIELD_CUSTOM_CONTENT,
414
461
  TUI_TEXTFIELD_ICON,
@@ -419,10 +466,10 @@ const TEXTFIELD_CONTROLLER_PROVIDER = [
419
466
  TUI_TEXTFIELD_POSTFIX,
420
467
  TUI_TEXTFIELD_FILLER,
421
468
  ],
422
- useFactory: (changeDetectorRef, destroy$, options, ...controllers) => {
469
+ useFactory: (changeDetectorRef, destroy$, options, legacyAppearance, ...controllers) => {
423
470
  const change$ = merge(...controllers.map(({ change$ }) => change$ || NEVER)).pipe(tuiWatch(changeDetectorRef), takeUntil(destroy$));
424
471
  change$.subscribe();
425
- return new TuiTextfieldController(change$, options, ...controllers);
472
+ return new TuiTextfieldController(change$, options, legacyAppearance, ...controllers);
426
473
  },
427
474
  },
428
475
  ];
@@ -431,5 +478,5 @@ const TEXTFIELD_CONTROLLER_PROVIDER = [
431
478
  * Generated bundle index. Do not edit.
432
479
  */
433
480
 
434
- export { TEXTFIELD_CONTROLLER_PROVIDER, TUI_TEXTFIELD_CLEANER, TUI_TEXTFIELD_CUSTOM_CONTENT, TUI_TEXTFIELD_DEFAULT_OPTIONS, TUI_TEXTFIELD_FILLER, TUI_TEXTFIELD_ICON, TUI_TEXTFIELD_ICON_LEFT, TUI_TEXTFIELD_LABEL_OUTSIDE, TUI_TEXTFIELD_OPTIONS, TUI_TEXTFIELD_POSTFIX, TUI_TEXTFIELD_PREFIX, TUI_TEXTFIELD_SIZE, TUI_TEXTFIELD_WATCHED_CONTROLLER, TuiTextfieldCleanerDirective, TuiTextfieldController, TuiTextfieldControllerModule, TuiTextfieldCustomContentDirective, TuiTextfieldFillerDirective, TuiTextfieldIconDirective, TuiTextfieldIconLeftDirective, TuiTextfieldLabelOutsideDirective, TuiTextfieldPostfixDirective, TuiTextfieldPrefixDirective, TuiTextfieldSizeDirective, tuiIconDirectiveFactory, tuiIconLeftDirectiveFactory, tuiTextfieldOptionsProvider };
481
+ export { TEXTFIELD_CONTROLLER_PROVIDER, TUI_TEXTFIELD_APPEARANCE_DIRECTIVE, TUI_TEXTFIELD_CLEANER, TUI_TEXTFIELD_CUSTOM_CONTENT, TUI_TEXTFIELD_DEFAULT_OPTIONS, TUI_TEXTFIELD_FILLER, TUI_TEXTFIELD_ICON, TUI_TEXTFIELD_ICON_LEFT, TUI_TEXTFIELD_LABEL_OUTSIDE, TUI_TEXTFIELD_OPTIONS, TUI_TEXTFIELD_POSTFIX, TUI_TEXTFIELD_PREFIX, TUI_TEXTFIELD_SIZE, TUI_TEXTFIELD_WATCHED_CONTROLLER, TuiTextfieldAppearanceDirective, TuiTextfieldCleanerDirective, TuiTextfieldController, TuiTextfieldControllerModule, TuiTextfieldCustomContentDirective, TuiTextfieldFillerDirective, TuiTextfieldIconDirective, TuiTextfieldIconLeftDirective, TuiTextfieldLabelOutsideDirective, TuiTextfieldPostfixDirective, TuiTextfieldPrefixDirective, TuiTextfieldSizeDirective, tuiIconDirectiveFactory, tuiIconLeftDirectiveFactory, tuiTextfieldOptionsProvider };
435
482
  //# sourceMappingURL=taiga-ui-core-directives-textfield-controller.js.map