@taiga-ui/core 3.18.0 → 3.19.0

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 (291) hide show
  1. package/bundles/taiga-ui-core-abstract.umd.js +10 -19
  2. package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
  3. package/bundles/taiga-ui-core-components-alert.umd.js +14 -23
  4. package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
  5. package/bundles/taiga-ui-core-components-button.umd.js +11 -20
  6. package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
  7. package/bundles/taiga-ui-core-components-calendar.umd.js +11 -20
  8. package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
  9. package/bundles/taiga-ui-core-components-data-list.umd.js +20 -29
  10. package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
  11. package/bundles/taiga-ui-core-components-dialog.umd.js +20 -29
  12. package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
  13. package/bundles/taiga-ui-core-components-error.umd.js +11 -20
  14. package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
  15. package/bundles/taiga-ui-core-components-expand.umd.js +14 -23
  16. package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
  17. package/bundles/taiga-ui-core-components-group.umd.js +14 -23
  18. package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
  19. package/bundles/taiga-ui-core-components-hints-host.umd.js +7 -7
  20. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +14 -23
  21. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
  22. package/bundles/taiga-ui-core-components-label.umd.js +11 -20
  23. package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
  24. package/bundles/taiga-ui-core-components-link.umd.js +12 -21
  25. package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
  26. package/bundles/taiga-ui-core-components-loader.umd.js +11 -20
  27. package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
  28. package/bundles/taiga-ui-core-components-notification.umd.js +11 -20
  29. package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
  30. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +11 -20
  31. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
  32. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +11 -20
  33. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
  34. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +11 -20
  35. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
  36. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +28 -34
  37. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  38. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +11 -20
  39. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
  40. package/bundles/taiga-ui-core-components-root.umd.js +11 -20
  41. package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
  42. package/bundles/taiga-ui-core-components-scroll-controls.umd.js +17 -26
  43. package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
  44. package/bundles/taiga-ui-core-components-scrollbar.umd.js +17 -26
  45. package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
  46. package/bundles/taiga-ui-core-components-svg.umd.js +11 -20
  47. package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
  48. package/bundles/taiga-ui-core-components-theme-night.umd.js +11 -20
  49. package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
  50. package/bundles/taiga-ui-core-components-tooltip.umd.js +11 -20
  51. package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
  52. package/bundles/taiga-ui-core-directives-dropdown.umd.js +41 -50
  53. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
  54. package/bundles/taiga-ui-core-directives-hint.umd.js +38 -47
  55. package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
  56. package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +7 -7
  57. package/bundles/taiga-ui-core-directives-mode.umd.js +11 -20
  58. package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
  59. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +11 -20
  60. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
  61. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +100 -54
  62. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
  63. package/bundles/taiga-ui-core-directives-wrapper.umd.js +7 -7
  64. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +11 -20
  65. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +1 -1
  66. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +7 -7
  67. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +7 -7
  68. package/bundles/taiga-ui-core-pipes-flag.umd.js +96 -0
  69. package/bundles/taiga-ui-core-pipes-flag.umd.js.map +1 -0
  70. package/bundles/taiga-ui-core-pipes-format-date.umd.js +7 -7
  71. package/bundles/taiga-ui-core-pipes-format-number.umd.js +7 -7
  72. package/bundles/taiga-ui-core-pipes-format-phone.umd.js +7 -7
  73. package/bundles/taiga-ui-core-pipes-month.umd.js +7 -7
  74. package/bundles/taiga-ui-core-pipes-order-week-days.umd.js +11 -20
  75. package/bundles/taiga-ui-core-pipes-order-week-days.umd.js.map +1 -1
  76. package/bundles/taiga-ui-core-pipes.umd.js +10 -4
  77. package/bundles/taiga-ui-core-pipes.umd.js.map +1 -1
  78. package/bundles/taiga-ui-core-services.umd.js +22 -31
  79. package/bundles/taiga-ui-core-services.umd.js.map +1 -1
  80. package/bundles/taiga-ui-core-tokens.umd.js +6 -13
  81. package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
  82. package/bundles/taiga-ui-core-utils-format.umd.js +4 -13
  83. package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
  84. package/bundles/taiga-ui-core-utils-mask.umd.js +4 -13
  85. package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
  86. package/components/primitive-textfield/primitive-textfield.component.d.ts +3 -3
  87. package/directives/textfield-controller/index.d.ts +1 -0
  88. package/directives/textfield-controller/textfield-appearance.directive.d.ts +9 -0
  89. package/directives/textfield-controller/textfield-controller.module.d.ts +11 -10
  90. package/directives/textfield-controller/textfield.controller.d.ts +5 -1
  91. package/esm2015/abstract/abstract-driver.directive.js +3 -3
  92. package/esm2015/abstract/abstract-textfield-host.js +3 -3
  93. package/esm2015/components/alert/alert.component.js +3 -3
  94. package/esm2015/components/alert/alert.module.js +4 -4
  95. package/esm2015/components/alert/alert.service.js +3 -3
  96. package/esm2015/components/button/button.component.js +3 -3
  97. package/esm2015/components/button/button.module.js +4 -4
  98. package/esm2015/components/calendar/calendar.component.js +3 -3
  99. package/esm2015/components/calendar/calendar.module.js +4 -4
  100. package/esm2015/components/data-list/data-list.component.js +3 -3
  101. package/esm2015/components/data-list/data-list.directive.js +3 -3
  102. package/esm2015/components/data-list/data-list.module.js +4 -4
  103. package/esm2015/components/data-list/opt-group.directive.js +3 -3
  104. package/esm2015/components/data-list/option/option.component.js +3 -3
  105. package/esm2015/components/dialog/dialog-close.service.js +3 -3
  106. package/esm2015/components/dialog/dialog.component.js +3 -3
  107. package/esm2015/components/dialog/dialog.directive.js +3 -3
  108. package/esm2015/components/dialog/dialog.module.js +4 -4
  109. package/esm2015/components/dialog/dialog.service.js +3 -3
  110. package/esm2015/components/error/error.component.js +3 -3
  111. package/esm2015/components/error/error.module.js +4 -4
  112. package/esm2015/components/expand/expand-content.directive.js +3 -3
  113. package/esm2015/components/expand/expand.component.js +3 -3
  114. package/esm2015/components/expand/expand.module.js +4 -4
  115. package/esm2015/components/group/group-styles.component.js +3 -3
  116. package/esm2015/components/group/group.directive.js +3 -3
  117. package/esm2015/components/group/group.module.js +4 -4
  118. package/esm2015/components/hints-host/hints-host.component.js +3 -3
  119. package/esm2015/components/hints-host/hints-host.module.js +4 -4
  120. package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +3 -3
  121. package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +3 -3
  122. package/esm2015/components/hosted-dropdown/hosted-dropdown.module.js +4 -4
  123. package/esm2015/components/label/label.component.js +3 -3
  124. package/esm2015/components/label/label.module.js +4 -4
  125. package/esm2015/components/link/link.component.js +4 -4
  126. package/esm2015/components/link/link.module.js +4 -4
  127. package/esm2015/components/loader/loader.component.js +3 -3
  128. package/esm2015/components/loader/loader.module.js +4 -4
  129. package/esm2015/components/notification/notification.component.js +3 -3
  130. package/esm2015/components/notification/notification.module.js +4 -4
  131. package/esm2015/components/primitive-calendar/primitive-calendar.component.js +3 -3
  132. package/esm2015/components/primitive-calendar/primitive-calendar.module.js +4 -4
  133. package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +3 -3
  134. package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +4 -4
  135. package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +3 -3
  136. package/esm2015/components/primitive-spin-button/primitive-spin-button.module.js +4 -4
  137. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +9 -10
  138. package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +3 -3
  139. package/esm2015/components/primitive-textfield/primitive-textfield.module.js +4 -4
  140. package/esm2015/components/primitive-textfield/textfield/textfield.component.js +3 -3
  141. package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +3 -3
  142. package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +3 -3
  143. package/esm2015/components/primitive-year-picker/primitive-year-picker.module.js +4 -4
  144. package/esm2015/components/root/root.component.js +3 -3
  145. package/esm2015/components/root/root.module.js +4 -4
  146. package/esm2015/components/scroll-controls/scroll-controls.component.js +3 -3
  147. package/esm2015/components/scroll-controls/scroll-controls.module.js +4 -4
  148. package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +3 -3
  149. package/esm2015/components/scroll-controls/scrollbar.directive.js +3 -3
  150. package/esm2015/components/scrollbar/scroll-ref.directive.js +3 -3
  151. package/esm2015/components/scrollbar/scrollable.directive.js +3 -3
  152. package/esm2015/components/scrollbar/scrollbar.component.js +3 -3
  153. package/esm2015/components/scrollbar/scrollbar.module.js +4 -4
  154. package/esm2015/components/svg/svg.component.js +3 -3
  155. package/esm2015/components/svg/svg.module.js +4 -4
  156. package/esm2015/components/theme-night/theme-night.component.js +3 -3
  157. package/esm2015/components/theme-night/theme-night.module.js +4 -4
  158. package/esm2015/components/tooltip/tooltip.component.js +3 -3
  159. package/esm2015/components/tooltip/tooltip.module.js +4 -4
  160. package/esm2015/directives/dropdown/dropdown-context.directive.js +3 -3
  161. package/esm2015/directives/dropdown/dropdown-driver.directive.js +3 -3
  162. package/esm2015/directives/dropdown/dropdown-host.directive.js +3 -3
  163. package/esm2015/directives/dropdown/dropdown-hover.directive.js +3 -3
  164. package/esm2015/directives/dropdown/dropdown-manual.directive.js +3 -3
  165. package/esm2015/directives/dropdown/dropdown-options.directive.js +3 -3
  166. package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +3 -3
  167. package/esm2015/directives/dropdown/dropdown-position.directive.js +3 -3
  168. package/esm2015/directives/dropdown/dropdown-selection.directive.js +3 -3
  169. package/esm2015/directives/dropdown/dropdown.component.js +3 -3
  170. package/esm2015/directives/dropdown/dropdown.directive.js +3 -3
  171. package/esm2015/directives/dropdown/dropdown.module.js +4 -4
  172. package/esm2015/directives/hint/hint-describe.directive.js +3 -3
  173. package/esm2015/directives/hint/hint-driver.directive.js +3 -3
  174. package/esm2015/directives/hint/hint-host.directive.js +3 -3
  175. package/esm2015/directives/hint/hint-hover.directive.js +3 -3
  176. package/esm2015/directives/hint/hint-manual.directive.js +3 -3
  177. package/esm2015/directives/hint/hint-options.directive.js +3 -3
  178. package/esm2015/directives/hint/hint-pointer.directive.js +3 -3
  179. package/esm2015/directives/hint/hint-position.directive.js +3 -3
  180. package/esm2015/directives/hint/hint.component.js +3 -3
  181. package/esm2015/directives/hint/hint.directive.js +3 -3
  182. package/esm2015/directives/hint/hint.module.js +4 -4
  183. package/esm2015/directives/mask-accessor/mask-accessor.directive.js +3 -3
  184. package/esm2015/directives/mask-accessor/mask-accessor.module.js +4 -4
  185. package/esm2015/directives/mode/mode.directive.js +3 -3
  186. package/esm2015/directives/mode/mode.module.js +4 -4
  187. package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +3 -3
  188. package/esm2015/directives/scroll-into-view/scroll-into-view.module.js +4 -4
  189. package/esm2015/directives/textfield-controller/index.js +2 -1
  190. package/esm2015/directives/textfield-controller/textfield-appearance.directive.js +38 -0
  191. package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +3 -3
  192. package/esm2015/directives/textfield-controller/textfield-controller.module.js +11 -6
  193. package/esm2015/directives/textfield-controller/textfield-controller.provider.js +7 -3
  194. package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +3 -3
  195. package/esm2015/directives/textfield-controller/textfield-filler.directive.js +3 -3
  196. package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +3 -3
  197. package/esm2015/directives/textfield-controller/textfield-icon.directive.js +3 -3
  198. package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +3 -3
  199. package/esm2015/directives/textfield-controller/textfield-postfix.directive.js +3 -3
  200. package/esm2015/directives/textfield-controller/textfield-prefix.directive.js +3 -3
  201. package/esm2015/directives/textfield-controller/textfield-size.directive.js +3 -3
  202. package/esm2015/directives/textfield-controller/textfield.controller.js +7 -2
  203. package/esm2015/directives/wrapper/wrapper.directive.js +3 -3
  204. package/esm2015/directives/wrapper/wrapper.module.js +4 -4
  205. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +3 -3
  206. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +4 -4
  207. package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +3 -3
  208. package/esm2015/internal/svg-defs-host/svg-defs-host.module.js +4 -4
  209. package/esm2015/pipes/calendar-sheet/calendar-sheet.module.js +4 -4
  210. package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +3 -3
  211. package/esm2015/pipes/flag/flag.module.js +16 -0
  212. package/esm2015/pipes/flag/flag.pipe.js +44 -0
  213. package/esm2015/pipes/flag/index.js +3 -0
  214. package/esm2015/pipes/flag/taiga-ui-core-pipes-flag.js +5 -0
  215. package/esm2015/pipes/format-date/format-date.module.js +4 -4
  216. package/esm2015/pipes/format-date/format-date.pipe.js +3 -3
  217. package/esm2015/pipes/format-number/format-number.module.js +4 -4
  218. package/esm2015/pipes/format-number/format-number.pipe.js +3 -3
  219. package/esm2015/pipes/format-phone/format-phone.module.js +4 -4
  220. package/esm2015/pipes/format-phone/format-phone.pipe.js +3 -3
  221. package/esm2015/pipes/index.js +2 -1
  222. package/esm2015/pipes/month/month.module.js +4 -4
  223. package/esm2015/pipes/month/month.pipe.js +3 -3
  224. package/esm2015/pipes/order-week-days/order-week-days.module.js +4 -4
  225. package/esm2015/pipes/order-week-days/order-week-days.pipe.js +3 -3
  226. package/esm2015/services/format-date.service.js +3 -3
  227. package/esm2015/services/hint.service.js +3 -3
  228. package/esm2015/services/night-theme.service.js +3 -3
  229. package/esm2015/services/position.service.js +3 -3
  230. package/esm2015/services/router-link-active.service.js +3 -3
  231. package/esm2015/services/svg.service.js +3 -3
  232. package/esm2015/tokens/textfield-appearance.js +3 -1
  233. package/fesm2015/taiga-ui-core-abstract.js +6 -6
  234. package/fesm2015/taiga-ui-core-components-alert.js +10 -10
  235. package/fesm2015/taiga-ui-core-components-button.js +7 -7
  236. package/fesm2015/taiga-ui-core-components-calendar.js +7 -7
  237. package/fesm2015/taiga-ui-core-components-data-list.js +16 -16
  238. package/fesm2015/taiga-ui-core-components-dialog.js +16 -16
  239. package/fesm2015/taiga-ui-core-components-error.js +7 -7
  240. package/fesm2015/taiga-ui-core-components-expand.js +10 -10
  241. package/fesm2015/taiga-ui-core-components-group.js +10 -10
  242. package/fesm2015/taiga-ui-core-components-hints-host.js +7 -7
  243. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +10 -10
  244. package/fesm2015/taiga-ui-core-components-label.js +7 -7
  245. package/fesm2015/taiga-ui-core-components-link.js +8 -8
  246. package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
  247. package/fesm2015/taiga-ui-core-components-loader.js +7 -7
  248. package/fesm2015/taiga-ui-core-components-notification.js +7 -7
  249. package/fesm2015/taiga-ui-core-components-primitive-calendar.js +7 -7
  250. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +7 -7
  251. package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +7 -7
  252. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +21 -22
  253. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  254. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +7 -7
  255. package/fesm2015/taiga-ui-core-components-root.js +7 -7
  256. package/fesm2015/taiga-ui-core-components-scroll-controls.js +13 -13
  257. package/fesm2015/taiga-ui-core-components-scrollbar.js +13 -13
  258. package/fesm2015/taiga-ui-core-components-svg.js +7 -7
  259. package/fesm2015/taiga-ui-core-components-theme-night.js +7 -7
  260. package/fesm2015/taiga-ui-core-components-tooltip.js +7 -7
  261. package/fesm2015/taiga-ui-core-directives-dropdown.js +37 -37
  262. package/fesm2015/taiga-ui-core-directives-hint.js +34 -34
  263. package/fesm2015/taiga-ui-core-directives-mask-accessor.js +7 -7
  264. package/fesm2015/taiga-ui-core-directives-mode.js +7 -7
  265. package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +7 -7
  266. package/fesm2015/taiga-ui-core-directives-textfield-controller.js +83 -36
  267. package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
  268. package/fesm2015/taiga-ui-core-directives-wrapper.js +7 -7
  269. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +7 -7
  270. package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +7 -7
  271. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +7 -7
  272. package/fesm2015/taiga-ui-core-pipes-flag.js +64 -0
  273. package/fesm2015/taiga-ui-core-pipes-flag.js.map +1 -0
  274. package/fesm2015/taiga-ui-core-pipes-format-date.js +7 -7
  275. package/fesm2015/taiga-ui-core-pipes-format-number.js +7 -7
  276. package/fesm2015/taiga-ui-core-pipes-format-phone.js +7 -7
  277. package/fesm2015/taiga-ui-core-pipes-month.js +7 -7
  278. package/fesm2015/taiga-ui-core-pipes-order-week-days.js +7 -7
  279. package/fesm2015/taiga-ui-core-pipes.js +1 -0
  280. package/fesm2015/taiga-ui-core-pipes.js.map +1 -1
  281. package/fesm2015/taiga-ui-core-services.js +18 -18
  282. package/fesm2015/taiga-ui-core-tokens.js +2 -0
  283. package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
  284. package/package.json +4 -4
  285. package/pipes/flag/flag.module.d.ts +7 -0
  286. package/pipes/flag/flag.pipe.d.ts +13 -0
  287. package/pipes/flag/index.d.ts +2 -0
  288. package/pipes/flag/package.json +10 -0
  289. package/pipes/flag/taiga-ui-core-pipes-flag.d.ts +5 -0
  290. package/pipes/index.d.ts +1 -0
  291. package/tokens/textfield-appearance.d.ts +1 -0
