@taiga-ui/legacy 4.52.0-canary.9fae831 → 4.52.0-canary.a1004d6

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 (325) 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 -25
  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 -25
  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 -161
  31. package/classes/abstract-native-select.d.ts +0 -22
  32. package/classes/abstract-textfield-host.d.ts +0 -19
  33. package/classes/control.d.ts +0 -60
  34. package/classes/controller.d.ts +0 -9
  35. package/classes/index.d.ts +0 -9
  36. package/classes/interactive.d.ts +0 -34
  37. package/classes/multiple-control.d.ts +0 -11
  38. package/classes/named-day.d.ts +0 -11
  39. package/classes/nullable-control.d.ts +0 -10
  40. package/classes/stringifiable-item.d.ts +0 -11
  41. package/components/arrow/arrow.component.d.ts +0 -17
  42. package/components/arrow/arrow.options.d.ts +0 -19
  43. package/components/arrow/arrow.providers.d.ts +0 -23
  44. package/components/arrow/index.d.ts +0 -3
  45. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  46. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  47. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  48. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  49. package/components/color-selector/color-selector.component.d.ts +0 -47
  50. package/components/color-selector/color-selector.module.d.ts +0 -23
  51. package/components/color-selector/color-selector.options.d.ts +0 -25
  52. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  53. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  54. package/components/color-selector/index.d.ts +0 -16
  55. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  56. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  57. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  58. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  59. package/components/color-selector/palette/palette.component.d.ts +0 -10
  60. package/components/color-selector/palette/palette.module.d.ts +0 -13
  61. package/components/color-selector/services/picker.service.d.ts +0 -15
  62. package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
  63. package/components/combo-box/combo-box.component.d.ts +0 -52
  64. package/components/combo-box/combo-box.directive.d.ts +0 -13
  65. package/components/combo-box/combo-box.module.d.ts +0 -20
  66. package/components/combo-box/index.d.ts +0 -4
  67. package/components/input/index.d.ts +0 -3
  68. package/components/input/input.component.d.ts +0 -32
  69. package/components/input/input.directive.d.ts +0 -12
  70. package/components/input/input.module.d.ts +0 -16
  71. package/components/input-color/index.d.ts +0 -2
  72. package/components/input-color/input-color.component.d.ts +0 -30
  73. package/components/input-color/input-color.module.d.ts +0 -17
  74. package/components/input-date/index.d.ts +0 -3
  75. package/components/input-date/input-date.component.d.ts +0 -62
  76. package/components/input-date/input-date.directive.d.ts +0 -19
  77. package/components/input-date/input-date.module.d.ts +0 -24
  78. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  79. package/components/input-date-range/index.d.ts +0 -3
  80. package/components/input-date-range/input-date-range.component.d.ts +0 -67
  81. package/components/input-date-range/input-date-range.directive.d.ts +0 -16
  82. package/components/input-date-range/input-date-range.module.d.ts +0 -22
  83. package/components/input-date-time/index.d.ts +0 -3
  84. package/components/input-date-time/input-date-time.component.d.ts +0 -87
  85. package/components/input-date-time/input-date-time.directive.d.ts +0 -17
  86. package/components/input-date-time/input-date-time.module.d.ts +0 -23
  87. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
  88. package/components/input-month-range/index.d.ts +0 -3
  89. package/components/input-month-range/input-month-range.component.d.ts +0 -38
  90. package/components/input-month-range/input-month-range.directive.d.ts +0 -23
  91. package/components/input-month-range/input-month-range.module.d.ts +0 -18
  92. package/components/input-number/index.d.ts +0 -4
  93. package/components/input-number/input-number.component.d.ts +0 -63
  94. package/components/input-number/input-number.directive.d.ts +0 -16
  95. package/components/input-number/input-number.module.d.ts +0 -18
  96. package/components/input-number/input-number.options.d.ts +0 -29
  97. package/components/input-phone/index.d.ts +0 -4
  98. package/components/input-phone/input-phone.component.d.ts +0 -52
  99. package/components/input-phone/input-phone.directive.d.ts +0 -16
  100. package/components/input-phone/input-phone.module.d.ts +0 -15
  101. package/components/input-phone/input-phone.options.d.ts +0 -22
  102. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  103. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  104. package/components/input-phone/utils/index.d.ts +0 -2
  105. package/components/input-phone-international/index.d.ts +0 -3
  106. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  107. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  108. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  109. package/components/input-range/index.d.ts +0 -2
  110. package/components/input-range/input-range.component.d.ts +0 -56
  111. package/components/input-range/input-range.module.d.ts +0 -19
  112. package/components/input-slider/index.d.ts +0 -2
  113. package/components/input-slider/input-slider.component.d.ts +0 -42
  114. package/components/input-slider/input-slider.module.d.ts +0 -18
  115. package/components/input-tag/index.d.ts +0 -3
  116. package/components/input-tag/input-tag.component.d.ts +0 -103
  117. package/components/input-tag/input-tag.module.d.ts +0 -22
  118. package/components/input-tag/input-tag.options.d.ts +0 -27
  119. package/components/input-time/index.d.ts +0 -4
  120. package/components/input-time/input-time.component.d.ts +0 -62
  121. package/components/input-time/input-time.directive.d.ts +0 -17
  122. package/components/input-time/input-time.module.d.ts +0 -23
  123. package/components/input-time/input-time.options.d.ts +0 -42
  124. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  125. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  126. package/components/multi-select/index.d.ts +0 -10
  127. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  128. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  129. package/components/multi-select/multi-select.component.d.ts +0 -71
  130. package/components/multi-select/multi-select.directive.d.ts +0 -14
  131. package/components/multi-select/multi-select.module.d.ts +0 -31
  132. package/components/multi-select/multi-select.options.d.ts +0 -14
  133. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  134. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  135. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  136. package/components/multi-select-option/index.d.ts +0 -2
  137. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  138. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  139. package/components/primitive-textfield/index.d.ts +0 -7
  140. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
  141. package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
  142. package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
  143. package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
  144. package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
  145. package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
  146. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
  147. package/components/select/index.d.ts +0 -6
  148. package/components/select/native-select/native-select-group.component.d.ts +0 -17
  149. package/components/select/native-select/native-select.component.d.ts +0 -16
  150. package/components/select/select.component.d.ts +0 -45
  151. package/components/select/select.directive.d.ts +0 -16
  152. package/components/select/select.module.d.ts +0 -24
  153. package/components/select/select.options.d.ts +0 -25
  154. package/components/select-option/index.d.ts +0 -2
  155. package/components/select-option/select-option.component.d.ts +0 -27
  156. package/components/select-option/select-option.module.d.ts +0 -10
  157. package/components/svg/content-processor.d.ts +0 -19
  158. package/components/svg/deprecated-icons.d.ts +0 -5
  159. package/components/svg/index.d.ts +0 -5
  160. package/components/svg/svg-options.d.ts +0 -50
  161. package/components/svg/svg.component.d.ts +0 -50
  162. package/components/svg/svg.service.d.ts +0 -21
  163. package/components/tag/index.d.ts +0 -3
  164. package/components/tag/tag.component.d.ts +0 -44
  165. package/components/tag/tag.module.d.ts +0 -16
  166. package/components/tag/tag.options.d.ts +0 -27
  167. package/components/textarea/index.d.ts +0 -3
  168. package/components/textarea/textarea.component.d.ts +0 -54
  169. package/components/textarea/textarea.directive.d.ts +0 -12
  170. package/components/textarea/textarea.module.d.ts +0 -21
  171. package/components/tooltip/index.d.ts +0 -2
  172. package/components/tooltip/tooltip.component.d.ts +0 -12
  173. package/components/tooltip/tooltip.module.d.ts +0 -13
  174. package/directives/index.d.ts +0 -5
  175. package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
  176. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
  177. package/directives/textfield-controller/index.d.ts +0 -14
  178. package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
  179. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
  180. package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
  181. package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
  182. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
  183. package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
  184. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
  185. package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
  186. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
  187. package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
  188. package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
  189. package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
  190. package/directives/textfield-controller/textfield.controller.d.ts +0 -41
  191. package/directives/textfield-controller/textfield.options.d.ts +0 -19
  192. package/directives/unfinished-validator/index.d.ts +0 -2
  193. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
  194. package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
  195. package/directives/value-accessor/index.d.ts +0 -3
  196. package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
  197. package/directives/value-accessor/value-accessor.module.d.ts +0 -7
  198. package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
  199. package/directives/wrapper/README.md +0 -19
  200. package/directives/wrapper/index.d.ts +0 -2
  201. package/directives/wrapper/wrapper.directive.d.ts +0 -22
  202. package/directives/wrapper/wrapper.module.d.ts +0 -10
  203. package/fesm2022/taiga-ui-legacy-classes.mjs +0 -415
  204. package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
  205. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -85
  206. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
  207. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -726
  208. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  209. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -299
  210. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  211. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  212. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  213. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -356
  214. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
  215. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
  216. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
  217. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  218. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  219. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
  220. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
  221. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -390
  222. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
  223. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  224. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  225. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -372
  226. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  227. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
  228. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
  229. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -199
  230. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
  231. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  232. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  233. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -430
  234. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  235. package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -155
  236. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
  237. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  238. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  239. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -690
  240. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  241. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
  242. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
  243. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
  244. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
  245. package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -353
  246. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
  247. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
  248. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  249. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -225
  250. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  251. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  252. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
  253. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
  254. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
  255. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -50
  256. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
  257. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -401
  258. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
  259. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -50
  260. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
  261. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
  262. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
  263. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
  264. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
  265. package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
  266. package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
  267. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
  268. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  269. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  270. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  271. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  272. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  273. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  274. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  275. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  276. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  277. package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
  278. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
  279. package/fesm2022/taiga-ui-legacy-utils.mjs +0 -268
  280. package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
  281. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  282. package/pipes/format-phone/index.d.ts +0 -1
  283. package/pipes/index.d.ts +0 -3
  284. package/pipes/iso-to-country-code/index.d.ts +0 -1
  285. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  286. package/pipes/to-country-code/index.d.ts +0 -1
  287. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  288. package/services/index.d.ts +0 -1
  289. package/services/static-request.service.d.ts +0 -11
  290. package/styles/mixins/mixins.less +0 -239
  291. package/styles/mixins/mixins.scss +0 -224
  292. package/styles/mixins/textfield.less +0 -324
  293. package/styles/mixins/textfield.scss +0 -308
  294. package/styles/taiga-ui-local.less +0 -3
  295. package/styles/taiga-ui-local.scss +0 -3
  296. package/tokens/countries-masks.d.ts +0 -9
  297. package/tokens/focusable-item-accessor.d.ts +0 -25
  298. package/tokens/fonts-ready.d.ts +0 -6
  299. package/tokens/icons.d.ts +0 -6
  300. package/tokens/index.d.ts +0 -14
  301. package/tokens/is-apple.d.ts +0 -6
  302. package/tokens/is-chromium.d.ts +0 -6
  303. package/tokens/is-firefox.d.ts +0 -6
  304. package/tokens/is-stackblitz.d.ts +0 -5
  305. package/tokens/month-formatter.d.ts +0 -10
  306. package/tokens/sanitizer.d.ts +0 -6
  307. package/tokens/textfield-appearance.d.ts +0 -7
  308. package/tokens/textfield-host.d.ts +0 -23
  309. package/tokens/touch-supported.d.ts +0 -5
  310. package/tokens/value-accessor.d.ts +0 -7
  311. package/utils/capitalize-first-letter.d.ts +0 -4
  312. package/utils/date-mode-maskito-adapter.d.ts +0 -6
  313. package/utils/format-phone.d.ts +0 -30
  314. package/utils/get-border.d.ts +0 -5
  315. package/utils/get-max-allowed-phone-length.d.ts +0 -24
  316. package/utils/get-safe-area-size.d.ts +0 -7
  317. package/utils/icons-path-factory.d.ts +0 -13
  318. package/utils/index.d.ts +0 -14
  319. package/utils/is-apple.d.ts +0 -5
  320. package/utils/is-presumed-html-string.d.ts +0 -4
  321. package/utils/iso-to-country-code.d.ts +0 -13
  322. package/utils/not-kz-region.d.ts +0 -20
  323. package/utils/process-icon.d.ts +0 -4
  324. package/utils/specific-dropdown-controllers.d.ts +0 -4
  325. package/utils/status.d.ts +0 -4
