@knime/jsonforms 1.5.10 → 1.5.11
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/CHANGELOG.md +8 -0
- package/dist/{AnyOfTwinlist-DMizLIwn.js → AnyOfTwinlist-Bdrhc6uW.js} +1 -1
- package/dist/{BaseButton-ew6uEaHi.js → BaseButton-Dy2rQt0b.js} +1 -1
- package/dist/{Button-DI7EKUmu.js → Button-BdlfMrsO.js} +2 -2
- package/dist/{Checkbox-DPq-j4rC.js → Checkbox-unJMpX-O.js} +1 -1
- package/dist/{CheckboxControl-Tnv1xVel.js → CheckboxControl-Ck8QAKm0.js} +2 -2
- package/dist/{Checkboxes-CtN15klz.js → Checkboxes-CtxOlG_P.js} +2 -2
- package/dist/{CheckboxesControl-DcVkxf7W.js → CheckboxesControl-LMvcE5FC.js} +2 -2
- package/dist/{ColumnFilter-Cw2PtnrT.js → ColumnFilter-B6JiVV4K.js} +1 -1
- package/dist/{ColumnSelect-Df-m3Md2.js → ColumnSelect-BnMmvl1p.js} +2 -2
- package/dist/{ComboBoxControl-DC3W4kPq.js → ComboBoxControl-DXjw9HYV.js} +4 -4
- package/dist/{DateControl-D70zb_g8.js → DateControl-DXTCop2C.js} +1 -1
- package/dist/{DateTimeControl-C-ef6bOV.js → DateTimeControl-CBBmw-o9.js} +2 -2
- package/dist/{DateTimeFormatInput-t-O7ZqrA.js → DateTimeFormatInput-B8F-bku1.js} +5 -5
- package/dist/{DateTimeFormatPickerControl-BbOu24lA.js → DateTimeFormatPickerControl-Dk70ATRK.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-9e1ef9Hf.js → DateTimeFormatPickerWithTypeControl-DpmscK0S.js} +3 -3
- package/dist/{DateTimeInput-C32yoECp.js → DateTimeInput-BAlTkrLY.js} +3524 -3603
- package/dist/Dropdown-DMuumgWl.js +605 -0
- package/dist/{DropdownControl-YplxM6ck.js → DropdownControl-BXGa2Zqy.js} +1 -1
- package/dist/{DropdownControl.vue_vue_type_script_setup_true_lang-ByoiTkIU.js → DropdownControl.vue_vue_type_script_setup_true_lang-BoxbVXvP.js} +4 -4
- package/dist/{FunctionButton-Cee1Q-EN.js → FunctionButton-DeDZhG-y.js} +2 -2
- package/dist/{HorizontalLayout-BtuP4oCU.js → HorizontalLayout-Bu_HoqtD.js} +1 -1
- package/dist/{InputField-DHXXBWSv.js → InputField-D4q-r9Uh.js} +1 -1
- package/dist/{IntegerControl-B64xghdA.js → IntegerControl-YK4WjBn5.js} +1 -1
- package/dist/{IntervalControl-NldC56aj.js → IntervalControl-DgNMRmkf.js} +6 -6
- package/dist/{MultiselectListBox-BUWB5ZWr.js → MultiselectListBox-gv3qTuQr.js} +2 -2
- package/dist/{NameFilter-BQhzv9F3.js → NameFilter-BgLhjcRh.js} +1 -1
- package/dist/{NumberControl-EVY_3Hwl.js → NumberControl-D6fxN7Ak.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-CA0OxGuU.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CS09VLWk.js} +2 -2
- package/dist/{NumberInput-CI1ee8it.js → NumberInput-DpPitBwb.js} +1 -1
- package/dist/{OneOfDropdown-BPZeE-Bn.js → OneOfDropdown-BmiBhFyV.js} +1 -1
- package/dist/{RadioControl-DbX_Wfuv.js → RadioControl-Bz45ai5B.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-BJdqHTLu.js → RadioControlBase.vue_vue_type_script_setup_true_lang-BMt_Hsny.js} +2 -2
- package/dist/{RichTextControl-Dl4V0nno.js → RichTextControl-CboEr8Ha.js} +7 -7
- package/dist/{SectionLayout-CF6zovCM.js → SectionLayout-G_hSkGkd.js} +2 -2
- package/dist/{SimpleButtonControl-BwlE_a5H.js → SimpleButtonControl-Ctzf8fFf.js} +2 -2
- package/dist/{SimpleTwinlistControl-Cbwa6xtL.js → SimpleTwinlistControl-Dba-YIhS.js} +2 -2
- package/dist/{SortListControl-BzbPvx8-.js → SortListControl-nE_ccGpj.js} +4 -4
- package/dist/{TextAreaControl-BdTbCiQe.js → TextAreaControl-DzkUHA8F.js} +1 -1
- package/dist/{TextControl-PPpaK3OZ.js → TextControl-D2fK-gNn.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-DndraaDL.js → TextControl.vue_vue_type_script_setup_true_lang-CJiAVESn.js} +3 -3
- package/dist/{TimeControl-CHQYhf6G.js → TimeControl-CM6oOWK0.js} +2 -2
- package/dist/{TwinlistControl-CqDn6X1h.js → TwinlistControl-z14pmNeU.js} +4 -4
- package/dist/{TwinlistLoadingInfo-PbU9BJjv.js → TwinlistLoadingInfo-D0MkbjKj.js} +5 -5
- package/dist/{ValueSwitch-CA4_rkUU.js → ValueSwitch-4X-VU2s4.js} +1 -1
- package/dist/{ValueSwitchControl-5uuRkxf2.js → ValueSwitchControl-BBSNxQbR.js} +1 -1
- package/dist/{VerticalLayout-C4FOz-7p.js → VerticalLayout-BAZbPfB7.js} +2 -2
- package/dist/{VerticalLayoutBase-DQCRpzUA.js → VerticalLayoutBase-ixPAQHbd.js} +1 -1
- package/dist/VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-BruTDvDa.js +13312 -0
- package/dist/{ZonedDateTimeControl-BcZrk010.js → ZonedDateTimeControl-DLHI_f3d.js} +4 -4
- package/dist/{floating-ui.vue.esm-B1dY_Hbh.js → floating-ui.vue-B-MrqKCT.js} +375 -342
- package/dist/index-Bf0xDq3g.js +373 -0
- package/dist/knime-jsonforms.js +5 -5
- package/dist/{localTimeUtils-ClDpVqfn.js → localTimeUtils-DCUpSGnm.js} +1 -1
- package/dist/{magic-string.es-D4UQQyt0.js → magic-string.es-CTx3IfWA.js} +264 -265
- package/dist/{svgWithTitle-C6ghivXy.js → svgWithTitle-BIyPeUQw.js} +1 -1
- package/dist/testing.js +2 -2
- package/package.json +6 -11
- package/dist/Dropdown-B6CD0Mt_.js +0 -692
- package/dist/VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-Bke7i9o8.js +0 -14934
- package/dist/index-CkuSIXs2.js +0 -331
package/dist/index-CkuSIXs2.js
DELETED
|
@@ -1,331 +0,0 @@
|
|
|
1
|
-
import { ref as g, watch as E, customRef as D, getCurrentScope as j, onScopeDispose as B, unref as $, computed as m, shallowRef as H, getCurrentInstance as N, onMounted as G } from "vue";
|
|
2
|
-
function K(e, t) {
|
|
3
|
-
let n, o, r;
|
|
4
|
-
const u = g(!0), l = () => {
|
|
5
|
-
u.value = !0, r();
|
|
6
|
-
};
|
|
7
|
-
E(e, l, { flush: "sync" });
|
|
8
|
-
const c = typeof t == "function" ? t : t.get, s = typeof t == "function" ? void 0 : t.set, a = D((f, p) => (o = f, r = p, {
|
|
9
|
-
get() {
|
|
10
|
-
return u.value && (n = c(), u.value = !1), o(), n;
|
|
11
|
-
},
|
|
12
|
-
set(i) {
|
|
13
|
-
s == null || s(i);
|
|
14
|
-
}
|
|
15
|
-
}));
|
|
16
|
-
return Object.isExtensible(a) && (a.trigger = l), a;
|
|
17
|
-
}
|
|
18
|
-
function C(e) {
|
|
19
|
-
return j() ? (B(e), !0) : !1;
|
|
20
|
-
}
|
|
21
|
-
function O(e) {
|
|
22
|
-
return typeof e == "function" ? e() : $(e);
|
|
23
|
-
}
|
|
24
|
-
const T = typeof window < "u" && typeof document < "u", q = Object.prototype.toString, U = (e) => q.call(e) === "[object Object]", x = () => {
|
|
25
|
-
}, X = /* @__PURE__ */ Y();
|
|
26
|
-
function Y() {
|
|
27
|
-
var e;
|
|
28
|
-
return T && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
29
|
-
}
|
|
30
|
-
function h(e) {
|
|
31
|
-
var t;
|
|
32
|
-
const n = O(e);
|
|
33
|
-
return (t = n == null ? void 0 : n.$el) != null ? t : n;
|
|
34
|
-
}
|
|
35
|
-
const w = T ? window : void 0;
|
|
36
|
-
function y(...e) {
|
|
37
|
-
let t, n, o, r;
|
|
38
|
-
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, r] = e, t = w) : [t, n, o, r] = e, !t)
|
|
39
|
-
return x;
|
|
40
|
-
Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
|
|
41
|
-
const u = [], l = () => {
|
|
42
|
-
u.forEach((f) => f()), u.length = 0;
|
|
43
|
-
}, c = (f, p, i, d) => (f.addEventListener(p, i, d), () => f.removeEventListener(p, i, d)), s = E(
|
|
44
|
-
() => [h(t), O(r)],
|
|
45
|
-
([f, p]) => {
|
|
46
|
-
if (l(), !f)
|
|
47
|
-
return;
|
|
48
|
-
const i = U(p) ? { ...p } : p;
|
|
49
|
-
u.push(
|
|
50
|
-
...n.flatMap((d) => o.map((v) => c(f, d, v, i)))
|
|
51
|
-
);
|
|
52
|
-
},
|
|
53
|
-
{ immediate: !0, flush: "post" }
|
|
54
|
-
), a = () => {
|
|
55
|
-
s(), l();
|
|
56
|
-
};
|
|
57
|
-
return C(a), a;
|
|
58
|
-
}
|
|
59
|
-
let S = !1;
|
|
60
|
-
function se(e, t, n = {}) {
|
|
61
|
-
const { window: o = w, ignore: r = [], capture: u = !0, detectIframe: l = !1 } = n;
|
|
62
|
-
if (!o)
|
|
63
|
-
return;
|
|
64
|
-
X && !S && (S = !0, Array.from(o.document.body.children).forEach((i) => i.addEventListener("click", x)), o.document.documentElement.addEventListener("click", x));
|
|
65
|
-
let c = !0;
|
|
66
|
-
const s = (i) => r.some((d) => {
|
|
67
|
-
if (typeof d == "string")
|
|
68
|
-
return Array.from(o.document.querySelectorAll(d)).some((v) => v === i.target || i.composedPath().includes(v));
|
|
69
|
-
{
|
|
70
|
-
const v = h(d);
|
|
71
|
-
return v && (i.target === v || i.composedPath().includes(v));
|
|
72
|
-
}
|
|
73
|
-
}), f = [
|
|
74
|
-
y(o, "click", (i) => {
|
|
75
|
-
const d = h(e);
|
|
76
|
-
if (!(!d || d === i.target || i.composedPath().includes(d))) {
|
|
77
|
-
if (i.detail === 0 && (c = !s(i)), !c) {
|
|
78
|
-
c = !0;
|
|
79
|
-
return;
|
|
80
|
-
}
|
|
81
|
-
t(i);
|
|
82
|
-
}
|
|
83
|
-
}, { passive: !0, capture: u }),
|
|
84
|
-
y(o, "pointerdown", (i) => {
|
|
85
|
-
const d = h(e);
|
|
86
|
-
d && (c = !i.composedPath().includes(d) && !s(i));
|
|
87
|
-
}, { passive: !0 }),
|
|
88
|
-
l && y(o, "blur", (i) => {
|
|
89
|
-
setTimeout(() => {
|
|
90
|
-
var d;
|
|
91
|
-
const v = h(e);
|
|
92
|
-
((d = o.document.activeElement) == null ? void 0 : d.tagName) === "IFRAME" && !(v != null && v.contains(o.document.activeElement)) && t(i);
|
|
93
|
-
}, 0);
|
|
94
|
-
})
|
|
95
|
-
].filter(Boolean);
|
|
96
|
-
return () => f.forEach((i) => i());
|
|
97
|
-
}
|
|
98
|
-
function F(e) {
|
|
99
|
-
return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
|
|
100
|
-
}
|
|
101
|
-
function J(...e) {
|
|
102
|
-
let t, n, o = {};
|
|
103
|
-
e.length === 3 ? (t = e[0], n = e[1], o = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], o = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
|
|
104
|
-
const {
|
|
105
|
-
target: r = w,
|
|
106
|
-
eventName: u = "keydown",
|
|
107
|
-
passive: l = !1,
|
|
108
|
-
dedupe: c = !1
|
|
109
|
-
} = o, s = F(t);
|
|
110
|
-
return y(r, u, (f) => {
|
|
111
|
-
f.repeat && O(c) || s(f) && n(f);
|
|
112
|
-
}, l);
|
|
113
|
-
}
|
|
114
|
-
function ce(e, t, n = {}) {
|
|
115
|
-
return J(e, t, { ...n, eventName: "keydown" });
|
|
116
|
-
}
|
|
117
|
-
function ie(e = {}) {
|
|
118
|
-
var t;
|
|
119
|
-
const {
|
|
120
|
-
window: n = w,
|
|
121
|
-
deep: o = !0
|
|
122
|
-
} = e, r = (t = e.document) != null ? t : n == null ? void 0 : n.document, u = () => {
|
|
123
|
-
var c;
|
|
124
|
-
let s = r == null ? void 0 : r.activeElement;
|
|
125
|
-
if (o)
|
|
126
|
-
for (; s != null && s.shadowRoot; )
|
|
127
|
-
s = (c = s == null ? void 0 : s.shadowRoot) == null ? void 0 : c.activeElement;
|
|
128
|
-
return s;
|
|
129
|
-
}, l = K(
|
|
130
|
-
() => null,
|
|
131
|
-
() => u()
|
|
132
|
-
);
|
|
133
|
-
return n && (y(n, "blur", (c) => {
|
|
134
|
-
c.relatedTarget === null && l.trigger();
|
|
135
|
-
}, !0), y(n, "focus", l.trigger, !0)), l;
|
|
136
|
-
}
|
|
137
|
-
function Q() {
|
|
138
|
-
const e = g(!1);
|
|
139
|
-
return N() && G(() => {
|
|
140
|
-
e.value = !0;
|
|
141
|
-
}), e;
|
|
142
|
-
}
|
|
143
|
-
function Z(e) {
|
|
144
|
-
const t = Q();
|
|
145
|
-
return m(() => (t.value, !!e()));
|
|
146
|
-
}
|
|
147
|
-
function ee(e, t, n = {}) {
|
|
148
|
-
const { window: o = w, ...r } = n;
|
|
149
|
-
let u;
|
|
150
|
-
const l = Z(() => o && "ResizeObserver" in o), c = () => {
|
|
151
|
-
u && (u.disconnect(), u = void 0);
|
|
152
|
-
}, s = m(
|
|
153
|
-
() => Array.isArray(e) ? e.map((p) => h(p)) : [h(e)]
|
|
154
|
-
), a = E(
|
|
155
|
-
s,
|
|
156
|
-
(p) => {
|
|
157
|
-
if (c(), l.value && o) {
|
|
158
|
-
u = new ResizeObserver(t);
|
|
159
|
-
for (const i of p)
|
|
160
|
-
i && u.observe(i, r);
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
{ immediate: !0, flush: "post", deep: !0 }
|
|
164
|
-
), f = () => {
|
|
165
|
-
c(), a();
|
|
166
|
-
};
|
|
167
|
-
return C(f), {
|
|
168
|
-
isSupported: l,
|
|
169
|
-
stop: f
|
|
170
|
-
};
|
|
171
|
-
}
|
|
172
|
-
function te(e, t = { width: 0, height: 0 }, n = {}) {
|
|
173
|
-
const { window: o = w, box: r = "content-box" } = n, u = m(() => {
|
|
174
|
-
var s, a;
|
|
175
|
-
return (a = (s = h(e)) == null ? void 0 : s.namespaceURI) == null ? void 0 : a.includes("svg");
|
|
176
|
-
}), l = g(t.width), c = g(t.height);
|
|
177
|
-
return ee(
|
|
178
|
-
e,
|
|
179
|
-
([s]) => {
|
|
180
|
-
const a = r === "border-box" ? s.borderBoxSize : r === "content-box" ? s.contentBoxSize : s.devicePixelContentBoxSize;
|
|
181
|
-
if (o && u.value) {
|
|
182
|
-
const f = h(e);
|
|
183
|
-
if (f) {
|
|
184
|
-
const p = o.getComputedStyle(f);
|
|
185
|
-
l.value = Number.parseFloat(p.width), c.value = Number.parseFloat(p.height);
|
|
186
|
-
}
|
|
187
|
-
} else if (a) {
|
|
188
|
-
const f = Array.isArray(a) ? a : [a];
|
|
189
|
-
l.value = f.reduce((p, { inlineSize: i }) => p + i, 0), c.value = f.reduce((p, { blockSize: i }) => p + i, 0);
|
|
190
|
-
} else
|
|
191
|
-
l.value = s.contentRect.width, c.value = s.contentRect.height;
|
|
192
|
-
},
|
|
193
|
-
n
|
|
194
|
-
), E(
|
|
195
|
-
() => h(e),
|
|
196
|
-
(s) => {
|
|
197
|
-
l.value = s ? t.width : 0, c.value = s ? t.height : 0;
|
|
198
|
-
}
|
|
199
|
-
), {
|
|
200
|
-
width: l,
|
|
201
|
-
height: c
|
|
202
|
-
};
|
|
203
|
-
}
|
|
204
|
-
function le(e, t) {
|
|
205
|
-
const { containerStyle: n, wrapperProps: o, scrollTo: r, calculateRange: u, currentList: l, containerRef: c } = "itemHeight" in t ? re(t, e) : oe(t, e);
|
|
206
|
-
return {
|
|
207
|
-
list: l,
|
|
208
|
-
scrollTo: r,
|
|
209
|
-
containerProps: {
|
|
210
|
-
ref: c,
|
|
211
|
-
onScroll: () => {
|
|
212
|
-
u();
|
|
213
|
-
},
|
|
214
|
-
style: n
|
|
215
|
-
},
|
|
216
|
-
wrapperProps: o
|
|
217
|
-
};
|
|
218
|
-
}
|
|
219
|
-
function z(e) {
|
|
220
|
-
const t = g(null), n = te(t), o = g([]), r = H(e);
|
|
221
|
-
return { state: g({ start: 0, end: 10 }), source: r, currentList: o, size: n, containerRef: t };
|
|
222
|
-
}
|
|
223
|
-
function P(e, t, n) {
|
|
224
|
-
return (o) => {
|
|
225
|
-
if (typeof n == "number")
|
|
226
|
-
return Math.ceil(o / n);
|
|
227
|
-
const { start: r = 0 } = e.value;
|
|
228
|
-
let u = 0, l = 0;
|
|
229
|
-
for (let c = r; c < t.value.length; c++) {
|
|
230
|
-
const s = n(c);
|
|
231
|
-
if (u += s, l = c, u > o)
|
|
232
|
-
break;
|
|
233
|
-
}
|
|
234
|
-
return l - r;
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
function _(e, t) {
|
|
238
|
-
return (n) => {
|
|
239
|
-
if (typeof t == "number")
|
|
240
|
-
return Math.floor(n / t) + 1;
|
|
241
|
-
let o = 0, r = 0;
|
|
242
|
-
for (let u = 0; u < e.value.length; u++) {
|
|
243
|
-
const l = t(u);
|
|
244
|
-
if (o += l, o >= n) {
|
|
245
|
-
r = u;
|
|
246
|
-
break;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
return r + 1;
|
|
250
|
-
};
|
|
251
|
-
}
|
|
252
|
-
function V(e, t, n, o, { containerRef: r, state: u, currentList: l, source: c }) {
|
|
253
|
-
return () => {
|
|
254
|
-
const s = r.value;
|
|
255
|
-
if (s) {
|
|
256
|
-
const a = n(e === "vertical" ? s.scrollTop : s.scrollLeft), f = o(e === "vertical" ? s.clientHeight : s.clientWidth), p = a - t, i = a + f + t;
|
|
257
|
-
u.value = {
|
|
258
|
-
start: p < 0 ? 0 : p,
|
|
259
|
-
end: i > c.value.length ? c.value.length : i
|
|
260
|
-
}, l.value = c.value.slice(u.value.start, u.value.end).map((d, v) => ({
|
|
261
|
-
data: d,
|
|
262
|
-
index: v + u.value.start
|
|
263
|
-
}));
|
|
264
|
-
}
|
|
265
|
-
};
|
|
266
|
-
}
|
|
267
|
-
function k(e, t) {
|
|
268
|
-
return (n) => typeof e == "number" ? n * e : t.value.slice(0, n).reduce((r, u, l) => r + e(l), 0);
|
|
269
|
-
}
|
|
270
|
-
function W(e, t, n) {
|
|
271
|
-
E([e.width, e.height, t], () => {
|
|
272
|
-
n();
|
|
273
|
-
});
|
|
274
|
-
}
|
|
275
|
-
function I(e, t) {
|
|
276
|
-
return m(() => typeof e == "number" ? t.value.length * e : t.value.reduce((n, o, r) => n + e(r), 0));
|
|
277
|
-
}
|
|
278
|
-
const ne = {
|
|
279
|
-
horizontal: "scrollLeft",
|
|
280
|
-
vertical: "scrollTop"
|
|
281
|
-
};
|
|
282
|
-
function M(e, t, n, o) {
|
|
283
|
-
return (r) => {
|
|
284
|
-
o.value && (o.value[ne[e]] = n(r), t());
|
|
285
|
-
};
|
|
286
|
-
}
|
|
287
|
-
function oe(e, t) {
|
|
288
|
-
const n = z(t), { state: o, source: r, currentList: u, size: l, containerRef: c } = n, s = { overflowX: "auto" }, { itemWidth: a, overscan: f = 5 } = e, p = P(o, r, a), i = _(r, a), d = V("horizontal", f, i, p, n), v = k(a, r), b = m(() => v(o.value.start)), A = I(a, r);
|
|
289
|
-
W(l, t, d);
|
|
290
|
-
const L = M("horizontal", d, v, c), R = m(() => ({
|
|
291
|
-
style: {
|
|
292
|
-
height: "100%",
|
|
293
|
-
width: `${A.value - b.value}px`,
|
|
294
|
-
marginLeft: `${b.value}px`,
|
|
295
|
-
display: "flex"
|
|
296
|
-
}
|
|
297
|
-
}));
|
|
298
|
-
return {
|
|
299
|
-
scrollTo: L,
|
|
300
|
-
calculateRange: d,
|
|
301
|
-
wrapperProps: R,
|
|
302
|
-
containerStyle: s,
|
|
303
|
-
currentList: u,
|
|
304
|
-
containerRef: c
|
|
305
|
-
};
|
|
306
|
-
}
|
|
307
|
-
function re(e, t) {
|
|
308
|
-
const n = z(t), { state: o, source: r, currentList: u, size: l, containerRef: c } = n, s = { overflowY: "auto" }, { itemHeight: a, overscan: f = 5 } = e, p = P(o, r, a), i = _(r, a), d = V("vertical", f, i, p, n), v = k(a, r), b = m(() => v(o.value.start)), A = I(a, r);
|
|
309
|
-
W(l, t, d);
|
|
310
|
-
const L = M("vertical", d, v, c), R = m(() => ({
|
|
311
|
-
style: {
|
|
312
|
-
width: "100%",
|
|
313
|
-
height: `${A.value - b.value}px`,
|
|
314
|
-
marginTop: `${b.value}px`
|
|
315
|
-
}
|
|
316
|
-
}));
|
|
317
|
-
return {
|
|
318
|
-
calculateRange: d,
|
|
319
|
-
scrollTo: L,
|
|
320
|
-
containerStyle: s,
|
|
321
|
-
wrapperProps: R,
|
|
322
|
-
currentList: u,
|
|
323
|
-
containerRef: c
|
|
324
|
-
};
|
|
325
|
-
}
|
|
326
|
-
export {
|
|
327
|
-
ce as a,
|
|
328
|
-
le as b,
|
|
329
|
-
se as o,
|
|
330
|
-
ie as u
|
|
331
|
-
};
|