@taiga-ui/core 4.52.0-canary.d626d20 → 4.52.0-canary.e07790b

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 (637) hide show
  1. package/README.md +1 -1
  2. package/classes/accessors.d.ts +2 -2
  3. package/classes/driver.d.ts +1 -1
  4. package/components/button/button.directive.d.ts +2 -3
  5. package/components/button/button.options.d.ts +1 -1
  6. package/components/calendar/calendar-sheet.component.d.ts +2 -7
  7. package/components/calendar/calendar-sheet.options.d.ts +1 -3
  8. package/{pipes/calendar-sheet → components/calendar}/calendar-sheet.pipe.d.ts +2 -2
  9. package/components/calendar/calendar-spin.component.d.ts +1 -0
  10. package/components/calendar/calendar-year.component.d.ts +1 -1
  11. package/components/calendar/calendar.options.d.ts +9 -0
  12. package/components/calendar/index.d.ts +3 -0
  13. package/{pipes/order-week-days → components/calendar}/order-week-days.pipe.d.ts +1 -1
  14. package/components/cell/cell.directive.d.ts +9 -0
  15. package/components/cell/cell.options.d.ts +6 -0
  16. package/components/cell/index.d.ts +2 -0
  17. package/components/data-list/data-list.component.d.ts +8 -12
  18. package/components/data-list/data-list.d.ts +3 -4
  19. package/components/data-list/data-list.tokens.d.ts +1 -23
  20. package/components/data-list/index.d.ts +3 -4
  21. package/components/data-list/opt-group.directive.d.ts +2 -2
  22. package/components/data-list/option-content.directive.d.ts +14 -0
  23. package/components/data-list/option-with-value.directive.d.ts +9 -0
  24. package/components/data-list/option.directive.d.ts +19 -0
  25. package/components/error/error.component.d.ts +6 -8
  26. package/components/error/error.d.ts +4 -0
  27. package/components/error/error.directive.d.ts +19 -0
  28. package/components/error/error.pipe.d.ts +10 -0
  29. package/components/error/index.d.ts +3 -0
  30. package/components/expand/expand.component.d.ts +9 -28
  31. package/components/expand/index.d.ts +0 -2
  32. package/components/icon/icon.component.d.ts +6 -11
  33. package/components/index.d.ts +3 -3
  34. package/components/input/index.d.ts +2 -0
  35. package/components/input/input.d.ts +5 -0
  36. package/components/input/input.directive.d.ts +30 -0
  37. package/components/label/label.directive.d.ts +1 -1
  38. package/components/link/index.d.ts +0 -1
  39. package/components/link/link.directive.d.ts +8 -6
  40. package/components/loader/loader.component.d.ts +7 -7
  41. package/components/loader/loader.options.d.ts +1 -3
  42. package/components/notification/index.d.ts +3 -0
  43. package/components/notification/notification.component.d.ts +14 -0
  44. package/components/notification/notification.d.ts +3 -0
  45. package/components/notification/notification.directive.d.ts +7 -12
  46. package/components/notification/notification.options.d.ts +10 -7
  47. package/components/notification/notification.service.d.ts +17 -0
  48. package/components/root/root.component.d.ts +4 -6
  49. package/components/scrollbar/scroll-into-view.directive.d.ts +3 -2
  50. package/components/scrollbar/scroll-ref.directive.d.ts +2 -0
  51. package/components/scrollbar/scrollbar.component.d.ts +1 -5
  52. package/components/scrollbar/scrollbar.directive.d.ts +2 -2
  53. package/components/scrollbar/scrollbar.options.d.ts +1 -1
  54. package/components/spin-button/spin-button.component.d.ts +9 -10
  55. package/components/textfield/index.d.ts +1 -4
  56. package/components/textfield/textfield-content.directive.d.ts +3 -2
  57. package/components/textfield/textfield-icon.d.ts +3 -3
  58. package/components/textfield/textfield-multi/textfield-item.component.d.ts +3 -2
  59. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +10 -15
  60. package/components/textfield/textfield.component.d.ts +20 -33
  61. package/components/textfield/textfield.d.ts +2 -4
  62. package/components/textfield/textfield.options.d.ts +8 -11
  63. package/{directives → components}/title/title.directive.d.ts +2 -3
  64. package/directives/appearance/appearance.directive.d.ts +5 -13
  65. package/directives/appearance/appearance.options.d.ts +1 -1
  66. package/directives/date-format/date-format.directive.d.ts +3 -7
  67. package/directives/group/group.directive.d.ts +7 -7
  68. package/directives/group/group.options.d.ts +1 -3
  69. package/directives/icons/icons.bindings.d.ts +5 -0
  70. package/directives/icons/icons.directive.d.ts +8 -16
  71. package/directives/icons/index.d.ts +1 -0
  72. package/directives/index.d.ts +0 -5
  73. package/directives/items-handlers/items-handlers.directive.d.ts +5 -9
  74. package/directives/items-handlers/items-handlers.tokens.d.ts +4 -4
  75. package/directives/number-format/number-format.directive.d.ts +3 -7
  76. package/fesm2022/taiga-ui-core-classes.mjs +9 -11
  77. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-core-components-button.mjs +13 -21
  79. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-core-components-calendar.mjs +143 -42
  81. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-core-components-cell.mjs +45 -0
  83. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -0
  84. package/fesm2022/taiga-ui-core-components-data-list.mjs +112 -283
  85. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-core-components-error.mjs +110 -26
  87. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-core-components-expand.mjs +34 -132
  89. package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-core-components-icon.mjs +22 -40
  91. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-core-components-input.mjs +104 -0
  93. package/fesm2022/taiga-ui-core-components-input.mjs.map +1 -0
  94. package/fesm2022/taiga-ui-core-components-label.mjs +13 -18
  95. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-core-components-link.mjs +16 -36
  97. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-core-components-loader.mjs +17 -36
  99. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-core-components-notification.mjs +107 -66
  101. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  102. package/fesm2022/taiga-ui-core-components-root.mjs +22 -55
  103. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +71 -85
  105. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-core-components-spin-button.mjs +18 -31
  107. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-core-components-textfield.mjs +136 -430
  109. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-core-components-title.mjs +37 -0
  111. package/fesm2022/taiga-ui-core-components-title.mjs.map +1 -0
  112. package/fesm2022/taiga-ui-core-components.mjs +3 -3
  113. package/fesm2022/taiga-ui-core-directives-appearance.mjs +32 -69
  114. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  115. package/fesm2022/taiga-ui-core-directives-date-format.mjs +26 -20
  116. package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
  117. package/fesm2022/taiga-ui-core-directives-group.mjs +25 -40
  118. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  119. package/fesm2022/taiga-ui-core-directives-icons.mjs +35 -45
  120. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  121. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +18 -42
  122. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  123. package/fesm2022/taiga-ui-core-directives-number-format.mjs +32 -20
  124. package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
  125. package/fesm2022/taiga-ui-core-directives.mjs +0 -5
  126. package/fesm2022/taiga-ui-core-directives.mjs.map +1 -1
  127. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +21 -15
  128. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  129. package/fesm2022/taiga-ui-core-pipes.mjs +0 -8
  130. package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
  131. package/fesm2022/taiga-ui-core-portals-alert.mjs +73 -0
  132. package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -0
  133. package/fesm2022/taiga-ui-core-portals-dialog.mjs +158 -0
  134. package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -0
  135. package/fesm2022/{taiga-ui-core-directives-dropdown.mjs → taiga-ui-core-portals-dropdown.mjs} +184 -336
  136. package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -0
  137. package/fesm2022/taiga-ui-core-portals-hint.mjs +609 -0
  138. package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -0
  139. package/fesm2022/taiga-ui-core-portals-modal.mjs +89 -0
  140. package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -0
  141. package/fesm2022/taiga-ui-core-portals-popup.mjs +56 -0
  142. package/fesm2022/taiga-ui-core-portals-popup.mjs.map +1 -0
  143. package/fesm2022/taiga-ui-core-portals.mjs +11 -0
  144. package/fesm2022/taiga-ui-core-portals.mjs.map +1 -0
  145. package/fesm2022/taiga-ui-core-services.mjs +18 -57
  146. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  147. package/fesm2022/taiga-ui-core-tokens.mjs +45 -76
  148. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  149. package/fesm2022/taiga-ui-core-utils-dom.mjs.map +1 -1
  150. package/fesm2022/taiga-ui-core-utils-format.mjs +1 -22
  151. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +65 -19
  153. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-core.mjs +1 -1
  155. package/index.d.ts +1 -1
  156. package/package.json +82 -208
  157. package/pipes/format-number/format-number.pipe.d.ts +6 -4
  158. package/pipes/index.d.ts +0 -8
  159. package/portals/alert/alert.directive.d.ts +11 -0
  160. package/portals/alert/alert.service.d.ts +12 -0
  161. package/portals/alert/index.d.ts +2 -0
  162. package/portals/dialog/dialog.component.d.ts +14 -0
  163. package/portals/dialog/dialog.directive.d.ts +8 -0
  164. package/{components → portals}/dialog/dialog.factory.d.ts +1 -1
  165. package/portals/dialog/dialog.options.d.ts +25 -0
  166. package/{components/dialog/dialog-close.service.d.ts → portals/dialog/dialog.providers.d.ts} +2 -0
  167. package/portals/dialog/dialog.service.d.ts +10 -0
  168. package/portals/dialog/index.d.ts +6 -0
  169. package/portals/dropdown/dropdown-content.directive.d.ts +9 -0
  170. package/{directives → portals}/dropdown/dropdown-hover.directive.d.ts +5 -10
  171. package/{directives → portals}/dropdown/dropdown-hover.options.d.ts +1 -3
  172. package/{directives → portals}/dropdown/dropdown-manual.directive.d.ts +2 -2
  173. package/portals/dropdown/dropdown-open.directive.d.ts +30 -0
  174. package/{directives → portals}/dropdown/dropdown-position-sided.directive.d.ts +3 -3
  175. package/{directives → portals}/dropdown/dropdown-position.directive.d.ts +5 -5
  176. package/{directives → portals}/dropdown/dropdown-selection.directive.d.ts +4 -5
  177. package/{directives → portals}/dropdown/dropdown.bindings.d.ts +0 -1
  178. package/{directives → portals}/dropdown/dropdown.d.ts +2 -3
  179. package/{directives → portals}/dropdown/dropdown.directive.d.ts +6 -8
  180. package/{directives → portals}/dropdown/index.d.ts +1 -4
  181. package/{directives → portals}/hint/hint-describe.directive.d.ts +4 -6
  182. package/{directives → portals}/hint/hint-host.directive.d.ts +2 -2
  183. package/{directives → portals}/hint/hint-hover.directive.d.ts +3 -4
  184. package/{directives → portals}/hint/hint-manual.directive.d.ts +2 -2
  185. package/{directives → portals}/hint/hint-options.directive.d.ts +3 -3
  186. package/{directives → portals}/hint/hint-overflow.directive.d.ts +2 -2
  187. package/{directives → portals}/hint/hint-position.directive.d.ts +6 -7
  188. package/{directives → portals}/hint/hint-unstyled.component.d.ts +2 -7
  189. package/portals/hint/hint.component.d.ts +29 -0
  190. package/portals/hint/hint.directive.d.ts +24 -0
  191. package/{directives → portals}/hint/index.d.ts +0 -2
  192. package/portals/index.d.ts +6 -0
  193. package/portals/modal/index.d.ts +2 -0
  194. package/portals/modal/modal.component.d.ts +17 -0
  195. package/portals/modal/modal.service.d.ts +13 -0
  196. package/portals/popup/popup.directive.d.ts +12 -0
  197. package/{directives → portals}/popup/popup.service.d.ts +1 -1
  198. package/{directives → portals}/popup/popups.component.d.ts +2 -2
  199. package/services/index.d.ts +0 -2
  200. package/styles/components/appearance.less +11 -0
  201. package/styles/components/button.less +1 -3
  202. package/styles/components/icon.less +32 -22
  203. package/styles/components/icons.less +16 -12
  204. package/styles/components/link.less +10 -26
  205. package/styles/components/notification.less +4 -4
  206. package/styles/components/textfield.less +32 -65
  207. package/styles/mixins/appearance.less +10 -26
  208. package/styles/mixins/appearance.scss +8 -24
  209. package/styles/mixins/mixins.less +1 -7
  210. package/styles/mixins/mixins.scss +1 -7
  211. package/styles/mixins/slider.less +21 -16
  212. package/styles/mixins/slider.scss +1 -2
  213. package/styles/taiga-ui-local.less +0 -1
  214. package/styles/taiga-ui-local.scss +0 -1
  215. package/styles/taiga-ui-theme.less +0 -1
  216. package/styles/theme/appearance/outline.less +10 -20
  217. package/styles/theme/appearance/primary.less +2 -4
  218. package/styles/theme/appearance/secondary.less +6 -14
  219. package/styles/theme/appearance/status.less +0 -4
  220. package/styles/theme/appearance/table.less +38 -31
  221. package/styles/theme/appearance/textfield.less +1 -2
  222. package/styles/theme/appearance.less +0 -1
  223. package/styles/theme/variables.less +2 -4
  224. package/tokens/common-icons.d.ts +3 -3
  225. package/tokens/date-format.d.ts +2 -3
  226. package/tokens/i18n.d.ts +7 -7
  227. package/tokens/icon-resolver.d.ts +1 -5
  228. package/tokens/icons.d.ts +0 -4
  229. package/tokens/index.d.ts +1 -4
  230. package/tokens/number-format.d.ts +2 -3
  231. package/tokens/validation-errors.d.ts +4 -0
  232. package/types/index.d.ts +0 -3
  233. package/types/point.d.ts +1 -1
  234. package/types/size.d.ts +0 -11
  235. package/utils/format/index.d.ts +0 -1
  236. package/utils/miscellaneous/font-scaling.d.ts +2 -1
  237. package/utils/miscellaneous/get-duration.d.ts +2 -0
  238. package/utils/miscellaneous/index.d.ts +2 -1
  239. package/utils/miscellaneous/provide-taiga.d.ts +13 -0
  240. package/animations/animations.d.ts +0 -109
  241. package/animations/index.d.ts +0 -1
  242. package/components/alert/alert.component.d.ts +0 -15
  243. package/components/alert/alert.directive.d.ts +0 -7
  244. package/components/alert/alert.interfaces.d.ts +0 -12
  245. package/components/alert/alert.service.d.ts +0 -7
  246. package/components/alert/alert.tokens.d.ts +0 -12
  247. package/components/alert/alerts.component.d.ts +0 -12
  248. package/components/alert/index.d.ts +0 -6
  249. package/components/data-list/data-list.directive.d.ts +0 -7
  250. package/components/data-list/option/option-content.d.ts +0 -16
  251. package/components/data-list/option/option-legacy.component.d.ts +0 -24
  252. package/components/data-list/option/option.directive.d.ts +0 -27
  253. package/components/dialog/dialog.component.d.ts +0 -20
  254. package/components/dialog/dialog.directive.d.ts +0 -7
  255. package/components/dialog/dialog.interfaces.d.ts +0 -34
  256. package/components/dialog/dialog.service.d.ts +0 -7
  257. package/components/dialog/dialog.tokens.d.ts +0 -15
  258. package/components/dialog/dialogs.component.d.ts +0 -8
  259. package/components/dialog/index.d.ts +0 -8
  260. package/components/expand/expand-content.directive.d.ts +0 -8
  261. package/components/expand/expand.d.ts +0 -6
  262. package/components/fullscreen/fullscreen.component.d.ts +0 -14
  263. package/components/fullscreen/index.d.ts +0 -1
  264. package/components/link/link.options.d.ts +0 -12
  265. package/components/textfield/select.directive.d.ts +0 -19
  266. package/components/textfield/textfield-dropdown.directive.d.ts +0 -16
  267. package/components/textfield/textfield.directive.d.ts +0 -38
  268. package/directives/dropdown/dropdown-open-legacy.directive.d.ts +0 -12
  269. package/directives/dropdown/dropdown-open.directive.d.ts +0 -33
  270. package/directives/dropdown/dropdown-portal.directive.d.ts +0 -14
  271. package/directives/dropdown/dropdown.service.d.ts +0 -6
  272. package/directives/dropdown/dropdowns.component.d.ts +0 -9
  273. package/directives/hint/hint.component.d.ts +0 -30
  274. package/directives/hint/hint.directive.d.ts +0 -26
  275. package/directives/hint/hint.service.d.ts +0 -13
  276. package/directives/hint/hints.component.d.ts +0 -12
  277. package/directives/popup/popup.directive.d.ts +0 -11
  278. package/directives/surface/index.d.ts +0 -1
  279. package/directives/surface/surface.directive.d.ts +0 -8
  280. package/esm2022/animations/animations.mjs +0 -363
  281. package/esm2022/animations/index.mjs +0 -2
  282. package/esm2022/animations/taiga-ui-core-animations.mjs +0 -5
  283. package/esm2022/classes/accessors.mjs +0 -31
  284. package/esm2022/classes/driver.mjs +0 -36
  285. package/esm2022/classes/index.mjs +0 -4
  286. package/esm2022/classes/taiga-ui-core-classes.mjs +0 -5
  287. package/esm2022/classes/vehicle.mjs +0 -7
  288. package/esm2022/components/alert/alert.component.mjs +0 -43
  289. package/esm2022/components/alert/alert.directive.mjs +0 -21
  290. package/esm2022/components/alert/alert.interfaces.mjs +0 -2
  291. package/esm2022/components/alert/alert.service.mjs +0 -18
  292. package/esm2022/components/alert/alert.tokens.mjs +0 -51
  293. package/esm2022/components/alert/alerts.component.mjs +0 -33
  294. package/esm2022/components/alert/index.mjs +0 -6
  295. package/esm2022/components/alert/taiga-ui-core-components-alert.mjs +0 -5
  296. package/esm2022/components/button/button.directive.mjs +0 -43
  297. package/esm2022/components/button/button.options.mjs +0 -7
  298. package/esm2022/components/button/index.mjs +0 -3
  299. package/esm2022/components/button/taiga-ui-core-components-button.mjs +0 -5
  300. package/esm2022/components/calendar/calendar-sheet.component.mjs +0 -168
  301. package/esm2022/components/calendar/calendar-sheet.options.mjs +0 -12
  302. package/esm2022/components/calendar/calendar-spin.component.mjs +0 -53
  303. package/esm2022/components/calendar/calendar-year.component.mjs +0 -128
  304. package/esm2022/components/calendar/calendar.component.mjs +0 -147
  305. package/esm2022/components/calendar/index.mjs +0 -6
  306. package/esm2022/components/calendar/taiga-ui-core-components-calendar.mjs +0 -5
  307. package/esm2022/components/data-list/data-list.component.mjs +0 -139
  308. package/esm2022/components/data-list/data-list.directive.mjs +0 -19
  309. package/esm2022/components/data-list/data-list.mjs +0 -14
  310. package/esm2022/components/data-list/data-list.tokens.mjs +0 -18
  311. package/esm2022/components/data-list/index.mjs +0 -9
  312. package/esm2022/components/data-list/opt-group.directive.mjs +0 -21
  313. package/esm2022/components/data-list/option/option-content.mjs +0 -36
  314. package/esm2022/components/data-list/option/option-legacy.component.mjs +0 -90
  315. package/esm2022/components/data-list/option/option.directive.mjs +0 -109
  316. package/esm2022/components/data-list/taiga-ui-core-components-data-list.mjs +0 -5
  317. package/esm2022/components/dialog/dialog-close.service.mjs +0 -41
  318. package/esm2022/components/dialog/dialog.component.mjs +0 -63
  319. package/esm2022/components/dialog/dialog.directive.mjs +0 -21
  320. package/esm2022/components/dialog/dialog.factory.mjs +0 -15
  321. package/esm2022/components/dialog/dialog.interfaces.mjs +0 -2
  322. package/esm2022/components/dialog/dialog.service.mjs +0 -18
  323. package/esm2022/components/dialog/dialog.tokens.mjs +0 -33
  324. package/esm2022/components/dialog/dialogs.component.mjs +0 -29
  325. package/esm2022/components/dialog/index.mjs +0 -8
  326. package/esm2022/components/dialog/taiga-ui-core-components-dialog.mjs +0 -5
  327. package/esm2022/components/error/error.component.mjs +0 -34
  328. package/esm2022/components/error/index.mjs +0 -2
  329. package/esm2022/components/error/taiga-ui-core-components-error.mjs +0 -5
  330. package/esm2022/components/expand/expand-content.directive.mjs +0 -18
  331. package/esm2022/components/expand/expand.component.mjs +0 -124
  332. package/esm2022/components/expand/expand.mjs +0 -7
  333. package/esm2022/components/expand/index.mjs +0 -4
  334. package/esm2022/components/expand/taiga-ui-core-components-expand.mjs +0 -5
  335. package/esm2022/components/fullscreen/fullscreen.component.mjs +0 -67
  336. package/esm2022/components/fullscreen/index.mjs +0 -2
  337. package/esm2022/components/fullscreen/taiga-ui-core-components-fullscreen.mjs +0 -5
  338. package/esm2022/components/icon/icon.component.mjs +0 -44
  339. package/esm2022/components/icon/icon.pipe.mjs +0 -19
  340. package/esm2022/components/icon/index.mjs +0 -3
  341. package/esm2022/components/icon/taiga-ui-core-components-icon.mjs +0 -5
  342. package/esm2022/components/index.mjs +0 -18
  343. package/esm2022/components/label/index.mjs +0 -2
  344. package/esm2022/components/label/label.directive.mjs +0 -41
  345. package/esm2022/components/label/taiga-ui-core-components-label.mjs +0 -5
  346. package/esm2022/components/link/index.mjs +0 -3
  347. package/esm2022/components/link/link.directive.mjs +0 -47
  348. package/esm2022/components/link/link.options.mjs +0 -13
  349. package/esm2022/components/link/taiga-ui-core-components-link.mjs +0 -5
  350. package/esm2022/components/loader/index.mjs +0 -3
  351. package/esm2022/components/loader/loader.component.mjs +0 -46
  352. package/esm2022/components/loader/loader.options.mjs +0 -18
  353. package/esm2022/components/loader/taiga-ui-core-components-loader.mjs +0 -5
  354. package/esm2022/components/notification/index.mjs +0 -3
  355. package/esm2022/components/notification/notification.directive.mjs +0 -81
  356. package/esm2022/components/notification/notification.options.mjs +0 -23
  357. package/esm2022/components/notification/taiga-ui-core-components-notification.mjs +0 -5
  358. package/esm2022/components/root/index.mjs +0 -2
  359. package/esm2022/components/root/root.component.mjs +0 -85
  360. package/esm2022/components/root/taiga-ui-core-components-root.mjs +0 -5
  361. package/esm2022/components/scrollbar/index.mjs +0 -9
  362. package/esm2022/components/scrollbar/scroll-controls.component.mjs +0 -32
  363. package/esm2022/components/scrollbar/scroll-into-view.directive.mjs +0 -43
  364. package/esm2022/components/scrollbar/scroll-ref.directive.mjs +0 -19
  365. package/esm2022/components/scrollbar/scrollable.directive.mjs +0 -26
  366. package/esm2022/components/scrollbar/scrollbar.component.mjs +0 -72
  367. package/esm2022/components/scrollbar/scrollbar.directive.mjs +0 -93
  368. package/esm2022/components/scrollbar/scrollbar.options.mjs +0 -6
  369. package/esm2022/components/scrollbar/scrollbar.service.mjs +0 -46
  370. package/esm2022/components/scrollbar/taiga-ui-core-components-scrollbar.mjs +0 -5
  371. package/esm2022/components/spin-button/index.mjs +0 -2
  372. package/esm2022/components/spin-button/spin-button.component.mjs +0 -51
  373. package/esm2022/components/spin-button/taiga-ui-core-components-spin-button.mjs +0 -5
  374. package/esm2022/components/taiga-ui-core-components.mjs +0 -5
  375. package/esm2022/components/textfield/index.mjs +0 -16
  376. package/esm2022/components/textfield/select-like.directive.mjs +0 -42
  377. package/esm2022/components/textfield/select.directive.mjs +0 -64
  378. package/esm2022/components/textfield/taiga-ui-core-components-textfield.mjs +0 -5
  379. package/esm2022/components/textfield/textfield-accessor.mjs +0 -7
  380. package/esm2022/components/textfield/textfield-auxiliary.mjs +0 -7
  381. package/esm2022/components/textfield/textfield-content.directive.mjs +0 -22
  382. package/esm2022/components/textfield/textfield-dropdown.directive.mjs +0 -43
  383. package/esm2022/components/textfield/textfield-icon.mjs +0 -10
  384. package/esm2022/components/textfield/textfield-multi/textfield-item.component.mjs +0 -34
  385. package/esm2022/components/textfield/textfield-multi/textfield-multi.component.mjs +0 -137
  386. package/esm2022/components/textfield/textfield.component.mjs +0 -180
  387. package/esm2022/components/textfield/textfield.directive.mjs +0 -134
  388. package/esm2022/components/textfield/textfield.mjs +0 -19
  389. package/esm2022/components/textfield/textfield.options.mjs +0 -63
  390. package/esm2022/components/textfield/with-native-picker.directive.mjs +0 -24
  391. package/esm2022/directives/appearance/appearance.bindings.mjs +0 -15
  392. package/esm2022/directives/appearance/appearance.directive.mjs +0 -79
  393. package/esm2022/directives/appearance/appearance.options.mjs +0 -12
  394. package/esm2022/directives/appearance/index.mjs +0 -5
  395. package/esm2022/directives/appearance/taiga-ui-core-directives-appearance.mjs +0 -5
  396. package/esm2022/directives/appearance/with-appearance.mjs +0 -27
  397. package/esm2022/directives/date-format/date-format.directive.mjs +0 -31
  398. package/esm2022/directives/date-format/index.mjs +0 -2
  399. package/esm2022/directives/date-format/taiga-ui-core-directives-date-format.mjs +0 -5
  400. package/esm2022/directives/dropdown/dropdown-context.directive.mjs +0 -76
  401. package/esm2022/directives/dropdown/dropdown-hover.directive.mjs +0 -70
  402. package/esm2022/directives/dropdown/dropdown-hover.options.mjs +0 -17
  403. package/esm2022/directives/dropdown/dropdown-limit-width.mjs +0 -37
  404. package/esm2022/directives/dropdown/dropdown-manual.directive.mjs +0 -27
  405. package/esm2022/directives/dropdown/dropdown-open-legacy.directive.mjs +0 -33
  406. package/esm2022/directives/dropdown/dropdown-open.directive.mjs +0 -169
  407. package/esm2022/directives/dropdown/dropdown-options.directive.mjs +0 -73
  408. package/esm2022/directives/dropdown/dropdown-portal.directive.mjs +0 -34
  409. package/esm2022/directives/dropdown/dropdown-position-sided.directive.mjs +0 -69
  410. package/esm2022/directives/dropdown/dropdown-position.directive.mjs +0 -88
  411. package/esm2022/directives/dropdown/dropdown-selection.directive.mjs +0 -159
  412. package/esm2022/directives/dropdown/dropdown.bindings.mjs +0 -19
  413. package/esm2022/directives/dropdown/dropdown.component.mjs +0 -92
  414. package/esm2022/directives/dropdown/dropdown.directive.mjs +0 -110
  415. package/esm2022/directives/dropdown/dropdown.driver.mjs +0 -32
  416. package/esm2022/directives/dropdown/dropdown.mjs +0 -29
  417. package/esm2022/directives/dropdown/dropdown.providers.mjs +0 -10
  418. package/esm2022/directives/dropdown/dropdown.service.mjs +0 -15
  419. package/esm2022/directives/dropdown/dropdowns.component.mjs +0 -24
  420. package/esm2022/directives/dropdown/index.mjs +0 -22
  421. package/esm2022/directives/dropdown/taiga-ui-core-directives-dropdown.mjs +0 -5
  422. package/esm2022/directives/dropdown/with-dropdown-open.directive.mjs +0 -23
  423. package/esm2022/directives/group/group.directive.mjs +0 -53
  424. package/esm2022/directives/group/group.options.mjs +0 -15
  425. package/esm2022/directives/group/index.mjs +0 -3
  426. package/esm2022/directives/group/taiga-ui-core-directives-group.mjs +0 -5
  427. package/esm2022/directives/hint/hint-describe.directive.mjs +0 -50
  428. package/esm2022/directives/hint/hint-driver.directive.mjs +0 -19
  429. package/esm2022/directives/hint/hint-host.directive.mjs +0 -27
  430. package/esm2022/directives/hint/hint-hover.directive.mjs +0 -59
  431. package/esm2022/directives/hint/hint-manual.directive.mjs +0 -33
  432. package/esm2022/directives/hint/hint-options.directive.mjs +0 -86
  433. package/esm2022/directives/hint/hint-overflow.directive.mjs +0 -38
  434. package/esm2022/directives/hint/hint-pointer.directive.mjs +0 -33
  435. package/esm2022/directives/hint/hint-position.directive.mjs +0 -112
  436. package/esm2022/directives/hint/hint-unstyled.component.mjs +0 -39
  437. package/esm2022/directives/hint/hint.component.mjs +0 -127
  438. package/esm2022/directives/hint/hint.directive.mjs +0 -99
  439. package/esm2022/directives/hint/hint.mjs +0 -27
  440. package/esm2022/directives/hint/hint.providers.mjs +0 -9
  441. package/esm2022/directives/hint/hint.service.mjs +0 -29
  442. package/esm2022/directives/hint/hints.component.mjs +0 -34
  443. package/esm2022/directives/hint/index.mjs +0 -17
  444. package/esm2022/directives/hint/taiga-ui-core-directives-hint.mjs +0 -5
  445. package/esm2022/directives/icons/icons.directive.mjs +0 -66
  446. package/esm2022/directives/icons/index.mjs +0 -3
  447. package/esm2022/directives/icons/taiga-ui-core-directives-icons.mjs +0 -5
  448. package/esm2022/directives/icons/with-icons.mjs +0 -22
  449. package/esm2022/directives/index.mjs +0 -12
  450. package/esm2022/directives/items-handlers/index.mjs +0 -4
  451. package/esm2022/directives/items-handlers/items-handlers.directive.mjs +0 -63
  452. package/esm2022/directives/items-handlers/items-handlers.tokens.mjs +0 -27
  453. package/esm2022/directives/items-handlers/items-handlers.validator.mjs +0 -32
  454. package/esm2022/directives/items-handlers/taiga-ui-core-directives-items-handlers.mjs +0 -5
  455. package/esm2022/directives/number-format/index.mjs +0 -2
  456. package/esm2022/directives/number-format/number-format.directive.mjs +0 -31
  457. package/esm2022/directives/number-format/taiga-ui-core-directives-number-format.mjs +0 -5
  458. package/esm2022/directives/popup/index.mjs +0 -4
  459. package/esm2022/directives/popup/popup.directive.mjs +0 -31
  460. package/esm2022/directives/popup/popup.service.mjs +0 -15
  461. package/esm2022/directives/popup/popups.component.mjs +0 -20
  462. package/esm2022/directives/popup/taiga-ui-core-directives-popup.mjs +0 -5
  463. package/esm2022/directives/surface/index.mjs +0 -2
  464. package/esm2022/directives/surface/surface.directive.mjs +0 -44
  465. package/esm2022/directives/surface/taiga-ui-core-directives-surface.mjs +0 -5
  466. package/esm2022/directives/taiga-ui-core-directives.mjs +0 -5
  467. package/esm2022/directives/title/index.mjs +0 -2
  468. package/esm2022/directives/title/taiga-ui-core-directives-title.mjs +0 -5
  469. package/esm2022/directives/title/title.directive.mjs +0 -37
  470. package/esm2022/index.mjs +0 -9
  471. package/esm2022/pipes/auto-color/auto-color.pipe.mjs +0 -19
  472. package/esm2022/pipes/auto-color/index.mjs +0 -2
  473. package/esm2022/pipes/auto-color/taiga-ui-core-pipes-auto-color.mjs +0 -5
  474. package/esm2022/pipes/calendar-sheet/calendar-sheet.pipe.mjs +0 -54
  475. package/esm2022/pipes/calendar-sheet/index.mjs +0 -2
  476. package/esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs +0 -5
  477. package/esm2022/pipes/calendar-sheet/utils.mjs +0 -36
  478. package/esm2022/pipes/fallback-src/fallback-src.pipe.mjs +0 -23
  479. package/esm2022/pipes/fallback-src/index.mjs +0 -2
  480. package/esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs +0 -5
  481. package/esm2022/pipes/flag/flag.pipe.mjs +0 -26
  482. package/esm2022/pipes/flag/index.mjs +0 -2
  483. package/esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs +0 -5
  484. package/esm2022/pipes/format-date/format-date.pipe.mjs +0 -22
  485. package/esm2022/pipes/format-date/index.mjs +0 -2
  486. package/esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs +0 -5
  487. package/esm2022/pipes/format-number/format-number.pipe.mjs +0 -36
  488. package/esm2022/pipes/format-number/index.mjs +0 -2
  489. package/esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs +0 -5
  490. package/esm2022/pipes/index.mjs +0 -10
  491. package/esm2022/pipes/initials/index.mjs +0 -2
  492. package/esm2022/pipes/initials/initials.pipe.mjs +0 -23
  493. package/esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs +0 -5
  494. package/esm2022/pipes/month/index.mjs +0 -2
  495. package/esm2022/pipes/month/month.pipe.mjs +0 -23
  496. package/esm2022/pipes/month/taiga-ui-core-pipes-month.mjs +0 -5
  497. package/esm2022/pipes/order-week-days/index.mjs +0 -2
  498. package/esm2022/pipes/order-week-days/order-week-days.pipe.mjs +0 -30
  499. package/esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs +0 -5
  500. package/esm2022/pipes/taiga-ui-core-pipes.mjs +0 -5
  501. package/esm2022/services/breakpoint.service.mjs +0 -31
  502. package/esm2022/services/dark-theme.service.mjs +0 -24
  503. package/esm2022/services/format-date.service.mjs +0 -24
  504. package/esm2022/services/index.mjs +0 -6
  505. package/esm2022/services/position.service.mjs +0 -26
  506. package/esm2022/services/taiga-ui-core-services.mjs +0 -5
  507. package/esm2022/services/visual-viewport.service.mjs +0 -29
  508. package/esm2022/taiga-ui-core.mjs +0 -5
  509. package/esm2022/tokens/animations-speed.mjs +0 -9
  510. package/esm2022/tokens/assets-path.mjs +0 -11
  511. package/esm2022/tokens/auxiliary.mjs +0 -9
  512. package/esm2022/tokens/common-icons.mjs +0 -18
  513. package/esm2022/tokens/dark-mode.mjs +0 -41
  514. package/esm2022/tokens/date-format.mjs +0 -20
  515. package/esm2022/tokens/day-type-handler.mjs +0 -8
  516. package/esm2022/tokens/first-day-of-week.mjs +0 -9
  517. package/esm2022/tokens/i18n.mjs +0 -45
  518. package/esm2022/tokens/icon-resolver.mjs +0 -44
  519. package/esm2022/tokens/icon.mjs +0 -8
  520. package/esm2022/tokens/icons.mjs +0 -21
  521. package/esm2022/tokens/index.mjs +0 -21
  522. package/esm2022/tokens/media.mjs +0 -12
  523. package/esm2022/tokens/number-format.mjs +0 -24
  524. package/esm2022/tokens/reduced-motion.mjs +0 -7
  525. package/esm2022/tokens/scroll-ref.mjs +0 -6
  526. package/esm2022/tokens/selection-stream.mjs +0 -14
  527. package/esm2022/tokens/spin-icons.mjs +0 -8
  528. package/esm2022/tokens/taiga-ui-core-tokens.mjs +0 -5
  529. package/esm2022/tokens/theme.mjs +0 -5
  530. package/esm2022/tokens/viewport.mjs +0 -35
  531. package/esm2022/types/direction.mjs +0 -2
  532. package/esm2022/types/index.mjs +0 -2
  533. package/esm2022/types/interactive-state.mjs +0 -2
  534. package/esm2022/types/orientation.mjs +0 -2
  535. package/esm2022/types/point.mjs +0 -2
  536. package/esm2022/types/portal-item.mjs +0 -2
  537. package/esm2022/types/range-state.mjs +0 -2
  538. package/esm2022/types/size.mjs +0 -13
  539. package/esm2022/types/taiga-ui-core-types.mjs +0 -5
  540. package/esm2022/types/value-content-context.mjs +0 -2
  541. package/esm2022/utils/dom/check-fixed-position.mjs +0 -9
  542. package/esm2022/utils/dom/get-viewport.mjs +0 -24
  543. package/esm2022/utils/dom/get-word-range.mjs +0 -51
  544. package/esm2022/utils/dom/index.mjs +0 -4
  545. package/esm2022/utils/dom/taiga-ui-core-utils-dom.mjs +0 -5
  546. package/esm2022/utils/format/format-number.mjs +0 -47
  547. package/esm2022/utils/format/get-fractional-part-padded.mjs +0 -16
  548. package/esm2022/utils/format/index.mjs +0 -5
  549. package/esm2022/utils/format/number-to-string-without-exp.mjs +0 -18
  550. package/esm2022/utils/format/string-hash-to-hsl.mjs +0 -21
  551. package/esm2022/utils/format/taiga-ui-core-utils-format.mjs +0 -5
  552. package/esm2022/utils/index.mjs +0 -4
  553. package/esm2022/utils/miscellaneous/font-scaling.mjs +0 -11
  554. package/esm2022/utils/miscellaneous/index.mjs +0 -7
  555. package/esm2022/utils/miscellaneous/is-editing-key.mjs +0 -18
  556. package/esm2022/utils/miscellaneous/is-obscured.mjs +0 -8
  557. package/esm2022/utils/miscellaneous/override-options.mjs +0 -11
  558. package/esm2022/utils/miscellaneous/size-bigger.mjs +0 -19
  559. package/esm2022/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs +0 -5
  560. package/esm2022/utils/miscellaneous/to-animation-options.mjs +0 -16
  561. package/esm2022/utils/taiga-ui-core-utils.mjs +0 -5
  562. package/fesm2022/taiga-ui-core-animations.mjs +0 -370
  563. package/fesm2022/taiga-ui-core-animations.mjs.map +0 -1
  564. package/fesm2022/taiga-ui-core-components-alert.mjs +0 -149
  565. package/fesm2022/taiga-ui-core-components-alert.mjs.map +0 -1
  566. package/fesm2022/taiga-ui-core-components-dialog.mjs +0 -196
  567. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +0 -1
  568. package/fesm2022/taiga-ui-core-components-fullscreen.mjs +0 -73
  569. package/fesm2022/taiga-ui-core-components-fullscreen.mjs.map +0 -1
  570. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +0 -1
  571. package/fesm2022/taiga-ui-core-directives-hint.mjs +0 -710
  572. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +0 -1
  573. package/fesm2022/taiga-ui-core-directives-popup.mjs +0 -63
  574. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +0 -1
  575. package/fesm2022/taiga-ui-core-directives-surface.mjs +0 -50
  576. package/fesm2022/taiga-ui-core-directives-surface.mjs.map +0 -1
  577. package/fesm2022/taiga-ui-core-directives-title.mjs +0 -43
  578. package/fesm2022/taiga-ui-core-directives-title.mjs.map +0 -1
  579. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +0 -25
  580. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +0 -1
  581. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +0 -94
  582. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +0 -1
  583. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs +0 -29
  584. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs.map +0 -1
  585. package/fesm2022/taiga-ui-core-pipes-flag.mjs +0 -32
  586. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +0 -1
  587. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +0 -28
  588. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +0 -1
  589. package/fesm2022/taiga-ui-core-pipes-initials.mjs +0 -29
  590. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +0 -1
  591. package/fesm2022/taiga-ui-core-pipes-month.mjs +0 -29
  592. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +0 -1
  593. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +0 -36
  594. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +0 -1
  595. package/pipes/auto-color/auto-color.pipe.d.ts +0 -7
  596. package/pipes/auto-color/index.d.ts +0 -1
  597. package/pipes/calendar-sheet/index.d.ts +0 -1
  598. package/pipes/calendar-sheet/utils.d.ts +0 -20
  599. package/pipes/fallback-src/fallback-src.pipe.d.ts +0 -9
  600. package/pipes/fallback-src/index.d.ts +0 -1
  601. package/pipes/flag/flag.pipe.d.ts +0 -14
  602. package/pipes/flag/index.d.ts +0 -1
  603. package/pipes/format-date/format-date.pipe.d.ts +0 -9
  604. package/pipes/format-date/index.d.ts +0 -1
  605. package/pipes/initials/index.d.ts +0 -1
  606. package/pipes/initials/initials.pipe.d.ts +0 -7
  607. package/pipes/month/index.d.ts +0 -1
  608. package/pipes/month/month.pipe.d.ts +0 -10
  609. package/pipes/order-week-days/index.d.ts +0 -1
  610. package/services/dark-theme.service.d.ts +0 -10
  611. package/services/format-date.service.d.ts +0 -8
  612. package/styles/mixins/wrapper.less +0 -64
  613. package/styles/mixins/wrapper.scss +0 -61
  614. package/styles/theme/appearance/opposite.less +0 -17
  615. package/styles/theme/wrapper.less +0 -211
  616. package/tokens/day-type-handler.d.ts +0 -7
  617. package/tokens/first-day-of-week.d.ts +0 -5
  618. package/tokens/scroll-ref.d.ts +0 -2
  619. package/tokens/spin-icons.d.ts +0 -6
  620. package/types/portal-item.d.ts +0 -9
  621. package/types/range-state.d.ts +0 -4
  622. package/types/value-content-context.d.ts +0 -4
  623. package/utils/format/string-hash-to-hsl.d.ts +0 -6
  624. package/utils/miscellaneous/to-animation-options.d.ts +0 -4
  625. /package/{directives → components}/title/index.d.ts +0 -0
  626. /package/{directives → portals}/dropdown/dropdown-context.directive.d.ts +0 -0
  627. /package/{directives → portals}/dropdown/dropdown-limit-width.d.ts +0 -0
  628. /package/{directives → portals}/dropdown/dropdown-options.directive.d.ts +0 -0
  629. /package/{directives → portals}/dropdown/dropdown.component.d.ts +0 -0
  630. /package/{directives → portals}/dropdown/dropdown.driver.d.ts +0 -0
  631. /package/{directives → portals}/dropdown/dropdown.providers.d.ts +0 -0
  632. /package/{directives → portals}/dropdown/with-dropdown-open.directive.d.ts +0 -0
  633. /package/{directives → portals}/hint/hint-driver.directive.d.ts +0 -0
  634. /package/{directives → portals}/hint/hint-pointer.directive.d.ts +0 -0
  635. /package/{directives → portals}/hint/hint.d.ts +0 -0
  636. /package/{directives → portals}/hint/hint.providers.d.ts +0 -0
  637. /package/{directives → portals}/popup/index.d.ts +0 -0
