@taiga-ui/legacy 4.52.0-canary.e444d19 → 4.52.0-canary.eb5ffe3

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 (215) hide show
  1. package/components/dialog/dialog.component.d.ts +20 -0
  2. package/components/dialog/dialog.directive.d.ts +7 -0
  3. package/components/dialog/dialog.factory.d.ts +16 -0
  4. package/components/dialog/dialog.interfaces.d.ts +31 -0
  5. package/components/dialog/dialog.service.d.ts +7 -0
  6. package/components/dialog/dialog.tokens.d.ts +8 -0
  7. package/components/dialog/index.d.ts +6 -0
  8. package/components/index.d.ts +2 -16
  9. package/components/input/input.module.d.ts +1 -1
  10. package/components/input-date-range/input-date-range.module.d.ts +1 -1
  11. package/components/input-date-time/input-date-time.component.d.ts +4 -3
  12. package/components/input-date-time/input-date-time.module.d.ts +1 -1
  13. package/components/input-month-range/input-month-range.module.d.ts +1 -1
  14. package/components/input-range/input-range.component.d.ts +1 -1
  15. package/components/input-tag/input-tag.module.d.ts +1 -1
  16. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +1 -1
  17. package/components/multi-select/multi-select.module.d.ts +1 -1
  18. package/components/pdf-viewer/index.d.ts +4 -0
  19. package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
  20. package/components/pdf-viewer/pdf-viewer.directive.d.ts +7 -0
  21. package/components/pdf-viewer/pdf-viewer.options.d.ts +13 -0
  22. package/components/pdf-viewer/pdf-viewer.service.d.ts +13 -0
  23. package/components/select/select.module.d.ts +1 -1
  24. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
  25. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +129 -0
  26. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  27. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +5 -5
  28. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
  29. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +6 -6
  30. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
  31. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +2 -2
  32. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
  33. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +3 -3
  34. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
  35. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +7 -7
  36. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
  37. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +3 -3
  38. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
  39. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +5 -5
  40. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
  41. package/fesm2022/taiga-ui-legacy-components-input.mjs +4 -5
  42. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
  43. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +1 -1
  44. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
  45. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +9 -9
  46. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
  47. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +82 -0
  48. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
  49. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +2 -2
  50. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
  51. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-legacy-components-select.mjs +8 -9
  53. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
  55. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +2 -2
  56. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
  57. package/fesm2022/taiga-ui-legacy-components.mjs +2 -16
  58. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  59. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +1 -2
  60. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
  61. package/fesm2022/taiga-ui-legacy.mjs +0 -2
  62. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  63. package/index.d.ts +0 -2
  64. package/package.json +8 -84
  65. package/utils/icons-path-factory.d.ts +1 -1
  66. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  67. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  68. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  69. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  70. package/components/color-selector/color-selector.component.d.ts +0 -47
  71. package/components/color-selector/color-selector.module.d.ts +0 -24
  72. package/components/color-selector/color-selector.options.d.ts +0 -25
  73. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  74. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  75. package/components/color-selector/index.d.ts +0 -16
  76. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  77. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  78. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  79. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  80. package/components/color-selector/palette/palette.component.d.ts +0 -10
  81. package/components/color-selector/palette/palette.module.d.ts +0 -13
  82. package/components/color-selector/services/picker.service.d.ts +0 -15
  83. package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
  84. package/components/combo-box/combo-box.component.d.ts +0 -52
  85. package/components/combo-box/combo-box.directive.d.ts +0 -13
  86. package/components/combo-box/combo-box.module.d.ts +0 -20
  87. package/components/combo-box/index.d.ts +0 -4
  88. package/components/input-color/index.d.ts +0 -2
  89. package/components/input-color/input-color.component.d.ts +0 -30
  90. package/components/input-color/input-color.module.d.ts +0 -17
  91. package/components/input-copy/index.d.ts +0 -4
  92. package/components/input-copy/input-copy.component.d.ts +0 -33
  93. package/components/input-copy/input-copy.directive.d.ts +0 -11
  94. package/components/input-copy/input-copy.module.d.ts +0 -18
  95. package/components/input-copy/input-copy.options.d.ts +0 -26
  96. package/components/input-date/index.d.ts +0 -3
  97. package/components/input-date/input-date.component.d.ts +0 -62
  98. package/components/input-date/input-date.directive.d.ts +0 -19
  99. package/components/input-date/input-date.module.d.ts +0 -24
  100. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  101. package/components/input-date-multi/index.d.ts +0 -2
  102. package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
  103. package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
  104. package/components/input-month/index.d.ts +0 -3
  105. package/components/input-month/input-month.component.d.ts +0 -44
  106. package/components/input-month/input-month.directive.d.ts +0 -19
  107. package/components/input-month/input-month.module.d.ts +0 -19
  108. package/components/input-password/index.d.ts +0 -4
  109. package/components/input-password/input-password.component.d.ts +0 -33
  110. package/components/input-password/input-password.directive.d.ts +0 -15
  111. package/components/input-password/input-password.module.d.ts +0 -19
  112. package/components/input-password/input-password.options.d.ts +0 -25
  113. package/components/input-phone/index.d.ts +0 -4
  114. package/components/input-phone/input-phone.component.d.ts +0 -49
  115. package/components/input-phone/input-phone.directive.d.ts +0 -13
  116. package/components/input-phone/input-phone.module.d.ts +0 -12
  117. package/components/input-phone/input-phone.options.d.ts +0 -13
  118. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  119. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  120. package/components/input-phone/utils/index.d.ts +0 -2
  121. package/components/input-phone-international/index.d.ts +0 -3
  122. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  123. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  124. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  125. package/components/input-time/index.d.ts +0 -4
  126. package/components/input-time/input-time.component.d.ts +0 -62
  127. package/components/input-time/input-time.directive.d.ts +0 -17
  128. package/components/input-time/input-time.module.d.ts +0 -23
  129. package/components/input-time/input-time.options.d.ts +0 -42
  130. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  131. package/components/input-year/index.d.ts +0 -3
  132. package/components/input-year/input-year.component.d.ts +0 -36
  133. package/components/input-year/input-year.directive.d.ts +0 -14
  134. package/components/input-year/input-year.module.d.ts +0 -18
  135. package/components/island/index.d.ts +0 -1
  136. package/components/island/island.directive.d.ts +0 -20
  137. package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
  138. package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
  139. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -11
  140. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
  141. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
  142. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
  143. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
  144. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
  145. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
  146. package/components/sheet/index.d.ts +0 -14
  147. package/components/sheet/sheet-options.d.ts +0 -27
  148. package/components/sheet/sheet-tokens.d.ts +0 -18
  149. package/components/sheet/sheet.d.ts +0 -21
  150. package/components/sheet/sheet.directive.d.ts +0 -17
  151. package/components/sheet/sheet.module.d.ts +0 -24
  152. package/components/sheet/sheet.service.d.ts +0 -17
  153. package/components/svg/content-processor.d.ts +0 -19
  154. package/components/svg/deprecated-icons.d.ts +0 -5
  155. package/components/svg/index.d.ts +0 -5
  156. package/components/svg/svg-options.d.ts +0 -50
  157. package/components/svg/svg.component.d.ts +0 -50
  158. package/components/svg/svg.service.d.ts +0 -21
  159. package/components/table-bar/index.d.ts +0 -4
  160. package/components/table-bar/table-bar.component.d.ts +0 -17
  161. package/components/table-bar/table-bar.directive.d.ts +0 -11
  162. package/components/table-bar/table-bar.options.d.ts +0 -31
  163. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  164. package/components/table-bar/table-bars.service.d.ts +0 -11
  165. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
  166. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  167. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -300
  168. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  169. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  170. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  171. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
  172. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
  173. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
  174. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
  175. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  176. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  177. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
  178. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
  179. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  180. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  181. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  182. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  183. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
  184. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  185. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -430
  186. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  187. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  188. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  189. package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
  190. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
  191. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -577
  192. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
  193. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
  194. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  195. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -147
  196. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
  197. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
  198. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  199. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  200. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  201. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  202. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  203. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  204. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  205. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  206. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  207. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  208. package/pipes/format-phone/index.d.ts +0 -1
  209. package/pipes/index.d.ts +0 -3
  210. package/pipes/iso-to-country-code/index.d.ts +0 -1
  211. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  212. package/pipes/to-country-code/index.d.ts +0 -1
  213. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  214. package/services/index.d.ts +0 -1
  215. package/services/static-request.service.d.ts +0 -11
