@taiga-ui/legacy 4.0.0-rc.1

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 (632) hide show
  1. package/LICENSE +190 -0
  2. package/README.md +22 -0
  3. package/classes/abstract-native-select.d.ts +17 -0
  4. package/classes/abstract-textfield-host.d.ts +19 -0
  5. package/classes/control.d.ts +58 -0
  6. package/classes/index.d.ts +8 -0
  7. package/classes/interactive.d.ts +35 -0
  8. package/classes/multiple-control.d.ts +8 -0
  9. package/classes/named-day.d.ts +8 -0
  10. package/classes/nullable-control.d.ts +7 -0
  11. package/classes/stringifiable-item.d.ts +10 -0
  12. package/components/arrow/arrow.component.d.ts +16 -0
  13. package/components/arrow/arrow.options.d.ts +13 -0
  14. package/components/arrow/arrow.providers.d.ts +14 -0
  15. package/components/arrow/index.d.ts +3 -0
  16. package/components/combo-box/combo-box-strict.directive.d.ts +8 -0
  17. package/components/combo-box/combo-box.component.d.ts +47 -0
  18. package/components/combo-box/combo-box.directive.d.ts +9 -0
  19. package/components/combo-box/combo-box.module.d.ts +16 -0
  20. package/components/combo-box/index.d.ts +4 -0
  21. package/components/index.d.ts +31 -0
  22. package/components/input/index.d.ts +3 -0
  23. package/components/input/input.component.d.ts +27 -0
  24. package/components/input/input.directive.d.ts +8 -0
  25. package/components/input/input.module.d.ts +11 -0
  26. package/components/input-copy/index.d.ts +4 -0
  27. package/components/input-copy/input-copy.component.d.ts +30 -0
  28. package/components/input-copy/input-copy.directive.d.ts +8 -0
  29. package/components/input-copy/input-copy.module.d.ts +15 -0
  30. package/components/input-copy/input-copy.options.d.ts +14 -0
  31. package/components/input-date/index.d.ts +3 -0
  32. package/components/input-date/input-date.component.d.ts +61 -0
  33. package/components/input-date/input-date.directive.d.ts +15 -0
  34. package/components/input-date/input-date.module.d.ts +20 -0
  35. package/components/input-date/native-date/native-date.component.d.ts +11 -0
  36. package/components/input-date-multi/index.d.ts +2 -0
  37. package/components/input-date-multi/input-date-multi.component.d.ts +66 -0
  38. package/components/input-date-multi/input-date-multi.module.d.ts +20 -0
  39. package/components/input-date-range/index.d.ts +3 -0
  40. package/components/input-date-range/input-date-range.component.d.ts +63 -0
  41. package/components/input-date-range/input-date-range.directive.d.ts +12 -0
  42. package/components/input-date-range/input-date-range.module.d.ts +18 -0
  43. package/components/input-date-time/index.d.ts +3 -0
  44. package/components/input-date-time/input-date-time.component.d.ts +77 -0
  45. package/components/input-date-time/input-date-time.directive.d.ts +13 -0
  46. package/components/input-date-time/input-date-time.module.d.ts +19 -0
  47. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +9 -0
  48. package/components/input-month/index.d.ts +3 -0
  49. package/components/input-month/input-month.component.d.ts +41 -0
  50. package/components/input-month/input-month.directive.d.ts +15 -0
  51. package/components/input-month/input-month.module.d.ts +15 -0
  52. package/components/input-month-range/index.d.ts +3 -0
  53. package/components/input-month-range/input-month-range.component.d.ts +35 -0
  54. package/components/input-month-range/input-month-range.directive.d.ts +15 -0
  55. package/components/input-month-range/input-month-range.module.d.ts +14 -0
  56. package/components/input-number/index.d.ts +4 -0
  57. package/components/input-number/input-number.component.d.ts +56 -0
  58. package/components/input-number/input-number.directive.d.ts +12 -0
  59. package/components/input-number/input-number.module.d.ts +14 -0
  60. package/components/input-number/input-number.options.d.ts +17 -0
  61. package/components/input-password/index.d.ts +4 -0
  62. package/components/input-password/input-password.component.d.ts +30 -0
  63. package/components/input-password/input-password.directive.d.ts +12 -0
  64. package/components/input-password/input-password.module.d.ts +16 -0
  65. package/components/input-password/input-password.options.d.ts +13 -0
  66. package/components/input-phone/index.d.ts +4 -0
  67. package/components/input-phone/input-phone.component.d.ts +48 -0
  68. package/components/input-phone/input-phone.directive.d.ts +13 -0
  69. package/components/input-phone/input-phone.module.d.ts +12 -0
  70. package/components/input-phone/input-phone.options.d.ts +12 -0
  71. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +9 -0
  72. package/components/input-phone/utils/create-phone-mask-expression.d.ts +7 -0
  73. package/components/input-phone/utils/index.d.ts +2 -0
  74. package/components/input-phone-international/index.d.ts +3 -0
  75. package/components/input-phone-international/input-phone-international.component.d.ts +38 -0
  76. package/components/input-phone-international/input-phone-international.options.d.ts +12 -0
  77. package/components/input-phone-international/utils/extract-value-from-event.d.ts +1 -0
  78. package/components/input-range/index.d.ts +2 -0
  79. package/components/input-range/input-range.component.d.ts +52 -0
  80. package/components/input-range/input-range.module.d.ts +15 -0
  81. package/components/input-slider/index.d.ts +2 -0
  82. package/components/input-slider/input-slider.component.d.ts +38 -0
  83. package/components/input-slider/input-slider.module.d.ts +14 -0
  84. package/components/input-tag/index.d.ts +3 -0
  85. package/components/input-tag/input-tag.component.d.ts +94 -0
  86. package/components/input-tag/input-tag.module.d.ts +18 -0
  87. package/components/input-tag/input-tag.options.d.ts +13 -0
  88. package/components/input-time/index.d.ts +4 -0
  89. package/components/input-time/input-time.component.d.ts +60 -0
  90. package/components/input-time/input-time.directive.d.ts +13 -0
  91. package/components/input-time/input-time.module.d.ts +19 -0
  92. package/components/input-time/input-time.options.d.ts +20 -0
  93. package/components/input-time/native-time/native-time.component.d.ts +12 -0
  94. package/components/input-year/index.d.ts +3 -0
  95. package/components/input-year/input-year.component.d.ts +32 -0
  96. package/components/input-year/input-year.directive.d.ts +10 -0
  97. package/components/input-year/input-year.module.d.ts +14 -0
  98. package/components/island/index.d.ts +1 -0
  99. package/components/island/island.directive.d.ts +16 -0
  100. package/components/multi-select/hide-selected.pipe.d.ts +11 -0
  101. package/components/multi-select/index.d.ts +10 -0
  102. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +23 -0
  103. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +8 -0
  104. package/components/multi-select/multi-select.component.d.ts +65 -0
  105. package/components/multi-select/multi-select.directive.d.ts +14 -0
  106. package/components/multi-select/multi-select.module.d.ts +27 -0
  107. package/components/multi-select/multi-select.options.d.ts +13 -0
  108. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +9 -0
  109. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +8 -0
  110. package/components/multi-select/native-multi-select/native-multi-select.d.ts +11 -0
  111. package/components/multi-select-option/index.d.ts +2 -0
  112. package/components/multi-select-option/multi-select-option.component.d.ts +9 -0
  113. package/components/multi-select-option/multi-select-option.module.d.ts +9 -0
  114. package/components/primitive-textfield/index.d.ts +7 -0
  115. package/components/primitive-textfield/primitive-textfield-options.d.ts +22 -0
  116. package/components/primitive-textfield/primitive-textfield-types.d.ts +11 -0
  117. package/components/primitive-textfield/primitive-textfield.component.d.ts +68 -0
  118. package/components/primitive-textfield/primitive-textfield.directive.d.ts +10 -0
  119. package/components/primitive-textfield/primitive-textfield.module.d.ts +17 -0
  120. package/components/primitive-textfield/textfield/textfield.component.d.ts +13 -0
  121. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +22 -0
  122. package/components/select/index.d.ts +6 -0
  123. package/components/select/native-select/native-select-group.component.d.ts +13 -0
  124. package/components/select/native-select/native-select.component.d.ts +12 -0
  125. package/components/select/select.component.d.ts +40 -0
  126. package/components/select/select.directive.d.ts +12 -0
  127. package/components/select/select.module.d.ts +20 -0
  128. package/components/select/select.options.d.ts +12 -0
  129. package/components/select-option/index.d.ts +2 -0
  130. package/components/select-option/select-option.component.d.ts +27 -0
  131. package/components/select-option/select-option.module.d.ts +10 -0
  132. package/components/sheet/components/sheet/sheet.component.d.ts +31 -0
  133. package/components/sheet/components/sheet/sheet.providers.d.ts +2 -0
  134. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +10 -0
  135. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +14 -0
  136. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +15 -0
  137. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +14 -0
  138. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +6 -0
  139. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +14 -0
  140. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +17 -0
  141. package/components/sheet/index.d.ts +14 -0
  142. package/components/sheet/sheet-options.d.ts +24 -0
  143. package/components/sheet/sheet-tokens.d.ts +15 -0
  144. package/components/sheet/sheet.d.ts +19 -0
  145. package/components/sheet/sheet.directive.d.ts +16 -0
  146. package/components/sheet/sheet.module.d.ts +23 -0
  147. package/components/sheet/sheet.service.d.ts +16 -0
  148. package/components/svg/content-processor.d.ts +16 -0
  149. package/components/svg/deprecated-icons.d.ts +1 -0
  150. package/components/svg/index.d.ts +5 -0
  151. package/components/svg/svg-options.d.ts +22 -0
  152. package/components/svg/svg.component.d.ts +43 -0
  153. package/components/svg/svg.service.d.ts +21 -0
  154. package/components/table-bar/index.d.ts +5 -0
  155. package/components/table-bar/table-bar.component.d.ts +13 -0
  156. package/components/table-bar/table-bar.directive.d.ts +7 -0
  157. package/components/table-bar/table-bar.options.d.ts +14 -0
  158. package/components/table-bar/table-bars-host.component.d.ts +6 -0
  159. package/components/table-bar/table-bars.service.d.ts +10 -0
  160. package/components/tag/index.d.ts +3 -0
  161. package/components/tag/tag.component.d.ts +40 -0
  162. package/components/tag/tag.module.d.ts +12 -0
  163. package/components/tag/tag.options.d.ts +15 -0
  164. package/components/textarea/index.d.ts +3 -0
  165. package/components/textarea/textarea.component.d.ts +50 -0
  166. package/components/textarea/textarea.directive.d.ts +8 -0
  167. package/components/textarea/textarea.module.d.ts +17 -0
  168. package/components/tooltip/index.d.ts +2 -0
  169. package/components/tooltip/tooltip.component.d.ts +12 -0
  170. package/components/tooltip/tooltip.module.d.ts +12 -0
  171. package/directives/index.d.ts +5 -0
  172. package/directives/legacy-dropdown-open-monitor/index.d.ts +1 -0
  173. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +9 -0
  174. package/directives/textfield-controller/index.d.ts +14 -0
  175. package/directives/textfield-controller/textfield-appearance.directive.d.ts +8 -0
  176. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +8 -0
  177. package/directives/textfield-controller/textfield-controller.module.d.ts +17 -0
  178. package/directives/textfield-controller/textfield-controller.provider.d.ts +5 -0
  179. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +9 -0
  180. package/directives/textfield-controller/textfield-filler.directive.d.ts +8 -0
  181. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +11 -0
  182. package/directives/textfield-controller/textfield-icon.directive.d.ts +11 -0
  183. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +8 -0
  184. package/directives/textfield-controller/textfield-postfix.directive.d.ts +8 -0
  185. package/directives/textfield-controller/textfield-prefix.directive.d.ts +8 -0
  186. package/directives/textfield-controller/textfield-size.directive.d.ts +9 -0
  187. package/directives/textfield-controller/textfield.controller.d.ts +41 -0
  188. package/directives/textfield-controller/textfield.options.d.ts +15 -0
  189. package/directives/unfinished-validator/index.d.ts +2 -0
  190. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +8 -0
  191. package/directives/unfinished-validator/unfinished.validator.d.ts +4 -0
  192. package/directives/value-accessor/index.d.ts +3 -0
  193. package/directives/value-accessor/value-accessor.directive.d.ts +5 -0
  194. package/directives/value-accessor/value-accessor.module.d.ts +7 -0
  195. package/directives/value-accessor/value-accessor.provider.d.ts +2 -0
  196. package/directives/wrapper/README.md +19 -0
  197. package/directives/wrapper/index.d.ts +2 -0
  198. package/directives/wrapper/wrapper.directive.d.ts +21 -0
  199. package/directives/wrapper/wrapper.module.d.ts +10 -0
  200. package/esm2022/classes/abstract-native-select.mjs +37 -0
  201. package/esm2022/classes/abstract-textfield-host.mjs +37 -0
  202. package/esm2022/classes/control.mjs +175 -0
  203. package/esm2022/classes/index.mjs +9 -0
  204. package/esm2022/classes/interactive.mjs +85 -0
  205. package/esm2022/classes/multiple-control.mjs +18 -0
  206. package/esm2022/classes/named-day.mjs +11 -0
  207. package/esm2022/classes/nullable-control.mjs +15 -0
  208. package/esm2022/classes/stringifiable-item.mjs +13 -0
  209. package/esm2022/classes/taiga-ui-legacy-classes.mjs +5 -0
  210. package/esm2022/components/arrow/arrow.component.mjs +42 -0
  211. package/esm2022/components/arrow/arrow.options.mjs +14 -0
  212. package/esm2022/components/arrow/arrow.providers.mjs +14 -0
  213. package/esm2022/components/arrow/index.mjs +4 -0
  214. package/esm2022/components/arrow/taiga-ui-legacy-components-arrow.mjs +5 -0
  215. package/esm2022/components/combo-box/combo-box-strict.directive.mjs +29 -0
  216. package/esm2022/components/combo-box/combo-box.component.mjs +176 -0
  217. package/esm2022/components/combo-box/combo-box.directive.mjs +23 -0
  218. package/esm2022/components/combo-box/combo-box.module.mjs +67 -0
  219. package/esm2022/components/combo-box/index.mjs +5 -0
  220. package/esm2022/components/combo-box/taiga-ui-legacy-components-combo-box.mjs +5 -0
  221. package/esm2022/components/index.mjs +32 -0
  222. package/esm2022/components/input/index.mjs +4 -0
  223. package/esm2022/components/input/input.component.mjs +89 -0
  224. package/esm2022/components/input/input.directive.mjs +20 -0
  225. package/esm2022/components/input/input.module.mjs +30 -0
  226. package/esm2022/components/input/taiga-ui-legacy-components-input.mjs +5 -0
  227. package/esm2022/components/input-copy/index.mjs +5 -0
  228. package/esm2022/components/input-copy/input-copy.component.mjs +103 -0
  229. package/esm2022/components/input-copy/input-copy.directive.mjs +20 -0
  230. package/esm2022/components/input-copy/input-copy.module.mjs +52 -0
  231. package/esm2022/components/input-copy/input-copy.options.mjs +12 -0
  232. package/esm2022/components/input-copy/taiga-ui-legacy-components-input-copy.mjs +5 -0
  233. package/esm2022/components/input-date/index.mjs +4 -0
  234. package/esm2022/components/input-date/input-date.component.mjs +217 -0
  235. package/esm2022/components/input-date/input-date.directive.mjs +38 -0
  236. package/esm2022/components/input-date/input-date.module.mjs +71 -0
  237. package/esm2022/components/input-date/native-date/native-date.component.mjs +48 -0
  238. package/esm2022/components/input-date/taiga-ui-legacy-components-input-date.mjs +5 -0
  239. package/esm2022/components/input-date-multi/index.mjs +3 -0
  240. package/esm2022/components/input-date-multi/input-date-multi.component.mjs +212 -0
  241. package/esm2022/components/input-date-multi/input-date-multi.module.mjs +67 -0
  242. package/esm2022/components/input-date-multi/taiga-ui-legacy-components-input-date-multi.mjs +5 -0
  243. package/esm2022/components/input-date-range/index.mjs +4 -0
  244. package/esm2022/components/input-date-range/input-date-range.component.mjs +243 -0
  245. package/esm2022/components/input-date-range/input-date-range.directive.mjs +31 -0
  246. package/esm2022/components/input-date-range/input-date-range.module.mjs +67 -0
  247. package/esm2022/components/input-date-range/taiga-ui-legacy-components-input-date-range.mjs +5 -0
  248. package/esm2022/components/input-date-time/index.mjs +4 -0
  249. package/esm2022/components/input-date-time/input-date-time.component.mjs +302 -0
  250. package/esm2022/components/input-date-time/input-date-time.directive.mjs +32 -0
  251. package/esm2022/components/input-date-time/input-date-time.module.mjs +74 -0
  252. package/esm2022/components/input-date-time/native-date-time/native-date-time.directive.mjs +44 -0
  253. package/esm2022/components/input-date-time/taiga-ui-legacy-components-input-date-time.mjs +5 -0
  254. package/esm2022/components/input-month/index.mjs +4 -0
  255. package/esm2022/components/input-month/input-month.component.mjs +132 -0
  256. package/esm2022/components/input-month/input-month.directive.mjs +41 -0
  257. package/esm2022/components/input-month/input-month.module.mjs +53 -0
  258. package/esm2022/components/input-month/taiga-ui-legacy-components-input-month.mjs +5 -0
  259. package/esm2022/components/input-month-range/index.mjs +4 -0
  260. package/esm2022/components/input-month-range/input-month-range.component.mjs +120 -0
  261. package/esm2022/components/input-month-range/input-month-range.directive.mjs +47 -0
  262. package/esm2022/components/input-month-range/input-month-range.module.mjs +49 -0
  263. package/esm2022/components/input-month-range/taiga-ui-legacy-components-input-month-range.mjs +5 -0
  264. package/esm2022/components/input-number/index.mjs +5 -0
  265. package/esm2022/components/input-number/input-number.component.mjs +257 -0
  266. package/esm2022/components/input-number/input-number.directive.mjs +33 -0
  267. package/esm2022/components/input-number/input-number.module.mjs +44 -0
  268. package/esm2022/components/input-number/input-number.options.mjs +19 -0
  269. package/esm2022/components/input-number/taiga-ui-legacy-components-input-number.mjs +5 -0
  270. package/esm2022/components/input-password/index.mjs +5 -0
  271. package/esm2022/components/input-password/input-password.component.mjs +78 -0
  272. package/esm2022/components/input-password/input-password.directive.mjs +30 -0
  273. package/esm2022/components/input-password/input-password.module.mjs +56 -0
  274. package/esm2022/components/input-password/input-password.options.mjs +12 -0
  275. package/esm2022/components/input-password/taiga-ui-legacy-components-input-password.mjs +5 -0
  276. package/esm2022/components/input-phone/index.mjs +5 -0
  277. package/esm2022/components/input-phone/input-phone.component.mjs +217 -0
  278. package/esm2022/components/input-phone/input-phone.directive.mjs +33 -0
  279. package/esm2022/components/input-phone/input-phone.module.mjs +44 -0
  280. package/esm2022/components/input-phone/input-phone.options.mjs +14 -0
  281. package/esm2022/components/input-phone/taiga-ui-legacy-components-input-phone.mjs +5 -0
  282. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +41 -0
  283. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +17 -0
  284. package/esm2022/components/input-phone/utils/index.mjs +3 -0
  285. package/esm2022/components/input-phone-international/index.mjs +4 -0
  286. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +181 -0
  287. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +13 -0
  288. package/esm2022/components/input-phone-international/taiga-ui-legacy-components-input-phone-international.mjs +5 -0
  289. package/esm2022/components/input-phone-international/utils/extract-value-from-event.mjs +7 -0
  290. package/esm2022/components/input-range/index.mjs +3 -0
  291. package/esm2022/components/input-range/input-range.component.mjs +203 -0
  292. package/esm2022/components/input-range/input-range.module.mjs +51 -0
  293. package/esm2022/components/input-range/taiga-ui-legacy-components-input-range.mjs +5 -0
  294. package/esm2022/components/input-slider/index.mjs +3 -0
  295. package/esm2022/components/input-slider/input-slider.component.mjs +150 -0
  296. package/esm2022/components/input-slider/input-slider.module.mjs +44 -0
  297. package/esm2022/components/input-slider/taiga-ui-legacy-components-input-slider.mjs +5 -0
  298. package/esm2022/components/input-tag/index.mjs +4 -0
  299. package/esm2022/components/input-tag/input-tag.component.mjs +415 -0
  300. package/esm2022/components/input-tag/input-tag.module.mjs +63 -0
  301. package/esm2022/components/input-tag/input-tag.options.mjs +14 -0
  302. package/esm2022/components/input-tag/taiga-ui-legacy-components-input-tag.mjs +5 -0
  303. package/esm2022/components/input-time/index.mjs +5 -0
  304. package/esm2022/components/input-time/input-time.component.mjs +275 -0
  305. package/esm2022/components/input-time/input-time.directive.mjs +35 -0
  306. package/esm2022/components/input-time/input-time.module.mjs +67 -0
  307. package/esm2022/components/input-time/input-time.options.mjs +22 -0
  308. package/esm2022/components/input-time/native-time/native-time.component.mjs +67 -0
  309. package/esm2022/components/input-time/taiga-ui-legacy-components-input-time.mjs +5 -0
  310. package/esm2022/components/input-year/index.mjs +4 -0
  311. package/esm2022/components/input-year/input-year.component.mjs +107 -0
  312. package/esm2022/components/input-year/input-year.directive.mjs +27 -0
  313. package/esm2022/components/input-year/input-year.module.mjs +49 -0
  314. package/esm2022/components/input-year/taiga-ui-legacy-components-input-year.mjs +5 -0
  315. package/esm2022/components/island/index.mjs +2 -0
  316. package/esm2022/components/island/island.directive.mjs +74 -0
  317. package/esm2022/components/island/taiga-ui-legacy-components-island.mjs +5 -0
  318. package/esm2022/components/multi-select/hide-selected.pipe.mjs +43 -0
  319. package/esm2022/components/multi-select/index.mjs +11 -0
  320. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +99 -0
  321. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +65 -0
  322. package/esm2022/components/multi-select/multi-select.component.mjs +204 -0
  323. package/esm2022/components/multi-select/multi-select.directive.mjs +31 -0
  324. package/esm2022/components/multi-select/multi-select.module.mjs +111 -0
  325. package/esm2022/components/multi-select/multi-select.options.mjs +13 -0
  326. package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +60 -0
  327. package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +56 -0
  328. package/esm2022/components/multi-select/native-multi-select/native-multi-select.mjs +19 -0
  329. package/esm2022/components/multi-select/taiga-ui-legacy-components-multi-select.mjs +5 -0
  330. package/esm2022/components/multi-select-option/index.mjs +3 -0
  331. package/esm2022/components/multi-select-option/multi-select-option.component.mjs +25 -0
  332. package/esm2022/components/multi-select-option/multi-select-option.module.mjs +20 -0
  333. package/esm2022/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.mjs +5 -0
  334. package/esm2022/components/primitive-textfield/index.mjs +8 -0
  335. package/esm2022/components/primitive-textfield/primitive-textfield-options.mjs +17 -0
  336. package/esm2022/components/primitive-textfield/primitive-textfield-types.mjs +2 -0
  337. package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +247 -0
  338. package/esm2022/components/primitive-textfield/primitive-textfield.directive.mjs +28 -0
  339. package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +62 -0
  340. package/esm2022/components/primitive-textfield/taiga-ui-legacy-components-primitive-textfield.mjs +5 -0
  341. package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +39 -0
  342. package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +71 -0
  343. package/esm2022/components/select/index.mjs +7 -0
  344. package/esm2022/components/select/native-select/native-select-group.component.mjs +60 -0
  345. package/esm2022/components/select/native-select/native-select.component.mjs +56 -0
  346. package/esm2022/components/select/select.component.mjs +116 -0
  347. package/esm2022/components/select/select.directive.mjs +29 -0
  348. package/esm2022/components/select/select.module.mjs +83 -0
  349. package/esm2022/components/select/select.options.mjs +12 -0
  350. package/esm2022/components/select/taiga-ui-legacy-components-select.mjs +5 -0
  351. package/esm2022/components/select-option/index.mjs +3 -0
  352. package/esm2022/components/select-option/select-option.component.mjs +65 -0
  353. package/esm2022/components/select-option/select-option.module.mjs +21 -0
  354. package/esm2022/components/select-option/taiga-ui-legacy-components-select-option.mjs +5 -0
  355. package/esm2022/components/sheet/components/sheet/sheet.component.mjs +118 -0
  356. package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +42 -0
  357. package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +27 -0
  358. package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +31 -0
  359. package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +46 -0
  360. package/esm2022/components/sheet/directives/sheet-close/sheet-close.directive.mjs +38 -0
  361. package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +37 -0
  362. package/esm2022/components/sheet/directives/sheet-top/sheet-top.directive.mjs +51 -0
  363. package/esm2022/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +76 -0
  364. package/esm2022/components/sheet/index.mjs +15 -0
  365. package/esm2022/components/sheet/sheet-options.mjs +21 -0
  366. package/esm2022/components/sheet/sheet-tokens.mjs +14 -0
  367. package/esm2022/components/sheet/sheet.directive.mjs +38 -0
  368. package/esm2022/components/sheet/sheet.mjs +2 -0
  369. package/esm2022/components/sheet/sheet.module.mjs +74 -0
  370. package/esm2022/components/sheet/sheet.service.mjs +51 -0
  371. package/esm2022/components/sheet/taiga-ui-legacy-components-sheet.mjs +5 -0
  372. package/esm2022/components/svg/content-processor.mjs +38 -0
  373. package/esm2022/components/svg/deprecated-icons.mjs +59 -0
  374. package/esm2022/components/svg/index.mjs +6 -0
  375. package/esm2022/components/svg/svg-options.mjs +60 -0
  376. package/esm2022/components/svg/svg.component.mjs +147 -0
  377. package/esm2022/components/svg/svg.service.mjs +64 -0
  378. package/esm2022/components/svg/taiga-ui-legacy-components-svg.mjs +5 -0
  379. package/esm2022/components/table-bar/index.mjs +6 -0
  380. package/esm2022/components/table-bar/table-bar.component.mjs +33 -0
  381. package/esm2022/components/table-bar/table-bar.directive.mjs +21 -0
  382. package/esm2022/components/table-bar/table-bar.options.mjs +16 -0
  383. package/esm2022/components/table-bar/table-bars-host.component.mjs +35 -0
  384. package/esm2022/components/table-bar/table-bars.service.mjs +21 -0
  385. package/esm2022/components/table-bar/taiga-ui-legacy-components-table-bar.mjs +5 -0
  386. package/esm2022/components/tag/index.mjs +4 -0
  387. package/esm2022/components/tag/tag.component.mjs +171 -0
  388. package/esm2022/components/tag/tag.module.mjs +38 -0
  389. package/esm2022/components/tag/tag.options.mjs +15 -0
  390. package/esm2022/components/tag/taiga-ui-legacy-components-tag.mjs +5 -0
  391. package/esm2022/components/taiga-ui-legacy-components.mjs +5 -0
  392. package/esm2022/components/textarea/index.mjs +4 -0
  393. package/esm2022/components/textarea/taiga-ui-legacy-components-textarea.mjs +5 -0
  394. package/esm2022/components/textarea/textarea.component.mjs +189 -0
  395. package/esm2022/components/textarea/textarea.directive.mjs +20 -0
  396. package/esm2022/components/textarea/textarea.module.mjs +64 -0
  397. package/esm2022/components/tooltip/index.mjs +3 -0
  398. package/esm2022/components/tooltip/taiga-ui-legacy-components-tooltip.mjs +5 -0
  399. package/esm2022/components/tooltip/tooltip.component.mjs +47 -0
  400. package/esm2022/components/tooltip/tooltip.module.mjs +24 -0
  401. package/esm2022/directives/index.mjs +6 -0
  402. package/esm2022/directives/legacy-dropdown-open-monitor/index.mjs +2 -0
  403. package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +40 -0
  404. package/esm2022/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +5 -0
  405. package/esm2022/directives/taiga-ui-legacy-directives.mjs +5 -0
  406. package/esm2022/directives/textfield-controller/index.mjs +15 -0
  407. package/esm2022/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.mjs +5 -0
  408. package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +32 -0
  409. package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +25 -0
  410. package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +72 -0
  411. package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +44 -0
  412. package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +25 -0
  413. package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +25 -0
  414. package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +21 -0
  415. package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +21 -0
  416. package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +29 -0
  417. package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +25 -0
  418. package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +25 -0
  419. package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +25 -0
  420. package/esm2022/directives/textfield-controller/textfield.controller.mjs +48 -0
  421. package/esm2022/directives/textfield-controller/textfield.options.mjs +14 -0
  422. package/esm2022/directives/unfinished-validator/index.mjs +3 -0
  423. package/esm2022/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.mjs +5 -0
  424. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +25 -0
  425. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +15 -0
  426. package/esm2022/directives/value-accessor/index.mjs +4 -0
  427. package/esm2022/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.mjs +5 -0
  428. package/esm2022/directives/value-accessor/value-accessor.directive.mjs +16 -0
  429. package/esm2022/directives/value-accessor/value-accessor.module.mjs +17 -0
  430. package/esm2022/directives/value-accessor/value-accessor.provider.mjs +10 -0
  431. package/esm2022/directives/wrapper/index.mjs +3 -0
  432. package/esm2022/directives/wrapper/taiga-ui-legacy-directives-wrapper.mjs +5 -0
  433. package/esm2022/directives/wrapper/wrapper.directive.mjs +85 -0
  434. package/esm2022/directives/wrapper/wrapper.module.mjs +20 -0
  435. package/esm2022/index.mjs +7 -0
  436. package/esm2022/pipes/format-phone/format-phone.pipe.mjs +50 -0
  437. package/esm2022/pipes/format-phone/index.mjs +2 -0
  438. package/esm2022/pipes/format-phone/taiga-ui-legacy-pipes-format-phone.mjs +5 -0
  439. package/esm2022/pipes/index.mjs +4 -0
  440. package/esm2022/pipes/iso-to-country-code/index.mjs +2 -0
  441. package/esm2022/pipes/iso-to-country-code/iso-to-country-code.pipe.mjs +43 -0
  442. package/esm2022/pipes/iso-to-country-code/taiga-ui-legacy-pipes-iso-to-country-code.mjs +5 -0
  443. package/esm2022/pipes/taiga-ui-legacy-pipes.mjs +5 -0
  444. package/esm2022/pipes/to-country-code/index.mjs +2 -0
  445. package/esm2022/pipes/to-country-code/taiga-ui-legacy-pipes-to-country-code.mjs +5 -0
  446. package/esm2022/pipes/to-country-code/to-country-code.pipe.mjs +73 -0
  447. package/esm2022/taiga-ui-legacy.mjs +5 -0
  448. package/esm2022/tokens/countries-masks.mjs +254 -0
  449. package/esm2022/tokens/focusable-item-accessor.mjs +14 -0
  450. package/esm2022/tokens/fonts-ready.mjs +7 -0
  451. package/esm2022/tokens/icons.mjs +7 -0
  452. package/esm2022/tokens/index.mjs +15 -0
  453. package/esm2022/tokens/is-apple.mjs +9 -0
  454. package/esm2022/tokens/is-chromium.mjs +8 -0
  455. package/esm2022/tokens/is-firefox.mjs +9 -0
  456. package/esm2022/tokens/is-stackblitz.mjs +5 -0
  457. package/esm2022/tokens/month-formatter.mjs +17 -0
  458. package/esm2022/tokens/sanitizer.mjs +6 -0
  459. package/esm2022/tokens/taiga-ui-legacy-tokens.mjs +5 -0
  460. package/esm2022/tokens/textfield-appearance.mjs +7 -0
  461. package/esm2022/tokens/textfield-host.mjs +10 -0
  462. package/esm2022/tokens/touch-supported.mjs +5 -0
  463. package/esm2022/tokens/value-accessor.mjs +7 -0
  464. package/esm2022/utils/date-mode-maskito-adapter.mjs +6 -0
  465. package/esm2022/utils/format-phone.mjs +59 -0
  466. package/esm2022/utils/get-border.mjs +20 -0
  467. package/esm2022/utils/get-max-allowed-phone-length.mjs +25 -0
  468. package/esm2022/utils/get-safe-area-size.mjs +17 -0
  469. package/esm2022/utils/icons-path-factory.mjs +14 -0
  470. package/esm2022/utils/index.mjs +14 -0
  471. package/esm2022/utils/is-apple.mjs +6 -0
  472. package/esm2022/utils/is-presumed-html-string.mjs +6 -0
  473. package/esm2022/utils/iso-to-country-code.mjs +15 -0
  474. package/esm2022/utils/not-kz-region.mjs +23 -0
  475. package/esm2022/utils/process-icon.mjs +32 -0
  476. package/esm2022/utils/specific-dropdown-controllers.mjs +6 -0
  477. package/esm2022/utils/status.mjs +2 -0
  478. package/esm2022/utils/taiga-ui-legacy-utils.mjs +5 -0
  479. package/fesm2022/taiga-ui-legacy-classes.mjs +377 -0
  480. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -0
  481. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +73 -0
  482. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -0
  483. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +280 -0
  484. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -0
  485. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +177 -0
  486. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +1 -0
  487. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +277 -0
  488. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +1 -0
  489. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +334 -0
  490. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -0
  491. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +438 -0
  492. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -0
  493. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +358 -0
  494. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +1 -0
  495. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +209 -0
  496. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -0
  497. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +219 -0
  498. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +1 -0
  499. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +344 -0
  500. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -0
  501. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +167 -0
  502. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +1 -0
  503. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +204 -0
  504. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +1 -0
  505. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +355 -0
  506. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +1 -0
  507. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +253 -0
  508. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -0
  509. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +192 -0
  510. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -0
  511. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +488 -0
  512. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -0
  513. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +447 -0
  514. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +1 -0
  515. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +176 -0
  516. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +1 -0
  517. package/fesm2022/taiga-ui-legacy-components-input.mjs +132 -0
  518. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -0
  519. package/fesm2022/taiga-ui-legacy-components-island.mjs +80 -0
  520. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +1 -0
  521. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +47 -0
  522. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -0
  523. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +628 -0
  524. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -0
  525. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +443 -0
  526. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -0
  527. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +88 -0
  528. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -0
  529. package/fesm2022/taiga-ui-legacy-components-select.mjs +323 -0
  530. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -0
  531. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +561 -0
  532. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +1 -0
  533. package/fesm2022/taiga-ui-legacy-components-svg.mjs +356 -0
  534. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +1 -0
  535. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +115 -0
  536. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +1 -0
  537. package/fesm2022/taiga-ui-legacy-components-tag.mjs +225 -0
  538. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -0
  539. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +267 -0
  540. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -0
  541. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +71 -0
  542. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -0
  543. package/fesm2022/taiga-ui-legacy-components.mjs +36 -0
  544. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -0
  545. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +46 -0
  546. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -0
  547. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +365 -0
  548. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -0
  549. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +44 -0
  550. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -0
  551. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +43 -0
  552. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -0
  553. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +107 -0
  554. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +1 -0
  555. package/fesm2022/taiga-ui-legacy-directives.mjs +10 -0
  556. package/fesm2022/taiga-ui-legacy-directives.mjs.map +1 -0
  557. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +56 -0
  558. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +1 -0
  559. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +49 -0
  560. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +1 -0
  561. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +79 -0
  562. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +1 -0
  563. package/fesm2022/taiga-ui-legacy-pipes.mjs +8 -0
  564. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +1 -0
  565. package/fesm2022/taiga-ui-legacy-tokens.mjs +348 -0
  566. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -0
  567. package/fesm2022/taiga-ui-legacy-utils.mjs +235 -0
  568. package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -0
  569. package/fesm2022/taiga-ui-legacy.mjs +11 -0
  570. package/fesm2022/taiga-ui-legacy.mjs.map +1 -0
  571. package/index.d.ts +6 -0
  572. package/package.json +303 -0
  573. package/pipes/format-phone/format-phone.pipe.d.ts +34 -0
  574. package/pipes/format-phone/index.d.ts +1 -0
  575. package/pipes/index.d.ts +3 -0
  576. package/pipes/iso-to-country-code/index.d.ts +1 -0
  577. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +29 -0
  578. package/pipes/to-country-code/index.d.ts +1 -0
  579. package/pipes/to-country-code/to-country-code.pipe.d.ts +37 -0
  580. package/styles/mixins/mixins.less +252 -0
  581. package/styles/mixins/mixins.scss +230 -0
  582. package/styles/mixins/textfield.less +315 -0
  583. package/styles/mixins/textfield.scss +306 -0
  584. package/styles/mixins/wrapper.less +65 -0
  585. package/styles/mixins/wrapper.scss +59 -0
  586. package/styles/taiga-ui-local.less +4 -0
  587. package/styles/taiga-ui-local.scss +4 -0
  588. package/styles/taiga-ui-theme.less +15 -0
  589. package/styles/wrapper/accent.less +28 -0
  590. package/styles/wrapper/base.less +44 -0
  591. package/styles/wrapper/floating.less +19 -0
  592. package/styles/wrapper/glass.less +31 -0
  593. package/styles/wrapper/icon.less +53 -0
  594. package/styles/wrapper/mono.less +23 -0
  595. package/styles/wrapper/none.less +5 -0
  596. package/styles/wrapper/opposite.less +33 -0
  597. package/styles/wrapper/outline.less +52 -0
  598. package/styles/wrapper/primary.less +32 -0
  599. package/styles/wrapper/secondary-destructive.less +16 -0
  600. package/styles/wrapper/secondary.less +47 -0
  601. package/styles/wrapper/table.less +82 -0
  602. package/styles/wrapper/textfield.less +80 -0
  603. package/styles/wrapper/whiteblock.less +47 -0
  604. package/tokens/countries-masks.d.ts +7 -0
  605. package/tokens/focusable-item-accessor.d.ts +22 -0
  606. package/tokens/fonts-ready.d.ts +3 -0
  607. package/tokens/icons.d.ts +5 -0
  608. package/tokens/index.d.ts +14 -0
  609. package/tokens/is-apple.d.ts +4 -0
  610. package/tokens/is-chromium.d.ts +4 -0
  611. package/tokens/is-firefox.d.ts +4 -0
  612. package/tokens/is-stackblitz.d.ts +1 -0
  613. package/tokens/month-formatter.d.ts +10 -0
  614. package/tokens/sanitizer.d.ts +6 -0
  615. package/tokens/textfield-appearance.d.ts +5 -0
  616. package/tokens/textfield-host.d.ts +17 -0
  617. package/tokens/touch-supported.d.ts +1 -0
  618. package/tokens/value-accessor.d.ts +7 -0
  619. package/utils/date-mode-maskito-adapter.d.ts +3 -0
  620. package/utils/format-phone.d.ts +29 -0
  621. package/utils/get-border.d.ts +2 -0
  622. package/utils/get-max-allowed-phone-length.d.ts +23 -0
  623. package/utils/get-safe-area-size.d.ts +6 -0
  624. package/utils/icons-path-factory.d.ts +4 -0
  625. package/utils/index.d.ts +13 -0
  626. package/utils/is-apple.d.ts +1 -0
  627. package/utils/is-presumed-html-string.d.ts +1 -0
  628. package/utils/iso-to-country-code.d.ts +12 -0
  629. package/utils/not-kz-region.d.ts +19 -0
  630. package/utils/process-icon.d.ts +1 -0
  631. package/utils/specific-dropdown-controllers.d.ts +1 -0
  632. package/utils/status.d.ts +1 -0
