@fiscozen/input 0.1.17 → 1.0.0-next.0
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/README.md +718 -1
- package/coverage/FzCurrencyInput.vue.html +640 -0
- package/coverage/FzInput.vue.html +709 -0
- package/coverage/base.css +224 -0
- package/coverage/block-navigation.js +87 -0
- package/coverage/clover.xml +494 -0
- package/coverage/coverage-final.json +4 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +146 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +196 -0
- package/coverage/useInputStyle.ts.html +343 -0
- package/dist/input.js +5282 -2948
- package/dist/input.umd.cjs +15 -10
- package/dist/src/FzCurrencyInput.vue.d.ts +82 -46
- package/dist/src/FzInput.vue.d.ts +141 -42
- package/dist/src/index.d.ts +1 -0
- package/dist/src/types.d.ts +172 -36
- package/dist/src/useInputStyle.d.ts +23 -8
- package/dist/src/utils.d.ts +21 -0
- package/dist/style.css +1 -0
- package/package.json +6 -6
- package/src/FzCurrencyInput.vue +746 -106
- package/src/FzInput.vue +467 -97
- package/src/__tests__/FzCurrencyInput.test.ts +1528 -0
- package/src/__tests__/FzInput.test.ts +1005 -0
- package/src/index.ts +3 -0
- package/src/types.ts +171 -46
- package/src/useInputStyle.ts +96 -38
- package/src/utils.ts +64 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/src/__tests__/FzCurrencyInput.spec.ts +0 -204
- package/src/__tests__/FzInput.spec.ts +0 -181
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
modelValue: import('vue').PropType<string | number | null | undefined>;
|
|
3
3
|
error: {
|
|
4
4
|
type: import('vue').PropType<boolean>;
|
|
5
5
|
};
|
|
@@ -9,6 +9,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
9
9
|
size: {
|
|
10
10
|
type: import('vue').PropType<"sm" | "md" | "lg">;
|
|
11
11
|
};
|
|
12
|
+
variant: {
|
|
13
|
+
type: import('vue').PropType<"normal" | "floating-label">;
|
|
14
|
+
};
|
|
12
15
|
required: {
|
|
13
16
|
type: import('vue').PropType<boolean>;
|
|
14
17
|
};
|
|
@@ -17,14 +20,28 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
17
20
|
};
|
|
18
21
|
max: {
|
|
19
22
|
type: import('vue').PropType<number>;
|
|
23
|
+
default: number;
|
|
20
24
|
};
|
|
21
25
|
label: {
|
|
22
26
|
type: import('vue').PropType<string>;
|
|
23
|
-
required: true;
|
|
24
27
|
};
|
|
25
28
|
pattern: {
|
|
26
29
|
type: import('vue').PropType<string>;
|
|
27
30
|
};
|
|
31
|
+
environment: {
|
|
32
|
+
type: import('vue').PropType<import('./types').InputEnvironment>;
|
|
33
|
+
};
|
|
34
|
+
minimumFractionDigits: {
|
|
35
|
+
type: import('vue').PropType<number>;
|
|
36
|
+
default: number;
|
|
37
|
+
};
|
|
38
|
+
maximumFractionDigits: {
|
|
39
|
+
type: import('vue').PropType<number>;
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
valid: {
|
|
43
|
+
type: import('vue').PropType<boolean>;
|
|
44
|
+
};
|
|
28
45
|
placeholder: {
|
|
29
46
|
type: import('vue').PropType<string>;
|
|
30
47
|
};
|
|
@@ -34,14 +51,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
34
51
|
leftIconVariant: {
|
|
35
52
|
type: import('vue').PropType<import('@fiscozen/icons/src/types').IconVariant>;
|
|
36
53
|
};
|
|
37
|
-
|
|
38
|
-
type: import('vue').PropType<
|
|
54
|
+
leftIconButtonVariant: {
|
|
55
|
+
type: import('vue').PropType<import('@fiscozen/button').CommonButtonVariant>;
|
|
39
56
|
};
|
|
40
|
-
|
|
41
|
-
type: import('vue').PropType<
|
|
42
|
-
};
|
|
43
|
-
valid: {
|
|
44
|
-
type: import('vue').PropType<boolean>;
|
|
57
|
+
leftIconAriaLabel: {
|
|
58
|
+
type: import('vue').PropType<string>;
|
|
45
59
|
};
|
|
46
60
|
readonly: {
|
|
47
61
|
type: import('vue').PropType<boolean>;
|
|
@@ -49,39 +63,37 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
49
63
|
maxlength: {
|
|
50
64
|
type: import('vue').PropType<number>;
|
|
51
65
|
};
|
|
52
|
-
rightIconClass: {
|
|
53
|
-
type: import('vue').PropType<string>;
|
|
54
|
-
};
|
|
55
66
|
leftIconClass: {
|
|
56
67
|
type: import('vue').PropType<string>;
|
|
57
68
|
};
|
|
58
69
|
nullOnEmpty: {
|
|
59
70
|
type: import('vue').PropType<boolean>;
|
|
60
71
|
};
|
|
61
|
-
|
|
72
|
+
zeroOnEmpty: {
|
|
62
73
|
type: import('vue').PropType<boolean>;
|
|
63
74
|
};
|
|
64
|
-
|
|
75
|
+
min: {
|
|
65
76
|
type: import('vue').PropType<number>;
|
|
66
77
|
default: number;
|
|
67
78
|
};
|
|
68
|
-
|
|
79
|
+
step: {
|
|
69
80
|
type: import('vue').PropType<number>;
|
|
70
81
|
default: number;
|
|
71
82
|
};
|
|
72
|
-
|
|
73
|
-
type: import('vue').PropType<
|
|
83
|
+
forceStep: {
|
|
84
|
+
type: import('vue').PropType<boolean>;
|
|
74
85
|
};
|
|
75
|
-
|
|
76
|
-
type: import('vue').PropType<
|
|
86
|
+
stepUpAriaLabel: {
|
|
87
|
+
type: import('vue').PropType<string>;
|
|
88
|
+
};
|
|
89
|
+
stepDownAriaLabel: {
|
|
90
|
+
type: import('vue').PropType<string>;
|
|
77
91
|
};
|
|
78
92
|
}>, {
|
|
79
93
|
inputRef: import('vue').ComputedRef<HTMLInputElement | null | undefined>;
|
|
80
94
|
containerRef: import('vue').ComputedRef<HTMLElement | null | undefined>;
|
|
81
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
82
|
-
|
|
83
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
84
|
-
amount: import('vue').PropType<number>;
|
|
95
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
96
|
+
modelValue: import('vue').PropType<string | number | null | undefined>;
|
|
85
97
|
error: {
|
|
86
98
|
type: import('vue').PropType<boolean>;
|
|
87
99
|
};
|
|
@@ -91,6 +103,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
91
103
|
size: {
|
|
92
104
|
type: import('vue').PropType<"sm" | "md" | "lg">;
|
|
93
105
|
};
|
|
106
|
+
variant: {
|
|
107
|
+
type: import('vue').PropType<"normal" | "floating-label">;
|
|
108
|
+
};
|
|
94
109
|
required: {
|
|
95
110
|
type: import('vue').PropType<boolean>;
|
|
96
111
|
};
|
|
@@ -99,14 +114,28 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
99
114
|
};
|
|
100
115
|
max: {
|
|
101
116
|
type: import('vue').PropType<number>;
|
|
117
|
+
default: number;
|
|
102
118
|
};
|
|
103
119
|
label: {
|
|
104
120
|
type: import('vue').PropType<string>;
|
|
105
|
-
required: true;
|
|
106
121
|
};
|
|
107
122
|
pattern: {
|
|
108
123
|
type: import('vue').PropType<string>;
|
|
109
124
|
};
|
|
125
|
+
environment: {
|
|
126
|
+
type: import('vue').PropType<import('./types').InputEnvironment>;
|
|
127
|
+
};
|
|
128
|
+
minimumFractionDigits: {
|
|
129
|
+
type: import('vue').PropType<number>;
|
|
130
|
+
default: number;
|
|
131
|
+
};
|
|
132
|
+
maximumFractionDigits: {
|
|
133
|
+
type: import('vue').PropType<number>;
|
|
134
|
+
default: number;
|
|
135
|
+
};
|
|
136
|
+
valid: {
|
|
137
|
+
type: import('vue').PropType<boolean>;
|
|
138
|
+
};
|
|
110
139
|
placeholder: {
|
|
111
140
|
type: import('vue').PropType<string>;
|
|
112
141
|
};
|
|
@@ -116,14 +145,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
116
145
|
leftIconVariant: {
|
|
117
146
|
type: import('vue').PropType<import('@fiscozen/icons/src/types').IconVariant>;
|
|
118
147
|
};
|
|
119
|
-
|
|
120
|
-
type: import('vue').PropType<
|
|
148
|
+
leftIconButtonVariant: {
|
|
149
|
+
type: import('vue').PropType<import('@fiscozen/button').CommonButtonVariant>;
|
|
121
150
|
};
|
|
122
|
-
|
|
123
|
-
type: import('vue').PropType<
|
|
124
|
-
};
|
|
125
|
-
valid: {
|
|
126
|
-
type: import('vue').PropType<boolean>;
|
|
151
|
+
leftIconAriaLabel: {
|
|
152
|
+
type: import('vue').PropType<string>;
|
|
127
153
|
};
|
|
128
154
|
readonly: {
|
|
129
155
|
type: import('vue').PropType<boolean>;
|
|
@@ -131,36 +157,46 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
131
157
|
maxlength: {
|
|
132
158
|
type: import('vue').PropType<number>;
|
|
133
159
|
};
|
|
134
|
-
rightIconClass: {
|
|
135
|
-
type: import('vue').PropType<string>;
|
|
136
|
-
};
|
|
137
160
|
leftIconClass: {
|
|
138
161
|
type: import('vue').PropType<string>;
|
|
139
162
|
};
|
|
140
163
|
nullOnEmpty: {
|
|
141
164
|
type: import('vue').PropType<boolean>;
|
|
142
165
|
};
|
|
143
|
-
|
|
166
|
+
zeroOnEmpty: {
|
|
144
167
|
type: import('vue').PropType<boolean>;
|
|
145
168
|
};
|
|
146
|
-
|
|
169
|
+
min: {
|
|
147
170
|
type: import('vue').PropType<number>;
|
|
148
171
|
default: number;
|
|
149
172
|
};
|
|
150
|
-
|
|
173
|
+
step: {
|
|
151
174
|
type: import('vue').PropType<number>;
|
|
152
175
|
default: number;
|
|
153
176
|
};
|
|
154
|
-
|
|
155
|
-
type: import('vue').PropType<
|
|
177
|
+
forceStep: {
|
|
178
|
+
type: import('vue').PropType<boolean>;
|
|
156
179
|
};
|
|
157
|
-
|
|
158
|
-
type: import('vue').PropType<
|
|
180
|
+
stepUpAriaLabel: {
|
|
181
|
+
type: import('vue').PropType<string>;
|
|
159
182
|
};
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
}
|
|
183
|
+
stepDownAriaLabel: {
|
|
184
|
+
type: import('vue').PropType<string>;
|
|
185
|
+
};
|
|
186
|
+
}>> & Readonly<{}>, {
|
|
187
|
+
max: number;
|
|
163
188
|
minimumFractionDigits: number;
|
|
164
189
|
maximumFractionDigits: number;
|
|
165
|
-
|
|
190
|
+
min: number;
|
|
191
|
+
step: number;
|
|
192
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
193
|
+
label?(_: {}): any;
|
|
194
|
+
errorMessage?(_: {}): any;
|
|
195
|
+
helpText?(_: {}): any;
|
|
196
|
+
}>;
|
|
166
197
|
export default _default;
|
|
198
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
199
|
+
new (): {
|
|
200
|
+
$slots: S;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
+
import { InputEnvironment } from './types';
|
|
2
3
|
|
|
3
4
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
-
modelValue: import('vue').PropType<
|
|
5
|
+
modelValue: import('vue').PropType<string>;
|
|
5
6
|
error: {
|
|
6
7
|
type: import('vue').PropType<boolean>;
|
|
7
8
|
default: boolean;
|
|
@@ -11,6 +12,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
11
12
|
};
|
|
12
13
|
size: {
|
|
13
14
|
type: import('vue').PropType<"sm" | "md" | "lg">;
|
|
15
|
+
};
|
|
16
|
+
variant: {
|
|
17
|
+
type: import('vue').PropType<"normal" | "floating-label">;
|
|
14
18
|
default: string;
|
|
15
19
|
};
|
|
16
20
|
type: {
|
|
@@ -25,38 +29,79 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
25
29
|
};
|
|
26
30
|
label: {
|
|
27
31
|
type: import('vue').PropType<string>;
|
|
28
|
-
required: true;
|
|
29
32
|
};
|
|
30
33
|
pattern: {
|
|
31
34
|
type: import('vue').PropType<string>;
|
|
32
35
|
};
|
|
33
|
-
|
|
34
|
-
type: import('vue').PropType<
|
|
36
|
+
environment: {
|
|
37
|
+
type: import('vue').PropType<InputEnvironment>;
|
|
38
|
+
default: string;
|
|
35
39
|
};
|
|
36
|
-
|
|
40
|
+
valid: {
|
|
41
|
+
type: import('vue').PropType<boolean>;
|
|
42
|
+
};
|
|
43
|
+
rightIcon: {
|
|
37
44
|
type: import('vue').PropType<string>;
|
|
38
45
|
};
|
|
39
|
-
|
|
46
|
+
rightIconSize: {
|
|
47
|
+
type: import('vue').PropType<import('@fiscozen/icons/src/types').IconSize>;
|
|
48
|
+
};
|
|
49
|
+
rightIconVariant: {
|
|
40
50
|
type: import('vue').PropType<import('@fiscozen/icons/src/types').IconVariant>;
|
|
41
51
|
};
|
|
42
|
-
|
|
52
|
+
rightIconButton: {
|
|
53
|
+
type: import('vue').PropType<boolean>;
|
|
54
|
+
};
|
|
55
|
+
rightIconButtonVariant: {
|
|
56
|
+
type: import('vue').PropType<import('@fiscozen/button').CommonButtonVariant>;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
rightIconAriaLabel: {
|
|
43
60
|
type: import('vue').PropType<string>;
|
|
44
61
|
};
|
|
45
|
-
|
|
62
|
+
rightIconClass: {
|
|
63
|
+
type: import('vue').PropType<string>;
|
|
64
|
+
};
|
|
65
|
+
secondRightIcon: {
|
|
66
|
+
type: import('vue').PropType<string>;
|
|
67
|
+
};
|
|
68
|
+
secondRightIconClass: {
|
|
69
|
+
type: import('vue').PropType<string>;
|
|
70
|
+
};
|
|
71
|
+
secondRightIconVariant: {
|
|
46
72
|
type: import('vue').PropType<import('@fiscozen/icons/src/types').IconVariant>;
|
|
47
73
|
};
|
|
48
|
-
|
|
74
|
+
secondRightIconButton: {
|
|
49
75
|
type: import('vue').PropType<boolean>;
|
|
50
76
|
};
|
|
77
|
+
secondRightIconButtonVariant: {
|
|
78
|
+
type: import('vue').PropType<import('@fiscozen/button').CommonButtonVariant>;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
secondRightIconAriaLabel: {
|
|
82
|
+
type: import('vue').PropType<string>;
|
|
83
|
+
};
|
|
84
|
+
placeholder: {
|
|
85
|
+
type: import('vue').PropType<string>;
|
|
86
|
+
};
|
|
87
|
+
leftIcon: {
|
|
88
|
+
type: import('vue').PropType<string>;
|
|
89
|
+
};
|
|
90
|
+
leftIconVariant: {
|
|
91
|
+
type: import('vue').PropType<import('@fiscozen/icons/src/types').IconVariant>;
|
|
92
|
+
};
|
|
93
|
+
leftIconButtonVariant: {
|
|
94
|
+
type: import('vue').PropType<import('@fiscozen/button').CommonButtonVariant>;
|
|
95
|
+
};
|
|
96
|
+
leftIconAriaLabel: {
|
|
97
|
+
type: import('vue').PropType<string>;
|
|
98
|
+
};
|
|
51
99
|
readonly: {
|
|
52
100
|
type: import('vue').PropType<boolean>;
|
|
53
101
|
};
|
|
54
102
|
maxlength: {
|
|
55
103
|
type: import('vue').PropType<number>;
|
|
56
104
|
};
|
|
57
|
-
rightIconClass: {
|
|
58
|
-
type: import('vue').PropType<string>;
|
|
59
|
-
};
|
|
60
105
|
leftIconClass: {
|
|
61
106
|
type: import('vue').PropType<string>;
|
|
62
107
|
};
|
|
@@ -64,14 +109,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
64
109
|
inputRef: Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
65
110
|
containerRef: Ref<HTMLElement | null, HTMLElement | null>;
|
|
66
111
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
67
|
-
blur: (
|
|
68
|
-
focus: (
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"fzinput:
|
|
72
|
-
"fzinput:right-icon-click": (
|
|
112
|
+
blur: (event: FocusEvent) => void;
|
|
113
|
+
focus: (event: FocusEvent) => void;
|
|
114
|
+
paste: (event: ClipboardEvent) => void;
|
|
115
|
+
"fzinput:left-icon-click": () => void;
|
|
116
|
+
"fzinput:right-icon-click": () => void;
|
|
117
|
+
"fzinput:second-right-icon-click": () => void;
|
|
73
118
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
74
|
-
modelValue: import('vue').PropType<
|
|
119
|
+
modelValue: import('vue').PropType<string>;
|
|
75
120
|
error: {
|
|
76
121
|
type: import('vue').PropType<boolean>;
|
|
77
122
|
default: boolean;
|
|
@@ -81,6 +126,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
81
126
|
};
|
|
82
127
|
size: {
|
|
83
128
|
type: import('vue').PropType<"sm" | "md" | "lg">;
|
|
129
|
+
};
|
|
130
|
+
variant: {
|
|
131
|
+
type: import('vue').PropType<"normal" | "floating-label">;
|
|
84
132
|
default: string;
|
|
85
133
|
};
|
|
86
134
|
type: {
|
|
@@ -95,57 +143,108 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
95
143
|
};
|
|
96
144
|
label: {
|
|
97
145
|
type: import('vue').PropType<string>;
|
|
98
|
-
required: true;
|
|
99
146
|
};
|
|
100
147
|
pattern: {
|
|
101
148
|
type: import('vue').PropType<string>;
|
|
102
149
|
};
|
|
103
|
-
|
|
104
|
-
type: import('vue').PropType<
|
|
150
|
+
environment: {
|
|
151
|
+
type: import('vue').PropType<InputEnvironment>;
|
|
152
|
+
default: string;
|
|
105
153
|
};
|
|
106
|
-
|
|
154
|
+
valid: {
|
|
155
|
+
type: import('vue').PropType<boolean>;
|
|
156
|
+
};
|
|
157
|
+
rightIcon: {
|
|
107
158
|
type: import('vue').PropType<string>;
|
|
108
159
|
};
|
|
109
|
-
|
|
160
|
+
rightIconSize: {
|
|
161
|
+
type: import('vue').PropType<import('@fiscozen/icons/src/types').IconSize>;
|
|
162
|
+
};
|
|
163
|
+
rightIconVariant: {
|
|
110
164
|
type: import('vue').PropType<import('@fiscozen/icons/src/types').IconVariant>;
|
|
111
165
|
};
|
|
112
|
-
|
|
166
|
+
rightIconButton: {
|
|
167
|
+
type: import('vue').PropType<boolean>;
|
|
168
|
+
};
|
|
169
|
+
rightIconButtonVariant: {
|
|
170
|
+
type: import('vue').PropType<import('@fiscozen/button').CommonButtonVariant>;
|
|
171
|
+
default: string;
|
|
172
|
+
};
|
|
173
|
+
rightIconAriaLabel: {
|
|
113
174
|
type: import('vue').PropType<string>;
|
|
114
175
|
};
|
|
115
|
-
|
|
176
|
+
rightIconClass: {
|
|
177
|
+
type: import('vue').PropType<string>;
|
|
178
|
+
};
|
|
179
|
+
secondRightIcon: {
|
|
180
|
+
type: import('vue').PropType<string>;
|
|
181
|
+
};
|
|
182
|
+
secondRightIconClass: {
|
|
183
|
+
type: import('vue').PropType<string>;
|
|
184
|
+
};
|
|
185
|
+
secondRightIconVariant: {
|
|
116
186
|
type: import('vue').PropType<import('@fiscozen/icons/src/types').IconVariant>;
|
|
117
187
|
};
|
|
118
|
-
|
|
188
|
+
secondRightIconButton: {
|
|
119
189
|
type: import('vue').PropType<boolean>;
|
|
120
190
|
};
|
|
191
|
+
secondRightIconButtonVariant: {
|
|
192
|
+
type: import('vue').PropType<import('@fiscozen/button').CommonButtonVariant>;
|
|
193
|
+
default: string;
|
|
194
|
+
};
|
|
195
|
+
secondRightIconAriaLabel: {
|
|
196
|
+
type: import('vue').PropType<string>;
|
|
197
|
+
};
|
|
198
|
+
placeholder: {
|
|
199
|
+
type: import('vue').PropType<string>;
|
|
200
|
+
};
|
|
201
|
+
leftIcon: {
|
|
202
|
+
type: import('vue').PropType<string>;
|
|
203
|
+
};
|
|
204
|
+
leftIconVariant: {
|
|
205
|
+
type: import('vue').PropType<import('@fiscozen/icons/src/types').IconVariant>;
|
|
206
|
+
};
|
|
207
|
+
leftIconButtonVariant: {
|
|
208
|
+
type: import('vue').PropType<import('@fiscozen/button').CommonButtonVariant>;
|
|
209
|
+
};
|
|
210
|
+
leftIconAriaLabel: {
|
|
211
|
+
type: import('vue').PropType<string>;
|
|
212
|
+
};
|
|
121
213
|
readonly: {
|
|
122
214
|
type: import('vue').PropType<boolean>;
|
|
123
215
|
};
|
|
124
216
|
maxlength: {
|
|
125
217
|
type: import('vue').PropType<number>;
|
|
126
218
|
};
|
|
127
|
-
rightIconClass: {
|
|
128
|
-
type: import('vue').PropType<string>;
|
|
129
|
-
};
|
|
130
219
|
leftIconClass: {
|
|
131
220
|
type: import('vue').PropType<string>;
|
|
132
221
|
};
|
|
133
222
|
}>> & Readonly<{
|
|
134
|
-
onBlur?: ((
|
|
135
|
-
onFocus?: ((
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
"onFzinput:
|
|
139
|
-
"onFzinput:right-icon-click"?: ((
|
|
223
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
224
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
225
|
+
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
226
|
+
"onFzinput:left-icon-click"?: (() => any) | undefined;
|
|
227
|
+
"onFzinput:right-icon-click"?: (() => any) | undefined;
|
|
228
|
+
"onFzinput:second-right-icon-click"?: (() => any) | undefined;
|
|
140
229
|
}>, {
|
|
141
230
|
error: boolean;
|
|
142
|
-
|
|
231
|
+
variant: "normal" | "floating-label";
|
|
143
232
|
type: "number" | "text" | "password" | "email" | "tel" | "url";
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
233
|
+
environment: InputEnvironment;
|
|
234
|
+
rightIconButtonVariant: import('@fiscozen/button').CommonButtonVariant;
|
|
235
|
+
secondRightIconButtonVariant: import('@fiscozen/button').CommonButtonVariant;
|
|
236
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
237
|
+
label?: (() => unknown) | undefined;
|
|
238
|
+
"left-icon"?: (() => unknown) | undefined;
|
|
239
|
+
"right-icon"?: (() => unknown) | undefined;
|
|
240
|
+
errorMessage?: (() => unknown) | undefined;
|
|
241
|
+
helpText?: (() => unknown) | undefined;
|
|
242
|
+
}> & {
|
|
243
|
+
label?: (() => unknown) | undefined;
|
|
244
|
+
"left-icon"?: (() => unknown) | undefined;
|
|
245
|
+
"right-icon"?: (() => unknown) | undefined;
|
|
246
|
+
errorMessage?: (() => unknown) | undefined;
|
|
247
|
+
helpText?: (() => unknown) | undefined;
|
|
149
248
|
}>;
|
|
150
249
|
export default _default;
|
|
151
250
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/dist/src/index.d.ts
CHANGED