@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,430 +0,0 @@
1
- import { __decorate } from 'tslib';
2
- import * as i0 from '@angular/core';
3
- import { InjectionToken, Directive, inject, ChangeDetectionStrategy, Component, Input, ViewChild, NgModule } from '@angular/core';
4
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
5
- import { maskitoTimeOptionsGenerator, maskitoSelectionChangeHandler } from '@maskito/kit';
6
- import { TUI_FALSE_HANDLER } from '@taiga-ui/cdk/constants';
7
- import { TuiTime } from '@taiga-ui/cdk/date-time';
8
- import { TUI_IS_MOBILE, TUI_IS_IOS } from '@taiga-ui/cdk/tokens';
9
- import { tuiIsNativeFocused } from '@taiga-ui/cdk/utils/focus';
10
- import { tuiProvideOptions, tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
11
- import * as i2$1 from '@taiga-ui/core/components/data-list';
12
- import { tuiAsDataListHost, tuiAsOptionContent, TuiDataList } from '@taiga-ui/core/components/data-list';
13
- import * as i1 from '@taiga-ui/core/directives/dropdown';
14
- import { TuiDropdownFixed, TuiDropdown } from '@taiga-ui/core/directives/dropdown';
15
- import { TUI_TIME_TEXTS, TUI_TIME_VALUE_TRANSFORMER } from '@taiga-ui/kit/tokens';
16
- import { AbstractTuiTextfieldHost, AbstractTuiNullableControl, tuiAsControl } from '@taiga-ui/legacy/classes';
17
- import * as i3 from '@taiga-ui/legacy/components/primitive-textfield';
18
- import { TuiPrimitiveTextfieldComponent, TuiPrimitiveTextfieldModule } from '@taiga-ui/legacy/components/primitive-textfield';
19
- import { TUI_SELECT_OPTION, TuiSelectOptionModule } from '@taiga-ui/legacy/components/select-option';
20
- import * as i4 from '@taiga-ui/legacy/directives';
21
- import { TUI_TEXTFIELD_SIZE, TuiValueAccessorModule, TuiTextfieldControllerModule, TuiLegacyDropdownOpenMonitorDirective } from '@taiga-ui/legacy/directives';
22
- import { tuiAsTextfieldHost, tuiAsFocusableItemAccessor } from '@taiga-ui/legacy/tokens';
23
- import { map, timer } from 'rxjs';
24
- import * as i2 from '@maskito/angular';
25
- import { MaskitoDirective } from '@maskito/angular';
26
- import * as i5 from '@taiga-ui/polymorpheus';
27
- import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
28
- import * as i6 from '@taiga-ui/core/components/icon';
29
- import { TuiIcon } from '@taiga-ui/core/components/icon';
30
- import * as i7 from '@taiga-ui/core/directives/appearance';
31
- import { TuiAppearance } from '@taiga-ui/core/directives/appearance';
32
- import { tuiInjectId } from '@taiga-ui/cdk/services';
33
- import * as i10 from '@angular/common';
34
- import { CommonModule } from '@angular/common';
35
-
36
- /**
37
- * TODO(v5): delete it
38
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
39
- */
40
- const MAX_TIME_VALUES = {
41
- HH: 23,
42
- MM: 59,
43
- SS: 59,
44
- MS: 999,
45
- };
46
- /**
47
- * TODO(v5): delete it
48
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
49
- */
50
- const TUI_INPUT_TIME_DEFAULT_OPTIONS = {
51
- icon: () => '@tui.clock',
52
- mode: 'HH:MM',
53
- maxValues: MAX_TIME_VALUES, // TODO(v5): use empty object
54
- itemSize: 'm',
55
- nativePicker: false,
56
- };
57
- /**
58
- * TODO(v5): delete it
59
- * Default parameters for InputTime component
60
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
61
- */
62
- const TUI_INPUT_TIME_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_INPUT_TIME_OPTIONS' : '', {
63
- factory: () => TUI_INPUT_TIME_DEFAULT_OPTIONS,
64
- });
65
- /**
66
- * TODO(v5): delete it
67
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
68
- */
69
- function tuiInputTimeOptionsProvider(options) {
70
- return tuiProvideOptions(TUI_INPUT_TIME_OPTIONS, options, TUI_INPUT_TIME_DEFAULT_OPTIONS);
71
- }
72
-
73
- /**
74
- * TODO(v5): delete it
75
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead
76
- */
77
- class TuiInputTimeDirective extends AbstractTuiTextfieldHost {
78
- get value() {
79
- return this.host.computedValue;
80
- }
81
- get mode() {
82
- return this.host.mode;
83
- }
84
- get items() {
85
- return this.host.items;
86
- }
87
- onValueChange(value) {
88
- if (!value) {
89
- this.host.nativeValue = '';
90
- }
91
- this.host.onValueChange(value);
92
- }
93
- process(input) {
94
- input.inputMode = this.host.inputMode;
95
- }
96
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputTimeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
97
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputTimeDirective, isStandalone: false, selector: "tui-input-time", providers: [tuiAsTextfieldHost(TuiInputTimeDirective)], usesInheritance: true, ngImport: i0 }); }
98
- }
99
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputTimeDirective, decorators: [{
100
- type: Directive,
101
- args: [{
102
- standalone: false,
103
- selector: 'tui-input-time',
104
- providers: [tuiAsTextfieldHost(TuiInputTimeDirective)],
105
- }]
106
- }] });
107
-
108
- class TuiNativeTimeComponent {
109
- constructor() {
110
- this.host = inject(TuiInputTimeDirective);
111
- this.autoId = tuiInjectId();
112
- }
113
- get items() {
114
- return this.host.items.map((item) => item.toString(this.host.mode));
115
- }
116
- get value() {
117
- return this.host.value.length === this.host.mode.length ? this.host.value : '';
118
- }
119
- get step() {
120
- switch (this.host.mode) {
121
- case 'HH:MM:SS':
122
- return 1;
123
- case 'HH:MM:SS.MSS':
124
- return 0.001;
125
- default:
126
- return 60;
127
- }
128
- }
129
- onChange(value) {
130
- this.host.onValueChange(value);
131
- }
132
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiNativeTimeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
133
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiNativeTimeComponent, isStandalone: false, selector: "input[tuiTime]", host: { attributes: { "type": "time" }, listeners: { "change.stop": "onChange($event.target.value)", "click.stop.zoneless": "0", "mousedown.stop.zoneless": "0" }, properties: { "attr.list": "autoId", "tabIndex": "-1", "value": "value", "step": "step" } }, ngImport: i0, template: `
134
- @if (items.length) {
135
- <datalist [id]="autoId">
136
- @for (item of items; track item) {
137
- <option [value]="item"></option>
138
- }
139
- </datalist>
140
- }
141
- `, isInline: true, styles: [":host{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0;pointer-events:auto;font-size:2rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
142
- }
143
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiNativeTimeComponent, decorators: [{
144
- type: Component,
145
- args: [{ standalone: false, selector: 'input[tuiTime]', template: `
146
- @if (items.length) {
147
- <datalist [id]="autoId">
148
- @for (item of items; track item) {
149
- <option [value]="item"></option>
150
- }
151
- </datalist>
152
- }
153
- `, changeDetection: ChangeDetectionStrategy.OnPush, host: {
154
- type: 'time',
155
- '[attr.list]': 'autoId',
156
- '[tabIndex]': '-1',
157
- '[value]': 'value',
158
- '[step]': 'step',
159
- '(change.stop)': 'onChange($event.target.value)',
160
- '(click.stop.zoneless)': '0',
161
- '(mousedown.stop.zoneless)': '0',
162
- }, styles: [":host{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0;pointer-events:auto;font-size:2rem}\n"] }]
163
- }] });
164
-
165
- /**
166
- * TODO(v5): delete it
167
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead
168
- */
169
- class TuiInputTimeComponent extends AbstractTuiNullableControl {
170
- constructor() {
171
- super(...arguments);
172
- this.timeTexts$ = inject(TUI_TIME_TEXTS);
173
- this.options = inject(TUI_INPUT_TIME_OPTIONS);
174
- this.isMobile = inject(TUI_IS_MOBILE);
175
- this.isIOS = inject(TUI_IS_IOS);
176
- this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
177
- this.valueTransformer = inject(TUI_TIME_VALUE_TRANSFORMER, { optional: true });
178
- this.open = false;
179
- this.disabledItemHandler = TUI_FALSE_HANDLER;
180
- this.items = [];
181
- this.itemsHidden = false;
182
- this.itemSize = this.options.itemSize;
183
- this.strict = false;
184
- this.mode = this.options.mode;
185
- this.identityMatcher = (controlValue, dropdownValue) => controlValue instanceof TuiTime &&
186
- controlValue.valueOf() === dropdownValue.valueOf();
187
- }
188
- get size() {
189
- return this.textfieldSize.size;
190
- }
191
- get inputMode() {
192
- return this.mode.includes('AA') ? 'text' : 'numeric';
193
- }
194
- get nativeFocusableElement() {
195
- return this.textfield?.nativeFocusableElement ?? null;
196
- }
197
- get focused() {
198
- return tuiIsNativeFocused(this.nativeFocusableElement);
199
- }
200
- get computedValue() {
201
- return this.value ? this.value.toString(this.mode) : this.nativeValue;
202
- }
203
- get nativeValue() {
204
- return this.nativeFocusableElement?.value || '';
205
- }
206
- set nativeValue(value) {
207
- if (!this.nativeFocusableElement) {
208
- return;
209
- }
210
- this.nativeFocusableElement.value = value;
211
- }
212
- checkOption(option) {
213
- if (option.valueOf() === this.value?.valueOf()) {
214
- this.value = option;
215
- }
216
- }
217
- handleOption(item) {
218
- this.focusInput();
219
- this.value = item;
220
- }
221
- writeValue(value) {
222
- super.writeValue(value);
223
- this.nativeValue = this.value ? this.computedValue : '';
224
- }
225
- onValueChange(value) {
226
- this.open = !!this.items.length;
227
- this.control?.updateValueAndValidity({ emitEvent: false });
228
- if (value.length !== this.mode.length) {
229
- this.value = null;
230
- return;
231
- }
232
- const time = TuiTime.fromString(value);
233
- this.value = this.strict ? this.findNearestTimeFromItems(time) : time;
234
- }
235
- get canOpen() {
236
- return this.interactive && !!this.filtered.length && !this.itemsHidden;
237
- }
238
- get filtered() {
239
- return this.filter(this.items, this.mode, this.computedSearch);
240
- }
241
- get showNativePicker() {
242
- return (this.nativePicker &&
243
- (!this.isIOS || (this.mode === 'HH:MM' && !this.items.length)));
244
- }
245
- get nativeDatalist() {
246
- return this.nativePicker && !this.isIOS;
247
- }
248
- get maskOptions() {
249
- return this.calculateMask(this.mode, this.readOnly);
250
- }
251
- get computedSearch() {
252
- return this.computedValue.length !== this.mode.length ? this.computedValue : '';
253
- }
254
- get innerPseudoFocused() {
255
- if (this.pseudoFocus === false) {
256
- return false;
257
- }
258
- if ((this.open && this.canOpen) || this.computedFocused) {
259
- return true;
260
- }
261
- return null;
262
- }
263
- get icon() {
264
- return this.options.icon;
265
- }
266
- getFiller$(mode) {
267
- return this.timeTexts$.pipe(map((texts) => texts[mode]));
268
- }
269
- onFocused(focused) {
270
- this.updateFocused(focused);
271
- if (focused || this.value !== null || this.nativeValue === '') {
272
- return;
273
- }
274
- this.value = TuiTime.fromString(this.nativeValue);
275
- timer(0)
276
- .pipe(takeUntilDestroyed(this.destroyRef))
277
- .subscribe(() => {
278
- if (this.nativeValue.endsWith('.') || this.nativeValue.endsWith(':')) {
279
- this.nativeValue = this.nativeValue.slice(0, -1);
280
- }
281
- });
282
- }
283
- onOpen(open) {
284
- this.open = open;
285
- }
286
- get nativePicker() {
287
- return !!this.options.nativePicker && this.isMobile;
288
- }
289
- calculateMask(mode, readOnly) {
290
- const { HH, MM, SS, MS } = this.options.maxValues;
291
- const options = maskitoTimeOptionsGenerator({
292
- mode,
293
- step: readOnly || this.items.length > 0 ? 0 : 1,
294
- // TODO(v5): timeSegmentMaxValues: this.options.timeSegmentMaxValues
295
- timeSegmentMaxValues: {
296
- hours: mode.includes('AA') ? 12 : HH,
297
- minutes: MM,
298
- seconds: SS,
299
- milliseconds: MS,
300
- },
301
- });
302
- const inputModeSwitchPlugin = maskitoSelectionChangeHandler((element) => {
303
- element.inputMode =
304
- element.selectionStart >= mode.indexOf(' AA') ? 'text' : 'numeric';
305
- });
306
- return {
307
- ...options,
308
- plugins: options.plugins.concat(mode.includes('AA') ? inputModeSwitchPlugin : []),
309
- };
310
- }
311
- filter(items, mode, search) {
312
- return items.filter((item) => item.toString(mode).includes(search));
313
- }
314
- findNearestTimeFromItems(value) {
315
- // eslint-disable-next-line no-restricted-syntax
316
- return this.items.reduce((previous, current) => Math.abs(current.valueOf() - value.valueOf()) <
317
- Math.abs(previous.valueOf() - value.valueOf())
318
- ? current
319
- : previous);
320
- }
321
- focusInput(preventScroll = false) {
322
- if (this.nativeFocusableElement) {
323
- this.nativeFocusableElement.focus({ preventScroll });
324
- this.open = false;
325
- }
326
- }
327
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputTimeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
328
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiInputTimeComponent, isStandalone: false, selector: "tui-input-time", inputs: { disabledItemHandler: "disabledItemHandler", items: "items", itemsHidden: "itemsHidden", itemSize: "itemSize", strict: "strict", mode: "mode" }, host: { listeners: { "click": "open = !open" }, properties: { "attr.data-size": "size" } }, providers: [
329
- tuiAsFocusableItemAccessor(TuiInputTimeComponent),
330
- tuiAsControl(TuiInputTimeComponent),
331
- tuiAsDataListHost(TuiInputTimeComponent),
332
- tuiAsOptionContent(TUI_SELECT_OPTION),
333
- ], viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.TuiDropdownFixed }], ngImport: i0, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-wrapper\"\n [tuiDropdown]=\"dropdownContent\"\n [tuiDropdownEnabled]=\"canOpen && !nativeDatalist\"\n [tuiDropdownOpen]=\"canOpen && open\"\n (tuiActiveZoneChange)=\"onFocused($event)\"\n (tuiDropdownOpenChange)=\"onOpen($event)\"\n>\n <tui-primitive-textfield\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskOptions\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"innerPseudoFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"(getFiller$(mode) | async) || ''\"\n [tuiTextfieldIcon]=\"icon && iconContent\"\n [value]=\"computedValue\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <input\n tuiTextfieldLegacy\n [attr.inputmode]=\"inputMode\"\n />\n </tui-primitive-textfield>\n</div>\n<ng-template #dropdownContent>\n <tui-data-list\n automation-id=\"tui-input-time__dropdown\"\n [size]=\"itemSize\"\n >\n @for (item of filtered; track item) {\n <button\n automation-id=\"tui-input-time__item\"\n tuiOption\n type=\"button\"\n [disabled]=\"disabledItemHandler(item)\"\n [value]=\"item\"\n >\n {{ item }}\n </button>\n }\n </tui-data-list>\n</ng-template>\n\n<ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [icon]=\"src.toString()\"\n />\n @if (showNativePicker) {\n <input tuiTime />\n }\n</ng-template>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host._disabled,:host :host-context(*:disabled){pointer-events:none}.t-wrapper{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon_small:before{font-size:1rem}\n"], dependencies: [{ kind: "directive", type: i2.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { 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: "component", type: i3.TuiTextfieldComponent, selector: "input[tuiTextfieldLegacy], textarea[tuiTextfieldLegacy]" }, { kind: "directive", type: i4.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { kind: "directive", type: i4.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i4.TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: ["tuiTextfieldFiller"] }, { kind: "directive", type: i5.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i4.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }, { kind: "component", type: i6.TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: i7.TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "directive", type: i1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i1.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }, { kind: "component", type: i2$1.TuiDataListComponent, selector: "tui-data-list", inputs: ["emptyContent", "size"] }, { kind: "component", type: i2$1.TuiOption, selector: "button[tuiOption]:not([new]), a[tuiOption]:not([new]), label[tuiOption]:not([new])", inputs: ["disabled", "value"] }, { kind: "component", type: TuiNativeTimeComponent, selector: "input[tuiTime]" }, { kind: "pipe", type: i10.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
334
- }
335
- __decorate([
336
- tuiPure
337
- ], TuiInputTimeComponent.prototype, "getFiller$", null);
338
- __decorate([
339
- tuiPure
340
- ], TuiInputTimeComponent.prototype, "calculateMask", null);
341
- __decorate([
342
- tuiPure
343
- ], TuiInputTimeComponent.prototype, "filter", null);
344
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputTimeComponent, decorators: [{
345
- type: Component,
346
- args: [{ standalone: false, selector: 'tui-input-time', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
347
- tuiAsFocusableItemAccessor(TuiInputTimeComponent),
348
- tuiAsControl(TuiInputTimeComponent),
349
- tuiAsDataListHost(TuiInputTimeComponent),
350
- tuiAsOptionContent(TUI_SELECT_OPTION),
351
- ], hostDirectives: [TuiDropdownFixed], host: {
352
- '(click)': 'open = !open',
353
- '[attr.data-size]': 'size',
354
- }, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-wrapper\"\n [tuiDropdown]=\"dropdownContent\"\n [tuiDropdownEnabled]=\"canOpen && !nativeDatalist\"\n [tuiDropdownOpen]=\"canOpen && open\"\n (tuiActiveZoneChange)=\"onFocused($event)\"\n (tuiDropdownOpenChange)=\"onOpen($event)\"\n>\n <tui-primitive-textfield\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskOptions\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"innerPseudoFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"(getFiller$(mode) | async) || ''\"\n [tuiTextfieldIcon]=\"icon && iconContent\"\n [value]=\"computedValue\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <input\n tuiTextfieldLegacy\n [attr.inputmode]=\"inputMode\"\n />\n </tui-primitive-textfield>\n</div>\n<ng-template #dropdownContent>\n <tui-data-list\n automation-id=\"tui-input-time__dropdown\"\n [size]=\"itemSize\"\n >\n @for (item of filtered; track item) {\n <button\n automation-id=\"tui-input-time__item\"\n tuiOption\n type=\"button\"\n [disabled]=\"disabledItemHandler(item)\"\n [value]=\"item\"\n >\n {{ item }}\n </button>\n }\n </tui-data-list>\n</ng-template>\n\n<ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [icon]=\"src.toString()\"\n />\n @if (showNativePicker) {\n <input tuiTime />\n }\n</ng-template>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host._disabled,:host :host-context(*:disabled){pointer-events:none}.t-wrapper{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon_small:before{font-size:1rem}\n"] }]
355
- }], propDecorators: { textfield: [{
356
- type: ViewChild,
357
- args: [TuiPrimitiveTextfieldComponent]
358
- }], disabledItemHandler: [{
359
- type: Input
360
- }], items: [{
361
- type: Input
362
- }], itemsHidden: [{
363
- type: Input
364
- }], itemSize: [{
365
- type: Input
366
- }], strict: [{
367
- type: Input
368
- }], mode: [{
369
- type: Input
370
- }], getFiller$: [], calculateMask: [], filter: [] } });
371
-
372
- /**
373
- * TODO(v5): delete it
374
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead
375
- */
376
- class TuiInputTimeModule {
377
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
378
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiInputTimeModule, declarations: [TuiInputTimeComponent, TuiNativeTimeComponent, TuiInputTimeDirective], imports: [CommonModule,
379
- MaskitoDirective,
380
- TuiSelectOptionModule,
381
- TuiPrimitiveTextfieldModule,
382
- TuiValueAccessorModule,
383
- TuiTextfieldControllerModule,
384
- PolymorpheusOutlet,
385
- PolymorpheusTemplate,
386
- TuiLegacyDropdownOpenMonitorDirective,
387
- TuiIcon,
388
- TuiAppearance, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownPortal, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection, i2$1.TuiDataListComponent, i2$1.TuiDataListDirective, i2$1.TuiOption, i2$1.TuiOptionNew, i2$1.TuiOptionWithValue, i2$1.TuiOptGroup], exports: [TuiInputTimeComponent,
389
- TuiInputTimeDirective, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownPortal, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection, i2$1.TuiDataListComponent, i2$1.TuiDataListDirective, i2$1.TuiOption, i2$1.TuiOptionNew, i2$1.TuiOptionWithValue, i2$1.TuiOptGroup] }); }
390
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputTimeModule, imports: [CommonModule,
391
- TuiSelectOptionModule,
392
- TuiPrimitiveTextfieldModule,
393
- TuiValueAccessorModule,
394
- TuiTextfieldControllerModule,
395
- TuiIcon, i1.TuiDropdownComponent, i2$1.TuiDataListComponent, i2$1.TuiOption] }); }
396
- }
397
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputTimeModule, decorators: [{
398
- type: NgModule,
399
- args: [{
400
- imports: [
401
- CommonModule,
402
- MaskitoDirective,
403
- TuiSelectOptionModule,
404
- TuiPrimitiveTextfieldModule,
405
- TuiValueAccessorModule,
406
- TuiTextfieldControllerModule,
407
- PolymorpheusOutlet,
408
- PolymorpheusTemplate,
409
- TuiLegacyDropdownOpenMonitorDirective,
410
- TuiIcon,
411
- TuiAppearance,
412
- ...TuiDropdown,
413
- ...TuiDataList,
414
- ],
415
- declarations: [TuiInputTimeComponent, TuiNativeTimeComponent, TuiInputTimeDirective],
416
- exports: [
417
- TuiInputTimeComponent,
418
- TuiInputTimeDirective,
419
- ...TuiDropdown,
420
- ...TuiDataList,
421
- ],
422
- }]
423
- }] });
424
-
425
- /**
426
- * Generated bundle index. Do not edit.
427
- */
428
-
429
- export { MAX_TIME_VALUES, TUI_INPUT_TIME_DEFAULT_OPTIONS, TUI_INPUT_TIME_OPTIONS, TuiInputTimeComponent, TuiInputTimeDirective, TuiInputTimeModule, tuiInputTimeOptionsProvider };
430
- //# sourceMappingURL=taiga-ui-legacy-components-input-time.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-input-time.mjs","sources":["../../../projects/legacy/components/input-time/input-time.options.ts","../../../projects/legacy/components/input-time/input-time.directive.ts","../../../projects/legacy/components/input-time/native-time/native-time.component.ts","../../../projects/legacy/components/input-time/input-time.component.ts","../../../projects/legacy/components/input-time/input-time.template.html","../../../projects/legacy/components/input-time/input-time.module.ts","../../../projects/legacy/components/input-time/taiga-ui-legacy-components-input-time.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {type TuiTimeMode} from '@taiga-ui/cdk/date-time';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead\n */\nexport interface TuiInputTimeOptions {\n readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n readonly itemSize: TuiSizeL | TuiSizeS;\n // TODO(v5): timeSegmentMaxValues: Partial<MaskitoTimeSegments<number>>\n readonly maxValues: Record<TuiTimeFormatParts, number>;\n readonly mode: TuiTimeMode;\n readonly nativePicker?: boolean;\n}\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead\n */\nexport type TuiTimeFormatParts = 'HH' | 'MM' | 'MS' | 'SS';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead\n */\nexport const MAX_TIME_VALUES: Record<TuiTimeFormatParts, number> = {\n HH: 23,\n MM: 59,\n SS: 59,\n MS: 999,\n};\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead\n */\nexport const TUI_INPUT_TIME_DEFAULT_OPTIONS: TuiInputTimeOptions = {\n icon: () => '@tui.clock',\n mode: 'HH:MM',\n maxValues: MAX_TIME_VALUES, // TODO(v5): use empty object\n itemSize: 'm',\n nativePicker: false,\n};\n\n/**\n * TODO(v5): delete it\n * Default parameters for InputTime component\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead\n */\nexport const TUI_INPUT_TIME_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_INPUT_TIME_OPTIONS' : '',\n {\n factory: () => TUI_INPUT_TIME_DEFAULT_OPTIONS,\n },\n);\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead\n */\nexport function tuiInputTimeOptionsProvider(\n options: Partial<TuiInputTimeOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_INPUT_TIME_OPTIONS,\n options,\n TUI_INPUT_TIME_DEFAULT_OPTIONS,\n );\n}\n","import {Directive} from '@angular/core';\nimport {type TuiTime, type TuiTimeMode} from '@taiga-ui/cdk/date-time';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {type TuiInputTimeComponent} from './input-time.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-input-time',\n providers: [tuiAsTextfieldHost(TuiInputTimeDirective)],\n})\nexport class TuiInputTimeDirective extends AbstractTuiTextfieldHost<TuiInputTimeComponent> {\n public override get value(): string {\n return this.host.computedValue;\n }\n\n public get mode(): TuiTimeMode {\n return this.host.mode;\n }\n\n public get items(): readonly TuiTime[] {\n return this.host.items;\n }\n\n public onValueChange(value: string): void {\n if (!value) {\n this.host.nativeValue = '';\n }\n\n this.host.onValueChange(value);\n }\n\n public override process(input: HTMLInputElement): void {\n input.inputMode = this.host.inputMode;\n }\n}\n","import {ChangeDetectionStrategy, Component, inject} from '@angular/core';\nimport {tuiInjectId} from '@taiga-ui/cdk/services';\n\nimport {TuiInputTimeDirective} from '../input-time.directive';\n\n@Component({\n standalone: false,\n selector: 'input[tuiTime]',\n template: `\n @if (items.length) {\n <datalist [id]=\"autoId\">\n @for (item of items; track item) {\n <option [value]=\"item\"></option>\n }\n </datalist>\n }\n `,\n styleUrls: ['./native-time.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n type: 'time',\n '[attr.list]': 'autoId',\n '[tabIndex]': '-1',\n '[value]': 'value',\n '[step]': 'step',\n '(change.stop)': 'onChange($event.target.value)',\n '(click.stop.zoneless)': '0',\n '(mousedown.stop.zoneless)': '0',\n },\n})\nexport class TuiNativeTimeComponent {\n protected readonly host = inject(TuiInputTimeDirective);\n\n protected readonly autoId = tuiInjectId();\n\n protected get items(): string[] {\n return this.host.items.map((item) => item.toString(this.host.mode));\n }\n\n protected get value(): string {\n return this.host.value.length === this.host.mode.length ? this.host.value : '';\n }\n\n protected get step(): number {\n switch (this.host.mode) {\n case 'HH:MM:SS':\n return 1;\n case 'HH:MM:SS.MSS':\n return 0.001;\n default:\n return 60;\n }\n }\n\n protected onChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","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 {maskitoSelectionChangeHandler, maskitoTimeOptionsGenerator} from '@maskito/kit';\nimport {type TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {TuiTime, type TuiTimeMode} from '@taiga-ui/cdk/date-time';\nimport {TUI_IS_IOS, TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {type TuiBooleanHandler, type TuiIdentityMatcher} from '@taiga-ui/cdk/types';\nimport {tuiIsNativeFocused} from '@taiga-ui/cdk/utils/focus';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n tuiAsDataListHost,\n tuiAsOptionContent,\n type TuiDataListHost,\n} from '@taiga-ui/core/components/data-list';\nimport {TuiDropdownFixed} from '@taiga-ui/core/directives/dropdown';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {TUI_TIME_TEXTS, TUI_TIME_VALUE_TRANSFORMER} from '@taiga-ui/kit/tokens';\nimport {AbstractTuiNullableControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TUI_SELECT_OPTION} from '@taiga-ui/legacy/components/select-option';\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, timer} from 'rxjs';\n\nimport {TUI_INPUT_TIME_OPTIONS, type TuiInputTimeOptions} from './input-time.options';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead\n */\n@Component({\n standalone: false,\n selector: 'tui-input-time',\n templateUrl: './input-time.template.html',\n styleUrls: ['./input-time.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputTimeComponent),\n tuiAsControl(TuiInputTimeComponent),\n tuiAsDataListHost(TuiInputTimeComponent),\n tuiAsOptionContent(TUI_SELECT_OPTION),\n ],\n hostDirectives: [TuiDropdownFixed],\n host: {\n '(click)': 'open = !open',\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiInputTimeComponent\n extends AbstractTuiNullableControl<TuiTime>\n implements TuiFocusableElementAccessor, TuiDataListHost<TuiTime>\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly timeTexts$ = inject(TUI_TIME_TEXTS);\n private readonly options = inject(TUI_INPUT_TIME_OPTIONS);\n private readonly isMobile = inject(TUI_IS_MOBILE);\n private readonly isIOS: boolean = inject(TUI_IS_IOS);\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n\n protected override readonly valueTransformer: TuiValueTransformer<TuiTime | null> | null =\n inject(TUI_TIME_VALUE_TRANSFORMER, {optional: true});\n\n protected open = false;\n\n @Input()\n public disabledItemHandler: TuiBooleanHandler<TuiTime> = TUI_FALSE_HANDLER;\n\n @Input()\n public items: readonly TuiTime[] = [];\n\n @Input()\n public itemsHidden = false;\n\n @Input()\n public itemSize: TuiInputTimeOptions['itemSize'] = this.options.itemSize;\n\n @Input()\n public strict = false;\n\n @Input()\n public mode: TuiInputTimeOptions['mode'] = this.options.mode;\n\n public get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n public get inputMode(): string {\n return this.mode.includes('AA') ? 'text' : 'numeric';\n }\n\n public get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield?.nativeFocusableElement ?? null;\n }\n\n public get focused(): boolean {\n return tuiIsNativeFocused(this.nativeFocusableElement);\n }\n\n public get computedValue(): string {\n return this.value ? this.value.toString(this.mode) : this.nativeValue;\n }\n\n public get nativeValue(): string {\n return this.nativeFocusableElement?.value || '';\n }\n\n public set nativeValue(value: string) {\n if (!this.nativeFocusableElement) {\n return;\n }\n\n this.nativeFocusableElement.value = value;\n }\n\n public readonly identityMatcher: TuiIdentityMatcher<TuiTime> = (\n controlValue: TuiTime,\n dropdownValue: TuiTime,\n ) =>\n controlValue instanceof TuiTime &&\n controlValue.valueOf() === dropdownValue.valueOf();\n\n public checkOption(option: TuiTime): void {\n if (option.valueOf() === this.value?.valueOf()) {\n this.value = option;\n }\n }\n\n public handleOption(item: TuiTime): void {\n this.focusInput();\n this.value = item;\n }\n\n public override writeValue(value: TuiTime | null): void {\n super.writeValue(value);\n this.nativeValue = this.value ? this.computedValue : '';\n }\n\n public onValueChange(value: string): void {\n this.open = !!this.items.length;\n\n this.control?.updateValueAndValidity({emitEvent: false});\n\n if (value.length !== this.mode.length) {\n this.value = null;\n\n return;\n }\n\n const time = TuiTime.fromString(value);\n\n this.value = this.strict ? this.findNearestTimeFromItems(time) : time;\n }\n\n protected get canOpen(): boolean {\n return this.interactive && !!this.filtered.length && !this.itemsHidden;\n }\n\n protected get filtered(): readonly TuiTime[] {\n return this.filter(this.items, this.mode, this.computedSearch);\n }\n\n protected get showNativePicker(): boolean {\n return (\n this.nativePicker &&\n (!this.isIOS || (this.mode === 'HH:MM' && !this.items.length))\n );\n }\n\n protected get nativeDatalist(): boolean {\n return this.nativePicker && !this.isIOS;\n }\n\n protected get maskOptions(): MaskitoOptions {\n return this.calculateMask(this.mode, this.readOnly);\n }\n\n protected get computedSearch(): string {\n return this.computedValue.length !== this.mode.length ? this.computedValue : '';\n }\n\n protected get innerPseudoFocused(): boolean | null {\n if (this.pseudoFocus === false) {\n return false;\n }\n\n if ((this.open && this.canOpen) || this.computedFocused) {\n return true;\n }\n\n return null;\n }\n\n protected get icon(): TuiInputTimeOptions['icon'] {\n return this.options.icon;\n }\n\n @tuiPure\n protected getFiller$(mode: TuiTimeMode): Observable<string> {\n return this.timeTexts$.pipe(map((texts) => texts[mode]));\n }\n\n protected onFocused(focused: boolean): void {\n this.updateFocused(focused);\n\n if (focused || this.value !== null || this.nativeValue === '') {\n return;\n }\n\n this.value = TuiTime.fromString(this.nativeValue);\n\n timer(0)\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(() => {\n if (this.nativeValue.endsWith('.') || this.nativeValue.endsWith(':')) {\n this.nativeValue = this.nativeValue.slice(0, -1);\n }\n });\n }\n\n protected onOpen(open: boolean): void {\n this.open = open;\n }\n\n private get nativePicker(): boolean {\n return !!this.options.nativePicker && this.isMobile;\n }\n\n @tuiPure\n private calculateMask(mode: TuiTimeMode, readOnly: boolean): MaskitoOptions {\n const {HH, MM, SS, MS} = this.options.maxValues;\n\n const options = maskitoTimeOptionsGenerator({\n mode,\n step: readOnly || this.items.length > 0 ? 0 : 1,\n // TODO(v5): timeSegmentMaxValues: this.options.timeSegmentMaxValues\n timeSegmentMaxValues: {\n hours: mode.includes('AA') ? 12 : HH,\n minutes: MM,\n seconds: SS,\n milliseconds: MS,\n },\n });\n const inputModeSwitchPlugin = maskitoSelectionChangeHandler((element) => {\n element.inputMode =\n element.selectionStart! >= mode.indexOf(' AA') ? 'text' : 'numeric';\n });\n\n return {\n ...options,\n plugins: options.plugins.concat(\n mode.includes('AA') ? inputModeSwitchPlugin : [],\n ),\n };\n }\n\n @tuiPure\n private filter(\n items: readonly TuiTime[],\n mode: TuiTimeMode,\n search: string,\n ): readonly TuiTime[] {\n return items.filter((item) => item.toString(mode).includes(search));\n }\n\n private findNearestTimeFromItems(value: TuiTime): TuiTime | null {\n // eslint-disable-next-line no-restricted-syntax\n return this.items.reduce((previous, current) =>\n Math.abs(current.valueOf() - value.valueOf()) <\n Math.abs(previous.valueOf() - value.valueOf())\n ? current\n : previous,\n );\n }\n\n private focusInput(preventScroll = false): void {\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.focus({preventScroll});\n this.open = false;\n }\n }\n}\n","<div\n tuiDropdownOpenMonitor\n class=\"t-wrapper\"\n [tuiDropdown]=\"dropdownContent\"\n [tuiDropdownEnabled]=\"canOpen && !nativeDatalist\"\n [tuiDropdownOpen]=\"canOpen && open\"\n (tuiActiveZoneChange)=\"onFocused($event)\"\n (tuiDropdownOpenChange)=\"onOpen($event)\"\n>\n <tui-primitive-textfield\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskOptions\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"innerPseudoFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"(getFiller$(mode) | async) || ''\"\n [tuiTextfieldIcon]=\"icon && iconContent\"\n [value]=\"computedValue\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <input\n tuiTextfieldLegacy\n [attr.inputmode]=\"inputMode\"\n />\n </tui-primitive-textfield>\n</div>\n<ng-template #dropdownContent>\n <tui-data-list\n automation-id=\"tui-input-time__dropdown\"\n [size]=\"itemSize\"\n >\n @for (item of filtered; track item) {\n <button\n automation-id=\"tui-input-time__item\"\n tuiOption\n type=\"button\"\n [disabled]=\"disabledItemHandler(item)\"\n [value]=\"item\"\n >\n {{ item }}\n </button>\n }\n </tui-data-list>\n</ng-template>\n\n<ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [icon]=\"src.toString()\"\n />\n @if (showNativePicker) {\n <input tuiTime />\n }\n</ng-template>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {TuiDataList} from '@taiga-ui/core/components/data-list';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiAppearance} from '@taiga-ui/core/directives/appearance';\nimport {TuiDropdown} from '@taiga-ui/core/directives/dropdown';\nimport {TuiPrimitiveTextfieldModule} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TuiSelectOptionModule} from '@taiga-ui/legacy/components/select-option';\nimport {\n TuiLegacyDropdownOpenMonitorDirective,\n TuiTextfieldControllerModule,\n TuiValueAccessorModule,\n} from '@taiga-ui/legacy/directives';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiInputTimeComponent} from './input-time.component';\nimport {TuiInputTimeDirective} from './input-time.directive';\nimport {TuiNativeTimeComponent} from './native-time/native-time.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n MaskitoDirective,\n TuiSelectOptionModule,\n TuiPrimitiveTextfieldModule,\n TuiValueAccessorModule,\n TuiTextfieldControllerModule,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n TuiLegacyDropdownOpenMonitorDirective,\n TuiIcon,\n TuiAppearance,\n ...TuiDropdown,\n ...TuiDataList,\n ],\n declarations: [TuiInputTimeComponent, TuiNativeTimeComponent, TuiInputTimeDirective],\n exports: [\n TuiInputTimeComponent,\n TuiInputTimeDirective,\n ...TuiDropdown,\n ...TuiDataList,\n ],\n})\nexport class TuiInputTimeModule {}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