@taiga-ui/legacy 4.52.0-canary.ece97e9 → 4.52.0-canary.efbd0d4

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 (232) hide show
  1. package/README.md +1 -1
  2. package/components/dialog/dialog.component.d.ts +5 -5
  3. package/components/dialog/dialog.directive.d.ts +4 -3
  4. package/components/dialog/dialog.interfaces.d.ts +3 -4
  5. package/components/dialog/dialog.service.d.ts +5 -2
  6. package/components/dialog/dialog.tokens.d.ts +1 -3
  7. package/components/index.d.ts +1 -17
  8. package/components/mobile-dialog/index.d.ts +3 -0
  9. package/components/mobile-dialog/mobile-dialog.component.d.ts +10 -0
  10. package/components/mobile-dialog/mobile-dialog.options.d.ts +10 -0
  11. package/components/mobile-dialog/mobile-dialog.service.d.ts +14 -0
  12. package/components/pdf-viewer/pdf-viewer.component.d.ts +2 -2
  13. package/components/pdf-viewer/pdf-viewer.directive.d.ts +4 -3
  14. package/components/pdf-viewer/pdf-viewer.options.d.ts +1 -3
  15. package/components/pdf-viewer/pdf-viewer.service.d.ts +7 -3
  16. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +40 -33
  17. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -1
  18. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +62 -0
  19. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -0
  20. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +34 -28
  21. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -1
  22. package/fesm2022/taiga-ui-legacy-components.mjs +1 -17
  23. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  24. package/fesm2022/taiga-ui-legacy.mjs +0 -4
  25. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  26. package/index.d.ts +0 -4
  27. package/package.json +19 -114
  28. package/classes/abstract-native-select.d.ts +0 -22
  29. package/classes/abstract-textfield-host.d.ts +0 -19
  30. package/classes/control.d.ts +0 -60
  31. package/classes/controller.d.ts +0 -9
  32. package/classes/index.d.ts +0 -9
  33. package/classes/interactive.d.ts +0 -34
  34. package/classes/multiple-control.d.ts +0 -11
  35. package/classes/named-day.d.ts +0 -11
  36. package/classes/nullable-control.d.ts +0 -10
  37. package/classes/stringifiable-item.d.ts +0 -11
  38. package/components/arrow/arrow.component.d.ts +0 -17
  39. package/components/arrow/arrow.options.d.ts +0 -19
  40. package/components/arrow/arrow.providers.d.ts +0 -23
  41. package/components/arrow/index.d.ts +0 -3
  42. package/components/input/index.d.ts +0 -3
  43. package/components/input/input.component.d.ts +0 -32
  44. package/components/input/input.directive.d.ts +0 -12
  45. package/components/input/input.module.d.ts +0 -16
  46. package/components/input-date-range/index.d.ts +0 -3
  47. package/components/input-date-range/input-date-range.component.d.ts +0 -67
  48. package/components/input-date-range/input-date-range.directive.d.ts +0 -16
  49. package/components/input-date-range/input-date-range.module.d.ts +0 -21
  50. package/components/input-date-time/index.d.ts +0 -3
  51. package/components/input-date-time/input-date-time.component.d.ts +0 -88
  52. package/components/input-date-time/input-date-time.directive.d.ts +0 -17
  53. package/components/input-date-time/input-date-time.module.d.ts +0 -23
  54. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
  55. package/components/input-month-range/index.d.ts +0 -3
  56. package/components/input-month-range/input-month-range.component.d.ts +0 -38
  57. package/components/input-month-range/input-month-range.directive.d.ts +0 -23
  58. package/components/input-month-range/input-month-range.module.d.ts +0 -18
  59. package/components/input-number/index.d.ts +0 -4
  60. package/components/input-number/input-number.component.d.ts +0 -63
  61. package/components/input-number/input-number.directive.d.ts +0 -16
  62. package/components/input-number/input-number.module.d.ts +0 -18
  63. package/components/input-number/input-number.options.d.ts +0 -29
  64. package/components/input-range/index.d.ts +0 -2
  65. package/components/input-range/input-range.component.d.ts +0 -56
  66. package/components/input-range/input-range.module.d.ts +0 -19
  67. package/components/input-slider/index.d.ts +0 -2
  68. package/components/input-slider/input-slider.component.d.ts +0 -42
  69. package/components/input-slider/input-slider.module.d.ts +0 -18
  70. package/components/input-tag/index.d.ts +0 -3
  71. package/components/input-tag/input-tag.component.d.ts +0 -103
  72. package/components/input-tag/input-tag.module.d.ts +0 -22
  73. package/components/input-tag/input-tag.options.d.ts +0 -27
  74. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  75. package/components/multi-select/index.d.ts +0 -10
  76. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  77. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  78. package/components/multi-select/multi-select.component.d.ts +0 -71
  79. package/components/multi-select/multi-select.directive.d.ts +0 -14
  80. package/components/multi-select/multi-select.module.d.ts +0 -30
  81. package/components/multi-select/multi-select.options.d.ts +0 -14
  82. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  83. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  84. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  85. package/components/multi-select-option/index.d.ts +0 -2
  86. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  87. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  88. package/components/primitive-textfield/index.d.ts +0 -7
  89. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
  90. package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
  91. package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
  92. package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
  93. package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
  94. package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
  95. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
  96. package/components/select/index.d.ts +0 -6
  97. package/components/select/native-select/native-select-group.component.d.ts +0 -17
  98. package/components/select/native-select/native-select.component.d.ts +0 -16
  99. package/components/select/select.component.d.ts +0 -45
  100. package/components/select/select.directive.d.ts +0 -16
  101. package/components/select/select.module.d.ts +0 -24
  102. package/components/select/select.options.d.ts +0 -25
  103. package/components/select-option/index.d.ts +0 -2
  104. package/components/select-option/select-option.component.d.ts +0 -27
  105. package/components/select-option/select-option.module.d.ts +0 -10
  106. package/components/tag/index.d.ts +0 -3
  107. package/components/tag/tag.component.d.ts +0 -44
  108. package/components/tag/tag.module.d.ts +0 -16
  109. package/components/tag/tag.options.d.ts +0 -27
  110. package/components/textarea/index.d.ts +0 -3
  111. package/components/textarea/textarea.component.d.ts +0 -54
  112. package/components/textarea/textarea.directive.d.ts +0 -12
  113. package/components/textarea/textarea.module.d.ts +0 -21
  114. package/components/tooltip/index.d.ts +0 -2
  115. package/components/tooltip/tooltip.component.d.ts +0 -12
  116. package/components/tooltip/tooltip.module.d.ts +0 -13
  117. package/directives/index.d.ts +0 -5
  118. package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
  119. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
  120. package/directives/textfield-controller/index.d.ts +0 -14
  121. package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
  122. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
  123. package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
  124. package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
  125. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
  126. package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
  127. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
  128. package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
  129. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
  130. package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
  131. package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
  132. package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
  133. package/directives/textfield-controller/textfield.controller.d.ts +0 -41
  134. package/directives/textfield-controller/textfield.options.d.ts +0 -19
  135. package/directives/unfinished-validator/index.d.ts +0 -2
  136. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
  137. package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
  138. package/directives/value-accessor/index.d.ts +0 -3
  139. package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
  140. package/directives/value-accessor/value-accessor.module.d.ts +0 -7
  141. package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
  142. package/directives/wrapper/README.md +0 -19
  143. package/directives/wrapper/index.d.ts +0 -2
  144. package/directives/wrapper/wrapper.directive.d.ts +0 -22
  145. package/directives/wrapper/wrapper.module.d.ts +0 -10
  146. package/fesm2022/taiga-ui-legacy-classes.mjs +0 -415
  147. package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
  148. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -85
  149. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
  150. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -352
  151. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
  152. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
  153. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
  154. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
  155. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
  156. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -390
  157. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
  158. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
  159. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
  160. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -199
  161. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
  162. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  163. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  164. package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -156
  165. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
  166. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  167. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  168. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -686
  169. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  170. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
  171. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
  172. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
  173. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
  174. package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -353
  175. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
  176. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -225
  177. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  178. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  179. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
  180. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
  181. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
  182. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -50
  183. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
  184. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -401
  185. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
  186. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -49
  187. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
  188. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
  189. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
  190. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
  191. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
  192. package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
  193. package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
  194. package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
  195. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
  196. package/fesm2022/taiga-ui-legacy-utils.mjs +0 -262
  197. package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
  198. package/styles/mixins/mixins.less +0 -239
  199. package/styles/mixins/mixins.scss +0 -224
  200. package/styles/mixins/textfield.less +0 -324
  201. package/styles/mixins/textfield.scss +0 -308
  202. package/styles/taiga-ui-local.less +0 -3
  203. package/styles/taiga-ui-local.scss +0 -3
  204. package/tokens/countries-masks.d.ts +0 -9
  205. package/tokens/focusable-item-accessor.d.ts +0 -25
  206. package/tokens/fonts-ready.d.ts +0 -6
  207. package/tokens/icons.d.ts +0 -6
  208. package/tokens/index.d.ts +0 -14
  209. package/tokens/is-apple.d.ts +0 -6
  210. package/tokens/is-chromium.d.ts +0 -6
  211. package/tokens/is-firefox.d.ts +0 -6
  212. package/tokens/is-stackblitz.d.ts +0 -5
  213. package/tokens/month-formatter.d.ts +0 -10
  214. package/tokens/sanitizer.d.ts +0 -6
  215. package/tokens/textfield-appearance.d.ts +0 -7
  216. package/tokens/textfield-host.d.ts +0 -23
  217. package/tokens/touch-supported.d.ts +0 -5
  218. package/tokens/value-accessor.d.ts +0 -7
  219. package/utils/capitalize-first-letter.d.ts +0 -4
  220. package/utils/date-mode-maskito-adapter.d.ts +0 -6
  221. package/utils/format-phone.d.ts +0 -30
  222. package/utils/get-border.d.ts +0 -5
  223. package/utils/get-max-allowed-phone-length.d.ts +0 -24
  224. package/utils/get-safe-area-size.d.ts +0 -7
  225. package/utils/icons-path-factory.d.ts +0 -13
  226. package/utils/index.d.ts +0 -13
  227. package/utils/is-presumed-html-string.d.ts +0 -4
  228. package/utils/iso-to-country-code.d.ts +0 -13
  229. package/utils/not-kz-region.d.ts +0 -20
  230. package/utils/process-icon.d.ts +0 -4
  231. package/utils/specific-dropdown-controllers.d.ts +0 -4
  232. package/utils/status.d.ts +0 -4