@@ -26,9 +26,9 @@ class TuiFormatDateService {
26
26
  }));
27
27
  }
28
28
  }
29
- TuiFormatDateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiFormatDateService, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
30
- TuiFormatDateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiFormatDateService, providedIn: `root` });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiFormatDateService, decorators: [{
29
+ TuiFormatDateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFormatDateService, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
30
+ TuiFormatDateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFormatDateService, providedIn: `root` });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFormatDateService, decorators: [{
32
32
  type: Injectable,
33
33
  args: [{
34
34
  providedIn: `root`,
@@ -54,9 +54,9 @@ class TuiHintService extends BehaviorSubject {
54
54
  }
55
55
  }
56
56
  }
57
- TuiHintService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
58
- TuiHintService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintService, providedIn: `root` });
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHintService, decorators: [{
57
+ TuiHintService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
58
+ TuiHintService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintService, providedIn: `root` });
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintService, decorators: [{
60
60
  type: Injectable,
61
61
  args: [{
62
62
  providedIn: `root`,
@@ -70,9 +70,9 @@ class TuiNightThemeService extends Observable {
70
70
  super(subscriber => media$.subscribe(subscriber));
71
71
  }
72
72
  }
73
- TuiNightThemeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiNightThemeService, deps: [{ token: WINDOW }], target: i0.ɵɵFactoryTarget.Injectable });
74
- TuiNightThemeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiNightThemeService, providedIn: `root` });
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiNightThemeService, decorators: [{
73
+ TuiNightThemeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiNightThemeService, deps: [{ token: WINDOW }], target: i0.ɵɵFactoryTarget.Injectable });
74
+ TuiNightThemeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiNightThemeService, providedIn: `root` });
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiNightThemeService, decorators: [{
76
76
  type: Injectable,
77
77
  args: [{
78
78
  providedIn: `root`,
@@ -89,9 +89,9 @@ class TuiPositionService extends Observable {
89
89
  .subscribe(subscriber));
90
90
  }
91
91
  }
92
- TuiPositionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiPositionService, deps: [{ token: ElementRef }, { token: ANIMATION_FRAME }, { token: NgZone }, { token: TuiPositionAccessor }], target: i0.ɵɵFactoryTarget.Injectable });
93
- TuiPositionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiPositionService });
94
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiPositionService, decorators: [{
92
+ TuiPositionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPositionService, deps: [{ token: ElementRef }, { token: ANIMATION_FRAME }, { token: NgZone }, { token: TuiPositionAccessor }], target: i0.ɵɵFactoryTarget.Injectable });
93
+ TuiPositionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPositionService });
94
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPositionService, decorators: [{
95
95
  type: Injectable
96
96
  }], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
