@taiga-ui/legacy 4.52.0-canary.6ee9658 → 4.52.0-canary.763e67d

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 (143) hide show
  1. package/components/dialog/dialog.service.d.ts +1 -1
  2. package/components/index.d.ts +0 -5
  3. package/components/mobile-dialog/mobile-dialog.service.d.ts +1 -1
  4. package/components/pdf-viewer/pdf-viewer.service.d.ts +1 -1
  5. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +11 -11
  6. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -1
  7. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +8 -8
  8. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -1
  9. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +10 -10
  10. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -1
  11. package/fesm2022/taiga-ui-legacy-components.mjs +0 -5
  12. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  13. package/fesm2022/taiga-ui-legacy.mjs +0 -4
  14. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  15. package/index.d.ts +0 -4
  16. package/package.json +15 -69
  17. package/classes/abstract-native-select.d.ts +0 -22
  18. package/classes/abstract-textfield-host.d.ts +0 -19
  19. package/classes/control.d.ts +0 -60
  20. package/classes/controller.d.ts +0 -9
  21. package/classes/index.d.ts +0 -9
  22. package/classes/interactive.d.ts +0 -34
  23. package/classes/multiple-control.d.ts +0 -11
  24. package/classes/named-day.d.ts +0 -11
  25. package/classes/nullable-control.d.ts +0 -10
  26. package/classes/stringifiable-item.d.ts +0 -11
  27. package/components/arrow/arrow.component.d.ts +0 -17
  28. package/components/arrow/arrow.options.d.ts +0 -17
  29. package/components/arrow/arrow.providers.d.ts +0 -18
  30. package/components/arrow/index.d.ts +0 -3
  31. package/components/primitive-textfield/index.d.ts +0 -7
  32. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
  33. package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
  34. package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
  35. package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
  36. package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
  37. package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
  38. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
  39. package/components/select/index.d.ts +0 -6
  40. package/components/select/native-select/native-select-group.component.d.ts +0 -17
  41. package/components/select/native-select/native-select.component.d.ts +0 -16
  42. package/components/select/select.component.d.ts +0 -45
  43. package/components/select/select.directive.d.ts +0 -16
  44. package/components/select/select.module.d.ts +0 -24
  45. package/components/select/select.options.d.ts +0 -19
  46. package/components/select-option/index.d.ts +0 -2
  47. package/components/select-option/select-option.component.d.ts +0 -27
  48. package/components/select-option/select-option.module.d.ts +0 -10
  49. package/components/tooltip/index.d.ts +0 -2
  50. package/components/tooltip/tooltip.component.d.ts +0 -12
  51. package/components/tooltip/tooltip.module.d.ts +0 -13
  52. package/directives/index.d.ts +0 -5
  53. package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
  54. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
  55. package/directives/textfield-controller/index.d.ts +0 -14
  56. package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
  57. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
  58. package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
  59. package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
  60. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
  61. package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
  62. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
  63. package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
  64. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
  65. package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
  66. package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
  67. package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
  68. package/directives/textfield-controller/textfield.controller.d.ts +0 -41
  69. package/directives/textfield-controller/textfield.options.d.ts +0 -17
  70. package/directives/unfinished-validator/index.d.ts +0 -2
  71. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
  72. package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
  73. package/directives/value-accessor/index.d.ts +0 -3
  74. package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
  75. package/directives/value-accessor/value-accessor.module.d.ts +0 -7
  76. package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
  77. package/directives/wrapper/README.md +0 -19
  78. package/directives/wrapper/index.d.ts +0 -2
  79. package/directives/wrapper/wrapper.directive.d.ts +0 -22
  80. package/directives/wrapper/wrapper.module.d.ts +0 -10
  81. package/fesm2022/taiga-ui-legacy-classes.mjs +0 -414
  82. package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
  83. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -72
  84. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
  85. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
  86. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
  87. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
  88. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
  89. package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -344
  90. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
  91. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
  92. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
  93. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -49
  94. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
  95. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -396
  96. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
  97. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -48
  98. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
  99. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
  100. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
  101. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
  102. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
  103. package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
  104. package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
  105. package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
  106. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
  107. package/fesm2022/taiga-ui-legacy-utils.mjs +0 -262
  108. package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
  109. package/styles/mixins/mixins.less +0 -239
  110. package/styles/mixins/mixins.scss +0 -224
  111. package/styles/mixins/textfield.less +0 -324
  112. package/styles/mixins/textfield.scss +0 -308
  113. package/styles/taiga-ui-local.less +0 -3
  114. package/styles/taiga-ui-local.scss +0 -3
  115. package/tokens/countries-masks.d.ts +0 -9
  116. package/tokens/focusable-item-accessor.d.ts +0 -25
  117. package/tokens/fonts-ready.d.ts +0 -6
  118. package/tokens/icons.d.ts +0 -6
  119. package/tokens/index.d.ts +0 -14
  120. package/tokens/is-apple.d.ts +0 -6
  121. package/tokens/is-chromium.d.ts +0 -6
  122. package/tokens/is-firefox.d.ts +0 -6
  123. package/tokens/is-stackblitz.d.ts +0 -5
  124. package/tokens/month-formatter.d.ts +0 -10
  125. package/tokens/sanitizer.d.ts +0 -6
  126. package/tokens/textfield-appearance.d.ts +0 -7
  127. package/tokens/textfield-host.d.ts +0 -23
  128. package/tokens/touch-supported.d.ts +0 -5
  129. package/tokens/value-accessor.d.ts +0 -7
  130. package/utils/capitalize-first-letter.d.ts +0 -4
  131. package/utils/date-mode-maskito-adapter.d.ts +0 -6
  132. package/utils/format-phone.d.ts +0 -30
  133. package/utils/get-border.d.ts +0 -5
  134. package/utils/get-max-allowed-phone-length.d.ts +0 -24
  135. package/utils/get-safe-area-size.d.ts +0 -7
  136. package/utils/icons-path-factory.d.ts +0 -13
  137. package/utils/index.d.ts +0 -13
  138. package/utils/is-presumed-html-string.d.ts +0 -4
  139. package/utils/iso-to-country-code.d.ts +0 -13
  140. package/utils/not-kz-region.d.ts +0 -20
  141. package/utils/process-icon.d.ts +0 -4
  142. package/utils/specific-dropdown-controllers.d.ts +0 -4
  143. package/utils/status.d.ts +0 -4
