@taiga-ui/legacy 4.52.0-canary.536e4ff → 4.52.0-canary.55ce829

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 (544) hide show
  1. package/classes/abstract-textfield-host.d.ts +1 -1
  2. package/classes/controller.d.ts +1 -1
  3. package/classes/multiple-control.d.ts +1 -1
  4. package/classes/nullable-control.d.ts +1 -1
  5. package/components/dialog/dialog.component.d.ts +20 -0
  6. package/components/dialog/dialog.directive.d.ts +7 -0
  7. package/components/dialog/dialog.factory.d.ts +16 -0
  8. package/components/dialog/dialog.interfaces.d.ts +31 -0
  9. package/components/dialog/dialog.service.d.ts +7 -0
  10. package/components/dialog/dialog.tokens.d.ts +8 -0
  11. package/components/dialog/index.d.ts +6 -0
  12. package/components/index.d.ts +2 -16
  13. package/components/input/input.module.d.ts +1 -1
  14. package/components/input-date-range/input-date-range.module.d.ts +1 -1
  15. package/components/input-date-time/input-date-time.component.d.ts +4 -3
  16. package/components/input-date-time/input-date-time.module.d.ts +1 -1
  17. package/components/input-month-range/input-month-range.module.d.ts +1 -1
  18. package/components/input-range/input-range.component.d.ts +1 -1
  19. package/components/input-tag/input-tag.module.d.ts +1 -1
  20. package/components/multi-select/multi-select.module.d.ts +1 -1
  21. package/components/multi-select/native-multi-select/native-multi-select.d.ts +1 -1
  22. package/components/pdf-viewer/index.d.ts +4 -0
  23. package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
  24. package/components/pdf-viewer/pdf-viewer.directive.d.ts +7 -0
  25. package/components/pdf-viewer/pdf-viewer.options.d.ts +13 -0
  26. package/components/pdf-viewer/pdf-viewer.service.d.ts +13 -0
  27. package/components/select/select.module.d.ts +1 -1
  28. package/fesm2022/taiga-ui-legacy-classes.mjs +23 -24
  29. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +6 -6
  31. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +130 -0
  33. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  34. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +27 -27
  35. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +28 -28
  37. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +14 -14
  39. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +23 -23
  41. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +26 -26
  43. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +20 -21
  45. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +24 -24
  47. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-legacy-components-input.mjs +17 -18
  49. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +8 -8
  51. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +50 -50
  53. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +83 -0
  55. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
  56. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +30 -30
  57. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +9 -9
  59. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-legacy-components-select.mjs +36 -37
  61. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-legacy-components-tag.mjs +14 -15
  63. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +24 -24
  65. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +8 -8
  67. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-legacy-components.mjs +2 -16
  69. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +3 -3
  71. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +35 -35
  73. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +4 -4
  75. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +7 -7
  77. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +9 -9
  79. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-legacy-tokens.mjs +1 -1
  81. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-legacy.mjs +0 -2
  84. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  85. package/index.d.ts +0 -2
  86. package/package.json +29 -203
  87. package/styles/mixins/textfield.less +3 -1
  88. package/utils/icons-path-factory.d.ts +1 -1
  89. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  90. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  91. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  92. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  93. package/components/color-selector/color-selector.component.d.ts +0 -47
  94. package/components/color-selector/color-selector.module.d.ts +0 -24
  95. package/components/color-selector/color-selector.options.d.ts +0 -25
  96. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  97. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  98. package/components/color-selector/index.d.ts +0 -16
  99. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  100. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  101. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  102. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  103. package/components/color-selector/palette/palette.component.d.ts +0 -10
  104. package/components/color-selector/palette/palette.module.d.ts +0 -13
  105. package/components/color-selector/services/picker.service.d.ts +0 -15
  106. package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
  107. package/components/combo-box/combo-box.component.d.ts +0 -52
  108. package/components/combo-box/combo-box.directive.d.ts +0 -13
  109. package/components/combo-box/combo-box.module.d.ts +0 -20
  110. package/components/combo-box/index.d.ts +0 -4
  111. package/components/input-color/index.d.ts +0 -2
  112. package/components/input-color/input-color.component.d.ts +0 -30
  113. package/components/input-color/input-color.module.d.ts +0 -17
  114. package/components/input-copy/index.d.ts +0 -4
  115. package/components/input-copy/input-copy.component.d.ts +0 -33
  116. package/components/input-copy/input-copy.directive.d.ts +0 -11
  117. package/components/input-copy/input-copy.module.d.ts +0 -18
  118. package/components/input-copy/input-copy.options.d.ts +0 -26
  119. package/components/input-date/index.d.ts +0 -3
  120. package/components/input-date/input-date.component.d.ts +0 -62
  121. package/components/input-date/input-date.directive.d.ts +0 -19
  122. package/components/input-date/input-date.module.d.ts +0 -24
  123. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  124. package/components/input-date-multi/index.d.ts +0 -2
  125. package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
  126. package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
  127. package/components/input-month/index.d.ts +0 -3
  128. package/components/input-month/input-month.component.d.ts +0 -44
  129. package/components/input-month/input-month.directive.d.ts +0 -19
  130. package/components/input-month/input-month.module.d.ts +0 -19
  131. package/components/input-password/index.d.ts +0 -4
  132. package/components/input-password/input-password.component.d.ts +0 -33
  133. package/components/input-password/input-password.directive.d.ts +0 -15
  134. package/components/input-password/input-password.module.d.ts +0 -19
  135. package/components/input-password/input-password.options.d.ts +0 -25
  136. package/components/input-phone/index.d.ts +0 -4
  137. package/components/input-phone/input-phone.component.d.ts +0 -49
  138. package/components/input-phone/input-phone.directive.d.ts +0 -13
  139. package/components/input-phone/input-phone.module.d.ts +0 -12
  140. package/components/input-phone/input-phone.options.d.ts +0 -13
  141. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  142. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  143. package/components/input-phone/utils/index.d.ts +0 -2
  144. package/components/input-phone-international/index.d.ts +0 -3
  145. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  146. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  147. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  148. package/components/input-time/index.d.ts +0 -4
  149. package/components/input-time/input-time.component.d.ts +0 -62
  150. package/components/input-time/input-time.directive.d.ts +0 -17
  151. package/components/input-time/input-time.module.d.ts +0 -23
  152. package/components/input-time/input-time.options.d.ts +0 -42
  153. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  154. package/components/input-year/index.d.ts +0 -3
  155. package/components/input-year/input-year.component.d.ts +0 -36
  156. package/components/input-year/input-year.directive.d.ts +0 -14
  157. package/components/input-year/input-year.module.d.ts +0 -18
  158. package/components/island/index.d.ts +0 -1
  159. package/components/island/island.directive.d.ts +0 -20
  160. package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
  161. package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
  162. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -10
  163. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
  164. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
  165. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
  166. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
  167. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
  168. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
  169. package/components/sheet/index.d.ts +0 -14
  170. package/components/sheet/sheet-options.d.ts +0 -27
  171. package/components/sheet/sheet-tokens.d.ts +0 -18
  172. package/components/sheet/sheet.d.ts +0 -21
  173. package/components/sheet/sheet.directive.d.ts +0 -17
  174. package/components/sheet/sheet.module.d.ts +0 -24
  175. package/components/sheet/sheet.service.d.ts +0 -17
  176. package/components/svg/content-processor.d.ts +0 -19
  177. package/components/svg/deprecated-icons.d.ts +0 -5
  178. package/components/svg/index.d.ts +0 -5
  179. package/components/svg/svg-options.d.ts +0 -50
  180. package/components/svg/svg.component.d.ts +0 -50
  181. package/components/svg/svg.service.d.ts +0 -21
  182. package/components/table-bar/index.d.ts +0 -4
  183. package/components/table-bar/table-bar.component.d.ts +0 -17
  184. package/components/table-bar/table-bar.directive.d.ts +0 -11
  185. package/components/table-bar/table-bar.options.d.ts +0 -31
  186. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  187. package/components/table-bar/table-bars.service.d.ts +0 -11
  188. package/esm2022/classes/abstract-native-select.mjs +0 -49
  189. package/esm2022/classes/abstract-textfield-host.mjs +0 -37
  190. package/esm2022/classes/control.mjs +0 -181
  191. package/esm2022/classes/controller.mjs +0 -18
  192. package/esm2022/classes/index.mjs +0 -10
  193. package/esm2022/classes/interactive.mjs +0 -82
  194. package/esm2022/classes/multiple-control.mjs +0 -21
  195. package/esm2022/classes/named-day.mjs +0 -14
  196. package/esm2022/classes/nullable-control.mjs +0 -18
  197. package/esm2022/classes/stringifiable-item.mjs +0 -14
  198. package/esm2022/classes/taiga-ui-legacy-classes.mjs +0 -5
  199. package/esm2022/components/arrow/arrow.component.mjs +0 -41
  200. package/esm2022/components/arrow/arrow.options.mjs +0 -20
  201. package/esm2022/components/arrow/arrow.providers.mjs +0 -23
  202. package/esm2022/components/arrow/index.mjs +0 -4
  203. package/esm2022/components/arrow/taiga-ui-legacy-components-arrow.mjs +0 -5
  204. package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +0 -59
  205. package/esm2022/components/color-selector/color-edit/color-edit.module.mjs +0 -56
  206. package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +0 -70
  207. package/esm2022/components/color-selector/color-picker/color-picker.module.mjs +0 -25
  208. package/esm2022/components/color-selector/color-selector.component.mjs +0 -191
  209. package/esm2022/components/color-selector/color-selector.module.mjs +0 -67
  210. package/esm2022/components/color-selector/color-selector.options.mjs +0 -78
  211. package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +0 -34
  212. package/esm2022/components/color-selector/flat-picker/flat-picker.module.mjs +0 -23
  213. package/esm2022/components/color-selector/index.mjs +0 -17
  214. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +0 -61
  215. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.module.mjs +0 -23
  216. package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +0 -31
  217. package/esm2022/components/color-selector/linear-picker/linear-picker.module.mjs +0 -23
  218. package/esm2022/components/color-selector/palette/palette.component.mjs +0 -23
  219. package/esm2022/components/color-selector/palette/palette.module.mjs +0 -25
  220. package/esm2022/components/color-selector/services/picker.service.mjs +0 -31
  221. package/esm2022/components/color-selector/taiga-ui-legacy-components-color-selector.mjs +0 -5
  222. package/esm2022/components/combo-box/combo-box-strict.directive.mjs +0 -34
  223. package/esm2022/components/combo-box/combo-box.component.mjs +0 -183
  224. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -28
  225. package/esm2022/components/combo-box/combo-box.module.mjs +0 -71
  226. package/esm2022/components/combo-box/index.mjs +0 -5
  227. package/esm2022/components/combo-box/taiga-ui-legacy-components-combo-box.mjs +0 -5
  228. package/esm2022/components/index.mjs +0 -34
  229. package/esm2022/components/input/index.mjs +0 -4
  230. package/esm2022/components/input/input.component.mjs +0 -97
  231. package/esm2022/components/input/input.directive.mjs +0 -25
  232. package/esm2022/components/input/input.module.mjs +0 -42
  233. package/esm2022/components/input/taiga-ui-legacy-components-input.mjs +0 -5
  234. package/esm2022/components/input-color/index.mjs +0 -3
  235. package/esm2022/components/input-color/input-color.component.mjs +0 -85
  236. package/esm2022/components/input-color/input-color.module.mjs +0 -43
  237. package/esm2022/components/input-color/taiga-ui-legacy-components-input-color.mjs +0 -5
  238. package/esm2022/components/input-copy/index.mjs +0 -5
  239. package/esm2022/components/input-copy/input-copy.component.mjs +0 -105
  240. package/esm2022/components/input-copy/input-copy.directive.mjs +0 -24
  241. package/esm2022/components/input-copy/input-copy.module.mjs +0 -55
  242. package/esm2022/components/input-copy/input-copy.options.mjs +0 -24
  243. package/esm2022/components/input-copy/taiga-ui-legacy-components-input-copy.mjs +0 -5
  244. package/esm2022/components/input-date/index.mjs +0 -4
  245. package/esm2022/components/input-date/input-date.component.mjs +0 -220
  246. package/esm2022/components/input-date/input-date.directive.mjs +0 -40
  247. package/esm2022/components/input-date/input-date.module.mjs +0 -75
  248. package/esm2022/components/input-date/native-date/native-date.component.mjs +0 -53
  249. package/esm2022/components/input-date/taiga-ui-legacy-components-input-date.mjs +0 -5
  250. package/esm2022/components/input-date-multi/index.mjs +0 -3
  251. package/esm2022/components/input-date-multi/input-date-multi.component.mjs +0 -207
  252. package/esm2022/components/input-date-multi/input-date-multi.module.mjs +0 -67
  253. package/esm2022/components/input-date-multi/taiga-ui-legacy-components-input-date-multi.mjs +0 -5
  254. package/esm2022/components/input-date-range/index.mjs +0 -4
  255. package/esm2022/components/input-date-range/input-date-range.component.mjs +0 -256
  256. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -36
  257. package/esm2022/components/input-date-range/input-date-range.module.mjs +0 -71
  258. package/esm2022/components/input-date-range/taiga-ui-legacy-components-input-date-range.mjs +0 -5
  259. package/esm2022/components/input-date-time/index.mjs +0 -4
  260. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -315
  261. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -37
  262. package/esm2022/components/input-date-time/input-date-time.module.mjs +0 -78
  263. package/esm2022/components/input-date-time/native-date-time/native-date-time.directive.mjs +0 -49
  264. package/esm2022/components/input-date-time/taiga-ui-legacy-components-input-date-time.mjs +0 -5
  265. package/esm2022/components/input-month/index.mjs +0 -4
  266. package/esm2022/components/input-month/input-month.component.mjs +0 -135
  267. package/esm2022/components/input-month/input-month.directive.mjs +0 -46
  268. package/esm2022/components/input-month/input-month.module.mjs +0 -57
  269. package/esm2022/components/input-month/taiga-ui-legacy-components-input-month.mjs +0 -5
  270. package/esm2022/components/input-month-range/index.mjs +0 -4
  271. package/esm2022/components/input-month-range/input-month-range.component.mjs +0 -123
  272. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -52
  273. package/esm2022/components/input-month-range/input-month-range.module.mjs +0 -53
  274. package/esm2022/components/input-month-range/taiga-ui-legacy-components-input-month-range.mjs +0 -5
  275. package/esm2022/components/input-number/index.mjs +0 -5
  276. package/esm2022/components/input-number/input-number.component.mjs +0 -284
  277. package/esm2022/components/input-number/input-number.directive.mjs +0 -38
  278. package/esm2022/components/input-number/input-number.module.mjs +0 -48
  279. package/esm2022/components/input-number/input-number.options.mjs +0 -30
  280. package/esm2022/components/input-number/taiga-ui-legacy-components-input-number.mjs +0 -5
  281. package/esm2022/components/input-password/index.mjs +0 -5
  282. package/esm2022/components/input-password/input-password.component.mjs +0 -80
  283. package/esm2022/components/input-password/input-password.directive.mjs +0 -34
  284. package/esm2022/components/input-password/input-password.module.mjs +0 -59
  285. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  286. package/esm2022/components/input-password/taiga-ui-legacy-components-input-password.mjs +0 -5
  287. package/esm2022/components/input-phone/index.mjs +0 -5
  288. package/esm2022/components/input-phone/input-phone.component.mjs +0 -216
  289. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -34
  290. package/esm2022/components/input-phone/input-phone.module.mjs +0 -44
  291. package/esm2022/components/input-phone/input-phone.options.mjs +0 -18
  292. package/esm2022/components/input-phone/taiga-ui-legacy-components-input-phone.mjs +0 -5
  293. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  294. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  295. package/esm2022/components/input-phone/utils/index.mjs +0 -3
  296. package/esm2022/components/input-phone-international/index.mjs +0 -4
  297. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -178
  298. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -25
  299. package/esm2022/components/input-phone-international/taiga-ui-legacy-components-input-phone-international.mjs +0 -5
  300. package/esm2022/components/input-phone-international/utils/extract-value-from-event.mjs +0 -10
  301. package/esm2022/components/input-range/index.mjs +0 -3
  302. package/esm2022/components/input-range/input-range.component.mjs +0 -207
  303. package/esm2022/components/input-range/input-range.module.mjs +0 -55
  304. package/esm2022/components/input-range/taiga-ui-legacy-components-input-range.mjs +0 -5
  305. package/esm2022/components/input-slider/index.mjs +0 -3
  306. package/esm2022/components/input-slider/input-slider.component.mjs +0 -154
  307. package/esm2022/components/input-slider/input-slider.module.mjs +0 -48
  308. package/esm2022/components/input-slider/taiga-ui-legacy-components-input-slider.mjs +0 -5
  309. package/esm2022/components/input-tag/index.mjs +0 -4
  310. package/esm2022/components/input-tag/input-tag.component.mjs +0 -436
  311. package/esm2022/components/input-tag/input-tag.module.mjs +0 -67
  312. package/esm2022/components/input-tag/input-tag.options.mjs +0 -27
  313. package/esm2022/components/input-tag/taiga-ui-legacy-components-input-tag.mjs +0 -5
  314. package/esm2022/components/input-time/index.mjs +0 -5
  315. package/esm2022/components/input-time/input-time.component.mjs +0 -238
  316. package/esm2022/components/input-time/input-time.directive.mjs +0 -40
  317. package/esm2022/components/input-time/input-time.module.mjs +0 -71
  318. package/esm2022/components/input-time/input-time.options.mjs +0 -39
  319. package/esm2022/components/input-time/native-time/native-time.component.mjs +0 -67
  320. package/esm2022/components/input-time/taiga-ui-legacy-components-input-time.mjs +0 -5
  321. package/esm2022/components/input-year/index.mjs +0 -4
  322. package/esm2022/components/input-year/input-year.component.mjs +0 -110
  323. package/esm2022/components/input-year/input-year.directive.mjs +0 -32
  324. package/esm2022/components/input-year/input-year.module.mjs +0 -53
  325. package/esm2022/components/input-year/taiga-ui-legacy-components-input-year.mjs +0 -5
  326. package/esm2022/components/island/index.mjs +0 -2
  327. package/esm2022/components/island/island.directive.mjs +0 -62
  328. package/esm2022/components/island/taiga-ui-legacy-components-island.mjs +0 -5
  329. package/esm2022/components/multi-select/hide-selected.pipe.mjs +0 -44
  330. package/esm2022/components/multi-select/index.mjs +0 -11
  331. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -98
  332. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -94
  333. package/esm2022/components/multi-select/multi-select.component.mjs +0 -233
  334. package/esm2022/components/multi-select/multi-select.directive.mjs +0 -32
  335. package/esm2022/components/multi-select/multi-select.module.mjs +0 -113
  336. package/esm2022/components/multi-select/multi-select.options.mjs +0 -17
  337. package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +0 -60
  338. package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +0 -56
  339. package/esm2022/components/multi-select/native-multi-select/native-multi-select.mjs +0 -19
  340. package/esm2022/components/multi-select/taiga-ui-legacy-components-multi-select.mjs +0 -5
  341. package/esm2022/components/multi-select-option/index.mjs +0 -3
  342. package/esm2022/components/multi-select-option/multi-select-option.component.mjs +0 -25
  343. package/esm2022/components/multi-select-option/multi-select-option.module.mjs +0 -20
  344. package/esm2022/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.mjs +0 -5
  345. package/esm2022/components/primitive-textfield/index.mjs +0 -7
  346. package/esm2022/components/primitive-textfield/primitive-textfield-options.mjs +0 -17
  347. package/esm2022/components/primitive-textfield/primitive-textfield-types.mjs +0 -2
  348. package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +0 -254
  349. package/esm2022/components/primitive-textfield/primitive-textfield.directive.mjs +0 -33
  350. package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +0 -66
  351. package/esm2022/components/primitive-textfield/taiga-ui-legacy-components-primitive-textfield.mjs +0 -5
  352. package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +0 -39
  353. package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +0 -66
  354. package/esm2022/components/select/index.mjs +0 -7
  355. package/esm2022/components/select/native-select/native-select-group.component.mjs +0 -64
  356. package/esm2022/components/select/native-select/native-select.component.mjs +0 -60
  357. package/esm2022/components/select/select.component.mjs +0 -119
  358. package/esm2022/components/select/select.directive.mjs +0 -34
  359. package/esm2022/components/select/select.module.mjs +0 -87
  360. package/esm2022/components/select/select.options.mjs +0 -24
  361. package/esm2022/components/select/taiga-ui-legacy-components-select.mjs +0 -5
  362. package/esm2022/components/select-option/index.mjs +0 -3
  363. package/esm2022/components/select-option/select-option.component.mjs +0 -65
  364. package/esm2022/components/select-option/select-option.module.mjs +0 -21
  365. package/esm2022/components/select-option/taiga-ui-legacy-components-select-option.mjs +0 -5
  366. package/esm2022/components/sheet/components/sheet/sheet.component.mjs +0 -117
  367. package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +0 -42
  368. package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +0 -27
  369. package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +0 -31
  370. package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +0 -46
  371. package/esm2022/components/sheet/directives/sheet-close/sheet-close.directive.mjs +0 -39
  372. package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +0 -38
  373. package/esm2022/components/sheet/directives/sheet-top/sheet-top.directive.mjs +0 -52
  374. package/esm2022/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +0 -77
  375. package/esm2022/components/sheet/index.mjs +0 -14
  376. package/esm2022/components/sheet/sheet-options.mjs +0 -24
  377. package/esm2022/components/sheet/sheet-tokens.mjs +0 -17
  378. package/esm2022/components/sheet/sheet.directive.mjs +0 -40
  379. package/esm2022/components/sheet/sheet.mjs +0 -2
  380. package/esm2022/components/sheet/sheet.module.mjs +0 -75
  381. package/esm2022/components/sheet/sheet.service.mjs +0 -52
  382. package/esm2022/components/sheet/taiga-ui-legacy-components-sheet.mjs +0 -5
  383. package/esm2022/components/svg/content-processor.mjs +0 -41
  384. package/esm2022/components/svg/deprecated-icons.mjs +0 -63
  385. package/esm2022/components/svg/index.mjs +0 -6
  386. package/esm2022/components/svg/svg-options.mjs +0 -83
  387. package/esm2022/components/svg/svg.component.mjs +0 -150
  388. package/esm2022/components/svg/svg.service.mjs +0 -64
  389. package/esm2022/components/svg/taiga-ui-legacy-components-svg.mjs +0 -5
  390. package/esm2022/components/table-bar/index.mjs +0 -5
  391. package/esm2022/components/table-bar/table-bar.component.mjs +0 -37
  392. package/esm2022/components/table-bar/table-bar.directive.mjs +0 -25
  393. package/esm2022/components/table-bar/table-bar.options.mjs +0 -34
  394. package/esm2022/components/table-bar/table-bars-host.component.mjs +0 -39
  395. package/esm2022/components/table-bar/table-bars.service.mjs +0 -22
  396. package/esm2022/components/table-bar/taiga-ui-legacy-components-table-bar.mjs +0 -5
  397. package/esm2022/components/tag/index.mjs +0 -4
  398. package/esm2022/components/tag/tag.component.mjs +0 -158
  399. package/esm2022/components/tag/tag.module.mjs +0 -42
  400. package/esm2022/components/tag/tag.options.mjs +0 -26
  401. package/esm2022/components/tag/taiga-ui-legacy-components-tag.mjs +0 -5
  402. package/esm2022/components/taiga-ui-legacy-components.mjs +0 -5
  403. package/esm2022/components/textarea/index.mjs +0 -4
  404. package/esm2022/components/textarea/taiga-ui-legacy-components-textarea.mjs +0 -5
  405. package/esm2022/components/textarea/textarea.component.mjs +0 -175
  406. package/esm2022/components/textarea/textarea.directive.mjs +0 -25
  407. package/esm2022/components/textarea/textarea.module.mjs +0 -68
  408. package/esm2022/components/tooltip/index.mjs +0 -3
  409. package/esm2022/components/tooltip/taiga-ui-legacy-components-tooltip.mjs +0 -5
  410. package/esm2022/components/tooltip/tooltip.component.mjs +0 -27
  411. package/esm2022/components/tooltip/tooltip.module.mjs +0 -24
  412. package/esm2022/directives/index.mjs +0 -6
  413. package/esm2022/directives/legacy-dropdown-open-monitor/index.mjs +0 -2
  414. package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +0 -44
  415. package/esm2022/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -5
  416. package/esm2022/directives/taiga-ui-legacy-directives.mjs +0 -5
  417. package/esm2022/directives/textfield-controller/index.mjs +0 -15
  418. package/esm2022/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.mjs +0 -5
  419. package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +0 -34
  420. package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +0 -28
  421. package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +0 -72
  422. package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +0 -44
  423. package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +0 -28
  424. package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +0 -28
  425. package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +0 -24
  426. package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +0 -24
  427. package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +0 -32
  428. package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +0 -28
  429. package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +0 -28
  430. package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +0 -28
  431. package/esm2022/directives/textfield-controller/textfield.controller.mjs +0 -49
  432. package/esm2022/directives/textfield-controller/textfield.options.mjs +0 -21
  433. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  434. package/esm2022/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -5
  435. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -30
  436. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -15
  437. package/esm2022/directives/value-accessor/index.mjs +0 -4
  438. package/esm2022/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.mjs +0 -5
  439. package/esm2022/directives/value-accessor/value-accessor.directive.mjs +0 -17
  440. package/esm2022/directives/value-accessor/value-accessor.module.mjs +0 -17
  441. package/esm2022/directives/value-accessor/value-accessor.provider.mjs +0 -10
  442. package/esm2022/directives/wrapper/index.mjs +0 -3
  443. package/esm2022/directives/wrapper/taiga-ui-legacy-directives-wrapper.mjs +0 -5
  444. package/esm2022/directives/wrapper/wrapper.directive.mjs +0 -77
  445. package/esm2022/directives/wrapper/wrapper.module.mjs +0 -20
  446. package/esm2022/index.mjs +0 -8
  447. package/esm2022/pipes/format-phone/format-phone.pipe.mjs +0 -54
  448. package/esm2022/pipes/format-phone/index.mjs +0 -2
  449. package/esm2022/pipes/format-phone/taiga-ui-legacy-pipes-format-phone.mjs +0 -5
  450. package/esm2022/pipes/index.mjs +0 -4
  451. package/esm2022/pipes/iso-to-country-code/index.mjs +0 -2
  452. package/esm2022/pipes/iso-to-country-code/iso-to-country-code.pipe.mjs +0 -44
  453. package/esm2022/pipes/iso-to-country-code/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -5
  454. package/esm2022/pipes/taiga-ui-legacy-pipes.mjs +0 -5
  455. package/esm2022/pipes/to-country-code/index.mjs +0 -2
  456. package/esm2022/pipes/to-country-code/taiga-ui-legacy-pipes-to-country-code.mjs +0 -5
  457. package/esm2022/pipes/to-country-code/to-country-code.pipe.mjs +0 -74
  458. package/esm2022/services/index.mjs +0 -2
  459. package/esm2022/services/static-request.service.mjs +0 -36
  460. package/esm2022/services/taiga-ui-legacy-services.mjs +0 -5
  461. package/esm2022/taiga-ui-legacy.mjs +0 -5
  462. package/esm2022/tokens/countries-masks.mjs +0 -257
  463. package/esm2022/tokens/focusable-item-accessor.mjs +0 -14
  464. package/esm2022/tokens/fonts-ready.mjs +0 -10
  465. package/esm2022/tokens/icons.mjs +0 -9
  466. package/esm2022/tokens/index.mjs +0 -15
  467. package/esm2022/tokens/is-apple.mjs +0 -11
  468. package/esm2022/tokens/is-chromium.mjs +0 -10
  469. package/esm2022/tokens/is-firefox.mjs +0 -11
  470. package/esm2022/tokens/is-stackblitz.mjs +0 -9
  471. package/esm2022/tokens/month-formatter.mjs +0 -18
  472. package/esm2022/tokens/sanitizer.mjs +0 -7
  473. package/esm2022/tokens/taiga-ui-legacy-tokens.mjs +0 -5
  474. package/esm2022/tokens/textfield-appearance.mjs +0 -10
  475. package/esm2022/tokens/textfield-host.mjs +0 -14
  476. package/esm2022/tokens/touch-supported.mjs +0 -9
  477. package/esm2022/tokens/value-accessor.mjs +0 -7
  478. package/esm2022/utils/capitalize-first-letter.mjs +0 -7
  479. package/esm2022/utils/date-mode-maskito-adapter.mjs +0 -9
  480. package/esm2022/utils/format-phone.mjs +0 -60
  481. package/esm2022/utils/get-border.mjs +0 -23
  482. package/esm2022/utils/get-max-allowed-phone-length.mjs +0 -26
  483. package/esm2022/utils/get-safe-area-size.mjs +0 -18
  484. package/esm2022/utils/icons-path-factory.mjs +0 -22
  485. package/esm2022/utils/index.mjs +0 -14
  486. package/esm2022/utils/is-apple.mjs +0 -6
  487. package/esm2022/utils/is-presumed-html-string.mjs +0 -8
  488. package/esm2022/utils/iso-to-country-code.mjs +0 -16
  489. package/esm2022/utils/not-kz-region.mjs +0 -24
  490. package/esm2022/utils/process-icon.mjs +0 -34
  491. package/esm2022/utils/specific-dropdown-controllers.mjs +0 -9
  492. package/esm2022/utils/status.mjs +0 -2
  493. package/esm2022/utils/taiga-ui-legacy-utils.mjs +0 -5
  494. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
  495. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  496. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -301
  497. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  498. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  499. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  500. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
  501. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
  502. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
  503. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
  504. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  505. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  506. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
  507. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
  508. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  509. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  510. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  511. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  512. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
  513. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  514. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -434
  515. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  516. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  517. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  518. package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
  519. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
  520. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -574
  521. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
  522. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -389
  523. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  524. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -145
  525. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
  526. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -60
  527. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  528. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  529. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  530. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  531. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  532. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  533. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  534. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  535. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  536. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  537. package/pipes/format-phone/index.d.ts +0 -1
  538. package/pipes/index.d.ts +0 -3
  539. package/pipes/iso-to-country-code/index.d.ts +0 -1
  540. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  541. package/pipes/to-country-code/index.d.ts +0 -1
  542. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  543. package/services/index.d.ts +0 -1
  544. package/services/static-request.service.d.ts +0 -11
