@taiga-ui/legacy 4.0.0-alpha.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 (658) hide show
  1. package/LICENSE +190 -0
  2. package/README.md +22 -0
  3. package/classes/abstract-native-select.d.ts +20 -0
  4. package/classes/abstract-textfield-host.d.ts +19 -0
  5. package/classes/control.d.ts +59 -0
  6. package/classes/index.d.ts +8 -0
  7. package/classes/interactive.d.ts +35 -0
  8. package/classes/multiple-control.d.ts +11 -0
  9. package/classes/named-day.d.ts +11 -0
  10. package/classes/nullable-control.d.ts +10 -0
  11. package/classes/stringifiable-item.d.ts +11 -0
  12. package/components/arrow/arrow.component.d.ts +22 -0
  13. package/components/arrow/arrow.options.d.ts +23 -0
  14. package/components/arrow/arrow.providers.d.ts +24 -0
  15. package/components/arrow/index.d.ts +3 -0
  16. package/components/color-selector/color-edit/color-edit.component.d.ts +21 -0
  17. package/components/color-selector/color-edit/color-edit.module.d.ts +19 -0
  18. package/components/color-selector/color-picker/color-picker.component.d.ts +25 -0
  19. package/components/color-selector/color-picker/color-picker.module.d.ts +13 -0
  20. package/components/color-selector/color-selector.component.d.ts +55 -0
  21. package/components/color-selector/color-selector.module.d.ts +23 -0
  22. package/components/color-selector/flat-picker/flat-picker.component.d.ts +15 -0
  23. package/components/color-selector/flat-picker/flat-picker.module.d.ts +11 -0
  24. package/components/color-selector/index.d.ts +15 -0
  25. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +20 -0
  26. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +11 -0
  27. package/components/color-selector/linear-picker/linear-picker.component.d.ts +13 -0
  28. package/components/color-selector/linear-picker/linear-picker.module.d.ts +11 -0
  29. package/components/color-selector/palette/palette.component.d.ts +13 -0
  30. package/components/color-selector/palette/palette.module.d.ts +12 -0
  31. package/components/color-selector/services/picker.service.d.ts +11 -0
  32. package/components/combo-box/combo-box-strict.directive.d.ts +11 -0
  33. package/components/combo-box/combo-box.component.d.ts +50 -0
  34. package/components/combo-box/combo-box.directive.d.ts +12 -0
  35. package/components/combo-box/combo-box.module.d.ts +19 -0
  36. package/components/combo-box/index.d.ts +4 -0
  37. package/components/index.d.ts +33 -0
  38. package/components/input/index.d.ts +3 -0
  39. package/components/input/input.component.d.ts +30 -0
  40. package/components/input/input.directive.d.ts +11 -0
  41. package/components/input/input.module.d.ts +14 -0
  42. package/components/input-color/index.d.ts +2 -0
  43. package/components/input-color/input-color.component.d.ts +29 -0
  44. package/components/input-color/input-color.module.d.ts +16 -0
  45. package/components/input-copy/index.d.ts +4 -0
  46. package/components/input-copy/input-copy.component.d.ts +33 -0
  47. package/components/input-copy/input-copy.directive.d.ts +11 -0
  48. package/components/input-copy/input-copy.module.d.ts +18 -0
  49. package/components/input-copy/input-copy.options.d.ts +26 -0
  50. package/components/input-date/index.d.ts +3 -0
  51. package/components/input-date/input-date.component.d.ts +64 -0
  52. package/components/input-date/input-date.directive.d.ts +18 -0
  53. package/components/input-date/input-date.module.d.ts +23 -0
  54. package/components/input-date/native-date/native-date.component.d.ts +14 -0
  55. package/components/input-date-multi/index.d.ts +2 -0
  56. package/components/input-date-multi/input-date-multi.component.d.ts +69 -0
  57. package/components/input-date-multi/input-date-multi.module.d.ts +23 -0
  58. package/components/input-date-range/index.d.ts +3 -0
  59. package/components/input-date-range/input-date-range.component.d.ts +70 -0
  60. package/components/input-date-range/input-date-range.directive.d.ts +15 -0
  61. package/components/input-date-range/input-date-range.module.d.ts +21 -0
  62. package/components/input-date-time/index.d.ts +3 -0
  63. package/components/input-date-time/input-date-time.component.d.ts +80 -0
  64. package/components/input-date-time/input-date-time.directive.d.ts +16 -0
  65. package/components/input-date-time/input-date-time.module.d.ts +22 -0
  66. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +9 -0
  67. package/components/input-month/index.d.ts +3 -0
  68. package/components/input-month/input-month.component.d.ts +44 -0
  69. package/components/input-month/input-month.directive.d.ts +18 -0
  70. package/components/input-month/input-month.module.d.ts +18 -0
  71. package/components/input-month-range/index.d.ts +3 -0
  72. package/components/input-month-range/input-month-range.component.d.ts +38 -0
  73. package/components/input-month-range/input-month-range.directive.d.ts +18 -0
  74. package/components/input-month-range/input-month-range.module.d.ts +17 -0
  75. package/components/input-number/index.d.ts +4 -0
  76. package/components/input-number/input-number.component.d.ts +62 -0
  77. package/components/input-number/input-number.directive.d.ts +15 -0
  78. package/components/input-number/input-number.module.d.ts +17 -0
  79. package/components/input-number/input-number.options.d.ts +27 -0
  80. package/components/input-password/index.d.ts +4 -0
  81. package/components/input-password/input-password.component.d.ts +33 -0
  82. package/components/input-password/input-password.directive.d.ts +15 -0
  83. package/components/input-password/input-password.module.d.ts +19 -0
  84. package/components/input-password/input-password.options.d.ts +25 -0
  85. package/components/input-phone/index.d.ts +4 -0
  86. package/components/input-phone/input-phone.component.d.ts +51 -0
  87. package/components/input-phone/input-phone.directive.d.ts +16 -0
  88. package/components/input-phone/input-phone.module.d.ts +15 -0
  89. package/components/input-phone/input-phone.options.d.ts +22 -0
  90. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +9 -0
  91. package/components/input-phone/utils/create-phone-mask-expression.d.ts +7 -0
  92. package/components/input-phone/utils/index.d.ts +2 -0
  93. package/components/input-phone-international/index.d.ts +3 -0
  94. package/components/input-phone-international/input-phone-international.component.d.ts +41 -0
  95. package/components/input-phone-international/input-phone-international.options.d.ts +22 -0
  96. package/components/input-phone-international/utils/extract-value-from-event.d.ts +1 -0
  97. package/components/input-range/index.d.ts +2 -0
  98. package/components/input-range/input-range.component.d.ts +55 -0
  99. package/components/input-range/input-range.module.d.ts +18 -0
  100. package/components/input-slider/index.d.ts +2 -0
  101. package/components/input-slider/input-slider.component.d.ts +41 -0
  102. package/components/input-slider/input-slider.module.d.ts +17 -0
  103. package/components/input-tag/index.d.ts +3 -0
  104. package/components/input-tag/input-tag.component.d.ts +97 -0
  105. package/components/input-tag/input-tag.module.d.ts +21 -0
  106. package/components/input-tag/input-tag.options.d.ts +23 -0
  107. package/components/input-time/index.d.ts +4 -0
  108. package/components/input-time/input-time.component.d.ts +63 -0
  109. package/components/input-time/input-time.directive.d.ts +16 -0
  110. package/components/input-time/input-time.module.d.ts +22 -0
  111. package/components/input-time/input-time.options.d.ts +35 -0
  112. package/components/input-time/native-time/native-time.component.d.ts +12 -0
  113. package/components/input-year/index.d.ts +3 -0
  114. package/components/input-year/input-year.component.d.ts +35 -0
  115. package/components/input-year/input-year.directive.d.ts +13 -0
  116. package/components/input-year/input-year.module.d.ts +17 -0
  117. package/components/island/index.d.ts +1 -0
  118. package/components/island/island.directive.d.ts +19 -0
  119. package/components/multi-select/hide-selected.pipe.d.ts +11 -0
  120. package/components/multi-select/index.d.ts +10 -0
  121. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +23 -0
  122. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +8 -0
  123. package/components/multi-select/multi-select.component.d.ts +68 -0
  124. package/components/multi-select/multi-select.directive.d.ts +17 -0
  125. package/components/multi-select/multi-select.module.d.ts +30 -0
  126. package/components/multi-select/multi-select.options.d.ts +23 -0
  127. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +9 -0
  128. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +8 -0
  129. package/components/multi-select/native-multi-select/native-multi-select.d.ts +11 -0
  130. package/components/multi-select-option/index.d.ts +2 -0
  131. package/components/multi-select-option/multi-select-option.component.d.ts +12 -0
  132. package/components/multi-select-option/multi-select-option.module.d.ts +12 -0
  133. package/components/primitive-textfield/index.d.ts +7 -0
  134. package/components/primitive-textfield/primitive-textfield-options.d.ts +22 -0
  135. package/components/primitive-textfield/primitive-textfield-types.d.ts +14 -0
  136. package/components/primitive-textfield/primitive-textfield.component.d.ts +74 -0
  137. package/components/primitive-textfield/primitive-textfield.directive.d.ts +13 -0
  138. package/components/primitive-textfield/primitive-textfield.module.d.ts +20 -0
  139. package/components/primitive-textfield/textfield/textfield.component.d.ts +13 -0
  140. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +22 -0
  141. package/components/select/index.d.ts +6 -0
  142. package/components/select/native-select/native-select-group.component.d.ts +13 -0
  143. package/components/select/native-select/native-select.component.d.ts +12 -0
  144. package/components/select/select.component.d.ts +43 -0
  145. package/components/select/select.directive.d.ts +15 -0
  146. package/components/select/select.module.d.ts +23 -0
  147. package/components/select/select.options.d.ts +22 -0
  148. package/components/select-option/index.d.ts +2 -0
  149. package/components/select-option/select-option.component.d.ts +33 -0
  150. package/components/select-option/select-option.module.d.ts +13 -0
  151. package/components/sheet/components/sheet/sheet.component.d.ts +31 -0
  152. package/components/sheet/components/sheet/sheet.providers.d.ts +2 -0
  153. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +10 -0
  154. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +14 -0
  155. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +15 -0
  156. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +14 -0
  157. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +6 -0
  158. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +14 -0
  159. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +17 -0
  160. package/components/sheet/index.d.ts +14 -0
  161. package/components/sheet/sheet-options.d.ts +24 -0
  162. package/components/sheet/sheet-tokens.d.ts +18 -0
  163. package/components/sheet/sheet.d.ts +19 -0
  164. package/components/sheet/sheet.directive.d.ts +16 -0
  165. package/components/sheet/sheet.module.d.ts +23 -0
  166. package/components/sheet/sheet.service.d.ts +16 -0
  167. package/components/svg/content-processor.d.ts +18 -0
  168. package/components/svg/deprecated-icons.d.ts +4 -0
  169. package/components/svg/index.d.ts +5 -0
  170. package/components/svg/svg-options.d.ts +44 -0
  171. package/components/svg/svg.component.d.ts +49 -0
  172. package/components/svg/svg.service.d.ts +21 -0
  173. package/components/table-bar/index.d.ts +5 -0
  174. package/components/table-bar/table-bar.component.d.ts +13 -0
  175. package/components/table-bar/table-bar.directive.d.ts +7 -0
  176. package/components/table-bar/table-bar.options.d.ts +14 -0
  177. package/components/table-bar/table-bars-host.component.d.ts +6 -0
  178. package/components/table-bar/table-bars.service.d.ts +10 -0
  179. package/components/tag/index.d.ts +3 -0
  180. package/components/tag/tag.component.d.ts +43 -0
  181. package/components/tag/tag.module.d.ts +15 -0
  182. package/components/tag/tag.options.d.ts +25 -0
  183. package/components/textarea/index.d.ts +3 -0
  184. package/components/textarea/textarea.component.d.ts +53 -0
  185. package/components/textarea/textarea.directive.d.ts +11 -0
  186. package/components/textarea/textarea.module.d.ts +20 -0
  187. package/components/tooltip/index.d.ts +2 -0
  188. package/components/tooltip/tooltip.component.d.ts +15 -0
  189. package/components/tooltip/tooltip.module.d.ts +15 -0
  190. package/directives/index.d.ts +5 -0
  191. package/directives/legacy-dropdown-open-monitor/index.d.ts +1 -0
  192. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +9 -0
  193. package/directives/textfield-controller/index.d.ts +14 -0
  194. package/directives/textfield-controller/textfield-appearance.directive.d.ts +14 -0
  195. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +14 -0
  196. package/directives/textfield-controller/textfield-controller.module.d.ts +20 -0
  197. package/directives/textfield-controller/textfield-controller.provider.d.ts +11 -0
  198. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +15 -0
  199. package/directives/textfield-controller/textfield-filler.directive.d.ts +14 -0
  200. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +17 -0
  201. package/directives/textfield-controller/textfield-icon.directive.d.ts +17 -0
  202. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +14 -0
  203. package/directives/textfield-controller/textfield-postfix.directive.d.ts +14 -0
  204. package/directives/textfield-controller/textfield-prefix.directive.d.ts +14 -0
  205. package/directives/textfield-controller/textfield-size.directive.d.ts +15 -0
  206. package/directives/textfield-controller/textfield.controller.d.ts +41 -0
  207. package/directives/textfield-controller/textfield.options.d.ts +25 -0
  208. package/directives/unfinished-validator/index.d.ts +2 -0
  209. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +11 -0
  210. package/directives/unfinished-validator/unfinished.validator.d.ts +7 -0
  211. package/directives/value-accessor/index.d.ts +3 -0
  212. package/directives/value-accessor/value-accessor.directive.d.ts +8 -0
  213. package/directives/value-accessor/value-accessor.module.d.ts +10 -0
  214. package/directives/value-accessor/value-accessor.provider.d.ts +5 -0
  215. package/directives/wrapper/README.md +19 -0
  216. package/directives/wrapper/index.d.ts +2 -0
  217. package/directives/wrapper/wrapper.directive.d.ts +21 -0
  218. package/directives/wrapper/wrapper.module.d.ts +10 -0
  219. package/esm2022/classes/abstract-native-select.mjs +40 -0
  220. package/esm2022/classes/abstract-textfield-host.mjs +37 -0
  221. package/esm2022/classes/control.mjs +176 -0
  222. package/esm2022/classes/index.mjs +9 -0
  223. package/esm2022/classes/interactive.mjs +85 -0
  224. package/esm2022/classes/multiple-control.mjs +21 -0
  225. package/esm2022/classes/named-day.mjs +14 -0
  226. package/esm2022/classes/nullable-control.mjs +18 -0
  227. package/esm2022/classes/stringifiable-item.mjs +14 -0
  228. package/esm2022/classes/taiga-ui-legacy-classes.mjs +5 -0
  229. package/esm2022/components/arrow/arrow.component.mjs +48 -0
  230. package/esm2022/components/arrow/arrow.options.mjs +21 -0
  231. package/esm2022/components/arrow/arrow.providers.mjs +21 -0
  232. package/esm2022/components/arrow/index.mjs +4 -0
  233. package/esm2022/components/arrow/taiga-ui-legacy-components-arrow.mjs +5 -0
  234. package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +62 -0
  235. package/esm2022/components/color-selector/color-edit/color-edit.module.mjs +54 -0
  236. package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +73 -0
  237. package/esm2022/components/color-selector/color-picker/color-picker.module.mjs +24 -0
  238. package/esm2022/components/color-selector/color-selector.component.mjs +250 -0
  239. package/esm2022/components/color-selector/color-selector.module.mjs +66 -0
  240. package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +37 -0
  241. package/esm2022/components/color-selector/flat-picker/flat-picker.module.mjs +22 -0
  242. package/esm2022/components/color-selector/index.mjs +16 -0
  243. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +65 -0
  244. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.module.mjs +22 -0
  245. package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +34 -0
  246. package/esm2022/components/color-selector/linear-picker/linear-picker.module.mjs +22 -0
  247. package/esm2022/components/color-selector/palette/palette.component.mjs +26 -0
  248. package/esm2022/components/color-selector/palette/palette.module.mjs +24 -0
  249. package/esm2022/components/color-selector/services/picker.service.mjs +30 -0
  250. package/esm2022/components/color-selector/taiga-ui-legacy-components-color-selector.mjs +5 -0
  251. package/esm2022/components/combo-box/combo-box-strict.directive.mjs +32 -0
  252. package/esm2022/components/combo-box/combo-box.component.mjs +181 -0
  253. package/esm2022/components/combo-box/combo-box.directive.mjs +26 -0
  254. package/esm2022/components/combo-box/combo-box.module.mjs +70 -0
  255. package/esm2022/components/combo-box/index.mjs +5 -0
  256. package/esm2022/components/combo-box/taiga-ui-legacy-components-combo-box.mjs +5 -0
  257. package/esm2022/components/index.mjs +34 -0
  258. package/esm2022/components/input/index.mjs +4 -0
  259. package/esm2022/components/input/input.component.mjs +92 -0
  260. package/esm2022/components/input/input.directive.mjs +23 -0
  261. package/esm2022/components/input/input.module.mjs +33 -0
  262. package/esm2022/components/input/taiga-ui-legacy-components-input.mjs +5 -0
  263. package/esm2022/components/input-color/index.mjs +3 -0
  264. package/esm2022/components/input-color/input-color.component.mjs +85 -0
  265. package/esm2022/components/input-color/input-color.module.mjs +43 -0
  266. package/esm2022/components/input-color/taiga-ui-legacy-components-input-color.mjs +5 -0
  267. package/esm2022/components/input-copy/index.mjs +5 -0
  268. package/esm2022/components/input-copy/input-copy.component.mjs +106 -0
  269. package/esm2022/components/input-copy/input-copy.directive.mjs +23 -0
  270. package/esm2022/components/input-copy/input-copy.module.mjs +55 -0
  271. package/esm2022/components/input-copy/input-copy.options.mjs +21 -0
  272. package/esm2022/components/input-copy/taiga-ui-legacy-components-input-copy.mjs +5 -0
  273. package/esm2022/components/input-date/index.mjs +4 -0
  274. package/esm2022/components/input-date/input-date.component.mjs +220 -0
  275. package/esm2022/components/input-date/input-date.directive.mjs +41 -0
  276. package/esm2022/components/input-date/input-date.module.mjs +74 -0
  277. package/esm2022/components/input-date/native-date/native-date.component.mjs +51 -0
  278. package/esm2022/components/input-date/taiga-ui-legacy-components-input-date.mjs +5 -0
  279. package/esm2022/components/input-date-multi/index.mjs +3 -0
  280. package/esm2022/components/input-date-multi/input-date-multi.component.mjs +215 -0
  281. package/esm2022/components/input-date-multi/input-date-multi.module.mjs +70 -0
  282. package/esm2022/components/input-date-multi/taiga-ui-legacy-components-input-date-multi.mjs +5 -0
  283. package/esm2022/components/input-date-range/index.mjs +4 -0
  284. package/esm2022/components/input-date-range/input-date-range.component.mjs +267 -0
  285. package/esm2022/components/input-date-range/input-date-range.directive.mjs +34 -0
  286. package/esm2022/components/input-date-range/input-date-range.module.mjs +70 -0
  287. package/esm2022/components/input-date-range/taiga-ui-legacy-components-input-date-range.mjs +5 -0
  288. package/esm2022/components/input-date-time/index.mjs +4 -0
  289. package/esm2022/components/input-date-time/input-date-time.component.mjs +305 -0
  290. package/esm2022/components/input-date-time/input-date-time.directive.mjs +35 -0
  291. package/esm2022/components/input-date-time/input-date-time.module.mjs +77 -0
  292. package/esm2022/components/input-date-time/native-date-time/native-date-time.directive.mjs +44 -0
  293. package/esm2022/components/input-date-time/taiga-ui-legacy-components-input-date-time.mjs +5 -0
  294. package/esm2022/components/input-month/index.mjs +4 -0
  295. package/esm2022/components/input-month/input-month.component.mjs +135 -0
  296. package/esm2022/components/input-month/input-month.directive.mjs +44 -0
  297. package/esm2022/components/input-month/input-month.module.mjs +56 -0
  298. package/esm2022/components/input-month/taiga-ui-legacy-components-input-month.mjs +5 -0
  299. package/esm2022/components/input-month-range/index.mjs +4 -0
  300. package/esm2022/components/input-month-range/input-month-range.component.mjs +123 -0
  301. package/esm2022/components/input-month-range/input-month-range.directive.mjs +50 -0
  302. package/esm2022/components/input-month-range/input-month-range.module.mjs +52 -0
  303. package/esm2022/components/input-month-range/taiga-ui-legacy-components-input-month-range.mjs +5 -0
  304. package/esm2022/components/input-number/index.mjs +5 -0
  305. package/esm2022/components/input-number/input-number.component.mjs +263 -0
  306. package/esm2022/components/input-number/input-number.directive.mjs +36 -0
  307. package/esm2022/components/input-number/input-number.module.mjs +47 -0
  308. package/esm2022/components/input-number/input-number.options.mjs +26 -0
  309. package/esm2022/components/input-number/taiga-ui-legacy-components-input-number.mjs +5 -0
  310. package/esm2022/components/input-password/index.mjs +5 -0
  311. package/esm2022/components/input-password/input-password.component.mjs +81 -0
  312. package/esm2022/components/input-password/input-password.directive.mjs +33 -0
  313. package/esm2022/components/input-password/input-password.module.mjs +59 -0
  314. package/esm2022/components/input-password/input-password.options.mjs +21 -0
  315. package/esm2022/components/input-password/taiga-ui-legacy-components-input-password.mjs +5 -0
  316. package/esm2022/components/input-phone/index.mjs +5 -0
  317. package/esm2022/components/input-phone/input-phone.component.mjs +220 -0
  318. package/esm2022/components/input-phone/input-phone.directive.mjs +36 -0
  319. package/esm2022/components/input-phone/input-phone.module.mjs +47 -0
  320. package/esm2022/components/input-phone/input-phone.options.mjs +21 -0
  321. package/esm2022/components/input-phone/taiga-ui-legacy-components-input-phone.mjs +5 -0
  322. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +41 -0
  323. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +17 -0
  324. package/esm2022/components/input-phone/utils/index.mjs +3 -0
  325. package/esm2022/components/input-phone-international/index.mjs +4 -0
  326. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +184 -0
  327. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +20 -0
  328. package/esm2022/components/input-phone-international/taiga-ui-legacy-components-input-phone-international.mjs +5 -0
  329. package/esm2022/components/input-phone-international/utils/extract-value-from-event.mjs +7 -0
  330. package/esm2022/components/input-range/index.mjs +3 -0
  331. package/esm2022/components/input-range/input-range.component.mjs +206 -0
  332. package/esm2022/components/input-range/input-range.module.mjs +54 -0
  333. package/esm2022/components/input-range/taiga-ui-legacy-components-input-range.mjs +5 -0
  334. package/esm2022/components/input-slider/index.mjs +3 -0
  335. package/esm2022/components/input-slider/input-slider.component.mjs +153 -0
  336. package/esm2022/components/input-slider/input-slider.module.mjs +47 -0
  337. package/esm2022/components/input-slider/taiga-ui-legacy-components-input-slider.mjs +5 -0
  338. package/esm2022/components/input-tag/index.mjs +4 -0
  339. package/esm2022/components/input-tag/input-tag.component.mjs +418 -0
  340. package/esm2022/components/input-tag/input-tag.module.mjs +66 -0
  341. package/esm2022/components/input-tag/input-tag.options.mjs +21 -0
  342. package/esm2022/components/input-tag/taiga-ui-legacy-components-input-tag.mjs +5 -0
  343. package/esm2022/components/input-time/index.mjs +5 -0
  344. package/esm2022/components/input-time/input-time.component.mjs +278 -0
  345. package/esm2022/components/input-time/input-time.directive.mjs +38 -0
  346. package/esm2022/components/input-time/input-time.module.mjs +70 -0
  347. package/esm2022/components/input-time/input-time.options.mjs +31 -0
  348. package/esm2022/components/input-time/native-time/native-time.component.mjs +67 -0
  349. package/esm2022/components/input-time/taiga-ui-legacy-components-input-time.mjs +5 -0
  350. package/esm2022/components/input-year/index.mjs +4 -0
  351. package/esm2022/components/input-year/input-year.component.mjs +110 -0
  352. package/esm2022/components/input-year/input-year.directive.mjs +30 -0
  353. package/esm2022/components/input-year/input-year.module.mjs +52 -0
  354. package/esm2022/components/input-year/taiga-ui-legacy-components-input-year.mjs +5 -0
  355. package/esm2022/components/island/index.mjs +2 -0
  356. package/esm2022/components/island/island.directive.mjs +77 -0
  357. package/esm2022/components/island/taiga-ui-legacy-components-island.mjs +5 -0
  358. package/esm2022/components/multi-select/hide-selected.pipe.mjs +43 -0
  359. package/esm2022/components/multi-select/index.mjs +11 -0
  360. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +99 -0
  361. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +65 -0
  362. package/esm2022/components/multi-select/multi-select.component.mjs +207 -0
  363. package/esm2022/components/multi-select/multi-select.directive.mjs +34 -0
  364. package/esm2022/components/multi-select/multi-select.module.mjs +114 -0
  365. package/esm2022/components/multi-select/multi-select.options.mjs +20 -0
  366. package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +60 -0
  367. package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +56 -0
  368. package/esm2022/components/multi-select/native-multi-select/native-multi-select.mjs +19 -0
  369. package/esm2022/components/multi-select/taiga-ui-legacy-components-multi-select.mjs +5 -0
  370. package/esm2022/components/multi-select-option/index.mjs +3 -0
  371. package/esm2022/components/multi-select-option/multi-select-option.component.mjs +28 -0
  372. package/esm2022/components/multi-select-option/multi-select-option.module.mjs +23 -0
  373. package/esm2022/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.mjs +5 -0
  374. package/esm2022/components/primitive-textfield/index.mjs +8 -0
  375. package/esm2022/components/primitive-textfield/primitive-textfield-options.mjs +17 -0
  376. package/esm2022/components/primitive-textfield/primitive-textfield-types.mjs +2 -0
  377. package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +253 -0
  378. package/esm2022/components/primitive-textfield/primitive-textfield.directive.mjs +31 -0
  379. package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +65 -0
  380. package/esm2022/components/primitive-textfield/taiga-ui-legacy-components-primitive-textfield.mjs +5 -0
  381. package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +39 -0
  382. package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +71 -0
  383. package/esm2022/components/select/index.mjs +7 -0
  384. package/esm2022/components/select/native-select/native-select-group.component.mjs +60 -0
  385. package/esm2022/components/select/native-select/native-select.component.mjs +56 -0
  386. package/esm2022/components/select/select.component.mjs +119 -0
  387. package/esm2022/components/select/select.directive.mjs +32 -0
  388. package/esm2022/components/select/select.module.mjs +86 -0
  389. package/esm2022/components/select/select.options.mjs +19 -0
  390. package/esm2022/components/select/taiga-ui-legacy-components-select.mjs +5 -0
  391. package/esm2022/components/select-option/index.mjs +3 -0
  392. package/esm2022/components/select-option/select-option.component.mjs +71 -0
  393. package/esm2022/components/select-option/select-option.module.mjs +24 -0
  394. package/esm2022/components/select-option/taiga-ui-legacy-components-select-option.mjs +5 -0
  395. package/esm2022/components/sheet/components/sheet/sheet.component.mjs +118 -0
  396. package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +42 -0
  397. package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +27 -0
  398. package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +31 -0
  399. package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +46 -0
  400. package/esm2022/components/sheet/directives/sheet-close/sheet-close.directive.mjs +38 -0
  401. package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +37 -0
  402. package/esm2022/components/sheet/directives/sheet-top/sheet-top.directive.mjs +51 -0
  403. package/esm2022/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +76 -0
  404. package/esm2022/components/sheet/index.mjs +15 -0
  405. package/esm2022/components/sheet/sheet-options.mjs +21 -0
  406. package/esm2022/components/sheet/sheet-tokens.mjs +17 -0
  407. package/esm2022/components/sheet/sheet.directive.mjs +38 -0
  408. package/esm2022/components/sheet/sheet.mjs +2 -0
  409. package/esm2022/components/sheet/sheet.module.mjs +74 -0
  410. package/esm2022/components/sheet/sheet.service.mjs +51 -0
  411. package/esm2022/components/sheet/taiga-ui-legacy-components-sheet.mjs +5 -0
  412. package/esm2022/components/svg/content-processor.mjs +40 -0
  413. package/esm2022/components/svg/deprecated-icons.mjs +62 -0
  414. package/esm2022/components/svg/index.mjs +6 -0
  415. package/esm2022/components/svg/svg-options.mjs +76 -0
  416. package/esm2022/components/svg/svg.component.mjs +149 -0
  417. package/esm2022/components/svg/svg.service.mjs +64 -0
  418. package/esm2022/components/svg/taiga-ui-legacy-components-svg.mjs +5 -0
  419. package/esm2022/components/table-bar/index.mjs +6 -0
  420. package/esm2022/components/table-bar/table-bar.component.mjs +33 -0
  421. package/esm2022/components/table-bar/table-bar.directive.mjs +21 -0
  422. package/esm2022/components/table-bar/table-bar.options.mjs +16 -0
  423. package/esm2022/components/table-bar/table-bars-host.component.mjs +35 -0
  424. package/esm2022/components/table-bar/table-bars.service.mjs +21 -0
  425. package/esm2022/components/table-bar/taiga-ui-legacy-components-table-bar.mjs +5 -0
  426. package/esm2022/components/tag/index.mjs +4 -0
  427. package/esm2022/components/tag/tag.component.mjs +174 -0
  428. package/esm2022/components/tag/tag.module.mjs +41 -0
  429. package/esm2022/components/tag/tag.options.mjs +22 -0
  430. package/esm2022/components/tag/taiga-ui-legacy-components-tag.mjs +5 -0
  431. package/esm2022/components/taiga-ui-legacy-components.mjs +5 -0
  432. package/esm2022/components/textarea/index.mjs +4 -0
  433. package/esm2022/components/textarea/taiga-ui-legacy-components-textarea.mjs +5 -0
  434. package/esm2022/components/textarea/textarea.component.mjs +192 -0
  435. package/esm2022/components/textarea/textarea.directive.mjs +23 -0
  436. package/esm2022/components/textarea/textarea.module.mjs +67 -0
  437. package/esm2022/components/tooltip/index.mjs +3 -0
  438. package/esm2022/components/tooltip/taiga-ui-legacy-components-tooltip.mjs +5 -0
  439. package/esm2022/components/tooltip/tooltip.component.mjs +50 -0
  440. package/esm2022/components/tooltip/tooltip.module.mjs +27 -0
  441. package/esm2022/directives/index.mjs +6 -0
  442. package/esm2022/directives/legacy-dropdown-open-monitor/index.mjs +2 -0
  443. package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +40 -0
  444. package/esm2022/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +5 -0
  445. package/esm2022/directives/taiga-ui-legacy-directives.mjs +5 -0
  446. package/esm2022/directives/textfield-controller/index.mjs +15 -0
  447. package/esm2022/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.mjs +5 -0
  448. package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +37 -0
  449. package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +31 -0
  450. package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +75 -0
  451. package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +50 -0
  452. package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +31 -0
  453. package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +31 -0
  454. package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +27 -0
  455. package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +27 -0
  456. package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +35 -0
  457. package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +31 -0
  458. package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +31 -0
  459. package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +31 -0
  460. package/esm2022/directives/textfield-controller/textfield.controller.mjs +48 -0
  461. package/esm2022/directives/textfield-controller/textfield.options.mjs +21 -0
  462. package/esm2022/directives/unfinished-validator/index.mjs +3 -0
  463. package/esm2022/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.mjs +5 -0
  464. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +28 -0
  465. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +18 -0
  466. package/esm2022/directives/value-accessor/index.mjs +4 -0
  467. package/esm2022/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.mjs +5 -0
  468. package/esm2022/directives/value-accessor/value-accessor.directive.mjs +19 -0
  469. package/esm2022/directives/value-accessor/value-accessor.module.mjs +20 -0
  470. package/esm2022/directives/value-accessor/value-accessor.provider.mjs +13 -0
  471. package/esm2022/directives/wrapper/index.mjs +3 -0
  472. package/esm2022/directives/wrapper/taiga-ui-legacy-directives-wrapper.mjs +5 -0
  473. package/esm2022/directives/wrapper/wrapper.directive.mjs +85 -0
  474. package/esm2022/directives/wrapper/wrapper.module.mjs +20 -0
  475. package/esm2022/index.mjs +7 -0
  476. package/esm2022/pipes/format-phone/format-phone.pipe.mjs +53 -0
  477. package/esm2022/pipes/format-phone/index.mjs +2 -0
  478. package/esm2022/pipes/format-phone/taiga-ui-legacy-pipes-format-phone.mjs +5 -0
  479. package/esm2022/pipes/index.mjs +4 -0
  480. package/esm2022/pipes/iso-to-country-code/index.mjs +2 -0
  481. package/esm2022/pipes/iso-to-country-code/iso-to-country-code.pipe.mjs +44 -0
  482. package/esm2022/pipes/iso-to-country-code/taiga-ui-legacy-pipes-iso-to-country-code.mjs +5 -0
  483. package/esm2022/pipes/taiga-ui-legacy-pipes.mjs +5 -0
  484. package/esm2022/pipes/to-country-code/index.mjs +2 -0
  485. package/esm2022/pipes/to-country-code/taiga-ui-legacy-pipes-to-country-code.mjs +5 -0
  486. package/esm2022/pipes/to-country-code/to-country-code.pipe.mjs +74 -0
  487. package/esm2022/taiga-ui-legacy.mjs +5 -0
  488. package/esm2022/tokens/countries-masks.mjs +255 -0
  489. package/esm2022/tokens/focusable-item-accessor.mjs +14 -0
  490. package/esm2022/tokens/fonts-ready.mjs +10 -0
  491. package/esm2022/tokens/icons.mjs +7 -0
  492. package/esm2022/tokens/index.mjs +15 -0
  493. package/esm2022/tokens/is-apple.mjs +10 -0
  494. package/esm2022/tokens/is-chromium.mjs +9 -0
  495. package/esm2022/tokens/is-firefox.mjs +10 -0
  496. package/esm2022/tokens/is-stackblitz.mjs +8 -0
  497. package/esm2022/tokens/month-formatter.mjs +18 -0
  498. package/esm2022/tokens/sanitizer.mjs +7 -0
  499. package/esm2022/tokens/taiga-ui-legacy-tokens.mjs +5 -0
  500. package/esm2022/tokens/textfield-appearance.mjs +8 -0
  501. package/esm2022/tokens/textfield-host.mjs +14 -0
  502. package/esm2022/tokens/touch-supported.mjs +8 -0
  503. package/esm2022/tokens/value-accessor.mjs +7 -0
  504. package/esm2022/utils/date-mode-maskito-adapter.mjs +9 -0
  505. package/esm2022/utils/format-phone.mjs +60 -0
  506. package/esm2022/utils/get-border.mjs +23 -0
  507. package/esm2022/utils/get-max-allowed-phone-length.mjs +26 -0
  508. package/esm2022/utils/get-safe-area-size.mjs +18 -0
  509. package/esm2022/utils/icons-path-factory.mjs +22 -0
  510. package/esm2022/utils/index.mjs +14 -0
  511. package/esm2022/utils/is-apple.mjs +9 -0
  512. package/esm2022/utils/is-presumed-html-string.mjs +8 -0
  513. package/esm2022/utils/iso-to-country-code.mjs +16 -0
  514. package/esm2022/utils/not-kz-region.mjs +24 -0
  515. package/esm2022/utils/process-icon.mjs +34 -0
  516. package/esm2022/utils/specific-dropdown-controllers.mjs +9 -0
  517. package/esm2022/utils/status.mjs +2 -0
  518. package/esm2022/utils/taiga-ui-legacy-utils.mjs +5 -0
  519. package/fesm2022/taiga-ui-legacy-classes.mjs +391 -0
  520. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -0
  521. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +93 -0
  522. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -0
  523. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +725 -0
  524. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +1 -0
  525. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +294 -0
  526. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -0
  527. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +127 -0
  528. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +1 -0
  529. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +195 -0
  530. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +1 -0
  531. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +283 -0
  532. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +1 -0
  533. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +363 -0
  534. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -0
  535. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +447 -0
  536. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -0
  537. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +370 -0
  538. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +1 -0
  539. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +218 -0
  540. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -0
  541. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +228 -0
  542. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +1 -0
  543. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +363 -0
  544. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -0
  545. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +185 -0
  546. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +1 -0
  547. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +214 -0
  548. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +1 -0
  549. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +371 -0
  550. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +1 -0
  551. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +259 -0
  552. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -0
  553. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +198 -0
  554. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -0
  555. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +501 -0
  556. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -0
  557. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +465 -0
  558. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +1 -0
  559. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +185 -0
  560. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +1 -0
  561. package/fesm2022/taiga-ui-legacy-components-input.mjs +141 -0
  562. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -0
  563. package/fesm2022/taiga-ui-legacy-components-island.mjs +83 -0
  564. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +1 -0
  565. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +53 -0
  566. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -0
  567. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +644 -0
  568. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -0
  569. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +455 -0
  570. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -0
  571. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +97 -0
  572. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -0
  573. package/fesm2022/taiga-ui-legacy-components-select.mjs +339 -0
  574. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -0
  575. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +564 -0
  576. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +1 -0
  577. package/fesm2022/taiga-ui-legacy-components-svg.mjs +379 -0
  578. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +1 -0
  579. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +115 -0
  580. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +1 -0
  581. package/fesm2022/taiga-ui-legacy-components-tag.mjs +238 -0
  582. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -0
  583. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +276 -0
  584. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -0
  585. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +77 -0
  586. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -0
  587. package/fesm2022/taiga-ui-legacy-components.mjs +38 -0
  588. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -0
  589. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +46 -0
  590. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -0
  591. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +440 -0
  592. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -0
  593. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +50 -0
  594. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -0
  595. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +52 -0
  596. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -0
  597. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +107 -0
  598. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +1 -0
  599. package/fesm2022/taiga-ui-legacy-directives.mjs +10 -0
  600. package/fesm2022/taiga-ui-legacy-directives.mjs.map +1 -0
  601. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +59 -0
  602. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +1 -0
  603. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +50 -0
  604. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +1 -0
  605. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +80 -0
  606. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +1 -0
  607. package/fesm2022/taiga-ui-legacy-pipes.mjs +8 -0
  608. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +1 -0
  609. package/fesm2022/taiga-ui-legacy-tokens.mjs +368 -0
  610. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -0
  611. package/fesm2022/taiga-ui-legacy-utils.mjs +264 -0
  612. package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -0
  613. package/fesm2022/taiga-ui-legacy.mjs +11 -0
  614. package/fesm2022/taiga-ui-legacy.mjs.map +1 -0
  615. package/index.d.ts +6 -0
  616. package/package.json +315 -0
  617. package/pipes/format-phone/format-phone.pipe.d.ts +37 -0
  618. package/pipes/format-phone/index.d.ts +1 -0
  619. package/pipes/index.d.ts +3 -0
  620. package/pipes/iso-to-country-code/index.d.ts +1 -0
  621. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +30 -0
  622. package/pipes/to-country-code/index.d.ts +1 -0
  623. package/pipes/to-country-code/to-country-code.pipe.d.ts +38 -0
  624. package/styles/mixins/mixins.less +245 -0
  625. package/styles/mixins/mixins.scss +230 -0
  626. package/styles/mixins/textfield.less +315 -0
  627. package/styles/mixins/textfield.scss +306 -0
  628. package/styles/taiga-ui-local.less +3 -0
  629. package/styles/taiga-ui-local.scss +3 -0
  630. package/tokens/countries-masks.d.ts +8 -0
  631. package/tokens/focusable-item-accessor.d.ts +26 -0
  632. package/tokens/fonts-ready.d.ts +6 -0
  633. package/tokens/icons.d.ts +5 -0
  634. package/tokens/index.d.ts +14 -0
  635. package/tokens/is-apple.d.ts +5 -0
  636. package/tokens/is-chromium.d.ts +5 -0
  637. package/tokens/is-firefox.d.ts +5 -0
  638. package/tokens/is-stackblitz.d.ts +4 -0
  639. package/tokens/month-formatter.d.ts +11 -0
  640. package/tokens/sanitizer.d.ts +7 -0
  641. package/tokens/textfield-appearance.d.ts +6 -0
  642. package/tokens/textfield-host.d.ts +24 -0
  643. package/tokens/touch-supported.d.ts +4 -0
  644. package/tokens/value-accessor.d.ts +7 -0
  645. package/utils/date-mode-maskito-adapter.d.ts +6 -0
  646. package/utils/format-phone.d.ts +30 -0
  647. package/utils/get-border.d.ts +5 -0
  648. package/utils/get-max-allowed-phone-length.d.ts +24 -0
  649. package/utils/get-safe-area-size.d.ts +7 -0
  650. package/utils/icons-path-factory.d.ts +13 -0
  651. package/utils/index.d.ts +13 -0
  652. package/utils/is-apple.d.ts +4 -0
  653. package/utils/is-presumed-html-string.d.ts +4 -0
  654. package/utils/iso-to-country-code.d.ts +13 -0
  655. package/utils/not-kz-region.d.ts +20 -0
  656. package/utils/process-icon.d.ts +4 -0
  657. package/utils/specific-dropdown-controllers.d.ts +4 -0
  658. package/utils/status.d.ts +4 -0
