@taiga-ui/legacy 4.52.0-canary.1ea42f6 → 4.52.0-canary.24b31eb

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 (68) hide show
  1. package/components/dialog/dialog.component.d.ts +20 -0
  2. package/components/dialog/dialog.directive.d.ts +7 -0
  3. package/components/dialog/dialog.factory.d.ts +16 -0
  4. package/components/dialog/dialog.interfaces.d.ts +31 -0
  5. package/components/dialog/dialog.service.d.ts +7 -0
  6. package/components/dialog/dialog.tokens.d.ts +8 -0
  7. package/components/dialog/index.d.ts +6 -0
  8. package/components/index.d.ts +1 -5
  9. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +130 -0
  10. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  11. package/fesm2022/taiga-ui-legacy-components.mjs +1 -5
  12. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  13. package/fesm2022/taiga-ui-legacy.mjs +0 -1
  14. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  15. package/index.d.ts +0 -1
  16. package/package.json +32 -52
  17. package/utils/icons-path-factory.d.ts +1 -1
  18. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  19. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  20. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  21. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  22. package/components/color-selector/color-selector.component.d.ts +0 -47
  23. package/components/color-selector/color-selector.module.d.ts +0 -23
  24. package/components/color-selector/color-selector.options.d.ts +0 -25
  25. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  26. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  27. package/components/color-selector/index.d.ts +0 -16
  28. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  29. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  30. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  31. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  32. package/components/color-selector/palette/palette.component.d.ts +0 -10
  33. package/components/color-selector/palette/palette.module.d.ts +0 -13
  34. package/components/color-selector/services/picker.service.d.ts +0 -15
  35. package/components/input-color/index.d.ts +0 -2
  36. package/components/input-color/input-color.component.d.ts +0 -30
  37. package/components/input-color/input-color.module.d.ts +0 -17
  38. package/components/input-date/index.d.ts +0 -3
  39. package/components/input-date/input-date.component.d.ts +0 -62
  40. package/components/input-date/input-date.directive.d.ts +0 -19
  41. package/components/input-date/input-date.module.d.ts +0 -24
  42. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  43. package/components/input-time/index.d.ts +0 -4
  44. package/components/input-time/input-time.component.d.ts +0 -62
  45. package/components/input-time/input-time.directive.d.ts +0 -17
  46. package/components/input-time/input-time.module.d.ts +0 -23
  47. package/components/input-time/input-time.options.d.ts +0 -42
  48. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  49. package/components/svg/content-processor.d.ts +0 -19
  50. package/components/svg/deprecated-icons.d.ts +0 -5
  51. package/components/svg/index.d.ts +0 -5
  52. package/components/svg/svg-options.d.ts +0 -50
  53. package/components/svg/svg.component.d.ts +0 -50
  54. package/components/svg/svg.service.d.ts +0 -21
  55. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -726
  56. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  57. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  58. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  59. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  60. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  61. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -430
  62. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  63. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
  64. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  65. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  66. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  67. package/services/index.d.ts +0 -1
  68. package/services/static-request.service.d.ts +0 -11