@@ -1,60 +0,0 @@
1
- import { ChangeDetectorRef, DestroyRef, type OnInit, type Provider, type Type } from '@angular/core';
2
- import { type AbstractControl, type ControlValueAccessor } from '@angular/forms';
3
- import { TuiValueTransformer } from '@taiga-ui/cdk/classes';
4
- import { Subject } from 'rxjs';
5
- import { AbstractTuiInteractive } from './interactive';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @deprecated: drop in v5.0
9
- * Basic ControlValueAccessor class to build form components upon
10
- */
11
- export declare abstract class AbstractTuiControl<T> extends AbstractTuiInteractive implements OnInit, ControlValueAccessor {
12
- private readonly ngControl;
13
- private previousInternalValue?;
14
- private readonly refresh$;
15
- protected onTouched: (...args: any[]) => void;
16
- protected onChange: (...args: any[]) => void;
17
- protected readonly fallbackValue: T;
18
- protected destroyRef: DestroyRef;
19
- protected readonly cdr: ChangeDetectorRef;
20
- protected readonly valueTransformer: TuiValueTransformer<T, unknown> | null;
21
- readOnly: boolean;
22
- pseudoInvalid: boolean | null;
23
- readonly update$: Subject<void>;
24
- constructor();
25
- protected abstract getFallbackValue(): T;
26
- get computedInvalid(): boolean;
27
- get value(): T;
28
- set value(value: T);
29
- get safeCurrentValue(): T;
30
- get invalid(): boolean;
31
- get valid(): boolean;
32
- get touched(): boolean;
33
- get disabled(): boolean;
34
- get interactive(): boolean;
35
- get control(): AbstractControl | null;
36
- get computedName(): string | null;
37
- get controlName(): string | null;
38
- ngOnInit(): void;
39
- checkControlUpdate(): void;
40
- registerOnChange(onChange: (value: unknown) => void): void;
41
- registerOnTouched(onTouched: () => void): void;
42
- setDisabledState(): void;
43
- writeValue(value: T | null): void;
44
- protected updateFocused(focused: boolean): void;
45
- /**
46
- * @deprecated use `value` setter
47
- */
48
- protected updateValue(value: T): void;
49
- protected valueIdenticalComparator(oldValue: T, newValue: T): boolean;
50
- private get rawValue();
51
- private safeNgControlData;
52
- private controlMarkAsTouched;
53
- private controlSetValue;
54
- private refreshLocalValue;
55
- private fromControlValue;
56
- private toControlValue;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiControl<any>, never>;
58
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiControl<any>, never, never, { "readOnly": { "alias": "readOnly"; "required": false; }; "pseudoInvalid": { "alias": "pseudoInvalid"; "required": false; }; }, {}, never, never, false, never>;
59
- }
60
- export declare function tuiAsControl<T>(control: Type<AbstractTuiControl<T>>): Provider[];
@@ -1,9 +0,0 @@
1
- import { type OnChanges } from '@angular/core';
2
- import { Subject } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare abstract class AbstractTuiController implements OnChanges {
5
- readonly change$: Subject<void>;
6
- ngOnChanges(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiController, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiController, never, never, {}, {}, never, never, true, never>;
9
- }
@@ -1,9 +0,0 @@
1
- export * from './abstract-native-select';
2
- export * from './abstract-textfield-host';
3
- export * from './control';
4
- export * from './controller';
5
- export * from './interactive';
6
- export * from './multiple-control';
7
- export * from './named-day';
8
- export * from './nullable-control';
9
- export * from './stringifiable-item';
@@ -1,34 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: drop in v5.0
5
- */
6
- export declare abstract class AbstractTuiInteractive {
7
- private static autoId;
8
- abstract disabled: boolean;
9
- abstract focused: boolean;
10
- private readonly autoIdString;
11
- protected focusVisible: boolean;
12
- pseudoHover: boolean | null;
13
- pseudoActive: boolean | null;
14
- pseudoFocus: boolean | null;
15
- /**
16
- * Determines if component is focusable with keyboard.
17
- */
18
- focusable: boolean;
19
- nativeId: string;
20
- /**
21
- * Emits 'true' on focus and 'false' on blur.
22
- */
23
- readonly focusedChange: EventEmitter<boolean>;
24
- readonly focusVisibleChange: EventEmitter<boolean>;
25
- get computedDisabled(): boolean;
26
- get computedFocused(): boolean;
27
- get computedFocusVisible(): boolean;
28
- get computedFocusable(): boolean;
29
- get id(): string;
30
- protected updateFocused(focused: boolean): void;
31
- protected updateFocusVisible(focusVisible: boolean): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiInteractive, never>;
33
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiInteractive, never, never, { "pseudoHover": { "alias": "pseudoHover"; "required": false; }; "pseudoActive": { "alias": "pseudoActive"; "required": false; }; "pseudoFocus": { "alias": "pseudoFocus"; "required": false; }; "focusable": { "alias": "focusable"; "required": false; }; "nativeId": { "alias": "nativeId"; "required": false; }; }, { "focusedChange": "focusedChange"; "focusVisibleChange": "focusVisibleChange"; }, never, never, false, never>;
34
- }
@@ -1,11 +0,0 @@
1
- import { AbstractTuiControl } from './control';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: drop in v5.0
5
- */
6
- export declare abstract class AbstractTuiMultipleControl<T> extends AbstractTuiControl<readonly T[]> {
7
- protected clear(): void;
8
- protected getFallbackValue(): readonly T[];
9
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiMultipleControl<any>, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiMultipleControl<any>, never, never, {}, {}, never, never, true, never>;
11
- }
@@ -1,11 +0,0 @@
1
- import { type TuiDay } from '@taiga-ui/cdk/date-time';
2
- /**
3
- * @deprecated: drop in v5.0
4
- */
5
- export declare class TuiNamedDay {
6
- readonly day: TuiDay;
7
- private readonly name;
8
- readonly displayDay: TuiDay;
9
- constructor(day: TuiDay, name: string, displayDay?: TuiDay);
10
- protected toString(): string;
11
- }
@@ -1,10 +0,0 @@
1
- import { AbstractTuiControl } from './control';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: drop in v5.0
5
- */
6
- export declare abstract class AbstractTuiNullableControl<T> extends AbstractTuiControl<T | null> {
7
- protected getFallbackValue(): T | null;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiNullableControl<any>, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiNullableControl<any>, never, never, {}, {}, never, never, true, never>;
10
- }
@@ -1,11 +0,0 @@
1
- import { type TuiStringHandler } from '@taiga-ui/cdk/types';
2
- /**
3
- * @deprecated: drop in v5.0
4
- * Wrapper around an item to add `toString()` method
5
- */
6
- export declare class TuiStringifiableItem<T> {
7
- readonly item: T;
8
- readonly stringify: TuiStringHandler<T>;
9
- constructor(item: T, stringify: TuiStringHandler<T>);
10
- protected toString(): string;
11
- }
@@ -1,17 +0,0 @@
1
- import { PolymorpheusComponent, type PolymorpheusContent } from '@taiga-ui/polymorpheus';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: drop in v5.0 use {@link TuiChevron}
5
- */
6
- export declare class TuiArrowComponent {
7
- private readonly control;
8
- private readonly textfieldSize;
9
- private readonly options;
10
- protected readonly dropdownOpen: import("@angular/core").Signal<boolean | undefined>;
11
- protected readonly rotated: import("@angular/core").Signal<any>;
12
- protected get small(): boolean;
13
- protected get arrowIcon(): PolymorpheusContent;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiArrowComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiArrowComponent, "tui-arrow", never, {}, {}, never, never, true, never>;
16
- }
17
- export declare const TUI_ARROW: PolymorpheusComponent<TuiArrowComponent>;
@@ -1,17 +0,0 @@
1
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
2
- /**
3
- * @deprecated: drop in v5.0 use {@link TuiChevron}
4
- */
5
- export interface TuiArrowOptions {
6
- readonly iconLarge: PolymorpheusContent;
7
- readonly iconSmall: PolymorpheusContent;
8
- }
9
- /**
10
- * @deprecated: drop in v5.0 use {@link TuiChevron}
11
- */
12
- export declare const TUI_ARROW_DEFAULT_OPTIONS: TuiArrowOptions;
13
- /**
14
- * @deprecated: drop in v5.0
15
- * Default parameters for arrow component
16
- */
17
- export declare const TUI_ARROW_OPTIONS: import("@angular/core").InjectionToken<TuiArrowOptions>, tuiArrowOptionsProvider: (item: Partial<TuiArrowOptions> | (() => Partial<TuiArrowOptions>)) => import("@angular/core").FactoryProvider;
@@ -1,18 +0,0 @@
1
- import { type TuiContext } from '@taiga-ui/cdk/types';
2
- import { type TuiSizeL, type TuiSizeM, type TuiSizeS } from '@taiga-ui/core/types';
3
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
- /**
5
- * @deprecated: drop in v5.0 use {@link TuiChevron}
6
- */
7
- export interface TuiArrowMode {
8
- readonly disabled: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
9
- readonly interactive: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
10
- }
11
- /**
12
- * @deprecated: drop in v5.0 use {@link TuiChevron}
13
- */
14
- export declare const TUI_ARROW_DEFAULT_MODE: TuiArrowMode;
15
- /**
16
- * @deprecated: drop in v5.0 use {@link TuiChevron}
17
- */
18
- export declare const TUI_ARROW_MODE: import("@angular/core").InjectionToken<TuiArrowMode>, tuiArrowModeProvider: (item: Partial<TuiArrowMode> | (() => Partial<TuiArrowMode>)) => import("@angular/core").FactoryProvider;
@@ -1,3 +0,0 @@
1
- export * from './arrow.component';
2
- export * from './arrow.options';
3
- export * from './arrow.providers';
@@ -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
- }
@@ -1,22 +0,0 @@
1
- import { type DoCheck } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiValueDecorationComponent implements DoCheck {
4
- private readonly pre?;
5
- private readonly textfield;
6
- private readonly fontsReady$;
7
- private readonly prefix$;
8
- readonly pre$: import("rxjs").Observable<number>;
9
- ngDoCheck(): void;
10
- protected get isContextTable(): boolean;
11
- protected get filler(): string;
12
- protected get value(): string;
13
- protected get prefix(): string;
14
- protected get postfix(): string;
15
- private get placeholder();
16
- private get exampleText();
17
- private get decorationsVisible();
18
- private get focused();
19
- private get computedPostfix();
20
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiValueDecorationComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiValueDecorationComponent, "tui-value-decoration", never, {}, {}, never, never, false, never>;
22
- }
@@ -1,6 +0,0 @@
1
- export * from './native-select/native-select.component';
2
- export * from './native-select/native-select-group.component';
3
- export * from './select.component';
4
- export * from './select.directive';
5
- export * from './select.module';
6
- export * from './select.options';
@@ -1,17 +0,0 @@
1
- import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
2
- import { AbstractTuiNativeSelect } from '@taiga-ui/legacy/classes';
3
- import { type TuiSelectDirective } from '../select.directive';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * TODO(v5): delete it
7
- * @deprecated use native picker from new version of {@link https://taiga-ui.dev/components/select#native-picker-groups TuiSelect} (from @taiga-ui/kit) instead
8
- */
9
- export declare class TuiNativeSelectGroupComponent<T> extends AbstractTuiNativeSelect<TuiSelectDirective, T> {
10
- items: readonly T[][] | null;
11
- labels: readonly string[];
12
- protected get stringify(): TuiItemsHandlers<T>['stringify'];
13
- protected selected(option: T): boolean;
14
- protected onValueChange(index: number): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeSelectGroupComponent<any>, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiNativeSelectGroupComponent<any>, "select[tuiSelect][labels]:not([multiple])", never, { "items": { "alias": "items"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; }, {}, never, never, false, never>;
17
- }
@@ -1,16 +0,0 @@
1
- import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
2
- import { AbstractTuiNativeSelect } from '@taiga-ui/legacy/classes';
3
- import { type TuiSelectDirective } from '../select.directive';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * TODO(v5): delete it
7
- * @deprecated use native picker from new version of {@link https://taiga-ui.dev/components/select#native-picker-disabled-option TuiSelect} (from @taiga-ui/kit) instead
8
- */
9
- export declare class TuiNativeSelectComponent<T> extends AbstractTuiNativeSelect<TuiSelectDirective, T> {
10
- items: readonly T[] | null;
11
- protected get stringify(): TuiItemsHandlers<T>['stringify'];
12
- protected selected(option: T): boolean;
13
- protected onValueChange(index: number): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeSelectComponent<any>, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiNativeSelectComponent<any>, "select[tuiSelect]:not([labels]):not([multiple])", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
16
- }
@@ -1,45 +0,0 @@
1
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
4
- import { type TuiSizeL, type TuiSizeM, type TuiSizeS, type TuiValueContentContext } from '@taiga-ui/core/types';
5
- import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
6
- import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
7
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
8
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
9
- import { type TuiSelectOptions } from './select.options';
10
- import * as i0 from "@angular/core";
11
- import * as i1 from "@taiga-ui/core/directives/dropdown";
12
- /**
13
- * TODO(v5): delete it
14
- * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
15
- */
16
- export declare class TuiSelectComponent<T> extends AbstractTuiNullableControl<T> implements TuiFocusableElementAccessor, TuiDataListHost<T> {
17
- private readonly textfield?;
18
- private readonly dropdown?;
19
- private readonly nativeSelect?;
20
- private readonly itemsHandlers;
21
- private readonly textfieldCleaner;
22
- private readonly textfieldSize;
23
- private readonly arrowMode;
24
- private readonly options;
25
- protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;
26
- protected readonly isMobile: boolean;
27
- protected open: boolean;
28
- stringify: TuiItemsHandlers<T>['stringify'];
29
- identityMatcher: TuiItemsHandlers<T>['identityMatcher'];
30
- valueContent: TuiSelectOptions<T>['valueContent'];
31
- get size(): TuiSizeL | TuiSizeS;
32
- get nativeFocusableElement(): HTMLInputElement | null;
33
- get focused(): boolean;
34
- get computedValue(): string;
35
- onValueChange(value: T): void;
36
- handleOption(option: T): void;
37
- protected get arrow(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
38
- protected get nativeDropdownMode(): boolean;
39
- protected get computedContent(): PolymorpheusContent<TuiValueContentContext<T>>;
40
- protected onActiveZone(active: boolean): void;
41
- protected onKeyDownDelete(): void;
42
- private focusInput;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectComponent<any>, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiSelectComponent<any>, "tui-select", never, { "stringify": { "alias": "stringify"; "required": false; }; "identityMatcher": { "alias": "identityMatcher"; "required": false; }; "valueContent": { "alias": "valueContent"; "required": false; }; }, {}, ["nativeSelect", "datalist"], ["*", "input", "select"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
45
- }
@@ -1,16 +0,0 @@
1
- import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
2
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
3
- import { type TuiSelectComponent } from './select.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/select TuiSelect} (from @taiga-ui/kit) instead
8
- */
9
- export declare class TuiSelectDirective extends AbstractTuiTextfieldHost<TuiSelectComponent<unknown>> {
10
- get readOnly(): boolean;
11
- get value(): string;
12
- get stringify(): TuiItemsHandlers<unknown>['stringify'];
13
- onValueChange(value: unknown): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSelectDirective, "tui-select", never, {}, {}, never, never, false, never>;
16
- }
@@ -1,24 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./select.component";
3
- import * as i2 from "./select.directive";
4
- import * as i3 from "./native-select/native-select.component";
5
- import * as i4 from "./native-select/native-select-group.component";
6
- import * as i5 from "@angular/common";
7
- import * as i6 from "@taiga-ui/polymorpheus";
8
- import * as i7 from "@taiga-ui/legacy/components/arrow";
9
- import * as i8 from "@taiga-ui/legacy/directives";
10
- import * as i9 from "@taiga-ui/legacy/components/primitive-textfield";
11
- import * as i10 from "@taiga-ui/legacy/components/select-option";
12
- import * as i11 from "@taiga-ui/kit/pipes/stringify-content";
13
- import * as i12 from "@taiga-ui/core/components/data-list";
14
- import * as i13 from "@taiga-ui/kit/components/data-list-wrapper";
15
- import * as i14 from "@taiga-ui/core/directives/dropdown";
16
- /**
17
- * TODO(v5): delete it
18
- * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
19
- */
20
- export declare class TuiSelectModule {
21
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSelectModule, [typeof i1.TuiSelectComponent, typeof i2.TuiSelectDirective, typeof i3.TuiNativeSelectComponent, typeof i4.TuiNativeSelectGroupComponent], [typeof i5.CommonModule, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiArrowComponent, typeof i8.TuiLegacyDropdownOpenMonitorDirective, typeof i9.TuiPrimitiveTextfieldModule, typeof i10.TuiSelectOptionModule, typeof i11.TuiStringifyContentPipe, typeof i8.TuiTextfieldControllerModule, typeof i8.TuiWrapperModule, typeof i12.TuiDataListComponent, typeof i12.TuiDataListDirective, typeof i12.TuiOption, typeof i12.TuiOptionNew, typeof i12.TuiOptionWithValue, typeof i12.TuiOptGroup, typeof i13.TuiDataListWrapperComponent, typeof i13.TuiDataListGroupWrapperComponent, typeof i12.TuiDataListDirective, typeof i14.TuiDropdownOptionsDirective, typeof i14.TuiDropdownDriverDirective, typeof i14.TuiDropdownDirective, typeof i14.TuiDropdownComponent, typeof i14.TuiDropdownOpen, typeof i14.TuiDropdownOpenLegacy, typeof i14.TuiDropdownManual, typeof i14.TuiDropdownHover, typeof i14.TuiDropdownContent, typeof i14.TuiDropdownContext, typeof i14.TuiDropdownPosition, typeof i14.TuiDropdownPositionSided, typeof i14.TuiDropdownSelection], [typeof i1.TuiSelectComponent, typeof i2.TuiSelectDirective, typeof i9.TuiTextfieldComponent, typeof i3.TuiNativeSelectComponent, typeof i4.TuiNativeSelectGroupComponent, typeof i14.TuiDropdownOptionsDirective, typeof i14.TuiDropdownDriverDirective, typeof i14.TuiDropdownDirective, typeof i14.TuiDropdownComponent, typeof i14.TuiDropdownOpen, typeof i14.TuiDropdownOpenLegacy, typeof i14.TuiDropdownManual, typeof i14.TuiDropdownHover, typeof i14.TuiDropdownContent, typeof i14.TuiDropdownContext, typeof i14.TuiDropdownPosition, typeof i14.TuiDropdownPositionSided, typeof i14.TuiDropdownSelection, typeof i12.TuiDataListComponent, typeof i12.TuiDataListDirective, typeof i12.TuiOption, typeof i12.TuiOptionNew, typeof i12.TuiOptionWithValue, typeof i12.TuiOptGroup, typeof i13.TuiDataListWrapperComponent, typeof i13.TuiDataListGroupWrapperComponent, typeof i12.TuiDataListDirective]>;
23
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiSelectModule>;
24
- }
@@ -1,19 +0,0 @@
1
- import { type TuiValueContentContext } from '@taiga-ui/core/types';
2
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
- /**
4
- * TODO(v5): delete it
5
- * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
6
- */
7
- export interface TuiSelectOptions<T> {
8
- readonly valueContent: PolymorpheusContent<TuiValueContentContext<T>>;
9
- }
10
- /**
11
- * TODO(v5): delete it
12
- * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
13
- */
14
- export declare const TUI_SELECT_DEFAULT_OPTIONS: TuiSelectOptions<unknown>;
15
- /**
16
- * TODO(v5): delete it
17
- * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
18
- */
19
- export declare const TUI_SELECT_OPTIONS: import("@angular/core").InjectionToken<TuiSelectOptions<unknown>>, tuiSelectOptionsProvider: (item: Partial<TuiSelectOptions<unknown>> | (() => Partial<TuiSelectOptions<unknown>>)) => import("@angular/core").FactoryProvider;
@@ -1,2 +0,0 @@
1
- export * from './select-option.component';
2
- export * from './select-option.module';
@@ -1,27 +0,0 @@
1
- import { type DoCheck, type OnInit, type TemplateRef } from '@angular/core';
2
- import { NgControl } from '@angular/forms';
3
- import { type TuiContext, type TuiIdentityMatcher } from '@taiga-ui/cdk/types';
4
- import { TuiDataListComponent, TuiOption } from '@taiga-ui/core/components/data-list';
5
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
6
- import { PolymorpheusComponent } from '@taiga-ui/polymorpheus';
7
- import * as i0 from "@angular/core";
8
- export declare class TuiSelectOptionComponent<T> implements OnInit, DoCheck {
9
- private readonly host;
10
- private readonly el;
11
- private readonly changeDetection$;
12
- protected readonly abstractControl: AbstractTuiControl<any> | null;
13
- protected readonly control: NgControl;
14
- protected readonly option: TuiOption<any>;
15
- protected readonly dataList: TuiDataListComponent<any> | null;
16
- protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
17
- protected readonly context: TuiContext<TemplateRef<Record<string, unknown>>>;
18
- protected readonly selected$: import("rxjs").Observable<boolean>;
19
- ngOnInit(): void;
20
- ngDoCheck(): void;
21
- protected get value(): T | null;
22
- protected get matcher(): TuiIdentityMatcher<T>;
23
- protected get selected(): boolean;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectOptionComponent<any>, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiSelectOptionComponent<any>, "tui-select-option", never, {}, {}, never, never, false, never>;
26
- }
27
- export declare const TUI_SELECT_OPTION: PolymorpheusComponent<TuiSelectOptionComponent<unknown>>;
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./select-option.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/core/components/icon";
5
- import * as i4 from "@taiga-ui/core/components/scrollbar";
6
- export declare class TuiSelectOptionModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectOptionModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSelectOptionModule, [typeof i1.TuiSelectOptionComponent], [typeof i2.CommonModule, typeof i3.TuiIcon, typeof i4.TuiScrollIntoView], [typeof i1.TuiSelectOptionComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiSelectOptionModule>;
10
- }
@@ -1,2 +0,0 @@
1
- export * from './tooltip.component';
2
- export * from './tooltip.module';