foucui 2.0.0 → 2.1.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/dist/components/FouSearchInput/index.vue.d.ts +57 -0
- package/dist/foucui.css +1 -1
- package/dist/foucui.js +4094 -3964
- package/dist/foucui.umd.cjs +14 -14
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
/** 搜索按钮位置:框内左 / 框内右 */
|
|
5
|
+
searchPosition?: 'left' | 'right';
|
|
6
|
+
/** 边框外形:圆弧 / 直角;也可传数字(px)或 CSS 长度自定义圆角 */
|
|
7
|
+
shape?: 'round' | 'square' | string | number;
|
|
8
|
+
size?: 'large' | 'default' | 'small';
|
|
9
|
+
clearable?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
readonly?: boolean;
|
|
12
|
+
/** 是否在搜索按钮上显示文字(默认仅图标) */
|
|
13
|
+
showSearchText?: boolean;
|
|
14
|
+
searchLabel?: string;
|
|
15
|
+
clearLabel?: string;
|
|
16
|
+
searchIcon?: string;
|
|
17
|
+
clearIcon?: string;
|
|
18
|
+
/** 固定宽度,如 280 / '100%' */
|
|
19
|
+
width?: string | number;
|
|
20
|
+
};
|
|
21
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
22
|
+
focus: () => void;
|
|
23
|
+
blur: () => void;
|
|
24
|
+
search: () => void;
|
|
25
|
+
clear: () => void;
|
|
26
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
search: (keyword: string) => any;
|
|
28
|
+
"update:modelValue": (args_0: string) => any;
|
|
29
|
+
change: (args_0: string) => any;
|
|
30
|
+
clear: () => any;
|
|
31
|
+
blur: (args_0: FocusEvent) => any;
|
|
32
|
+
focus: (args_0: FocusEvent) => any;
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
34
|
+
onSearch?: (keyword: string) => any;
|
|
35
|
+
"onUpdate:modelValue"?: (args_0: string) => any;
|
|
36
|
+
onChange?: (args_0: string) => any;
|
|
37
|
+
onClear?: () => any;
|
|
38
|
+
onBlur?: (args_0: FocusEvent) => any;
|
|
39
|
+
onFocus?: (args_0: FocusEvent) => any;
|
|
40
|
+
}>, {
|
|
41
|
+
modelValue: string;
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
size: "large" | "default" | "small";
|
|
44
|
+
placeholder: string;
|
|
45
|
+
shape: "round" | "square" | string | number;
|
|
46
|
+
clearable: boolean;
|
|
47
|
+
searchPosition: "left" | "right";
|
|
48
|
+
readonly: boolean;
|
|
49
|
+
showSearchText: boolean;
|
|
50
|
+
searchLabel: string;
|
|
51
|
+
clearLabel: string;
|
|
52
|
+
searchIcon: string;
|
|
53
|
+
clearIcon: string;
|
|
54
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
55
|
+
inputRef: HTMLInputElement;
|
|
56
|
+
}, HTMLDivElement>;
|
|
57
|
+
export default _default;
|