@@ -1,47 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { type SafeStyle } from '@angular/platform-browser';
3
- import { type TuiGradientDirection } from '@taiga-ui/cdk/utils/color';
4
- import * as i0 from "@angular/core";
5
- export declare class TuiColorSelectorComponent {
6
- private readonly selectorOptions;
7
- private stops;
8
- private currentStop;
9
- private direction;
10
- private readonly sanitizer;
11
- protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
12
- protected open: boolean;
13
- colors: ReadonlyMap<string, string>;
14
- readonly colorChange: EventEmitter<string>;
15
- color: [number, number, number, number];
16
- readonly modes: [string, string];
17
- currentMode: string;
18
- readonly buttons: readonly TuiGradientDirection[];
19
- set colorSetter(color: string);
20
- get selectorMode(): boolean;
21
- get palette(): Map<string, string>;
22
- get stopsKeys(): number[];
23
- get currentColor(): [number, number, number, number];
24
- get gradient(): SafeStyle;
25
- get isGradient(): boolean;
26
- getIcon(direction: TuiGradientDirection): string;
27
- isModeActive(mode: string): boolean;
28
- isDirectionActive(direction: TuiGradientDirection): boolean;
29
- onPalettePick(color: string): void;
30
- onDirectionChange(direction: TuiGradientDirection): void;
31
- onModeSelect(mode: string): void;
32
- onIndexChange(index: number): void;
33
- onColorChange(color: [number, number, number, number]): void;
34
- onStopsChange(stopsKeys: readonly number[]): void;
35
- private getStopsKeys;
36
- private filterPalette;
37
- private updateColor;
38
- private getGradient;
39
- private getStop;
40
- private addStop;
41
- private removeStop;
42
- private replaceStop;
43
- private parseGradient;
44
- private parseColor;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorSelectorComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiColorSelectorComponent, "tui-color-selector", never, { "colors": { "alias": "colors"; "required": false; }; "colorSetter": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, false, never>;
47
- }
@@ -1,23 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./color-selector.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/core/components/button";
5
- import * as i4 from "./color-picker/color-picker.module";
6
- import * as i5 from "./linear-multi-picker/linear-multi-picker.module";
7
- import * as i6 from "@taiga-ui/cdk/directives/active-zone";
8
- import * as i7 from "./color-edit/color-edit.module";
9
- import * as i8 from "@taiga-ui/core/directives/group";
10
- import * as i9 from "./palette/palette.module";
11
- import * as i10 from "@taiga-ui/kit/directives/chevron";
12
- import * as i11 from "@taiga-ui/core/components/icon";
13
- import * as i12 from "@taiga-ui/core/directives/hint";
14
- import * as i13 from "@taiga-ui/core/components/data-list";
15
- /**
16
- * TODO(v5): delete it
17
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
18
- */
19
- export declare class TuiColorSelectorModule {
20
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorSelectorModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiColorSelectorModule, [typeof i1.TuiColorSelectorComponent], [typeof i2.CommonModule, typeof i3.TuiButton, typeof i4.TuiColorPickerModule, typeof i5.TuiLinearMultiPickerModule, typeof i6.TuiActiveZone, typeof i7.TuiColorEditModule, typeof i8.TuiGroup, typeof i9.TuiPaletteModule, typeof i10.TuiChevron, typeof i11.TuiIcon, typeof i12.TuiHintComponent, typeof i12.TuiHintDirective, typeof i12.TuiHintOptionsDirective, typeof i12.TuiHintUnstyled, typeof i12.TuiHintDriver, typeof i12.TuiHintPosition, typeof i12.TuiHintHover, typeof i12.TuiHintOverflow, typeof i12.TuiHintDescribe, typeof i12.TuiHintHost, typeof i12.TuiHintManual, typeof i12.TuiHintPointer, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup], [typeof i1.TuiColorSelectorComponent, typeof i12.TuiHintComponent, typeof i12.TuiHintDirective, typeof i12.TuiHintOptionsDirective, typeof i12.TuiHintUnstyled, typeof i12.TuiHintDriver, typeof i12.TuiHintPosition, typeof i12.TuiHintHover, typeof i12.TuiHintOverflow, typeof i12.TuiHintDescribe, typeof i12.TuiHintHost, typeof i12.TuiHintManual, typeof i12.TuiHintPointer, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup]>;
22
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiColorSelectorModule>;
23
- }
@@ -1,25 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiGradientDirection } from '@taiga-ui/cdk/utils/color';
3
- export declare const TUI_COLOR_SELECTOR_MODE_NAMES: InjectionToken<[string, string]>;
4
- export declare const TUI_DEFAULT_INPUT_COLORS: Map<string, string>;
5
- export declare const TuiColorSelectorMode: {
6
- readonly SolidColor: 0;
7
- readonly Gradient: 1;
8
- };
9
- export interface TuiColorSelectorOptions {
10
- readonly mode: (typeof TuiColorSelectorMode)[keyof typeof TuiColorSelectorMode];
11
- readonly selectorMode: boolean;
12
- readonly color: [number, number, number, number];
13
- readonly colors: ReadonlyMap<string, string>;
14
- readonly gradient: {
15
- readonly icons: Record<TuiGradientDirection, string>;
16
- readonly steps: ReadonlyArray<[number, [number, number, number, number]]>;
17
- readonly stop: number;
18
- readonly direction: TuiGradientDirection;
19
- readonly emptyStop: [number, number, number, number];
20
- readonly buttons: readonly TuiGradientDirection[];
21
- };
22
- }
23
- export declare const TUI_COLOR_SELECTOR_DEFAULT_OPTIONS: TuiColorSelectorOptions;
24
- export declare const TUI_COLOR_SELECTOR_OPTIONS: InjectionToken<TuiColorSelectorOptions>;
25
- export declare function tuiColorSelectorOptionsProvider(options: Partial<TuiColorSelectorOptions>): Provider;
@@ -1,12 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { type TuiPoint } from '@taiga-ui/core/types';
3
- import * as i0 from "@angular/core";
4
- export declare class TuiFlatPickerComponent {
5
- protected readonly $: import("rxjs").Subscription;
6
- value: TuiPoint;
7
- readonly valueChange: EventEmitter<[number, number]>;
8
- get left(): number;
9
- get top(): number;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiFlatPickerComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiFlatPickerComponent, "tui-flat-picker", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
12
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./flat-picker.component";
3
- import * as i2 from "@angular/common";
4
- /**
5
- * TODO(v5): delete it
6
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
7
- */
8
- export declare class TuiFlatPickerModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiFlatPickerModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiFlatPickerModule, [typeof i1.TuiFlatPickerComponent], [typeof i2.CommonModule], [typeof i1.TuiFlatPickerComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiFlatPickerModule>;
12
- }
@@ -1,16 +0,0 @@
1
- export * from './color-edit/color-edit.component';
2
- export * from './color-edit/color-edit.module';
3
- export * from './color-picker/color-picker.component';
4
- export * from './color-picker/color-picker.module';
5
- export * from './color-selector.component';
6
- export * from './color-selector.module';
7
- export * from './color-selector.options';
8
- export * from './flat-picker/flat-picker.component';
9
- export * from './flat-picker/flat-picker.module';
10
- export * from './linear-multi-picker/linear-multi-picker.component';
11
- export * from './linear-multi-picker/linear-multi-picker.module';
12
- export * from './linear-picker/linear-picker.component';
13
- export * from './linear-picker/linear-picker.module';
14
- export * from './palette/palette.component';
15
- export * from './palette/palette.module';
16
- export * from './services/picker.service';
@@ -1,17 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiLinearMultiPickerComponent {
4
- protected readonly $: import("rxjs").Subscription;
5
- value: number[];
6
- readonly valueChange: EventEmitter<number[]>;
7
- readonly indexChange: EventEmitter<number>;
8
- index: number;
9
- onMouseUp(): void;
10
- onMouseDown(index: number): void;
11
- onClick(index: number): void;
12
- private onPicker;
13
- private updateIndex;
14
- private updateValue;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiLinearMultiPickerComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiLinearMultiPickerComponent, "tui-linear-multi-picker", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "indexChange": "indexChange"; }, never, never, false, never>;
17
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./linear-multi-picker.component";
3
- import * as i2 from "@angular/common";
4
- /**
5
- * TODO(v5): delete it
6
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
7
- */
8
- export declare class TuiLinearMultiPickerModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiLinearMultiPickerModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiLinearMultiPickerModule, [typeof i1.TuiLinearMultiPickerComponent], [typeof i2.CommonModule], [typeof i1.TuiLinearMultiPickerComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiLinearMultiPickerModule>;
12
- }
@@ -1,10 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiLinearPickerComponent {
4
- protected readonly $: import("rxjs").Subscription;
5
- value: number;
6
- readonly valueChange: EventEmitter<number>;
7
- get left(): number;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiLinearPickerComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiLinearPickerComponent, "tui-linear-picker", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
10
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./linear-picker.component";
3
- import * as i2 from "@angular/common";
4
- /**
5
- * TODO(v5): delete it
6
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
7
- */
8
- export declare class TuiLinearPickerModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiLinearPickerModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiLinearPickerModule, [typeof i1.TuiLinearPickerComponent], [typeof i2.CommonModule], [typeof i1.TuiLinearPickerComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiLinearPickerModule>;
12
- }
@@ -1,10 +0,0 @@
1
- import { type KeyValue } from '@angular/common';
2
- import { EventEmitter } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class TuiPaletteComponent {
5
- colors: ReadonlyMap<string, string>;
6
- readonly selectedColor: EventEmitter<string>;
7
- originalOrder: (_a: KeyValue<string, string>, _b: KeyValue<string, string>) => number;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPaletteComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiPaletteComponent, "tui-palette", never, { "colors": { "alias": "colors"; "required": false; }; }, { "selectedColor": "selectedColor"; }, never, never, false, never>;
10
- }
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./palette.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/core/directives/hint";
5
- /**
6
- * TODO(v5): delete it
7
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
8
- */
9
- export declare class TuiPaletteModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPaletteModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiPaletteModule, [typeof i1.TuiPaletteComponent], [typeof i2.CommonModule, typeof i3.TuiHintComponent, typeof i3.TuiHintDirective, typeof i3.TuiHintOptionsDirective, typeof i3.TuiHintUnstyled, typeof i3.TuiHintDriver, typeof i3.TuiHintPosition, typeof i3.TuiHintHover, typeof i3.TuiHintOverflow, typeof i3.TuiHintDescribe, typeof i3.TuiHintHost, typeof i3.TuiHintManual, typeof i3.TuiHintPointer], [typeof i1.TuiPaletteComponent, typeof i3.TuiHintComponent, typeof i3.TuiHintDirective, typeof i3.TuiHintOptionsDirective, typeof i3.TuiHintUnstyled, typeof i3.TuiHintDriver, typeof i3.TuiHintPosition, typeof i3.TuiHintHover, typeof i3.TuiHintOverflow, typeof i3.TuiHintDescribe, typeof i3.TuiHintHost, typeof i3.TuiHintManual, typeof i3.TuiHintPointer]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiPaletteModule>;
13
- }
@@ -1,15 +0,0 @@
1
- import { type TuiPoint } from '@taiga-ui/core/types';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * TODO(v5): delete it
6
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
7
- */
8
- export declare class TuiPickerService extends Observable<TuiPoint> {
9
- private readonly el;
10
- private readonly doc;
11
- private readonly point$;
12
- constructor();
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPickerService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiPickerService>;
15
- }
@@ -1,2 +0,0 @@
1
- export * from './input-color.component';
2
- export * from './input-color.module';
@@ -1,30 +0,0 @@
1
- import { type SafeStyle } from '@angular/platform-browser';
2
- import { type MaskitoOptions } from '@maskito/core';
3
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
4
- import { type TuiFocusableElementAccessor, type TuiNativeFocusableElement } from '@taiga-ui/legacy/tokens';
5
- import * as i0 from "@angular/core";
6
- type MaskMode = 'gradient' | 'hex' | 'rgb';
7
- /**
8
- * TODO(v5): delete it
9
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
10
- */
11
- export declare class TuiInputColorComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
12
- private readonly textfield?;
13
- private readonly domSanitizer;
14
- colors: ReadonlyMap<string, string>;
15
- open: boolean;
16
- get focused(): boolean;
17
- get nativeFocusableElement(): TuiNativeFocusableElement | null;
18
- get background(): SafeStyle;
19
- get mode(): MaskMode;
20
- maskitoOptions(mode: MaskMode): MaskitoOptions | null;
21
- onClick(): void;
22
- /** deprecated use 'value' setter */
23
- onValueChange(textValue: string): void;
24
- onFocused(focused: boolean): void;
25
- protected getFallbackValue(): string;
26
- private sanitize;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputColorComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputColorComponent, "tui-input-color", never, { "colors": { "alias": "colors"; "required": false; }; }, {}, never, ["*"], false, never>;
29
- }
30
- export {};
@@ -1,17 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-color.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/legacy/components/primitive-textfield";
5
- import * as i4 from "@taiga-ui/legacy/directives/textfield-controller";
6
- import * as i5 from "@taiga-ui/legacy/components/color-selector";
7
- import * as i6 from "@maskito/angular";
8
- import * as i7 from "@taiga-ui/core/directives/dropdown";
9
- /**
10
- * TODO(v5): delete it
11
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
12
- */
13
- export declare class TuiInputColorModule {
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputColorModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputColorModule, [typeof i1.TuiInputColorComponent], [typeof i2.CommonModule, typeof i3.TuiPrimitiveTextfieldModule, typeof i4.TuiTextfieldControllerModule, typeof i5.TuiColorSelectorModule, typeof i6.MaskitoDirective, typeof i7.TuiDropdownOptionsDirective, typeof i7.TuiDropdownDriverDirective, typeof i7.TuiDropdownDirective, typeof i7.TuiDropdownComponent, typeof i7.TuiDropdownOpen, typeof i7.TuiDropdownOpenLegacy, typeof i7.TuiDropdownPortal, typeof i7.TuiDropdownManual, typeof i7.TuiDropdownHover, typeof i7.TuiDropdownContext, typeof i7.TuiDropdownPosition, typeof i7.TuiDropdownPositionSided, typeof i7.TuiDropdownSelection], [typeof i1.TuiInputColorComponent, typeof i7.TuiDropdownOptionsDirective, typeof i7.TuiDropdownDriverDirective, typeof i7.TuiDropdownDirective, typeof i7.TuiDropdownComponent, typeof i7.TuiDropdownOpen, typeof i7.TuiDropdownOpenLegacy, typeof i7.TuiDropdownPortal, typeof i7.TuiDropdownManual, typeof i7.TuiDropdownHover, typeof i7.TuiDropdownContext, typeof i7.TuiDropdownPosition, typeof i7.TuiDropdownPositionSided, typeof i7.TuiDropdownSelection]>;
16
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputColorModule>;
17
- }
@@ -1,3 +0,0 @@
1
- export * from './input-date.component';
2
- export * from './input-date.directive';
3
- export * from './input-date.module';
@@ -1,62 +0,0 @@
1
- import { type MaskitoOptions } from '@maskito/core';
2
- import { type TuiDateMode, TuiDay, TuiMonth } from '@taiga-ui/cdk/date-time';
3
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
4
- import { type TuiBooleanHandler, type TuiContext } from '@taiga-ui/cdk/types';
5
- import { type TuiMarkerHandler } from '@taiga-ui/core/components/calendar';
6
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
7
- import { type TuiInputDateOptions } from '@taiga-ui/kit/tokens';
8
- import { AbstractTuiNullableControl, type TuiNamedDay } from '@taiga-ui/legacy/classes';
9
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
10
- import { type Observable } from 'rxjs';
11
- import * as i0 from "@angular/core";
12
- /**
13
- * TODO(v5): delete it
14
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date TuiInputDate} (from @taiga-ui/kit) instead
15
- */
16
- export declare class TuiInputDateComponent extends AbstractTuiNullableControl<TuiDay> implements TuiFocusableElementAccessor {
17
- private readonly textfield?;
18
- private readonly options;
19
- private readonly textfieldSize;
20
- private readonly mobileCalendar;
21
- private month;
22
- private readonly nativeValue;
23
- min: TuiDay | null;
24
- max: TuiDay | null;
25
- disabledItemHandler: TuiBooleanHandler<TuiDay>;
26
- markerHandler: TuiMarkerHandler | null;
27
- items: readonly TuiNamedDay[];
28
- defaultActiveYearMonth: TuiMonth;
29
- dateFormat: import("@taiga-ui/core/tokens").TuiDateFormatSettings;
30
- protected open: boolean;
31
- protected readonly dateTexts$: Observable<Record<TuiDateMode, string>>;
32
- protected readonly valueTransformer: import("@taiga-ui/cdk/classes").TuiValueTransformer<TuiDay | null, unknown> | null;
33
- protected readonly isMobile: boolean;
34
- protected readonly type: TuiContext<TuiActiveZone>;
35
- protected readonly filler$: Observable<string>;
36
- protected readonly dateFormat$: import("rxjs").Subscription;
37
- get computedMin(): TuiDay;
38
- get computedMax(): TuiDay;
39
- get nativeFocusableElement(): HTMLInputElement | null;
40
- get focused(): boolean;
41
- get computedValue(): string;
42
- onValueChange(value: string): void;
43
- setDisabledState(): void;
44
- writeValue(value: TuiDay | null): void;
45
- protected get size(): TuiSizeL | TuiSizeS;
46
- protected get nativePicker(): boolean;
47
- protected get calendarIcon(): TuiInputDateOptions['icon'];
48
- protected get computedActiveYearMonth(): TuiMonth;
49
- protected get computedMask(): MaskitoOptions;
50
- protected get activeItem(): TuiNamedDay | null;
51
- protected onClick(): void;
52
- protected getComputedFiller(filler: string): string;
53
- protected onIconClick(): void;
54
- protected onDayClick(value: TuiDay): void;
55
- protected onMonthChange(month: TuiMonth): void;
56
- protected onOpenChange(open: boolean): void;
57
- protected onFocused(focused: boolean): void;
58
- protected valueIdenticalComparator(oldValue: TuiDay | null, newValue: TuiDay | null): boolean;
59
- private computeMaskOptions;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputDateComponent, "tui-input-date:not([multiple])", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "markerHandler": { "alias": "markerHandler"; "required": false; }; "items": { "alias": "items"; "required": false; }; "defaultActiveYearMonth": { "alias": "defaultActiveYearMonth"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
62
- }
@@ -1,19 +0,0 @@
1
- import { type TuiDay } from '@taiga-ui/cdk/date-time';
2
- import { type TuiDateFormatSettings } from '@taiga-ui/core/tokens';
3
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
4
- import { type TuiInputDateComponent } from './input-date.component';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * TODO(v5): delete it
8
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date TuiInputDate} (from @taiga-ui/kit) instead
9
- */
10
- export declare class TuiInputDateDirective extends AbstractTuiTextfieldHost<TuiInputDateComponent> {
11
- get value(): string;
12
- get max(): TuiDay;
13
- get min(): TuiDay;
14
- get format(): TuiDateFormatSettings;
15
- onValueChange(value: string): void;
16
- process(input: HTMLInputElement): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateDirective, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputDateDirective, "tui-input-date:not([multiple])", never, {}, {}, never, never, false, never>;
19
- }
@@ -1,24 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-date.component";
3
- import * as i2 from "./input-date.directive";
4
- import * as i3 from "./native-date/native-date.component";
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/components/calendar";
9
- import * as i8 from "@taiga-ui/core/components/link";
10
- import * as i9 from "@taiga-ui/legacy/components/primitive-textfield";
11
- import * as i10 from "@taiga-ui/legacy/directives";
12
- import * as i11 from "@taiga-ui/cdk/directives/let";
13
- import * as i12 from "@taiga-ui/core/directives/appearance";
14
- import * as i13 from "@taiga-ui/core/components/icon";
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/input-date TuiInputDate} (from @taiga-ui/kit) instead
19
- */
20
- export declare class TuiInputDateModule {
21
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateModule, [typeof i1.TuiInputDateComponent, typeof i2.TuiInputDateDirective, typeof i3.TuiNativeDateDirective], [typeof i4.CommonModule, typeof i5.MaskitoDirective, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiCalendar, typeof i8.TuiLink, typeof i9.TuiPrimitiveTextfieldModule, typeof i10.TuiValueAccessorModule, typeof i11.TuiLet, typeof i10.TuiTextfieldControllerModule, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i12.TuiAppearance, typeof i13.TuiIcon, typeof i14.TuiDropdownOptionsDirective, typeof i14.TuiDropdownDriverDirective, typeof i14.TuiDropdownDirective, typeof i14.TuiDropdownComponent, typeof i14.TuiDropdownOpen, typeof i14.TuiDropdownOpenLegacy, typeof i14.TuiDropdownPortal, typeof i14.TuiDropdownManual, typeof i14.TuiDropdownHover, typeof i14.TuiDropdownContext, typeof i14.TuiDropdownPosition, typeof i14.TuiDropdownPositionSided, typeof i14.TuiDropdownSelection], [typeof i1.TuiInputDateComponent, typeof i2.TuiInputDateDirective, typeof i9.TuiTextfieldComponent, typeof i14.TuiDropdownOptionsDirective, typeof i14.TuiDropdownDriverDirective, typeof i14.TuiDropdownDirective, typeof i14.TuiDropdownComponent, typeof i14.TuiDropdownOpen, typeof i14.TuiDropdownOpenLegacy, typeof i14.TuiDropdownPortal, typeof i14.TuiDropdownManual, typeof i14.TuiDropdownHover, typeof i14.TuiDropdownContext, typeof i14.TuiDropdownPosition, typeof i14.TuiDropdownPositionSided, typeof i14.TuiDropdownSelection]>;
23
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateModule>;
24
- }
@@ -1,15 +0,0 @@
1
- import { TuiInputDateDirective } from '../input-date.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#mobile TuiInputDate} (from @taiga-ui/kit) instead
6
- */
7
- export declare class TuiNativeDateDirective {
8
- protected readonly host: TuiInputDateDirective;
9
- protected get value(): string;
10
- protected get max(): string;
11
- protected get min(): string;
12
- protected onChange(value: string): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeDateDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiNativeDateDirective, "input[tuiDate]", never, {}, {}, never, never, false, never>;
15
- }
@@ -1,4 +0,0 @@
1
- export * from './input-time.component';
2
- export * from './input-time.directive';
3
- export * from './input-time.module';
4
- export * from './input-time.options';
@@ -1,62 +0,0 @@
1
- import { type MaskitoOptions } from '@maskito/core';
2
- import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
3
- import { TuiTime, type TuiTimeMode } from '@taiga-ui/cdk/date-time';
4
- import { type TuiBooleanHandler, type TuiIdentityMatcher } from '@taiga-ui/cdk/types';
5
- import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
6
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
7
- import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
8
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
9
- import { type Observable } from 'rxjs';
10
- import { type TuiInputTimeOptions } from './input-time.options';
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 new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead
16
- */
17
- export declare class TuiInputTimeComponent extends AbstractTuiNullableControl<TuiTime> implements TuiFocusableElementAccessor, TuiDataListHost<TuiTime> {
18
- private readonly textfield?;
19
- private readonly timeTexts$;
20
- private readonly options;
21
- private readonly isMobile;
22
- private readonly isIOS;
23
- private readonly textfieldSize;
24
- protected readonly valueTransformer: TuiValueTransformer<TuiTime | null> | null;
25
- protected open: boolean;
26
- disabledItemHandler: TuiBooleanHandler<TuiTime>;
27
- items: readonly TuiTime[];
28
- itemsHidden: boolean;
29
- itemSize: TuiInputTimeOptions['itemSize'];
30
- strict: boolean;
31
- mode: TuiInputTimeOptions['mode'];
32
- get size(): TuiSizeL | TuiSizeS;
33
- get inputMode(): string;
34
- get nativeFocusableElement(): HTMLInputElement | null;
35
- get focused(): boolean;
36
- get computedValue(): string;
37
- get nativeValue(): string;
38
- set nativeValue(value: string);
39
- readonly identityMatcher: TuiIdentityMatcher<TuiTime>;
40
- checkOption(option: TuiTime): void;
41
- handleOption(item: TuiTime): void;
42
- writeValue(value: TuiTime | null): void;
43
- onValueChange(value: string): void;
44
- protected get canOpen(): boolean;
45
- protected get filtered(): readonly TuiTime[];
46
- protected get showNativePicker(): boolean;
47
- protected get nativeDatalist(): boolean;
48
- protected get maskOptions(): MaskitoOptions;
49
- protected get computedSearch(): string;
50
- protected get innerPseudoFocused(): boolean | null;
51
- protected get icon(): TuiInputTimeOptions['icon'];
52
- protected getFiller$(mode: TuiTimeMode): Observable<string>;
53
- protected onFocused(focused: boolean): void;
54
- protected onOpen(open: boolean): void;
55
- private get nativePicker();
56
- private calculateMask;
57
- private filter;
58
- private findNearestTimeFromItems;
59
- private focusInput;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTimeComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputTimeComponent, "tui-input-time", never, { "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "items": { "alias": "items"; "required": false; }; "itemsHidden": { "alias": "itemsHidden"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "strict": { "alias": "strict"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, ["*"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
62
- }
@@ -1,17 +0,0 @@
1
- import { type TuiTime, type TuiTimeMode } from '@taiga-ui/cdk/date-time';
2
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
3
- import { type TuiInputTimeComponent } from './input-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-time TuiInputTime} (from @taiga-ui/kit) instead
8
- */
9
- export declare class TuiInputTimeDirective extends AbstractTuiTextfieldHost<TuiInputTimeComponent> {
10
- get value(): string;
11
- get mode(): TuiTimeMode;
12
- get items(): readonly TuiTime[];
13
- onValueChange(value: string): void;
14
- process(input: HTMLInputElement): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTimeDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputTimeDirective, "tui-input-time", never, {}, {}, never, never, false, never>;
17
- }
@@ -1,23 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-time.component";
3
- import * as i2 from "./native-time/native-time.component";
4
- import * as i3 from "./input-time.directive";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@maskito/angular";
7
- import * as i6 from "@taiga-ui/legacy/components/select-option";
8
- import * as i7 from "@taiga-ui/legacy/components/primitive-textfield";
9
- import * as i8 from "@taiga-ui/legacy/directives";
10
- import * as i9 from "@taiga-ui/polymorpheus";
11
- import * as i10 from "@taiga-ui/core/components/icon";
12
- import * as i11 from "@taiga-ui/core/directives/appearance";
13
- import * as i12 from "@taiga-ui/core/directives/dropdown";
14
- import * as i13 from "@taiga-ui/core/components/data-list";
15
- /**
16
- * TODO(v5): delete it
17
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead
18
- */
19
- export declare class TuiInputTimeModule {
20
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTimeModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputTimeModule, [typeof i1.TuiInputTimeComponent, typeof i2.TuiNativeTimeComponent, typeof i3.TuiInputTimeDirective], [typeof i4.CommonModule, typeof i5.MaskitoDirective, typeof i6.TuiSelectOptionModule, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiValueAccessorModule, typeof i8.TuiTextfieldControllerModule, typeof i9.PolymorpheusOutlet, typeof i9.PolymorpheusTemplate, typeof i8.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiIcon, typeof i11.TuiAppearance, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup], [typeof i1.TuiInputTimeComponent, typeof i3.TuiInputTimeDirective, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup]>;
22
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputTimeModule>;
23
- }
@@ -1,42 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiTimeMode } from '@taiga-ui/cdk/date-time';
3
- import { type TuiContext } from '@taiga-ui/cdk/types';
4
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
5
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
6
- /**
7
- * TODO(v5): delete it
8
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
9
- */
10
- export interface TuiInputTimeOptions {
11
- readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
12
- readonly itemSize: TuiSizeL | TuiSizeS;
13
- readonly maxValues: Record<TuiTimeFormatParts, number>;
14
- readonly mode: TuiTimeMode;
15
- readonly nativePicker?: boolean;
16
- }
17
- /**
18
- * TODO(v5): delete it
19
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
20
- */
21
- export type TuiTimeFormatParts = 'HH' | 'MM' | 'MS' | 'SS';
22
- /**
23
- * TODO(v5): delete it
24
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
25
- */
26
- export declare const MAX_TIME_VALUES: Record<TuiTimeFormatParts, number>;
27
- /**
28
- * TODO(v5): delete it
29
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
30
- */
31
- export declare const TUI_INPUT_TIME_DEFAULT_OPTIONS: TuiInputTimeOptions;
32
- /**
33
- * TODO(v5): delete it
34
- * Default parameters for InputTime component
35
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
36
- */
37
- export declare const TUI_INPUT_TIME_OPTIONS: InjectionToken<TuiInputTimeOptions>;
38
- /**
39
- * TODO(v5): delete it
40
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
41
- */
42
- export declare function tuiInputTimeOptionsProvider(options: Partial<TuiInputTimeOptions>): Provider;
@@ -1,12 +0,0 @@
1
- import { TuiInputTimeDirective } from '../input-time.directive';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiNativeTimeComponent {
4
- protected readonly host: TuiInputTimeDirective;
5
- protected readonly autoId: string;
6
- protected get items(): string[];
7
- protected get value(): string;
8
- protected get step(): number;
9
- protected onChange(value: string): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeTimeComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiNativeTimeComponent, "input[tuiTime]", never, {}, {}, never, never, false, never>;
12
- }
@@ -1,19 +0,0 @@
1
- import { type TuiSafeHtml } from '@taiga-ui/cdk/types';
2
- /**
3
- * @deprecated: drop in v5.0 use {@link TuiIcon}
4
- * https://taiga-ui.dev/components/icon
5
- *
6
- * @description:
7
- * Any ‘linearGradient’ attributes which are defined on the referenced
8
- * element which are not defined on this element are inherited by this element.
9
- * If this element has no defined gradient stops, and the referenced element does
10
- * (possibly due to its own ‘xlink:href’ attribute), then this element inherits
11
- * the gradient stop from the referenced element. Inheritance can be indirect
12
- * to an arbitrary level; thus, if the referenced element inherits attribute
13
- * or gradient stops due to its own ‘xlink:href’ attribute, then the current
14
- * element can inherit those attributes or gradient stops.
15
- *
16
- * Documentation: https://www.w3.org/TR/SVG11/pservers.html
17
- *
18
- */
19
- export declare function tuiSvgLinearGradientProcessor(svg: TuiSafeHtml, salt?: number | string): TuiSafeHtml;