@taiga-ui/legacy 4.52.0-canary.6c67ccf → 4.52.0-canary.6ee9658

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 (290) hide show
  1. package/README.md +1 -1
  2. package/classes/abstract-textfield-host.d.ts +1 -1
  3. package/components/arrow/arrow.options.d.ts +1 -3
  4. package/components/arrow/arrow.providers.d.ts +1 -6
  5. package/components/dialog/dialog.component.d.ts +19 -0
  6. package/components/dialog/dialog.directive.d.ts +8 -0
  7. package/components/dialog/dialog.factory.d.ts +16 -0
  8. package/components/dialog/dialog.interfaces.d.ts +30 -0
  9. package/components/dialog/dialog.service.d.ts +10 -0
  10. package/components/dialog/dialog.tokens.d.ts +6 -0
  11. package/components/dialog/index.d.ts +6 -0
  12. package/components/index.d.ts +3 -28
  13. package/components/mobile-dialog/index.d.ts +3 -0
  14. package/components/mobile-dialog/mobile-dialog.component.d.ts +10 -0
  15. package/components/mobile-dialog/mobile-dialog.options.d.ts +10 -0
  16. package/components/mobile-dialog/mobile-dialog.service.d.ts +14 -0
  17. package/components/pdf-viewer/index.d.ts +4 -0
  18. package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
  19. package/components/pdf-viewer/pdf-viewer.directive.d.ts +8 -0
  20. package/components/pdf-viewer/pdf-viewer.options.d.ts +11 -0
  21. package/components/pdf-viewer/pdf-viewer.service.d.ts +17 -0
  22. package/components/primitive-textfield/primitive-textfield-options.d.ts +2 -2
  23. package/components/primitive-textfield/primitive-textfield.module.d.ts +5 -5
  24. package/components/select/select.module.d.ts +8 -8
  25. package/components/select/select.options.d.ts +1 -7
  26. package/components/select-option/select-option.module.d.ts +3 -3
  27. package/directives/textfield-controller/textfield.options.d.ts +1 -3
  28. package/fesm2022/taiga-ui-legacy-classes.mjs +3 -4
  29. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +4 -17
  31. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +136 -0
  33. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  34. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +62 -0
  35. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -0
  36. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +88 -0
  37. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
  38. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +18 -18
  39. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +6 -6
  41. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-legacy-components-select.mjs +30 -40
  43. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-legacy-components.mjs +3 -28
  45. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -1
  47. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +2 -7
  49. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +2 -4
  51. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-legacy-tokens.mjs +1 -1
  53. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-legacy-utils.mjs +1 -7
  55. package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-legacy.mjs +0 -2
  57. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  58. package/index.d.ts +0 -2
  59. package/package.json +34 -151
  60. package/utils/icons-path-factory.d.ts +1 -1
  61. package/utils/index.d.ts +0 -1
  62. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  63. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  64. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  65. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  66. package/components/color-selector/color-selector.component.d.ts +0 -47
  67. package/components/color-selector/color-selector.module.d.ts +0 -24
  68. package/components/color-selector/color-selector.options.d.ts +0 -25
  69. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  70. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  71. package/components/color-selector/index.d.ts +0 -16
  72. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  73. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  74. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  75. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  76. package/components/color-selector/palette/palette.component.d.ts +0 -10
  77. package/components/color-selector/palette/palette.module.d.ts +0 -13
  78. package/components/color-selector/services/picker.service.d.ts +0 -15
  79. package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
  80. package/components/combo-box/combo-box.component.d.ts +0 -52
  81. package/components/combo-box/combo-box.directive.d.ts +0 -13
  82. package/components/combo-box/combo-box.module.d.ts +0 -20
  83. package/components/combo-box/index.d.ts +0 -4
  84. package/components/input/index.d.ts +0 -3
  85. package/components/input/input.component.d.ts +0 -32
  86. package/components/input/input.directive.d.ts +0 -12
  87. package/components/input/input.module.d.ts +0 -16
  88. package/components/input-color/index.d.ts +0 -2
  89. package/components/input-color/input-color.component.d.ts +0 -30
  90. package/components/input-color/input-color.module.d.ts +0 -17
  91. package/components/input-copy/index.d.ts +0 -4
  92. package/components/input-copy/input-copy.component.d.ts +0 -33
  93. package/components/input-copy/input-copy.directive.d.ts +0 -11
  94. package/components/input-copy/input-copy.module.d.ts +0 -18
  95. package/components/input-copy/input-copy.options.d.ts +0 -26
  96. package/components/input-date/index.d.ts +0 -3
  97. package/components/input-date/input-date.component.d.ts +0 -62
  98. package/components/input-date/input-date.directive.d.ts +0 -19
  99. package/components/input-date/input-date.module.d.ts +0 -24
  100. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  101. package/components/input-date-multi/index.d.ts +0 -2
  102. package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
  103. package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
  104. package/components/input-date-range/index.d.ts +0 -3
  105. package/components/input-date-range/input-date-range.component.d.ts +0 -67
  106. package/components/input-date-range/input-date-range.directive.d.ts +0 -16
  107. package/components/input-date-range/input-date-range.module.d.ts +0 -22
  108. package/components/input-date-time/index.d.ts +0 -3
  109. package/components/input-date-time/input-date-time.component.d.ts +0 -87
  110. package/components/input-date-time/input-date-time.directive.d.ts +0 -17
  111. package/components/input-date-time/input-date-time.module.d.ts +0 -23
  112. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
  113. package/components/input-month/index.d.ts +0 -3
  114. package/components/input-month/input-month.component.d.ts +0 -44
  115. package/components/input-month/input-month.directive.d.ts +0 -19
  116. package/components/input-month/input-month.module.d.ts +0 -19
  117. package/components/input-month-range/index.d.ts +0 -3
  118. package/components/input-month-range/input-month-range.component.d.ts +0 -38
  119. package/components/input-month-range/input-month-range.directive.d.ts +0 -23
  120. package/components/input-month-range/input-month-range.module.d.ts +0 -18
  121. package/components/input-number/index.d.ts +0 -4
  122. package/components/input-number/input-number.component.d.ts +0 -63
  123. package/components/input-number/input-number.directive.d.ts +0 -16
  124. package/components/input-number/input-number.module.d.ts +0 -18
  125. package/components/input-number/input-number.options.d.ts +0 -29
  126. package/components/input-password/index.d.ts +0 -4
  127. package/components/input-password/input-password.component.d.ts +0 -33
  128. package/components/input-password/input-password.directive.d.ts +0 -15
  129. package/components/input-password/input-password.module.d.ts +0 -19
  130. package/components/input-password/input-password.options.d.ts +0 -25
  131. package/components/input-phone/index.d.ts +0 -4
  132. package/components/input-phone/input-phone.component.d.ts +0 -49
  133. package/components/input-phone/input-phone.directive.d.ts +0 -13
  134. package/components/input-phone/input-phone.module.d.ts +0 -12
  135. package/components/input-phone/input-phone.options.d.ts +0 -13
  136. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  137. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  138. package/components/input-phone/utils/index.d.ts +0 -2
  139. package/components/input-phone-international/index.d.ts +0 -3
  140. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  141. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  142. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  143. package/components/input-range/index.d.ts +0 -2
  144. package/components/input-range/input-range.component.d.ts +0 -56
  145. package/components/input-range/input-range.module.d.ts +0 -19
  146. package/components/input-slider/index.d.ts +0 -2
  147. package/components/input-slider/input-slider.component.d.ts +0 -42
  148. package/components/input-slider/input-slider.module.d.ts +0 -18
  149. package/components/input-tag/index.d.ts +0 -3
  150. package/components/input-tag/input-tag.component.d.ts +0 -103
  151. package/components/input-tag/input-tag.module.d.ts +0 -22
  152. package/components/input-tag/input-tag.options.d.ts +0 -27
  153. package/components/input-time/index.d.ts +0 -4
  154. package/components/input-time/input-time.component.d.ts +0 -62
  155. package/components/input-time/input-time.directive.d.ts +0 -17
  156. package/components/input-time/input-time.module.d.ts +0 -23
  157. package/components/input-time/input-time.options.d.ts +0 -42
  158. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  159. package/components/input-year/index.d.ts +0 -3
  160. package/components/input-year/input-year.component.d.ts +0 -36
  161. package/components/input-year/input-year.directive.d.ts +0 -14
  162. package/components/input-year/input-year.module.d.ts +0 -18
  163. package/components/island/index.d.ts +0 -1
  164. package/components/island/island.directive.d.ts +0 -20
  165. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  166. package/components/multi-select/index.d.ts +0 -10
  167. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  168. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  169. package/components/multi-select/multi-select.component.d.ts +0 -71
  170. package/components/multi-select/multi-select.directive.d.ts +0 -14
  171. package/components/multi-select/multi-select.module.d.ts +0 -31
  172. package/components/multi-select/multi-select.options.d.ts +0 -14
  173. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  174. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  175. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  176. package/components/multi-select-option/index.d.ts +0 -2
  177. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  178. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  179. package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
  180. package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
  181. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -11
  182. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
  183. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
  184. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
  185. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
  186. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
  187. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
  188. package/components/sheet/index.d.ts +0 -14
  189. package/components/sheet/sheet-options.d.ts +0 -27
  190. package/components/sheet/sheet-tokens.d.ts +0 -18
  191. package/components/sheet/sheet.d.ts +0 -21
  192. package/components/sheet/sheet.directive.d.ts +0 -17
  193. package/components/sheet/sheet.module.d.ts +0 -24
  194. package/components/sheet/sheet.service.d.ts +0 -17
  195. package/components/svg/content-processor.d.ts +0 -19
  196. package/components/svg/deprecated-icons.d.ts +0 -5
  197. package/components/svg/index.d.ts +0 -5
  198. package/components/svg/svg-options.d.ts +0 -50
  199. package/components/svg/svg.component.d.ts +0 -50
  200. package/components/svg/svg.service.d.ts +0 -21
  201. package/components/table-bar/index.d.ts +0 -4
  202. package/components/table-bar/table-bar.component.d.ts +0 -17
  203. package/components/table-bar/table-bar.directive.d.ts +0 -11
  204. package/components/table-bar/table-bar.options.d.ts +0 -31
  205. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  206. package/components/table-bar/table-bars.service.d.ts +0 -11
  207. package/components/tag/index.d.ts +0 -3
  208. package/components/tag/tag.component.d.ts +0 -44
  209. package/components/tag/tag.module.d.ts +0 -16
  210. package/components/tag/tag.options.d.ts +0 -27
  211. package/components/textarea/index.d.ts +0 -3
  212. package/components/textarea/textarea.component.d.ts +0 -54
  213. package/components/textarea/textarea.directive.d.ts +0 -12
  214. package/components/textarea/textarea.module.d.ts +0 -21
  215. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
  216. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  217. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -300
  218. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  219. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  220. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  221. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
  222. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
  223. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
  224. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
  225. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -356
  226. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
  227. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
  228. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
  229. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  230. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  231. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
  232. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
  233. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
  234. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
  235. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -390
  236. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
  237. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  238. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  239. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  240. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  241. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
  242. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  243. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
  244. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
  245. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -199
  246. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
  247. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  248. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  249. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -430
  250. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  251. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  252. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  253. package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -156
  254. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
  255. package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
  256. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
  257. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  258. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  259. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -690
  260. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  261. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -577
  262. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
  263. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
  264. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  265. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -147
  266. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
  267. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -225
  268. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  269. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  270. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
  271. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
  272. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  273. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  274. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  275. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  276. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  277. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  278. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  279. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  280. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  281. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  282. package/pipes/format-phone/index.d.ts +0 -1
  283. package/pipes/index.d.ts +0 -3
  284. package/pipes/iso-to-country-code/index.d.ts +0 -1
  285. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  286. package/pipes/to-country-code/index.d.ts +0 -1
  287. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  288. package/services/index.d.ts +0 -1
  289. package/services/static-request.service.d.ts +0 -11
  290. package/utils/is-apple.d.ts +0 -5
