@taiga-ui/legacy 4.52.0-canary.669a014 → 4.52.0-canary.692273c
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.
- package/components/combo-box/combo-box.module.d.ts +1 -1
- package/components/dialog/dialog.component.d.ts +20 -0
- package/components/dialog/dialog.directive.d.ts +7 -0
- package/components/dialog/dialog.factory.d.ts +16 -0
- package/components/dialog/dialog.interfaces.d.ts +31 -0
- package/components/dialog/dialog.service.d.ts +7 -0
- package/components/dialog/dialog.tokens.d.ts +8 -0
- package/components/dialog/index.d.ts +6 -0
- package/components/index.d.ts +1 -7
- package/components/input/input.module.d.ts +1 -1
- package/components/input-date-range/input-date-range.module.d.ts +1 -1
- package/components/input-date-time/input-date-time.module.d.ts +1 -1
- package/components/input-month-range/input-month-range.module.d.ts +1 -1
- package/components/input-range/input-range.component.d.ts +1 -1
- package/components/input-tag/input-tag.module.d.ts +1 -1
- package/components/multi-select/multi-select.module.d.ts +1 -1
- package/components/select/select.module.d.ts +1 -1
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs +130 -0
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-select.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components.mjs +1 -7
- package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy.mjs +0 -2
- package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
- package/index.d.ts +0 -2
- package/package.json +7 -51
- package/utils/icons-path-factory.d.ts +1 -1
- package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
- package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
- package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
- package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
- package/components/color-selector/color-selector.component.d.ts +0 -47
- package/components/color-selector/color-selector.module.d.ts +0 -23
- package/components/color-selector/color-selector.options.d.ts +0 -25
- package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
- package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
- package/components/color-selector/index.d.ts +0 -16
- package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
- package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
- package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
- package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
- package/components/color-selector/palette/palette.component.d.ts +0 -10
- package/components/color-selector/palette/palette.module.d.ts +0 -13
- package/components/color-selector/services/picker.service.d.ts +0 -15
- package/components/input-color/index.d.ts +0 -2
- package/components/input-color/input-color.component.d.ts +0 -30
- package/components/input-color/input-color.module.d.ts +0 -17
- package/components/input-date/index.d.ts +0 -3
- package/components/input-date/input-date.component.d.ts +0 -62
- package/components/input-date/input-date.directive.d.ts +0 -19
- package/components/input-date/input-date.module.d.ts +0 -24
- package/components/input-date/native-date/native-date.component.d.ts +0 -15
- package/components/input-phone/index.d.ts +0 -4
- package/components/input-phone/input-phone.component.d.ts +0 -52
- package/components/input-phone/input-phone.directive.d.ts +0 -16
- package/components/input-phone/input-phone.module.d.ts +0 -15
- package/components/input-phone/input-phone.options.d.ts +0 -22
- package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
- package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
- package/components/input-phone/utils/index.d.ts +0 -2
- package/components/input-phone-international/index.d.ts +0 -3
- package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
- package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
- package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
- package/components/input-time/index.d.ts +0 -4
- package/components/input-time/input-time.component.d.ts +0 -62
- package/components/input-time/input-time.directive.d.ts +0 -17
- package/components/input-time/input-time.module.d.ts +0 -23
- package/components/input-time/input-time.options.d.ts +0 -42
- package/components/input-time/native-time/native-time.component.d.ts +0 -12
- package/components/svg/content-processor.d.ts +0 -19
- package/components/svg/deprecated-icons.d.ts +0 -5
- package/components/svg/index.d.ts +0 -5
- package/components/svg/svg-options.d.ts +0 -50
- package/components/svg/svg.component.d.ts +0 -50
- package/components/svg/svg.service.d.ts +0 -21
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -726
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -372
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -430
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
- package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
- package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
- package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
- package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
- package/pipes/format-phone/index.d.ts +0 -1
- package/pipes/index.d.ts +0 -3
- package/pipes/iso-to-country-code/index.d.ts +0 -1
- package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
- package/pipes/to-country-code/index.d.ts +0 -1
- package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
- package/services/index.d.ts +0 -1
- package/services/static-request.service.d.ts +0 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/legacy",
|
|
3
|
-
"version": "4.52.0-canary.
|
|
3
|
+
"version": "4.52.0-canary.692273c",
|
|
4
4
|
"description": "Legacy Taiga UI entities from the previous major release to simplify migration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legacy",
|
|
@@ -31,21 +31,13 @@
|
|
|
31
31
|
"types": "./directives/index.d.ts",
|
|
32
32
|
"default": "./fesm2022/taiga-ui-legacy-directives.mjs"
|
|
33
33
|
},
|
|
34
|
-
"./pipes": {
|
|
35
|
-
"types": "./pipes/index.d.ts",
|
|
36
|
-
"default": "./fesm2022/taiga-ui-legacy-pipes.mjs"
|
|
37
|
-
},
|
|
38
|
-
"./services": {
|
|
39
|
-
"types": "./services/index.d.ts",
|
|
40
|
-
"default": "./fesm2022/taiga-ui-legacy-services.mjs"
|
|
41
|
-
},
|
|
42
34
|
"./tokens": {
|
|
43
35
|
"types": "./tokens/index.d.ts",
|
|
44
36
|
"default": "./fesm2022/taiga-ui-legacy-tokens.mjs"
|
|
45
37
|
},
|
|
46
|
-
"./
|
|
47
|
-
"types": "./
|
|
48
|
-
"default": "./fesm2022/taiga-ui-legacy-
|
|
38
|
+
"./utils": {
|
|
39
|
+
"types": "./utils/index.d.ts",
|
|
40
|
+
"default": "./fesm2022/taiga-ui-legacy-utils.mjs"
|
|
49
41
|
},
|
|
50
42
|
"./components/arrow": {
|
|
51
43
|
"types": "./components/arrow/index.d.ts",
|
|
@@ -55,22 +47,14 @@
|
|
|
55
47
|
"types": "./components/combo-box/index.d.ts",
|
|
56
48
|
"default": "./fesm2022/taiga-ui-legacy-components-combo-box.mjs"
|
|
57
49
|
},
|
|
58
|
-
"./
|
|
59
|
-
"types": "./
|
|
60
|
-
"default": "./fesm2022/taiga-ui-legacy-
|
|
50
|
+
"./components/dialog": {
|
|
51
|
+
"types": "./components/dialog/index.d.ts",
|
|
52
|
+
"default": "./fesm2022/taiga-ui-legacy-components-dialog.mjs"
|
|
61
53
|
},
|
|
62
54
|
"./components/input": {
|
|
63
55
|
"types": "./components/input/index.d.ts",
|
|
64
56
|
"default": "./fesm2022/taiga-ui-legacy-components-input.mjs"
|
|
65
57
|
},
|
|
66
|
-
"./components/input-color": {
|
|
67
|
-
"types": "./components/input-color/index.d.ts",
|
|
68
|
-
"default": "./fesm2022/taiga-ui-legacy-components-input-color.mjs"
|
|
69
|
-
},
|
|
70
|
-
"./components/input-date": {
|
|
71
|
-
"types": "./components/input-date/index.d.ts",
|
|
72
|
-
"default": "./fesm2022/taiga-ui-legacy-components-input-date.mjs"
|
|
73
|
-
},
|
|
74
58
|
"./components/input-date-range": {
|
|
75
59
|
"types": "./components/input-date-range/index.d.ts",
|
|
76
60
|
"default": "./fesm2022/taiga-ui-legacy-components-input-date-range.mjs"
|
|
@@ -87,14 +71,6 @@
|
|
|
87
71
|
"types": "./components/input-number/index.d.ts",
|
|
88
72
|
"default": "./fesm2022/taiga-ui-legacy-components-input-number.mjs"
|
|
89
73
|
},
|
|
90
|
-
"./components/input-phone": {
|
|
91
|
-
"types": "./components/input-phone/index.d.ts",
|
|
92
|
-
"default": "./fesm2022/taiga-ui-legacy-components-input-phone.mjs"
|
|
93
|
-
},
|
|
94
|
-
"./components/input-phone-international": {
|
|
95
|
-
"types": "./components/input-phone-international/index.d.ts",
|
|
96
|
-
"default": "./fesm2022/taiga-ui-legacy-components-input-phone-international.mjs"
|
|
97
|
-
},
|
|
98
74
|
"./components/input-range": {
|
|
99
75
|
"types": "./components/input-range/index.d.ts",
|
|
100
76
|
"default": "./fesm2022/taiga-ui-legacy-components-input-range.mjs"
|
|
@@ -107,10 +83,6 @@
|
|
|
107
83
|
"types": "./components/input-tag/index.d.ts",
|
|
108
84
|
"default": "./fesm2022/taiga-ui-legacy-components-input-tag.mjs"
|
|
109
85
|
},
|
|
110
|
-
"./components/input-time": {
|
|
111
|
-
"types": "./components/input-time/index.d.ts",
|
|
112
|
-
"default": "./fesm2022/taiga-ui-legacy-components-input-time.mjs"
|
|
113
|
-
},
|
|
114
86
|
"./components/multi-select": {
|
|
115
87
|
"types": "./components/multi-select/index.d.ts",
|
|
116
88
|
"default": "./fesm2022/taiga-ui-legacy-components-multi-select.mjs"
|
|
@@ -131,10 +103,6 @@
|
|
|
131
103
|
"types": "./components/select-option/index.d.ts",
|
|
132
104
|
"default": "./fesm2022/taiga-ui-legacy-components-select-option.mjs"
|
|
133
105
|
},
|
|
134
|
-
"./components/svg": {
|
|
135
|
-
"types": "./components/svg/index.d.ts",
|
|
136
|
-
"default": "./fesm2022/taiga-ui-legacy-components-svg.mjs"
|
|
137
|
-
},
|
|
138
106
|
"./components/tag": {
|
|
139
107
|
"types": "./components/tag/index.d.ts",
|
|
140
108
|
"default": "./fesm2022/taiga-ui-legacy-components-tag.mjs"
|
|
@@ -166,18 +134,6 @@
|
|
|
166
134
|
"./directives/wrapper": {
|
|
167
135
|
"types": "./directives/wrapper/index.d.ts",
|
|
168
136
|
"default": "./fesm2022/taiga-ui-legacy-directives-wrapper.mjs"
|
|
169
|
-
},
|
|
170
|
-
"./pipes/format-phone": {
|
|
171
|
-
"types": "./pipes/format-phone/index.d.ts",
|
|
172
|
-
"default": "./fesm2022/taiga-ui-legacy-pipes-format-phone.mjs"
|
|
173
|
-
},
|
|
174
|
-
"./pipes/iso-to-country-code": {
|
|
175
|
-
"types": "./pipes/iso-to-country-code/index.d.ts",
|
|
176
|
-
"default": "./fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs"
|
|
177
|
-
},
|
|
178
|
-
"./pipes/to-country-code": {
|
|
179
|
-
"types": "./pipes/to-country-code/index.d.ts",
|
|
180
|
-
"default": "./fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs"
|
|
181
137
|
}
|
|
182
138
|
},
|
|
183
139
|
"peerDependencies": {
|
|
@@ -2,7 +2,7 @@ import { type TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
|
2
2
|
/**
|
|
3
3
|
* @deprecated: drop in v5.0
|
|
4
4
|
*/
|
|
5
|
-
export declare const TUI_CACHE_BUSTING_PAYLOAD: "?v=4.52.0-canary.
|
|
5
|
+
export declare const TUI_CACHE_BUSTING_PAYLOAD: "?v=4.52.0-canary.692273c";
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated: drop in v5.0
|
|
8
8
|
*/
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { type MaskitoOptions } from '@maskito/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiColorEditComponent {
|
|
5
|
-
color: [number, number, number, number];
|
|
6
|
-
readonly colorChange: EventEmitter<[number, number, number, number]>;
|
|
7
|
-
readonly hexMask: MaskitoOptions;
|
|
8
|
-
readonly modes: string[];
|
|
9
|
-
mode: string | undefined;
|
|
10
|
-
get isHex(): boolean;
|
|
11
|
-
get hex(): string;
|
|
12
|
-
get opacity(): number;
|
|
13
|
-
onHexChange(hex: string): void;
|
|
14
|
-
onRgbChange(...rgba: [number, number, number, number]): void;
|
|
15
|
-
private updateColor;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorEditComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiColorEditComponent, "tui-color-edit", never, { "color": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, false, never>;
|
|
18
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./color-edit.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "@maskito/angular";
|
|
6
|
-
import * as i5 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
7
|
-
import * as i6 from "@taiga-ui/legacy/directives/textfield-controller";
|
|
8
|
-
import * as i7 from "@taiga-ui/legacy/components/input-number";
|
|
9
|
-
import * as i8 from "@taiga-ui/legacy/components/select";
|
|
10
|
-
import * as i9 from "@taiga-ui/core/directives/dropdown";
|
|
11
|
-
import * as i10 from "@taiga-ui/core/components/data-list";
|
|
12
|
-
import * as i11 from "@taiga-ui/core/components/button";
|
|
13
|
-
/**
|
|
14
|
-
* TODO(v5): delete it
|
|
15
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
|
|
16
|
-
*/
|
|
17
|
-
export declare class TuiColorEditModule {
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorEditModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiColorEditModule, [typeof i1.TuiColorEditComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MaskitoDirective, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiTextfieldControllerModule, typeof i7.TuiInputNumberModule, typeof i8.TuiSelectModule, typeof i9.TuiDropdownOptionsDirective, typeof i9.TuiDropdownDriverDirective, typeof i9.TuiDropdownDirective, typeof i9.TuiDropdownComponent, typeof i9.TuiDropdownOpen, typeof i9.TuiDropdownOpenLegacy, typeof i9.TuiDropdownPortal, typeof i9.TuiDropdownManual, typeof i9.TuiDropdownHover, typeof i9.TuiDropdownContext, typeof i9.TuiDropdownPosition, typeof i9.TuiDropdownPositionSided, typeof i9.TuiDropdownSelection, typeof i10.TuiDataListComponent, typeof i10.TuiDataListDirective, typeof i10.TuiOption, typeof i10.TuiOptionNew, typeof i10.TuiOptionWithValue, typeof i10.TuiOptGroup, typeof i11.TuiButton], [typeof i1.TuiColorEditComponent, typeof i9.TuiDropdownOptionsDirective, typeof i9.TuiDropdownDriverDirective, typeof i9.TuiDropdownDirective, typeof i9.TuiDropdownComponent, typeof i9.TuiDropdownOpen, typeof i9.TuiDropdownOpenLegacy, typeof i9.TuiDropdownPortal, typeof i9.TuiDropdownManual, typeof i9.TuiDropdownHover, typeof i9.TuiDropdownContext, typeof i9.TuiDropdownPosition, typeof i9.TuiDropdownPositionSided, typeof i9.TuiDropdownSelection, typeof i10.TuiDataListComponent, typeof i10.TuiDataListDirective, typeof i10.TuiOption, typeof i10.TuiOptionNew, typeof i10.TuiOptionWithValue, typeof i10.TuiOptGroup]>;
|
|
20
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiColorEditModule>;
|
|
21
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { type SafeStyle } from '@angular/platform-browser';
|
|
3
|
-
import { type TuiPoint } from '@taiga-ui/core/types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TuiColorPickerComponent {
|
|
6
|
-
private readonly sanitizer;
|
|
7
|
-
protected point: TuiPoint;
|
|
8
|
-
protected hue: number;
|
|
9
|
-
protected opacity: number;
|
|
10
|
-
readonly colorChange: EventEmitter<[h: number, s: number, v: number, opacity: number]>;
|
|
11
|
-
set color(color: [h: number, s: number, v: number, opacity: number]);
|
|
12
|
-
get currentColor(): [h: number, s: number, v: number];
|
|
13
|
-
get base(): string;
|
|
14
|
-
get gradient(): SafeStyle;
|
|
15
|
-
onPointChange(point: TuiPoint): void;
|
|
16
|
-
onHueChange(hue: number): void;
|
|
17
|
-
onOpacityChange(opacity: number): void;
|
|
18
|
-
private getCurrentColor;
|
|
19
|
-
private updateColor;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorPickerComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiColorPickerComponent, "tui-color-picker", never, { "color": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, false, never>;
|
|
22
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./color-picker.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../flat-picker/flat-picker.module";
|
|
5
|
-
import * as i4 from "../linear-picker/linear-picker.module";
|
|
6
|
-
/**
|
|
7
|
-
* TODO(v5): delete it
|
|
8
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
|
|
9
|
-
*/
|
|
10
|
-
export declare class TuiColorPickerModule {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorPickerModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiColorPickerModule, [typeof i1.TuiColorPickerComponent], [typeof i2.CommonModule, typeof i3.TuiFlatPickerModule, typeof i4.TuiLinearPickerModule], [typeof i1.TuiColorPickerComponent]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiColorPickerModule>;
|
|
14
|
-
}
|
|
@@ -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,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,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
|
-
}
|