@taiga-ui/core 4.52.0-canary.24b31eb → 4.52.0-canary.2d877cf

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 (297) hide show
  1. package/README.md +1 -1
  2. package/classes/accessors.d.ts +2 -2
  3. package/components/calendar/calendar-sheet.component.d.ts +1 -1
  4. package/components/calendar/calendar-sheet.options.d.ts +1 -3
  5. package/{pipes/calendar-sheet → components/calendar}/calendar-sheet.pipe.d.ts +2 -2
  6. package/components/calendar/calendar-spin.component.d.ts +1 -0
  7. package/components/calendar/calendar-year.component.d.ts +1 -1
  8. package/components/calendar/calendar.options.d.ts +9 -0
  9. package/components/calendar/index.d.ts +3 -0
  10. package/{pipes/order-week-days → components/calendar}/order-week-days.pipe.d.ts +1 -1
  11. package/components/data-list/data-list.component.d.ts +8 -12
  12. package/components/data-list/data-list.d.ts +3 -4
  13. package/components/data-list/data-list.tokens.d.ts +1 -23
  14. package/components/data-list/index.d.ts +3 -4
  15. package/components/data-list/opt-group.directive.d.ts +2 -2
  16. package/components/data-list/option-content.directive.d.ts +14 -0
  17. package/components/data-list/option-with-value.directive.d.ts +9 -0
  18. package/components/data-list/option.directive.d.ts +19 -0
  19. package/components/error/error.component.d.ts +1 -1
  20. package/components/icon/icon.component.d.ts +2 -2
  21. package/components/index.d.ts +2 -3
  22. package/components/input/index.d.ts +2 -0
  23. package/components/input/input.d.ts +5 -0
  24. package/components/input/input.directive.d.ts +30 -0
  25. package/components/label/label.directive.d.ts +1 -1
  26. package/components/link/index.d.ts +0 -1
  27. package/components/link/link.directive.d.ts +8 -6
  28. package/components/loader/loader.component.d.ts +7 -7
  29. package/components/loader/loader.options.d.ts +1 -3
  30. package/components/notification/index.d.ts +3 -0
  31. package/components/notification/notification.component.d.ts +14 -0
  32. package/components/notification/notification.d.ts +3 -0
  33. package/components/notification/notification.directive.d.ts +7 -12
  34. package/components/notification/notification.options.d.ts +10 -7
  35. package/components/notification/notification.service.d.ts +17 -0
  36. package/components/root/root.component.d.ts +2 -2
  37. package/components/scrollbar/scroll-into-view.directive.d.ts +3 -2
  38. package/components/scrollbar/scroll-ref.directive.d.ts +2 -0
  39. package/components/scrollbar/scrollbar.component.d.ts +1 -5
  40. package/components/scrollbar/scrollbar.directive.d.ts +2 -2
  41. package/components/spin-button/spin-button.component.d.ts +9 -10
  42. package/components/textfield/index.d.ts +1 -4
  43. package/components/textfield/textfield-multi/textfield-item.component.d.ts +3 -2
  44. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +10 -15
  45. package/components/textfield/textfield.component.d.ts +23 -37
  46. package/components/textfield/textfield.d.ts +2 -4
  47. package/components/textfield/textfield.options.d.ts +8 -11
  48. package/directives/appearance/appearance.directive.d.ts +1 -1
  49. package/directives/appearance/appearance.options.d.ts +1 -1
  50. package/directives/date-format/date-format.directive.d.ts +3 -7
  51. package/directives/group/group.directive.d.ts +7 -7
  52. package/directives/group/group.options.d.ts +1 -3
  53. package/directives/index.d.ts +0 -4
  54. package/directives/items-handlers/items-handlers.directive.d.ts +5 -9
  55. package/directives/items-handlers/items-handlers.tokens.d.ts +4 -4
  56. package/directives/number-format/number-format.directive.d.ts +3 -7
  57. package/fesm2022/taiga-ui-core-classes.mjs +9 -11
  58. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  59. package/fesm2022/taiga-ui-core-components-button.mjs +6 -6
  60. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  61. package/fesm2022/taiga-ui-core-components-calendar.mjs +139 -35
  62. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  63. package/fesm2022/taiga-ui-core-components-cell.mjs +7 -7
  64. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -1
  65. package/fesm2022/taiga-ui-core-components-data-list.mjs +111 -280
  66. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  67. package/fesm2022/taiga-ui-core-components-error.mjs +13 -12
  68. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  69. package/fesm2022/taiga-ui-core-components-expand.mjs +3 -3
  70. package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
  71. package/fesm2022/taiga-ui-core-components-icon.mjs +9 -10
  72. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  73. package/fesm2022/taiga-ui-core-components-input.mjs +103 -0
  74. package/fesm2022/taiga-ui-core-components-input.mjs.map +1 -0
  75. package/fesm2022/taiga-ui-core-components-label.mjs +10 -12
  76. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-core-components-link.mjs +14 -31
  78. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-core-components-loader.mjs +16 -34
  80. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-core-components-notification.mjs +103 -48
  82. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-core-components-root.mjs +8 -20
  84. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +68 -82
  86. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  87. package/fesm2022/taiga-ui-core-components-spin-button.mjs +18 -31
  88. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-core-components-textfield.mjs +122 -421
  90. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  91. package/fesm2022/{taiga-ui-core-directives-title.mjs → taiga-ui-core-components-title.mjs} +7 -7
  92. package/fesm2022/taiga-ui-core-components-title.mjs.map +1 -0
  93. package/fesm2022/taiga-ui-core-components.mjs +2 -3
  94. package/fesm2022/taiga-ui-core-components.mjs.map +1 -1
  95. package/fesm2022/taiga-ui-core-directives-appearance.mjs +15 -15
  96. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  97. package/fesm2022/taiga-ui-core-directives-date-format.mjs +26 -20
  98. package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
  99. package/fesm2022/taiga-ui-core-directives-group.mjs +22 -34
  100. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  101. package/fesm2022/taiga-ui-core-directives-icons.mjs +11 -11
  102. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  103. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +18 -42
  104. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  105. package/fesm2022/taiga-ui-core-directives-number-format.mjs +32 -20
  106. package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
  107. package/fesm2022/taiga-ui-core-directives.mjs +0 -4
  108. package/fesm2022/taiga-ui-core-directives.mjs.map +1 -1
  109. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +21 -15
  110. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-core-pipes.mjs +0 -7
  112. package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
  113. package/fesm2022/taiga-ui-core-portals-alert.mjs +73 -0
  114. package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -0
  115. package/fesm2022/taiga-ui-core-portals-dialog.mjs +158 -0
  116. package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -0
  117. package/fesm2022/{taiga-ui-core-directives-dropdown.mjs → taiga-ui-core-portals-dropdown.mjs} +178 -330
  118. package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -0
  119. package/fesm2022/{taiga-ui-core-directives-hint.mjs → taiga-ui-core-portals-hint.mjs} +136 -228
  120. package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -0
  121. package/fesm2022/taiga-ui-core-portals-modal.mjs +89 -0
  122. package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -0
  123. package/fesm2022/taiga-ui-core-portals-popup.mjs +56 -0
  124. package/fesm2022/taiga-ui-core-portals-popup.mjs.map +1 -0
  125. package/fesm2022/taiga-ui-core-portals.mjs +11 -0
  126. package/fesm2022/taiga-ui-core-portals.mjs.map +1 -0
  127. package/fesm2022/taiga-ui-core-services.mjs +16 -55
  128. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  129. package/fesm2022/taiga-ui-core-tokens.mjs +24 -47
  130. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  131. package/fesm2022/taiga-ui-core-utils-format.mjs +1 -22
  132. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  133. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +8 -17
  134. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  135. package/fesm2022/taiga-ui-core.mjs +1 -1
  136. package/index.d.ts +1 -1
  137. package/package.json +74 -96
  138. package/pipes/format-number/format-number.pipe.d.ts +6 -4
  139. package/pipes/index.d.ts +0 -7
  140. package/portals/alert/alert.directive.d.ts +11 -0
  141. package/portals/alert/alert.service.d.ts +12 -0
  142. package/portals/alert/index.d.ts +2 -0
  143. package/{components → portals}/dialog/dialog.component.d.ts +3 -4
  144. package/portals/dialog/dialog.directive.d.ts +8 -0
  145. package/{components → portals}/dialog/dialog.options.d.ts +2 -3
  146. package/{components → portals}/dialog/dialog.providers.d.ts +1 -2
  147. package/portals/dialog/dialog.service.d.ts +10 -0
  148. package/{components → portals}/dialog/index.d.ts +0 -1
  149. package/portals/dropdown/dropdown-content.directive.d.ts +9 -0
  150. package/{directives → portals}/dropdown/dropdown-hover.directive.d.ts +5 -10
  151. package/{directives → portals}/dropdown/dropdown-hover.options.d.ts +1 -3
  152. package/{directives → portals}/dropdown/dropdown-manual.directive.d.ts +2 -2
  153. package/portals/dropdown/dropdown-open.directive.d.ts +30 -0
  154. package/{directives → portals}/dropdown/dropdown-position-sided.directive.d.ts +3 -3
  155. package/{directives → portals}/dropdown/dropdown-position.directive.d.ts +5 -5
  156. package/{directives → portals}/dropdown/dropdown-selection.directive.d.ts +4 -5
  157. package/{directives → portals}/dropdown/dropdown.bindings.d.ts +0 -1
  158. package/{directives → portals}/dropdown/dropdown.d.ts +2 -3
  159. package/{directives → portals}/dropdown/dropdown.directive.d.ts +6 -8
  160. package/{directives → portals}/dropdown/index.d.ts +1 -4
  161. package/{directives → portals}/hint/hint-describe.directive.d.ts +4 -6
  162. package/{directives → portals}/hint/hint-host.directive.d.ts +2 -2
  163. package/{directives → portals}/hint/hint-hover.directive.d.ts +3 -4
  164. package/{directives → portals}/hint/hint-manual.directive.d.ts +2 -2
  165. package/{directives → portals}/hint/hint-options.directive.d.ts +1 -1
  166. package/{directives → portals}/hint/hint-overflow.directive.d.ts +2 -2
  167. package/{directives → portals}/hint/hint-position.directive.d.ts +5 -6
  168. package/{directives → portals}/hint/hint-unstyled.component.d.ts +2 -7
  169. package/{directives → portals}/hint/hint.component.d.ts +7 -6
  170. package/portals/hint/hint.directive.d.ts +24 -0
  171. package/{directives → portals}/hint/index.d.ts +0 -2
  172. package/portals/index.d.ts +6 -0
  173. package/portals/modal/index.d.ts +2 -0
  174. package/portals/modal/modal.component.d.ts +17 -0
  175. package/portals/modal/modal.service.d.ts +13 -0
  176. package/portals/popup/popup.directive.d.ts +12 -0
  177. package/{directives → portals}/popup/popup.service.d.ts +1 -1
  178. package/{directives → portals}/popup/popups.component.d.ts +2 -2
  179. package/services/index.d.ts +0 -2
  180. package/styles/components/link.less +9 -23
  181. package/styles/components/textfield.less +10 -7
  182. package/styles/mixins/appearance.less +2 -2
  183. package/styles/mixins/mixins.less +0 -5
  184. package/styles/mixins/mixins.scss +0 -5
  185. package/styles/mixins/slider.less +24 -14
  186. package/styles/mixins/slider.scss +1 -2
  187. package/styles/theme/variables.less +2 -4
  188. package/tokens/common-icons.d.ts +3 -3
  189. package/tokens/date-format.d.ts +2 -3
  190. package/tokens/i18n.d.ts +7 -7
  191. package/tokens/icons.d.ts +0 -4
  192. package/tokens/index.d.ts +0 -4
  193. package/tokens/number-format.d.ts +2 -3
  194. package/types/index.d.ts +0 -3
  195. package/types/point.d.ts +1 -1
  196. package/types/size.d.ts +0 -11
  197. package/utils/format/index.d.ts +0 -1
  198. package/utils/miscellaneous/get-duration.d.ts +2 -0
  199. package/utils/miscellaneous/index.d.ts +1 -1
  200. package/animations/animations.d.ts +0 -109
  201. package/animations/index.d.ts +0 -1
  202. package/components/alert/alert.component.d.ts +0 -15
  203. package/components/alert/alert.directive.d.ts +0 -7
  204. package/components/alert/alert.interfaces.d.ts +0 -12
  205. package/components/alert/alert.service.d.ts +0 -7
  206. package/components/alert/alert.tokens.d.ts +0 -12
  207. package/components/alert/alerts.component.d.ts +0 -12
  208. package/components/alert/index.d.ts +0 -6
  209. package/components/data-list/data-list.directive.d.ts +0 -7
  210. package/components/data-list/option/option-content.d.ts +0 -16
  211. package/components/data-list/option/option-legacy.component.d.ts +0 -24
  212. package/components/data-list/option/option.directive.d.ts +0 -27
  213. package/components/dialog/active-zone-adapter.directive.d.ts +0 -11
  214. package/components/dialog/dialog.directive.d.ts +0 -7
  215. package/components/dialog/dialog.service.d.ts +0 -7
  216. package/components/dialog/dialogs.component.d.ts +0 -8
  217. package/components/header/header.directive.d.ts +0 -17
  218. package/components/header/index.d.ts +0 -1
  219. package/components/link/link.options.d.ts +0 -12
  220. package/components/textfield/select.directive.d.ts +0 -19
  221. package/components/textfield/textfield-dropdown.directive.d.ts +0 -16
  222. package/components/textfield/textfield.directive.d.ts +0 -38
  223. package/directives/dropdown/dropdown-open-legacy.directive.d.ts +0 -12
  224. package/directives/dropdown/dropdown-open.directive.d.ts +0 -33
  225. package/directives/dropdown/dropdown-portal.directive.d.ts +0 -14
  226. package/directives/dropdown/dropdown.service.d.ts +0 -6
  227. package/directives/dropdown/dropdowns.component.d.ts +0 -9
  228. package/directives/hint/hint.directive.d.ts +0 -26
  229. package/directives/hint/hint.service.d.ts +0 -13
  230. package/directives/hint/hints.component.d.ts +0 -12
  231. package/directives/popup/popup.directive.d.ts +0 -11
  232. package/fesm2022/taiga-ui-core-animations.mjs +0 -370
  233. package/fesm2022/taiga-ui-core-animations.mjs.map +0 -1
  234. package/fesm2022/taiga-ui-core-components-alert.mjs +0 -149
  235. package/fesm2022/taiga-ui-core-components-alert.mjs.map +0 -1
  236. package/fesm2022/taiga-ui-core-components-dialog.mjs +0 -215
  237. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +0 -1
  238. package/fesm2022/taiga-ui-core-components-header.mjs +0 -42
  239. package/fesm2022/taiga-ui-core-components-header.mjs.map +0 -1
  240. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +0 -1
  241. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +0 -1
  242. package/fesm2022/taiga-ui-core-directives-popup.mjs +0 -63
  243. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +0 -1
  244. package/fesm2022/taiga-ui-core-directives-title.mjs.map +0 -1
  245. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +0 -25
  246. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +0 -1
  247. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +0 -94
  248. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +0 -1
  249. package/fesm2022/taiga-ui-core-pipes-flag.mjs +0 -32
  250. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +0 -1
  251. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +0 -28
  252. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +0 -1
  253. package/fesm2022/taiga-ui-core-pipes-initials.mjs +0 -29
  254. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +0 -1
  255. package/fesm2022/taiga-ui-core-pipes-month.mjs +0 -29
  256. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +0 -1
  257. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +0 -36
  258. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +0 -1
  259. package/pipes/auto-color/auto-color.pipe.d.ts +0 -7
  260. package/pipes/auto-color/index.d.ts +0 -1
  261. package/pipes/calendar-sheet/index.d.ts +0 -1
  262. package/pipes/calendar-sheet/utils.d.ts +0 -20
  263. package/pipes/flag/flag.pipe.d.ts +0 -14
  264. package/pipes/flag/index.d.ts +0 -1
  265. package/pipes/format-date/format-date.pipe.d.ts +0 -9
  266. package/pipes/format-date/index.d.ts +0 -1
  267. package/pipes/initials/index.d.ts +0 -1
  268. package/pipes/initials/initials.pipe.d.ts +0 -7
  269. package/pipes/month/index.d.ts +0 -1
  270. package/pipes/month/month.pipe.d.ts +0 -10
  271. package/pipes/order-week-days/index.d.ts +0 -1
  272. package/services/dark-theme.service.d.ts +0 -10
  273. package/services/format-date.service.d.ts +0 -8
  274. package/tokens/day-type-handler.d.ts +0 -7
  275. package/tokens/first-day-of-week.d.ts +0 -5
  276. package/tokens/scroll-ref.d.ts +0 -2
  277. package/tokens/spin-icons.d.ts +0 -6
  278. package/types/portal-item.d.ts +0 -9
  279. package/types/range-state.d.ts +0 -4
  280. package/types/value-content-context.d.ts +0 -4
  281. package/utils/format/string-hash-to-hsl.d.ts +0 -6
  282. package/utils/miscellaneous/to-animation-options.d.ts +0 -4
  283. /package/{directives → components}/title/index.d.ts +0 -0
  284. /package/{directives → components}/title/title.directive.d.ts +0 -0
  285. /package/{components → portals}/dialog/dialog.factory.d.ts +0 -0
  286. /package/{directives → portals}/dropdown/dropdown-context.directive.d.ts +0 -0
  287. /package/{directives → portals}/dropdown/dropdown-limit-width.d.ts +0 -0
  288. /package/{directives → portals}/dropdown/dropdown-options.directive.d.ts +0 -0
  289. /package/{directives → portals}/dropdown/dropdown.component.d.ts +0 -0
  290. /package/{directives → portals}/dropdown/dropdown.driver.d.ts +0 -0
  291. /package/{directives → portals}/dropdown/dropdown.providers.d.ts +0 -0
  292. /package/{directives → portals}/dropdown/with-dropdown-open.directive.d.ts +0 -0
  293. /package/{directives → portals}/hint/hint-driver.directive.d.ts +0 -0
  294. /package/{directives → portals}/hint/hint-pointer.directive.d.ts +0 -0
  295. /package/{directives → portals}/hint/hint.d.ts +0 -0
  296. /package/{directives → portals}/hint/hint.providers.d.ts +0 -0
  297. /package/{directives → portals}/popup/index.d.ts +0 -0