@@ -1,12 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, TemplateRef, Component, ChangeDetectionStrategy, ViewChild, ContentChild, Directive, NgModule } from '@angular/core';
3
- import { tuiIsNativeFocused } from '@taiga-ui/cdk/utils/focus';
4
- import { tuiAsDataListHost, TuiDataListDirective } from '@taiga-ui/core/components/data-list';
2
+ import { inject, TemplateRef, ContentChild, ViewChild, ChangeDetectionStrategy, Component, Directive, NgModule } from '@angular/core';
3
+ import { tuiIsFocused } from '@taiga-ui/cdk/utils/focus';
4
+ import { TuiDataListDirective, tuiAsDataListHost } from '@taiga-ui/core/components/data-list';
5
5
  import * as i1 from '@taiga-ui/core/directives/dropdown';
6
6
  import { TuiDropdownOpen, TuiDropdownFixed, TuiDropdown } from '@taiga-ui/core/directives/dropdown';
7
7
  import { AbstractTuiControl, tuiAsControl, AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
8
8
  import * as i2 from '@taiga-ui/legacy/components/primitive-textfield';
9
- import { TuiPrimitiveTextfieldComponent, TuiPrimitiveTextfieldModule, TuiTextfieldComponent } from '@taiga-ui/legacy/components/primitive-textfield';
9
+ import { TuiPrimitiveTextfieldComponent, TuiTextfieldComponent, TuiPrimitiveTextfieldModule } from '@taiga-ui/legacy/components/primitive-textfield';
10
10
  import * as i3 from '@taiga-ui/legacy/directives';
11
11
  import { TUI_TEXTFIELD_SIZE, TUI_VALUE_ACCESSOR_PROVIDER, TuiLegacyDropdownOpenMonitorDirective } from '@taiga-ui/legacy/directives';
12
12
  import { tuiAsFocusableItemAccessor, tuiAsTextfieldHost } from '@taiga-ui/legacy/tokens';
@@ -31,8 +31,7 @@ class TuiInputComponent extends AbstractTuiControl {
31
31
  : this.textfield.nativeFocusableElement;
32
32
  }
33
33
  get focused() {
34
- return (tuiIsNativeFocused(this.nativeFocusableElement) ||
35
- !!this.dropdown?.tuiDropdownOpen);
34
+ return (tuiIsFocused(this.nativeFocusableElement) || !!this.dropdown?.tuiDropdownOpen);
36
35
  }
37
36
  handleOption(item) {
38
37
  this.setNativeValue(String(item));
@@ -67,15 +66,15 @@ class TuiInputComponent extends AbstractTuiControl {
67
66
  this.nativeFocusableElement.value = value;
68
67
  }
69
68
  }
70
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
71
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputComponent, selector: "tui-input", host: { properties: { "attr.data-size": "size" } }, providers: [
69
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
70
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputComponent, isStandalone: false, selector: "tui-input", host: { properties: { "attr.data-size": "size" } }, providers: [
72
71
  TUI_VALUE_ACCESSOR_PROVIDER,
73
72
  tuiAsFocusableItemAccessor(TuiInputComponent),
74
73
  tuiAsDataListHost(TuiInputComponent),
75
74
  tuiAsControl(TuiInputComponent),
76
75
  ], queries: [{ propertyName: "datalist", first: true, predicate: TuiDataListDirective, descendants: true, read: TemplateRef }], viewQueries: [{ propertyName: "dropdown", first: true, predicate: TuiDropdownOpen, descendants: true }, { propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.TuiDropdownFixed }], ngImport: i0, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"canOpen\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [value]=\"value\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host._disabled,:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}\n"], dependencies: [{ kind: "component", type: i2.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i2.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i1.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }, { kind: "directive", type: i3.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
77
76
  }
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputComponent, decorators: [{
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputComponent, decorators: [{
79
78
  type: Component,
80
79
  args: [{ standalone: false, selector: 'tui-input', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
81
80
  TUI_VALUE_ACCESSOR_PROVIDER,
@@ -104,10 +103,10 @@ class TuiInputDirective extends AbstractTuiTextfieldHost {
104
103
  onValueChange(value) {
105
104
  this.host.onValueChange(value);
106
105
  }
107
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
108
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputDirective, selector: "tui-input", providers: [tuiAsTextfieldHost(TuiInputDirective)], usesInheritance: true, ngImport: i0 }); }
106
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
107
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputDirective, isStandalone: false, selector: "tui-input", providers: [tuiAsTextfieldHost(TuiInputDirective)], usesInheritance: true, ngImport: i0 }); }
109
108
  }
110
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDirective, decorators: [{
109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDirective, decorators: [{
111
110
  type: Directive,
112
111
  args: [{
113
112
  standalone: false,
@@ -121,15 +120,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
121
120
  * @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead
122
121
  */
123
122
  class TuiInputModule {
124
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
125
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiInputModule, declarations: [TuiInputComponent, TuiInputDirective], imports: [CommonModule,
126
- TuiPrimitiveTextfieldModule, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownPortal, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection, TuiLegacyDropdownOpenMonitorDirective], exports: [TuiInputComponent,
123
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
124
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiInputModule, declarations: [TuiInputComponent, TuiInputDirective], imports: [CommonModule,
125
+ TuiPrimitiveTextfieldModule, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContent, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection, TuiLegacyDropdownOpenMonitorDirective], exports: [TuiInputComponent,
127
126
  TuiInputDirective,
128
- TuiTextfieldComponent, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownPortal, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection] }); }
129
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputModule, imports: [CommonModule,
127
+ TuiTextfieldComponent, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContent, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection] }); }
128
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputModule, imports: [CommonModule,
130
129
  TuiPrimitiveTextfieldModule, i1.TuiDropdownComponent] }); }
131
130
  }
