@taiga-ui/core 4.51.0 → 4.52.0-canary.1acd1eb

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 (491) hide show
  1. package/classes/driver.d.ts +1 -1
  2. package/components/alert/alert.component.d.ts +5 -6
  3. package/components/alert/alert.directive.d.ts +4 -3
  4. package/components/alert/alert.interfaces.d.ts +3 -2
  5. package/components/alert/alert.service.d.ts +6 -2
  6. package/components/alert/alert.tokens.d.ts +1 -7
  7. package/components/alert/index.d.ts +0 -1
  8. package/components/button/button.directive.d.ts +2 -3
  9. package/components/button/button.options.d.ts +1 -1
  10. package/components/calendar/calendar-sheet.component.d.ts +1 -6
  11. package/components/cell/cell.directive.d.ts +9 -0
  12. package/components/cell/cell.options.d.ts +6 -0
  13. package/components/cell/index.d.ts +2 -0
  14. package/components/data-list/data-list.component.d.ts +1 -1
  15. package/components/dialog/active-zone-adapter.directive.d.ts +11 -0
  16. package/components/dialog/dialog.component.d.ts +6 -11
  17. package/components/dialog/dialog.directive.d.ts +1 -1
  18. package/components/dialog/dialog.factory.d.ts +1 -1
  19. package/components/dialog/dialog.options.d.ts +26 -0
  20. package/components/dialog/{dialog-close.service.d.ts → dialog.providers.d.ts} +4 -1
  21. package/components/dialog/dialog.service.d.ts +1 -1
  22. package/components/dialog/index.d.ts +2 -3
  23. package/components/error/error.component.d.ts +6 -8
  24. package/components/error/error.d.ts +4 -0
  25. package/components/error/error.directive.d.ts +19 -0
  26. package/components/error/error.pipe.d.ts +10 -0
  27. package/components/error/index.d.ts +3 -0
  28. package/components/expand/expand.component.d.ts +9 -28
  29. package/components/expand/index.d.ts +0 -2
  30. package/components/header/header.directive.d.ts +17 -0
  31. package/components/header/index.d.ts +1 -0
  32. package/components/icon/icon.component.d.ts +6 -8
  33. package/components/index.d.ts +2 -1
  34. package/components/notification/notification.directive.d.ts +1 -1
  35. package/components/notification/notification.options.d.ts +1 -1
  36. package/components/root/root.component.d.ts +4 -6
  37. package/components/scrollbar/scrollbar.options.d.ts +1 -1
  38. package/components/spin-button/spin-button.component.d.ts +1 -1
  39. package/components/textfield/index.d.ts +1 -3
  40. package/components/textfield/textfield-content.directive.d.ts +3 -2
  41. package/components/textfield/textfield-icon.d.ts +3 -3
  42. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +6 -8
  43. package/components/textfield/textfield.component.d.ts +11 -10
  44. package/components/textfield/textfield.d.ts +2 -3
  45. package/components/textfield/textfield.directive.d.ts +2 -2
  46. package/components/textfield/textfield.options.d.ts +8 -11
  47. package/directives/appearance/appearance.directive.d.ts +5 -13
  48. package/directives/appearance/appearance.options.d.ts +1 -1
  49. package/directives/dropdown/dropdown-content.directive.d.ts +9 -0
  50. package/directives/dropdown/dropdown-context.directive.d.ts +2 -0
  51. package/directives/dropdown/dropdown.d.ts +2 -2
  52. package/directives/dropdown/dropdown.directive.d.ts +1 -2
  53. package/directives/dropdown/index.d.ts +1 -3
  54. package/directives/hint/hint-describe.directive.d.ts +4 -6
  55. package/directives/hint/hint-host.directive.d.ts +2 -2
  56. package/directives/hint/hint-hover.directive.d.ts +3 -4
  57. package/directives/hint/hint-manual.directive.d.ts +2 -2
  58. package/directives/hint/hint-options.directive.d.ts +3 -3
  59. package/directives/hint/hint-overflow.directive.d.ts +2 -2
  60. package/directives/hint/hint-position.directive.d.ts +4 -5
  61. package/directives/hint/hint-unstyled.component.d.ts +2 -7
  62. package/directives/hint/hint.component.d.ts +10 -11
  63. package/directives/hint/hint.directive.d.ts +9 -11
  64. package/directives/hint/index.d.ts +0 -2
  65. package/directives/icons/icons.bindings.d.ts +5 -0
  66. package/directives/icons/icons.directive.d.ts +8 -14
  67. package/directives/icons/index.d.ts +1 -0
  68. package/directives/index.d.ts +1 -1
  69. package/directives/notification/index.d.ts +2 -0
  70. package/directives/notification/notification.directive.d.ts +11 -0
  71. package/directives/notification/notification.service.d.ts +12 -0
  72. package/directives/popup/popup.directive.d.ts +6 -5
  73. package/directives/popup/popup.service.d.ts +1 -1
  74. package/directives/popup/popups.component.d.ts +2 -2
  75. package/directives/title/title.directive.d.ts +2 -3
  76. package/fesm2022/taiga-ui-core-animations.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-core-classes.mjs +3 -3
  78. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-core-components-alert.mjs +60 -100
  80. package/fesm2022/taiga-ui-core-components-alert.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-core-components-button.mjs +13 -21
  82. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-core-components-calendar.mjs +24 -25
  84. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-core-components-cell.mjs +45 -0
  86. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -0
  87. package/fesm2022/taiga-ui-core-components-data-list.mjs +32 -34
  88. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-core-components-dialog.mjs +104 -85
  90. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
  91. package/fesm2022/taiga-ui-core-components-error.mjs +109 -26
  92. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  93. package/fesm2022/taiga-ui-core-components-expand.mjs +34 -132
  94. package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
  95. package/fesm2022/taiga-ui-core-components-header.mjs +42 -0
  96. package/fesm2022/taiga-ui-core-components-header.mjs.map +1 -0
  97. package/fesm2022/taiga-ui-core-components-icon.mjs +22 -30
  98. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  99. package/fesm2022/taiga-ui-core-components-label.mjs +10 -13
  100. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  101. package/fesm2022/taiga-ui-core-components-link.mjs +10 -13
  102. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  103. package/fesm2022/taiga-ui-core-components-loader.mjs +6 -7
  104. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  105. package/fesm2022/taiga-ui-core-components-notification.mjs +17 -31
  106. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  107. package/fesm2022/taiga-ui-core-components-root.mjs +20 -51
  108. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  109. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +28 -28
  110. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-core-components-spin-button.mjs +7 -8
  112. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  113. package/fesm2022/taiga-ui-core-components-textfield.mjs +182 -281
  114. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  115. package/fesm2022/taiga-ui-core-components.mjs +2 -1
  116. package/fesm2022/taiga-ui-core-components.mjs.map +1 -1
  117. package/fesm2022/taiga-ui-core-directives-appearance.mjs +26 -63
  118. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  119. package/fesm2022/taiga-ui-core-directives-date-format.mjs +5 -5
  120. package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
  121. package/fesm2022/taiga-ui-core-directives-dropdown.mjs +96 -131
  122. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
  123. package/fesm2022/taiga-ui-core-directives-group.mjs +10 -13
  124. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  125. package/fesm2022/taiga-ui-core-directives-hint.mjs +145 -244
  126. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
  127. package/fesm2022/taiga-ui-core-directives-icons.mjs +41 -41
  128. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  129. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +12 -12
  130. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  131. package/fesm2022/taiga-ui-core-directives-notification.mjs +73 -0
  132. package/fesm2022/taiga-ui-core-directives-notification.mjs.map +1 -0
  133. package/fesm2022/taiga-ui-core-directives-number-format.mjs +5 -5
  134. package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
  135. package/fesm2022/taiga-ui-core-directives-popup.mjs +20 -27
  136. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +1 -1
  137. package/fesm2022/taiga-ui-core-directives-title.mjs +13 -19
  138. package/fesm2022/taiga-ui-core-directives-title.mjs.map +1 -1
  139. package/fesm2022/taiga-ui-core-directives.mjs +1 -1
  140. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +3 -3
  141. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +1 -1
  142. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +3 -3
  143. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -1
  144. package/fesm2022/taiga-ui-core-pipes-flag.mjs +3 -3
  145. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +3 -3
  147. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +1 -1
  148. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +3 -3
  149. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  150. package/fesm2022/taiga-ui-core-pipes-initials.mjs +3 -3
  151. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-core-pipes-month.mjs +5 -4
  153. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +3 -3
  155. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +1 -1
  156. package/fesm2022/taiga-ui-core-pipes.mjs +0 -1
  157. package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
  158. package/fesm2022/taiga-ui-core-services.mjs +18 -18
  159. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  160. package/fesm2022/taiga-ui-core-tokens.mjs +31 -17
  161. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  162. package/fesm2022/taiga-ui-core-utils-dom.mjs.map +1 -1
  163. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  164. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +50 -4
  165. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  166. package/package.json +23 -123
  167. package/pipes/index.d.ts +0 -1
  168. package/styles/components/appearance.less +6 -0
  169. package/styles/components/button.less +0 -2
  170. package/styles/components/icon.less +37 -12
  171. package/styles/components/icons.less +45 -7
  172. package/styles/components/link.less +1 -3
  173. package/styles/mixins/mixins.less +1 -2
  174. package/styles/mixins/mixins.scss +1 -2
  175. package/styles/mixins/slider.less +21 -16
  176. package/styles/theme/appearance/outline.less +1 -2
  177. package/styles/theme/appearance/textfield.less +1 -2
  178. package/tokens/i18n.d.ts +7 -7
  179. package/tokens/icon-resolver.d.ts +1 -4
  180. package/tokens/index.d.ts +1 -0
  181. package/tokens/validation-errors.d.ts +4 -0
  182. package/types/index.d.ts +0 -1
  183. package/utils/miscellaneous/index.d.ts +1 -0
  184. package/utils/miscellaneous/provide-taiga.d.ts +13 -0
  185. package/components/alert/alerts.component.d.ts +0 -12
  186. package/components/dialog/dialog.interfaces.d.ts +0 -34
  187. package/components/dialog/dialog.tokens.d.ts +0 -15
  188. package/components/expand/expand-content.directive.d.ts +0 -8
  189. package/components/expand/expand.d.ts +0 -6
  190. package/components/fullscreen/fullscreen.component.d.ts +0 -14
  191. package/components/fullscreen/index.d.ts +0 -1
  192. package/components/textfield/select.directive.d.ts +0 -19
  193. package/components/textfield/textfield-dropdown.directive.d.ts +0 -16
  194. package/directives/dropdown/dropdown-portal.directive.d.ts +0 -14
  195. package/directives/dropdown/dropdown.service.d.ts +0 -6
  196. package/directives/dropdown/dropdowns.component.d.ts +0 -9
  197. package/directives/hint/hint.service.d.ts +0 -13
  198. package/directives/hint/hints.component.d.ts +0 -12
  199. package/directives/surface/index.d.ts +0 -1
  200. package/directives/surface/surface.directive.d.ts +0 -8
  201. package/esm2022/animations/animations.mjs +0 -363
  202. package/esm2022/animations/index.mjs +0 -2
  203. package/esm2022/animations/taiga-ui-core-animations.mjs +0 -5
  204. package/esm2022/classes/accessors.mjs +0 -31
  205. package/esm2022/classes/driver.mjs +0 -36
  206. package/esm2022/classes/index.mjs +0 -4
  207. package/esm2022/classes/taiga-ui-core-classes.mjs +0 -5
  208. package/esm2022/classes/vehicle.mjs +0 -7
  209. package/esm2022/components/alert/alert.component.mjs +0 -43
  210. package/esm2022/components/alert/alert.directive.mjs +0 -21
  211. package/esm2022/components/alert/alert.interfaces.mjs +0 -2
  212. package/esm2022/components/alert/alert.service.mjs +0 -18
  213. package/esm2022/components/alert/alert.tokens.mjs +0 -51
  214. package/esm2022/components/alert/alerts.component.mjs +0 -34
  215. package/esm2022/components/alert/index.mjs +0 -6
  216. package/esm2022/components/alert/taiga-ui-core-components-alert.mjs +0 -5
  217. package/esm2022/components/button/button.directive.mjs +0 -43
  218. package/esm2022/components/button/button.options.mjs +0 -7
  219. package/esm2022/components/button/index.mjs +0 -3
  220. package/esm2022/components/button/taiga-ui-core-components-button.mjs +0 -5
  221. package/esm2022/components/calendar/calendar-sheet.component.mjs +0 -167
  222. package/esm2022/components/calendar/calendar-sheet.options.mjs +0 -12
  223. package/esm2022/components/calendar/calendar-spin.component.mjs +0 -53
  224. package/esm2022/components/calendar/calendar-year.component.mjs +0 -128
  225. package/esm2022/components/calendar/calendar.component.mjs +0 -147
  226. package/esm2022/components/calendar/index.mjs +0 -6
  227. package/esm2022/components/calendar/taiga-ui-core-components-calendar.mjs +0 -5
  228. package/esm2022/components/data-list/data-list.component.mjs +0 -139
  229. package/esm2022/components/data-list/data-list.directive.mjs +0 -19
  230. package/esm2022/components/data-list/data-list.mjs +0 -14
  231. package/esm2022/components/data-list/data-list.tokens.mjs +0 -18
  232. package/esm2022/components/data-list/index.mjs +0 -9
  233. package/esm2022/components/data-list/opt-group.directive.mjs +0 -21
  234. package/esm2022/components/data-list/option/option-content.mjs +0 -36
  235. package/esm2022/components/data-list/option/option-legacy.component.mjs +0 -90
  236. package/esm2022/components/data-list/option/option.directive.mjs +0 -109
  237. package/esm2022/components/data-list/taiga-ui-core-components-data-list.mjs +0 -5
  238. package/esm2022/components/dialog/dialog-close.service.mjs +0 -41
  239. package/esm2022/components/dialog/dialog.component.mjs +0 -63
  240. package/esm2022/components/dialog/dialog.directive.mjs +0 -21
  241. package/esm2022/components/dialog/dialog.factory.mjs +0 -15
  242. package/esm2022/components/dialog/dialog.interfaces.mjs +0 -2
  243. package/esm2022/components/dialog/dialog.service.mjs +0 -18
  244. package/esm2022/components/dialog/dialog.tokens.mjs +0 -33
  245. package/esm2022/components/dialog/dialogs.component.mjs +0 -29
  246. package/esm2022/components/dialog/index.mjs +0 -8
  247. package/esm2022/components/dialog/taiga-ui-core-components-dialog.mjs +0 -5
  248. package/esm2022/components/error/error.component.mjs +0 -34
  249. package/esm2022/components/error/index.mjs +0 -2
  250. package/esm2022/components/error/taiga-ui-core-components-error.mjs +0 -5
  251. package/esm2022/components/expand/expand-content.directive.mjs +0 -18
  252. package/esm2022/components/expand/expand.component.mjs +0 -124
  253. package/esm2022/components/expand/expand.mjs +0 -7
  254. package/esm2022/components/expand/index.mjs +0 -4
  255. package/esm2022/components/expand/taiga-ui-core-components-expand.mjs +0 -5
  256. package/esm2022/components/fullscreen/fullscreen.component.mjs +0 -67
  257. package/esm2022/components/fullscreen/index.mjs +0 -2
  258. package/esm2022/components/fullscreen/taiga-ui-core-components-fullscreen.mjs +0 -5
  259. package/esm2022/components/icon/icon.component.mjs +0 -35
  260. package/esm2022/components/icon/icon.pipe.mjs +0 -19
  261. package/esm2022/components/icon/index.mjs +0 -3
  262. package/esm2022/components/icon/taiga-ui-core-components-icon.mjs +0 -5
  263. package/esm2022/components/index.mjs +0 -18
  264. package/esm2022/components/label/index.mjs +0 -2
  265. package/esm2022/components/label/label.directive.mjs +0 -41
  266. package/esm2022/components/label/taiga-ui-core-components-label.mjs +0 -5
  267. package/esm2022/components/link/index.mjs +0 -3
  268. package/esm2022/components/link/link.directive.mjs +0 -47
  269. package/esm2022/components/link/link.options.mjs +0 -13
  270. package/esm2022/components/link/taiga-ui-core-components-link.mjs +0 -5
  271. package/esm2022/components/loader/index.mjs +0 -3
  272. package/esm2022/components/loader/loader.component.mjs +0 -46
  273. package/esm2022/components/loader/loader.options.mjs +0 -18
  274. package/esm2022/components/loader/taiga-ui-core-components-loader.mjs +0 -5
  275. package/esm2022/components/notification/index.mjs +0 -3
  276. package/esm2022/components/notification/notification.directive.mjs +0 -81
  277. package/esm2022/components/notification/notification.options.mjs +0 -23
  278. package/esm2022/components/notification/taiga-ui-core-components-notification.mjs +0 -5
  279. package/esm2022/components/root/index.mjs +0 -2
  280. package/esm2022/components/root/root.component.mjs +0 -85
  281. package/esm2022/components/root/taiga-ui-core-components-root.mjs +0 -5
  282. package/esm2022/components/scrollbar/index.mjs +0 -9
  283. package/esm2022/components/scrollbar/scroll-controls.component.mjs +0 -32
  284. package/esm2022/components/scrollbar/scroll-into-view.directive.mjs +0 -43
  285. package/esm2022/components/scrollbar/scroll-ref.directive.mjs +0 -19
  286. package/esm2022/components/scrollbar/scrollable.directive.mjs +0 -26
  287. package/esm2022/components/scrollbar/scrollbar.component.mjs +0 -72
  288. package/esm2022/components/scrollbar/scrollbar.directive.mjs +0 -93
  289. package/esm2022/components/scrollbar/scrollbar.options.mjs +0 -6
  290. package/esm2022/components/scrollbar/scrollbar.service.mjs +0 -46
  291. package/esm2022/components/scrollbar/taiga-ui-core-components-scrollbar.mjs +0 -5
  292. package/esm2022/components/spin-button/index.mjs +0 -2
  293. package/esm2022/components/spin-button/spin-button.component.mjs +0 -51
  294. package/esm2022/components/spin-button/taiga-ui-core-components-spin-button.mjs +0 -5
  295. package/esm2022/components/taiga-ui-core-components.mjs +0 -5
  296. package/esm2022/components/textfield/index.mjs +0 -16
  297. package/esm2022/components/textfield/select-like.directive.mjs +0 -42
  298. package/esm2022/components/textfield/select.directive.mjs +0 -65
  299. package/esm2022/components/textfield/taiga-ui-core-components-textfield.mjs +0 -5
  300. package/esm2022/components/textfield/textfield-accessor.mjs +0 -7
  301. package/esm2022/components/textfield/textfield-auxiliary.mjs +0 -7
  302. package/esm2022/components/textfield/textfield-content.directive.mjs +0 -22
  303. package/esm2022/components/textfield/textfield-dropdown.directive.mjs +0 -43
  304. package/esm2022/components/textfield/textfield-icon.mjs +0 -10
  305. package/esm2022/components/textfield/textfield-multi/textfield-item.component.mjs +0 -34
  306. package/esm2022/components/textfield/textfield-multi/textfield-multi.component.mjs +0 -137
  307. package/esm2022/components/textfield/textfield.component.mjs +0 -177
  308. package/esm2022/components/textfield/textfield.directive.mjs +0 -131
  309. package/esm2022/components/textfield/textfield.mjs +0 -19
  310. package/esm2022/components/textfield/textfield.options.mjs +0 -63
  311. package/esm2022/components/textfield/with-native-picker.directive.mjs +0 -24
  312. package/esm2022/directives/appearance/appearance.bindings.mjs +0 -15
  313. package/esm2022/directives/appearance/appearance.directive.mjs +0 -79
  314. package/esm2022/directives/appearance/appearance.options.mjs +0 -12
  315. package/esm2022/directives/appearance/index.mjs +0 -5
  316. package/esm2022/directives/appearance/taiga-ui-core-directives-appearance.mjs +0 -5
  317. package/esm2022/directives/appearance/with-appearance.mjs +0 -27
  318. package/esm2022/directives/date-format/date-format.directive.mjs +0 -31
  319. package/esm2022/directives/date-format/index.mjs +0 -2
  320. package/esm2022/directives/date-format/taiga-ui-core-directives-date-format.mjs +0 -5
  321. package/esm2022/directives/dropdown/dropdown-context.directive.mjs +0 -70
  322. package/esm2022/directives/dropdown/dropdown-hover.directive.mjs +0 -70
  323. package/esm2022/directives/dropdown/dropdown-hover.options.mjs +0 -17
  324. package/esm2022/directives/dropdown/dropdown-limit-width.mjs +0 -37
  325. package/esm2022/directives/dropdown/dropdown-manual.directive.mjs +0 -27
  326. package/esm2022/directives/dropdown/dropdown-open-legacy.directive.mjs +0 -33
  327. package/esm2022/directives/dropdown/dropdown-open.directive.mjs +0 -169
  328. package/esm2022/directives/dropdown/dropdown-options.directive.mjs +0 -73
  329. package/esm2022/directives/dropdown/dropdown-portal.directive.mjs +0 -34
  330. package/esm2022/directives/dropdown/dropdown-position-sided.directive.mjs +0 -69
  331. package/esm2022/directives/dropdown/dropdown-position.directive.mjs +0 -88
  332. package/esm2022/directives/dropdown/dropdown-selection.directive.mjs +0 -159
  333. package/esm2022/directives/dropdown/dropdown.bindings.mjs +0 -19
  334. package/esm2022/directives/dropdown/dropdown.component.mjs +0 -92
  335. package/esm2022/directives/dropdown/dropdown.directive.mjs +0 -110
  336. package/esm2022/directives/dropdown/dropdown.driver.mjs +0 -32
  337. package/esm2022/directives/dropdown/dropdown.mjs +0 -29
  338. package/esm2022/directives/dropdown/dropdown.providers.mjs +0 -10
  339. package/esm2022/directives/dropdown/dropdown.service.mjs +0 -15
  340. package/esm2022/directives/dropdown/dropdowns.component.mjs +0 -24
  341. package/esm2022/directives/dropdown/index.mjs +0 -22
  342. package/esm2022/directives/dropdown/taiga-ui-core-directives-dropdown.mjs +0 -5
  343. package/esm2022/directives/dropdown/with-dropdown-open.directive.mjs +0 -23
  344. package/esm2022/directives/group/group.directive.mjs +0 -53
  345. package/esm2022/directives/group/group.options.mjs +0 -15
  346. package/esm2022/directives/group/index.mjs +0 -3
  347. package/esm2022/directives/group/taiga-ui-core-directives-group.mjs +0 -5
  348. package/esm2022/directives/hint/hint-describe.directive.mjs +0 -50
  349. package/esm2022/directives/hint/hint-driver.directive.mjs +0 -19
  350. package/esm2022/directives/hint/hint-host.directive.mjs +0 -27
  351. package/esm2022/directives/hint/hint-hover.directive.mjs +0 -59
  352. package/esm2022/directives/hint/hint-manual.directive.mjs +0 -33
  353. package/esm2022/directives/hint/hint-options.directive.mjs +0 -86
  354. package/esm2022/directives/hint/hint-overflow.directive.mjs +0 -38
  355. package/esm2022/directives/hint/hint-pointer.directive.mjs +0 -33
  356. package/esm2022/directives/hint/hint-position.directive.mjs +0 -112
  357. package/esm2022/directives/hint/hint-unstyled.component.mjs +0 -39
  358. package/esm2022/directives/hint/hint.component.mjs +0 -127
  359. package/esm2022/directives/hint/hint.directive.mjs +0 -99
  360. package/esm2022/directives/hint/hint.mjs +0 -27
  361. package/esm2022/directives/hint/hint.providers.mjs +0 -9
  362. package/esm2022/directives/hint/hint.service.mjs +0 -29
  363. package/esm2022/directives/hint/hints.component.mjs +0 -34
  364. package/esm2022/directives/hint/index.mjs +0 -17
  365. package/esm2022/directives/hint/taiga-ui-core-directives-hint.mjs +0 -5
  366. package/esm2022/directives/icons/icons.directive.mjs +0 -56
  367. package/esm2022/directives/icons/index.mjs +0 -3
  368. package/esm2022/directives/icons/taiga-ui-core-directives-icons.mjs +0 -5
  369. package/esm2022/directives/icons/with-icons.mjs +0 -22
  370. package/esm2022/directives/index.mjs +0 -12
  371. package/esm2022/directives/items-handlers/index.mjs +0 -4
  372. package/esm2022/directives/items-handlers/items-handlers.directive.mjs +0 -63
  373. package/esm2022/directives/items-handlers/items-handlers.tokens.mjs +0 -27
  374. package/esm2022/directives/items-handlers/items-handlers.validator.mjs +0 -32
  375. package/esm2022/directives/items-handlers/taiga-ui-core-directives-items-handlers.mjs +0 -5
  376. package/esm2022/directives/number-format/index.mjs +0 -2
  377. package/esm2022/directives/number-format/number-format.directive.mjs +0 -31
  378. package/esm2022/directives/number-format/taiga-ui-core-directives-number-format.mjs +0 -5
  379. package/esm2022/directives/popup/index.mjs +0 -4
  380. package/esm2022/directives/popup/popup.directive.mjs +0 -31
  381. package/esm2022/directives/popup/popup.service.mjs +0 -15
  382. package/esm2022/directives/popup/popups.component.mjs +0 -20
  383. package/esm2022/directives/popup/taiga-ui-core-directives-popup.mjs +0 -5
  384. package/esm2022/directives/surface/index.mjs +0 -2
  385. package/esm2022/directives/surface/surface.directive.mjs +0 -44
  386. package/esm2022/directives/surface/taiga-ui-core-directives-surface.mjs +0 -5
  387. package/esm2022/directives/taiga-ui-core-directives.mjs +0 -5
  388. package/esm2022/directives/title/index.mjs +0 -2
  389. package/esm2022/directives/title/taiga-ui-core-directives-title.mjs +0 -5
  390. package/esm2022/directives/title/title.directive.mjs +0 -37
  391. package/esm2022/index.mjs +0 -9
  392. package/esm2022/pipes/auto-color/auto-color.pipe.mjs +0 -19
  393. package/esm2022/pipes/auto-color/index.mjs +0 -2
  394. package/esm2022/pipes/auto-color/taiga-ui-core-pipes-auto-color.mjs +0 -5
  395. package/esm2022/pipes/calendar-sheet/calendar-sheet.pipe.mjs +0 -54
  396. package/esm2022/pipes/calendar-sheet/index.mjs +0 -2
  397. package/esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs +0 -5
  398. package/esm2022/pipes/calendar-sheet/utils.mjs +0 -36
  399. package/esm2022/pipes/fallback-src/fallback-src.pipe.mjs +0 -23
  400. package/esm2022/pipes/fallback-src/index.mjs +0 -2
  401. package/esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs +0 -5
  402. package/esm2022/pipes/flag/flag.pipe.mjs +0 -26
  403. package/esm2022/pipes/flag/index.mjs +0 -2
  404. package/esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs +0 -5
  405. package/esm2022/pipes/format-date/format-date.pipe.mjs +0 -22
  406. package/esm2022/pipes/format-date/index.mjs +0 -2
  407. package/esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs +0 -5
  408. package/esm2022/pipes/format-number/format-number.pipe.mjs +0 -36
  409. package/esm2022/pipes/format-number/index.mjs +0 -2
  410. package/esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs +0 -5
  411. package/esm2022/pipes/index.mjs +0 -10
  412. package/esm2022/pipes/initials/index.mjs +0 -2
  413. package/esm2022/pipes/initials/initials.pipe.mjs +0 -23
  414. package/esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs +0 -5
  415. package/esm2022/pipes/month/index.mjs +0 -2
  416. package/esm2022/pipes/month/month.pipe.mjs +0 -23
  417. package/esm2022/pipes/month/taiga-ui-core-pipes-month.mjs +0 -5
  418. package/esm2022/pipes/order-week-days/index.mjs +0 -2
  419. package/esm2022/pipes/order-week-days/order-week-days.pipe.mjs +0 -30
  420. package/esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs +0 -5
  421. package/esm2022/pipes/taiga-ui-core-pipes.mjs +0 -5
  422. package/esm2022/services/breakpoint.service.mjs +0 -31
  423. package/esm2022/services/dark-theme.service.mjs +0 -24
  424. package/esm2022/services/format-date.service.mjs +0 -24
  425. package/esm2022/services/index.mjs +0 -6
  426. package/esm2022/services/position.service.mjs +0 -26
  427. package/esm2022/services/taiga-ui-core-services.mjs +0 -5
  428. package/esm2022/services/visual-viewport.service.mjs +0 -29
  429. package/esm2022/taiga-ui-core.mjs +0 -5
  430. package/esm2022/tokens/animations-speed.mjs +0 -9
  431. package/esm2022/tokens/assets-path.mjs +0 -11
  432. package/esm2022/tokens/auxiliary.mjs +0 -9
  433. package/esm2022/tokens/common-icons.mjs +0 -18
  434. package/esm2022/tokens/dark-mode.mjs +0 -41
  435. package/esm2022/tokens/date-format.mjs +0 -20
  436. package/esm2022/tokens/day-type-handler.mjs +0 -8
  437. package/esm2022/tokens/first-day-of-week.mjs +0 -9
  438. package/esm2022/tokens/i18n.mjs +0 -45
  439. package/esm2022/tokens/icon-resolver.mjs +0 -22
  440. package/esm2022/tokens/icon.mjs +0 -8
  441. package/esm2022/tokens/icons.mjs +0 -21
  442. package/esm2022/tokens/index.mjs +0 -21
  443. package/esm2022/tokens/media.mjs +0 -12
  444. package/esm2022/tokens/number-format.mjs +0 -24
  445. package/esm2022/tokens/reduced-motion.mjs +0 -7
  446. package/esm2022/tokens/scroll-ref.mjs +0 -6
  447. package/esm2022/tokens/selection-stream.mjs +0 -14
  448. package/esm2022/tokens/spin-icons.mjs +0 -8
  449. package/esm2022/tokens/taiga-ui-core-tokens.mjs +0 -5
  450. package/esm2022/tokens/theme.mjs +0 -5
  451. package/esm2022/tokens/viewport.mjs +0 -35
  452. package/esm2022/types/direction.mjs +0 -2
  453. package/esm2022/types/index.mjs +0 -2
  454. package/esm2022/types/interactive-state.mjs +0 -2
  455. package/esm2022/types/orientation.mjs +0 -2
  456. package/esm2022/types/point.mjs +0 -2
  457. package/esm2022/types/portal-item.mjs +0 -2
  458. package/esm2022/types/range-state.mjs +0 -2
  459. package/esm2022/types/size.mjs +0 -13
  460. package/esm2022/types/taiga-ui-core-types.mjs +0 -5
  461. package/esm2022/types/value-content-context.mjs +0 -2
  462. package/esm2022/utils/dom/check-fixed-position.mjs +0 -9
  463. package/esm2022/utils/dom/get-viewport.mjs +0 -24
  464. package/esm2022/utils/dom/get-word-range.mjs +0 -51
  465. package/esm2022/utils/dom/index.mjs +0 -4
  466. package/esm2022/utils/dom/taiga-ui-core-utils-dom.mjs +0 -5
  467. package/esm2022/utils/format/format-number.mjs +0 -47
  468. package/esm2022/utils/format/get-fractional-part-padded.mjs +0 -16
  469. package/esm2022/utils/format/index.mjs +0 -5
  470. package/esm2022/utils/format/number-to-string-without-exp.mjs +0 -18
  471. package/esm2022/utils/format/string-hash-to-hsl.mjs +0 -21
  472. package/esm2022/utils/format/taiga-ui-core-utils-format.mjs +0 -5
  473. package/esm2022/utils/index.mjs +0 -4
  474. package/esm2022/utils/miscellaneous/font-scaling.mjs +0 -11
  475. package/esm2022/utils/miscellaneous/index.mjs +0 -7
  476. package/esm2022/utils/miscellaneous/is-editing-key.mjs +0 -18
  477. package/esm2022/utils/miscellaneous/is-obscured.mjs +0 -8
  478. package/esm2022/utils/miscellaneous/override-options.mjs +0 -11
  479. package/esm2022/utils/miscellaneous/size-bigger.mjs +0 -19
  480. package/esm2022/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs +0 -5
  481. package/esm2022/utils/miscellaneous/to-animation-options.mjs +0 -16
  482. package/esm2022/utils/taiga-ui-core-utils.mjs +0 -5
  483. package/fesm2022/taiga-ui-core-components-fullscreen.mjs +0 -73
  484. package/fesm2022/taiga-ui-core-components-fullscreen.mjs.map +0 -1
  485. package/fesm2022/taiga-ui-core-directives-surface.mjs +0 -50
  486. package/fesm2022/taiga-ui-core-directives-surface.mjs.map +0 -1
  487. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs +0 -29
  488. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs.map +0 -1
  489. package/pipes/fallback-src/fallback-src.pipe.d.ts +0 -9
  490. package/pipes/fallback-src/index.d.ts +0 -1
  491. package/types/portal-item.d.ts +0 -9
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS11dGlscy1kb20uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL2RvbS90YWlnYS11aS1jb3JlLXV0aWxzLWRvbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,47 +0,0 @@
1
- import { CHAR_HYPHEN } from '@taiga-ui/cdk/constants';
2
- import { tuiRoundWith } from '@taiga-ui/cdk/utils/math';
3
- import { TUI_DEFAULT_NUMBER_FORMAT, } from '@taiga-ui/core/tokens';
4
- import { tuiGetFractionPartPadded } from './get-fractional-part-padded';
5
- /**
6
- * Formats number adding a thousand separators and correct decimal separator
7
- * padding decimal part with zeroes to given length
8
- *
9
- * @param value the input number
10
- * @param settings See {@link TuiNumberFormatSettings}
11
- * @return the formatted string
12
- */
13
- export function tuiFormatNumber(value, settings = {}) {
14
- const { precision, decimalSeparator, thousandSeparator, decimalMode, rounding } = {
15
- ...TUI_DEFAULT_NUMBER_FORMAT,
16
- decimalMode: 'always',
17
- precision: Infinity,
18
- ...settings,
19
- };
20
- const rounded = Number.isFinite(precision)
21
- ? tuiRoundWith({ value, precision, method: rounding })
22
- : value;
23
- const integerPartString = String(Math.floor(Math.abs(rounded)));
24
- let fractionPartPadded = tuiGetFractionPartPadded(rounded, precision);
25
- const hasFraction = Number(fractionPartPadded) > 0;
26
- if (Number.isFinite(precision)) {
27
- if (decimalMode === 'always' || (hasFraction && decimalMode === 'pad')) {
28
- const zeroPaddingSize = Math.max(precision - fractionPartPadded.length, 0);
29
- const zeroPartString = '0'.repeat(zeroPaddingSize);
30
- fractionPartPadded = `${fractionPartPadded}${zeroPartString}`;
31
- }
32
- else {
33
- fractionPartPadded = fractionPartPadded.replace(/0*$/, '');
34
- }
35
- }
36
- const remainder = integerPartString.length % 3;
37
- const sign = value < 0 ? CHAR_HYPHEN : '';
38
- let result = sign + integerPartString.charAt(0);
39
- for (let i = 1; i < integerPartString.length; i++) {
40
- if (i % 3 === remainder && integerPartString.length > 3) {
41
- result += thousandSeparator;
42
- }
43
- result += integerPartString.charAt(i);
44
- }
45
- return fractionPartPadded ? result + decimalSeparator + fractionPartPadded : result;
46
- }
47
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0LW51bWJlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvdXRpbHMvZm9ybWF0L2Zvcm1hdC1udW1iZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFdBQVcsRUFBQyxNQUFNLHlCQUF5QixDQUFDO0FBQ3BELE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSww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cmluZyA9ICcwJy5yZXBlYXQoemVyb1BhZGRpbmdTaXplKTtcblxuICAgICAgICAgICAgZnJhY3Rpb25QYXJ0UGFkZGVkID0gYCR7ZnJhY3Rpb25QYXJ0UGFkZGVkfSR7emVyb1BhcnRTdHJpbmd9YDtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIGZyYWN0aW9uUGFydFBhZGRlZCA9IGZyYWN0aW9uUGFydFBhZGRlZC5yZXBsYWNlKC8wKiQvLCAnJyk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBjb25zdCByZW1haW5kZXIgPSBpbnRlZ2VyUGFydFN0cmluZy5sZW5ndGggJSAzO1xuICAgIGNvbnN0IHNpZ24gPSB2YWx1ZSA8IDAgPyBDSEFSX0hZUEhFTiA6ICcnO1xuICAgIGxldCByZXN1bHQgPSBzaWduICsgaW50ZWdlclBhcnRTdHJpbmcuY2hhckF0KDApO1xuXG4gICAgZm9yIChsZXQgaSA9IDE7IGkgPCBpbnRlZ2VyUGFydFN0cmluZy5sZW5ndGg7IGkrKykge1xuICAgICAgICBpZiAoaSAlIDMgPT09IHJlbWFpbmRlciAmJiBpbnRlZ2VyUGFydFN0cmluZy5sZW5ndGggPiAzKSB7XG4gICAgICAgICAgICByZXN1bHQgKz0gdGhvdXNhbmRTZXBhcmF0b3I7XG4gICAgICAgIH1cblxuICAgICAgICByZXN1bHQgKz0gaW50ZWdlclBhcnRTdHJpbmcuY2hhckF0KGkpO1xuICAgIH1cblxuICAgIHJldHVybiBmcmFjdGlvblBhcnRQYWRkZWQgPyByZXN1bHQgKyBkZWNpbWFsU2VwYXJhdG9yICsgZnJhY3Rpb25QYXJ0UGFkZGVkIDogcmVzdWx0O1xufVxuIl19
@@ -1,16 +0,0 @@
1
- import { tuiIsNumber } from '@taiga-ui/cdk/utils/miscellaneous';
2
- import { tuiNumberToStringWithoutExp } from './number-to-string-without-exp';
3
- /**
4
- * Return fractional part of number
5
- *
6
- * @param value the number
7
- * @param precision number of digits of decimal part, null to keep untouched
8
- * @return the fractional part of number
9
- */
10
- export function tuiGetFractionPartPadded(value, precision) {
11
- const [, fractionPartPadded = ''] = tuiNumberToStringWithoutExp(value).split('.');
12
- return tuiIsNumber(precision)
13
- ? fractionPartPadded.slice(0, Math.max(0, precision))
14
- : fractionPartPadded;
15
- }
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWZyYWN0aW9uYWwtcGFydC1wYWRkZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL2Zvcm1hdC9nZXQtZnJhY3Rpb25hbC1wYXJ0LXBhZGRlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFFOUQsT0FBTyxFQUFDLDJCQUEyQixFQUFDLE1BQU0sZ0NBQWdDLENBQUM7QUFFM0U7Ozs7OztHQU1HO0FBQ0gsTUFBTSxVQUFVLHdCQUF3QixDQUNwQyxLQUFhLEVBQ2IsU0FBeUI7SUFFekIsTUFBTSxDQUFDLEVBQUUsa0JBQWtCLEdBQUcsRUFBRSxDQUFDLEdBQUcsMkJBQTJCLENBQUMsS0FBSyxDQUFDLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBRWxGLE9BQU8sV0FBVyxDQUFDLFNBQVMsQ0FBQztRQUN6QixDQUFDLENBQUMsa0JBQWtCLENBQUMsS0FBSyxDQUFDLENBQUMsRUFBRSxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMsRUFBRSxTQUFTLENBQUMsQ0FBQztRQUNyRCxDQUFDLENBQUMsa0JBQWtCLENBQUM7QUFDN0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7dHVpSXNOdW1iZXJ9IGZyb20gJ0B0YWlnYS11aS9jZGsvdXRpbHMvbWlzY2VsbGFuZW91cyc7XG5cbmltcG9ydCB7dHVpTnVtYmVyVG9TdHJpbmdXaXRob3V0RXhwfSBmcm9tICcuL251bWJlci10by1zdHJpbmctd2l0aG91dC1leHAnO1xuXG4vKipcbiAqIFJldHVybiBmcmFjdGlvbmFsIHBhcnQgb2YgbnVtYmVyXG4gKlxuICogQHBhcmFtIHZhbHVlIHRoZSBudW1iZXJcbiAqIEBwYXJhbSBwcmVjaXNpb24gbnVtYmVyIG9mIGRpZ2l0cyBvZiBkZWNpbWFsIHBhcnQsIG51bGwgdG8ga2VlcCB1bnRvdWNoZWRcbiAqIEByZXR1cm4gdGhlIGZyYWN0aW9uYWwgcGFydCBvZiBudW1iZXJcbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIHR1aUdldEZyYWN0aW9uUGFydFBhZGRlZChcbiAgICB2YWx1ZTogbnVtYmVyLFxuICAgIHByZWNpc2lvbj86IG51bWJlciB8IG51bGwsXG4pOiBzdHJpbmcge1xuICAgIGNvbnN0IFssIGZyYWN0aW9uUGFydFBhZGRlZCA9ICcnXSA9IHR1aU51bWJlclRvU3RyaW5nV2l0aG91dEV4cCh2YWx1ZSkuc3BsaXQoJy4nKTtcblxuICAgIHJldHVybiB0dWlJc051bWJlcihwcmVjaXNpb24pXG4gICAgICAgID8gZnJhY3Rpb25QYXJ0UGFkZGVkLnNsaWNlKDAsIE1hdGgubWF4KDAsIHByZWNpc2lvbikpXG4gICAgICAgIDogZnJhY3Rpb25QYXJ0UGFkZGVkO1xufVxuIl19
@@ -1,5 +0,0 @@
1
- export * from './format-number';
2
- export * from './get-fractional-part-padded';
3
- export * from './number-to-string-without-exp';
4
- export * from './string-hash-to-hsl';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL2Zvcm1hdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsOEJBQThCLENBQUM7QUFDN0MsY0FBYyxnQ0FBZ0MsQ0FBQztBQUMvQyxjQUFjLHNCQUFzQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mb3JtYXQtbnVtYmVyJztcbmV4cG9ydCAqIGZyb20gJy4vZ2V0LWZyYWN0aW9uYWwtcGFydC1wYWRkZWQnO1xuZXhwb3J0ICogZnJvbSAnLi9udW1iZXItdG8tc3RyaW5nLXdpdGhvdXQtZXhwJztcbmV4cG9ydCAqIGZyb20gJy4vc3RyaW5nLWhhc2gtdG8taHNsJztcbiJdfQ==
@@ -1,18 +0,0 @@
1
- /**
2
- * Convert number to string with replacing exponent part on decimals
3
- *
4
- * @param value the number
5
- * @return string representation of a number
6
- */
7
- export function tuiNumberToStringWithoutExp(value) {
8
- const valueAsString = String(value);
9
- const [numberPart, expPart] = valueAsString.split('e-');
10
- let valueWithoutExp = valueAsString;
11
- if (expPart) {
12
- const [, fractionalPart = ''] = numberPart?.split('.') ?? [];
13
- const decimalDigits = Number(expPart) + (fractionalPart?.length || 0);
14
- valueWithoutExp = value.toFixed(decimalDigits);
15
- }
16
- return valueWithoutExp;
17
- }
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLXRvLXN0cmluZy13aXRob3V0LWV4cC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvdXRpbHMvZm9ybWF0L251bWJlci10by1zdHJpbmctd2l0aG91dC1leHAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7O0dBS0c7QUFDSCxNQUFNLFVBQVUsMkJBQTJCLENBQU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xuXG4gICAgbGV0IHZhbHVlV2l0aG91dEV4cCA9IHZhbHVlQXNTdHJpbmc7XG5cbiAgICBpZiAoZXhwUGFydCkge1xuICAgICAgICBjb25zdCBbLCBmcmFjdGlvbmFsUGFydCA9ICcnXSA9IG51bWJlclBhcnQ/LnNwbGl0KCcuJykgPz8gW107XG4gICAgICAgIGNvbnN0IGRlY2ltYWxEaWdpdHMgPSBOdW1iZXIoZXhwUGFydCkgKyAoZnJhY3Rpb25hbFBhcnQ/Lmxlbmd0aCB8fCAwKTtcblxuICAgICAgICB2YWx1ZVdpdGhvdXRFeHAgPSB2YWx1ZS50b0ZpeGVkKGRlY2ltYWxEaWdpdHMpO1xuICAgIH1cblxuICAgIHJldHVybiB2YWx1ZVdpdGhvdXRFeHA7XG59XG4iXX0=
@@ -1,21 +0,0 @@
1
- /**
2
- * Converts a string to an HSL color
3
- * @param value string to convert
4
- * @return HSL color string
5
- */
6
- // @bad TODO: convert stringHashToHsl to stringHashToRgb
7
- export function tuiStringHashToHsl(value) {
8
- if (value === '') {
9
- return '';
10
- }
11
- let hash = 0;
12
- for (let i = 0; i < value.length; i++) {
13
- hash = value.charCodeAt(i) + ((hash << 5) - hash);
14
- hash &= hash;
15
- }
16
- const hue = hash % 360;
17
- const saturation = 60 + (hash % 5);
18
- const lightness = 80 + (hash % 5);
19
- return `hsl(${hue},${saturation}%,${lightness}%)`;
20
- }
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RyaW5nLWhhc2gtdG8taHNsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS91dGlscy9mb3JtYXQvc3RyaW5nLWhhc2gtdG8taHNsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7O0dBSUc7QUFDSCx3REFBd0Q7QUFDeEQsTUFBTSxVQUFVLGtCQUFrQixDQUFDLEtBQWE7S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ICAgcmV0dXJuICcnO1xuICAgIH1cblxuICAgIGxldCBoYXNoID0gMDtcblxuICAgIGZvciAobGV0IGkgPSAwOyBpIDwgdmFsdWUubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgaGFzaCA9IHZhbHVlLmNoYXJDb2RlQXQoaSkgKyAoKGhhc2ggPDwgNSkgLSBoYXNoKTtcbiAgICAgICAgaGFzaCAmPSBoYXNoO1xuICAgIH1cblxuICAgIGNvbnN0IGh1ZSA9IGhhc2ggJSAzNjA7XG4gICAgY29uc3Qgc2F0dXJhdGlvbiA9IDYwICsgKGhhc2ggJSA1KTtcbiAgICBjb25zdCBsaWdodG5lc3MgPSA4MCArIChoYXNoICUgNSk7XG5cbiAgICByZXR1cm4gYGhzbCgke2h1ZX0sJHtzYXR1cmF0aW9ufSUsJHtsaWdodG5lc3N9JSlgO1xufVxuIl19
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS11dGlscy1mb3JtYXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL2Zvcm1hdC90YWlnYS11aS1jb3JlLXV0aWxzLWZvcm1hdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,4 +0,0 @@
1
- export * from '@taiga-ui/core/utils/dom';
2
- export * from '@taiga-ui/core/utils/format';
3
- export * from '@taiga-ui/core/utils/miscellaneous';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLG9DQUFvQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2NvcmUvdXRpbHMvZG9tJztcbmV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9jb3JlL3V0aWxzL2Zvcm1hdCc7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvY29yZS91dGlscy9taXNjZWxsYW5lb3VzJztcbiJdfQ==
@@ -1,11 +0,0 @@
1
- import { DOCUMENT } from '@angular/common';
2
- import { inject } from '@angular/core';
3
- import { TUI_FONT_SIZE_HANDLER } from '@taiga-ui/cdk/directives/font-size';
4
- import { tuiClamp } from '@taiga-ui/cdk/utils/math';
5
- export function tuiEnableFontScaling() {
6
- return {
7
- provide: TUI_FONT_SIZE_HANDLER,
8
- useFactory: ({ documentElement } = inject(DOCUMENT)) => (size) => documentElement.style.setProperty('--tui-font-offset', `${tuiClamp(size, 17, 28) - 17}px`),
9
- };
10
- }
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9udC1zY2FsaW5nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS91dGlscy9taXNjZWxsYW5lb3VzL2ZvbnQtc2NhbGluZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDekM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jdW1lbnRFbGVtZW50fSA9IGluamVjdChET0NVTUVOVCkpID0+XG4gICAgICAgICAgICAoc2l6ZTogbnVtYmVyKTogdm9pZCA9PlxuICAgICAgICAgICAgICAgIGRvY3VtZW50RWxlbWVudC5zdHlsZS5zZXRQcm9wZXJ0eShcbiAgICAgICAgICAgICAgICAgICAgJy0tdHVpLWZvbnQtb2Zmc2V0JyxcbiAgICAgICAgICAgICAgICAgICAgYCR7dHVpQ2xhbXAoc2l6ZSwgMTcsIDI4KSAtIDE3fXB4YCxcbiAgICAgICAgICAgICAgICApLFxuICAgIH07XG59XG4iXX0=
@@ -1,7 +0,0 @@
1
- export * from './font-scaling';
2
- export * from './is-editing-key';
3
- export * from './is-obscured';
4
- export * from './override-options';
5
- export * from './size-bigger';
6
- export * from './to-animation-options';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL21pc2NlbGxhbmVvdXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsZUFBZSxDQUFDO0FBQzlCLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxlQUFlLENBQUM7QUFDOUIsY0FBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZm9udC1zY2FsaW5nJztcbmV4cG9ydCAqIGZyb20gJy4vaXMtZWRpdGluZy1rZXknO1xuZXhwb3J0ICogZnJvbSAnLi9pcy1vYnNjdXJlZCc7XG5leHBvcnQgKiBmcm9tICcuL292ZXJyaWRlLW9wdGlvbnMnO1xuZXhwb3J0ICogZnJvbSAnLi9zaXplLWJpZ2dlcic7XG5leHBvcnQgKiBmcm9tICcuL3RvLWFuaW1hdGlvbi1vcHRpb25zJztcbiJdfQ==
@@ -1,18 +0,0 @@
1
- const KEYS = [
2
- 'Spacebar',
3
- 'Backspace',
4
- 'Delete',
5
- 'ArrowLeft',
6
- 'ArrowRight',
7
- 'Left',
8
- 'Right',
9
- 'End',
10
- 'Home',
11
- ];
12
- /**
13
- * Check if pressed key is interactive in terms of input field
14
- */
15
- export function tuiIsEditingKey(key = '') {
16
- return key.length === 1 || KEYS.includes(key);
17
- }
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtZWRpdGluZy1rZXkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL21pc2NlbGxhbmVvdXMvaXMtZWRpdGluZy1rZXkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxJQUFJLEdBQXNCO0lBQzVCLFVBQVU7SUFDVixXQUFXO0lBQ1gsUUFBUTtJQUNSLFdBQVc7SUFDWCxZQUFZO0lBQ1osTUFBTTtJQUNOLE9BQU87SUFDUCxLQUFLO0lBQ0wsTUFBTTtDQUNULENBQUM7QUFFRjs7R0FFRztBQUNILE1BQU0sVUFBVSxlQUFlLENBQUMsR0FBRyxHQUFHLEVBQUU7SUFDcEMsT0FBTyxHQUFHLENBQUMsTUFBTSxLQUFLLENBQUMsSUFBSSxJQUFJLENBQUMsUUFBUSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQ2xELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBLRVlTOiByZWFkb25seSBzdHJpbmdbXSA9IFtcbiAgICAnU3BhY2ViYXInLFxuICAgICdCYWNrc3BhY2UnLFxuICAgICdEZWxldGUnLFxuICAgICdBcnJvd0xlZnQnLFxuICAgICdBcnJvd1JpZ2h0JyxcbiAgICAnTGVmdCcsXG4gICAgJ1JpZ2h0JyxcbiAgICAnRW5kJyxcbiAgICAnSG9tZScsXG5dO1xuXG4vKipcbiAqIENoZWNrIGlmIHByZXNzZWQga2V5IGlzIGludGVyYWN0aXZlIGluIHRlcm1zIG9mIGlucHV0IGZpZWxkXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiB0dWlJc0VkaXRpbmdLZXkoa2V5ID0gJycpOiBib29sZWFuIHtcbiAgICByZXR1cm4ga2V5Lmxlbmd0aCA9PT0gMSB8fCBLRVlTLmluY2x1ZGVzKGtleSk7XG59XG4iXX0=
@@ -1,8 +0,0 @@
1
- import { tuiGetElementObscures } from '@taiga-ui/cdk/utils/dom';
2
- /**
3
- * @internal
4
- */
5
- export function tuiIsObscured(el, exceptSelector = 'tui-hints') {
6
- return !!tuiGetElementObscures(el)?.some((el) => !el.closest(exceptSelector));
7
- }
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtb2JzY3VyZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL21pc2NlbGxhbmVvdXMvaXMtb2JzY3VyZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLHFCQUFxQixFQUFDLE1BQU0seUJBQXlCLENBQUM7QUFFOUQ7O0dBRUc7QUFDSCxNQUFNLFVBQVUsYUFBYSxDQUFDLEVBQWUsRUFBRSxjQUFjLEdBQUcsV0FBVztJQUN2RSxPQUFPLENBQUMsQ0FBQyxxQkFBcUIsQ0FBQyxFQUFFLENBQUMsRUFBRSxJQUFJLENBQUMsQ0FBQyxFQUFFLEVBQUUsRUFBRSxDQUFDLENBQUMsRUFBRSxDQUFDLE9BQU8sQ0FBQyxjQUFjLENBQUMsQ0FBQyxDQUFDO0FBQ2xGLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge3R1aUdldEVsZW1lbnRPYnNjdXJlc30gZnJvbSAnQHRhaWdhLXVpL2Nkay91dGlscy9kb20nO1xuXG4vKipcbiAqIEBpbnRlcm5hbFxuICovXG5leHBvcnQgZnVuY3Rpb24gdHVpSXNPYnNjdXJlZChlbDogSFRNTEVsZW1lbnQsIGV4Y2VwdFNlbGVjdG9yID0gJ3R1aS1oaW50cycpOiBib29sZWFuIHtcbiAgICByZXR1cm4gISF0dWlHZXRFbGVtZW50T2JzY3VyZXMoZWwpPy5zb21lKChlbCkgPT4gIWVsLmNsb3Nlc3QoZXhjZXB0U2VsZWN0b3IpKTtcbn1cbiJdfQ==
@@ -1,11 +0,0 @@
1
- export function tuiOverrideOptions(override, fallback) {
2
- return (directive, options) => {
3
- const result = directive || { ...(options || fallback) };
4
- Object.keys(override).forEach((key) => {
5
- // Update directive props with new defaults before inputs are processed
6
- result[key] = override[key];
7
- });
8
- return result;
9
- };
10
- }
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3ZlcnJpZGUtb3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvdXRpbHMvbWlzY2VsbGFuZW91cy9vdmVycmlkZS1vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sVUFBVSxrQkFBa0IsQ0FDOUIsUUFBb0IsRUFDcEIsUUFBVztJQUVYLE9BQU8sQ0FBQyxTQUFTLEVBQUUsT0FBTyxFQUFFLEVBQUU7UUFDMUIsTUFBTSxNQUFNLEdBQU0sU0FBUyxJQUFJLEVBQUMsR0FBRyxDQUFDLE9BQU8sSUFBSSxRQUFRLENBQUMsRUFBQyxDQUFDO1FBRTFELE1BQU0sQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDLENBQUMsT0FBTyxDQUFDLENBQUMsR0FBRyxFQUFFLEVBQUU7WUFDbEMsdUVBQXVFO1lBQ3RFLE1BQWtDLENBQUMsR0FBRyxDQUFDLEdBQUcsUUFBUSxDQUFDLEdBQWMsQ0FBQyxDQUFDO1FBQ3hFLENBQUMsQ0FBQyxDQUFDO1FBRUgsT0FBTyxNQUFNLENBQUM7SUFDbEIsQ0FBQyxDQUFDO0FBQ04sQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBmdW5jdGlvbiB0dWlPdmVycmlkZU9wdGlvbnM8VD4oXG4gICAgb3ZlcnJpZGU6IFBhcnRpYWw8VD4sXG4gICAgZmFsbGJhY2s6IFQsXG4pOiAoZGlyZWN0aXZlOiBUIHwgbnVsbCwgb3B0aW9uczogVCB8IG51bGwpID0+IFQge1xuICAgIHJldHVybiAoZGlyZWN0aXZlLCBvcHRpb25zKSA9PiB7XG4gICAgICAgIGNvbnN0IHJlc3VsdDogVCA9IGRpcmVjdGl2ZSB8fCB7Li4uKG9wdGlvbnMgfHwgZmFsbGJhY2spfTtcblxuICAgICAgICBPYmplY3Qua2V5cyhvdmVycmlkZSkuZm9yRWFjaCgoa2V5KSA9PiB7XG4gICAgICAgICAgICAvLyBVcGRhdGUgZGlyZWN0aXZlIHByb3BzIHdpdGggbmV3IGRlZmF1bHRzIGJlZm9yZSBpbnB1dHMgYXJlIHByb2Nlc3NlZFxuICAgICAgICAgICAgKHJlc3VsdCBhcyBSZWNvcmQ8c3RyaW5nLCB1bmtub3duPilba2V5XSA9IG92ZXJyaWRlW2tleSBhcyBrZXlvZiBUXTtcbiAgICAgICAgfSk7XG5cbiAgICAgICAgcmV0dXJuIHJlc3VsdDtcbiAgICB9O1xufVxuIl19
@@ -1,19 +0,0 @@
1
- const SIZES = {
2
- xxs: 0,
3
- xs: 1,
4
- s: 2,
5
- m: 3,
6
- l: 4,
7
- xl: 5,
8
- xxl: 6,
9
- };
10
- /**
11
- * Compares size constants to determine if first size is bigger than the second
12
- *
13
- * @param size size that we need to compare
14
- * @param biggerThanSize size to compare with, 's' by default
15
- */
16
- export function tuiSizeBigger(size, biggerThanSize = 's') {
17
- return SIZES[size] > SIZES[biggerThanSize];
18
- }
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2l6ZS1iaWdnZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL21pc2NlbGxhbmVvdXMvc2l6ZS1iaWdnZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxLQUFLLEdBQTRDO0lBQ25ELEdBQUcsRUFBRSxDQUFDO0lBQ04sRUFBRSxFQUFFLENBQUM7SUFDTCxDQUFDLEVBQUUsQ0FBQztJQUNKLENBQUMsRUFBRSxDQUFDO0lBQ0osQ0FBQyxFQUFFLENBQUM7SUFDSixFQUFFLEVBQUUsQ0FBQztJQUNMLEdBQUcsRUFBRSxDQUFDO0NBQ1QsQ0FBQztBQUVGOzs7OztHQUtHO0FBQ0gsTUFBTSxVQUFVLGFBQWEsQ0FDekIsSUFBNkIsRUFDN0IsaUJBQTBDLEdBQUc7SUFFN0MsT0FBTyxLQUFLLENBQUMsSUFBSSxDQUFDLEdBQUcsS0FBSyxDQUFDLGNBQWMsQ0FBQyxDQUFDO0FBQy9DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge3R5cGUgVHVpU2l6ZVhYTCwgdHlwZSBUdWlTaXplWFhTfSBmcm9tICdAdGFpZ2EtdWkvY29yZS90eXBlcyc7XG5cbmNvbnN0IFNJWkVTOiBSZWNvcmQ8VHVpU2l6ZVhYTCB8IFR1aVNpemVYWFMsIG51bWJlcj4gPSB7XG4gICAgeHhzOiAwLFxuICAgIHhzOiAxLFxuICAgIHM6IDIsXG4gICAgbTogMyxcbiAgICBsOiA0LFxuICAgIHhsOiA1LFxuICAgIHh4bDogNixcbn07XG5cbi8qKlxuICogQ29tcGFyZXMgc2l6ZSBjb25zdGFudHMgdG8gZGV0ZXJtaW5lIGlmIGZpcnN0IHNpemUgaXMgYmlnZ2VyIHRoYW4gdGhlIHNlY29uZFxuICpcbiAqIEBwYXJhbSBzaXplIHNpemUgdGhhdCB3ZSBuZWVkIHRvIGNvbXBhcmVcbiAqIEBwYXJhbSBiaWdnZXJUaGFuU2l6ZSBzaXplIHRvIGNvbXBhcmUgd2l0aCwgJ3MnIGJ5IGRlZmF1bHRcbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIHR1aVNpemVCaWdnZXIoXG4gICAgc2l6ZTogVHVpU2l6ZVhYTCB8IFR1aVNpemVYWFMsXG4gICAgYmlnZ2VyVGhhblNpemU6IFR1aVNpemVYWEwgfCBUdWlTaXplWFhTID0gJ3MnLFxuKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIFNJWkVTW3NpemVdID4gU0laRVNbYmlnZ2VyVGhhblNpemVdO1xufVxuIl19
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS11dGlscy1taXNjZWxsYW5lb3VzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS91dGlscy9taXNjZWxsYW5lb3VzL3RhaWdhLXVpLWNvcmUtdXRpbHMtbWlzY2VsbGFuZW91cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,16 +0,0 @@
1
- import { inject } from '@angular/core';
2
- import { TUI_ANIMATIONS_SPEED } from '@taiga-ui/core/tokens';
3
- export const TUI_ANIMATIONS_DEFAULT_DURATION = 300;
4
- export function tuiToAnimationOptions(speed = inject(TUI_ANIMATIONS_SPEED), easing) {
5
- return {
6
- value: '',
7
- params: {
8
- duration: tuiGetDuration(speed),
9
- easing,
10
- },
11
- };
12
- }
13
- export function tuiGetDuration(speed) {
14
- return speed && TUI_ANIMATIONS_DEFAULT_DURATION / speed;
15
- }
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG8tYW5pbWF0aW9uLW9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL21pc2NlbGxhbmVvdXMvdG8tYW5pbWF0aW9uLW9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFDLE1BQU0sRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNyQyxPQUFPLEVBQUMsb0JBQW9CLEVBQUMsTUFBTSx1QkFBdUIsQ0FBQztBQUUzRCxNQUFNLENBQUMsTUFBTSwrQkFBK0IsR0FBRyxHQUFHLENBQUM7QUFFbkQsTUFBTSxVQUFVLHFCQUFxQixDQUNqQyxRQUFnQixNQUFNLENBQUMsb0JBQW9CLENBQUMsRUFDNUMsTUFBZTtJQUVmLE9BQU87UUFDSCxLQUFLLEVBQUUsRUFBRTtRQUNULE1BQU0sRUFBRTtZQUNKLFFBQVEsRUFBRSxjQUFjLENBQUMsS0FBSyxDQUFDO1lBQy9CLE1BQU07U0FDVDtLQUMyQixDQUFDO0FBQ3JDLENBQUM7QUFFRCxNQUFNLFVBQVUsY0FBYyxDQUFDLEtBQWE7SUFDeEMsT0FBTyxLQUFLLElBQUksK0JBQStCLEdBQUcsS0FBSyxDQUFDO0FBQzVELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge3R5cGUgQW5pbWF0aW9uT3B0aW9uc30gZnJvbSAnQGFuZ3VsYXIvYW5pbWF0aW9ucyc7XG5pbXBvcnQge2luamVjdH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge1RVSV9BTklNQVRJT05TX1NQRUVEfSBmcm9tICdAdGFpZ2EtdWkvY29yZS90b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgVFVJX0FOSU1BVElPTlNfREVGQVVMVF9EVVJBVElPTiA9IDMwMDtcblxuZXhwb3J0IGZ1bmN0aW9uIHR1aVRvQW5pbWF0aW9uT3B0aW9ucyhcbiAgICBzcGVlZDogbnVtYmVyID0gaW5qZWN0KFRVSV9BTklNQVRJT05TX1NQRUVEKSxcbiAgICBlYXNpbmc/OiBzdHJpbmcsXG4pOiBBbmltYXRpb25PcHRpb25zIHtcbiAgICByZXR1cm4ge1xuICAgICAgICB2YWx1ZTogJycsXG4gICAgICAgIHBhcmFtczoge1xuICAgICAgICAgICAgZHVyYXRpb246IHR1aUdldER1cmF0aW9uKHNwZWVkKSxcbiAgICAgICAgICAgIGVhc2luZyxcbiAgICAgICAgfSxcbiAgICB9IGFzIHVua25vd24gYXMgQW5pbWF0aW9uT3B0aW9ucztcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIHR1aUdldER1cmF0aW9uKHNwZWVkOiBudW1iZXIpOiBudW1iZXIge1xuICAgIHJldHVybiBzcGVlZCAmJiBUVUlfQU5JTUFUSU9OU19ERUZBVUxUX0RVUkFUSU9OIC8gc3BlZWQ7XG59XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS11dGlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvdXRpbHMvdGFpZ2EtdWktY29yZS11dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,73 +0,0 @@
1
- import { DOCUMENT } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { inject, signal, EventEmitter, ElementRef, Component, ChangeDetectionStrategy, ViewChild, Output, Input } from '@angular/core';
4
- import { TuiRoot } from '@taiga-ui/core/components/root';
5
-
6
- class TuiFullscreen {
7
- constructor() {
8
- this.doc = inject(DOCUMENT);
9
- this.open = signal(false);
10
- this.opened = new EventEmitter();
11
- this.options = { navigationUI: 'auto' };
12
- }
13
- set fullscreen(open) {
14
- if (this.open() === open) {
15
- return;
16
- }
17
- if (open) {
18
- this.root?.nativeElement
19
- .requestFullscreen(this.options)
20
- .then(() => this.fullscreenState(open));
21
- }
22
- else {
23
- this.doc
24
- .exitFullscreen()
25
- .then(() => this.fullscreenState(open))
26
- .catch((error) => console.error('Failed to exit fullscreen:', error));
27
- }
28
- }
29
- closedByEscape(event) {
30
- const escaped = !this.doc.fullscreenElement && event.target === this.root?.nativeElement;
31
- if (escaped) {
32
- this.fullscreenState(false);
33
- }
34
- }
35
- fullscreenState(open) {
36
- this.open.set(open);
37
- this.opened.emit(open);
38
- }
39
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFullscreen, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
40
- 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 }); }
41
- }
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
-
68
- /**
69
- * Generated bundle index. Do not edit.
70
- */
71
-
72
- export { TuiFullscreen };
73
- //# sourceMappingURL=taiga-ui-core-components-fullscreen.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-components-fullscreen.mjs","sources":["../../../projects/core/components/fullscreen/fullscreen.component.ts","../../../projects/core/components/fullscreen/taiga-ui-core-components-fullscreen.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n inject,\n Input,\n Output,\n signal,\n ViewChild,\n} from '@angular/core';\nimport {TuiRoot} from '@taiga-ui/core/components/root';\n\n@Component({\n standalone: true,\n selector: '[tuiFullscreen]',\n imports: [TuiRoot],\n template: '<tui-root><ng-content /></tui-root>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '(document:fullscreenchange)': 'closedByEscape($event)',\n },\n})\nexport class TuiFullscreen {\n @ViewChild(TuiRoot, {read: ElementRef})\n private readonly root?: ElementRef<HTMLElement>;\n\n private readonly doc = inject(DOCUMENT);\n protected readonly open = signal(false);\n\n @Output('tuiFullscreenChange')\n public readonly opened = new EventEmitter<boolean>();\n\n @Input('tuiFullscreenOptions')\n public options?: FullscreenOptions = {navigationUI: 'auto'};\n\n @Input('tuiFullscreen')\n public set fullscreen(open: boolean) {\n if (this.open() === open) {\n return;\n }\n\n if (open) {\n this.root?.nativeElement\n .requestFullscreen(this.options)\n .then(() => this.fullscreenState(open));\n } else {\n this.doc\n .exitFullscreen()\n .then(() => this.fullscreenState(open))\n .catch((error: unknown) =>\n console.error('Failed to exit fullscreen:', error),\n );\n }\n }\n\n protected closedByEscape(event: Event): void {\n const escaped =\n !this.doc.fullscreenElement && event.target === this.root?.nativeElement;\n\n if (escaped) {\n this.fullscreenState(false);\n }\n }\n\n private fullscreenState(open: boolean): void {\n this.open.set(open);\n this.opened.emit(open);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAcA,MAUa,aAAa,CAAA;AAV1B,IAAA,WAAA,GAAA;AAcqB,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;AACrB,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;AAGxB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAW,CAAC;AAG9C,QAAA,IAAA,CAAA,OAAO,GAAuB,EAAC,YAAY,EAAE,MAAM,EAAC,CAAC;AAmC/D,KAAA;IAjCG,IACW,UAAU,CAAC,IAAa,EAAA;AAC/B,QAAA,IAAI,IAAI,CAAC,IAAI,EAAE,KAAK,IAAI,EAAE;YACtB,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U,EAP3B,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,qCAAqC,4DADrC,OAAO,EAAA,QAAA,EAAA,UAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FAOR,aAAa,EAAA,UAAA,EAAA,CAAA;kBAVzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,iBAAiB;oBAC3B,OAAO,EAAE,CAAC,OAAO,CAAC;AAClB,oBAAA,QAAQ,EAAE,qCAAqC;oBAC/C,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,IAAI,EAAE;AACF,wBAAA,6BAA6B,EAAE,wBAAwB;AAC1D,qBAAA;AACJ,iBAAA,CAAA;8BAGoB,IAAI,EAAA,CAAA;sBADpB,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,OAAO,EAAE,EAAC,IAAI,EAAE,UAAU,EAAC,CAAA;gBAOtB,MAAM,EAAA,CAAA;sBADrB,MAAM;uBAAC,qBAAqB,CAAA;gBAItB,OAAO,EAAA,CAAA;sBADb,KAAK;uBAAC,sBAAsB,CAAA;gBAIlB,UAAU,EAAA,CAAA;sBADpB,KAAK;uBAAC,eAAe,CAAA;;;ACrC1B;;AAEG;;;;"}
@@ -1,50 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, Directive, Input } from '@angular/core';
3
- import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
4
- import * as i1 from '@taiga-ui/core/directives/appearance';
5
- import { TuiAppearance } from '@taiga-ui/core/directives/appearance';
6
-
7
- class TuiSurfaceStyles {
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSurfaceStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiSurfaceStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-surface-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[data-surface]{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;--tui-gap: .25rem;position:relative;box-sizing:border-box;background:none no-repeat;background-size:cover;overflow:hidden;isolation:isolate;-webkit-appearance:none;appearance:none;border:0;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background,border-radius,box-shadow,transform,-webkit-backdrop-filter,-webkit-mask!important;transition-property:backdrop-filter,background,border-radius,box-shadow,mask,transform!important;transition-property:backdrop-filter,background,border-radius,box-shadow,mask,transform,-webkit-backdrop-filter,-webkit-mask!important}[data-surface]:focus-visible{outline-color:var(--tui-border-focus)}@supports (not (-moz-appearance: none)) and (not (-webkit-hyphens: none)){[data-surface]:before{mix-blend-mode:multiply}}button[data-surface]{cursor:pointer}[data-surface]:before,[data-surface]:after,[tuiSurfaceLayer]:before,[tuiSurfaceLayer]:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";z-index:-1;border-radius:inherit;pointer-events:none;background-size:cover;background-repeat:no-repeat;transition-property:opacity,transform,-webkit-backdrop-filter;transition-property:opacity,backdrop-filter,transform;transition-property:opacity,backdrop-filter,transform,-webkit-backdrop-filter}[tuiSurfaceLayer]{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;inline-size:100%;block-size:100%;position:absolute!important;z-index:-1;object-fit:cover;border-radius:inherit;box-sizing:border-box;transition-property:box-shadow,filter,padding}input[tuiSurfaceLayer]+[tuiSurfaceLayer]{will-change:padding;background-clip:content-box;overflow:clip;overflow-clip-margin:content-box}input[tuiSurfaceLayer]:checked+[tuiSurfaceLayer]{padding:var(--tui-gap)}input[tuiSurfaceLayer]:focus-visible+[tuiSurfaceLayer]{padding:var(--tui-gap)}@media (hover: hover) and (pointer: fine){[data-surface]:hover input[tuiSurfaceLayer]+[tuiSurfaceLayer]{padding:var(--tui-gap)}}input[tuiSurfaceLayer]{color:var(--tui-background-accent-2);-webkit-appearance:none;appearance:none;margin:0;border-radius:inherit;outline:none;box-shadow:inset 0 0,inset 0 0 var(--tui-background-neutral-1)}input[tuiSurfaceLayer]:checked{box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 var(--tui-background-neutral-1)}input[tuiSurfaceLayer]:focus-visible{box-shadow:inset 0 0,inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-background-neutral-1)}input[tuiSurfaceLayer]:checked:focus-visible{filter:brightness(.7);box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-background-neutral-1)}@media (hover: hover) and (pointer: fine){[data-surface]:hover input[tuiSurfaceLayer]{box-shadow:inset 0 0,inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-background-neutral-1)}[data-surface]:hover input[tuiSurfaceLayer]:checked{filter:brightness(.9);box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-background-neutral-1)}}[tuiSurface][data-surface=elevated],[tuiSurface][data-surface=floating]{box-shadow:var(--tui-shadow-small);background-color:var(--tui-background-elevation-2)}[tuiSurface][data-surface=elevated]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active,[tuiSurface][data-surface=floating]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active{box-shadow:var(--tui-shadow-small);transform:scale(.95)}@media (hover: hover) and (pointer: fine){[tuiSurface][data-surface=elevated]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover,[tuiSurface][data-surface=floating]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover{box-shadow:var(--tui-shadow-small-hover);transform:translate3d(0,-.25rem,0);background:var(--tui-background-elevation-2)}}[tuiSurface][data-surface=elevated]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active,[tuiSurface][data-surface=floating]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active{box-shadow:var(--tui-shadow-small);transform:scale(.95)}@media (hover: hover) and (pointer: fine){[tuiSurface][data-surface=elevated]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover,[tuiSurface][data-surface=floating]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover{box-shadow:var(--tui-shadow-small-hover);transform:translate3d(0,-.25rem,0);background:var(--tui-background-elevation-2)}}[tuiSurface][data-surface=flat],[tuiSurface][data-surface=neutral]{background-color:var(--tui-background-neutral-1)}[tuiSurface][data-surface=flat]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active,[tuiSurface][data-surface=neutral]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active{transform:scale(.95)}@media (hover: hover) and (pointer: fine){[tuiSurface][data-surface=flat]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover,[tuiSurface][data-surface=neutral]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover{transform:scale(1.15)}}[tuiSurface][data-surface=flat]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active,[tuiSurface][data-surface=neutral]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active{transform:scale(.95)}@media (hover: hover) and (pointer: fine){[tuiSurface][data-surface=flat]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover,[tuiSurface][data-surface=neutral]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover{transform:scale(1.15)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSurfaceStyles, decorators: [{
12
- type: Component,
13
- args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
14
- class: 'tui-surface-styles',
15
- }, styles: ["[data-surface]{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;--tui-gap: .25rem;position:relative;box-sizing:border-box;background:none no-repeat;background-size:cover;overflow:hidden;isolation:isolate;-webkit-appearance:none;appearance:none;border:0;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background,border-radius,box-shadow,transform,-webkit-backdrop-filter,-webkit-mask!important;transition-property:backdrop-filter,background,border-radius,box-shadow,mask,transform!important;transition-property:backdrop-filter,background,border-radius,box-shadow,mask,transform,-webkit-backdrop-filter,-webkit-mask!important}[data-surface]:focus-visible{outline-color:var(--tui-border-focus)}@supports (not (-moz-appearance: none)) and (not (-webkit-hyphens: none)){[data-surface]:before{mix-blend-mode:multiply}}button[data-surface]{cursor:pointer}[data-surface]:before,[data-surface]:after,[tuiSurfaceLayer]:before,[tuiSurfaceLayer]:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";z-index:-1;border-radius:inherit;pointer-events:none;background-size:cover;background-repeat:no-repeat;transition-property:opacity,transform,-webkit-backdrop-filter;transition-property:opacity,backdrop-filter,transform;transition-property:opacity,backdrop-filter,transform,-webkit-backdrop-filter}[tuiSurfaceLayer]{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;inline-size:100%;block-size:100%;position:absolute!important;z-index:-1;object-fit:cover;border-radius:inherit;box-sizing:border-box;transition-property:box-shadow,filter,padding}input[tuiSurfaceLayer]+[tuiSurfaceLayer]{will-change:padding;background-clip:content-box;overflow:clip;overflow-clip-margin:content-box}input[tuiSurfaceLayer]:checked+[tuiSurfaceLayer]{padding:var(--tui-gap)}input[tuiSurfaceLayer]:focus-visible+[tuiSurfaceLayer]{padding:var(--tui-gap)}@media (hover: hover) and (pointer: fine){[data-surface]:hover input[tuiSurfaceLayer]+[tuiSurfaceLayer]{padding:var(--tui-gap)}}input[tuiSurfaceLayer]{color:var(--tui-background-accent-2);-webkit-appearance:none;appearance:none;margin:0;border-radius:inherit;outline:none;box-shadow:inset 0 0,inset 0 0 var(--tui-background-neutral-1)}input[tuiSurfaceLayer]:checked{box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 var(--tui-background-neutral-1)}input[tuiSurfaceLayer]:focus-visible{box-shadow:inset 0 0,inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-background-neutral-1)}input[tuiSurfaceLayer]:checked:focus-visible{filter:brightness(.7);box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-background-neutral-1)}@media (hover: hover) and (pointer: fine){[data-surface]:hover input[tuiSurfaceLayer]{box-shadow:inset 0 0,inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-background-neutral-1)}[data-surface]:hover input[tuiSurfaceLayer]:checked{filter:brightness(.9);box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-background-neutral-1)}}[tuiSurface][data-surface=elevated],[tuiSurface][data-surface=floating]{box-shadow:var(--tui-shadow-small);background-color:var(--tui-background-elevation-2)}[tuiSurface][data-surface=elevated]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active,[tuiSurface][data-surface=floating]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active{box-shadow:var(--tui-shadow-small);transform:scale(.95)}@media (hover: hover) and (pointer: fine){[tuiSurface][data-surface=elevated]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover,[tuiSurface][data-surface=floating]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover{box-shadow:var(--tui-shadow-small-hover);transform:translate3d(0,-.25rem,0);background:var(--tui-background-elevation-2)}}[tuiSurface][data-surface=elevated]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active,[tuiSurface][data-surface=floating]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active{box-shadow:var(--tui-shadow-small);transform:scale(.95)}@media (hover: hover) and (pointer: fine){[tuiSurface][data-surface=elevated]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover,[tuiSurface][data-surface=floating]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover{box-shadow:var(--tui-shadow-small-hover);transform:translate3d(0,-.25rem,0);background:var(--tui-background-elevation-2)}}[tuiSurface][data-surface=flat],[tuiSurface][data-surface=neutral]{background-color:var(--tui-background-neutral-1)}[tuiSurface][data-surface=flat]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active,[tuiSurface][data-surface=neutral]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active{transform:scale(.95)}@media (hover: hover) and (pointer: fine){[tuiSurface][data-surface=flat]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover,[tuiSurface][data-surface=neutral]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover{transform:scale(1.15)}}[tuiSurface][data-surface=flat]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active,[tuiSurface][data-surface=neutral]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active{transform:scale(.95)}@media (hover: hover) and (pointer: fine){[tuiSurface][data-surface=flat]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover,[tuiSurface][data-surface=neutral]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover{transform:scale(1.15)}}\n"] }]
16
- }] });
17
- class TuiSurface {
18
- constructor() {
19
- this.nothing = tuiWithStyles(TuiSurfaceStyles);
20
- this.tuiSurface = '';
21
- }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSurface, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
23
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiSurface, isStandalone: true, selector: "[tuiSurface]", inputs: { tuiSurface: "tuiSurface" }, host: { attributes: { "tuiSurface": "" }, properties: { "attr.data-surface": "tuiSurface" } }, hostDirectives: [{ directive: i1.TuiAppearance, inputs: ["tuiAppearance", "tuiSurface"] }], ngImport: i0 }); }
24
- }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSurface, decorators: [{
26
- type: Directive,
27
- args: [{
28
- standalone: true,
29
- selector: '[tuiSurface]',
30
- hostDirectives: [
31
- {
32
- directive: TuiAppearance,
33
- inputs: ['tuiAppearance: tuiSurface'],
34
- },
35
- ],
36
- host: {
37
- tuiSurface: '',
38
- '[attr.data-surface]': 'tuiSurface',
39
- },
40
- }]
41
- }], propDecorators: { tuiSurface: [{
42
- type: Input
43
- }] } });
44
-
45
- /**
46
- * Generated bundle index. Do not edit.
47
- */
48
-
49
- export { TuiSurface };
50
- //# sourceMappingURL=taiga-ui-core-directives-surface.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-directives-surface.mjs","sources":["../../../projects/core/directives/surface/surface.directive.ts","../../../projects/core/directives/surface/taiga-ui-core-directives-surface.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiAppearance} from '@taiga-ui/core/directives/appearance';\n\n@Component({\n standalone: true,\n template: '',\n styleUrls: ['./surface.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-surface-styles',\n },\n})\nclass TuiSurfaceStyles {}\n\n@Directive({\n standalone: true,\n selector: '[tuiSurface]',\n hostDirectives: [\n {\n directive: TuiAppearance,\n inputs: ['tuiAppearance: tuiSurface'],\n },\n ],\n host: {\n tuiSurface: '',\n '[attr.data-surface]': 'tuiSurface',\n },\n})\nexport class TuiSurface {\n protected readonly nothing = tuiWithStyles(TuiSurfaceStyles);\n\n @Input()\n public tuiSurface = '';\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAUA,MAUM,gBAAgB,CAAA;+GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,wHARR,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,44LAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;4FAQV,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAVrB,SAAS;iCACM,IAAI,EAAA,QAAA,EACN,EAAE,EAAA,aAAA,EAEG,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA;AACF,wBAAA,KAAK,EAAE,oBAAoB;AAC9B,qBAAA,EAAA,MAAA,EAAA,CAAA,44LAAA,CAAA,EAAA,CAAA;;AAIL,MAca,UAAU,CAAA;AAdvB,IAAA,WAAA,GAAA;AAeuB,QAAA,IAAA,CAAA,OAAO,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAC;QAGtD,IAAU,CAAA,UAAA,GAAG,EAAE,CAAC;AAC1B,KAAA;+GALY,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAV,UAAU,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,UAAA,EAAA,YAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,YAAA,EAAA,EAAA,EAAA,EAAA,UAAA,EAAA,EAAA,mBAAA,EAAA,YAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,aAAA,EAAA,MAAA,EAAA,CAAA,eAAA,EAAA,YAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBAdtB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,cAAc,EAAE;AACZ,wBAAA;AACI,4BAAA,SAAS,EAAE,aAAa;4BACxB,MAAM,EAAE,CAAC,2BAA2B,CAAC;AACxC,yBAAA;AACJ,qBAAA;AACD,oBAAA,IAAI,EAAE;AACF,wBAAA,UAAU,EAAE,EAAE;AACd,wBAAA,qBAAqB,EAAE,YAAY;AACtC,qBAAA;AACJ,iBAAA,CAAA;8BAKU,UAAU,EAAA,CAAA;sBADhB,KAAK;;;ACvCV;;AAEG;;;;"}
@@ -1,29 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Pipe } from '@angular/core';
3
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
4
- import { fromEvent, map, startWith } from 'rxjs';
5
-
6
- class TuiFallbackSrcPipe {
7
- constructor() {
8
- this.el = tuiInjectElement();
9
- }
10
- transform(src, fallback) {
11
- return fromEvent(this.el, 'error', { capture: true }).pipe(map(() => fallback), startWith(src || fallback));
12
- }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFallbackSrcPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
14
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiFallbackSrcPipe, isStandalone: true, name: "tuiFallbackSrc" }); }
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFallbackSrcPipe, decorators: [{
17
- type: Pipe,
18
- args: [{
19
- standalone: true,
20
- name: 'tuiFallbackSrc',
21
- }]
22
- }] });
23
-
24
- /**
25
- * Generated bundle index. Do not edit.
26
- */
27
-
28
- export { TuiFallbackSrcPipe };
29
- //# sourceMappingURL=taiga-ui-core-pipes-fallback-src.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-pipes-fallback-src.mjs","sources":["../../../projects/core/pipes/fallback-src/fallback-src.pipe.ts","../../../projects/core/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {fromEvent, map, type Observable, startWith} from 'rxjs';\n\n@Pipe({\n standalone: true,\n name: 'tuiFallbackSrc',\n})\nexport class TuiFallbackSrcPipe implements PipeTransform {\n private readonly el = tuiInjectElement();\n\n public transform(src: string, fallback: string): Observable<string> {\n return fromEvent(this.el, 'error', {capture: true}).pipe(\n map(() => fallback),\n startWith(src || fallback),\n );\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA,MAIa,kBAAkB,CAAA;AAJ/B,IAAA,WAAA,GAAA;QAKqB,IAAE,CAAA,EAAA,GAAG,gBAAgB,EAAE,CAAC;AAQ5C,KAAA;IANU,SAAS,CAAC,GAAW,EAAE,QAAgB,EAAA;AAC1C,QAAA,OAAO,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,EAAC,OAAO,EAAE,IAAI,EAAC,CAAC,CAAC,IAAI,CACpD,GAAG,CAAC,MAAM,QAAQ,CAAC,EACnB,SAAS,CAAC,GAAG,IAAI,QAAQ,CAAC,CAC7B,CAAC;KACL;+GARQ,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;6GAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,gBAAA,EAAA,CAAA,CAAA,EAAA;;4FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,gBAAgB;AACzB,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
@@ -1,9 +0,0 @@
1
- import { type PipeTransform } from '@angular/core';
2
- import { type Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class TuiFallbackSrcPipe implements PipeTransform {
5
- private readonly el;
6
- transform(src: string, fallback: string): Observable<string>;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiFallbackSrcPipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiFallbackSrcPipe, "tuiFallbackSrc", true>;
9
- }
@@ -1 +0,0 @@
1
- export * from './fallback-src.pipe';
@@ -1,9 +0,0 @@
1
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
2
- import { type PolymorpheusComponent, type PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
- export interface TuiPortalItem<C = any> {
4
- readonly activeZone?: TuiActiveZone | null;
5
- readonly appearance?: string;
6
- readonly component: PolymorpheusComponent<any>;
7
- readonly content: PolymorpheusContent<C>;
8
- readonly context?: C;
9
- }