@@ -1,32 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Pipe } from '@angular/core';
3
- import { TUI_ASSETS_PATH } from '@taiga-ui/core/tokens';
4
-
5
- // TODO: Move to kit in v5
6
- class TuiFlagPipe {
7
- constructor() {
8
- this.staticPath = inject(TUI_ASSETS_PATH);
9
- }
10
- transform(countryIsoCode) {
11
- if (!countryIsoCode) {
12
- return null;
13
- }
14
- return `${this.staticPath}/flags/${countryIsoCode.toLowerCase()}.svg`;
15
- }
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFlagPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
17
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiFlagPipe, isStandalone: true, name: "tuiFlag" }); }
18
- }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFlagPipe, decorators: [{
20
- type: Pipe,
21
- args: [{
22
- standalone: true,
23
- name: 'tuiFlag',
24
- }]
25
- }] });
26
-
27
- /**
28
- * Generated bundle index. Do not edit.
29
- */
30
-
31
- export { TuiFlagPipe };
32
- //# sourceMappingURL=taiga-ui-core-pipes-flag.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-pipes-flag.mjs","sources":["../../../projects/core/pipes/flag/flag.pipe.ts","../../../projects/core/pipes/flag/taiga-ui-core-pipes-flag.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiLooseUnion} from '@taiga-ui/cdk/types';\nimport {TUI_ASSETS_PATH} from '@taiga-ui/core/tokens';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\n\ntype IsoCode = TuiLooseUnion<TuiCountryIsoCode>;\n\n// TODO: Move to kit in v5\n@Pipe({\n standalone: true,\n name: 'tuiFlag',\n})\nexport class TuiFlagPipe implements PipeTransform {\n private readonly staticPath = inject(TUI_ASSETS_PATH);\n\n public transform(countryIsoCode: IsoCode): string;\n public transform(countryIsoCode: IsoCode | undefined): string | null;\n public transform(countryIsoCode?: IsoCode | null): string | null;\n public transform(countryIsoCode?: IsoCode | null): string | null {\n if (!countryIsoCode) {\n return null;\n }\n\n return `${this.staticPath}/flags/${countryIsoCode.toLowerCase()}.svg`;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAOA;MAKa,WAAW,CAAA;AAJxB,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,eAAe,CAAC;AAYxD;AAPU,IAAA,SAAS,CAAC,cAA+B,EAAA;QAC5C,IAAI,CAAC,cAAc,EAAE;AACjB,YAAA,OAAO,IAAI;;QAGf,OAAO,CAAA,EAAG,IAAI,CAAC,UAAU,CAAA,OAAA,EAAU,cAAc,CAAC,WAAW,EAAE,CAAA,IAAA,CAAM;;+GAXhE,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,CAAA;;4FAAX,WAAW,EAAA,UAAA,EAAA,CAAA;kBAJvB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,SAAS;AAClB,iBAAA;;;ACXD;;AAEG;;;;"}
@@ -1,28 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Pipe } from '@angular/core';
3
- import { TuiFormatDateService } from '@taiga-ui/core/services';
4
-
5
- class TuiFormatDatePipe {
6
- constructor() {
7
- this.service = inject(TuiFormatDateService);
8
- }
9
- transform(timestampOrDate) {
10
- return this.service.format(timestampOrDate.valueOf());
11
- }
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFormatDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
13
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiFormatDatePipe, isStandalone: true, name: "tuiFormatDate" }); }
14
- }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFormatDatePipe, decorators: [{
16
- type: Pipe,
17
- args: [{
18
- standalone: true,
19
- name: 'tuiFormatDate',
20
- }]
21
- }] });
22
-
23
- /**
24
- * Generated bundle index. Do not edit.
25
- */
26
-
27
- export { TuiFormatDatePipe };
28
- //# sourceMappingURL=taiga-ui-core-pipes-format-date.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-pipes-format-date.mjs","sources":["../../../projects/core/pipes/format-date/format-date.pipe.ts","../../../projects/core/pipes/format-date/taiga-ui-core-pipes-format-date.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {TuiFormatDateService} from '@taiga-ui/core/services';\nimport {type Observable} from 'rxjs';\n\n@Pipe({\n standalone: true,\n name: 'tuiFormatDate',\n})\nexport class TuiFormatDatePipe implements PipeTransform {\n private readonly service = inject(TuiFormatDateService);\n\n public transform(timestampOrDate: Date | number): Observable<string> {\n return this.service.format(timestampOrDate.valueOf());\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAQa,iBAAiB,CAAA;AAJ9B,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,oBAAoB,CAAC;AAK1D;AAHU,IAAA,SAAS,CAAC,eAA8B,EAAA;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC;;+GAJhD,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,eAAA,EAAA,CAAA,CAAA;;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,eAAe;AACxB,iBAAA;;;ACPD;;AAEG;;;;"}
@@ -1,29 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Pipe } from '@angular/core';
3
-
4
- class TuiInitialsPipe {
5
- transform(text) {
6
- return text
7
- .toUpperCase()
8
- .split(' ')
9
- .map(([char]) => char)
10
- .join('')
11
- .slice(0, 2);
12
- }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInitialsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
14
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiInitialsPipe, isStandalone: true, name: "tuiInitials" }); }
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInitialsPipe, decorators: [{
17
- type: Pipe,
18
- args: [{
19
- standalone: true,
20
- name: 'tuiInitials',
21
- }]
22
- }] });
23
-
24
- /**
25
- * Generated bundle index. Do not edit.
26
- */
27
-
28
- export { TuiInitialsPipe };
29
- //# sourceMappingURL=taiga-ui-core-pipes-initials.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-pipes-initials.mjs","sources":["../../../projects/core/pipes/initials/initials.pipe.ts","../../../projects/core/pipes/initials/taiga-ui-core-pipes-initials.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\n\n@Pipe({\n standalone: true,\n name: 'tuiInitials',\n})\nexport class TuiInitialsPipe implements PipeTransform {\n public transform(text: string): string {\n return text\n .toUpperCase()\n .split(' ')\n .map(([char]) => char)\n .join('')\n .slice(0, 2);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,eAAe,CAAA;AACjB,IAAA,SAAS,CAAC,IAAY,EAAA;AACzB,QAAA,OAAO;AACF,aAAA,WAAW;aACX,KAAK,CAAC,GAAG;aACT,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,IAAI;aACpB,IAAI,CAAC,EAAE;AACP,aAAA,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;;+GAPX,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAf,eAAe,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,aAAA,EAAA,CAAA,CAAA;;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,aAAa;AACtB,iBAAA;;;ACLD;;AAEG;;;;"}
@@ -1,29 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Pipe } from '@angular/core';
3
- import { TUI_MONTHS } from '@taiga-ui/core/tokens';
4
- import { map } from 'rxjs';
5
-
6
- class TuiMonthPipe {
7
- constructor() {
8
- this.months$ = inject(TUI_MONTHS);
9
- }
10
- transform({ month }) {
11
- return this.months$.pipe(map((months) => months[month] || months[0]));
12
- }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiMonthPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
14
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiMonthPipe, isStandalone: true, name: "tuiMonth" }); }
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiMonthPipe, decorators: [{
17
- type: Pipe,
18
- args: [{
19
- standalone: true,
20
- name: 'tuiMonth',
21
- }]
22
- }] });
23
-
24
- /**
25
- * Generated bundle index. Do not edit.
26
- */
27
-
28
- export { TuiMonthPipe };
29
- //# sourceMappingURL=taiga-ui-core-pipes-month.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-pipes-month.mjs","sources":["../../../projects/core/pipes/month/month.pipe.ts","../../../projects/core/pipes/month/taiga-ui-core-pipes-month.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {TUI_MONTHS} from '@taiga-ui/core/tokens';\nimport {map, type Observable} from 'rxjs';\n\n@Pipe({\n standalone: true,\n name: 'tuiMonth',\n})\nexport class TuiMonthPipe implements PipeTransform {\n private readonly months$ = inject(TUI_MONTHS);\n\n public transform({month}: TuiMonth): Observable<string> {\n return this.months$.pipe(map((months) => months[month] || months[0]));\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MASa,YAAY,CAAA;AAJzB,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,UAAU,CAAC;AAKhD;IAHU,SAAS,CAAC,EAAC,KAAK,EAAW,EAAA;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,KAAK,MAAM,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;;+GAJhE,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAZ,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,CAAA;;4FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,UAAU;AACnB,iBAAA;;;ACRD;;AAEG;;;;"}
@@ -1,36 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Pipe } from '@angular/core';
3
- import { TUI_FIRST_DAY_OF_WEEK } from '@taiga-ui/core/tokens';
4
- import { map } from 'rxjs';
5
-
6
- function convertToSundayFirstWeekFormat(weekDaysNames) {
7
- const sundayIndex = weekDaysNames.length - 1;
8
- return [weekDaysNames[sundayIndex] || '', ...weekDaysNames.slice(0, sundayIndex)];
9
- }
10
- class TuiOrderWeekDaysPipe {
11
- constructor() {
12
- this.firstDayOfWeekIndex = inject(TUI_FIRST_DAY_OF_WEEK);
13
- }
14
- transform(mondayFirstWeekDays$) {
15
- return mondayFirstWeekDays$.pipe(map(convertToSundayFirstWeekFormat), map((weekDays) => [
16
- ...weekDays.slice(this.firstDayOfWeekIndex),
17
- ...weekDays.slice(0, this.firstDayOfWeekIndex),
18
- ]));
19
- }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiOrderWeekDaysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
21
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiOrderWeekDaysPipe, isStandalone: true, name: "tuiOrderWeekDays" }); }
22
- }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiOrderWeekDaysPipe, decorators: [{
24
- type: Pipe,
25
- args: [{
26
- standalone: true,
27
- name: 'tuiOrderWeekDays',
28
- }]
29
- }] });
30
-
31
- /**
32
- * Generated bundle index. Do not edit.
33
- */
34
-
35
- export { TuiOrderWeekDaysPipe };
36
- //# sourceMappingURL=taiga-ui-core-pipes-order-week-days.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-pipes-order-week-days.mjs","sources":["../../../projects/core/pipes/order-week-days/order-week-days.pipe.ts","../../../projects/core/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {TUI_FIRST_DAY_OF_WEEK} from '@taiga-ui/core/tokens';\nimport {map, type Observable} from 'rxjs';\n\nfunction convertToSundayFirstWeekFormat(\n weekDaysNames: readonly string[],\n): readonly string[] {\n const sundayIndex = weekDaysNames.length - 1;\n\n return [weekDaysNames[sundayIndex] || '', ...weekDaysNames.slice(0, sundayIndex)];\n}\n\n@Pipe({\n standalone: true,\n name: 'tuiOrderWeekDays',\n})\nexport class TuiOrderWeekDaysPipe implements PipeTransform {\n private readonly firstDayOfWeekIndex = inject(TUI_FIRST_DAY_OF_WEEK);\n\n public transform(\n mondayFirstWeekDays$: Observable<readonly string[]>,\n ): Observable<readonly string[]> {\n return mondayFirstWeekDays$.pipe(\n map(convertToSundayFirstWeekFormat),\n map((weekDays) => [\n ...weekDays.slice(this.firstDayOfWeekIndex),\n ...weekDays.slice(0, this.firstDayOfWeekIndex),\n ]),\n );\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA,SAAS,8BAA8B,CACnC,aAAgC,EAAA;AAEhC,IAAA,MAAM,WAAW,GAAG,aAAa,CAAC,MAAM,GAAG,CAAC;AAE5C,IAAA,OAAO,CAAC,aAAa,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;AACrF;MAMa,oBAAoB,CAAA;AAJjC,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,mBAAmB,GAAG,MAAM,CAAC,qBAAqB,CAAC;AAavE;AAXU,IAAA,SAAS,CACZ,oBAAmD,EAAA;AAEnD,QAAA,OAAO,oBAAoB,CAAC,IAAI,CAC5B,GAAG,CAAC,8BAA8B,CAAC,EACnC,GAAG,CAAC,CAAC,QAAQ,KAAK;AACd,YAAA,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC;YAC3C,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,mBAAmB,CAAC;AACjD,SAAA,CAAC,CACL;;+GAZI,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,kBAAA,EAAA,CAAA,CAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,kBAAkB;AAC3B,iBAAA;;;ACfD;;AAEG;;;;"}
@@ -1,7 +0,0 @@
1
- import { type PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiAutoColorPipe implements PipeTransform {
4
- transform(text: string): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiAutoColorPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiAutoColorPipe, "tuiAutoColor", true>;
7
- }
@@ -1 +0,0 @@
1
- export * from './auto-color.pipe';
@@ -1 +0,0 @@
1
- export * from './calendar-sheet.pipe';
@@ -1,20 +0,0 @@
1
- import { TuiDay, type TuiMonth } from '@taiga-ui/cdk/date-time';
2
- /**
3
- * Calculated day on a calendar grid
4
- * @return resulting day on these coordinates (could exceed passed month)
5
- */
6
- export declare const getDayFromMonthRowCol: ({ month, rowIndex, colIndex, firstDayOfWeek, }: {
7
- /**
8
- * column in a calendar
9
- */
10
- colIndex: number;
11
- /**
12
- * first day of the week index (Sunday - 0, Saturday - 6)
13
- */
14
- firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
15
- month: TuiMonth;
16
- /**
17
- * row in a calendar
18
- */
19
- rowIndex: number;
20
- }) => TuiDay;
@@ -1,14 +0,0 @@
1
- import { type PipeTransform } from '@angular/core';
2
- import { type TuiLooseUnion } from '@taiga-ui/cdk/types';
3
- import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
4
- import * as i0 from "@angular/core";
5
- type IsoCode = TuiLooseUnion<TuiCountryIsoCode>;
6
- export declare class TuiFlagPipe implements PipeTransform {
7
- private readonly staticPath;
8
- transform(countryIsoCode: IsoCode): string;
9
- transform(countryIsoCode: IsoCode | undefined): string | null;
10
- transform(countryIsoCode?: IsoCode | null): string | null;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiFlagPipe, never>;
12
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiFlagPipe, "tuiFlag", true>;
13
- }
14
- export {};
@@ -1 +0,0 @@
1
- export * from './flag.pipe';
@@ -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 TuiFormatDatePipe implements PipeTransform {
5
- private readonly service;
6
- transform(timestampOrDate: Date | number): Observable<string>;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiFormatDatePipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiFormatDatePipe, "tuiFormatDate", true>;
9
- }
@@ -1 +0,0 @@
1
- export * from './format-date.pipe';
@@ -1 +0,0 @@
1
- export * from './initials.pipe';
@@ -1,7 +0,0 @@
1
- import { type PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiInitialsPipe implements PipeTransform {
4
- transform(text: string): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInitialsPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiInitialsPipe, "tuiInitials", true>;
7
- }
@@ -1 +0,0 @@
1
- export * from './month.pipe';
@@ -1,10 +0,0 @@
1
- import { type PipeTransform } from '@angular/core';
2
- import { type TuiMonth } from '@taiga-ui/cdk/date-time';
3
- import { type Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class TuiMonthPipe implements PipeTransform {
6
- private readonly months$;
7
- transform({ month }: TuiMonth): Observable<string>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiMonthPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiMonthPipe, "tuiMonth", true>;
10
- }
@@ -1 +0,0 @@
1
- export * from './order-week-days.pipe';
@@ -1,10 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated use {@link TUI_DARK_MODE} instead
5
- */
6
- export declare class TuiDarkThemeService extends Observable<boolean> {
7
- constructor();
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiDarkThemeService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiDarkThemeService>;
10
- }
@@ -1,8 +0,0 @@
1
- import { type Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiFormatDateService {
4
- protected readonly locale: string;
5
- format(timestamp: number): Observable<string>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiFormatDateService, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiFormatDateService>;
8
- }
@@ -1,7 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { type TuiDay } from '@taiga-ui/cdk/date-time';
3
- import { type TuiHandler } from '@taiga-ui/cdk/types';
4
- /**
5
- * Token for adding data-type attribute to calendar cell
6
- */
7
- export declare const TUI_DAY_TYPE_HANDLER: InjectionToken<TuiHandler<TuiDay, string>>;
@@ -1,5 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- /**
3
- * The first day of the week index
4
- */
5
- export declare const TUI_FIRST_DAY_OF_WEEK: InjectionToken<0 | 1 | 2 | 3 | 4 | 5 | 6>;
@@ -1,2 +0,0 @@
1
- import { ElementRef, InjectionToken } from '@angular/core';
2
- export declare const TUI_SCROLL_REF: InjectionToken<ElementRef<HTMLElement>>;
@@ -1,6 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export interface TuiSpinIcons {
3
- readonly decrement: string;
4
- readonly increment: string;
5
- }
6
- export declare const TUI_SPIN_ICONS: InjectionToken<TuiSpinIcons>;
@@ -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
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * @internal used in calendar and year picker
3
- */
4
- export type TuiRangeState = 'end' | 'single' | 'start';
@@ -1,4 +0,0 @@
1
- import { type TuiContext } from '@taiga-ui/cdk/types';
2
- export interface TuiValueContentContext<T> extends TuiContext<T> {
3
- active: boolean;
4
- }
@@ -1,6 +0,0 @@
1
- /**
2
- * Converts a string to an HSL color
3
- * @param value string to convert
4
- * @return HSL color string
5
- */
6
- export declare function tuiStringHashToHsl(value: string): string;
@@ -1,4 +0,0 @@
1
- import { type AnimationOptions } from '@angular/animations';
2
- export declare const TUI_ANIMATIONS_DEFAULT_DURATION = 300;
3
- export declare function tuiToAnimationOptions(speed?: number, easing?: string): AnimationOptions;
4
- export declare function tuiGetDuration(speed: number): number;
File without changes
File without changes
File without changes