@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,23 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { type TuiSizeL, type TuiSizeM, type TuiSizeS } from '@taiga-ui/core/types';
4
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
5
- /**
6
- * @deprecated: drop in v5.0 use {@link TuiChevron}
7
- */
8
- export interface TuiArrowMode {
9
- readonly disabled: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
10
- readonly interactive: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
11
- }
12
- /**
13
- * @deprecated: drop in v5.0 use {@link TuiChevron}
14
- */
15
- export declare const TUI_ARROW_DEFAULT_MODE: TuiArrowMode;
16
- /**
17
- * @deprecated: drop in v5.0 use {@link TuiChevron}
18
- */
19
- export declare const TUI_ARROW_MODE: InjectionToken<TuiArrowMode>;
20
- /**
21
- * @deprecated: drop in v5.0 use {@link TuiChevron}
22
- */
23
- export declare function tuiArrowModeProvider(options: Partial<TuiArrowMode>): Provider;
@@ -1,3 +0,0 @@
1
- export * from './arrow.component';
2
- export * from './arrow.options';
3
- export * from './arrow.providers';
@@ -1,18 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { type MaskitoOptions } from '@maskito/core';
3
- import * as i0 from "@angular/core";
4
- export declare class TuiColorEditComponent {
5
- color: [number, number, number, number];
6
- readonly colorChange: EventEmitter<[number, number, number, number]>;
7
- readonly hexMask: MaskitoOptions;
8
- readonly modes: string[];
9
- mode: string | undefined;
10
- get isHex(): boolean;
11
- get hex(): string;
12
- get opacity(): number;
13
- onHexChange(hex: string): void;
14
- onRgbChange(...rgba: [number, number, number, number]): void;
15
- private updateColor;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorEditComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiColorEditComponent, "tui-color-edit", never, { "color": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, false, never>;
18
- }
@@ -1,21 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./color-edit.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@maskito/angular";
6
- import * as i5 from "@taiga-ui/legacy/components/primitive-textfield";
7
- import * as i6 from "@taiga-ui/legacy/directives/textfield-controller";
8
- import * as i7 from "@taiga-ui/legacy/components/input-number";
9
- import * as i8 from "@taiga-ui/legacy/components/select";
10
- import * as i9 from "@taiga-ui/core/directives/dropdown";
11
- import * as i10 from "@taiga-ui/core/components/data-list";
12
- import * as i11 from "@taiga-ui/core/components/button";
13
- /**
14
- * TODO(v5): delete it
15
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
16
- */
17
- export declare class TuiColorEditModule {
18
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorEditModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiColorEditModule, [typeof i1.TuiColorEditComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MaskitoDirective, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiTextfieldControllerModule, typeof i7.TuiInputNumberModule, typeof i8.TuiSelectModule, typeof i9.TuiDropdownOptionsDirective, typeof i9.TuiDropdownDriverDirective, typeof i9.TuiDropdownDirective, typeof i9.TuiDropdownComponent, typeof i9.TuiDropdownOpen, typeof i9.TuiDropdownOpenLegacy, typeof i9.TuiDropdownPortal, typeof i9.TuiDropdownManual, typeof i9.TuiDropdownHover, typeof i9.TuiDropdownContext, typeof i9.TuiDropdownPosition, typeof i9.TuiDropdownPositionSided, typeof i9.TuiDropdownSelection, typeof i10.TuiDataListComponent, typeof i10.TuiDataListDirective, typeof i10.TuiOption, typeof i10.TuiOptionNew, typeof i10.TuiOptionWithValue, typeof i10.TuiOptGroup, typeof i11.TuiButton], [typeof i1.TuiColorEditComponent, typeof i9.TuiDropdownOptionsDirective, typeof i9.TuiDropdownDriverDirective, typeof i9.TuiDropdownDirective, typeof i9.TuiDropdownComponent, typeof i9.TuiDropdownOpen, typeof i9.TuiDropdownOpenLegacy, typeof i9.TuiDropdownPortal, typeof i9.TuiDropdownManual, typeof i9.TuiDropdownHover, typeof i9.TuiDropdownContext, typeof i9.TuiDropdownPosition, typeof i9.TuiDropdownPositionSided, typeof i9.TuiDropdownSelection, typeof i10.TuiDataListComponent, typeof i10.TuiDataListDirective, typeof i10.TuiOption, typeof i10.TuiOptionNew, typeof i10.TuiOptionWithValue, typeof i10.TuiOptGroup]>;
20
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiColorEditModule>;
21
- }
@@ -1,22 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { type SafeStyle } from '@angular/platform-browser';
3
- import { type TuiPoint } from '@taiga-ui/core/types';
4
- import * as i0 from "@angular/core";
5
- export declare class TuiColorPickerComponent {
6
- private readonly sanitizer;
7
- protected point: TuiPoint;
8
- protected hue: number;
9
- protected opacity: number;
10
- readonly colorChange: EventEmitter<[h: number, s: number, v: number, opacity: number]>;
11
- set color(color: [h: number, s: number, v: number, opacity: number]);
12
- get currentColor(): [h: number, s: number, v: number];
13
- get base(): string;
14
- get gradient(): SafeStyle;
15
- onPointChange(point: TuiPoint): void;
16
- onHueChange(hue: number): void;
17
- onOpacityChange(opacity: number): void;
18
- private getCurrentColor;
19
- private updateColor;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorPickerComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiColorPickerComponent, "tui-color-picker", never, { "color": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, false, never>;
22
- }
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./color-picker.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../flat-picker/flat-picker.module";
5
- import * as i4 from "../linear-picker/linear-picker.module";
6
- /**
7
- * TODO(v5): delete it
8
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
9
- */
10
- export declare class TuiColorPickerModule {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorPickerModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiColorPickerModule, [typeof i1.TuiColorPickerComponent], [typeof i2.CommonModule, typeof i3.TuiFlatPickerModule, typeof i4.TuiLinearPickerModule], [typeof i1.TuiColorPickerComponent]>;
13
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiColorPickerModule>;
14
- }
@@ -1,47 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { type SafeStyle } from '@angular/platform-browser';
3
- import { type TuiGradientDirection } from '@taiga-ui/cdk/utils/color';
4
- import * as i0 from "@angular/core";
5
- export declare class TuiColorSelectorComponent {
6
- private readonly selectorOptions;
7
- private stops;
8
- private currentStop;
9
- private direction;
10
- private readonly sanitizer;
11
- protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
12
- protected open: boolean;
13
- colors: ReadonlyMap<string, string>;
14
- readonly colorChange: EventEmitter<string>;
15
- color: [number, number, number, number];
16
- readonly modes: [string, string];
17
- currentMode: string;
18
- readonly buttons: readonly TuiGradientDirection[];
19
- set colorSetter(color: string);
20
- get selectorMode(): boolean;
21
- get palette(): Map<string, string>;
22
- get stopsKeys(): number[];
23
- get currentColor(): [number, number, number, number];
24
- get gradient(): SafeStyle;
25
- get isGradient(): boolean;
26
- getIcon(direction: TuiGradientDirection): string;
27
- isModeActive(mode: string): boolean;
28
- isDirectionActive(direction: TuiGradientDirection): boolean;
29
- onPalettePick(color: string): void;
30
- onDirectionChange(direction: TuiGradientDirection): void;
31
- onModeSelect(mode: string): void;
32
- onIndexChange(index: number): void;
33
- onColorChange(color: [number, number, number, number]): void;
34
- onStopsChange(stopsKeys: readonly number[]): void;
35
- private getStopsKeys;
36
- private filterPalette;
37
- private updateColor;
38
- private getGradient;
39
- private getStop;
40
- private addStop;
41
- private removeStop;
42
- private replaceStop;
43
- private parseGradient;
44
- private parseColor;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorSelectorComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiColorSelectorComponent, "tui-color-selector", never, { "colors": { "alias": "colors"; "required": false; }; "colorSetter": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, false, never>;
47
- }
@@ -1,23 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./color-selector.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/core/components/button";
5
- import * as i4 from "./color-picker/color-picker.module";
6
- import * as i5 from "./linear-multi-picker/linear-multi-picker.module";
7
- import * as i6 from "@taiga-ui/cdk/directives/active-zone";
8
- import * as i7 from "./color-edit/color-edit.module";
9
- import * as i8 from "@taiga-ui/core/directives/group";
10
- import * as i9 from "./palette/palette.module";
11
- import * as i10 from "@taiga-ui/kit/directives/chevron";
12
- import * as i11 from "@taiga-ui/core/components/icon";
13
- import * as i12 from "@taiga-ui/core/directives/hint";
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-color TuiInputColor} (from @taiga-ui/kit) instead
18
- */
19
- export declare class TuiColorSelectorModule {
20
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorSelectorModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiColorSelectorModule, [typeof i1.TuiColorSelectorComponent], [typeof i2.CommonModule, typeof i3.TuiButton, typeof i4.TuiColorPickerModule, typeof i5.TuiLinearMultiPickerModule, typeof i6.TuiActiveZone, typeof i7.TuiColorEditModule, typeof i8.TuiGroup, typeof i9.TuiPaletteModule, typeof i10.TuiChevron, typeof i11.TuiIcon, typeof i12.TuiHintComponent, typeof i12.TuiHintDirective, typeof i12.TuiHintOptionsDirective, typeof i12.TuiHintUnstyled, typeof i12.TuiHintDriver, typeof i12.TuiHintPosition, typeof i12.TuiHintHover, typeof i12.TuiHintOverflow, typeof i12.TuiHintDescribe, typeof i12.TuiHintHost, typeof i12.TuiHintManual, typeof i12.TuiHintPointer, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup], [typeof i1.TuiColorSelectorComponent, typeof i12.TuiHintComponent, typeof i12.TuiHintDirective, typeof i12.TuiHintOptionsDirective, typeof i12.TuiHintUnstyled, typeof i12.TuiHintDriver, typeof i12.TuiHintPosition, typeof i12.TuiHintHover, typeof i12.TuiHintOverflow, typeof i12.TuiHintDescribe, typeof i12.TuiHintHost, typeof i12.TuiHintManual, typeof i12.TuiHintPointer, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup]>;
22
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiColorSelectorModule>;
23
- }
@@ -1,25 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiGradientDirection } from '@taiga-ui/cdk/utils/color';
3
- export declare const TUI_COLOR_SELECTOR_MODE_NAMES: InjectionToken<[string, string]>;
4
- export declare const TUI_DEFAULT_INPUT_COLORS: Map<string, string>;
5
- export declare const TuiColorSelectorMode: {
6
- readonly SolidColor: 0;
7
- readonly Gradient: 1;
8
- };
9
- export interface TuiColorSelectorOptions {
10
- readonly mode: (typeof TuiColorSelectorMode)[keyof typeof TuiColorSelectorMode];
11
- readonly selectorMode: boolean;
12
- readonly color: [number, number, number, number];
13
- readonly colors: ReadonlyMap<string, string>;
14
- readonly gradient: {
15
- readonly icons: Record<TuiGradientDirection, string>;
16
- readonly steps: ReadonlyArray<[number, [number, number, number, number]]>;
17
- readonly stop: number;
18
- readonly direction: TuiGradientDirection;
19
- readonly emptyStop: [number, number, number, number];
20
- readonly buttons: readonly TuiGradientDirection[];
21
- };
22
- }
23
- export declare const TUI_COLOR_SELECTOR_DEFAULT_OPTIONS: TuiColorSelectorOptions;
24
- export declare const TUI_COLOR_SELECTOR_OPTIONS: InjectionToken<TuiColorSelectorOptions>;
25
- export declare function tuiColorSelectorOptionsProvider(options: Partial<TuiColorSelectorOptions>): Provider;
@@ -1,12 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { type TuiPoint } from '@taiga-ui/core/types';
3
- import * as i0 from "@angular/core";
4
- export declare class TuiFlatPickerComponent {
5
- protected readonly $: import("rxjs").Subscription;
6
- value: TuiPoint;
7
- readonly valueChange: EventEmitter<[number, number]>;
8
- get left(): number;
9
- get top(): number;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiFlatPickerComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiFlatPickerComponent, "tui-flat-picker", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
12
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./flat-picker.component";
3
- import * as i2 from "@angular/common";
4
- /**
5
- * TODO(v5): delete it
6
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
7
- */
8
- export declare class TuiFlatPickerModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiFlatPickerModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiFlatPickerModule, [typeof i1.TuiFlatPickerComponent], [typeof i2.CommonModule], [typeof i1.TuiFlatPickerComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiFlatPickerModule>;
12
- }
@@ -1,16 +0,0 @@
1
- export * from './color-edit/color-edit.component';
2
- export * from './color-edit/color-edit.module';
3
- export * from './color-picker/color-picker.component';
4
- export * from './color-picker/color-picker.module';
5
- export * from './color-selector.component';
6
- export * from './color-selector.module';
7
- export * from './color-selector.options';
8
- export * from './flat-picker/flat-picker.component';
9
- export * from './flat-picker/flat-picker.module';
10
- export * from './linear-multi-picker/linear-multi-picker.component';
11
- export * from './linear-multi-picker/linear-multi-picker.module';
12
- export * from './linear-picker/linear-picker.component';
13
- export * from './linear-picker/linear-picker.module';
14
- export * from './palette/palette.component';
15
- export * from './palette/palette.module';
16
- export * from './services/picker.service';
@@ -1,17 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiLinearMultiPickerComponent {
4
- protected readonly $: import("rxjs").Subscription;
5
- value: number[];
6
- readonly valueChange: EventEmitter<number[]>;
7
- readonly indexChange: EventEmitter<number>;
8
- index: number;
9
- onMouseUp(): void;
10
- onMouseDown(index: number): void;
11
- onClick(index: number): void;
12
- private onPicker;
13
- private updateIndex;
14
- private updateValue;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiLinearMultiPickerComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiLinearMultiPickerComponent, "tui-linear-multi-picker", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "indexChange": "indexChange"; }, never, never, false, never>;
17
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./linear-multi-picker.component";
3
- import * as i2 from "@angular/common";
4
- /**
5
- * TODO(v5): delete it
6
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
7
- */
8
- export declare class TuiLinearMultiPickerModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiLinearMultiPickerModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiLinearMultiPickerModule, [typeof i1.TuiLinearMultiPickerComponent], [typeof i2.CommonModule], [typeof i1.TuiLinearMultiPickerComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiLinearMultiPickerModule>;
12
- }
@@ -1,10 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiLinearPickerComponent {
4
- protected readonly $: import("rxjs").Subscription;
5
- value: number;
6
- readonly valueChange: EventEmitter<number>;
7
- get left(): number;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiLinearPickerComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiLinearPickerComponent, "tui-linear-picker", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
10
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./linear-picker.component";
3
- import * as i2 from "@angular/common";
4
- /**
5
- * TODO(v5): delete it
6
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
7
- */
8
- export declare class TuiLinearPickerModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiLinearPickerModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiLinearPickerModule, [typeof i1.TuiLinearPickerComponent], [typeof i2.CommonModule], [typeof i1.TuiLinearPickerComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiLinearPickerModule>;
12
- }
@@ -1,10 +0,0 @@
1
- import { type KeyValue } from '@angular/common';
2
- import { EventEmitter } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class TuiPaletteComponent {
5
- colors: ReadonlyMap<string, string>;
6
- readonly selectedColor: EventEmitter<string>;
7
- originalOrder: (_a: KeyValue<string, string>, _b: KeyValue<string, string>) => number;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPaletteComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiPaletteComponent, "tui-palette", never, { "colors": { "alias": "colors"; "required": false; }; }, { "selectedColor": "selectedColor"; }, never, never, false, never>;
10
- }
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./palette.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/core/directives/hint";
5
- /**
6
- * TODO(v5): delete it
7
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
8
- */
9
- export declare class TuiPaletteModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPaletteModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiPaletteModule, [typeof i1.TuiPaletteComponent], [typeof i2.CommonModule, typeof i3.TuiHintComponent, typeof i3.TuiHintDirective, typeof i3.TuiHintOptionsDirective, typeof i3.TuiHintUnstyled, typeof i3.TuiHintDriver, typeof i3.TuiHintPosition, typeof i3.TuiHintHover, typeof i3.TuiHintOverflow, typeof i3.TuiHintDescribe, typeof i3.TuiHintHost, typeof i3.TuiHintManual, typeof i3.TuiHintPointer], [typeof i1.TuiPaletteComponent, typeof i3.TuiHintComponent, typeof i3.TuiHintDirective, typeof i3.TuiHintOptionsDirective, typeof i3.TuiHintUnstyled, typeof i3.TuiHintDriver, typeof i3.TuiHintPosition, typeof i3.TuiHintHover, typeof i3.TuiHintOverflow, typeof i3.TuiHintDescribe, typeof i3.TuiHintHost, typeof i3.TuiHintManual, typeof i3.TuiHintPointer]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiPaletteModule>;
13
- }
@@ -1,15 +0,0 @@
1
- import { type TuiPoint } from '@taiga-ui/core/types';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * TODO(v5): delete it
6
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
7
- */
8
- export declare class TuiPickerService extends Observable<TuiPoint> {
9
- private readonly el;
10
- private readonly doc;
11
- private readonly point$;
12
- constructor();
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPickerService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiPickerService>;
15
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * TODO(v5): delete it
4
- * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead
5
- */
6
- export declare class TuiComboBoxStrictDirective<T> {
7
- private readonly comboBox;
8
- strict: boolean;
9
- protected onInput(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiComboBoxStrictDirective<any>, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiComboBoxStrictDirective<any>, "tui-combo-box[strict]", never, { "strict": { "alias": "strict"; "required": false; }; }, {}, never, never, false, never>;
12
- }
@@ -1,52 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
3
- import { type TuiContext, type TuiStringMatcher } from '@taiga-ui/cdk/types';
4
- import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
5
- import { type TuiSizeL, type TuiSizeM, type TuiSizeS, type TuiValueContentContext } from '@taiga-ui/core/types';
6
- import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
7
- import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
8
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
9
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
10
- import * as i0 from "@angular/core";
11
- import * as i1 from "@taiga-ui/core/directives/dropdown";
12
- /**
13
- * TODO(v5): delete it
14
- * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead
15
- */
16
- export declare class TuiComboBoxComponent<T> extends AbstractTuiNullableControl<T> implements TuiFocusableElementAccessor, TuiDataListHost<T> {
17
- private readonly accessor?;
18
- private readonly dropdown?;
19
- private readonly textfield?;
20
- private readonly arrowMode;
21
- private readonly itemsHandlers;
22
- private readonly textfieldSize;
23
- protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;
24
- stringify: TuiItemsHandlers<T>['stringify'];
25
- strictMatcher: TuiStringMatcher<T> | null;
26
- identityMatcher: TuiItemsHandlers<T>['identityMatcher'];
27
- valueContent: PolymorpheusContent<TuiValueContentContext<T>>;
28
- strict: boolean;
29
- search: string | null;
30
- readonly searchChange: EventEmitter<string | null>;
31
- open: boolean;
32
- get size(): TuiSizeL | TuiSizeS;
33
- get nativeFocusableElement(): HTMLInputElement | null;
34
- get focused(): boolean;
35
- get nativeValue(): string;
36
- checkOption(option: T): void;
37
- handleOption(item: T): void;
38
- onValueChange(value: string): void;
39
- toggle(): void;
40
- protected get arrow(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
41
- protected get showValueTemplate(): boolean;
42
- protected get computedContent(): PolymorpheusContent<TuiValueContentContext<T>>;
43
- protected onActiveZone(active: boolean): void;
44
- protected onFieldKeyDownEnter(event: Event): void;
45
- private isStrictMatch;
46
- private close;
47
- private updateSearch;
48
- private setNativeValue;
49
- private focusInput;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiComboBoxComponent<any>, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiComboBoxComponent<any>, "tui-combo-box", never, { "stringify": { "alias": "stringify"; "required": false; }; "strictMatcher": { "alias": "strictMatcher"; "required": false; }; "identityMatcher": { "alias": "identityMatcher"; "required": false; }; "valueContent": { "alias": "valueContent"; "required": false; }; "strict": { "alias": "strict"; "required": false; }; "search": { "alias": "search"; "required": false; }; }, { "searchChange": "searchChange"; }, ["accessor", "datalist"], ["*", "input"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
52
- }
@@ -1,13 +0,0 @@
1
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
2
- import { type TuiComboBoxComponent } from './combo-box.component';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * TODO(v5): delete it
6
- * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead
7
- */
8
- export declare class TuiComboBoxDirective extends AbstractTuiTextfieldHost<TuiComboBoxComponent<unknown>> {
9
- get value(): string;
10
- onValueChange(value: string): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiComboBoxDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiComboBoxDirective, "tui-combo-box", never, {}, {}, never, never, false, never>;
13
- }
@@ -1,20 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./combo-box.component";
3
- import * as i2 from "./combo-box-strict.directive";
4
- import * as i3 from "./combo-box.directive";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@taiga-ui/polymorpheus";
7
- import * as i6 from "@taiga-ui/legacy/components/primitive-textfield";
8
- import * as i7 from "@taiga-ui/legacy/components/select-option";
9
- import * as i8 from "@taiga-ui/legacy/components/arrow";
10
- import * as i9 from "@taiga-ui/legacy/directives";
11
- import * as i10 from "@taiga-ui/core/directives/dropdown";
12
- /**
13
- * TODO(v5): delete it
14
- * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead
15
- */
16
- export declare class TuiComboBoxModule {
17
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiComboBoxModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiComboBoxModule, [typeof i1.TuiComboBoxComponent, typeof i2.TuiComboBoxStrictDirective, typeof i3.TuiComboBoxDirective], [typeof i4.CommonModule, typeof i5.PolymorpheusOutlet, typeof i5.PolymorpheusTemplate, typeof i6.TuiPrimitiveTextfieldModule, typeof i7.TuiSelectOptionModule, typeof i8.TuiArrowComponent, typeof i9.TuiWrapperModule, typeof i9.TuiTextfieldControllerModule, typeof i9.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiDropdownOptionsDirective, typeof i10.TuiDropdownDriverDirective, typeof i10.TuiDropdownDirective, typeof i10.TuiDropdownComponent, typeof i10.TuiDropdownOpen, typeof i10.TuiDropdownOpenLegacy, typeof i10.TuiDropdownPortal, typeof i10.TuiDropdownManual, typeof i10.TuiDropdownHover, typeof i10.TuiDropdownContext, typeof i10.TuiDropdownPosition, typeof i10.TuiDropdownPositionSided, typeof i10.TuiDropdownSelection], [typeof i1.TuiComboBoxComponent, typeof i2.TuiComboBoxStrictDirective, typeof i3.TuiComboBoxDirective, typeof i6.TuiTextfieldComponent, typeof i10.TuiDropdownOptionsDirective, typeof i10.TuiDropdownDriverDirective, typeof i10.TuiDropdownDirective, typeof i10.TuiDropdownComponent, typeof i10.TuiDropdownOpen, typeof i10.TuiDropdownOpenLegacy, typeof i10.TuiDropdownPortal, typeof i10.TuiDropdownManual, typeof i10.TuiDropdownHover, typeof i10.TuiDropdownContext, typeof i10.TuiDropdownPosition, typeof i10.TuiDropdownPositionSided, typeof i10.TuiDropdownSelection]>;
19
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiComboBoxModule>;
20
- }
@@ -1,4 +0,0 @@
1
- export * from './combo-box.component';
2
- export * from './combo-box.directive';
3
- export * from './combo-box.module';
4
- export * from './combo-box-strict.directive';
@@ -1,3 +0,0 @@
1
- export * from './input.component';
2
- export * from './input.directive';
3
- export * from './input.module';
@@ -1,32 +0,0 @@
1
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
4
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
5
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
6
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
7
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@taiga-ui/core/directives/dropdown";
10
- /**
11
- * TODO(v5): delete it
12
- * @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead
13
- */
14
- export declare class TuiInputComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor, TuiDataListHost<string> {
15
- private readonly dropdown?;
16
- private readonly textfield?;
17
- private readonly textfieldSize;
18
- protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;
19
- open: boolean;
20
- get size(): TuiSizeL | TuiSizeS;
21
- get nativeFocusableElement(): HTMLInputElement | null;
22
- get focused(): boolean;
23
- handleOption(item: unknown): void;
24
- onValueChange(value: string): void;
25
- protected get canOpen(): boolean;
26
- protected onActiveZone(active: boolean): void;
27
- protected getFallbackValue(): string;
28
- private focusInput;
29
- private setNativeValue;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputComponent, "tui-input", never, {}, {}, ["datalist"], ["*", "input"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
32
- }
@@ -1,12 +0,0 @@
1
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
2
- import { type TuiInputComponent } from './input.component';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * TODO(v5): delete it
6
- * @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead
7
- */
8
- export declare class TuiInputDirective extends AbstractTuiTextfieldHost<TuiInputComponent> {
9
- onValueChange(value: string): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDirective, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputDirective, "tui-input", never, {}, {}, never, never, false, never>;
12
- }
@@ -1,16 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input.component";
3
- import * as i2 from "./input.directive";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@taiga-ui/legacy/components/primitive-textfield";
6
- import * as i5 from "@taiga-ui/core/directives/dropdown";
7
- import * as i6 from "@taiga-ui/legacy/directives";
8
- /**
9
- * TODO(v5): delete it
10
- * @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead
11
- */
12
- export declare class TuiInputModule {
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputModule, [typeof i1.TuiInputComponent, typeof i2.TuiInputDirective], [typeof i3.CommonModule, typeof i4.TuiPrimitiveTextfieldModule, typeof i5.TuiDropdownOptionsDirective, typeof i5.TuiDropdownDriverDirective, typeof i5.TuiDropdownDirective, typeof i5.TuiDropdownComponent, typeof i5.TuiDropdownOpen, typeof i5.TuiDropdownOpenLegacy, typeof i5.TuiDropdownPortal, typeof i5.TuiDropdownManual, typeof i5.TuiDropdownHover, typeof i5.TuiDropdownContext, typeof i5.TuiDropdownPosition, typeof i5.TuiDropdownPositionSided, typeof i5.TuiDropdownSelection, typeof i6.TuiLegacyDropdownOpenMonitorDirective], [typeof i1.TuiInputComponent, typeof i2.TuiInputDirective, typeof i4.TuiTextfieldComponent, typeof i5.TuiDropdownOptionsDirective, typeof i5.TuiDropdownDriverDirective, typeof i5.TuiDropdownDirective, typeof i5.TuiDropdownComponent, typeof i5.TuiDropdownOpen, typeof i5.TuiDropdownOpenLegacy, typeof i5.TuiDropdownPortal, typeof i5.TuiDropdownManual, typeof i5.TuiDropdownHover, typeof i5.TuiDropdownContext, typeof i5.TuiDropdownPosition, typeof i5.TuiDropdownPositionSided, typeof i5.TuiDropdownSelection]>;
15
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputModule>;
16
- }
@@ -1,2 +0,0 @@
1
- export * from './input-color.component';
2
- export * from './input-color.module';
@@ -1,30 +0,0 @@
1
- import { type SafeStyle } from '@angular/platform-browser';
2
- import { type MaskitoOptions } from '@maskito/core';
3
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
4
- import { type TuiFocusableElementAccessor, type TuiNativeFocusableElement } from '@taiga-ui/legacy/tokens';
5
- import * as i0 from "@angular/core";
6
- type MaskMode = 'gradient' | 'hex' | 'rgb';
7
- /**
8
- * TODO(v5): delete it
9
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
10
- */
11
- export declare class TuiInputColorComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
12
- private readonly textfield?;
13
- private readonly domSanitizer;
14
- colors: ReadonlyMap<string, string>;
15
- open: boolean;
16
- get focused(): boolean;
17
- get nativeFocusableElement(): TuiNativeFocusableElement | null;
18
- get background(): SafeStyle;
19
- get mode(): MaskMode;
20
- maskitoOptions(mode: MaskMode): MaskitoOptions | null;
21
- onClick(): void;
22
- /** deprecated use 'value' setter */
23
- onValueChange(textValue: string): void;
24
- onFocused(focused: boolean): void;
25
- protected getFallbackValue(): string;
26
- private sanitize;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputColorComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputColorComponent, "tui-input-color", never, { "colors": { "alias": "colors"; "required": false; }; }, {}, never, ["*"], false, never>;
29
- }
30
- export {};
@@ -1,17 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-color.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/legacy/components/primitive-textfield";
5
- import * as i4 from "@taiga-ui/legacy/directives/textfield-controller";
6
- import * as i5 from "@taiga-ui/legacy/components/color-selector";
7
- import * as i6 from "@maskito/angular";
8
- import * as i7 from "@taiga-ui/core/directives/dropdown";
9
- /**
10
- * TODO(v5): delete it
11
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
12
- */
13
- export declare class TuiInputColorModule {
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputColorModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputColorModule, [typeof i1.TuiInputColorComponent], [typeof i2.CommonModule, typeof i3.TuiPrimitiveTextfieldModule, typeof i4.TuiTextfieldControllerModule, typeof i5.TuiColorSelectorModule, typeof i6.MaskitoDirective, typeof i7.TuiDropdownOptionsDirective, typeof i7.TuiDropdownDriverDirective, typeof i7.TuiDropdownDirective, typeof i7.TuiDropdownComponent, typeof i7.TuiDropdownOpen, typeof i7.TuiDropdownOpenLegacy, typeof i7.TuiDropdownPortal, typeof i7.TuiDropdownManual, typeof i7.TuiDropdownHover, typeof i7.TuiDropdownContext, typeof i7.TuiDropdownPosition, typeof i7.TuiDropdownPositionSided, typeof i7.TuiDropdownSelection], [typeof i1.TuiInputColorComponent, typeof i7.TuiDropdownOptionsDirective, typeof i7.TuiDropdownDriverDirective, typeof i7.TuiDropdownDirective, typeof i7.TuiDropdownComponent, typeof i7.TuiDropdownOpen, typeof i7.TuiDropdownOpenLegacy, typeof i7.TuiDropdownPortal, typeof i7.TuiDropdownManual, typeof i7.TuiDropdownHover, typeof i7.TuiDropdownContext, typeof i7.TuiDropdownPosition, typeof i7.TuiDropdownPositionSided, typeof i7.TuiDropdownSelection]>;
16
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputColorModule>;
17
- }
@@ -1,3 +0,0 @@
1
- export * from './input-date.component';
2
- export * from './input-date.directive';
3
- export * from './input-date.module';