@taiga-ui/kit 4.43.0 → 4.44.0-canary.ef702cb

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 (216) hide show
  1. package/components/avatar/avatar.options.d.ts +2 -1
  2. package/components/badge/badge.options.d.ts +2 -1
  3. package/components/badge-notification/badge-notification.options.d.ts +2 -1
  4. package/components/block/block.options.d.ts +2 -1
  5. package/components/breadcrumbs/breadcrumbs.options.d.ts +2 -1
  6. package/components/checkbox/checkbox.options.d.ts +2 -1
  7. package/components/chip/chip.options.d.ts +2 -1
  8. package/components/combo-box/combo-box.directive.d.ts +0 -1
  9. package/components/files/input-files/input-files.options.d.ts +2 -1
  10. package/components/input-chip/input-chip.directive.d.ts +1 -0
  11. package/components/input-date-range/input-date-range.options.d.ts +2 -1
  12. package/components/input-month/input-month.options.d.ts +2 -1
  13. package/components/input-month-range/input-month-range.options.d.ts +2 -1
  14. package/components/input-password/input-password.options.d.ts +2 -1
  15. package/components/input-phone-international/input-phone-international.options.d.ts +2 -1
  16. package/components/input-time/input-time.directive.d.ts +7 -2
  17. package/components/input-time/input-time.options.d.ts +1 -1
  18. package/components/line-clamp/line-clamp.options.d.ts +2 -1
  19. package/components/multi-select/index.d.ts +1 -0
  20. package/components/multi-select/multi-select-native/multi-select-native.component.d.ts +20 -0
  21. package/components/multi-select/multi-select.d.ts +3 -1
  22. package/components/pdf-viewer/pdf-viewer.options.d.ts +2 -1
  23. package/components/progress/progress.options.d.ts +2 -1
  24. package/components/push/push.options.d.ts +2 -1
  25. package/components/radio/radio.options.d.ts +2 -1
  26. package/components/rating/rating.options.d.ts +2 -1
  27. package/components/select/select-option/select-option.component.d.ts +2 -2
  28. package/components/slider/slider.options.d.ts +2 -1
  29. package/components/switch/switch.options.d.ts +2 -1
  30. package/components/tabs/tabs.options.d.ts +2 -1
  31. package/components/tabs/tabs.providers.d.ts +2 -1
  32. package/components/tiles/tiles.tokens.d.ts +2 -1
  33. package/components/tree/misc/tree.tokens.d.ts +9 -8
  34. package/directives/chevron/chevron.directive.d.ts +2 -1
  35. package/directives/fluid-typography/fluid-typography.options.d.ts +2 -1
  36. package/esm2022/components/accordion/accordion-item.component.mjs +3 -3
  37. package/esm2022/components/avatar/avatar-labeled.component.mjs +3 -3
  38. package/esm2022/components/avatar/avatar-stack.component.mjs +2 -2
  39. package/esm2022/components/avatar/avatar.options.mjs +6 -3
  40. package/esm2022/components/badge/badge.options.mjs +6 -3
  41. package/esm2022/components/badge-notification/badge-notification.options.mjs +6 -3
  42. package/esm2022/components/block/block.options.mjs +6 -3
  43. package/esm2022/components/breadcrumbs/breadcrumbs.options.mjs +6 -3
  44. package/esm2022/components/checkbox/checkbox.options.mjs +6 -3
  45. package/esm2022/components/chip/chip.options.mjs +6 -3
  46. package/esm2022/components/combo-box/combo-box.directive.mjs +6 -7
  47. package/esm2022/components/confirm/confirm.component.mjs +3 -3
  48. package/esm2022/components/elastic-container/elastic-container.component.mjs +3 -3
  49. package/esm2022/components/files/file/file.component.mjs +3 -3
  50. package/esm2022/components/files/files/files.component.mjs +3 -3
  51. package/esm2022/components/files/input-files/input-files.options.mjs +6 -3
  52. package/esm2022/components/filter/filter.component.mjs +3 -3
  53. package/esm2022/components/floating-container/floating-container.directive.mjs +2 -2
  54. package/esm2022/components/input-chip/input-chip.directive.mjs +5 -3
  55. package/esm2022/components/input-date-range/input-date-range.options.mjs +9 -7
  56. package/esm2022/components/input-inline/input-inline.component.mjs +3 -3
  57. package/esm2022/components/input-month/input-month.options.mjs +9 -7
  58. package/esm2022/components/input-month-range/input-month-range.options.mjs +9 -7
  59. package/esm2022/components/input-password/input-password.options.mjs +6 -3
  60. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +6 -3
  61. package/esm2022/components/input-pin/input-pin.component.mjs +3 -3
  62. package/esm2022/components/input-time/input-time.component.mjs +2 -5
  63. package/esm2022/components/input-time/input-time.directive.mjs +39 -11
  64. package/esm2022/components/input-time/input-time.options.mjs +2 -1
  65. package/esm2022/components/line-clamp/line-clamp-box.component.mjs +3 -3
  66. package/esm2022/components/line-clamp/line-clamp.component.mjs +3 -3
  67. package/esm2022/components/line-clamp/line-clamp.options.mjs +6 -3
  68. package/esm2022/components/multi-select/index.mjs +2 -1
  69. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +3 -3
  70. package/esm2022/components/multi-select/multi-select-native/multi-select-native.component.mjs +56 -0
  71. package/esm2022/components/multi-select/multi-select-option/multi-select-option.component.mjs +4 -9
  72. package/esm2022/components/multi-select/multi-select.mjs +3 -1
  73. package/esm2022/components/pagination/pagination.component.mjs +3 -3
  74. package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +3 -3
  75. package/esm2022/components/pdf-viewer/pdf-viewer.options.mjs +6 -3
  76. package/esm2022/components/pin/pin.directive.mjs +2 -2
  77. package/esm2022/components/preview/preview.component.mjs +3 -3
  78. package/esm2022/components/preview/zoom/preview-zoom.component.mjs +3 -3
  79. package/esm2022/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.mjs +2 -2
  80. package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +2 -2
  81. package/esm2022/components/progress/progress.options.mjs +6 -3
  82. package/esm2022/components/push/push-alert.component.mjs +3 -3
  83. package/esm2022/components/push/push.component.mjs +3 -3
  84. package/esm2022/components/push/push.options.mjs +6 -3
  85. package/esm2022/components/radio/radio.options.mjs +6 -3
  86. package/esm2022/components/rating/rating.options.mjs +6 -3
  87. package/esm2022/components/select/select-option/select-option.component.mjs +23 -9
  88. package/esm2022/components/slider/slider.component.mjs +2 -2
  89. package/esm2022/components/slider/slider.options.mjs +6 -3
  90. package/esm2022/components/stepper/step.component.mjs +3 -3
  91. package/esm2022/components/switch/switch.options.mjs +6 -3
  92. package/esm2022/components/tabs/tabs-with-more.component.mjs +3 -3
  93. package/esm2022/components/tabs/tabs.options.mjs +6 -3
  94. package/esm2022/components/tabs/tabs.providers.mjs +3 -4
  95. package/esm2022/components/textarea/textarea-limit.directive.mjs +2 -2
  96. package/esm2022/components/textarea/textarea.component.mjs +3 -3
  97. package/esm2022/components/tiles/tiles.tokens.mjs +5 -3
  98. package/esm2022/components/tree/components/tree-item/tree-item.component.mjs +3 -3
  99. package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +3 -3
  100. package/esm2022/components/tree/misc/tree.tokens.mjs +18 -10
  101. package/esm2022/directives/chevron/chevron.directive.mjs +6 -4
  102. package/esm2022/directives/fluid-typography/fluid-typography.options.mjs +6 -3
  103. package/esm2022/pipes/emails/emails.options.mjs +13 -11
  104. package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +2 -2
  105. package/esm2022/tokens/calendar-date-stream.mjs +3 -4
  106. package/esm2022/tokens/date-inputs-value-transformers.mjs +8 -6
  107. package/esm2022/tokens/i18n.mjs +74 -26
  108. package/esm2022/tokens/items-handlers.mjs +6 -3
  109. package/esm2022/tokens/mobile-calendar.mjs +3 -4
  110. package/esm2022/tokens/month-formatter.mjs +10 -9
  111. package/esm2022/tokens/preview-icons.mjs +6 -3
  112. package/esm2022/tokens/validation-errors.mjs +5 -3
  113. package/fesm2022/taiga-ui-kit-components-accordion.mjs +2 -2
  114. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  115. package/fesm2022/taiga-ui-kit-components-avatar.mjs +9 -7
  116. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  117. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +5 -3
  118. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  119. package/fesm2022/taiga-ui-kit-components-badge.mjs +5 -3
  120. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  121. package/fesm2022/taiga-ui-kit-components-block.mjs +5 -3
  122. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  123. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +5 -3
  124. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  125. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +5 -3
  126. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  127. package/fesm2022/taiga-ui-kit-components-chip.mjs +5 -3
  128. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  129. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +5 -6
  130. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  131. package/fesm2022/taiga-ui-kit-components-confirm.mjs +2 -2
  132. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  133. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +2 -2
  134. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
  135. package/fesm2022/taiga-ui-kit-components-files.mjs +9 -7
  136. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  137. package/fesm2022/taiga-ui-kit-components-filter.mjs +2 -2
  138. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  139. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +2 -2
  140. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
  141. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +3 -2
  142. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  143. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +8 -6
  144. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  145. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +2 -2
  146. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  147. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +8 -6
  148. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  149. package/fesm2022/taiga-ui-kit-components-input-month.mjs +8 -6
  150. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  151. package/fesm2022/taiga-ui-kit-components-input-password.mjs +5 -3
  152. package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +1 -1
  153. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +5 -3
  154. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  155. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +2 -2
  156. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  157. package/fesm2022/taiga-ui-kit-components-input-time.mjs +41 -15
  158. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  159. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +9 -7
  160. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  161. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +57 -14
  162. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  163. package/fesm2022/taiga-ui-kit-components-pagination.mjs +2 -2
  164. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  165. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +7 -5
  166. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +1 -1
  167. package/fesm2022/taiga-ui-kit-components-pin.mjs +2 -2
  168. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  169. package/fesm2022/taiga-ui-kit-components-preview.mjs +4 -4
  170. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  171. package/fesm2022/taiga-ui-kit-components-progress.mjs +9 -7
  172. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  173. package/fesm2022/taiga-ui-kit-components-push.mjs +9 -7
  174. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  175. package/fesm2022/taiga-ui-kit-components-radio.mjs +5 -3
  176. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  177. package/fesm2022/taiga-ui-kit-components-rating.mjs +5 -3
  178. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  179. package/fesm2022/taiga-ui-kit-components-select.mjs +22 -8
  180. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  181. package/fesm2022/taiga-ui-kit-components-slider.mjs +7 -5
  182. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  183. package/fesm2022/taiga-ui-kit-components-stepper.mjs +2 -2
  184. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  185. package/fesm2022/taiga-ui-kit-components-switch.mjs +5 -3
  186. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  187. package/fesm2022/taiga-ui-kit-components-tabs.mjs +8 -6
  188. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  189. package/fesm2022/taiga-ui-kit-components-textarea.mjs +4 -4
  190. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  191. package/fesm2022/taiga-ui-kit-components-tiles.mjs +5 -3
  192. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  193. package/fesm2022/taiga-ui-kit-components-tree.mjs +22 -14
  194. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  195. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +5 -3
  196. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  197. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +5 -3
  198. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  199. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +12 -11
  200. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  201. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +1 -1
  202. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  203. package/fesm2022/taiga-ui-kit-tokens.mjs +99 -41
  204. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  205. package/package.json +38 -38
  206. package/pipes/emails/emails.options.d.ts +2 -1
  207. package/styles/components/pin.less +2 -2
  208. package/styles/components/progress-bar.less +1 -1
  209. package/tokens/calendar-date-stream.d.ts +2 -1
  210. package/tokens/date-inputs-value-transformers.d.ts +5 -4
  211. package/tokens/i18n.d.ts +25 -24
  212. package/tokens/items-handlers.d.ts +2 -1
  213. package/tokens/mobile-calendar.d.ts +2 -1
  214. package/tokens/month-formatter.d.ts +2 -1
  215. package/tokens/preview-icons.d.ts +2 -1
  216. package/tokens/validation-errors.d.ts +2 -1
