@taiga-ui/legacy 4.52.0-canary.216e347 → 4.52.0-canary.24b31eb

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 (514) hide show
  1. package/classes/abstract-textfield-host.d.ts +1 -1
  2. package/classes/controller.d.ts +1 -1
  3. package/classes/multiple-control.d.ts +1 -1
  4. package/classes/nullable-control.d.ts +1 -1
  5. package/components/dialog/dialog.component.d.ts +20 -0
  6. package/components/dialog/dialog.directive.d.ts +7 -0
  7. package/components/dialog/dialog.factory.d.ts +16 -0
  8. package/components/dialog/dialog.interfaces.d.ts +31 -0
  9. package/components/dialog/dialog.service.d.ts +7 -0
  10. package/components/dialog/dialog.tokens.d.ts +8 -0
  11. package/components/dialog/index.d.ts +6 -0
  12. package/components/index.d.ts +1 -15
  13. package/components/multi-select/native-multi-select/native-multi-select.d.ts +1 -1
  14. package/fesm2022/taiga-ui-legacy-classes.mjs +23 -24
  15. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
  16. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +6 -6
  17. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
  18. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +24 -26
  19. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -1
  20. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +130 -0
  21. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  22. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +25 -25
  23. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
  24. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +26 -26
  25. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
  26. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +12 -12
  27. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
  28. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +23 -23
  29. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +25 -25
  31. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +20 -21
  33. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +23 -23
  35. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-legacy-components-input.mjs +15 -16
  37. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +8 -8
  39. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +50 -50
  41. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +30 -30
  43. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +9 -9
  45. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-legacy-components-select.mjs +36 -37
  47. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-legacy-components-tag.mjs +14 -15
  49. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +24 -24
  51. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +8 -8
  53. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-legacy-components.mjs +1 -15
  55. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +3 -3
  57. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +35 -35
  59. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +4 -4
  61. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +7 -7
  63. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +9 -9
  65. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +3 -4
  67. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +3 -3
  69. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +3 -3
  71. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-legacy-tokens.mjs +1 -1
  73. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-legacy.mjs +0 -1
  76. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  77. package/index.d.ts +0 -1
  78. package/package.json +6 -164
  79. package/styles/mixins/textfield.less +3 -1
  80. package/utils/icons-path-factory.d.ts +1 -1
  81. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  82. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  83. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  84. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  85. package/components/color-selector/color-selector.component.d.ts +0 -47
  86. package/components/color-selector/color-selector.module.d.ts +0 -24
  87. package/components/color-selector/color-selector.options.d.ts +0 -25
  88. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  89. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  90. package/components/color-selector/index.d.ts +0 -16
  91. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  92. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  93. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  94. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  95. package/components/color-selector/palette/palette.component.d.ts +0 -10
  96. package/components/color-selector/palette/palette.module.d.ts +0 -13
  97. package/components/color-selector/services/picker.service.d.ts +0 -15
  98. package/components/input-color/index.d.ts +0 -2
  99. package/components/input-color/input-color.component.d.ts +0 -30
  100. package/components/input-color/input-color.module.d.ts +0 -17
  101. package/components/input-copy/index.d.ts +0 -4
  102. package/components/input-copy/input-copy.component.d.ts +0 -33
  103. package/components/input-copy/input-copy.directive.d.ts +0 -11
  104. package/components/input-copy/input-copy.module.d.ts +0 -18
  105. package/components/input-copy/input-copy.options.d.ts +0 -26
  106. package/components/input-date/index.d.ts +0 -3
  107. package/components/input-date/input-date.component.d.ts +0 -62
  108. package/components/input-date/input-date.directive.d.ts +0 -19
  109. package/components/input-date/input-date.module.d.ts +0 -24
  110. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  111. package/components/input-date-multi/index.d.ts +0 -2
  112. package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
  113. package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
  114. package/components/input-month/index.d.ts +0 -3
  115. package/components/input-month/input-month.component.d.ts +0 -44
  116. package/components/input-month/input-month.directive.d.ts +0 -19
  117. package/components/input-month/input-month.module.d.ts +0 -19
  118. package/components/input-password/index.d.ts +0 -4
  119. package/components/input-password/input-password.component.d.ts +0 -33
  120. package/components/input-password/input-password.directive.d.ts +0 -15
  121. package/components/input-password/input-password.module.d.ts +0 -19
  122. package/components/input-password/input-password.options.d.ts +0 -25
  123. package/components/input-phone/index.d.ts +0 -4
  124. package/components/input-phone/input-phone.component.d.ts +0 -49
  125. package/components/input-phone/input-phone.directive.d.ts +0 -13
  126. package/components/input-phone/input-phone.module.d.ts +0 -12
  127. package/components/input-phone/input-phone.options.d.ts +0 -13
  128. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  129. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  130. package/components/input-phone/utils/index.d.ts +0 -2
  131. package/components/input-phone-international/index.d.ts +0 -3
  132. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  133. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  134. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  135. package/components/input-time/index.d.ts +0 -4
  136. package/components/input-time/input-time.component.d.ts +0 -62
  137. package/components/input-time/input-time.directive.d.ts +0 -17
  138. package/components/input-time/input-time.module.d.ts +0 -23
  139. package/components/input-time/input-time.options.d.ts +0 -42
  140. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  141. package/components/input-year/index.d.ts +0 -3
  142. package/components/input-year/input-year.component.d.ts +0 -36
  143. package/components/input-year/input-year.directive.d.ts +0 -14
  144. package/components/input-year/input-year.module.d.ts +0 -18
  145. package/components/island/index.d.ts +0 -1
  146. package/components/island/island.directive.d.ts +0 -20
  147. package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
  148. package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
  149. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -10
  150. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
  151. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
  152. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
  153. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
  154. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
  155. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
  156. package/components/sheet/index.d.ts +0 -14
  157. package/components/sheet/sheet-options.d.ts +0 -27
  158. package/components/sheet/sheet-tokens.d.ts +0 -18
  159. package/components/sheet/sheet.d.ts +0 -21
  160. package/components/sheet/sheet.directive.d.ts +0 -17
  161. package/components/sheet/sheet.module.d.ts +0 -24
  162. package/components/sheet/sheet.service.d.ts +0 -17
  163. package/components/svg/content-processor.d.ts +0 -19
  164. package/components/svg/deprecated-icons.d.ts +0 -5
  165. package/components/svg/index.d.ts +0 -5
  166. package/components/svg/svg-options.d.ts +0 -50
  167. package/components/svg/svg.component.d.ts +0 -50
  168. package/components/svg/svg.service.d.ts +0 -21
  169. package/components/table-bar/index.d.ts +0 -4
  170. package/components/table-bar/table-bar.component.d.ts +0 -17
  171. package/components/table-bar/table-bar.directive.d.ts +0 -11
  172. package/components/table-bar/table-bar.options.d.ts +0 -31
  173. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  174. package/components/table-bar/table-bars.service.d.ts +0 -11
  175. package/esm2022/classes/abstract-native-select.mjs +0 -49
  176. package/esm2022/classes/abstract-textfield-host.mjs +0 -37
  177. package/esm2022/classes/control.mjs +0 -181
  178. package/esm2022/classes/controller.mjs +0 -18
  179. package/esm2022/classes/index.mjs +0 -10
  180. package/esm2022/classes/interactive.mjs +0 -82
  181. package/esm2022/classes/multiple-control.mjs +0 -21
  182. package/esm2022/classes/named-day.mjs +0 -14
  183. package/esm2022/classes/nullable-control.mjs +0 -18
  184. package/esm2022/classes/stringifiable-item.mjs +0 -14
  185. package/esm2022/classes/taiga-ui-legacy-classes.mjs +0 -5
  186. package/esm2022/components/arrow/arrow.component.mjs +0 -41
  187. package/esm2022/components/arrow/arrow.options.mjs +0 -20
  188. package/esm2022/components/arrow/arrow.providers.mjs +0 -23
  189. package/esm2022/components/arrow/index.mjs +0 -4
  190. package/esm2022/components/arrow/taiga-ui-legacy-components-arrow.mjs +0 -5
  191. package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +0 -59
  192. package/esm2022/components/color-selector/color-edit/color-edit.module.mjs +0 -56
  193. package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +0 -70
  194. package/esm2022/components/color-selector/color-picker/color-picker.module.mjs +0 -25
  195. package/esm2022/components/color-selector/color-selector.component.mjs +0 -191
  196. package/esm2022/components/color-selector/color-selector.module.mjs +0 -67
  197. package/esm2022/components/color-selector/color-selector.options.mjs +0 -78
  198. package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +0 -34
  199. package/esm2022/components/color-selector/flat-picker/flat-picker.module.mjs +0 -23
  200. package/esm2022/components/color-selector/index.mjs +0 -17
  201. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +0 -61
  202. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.module.mjs +0 -23
  203. package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +0 -31
  204. package/esm2022/components/color-selector/linear-picker/linear-picker.module.mjs +0 -23
  205. package/esm2022/components/color-selector/palette/palette.component.mjs +0 -23
  206. package/esm2022/components/color-selector/palette/palette.module.mjs +0 -25
  207. package/esm2022/components/color-selector/services/picker.service.mjs +0 -31
  208. package/esm2022/components/color-selector/taiga-ui-legacy-components-color-selector.mjs +0 -5
  209. package/esm2022/components/combo-box/combo-box-strict.directive.mjs +0 -34
  210. package/esm2022/components/combo-box/combo-box.component.mjs +0 -183
  211. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -28
  212. package/esm2022/components/combo-box/combo-box.module.mjs +0 -71
  213. package/esm2022/components/combo-box/index.mjs +0 -5
  214. package/esm2022/components/combo-box/taiga-ui-legacy-components-combo-box.mjs +0 -5
  215. package/esm2022/components/index.mjs +0 -34
  216. package/esm2022/components/input/index.mjs +0 -4
  217. package/esm2022/components/input/input.component.mjs +0 -97
  218. package/esm2022/components/input/input.directive.mjs +0 -25
  219. package/esm2022/components/input/input.module.mjs +0 -42
  220. package/esm2022/components/input/taiga-ui-legacy-components-input.mjs +0 -5
  221. package/esm2022/components/input-color/index.mjs +0 -3
  222. package/esm2022/components/input-color/input-color.component.mjs +0 -85
  223. package/esm2022/components/input-color/input-color.module.mjs +0 -43
  224. package/esm2022/components/input-color/taiga-ui-legacy-components-input-color.mjs +0 -5
  225. package/esm2022/components/input-copy/index.mjs +0 -5
  226. package/esm2022/components/input-copy/input-copy.component.mjs +0 -105
  227. package/esm2022/components/input-copy/input-copy.directive.mjs +0 -24
  228. package/esm2022/components/input-copy/input-copy.module.mjs +0 -55
  229. package/esm2022/components/input-copy/input-copy.options.mjs +0 -24
  230. package/esm2022/components/input-copy/taiga-ui-legacy-components-input-copy.mjs +0 -5
  231. package/esm2022/components/input-date/index.mjs +0 -4
  232. package/esm2022/components/input-date/input-date.component.mjs +0 -220
  233. package/esm2022/components/input-date/input-date.directive.mjs +0 -40
  234. package/esm2022/components/input-date/input-date.module.mjs +0 -75
  235. package/esm2022/components/input-date/native-date/native-date.component.mjs +0 -53
  236. package/esm2022/components/input-date/taiga-ui-legacy-components-input-date.mjs +0 -5
  237. package/esm2022/components/input-date-multi/index.mjs +0 -3
  238. package/esm2022/components/input-date-multi/input-date-multi.component.mjs +0 -207
  239. package/esm2022/components/input-date-multi/input-date-multi.module.mjs +0 -67
  240. package/esm2022/components/input-date-multi/taiga-ui-legacy-components-input-date-multi.mjs +0 -5
  241. package/esm2022/components/input-date-range/index.mjs +0 -4
  242. package/esm2022/components/input-date-range/input-date-range.component.mjs +0 -256
  243. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -36
  244. package/esm2022/components/input-date-range/input-date-range.module.mjs +0 -71
  245. package/esm2022/components/input-date-range/taiga-ui-legacy-components-input-date-range.mjs +0 -5
  246. package/esm2022/components/input-date-time/index.mjs +0 -4
  247. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -315
  248. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -37
  249. package/esm2022/components/input-date-time/input-date-time.module.mjs +0 -78
  250. package/esm2022/components/input-date-time/native-date-time/native-date-time.directive.mjs +0 -49
  251. package/esm2022/components/input-date-time/taiga-ui-legacy-components-input-date-time.mjs +0 -5
  252. package/esm2022/components/input-month/index.mjs +0 -4
  253. package/esm2022/components/input-month/input-month.component.mjs +0 -135
  254. package/esm2022/components/input-month/input-month.directive.mjs +0 -46
  255. package/esm2022/components/input-month/input-month.module.mjs +0 -57
  256. package/esm2022/components/input-month/taiga-ui-legacy-components-input-month.mjs +0 -5
  257. package/esm2022/components/input-month-range/index.mjs +0 -4
  258. package/esm2022/components/input-month-range/input-month-range.component.mjs +0 -123
  259. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -52
  260. package/esm2022/components/input-month-range/input-month-range.module.mjs +0 -53
  261. package/esm2022/components/input-month-range/taiga-ui-legacy-components-input-month-range.mjs +0 -5
  262. package/esm2022/components/input-number/index.mjs +0 -5
  263. package/esm2022/components/input-number/input-number.component.mjs +0 -284
  264. package/esm2022/components/input-number/input-number.directive.mjs +0 -38
  265. package/esm2022/components/input-number/input-number.module.mjs +0 -48
  266. package/esm2022/components/input-number/input-number.options.mjs +0 -30
  267. package/esm2022/components/input-number/taiga-ui-legacy-components-input-number.mjs +0 -5
  268. package/esm2022/components/input-password/index.mjs +0 -5
  269. package/esm2022/components/input-password/input-password.component.mjs +0 -80
  270. package/esm2022/components/input-password/input-password.directive.mjs +0 -34
  271. package/esm2022/components/input-password/input-password.module.mjs +0 -59
  272. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  273. package/esm2022/components/input-password/taiga-ui-legacy-components-input-password.mjs +0 -5
  274. package/esm2022/components/input-phone/index.mjs +0 -5
  275. package/esm2022/components/input-phone/input-phone.component.mjs +0 -216
  276. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -34
  277. package/esm2022/components/input-phone/input-phone.module.mjs +0 -44
  278. package/esm2022/components/input-phone/input-phone.options.mjs +0 -18
  279. package/esm2022/components/input-phone/taiga-ui-legacy-components-input-phone.mjs +0 -5
  280. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  281. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  282. package/esm2022/components/input-phone/utils/index.mjs +0 -3
  283. package/esm2022/components/input-phone-international/index.mjs +0 -4
  284. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -178
  285. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -25
  286. package/esm2022/components/input-phone-international/taiga-ui-legacy-components-input-phone-international.mjs +0 -5
  287. package/esm2022/components/input-phone-international/utils/extract-value-from-event.mjs +0 -10
  288. package/esm2022/components/input-range/index.mjs +0 -3
  289. package/esm2022/components/input-range/input-range.component.mjs +0 -207
  290. package/esm2022/components/input-range/input-range.module.mjs +0 -55
  291. package/esm2022/components/input-range/taiga-ui-legacy-components-input-range.mjs +0 -5
  292. package/esm2022/components/input-slider/index.mjs +0 -3
  293. package/esm2022/components/input-slider/input-slider.component.mjs +0 -154
  294. package/esm2022/components/input-slider/input-slider.module.mjs +0 -48
  295. package/esm2022/components/input-slider/taiga-ui-legacy-components-input-slider.mjs +0 -5
  296. package/esm2022/components/input-tag/index.mjs +0 -4
  297. package/esm2022/components/input-tag/input-tag.component.mjs +0 -436
  298. package/esm2022/components/input-tag/input-tag.module.mjs +0 -67
  299. package/esm2022/components/input-tag/input-tag.options.mjs +0 -27
  300. package/esm2022/components/input-tag/taiga-ui-legacy-components-input-tag.mjs +0 -5
  301. package/esm2022/components/input-time/index.mjs +0 -5
  302. package/esm2022/components/input-time/input-time.component.mjs +0 -238
  303. package/esm2022/components/input-time/input-time.directive.mjs +0 -40
  304. package/esm2022/components/input-time/input-time.module.mjs +0 -71
  305. package/esm2022/components/input-time/input-time.options.mjs +0 -39
  306. package/esm2022/components/input-time/native-time/native-time.component.mjs +0 -67
  307. package/esm2022/components/input-time/taiga-ui-legacy-components-input-time.mjs +0 -5
  308. package/esm2022/components/input-year/index.mjs +0 -4
  309. package/esm2022/components/input-year/input-year.component.mjs +0 -110
  310. package/esm2022/components/input-year/input-year.directive.mjs +0 -32
  311. package/esm2022/components/input-year/input-year.module.mjs +0 -53
  312. package/esm2022/components/input-year/taiga-ui-legacy-components-input-year.mjs +0 -5
  313. package/esm2022/components/island/index.mjs +0 -2
  314. package/esm2022/components/island/island.directive.mjs +0 -62
  315. package/esm2022/components/island/taiga-ui-legacy-components-island.mjs +0 -5
  316. package/esm2022/components/multi-select/hide-selected.pipe.mjs +0 -44
  317. package/esm2022/components/multi-select/index.mjs +0 -11
  318. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -98
  319. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -94
  320. package/esm2022/components/multi-select/multi-select.component.mjs +0 -233
  321. package/esm2022/components/multi-select/multi-select.directive.mjs +0 -32
  322. package/esm2022/components/multi-select/multi-select.module.mjs +0 -113
  323. package/esm2022/components/multi-select/multi-select.options.mjs +0 -17
  324. package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +0 -60
  325. package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +0 -56
  326. package/esm2022/components/multi-select/native-multi-select/native-multi-select.mjs +0 -19
  327. package/esm2022/components/multi-select/taiga-ui-legacy-components-multi-select.mjs +0 -5
  328. package/esm2022/components/multi-select-option/index.mjs +0 -3
  329. package/esm2022/components/multi-select-option/multi-select-option.component.mjs +0 -25
  330. package/esm2022/components/multi-select-option/multi-select-option.module.mjs +0 -20
  331. package/esm2022/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.mjs +0 -5
  332. package/esm2022/components/primitive-textfield/index.mjs +0 -7
  333. package/esm2022/components/primitive-textfield/primitive-textfield-options.mjs +0 -17
  334. package/esm2022/components/primitive-textfield/primitive-textfield-types.mjs +0 -2
  335. package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +0 -254
  336. package/esm2022/components/primitive-textfield/primitive-textfield.directive.mjs +0 -33
  337. package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +0 -66
  338. package/esm2022/components/primitive-textfield/taiga-ui-legacy-components-primitive-textfield.mjs +0 -5
  339. package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +0 -39
  340. package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +0 -66
  341. package/esm2022/components/select/index.mjs +0 -7
  342. package/esm2022/components/select/native-select/native-select-group.component.mjs +0 -64
  343. package/esm2022/components/select/native-select/native-select.component.mjs +0 -60
  344. package/esm2022/components/select/select.component.mjs +0 -119
  345. package/esm2022/components/select/select.directive.mjs +0 -34
  346. package/esm2022/components/select/select.module.mjs +0 -87
  347. package/esm2022/components/select/select.options.mjs +0 -24
  348. package/esm2022/components/select/taiga-ui-legacy-components-select.mjs +0 -5
  349. package/esm2022/components/select-option/index.mjs +0 -3
  350. package/esm2022/components/select-option/select-option.component.mjs +0 -65
  351. package/esm2022/components/select-option/select-option.module.mjs +0 -21
  352. package/esm2022/components/select-option/taiga-ui-legacy-components-select-option.mjs +0 -5
  353. package/esm2022/components/sheet/components/sheet/sheet.component.mjs +0 -117
  354. package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +0 -42
  355. package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +0 -27
  356. package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +0 -31
  357. package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +0 -46
  358. package/esm2022/components/sheet/directives/sheet-close/sheet-close.directive.mjs +0 -39
  359. package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +0 -38
  360. package/esm2022/components/sheet/directives/sheet-top/sheet-top.directive.mjs +0 -52
  361. package/esm2022/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +0 -77
  362. package/esm2022/components/sheet/index.mjs +0 -14
  363. package/esm2022/components/sheet/sheet-options.mjs +0 -24
  364. package/esm2022/components/sheet/sheet-tokens.mjs +0 -17
  365. package/esm2022/components/sheet/sheet.directive.mjs +0 -40
  366. package/esm2022/components/sheet/sheet.mjs +0 -2
  367. package/esm2022/components/sheet/sheet.module.mjs +0 -75
  368. package/esm2022/components/sheet/sheet.service.mjs +0 -52
  369. package/esm2022/components/sheet/taiga-ui-legacy-components-sheet.mjs +0 -5
  370. package/esm2022/components/svg/content-processor.mjs +0 -41
  371. package/esm2022/components/svg/deprecated-icons.mjs +0 -63
  372. package/esm2022/components/svg/index.mjs +0 -6
  373. package/esm2022/components/svg/svg-options.mjs +0 -83
  374. package/esm2022/components/svg/svg.component.mjs +0 -150
  375. package/esm2022/components/svg/svg.service.mjs +0 -64
  376. package/esm2022/components/svg/taiga-ui-legacy-components-svg.mjs +0 -5
  377. package/esm2022/components/table-bar/index.mjs +0 -5
  378. package/esm2022/components/table-bar/table-bar.component.mjs +0 -37
  379. package/esm2022/components/table-bar/table-bar.directive.mjs +0 -25
  380. package/esm2022/components/table-bar/table-bar.options.mjs +0 -34
  381. package/esm2022/components/table-bar/table-bars-host.component.mjs +0 -39
  382. package/esm2022/components/table-bar/table-bars.service.mjs +0 -22
  383. package/esm2022/components/table-bar/taiga-ui-legacy-components-table-bar.mjs +0 -5
  384. package/esm2022/components/tag/index.mjs +0 -4
  385. package/esm2022/components/tag/tag.component.mjs +0 -158
  386. package/esm2022/components/tag/tag.module.mjs +0 -42
  387. package/esm2022/components/tag/tag.options.mjs +0 -26
  388. package/esm2022/components/tag/taiga-ui-legacy-components-tag.mjs +0 -5
  389. package/esm2022/components/taiga-ui-legacy-components.mjs +0 -5
  390. package/esm2022/components/textarea/index.mjs +0 -4
  391. package/esm2022/components/textarea/taiga-ui-legacy-components-textarea.mjs +0 -5
  392. package/esm2022/components/textarea/textarea.component.mjs +0 -175
  393. package/esm2022/components/textarea/textarea.directive.mjs +0 -25
  394. package/esm2022/components/textarea/textarea.module.mjs +0 -68
  395. package/esm2022/components/tooltip/index.mjs +0 -3
  396. package/esm2022/components/tooltip/taiga-ui-legacy-components-tooltip.mjs +0 -5
  397. package/esm2022/components/tooltip/tooltip.component.mjs +0 -27
  398. package/esm2022/components/tooltip/tooltip.module.mjs +0 -24
  399. package/esm2022/directives/index.mjs +0 -6
  400. package/esm2022/directives/legacy-dropdown-open-monitor/index.mjs +0 -2
  401. package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +0 -44
  402. package/esm2022/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -5
  403. package/esm2022/directives/taiga-ui-legacy-directives.mjs +0 -5
  404. package/esm2022/directives/textfield-controller/index.mjs +0 -15
  405. package/esm2022/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.mjs +0 -5
  406. package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +0 -34
  407. package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +0 -28
  408. package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +0 -72
  409. package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +0 -44
  410. package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +0 -28
  411. package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +0 -28
  412. package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +0 -24
  413. package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +0 -24
  414. package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +0 -32
  415. package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +0 -28
  416. package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +0 -28
  417. package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +0 -28
  418. package/esm2022/directives/textfield-controller/textfield.controller.mjs +0 -49
  419. package/esm2022/directives/textfield-controller/textfield.options.mjs +0 -21
  420. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  421. package/esm2022/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -5
  422. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -30
  423. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -15
  424. package/esm2022/directives/value-accessor/index.mjs +0 -4
  425. package/esm2022/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.mjs +0 -5
  426. package/esm2022/directives/value-accessor/value-accessor.directive.mjs +0 -17
  427. package/esm2022/directives/value-accessor/value-accessor.module.mjs +0 -17
  428. package/esm2022/directives/value-accessor/value-accessor.provider.mjs +0 -10
  429. package/esm2022/directives/wrapper/index.mjs +0 -3
  430. package/esm2022/directives/wrapper/taiga-ui-legacy-directives-wrapper.mjs +0 -5
  431. package/esm2022/directives/wrapper/wrapper.directive.mjs +0 -77
  432. package/esm2022/directives/wrapper/wrapper.module.mjs +0 -20
  433. package/esm2022/index.mjs +0 -8
  434. package/esm2022/pipes/format-phone/format-phone.pipe.mjs +0 -54
  435. package/esm2022/pipes/format-phone/index.mjs +0 -2
  436. package/esm2022/pipes/format-phone/taiga-ui-legacy-pipes-format-phone.mjs +0 -5
  437. package/esm2022/pipes/index.mjs +0 -4
  438. package/esm2022/pipes/iso-to-country-code/index.mjs +0 -2
  439. package/esm2022/pipes/iso-to-country-code/iso-to-country-code.pipe.mjs +0 -44
  440. package/esm2022/pipes/iso-to-country-code/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -5
  441. package/esm2022/pipes/taiga-ui-legacy-pipes.mjs +0 -5
  442. package/esm2022/pipes/to-country-code/index.mjs +0 -2
  443. package/esm2022/pipes/to-country-code/taiga-ui-legacy-pipes-to-country-code.mjs +0 -5
  444. package/esm2022/pipes/to-country-code/to-country-code.pipe.mjs +0 -74
  445. package/esm2022/services/index.mjs +0 -2
  446. package/esm2022/services/static-request.service.mjs +0 -36
  447. package/esm2022/services/taiga-ui-legacy-services.mjs +0 -5
  448. package/esm2022/taiga-ui-legacy.mjs +0 -5
  449. package/esm2022/tokens/countries-masks.mjs +0 -257
  450. package/esm2022/tokens/focusable-item-accessor.mjs +0 -14
  451. package/esm2022/tokens/fonts-ready.mjs +0 -10
  452. package/esm2022/tokens/icons.mjs +0 -9
  453. package/esm2022/tokens/index.mjs +0 -15
  454. package/esm2022/tokens/is-apple.mjs +0 -11
  455. package/esm2022/tokens/is-chromium.mjs +0 -10
  456. package/esm2022/tokens/is-firefox.mjs +0 -11
  457. package/esm2022/tokens/is-stackblitz.mjs +0 -9
  458. package/esm2022/tokens/month-formatter.mjs +0 -18
  459. package/esm2022/tokens/sanitizer.mjs +0 -7
  460. package/esm2022/tokens/taiga-ui-legacy-tokens.mjs +0 -5
  461. package/esm2022/tokens/textfield-appearance.mjs +0 -10
  462. package/esm2022/tokens/textfield-host.mjs +0 -14
  463. package/esm2022/tokens/touch-supported.mjs +0 -9
  464. package/esm2022/tokens/value-accessor.mjs +0 -7
  465. package/esm2022/utils/capitalize-first-letter.mjs +0 -7
  466. package/esm2022/utils/date-mode-maskito-adapter.mjs +0 -9
  467. package/esm2022/utils/format-phone.mjs +0 -60
  468. package/esm2022/utils/get-border.mjs +0 -23
  469. package/esm2022/utils/get-max-allowed-phone-length.mjs +0 -26
  470. package/esm2022/utils/get-safe-area-size.mjs +0 -18
  471. package/esm2022/utils/icons-path-factory.mjs +0 -22
  472. package/esm2022/utils/index.mjs +0 -14
  473. package/esm2022/utils/is-apple.mjs +0 -6
  474. package/esm2022/utils/is-presumed-html-string.mjs +0 -8
  475. package/esm2022/utils/iso-to-country-code.mjs +0 -16
  476. package/esm2022/utils/not-kz-region.mjs +0 -24
  477. package/esm2022/utils/process-icon.mjs +0 -34
  478. package/esm2022/utils/specific-dropdown-controllers.mjs +0 -9
  479. package/esm2022/utils/status.mjs +0 -2
  480. package/esm2022/utils/taiga-ui-legacy-utils.mjs +0 -5
  481. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
  482. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  483. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  484. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  485. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
  486. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
  487. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
  488. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
  489. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  490. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  491. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
  492. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
  493. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  494. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  495. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  496. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  497. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
  498. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  499. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -434
  500. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  501. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  502. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  503. package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
  504. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
  505. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -574
  506. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
  507. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -389
  508. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  509. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -145
  510. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
  511. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  512. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  513. package/services/index.d.ts +0 -1
  514. package/services/static-request.service.d.ts +0 -11