@@ -1,221 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Input, ViewChild, ChangeDetectionStrategy, Component, Directive, NgModule } from '@angular/core';
3
- import { TUI_FALSE_HANDLER, CHAR_EN_DASH } from '@taiga-ui/cdk/constants';
4
- import { TuiDay, TuiMonthRange, tuiDateClamp } from '@taiga-ui/cdk/date-time';
5
- import { TuiMonthPipe } from '@taiga-ui/core/pipes/month';
6
- import { TUI_INPUT_DATE_OPTIONS } from '@taiga-ui/kit/tokens';
7
- import { AbstractTuiNullableControl, tuiAsControl, AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
8
- import * as i3 from '@taiga-ui/legacy/components/primitive-textfield';
9
- import { TuiPrimitiveTextfieldComponent, TuiTextfieldComponent, TuiPrimitiveTextfieldModule } from '@taiga-ui/legacy/components/primitive-textfield';
10
- import * as i2 from '@taiga-ui/legacy/directives';
11
- import { TUI_TEXTFIELD_SIZE, TuiLegacyDropdownOpenMonitorDirective, TuiTextfieldControllerModule } from '@taiga-ui/legacy/directives';
12
- import { TUI_MONTH_FORMATTER, tuiAsFocusableItemAccessor, TUI_MONTH_FORMATTER_PROVIDER, tuiAsTextfieldHost } from '@taiga-ui/legacy/tokens';
13
- import * as i1 from '@taiga-ui/kit/components/calendar-month';
14
- import { TuiCalendarMonth } from '@taiga-ui/kit/components/calendar-month';
15
- import * as i1$1 from '@taiga-ui/core/directives/dropdown';
16
- import { TuiDropdown } from '@taiga-ui/core/directives/dropdown';
17
- import * as i5 from '@angular/common';
18
- import { CommonModule } from '@angular/common';
19
- import * as i6 from '@taiga-ui/cdk/pipes/mapper';
20
- import { TuiMapperPipe } from '@taiga-ui/cdk/pipes/mapper';
21
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
22
- import { Subject, distinctUntilChanged, switchMap, combineLatest } from 'rxjs';
23
-
24
- /**
25
- * TODO(v5): delete it
26
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month#range TuiInputMonth} (from @taiga-ui/kit) instead
27
- */
28
- class TuiInputMonthRangeComponent extends AbstractTuiNullableControl {
29
- constructor() {
30
- super(...arguments);
31
- this.options = inject(TUI_INPUT_DATE_OPTIONS);
32
- this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
33
- this.formatter = inject(TUI_MONTH_FORMATTER);
34
- this.min = this.options.min;
35
- this.max = this.options.max;
36
- this.disabledItemHandler = TUI_FALSE_HANDLER;
37
- this.minLength = null;
38
- this.maxLength = null;
39
- this.defaultActiveYear = TuiDay.currentLocal();
40
- this.open = false;
41
- }
42
- get nativeFocusableElement() {
43
- return this.textfield?.nativeFocusableElement ?? null;
44
- }
45
- get focused() {
46
- return !!this.textfield?.focused;
47
- }
48
- setDisabledState() {
49
- super.setDisabledState();
50
- this.close();
51
- }
52
- computeValue(from, to) {
53
- const formattedTo = from === to && this.focused && !this.readOnly ? '' : to;
54
- return `${from} ${CHAR_EN_DASH} ${formattedTo}`;
55
- }
56
- onValueChange(value) {
57
- if (value) {
58
- return;
59
- }
60
- this.value = null;
61
- this.onOpenChange(true);
62
- }
63
- onMonthClick(month) {
64
- if (!this.value?.isSingleMonth) {
65
- this.writeValue(new TuiMonthRange(month, month));
66
- return;
67
- }
68
- this.value = TuiMonthRange.sort(this.value.from, month);
69
- this.close();
70
- }
71
- get size() {
72
- return this.textfieldSize.size;
73
- }
74
- get computedDefaultActiveYear() {
75
- return (this.value?.from || tuiDateClamp(this.defaultActiveYear, this.min, this.max));
76
- }
77
- get calendarIcon() {
78
- return this.options.icon;
79
- }
80
- onOpenChange(open) {
81
- this.open = open;
82
- }
83
- onActiveZone(focused) {
84
- this.updateFocused(focused);
85
- if (focused) {
86
- return;
87
- }
88
- if (this.value?.isSingleMonth) {
89
- this.value = new TuiMonthRange(this.value.from, this.value.from);
90
- }
91
- }
92
- close() {
93
- this.open = false;
94
- }
95
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthRangeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
96
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputMonthRangeComponent, isStandalone: false, selector: "tui-input-month-range", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", minLength: "minLength", maxLength: "maxLength", defaultActiveYear: "defaultActiveYear" }, host: { properties: { "attr.data-size": "size" } }, providers: [
97
- tuiAsFocusableItemAccessor(TuiInputMonthRangeComponent),
98
- tuiAsControl(TuiInputMonthRangeComponent),
99
- TUI_MONTH_FORMATTER_PROVIDER,
100
- TuiMonthPipe,
101
- ], viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [editable]=\"false\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"calendarIcon\"\n [value]=\"\n value\n ? computeValue(value.from | tuiMapper: formatter | async, value.to | tuiMapper: formatter | async)\n : ''\n \"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n\n <ng-template #dropdown>\n <tui-calendar-month\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"max\"\n [maxLength]=\"maxLength\"\n [min]=\"min\"\n [minLength]=\"minLength\"\n [value]=\"value\"\n [year]=\"computedDefaultActiveYear\"\n (monthClick)=\"onMonthClick($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n />\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}\n"], dependencies: [{ kind: "component", type: i1.TuiCalendarMonth, selector: "tui-calendar-month", inputs: ["year", "disabledItemHandler", "minLength", "maxLength", "min", "max", "value"], outputs: ["monthClick", "hoveredItemChange", "yearChange"] }, { kind: "directive", type: i2.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }, { kind: "component", type: i3.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i3.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i2.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i1$1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i1$1.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.TuiMapperPipe, name: "tuiMapper" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
102
- }
103
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthRangeComponent, decorators: [{
104
- type: Component,
105
- args: [{ standalone: false, selector: 'tui-input-month-range', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
106
- tuiAsFocusableItemAccessor(TuiInputMonthRangeComponent),
107
- tuiAsControl(TuiInputMonthRangeComponent),
108
- TUI_MONTH_FORMATTER_PROVIDER,
109
- TuiMonthPipe,
110
- ], host: {
111
- '[attr.data-size]': 'size',
112
- }, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [editable]=\"false\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"calendarIcon\"\n [value]=\"\n value\n ? computeValue(value.from | tuiMapper: formatter | async, value.to | tuiMapper: formatter | async)\n : ''\n \"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n\n <ng-template #dropdown>\n <tui-calendar-month\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"max\"\n [maxLength]=\"maxLength\"\n [min]=\"min\"\n [minLength]=\"minLength\"\n [value]=\"value\"\n [year]=\"computedDefaultActiveYear\"\n (monthClick)=\"onMonthClick($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n />\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}\n"] }]
113
- }], propDecorators: { textfield: [{
114
- type: ViewChild,
115
- args: [TuiPrimitiveTextfieldComponent]
116
- }], min: [{
117
- type: Input
118
- }], max: [{
119
- type: Input
120
- }], disabledItemHandler: [{
121
- type: Input
122
- }], minLength: [{
123
- type: Input
124
- }], maxLength: [{
125
- type: Input
126
- }], defaultActiveYear: [{
127
- type: Input
128
- }] } });
129
-
130
- /**
131
- * TODO(v5): delete it
132
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month#range TuiInputMonth} (from @taiga-ui/kit) instead
133
- */
134
- class TuiInputMonthRangeDirective extends AbstractTuiTextfieldHost {
135
- constructor() {
136
- super(...arguments);
137
- this.value$ = new Subject();
138
- this.localizedValue = ['', ''];
139
- this.formatter = inject(TUI_MONTH_FORMATTER);
140
- this.$ = this.value$
141
- .pipe(distinctUntilChanged(), switchMap((value) => combineLatest([
142
- this.formatter(value?.from || null),
143
- this.formatter(value?.to || null),
144
- ])), takeUntilDestroyed())
145
- .subscribe((localizedValue) => {
146
- this.localizedValue = localizedValue;
147
- });
148
- }
149
- get readOnly() {
150
- return true;
151
- }
152
- get value() {
153
- return this.localizedValue[0]
154
- ? this.host.computeValue(...this.localizedValue)
155
- : '';
156
- }
157
- ngDoCheck() {
158
- this.value$.next(this.host.value);
159
- }
160
- onValueChange(value) {
161
- this.host.onValueChange(value);
162
- }
163
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthRangeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
164
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputMonthRangeDirective, isStandalone: false, selector: "tui-input-month-range", providers: [tuiAsTextfieldHost(TuiInputMonthRangeDirective)], usesInheritance: true, ngImport: i0 }); }
165
- }
166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthRangeDirective, decorators: [{
167
- type: Directive,
168
- args: [{
169
- standalone: false,
170
- selector: 'tui-input-month-range',
171
- providers: [tuiAsTextfieldHost(TuiInputMonthRangeDirective)],
172
- }]
173
- }] });
174
-
175
- /**
176
- * TODO(v5): delete it
177
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month#range TuiInputMonth} (from @taiga-ui/kit) instead
178
- */
179
- class TuiInputMonthRangeModule {
180
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
181
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthRangeModule, declarations: [TuiInputMonthRangeComponent, TuiInputMonthRangeDirective], imports: [CommonModule,
182
- TuiCalendarMonth,
183
- TuiLegacyDropdownOpenMonitorDirective,
184
- TuiMapperPipe,
185
- TuiPrimitiveTextfieldModule,
186
- TuiTextfieldControllerModule, i1$1.TuiDropdownOptionsDirective, i1$1.TuiDropdownDriverDirective, i1$1.TuiDropdownDirective, i1$1.TuiDropdownComponent, i1$1.TuiDropdownOpen, i1$1.TuiDropdownOpenLegacy, i1$1.TuiDropdownManual, i1$1.TuiDropdownHover, i1$1.TuiDropdownContent, i1$1.TuiDropdownContext, i1$1.TuiDropdownPosition, i1$1.TuiDropdownPositionSided, i1$1.TuiDropdownSelection], exports: [TuiInputMonthRangeComponent,
187
- TuiInputMonthRangeDirective,
188
- TuiTextfieldComponent, i1$1.TuiDropdownOptionsDirective, i1$1.TuiDropdownDriverDirective, i1$1.TuiDropdownDirective, i1$1.TuiDropdownComponent, i1$1.TuiDropdownOpen, i1$1.TuiDropdownOpenLegacy, i1$1.TuiDropdownManual, i1$1.TuiDropdownHover, i1$1.TuiDropdownContent, i1$1.TuiDropdownContext, i1$1.TuiDropdownPosition, i1$1.TuiDropdownPositionSided, i1$1.TuiDropdownSelection] }); }
189
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthRangeModule, imports: [CommonModule,
190
- TuiCalendarMonth,
191
- TuiPrimitiveTextfieldModule,
192
- TuiTextfieldControllerModule, i1$1.TuiDropdownComponent] }); }
193
- }
194
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthRangeModule, decorators: [{
195
- type: NgModule,
196
- args: [{
197
- imports: [
198
- CommonModule,
199
- TuiCalendarMonth,
200
- TuiLegacyDropdownOpenMonitorDirective,
201
- TuiMapperPipe,
202
- TuiPrimitiveTextfieldModule,
203
- TuiTextfieldControllerModule,
204
- ...TuiDropdown,
205
- ],
206
- declarations: [TuiInputMonthRangeComponent, TuiInputMonthRangeDirective],
207
- exports: [
208
- TuiInputMonthRangeComponent,
209
- TuiInputMonthRangeDirective,
210
- TuiTextfieldComponent,
211
- ...TuiDropdown,
212
- ],
213
- }]
214
- }] });
215
-
216
- /**
217
- * Generated bundle index. Do not edit.
218
- */
219
-
220
- export { TuiInputMonthRangeComponent, TuiInputMonthRangeDirective, TuiInputMonthRangeModule };
221
- //# sourceMappingURL=taiga-ui-legacy-components-input-month-range.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-input-month-range.mjs","sources":["../../../projects/legacy/components/input-month-range/input-month-range.component.ts","../../../projects/legacy/components/input-month-range/input-month-range.template.html","../../../projects/legacy/components/input-month-range/input-month-range.directive.ts","../../../projects/legacy/components/input-month-range/input-month-range.module.ts","../../../projects/legacy/components/input-month-range/taiga-ui-legacy-components-input-month-range.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n ViewChild,\n} from '@angular/core';\nimport {CHAR_EN_DASH, TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {\n tuiDateClamp,\n TuiDay,\n type TuiMonth,\n TuiMonthRange,\n type TuiYear,\n} from '@taiga-ui/cdk/date-time';\nimport {type TuiBooleanHandler} from '@taiga-ui/cdk/types';\nimport {TuiMonthPipe} from '@taiga-ui/core/pipes/month';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {TUI_INPUT_DATE_OPTIONS, type TuiInputDateOptions} from '@taiga-ui/kit/tokens';\nimport {AbstractTuiNullableControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TUI_TEXTFIELD_SIZE} from '@taiga-ui/legacy/directives';\nimport {\n TUI_MONTH_FORMATTER,\n TUI_MONTH_FORMATTER_PROVIDER,\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n} from '@taiga-ui/legacy/tokens';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month#range TuiInputMonth} (from @taiga-ui/kit) instead\n */\n@Component({\n standalone: false,\n selector: 'tui-input-month-range',\n templateUrl: './input-month-range.template.html',\n styleUrl: './input-month-range.style.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputMonthRangeComponent),\n tuiAsControl(TuiInputMonthRangeComponent),\n TUI_MONTH_FORMATTER_PROVIDER,\n TuiMonthPipe,\n ],\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiInputMonthRangeComponent\n extends AbstractTuiNullableControl<TuiMonthRange>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly options = inject(TUI_INPUT_DATE_OPTIONS);\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n\n protected readonly formatter = inject(TUI_MONTH_FORMATTER);\n\n @Input()\n public min: TuiMonth = this.options.min;\n\n @Input()\n public max: TuiMonth = this.options.max;\n\n @Input()\n public disabledItemHandler: TuiBooleanHandler<TuiMonth> = TUI_FALSE_HANDLER;\n\n @Input()\n public minLength: number | null = null;\n\n @Input()\n public maxLength: number | null = null;\n\n @Input()\n public defaultActiveYear: TuiYear = TuiDay.currentLocal();\n\n public open = false;\n\n public get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield?.nativeFocusableElement ?? null;\n }\n\n public get focused(): boolean {\n return !!this.textfield?.focused;\n }\n\n public override setDisabledState(): void {\n super.setDisabledState();\n this.close();\n }\n\n public computeValue(from: string | null, to: string | null): string {\n const formattedTo = from === to && this.focused && !this.readOnly ? '' : to;\n\n return `${from} ${CHAR_EN_DASH} ${formattedTo}`;\n }\n\n public onValueChange(value: string): void {\n if (value) {\n return;\n }\n\n this.value = null;\n this.onOpenChange(true);\n }\n\n public onMonthClick(month: TuiMonth): void {\n if (!this.value?.isSingleMonth) {\n this.writeValue(new TuiMonthRange(month, month));\n\n return;\n }\n\n this.value = TuiMonthRange.sort(this.value.from, month);\n this.close();\n }\n\n protected get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n protected get computedDefaultActiveYear(): TuiYear {\n return (\n this.value?.from || tuiDateClamp(this.defaultActiveYear, this.min, this.max)\n );\n }\n\n protected get calendarIcon(): TuiInputDateOptions['icon'] {\n return this.options.icon;\n }\n\n protected onOpenChange(open: boolean): void {\n this.open = open;\n }\n\n protected onActiveZone(focused: boolean): void {\n this.updateFocused(focused);\n\n if (focused) {\n return;\n }\n\n if (this.value?.isSingleMonth) {\n this.value = new TuiMonthRange(this.value.from, this.value.from);\n }\n }\n\n private close(): void {\n this.open = false;\n }\n}\n","<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [editable]=\"false\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"calendarIcon\"\n [value]=\"\n value\n ? computeValue(value.from | tuiMapper: formatter | async, value.to | tuiMapper: formatter | async)\n : ''\n \"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n\n <ng-template #dropdown>\n <tui-calendar-month\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"max\"\n [maxLength]=\"maxLength\"\n [min]=\"min\"\n [minLength]=\"minLength\"\n [value]=\"value\"\n [year]=\"computedDefaultActiveYear\"\n (monthClick)=\"onMonthClick($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n />\n </ng-template>\n</div>\n","import {Directive, type DoCheck, inject} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {type TuiMonth, type TuiMonthRange} from '@taiga-ui/cdk/date-time';\nimport {type TuiHandler} from '@taiga-ui/cdk/types';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {TUI_MONTH_FORMATTER, tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\nimport {\n combineLatest,\n distinctUntilChanged,\n type Observable,\n Subject,\n switchMap,\n} from 'rxjs';\n\nimport {type TuiInputMonthRangeComponent} from './input-month-range.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month#range TuiInputMonth} (from @taiga-ui/kit) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-input-month-range',\n providers: [tuiAsTextfieldHost(TuiInputMonthRangeDirective)],\n})\nexport class TuiInputMonthRangeDirective\n extends AbstractTuiTextfieldHost<TuiInputMonthRangeComponent>\n implements DoCheck\n{\n private readonly value$ = new Subject<TuiMonthRange | null>();\n\n private localizedValue: [string, string] = ['', ''];\n\n protected readonly formatter: TuiHandler<TuiMonth | null, Observable<string>> =\n inject(TUI_MONTH_FORMATTER);\n\n protected readonly $ = this.value$\n .pipe(\n distinctUntilChanged(),\n switchMap((value: TuiMonthRange | null) =>\n combineLatest([\n this.formatter(value?.from || null),\n this.formatter(value?.to || null),\n ]),\n ),\n takeUntilDestroyed(),\n )\n .subscribe((localizedValue) => {\n this.localizedValue = localizedValue;\n });\n\n public override get readOnly(): boolean {\n return true;\n }\n\n public override get value(): string {\n return this.localizedValue[0]\n ? this.host.computeValue(...this.localizedValue)\n : '';\n }\n\n public ngDoCheck(): void {\n this.value$.next(this.host.value);\n }\n\n public onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiMapperPipe} from '@taiga-ui/cdk/pipes/mapper';\nimport {TuiDropdown} from '@taiga-ui/core/directives/dropdown';\nimport {TuiCalendarMonth} from '@taiga-ui/kit/components/calendar-month';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {\n TuiLegacyDropdownOpenMonitorDirective,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/legacy/directives';\n\nimport {TuiInputMonthRangeComponent} from './input-month-range.component';\nimport {TuiInputMonthRangeDirective} from './input-month-range.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month#range TuiInputMonth} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n TuiCalendarMonth,\n TuiLegacyDropdownOpenMonitorDirective,\n TuiMapperPipe,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n ...TuiDropdown,\n ],\n declarations: [TuiInputMonthRangeComponent, TuiInputMonthRangeDirective],\n exports: [\n TuiInputMonthRangeComponent,\n TuiInputMonthRangeDirective,\n TuiTextfieldComponent,\n ...TuiDropdown,\n ],\n})\nexport class TuiInputMonthRangeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i4","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA6BA;;;AAGG;AAiBG,MAAO,2BACT,SAAQ,0BAAyC,CAAA;AAjBrD,IAAA,WAAA,GAAA;;AAuBqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,sBAAsB,CAAC;AACxC,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAExC,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,mBAAmB,CAAC;AAGnD,QAAA,IAAA,CAAA,GAAG,GAAa,IAAI,CAAC,OAAO,CAAC,GAAG;AAGhC,QAAA,IAAA,CAAA,GAAG,GAAa,IAAI,CAAC,OAAO,CAAC,GAAG;QAGhC,IAAmB,CAAA,mBAAA,GAAgC,iBAAiB;QAGpE,IAAS,CAAA,SAAA,GAAkB,IAAI;QAG/B,IAAS,CAAA,SAAA,GAAkB,IAAI;AAG/B,QAAA,IAAA,CAAA,iBAAiB,GAAY,MAAM,CAAC,YAAY,EAAE;QAElD,IAAI,CAAA,IAAA,GAAG,KAAK;AA0EtB;AAxEG,IAAA,IAAW,sBAAsB,GAAA;AAC7B,QAAA,OAAO,IAAI,CAAC,SAAS,EAAE,sBAAsB,IAAI,IAAI;;AAGzD,IAAA,IAAW,OAAO,GAAA;AACd,QAAA,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO;;IAGpB,gBAAgB,GAAA;QAC5B,KAAK,CAAC,gBAAgB,EAAE;QACxB,IAAI,CAAC,KAAK,EAAE;;IAGT,YAAY,CAAC,IAAmB,EAAE,EAAiB,EAAA;QACtD,MAAM,WAAW,GAAG,IAAI,KAAK,EAAE,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,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