@@ -0,0 +1,181 @@
1
+ import { ChangeDetectionStrategy, Component, ContentChild, EventEmitter, HostBinding, inject, Input, Output, TemplateRef, ViewChild, } from '@angular/core';
2
+ import { TUI_STRICT_MATCHER } from '@taiga-ui/cdk/constants';
3
+ import { tuiIsNativeFocused } from '@taiga-ui/cdk/utils/focus';
4
+ import { tuiIsPresent } from '@taiga-ui/cdk/utils/miscellaneous';
5
+ import { TUI_DATA_LIST_ACCESSOR, tuiAsDataListHost, tuiAsOptionContent, TuiDataListDirective, } from '@taiga-ui/core/components/data-list';
6
+ import { TuiDropdownOpen } from '@taiga-ui/core/directives/dropdown';
7
+ import { TUI_ITEMS_HANDLERS } from '@taiga-ui/kit/tokens';
8
+ import { AbstractTuiNullableControl, tuiAsControl } from '@taiga-ui/legacy/classes';
9
+ import { TUI_ARROW_MODE } from '@taiga-ui/legacy/components/arrow';
10
+ import { TuiPrimitiveTextfieldComponent } from '@taiga-ui/legacy/components/primitive-textfield';
11
+ import { TUI_SELECT_OPTION } from '@taiga-ui/legacy/components/select-option';
12
+ import { TUI_TEXTFIELD_SIZE } from '@taiga-ui/legacy/directives';
13
+ import { tuiAsFocusableItemAccessor } from '@taiga-ui/legacy/tokens';
14
+ import { FIXED_DROPDOWN_CONTROLLER_PROVIDER } from '@taiga-ui/legacy/utils';
15
+ import * as i0 from "@angular/core";
16
+ import * as i1 from "@angular/common";
17
+ import * as i2 from "@taiga-ui/polymorpheus";
18
+ import * as i3 from "@taiga-ui/legacy/components/primitive-textfield";
19
+ import * as i4 from "@taiga-ui/legacy/directives";
20
+ import * as i5 from "@taiga-ui/core/directives/dropdown";
21
+ /**
22
+ * @deprecated: drop in v5.0
23
+ */
24
+ class TuiComboBoxComponent extends AbstractTuiNullableControl {
25
+ constructor() {
26
+ super(...arguments);
27
+ this.arrowMode = inject(TUI_ARROW_MODE);
28
+ this.itemsHandlers = inject(TUI_ITEMS_HANDLERS);
29
+ this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
30
+ this.stringify = this.itemsHandlers.stringify;
31
+ this.strictMatcher = TUI_STRICT_MATCHER;
32
+ this.identityMatcher = this.itemsHandlers.identityMatcher;
33
+ this.strict = true;
34
+ this.search = null;
35
+ this.searchChange = new EventEmitter();
36
+ this.open = false;
37
+ }
38
+ get size() {
39
+ return this.textfieldSize.size;
40
+ }
41
+ get nativeFocusableElement() {
42
+ return this.textfield?.nativeFocusableElement ?? null;
43
+ }
44
+ get focused() {
45
+ return (tuiIsNativeFocused(this.nativeFocusableElement) || !!this.dropdown?.focused);
46
+ }
47
+ get nativeValue() {
48
+ return this.value === null ? this.search || '' : this.stringify(this.value);
49
+ }
50
+ checkOption(option) {
51
+ if (!this.isStrictMatch(option)) {
52
+ return;
53
+ }
54
+ this.value = option;
55
+ this.updateSearch(null);
56
+ }
57
+ handleOption(item) {
58
+ this.focusInput();
59
+ this.close();
60
+ this.updateSearch(null);
61
+ this.value = item;
62
+ if (this.value) {
63
+ this.setNativeValue(this.stringify(item));
64
+ }
65
+ }
66
+ onValueChange(value) {
67
+ this.updateSearch(value);
68
+ const match = this.accessor
69
+ ?.getOptions()
70
+ .find((item) => this.isStrictMatch(item));
71
+ if (match !== undefined) {
72
+ this.value = match;
73
+ this.updateSearch(null);
74
+ return;
75
+ }
76
+ if (this.strict || this.search === '') {
77
+ this.value = null;
78
+ }
79
+ // Clearing sets the empty value, the dropdown should not be opened on clear.
80
+ if (this.search !== '') {
81
+ this.open = true;
82
+ }
83
+ }
84
+ toggle() {
85
+ this.open = !this.open;
86
+ }
87
+ get arrow() {
88
+ return !this.interactive ? this.arrowMode.disabled : this.arrowMode.interactive;
89
+ }
90
+ get showValueTemplate() {
91
+ return tuiIsPresent(this.value) && !this.focused;
92
+ }
93
+ get computedContent() {
94
+ return this.valueContent || this.nativeValue;
95
+ }
96
+ onActiveZone(active) {
97
+ this.updateFocused(active);
98
+ }
99
+ onFieldKeyDownEnter(event) {
100
+ if (this.open) {
101
+ event.preventDefault();
102
+ }
103
+ const options = this.accessor?.getOptions() || [];
104
+ if (options.length !== 1) {
105
+ return;
106
+ }
107
+ this.value = options[0];
108
+ this.updateSearch(null);
109
+ this.close();
110
+ }
111
+ isStrictMatch(item) {
112
+ return !!this.search && !!this.strictMatcher?.(item, this.search, this.stringify);
113
+ }
114
+ close() {
115
+ this.open = false;
116
+ }
117
+ updateSearch(search) {
118
+ if (this.search === search) {
119
+ return;
120
+ }
121
+ this.search = search;
122
+ this.searchChange.emit(search);
123
+ }
124
+ setNativeValue(value) {
125
+ if (this.nativeFocusableElement) {
126
+ this.nativeFocusableElement.value = value;
127
+ }
128
+ }
129
+ focusInput(preventScroll = false) {
130
+ if (this.nativeFocusableElement) {
131
+ this.nativeFocusableElement.focus({ preventScroll });
132
+ }
133
+ }
134
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiComboBoxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
135
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiComboBoxComponent, selector: "tui-combo-box", inputs: { stringify: "stringify", strictMatcher: "strictMatcher", identityMatcher: "identityMatcher", valueContent: "valueContent", strict: "strict", search: "search" }, outputs: { searchChange: "searchChange" }, host: { properties: { "attr.data-size": "this.size" } }, providers: [
136
+ tuiAsFocusableItemAccessor(TuiComboBoxComponent),
137
+ tuiAsDataListHost(TuiComboBoxComponent),
138
+ tuiAsControl(TuiComboBoxComponent),
139
+ tuiAsOptionContent(TUI_SELECT_OPTION),
140
+ ], queries: [{ propertyName: "accessor", first: true, predicate: TUI_DATA_LIST_ACCESSOR, descendants: true }, { propertyName: "datalist", first: true, predicate: TuiDataListDirective, descendants: true, read: TemplateRef }], viewQueries: [{ propertyName: "dropdown", first: true, predicate: TuiDropdownOpen, descendants: true }, { propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"interactive && !!datalist\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-combo-box__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"arrow ? icon : ''\"\n [value]=\"nativeValue\"\n (click)=\"toggle()\"\n (keydown.enter)=\"onFieldKeyDownEnter($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n <div\n *ngIf=\"showValueTemplate\"\n automation-id=\"tui-combo-box__template\"\n ngProjectAs=\"tuiContent\"\n class=\"t-value\"\n >\n <ng-container\n *polymorpheusOutlet=\"computedContent as text; context: {$implicit: value!, active: computedFocused}\"\n >\n {{ text }}\n </ng-container>\n </div>\n </tui-primitive-textfield>\n\n <ng-template #icon>\n <div\n appearance=\"icon\"\n tuiWrapper\n class=\"t-icon\"\n >\n <ng-container *polymorpheusOutlet=\"arrow\" />\n </div>\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:left}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-value{display:flex;width:100%;align-items:center}.t-icon{pointer-events:auto}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: i3.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i3.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i4.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { kind: "directive", type: i4.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i4.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }, { kind: "directive", type: i5.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i5.TuiDropdownOpen, selector: "[tuiDropdownOpen],[tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }], viewProviders: [FIXED_DROPDOWN_CONTROLLER_PROVIDER], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
141
+ }
142
+ export { TuiComboBoxComponent };
143
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiComboBoxComponent, decorators: [{
144
+ type: Component,
145
+ args: [{ selector: 'tui-combo-box', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
146
+ tuiAsFocusableItemAccessor(TuiComboBoxComponent),
147
+ tuiAsDataListHost(TuiComboBoxComponent),
148
+ tuiAsControl(TuiComboBoxComponent),
149
+ tuiAsOptionContent(TUI_SELECT_OPTION),
150
+ ], viewProviders: [FIXED_DROPDOWN_CONTROLLER_PROVIDER], template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"interactive && !!datalist\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-combo-box__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"arrow ? icon : ''\"\n [value]=\"nativeValue\"\n (click)=\"toggle()\"\n (keydown.enter)=\"onFieldKeyDownEnter($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n <div\n *ngIf=\"showValueTemplate\"\n automation-id=\"tui-combo-box__template\"\n ngProjectAs=\"tuiContent\"\n class=\"t-value\"\n >\n <ng-container\n *polymorpheusOutlet=\"computedContent as text; context: {$implicit: value!, active: computedFocused}\"\n >\n {{ text }}\n </ng-container>\n </div>\n </tui-primitive-textfield>\n\n <ng-template #icon>\n <div\n appearance=\"icon\"\n tuiWrapper\n class=\"t-icon\"\n >\n <ng-container *polymorpheusOutlet=\"arrow\" />\n </div>\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:left}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-value{display:flex;width:100%;align-items:center}.t-icon{pointer-events:auto}\n"] }]
151
+ }], propDecorators: { accessor: [{
152
+ type: ContentChild,
153
+ args: [TUI_DATA_LIST_ACCESSOR]
154
+ }], dropdown: [{
155
+ type: ViewChild,
156
+ args: [TuiDropdownOpen]
157
+ }], textfield: [{
158
+ type: ViewChild,
159
+ args: [TuiPrimitiveTextfieldComponent]
160
+ }], datalist: [{
161
+ type: ContentChild,
162
+ args: [TuiDataListDirective, { read: TemplateRef }]
163
+ }], stringify: [{
164
+ type: Input
165
+ }], strictMatcher: [{
166
+ type: Input
167
+ }], identityMatcher: [{
168
+ type: Input
169
+ }], valueContent: [{
170
+ type: Input
171
+ }], strict: [{
172
+ type: Input
173
+ }], search: [{
174
+ type: Input
175
+ }], searchChange: [{
176
+ type: Output
177
+ }], size: [{
178
+ type: HostBinding,
179
+ args: ['attr.data-size']
180
+ }] } });
181
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tYm8tYm94LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xlZ2FjeS9jb21wb25lbnRzL2NvbWJvLWJveC9jb21iby1ib3guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2NvbXBvbmVudHMvY29tYm8tYm94L2NvbWJvLWJveC50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFlBQVksRUFDWixZQUFZLEVBQ1osV0FBVyxFQUNYLE1BQU0sRUFDTixLQUFLLEVBQ0wsTUFBTSxFQUNOLFdBQVcsRUFDWCxTQUFTLEdBQ1osTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0seUJBQXlCLENBQUM7QUFHM0QsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0sMkJBQTJCLENBQUM7QUFDN0QsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLG1DQUFtQyxDQUFDO0FBSy9ELE9BQU8sR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jb21iby1ib3hfX3RlbXBsYXRlXCJcbiAgICAgICAgICAgIG5nUHJvamVjdEFzPVwidHVpQ29udGVudFwiXG4gICAgICAgICAgICBjbGFzcz1cInQtdmFsdWVcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyXG4gICAgICAgICAgICAgICAgKnBvbHltb3JwaGV1c091dGxldD1cImNvbXB1dGVkQ29udGVudCBhcyB0ZXh0OyBjb250ZXh0OiB7JGltcGxpY2l0OiB2YWx1ZSEsIGFjdGl2ZTogY29tcHV0ZWRGb2N1c2VkfVwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAge3sgdGV4dCB9fVxuICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvdHVpLXByaW1pdGl2ZS10ZXh0ZmllbGQ+XG5cbiAgICA8bmctdGVtcGxhdGUgI2ljb24+XG4gICAgICAgIDxkaXZcbiAgICAgICAgICAgIGFwcGVhcmFuY2U9XCJpY29uXCJcbiAgICAgICAgICAgIHR1aVdyYXBwZXJcbiAgICAgICAgICAgIGNsYXNzPVwidC1pY29uXCJcbiAgICAgICAgPlxuICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqcG9seW1vcnBoZXVzT3V0bGV0PVwiYXJyb3dcIiAvPlxuICAgICAgICA8L2Rpdj5cbiAgICA8L25nLXRlbXBsYXRlPlxuPC9kaXY+XG4iXX0=
@@ -0,0 +1,26 @@
1
+ import { Directive } from '@angular/core';
2
+ import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
3
+ import { tuiAsTextfieldHost } from '@taiga-ui/legacy/tokens';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * @deprecated: drop in v5.0
7
+ */
8
+ class TuiComboBoxDirective extends AbstractTuiTextfieldHost {
9
+ get value() {
10
+ return this.host.nativeValue;
11
+ }
12
+ onValueChange(value) {
13
+ this.host.onValueChange(value);
14
+ }
15
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiComboBoxDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
16
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiComboBoxDirective, selector: "tui-combo-box", providers: [tuiAsTextfieldHost(TuiComboBoxDirective)], usesInheritance: true, ngImport: i0 }); }
17
+ }
18
+ export { TuiComboBoxDirective };
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiComboBoxDirective, decorators: [{
20
+ type: Directive,
21
+ args: [{
22
+ selector: 'tui-combo-box',
23
+ providers: [tuiAsTextfieldHost(TuiComboBoxDirective)],
24
+ }]
25
+ }] });
26
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tYm8tYm94LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xlZ2FjeS9jb21wb25lbnRzL2NvbWJvLWJveC9jb21iby1ib3guZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFDbEUsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0seUJBQXlCLENBQUM7O0FBSTNEOztHQUVHO0FBQ0gsTUFJYSxvQkFBcUIsU0FBUSx3QkFFekM7SUFDRyxJQUFvQixLQUFLO1FBQ3JCLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUM7SUFDakMsQ0FBQztJQUVNLGFBQWEsQ0FBQyxLQUFhO1FBQzlCLElBQUksQ0FBQyxJQUFJLENBQUMsY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GlzLmhvc3QubmF0aXZlVmFsdWU7XG4gICAgfVxuXG4gICAgcHVibGljIG9uVmFsdWVDaGFuZ2UodmFsdWU6IHN0cmluZyk6IHZvaWQge1xuICAgICAgICB0aGlzLmhvc3Qub25WYWx1ZUNoYW5nZSh2YWx1ZSk7XG4gICAgfVxufVxuIl19
@@ -0,0 +1,70 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+ import { TuiDropdown } from '@taiga-ui/core/directives/dropdown';
4
+ import { TuiArrowComponent } from '@taiga-ui/legacy/components/arrow';
5
+ import { TuiPrimitiveTextfieldModule, TuiTextfieldComponent, } from '@taiga-ui/legacy/components/primitive-textfield';
6
+ import { TuiSelectOptionModule } from '@taiga-ui/legacy/components/select-option';
7
+ import { TuiLegacyDropdownOpenMonitorDirective, TuiTextfieldControllerModule, TuiWrapperModule, } from '@taiga-ui/legacy/directives';
8
+ import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
9
+ import { TuiComboBoxComponent } from './combo-box.component';
10
+ import { TuiComboBoxDirective } from './combo-box.directive';
11
+ import { TuiComboBoxStrictDirective } from './combo-box-strict.directive';
12
+ import * as i0 from "@angular/core";
13
+ import * as i1 from "@taiga-ui/core/directives/dropdown";
14
+ /**
15
+ * @deprecated: drop in v5.0
16
+ */
17
+ class TuiComboBoxModule {
18
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiComboBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
19
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiComboBoxModule, declarations: [TuiComboBoxComponent,
20
+ TuiComboBoxStrictDirective,
21
+ TuiComboBoxDirective], imports: [CommonModule,
22
+ PolymorpheusOutlet,
23
+ PolymorpheusTemplate,
24
+ TuiPrimitiveTextfieldModule,
25
+ TuiSelectOptionModule,
26
+ TuiArrowComponent,
27
+ TuiWrapperModule,
28
+ TuiTextfieldControllerModule,
29
+ TuiLegacyDropdownOpenMonitorDirective, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownPortal, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection], exports: [TuiComboBoxComponent,
30
+ TuiComboBoxStrictDirective,
31
+ TuiComboBoxDirective,
32
+ TuiTextfieldComponent, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownPortal, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection] }); }
33
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiComboBoxModule, imports: [CommonModule,
34
+ TuiPrimitiveTextfieldModule,
35
+ TuiSelectOptionModule,
36
+ TuiArrowComponent,
37
+ TuiWrapperModule,
38
+ TuiTextfieldControllerModule, i1.TuiDropdownComponent] }); }
39
+ }
40
+ export { TuiComboBoxModule };
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiComboBoxModule, decorators: [{
42
+ type: NgModule,
43
+ args: [{
44
+ imports: [
45
+ CommonModule,
46
+ PolymorpheusOutlet,
47
+ PolymorpheusTemplate,
48
+ TuiPrimitiveTextfieldModule,
49
+ TuiSelectOptionModule,
50
+ TuiArrowComponent,
51
+ TuiWrapperModule,
52
+ TuiTextfieldControllerModule,
53
+ TuiLegacyDropdownOpenMonitorDirective,
54
+ ...TuiDropdown,
55
+ ],
56
+ declarations: [
57
+ TuiComboBoxComponent,
58
+ TuiComboBoxStrictDirective,
59
+ TuiComboBoxDirective,
60
+ ],
61
+ exports: [
62
+ TuiComboBoxComponent,
63
+ TuiComboBoxStrictDirective,
64
+ TuiComboBoxDirective,
65
+ TuiTextfieldComponent,
66
+ ...TuiDropdown,
67
+ ],
68
+ }]
69
+ }] });
70
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tYm8tYm94Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xlZ2FjeS9jb21wb25lbnRzL2NvbWJvLWJveC9jb21iby1ib3gubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSxvQ0FBb0MsQ0FBQztBQUMvRCxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQztBQUNwRSxPQUFPLEVBQ0gsMkJBQTJCLEVBQzNCLHFCQUFxQixHQUN4QixNQUFNLGlEQUFpRCxDQUFDO0FBQ3pELE9BQU8sRUFBQyxxQkFBcUIsRUFBQyxNQUFNLDJDQUEyQyxDQUFDO0FBQ2hGLE9BQU8sRUFDSCxxQ0FBcUMsRUFDckMsNEJBQTRCLEVBQzVCLGdCQUFnQixHQUNuQixNQUFNLDZCQUE2QixDQUFDO0FBQ3JDLE9BQU8sRUFBQyxrQkFBa0IsRUFBRSxvQkFBb0IsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBRWhGLE9BQU8sRUFBQyxvQkFBb0IsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBQzNELE9BQU8sRUFBQyxvQkF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W9kdWxlIHt9XG4iXX0=
@@ -0,0 +1,5 @@
1
+ export * from './combo-box.component';
2
+ export * from './combo-box.directive';
3
+ export * from './combo-box.module';
4
+ export * from './combo-box-strict.directive';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9jb21iby1ib3gvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyw4QkFBOEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29tYm8tYm94LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2NvbWJvLWJveC5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9jb21iby1ib3gubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vY29tYm8tYm94LXN0cmljdC5kaXJlY3RpdmUnO1xuIl19
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktbGVnYWN5LWNvbXBvbmVudHMtY29tYm8tYm94LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2NvbXBvbmVudHMvY29tYm8tYm94L3RhaWdhLXVpLWxlZ2FjeS1jb21wb25lbnRzLWNvbWJvLWJveC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -0,0 +1,34 @@
1
+ export * from '@taiga-ui/legacy/components/arrow';
2
+ export * from '@taiga-ui/legacy/components/color-selector';
3
+ export * from '@taiga-ui/legacy/components/combo-box';
4
+ export * from '@taiga-ui/legacy/components/input';
5
+ export * from '@taiga-ui/legacy/components/input-color';
6
+ export * from '@taiga-ui/legacy/components/input-copy';
7
+ export * from '@taiga-ui/legacy/components/input-date';
8
+ export * from '@taiga-ui/legacy/components/input-date-multi';
9
+ export * from '@taiga-ui/legacy/components/input-date-range';
10
+ export * from '@taiga-ui/legacy/components/input-date-time';
11
+ export * from '@taiga-ui/legacy/components/input-month';
12
+ export * from '@taiga-ui/legacy/components/input-month-range';
13
+ export * from '@taiga-ui/legacy/components/input-number';
14
+ export * from '@taiga-ui/legacy/components/input-password';
15
+ export * from '@taiga-ui/legacy/components/input-phone';
16
+ export * from '@taiga-ui/legacy/components/input-phone-international';
17
+ export * from '@taiga-ui/legacy/components/input-range';
18
+ export * from '@taiga-ui/legacy/components/input-slider';
19
+ export * from '@taiga-ui/legacy/components/input-tag';
20
+ export * from '@taiga-ui/legacy/components/input-time';
21
+ export * from '@taiga-ui/legacy/components/input-year';
22
+ export * from '@taiga-ui/legacy/components/island';
23
+ export * from '@taiga-ui/legacy/components/multi-select';
24
+ export * from '@taiga-ui/legacy/components/multi-select-option';
25
+ export * from '@taiga-ui/legacy/components/primitive-textfield';
26
+ export * from '@taiga-ui/legacy/components/select';
27
+ export * from '@taiga-ui/legacy/components/select-option';
28
+ export * from '@taiga-ui/legacy/components/sheet';
29
+ export * from '@taiga-ui/legacy/components/svg';
30
+ export * from '@taiga-ui/legacy/components/table-bar';
31
+ export * from '@taiga-ui/legacy/components/tag';
32
+ export * from '@taiga-ui/legacy/components/textarea';
33
+ export * from '@taiga-ui/legacy/components/tooltip';
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGNBQWMsNENBQTRDLENBQUM7QUFDM0QsY0FBYyx1Q0FBdUMsQ0FBQztBQUN0RCxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGNBQWMseUNBQXlDLENBQUM7QUFDeEQsY0FBYyx3Q0FBd0MsQ0FBQztBQUN2RCxjQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELGNBQWMsOENBQThDLENBQUM7QUFDN0QsY0FBYyw4Q0FBOEMsQ0FBQztBQUM3RCxjQUFjLDZDQUE2QyxDQUFDO0FBQzVELGNBQWMseUNBQXlDLENBQUM7QUFDeEQsY0FBYywrQ0FBK0MsQ0FBQztBQUM5RCxjQUFjLDBDQUEwQyxDQUFDO0FBQ3pELGNBQWMsNENBQTRDLENBQUM7QUFDM0QsY0FBYyx5Q0FBeUMsQ0FBQztBQUN4RCxjQUFjLHVEQUF1RCxDQUFDO0FBQ3RFLGNBQWMseUNBQXlDLENBQUM7QUFDeEQsY0FBYywwQ0FBMEMsQ0FBQztBQUN6RCxjQUFjLHVDQUF1QyxDQUFDO0FBQ3RELGNBQWMsd0NBQXdDLENBQUM7QUFDdkQsY0FBYyx3Q0FBd0MsQ0FBQztBQUN2RCxjQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGNBQWMsMENBQTBDLENBQUM7QUFDekQsY0FBYyxpREFBaUQsQ0FBQztBQUNoRSxjQUFjLGlEQUFpRCxDQUFDO0FBQ2hFLGNBQWMsb0NBQW9DLENB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0ICogZnJvbSAnQHRhaWdhLXVpL2xlZ2FjeS9jb21wb25lbnRzL3ByaW1pdGl2ZS10ZXh0ZmllbGQnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2xlZ2FjeS9jb21wb25lbnRzL3NlbGVjdCc7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvbGVnYWN5L2NvbXBvbmVudHMvc2VsZWN0LW9wdGlvbic7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvbGVnYWN5L2NvbXBvbmVudHMvc2hlZXQnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2xlZ2FjeS9jb21wb25lbnRzL3N2Zyc7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvbGVnYWN5L2NvbXBvbmVudHMvdGFibGUtYmFyJztcbmV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9sZWdhY3kvY29tcG9uZW50cy90YWcnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2xlZ2FjeS9jb21wb25lbnRzL3RleHRhcmVhJztcbmV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9sZWdhY3kvY29tcG9uZW50cy90b29sdGlwJztcbiJdfQ==
@@ -0,0 +1,4 @@
1
+ export * from './input.component';
2
+ export * from './input.directive';
3
+ export * from './input.module';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9pbnB1dC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaW5wdXQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vaW5wdXQuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vaW5wdXQubW9kdWxlJztcbiJdfQ==
@@ -0,0 +1,92 @@
1
+ import { ChangeDetectionStrategy, Component, ContentChild, HostBinding, inject, TemplateRef, ViewChild, } from '@angular/core';
2
+ import { tuiIsNativeFocused } from '@taiga-ui/cdk/utils/focus';
3
+ import { tuiAsDataListHost, TuiDataListDirective, } from '@taiga-ui/core/components/data-list';
4
+ import { TuiDropdownOpen } from '@taiga-ui/core/directives/dropdown';
5
+ import { AbstractTuiControl, tuiAsControl } from '@taiga-ui/legacy/classes';
6
+ import { TuiPrimitiveTextfieldComponent } from '@taiga-ui/legacy/components/primitive-textfield';
7
+ import { TUI_TEXTFIELD_SIZE, TUI_VALUE_ACCESSOR_PROVIDER, } from '@taiga-ui/legacy/directives';
8
+ import { tuiAsFocusableItemAccessor } from '@taiga-ui/legacy/tokens';
9
+ import { FIXED_DROPDOWN_CONTROLLER_PROVIDER } from '@taiga-ui/legacy/utils';
10
+ import * as i0 from "@angular/core";
11
+ import * as i1 from "@taiga-ui/legacy/components/primitive-textfield";
12
+ import * as i2 from "@taiga-ui/core/directives/dropdown";
13
+ /**
14
+ * @deprecated: drop in v5.0
15
+ */
16
+ class TuiInputComponent extends AbstractTuiControl {
17
+ constructor() {
18
+ super(...arguments);
19
+ this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
20
+ this.open = false;
21
+ }
22
+ get size() {
23
+ return this.textfieldSize.size;
24
+ }
25
+ get nativeFocusableElement() {
26
+ return this.computedDisabled || !this.textfield
27
+ ? null
28
+ : this.textfield.nativeFocusableElement;
29
+ }
30
+ get focused() {
31
+ return (tuiIsNativeFocused(this.nativeFocusableElement) || !!this.dropdown?.focused);
32
+ }
33
+ handleOption(item) {
34
+ this.setNativeValue(String(item));
35
+ this.focusInput();
36
+ this.value = String(item);
37
+ this.open = false;
38
+ }
39
+ onValueChange(value) {
40
+ this.value = value;
41
+ this.open = true;
42
+ }
43
+ get canOpen() {
44
+ return this.interactive && !!this.datalist;
45
+ }
46
+ onActiveZone(active) {
47
+ this.updateFocused(active);
48
+ }
49
+ getFallbackValue() {
50
+ return '';
51
+ }
52
+ focusInput(preventScroll = false) {
53
+ if (this.nativeFocusableElement) {
54
+ this.nativeFocusableElement.focus({ preventScroll });
55
+ }
56
+ }
57
+ setNativeValue(value) {
58
+ if (this.nativeFocusableElement) {
59
+ this.nativeFocusableElement.value = value;
60
+ }
61
+ }
62
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
63
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputComponent, selector: "tui-input", host: { properties: { "attr.data-size": "this.size" } }, providers: [
64
+ TUI_VALUE_ACCESSOR_PROVIDER,
65
+ tuiAsFocusableItemAccessor(TuiInputComponent),
66
+ tuiAsDataListHost(TuiInputComponent),
67
+ tuiAsControl(TuiInputComponent),
68
+ ], queries: [{ propertyName: "datalist", first: true, predicate: TuiDataListDirective, descendants: true, read: TemplateRef }], viewQueries: [{ propertyName: "dropdown", first: true, predicate: TuiDropdownOpen, descendants: true }, { propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"canOpen\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [value]=\"value\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:left}:host._disabled{pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}\n"], dependencies: [{ kind: "component", type: i1.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i1.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i2.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i2.TuiDropdownOpen, selector: "[tuiDropdownOpen],[tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }], viewProviders: [FIXED_DROPDOWN_CONTROLLER_PROVIDER], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
69
+ }
70
+ export { TuiInputComponent };
71
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputComponent, decorators: [{
72
+ type: Component,
73
+ args: [{ selector: 'tui-input', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
74
+ TUI_VALUE_ACCESSOR_PROVIDER,
75
+ tuiAsFocusableItemAccessor(TuiInputComponent),
76
+ tuiAsDataListHost(TuiInputComponent),
77
+ tuiAsControl(TuiInputComponent),
78
+ ], viewProviders: [FIXED_DROPDOWN_CONTROLLER_PROVIDER], template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"canOpen\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [value]=\"value\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:left}:host._disabled{pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}\n"] }]
79
+ }], propDecorators: { dropdown: [{
80
+ type: ViewChild,
81
+ args: [TuiDropdownOpen]
82
+ }], textfield: [{
83
+ type: ViewChild,
84
+ args: [TuiPrimitiveTextfieldComponent]
85
+ }], datalist: [{
86
+ type: ContentChild,
87
+ args: [TuiDataListDirective, { read: TemplateRef }]
88
+ }], size: [{
89
+ type: HostBinding,
90
+ args: ['attr.data-size']
91
+ }] } });
92
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2NvbXBvbmVudHMvaW5wdXQvaW5wdXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2NvbXBvbmVudHMvaW5wdXQvaW5wdXQudGVtcGxhdGUuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxZQU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2ZvY3VzYWJsZV09XCJjb21wdXRlZEZvY3VzYWJsZVwiXG4gICAgICAgIFtpbnZhbGlkXT1cImNvbXB1dGVkSW52YWxpZFwiXG4gICAgICAgIFtuYXRpdmVJZF09XCJuYXRpdmVJZFwiXG4gICAgICAgIFtwc2V1ZG9Gb2N1c109XCJjb21wdXRlZEZvY3VzZWRcIlxuICAgICAgICBbcHNldWRvSG92ZXJdPVwicHNldWRvSG92ZXJcIlxuICAgICAgICBbcmVhZE9ubHldPVwicmVhZE9ubHlcIlxuICAgICAgICBbdmFsdWVdPVwidmFsdWVcIlxuICAgICAgICAodmFsdWVDaGFuZ2UpPVwib25WYWx1ZUNoYW5nZSgkZXZlbnQpXCJcbiAgICA+XG4gICAgICAgIDxuZy1jb250ZW50IC8+XG4gICAgICAgIDxuZy1jb250ZW50XG4gICAgICAgICAgICBuZ1Byb2plY3RBcz1cImlucHV0XCJcbiAgICAgICAgICAgIHNlbGVjdD1cImlucHV0XCJcbiAgICAgICAgLz5cbiAgICA8L3R1aS1wcmltaXRpdmUtdGV4dGZpZWxkPlxuPC9kaXY+XG4iXX0=
@@ -0,0 +1,23 @@
1
+ import { Directive } from '@angular/core';
2
+ import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
3
+ import { tuiAsTextfieldHost } from '@taiga-ui/legacy/tokens';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * @deprecated: drop in v5.0
7
+ */
8
+ class TuiInputDirective extends AbstractTuiTextfieldHost {
9
+ onValueChange(value) {
10
+ this.host.onValueChange(value);
11
+ }
12
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
13
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputDirective, selector: "tui-input", providers: [tuiAsTextfieldHost(TuiInputDirective)], usesInheritance: true, ngImport: i0 }); }
14
+ }
15
+ export { TuiInputDirective };
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDirective, decorators: [{
17
+ type: Directive,
18
+ args: [{
19
+ selector: 'tui-input',
20
+ providers: [tuiAsTextfieldHost(TuiInputDirective)],
21
+ }]
22
+ }] });
23
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2NvbXBvbmVudHMvaW5wdXQvaW5wdXQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFDbEUsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0seUJBQXlCLENBQUM7O0FBSTNEOztHQUVHO0FBQ0gsTUFJYSxpQkFBa0IsU0FBUSx3QkFBMkM7SUFDdkUsYUFBYSxDQUFDLEtBQWE7UUFDOUIsSUFBSSxDQUFDLElBQUksQ0FBQyxhQUFhLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDbkMsQ0FBQzsrR0FIUSxpQkFBaUI7bUdBQWpCLGlCQUFpQixvQ0FGZixDQUFDLGtCQUFrQixDQUFDLGlCQUFpQixDQUFDLENBQUM7O1NBRXpDLGlCQUFpQjs0RkFBakIsaUJBQWlCO2tCQUo3QixTQUFTO21CQUFDO29CQUNQLFFBQVEsRUFBRSxXQUFXO29CQUNyQixTQUFTLEVBQUUsQ0FBQyxrQkFBa0IsbUJBQW1CLENBQUM7aUJBQ3JEIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtEaXJlY3RpdmV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtBYnN0cmFjdFR1aVRleHRmaWVsZEhvc3R9IGZyb20gJ0B0YWlnYS11aS9sZWdhY3kvY2xhc3Nlcyc7XG5pbXBvcnQge3R1aUFzVGV4dGZpZWxkSG9zdH0gZnJvbSAnQHRhaWdhLXVpL2xlZ2FjeS90b2tlbnMnO1xuXG5pbXBvcnQgdHlwZSB7VHVpSW5wdXRDb21wb25lbnR9IGZyb20gJy4vaW5wdXQuY29tcG9uZW50JztcblxuLyoqXG4gKiBAZGVwcmVjYXRlZDogZHJvcCBpbiB2NS4wXG4gKi9cbkBEaXJlY3RpdmUoe1xuICAgIHNlbGVjdG9yOiAndHVpLWlucHV0JyxcbiAgICBwcm92aWRlcnM6IFt0dWlBc1RleHRmaWVsZEhvc3QoVHVpSW5wdXREaXJlY3RpdmUpXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpSW5wdXREaXJlY3RpdmUgZXh0ZW5kcyBBYnN0cmFjdFR1aVRleHRmaWVsZEhvc3Q8VHVpSW5wdXRDb21wb25lbnQ+IHtcbiAgICBwdWJsaWMgb25WYWx1ZUNoYW5nZSh2YWx1ZTogc3RyaW5nKTogdm9pZCB7XG4gICAgICAgIHRoaXMuaG9zdC5vblZhbHVlQ2hhbmdlKHZhbHVlKTtcbiAgICB9XG59XG4iXX0=
@@ -0,0 +1,33 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+ import { TuiDropdown } from '@taiga-ui/core/directives/dropdown';
4
+ import { TuiPrimitiveTextfieldModule, TuiTextfieldComponent, } from '@taiga-ui/legacy/components/primitive-textfield';
5
+ import { TuiInputComponent } from './input.component';
6
+ import { TuiInputDirective } from './input.directive';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "@taiga-ui/core/directives/dropdown";
9
+ /**
10
+ * @deprecated: drop in v5.0
11
+ */
12
+ class TuiInputModule {
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
14
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiInputModule, declarations: [TuiInputComponent, TuiInputDirective], imports: [CommonModule, TuiPrimitiveTextfieldModule, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownPortal, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection], exports: [TuiInputComponent,
15
+ TuiInputDirective,
16
+ TuiTextfieldComponent, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownPortal, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection] }); }
17
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputModule, imports: [CommonModule, TuiPrimitiveTextfieldModule, i1.TuiDropdownComponent] }); }
18
+ }
19
+ export { TuiInputModule };
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputModule, decorators: [{
21
+ type: NgModule,
22
+ args: [{
23
+ imports: [CommonModule, TuiPrimitiveTextfieldModule, ...TuiDropdown],
24
+ declarations: [TuiInputComponent, TuiInputDirective],
25
+ exports: [
26
+ TuiInputComponent,
27
+ TuiInputDirective,
28
+ TuiTextfieldComponent,
29
+ ...TuiDropdown,
30
+ ],
31
+ }]
32
+ }] });
33
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJ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b2R1bGUge31cbiJdfQ==
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktbGVnYWN5LWNvbXBvbmVudHMtaW5wdXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9pbnB1dC90YWlnYS11aS1sZWdhY3ktY29tcG9uZW50cy1pbnB1dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -0,0 +1,3 @@
1
+ export * from './input-color.component';
2
+ export * from './input-color.module';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9pbnB1dC1jb2xvci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2lucHV0LWNvbG9yLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2lucHV0LWNvbG9yLm1vZHVsZSc7XG4iXX0=