x-next 1.18.2 → 1.19.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.
Files changed (153) hide show
  1. package/AI_USAGE/catalog.md +3 -2
  2. package/AI_USAGE/components/alert-api.md +1 -1
  3. package/AI_USAGE/components/alert.md +1 -1
  4. package/AI_USAGE/components/bar-chart-api.md +1 -1
  5. package/AI_USAGE/components/bar-chart.md +1 -1
  6. package/AI_USAGE/components/boxicons.md +1 -1
  7. package/AI_USAGE/components/button-api.md +1 -1
  8. package/AI_USAGE/components/button.md +1 -1
  9. package/AI_USAGE/components/charts.md +1 -1
  10. package/AI_USAGE/components/checkbox-api.md +1 -1
  11. package/AI_USAGE/components/checkbox.md +1 -1
  12. package/AI_USAGE/components/color-picker-api.md +1 -1
  13. package/AI_USAGE/components/color-picker.md +1 -1
  14. package/AI_USAGE/components/config-provider-api.md +1 -1
  15. package/AI_USAGE/components/config-provider.md +1 -1
  16. package/AI_USAGE/components/date-picker-api.md +1 -1
  17. package/AI_USAGE/components/date-picker.md +1 -1
  18. package/AI_USAGE/components/dialog-api.md +1 -1
  19. package/AI_USAGE/components/dialog.md +1 -1
  20. package/AI_USAGE/components/draggable-api.md +1 -1
  21. package/AI_USAGE/components/draggable.md +1 -1
  22. package/AI_USAGE/components/drawer-api.md +1 -1
  23. package/AI_USAGE/components/drawer.md +1 -1
  24. package/AI_USAGE/components/dropdown-api.md +1 -1
  25. package/AI_USAGE/components/dropdown.md +1 -1
  26. package/AI_USAGE/components/empty-api.md +1 -1
  27. package/AI_USAGE/components/empty.md +1 -1
  28. package/AI_USAGE/components/finicon.md +1 -1
  29. package/AI_USAGE/components/form-api.md +1 -1
  30. package/AI_USAGE/components/form.md +1 -1
  31. package/AI_USAGE/components/grid-api.md +1 -1
  32. package/AI_USAGE/components/grid.md +1 -1
  33. package/AI_USAGE/components/heatmap-api.md +1 -1
  34. package/AI_USAGE/components/heatmap.md +1 -1
  35. package/AI_USAGE/components/icon-api.md +1 -1
  36. package/AI_USAGE/components/icon.md +1 -1
  37. package/AI_USAGE/components/image-api.md +1 -1
  38. package/AI_USAGE/components/image.md +1 -1
  39. package/AI_USAGE/components/input-api.md +1 -1
  40. package/AI_USAGE/components/input-number-api.md +1 -1
  41. package/AI_USAGE/components/input-number.md +1 -1
  42. package/AI_USAGE/components/input-tag-api.md +1 -1
  43. package/AI_USAGE/components/input-tag.md +1 -1
  44. package/AI_USAGE/components/input.md +1 -1
  45. package/AI_USAGE/components/layout-api.md +1 -1
  46. package/AI_USAGE/components/layout.md +1 -1
  47. package/AI_USAGE/components/line-chart-api.md +1 -1
  48. package/AI_USAGE/components/line-chart.md +1 -1
  49. package/AI_USAGE/components/link-api.md +1 -1
  50. package/AI_USAGE/components/link.md +1 -1
  51. package/AI_USAGE/components/menu-api.md +1 -1
  52. package/AI_USAGE/components/menu.md +1 -1
  53. package/AI_USAGE/components/message-api.md +1 -1
  54. package/AI_USAGE/components/message-box-api.md +1 -1
  55. package/AI_USAGE/components/message-box.md +1 -1
  56. package/AI_USAGE/components/message.md +1 -1
  57. package/AI_USAGE/components/network-api.md +1 -1
  58. package/AI_USAGE/components/network.md +1 -1
  59. package/AI_USAGE/components/notification-api.md +1 -1
  60. package/AI_USAGE/components/notification.md +1 -1
  61. package/AI_USAGE/components/pagination-api.md +1 -1
  62. package/AI_USAGE/components/pagination.md +1 -1
  63. package/AI_USAGE/components/pie-chart-api.md +1 -1
  64. package/AI_USAGE/components/pie-chart.md +1 -1
  65. package/AI_USAGE/components/popconfirm-api.md +1 -1
  66. package/AI_USAGE/components/popconfirm.md +1 -1
  67. package/AI_USAGE/components/popover-api.md +1 -1
  68. package/AI_USAGE/components/popover.md +1 -1
  69. package/AI_USAGE/components/popup-api.md +1 -1
  70. package/AI_USAGE/components/popup.md +1 -1
  71. package/AI_USAGE/components/progress-api.md +1 -1
  72. package/AI_USAGE/components/progress.md +1 -1
  73. package/AI_USAGE/components/radio-api.md +1 -1
  74. package/AI_USAGE/components/radio.md +1 -1
  75. package/AI_USAGE/components/rate-api.md +1 -1
  76. package/AI_USAGE/components/rate.md +1 -1
  77. package/AI_USAGE/components/resize-box-api.md +1 -1
  78. package/AI_USAGE/components/resize-box.md +1 -1
  79. package/AI_USAGE/components/scrollbar-api.md +1 -1
  80. package/AI_USAGE/components/scrollbar.md +1 -1
  81. package/AI_USAGE/components/select-api.md +1 -1
  82. package/AI_USAGE/components/select.md +1 -1
  83. package/AI_USAGE/components/skeleton-api.md +1 -1
  84. package/AI_USAGE/components/skeleton.md +1 -1
  85. package/AI_USAGE/components/slider-api.md +1 -1
  86. package/AI_USAGE/components/slider.md +1 -1
  87. package/AI_USAGE/components/space-api.md +1 -1
  88. package/AI_USAGE/components/space.md +1 -1
  89. package/AI_USAGE/components/spin-api.md +1 -1
  90. package/AI_USAGE/components/spin.md +1 -1
  91. package/AI_USAGE/components/steps-api.md +1 -1
  92. package/AI_USAGE/components/steps.md +1 -1
  93. package/AI_USAGE/components/switch-api.md +1 -1
  94. package/AI_USAGE/components/switch.md +1 -1
  95. package/AI_USAGE/components/table-api.md +1 -1
  96. package/AI_USAGE/components/table.md +1 -1
  97. package/AI_USAGE/components/tabs-api.md +1 -1
  98. package/AI_USAGE/components/tabs.md +1 -1
  99. package/AI_USAGE/components/tag-api.md +1 -1
  100. package/AI_USAGE/components/tag.md +1 -1
  101. package/AI_USAGE/components/textarea-api.md +1 -1
  102. package/AI_USAGE/components/textarea.md +1 -1
  103. package/AI_USAGE/components/time-picker-api.md +1 -1
  104. package/AI_USAGE/components/time-picker.md +1 -1
  105. package/AI_USAGE/components/time-range-selector-api.md +1 -1
  106. package/AI_USAGE/components/time-range-selector.md +1 -1
  107. package/AI_USAGE/components/timeline-api.md +1 -1
  108. package/AI_USAGE/components/timeline.md +1 -1
  109. package/AI_USAGE/components/tooltip-api.md +1 -1
  110. package/AI_USAGE/components/tooltip.md +1 -1
  111. package/AI_USAGE/components/transfer-api.md +1 -1
  112. package/AI_USAGE/components/transfer.md +1 -1
  113. package/AI_USAGE/components/tree-select-api.md +1 -1
  114. package/AI_USAGE/components/tree-select.md +1 -1
  115. package/AI_USAGE/components/trend-chart-api.md +1 -1
  116. package/AI_USAGE/components/trend-chart.md +1 -1
  117. package/AI_USAGE/components/trigger-api.md +1 -1
  118. package/AI_USAGE/components/trigger.md +1 -1
  119. package/AI_USAGE/components/upload-api.md +1 -1
  120. package/AI_USAGE/components/upload.md +1 -1
  121. package/AI_USAGE/components/virtual-list-api.md +135 -0
  122. package/AI_USAGE/components/virtual-list.md +62 -0
  123. package/AI_USAGE/components/watermark-api.md +1 -1
  124. package/AI_USAGE/components/watermark.md +1 -1
  125. package/AI_USAGE/core.md +1 -1
  126. package/AI_USAGE/index.md +3 -2
  127. package/AI_USAGE/recipes/form-on-demand.md +1 -1
  128. package/AI_USAGE.md +180 -3
  129. package/CHANGELOG.md +17 -0
  130. package/dist/components/form-select/index.d.ts +3 -3
  131. package/dist/components/index.d.ts +1 -0
  132. package/dist/components/pagination/page-options.vue.d.ts +3 -3
  133. package/dist/components/table/index.d.ts +3 -3
  134. package/dist/components/transfer/index.d.ts +3 -3
  135. package/dist/components/tree-select/index.d.ts +3 -3
  136. package/dist/components/virtual-list-v2/index.d.ts +1052 -2
  137. package/dist/components/virtual-list-v2/interface.d.ts +6 -0
  138. package/dist/components/virtual-list-v2/virtual-list.vue.d.ts +32 -1
  139. package/dist/es/components/form-select/Select.js +1 -1
  140. package/dist/es/components/index.js +85 -83
  141. package/dist/es/components/resize-box/ResizeBox.vue2.js +84 -81
  142. package/dist/es/components/table/Table.js +1 -1
  143. package/dist/es/components/transfer/transfer-panel.js +1 -1
  144. package/dist/es/components/tree-select/TreeSelect.js +1 -1
  145. package/dist/es/components/virtual-list-v2/index.js +6 -2
  146. package/dist/es/components/virtual-list-v2/virtual-list.vue.js +18 -17
  147. package/dist/es/components/virtual-list-v2/virtual-list.vue2.js +97 -70
  148. package/dist/es/index.js +55 -53
  149. package/dist/index.cjs +3 -3
  150. package/dist/index.umd.js +3 -3
  151. package/dist/types.d.ts +1 -0
  152. package/package.json +4 -4
  153. package/volar.d.ts +1 -0
