@oliasoft-open-source/react-ui-library 9.2.0-beta-3 → 9.2.0-beta-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -2566,21 +2566,21 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
|
|
|
2566
2566
|
]
|
|
2567
2567
|
}) : null });
|
|
2568
2568
|
}, Ks = {
|
|
2569
|
-
inputInTable: "
|
|
2570
|
-
inputHover: "
|
|
2571
|
-
inputFocus: "
|
|
2572
|
-
controlFocusVisible: "
|
|
2573
|
-
inputError: "
|
|
2574
|
-
inputWarning: "
|
|
2575
|
-
inputDisabled: "
|
|
2576
|
-
hideScrollbars: "
|
|
2577
|
-
wrapper: "
|
|
2578
|
-
bordered: "
|
|
2579
|
-
scroll: "
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
striped: "
|
|
2569
|
+
inputInTable: "_inputInTable_fwob7_1",
|
|
2570
|
+
inputHover: "_inputHover_fwob7_13",
|
|
2571
|
+
inputFocus: "_inputFocus_fwob7_18",
|
|
2572
|
+
controlFocusVisible: "_controlFocusVisible_fwob7_25",
|
|
2573
|
+
inputError: "_inputError_fwob7_29",
|
|
2574
|
+
inputWarning: "_inputWarning_fwob7_30",
|
|
2575
|
+
inputDisabled: "_inputDisabled_fwob7_65",
|
|
2576
|
+
hideScrollbars: "_hideScrollbars_fwob7_71",
|
|
2577
|
+
wrapper: "_wrapper_fwob7_89",
|
|
2578
|
+
bordered: "_bordered_fwob7_97",
|
|
2579
|
+
scroll: "_scroll_fwob7_102",
|
|
2580
|
+
virtualScroll: "_virtualScroll_fwob7_113",
|
|
2581
|
+
table: "_table_fwob7_116",
|
|
2582
|
+
dragOverlay: "_dragOverlay_fwob7_152",
|
|
2583
|
+
striped: "_striped_fwob7_207"
|
|
2584
2584
|
}, qs = { title: "_title_zn5s7_1" }, Js = ({ name: e = null, actions: t = null, actionsRight: n = !1, testId: r }) => {
|
|
2585
2585
|
let i = e !== null, a = t !== null;
|
|
2586
2586
|
return !i && !a ? null : /* @__PURE__ */ C("div", {
|
|
@@ -4307,32 +4307,20 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
|
|
|
4307
4307
|
}) : t({});
|
|
4308
4308
|
}, Xl = 31, Zl = ({ table: e, children: t }) => {
|
|
4309
4309
|
var n, r, i;
|
|
4310
|
-
let a = _(null), o =
|
|
4311
|
-
|
|
4312
|
-
if (n.get(e) === t) return;
|
|
4313
|
-
n.set(e, t);
|
|
4314
|
-
for (let e of n.keys()) e >= c && n.delete(e);
|
|
4315
|
-
let r = 0;
|
|
4316
|
-
for (let e of n.values()) r += e;
|
|
4317
|
-
n.size > 0 && (o.current = r / n.size);
|
|
4318
|
-
}, u = Jr({
|
|
4319
|
-
count: c,
|
|
4310
|
+
let a = _(null), o = Jr({
|
|
4311
|
+
count: (n = (r = e == null ? void 0 : e.rowCount) == null ? (i = e.rows) == null ? void 0 : i.length : r) == null ? 0 : n,
|
|
4320
4312
|
getScrollElement: () => a.current,
|
|
4321
|
-
estimateSize: () =>
|
|
4322
|
-
measureElement: (e) => {
|
|
4323
|
-
let t = e.getBoundingClientRect().height, n = e.getAttribute("data-index");
|
|
4324
|
-
return n != null && l(Number(n), t), t;
|
|
4325
|
-
},
|
|
4313
|
+
estimateSize: () => Xl,
|
|
4326
4314
|
overscan: 10
|
|
4327
4315
|
});
|
|
4328
4316
|
return /* @__PURE__ */ S("div", {
|
|
4329
4317
|
id: "scrollWrapper",
|
|
4330
|
-
className: Ks.scroll,
|
|
4318
|
+
className: b(Ks.scroll, Ks.virtualScroll),
|
|
4331
4319
|
ref: a,
|
|
4332
4320
|
children: t({
|
|
4333
|
-
virtualizer:
|
|
4321
|
+
virtualizer: o,
|
|
4334
4322
|
tableStyle: (() => {
|
|
4335
|
-
let e =
|
|
4323
|
+
let e = o.getVirtualItems(), t = e.length > 0 ? e[0].start : 0, n = e.length > 0 ? o.getTotalSize() - e[e.length - 1].end : 0;
|
|
4336
4324
|
return {
|
|
4337
4325
|
"--virtualPaddingTop": t + "px",
|
|
4338
4326
|
"--virtualPaddingBottom": n + "px"
|
package/package.json
CHANGED