@indielayer/ui 1.16.0 → 1.17.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/docs/components/menu/DocsMenu.vue +3 -0
- package/docs/pages/component/infiniteLoader/composable.vue +168 -0
- package/docs/pages/component/infiniteLoader/index.vue +36 -0
- package/docs/pages/component/infiniteLoader/usage.vue +161 -0
- package/docs/pages/component/virtualGrid/index.vue +29 -0
- package/docs/pages/component/virtualGrid/usage.vue +20 -0
- package/docs/pages/component/virtualList/dynamicHeight.vue +75 -0
- package/docs/pages/component/virtualList/index.vue +36 -0
- package/docs/pages/component/virtualList/usage.vue +17 -0
- package/docs/search/components.json +1 -1
- package/lib/components/select/Select.vue.js +35 -35
- package/lib/components/table/Table.vue.js +1 -1
- package/lib/composables/useVirtualList.d.ts +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +88 -76
- package/lib/index.umd.js +4 -4
- package/lib/install.js +15 -7
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual/components/infiniteLoader/InfiniteLoader.test.d.ts +1 -0
- package/lib/virtual/components/infiniteLoader/InfiniteLoader.vue.d.ts +49 -0
- package/lib/virtual/components/infiniteLoader/InfiniteLoader.vue.js +21 -0
- package/lib/virtual/components/infiniteLoader/InfiniteLoader.vue2.js +4 -0
- package/lib/virtual/components/virtualGrid/VirtualGrid.vue.d.ts +185 -0
- package/lib/virtual/components/virtualGrid/VirtualGrid.vue.js +241 -0
- package/lib/virtual/components/virtualGrid/VirtualGrid.vue2.js +4 -0
- package/lib/virtual/components/virtualGrid/types.d.ts +138 -0
- package/lib/virtual/components/virtualList/VirtualList.test.d.ts +1 -0
- package/lib/virtual/components/virtualList/VirtualList.vue.d.ts +135 -0
- package/lib/virtual/components/virtualList/VirtualList.vue.js +157 -0
- package/lib/virtual/components/virtualList/VirtualList.vue2.js +4 -0
- package/lib/virtual/components/virtualList/isDynamicRowHeight.d.ts +2 -0
- package/lib/virtual/components/virtualList/isDynamicRowHeight.js +6 -0
- package/lib/virtual/components/virtualList/types.d.ts +115 -0
- package/lib/virtual/components/virtualList/useDynamicRowHeight.d.ts +7 -0
- package/lib/virtual/components/virtualList/useDynamicRowHeight.js +69 -0
- package/lib/virtual/components/virtualList/useDynamicRowHeight.test.d.ts +1 -0
- package/lib/virtual/composables/infinite-loader/scanForUnloadedIndices.d.ts +8 -0
- package/lib/virtual/composables/infinite-loader/scanForUnloadedIndices.js +41 -0
- package/lib/virtual/composables/infinite-loader/scanForUnloadedIndices.test.d.ts +1 -0
- package/lib/virtual/composables/infinite-loader/types.d.ts +30 -0
- package/lib/virtual/composables/infinite-loader/useInfiniteLoader.d.ts +6 -0
- package/lib/virtual/composables/infinite-loader/useInfiniteLoader.js +42 -0
- package/lib/virtual/composables/infinite-loader/useInfiniteLoader.test.d.ts +1 -0
- package/lib/virtual/core/createCachedBounds.d.ts +6 -0
- package/lib/virtual/core/createCachedBounds.js +55 -0
- package/lib/virtual/core/getEstimatedSize.d.ts +6 -0
- package/lib/virtual/core/getEstimatedSize.js +22 -0
- package/lib/virtual/core/getOffsetForIndex.d.ts +11 -0
- package/lib/virtual/core/getOffsetForIndex.js +40 -0
- package/lib/virtual/core/getStartStopIndices.d.ts +13 -0
- package/lib/virtual/core/getStartStopIndices.js +31 -0
- package/lib/virtual/core/getStartStopIndices.test.d.ts +1 -0
- package/lib/virtual/core/types.d.ts +11 -0
- package/lib/virtual/core/useCachedBounds.d.ts +7 -0
- package/lib/virtual/core/useCachedBounds.js +18 -0
- package/lib/virtual/core/useIsRtl.d.ts +2 -0
- package/lib/virtual/core/useIsRtl.js +15 -0
- package/lib/virtual/core/useItemSize.d.ts +5 -0
- package/lib/virtual/core/useItemSize.js +27 -0
- package/lib/virtual/core/useVirtualizer.d.ts +33 -0
- package/lib/virtual/core/useVirtualizer.js +171 -0
- package/lib/virtual/index.d.ts +9 -0
- package/lib/virtual/test-utils/mockResizeObserver.d.ts +15 -0
- package/lib/virtual/types.d.ts +2 -0
- package/lib/virtual/utils/adjustScrollOffsetForRtl.d.ts +7 -0
- package/lib/virtual/utils/adjustScrollOffsetForRtl.js +24 -0
- package/lib/virtual/utils/areArraysEqual.d.ts +1 -0
- package/lib/virtual/utils/assert.d.ts +1 -0
- package/lib/virtual/utils/assert.js +7 -0
- package/lib/virtual/utils/getRTLOffsetType.d.ts +2 -0
- package/lib/virtual/utils/getRTLOffsetType.js +13 -0
- package/lib/virtual/utils/getScrollbarSize.d.ts +2 -0
- package/lib/virtual/utils/getScrollbarSize.js +11 -0
- package/lib/virtual/utils/isRtl.d.ts +1 -0
- package/lib/virtual/utils/isRtl.js +12 -0
- package/lib/virtual/utils/parseNumericStyleValue.d.ts +2 -0
- package/lib/virtual/utils/parseNumericStyleValue.js +15 -0
- package/lib/virtual/utils/shallowCompare.d.ts +1 -0
- package/lib/virtual/utils/shallowCompare.js +14 -0
- package/package.json +1 -1
- package/src/components/select/Select.vue +3 -2
- package/src/components/table/Table.vue +1 -1
- package/src/composables/useVirtualList.ts +1 -1
- package/src/index.ts +1 -0
- package/src/install.ts +9 -3
- package/src/version.ts +1 -1
- package/src/virtual/README.md +285 -0
- package/src/virtual/components/infiniteLoader/InfiniteLoader.test.ts +96 -0
- package/src/virtual/components/infiniteLoader/InfiniteLoader.vue +18 -0
- package/src/virtual/components/virtualGrid/VirtualGrid.vue +322 -0
- package/src/virtual/components/virtualGrid/types.ts +160 -0
- package/src/virtual/components/virtualList/VirtualList.test.ts +47 -0
- package/src/virtual/components/virtualList/VirtualList.vue +233 -0
- package/src/virtual/components/virtualList/isDynamicRowHeight.ts +13 -0
- package/src/virtual/components/virtualList/types.ts +127 -0
- package/src/virtual/components/virtualList/useDynamicRowHeight.test.ts +183 -0
- package/src/virtual/components/virtualList/useDynamicRowHeight.ts +147 -0
- package/src/virtual/composables/infinite-loader/scanForUnloadedIndices.test.ts +141 -0
- package/src/virtual/composables/infinite-loader/scanForUnloadedIndices.ts +82 -0
- package/src/virtual/composables/infinite-loader/types.ts +36 -0
- package/src/virtual/composables/infinite-loader/useInfiniteLoader.test.ts +236 -0
- package/src/virtual/composables/infinite-loader/useInfiniteLoader.ts +88 -0
- package/src/virtual/core/createCachedBounds.ts +72 -0
- package/src/virtual/core/getEstimatedSize.ts +29 -0
- package/src/virtual/core/getOffsetForIndex.ts +90 -0
- package/src/virtual/core/getStartStopIndices.test.ts +45 -0
- package/src/virtual/core/getStartStopIndices.ts +71 -0
- package/src/virtual/core/types.ts +17 -0
- package/src/virtual/core/useCachedBounds.ts +21 -0
- package/src/virtual/core/useIsRtl.ts +25 -0
- package/src/virtual/core/useItemSize.ts +34 -0
- package/src/virtual/core/useVirtualizer.ts +294 -0
- package/src/virtual/index.ts +25 -0
- package/src/virtual/test-utils/mockResizeObserver.ts +162 -0
- package/src/virtual/types.ts +3 -0
- package/src/virtual/utils/adjustScrollOffsetForRtl.ts +37 -0
- package/src/virtual/utils/areArraysEqual.ts +13 -0
- package/src/virtual/utils/assert.ts +10 -0
- package/src/virtual/utils/getRTLOffsetType.ts +51 -0
- package/src/virtual/utils/getScrollbarSize.ts +24 -0
- package/src/virtual/utils/isRtl.ts +13 -0
- package/src/virtual/utils/parseNumericStyleValue.ts +19 -0
- package/src/virtual/utils/shallowCompare.ts +29 -0
- package/volar.d.ts +3 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Fe, mergeModels as ce, computed as w, ref as b, useModel as Pe, watch as D, nextTick as Z, unref as n, onUnmounted as Ee, openBlock as s, createBlock as x, mergeProps as U, toHandlers as ve, withCtx as m, createElementVNode as F, createElementBlock as f, normalizeClass as k, Fragment as O, createTextVNode as
|
|
1
|
+
import { defineComponent as Fe, mergeModels as ce, computed as w, ref as b, useModel as Pe, watch as D, nextTick as Z, unref as n, onUnmounted as Ee, openBlock as s, createBlock as x, mergeProps as U, toHandlers as ve, withCtx as m, createElementVNode as F, createElementBlock as f, normalizeClass as k, Fragment as O, createTextVNode as B, toDisplayString as g, createVNode as z, renderSlot as $, createCommentVNode as L, renderList as j, createSlots as He, normalizeStyle as We, withModifiers as qe, withDirectives as Ue, vModelSelect as je } from "vue";
|
|
2
2
|
import { useEventListener as Xe, useResizeObserver as Ke } from "../../node_modules/.pnpm/@vueuse_core@11.1.0_vue@3.5.10_typescript@5.2.2_/node_modules/@vueuse/core/index.js";
|
|
3
3
|
import { useColors as Ge } from "../../composables/useColors.js";
|
|
4
4
|
import { useCommon as he } from "../../composables/useCommon.js";
|
|
@@ -54,7 +54,7 @@ const sl = { class: "relative" }, rl = {
|
|
|
54
54
|
},
|
|
55
55
|
virtualListOverscan: {
|
|
56
56
|
type: Number,
|
|
57
|
-
default:
|
|
57
|
+
default: 10
|
|
58
58
|
},
|
|
59
59
|
placement: String
|
|
60
60
|
}, ml = {
|
|
@@ -68,19 +68,19 @@ const sl = { class: "relative" }, rl = {
|
|
|
68
68
|
filter: { default: "" },
|
|
69
69
|
filterModifiers: {}
|
|
70
70
|
}),
|
|
71
|
-
emits: /* @__PURE__ */ ce([..._.emits(), "close"], ["update:filter"]),
|
|
71
|
+
emits: /* @__PURE__ */ ce([..._.emits(), "close", "open"], ["update:filter"]),
|
|
72
72
|
setup(ee, { expose: ge, emit: Ce }) {
|
|
73
|
-
const i = ee,
|
|
73
|
+
const i = ee, I = Ce, p = w(() => i.multiple || i.multipleCheckbox), X = b(null), K = b(null), P = b(null), C = b(null), G = b(null), c = b(), V = Pe(ee, "filter"), E = b(null), A = w(() => i.disabled || i.loading || i.readonly), we = w(() => !i.loading && !i.readonly && !i.disabled && i.clearable && !J(o.value)), o = w({
|
|
74
74
|
get() {
|
|
75
75
|
return p.value ? i.modelValue ? Array.isArray(i.modelValue) ? i.modelValue : [i.modelValue] : [] : i.modelValue;
|
|
76
76
|
},
|
|
77
77
|
set(e) {
|
|
78
|
-
|
|
78
|
+
I("update:modelValue", e);
|
|
79
79
|
}
|
|
80
80
|
}), Oe = w(() => i.options ? new Map(i.options.map((e) => [e, e.label.toLowerCase()])) : /* @__PURE__ */ new Map()), h = w(() => {
|
|
81
81
|
if (!i.options || i.options.length === 0)
|
|
82
82
|
return [];
|
|
83
|
-
const e =
|
|
83
|
+
const e = V.value.toLowerCase(), t = V.value !== "", l = new Set(
|
|
84
84
|
p.value && Array.isArray(o.value) ? o.value : []
|
|
85
85
|
), a = p.value ? null : o.value, r = Oe.value;
|
|
86
86
|
return i.options.filter((u) => {
|
|
@@ -109,19 +109,19 @@ const sl = { class: "relative" }, rl = {
|
|
|
109
109
|
bottomOffset: i.virtualListOffsetBottom || 0,
|
|
110
110
|
overscan: i.virtualListOverscan
|
|
111
111
|
}
|
|
112
|
-
),
|
|
112
|
+
), T = w(() => {
|
|
113
113
|
var e;
|
|
114
114
|
return (e = C.value) == null ? void 0 : e.isOpen;
|
|
115
115
|
});
|
|
116
|
-
D(
|
|
116
|
+
D(V, (e) => {
|
|
117
117
|
e && (c.value = void 0, H(-1));
|
|
118
|
-
}), D(
|
|
118
|
+
}), D(T, (e) => {
|
|
119
119
|
e ? (Re(), (p.value || typeof c.value > "u") && H(-1), setTimeout(() => {
|
|
120
120
|
requestAnimationFrame(() => {
|
|
121
121
|
var t;
|
|
122
122
|
ae(c.value || 0), i.filterable && ((t = E.value) == null || t.focus());
|
|
123
123
|
});
|
|
124
|
-
}, 50)) : (i.filterable && (
|
|
124
|
+
}, 50), I("open")) : (i.filterable && (V.value = ""), I("close"));
|
|
125
125
|
});
|
|
126
126
|
function Re() {
|
|
127
127
|
if (p.value) {
|
|
@@ -180,7 +180,7 @@ const sl = { class: "relative" }, rl = {
|
|
|
180
180
|
a !== -1 ? o.value.splice(a, 1) : o.value.push(e);
|
|
181
181
|
} else
|
|
182
182
|
o.value = [e];
|
|
183
|
-
|
|
183
|
+
I("update:modelValue", o.value), i.filterable && setTimeout(() => {
|
|
184
184
|
var a;
|
|
185
185
|
(a = E.value) == null || a.focus();
|
|
186
186
|
});
|
|
@@ -199,9 +199,9 @@ const sl = { class: "relative" }, rl = {
|
|
|
199
199
|
if (e.stopPropagation(), A.value || !Array.isArray(o.value))
|
|
200
200
|
return;
|
|
201
201
|
const l = o.value.indexOf(t);
|
|
202
|
-
l !== -1 && (o.value.splice(l, 1),
|
|
202
|
+
l !== -1 && (o.value.splice(l, 1), I("update:modelValue", o.value));
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function S(e) {
|
|
205
205
|
var l;
|
|
206
206
|
const t = (l = i.options) == null ? void 0 : l.find((a) => a.value === e);
|
|
207
207
|
return t ? t.label : "";
|
|
@@ -215,7 +215,7 @@ const sl = { class: "relative" }, rl = {
|
|
|
215
215
|
setError: Ve,
|
|
216
216
|
isFocused: Te,
|
|
217
217
|
isInsideForm: Se
|
|
218
|
-
} = _(i, { focus: se, emit:
|
|
218
|
+
} = _(i, { focus: se, emit: I, withListeners: !0 }), Be = w(() => {
|
|
219
219
|
const { focus: e, blur: t } = n(ne);
|
|
220
220
|
return {
|
|
221
221
|
focus: e,
|
|
@@ -223,7 +223,7 @@ const sl = { class: "relative" }, rl = {
|
|
|
223
223
|
};
|
|
224
224
|
});
|
|
225
225
|
let R = null;
|
|
226
|
-
D([Te,
|
|
226
|
+
D([Te, T], ([e, t]) => {
|
|
227
227
|
e || t ? R || (R = Xe(document, "keydown", ze)) : R && (R(), R = null);
|
|
228
228
|
}, {
|
|
229
229
|
immediate: !0
|
|
@@ -234,13 +234,13 @@ const sl = { class: "relative" }, rl = {
|
|
|
234
234
|
var t, l, a, r, u;
|
|
235
235
|
if (h.value.length !== 0)
|
|
236
236
|
if (e.code === "ArrowDown") {
|
|
237
|
-
if (e.preventDefault(), !
|
|
237
|
+
if (e.preventDefault(), !T.value) {
|
|
238
238
|
(t = C.value) == null || t.show();
|
|
239
239
|
return;
|
|
240
240
|
}
|
|
241
241
|
H(c.value, "down");
|
|
242
242
|
} else if (e.code === "ArrowUp") {
|
|
243
|
-
if (e.preventDefault(), !
|
|
243
|
+
if (e.preventDefault(), !T.value) {
|
|
244
244
|
(l = C.value) == null || l.show();
|
|
245
245
|
return;
|
|
246
246
|
}
|
|
@@ -248,7 +248,7 @@ const sl = { class: "relative" }, rl = {
|
|
|
248
248
|
} else if (e.code === "Enter" || e.code === "Space") {
|
|
249
249
|
if (e.code === "Space" && i.filterable)
|
|
250
250
|
return;
|
|
251
|
-
if (e.preventDefault(), e.stopPropagation(), !
|
|
251
|
+
if (e.preventDefault(), e.stopPropagation(), !T.value) {
|
|
252
252
|
(a = C.value) == null || a.show();
|
|
253
253
|
return;
|
|
254
254
|
}
|
|
@@ -257,7 +257,7 @@ const sl = { class: "relative" }, rl = {
|
|
|
257
257
|
ie(d.value), !d.keepOpenOnClick && (!p.value || i.multipleCheckbox) && ((r = C.value) == null || r.hide());
|
|
258
258
|
}
|
|
259
259
|
} else
|
|
260
|
-
e.code === "Tab" &&
|
|
260
|
+
e.code === "Tab" && T.value && (e.preventDefault(), (u = C.value) == null || u.hide(), i.native || Z(() => {
|
|
261
261
|
var d;
|
|
262
262
|
(d = K.value) == null || d.$el.focus();
|
|
263
263
|
}));
|
|
@@ -315,17 +315,17 @@ const sl = { class: "relative" }, rl = {
|
|
|
315
315
|
J(o.value) ? (s(), f(O, { key: 1 }, [
|
|
316
316
|
e.placeholder ? (s(), f("div", rl, g(e.placeholder), 1)) : (s(), f("div", nl, " "))
|
|
317
317
|
], 64)) : (s(), f(O, { key: 0 }, [
|
|
318
|
-
|
|
318
|
+
B(g(S(o.value)), 1)
|
|
319
319
|
], 64))
|
|
320
320
|
], 2)) : (s(), f(O, { key: 1 }, [
|
|
321
|
-
|
|
321
|
+
z(ye, {
|
|
322
322
|
ref_key: "popoverRef",
|
|
323
323
|
ref: C,
|
|
324
324
|
disabled: A.value,
|
|
325
325
|
placement: e.placement
|
|
326
326
|
}, {
|
|
327
327
|
content: m(() => [
|
|
328
|
-
|
|
328
|
+
z(be, {
|
|
329
329
|
class: k(n(y).content)
|
|
330
330
|
}, {
|
|
331
331
|
default: m(() => [
|
|
@@ -334,11 +334,11 @@ const sl = { class: "relative" }, rl = {
|
|
|
334
334
|
key: 0,
|
|
335
335
|
class: k(n(y).search)
|
|
336
336
|
}, [
|
|
337
|
-
|
|
337
|
+
z(il, {
|
|
338
338
|
ref_key: "filterRef",
|
|
339
339
|
ref: E,
|
|
340
|
-
modelValue:
|
|
341
|
-
"onUpdate:modelValue": t[2] || (t[2] = (l) =>
|
|
340
|
+
modelValue: V.value,
|
|
341
|
+
"onUpdate:modelValue": t[2] || (t[2] = (l) => V.value = l),
|
|
342
342
|
placeholder: e.filterPlaceholder,
|
|
343
343
|
"skip-form-registry": "",
|
|
344
344
|
"data-1p-ignore": "",
|
|
@@ -380,7 +380,7 @@ const sl = { class: "relative" }, rl = {
|
|
|
380
380
|
$(e.$slots, "prefix", {
|
|
381
381
|
item: l.data
|
|
382
382
|
}, () => [
|
|
383
|
-
|
|
383
|
+
B(g(l.data.prefix), 1)
|
|
384
384
|
])
|
|
385
385
|
]),
|
|
386
386
|
key: "0"
|
|
@@ -391,7 +391,7 @@ const sl = { class: "relative" }, rl = {
|
|
|
391
391
|
$(e.$slots, "suffix", {
|
|
392
392
|
item: l.data
|
|
393
393
|
}, () => [
|
|
394
|
-
|
|
394
|
+
B(g(l.data.suffix), 1)
|
|
395
395
|
])
|
|
396
396
|
]),
|
|
397
397
|
key: "1"
|
|
@@ -410,7 +410,7 @@ const sl = { class: "relative" }, rl = {
|
|
|
410
410
|
popover: C.value,
|
|
411
411
|
selected: o.value,
|
|
412
412
|
disabled: A.value,
|
|
413
|
-
label:
|
|
413
|
+
label: S(o.value)
|
|
414
414
|
}, () => [
|
|
415
415
|
F("div", {
|
|
416
416
|
class: k([n(y).box])
|
|
@@ -446,7 +446,7 @@ const sl = { class: "relative" }, rl = {
|
|
|
446
446
|
];
|
|
447
447
|
}),
|
|
448
448
|
default: m(() => [
|
|
449
|
-
|
|
449
|
+
B(" " + g(S(l)), 1)
|
|
450
450
|
]),
|
|
451
451
|
_: 2
|
|
452
452
|
}, 1032, ["outlined", "disabled", "style", "onRemove"]);
|
|
@@ -461,8 +461,8 @@ const sl = { class: "relative" }, rl = {
|
|
|
461
461
|
return (a = de.value) == null ? void 0 : a.toggle();
|
|
462
462
|
}, ["stop"]))
|
|
463
463
|
}, "+" + g(q.value), 3)) : L("", !0)
|
|
464
|
-
], 2)) : !p.value && !J(o.value) &&
|
|
465
|
-
|
|
464
|
+
], 2)) : !p.value && !J(o.value) && S(o.value) !== "" ? (s(), f(O, { key: 1 }, [
|
|
465
|
+
B(g(S(o.value)), 1)
|
|
466
466
|
], 64)) : (s(), f(O, { key: 2 }, [
|
|
467
467
|
e.placeholder ? (s(), f("div", ul, g(e.placeholder), 1)) : (s(), f("div", dl, " "))
|
|
468
468
|
], 64))
|
|
@@ -481,7 +481,7 @@ const sl = { class: "relative" }, rl = {
|
|
|
481
481
|
placement: "auto-start"
|
|
482
482
|
}, {
|
|
483
483
|
content: m(() => [
|
|
484
|
-
|
|
484
|
+
z(be, { class: "p-2 flex gap-2 flex-wrap" }, {
|
|
485
485
|
default: m(() => {
|
|
486
486
|
var l;
|
|
487
487
|
return [
|
|
@@ -506,7 +506,7 @@ const sl = { class: "relative" }, rl = {
|
|
|
506
506
|
];
|
|
507
507
|
}),
|
|
508
508
|
default: m(() => [
|
|
509
|
-
|
|
509
|
+
B(" " + g(S(a)), 1)
|
|
510
510
|
]),
|
|
511
511
|
_: 2
|
|
512
512
|
}, 1032, ["outlined", "disabled", "onRemove"]);
|
|
@@ -547,7 +547,7 @@ const sl = { class: "relative" }, rl = {
|
|
|
547
547
|
onClick: t[4] || (t[4] = //@ts-ignore
|
|
548
548
|
(...l) => n(Q) && n(Q)(...l))
|
|
549
549
|
}, [
|
|
550
|
-
|
|
550
|
+
z(me, {
|
|
551
551
|
icon: n(Ze),
|
|
552
552
|
class: k([n(y).icon, "cursor-pointer"])
|
|
553
553
|
}, null, 8, ["icon", "class"])
|
|
@@ -560,7 +560,7 @@ const sl = { class: "relative" }, rl = {
|
|
|
560
560
|
key: 0,
|
|
561
561
|
size: e.size
|
|
562
562
|
}, null, 8, ["size"])) : $(e.$slots, "icon", { key: 1 }, () => [
|
|
563
|
-
|
|
563
|
+
z(me, {
|
|
564
564
|
icon: n(_e),
|
|
565
565
|
class: k(n(y).icon)
|
|
566
566
|
}, null, 8, ["icon", "class"])
|
package/lib/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export { default as version } from './version';
|
|
|
3
3
|
export * from './components';
|
|
4
4
|
export * from './composables';
|
|
5
5
|
export * from './themes';
|
|
6
|
+
export * from './virtual';
|
|
6
7
|
export type { UITheme, ComponentThemes } from './theme';
|
|
7
8
|
export { default as createUI, type UIOptions } from './create';
|
|
8
9
|
export { default } from './install';
|