vft 0.0.416 → 0.0.419
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/index.css +1 -1
- package/es/components/breadcrumb/breadcrumb-item.vue.d.ts +1 -1
- package/es/components/breadcrumb/breadcrumb.vue.d.ts +1 -1
- package/es/components/config-provider/hooks/use-global-config.js +3 -3
- package/es/components/drawer/index.d.ts +1 -2
- package/es/components/radio/radio-button.vue.d.ts +1 -1
- package/es/components/radio/radio.vue.d.ts +15 -15
- package/es/components/radio/use-radio.d.ts +1 -1
- package/es/components/search/index.d.ts +172 -2
- package/es/components/search/search.vue.d.ts +3 -15
- package/es/components/search/search.vue2.js +78 -60
- package/es/components/search/types.d.ts +12 -0
- package/es/components/search/types.js +1 -0
- package/es/components/table/use/use-data-source.d.ts +1 -1
- package/es/components/teleport/teleport.vue.d.ts +1 -1
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/components/breadcrumb/breadcrumb-item.vue.d.ts +1 -1
- package/lib/components/breadcrumb/breadcrumb.vue.d.ts +1 -1
- package/lib/components/drawer/index.d.ts +1 -2
- package/lib/components/radio/radio-button.vue.d.ts +1 -1
- package/lib/components/radio/radio.vue.d.ts +15 -15
- package/lib/components/radio/use-radio.d.ts +1 -1
- package/lib/components/search/index.d.ts +172 -2
- package/lib/components/search/search.vue.d.ts +3 -15
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/search/types.cjs +1 -0
- package/lib/components/search/types.d.ts +12 -0
- package/lib/components/table/use/use-data-source.d.ts +1 -1
- package/lib/components/teleport/teleport.vue.d.ts +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +5 -5
- package/theme-style/index.css +1 -1
- package/theme-style/src/card.scss +4 -4
- package/theme-style/src/dialog.scss +1 -0
- package/theme-style/src/drawer.scss +3 -12
- package/theme-style/vft-card.css +1 -1
- package/theme-style/vft-dialog.css +1 -1
- package/theme-style/vft-drawer.css +1 -1
- package/web-types.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { keysOf as f } from "@vft/utils";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import { debugWarn as v } from "../../../utils/error.js";
|
|
4
|
-
import { getCurrentInstance as l, computed as i, unref as p, provide as
|
|
4
|
+
import { ref as g, getCurrentInstance as l, computed as i, unref as p, provide as C, inject as x } from "vue";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "../../form/index.js";
|
|
7
7
|
import { namespaceContextKey as I, useNamespace as b, defaultNamespace as y } from "../../../hooks/use-namespace/index.js";
|
|
@@ -9,7 +9,7 @@ import "../../../hooks/use-model-toggle/index.js";
|
|
|
9
9
|
import "@popperjs/core";
|
|
10
10
|
import { zIndexContextKey as G, useZIndex as z, defaultInitialZIndex as K } from "../../../hooks/use-z-index/index.js";
|
|
11
11
|
import { configProviderContextKey as m } from "../constants.js";
|
|
12
|
-
const a =
|
|
12
|
+
const a = g();
|
|
13
13
|
function d(o, e = void 0) {
|
|
14
14
|
const n = l() ? x(m, a) : a;
|
|
15
15
|
return o ? i(() => n?.value?.[o] ?? e) : n;
|
|
@@ -27,7 +27,7 @@ function B(o) {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
const S = (o, e, n = !1) => {
|
|
30
|
-
const t = !!l(), r = t ? d() : void 0, u = e?.provide ?? (t ?
|
|
30
|
+
const t = !!l(), r = t ? d() : void 0, u = e?.provide ?? (t ? C : void 0);
|
|
31
31
|
if (!u) {
|
|
32
32
|
v(
|
|
33
33
|
"provideGlobalConfig",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type DrawerProps } from './drawer.vue';
|
|
2
1
|
export declare const VftDrawer: import("vft/es/utils").SFCWithInstall<{
|
|
3
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4
3
|
direction: {
|
|
@@ -394,4 +393,4 @@ export declare const VftDrawer: import("vft/es/utils").SFCWithInstall<{
|
|
|
394
393
|
};
|
|
395
394
|
})> & Record<string, any>;
|
|
396
395
|
export default VftDrawer;
|
|
397
|
-
export
|
|
396
|
+
export * from './types';
|
|
@@ -2,46 +2,46 @@ declare function __VLS_template(): {
|
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
};
|
|
4
4
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
-
modelValue: import("vft/es/utils
|
|
5
|
+
modelValue: import("vft/es/utils").EpPropFinalized<(StringConstructor | NumberConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
|
|
6
6
|
size: {
|
|
7
|
-
readonly type: import("vue").PropType<import("vft/es/utils
|
|
7
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
8
8
|
readonly required: false;
|
|
9
9
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
10
10
|
__epPropKey: true;
|
|
11
11
|
};
|
|
12
12
|
disabled: BooleanConstructor;
|
|
13
|
-
label: import("vft/es/utils
|
|
14
|
-
value: import("vft/es/utils
|
|
15
|
-
name: import("vft/es/utils
|
|
13
|
+
label: import("vft/es/utils").EpPropFinalized<(StringConstructor | NumberConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
|
|
14
|
+
value: import("vft/es/utils").EpPropFinalized<(StringConstructor | NumberConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
|
|
15
|
+
name: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
16
16
|
border: BooleanConstructor;
|
|
17
17
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
-
click: (data: import("./types
|
|
18
|
+
click: (data: import("./types").RadioProps) => void;
|
|
19
19
|
change: (data: string | number | boolean | undefined) => void;
|
|
20
20
|
"update:modelValue": (data: string | number | boolean | undefined) => void;
|
|
21
21
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
-
modelValue: import("vft/es/utils
|
|
22
|
+
modelValue: import("vft/es/utils").EpPropFinalized<(StringConstructor | NumberConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
|
|
23
23
|
size: {
|
|
24
|
-
readonly type: import("vue").PropType<import("vft/es/utils
|
|
24
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
25
25
|
readonly required: false;
|
|
26
26
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
27
27
|
__epPropKey: true;
|
|
28
28
|
};
|
|
29
29
|
disabled: BooleanConstructor;
|
|
30
|
-
label: import("vft/es/utils
|
|
31
|
-
value: import("vft/es/utils
|
|
32
|
-
name: import("vft/es/utils
|
|
30
|
+
label: import("vft/es/utils").EpPropFinalized<(StringConstructor | NumberConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
|
|
31
|
+
value: import("vft/es/utils").EpPropFinalized<(StringConstructor | NumberConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
|
|
32
|
+
name: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
33
33
|
border: BooleanConstructor;
|
|
34
34
|
}>> & Readonly<{
|
|
35
|
-
onClick?: ((data: import("./types
|
|
35
|
+
onClick?: ((data: import("./types").RadioProps) => any) | undefined;
|
|
36
36
|
"onUpdate:modelValue"?: ((data: string | number | boolean | undefined) => any) | undefined;
|
|
37
37
|
onChange?: ((data: string | number | boolean | undefined) => any) | undefined;
|
|
38
38
|
}>, {
|
|
39
|
-
label: import("vft/es/utils
|
|
39
|
+
label: import("vft/es/utils").EpPropMergeType<(StringConstructor | NumberConstructor | BooleanConstructor)[], unknown, unknown>;
|
|
40
40
|
disabled: boolean;
|
|
41
|
-
value: import("vft/es/utils
|
|
41
|
+
value: import("vft/es/utils").EpPropMergeType<(StringConstructor | NumberConstructor | BooleanConstructor)[], unknown, unknown>;
|
|
42
42
|
border: boolean;
|
|
43
43
|
name: string;
|
|
44
|
-
modelValue: import("vft/es/utils
|
|
44
|
+
modelValue: import("vft/es/utils").EpPropMergeType<(StringConstructor | NumberConstructor | BooleanConstructor)[], unknown, unknown>;
|
|
45
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
46
46
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
47
47
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RadioButtonProps, RadioEmitProps, RadioProps } from './types
|
|
1
|
+
import type { RadioButtonProps, RadioEmitProps, RadioProps } from './types';
|
|
2
2
|
export declare const useRadio: (props: RadioProps | RadioButtonProps, emit?: RadioEmitProps) => {
|
|
3
3
|
radioRef: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
4
4
|
isGroup: import("vue").ComputedRef<boolean>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type SearchProps } from './search.vue';
|
|
2
1
|
export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
|
|
3
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4
3
|
width: {
|
|
@@ -13,15 +12,57 @@ export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
|
|
|
13
12
|
popoverCfg: {
|
|
14
13
|
type: import("vue").PropType<import("vft/es/vft").PopoverProps>;
|
|
15
14
|
};
|
|
15
|
+
id: {
|
|
16
|
+
type: import("vue").PropType<string>;
|
|
17
|
+
};
|
|
18
|
+
size: {
|
|
19
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
20
|
+
};
|
|
21
|
+
disabled: {
|
|
22
|
+
type: import("vue").PropType<boolean>;
|
|
23
|
+
};
|
|
16
24
|
modelValue: {
|
|
17
25
|
type: import("vue").PropType<string | number>;
|
|
18
26
|
};
|
|
27
|
+
type: {
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
29
|
+
};
|
|
30
|
+
resize: {
|
|
31
|
+
type: import("vue").PropType<"both" | "none" | "vertical" | "horizontal">;
|
|
32
|
+
};
|
|
33
|
+
autosize: {
|
|
34
|
+
type: import("vue").PropType<boolean | {
|
|
35
|
+
minRows?: number;
|
|
36
|
+
maxRows?: number;
|
|
37
|
+
}>;
|
|
38
|
+
};
|
|
39
|
+
autocomplete: {
|
|
40
|
+
type: import("vue").PropType<string>;
|
|
41
|
+
};
|
|
42
|
+
formatter: {
|
|
43
|
+
type: import("vue").PropType<Function>;
|
|
44
|
+
};
|
|
45
|
+
parser: {
|
|
46
|
+
type: import("vue").PropType<Function>;
|
|
47
|
+
};
|
|
19
48
|
placeholder: {
|
|
20
49
|
type: import("vue").PropType<string>;
|
|
21
50
|
};
|
|
51
|
+
form: {
|
|
52
|
+
type: import("vue").PropType<string>;
|
|
53
|
+
};
|
|
54
|
+
readonly: {
|
|
55
|
+
type: import("vue").PropType<boolean>;
|
|
56
|
+
};
|
|
22
57
|
clearable: {
|
|
23
58
|
type: import("vue").PropType<boolean>;
|
|
24
59
|
};
|
|
60
|
+
showPassword: {
|
|
61
|
+
type: import("vue").PropType<boolean>;
|
|
62
|
+
};
|
|
63
|
+
showWordLimit: {
|
|
64
|
+
type: import("vue").PropType<boolean>;
|
|
65
|
+
};
|
|
25
66
|
suffixIcon: {
|
|
26
67
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
27
68
|
};
|
|
@@ -31,6 +72,21 @@ export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
|
|
|
31
72
|
clearIcon: {
|
|
32
73
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
33
74
|
};
|
|
75
|
+
containerRole: {
|
|
76
|
+
type: import("vue").PropType<string>;
|
|
77
|
+
};
|
|
78
|
+
label: {
|
|
79
|
+
type: import("vue").PropType<string>;
|
|
80
|
+
};
|
|
81
|
+
tabindex: {
|
|
82
|
+
type: import("vue").PropType<string | number>;
|
|
83
|
+
};
|
|
84
|
+
validateEvent: {
|
|
85
|
+
type: import("vue").PropType<boolean>;
|
|
86
|
+
};
|
|
87
|
+
inputStyle: {
|
|
88
|
+
type: import("vue").PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
89
|
+
};
|
|
34
90
|
}>> & Readonly<{
|
|
35
91
|
onInput?: ((val: string | number) => any) | undefined;
|
|
36
92
|
onClear?: (() => any) | undefined;
|
|
@@ -90,15 +146,57 @@ export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
|
|
|
90
146
|
popoverCfg: {
|
|
91
147
|
type: import("vue").PropType<import("vft/es/vft").PopoverProps>;
|
|
92
148
|
};
|
|
149
|
+
id: {
|
|
150
|
+
type: import("vue").PropType<string>;
|
|
151
|
+
};
|
|
152
|
+
size: {
|
|
153
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
154
|
+
};
|
|
155
|
+
disabled: {
|
|
156
|
+
type: import("vue").PropType<boolean>;
|
|
157
|
+
};
|
|
93
158
|
modelValue: {
|
|
94
159
|
type: import("vue").PropType<string | number>;
|
|
95
160
|
};
|
|
161
|
+
type: {
|
|
162
|
+
type: import("vue").PropType<string>;
|
|
163
|
+
};
|
|
164
|
+
resize: {
|
|
165
|
+
type: import("vue").PropType<"both" | "none" | "vertical" | "horizontal">;
|
|
166
|
+
};
|
|
167
|
+
autosize: {
|
|
168
|
+
type: import("vue").PropType<boolean | {
|
|
169
|
+
minRows?: number;
|
|
170
|
+
maxRows?: number;
|
|
171
|
+
}>;
|
|
172
|
+
};
|
|
173
|
+
autocomplete: {
|
|
174
|
+
type: import("vue").PropType<string>;
|
|
175
|
+
};
|
|
176
|
+
formatter: {
|
|
177
|
+
type: import("vue").PropType<Function>;
|
|
178
|
+
};
|
|
179
|
+
parser: {
|
|
180
|
+
type: import("vue").PropType<Function>;
|
|
181
|
+
};
|
|
96
182
|
placeholder: {
|
|
97
183
|
type: import("vue").PropType<string>;
|
|
98
184
|
};
|
|
185
|
+
form: {
|
|
186
|
+
type: import("vue").PropType<string>;
|
|
187
|
+
};
|
|
188
|
+
readonly: {
|
|
189
|
+
type: import("vue").PropType<boolean>;
|
|
190
|
+
};
|
|
99
191
|
clearable: {
|
|
100
192
|
type: import("vue").PropType<boolean>;
|
|
101
193
|
};
|
|
194
|
+
showPassword: {
|
|
195
|
+
type: import("vue").PropType<boolean>;
|
|
196
|
+
};
|
|
197
|
+
showWordLimit: {
|
|
198
|
+
type: import("vue").PropType<boolean>;
|
|
199
|
+
};
|
|
102
200
|
suffixIcon: {
|
|
103
201
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
104
202
|
};
|
|
@@ -108,6 +206,21 @@ export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
|
|
|
108
206
|
clearIcon: {
|
|
109
207
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
110
208
|
};
|
|
209
|
+
containerRole: {
|
|
210
|
+
type: import("vue").PropType<string>;
|
|
211
|
+
};
|
|
212
|
+
label: {
|
|
213
|
+
type: import("vue").PropType<string>;
|
|
214
|
+
};
|
|
215
|
+
tabindex: {
|
|
216
|
+
type: import("vue").PropType<string | number>;
|
|
217
|
+
};
|
|
218
|
+
validateEvent: {
|
|
219
|
+
type: import("vue").PropType<boolean>;
|
|
220
|
+
};
|
|
221
|
+
inputStyle: {
|
|
222
|
+
type: import("vue").PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
223
|
+
};
|
|
111
224
|
}>> & Readonly<{
|
|
112
225
|
onInput?: ((val: string | number) => any) | undefined;
|
|
113
226
|
onClear?: (() => any) | undefined;
|
|
@@ -148,15 +261,57 @@ export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
|
|
|
148
261
|
popoverCfg: {
|
|
149
262
|
type: import("vue").PropType<import("vft/es/vft").PopoverProps>;
|
|
150
263
|
};
|
|
264
|
+
id: {
|
|
265
|
+
type: import("vue").PropType<string>;
|
|
266
|
+
};
|
|
267
|
+
size: {
|
|
268
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
269
|
+
};
|
|
270
|
+
disabled: {
|
|
271
|
+
type: import("vue").PropType<boolean>;
|
|
272
|
+
};
|
|
151
273
|
modelValue: {
|
|
152
274
|
type: import("vue").PropType<string | number>;
|
|
153
275
|
};
|
|
276
|
+
type: {
|
|
277
|
+
type: import("vue").PropType<string>;
|
|
278
|
+
};
|
|
279
|
+
resize: {
|
|
280
|
+
type: import("vue").PropType<"both" | "none" | "vertical" | "horizontal">;
|
|
281
|
+
};
|
|
282
|
+
autosize: {
|
|
283
|
+
type: import("vue").PropType<boolean | {
|
|
284
|
+
minRows?: number;
|
|
285
|
+
maxRows?: number;
|
|
286
|
+
}>;
|
|
287
|
+
};
|
|
288
|
+
autocomplete: {
|
|
289
|
+
type: import("vue").PropType<string>;
|
|
290
|
+
};
|
|
291
|
+
formatter: {
|
|
292
|
+
type: import("vue").PropType<Function>;
|
|
293
|
+
};
|
|
294
|
+
parser: {
|
|
295
|
+
type: import("vue").PropType<Function>;
|
|
296
|
+
};
|
|
154
297
|
placeholder: {
|
|
155
298
|
type: import("vue").PropType<string>;
|
|
156
299
|
};
|
|
300
|
+
form: {
|
|
301
|
+
type: import("vue").PropType<string>;
|
|
302
|
+
};
|
|
303
|
+
readonly: {
|
|
304
|
+
type: import("vue").PropType<boolean>;
|
|
305
|
+
};
|
|
157
306
|
clearable: {
|
|
158
307
|
type: import("vue").PropType<boolean>;
|
|
159
308
|
};
|
|
309
|
+
showPassword: {
|
|
310
|
+
type: import("vue").PropType<boolean>;
|
|
311
|
+
};
|
|
312
|
+
showWordLimit: {
|
|
313
|
+
type: import("vue").PropType<boolean>;
|
|
314
|
+
};
|
|
160
315
|
suffixIcon: {
|
|
161
316
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
162
317
|
};
|
|
@@ -166,6 +321,21 @@ export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
|
|
|
166
321
|
clearIcon: {
|
|
167
322
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
168
323
|
};
|
|
324
|
+
containerRole: {
|
|
325
|
+
type: import("vue").PropType<string>;
|
|
326
|
+
};
|
|
327
|
+
label: {
|
|
328
|
+
type: import("vue").PropType<string>;
|
|
329
|
+
};
|
|
330
|
+
tabindex: {
|
|
331
|
+
type: import("vue").PropType<string | number>;
|
|
332
|
+
};
|
|
333
|
+
validateEvent: {
|
|
334
|
+
type: import("vue").PropType<boolean>;
|
|
335
|
+
};
|
|
336
|
+
inputStyle: {
|
|
337
|
+
type: import("vue").PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
338
|
+
};
|
|
169
339
|
}>> & Readonly<{
|
|
170
340
|
onInput?: ((val: string | number) => any) | undefined;
|
|
171
341
|
onClear?: (() => any) | undefined;
|
|
@@ -214,5 +384,5 @@ export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
|
|
|
214
384
|
default?(_: {}): any;
|
|
215
385
|
};
|
|
216
386
|
})> & Record<string, any>;
|
|
217
|
-
export type { SearchProps };
|
|
218
387
|
export default VftSearch;
|
|
388
|
+
export * from './types';
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type PopoverProps } from 'vft/es/components/popover';
|
|
3
|
-
type _InputProps = Pick<InputProps, 'modelValue' | 'clearable' | 'placeholder' | 'suffixIcon' | 'prefixIcon' | 'clearIcon'>;
|
|
4
|
-
export interface SearchProps {
|
|
5
|
-
/** input 框宽度 */
|
|
6
|
-
width?: string | number;
|
|
7
|
-
/** input 获取焦点时的宽度 */
|
|
8
|
-
activeWidth?: string | number;
|
|
9
|
-
/** 是否需要 popover */
|
|
10
|
-
usePopover?: boolean;
|
|
11
|
-
/** popover 相关配置 参考 element */
|
|
12
|
-
popoverCfg?: PopoverProps;
|
|
13
|
-
}
|
|
1
|
+
import type { SearchProps } from './types';
|
|
14
2
|
declare function showPopover(): void;
|
|
15
3
|
declare function hidePopover(): void;
|
|
16
4
|
declare function __VLS_template(): {
|
|
@@ -20,7 +8,7 @@ declare function __VLS_template(): {
|
|
|
20
8
|
append?(_: {}): any;
|
|
21
9
|
default?(_: {}): any;
|
|
22
10
|
};
|
|
23
|
-
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SearchProps
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SearchProps>>, {
|
|
24
12
|
isFocus: import("vue").Ref<boolean, boolean>;
|
|
25
13
|
isHover: import("vue").Ref<boolean, boolean>;
|
|
26
14
|
visible: import("vue").Ref<boolean, boolean>;
|
|
@@ -43,7 +31,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
43
31
|
compositionstart: (evt: CompositionEvent) => void;
|
|
44
32
|
compositionupdate: (evt: CompositionEvent) => void;
|
|
45
33
|
compositionend: (evt: CompositionEvent) => void;
|
|
46
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SearchProps
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SearchProps>>> & Readonly<{
|
|
47
35
|
onInput?: ((val: string | number) => any) | undefined;
|
|
48
36
|
onClear?: (() => any) | undefined;
|
|
49
37
|
"onUpdate:modelValue"?: ((val: string | number) => any) | undefined;
|