@taiga-ui/legacy 4.52.0-canary.2c75afa → 4.52.0-canary.2d877cf

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 (225) hide show
  1. package/README.md +1 -1
  2. package/components/dialog/dialog.service.d.ts +1 -1
  3. package/components/dialog/dialog.tokens.d.ts +1 -3
  4. package/components/index.d.ts +0 -17
  5. package/components/mobile-dialog/mobile-dialog.options.d.ts +1 -3
  6. package/components/mobile-dialog/mobile-dialog.service.d.ts +1 -1
  7. package/components/pdf-viewer/pdf-viewer.options.d.ts +1 -3
  8. package/components/pdf-viewer/pdf-viewer.service.d.ts +1 -1
  9. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +14 -19
  10. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -1
  11. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +11 -16
  12. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -1
  13. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +13 -18
  14. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -1
  15. package/fesm2022/taiga-ui-legacy-components.mjs +0 -17
  16. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  17. package/fesm2022/taiga-ui-legacy.mjs +0 -4
  18. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  19. package/index.d.ts +0 -4
  20. package/package.json +12 -114
  21. package/classes/abstract-native-select.d.ts +0 -22
  22. package/classes/abstract-textfield-host.d.ts +0 -19
  23. package/classes/control.d.ts +0 -60
  24. package/classes/controller.d.ts +0 -9
  25. package/classes/index.d.ts +0 -9
  26. package/classes/interactive.d.ts +0 -34
  27. package/classes/multiple-control.d.ts +0 -11
  28. package/classes/named-day.d.ts +0 -11
  29. package/classes/nullable-control.d.ts +0 -10
  30. package/classes/stringifiable-item.d.ts +0 -11
  31. package/components/arrow/arrow.component.d.ts +0 -17
  32. package/components/arrow/arrow.options.d.ts +0 -19
  33. package/components/arrow/arrow.providers.d.ts +0 -23
  34. package/components/arrow/index.d.ts +0 -3
  35. package/components/input/index.d.ts +0 -3
  36. package/components/input/input.component.d.ts +0 -32
  37. package/components/input/input.directive.d.ts +0 -12
  38. package/components/input/input.module.d.ts +0 -16
  39. package/components/input-date-range/index.d.ts +0 -3
  40. package/components/input-date-range/input-date-range.component.d.ts +0 -66
  41. package/components/input-date-range/input-date-range.directive.d.ts +0 -16
  42. package/components/input-date-range/input-date-range.module.d.ts +0 -21
  43. package/components/input-date-time/index.d.ts +0 -3
  44. package/components/input-date-time/input-date-time.component.d.ts +0 -87
  45. package/components/input-date-time/input-date-time.directive.d.ts +0 -17
  46. package/components/input-date-time/input-date-time.module.d.ts +0 -23
  47. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
  48. package/components/input-month-range/index.d.ts +0 -3
  49. package/components/input-month-range/input-month-range.component.d.ts +0 -38
  50. package/components/input-month-range/input-month-range.directive.d.ts +0 -23
  51. package/components/input-month-range/input-month-range.module.d.ts +0 -18
  52. package/components/input-number/index.d.ts +0 -4
  53. package/components/input-number/input-number.component.d.ts +0 -62
  54. package/components/input-number/input-number.directive.d.ts +0 -16
  55. package/components/input-number/input-number.module.d.ts +0 -18
  56. package/components/input-number/input-number.options.d.ts +0 -29
  57. package/components/input-range/index.d.ts +0 -2
  58. package/components/input-range/input-range.component.d.ts +0 -56
  59. package/components/input-range/input-range.module.d.ts +0 -19
  60. package/components/input-slider/index.d.ts +0 -2
  61. package/components/input-slider/input-slider.component.d.ts +0 -42
  62. package/components/input-slider/input-slider.module.d.ts +0 -18
  63. package/components/input-tag/index.d.ts +0 -3
  64. package/components/input-tag/input-tag.component.d.ts +0 -103
  65. package/components/input-tag/input-tag.module.d.ts +0 -22
  66. package/components/input-tag/input-tag.options.d.ts +0 -27
  67. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  68. package/components/multi-select/index.d.ts +0 -10
  69. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  70. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  71. package/components/multi-select/multi-select.component.d.ts +0 -71
  72. package/components/multi-select/multi-select.directive.d.ts +0 -14
  73. package/components/multi-select/multi-select.module.d.ts +0 -30
  74. package/components/multi-select/multi-select.options.d.ts +0 -14
  75. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  76. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  77. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  78. package/components/multi-select-option/index.d.ts +0 -2
  79. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  80. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  81. package/components/primitive-textfield/index.d.ts +0 -7
  82. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
  83. package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
  84. package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
  85. package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
  86. package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
  87. package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
  88. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
  89. package/components/select/index.d.ts +0 -6
  90. package/components/select/native-select/native-select-group.component.d.ts +0 -17
  91. package/components/select/native-select/native-select.component.d.ts +0 -16
  92. package/components/select/select.component.d.ts +0 -45
  93. package/components/select/select.directive.d.ts +0 -16
  94. package/components/select/select.module.d.ts +0 -24
  95. package/components/select/select.options.d.ts +0 -25
  96. package/components/select-option/index.d.ts +0 -2
  97. package/components/select-option/select-option.component.d.ts +0 -27
  98. package/components/select-option/select-option.module.d.ts +0 -10
  99. package/components/tag/index.d.ts +0 -3
  100. package/components/tag/tag.component.d.ts +0 -44
  101. package/components/tag/tag.module.d.ts +0 -16
  102. package/components/tag/tag.options.d.ts +0 -27
  103. package/components/textarea/index.d.ts +0 -3
  104. package/components/textarea/textarea.component.d.ts +0 -54
  105. package/components/textarea/textarea.directive.d.ts +0 -12
  106. package/components/textarea/textarea.module.d.ts +0 -21
  107. package/components/tooltip/index.d.ts +0 -2
  108. package/components/tooltip/tooltip.component.d.ts +0 -12
  109. package/components/tooltip/tooltip.module.d.ts +0 -13
  110. package/directives/index.d.ts +0 -5
  111. package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
  112. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
  113. package/directives/textfield-controller/index.d.ts +0 -14
  114. package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
  115. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
  116. package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
  117. package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
  118. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
  119. package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
  120. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
  121. package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
  122. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
  123. package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
  124. package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
  125. package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
  126. package/directives/textfield-controller/textfield.controller.d.ts +0 -41
  127. package/directives/textfield-controller/textfield.options.d.ts +0 -19
  128. package/directives/unfinished-validator/index.d.ts +0 -2
  129. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
  130. package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
  131. package/directives/value-accessor/index.d.ts +0 -3
  132. package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
  133. package/directives/value-accessor/value-accessor.module.d.ts +0 -7
  134. package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
  135. package/directives/wrapper/README.md +0 -19
  136. package/directives/wrapper/index.d.ts +0 -2
  137. package/directives/wrapper/wrapper.directive.d.ts +0 -22
  138. package/directives/wrapper/wrapper.module.d.ts +0 -10
  139. package/fesm2022/taiga-ui-legacy-classes.mjs +0 -413
  140. package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
  141. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -85
  142. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
  143. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -346
  144. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
  145. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -459
  146. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
  147. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
  148. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
  149. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -383
  150. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
  151. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
  152. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
  153. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -199
  154. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
  155. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  156. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  157. package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -156
  158. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
  159. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  160. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  161. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -686
  162. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  163. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
  164. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
  165. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
  166. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
  167. package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -353
  168. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
  169. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -225
  170. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  171. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  172. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
  173. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
  174. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
  175. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -49
  176. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
  177. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -401
  178. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
  179. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -48
  180. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
  181. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
  182. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
  183. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
  184. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
  185. package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
  186. package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
  187. package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
  188. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
  189. package/fesm2022/taiga-ui-legacy-utils.mjs +0 -262
  190. package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
  191. package/styles/mixins/mixins.less +0 -239
  192. package/styles/mixins/mixins.scss +0 -224
  193. package/styles/mixins/textfield.less +0 -324
  194. package/styles/mixins/textfield.scss +0 -308
  195. package/styles/taiga-ui-local.less +0 -3
  196. package/styles/taiga-ui-local.scss +0 -3
  197. package/tokens/countries-masks.d.ts +0 -9
  198. package/tokens/focusable-item-accessor.d.ts +0 -25
  199. package/tokens/fonts-ready.d.ts +0 -6
  200. package/tokens/icons.d.ts +0 -6
  201. package/tokens/index.d.ts +0 -14
  202. package/tokens/is-apple.d.ts +0 -6
  203. package/tokens/is-chromium.d.ts +0 -6
  204. package/tokens/is-firefox.d.ts +0 -6
  205. package/tokens/is-stackblitz.d.ts +0 -5
  206. package/tokens/month-formatter.d.ts +0 -10
  207. package/tokens/sanitizer.d.ts +0 -6
  208. package/tokens/textfield-appearance.d.ts +0 -7
  209. package/tokens/textfield-host.d.ts +0 -23
  210. package/tokens/touch-supported.d.ts +0 -5
  211. package/tokens/value-accessor.d.ts +0 -7
  212. package/utils/capitalize-first-letter.d.ts +0 -4
  213. package/utils/date-mode-maskito-adapter.d.ts +0 -6
  214. package/utils/format-phone.d.ts +0 -30
  215. package/utils/get-border.d.ts +0 -5
  216. package/utils/get-max-allowed-phone-length.d.ts +0 -24
  217. package/utils/get-safe-area-size.d.ts +0 -7
  218. package/utils/icons-path-factory.d.ts +0 -13
  219. package/utils/index.d.ts +0 -13
  220. package/utils/is-presumed-html-string.d.ts +0 -4
  221. package/utils/iso-to-country-code.d.ts +0 -13
  222. package/utils/not-kz-region.d.ts +0 -20
  223. package/utils/process-icon.d.ts +0 -4
  224. package/utils/specific-dropdown-controllers.d.ts +0 -4
  225. package/utils/status.d.ts +0 -4
