sprintify-ui 0.0.77 → 0.0.78
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/sprintify-ui.es.js +4388 -4235
- package/dist/types/src/components/BaseAutocomplete.vue.d.ts +130 -6
- package/dist/types/src/components/BaseAutocompleteFetch.vue.d.ts +99 -5
- package/dist/types/src/components/BaseBelongsTo.vue.d.ts +96 -2
- package/dist/types/src/components/BaseDropdown.vue.d.ts +41 -6
- package/dist/types/src/components/BaseInput.vue.d.ts +1 -1
- package/dist/types/src/components/BaseLocaleForm.vue.d.ts +1 -1
- package/dist/types/src/components/BaseNavbarSideItem.vue.d.ts +3 -3
- package/dist/types/src/components/BaseRadioGroup.vue.d.ts +4 -4
- package/dist/types/src/components/BaseTagAutocomplete.vue.d.ts +3 -3
- package/dist/types/src/components/BaseTagAutocompleteFetch.vue.d.ts +3 -3
- package/package.json +1 -1
- package/src/components/BaseAutocomplete.stories.js +46 -0
- package/src/components/BaseAutocomplete.vue +223 -108
- package/src/components/BaseAutocompleteFetch.stories.js +40 -0
- package/src/components/BaseAutocompleteFetch.vue +43 -6
- package/src/components/BaseBelongsTo.stories.js +40 -0
- package/src/components/BaseBelongsTo.vue +25 -0
- package/src/components/BaseDropdown.stories.js +71 -5
- package/src/components/BaseDropdown.vue +96 -3
|
@@ -8,11 +8,16 @@ declare const _default: {
|
|
|
8
8
|
filter: (option: NormalizedOption) => boolean;
|
|
9
9
|
required: boolean;
|
|
10
10
|
name: string;
|
|
11
|
+
inline: boolean;
|
|
11
12
|
modelValue: Option | null | undefined;
|
|
12
13
|
placeholder: string;
|
|
13
14
|
loading: boolean;
|
|
14
15
|
disabled: boolean;
|
|
15
16
|
hasError: boolean;
|
|
17
|
+
size: "base" | "xs" | "sm";
|
|
18
|
+
dropdownShow: "focus" | "always";
|
|
19
|
+
modelValueShow: boolean;
|
|
20
|
+
visibleFocus: boolean;
|
|
16
21
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
17
22
|
modelValue: {
|
|
18
23
|
default: undefined;
|
|
@@ -58,13 +63,36 @@ declare const _default: {
|
|
|
58
63
|
default: boolean;
|
|
59
64
|
type: BooleanConstructor;
|
|
60
65
|
};
|
|
66
|
+
inline: {
|
|
67
|
+
default: boolean;
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
};
|
|
70
|
+
size: {
|
|
71
|
+
default: string;
|
|
72
|
+
type: PropType<"base" | "xs" | "sm">;
|
|
73
|
+
};
|
|
74
|
+
dropdownShow: {
|
|
75
|
+
default: string;
|
|
76
|
+
type: PropType<"focus" | "always">;
|
|
77
|
+
};
|
|
78
|
+
modelValueShow: {
|
|
79
|
+
default: boolean;
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
};
|
|
82
|
+
visibleFocus: {
|
|
83
|
+
default: boolean;
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
};
|
|
61
86
|
}>> & {
|
|
62
87
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
88
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
63
89
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
64
90
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
65
91
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
66
92
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
67
|
-
|
|
93
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
95
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "required" | "name" | "inline" | "modelValue" | "placeholder" | "loading" | "disabled" | "hasError" | "size" | "dropdownShow" | "modelValueShow" | "visibleFocus">;
|
|
68
96
|
$attrs: {
|
|
69
97
|
[x: string]: unknown;
|
|
70
98
|
};
|
|
@@ -76,7 +104,7 @@ declare const _default: {
|
|
|
76
104
|
}>;
|
|
77
105
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
78
106
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
79
|
-
$emit: (event: "clear" | "update:modelValue" | "typing" | "
|
|
107
|
+
$emit: (event: "clear" | "update:modelValue" | "focus" | "typing" | "blur" | "scrollBottom" | "open" | "close", ...args: any[]) => void;
|
|
80
108
|
$el: any;
|
|
81
109
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
82
110
|
modelValue: {
|
|
@@ -123,21 +151,55 @@ declare const _default: {
|
|
|
123
151
|
default: boolean;
|
|
124
152
|
type: BooleanConstructor;
|
|
125
153
|
};
|
|
154
|
+
inline: {
|
|
155
|
+
default: boolean;
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
};
|
|
158
|
+
size: {
|
|
159
|
+
default: string;
|
|
160
|
+
type: PropType<"base" | "xs" | "sm">;
|
|
161
|
+
};
|
|
162
|
+
dropdownShow: {
|
|
163
|
+
default: string;
|
|
164
|
+
type: PropType<"focus" | "always">;
|
|
165
|
+
};
|
|
166
|
+
modelValueShow: {
|
|
167
|
+
default: boolean;
|
|
168
|
+
type: BooleanConstructor;
|
|
169
|
+
};
|
|
170
|
+
visibleFocus: {
|
|
171
|
+
default: boolean;
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
};
|
|
126
174
|
}>> & {
|
|
127
175
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
176
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
128
177
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
129
178
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
130
179
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
131
180
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
132
|
-
|
|
181
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
182
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
183
|
+
}, {
|
|
184
|
+
focus: () => void;
|
|
185
|
+
blur: () => void;
|
|
186
|
+
close: () => void;
|
|
187
|
+
open: () => void;
|
|
188
|
+
setKeywords: (input: string) => void;
|
|
189
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:modelValue" | "focus" | "typing" | "blur" | "scrollBottom" | "open" | "close")[], string, {
|
|
133
190
|
filter: (option: NormalizedOption) => boolean;
|
|
134
191
|
required: boolean;
|
|
135
192
|
name: string;
|
|
193
|
+
inline: boolean;
|
|
136
194
|
modelValue: Option | null | undefined;
|
|
137
195
|
placeholder: string;
|
|
138
196
|
loading: boolean;
|
|
139
197
|
disabled: boolean;
|
|
140
198
|
hasError: boolean;
|
|
199
|
+
size: "base" | "xs" | "sm";
|
|
200
|
+
dropdownShow: "focus" | "always";
|
|
201
|
+
modelValueShow: boolean;
|
|
202
|
+
visibleFocus: boolean;
|
|
141
203
|
}, {}, string> & {
|
|
142
204
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
143
205
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -203,13 +265,42 @@ declare const _default: {
|
|
|
203
265
|
default: boolean;
|
|
204
266
|
type: BooleanConstructor;
|
|
205
267
|
};
|
|
268
|
+
inline: {
|
|
269
|
+
default: boolean;
|
|
270
|
+
type: BooleanConstructor;
|
|
271
|
+
};
|
|
272
|
+
size: {
|
|
273
|
+
default: string;
|
|
274
|
+
type: PropType<"base" | "xs" | "sm">;
|
|
275
|
+
};
|
|
276
|
+
dropdownShow: {
|
|
277
|
+
default: string;
|
|
278
|
+
type: PropType<"focus" | "always">;
|
|
279
|
+
};
|
|
280
|
+
modelValueShow: {
|
|
281
|
+
default: boolean;
|
|
282
|
+
type: BooleanConstructor;
|
|
283
|
+
};
|
|
284
|
+
visibleFocus: {
|
|
285
|
+
default: boolean;
|
|
286
|
+
type: BooleanConstructor;
|
|
287
|
+
};
|
|
206
288
|
}>> & {
|
|
207
289
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
290
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
208
291
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
209
292
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
210
293
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
211
294
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
212
|
-
|
|
295
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
296
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
297
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
298
|
+
focus: () => void;
|
|
299
|
+
blur: () => void;
|
|
300
|
+
close: () => void;
|
|
301
|
+
open: () => void;
|
|
302
|
+
setKeywords: (input: string) => void;
|
|
303
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
213
304
|
__isFragment?: undefined;
|
|
214
305
|
__isTeleport?: undefined;
|
|
215
306
|
__isSuspense?: undefined;
|
|
@@ -258,21 +349,55 @@ declare const _default: {
|
|
|
258
349
|
default: boolean;
|
|
259
350
|
type: BooleanConstructor;
|
|
260
351
|
};
|
|
352
|
+
inline: {
|
|
353
|
+
default: boolean;
|
|
354
|
+
type: BooleanConstructor;
|
|
355
|
+
};
|
|
356
|
+
size: {
|
|
357
|
+
default: string;
|
|
358
|
+
type: PropType<"base" | "xs" | "sm">;
|
|
359
|
+
};
|
|
360
|
+
dropdownShow: {
|
|
361
|
+
default: string;
|
|
362
|
+
type: PropType<"focus" | "always">;
|
|
363
|
+
};
|
|
364
|
+
modelValueShow: {
|
|
365
|
+
default: boolean;
|
|
366
|
+
type: BooleanConstructor;
|
|
367
|
+
};
|
|
368
|
+
visibleFocus: {
|
|
369
|
+
default: boolean;
|
|
370
|
+
type: BooleanConstructor;
|
|
371
|
+
};
|
|
261
372
|
}>> & {
|
|
262
373
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
374
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
263
375
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
264
376
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
265
377
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
266
378
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
267
|
-
|
|
379
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
380
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
381
|
+
}, {
|
|
382
|
+
focus: () => void;
|
|
383
|
+
blur: () => void;
|
|
384
|
+
close: () => void;
|
|
385
|
+
open: () => void;
|
|
386
|
+
setKeywords: (input: string) => void;
|
|
387
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:modelValue" | "focus" | "typing" | "blur" | "scrollBottom" | "open" | "close")[], "clear" | "update:modelValue" | "focus" | "typing" | "blur" | "scrollBottom" | "open" | "close", {
|
|
268
388
|
filter: (option: NormalizedOption) => boolean;
|
|
269
389
|
required: boolean;
|
|
270
390
|
name: string;
|
|
391
|
+
inline: boolean;
|
|
271
392
|
modelValue: Option | null | undefined;
|
|
272
393
|
placeholder: string;
|
|
273
394
|
loading: boolean;
|
|
274
395
|
disabled: boolean;
|
|
275
396
|
hasError: boolean;
|
|
397
|
+
size: "base" | "xs" | "sm";
|
|
398
|
+
dropdownShow: "focus" | "always";
|
|
399
|
+
modelValueShow: boolean;
|
|
400
|
+
visibleFocus: boolean;
|
|
276
401
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
277
402
|
$slots: {
|
|
278
403
|
empty: (_: {}) => any;
|
|
@@ -284,7 +409,6 @@ declare const _default: {
|
|
|
284
409
|
footer: (_: {
|
|
285
410
|
options: NormalizedOption[];
|
|
286
411
|
keywords: string;
|
|
287
|
-
hideDropdown: () => void;
|
|
288
412
|
}) => any;
|
|
289
413
|
};
|
|
290
414
|
});
|
|
@@ -7,10 +7,15 @@ declare const _default: {
|
|
|
7
7
|
$props: Partial<{
|
|
8
8
|
required: boolean;
|
|
9
9
|
name: string;
|
|
10
|
+
inline: boolean;
|
|
10
11
|
modelValue: Option | null | undefined;
|
|
11
12
|
placeholder: string;
|
|
12
13
|
disabled: boolean;
|
|
13
14
|
hasError: boolean;
|
|
15
|
+
size: "base" | "xs" | "sm";
|
|
16
|
+
dropdownShow: "focus" | "always";
|
|
17
|
+
modelValueShow: boolean;
|
|
18
|
+
visibleFocus: boolean;
|
|
14
19
|
queryKey: string;
|
|
15
20
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
16
21
|
modelValue: {
|
|
@@ -53,13 +58,33 @@ declare const _default: {
|
|
|
53
58
|
default: boolean;
|
|
54
59
|
type: BooleanConstructor;
|
|
55
60
|
};
|
|
61
|
+
inline: {
|
|
62
|
+
default: boolean;
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
};
|
|
65
|
+
size: {
|
|
66
|
+
default: string;
|
|
67
|
+
type: PropType<"base" | "xs" | "sm">;
|
|
68
|
+
};
|
|
69
|
+
dropdownShow: {
|
|
70
|
+
default: string;
|
|
71
|
+
type: PropType<"focus" | "always">;
|
|
72
|
+
};
|
|
73
|
+
modelValueShow: {
|
|
74
|
+
default: boolean;
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
};
|
|
77
|
+
visibleFocus: {
|
|
78
|
+
default: boolean;
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
};
|
|
56
81
|
}>> & {
|
|
57
82
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
58
83
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
59
84
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
60
85
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
61
86
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
62
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "name" | "modelValue" | "placeholder" | "disabled" | "hasError" | "queryKey">;
|
|
87
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "name" | "inline" | "modelValue" | "placeholder" | "disabled" | "hasError" | "size" | "dropdownShow" | "modelValueShow" | "visibleFocus" | "queryKey">;
|
|
63
88
|
$attrs: {
|
|
64
89
|
[x: string]: unknown;
|
|
65
90
|
};
|
|
@@ -71,7 +96,7 @@ declare const _default: {
|
|
|
71
96
|
}>;
|
|
72
97
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
73
98
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
74
|
-
$emit: (event: "clear" | "update:modelValue" | "
|
|
99
|
+
$emit: (event: "clear" | "update:modelValue" | "focus" | "typing" | "scrollBottom", ...args: any[]) => void;
|
|
75
100
|
$el: any;
|
|
76
101
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
77
102
|
modelValue: {
|
|
@@ -114,19 +139,44 @@ declare const _default: {
|
|
|
114
139
|
default: boolean;
|
|
115
140
|
type: BooleanConstructor;
|
|
116
141
|
};
|
|
142
|
+
inline: {
|
|
143
|
+
default: boolean;
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
};
|
|
146
|
+
size: {
|
|
147
|
+
default: string;
|
|
148
|
+
type: PropType<"base" | "xs" | "sm">;
|
|
149
|
+
};
|
|
150
|
+
dropdownShow: {
|
|
151
|
+
default: string;
|
|
152
|
+
type: PropType<"focus" | "always">;
|
|
153
|
+
};
|
|
154
|
+
modelValueShow: {
|
|
155
|
+
default: boolean;
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
};
|
|
158
|
+
visibleFocus: {
|
|
159
|
+
default: boolean;
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
};
|
|
117
162
|
}>> & {
|
|
118
163
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
119
164
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
120
165
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
121
166
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
122
167
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
123
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:modelValue" | "
|
|
168
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:modelValue" | "focus" | "typing" | "scrollBottom")[], string, {
|
|
124
169
|
required: boolean;
|
|
125
170
|
name: string;
|
|
171
|
+
inline: boolean;
|
|
126
172
|
modelValue: Option | null | undefined;
|
|
127
173
|
placeholder: string;
|
|
128
174
|
disabled: boolean;
|
|
129
175
|
hasError: boolean;
|
|
176
|
+
size: "base" | "xs" | "sm";
|
|
177
|
+
dropdownShow: "focus" | "always";
|
|
178
|
+
modelValueShow: boolean;
|
|
179
|
+
visibleFocus: boolean;
|
|
130
180
|
queryKey: string;
|
|
131
181
|
}, {}, string> & {
|
|
132
182
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -189,6 +239,26 @@ declare const _default: {
|
|
|
189
239
|
default: boolean;
|
|
190
240
|
type: BooleanConstructor;
|
|
191
241
|
};
|
|
242
|
+
inline: {
|
|
243
|
+
default: boolean;
|
|
244
|
+
type: BooleanConstructor;
|
|
245
|
+
};
|
|
246
|
+
size: {
|
|
247
|
+
default: string;
|
|
248
|
+
type: PropType<"base" | "xs" | "sm">;
|
|
249
|
+
};
|
|
250
|
+
dropdownShow: {
|
|
251
|
+
default: string;
|
|
252
|
+
type: PropType<"focus" | "always">;
|
|
253
|
+
};
|
|
254
|
+
modelValueShow: {
|
|
255
|
+
default: boolean;
|
|
256
|
+
type: BooleanConstructor;
|
|
257
|
+
};
|
|
258
|
+
visibleFocus: {
|
|
259
|
+
default: boolean;
|
|
260
|
+
type: BooleanConstructor;
|
|
261
|
+
};
|
|
192
262
|
}>> & {
|
|
193
263
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
194
264
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
@@ -240,19 +310,44 @@ declare const _default: {
|
|
|
240
310
|
default: boolean;
|
|
241
311
|
type: BooleanConstructor;
|
|
242
312
|
};
|
|
313
|
+
inline: {
|
|
314
|
+
default: boolean;
|
|
315
|
+
type: BooleanConstructor;
|
|
316
|
+
};
|
|
317
|
+
size: {
|
|
318
|
+
default: string;
|
|
319
|
+
type: PropType<"base" | "xs" | "sm">;
|
|
320
|
+
};
|
|
321
|
+
dropdownShow: {
|
|
322
|
+
default: string;
|
|
323
|
+
type: PropType<"focus" | "always">;
|
|
324
|
+
};
|
|
325
|
+
modelValueShow: {
|
|
326
|
+
default: boolean;
|
|
327
|
+
type: BooleanConstructor;
|
|
328
|
+
};
|
|
329
|
+
visibleFocus: {
|
|
330
|
+
default: boolean;
|
|
331
|
+
type: BooleanConstructor;
|
|
332
|
+
};
|
|
243
333
|
}>> & {
|
|
244
334
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
245
335
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
246
336
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
247
337
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
248
338
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
249
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:modelValue" | "
|
|
339
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:modelValue" | "focus" | "typing" | "scrollBottom")[], "clear" | "update:modelValue" | "focus" | "typing" | "scrollBottom", {
|
|
250
340
|
required: boolean;
|
|
251
341
|
name: string;
|
|
342
|
+
inline: boolean;
|
|
252
343
|
modelValue: Option | null | undefined;
|
|
253
344
|
placeholder: string;
|
|
254
345
|
disabled: boolean;
|
|
255
346
|
hasError: boolean;
|
|
347
|
+
size: "base" | "xs" | "sm";
|
|
348
|
+
dropdownShow: "focus" | "always";
|
|
349
|
+
modelValueShow: boolean;
|
|
350
|
+
visibleFocus: boolean;
|
|
256
351
|
queryKey: string;
|
|
257
352
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
258
353
|
$slots: {
|
|
@@ -264,7 +359,6 @@ declare const _default: {
|
|
|
264
359
|
footer: (_: {
|
|
265
360
|
options: import("@/types").NormalizedOption[];
|
|
266
361
|
keywords: string;
|
|
267
|
-
hideDropdown: () => void;
|
|
268
362
|
} & {
|
|
269
363
|
keywords: string;
|
|
270
364
|
}) => any;
|
|
@@ -7,10 +7,15 @@ declare const _default: {
|
|
|
7
7
|
$props: Partial<{
|
|
8
8
|
required: boolean;
|
|
9
9
|
name: string;
|
|
10
|
+
inline: boolean;
|
|
10
11
|
modelValue: string | number | null | undefined;
|
|
11
12
|
placeholder: string;
|
|
12
13
|
disabled: boolean;
|
|
13
14
|
hasError: boolean;
|
|
15
|
+
size: "base" | "xs" | "sm";
|
|
16
|
+
dropdownShow: "focus" | "always";
|
|
17
|
+
modelValueShow: boolean;
|
|
18
|
+
visibleFocus: boolean;
|
|
14
19
|
showRouteUrl: ((id: string | number) => string) | undefined;
|
|
15
20
|
primaryKey: string;
|
|
16
21
|
currentModel: Option | null;
|
|
@@ -59,9 +64,29 @@ declare const _default: {
|
|
|
59
64
|
default: boolean;
|
|
60
65
|
type: BooleanConstructor;
|
|
61
66
|
};
|
|
67
|
+
inline: {
|
|
68
|
+
default: boolean;
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
};
|
|
71
|
+
size: {
|
|
72
|
+
default: string;
|
|
73
|
+
type: PropType<"base" | "xs" | "sm">;
|
|
74
|
+
};
|
|
75
|
+
dropdownShow: {
|
|
76
|
+
default: string;
|
|
77
|
+
type: PropType<"focus" | "always">;
|
|
78
|
+
};
|
|
79
|
+
modelValueShow: {
|
|
80
|
+
default: boolean;
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
};
|
|
83
|
+
visibleFocus: {
|
|
84
|
+
default: boolean;
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
};
|
|
62
87
|
}>> & {
|
|
63
88
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "name" | "modelValue" | "placeholder" | "disabled" | "hasError" | "showRouteUrl" | "primaryKey" | "currentModel">;
|
|
89
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "name" | "inline" | "modelValue" | "placeholder" | "disabled" | "hasError" | "size" | "dropdownShow" | "modelValueShow" | "visibleFocus" | "showRouteUrl" | "primaryKey" | "currentModel">;
|
|
65
90
|
$attrs: {
|
|
66
91
|
[x: string]: unknown;
|
|
67
92
|
};
|
|
@@ -120,15 +145,40 @@ declare const _default: {
|
|
|
120
145
|
default: boolean;
|
|
121
146
|
type: BooleanConstructor;
|
|
122
147
|
};
|
|
148
|
+
inline: {
|
|
149
|
+
default: boolean;
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
};
|
|
152
|
+
size: {
|
|
153
|
+
default: string;
|
|
154
|
+
type: PropType<"base" | "xs" | "sm">;
|
|
155
|
+
};
|
|
156
|
+
dropdownShow: {
|
|
157
|
+
default: string;
|
|
158
|
+
type: PropType<"focus" | "always">;
|
|
159
|
+
};
|
|
160
|
+
modelValueShow: {
|
|
161
|
+
default: boolean;
|
|
162
|
+
type: BooleanConstructor;
|
|
163
|
+
};
|
|
164
|
+
visibleFocus: {
|
|
165
|
+
default: boolean;
|
|
166
|
+
type: BooleanConstructor;
|
|
167
|
+
};
|
|
123
168
|
}>> & {
|
|
124
169
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
125
170
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], string, {
|
|
126
171
|
required: boolean;
|
|
127
172
|
name: string;
|
|
173
|
+
inline: boolean;
|
|
128
174
|
modelValue: string | number | null | undefined;
|
|
129
175
|
placeholder: string;
|
|
130
176
|
disabled: boolean;
|
|
131
177
|
hasError: boolean;
|
|
178
|
+
size: "base" | "xs" | "sm";
|
|
179
|
+
dropdownShow: "focus" | "always";
|
|
180
|
+
modelValueShow: boolean;
|
|
181
|
+
visibleFocus: boolean;
|
|
132
182
|
showRouteUrl: ((id: string | number) => string) | undefined;
|
|
133
183
|
primaryKey: string;
|
|
134
184
|
currentModel: Option | null;
|
|
@@ -197,6 +247,26 @@ declare const _default: {
|
|
|
197
247
|
default: boolean;
|
|
198
248
|
type: BooleanConstructor;
|
|
199
249
|
};
|
|
250
|
+
inline: {
|
|
251
|
+
default: boolean;
|
|
252
|
+
type: BooleanConstructor;
|
|
253
|
+
};
|
|
254
|
+
size: {
|
|
255
|
+
default: string;
|
|
256
|
+
type: PropType<"base" | "xs" | "sm">;
|
|
257
|
+
};
|
|
258
|
+
dropdownShow: {
|
|
259
|
+
default: string;
|
|
260
|
+
type: PropType<"focus" | "always">;
|
|
261
|
+
};
|
|
262
|
+
modelValueShow: {
|
|
263
|
+
default: boolean;
|
|
264
|
+
type: BooleanConstructor;
|
|
265
|
+
};
|
|
266
|
+
visibleFocus: {
|
|
267
|
+
default: boolean;
|
|
268
|
+
type: BooleanConstructor;
|
|
269
|
+
};
|
|
200
270
|
}>> & {
|
|
201
271
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
202
272
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
@@ -248,15 +318,40 @@ declare const _default: {
|
|
|
248
318
|
default: boolean;
|
|
249
319
|
type: BooleanConstructor;
|
|
250
320
|
};
|
|
321
|
+
inline: {
|
|
322
|
+
default: boolean;
|
|
323
|
+
type: BooleanConstructor;
|
|
324
|
+
};
|
|
325
|
+
size: {
|
|
326
|
+
default: string;
|
|
327
|
+
type: PropType<"base" | "xs" | "sm">;
|
|
328
|
+
};
|
|
329
|
+
dropdownShow: {
|
|
330
|
+
default: string;
|
|
331
|
+
type: PropType<"focus" | "always">;
|
|
332
|
+
};
|
|
333
|
+
modelValueShow: {
|
|
334
|
+
default: boolean;
|
|
335
|
+
type: BooleanConstructor;
|
|
336
|
+
};
|
|
337
|
+
visibleFocus: {
|
|
338
|
+
default: boolean;
|
|
339
|
+
type: BooleanConstructor;
|
|
340
|
+
};
|
|
251
341
|
}>> & {
|
|
252
342
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
253
343
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", {
|
|
254
344
|
required: boolean;
|
|
255
345
|
name: string;
|
|
346
|
+
inline: boolean;
|
|
256
347
|
modelValue: string | number | null | undefined;
|
|
257
348
|
placeholder: string;
|
|
258
349
|
disabled: boolean;
|
|
259
350
|
hasError: boolean;
|
|
351
|
+
size: "base" | "xs" | "sm";
|
|
352
|
+
dropdownShow: "focus" | "always";
|
|
353
|
+
modelValueShow: boolean;
|
|
354
|
+
visibleFocus: boolean;
|
|
260
355
|
showRouteUrl: ((id: string | number) => string) | undefined;
|
|
261
356
|
primaryKey: string;
|
|
262
357
|
currentModel: Option | null;
|
|
@@ -273,7 +368,6 @@ declare const _default: {
|
|
|
273
368
|
footer: (_: {
|
|
274
369
|
options: import("@/types").NormalizedOption[];
|
|
275
370
|
keywords: string;
|
|
276
|
-
hideDropdown: () => void;
|
|
277
371
|
} & {
|
|
278
372
|
keywords: string;
|
|
279
373
|
}) => any;
|
|
@@ -7,6 +7,7 @@ declare const _default: {
|
|
|
7
7
|
$props: Partial<{
|
|
8
8
|
placement: Placement;
|
|
9
9
|
offset: [number, number];
|
|
10
|
+
animated: boolean;
|
|
10
11
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
11
12
|
placement: {
|
|
12
13
|
type: PropType<Placement>;
|
|
@@ -16,7 +17,14 @@ declare const _default: {
|
|
|
16
17
|
default(): number[];
|
|
17
18
|
type: PropType<[number, number]>;
|
|
18
19
|
};
|
|
19
|
-
|
|
20
|
+
animated: {
|
|
21
|
+
default: boolean;
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
};
|
|
24
|
+
}>> & {
|
|
25
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "offset" | "animated">;
|
|
20
28
|
$attrs: {
|
|
21
29
|
[x: string]: unknown;
|
|
22
30
|
};
|
|
@@ -28,7 +36,7 @@ declare const _default: {
|
|
|
28
36
|
}>;
|
|
29
37
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
30
38
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
31
|
-
$emit: (event:
|
|
39
|
+
$emit: (event: "open" | "close", ...args: any[]) => void;
|
|
32
40
|
$el: any;
|
|
33
41
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
34
42
|
placement: {
|
|
@@ -39,9 +47,17 @@ declare const _default: {
|
|
|
39
47
|
default(): number[];
|
|
40
48
|
type: PropType<[number, number]>;
|
|
41
49
|
};
|
|
42
|
-
|
|
50
|
+
animated: {
|
|
51
|
+
default: boolean;
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
};
|
|
54
|
+
}>> & {
|
|
55
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
56
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
57
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close")[], string, {
|
|
43
58
|
placement: Placement;
|
|
44
59
|
offset: [number, number];
|
|
60
|
+
animated: boolean;
|
|
45
61
|
}, {}, string> & {
|
|
46
62
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
47
63
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -71,7 +87,14 @@ declare const _default: {
|
|
|
71
87
|
default(): number[];
|
|
72
88
|
type: PropType<[number, number]>;
|
|
73
89
|
};
|
|
74
|
-
|
|
90
|
+
animated: {
|
|
91
|
+
default: boolean;
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
};
|
|
94
|
+
}>> & {
|
|
95
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
96
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
97
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
75
98
|
__isFragment?: undefined;
|
|
76
99
|
__isTeleport?: undefined;
|
|
77
100
|
__isSuspense?: undefined;
|
|
@@ -84,13 +107,25 @@ declare const _default: {
|
|
|
84
107
|
default(): number[];
|
|
85
108
|
type: PropType<[number, number]>;
|
|
86
109
|
};
|
|
87
|
-
|
|
110
|
+
animated: {
|
|
111
|
+
default: boolean;
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
};
|
|
114
|
+
}>> & {
|
|
115
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
116
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
117
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close")[], "open" | "close", {
|
|
88
118
|
placement: Placement;
|
|
89
119
|
offset: [number, number];
|
|
120
|
+
animated: boolean;
|
|
90
121
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
91
122
|
$slots: {
|
|
92
123
|
button: (_: {}) => any;
|
|
93
|
-
dropdown: (_: {
|
|
124
|
+
dropdown: (_: {
|
|
125
|
+
close: () => void;
|
|
126
|
+
open: () => void;
|
|
127
|
+
toggle: () => void;
|
|
128
|
+
}) => any;
|
|
94
129
|
};
|
|
95
130
|
});
|
|
96
131
|
export default _default;
|