@@ -1,13 +1,13 @@
1
- import { Optional, Self, inject } from '@angular/core';
1
+ import { InjectionToken, Optional, Self, inject } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
3
  import { tuiControlValue } from '@taiga-ui/cdk/observables';
4
- import { tuiCreateToken, tuiCreateTokenFromFactory, tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
5
4
  import { map, of } from 'rxjs';
6
5
  import { TUI_IDENTITY_VALUE_TRANSFORMER } from '@taiga-ui/cdk/classes';
7
6
  import { tuiExtractI18n } from '@taiga-ui/i18n/utils';
8
7
  import { TUI_FIRST_DAY, TUI_LAST_DAY } from '@taiga-ui/cdk/date-time';
9
8
  import { tuiCreateOptions } from '@taiga-ui/cdk/utils/di';
10
9
  import { TUI_DEFAULT_IDENTITY_MATCHER, TUI_FALSE_HANDLER } from '@taiga-ui/cdk/constants';
10
+ import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
11
11
  import { TUI_IS_MOBILE } from '@taiga-ui/cdk/tokens';
12
12
  import { TUI_DROPDOWN_COMPONENT } from '@taiga-ui/core/directives/dropdown';
13
13
  import { TUI_MONTHS } from '@taiga-ui/core/tokens';
@@ -16,7 +16,7 @@ import { TUI_MONTHS } from '@taiga-ui/core/tokens';
16
16
  * Stream that emits calendar data change
17
17
  * @deprecated this should be rewritten in v5
18
18
  */
19
- const TUI_CALENDAR_DATE_STREAM = tuiCreateToken();
19
+ const TUI_CALENDAR_DATE_STREAM = new InjectionToken(ngDevMode ? 'TUI_CALENDAR_DATE_STREAM' : '');
20
20
  function tuiDateStreamWithTransformer(transformer) {
21
21
  return {
22
22
  provide: TUI_CALENDAR_DATE_STREAM,
@@ -36,44 +36,94 @@ function tuiControlValueFactory(control, transformer) {
36
36
  /**
37
37
  * Control value transformer of TuiDay to custom value format for InputDate* components
38
38
  */
39
- const TUI_DATE_VALUE_TRANSFORMER = tuiCreateToken(TUI_IDENTITY_VALUE_TRANSFORMER);
39
+ const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_DATE_VALUE_TRANSFORMER' : '', {
40
+ factory: () => TUI_IDENTITY_VALUE_TRANSFORMER,
41
+ });
40
42
  /**
41
43
  * Control value transformer for InputDateRange component
42
44
  */
43
- const TUI_DATE_RANGE_VALUE_TRANSFORMER = tuiCreateToken();
45
+ const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_DATE_RANGE_VALUE_TRANSFORMER' : '');
44
46
  /**
45
47
  * Control value transformer for InputDateTime component
46
48
  */
47
- const TUI_DATE_TIME_VALUE_TRANSFORMER = tuiCreateToken();
49
+ const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_DATE_TIME_VALUE_TRANSFORMER' : '');
48
50
  /**
49
51
  * Control value transformer for InputTime component
50
52
  */
51
- const TUI_TIME_VALUE_TRANSFORMER = tuiCreateToken();
53
+ const TUI_TIME_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_TIME_VALUE_TRANSFORMER' : '');
52
54
 
53
- const TUI_CONFIRM_WORDS = tuiCreateTokenFromFactory(tuiExtractI18n('confirm'));
54
- const TUI_CANCEL_WORD = tuiCreateTokenFromFactory(tuiExtractI18n('cancel'));
55
- const TUI_DONE_WORD = tuiCreateTokenFromFactory(tuiExtractI18n('done'));
56
- const TUI_MORE_WORD = tuiCreateTokenFromFactory(tuiExtractI18n('more'));
57
- const TUI_HIDE_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n('hide'));
58
- const TUI_SHOW_ALL_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n('showAll'));
59
- const TUI_OTHER_DATE_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n('otherDate'));
60
- const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('mobileCalendarTexts'));
61
- const TUI_FROM_TO_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('range'));
62
- const TUI_PLUS_MINUS_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('countTexts'));
63
- const TUI_TIME_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('time'));
64
- const TUI_DATE_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('dateTexts'));
65
- const TUI_DIGITAL_INFORMATION_UNITS = tuiCreateTokenFromFactory(tuiExtractI18n('digitalInformationUnits'));
66
- const TUI_COPY_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('copyTexts'));
67
- const TUI_PASSWORD_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('passwordTexts'));
68
- const TUI_CALENDAR_MONTHS = tuiCreateTokenFromFactory(tuiExtractI18n('shortCalendarMonths'));
69
- const TUI_FILE_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('fileTexts'));
70
- const TUI_PAGINATION_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('pagination'));
71
- const TUI_INPUT_FILE_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('inputFileTexts'));
72
- const TUI_MULTI_SELECT_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('multiSelectTexts'));
73
- const TUI_COUNTRIES = tuiCreateTokenFromFactory(tuiExtractI18n('countries'));
74
- const TUI_PREVIEW_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('previewTexts'));
75
- const TUI_PREVIEW_ZOOM_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('zoomTexts'));
76
- const TUI_INTERNATIONAL_SEARCH = tuiCreateTokenFromFactory(tuiExtractI18n('phoneSearch'));
55
+ const TUI_CONFIRM_WORDS = new InjectionToken(ngDevMode ? 'TUI_CONFIRM_WORDS' : '', {
56
+ factory: tuiExtractI18n('confirm'),
57
+ });
58
+ const TUI_CANCEL_WORD = new InjectionToken(ngDevMode ? 'TUI_CANCEL_WORD' : '', {
59
+ factory: tuiExtractI18n('cancel'),
60
+ });
61
+ const TUI_DONE_WORD = new InjectionToken(ngDevMode ? 'TUI_DONE_WORD' : '', {
62
+ factory: tuiExtractI18n('done'),
63
+ });
64
+ const TUI_MORE_WORD = new InjectionToken(ngDevMode ? 'TUI_MORE_WORD' : '', {
65
+ factory: tuiExtractI18n('more'),
66
+ });
67
+ const TUI_HIDE_TEXT = new InjectionToken(ngDevMode ? 'TUI_HIDE_TEXT' : '', {
68
+ factory: tuiExtractI18n('hide'),
69
+ });
70
+ const TUI_SHOW_ALL_TEXT = new InjectionToken(ngDevMode ? 'TUI_SHOW_ALL_TEXT' : '', {
71
+ factory: tuiExtractI18n('showAll'),
72
+ });
73
+ const TUI_OTHER_DATE_TEXT = new InjectionToken(ngDevMode ? 'TUI_OTHER_DATE_TEXT' : '', {
74
+ factory: tuiExtractI18n('otherDate'),
75
+ });
76
+ const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(ngDevMode ? 'TUI_CHOOSE_DAY_OR_RANGE_TEXTS' : '', {
77
+ factory: tuiExtractI18n('mobileCalendarTexts'),
78
+ });
79
+ const TUI_FROM_TO_TEXTS = new InjectionToken(ngDevMode ? 'TUI_FROM_TO_TEXTS' : '', {
80
+ factory: tuiExtractI18n('range'),
81
+ });
82
+ const TUI_PLUS_MINUS_TEXTS = new InjectionToken(ngDevMode ? 'TUI_PLUS_MINUS_TEXTS' : '', {
83
+ factory: tuiExtractI18n('countTexts'),
84
+ });
85
+ const TUI_TIME_TEXTS = new InjectionToken(ngDevMode ? 'TUI_TIME_TEXTS' : '', {
86
+ factory: tuiExtractI18n('time'),
87
+ });
88
+ const TUI_DATE_TEXTS = new InjectionToken(ngDevMode ? 'TUI_DATE_TEXTS' : '', {
89
+ factory: tuiExtractI18n('dateTexts'),
90
+ });
91
+ const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(ngDevMode ? 'TUI_DIGITAL_INFORMATION_UNITS' : '', {
92
+ factory: tuiExtractI18n('digitalInformationUnits'),
93
+ });
94
+ const TUI_COPY_TEXTS = new InjectionToken(ngDevMode ? 'TUI_COPY_TEXTS' : '', {
95
+ factory: tuiExtractI18n('copyTexts'),
96
+ });
97
+ const TUI_PASSWORD_TEXTS = new InjectionToken(ngDevMode ? 'TUI_PASSWORD_TEXTS' : '', {
98
+ factory: tuiExtractI18n('passwordTexts'),
99
+ });
100
+ const TUI_CALENDAR_MONTHS = new InjectionToken(ngDevMode ? 'TUI_CALENDAR_MONTHS' : '', {
101
+ factory: tuiExtractI18n('shortCalendarMonths'),
102
+ });
103
+ const TUI_FILE_TEXTS = new InjectionToken(ngDevMode ? 'TUI_FILE_TEXTS' : '', {
104
+ factory: tuiExtractI18n('fileTexts'),
105
+ });
106
+ const TUI_PAGINATION_TEXTS = new InjectionToken(ngDevMode ? 'TUI_PAGINATION_TEXTS' : '', {
107
+ factory: tuiExtractI18n('pagination'),
108
+ });
109
+ const TUI_INPUT_FILE_TEXTS = new InjectionToken(ngDevMode ? 'TUI_INPUT_FILE_TEXTS' : '', {
110
+ factory: tuiExtractI18n('inputFileTexts'),
111
+ });
112
+ const TUI_MULTI_SELECT_TEXTS = new InjectionToken(ngDevMode ? 'TUI_MULTI_SELECT_TEXTS' : '', {
113
+ factory: tuiExtractI18n('multiSelectTexts'),
114
+ });
115
+ const TUI_COUNTRIES = new InjectionToken(ngDevMode ? 'TUI_COUNTRIES' : '', {
116
+ factory: tuiExtractI18n('countries'),
117
+ });
118
+ const TUI_PREVIEW_TEXTS = new InjectionToken(ngDevMode ? 'TUI_PREVIEW_TEXTS' : '', {
119
+ factory: tuiExtractI18n('previewTexts'),
120
+ });
121
+ const TUI_PREVIEW_ZOOM_TEXTS = new InjectionToken(ngDevMode ? 'TUI_PREVIEW_ZOOM_TEXTS' : '', {
122
+ factory: tuiExtractI18n('zoomTexts'),
123
+ });
124
+ const TUI_INTERNATIONAL_SEARCH = new InjectionToken(ngDevMode ? 'TUI_INTERNATIONAL_SEARCH' : '', {
125
+ factory: tuiExtractI18n('phoneSearch'),
126
+ });
77
127
 
