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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/components/dialog/dialog.component.d.ts +2 -1
  2. package/components/dialog/dialog.service.d.ts +1 -1
  3. package/components/index.d.ts +0 -11
  4. package/components/mobile-dialog/mobile-dialog.service.d.ts +1 -1
  5. package/components/pdf-viewer/pdf-viewer.service.d.ts +1 -1
  6. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +17 -17
  7. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -1
  8. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +8 -8
  9. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -1
  10. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +11 -11
  11. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -1
  12. package/fesm2022/taiga-ui-legacy-components.mjs +0 -11
  13. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  14. package/fesm2022/taiga-ui-legacy.mjs +0 -4
  15. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  16. package/index.d.ts +0 -4
  17. package/package.json +15 -93
  18. package/classes/abstract-native-select.d.ts +0 -22
  19. package/classes/abstract-textfield-host.d.ts +0 -19
  20. package/classes/control.d.ts +0 -60
  21. package/classes/controller.d.ts +0 -9
  22. package/classes/index.d.ts +0 -9
  23. package/classes/interactive.d.ts +0 -34
  24. package/classes/multiple-control.d.ts +0 -11
  25. package/classes/named-day.d.ts +0 -11
  26. package/classes/nullable-control.d.ts +0 -10
  27. package/classes/stringifiable-item.d.ts +0 -11
  28. package/components/arrow/arrow.component.d.ts +0 -17
  29. package/components/arrow/arrow.options.d.ts +0 -17
  30. package/components/arrow/arrow.providers.d.ts +0 -18
  31. package/components/arrow/index.d.ts +0 -3
  32. package/components/input/index.d.ts +0 -3
  33. package/components/input/input.component.d.ts +0 -32
  34. package/components/input/input.directive.d.ts +0 -12
  35. package/components/input/input.module.d.ts +0 -16
  36. package/components/input-date-range/index.d.ts +0 -3
  37. package/components/input-date-range/input-date-range.component.d.ts +0 -66
  38. package/components/input-date-range/input-date-range.directive.d.ts +0 -16
  39. package/components/input-date-range/input-date-range.module.d.ts +0 -21
  40. package/components/input-date-time/index.d.ts +0 -3
  41. package/components/input-date-time/input-date-time.component.d.ts +0 -87
  42. package/components/input-date-time/input-date-time.directive.d.ts +0 -17
  43. package/components/input-date-time/input-date-time.module.d.ts +0 -23
  44. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
  45. package/components/input-month-range/index.d.ts +0 -3
  46. package/components/input-month-range/input-month-range.component.d.ts +0 -38
  47. package/components/input-month-range/input-month-range.directive.d.ts +0 -23
  48. package/components/input-month-range/input-month-range.module.d.ts +0 -18
  49. package/components/input-number/index.d.ts +0 -4
  50. package/components/input-number/input-number.component.d.ts +0 -62
  51. package/components/input-number/input-number.directive.d.ts +0 -16
  52. package/components/input-number/input-number.module.d.ts +0 -18
  53. package/components/input-number/input-number.options.d.ts +0 -23
  54. package/components/input-range/index.d.ts +0 -2
  55. package/components/input-range/input-range.component.d.ts +0 -56
  56. package/components/input-range/input-range.module.d.ts +0 -19
  57. package/components/primitive-textfield/index.d.ts +0 -7
  58. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
  59. package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
  60. package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
  61. package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
  62. package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
  63. package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
  64. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
  65. package/components/select/index.d.ts +0 -6
  66. package/components/select/native-select/native-select-group.component.d.ts +0 -17
  67. package/components/select/native-select/native-select.component.d.ts +0 -16
  68. package/components/select/select.component.d.ts +0 -45
  69. package/components/select/select.directive.d.ts +0 -16
  70. package/components/select/select.module.d.ts +0 -24
  71. package/components/select/select.options.d.ts +0 -19
  72. package/components/select-option/index.d.ts +0 -2
  73. package/components/select-option/select-option.component.d.ts +0 -27
  74. package/components/select-option/select-option.module.d.ts +0 -10
  75. package/components/tooltip/index.d.ts +0 -2
  76. package/components/tooltip/tooltip.component.d.ts +0 -12
  77. package/components/tooltip/tooltip.module.d.ts +0 -13
  78. package/directives/index.d.ts +0 -5
  79. package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
  80. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
  81. package/directives/textfield-controller/index.d.ts +0 -14
  82. package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
  83. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
  84. package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
  85. package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
  86. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
  87. package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
  88. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
  89. package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
  90. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
  91. package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
  92. package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
  93. package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
  94. package/directives/textfield-controller/textfield.controller.d.ts +0 -41
  95. package/directives/textfield-controller/textfield.options.d.ts +0 -17
  96. package/directives/unfinished-validator/index.d.ts +0 -2
  97. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
  98. package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
  99. package/directives/value-accessor/index.d.ts +0 -3
  100. package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
  101. package/directives/value-accessor/value-accessor.module.d.ts +0 -7
  102. package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
  103. package/directives/wrapper/README.md +0 -19
  104. package/directives/wrapper/index.d.ts +0 -2
  105. package/directives/wrapper/wrapper.directive.d.ts +0 -22
  106. package/directives/wrapper/wrapper.module.d.ts +0 -10
  107. package/fesm2022/taiga-ui-legacy-classes.mjs +0 -413
  108. package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
  109. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -72
  110. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
  111. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -346
  112. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
  113. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -459
  114. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
  115. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
  116. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
  117. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -375
  118. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
  119. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
  120. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
  121. package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -156
  122. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
  123. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
  124. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
  125. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
  126. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
  127. package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -345
  128. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
  129. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
  130. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
  131. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -49
  132. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
  133. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -397
  134. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
  135. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -48
  136. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
  137. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
  138. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
  139. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
  140. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
  141. package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
  142. package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
  143. package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
  144. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
  145. package/fesm2022/taiga-ui-legacy-utils.mjs +0 -262
  146. package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
  147. package/styles/mixins/mixins.less +0 -239
  148. package/styles/mixins/mixins.scss +0 -224
  149. package/styles/mixins/textfield.less +0 -324
  150. package/styles/mixins/textfield.scss +0 -308
  151. package/styles/taiga-ui-local.less +0 -3
  152. package/styles/taiga-ui-local.scss +0 -3
  153. package/tokens/countries-masks.d.ts +0 -9
  154. package/tokens/focusable-item-accessor.d.ts +0 -25
  155. package/tokens/fonts-ready.d.ts +0 -6
  156. package/tokens/icons.d.ts +0 -6
  157. package/tokens/index.d.ts +0 -14
  158. package/tokens/is-apple.d.ts +0 -6
  159. package/tokens/is-chromium.d.ts +0 -6
  160. package/tokens/is-firefox.d.ts +0 -6
  161. package/tokens/is-stackblitz.d.ts +0 -5
  162. package/tokens/month-formatter.d.ts +0 -10
  163. package/tokens/sanitizer.d.ts +0 -6
  164. package/tokens/textfield-appearance.d.ts +0 -7
  165. package/tokens/textfield-host.d.ts +0 -23
  166. package/tokens/touch-supported.d.ts +0 -5
  167. package/tokens/value-accessor.d.ts +0 -7
  168. package/utils/capitalize-first-letter.d.ts +0 -4
  169. package/utils/date-mode-maskito-adapter.d.ts +0 -6
  170. package/utils/format-phone.d.ts +0 -30
  171. package/utils/get-border.d.ts +0 -5
  172. package/utils/get-max-allowed-phone-length.d.ts +0 -24
  173. package/utils/get-safe-area-size.d.ts +0 -7
  174. package/utils/icons-path-factory.d.ts +0 -13
  175. package/utils/index.d.ts +0 -13
  176. package/utils/is-presumed-html-string.d.ts +0 -4
  177. package/utils/iso-to-country-code.d.ts +0 -13
  178. package/utils/not-kz-region.d.ts +0 -20
  179. package/utils/process-icon.d.ts +0 -4
  180. package/utils/specific-dropdown-controllers.d.ts +0 -4
  181. 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,23 +0,0 @@