@@ -1,41 +1,42 @@
1
1
  import d from "./virtual-list.vue2.js";
2
- import { resolveComponent as m, openBlock as t, createBlock as o, resolveDynamicComponent as r, mergeProps as s, withCtx as n, createElementBlock as p, Fragment as f, renderList as g, renderSlot as u } from "vue";
3
- import y from "../../_virtual/_plugin-vue_export-helper.js";
4
- function c(e, $, C, P, S, h) {
5
- const a = m("VirtualListItem");
6
- return t(), o(r(e.displayScrollbar ? "ScrollbarComponent" : e.mergedComponent.container), s({
2
+ import { resolveComponent as p, openBlock as o, createBlock as t, resolveDynamicComponent as s, mergeProps as r, withCtx as n, createElementBlock as m, Fragment as f, renderList as g, normalizeStyle as u, renderSlot as y } from "vue";
3
+ import h from "../../_virtual/_plugin-vue_export-helper.js";
4
+ function S(e, $, z, C, P, b) {
5
+ const a = p("VirtualListItem");
6
+ return o(), t(s(e.displayScrollbar ? "ScrollbarComponent" : e.mergedComponent.container), r({
7
7
  ref: "wrapperComRef",
8
8
  class: e.className.block,
9
9
  style: e.style
10
10
  }, e.scrollbarProps, { onScroll: e.onScroll }), {
11
11
  default: n(() => [
12
- (t(), o(r(e.mergedComponent.list), s(e.listAttrs, {
12
+ (o(), t(s(e.mergedComponent.list), r(e.listAttrs, {
13
13
  style: e.paddingPosition === "list" ? {
14
14
  paddingTop: `${e.frontPadding}px`,
15
15
  paddingBottom: `${e.behindPadding}px`
16
16
  } : {}
17
17
  }), {
18
18
  default: n(() => [
19
- (t(), o(r(e.mergedComponent.content), s({ ref: "contentRef" }, e.contentAttrs, {
20
- style: e.paddingPosition === "content" ? {
19
+ (o(), t(s(e.mergedComponent.content), r({ ref: "contentRef" }, e.contentAttrs, {
20
+ style: e.positioned ? { position: "relative", height: `${e.data.length * e.estimatedSize}px` } : e.paddingPosition === "content" ? {
21
21
  paddingTop: `${e.frontPadding}px`,
22
22
  paddingBottom: `${e.behindPadding}px`
23
23
  } : {}
24
24
  }), {
25
25
  default: n(() => [
26
- (t(!0), p(f, null, g(e.currentList, (i, l) => (t(), o(a, {
27
- key: i[e.itemKey] ?? e.start + l,
26
+ (o(!0), m(f, null, g(e.renderedItems, ({ item: l, index: i }) => (o(), t(a, {
27
+ key: l[e.itemKey] ?? i,
28
28
  "has-item-size": e.hasItemSize,
29
- "set-item-size": e.setItemSize
29
+ "set-item-size": e.setItemSize,
30
+ style: u(e.positioned ? { position: "absolute", top: `${i * e.estimatedSize}px`, width: "100%" } : void 0)
30
31
  }, {
31
32
  default: n(() => [
32
- u(e.$slots, "item", {
33
- item: i,
34
- index: e.start + l
33
+ y(e.$slots, "item", {
34
+ item: l,
35
+ index: i
35
36
  })
36
37
  ]),
37
38
  _: 2
38
- }, 1032, ["has-item-size", "set-item-size"]))), 128))
39
+ }, 1032, ["has-item-size", "set-item-size", "style"]))), 128))
39
40
  ]),
40
41
  _: 3
41
42
  }, 16, ["style"]))
@@ -46,7 +47,7 @@ function c(e, $, C, P, S, h) {
46
47
  _: 3
47
48
  }, 16, ["class", "style", "onScroll"]);
48
49
  }
49
- const B = /* @__PURE__ */ y(d, [["render", c]]);
50
+ const I = /* @__PURE__ */ h(d, [["render", S]]);
50
51
  export {
51
- B as default
52
+ I as default
52
53
  };
@@ -1,14 +1,14 @@
1
- import { defineComponent as K, toRefs as g, computed as i, ref as M, watch as V, nextTick as y } from "vue";
2
- import { useSize as $ } from "./hooks/use-size.js";
3
- import q from "./virtual-list-item.js";
4
- import { isObject as D, isNumber as S } from "../../_utils/is.js";
5
- import { getClassNameMixin as E } from "../../_utils/config.js";
6
- import { Scrollbar as F } from "../scrollbar-v2/index.js";
7
- import { useComponentRef as G } from "../../_hooks/use-component-ref.js";
8
- import { useScrollbar as J } from "../../_hooks/use-scrollbar.js";
9
- const le = K({
1
+ import { defineComponent as G, toRefs as R, computed as c, ref as J, watch as H, nextTick as S } from "vue";
2
+ import { useSize as Q } from "./hooks/use-size.js";
3
+ import U from "./virtual-list-item.js";
4
+ import { isObject as W, isNumber as N } from "../../_utils/is.js";
5
+ import { getClassNameMixin as X } from "../../_utils/config.js";
6
+ import { Scrollbar as Y } from "../scrollbar-v2/index.js";
7
+ import { useComponentRef as Z } from "../../_hooks/use-component-ref.js";
8
+ import { useScrollbar as ee } from "../../_hooks/use-scrollbar.js";
9
+ const ce = G({
10
10
  name: "VirtualList",
11
- components: { VirtualListItem: q, ScrollbarComponent: F },
11
+ components: { VirtualListItem: U, ScrollbarComponent: Y },
12
12
  props: {
13
13
  height: {
14
14
  type: [Number, String],
@@ -55,86 +55,113 @@ const le = K({
55
55
  scrollbar: {
56
56
  type: [Boolean, Object],
57
57
  default: !1
58
- }
58
+ },
59
+ preserveScroll: { type: Boolean, default: !1 },
60
+ pinnedKeys: { type: Array, default: void 0 }
59
61
  },
60
62
  emits: {
61
- scroll: (t) => !0,
62
- reachBottom: (t) => !0
63
+ scroll: (o) => !0,
64
+ reachBottom: (o) => !0,
65
+ rangeChange: (o) => !0
63
66
  },
64
- setup(t, { emit: m }) {
65
- const { data: a, itemKey: x, fixedSize: T, estimatedSize: R, buffer: d, height: c } = g(t), { displayScrollbar: z, scrollbarProps: N } = J(g(t).scrollbar), O = E("virtual-list"), C = i(() => D(t.component) ? {
67
+ setup(o, { emit: m, expose: B }) {
68
+ const { data: i, itemKey: j, fixedSize: K, estimatedSize: _, buffer: b, height: v } = R(o), { displayScrollbar: w, scrollbarProps: A } = ee(R(o).scrollbar), I = X("virtual-list"), P = c(() => W(o.component) ? {
66
69
  container: "div",
67
70
  list: "div",
68
71
  content: "div",
69
- ...t.component
72
+ ...o.component
70
73
  } : {
71
- container: t.component,
74
+ container: o.component,
72
75
  list: "div",
73
76
  content: "div"
74
- }), { componentRef: j, elementRef: o } = G("containerRef"), p = M(), B = i(() => ({
75
- height: S(c.value) ? `${c.value}px` : c.value,
77
+ }), { componentRef: k, elementRef: a } = Z("containerRef"), x = J(), L = c(() => ({
78
+ height: N(v.value) ? `${v.value}px` : v.value,
76
79
  overflow: "auto"
77
- })), s = i(
78
- () => a.value.map((e, l) => e[x.value] ?? l)
80
+ })), u = c(
81
+ () => i.value.map((l, n) => l[j.value] ?? n)
79
82
  ), {
80
- frontPadding: _,
81
- behindPadding: P,
82
- start: u,
83
- end: w,
84
- getStartByScroll: A,
85
- setItemSize: I,
86
- hasItemSize: L,
83
+ frontPadding: V,
84
+ behindPadding: q,
85
+ start: s,
86
+ end: h,
87
+ getStartByScroll: T,
88
+ setItemSize: $,
89
+ hasItemSize: D,
87
90
  setStart: f,
88
- getScrollOffset: v
89
- } = $({
90
- dataKeys: s,
91
- contentRef: p,
92
- fixedSize: T,
93
- estimatedSize: R,
94
- buffer: d
95
- }), k = i(() => t.threshold && a.value.length <= t.threshold ? a.value : a.value.slice(u.value, w.value));
96
- V(s, (e, l) => {
97
- e.length >= l.length && l.every((r, n) => e[n] === r) || (f(0), o.value && (o.value.scrollTop = 0));
91
+ getScrollOffset: O
92
+ } = Q({
93
+ dataKeys: u,
94
+ contentRef: x,
95
+ fixedSize: K,
96
+ estimatedSize: _,
97
+ buffer: b
98
+ }), p = c(() => o.threshold && i.value.length <= o.threshold ? i.value : i.value.slice(s.value, h.value)), z = c(() => o.fixedSize && o.pinnedKeys !== void 0), E = c(() => {
99
+ const l = o.threshold && i.value.length <= o.threshold ? 0 : s.value, n = p.value.map((e, r) => ({ item: e, index: l + r }));
100
+ if (z.value) {
101
+ const e = new Set(n.map((r) => r.index));
102
+ for (const r of o.pinnedKeys ?? []) {
103
+ const t = u.value.indexOf(r);
104
+ t >= 0 && !e.has(t) && (e.add(t), n.push({ item: i.value[t], index: t }));
105
+ }
106
+ n.sort((r, t) => r.index - t.index);
107
+ }
108
+ return n;
109
+ });
110
+ H([s, h], () => m("rangeChange", { start: s.value, end: h.value }), { immediate: !0 }), H(u, (l, n) => {
111
+ if (o.preserveScroll) {
112
+ S(() => {
113
+ if (a.value) {
114
+ const e = a.value;
115
+ e.scrollTop = Math.min(e.scrollTop, Math.max(0, e.scrollHeight - e.clientHeight)), f(T(e.scrollTop));
116
+ }
117
+ });
118
+ return;
119
+ }
120
+ l.length >= n.length && n.every((e, r) => l[r] === e) || (f(0), a.value && (a.value.scrollTop = 0));
98
121
  });
99
- const H = (e) => {
100
- const { scrollTop: l, scrollHeight: r, clientHeight: n } = e.target, b = A(l);
101
- b !== u.value && (f(b), y(() => {
102
- h(l);
103
- })), m("scroll", e), Math.floor(r - (l + n)) <= 0 && m("reachBottom", e);
104
- }, h = (e) => {
105
- if (o.value)
106
- if (S(e))
107
- o.value.scrollTop = e;
122
+ const F = (l) => {
123
+ const { scrollTop: n, scrollHeight: e, clientHeight: r } = l.target, t = T(n);
124
+ t !== s.value && (f(t), S(() => {
125
+ g(n);
126
+ })), m("scroll", l), Math.floor(e - (n + r)) <= 0 && m("reachBottom", l);
127
+ }, g = (l) => {
128
+ if (a.value)
129
+ if (N(l))
130
+ a.value.scrollTop = l;
108
131
  else {
109
- const { align: l = "top" } = e, r = e.index ?? s.value.indexOf(e.key ?? "");
110
- f(r - d.value), o.value.scrollTop = v(r), y(() => {
111
- if (o.value) {
112
- const n = v(r);
113
- n !== o.value.scrollTop && (o.value.scrollTop = n);
132
+ const { align: n = "top" } = l, e = l.index ?? u.value.indexOf(l.key ?? "");
133
+ if (e < 0 || !i.value.length) return;
134
+ const r = Math.min(Math.floor(e), i.value.length - 1), t = a.value, d = O(r), y = O(r + 1), C = n === "bottom" ? y - t.clientHeight : n === "auto" ? d < t.scrollTop ? d : y > t.scrollTop + t.clientHeight ? y - t.clientHeight : t.scrollTop : d;
135
+ f(r - b.value), a.value.scrollTop = Math.max(0, C), S(() => {
136
+ if (a.value) {
137
+ const M = Math.max(0, C);
138
+ M !== a.value.scrollTop && (a.value.scrollTop = M);
114
139
  }
115
140
  });
116
141
  }
117
142
  };
118
- return {
119
- className: O,
120
- containerRef: o,
121
- wrapperComRef: j,
122
- displayScrollbar: z,
123
- scrollbarProps: N,
124
- contentRef: p,
125
- frontPadding: _,
126
- currentList: k,
127
- behindPadding: P,
128
- onScroll: H,
129
- setItemSize: I,
130
- hasItemSize: L,
131
- start: u,
132
- scrollTo: h,
133
- style: B,
134
- mergedComponent: C
143
+ return B({ scrollTo: g, containerRef: a, currentList: p }), {
144
+ className: I,
145
+ containerRef: a,
146
+ wrapperComRef: k,
147
+ displayScrollbar: w,
148
+ scrollbarProps: A,
149
+ contentRef: x,
150
+ frontPadding: V,
151
+ currentList: p,
152
+ positioned: z,
153
+ renderedItems: E,
154
+ behindPadding: q,
155
+ onScroll: F,
156
+ setItemSize: $,
157
+ hasItemSize: D,
158
+ start: s,
159
+ scrollTo: g,
160
+ style: L,
161
+ mergedComponent: P
135
162
  };
136
163
  }
137
164
  });
138
165
  export {
139
- le as default
166
+ ce as default
140
167
  };
package/dist/es/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import * as r from "./components/index.js";
3
3
  import { Icon as p } from "./icons/index.js";
4
4
  import { setupDirectives as m } from "./directives/index.js";
5
- import { default as s } from "./components/dialog/use.js";
5
+ import { default as c } from "./components/dialog/use.js";
6
6
  import { default as u } from "./components/message/warp.js";
7
7
  import { default as g } from "./components/message-box/MessageBox.js";
8
8
  import { default as T } from "./components/notification/warp.js";
@@ -17,14 +17,14 @@ import { useDraggable as F } from "./components/draggable/useDraggable.js";
17
17
  import { vDraggable as z } from "./components/draggable/directive.js";
18
18
  import { Watermark as K } from "./components/watermark/index.js";
19
19
  import { default as W } from "./locale/en-US.js";
20
- import { default as X } from "./locale/zh-CN.js";
21
- import { Alert as Z } from "./components/alert/index.js";
22
- import { BarChart as J } from "./components/bar-chart/index.js";
20
+ import { default as V } from "./locale/zh-CN.js";
21
+ import { Alert as Y } from "./components/alert/index.js";
22
+ import { BarChart as q } from "./components/bar-chart/index.js";
23
23
  import { Button as $, ButtonGroup as oo } from "./components/button/index.js";
24
24
  import { Checkbox as ro, CheckboxGroup as to } from "./components/form-checkbox/index.js";
25
25
  import { Col as mo, Grid as ao, GridItem as fo, Row as no } from "./components/grid/index.js";
26
26
  import { ColorPicker as io } from "./components/color-picker/index.js";
27
- import { ConfigProvider as so } from "./components/config-provider/index.js";
27
+ import { ConfigProvider as co } from "./components/config-provider/index.js";
28
28
  import { DatePicker as uo, MonthPicker as go, QuarterPicker as Io, RangePicker as To, WeekPicker as So, YearPicker as Po } from "./components/date-picker/index.js";
29
29
  import { Draggable as Co } from "./components/draggable/index.js";
30
30
  import { Drawer as ko } from "./components/drawer/index.js";
@@ -33,13 +33,13 @@ import { Empty as vo } from "./components/empty/index.js";
33
33
  import { Form as Bo, FormItem as Eo } from "./components/form/index.js";
34
34
  import { Heatmap as Ro } from "./components/heatmap/index.js";
35
35
  import { Image as Fo, ImagePreview as jo, ImagePreviewAction as zo, ImagePreviewGroup as Ho } from "./components/image/index.js";
36
- import { Input as Uo, InputGroup as Wo, InputPassword as Qo, InputSearch as Xo } from "./components/form-input/index.js";
37
- import { InputNumber as Zo } from "./components/form-input-number/index.js";
38
- import { InputTag as Jo } from "./components/form-input-tag/index.js";
36
+ import { Input as Uo, InputGroup as Wo, InputPassword as Qo, InputSearch as Vo } from "./components/form-input/index.js";
37
+ import { InputNumber as Yo } from "./components/form-input-number/index.js";
38
+ import { InputTag as qo } from "./components/form-input-tag/index.js";
39
39
  import { Layout as $o, LayoutContent as oe, LayoutFooter as ee, LayoutHeader as re, LayoutSidebar as te } from "./components/layout/index.js";
40
40
  import { LineChart as me } from "./components/line-chart/index.js";
41
41
  import { Link as fe } from "./components/link/index.js";
42
- import { Menu as xe, MenuItem as ie, MenuItemGroup as ce, MenuSubMenu as se } from "./components/menu/index.js";
42
+ import { Menu as xe, MenuItem as ie, MenuItemGroup as se, MenuSubMenu as ce } from "./components/menu/index.js";
43
43
  import { Network as ue } from "./components/network/index.js";
44
44
  import { Pagination as ge } from "./components/pagination/index.js";
45
45
  import { PieChart as Te } from "./components/pie-chart/index.js";
@@ -54,13 +54,13 @@ import { Scrollbar as Ee } from "./components/scrollbar-v2/index.js";
54
54
  import { Select as Re, SelectDropdown as _e, SelectOption as Fe, SelectOptionGroup as je } from "./components/form-select/index.js";
55
55
  import { Skeleton as He, SkeletonLine as Ke, SkeletonShape as Ue } from "./components/skeleton/index.js";
56
56
  import { Slider as Qe } from "./components/form-slider/index.js";
57
- import { Space as Ye } from "./components/space/index.js";
58
- import { Spin as qe } from "./components/spin/index.js";
59
- import { Step as Ve, Steps as $e } from "./components/steps/index.js";
57
+ import { Space as Xe } from "./components/space/index.js";
58
+ import { Spin as Ze } from "./components/spin/index.js";
59
+ import { Step as Je, Steps as $e } from "./components/steps/index.js";
60
60
  import { Switch as er } from "./components/form-switch/index.js";
61
61
  import { TABLE_LOCALE_EN_US as tr, TABLE_LOCALE_ZH_CN as pr, formatLocaleText as mr } from "./components/table/locale.js";
62
62
  import { TabPane as fr, Tabs as nr } from "./components/tabs/index.js";
63
- import { Table as ir, TableColumn as cr } from "./components/table/index.js";
63
+ import { Table as ir, TableColumn as sr } from "./components/table/index.js";
64
64
  import { Tag as lr } from "./components/tag/index.js";
65
65
  import { default as dr } from "./components/table/table-tbody.js";
66
66
  import { default as Ir } from "./components/table/table-td.js";
@@ -78,14 +78,15 @@ import { TreeSelect as Fr, TreeSelectDropdown as jr } from "./components/tree-se
78
78
  import { TrendChart as Hr } from "./components/trend-chart/index.js";
79
79
  import { Trigger as Ur } from "./components/trigger/index.js";
80
80
  import { Upload as Qr } from "./components/upload/index.js";
81
- import { addIcon as Yr, hasIcon as Zr, registerIcons as qr, removeIcon as Jr } from "./icons/registry.js";
82
- import { canonicalIconNames as $r, publicIconAliases as ot, publicIconNames as et, searchPublicIcons as rt } from "./icons/public/lucide-names.js";
83
- import { configProviderInjectionKey as pt } from "./components/config-provider/context.js";
84
- import { finiconCategories as at, finiconIconsMeta as ft } from "./icons/public/finicon-meta.js";
85
- import { finiconIconNames as xt, finiconIcons as it, registerFiniconIcons as ct } from "./icons/public/finicon.js";
86
- import { formInjectionKey as lt, formItemInjectionKey as ut } from "./components/form/context.js";
87
- import { registerPublicIcons as gt } from "./icons/public/lucide.js";
88
- import { vWatermark as Tt } from "./components/watermark/directive.js";
81
+ import { VirtualList as Xr } from "./components/virtual-list-v2/index.js";
82
+ import { addIcon as Zr, hasIcon as qr, registerIcons as Jr, removeIcon as $r } from "./icons/registry.js";
83
+ import { canonicalIconNames as et, publicIconAliases as rt, publicIconNames as tt, searchPublicIcons as pt } from "./icons/public/lucide-names.js";
84
+ import { configProviderInjectionKey as at } from "./components/config-provider/context.js";
85
+ import { finiconCategories as nt, finiconIconsMeta as xt } from "./icons/public/finicon-meta.js";
86
+ import { finiconIconNames as st, finiconIcons as ct, registerFiniconIcons as lt } from "./icons/public/finicon.js";
87
+ import { formInjectionKey as dt, formItemInjectionKey as gt } from "./components/form/context.js";
88
+ import { registerPublicIcons as Tt } from "./icons/public/lucide.js";
89
+ import { vWatermark as Pt } from "./components/watermark/directive.js";
89
90
  const x = {
90
91
  install: function(o) {
91
92
  m(o), o.use(p), Object.keys(r).forEach((t) => {
@@ -95,17 +96,17 @@ const x = {
95
96
  }
96
97
  };
97
98
  export {
98
- Z as Alert,
99
- J as BarChart,
99
+ Y as Alert,
100
+ q as BarChart,
100
101
  $ as Button,
101
102
  oo as ButtonGroup,
102
103
  ro as Checkbox,
103
104
  to as CheckboxGroup,
104
105
  mo as Col,
105
106
  io as ColorPicker,
106
- so as ConfigProvider,
107
+ co as ConfigProvider,
107
108
  uo as DatePicker,
108
- s as Dialog,
109
+ c as Dialog,
109
110
  P as DialogComponent,
110
111
  Co as Draggable,
111
112
  ko as Drawer,
@@ -127,10 +128,10 @@ export {
127
128
  Ho as ImagePreviewGroup,
128
129
  Uo as Input,
129
130
  Wo as InputGroup,
130
- Zo as InputNumber,
131
+ Yo as InputNumber,
131
132
  Qo as InputPassword,
132
- Xo as InputSearch,
133
- Jo as InputTag,
133
+ Vo as InputSearch,
134
+ qo as InputTag,
134
135
  A as LOCALES,
135
136
  $o as Layout,
136
137
  oe as LayoutContent,
@@ -141,8 +142,8 @@ export {
141
142
  fe as Link,
142
143
  xe as Menu,
143
144
  ie as MenuItem,
144
- ce as MenuItemGroup,
145
- se as MenuSubMenu,
145
+ se as MenuItemGroup,
146
+ ce as MenuSubMenu,
146
147
  u as Message,
147
148
  g as MessageBox,
148
149
  C as MessageComponent,
@@ -172,16 +173,16 @@ export {
172
173
  Ke as SkeletonLine,
173
174
  Ue as SkeletonShape,
174
175
  Qe as Slider,
175
- Ye as Space,
176
- qe as Spin,
177
- Ve as Step,
176
+ Xe as Space,
177
+ Ze as Spin,
178
+ Je as Step,
178
179
  $e as Steps,
179
180
  er as Switch,
180
181
  tr as TABLE_LOCALE_EN_US,
181
182
  pr as TABLE_LOCALE_ZH_CN,
182
183
  fr as TabPane,
183
184
  ir as Table,
184
- cr as TableColumn,
185
+ sr as TableColumn,
185
186
  nr as Tabs,
186
187
  lr as Tag,
187
188
  dr as Tbody,
@@ -201,39 +202,40 @@ export {
201
202
  Hr as TrendChart,
202
203
  Ur as Trigger,
203
204
  Qr as Upload,
205
+ Xr as VirtualList,
204
206
  K as Watermark,
205
207
  So as WeekPicker,
206
208
  Po as YearPicker,
207
- Yr as addIcon,
209
+ Zr as addIcon,
208
210
  M as applyThemeColor,
209
- $r as canonicalIconNames,
210
- pt as configProviderInjectionKey,
211
+ et as canonicalIconNames,
212
+ at as configProviderInjectionKey,
211
213
  x as default,
212
214
  W as enUS,
213
- at as finiconCategories,
214
- xt as finiconIconNames,
215
- it as finiconIcons,
216
- ft as finiconIconsMeta,
217
- lt as formInjectionKey,
218
- ut as formItemInjectionKey,
215
+ nt as finiconCategories,
216
+ st as finiconIconNames,
217
+ ct as finiconIcons,
218
+ xt as finiconIconsMeta,
219
+ dt as formInjectionKey,
220
+ gt as formItemInjectionKey,
219
221
  mr as formatLocaleText,
220
222
  B as formatMessage,
221
223
  N as generatePalette,
222
224
  E as getGlobalLocale,
223
- Zr as hasIcon,
224
- ot as publicIconAliases,
225
- et as publicIconNames,
226
- ct as registerFiniconIcons,
227
- qr as registerIcons,
228
- gt as registerPublicIcons,
229
- Jr as removeIcon,
230
- rt as searchPublicIcons,
225
+ qr as hasIcon,
226
+ rt as publicIconAliases,
227
+ tt as publicIconNames,
228
+ lt as registerFiniconIcons,
229
+ Jr as registerIcons,
230
+ Tt as registerPublicIcons,
231
+ $r as removeIcon,
232
+ pt as searchPublicIcons,
231
233
  O as setGlobalLocale,
232
234
  F as useDraggable,
233
235
  y as useFormItem,
234
236
  R as useLocale,
235
237
  D as useResizeObserver,
236
238
  z as vDraggable,
237
- Tt as vWatermark,
238
- X as zhCN
239
+ Pt as vWatermark,
240
+ V as zhCN
239
241
  };