97
97
  type: Inject,
@@ -116,9 +116,9 @@ class TuiRouterLinkActiveService extends Observable {
116
116
  super(subscriber => stream$.subscribe(subscriber));
117
117
  }
118
118
  }
119
- TuiRouterLinkActiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiRouterLinkActiveService, deps: [{ token: RouterLinkActive, optional: true }, { token: NgZone }, { token: ANIMATION_FRAME }, { token: TuiDestroyService, self: true }], target: i0.ɵɵFactoryTarget.Injectable });
120
- TuiRouterLinkActiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiRouterLinkActiveService });
121
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiRouterLinkActiveService, decorators: [{
119
+ TuiRouterLinkActiveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRouterLinkActiveService, deps: [{ token: RouterLinkActive, optional: true }, { token: NgZone }, { token: ANIMATION_FRAME }, { token: TuiDestroyService, self: true }], target: i0.ɵɵFactoryTarget.Injectable });
120
+ TuiRouterLinkActiveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRouterLinkActiveService });
121
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRouterLinkActiveService, decorators: [{
122
122
  type: Injectable
123
123
  }], ctorParameters: function () { return [{ type: i1$1.RouterLinkActive, decorators: [{
124
124
  type: Optional
@@ -180,9 +180,9 @@ class TuiSvgService {
180
180
  : this.sanitizer.sanitize(SecurityContext.HTML, src)) || ``);
181
181
  }
182
182
  }
183
- TuiSvgService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiSvgService, deps: [{ token: TUI_SANITIZER, optional: true }, { token: DomSanitizer }, { token: TUI_ICONS }], target: i0.ɵɵFactoryTarget.Injectable });
184
- TuiSvgService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiSvgService, providedIn: `root` });
185
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiSvgService, decorators: [{
183
+ TuiSvgService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSvgService, deps: [{ token: TUI_SANITIZER, optional: true }, { token: DomSanitizer }, { token: TUI_ICONS }], target: i0.ɵɵFactoryTarget.Injectable });
184
+ TuiSvgService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSvgService, providedIn: `root` });
185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSvgService, decorators: [{
186
186
  type: Injectable,
187
187
  args: [{
188
188
  providedIn: `root`,
@@ -184,6 +184,8 @@ const TUI_SVG_SRC_PROCESSOR = new InjectionToken(`[TUI_SVG_SRC_PROCESSOR]: Sourc
184
184
  factory: () => identity,
185
185
  });
186
186
 
187
+ // TODO: drop in v4
188
+ /** @deprecated use {@link TUI_TEXTFIELD_APPEARANCE_DIRECTIVE} instead */
187
189
  const TUI_TEXTFIELD_APPEARANCE = new InjectionToken(`[TUI_TEXTFIELD_APPEARANCE]: Appearance for inputs`, {
188
190
  factory: () => "textfield" /* Textfield */,
189
191
  });
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-core-tokens.js","sources":["../../../projects/core/tokens/animations-duration.ts","../../../projects/core/tokens/animation-options.ts","../../../projects/core/tokens/assert-enabled.ts","../../../projects/core/tokens/data-list-accessor.ts","../../../projects/core/tokens/data-list-host.ts","../../../projects/core/tokens/day-type-handler.ts","../../../projects/core/tokens/document-or-shadow-root.ts","../../../projects/core/tokens/element-ref.ts","../../../projects/core/tokens/first-day-of-week.ts","../../../projects/core/tokens/i18n.ts","../../../projects/core/tokens/icon-place.ts","../../../projects/core/tokens/icons.ts","../../../projects/core/tokens/icons-path.ts","../../../projects/core/tokens/media.ts","../../../projects/core/tokens/is-mobile-resolution.ts","../../../projects/core/tokens/mode.ts","../../../projects/core/tokens/notification-options.ts","../../../projects/core/tokens/number-format.ts","../../../projects/core/tokens/option-content.ts","../../../projects/core/tokens/ordered-short-week-days.ts","../../../projects/core/tokens/sanitizer.ts","../../../projects/core/tokens/scroll-ref.ts","../../../projects/core/tokens/selection-stream.ts","../../../projects/core/tokens/svg-content-processor.ts","../../../projects/core/tokens/svg-src-processor.ts","../../../projects/core/tokens/textfield-appearance.ts","../../../projects/core/tokens/textfield-host.ts","../../../projects/core/tokens/theme.ts","../../../projects/core/tokens/value-accessor.ts","../../../projects/core/tokens/viewport.ts","../../../projects/core/tokens/taiga-ui-core-tokens.ts"],"sourcesContent":["import {InjectionToken} from '@angular/core';\n\nexport const TUI_ANIMATIONS_DURATION = new InjectionToken<number>(\n `[TUI_ANIMATIONS_DURATION]: Duration of all Taiga UI animations in ms`,\n {\n factory: () => 300,\n },\n);\n","import {AnimationOptions} from '@angular/animations';\nimport {inject, InjectionToken} from '@angular/core';\n\nimport {TUI_ANIMATIONS_DURATION} from './animations-duration';\n\nexport const TUI_ANIMATION_OPTIONS = new InjectionToken<AnimationOptions>(\n `[TUI_ANIMATION_OPTIONS]: Options for Taiga UI animations`,\n {\n factory: () => ({\n params: {\n duration: inject(TUI_ANIMATIONS_DURATION),\n },\n }),\n },\n);\n","import {InjectionToken, isDevMode} from '@angular/core';\n\nexport const TUI_ASSERT_ENABLED = new InjectionToken(\n `[TUI_ASSERT_ENABLED]: Flag to enable assertions across Taiga UI`,\n {\n factory: () => isDevMode(),\n },\n);\n","import {InjectionToken, Provider, Type} from '@angular/core';\nimport {TuiDataListAccessor} from '@taiga-ui/core/interfaces';\n\nexport const TUI_DATA_LIST_ACCESSOR = new InjectionToken<TuiDataListAccessor>(\n `[TUI_DATA_LIST_ACCESSOR]: Accessor for options`,\n);\n\nexport function tuiAsDataListAccessor(useExisting: Type<TuiDataListAccessor>): Provider {\n return {\n provide: TUI_DATA_LIST_ACCESSOR,\n useExisting,\n };\n}\n","import {InjectionToken, Provider, Type} from '@angular/core';\nimport {TuiDataListHost} from '@taiga-ui/core/interfaces';\n\nexport const TUI_DATA_LIST_HOST = new InjectionToken<TuiDataListHost<unknown>>(\n `[TUI_DATA_LIST_HOST]: DataList controller`,\n);\n\nexport function tuiAsDataListHost(useExisting: Type<TuiDataListHost<unknown>>): Provider {\n return {\n provide: TUI_DATA_LIST_HOST,\n useExisting,\n };\n}\n","import {InjectionToken} from '@angular/core';\nimport {TuiDay, TuiHandler} from '@taiga-ui/cdk';\n\nexport const TUI_DAY_TYPE_HANDLER = new InjectionToken<TuiHandler<TuiDay, string>>(\n `[TUI_DAY_TYPE_HANDLER]: Token for adding data-type attribute to calendar cell`,\n {\n factory: () => (day: TuiDay) => day.isWeekend ? `weekend` : `weekday`,\n },\n);\n","import {InjectionToken} from '@angular/core';\n\nexport const TUI_DOCUMENT_OR_SHADOW_ROOT = new InjectionToken<DocumentOrShadowRoot>(\n `[TUI_DOCUMENT_OR_SHADOW_ROOT]: Document or ShadowRoot`,\n);\n","import {ElementRef, InjectionToken} from '@angular/core';\n\nexport const TUI_ELEMENT_REF = new InjectionToken<ElementRef>(\n `[TUI_ELEMENT_REF]: ElementRef when you cannot use @Input for single time injection`,\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiDayOfWeek} from '@taiga-ui/cdk';\n\nexport const TUI_FIRST_DAY_OF_WEEK = new InjectionToken<TuiDayOfWeek>(\n `[TUI_FIRST_DAY_OF_WEEK]: The first day of the week index`,\n {\n factory: () => TuiDayOfWeek.Monday,\n },\n);\n","import {InjectionToken} from '@angular/core';\nimport {tuiExtractI18n} from '@taiga-ui/i18n';\n\nexport const TUI_MONTHS = new InjectionToken(`[TUI_MONTHS]: Localized months names`, {\n factory: tuiExtractI18n(`months`),\n});\n\nexport const TUI_CLOSE_WORD = new InjectionToken(`[TUI_CLOSE_WORD]: i18n 'close' word`, {\n factory: tuiExtractI18n(`close`),\n});\n\nexport const TUI_NOTHING_FOUND_MESSAGE = new InjectionToken(\n `[TUI_NOTHING_FOUND_MESSAGE]: i18n 'Nothing found' message`,\n {\n factory: tuiExtractI18n(`nothingFoundMessage`),\n },\n);\n\nexport const TUI_DEFAULT_ERROR_MESSAGE = new InjectionToken(\n `[TUI_DEFAULT_ERROR_MESSAGE]: i18n of error message`,\n {\n factory: tuiExtractI18n(`defaultErrorMessage`),\n },\n);\n\nexport const TUI_SPIN_TEXTS = new InjectionToken(`[TUI_SPIN_TEXTS]: spin i18n texts`, {\n factory: tuiExtractI18n(`spinTexts`),\n});\n\nexport const TUI_SHORT_WEEK_DAYS = new InjectionToken(\n `[TUI_SHORT_WEEK_DAYS]: calendars i18n texts`,\n {\n factory: tuiExtractI18n(`shortWeekDays`),\n },\n);\n","import {InjectionToken} from '@angular/core';\n\n/**\n * @deprecated Use {@link TUI_SVG_OPTIONS} instead\n */\nexport const TUI_ICONS_PLACE: InjectionToken<string> = new InjectionToken<string>(\n `[TUI_ICONS_PLACE]: Paths to icons`,\n {\n factory: () => `assets/taiga-ui/icons`,\n },\n);\n","import {InjectionToken} from '@angular/core';\n\nexport const TUI_ICONS = new InjectionToken<Record<string, string>>(\n `[TUI_ICONS]: A key/value dictionary of icon names and src to be defined with TuiSvgService`,\n {\n factory: () => ({}),\n },\n);\n","import {inject, InjectionToken} from '@angular/core';\nimport {TuiStringHandler} from '@taiga-ui/cdk';\nimport {tuiIconsPathFactory} from '@taiga-ui/core/utils';\n\nimport {TUI_ICONS_PLACE} from './icon-place';\n\n/**\n * @deprecated Use {@link TUI_SVG_OPTIONS} instead\n */\nexport const TUI_ICONS_PATH: InjectionToken<TuiStringHandler<string>> =\n new InjectionToken<TuiStringHandler<string>>(\n `[TUI_ICONS_PATH]: A handler to retrieve USE id for icon by name`,\n {factory: () => tuiIconsPathFactory(inject(TUI_ICONS_PLACE))},\n );\n","import {InjectionToken} from '@angular/core';\nimport {TuiMedia} from '@taiga-ui/core/interfaces';\n\nexport const TUI_MEDIA = new InjectionToken<TuiMedia>(\n `[TUI_MEDIA]: Token for media constant`,\n {\n factory: () => ({\n mobile: 768,\n desktopSmall: 1024,\n desktopLarge: 1280,\n }),\n },\n);\n","import {inject, InjectionToken, NgZone} from '@angular/core';\nimport {WINDOW} from '@ng-web-apis/common';\nimport {tuiTypedFromEvent, tuiZoneOptimized} from '@taiga-ui/cdk';\nimport {tuiIsMobile} from '@taiga-ui/core/utils';\nimport {Observable} from 'rxjs';\nimport {distinctUntilChanged, map, share, startWith} from 'rxjs/operators';\n\nimport {TUI_MEDIA} from './media';\n\nexport const TUI_IS_MOBILE_RES = new InjectionToken<Observable<boolean>>(\n `[TUI_IS_MOBILE_RES]: Mobile resolution stream for private providers`,\n {\n factory: () => {\n const windowRef = inject(WINDOW);\n const media = inject(TUI_MEDIA);\n\n return tuiTypedFromEvent(windowRef, `resize`).pipe(\n share(),\n startWith(null),\n map(() => tuiIsMobile(windowRef, media)),\n distinctUntilChanged(),\n tuiZoneOptimized(inject(NgZone)),\n );\n },\n },\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiBrightness} from '@taiga-ui/core/types';\nimport {Observable} from 'rxjs';\n\nexport const TUI_MODE: InjectionToken<Observable<TuiBrightness | null>> =\n new InjectionToken<Observable<TuiBrightness | null>>(\n `[TUI_MODE]: Mode stream for private providers`,\n );\n","import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiNotification} from '@taiga-ui/core/enums';\nimport {TuiAlertOptions} from '@taiga-ui/core/interfaces';\n\nexport interface TuiNotificationDefaultOptions\n extends Omit<TuiAlertOptions<unknown>, 'data'> {\n readonly defaultAutoCloseTime: number;\n}\n\n/** Default values for the notification options. */\nexport const TUI_NOTIFICATION_DEFAULT_OPTIONS: TuiNotificationDefaultOptions = {\n autoClose: true,\n label: ``,\n status: TuiNotification.Info,\n hasIcon: true,\n hasCloseButton: true,\n defaultAutoCloseTime: 3000,\n};\n\nexport const TUI_NOTIFICATION_OPTIONS = new InjectionToken<TuiNotificationDefaultOptions>(\n `[TUI_NOTIFICATION_OPTIONS]: Default parameters for notification alert component`,\n {\n factory: () => TUI_NOTIFICATION_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiNotificationOptionsProvider(\n options: Partial<TuiNotificationDefaultOptions>,\n): ValueProvider {\n return {\n provide: TUI_NOTIFICATION_OPTIONS,\n useValue: {...TUI_NOTIFICATION_DEFAULT_OPTIONS, ...options},\n };\n}\n","import {InjectionToken} from '@angular/core';\nimport {TUI_DEFAULT_NUMBER_FORMAT} from '@taiga-ui/core/constants';\nimport {TuiNumberFormatSettings} from '@taiga-ui/core/interfaces';\n\nexport const TUI_NUMBER_FORMAT = new InjectionToken<TuiNumberFormatSettings>(\n `[TUI_NUMBER_FORMAT]: Formatting configuration for displayed numbers`,\n {\n factory: () => TUI_DEFAULT_NUMBER_FORMAT,\n },\n);\n","import {InjectionToken, Provider, TemplateRef} from '@angular/core';\nimport {TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport const TUI_OPTION_CONTENT = new InjectionToken<\n PolymorpheusContent<TuiContextWithImplicit<TemplateRef<Record<string, unknown>>>>\n>(`[TUI_OPTION_CONTENT]: Content for tuiOption component`);\n\nexport function tuiAsOptionContent(\n useValue: PolymorpheusContent<\n TuiContextWithImplicit<TemplateRef<Record<string, unknown>>>\n >,\n): Provider {\n return {\n provide: TUI_OPTION_CONTENT,\n useValue,\n };\n}\n","/**\n * TODO: v4.0 delete the whole file\n */\nimport {inject, InjectionToken} from '@angular/core';\nimport {Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nimport {TUI_FIRST_DAY_OF_WEEK} from './first-day-of-week';\nimport {TUI_SHORT_WEEK_DAYS} from './i18n';\n\n/**\n * @deprecated\n */\nexport type WEEK_DAYS_NAMES = [string, string, string, string, string, string, string];\n\nconst convertToSundayFirstWeekFormat = (\n weekDaysNames: WEEK_DAYS_NAMES,\n): WEEK_DAYS_NAMES => {\n const sundayIndex = weekDaysNames.length - 1;\n\n return [\n weekDaysNames[sundayIndex],\n ...weekDaysNames.slice(0, sundayIndex),\n ] as WEEK_DAYS_NAMES;\n};\n\n/**\n * @deprecated\n */\nexport const TUI_ORDERED_SHORT_WEEK_DAYS = new InjectionToken<\n Observable<WEEK_DAYS_NAMES>\n>(`[TUI_ORDERED_SHORT_WEEK_DAYS]: Ordered calendars i18n texts`, {\n factory: () => {\n const firstDayOfWeekIndex = inject(TUI_FIRST_DAY_OF_WEEK);\n\n return inject(TUI_SHORT_WEEK_DAYS).pipe(\n map(convertToSundayFirstWeekFormat),\n map(\n weekDays =>\n [\n ...weekDays.slice(firstDayOfWeekIndex),\n ...weekDays.slice(0, firstDayOfWeekIndex),\n ] as WEEK_DAYS_NAMES,\n ),\n );\n },\n});\n","import {InjectionToken, Sanitizer} from '@angular/core';\n\nexport const TUI_SANITIZER = new InjectionToken<Sanitizer>(\n `[TUI_SANITIZER]: A custom Sanitizer to sanitize source before inlining`,\n);\n","import {ElementRef, InjectionToken} from '@angular/core';\n\nexport const TUI_SCROLL_REF = new InjectionToken<ElementRef<HTMLElement>>(\n `[TUI_SCROLL_REF]: Scrollable container`,\n);\n","import {DOCUMENT} from '@angular/common';\nimport {inject, InjectionToken} from '@angular/core';\nimport {tuiTypedFromEvent} from '@taiga-ui/cdk';\nimport {merge, Observable} from 'rxjs';\nimport {share, switchMap, takeUntil} from 'rxjs/operators';\n\nexport const TUI_SELECTION_STREAM = new InjectionToken<Observable<unknown>>(\n `[TUI_SELECTION_STREAM]: A stream of possible selection changes`,\n {\n factory: () => {\n const documentRef = inject(DOCUMENT);\n\n return merge(\n tuiTypedFromEvent(documentRef, `selectionchange`),\n tuiTypedFromEvent(documentRef, `mouseup`),\n tuiTypedFromEvent(documentRef, `mousedown`).pipe(\n switchMap(() =>\n tuiTypedFromEvent(documentRef, `mousemove`).pipe(\n takeUntil(tuiTypedFromEvent(documentRef, `mouseup`)),\n ),\n ),\n ),\n tuiTypedFromEvent(documentRef, `keydown`),\n tuiTypedFromEvent(documentRef, `keyup`),\n ).pipe(share());\n },\n },\n);\n","import {InjectionToken} from '@angular/core';\nimport {SafeHtml} from '@angular/platform-browser';\nimport {TuiHandler, tuiSvgLinearGradientProcessor} from '@taiga-ui/cdk';\n\n/**\n * @deprecated Use {@link TUI_SVG_OPTIONS} instead\n */\nexport const TUI_SVG_CONTENT_PROCESSOR = new InjectionToken<\n TuiHandler<SafeHtml | string, SafeHtml | string>\n>(`[TUI_SVG_CONTENT_PROCESSOR]: Transform function the contents of the loaded svg file`, {\n factory: () => tuiSvgLinearGradientProcessor,\n});\n","import {InjectionToken} from '@angular/core';\nimport {SafeHtml} from '@angular/platform-browser';\nimport {TuiHandler} from '@taiga-ui/cdk';\nimport {identity} from 'rxjs';\n\n/**\n * @deprecated Use {@link TUI_SVG_OPTIONS} instead\n */\nexport const TUI_SVG_SRC_PROCESSOR = new InjectionToken<\n TuiHandler<SafeHtml | string, SafeHtml | string>\n>(`[TUI_SVG_SRC_PROCESSOR]: Source path processor for svg`, {\n factory: () => identity,\n});\n","import {InjectionToken} from '@angular/core';\nimport {TuiAppearance} from '@taiga-ui/core/enums';\n\nexport const TUI_TEXTFIELD_APPEARANCE = new InjectionToken<string>(\n `[TUI_TEXTFIELD_APPEARANCE]: Appearance for inputs`,\n {\n factory: () => TuiAppearance.Textfield,\n },\n);\n","import {InjectionToken, Provider, Type} from '@angular/core';\nimport {TuiTextfieldHost} from '@taiga-ui/core/interfaces';\n\nexport const TUI_TEXTFIELD_HOST = new InjectionToken<TuiTextfieldHost>(\n `[TUI_TEXTFIELD_HOST]: An interface to communicate with textfield based controls`,\n);\n\nexport function tuiAsTextfieldHost(useExisting: Type<TuiTextfieldHost>): Provider {\n return {\n provide: TUI_TEXTFIELD_HOST,\n useExisting,\n };\n}\n","import {InjectionToken} from '@angular/core';\n\nexport const TUI_THEME = new InjectionToken<string>(`[TUI_THEME]: Theme name`, {\n factory: () => `Taiga`,\n});\n","import {InjectionToken} from '@angular/core';\nimport {ControlValueAccessor} from '@angular/forms';\n\nexport const TUI_VALUE_ACCESSOR = new InjectionToken<ControlValueAccessor>(\n `[TUI_VALUE_ACCESSOR]: Buffer token to pass NG_VALUE_ACCESSOR to a different Injector`,\n);\n","import {inject, InjectionToken, Provider, Type} from '@angular/core';\nimport {WINDOW} from '@ng-web-apis/common';\nimport {TuiRectAccessor} from '@taiga-ui/core/abstract';\n\nexport const TUI_VIEWPORT = new InjectionToken<TuiRectAccessor>(\n `[TUI_VIEWPORT]: Viewport accessor`,\n {\n factory: () => {\n const windowRef = inject(WINDOW);\n\n return {\n getClientRect() {\n return {\n top: 0,\n left: 0,\n right: windowRef.innerWidth,\n bottom: windowRef.innerHeight,\n width: windowRef.innerWidth,\n height: windowRef.innerHeight,\n };\n },\n };\n },\n },\n);\n\nexport function tuiAsViewport(useExisting: Type<TuiRectAccessor>): Provider {\n return {\n provide: TUI_VIEWPORT,\n useExisting,\n };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAEa,uBAAuB,GAAG,IAAI,cAAc,CACrD,sEAAsE,EACtE;AACI,IAAA,OAAO,EAAE,MAAM,GAAG;AACrB,CAAA;;MCDQ,qBAAqB,GAAG,IAA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OAAO;YACH,aAAa,GAAA;gBACT,OAAO;AACH,oBAAA,GAAG,EAAE,CAAC;AACN,oBAAA,IAAI,EAAE,CAAC;oBACP,KAAK,EAAE,SAAS,CAAC,UAAU;oBAC3B,MAAM,EAAE,SAAS,CAAC,WAAW;oBAC7B,KAAK,EAAE,SAAS,CAAC,UAAU;oBAC3B,MAAM,EAAE,SAAS,CAAC,WAAW;iBAChC,CAAC;aACL;SACJ,CAAC;KACL;AACJ,CAAA,EACH;AAEI,SAAU,aAAa,CAAC,WAAkC,EAAA;IAC5D,OAAO;AACH,QAAA,OAAO,EAAE,YAAY;QACrB,WAAW;KACd,CAAC;AACN;;AC/BA;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-core-tokens.js","sources":["../../../projects/core/tokens/animations-duration.ts","../../../projects/core/tokens/animation-options.ts","../../../projects/core/tokens/assert-enabled.ts","../../../projects/core/tokens/data-list-accessor.ts","../../../projects/core/tokens/data-list-host.ts","../../../projects/core/tokens/day-type-handler.ts","../../../projects/core/tokens/document-or-shadow-root.ts","../../../projects/core/tokens/element-ref.ts","../../../projects/core/tokens/first-day-of-week.ts","../../../projects/core/tokens/i18n.ts","../../../projects/core/tokens/icon-place.ts","../../../projects/core/tokens/icons.ts","../../../projects/core/tokens/icons-path.ts","../../../projects/core/tokens/media.ts","../../../projects/core/tokens/is-mobile-resolution.ts","../../../projects/core/tokens/mode.ts","../../../projects/core/tokens/notification-options.ts","../../../projects/core/tokens/number-format.ts","../../../projects/core/tokens/option-content.ts","../../../projects/core/tokens/ordered-short-week-days.ts","../../../projects/core/tokens/sanitizer.ts","../../../projects/core/tokens/scroll-ref.ts","../../../projects/core/tokens/selection-stream.ts","../../../projects/core/tokens/svg-content-processor.ts","../../../projects/core/tokens/svg-src-processor.ts","../../../projects/core/tokens/textfield-appearance.ts","../../../projects/core/tokens/textfield-host.ts","../../../projects/core/tokens/theme.ts","../../../projects/core/tokens/value-accessor.ts","../../../projects/core/tokens/viewport.ts","../../../projects/core/tokens/taiga-ui-core-tokens.ts"],"sourcesContent":["import {InjectionToken} from '@angular/core';\n\nexport const TUI_ANIMATIONS_DURATION = new InjectionToken<number>(\n `[TUI_ANIMATIONS_DURATION]: Duration of all Taiga UI animations in ms`,\n {\n factory: () => 300,\n },\n);\n","import {AnimationOptions} from '@angular/animations';\nimport {inject, InjectionToken} from '@angular/core';\n\nimport {TUI_ANIMATIONS_DURATION} from './animations-duration';\n\nexport const TUI_ANIMATION_OPTIONS = new InjectionToken<AnimationOptions>(\n `[TUI_ANIMATION_OPTIONS]: Options for Taiga UI animations`,\n {\n factory: () => ({\n params: {\n duration: inject(TUI_ANIMATIONS_DURATION),\n },\n }),\n },\n);\n","import {InjectionToken, isDevMode} from '@angular/core';\n\nexport const TUI_ASSERT_ENABLED = new InjectionToken(\n `[TUI_ASSERT_ENABLED]: Flag to enable assertions across Taiga UI`,\n {\n factory: () => isDevMode(),\n },\n);\n","import {InjectionToken, Provider, Type} from '@angular/core';\nimport {TuiDataListAccessor} from '@taiga-ui/core/interfaces';\n\nexport const TUI_DATA_LIST_ACCESSOR = new InjectionToken<TuiDataListAccessor>(\n `[TUI_DATA_LIST_ACCESSOR]: Accessor for options`,\n);\n\nexport function tuiAsDataListAccessor(useExisting: Type<TuiDataListAccessor>): Provider {\n return {\n provide: TUI_DATA_LIST_ACCESSOR,\n useExisting,\n };\n}\n","import {InjectionToken, Provider, Type} from '@angular/core';\nimport {TuiDataListHost} from '@taiga-ui/core/interfaces';\n\nexport const TUI_DATA_LIST_HOST = new InjectionToken<TuiDataListHost<unknown>>(\n `[TUI_DATA_LIST_HOST]: DataList controller`,\n);\n\nexport function tuiAsDataListHost(useExisting: Type<TuiDataListHost<unknown>>): Provider {\n return {\n provide: TUI_DATA_LIST_HOST,\n useExisting,\n };\n}\n","import {InjectionToken} from '@angular/core';\nimport {TuiDay, TuiHandler} from '@taiga-ui/cdk';\n\nexport const TUI_DAY_TYPE_HANDLER = new InjectionToken<TuiHandler<TuiDay, string>>(\n `[TUI_DAY_TYPE_HANDLER]: Token for adding data-type attribute to calendar cell`,\n {\n factory: () => (day: TuiDay) => day.isWeekend ? `weekend` : `weekday`,\n },\n);\n","import {InjectionToken} from '@angular/core';\n\nexport const TUI_DOCUMENT_OR_SHADOW_ROOT = new InjectionToken<DocumentOrShadowRoot>(\n `[TUI_DOCUMENT_OR_SHADOW_ROOT]: Document or ShadowRoot`,\n);\n","import {ElementRef, InjectionToken} from '@angular/core';\n\nexport const TUI_ELEMENT_REF = new InjectionToken<ElementRef>(\n `[TUI_ELEMENT_REF]: ElementRef when you cannot use @Input for single time injection`,\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiDayOfWeek} from '@taiga-ui/cdk';\n\nexport const TUI_FIRST_DAY_OF_WEEK = new InjectionToken<TuiDayOfWeek>(\n `[TUI_FIRST_DAY_OF_WEEK]: The first day of the week index`,\n {\n factory: () => TuiDayOfWeek.Monday,\n },\n);\n","import {InjectionToken} from '@angular/core';\nimport {tuiExtractI18n} from '@taiga-ui/i18n';\n\nexport const TUI_MONTHS = new InjectionToken(`[TUI_MONTHS]: Localized months names`, {\n factory: tuiExtractI18n(`months`),\n});\n\nexport const TUI_CLOSE_WORD = new InjectionToken(`[TUI_CLOSE_WORD]: i18n 'close' word`, {\n factory: tuiExtractI18n(`close`),\n});\n\nexport const TUI_NOTHING_FOUND_MESSAGE = new InjectionToken(\n `[TUI_NOTHING_FOUND_MESSAGE]: i18n 'Nothing found' message`,\n {\n factory: tuiExtractI18n(`nothingFoundMessage`),\n },\n);\n\nexport const TUI_DEFAULT_ERROR_MESSAGE = new InjectionToken(\n `[TUI_DEFAULT_ERROR_MESSAGE]: i18n of error message`,\n {\n factory: tuiExtractI18n(`defaultErrorMessage`),\n },\n);\n\nexport const TUI_SPIN_TEXTS = new InjectionToken(`[TUI_SPIN_TEXTS]: spin i18n texts`, {\n factory: tuiExtractI18n(`spinTexts`),\n});\n\nexport const TUI_SHORT_WEEK_DAYS = new InjectionToken(\n `[TUI_SHORT_WEEK_DAYS]: calendars i18n texts`,\n {\n factory: tuiExtractI18n(`shortWeekDays`),\n },\n);\n","import {InjectionToken} from '@angular/core';\n\n/**\n * @deprecated Use {@link TUI_SVG_OPTIONS} instead\n */\nexport const TUI_ICONS_PLACE: InjectionToken<string> = new InjectionToken<string>(\n `[TUI_ICONS_PLACE]: Paths to icons`,\n {\n factory: () => `assets/taiga-ui/icons`,\n },\n);\n","import {InjectionToken} from '@angular/core';\n\nexport const TUI_ICONS = new InjectionToken<Record<string, string>>(\n `[TUI_ICONS]: A key/value dictionary of icon names and src to be defined with TuiSvgService`,\n {\n factory: () => ({}),\n },\n);\n","import {inject, InjectionToken} from '@angular/core';\nimport {TuiStringHandler} from '@taiga-ui/cdk';\nimport {tuiIconsPathFactory} from '@taiga-ui/core/utils';\n\nimport {TUI_ICONS_PLACE} from './icon-place';\n\n/**\n * @deprecated Use {@link TUI_SVG_OPTIONS} instead\n */\nexport const TUI_ICONS_PATH: InjectionToken<TuiStringHandler<string>> =\n new InjectionToken<TuiStringHandler<string>>(\n `[TUI_ICONS_PATH]: A handler to retrieve USE id for icon by name`,\n {factory: () => tuiIconsPathFactory(inject(TUI_ICONS_PLACE))},\n );\n","import {InjectionToken} from '@angular/core';\nimport {TuiMedia} from '@taiga-ui/core/interfaces';\n\nexport const TUI_MEDIA = new InjectionToken<TuiMedia>(\n `[TUI_MEDIA]: Token for media constant`,\n {\n factory: () => ({\n mobile: 768,\n desktopSmall: 1024,\n desktopLarge: 1280,\n }),\n },\n);\n","import {inject, InjectionToken, NgZone} from '@angular/core';\nimport {WINDOW} from '@ng-web-apis/common';\nimport {tuiTypedFromEvent, tuiZoneOptimized} from '@taiga-ui/cdk';\nimport {tuiIsMobile} from '@taiga-ui/core/utils';\nimport {Observable} from 'rxjs';\nimport {distinctUntilChanged, map, share, startWith} from 'rxjs/operators';\n\nimport {TUI_MEDIA} from './media';\n\nexport const TUI_IS_MOBILE_RES = new InjectionToken<Observable<boolean>>(\n `[TUI_IS_MOBILE_RES]: Mobile resolution stream for private providers`,\n {\n factory: () => {\n const windowRef = inject(WINDOW);\n const media = inject(TUI_MEDIA);\n\n return tuiTypedFromEvent(windowRef, `resize`).pipe(\n share(),\n startWith(null),\n map(() => tuiIsMobile(windowRef, media)),\n distinctUntilChanged(),\n tuiZoneOptimized(inject(NgZone)),\n );\n },\n },\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiBrightness} from '@taiga-ui/core/types';\nimport {Observable} from 'rxjs';\n\nexport const TUI_MODE: InjectionToken<Observable<TuiBrightness | null>> =\n new InjectionToken<Observable<TuiBrightness | null>>(\n `[TUI_MODE]: Mode stream for private providers`,\n );\n","import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiNotification} from '@taiga-ui/core/enums';\nimport {TuiAlertOptions} from '@taiga-ui/core/interfaces';\n\nexport interface TuiNotificationDefaultOptions\n extends Omit<TuiAlertOptions<unknown>, 'data'> {\n readonly defaultAutoCloseTime: number;\n}\n\n/** Default values for the notification options. */\nexport const TUI_NOTIFICATION_DEFAULT_OPTIONS: TuiNotificationDefaultOptions = {\n autoClose: true,\n label: ``,\n status: TuiNotification.Info,\n hasIcon: true,\n hasCloseButton: true,\n defaultAutoCloseTime: 3000,\n};\n\nexport const TUI_NOTIFICATION_OPTIONS = new InjectionToken<TuiNotificationDefaultOptions>(\n `[TUI_NOTIFICATION_OPTIONS]: Default parameters for notification alert component`,\n {\n factory: () => TUI_NOTIFICATION_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiNotificationOptionsProvider(\n options: Partial<TuiNotificationDefaultOptions>,\n): ValueProvider {\n return {\n provide: TUI_NOTIFICATION_OPTIONS,\n useValue: {...TUI_NOTIFICATION_DEFAULT_OPTIONS, ...options},\n };\n}\n","import {InjectionToken} from '@angular/core';\nimport {TUI_DEFAULT_NUMBER_FORMAT} from '@taiga-ui/core/constants';\nimport {TuiNumberFormatSettings} from '@taiga-ui/core/interfaces';\n\nexport const TUI_NUMBER_FORMAT = new InjectionToken<TuiNumberFormatSettings>(\n `[TUI_NUMBER_FORMAT]: Formatting configuration for displayed numbers`,\n {\n factory: () => TUI_DEFAULT_NUMBER_FORMAT,\n },\n);\n","import {InjectionToken, Provider, TemplateRef} from '@angular/core';\nimport {TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport const TUI_OPTION_CONTENT = new InjectionToken<\n PolymorpheusContent<TuiContextWithImplicit<TemplateRef<Record<string, unknown>>>>\n>(`[TUI_OPTION_CONTENT]: Content for tuiOption component`);\n\nexport function tuiAsOptionContent(\n useValue: PolymorpheusContent<\n TuiContextWithImplicit<TemplateRef<Record<string, unknown>>>\n >,\n): Provider {\n return {\n provide: TUI_OPTION_CONTENT,\n useValue,\n };\n}\n","/**\n * TODO: v4.0 delete the whole file\n */\nimport {inject, InjectionToken} from '@angular/core';\nimport {Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nimport {TUI_FIRST_DAY_OF_WEEK} from './first-day-of-week';\nimport {TUI_SHORT_WEEK_DAYS} from './i18n';\n\n/**\n * @deprecated\n */\nexport type WEEK_DAYS_NAMES = [string, string, string, string, string, string, string];\n\nconst convertToSundayFirstWeekFormat = (\n weekDaysNames: WEEK_DAYS_NAMES,\n): WEEK_DAYS_NAMES => {\n const sundayIndex = weekDaysNames.length - 1;\n\n return [\n weekDaysNames[sundayIndex],\n ...weekDaysNames.slice(0, sundayIndex),\n ] as WEEK_DAYS_NAMES;\n};\n\n/**\n * @deprecated\n */\nexport const TUI_ORDERED_SHORT_WEEK_DAYS = new InjectionToken<\n Observable<WEEK_DAYS_NAMES>\n>(`[TUI_ORDERED_SHORT_WEEK_DAYS]: Ordered calendars i18n texts`, {\n factory: () => {\n const firstDayOfWeekIndex = inject(TUI_FIRST_DAY_OF_WEEK);\n\n return inject(TUI_SHORT_WEEK_DAYS).pipe(\n map(convertToSundayFirstWeekFormat),\n map(\n weekDays =>\n [\n ...weekDays.slice(firstDayOfWeekIndex),\n ...weekDays.slice(0, firstDayOfWeekIndex),\n ] as WEEK_DAYS_NAMES,\n ),\n );\n },\n});\n","import {InjectionToken, Sanitizer} from '@angular/core';\n\nexport const TUI_SANITIZER = new InjectionToken<Sanitizer>(\n `[TUI_SANITIZER]: A custom Sanitizer to sanitize source before inlining`,\n);\n","import {ElementRef, InjectionToken} from '@angular/core';\n\nexport const TUI_SCROLL_REF = new InjectionToken<ElementRef<HTMLElement>>(\n `[TUI_SCROLL_REF]: Scrollable container`,\n);\n","import {DOCUMENT} from '@angular/common';\nimport {inject, InjectionToken} from '@angular/core';\nimport {tuiTypedFromEvent} from '@taiga-ui/cdk';\nimport {merge, Observable} from 'rxjs';\nimport {share, switchMap, takeUntil} from 'rxjs/operators';\n\nexport const TUI_SELECTION_STREAM = new InjectionToken<Observable<unknown>>(\n `[TUI_SELECTION_STREAM]: A stream of possible selection changes`,\n {\n factory: () => {\n const documentRef = inject(DOCUMENT);\n\n return merge(\n tuiTypedFromEvent(documentRef, `selectionchange`),\n tuiTypedFromEvent(documentRef, `mouseup`),\n tuiTypedFromEvent(documentRef, `mousedown`).pipe(\n switchMap(() =>\n tuiTypedFromEvent(documentRef, `mousemove`).pipe(\n takeUntil(tuiTypedFromEvent(documentRef, `mouseup`)),\n ),\n ),\n ),\n tuiTypedFromEvent(documentRef, `keydown`),\n tuiTypedFromEvent(documentRef, `keyup`),\n ).pipe(share());\n },\n },\n);\n","import {InjectionToken} from '@angular/core';\nimport {SafeHtml} from '@angular/platform-browser';\nimport {TuiHandler, tuiSvgLinearGradientProcessor} from '@taiga-ui/cdk';\n\n/**\n * @deprecated Use {@link TUI_SVG_OPTIONS} instead\n */\nexport const TUI_SVG_CONTENT_PROCESSOR = new InjectionToken<\n TuiHandler<SafeHtml | string, SafeHtml | string>\n>(`[TUI_SVG_CONTENT_PROCESSOR]: Transform function the contents of the loaded svg file`, {\n factory: () => tuiSvgLinearGradientProcessor,\n});\n","import {InjectionToken} from '@angular/core';\nimport {SafeHtml} from '@angular/platform-browser';\nimport {TuiHandler} from '@taiga-ui/cdk';\nimport {identity} from 'rxjs';\n\n/**\n * @deprecated Use {@link TUI_SVG_OPTIONS} instead\n */\nexport const TUI_SVG_SRC_PROCESSOR = new InjectionToken<\n TuiHandler<SafeHtml | string, SafeHtml | string>\n>(`[TUI_SVG_SRC_PROCESSOR]: Source path processor for svg`, {\n factory: () => identity,\n});\n","import {InjectionToken} from '@angular/core';\nimport {TuiAppearance} from '@taiga-ui/core/enums';\n\n// TODO: drop in v4\n/** @deprecated use {@link TUI_TEXTFIELD_APPEARANCE_DIRECTIVE} instead */\nexport const TUI_TEXTFIELD_APPEARANCE = new InjectionToken<string>(\n `[TUI_TEXTFIELD_APPEARANCE]: Appearance for inputs`,\n {\n factory: () => TuiAppearance.Textfield,\n },\n);\n","import {InjectionToken, Provider, Type} from '@angular/core';\nimport {TuiTextfieldHost} from '@taiga-ui/core/interfaces';\n\nexport const TUI_TEXTFIELD_HOST = new InjectionToken<TuiTextfieldHost>(\n `[TUI_TEXTFIELD_HOST]: An interface to communicate with textfield based controls`,\n);\n\nexport function tuiAsTextfieldHost(useExisting: Type<TuiTextfieldHost>): Provider {\n return {\n provide: TUI_TEXTFIELD_HOST,\n useExisting,\n };\n}\n","import {InjectionToken} from '@angular/core';\n\nexport const TUI_THEME = new InjectionToken<string>(`[TUI_THEME]: Theme name`, {\n factory: () => `Taiga`,\n});\n","import {InjectionToken} from '@angular/core';\nimport {ControlValueAccessor} from '@angular/forms';\n\nexport const TUI_VALUE_ACCESSOR = new InjectionToken<ControlValueAccessor>(\n `[TUI_VALUE_ACCESSOR]: Buffer token to pass NG_VALUE_ACCESSOR to a different Injector`,\n);\n","import {inject, InjectionToken, Provider, Type} from '@angular/core';\nimport {WINDOW} from '@ng-web-apis/common';\nimport {TuiRectAccessor} from '@taiga-ui/core/abstract';\n\nexport const TUI_VIEWPORT = new InjectionToken<TuiRectAccessor>(\n `[TUI_VIEWPORT]: Viewport accessor`,\n {\n factory: () => {\n const windowRef = inject(WINDOW);\n\n return {\n getClientRect() {\n return {\n top: 0,\n left: 0,\n right: windowRef.innerWidth,\n bottom: windowRef.innerHeight,\n width: windowRef.innerWidth,\n height: windowRef.innerHeight,\n };\n },\n };\n },\n },\n);\n\nexport function tuiAsViewport(useExisting: Type<TuiRectAccessor>): Provider {\n return {\n provide: TUI_VIEWPORT,\n useExisting,\n };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAEa,uBAAuB,GAAG,IAAI,cAAc,CACrD,sEAAsE,EACtE;AACI,IAAA,OAAO,EAAE,MAAM,GAAG;AACrB,CAAA;;MCDQ,qBAAqB,GAAG,IAAI,cAAc,CACnD,0DAA0D,EAC1D;AACI,IAAA,OAAO,EAAE,OAAO;AACZ,QAAA,MAAM,EAAE;AACJ,YAAA,QAAQ,EAAE,MAAM,CAAC,uBAAuB,CAAC;AAC5C,SAAA;KACJ,CAAC;AACL,CAAA;;MCXQ,kBAAkB,GAAG,IAAI,cAAc,CAChD,iEAAiE,EACjE;AACI,IAAA,OAAO,EAAE,MAAM,SAAS,EAAE;AAC7B,CAAA;;MCHQ,sBAAsB,GAAG,IAAI,cAAc,CACpD,CAAgD,8CAAA,CAAA,EAClD;AAEI,SAAU,qBAAqB,CAAC,WAAsC,EAAA;IACxE,OAAO;AACH,QAAA,OAAO,EAAE,sBAAsB;QAC/B,WAAW;KACd,CAAC;AACN;;MCTa,kBAAkB,GAAG,IAAI,cAAc,CAChD,CAA2C,yCAAA,CAAA,EAC7C;AAEI,SAAU,iBAAiB,CAAC,WAA2C,EAAA;IACzE,OAAO;AACH,QAAA,OAAO,EAAE,kBAAkB;QAC3B,WAAW;KACd,CAAC;AACN;;MCTa,oBAAoB,GAAG,IAAI,cAAc,CAClD,+EAA+E,EAC/E;AACI,IAAA,OAAO,EAAE,MAAM,CAAC,GAAW,KAAK,GAAG,CAAC,SAAS,GAAG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AAG,IAAI,cAAc,CAChD,CAAiF,+EAAA,CAAA,EACnF;AAEI,SAAU,kBAAkB,CAAC,WAAmC,EAAA;IAClE,OAAO;AACH,QAAA,OAAO,EAAE,kBAAkB;QAC3B,WAAW;KACd,CAAC;AACN;;MCVa,SAAS,GAAG,IAAI,cAAc,CAAS,yBAAyB,EAAE;AAC3E,IAAA,OAAO,EAAE,MAAM,CAAO,KAAA,CAAA;AACzB,CAAA;;MCDY,kBAAkB,GAAG,IAAI,cAAc,CAChD,CAAsF,oFAAA,CAAA;;MCA7E,YAAY,GAAG,IAAI,cAAc,CAC1C,mCAAmC,EACnC;IACI,OAAO,EAAE,MAAK;AACV,QAAA,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO;YACH,aAAa,GAAA;gBACT,OAAO;AACH,oBAAA,GAAG,EAAE,CAAC;AACN,oBAAA,IAAI,EAAE,CAAC;oBACP,KAAK,EAAE,SAAS,CAAC,UAAU;oBAC3B,MAAM,EAAE,SAAS,CAAC,WAAW;oBAC7B,KAAK,EAAE,SAAS,CAAC,UAAU;oBAC3B,MAAM,EAAE,SAAS,CAAC,WAAW;iBAChC,CAAC;aACL;SACJ,CAAC;KACL;AACJ,CAAA,EACH;AAEI,SAAU,aAAa,CAAC,WAAkC,EAAA;IAC5D,OAAO;AACH,QAAA,OAAO,EAAE,YAAY;QACrB,WAAW;KACd,CAAC;AACN;;AC/BA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/core",
3
- "version": "3.18.0",
3
+ "version": "3.19.0",
4
4
  "description": "Core library for creating Angular components and applications using Taiga UI",
5
5
  "keywords": [
6
6
  "angular",
@@ -15,7 +15,7 @@
15
15
  "repository": "https://github.com/tinkoff/taiga-ui",
16
16
  "license": "Apache-2.0",
17
17
  "dependencies": {
18
- "@taiga-ui/i18n": "^3.18.0",
18
+ "@taiga-ui/i18n": "^3.19.0",
19
19
  "tslib": ">=2.0.0"
20
20
  },
21
21
  "peerDependencies": {
@@ -27,8 +27,8 @@
27
27
  "@angular/router": ">=12.0.0",
28
28
  "@ng-web-apis/common": ">=2.0.0",
29
29
  "@ng-web-apis/mutation-observer": ">=2.0.0",
30
- "@taiga-ui/cdk": ">=3.18.0",
31
- "@taiga-ui/i18n": ">=3.18.0",
30
+ "@taiga-ui/cdk": ">=3.19.0",
31
+ "@taiga-ui/i18n": ">=3.19.0",
32
32
  "@tinkoff/ng-event-plugins": ">=3.1.0",
33
33
  "@tinkoff/ng-polymorpheus": ">=4.0.0",
34
34
  "rxjs": ">=6.0.0"
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./flag.pipe";
3
+ export declare class TuiFlagPipeModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiFlagPipeModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiFlagPipeModule, [typeof i1.TuiFlagPipe], never, [typeof i1.TuiFlagPipe]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<TuiFlagPipeModule>;
7
+ }
@@ -0,0 +1,13 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { TuiSvgOptions } from '@taiga-ui/core/components/svg';
3
+ import { TuiCountryIsoCode } from '@taiga-ui/i18n';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TuiFlagPipe implements PipeTransform {
6
+ private readonly svgOptions;
7
+ private readonly staticPath;
8
+ constructor(svgOptions: TuiSvgOptions);
9
+ transform(countryIsoCode: TuiCountryIsoCode | string): string;
10
+ transform(countryIsoCode?: TuiCountryIsoCode | string | null): string | null;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiFlagPipe, never>;
12
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiFlagPipe, "tuiFlag">;
13
+ }
@@ -0,0 +1,2 @@
1
+ export * from './flag.module';
2
+ export * from './flag.pipe';
@@ -0,0 +1,10 @@
1
+ {
2
+ "main": "../../bundles/taiga-ui-core-pipes-flag.umd.js",
3
+ "module": "../../fesm2015/taiga-ui-core-pipes-flag.js",
4
+ "es2015": "../../fesm2015/taiga-ui-core-pipes-flag.js",
5
+ "esm2015": "../../esm2015/pipes/flag/taiga-ui-core-pipes-flag.js",
6
+ "fesm2015": "../../fesm2015/taiga-ui-core-pipes-flag.js",
7
+ "typings": "taiga-ui-core-pipes-flag.d.ts",
8
+ "sideEffects": false,
9
+ "name": "@taiga-ui/core/pipes/flag"
10
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@taiga-ui/core/pipes/flag" />
5
+ export * from './index';
package/pipes/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from '@taiga-ui/core/pipes/calendar-sheet';
2
+ export * from '@taiga-ui/core/pipes/flag';
2
3
  export * from '@taiga-ui/core/pipes/format-date';
3
4
  export * from '@taiga-ui/core/pipes/format-number';
4
5
  export * from '@taiga-ui/core/pipes/format-phone';
@@ -1,2 +1,3 @@
1
1
  import { InjectionToken } from '@angular/core';
2
+ /** @deprecated use {@link TUI_TEXTFIELD_APPEARANCE_DIRECTIVE} instead */
2
3
  export declare const TUI_TEXTFIELD_APPEARANCE: InjectionToken<string>;