@sdata/web-vue 3.3.0 → 3.4.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/sd.css +16 -12
- package/dist/sd.min.css +1 -1
- package/es/_components/select-view/select-view.d.ts +1 -1
- package/es/_components/select-view/style/index.css +2 -5
- package/es/_components/virtual-list/interface.d.ts +13 -6
- package/es/_components/virtual-list/style/index.scss +3 -1
- package/es/_components/virtual-list/virtual-list.vue.d.ts +31 -77
- package/es/_components/virtual-list/virtual-list.vue_vue_type_script_setup_true_lang.js +180 -503
- package/es/auto-complete/auto-complete.d.ts +1 -1
- package/es/auto-complete/auto-complete.js +3 -1
- package/es/auto-complete/index.d.ts +3 -3
- package/es/card/card.d.ts +3 -3
- package/es/card/index.d.ts +6 -6
- package/es/cascader/base-cascader-panel.d.ts +1 -1
- package/es/cascader/cascader-option.d.ts +1 -1
- package/es/cascader/cascader-option.js +8 -3
- package/es/cascader/cascader-panel.vue.d.ts +1 -1
- package/es/cascader/cascader-search-panel.d.ts +1 -1
- package/es/cascader/cascader.vue.d.ts +2 -2
- package/es/cascader/style/index.css +4 -1
- package/es/cascader/style/index.d.ts +1 -0
- package/es/cascader/style/index.scss +4 -1
- package/es/config-provider/config-provider.vue.d.ts +1 -1
- package/es/config-provider/index.d.ts +3 -3
- package/es/descriptions/descriptions.d.ts +2 -2
- package/es/descriptions/index.d.ts +6 -6
- package/es/drawer/drawer.vue.d.ts +2 -2
- package/es/drawer/index.d.ts +5 -5
- package/es/dropdown/dropdown-panel.vue.d.ts +1 -1
- package/es/ellipsis/ellipsis.vue.d.ts +1 -1
- package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/ellipsis/index.d.ts +6 -6
- package/es/ellipsis/performant-ellipsis.vue.d.ts +1 -1
- package/es/image/preview-group.vue.d.ts +1 -1
- package/es/index.css +16 -12
- package/es/input-tag/style/index.css +2 -5
- package/es/input-tag/style/input-tag.scss +1 -3
- package/es/link/index.d.ts +6 -6
- package/es/link/link.vue.d.ts +2 -2
- package/es/list/list-item-meta.vue.d.ts +2 -2
- package/es/list/list-item-meta.vue_vue_type_script_setup_true_lang.js +10 -3
- package/es/list/style/index.css +5 -0
- package/es/list/style/index.d.ts +1 -0
- package/es/list/style/index.scss +6 -0
- package/es/menu/item.d.ts +1 -1
- package/es/modal/index.d.ts +5 -5
- package/es/modal/modal.vue.d.ts +2 -2
- package/es/progress/line.vue.d.ts +1 -1
- package/es/qr-code/index.d.ts +12 -12
- package/es/qr-code/qr-code.vue.d.ts +4 -4
- package/es/select/index.d.ts +5 -5
- package/es/select/select-dropdown.vue.d.ts +1 -1
- package/es/select/select.d.ts +2 -2
- package/es/select/select.js +4 -2
- package/es/select/style/index.d.ts +1 -0
- package/es/slider/index.d.ts +3 -3
- package/es/slider/slider.vue.d.ts +1 -1
- package/es/spin/index.d.ts +3 -3
- package/es/spin/spin.d.ts +1 -1
- package/es/statistic/index.d.ts +3 -3
- package/es/statistic/statistic.vue.d.ts +1 -1
- package/es/table/index.d.ts +13 -7
- package/es/table/style/index.css +4 -1
- package/es/table/style/index.scss +6 -1
- package/es/table/table-column.d.ts +1 -1
- package/es/table/table-td.d.ts +1 -1
- package/es/table/table.d.ts +3 -1
- package/es/table/table.js +66 -34
- package/es/tabs/index.d.ts +3 -3
- package/es/tabs/tabs.d.ts +1 -1
- package/es/tag/index.d.ts +6 -6
- package/es/tag/style/index.css +1 -1
- package/es/tag/style/index.scss +1 -1
- package/es/tag/tag.vue.d.ts +2 -2
- package/es/timeline/index.d.ts +6 -6
- package/es/timeline/timeline.d.ts +3 -3
- package/es/tree/base-node.vue.d.ts +4 -8
- package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +14 -16
- package/es/tree/tree.vue.d.ts +2 -2
- package/es/tree-select/tree-select.vue.d.ts +4 -4
- package/es/typography/base.d.ts +1 -1
- package/es/watermark/index.d.ts +3 -3
- package/es/watermark/watermark.d.ts +1 -1
- package/json/web-types.json +1 -1
- package/package.json +3 -3
- package/es/_components/virtual-list/use-virtual-size.js +0 -94
- package/es/_components/virtual-list-v2/hooks/use-size.d.ts +0 -17
- package/es/_components/virtual-list-v2/hooks/use-size.js +0 -95
- package/es/_components/virtual-list-v2/index.d.ts +0 -2
- package/es/_components/virtual-list-v2/index.js +0 -5
- package/es/_components/virtual-list-v2/interface.d.ts +0 -44
- package/es/_components/virtual-list-v2/virtual-list-item.d.ts +0 -22
- package/es/_components/virtual-list-v2/virtual-list-item.js +0 -37
- package/es/_components/virtual-list-v2/virtual-list.js +0 -47
- package/es/_components/virtual-list-v2/virtual-list.vue.d.ts +0 -749
- package/es/_components/virtual-list-v2/virtual-list.vue_vue_type_script_lang.js +0 -179
- package/es/_virtual/_plugin-vue_export-helper.js +0 -8
|
@@ -103,10 +103,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
103
103
|
}>, {
|
|
104
104
|
data: (string | number | SelectOptionData | SelectOptionGroup)[];
|
|
105
105
|
disabled: boolean;
|
|
106
|
-
strict: boolean;
|
|
107
106
|
defaultValue: string;
|
|
108
107
|
modelValue: string;
|
|
109
108
|
allowClear: boolean;
|
|
110
109
|
filterOption: FilterOption;
|
|
110
|
+
strict: boolean;
|
|
111
111
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
112
112
|
export default _default;
|
|
@@ -230,13 +230,15 @@ var auto_complete_default = /* @__PURE__ */ defineComponent({
|
|
|
230
230
|
onSelect: handleSelect,
|
|
231
231
|
onPopupVisibleChange: handlePopupVisibleChange
|
|
232
232
|
});
|
|
233
|
+
const ellipsisPrefixCls = getPrefixCls("ellipsis");
|
|
234
|
+
const renderOptionEllipsis = (label) => createVNode("span", { "class": [ellipsisPrefixCls, `${ellipsisPrefixCls}--single-line`] }, [createVNode("span", { "class": `${ellipsisPrefixCls}-content` }, [label])]);
|
|
233
235
|
const getOptionContentFunc = (item) => {
|
|
234
236
|
if (isFunction(slots.option) && item.value) {
|
|
235
237
|
const optionInfo = optionInfoMap.get(item.key);
|
|
236
238
|
const optionSlot = slots.option;
|
|
237
239
|
return () => optionSlot({ data: optionInfo });
|
|
238
240
|
}
|
|
239
|
-
return () => item.label;
|
|
241
|
+
return () => renderOptionEllipsis(item.label);
|
|
240
242
|
};
|
|
241
243
|
const optionPrefixCls = getPrefixCls("select-option");
|
|
242
244
|
const renderOption = (item) => {
|
|
@@ -74,11 +74,11 @@ declare const AutoComplete: {
|
|
|
74
74
|
}, import("vue").PublicProps, {
|
|
75
75
|
data: (string | number | SelectOptionData | SelectOptionGroup)[];
|
|
76
76
|
disabled: boolean;
|
|
77
|
-
strict: boolean;
|
|
78
77
|
defaultValue: string;
|
|
79
78
|
modelValue: string;
|
|
80
79
|
allowClear: boolean;
|
|
81
80
|
filterOption: FilterOption;
|
|
81
|
+
strict: boolean;
|
|
82
82
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
83
83
|
P: {};
|
|
84
84
|
B: {};
|
|
@@ -141,11 +141,11 @@ declare const AutoComplete: {
|
|
|
141
141
|
}, {
|
|
142
142
|
data: (string | number | SelectOptionData | SelectOptionGroup)[];
|
|
143
143
|
disabled: boolean;
|
|
144
|
-
strict: boolean;
|
|
145
144
|
defaultValue: string;
|
|
146
145
|
modelValue: string;
|
|
147
146
|
allowClear: boolean;
|
|
148
147
|
filterOption: FilterOption;
|
|
148
|
+
strict: boolean;
|
|
149
149
|
}>;
|
|
150
150
|
__isFragment?: never;
|
|
151
151
|
__isTeleport?: never;
|
|
@@ -213,11 +213,11 @@ declare const AutoComplete: {
|
|
|
213
213
|
}, string, {
|
|
214
214
|
data: (string | number | SelectOptionData | SelectOptionGroup)[];
|
|
215
215
|
disabled: boolean;
|
|
216
|
-
strict: boolean;
|
|
217
216
|
defaultValue: string;
|
|
218
217
|
modelValue: string;
|
|
219
218
|
allowClear: boolean;
|
|
220
219
|
filterOption: FilterOption;
|
|
220
|
+
strict: boolean;
|
|
221
221
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
222
222
|
install: (app: App, options?: SDOptions) => void;
|
|
223
223
|
};
|
package/es/card/card.d.ts
CHANGED
|
@@ -79,8 +79,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
79
79
|
default: boolean;
|
|
80
80
|
};
|
|
81
81
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
82
|
-
dot: boolean;
|
|
83
82
|
loading: boolean;
|
|
83
|
+
dot: boolean;
|
|
84
84
|
hideIcon: boolean;
|
|
85
85
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
86
86
|
P: {};
|
|
@@ -101,8 +101,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
101
101
|
default: boolean;
|
|
102
102
|
};
|
|
103
103
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
104
|
-
dot: boolean;
|
|
105
104
|
loading: boolean;
|
|
105
|
+
dot: boolean;
|
|
106
106
|
hideIcon: boolean;
|
|
107
107
|
}>;
|
|
108
108
|
__isFragment?: never;
|
|
@@ -120,8 +120,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
120
120
|
default: boolean;
|
|
121
121
|
};
|
|
122
122
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
123
|
-
dot: boolean;
|
|
124
123
|
loading: boolean;
|
|
124
|
+
dot: boolean;
|
|
125
125
|
hideIcon: boolean;
|
|
126
126
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
127
127
|
install: (app: import("vue").App, options?: import("../_utils/types").SDOptions) => void;
|
package/es/card/index.d.ts
CHANGED
|
@@ -54,8 +54,8 @@ declare const Card: {
|
|
|
54
54
|
default: boolean;
|
|
55
55
|
};
|
|
56
56
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
57
|
-
dot: boolean;
|
|
58
57
|
loading: boolean;
|
|
58
|
+
dot: boolean;
|
|
59
59
|
hideIcon: boolean;
|
|
60
60
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
61
61
|
P: {};
|
|
@@ -76,8 +76,8 @@ declare const Card: {
|
|
|
76
76
|
default: boolean;
|
|
77
77
|
};
|
|
78
78
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
79
|
-
dot: boolean;
|
|
80
79
|
loading: boolean;
|
|
80
|
+
dot: boolean;
|
|
81
81
|
hideIcon: boolean;
|
|
82
82
|
}>;
|
|
83
83
|
__isFragment?: never;
|
|
@@ -95,8 +95,8 @@ declare const Card: {
|
|
|
95
95
|
default: boolean;
|
|
96
96
|
};
|
|
97
97
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
98
|
-
dot: boolean;
|
|
99
98
|
loading: boolean;
|
|
99
|
+
dot: boolean;
|
|
100
100
|
hideIcon: boolean;
|
|
101
101
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
102
102
|
install: (app: App, options?: SDOptions) => void;
|
|
@@ -198,8 +198,8 @@ declare const Card: {
|
|
|
198
198
|
default: boolean;
|
|
199
199
|
};
|
|
200
200
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
201
|
-
dot: boolean;
|
|
202
201
|
loading: boolean;
|
|
202
|
+
dot: boolean;
|
|
203
203
|
hideIcon: boolean;
|
|
204
204
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
205
205
|
P: {};
|
|
@@ -220,8 +220,8 @@ declare const Card: {
|
|
|
220
220
|
default: boolean;
|
|
221
221
|
};
|
|
222
222
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
223
|
-
dot: boolean;
|
|
224
223
|
loading: boolean;
|
|
224
|
+
dot: boolean;
|
|
225
225
|
hideIcon: boolean;
|
|
226
226
|
}>;
|
|
227
227
|
__isFragment?: never;
|
|
@@ -239,8 +239,8 @@ declare const Card: {
|
|
|
239
239
|
default: boolean;
|
|
240
240
|
};
|
|
241
241
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
242
|
-
dot: boolean;
|
|
243
242
|
loading: boolean;
|
|
243
|
+
dot: boolean;
|
|
244
244
|
hideIcon: boolean;
|
|
245
245
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
246
246
|
install: (app: App, options?: SDOptions) => void;
|
|
@@ -44,8 +44,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
44
44
|
type: PropType<VirtualListProps>;
|
|
45
45
|
};
|
|
46
46
|
}>> & Readonly<{}>, {
|
|
47
|
-
multiple: boolean;
|
|
48
47
|
loading: boolean;
|
|
48
|
+
multiple: boolean;
|
|
49
49
|
checkStrictly: boolean;
|
|
50
50
|
dropdown: boolean;
|
|
51
51
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -22,8 +22,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
22
|
pathLabel: BooleanConstructor;
|
|
23
23
|
}>> & Readonly<{}>, {
|
|
24
24
|
multiple: boolean;
|
|
25
|
-
active: boolean;
|
|
26
25
|
checkStrictly: boolean;
|
|
26
|
+
active: boolean;
|
|
27
27
|
searchOption: boolean;
|
|
28
28
|
pathLabel: boolean;
|
|
29
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -2,12 +2,16 @@ import { getPrefixCls } from "../_utils/global-config.js";
|
|
|
2
2
|
import { isFunction } from "../_utils/is.js";
|
|
3
3
|
import IconLoading from "../icon/icon-loading/index.js";
|
|
4
4
|
import IconRight from "../icon/icon-right/index.js";
|
|
5
|
+
import { PerformantEllipsis } from "../ellipsis/index.js";
|
|
5
6
|
import Checkbox from "../checkbox/index.js";
|
|
6
7
|
import Radio from "../radio/index.js";
|
|
7
8
|
import { cascaderInjectionKey } from "./context.js";
|
|
8
9
|
import { getCheckedStatus, getOptionLabel } from "./utils.js";
|
|
9
|
-
import { computed, createVNode, defineComponent, inject, mergeProps, ref } from "vue";
|
|
10
|
+
import { computed, createVNode, defineComponent, inject, isVNode, mergeProps, ref } from "vue";
|
|
10
11
|
//#region components/cascader/cascader-option.tsx
|
|
12
|
+
function _isSlot(s) {
|
|
13
|
+
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
14
|
+
}
|
|
11
15
|
var cascader_option_default = /* @__PURE__ */ defineComponent({
|
|
12
16
|
name: "CascaderOption",
|
|
13
17
|
props: {
|
|
@@ -82,10 +86,11 @@ var cascader_option_default = /* @__PURE__ */ defineComponent({
|
|
|
82
86
|
var _cascaderCtx$slots;
|
|
83
87
|
if (props.pathLabel) {
|
|
84
88
|
var _cascaderCtx$formatLa, _cascaderCtx$formatLa2;
|
|
85
|
-
|
|
89
|
+
const label = (_cascaderCtx$formatLa = cascaderCtx === null || cascaderCtx === void 0 || (_cascaderCtx$formatLa2 = cascaderCtx.formatLabel) === null || _cascaderCtx$formatLa2 === void 0 ? void 0 : _cascaderCtx$formatLa2.call(cascaderCtx, props.option.path.map((item) => item.raw))) !== null && _cascaderCtx$formatLa !== void 0 ? _cascaderCtx$formatLa : getOptionLabel(props.option, { separator: cascaderCtx.separator });
|
|
90
|
+
return createVNode(PerformantEllipsis, null, _isSlot(label) ? label : { default: () => [label] });
|
|
86
91
|
}
|
|
87
92
|
if ((_cascaderCtx$slots = cascaderCtx.slots) === null || _cascaderCtx$slots === void 0 ? void 0 : _cascaderCtx$slots.option) return cascaderCtx.slots.option({ data: props.option });
|
|
88
|
-
return props.option.label;
|
|
93
|
+
return createVNode(PerformantEllipsis, null, { default: () => [props.option.label] });
|
|
89
94
|
};
|
|
90
95
|
const renderIcon = () => {
|
|
91
96
|
if (isLoading.value) return createVNode(IconLoading, null, null);
|
|
@@ -14,8 +14,8 @@ declare const __VLS_base: import("vue").DefineComponent<CascaderPanelProps, {},
|
|
|
14
14
|
"onUpdate:value"?: ((value: CascaderModelValue) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
options: CascaderOption[];
|
|
17
|
-
multiple: boolean;
|
|
18
17
|
valueKey: string;
|
|
18
|
+
multiple: boolean;
|
|
19
19
|
expandTrigger: import("./types").CascaderExpandTrigger;
|
|
20
20
|
checkStrictly: boolean;
|
|
21
21
|
pathMode: boolean;
|
|
@@ -21,8 +21,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
21
|
checkStrictly: BooleanConstructor;
|
|
22
22
|
pathLabel: BooleanConstructor;
|
|
23
23
|
}>> & Readonly<{}>, {
|
|
24
|
-
multiple: boolean;
|
|
25
24
|
loading: boolean;
|
|
25
|
+
multiple: boolean;
|
|
26
26
|
checkStrictly: boolean;
|
|
27
27
|
pathLabel: boolean;
|
|
28
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -47,14 +47,14 @@ declare const __VLS_base: import("vue").DefineComponent<CascaderProps, {}, {}, {
|
|
|
47
47
|
error: boolean;
|
|
48
48
|
defaultPopupVisible: boolean;
|
|
49
49
|
disabled: boolean;
|
|
50
|
-
separator: string;
|
|
51
|
-
multiple: boolean;
|
|
52
50
|
allowClear: boolean;
|
|
53
51
|
loading: boolean;
|
|
54
52
|
valueKey: string;
|
|
53
|
+
multiple: boolean;
|
|
55
54
|
expandTrigger: import("./types").CascaderExpandTrigger;
|
|
56
55
|
checkStrictly: boolean;
|
|
57
56
|
pathMode: boolean;
|
|
57
|
+
separator: string;
|
|
58
58
|
showPath: boolean;
|
|
59
59
|
expandChild: boolean;
|
|
60
60
|
defaultInputValue: string;
|
|
@@ -234,9 +234,12 @@
|
|
|
234
234
|
cursor: pointer;
|
|
235
235
|
}
|
|
236
236
|
.sd-cascader-option-label, .sd-cascader-search-option-label {
|
|
237
|
-
flex
|
|
237
|
+
flex: 1 1 0;
|
|
238
|
+
box-sizing: border-box;
|
|
239
|
+
min-width: 0;
|
|
238
240
|
padding-right: 34px;
|
|
239
241
|
padding-left: 12px;
|
|
242
|
+
overflow: hidden;
|
|
240
243
|
}
|
|
241
244
|
.sd-cascader-option .sd-icon-right,
|
|
242
245
|
.sd-cascader-option .sd-icon-check, .sd-cascader-search-option .sd-icon-right,
|
|
@@ -140,10 +140,13 @@ $cascader-prefix-cls: string.unquote('#{theme.$prefix}-cascader');
|
|
|
140
140
|
cursor: pointer;
|
|
141
141
|
|
|
142
142
|
&-label {
|
|
143
|
-
flex
|
|
143
|
+
flex: 1 1 0;
|
|
144
|
+
box-sizing: border-box;
|
|
145
|
+
min-width: 0;
|
|
144
146
|
padding-right: $cascader-padding-item-right + $cascader-size-item-icon +
|
|
145
147
|
$cascader-margin-item-icon-left;
|
|
146
148
|
padding-left: $cascader-padding-item-left;
|
|
149
|
+
overflow: hidden;
|
|
147
150
|
}
|
|
148
151
|
|
|
149
152
|
.#{theme.$prefix}-icon-right,
|
|
@@ -146,9 +146,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
146
146
|
updateAtScroll: boolean;
|
|
147
147
|
scrollToClose: boolean;
|
|
148
148
|
prefixCls: string;
|
|
149
|
-
rtl: boolean;
|
|
150
149
|
allowClear: boolean;
|
|
151
150
|
allowSearch: boolean;
|
|
151
|
+
rtl: boolean;
|
|
152
152
|
exchangeTime: boolean;
|
|
153
153
|
global: boolean;
|
|
154
154
|
autoInsertSpaceInButton: boolean;
|
|
@@ -73,9 +73,9 @@ declare const ConfigProvider: {
|
|
|
73
73
|
updateAtScroll: boolean;
|
|
74
74
|
scrollToClose: boolean;
|
|
75
75
|
prefixCls: string;
|
|
76
|
-
rtl: boolean;
|
|
77
76
|
allowClear: boolean;
|
|
78
77
|
allowSearch: boolean;
|
|
78
|
+
rtl: boolean;
|
|
79
79
|
exchangeTime: boolean;
|
|
80
80
|
global: boolean;
|
|
81
81
|
autoInsertSpaceInButton: boolean;
|
|
@@ -157,9 +157,9 @@ declare const ConfigProvider: {
|
|
|
157
157
|
updateAtScroll: boolean;
|
|
158
158
|
scrollToClose: boolean;
|
|
159
159
|
prefixCls: string;
|
|
160
|
-
rtl: boolean;
|
|
161
160
|
allowClear: boolean;
|
|
162
161
|
allowSearch: boolean;
|
|
162
|
+
rtl: boolean;
|
|
163
163
|
exchangeTime: boolean;
|
|
164
164
|
global: boolean;
|
|
165
165
|
autoInsertSpaceInButton: boolean;
|
|
@@ -238,9 +238,9 @@ declare const ConfigProvider: {
|
|
|
238
238
|
updateAtScroll: boolean;
|
|
239
239
|
scrollToClose: boolean;
|
|
240
240
|
prefixCls: string;
|
|
241
|
-
rtl: boolean;
|
|
242
241
|
allowClear: boolean;
|
|
243
242
|
allowSearch: boolean;
|
|
243
|
+
rtl: boolean;
|
|
244
244
|
exchangeTime: boolean;
|
|
245
245
|
global: boolean;
|
|
246
246
|
autoInsertSpaceInButton: boolean;
|
|
@@ -80,10 +80,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
80
80
|
};
|
|
81
81
|
}>> & Readonly<{}>, {
|
|
82
82
|
data: DescData[];
|
|
83
|
-
column: number | ResponsiveValue;
|
|
84
|
-
layout: "horizontal" | "vertical" | "inline-horizontal" | "inline-vertical";
|
|
85
83
|
bordered: boolean;
|
|
84
|
+
column: number | ResponsiveValue;
|
|
86
85
|
tableLayout: "fixed" | "auto";
|
|
86
|
+
layout: "horizontal" | "vertical" | "inline-horizontal" | "inline-vertical";
|
|
87
87
|
align: "left" | "right" | "center" | {
|
|
88
88
|
label?: TextAlign;
|
|
89
89
|
value?: TextAlign;
|
|
@@ -43,10 +43,10 @@ declare const Descriptions: {
|
|
|
43
43
|
};
|
|
44
44
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
45
45
|
data: import("./interface").DescData[];
|
|
46
|
-
column: number | import("../index.ts").ResponsiveValue;
|
|
47
|
-
layout: "horizontal" | "vertical" | "inline-horizontal" | "inline-vertical";
|
|
48
46
|
bordered: boolean;
|
|
47
|
+
column: number | import("../index.ts").ResponsiveValue;
|
|
49
48
|
tableLayout: "fixed" | "auto";
|
|
49
|
+
layout: "horizontal" | "vertical" | "inline-horizontal" | "inline-vertical";
|
|
50
50
|
align: "left" | "right" | "center" | {
|
|
51
51
|
label?: import("../_utils/constant.ts").TextAlign;
|
|
52
52
|
value?: import("../_utils/constant.ts").TextAlign;
|
|
@@ -98,10 +98,10 @@ declare const Descriptions: {
|
|
|
98
98
|
};
|
|
99
99
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
100
100
|
data: import("./interface").DescData[];
|
|
101
|
-
column: number | import("../index.ts").ResponsiveValue;
|
|
102
|
-
layout: "horizontal" | "vertical" | "inline-horizontal" | "inline-vertical";
|
|
103
101
|
bordered: boolean;
|
|
102
|
+
column: number | import("../index.ts").ResponsiveValue;
|
|
104
103
|
tableLayout: "fixed" | "auto";
|
|
104
|
+
layout: "horizontal" | "vertical" | "inline-horizontal" | "inline-vertical";
|
|
105
105
|
align: "left" | "right" | "center" | {
|
|
106
106
|
label?: import("../_utils/constant.ts").TextAlign;
|
|
107
107
|
value?: import("../_utils/constant.ts").TextAlign;
|
|
@@ -150,10 +150,10 @@ declare const Descriptions: {
|
|
|
150
150
|
};
|
|
151
151
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
152
152
|
data: import("./interface").DescData[];
|
|
153
|
-
column: number | import("../index.ts").ResponsiveValue;
|
|
154
|
-
layout: "horizontal" | "vertical" | "inline-horizontal" | "inline-vertical";
|
|
155
153
|
bordered: boolean;
|
|
154
|
+
column: number | import("../index.ts").ResponsiveValue;
|
|
156
155
|
tableLayout: "fixed" | "auto";
|
|
156
|
+
layout: "horizontal" | "vertical" | "inline-horizontal" | "inline-vertical";
|
|
157
157
|
align: "left" | "right" | "center" | {
|
|
158
158
|
label?: import("../_utils/constant.ts").TextAlign;
|
|
159
159
|
value?: import("../_utils/constant.ts").TextAlign;
|
|
@@ -106,8 +106,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
106
106
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
107
107
|
cancel: (_e: Event) => any;
|
|
108
108
|
close: () => any;
|
|
109
|
-
open: () => any;
|
|
110
109
|
"update:visible": (_visible: boolean) => any;
|
|
110
|
+
open: () => any;
|
|
111
111
|
ok: (_e: Event) => any;
|
|
112
112
|
beforeOpen: () => any;
|
|
113
113
|
beforeClose: () => any;
|
|
@@ -205,8 +205,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
205
205
|
}>> & Readonly<{
|
|
206
206
|
onCancel?: ((_e: Event) => any) | undefined;
|
|
207
207
|
onClose?: (() => any) | undefined;
|
|
208
|
-
onOpen?: (() => any) | undefined;
|
|
209
208
|
"onUpdate:visible"?: ((_visible: boolean) => any) | undefined;
|
|
209
|
+
onOpen?: (() => any) | undefined;
|
|
210
210
|
onOk?: ((_e: Event) => any) | undefined;
|
|
211
211
|
onBeforeOpen?: (() => any) | undefined;
|
|
212
212
|
onBeforeClose?: (() => any) | undefined;
|
package/es/drawer/index.d.ts
CHANGED
|
@@ -97,16 +97,16 @@ declare const Drawer: {
|
|
|
97
97
|
}>> & Readonly<{
|
|
98
98
|
onCancel?: ((_e: Event) => any) | undefined;
|
|
99
99
|
onClose?: (() => any) | undefined;
|
|
100
|
-
onOpen?: (() => any) | undefined;
|
|
101
100
|
"onUpdate:visible"?: ((_visible: boolean) => any) | undefined;
|
|
101
|
+
onOpen?: (() => any) | undefined;
|
|
102
102
|
onOk?: ((_e: Event) => any) | undefined;
|
|
103
103
|
onBeforeOpen?: (() => any) | undefined;
|
|
104
104
|
onBeforeClose?: (() => any) | undefined;
|
|
105
105
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
106
106
|
cancel: (_e: Event) => any;
|
|
107
107
|
close: () => any;
|
|
108
|
-
open: () => any;
|
|
109
108
|
"update:visible": (_visible: boolean) => any;
|
|
109
|
+
open: () => any;
|
|
110
110
|
ok: (_e: Event) => any;
|
|
111
111
|
beforeOpen: () => any;
|
|
112
112
|
beforeClose: () => any;
|
|
@@ -229,8 +229,8 @@ declare const Drawer: {
|
|
|
229
229
|
}>> & Readonly<{
|
|
230
230
|
onCancel?: ((_e: Event) => any) | undefined;
|
|
231
231
|
onClose?: (() => any) | undefined;
|
|
232
|
-
onOpen?: (() => any) | undefined;
|
|
233
232
|
"onUpdate:visible"?: ((_visible: boolean) => any) | undefined;
|
|
233
|
+
onOpen?: (() => any) | undefined;
|
|
234
234
|
onOk?: ((_e: Event) => any) | undefined;
|
|
235
235
|
onBeforeOpen?: (() => any) | undefined;
|
|
236
236
|
onBeforeClose?: (() => any) | undefined;
|
|
@@ -350,16 +350,16 @@ declare const Drawer: {
|
|
|
350
350
|
}>> & Readonly<{
|
|
351
351
|
onCancel?: ((_e: Event) => any) | undefined;
|
|
352
352
|
onClose?: (() => any) | undefined;
|
|
353
|
-
onOpen?: (() => any) | undefined;
|
|
354
353
|
"onUpdate:visible"?: ((_visible: boolean) => any) | undefined;
|
|
354
|
+
onOpen?: (() => any) | undefined;
|
|
355
355
|
onOk?: ((_e: Event) => any) | undefined;
|
|
356
356
|
onBeforeOpen?: (() => any) | undefined;
|
|
357
357
|
onBeforeClose?: (() => any) | undefined;
|
|
358
358
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
359
359
|
cancel: (_e: Event) => any;
|
|
360
360
|
close: () => any;
|
|
361
|
-
open: () => any;
|
|
362
361
|
"update:visible": (_visible: boolean) => any;
|
|
362
|
+
open: () => any;
|
|
363
363
|
ok: (_e: Event) => any;
|
|
364
364
|
beforeOpen: () => any;
|
|
365
365
|
beforeClose: () => any;
|
|
@@ -53,9 +53,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
53
53
|
onScroll?: ((_e: Event) => any) | undefined;
|
|
54
54
|
onReachBottom?: ((_e: Event) => any) | undefined;
|
|
55
55
|
}>, {
|
|
56
|
+
isEmpty: boolean;
|
|
56
57
|
loading: boolean;
|
|
57
58
|
bottomOffset: number;
|
|
58
|
-
isEmpty: boolean;
|
|
59
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
60
60
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
61
61
|
declare const _default: typeof __VLS_export;
|
|
@@ -41,9 +41,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
41
41
|
default: boolean;
|
|
42
42
|
};
|
|
43
43
|
}>> & Readonly<{}>, {
|
|
44
|
-
tooltip: boolean | EllipsisTooltipProps;
|
|
45
44
|
lineClamp: string | number;
|
|
46
45
|
expandTrigger: "click";
|
|
46
|
+
tooltip: boolean | EllipsisTooltipProps;
|
|
47
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
48
48
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
49
49
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isObject } from "../_utils/is.js";
|
|
4
|
+
import { _objectWithoutProperties } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectWithoutProperties.js";
|
|
4
5
|
import { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/asyncToGenerator.js";
|
|
5
6
|
import resize_observer_v2_default from "../_components/resize-observer-v2.js";
|
|
6
|
-
import { _objectWithoutProperties } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectWithoutProperties.js";
|
|
7
7
|
import Tooltip from "../tooltip/index.js";
|
|
8
8
|
import { computed, createBlock, createElementBlock, defineComponent, mergeProps, nextTick, normalizeClass, onMounted, onUpdated, openBlock, ref, renderSlot, resolveDynamicComponent, unref, watch, withCtx } from "vue";
|
|
9
9
|
//#region components/ellipsis/ellipsis.vue?vue&type=script&setup=true&lang.ts
|
package/es/ellipsis/index.d.ts
CHANGED
|
@@ -19,9 +19,9 @@ declare const Ellipsis: {
|
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
21
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
22
|
-
tooltip: boolean | EllipsisTooltipProps;
|
|
23
22
|
lineClamp: string | number;
|
|
24
23
|
expandTrigger: "click";
|
|
24
|
+
tooltip: boolean | EllipsisTooltipProps;
|
|
25
25
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
26
26
|
P: {};
|
|
27
27
|
B: {};
|
|
@@ -43,9 +43,9 @@ declare const Ellipsis: {
|
|
|
43
43
|
default: boolean;
|
|
44
44
|
};
|
|
45
45
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
46
|
-
tooltip: boolean | EllipsisTooltipProps;
|
|
47
46
|
lineClamp: string | number;
|
|
48
47
|
expandTrigger: "click";
|
|
48
|
+
tooltip: boolean | EllipsisTooltipProps;
|
|
49
49
|
}>;
|
|
50
50
|
__isFragment?: never;
|
|
51
51
|
__isTeleport?: never;
|
|
@@ -64,9 +64,9 @@ declare const Ellipsis: {
|
|
|
64
64
|
default: boolean;
|
|
65
65
|
};
|
|
66
66
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
67
|
-
tooltip: boolean | EllipsisTooltipProps;
|
|
68
67
|
lineClamp: string | number;
|
|
69
68
|
expandTrigger: "click";
|
|
69
|
+
tooltip: boolean | EllipsisTooltipProps;
|
|
70
70
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
71
71
|
$slots: {
|
|
72
72
|
default?: (props: {}) => any;
|
|
@@ -99,9 +99,9 @@ export declare const PerformantEllipsis: {
|
|
|
99
99
|
default: boolean;
|
|
100
100
|
};
|
|
101
101
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
102
|
-
tooltip: boolean | EllipsisTooltipProps;
|
|
103
102
|
lineClamp: string | number;
|
|
104
103
|
expandTrigger: "click";
|
|
104
|
+
tooltip: boolean | EllipsisTooltipProps;
|
|
105
105
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
106
106
|
P: {};
|
|
107
107
|
B: {};
|
|
@@ -123,9 +123,9 @@ export declare const PerformantEllipsis: {
|
|
|
123
123
|
default: boolean;
|
|
124
124
|
};
|
|
125
125
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
126
|
-
tooltip: boolean | EllipsisTooltipProps;
|
|
127
126
|
lineClamp: string | number;
|
|
128
127
|
expandTrigger: "click";
|
|
128
|
+
tooltip: boolean | EllipsisTooltipProps;
|
|
129
129
|
}>;
|
|
130
130
|
__isFragment?: never;
|
|
131
131
|
__isTeleport?: never;
|
|
@@ -144,9 +144,9 @@ export declare const PerformantEllipsis: {
|
|
|
144
144
|
default: boolean;
|
|
145
145
|
};
|
|
146
146
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
147
|
-
tooltip: boolean | EllipsisTooltipProps;
|
|
148
147
|
lineClamp: string | number;
|
|
149
148
|
expandTrigger: "click";
|
|
149
|
+
tooltip: boolean | EllipsisTooltipProps;
|
|
150
150
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
151
151
|
$slots: {
|
|
152
152
|
default?: (props: {}) => any;
|
|
@@ -37,9 +37,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
37
37
|
default: boolean;
|
|
38
38
|
};
|
|
39
39
|
}>> & Readonly<{}>, {
|
|
40
|
-
tooltip: boolean | EllipsisTooltipProps;
|
|
41
40
|
lineClamp: string | number;
|
|
42
41
|
expandTrigger: "click";
|
|
42
|
+
tooltip: boolean | EllipsisTooltipProps;
|
|
43
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
44
44
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
45
45
|
declare const _default: typeof __VLS_export;
|
|
@@ -104,9 +104,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
104
104
|
}>, {
|
|
105
105
|
visible: boolean;
|
|
106
106
|
renderToBody: boolean;
|
|
107
|
-
infinite: boolean;
|
|
108
107
|
defaultVisible: boolean;
|
|
109
108
|
closable: boolean;
|
|
109
|
+
infinite: boolean;
|
|
110
110
|
defaultCurrent: number;
|
|
111
111
|
maskClosable: boolean;
|
|
112
112
|
actionsLayout: string[];
|