@@ -1,145 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Component, ChangeDetectionStrategy, InjectionToken, Injectable, Directive } from '@angular/core';
3
- import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
4
- import { TuiPopoverService, tuiAsPopover } from '@taiga-ui/cdk/services';
5
- import { AsyncPipe, NgIf, NgForOf } from '@angular/common';
6
- import { tuiSlideInTop, tuiParentAnimation } from '@taiga-ui/core/animations';
7
- import { TuiButton } from '@taiga-ui/core/components/button';
8
- import { TUI_COMMON_ICONS, TUI_CLOSE_WORD, TUI_ANIMATIONS_SPEED } from '@taiga-ui/core/tokens';
9
- import { tuiToAnimationOptions } from '@taiga-ui/core/utils/miscellaneous';
10
- import { injectContext, PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
11
- import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
12
- import { BehaviorSubject } from 'rxjs';
13
-
14
- /**
15
- * @deprecated drop in v5.0 use {@link TuiActionBar}
16
- * https://taiga-ui.dev/components/actions-bar
17
- */
18
- class TuiTableBarComponent {
19
- constructor() {
20
- this.icons = inject(TUI_COMMON_ICONS);
21
- this.closeWord$ = inject(TUI_CLOSE_WORD);
22
- this.context = injectContext();
23
- this.animation = tuiToAnimationOptions(inject(TUI_ANIMATIONS_SPEED));
24
- }
25
- getTheme(appearance) {
26
- return appearance === 'onDark' ? 'dark' : null;
27
- }
28
- close() {
29
- this.context.$implicit.complete();
30
- }
31
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
32
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiTableBarComponent, isStandalone: true, selector: "tui-table-bar", host: { properties: { "@tuiSlideInTop": "animation", "attr.data-appearance": "context.mode" } }, ngImport: i0, template: "<div\n automation-id=\"tui-table-bar__bar\"\n class=\"t-container\"\n [attr.tuiTheme]=\"getTheme(context.mode || 'onDark')\"\n [class.t-container_adaptive]=\"context.adaptive\"\n>\n <div class=\"t-inner\">\n <div class=\"t-content\">\n <ng-container *polymorpheusOutlet=\"context.content as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n\n <button\n *ngIf=\"context.hasCloseButton\"\n appearance=\"icon\"\n automation-id=\"tui-table-bar__close-button\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close-button\"\n [iconStart]=\"icons.close\"\n (click)=\"close()\"\n >\n {{ closeWord$ | async }}\n </button>\n </div>\n</div>\n", styles: [":host{display:block;inline-size:100%;box-shadow:var(--tui-shadow-small);flex:0 0 100%}:host[data-appearance=onLight]{background:var(--tui-background-base);color:var(--tui-text-primary)}:host[data-appearance=onDark]{background:var(--tui-background-accent-opposite-pressed);color:var(--tui-background-base)}.t-wrapper{display:flex;inline-size:100%}.t-container{position:relative;margin:0 auto}@media screen and (min-width: 80em){.t-container.t-container_adaptive{inline-size:69rem}}@media screen and (max-width: 79.9625em){.t-container.t-container_adaptive{inline-size:51.5rem}}@media screen and (max-width: 47.9625em){.t-container.t-container_adaptive{inline-size:100%;padding:0 1rem;box-sizing:border-box}}@media screen and (min-width: 80em){.t-container{inline-size:69rem}}@media screen and (max-width: 79.9625em){.t-container{inline-size:51.5rem;padding:0 3rem}}.t-inner{display:flex;align-items:center;block-size:4.5rem;inline-size:100%;overflow:hidden}:host-context(tui-root._mobile) .t-inner{block-size:5.75rem}.t-close-button{margin-inline-start:1.5rem}.t-content{inline-size:100%;flex:1 1 0}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }], animations: [tuiSlideInTop, tuiParentAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
33
- }
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarComponent, decorators: [{
35
- type: Component,
36
- args: [{ standalone: true, selector: 'tui-table-bar', imports: [AsyncPipe, NgIf, PolymorpheusOutlet, TuiButton], changeDetection: ChangeDetectionStrategy.OnPush, animations: [tuiSlideInTop, tuiParentAnimation], host: {
37
- '[@tuiSlideInTop]': 'animation',
38
- '[attr.data-appearance]': 'context.mode',
39
- }, template: "<div\n automation-id=\"tui-table-bar__bar\"\n class=\"t-container\"\n [attr.tuiTheme]=\"getTheme(context.mode || 'onDark')\"\n [class.t-container_adaptive]=\"context.adaptive\"\n>\n <div class=\"t-inner\">\n <div class=\"t-content\">\n <ng-container *polymorpheusOutlet=\"context.content as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n\n <button\n *ngIf=\"context.hasCloseButton\"\n appearance=\"icon\"\n automation-id=\"tui-table-bar__close-button\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close-button\"\n [iconStart]=\"icons.close\"\n (click)=\"close()\"\n >\n {{ closeWord$ | async }}\n </button>\n </div>\n</div>\n", styles: [":host{display:block;inline-size:100%;box-shadow:var(--tui-shadow-small);flex:0 0 100%}:host[data-appearance=onLight]{background:var(--tui-background-base);color:var(--tui-text-primary)}:host[data-appearance=onDark]{background:var(--tui-background-accent-opposite-pressed);color:var(--tui-background-base)}.t-wrapper{display:flex;inline-size:100%}.t-container{position:relative;margin:0 auto}@media screen and (min-width: 80em){.t-container.t-container_adaptive{inline-size:69rem}}@media screen and (max-width: 79.9625em){.t-container.t-container_adaptive{inline-size:51.5rem}}@media screen and (max-width: 47.9625em){.t-container.t-container_adaptive{inline-size:100%;padding:0 1rem;box-sizing:border-box}}@media screen and (min-width: 80em){.t-container{inline-size:69rem}}@media screen and (max-width: 79.9625em){.t-container{inline-size:51.5rem;padding:0 3rem}}.t-inner{display:flex;align-items:center;block-size:4.5rem;inline-size:100%;overflow:hidden}:host-context(tui-root._mobile) .t-inner{block-size:5.75rem}.t-close-button{margin-inline-start:1.5rem}.t-content{inline-size:100%;flex:1 1 0}\n"] }]
40
- }] });
41
-
42
- /**
43
- * @deprecated drop in v5.0 use {@link TuiActionBar}
44
- * https://taiga-ui.dev/components/actions-bar
45
- */
46
- const TUI_TABLE_BARS = new InjectionToken(ngDevMode ? 'TUI_TABLE_BARS' : '', {
47
- factory: () => new BehaviorSubject([]),
48
- });
49
- /**
50
- * @deprecated drop in v5.0 use {@link TuiActionBar}
51
- * https://taiga-ui.dev/components/actions-bar
52
- */
53
- const TUI_TABLE_BAR_DEFAULT_OPTIONS = {
54
- adaptive: true,
55
- hasCloseButton: true,
56
- mode: 'onDark',
57
- };
58
- /**
59
- * @deprecated drop in v5.0 use {@link TuiActionBar}
60
- * https://taiga-ui.dev/components/actions-bar
61
- */
62
- const TUI_TABLE_BAR_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_TABLE_BAR_OPTIONS' : '', {
63
- factory: () => TUI_TABLE_BAR_DEFAULT_OPTIONS,
64
- });
65
- /**
66
- * @deprecated drop in v5.0 use {@link TuiActionBar}
67
- * https://taiga-ui.dev/components/actions-bar
68
- */
69
- function tuiTableBarOptionsProvider(options) {
70
- return tuiProvideOptions(TUI_TABLE_BAR_OPTIONS, options, TUI_TABLE_BAR_DEFAULT_OPTIONS);
71
- }
72
-
73
- /**
74
- * @deprecated drop in v5.0 use {@link TuiActionBar}
75
- * https://taiga-ui.dev/components/actions-bar
76
- */
77
- class TuiTableBarsService extends TuiPopoverService {
78
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
79
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarsService, providedIn: 'root', useFactory: () => new TuiTableBarsService(TUI_TABLE_BARS, TuiTableBarComponent, inject(TUI_TABLE_BAR_OPTIONS)) }); }
80
- }
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarsService, decorators: [{
82
- type: Injectable,
83
- args: [{
84
- providedIn: 'root',
85
- useFactory: () => new TuiTableBarsService(TUI_TABLE_BARS, TuiTableBarComponent, inject(TUI_TABLE_BAR_OPTIONS)),
86
- }]
87
- }] });
88
-
89
- /**
90
- * @deprecated drop in v5.0 use {@link TuiActionBar}
91
- * https://taiga-ui.dev/components/actions-bar
92
- */
93
- class TuiTableBarDirective extends TuiPopoverDirective {
94
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
95
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTableBarDirective, isStandalone: true, selector: "ng-template[tuiTableBar]", inputs: { open: ["tuiTableBar", "open"], options: ["tuiTableBarOptions", "options"] }, outputs: { openChange: "tuiTableBarChange" }, providers: [tuiAsPopover(TuiTableBarsService)], usesInheritance: true, ngImport: i0 }); }
96
- }
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarDirective, decorators: [{
98
- type: Directive,
99
- args: [{
100
- standalone: true,
101
- selector: 'ng-template[tuiTableBar]',
102
- inputs: ['open: tuiTableBar', 'options: tuiTableBarOptions'],
103
- outputs: ['openChange: tuiTableBarChange'],
104
- providers: [tuiAsPopover(TuiTableBarsService)],
105
- }]
106
- }] });
107
-
108
- /**
109
- * @deprecated drop in v5.0 use {@link TuiActionBar}
110
- * https://taiga-ui.dev/components/actions-bar
111
- */
112
- class TuiTableBarsHostComponent {
113
- constructor() {
114
- this.bars$ = inject(TUI_TABLE_BARS);
115
- }
116
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarsHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
117
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiTableBarsHostComponent, isStandalone: true, selector: "tui-table-bars-host", ngImport: i0, template: `
118
- <div
119
- *ngFor="let item of bars$ | async"
120
- class="t-wrapper"
121
- @tuiParentAnimation
122
- >
123
- <ng-container *polymorpheusOutlet="item.component; context: item" />
124
- </div>
125
- `, isInline: true, styles: [".t-wrapper{position:fixed;top:0;left:0;bottom:0;right:0;top:unset}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [tuiParentAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
126
- }
127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarsHostComponent, decorators: [{
128
- type: Component,
129
- args: [{ standalone: true, selector: 'tui-table-bars-host', imports: [AsyncPipe, NgForOf, PolymorpheusOutlet], template: `
130
- <div
131
- *ngFor="let item of bars$ | async"
132
- class="t-wrapper"
133
- @tuiParentAnimation
134
- >
135
- <ng-container *polymorpheusOutlet="item.component; context: item" />
136
- </div>
137
- `, changeDetection: ChangeDetectionStrategy.OnPush, animations: [tuiParentAnimation], styles: [".t-wrapper{position:fixed;top:0;left:0;bottom:0;right:0;top:unset}\n"] }]
138
- }] });
139
-
140
- /**
141
- * Generated bundle index. Do not edit.
142
- */
143
-
144
- export { TUI_TABLE_BARS, TUI_TABLE_BAR_DEFAULT_OPTIONS, TUI_TABLE_BAR_OPTIONS, TuiTableBarDirective, TuiTableBarsHostComponent, TuiTableBarsService, tuiTableBarOptionsProvider };
145
- //# sourceMappingURL=taiga-ui-legacy-components-table-bar.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-table-bar.mjs","sources":["../../../projects/legacy/components/table-bar/table-bar.component.ts","../../../projects/legacy/components/table-bar/table-bar.template.html","../../../projects/legacy/components/table-bar/table-bar.options.ts","../../../projects/legacy/components/table-bar/table-bars.service.ts","../../../projects/legacy/components/table-bar/table-bar.directive.ts","../../../projects/legacy/components/table-bar/table-bars-host.component.ts","../../../projects/legacy/components/table-bar/taiga-ui-legacy-components-table-bar.ts"],"sourcesContent":["import {AsyncPipe, NgIf} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, inject} from '@angular/core';\nimport {type TuiPopover} from '@taiga-ui/cdk/services';\nimport {tuiParentAnimation, tuiSlideInTop} from '@taiga-ui/core/animations';\nimport {TuiButton} from '@taiga-ui/core/components/button';\nimport {\n TUI_ANIMATIONS_SPEED,\n TUI_CLOSE_WORD,\n TUI_COMMON_ICONS,\n} from '@taiga-ui/core/tokens';\nimport {tuiToAnimationOptions} from '@taiga-ui/core/utils/miscellaneous';\nimport {injectContext, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {type TuiTableBarOptions} from './table-bar.options';\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\n@Component({\n standalone: true,\n selector: 'tui-table-bar',\n imports: [AsyncPipe, NgIf, PolymorpheusOutlet, TuiButton],\n templateUrl: './table-bar.template.html',\n styleUrls: ['./table-bar.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tuiSlideInTop, tuiParentAnimation],\n host: {\n '[@tuiSlideInTop]': 'animation',\n '[attr.data-appearance]': 'context.mode',\n },\n})\nexport class TuiTableBarComponent {\n protected readonly icons = inject(TUI_COMMON_ICONS);\n protected readonly closeWord$ = inject(TUI_CLOSE_WORD);\n protected readonly context = injectContext<TuiPopover<TuiTableBarOptions, void>>();\n\n protected readonly animation = tuiToAnimationOptions(inject(TUI_ANIMATIONS_SPEED));\n\n protected getTheme(appearance: string): string | null {\n return appearance === 'onDark' ? 'dark' : null;\n }\n\n protected close(): void {\n this.context.$implicit.complete();\n }\n}\n","<div\n automation-id=\"tui-table-bar__bar\"\n class=\"t-container\"\n [attr.tuiTheme]=\"getTheme(context.mode || 'onDark')\"\n [class.t-container_adaptive]=\"context.adaptive\"\n>\n <div class=\"t-inner\">\n <div class=\"t-content\">\n <ng-container *polymorpheusOutlet=\"context.content as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n\n <button\n *ngIf=\"context.hasCloseButton\"\n appearance=\"icon\"\n automation-id=\"tui-table-bar__close-button\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close-button\"\n [iconStart]=\"icons.close\"\n (click)=\"close()\"\n >\n {{ closeWord$ | async }}\n </button>\n </div>\n</div>\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {type TuiPopover} from '@taiga-ui/cdk/services';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {BehaviorSubject} from 'rxjs';\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\nexport interface TuiTableBarOptions {\n readonly adaptive?: boolean;\n readonly hasCloseButton?: boolean;\n readonly mode?: 'onDark' | 'onLight';\n}\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\nexport const TUI_TABLE_BARS = new InjectionToken(ngDevMode ? 'TUI_TABLE_BARS' : '', {\n factory: () => new BehaviorSubject<ReadonlyArray<TuiPopover<any, any>>>([]),\n});\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\nexport const TUI_TABLE_BAR_DEFAULT_OPTIONS: TuiTableBarOptions = {\n adaptive: true,\n hasCloseButton: true,\n mode: 'onDark',\n};\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\nexport const TUI_TABLE_BAR_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_TABLE_BAR_OPTIONS' : '',\n {\n factory: () => TUI_TABLE_BAR_DEFAULT_OPTIONS,\n },\n);\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\nexport function tuiTableBarOptionsProvider(\n options: Partial<TuiTableBarOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_TABLE_BAR_OPTIONS,\n options,\n TUI_TABLE_BAR_DEFAULT_OPTIONS,\n );\n}\n","import {inject, Injectable} from '@angular/core';\nimport {TuiPopoverService} from '@taiga-ui/cdk/services';\n\nimport {TuiTableBarComponent} from './table-bar.component';\nimport {\n TUI_TABLE_BAR_OPTIONS,\n TUI_TABLE_BARS,\n type TuiTableBarOptions,\n} from './table-bar.options';\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\n@Injectable({\n providedIn: 'root',\n useFactory: () =>\n new TuiTableBarsService(\n TUI_TABLE_BARS,\n TuiTableBarComponent,\n inject(TUI_TABLE_BAR_OPTIONS),\n ),\n})\nexport class TuiTableBarsService extends TuiPopoverService<TuiTableBarOptions> {}\n","import {Directive} from '@angular/core';\nimport {TuiPopoverDirective} from '@taiga-ui/cdk/directives/popover';\nimport {tuiAsPopover} from '@taiga-ui/cdk/services';\n\nimport {type TuiTableBarOptions} from './table-bar.options';\nimport {TuiTableBarsService} from './table-bars.service';\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\n@Directive({\n standalone: true,\n selector: 'ng-template[tuiTableBar]',\n inputs: ['open: tuiTableBar', 'options: tuiTableBarOptions'],\n outputs: ['openChange: tuiTableBarChange'],\n providers: [tuiAsPopover(TuiTableBarsService)],\n})\nexport class TuiTableBarDirective extends TuiPopoverDirective<TuiTableBarOptions> {}\n","import {AsyncPipe, NgForOf} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, inject} from '@angular/core';\nimport {tuiParentAnimation} from '@taiga-ui/core/animations';\nimport {PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {TUI_TABLE_BARS} from './table-bar.options';\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\n@Component({\n standalone: true,\n selector: 'tui-table-bars-host',\n imports: [AsyncPipe, NgForOf, PolymorpheusOutlet],\n template: `\n <div\n *ngFor=\"let item of bars$ | async\"\n class=\"t-wrapper\"\n @tuiParentAnimation\n >\n <ng-container *polymorpheusOutlet=\"item.component; context: item\" />\n </div>\n `,\n styleUrls: ['./table-bars-host.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tuiParentAnimation],\n})\nexport class TuiTableBarsHostComponent {\n protected bars$ = inject(TUI_TABLE_BARS);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAeA;;;AAGG;AACH,MAaa,oBAAoB,CAAA;AAbjC,IAAA,WAAA,GAAA;AAcuB,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AACjC,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,cAAc,C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;;4FAEvB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAjBrC,SAAS;iCACM,IAAI,EAAA,QAAA,EACN,qBAAqB,EAAA,OAAA,EACtB,CAAC,SAAS,EAAE,OAAO,EAAE,kBAAkB,CAAC,EACvC,QAAA,EAAA,CAAA;;;;;;;;AAQT,IAAA,CAAA,EAAA,eAAA,EAEgB,uBAAuB,CAAC,MAAM,EACnC,UAAA,EAAA,CAAC,kBAAkB,CAAC,EAAA,MAAA,EAAA,CAAA,sEAAA,CAAA,EAAA,CAAA;;;AC1BpC;;AAEG;;;;"}
@@ -1,42 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Injectable } from '@angular/core';
3
- import { switchMap, shareReplay } from 'rxjs';
4
- import { fromFetch } from 'rxjs/fetch';
5
-
6
- /**
7
- * @deprecated: drop in v5.0
8
- */
9
- class TuiStaticRequestService {
10
- constructor() {
11
- this.cache = new Map();
12
- }
13
- request(url) {
14
- const cache = this.cache.get(url);
15
- if (cache) {
16
- return cache;
17
- }
18
- const piped = fromFetch(url).pipe(switchMap(async (response) => {
19
- if (response.ok) {
20
- return response.text();
21
- }
22
- throw new Error(`Failed to load ${url} (${response.statusText})`);
23
- }), shareReplay({ bufferSize: 1, refCount: false }));
24
- this.cache.set(url, piped);
25
- return piped;
26
- }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiStaticRequestService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
28
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiStaticRequestService, providedIn: 'root' }); }
29
- }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiStaticRequestService, decorators: [{
31
- type: Injectable,
32
- args: [{
33
- providedIn: 'root',
34
- }]
35
- }] });
36
-
37
- /**
38
- * Generated bundle index. Do not edit.
39
- */
40
-
41
- export { TuiStaticRequestService };
42
- //# sourceMappingURL=taiga-ui-legacy-services.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-services.mjs","sources":["../../../projects/legacy/services/static-request.service.ts","../../../projects/legacy/services/taiga-ui-legacy-services.ts"],"sourcesContent":["import {Injectable} from '@angular/core';\nimport {type Observable, shareReplay, switchMap} from 'rxjs';\nimport {fromFetch} from 'rxjs/fetch';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiStaticRequestService {\n private readonly cache = new Map<string, Observable<string>>();\n\n public request(url: string): Observable<string> {\n const cache = this.cache.get(url);\n\n if (cache) {\n return cache;\n }\n\n const piped = fromFetch(url).pipe(\n switchMap(async (response) => {\n if (response.ok) {\n return response.text();\n }\n\n throw new Error(`Failed to load ${url} (${response.statusText})`);\n }),\n shareReplay({bufferSize: 1, refCount: false}),\n );\n\n this.cache.set(url, piped);\n\n return piped;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA;;AAEG;AACH,MAGa,uBAAuB,CAAA;AAHpC,IAAA,WAAA,GAAA;AAIqB,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,GAAG,EAA8B,CAAC;AAwBlE,KAAA;AAtBU,IAAA,OAAO,CAAC,GAAW,EAAA;QACtB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAElC,QAAA,IAAI,KAAK,EAAE;AACP,YAAA,OAAO,KAAK,CAAC;AAChB,SAAA;AAED,QAAA,MAAM,KAAK,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,CAC7B,SAAS,CAAC,OAAO,QAAQ,KAAI;YACzB,IAAI,QAAQ,CAAC,EAAE,EAAE;AACb,gBAAA,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC1B,aAAA;YAED,MAAM,IAAI,KAAK,CAAC,CAAkB,eAAA,EAAA,GAAG,CAAK,EAAA,EAAA,QAAQ,CAAC,UAAU,CAAG,CAAA,CAAA,CAAC,CAAC;AACtE,SAAC,CAAC,EACF,WAAW,CAAC,EAAC,UAAU,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAC,CAAC,CAChD,CAAC;QAEF,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;AAE3B,QAAA,OAAO,KAAK,CAAC;KAChB;+GAxBQ,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,cAFpB,MAAM,EAAA,CAAA,CAAA,EAAA;;4FAET,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAHnC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,UAAU,EAAE,MAAM;AACrB,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
@@ -1 +0,0 @@
1
- export * from './static-request.service';
@@ -1,11 +0,0 @@
1
- import { type Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: drop in v5.0
5
- */
6
- export declare class TuiStaticRequestService {
7
- private readonly cache;
8
- request(url: string): Observable<string>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiStaticRequestService, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiStaticRequestService>;
11
- }