@taiga-ui/legacy 4.65.0 → 5.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (693) hide show
  1. package/README.md +1 -1
  2. package/components/dialog/dialog.component.d.ts +20 -0
  3. package/components/dialog/dialog.directive.d.ts +8 -0
  4. package/components/dialog/dialog.factory.d.ts +16 -0
  5. package/components/dialog/dialog.interfaces.d.ts +30 -0
  6. package/components/dialog/dialog.service.d.ts +10 -0
  7. package/components/dialog/dialog.tokens.d.ts +6 -0
  8. package/components/dialog/index.d.ts +6 -0
  9. package/components/index.d.ts +3 -33
  10. package/components/mobile-dialog/index.d.ts +3 -0
  11. package/components/mobile-dialog/mobile-dialog.component.d.ts +10 -0
  12. package/components/mobile-dialog/mobile-dialog.options.d.ts +10 -0
  13. package/components/mobile-dialog/mobile-dialog.service.d.ts +14 -0
  14. package/components/pdf-viewer/index.d.ts +4 -0
  15. package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
  16. package/components/pdf-viewer/pdf-viewer.directive.d.ts +8 -0
  17. package/components/pdf-viewer/pdf-viewer.options.d.ts +11 -0
  18. package/components/pdf-viewer/pdf-viewer.service.d.ts +17 -0
  19. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +136 -0
  20. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  21. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +62 -0
  22. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -0
  23. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +88 -0
  24. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
  25. package/fesm2022/taiga-ui-legacy-components.mjs +3 -33
  26. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-legacy.mjs +85 -6
  28. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  29. package/index.d.ts +1 -6
  30. package/package.json +22 -291
  31. package/pure.d.ts +23 -0
  32. package/classes/abstract-native-select.d.ts +0 -22
  33. package/classes/abstract-textfield-host.d.ts +0 -19
  34. package/classes/control.d.ts +0 -60
  35. package/classes/controller.d.ts +0 -9
  36. package/classes/index.d.ts +0 -9
  37. package/classes/interactive.d.ts +0 -34
  38. package/classes/multiple-control.d.ts +0 -11
  39. package/classes/named-day.d.ts +0 -11
  40. package/classes/nullable-control.d.ts +0 -10
  41. package/classes/stringifiable-item.d.ts +0 -11
  42. package/components/arrow/arrow.component.d.ts +0 -17
  43. package/components/arrow/arrow.options.d.ts +0 -19
  44. package/components/arrow/arrow.providers.d.ts +0 -23
  45. package/components/arrow/index.d.ts +0 -3
  46. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  47. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  48. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  49. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  50. package/components/color-selector/color-selector.component.d.ts +0 -47
  51. package/components/color-selector/color-selector.module.d.ts +0 -24
  52. package/components/color-selector/color-selector.options.d.ts +0 -25
  53. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  54. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  55. package/components/color-selector/index.d.ts +0 -16
  56. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  57. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  58. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  59. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  60. package/components/color-selector/palette/palette.component.d.ts +0 -10
  61. package/components/color-selector/palette/palette.module.d.ts +0 -13
  62. package/components/color-selector/services/picker.service.d.ts +0 -15
  63. package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
  64. package/components/combo-box/combo-box.component.d.ts +0 -52
  65. package/components/combo-box/combo-box.directive.d.ts +0 -13
  66. package/components/combo-box/combo-box.module.d.ts +0 -20
  67. package/components/combo-box/index.d.ts +0 -4
  68. package/components/input/index.d.ts +0 -3
  69. package/components/input/input.component.d.ts +0 -32
  70. package/components/input/input.directive.d.ts +0 -12
  71. package/components/input/input.module.d.ts +0 -16
  72. package/components/input-color/index.d.ts +0 -2
  73. package/components/input-color/input-color.component.d.ts +0 -30
  74. package/components/input-color/input-color.module.d.ts +0 -17
  75. package/components/input-copy/index.d.ts +0 -4
  76. package/components/input-copy/input-copy.component.d.ts +0 -33
  77. package/components/input-copy/input-copy.directive.d.ts +0 -11
  78. package/components/input-copy/input-copy.module.d.ts +0 -18
  79. package/components/input-copy/input-copy.options.d.ts +0 -26
  80. package/components/input-date/index.d.ts +0 -3
  81. package/components/input-date/input-date.component.d.ts +0 -62
  82. package/components/input-date/input-date.directive.d.ts +0 -19
  83. package/components/input-date/input-date.module.d.ts +0 -24
  84. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  85. package/components/input-date-multi/index.d.ts +0 -2
  86. package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
  87. package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
  88. package/components/input-date-range/index.d.ts +0 -3
  89. package/components/input-date-range/input-date-range.component.d.ts +0 -67
  90. package/components/input-date-range/input-date-range.directive.d.ts +0 -16
  91. package/components/input-date-range/input-date-range.module.d.ts +0 -22
  92. package/components/input-date-time/index.d.ts +0 -3
  93. package/components/input-date-time/input-date-time.component.d.ts +0 -87
  94. package/components/input-date-time/input-date-time.directive.d.ts +0 -17
  95. package/components/input-date-time/input-date-time.module.d.ts +0 -23
  96. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
  97. package/components/input-month/index.d.ts +0 -3
  98. package/components/input-month/input-month.component.d.ts +0 -44
  99. package/components/input-month/input-month.directive.d.ts +0 -19
  100. package/components/input-month/input-month.module.d.ts +0 -19
  101. package/components/input-month-range/index.d.ts +0 -3
  102. package/components/input-month-range/input-month-range.component.d.ts +0 -38
  103. package/components/input-month-range/input-month-range.directive.d.ts +0 -23
  104. package/components/input-month-range/input-month-range.module.d.ts +0 -18
  105. package/components/input-number/index.d.ts +0 -4
  106. package/components/input-number/input-number.component.d.ts +0 -63
  107. package/components/input-number/input-number.directive.d.ts +0 -16
  108. package/components/input-number/input-number.module.d.ts +0 -18
  109. package/components/input-number/input-number.options.d.ts +0 -29
  110. package/components/input-password/index.d.ts +0 -4
  111. package/components/input-password/input-password.component.d.ts +0 -33
  112. package/components/input-password/input-password.directive.d.ts +0 -15
  113. package/components/input-password/input-password.module.d.ts +0 -19
  114. package/components/input-password/input-password.options.d.ts +0 -25
  115. package/components/input-phone/index.d.ts +0 -4
  116. package/components/input-phone/input-phone.component.d.ts +0 -52
  117. package/components/input-phone/input-phone.directive.d.ts +0 -16
  118. package/components/input-phone/input-phone.module.d.ts +0 -15
  119. package/components/input-phone/input-phone.options.d.ts +0 -22
  120. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  121. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  122. package/components/input-phone/utils/index.d.ts +0 -2
  123. package/components/input-phone-international/index.d.ts +0 -3
  124. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  125. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  126. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  127. package/components/input-range/index.d.ts +0 -2
  128. package/components/input-range/input-range.component.d.ts +0 -56
  129. package/components/input-range/input-range.module.d.ts +0 -19
  130. package/components/input-slider/index.d.ts +0 -2
  131. package/components/input-slider/input-slider.component.d.ts +0 -42
  132. package/components/input-slider/input-slider.module.d.ts +0 -18
  133. package/components/input-tag/index.d.ts +0 -3
  134. package/components/input-tag/input-tag.component.d.ts +0 -103
  135. package/components/input-tag/input-tag.module.d.ts +0 -22
  136. package/components/input-tag/input-tag.options.d.ts +0 -27
  137. package/components/input-time/index.d.ts +0 -4
  138. package/components/input-time/input-time.component.d.ts +0 -62
  139. package/components/input-time/input-time.directive.d.ts +0 -17
  140. package/components/input-time/input-time.module.d.ts +0 -23
  141. package/components/input-time/input-time.options.d.ts +0 -42
  142. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  143. package/components/input-year/index.d.ts +0 -3
  144. package/components/input-year/input-year.component.d.ts +0 -36
  145. package/components/input-year/input-year.directive.d.ts +0 -14
  146. package/components/input-year/input-year.module.d.ts +0 -18
  147. package/components/island/index.d.ts +0 -1
  148. package/components/island/island.directive.d.ts +0 -20
  149. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  150. package/components/multi-select/index.d.ts +0 -10
  151. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  152. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  153. package/components/multi-select/multi-select.component.d.ts +0 -71
  154. package/components/multi-select/multi-select.directive.d.ts +0 -14
  155. package/components/multi-select/multi-select.module.d.ts +0 -31
  156. package/components/multi-select/multi-select.options.d.ts +0 -14
  157. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  158. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  159. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  160. package/components/multi-select-option/index.d.ts +0 -2
  161. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  162. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  163. package/components/primitive-textfield/index.d.ts +0 -7
  164. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
  165. package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
  166. package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
  167. package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
  168. package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
  169. package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
  170. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
  171. package/components/select/index.d.ts +0 -6
  172. package/components/select/native-select/native-select-group.component.d.ts +0 -17
  173. package/components/select/native-select/native-select.component.d.ts +0 -16
  174. package/components/select/select.component.d.ts +0 -45
  175. package/components/select/select.directive.d.ts +0 -16
  176. package/components/select/select.module.d.ts +0 -24
  177. package/components/select/select.options.d.ts +0 -25
  178. package/components/select-option/index.d.ts +0 -2
  179. package/components/select-option/select-option.component.d.ts +0 -27
  180. package/components/select-option/select-option.module.d.ts +0 -10
  181. package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
  182. package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
  183. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -10
  184. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
  185. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
  186. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
  187. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
  188. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
  189. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
  190. package/components/sheet/index.d.ts +0 -14
  191. package/components/sheet/sheet-options.d.ts +0 -27
  192. package/components/sheet/sheet-tokens.d.ts +0 -18
  193. package/components/sheet/sheet.d.ts +0 -21
  194. package/components/sheet/sheet.directive.d.ts +0 -17
  195. package/components/sheet/sheet.module.d.ts +0 -24
  196. package/components/sheet/sheet.service.d.ts +0 -17
  197. package/components/svg/content-processor.d.ts +0 -19
  198. package/components/svg/deprecated-icons.d.ts +0 -5
  199. package/components/svg/index.d.ts +0 -5
  200. package/components/svg/svg-options.d.ts +0 -50
  201. package/components/svg/svg.component.d.ts +0 -50
  202. package/components/svg/svg.service.d.ts +0 -21
  203. package/components/table-bar/index.d.ts +0 -4
  204. package/components/table-bar/table-bar.component.d.ts +0 -17
  205. package/components/table-bar/table-bar.directive.d.ts +0 -11
  206. package/components/table-bar/table-bar.options.d.ts +0 -31
  207. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  208. package/components/table-bar/table-bars.service.d.ts +0 -11
  209. package/components/tag/index.d.ts +0 -3
  210. package/components/tag/tag.component.d.ts +0 -44
  211. package/components/tag/tag.module.d.ts +0 -16
  212. package/components/tag/tag.options.d.ts +0 -27
  213. package/components/textarea/index.d.ts +0 -3
  214. package/components/textarea/textarea.component.d.ts +0 -54
  215. package/components/textarea/textarea.directive.d.ts +0 -12
  216. package/components/textarea/textarea.module.d.ts +0 -21
  217. package/components/tooltip/index.d.ts +0 -2
  218. package/components/tooltip/tooltip.component.d.ts +0 -12
  219. package/components/tooltip/tooltip.module.d.ts +0 -13
  220. package/directives/index.d.ts +0 -5
  221. package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
  222. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
  223. package/directives/textfield-controller/index.d.ts +0 -14
  224. package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
  225. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
  226. package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
  227. package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
  228. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
  229. package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
  230. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
  231. package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
  232. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
  233. package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
  234. package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
  235. package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
  236. package/directives/textfield-controller/textfield.controller.d.ts +0 -41
  237. package/directives/textfield-controller/textfield.options.d.ts +0 -19
  238. package/directives/unfinished-validator/index.d.ts +0 -2
  239. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
  240. package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
  241. package/directives/value-accessor/index.d.ts +0 -3
  242. package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
  243. package/directives/value-accessor/value-accessor.module.d.ts +0 -7
  244. package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
  245. package/directives/wrapper/README.md +0 -19
  246. package/directives/wrapper/index.d.ts +0 -2
  247. package/directives/wrapper/wrapper.directive.d.ts +0 -22
  248. package/directives/wrapper/wrapper.module.d.ts +0 -10
  249. package/esm2022/classes/abstract-native-select.mjs +0 -49
  250. package/esm2022/classes/abstract-textfield-host.mjs +0 -37
  251. package/esm2022/classes/control.mjs +0 -181
  252. package/esm2022/classes/controller.mjs +0 -18
  253. package/esm2022/classes/index.mjs +0 -10
  254. package/esm2022/classes/interactive.mjs +0 -82
  255. package/esm2022/classes/multiple-control.mjs +0 -21
  256. package/esm2022/classes/named-day.mjs +0 -14
  257. package/esm2022/classes/nullable-control.mjs +0 -18
  258. package/esm2022/classes/stringifiable-item.mjs +0 -14
  259. package/esm2022/classes/taiga-ui-legacy-classes.mjs +0 -5
  260. package/esm2022/components/arrow/arrow.component.mjs +0 -41
  261. package/esm2022/components/arrow/arrow.options.mjs +0 -20
  262. package/esm2022/components/arrow/arrow.providers.mjs +0 -23
  263. package/esm2022/components/arrow/index.mjs +0 -4
  264. package/esm2022/components/arrow/taiga-ui-legacy-components-arrow.mjs +0 -5
  265. package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +0 -59
  266. package/esm2022/components/color-selector/color-edit/color-edit.module.mjs +0 -56
  267. package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +0 -70
  268. package/esm2022/components/color-selector/color-picker/color-picker.module.mjs +0 -25
  269. package/esm2022/components/color-selector/color-selector.component.mjs +0 -191
  270. package/esm2022/components/color-selector/color-selector.module.mjs +0 -67
  271. package/esm2022/components/color-selector/color-selector.options.mjs +0 -78
  272. package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +0 -34
  273. package/esm2022/components/color-selector/flat-picker/flat-picker.module.mjs +0 -23
  274. package/esm2022/components/color-selector/index.mjs +0 -17
  275. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +0 -61
  276. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.module.mjs +0 -23
  277. package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +0 -31
  278. package/esm2022/components/color-selector/linear-picker/linear-picker.module.mjs +0 -23
  279. package/esm2022/components/color-selector/palette/palette.component.mjs +0 -23
  280. package/esm2022/components/color-selector/palette/palette.module.mjs +0 -25
  281. package/esm2022/components/color-selector/services/picker.service.mjs +0 -31
  282. package/esm2022/components/color-selector/taiga-ui-legacy-components-color-selector.mjs +0 -5
  283. package/esm2022/components/combo-box/combo-box-strict.directive.mjs +0 -34
  284. package/esm2022/components/combo-box/combo-box.component.mjs +0 -183
  285. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -28
  286. package/esm2022/components/combo-box/combo-box.module.mjs +0 -71
  287. package/esm2022/components/combo-box/index.mjs +0 -5
  288. package/esm2022/components/combo-box/taiga-ui-legacy-components-combo-box.mjs +0 -5
  289. package/esm2022/components/index.mjs +0 -34
  290. package/esm2022/components/input/index.mjs +0 -4
  291. package/esm2022/components/input/input.component.mjs +0 -97
  292. package/esm2022/components/input/input.directive.mjs +0 -25
  293. package/esm2022/components/input/input.module.mjs +0 -42
  294. package/esm2022/components/input/taiga-ui-legacy-components-input.mjs +0 -5
  295. package/esm2022/components/input-color/index.mjs +0 -3
  296. package/esm2022/components/input-color/input-color.component.mjs +0 -85
  297. package/esm2022/components/input-color/input-color.module.mjs +0 -43
  298. package/esm2022/components/input-color/taiga-ui-legacy-components-input-color.mjs +0 -5
  299. package/esm2022/components/input-copy/index.mjs +0 -5
  300. package/esm2022/components/input-copy/input-copy.component.mjs +0 -105
  301. package/esm2022/components/input-copy/input-copy.directive.mjs +0 -24
  302. package/esm2022/components/input-copy/input-copy.module.mjs +0 -55
  303. package/esm2022/components/input-copy/input-copy.options.mjs +0 -24
  304. package/esm2022/components/input-copy/taiga-ui-legacy-components-input-copy.mjs +0 -5
  305. package/esm2022/components/input-date/index.mjs +0 -4
  306. package/esm2022/components/input-date/input-date.component.mjs +0 -220
  307. package/esm2022/components/input-date/input-date.directive.mjs +0 -40
  308. package/esm2022/components/input-date/input-date.module.mjs +0 -75
  309. package/esm2022/components/input-date/native-date/native-date.component.mjs +0 -53
  310. package/esm2022/components/input-date/taiga-ui-legacy-components-input-date.mjs +0 -5
  311. package/esm2022/components/input-date-multi/index.mjs +0 -3
  312. package/esm2022/components/input-date-multi/input-date-multi.component.mjs +0 -207
  313. package/esm2022/components/input-date-multi/input-date-multi.module.mjs +0 -67
  314. package/esm2022/components/input-date-multi/taiga-ui-legacy-components-input-date-multi.mjs +0 -5
  315. package/esm2022/components/input-date-range/index.mjs +0 -4
  316. package/esm2022/components/input-date-range/input-date-range.component.mjs +0 -256
  317. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -36
  318. package/esm2022/components/input-date-range/input-date-range.module.mjs +0 -71
  319. package/esm2022/components/input-date-range/taiga-ui-legacy-components-input-date-range.mjs +0 -5
  320. package/esm2022/components/input-date-time/index.mjs +0 -4
  321. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -315
  322. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -37
  323. package/esm2022/components/input-date-time/input-date-time.module.mjs +0 -78
  324. package/esm2022/components/input-date-time/native-date-time/native-date-time.directive.mjs +0 -49
  325. package/esm2022/components/input-date-time/taiga-ui-legacy-components-input-date-time.mjs +0 -5
  326. package/esm2022/components/input-month/index.mjs +0 -4
  327. package/esm2022/components/input-month/input-month.component.mjs +0 -135
  328. package/esm2022/components/input-month/input-month.directive.mjs +0 -46
  329. package/esm2022/components/input-month/input-month.module.mjs +0 -57
  330. package/esm2022/components/input-month/taiga-ui-legacy-components-input-month.mjs +0 -5
  331. package/esm2022/components/input-month-range/index.mjs +0 -4
  332. package/esm2022/components/input-month-range/input-month-range.component.mjs +0 -123
  333. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -52
  334. package/esm2022/components/input-month-range/input-month-range.module.mjs +0 -53
  335. package/esm2022/components/input-month-range/taiga-ui-legacy-components-input-month-range.mjs +0 -5
  336. package/esm2022/components/input-number/index.mjs +0 -5
  337. package/esm2022/components/input-number/input-number.component.mjs +0 -284
  338. package/esm2022/components/input-number/input-number.directive.mjs +0 -38
  339. package/esm2022/components/input-number/input-number.module.mjs +0 -48
  340. package/esm2022/components/input-number/input-number.options.mjs +0 -30
  341. package/esm2022/components/input-number/taiga-ui-legacy-components-input-number.mjs +0 -5
  342. package/esm2022/components/input-password/index.mjs +0 -5
  343. package/esm2022/components/input-password/input-password.component.mjs +0 -80
  344. package/esm2022/components/input-password/input-password.directive.mjs +0 -34
  345. package/esm2022/components/input-password/input-password.module.mjs +0 -59
  346. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  347. package/esm2022/components/input-password/taiga-ui-legacy-components-input-password.mjs +0 -5
  348. package/esm2022/components/input-phone/index.mjs +0 -5
  349. package/esm2022/components/input-phone/input-phone.component.mjs +0 -219
  350. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -37
  351. package/esm2022/components/input-phone/input-phone.module.mjs +0 -47
  352. package/esm2022/components/input-phone/input-phone.options.mjs +0 -24
  353. package/esm2022/components/input-phone/taiga-ui-legacy-components-input-phone.mjs +0 -5
  354. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  355. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  356. package/esm2022/components/input-phone/utils/index.mjs +0 -3
  357. package/esm2022/components/input-phone-international/index.mjs +0 -4
  358. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -178
  359. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -25
  360. package/esm2022/components/input-phone-international/taiga-ui-legacy-components-input-phone-international.mjs +0 -5
  361. package/esm2022/components/input-phone-international/utils/extract-value-from-event.mjs +0 -10
  362. package/esm2022/components/input-range/index.mjs +0 -3
  363. package/esm2022/components/input-range/input-range.component.mjs +0 -207
  364. package/esm2022/components/input-range/input-range.module.mjs +0 -55
  365. package/esm2022/components/input-range/taiga-ui-legacy-components-input-range.mjs +0 -5
  366. package/esm2022/components/input-slider/index.mjs +0 -3
  367. package/esm2022/components/input-slider/input-slider.component.mjs +0 -154
  368. package/esm2022/components/input-slider/input-slider.module.mjs +0 -48
  369. package/esm2022/components/input-slider/taiga-ui-legacy-components-input-slider.mjs +0 -5
  370. package/esm2022/components/input-tag/index.mjs +0 -4
  371. package/esm2022/components/input-tag/input-tag.component.mjs +0 -436
  372. package/esm2022/components/input-tag/input-tag.module.mjs +0 -67
  373. package/esm2022/components/input-tag/input-tag.options.mjs +0 -27
  374. package/esm2022/components/input-tag/taiga-ui-legacy-components-input-tag.mjs +0 -5
  375. package/esm2022/components/input-time/index.mjs +0 -5
  376. package/esm2022/components/input-time/input-time.component.mjs +0 -238
  377. package/esm2022/components/input-time/input-time.directive.mjs +0 -40
  378. package/esm2022/components/input-time/input-time.module.mjs +0 -71
  379. package/esm2022/components/input-time/input-time.options.mjs +0 -39
  380. package/esm2022/components/input-time/native-time/native-time.component.mjs +0 -67
  381. package/esm2022/components/input-time/taiga-ui-legacy-components-input-time.mjs +0 -5
  382. package/esm2022/components/input-year/index.mjs +0 -4
  383. package/esm2022/components/input-year/input-year.component.mjs +0 -110
  384. package/esm2022/components/input-year/input-year.directive.mjs +0 -32
  385. package/esm2022/components/input-year/input-year.module.mjs +0 -53
  386. package/esm2022/components/input-year/taiga-ui-legacy-components-input-year.mjs +0 -5
  387. package/esm2022/components/island/index.mjs +0 -2
  388. package/esm2022/components/island/island.directive.mjs +0 -62
  389. package/esm2022/components/island/taiga-ui-legacy-components-island.mjs +0 -5
  390. package/esm2022/components/multi-select/hide-selected.pipe.mjs +0 -44
  391. package/esm2022/components/multi-select/index.mjs +0 -11
  392. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -98
  393. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -94
  394. package/esm2022/components/multi-select/multi-select.component.mjs +0 -233
  395. package/esm2022/components/multi-select/multi-select.directive.mjs +0 -32
  396. package/esm2022/components/multi-select/multi-select.module.mjs +0 -113
  397. package/esm2022/components/multi-select/multi-select.options.mjs +0 -17
  398. package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +0 -60
  399. package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +0 -56
  400. package/esm2022/components/multi-select/native-multi-select/native-multi-select.mjs +0 -19
  401. package/esm2022/components/multi-select/taiga-ui-legacy-components-multi-select.mjs +0 -5
  402. package/esm2022/components/multi-select-option/index.mjs +0 -3
  403. package/esm2022/components/multi-select-option/multi-select-option.component.mjs +0 -25
  404. package/esm2022/components/multi-select-option/multi-select-option.module.mjs +0 -20
  405. package/esm2022/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.mjs +0 -5
  406. package/esm2022/components/primitive-textfield/index.mjs +0 -7
  407. package/esm2022/components/primitive-textfield/primitive-textfield-options.mjs +0 -17
  408. package/esm2022/components/primitive-textfield/primitive-textfield-types.mjs +0 -2
  409. package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +0 -254
  410. package/esm2022/components/primitive-textfield/primitive-textfield.directive.mjs +0 -33
  411. package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +0 -66
  412. package/esm2022/components/primitive-textfield/taiga-ui-legacy-components-primitive-textfield.mjs +0 -5
  413. package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +0 -39
  414. package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +0 -66
  415. package/esm2022/components/select/index.mjs +0 -7
  416. package/esm2022/components/select/native-select/native-select-group.component.mjs +0 -64
  417. package/esm2022/components/select/native-select/native-select.component.mjs +0 -60
  418. package/esm2022/components/select/select.component.mjs +0 -119
  419. package/esm2022/components/select/select.directive.mjs +0 -34
  420. package/esm2022/components/select/select.module.mjs +0 -87
  421. package/esm2022/components/select/select.options.mjs +0 -24
  422. package/esm2022/components/select/taiga-ui-legacy-components-select.mjs +0 -5
  423. package/esm2022/components/select-option/index.mjs +0 -3
  424. package/esm2022/components/select-option/select-option.component.mjs +0 -65
  425. package/esm2022/components/select-option/select-option.module.mjs +0 -21
  426. package/esm2022/components/select-option/taiga-ui-legacy-components-select-option.mjs +0 -5
  427. package/esm2022/components/sheet/components/sheet/sheet.component.mjs +0 -117
  428. package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +0 -42
  429. package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +0 -27
  430. package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +0 -31
  431. package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +0 -46
  432. package/esm2022/components/sheet/directives/sheet-close/sheet-close.directive.mjs +0 -39
  433. package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +0 -38
  434. package/esm2022/components/sheet/directives/sheet-top/sheet-top.directive.mjs +0 -52
  435. package/esm2022/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +0 -77
  436. package/esm2022/components/sheet/index.mjs +0 -14
  437. package/esm2022/components/sheet/sheet-options.mjs +0 -24
  438. package/esm2022/components/sheet/sheet-tokens.mjs +0 -17
  439. package/esm2022/components/sheet/sheet.directive.mjs +0 -40
  440. package/esm2022/components/sheet/sheet.mjs +0 -2
  441. package/esm2022/components/sheet/sheet.module.mjs +0 -75
  442. package/esm2022/components/sheet/sheet.service.mjs +0 -52
  443. package/esm2022/components/sheet/taiga-ui-legacy-components-sheet.mjs +0 -5
  444. package/esm2022/components/svg/content-processor.mjs +0 -41
  445. package/esm2022/components/svg/deprecated-icons.mjs +0 -63
  446. package/esm2022/components/svg/index.mjs +0 -6
  447. package/esm2022/components/svg/svg-options.mjs +0 -83
  448. package/esm2022/components/svg/svg.component.mjs +0 -150
  449. package/esm2022/components/svg/svg.service.mjs +0 -64
  450. package/esm2022/components/svg/taiga-ui-legacy-components-svg.mjs +0 -5
  451. package/esm2022/components/table-bar/index.mjs +0 -5
  452. package/esm2022/components/table-bar/table-bar.component.mjs +0 -37
  453. package/esm2022/components/table-bar/table-bar.directive.mjs +0 -25
  454. package/esm2022/components/table-bar/table-bar.options.mjs +0 -34
  455. package/esm2022/components/table-bar/table-bars-host.component.mjs +0 -39
  456. package/esm2022/components/table-bar/table-bars.service.mjs +0 -22
  457. package/esm2022/components/table-bar/taiga-ui-legacy-components-table-bar.mjs +0 -5
  458. package/esm2022/components/tag/index.mjs +0 -4
  459. package/esm2022/components/tag/tag.component.mjs +0 -158
  460. package/esm2022/components/tag/tag.module.mjs +0 -42
  461. package/esm2022/components/tag/tag.options.mjs +0 -26
  462. package/esm2022/components/tag/taiga-ui-legacy-components-tag.mjs +0 -5
  463. package/esm2022/components/taiga-ui-legacy-components.mjs +0 -5
  464. package/esm2022/components/textarea/index.mjs +0 -4
  465. package/esm2022/components/textarea/taiga-ui-legacy-components-textarea.mjs +0 -5
  466. package/esm2022/components/textarea/textarea.component.mjs +0 -175
  467. package/esm2022/components/textarea/textarea.directive.mjs +0 -25
  468. package/esm2022/components/textarea/textarea.module.mjs +0 -68
  469. package/esm2022/components/tooltip/index.mjs +0 -3
  470. package/esm2022/components/tooltip/taiga-ui-legacy-components-tooltip.mjs +0 -5
  471. package/esm2022/components/tooltip/tooltip.component.mjs +0 -27
  472. package/esm2022/components/tooltip/tooltip.module.mjs +0 -24
  473. package/esm2022/directives/index.mjs +0 -6
  474. package/esm2022/directives/legacy-dropdown-open-monitor/index.mjs +0 -2
  475. package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +0 -44
  476. package/esm2022/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -5
  477. package/esm2022/directives/taiga-ui-legacy-directives.mjs +0 -5
  478. package/esm2022/directives/textfield-controller/index.mjs +0 -15
  479. package/esm2022/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.mjs +0 -5
  480. package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +0 -34
  481. package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +0 -28
  482. package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +0 -72
  483. package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +0 -44
  484. package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +0 -28
  485. package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +0 -28
  486. package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +0 -24
  487. package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +0 -24
  488. package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +0 -32
  489. package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +0 -28
  490. package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +0 -28
  491. package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +0 -28
  492. package/esm2022/directives/textfield-controller/textfield.controller.mjs +0 -49
  493. package/esm2022/directives/textfield-controller/textfield.options.mjs +0 -21
  494. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  495. package/esm2022/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -5
  496. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -30
  497. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -15
  498. package/esm2022/directives/value-accessor/index.mjs +0 -4
  499. package/esm2022/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.mjs +0 -5
  500. package/esm2022/directives/value-accessor/value-accessor.directive.mjs +0 -17
  501. package/esm2022/directives/value-accessor/value-accessor.module.mjs +0 -17
  502. package/esm2022/directives/value-accessor/value-accessor.provider.mjs +0 -10
  503. package/esm2022/directives/wrapper/index.mjs +0 -3
  504. package/esm2022/directives/wrapper/taiga-ui-legacy-directives-wrapper.mjs +0 -5
  505. package/esm2022/directives/wrapper/wrapper.directive.mjs +0 -77
  506. package/esm2022/directives/wrapper/wrapper.module.mjs +0 -20
  507. package/esm2022/index.mjs +0 -8
  508. package/esm2022/pipes/format-phone/format-phone.pipe.mjs +0 -54
  509. package/esm2022/pipes/format-phone/index.mjs +0 -2
  510. package/esm2022/pipes/format-phone/taiga-ui-legacy-pipes-format-phone.mjs +0 -5
  511. package/esm2022/pipes/index.mjs +0 -4
  512. package/esm2022/pipes/iso-to-country-code/index.mjs +0 -2
  513. package/esm2022/pipes/iso-to-country-code/iso-to-country-code.pipe.mjs +0 -44
  514. package/esm2022/pipes/iso-to-country-code/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -5
  515. package/esm2022/pipes/taiga-ui-legacy-pipes.mjs +0 -5
  516. package/esm2022/pipes/to-country-code/index.mjs +0 -2
  517. package/esm2022/pipes/to-country-code/taiga-ui-legacy-pipes-to-country-code.mjs +0 -5
  518. package/esm2022/pipes/to-country-code/to-country-code.pipe.mjs +0 -74
  519. package/esm2022/services/index.mjs +0 -2
  520. package/esm2022/services/static-request.service.mjs +0 -36
  521. package/esm2022/services/taiga-ui-legacy-services.mjs +0 -5
  522. package/esm2022/taiga-ui-legacy.mjs +0 -5
  523. package/esm2022/tokens/countries-masks.mjs +0 -257
  524. package/esm2022/tokens/focusable-item-accessor.mjs +0 -14
  525. package/esm2022/tokens/fonts-ready.mjs +0 -10
  526. package/esm2022/tokens/icons.mjs +0 -9
  527. package/esm2022/tokens/index.mjs +0 -15
  528. package/esm2022/tokens/is-apple.mjs +0 -11
  529. package/esm2022/tokens/is-chromium.mjs +0 -10
  530. package/esm2022/tokens/is-firefox.mjs +0 -11
  531. package/esm2022/tokens/is-stackblitz.mjs +0 -9
  532. package/esm2022/tokens/month-formatter.mjs +0 -18
  533. package/esm2022/tokens/sanitizer.mjs +0 -7
  534. package/esm2022/tokens/taiga-ui-legacy-tokens.mjs +0 -5
  535. package/esm2022/tokens/textfield-appearance.mjs +0 -10
  536. package/esm2022/tokens/textfield-host.mjs +0 -14
  537. package/esm2022/tokens/touch-supported.mjs +0 -9
  538. package/esm2022/tokens/value-accessor.mjs +0 -7
  539. package/esm2022/utils/capitalize-first-letter.mjs +0 -7
  540. package/esm2022/utils/date-mode-maskito-adapter.mjs +0 -9
  541. package/esm2022/utils/format-phone.mjs +0 -60
  542. package/esm2022/utils/get-border.mjs +0 -23
  543. package/esm2022/utils/get-max-allowed-phone-length.mjs +0 -26
  544. package/esm2022/utils/get-safe-area-size.mjs +0 -18
  545. package/esm2022/utils/icons-path-factory.mjs +0 -22
  546. package/esm2022/utils/index.mjs +0 -14
  547. package/esm2022/utils/is-apple.mjs +0 -6
  548. package/esm2022/utils/is-presumed-html-string.mjs +0 -8
  549. package/esm2022/utils/iso-to-country-code.mjs +0 -16
  550. package/esm2022/utils/not-kz-region.mjs +0 -24
  551. package/esm2022/utils/process-icon.mjs +0 -34
  552. package/esm2022/utils/specific-dropdown-controllers.mjs +0 -9
  553. package/esm2022/utils/status.mjs +0 -2
  554. package/esm2022/utils/taiga-ui-legacy-utils.mjs +0 -5
  555. package/fesm2022/taiga-ui-legacy-classes.mjs +0 -416
  556. package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
  557. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -85
  558. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
  559. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
  560. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  561. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -301
  562. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  563. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  564. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  565. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
  566. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
  567. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
  568. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
  569. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -356
  570. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
  571. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
  572. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
  573. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  574. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  575. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
  576. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
  577. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
  578. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
  579. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -390
  580. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
  581. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  582. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  583. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  584. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  585. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -373
  586. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  587. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
  588. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
  589. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -200
  590. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
  591. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  592. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  593. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -434
  594. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  595. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  596. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  597. package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -156
  598. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
  599. package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
  600. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
  601. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  602. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  603. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -690
  604. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  605. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
  606. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
  607. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
  608. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
  609. package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -354
  610. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
  611. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -574
  612. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
  613. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -389
  614. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  615. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -145
  616. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
  617. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -226
  618. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  619. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  620. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
  621. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
  622. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
  623. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -50
  624. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
  625. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -401
  626. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
  627. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -50
  628. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
  629. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
  630. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
  631. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
  632. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
  633. package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
  634. package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
  635. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -60
  636. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  637. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  638. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  639. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  640. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  641. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  642. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  643. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  644. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  645. package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
  646. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
  647. package/fesm2022/taiga-ui-legacy-utils.mjs +0 -268
  648. package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
  649. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  650. package/pipes/format-phone/index.d.ts +0 -1
  651. package/pipes/index.d.ts +0 -3
  652. package/pipes/iso-to-country-code/index.d.ts +0 -1
  653. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  654. package/pipes/to-country-code/index.d.ts +0 -1
  655. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  656. package/services/index.d.ts +0 -1
  657. package/services/static-request.service.d.ts +0 -11
  658. package/styles/mixins/mixins.less +0 -239
  659. package/styles/mixins/mixins.scss +0 -224
  660. package/styles/mixins/textfield.less +0 -322
  661. package/styles/mixins/textfield.scss +0 -308
  662. package/styles/taiga-ui-local.less +0 -3
  663. package/styles/taiga-ui-local.scss +0 -3
  664. package/tokens/countries-masks.d.ts +0 -9
  665. package/tokens/focusable-item-accessor.d.ts +0 -25
  666. package/tokens/fonts-ready.d.ts +0 -6
  667. package/tokens/icons.d.ts +0 -6
  668. package/tokens/index.d.ts +0 -14
  669. package/tokens/is-apple.d.ts +0 -6
  670. package/tokens/is-chromium.d.ts +0 -6
  671. package/tokens/is-firefox.d.ts +0 -6
  672. package/tokens/is-stackblitz.d.ts +0 -5
  673. package/tokens/month-formatter.d.ts +0 -10
  674. package/tokens/sanitizer.d.ts +0 -6
  675. package/tokens/textfield-appearance.d.ts +0 -7
  676. package/tokens/textfield-host.d.ts +0 -23
  677. package/tokens/touch-supported.d.ts +0 -5
  678. package/tokens/value-accessor.d.ts +0 -7
  679. package/utils/capitalize-first-letter.d.ts +0 -4
  680. package/utils/date-mode-maskito-adapter.d.ts +0 -6
  681. package/utils/format-phone.d.ts +0 -30
  682. package/utils/get-border.d.ts +0 -5
  683. package/utils/get-max-allowed-phone-length.d.ts +0 -24
  684. package/utils/get-safe-area-size.d.ts +0 -7
  685. package/utils/icons-path-factory.d.ts +0 -13
  686. package/utils/index.d.ts +0 -14
  687. package/utils/is-apple.d.ts +0 -5
  688. package/utils/is-presumed-html-string.d.ts +0 -4
  689. package/utils/iso-to-country-code.d.ts +0 -13
  690. package/utils/not-kz-region.d.ts +0 -20
  691. package/utils/process-icon.d.ts +0 -4
  692. package/utils/specific-dropdown-controllers.d.ts +0 -4
  693. package/utils/status.d.ts +0 -4