@@ -1,87 +0,0 @@
1
- import { type MaskitoOptions } from '@maskito/core';
2
- import { type MaskitoTimeMode } from '@maskito/kit';
3
- import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
4
- import { type TuiDateMode, TuiDay, TuiMonth, TuiTime } from '@taiga-ui/cdk/date-time';
5
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
6
- import { type TuiBooleanHandler, type TuiContext } from '@taiga-ui/cdk/types';
7
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
8
- import { type TuiInputDateOptions } from '@taiga-ui/kit/tokens';
9
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
10
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
11
- import { type Observable } from 'rxjs';
12
- import * as i0 from "@angular/core";
13
- /**
14
- * TODO(v5): delete it
15
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-time TuiInputDateTime} (from @taiga-ui/kit) instead
16
- */
17
- export declare class TuiInputDateTimeComponent extends AbstractTuiControl<[TuiDay, TuiTime | null] | null> implements TuiFocusableElementAccessor {
18
- private readonly textfield?;
19
- private readonly options;
20
- private readonly textfieldSize;
21
- private month;
22
- private readonly timeMode$;
23
- private readonly nativeValue;
24
- protected readonly timeTexts$: Observable<{
25
- 'MM:SS': string;
26
- 'HH:MM': string;
27
- 'HH:MM AA': string;
28
- 'HH:MM:SS': string;
29
- 'HH:MM:SS AA': string;
30
- 'HH:MM:SS.MSS': string;
31
- 'HH:MM:SS.MSS AA': string;
32
- 'HH AA': string;
33
- HH: string;
34
- 'MM:SS.MSS': string;
35
- 'MM.SS.MSS': string;
36
- 'SS.MSS': string;
37
- }>;
38
- protected readonly dateTexts$: Observable<Record<TuiDateMode, string>>;
39
- protected readonly valueTransformer: TuiValueTransformer<[
40
- TuiDay,
41
- TuiTime | null
42
- ]> | null;
43
- protected readonly type: TuiContext<TuiActiveZone>;
44
- protected readonly filler$: Observable<string>;
45
- protected dateFormat: import("@angular/core").Signal<import("@taiga-ui/core/tokens").TuiDateFormatSettings>;
46
- protected readonly isMobile: boolean;
47
- min: TuiDay | [TuiDay | null, TuiTime | null] | null;
48
- max: TuiDay | [TuiDay | null, TuiTime | null] | null;
49
- disabledItemHandler: TuiBooleanHandler<TuiDay>;
50
- defaultActiveYearMonth: TuiMonth;
51
- open: boolean;
52
- set timeMode(value: MaskitoTimeMode);
53
- get timeMode(): MaskitoTimeMode;
54
- get nativeFocusableElement(): HTMLInputElement | null;
55
- get focused(): boolean;
56
- get computedValue(): string;
57
- setDisabledState(): void;
58
- writeValue(value: [TuiDay, TuiTime | null] | null): void;
59
- onValueChange(value: string): void;
60
- protected get size(): TuiSizeL | TuiSizeS;
61
- protected get computedMin(): TuiDay | [TuiDay, TuiTime];
62
- protected get computedMax(): TuiDay | [TuiDay, TuiTime];
63
- protected get fillerLength(): number;
64
- protected get maskOptions(): MaskitoOptions;
65
- protected get calendarIcon(): TuiInputDateOptions['icon'];
66
- protected get showNativePicker(): boolean;
67
- protected get calendarValue(): TuiDay | null;
68
- protected get calendarMinDay(): TuiDay;
69
- protected get calendarMaxDay(): TuiDay;
70
- protected get computedActiveYearMonth(): TuiMonth;
71
- protected onClick(): void;
72
- protected onDayClick(day: TuiDay): void;
73
- protected onMonthChange(month: TuiMonth): void;
74
- protected onOpenChange(open: boolean): void;
75
- protected onFocused(focused: boolean): void;
76
- protected getFallbackValue(): [TuiDay, TuiTime | null] | null;
77
- protected valueIdenticalComparator(oldValue: [TuiDay, TuiTime | null] | null, newValue: [TuiDay, TuiTime | null] | null): boolean;
78
- private get nativePicker();
79
- private calculateMask;
80
- private getDateTimeString;
81
- private clampTime;
82
- private trimTrailingSeparator;
83
- private toNativeDate;
84
- private toTuiDay;
85
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateTimeComponent, never>;
86
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputDateTimeComponent, "tui-input-date-time", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "defaultActiveYearMonth": { "alias": "defaultActiveYearMonth"; "required": false; }; "timeMode": { "alias": "timeMode"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
87
- }
@@ -1,17 +0,0 @@
1
- import { type TuiDay, type TuiTime } from '@taiga-ui/cdk/date-time';
2
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
3
- import { type TuiInputDateTimeComponent } from './input-date-time.component';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * TODO(v5): delete it
7
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-time TuiInputDateTime} (from @taiga-ui/kit) instead
8
- */
9
- export declare class TuiInputDateTimeDirective extends AbstractTuiTextfieldHost<TuiInputDateTimeComponent> {
10
- get value(): string;
11
- get rawValue(): [TuiDay, TuiTime | null] | null;
12
- onValueChange(value: string): void;
13
- writeValue(value: [TuiDay, TuiTime | null] | null): void;
14
- process(input: HTMLInputElement): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateTimeDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputDateTimeDirective, "tui-input-date-time", never, {}, {}, never, never, false, never>;
17
- }
@@ -1,23 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-date-time.component";
3
- import * as i2 from "./input-date-time.directive";
4
- import * as i3 from "./native-date-time/native-date-time.directive";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@maskito/angular";
7
- import * as i6 from "@taiga-ui/polymorpheus";
8
- import * as i7 from "@taiga-ui/core/directives/appearance";
9
- import * as i8 from "@taiga-ui/core/components/calendar";
10
- import * as i9 from "@taiga-ui/core/components/icon";
11
- import * as i10 from "@taiga-ui/legacy/directives";
12
- import * as i11 from "@taiga-ui/core/components/link";
13
- import * as i12 from "@taiga-ui/legacy/components/primitive-textfield";
14
- import * as i13 from "@taiga-ui/core/directives/dropdown";
15
- /**
16
- * TODO(v5): delete it
17
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-time TuiInputDateTime} (from @taiga-ui/kit) instead
18
- */
19
- export declare class TuiInputDateTimeModule {
20
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateTimeModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateTimeModule, [typeof i1.TuiInputDateTimeComponent, typeof i2.TuiInputDateTimeDirective, typeof i3.TuiNativeDateTimeDirective], [typeof i4.CommonModule, typeof i5.MaskitoDirective, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiAppearance, typeof i8.TuiCalendar, typeof i9.TuiIcon, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i11.TuiLink, typeof i12.TuiPrimitiveTextfieldModule, typeof i10.TuiTextfieldControllerModule, typeof i10.TuiValueAccessorModule, typeof i13.TuiDropdownOptionsDirective, typeof i13.TuiDropdownDriverDirective, typeof i13.TuiDropdownDirective, typeof i13.TuiDropdownComponent, typeof i13.TuiDropdownOpen, typeof i13.TuiDropdownOpenLegacy, typeof i13.TuiDropdownManual, typeof i13.TuiDropdownHover, typeof i13.TuiDropdownContent, typeof i13.TuiDropdownContext, typeof i13.TuiDropdownPosition, typeof i13.TuiDropdownPositionSided, typeof i13.TuiDropdownSelection], [typeof i1.TuiInputDateTimeComponent, typeof i2.TuiInputDateTimeDirective, typeof i12.TuiTextfieldComponent, typeof i13.TuiDropdownOptionsDirective, typeof i13.TuiDropdownDriverDirective, typeof i13.TuiDropdownDirective, typeof i13.TuiDropdownComponent, typeof i13.TuiDropdownOpen, typeof i13.TuiDropdownOpenLegacy, typeof i13.TuiDropdownManual, typeof i13.TuiDropdownHover, typeof i13.TuiDropdownContent, typeof i13.TuiDropdownContext, typeof i13.TuiDropdownPosition, typeof i13.TuiDropdownPositionSided, typeof i13.TuiDropdownSelection]>;
22
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateTimeModule>;
23
- }
@@ -1,13 +0,0 @@
1
- import { TuiInputDateTimeDirective } from '../input-date-time.directive';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * TODO(v5): delete it
5
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-time#mobile TuiInputDateTime} (from @taiga-ui/kit) instead
6
- */
7
- export declare class TuiNativeDateTimeDirective {
8
- protected readonly host: TuiInputDateTimeDirective;
9
- protected get value(): string;
10
- protected onChange(value: string): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeDateTimeDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiNativeDateTimeDirective, "input[tuiDateTime]", never, {}, {}, never, never, false, never>;
13
- }
@@ -1,3 +0,0 @@
1
- export * from './input-month-range.component';
2
- export * from './input-month-range.directive';
3
- export * from './input-month-range.module';
@@ -1,38 +0,0 @@
1
- import { type TuiMonth, TuiMonthRange, type TuiYear } from '@taiga-ui/cdk/date-time';
2
- import { type TuiBooleanHandler } from '@taiga-ui/cdk/types';
3
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
4
- import { type TuiInputDateOptions } from '@taiga-ui/kit/tokens';
5
- import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
6
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * TODO(v5): delete it
10
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month#range TuiInputMonth} (from @taiga-ui/kit) instead
11
- */
12
- export declare class TuiInputMonthRangeComponent extends AbstractTuiNullableControl<TuiMonthRange> implements TuiFocusableElementAccessor {
13
- private readonly textfield?;
14
- private readonly options;
15
- private readonly textfieldSize;
16
- protected readonly formatter: import("@taiga-ui/cdk/types").TuiHandler<TuiMonth | null, import("rxjs").Observable<string>>;
17
- min: TuiMonth;
18
- max: TuiMonth;
19
- disabledItemHandler: TuiBooleanHandler<TuiMonth>;
20
- minLength: number | null;
21
- maxLength: number | null;
22
- defaultActiveYear: TuiYear;
23
- open: boolean;
24
- get nativeFocusableElement(): HTMLInputElement | null;
25
- get focused(): boolean;
26
- setDisabledState(): void;
27
- computeValue(from: string | null, to: string | null): string;
28
- onValueChange(value: string): void;
29
- onMonthClick(month: TuiMonth): void;
30
- protected get size(): TuiSizeL | TuiSizeS;
31
- protected get computedDefaultActiveYear(): TuiYear;
32
- protected get calendarIcon(): TuiInputDateOptions['icon'];
33
- protected onOpenChange(open: boolean): void;
34
- protected onActiveZone(focused: boolean): void;
35
- private close;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthRangeComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputMonthRangeComponent, "tui-input-month-range", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "defaultActiveYear": { "alias": "defaultActiveYear"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
38
- }
@@ -1,23 +0,0 @@
1
- import { type DoCheck } from '@angular/core';
2
- import { type TuiMonth } from '@taiga-ui/cdk/date-time';
3
- import { type TuiHandler } from '@taiga-ui/cdk/types';
4
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
5
- import { type Observable } from 'rxjs';
6
- import { type TuiInputMonthRangeComponent } from './input-month-range.component';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * TODO(v5): delete it
10
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month#range TuiInputMonth} (from @taiga-ui/kit) instead
11
- */
12
- export declare class TuiInputMonthRangeDirective extends AbstractTuiTextfieldHost<TuiInputMonthRangeComponent> implements DoCheck {
13
- private readonly value$;
14
- private localizedValue;
15
- protected readonly formatter: TuiHandler<TuiMonth | null, Observable<string>>;
16
- protected readonly $: import("rxjs").Subscription;
17
- get readOnly(): boolean;
18
- get value(): string;
19
- ngDoCheck(): void;
20
- onValueChange(value: string): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthRangeDirective, never>;
22
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputMonthRangeDirective, "tui-input-month-range", never, {}, {}, never, never, false, never>;
23
- }
@@ -1,18 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-month-range.component";
3
- import * as i2 from "./input-month-range.directive";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@taiga-ui/kit/components/calendar-month";
6
- import * as i5 from "@taiga-ui/legacy/directives";
7
- import * as i6 from "@taiga-ui/cdk/pipes/mapper";
8
- import * as i7 from "@taiga-ui/legacy/components/primitive-textfield";
9
- import * as i8 from "@taiga-ui/core/directives/dropdown";
10
- /**
11
- * TODO(v5): delete it
12
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month#range TuiInputMonth} (from @taiga-ui/kit) instead
13
- */
14
- export declare class TuiInputMonthRangeModule {
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthRangeModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputMonthRangeModule, [typeof i1.TuiInputMonthRangeComponent, typeof i2.TuiInputMonthRangeDirective], [typeof i3.CommonModule, typeof i4.TuiCalendarMonth, typeof i5.TuiLegacyDropdownOpenMonitorDirective, typeof i6.TuiMapperPipe, typeof i7.TuiPrimitiveTextfieldModule, typeof i5.TuiTextfieldControllerModule, typeof i8.TuiDropdownOptionsDirective, typeof i8.TuiDropdownDriverDirective, typeof i8.TuiDropdownDirective, typeof i8.TuiDropdownComponent, typeof i8.TuiDropdownOpen, typeof i8.TuiDropdownOpenLegacy, typeof i8.TuiDropdownManual, typeof i8.TuiDropdownHover, typeof i8.TuiDropdownContent, typeof i8.TuiDropdownContext, typeof i8.TuiDropdownPosition, typeof i8.TuiDropdownPositionSided, typeof i8.TuiDropdownSelection], [typeof i1.TuiInputMonthRangeComponent, typeof i2.TuiInputMonthRangeDirective, typeof i7.TuiTextfieldComponent, typeof i8.TuiDropdownOptionsDirective, typeof i8.TuiDropdownDriverDirective, typeof i8.TuiDropdownDirective, typeof i8.TuiDropdownComponent, typeof i8.TuiDropdownOpen, typeof i8.TuiDropdownOpenLegacy, typeof i8.TuiDropdownManual, typeof i8.TuiDropdownHover, typeof i8.TuiDropdownContent, typeof i8.TuiDropdownContext, typeof i8.TuiDropdownPosition, typeof i8.TuiDropdownPositionSided, typeof i8.TuiDropdownSelection]>;
17
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputMonthRangeModule>;
18
- }
@@ -1,4 +0,0 @@
1
- export * from './input-number.component';
2
- export * from './input-number.directive';
3
- export * from './input-number.module';
4
- export * from './input-number.options';
@@ -1,62 +0,0 @@
1
- import { InjectionToken, type QueryList } from '@angular/core';
2
- import { type MaskitoOptions } from '@maskito/core';
3
- import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
4
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
5
- import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
6
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
7
- import { type TuiInputNumberOptions } from './input-number.options';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-number tuiInputNumberOptionsProvider} (from @taiga-ui/kit) (property `valueTransformer`) instead
11
- * TODO(v5): delete it
12
- */
13
- export declare const TUI_NUMBER_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<number | null, unknown>>;
14
- /**
15
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-number TuiInputNumber} (from @taiga-ui/kit) instead
16
- * TODO(v5): delete it
17
- */
18
- export declare class TuiInputNumberComponent extends AbstractTuiNullableControl<number> implements TuiFocusableElementAccessor {
19
- private readonly textfield?;
20
- private readonly isIOS;
21
- private readonly textfieldSize;
22
- private readonly options;
23
- private unfinishedValue;
24
- protected readonly polymorpheusValueContent: QueryList<unknown>;
25
- protected readonly valueTransformer: TuiValueTransformer<number | null, unknown> | null;
26
- protected numberFormat: import("@angular/core").Signal<import("@taiga-ui/core/tokens").TuiNumberFormatSettings>;
27
- protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
28
- min: number | null;
29
- max: number | null;
30
- step: number;
31
- get nativeFocusableElement(): HTMLInputElement | null;
32
- get focused(): boolean;
33
- get inputMode(): string;
34
- get calculatedMaxLength(): number;
35
- get computedValue(): string;
36
- onValueChange(nativeValue: string): void;
37
- writeValue(value: number | null): void;
38
- protected get size(): TuiSizeL | TuiSizeS;
39
- protected get icons(): TuiInputNumberOptions['icons'];
40
- protected get computedMin(): number;
41
- protected get computedMax(): number;
42
- protected get isNegativeAllowed(): boolean;
43
- protected get formattedValue(): string;
44
- protected get canDecrement(): boolean;
45
- protected get canIncrement(): boolean;
46
- protected get computedPrefix(): string;
47
- protected get computedPostfix(): string;
48
- protected get mask(): MaskitoOptions;
49
- protected get nativeValue(): string;
50
- protected set nativeValue(value: string);
51
- protected onArrow(step: number | null): void;
52
- protected onFocused(focused: boolean): void;
53
- protected getFormattedValue(value: number): string;
54
- private get isNativeValueNotFinished();
55
- private get nativeNumberValue();
56
- private get precision();
57
- private computeMin;
58
- private computeMax;
59
- private calculateMask;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputNumberComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputNumberComponent, "tui-input-number", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; }, {}, ["polymorpheusValueContent"], ["*", "input", "tuiContent"], false, never>;
62
- }
@@ -1,16 +0,0 @@
1
- import { type DoCheck } from '@angular/core';
2
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
3
- import { type TuiInputNumberComponent } from './input-number.component';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-number TuiInputNumber} (from @taiga-ui/kit) instead
7
- * TODO(v5): delete it
8
- */
9
- export declare class TuiInputNumberDirective extends AbstractTuiTextfieldHost<TuiInputNumberComponent> implements DoCheck {
10
- protected input?: HTMLInputElement;
11
- get value(): string;
12
- onValueChange(value: string): void;
13
- ngDoCheck(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputNumberDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputNumberDirective, "tui-input-number", never, {}, {}, never, never, false, never>;
16
- }
@@ -1,18 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-number.component";
3
- import * as i2 from "./input-number.directive";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@maskito/angular";
6
- import * as i5 from "@taiga-ui/polymorpheus";
7
- import * as i6 from "@taiga-ui/core/components/button";
8
- import * as i7 from "@taiga-ui/legacy/components/primitive-textfield";
9
- import * as i8 from "@taiga-ui/legacy/directives";
10
- /**
11
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-number TuiInputNumber} (from @taiga-ui/kit) instead
12
- * TODO(v5): delete it
13
- */
14
- export declare class TuiInputNumberModule {
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputNumberModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputNumberModule, [typeof i1.TuiInputNumberComponent, typeof i2.TuiInputNumberDirective], [typeof i3.CommonModule, typeof i4.MaskitoDirective, typeof i5.PolymorpheusOutlet, typeof i5.PolymorpheusTemplate, typeof i6.TuiButton, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiTextfieldControllerModule, typeof i8.TuiValueAccessorModule], [typeof i1.TuiInputNumberComponent, typeof i2.TuiInputNumberDirective, typeof i7.TuiTextfieldComponent]>;
17
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputNumberModule>;
18
- }
@@ -1,29 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- /**
3
- * @deprecated use new version of {@link TuiInputNumberOptions} (from @taiga-ui/kit) instead
4
- * TODO(v5): delete it
5
- */
6
- export interface TuiInputNumberOptions {
7
- readonly icons: Readonly<{
8
- down: string;
9
- up: string;
10
- }>;
11
- readonly max: number;
12
- readonly min: number;
13
- readonly step: number;
14
- }
15
- /**
16
- * @deprecated use new version of {@link TUI_INPUT_NUMBER_DEFAULT_OPTIONS} (from @taiga-ui/kit) instead
17
- * TODO(v5): delete it
18
- */
19
- export declare const TUI_INPUT_NUMBER_DEFAULT_OPTIONS: TuiInputNumberOptions;
20
- /**
21
- * @deprecated use new version of {@link TUI_INPUT_NUMBER_OPTIONS} (from @taiga-ui/kit) instead
22
- * TODO(v5): delete it
23
- */
24
- export declare const TUI_INPUT_NUMBER_OPTIONS: InjectionToken<TuiInputNumberOptions>;
25
- /**
26
- * @deprecated use new version of {@link tuiInputNumberOptionsProvider} (from @taiga-ui/kit) instead
27
- * TODO(v5): delete it
28
- */
29
- export declare function tuiInputNumberOptionsProvider(options: Partial<TuiInputNumberOptions>): Provider;
@@ -1,2 +0,0 @@
1
- export * from './input-range.component';
2
- export * from './input-range.module';
@@ -1,56 +0,0 @@
1
- import { type TuiContext } from '@taiga-ui/cdk/types';
2
- import { type TuiKeySteps } from '@taiga-ui/kit/components/slider';
3
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
4
- import { type TuiFocusableElementAccessor, type TuiNativeFocusableElement } from '@taiga-ui/legacy/tokens';
5
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * TODO(v5): delete it
9
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-range TuiInputRange} (from @taiga-ui/kit) instead
10
- */
11
- export declare class TuiInputRangeComponent extends AbstractTuiControl<[number, number]> implements TuiFocusableElementAccessor {
12
- private readonly inputNumberRefs;
13
- private readonly range?;
14
- private readonly isMobile;
15
- private readonly el;
16
- protected leftTextfieldValue: number;
17
- protected rightTextfieldValue: number;
18
- protected lastActiveSide: 'left' | 'right';
19
- protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
20
- min: number;
21
- max: number;
22
- quantum: number;
23
- steps: number;
24
- segments: number;
25
- keySteps: TuiKeySteps | null;
26
- leftValueContent: PolymorpheusContent<TuiContext<number>>;
27
- rightValueContent: PolymorpheusContent<TuiContext<number>>;
28
- pluralize: Record<string, string> | null;
29
- get nativeFocusableElement(): TuiNativeFocusableElement | null;
30
- get focused(): boolean;
31
- writeValue(value: [number, number]): void;
32
- protected get leftFocusableElement(): HTMLInputElement | null;
33
- protected get rightFocusableElement(): HTMLInputElement | null;
34
- protected get appearance(): string;
35
- protected get showLeftValueContent(): boolean;
36
- protected get showRightValueContent(): boolean;
37
- protected get precision(): number;
38
- protected get computedSteps(): number;
39
- protected get step(): number;
40
- protected computeKeySteps(keySteps: TuiKeySteps | null, min: number, max: number): TuiKeySteps;
41
- protected onActiveZone(active: boolean): void;
42
- protected onTextInputFocused(focused: boolean): void;
43
- protected changeByStep(event: Event | KeyboardEvent, [leftCoefficient, rightCoefficient]: [number, number]): void;
44
- protected onInputLeft(value: number | null): void;
45
- protected onInputRight(value: number | null): void;
46
- protected onExternalValueUpdate(value: [number, number]): void;
47
- protected focusToTextInput(): void;
48
- protected onActiveThumbChange(activeThumb: 'end' | 'start'): void;
49
- protected getFallbackValue(): [number, number];
50
- private safelyUpdateValue;
51
- private valueGuard;
52
- private calibrate;
53
- private updateTextfieldValues;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputRangeComponent, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputRangeComponent, "tui-input-range", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "quantum": { "alias": "quantum"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "keySteps": { "alias": "keySteps"; "required": false; }; "leftValueContent": { "alias": "leftValueContent"; "required": false; }; "rightValueContent": { "alias": "rightValueContent"; "required": false; }; "pluralize": { "alias": "pluralize"; "required": false; }; }, {}, never, ["*"], false, never>;
56
- }
@@ -1,19 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-range.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@taiga-ui/polymorpheus";
6
- import * as i5 from "@taiga-ui/cdk/directives/active-zone";
7
- import * as i6 from "@taiga-ui/legacy/components/input-number";
8
- import * as i7 from "@taiga-ui/core/directives/number-format";
9
- import * as i8 from "@taiga-ui/kit/components/range";
10
- import * as i9 from "@taiga-ui/legacy/directives";
11
- /**
12
- * TODO(v5): delete it
13
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-range TuiInputRange} (from @taiga-ui/kit) instead
14
- */
15
- export declare class TuiInputRangeModule {
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputRangeModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputRangeModule, [typeof i1.TuiInputRangeComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiActiveZone, typeof i6.TuiInputNumberModule, typeof i7.TuiNumberFormat, typeof i8.TuiRange, typeof i9.TuiTextfieldControllerModule, typeof i9.TuiWrapperModule], [typeof i1.TuiInputRangeComponent]>;
18
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputRangeModule>;
19
- }
@@ -1,2 +0,0 @@
1
- export * from './input-slider.component';
2
- export * from './input-slider.module';
@@ -1,42 +0,0 @@
1
- import { type TuiContext } from '@taiga-ui/cdk/types';
2
- import { type TuiKeySteps } from '@taiga-ui/kit/components/slider';
3
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
4
- import { type TuiFocusableElementAccessor, type TuiNativeFocusableElement } from '@taiga-ui/legacy/tokens';
5
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * TODO(v5): delete it
9
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-slider TuiInputSlider} (from @taiga-ui/kit) instead
10
- */
11
- export declare class TuiInputSliderComponent extends AbstractTuiControl<number> implements TuiFocusableElementAccessor {
12
- private readonly inputNumberRef?;
13
- private readonly sliderRef?;
14
- protected textfieldValue: number;
15
- protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
16
- min: number;
17
- max: number;
18
- quantum: number;
19
- steps: number;
20
- segments: number[] | number;
21
- keySteps: TuiKeySteps | null;
22
- valueContent: PolymorpheusContent<TuiContext<number>>;
23
- get nativeFocusableElement(): TuiNativeFocusableElement | null;
24
- get focused(): boolean;
25
- writeValue(value: number | null): void;
26
- protected get prefix(): string;
27
- protected get postfix(): string;
28
- protected get computedSteps(): number;
29
- protected get precision(): number;
30
- protected get showValueContent(): boolean;
31
- protected get step(): number;
32
- protected computeKeySteps(keySteps: TuiKeySteps | null, min: number, max: number): TuiKeySteps;
33
- protected focusTextInput(): void;
34
- protected safelyUpdateValue(value: number | null): void;
35
- protected onVerticalArrowKeyDown(coefficient: number): void;
36
- protected onSliderChange(newValue: number): void;
37
- protected onFocused(focused: boolean): void;
38
- protected getFallbackValue(): number;
39
- private valueGuard;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputSliderComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputSliderComponent, "tui-input-slider", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "quantum": { "alias": "quantum"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "keySteps": { "alias": "keySteps"; "required": false; }; "valueContent": { "alias": "valueContent"; "required": false; }; }, {}, never, ["*"], false, never>;
42
- }
@@ -1,18 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-slider.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@taiga-ui/polymorpheus";
6
- import * as i5 from "@taiga-ui/legacy/components/input-number";
7
- import * as i6 from "@taiga-ui/core/directives/number-format";
8
- import * as i7 from "@taiga-ui/legacy/directives";
9
- import * as i8 from "@taiga-ui/kit/components/slider";
10
- /**
11
- * TODO(v5): delete it
12
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-slider TuiInputSlider} (from @taiga-ui/kit) instead
13
- */
14
- export declare class TuiInputSliderModule {
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputSliderModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputSliderModule, [typeof i1.TuiInputSliderComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiInputNumberModule, typeof i6.TuiNumberFormat, typeof i7.TuiTextfieldControllerModule, typeof i8.TuiSliderComponent, typeof i8.TuiSliderThumbLabel, typeof i8.TuiSliderKeyStepsBase, typeof i8.TuiSliderKeySteps, typeof i8.TuiSliderReadonly], [typeof i1.TuiInputSliderComponent, typeof i8.TuiSliderComponent, typeof i8.TuiSliderThumbLabel, typeof i8.TuiSliderKeyStepsBase, typeof i8.TuiSliderKeySteps, typeof i8.TuiSliderReadonly]>;
17
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputSliderModule>;
18
- }
@@ -1,3 +0,0 @@
1
- export * from './input-tag.component';
2
- export * from './input-tag.module';
3
- export * from './input-tag.options';
@@ -1,103 +0,0 @@
1
- import { EventEmitter, TemplateRef } from '@angular/core';
2
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
3
- import { type TuiBooleanHandler, type TuiContext } from '@taiga-ui/cdk/types';
4
- import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
5
- import { TuiHintOptionsDirective } from '@taiga-ui/core/directives/hint';
6
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
7
- import { AbstractTuiMultipleControl, type TuiStringifiableItem } from '@taiga-ui/legacy/classes';
8
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
9
- import { type TuiStatus } from '@taiga-ui/legacy/utils';
10
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
11
- import * as i0 from "@angular/core";
12
- import * as i1 from "@taiga-ui/core/directives/dropdown";
13
- /**
14
- * TODO(v5): delete it
15
- * @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
16
- */
17
- export declare class TuiInputTagComponent extends AbstractTuiMultipleControl<string> implements TuiFocusableElementAccessor, TuiDataListHost<string> {
18
- private readonly dropdown?;
19
- private readonly focusableElement?;
20
- private readonly tagsContainer?;
21
- private readonly tags;
22
- private readonly cleanerSvg?;
23
- private readonly scrollBar?;
24
- private readonly el;
25
- private readonly options;
26
- protected readonly datalist?: TemplateRef<TuiContext<TuiActiveZone>>;
27
- protected readonly valueContent?: unknown;
28
- protected readonly errorIconTemplate?: TemplateRef<Record<string, unknown>>;
29
- protected readonly textfieldOptions: import("@taiga-ui/core/components/textfield").TuiTextfieldOptions;
30
- protected readonly hintOptions: TuiHintOptionsDirective | null;
31
- protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
32
- protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
33
- protected status: TuiStatus;
34
- protected open: boolean;
35
- separator: RegExp | string;
36
- search: string | null;
37
- editable: boolean;
38
- tagValidator: TuiBooleanHandler<string> | TuiBooleanHandler<TuiStringifiableItem<unknown> | string>;
39
- rows: number;
40
- inputHidden: boolean;
41
- uniqueTags: boolean;
42
- autoColor: boolean;
43
- maxLength: number | null;
44
- placeholder: string;
45
- removable: boolean;
46
- disabledItemHandler: TuiBooleanHandler<TuiStringifiableItem<any> | string>;
47
- readonly searchChange: EventEmitter<string>;
48
- pseudoOpen: import("@angular/core").WritableSignal<boolean>;
49
- set pseudoFocusedSetter(value: boolean | null);
50
- /**
51
- * @deprecated hack
52
- */
53
- set setPseudoOpen(value: boolean);
54
- get labelOutside(): boolean;
55
- get size(): TuiSizeL | TuiSizeS;
56
- get nativeFocusableElement(): HTMLInputElement | null;
57
- get hasValue(): boolean;
58
- get hasExampleText(): boolean;
59
- get hasPlaceholder(): boolean;
60
- get focused(): boolean;
61
- get tagsEmpty(): boolean;
62
- onTagEdited(value: string, index: number): void;
63
- handleOption(item: string): void;
64
- setDisabledState(): void;
65
- protected get iconStart(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
66
- protected get appearance(): string;
67
- protected get expandable(): boolean;
68
- protected get icon(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
69
- protected get iconCleaner(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
70
- protected get hasCleaner(): boolean;
71
- protected get hasNativeValue(): boolean;
72
- protected get placeholderRaised(): boolean;
73
- protected get hasRightIcons(): boolean;
74
- protected get showHint(): boolean;
75
- protected get canOpen(): boolean;
76
- protected get computeMaxHeight(): number | null;
77
- protected onFocusInOut(): void;
78
- protected detectRetargetFromLabel(event: Event): void;
79
- protected getLeftContent(tag: string): PolymorpheusContent;
80
- protected onCleanerClick(): void;
81
- protected onActiveZone(active: boolean): void;
82
- protected onMouseDown(event: MouseEvent): void;
83
- protected onFieldKeyDownBackspace(event: Event): void;
84
- protected onFieldKeyDownArrowLeft(event: Event): void;
85
- protected onFieldKeyDownEnter(): void;
86
- protected onTagKeyDownArrowLeft(currentIndex: number): void;
87
- protected onTagKeyDownArrowRight(currentIndex: number): void;
88
- protected onInput(value: string): void;
89
- protected onPaste(event: Event): void;
90
- protected onDrop({ dataTransfer }: DragEvent): void;
91
- protected trackByFn(_: number, tag: string): string;
92
- private get lineHeight();
93
- private scrollTo;
94
- private filterValue;
95
- private onScrollKeyDown;
96
- private updateSearch;
97
- private addTag;
98
- private deleteLastEnabledItem;
99
- private focusInput;
100
- private clippedValue;
101
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTagComponent, never>;
102
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputTagComponent, "tui-input-tag", never, { "separator": { "alias": "separator"; "required": false; }; "search": { "alias": "search"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "tagValidator": { "alias": "tagValidator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "inputHidden": { "alias": "inputHidden"; "required": false; }; "uniqueTags": { "alias": "uniqueTags"; "required": false; }; "autoColor": { "alias": "autoColor"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "pseudoFocusedSetter": { "alias": "pseudoFocused"; "required": false; }; "setPseudoOpen": { "alias": "pseudoOpen"; "required": false; }; }, { "searchChange": "searchChange"; }, ["datalist", "valueContent"], ["*", "tuiContent", "select"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
103
- }