vuiii 1.0.0-beta.8 → 1.0.0-beta.9
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/dist/components/Checkbox.vue.d.ts +8 -4
- package/dist/components/CheckboxGroup.vue.d.ts +5 -5
- package/dist/components/Icon.vue.d.ts +5 -0
- package/dist/components/Input.vue.d.ts +1 -0
- package/dist/components/{Radio.vue.d.ts → RadioGroup.vue.d.ts} +12 -6
- package/dist/components/Select.vue.d.ts +16 -9
- package/dist/icons/chevron-down.vue.d.ts +2 -0
- package/dist/icons/chevron-up.vue.d.ts +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/stories/Checkbox.stories.d.ts +272 -0
- package/dist/stories/CheckboxGroup.stories.d.ts +272 -0
- package/dist/stories/Icon.stories.d.ts +24 -0
- package/dist/stories/Radio.stories.d.ts +284 -0
- package/dist/stories/Select.stories.d.ts +686 -0
- package/dist/stories/options.d.ts +7 -0
- package/dist/style.css +1 -1
- package/dist/vuiii.mjs +745 -671
- package/dist/vuiii.umd.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
+
declare const _default: Meta<{
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: import("vue").PropType<(string | number)[]>;
|
|
9
|
+
};
|
|
10
|
+
options: {
|
|
11
|
+
type: import("vue").PropType<any[] | Record<string, any>>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
optionLabel: {
|
|
15
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
16
|
+
};
|
|
17
|
+
optionValue: {
|
|
18
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
19
|
+
};
|
|
20
|
+
optionDisabled: {
|
|
21
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
22
|
+
};
|
|
23
|
+
optionDescription: {
|
|
24
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
25
|
+
};
|
|
26
|
+
}>> & {
|
|
27
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
28
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
29
|
+
$attrs: {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
};
|
|
32
|
+
$refs: {
|
|
33
|
+
[x: string]: unknown;
|
|
34
|
+
};
|
|
35
|
+
$slots: Readonly<{
|
|
36
|
+
[name: string]: import("vue").Slot | undefined;
|
|
37
|
+
}>;
|
|
38
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
39
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
40
|
+
$emit: (event: "update:modelValue", value: (string | number)[]) => void;
|
|
41
|
+
$el: any;
|
|
42
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
modelValue: {
|
|
44
|
+
type: import("vue").PropType<(string | number)[]>;
|
|
45
|
+
};
|
|
46
|
+
options: {
|
|
47
|
+
type: import("vue").PropType<any[] | Record<string, any>>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
optionLabel: {
|
|
51
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
52
|
+
};
|
|
53
|
+
optionValue: {
|
|
54
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
55
|
+
};
|
|
56
|
+
optionDisabled: {
|
|
57
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
58
|
+
};
|
|
59
|
+
optionDescription: {
|
|
60
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
61
|
+
};
|
|
62
|
+
}>> & {
|
|
63
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
64
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
65
|
+
"update:modelValue": (value: (string | number)[]) => void;
|
|
66
|
+
}, string, {}, {}, string> & {
|
|
67
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
71
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
72
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
73
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
74
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
75
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
76
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
77
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
78
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
79
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
80
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
81
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
82
|
+
};
|
|
83
|
+
$forceUpdate: () => void;
|
|
84
|
+
$nextTick: typeof import("vue").nextTick;
|
|
85
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
86
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
87
|
+
modelValue: {
|
|
88
|
+
type: import("vue").PropType<(string | number)[]>;
|
|
89
|
+
};
|
|
90
|
+
options: {
|
|
91
|
+
type: import("vue").PropType<any[] | Record<string, any>>;
|
|
92
|
+
required: true;
|
|
93
|
+
};
|
|
94
|
+
optionLabel: {
|
|
95
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
96
|
+
};
|
|
97
|
+
optionValue: {
|
|
98
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
99
|
+
};
|
|
100
|
+
optionDisabled: {
|
|
101
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
102
|
+
};
|
|
103
|
+
optionDescription: {
|
|
104
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
105
|
+
};
|
|
106
|
+
}>> & {
|
|
107
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
108
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
109
|
+
__isFragment?: undefined;
|
|
110
|
+
__isTeleport?: undefined;
|
|
111
|
+
__isSuspense?: undefined;
|
|
112
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
113
|
+
modelValue: {
|
|
114
|
+
type: import("vue").PropType<(string | number)[]>;
|
|
115
|
+
};
|
|
116
|
+
options: {
|
|
117
|
+
type: import("vue").PropType<any[] | Record<string, any>>;
|
|
118
|
+
required: true;
|
|
119
|
+
};
|
|
120
|
+
optionLabel: {
|
|
121
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
122
|
+
};
|
|
123
|
+
optionValue: {
|
|
124
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
125
|
+
};
|
|
126
|
+
optionDisabled: {
|
|
127
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
128
|
+
};
|
|
129
|
+
optionDescription: {
|
|
130
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
131
|
+
};
|
|
132
|
+
}>> & {
|
|
133
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
134
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
135
|
+
"update:modelValue": (value: (string | number)[]) => void;
|
|
136
|
+
}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps>;
|
|
137
|
+
export default _default;
|
|
138
|
+
export declare const Default: StoryFn<{
|
|
139
|
+
new (...args: any[]): {
|
|
140
|
+
$: import("vue").ComponentInternalInstance;
|
|
141
|
+
$data: {};
|
|
142
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
143
|
+
modelValue: {
|
|
144
|
+
type: import("vue").PropType<(string | number)[]>;
|
|
145
|
+
};
|
|
146
|
+
options: {
|
|
147
|
+
type: import("vue").PropType<any[] | Record<string, any>>;
|
|
148
|
+
required: true;
|
|
149
|
+
};
|
|
150
|
+
optionLabel: {
|
|
151
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
152
|
+
};
|
|
153
|
+
optionValue: {
|
|
154
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
155
|
+
};
|
|
156
|
+
optionDisabled: {
|
|
157
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
158
|
+
};
|
|
159
|
+
optionDescription: {
|
|
160
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
161
|
+
};
|
|
162
|
+
}>> & {
|
|
163
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
164
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
165
|
+
$attrs: {
|
|
166
|
+
[x: string]: unknown;
|
|
167
|
+
};
|
|
168
|
+
$refs: {
|
|
169
|
+
[x: string]: unknown;
|
|
170
|
+
};
|
|
171
|
+
$slots: Readonly<{
|
|
172
|
+
[name: string]: import("vue").Slot | undefined;
|
|
173
|
+
}>;
|
|
174
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
175
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
176
|
+
$emit: (event: "update:modelValue", value: (string | number)[]) => void;
|
|
177
|
+
$el: any;
|
|
178
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
179
|
+
modelValue: {
|
|
180
|
+
type: import("vue").PropType<(string | number)[]>;
|
|
181
|
+
};
|
|
182
|
+
options: {
|
|
183
|
+
type: import("vue").PropType<any[] | Record<string, any>>;
|
|
184
|
+
required: true;
|
|
185
|
+
};
|
|
186
|
+
optionLabel: {
|
|
187
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
188
|
+
};
|
|
189
|
+
optionValue: {
|
|
190
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
191
|
+
};
|
|
192
|
+
optionDisabled: {
|
|
193
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
194
|
+
};
|
|
195
|
+
optionDescription: {
|
|
196
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
197
|
+
};
|
|
198
|
+
}>> & {
|
|
199
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
200
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
201
|
+
"update:modelValue": (value: (string | number)[]) => void;
|
|
202
|
+
}, string, {}, {}, string> & {
|
|
203
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
204
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
205
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
206
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
207
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
208
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
209
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
210
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
211
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
212
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
213
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
214
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
215
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
216
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
217
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
218
|
+
};
|
|
219
|
+
$forceUpdate: () => void;
|
|
220
|
+
$nextTick: typeof import("vue").nextTick;
|
|
221
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
222
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
223
|
+
modelValue: {
|
|
224
|
+
type: import("vue").PropType<(string | number)[]>;
|
|
225
|
+
};
|
|
226
|
+
options: {
|
|
227
|
+
type: import("vue").PropType<any[] | Record<string, any>>;
|
|
228
|
+
required: true;
|
|
229
|
+
};
|
|
230
|
+
optionLabel: {
|
|
231
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
232
|
+
};
|
|
233
|
+
optionValue: {
|
|
234
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
235
|
+
};
|
|
236
|
+
optionDisabled: {
|
|
237
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
238
|
+
};
|
|
239
|
+
optionDescription: {
|
|
240
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
241
|
+
};
|
|
242
|
+
}>> & {
|
|
243
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
244
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
245
|
+
__isFragment?: undefined;
|
|
246
|
+
__isTeleport?: undefined;
|
|
247
|
+
__isSuspense?: undefined;
|
|
248
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
249
|
+
modelValue: {
|
|
250
|
+
type: import("vue").PropType<(string | number)[]>;
|
|
251
|
+
};
|
|
252
|
+
options: {
|
|
253
|
+
type: import("vue").PropType<any[] | Record<string, any>>;
|
|
254
|
+
required: true;
|
|
255
|
+
};
|
|
256
|
+
optionLabel: {
|
|
257
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
258
|
+
};
|
|
259
|
+
optionValue: {
|
|
260
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
261
|
+
};
|
|
262
|
+
optionDisabled: {
|
|
263
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
264
|
+
};
|
|
265
|
+
optionDescription: {
|
|
266
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
267
|
+
};
|
|
268
|
+
}>> & {
|
|
269
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
270
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
271
|
+
"update:modelValue": (value: (string | number)[]) => void;
|
|
272
|
+
}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps>;
|
|
@@ -8,6 +8,9 @@ declare const _default: Meta<{
|
|
|
8
8
|
type: import("vue").PropType<string>;
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
|
+
size: {
|
|
12
|
+
type: import("vue").PropType<import("../types").InputSize>;
|
|
13
|
+
};
|
|
11
14
|
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
12
15
|
$attrs: {
|
|
13
16
|
[x: string]: unknown;
|
|
@@ -27,6 +30,9 @@ declare const _default: Meta<{
|
|
|
27
30
|
type: import("vue").PropType<string>;
|
|
28
31
|
required: true;
|
|
29
32
|
};
|
|
33
|
+
size: {
|
|
34
|
+
type: import("vue").PropType<import("../types").InputSize>;
|
|
35
|
+
};
|
|
30
36
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
31
37
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
32
38
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -52,6 +58,9 @@ declare const _default: Meta<{
|
|
|
52
58
|
type: import("vue").PropType<string>;
|
|
53
59
|
required: true;
|
|
54
60
|
};
|
|
61
|
+
size: {
|
|
62
|
+
type: import("vue").PropType<import("../types").InputSize>;
|
|
63
|
+
};
|
|
55
64
|
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
56
65
|
__isFragment?: undefined;
|
|
57
66
|
__isTeleport?: undefined;
|
|
@@ -61,6 +70,9 @@ declare const _default: Meta<{
|
|
|
61
70
|
type: import("vue").PropType<string>;
|
|
62
71
|
required: true;
|
|
63
72
|
};
|
|
73
|
+
size: {
|
|
74
|
+
type: import("vue").PropType<import("../types").InputSize>;
|
|
75
|
+
};
|
|
64
76
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps>;
|
|
65
77
|
export default _default;
|
|
66
78
|
export declare const Default: StoryFn<{
|
|
@@ -72,6 +84,9 @@ export declare const Default: StoryFn<{
|
|
|
72
84
|
type: import("vue").PropType<string>;
|
|
73
85
|
required: true;
|
|
74
86
|
};
|
|
87
|
+
size: {
|
|
88
|
+
type: import("vue").PropType<import("../types").InputSize>;
|
|
89
|
+
};
|
|
75
90
|
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
76
91
|
$attrs: {
|
|
77
92
|
[x: string]: unknown;
|
|
@@ -91,6 +106,9 @@ export declare const Default: StoryFn<{
|
|
|
91
106
|
type: import("vue").PropType<string>;
|
|
92
107
|
required: true;
|
|
93
108
|
};
|
|
109
|
+
size: {
|
|
110
|
+
type: import("vue").PropType<import("../types").InputSize>;
|
|
111
|
+
};
|
|
94
112
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
95
113
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
96
114
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -116,6 +134,9 @@ export declare const Default: StoryFn<{
|
|
|
116
134
|
type: import("vue").PropType<string>;
|
|
117
135
|
required: true;
|
|
118
136
|
};
|
|
137
|
+
size: {
|
|
138
|
+
type: import("vue").PropType<import("../types").InputSize>;
|
|
139
|
+
};
|
|
119
140
|
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
120
141
|
__isFragment?: undefined;
|
|
121
142
|
__isTeleport?: undefined;
|
|
@@ -125,4 +146,7 @@ export declare const Default: StoryFn<{
|
|
|
125
146
|
type: import("vue").PropType<string>;
|
|
126
147
|
required: true;
|
|
127
148
|
};
|
|
149
|
+
size: {
|
|
150
|
+
type: import("vue").PropType<import("../types").InputSize>;
|
|
151
|
+
};
|
|
128
152
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps>;
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
+
declare const _default: Meta<{
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: import("vue").PropType<string | number>;
|
|
9
|
+
};
|
|
10
|
+
options: {
|
|
11
|
+
type: import("vue").PropType<any>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
optionLabel: {
|
|
15
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
16
|
+
};
|
|
17
|
+
optionValue: {
|
|
18
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
19
|
+
};
|
|
20
|
+
optionDisabled: {
|
|
21
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
22
|
+
};
|
|
23
|
+
optionDescription: {
|
|
24
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
25
|
+
};
|
|
26
|
+
}>> & {
|
|
27
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
28
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
29
|
+
$attrs: {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
};
|
|
32
|
+
$refs: {
|
|
33
|
+
[x: string]: unknown;
|
|
34
|
+
};
|
|
35
|
+
$slots: Readonly<{
|
|
36
|
+
[name: string]: import("vue").Slot | undefined;
|
|
37
|
+
}>;
|
|
38
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
39
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
40
|
+
$emit: (event: "update:modelValue", value: string | number) => void;
|
|
41
|
+
$el: any;
|
|
42
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
modelValue: {
|
|
44
|
+
type: import("vue").PropType<string | number>;
|
|
45
|
+
};
|
|
46
|
+
options: {
|
|
47
|
+
type: import("vue").PropType<any>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
optionLabel: {
|
|
51
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
52
|
+
};
|
|
53
|
+
optionValue: {
|
|
54
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
55
|
+
};
|
|
56
|
+
optionDisabled: {
|
|
57
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
58
|
+
};
|
|
59
|
+
optionDescription: {
|
|
60
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
61
|
+
};
|
|
62
|
+
}>> & {
|
|
63
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
64
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
65
|
+
"update:modelValue": (value: string | number) => void;
|
|
66
|
+
}, string, {}, {}, string> & {
|
|
67
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
71
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
72
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
73
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
74
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
75
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
76
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
77
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
78
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
79
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
80
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
81
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
82
|
+
};
|
|
83
|
+
$forceUpdate: () => void;
|
|
84
|
+
$nextTick: typeof import("vue").nextTick;
|
|
85
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
86
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
87
|
+
modelValue: {
|
|
88
|
+
type: import("vue").PropType<string | number>;
|
|
89
|
+
};
|
|
90
|
+
options: {
|
|
91
|
+
type: import("vue").PropType<any>;
|
|
92
|
+
required: true;
|
|
93
|
+
};
|
|
94
|
+
optionLabel: {
|
|
95
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
96
|
+
};
|
|
97
|
+
optionValue: {
|
|
98
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
99
|
+
};
|
|
100
|
+
optionDisabled: {
|
|
101
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
102
|
+
};
|
|
103
|
+
optionDescription: {
|
|
104
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
105
|
+
};
|
|
106
|
+
}>> & {
|
|
107
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
108
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
109
|
+
__isFragment?: undefined;
|
|
110
|
+
__isTeleport?: undefined;
|
|
111
|
+
__isSuspense?: undefined;
|
|
112
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
113
|
+
modelValue: {
|
|
114
|
+
type: import("vue").PropType<string | number>;
|
|
115
|
+
};
|
|
116
|
+
options: {
|
|
117
|
+
type: import("vue").PropType<any>;
|
|
118
|
+
required: true;
|
|
119
|
+
};
|
|
120
|
+
optionLabel: {
|
|
121
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
122
|
+
};
|
|
123
|
+
optionValue: {
|
|
124
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
125
|
+
};
|
|
126
|
+
optionDisabled: {
|
|
127
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
128
|
+
};
|
|
129
|
+
optionDescription: {
|
|
130
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
131
|
+
};
|
|
132
|
+
}>> & {
|
|
133
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
134
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
135
|
+
"update:modelValue": (value: string | number) => void;
|
|
136
|
+
}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
137
|
+
$slots: {
|
|
138
|
+
default: (_: {
|
|
139
|
+
option: import("../types").Option<any>;
|
|
140
|
+
}) => any;
|
|
141
|
+
};
|
|
142
|
+
})>;
|
|
143
|
+
export default _default;
|
|
144
|
+
export declare const Default: StoryFn<{
|
|
145
|
+
new (...args: any[]): {
|
|
146
|
+
$: import("vue").ComponentInternalInstance;
|
|
147
|
+
$data: {};
|
|
148
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
149
|
+
modelValue: {
|
|
150
|
+
type: import("vue").PropType<string | number>;
|
|
151
|
+
};
|
|
152
|
+
options: {
|
|
153
|
+
type: import("vue").PropType<any>;
|
|
154
|
+
required: true;
|
|
155
|
+
};
|
|
156
|
+
optionLabel: {
|
|
157
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
158
|
+
};
|
|
159
|
+
optionValue: {
|
|
160
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
161
|
+
};
|
|
162
|
+
optionDisabled: {
|
|
163
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
164
|
+
};
|
|
165
|
+
optionDescription: {
|
|
166
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
167
|
+
};
|
|
168
|
+
}>> & {
|
|
169
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
170
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
171
|
+
$attrs: {
|
|
172
|
+
[x: string]: unknown;
|
|
173
|
+
};
|
|
174
|
+
$refs: {
|
|
175
|
+
[x: string]: unknown;
|
|
176
|
+
};
|
|
177
|
+
$slots: Readonly<{
|
|
178
|
+
[name: string]: import("vue").Slot | undefined;
|
|
179
|
+
}>;
|
|
180
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
181
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
182
|
+
$emit: (event: "update:modelValue", value: string | number) => void;
|
|
183
|
+
$el: any;
|
|
184
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
185
|
+
modelValue: {
|
|
186
|
+
type: import("vue").PropType<string | number>;
|
|
187
|
+
};
|
|
188
|
+
options: {
|
|
189
|
+
type: import("vue").PropType<any>;
|
|
190
|
+
required: true;
|
|
191
|
+
};
|
|
192
|
+
optionLabel: {
|
|
193
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
194
|
+
};
|
|
195
|
+
optionValue: {
|
|
196
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
197
|
+
};
|
|
198
|
+
optionDisabled: {
|
|
199
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
200
|
+
};
|
|
201
|
+
optionDescription: {
|
|
202
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
203
|
+
};
|
|
204
|
+
}>> & {
|
|
205
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
206
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
207
|
+
"update:modelValue": (value: string | number) => void;
|
|
208
|
+
}, string, {}, {}, string> & {
|
|
209
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
210
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
211
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
212
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
213
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
214
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
215
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
216
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
217
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
218
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
219
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
220
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
221
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
222
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
223
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
224
|
+
};
|
|
225
|
+
$forceUpdate: () => void;
|
|
226
|
+
$nextTick: typeof import("vue").nextTick;
|
|
227
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
228
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
229
|
+
modelValue: {
|
|
230
|
+
type: import("vue").PropType<string | number>;
|
|
231
|
+
};
|
|
232
|
+
options: {
|
|
233
|
+
type: import("vue").PropType<any>;
|
|
234
|
+
required: true;
|
|
235
|
+
};
|
|
236
|
+
optionLabel: {
|
|
237
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
238
|
+
};
|
|
239
|
+
optionValue: {
|
|
240
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
241
|
+
};
|
|
242
|
+
optionDisabled: {
|
|
243
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
244
|
+
};
|
|
245
|
+
optionDescription: {
|
|
246
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
247
|
+
};
|
|
248
|
+
}>> & {
|
|
249
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
250
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
251
|
+
__isFragment?: undefined;
|
|
252
|
+
__isTeleport?: undefined;
|
|
253
|
+
__isSuspense?: undefined;
|
|
254
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
255
|
+
modelValue: {
|
|
256
|
+
type: import("vue").PropType<string | number>;
|
|
257
|
+
};
|
|
258
|
+
options: {
|
|
259
|
+
type: import("vue").PropType<any>;
|
|
260
|
+
required: true;
|
|
261
|
+
};
|
|
262
|
+
optionLabel: {
|
|
263
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
264
|
+
};
|
|
265
|
+
optionValue: {
|
|
266
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
267
|
+
};
|
|
268
|
+
optionDisabled: {
|
|
269
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
270
|
+
};
|
|
271
|
+
optionDescription: {
|
|
272
|
+
type: import("vue").PropType<import("../types").Extractor>;
|
|
273
|
+
};
|
|
274
|
+
}>> & {
|
|
275
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
276
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
277
|
+
"update:modelValue": (value: string | number) => void;
|
|
278
|
+
}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
279
|
+
$slots: {
|
|
280
|
+
default: (_: {
|
|
281
|
+
option: import("../types").Option<any>;
|
|
282
|
+
}) => any;
|
|
283
|
+
};
|
|
284
|
+
})>;
|