@taiga-ui/legacy 4.52.0-canary.1ea42f6 → 4.52.0-canary.217a686

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 (309) hide show
  1. package/README.md +1 -1
  2. package/components/dialog/dialog.component.d.ts +20 -0
  3. package/components/dialog/dialog.directive.d.ts +8 -0
  4. package/components/dialog/dialog.factory.d.ts +16 -0
  5. package/components/dialog/dialog.interfaces.d.ts +30 -0
  6. package/components/dialog/dialog.service.d.ts +10 -0
  7. package/components/dialog/dialog.tokens.d.ts +6 -0
  8. package/components/dialog/index.d.ts +6 -0
  9. package/components/index.d.ts +3 -23
  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 -23
  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 -153
  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-range/index.d.ts +0 -2
  98. package/components/input-range/input-range.component.d.ts +0 -56
  99. package/components/input-range/input-range.module.d.ts +0 -19
  100. package/components/input-slider/index.d.ts +0 -2
  101. package/components/input-slider/input-slider.component.d.ts +0 -42
  102. package/components/input-slider/input-slider.module.d.ts +0 -18
  103. package/components/input-tag/index.d.ts +0 -3
  104. package/components/input-tag/input-tag.component.d.ts +0 -103
  105. package/components/input-tag/input-tag.module.d.ts +0 -22
  106. package/components/input-tag/input-tag.options.d.ts +0 -27
  107. package/components/input-time/index.d.ts +0 -4
  108. package/components/input-time/input-time.component.d.ts +0 -62
  109. package/components/input-time/input-time.directive.d.ts +0 -17
  110. package/components/input-time/input-time.module.d.ts +0 -23
  111. package/components/input-time/input-time.options.d.ts +0 -42
  112. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  113. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  114. package/components/multi-select/index.d.ts +0 -10
  115. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  116. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  117. package/components/multi-select/multi-select.component.d.ts +0 -71
  118. package/components/multi-select/multi-select.directive.d.ts +0 -14
  119. package/components/multi-select/multi-select.module.d.ts +0 -31
  120. package/components/multi-select/multi-select.options.d.ts +0 -14
  121. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  122. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  123. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  124. package/components/multi-select-option/index.d.ts +0 -2
  125. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  126. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  127. package/components/primitive-textfield/index.d.ts +0 -7
  128. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
  129. package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
  130. package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
  131. package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
  132. package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
  133. package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
  134. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
  135. package/components/select/index.d.ts +0 -6
  136. package/components/select/native-select/native-select-group.component.d.ts +0 -17
  137. package/components/select/native-select/native-select.component.d.ts +0 -16
  138. package/components/select/select.component.d.ts +0 -45
  139. package/components/select/select.directive.d.ts +0 -16
  140. package/components/select/select.module.d.ts +0 -24
  141. package/components/select/select.options.d.ts +0 -25
  142. package/components/select-option/index.d.ts +0 -2
  143. package/components/select-option/select-option.component.d.ts +0 -27
  144. package/components/select-option/select-option.module.d.ts +0 -10
  145. package/components/svg/content-processor.d.ts +0 -19
  146. package/components/svg/deprecated-icons.d.ts +0 -5
  147. package/components/svg/index.d.ts +0 -5
  148. package/components/svg/svg-options.d.ts +0 -50
  149. package/components/svg/svg.component.d.ts +0 -50
  150. package/components/svg/svg.service.d.ts +0 -21
  151. package/components/tag/index.d.ts +0 -3
  152. package/components/tag/tag.component.d.ts +0 -44
  153. package/components/tag/tag.module.d.ts +0 -16
  154. package/components/tag/tag.options.d.ts +0 -27
  155. package/components/textarea/index.d.ts +0 -3
  156. package/components/textarea/textarea.component.d.ts +0 -54
  157. package/components/textarea/textarea.directive.d.ts +0 -12
  158. package/components/textarea/textarea.module.d.ts +0 -21
  159. package/components/tooltip/index.d.ts +0 -2
  160. package/components/tooltip/tooltip.component.d.ts +0 -12
  161. package/components/tooltip/tooltip.module.d.ts +0 -13
  162. package/directives/index.d.ts +0 -5
  163. package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
  164. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
  165. package/directives/textfield-controller/index.d.ts +0 -14
  166. package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
  167. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
  168. package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
  169. package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
  170. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
  171. package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
  172. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
  173. package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
  174. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
  175. package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
  176. package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
  177. package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
  178. package/directives/textfield-controller/textfield.controller.d.ts +0 -41
  179. package/directives/textfield-controller/textfield.options.d.ts +0 -19
  180. package/directives/unfinished-validator/index.d.ts +0 -2
  181. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
  182. package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
  183. package/directives/value-accessor/index.d.ts +0 -3
  184. package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
  185. package/directives/value-accessor/value-accessor.module.d.ts +0 -7
  186. package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
  187. package/directives/wrapper/README.md +0 -19
  188. package/directives/wrapper/index.d.ts +0 -2
  189. package/directives/wrapper/wrapper.directive.d.ts +0 -22
  190. package/directives/wrapper/wrapper.module.d.ts +0 -10
  191. package/fesm2022/taiga-ui-legacy-classes.mjs +0 -415
  192. package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
  193. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -85
  194. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
  195. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -726
  196. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  197. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -299
  198. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  199. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  200. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  201. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -356
  202. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
  203. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
  204. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
  205. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  206. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  207. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
  208. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
  209. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -390
  210. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
  211. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
  212. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
  213. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -199
  214. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
  215. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  216. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  217. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -430
  218. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  219. package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -155
  220. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
  221. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  222. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  223. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -690
  224. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  225. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
  226. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
  227. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
  228. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
  229. package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -353
  230. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
  231. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
  232. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  233. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -225
  234. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  235. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  236. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
  237. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
  238. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
  239. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -50
  240. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
  241. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -401
  242. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
  243. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -50
  244. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
  245. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
  246. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
  247. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
  248. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
  249. package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
  250. package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
  251. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
  252. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  253. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  254. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  255. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  256. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  257. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  258. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  259. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  260. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  261. package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
  262. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
  263. package/fesm2022/taiga-ui-legacy-utils.mjs +0 -268
  264. package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
  265. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  266. package/pipes/format-phone/index.d.ts +0 -1
  267. package/pipes/index.d.ts +0 -3
  268. package/pipes/iso-to-country-code/index.d.ts +0 -1
  269. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  270. package/pipes/to-country-code/index.d.ts +0 -1
  271. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  272. package/services/index.d.ts +0 -1
  273. package/services/static-request.service.d.ts +0 -11
  274. package/styles/mixins/mixins.less +0 -239
  275. package/styles/mixins/mixins.scss +0 -224
  276. package/styles/mixins/textfield.less +0 -324
  277. package/styles/mixins/textfield.scss +0 -308
  278. package/styles/taiga-ui-local.less +0 -3
  279. package/styles/taiga-ui-local.scss +0 -3
  280. package/tokens/countries-masks.d.ts +0 -9
  281. package/tokens/focusable-item-accessor.d.ts +0 -25
  282. package/tokens/fonts-ready.d.ts +0 -6
  283. package/tokens/icons.d.ts +0 -6
  284. package/tokens/index.d.ts +0 -14
  285. package/tokens/is-apple.d.ts +0 -6
  286. package/tokens/is-chromium.d.ts +0 -6
  287. package/tokens/is-firefox.d.ts +0 -6
  288. package/tokens/is-stackblitz.d.ts +0 -5
  289. package/tokens/month-formatter.d.ts +0 -10
  290. package/tokens/sanitizer.d.ts +0 -6
  291. package/tokens/textfield-appearance.d.ts +0 -7
  292. package/tokens/textfield-host.d.ts +0 -23
  293. package/tokens/touch-supported.d.ts +0 -5
  294. package/tokens/value-accessor.d.ts +0 -7
  295. package/utils/capitalize-first-letter.d.ts +0 -4
  296. package/utils/date-mode-maskito-adapter.d.ts +0 -6
  297. package/utils/format-phone.d.ts +0 -30
  298. package/utils/get-border.d.ts +0 -5
  299. package/utils/get-max-allowed-phone-length.d.ts +0 -24
  300. package/utils/get-safe-area-size.d.ts +0 -7
  301. package/utils/icons-path-factory.d.ts +0 -13
  302. package/utils/index.d.ts +0 -14
  303. package/utils/is-apple.d.ts +0 -5
  304. package/utils/is-presumed-html-string.d.ts +0 -4
  305. package/utils/iso-to-country-code.d.ts +0 -13
  306. package/utils/not-kz-region.d.ts +0 -20
  307. package/utils/process-icon.d.ts +0 -4
  308. package/utils/specific-dropdown-controllers.d.ts +0 -4
  309. package/utils/status.d.ts +0 -4