@@ -1,155 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, TemplateRef, ContentChild, ViewChild, ChangeDetectionStrategy, Component, Directive, NgModule } from '@angular/core';
3
- import { tuiIsFocused } from '@taiga-ui/cdk/utils/focus';
4
- import { TuiDataListDirective, tuiAsDataListHost } from '@taiga-ui/core/components/data-list';
5
- import * as i1 from '@taiga-ui/core/directives/dropdown';
6
- import { TuiDropdownOpen, TuiDropdownFixed, TuiDropdown } from '@taiga-ui/core/directives/dropdown';
7
- import { AbstractTuiControl, tuiAsControl, AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
8
- import * as i2 from '@taiga-ui/legacy/components/primitive-textfield';
9
- import { TuiPrimitiveTextfieldComponent, TuiTextfieldComponent, TuiPrimitiveTextfieldModule } from '@taiga-ui/legacy/components/primitive-textfield';
10
- import * as i3 from '@taiga-ui/legacy/directives';
11
- import { TUI_TEXTFIELD_SIZE, TUI_VALUE_ACCESSOR_PROVIDER, TuiLegacyDropdownOpenMonitorDirective } from '@taiga-ui/legacy/directives';
12
- import { tuiAsFocusableItemAccessor, tuiAsTextfieldHost } from '@taiga-ui/legacy/tokens';
13
- import { CommonModule } from '@angular/common';
14
-
15
- /**
16
- * TODO(v5): delete it
17
- * @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead
18
- */
19
- class TuiInputComponent extends AbstractTuiControl {
20
- constructor() {
21
- super(...arguments);
22
- this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
23
- this.open = false;
24
- }
25
- get size() {
26
- return this.textfieldSize.size;
27
- }
28
- get nativeFocusableElement() {
29
- return this.computedDisabled || !this.textfield
30
- ? null
31
- : this.textfield.nativeFocusableElement;
32
- }
33
- get focused() {
34
- return (tuiIsFocused(this.nativeFocusableElement) || !!this.dropdown?.tuiDropdownOpen);
35
- }
36
- handleOption(item) {
37
- this.setNativeValue(String(item));
38
- this.focusInput();
39
- this.value = String(item);
40
- this.open = false;
41
- }
42
- onValueChange(value) {
43
- this.value = value;
44
- this.open = this.canOpen;
45
- setTimeout(() => {
46
- this.open = this.canOpen;
47
- this.cdr.detectChanges();
48
- });
49
- }
50
- get canOpen() {
51
- return this.interactive && !!this.datalist;
52
- }
53
- onActiveZone(active) {
54
- this.updateFocused(active);
55
- }
56
- getFallbackValue() {
57
- return '';
58
- }
59
- focusInput(preventScroll = false) {
60
- if (this.nativeFocusableElement) {
61
- this.nativeFocusableElement.focus({ preventScroll });
62
- }
63
- }
64
- setNativeValue(value) {
65
- if (this.nativeFocusableElement) {
66
- this.nativeFocusableElement.value = value;
67
- }
68
- }
69
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
70
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputComponent, isStandalone: false, selector: "tui-input", host: { properties: { "attr.data-size": "size" } }, providers: [
71
- TUI_VALUE_ACCESSOR_PROVIDER,
72
- tuiAsFocusableItemAccessor(TuiInputComponent),
73
- tuiAsDataListHost(TuiInputComponent),
74
- tuiAsControl(TuiInputComponent),
75
- ], queries: [{ propertyName: "datalist", first: true, predicate: TuiDataListDirective, descendants: true, read: TemplateRef }], viewQueries: [{ propertyName: "dropdown", first: true, predicate: TuiDropdownOpen, descendants: true }, { propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.TuiDropdownFixed }], ngImport: i0, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"canOpen\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [value]=\"value\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host._disabled,:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}\n"], dependencies: [{ kind: "component", type: i2.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i2.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i1.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }, { kind: "directive", type: i3.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
76
- }
77
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputComponent, decorators: [{
78
- type: Component,
79
- args: [{ standalone: false, selector: 'tui-input', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
80
- TUI_VALUE_ACCESSOR_PROVIDER,
81
- tuiAsFocusableItemAccessor(TuiInputComponent),
82
- tuiAsDataListHost(TuiInputComponent),
83
- tuiAsControl(TuiInputComponent),
84
- ], hostDirectives: [TuiDropdownFixed], host: {
85
- '[attr.data-size]': 'size',
86
- }, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"canOpen\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [value]=\"value\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host._disabled,:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}\n"] }]
87
- }], propDecorators: { dropdown: [{
88
- type: ViewChild,
89
- args: [TuiDropdownOpen]
90
- }], textfield: [{
91
- type: ViewChild,
92
- args: [TuiPrimitiveTextfieldComponent]
93
- }], datalist: [{
94
- type: ContentChild,
95
- args: [TuiDataListDirective, { read: TemplateRef }]
96
- }] } });
97
-
98
- /**
99
- * TODO(v5): delete it
100
- * @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead
101
- */
102
- class TuiInputDirective extends AbstractTuiTextfieldHost {
103
- onValueChange(value) {
104
- this.host.onValueChange(value);
105
- }
106
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
107
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputDirective, isStandalone: false, selector: "tui-input", providers: [tuiAsTextfieldHost(TuiInputDirective)], usesInheritance: true, ngImport: i0 }); }
108
- }
109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDirective, decorators: [{
110
- type: Directive,
111
- args: [{
112
- standalone: false,
113
- selector: 'tui-input',
114
- providers: [tuiAsTextfieldHost(TuiInputDirective)],
115
- }]
116
- }] });
117
-
118
- /**
119
- * TODO(v5): delete it
120
- * @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead
121
- */
122
- class TuiInputModule {
123
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
124
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiInputModule, declarations: [TuiInputComponent, TuiInputDirective], imports: [CommonModule,
125
- TuiPrimitiveTextfieldModule, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownPortal, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection, TuiLegacyDropdownOpenMonitorDirective], exports: [TuiInputComponent,
126
- TuiInputDirective,
127
- TuiTextfieldComponent, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownPortal, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection] }); }
128
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputModule, imports: [CommonModule,
129
- TuiPrimitiveTextfieldModule, i1.TuiDropdownComponent] }); }
130
- }
131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputModule, decorators: [{
132
- type: NgModule,
133
- args: [{
134
- imports: [
135
- CommonModule,
136
- TuiPrimitiveTextfieldModule,
137
- ...TuiDropdown,
138
- TuiLegacyDropdownOpenMonitorDirective,
139
- ],
140
- declarations: [TuiInputComponent, TuiInputDirective],
141
- exports: [
142
- TuiInputComponent,
143
- TuiInputDirective,
144
- TuiTextfieldComponent,
145
- ...TuiDropdown,
146
- ],
147
- }]
148
- }] });
149
-
150
- /**
151
- * Generated bundle index. Do not edit.
152
- */
153
-
154
- export { TuiInputComponent, TuiInputDirective, TuiInputModule };
155
- //# sourceMappingURL=taiga-ui-legacy-components-input.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-input.mjs","sources":["../../../projects/legacy/components/input/input.component.ts","../../../projects/legacy/components/input/input.template.html","../../../projects/legacy/components/input/input.directive.ts","../../../projects/legacy/components/input/input.module.ts","../../../projects/legacy/components/input/taiga-ui-legacy-components-input.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n inject,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {type TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiIsFocused} from '@taiga-ui/cdk/utils/focus';\nimport {\n tuiAsDataListHost,\n TuiDataListDirective,\n type TuiDataListHost,\n} from '@taiga-ui/core/components/data-list';\nimport {TuiDropdownFixed, TuiDropdownOpen} from '@taiga-ui/core/directives/dropdown';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {AbstractTuiControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {\n TUI_TEXTFIELD_SIZE,\n TUI_VALUE_ACCESSOR_PROVIDER,\n} from '@taiga-ui/legacy/directives';\nimport {\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n} from '@taiga-ui/legacy/tokens';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead\n */\n@Component({\n standalone: false,\n selector: 'tui-input',\n templateUrl: './input.template.html',\n styleUrls: ['./input.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n TUI_VALUE_ACCESSOR_PROVIDER,\n tuiAsFocusableItemAccessor(TuiInputComponent),\n tuiAsDataListHost(TuiInputComponent),\n tuiAsControl(TuiInputComponent),\n ],\n hostDirectives: [TuiDropdownFixed],\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiInputComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor, TuiDataListHost<string>\n{\n @ViewChild(TuiDropdownOpen)\n private readonly dropdown?: TuiDropdownOpen;\n\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;\n\n public open = false;\n\n public get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n public get nativeFocusableElement(): HTMLInputElement | null {\n return this.computedDisabled || !this.textfield\n ? null\n : this.textfield.nativeFocusableElement;\n }\n\n public get focused(): boolean {\n return (\n tuiIsFocused(this.nativeFocusableElement) || !!this.dropdown?.tuiDropdownOpen\n );\n }\n\n public handleOption(item: unknown): void {\n this.setNativeValue(String(item));\n this.focusInput();\n this.value = String(item);\n this.open = false;\n }\n\n public onValueChange(value: string): void {\n this.value = value;\n this.open = this.canOpen;\n setTimeout(() => {\n this.open = this.canOpen;\n this.cdr.detectChanges();\n });\n }\n\n protected get canOpen(): boolean {\n return this.interactive && !!this.datalist;\n }\n\n protected onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n protected getFallbackValue(): string {\n return '';\n }\n\n private focusInput(preventScroll = false): void {\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.focus({preventScroll});\n }\n }\n\n private setNativeValue(value: string): void {\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.value = value;\n }\n }\n}\n","<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"canOpen\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [value]=\"value\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n</div>\n","import {Directive} from '@angular/core';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {type TuiInputComponent} from './input.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-input',\n providers: [tuiAsTextfieldHost(TuiInputDirective)],\n})\nexport class TuiInputDirective extends AbstractTuiTextfieldHost<TuiInputComponent> {\n public onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiDropdown} from '@taiga-ui/core/directives/dropdown';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TuiLegacyDropdownOpenMonitorDirective} from '@taiga-ui/legacy/directives';\n\nimport {TuiInputComponent} from './input.component';\nimport {TuiInputDirective} from './input.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n TuiPrimitiveTextfieldModule,\n ...TuiDropdown,\n TuiLegacyDropdownOpenMonitorDirective,\n ],\n declarations: [TuiInputComponent, TuiInputDirective],\n exports: [\n TuiInputComponent,\n TuiInputDirective,\n TuiTextfieldComponent,\n ...TuiDropdown,\n ],\n})\nexport class TuiInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AA8BA;;;AAGG;AAkBG,MAAO,iBACT,SAAQ,kBAA0B,CAAA;AAlBtC,IAAA,WAAA,GAAA;;AA2BqB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,kBAAkB,CAAC;QAKpD,IAAI,CAAA,IAAA,GAAG,KAAK;AAyDtB;AAvDG,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI;;AAGlC,IAAA,IAAW,sBAAsB,GAAA;AAC7B,QAAA,OAAO,IAAI,CAAC,gBAAgB,IAAI,CAAC,IAAI,CAAC;AAClC,cAAE;AACF,cAAE,IAAI,CAAC,SAAS,CAAC,sBAAsB;;AAG/C,IAAA,IAAW,OAAO,GAAA;A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;;;AC9BD;;AAEG;;;;"}
@@ -1,47 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
- import { tuiIsPresent } from '@taiga-ui/cdk/utils/miscellaneous';
4
- import { TuiSelectOptionComponent } from '@taiga-ui/legacy/components/select-option';
5
- import * as i1 from '@angular/common';
6
- import { CommonModule } from '@angular/common';
7
- import * as i2 from '@taiga-ui/kit/components/checkbox';
8
- import { TuiCheckbox } from '@taiga-ui/kit/components/checkbox';
9
-
10
- class TuiMultiSelectOptionComponent extends TuiSelectOptionComponent {
11
- get size() {
12
- return this.dataList?.size === 'l' ? 'm' : 's';
13
- }
14
- get selected() {
15
- const { value } = this.option;
16
- return (tuiIsPresent(value) &&
17
- tuiIsPresent(this.value) &&
18
- this.value.some((item) => this.matcher(item, value)));
19
- }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiMultiSelectOptionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
21
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiMultiSelectOptionComponent, isStandalone: false, selector: "tui-multi-select-option", usesInheritance: true, ngImport: i0, template: "<input\n tuiCheckbox\n type=\"checkbox\"\n [checked]=\"selected$ | async\"\n [size]=\"size\"\n/>\n<ng-container [ngTemplateOutlet]=\"context.$implicit\" />\n", styles: ["@keyframes retrigger{0%{left:1px}to{left:2px}}:host{display:flex;flex:1;flex-direction:inherit;gap:.75rem;align-items:center;animation:retrigger 1s;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.TuiCheckbox, selector: "input[type=\"checkbox\"][tuiCheckbox]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
22
- }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiMultiSelectOptionComponent, decorators: [{
24
- type: Component,
25
- args: [{ standalone: false, selector: 'tui-multi-select-option', changeDetection: ChangeDetectionStrategy.OnPush, template: "<input\n tuiCheckbox\n type=\"checkbox\"\n [checked]=\"selected$ | async\"\n [size]=\"size\"\n/>\n<ng-container [ngTemplateOutlet]=\"context.$implicit\" />\n", styles: ["@keyframes retrigger{0%{left:1px}to{left:2px}}:host{display:flex;flex:1;flex-direction:inherit;gap:.75rem;align-items:center;animation:retrigger 1s;overflow:hidden}\n"] }]
26
- }] });
27
-
28
- class TuiMultiSelectOptionModule {
29
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiMultiSelectOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
30
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiMultiSelectOptionModule, declarations: [TuiMultiSelectOptionComponent], imports: [CommonModule, TuiCheckbox], exports: [TuiMultiSelectOptionComponent] }); }
31
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiMultiSelectOptionModule, imports: [CommonModule, TuiCheckbox] }); }
32
- }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiMultiSelectOptionModule, decorators: [{
34
- type: NgModule,
35
- args: [{
36
- imports: [CommonModule, TuiCheckbox],
37
- declarations: [TuiMultiSelectOptionComponent],
38
- exports: [TuiMultiSelectOptionComponent],
39
- }]
40
- }] });
41
-
42
- /**
43
- * Generated bundle index. Do not edit.
44
- */
45
-
46
- export { TuiMultiSelectOptionComponent, TuiMultiSelectOptionModule };
47
- //# sourceMappingURL=taiga-ui-legacy-components-multi-select-option.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-multi-select-option.mjs","sources":["../../../projects/legacy/components/multi-select-option/multi-select-option.component.ts","../../../projects/legacy/components/multi-select-option/multi-select-option.template.html","../../../projects/legacy/components/multi-select-option/multi-select-option.module.ts","../../../projects/legacy/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {tuiIsPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\nimport {TuiSelectOptionComponent} from '@taiga-ui/legacy/components/select-option';\n\n@Component({\n standalone: false,\n selector: 'tui-multi-select-option',\n templateUrl: './multi-select-option.template.html',\n styleUrls: ['./multi-select-option.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiMultiSelectOptionComponent<\n T extends any[],\n> extends TuiSelectOptionComponent<T> {\n protected get size(): TuiSizeS {\n return this.dataList?.size === 'l' ? 'm' : 's';\n }\n\n protected override get selected(): boolean {\n const {value} = this.option;\n\n return (\n tuiIsPresent(value) &&\n tuiIsPresent(this.value) &&\n this.value.some((item) => this.matcher(item, value))\n );\n }\n}\n","<input\n tuiCheckbox\n type=\"checkbox\"\n [checked]=\"selected$ | async\"\n [size]=\"size\"\n/>\n<ng-container [ngTemplateOutlet]=\"context.$implicit\" />\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiCheckbox} from '@taiga-ui/kit/components/checkbox';\n\nimport {TuiMultiSelectOptionComponent} from './multi-select-option.component';\n\n@NgModule({\n imports: [CommonModule, TuiCheckbox],\n declarations: [TuiMultiSelectOptionComponent],\n exports: [TuiMultiSelectOptionComponent],\n})\nexport class TuiMultiSelectOptionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAYM,MAAO,6BAEX,SAAQ,wBAA2B,CAAA;A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