78
128
  const TUI_INPUT_DATE_DEFAULT_OPTIONS = {
79
129
  icon: () => '@tui.calendar',
@@ -99,7 +149,9 @@ const TUI_DEFAULT_ITEMS_HANDLERS = {
99
149
  * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
100
150
  * TODO(v5): delete
101
151
  */
102
- const TUI_ITEMS_HANDLERS = tuiCreateToken(TUI_DEFAULT_ITEMS_HANDLERS);
152
+ const TUI_ITEMS_HANDLERS = new InjectionToken(ngDevMode ? 'TUI_ITEMS_HANDLERS' : '', {
153
+ factory: () => TUI_DEFAULT_ITEMS_HANDLERS,
154
+ });
103
155
  /**
104
156
  * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
105
157
  * TODO(v5): delete
@@ -111,19 +163,21 @@ function tuiItemsHandlersProvider(options) {
111
163
  /**
112
164
  * A component for mobile data picker
113
165
  */
114
- const TUI_MOBILE_CALENDAR = tuiCreateToken();
166
+ const TUI_MOBILE_CALENDAR = new InjectionToken(ngDevMode ? 'TUI_MOBILE_CALENDAR' : '');
115
167
  const TUI_MOBILE_CALENDAR_PROVIDER = {
116
168
  provide: TUI_DROPDOWN_COMPONENT,
117
169
  useFactory: () => (inject(TUI_IS_MOBILE) && inject(TUI_MOBILE_CALENDAR, { optional: true })) ||
118
170
  inject(TUI_DROPDOWN_COMPONENT, { skipSelf: true }),
119
171
  };
120
172
 
121
- const TUI_MONTH_FORMATTER = tuiCreateTokenFromFactory(() => inject(TUI_MONTHS).pipe(map((months) => (date) => {
122
- if (!date) {
123
- return '';
124
- }
125
- return `${months[date.month] ?? ''} ${date.formattedYear}`;
126
- })));
173
+ const TUI_MONTH_FORMATTER = new InjectionToken(ngDevMode ? 'TUI_MONTH_FORMATTER' : '', {
174
+ factory: () => inject(TUI_MONTHS).pipe(map((months) => (date) => {
175
+ if (!date) {
176
+ return '';
177
+ }
178
+ return `${months[date.month] ?? ''} ${date.formattedYear}`;
179
+ })),
180
+ });
127
181
 
128
182
  const TUI_PREVIEW_ICONS_DEFAULT = {
129
183
  rotate: '@tui.rotate-ccw-square',
@@ -133,12 +187,16 @@ const TUI_PREVIEW_ICONS_DEFAULT = {
133
187
  zoomOut: '@tui.minus',
134
188
  zoomReset: '@tui.minimize',
135
189
  };
136
- const TUI_PREVIEW_ICONS = tuiCreateToken(TUI_PREVIEW_ICONS_DEFAULT);
190
+ const TUI_PREVIEW_ICONS = new InjectionToken(ngDevMode ? 'TUI_PREVIEW_ICONS' : '', {
191
+ factory: () => TUI_PREVIEW_ICONS_DEFAULT,
192
+ });
137
193
  function tuiPreviewIconsProvider(icons) {
138
194
  return tuiProvideOptions(TUI_PREVIEW_ICONS, icons, TUI_PREVIEW_ICONS_DEFAULT);
139
195
  }
140
196
 
141
- const TUI_VALIDATION_ERRORS = tuiCreateToken({});
197
+ const TUI_VALIDATION_ERRORS = new InjectionToken(ngDevMode ? 'TUI_VALIDATION_ERRORS' : '', {
198
+ factory: () => ({}),
199
+ });
142
200
  const tuiValidationErrorsProvider = (useValue) => ({ provide: TUI_VALIDATION_ERRORS, useValue });
143
201
 
144
202
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-tokens.mjs","sources":["../../../projects/kit/tokens/calendar-date-stream.ts","../../../projects/kit/tokens/date-inputs-value-transformers.ts","../../../projects/kit/tokens/i18n.ts","../../../projects/kit/tokens/input-date-options.ts","../../../projects/kit/tokens/items-handlers.ts","../../../projects/kit/tokens/mobile-calendar.ts","../../../projects/kit/tokens/month-formatter.ts","../../../projects/kit/tokens/preview-icons.ts","../../../projects/kit/tokens/validation-errors.ts","../../../projects/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import type {InjectionToken, Provider} from '@angular/core';\nimport {Optional, Self} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport type {TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport type {TuiDay, TuiDayRange, TuiTime} from '@taiga-ui/cdk/date-time';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {tuiCreateToken} from '@taiga-ui/cdk/utils/miscellaneous';\nimport type {Observable} from 'rxjs';\nimport {map, of} from 'rxjs';\n\n/**\n * Stream that emits calendar data change\n * @deprecated this should be rewritten in v5\n */\nexport const TUI_CALENDAR_DATE_STREAM =\n tuiCreateToken<Observable<TuiDay | TuiDayRange | null>>();\n\nexport function tuiDateStreamWithTransformer(\n transformer: InjectionToken<TuiValueTransformer<any>>,\n): Provider {\n return {\n provide: TUI_CALENDAR_DATE_STREAM,\n deps: [\n [new Optional(), new Self(), NgControl],\n [new Optional(), transformer],\n ],\n useFactory: tuiControlValueFactory,\n };\n}\n\nfunction tuiControlValueFactory<\n T extends TuiDay | TuiDayRange | [TuiDay, TuiTime | null],\n>(\n control: NgControl | null,\n transformer?: TuiValueTransformer<T> | null,\n): Observable<T | null> | null {\n return control\n ? tuiControlValue(control).pipe(\n map((value) =>\n transformer ? transformer?.fromControlValue(value) : (value as T),\n ),\n )\n : of(null);\n}\n","import type {TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {TUI_IDENTITY_VALUE_TRANSFORMER} from '@taiga-ui/cdk/classes';\nimport type {TuiDay, TuiDayRange, TuiTime} from '@taiga-ui/cdk/date-time';\nimport {tuiCreateToken} from '@taiga-ui/cdk/utils/miscellaneous';\n\n/**\n * Control value transformer of TuiDay to custom value format for InputDate* components\n */\nexport const TUI_DATE_VALUE_TRANSFORMER = tuiCreateToken<\n TuiValueTransformer<TuiDay | null>\n>(TUI_IDENTITY_VALUE_TRANSFORMER);\n\n/**\n * Control value transformer for InputDateRange component\n */\nexport const TUI_DATE_RANGE_VALUE_TRANSFORMER =\n tuiCreateToken<TuiValueTransformer<TuiDayRange | null>>();\n\n/**\n * Control value transformer for InputDateTime component\n */\nexport const TUI_DATE_TIME_VALUE_TRANSFORMER =\n tuiCreateToken<TuiValueTransformer<[TuiDay, TuiTime | null]>>();\n\n/**\n * Control value transformer for InputTime component\n */\nexport const TUI_TIME_VALUE_TRANSFORMER =\n tuiCreateToken<TuiValueTransformer<TuiTime | null>>();\n","import type {TuiDateMode} from '@taiga-ui/cdk/date-time';\nimport {tuiCreateTokenFromFactory} from '@taiga-ui/cdk/utils/miscellaneous';\nimport type {TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {tuiExtractI18n} from '@taiga-ui/i18n/utils';\nimport type {Observable} from 'rxjs';\n\nexport const TUI_CONFIRM_WORDS = tuiCreateTokenFromFactory(tuiExtractI18n('confirm'));\n\nexport const TUI_CANCEL_WORD = tuiCreateTokenFromFactory(tuiExtractI18n('cancel'));\n\nexport const TUI_DONE_WORD = tuiCreateTokenFromFactory(tuiExtractI18n('done'));\n\nexport const TUI_MORE_WORD = tuiCreateTokenFromFactory(tuiExtractI18n('more'));\n\nexport const TUI_HIDE_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n('hide'));\n\nexport const TUI_SHOW_ALL_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n('showAll'));\n\nexport const TUI_OTHER_DATE_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n('otherDate'));\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n('mobileCalendarTexts'),\n);\n\nexport const TUI_FROM_TO_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('range'));\n\nexport const TUI_PLUS_MINUS_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n('countTexts'),\n);\n\nexport const TUI_TIME_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('time'));\n\nexport const TUI_DATE_TEXTS = tuiCreateTokenFromFactory<\n Observable<Record<TuiDateMode, string>>\n>(tuiExtractI18n('dateTexts'));\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = tuiCreateTokenFromFactory(\n tuiExtractI18n('digitalInformationUnits'),\n);\n\nexport const TUI_COPY_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('copyTexts'));\n\nexport const TUI_PASSWORD_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n('passwordTexts'),\n);\n\nexport const TUI_CALENDAR_MONTHS = tuiCreateTokenFromFactory(\n tuiExtractI18n('shortCalendarMonths'),\n);\n\nexport const TUI_FILE_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n('fileTexts'));\n\nexport const TUI_PAGINATION_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n('pagination'),\n);\n\nexport const TUI_INPUT_FILE_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n('inputFileTexts'),\n);\n\nexport const TUI_MULTI_SELECT_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n('multiSelectTexts'),\n);\n\nexport const TUI_COUNTRIES = tuiCreateTokenFromFactory<\n Observable<Record<TuiCountryIsoCode, string>>\n>(tuiExtractI18n('countries'));\n\nexport const TUI_PREVIEW_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n('previewTexts'),\n);\n\nexport const TUI_PREVIEW_ZOOM_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n('zoomTexts'),\n);\n\nexport const TUI_INTERNATIONAL_SEARCH = tuiCreateTokenFromFactory(\n tuiExtractI18n('phoneSearch'),\n);\n","import type {TuiDay} from '@taiga-ui/cdk/date-time';\nimport {TUI_FIRST_DAY, TUI_LAST_DAY} from '@taiga-ui/cdk/date-time';\nimport type {TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport type {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport interface TuiInputDateOptions {\n readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n readonly max: TuiDay;\n readonly min: TuiDay;\n readonly nativePicker: boolean;\n}\n\nexport const TUI_INPUT_DATE_DEFAULT_OPTIONS: TuiInputDateOptions = {\n icon: () => '@tui.calendar',\n min: TUI_FIRST_DAY,\n max: TUI_LAST_DAY,\n nativePicker: false,\n};\n\n/**\n * Default parameters for InputDate component\n */\nexport const [TUI_INPUT_DATE_OPTIONS, tuiInputDateOptionsProvider] = tuiCreateOptions(\n TUI_INPUT_DATE_DEFAULT_OPTIONS,\n);\n","import type {Provider} from '@angular/core';\nimport {TUI_DEFAULT_IDENTITY_MATCHER, TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport type {\n TuiBooleanHandler,\n TuiIdentityMatcher,\n TuiStringHandler,\n} from '@taiga-ui/cdk/types';\nimport {tuiCreateToken, tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport interface TuiItemsHandlers<T> {\n readonly disabledItemHandler: TuiBooleanHandler<T>;\n readonly identityMatcher: TuiIdentityMatcher<T>;\n readonly stringify: TuiStringHandler<T>;\n}\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown> = {\n stringify: String,\n identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,\n disabledItemHandler: TUI_FALSE_HANDLER,\n};\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport const TUI_ITEMS_HANDLERS = tuiCreateToken(TUI_DEFAULT_ITEMS_HANDLERS);\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport function tuiItemsHandlersProvider<T>(\n options: Partial<TuiItemsHandlers<T>>,\n): Provider {\n return tuiProvideOptions(TUI_ITEMS_HANDLERS, options, TUI_DEFAULT_ITEMS_HANDLERS);\n}\n","import type {FactoryProvider, Type} from '@angular/core';\nimport {inject} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {tuiCreateToken} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_DROPDOWN_COMPONENT} from '@taiga-ui/core/directives/dropdown';\n\n/**\n * A component for mobile data picker\n */\nexport const TUI_MOBILE_CALENDAR = tuiCreateToken<Type<unknown>>();\n\nexport const TUI_MOBILE_CALENDAR_PROVIDER: FactoryProvider = {\n provide: TUI_DROPDOWN_COMPONENT,\n useFactory: () =>\n (inject(TUI_IS_MOBILE) && inject(TUI_MOBILE_CALENDAR, {optional: true})) ||\n inject(TUI_DROPDOWN_COMPONENT, {skipSelf: true}),\n};\n","import {inject} from '@angular/core';\nimport type {TuiMonth} from '@taiga-ui/cdk/date-time';\nimport type {TuiHandler} from '@taiga-ui/cdk/types';\nimport {tuiCreateTokenFromFactory} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_MONTHS} from '@taiga-ui/core/tokens';\nimport type {Observable} from 'rxjs';\nimport {map} from 'rxjs';\n\nexport const TUI_MONTH_FORMATTER = tuiCreateTokenFromFactory<\n Observable<TuiHandler<TuiMonth | null, string>>\n>(() =>\n inject(TUI_MONTHS).pipe(\n map((months) => (date) => {\n if (!date) {\n return '';\n }\n\n return `${months[date.month] ?? ''} ${date.formattedYear}`;\n }),\n ),\n);\n","import type {Provider} from '@angular/core';\nimport {tuiCreateToken, tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport interface TuiPreviewIcons {\n readonly next: string;\n readonly prev: string;\n readonly rotate: string;\n readonly zoomIn: string;\n readonly zoomOut: string;\n readonly zoomReset: string;\n}\n\nexport const TUI_PREVIEW_ICONS_DEFAULT: TuiPreviewIcons = {\n rotate: '@tui.rotate-ccw-square',\n prev: '@tui.arrow-left',\n next: '@tui.arrow-right',\n zoomIn: '@tui.plus',\n zoomOut: '@tui.minus',\n zoomReset: '@tui.minimize',\n};\n\nexport const TUI_PREVIEW_ICONS = tuiCreateToken(TUI_PREVIEW_ICONS_DEFAULT);\n\nexport function tuiPreviewIconsProvider(icons: Partial<TuiPreviewIcons>): Provider {\n return tuiProvideOptions(TUI_PREVIEW_ICONS, icons, TUI_PREVIEW_ICONS_DEFAULT);\n}\n","import type {Provider} from '@angular/core';\nimport {tuiCreateToken} from '@taiga-ui/cdk/utils/miscellaneous';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\nimport type {Observable} from 'rxjs';\n\nexport const TUI_VALIDATION_ERRORS = tuiCreateToken<\n Record<string, Observable<PolymorpheusContent> | PolymorpheusContent>\n>({});\n\nexport const tuiValidationErrorsProvider = (\n useValue: Record<string, Observable<PolymorpheusContent> | PolymorpheusContent>,\n): Provider => ({provide: TUI_VALIDATION_ERRORS, useValue});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAUA;;;AAGG;AACU,MAAA,wBAAwB,GACjC,cAAc,GAA4C;AAExD,SAAU,4BAA4B,CACxC,WAAqD,EAAA;IAErD,OAAO;AACH,QAAA,OAAO,EAAE,wBAAwB;AACjC,QAAA,IAAI,EAAE;YACF,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,IAAI,EAAE,EAAE,SAAS,CAAC;AACvC,YAAA,CAAC,IAAI,QAAQ,EAAE,EAAE,WAAW,CAAC;AAChC,SAAA;AACD,QAAA,UAAU,EAAE,sBAAsB;KACrC,CAAC;AACN,CAAC;AAED,SAAS,sBAAsB,CAG3B,OAAyB,EACzB,WAA2C,EAAA;AAE3C,IAAA,OAAO,OAAO;AACV,UAAE,eAAe,CAAC,OAAO,CAAC,CAAC,IAAI,CACzB,GAAG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yBAAyB,CAAC,CAAC;AAClF;;MCpBa,qBAAqB,GAAG,cAAc,CAEjD,EAAE,EAAE;AAEO,MAAA,2BAA2B,GAAG,CACvC,QAA+E,MACnE,EAAC,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAC;;ACX1D;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-tokens.mjs","sources":["../../../projects/kit/tokens/calendar-date-stream.ts","../../../projects/kit/tokens/date-inputs-value-transformers.ts","../../../projects/kit/tokens/i18n.ts","../../../projects/kit/tokens/input-date-options.ts","../../../projects/kit/tokens/items-handlers.ts","../../../projects/kit/tokens/mobile-calendar.ts","../../../projects/kit/tokens/month-formatter.ts","../../../projects/kit/tokens/preview-icons.ts","../../../projects/kit/tokens/validation-errors.ts","../../../projects/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import type {Provider} from '@angular/core';\nimport {InjectionToken, Optional, Self} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport type {TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport type {TuiDay, TuiDayRange, TuiTime} from '@taiga-ui/cdk/date-time';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport type {Observable} from 'rxjs';\nimport {map, of} from 'rxjs';\n\n/**\n * Stream that emits calendar data change\n * @deprecated this should be rewritten in v5\n */\nexport const TUI_CALENDAR_DATE_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>(ngDevMode ? 'TUI_CALENDAR_DATE_STREAM' : '');\n\nexport function tuiDateStreamWithTransformer(\n transformer: InjectionToken<TuiValueTransformer<any>>,\n): Provider {\n return {\n provide: TUI_CALENDAR_DATE_STREAM,\n deps: [\n [new Optional(), new Self(), NgControl],\n [new Optional(), transformer],\n ],\n useFactory: tuiControlValueFactory,\n };\n}\n\nfunction tuiControlValueFactory<\n T extends TuiDay | TuiDayRange | [TuiDay, TuiTime | null],\n>(\n control: NgControl | null,\n transformer?: TuiValueTransformer<T> | null,\n): Observable<T | null> | null {\n return control\n ? tuiControlValue(control).pipe(\n map((value) =>\n transformer ? transformer?.fromControlValue(value) : (value as T),\n ),\n )\n : of(null);\n}\n","import {InjectionToken} from '@angular/core';\nimport type {TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {TUI_IDENTITY_VALUE_TRANSFORMER} from '@taiga-ui/cdk/classes';\nimport type {TuiDay, TuiDayRange, TuiTime} from '@taiga-ui/cdk/date-time';\n\n/**\n * Control value transformer of TuiDay to custom value format for InputDate* components\n */\nexport const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiDay | null>\n>(ngDevMode ? 'TUI_DATE_VALUE_TRANSFORMER' : '', {\n factory: () => TUI_IDENTITY_VALUE_TRANSFORMER,\n});\n\n/**\n * Control value transformer for InputDateRange component\n */\nexport const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiDayRange | null>\n>(ngDevMode ? 'TUI_DATE_RANGE_VALUE_TRANSFORMER' : '');\n\n/**\n * Control value transformer for InputDateTime component\n */\nexport const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<[TuiDay, TuiTime | null]>\n>(ngDevMode ? 'TUI_DATE_TIME_VALUE_TRANSFORMER' : '');\n\n/**\n * Control value transformer for InputTime component\n */\nexport const TUI_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiTime | null>\n>(ngDevMode ? 'TUI_TIME_VALUE_TRANSFORMER' : '');\n","import {InjectionToken} from '@angular/core';\nimport type {TuiDateMode} from '@taiga-ui/cdk/date-time';\nimport type {TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {tuiExtractI18n} from '@taiga-ui/i18n/utils';\nimport type {Observable} from 'rxjs';\n\nexport const TUI_CONFIRM_WORDS = new InjectionToken(\n ngDevMode ? 'TUI_CONFIRM_WORDS' : '',\n {\n factory: tuiExtractI18n('confirm'),\n },\n);\n\nexport const TUI_CANCEL_WORD = new InjectionToken(ngDevMode ? 'TUI_CANCEL_WORD' : '', {\n factory: tuiExtractI18n('cancel'),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(ngDevMode ? 'TUI_DONE_WORD' : '', {\n factory: tuiExtractI18n('done'),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(ngDevMode ? 'TUI_MORE_WORD' : '', {\n factory: tuiExtractI18n('more'),\n});\n\nexport const TUI_HIDE_TEXT = new InjectionToken(ngDevMode ? 'TUI_HIDE_TEXT' : '', {\n factory: tuiExtractI18n('hide'),\n});\n\nexport const TUI_SHOW_ALL_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_SHOW_ALL_TEXT' : '',\n {\n factory: tuiExtractI18n('showAll'),\n },\n);\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_OTHER_DATE_TEXT' : '',\n {\n factory: tuiExtractI18n('otherDate'),\n },\n);\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_CHOOSE_DAY_OR_RANGE_TEXTS' : '',\n {\n factory: tuiExtractI18n('mobileCalendarTexts'),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_FROM_TO_TEXTS' : '',\n {\n factory: tuiExtractI18n('range'),\n },\n);\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PLUS_MINUS_TEXTS' : '',\n {\n factory: tuiExtractI18n('countTexts'),\n },\n);\n\nexport const TUI_TIME_TEXTS = new InjectionToken(ngDevMode ? 'TUI_TIME_TEXTS' : '', {\n factory: tuiExtractI18n('time'),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Observable<Record<TuiDateMode, string>>>(\n ngDevMode ? 'TUI_DATE_TEXTS' : '',\n {\n factory: tuiExtractI18n('dateTexts'),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n ngDevMode ? 'TUI_DIGITAL_INFORMATION_UNITS' : '',\n {\n factory: tuiExtractI18n('digitalInformationUnits'),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken(ngDevMode ? 'TUI_COPY_TEXTS' : '', {\n factory: tuiExtractI18n('copyTexts'),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PASSWORD_TEXTS' : '',\n {\n factory: tuiExtractI18n('passwordTexts'),\n },\n);\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken(\n ngDevMode ? 'TUI_CALENDAR_MONTHS' : '',\n {\n factory: tuiExtractI18n('shortCalendarMonths'),\n },\n);\n\nexport const TUI_FILE_TEXTS = new InjectionToken(ngDevMode ? 'TUI_FILE_TEXTS' : '', {\n factory: tuiExtractI18n('fileTexts'),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PAGINATION_TEXTS' : '',\n {\n factory: tuiExtractI18n('pagination'),\n },\n);\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_INPUT_FILE_TEXTS' : '',\n {\n factory: tuiExtractI18n('inputFileTexts'),\n },\n);\n\nexport const TUI_MULTI_SELECT_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_MULTI_SELECT_TEXTS' : '',\n {\n factory: tuiExtractI18n('multiSelectTexts'),\n },\n);\n\nexport const TUI_COUNTRIES = new InjectionToken<\n Observable<Record<TuiCountryIsoCode, string>>\n>(ngDevMode ? 'TUI_COUNTRIES' : '', {\n factory: tuiExtractI18n('countries'),\n});\n\nexport const TUI_PREVIEW_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_TEXTS' : '',\n {\n factory: tuiExtractI18n('previewTexts'),\n },\n);\n\nexport const TUI_PREVIEW_ZOOM_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_ZOOM_TEXTS' : '',\n {\n factory: tuiExtractI18n('zoomTexts'),\n },\n);\n\nexport const TUI_INTERNATIONAL_SEARCH = new InjectionToken(\n ngDevMode ? 'TUI_INTERNATIONAL_SEARCH' : '',\n {\n factory: tuiExtractI18n('phoneSearch'),\n },\n);\n","import type {TuiDay} from '@taiga-ui/cdk/date-time';\nimport {TUI_FIRST_DAY, TUI_LAST_DAY} from '@taiga-ui/cdk/date-time';\nimport type {TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport type {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport interface TuiInputDateOptions {\n readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n readonly max: TuiDay;\n readonly min: TuiDay;\n readonly nativePicker: boolean;\n}\n\nexport const TUI_INPUT_DATE_DEFAULT_OPTIONS: TuiInputDateOptions = {\n icon: () => '@tui.calendar',\n min: TUI_FIRST_DAY,\n max: TUI_LAST_DAY,\n nativePicker: false,\n};\n\n/**\n * Default parameters for InputDate component\n */\nexport const [TUI_INPUT_DATE_OPTIONS, tuiInputDateOptionsProvider] = tuiCreateOptions(\n TUI_INPUT_DATE_DEFAULT_OPTIONS,\n);\n","import type {Provider} from '@angular/core';\nimport {InjectionToken} from '@angular/core';\nimport {TUI_DEFAULT_IDENTITY_MATCHER, TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport type {\n TuiBooleanHandler,\n TuiIdentityMatcher,\n TuiStringHandler,\n} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport interface TuiItemsHandlers<T> {\n readonly disabledItemHandler: TuiBooleanHandler<T>;\n readonly identityMatcher: TuiIdentityMatcher<T>;\n readonly stringify: TuiStringHandler<T>;\n}\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown> = {\n stringify: String,\n identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,\n disabledItemHandler: TUI_FALSE_HANDLER,\n};\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport const TUI_ITEMS_HANDLERS = new InjectionToken(\n ngDevMode ? 'TUI_ITEMS_HANDLERS' : '',\n {\n factory: () => TUI_DEFAULT_ITEMS_HANDLERS,\n },\n);\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport function tuiItemsHandlersProvider<T>(\n options: Partial<TuiItemsHandlers<T>>,\n): Provider {\n return tuiProvideOptions(TUI_ITEMS_HANDLERS, options, TUI_DEFAULT_ITEMS_HANDLERS);\n}\n","import type {FactoryProvider, Type} from '@angular/core';\nimport {inject, InjectionToken} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {TUI_DROPDOWN_COMPONENT} from '@taiga-ui/core/directives/dropdown';\n\n/**\n * A component for mobile data picker\n */\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<unknown>>(\n ngDevMode ? 'TUI_MOBILE_CALENDAR' : '',\n);\n\nexport const TUI_MOBILE_CALENDAR_PROVIDER: FactoryProvider = {\n provide: TUI_DROPDOWN_COMPONENT,\n useFactory: () =>\n (inject(TUI_IS_MOBILE) && inject(TUI_MOBILE_CALENDAR, {optional: true})) ||\n inject(TUI_DROPDOWN_COMPONENT, {skipSelf: true}),\n};\n","import {inject, InjectionToken} from '@angular/core';\nimport type {TuiMonth} from '@taiga-ui/cdk/date-time';\nimport type {TuiHandler} from '@taiga-ui/cdk/types';\nimport {TUI_MONTHS} from '@taiga-ui/core/tokens';\nimport type {Observable} from 'rxjs';\nimport {map} from 'rxjs';\n\nexport const TUI_MONTH_FORMATTER = new InjectionToken<\n Observable<TuiHandler<TuiMonth | null, string>>\n>(ngDevMode ? 'TUI_MONTH_FORMATTER' : '', {\n factory: () =>\n inject(TUI_MONTHS).pipe(\n map((months) => (date) => {\n if (!date) {\n return '';\n }\n\n return `${months[date.month] ?? ''} ${date.formattedYear}`;\n }),\n ),\n});\n","import type {Provider} from '@angular/core';\nimport {InjectionToken} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport interface TuiPreviewIcons {\n readonly next: string;\n readonly prev: string;\n readonly rotate: string;\n readonly zoomIn: string;\n readonly zoomOut: string;\n readonly zoomReset: string;\n}\n\nexport const TUI_PREVIEW_ICONS_DEFAULT: TuiPreviewIcons = {\n rotate: '@tui.rotate-ccw-square',\n prev: '@tui.arrow-left',\n next: '@tui.arrow-right',\n zoomIn: '@tui.plus',\n zoomOut: '@tui.minus',\n zoomReset: '@tui.minimize',\n};\n\nexport const TUI_PREVIEW_ICONS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_ICONS' : '',\n {\n factory: () => TUI_PREVIEW_ICONS_DEFAULT,\n },\n);\n\nexport function tuiPreviewIconsProvider(icons: Partial<TuiPreviewIcons>): Provider {\n return tuiProvideOptions(TUI_PREVIEW_ICONS, icons, TUI_PREVIEW_ICONS_DEFAULT);\n}\n","import type {Provider} from '@angular/core';\nimport {InjectionToken} from '@angular/core';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\nimport type {Observable} from 'rxjs';\n\nexport const TUI_VALIDATION_ERRORS = new InjectionToken<\n Record<string, Observable<PolymorpheusContent> | PolymorpheusContent>\n>(ngDevMode ? 'TUI_VALIDATION_ERRORS' : '', {\n factory: () => ({}),\n});\n\nexport const tuiValidationErrorsProvider = (\n useValue: Record<string, Observable<PolymorpheusContent> | PolymorpheusContent>,\n): Provider => ({provide: TUI_VALIDATION_ERRORS, useValue});\n","/**\n * Generated bundle index. Do not edit.\n */\n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ACL;AACR,CAAA;;ACPY,MAAA,yBAAyB,GAAoB;AACtD,IAAA,MAAM,EAAE,wBAAwB;AAChC,IAAA,IAAI,EAAE,iBAAiB;AACvB,IAAA,IAAI,EAAE,kBAAkB;AACxB,IAAA,MAAM,EAAE,WAAW;AACnB,IAAA,OAAO,EAAE,YAAY;AACrB,IAAA,SAAS,EAAE,eAAe;EAC5B;AAEW,MAAA,iBAAiB,GAAG,IAAI,cAAc,CAC/C,SAAS,GAAG,mBAAmB,GAAG,EAAE,EACpC;AACI,IAAA,OAAO,EAAE,MAAM,yBAAyB;AAC3C,CAAA,EACH;AAEI,SAAU,uBAAuB,CAAC,KAA+B,EAAA;IACnE,OAAO,iBAAiB,CAAC,iBAAiB,EAAE,KAAK,EAAE,yBAAyB,CAAC,CAAC;AAClF;;AC1Ba,MAAA,qBAAqB,GAAG,IAAI,cAAc,CAErD,SAAS,GAAG,uBAAuB,GAAG,EAAE,EAAE;AACxC,IAAA,OAAO,EAAE,OAAO,EAAE,CAAC;AACtB,CAAA,EAAE;AAEU,MAAA,2BAA2B,GAAG,CACvC,QAA+E,MACnE,EAAC,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAC;;ACb1D;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "4.43.0",
3
+ "version": "4.44.0-canary.ef702cb",
4
4
  "description": "Taiga UI Angular main components kit",
5
5
  "keywords": [
6
6
  "angular",
@@ -59,18 +59,18 @@
59
59
  "esm": "./esm2022/components/accordion/taiga-ui-kit-components-accordion.mjs",
60
60
  "default": "./fesm2022/taiga-ui-kit-components-accordion.mjs"
61
61
  },
62
- "./components/action-bar": {
63
- "types": "./components/action-bar/index.d.ts",
64
- "esm2022": "./esm2022/components/action-bar/taiga-ui-kit-components-action-bar.mjs",
65
- "esm": "./esm2022/components/action-bar/taiga-ui-kit-components-action-bar.mjs",
66
- "default": "./fesm2022/taiga-ui-kit-components-action-bar.mjs"
67
- },
68
62
  "./components/avatar": {
69
63
  "types": "./components/avatar/index.d.ts",
70
64
  "esm2022": "./esm2022/components/avatar/taiga-ui-kit-components-avatar.mjs",
71
65
  "esm": "./esm2022/components/avatar/taiga-ui-kit-components-avatar.mjs",
72
66
  "default": "./fesm2022/taiga-ui-kit-components-avatar.mjs"
73
67
  },
68
+ "./components/action-bar": {
69
+ "types": "./components/action-bar/index.d.ts",
70
+ "esm2022": "./esm2022/components/action-bar/taiga-ui-kit-components-action-bar.mjs",
71
+ "esm": "./esm2022/components/action-bar/taiga-ui-kit-components-action-bar.mjs",
72
+ "default": "./fesm2022/taiga-ui-kit-components-action-bar.mjs"
73
+ },
74
74
  "./components/badge": {
75
75
  "types": "./components/badge/index.d.ts",
76
76
  "esm2022": "./esm2022/components/badge/taiga-ui-kit-components-badge.mjs",
@@ -227,18 +227,18 @@
227
227
  "esm": "./esm2022/components/input-month/taiga-ui-kit-components-input-month.mjs",
228
228
  "default": "./fesm2022/taiga-ui-kit-components-input-month.mjs"
229
229
  },
230
- "./components/input-month-range": {
231
- "types": "./components/input-month-range/index.d.ts",
232
- "esm2022": "./esm2022/components/input-month-range/taiga-ui-kit-components-input-month-range.mjs",
233
- "esm": "./esm2022/components/input-month-range/taiga-ui-kit-components-input-month-range.mjs",
234
- "default": "./fesm2022/taiga-ui-kit-components-input-month-range.mjs"
235
- },
236
230
  "./components/input-number": {
237
231
  "types": "./components/input-number/index.d.ts",
238
232
  "esm2022": "./esm2022/components/input-number/taiga-ui-kit-components-input-number.mjs",
239
233
  "esm": "./esm2022/components/input-number/taiga-ui-kit-components-input-number.mjs",
240
234
  "default": "./fesm2022/taiga-ui-kit-components-input-number.mjs"
241
235
  },
236
+ "./components/input-month-range": {
237
+ "types": "./components/input-month-range/index.d.ts",
238
+ "esm2022": "./esm2022/components/input-month-range/taiga-ui-kit-components-input-month-range.mjs",
239
+ "esm": "./esm2022/components/input-month-range/taiga-ui-kit-components-input-month-range.mjs",
240
+ "default": "./fesm2022/taiga-ui-kit-components-input-month-range.mjs"
241
+ },
242
242
  "./components/input-password": {
243
243
  "types": "./components/input-password/index.d.ts",
244
244
  "esm2022": "./esm2022/components/input-password/taiga-ui-kit-components-input-password.mjs",
@@ -263,12 +263,6 @@
263
263
  "esm": "./esm2022/components/input-slider/taiga-ui-kit-components-input-slider.mjs",
264
264
  "default": "./fesm2022/taiga-ui-kit-components-input-slider.mjs"
265
265
  },
266
- "./components/input-time": {
267
- "types": "./components/input-time/index.d.ts",
268
- "esm2022": "./esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs",
269
- "esm": "./esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs",
270
- "default": "./fesm2022/taiga-ui-kit-components-input-time.mjs"
271
- },
272
266
  "./components/items-with-more": {
273
267
  "types": "./components/items-with-more/index.d.ts",
274
268
  "esm2022": "./esm2022/components/items-with-more/taiga-ui-kit-components-items-with-more.mjs",
@@ -293,6 +287,12 @@
293
287
  "esm": "./esm2022/components/message/taiga-ui-kit-components-message.mjs",
294
288
  "default": "./fesm2022/taiga-ui-kit-components-message.mjs"
295
289
  },
290
+ "./components/input-time": {
291
+ "types": "./components/input-time/index.d.ts",
292
+ "esm2022": "./esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs",
293
+ "esm": "./esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs",
294
+ "default": "./fesm2022/taiga-ui-kit-components-input-time.mjs"
295
+ },
296
296
  "./components/multi-select": {
297
297
  "types": "./components/multi-select/index.d.ts",
298
298
  "esm2022": "./esm2022/components/multi-select/taiga-ui-kit-components-multi-select.mjs",
@@ -413,12 +413,6 @@
413
413
  "esm": "./esm2022/components/switch/taiga-ui-kit-components-switch.mjs",
414
414
  "default": "./fesm2022/taiga-ui-kit-components-switch.mjs"
415
415
  },
416
- "./components/tabs": {
417
- "types": "./components/tabs/index.d.ts",
418
- "esm2022": "./esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs",
419
- "esm": "./esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs",
420
- "default": "./fesm2022/taiga-ui-kit-components-tabs.mjs"
421
- },
422
416
  "./components/textarea": {
423
417
  "types": "./components/textarea/index.d.ts",
424
418
  "esm2022": "./esm2022/components/textarea/taiga-ui-kit-components-textarea.mjs",
@@ -431,6 +425,12 @@
431
425
  "esm": "./esm2022/components/tiles/taiga-ui-kit-components-tiles.mjs",
432
426
  "default": "./fesm2022/taiga-ui-kit-components-tiles.mjs"
433
427
  },
428
+ "./components/tabs": {
429
+ "types": "./components/tabs/index.d.ts",
430
+ "esm2022": "./esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs",
431
+ "esm": "./esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs",
432
+ "default": "./fesm2022/taiga-ui-kit-components-tabs.mjs"
433
+ },
434
434
  "./components/tree": {
435
435
  "types": "./components/tree/index.d.ts",
436
436
  "esm2022": "./esm2022/components/tree/taiga-ui-kit-components-tree.mjs",
@@ -485,18 +485,18 @@
485
485
  "esm": "./esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs",
486
486
  "default": "./fesm2022/taiga-ui-kit-directives-fade.mjs"
487
487
  },
488
- "./directives/fluid-typography": {
489
- "types": "./directives/fluid-typography/index.d.ts",
490
- "esm2022": "./esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs",
491
- "esm": "./esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs",
492
- "default": "./fesm2022/taiga-ui-kit-directives-fluid-typography.mjs"
493
- },
494
488
  "./directives/highlight": {
495
489
  "types": "./directives/highlight/index.d.ts",
496
490
  "esm2022": "./esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs",
497
491
  "esm": "./esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs",
498
492
  "default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
499
493
  },
494
+ "./directives/fluid-typography": {
495
+ "types": "./directives/fluid-typography/index.d.ts",
496
+ "esm2022": "./esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs",
497
+ "esm": "./esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs",
498
+ "default": "./fesm2022/taiga-ui-kit-directives-fluid-typography.mjs"
499
+ },
500
500
  "./directives/icon-badge": {
501
501
  "types": "./directives/icon-badge/index.d.ts",
502
502
  "esm2022": "./esm2022/directives/icon-badge/taiga-ui-kit-directives-icon-badge.mjs",
@@ -605,17 +605,17 @@
605
605
  "@angular/core": ">=16.0.0",
606
606
  "@angular/forms": ">=16.0.0",
607
607
  "@angular/router": ">=16.0.0",
608
- "@maskito/angular": "^3.9.1",
609
- "@maskito/core": "^3.9.1",
610
- "@maskito/kit": "^3.9.1",
611
- "@maskito/phone": "^3.9.1",
608
+ "@maskito/angular": "^3.10.0",
609
+ "@maskito/core": "^3.10.0",
610
+ "@maskito/kit": "^3.10.0",
611
+ "@maskito/phone": "^3.10.0",
612
612
  "@ng-web-apis/common": "^4.12.0",
613
613
  "@ng-web-apis/intersection-observer": "^4.12.0",
614
614
  "@ng-web-apis/mutation-observer": "^4.12.0",
615
615
  "@ng-web-apis/resize-observer": "^4.12.0",
616
- "@taiga-ui/cdk": "^4.43.0",
617
- "@taiga-ui/core": "^4.43.0",
618
- "@taiga-ui/i18n": "^4.43.0",
616
+ "@taiga-ui/cdk": "^4.44.0",
617
+ "@taiga-ui/core": "^4.44.0",
618
+ "@taiga-ui/i18n": "^4.44.0",
619
619
  "@taiga-ui/polymorpheus": "^4.9.0",
620
620
  "rxjs": ">=7.0.0"
621
621
  },
@@ -1 +1,2 @@
1
- export declare const TUI_EMAIL_PIPE_OPTIONS: import("@angular/core").InjectionToken<string[]>;
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const TUI_EMAIL_PIPE_OPTIONS: InjectionToken<string[]>;
@@ -79,7 +79,7 @@ tui-pin,
79
79
  font: var(--tui-font-text-m);
80
80
  font-weight: bold;
81
81
  border-width: 0;
82
- margin-top: -2.75rem;
82
+ margin-block-start: -2.75rem;
83
83
 
84
84
  > img {
85
85
  padding: 0.125rem;
@@ -109,7 +109,7 @@ tui-pin,
109
109
  font: var(--tui-font-text-m);
110
110
  font-weight: bold;
111
111
  border-width: 0;
112
- margin-top: -2.75rem;
112
+ margin-block-start: -2.75rem;
113
113
 
114
114
  > img {
115
115
  padding: 0.125rem;
@@ -38,7 +38,7 @@
38
38
  */
39
39
  .progressAnimation() {
40
40
  &::-webkit-progress-value {
41
- transition: width var(--tui-duration) linear;
41
+ transition: inline-size var(--tui-duration) linear;
42
42
  }
43
43
  }
44
44
 
@@ -1,4 +1,5 @@
1
- import type { InjectionToken, Provider } from '@angular/core';
1
+ import type { Provider } from '@angular/core';
2
+ import { InjectionToken } from '@angular/core';
2
3
  import type { TuiValueTransformer } from '@taiga-ui/cdk/classes';
3
4
  import type { TuiDay, TuiDayRange } from '@taiga-ui/cdk/date-time';
4
5
  import type { Observable } from 'rxjs';
@@ -1,18 +1,19 @@
1
+ import { InjectionToken } from '@angular/core';
1
2
  import type { TuiValueTransformer } from '@taiga-ui/cdk/classes';
2
3
  import type { TuiDay, TuiDayRange, TuiTime } from '@taiga-ui/cdk/date-time';
3
4
  /**
4
5
  * Control value transformer of TuiDay to custom value format for InputDate* components
5
6
  */
6
- export declare const TUI_DATE_VALUE_TRANSFORMER: import("@angular/core").InjectionToken<TuiValueTransformer<TuiDay | null, unknown>>;
7
+ export declare const TUI_DATE_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<TuiDay | null, unknown>>;
7
8
  /**
8
9
  * Control value transformer for InputDateRange component
9
10
  */
10
- export declare const TUI_DATE_RANGE_VALUE_TRANSFORMER: import("@angular/core").InjectionToken<TuiValueTransformer<TuiDayRange | null, unknown>>;
11
+ export declare const TUI_DATE_RANGE_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<TuiDayRange | null, unknown>>;
11
12
  /**
12
13
  * Control value transformer for InputDateTime component
13
14
  */
14
- export declare const TUI_DATE_TIME_VALUE_TRANSFORMER: import("@angular/core").InjectionToken<TuiValueTransformer<[TuiDay, TuiTime | null], unknown>>;
15
+ export declare const TUI_DATE_TIME_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<[TuiDay, TuiTime | null], unknown>>;
15
16
  /**
16
17
  * Control value transformer for InputTime component
17
18
  */
18
- export declare const TUI_TIME_VALUE_TRANSFORMER: import("@angular/core").InjectionToken<TuiValueTransformer<TuiTime | null, unknown>>;
19
+ export declare const TUI_TIME_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<TuiTime | null, unknown>>;
package/tokens/i18n.d.ts CHANGED
@@ -1,20 +1,21 @@
1
+ import { InjectionToken } from '@angular/core';
1
2
  import type { TuiDateMode } from '@taiga-ui/cdk/date-time';
2
3
  import type { TuiCountryIsoCode } from '@taiga-ui/i18n/types';
3
4
  import type { Observable } from 'rxjs';
4
- export declare const TUI_CONFIRM_WORDS: import("@angular/core").InjectionToken<Observable<{
5
+ export declare const TUI_CONFIRM_WORDS: InjectionToken<Observable<{
5
6
  no: string;
6
7
  yes: string;
7
8
  }>>;
8
- export declare const TUI_CANCEL_WORD: import("@angular/core").InjectionToken<Observable<string>>;
9
- export declare const TUI_DONE_WORD: import("@angular/core").InjectionToken<Observable<string>>;
10
- export declare const TUI_MORE_WORD: import("@angular/core").InjectionToken<Observable<string>>;
11
- export declare const TUI_HIDE_TEXT: import("@angular/core").InjectionToken<Observable<string>>;
12
- export declare const TUI_SHOW_ALL_TEXT: import("@angular/core").InjectionToken<Observable<string>>;
13
- export declare const TUI_OTHER_DATE_TEXT: import("@angular/core").InjectionToken<Observable<string>>;
14
- export declare const TUI_CHOOSE_DAY_OR_RANGE_TEXTS: import("@angular/core").InjectionToken<Observable<readonly [choose_day: string, choose_range: string, choose_days: string]>>;
15
- export declare const TUI_FROM_TO_TEXTS: import("@angular/core").InjectionToken<Observable<readonly [from: string, to: string]>>;
16
- export declare const TUI_PLUS_MINUS_TEXTS: import("@angular/core").InjectionToken<Observable<readonly [plus: string, minus: string]>>;
17
- export declare const TUI_TIME_TEXTS: import("@angular/core").InjectionToken<Observable<{
9
+ export declare const TUI_CANCEL_WORD: InjectionToken<Observable<string>>;
10
+ export declare const TUI_DONE_WORD: InjectionToken<Observable<string>>;
11
+ export declare const TUI_MORE_WORD: InjectionToken<Observable<string>>;
12
+ export declare const TUI_HIDE_TEXT: InjectionToken<Observable<string>>;
13
+ export declare const TUI_SHOW_ALL_TEXT: InjectionToken<Observable<string>>;
14
+ export declare const TUI_OTHER_DATE_TEXT: InjectionToken<Observable<string>>;
15
+ export declare const TUI_CHOOSE_DAY_OR_RANGE_TEXTS: InjectionToken<Observable<readonly [choose_day: string, choose_range: string, choose_days: string]>>;
16
+ export declare const TUI_FROM_TO_TEXTS: InjectionToken<Observable<readonly [from: string, to: string]>>;
17
+ export declare const TUI_PLUS_MINUS_TEXTS: InjectionToken<Observable<readonly [plus: string, minus: string]>>;
18
+ export declare const TUI_TIME_TEXTS: InjectionToken<Observable<{
18
19
  'MM:SS': string;
19
20
  'HH:MM': string;
20
21
  'HH:MM AA': string;
@@ -28,18 +29,18 @@ export declare const TUI_TIME_TEXTS: import("@angular/core").InjectionToken<Obse
28
29
  'MM.SS.MSS': string;
29
30
  'SS.MSS': string;
30
31
  }>>;
31
- export declare const TUI_DATE_TEXTS: import("@angular/core").InjectionToken<Observable<Record<TuiDateMode, string>>>;
32
- export declare const TUI_DIGITAL_INFORMATION_UNITS: import("@angular/core").InjectionToken<Observable<readonly [short_byte: string, short_kilobyte: string, short_megabyte: string]>>;
33
- export declare const TUI_COPY_TEXTS: import("@angular/core").InjectionToken<Observable<readonly [copy: string, copied: string]>>;
34
- export declare const TUI_PASSWORD_TEXTS: import("@angular/core").InjectionToken<Observable<readonly [show_password: string, hide_password: string]>>;
35
- export declare const TUI_CALENDAR_MONTHS: import("@angular/core").InjectionToken<Observable<readonly [January: string, February: string, March: string, April: string, May: string, June: string, July: string, August: string, September: string, October: string, November: string, December: string]>>;
36
- export declare const TUI_FILE_TEXTS: import("@angular/core").InjectionToken<Observable<{
32
+ export declare const TUI_DATE_TEXTS: InjectionToken<Observable<Record<TuiDateMode, string>>>;
33
+ export declare const TUI_DIGITAL_INFORMATION_UNITS: InjectionToken<Observable<readonly [short_byte: string, short_kilobyte: string, short_megabyte: string]>>;
34
+ export declare const TUI_COPY_TEXTS: InjectionToken<Observable<readonly [copy: string, copied: string]>>;
35
+ export declare const TUI_PASSWORD_TEXTS: InjectionToken<Observable<readonly [show_password: string, hide_password: string]>>;
36
+ export declare const TUI_CALENDAR_MONTHS: InjectionToken<Observable<readonly [January: string, February: string, March: string, April: string, May: string, June: string, July: string, August: string, September: string, October: string, November: string, December: string]>>;
37
+ export declare const TUI_FILE_TEXTS: InjectionToken<Observable<{
37
38
  loadingError: string;
38
39
  preview: string;
39
40
  remove: string;
40
41
  }>>;
41
- export declare const TUI_PAGINATION_TEXTS: import("@angular/core").InjectionToken<Observable<readonly [previous_page: string, next_page: string]>>;
42
- export declare const TUI_INPUT_FILE_TEXTS: import("@angular/core").InjectionToken<Observable<{
42
+ export declare const TUI_PAGINATION_TEXTS: InjectionToken<Observable<readonly [previous_page: string, next_page: string]>>;
43
+ export declare const TUI_INPUT_FILE_TEXTS: InjectionToken<Observable<{
43
44
  defaultLabelMultiple: string;
44
45
  defaultLabelSingle: string;
45
46
  defaultLinkMultiple: string;
@@ -49,17 +50,17 @@ export declare const TUI_INPUT_FILE_TEXTS: import("@angular/core").InjectionToke
49
50
  formatRejectionReason: string;
50
51
  maxSizeRejectionReason: string;
51
52
  }>>;
52
- export declare const TUI_MULTI_SELECT_TEXTS: import("@angular/core").InjectionToken<Observable<{
53
+ export declare const TUI_MULTI_SELECT_TEXTS: InjectionToken<Observable<{
53
54
  all: string;
54
55
  none: string;
55
56
  }>>;
56
- export declare const TUI_COUNTRIES: import("@angular/core").InjectionToken<Observable<Record<TuiCountryIsoCode, string>>>;
57
- export declare const TUI_PREVIEW_TEXTS: import("@angular/core").InjectionToken<Observable<{
57
+ export declare const TUI_COUNTRIES: InjectionToken<Observable<Record<TuiCountryIsoCode, string>>>;
58
+ export declare const TUI_PREVIEW_TEXTS: InjectionToken<Observable<{
58
59
  rotate: string;
59
60
  }>>;
60
- export declare const TUI_PREVIEW_ZOOM_TEXTS: import("@angular/core").InjectionToken<Observable<{
61
+ export declare const TUI_PREVIEW_ZOOM_TEXTS: InjectionToken<Observable<{
61
62
  zoomIn: string;
62
63
  zoomOut: string;
63
64
  reset: string;
64
65
  }>>;
65
- export declare const TUI_INTERNATIONAL_SEARCH: import("@angular/core").InjectionToken<Observable<string>>;
66
+ export declare const TUI_INTERNATIONAL_SEARCH: InjectionToken<Observable<string>>;
@@ -1,4 +1,5 @@
1
1
  import type { Provider } from '@angular/core';
2
+ import { InjectionToken } from '@angular/core';
2
3
  import type { TuiBooleanHandler, TuiIdentityMatcher, TuiStringHandler } from '@taiga-ui/cdk/types';
3
4
  /**
4
5
  * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
@@ -18,7 +19,7 @@ export declare const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown>;
18
19
  * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
19
20
  * TODO(v5): delete
20
21
  */
21
- export declare const TUI_ITEMS_HANDLERS: import("@angular/core").InjectionToken<TuiItemsHandlers<unknown>>;
22
+ export declare const TUI_ITEMS_HANDLERS: InjectionToken<TuiItemsHandlers<unknown>>;
22
23
  /**
23
24
  * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
24
25
  * TODO(v5): delete