@@ -1,88 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import { NgControl } from '@angular/forms';
4
- import { TUI_DEFAULT_IDENTITY_MATCHER } from '@taiga-ui/cdk/constants';
5
- import { tuiTypedFromEvent } from '@taiga-ui/cdk/observables';
6
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
7
- import { tuiIsPresent } from '@taiga-ui/cdk/utils/miscellaneous';
8
- import { TUI_DATA_LIST_HOST, TuiOption, TuiDataListComponent } from '@taiga-ui/core/components/data-list';
9
- import { TUI_COMMON_ICONS } from '@taiga-ui/core/tokens';
10
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
11
- import { injectContext, PolymorpheusComponent } from '@taiga-ui/polymorpheus';
12
- import { Subject, merge, EMPTY, startWith, map, distinctUntilChanged } from 'rxjs';
13
- import * as i1 from '@angular/common';
14
- import { CommonModule } from '@angular/common';
15
- import * as i2 from '@taiga-ui/core/components/scrollbar';
16
- import { TuiScrollIntoView } from '@taiga-ui/core/components/scrollbar';
17
- import * as i3 from '@taiga-ui/core/components/icon';
18
- import { TuiIcon } from '@taiga-ui/core/components/icon';
19
-
20
- class TuiSelectOptionComponent {
21
- constructor() {
22
- this.host = inject(TUI_DATA_LIST_HOST);
23
- this.el = tuiInjectElement();
24
- this.changeDetection$ = new Subject();
25
- this.abstractControl = inject((AbstractTuiControl), { optional: true });
26
- this.control = inject(NgControl);
27
- this.option = inject((TuiOption));
28
- this.dataList = inject((TuiDataListComponent), { optional: true });
29
- this.icons = inject(TUI_COMMON_ICONS);
30
- this.context = injectContext();
31
- this.selected$ = merge(this.abstractControl?.update$ || EMPTY, this.changeDetection$, this.control.valueChanges || EMPTY, tuiTypedFromEvent(this.el, 'animationstart')).pipe(startWith(null), map(() => this.selected), distinctUntilChanged());
32
- }
33
- ngOnInit() {
34
- /**
35
- * This would cause changes inside already checked parent component (during the same change detection cycle),
36
- * and it might cause ExpressionChanged error due to potential HostBinding
37
- * (for example, inside {@link https://github.com/angular/angular/blob/main/packages/forms/src/directives/ng_control_status.ts#L99 NgControlStatus}).
38
- * Microtask keeps it in the same frame but allows change detection to run.
39
- */
40
- void Promise.resolve().then(() => {
41
- if (tuiIsPresent(this.option.value) && !this.option.disabled) {
42
- this.host.checkOption?.(this.option.value);
43
- }
44
- });
45
- }
46
- ngDoCheck() {
47
- this.changeDetection$.next();
48
- }
49
- get value() {
50
- return this.abstractControl?.value ?? this.control.value;
51
- }
52
- get matcher() {
53
- return this.host.identityMatcher || TUI_DEFAULT_IDENTITY_MATCHER;
54
- }
55
- get selected() {
56
- return (tuiIsPresent(this.option.value) &&
57
- tuiIsPresent(this.value) &&
58
- this.matcher(this.value, this.option.value));
59
- }
60
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSelectOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
61
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiSelectOptionComponent, selector: "tui-select-option", ngImport: i0, template: "<ng-container [ngTemplateOutlet]=\"context.$implicit\" />\n<tui-icon\n *ngIf=\"selected$ | async; else dummy\"\n automation-id=\"tui-select-option__checkmark\"\n class=\"t-checkmark\"\n [icon]=\"icons.check\"\n [tuiScrollIntoView]=\"true\"\n/>\n<ng-template #dummy>\n <span class=\"t-dummy\"></span>\n</ng-template>\n", styles: ["@keyframes retrigger{0%{left:1px}to{left:2px}}:host{display:flex;flex:1;align-items:center;max-inline-size:100%;animation:retrigger 1s}.t-checkmark{margin-inline-start:auto;inline-size:1.75rem;border-width:.25rem;border-inline-start-width:.5rem}:host-context(tui-data-list[data-size=\"s\"]) .t-checkmark{margin-inline-end:-.375rem}:host-context(tui-data-list[data-size=\"m\"]) .t-checkmark{margin-inline-end:-.125rem}.t-dummy{inline-size:1.75rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.TuiScrollIntoView, selector: "[tuiScrollIntoView]", inputs: ["tuiScrollIntoView"] }, { kind: "component", type: i3.TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
62
- }
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSelectOptionComponent, decorators: [{
64
- type: Component,
65
- args: [{ standalone: false, selector: 'tui-select-option', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [ngTemplateOutlet]=\"context.$implicit\" />\n<tui-icon\n *ngIf=\"selected$ | async; else dummy\"\n automation-id=\"tui-select-option__checkmark\"\n class=\"t-checkmark\"\n [icon]=\"icons.check\"\n [tuiScrollIntoView]=\"true\"\n/>\n<ng-template #dummy>\n <span class=\"t-dummy\"></span>\n</ng-template>\n", styles: ["@keyframes retrigger{0%{left:1px}to{left:2px}}:host{display:flex;flex:1;align-items:center;max-inline-size:100%;animation:retrigger 1s}.t-checkmark{margin-inline-start:auto;inline-size:1.75rem;border-width:.25rem;border-inline-start-width:.5rem}:host-context(tui-data-list[data-size=\"s\"]) .t-checkmark{margin-inline-end:-.375rem}:host-context(tui-data-list[data-size=\"m\"]) .t-checkmark{margin-inline-end:-.125rem}.t-dummy{inline-size:1.75rem}\n"] }]
66
- }] });
67
- const TUI_SELECT_OPTION = new PolymorpheusComponent(TuiSelectOptionComponent);
68
-
69
- class TuiSelectOptionModule {
70
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSelectOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
71
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiSelectOptionModule, declarations: [TuiSelectOptionComponent], imports: [CommonModule, TuiScrollIntoView, TuiIcon], exports: [TuiSelectOptionComponent] }); }
72
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSelectOptionModule, imports: [CommonModule, TuiIcon] }); }
73
- }
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSelectOptionModule, decorators: [{
75
- type: NgModule,
76
- args: [{
77
- imports: [CommonModule, TuiScrollIntoView, TuiIcon],
78
- declarations: [TuiSelectOptionComponent],
79
- exports: [TuiSelectOptionComponent],
80
- }]
81
- }] });
82
-
83
- /**
84
- * Generated bundle index. Do not edit.
85
- */
86
-
87
- export { TUI_SELECT_OPTION, TuiSelectOptionComponent, TuiSelectOptionModule };
88
- //# sourceMappingURL=taiga-ui-legacy-components-select-option.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-select-option.mjs","sources":["../../../projects/legacy/components/select-option/select-option.component.ts","../../../projects/legacy/components/select-option/select-option.template.html","../../../projects/legacy/components/select-option/select-option.module.ts","../../../projects/legacy/components/select-option/taiga-ui-legacy-components-select-option.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n type DoCheck,\n inject,\n type OnInit,\n type TemplateRef,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {TUI_DEFAULT_IDENTITY_MATCHER} from '@taiga-ui/cdk/constants';\nimport {tuiTypedFromEvent} from '@taiga-ui/cdk/observables';\nimport {type TuiContext, type TuiIdentityMatcher} from '@taiga-ui/cdk/types';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiIsPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n TUI_DATA_LIST_HOST,\n TuiDataListComponent,\n type TuiDataListHost,\n TuiOption,\n} from '@taiga-ui/core/components/data-list';\nimport {TUI_COMMON_ICONS} from '@taiga-ui/core/tokens';\nimport {AbstractTuiControl} from '@taiga-ui/legacy/classes';\nimport {injectContext, PolymorpheusComponent} from '@taiga-ui/polymorpheus';\nimport {distinctUntilChanged, EMPTY, map, merge, startWith, Subject} from 'rxjs';\n\n@Component({\n standalone: false,\n selector: 'tui-select-option',\n templateUrl: './select-option.template.html',\n styleUrls: ['./select-option.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiSelectOptionComponent<T> implements OnInit, DoCheck {\n private readonly host = inject<TuiDataListHost<T>>(TUI_DATA_LIST_HOST);\n private readonly el = tuiInjectElement();\n private readonly changeDetection$ = new Subject<void>();\n protected readonly abstractControl = inject(AbstractTuiControl<T>, {optional: true});\n protected readonly control = inject(NgControl);\n protected readonly option = inject(TuiOption<T>);\n protected readonly dataList = inject(TuiDataListComponent<T>, {optional: true});\n protected readonly icons = inject(TUI_COMMON_ICONS);\n protected readonly context =\n injectContext<TuiContext<TemplateRef<Record<string, unknown>>>>();\n\n protected readonly selected$ = merge<unknown[]>(\n this.abstractControl?.update$ || EMPTY,\n this.changeDetection$,\n this.control.valueChanges || EMPTY,\n tuiTypedFromEvent(this.el, 'animationstart'),\n ).pipe(\n startWith(null),\n map(() => this.selected),\n distinctUntilChanged(),\n );\n\n public ngOnInit(): void {\n /**\n * This would cause changes inside already checked parent component (during the same change detection cycle),\n * and it might cause ExpressionChanged error due to potential HostBinding\n * (for example, inside {@link https://github.com/angular/angular/blob/main/packages/forms/src/directives/ng_control_status.ts#L99 NgControlStatus}).\n * Microtask keeps it in the same frame but allows change detection to run.\n */\n void Promise.resolve().then(() => {\n if (tuiIsPresent(this.option.value) && !this.option.disabled) {\n this.host.checkOption?.(this.option.value);\n }\n });\n }\n\n public ngDoCheck(): void {\n this.changeDetection$.next();\n }\n\n protected get value(): T | null {\n return this.abstractControl?.value ?? this.control.value;\n }\n\n protected get matcher(): TuiIdentityMatcher<T> {\n return this.host.identityMatcher || TUI_DEFAULT_IDENTITY_MATCHER;\n }\n\n protected get selected(): boolean {\n return (\n tuiIsPresent(this.option.value) &&\n tuiIsPresent(this.value) &&\n this.matcher(this.value, this.option.value)\n );\n }\n}\n\nexport const TUI_SELECT_OPTION = new PolymorpheusComponent(TuiSelectOptionComponent);\n","<ng-container [ngTemplateOutlet]=\"context.$implicit\" />\n<tui-icon\n *ngIf=\"selected$ | async; else dummy\"\n automation-id=\"tui-select-option__checkmark\"\n class=\"t-checkmark\"\n [icon]=\"icons.check\"\n [tuiScrollIntoView]=\"true\"\n/>\n<ng-template #dummy>\n <span class=\"t-dummy\"></span>\n</ng-template>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiScrollIntoView} from '@taiga-ui/core/components/scrollbar';\n\nimport {TuiSelectOptionComponent} from './select-option.component';\n\n@NgModule({\n imports: [CommonModule, TuiScrollIntoView, TuiIcon],\n declarations: [TuiSelectOptionComponent],\n exports: [TuiSelectOptionComponent],\n})\nexport class TuiSelectOptionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAyBA,MAOa,wBAAwB,CAAA;AAPrC,IAAA,WAAA,GAAA;AAQqB,QAAA,IAAA,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CAAA,EAAA;;4FAIzC,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,EAAE,OAAO,CAAC;oBACnD,YAAY,EAAE,CAAC,wBAAwB,CAAC;oBACxC,OAAO,EAAE,CAAC,wBAAwB,CAAC;AACtC,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
@@ -1,354 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { TemplateRef, Component, ChangeDetectionStrategy, Input, InjectionToken, inject, ViewChild, ContentChild, Directive, NgModule } from '@angular/core';
3
- import { tuiProvide, tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
4
- import * as i2 from '@taiga-ui/core/components/data-list';
5
- import { tuiAsDataList, tuiAsDataListHost, tuiAsOptionContent, TuiDataListDirective, TuiDataList } from '@taiga-ui/core/components/data-list';
6
- import { AbstractTuiNativeSelect, AbstractTuiNullableControl, tuiAsControl, AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
7
- import * as i1 from '@angular/common';
8
- import { CommonModule } from '@angular/common';
9
- import * as i3 from '@taiga-ui/kit/components/data-list-wrapper';
10
- import { TuiDataListWrapper } from '@taiga-ui/kit/components/data-list-wrapper';
11
- import * as i4 from '@taiga-ui/kit/pipes/stringify-content';
12
- import { TuiStringifyContentPipe } from '@taiga-ui/kit/pipes/stringify-content';
13
- import { TUI_IS_MOBILE } from '@taiga-ui/cdk/tokens';
14
- import { tuiIsNativeFocused } from '@taiga-ui/cdk/utils/focus';
15
- import * as i1$1 from '@taiga-ui/core/directives/dropdown';
16
- import { TuiDropdownOpen, TuiDropdownFixed, TuiDropdown } from '@taiga-ui/core/directives/dropdown';
17
- import { TUI_ITEMS_HANDLERS } from '@taiga-ui/kit/tokens';
18
- import { TUI_ARROW_MODE, TuiArrowComponent } from '@taiga-ui/legacy/components/arrow';
19
- import * as i4$1 from '@taiga-ui/legacy/components/primitive-textfield';
20
- import { TuiPrimitiveTextfieldComponent, TuiPrimitiveTextfieldModule, TuiTextfieldComponent } from '@taiga-ui/legacy/components/primitive-textfield';
21
- import { TUI_SELECT_OPTION, TuiSelectOptionModule } from '@taiga-ui/legacy/components/select-option';
22
- import * as i5 from '@taiga-ui/legacy/directives';
23
- import { TUI_TEXTFIELD_CLEANER, TUI_TEXTFIELD_SIZE, TuiWrapperModule, TuiTextfieldControllerModule, TuiLegacyDropdownOpenMonitorDirective } from '@taiga-ui/legacy/directives';
24
- import { tuiAsFocusableItemAccessor, tuiAsTextfieldHost } from '@taiga-ui/legacy/tokens';
25
- import * as i3$1 from '@taiga-ui/polymorpheus';
26
- import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
27
-
28
- /**
29
- * TODO(v5): delete it
30
- * @deprecated use native picker from new version of {@link https://taiga-ui.dev/components/select#native-picker-disabled-option TuiSelect} (from @taiga-ui/kit) instead
31
- */
32
- class TuiNativeSelectComponent extends AbstractTuiNativeSelect {
33
- constructor() {
34
- super(...arguments);
35
- this.items = [];
36
- }
37
- get stringify() {
38
- return this.host.stringify;
39
- }
40
- selected(option) {
41
- return this.control.value === option;
42
- }
43
- onValueChange(index) {
44
- this.host.onValueChange(this.items?.[index] || null);
45
- }
46
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiNativeSelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
47
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiNativeSelectComponent, selector: "select[tuiSelect]:not([labels]):not([multiple])", inputs: { items: "items" }, host: { listeners: { "change": "onValueChange($event.target.options.selectedIndex - (emptyOption ? 1 : 0))" }, properties: { "attr.aria-invalid": "host.invalid", "disabled": "host.disabled || control.readOnly", "tabIndex": "host.focusable ? 0 : -1", "value": "host.value" } }, providers: [
48
- tuiAsDataList(TuiNativeSelectComponent),
49
- tuiProvide(AbstractTuiNativeSelect, TuiNativeSelectComponent),
50
- {
51
- provide: TemplateRef,
52
- deps: [TuiNativeSelectComponent],
53
- useFactory: ({ datalist }) => datalist,
54
- },
55
- ], usesInheritance: true, ngImport: i0, template: "<tui-data-list-wrapper\n *tuiDataList\n [disabledItemHandler]=\"disabledItemHandler || itemsHandlers.disabledItemHandler\"\n [itemContent]=\"stringify | tuiStringifyContent\"\n [items]=\"items\"\n/>\n<ng-container *ngIf=\"control.control?.valueChanges | async\" />\n<option\n *ngIf=\"emptyOption\"\n disabled\n selected\n value=\"\"\n>\n {{ placeholder }}\n</option>\n<option\n *ngFor=\"let option of items; let index = index\"\n [disabled]=\"disabledItemHandler ? disabledItemHandler(option) : itemsHandlers.disabledItemHandler(option)\"\n [selected]=\"selected(option)\"\n [value]=\"stringify(option)\"\n>\n {{ stringify(option) }}\n</option>\n", styles: [":host{position:absolute;top:0;left:0;inline-size:100%;block-size: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.TuiDataListDirective, selector: "ng-template[tuiDataList]" }, { kind: "component", type: i3.TuiDataListWrapperComponent, selector: "tui-data-list-wrapper:not([labels]), tui-data-list-wrapper:not([labels])[new]", inputs: ["items", "disabledItemHandler", "emptyContent", "size", "itemContent"], outputs: ["itemClick"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.TuiStringifyContentPipe, name: "tuiStringifyContent" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
56
- }
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiNativeSelectComponent, decorators: [{
58
- type: Component,
59
- args: [{ standalone: false, selector: 'select[tuiSelect]:not([labels]):not([multiple])', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
60
- tuiAsDataList(TuiNativeSelectComponent),
61
- tuiProvide(AbstractTuiNativeSelect, TuiNativeSelectComponent),
62
- {
63
- provide: TemplateRef,
64
- deps: [TuiNativeSelectComponent],
65
- useFactory: ({ datalist }) => datalist,
66
- },
67
- ], host: {
68
- '[attr.aria-invalid]': 'host.invalid',
69
- '[disabled]': 'host.disabled || control.readOnly',
70
- '[tabIndex]': 'host.focusable ? 0 : -1',
71
- '[value]': 'host.value',
72
- '(change)': 'onValueChange($event.target.options.selectedIndex - (emptyOption ? 1 : 0))',
73
- }, template: "<tui-data-list-wrapper\n *tuiDataList\n [disabledItemHandler]=\"disabledItemHandler || itemsHandlers.disabledItemHandler\"\n [itemContent]=\"stringify | tuiStringifyContent\"\n [items]=\"items\"\n/>\n<ng-container *ngIf=\"control.control?.valueChanges | async\" />\n<option\n *ngIf=\"emptyOption\"\n disabled\n selected\n value=\"\"\n>\n {{ placeholder }}\n</option>\n<option\n *ngFor=\"let option of items; let index = index\"\n [disabled]=\"disabledItemHandler ? disabledItemHandler(option) : itemsHandlers.disabledItemHandler(option)\"\n [selected]=\"selected(option)\"\n [value]=\"stringify(option)\"\n>\n {{ stringify(option) }}\n</option>\n", styles: [":host{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0}\n"] }]
74
- }], propDecorators: { items: [{
75
- type: Input
76
- }] } });
77
-
78
- /**
79
- * TODO(v5): delete it
80
- * @deprecated use native picker from new version of {@link https://taiga-ui.dev/components/select#native-picker-groups TuiSelect} (from @taiga-ui/kit) instead
81
- */
82
- class TuiNativeSelectGroupComponent extends AbstractTuiNativeSelect {
83
- constructor() {
84
- super(...arguments);
85
- this.items = [];
86
- this.labels = [];
87
- }
88
- get stringify() {
89
- return this.host.stringify;
90
- }
91
- selected(option) {
92
- return this.control.value === option;
93
- }
94
- onValueChange(index) {
95
- const flatItems = this.items?.reduce((acc, val) => acc.concat(val), []);
96
- this.host.onValueChange(flatItems?.[index] || null);
97
- }
98
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiNativeSelectGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
99
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiNativeSelectGroupComponent, selector: "select[tuiSelect][labels]:not([multiple])", inputs: { items: "items", labels: "labels" }, host: { listeners: { "change": "onValueChange($event.target.options.selectedIndex - (emptyOption ? 1 : 0))" }, properties: { "attr.aria-invalid": "host.invalid", "disabled": "host.disabled || control.readOnly", "tabIndex": "host.focusable ? 0 : -1", "value": "host.value" } }, providers: [
100
- tuiAsDataList(TuiNativeSelectGroupComponent),
101
- tuiProvide(AbstractTuiNativeSelect, TuiNativeSelectGroupComponent),
102
- {
103
- provide: TemplateRef,
104
- deps: [TuiNativeSelectGroupComponent],
105
- useFactory: ({ datalist }) => datalist,
106
- },
107
- ], usesInheritance: true, ngImport: i0, template: "<tui-data-list-wrapper\n *tuiDataList\n [disabledItemHandler]=\"disabledItemHandler || itemsHandlers.disabledItemHandler\"\n [itemContent]=\"stringify | tuiStringifyContent\"\n [items]=\"items\"\n [labels]=\"labels\"\n/>\n<ng-container *ngIf=\"control.control?.valueChanges | async\" />\n<option\n *ngIf=\"emptyOption\"\n disabled\n selected\n value=\"\"\n>\n {{ placeholder }}\n</option>\n<optgroup\n *ngFor=\"let group of items; let index = index\"\n [label]=\"labels[index]\"\n>\n <option\n *ngFor=\"let option of group; let i = index\"\n [disabled]=\"disabledItemHandler ? disabledItemHandler(option) : itemsHandlers.disabledItemHandler(option)\"\n [selected]=\"selected(option)\"\n [value]=\"stringify(option)\"\n >\n {{ stringify(option) }}\n </option>\n</optgroup>\n", styles: [":host{position:absolute;top:0;left:0;inline-size:100%;block-size: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.TuiDataListDirective, selector: "ng-template[tuiDataList]" }, { kind: "component", type: i3.TuiDataListGroupWrapperComponent, selector: "tui-data-list-wrapper[labels]", inputs: ["labels"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.TuiStringifyContentPipe, name: "tuiStringifyContent" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
108
- }
109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiNativeSelectGroupComponent, decorators: [{
110
- type: Component,
111
- args: [{ standalone: false, selector: 'select[tuiSelect][labels]:not([multiple])', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
112
- tuiAsDataList(TuiNativeSelectGroupComponent),
113
- tuiProvide(AbstractTuiNativeSelect, TuiNativeSelectGroupComponent),
114
- {
115
- provide: TemplateRef,
116
- deps: [TuiNativeSelectGroupComponent],
117
- useFactory: ({ datalist }) => datalist,
118
- },
119
- ], host: {
120
- '[attr.aria-invalid]': 'host.invalid',
121
- '[disabled]': 'host.disabled || control.readOnly',
122
- '[tabIndex]': 'host.focusable ? 0 : -1',
123
- '[value]': 'host.value',
124
- '(change)': 'onValueChange($event.target.options.selectedIndex - (emptyOption ? 1 : 0))',
125
- }, template: "<tui-data-list-wrapper\n *tuiDataList\n [disabledItemHandler]=\"disabledItemHandler || itemsHandlers.disabledItemHandler\"\n [itemContent]=\"stringify | tuiStringifyContent\"\n [items]=\"items\"\n [labels]=\"labels\"\n/>\n<ng-container *ngIf=\"control.control?.valueChanges | async\" />\n<option\n *ngIf=\"emptyOption\"\n disabled\n selected\n value=\"\"\n>\n {{ placeholder }}\n</option>\n<optgroup\n *ngFor=\"let group of items; let index = index\"\n [label]=\"labels[index]\"\n>\n <option\n *ngFor=\"let option of group; let i = index\"\n [disabled]=\"disabledItemHandler ? disabledItemHandler(option) : itemsHandlers.disabledItemHandler(option)\"\n [selected]=\"selected(option)\"\n [value]=\"stringify(option)\"\n >\n {{ stringify(option) }}\n </option>\n</optgroup>\n", styles: [":host{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0}\n"] }]
126
- }], propDecorators: { items: [{
127
- type: Input
128
- }], labels: [{
129
- type: Input
130
- }] } });
131
-
132
- /**
133
- * TODO(v5): delete it
134
- * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
135
- */
136
- const TUI_SELECT_DEFAULT_OPTIONS = {
137
- valueContent: '',
138
- };
139
- /**
140
- * TODO(v5): delete it
141
- * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
142
- */
143
- const TUI_SELECT_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_SELECT_OPTIONS' : '', {
144
- factory: () => TUI_SELECT_DEFAULT_OPTIONS,
145
- });
146
- /**
147
- * TODO(v5): delete it
148
- * @deprecated use {@link https://taiga-ui.dev/components/select#override-option-component tuiAsOptionContent} with new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
149
- */
150
- function tuiSelectOptionsProvider(options) {
151
- return tuiProvideOptions(TUI_SELECT_OPTIONS, options, TUI_SELECT_DEFAULT_OPTIONS);
152
- }
153
-
154
- /**
155
- * TODO(v5): delete it
156
- * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
157
- */
158
- class TuiSelectComponent extends AbstractTuiNullableControl {
159
- constructor() {
160
- super(...arguments);
161
- this.itemsHandlers = inject(TUI_ITEMS_HANDLERS);
162
- this.textfieldCleaner = inject(TUI_TEXTFIELD_CLEANER);
163
- this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
164
- this.arrowMode = inject(TUI_ARROW_MODE);
165
- this.options = inject(TUI_SELECT_OPTIONS);
166
- this.isMobile = inject(TUI_IS_MOBILE);
167
- this.open = false;
168
- this.stringify = this.itemsHandlers.stringify;
169
- this.identityMatcher = this.itemsHandlers.identityMatcher;
170
- this.valueContent = this.options.valueContent;
171
- }
172
- get size() {
173
- return this.textfieldSize.size;
174
- }
175
- get nativeFocusableElement() {
176
- return this.textfield?.nativeFocusableElement ?? null;
177
- }
178
- get focused() {
179
- return (tuiIsNativeFocused(this.nativeFocusableElement) ||
180
- !!this.dropdown?.tuiDropdownOpen);
181
- }
182
- get computedValue() {
183
- return this.value === null ? '' : this.stringify(this.value) || ' ';
184
- }
185
- onValueChange(value) {
186
- this.value = value || null;
187
- }
188
- handleOption(option) {
189
- this.focusInput();
190
- this.value = option;
191
- this.open = false;
192
- }
193
- get arrow() {
194
- return !this.interactive ? this.arrowMode.disabled : this.arrowMode.interactive;
195
- }
196
- get nativeDropdownMode() {
197
- return !!this.nativeSelect && this.isMobile;
198
- }
199
- get computedContent() {
200
- return this.valueContent || this.computedValue;
201
- }
202
- onActiveZone(active) {
203
- this.updateFocused(active);
204
- }
205
- onKeyDownDelete() {
206
- if (this.textfieldCleaner.cleaner) {
207
- this.value = null;
208
- }
209
- }
210
- focusInput(preventScroll = false) {
211
- if (this.nativeFocusableElement) {
212
- this.nativeFocusableElement.focus({ preventScroll });
213
- }
214
- }
215
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
216
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiSelectComponent, selector: "tui-select", inputs: { stringify: "stringify", identityMatcher: "identityMatcher", valueContent: "valueContent" }, host: { properties: { "attr.data-size": "size" } }, providers: [
217
- tuiAsFocusableItemAccessor(TuiSelectComponent),
218
- tuiAsControl(TuiSelectComponent),
219
- tuiAsDataListHost(TuiSelectComponent),
220
- tuiAsOptionContent(TUI_SELECT_OPTION),
221
- ], queries: [{ propertyName: "nativeSelect", first: true, predicate: AbstractTuiNativeSelect, descendants: true, static: true }, { propertyName: "datalist", first: true, predicate: TuiDataListDirective, descendants: true, read: TemplateRef }], viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }, { propertyName: "dropdown", first: true, predicate: TuiDropdownOpen, descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1$1.TuiDropdownFixed }], ngImport: i0, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"interactive && !nativeDropdownMode\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-select__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [editable]=\"false\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"arrow ? icon : ''\"\n [value]=\"computedValue\"\n (keydown.backspace.prevent)=\"onKeyDownDelete()\"\n (keydown.delete.prevent)=\"onKeyDownDelete()\"\n (valueChange)=\"onValueChange($any($event))\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n\n <ng-container\n *ngIf=\"isMobile\"\n ngProjectAs=\"select\"\n >\n <ng-content select=\"select\" />\n </ng-container>\n\n <div\n *ngIf=\"value !== null\"\n automation-id=\"tui-select__value\"\n ngProjectAs=\"tuiContent\"\n class=\"t-value\"\n >\n <div\n *polymorpheusOutlet=\"computedContent as text; context: {$implicit: value, active: computedFocused}\"\n class=\"t-primitive-value\"\n [textContent]=\"text\"\n ></div>\n </div>\n </tui-primitive-textfield>\n\n <ng-template #icon>\n <div\n appearance=\"icon\"\n tuiWrapper\n class=\"t-icon\"\n >\n <ng-container *polymorpheusOutlet=\"arrow\" />\n </div>\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host:not(._readonly) ::ng-deep input:not(:disabled){cursor:pointer}:host._readonly ::ng-deep input{cursor:default}:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-value{display:flex;inline-size:100%;align-items:center}.t-primitive-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$1.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: i4$1.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i4$1.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i5.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { kind: "directive", type: i5.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i5.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }, { kind: "directive", type: i1$1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i1$1.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
222
- }
223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSelectComponent, decorators: [{
224
- type: Component,
225
- args: [{ standalone: false, selector: 'tui-select', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
226
- tuiAsFocusableItemAccessor(TuiSelectComponent),
227
- tuiAsControl(TuiSelectComponent),
228
- tuiAsDataListHost(TuiSelectComponent),
229
- tuiAsOptionContent(TUI_SELECT_OPTION),
230
- ], hostDirectives: [TuiDropdownFixed], host: {
231
- '[attr.data-size]': 'size',
232
- }, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"interactive && !nativeDropdownMode\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-select__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [editable]=\"false\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"arrow ? icon : ''\"\n [value]=\"computedValue\"\n (keydown.backspace.prevent)=\"onKeyDownDelete()\"\n (keydown.delete.prevent)=\"onKeyDownDelete()\"\n (valueChange)=\"onValueChange($any($event))\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n\n <ng-container\n *ngIf=\"isMobile\"\n ngProjectAs=\"select\"\n >\n <ng-content select=\"select\" />\n </ng-container>\n\n <div\n *ngIf=\"value !== null\"\n automation-id=\"tui-select__value\"\n ngProjectAs=\"tuiContent\"\n class=\"t-value\"\n >\n <div\n *polymorpheusOutlet=\"computedContent as text; context: {$implicit: value, active: computedFocused}\"\n class=\"t-primitive-value\"\n [textContent]=\"text\"\n ></div>\n </div>\n </tui-primitive-textfield>\n\n <ng-template #icon>\n <div\n appearance=\"icon\"\n tuiWrapper\n class=\"t-icon\"\n >\n <ng-container *polymorpheusOutlet=\"arrow\" />\n </div>\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host:not(._readonly) ::ng-deep input:not(:disabled){cursor:pointer}:host._readonly ::ng-deep input{cursor:default}:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-value{display:flex;inline-size:100%;align-items:center}.t-primitive-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n"] }]
233
- }], propDecorators: { textfield: [{
234
- type: ViewChild,
235
- args: [TuiPrimitiveTextfieldComponent]
236
- }], dropdown: [{
237
- type: ViewChild,
238
- args: [TuiDropdownOpen]
239
- }], nativeSelect: [{
240
- type: ContentChild,
241
- args: [AbstractTuiNativeSelect, { static: true }]
242
- }], datalist: [{
243
- type: ContentChild,
244
- args: [TuiDataListDirective, { read: TemplateRef }]
245
- }], stringify: [{
246
- type: Input
247
- }], identityMatcher: [{
248
- type: Input
249
- }], valueContent: [{
250
- type: Input
251
- }] } });
252
-
253
- /**
254
- * TODO(v5): delete it
255
- * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
256
- */
257
- class TuiSelectDirective extends AbstractTuiTextfieldHost {
258
- get readOnly() {
259
- return true;
260
- }
261
- get value() {
262
- return this.host.computedValue;
263
- }
264
- get stringify() {
265
- return this.host.stringify;
266
- }
267
- onValueChange(value) {
268
- this.host.onValueChange(value);
269
- }
270
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSelectDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
271
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiSelectDirective, selector: "tui-select", providers: [tuiAsTextfieldHost(TuiSelectDirective)], usesInheritance: true, ngImport: i0 }); }
272
- }
273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSelectDirective, decorators: [{
274
- type: Directive,
275
- args: [{
276
- standalone: false,
277
- selector: 'tui-select',
278
- providers: [tuiAsTextfieldHost(TuiSelectDirective)],
279
- }]
280
- }] });
281
-
282
- /**
283
- * TODO(v5): delete it
284
- * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
285
- */
286
- class TuiSelectModule {
287
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
288
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiSelectModule, declarations: [TuiSelectComponent,
289
- TuiSelectDirective,
290
- TuiNativeSelectComponent,
291
- TuiNativeSelectGroupComponent], imports: [CommonModule,
292
- PolymorpheusOutlet,
293
- PolymorpheusTemplate,
294
- TuiPrimitiveTextfieldModule,
295
- TuiSelectOptionModule,
296
- TuiArrowComponent,
297
- TuiWrapperModule,
298
- TuiTextfieldControllerModule,
299
- TuiStringifyContentPipe,
300
- TuiLegacyDropdownOpenMonitorDirective, i1$1.TuiDropdownOptionsDirective, i1$1.TuiDropdownDriverDirective, i1$1.TuiDropdownDirective, i1$1.TuiDropdownComponent, i1$1.TuiDropdownOpen, i1$1.TuiDropdownOpenLegacy, i1$1.TuiDropdownPortal, i1$1.TuiDropdownManual, i1$1.TuiDropdownHover, i1$1.TuiDropdownContext, i1$1.TuiDropdownPosition, i1$1.TuiDropdownPositionSided, i1$1.TuiDropdownSelection, i2.TuiDataListComponent, i2.TuiDataListDirective, i2.TuiOption, i2.TuiOptionNew, i2.TuiOptionWithValue, i2.TuiOptGroup, i3.TuiDataListWrapperComponent, i3.TuiDataListGroupWrapperComponent, i2.TuiDataListDirective], exports: [TuiSelectComponent,
301
- TuiSelectDirective,
302
- TuiTextfieldComponent,
303
- TuiNativeSelectComponent,
304
- TuiNativeSelectGroupComponent, i1$1.TuiDropdownOptionsDirective, i1$1.TuiDropdownDriverDirective, i1$1.TuiDropdownDirective, i1$1.TuiDropdownComponent, i1$1.TuiDropdownOpen, i1$1.TuiDropdownOpenLegacy, i1$1.TuiDropdownPortal, i1$1.TuiDropdownManual, i1$1.TuiDropdownHover, i1$1.TuiDropdownContext, i1$1.TuiDropdownPosition, i1$1.TuiDropdownPositionSided, i1$1.TuiDropdownSelection, i2.TuiDataListComponent, i2.TuiDataListDirective, i2.TuiOption, i2.TuiOptionNew, i2.TuiOptionWithValue, i2.TuiOptGroup, i3.TuiDataListWrapperComponent, i3.TuiDataListGroupWrapperComponent, i2.TuiDataListDirective] }); }
305
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSelectModule, imports: [CommonModule,
306
- TuiPrimitiveTextfieldModule,
307
- TuiSelectOptionModule,
308
- TuiArrowComponent,
309
- TuiWrapperModule,
310
- TuiTextfieldControllerModule, i1$1.TuiDropdownComponent, i2.TuiDataListComponent, i2.TuiOption, i3.TuiDataListWrapperComponent, i3.TuiDataListGroupWrapperComponent] }); }
311
- }
312
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSelectModule, decorators: [{
313
- type: NgModule,
314
- args: [{
315
- imports: [
316
- CommonModule,
317
- PolymorpheusOutlet,
318
- PolymorpheusTemplate,
319
- TuiPrimitiveTextfieldModule,
320
- TuiSelectOptionModule,
321
- TuiArrowComponent,
322
- TuiWrapperModule,
323
- TuiTextfieldControllerModule,
324
- TuiStringifyContentPipe,
325
- TuiLegacyDropdownOpenMonitorDirective,
326
- ...TuiDropdown,
327
- ...TuiDataList,
328
- ...TuiDataListWrapper,
329
- ],
330
- declarations: [
331
- TuiSelectComponent,
332
- TuiSelectDirective,
333
- TuiNativeSelectComponent,
334
- TuiNativeSelectGroupComponent,
335
- ],
336
- exports: [
337
- TuiSelectComponent,
338
- TuiSelectDirective,
339
- TuiTextfieldComponent,
340
- TuiNativeSelectComponent,
341
- TuiNativeSelectGroupComponent,
342
- ...TuiDropdown,
343
- ...TuiDataList,
344
- ...TuiDataListWrapper,
345
- ],
346
- }]
347
- }] });
348
-
349
- /**
350
- * Generated bundle index. Do not edit.
351
- */
352
-
353
- export { TUI_SELECT_DEFAULT_OPTIONS, TUI_SELECT_OPTIONS, TuiNativeSelectComponent, TuiNativeSelectGroupComponent, TuiSelectComponent, TuiSelectDirective, TuiSelectModule, tuiSelectOptionsProvider };
354
- //# sourceMappingURL=taiga-ui-legacy-components-select.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-select.mjs","sources":["../../../projects/legacy/components/select/native-select/native-select.component.ts","../../../projects/legacy/components/select/native-select/native-select.template.html","../../../projects/legacy/components/select/native-select/native-select-group.component.ts","../../../projects/legacy/components/select/native-select/native-select-group.template.html","../../../projects/legacy/components/select/select.options.ts","../../../projects/legacy/components/select/select.component.ts","../../../projects/legacy/components/select/select.template.html","../../../projects/legacy/components/select/select.directive.ts","../../../projects/legacy/components/select/select.module.ts","../../../projects/legacy/components/select/taiga-ui-legacy-components-select.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Input, TemplateRef} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {tuiAsDataList} from '@taiga-ui/core/components/data-list';\nimport {type TuiItemsHandlers} from '@taiga-ui/kit/tokens';\nimport {AbstractTuiNativeSelect} from '@taiga-ui/legacy/classes';\n\nimport {type TuiSelectDirective} from '../select.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use native picker from new version of {@link https://taiga-ui.dev/components/select#native-picker-disabled-option TuiSelect} (from @taiga-ui/kit) instead\n */\n@Component({\n standalone: false,\n selector: 'select[tuiSelect]:not([labels]):not([multiple])',\n templateUrl: './native-select.template.html',\n styleUrls: ['./native-select.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsDataList(TuiNativeSelectComponent),\n tuiProvide(AbstractTuiNativeSelect, TuiNativeSelectComponent),\n {\n provide: TemplateRef,\n deps: [TuiNativeSelectComponent],\n useFactory: ({datalist}: TuiNativeSelectComponent<unknown>) => datalist,\n },\n ],\n host: {\n '[attr.aria-invalid]': 'host.invalid',\n '[disabled]': 'host.disabled || control.readOnly',\n '[tabIndex]': 'host.focusable ? 0 : -1',\n '[value]': 'host.value',\n '(change)':\n 'onValueChange($event.target.options.selectedIndex - (emptyOption ? 1 : 0))',\n },\n})\nexport class TuiNativeSelectComponent<T> extends AbstractTuiNativeSelect<\n TuiSelectDirective,\n T\n> {\n @Input()\n public items: readonly T[] | null = [];\n\n protected get stringify(): TuiItemsHandlers<T>['stringify'] {\n return this.host.stringify;\n }\n\n protected selected(option: T): boolean {\n return this.control.value === option;\n }\n\n protected onValueChange(index: number): void {\n this.host.onValueChange(this.items?.[index] || null);\n }\n}\n","<tui-data-list-wrapper\n *tuiDataList\n [disabledItemHandler]=\"disabledItemHandler || itemsHandlers.disabledItemHandler\"\n [itemContent]=\"stringify | tuiStringifyContent\"\n [items]=\"items\"\n/>\n<ng-container *ngIf=\"control.control?.valueChanges | async\" />\n<option\n *ngIf=\"emptyOption\"\n disabled\n selected\n value=\"\"\n>\n {{ placeholder }}\n</option>\n<option\n *ngFor=\"let option of items; let index = index\"\n [disabled]=\"disabledItemHandler ? disabledItemHandler(option) : itemsHandlers.disabledItemHandler(option)\"\n [selected]=\"selected(option)\"\n [value]=\"stringify(option)\"\n>\n {{ stringify(option) }}\n</option>\n","import {ChangeDetectionStrategy, Component, Input, TemplateRef} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {tuiAsDataList} from '@taiga-ui/core/components/data-list';\nimport {type TuiItemsHandlers} from '@taiga-ui/kit/tokens';\nimport {AbstractTuiNativeSelect} from '@taiga-ui/legacy/classes';\n\nimport {type TuiSelectDirective} from '../select.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use native picker from new version of {@link https://taiga-ui.dev/components/select#native-picker-groups TuiSelect} (from @taiga-ui/kit) instead\n */\n@Component({\n standalone: false,\n selector: 'select[tuiSelect][labels]:not([multiple])',\n templateUrl: './native-select-group.template.html',\n styleUrls: ['./native-select.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsDataList(TuiNativeSelectGroupComponent),\n tuiProvide(AbstractTuiNativeSelect, TuiNativeSelectGroupComponent),\n {\n provide: TemplateRef,\n deps: [TuiNativeSelectGroupComponent],\n useFactory: ({datalist}: TuiNativeSelectGroupComponent<unknown>) => datalist,\n },\n ],\n host: {\n '[attr.aria-invalid]': 'host.invalid',\n '[disabled]': 'host.disabled || control.readOnly',\n '[tabIndex]': 'host.focusable ? 0 : -1',\n '[value]': 'host.value',\n '(change)':\n 'onValueChange($event.target.options.selectedIndex - (emptyOption ? 1 : 0))',\n },\n})\nexport class TuiNativeSelectGroupComponent<T> extends AbstractTuiNativeSelect<\n TuiSelectDirective,\n T\n> {\n @Input()\n public items: readonly T[][] | null = [];\n\n @Input()\n public labels: readonly string[] = [];\n\n protected get stringify(): TuiItemsHandlers<T>['stringify'] {\n return this.host.stringify;\n }\n\n protected selected(option: T): boolean {\n return this.control.value === option;\n }\n\n protected onValueChange(index: number): void {\n const flatItems = this.items?.reduce((acc, val) => acc.concat(val), []);\n\n this.host.onValueChange(flatItems?.[index] || null);\n }\n}\n","<tui-data-list-wrapper\n *tuiDataList\n [disabledItemHandler]=\"disabledItemHandler || itemsHandlers.disabledItemHandler\"\n [itemContent]=\"stringify | tuiStringifyContent\"\n [items]=\"items\"\n [labels]=\"labels\"\n/>\n<ng-container *ngIf=\"control.control?.valueChanges | async\" />\n<option\n *ngIf=\"emptyOption\"\n disabled\n selected\n value=\"\"\n>\n {{ placeholder }}\n</option>\n<optgroup\n *ngFor=\"let group of items; let index = index\"\n [label]=\"labels[index]\"\n>\n <option\n *ngFor=\"let option of group; let i = index\"\n [disabled]=\"disabledItemHandler ? disabledItemHandler(option) : itemsHandlers.disabledItemHandler(option)\"\n [selected]=\"selected(option)\"\n [value]=\"stringify(option)\"\n >\n {{ stringify(option) }}\n </option>\n</optgroup>\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiValueContentContext} from '@taiga-ui/core/types';\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/select TuiSelect} (from @taiga-ui/kit) instead\n */\nexport interface TuiSelectOptions<T> {\n readonly valueContent: PolymorpheusContent<TuiValueContentContext<T>>;\n}\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead\n */\nexport const TUI_SELECT_DEFAULT_OPTIONS: TuiSelectOptions<unknown> = {\n valueContent: '',\n};\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead\n */\nexport const TUI_SELECT_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_SELECT_OPTIONS' : '',\n {\n factory: () => TUI_SELECT_DEFAULT_OPTIONS,\n },\n);\n\n/**\n * TODO(v5): delete it\n * @deprecated use {@link https://taiga-ui.dev/components/select#override-option-component tuiAsOptionContent} with new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead\n */\nexport function tuiSelectOptionsProvider<T>(\n options: Partial<TuiSelectOptions<T>>,\n): Provider {\n return tuiProvideOptions(TUI_SELECT_OPTIONS, options, TUI_SELECT_DEFAULT_OPTIONS);\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n inject,\n Input,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {type TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiIsNativeFocused} from '@taiga-ui/cdk/utils/focus';\nimport {\n tuiAsDataListHost,\n tuiAsOptionContent,\n TuiDataListDirective,\n type TuiDataListHost,\n} from '@taiga-ui/core/components/data-list';\nimport {TuiDropdownFixed, TuiDropdownOpen} from '@taiga-ui/core/directives/dropdown';\nimport {\n type TuiSizeL,\n type TuiSizeM,\n type TuiSizeS,\n type TuiValueContentContext,\n} from '@taiga-ui/core/types';\nimport {TUI_ITEMS_HANDLERS, type TuiItemsHandlers} from '@taiga-ui/kit/tokens';\nimport {\n AbstractTuiNativeSelect,\n AbstractTuiNullableControl,\n tuiAsControl,\n} from '@taiga-ui/legacy/classes';\nimport {TUI_ARROW_MODE} from '@taiga-ui/legacy/components/arrow';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TUI_SELECT_OPTION} from '@taiga-ui/legacy/components/select-option';\nimport {TUI_TEXTFIELD_CLEANER, TUI_TEXTFIELD_SIZE} 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\nimport {TUI_SELECT_OPTIONS, type TuiSelectOptions} from './select.options';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead\n */\n@Component({\n standalone: false,\n selector: 'tui-select',\n templateUrl: './select.template.html',\n styleUrls: ['./select.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiSelectComponent),\n tuiAsControl(TuiSelectComponent),\n tuiAsDataListHost(TuiSelectComponent),\n tuiAsOptionContent(TUI_SELECT_OPTION),\n ],\n hostDirectives: [TuiDropdownFixed],\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiSelectComponent<T>\n extends AbstractTuiNullableControl<T>\n implements TuiFocusableElementAccessor, TuiDataListHost<T>\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n @ViewChild(TuiDropdownOpen)\n private readonly dropdown?: TuiDropdownOpen;\n\n @ContentChild(AbstractTuiNativeSelect, {static: true})\n private readonly nativeSelect?: AbstractTuiNativeSelect;\n\n private readonly itemsHandlers = inject<TuiItemsHandlers<T>>(TUI_ITEMS_HANDLERS);\n private readonly textfieldCleaner = inject(TUI_TEXTFIELD_CLEANER);\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n private readonly arrowMode = inject(TUI_ARROW_MODE);\n private readonly options = inject(TUI_SELECT_OPTIONS);\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;\n\n protected readonly isMobile = inject(TUI_IS_MOBILE);\n protected open = false;\n\n @Input()\n public stringify: TuiItemsHandlers<T>['stringify'] = this.itemsHandlers.stringify;\n\n @Input()\n public identityMatcher: TuiItemsHandlers<T>['identityMatcher'] =\n this.itemsHandlers.identityMatcher;\n\n @Input()\n public valueContent: TuiSelectOptions<T>['valueContent'] = this.options.valueContent;\n\n public get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n public get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield?.nativeFocusableElement ?? null;\n }\n\n public get focused(): boolean {\n return (\n tuiIsNativeFocused(this.nativeFocusableElement) ||\n !!this.dropdown?.tuiDropdownOpen\n );\n }\n\n public get computedValue(): string {\n return this.value === null ? '' : this.stringify(this.value) || ' ';\n }\n\n public onValueChange(value: T): void {\n this.value = value || null;\n }\n\n public handleOption(option: T): void {\n this.focusInput();\n this.value = option;\n this.open = false;\n }\n\n protected get arrow(): PolymorpheusContent<\n TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>\n > {\n return !this.interactive ? this.arrowMode.disabled : this.arrowMode.interactive;\n }\n\n protected get nativeDropdownMode(): boolean {\n return !!this.nativeSelect && this.isMobile;\n }\n\n protected get computedContent(): PolymorpheusContent<TuiValueContentContext<T>> {\n return this.valueContent || this.computedValue;\n }\n\n protected onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n protected onKeyDownDelete(): void {\n if (this.textfieldCleaner.cleaner) {\n this.value = null;\n }\n }\n\n private focusInput(preventScroll = false): void {\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.focus({preventScroll});\n }\n }\n}\n","<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"interactive && !nativeDropdownMode\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-select__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [editable]=\"false\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"arrow ? icon : ''\"\n [value]=\"computedValue\"\n (keydown.backspace.prevent)=\"onKeyDownDelete()\"\n (keydown.delete.prevent)=\"onKeyDownDelete()\"\n (valueChange)=\"onValueChange($any($event))\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n\n <ng-container\n *ngIf=\"isMobile\"\n ngProjectAs=\"select\"\n >\n <ng-content select=\"select\" />\n </ng-container>\n\n <div\n *ngIf=\"value !== null\"\n automation-id=\"tui-select__value\"\n ngProjectAs=\"tuiContent\"\n class=\"t-value\"\n >\n <div\n *polymorpheusOutlet=\"computedContent as text; context: {$implicit: value, active: computedFocused}\"\n class=\"t-primitive-value\"\n [textContent]=\"text\"\n ></div>\n </div>\n </tui-primitive-textfield>\n\n <ng-template #icon>\n <div\n appearance=\"icon\"\n tuiWrapper\n class=\"t-icon\"\n >\n <ng-container *polymorpheusOutlet=\"arrow\" />\n </div>\n </ng-template>\n</div>\n","import {Directive} from '@angular/core';\nimport {type TuiItemsHandlers} from '@taiga-ui/kit/tokens';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {type TuiSelectComponent} from './select.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-select',\n providers: [tuiAsTextfieldHost(TuiSelectDirective)],\n})\nexport class TuiSelectDirective extends AbstractTuiTextfieldHost<\n TuiSelectComponent<unknown>\n> {\n public override get readOnly(): boolean {\n return true;\n }\n\n public override get value(): string {\n return this.host.computedValue;\n }\n\n public get stringify(): TuiItemsHandlers<unknown>['stringify'] {\n return this.host.stringify;\n }\n\n public onValueChange(value: unknown): void {\n this.host.onValueChange(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiDataList} from '@taiga-ui/core/components/data-list';\nimport {TuiDropdown} from '@taiga-ui/core/directives/dropdown';\nimport {TuiDataListWrapper} from '@taiga-ui/kit/components/data-list-wrapper';\nimport {TuiStringifyContentPipe} from '@taiga-ui/kit/pipes/stringify-content';\nimport {TuiArrowComponent} from '@taiga-ui/legacy/components/arrow';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TuiSelectOptionModule} from '@taiga-ui/legacy/components/select-option';\nimport {\n TuiLegacyDropdownOpenMonitorDirective,\n TuiTextfieldControllerModule,\n TuiWrapperModule,\n} from '@taiga-ui/legacy/directives';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiNativeSelectComponent} from './native-select/native-select.component';\nimport {TuiNativeSelectGroupComponent} from './native-select/native-select-group.component';\nimport {TuiSelectComponent} from './select.component';\nimport {TuiSelectDirective} from './select.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n TuiPrimitiveTextfieldModule,\n TuiSelectOptionModule,\n TuiArrowComponent,\n TuiWrapperModule,\n TuiTextfieldControllerModule,\n TuiStringifyContentPipe,\n TuiLegacyDropdownOpenMonitorDirective,\n ...TuiDropdown,\n ...TuiDataList,\n ...TuiDataListWrapper,\n ],\n declarations: [\n TuiSelectComponent,\n TuiSelectDirective,\n TuiNativeSelectComponent,\n TuiNativeSelectGroupComponent,\n ],\n exports: [\n TuiSelectComponent,\n TuiSelectDirective,\n TuiTextfieldComponent,\n TuiNativeSelectComponent,\n TuiNativeSelectGroupComponent,\n ...TuiDropdown,\n ...TuiDataList,\n ...TuiDataListWrapper,\n ],\n})\nexport class TuiSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i3","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA;;;AAGG;AACH,MAwBa,wBAA4B,SAAQ,uBAGhD,CAAA;AA3BD,IAAA,WAAA,GAAA;;QA6BW,IAAK,CAAA,KAAA,GAAwB,EAAE,CAAC;AAa1C,KAAA;AAXG,IAAA,IAAc,SAAS,GAAA;AACnB,QAAA,OAAO,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC;KAC9B;AAES,IAAA,QA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