1
- /**
2
- * @deprecated use new version of {@link TuiInputNumberOptions} (from @taiga-ui/kit) instead
3
- * TODO(v5): delete it
4
- */
5
- export interface TuiInputNumberOptions {
6
- readonly icons: Readonly<{
7
- down: string;
8
- up: string;
9
- }>;
10
- readonly max: number;
11
- readonly min: number;
12
- readonly step: number;
13
- }
14
- /**
15
- * @deprecated use new version of {@link TUI_INPUT_NUMBER_DEFAULT_OPTIONS} (from @taiga-ui/kit) instead
16
- * TODO(v5): delete it
17
- */
18
- export declare const TUI_INPUT_NUMBER_DEFAULT_OPTIONS: TuiInputNumberOptions;
19
- /**
20
- * @deprecated use new version of {@link TUI_INPUT_NUMBER_OPTIONS} (from @taiga-ui/kit) instead
21
- * TODO(v5): delete it
22
- */
23
- export declare const TUI_INPUT_NUMBER_OPTIONS: import("@angular/core").InjectionToken<TuiInputNumberOptions>, tuiInputNumberOptionsProvider: (item: Partial<TuiInputNumberOptions> | (() => Partial<TuiInputNumberOptions>)) => import("@angular/core").FactoryProvider;
@@ -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,7 +0,0 @@
1
- export * from './primitive-textfield.component';
2
- export * from './primitive-textfield.directive';
3
- export * from './primitive-textfield.module';
4
- export * from './primitive-textfield-options';
5
- export type * from './primitive-textfield-types';
6
- export * from './textfield/textfield.component';
7
- export * from './value-decoration/value-decoration.component';
@@ -1,21 +0,0 @@
1
- import { type TuiTextfieldOptions } from '@taiga-ui/legacy/directives';
2
- /**
3
- * @deprecated:
4
- * use {@link TuiTextfieldOptions}
5
- */
6
- export type TuiPrimitiveTextfieldOptions = TuiTextfieldOptions;
7
- /**
8
- * @deprecated:
9
- * use {@link TUI_TEXTFIELD_DEFAULT_OPTIONS}
10
- */
11
- export declare const TUI_PRIMITIVE_TEXTFIELD_DEFAULT_OPTIONS: TuiPrimitiveTextfieldOptions;
12
- /**
13
- * @deprecated:
14
- * use {@link TUI_TEXTFIELD_OPTIONS}
15
- */
16
- export declare const TUI_PRIMITIVE_TEXTFIELD_OPTIONS: import("@angular/core").InjectionToken<TuiTextfieldOptions>;
17
- /**
18
- * @deprecated:
19
- * use {@link tuiTextfieldOptionsProvider}
20
- */
21
- export declare const tuiPrimitiveTextfieldOptionsProvider: (item: Partial<TuiTextfieldOptions> | (() => Partial<TuiTextfieldOptions>)) => import("@angular/core").FactoryProvider;
@@ -1,11 +0,0 @@
1
- import { type AbstractTuiInteractive } from '@taiga-ui/legacy/classes';
2
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
3
- export type TuiPrimitiveTextfield = AbstractTuiInteractive & TuiFocusableElementAccessor & {
4
- appearance: string;
5
- filler: string;
6
- nativeFocusableElement: HTMLInputElement | null;
7
- postfix: string;
8
- prefix: string;
9
- readOnly: boolean;
10
- value: string;
11
- };
@@ -1,73 +0,0 @@
1
- import { EventEmitter, type QueryList } from '@angular/core';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { TuiHintOptionsDirective } from '@taiga-ui/core/directives/hint';
4
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
5
- import { AbstractTuiInteractive } from '@taiga-ui/legacy/classes';
6
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
7
- import { type Observable } from 'rxjs';
8
- import { type TuiPrimitiveTextfield } from './primitive-textfield-types';
9
- import * as i0 from "@angular/core";
10
- export declare const TUI_ICON_START_PADDINGS: Record<TuiSizeL | TuiSizeS, number>;
11
- /**
12
- * @deprecated: use {@link TuiTextfield}
13
- * https://taiga-ui.dev/components/textfield
14
- */
15
- export declare class TuiPrimitiveTextfieldComponent extends AbstractTuiInteractive implements TuiPrimitiveTextfield {
16
- private readonly focusableElement?;
17
- private readonly legacyOptions;
18
- private readonly el;
19
- protected readonly content?: QueryList<unknown>;
20
- protected readonly options: import("@taiga-ui/core/components/textfield").TuiTextfieldOptions;
21
- protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
22
- protected readonly hintOptions: TuiHintOptionsDirective | null;
23
- protected autofilled: boolean;
24
- editable: boolean;
25
- /**
26
- * @deprecated:
27
- * use `tuiTextfieldOptionsProvider({iconCleaner: `@tui.chevron-up`})`
28
- */
29
- iconCleaner: PolymorpheusContent<TuiContext<"m" | "l" | "s">>;
30
- readOnly: boolean;
31
- invalid: boolean;
32
- disabled: boolean;
33
- value: string;
34
- readonly valueChange: EventEmitter<string>;
35
- get prefix(): string;
36
- get postfix(): string;
37
- get filler(): string;
38
- get nativeFocusableElement(): HTMLInputElement | null;
39
- get focused(): boolean;
40
- get appearance(): string;
41
- onModelChange(value: string): void;
42
- protected get labelOutside(): boolean;
43
- protected get size(): TuiSizeL | TuiSizeS;
44
- protected get computedInvalid(): boolean;
45
- protected get inputHidden(): boolean;
46
- protected get borderStart(): number;
47
- protected get borderEnd(): number;
48
- protected get hasValue(): boolean;
49
- protected get hasCleaner(): boolean;
50
- protected get hasTooltip(): boolean;
51
- protected get hasCustomContent(): boolean;
52
- protected get placeholderVisible(): boolean;
53
- protected get hasPlaceholder(): boolean;
54
- protected get placeholderRaised(): boolean;
55
- protected get iconContent(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
56
- protected get iconLeftContent(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
57
- protected get showHint(): boolean;
58
- protected get name(): 'ccexpiryyear' | null;
59
- protected get computedId(): string;
60
- protected getIndent$(element: HTMLElement): Observable<number>;
61
- protected onFocused(focused: boolean): void;
62
- protected clear(): void;
63
- protected onMouseDown(event: MouseEvent): void;
64
- protected transitionStartHandler({ propertyName, target }: TransitionEvent): void;
65
- protected onAutofilled(autofilled: boolean): void;
66
- protected detectRetargetFromLabel(event: Event): void;
67
- private get iconPaddingLeft();
68
- private get placeholderRaisable();
69
- private updateAutofilled;
70
- private updateValue;
71
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPrimitiveTextfieldComponent, never>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiPrimitiveTextfieldComponent, "tui-primitive-textfield", never, { "editable": { "alias": "editable"; "required": false; }; "iconCleaner": { "alias": "iconCleaner"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, ["content"], ["input", "select", "tuiContent", "*"], false, never>;
73
- }
@@ -1,14 +0,0 @@
1
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
2
- import { TuiPrimitiveTextfieldComponent } from './primitive-textfield.component';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * @deprecated: use {@link TuiTextfield}
6
- * https://taiga-ui.dev/components/textfield
7
- */
8
- export declare class TuiPrimitiveTextfieldDirective extends AbstractTuiTextfieldHost<any> {
9
- protected readonly host: TuiPrimitiveTextfieldComponent;
10
- get readOnly(): boolean;
11
- onValueChange(value: string): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPrimitiveTextfieldDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPrimitiveTextfieldDirective, "tui-primitive-textfield", never, {}, {}, never, never, false, never>;
14
- }
@@ -1,21 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./primitive-textfield.component";
3
- import * as i2 from "./primitive-textfield.directive";
4
- import * as i3 from "./textfield/textfield.component";
5
- import * as i4 from "./value-decoration/value-decoration.component";
6
- import * as i5 from "@angular/common";
7
- import * as i6 from "@angular/forms";
8
- import * as i7 from "@taiga-ui/polymorpheus";
9
- import * as i8 from "@taiga-ui/core/directives/appearance";
10
- import * as i9 from "@taiga-ui/core/components/icon";
11
- import * as i10 from "@taiga-ui/legacy/components/tooltip";
12
- import * as i11 from "@taiga-ui/legacy/directives/wrapper";
13
- /**
14
- * @deprecated: use {@link TuiTextfield}
15
- * https://taiga-ui.dev/components/textfield
16
- */
17
- export declare class TuiPrimitiveTextfieldModule {
18
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPrimitiveTextfieldModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiPrimitiveTextfieldModule, [typeof i1.TuiPrimitiveTextfieldComponent, typeof i2.TuiPrimitiveTextfieldDirective, typeof i3.TuiTextfieldComponent, typeof i4.TuiValueDecorationComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.PolymorpheusOutlet, typeof i7.PolymorpheusTemplate, typeof i8.TuiAppearance, typeof i9.TuiIcon, typeof i10.TuiTooltipModule, typeof i11.TuiWrapperModule], [typeof i1.TuiPrimitiveTextfieldComponent, typeof i2.TuiPrimitiveTextfieldDirective, typeof i3.TuiTextfieldComponent]>;
20
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiPrimitiveTextfieldModule>;
21
- }
@@ -1,13 +0,0 @@
1
- import { type TuiTextfieldHost } from '@taiga-ui/legacy/tokens';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiTextfieldComponent {
4
- private readonly autoId;
5
- private readonly el;
6
- protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
7
- protected readonly host: TuiTextfieldHost;
8
- constructor();
9
- protected get id(): string;
10
- protected get inputMode(): string;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextfieldComponent, "input[tuiTextfieldLegacy], textarea[tuiTextfieldLegacy]", never, {}, {}, never, never, false, never>;
13
- }