@@ -0,0 +1,56 @@
1
+ import { ChangeDetectionStrategy, Component, Input, TemplateRef } from '@angular/core';
2
+ import { tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
3
+ import { tuiAsDataList } from '@taiga-ui/core/components/data-list';
4
+ import { AbstractTuiNativeMultiSelect } from './native-multi-select';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/common";
7
+ import * as i2 from "@angular/forms";
8
+ import * as i3 from "@taiga-ui/core/components/data-list";
9
+ import * as i4 from "@taiga-ui/kit/components/data-list-wrapper";
10
+ import * as i5 from "../multi-select-group/multi-select-group.directive";
11
+ import * as i6 from "@taiga-ui/cdk/pipes/mapper";
12
+ import * as i7 from "@taiga-ui/kit/pipes/stringify-content";
13
+ class TuiNativeMultiSelectComponent extends AbstractTuiNativeMultiSelect {
14
+ constructor() {
15
+ super(...arguments);
16
+ this.items = [];
17
+ }
18
+ onValueChange(selectedOptions) {
19
+ const selected = Array.from(selectedOptions).map(option => option.index);
20
+ const value = this.items?.filter((_, index) => selected.includes(index)) || [];
21
+ this.host.onSelectionChange(value);
22
+ }
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiNativeMultiSelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
24
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiNativeMultiSelectComponent, selector: "select[multiple][tuiSelect]:not([labels])", inputs: { items: "items" }, host: { listeners: { "change": "onValueChange($event.target.selectedOptions)", "click.stop.silent": "0", "mousedown.stop.silent": "0" }, properties: { "attr.aria-invalid": "host.invalid", "disabled": "host.disabled || control.readOnly", "tabIndex": "host.focusable ? 0 : -1" } }, providers: [
25
+ tuiAsDataList(TuiNativeMultiSelectComponent),
26
+ tuiProvide(AbstractTuiNativeMultiSelect, TuiNativeMultiSelectComponent),
27
+ {
28
+ provide: TemplateRef,
29
+ deps: [TuiNativeMultiSelectComponent],
30
+ useFactory: ({ datalist }) => datalist,
31
+ },
32
+ ], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"control.control?.valueChanges | async\" />\n\n<tui-data-list-wrapper\n *tuiDataList\n tuiMultiSelectGroup\n [disabledItemHandler]=\"disabledItemHandler || host.disableItemHandler\"\n [itemContent]=\"stringify | tuiStringifyContent\"\n [items]=\"items\"\n/>\n<option\n *ngFor=\"let option of items\"\n [disabled]=\"disabledItemHandler ? disabledItemHandler(option) : host.disableItemHandler(option)\"\n [selected]=\"option | tuiMapper: selectedMapper : control.value\"\n [value]=\"stringify(option)\"\n>\n {{ stringify(option) }}\n</option>\n", styles: [":host{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.TuiDataListDirective, selector: "ng-template[tuiDataList]" }, { kind: "component", type: i4.TuiDataListWrapperComponent, selector: "tui-data-list-wrapper:not([labels])", inputs: ["items", "disabledItemHandler", "emptyContent", "size", "itemContent"], outputs: ["itemClick"] }, { kind: "directive", type: i5.TuiMultiSelectGroupDirective, selector: "[tuiMultiSelectGroup]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.TuiMapperPipe, name: "tuiMapper" }, { kind: "pipe", type: i7.TuiStringifyContentPipe, name: "tuiStringifyContent" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
33
+ }
34
+ export { TuiNativeMultiSelectComponent };
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiNativeMultiSelectComponent, decorators: [{
36
+ type: Component,
37
+ args: [{ selector: 'select[multiple][tuiSelect]:not([labels])', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
38
+ tuiAsDataList(TuiNativeMultiSelectComponent),
39
+ tuiProvide(AbstractTuiNativeMultiSelect, TuiNativeMultiSelectComponent),
40
+ {
41
+ provide: TemplateRef,
42
+ deps: [TuiNativeMultiSelectComponent],
43
+ useFactory: ({ datalist }) => datalist,
44
+ },
45
+ ], host: {
46
+ '[attr.aria-invalid]': 'host.invalid',
47
+ '[disabled]': 'host.disabled || control.readOnly',
48
+ '[tabIndex]': 'host.focusable ? 0 : -1',
49
+ '(change)': 'onValueChange($event.target.selectedOptions)',
50
+ '(click.stop.silent)': '0',
51
+ '(mousedown.stop.silent)': '0',
52
+ }, template: "<ng-container *ngIf=\"control.control?.valueChanges | async\" />\n\n<tui-data-list-wrapper\n *tuiDataList\n tuiMultiSelectGroup\n [disabledItemHandler]=\"disabledItemHandler || host.disableItemHandler\"\n [itemContent]=\"stringify | tuiStringifyContent\"\n [items]=\"items\"\n/>\n<option\n *ngFor=\"let option of items\"\n [disabled]=\"disabledItemHandler ? disabledItemHandler(option) : host.disableItemHandler(option)\"\n [selected]=\"option | tuiMapper: selectedMapper : control.value\"\n [value]=\"stringify(option)\"\n>\n {{ stringify(option) }}\n</option>\n", styles: [":host{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}\n"] }]
53
+ }], propDecorators: { items: [{
54
+ type: Input
55
+ }] } });
56
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0aXZlLW11bHRpLXNlbGVjdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuL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RlZC5pbmNsdWRlcyhpbmRleCkpIHx8IFtdO1xuXG4gICAgICAgIHRoaXMuaG9zdC5vblNlbGVjdGlvbkNoYW5nZSh2YWx1ZSk7XG4gICAgfVxufVxuIiwiPG5nLWNvbnRhaW5lciAqbmdJZj1cImNvbnRyb2wuY29udHJvbD8udmFsdWVDaGFuZ2VzIHwgYXN5bmNcIiAvPlxuXG48dHVpLWRhdGEtbGlzdC13cmFwcGVyXG4gICAgKnR1aURhdGFMaXN0XG4gICAgdHVpTXVsdGlTZWxlY3RHcm91cFxuICAgIFtkaXNhYmxlZEl0ZW1IYW5kbGVyXT1cImRpc2FibGVkSXRlbUhhbmRsZXIgfHwgaG9zdC5kaXNhYmxlSXRlbUhhbmRsZXJcIlxuICAgIFtpdGVtQ29udGVudF09XCJzdHJpbmdpZnkgfCB0dWlTdHJpbmdpZnlDb250ZW50XCJcbiAgICBbaXRlbXNdPVwiaXRlbXNcIlxuLz5cbjxvcHRpb25cbiAgICAqbmdGb3I9XCJsZXQgb3B0aW9uIG9mIGl0ZW1zXCJcbiAgICBbZGlzYWJsZWRdPVwiZGlzYWJsZWRJdGVtSGFuZGxlciA/IGRpc2FibGVkSXRlbUhhbmRsZXIob3B0aW9uKSA6IGhvc3QuZGlzYWJsZUl0ZW1IYW5kbGVyKG9wdGlvbilcIlxuICAgIFtzZWxlY3RlZF09XCJvcHRpb24gfCB0dWlNYXBwZXI6IHNlbGVjdGVkTWFwcGVyIDogY29udHJvbC52YWx1ZVwiXG4gICAgW3ZhbHVlXT1cInN0cmluZ2lmeShvcHRpb24pXCJcbj5cbiAgICB7eyBzdHJpbmdpZnkob3B0aW9uKSB9fVxuPC9vcHRpb24+XG4iXX0=
@@ -0,0 +1,19 @@
1
+ import { Directive } from '@angular/core';
2
+ import { AbstractTuiNativeSelect } from '@taiga-ui/legacy/classes';
3
+ import * as i0 from "@angular/core";
4
+ class AbstractTuiNativeMultiSelect extends AbstractTuiNativeSelect {
5
+ constructor() {
6
+ super(...arguments);
7
+ this.selectedMapper = (option, value) => value.includes(option);
8
+ }
9
+ get stringify() {
10
+ return this.host.stringify;
11
+ }
12
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AbstractTuiNativeMultiSelect, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
13
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AbstractTuiNativeMultiSelect, usesInheritance: true, ngImport: i0 }); }
14
+ }
15
+ export { AbstractTuiNativeMultiSelect };
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AbstractTuiNativeMultiSelect, decorators: [{
17
+ type: Directive
18
+ }] });
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0aXZlLW11bHRpLXNlbGVjdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xlZ2FjeS9jb21wb25lbnRzL211bHRpLXNlbGVjdC9uYXRpdmUtbXVsdGktc2VsZWN0L25hdGl2ZS1tdWx0aS1zZWxlY3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUd4QyxPQUFPLEVBQUMsdUJBQXVCLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQzs7QUFJakUsTUFDc0IsNEJBQWdDLFNBQVEsdUJBRzdEO0lBSkQ7O1FBU2MsbUJBQWMsR0FBc0MsQ0FBQyxNQUFNLEVBQUUsS0FBSyxFQUFFLEVBQUUsQ0FDNUUsS0FBSyxDQUFDLFFBQVEsQ0FBQyxNQUFNLENBQUMsQ0FBQztLQUM5QjtJQU5HLElBQWMsU0FBUztRQUNuQixPQUFPLElBQUksQ0FBQyxJQUFJLENBQUM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X0=
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktbGVnYWN5LWNvbXBvbmVudHMtbXVsdGktc2VsZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2NvbXBvbmVudHMvbXVsdGktc2VsZWN0L3RhaWdhLXVpLWxlZ2FjeS1jb21wb25lbnRzLW11bHRpLXNlbGVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -0,0 +1,3 @@
1
+ export * from './multi-select-option.component';
2
+ export * from './multi-select-option.module';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9tdWx0aS1zZWxlY3Qtb3B0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsaUNBQWlDLENBQUM7QUFDaEQsY0FBYyw4QkFBOEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbXVsdGktc2VsZWN0LW9wdGlvbi5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9tdWx0aS1zZWxlY3Qtb3B0aW9uLm1vZHVsZSc7XG4iXX0=
@@ -0,0 +1,25 @@
1
+ import { ChangeDetectionStrategy, Component } from '@angular/core';
2
+ import { tuiIsPresent } from '@taiga-ui/cdk/utils/miscellaneous';
3
+ import { TuiSelectOptionComponent } from '@taiga-ui/legacy/components/select-option';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/common";
6
+ import * as i2 from "@taiga-ui/kit/components/checkbox";
7
+ class TuiMultiSelectOptionComponent extends TuiSelectOptionComponent {
8
+ get size() {
9
+ return this.dataList?.size === 'l' ? 'm' : 's';
10
+ }
11
+ get selected() {
12
+ const { value } = this.option;
13
+ return (tuiIsPresent(value) &&
14
+ tuiIsPresent(this.value) &&
15
+ this.value.some(item => this.matcher(item, value)));
16
+ }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectOptionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
18
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiMultiSelectOptionComponent, selector: "tui-multi-select-option", usesInheritance: true, ngImport: i0, template: "<input\n tuiCheckbox\n type=\"checkbox\"\n class=\"t-checkbox\"\n [checked]=\"selected$ | async\"\n [size]=\"size\"\n/>\n<ng-container [ngTemplateOutlet]=\"context.$implicit\" />\n", styles: ["@keyframes retrigger{0%{left:1px}to{left:2px}}:host{display:flex;flex:1;align-items:center;animation:retrigger 1s}.t-checkbox{margin-right:.75rem}\n"], dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.TuiCheckbox, selector: "input[type=\"checkbox\"][tuiCheckbox]", inputs: ["size"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
19
+ }
20
+ export { TuiMultiSelectOptionComponent };
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectOptionComponent, decorators: [{
22
+ type: Component,
23
+ args: [{ selector: 'tui-multi-select-option', changeDetection: ChangeDetectionStrategy.OnPush, template: "<input\n tuiCheckbox\n type=\"checkbox\"\n class=\"t-checkbox\"\n [checked]=\"selected$ | async\"\n [size]=\"size\"\n/>\n<ng-container [ngTemplateOutlet]=\"context.$implicit\" />\n", styles: ["@keyframes retrigger{0%{left:1px}to{left:2px}}:host{display:flex;flex:1;align-items:center;animation:retrigger 1s}.t-checkbox{margin-right:.75rem}\n"] }]
24
+ }] });
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXVsdGktc2VsZWN0LW9wdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9tdWx0aS1zZWxlY3Qtb3B0aW9uL211bHRpLXNlbGVjdC1vcHRpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2NvbXBvbmVudHMvbXVsdGktc2VsZWN0LW9wdGlvbi9tdWx0aS1zZWxlY3Qtb3B0aW9uLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLHVCQUF1QixFQUFFLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNqRSxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFFL0QsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sMkNBQTJDLENBQUM7Ozs7QUFFbkYsTUFNYSw2QkFFWCxTQUFRLHdCQUEyQjtJQUNqQyxJQUFjLElBQUk7UUFDZCxPQUFPLElBQUksQ0FBQyxRQUFRLEVBQUUsSUFBSSx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GF0ZU91dGxldF09XCJjb250ZXh0LiRpbXBsaWNpdFwiIC8+XG4iXX0=
@@ -0,0 +1,20 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+ import { TuiCheckbox } from '@taiga-ui/kit/components/checkbox';
4
+ import { TuiMultiSelectOptionComponent } from './multi-select-option.component';
5
+ import * as i0 from "@angular/core";
6
+ class TuiMultiSelectOptionModule {
7
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectOptionModule, declarations: [TuiMultiSelectOptionComponent], imports: [CommonModule, TuiCheckbox], exports: [TuiMultiSelectOptionComponent] }); }
9
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectOptionModule, imports: [CommonModule, TuiCheckbox] }); }
10
+ }
11
+ export { TuiMultiSelectOptionModule };
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectOptionModule, decorators: [{
13
+ type: NgModule,
14
+ args: [{
15
+ imports: [CommonModule, TuiCheckbox],
16
+ declarations: [TuiMultiSelectOptionComponent],
17
+ exports: [TuiMultiSelectOptionComponent],
18
+ }]
19
+ }] });
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXVsdGktc2VsZWN0LW9wdGlvbi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9tdWx0aS1zZWxlY3Qtb3B0aW9uL211bHRpLXNlbGVjdC1vcHRpb24ubW9kd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vbk1vZHVsZSwgVHVpQ2hlY2tib3hdLFxuICAgIGRlY2xhcmF0aW9uczogW1R1aU11bHRpU2VsZWN0T3B0aW9uQ29tcG9uZW50XSxcbiAgICBleHBvcnRzOiBbVHVpTXVsdGlTZWxlY3RPcHRpb25Db21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlNdWx0aVNlbGVjdE9wdGlvbk1vZHVsZSB7fVxuIl19
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktbGVnYWN5LWNvbXBvbmVudHMtbXVsdGktc2VsZWN0LW9wdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xlZ2FjeS9jb21wb25lbnRzL211bHRpLXNlbGVjdC1vcHRpb24vdGFpZ2EtdWktbGVnYWN5LWNvbXBvbmVudHMtbXVsdGktc2VsZWN0LW9wdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -0,0 +1,8 @@
1
+ export * from './primitive-textfield.component';
2
+ export * from './primitive-textfield.directive';
3
+ export * from './primitive-textfield.module';
4
+ export * from './primitive-textfield-options';
5
+ export * from './primitive-textfield-types';
6
+ export * from './textfield/textfield.component';
7
+ export * from './value-decoration/value-decoration.component';
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9wcmltaXRpdmUtdGV4dGZpZWxkL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsaUNBQWlDLENBQUM7QUFDaEQsY0FBYyxpQ0FBaUMsQ0FBQztBQUNoRCxjQUFjLDhCQUE4QixDQUFDO0FBQzdDLGNBQWMsK0JBQStCLENBQUM7QUFDOUMsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsK0NBQStDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3ByaW1pdGl2ZS10ZXh0ZmllbGQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcHJpbWl0aXZlLXRleHRmaWVsZC5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9wcmltaXRpdmUtdGV4dGZpZWxkLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL3ByaW1pdGl2ZS10ZXh0ZmllbGQtb3B0aW9ucyc7XG5leHBvcnQgKiBmcm9tICcuL3ByaW1pdGl2ZS10ZXh0ZmllbGQtdHlwZXMnO1xuZXhwb3J0ICogZnJvbSAnLi90ZXh0ZmllbGQvdGV4dGZpZWxkLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3ZhbHVlLWRlY29yYXRpb24vdmFsdWUtZGVjb3JhdGlvbi5jb21wb25lbnQnO1xuIl19
@@ -0,0 +1,17 @@
1
+ import { TUI_TEXTFIELD_DEFAULT_OPTIONS, TUI_TEXTFIELD_OPTIONS, tuiTextfieldOptionsProvider, } from '@taiga-ui/legacy/directives';
2
+ /**
3
+ * @deprecated:
4
+ * use {@link TUI_TEXTFIELD_DEFAULT_OPTIONS}
5
+ */
6
+ export const TUI_PRIMITIVE_TEXTFIELD_DEFAULT_OPTIONS = TUI_TEXTFIELD_DEFAULT_OPTIONS;
7
+ /**
8
+ * @deprecated:
9
+ * use {@link TUI_TEXTFIELD_OPTIONS}
10
+ */
11
+ export const TUI_PRIMITIVE_TEXTFIELD_OPTIONS = TUI_TEXTFIELD_OPTIONS;
12
+ /**
13
+ * @deprecated:
14
+ * use {@link tuiTextfieldOptionsProvider}
15
+ */
16
+ export const tuiPrimitiveTextfieldOptionsProvider = tuiTextfieldOptionsProvider;
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpbWl0aXZlLXRleHRmaWVsZC1vcHRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2NvbXBvbmVudHMvcHJpbWl0aXZlLXRleHRmaWVsZC9wcmltaXRpdmUtdGV4dGZpZWxkLW9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUNILDZCQUE2QixFQUM3QixxQkFBcUIsRUFDckIsMkJBQTJCLEdBQzlCLE1BQU0sNkJBQTZCLENBQUM7QUFRckM7OztHQUdHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sdUNBQXVDLEdBQ2hELDZCQUE2QixDQUFDO0FBRWxDOzs7R0FHRztBQUNILE1BQU0sQ0FBQyxNQUFNLCtCQUErQixHQUFHLHFCQUFxQixDQUFDO0FBRXJFOzs7R0FHRztBQUNILE1BQU0sQ0FBQyxNQUFNLG9DQUFvQyxHQUFHLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUge1R1aVRleHRmaWVsZE9wdGlvbnN9IGZyb20gJ0B0YWlnYS11aS9sZWdhY3kvZGlyZWN0aXZlcyc7XG5pbXBvcnQge1xuICAgIFRVSV9URVhURklFTERfREVGQVVMVF9PUFRJT05TLFxuICAgIFRVSV9URVhURklFTERfT1BUS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jZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xlZ2FjeS9jb21wb25lbnRzL3ByaW1pdGl2ZS10ZXh0ZmllbGQvcHJpbWl0aXZlLXRleHRmaWVsZC10eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUge0Fic3RyYWN0VHVpSW50ZXJhY3RpdmV9IGZyb20gJ0B0YWlnYS11aS9sZWdhY3kvY2xhc3Nlcyc7XG5pbXBvcnQgdHlwZSB7VHVpRm9jdXNhYmxlRWxlbWVudEFjY2Vzc29yfSBmcm9tICdAdGFpZ2EtdWkvbGVnYWN5L3Rva2Vucyc7XG5cbmV4cG9ydCB0eXBlIFR1aVByaW1pdGl2ZVRleHRmaWVsZCA9IEFic3RyYWN0VHVpSW50ZXJhY3RpdmUgJlxuICAgIFR1aUZvY3VzYWJsZUVsZW1lbnRBY2Nlc3NvciAmIHtcbiAgICAgICAgYXBwZWFyYW5jZTogc3RyaW5nO1xuICAgICAgICBmaWxsZXI6IHN0cmluZztcbiAgICAgICAgbmF0aXZlRm9jdXNhYmxlRWxlbWVudDogSFRNTElucHV0RWxlbWVudCB8IG51bGw7XG4gICAgICAgIHBvc3RmaXg6IHN0cmluZztcbiAgICAgICAgcHJlZml4OiBzdHJpbmc7XG4gICAgICAgIHJlYWRPbmx5OiBib29sZWFuO1xuICAgICAgICB2YWx1ZTogc3RyaW5nO1xuICAgIH07XG4iXX0=
@@ -0,0 +1,247 @@
1
+ import { __decorate } from "tslib";
2
+ import { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, HostBinding, HostListener, inject, Input, Output, ViewChild, } from '@angular/core';
3
+ import { tuiInjectElement, tuiRetargetedBoundaryCrossing } from '@taiga-ui/cdk/utils/dom';
4
+ import { tuiIsNativeFocusedIn } from '@taiga-ui/cdk/utils/focus';
5
+ import { tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
6
+ import { TUI_TEXTFIELD_OPTIONS as OPTIONS } from '@taiga-ui/core/components/textfield';
7
+ import { TuiHintOptionsDirective } from '@taiga-ui/core/directives/hint';
8
+ import { AbstractTuiInteractive } from '@taiga-ui/legacy/classes';
9
+ import { TEXTFIELD_CONTROLLER_PROVIDER, TUI_TEXTFIELD_OPTIONS as LEGACY_OPTIONS, TUI_TEXTFIELD_WATCHED_CONTROLLER, } from '@taiga-ui/legacy/directives';
10
+ import { tuiAsFocusableItemAccessor } from '@taiga-ui/legacy/tokens';
11
+ import { tuiGetBorder } from '@taiga-ui/legacy/utils';
12
+ import { PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
13
+ import { fromEvent, map } from 'rxjs';
14
+ import * as i0 from "@angular/core";
15
+ import * as i1 from "@angular/common";
16
+ import * as i2 from "@angular/forms";
17
+ import * as i3 from "@taiga-ui/polymorpheus";
18
+ import * as i4 from "@taiga-ui/legacy/directives/wrapper";
19
+ import * as i5 from "@taiga-ui/legacy/components/tooltip";
20
+ import * as i6 from "@taiga-ui/core/components/icon";
21
+ import * as i7 from "@taiga-ui/core/directives/appearance";
22
+ import * as i8 from "./value-decoration/value-decoration.component";
23
+ export const TUI_ICON_PADDINGS = {
24
+ s: 1.25,
25
+ m: 1.75,
26
+ l: 2.25,
27
+ };
28
+ class TuiPrimitiveTextfieldComponent extends AbstractTuiInteractive {
29
+ constructor() {
30
+ super(...arguments);
31
+ this.legacyOptions = inject(LEGACY_OPTIONS);
32
+ this.el = tuiInjectElement();
33
+ this.options = inject(OPTIONS);
34
+ this.controller = inject(TUI_TEXTFIELD_WATCHED_CONTROLLER);
35
+ this.hintOptions = inject(TuiHintOptionsDirective, { optional: true });
36
+ this.autofilled = false;
37
+ this.editable = true;
38
+ /**
39
+ * @deprecated:
40
+ * use `tuiTextfieldOptionsProvider({iconCleaner: `@tui.chevron-up`})`
41
+ */
42
+ this.iconCleaner = this.legacyOptions.iconCleaner;
43
+ this.readOnly = false;
44
+ this.invalid = false;
45
+ this.disabled = false;
46
+ this.value = '';
47
+ this.valueChange = new EventEmitter();
48
+ }
49
+ get prefix() {
50
+ return this.controller.prefix;
51
+ }
52
+ get postfix() {
53
+ return this.controller.postfix;
54
+ }
55
+ get filler() {
56
+ return this.controller.filler;
57
+ }
58
+ get nativeFocusableElement() {
59
+ if (this.computedDisabled || !this.focusableElement) {
60
+ return null;
61
+ }
62
+ const { nativeElement } = this.focusableElement;
63
+ return (nativeElement.previousElementSibling ||
64
+ nativeElement);
65
+ }
66
+ get focused() {
67
+ return tuiIsNativeFocusedIn(this.el);
68
+ }
69
+ get appearance() {
70
+ return this.options.appearance === 'table' ? 'table' : this.controller.appearance;
71
+ }
72
+ onModelChange(value) {
73
+ this.updateValue(value);
74
+ }
75
+ get size() {
76
+ return this.controller.size;
77
+ }
78
+ get computedInvalid() {
79
+ return !this.readOnly && !this.disabled && this.invalid;
80
+ }
81
+ get inputHidden() {
82
+ return !!this.content?.length;
83
+ }
84
+ get borderStart() {
85
+ return this.iconLeftContent ? this.iconPaddingLeft : 0;
86
+ }
87
+ get borderEnd() {
88
+ return tuiGetBorder(!!this.iconContent, this.hasCleaner, this.hasTooltip, this.hasCustomContent, this.size);
89
+ }
90
+ get hasValue() {
91
+ return !!this.value;
92
+ }
93
+ get hasCleaner() {
94
+ return (this.controller.cleaner &&
95
+ this.hasValue &&
96
+ !this.computedDisabled &&
97
+ !this.readOnly);
98
+ }
99
+ get hasTooltip() {
100
+ return !!this.hintOptions?.content && !this.computedDisabled;
101
+ }
102
+ get hasCustomContent() {
103
+ return !!this.controller.customContent;
104
+ }
105
+ get placeholderVisible() {
106
+ const hasDecor = this.nativeFocusableElement?.placeholder ||
107
+ this.prefix ||
108
+ this.postfix ||
109
+ this.filler;
110
+ const showDecor = hasDecor && !this.readOnly && this.computedFocused;
111
+ return !this.hasValue && !showDecor;
112
+ }
113
+ get hasPlaceholder() {
114
+ return this.placeholderRaisable || this.placeholderVisible;
115
+ }
116
+ get placeholderRaised() {
117
+ return (this.placeholderRaisable &&
118
+ ((this.computedFocused && !this.readOnly) || this.hasValue || this.autofilled));
119
+ }
120
+ get iconContent() {
121
+ return this.controller.icon;
122
+ }
123
+ get iconLeftContent() {
124
+ return this.controller.iconLeft;
125
+ }
126
+ get showHint() {
127
+ return (!!this.hintOptions?.content &&
128
+ (this.legacyOptions.hintOnDisabled || !this.computedDisabled));
129
+ }
130
+ // Safari expiration date autofill workaround
131
+ get name() {
132
+ return this.nativeFocusableElement?.autocomplete === 'cc-exp'
133
+ ? 'ccexpiryyear'
134
+ : null;
135
+ }
136
+ get computedId() {
137
+ return this.nativeFocusableElement?.id || '';
138
+ }
139
+ onFocused(focused) {
140
+ this.updateFocused(focused);
141
+ }
142
+ getIndent$(element) {
143
+ return fromEvent(element, 'scroll').pipe(map(() => -1 * Math.max(element.scrollLeft, 0)));
144
+ }
145
+ clear() {
146
+ if (this.nativeFocusableElement) {
147
+ this.nativeFocusableElement.value = '';
148
+ }
149
+ this.updateValue('');
150
+ }
151
+ onMouseDown(event) {
152
+ const { nativeFocusableElement } = this;
153
+ if (!nativeFocusableElement || event.target === nativeFocusableElement) {
154
+ return;
155
+ }
156
+ event.preventDefault();
157
+ nativeFocusableElement.focus();
158
+ }
159
+ onAutofilled(autofilled) {
160
+ this.updateAutofilled(autofilled);
161
+ }
162
+ detectRetargetFromLabel(event) {
163
+ if (tuiRetargetedBoundaryCrossing(event)) {
164
+ event.stopImmediatePropagation();
165
+ }
166
+ }
167
+ get iconPaddingLeft() {
168
+ return TUI_ICON_PADDINGS[this.size];
169
+ }
170
+ get placeholderRaisable() {
171
+ return this.size !== 's' && !this.controller.labelOutside;
172
+ }
173
+ updateAutofilled(autofilled) {
174
+ if (this.autofilled === autofilled) {
175
+ return;
176
+ }
177
+ this.autofilled = autofilled;
178
+ }
179
+ updateValue(value) {
180
+ this.value = value;
181
+ this.valueChange.emit(value);
182
+ }
183
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPrimitiveTextfieldComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
184
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: { editable: "editable", iconCleaner: "iconCleaner", readOnly: "readOnly", invalid: "invalid", disabled: "disabled", value: "value" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "focusin": "onFocused(true)", "focusout": "onFocused(false)" }, properties: { "class._autofilled": "autofilled", "class._label-outside": "options.appearance === \"table\" || controller.labelOutside", "class._readonly": "this.readOnly", "attr.data-size": "this.size", "class._invalid": "this.computedInvalid", "class._hidden": "this.inputHidden", "style.--border-start.rem": "this.borderStart", "style.--border-end.rem": "this.borderEnd" } }, providers: [
185
+ tuiAsFocusableItemAccessor(TuiPrimitiveTextfieldComponent),
186
+ TEXTFIELD_CONTROLLER_PROVIDER,
187
+ ], queries: [{ propertyName: "content", predicate: PolymorpheusOutlet, descendants: true }], viewQueries: [{ propertyName: "focusableElement", first: true, predicate: ["focusableElement"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"content?.changes | async\" />\n<ng-container *ngIf=\"hintOptions?.change$ | async\" />\n<div\n automation-id=\"tui-primitive-textfield__wrapper\"\n tuiWrapper\n [active]=\"pseudoActive\"\n [appearance]=\"appearance\"\n [disabled]=\"disabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [style.--text-indent.px]=\"decor.pre$ | async\"\n (click.prevent.silent)=\"detectRetargetFromLabel($event)\"\n (mousedown)=\"onMouseDown($event)\"\n>\n <ng-content select=\"input\" />\n <ng-content select=\"select\" />\n <input\n #focusableElement\n automation-id=\"tui-primitive-textfield__native-input\"\n class=\"t-input\"\n [attr.aria-invalid]=\"computedInvalid\"\n [attr.name]=\"name\"\n [disabled]=\"computedDisabled\"\n [id]=\"id\"\n [ngModel]=\"value\"\n [readOnly]=\"readOnly || !editable\"\n [tabIndex]=\"computedFocusable ? 0 : -1\"\n (ngModelChange)=\"onModelChange($event)\"\n />\n <div\n *ngIf=\"inputHidden\"\n automation-id=\"tui-primitive-textfield__value\"\n class=\"t-input t-input_template\"\n >\n <ng-content select=\"tuiContent\" />\n </div>\n <div class=\"t-content\">\n <div\n *ngIf=\"iconLeftContent\"\n class=\"t-icon t-icon_left t-textfield-icon\"\n >\n <tui-icon\n *polymorpheusOutlet=\"iconLeftContent as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [icon]=\"src.toString()\"\n />\n </div>\n <div class=\"t-wrapper\">\n <label\n *ngIf=\"hasPlaceholder\"\n automation-id=\"tui-primitive-textfield__placeholder\"\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n [for]=\"computedId\"\n >\n <ng-content />\n </label>\n <div class=\"t-wrapper-value-decoration\">\n <tui-value-decoration\n #decor\n aria-hidden=\"true\"\n automation-id=\"tui-primitive-textfield__value-decoration\"\n class=\"t-value-decoration\"\n [class.t-has-value]=\"value\"\n [style.textIndent.px]=\"getIndent$(focusableElement) | async\"\n />\n </div>\n </div>\n <div class=\"t-icons\">\n <div\n *ngIf=\"hasCustomContent\"\n automation-id=\"tui-primitive-textfield__custom-content\"\n class=\"t-custom-content\"\n >\n <tui-icon\n *polymorpheusOutlet=\"controller.customContent as src\"\n class=\"t-custom-icon\"\n [icon]=\"src\"\n />\n </div>\n <span\n *ngIf=\"hasCleaner\"\n appearance=\"icon\"\n automation-id=\"tui-primitive-textfield__cleaner\"\n tuiWrapper\n class=\"t-cleaner\"\n (click.stop)=\"clear()\"\n >\n <tui-icon\n *polymorpheusOutlet=\"\n iconCleaner || controller.options.iconCleaner as src;\n context: {$implicit: size}\n \"\n [icon]=\"src.toString()\"\n [style.border]=\"'0.25rem solid transparent'\"\n />\n </span>\n <tui-tooltip\n *ngIf=\"showHint\"\n automation-id=\"tui-primitive-textfield__tooltip\"\n class=\"t-tooltip\"\n [content]=\"hintOptions?.content\"\n [describeId]=\"computedId\"\n />\n <div\n *ngIf=\"iconContent\"\n class=\"t-icon t-textfield-icon\"\n >\n <tui-icon\n *polymorpheusOutlet=\"iconContent as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [icon]=\"src.toString()\"\n />\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}:host[data-size=s]{--tui-height: var(--tui-height-s)}:host[data-size=m]{--tui-height: var(--tui-height-m)}:host[data-size=l]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);color:var(--tui-text-primary);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input:-webkit-autofill,.t-input:-webkit-autofill:hover,.t-input:-webkit-autofill:focus{caret-color:var(--tui-text-primary);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-primary)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}@supports (-webkit-touch-callout: none){.t-input:active{font-size:1rem}}.t-input[inputMode=none]{caret-color:transparent}.t-input:-webkit-autofill,.t-input:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input::-webkit-caps-lock-indicator,.t-input::-webkit-contacts-auto-fill-button,.t-input::-webkit-credit-card-auto-fill-button,.t-input::-webkit-credentials-auto-fill-button,.t-input::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input::placeholder{color:var(--tui-text-tertiary);opacity:0}:host._focused:not(._readonly) .t-input::placeholder,:host-context(tui-primitive-textfield._focused:not(._readonly)) .t-input::placeholder,:host-context(tui-textarea._focused:not(._readonly)) .t-input::placeholder,:host-context(tui-text-area._focused:not(._readonly)) .t-input::placeholder{opacity:1}:host[data-size=s] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"s\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"s\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"s\"]):not(tui-text-area){padding:0 var(--tui-padding-s)}:host[data-size=m] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"m\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"m\"]):not(tui-text-area){padding:0 var(--tui-padding-m)}:host[data-size=l] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"l\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"l\"]):not(tui-text-area){padding:0 var(--tui-padding-l)}:host._disabled .t-input,.t-input :host-context(tui-primitive-textfield._disabled),.t-input :host-context(tui-textarea._disabled),.t-input :host-context(tui-text-area._disabled){pointer-events:none}:host[data-size=l]:not(._label-outside) .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1.25rem}:host[data-size=m]:not(._label-outside) .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1rem}:host[data-size=l]:not(._label-outside) .t-input{padding-top:1.25rem}:host[data-size=l]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder{font-size:.8156rem;transform:translateY(-.625rem)}:host[data-size=m]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder{font-size:.69rem;transform:translateY(-.5rem)}:host._hidden input.t-input,.t-input :host-context(tui-primitive-textfield._hidden){opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content{display:flex;height:100%;width:100%;box-sizing:border-box;align-items:center;overflow:hidden}:host[data-size=s] .t-content{padding:0 var(--tui-padding-s)}:host[data-size=m] .t-content{padding:0 var(--tui-padding-m)}:host[data-size=l] .t-content{padding:0 var(--tui-padding-l)}.t-wrapper{flex:1;min-width:0;padding-inline-end:.25rem}.t-placeholder{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-secondary);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised{transform:translateY(-.625rem)}:host[data-size=m] .t-placeholder_raised{font:var(--tui-font-text-xs);line-height:1.25rem;transform:translateY(-.5rem);letter-spacing:.025rem}:host._invalid:not(._focused) .t-placeholder_raised,:host._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-status-negative)}:host._focused .t-placeholder,:host[data-size=m]._focused._label-outside .t-placeholder,:host[data-size=l]._focused._label-outside .t-placeholder{color:var(--tui-text-tertiary)}:host[data-size=l] .t-placeholder{font:var(--tui-font-text-m);line-height:1.25rem}:host[data-size=l] .t-placeholder_raised{font-size:.8156rem}:host[data-size=m]._focused:not(._label-outside) .t-placeholder,:host[data-size=l]._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-primary)}.t-cleaner{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto;border:.25rem solid transparent}:host._readonly .t-cleaner,:host._disabled .t-cleaner{pointer-events:none}.t-icon{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}:host[data-size=s] .t-icon_left{margin-inline-start:-.375rem}:host[data-size=m] .t-icon_left{margin-inline-start:-.125rem;margin-inline-end:.375rem}:host[data-size=l] .t-icon_left{margin-inline-end:.75rem}.t-icons{display:flex;align-items:center}:host[data-size=m] .t-icons{margin-inline-end:-.125rem}:host[data-size=s] .t-icons{margin-inline-end:-.375rem}:host:not([data-size=s]) .t-icons>:not(:first-child){margin-inline-start:.25rem}:host._autofilled[data-size=s] .t-placeholder,:host._autofilled._label-outside .t-placeholder,:host._autofilled .t-value-decoration:not(.t-has-value){visibility:hidden}:host[data-size=s] tui-icon{border:.25rem solid transparent}.t-custom-content{position:relative;display:flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;pointer-events:none}.t-custom-icon{width:2rem;height:100%}.t-input:not(:first-child){display:none}:host[data-size] .t-input_template{display:flex;width:calc(100% - 1rem);max-width:calc(100% - 1rem);align-items:center;pointer-events:none;padding-inline-end:0}.t-text-template{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-wrapper-value-decoration{position:relative;pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i4.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { kind: "component", type: i5.TuiTooltipComponent, selector: "tui-tooltip", inputs: ["content", "direction", "appearance", "showDelay", "hideDelay", "describeId", "context"] }, { kind: "component", type: i6.TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }, { kind: "directive", type: i7.TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus"] }, { kind: "component", type: i8.TuiValueDecorationComponent, selector: "tui-value-decoration" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
188
+ }
189
+ __decorate([
190
+ tuiPure
191
+ ], TuiPrimitiveTextfieldComponent.prototype, "getIndent$", null);
192
+ export { TuiPrimitiveTextfieldComponent };
193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPrimitiveTextfieldComponent, decorators: [{
194
+ type: Component,
195
+ args: [{ selector: 'tui-primitive-textfield', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
196
+ tuiAsFocusableItemAccessor(TuiPrimitiveTextfieldComponent),
197
+ TEXTFIELD_CONTROLLER_PROVIDER,
198
+ ], host: {
199
+ '[class._autofilled]': 'autofilled',
200
+ '[class._label-outside]': 'options.appearance === "table" || controller.labelOutside',
201
+ }, template: "<ng-container *ngIf=\"content?.changes | async\" />\n<ng-container *ngIf=\"hintOptions?.change$ | async\" />\n<div\n automation-id=\"tui-primitive-textfield__wrapper\"\n tuiWrapper\n [active]=\"pseudoActive\"\n [appearance]=\"appearance\"\n [disabled]=\"disabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [style.--text-indent.px]=\"decor.pre$ | async\"\n (click.prevent.silent)=\"detectRetargetFromLabel($event)\"\n (mousedown)=\"onMouseDown($event)\"\n>\n <ng-content select=\"input\" />\n <ng-content select=\"select\" />\n <input\n #focusableElement\n automation-id=\"tui-primitive-textfield__native-input\"\n class=\"t-input\"\n [attr.aria-invalid]=\"computedInvalid\"\n [attr.name]=\"name\"\n [disabled]=\"computedDisabled\"\n [id]=\"id\"\n [ngModel]=\"value\"\n [readOnly]=\"readOnly || !editable\"\n [tabIndex]=\"computedFocusable ? 0 : -1\"\n (ngModelChange)=\"onModelChange($event)\"\n />\n <div\n *ngIf=\"inputHidden\"\n automation-id=\"tui-primitive-textfield__value\"\n class=\"t-input t-input_template\"\n >\n <ng-content select=\"tuiContent\" />\n </div>\n <div class=\"t-content\">\n <div\n *ngIf=\"iconLeftContent\"\n class=\"t-icon t-icon_left t-textfield-icon\"\n >\n <tui-icon\n *polymorpheusOutlet=\"iconLeftContent as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [icon]=\"src.toString()\"\n />\n </div>\n <div class=\"t-wrapper\">\n <label\n *ngIf=\"hasPlaceholder\"\n automation-id=\"tui-primitive-textfield__placeholder\"\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n [for]=\"computedId\"\n >\n <ng-content />\n </label>\n <div class=\"t-wrapper-value-decoration\">\n <tui-value-decoration\n #decor\n aria-hidden=\"true\"\n automation-id=\"tui-primitive-textfield__value-decoration\"\n class=\"t-value-decoration\"\n [class.t-has-value]=\"value\"\n [style.textIndent.px]=\"getIndent$(focusableElement) | async\"\n />\n </div>\n </div>\n <div class=\"t-icons\">\n <div\n *ngIf=\"hasCustomContent\"\n automation-id=\"tui-primitive-textfield__custom-content\"\n class=\"t-custom-content\"\n >\n <tui-icon\n *polymorpheusOutlet=\"controller.customContent as src\"\n class=\"t-custom-icon\"\n [icon]=\"src\"\n />\n </div>\n <span\n *ngIf=\"hasCleaner\"\n appearance=\"icon\"\n automation-id=\"tui-primitive-textfield__cleaner\"\n tuiWrapper\n class=\"t-cleaner\"\n (click.stop)=\"clear()\"\n >\n <tui-icon\n *polymorpheusOutlet=\"\n iconCleaner || controller.options.iconCleaner as src;\n context: {$implicit: size}\n \"\n [icon]=\"src.toString()\"\n [style.border]=\"'0.25rem solid transparent'\"\n />\n </span>\n <tui-tooltip\n *ngIf=\"showHint\"\n automation-id=\"tui-primitive-textfield__tooltip\"\n class=\"t-tooltip\"\n [content]=\"hintOptions?.content\"\n [describeId]=\"computedId\"\n />\n <div\n *ngIf=\"iconContent\"\n class=\"t-icon t-textfield-icon\"\n >\n <tui-icon\n *polymorpheusOutlet=\"iconContent as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [icon]=\"src.toString()\"\n />\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}:host[data-size=s]{--tui-height: var(--tui-height-s)}:host[data-size=m]{--tui-height: var(--tui-height-m)}:host[data-size=l]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);color:var(--tui-text-primary);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input:-webkit-autofill,.t-input:-webkit-autofill:hover,.t-input:-webkit-autofill:focus{caret-color:var(--tui-text-primary);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-primary)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}@supports (-webkit-touch-callout: none){.t-input:active{font-size:1rem}}.t-input[inputMode=none]{caret-color:transparent}.t-input:-webkit-autofill,.t-input:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input::-webkit-caps-lock-indicator,.t-input::-webkit-contacts-auto-fill-button,.t-input::-webkit-credit-card-auto-fill-button,.t-input::-webkit-credentials-auto-fill-button,.t-input::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input::placeholder{color:var(--tui-text-tertiary);opacity:0}:host._focused:not(._readonly) .t-input::placeholder,:host-context(tui-primitive-textfield._focused:not(._readonly)) .t-input::placeholder,:host-context(tui-textarea._focused:not(._readonly)) .t-input::placeholder,:host-context(tui-text-area._focused:not(._readonly)) .t-input::placeholder{opacity:1}:host[data-size=s] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"s\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"s\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"s\"]):not(tui-text-area){padding:0 var(--tui-padding-s)}:host[data-size=m] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"m\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"m\"]):not(tui-text-area){padding:0 var(--tui-padding-m)}:host[data-size=l] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"l\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"l\"]):not(tui-text-area){padding:0 var(--tui-padding-l)}:host._disabled .t-input,.t-input :host-context(tui-primitive-textfield._disabled),.t-input :host-context(tui-textarea._disabled),.t-input :host-context(tui-text-area._disabled){pointer-events:none}:host[data-size=l]:not(._label-outside) .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1.25rem}:host[data-size=m]:not(._label-outside) .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1rem}:host[data-size=l]:not(._label-outside) .t-input{padding-top:1.25rem}:host[data-size=l]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder{font-size:.8156rem;transform:translateY(-.625rem)}:host[data-size=m]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder{font-size:.69rem;transform:translateY(-.5rem)}:host._hidden input.t-input,.t-input :host-context(tui-primitive-textfield._hidden){opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content{display:flex;height:100%;width:100%;box-sizing:border-box;align-items:center;overflow:hidden}:host[data-size=s] .t-content{padding:0 var(--tui-padding-s)}:host[data-size=m] .t-content{padding:0 var(--tui-padding-m)}:host[data-size=l] .t-content{padding:0 var(--tui-padding-l)}.t-wrapper{flex:1;min-width:0;padding-inline-end:.25rem}.t-placeholder{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-secondary);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised{transform:translateY(-.625rem)}:host[data-size=m] .t-placeholder_raised{font:var(--tui-font-text-xs);line-height:1.25rem;transform:translateY(-.5rem);letter-spacing:.025rem}:host._invalid:not(._focused) .t-placeholder_raised,:host._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-status-negative)}:host._focused .t-placeholder,:host[data-size=m]._focused._label-outside .t-placeholder,:host[data-size=l]._focused._label-outside .t-placeholder{color:var(--tui-text-tertiary)}:host[data-size=l] .t-placeholder{font:var(--tui-font-text-m);line-height:1.25rem}:host[data-size=l] .t-placeholder_raised{font-size:.8156rem}:host[data-size=m]._focused:not(._label-outside) .t-placeholder,:host[data-size=l]._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-primary)}.t-cleaner{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto;border:.25rem solid transparent}:host._readonly .t-cleaner,:host._disabled .t-cleaner{pointer-events:none}.t-icon{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}:host[data-size=s] .t-icon_left{margin-inline-start:-.375rem}:host[data-size=m] .t-icon_left{margin-inline-start:-.125rem;margin-inline-end:.375rem}:host[data-size=l] .t-icon_left{margin-inline-end:.75rem}.t-icons{display:flex;align-items:center}:host[data-size=m] .t-icons{margin-inline-end:-.125rem}:host[data-size=s] .t-icons{margin-inline-end:-.375rem}:host:not([data-size=s]) .t-icons>:not(:first-child){margin-inline-start:.25rem}:host._autofilled[data-size=s] .t-placeholder,:host._autofilled._label-outside .t-placeholder,:host._autofilled .t-value-decoration:not(.t-has-value){visibility:hidden}:host[data-size=s] tui-icon{border:.25rem solid transparent}.t-custom-content{position:relative;display:flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;pointer-events:none}.t-custom-icon{width:2rem;height:100%}.t-input:not(:first-child){display:none}:host[data-size] .t-input_template{display:flex;width:calc(100% - 1rem);max-width:calc(100% - 1rem);align-items:center;pointer-events:none;padding-inline-end:0}.t-text-template{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-wrapper-value-decoration{position:relative;pointer-events:none}\n"] }]
202
+ }], propDecorators: { focusableElement: [{
203
+ type: ViewChild,
204
+ args: ['focusableElement']
205
+ }], content: [{
206
+ type: ContentChildren,
207
+ args: [PolymorpheusOutlet, { descendants: true }]
208
+ }], editable: [{
209
+ type: Input
210
+ }], iconCleaner: [{
211
+ type: Input
212
+ }], readOnly: [{
213
+ type: Input
214
+ }, {
215
+ type: HostBinding,
216
+ args: ['class._readonly']
217
+ }], invalid: [{
218
+ type: Input
219
+ }], disabled: [{
220
+ type: Input
221
+ }], value: [{
222
+ type: Input
223
+ }], valueChange: [{
224
+ type: Output
225
+ }], size: [{
226
+ type: HostBinding,
227
+ args: ['attr.data-size']
228
+ }], computedInvalid: [{
229
+ type: HostBinding,
230
+ args: ['class._invalid']
231
+ }], inputHidden: [{
232
+ type: HostBinding,
233
+ args: ['class._hidden']
234
+ }], borderStart: [{
235
+ type: HostBinding,
236
+ args: ['style.--border-start.rem']
237
+ }], borderEnd: [{
238
+ type: HostBinding,
239
+ args: ['style.--border-end.rem']
240
+ }], onFocused: [{
241
+ type: HostListener,
242
+ args: ['focusin', ['true']]
243
+ }, {
244
+ type: HostListener,
245
+ args: ['focusout', ['false']]
246
+ }], getIndent$: [] } });
247
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpbWl0aXZlLXRleHRmaWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9wcmltaXRpdmUtdGV4dGZpZWxkL3ByaW1pdGl2ZS10ZXh0ZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2NvbXBvbmVudHMvcHJpbWl0aXZlLXRleHRmaWVsZC9wcmltaXRpdmUtdGV4dGZpZWxkLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULGVBQWUsRUFDZixZQUFZLEVBQ1osV0FBVyxFQUNYLFlBQVksRUFDWixNQUFNLEVBQ04sS0FBSyxFQUNMLE1BQU0sRUFDTixTQUFTLEdBQ1osTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQ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rpdj5cbiAgICA8ZGl2IGNsYXNzPVwidC1jb250ZW50XCI+XG4gICAgICAgIDxkaXZcbiAgICAgICAgICAgICpuZ0lmPVwiaWNvbkxlZnRDb250ZW50XCJcbiAgICAgICAgICAgIGNsYXNzPVwidC1pY29uIHQtaWNvbl9sZWZ0IHQtdGV4dGZpZWxkLWljb25cIlxuICAgICAgICA+XG4gICAgICAgICAgICA8dHVpLWljb25cbiAgICAgICAgICAgICAgICAqcG9seW1vcnBoZXVzT3V0bGV0PVwiaWNvbkxlZnRDb250ZW50IGFzIHNyYzsgY29udGV4dDogeyRpbXBsaWNpdDogc2l6ZX1cIlxuICAgICAgICAgICAgICAgIHR1aUFwcGVhcmFuY2U9XCJpY29uXCJcbiAgICAgICAgICAgICAgICBbaWNvbl09XCJzcmMudG9TdHJpbmcoKVwiXG4gICAgICAgICAgICAvPlxuICAgICAgICA8L2Rpdj5cbiAgICAgICAgPGRpdiBjbGFzcz1cInQtd3JhcHBlclwiPlxuICAgICAgICAgICAgPGxhYmVsXG4gICAgICAgICAgICAgICAgKm5nSWY9XCJoYXNQbGFjZWhvbGRlclwiXG4gICAgICAgICAgICAgICAgYXV0b21hdGlvbi1pZD1cInR1aS1wcmltaXRpdmUtdGV4dGZpZWxkX19wbGFjZWhvbGRlclwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ0LXBsYWNlaG9sZGVyXCJcbiAgICAgICAgICAgICAgICBbY2xhc3MudC1wbGFjZWhvbGRlcl9yYWlzZWRdPVwicGxhY2Vob2xkZXJSYWlzZWRcIlxuICAgICAgICAgICAgICAgIFtmb3JdPVwiY29tcHV0ZWRJZFwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPG5nLWNvbnRlbnQgLz5cbiAgICAgICAgICAgIDwvbGFiZWw+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwidC13cmFwcGVyLXZhbHVlLWRlY29yYXRpb25cIj5cbiAgICAgICAgICAgICAgICA8dHVpLXZhbHVlLWRlY29yYXRpb25cbiAgICAgICAgICAgICAgICAgICAgI2RlY29yXG4gICAgICAgICAgICAgICAgICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgICAgICAgICAgICAgICAgIGF1dG9tYXRpb24taWQ9XCJ0dWktcHJpbWl0aXZlLXRleHRmaWVsZF9fdmFsdWUtZGVjb3JhdGlvblwiXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwidC12YWx1ZS1kZWNvcmF0aW9uXCJcbiAgICAgICAgICAgICAgICAgICAgW2NsYXNzLnQtaGFzLXZhbHVlXT1cInZhbHVlXCJcbiAgICAgICAgICAgICAgICAgICAgW3N0eWxlLnRleHRJbmRlbnQucHhdPVwiZ2V0SW5kZW50JChmb2N1c2FibGVFbGVtZW50KSB8IGFzeW5jXCJcbiAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8ZGl2IGNsYXNzPVwidC1pY29uc1wiPlxuICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgICpuZ0lmPVwiaGFzQ3VzdG9tQ29udGVudFwiXG4gICAgICAgICAgICAgICAgYXV0b21hdGlvbi1pZD1cInR1aS1wcmltaXRpdmUtdGV4dGZpZWxkX19jdXN0b20tY29udGVudFwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ0LWN1c3RvbS1jb250ZW50XCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8dHVpLWljb25cbiAgICAgICAgICAgICAgICAgICAgKnBvbHltb3JwaGV1c091dGxldD1cImNvbnRyb2xsZXIuY3VzdG9tQ29udGVudCBhcyBzcmNcIlxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cInQtY3VzdG9tLWljb25cIlxuICAgICAgICAgICAgICAgICAgICBbaWNvbl09XCJzcmNcIlxuICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDxzcGFuXG4gICAgICAgICAgICAgICAgKm5nSWY9XCJoYXNDbGVhbmVyXCJcbiAgICAgICAgICAgICAgICBhcHBlYXJhbmNlPVwiaWNvblwiXG4gICAgICAgICAgICAgICAgYXV0b21hdGlvbi1pZD1cInR1aS1wcmltaXRpdmUtdGV4dGZpZWxkX19jbGVhbmVyXCJcbiAgICAgICAgICAgICAgICB0dWlXcmFwcGVyXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ0LWNsZWFuZXJcIlxuICAgICAgICAgICAgICAgIChjbGljay5zdG9wKT1cImNsZWFyKClcIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDx0dWktaWNvblxuICAgICAgICAgICAgICAgICAgICAqcG9seW1vcnBoZXVzT3V0bGV0PVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBpY29uQ2xlYW5lciB8fCBjb250cm9sbGVyLm9wdGlvbnMuaWNvbkNsZWFuZXIgYXMgc3JjO1xuICAgICAgICAgICAgICAgICAgICAgICAgY29udGV4dDogeyRpbXBsaWNpdDogc2l6ZX1cbiAgICAgICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAgICAgW2ljb25dPVwic3JjLnRvU3RyaW5nKClcIlxuICAgICAgICAgICAgICAgICAgICBbc3R5bGUuYm9yZGVyXT1cIicwLjI1cmVtIHNvbGlkIHRyYW5zcGFyZW50J1wiXG4gICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIDwvc3Bhbj5cbiAgICAgICAgICAgIDx0dWktdG9vbHRpcFxuICAgICAgICAgICAgICAgICpuZ0lmPVwic2hvd0hpbnRcIlxuICAgICAgICAgICAgICAgIGF1dG9tYXRpb24taWQ9XCJ0dWktcHJpbWl0aXZlLXRleHRmaWVsZF9fdG9vbHRpcFwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ0LXRvb2x0aXBcIlxuICAgICAgICAgICAgICAgIFtjb250ZW50XT1cImhpbnRPcHRpb25zPy5jb250ZW50XCJcbiAgICAgICAgICAgICAgICBbZGVzY3JpYmVJZF09XCJjb21wdXRlZElkXCJcbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgKm5nSWY9XCJpY29uQ29udGVudFwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ0LWljb24gdC10ZXh0ZmllbGQtaWNvblwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPHR1aS1pY29uXG4gICAgICAgICAgICAgICAgICAgICpwb2x5bW9ycGhldXNPdXRsZXQ9XCJpY29uQ29udGVudCBhcyBzcmM7IGNvbnRleHQ6IHskaW1wbGljaXQ6IHNpemV9XCJcbiAgICAgICAgICAgICAgICAgICAgdHVpQXBwZWFyYW5jZT1cImljb25cIlxuICAgICAgICAgICAgICAgICAgICBbaWNvbl09XCJzcmMudG9TdHJpbmcoKVwiXG4gICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbjwvZGl2PlxuIl19
@@ -0,0 +1,28 @@
1
+ import { Directive, inject } from '@angular/core';
2
+ import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
3
+ import { tuiAsTextfieldHost } from '@taiga-ui/legacy/tokens';
4
+ import { TuiPrimitiveTextfieldComponent } from './primitive-textfield.component';
5
+ import * as i0 from "@angular/core";
6
+ class TuiPrimitiveTextfieldDirective extends AbstractTuiTextfieldHost {
7
+ constructor() {
8
+ super(...arguments);
9
+ this.host = inject(TuiPrimitiveTextfieldComponent);
10
+ }
11
+ get readOnly() {
12
+ return this.host.readOnly || !this.host.editable;
13
+ }
14
+ onValueChange(value) {
15
+ this.host.onModelChange(value);
16
+ }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPrimitiveTextfieldDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
18
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield", providers: [tuiAsTextfieldHost(TuiPrimitiveTextfieldDirective)], usesInheritance: true, ngImport: i0 }); }
19
+ }
20
+ export { TuiPrimitiveTextfieldDirective };
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPrimitiveTextfieldDirective, decorators: [{
22
+ type: Directive,
23
+ args: [{
24
+ selector: 'tui-primitive-textfield',
25
+ providers: [tuiAsTextfieldHost(TuiPrimitiveTextfieldDirective)],
26
+ }]
27
+ }] });
28
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpbWl0aXZlLXRleHRmaWVsZC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9wcmltaXRpdmUtdGV4dGZpZWxkL3ByaW1pdGl2ZS10ZXh0ZmllbGQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2hELE9BQU8sRUFBQyx3QkFBd0IsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBQ2xFLE9BQU8sRUFBQyxrQkFBa0IsRUFBQyxNQUFNLHlCQUF5QixDQUFDO0FBRTNELE9BQU8sRUFBQyw4QkFBOEIsRUFBQyxNQUFNLGlDQUFpQyxDQUFDOztBQUUvRSxNQUlhLDhCQUErQixTQUFRLHdCQUE2QjtJQUpqRjs7UUFLZ0MsU0FBSSxHQUFHLE1BQU0sQ0FBQyw4QkFBOEIsQ0FBQyxDQUFDO0tBUzdFO0lBUEcsSUFBb0IsUUFBUTtRQUN4QixPQUFPLElBQUksQ0FBQyxJQU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