@@ -1,272 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Input, ViewChild, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
- import { maskitoDateOptionsGenerator } from '@maskito/kit';
5
- import { tuiAsControl } from '@taiga-ui/cdk/classes';
6
- import { TUI_FALSE_HANDLER } from '@taiga-ui/cdk/constants';
7
- import { TuiMonth, TuiDay, tuiDateClamp } from '@taiga-ui/cdk/date-time';
8
- import { tuiWatch } from '@taiga-ui/cdk/observables';
9
- import { TUI_IS_MOBILE } from '@taiga-ui/cdk/tokens';
10
- import { changeDateSeparator, tuiIsString } from '@taiga-ui/cdk/utils/miscellaneous';
11
- import { TUI_DEFAULT_DATE_FORMAT, TUI_DATE_FORMAT } from '@taiga-ui/core/tokens';
12
- import { TUI_MOBILE_CALENDAR, TUI_INPUT_DATE_OPTIONS, TUI_DATE_TEXTS, TUI_DATE_VALUE_TRANSFORMER, TUI_DONE_WORD, tuiDateStreamWithTransformer, TUI_MOBILE_CALENDAR_PROVIDER } from '@taiga-ui/kit/tokens';
13
- import { tuiToggleDay } from '@taiga-ui/kit/utils';
14
- import { AbstractTuiMultipleControl, TuiStringifiableItem, tuiAsControl as tuiAsControl$1 } from '@taiga-ui/legacy/classes';
15
- import * as i5 from '@taiga-ui/legacy/components/input-tag';
16
- import { TuiInputTagComponent, TuiInputTagModule } from '@taiga-ui/legacy/components/input-tag';
17
- import { TuiPrimitiveTextfieldComponent, TuiPrimitiveTextfieldModule } from '@taiga-ui/legacy/components/primitive-textfield';
18
- import * as i8 from '@taiga-ui/legacy/directives';
19
- import { TUI_TEXTFIELD_SIZE, TuiTextfieldControllerModule, TuiLegacyDropdownOpenMonitorDirective } from '@taiga-ui/legacy/directives';
20
- import { tuiAsFocusableItemAccessor } from '@taiga-ui/legacy/tokens';
21
- import { map } from 'rxjs';
22
- import * as i1 from '@maskito/angular';
23
- import { MaskitoDirective } from '@maskito/angular';
24
- import * as i2 from '@taiga-ui/polymorpheus';
25
- import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
26
- import * as i3 from '@taiga-ui/core/components/calendar';
27
- import { TuiCalendar } from '@taiga-ui/core/components/calendar';
28
- import * as i4 from '@taiga-ui/core/components/link';
29
- import { TuiLink } from '@taiga-ui/core/components/link';
30
- import * as i1$1 from '@taiga-ui/core/directives/dropdown';
31
- import { TuiDropdown } from '@taiga-ui/core/directives/dropdown';
32
- import * as i7 from '@angular/forms';
33
- import { FormsModule } from '@angular/forms';
34
- import * as i9 from '@taiga-ui/core/components/icon';
35
- import { TuiIcon } from '@taiga-ui/core/components/icon';
36
- import * as i10 from '@taiga-ui/core/directives/appearance';
37
- import { TuiAppearance } from '@taiga-ui/core/directives/appearance';
38
- import * as i11 from '@angular/common';
39
- import { CommonModule } from '@angular/common';
40
- import * as i12 from '@taiga-ui/cdk/pipes/mapper';
41
- import { TuiMapperPipe } from '@taiga-ui/cdk/pipes/mapper';
42
-
43
- class TuiInputDateMultiComponent extends AbstractTuiMultipleControl {
44
- constructor() {
45
- super(...arguments);
46
- this.month = null;
47
- this.mobileCalendar = inject(TUI_MOBILE_CALENDAR, { optional: true });
48
- this.options = inject(TUI_INPUT_DATE_OPTIONS);
49
- this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
50
- this.dateTexts$ = inject(TUI_DATE_TEXTS);
51
- this.valueTransformer = inject(TUI_DATE_VALUE_TRANSFORMER, { optional: true });
52
- this.open = false;
53
- this.dateFormat = TUI_DEFAULT_DATE_FORMAT;
54
- this.isMobile = inject(TUI_IS_MOBILE);
55
- this.doneWord$ = inject(TUI_DONE_WORD);
56
- this.filler$ = this.dateTexts$.pipe(map((dateTexts) => changeDateSeparator(dateTexts[this.dateFormat.mode], this.dateFormat.separator)));
57
- this.dateFormat$ = inject(TUI_DATE_FORMAT)
58
- .pipe(tuiWatch(this.cdr), takeUntilDestroyed())
59
- .subscribe((format) => {
60
- this.dateFormat = format;
61
- });
62
- this.min = this.options.min;
63
- this.max = this.options.max;
64
- this.disabledItemHandler = TUI_FALSE_HANDLER;
65
- this.markerHandler = null;
66
- this.defaultActiveYearMonth = TuiMonth.currentLocal();
67
- this.inputHidden = false;
68
- this.editable = true;
69
- this.search = '';
70
- this.placeholder = '';
71
- this.rows = 1;
72
- this.maskitoOptions = maskitoDateOptionsGenerator({
73
- mode: 'dd/mm/yyyy',
74
- separator: '.',
75
- min: this.min?.toLocalNativeDate(),
76
- max: this.max?.toLocalNativeDate(),
77
- });
78
- this.tagValidator = (tag) => {
79
- const { year, month, day } = tuiIsString(tag)
80
- ? TuiDay.parseRawDateString(tag)
81
- : tag;
82
- const date = new TuiDay(year, month, day);
83
- return ((TuiDay.isValidDay(year, month, day) &&
84
- this.min?.daySameOrBefore(date) &&
85
- this.max?.daySameOrAfter(date)) ??
86
- false);
87
- };
88
- this.disabledItemHandlerWrapper = (handler) => (stringifiable) => tuiIsString(stringifiable) || handler(stringifiable.item);
89
- this.valueMapper = (value) => value.map((item) => new TuiStringifiableItem(item, (item) => String(item)));
90
- }
91
- get nativeFocusableElement() {
92
- return this.textfield?.nativeFocusableElement || null;
93
- }
94
- get focused() {
95
- return !!this.textfield?.focused;
96
- }
97
- setDisabledState() {
98
- super.setDisabledState();
99
- this.open = false;
100
- }
101
- get size() {
102
- return this.textfieldSize.size;
103
- }
104
- get nativeDropdownMode() {
105
- return this.isMobile && !this.editable;
106
- }
107
- get computedMin() {
108
- return this.min ?? this.options.min;
109
- }
110
- get computedMax() {
111
- return this.max ?? this.options.max;
112
- }
113
- get computedMobile() {
114
- return this.isMobile && !!this.mobileCalendar;
115
- }
116
- get calendarIcon() {
117
- return this.options.icon;
118
- }
119
- get computedActiveYearMonth() {
120
- return (this.month ||
121
- this.value[this.value.length - 1] ||
122
- tuiDateClamp(this.defaultActiveYearMonth, this.computedMin, this.computedMax));
123
- }
124
- onClick() {
125
- if (!this.isMobile && this.interactive) {
126
- this.open = !this.open;
127
- }
128
- }
129
- onIconClick() {
130
- if (this.isMobile && this.interactive) {
131
- this.open = true;
132
- }
133
- }
134
- onEnter(search) {
135
- if (!this.tagValidator(search)) {
136
- return;
137
- }
138
- this.value = tuiToggleDay(this.value, TuiDay.normalizeParse(search));
139
- if (this.inputTag) {
140
- this.inputTag.search = '';
141
- }
142
- this.done();
143
- }
144
- onValueChange(value) {
145
- this.control?.updateValueAndValidity({ emitEvent: false });
146
- if (!value.length && !this.mobileCalendar) {
147
- this.onOpenChange(true);
148
- }
149
- this.value = value.map(({ item }) => item);
150
- }
151
- onDayClick(value) {
152
- this.value = tuiToggleDay(this.value, value);
153
- }
154
- done() {
155
- this.open = false;
156
- }
157
- onMonthChange(month) {
158
- this.month = month;
159
- }
160
- onOpenChange(open) {
161
- this.open = open;
162
- }
163
- onFocused(focused) {
164
- this.updateFocused(focused);
165
- }
166
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateMultiComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
167
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputDateMultiComponent, isStandalone: false, selector: "tui-input-date[multiple]", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", markerHandler: "markerHandler", defaultActiveYearMonth: "defaultActiveYearMonth", inputHidden: "inputHidden", editable: "editable", search: "search", placeholder: "placeholder", rows: "rows", tagValidator: "tagValidator" }, host: { listeners: { "click": "onClick()" }, properties: { "class._editable": "editable", "attr.data-size": "size" } }, providers: [
168
- tuiAsFocusableItemAccessor(TuiInputDateMultiComponent),
169
- tuiAsControl(TuiInputDateMultiComponent),
170
- tuiAsControl$1(TuiInputDateMultiComponent),
171
- tuiDateStreamWithTransformer(TUI_DATE_VALUE_TRANSFORMER),
172
- TUI_MOBILE_CALENDAR_PROVIDER,
173
- ], viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }, { propertyName: "inputTag", first: true, predicate: TuiInputTagComponent, 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 (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-input-tag\n #inputTag\n class=\"t-input\"\n [disabled]=\"disabled\"\n [disabledItemHandler]=\"disabledItemHandler | tuiMapper: disabledItemHandlerWrapper\"\n [editable]=\"editable\"\n [inputHidden]=\"inputHidden\"\n [maskito]=\"maskitoOptions\"\n [nativeId]=\"nativeId\"\n [ngModel]=\"value | tuiMapper: valueMapper\"\n [ngModelOptions]=\"{standalone: true}\"\n [placeholder]=\"placeholder\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoInvalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [removable]=\"!nativeDropdownMode\"\n [rows]=\"rows\"\n [tagValidator]=\"tagValidator | tuiMapper: disabledItemHandlerWrapper\"\n [tuiTextfieldFiller]=\"(filler$ | async) || ''\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n (keydown.enter)=\"onEnter(inputTag.search || '')\"\n (ngModelChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-input-tag>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n (click)=\"onIconClick()\"\n />\n </ng-template>\n\n <ng-template #dropdown>\n <tui-calendar\n [disabledItemHandler]=\"disabledItemHandler\"\n [markerHandler]=\"markerHandler\"\n [max]=\"computedMax\"\n [min]=\"computedMin\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"value\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n (mousedown.zoneless.prevent)=\"(0)\"\n />\n <div\n class=\"t-button\"\n (mousedown.zoneless.prevent)=\"(0)\"\n >\n <button\n tuiLink\n type=\"button\"\n (click)=\"done()\"\n >\n {{ doneWord$ | async }}\n </button>\n </div>\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}.t-icon{pointer-events:auto}.t-icon_small:before{font-size:1rem}.t-button{display:flex;block-size:2.75rem;justify-content:center;box-shadow:inset 0 1px var(--tui-border-normal)}.t-button button{flex:1;text-align:center}.t-native-input{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0;pointer-events:auto;font-size:2rem}\n"], dependencies: [{ kind: "directive", type: i1.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { kind: "directive", type: i2.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: i3.TuiCalendar, selector: "tui-calendar", inputs: ["month", "disabledItemHandler", "min", "max", "minViewedMonth", "maxViewedMonth", "hoveredItem", "showAdjacent", "markerHandler", "value", "initialView"], outputs: ["dayClick", "monthChange", "hoveredItemChange"] }, { kind: "directive", type: i4.TuiLink, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo"] }, { kind: "component", type: i5.TuiInputTagComponent, selector: "tui-input-tag", inputs: ["separator", "search", "editable", "tagValidator", "rows", "inputHidden", "uniqueTags", "autoColor", "maxLength", "placeholder", "removable", "disabledItemHandler", "pseudoFocused", "pseudoOpen"], outputs: ["searchChange"] }, { 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: "directive", type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i8.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i8.TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: ["tuiTextfieldFiller"] }, { kind: "directive", type: i8.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }, { kind: "component", type: i9.TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: i10.TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "pipe", type: i11.AsyncPipe, name: "async" }, { kind: "pipe", type: i12.TuiMapperPipe, name: "tuiMapper" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
174
- }
175
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateMultiComponent, decorators: [{
176
- type: Component,
177
- args: [{ standalone: false, selector: 'tui-input-date[multiple]', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
178
- tuiAsFocusableItemAccessor(TuiInputDateMultiComponent),
179
- tuiAsControl(TuiInputDateMultiComponent),
180
- tuiAsControl$1(TuiInputDateMultiComponent),
181
- tuiDateStreamWithTransformer(TUI_DATE_VALUE_TRANSFORMER),
182
- TUI_MOBILE_CALENDAR_PROVIDER,
183
- ], host: {
184
- '[class._editable]': 'editable',
185
- '[attr.data-size]': 'size',
186
- '(click)': 'onClick()',
187
- }, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-input-tag\n #inputTag\n class=\"t-input\"\n [disabled]=\"disabled\"\n [disabledItemHandler]=\"disabledItemHandler | tuiMapper: disabledItemHandlerWrapper\"\n [editable]=\"editable\"\n [inputHidden]=\"inputHidden\"\n [maskito]=\"maskitoOptions\"\n [nativeId]=\"nativeId\"\n [ngModel]=\"value | tuiMapper: valueMapper\"\n [ngModelOptions]=\"{standalone: true}\"\n [placeholder]=\"placeholder\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoInvalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [removable]=\"!nativeDropdownMode\"\n [rows]=\"rows\"\n [tagValidator]=\"tagValidator | tuiMapper: disabledItemHandlerWrapper\"\n [tuiTextfieldFiller]=\"(filler$ | async) || ''\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n (keydown.enter)=\"onEnter(inputTag.search || '')\"\n (ngModelChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-input-tag>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n (click)=\"onIconClick()\"\n />\n </ng-template>\n\n <ng-template #dropdown>\n <tui-calendar\n [disabledItemHandler]=\"disabledItemHandler\"\n [markerHandler]=\"markerHandler\"\n [max]=\"computedMax\"\n [min]=\"computedMin\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"value\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n (mousedown.zoneless.prevent)=\"(0)\"\n />\n <div\n class=\"t-button\"\n (mousedown.zoneless.prevent)=\"(0)\"\n >\n <button\n tuiLink\n type=\"button\"\n (click)=\"done()\"\n >\n {{ doneWord$ | async }}\n </button>\n </div>\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}.t-icon{pointer-events:auto}.t-icon_small:before{font-size:1rem}.t-button{display:flex;block-size:2.75rem;justify-content:center;box-shadow:inset 0 1px var(--tui-border-normal)}.t-button button{flex:1;text-align:center}.t-native-input{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0;pointer-events:auto;font-size:2rem}\n"] }]
188
- }], propDecorators: { textfield: [{
189
- type: ViewChild,
190
- args: [TuiPrimitiveTextfieldComponent]
191
- }], inputTag: [{
192
- type: ViewChild,
193
- args: [TuiInputTagComponent]
194
- }], min: [{
195
- type: Input
196
- }], max: [{
197
- type: Input
198
- }], disabledItemHandler: [{
199
- type: Input
200
- }], markerHandler: [{
201
- type: Input
202
- }], defaultActiveYearMonth: [{
203
- type: Input
204
- }], inputHidden: [{
205
- type: Input
206
- }], editable: [{
207
- type: Input
208
- }], search: [{
209
- type: Input
210
- }], placeholder: [{
211
- type: Input
212
- }], rows: [{
213
- type: Input
214
- }], tagValidator: [{
215
- type: Input
216
- }] } });
217
-
218
- class TuiInputDateMultiModule {
219
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateMultiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
220
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateMultiModule, declarations: [TuiInputDateMultiComponent], imports: [CommonModule,
221
- MaskitoDirective,
222
- PolymorpheusOutlet,
223
- PolymorpheusTemplate,
224
- TuiCalendar,
225
- TuiLink,
226
- TuiInputTagModule,
227
- FormsModule,
228
- TuiMapperPipe,
229
- TuiTextfieldControllerModule,
230
- TuiPrimitiveTextfieldModule,
231
- TuiLegacyDropdownOpenMonitorDirective,
232
- TuiIcon,
233
- TuiAppearance, i1$1.TuiDropdownOptionsDirective, i1$1.TuiDropdownDriverDirective, i1$1.TuiDropdownDirective, i1$1.TuiDropdownComponent, i1$1.TuiDropdownOpen, i1$1.TuiDropdownOpenLegacy, i1$1.TuiDropdownPortal, i1$1.TuiDropdownManual, i1$1.TuiDropdownHover, i1$1.TuiDropdownContext, i1$1.TuiDropdownPosition, i1$1.TuiDropdownPositionSided, i1$1.TuiDropdownSelection], exports: [TuiInputDateMultiComponent, i1$1.TuiDropdownOptionsDirective, i1$1.TuiDropdownDriverDirective, i1$1.TuiDropdownDirective, i1$1.TuiDropdownComponent, i1$1.TuiDropdownOpen, i1$1.TuiDropdownOpenLegacy, i1$1.TuiDropdownPortal, i1$1.TuiDropdownManual, i1$1.TuiDropdownHover, i1$1.TuiDropdownContext, i1$1.TuiDropdownPosition, i1$1.TuiDropdownPositionSided, i1$1.TuiDropdownSelection] }); }
234
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateMultiModule, imports: [CommonModule,
235
- TuiCalendar,
236
- TuiInputTagModule,
237
- FormsModule,
238
- TuiTextfieldControllerModule,
239
- TuiPrimitiveTextfieldModule,
240
- TuiIcon, i1$1.TuiDropdownComponent] }); }
241
- }
242
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateMultiModule, decorators: [{
243
- type: NgModule,
244
- args: [{
245
- imports: [
246
- CommonModule,
247
- MaskitoDirective,
248
- PolymorpheusOutlet,
249
- PolymorpheusTemplate,
250
- TuiCalendar,
251
- TuiLink,
252
- TuiInputTagModule,
253
- FormsModule,
254
- TuiMapperPipe,
255
- TuiTextfieldControllerModule,
256
- TuiPrimitiveTextfieldModule,
257
- TuiLegacyDropdownOpenMonitorDirective,
258
- TuiIcon,
259
- TuiAppearance,
260
- ...TuiDropdown,
261
- ],
262
- declarations: [TuiInputDateMultiComponent],
263
- exports: [TuiInputDateMultiComponent, ...TuiDropdown],
264
- }]
265
- }] });
266
-
267
- /**
268
- * Generated bundle index. Do not edit.
269
- */
270
-
271
- export { TuiInputDateMultiComponent, TuiInputDateMultiModule };
272
- //# sourceMappingURL=taiga-ui-legacy-components-input-date-multi.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-input-date-multi.mjs","sources":["../../../projects/legacy/components/input-date-multi/input-date-multi.component.ts","../../../projects/legacy/components/input-date-multi/input-date-multi.template.html","../../../projects/legacy/components/input-date-multi/input-date-multi.module.ts","../../../projects/legacy/components/input-date-multi/taiga-ui-legacy-components-input-date-multi.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n ViewChild,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {type MaskitoOptions} from '@maskito/core';\nimport {maskitoDateOptionsGenerator} from '@maskito/kit';\nimport {tuiAsControl, type TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {tuiDateClamp, TuiDay, TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {type TuiBooleanHandler, type TuiMapper} from '@taiga-ui/cdk/types';\nimport {changeDateSeparator, tuiIsString} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiMarkerHandler} from '@taiga-ui/core/components/calendar';\nimport {TUI_DATE_FORMAT, TUI_DEFAULT_DATE_FORMAT} from '@taiga-ui/core/tokens';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {\n TUI_DATE_TEXTS,\n TUI_DATE_VALUE_TRANSFORMER,\n TUI_DONE_WORD,\n TUI_INPUT_DATE_OPTIONS,\n TUI_MOBILE_CALENDAR,\n TUI_MOBILE_CALENDAR_PROVIDER,\n tuiDateStreamWithTransformer,\n type TuiInputDateOptions,\n} from '@taiga-ui/kit/tokens';\nimport {tuiToggleDay} from '@taiga-ui/kit/utils';\nimport {\n AbstractTuiMultipleControl,\n tuiAsControl as tuiAsLegacyControl,\n TuiStringifiableItem,\n} from '@taiga-ui/legacy/classes';\nimport {TuiInputTagComponent} from '@taiga-ui/legacy/components/input-tag';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TUI_TEXTFIELD_SIZE} from '@taiga-ui/legacy/directives';\nimport {\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n} from '@taiga-ui/legacy/tokens';\nimport {map, type Observable} from 'rxjs';\n\n@Component({\n standalone: false,\n selector: 'tui-input-date[multiple]',\n templateUrl: './input-date-multi.template.html',\n styleUrls: ['../input-date/input-date.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputDateMultiComponent),\n tuiAsControl(TuiInputDateMultiComponent as any),\n tuiAsLegacyControl(TuiInputDateMultiComponent),\n tuiDateStreamWithTransformer(TUI_DATE_VALUE_TRANSFORMER),\n TUI_MOBILE_CALENDAR_PROVIDER,\n ],\n host: {\n '[class._editable]': 'editable',\n '[attr.data-size]': 'size',\n '(click)': 'onClick()',\n },\n})\nexport class TuiInputDateMultiComponent\n extends AbstractTuiMultipleControl<TuiDay>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n @ViewChild(TuiInputTagComponent)\n private readonly inputTag?: TuiInputTagComponent;\n\n private month: TuiMonth | null = null;\n private readonly mobileCalendar = inject(TUI_MOBILE_CALENDAR, {optional: true});\n private readonly options = inject(TUI_INPUT_DATE_OPTIONS);\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n\n protected readonly dateTexts$ = inject(TUI_DATE_TEXTS);\n protected override readonly valueTransformer = inject<\n TuiValueTransformer<readonly TuiDay[]>\n >(TUI_DATE_VALUE_TRANSFORMER, {optional: true});\n\n protected open = false;\n\n protected dateFormat = TUI_DEFAULT_DATE_FORMAT;\n protected readonly isMobile = inject(TUI_IS_MOBILE);\n protected readonly doneWord$ = inject(TUI_DONE_WORD);\n protected readonly filler$: Observable<string> = this.dateTexts$.pipe(\n map((dateTexts) =>\n changeDateSeparator(\n dateTexts[this.dateFormat.mode],\n this.dateFormat.separator,\n ),\n ),\n );\n\n protected readonly dateFormat$ = inject(TUI_DATE_FORMAT)\n .pipe(tuiWatch(this.cdr), takeUntilDestroyed())\n .subscribe((format) => {\n this.dateFormat = format;\n });\n\n @Input()\n public min: TuiDay | null = this.options.min;\n\n @Input()\n public max: TuiDay | null = this.options.max;\n\n @Input()\n public disabledItemHandler: TuiBooleanHandler<TuiDay> = TUI_FALSE_HANDLER;\n\n @Input()\n public markerHandler: TuiMarkerHandler | null = null;\n\n @Input()\n public defaultActiveYearMonth = TuiMonth.currentLocal();\n\n @Input()\n public inputHidden = false;\n\n @Input()\n public editable = true;\n\n @Input()\n public search: string | null = '';\n\n @Input()\n public placeholder = '';\n\n @Input()\n public rows = 1;\n\n public readonly maskitoOptions: MaskitoOptions = maskitoDateOptionsGenerator({\n mode: 'dd/mm/yyyy',\n separator: '.',\n min: this.min?.toLocalNativeDate(),\n max: this.max?.toLocalNativeDate(),\n });\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 @Input()\n public tagValidator: TuiBooleanHandler<string> = (tag: TuiDay | string) => {\n const {year, month, day} = tuiIsString(tag)\n ? TuiDay.parseRawDateString(tag)\n : tag;\n const date = new TuiDay(year, month, day);\n\n return (\n (TuiDay.isValidDay(year, month, day) &&\n this.min?.daySameOrBefore(date) &&\n this.max?.daySameOrAfter(date)) ??\n false\n );\n };\n\n public override setDisabledState(): void {\n super.setDisabledState();\n this.open = false;\n }\n\n protected get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n protected get nativeDropdownMode(): boolean {\n return this.isMobile && !this.editable;\n }\n\n protected get computedMin(): TuiDay {\n return this.min ?? this.options.min;\n }\n\n protected get computedMax(): TuiDay {\n return this.max ?? this.options.max;\n }\n\n protected get computedMobile(): boolean {\n return this.isMobile && !!this.mobileCalendar;\n }\n\n protected get calendarIcon(): TuiInputDateOptions['icon'] {\n return this.options.icon;\n }\n\n protected get computedActiveYearMonth(): TuiMonth {\n return (\n this.month ||\n this.value[this.value.length - 1] ||\n tuiDateClamp(this.defaultActiveYearMonth, this.computedMin, this.computedMax)\n );\n }\n\n protected onClick(): void {\n if (!this.isMobile && this.interactive) {\n this.open = !this.open;\n }\n }\n\n protected onIconClick(): void {\n if (this.isMobile && this.interactive) {\n this.open = true;\n }\n }\n\n protected readonly disabledItemHandlerWrapper: TuiMapper<\n [TuiBooleanHandler<string> | TuiBooleanHandler<TuiDay>],\n TuiBooleanHandler<TuiStringifiableItem<any> | string>\n > = (handler) => (stringifiable) =>\n tuiIsString(stringifiable) || handler(stringifiable.item);\n\n protected readonly valueMapper: TuiMapper<\n [readonly TuiDay[]],\n ReadonlyArray<TuiStringifiableItem<TuiDay>>\n > = (value) =>\n value.map((item) => new TuiStringifiableItem(item, (item) => String(item)));\n\n protected onEnter(search: string): void {\n if (!this.tagValidator(search)) {\n return;\n }\n\n this.value = tuiToggleDay(this.value, TuiDay.normalizeParse(search));\n\n if (this.inputTag) {\n this.inputTag.search = '';\n }\n\n this.done();\n }\n\n protected onValueChange(value: ReadonlyArray<TuiStringifiableItem<TuiDay>>): void {\n this.control?.updateValueAndValidity({emitEvent: false});\n\n if (!value.length && !this.mobileCalendar) {\n this.onOpenChange(true);\n }\n\n this.value = value.map(({item}) => item);\n }\n\n protected onDayClick(value: TuiDay): void {\n this.value = tuiToggleDay(this.value, value);\n }\n\n protected done(): void {\n this.open = false;\n }\n\n protected onMonthChange(month: TuiMonth): void {\n this.month = month;\n }\n\n protected onOpenChange(open: boolean): void {\n this.open = open;\n }\n\n protected onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n}\n","<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-input-tag\n #inputTag\n class=\"t-input\"\n [disabled]=\"disabled\"\n [disabledItemHandler]=\"disabledItemHandler | tuiMapper: disabledItemHandlerWrapper\"\n [editable]=\"editable\"\n [inputHidden]=\"inputHidden\"\n [maskito]=\"maskitoOptions\"\n [nativeId]=\"nativeId\"\n [ngModel]=\"value | tuiMapper: valueMapper\"\n [ngModelOptions]=\"{standalone: true}\"\n [placeholder]=\"placeholder\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoInvalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [removable]=\"!nativeDropdownMode\"\n [rows]=\"rows\"\n [tagValidator]=\"tagValidator | tuiMapper: disabledItemHandlerWrapper\"\n [tuiTextfieldFiller]=\"(filler$ | async) || ''\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n (keydown.enter)=\"onEnter(inputTag.search || '')\"\n (ngModelChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-input-tag>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n (click)=\"onIconClick()\"\n />\n </ng-template>\n\n <ng-template #dropdown>\n <tui-calendar\n [disabledItemHandler]=\"disabledItemHandler\"\n [markerHandler]=\"markerHandler\"\n [max]=\"computedMax\"\n [min]=\"computedMin\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"value\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n (mousedown.zoneless.prevent)=\"(0)\"\n />\n <div\n class=\"t-button\"\n (mousedown.zoneless.prevent)=\"(0)\"\n >\n <button\n tuiLink\n type=\"button\"\n (click)=\"done()\"\n >\n {{ doneWord$ | async }}\n </button>\n </div>\n </ng-template>\n</div>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {TuiMapperPipe} from '@taiga-ui/cdk/pipes/mapper';\nimport {TuiCalendar} from '@taiga-ui/core/components/calendar';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiLink} from '@taiga-ui/core/components/link';\nimport {TuiAppearance} from '@taiga-ui/core/directives/appearance';\nimport {TuiDropdown} from '@taiga-ui/core/directives/dropdown';\nimport {TuiInputTagModule} from '@taiga-ui/legacy/components/input-tag';\nimport {TuiPrimitiveTextfieldModule} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {\n TuiLegacyDropdownOpenMonitorDirective,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/legacy/directives';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiInputDateMultiComponent} from './input-date-multi.component';\n\n@NgModule({\n imports: [\n CommonModule,\n MaskitoDirective,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n TuiCalendar,\n TuiLink,\n TuiInputTagModule,\n FormsModule,\n TuiMapperPipe,\n TuiTextfieldControllerModule,\n TuiPrimitiveTextfieldModule,\n TuiLegacyDropdownOpenMonitorDirective,\n TuiIcon,\n TuiAppearance,\n ...TuiDropdown,\n ],\n declarations: [TuiInputDateMultiComponent],\n exports: [TuiInputDateMultiComponent, ...TuiDropdown],\n})\nexport class TuiInputDateMultiModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["tuiAsLegacyControl","i6","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgEM,MAAO,0BACT,SAAQ,0BAAkC,CAAA;AApB9C,IAAA,WAAA,GAAA;;QA6BY,IAAK,CAAA,KAAA,GAAoB,IAAI;QACpB,IAAc,CAAA,cAAA,GAAG,MAAM,CAAC,mBAAmB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;AAC9D,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,sBAAsB,CAAC;AACxC,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAExC,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,cAAc,CAAC;QAC1B,IAAgB,CAAA,gBAAA,GAAG,MAAM,CAEnD,0BAA0B,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;QAErC,IAAI,CAAA,IAAA,GAAG,KAAK;QAEZ,IAAU,CAAA,UAAA,GAAG,uBAAuB;AAC3B,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,aAAa,CAAC;AAChC,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,aAAa,CAAC;AACjC,QAAA,IAAA,CAAA,OAAO,GAAuB,IAAI,CAAC,UAAU,CAAC,IAAI,CACjE,GAAG,CAAC,CAAC,SAAS,KACV,mBAAmB,CACf,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAC/B,IAAI,CAAC,UAAU,CAAC,SAAS,CAC5B,CACJ,CACJ;AA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