@@ -1,34 +0,0 @@
1
- import { NgIf } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, inject, Input } from '@angular/core';
3
- import { toSignal } from '@angular/core/rxjs-interop';
4
- import { TuiValidationError } from '@taiga-ui/cdk/classes';
5
- import { TuiAnimated } from '@taiga-ui/cdk/directives/animated';
6
- import { tuiIsString } from '@taiga-ui/cdk/utils/miscellaneous';
7
- import { TUI_ANIMATIONS_SPEED, TUI_DEFAULT_ERROR_MESSAGE } from '@taiga-ui/core/tokens';
8
- import { tuiToAnimationOptions } from '@taiga-ui/core/utils';
9
- import { PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
10
- import * as i0 from "@angular/core";
11
- class TuiError {
12
- constructor() {
13
- this.options = tuiToAnimationOptions(inject(TUI_ANIMATIONS_SPEED));
14
- this.error = null;
15
- this.visible = true;
16
- this.default = toSignal(inject(TUI_DEFAULT_ERROR_MESSAGE));
17
- }
18
- set errorSetter(error) {
19
- this.error = tuiIsString(error) ? new TuiValidationError(error) : error;
20
- }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiError, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
22
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiError, isStandalone: true, selector: "tui-error", inputs: { errorSetter: ["error", "errorSetter"] }, host: { properties: { "class._error": "error" } }, ngImport: i0, template: "<div\n *ngIf=\"error\"\n automation-id=\"tui-error__text\"\n tuiAnimated\n class=\"t-message-text\"\n>\n <ng-container *polymorpheusOutlet=\"error.message || default() as text; context: error.context || {}\">\n {{ text }}\n </ng-container>\n</div>\n", styles: [":host{transition-property:grid-template-rows;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:grid;font:var(--tui-font-text-s);color:var(--tui-text-negative);overflow-wrap:break-word;grid-template-rows:0fr}:host._error{grid-template-rows:1fr}.t-message-text{white-space:pre-line;grid-row:1 / span 2;overflow:hidden}.t-message-text.tui-enter,.t-message-text.tui-leave{animation-name:tuiFade}.t-message-text:before{content:\"\";line-height:1.5rem;vertical-align:bottom}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiAnimated, selector: "[tuiAnimated]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
23
- }
24
- export { TuiError };
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiError, decorators: [{
26
- type: Component,
27
- args: [{ standalone: true, selector: 'tui-error', imports: [NgIf, PolymorpheusOutlet, TuiAnimated], changeDetection: ChangeDetectionStrategy.OnPush, host: {
28
- '[class._error]': 'error',
29
- }, template: "<div\n *ngIf=\"error\"\n automation-id=\"tui-error__text\"\n tuiAnimated\n class=\"t-message-text\"\n>\n <ng-container *polymorpheusOutlet=\"error.message || default() as text; context: error.context || {}\">\n {{ text }}\n </ng-container>\n</div>\n", styles: [":host{transition-property:grid-template-rows;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:grid;font:var(--tui-font-text-s);color:var(--tui-text-negative);overflow-wrap:break-word;grid-template-rows:0fr}:host._error{grid-template-rows:1fr}.t-message-text{white-space:pre-line;grid-row:1 / span 2;overflow:hidden}.t-message-text.tui-enter,.t-message-text.tui-leave{animation-name:tuiFade}.t-message-text:before{content:\"\";line-height:1.5rem;vertical-align:bottom}\n"] }]
30
- }], propDecorators: { errorSetter: [{
31
- type: Input,
32
- args: ['error']
33
- }] } });
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2Vycm9yL2Vycm9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9lcnJvci9lcnJvci50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxJQUFJLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUNyQyxPQUFPLEVBQUMsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDaEYsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLDRCQUE0QixDQUFDO0FBQ3BELE9BQU8sRUFBQyxrQkFBa0IsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBQ3pELE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQztBQUM5RCxPQUFPLEVBQUMsV0FBV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29udGFpbmVyPlxuPC9kaXY+XG4iXX0=
@@ -1,2 +0,0 @@
1
- export * from './error.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvZXJyb3IvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQkFBbUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZXJyb3IuY29tcG9uZW50JztcbiJdfQ==
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1jb21wb25lbnRzLWVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2Vycm9yL3RhaWdhLXVpLWNvcmUtY29tcG9uZW50cy1lcnJvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,18 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated use {@link TuiExpand} from @taiga-ui/experimental
5
- */
6
- class TuiExpandContent {
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiExpandContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
8
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiExpandContent, isStandalone: true, selector: "[tuiExpandContent]", ngImport: i0 }); }
9
- }
10
- export { TuiExpandContent };
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiExpandContent, decorators: [{
12
- type: Directive,
13
- args: [{
14
- standalone: true,
15
- selector: '[tuiExpandContent]',
16
- }]
17
- }] });
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwYW5kLWNvbnRlbnQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2V4cGFuZC9leHBhbmQtY29udGVudC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFFeEM7O0dBRUc7QUFDSCxNQUlhLGdCQUFnQjsrR0FBaEIsZ0JBQWdCO21HQUFoQixnQkFBZ0I7O1NBQWhCLGdCQUFnQjs0RkFBaEIsZ0JBQWdCO2tCQUo1QixTQUFTO21CQUFDO29CQUNQLFVBQVUsRUFBRSxJQUFJO29CQUNoQixRQUFRLEVBQUUsb0JBQW9CO2lCQUNqQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7RGlyZWN0aXZlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuLyoqXG4gKiBAZGVwcmVjYXRlZCB1c2Uge0BsaW5rIFR1aUV4cGFuZH0gZnJvbSBAdGFpZ2EtdWkvZXhwZXJpbWVudGFsXG4gKi9cbkBEaXJlY3RpdmUoe1xuICAgIHN0YW5kYWxvbmU6IHRydWUsXG4gICAgc2VsZWN0b3I6ICdbdHVpRXhwYW5kQ29udGVudF0nLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlFeHBhbmRDb250ZW50IHt9XG4iXX0=
@@ -1,124 +0,0 @@
1
- import { NgIf, NgTemplateOutlet } from '@angular/common';
2
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, DestroyRef, inject, Input, TemplateRef, ViewChild, } from '@angular/core';
3
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
- import { tuiParentAnimation } from '@taiga-ui/core/animations';
5
- import { TuiLoader } from '@taiga-ui/core/components/loader';
6
- import { timer } from 'rxjs';
7
- import { TuiExpandContent } from './expand-content.directive';
8
- import * as i0 from "@angular/core";
9
- const State = {
10
- Idle: 0,
11
- Loading: 1,
12
- Prepared: 2,
13
- Animated: 3,
14
- };
15
- const LOADER_HEIGHT = 48;
16
- /**
17
- * An event indicating that async data for expand has finished loading.
18
- * Dispatch to finish loading states for {@link TuiExpandComponent}.
19
- */
20
- export const TUI_EXPAND_LOADED = 'tui-expand-loaded';
21
- /**
22
- * @deprecated use {@link TuiExpand} from @taiga-ui/experimental
23
- */
24
- class TuiExpandComponent {
25
- constructor() {
26
- this.cdr = inject(ChangeDetectorRef);
27
- this.destroyRef = inject(DestroyRef);
28
- this.state = State.Idle;
29
- this.content = null;
30
- this.expanded = null;
31
- this.async = false;
32
- }
33
- set expandedSetter(expanded) {
34
- if (this.expanded === null) {
35
- this.expanded = expanded;
36
- return;
37
- }
38
- if (this.state !== State.Idle) {
39
- this.expanded = expanded;
40
- this.state = State.Animated;
41
- return;
42
- }
43
- this.expanded = expanded;
44
- this.retrigger(this.async && expanded ? State.Loading : State.Animated);
45
- }
46
- get contentVisible() {
47
- return this.expanded || this.state !== State.Idle;
48
- }
49
- get overflow() {
50
- return this.state !== State.Idle;
51
- }
52
- get loading() {
53
- return !!this.expanded && this.async && this.state === State.Loading;
54
- }
55
- get height() {
56
- const { expanded, state, contentWrapper } = this;
57
- if ((expanded && state === State.Prepared) ||
58
- (!expanded && state === State.Animated)) {
59
- return 0;
60
- }
61
- if (contentWrapper &&
62
- ((!expanded && state === State.Prepared) ||
63
- (expanded && state === State.Animated))) {
64
- return contentWrapper.nativeElement.offsetHeight;
65
- }
66
- if (contentWrapper && expanded && state === State.Loading) {
67
- return Math.max(contentWrapper.nativeElement.offsetHeight, LOADER_HEIGHT);
68
- }
69
- return null;
70
- }
71
- onTransitionEnd({ propertyName, pseudoElement }) {
72
- if (propertyName === 'opacity' &&
73
- !pseudoElement &&
74
- this.state === State.Animated) {
75
- this.state = State.Idle;
76
- }
77
- }
78
- onExpandLoaded(event) {
79
- event.stopPropagation();
80
- if (this.state === State.Loading) {
81
- this.retrigger(State.Animated);
82
- }
83
- }
84
- retrigger(state) {
85
- this.state = State.Prepared;
86
- timer(0)
87
- .pipe(takeUntilDestroyed(this.destroyRef))
88
- .subscribe(() => {
89
- // We need delay to re-trigger CSS height transition from the correct number
90
- if (this.state !== State.Prepared) {
91
- return;
92
- }
93
- this.state = state;
94
- this.cdr.markForCheck();
95
- });
96
- }
97
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiExpandComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
98
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiExpandComponent, isStandalone: true, selector: "tui-expand", inputs: { async: "async", expandedSetter: ["expanded", "expandedSetter"] }, host: { listeners: { "transitionend.self": "onTransitionEnd($event)", "tui-expand-loaded": "onExpandLoaded($event)" }, properties: { "style.height.px": "height", "class._loading": "loading", "class._overflow": "overflow", "class._expanded": "expanded", "attr.aria-expanded": "expanded" } }, queries: [{ propertyName: "content", first: true, predicate: TuiExpandContent, descendants: true, read: TemplateRef }], viewQueries: [{ propertyName: "contentWrapper", first: true, predicate: ["wrapper"], descendants: true }], ngImport: i0, template: "<div\n #wrapper\n class=\"t-wrapper\"\n @tuiParentAnimation\n [@.disabled]=\"overflow\"\n>\n <ng-container *ngIf=\"contentVisible\">\n <ng-content />\n <tui-loader\n *ngIf=\"async; else content\"\n size=\"l\"\n [overlay]=\"true\"\n [showLoader]=\"loading\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </tui-loader>\n </ng-container>\n</div>\n", styles: [":host{transition-property:opacity,height,visibility;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;opacity:0;transition-delay:1ms}:host._overflow{overflow:hidden}:host._expanded{opacity:1}:host._loading{opacity:.99}.t-wrapper:before,.t-wrapper:after{content:\"\";display:table}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: TuiLoader, selector: "tui-loader", inputs: ["size", "inheritColor", "overlay", "textContent", "showLoader"] }], animations: [tuiParentAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
99
- }
100
- export { TuiExpandComponent };
101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiExpandComponent, decorators: [{
102
- type: Component,
103
- args: [{ standalone: true, selector: 'tui-expand', imports: [NgIf, NgTemplateOutlet, TuiLoader], changeDetection: ChangeDetectionStrategy.OnPush, animations: [tuiParentAnimation], host: {
104
- '[style.height.px]': 'height',
105
- '[class._loading]': 'loading',
106
- '[class._overflow]': 'overflow',
107
- '[class._expanded]': 'expanded',
108
- '[attr.aria-expanded]': 'expanded',
109
- '(transitionend.self)': 'onTransitionEnd($event)',
110
- [`(${TUI_EXPAND_LOADED})`]: 'onExpandLoaded($event)',
111
- }, template: "<div\n #wrapper\n class=\"t-wrapper\"\n @tuiParentAnimation\n [@.disabled]=\"overflow\"\n>\n <ng-container *ngIf=\"contentVisible\">\n <ng-content />\n <tui-loader\n *ngIf=\"async; else content\"\n size=\"l\"\n [overlay]=\"true\"\n [showLoader]=\"loading\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </tui-loader>\n </ng-container>\n</div>\n", styles: [":host{transition-property:opacity,height,visibility;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;opacity:0;transition-delay:1ms}:host._overflow{overflow:hidden}:host._expanded{opacity:1}:host._loading{opacity:.99}.t-wrapper:before,.t-wrapper:after{content:\"\";display:table}\n"] }]
112
- }], propDecorators: { contentWrapper: [{
113
- type: ViewChild,
114
- args: ['wrapper']
115
- }], content: [{
116
- type: ContentChild,
117
- args: [TuiExpandContent, { read: TemplateRef }]
118
- }], async: [{
119
- type: Input
120
- }], expandedSetter: [{
121
- type: Input,
122
- args: ['expanded']
123
- }] } });
124
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwYW5kLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9leHBhbmQvZXhwYW5kLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9leHBhbmQvZXhwYW5kLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLElBQUksRUFBb0IsZ0JBQWdCLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUN6RSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsWUFBWSxFQUNaLFVBQVUsRUFFVixNQUFNLEVBQ04sS0FBSyxFQUNMLFdBQVcsRUFDWCxTQUFTLEdBQ1osTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLGtCQUFrQixFQUFDL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biAgICB9XG59XG4iLCI8ZGl2XG4gICAgI3dyYXBwZXJcbiAgICBjbGFzcz1cInQtd3JhcHBlclwiXG4gICAgQHR1aVBhcmVudEFuaW1hdGlvblxuICAgIFtALmRpc2FibGVkXT1cIm92ZXJmbG93XCJcbj5cbiAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiY29udGVudFZpc2libGVcIj5cbiAgICAgICAgPG5nLWNvbnRlbnQgLz5cbiAgICAgICAgPHR1aS1sb2FkZXJcbiAgICAgICAgICAgICpuZ0lmPVwiYXN5bmM7IGVsc2UgY29udGVudFwiXG4gICAgICAgICAgICBzaXplPVwibFwiXG4gICAgICAgICAgICBbb3ZlcmxheV09XCJ0cnVlXCJcbiAgICAgICAgICAgIFtzaG93TG9hZGVyXT1cImxvYWRpbmdcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyIFtuZ1RlbXBsYXRlT3V0bGV0XT1cImNvbnRlbnRcIiAvPlxuICAgICAgICA8L3R1aS1sb2FkZXI+XG4gICAgPC9uZy1jb250YWluZXI+XG48L2Rpdj5cbiJdfQ==
@@ -1,7 +0,0 @@
1
- import { TuiExpandComponent } from './expand.component';
2
- import { TuiExpandContent } from './expand-content.directive';
3
- /**
4
- * @deprecated use {@link TuiExpand} from @taiga-ui/experimental
5
- */
6
- export const TuiExpand = [TuiExpandComponent, TuiExpandContent];
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwYW5kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2V4cGFuZC9leHBhbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0sb0JBQW9CLENBQUM7QUFDdEQsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sNEJBQTRCLENBQUM7QUFFNUQ7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSxTQUFTLEdBQUcsQ0FBQyxrQkFBa0IsRUFBRSxnQkFBZ0IsQ0FBVSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtUdWlFeHBhbmRDb21wb25lbnR9IGZyb20gJy4vZXhwYW5kLmNvbXBvbmVudCc7XG5pbXBvcnQge1R1aUV4cGFuZENvbnRlbnR9IGZyb20gJy4vZXhwYW5kLWNvbnRlbnQuZGlyZWN0aXZlJztcblxuLyoqXG4gKiBAZGVwcmVjYXRlZCB1c2Uge0BsaW5rIFR1aUV4cGFuZH0gZnJvbSBAdGFpZ2EtdWkvZXhwZXJpbWVudGFsXG4gKi9cbmV4cG9ydCBjb25zdCBUdWlFeHBhbmQgPSBbVHVpRXhwYW5kQ29tcG9uZW50LCBUdWlFeHBhbmRDb250ZW50XSBhcyBjb25zdDtcbiJdfQ==
@@ -1,4 +0,0 @@
1
- export * from './expand';
2
- export * from './expand.component';
3
- export * from './expand-content.directive';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvZXhwYW5kL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyw0QkFBNEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZXhwYW5kJztcbmV4cG9ydCAqIGZyb20gJy4vZXhwYW5kLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2V4cGFuZC1jb250ZW50LmRpcmVjdGl2ZSc7XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1jb21wb25lbnRzLWV4cGFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9leHBhbmQvdGFpZ2EtdWktY29yZS1jb21wb25lbnRzLWV4cGFuZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,67 +0,0 @@
1
- import { DOCUMENT } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, inject, Input, Output, signal, ViewChild, } from '@angular/core';
3
- import { TuiRoot } from '@taiga-ui/core/components/root';
4
- import * as i0 from "@angular/core";
5
- class TuiFullscreen {
6
- constructor() {
7
- this.doc = inject(DOCUMENT);
8
- this.open = signal(false);
9
- this.opened = new EventEmitter();
10
- this.options = { navigationUI: 'auto' };
11
- }
12
- set fullscreen(open) {
13
- if (this.open() === open) {
14
- return;
15
- }
16
- if (open) {
17
- this.root?.nativeElement
18
- .requestFullscreen(this.options)
19
- .then(() => this.fullscreenState(open));
20
- }
21
- else {
22
- this.doc
23
- .exitFullscreen()
24
- .then(() => this.fullscreenState(open))
25
- .catch((error) => console.error('Failed to exit fullscreen:', error));
26
- }
27
- }
28
- closedByEscape(event) {
29
- const escaped = !this.doc.fullscreenElement && event.target === this.root?.nativeElement;
30
- if (escaped) {
31
- this.fullscreenState(false);
32
- }
33
- }
34
- fullscreenState(open) {
35
- this.open.set(open);
36
- this.opened.emit(open);
37
- }
38
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFullscreen, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
39
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiFullscreen, isStandalone: true, selector: "[tuiFullscreen]", inputs: { options: ["tuiFullscreenOptions", "options"], fullscreen: ["tuiFullscreen", "fullscreen"] }, outputs: { opened: "tuiFullscreenChange" }, host: { listeners: { "document:fullscreenchange": "closedByEscape($event)" } }, viewQueries: [{ propertyName: "root", first: true, predicate: TuiRoot, descendants: true, read: ElementRef }], ngImport: i0, template: '<tui-root><ng-content /></tui-root>', isInline: true, dependencies: [{ kind: "component", type: TuiRoot, selector: "tui-root" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
40
- }
41
- export { TuiFullscreen };
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFullscreen, decorators: [{
43
- type: Component,
44
- args: [{
45
- standalone: true,
46
- selector: '[tuiFullscreen]',
47
- imports: [TuiRoot],
48
- template: '<tui-root><ng-content /></tui-root>',
49
- changeDetection: ChangeDetectionStrategy.OnPush,
50
- host: {
51
- '(document:fullscreenchange)': 'closedByEscape($event)',
52
- },
53
- }]
54
- }], propDecorators: { root: [{
55
- type: ViewChild,
56
- args: [TuiRoot, { read: ElementRef }]
57
- }], opened: [{
58
- type: Output,
59
- args: ['tuiFullscreenChange']
60
- }], options: [{
61
- type: Input,
62
- args: ['tuiFullscreenOptions']
63
- }], fullscreen: [{
64
- type: Input,
65
- args: ['tuiFullscreen']
66
- }] } });
67
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVsbHNjcmVlbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9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A9PiB0aGlzLmZ1bGxzY3JlZW5TdGF0ZShvcGVuKSlcbiAgICAgICAgICAgICAgICAuY2F0Y2goKGVycm9yOiB1bmtub3duKSA9PlxuICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmVycm9yKCdGYWlsZWQgdG8gZXhpdCBmdWxsc2NyZWVuOicsIGVycm9yKSxcbiAgICAgICAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHJvdGVjdGVkIGNsb3NlZEJ5RXNjYXBlKGV2ZW50OiBFdmVudCk6IHZvaWQge1xuICAgICAgICBjb25zdCBlc2NhcGVkID1cbiAgICAgICAgICAgICF0aGlzLmRvYy5mdWxsc2NyZWVuRWxlbWVudCAmJiBldmVudC50YXJnZXQgPT09IHRoaXMucm9vdD8ubmF0aXZlRWxlbWVudDtcblxuICAgICAgICBpZiAoZXNjYXBlZCkge1xuICAgICAgICAgICAgdGhpcy5mdWxsc2NyZWVuU3RhdGUoZmFsc2UpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBmdWxsc2NyZWVuU3RhdGUob3BlbjogYm9vbGVhbik6IHZvaWQge1xuICAgICAgICB0aGlzLm9wZW4uc2V0KG9wZW4pO1xuICAgICAgICB0aGlzLm9wZW5lZC5lbWl0KG9wZW4pO1xuICAgIH1cbn1cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export * from './fullscreen.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvZnVsbHNjcmVlbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mdWxsc2NyZWVuLmNvbXBvbmVudCc7XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1jb21wb25lbnRzLWZ1bGxzY3JlZW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvZnVsbHNjcmVlbi90YWlnYS11aS1jb3JlLWNvbXBvbmVudHMtZnVsbHNjcmVlbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,44 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, computed, inject, Input, signal, ViewEncapsulation, } from '@angular/core';
2
- import { TUI_ICON_END, TUI_ICON_START, tuiGetIconMode, tuiInjectIconResolver, } from '@taiga-ui/core/tokens';
3
- import * as i0 from "@angular/core";
4
- class TuiIcon {
5
- constructor() {
6
- this.resolver = tuiInjectIconResolver();
7
- this.src = signal(inject(TUI_ICON_START, { self: true, optional: true }) ||
8
- inject(TUI_ICON_END, { self: true, optional: true }));
9
- this.bg = signal(null);
10
- this.resource = computed(() => this.resolve(this.src()));
11
- this.mode = computed(() => tuiGetIconMode(this.src()));
12
- this.bgResource = computed(() => this.resolve(this.bg()));
13
- }
14
- set icon(icon) {
15
- this.src.set(icon);
16
- }
17
- set background(background) {
18
- this.bg.set(background);
19
- }
20
- resolve(value) {
21
- if (!value) {
22
- return null;
23
- }
24
- return tuiGetIconMode(value) === 'font'
25
- ? `'${this.resolver(value)}'`
26
- : `url(${this.resolver(value)})`;
27
- }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiIcon, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
29
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiIcon, isStandalone: true, selector: "tui-icon", inputs: { icon: "icon", background: "background" }, host: { properties: { "style.--t-icon": "resource() || \"url()\"", "style.--t-icon-bg": "bgResource()", "attr.data-icon": "mode()" } }, ngImport: i0, template: '', isInline: true, styles: ["tui-icon{position:relative;display:inline-block;inline-size:1em;block-size:1em;font-size:1.5rem;flex-shrink:0;border:0 solid transparent;vertical-align:middle;box-sizing:border-box;-webkit-mask:var(--t-icon-bg) no-repeat center / contain;mask:var(--t-icon-bg) no-repeat center / contain}@media (hover: hover) and (pointer: fine){tui-icon[data-appearance=icon]:hover{color:var(--tui-text-secondary)}}tui-icon:after,tui-icon[tuiIcons]:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";display:block;-webkit-mask:var(--t-icon) no-repeat center / contain;mask:var(--t-icon) no-repeat center / contain;background:currentColor}tui-icon[data-icon=image]:after{-webkit-mask:none;mask:none;background:var(--t-icon) no-repeat center / contain}tui-icon[data-icon=font]:after{content:var(--t-icon);-webkit-mask:none;mask:none;background:none;font:1em/1 var(--tui-font-icon, inherit);text-align:center;text-transform:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
30
- }
31
- export { TuiIcon };
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiIcon, decorators: [{
33
- type: Component,
34
- args: [{ standalone: true, selector: 'tui-icon', template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
35
- '[style.--t-icon]': 'resource() || "url()"',
36
- '[style.--t-icon-bg]': 'bgResource()',
37
- '[attr.data-icon]': 'mode()',
38
- }, styles: ["tui-icon{position:relative;display:inline-block;inline-size:1em;block-size:1em;font-size:1.5rem;flex-shrink:0;border:0 solid transparent;vertical-align:middle;box-sizing:border-box;-webkit-mask:var(--t-icon-bg) no-repeat center / contain;mask:var(--t-icon-bg) no-repeat center / contain}@media (hover: hover) and (pointer: fine){tui-icon[data-appearance=icon]:hover{color:var(--tui-text-secondary)}}tui-icon:after,tui-icon[tuiIcons]:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";display:block;-webkit-mask:var(--t-icon) no-repeat center / contain;mask:var(--t-icon) no-repeat center / contain;background:currentColor}tui-icon[data-icon=image]:after{-webkit-mask:none;mask:none;background:var(--t-icon) no-repeat center / contain}tui-icon[data-icon=font]:after{content:var(--t-icon);-webkit-mask:none;mask:none;background:none;font:1em/1 var(--tui-font-icon, inherit);text-align:center;text-transform:none}\n"] }]
39
- }], propDecorators: { icon: [{
40
- type: Input
41
- }], background: [{
42
- type: Input
43
- }] } });
44
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvaWNvbi9pY29uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxRQUFRLEVBQ1IsTUFBTSxFQUNOLEtBQUssRUFDTCxNQUFNLEVBQ04saUJBQWlCLEdBQ3BCLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFDSCxZQUFZLEVBQ1osY0FBYyxFQUNkLGNBQWMsRUFDZCxxQkFBcUIsR0FDeEIsTUFBTSx1QkFBdUIsQ0FBQzs7QUFFL0IsTUFhYSxPQUFPO0lBYnBCO1FBY3VCLGF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Bjb21wdXRlZCgoKSA9PiB0aGlzLnJlc29sdmUodGhpcy5zcmMoKSkpO1xuICAgIHByb3RlY3RlZCByZWFkb25seSBtb2RlID0gY29tcHV0ZWQoKCkgPT4gdHVpR2V0SWNvbk1vZGUodGhpcy5zcmMoKSkpO1xuICAgIHByb3RlY3RlZCByZWFkb25seSBiZ1Jlc291cmNlID0gY29tcHV0ZWQoKCkgPT4gdGhpcy5yZXNvbHZlKHRoaXMuYmcoKSkpO1xuXG4gICAgQElucHV0KClcbiAgICBwdWJsaWMgc2V0IGljb24oaWNvbjogc3RyaW5nKSB7XG4gICAgICAgIHRoaXMuc3JjLnNldChpY29uKTtcbiAgICB9XG5cbiAgICBASW5wdXQoKVxuICAgIHB1YmxpYyBzZXQgYmFja2dyb3VuZChiYWNrZ3JvdW5kOiBzdHJpbmcpIHtcbiAgICAgICAgdGhpcy5iZy5zZXQoYmFja2dyb3VuZCk7XG4gICAgfVxuXG4gICAgcHVibGljIHJlc29sdmUodmFsdWU/OiBzdHJpbmcgfCBudWxsKTogc3RyaW5nIHwgbnVsbCB7XG4gICAgICAgIGlmICghdmFsdWUpIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHR1aUdldEljb25Nb2RlKHZhbHVlKSA9PT0gJ2ZvbnQnXG4gICAgICAgICAgICA/IGAnJHt0aGlzLnJlc29sdmVyKHZhbHVlKX0nYFxuICAgICAgICAgICAgOiBgdXJsKCR7dGhpcy5yZXNvbHZlcih2YWx1ZSl9KWA7XG4gICAgfVxufVxuIl19
@@ -1,19 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import { tuiInjectIconResolver } from '@taiga-ui/core/tokens';
3
- import * as i0 from "@angular/core";
4
- class TuiIconPipe {
5
- constructor() {
6
- this.transform = tuiInjectIconResolver();
7
- }
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiIconPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiIconPipe, isStandalone: true, name: "tuiIcon" }); }
10
- }
11
- export { TuiIconPipe };
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiIconPipe, decorators: [{
13
- type: Pipe,
14
- args: [{
15
- standalone: true,
16
- name: 'tuiIcon',
17
- }]
18
- }] });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2ljb24vaWNvbi5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxJQUFJLEVBQXFCLE1BQU0sZUFBZSxDQUFDO0FBRXZELE9BQU8sRUFBQyxxQkFBcUIsRUFBQyxNQUFNLHVCQUF1QixDQUFDOztBQUU1RCxNQUlhLFdBQVc7SUFKeEI7UUFLb0IsY0FBUyxHQUE2QixxQkFBcUIsRUFBRSxDQUFDO0tBQ2pGOytHQUZZLFdBQVc7NkdBQVgsV0FBVzs7U0FBWCxXQUFXOzRGQUFYLFdBQVc7a0JBSnZCLElBQUk7bUJBQUM7b0JBQ0YsVUFBVSxFQUFFLElBQUk7b0JBQ2hCLElBQUksRUFBRSxTQUFTO2lCQUNsQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7UGlwZSwgdHlwZSBQaXBlVHJhbnNmb3JtfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7dHlwZSBUdWlTdHJpbmdIYW5kbGVyfSBmcm9tICdAdGFpZ2EtdWkvY2RrL3R5cGVzJztcbmltcG9ydCB7dHVpSW5qZWN0SWNvblJlc29sdmVyfSBmcm9tICdAdGFpZ2EtdWkvY29yZS90b2tlbnMnO1xuXG5AUGlwZSh7XG4gICAgc3RhbmRhbG9uZTogdHJ1ZSxcbiAgICBuYW1lOiAndHVpSWNvbicsXG59KVxuZXhwb3J0IGNsYXNzIFR1aUljb25QaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gICAgcHVibGljIHJlYWRvbmx5IHRyYW5zZm9ybTogVHVpU3RyaW5nSGFuZGxlcjxzdHJpbmc+ID0gdHVpSW5qZWN0SWNvblJlc29sdmVyKCk7XG59XG4iXX0=
@@ -1,3 +0,0 @@
1
- export * from './icon.component';
2
- export * from './icon.pipe';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvaWNvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsYUFBYSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9pY29uLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2ljb24ucGlwZSc7XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1jb21wb25lbnRzLWljb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvaWNvbi90YWlnYS11aS1jb3JlLWNvbXBvbmVudHMtaWNvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,18 +0,0 @@
1
- export * from '@taiga-ui/core/components/alert';
2
- export * from '@taiga-ui/core/components/button';
3
- export * from '@taiga-ui/core/components/calendar';
4
- export * from '@taiga-ui/core/components/data-list';
5
- export * from '@taiga-ui/core/components/dialog';
6
- export * from '@taiga-ui/core/components/error';
7
- export * from '@taiga-ui/core/components/expand';
8
- export * from '@taiga-ui/core/components/fullscreen';
9
- export * from '@taiga-ui/core/components/icon';
10
- export * from '@taiga-ui/core/components/label';
11
- export * from '@taiga-ui/core/components/link';
12
- export * from '@taiga-ui/core/components/loader';
13
- export * from '@taiga-ui/core/components/notification';
14
- export * from '@taiga-ui/core/components/root';
15
- export * from '@taiga-ui/core/components/scrollbar';
16
- export * from '@taiga-ui/core/components/spin-button';
17
- export * from '@taiga-ui/core/components/textfield';
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQ0FBaUMsQ0FBQztBQUNoRCxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMsb0NBQW9DLENBQUM7QUFDbkQsY0FBYyxxQ0FBcUMsQ0FBQztBQUNwRCxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMsaUNBQWlDLENBQUM7QUFDaEQsY0FBYyxrQ0FBa0MsQ0FBQztBQUNqRCxjQUFjLHNDQUFzQyxDQUFDO0FBQ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Z2EtdWkvY29yZS9jb21wb25lbnRzL2xvYWRlcic7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvY29yZS9jb21wb25lbnRzL25vdGlmaWNhdGlvbic7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvY29yZS9jb21wb25lbnRzL3Jvb3QnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2NvcmUvY29tcG9uZW50cy9zY3JvbGxiYXInO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2NvcmUvY29tcG9uZW50cy9zcGluLWJ1dHRvbic7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvY29yZS9jb21wb25lbnRzL3RleHRmaWVsZCc7XG4iXX0=
@@ -1,2 +0,0 @@
1
- export * from './label.directive';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvbGFiZWwvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQkFBbUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGFiZWwuZGlyZWN0aXZlJztcbiJdfQ==
@@ -1,41 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, ContentChild, Directive, forwardRef, inject, ViewEncapsulation, } from '@angular/core';
2
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
3
- import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
4
- import { TUI_DATA_LIST_HOST } from '@taiga-ui/core/components/data-list';
5
- import * as i0 from "@angular/core";
6
- class TuiLabelStyles {
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLabelStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiLabelStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-label" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiLabel]{display:flex;gap:.25rem;flex-direction:column;font:var(--tui-font-text-s);color:var(--tui-text-primary)}[tuiLabel]:not([data-orientation=vertical]){flex-direction:row;inline-size:-webkit-fit-content;inline-size:-moz-fit-content;inline-size:fit-content;font:var(--tui-font-text-m)}[tuiLabel]:has(tui-textfield),[tuiLabel]:has(tui-primitive-textfield),[tuiLabel]:has(tui-textarea){flex-direction:column!important;inline-size:auto!important;font:var(--tui-font-text-s)!important}[tuiLabel] input[type=checkbox],[tuiLabel] input[type=radio]{margin-inline-end:.5rem}[tuiLabel] input[type=checkbox][data-size=s],[tuiLabel] input[type=radio][data-size=s]{margin-inline-end:.25rem;margin-block-start:.125rem}[tuiLabel] small{font:var(--tui-font-text-s)}[tuiLabel] [tuiTitle]{margin-block-start:.125rem}[tuiLabel] [tuiSubtitle]{color:var(--tui-text-secondary)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLabelStyles, decorators: [{
11
- type: Component,
12
- args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
13
- class: 'tui-label',
14
- }, styles: ["[tuiLabel]{display:flex;gap:.25rem;flex-direction:column;font:var(--tui-font-text-s);color:var(--tui-text-primary)}[tuiLabel]:not([data-orientation=vertical]){flex-direction:row;inline-size:-webkit-fit-content;inline-size:-moz-fit-content;inline-size:fit-content;font:var(--tui-font-text-m)}[tuiLabel]:has(tui-textfield),[tuiLabel]:has(tui-primitive-textfield),[tuiLabel]:has(tui-textarea){flex-direction:column!important;inline-size:auto!important;font:var(--tui-font-text-s)!important}[tuiLabel] input[type=checkbox],[tuiLabel] input[type=radio]{margin-inline-end:.5rem}[tuiLabel] input[type=checkbox][data-size=s],[tuiLabel] input[type=radio][data-size=s]{margin-inline-end:.25rem;margin-block-start:.125rem}[tuiLabel] small{font:var(--tui-font-text-s)}[tuiLabel] [tuiTitle]{margin-block-start:.125rem}[tuiLabel] [tuiSubtitle]{color:var(--tui-text-secondary)}\n"] }]
15
- }] });
16
- // TODO: Replace TUI_DATA_LIST_HOST with proper token once we refactor textfields
17
- class TuiLabel {
18
- constructor() {
19
- this.el = tuiInjectElement();
20
- this.nothing = tuiWithStyles(TuiLabelStyles);
21
- this.parent = inject(forwardRef(() => TUI_DATA_LIST_HOST), { optional: true });
22
- }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
24
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiLabel, isStandalone: true, selector: "label[tuiLabel]", host: { properties: { "attr.for": "el.htmlFor || parent?.id", "attr.data-orientation": "textfield ? \"vertical\" : \"horizontal\"" } }, queries: [{ propertyName: "textfield", first: true, predicate: i0.forwardRef(function () { return TUI_DATA_LIST_HOST; }), descendants: true }], ngImport: i0 }); }
25
- }
26
- export { TuiLabel };
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLabel, decorators: [{
28
- type: Directive,
29
- args: [{
30
- standalone: true,
31
- selector: 'label[tuiLabel]',
32
- host: {
33
- '[attr.for]': 'el.htmlFor || parent?.id',
34
- '[attr.data-orientation]': 'textfield ? "vertical" : "horizontal"',
35
- },
36
- }]
37
- }], propDecorators: { textfield: [{
38
- type: ContentChild,
39
- args: [forwardRef(() => TUI_DATA_LIST_HOST)]
40
- }] } });
41
- //# sourceMappingURL=data:application/json;base64,e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FfTElTVF9IT1NUKSxcbiAgICAgICAge29wdGlvbmFsOiB0cnVlfSxcbiAgICApO1xufVxuIl19
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1jb21wb25lbnRzLWxhYmVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2xhYmVsL3RhaWdhLXVpLWNvcmUtY29tcG9uZW50cy1sYWJlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,3 +0,0 @@
1
- export * from './link.directive';
2
- export * from './link.options';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvbGluay9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsZ0JBQWdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpbmsuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vbGluay5vcHRpb25zJztcbiJdfQ==
@@ -1,47 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Directive, inject, Input, ViewEncapsulation, } from '@angular/core';
2
- import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
3
- import { tuiAppearanceOptionsProvider, TuiWithAppearance, } from '@taiga-ui/core/directives/appearance';
4
- import { TuiWithIcons } from '@taiga-ui/core/directives/icons';
5
- import { TUI_LINK_OPTIONS } from './link.options';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@taiga-ui/core/directives/appearance";
8
- import * as i2 from "@taiga-ui/core/directives/icons";
9
- class TuiLinkStyles {
10
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLinkStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiLinkStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-link" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiLink]{--tui-text-tertiary: var(--tui-text-secondary);transition-property:color,opacity,-webkit-text-decoration;transition-property:color,text-decoration,opacity;transition-property:color,text-decoration,opacity,-webkit-text-decoration;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;padding:0;background:transparent;border:none;cursor:pointer;font:inherit;color:var(--tui-text-primary);-webkit-text-decoration:none dashed currentColor;text-decoration:none dashed currentColor;text-underline-offset:.2em;text-decoration-thickness:.7px;text-decoration-color:color-mix(in lch,currentColor,transparent)}@media (hover: hover) and (pointer: fine){[tuiLink]:hover{--tui-text-secondary: var(--tui-text-primary)}}[tuiLink]:before{margin-inline-end:.25rem}[tuiLink]:after{margin-inline-start:.25rem}[tuiLink][tuiIcons]:before,[tuiLink][tuiIcons]:after{content:\"\\2060\";padding:calc(var(--tui-icon-size, 1rem) / 2);vertical-align:super;font-size:0;line-height:0;box-sizing:border-box}[tuiLink][tuiChevron]:after{display:inline-block}[tuiLink]:focus-visible:not([data-focus=false]){outline:none;background:var(--tui-service-selection-background);background:color-mix(in lch,currentColor 12%,transparent)}[tuiLink][data-focus=true]{outline:none;background:var(--tui-service-selection-background);background:color-mix(in lch,currentColor 12%,transparent)}[tuiLink][tuiWrapper]:not(._focused):has(:focus-visible),[tuiLink][tuiWrapper]._focused{outline:none;background:var(--tui-service-selection-background);background:color-mix(in lch,currentColor 12%,transparent)}@media (hover: hover) and (pointer: fine){[tuiLink]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover:not(:disabled):not([data-state]){text-decoration-color:currentColor}}@media (hover: hover) and (pointer: fine){[tuiLink]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover:not(:disabled):not([data-state]){text-decoration-color:currentColor}}[tuiLink][data-state=hover]{text-decoration-color:currentColor}@media (hover: hover) and (pointer: fine){[tuiLink][tuiWrapper]:hover:not(._no-hover),[tuiLink][tuiWrapper][data-state=hover]{text-decoration-color:currentColor}}[tuiLink]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active:not(:disabled):not([data-state]){text-decoration-color:currentColor}[tuiLink]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active:not(:disabled):not([data-state]){text-decoration-color:currentColor}[tuiLink][data-state=active]{text-decoration-color:currentColor}[tuiLink][tuiWrapper]:active:not(._no-active),[tuiLink][tuiWrapper][data-state=active],[tuiLink][tuiWrapper][data-state=active]:hover{text-decoration-color:currentColor}@media (hover: hover) and (pointer: fine){[tuiLink][data-appearance=\"\"]:hover{opacity:.7}}[tuiLink][data-appearance=\"\"]:active{opacity:.7}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
12
- }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLinkStyles, decorators: [{
14
- type: Component,
15
- args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
16
- class: 'tui-link',
17
- }, styles: ["[tuiLink]{--tui-text-tertiary: var(--tui-text-secondary);transition-property:color,opacity,-webkit-text-decoration;transition-property:color,text-decoration,opacity;transition-property:color,text-decoration,opacity,-webkit-text-decoration;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;padding:0;background:transparent;border:none;cursor:pointer;font:inherit;color:var(--tui-text-primary);-webkit-text-decoration:none dashed currentColor;text-decoration:none dashed currentColor;text-underline-offset:.2em;text-decoration-thickness:.7px;text-decoration-color:color-mix(in lch,currentColor,transparent)}@media (hover: hover) and (pointer: fine){[tuiLink]:hover{--tui-text-secondary: var(--tui-text-primary)}}[tuiLink]:before{margin-inline-end:.25rem}[tuiLink]:after{margin-inline-start:.25rem}[tuiLink][tuiIcons]:before,[tuiLink][tuiIcons]:after{content:\"\\2060\";padding:calc(var(--tui-icon-size, 1rem) / 2);vertical-align:super;font-size:0;line-height:0;box-sizing:border-box}[tuiLink][tuiChevron]:after{display:inline-block}[tuiLink]:focus-visible:not([data-focus=false]){outline:none;background:var(--tui-service-selection-background);background:color-mix(in lch,currentColor 12%,transparent)}[tuiLink][data-focus=true]{outline:none;background:var(--tui-service-selection-background);background:color-mix(in lch,currentColor 12%,transparent)}[tuiLink][tuiWrapper]:not(._focused):has(:focus-visible),[tuiLink][tuiWrapper]._focused{outline:none;background:var(--tui-service-selection-background);background:color-mix(in lch,currentColor 12%,transparent)}@media (hover: hover) and (pointer: fine){[tuiLink]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover:not(:disabled):not([data-state]){text-decoration-color:currentColor}}@media (hover: hover) and (pointer: fine){[tuiLink]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover:not(:disabled):not([data-state]){text-decoration-color:currentColor}}[tuiLink][data-state=hover]{text-decoration-color:currentColor}@media (hover: hover) and (pointer: fine){[tuiLink][tuiWrapper]:hover:not(._no-hover),[tuiLink][tuiWrapper][data-state=hover]{text-decoration-color:currentColor}}[tuiLink]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active:not(:disabled):not([data-state]){text-decoration-color:currentColor}[tuiLink]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active:not(:disabled):not([data-state]){text-decoration-color:currentColor}[tuiLink][data-state=active]{text-decoration-color:currentColor}[tuiLink][tuiWrapper]:active:not(._no-active),[tuiLink][tuiWrapper][data-state=active],[tuiLink][tuiWrapper][data-state=active]:hover{text-decoration-color:currentColor}@media (hover: hover) and (pointer: fine){[tuiLink][data-appearance=\"\"]:hover{opacity:.7}}[tuiLink][data-appearance=\"\"]:active{opacity:.7}\n"] }]
18
- }] });
19
- class TuiLink {
20
- constructor() {
21
- this.nothing = tuiWithStyles(TuiLinkStyles);
22
- /**
23
- * @deprecated: use on host
24
- * [style.text-decoration-line]="'underline'"
25
- */
26
- this.pseudo = inject(TUI_LINK_OPTIONS).pseudo;
27
- }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLink, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
29
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiLink, isStandalone: true, selector: "a[tuiLink], button[tuiLink]", inputs: { pseudo: "pseudo" }, host: { attributes: { "tuiLink": "" }, properties: { "style.text-decoration-line": "pseudo ? \"underline\" : null" } }, providers: [tuiAppearanceOptionsProvider(TUI_LINK_OPTIONS)], hostDirectives: [{ directive: i1.TuiWithAppearance }, { directive: i2.TuiWithIcons }], ngImport: i0 }); }
30
- }
31
- export { TuiLink };
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLink, decorators: [{
33
- type: Directive,
34
- args: [{
35
- standalone: true,
36
- selector: 'a[tuiLink], button[tuiLink]',
37
- providers: [tuiAppearanceOptionsProvider(TUI_LINK_OPTIONS)],
38
- hostDirectives: [TuiWithAppearance, TuiWithIcons],
39
- host: {
40
- tuiLink: '',
41
- '[style.text-decoration-line]': 'pseudo ? "underline" : null',
42
- },
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