@sdata/web-vue 4.3.0 → 4.3.1
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.
|
@@ -1,26 +1,10 @@
|
|
|
1
1
|
import type { ComponentPublicInstance, PropType } from 'vue';
|
|
2
2
|
import type { VirtualListProps } from '../_components/virtual-list/interface';
|
|
3
3
|
import type { FloatingOptions } from '../_utils/floating';
|
|
4
|
-
import type { FilterOption, SelectOptionData, SelectOptionGroup } from '../select/interface';
|
|
4
|
+
import type { FilterOption, SelectOptionData, SelectOptionGroup, SelectOptionInfo } from '../select/interface';
|
|
5
5
|
import { type TriggerProps } from '../trigger';
|
|
6
6
|
declare var __VLS_7: {
|
|
7
|
-
data:
|
|
8
|
-
[x: string]: unknown;
|
|
9
|
-
raw: {
|
|
10
|
-
[x: string]: unknown;
|
|
11
|
-
value?: import("../select/interface").SelectOptionValue | undefined;
|
|
12
|
-
label?: string | undefined;
|
|
13
|
-
disabled?: boolean | undefined;
|
|
14
|
-
tagProps?: Record<string, unknown> | undefined;
|
|
15
|
-
};
|
|
16
|
-
key: string;
|
|
17
|
-
index?: number | undefined;
|
|
18
|
-
origin: "options" | "extraOptions";
|
|
19
|
-
value: import("../select/interface").SelectOptionValue;
|
|
20
|
-
label: string;
|
|
21
|
-
disabled?: boolean | undefined;
|
|
22
|
-
tagProps?: Record<string, unknown> | undefined;
|
|
23
|
-
} | undefined;
|
|
7
|
+
data: SelectOptionInfo;
|
|
24
8
|
}, __VLS_56: {}, __VLS_71: {}, __VLS_74: {};
|
|
25
9
|
type __VLS_Slots = {} & {
|
|
26
10
|
option?: (props: typeof __VLS_7) => any;
|
|
@@ -217,7 +217,7 @@ var auto_complete_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
217
217
|
onClick: ($event) => handleOptionClick(item, $event),
|
|
218
218
|
onMouseenter: ($event) => handleOptionMouseEnter(item),
|
|
219
219
|
onMouseleave: ($event) => handleOptionMouseLeave(item)
|
|
220
|
-
}, [createElementVNode("span", { class: normalizeClass(`${unref(optionPrefixCls)}-content`) }, [unref(slots).option && item.value ? renderSlot(_ctx.$slots, "option", { data:
|
|
220
|
+
}, [createElementVNode("span", { class: normalizeClass(`${unref(optionPrefixCls)}-content`) }, [unref(slots).option && item.value ? renderSlot(_ctx.$slots, "option", { data: item }, void 0, void 0, 0) : (openBlock(), createBlock(unref(Ellipsis), { key: 1 }, {
|
|
221
221
|
default: withCtx(() => [createTextVNode(toDisplayString(item.label), 1)]),
|
|
222
222
|
_: 2
|
|
223
223
|
}, 1024))], 2)], 42, _hoisted_1)]),
|
|
@@ -1835,23 +1835,7 @@ declare const AutoComplete: {
|
|
|
1835
1835
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1836
1836
|
$slots: {
|
|
1837
1837
|
option?: (props: {
|
|
1838
|
-
data:
|
|
1839
|
-
[x: string]: unknown;
|
|
1840
|
-
raw: {
|
|
1841
|
-
[x: string]: unknown;
|
|
1842
|
-
value?: import("../select/interface").SelectOptionValue | undefined;
|
|
1843
|
-
label?: string | undefined;
|
|
1844
|
-
disabled?: boolean | undefined;
|
|
1845
|
-
tagProps?: Record<string, unknown> | undefined;
|
|
1846
|
-
};
|
|
1847
|
-
key: string;
|
|
1848
|
-
index?: number | undefined;
|
|
1849
|
-
origin: "options" | "extraOptions";
|
|
1850
|
-
value: import("../select/interface").SelectOptionValue;
|
|
1851
|
-
label: string;
|
|
1852
|
-
disabled?: boolean | undefined;
|
|
1853
|
-
tagProps?: Record<string, unknown> | undefined;
|
|
1854
|
-
} | undefined;
|
|
1838
|
+
data: import("../select/interface").SelectOptionInfo;
|
|
1855
1839
|
}) => any;
|
|
1856
1840
|
} & {
|
|
1857
1841
|
footer?: (props: {}) => any;
|
package/json/web-types.json
CHANGED