@taiga-ui/legacy 4.52.0-canary.ec0802b → 4.52.0-canary.efbd0d4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/dialog/dialog.component.d.ts +2 -1
- package/components/dialog/dialog.service.d.ts +1 -1
- package/components/index.d.ts +0 -11
- package/components/mobile-dialog/mobile-dialog.service.d.ts +1 -1
- package/components/pdf-viewer/pdf-viewer.service.d.ts +1 -1
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs +17 -17
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +8 -8
- package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +11 -11
- package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components.mjs +0 -11
- package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy.mjs +0 -4
- package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
- package/index.d.ts +0 -4
- package/package.json +15 -93
- package/classes/abstract-native-select.d.ts +0 -22
- package/classes/abstract-textfield-host.d.ts +0 -19
- package/classes/control.d.ts +0 -60
- package/classes/controller.d.ts +0 -9
- package/classes/index.d.ts +0 -9
- package/classes/interactive.d.ts +0 -34
- package/classes/multiple-control.d.ts +0 -11
- package/classes/named-day.d.ts +0 -11
- package/classes/nullable-control.d.ts +0 -10
- package/classes/stringifiable-item.d.ts +0 -11
- package/components/arrow/arrow.component.d.ts +0 -17
- package/components/arrow/arrow.options.d.ts +0 -17
- package/components/arrow/arrow.providers.d.ts +0 -18
- package/components/arrow/index.d.ts +0 -3
- package/components/input/index.d.ts +0 -3
- package/components/input/input.component.d.ts +0 -32
- package/components/input/input.directive.d.ts +0 -12
- package/components/input/input.module.d.ts +0 -16
- package/components/input-date-range/index.d.ts +0 -3
- package/components/input-date-range/input-date-range.component.d.ts +0 -66
- package/components/input-date-range/input-date-range.directive.d.ts +0 -16
- package/components/input-date-range/input-date-range.module.d.ts +0 -21
- package/components/input-date-time/index.d.ts +0 -3
- package/components/input-date-time/input-date-time.component.d.ts +0 -87
- package/components/input-date-time/input-date-time.directive.d.ts +0 -17
- package/components/input-date-time/input-date-time.module.d.ts +0 -23
- package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
- package/components/input-month-range/index.d.ts +0 -3
- package/components/input-month-range/input-month-range.component.d.ts +0 -38
- package/components/input-month-range/input-month-range.directive.d.ts +0 -23
- package/components/input-month-range/input-month-range.module.d.ts +0 -18
- package/components/input-number/index.d.ts +0 -4
- package/components/input-number/input-number.component.d.ts +0 -62
- package/components/input-number/input-number.directive.d.ts +0 -16
- package/components/input-number/input-number.module.d.ts +0 -18
- package/components/input-number/input-number.options.d.ts +0 -23
- package/components/input-range/index.d.ts +0 -2
- package/components/input-range/input-range.component.d.ts +0 -56
- package/components/input-range/input-range.module.d.ts +0 -19
- package/components/primitive-textfield/index.d.ts +0 -7
- package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
- package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
- package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
- package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
- package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
- package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
- package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
- package/components/select/index.d.ts +0 -6
- package/components/select/native-select/native-select-group.component.d.ts +0 -17
- package/components/select/native-select/native-select.component.d.ts +0 -16
- package/components/select/select.component.d.ts +0 -45
- package/components/select/select.directive.d.ts +0 -16
- package/components/select/select.module.d.ts +0 -24
- package/components/select/select.options.d.ts +0 -19
- package/components/select-option/index.d.ts +0 -2
- package/components/select-option/select-option.component.d.ts +0 -27
- package/components/select-option/select-option.module.d.ts +0 -10
- package/components/tooltip/index.d.ts +0 -2
- package/components/tooltip/tooltip.component.d.ts +0 -12
- package/components/tooltip/tooltip.module.d.ts +0 -13
- package/directives/index.d.ts +0 -5
- package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
- package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
- package/directives/textfield-controller/index.d.ts +0 -14
- package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
- package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
- package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
- package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
- package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
- package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
- package/directives/textfield-controller/textfield.controller.d.ts +0 -41
- package/directives/textfield-controller/textfield.options.d.ts +0 -17
- package/directives/unfinished-validator/index.d.ts +0 -2
- package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
- package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
- package/directives/value-accessor/index.d.ts +0 -3
- package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
- package/directives/value-accessor/value-accessor.module.d.ts +0 -7
- package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
- package/directives/wrapper/README.md +0 -19
- package/directives/wrapper/index.d.ts +0 -2
- package/directives/wrapper/wrapper.directive.d.ts +0 -22
- package/directives/wrapper/wrapper.module.d.ts +0 -10
- package/fesm2022/taiga-ui-legacy-classes.mjs +0 -413
- package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -72
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -346
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -459
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -375
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -156
- package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -345
- package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -49
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -397
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -48
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
- package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
- package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
- package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-utils.mjs +0 -262
- package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
- package/styles/mixins/mixins.less +0 -239
- package/styles/mixins/mixins.scss +0 -224
- package/styles/mixins/textfield.less +0 -324
- package/styles/mixins/textfield.scss +0 -308
- package/styles/taiga-ui-local.less +0 -3
- package/styles/taiga-ui-local.scss +0 -3
- package/tokens/countries-masks.d.ts +0 -9
- package/tokens/focusable-item-accessor.d.ts +0 -25
- package/tokens/fonts-ready.d.ts +0 -6
- package/tokens/icons.d.ts +0 -6
- package/tokens/index.d.ts +0 -14
- package/tokens/is-apple.d.ts +0 -6
- package/tokens/is-chromium.d.ts +0 -6
- package/tokens/is-firefox.d.ts +0 -6
- package/tokens/is-stackblitz.d.ts +0 -5
- package/tokens/month-formatter.d.ts +0 -10
- package/tokens/sanitizer.d.ts +0 -6
- package/tokens/textfield-appearance.d.ts +0 -7
- package/tokens/textfield-host.d.ts +0 -23
- package/tokens/touch-supported.d.ts +0 -5
- package/tokens/value-accessor.d.ts +0 -7
- package/utils/capitalize-first-letter.d.ts +0 -4
- package/utils/date-mode-maskito-adapter.d.ts +0 -6
- package/utils/format-phone.d.ts +0 -30
- package/utils/get-border.d.ts +0 -5
- package/utils/get-max-allowed-phone-length.d.ts +0 -24
- package/utils/get-safe-area-size.d.ts +0 -7
- package/utils/icons-path-factory.d.ts +0 -13
- package/utils/index.d.ts +0 -13
- package/utils/is-presumed-html-string.d.ts +0 -4
- package/utils/iso-to-country-code.d.ts +0 -13
- package/utils/not-kz-region.d.ts +0 -20
- package/utils/process-icon.d.ts +0 -4
- package/utils/specific-dropdown-controllers.d.ts +0 -4
- package/utils/status.d.ts +0 -4
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.efbd0d4",
|
|
4
4
|
"description": "Legacy Taiga UI entities from the previous major release to simplify migration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legacy",
|
|
@@ -13,8 +13,15 @@
|
|
|
13
13
|
"url": "https://github.com/taiga-family/taiga-ui"
|
|
14
14
|
},
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
|
+
"peerDependencies": {
|
|
17
|
+
"@angular/core": ">=19.0.0",
|
|
18
|
+
"@taiga-ui/cdk": "^4.52.0",
|
|
19
|
+
"@taiga-ui/core": "^4.52.0",
|
|
20
|
+
"@taiga-ui/polymorpheus": "^4.9.0"
|
|
21
|
+
},
|
|
22
|
+
"module": "fesm2022/taiga-ui-legacy.mjs",
|
|
23
|
+
"typings": "index.d.ts",
|
|
16
24
|
"exports": {
|
|
17
|
-
"./styles/*": "./styles/*",
|
|
18
25
|
"./package.json": {
|
|
19
26
|
"default": "./package.json"
|
|
20
27
|
},
|
|
@@ -22,108 +29,23 @@
|
|
|
22
29
|
"types": "./index.d.ts",
|
|
23
30
|
"default": "./fesm2022/taiga-ui-legacy.mjs"
|
|
24
31
|
},
|
|
25
|
-
"./classes": {
|
|
26
|
-
"types": "./classes/index.d.ts",
|
|
27
|
-
"default": "./fesm2022/taiga-ui-legacy-classes.mjs"
|
|
28
|
-
},
|
|
29
32
|
"./components": {
|
|
30
33
|
"types": "./components/index.d.ts",
|
|
31
34
|
"default": "./fesm2022/taiga-ui-legacy-components.mjs"
|
|
32
35
|
},
|
|
33
|
-
"./directives": {
|
|
34
|
-
"types": "./directives/index.d.ts",
|
|
35
|
-
"default": "./fesm2022/taiga-ui-legacy-directives.mjs"
|
|
36
|
-
},
|
|
37
|
-
"./tokens": {
|
|
38
|
-
"types": "./tokens/index.d.ts",
|
|
39
|
-
"default": "./fesm2022/taiga-ui-legacy-tokens.mjs"
|
|
40
|
-
},
|
|
41
|
-
"./utils": {
|
|
42
|
-
"types": "./utils/index.d.ts",
|
|
43
|
-
"default": "./fesm2022/taiga-ui-legacy-utils.mjs"
|
|
44
|
-
},
|
|
45
|
-
"./components/arrow": {
|
|
46
|
-
"types": "./components/arrow/index.d.ts",
|
|
47
|
-
"default": "./fesm2022/taiga-ui-legacy-components-arrow.mjs"
|
|
48
|
-
},
|
|
49
|
-
"./components/dialog": {
|
|
50
|
-
"types": "./components/dialog/index.d.ts",
|
|
51
|
-
"default": "./fesm2022/taiga-ui-legacy-components-dialog.mjs"
|
|
52
|
-
},
|
|
53
|
-
"./components/input": {
|
|
54
|
-
"types": "./components/input/index.d.ts",
|
|
55
|
-
"default": "./fesm2022/taiga-ui-legacy-components-input.mjs"
|
|
56
|
-
},
|
|
57
|
-
"./components/input-date-range": {
|
|
58
|
-
"types": "./components/input-date-range/index.d.ts",
|
|
59
|
-
"default": "./fesm2022/taiga-ui-legacy-components-input-date-range.mjs"
|
|
60
|
-
},
|
|
61
|
-
"./components/input-date-time": {
|
|
62
|
-
"types": "./components/input-date-time/index.d.ts",
|
|
63
|
-
"default": "./fesm2022/taiga-ui-legacy-components-input-date-time.mjs"
|
|
64
|
-
},
|
|
65
|
-
"./components/input-month-range": {
|
|
66
|
-
"types": "./components/input-month-range/index.d.ts",
|
|
67
|
-
"default": "./fesm2022/taiga-ui-legacy-components-input-month-range.mjs"
|
|
68
|
-
},
|
|
69
|
-
"./components/input-number": {
|
|
70
|
-
"types": "./components/input-number/index.d.ts",
|
|
71
|
-
"default": "./fesm2022/taiga-ui-legacy-components-input-number.mjs"
|
|
72
|
-
},
|
|
73
|
-
"./components/input-range": {
|
|
74
|
-
"types": "./components/input-range/index.d.ts",
|
|
75
|
-
"default": "./fesm2022/taiga-ui-legacy-components-input-range.mjs"
|
|
76
|
-
},
|
|
77
|
-
"./components/mobile-dialog": {
|
|
78
|
-
"types": "./components/mobile-dialog/index.d.ts",
|
|
79
|
-
"default": "./fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs"
|
|
80
|
-
},
|
|
81
36
|
"./components/pdf-viewer": {
|
|
82
37
|
"types": "./components/pdf-viewer/index.d.ts",
|
|
83
38
|
"default": "./fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs"
|
|
84
39
|
},
|
|
85
|
-
"./components/
|
|
86
|
-
"types": "./components/
|
|
87
|
-
"default": "./fesm2022/taiga-ui-legacy-components-
|
|
88
|
-
},
|
|
89
|
-
"./components/select": {
|
|
90
|
-
"types": "./components/select/index.d.ts",
|
|
91
|
-
"default": "./fesm2022/taiga-ui-legacy-components-select.mjs"
|
|
92
|
-
},
|
|
93
|
-
"./components/select-option": {
|
|
94
|
-
"types": "./components/select-option/index.d.ts",
|
|
95
|
-
"default": "./fesm2022/taiga-ui-legacy-components-select-option.mjs"
|
|
96
|
-
},
|
|
97
|
-
"./components/tooltip": {
|
|
98
|
-
"types": "./components/tooltip/index.d.ts",
|
|
99
|
-
"default": "./fesm2022/taiga-ui-legacy-components-tooltip.mjs"
|
|
100
|
-
},
|
|
101
|
-
"./directives/legacy-dropdown-open-monitor": {
|
|
102
|
-
"types": "./directives/legacy-dropdown-open-monitor/index.d.ts",
|
|
103
|
-
"default": "./fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs"
|
|
104
|
-
},
|
|
105
|
-
"./directives/textfield-controller": {
|
|
106
|
-
"types": "./directives/textfield-controller/index.d.ts",
|
|
107
|
-
"default": "./fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs"
|
|
108
|
-
},
|
|
109
|
-
"./directives/unfinished-validator": {
|
|
110
|
-
"types": "./directives/unfinished-validator/index.d.ts",
|
|
111
|
-
"default": "./fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs"
|
|
112
|
-
},
|
|
113
|
-
"./directives/value-accessor": {
|
|
114
|
-
"types": "./directives/value-accessor/index.d.ts",
|
|
115
|
-
"default": "./fesm2022/taiga-ui-legacy-directives-value-accessor.mjs"
|
|
40
|
+
"./components/mobile-dialog": {
|
|
41
|
+
"types": "./components/mobile-dialog/index.d.ts",
|
|
42
|
+
"default": "./fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs"
|
|
116
43
|
},
|
|
117
|
-
"./
|
|
118
|
-
"types": "./
|
|
119
|
-
"default": "./fesm2022/taiga-ui-legacy-
|
|
44
|
+
"./components/dialog": {
|
|
45
|
+
"types": "./components/dialog/index.d.ts",
|
|
46
|
+
"default": "./fesm2022/taiga-ui-legacy-components-dialog.mjs"
|
|
120
47
|
}
|
|
121
48
|
},
|
|
122
|
-
"peerDependencies": {
|
|
123
|
-
"@angular/core": ">=19.0.0"
|
|
124
|
-
},
|
|
125
|
-
"module": "fesm2022/taiga-ui-legacy.mjs",
|
|
126
|
-
"typings": "index.d.ts",
|
|
127
49
|
"sideEffects": false,
|
|
128
50
|
"dependencies": {
|
|
129
51
|
"tslib": ">=2.8.1"
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { type TuiBooleanHandler } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { type TuiTextfieldHost } from '@taiga-ui/legacy/tokens';
|
|
4
|
-
import { AbstractTuiControl } from './control';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated: drop in v5.0
|
|
8
|
-
*/
|
|
9
|
-
export declare abstract class AbstractTuiNativeSelect<H = TuiTextfieldHost, T = string> {
|
|
10
|
-
protected readonly datalist: TemplateRef<any> | null;
|
|
11
|
-
protected readonly autoId: string;
|
|
12
|
-
protected readonly el: HTMLSelectElement;
|
|
13
|
-
protected readonly host: H;
|
|
14
|
-
protected readonly control: AbstractTuiControl<any>;
|
|
15
|
-
protected readonly itemsHandlers: import("@taiga-ui/kit/tokens").TuiItemsHandlers<unknown>;
|
|
16
|
-
disabledItemHandler: TuiBooleanHandler<T> | null;
|
|
17
|
-
placeholder: string;
|
|
18
|
-
protected get id(): string;
|
|
19
|
-
protected get emptyOption(): boolean;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiNativeSelect<any, any>, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiNativeSelect<any, any>, never, never, { "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { type TuiTextfieldHost } from '@taiga-ui/legacy/tokens';
|
|
2
|
-
import { AbstractTuiControl } from './control';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated: drop in v5.0
|
|
6
|
-
*/
|
|
7
|
-
export declare abstract class AbstractTuiTextfieldHost<T extends AbstractTuiControl<any>> implements TuiTextfieldHost {
|
|
8
|
-
protected readonly host: T;
|
|
9
|
-
readonly inputMode: TuiTextfieldHost['inputMode'];
|
|
10
|
-
abstract onValueChange(value: string): void;
|
|
11
|
-
get readOnly(): boolean;
|
|
12
|
-
get disabled(): boolean;
|
|
13
|
-
get invalid(): boolean;
|
|
14
|
-
get focusable(): boolean;
|
|
15
|
-
get value(): string;
|
|
16
|
-
process(_input: HTMLInputElement): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiTextfieldHost<any>, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiTextfieldHost<any>, never, never, {}, {}, never, never, true, never>;
|
|
19
|
-
}
|
package/classes/control.d.ts
DELETED
|
@@ -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[];
|
package/classes/controller.d.ts
DELETED
|
@@ -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
|
-
}
|
package/classes/index.d.ts
DELETED
|
@@ -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';
|
package/classes/interactive.d.ts
DELETED
|
@@ -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
|
-
}
|
package/classes/named-day.d.ts
DELETED
|
@@ -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,32 +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 TuiSizeS } from '@taiga-ui/core/types';
|
|
5
|
-
import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
|
|
6
|
-
import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
7
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@taiga-ui/core/directives/dropdown";
|
|
10
|
-
/**
|
|
11
|
-
* TODO(v5): delete it
|
|
12
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead
|
|
13
|
-
*/
|
|
14
|
-
export declare class TuiInputComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor, TuiDataListHost<string> {
|
|
15
|
-
private readonly dropdown?;
|
|
16
|
-
private readonly textfield?;
|
|
17
|
-
private readonly textfieldSize;
|
|
18
|
-
protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;
|
|
19
|
-
open: boolean;
|
|
20
|
-
get size(): TuiSizeL | TuiSizeS;
|
|
21
|
-
get nativeFocusableElement(): HTMLInputElement | null;
|
|
22
|
-
get focused(): boolean;
|
|
23
|
-
handleOption(item: unknown): void;
|
|
24
|
-
onValueChange(value: string): void;
|
|
25
|
-
protected get canOpen(): boolean;
|
|
26
|
-
protected onActiveZone(active: boolean): void;
|
|
27
|
-
protected getFallbackValue(): string;
|
|
28
|
-
private focusInput;
|
|
29
|
-
private setNativeValue;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputComponent, "tui-input", never, {}, {}, ["datalist"], ["*", "input"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
|
|
32
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
2
|
-
import { type TuiInputComponent } from './input.component';
|
|
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/textfield TuiTextfield} (from @taiga-ui/core) instead
|
|
7
|
-
*/
|
|
8
|
-
export declare class TuiInputDirective extends AbstractTuiTextfieldHost<TuiInputComponent> {
|
|
9
|
-
onValueChange(value: string): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputDirective, "tui-input", never, {}, {}, never, never, false, never>;
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input.component";
|
|
3
|
-
import * as i2 from "./input.directive";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@taiga-ui/legacy/directives";
|
|
6
|
-
import * as i5 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
7
|
-
import * as i6 from "@taiga-ui/core/directives/dropdown";
|
|
8
|
-
/**
|
|
9
|
-
* TODO(v5): delete it
|
|
10
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/textfield TuiTextfield} (from @taiga-ui/core) instead
|
|
11
|
-
*/
|
|
12
|
-
export declare class TuiInputModule {
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputModule, [typeof i1.TuiInputComponent, typeof i2.TuiInputDirective], [typeof i3.CommonModule, typeof i4.TuiLegacyDropdownOpenMonitorDirective, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiDropdownOptionsDirective, typeof i6.TuiDropdownDriverDirective, typeof i6.TuiDropdownDirective, typeof i6.TuiDropdownComponent, typeof i6.TuiDropdownOpen, typeof i6.TuiDropdownOpenLegacy, typeof i6.TuiDropdownManual, typeof i6.TuiDropdownHover, typeof i6.TuiDropdownContent, typeof i6.TuiDropdownContext, typeof i6.TuiDropdownPosition, typeof i6.TuiDropdownPositionSided, typeof i6.TuiDropdownSelection], [typeof i1.TuiInputComponent, typeof i2.TuiInputDirective, typeof i5.TuiTextfieldComponent, typeof i6.TuiDropdownOptionsDirective, typeof i6.TuiDropdownDriverDirective, typeof i6.TuiDropdownDirective, typeof i6.TuiDropdownComponent, typeof i6.TuiDropdownOpen, typeof i6.TuiDropdownOpenLegacy, typeof i6.TuiDropdownManual, typeof i6.TuiDropdownHover, typeof i6.TuiDropdownContent, typeof i6.TuiDropdownContext, typeof i6.TuiDropdownPosition, typeof i6.TuiDropdownPositionSided, typeof i6.TuiDropdownSelection]>;
|
|
15
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputModule>;
|
|
16
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { type MaskitoOptions } from '@maskito/core';
|
|
2
|
-
import { type TuiDateMode, type TuiDay, type TuiDayLike, TuiDayRange, TuiMonth } from '@taiga-ui/cdk/date-time';
|
|
3
|
-
import { type TuiBooleanHandler } from '@taiga-ui/cdk/types';
|
|
4
|
-
import { type TuiMarkerHandler } from '@taiga-ui/core/components/calendar';
|
|
5
|
-
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
6
|
-
import { type TuiDayRangePeriod } from '@taiga-ui/kit/components/calendar-range';
|
|
7
|
-
import { type TuiInputDateOptions } from '@taiga-ui/kit/tokens';
|
|
8
|
-
import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
|
|
9
|
-
import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
10
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
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-range TuiInputDateRange} (from @taiga-ui/kit) instead
|
|
15
|
-
*/
|
|
16
|
-
export declare class TuiInputDateRangeComponent extends AbstractTuiNullableControl<TuiDayRange> implements TuiFocusableElementAccessor {
|
|
17
|
-
private readonly textfield?;
|
|
18
|
-
private readonly isMobile;
|
|
19
|
-
private readonly mobileCalendar;
|
|
20
|
-
private readonly options;
|
|
21
|
-
private readonly textfieldSize;
|
|
22
|
-
private readonly nativeValue;
|
|
23
|
-
protected readonly dateTexts$: import("rxjs").Observable<Record<TuiDateMode, string>>;
|
|
24
|
-
protected readonly valueTransformer: import("@taiga-ui/cdk/classes").TuiValueTransformer<TuiDayRange | null, unknown> | null;
|
|
25
|
-
protected readonly dateFiller$: import("rxjs").Observable<string>;
|
|
26
|
-
protected dateFormat: import("@angular/core").Signal<import("@taiga-ui/core/tokens").TuiDateFormatSettings>;
|
|
27
|
-
protected selectedActivePeriod: TuiDayRangePeriod | null;
|
|
28
|
-
disabledItemHandler: TuiBooleanHandler<TuiDay>;
|
|
29
|
-
markerHandler: TuiMarkerHandler | null;
|
|
30
|
-
defaultViewedMonth: TuiMonth;
|
|
31
|
-
items: readonly TuiDayRangePeriod[];
|
|
32
|
-
min: TuiDay | null;
|
|
33
|
-
max: TuiDay | null;
|
|
34
|
-
minLength: TuiDayLike | null;
|
|
35
|
-
maxLength: TuiDayLike | null;
|
|
36
|
-
open: boolean;
|
|
37
|
-
get nativeFocusableElement(): HTMLInputElement | null;
|
|
38
|
-
get focused(): boolean;
|
|
39
|
-
get computedExampleText(): string;
|
|
40
|
-
get computedValue(): string;
|
|
41
|
-
get size(): TuiSizeL | TuiSizeS;
|
|
42
|
-
onClick(): void;
|
|
43
|
-
onValueChange(value: string): void;
|
|
44
|
-
onRangeChange(range: TuiDayRange | null): void;
|
|
45
|
-
writeValue(value: TuiDayRange | null): void;
|
|
46
|
-
protected get computedMobile(): boolean;
|
|
47
|
-
protected get calendarIcon(): TuiInputDateOptions['icon'];
|
|
48
|
-
protected get computedMask(): MaskitoOptions;
|
|
49
|
-
protected get activePeriod(): TuiDayRangePeriod | null;
|
|
50
|
-
protected get showValueTemplate(): boolean;
|
|
51
|
-
protected get computedContent(): PolymorpheusContent;
|
|
52
|
-
protected get innerPseudoFocused(): boolean | null;
|
|
53
|
-
protected getComputedRangeFiller(dateFiller: string): string;
|
|
54
|
-
protected onIconClick(): void;
|
|
55
|
-
protected onOpenChange(open: boolean): void;
|
|
56
|
-
protected onActiveZone(focused: boolean): void;
|
|
57
|
-
protected valueIdenticalComparator(oldValue: TuiDayRange | null, newValue: TuiDayRange | null): boolean;
|
|
58
|
-
private get itemSelected();
|
|
59
|
-
private calculateMask;
|
|
60
|
-
private toggle;
|
|
61
|
-
private focusInput;
|
|
62
|
-
private getDateRangeFiller;
|
|
63
|
-
private findActivePeriodBy;
|
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateRangeComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputDateRangeComponent, "tui-input-date-range", never, { "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "markerHandler": { "alias": "markerHandler"; "required": false; }; "defaultViewedMonth": { "alias": "defaultViewedMonth"; "required": false; }; "items": { "alias": "items"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
|
|
66
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type DoCheck } from '@angular/core';
|
|
2
|
-
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
3
|
-
import { type TuiInputDateRangeComponent } from './input-date-range.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* TODO(v5): delete it
|
|
7
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-range TuiInputDateRange} (from @taiga-ui/kit) instead
|
|
8
|
-
*/
|
|
9
|
-
export declare class TuiInputDateRangeDirective extends AbstractTuiTextfieldHost<TuiInputDateRangeComponent> implements DoCheck {
|
|
10
|
-
get value(): string;
|
|
11
|
-
onValueChange(value: string): void;
|
|
12
|
-
process(input: HTMLInputElement): void;
|
|
13
|
-
ngDoCheck(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateRangeDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputDateRangeDirective, "tui-input-date-range", never, {}, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input-date-range.component";
|
|
3
|
-
import * as i2 from "./input-date-range.directive";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@maskito/angular";
|
|
6
|
-
import * as i5 from "@taiga-ui/polymorpheus";
|
|
7
|
-
import * as i6 from "@taiga-ui/core/directives/appearance";
|
|
8
|
-
import * as i7 from "@taiga-ui/kit/components/calendar-range";
|
|
9
|
-
import * as i8 from "@taiga-ui/core/components/icon";
|
|
10
|
-
import * as i9 from "@taiga-ui/legacy/directives";
|
|
11
|
-
import * as i10 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
12
|
-
import * as i11 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-date-range TuiInputDateRange} (from @taiga-ui/kit) instead
|
|
16
|
-
*/
|
|
17
|
-
export declare class TuiInputDateRangeModule {
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateRangeModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateRangeModule, [typeof i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective], [typeof i3.CommonModule, typeof i4.MaskitoDirective, typeof i5.PolymorpheusOutlet, typeof i5.PolymorpheusTemplate, typeof i6.TuiAppearance, typeof i7.TuiCalendarRange, typeof i8.TuiIcon, typeof i9.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiPrimitiveTextfieldModule, typeof i9.TuiTextfieldControllerModule, typeof i9.TuiValueAccessorModule, typeof i11.TuiDropdownOptionsDirective, typeof i11.TuiDropdownDriverDirective, typeof i11.TuiDropdownDirective, typeof i11.TuiDropdownComponent, typeof i11.TuiDropdownOpen, typeof i11.TuiDropdownOpenLegacy, typeof i11.TuiDropdownManual, typeof i11.TuiDropdownHover, typeof i11.TuiDropdownContent, typeof i11.TuiDropdownContext, typeof i11.TuiDropdownPosition, typeof i11.TuiDropdownPositionSided, typeof i11.TuiDropdownSelection], [typeof i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective, typeof i10.TuiTextfieldComponent, typeof i11.TuiDropdownOptionsDirective, typeof i11.TuiDropdownDriverDirective, typeof i11.TuiDropdownDirective, typeof i11.TuiDropdownComponent, typeof i11.TuiDropdownOpen, typeof i11.TuiDropdownOpenLegacy, typeof i11.TuiDropdownManual, typeof i11.TuiDropdownHover, typeof i11.TuiDropdownContent, typeof i11.TuiDropdownContext, typeof i11.TuiDropdownPosition, typeof i11.TuiDropdownPositionSided, typeof i11.TuiDropdownSelection]>;
|
|
20
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateRangeModule>;
|
|
21
|
-
}
|