x-next 1.18.2 → 1.19.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.
- package/AI_USAGE/catalog.md +3 -2
- package/AI_USAGE/components/alert-api.md +1 -1
- package/AI_USAGE/components/alert.md +1 -1
- package/AI_USAGE/components/bar-chart-api.md +1 -1
- package/AI_USAGE/components/bar-chart.md +1 -1
- package/AI_USAGE/components/boxicons.md +1 -1
- package/AI_USAGE/components/button-api.md +1 -1
- package/AI_USAGE/components/button.md +1 -1
- package/AI_USAGE/components/charts.md +1 -1
- package/AI_USAGE/components/checkbox-api.md +1 -1
- package/AI_USAGE/components/checkbox.md +1 -1
- package/AI_USAGE/components/color-picker-api.md +1 -1
- package/AI_USAGE/components/color-picker.md +1 -1
- package/AI_USAGE/components/config-provider-api.md +1 -1
- package/AI_USAGE/components/config-provider.md +1 -1
- package/AI_USAGE/components/date-picker-api.md +1 -1
- package/AI_USAGE/components/date-picker.md +1 -1
- package/AI_USAGE/components/dialog-api.md +1 -1
- package/AI_USAGE/components/dialog.md +1 -1
- package/AI_USAGE/components/draggable-api.md +1 -1
- package/AI_USAGE/components/draggable.md +1 -1
- package/AI_USAGE/components/drawer-api.md +1 -1
- package/AI_USAGE/components/drawer.md +1 -1
- package/AI_USAGE/components/dropdown-api.md +1 -1
- package/AI_USAGE/components/dropdown.md +1 -1
- package/AI_USAGE/components/empty-api.md +1 -1
- package/AI_USAGE/components/empty.md +1 -1
- package/AI_USAGE/components/finicon.md +1 -1
- package/AI_USAGE/components/form-api.md +1 -1
- package/AI_USAGE/components/form.md +1 -1
- package/AI_USAGE/components/grid-api.md +1 -1
- package/AI_USAGE/components/grid.md +1 -1
- package/AI_USAGE/components/heatmap-api.md +1 -1
- package/AI_USAGE/components/heatmap.md +1 -1
- package/AI_USAGE/components/icon-api.md +1 -1
- package/AI_USAGE/components/icon.md +1 -1
- package/AI_USAGE/components/image-api.md +1 -1
- package/AI_USAGE/components/image.md +1 -1
- package/AI_USAGE/components/input-api.md +1 -1
- package/AI_USAGE/components/input-number-api.md +1 -1
- package/AI_USAGE/components/input-number.md +1 -1
- package/AI_USAGE/components/input-tag-api.md +1 -1
- package/AI_USAGE/components/input-tag.md +1 -1
- package/AI_USAGE/components/input.md +1 -1
- package/AI_USAGE/components/layout-api.md +1 -1
- package/AI_USAGE/components/layout.md +1 -1
- package/AI_USAGE/components/line-chart-api.md +1 -1
- package/AI_USAGE/components/line-chart.md +1 -1
- package/AI_USAGE/components/link-api.md +1 -1
- package/AI_USAGE/components/link.md +1 -1
- package/AI_USAGE/components/menu-api.md +1 -1
- package/AI_USAGE/components/menu.md +1 -1
- package/AI_USAGE/components/message-api.md +1 -1
- package/AI_USAGE/components/message-box-api.md +1 -1
- package/AI_USAGE/components/message-box.md +1 -1
- package/AI_USAGE/components/message.md +1 -1
- package/AI_USAGE/components/network-api.md +1 -1
- package/AI_USAGE/components/network.md +1 -1
- package/AI_USAGE/components/notification-api.md +1 -1
- package/AI_USAGE/components/notification.md +1 -1
- package/AI_USAGE/components/pagination-api.md +1 -1
- package/AI_USAGE/components/pagination.md +3 -1
- package/AI_USAGE/components/pie-chart-api.md +1 -1
- package/AI_USAGE/components/pie-chart.md +1 -1
- package/AI_USAGE/components/popconfirm-api.md +1 -1
- package/AI_USAGE/components/popconfirm.md +1 -1
- package/AI_USAGE/components/popover-api.md +1 -1
- package/AI_USAGE/components/popover.md +1 -1
- package/AI_USAGE/components/popup-api.md +1 -1
- package/AI_USAGE/components/popup.md +1 -1
- package/AI_USAGE/components/progress-api.md +1 -1
- package/AI_USAGE/components/progress.md +1 -1
- package/AI_USAGE/components/radio-api.md +1 -1
- package/AI_USAGE/components/radio.md +1 -1
- package/AI_USAGE/components/rate-api.md +1 -1
- package/AI_USAGE/components/rate.md +1 -1
- package/AI_USAGE/components/resize-box-api.md +1 -1
- package/AI_USAGE/components/resize-box.md +1 -1
- package/AI_USAGE/components/scrollbar-api.md +1 -1
- package/AI_USAGE/components/scrollbar.md +1 -1
- package/AI_USAGE/components/select-api.md +1 -1
- package/AI_USAGE/components/select.md +3 -1
- package/AI_USAGE/components/skeleton-api.md +1 -1
- package/AI_USAGE/components/skeleton.md +1 -1
- package/AI_USAGE/components/slider-api.md +1 -1
- package/AI_USAGE/components/slider.md +1 -1
- package/AI_USAGE/components/space-api.md +1 -1
- package/AI_USAGE/components/space.md +1 -1
- package/AI_USAGE/components/spin-api.md +1 -1
- package/AI_USAGE/components/spin.md +1 -1
- package/AI_USAGE/components/steps-api.md +1 -1
- package/AI_USAGE/components/steps.md +1 -1
- package/AI_USAGE/components/switch-api.md +1 -1
- package/AI_USAGE/components/switch.md +1 -1
- package/AI_USAGE/components/table-api.md +1 -1
- package/AI_USAGE/components/table.md +1 -1
- package/AI_USAGE/components/tabs-api.md +1 -1
- package/AI_USAGE/components/tabs.md +1 -1
- package/AI_USAGE/components/tag-api.md +1 -1
- package/AI_USAGE/components/tag.md +1 -1
- package/AI_USAGE/components/textarea-api.md +1 -1
- package/AI_USAGE/components/textarea.md +1 -1
- package/AI_USAGE/components/time-picker-api.md +1 -1
- package/AI_USAGE/components/time-picker.md +1 -1
- package/AI_USAGE/components/time-range-selector-api.md +1 -1
- package/AI_USAGE/components/time-range-selector.md +1 -1
- package/AI_USAGE/components/timeline-api.md +1 -1
- package/AI_USAGE/components/timeline.md +1 -1
- package/AI_USAGE/components/tooltip-api.md +1 -1
- package/AI_USAGE/components/tooltip.md +1 -1
- package/AI_USAGE/components/transfer-api.md +1 -1
- package/AI_USAGE/components/transfer.md +1 -1
- package/AI_USAGE/components/tree-select-api.md +1 -1
- package/AI_USAGE/components/tree-select.md +1 -1
- package/AI_USAGE/components/trend-chart-api.md +1 -1
- package/AI_USAGE/components/trend-chart.md +1 -1
- package/AI_USAGE/components/trigger-api.md +1 -1
- package/AI_USAGE/components/trigger.md +1 -1
- package/AI_USAGE/components/upload-api.md +1 -1
- package/AI_USAGE/components/upload.md +1 -1
- package/AI_USAGE/components/virtual-list-api.md +135 -0
- package/AI_USAGE/components/virtual-list.md +62 -0
- package/AI_USAGE/components/watermark-api.md +1 -1
- package/AI_USAGE/components/watermark.md +1 -1
- package/AI_USAGE/core.md +1 -1
- package/AI_USAGE/index.md +3 -2
- package/AI_USAGE/recipes/form-on-demand.md +1 -1
- package/AI_USAGE.md +184 -3
- package/CHANGELOG.md +29 -0
- package/dist/components/form-select/index.d.ts +3 -3
- package/dist/components/index.d.ts +1 -0
- package/dist/components/pagination/page-options.vue.d.ts +3 -3
- package/dist/components/table/index.d.ts +3 -3
- package/dist/components/transfer/index.d.ts +3 -3
- package/dist/components/tree-select/index.d.ts +3 -3
- package/dist/components/virtual-list-v2/index.d.ts +1052 -2
- package/dist/components/virtual-list-v2/interface.d.ts +6 -0
- package/dist/components/virtual-list-v2/virtual-list.vue.d.ts +32 -1
- package/dist/es/components/_components/input-label/input-label.js +26 -25
- package/dist/es/components/form-select/Select.js +1 -1
- package/dist/es/components/form-select/SelectDropdown.vue.js +34 -32
- package/dist/es/components/index.js +85 -83
- package/dist/es/components/resize-box/ResizeBox.vue2.js +84 -81
- package/dist/es/components/table/Table.js +1 -1
- package/dist/es/components/transfer/transfer-panel.js +1 -1
- package/dist/es/components/tree-select/TreeSelect.js +1 -1
- package/dist/es/components/virtual-list-v2/index.js +6 -2
- package/dist/es/components/virtual-list-v2/virtual-list.vue.js +18 -17
- package/dist/es/components/virtual-list-v2/virtual-list.vue2.js +97 -70
- package/dist/es/index.js +55 -53
- package/dist/es/style.css +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.umd.js +3 -3
- package/dist/style/base.css +1 -1
- package/dist/style/form-select.css +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +1 -0
- package/package.json +5 -5
- package/volar.d.ts +1 -0
|
@@ -55,6 +55,12 @@ export interface VirtualListProps {
|
|
|
55
55
|
component?: keyof HTMLElementTagNameMap;
|
|
56
56
|
/** 使用库内滚动条;独立 VirtualList 默认 false,Select 会传入自己的配置。 */
|
|
57
57
|
scrollbar?: boolean | ScrollbarProps;
|
|
58
|
+
/** 数据重排/展开时保持像素位置;调用方可按稳定 key 恢复更精确的锚点。 */
|
|
59
|
+
preserveScroll?: boolean;
|
|
60
|
+
/** 仅 fixedSize 生效;传入数组启用定位行,指定键在视口外仍保持同一 DOM。 */
|
|
61
|
+
pinnedKeys?: VirtualItemKey[];
|
|
62
|
+
listAttrs?: Record<string, unknown>;
|
|
63
|
+
contentAttrs?: Record<string, unknown>;
|
|
58
64
|
}
|
|
59
65
|
export type ScrollOptions = number | {
|
|
60
66
|
index?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { ScrollOptions } from './interface';
|
|
2
|
+
import { ScrollOptions, VirtualItemKey } from './interface';
|
|
3
3
|
import { ScrollbarProps } from '../scrollbar-v2';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
5
|
height: {
|
|
@@ -48,6 +48,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
48
48
|
type: PropType<boolean | ScrollbarProps>;
|
|
49
49
|
default: boolean;
|
|
50
50
|
};
|
|
51
|
+
preserveScroll: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
pinnedKeys: {
|
|
56
|
+
type: PropType<VirtualItemKey[]>;
|
|
57
|
+
default: undefined;
|
|
58
|
+
};
|
|
51
59
|
}>, {
|
|
52
60
|
className: {
|
|
53
61
|
block: string;
|
|
@@ -62,6 +70,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
62
70
|
contentRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
63
71
|
frontPadding: import('vue').ComputedRef<number>;
|
|
64
72
|
currentList: import('vue').ComputedRef<Record<string, any>[]>;
|
|
73
|
+
positioned: import('vue').ComputedRef<boolean>;
|
|
74
|
+
renderedItems: import('vue').ComputedRef<{
|
|
75
|
+
item: Record<string, any>;
|
|
76
|
+
index: number;
|
|
77
|
+
}[]>;
|
|
65
78
|
behindPadding: import('vue').ComputedRef<number>;
|
|
66
79
|
onScroll: (ev: Event) => void;
|
|
67
80
|
setItemSize: (key: string | number, size: number) => void;
|
|
@@ -80,6 +93,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
80
93
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
81
94
|
scroll: (ev: Event) => true;
|
|
82
95
|
reachBottom: (ev: Event) => true;
|
|
96
|
+
rangeChange: (range: {
|
|
97
|
+
start: number;
|
|
98
|
+
end: number;
|
|
99
|
+
}) => true;
|
|
83
100
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
84
101
|
height: {
|
|
85
102
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -127,9 +144,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
127
144
|
type: PropType<boolean | ScrollbarProps>;
|
|
128
145
|
default: boolean;
|
|
129
146
|
};
|
|
147
|
+
preserveScroll: {
|
|
148
|
+
type: BooleanConstructor;
|
|
149
|
+
default: boolean;
|
|
150
|
+
};
|
|
151
|
+
pinnedKeys: {
|
|
152
|
+
type: PropType<VirtualItemKey[]>;
|
|
153
|
+
default: undefined;
|
|
154
|
+
};
|
|
130
155
|
}>> & Readonly<{
|
|
131
156
|
onScroll?: ((ev: Event) => any) | undefined;
|
|
132
157
|
onReachBottom?: ((ev: Event) => any) | undefined;
|
|
158
|
+
onRangeChange?: ((range: {
|
|
159
|
+
start: number;
|
|
160
|
+
end: number;
|
|
161
|
+
}) => any) | undefined;
|
|
133
162
|
}>, {
|
|
134
163
|
data: Record<string, any>[];
|
|
135
164
|
component: string | Record<string, any>;
|
|
@@ -141,6 +170,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
141
170
|
threshold: number;
|
|
142
171
|
itemKey: string;
|
|
143
172
|
paddingPosition: string;
|
|
173
|
+
preserveScroll: boolean;
|
|
174
|
+
pinnedKeys: VirtualItemKey[];
|
|
144
175
|
}, {}, {
|
|
145
176
|
VirtualListItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
146
177
|
hasItemSize: {
|
|
@@ -39,30 +39,30 @@ const ae = /* @__PURE__ */ K({
|
|
|
39
39
|
},
|
|
40
40
|
setup(e, {
|
|
41
41
|
attrs: o,
|
|
42
|
-
emit:
|
|
42
|
+
emit: s,
|
|
43
43
|
slots: t
|
|
44
44
|
}) {
|
|
45
45
|
const {
|
|
46
46
|
size: g,
|
|
47
|
-
disabled:
|
|
48
|
-
error:
|
|
49
|
-
inputValue:
|
|
47
|
+
disabled: x,
|
|
48
|
+
error: B,
|
|
49
|
+
inputValue: C,
|
|
50
50
|
uninjectFormItemContext: r
|
|
51
51
|
} = O(e), n = e.baseCls ? I(J(e.baseCls)) : I("input-label"), {
|
|
52
52
|
mergedSize: S,
|
|
53
|
-
mergedDisabled:
|
|
53
|
+
mergedDisabled: c,
|
|
54
54
|
mergedError: w,
|
|
55
55
|
eventHandlers: N
|
|
56
56
|
} = q({
|
|
57
57
|
size: g,
|
|
58
|
-
disabled:
|
|
59
|
-
error:
|
|
58
|
+
disabled: x,
|
|
59
|
+
error: B,
|
|
60
60
|
uninject: r == null ? void 0 : r.value
|
|
61
61
|
}), {
|
|
62
62
|
mergedSize: z
|
|
63
63
|
} = G(S), {
|
|
64
|
-
inputRef:
|
|
65
|
-
_focused:
|
|
64
|
+
inputRef: f,
|
|
65
|
+
_focused: v,
|
|
66
66
|
computedValue: y,
|
|
67
67
|
handleInput: F,
|
|
68
68
|
handleComposition: i,
|
|
@@ -70,35 +70,35 @@ const ae = /* @__PURE__ */ K({
|
|
|
70
70
|
handleBlur: A,
|
|
71
71
|
handleMousedown: E
|
|
72
72
|
} = $({
|
|
73
|
-
modelValue:
|
|
74
|
-
emit:
|
|
73
|
+
modelValue: C,
|
|
74
|
+
emit: s,
|
|
75
75
|
eventName: "inputValueChange",
|
|
76
76
|
updateEventName: "update:inputValue",
|
|
77
77
|
eventHandlers: N
|
|
78
|
-
}), R = l(() => e.focused ??
|
|
78
|
+
}), R = l(() => e.focused ?? v.value), d = l(() => e.enabledInput && v.value || !e.modelValue), m = () => {
|
|
79
79
|
var u;
|
|
80
80
|
return e.modelValue ? ((u = e.formatLabel) == null ? void 0 : u.call(e, e.modelValue)) ?? e.modelValue.label : "";
|
|
81
|
-
}, k = l(() => e.enabledInput && e.modelValue ?
|
|
81
|
+
}, k = l(() => e.enabledInput && e.modelValue ? m() : e.placeholder), P = () => {
|
|
82
82
|
var u;
|
|
83
83
|
return e.modelValue ? ((u = t.default) == null ? void 0 : u.call(t, {
|
|
84
84
|
data: e.modelValue
|
|
85
|
-
})) ??
|
|
85
|
+
})) ?? m() : null;
|
|
86
86
|
}, j = l(() => [n.block, n.modifier(`size-${z.value}`), {
|
|
87
87
|
[n.modifier("search")]: e.enabledInput,
|
|
88
88
|
[n.modifier("focus")]: R.value,
|
|
89
|
-
[n.modifier("disabled")]:
|
|
89
|
+
[n.modifier("disabled")]: c.value,
|
|
90
90
|
[n.modifier("error")]: w.value
|
|
91
91
|
}]), M = l(() => H(o, h)), _ = l(() => U(o, h)), D = (u) => {
|
|
92
|
-
|
|
92
|
+
s("keydown", u);
|
|
93
93
|
}, b = () => a("input", V(_.value, e.inputAttrs, {
|
|
94
|
-
ref:
|
|
94
|
+
ref: f,
|
|
95
95
|
class: [n.element("input"), {
|
|
96
|
-
[n.element("input-hidden")]: !
|
|
96
|
+
[n.element("input-hidden")]: !d.value
|
|
97
97
|
}],
|
|
98
98
|
value: y.value,
|
|
99
99
|
readonly: !e.enabledInput,
|
|
100
100
|
placeholder: k.value,
|
|
101
|
-
disabled:
|
|
101
|
+
disabled: c.value,
|
|
102
102
|
onInput: F,
|
|
103
103
|
onKeydown: D,
|
|
104
104
|
onFocus: L,
|
|
@@ -106,22 +106,23 @@ const ae = /* @__PURE__ */ K({
|
|
|
106
106
|
onCompositionstart: i,
|
|
107
107
|
onCompositionupdate: i,
|
|
108
108
|
onCompositionend: i
|
|
109
|
-
}), null),
|
|
109
|
+
}), null), p = () => a("span", {
|
|
110
|
+
"aria-hidden": e.retainInputBox && d.value ? !0 : void 0,
|
|
110
111
|
class: [n.element("value"), {
|
|
111
|
-
[n.element("value-hidden")]:
|
|
112
|
+
[n.element("value-hidden")]: d.value
|
|
112
113
|
}]
|
|
113
|
-
}, [P()]);
|
|
114
|
+
}, [e.retainInputBox && !e.modelValue ? e.placeholder : P()]);
|
|
114
115
|
return {
|
|
115
|
-
inputRef:
|
|
116
|
+
inputRef: f,
|
|
116
117
|
render: () => a("span", V(M.value, {
|
|
117
118
|
class: j.value,
|
|
118
|
-
title:
|
|
119
|
+
title: m(),
|
|
119
120
|
onMousedown: E
|
|
120
121
|
}), [t.prefix && a("span", {
|
|
121
122
|
class: n.element("prefix")
|
|
122
123
|
}, [t.prefix()]), e.retainInputBox ? a("span", {
|
|
123
124
|
class: n.element("input-area")
|
|
124
|
-
}, [b(),
|
|
125
|
+
}, [b(), p()]) : a(T, null, [b(), p()]), t.suffix && a("span", {
|
|
125
126
|
class: n.element("suffix")
|
|
126
127
|
}, [t.suffix()])])
|
|
127
128
|
};
|
|
@@ -6,7 +6,7 @@ import ne from "../_components/select-view/select-view.js";
|
|
|
6
6
|
import ua from "./SelectDropdown.vue.js";
|
|
7
7
|
import na from "./SelectOption.vue.js";
|
|
8
8
|
import oa from "./SelectOptionGroup.vue.js";
|
|
9
|
-
import ra from "../virtual-list-v2/
|
|
9
|
+
import { VirtualList as ra } from "../virtual-list-v2/index.js";
|
|
10
10
|
import { useSelect as ia } from "./hooks/use-select.js";
|
|
11
11
|
import { useTrigger as ca } from "../../_hooks/use-trigger.js";
|
|
12
12
|
import { useFormItem as da } from "../../_hooks/use-form-item.js";
|
|
@@ -1,59 +1,61 @@
|
|
|
1
1
|
import m from "./SelectDropdown.vue2.js";
|
|
2
|
-
import { resolveComponent as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
function
|
|
6
|
-
const n =
|
|
7
|
-
return
|
|
2
|
+
import { resolveComponent as d, openBlock as o, createElementBlock as s, normalizeClass as l, renderSlot as a, createCommentVNode as r, createVNode as p, createBlock as t, resolveDynamicComponent as i, withDirectives as u, mergeProps as y, withCtx as v, createElementVNode as c, vShow as f } from "vue";
|
|
3
|
+
import h from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const $ = ["id", "aria-multiselectable", "aria-busy"];
|
|
5
|
+
function N(e, b, k, w, S, C) {
|
|
6
|
+
const n = d("spin");
|
|
7
|
+
return o(), s("div", {
|
|
8
8
|
id: e.id,
|
|
9
|
-
class:
|
|
9
|
+
class: l(e.cls),
|
|
10
10
|
role: "listbox",
|
|
11
11
|
"aria-multiselectable": e.multiple || void 0,
|
|
12
12
|
"aria-busy": e.loading || void 0
|
|
13
13
|
}, [
|
|
14
|
-
e.$slots.header && (!e.empty || e.showHeaderOnEmpty) ? (
|
|
14
|
+
e.$slots.header && (!e.empty || e.showHeaderOnEmpty) ? (o(), s("div", {
|
|
15
15
|
key: 0,
|
|
16
|
-
class:
|
|
16
|
+
class: l(e.className.element("header"))
|
|
17
17
|
}, [
|
|
18
|
-
|
|
19
|
-
], 2)) :
|
|
20
|
-
e.loading ? (
|
|
18
|
+
a(e.$slots, "header")
|
|
19
|
+
], 2)) : r("", !0),
|
|
20
|
+
e.loading ? (o(), s("div", {
|
|
21
21
|
key: 1,
|
|
22
|
-
class:
|
|
23
|
-
},
|
|
22
|
+
class: l(e.className.element("loading"))
|
|
23
|
+
}, [
|
|
24
|
+
p(n, { size: 16 })
|
|
25
|
+
], 2)) : e.empty ? (o(), s("div", {
|
|
24
26
|
key: 2,
|
|
25
|
-
class:
|
|
27
|
+
class: l(e.className.element("empty"))
|
|
26
28
|
}, [
|
|
27
|
-
|
|
28
|
-
(
|
|
29
|
+
a(e.$slots, "empty", {}, () => [
|
|
30
|
+
(o(), t(i("Empty"), { component: "select" }))
|
|
29
31
|
])
|
|
30
|
-
], 2)) :
|
|
31
|
-
e.virtualList && !e.loading && !e.empty ?
|
|
32
|
-
e.virtualList ?
|
|
32
|
+
], 2)) : r("", !0),
|
|
33
|
+
e.virtualList && !e.loading && !e.empty ? a(e.$slots, "virtual-list", {}, void 0, void 0, 3) : r("", !0),
|
|
34
|
+
e.virtualList ? r("", !0) : u((o(), t(i(e.displayScrollbar ? "ScrollbarComponent" : "div"), y({
|
|
33
35
|
key: 4,
|
|
34
36
|
ref: "wrapperComRef",
|
|
35
37
|
class: e.className.element("list-wrapper")
|
|
36
38
|
}, e.scrollbarProps, { onScroll: e.handleScroll }), {
|
|
37
|
-
default:
|
|
38
|
-
|
|
39
|
-
class:
|
|
39
|
+
default: v(() => [
|
|
40
|
+
c("ul", {
|
|
41
|
+
class: l(e.className.element("list"))
|
|
40
42
|
}, [
|
|
41
|
-
|
|
43
|
+
a(e.$slots, "default")
|
|
42
44
|
], 2)
|
|
43
45
|
]),
|
|
44
46
|
_: 3
|
|
45
47
|
}, 16, ["class", "onScroll"])), [
|
|
46
|
-
[
|
|
48
|
+
[f, !e.loading && !e.empty]
|
|
47
49
|
]),
|
|
48
|
-
e.$slots.footer && (!e.empty || e.showFooterOnEmpty) ? (
|
|
50
|
+
e.$slots.footer && (!e.empty || e.showFooterOnEmpty) ? (o(), s("div", {
|
|
49
51
|
key: 5,
|
|
50
|
-
class:
|
|
52
|
+
class: l(e.className.element("footer"))
|
|
51
53
|
}, [
|
|
52
|
-
|
|
53
|
-
], 2)) :
|
|
54
|
-
], 10,
|
|
54
|
+
a(e.$slots, "footer")
|
|
55
|
+
], 2)) : r("", !0)
|
|
56
|
+
], 10, $);
|
|
55
57
|
}
|
|
56
|
-
const
|
|
58
|
+
const D = /* @__PURE__ */ h(m, [["render", N]]);
|
|
57
59
|
export {
|
|
58
|
-
|
|
60
|
+
D as default
|
|
59
61
|
};
|
|
@@ -5,15 +5,15 @@ import { Dialog as n } from "./dialog/index.js";
|
|
|
5
5
|
import { Drawer as u } from "./drawer/index.js";
|
|
6
6
|
import { Dropdown as c, DropdownButton as d, DropdownGroup as T, DropdownOption as S, DropdownSubmenu as P } from "./dropdown/index.js";
|
|
7
7
|
import { Empty as I } from "./empty/index.js";
|
|
8
|
-
import { DatePicker as s, MonthPicker as
|
|
8
|
+
import { DatePicker as s, MonthPicker as L, QuarterPicker as w, RangePicker as b, WeekPicker as C, YearPicker as h } from "./date-picker/index.js";
|
|
9
9
|
import { Form as y, FormItem as G } from "./form/index.js";
|
|
10
10
|
import { Checkbox as B, CheckboxGroup as M } from "./form-checkbox/index.js";
|
|
11
11
|
import { Input as A, InputGroup as E, InputPassword as _, InputSearch as N } from "./form-input/index.js";
|
|
12
12
|
import { InputNumber as j } from "./form-input-number/index.js";
|
|
13
13
|
import { InputTag as H } from "./form-input-tag/index.js";
|
|
14
14
|
import { Radio as W, RadioGroup as U } from "./form-radio/index.js";
|
|
15
|
-
import { Select as Q, SelectDropdown as
|
|
16
|
-
import { Slider as
|
|
15
|
+
import { Select as Q, SelectDropdown as V, SelectOption as Y, SelectOptionGroup as Z } from "./form-select/index.js";
|
|
16
|
+
import { Slider as J } from "./form-slider/index.js";
|
|
17
17
|
import { Switch as $ } from "./form-switch/index.js";
|
|
18
18
|
import { Textarea as ro } from "./form-textarea/index.js";
|
|
19
19
|
import { ColorPicker as to } from "./color-picker/index.js";
|
|
@@ -22,7 +22,7 @@ import { Draggable as xo } from "./draggable/index.js";
|
|
|
22
22
|
import { Col as no, Grid as io, GridItem as uo, Row as lo } from "./grid/index.js";
|
|
23
23
|
import { Heatmap as To } from "./heatmap/index.js";
|
|
24
24
|
import { Image as Po, ImagePreview as go, ImagePreviewAction as Io, ImagePreviewGroup as ko } from "./image/index.js";
|
|
25
|
-
import { Layout as
|
|
25
|
+
import { Layout as Lo, LayoutContent as wo, LayoutFooter as bo, LayoutHeader as Co, LayoutSidebar as ho } from "./layout/index.js";
|
|
26
26
|
import { LineChart as yo } from "./line-chart/index.js";
|
|
27
27
|
import { Link as vo } from "./link/index.js";
|
|
28
28
|
import { Menu as Mo, MenuItem as Ro, MenuItemGroup as Ao, MenuSubMenu as Eo } from "./menu/index.js";
|
|
@@ -31,41 +31,42 @@ import { Network as jo } from "./network/index.js";
|
|
|
31
31
|
import { Notification as Ho } from "./notification/index.js";
|
|
32
32
|
import { Pagination as Wo } from "./pagination/index.js";
|
|
33
33
|
import { PieChart as zo } from "./pie-chart/index.js";
|
|
34
|
-
import { Popconfirm as
|
|
35
|
-
import { Popover as
|
|
36
|
-
import { Popup as
|
|
34
|
+
import { Popconfirm as Vo } from "./popconfirm/index.js";
|
|
35
|
+
import { Popover as Zo } from "./popover/index.js";
|
|
36
|
+
import { Popup as Jo } from "./popup/index.js";
|
|
37
37
|
import { Progress as $o } from "./progress/index.js";
|
|
38
38
|
import { Rate as rr } from "./rate/index.js";
|
|
39
39
|
import { ResizeBox as tr } from "./resize-box/index.js";
|
|
40
40
|
import { Scrollbar as mr } from "./scrollbar-v2/index.js";
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import { default as re } from "./table/table-
|
|
62
|
-
import { default as te } from "./table/table-
|
|
63
|
-
import { default as me } from "./table/table-
|
|
64
|
-
import { default as xe } from "./table/table-
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
41
|
+
import { VirtualList as xr } from "./virtual-list-v2/index.js";
|
|
42
|
+
import { Skeleton as nr, SkeletonLine as ir, SkeletonShape as ur } from "./skeleton/index.js";
|
|
43
|
+
import { Space as cr } from "./space/index.js";
|
|
44
|
+
import { Spin as Tr } from "./spin/index.js";
|
|
45
|
+
import { Step as Pr, Steps as gr } from "./steps/index.js";
|
|
46
|
+
import { Table as kr, TableColumn as sr } from "./table/index.js";
|
|
47
|
+
import { TabPane as wr, Tabs as br } from "./tabs/index.js";
|
|
48
|
+
import { Tag as hr } from "./tag/index.js";
|
|
49
|
+
import { TimePicker as yr } from "./time-picker/index.js";
|
|
50
|
+
import { TimeRangeSelector as vr } from "./time-range-selector/index.js";
|
|
51
|
+
import { Timeline as Mr } from "./timeline/index.js";
|
|
52
|
+
import { TimelineItem as Ar } from "./timeline-item/index.js";
|
|
53
|
+
import { Tooltip as _r } from "./tooltip/index.js";
|
|
54
|
+
import { TreeSelect as Or, TreeSelectDropdown as jr } from "./tree-select/index.js";
|
|
55
|
+
import { Transfer as Hr } from "./transfer/index.js";
|
|
56
|
+
import { TrendChart as Wr } from "./trend-chart/index.js";
|
|
57
|
+
import { Trigger as zr } from "./trigger/index.js";
|
|
58
|
+
import { Upload as Vr } from "./upload/index.js";
|
|
59
|
+
import { Watermark as Zr } from "./watermark/index.js";
|
|
60
|
+
import { TABLE_LOCALE_EN_US as Jr, TABLE_LOCALE_ZH_CN as Xr, formatLocaleText as $r } from "./table/locale.js";
|
|
61
|
+
import { default as re } from "./table/table-tbody.js";
|
|
62
|
+
import { default as te } from "./table/table-td.js";
|
|
63
|
+
import { default as me } from "./table/table-th.js";
|
|
64
|
+
import { default as xe } from "./table/table-thead.js";
|
|
65
|
+
import { default as ne } from "./table/table-tr.js";
|
|
66
|
+
import { configProviderInjectionKey as ue } from "./config-provider/context.js";
|
|
67
|
+
import { formInjectionKey as ce, formItemInjectionKey as de } from "./form/context.js";
|
|
68
|
+
import { vDraggable as Se } from "./draggable/directive.js";
|
|
69
|
+
import { vWatermark as ge } from "./watermark/directive.js";
|
|
69
70
|
export {
|
|
70
71
|
e as Alert,
|
|
71
72
|
mo as BarChart,
|
|
@@ -101,8 +102,8 @@ export {
|
|
|
101
102
|
_ as InputPassword,
|
|
102
103
|
N as InputSearch,
|
|
103
104
|
H as InputTag,
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
Lo as Layout,
|
|
106
|
+
wo as LayoutContent,
|
|
106
107
|
bo as LayoutFooter,
|
|
107
108
|
Co as LayoutHeader,
|
|
108
109
|
ho as LayoutSidebar,
|
|
@@ -113,16 +114,16 @@ export {
|
|
|
113
114
|
Ao as MenuItemGroup,
|
|
114
115
|
Eo as MenuSubMenu,
|
|
115
116
|
No as Message,
|
|
116
|
-
|
|
117
|
+
L as MonthPicker,
|
|
117
118
|
jo as Network,
|
|
118
119
|
Ho as Notification,
|
|
119
120
|
Wo as Pagination,
|
|
120
121
|
zo as PieChart,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
Vo as Popconfirm,
|
|
123
|
+
Zo as Popover,
|
|
124
|
+
Jo as Popup,
|
|
124
125
|
$o as Progress,
|
|
125
|
-
|
|
126
|
+
w as QuarterPicker,
|
|
126
127
|
W as Radio,
|
|
127
128
|
U as RadioGroup,
|
|
128
129
|
b as RangePicker,
|
|
@@ -131,49 +132,50 @@ export {
|
|
|
131
132
|
lo as Row,
|
|
132
133
|
mr as Scrollbar,
|
|
133
134
|
Q as Select,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
135
|
+
V as SelectDropdown,
|
|
136
|
+
Y as SelectOption,
|
|
137
|
+
Z as SelectOptionGroup,
|
|
138
|
+
nr as Skeleton,
|
|
139
|
+
ir as SkeletonLine,
|
|
140
|
+
ur as SkeletonShape,
|
|
141
|
+
J as Slider,
|
|
142
|
+
cr as Space,
|
|
143
|
+
Tr as Spin,
|
|
144
|
+
Pr as Step,
|
|
145
|
+
gr as Steps,
|
|
145
146
|
$ as Switch,
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
147
|
+
Jr as TABLE_LOCALE_EN_US,
|
|
148
|
+
Xr as TABLE_LOCALE_ZH_CN,
|
|
149
|
+
wr as TabPane,
|
|
150
|
+
kr as Table,
|
|
151
|
+
sr as TableColumn,
|
|
152
|
+
br as Tabs,
|
|
153
|
+
hr as Tag,
|
|
154
|
+
re as Tbody,
|
|
155
|
+
te as Td,
|
|
155
156
|
ro as Textarea,
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
157
|
+
me as Th,
|
|
158
|
+
xe as Thead,
|
|
159
|
+
yr as TimePicker,
|
|
160
|
+
vr as TimeRangeSelector,
|
|
161
|
+
Mr as Timeline,
|
|
162
|
+
Ar as TimelineItem,
|
|
163
|
+
_r as Tooltip,
|
|
164
|
+
ne as Tr,
|
|
165
|
+
Hr as Transfer,
|
|
166
|
+
Or as TreeSelect,
|
|
167
|
+
jr as TreeSelectDropdown,
|
|
168
|
+
Wr as TrendChart,
|
|
169
|
+
zr as Trigger,
|
|
170
|
+
Vr as Upload,
|
|
171
|
+
xr as VirtualList,
|
|
172
|
+
Zr as Watermark,
|
|
171
173
|
C as WeekPicker,
|
|
172
174
|
h as YearPicker,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
175
|
+
ue as configProviderInjectionKey,
|
|
176
|
+
ce as formInjectionKey,
|
|
177
|
+
de as formItemInjectionKey,
|
|
178
|
+
$r as formatLocaleText,
|
|
179
|
+
Se as vDraggable,
|
|
180
|
+
ge as vWatermark
|
|
179
181
|
};
|