132
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputModule, decorators: [{
131
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputModule, decorators: [{
133
132
  type: NgModule,
134
133
  args: [{
135
134
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-input.mjs","sources":["../../../projects/legacy/components/input/input.component.ts","../../../projects/legacy/components/input/input.template.html","../../../projects/legacy/components/input/input.directive.ts","../../../projects/legacy/components/input/input.module.ts","../../../projects/legacy/components/input/taiga-ui-legacy-components-input.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n inject,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {type TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiIsNativeFocused} from '@taiga-ui/cdk/utils/focus';\nimport {\n tuiAsDataListHost,\n TuiDataListDirective,\n type TuiDataListHost,\n} from '@taiga-ui/core/components/data-list';\nimport {TuiDropdownFixed, TuiDropdownOpen} from '@taiga-ui/core/directives/dropdown';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {AbstractTuiControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {\n TUI_TEXTFIELD_SIZE,\n TUI_VALUE_ACCESSOR_PROVIDER,\n} from '@taiga-ui/legacy/directives';\nimport {\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n} from '@taiga-ui/legacy/tokens';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead\n */\n@Component({\n standalone: false,\n selector: 'tui-input',\n templateUrl: './input.template.html',\n styleUrls: ['./input.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n TUI_VALUE_ACCESSOR_PROVIDER,\n tuiAsFocusableItemAccessor(TuiInputComponent),\n tuiAsDataListHost(TuiInputComponent),\n tuiAsControl(TuiInputComponent),\n ],\n hostDirectives: [TuiDropdownFixed],\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiInputComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor, TuiDataListHost<string>\n{\n @ViewChild(TuiDropdownOpen)\n private readonly dropdown?: TuiDropdownOpen;\n\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;\n\n public open = false;\n\n public get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n public get nativeFocusableElement(): HTMLInputElement | null {\n return this.computedDisabled || !this.textfield\n ? null\n : this.textfield.nativeFocusableElement;\n }\n\n public get focused(): boolean {\n return (\n tuiIsNativeFocused(this.nativeFocusableElement) ||\n !!this.dropdown?.tuiDropdownOpen\n );\n }\n\n public handleOption(item: unknown): void {\n this.setNativeValue(String(item));\n this.focusInput();\n this.value = String(item);\n this.open = false;\n }\n\n public onValueChange(value: string): void {\n this.value = value;\n this.open = this.canOpen;\n setTimeout(() => {\n this.open = this.canOpen;\n this.cdr.detectChanges();\n });\n }\n\n protected get canOpen(): boolean {\n return this.interactive && !!this.datalist;\n }\n\n protected onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n protected getFallbackValue(): string {\n return '';\n }\n\n private focusInput(preventScroll = false): void {\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.focus({preventScroll});\n }\n }\n\n private setNativeValue(value: string): void {\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.value = value;\n }\n }\n}\n","<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"canOpen\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [value]=\"value\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n</div>\n","import {Directive} from '@angular/core';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {type TuiInputComponent} from './input.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-input',\n providers: [tuiAsTextfieldHost(TuiInputDirective)],\n})\nexport class TuiInputDirective extends AbstractTuiTextfieldHost<TuiInputComponent> {\n public onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiDropdown} from '@taiga-ui/core/directives/dropdown';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TuiLegacyDropdownOpenMonitorDirective} from '@taiga-ui/legacy/directives';\n\nimport {TuiInputComponent} from './input.component';\nimport {TuiInputDirective} from './input.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n TuiPrimitiveTextfieldModule,\n ...TuiDropdown,\n TuiLegacyDropdownOpenMonitorDirective,\n ],\n declarations: [TuiInputComponent, TuiInputDirective],\n exports: [\n TuiInputComponent,\n TuiInputDirective,\n TuiTextfieldComponent,\n ...TuiDropdown,\n ],\n})\nexport class TuiInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AA8BA;;;AAGG;AACH,MAiBa,iBACT,SAAQ,kBAA0B,CAAA;AAlBtC,IAAA,WAAA,GAAA;;AA2BqB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC;QAKrD,IAAI,CAAA,IAAA,GAAG,KAAK,CAAC;AA0DvB,KAAA;AAxDG,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC;KAClC;AAED,IAAA,IAAW,sBAAsB,GAAA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A,EAAA;;4FAYtB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAf1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,2BAA2B;AAC3B,wBAAA,GAAG,WAAW;wBACd,qCAAqC;AACxC,qBAAA;AACD,oBAAA,YAAY,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;AACpD,oBAAA,OAAO,EAAE;wBACL,iBAAiB;wBACjB,iBAAiB;wBACjB,qBAAqB;AACrB,wBAAA,GAAG,WAAW;AACjB,qBAAA;AACJ,iBAAA,CAAA;;;AC9BD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-legacy-components-input.mjs","sources":["../../../projects/legacy/components/input/input.component.ts","../../../projects/legacy/components/input/input.template.html","../../../projects/legacy/components/input/input.directive.ts","../../../projects/legacy/components/input/input.module.ts","../../../projects/legacy/components/input/taiga-ui-legacy-components-input.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n inject,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {type TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiIsFocused} from '@taiga-ui/cdk/utils/focus';\nimport {\n tuiAsDataListHost,\n TuiDataListDirective,\n type TuiDataListHost,\n} from '@taiga-ui/core/components/data-list';\nimport {TuiDropdownFixed, TuiDropdownOpen} from '@taiga-ui/core/directives/dropdown';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {AbstractTuiControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {\n TUI_TEXTFIELD_SIZE,\n TUI_VALUE_ACCESSOR_PROVIDER,\n} from '@taiga-ui/legacy/directives';\nimport {\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n} from '@taiga-ui/legacy/tokens';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead\n */\n@Component({\n standalone: false,\n selector: 'tui-input',\n templateUrl: './input.template.html',\n styleUrl: './input.style.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n TUI_VALUE_ACCESSOR_PROVIDER,\n tuiAsFocusableItemAccessor(TuiInputComponent),\n tuiAsDataListHost(TuiInputComponent),\n tuiAsControl(TuiInputComponent),\n ],\n hostDirectives: [TuiDropdownFixed],\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiInputComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor, TuiDataListHost<string>\n{\n @ViewChild(TuiDropdownOpen)\n private readonly dropdown?: TuiDropdownOpen;\n\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;\n\n public open = false;\n\n public get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n public get nativeFocusableElement(): HTMLInputElement | null {\n return this.computedDisabled || !this.textfield\n ? null\n : this.textfield.nativeFocusableElement;\n }\n\n public get focused(): boolean {\n return (\n tuiIsFocused(this.nativeFocusableElement) || !!this.dropdown?.tuiDropdownOpen\n );\n }\n\n public handleOption(item: unknown): void {\n this.setNativeValue(String(item));\n this.focusInput();\n this.value = String(item);\n this.open = false;\n }\n\n public onValueChange(value: string): void {\n this.value = value;\n this.open = this.canOpen;\n setTimeout(() => {\n this.open = this.canOpen;\n this.cdr.detectChanges();\n });\n }\n\n protected get canOpen(): boolean {\n return this.interactive && !!this.datalist;\n }\n\n protected onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n protected getFallbackValue(): string {\n return '';\n }\n\n private focusInput(preventScroll = false): void {\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.focus({preventScroll});\n }\n }\n\n private setNativeValue(value: string): void {\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.value = value;\n }\n }\n}\n","<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"canOpen\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [value]=\"value\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n</div>\n","import {Directive} from '@angular/core';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {type TuiInputComponent} from './input.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-input',\n providers: [tuiAsTextfieldHost(TuiInputDirective)],\n})\nexport class TuiInputDirective extends AbstractTuiTextfieldHost<TuiInputComponent> {\n public onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiDropdown} from '@taiga-ui/core/directives/dropdown';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TuiLegacyDropdownOpenMonitorDirective} from '@taiga-ui/legacy/directives';\n\nimport {TuiInputComponent} from './input.component';\nimport {TuiInputDirective} from './input.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n TuiPrimitiveTextfieldModule,\n ...TuiDropdown,\n TuiLegacyDropdownOpenMonitorDirective,\n ],\n declarations: [TuiInputComponent, TuiInputDirective],\n exports: [\n TuiInputComponent,\n TuiInputDirective,\n TuiTextfieldComponent,\n ...TuiDropdown,\n ],\n})\nexport class TuiInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AA8BA;;;AAGG;AAkBG,MAAO,iBACT,SAAQ,kBAA0B,CAAA;AAlBtC,IAAA,WAAA,GAAA;;AA2BqB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,kBAAkB,CAAC;QAKpD,IAAI,CAAA,IAAA,GAAG,KAAK;AAyDtB;AAvDG,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI;;AAGlC,IAAA,IAAW,sBAAsB,GAAA;AAC7B,QAAA,OAAO,IAAI,CAAC,gBAAgB,IAAI,CAAC,IAAI,CAAC;AAClC,cAAE;AACF,cAAE,IAAI,CAAC,SAAS,CAAC,sBAAsB;;AAG/C,IAAA,IAAW,OAAO,GAAA;AACd,QAAA,QACI,YAAY,CAAC,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,eAAe;;AAI9E,IAAA,YAAY,CAAC,IAAa,EAAA;QAC7B,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,UAAU,EAAE;AACjB,QAAA,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,IAA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,2BAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,EAAA,CAAA,eAAA,EAAA,EAAA,CAAA,qBAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,EAAA,CAAA,mBAAA,EAAA,EAAA,CAAA,wBAAA,EAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,CAAA;AAIhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAbnB,YAAY;YACZ,2BAA2B,EAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,CAAA;;4FAYtB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAf1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,2BAA2B;AAC3B,wBAAA,GAAG,WAAW;wBACd,qCAAqC;AACxC,qBAAA;AACD,oBAAA,YAAY,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;AACpD,oBAAA,OAAO,EAAE;wBACL,iBAAiB;wBACjB,iBAAiB;wBACjB,qBAAqB;AACrB,wBAAA,GAAG,WAAW;AACjB,qBAAA;AACJ,iBAAA;;;AC9BD;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
2
+ import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
3
  import { tuiIsPresent } from '@taiga-ui/cdk/utils/miscellaneous';
4
4
  import { TuiSelectOptionComponent } from '@taiga-ui/legacy/components/select-option';
5
5
  import * as i1 from '@angular/common';
@@ -17,20 +17,20 @@ class TuiMultiSelectOptionComponent extends TuiSelectOptionComponent {
17
17
  tuiIsPresent(this.value) &&
18
18
  this.value.some((item) => this.matcher(item, value)));
19
19
  }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectOptionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
21
- 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 [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;flex-direction:inherit;gap:.75rem;align-items:center;animation:retrigger 1s;overflow:hidden}\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 }); }
20
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiMultiSelectOptionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
21
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiMultiSelectOptionComponent, isStandalone: false, selector: "tui-multi-select-option", usesInheritance: true, ngImport: i0, template: "<input\n tuiCheckbox\n type=\"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;flex-direction:inherit;gap:.75rem;align-items:center;animation:retrigger 1s;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.TuiCheckbox, selector: "input[type=\"checkbox\"][tuiCheckbox]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
22
22
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectOptionComponent, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiMultiSelectOptionComponent, decorators: [{
24
24
  type: Component,
25
25
  args: [{ standalone: false, selector: 'tui-multi-select-option', changeDetection: ChangeDetectionStrategy.OnPush, template: "<input\n tuiCheckbox\n type=\"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;flex-direction:inherit;gap:.75rem;align-items:center;animation:retrigger 1s;overflow:hidden}\n"] }]
26
26
  }] });
27
27
 
28
28
  class TuiMultiSelectOptionModule {
29
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
30
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectOptionModule, declarations: [TuiMultiSelectOptionComponent], imports: [CommonModule, TuiCheckbox], exports: [TuiMultiSelectOptionComponent] }); }
31
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectOptionModule, imports: [CommonModule, TuiCheckbox] }); }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiMultiSelectOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
30
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiMultiSelectOptionModule, declarations: [TuiMultiSelectOptionComponent], imports: [CommonModule, TuiCheckbox], exports: [TuiMultiSelectOptionComponent] }); }
31
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiMultiSelectOptionModule, imports: [CommonModule, TuiCheckbox] }); }
32
32
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectOptionModule, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiMultiSelectOptionModule, decorators: [{
34
34
  type: NgModule,
35
35
  args: [{
36
36
  imports: [CommonModule, TuiCheckbox],
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-multi-select-option.mjs","sources":["../../../projects/legacy/components/multi-select-option/multi-select-option.component.ts","../../../projects/legacy/components/multi-select-option/multi-select-option.template.html","../../../projects/legacy/components/multi-select-option/multi-select-option.module.ts","../../../projects/legacy/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {tuiIsPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\nimport {TuiSelectOptionComponent} from '@taiga-ui/legacy/components/select-option';\n\n@Component({\n standalone: false,\n selector: 'tui-multi-select-option',\n templateUrl: './multi-select-option.template.html',\n styleUrls: ['./multi-select-option.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiMultiSelectOptionComponent<\n T extends any[],\n> extends TuiSelectOptionComponent<T> {\n protected get size(): TuiSizeS {\n return this.dataList?.size === 'l' ? 'm' : 's';\n }\n\n protected override get selected(): boolean {\n const {value} = this.option;\n\n return (\n tuiIsPresent(value) &&\n tuiIsPresent(this.value) &&\n this.value.some((item) => this.matcher(item, value))\n );\n }\n}\n","<input\n tuiCheckbox\n type=\"checkbox\"\n [checked]=\"selected$ | async\"\n [size]=\"size\"\n/>\n<ng-container [ngTemplateOutlet]=\"context.$implicit\" />\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiCheckbox} from '@taiga-ui/kit/components/checkbox';\n\nimport {TuiMultiSelectOptionComponent} from './multi-select-option.component';\n\n@NgModule({\n imports: [CommonModule, TuiCheckbox],\n declarations: [TuiMultiSelectOptionComponent],\n exports: [TuiMultiSelectOptionComponent],\n})\nexport class TuiMultiSelectOptionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAKA,MAOa,6BAEX,SAAQ,wBAA2B,CAAA;AACjC,IAAA,IAAc,IAAI,GAAA;AACd,QAAA,OAAO,IAAI,CAAC,QAAQ,EAAE,IAAI,KAAK,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;KAClD;AAED,IAAA,IAAuB,QAAQ,GAAA;AAC3B,QAAA,MAAM,EAAC,KAAK,EAAC,GAAG,IAAI,CAAC,MAAM,CAAC;AAE5B,QAAA,QACI,YAAY,CAAC,KAAK,CAAC;AACnB,YAAA,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;YACxB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,EACtD;KACL;+GAfQ,6BAA6B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,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AAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,iBAHpB,6BAA6B,CAAA,EAAA,OAAA,EAAA,CADlC,YAAY,EAAE,WAAW,aAEzB,6BAA6B,CAAA,EAAA,CAAA,CAAA,EAAA;gHAE9B,0BAA0B,EAAA,OAAA,EAAA,CAJzB,YAAY,EAAE,WAAW,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAI1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBALtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC;oBACpC,YAAY,EAAE,CAAC,6BAA6B,CAAC;oBAC7C,OAAO,EAAE,CAAC,6BAA6B,CAAC;AAC3C,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-legacy-components-multi-select-option.mjs","sources":["../../../projects/legacy/components/multi-select-option/multi-select-option.component.ts","../../../projects/legacy/components/multi-select-option/multi-select-option.template.html","../../../projects/legacy/components/multi-select-option/multi-select-option.module.ts","../../../projects/legacy/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {tuiIsPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\nimport {TuiSelectOptionComponent} from '@taiga-ui/legacy/components/select-option';\n\n@Component({\n standalone: false,\n selector: 'tui-multi-select-option',\n templateUrl: './multi-select-option.template.html',\n styleUrl: './multi-select-option.style.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiMultiSelectOptionComponent<\n T extends any[],\n> extends TuiSelectOptionComponent<T> {\n protected get size(): TuiSizeS {\n return this.dataList?.size === 'l' ? 'm' : 's';\n }\n\n protected override get selected(): boolean {\n const {value} = this.option;\n\n return (\n tuiIsPresent(value) &&\n tuiIsPresent(this.value) &&\n this.value.some((item) => this.matcher(item, value))\n );\n }\n}\n","<input\n tuiCheckbox\n type=\"checkbox\"\n [checked]=\"selected$ | async\"\n [size]=\"size\"\n/>\n<ng-container [ngTemplateOutlet]=\"context.$implicit\" />\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiCheckbox} from '@taiga-ui/kit/components/checkbox';\n\nimport {TuiMultiSelectOptionComponent} from './multi-select-option.component';\n\n@NgModule({\n imports: [CommonModule, TuiCheckbox],\n declarations: [TuiMultiSelectOptionComponent],\n exports: [TuiMultiSelectOptionComponent],\n})\nexport class TuiMultiSelectOptionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAYM,MAAO,6BAEX,SAAQ,wBAA2B,CAAA;AACjC,IAAA,IAAc,IAAI,GAAA;AACd,QAAA,OAAO,IAAI,CAAC,QAAQ,EAAE,IAAI,KAAK,GAAG,GAAG,GAAG,GAAG,GAAG;;AAGlD,IAAA,IAAuB,QAAQ,GAAA;AAC3B,QAAA,MAAM,EAAC,KAAK,EAAC,GAAG,IAAI,CAAC,MAAM;AAE3B,QAAA,QACI,YAAY,CAAC,KAAK,CAAC;AACnB,YAAA,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;YACxB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;;+GAbnD,6BAA6B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA7B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,6BAA6B,2GCZ1C,2KAOA,EAAA,MAAA,EAAA,CAAA,wKAAA,CAAA,EAAA,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