@taiga-ui/legacy 4.52.0-canary.e10b718 → 4.52.0-canary.e53e79e

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 (331) hide show
  1. package/README.md +1 -1
  2. package/components/dialog/dialog.component.d.ts +19 -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 -26
  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 -26
  26. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-legacy.mjs +0 -6
  28. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  29. package/index.d.ts +0 -6
  30. package/package.json +22 -165
  31. package/classes/abstract-native-select.d.ts +0 -22
  32. package/classes/abstract-textfield-host.d.ts +0 -19
  33. package/classes/control.d.ts +0 -60
  34. package/classes/controller.d.ts +0 -9
  35. package/classes/index.d.ts +0 -9
  36. package/classes/interactive.d.ts +0 -34
  37. package/classes/multiple-control.d.ts +0 -11
  38. package/classes/named-day.d.ts +0 -11
  39. package/classes/nullable-control.d.ts +0 -10
  40. package/classes/stringifiable-item.d.ts +0 -11
  41. package/components/arrow/arrow.component.d.ts +0 -17
  42. package/components/arrow/arrow.options.d.ts +0 -19
  43. package/components/arrow/arrow.providers.d.ts +0 -23
  44. package/components/arrow/index.d.ts +0 -3
  45. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  46. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  47. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  48. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  49. package/components/color-selector/color-selector.component.d.ts +0 -47
  50. package/components/color-selector/color-selector.module.d.ts +0 -23
  51. package/components/color-selector/color-selector.options.d.ts +0 -25
  52. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  53. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  54. package/components/color-selector/index.d.ts +0 -16
  55. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  56. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  57. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  58. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  59. package/components/color-selector/palette/palette.component.d.ts +0 -10
  60. package/components/color-selector/palette/palette.module.d.ts +0 -13
  61. package/components/color-selector/services/picker.service.d.ts +0 -15
  62. package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
  63. package/components/combo-box/combo-box.component.d.ts +0 -52
  64. package/components/combo-box/combo-box.directive.d.ts +0 -13
  65. package/components/combo-box/combo-box.module.d.ts +0 -20
  66. package/components/combo-box/index.d.ts +0 -4
  67. package/components/input/index.d.ts +0 -3
  68. package/components/input/input.component.d.ts +0 -32
  69. package/components/input/input.directive.d.ts +0 -12
  70. package/components/input/input.module.d.ts +0 -16
  71. package/components/input-color/index.d.ts +0 -2
  72. package/components/input-color/input-color.component.d.ts +0 -30
  73. package/components/input-color/input-color.module.d.ts +0 -17
  74. package/components/input-date/index.d.ts +0 -3
  75. package/components/input-date/input-date.component.d.ts +0 -62
  76. package/components/input-date/input-date.directive.d.ts +0 -19
  77. package/components/input-date/input-date.module.d.ts +0 -24
  78. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  79. package/components/input-date-range/index.d.ts +0 -3
  80. package/components/input-date-range/input-date-range.component.d.ts +0 -67
  81. package/components/input-date-range/input-date-range.directive.d.ts +0 -16
  82. package/components/input-date-range/input-date-range.module.d.ts +0 -22
  83. package/components/input-date-time/index.d.ts +0 -3
  84. package/components/input-date-time/input-date-time.component.d.ts +0 -87
  85. package/components/input-date-time/input-date-time.directive.d.ts +0 -17
  86. package/components/input-date-time/input-date-time.module.d.ts +0 -23
  87. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
  88. package/components/input-month-range/index.d.ts +0 -3
  89. package/components/input-month-range/input-month-range.component.d.ts +0 -38
  90. package/components/input-month-range/input-month-range.directive.d.ts +0 -23
  91. package/components/input-month-range/input-month-range.module.d.ts +0 -18
  92. package/components/input-number/index.d.ts +0 -4
  93. package/components/input-number/input-number.component.d.ts +0 -63
  94. package/components/input-number/input-number.directive.d.ts +0 -16
  95. package/components/input-number/input-number.module.d.ts +0 -18
  96. package/components/input-number/input-number.options.d.ts +0 -29
  97. package/components/input-phone/index.d.ts +0 -4
  98. package/components/input-phone/input-phone.component.d.ts +0 -52
  99. package/components/input-phone/input-phone.directive.d.ts +0 -16
  100. package/components/input-phone/input-phone.module.d.ts +0 -15
  101. package/components/input-phone/input-phone.options.d.ts +0 -22
  102. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  103. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  104. package/components/input-phone/utils/index.d.ts +0 -2
  105. package/components/input-phone-international/index.d.ts +0 -3
  106. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  107. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  108. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  109. package/components/input-range/index.d.ts +0 -2
  110. package/components/input-range/input-range.component.d.ts +0 -56
  111. package/components/input-range/input-range.module.d.ts +0 -19
  112. package/components/input-slider/index.d.ts +0 -2
  113. package/components/input-slider/input-slider.component.d.ts +0 -42
  114. package/components/input-slider/input-slider.module.d.ts +0 -18
  115. package/components/input-tag/index.d.ts +0 -3
  116. package/components/input-tag/input-tag.component.d.ts +0 -103
  117. package/components/input-tag/input-tag.module.d.ts +0 -22
  118. package/components/input-tag/input-tag.options.d.ts +0 -27
  119. package/components/input-time/index.d.ts +0 -4
  120. package/components/input-time/input-time.component.d.ts +0 -62
  121. package/components/input-time/input-time.directive.d.ts +0 -17
  122. package/components/input-time/input-time.module.d.ts +0 -23
  123. package/components/input-time/input-time.options.d.ts +0 -42
  124. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  125. package/components/input-year/index.d.ts +0 -3
  126. package/components/input-year/input-year.component.d.ts +0 -36
  127. package/components/input-year/input-year.directive.d.ts +0 -14
  128. package/components/input-year/input-year.module.d.ts +0 -18
  129. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  130. package/components/multi-select/index.d.ts +0 -10
  131. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  132. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  133. package/components/multi-select/multi-select.component.d.ts +0 -71
  134. package/components/multi-select/multi-select.directive.d.ts +0 -14
  135. package/components/multi-select/multi-select.module.d.ts +0 -31
  136. package/components/multi-select/multi-select.options.d.ts +0 -14
  137. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  138. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  139. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  140. package/components/multi-select-option/index.d.ts +0 -2
  141. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  142. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  143. package/components/primitive-textfield/index.d.ts +0 -7
  144. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
  145. package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
  146. package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
  147. package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
  148. package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
  149. package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
  150. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
  151. package/components/select/index.d.ts +0 -6
  152. package/components/select/native-select/native-select-group.component.d.ts +0 -17
  153. package/components/select/native-select/native-select.component.d.ts +0 -16
  154. package/components/select/select.component.d.ts +0 -45
  155. package/components/select/select.directive.d.ts +0 -16
  156. package/components/select/select.module.d.ts +0 -24
  157. package/components/select/select.options.d.ts +0 -25
  158. package/components/select-option/index.d.ts +0 -2
  159. package/components/select-option/select-option.component.d.ts +0 -27
  160. package/components/select-option/select-option.module.d.ts +0 -10
  161. package/components/svg/content-processor.d.ts +0 -19
  162. package/components/svg/deprecated-icons.d.ts +0 -5
  163. package/components/svg/index.d.ts +0 -5
  164. package/components/svg/svg-options.d.ts +0 -50
  165. package/components/svg/svg.component.d.ts +0 -50
  166. package/components/svg/svg.service.d.ts +0 -21
  167. package/components/tag/index.d.ts +0 -3
  168. package/components/tag/tag.component.d.ts +0 -44
  169. package/components/tag/tag.module.d.ts +0 -16
  170. package/components/tag/tag.options.d.ts +0 -27
  171. package/components/textarea/index.d.ts +0 -3
  172. package/components/textarea/textarea.component.d.ts +0 -54
  173. package/components/textarea/textarea.directive.d.ts +0 -12
  174. package/components/textarea/textarea.module.d.ts +0 -21
  175. package/components/tooltip/index.d.ts +0 -2
  176. package/components/tooltip/tooltip.component.d.ts +0 -12
  177. package/components/tooltip/tooltip.module.d.ts +0 -13
  178. package/directives/index.d.ts +0 -5
  179. package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
  180. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
  181. package/directives/textfield-controller/index.d.ts +0 -14
  182. package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
  183. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
  184. package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
  185. package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
  186. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
  187. package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
  188. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
  189. package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
  190. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
  191. package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
  192. package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
  193. package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
  194. package/directives/textfield-controller/textfield.controller.d.ts +0 -41
  195. package/directives/textfield-controller/textfield.options.d.ts +0 -19
  196. package/directives/unfinished-validator/index.d.ts +0 -2
  197. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
  198. package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
  199. package/directives/value-accessor/index.d.ts +0 -3
  200. package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
  201. package/directives/value-accessor/value-accessor.module.d.ts +0 -7
  202. package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
  203. package/directives/wrapper/README.md +0 -19
  204. package/directives/wrapper/index.d.ts +0 -2
  205. package/directives/wrapper/wrapper.directive.d.ts +0 -22
  206. package/directives/wrapper/wrapper.module.d.ts +0 -10
  207. package/fesm2022/taiga-ui-legacy-classes.mjs +0 -415
  208. package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
  209. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -85
  210. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
  211. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -726
  212. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  213. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -300
  214. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  215. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  216. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  217. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -356
  218. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
  219. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
  220. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
  221. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  222. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  223. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
  224. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
  225. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -390
  226. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
  227. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  228. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  229. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -373
  230. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  231. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
  232. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
  233. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -199
  234. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
  235. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  236. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  237. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -430
  238. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  239. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  240. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  241. package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -156
  242. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
  243. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  244. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  245. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -690
  246. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  247. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
  248. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
  249. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
  250. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
  251. package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -354
  252. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
  253. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
  254. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  255. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -225
  256. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  257. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  258. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
  259. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
  260. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
  261. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -50
  262. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
  263. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -401
  264. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
  265. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -50
  266. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
  267. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
  268. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
  269. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
  270. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
  271. package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
  272. package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
  273. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
  274. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  275. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  276. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  277. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  278. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  279. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  280. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  281. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  282. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  283. package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
  284. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
  285. package/fesm2022/taiga-ui-legacy-utils.mjs +0 -268
  286. package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
  287. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  288. package/pipes/format-phone/index.d.ts +0 -1
  289. package/pipes/index.d.ts +0 -3
  290. package/pipes/iso-to-country-code/index.d.ts +0 -1
  291. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  292. package/pipes/to-country-code/index.d.ts +0 -1
  293. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  294. package/services/index.d.ts +0 -1
  295. package/services/static-request.service.d.ts +0 -11
  296. package/styles/mixins/mixins.less +0 -239
  297. package/styles/mixins/mixins.scss +0 -224
  298. package/styles/mixins/textfield.less +0 -324
  299. package/styles/mixins/textfield.scss +0 -308
  300. package/styles/taiga-ui-local.less +0 -3
  301. package/styles/taiga-ui-local.scss +0 -3
  302. package/tokens/countries-masks.d.ts +0 -9
  303. package/tokens/focusable-item-accessor.d.ts +0 -25
  304. package/tokens/fonts-ready.d.ts +0 -6
  305. package/tokens/icons.d.ts +0 -6
  306. package/tokens/index.d.ts +0 -14
  307. package/tokens/is-apple.d.ts +0 -6
  308. package/tokens/is-chromium.d.ts +0 -6
  309. package/tokens/is-firefox.d.ts +0 -6
  310. package/tokens/is-stackblitz.d.ts +0 -5
  311. package/tokens/month-formatter.d.ts +0 -10
  312. package/tokens/sanitizer.d.ts +0 -6
  313. package/tokens/textfield-appearance.d.ts +0 -7
  314. package/tokens/textfield-host.d.ts +0 -23
  315. package/tokens/touch-supported.d.ts +0 -5
  316. package/tokens/value-accessor.d.ts +0 -7
  317. package/utils/capitalize-first-letter.d.ts +0 -4
  318. package/utils/date-mode-maskito-adapter.d.ts +0 -6
  319. package/utils/format-phone.d.ts +0 -30
  320. package/utils/get-border.d.ts +0 -5
  321. package/utils/get-max-allowed-phone-length.d.ts +0 -24
  322. package/utils/get-safe-area-size.d.ts +0 -7
  323. package/utils/icons-path-factory.d.ts +0 -13
  324. package/utils/index.d.ts +0 -14
  325. package/utils/is-apple.d.ts +0 -5
  326. package/utils/is-presumed-html-string.d.ts +0 -4
  327. package/utils/iso-to-country-code.d.ts +0 -13
  328. package/utils/not-kz-region.d.ts +0 -20
  329. package/utils/process-icon.d.ts +0 -4
  330. package/utils/specific-dropdown-controllers.d.ts +0 -4
  331. package/utils/status.d.ts +0 -4
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-textarea.mjs","sources":["../../../projects/legacy/components/textarea/textarea.component.ts","../../../projects/legacy/components/textarea/textarea.template.html","../../../projects/legacy/components/textarea/textarea.directive.ts","../../../projects/legacy/components/textarea/textarea.module.ts","../../../projects/legacy/components/textarea/taiga-ui-legacy-components-textarea.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ElementRef,\n inject,\n Input,\n ViewChild,\n} from '@angular/core';\nimport {TUI_IS_IOS} from '@taiga-ui/cdk/tokens';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiIsNativeFocused} from '@taiga-ui/cdk/utils/focus';\nimport {TUI_TEXTFIELD_OPTIONS} from '@taiga-ui/core/components/textfield';\nimport {TuiHintOptionsDirective} from '@taiga-ui/core/directives/hint';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {AbstractTuiControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {\n TUI_ICON_START_PADDINGS,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {\n TEXTFIELD_CONTROLLER_PROVIDER,\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n} from '@taiga-ui/legacy/directives';\nimport {\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n} from '@taiga-ui/legacy/tokens';\nimport {tuiGetBorder} from '@taiga-ui/legacy/utils';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport const DEFAULT_ROWS = 20;\nexport const LINE_HEIGHT_M = 20;\nexport const LINE_HEIGHT_L = 24;\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/textarea Textarea} (from @taiga-ui/kit) instead\n */\n@Component({\n standalone: false,\n selector: 'tui-textarea',\n templateUrl: './textarea.template.html',\n styleUrls: ['./textarea.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiTextareaComponent),\n tuiAsControl(TuiTextareaComponent),\n TEXTFIELD_CONTROLLER_PROVIDER,\n ],\n host: {\n '[attr.data-size]': 'size',\n '[class._ios]': 'isIOS',\n '[class._expandable]': 'expandable',\n '[class._has-counter]': 'hasCounter',\n '[class._label-outside]': 'labelOutside',\n '[class._has-tooltip]': 'hasTooltip',\n '[class._has-value]': 'hasValue',\n '[style.--t-border-end.rem]': 'borderEnd',\n '[style.--t-border-start.rem]': 'borderStart',\n '(focusin)': 'onFocused(true)',\n '(focusout)': 'onFocused(false)',\n },\n})\nexport class TuiTextareaComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor\n{\n @ViewChild('focusableElement')\n private readonly focusableElement?: ElementRef<HTMLTextAreaElement>;\n\n @ContentChild(TuiTextfieldComponent, {read: ElementRef})\n private readonly textfield?: ElementRef<HTMLTextAreaElement>;\n\n private readonly options = inject(TUI_TEXTFIELD_OPTIONS);\n\n protected readonly isIOS = inject(TUI_IS_IOS);\n protected readonly controller = inject(TUI_TEXTFIELD_WATCHED_CONTROLLER);\n protected readonly hintOptions = inject(TuiHintOptionsDirective, {optional: true});\n\n @Input()\n public rows = DEFAULT_ROWS;\n\n @Input()\n public maxLength: number | null = null;\n\n @Input()\n public expandable = false;\n\n public get nativeFocusableElement(): HTMLTextAreaElement | null {\n if (this.computedDisabled) {\n return null;\n }\n\n return (\n this.textfield?.nativeElement || this.focusableElement?.nativeElement || null\n );\n }\n\n public get focused(): boolean {\n return tuiIsNativeFocused(this.nativeFocusableElement);\n }\n\n public get computeMaxHeight(): number | null {\n return this.expandable ? this.rows * this.lineHeight : null;\n }\n\n public onValueChange(value: string): void {\n this.value = value;\n }\n\n protected get labelOutside(): boolean {\n return this.options.appearance() === 'table' || this.controller.labelOutside;\n }\n\n protected get size(): TuiSizeL | TuiSizeS {\n return this.controller.size;\n }\n\n protected get borderStart(): number {\n return this.iconLeftContent ? TUI_ICON_START_PADDINGS[this.size] : 0;\n }\n\n protected get borderEnd(): number {\n return tuiGetBorder(\n !!this.iconContent,\n this.hasCleaner,\n this.hasTooltip,\n this.hasCustomContent,\n this.size,\n );\n }\n\n protected get hasTooltip(): boolean {\n return (\n !!this.hintOptions?.content &&\n (this.controller.options.hintOnDisabled || !this.computedDisabled)\n );\n }\n\n protected get hasValue(): boolean {\n return this.value !== '';\n }\n\n protected get hasCounter(): boolean {\n return !!this.maxLength && this.interactive;\n }\n\n protected get appearance(): string {\n return this.options.appearance() === 'table'\n ? 'table'\n : this.controller.appearance;\n }\n\n protected get hasCleaner(): boolean {\n return this.controller.cleaner && this.hasValue && this.interactive;\n }\n\n protected get hasPlaceholder(): boolean {\n return this.placeholderRaisable || (!this.hasValue && !this.hasExampleText);\n }\n\n protected get hasCustomContent(): boolean {\n return !!this.controller.customContent;\n }\n\n protected get iconLeftContent(): PolymorpheusContent<\n TuiContext<TuiSizeL | TuiSizeS>\n > {\n return this.controller.iconStart;\n }\n\n protected get iconContent(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>> {\n return this.controller.icon;\n }\n\n protected get iconCleaner(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>> {\n return this.controller.options.iconCleaner;\n }\n\n protected get hasExampleText(): boolean {\n return (\n !!this.textfield?.nativeElement.placeholder &&\n this.focused &&\n !this.hasValue &&\n !this.readOnly\n );\n }\n\n protected get placeholderRaised(): boolean {\n return (\n this.placeholderRaisable &&\n ((this.computedFocused && !this.readOnly) || this.hasValue)\n );\n }\n\n protected get fittedContent(): string {\n return this.value.slice(0, this.maxLength || Infinity);\n }\n\n protected get extraContent(): string {\n return this.value.slice(this.maxLength || Infinity);\n }\n\n protected onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n protected onMouseDown(event: MouseEvent): void {\n if (event.target === this.nativeFocusableElement) {\n return;\n }\n\n event.preventDefault();\n\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.focus();\n }\n }\n\n protected getFallbackValue(): string {\n return '';\n }\n\n private get lineHeight(): number {\n return this.controller.size === 'm' ? LINE_HEIGHT_M : LINE_HEIGHT_L;\n }\n\n private get placeholderRaisable(): boolean {\n return this.size !== 's' && !this.controller.labelOutside;\n }\n}\n","@if (hintOptions?.change$ | async) {}\n<div\n automation-id=\"tui-text-area__wrapper\"\n tuiWrapper\n class=\"t-outline\"\n [appearance]=\"appearance\"\n [disabled]=\"disabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n>\n @if (hasCounter) {\n <div\n automation-id=\"tui-text-area__counter\"\n class=\"t-counter\"\n >\n {{ value.length }}/{{ maxLength }}\n </div>\n }\n\n <label\n class=\"t-content\"\n (mousedown)=\"onMouseDown($event)\"\n >\n <div class=\"t-wrapper\">\n @if (hasPlaceholder) {\n <div\n automation-id=\"tui-text-area__placeholder\"\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n <ng-content />\n </div>\n }\n <tui-scrollbar\n automation-id=\"tui-text-area__scrollbar\"\n class=\"t-box\"\n [style.maxHeight.px]=\"computeMaxHeight\"\n >\n <div class=\"t-input-wrapper\">\n <div class=\"t-relative\">\n <div\n aria-hidden=\"true\"\n class=\"t-pseudo-content\"\n >\n <span [textContent]=\"fittedContent || nativeFocusableElement?.placeholder\"></span>\n <span\n class=\"t-pseudo-content__extra\"\n [textContent]=\"extraContent\"\n ></span>\n <span class=\"t-caret\"></span>\n </div>\n <textarea\n #focusableElement\n automation-id=\"tui-text-area__native\"\n class=\"t-input\"\n [disabled]=\"computedDisabled\"\n [id]=\"id\"\n [ngModelOptions]=\"{standalone: true}\"\n [readOnly]=\"readOnly\"\n [tabIndex]=\"computedFocusable ? 0 : -1\"\n [(ngModel)]=\"value\"\n ></textarea>\n <ng-content select=\"textarea\" />\n </div>\n </div>\n </tui-scrollbar>\n </div>\n <div class=\"t-icons\">\n @if (iconLeftContent) {\n <div class=\"t-icon t-icon_left t-textfield-icon\">\n <tui-icon\n *polymorpheusOutlet=\"iconLeftContent as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [icon]=\"src.toString()\"\n />\n </div>\n }\n @if (hasCustomContent) {\n <tui-icon\n *polymorpheusOutlet=\"controller.customContent as src\"\n [icon]=\"src\"\n />\n }\n @if (hasCleaner) {\n <tui-icon\n *polymorpheusOutlet=\"iconCleaner as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n class=\"t-cleaner\"\n [icon]=\"src.toString()\"\n (click.stop)=\"onValueChange('')\"\n />\n }\n @if (hasTooltip) {\n <tui-tooltip\n automation-id=\"tui-text-area__tooltip\"\n [content]=\"hintOptions?.content\"\n [describeId]=\"id\"\n />\n }\n @if (iconContent) {\n <div class=\"t-icon t-textfield-icon\">\n <tui-icon\n *polymorpheusOutlet=\"iconContent as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [icon]=\"src.toString()\"\n />\n </div>\n }\n </div>\n </label>\n</div>\n","import {Directive} from '@angular/core';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {type TuiTextareaComponent} from './textarea.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/textarea Textarea} (from @taiga-ui/kit) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-textarea',\n providers: [tuiAsTextfieldHost(TuiTextareaDirective)],\n})\nexport class TuiTextareaDirective extends AbstractTuiTextfieldHost<TuiTextareaComponent> {\n public onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiScrollbar} from '@taiga-ui/core/components/scrollbar';\nimport {TuiAppearance} from '@taiga-ui/core/directives/appearance';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TuiTooltipModule} from '@taiga-ui/legacy/components/tooltip';\nimport {TuiWrapperModule} from '@taiga-ui/legacy/directives';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiTextareaComponent} from './textarea.component';\nimport {TuiTextareaDirective} from './textarea.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/textarea Textarea} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n TuiScrollbar,\n TuiTooltipModule,\n TuiWrapperModule,\n TuiPrimitiveTextfieldModule,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n TuiIcon,\n TuiAppearance,\n ],\n declarations: [TuiTextareaComponent, TuiTextareaDirective],\n exports: [\n TuiTextareaComponent,\n TuiTextareaDirective,\n TuiTextfieldComponent,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n ],\n})\nexport class TuiTextareaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BO,MAAM,YAAY,GAAG;AACrB,MAAM,aAAa,GAAG;AACtB,MAAM,aAAa,GAAG;AAE7B;;;AAGG;AA0BG,MAAO,oBACT,SAAQ,kBAA0B,CAAA;AA1BtC,IAAA,WAAA,GAAA;;AAmCqB,QAAA,IAAA,CAAA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
- import { Input, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
- import { TuiHintOptionsDirective } from '@taiga-ui/core/directives/hint';
4
- import * as i1 from '@taiga-ui/core/components/icon';
5
- import { TuiIcon } from '@taiga-ui/core/components/icon';
6
- import * as i2 from '@taiga-ui/kit/directives/tooltip';
7
- import { TuiTooltip } from '@taiga-ui/kit/directives/tooltip';
8
-
9
- /**
10
- * @deprecated: drop in v5.0 use {@link TuiTooltip}
11
- * https://taiga-ui.dev/components/tooltip
12
- */
13
- class TuiTooltipComponent extends TuiHintOptionsDirective {
14
- constructor() {
15
- super(...arguments);
16
- this.describeId = '';
17
- }
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTooltipComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
19
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiTooltipComponent, isStandalone: false, selector: "tui-tooltip", inputs: { content: "content", direction: "direction", appearance: "appearance", showDelay: "showDelay", hideDelay: "hideDelay", describeId: "describeId", context: "context" }, usesInheritance: true, ngImport: i0, template: "<tui-icon\n automation-id=\"tui-tooltip__icon\"\n [tuiHintAppearance]=\"appearance || ''\"\n [tuiHintContext]=\"context\"\n [tuiHintDirection]=\"direction\"\n [tuiHintHideDelay]=\"hideDelay\"\n [tuiHintShowDelay]=\"showDelay\"\n [tuiTooltip]=\"content\"\n [tuiTooltipDescribe]=\"describeId\"\n/>\n", dependencies: [{ kind: "component", type: i1.TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: i2.TuiTooltip, selector: "tui-icon[tuiTooltip]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
20
- }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTooltipComponent, decorators: [{
22
- type: Component,
23
- args: [{ standalone: false, selector: 'tui-tooltip', changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['content', 'direction', 'appearance', 'showDelay', 'hideDelay'], template: "<tui-icon\n automation-id=\"tui-tooltip__icon\"\n [tuiHintAppearance]=\"appearance || ''\"\n [tuiHintContext]=\"context\"\n [tuiHintDirection]=\"direction\"\n [tuiHintHideDelay]=\"hideDelay\"\n [tuiHintShowDelay]=\"showDelay\"\n [tuiTooltip]=\"content\"\n [tuiTooltipDescribe]=\"describeId\"\n/>\n" }]
24
- }], propDecorators: { describeId: [{
25
- type: Input
26
- }], context: [{
27
- type: Input
28
- }] } });
29
-
30
- /**
31
- * @deprecated: drop in v5.0 use {@link TuiTooltip}
32
- * https://taiga-ui.dev/components/tooltip
33
- */
34
- class TuiTooltipModule {
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
36
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiTooltipModule, declarations: [TuiTooltipComponent], imports: [TuiIcon, TuiTooltip], exports: [TuiTooltipComponent] }); }
37
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTooltipModule, imports: [TuiIcon] }); }
38
- }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTooltipModule, decorators: [{
40
- type: NgModule,
41
- args: [{
42
- imports: [TuiIcon, TuiTooltip],
43
- declarations: [TuiTooltipComponent],
44
- exports: [TuiTooltipComponent],
45
- }]
46
- }] });
47
-
48
- /**
49
- * Generated bundle index. Do not edit.
50
- */
51
-
52
- export { TuiTooltipComponent, TuiTooltipModule };
53
- //# sourceMappingURL=taiga-ui-legacy-components-tooltip.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-tooltip.mjs","sources":["../../../projects/legacy/components/tooltip/tooltip.component.ts","../../../projects/legacy/components/tooltip/tooltip.template.html","../../../projects/legacy/components/tooltip/tooltip.module.ts","../../../projects/legacy/components/tooltip/taiga-ui-legacy-components-tooltip.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Input} from '@angular/core';\nimport {TuiHintOptionsDirective} from '@taiga-ui/core/directives/hint';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiTooltip}\n * https://taiga-ui.dev/components/tooltip\n */\n@Component({\n standalone: false,\n selector: 'tui-tooltip',\n templateUrl: './tooltip.template.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: ['content', 'direction', 'appearance', 'showDelay', 'hideDelay'],\n})\nexport class TuiTooltipComponent<C = any> extends TuiHintOptionsDirective {\n @Input()\n public describeId = '';\n\n @Input()\n public context?: C;\n}\n","<tui-icon\n automation-id=\"tui-tooltip__icon\"\n [tuiHintAppearance]=\"appearance || ''\"\n [tuiHintContext]=\"context\"\n [tuiHintDirection]=\"direction\"\n [tuiHintHideDelay]=\"hideDelay\"\n [tuiHintShowDelay]=\"showDelay\"\n [tuiTooltip]=\"content\"\n [tuiTooltipDescribe]=\"describeId\"\n/>\n","import {NgModule} from '@angular/core';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiTooltip} from '@taiga-ui/kit/directives/tooltip';\n\nimport {TuiTooltipComponent} from './tooltip.component';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiTooltip}\n * https://taiga-ui.dev/components/tooltip\n */\n@NgModule({\n imports: [TuiIcon, TuiTooltip],\n declarations: [TuiTooltipComponent],\n exports: [TuiTooltipComponent],\n})\nexport class TuiTooltipModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAGA;;;AAGG;AAQG,MAAO,mBAA6B,SAAQ,uBAAuB,CAAA;AAPzE,IAAA,WAAA,GAAA;;QASW,IAAU,CAAA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AA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,iBAHV,mBAAmB,CAAA,EAAA,OAAA,EAAA,CADxB,OAAO,EAAE,UAAU,aAEnB,mBAAmB,CAAA,EAAA,CAAA,CAAA;AAEpB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAJf,OAAO,CAAA,EAAA,CAAA,CAAA;;4FAIR,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC;oBAC9B,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE,CAAC,mBAAmB,CAAC;AACjC,iBAAA;;;ACdD;;AAEG;;;;"}
@@ -1,50 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, DestroyRef, Directive } from '@angular/core';
3
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
5
- import { tuiGetClosestFocusable } from '@taiga-ui/cdk/utils/focus';
6
- import { TuiDropdownOpen, TuiDropdownOpenLegacy } from '@taiga-ui/core/directives/dropdown';
7
- import { distinctUntilChanged } from 'rxjs';
8
-
9
- class TuiLegacyDropdownOpenMonitorDirective {
10
- constructor() {
11
- this.destroyRef = inject(DestroyRef);
12
- this.el = tuiInjectElement();
13
- this.host = inject(TuiDropdownOpen, { self: true });
14
- this.external = inject(TuiDropdownOpenLegacy, {
15
- optional: true,
16
- });
17
- }
18
- ngAfterViewInit() {
19
- this.external?.tuiDropdownOpenChange
20
- .pipe(distinctUntilChanged(), takeUntilDestroyed(this.destroyRef))
21
- .subscribe((open) => {
22
- if (open) {
23
- tuiGetClosestFocusable({
24
- initial: this.el,
25
- root: this.el,
26
- })?.focus();
27
- }
28
- this.host.toggle(open);
29
- });
30
- this.host.driver
31
- .pipe(distinctUntilChanged(), takeUntilDestroyed(this.destroyRef))
32
- .subscribe((open) => this.external?.emitOpenChange(open));
33
- }
34
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLegacyDropdownOpenMonitorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
35
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiLegacyDropdownOpenMonitorDirective, isStandalone: true, selector: "[tuiDropdownOpenMonitor]", ngImport: i0 }); }
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLegacyDropdownOpenMonitorDirective, decorators: [{
38
- type: Directive,
39
- args: [{
40
- standalone: true,
41
- selector: '[tuiDropdownOpenMonitor]',
42
- }]
43
- }] });
44
-
45
- /**
46
- * Generated bundle index. Do not edit.
47
- */
48
-
49
- export { TuiLegacyDropdownOpenMonitorDirective };
50
- //# sourceMappingURL=taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs","sources":["../../../projects/legacy/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.ts","../../../projects/legacy/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.ts"],"sourcesContent":["import {type AfterViewInit, DestroyRef, Directive, inject} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiGetClosestFocusable} from '@taiga-ui/cdk/utils/focus';\nimport {TuiDropdownOpen, TuiDropdownOpenLegacy} from '@taiga-ui/core/directives/dropdown';\nimport {distinctUntilChanged} from 'rxjs';\n\n@Directive({\n standalone: true,\n selector: '[tuiDropdownOpenMonitor]',\n})\nexport class TuiLegacyDropdownOpenMonitorDirective implements AfterViewInit {\n private readonly destroyRef = inject(DestroyRef);\n private readonly el = tuiInjectElement();\n private readonly host = inject(TuiDropdownOpen, {self: true});\n private readonly external = inject(TuiDropdownOpenLegacy, {\n optional: true,\n });\n\n public ngAfterViewInit(): void {\n this.external?.tuiDropdownOpenChange\n .pipe(distinctUntilChanged(), takeUntilDestroyed(this.destroyRef))\n .subscribe((open) => {\n if (open) {\n tuiGetClosestFocusable({\n initial: this.el,\n root: this.el,\n })?.focus();\n }\n\n this.host.toggle(open);\n });\n\n this.host.driver\n .pipe(distinctUntilChanged(), takeUntilDestroyed(this.destroyRef))\n .subscribe((open) => this.external?.emitOpenChange(open));\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAWa,qCAAqC,CAAA;AAJlD,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;QAC/B,IAAE,CAAA,EAAA,GAAG,gBAAgB,EAAE;QACvB,IAAI,CAAA,IAAA,GAAG,MAAM,CAAC,eAAe,EAAE,EAAC,IAAI,EAAE,IAAI,EAAC,CAAC;AAC5C,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,qBAAqB,EAAE;AACtD,YAAA,QAAQ,EAAE,IAAI;AACjB,SAAA,CAAC;AAoBL;IAlBU,eAAe,GAAA;QAClB,IAAI,CAAC,QAAQ,EAAE;aACV,IAAI,CAAC,oBAAoB,EAAE,EAAE,kBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC;AAChE,aAAA,SAAS,CAAC,CAAC,IAAI,KAAI;YAChB,IAAI,IAAI,EAAE;AACN,gBAAA,sBAAsB,CAAC;oBACnB,OAAO,EAAE,IAAI,CAAC,EAAE;oBAChB,IAAI,EAAE,IAAI,CAAC,EAAE;iBAChB,CAAC,EAAE,KAAK,EAAE;;AAGf,YAAA,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC;AAC1B,SAAC,CAAC;QAEN,IAAI,CAAC,IAAI,CAAC;aACL,IAAI,CAAC,oBAAoB,EAAE,EAAE,kBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC;AAChE,aAAA,SAAS,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC;;+GAxBxD,qCAAqC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAArC,qCAAqC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,0BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAArC,qCAAqC,EAAA,UAAA,EAAA,CAAA;kBAJjD,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,0BAA0B;AACvC,iBAAA;;;ACVD;;AAEG;;;;"}
@@ -1,401 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, Input, Directive, NgModule, ChangeDetectorRef } from '@angular/core';
3
- import { tuiProvideOptions, tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
4
- import { AbstractTuiController } from '@taiga-ui/legacy/classes';
5
- import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
6
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
7
- import { tuiWatch } from '@taiga-ui/cdk/observables';
8
- import { TUI_TEXTFIELD_APPEARANCE } from '@taiga-ui/legacy/tokens';
9
- import { merge, NEVER } from 'rxjs';
10
-
11
- class TuiTextfieldController {
12
- // eslint-disable-next-line @typescript-eslint/max-params,max-params
13
- constructor(change$, options, legacyAppearance, appearanceDirective, cleanerDirective, customContentDirective, iconDirective, iconLeftDirective, labelOutsideDirective, sizeDirective, prefixDirective, postfixDirective, fillerDirective) {
14
- this.change$ = change$;
15
- this.options = options;
16
- this.legacyAppearance = legacyAppearance;
17
- this.appearanceDirective = appearanceDirective;
18
- this.cleanerDirective = cleanerDirective;
19
- this.customContentDirective = customContentDirective;
20
- this.iconDirective = iconDirective;
21
- this.iconLeftDirective = iconLeftDirective;
22
- this.labelOutsideDirective = labelOutsideDirective;
23
- this.sizeDirective = sizeDirective;
24
- this.prefixDirective = prefixDirective;
25
- this.postfixDirective = postfixDirective;
26
- this.fillerDirective = fillerDirective;
27
- }
28
- get appearance() {
29
- return this.appearanceDirective.appearance || this.legacyAppearance;
30
- }
31
- get cleaner() {
32
- return this.cleanerDirective.cleaner;
33
- }
34
- get customContent() {
35
- return this.customContentDirective.customContent || '';
36
- }
37
- get icon() {
38
- return this.iconDirective.icon;
39
- }
40
- get iconStart() {
41
- return this.iconLeftDirective.iconStart;
42
- }
43
- get labelOutside() {
44
- return this.labelOutsideDirective.labelOutside;
45
- }
46
- get size() {
47
- return this.sizeDirective.size;
48
- }
49
- get prefix() {
50
- return this.prefixDirective.prefix;
51
- }
52
- get postfix() {
53
- return this.postfixDirective.postfix;
54
- }
55
- get filler() {
56
- return this.fillerDirective.filler;
57
- }
58
- }
59
-
60
- /**
61
- * @deprecated: drop in v5.0
62
- * Default values for primitive textfield options
63
- */
64
- const TUI_TEXTFIELD_DEFAULT_OPTIONS = {
65
- iconCleaner: '@tui.x',
66
- hintOnDisabled: false,
67
- };
68
- /**
69
- * @deprecated: drop in v5.0
70
- * Default parameters for textfield
71
- */
72
- const TUI_TEXTFIELD_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_OPTIONS' : '', {
73
- factory: () => TUI_TEXTFIELD_DEFAULT_OPTIONS,
74
- });
75
- function tuiTextfieldOptionsProvider(options) {
76
- return tuiProvideOptions(TUI_TEXTFIELD_OPTIONS, options, TUI_TEXTFIELD_DEFAULT_OPTIONS);
77
- }
78
-
79
- const TUI_TEXTFIELD_APPEARANCE_DIRECTIVE = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_APPEARANCE_DIRECTIVE' : '', {
80
- factory: () => new TuiTextfieldAppearanceDirective(),
81
- });
82
- class TuiTextfieldAppearanceDirective extends AbstractTuiController {
83
- constructor() {
84
- super(...arguments);
85
- // it's an empty string by default for backward compatibility
86
- // (see comment https://github.com/taiga-family/taiga-ui/pull/3007#issuecomment-1315179508)
87
- this.appearance = '';
88
- }
89
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldAppearanceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
90
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiTextfieldAppearanceDirective, isStandalone: false, selector: "[tuiTextfieldAppearance]", inputs: { appearance: ["tuiTextfieldAppearance", "appearance"] }, providers: [
91
- tuiProvide(TUI_TEXTFIELD_APPEARANCE_DIRECTIVE, TuiTextfieldAppearanceDirective),
92
- ], usesInheritance: true, ngImport: i0 }); }
93
- }
94
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldAppearanceDirective, decorators: [{
95
- type: Directive,
96
- args: [{
97
- standalone: false,
98
- selector: '[tuiTextfieldAppearance]',
99
- providers: [
100
- tuiProvide(TUI_TEXTFIELD_APPEARANCE_DIRECTIVE, TuiTextfieldAppearanceDirective),
101
- ],
102
- }]
103
- }], propDecorators: { appearance: [{
104
- type: Input,
105
- args: ['tuiTextfieldAppearance']
106
- }] } });
107
-
108
- const TUI_TEXTFIELD_CLEANER = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_CLEANER' : '', {
109
- factory: () => new TuiTextfieldCleanerDirective(),
110
- });
111
- class TuiTextfieldCleanerDirective extends AbstractTuiController {
112
- constructor() {
113
- super(...arguments);
114
- this.cleaner = false;
115
- }
116
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldCleanerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
117
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiTextfieldCleanerDirective, isStandalone: false, selector: "[tuiTextfieldCleaner]", inputs: { cleaner: ["tuiTextfieldCleaner", "cleaner"] }, providers: [tuiProvide(TUI_TEXTFIELD_CLEANER, TuiTextfieldCleanerDirective)], usesInheritance: true, ngImport: i0 }); }
118
- }
119
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldCleanerDirective, decorators: [{
120
- type: Directive,
121
- args: [{
122
- standalone: false,
123
- selector: '[tuiTextfieldCleaner]',
124
- providers: [tuiProvide(TUI_TEXTFIELD_CLEANER, TuiTextfieldCleanerDirective)],
125
- }]
126
- }], propDecorators: { cleaner: [{
127
- type: Input,
128
- args: ['tuiTextfieldCleaner']
129
- }] } });
130
-
131
- const TUI_TEXTFIELD_CUSTOM_CONTENT = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_CUSTOM_CONTENT' : '', {
132
- factory: () => new TuiTextfieldCustomContentDirective(),
133
- });
134
- class TuiTextfieldCustomContentDirective extends AbstractTuiController {
135
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldCustomContentDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
136
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiTextfieldCustomContentDirective, isStandalone: false, selector: "[tuiTextfieldCustomContent]", inputs: { customContent: ["tuiTextfieldCustomContent", "customContent"] }, providers: [
137
- tuiProvide(TUI_TEXTFIELD_CUSTOM_CONTENT, TuiTextfieldCustomContentDirective),
138
- ], usesInheritance: true, ngImport: i0 }); }
139
- }
140
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldCustomContentDirective, decorators: [{
141
- type: Directive,
142
- args: [{
143
- standalone: false,
144
- selector: '[tuiTextfieldCustomContent]',
145
- providers: [
146
- tuiProvide(TUI_TEXTFIELD_CUSTOM_CONTENT, TuiTextfieldCustomContentDirective),
147
- ],
148
- }]
149
- }], propDecorators: { customContent: [{
150
- type: Input,
151
- args: ['tuiTextfieldCustomContent']
152
- }] } });
153
-
154
- const TUI_TEXTFIELD_FILLER = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_FILLER' : '', {
155
- factory: () => new TuiTextfieldFillerDirective(),
156
- });
157
- class TuiTextfieldFillerDirective extends AbstractTuiController {
158
- constructor() {
159
- super(...arguments);
160
- this.filler = '';
161
- }
162
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldFillerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
163
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiTextfieldFillerDirective, isStandalone: false, selector: "[tuiTextfieldFiller]", inputs: { filler: ["tuiTextfieldFiller", "filler"] }, providers: [tuiProvide(TUI_TEXTFIELD_FILLER, TuiTextfieldFillerDirective)], usesInheritance: true, ngImport: i0 }); }
164
- }
165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldFillerDirective, decorators: [{
166
- type: Directive,
167
- args: [{
168
- standalone: false,
169
- selector: '[tuiTextfieldFiller]',
170
- providers: [tuiProvide(TUI_TEXTFIELD_FILLER, TuiTextfieldFillerDirective)],
171
- }]
172
- }], propDecorators: { filler: [{
173
- type: Input,
174
- args: ['tuiTextfieldFiller']
175
- }] } });
176
-
177
- const TUI_TEXTFIELD_ICON = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_ICON' : '', {
178
- factory: () => new TuiTextfieldIconDirective(),
179
- });
180
- class TuiTextfieldIconDirective extends AbstractTuiController {
181
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldIconDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
182
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiTextfieldIconDirective, isStandalone: false, selector: "[tuiTextfieldIcon]", inputs: { icon: ["tuiTextfieldIcon", "icon"] }, providers: [tuiProvide(TUI_TEXTFIELD_ICON, TuiTextfieldIconDirective)], usesInheritance: true, ngImport: i0 }); }
183
- }
184
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldIconDirective, decorators: [{
185
- type: Directive,
186
- args: [{
187
- standalone: false,
188
- selector: '[tuiTextfieldIcon]',
189
- providers: [tuiProvide(TUI_TEXTFIELD_ICON, TuiTextfieldIconDirective)],
190
- }]
191
- }], propDecorators: { icon: [{
192
- type: Input,
193
- args: ['tuiTextfieldIcon']
194
- }] } });
195
-
196
- const TUI_TEXTFIELD_ICON_LEFT = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_ICON_LEFT' : '', {
197
- factory: () => new TuiTextfieldIconLeftDirective(),
198
- });
199
- class TuiTextfieldIconLeftDirective extends AbstractTuiController {
200
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldIconLeftDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
201
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiTextfieldIconLeftDirective, isStandalone: false, selector: "[tuiTextfieldIconLeft]", inputs: { iconStart: ["tuiTextfieldIconLeft", "iconStart"] }, providers: [tuiProvide(TUI_TEXTFIELD_ICON_LEFT, TuiTextfieldIconLeftDirective)], usesInheritance: true, ngImport: i0 }); }
202
- }
203
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldIconLeftDirective, decorators: [{
204
- type: Directive,
205
- args: [{
206
- standalone: false,
207
- selector: '[tuiTextfieldIconLeft]',
208
- providers: [tuiProvide(TUI_TEXTFIELD_ICON_LEFT, TuiTextfieldIconLeftDirective)],
209
- }]
210
- }], propDecorators: { iconStart: [{
211
- type: Input,
212
- args: ['tuiTextfieldIconLeft']
213
- }] } });
214
-
215
- const TUI_TEXTFIELD_LABEL_OUTSIDE = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_LABEL_OUTSIDE' : '', {
216
- factory: () => new TuiTextfieldLabelOutsideDirective(),
217
- });
218
- class TuiTextfieldLabelOutsideDirective extends AbstractTuiController {
219
- constructor() {
220
- super(...arguments);
221
- this.labelOutside = false;
222
- }
223
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldLabelOutsideDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
224
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiTextfieldLabelOutsideDirective, isStandalone: false, selector: "[tuiTextfieldLabelOutside]", inputs: { labelOutside: ["tuiTextfieldLabelOutside", "labelOutside"] }, providers: [
225
- tuiProvide(TUI_TEXTFIELD_LABEL_OUTSIDE, TuiTextfieldLabelOutsideDirective),
226
- ], usesInheritance: true, ngImport: i0 }); }
227
- }
228
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldLabelOutsideDirective, decorators: [{
229
- type: Directive,
230
- args: [{
231
- standalone: false,
232
- selector: '[tuiTextfieldLabelOutside]',
233
- providers: [
234
- tuiProvide(TUI_TEXTFIELD_LABEL_OUTSIDE, TuiTextfieldLabelOutsideDirective),
235
- ],
236
- }]
237
- }], propDecorators: { labelOutside: [{
238
- type: Input,
239
- args: ['tuiTextfieldLabelOutside']
240
- }] } });
241
-
242
- const TUI_TEXTFIELD_POSTFIX = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_POSTFIX' : '', {
243
- factory: () => new TuiTextfieldPostfixDirective(),
244
- });
245
- class TuiTextfieldPostfixDirective extends AbstractTuiController {
246
- constructor() {
247
- super(...arguments);
248
- this.postfix = '';
249
- }
250
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldPostfixDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
251
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiTextfieldPostfixDirective, isStandalone: false, selector: "[tuiTextfieldPostfix]", inputs: { postfix: ["tuiTextfieldPostfix", "postfix"] }, providers: [tuiProvide(TUI_TEXTFIELD_POSTFIX, TuiTextfieldPostfixDirective)], usesInheritance: true, ngImport: i0 }); }
252
- }
253
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldPostfixDirective, decorators: [{
254
- type: Directive,
255
- args: [{
256
- standalone: false,
257
- selector: '[tuiTextfieldPostfix]',
258
- providers: [tuiProvide(TUI_TEXTFIELD_POSTFIX, TuiTextfieldPostfixDirective)],
259
- }]
260
- }], propDecorators: { postfix: [{
261
- type: Input,
262
- args: ['tuiTextfieldPostfix']
263
- }] } });
264
-
265
- const TUI_TEXTFIELD_PREFIX = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_PREFIX' : '', {
266
- factory: () => new TuiTextfieldPrefixDirective(),
267
- });
268
- class TuiTextfieldPrefixDirective extends AbstractTuiController {
269
- constructor() {
270
- super(...arguments);
271
- this.prefix = '';
272
- }
273
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldPrefixDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
274
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiTextfieldPrefixDirective, isStandalone: false, selector: "[tuiTextfieldPrefix]", inputs: { prefix: ["tuiTextfieldPrefix", "prefix"] }, providers: [tuiProvide(TUI_TEXTFIELD_PREFIX, TuiTextfieldPrefixDirective)], usesInheritance: true, ngImport: i0 }); }
275
- }
276
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldPrefixDirective, decorators: [{
277
- type: Directive,
278
- args: [{
279
- standalone: false,
280
- selector: '[tuiTextfieldPrefix]',
281
- providers: [tuiProvide(TUI_TEXTFIELD_PREFIX, TuiTextfieldPrefixDirective)],
282
- }]
283
- }], propDecorators: { prefix: [{
284
- type: Input,
285
- args: ['tuiTextfieldPrefix']
286
- }] } });
287
-
288
- const TUI_TEXTFIELD_SIZE = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_SIZE' : '', {
289
- factory: () => new TuiTextfieldSizeDirective(),
290
- });
291
- class TuiTextfieldSizeDirective extends AbstractTuiController {
292
- constructor() {
293
- super(...arguments);
294
- this.size = 'l';
295
- }
296
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldSizeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
297
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiTextfieldSizeDirective, isStandalone: false, selector: "[tuiTextfieldSize]", inputs: { size: ["tuiTextfieldSize", "size"] }, providers: [tuiProvide(TUI_TEXTFIELD_SIZE, TuiTextfieldSizeDirective)], usesInheritance: true, ngImport: i0 }); }
298
- }
299
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldSizeDirective, decorators: [{
300
- type: Directive,
301
- args: [{
302
- standalone: false,
303
- selector: '[tuiTextfieldSize]',
304
- providers: [tuiProvide(TUI_TEXTFIELD_SIZE, TuiTextfieldSizeDirective)],
305
- }]
306
- }], propDecorators: { size: [{
307
- type: Input,
308
- args: ['tuiTextfieldSize']
309
- }] } });
310
-
311
- class TuiTextfieldControllerModule {
312
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldControllerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
313
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldControllerModule, declarations: [TuiTextfieldAppearanceDirective,
314
- TuiTextfieldCleanerDirective,
315
- TuiTextfieldCustomContentDirective,
316
- TuiTextfieldLabelOutsideDirective,
317
- TuiTextfieldSizeDirective,
318
- TuiTextfieldIconDirective,
319
- TuiTextfieldIconLeftDirective,
320
- TuiTextfieldPrefixDirective,
321
- TuiTextfieldPostfixDirective,
322
- TuiTextfieldFillerDirective], imports: [PolymorpheusOutlet, PolymorpheusTemplate], exports: [TuiTextfieldAppearanceDirective,
323
- TuiTextfieldCleanerDirective,
324
- TuiTextfieldCustomContentDirective,
325
- TuiTextfieldLabelOutsideDirective,
326
- TuiTextfieldSizeDirective,
327
- TuiTextfieldIconDirective,
328
- TuiTextfieldIconLeftDirective,
329
- TuiTextfieldPrefixDirective,
330
- TuiTextfieldPostfixDirective,
331
- TuiTextfieldFillerDirective,
332
- PolymorpheusOutlet,
333
- PolymorpheusTemplate] }); }
334
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldControllerModule }); }
335
- }
336
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTextfieldControllerModule, decorators: [{
337
- type: NgModule,
338
- args: [{
339
- imports: [PolymorpheusOutlet, PolymorpheusTemplate],
340
- declarations: [
341
- TuiTextfieldAppearanceDirective,
342
- TuiTextfieldCleanerDirective,
343
- TuiTextfieldCustomContentDirective,
344
- TuiTextfieldLabelOutsideDirective,
345
- TuiTextfieldSizeDirective,
346
- TuiTextfieldIconDirective,
347
- TuiTextfieldIconLeftDirective,
348
- TuiTextfieldPrefixDirective,
349
- TuiTextfieldPostfixDirective,
350
- TuiTextfieldFillerDirective,
351
- ],
352
- exports: [
353
- TuiTextfieldAppearanceDirective,
354
- TuiTextfieldCleanerDirective,
355
- TuiTextfieldCustomContentDirective,
356
- TuiTextfieldLabelOutsideDirective,
357
- TuiTextfieldSizeDirective,
358
- TuiTextfieldIconDirective,
359
- TuiTextfieldIconLeftDirective,
360
- TuiTextfieldPrefixDirective,
361
- TuiTextfieldPostfixDirective,
362
- TuiTextfieldFillerDirective,
363
- PolymorpheusOutlet,
364
- PolymorpheusTemplate,
365
- ],
366
- }]
367
- }] });
368
-
369
- const TUI_TEXTFIELD_WATCHED_CONTROLLER = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_WATCHED_CONTROLLER' : '');
370
- const TEXTFIELD_CONTROLLER_PROVIDER = [
371
- {
372
- provide: TUI_TEXTFIELD_WATCHED_CONTROLLER,
373
- deps: [
374
- ChangeDetectorRef,
375
- TUI_TEXTFIELD_OPTIONS,
376
- TUI_TEXTFIELD_APPEARANCE,
377
- TUI_TEXTFIELD_APPEARANCE_DIRECTIVE,
378
- TUI_TEXTFIELD_CLEANER,
379
- TUI_TEXTFIELD_CUSTOM_CONTENT,
380
- TUI_TEXTFIELD_ICON,
381
- TUI_TEXTFIELD_ICON_LEFT,
382
- TUI_TEXTFIELD_LABEL_OUTSIDE,
383
- TUI_TEXTFIELD_SIZE,
384
- TUI_TEXTFIELD_PREFIX,
385
- TUI_TEXTFIELD_POSTFIX,
386
- TUI_TEXTFIELD_FILLER,
387
- ],
388
- useFactory: (cdr, options, legacyAppearance, ...controllers) => {
389
- const change$ = merge(...controllers.map(({ change$ }) => change$ || NEVER)).pipe(tuiWatch(cdr), takeUntilDestroyed());
390
- change$.subscribe();
391
- return new TuiTextfieldController(change$, options, legacyAppearance, ...controllers);
392
- },
393
- },
394
- ];
395
-
396
- /**
397
- * Generated bundle index. Do not edit.
398
- */
399
-
400
- export { TEXTFIELD_CONTROLLER_PROVIDER, TUI_TEXTFIELD_APPEARANCE_DIRECTIVE, TUI_TEXTFIELD_CLEANER, TUI_TEXTFIELD_CUSTOM_CONTENT, TUI_TEXTFIELD_DEFAULT_OPTIONS, TUI_TEXTFIELD_FILLER, TUI_TEXTFIELD_ICON, TUI_TEXTFIELD_ICON_LEFT, TUI_TEXTFIELD_LABEL_OUTSIDE, TUI_TEXTFIELD_OPTIONS, TUI_TEXTFIELD_POSTFIX, TUI_TEXTFIELD_PREFIX, TUI_TEXTFIELD_SIZE, TUI_TEXTFIELD_WATCHED_CONTROLLER, TuiTextfieldAppearanceDirective, TuiTextfieldCleanerDirective, TuiTextfieldController, TuiTextfieldControllerModule, TuiTextfieldCustomContentDirective, TuiTextfieldFillerDirective, TuiTextfieldIconDirective, TuiTextfieldIconLeftDirective, TuiTextfieldLabelOutsideDirective, TuiTextfieldPostfixDirective, TuiTextfieldPrefixDirective, TuiTextfieldSizeDirective, tuiTextfieldOptionsProvider };
401
- //# sourceMappingURL=taiga-ui-legacy-directives-textfield-controller.mjs.map