@@ -1,56 +0,0 @@
1
- import { type TuiContext } from '@taiga-ui/cdk/types';
2
- import { type TuiKeySteps } from '@taiga-ui/kit/components/slider';
3
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
4
- import { type TuiFocusableElementAccessor, type TuiNativeFocusableElement } from '@taiga-ui/legacy/tokens';
5
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * TODO(v5): delete it
9
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-range TuiInputRange} (from @taiga-ui/kit) instead
10
- */
11
- export declare class TuiInputRangeComponent extends AbstractTuiControl<[number, number]> implements TuiFocusableElementAccessor {
12
- private readonly inputNumberRefs;
13
- private readonly range?;
14
- private readonly isMobile;
15
- private readonly el;
16
- protected leftTextfieldValue: number;
17
- protected rightTextfieldValue: number;
18
- protected lastActiveSide: 'left' | 'right';
19
- protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
20
- min: number;
21
- max: number;
22
- quantum: number;
23
- steps: number;
24
- segments: number;
25
- keySteps: TuiKeySteps | null;
26
- leftValueContent: PolymorpheusContent<TuiContext<number>>;
27
- rightValueContent: PolymorpheusContent<TuiContext<number>>;
28
- pluralize: Record<string, string> | null;
29
- get nativeFocusableElement(): TuiNativeFocusableElement | null;
30
- get focused(): boolean;
31
- writeValue(value: [number, number]): void;
32
- protected get leftFocusableElement(): HTMLInputElement | null;
33
- protected get rightFocusableElement(): HTMLInputElement | null;
34
- protected get appearance(): string;
35
- protected get showLeftValueContent(): boolean;
36
- protected get showRightValueContent(): boolean;
37
- protected get precision(): number;
38
- protected get computedSteps(): number;
39
- protected get step(): number;
40
- protected computeKeySteps(keySteps: TuiKeySteps | null, min: number, max: number): TuiKeySteps;
41
- protected onActiveZone(active: boolean): void;
42
- protected onTextInputFocused(focused: boolean): void;
43
- protected changeByStep(event: Event | KeyboardEvent, [leftCoefficient, rightCoefficient]: [number, number]): void;
44
- protected onInputLeft(value: number | null): void;
45
- protected onInputRight(value: number | null): void;
46
- protected onExternalValueUpdate(value: [number, number]): void;
47
- protected focusToTextInput(): void;
48
- protected onActiveThumbChange(activeThumb: 'left' | 'right'): void;
49
- protected getFallbackValue(): [number, number];
50
- private safelyUpdateValue;
51
- private valueGuard;
52
- private calibrate;
53
- private updateTextfieldValues;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputRangeComponent, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputRangeComponent, "tui-input-range", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "quantum": { "alias": "quantum"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "keySteps": { "alias": "keySteps"; "required": false; }; "leftValueContent": { "alias": "leftValueContent"; "required": false; }; "rightValueContent": { "alias": "rightValueContent"; "required": false; }; "pluralize": { "alias": "pluralize"; "required": false; }; }, {}, never, ["*"], false, never>;
56
- }
@@ -1,19 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-range.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@taiga-ui/polymorpheus";
6
- import * as i5 from "@taiga-ui/cdk/directives/active-zone";
7
- import * as i6 from "@taiga-ui/legacy/components/input-number";
8
- import * as i7 from "@taiga-ui/kit/components/range";
9
- import * as i8 from "@taiga-ui/legacy/directives";
10
- import * as i9 from "@taiga-ui/core/directives/number-format";
11
- /**
12
- * TODO(v5): delete it
13
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-range TuiInputRange} (from @taiga-ui/kit) instead
14
- */
15
- export declare class TuiInputRangeModule {
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputRangeModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputRangeModule, [typeof i1.TuiInputRangeComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiActiveZone, typeof i6.TuiInputNumberModule, typeof i7.TuiRange, typeof i8.TuiWrapperModule, typeof i8.TuiTextfieldControllerModule, typeof i9.TuiNumberFormat], [typeof i1.TuiInputRangeComponent]>;
18
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputRangeModule>;
19
- }
@@ -1,2 +0,0 @@
1
- export * from './input-slider.component';
2
- export * from './input-slider.module';
@@ -1,42 +0,0 @@
1
- import { type TuiContext } from '@taiga-ui/cdk/types';
2
- import { type TuiKeySteps } from '@taiga-ui/kit/components/slider';
3
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
4
- import { type TuiFocusableElementAccessor, type TuiNativeFocusableElement } from '@taiga-ui/legacy/tokens';
5
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * TODO(v5): delete it
9
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-slider TuiInputSlider} (from @taiga-ui/kit) instead
10
- */
11
- export declare class TuiInputSliderComponent extends AbstractTuiControl<number> implements TuiFocusableElementAccessor {
12
- private readonly inputNumberRef?;
13
- private readonly sliderRef?;
14
- protected textfieldValue: number;
15
- protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
16
- min: number;
17
- max: number;
18
- quantum: number;
19
- steps: number;
20
- segments: number[] | number;
21
- keySteps: TuiKeySteps | null;
22
- valueContent: PolymorpheusContent<TuiContext<number>>;
23
- get nativeFocusableElement(): TuiNativeFocusableElement | null;
24
- get focused(): boolean;
25
- writeValue(value: number | null): void;
26
- protected get prefix(): string;
27
- protected get postfix(): string;
28
- protected get computedSteps(): number;
29
- protected get precision(): number;
30
- protected get showValueContent(): boolean;
31
- protected get step(): number;
32
- protected computeKeySteps(keySteps: TuiKeySteps | null, min: number, max: number): TuiKeySteps;
33
- protected focusTextInput(): void;
34
- protected safelyUpdateValue(value: number | null): void;
35
- protected onVerticalArrowKeyDown(coefficient: number): void;
36
- protected onSliderChange(newValue: number): void;
37
- protected onFocused(focused: boolean): void;
38
- protected getFallbackValue(): number;
39
- private valueGuard;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputSliderComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputSliderComponent, "tui-input-slider", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "quantum": { "alias": "quantum"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "keySteps": { "alias": "keySteps"; "required": false; }; "valueContent": { "alias": "valueContent"; "required": false; }; }, {}, never, ["*"], false, never>;
42
- }
@@ -1,18 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-slider.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@taiga-ui/polymorpheus";
6
- import * as i5 from "@taiga-ui/legacy/components/input-number";
7
- import * as i6 from "@taiga-ui/core/directives/number-format";
8
- import * as i7 from "@taiga-ui/legacy/directives";
9
- import * as i8 from "@taiga-ui/kit/components/slider";
10
- /**
11
- * TODO(v5): delete it
12
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-slider TuiInputSlider} (from @taiga-ui/kit) instead
13
- */
14
- export declare class TuiInputSliderModule {
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputSliderModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputSliderModule, [typeof i1.TuiInputSliderComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiInputNumberModule, typeof i6.TuiNumberFormat, typeof i7.TuiTextfieldControllerModule, typeof i8.TuiSliderComponent, typeof i8.TuiSliderThumbLabel, typeof i8.TuiSliderKeyStepsBase, typeof i8.TuiSliderKeySteps, typeof i8.TuiSliderReadonly], [typeof i1.TuiInputSliderComponent, typeof i8.TuiSliderComponent, typeof i8.TuiSliderThumbLabel, typeof i8.TuiSliderKeyStepsBase, typeof i8.TuiSliderKeySteps, typeof i8.TuiSliderReadonly]>;
17
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputSliderModule>;
18
- }
@@ -1,3 +0,0 @@
1
- export * from './input-tag.component';
2
- export * from './input-tag.module';
3
- export * from './input-tag.options';
@@ -1,103 +0,0 @@
1
- import { EventEmitter, TemplateRef } from '@angular/core';
2
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
3
- import { type TuiBooleanHandler, type TuiContext } from '@taiga-ui/cdk/types';
4
- import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
5
- import { TuiHintOptionsDirective } from '@taiga-ui/core/directives/hint';
6
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
7
- import { AbstractTuiMultipleControl, type TuiStringifiableItem } from '@taiga-ui/legacy/classes';
8
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
9
- import { type TuiStatus } from '@taiga-ui/legacy/utils';
10
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
11
- import * as i0 from "@angular/core";
12
- import * as i1 from "@taiga-ui/core/directives/dropdown";
13
- /**
14
- * TODO(v5): delete it
15
- * @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
16
- */
17
- export declare class TuiInputTagComponent extends AbstractTuiMultipleControl<string> implements TuiFocusableElementAccessor, TuiDataListHost<string> {
18
- private readonly dropdown?;
19
- private readonly focusableElement?;
20
- private readonly tagsContainer?;
21
- private readonly tags;
22
- private readonly cleanerSvg?;
23
- private readonly scrollBar?;
24
- private readonly el;
25
- private readonly options;
26
- protected readonly datalist?: TemplateRef<TuiContext<TuiActiveZone>>;
27
- protected readonly valueContent?: unknown;
28
- protected readonly errorIconTemplate?: TemplateRef<Record<string, unknown>>;
29
- protected readonly textfieldOptions: import("@taiga-ui/core/components/textfield").TuiTextfieldOptions;
30
- protected readonly hintOptions: TuiHintOptionsDirective | null;
31
- protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
32
- protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
33
- protected status: TuiStatus;
34
- protected open: boolean;
35
- separator: RegExp | string;
36
- search: string | null;
37
- editable: boolean;
38
- tagValidator: TuiBooleanHandler<string> | TuiBooleanHandler<TuiStringifiableItem<unknown> | string>;
39
- rows: number;
40
- inputHidden: boolean;
41
- uniqueTags: boolean;
42
- autoColor: boolean;
43
- maxLength: number | null;
44
- placeholder: string;
45
- removable: boolean;
46
- disabledItemHandler: TuiBooleanHandler<TuiStringifiableItem<any> | string>;
47
- readonly searchChange: EventEmitter<string>;
48
- pseudoOpen: import("@angular/core").WritableSignal<boolean>;
49
- set pseudoFocusedSetter(value: boolean | null);
50
- /**
51
- * @deprecated hack
52
- */
53
- set setPseudoOpen(value: boolean);
54
- get labelOutside(): boolean;
55
- get size(): TuiSizeL | TuiSizeS;
56
- get nativeFocusableElement(): HTMLInputElement | null;
57
- get hasValue(): boolean;
58
- get hasExampleText(): boolean;
59
- get hasPlaceholder(): boolean;
60
- get focused(): boolean;
61
- get tagsEmpty(): boolean;
62
- onTagEdited(value: string, index: number): void;
63
- handleOption(item: string): void;
64
- setDisabledState(): void;
65
- protected get iconStart(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
66
- protected get appearance(): string;
67
- protected get expandable(): boolean;
68
- protected get icon(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
69
- protected get iconCleaner(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
70
- protected get hasCleaner(): boolean;
71
- protected get hasNativeValue(): boolean;
72
- protected get placeholderRaised(): boolean;
73
- protected get hasRightIcons(): boolean;
74
- protected get showHint(): boolean;
75
- protected get canOpen(): boolean;
76
- protected get computeMaxHeight(): number | null;
77
- protected onFocusInOut(): void;
78
- protected detectRetargetFromLabel(event: Event): void;
79
- protected getLeftContent(tag: string): PolymorpheusContent;
80
- protected onCleanerClick(): void;
81
- protected onActiveZone(active: boolean): void;
82
- protected onMouseDown(event: MouseEvent): void;
83
- protected onFieldKeyDownBackspace(event: Event): void;
84
- protected onFieldKeyDownArrowLeft(event: Event): void;
85
- protected onFieldKeyDownEnter(): void;
86
- protected onTagKeyDownArrowLeft(currentIndex: number): void;
87
- protected onTagKeyDownArrowRight(currentIndex: number): void;
88
- protected onInput(value: string): void;
89
- protected onPaste(event: Event): void;
90
- protected onDrop({ dataTransfer }: DragEvent): void;
91
- protected trackByFn(_: number, tag: string): string;
92
- private get lineHeight();
93
- private scrollTo;
94
- private filterValue;
95
- private onScrollKeyDown;
96
- private updateSearch;
97
- private addTag;
98
- private deleteLastEnabledItem;
99
- private focusInput;
100
- private clippedValue;
101
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTagComponent, never>;
102
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputTagComponent, "tui-input-tag", never, { "separator": { "alias": "separator"; "required": false; }; "search": { "alias": "search"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "tagValidator": { "alias": "tagValidator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "inputHidden": { "alias": "inputHidden"; "required": false; }; "uniqueTags": { "alias": "uniqueTags"; "required": false; }; "autoColor": { "alias": "autoColor"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "pseudoFocusedSetter": { "alias": "pseudoFocused"; "required": false; }; "setPseudoOpen": { "alias": "pseudoOpen"; "required": false; }; }, { "searchChange": "searchChange"; }, ["datalist", "valueContent"], ["*", "tuiContent", "select"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
103
- }
@@ -1,22 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-tag.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@taiga-ui/polymorpheus";
6
- import * as i5 from "@taiga-ui/cdk/directives/hovered";
7
- import * as i6 from "@taiga-ui/core/components/scrollbar";
8
- import * as i7 from "@taiga-ui/legacy/components/tooltip";
9
- import * as i8 from "@taiga-ui/legacy/components/tag";
10
- import * as i9 from "@taiga-ui/legacy/directives";
11
- import * as i10 from "@taiga-ui/core/directives/appearance";
12
- import * as i11 from "@taiga-ui/core/components/icon";
13
- import * as i12 from "@taiga-ui/core/directives/dropdown";
14
- /**
15
- * TODO(v5): delete it
16
- * @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
17
- */
18
- export declare class TuiInputTagModule {
19
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTagModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputTagModule, [typeof i1.TuiInputTagComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiHovered, typeof i6.TuiScrollbar, typeof i7.TuiTooltipModule, typeof i8.TuiTagModule, typeof i9.TuiWrapperModule, typeof i9.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiAppearance, typeof i11.TuiIcon, 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 i1.TuiInputTagComponent, 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]>;
21
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputTagModule>;
22
- }
@@ -1,27 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiStatus } from '@taiga-ui/legacy/utils';
3
- /**
4
- * TODO(v5): delete it
5
- * @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
6
- */
7
- export interface TuiInputTagOptions {
8
- readonly autoColor: boolean;
9
- readonly separator: RegExp | string;
10
- readonly tagStatus: TuiStatus;
11
- readonly uniqueTags: boolean;
12
- }
13
- /**
14
- * TODO(v5): delete it
15
- * @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
16
- */
17
- export declare const TUI_INPUT_TAG_DEFAULT_OPTIONS: TuiInputTagOptions;
18
- /**
19
- * @deprecated: drop in v5.0
20
- * Default parameters for InputTag component
21
- */
22
- export declare const TUI_INPUT_TAG_OPTIONS: InjectionToken<TuiInputTagOptions>;
23
- /**
24
- * TODO(v5): delete it
25
- * @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
26
- */
27
- export declare function tuiInputTagOptionsProvider(options: Partial<TuiInputTagOptions>): Provider;
@@ -1,4 +0,0 @@
1
- export * from './input-time.component';
2
- export * from './input-time.directive';
3
- export * from './input-time.module';
4
- export * from './input-time.options';
@@ -1,62 +0,0 @@
1
- import { type MaskitoOptions } from '@maskito/core';
2
- import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
3
- import { TuiTime, type TuiTimeMode } from '@taiga-ui/cdk/date-time';
4
- import { type TuiBooleanHandler, type TuiIdentityMatcher } from '@taiga-ui/cdk/types';
5
- import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
6
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
7
- import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
8
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
9
- import { type Observable } from 'rxjs';
10
- import { type TuiInputTimeOptions } from './input-time.options';
11
- import * as i0 from "@angular/core";
12
- import * as i1 from "@taiga-ui/core/directives/dropdown";
13
- /**
14
- * TODO(v5): delete it
15
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead
16
- */
17
- export declare class TuiInputTimeComponent extends AbstractTuiNullableControl<TuiTime> implements TuiFocusableElementAccessor, TuiDataListHost<TuiTime> {
18
- private readonly textfield?;
19
- private readonly timeTexts$;
20
- private readonly options;
21
- private readonly isMobile;
22
- private readonly isIOS;
23
- private readonly textfieldSize;
24
- protected readonly valueTransformer: TuiValueTransformer<TuiTime | null> | null;
25
- protected open: boolean;
26
- disabledItemHandler: TuiBooleanHandler<TuiTime>;
27
- items: readonly TuiTime[];
28
- itemsHidden: boolean;
29
- itemSize: TuiInputTimeOptions['itemSize'];
30
- strict: boolean;
31
- mode: TuiInputTimeOptions['mode'];
32
- get size(): TuiSizeL | TuiSizeS;
33
- get inputMode(): string;
34
- get nativeFocusableElement(): HTMLInputElement | null;
35
- get focused(): boolean;
36
- get computedValue(): string;
37
- get nativeValue(): string;
38
- set nativeValue(value: string);
39
- readonly identityMatcher: TuiIdentityMatcher<TuiTime>;
40
- checkOption(option: TuiTime): void;
41
- handleOption(item: TuiTime): void;
42
- writeValue(value: TuiTime | null): void;
43
- onValueChange(value: string): void;
44
- protected get canOpen(): boolean;
45
- protected get filtered(): readonly TuiTime[];
46
- protected get showNativePicker(): boolean;
47
- protected get nativeDatalist(): boolean;
48
- protected get maskOptions(): MaskitoOptions;
49
- protected get computedSearch(): string;
50
- protected get innerPseudoFocused(): boolean | null;
51
- protected get icon(): TuiInputTimeOptions['icon'];
52
- protected getFiller$(mode: TuiTimeMode): Observable<string>;
53
- protected onFocused(focused: boolean): void;
54
- protected onOpen(open: boolean): void;
55
- private get nativePicker();
56
- private calculateMask;
57
- private filter;
58
- private findNearestTimeFromItems;
59
- private focusInput;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTimeComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputTimeComponent, "tui-input-time", never, { "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "items": { "alias": "items"; "required": false; }; "itemsHidden": { "alias": "itemsHidden"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "strict": { "alias": "strict"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, ["*"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
62
- }
@@ -1,17 +0,0 @@
1
- import { type TuiTime, type TuiTimeMode } from '@taiga-ui/cdk/date-time';
2
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
3
- import { type TuiInputTimeComponent } from './input-time.component';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * TODO(v5): delete it
7
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead
8
- */
9
- export declare class TuiInputTimeDirective extends AbstractTuiTextfieldHost<TuiInputTimeComponent> {
10
- get value(): string;
11
- get mode(): TuiTimeMode;
12
- get items(): readonly TuiTime[];
13
- onValueChange(value: string): void;
14
- process(input: HTMLInputElement): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTimeDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputTimeDirective, "tui-input-time", never, {}, {}, never, never, false, never>;
17
- }
@@ -1,23 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-time.component";
3
- import * as i2 from "./native-time/native-time.component";
4
- import * as i3 from "./input-time.directive";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@maskito/angular";
7
- import * as i6 from "@taiga-ui/legacy/components/select-option";
8
- import * as i7 from "@taiga-ui/legacy/components/primitive-textfield";
9
- import * as i8 from "@taiga-ui/legacy/directives";
10
- import * as i9 from "@taiga-ui/polymorpheus";
11
- import * as i10 from "@taiga-ui/core/components/icon";
12
- import * as i11 from "@taiga-ui/core/directives/appearance";
13
- import * as i12 from "@taiga-ui/core/directives/dropdown";
14
- import * as i13 from "@taiga-ui/core/components/data-list";
15
- /**
16
- * TODO(v5): delete it
17
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead
18
- */
19
- export declare class TuiInputTimeModule {
20
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTimeModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputTimeModule, [typeof i1.TuiInputTimeComponent, typeof i2.TuiNativeTimeComponent, typeof i3.TuiInputTimeDirective], [typeof i4.CommonModule, typeof i5.MaskitoDirective, typeof i6.TuiSelectOptionModule, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiValueAccessorModule, typeof i8.TuiTextfieldControllerModule, typeof i9.PolymorpheusOutlet, typeof i9.PolymorpheusTemplate, typeof i8.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiIcon, typeof i11.TuiAppearance, 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 i1.TuiInputTimeComponent, typeof i3.TuiInputTimeDirective, 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]>;
22
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputTimeModule>;
23
- }
@@ -1,42 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiTimeMode } from '@taiga-ui/cdk/date-time';
3
- import { type TuiContext } from '@taiga-ui/cdk/types';
4
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
5
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
6
- /**
7
- * TODO(v5): delete it
8
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
9
- */
10
- export interface TuiInputTimeOptions {
11
- readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
12
- readonly itemSize: TuiSizeL | TuiSizeS;
13
- readonly maxValues: Record<TuiTimeFormatParts, number>;
14
- readonly mode: TuiTimeMode;
15
- readonly nativePicker?: boolean;
16
- }
17
- /**
18
- * TODO(v5): delete it
19
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
20
- */
21
- export type TuiTimeFormatParts = 'HH' | 'MM' | 'MS' | 'SS';
22
- /**
23
- * TODO(v5): delete it
24
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
25
- */
26
- export declare const MAX_TIME_VALUES: Record<TuiTimeFormatParts, number>;
27
- /**
28
- * TODO(v5): delete it
29
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
30
- */
31
- export declare const TUI_INPUT_TIME_DEFAULT_OPTIONS: TuiInputTimeOptions;
32
- /**
33
- * TODO(v5): delete it
34
- * Default parameters for InputTime component
35
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
36
- */
37
- export declare const TUI_INPUT_TIME_OPTIONS: InjectionToken<TuiInputTimeOptions>;
38
- /**
39
- * TODO(v5): delete it
40
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
41
- */
42
- export declare function tuiInputTimeOptionsProvider(options: Partial<TuiInputTimeOptions>): Provider;
@@ -1,12 +0,0 @@
1
- import { TuiInputTimeDirective } from '../input-time.directive';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiNativeTimeComponent {
4
- protected readonly host: TuiInputTimeDirective;
5
- protected readonly autoId: string;
6
- protected get items(): string[];
7
- protected get value(): string;
8
- protected get step(): number;
9
- protected onChange(value: string): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeTimeComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiNativeTimeComponent, "input[tuiTime]", never, {}, {}, never, never, false, never>;
12
- }
@@ -1,11 +0,0 @@
1
- import { type PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiHideSelectedPipe implements PipeTransform {
4
- private readonly component;
5
- transform<T>(items: readonly T[] | null): readonly T[] | null;
6
- transform<T>(items: ReadonlyArray<readonly T[]> | null): ReadonlyArray<readonly T[]> | null;
7
- private filter2d;
8
- private filter;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiHideSelectedPipe, never>;
10
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiHideSelectedPipe, "tuiHideSelected", false>;
11
- }
@@ -1,10 +0,0 @@
1
- export * from './hide-selected.pipe';
2
- export * from './multi-select.component';
3
- export * from './multi-select.directive';
4
- export * from './multi-select.module';
5
- export * from './multi-select.options';
6
- export * from './multi-select-group/multi-select-group.component';
7
- export * from './multi-select-group/multi-select-group.directive';
8
- export * from './native-multi-select/native-multi-select';
9
- export * from './native-multi-select/native-multi-select.component';
10
- export * from './native-multi-select/native-multi-select-group.component';
@@ -1,23 +0,0 @@
1
- import { type Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiMultiSelectGroupComponent<T> {
4
- private readonly options;
5
- private readonly host;
6
- private readonly control;
7
- protected readonly multiSelectTexts$: Observable<{
8
- all: string;
9
- none: string;
10
- }>;
11
- label: string;
12
- protected get empty$(): Observable<boolean>;
13
- protected get disabled$(): Observable<boolean>;
14
- protected get value$(): Observable<boolean | null>;
15
- protected onClick(checked: boolean | null): void;
16
- private get items$();
17
- private get valueChanges$();
18
- private get values();
19
- private get matcher();
20
- private filter;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectGroupComponent<any>, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiMultiSelectGroupComponent<any>, "tui-opt-group[tuiMultiSelectGroup]", never, { "label": { "alias": "label"; "required": false; }; }, {}, ["options"], ["*"], false, never>;
23
- }
@@ -1,8 +0,0 @@
1
- import { TuiMultiSelectOptionComponent } from '@taiga-ui/legacy/components/multi-select-option';
2
- import { PolymorpheusComponent } from '@taiga-ui/polymorpheus';
3
- import * as i0 from "@angular/core";
4
- export declare const TUI_MULTI_SELECT_OPTION: PolymorpheusComponent<TuiMultiSelectOptionComponent<any[]>>;
5
- export declare class TuiMultiSelectGroupDirective {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectGroupDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiMultiSelectGroupDirective, "[tuiMultiSelectGroup]", never, {}, {}, never, never, false, never>;
8
- }
@@ -1,71 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
3
- import { type TuiBooleanHandler, type TuiContext, type TuiMapper, type TuiStringHandler } from '@taiga-ui/cdk/types';
4
- import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
5
- import { type TuiSizeL, type TuiSizeM, type TuiSizeS } from '@taiga-ui/core/types';
6
- import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
7
- import { AbstractTuiMultipleControl, TuiStringifiableItem } from '@taiga-ui/legacy/classes';
8
- import { TuiInputTagComponent } from '@taiga-ui/legacy/components/input-tag';
9
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
10
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
11
- import { type TuiMultiSelectOptions } from './multi-select.options';
12
- import * as i0 from "@angular/core";
13
- import * as i1 from "@taiga-ui/core/directives/dropdown";
14
- export declare class TuiMultiSelectComponent<T> extends AbstractTuiMultipleControl<T> implements TuiFocusableElementAccessor, TuiDataListHost<T> {
15
- private readonly accessor?;
16
- private readonly nativeSelect?;
17
- private readonly dropdown?;
18
- private readonly input?;
19
- private readonly arrowMode;
20
- private readonly itemsHandlers;
21
- private readonly options;
22
- private readonly inputTagOptions;
23
- protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;
24
- protected open: boolean;
25
- protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
26
- protected readonly isMobile: boolean;
27
- stringify: TuiItemsHandlers<T>['stringify'];
28
- identityMatcher: TuiItemsHandlers<T>['identityMatcher'];
29
- search: string | null;
30
- placeholder: string;
31
- editable: boolean;
32
- disabledItemHandler: TuiItemsHandlers<T>['disabledItemHandler'];
33
- valueContent: TuiMultiSelectOptions<T>['valueContent'];
34
- tagValidator: TuiBooleanHandler<T>;
35
- rows: TuiMultiSelectOptions<T>['rows'];
36
- autoColor: boolean;
37
- readonly searchChange: EventEmitter<string | null>;
38
- get size(): TuiSizeL | TuiSizeS;
39
- get nativeFocusableElement(): HTMLInputElement | null;
40
- get focused(): boolean;
41
- onValueChange(value: readonly T[]): void;
42
- onSearch(search: string | null): void;
43
- setDisabledState(): void;
44
- handleOption(option: T): void;
45
- protected get arrow(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
46
- protected get nativeDropdownMode(): boolean;
47
- protected get computedValue(): readonly T[];
48
- protected get searchOrSpace(): string;
49
- protected get searchString(): string;
50
- protected get computedGroup(): boolean;
51
- protected getStringifier(stringify: TuiStringHandler<T>): TuiStringHandler<TuiContext<T>>;
52
- protected readonly valueMapper: TuiMapper<[
53
- readonly T[],
54
- TuiStringHandler<T>,
55
- boolean?
56
- ], ReadonlyArray<TuiStringifiableItem<T>>>;
57
- protected readonly disabledItemHandlerWrapper: TuiMapper<[
58
- TuiBooleanHandler<T>
59
- ], TuiBooleanHandler<TuiStringifiableItem<T> | string>>;
60
- protected onSpace(event: Event): void;
61
- protected onEnter(event: Event): void;
62
- protected onKeyDown(event: KeyboardEvent): void;
63
- protected onPaste(event: Event): void;
64
- protected onClick({ nativeFocusableElement }: TuiInputTagComponent): void;
65
- protected onInput(value: ReadonlyArray<TuiStringifiableItem<T>>): void;
66
- protected onActiveZone(active: boolean): void;
67
- private filterValue;
68
- private updateSearch;
69
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectComponent<any>, never>;
70
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiMultiSelectComponent<any>, "tui-multi-select", never, { "stringify": { "alias": "stringify"; "required": false; }; "identityMatcher": { "alias": "identityMatcher"; "required": false; }; "search": { "alias": "search"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "valueContent": { "alias": "valueContent"; "required": false; }; "tagValidator": { "alias": "tagValidator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "autoColor": { "alias": "autoColor"; "required": false; }; }, { "searchChange": "searchChange"; }, ["accessor", "nativeSelect", "datalist"], ["*", "select"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
71
- }
@@ -1,14 +0,0 @@
1
- import { type TuiBooleanHandler } from '@taiga-ui/cdk/types';
2
- import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
3
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
4
- import { type TuiMultiSelectComponent } from './multi-select.component';
5
- import * as i0 from "@angular/core";
6
- export declare class TuiMultiSelectDirective<T = string> extends AbstractTuiTextfieldHost<TuiMultiSelectComponent<T>> {
7
- get readOnly(): boolean;
8
- get stringify(): TuiItemsHandlers<T>['stringify'];
9
- disableItemHandler: TuiBooleanHandler<T>;
10
- onValueChange(): void;
11
- onSelectionChange(value: T[]): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectDirective<any>, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiMultiSelectDirective<any>, "tui-multi-select", never, {}, {}, never, never, false, never>;
14
- }