package/README.md CHANGED
@@ -14,7 +14,7 @@ consisting of multiple base libraries and several add-ons
14
14
 
15
15
  ## How to install
16
16
 
17
- ```
17
+ ```bash
18
18
  npm i @taiga-ui/legacy
19
19
  ```
20
20
 
@@ -6,12 +6,12 @@ import * as i0 from "@angular/core";
6
6
  */
7
7
  export declare abstract class AbstractTuiTextfieldHost<T extends AbstractTuiControl<any>> implements TuiTextfieldHost {
8
8
  protected readonly host: T;
9
+ readonly inputMode: TuiTextfieldHost['inputMode'];
9
10
  abstract onValueChange(value: string): void;
10
11
  get readOnly(): boolean;
11
12
  get disabled(): boolean;
12
13
  get invalid(): boolean;
13
14
  get focusable(): boolean;
14
- get inputMode(): TuiTextfieldHost['inputMode'];
15
15
  get value(): string;
16
16
  process(_input: HTMLInputElement): void;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiTextfieldHost<any>, never>;
@@ -1,4 +1,3 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
1
  import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
2
  /**
4
3
  * @deprecated: drop in v5.0 use {@link TuiChevron}
@@ -15,5 +14,4 @@ export declare const TUI_ARROW_DEFAULT_OPTIONS: TuiArrowOptions;
15
14
  * @deprecated: drop in v5.0
16
15
  * Default parameters for arrow component
17
16
  */
18
- export declare const TUI_ARROW_OPTIONS: InjectionToken<TuiArrowOptions>;
19
- export declare function tuiArrowOptionsProvider(options: Partial<TuiArrowOptions>): Provider;
17
+ export declare const TUI_ARROW_OPTIONS: import("@angular/core").InjectionToken<TuiArrowOptions>, tuiArrowOptionsProvider: (item: Partial<TuiArrowOptions> | (() => Partial<TuiArrowOptions>)) => import("@angular/core").FactoryProvider;
@@ -1,4 +1,3 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
1
  import { type TuiContext } from '@taiga-ui/cdk/types';
3
2
  import { type TuiSizeL, type TuiSizeM, type TuiSizeS } from '@taiga-ui/core/types';
4
3
  import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
@@ -16,8 +15,4 @@ export declare const TUI_ARROW_DEFAULT_MODE: TuiArrowMode;
16
15
  /**
17
16
  * @deprecated: drop in v5.0 use {@link TuiChevron}
18
17
  */
19
- export declare const TUI_ARROW_MODE: InjectionToken<TuiArrowMode>;
20
- /**
21
- * @deprecated: drop in v5.0 use {@link TuiChevron}
22
- */
23
- export declare function tuiArrowModeProvider(options: Partial<TuiArrowMode>): Provider;
18
+ export declare const TUI_ARROW_MODE: import("@angular/core").InjectionToken<TuiArrowMode>, tuiArrowModeProvider: (item: Partial<TuiArrowMode> | (() => Partial<TuiArrowMode>)) => import("@angular/core").FactoryProvider;
@@ -0,0 +1,19 @@
1
+ import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
2
+ import { Subject } from 'rxjs';
3
+ import { type TuiDialogContext, type TuiDialogSize } from './dialog.interfaces';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@taiga-ui/cdk/directives/animated";
6
+ export declare class TuiDialogComponent<O, I> {
7
+ protected readonly close$: Subject<void>;
8
+ protected readonly context: TuiDialogContext<I, O>;
9
+ protected readonly closeWord: import("@angular/core").Signal<string>;
10
+ protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
11
+ protected readonly from: import("@angular/core").Signal<"translateY(100vh)" | "translateY(2.5rem)">;
12
+ protected readonly isMobile: import("@angular/core").Signal<boolean | undefined>;
13
+ constructor();
14
+ protected get size(): TuiDialogSize;
15
+ protected get header(): PolymorpheusContent<TuiDialogContext<I, O>>;
16
+ private close;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiDialogComponent<any, any>, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDialogComponent<any, any>, "tui-dialog-legacy", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
19
+ }
@@ -0,0 +1,8 @@
1
+ import { type TuiDialogOptions } from './dialog.interfaces';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@taiga-ui/cdk/portals";
4
+ export declare class TuiDialog<T> {
5
+ readonly tuiDialogOptions: import("@angular/core").InputSignal<Partial<TuiDialogOptions<T>>>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiDialog<any>, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDialog<any>, "ng-template[tuiDialog]", never, { "tuiDialogOptions": { "alias": "tuiDialogOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiPortalDirective; inputs: { "options": "tuiDialogOptions"; "open": "tuiDialog"; }; outputs: { "openChange": "tuiDialogChange"; }; }]>;
8
+ }
@@ -0,0 +1,16 @@
1
+ import { type Injector } from '@angular/core';
2
+ import { type Observable } from 'rxjs';
3
+ import { type TuiDialogContext, type TuiDialogOptions } from './dialog.interfaces';
4
+ type SingleUnionOrNever<T, U = T> = [T] extends [never] ? never : T extends U ? [U] extends [T] ? T : never : never;
5
+ type ReplaceAny<T> = 0 extends T & 1 ? void : T;
6
+ type ContextKeys<T> = {
7
+ [K in keyof T]: ReplaceAny<T[K]> extends TuiDialogContext<any, any> | null ? K : never;
8
+ }[keyof T];
9
+ type AssertNotMultipleContexts<T, K extends keyof T> = [K] extends [never] ? new (...args: any[]) => T : [SingleUnionOrNever<K>] extends [never] ? 'Component has multiple context. Cannot determine the type...' : new (...args: any[]) => T;
10
+ type ExtractDialogData<T, K extends keyof T = ContextKeys<T>> = [K] extends [never] ? void : [SingleUnionOrNever<K>] extends [never] ? never : T[K] extends TuiDialogContext<any, infer D> | null ? D : void;
11
+ type ExtractDialogResult<T, K extends keyof T = ContextKeys<T>> = [K] extends [never] ? void : [SingleUnionOrNever<K>] extends [never] ? never : T[K] extends TuiDialogContext<infer R, any> | null ? R : void;
12
+ type Options<T> = Omit<TuiDialogOptions<T>, 'data'> & {
13
+ injector: Injector;
14
+ };
15
+ export declare function tuiDialog<T, K extends ContextKeys<T>, D extends ExtractDialogData<T, K>, R extends ExtractDialogResult<T, K>>(component: AssertNotMultipleContexts<T, K>, { injector, ...options }?: Partial<Options<D>>): (data: D) => Observable<R>;
16
+ export {};
@@ -0,0 +1,30 @@
1
+ import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
2
+ import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
3
+ import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
+ import { type Observable } from 'rxjs';
5
+ export type TuiDialogSize = TuiSizeL | TuiSizeS | 'auto' | 'fullscreen' | 'page';
6
+ /**
7
+ * Options for a dialog
8
+ *
9
+ * appearance - data-appearance attribute of the dialog ('' by default)
10
+ * size - size of the dialog ('m' by default)
11
+ * required - closing dialog throws (false by default)
12
+ * closable - show close button (true by default)
13
+ * dismissible - close dialog by Esc button or click on overlay (true by default)
14
+ * label - string title for the dialog ('' by default)
15
+ * header - content above title ('' by default)
16
+ * data - arbitrary data for dialog
17
+ */
18
+ export interface TuiDialogOptions<I> {
19
+ readonly appearance: string;
20
+ readonly closable: Observable<boolean> | boolean;
21
+ readonly data: I extends void ? undefined : I & {
22
+ button?: string;
23
+ };
24
+ readonly dismissible: Observable<boolean> | boolean;
25
+ readonly header: PolymorpheusContent<TuiDialogContext<I, any>>;
26
+ readonly label: string;
27
+ readonly required: boolean;
28
+ readonly size: TuiDialogSize;
29
+ }
30
+ export type TuiDialogContext<O = void, I = undefined> = TuiPortalContext<TuiDialogOptions<I>, O>;
@@ -0,0 +1,10 @@
1
+ import { TuiModalService } from '@taiga-ui/core/components/modal';
2
+ import { TuiDialogComponent } from './dialog.component';
3
+ import { type TuiDialogOptions } from './dialog.interfaces';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TuiDialogService extends TuiModalService<TuiDialogOptions<any>> {
6
+ protected readonly options: TuiDialogOptions<void>;
7
+ protected readonly content: typeof TuiDialogComponent;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiDialogService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<TuiDialogService>;
10
+ }
@@ -0,0 +1,6 @@
1
+ import { type TuiDialogOptions } from './dialog.interfaces';
2
+ export declare const TUI_DIALOG_DEFAULT_OPTIONS: TuiDialogOptions<void>;
3
+ /**
4
+ * Default parameters for dialog component
5
+ */
6
+ export declare const TUI_DIALOG_OPTIONS: import("@angular/core").InjectionToken<TuiDialogOptions<void>>, tuiDialogOptionsProvider: (item: Partial<TuiDialogOptions<void>> | (() => Partial<TuiDialogOptions<void>>)) => import("@angular/core").FactoryProvider;
@@ -0,0 +1,6 @@
1
+ export * from './dialog.component';
2
+ export * from './dialog.directive';
3
+ export * from './dialog.factory';
4
+ export type * from './dialog.interfaces';
5
+ export * from './dialog.service';
6
+ export * from './dialog.tokens';
@@ -1,33 +1,8 @@
1
1
  export * from '@taiga-ui/legacy/components/arrow';
2
- export * from '@taiga-ui/legacy/components/color-selector';
3
- export * from '@taiga-ui/legacy/components/combo-box';
4
- export * from '@taiga-ui/legacy/components/input';
5
- export * from '@taiga-ui/legacy/components/input-color';
6
- export * from '@taiga-ui/legacy/components/input-copy';
7
- export * from '@taiga-ui/legacy/components/input-date';
8
- export * from '@taiga-ui/legacy/components/input-date-multi';
9
- export * from '@taiga-ui/legacy/components/input-date-range';
10
- export * from '@taiga-ui/legacy/components/input-date-time';
11
- export * from '@taiga-ui/legacy/components/input-month';
12
- export * from '@taiga-ui/legacy/components/input-month-range';
13
- export * from '@taiga-ui/legacy/components/input-number';
14
- export * from '@taiga-ui/legacy/components/input-password';
15
- export * from '@taiga-ui/legacy/components/input-phone';
16
- export * from '@taiga-ui/legacy/components/input-phone-international';
17
- export * from '@taiga-ui/legacy/components/input-range';
18
- export * from '@taiga-ui/legacy/components/input-slider';
19
- export * from '@taiga-ui/legacy/components/input-tag';
20
- export * from '@taiga-ui/legacy/components/input-time';
21
- export * from '@taiga-ui/legacy/components/input-year';
22
- export * from '@taiga-ui/legacy/components/island';
23
- export * from '@taiga-ui/legacy/components/multi-select';
24
- export * from '@taiga-ui/legacy/components/multi-select-option';
2
+ export * from '@taiga-ui/legacy/components/dialog';
3
+ export * from '@taiga-ui/legacy/components/mobile-dialog';
4
+ export * from '@taiga-ui/legacy/components/pdf-viewer';
25
5
  export * from '@taiga-ui/legacy/components/primitive-textfield';
26
6
  export * from '@taiga-ui/legacy/components/select';
27
7
  export * from '@taiga-ui/legacy/components/select-option';
28
- export * from '@taiga-ui/legacy/components/sheet';
29
- export * from '@taiga-ui/legacy/components/svg';
30
- export * from '@taiga-ui/legacy/components/table-bar';
31
- export * from '@taiga-ui/legacy/components/tag';
32
- export * from '@taiga-ui/legacy/components/textarea';
33
8
  export * from '@taiga-ui/legacy/components/tooltip';
@@ -0,0 +1,3 @@
1
+ export * from './mobile-dialog.component';
2
+ export * from './mobile-dialog.options';
3
+ export * from './mobile-dialog.service';
@@ -0,0 +1,10 @@
1
+ import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
2
+ import { type TuiMobileDialogOptions } from './mobile-dialog.options';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TuiMobileDialog<I> {
5
+ protected readonly isIOS: boolean;
6
+ protected readonly context: TuiPortalContext<TuiMobileDialogOptions<I>, number>;
7
+ protected onAction(index: number): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiMobileDialog<any>, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiMobileDialog<any>, "tui-mobile-dialog", never, {}, {}, never, never, true, never>;
10
+ }
@@ -0,0 +1,10 @@
1
+ export interface TuiMobileDialogOptions<I = undefined> {
2
+ readonly actions: readonly string[];
3
+ readonly data: I;
4
+ readonly label: string;
5
+ }
6
+ export declare const TUI_MOBILE_DIALOG_DEFAULT_OPTIONS: TuiMobileDialogOptions;
7
+ /**
8
+ * Default parameters for mobile dialog component
9
+ */
10
+ export declare const TUI_MOBILE_DIALOG_OPTIONS: import("@angular/core").InjectionToken<TuiMobileDialogOptions<undefined>>, tuiMobileDialogOptionsProvider: (item: Partial<TuiMobileDialogOptions<undefined>> | (() => Partial<TuiMobileDialogOptions<undefined>>)) => import("@angular/core").FactoryProvider;
@@ -0,0 +1,14 @@
1
+ import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
2
+ import { TuiModalService } from '@taiga-ui/core/components/modal';
3
+ import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
+ import { type Observable } from 'rxjs';
5
+ import { TuiMobileDialog } from './mobile-dialog.component';
6
+ import { type TuiMobileDialogOptions } from './mobile-dialog.options';
7
+ import * as i0 from "@angular/core";
8
+ export declare class TuiMobileDialogService extends TuiModalService<TuiMobileDialogOptions<any>, number> {
9
+ protected readonly options: TuiMobileDialogOptions<undefined>;
10
+ protected readonly content: typeof TuiMobileDialog;
11
+ open(content: PolymorpheusContent<TuiPortalContext<TuiMobileDialogOptions<any>, number>>, options?: Partial<TuiMobileDialogOptions<any>>): Observable<number>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiMobileDialogService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<TuiMobileDialogService>;
14
+ }
@@ -0,0 +1,4 @@
1
+ export * from './pdf-viewer.component';
2
+ export * from './pdf-viewer.directive';
3
+ export * from './pdf-viewer.options';
4
+ export * from './pdf-viewer.service';
@@ -0,0 +1,12 @@
1
+ import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
2
+ import { type TuiPdfViewerOptions } from './pdf-viewer.options';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@taiga-ui/cdk/directives/animated";
5
+ export declare class TuiPdfViewerComponent<I, O> {
6
+ protected readonly closeWord: import("@angular/core").Signal<string>;
7
+ protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
8
+ protected readonly context: TuiPortalContext<TuiPdfViewerOptions<I>, O>;
9
+ protected onKeyDownEsc(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerComponent<any, any>, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiPdfViewerComponent<any, any>, "tui-pdf-viewer", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
12
+ }
@@ -0,0 +1,8 @@
1
+ import { type TuiPdfViewerOptions } from './pdf-viewer.options';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@taiga-ui/cdk/portals";
4
+ export declare class TuiPdfViewerDirective<T> {
5
+ readonly tuiPdfViewerOptions: import("@angular/core").InputSignal<Partial<TuiPdfViewerOptions<T>>>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerDirective<any>, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPdfViewerDirective<any>, "ng-template[tuiPdfViewer]", never, { "tuiPdfViewerOptions": { "alias": "tuiPdfViewerOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiPortalDirective; inputs: { "options": "tuiPdfViewerOptions"; "open": "tuiPdfViewer"; }; outputs: { "openChange": "tuiPdfViewerChange"; }; }]>;
8
+ }
@@ -0,0 +1,11 @@
1
+ import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
2
+ export declare const TUI_PDF_VIEWER_DEFAULT_OPTIONS: TuiPdfViewerOptions;
3
+ /**
4
+ * Default parameters for PdfViewer component
5
+ */
6
+ export declare const TUI_PDF_VIEWER_OPTIONS: import("@angular/core").InjectionToken<TuiPdfViewerOptions<undefined>>, tuiPdfViewerOptionsProvider: (item: Partial<TuiPdfViewerOptions<undefined>> | (() => Partial<TuiPdfViewerOptions<undefined>>)) => import("@angular/core").FactoryProvider;
7
+ export interface TuiPdfViewerOptions<I = undefined> {
8
+ readonly actions: PolymorpheusContent<TuiPdfViewerOptions<I>>;
9
+ readonly data: I;
10
+ readonly label: string;
11
+ }
@@ -0,0 +1,17 @@
1
+ import { type SafeResourceUrl } from '@angular/platform-browser';
2
+ import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
3
+ import { TuiModalService } from '@taiga-ui/core/components/modal';
4
+ import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
5
+ import { type Observable } from 'rxjs';
6
+ import { TuiPdfViewerComponent } from './pdf-viewer.component';
7
+ import { type TuiPdfViewerOptions } from './pdf-viewer.options';
8
+ import * as i0 from "@angular/core";
9
+ type Content<G> = PolymorpheusContent<TuiPortalContext<TuiPdfViewerOptions<unknown>, G>>;
10
+ export declare class TuiPdfViewerService extends TuiModalService<TuiPdfViewerOptions<unknown>> {
11
+ protected readonly options: TuiPdfViewerOptions<undefined>;
12
+ protected readonly content: typeof TuiPdfViewerComponent;
13
+ open<G>(content: Content<G> | SafeResourceUrl, options?: Partial<TuiPdfViewerOptions<any>>): Observable<G>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<TuiPdfViewerService>;
16
+ }
17
+ export {};
@@ -1,4 +1,4 @@
1
- import { type TuiTextfieldOptions, tuiTextfieldOptionsProvider } from '@taiga-ui/legacy/directives';
1
+ import { type TuiTextfieldOptions } from '@taiga-ui/legacy/directives';
2
2
  /**
3
3
  * @deprecated:
4
4
  * use {@link TuiTextfieldOptions}
@@ -18,4 +18,4 @@ export declare const TUI_PRIMITIVE_TEXTFIELD_OPTIONS: import("@angular/core").In
18
18
  * @deprecated:
19
19
  * use {@link tuiTextfieldOptionsProvider}
20
20
  */
21
- export declare const tuiPrimitiveTextfieldOptionsProvider: typeof tuiTextfieldOptionsProvider;
21
+ export declare const tuiPrimitiveTextfieldOptionsProvider: (item: Partial<TuiTextfieldOptions> | (() => Partial<TuiTextfieldOptions>)) => import("@angular/core").FactoryProvider;
@@ -6,16 +6,16 @@ import * as i4 from "./value-decoration/value-decoration.component";
6
6
  import * as i5 from "@angular/common";
7
7
  import * as i6 from "@angular/forms";
8
8
  import * as i7 from "@taiga-ui/polymorpheus";
9
- import * as i8 from "@taiga-ui/legacy/directives/wrapper";
10
- import * as i9 from "@taiga-ui/legacy/components/tooltip";
11
- import * as i10 from "@taiga-ui/core/components/icon";
12
- import * as i11 from "@taiga-ui/core/directives/appearance";
9
+ import * as i8 from "@taiga-ui/core/directives/appearance";
10
+ import * as i9 from "@taiga-ui/core/components/icon";
11
+ import * as i10 from "@taiga-ui/legacy/components/tooltip";
12
+ import * as i11 from "@taiga-ui/legacy/directives/wrapper";
13
13
  /**
14
14
  * @deprecated: use {@link TuiTextfield}
15
15
  * https://taiga-ui.dev/components/textfield
16
16
  */
17
17
  export declare class TuiPrimitiveTextfieldModule {
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiPrimitiveTextfieldModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiPrimitiveTextfieldModule, [typeof i1.TuiPrimitiveTextfieldComponent, typeof i2.TuiPrimitiveTextfieldDirective, typeof i3.TuiTextfieldComponent, typeof i4.TuiValueDecorationComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.PolymorpheusOutlet, typeof i7.PolymorpheusTemplate, typeof i8.TuiWrapperModule, typeof i9.TuiTooltipModule, typeof i10.TuiIcon, typeof i11.TuiAppearance], [typeof i1.TuiPrimitiveTextfieldComponent, typeof i2.TuiPrimitiveTextfieldDirective, typeof i3.TuiTextfieldComponent]>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiPrimitiveTextfieldModule, [typeof i1.TuiPrimitiveTextfieldComponent, typeof i2.TuiPrimitiveTextfieldDirective, typeof i3.TuiTextfieldComponent, typeof i4.TuiValueDecorationComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.PolymorpheusOutlet, typeof i7.PolymorpheusTemplate, typeof i8.TuiAppearance, typeof i9.TuiIcon, typeof i10.TuiTooltipModule, typeof i11.TuiWrapperModule], [typeof i1.TuiPrimitiveTextfieldComponent, typeof i2.TuiPrimitiveTextfieldDirective, typeof i3.TuiTextfieldComponent]>;
20
20
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiPrimitiveTextfieldModule>;
21
21
  }
@@ -5,20 +5,20 @@ import * as i3 from "./native-select/native-select.component";
5
5
  import * as i4 from "./native-select/native-select-group.component";
6
6
  import * as i5 from "@angular/common";
7
7
  import * as i6 from "@taiga-ui/polymorpheus";
8
- import * as i7 from "@taiga-ui/legacy/components/primitive-textfield";
9
- import * as i8 from "@taiga-ui/legacy/components/select-option";
10
- import * as i9 from "@taiga-ui/legacy/components/arrow";
11
- import * as i10 from "@taiga-ui/legacy/directives";
8
+ import * as i7 from "@taiga-ui/legacy/components/arrow";
9
+ import * as i8 from "@taiga-ui/legacy/directives";
10
+ import * as i9 from "@taiga-ui/legacy/components/primitive-textfield";
11
+ import * as i10 from "@taiga-ui/legacy/components/select-option";
12
12
  import * as i11 from "@taiga-ui/kit/pipes/stringify-content";
13
- import * as i12 from "@taiga-ui/core/directives/dropdown";
14
- import * as i13 from "@taiga-ui/core/components/data-list";
15
- import * as i14 from "@taiga-ui/kit/components/data-list-wrapper";
13
+ import * as i12 from "@taiga-ui/core/components/data-list";
14
+ import * as i13 from "@taiga-ui/kit/components/data-list-wrapper";
15
+ import * as i14 from "@taiga-ui/core/directives/dropdown";
16
16
  /**
17
17
  * TODO(v5): delete it
18
18
  * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
19
19
  */
20
20
  export declare class TuiSelectModule {
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSelectModule, [typeof i1.TuiSelectComponent, typeof i2.TuiSelectDirective, typeof i3.TuiNativeSelectComponent, typeof i4.TuiNativeSelectGroupComponent], [typeof i5.CommonModule, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiSelectOptionModule, typeof i9.TuiArrowComponent, typeof i10.TuiWrapperModule, typeof i10.TuiTextfieldControllerModule, typeof i11.TuiStringifyContentPipe, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup, typeof i14.TuiDataListWrapperComponent, typeof i14.TuiDataListGroupWrapperComponent, typeof i13.TuiDataListDirective], [typeof i1.TuiSelectComponent, typeof i2.TuiSelectDirective, typeof i7.TuiTextfieldComponent, typeof i3.TuiNativeSelectComponent, typeof i4.TuiNativeSelectGroupComponent, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup, typeof i14.TuiDataListWrapperComponent, typeof i14.TuiDataListGroupWrapperComponent, typeof i13.TuiDataListDirective]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSelectModule, [typeof i1.TuiSelectComponent, typeof i2.TuiSelectDirective, typeof i3.TuiNativeSelectComponent, typeof i4.TuiNativeSelectGroupComponent], [typeof i5.CommonModule, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiArrowComponent, typeof i8.TuiLegacyDropdownOpenMonitorDirective, typeof i9.TuiPrimitiveTextfieldModule, typeof i10.TuiSelectOptionModule, typeof i11.TuiStringifyContentPipe, typeof i8.TuiTextfieldControllerModule, typeof i8.TuiWrapperModule, typeof i12.TuiDataListComponent, typeof i12.TuiDataListDirective, typeof i12.TuiOption, typeof i12.TuiOptionNew, typeof i12.TuiOptionWithValue, typeof i12.TuiOptGroup, typeof i13.TuiDataListWrapperComponent, typeof i13.TuiDataListGroupWrapperComponent, typeof i12.TuiDataListDirective, typeof i14.TuiDropdownOptionsDirective, typeof i14.TuiDropdownDriverDirective, typeof i14.TuiDropdownDirective, typeof i14.TuiDropdownComponent, typeof i14.TuiDropdownOpen, typeof i14.TuiDropdownOpenLegacy, typeof i14.TuiDropdownManual, typeof i14.TuiDropdownHover, typeof i14.TuiDropdownContent, typeof i14.TuiDropdownContext, typeof i14.TuiDropdownPosition, typeof i14.TuiDropdownPositionSided, typeof i14.TuiDropdownSelection], [typeof i1.TuiSelectComponent, typeof i2.TuiSelectDirective, typeof i9.TuiTextfieldComponent, typeof i3.TuiNativeSelectComponent, typeof i4.TuiNativeSelectGroupComponent, typeof i14.TuiDropdownOptionsDirective, typeof i14.TuiDropdownDriverDirective, typeof i14.TuiDropdownDirective, typeof i14.TuiDropdownComponent, typeof i14.TuiDropdownOpen, typeof i14.TuiDropdownOpenLegacy, typeof i14.TuiDropdownManual, typeof i14.TuiDropdownHover, typeof i14.TuiDropdownContent, typeof i14.TuiDropdownContext, typeof i14.TuiDropdownPosition, typeof i14.TuiDropdownPositionSided, typeof i14.TuiDropdownSelection, typeof i12.TuiDataListComponent, typeof i12.TuiDataListDirective, typeof i12.TuiOption, typeof i12.TuiOptionNew, typeof i12.TuiOptionWithValue, typeof i12.TuiOptGroup, typeof i13.TuiDataListWrapperComponent, typeof i13.TuiDataListGroupWrapperComponent, typeof i12.TuiDataListDirective]>;
23
23
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiSelectModule>;
24
24
  }
@@ -1,4 +1,3 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
1
  import { type TuiValueContentContext } from '@taiga-ui/core/types';
3
2
  import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
3
  /**
@@ -17,9 +16,4 @@ export declare const TUI_SELECT_DEFAULT_OPTIONS: TuiSelectOptions<unknown>;
17
16
  * TODO(v5): delete it
18
17
  * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
19
18
  */
20
- export declare const TUI_SELECT_OPTIONS: InjectionToken<TuiSelectOptions<unknown>>;
21
- /**
22
- * TODO(v5): delete it
23
- * @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
24
- */
25
- export declare function tuiSelectOptionsProvider<T>(options: Partial<TuiSelectOptions<T>>): Provider;
19
+ export declare const TUI_SELECT_OPTIONS: import("@angular/core").InjectionToken<TuiSelectOptions<unknown>>, tuiSelectOptionsProvider: (item: Partial<TuiSelectOptions<unknown>> | (() => Partial<TuiSelectOptions<unknown>>)) => import("@angular/core").FactoryProvider;
@@ -1,10 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./select-option.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/core/components/scrollbar";
5
- import * as i4 from "@taiga-ui/core/components/icon";
4
+ import * as i3 from "@taiga-ui/core/components/icon";
5
+ import * as i4 from "@taiga-ui/core/components/scrollbar";
6
6
  export declare class TuiSelectOptionModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectOptionModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSelectOptionModule, [typeof i1.TuiSelectOptionComponent], [typeof i2.CommonModule, typeof i3.TuiScrollIntoView, typeof i4.TuiIcon], [typeof i1.TuiSelectOptionComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSelectOptionModule, [typeof i1.TuiSelectOptionComponent], [typeof i2.CommonModule, typeof i3.TuiIcon, typeof i4.TuiScrollIntoView], [typeof i1.TuiSelectOptionComponent]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiSelectOptionModule>;
10
10
  }
@@ -1,4 +1,3 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
1
  import { type TuiContext } from '@taiga-ui/cdk/types';
3
2
  import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
4
3
  import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
@@ -15,5 +14,4 @@ export declare const TUI_TEXTFIELD_DEFAULT_OPTIONS: TuiTextfieldOptions;
15
14
  * @deprecated: drop in v5.0
16
15
  * Default parameters for textfield
17
16
  */
18
- export declare const TUI_TEXTFIELD_OPTIONS: InjectionToken<TuiTextfieldOptions>;
19
- export declare function tuiTextfieldOptionsProvider(options: Partial<TuiTextfieldOptions>): Provider;
17
+ export declare const TUI_TEXTFIELD_OPTIONS: import("@angular/core").InjectionToken<TuiTextfieldOptions>, tuiTextfieldOptionsProvider: (item: Partial<TuiTextfieldOptions> | (() => Partial<TuiTextfieldOptions>)) => import("@angular/core").FactoryProvider;
@@ -9,7 +9,8 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
9
9
  import { NgControl, NgModel } from '@angular/forms';
10
10
  import { TuiValueTransformer, TuiControl } from '@taiga-ui/cdk/classes';
11
11
  import { EMPTY_FUNCTION } from '@taiga-ui/cdk/constants';
12
- import { tuiIsPresent, tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
12
+ import { tuiProvide } from '@taiga-ui/cdk/utils/di';
13
+ import { tuiIsPresent } from '@taiga-ui/cdk/utils/miscellaneous';
13
14
  import { Subject, delay, startWith, map, filter, distinctUntilChanged, switchMap, merge, EMPTY } from 'rxjs';
14
15
 
15
16
  const TUI = 'tui_interactive_';
@@ -307,6 +308,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
307
308
  class AbstractTuiTextfieldHost {
308
309
  constructor() {
309
310
  this.host = inject(AbstractTuiControl, { optional: true });
311
+ this.inputMode = 'text';
310
312
  }
311
313
  get readOnly() {
312
314
  return this.host.readOnly;
@@ -320,9 +322,6 @@ class AbstractTuiTextfieldHost {
320
322
  get focusable() {
321
323
  return this.host.computedFocusable;
322
324
  }
323
- get inputMode() {
324
- return 'text';
325
- }
326
325
  get value() {
327
326
  return this.host.value?.toString() || '';
328
327
  }
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-legacy-classes.mjs","sources":["../../../projects/legacy/classes/interactive.ts","../../../projects/legacy/classes/control.ts","../../../projects/legacy/classes/abstract-native-select.ts","../../../projects/legacy/classes/abstract-textfield-host.ts","../../../projects/legacy/classes/controller.ts","../../../projects/legacy/classes/multiple-control.ts","../../../projects/legacy/classes/named-day.ts","../../../projects/legacy/classes/nullable-control.ts","../../../projects/legacy/classes/stringifiable-item.ts","../../../projects/legacy/classes/taiga-ui-legacy-classes.ts"],"sourcesContent":["import {Directive, EventEmitter, Input, Output} from '@angular/core';\n\nconst TUI = 'tui_interactive_';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n standalone: false,\n host: {\n '[attr.data-focused]': 'pseudoFocus',\n '[class._disabled]': 'computedDisabled',\n '[class._focused]': 'computedFocused',\n '[class._focus-visible]': 'computedFocusVisible',\n },\n})\nexport abstract class AbstractTuiInteractive {\n private static autoId = 0;\n\n public abstract disabled: boolean;\n\n public abstract focused: boolean;\n\n private readonly autoIdString: string = `${TUI}${AbstractTuiInteractive.autoId++}${Date.now()}`;\n\n protected focusVisible = false;\n\n @Input()\n public pseudoHover: boolean | null = null;\n\n @Input()\n public pseudoActive: boolean | null = null;\n\n @Input()\n public pseudoFocus: boolean | null = null;\n\n /**\n * Determines if component is focusable with keyboard.\n */\n @Input()\n public focusable = true;\n\n @Input()\n public nativeId = '';\n\n /**\n * Emits 'true' on focus and 'false' on blur.\n */\n @Output()\n public readonly focusedChange = new EventEmitter<boolean>();\n\n @Output()\n public readonly focusVisibleChange = new EventEmitter<boolean>();\n\n public get computedDisabled(): boolean {\n return this.disabled;\n }\n\n public get computedFocused(): boolean {\n return !this.computedDisabled && (this.pseudoFocus ?? this.focused);\n }\n\n public get computedFocusVisible(): boolean {\n return !this.computedDisabled && (this.pseudoFocus ?? this.focusVisible);\n }\n\n public get computedFocusable(): boolean {\n return !this.computedDisabled && (this.focusable || this.focused);\n }\n\n // TODO: 3.0 Consider removing since native input is exposed\n public get id(): string {\n return this.nativeId || this.autoIdString;\n }\n\n protected updateFocused(focused: boolean): void {\n this.focusedChange.emit(focused);\n }\n\n protected updateFocusVisible(focusVisible: boolean): void {\n if (this.focusVisible === focusVisible) {\n return;\n }\n\n this.focusVisible = focusVisible;\n this.focusVisibleChange.emit(focusVisible);\n }\n}\n","/// <reference types=\"@taiga-ui/tsconfig/ng-dev-mode\" />\nimport {\n ChangeDetectorRef,\n DestroyRef,\n Directive,\n inject,\n Input,\n type OnInit,\n type Provider,\n type Type,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {\n type AbstractControl,\n type ControlValueAccessor,\n NgControl,\n NgModel,\n} from '@angular/forms';\nimport {TuiControl, TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {EMPTY_FUNCTION} from '@taiga-ui/cdk/constants';\nimport {tuiIsPresent, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n delay,\n distinctUntilChanged,\n EMPTY,\n filter,\n map,\n merge,\n startWith,\n Subject,\n switchMap,\n} from 'rxjs';\n\nimport {AbstractTuiInteractive} from './interactive';\n\n/**\n * @deprecated: drop in v5.0\n * Basic ControlValueAccessor class to build form components upon\n */\n@Directive({\n standalone: false,\n host: {\n '[class._readonly]': 'readOnly',\n '[class._invalid]': 'computedInvalid',\n },\n})\nexport abstract class AbstractTuiControl<T>\n extends AbstractTuiInteractive\n implements OnInit, ControlValueAccessor\n{\n private readonly ngControl = inject(NgControl, {optional: true});\n private previousInternalValue?: T | null;\n private readonly refresh$ = new Subject<void>();\n\n protected onTouched = EMPTY_FUNCTION;\n protected onChange = EMPTY_FUNCTION;\n protected readonly fallbackValue = this.getFallbackValue();\n protected destroyRef = inject(DestroyRef);\n protected readonly cdr = inject(ChangeDetectorRef);\n protected readonly valueTransformer = inject<TuiValueTransformer<T>>(\n TuiValueTransformer,\n {optional: true},\n );\n\n @Input()\n public readOnly = false;\n\n @Input()\n public pseudoInvalid: boolean | null = null;\n\n // Workaround for legacy control to notify of internal change in case updateOn: 'blur' is used\n public readonly update$ = new Subject<void>();\n\n constructor() {\n super();\n\n if (ngDevMode && this.ngControl === null) {\n console.assert(\n false,\n `NgControl not injected in ${this.constructor.name}!\\n`,\n 'Use [(ngModel)] or [formControl] or formControlName for correct work.',\n );\n }\n\n if (this.ngControl) {\n this.ngControl.valueAccessor = this;\n }\n }\n\n protected abstract getFallbackValue(): T;\n\n public get computedInvalid(): boolean {\n return (\n this.interactive &&\n (this.pseudoInvalid !== null\n ? this.pseudoInvalid\n : this.touched && this.invalid)\n );\n }\n\n public get value(): T {\n return this.previousInternalValue ?? this.fallbackValue;\n }\n\n public set value(value: T) {\n this.updateValue(value);\n this.update$.next();\n }\n\n public get safeCurrentValue(): T {\n return this.rawValue ?? this.fallbackValue;\n }\n\n public get invalid(): boolean {\n return this.safeNgControlData<boolean>(({invalid}) => invalid, false);\n }\n\n public get valid(): boolean {\n return this.safeNgControlData<boolean>(({valid}) => valid, false);\n }\n\n public get touched(): boolean {\n return this.safeNgControlData<boolean>(({touched}) => touched, false);\n }\n\n public get disabled(): boolean {\n return this.safeNgControlData<boolean>(({disabled}) => disabled, false);\n }\n\n public get interactive(): boolean {\n return !this.readOnly && !this.computedDisabled;\n }\n\n public get control(): AbstractControl | null {\n return this.safeNgControlData<AbstractControl | null>(\n ({control}) => control,\n null,\n );\n }\n\n public get computedName(): string | null {\n return this.controlName?.toString() ?? null;\n }\n\n public get controlName(): string | null {\n return this.ngControl?.name?.toString() ?? null;\n }\n\n public ngOnInit(): void {\n this.refresh$\n .pipe(\n delay(0),\n startWith(null),\n map(() => this.ngControl?.control),\n filter(tuiIsPresent),\n distinctUntilChanged(),\n switchMap((control) =>\n merge(\n control.valueChanges,\n control.statusChanges,\n (control as any).events || EMPTY,\n ),\n ),\n takeUntilDestroyed(this.destroyRef),\n )\n .subscribe(() => {\n this.refreshLocalValue(this.safeCurrentValue);\n });\n }\n\n public checkControlUpdate(): void {\n this.cdr.markForCheck();\n }\n\n public registerOnChange(onChange: (value: unknown) => void): void {\n this.onChange = (componentValue: T) => {\n onChange(this.toControlValue(componentValue));\n };\n\n this.refresh$.next();\n }\n\n public registerOnTouched(onTouched: () => void): void {\n this.onTouched = onTouched;\n }\n\n public setDisabledState(): void {\n this.checkControlUpdate();\n }\n\n public writeValue(value: T | null): void {\n const controlValue =\n this.ngControl instanceof NgModel && this.previousInternalValue === undefined\n ? this.ngControl.model\n : value;\n\n this.refreshLocalValue(this.fromControlValue(controlValue));\n }\n\n protected override updateFocused(focused: boolean): void {\n if (!focused) {\n this.controlMarkAsTouched();\n }\n\n super.updateFocused(focused);\n }\n\n /**\n * @deprecated use `value` setter\n */\n protected updateValue(value: T): void {\n if (this.disabled || this.valueIdenticalComparator(this.value, value)) {\n return;\n }\n\n this.previousInternalValue = value;\n this.controlSetValue(value);\n }\n\n protected valueIdenticalComparator(oldValue: T, newValue: T): boolean {\n return oldValue === newValue;\n }\n\n private get rawValue(): T | undefined {\n const {ngControl} = this;\n\n if (ngControl === null) {\n return undefined;\n }\n\n const controlValue =\n ngControl instanceof NgModel && this.previousInternalValue === undefined\n ? ngControl.viewModel\n : ngControl.value;\n\n return this.fromControlValue(controlValue);\n }\n\n private safeNgControlData<T>(\n extractor: (ngControl: NgControl) => T | null | undefined,\n defaultFieldValue: T,\n ): T {\n return (this.ngControl && extractor(this.ngControl)) ?? defaultFieldValue;\n }\n\n private controlMarkAsTouched(): void {\n this.onTouched();\n this.checkControlUpdate();\n }\n\n private controlSetValue(value: T): void {\n this.onChange(value);\n this.checkControlUpdate();\n }\n\n private refreshLocalValue(value: T | null): void {\n this.previousInternalValue = value;\n this.checkControlUpdate();\n }\n\n private fromControlValue(controlValue: unknown): T {\n return this.valueTransformer\n ? this.valueTransformer.fromControlValue(controlValue)\n : (controlValue as T);\n }\n\n private toControlValue(componentValue: T): unknown {\n return this.valueTransformer\n ? this.valueTransformer.toControlValue(componentValue)\n : componentValue;\n }\n}\n\nexport function tuiAsControl<T>(control: Type<AbstractTuiControl<T>>): Provider[] {\n return [tuiProvide(AbstractTuiControl, control), tuiProvide(TuiControl, control)];\n}\n","import {Directive, inject, Input, TemplateRef, ViewChild} from '@angular/core';\nimport {tuiInjectId} from '@taiga-ui/cdk/services';\nimport {type TuiBooleanHandler} from '@taiga-ui/cdk/types';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {TuiDataListDirective} from '@taiga-ui/core/components/data-list';\nimport {TUI_ITEMS_HANDLERS} from '@taiga-ui/kit/tokens';\nimport {TUI_TEXTFIELD_HOST, type TuiTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {AbstractTuiControl} from './control';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n standalone: false,\n host: {\n '[id]': 'id',\n },\n})\nexport abstract class AbstractTuiNativeSelect<H = TuiTextfieldHost, T = string> {\n @ViewChild(TuiDataListDirective, {read: TemplateRef, static: true})\n protected readonly datalist: TemplateRef<any> | null = null;\n\n protected readonly autoId = tuiInjectId();\n protected readonly el = tuiInjectElement<HTMLSelectElement>();\n protected readonly host = inject<H>(TUI_TEXTFIELD_HOST);\n protected readonly control = inject(AbstractTuiControl);\n protected readonly itemsHandlers = inject(TUI_ITEMS_HANDLERS);\n\n @Input()\n public disabledItemHandler: TuiBooleanHandler<T> | null = null;\n\n @Input()\n public placeholder = '';\n\n protected get id(): string {\n return this.el.id || this.autoId;\n }\n\n protected get emptyOption(): boolean {\n return !!this.placeholder && !this.control.value;\n }\n}\n","import {Directive, inject} from '@angular/core';\nimport {type TuiTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {AbstractTuiControl} from './control';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive()\nexport abstract class AbstractTuiTextfieldHost<T extends AbstractTuiControl<any>>\n implements TuiTextfieldHost\n{\n protected readonly host: T = inject<any>(AbstractTuiControl, {optional: true});\n\n public abstract onValueChange(value: string): void;\n\n public get readOnly(): boolean {\n return this.host.readOnly;\n }\n\n public get disabled(): boolean {\n return this.host.computedDisabled;\n }\n\n public get invalid(): boolean {\n return this.host.computedInvalid;\n }\n\n public get focusable(): boolean {\n return this.host.computedFocusable;\n }\n\n public get inputMode(): TuiTextfieldHost['inputMode'] {\n return 'text';\n }\n\n public get value(): string {\n return this.host.value?.toString() || '';\n }\n\n public process(_input: HTMLInputElement): void {}\n}\n","import {Directive, type OnChanges} from '@angular/core';\nimport {Subject} from 'rxjs';\n\n@Directive()\nexport abstract class AbstractTuiController implements OnChanges {\n public readonly change$ = new Subject<void>();\n\n public ngOnChanges(): void {\n this.change$.next();\n }\n}\n","import {Directive} from '@angular/core';\n\nimport {AbstractTuiControl} from './control';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive()\nexport abstract class AbstractTuiMultipleControl<T> extends AbstractTuiControl<\n readonly T[]\n> {\n protected clear(): void {\n this.value = [];\n }\n\n protected getFallbackValue(): readonly T[] {\n return [];\n }\n}\n","import {type TuiDay} from '@taiga-ui/cdk/date-time';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport class TuiNamedDay {\n constructor(\n public readonly day: TuiDay,\n private readonly name: string,\n public readonly displayDay: TuiDay = day,\n ) {}\n\n protected toString(): string {\n return this.name;\n }\n}\n","import {Directive} from '@angular/core';\n\nimport {AbstractTuiControl} from './control';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive()\nexport abstract class AbstractTuiNullableControl<T> extends AbstractTuiControl<T | null> {\n protected getFallbackValue(): T | null {\n return null;\n }\n}\n","import {type TuiStringHandler} from '@taiga-ui/cdk/types';\n\n/**\n * @deprecated: drop in v5.0\n * Wrapper around an item to add `toString()` method\n */\nexport class TuiStringifiableItem<T> {\n constructor(\n public readonly item: T,\n public readonly stringify: TuiStringHandler<T>,\n ) {}\n\n protected toString(): string {\n return this.stringify(this.item);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,MAAM,GAAG,GAAG,kBAAkB;AAE9B;;AAEG;MAUmB,sBAAsB,CAAA;AAT5C,IAAA,WAAA,GAAA;AAgBqB,QAAA,IAAA,CAAA,YAAY,GAAW,CAAA,EAAG,GAAG,CAAA,EAAG,sBAAsB,CAAC,MAAM,EAAE,CAAA,EAAG,IAAI,CAAC,GAAG,EAAE,EAAE;QAErF,IAAY,CAAA,YAAA,GAAG,KAAK;QAGvB,IAAW,CAAA,WAAA,GAAmB,IAAI;QAGlC,IAAY,CAAA,YAAA,GAAmB,IAAI;QAGnC,IAAW,CAAA,WAAA,GAAmB,IAAI;AAEzC;;AAEG;QAEI,IAAS,CAAA,SAAA,GAAG,IAAI;QAGhB,IAAQ,CAAA,QAAA,GAAG,EAAE;AAEpB;;AAEG;AAEa,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,YAAY,EAAW;AAG3C,QAAA,IAAA,CAAA,kBAAkB,GAAG,IAAI,YAAY,EAAW;AAmCnE;aAtEkB,IAAM,CAAA,M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AI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;;AAEvC;;ACfD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-legacy-classes.mjs","sources":["../../../projects/legacy/classes/interactive.ts","../../../projects/legacy/classes/control.ts","../../../projects/legacy/classes/abstract-native-select.ts","../../../projects/legacy/classes/abstract-textfield-host.ts","../../../projects/legacy/classes/controller.ts","../../../projects/legacy/classes/multiple-control.ts","../../../projects/legacy/classes/named-day.ts","../../../projects/legacy/classes/nullable-control.ts","../../../projects/legacy/classes/stringifiable-item.ts","../../../projects/legacy/classes/taiga-ui-legacy-classes.ts"],"sourcesContent":["import {Directive, EventEmitter, Input, Output} from '@angular/core';\n\nconst TUI = 'tui_interactive_';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n standalone: false,\n host: {\n '[attr.data-focused]': 'pseudoFocus',\n '[class._disabled]': 'computedDisabled',\n '[class._focused]': 'computedFocused',\n '[class._focus-visible]': 'computedFocusVisible',\n },\n})\nexport abstract class AbstractTuiInteractive {\n private static autoId = 0;\n\n public abstract disabled: boolean;\n\n public abstract focused: boolean;\n\n private readonly autoIdString: string = `${TUI}${AbstractTuiInteractive.autoId++}${Date.now()}`;\n\n protected focusVisible = false;\n\n @Input()\n public pseudoHover: boolean | null = null;\n\n @Input()\n public pseudoActive: boolean | null = null;\n\n @Input()\n public pseudoFocus: boolean | null = null;\n\n /**\n * Determines if component is focusable with keyboard.\n */\n @Input()\n public focusable = true;\n\n @Input()\n public nativeId = '';\n\n /**\n * Emits 'true' on focus and 'false' on blur.\n */\n @Output()\n public readonly focusedChange = new EventEmitter<boolean>();\n\n @Output()\n public readonly focusVisibleChange = new EventEmitter<boolean>();\n\n public get computedDisabled(): boolean {\n return this.disabled;\n }\n\n public get computedFocused(): boolean {\n return !this.computedDisabled && (this.pseudoFocus ?? this.focused);\n }\n\n public get computedFocusVisible(): boolean {\n return !this.computedDisabled && (this.pseudoFocus ?? this.focusVisible);\n }\n\n public get computedFocusable(): boolean {\n return !this.computedDisabled && (this.focusable || this.focused);\n }\n\n // TODO: 3.0 Consider removing since native input is exposed\n public get id(): string {\n return this.nativeId || this.autoIdString;\n }\n\n protected updateFocused(focused: boolean): void {\n this.focusedChange.emit(focused);\n }\n\n protected updateFocusVisible(focusVisible: boolean): void {\n if (this.focusVisible === focusVisible) {\n return;\n }\n\n this.focusVisible = focusVisible;\n this.focusVisibleChange.emit(focusVisible);\n }\n}\n","/// <reference types=\"@taiga-ui/tsconfig/ng-dev-mode\" />\nimport {\n ChangeDetectorRef,\n DestroyRef,\n Directive,\n inject,\n Input,\n type OnInit,\n type Provider,\n type Type,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {\n type AbstractControl,\n type ControlValueAccessor,\n NgControl,\n NgModel,\n} from '@angular/forms';\nimport {TuiControl, TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {EMPTY_FUNCTION} from '@taiga-ui/cdk/constants';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/di';\nimport {tuiIsPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n delay,\n distinctUntilChanged,\n EMPTY,\n filter,\n map,\n merge,\n startWith,\n Subject,\n switchMap,\n} from 'rxjs';\n\nimport {AbstractTuiInteractive} from './interactive';\n\n/**\n * @deprecated: drop in v5.0\n * Basic ControlValueAccessor class to build form components upon\n */\n@Directive({\n standalone: false,\n host: {\n '[class._readonly]': 'readOnly',\n '[class._invalid]': 'computedInvalid',\n },\n})\nexport abstract class AbstractTuiControl<T>\n extends AbstractTuiInteractive\n implements OnInit, ControlValueAccessor\n{\n private readonly ngControl = inject(NgControl, {optional: true});\n private previousInternalValue?: T | null;\n private readonly refresh$ = new Subject<void>();\n\n protected onTouched = EMPTY_FUNCTION;\n protected onChange = EMPTY_FUNCTION;\n protected readonly fallbackValue = this.getFallbackValue();\n protected destroyRef = inject(DestroyRef);\n protected readonly cdr = inject(ChangeDetectorRef);\n protected readonly valueTransformer = inject<TuiValueTransformer<T>>(\n TuiValueTransformer,\n {optional: true},\n );\n\n @Input()\n public readOnly = false;\n\n @Input()\n public pseudoInvalid: boolean | null = null;\n\n // Workaround for legacy control to notify of internal change in case updateOn: 'blur' is used\n public readonly update$ = new Subject<void>();\n\n constructor() {\n super();\n\n if (ngDevMode && this.ngControl === null) {\n console.assert(\n false,\n `NgControl not injected in ${this.constructor.name}!\\n`,\n 'Use [(ngModel)] or [formControl] or formControlName for correct work.',\n );\n }\n\n if (this.ngControl) {\n this.ngControl.valueAccessor = this;\n }\n }\n\n protected abstract getFallbackValue(): T;\n\n public get computedInvalid(): boolean {\n return (\n this.interactive &&\n (this.pseudoInvalid !== null\n ? this.pseudoInvalid\n : this.touched && this.invalid)\n );\n }\n\n public get value(): T {\n return this.previousInternalValue ?? this.fallbackValue;\n }\n\n public set value(value: T) {\n this.updateValue(value);\n this.update$.next();\n }\n\n public get safeCurrentValue(): T {\n return this.rawValue ?? this.fallbackValue;\n }\n\n public get invalid(): boolean {\n return this.safeNgControlData<boolean>(({invalid}) => invalid, false);\n }\n\n public get valid(): boolean {\n return this.safeNgControlData<boolean>(({valid}) => valid, false);\n }\n\n public get touched(): boolean {\n return this.safeNgControlData<boolean>(({touched}) => touched, false);\n }\n\n public get disabled(): boolean {\n return this.safeNgControlData<boolean>(({disabled}) => disabled, false);\n }\n\n public get interactive(): boolean {\n return !this.readOnly && !this.computedDisabled;\n }\n\n public get control(): AbstractControl | null {\n return this.safeNgControlData<AbstractControl | null>(\n ({control}) => control,\n null,\n );\n }\n\n public get computedName(): string | null {\n return this.controlName?.toString() ?? null;\n }\n\n public get controlName(): string | null {\n return this.ngControl?.name?.toString() ?? null;\n }\n\n public ngOnInit(): void {\n this.refresh$\n .pipe(\n delay(0),\n startWith(null),\n map(() => this.ngControl?.control),\n filter(tuiIsPresent),\n distinctUntilChanged(),\n switchMap((control) =>\n merge(\n control.valueChanges,\n control.statusChanges,\n (control as any).events || EMPTY,\n ),\n ),\n takeUntilDestroyed(this.destroyRef),\n )\n .subscribe(() => {\n this.refreshLocalValue(this.safeCurrentValue);\n });\n }\n\n public checkControlUpdate(): void {\n this.cdr.markForCheck();\n }\n\n public registerOnChange(onChange: (value: unknown) => void): void {\n this.onChange = (componentValue: T) => {\n onChange(this.toControlValue(componentValue));\n };\n\n this.refresh$.next();\n }\n\n public registerOnTouched(onTouched: () => void): void {\n this.onTouched = onTouched;\n }\n\n public setDisabledState(): void {\n this.checkControlUpdate();\n }\n\n public writeValue(value: T | null): void {\n const controlValue =\n this.ngControl instanceof NgModel && this.previousInternalValue === undefined\n ? this.ngControl.model\n : value;\n\n this.refreshLocalValue(this.fromControlValue(controlValue));\n }\n\n protected override updateFocused(focused: boolean): void {\n if (!focused) {\n this.controlMarkAsTouched();\n }\n\n super.updateFocused(focused);\n }\n\n /**\n * @deprecated use `value` setter\n */\n protected updateValue(value: T): void {\n if (this.disabled || this.valueIdenticalComparator(this.value, value)) {\n return;\n }\n\n this.previousInternalValue = value;\n this.controlSetValue(value);\n }\n\n protected valueIdenticalComparator(oldValue: T, newValue: T): boolean {\n return oldValue === newValue;\n }\n\n private get rawValue(): T | undefined {\n const {ngControl} = this;\n\n if (ngControl === null) {\n return undefined;\n }\n\n const controlValue =\n ngControl instanceof NgModel && this.previousInternalValue === undefined\n ? ngControl.viewModel\n : ngControl.value;\n\n return this.fromControlValue(controlValue);\n }\n\n private safeNgControlData<T>(\n extractor: (ngControl: NgControl) => T | null | undefined,\n defaultFieldValue: T,\n ): T {\n return (this.ngControl && extractor(this.ngControl)) ?? defaultFieldValue;\n }\n\n private controlMarkAsTouched(): void {\n this.onTouched();\n this.checkControlUpdate();\n }\n\n private controlSetValue(value: T): void {\n this.onChange(value);\n this.checkControlUpdate();\n }\n\n private refreshLocalValue(value: T | null): void {\n this.previousInternalValue = value;\n this.checkControlUpdate();\n }\n\n private fromControlValue(controlValue: unknown): T {\n return this.valueTransformer\n ? this.valueTransformer.fromControlValue(controlValue)\n : (controlValue as T);\n }\n\n private toControlValue(componentValue: T): unknown {\n return this.valueTransformer\n ? this.valueTransformer.toControlValue(componentValue)\n : componentValue;\n }\n}\n\nexport function tuiAsControl<T>(control: Type<AbstractTuiControl<T>>): Provider[] {\n return [tuiProvide(AbstractTuiControl, control), tuiProvide(TuiControl, control)];\n}\n","import {Directive, inject, Input, TemplateRef, ViewChild} from '@angular/core';\nimport {tuiInjectId} from '@taiga-ui/cdk/services';\nimport {type TuiBooleanHandler} from '@taiga-ui/cdk/types';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {TuiDataListDirective} from '@taiga-ui/core/components/data-list';\nimport {TUI_ITEMS_HANDLERS} from '@taiga-ui/kit/tokens';\nimport {TUI_TEXTFIELD_HOST, type TuiTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {AbstractTuiControl} from './control';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n standalone: false,\n host: {\n '[id]': 'id',\n },\n})\nexport abstract class AbstractTuiNativeSelect<H = TuiTextfieldHost, T = string> {\n @ViewChild(TuiDataListDirective, {read: TemplateRef, static: true})\n protected readonly datalist: TemplateRef<any> | null = null;\n\n protected readonly autoId = tuiInjectId();\n protected readonly el = tuiInjectElement<HTMLSelectElement>();\n protected readonly host = inject<H>(TUI_TEXTFIELD_HOST);\n protected readonly control = inject(AbstractTuiControl);\n protected readonly itemsHandlers = inject(TUI_ITEMS_HANDLERS);\n\n @Input()\n public disabledItemHandler: TuiBooleanHandler<T> | null = null;\n\n @Input()\n public placeholder = '';\n\n protected get id(): string {\n return this.el.id || this.autoId;\n }\n\n protected get emptyOption(): boolean {\n return !!this.placeholder && !this.control.value;\n }\n}\n","import {Directive, inject} from '@angular/core';\nimport {type TuiTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {AbstractTuiControl} from './control';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive()\nexport abstract class AbstractTuiTextfieldHost<T extends AbstractTuiControl<any>>\n implements TuiTextfieldHost\n{\n protected readonly host: T = inject<any>(AbstractTuiControl, {optional: true});\n\n public readonly inputMode: TuiTextfieldHost['inputMode'] = 'text';\n\n public abstract onValueChange(value: string): void;\n\n public get readOnly(): boolean {\n return this.host.readOnly;\n }\n\n public get disabled(): boolean {\n return this.host.computedDisabled;\n }\n\n public get invalid(): boolean {\n return this.host.computedInvalid;\n }\n\n public get focusable(): boolean {\n return this.host.computedFocusable;\n }\n\n public get value(): string {\n return this.host.value?.toString() || '';\n }\n\n public process(_input: HTMLInputElement): void {}\n}\n","import {Directive, type OnChanges} from '@angular/core';\nimport {Subject} from 'rxjs';\n\n@Directive()\nexport abstract class AbstractTuiController implements OnChanges {\n public readonly change$ = new Subject<void>();\n\n public ngOnChanges(): void {\n this.change$.next();\n }\n}\n","import {Directive} from '@angular/core';\n\nimport {AbstractTuiControl} from './control';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive()\nexport abstract class AbstractTuiMultipleControl<T> extends AbstractTuiControl<\n readonly T[]\n> {\n protected clear(): void {\n this.value = [];\n }\n\n protected getFallbackValue(): readonly T[] {\n return [];\n }\n}\n","import {type TuiDay} from '@taiga-ui/cdk/date-time';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport class TuiNamedDay {\n constructor(\n public readonly day: TuiDay,\n private readonly name: string,\n public readonly displayDay: TuiDay = day,\n ) {}\n\n protected toString(): string {\n return this.name;\n }\n}\n","import {Directive} from '@angular/core';\n\nimport {AbstractTuiControl} from './control';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive()\nexport abstract class AbstractTuiNullableControl<T> extends AbstractTuiControl<T | null> {\n protected getFallbackValue(): T | null {\n return null;\n }\n}\n","import {type TuiStringHandler} from '@taiga-ui/cdk/types';\n\n/**\n * @deprecated: drop in v5.0\n * Wrapper around an item to add `toString()` method\n */\nexport class TuiStringifiableItem<T> {\n constructor(\n public readonly item: T,\n public readonly stringify: TuiStringHandler<T>,\n ) {}\n\n protected toString(): string {\n return this.stringify(this.item);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