@sheetxl/studio-mui 0.4.18 → 0.4.20
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/browser/cjs/{D75SDhTG8DT8DGo-.cjs → -Z37a-mzY5SKXy--.cjs} +2 -2
- package/browser/cjs/{zjHqyq09UPSv0pXw.cjs → B384kb1_rsiCsdZG.cjs} +2 -2
- package/browser/cjs/{SKvGxxFvYJeV9LNA.cjs → B8nWvy4zDv1CZsr_.cjs} +50 -43
- package/browser/cjs/BBnMJiXp9lru0Rcq.cjs +6 -0
- package/browser/cjs/{Clzv3BjkpWQFlpFH.cjs → BFbHTu65n1oE-l0N.cjs} +2 -2
- package/browser/cjs/{BuYT3RoulkkPDFjr.cjs → BQMSHnQdWtqeakER.cjs} +2 -2
- package/browser/cjs/{D4-1QgTnQguFRTt8.cjs → BvjA0ybox6653eb5.cjs} +2 -2
- package/browser/cjs/{BU2Vto6nUHEss7E3.cjs → Cocgl4ghzWE9yVYS.cjs} +1 -1
- package/browser/cjs/{DCXjgeA5INkg-HT2.cjs → D21Q1NdM1zQ7uFlH.cjs} +2 -2
- package/browser/cjs/{f0ZdY_Vq589X2AXA.cjs → D4LmaKqYiwjxp0Hs.cjs} +1 -1
- package/browser/cjs/{Bxyvf0Azt_-0ynEw.cjs → D6egUillMqBwTaEq.cjs} +2 -2
- package/browser/cjs/{DnVHSwM3bnrP3EXV.cjs → D9lY6pd9tRxPeLKs.cjs} +3 -3
- package/browser/cjs/{DBSfvQkbFVcZwxzJ.cjs → DItuuqkIamMzp7Im.cjs} +1 -1
- package/browser/cjs/{65eot8Nbn4zgCvmp.cjs → DNqIYSqRYZkUpFxW.cjs} +1 -1
- package/browser/cjs/{8k5RM8T4aOEZ9lpZ.cjs → DUImSlPsM-OipgBZ.cjs} +2 -2
- package/browser/cjs/{BApP_kOvh3duHJ4V.cjs → DUVLcBcwkTsuLb6q.cjs} +2 -2
- package/browser/cjs/{f2GrJbw8OJVCuv26.cjs → Db7IyKXFzo8IocDa.cjs} +1 -1
- package/browser/cjs/{D-LXVIBCGkp2018s.cjs → DsHPj69dMFG09uD_.cjs} +1 -1
- package/browser/cjs/{DYX-UePyFD-tmTad.cjs → DypblOPNMRx5Twgx.cjs} +1 -1
- package/browser/cjs/{Du2T3WKzTNkLANQC.cjs → QK7YNBstmN86K-xL.cjs} +2 -2
- package/browser/cjs/{C1xEp_VFiDZ7jk6P.cjs → VNWvn2kP6ZF0Snzw.cjs} +3 -3
- package/browser/cjs/{DKc4vbhIk5DPvp7s.cjs → dc1YAArM3bSHvRcF.cjs} +2 -2
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{B29FpitRc0wfBA1R.cjs → mInXvB8P6r6q7pRY.cjs} +1 -1
- package/browser/cjs/{Bl4O5ZLtPzfQIjJ_.cjs → nop6N-Oi_LKy1Bpc.cjs} +2 -2
- package/browser/cjs/{pv4FPiAJgePyzq3P.cjs → s45oNHeIvJVeRjn5.cjs} +1 -1
- package/browser/esm/{DfEnN6o2CDcb6tZV.mjs → 1y10o01h14oGJtKG.mjs} +2 -2
- package/browser/esm/{ByPD9qbfchz8fW6p.mjs → 5u-JEG1IfQBstjq0.mjs} +2 -2
- package/browser/esm/{Cd2PsvehUlm_ik0p.mjs → BFpc8KBa-fb0nLSt.mjs} +3 -3
- package/browser/esm/{BXaaKbLgdWmruBua.mjs → BW3_mz5_8i9VLBYB.mjs} +78 -78
- package/browser/esm/{BBiRLsG2Zerrewtx.mjs → Bmjhrc6YMmfx_1Yi.mjs} +3 -3
- package/browser/esm/{DJuaGRL7TVZVqydW.mjs → BnlJVFlQeWerd3KW.mjs} +1 -1
- package/browser/esm/{DkA5rfggiPyONWzj.mjs → BpuH_QvBidPOXgAR.mjs} +1 -1
- package/browser/esm/{BkHYM-mRH1oIQzKa.mjs → C5xUbwpUPDeNua-i.mjs} +1 -1
- package/browser/esm/{iC5cPgshjoPAAa9O.mjs → C60ZnLCvtztDLuoT.mjs} +2 -2
- package/browser/esm/{DzeBUjOrOAK6FKBH.mjs → CAiWSkkPRgUjk8CN.mjs} +1 -1
- package/browser/esm/{B6U4QpdkEZ5A7rFu.mjs → CW8taieVozHhyBOC.mjs} +6 -6
- package/browser/esm/{BYVUdX4AuIIpkA1Y.mjs → CxXpPYi4eOFhBNt2.mjs} +2 -2
- package/browser/esm/{DRjbaengVsWOcbN-.mjs → CzyEerZmfWrW3i3U.mjs} +4 -4
- package/browser/esm/D0FBHwm0Oz_wf0tR.mjs +12 -0
- package/browser/esm/{CStiySOAg1dgcdmy.mjs → DM9GPrZpbCcKOnyU.mjs} +1 -1
- package/browser/esm/{D-E5-FYM3QhCYNT0.mjs → DO1doKZhwYiL7vbF.mjs} +1 -1
- package/browser/esm/{D0DJGwQZudREBDSw.mjs → DS3anstzAV3EJBRw.mjs} +1 -1
- package/browser/esm/{BmCIBUGBVI_jKzFO.mjs → DuEmdSQsXlkCWZIB.mjs} +1 -1
- package/browser/esm/{D5G2pN5OFiBisDO8.mjs → FvK-pQsicRjtrKoS.mjs} +2 -2
- package/browser/esm/{B-e3CMLK0ZgbYUtd.mjs → KCTJzQeDChqf1yBO.mjs} +2 -2
- package/browser/esm/{BWNz5r_i-pOLGvcQ.mjs → P-3pIbidOtRCNsw3.mjs} +7 -7
- package/browser/esm/{wY5sZG3wainCNEwD.mjs → W3EFMOPLR1aNXWvF.mjs} +27 -27
- package/browser/esm/{M4aGrc4f6PQVvILS.mjs → Z_Sh-N3xHHWLCbEw.mjs} +7379 -6492
- package/browser/esm/index.mjs +17 -17
- package/browser/esm/{BNDsBNemTXcX904C.mjs → mOmzoYDWAtgYndCA.mjs} +1 -1
- package/browser/esm/{Bh71ntZB0ZUTKa1X.mjs → tnJECoiQzUzgUQZE.mjs} +9 -9
- package/licenses/dependencies.txt +452 -452
- package/node/esm/{gjNonW2tTOhWM1zx.mjs → 54SjtcD6mOreKcCy.mjs} +1 -1
- package/node/esm/{Dm423AbHpUNbM3z0.mjs → B2BlMiDOVpIp1FDQ.mjs} +3 -3
- package/node/esm/{CcRvLOoFoMozkoqX.mjs → BNEvR1srnnwBgnrF.mjs} +6 -6
- package/node/esm/{6OJWm-lH83CfTjF4.mjs → BZ20_F64yjZgn-_G.mjs} +1 -1
- package/node/esm/{Bo3RvN58D6Jj4jyT.mjs → BfzRLuswtxg9uDsX.mjs} +1 -1
- package/node/esm/{Dk58QChP4_h_WyVI.mjs → Bn5TJPQAEMY-lGpF.mjs} +1 -1
- package/node/esm/{Duj0nxYd3K0gsS1G.mjs → Bv12-Yyv0C86Iquy.mjs} +1 -1
- package/node/esm/{CaQ-WMubShR-mgXr.mjs → C0ZBbkFa-24tJTnw.mjs} +2 -2
- package/node/esm/{8_DjDzbBczYWIxM5.mjs → CEVO60fX3MAPG0Hg.mjs} +1 -1
- package/node/esm/{CQ6RG7b1hN7aMIWX.mjs → CH6p2H0CMCoz4NgJ.mjs} +1 -1
- package/node/esm/{D1X4Y309cFH6_K-A.mjs → CdFmhVFplZFgBvTo.mjs} +1 -1
- package/node/esm/{D94gLW5R-ThLU5_L.mjs → CrDbLKJh9omVo_TF.mjs} +1 -1
- package/node/esm/{DYOQXo-LPKNA_7-M.mjs → Cx4mn0YEVkG-M1VL.mjs} +1 -1
- package/node/esm/{CG1aiWCHTz6m9OYy.mjs → D6A_o47zvz5ITIJK.mjs} +2 -2
- package/node/esm/{DPxznh5LpcvuG8Qm.mjs → DDWek3aquTe_okr_.mjs} +1 -1
- package/node/esm/{CeCNLtePK3O3evNJ.mjs → DSLWcwr4qgHARs36.mjs} +1 -1
- package/node/esm/{mxAsQT93a1vo6azp.mjs → Ds5dinNcyNdC8ta6.mjs} +1 -1
- package/node/esm/{BZ9inF62ba2_KMq9.mjs → iXG86MN0JrtJkpqe.mjs} +1 -1
- package/node/esm/index.mjs +11539 -10656
- package/node/esm/{iTi4IbmWjhRhtTw-.mjs → m2teXjBzZLfLDFPx.mjs} +3 -3
- package/node/esm/{zuqgbycVwVQqzPkW.mjs → oykDy4erHC0NNHHq.mjs} +1 -1
- package/node/esm/{3lP7I5qhsYH1BTb7.mjs → rlqvGCJlj4a2UcSM.mjs} +1 -1
- package/node/esm/{C1KGpSJM38_VeNcU.mjs → sVOd1y3oNBREsKJ7.mjs} +2 -2
- package/package.json +8 -8
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o, jsxs as A } from "react/jsx-runtime";
|
|
2
2
|
import { memo as E, useMemo as D, useState as m, useCallback as F } from "react";
|
|
3
3
|
import { Box as S, FormControl as O, TextField as P } from "@mui/material";
|
|
4
|
-
import { T as f, D as U,
|
|
4
|
+
import { T as f, D as U, g as l } from "./Z_Sh-N3xHHWLCbEw.mjs";
|
|
5
5
|
import { alpha as p } from "@mui/system";
|
|
6
6
|
/**
|
|
7
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
7
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.20
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { memo as E, useMemo as M, useState as h, useCallback as j } from "react";
|
|
3
3
|
import { Box as S, FormControl as V, TextField as $ } from "@mui/material";
|
|
4
|
-
import { T as m, D as z,
|
|
4
|
+
import { T as m, D as z, g as C } from "./Z_Sh-N3xHHWLCbEw.mjs";
|
|
5
5
|
import { alpha as O } from "@mui/system";
|
|
6
6
|
/**
|
|
7
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
7
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.20
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import { memo as
|
|
1
|
+
import { jsx as o, jsxs as D } from "react/jsx-runtime";
|
|
2
|
+
import { memo as T, useState as i, useCallback as N } from "react";
|
|
3
3
|
import { Box as w, FormControlLabel as F, Checkbox as j } from "@mui/material";
|
|
4
|
-
import { T as v, D as y,
|
|
4
|
+
import { T as v, D as y, k as B } from "./Z_Sh-N3xHHWLCbEw.mjs";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
6
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.20
|
|
7
7
|
*
|
|
8
8
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
9
9
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
10
10
|
*/
|
|
11
|
-
const H = ["Ok", "Cancel"], L =
|
|
11
|
+
const H = ["Ok", "Cancel"], L = T((g) => {
|
|
12
12
|
const { tableOptions: a, context: r, onOption: p, onValidateOption: I, onDone: c, options: d = H, defaultOption: t = d?.[0], cancelOption: s = "Cancel", sx: u, ...x } = g, [b, h] = i(!1), [n, f] = i(() => a?.hasHeader ?? !1), [l, O] = i(() => a?.ranges ?? null), C = v((e) => {
|
|
13
13
|
const m = { ...a, hasHeader: n, ranges: l };
|
|
14
14
|
p?.(e, e === s, e === t), c?.({ option: e, tableOptions: m });
|
|
15
|
-
}, [c, p, t, s, n, l, a]),
|
|
16
|
-
return o(y, { title: "Insert Table", options: d, onDone: C, onValidateOption:
|
|
15
|
+
}, [c, p, t, s, n, l, a]), k = N(async (e, m) => null, []);
|
|
16
|
+
return o(y, { title: "Insert Table", options: d, onDone: C, onValidateOption: k, defaultOption: t, cancelOption: s, autoFocusSel: ".range-input input", sx: { width: "360px", ...u }, ...x, children: D(w, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [o(B, { formName: "range", value: l, onChangeInput: (e) => O(e), resolvedAddress: r.getNames().getRanges.bind(r.getNames()), onFocus: (e) => {
|
|
17
17
|
b || e.target?.select(), h(!0);
|
|
18
18
|
} }), o(F, { control: o(j, { checked: n, onChange: () => f(!n) }), label: "Table has headers", labelPlacement: "end" })] }) });
|
|
19
19
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as Ee, jsx as W } from "react/jsx-runtime";
|
|
2
2
|
import { Box as ue, TextField as Qt, InputAdornment as eo, IconButton as to, FormControlLabel as oo, Checkbox as no, Typography as ro, TableCell as We, DialogContent as io } from "@mui/material";
|
|
3
|
-
import {
|
|
3
|
+
import { o as lo, p as He, q as so, x as ao, z as co, _ as uo, C as N, E as U, G as ho, Y as fo, a as St, g as de, J as Se, K as po, j as mo } from "./Z_Sh-N3xHHWLCbEw.mjs";
|
|
4
4
|
import * as x from "react";
|
|
5
5
|
import yt, { cloneElement as go, useState as he, useMemo as vo, useEffect as De } from "react";
|
|
6
6
|
import { Close as _o } from "@mui/icons-material";
|
|
7
|
-
import So, { internal_serializeStyles as
|
|
7
|
+
import So, { internal_serializeStyles as K, internal_mutateStyles as yo } from "@mui/styled-engine";
|
|
8
8
|
import { alpha as fe } from "@mui/system";
|
|
9
9
|
/**
|
|
10
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
10
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.20
|
|
11
11
|
*
|
|
12
12
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
13
13
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -16,7 +16,7 @@ const wo = lo();
|
|
|
16
16
|
function ye(o) {
|
|
17
17
|
return o !== "ownerState" && o !== "theme" && o !== "sx" && o !== "as";
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function q(o, e) {
|
|
20
20
|
return e && o && typeof o == "object" && o.styles && !o.styles.startsWith("@layer") && (o.styles = `@layer ${e}{${String(o.styles)}}`), o;
|
|
21
21
|
}
|
|
22
22
|
function Co(o) {
|
|
@@ -27,14 +27,14 @@ function ge(o, e, t) {
|
|
|
27
27
|
if (Array.isArray(n)) return n.flatMap((r) => ge(o, r, t));
|
|
28
28
|
if (Array.isArray(n?.variants)) {
|
|
29
29
|
let r;
|
|
30
|
-
if (n.isProcessed) r = t ?
|
|
30
|
+
if (n.isProcessed) r = t ? q(n.style, t) : n.style;
|
|
31
31
|
else {
|
|
32
32
|
const { variants: l, ...i } = n;
|
|
33
|
-
r = t ? K(
|
|
33
|
+
r = t ? q(K(i), t) : i;
|
|
34
34
|
}
|
|
35
35
|
return wt(o, n.variants, [r], t);
|
|
36
36
|
}
|
|
37
|
-
return n?.isProcessed ? t ? K(
|
|
37
|
+
return n?.isProcessed ? t ? q(K(n.style), t) : n.style : t ? q(K(n), t) : n;
|
|
38
38
|
}
|
|
39
39
|
function wt(o, e, t = [], n = void 0) {
|
|
40
40
|
let r;
|
|
@@ -43,7 +43,7 @@ function wt(o, e, t = [], n = void 0) {
|
|
|
43
43
|
if (typeof i.props == "function") {
|
|
44
44
|
if (r ??= { ...o, ...o.ownerState, ownerState: o.ownerState }, !i.props(r)) continue;
|
|
45
45
|
} else for (const a in i.props) if (o[a] !== i.props[a] && o.ownerState?.[a] !== i.props[a]) continue e;
|
|
46
|
-
typeof i.style == "function" ? (r ??= { ...o, ...o.ownerState, ownerState: o.ownerState }, t.push(n ? K(
|
|
46
|
+
typeof i.style == "function" ? (r ??= { ...o, ...o.ownerState, ownerState: o.ownerState }, t.push(n ? q(K(i.style(r)), n) : i.style(r))) : t.push(n ? q(K(i.style), n) : i.style);
|
|
47
47
|
}
|
|
48
48
|
return t;
|
|
49
49
|
}
|
|
@@ -74,13 +74,13 @@ const Ro = function(o = {}) {
|
|
|
74
74
|
};
|
|
75
75
|
if (so(C)) {
|
|
76
76
|
const R = function(T) {
|
|
77
|
-
const { variants: b, ...I } = T, O = { variants: b, style:
|
|
77
|
+
const { variants: b, ...I } = T, O = { variants: b, style: K(I), isProcessed: !0 };
|
|
78
78
|
return O.style === I || b && b.forEach((z) => {
|
|
79
|
-
typeof z.style != "function" && (z.style =
|
|
79
|
+
typeof z.style != "function" && (z.style = K(z.style));
|
|
80
80
|
}), O;
|
|
81
81
|
}(C);
|
|
82
82
|
return function(T) {
|
|
83
|
-
return R.variants ? ge(T, R, T.theme.modularCssLayers ? g : void 0) : T.theme.modularCssLayers ?
|
|
83
|
+
return R.variants ? ge(T, R, T.theme.modularCssLayers ? g : void 0) : T.theme.modularCssLayers ? q(R.style, g) : R.style;
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
return C;
|
|
@@ -481,7 +481,7 @@ function be(o) {
|
|
|
481
481
|
}
|
|
482
482
|
return pe;
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function qe(o, e) {
|
|
485
485
|
var t = Object.keys(o);
|
|
486
486
|
if (Object.getOwnPropertySymbols) {
|
|
487
487
|
var n = Object.getOwnPropertySymbols(o);
|
|
@@ -491,12 +491,12 @@ function Ke(o, e) {
|
|
|
491
491
|
}
|
|
492
492
|
return t;
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function Ke(o) {
|
|
495
495
|
for (var e = 1; e < arguments.length; e++) {
|
|
496
496
|
var t = arguments[e] != null ? arguments[e] : {};
|
|
497
|
-
e % 2 ?
|
|
497
|
+
e % 2 ? qe(Object(t), !0).forEach(function(n) {
|
|
498
498
|
p(o, n, t[n]);
|
|
499
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(t)) :
|
|
499
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(t)) : qe(Object(t)).forEach(function(n) {
|
|
500
500
|
Object.defineProperty(o, n, Object.getOwnPropertyDescriptor(t, n));
|
|
501
501
|
});
|
|
502
502
|
}
|
|
@@ -556,7 +556,7 @@ var To = "observed", te = "requested", ve = function() {
|
|
|
556
556
|
var e = this.props, t = e.autoHeight, n = e.cellCount, r = e.cellLayoutManager, l = e.className, i = e.height, a = e.horizontalOverscanSize, s = e.id, c = e.noContentRenderer, u = e.style, d = e.verticalOverscanSize, f = e.width, h = this.state, g = h.isScrolling, v = h.scrollLeft, _ = h.scrollTop;
|
|
557
557
|
(this._lastRenderedCellCount !== n || this._lastRenderedCellLayoutManager !== r || this._calculateSizeAndPositionDataOnNextUpdate) && (this._lastRenderedCellCount = n, this._lastRenderedCellLayoutManager = r, this._calculateSizeAndPositionDataOnNextUpdate = !1, r.calculateSizeAndPositionData());
|
|
558
558
|
var S = r.getTotalSize(), m = S.height, y = S.width, w = Math.max(0, v - a), C = Math.max(0, _ - d), R = Math.min(y, v + f + a), T = Math.min(m, _ + i + d), b = i > 0 && f > 0 ? r.cellRenderers({ height: T - C, isScrolling: g, width: R - w, x: w, y: C }) : [], I = { boxSizing: "border-box", direction: "ltr", height: t ? "auto" : i, position: "relative", WebkitOverflowScrolling: "touch", width: f, willChange: "transform" }, O = m > i ? this._scrollbarSize : 0, z = y > f ? this._scrollbarSize : 0;
|
|
559
|
-
return I.overflowX = y + O <= f ? "hidden" : "auto", I.overflowY = m + z <= i ? "hidden" : "auto", x.createElement("div", { ref: this._setScrollingContainerRef, "aria-label": this.props["aria-label"], className: N("ReactVirtualized__Collection", l), id: s, onScroll: this._onScroll, role: "grid", style:
|
|
559
|
+
return I.overflowX = y + O <= f ? "hidden" : "auto", I.overflowY = m + z <= i ? "hidden" : "auto", x.createElement("div", { ref: this._setScrollingContainerRef, "aria-label": this.props["aria-label"], className: N("ReactVirtualized__Collection", l), id: s, onScroll: this._onScroll, role: "grid", style: Ke(Ke({}, I), u), tabIndex: 0 }, n > 0 && x.createElement("div", { className: "ReactVirtualized__Collection__innerScrollContainer", style: { height: m, maxHeight: m, maxWidth: y, overflow: "hidden", pointerEvents: g ? "none" : "", width: y } }, b), n === 0 && c());
|
|
560
560
|
} }, { key: "_enablePointerEventsAfterDelay", value: function() {
|
|
561
561
|
var e = this;
|
|
562
562
|
this._disablePointerEventsTimeoutId && clearTimeout(this._disablePointerEventsTimeoutId), this._disablePointerEventsTimeoutId = setTimeout(function() {
|
|
@@ -1899,13 +1899,13 @@ function B(o) {
|
|
|
1899
1899
|
}
|
|
1900
1900
|
return o;
|
|
1901
1901
|
}
|
|
1902
|
-
function
|
|
1902
|
+
function qt() {
|
|
1903
1903
|
try {
|
|
1904
1904
|
var o = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1905
1905
|
}));
|
|
1906
1906
|
} catch {
|
|
1907
1907
|
}
|
|
1908
|
-
return (
|
|
1908
|
+
return (qt = function() {
|
|
1909
1909
|
return !!o;
|
|
1910
1910
|
})();
|
|
1911
1911
|
}
|
|
@@ -1922,7 +1922,7 @@ p(_e, "defaultProps", { cellDataGetter: function(o) {
|
|
|
1922
1922
|
var Oe = function() {
|
|
1923
1923
|
function o(e) {
|
|
1924
1924
|
var t, n, r, l;
|
|
1925
|
-
return G(this, o), n = this, l = [e], r = P(r = o), (t = H(n,
|
|
1925
|
+
return G(this, o), n = this, l = [e], r = P(r = o), (t = H(n, qt() ? Reflect.construct(r, l || [], P(n).constructor) : r.apply(n, l))).state = { scrollbarWidth: 0 }, t._createColumn = t._createColumn.bind(t), t._createRow = t._createRow.bind(t), t._onScroll = t._onScroll.bind(t), t._onSectionRendered = t._onSectionRendered.bind(t), t._setRef = t._setRef.bind(t), t._setGridElementRef = t._setGridElementRef.bind(t), t;
|
|
1926
1926
|
}
|
|
1927
1927
|
return D(o, x.PureComponent), A(o, [{ key: "forceUpdateGrid", value: function() {
|
|
1928
1928
|
this.Grid && this.Grid.forceUpdate();
|
|
@@ -2033,11 +2033,11 @@ p(Oe, "defaultProps", { disableHeader: !1, estimatedRowSize: 30, headerHeight: 0
|
|
|
2033
2033
|
return x.createElement("div", { className: e, role: "row", style: n }, t);
|
|
2034
2034
|
}, rowStyle: {}, scrollToAlignment: "auto", scrollToIndex: -1, style: {} }), Oe.propTypes = {};
|
|
2035
2035
|
var Y = [], le = null, X = null;
|
|
2036
|
-
function
|
|
2036
|
+
function Kt() {
|
|
2037
2037
|
X && (X = null, document.body && le != null && (document.body.style.pointerEvents = le), le = null);
|
|
2038
2038
|
}
|
|
2039
|
-
function
|
|
2040
|
-
|
|
2039
|
+
function qo() {
|
|
2040
|
+
Kt(), Y.forEach(function(o) {
|
|
2041
2041
|
return o.__resetIsScrolling();
|
|
2042
2042
|
});
|
|
2043
2043
|
}
|
|
@@ -2047,7 +2047,7 @@ function $t(o) {
|
|
|
2047
2047
|
var e = 0;
|
|
2048
2048
|
Y.forEach(function(t) {
|
|
2049
2049
|
e = Math.max(e, t.props.scrollingResetTimeInterval);
|
|
2050
|
-
}), X = Le(
|
|
2050
|
+
}), X = Le(qo, e);
|
|
2051
2051
|
}(), Y.forEach(function(e) {
|
|
2052
2052
|
e.props.scrollElement === o.currentTarget && e.__handleWindowScrollEvent();
|
|
2053
2053
|
});
|
|
@@ -2060,7 +2060,7 @@ function ft(o, e) {
|
|
|
2060
2060
|
function pt(o, e) {
|
|
2061
2061
|
(Y = Y.filter(function(t) {
|
|
2062
2062
|
return t !== o;
|
|
2063
|
-
})).length || (e.removeEventListener("scroll", $t), X && (ee(X),
|
|
2063
|
+
})).length || (e.removeEventListener("scroll", $t), X && (ee(X), Kt()));
|
|
2064
2064
|
}
|
|
2065
2065
|
var Ae = function(o) {
|
|
2066
2066
|
return o === window;
|
|
@@ -2113,7 +2113,7 @@ function Xt() {
|
|
|
2113
2113
|
}
|
|
2114
2114
|
var Yt = function() {
|
|
2115
2115
|
return typeof window < "u" ? window : void 0;
|
|
2116
|
-
},
|
|
2116
|
+
}, Ko = function() {
|
|
2117
2117
|
function o() {
|
|
2118
2118
|
var e, t, n, r;
|
|
2119
2119
|
G(this, o);
|
|
@@ -2173,7 +2173,7 @@ var Yt = function() {
|
|
|
2173
2173
|
return x.createElement("div", { ref: this._windowScrollerRef }, e({ onChildScroll: this._onChildScroll, registerChild: this._registerChild, height: i, isScrolling: n, scrollLeft: l, scrollTop: r, width: a }));
|
|
2174
2174
|
} }]);
|
|
2175
2175
|
}();
|
|
2176
|
-
p(
|
|
2176
|
+
p(Ko, "defaultProps", { onResize: function() {
|
|
2177
2177
|
}, onScroll: function() {
|
|
2178
2178
|
}, scrollingResetTimeInterval: 150, scrollElement: Yt(), serverHeight: 0, serverWidth: 0 });
|
|
2179
2179
|
const ie = "ReactVirtualizedDemo-flexContainer", Jt = "ReactVirtualizedDemo-tableRow", Zt = "ReactVirtualizedDemo-tableRowHover", ke = "ReactVirtualizedDemo-tableCell", Me = "ReactVirtualizedDemo-noClick";
|
|
@@ -2219,7 +2219,7 @@ function Yo(o) {
|
|
|
2219
2219
|
return g;
|
|
2220
2220
|
}, [n, e]), [s, c] = he(null);
|
|
2221
2221
|
De(() => {
|
|
2222
|
-
import("./
|
|
2222
|
+
import("./C5xUbwpUPDeNua-i.mjs").then((h) => {
|
|
2223
2223
|
c(new h.default(a, { threshold: 0, ignoreLocation: !0, keys: ["label", "description"] }));
|
|
2224
2224
|
});
|
|
2225
2225
|
}, [a]);
|