@marimo-team/islands 0.14.11-dev65 → 0.14.11-dev66
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/{ConnectedDataExplorerComponent-W09p89XR.js → ConnectedDataExplorerComponent-D276-Exz.js} +2 -2
- package/dist/{ImageComparisonComponent-C8S7GJUu.js → ImageComparisonComponent-DuwmF92R.js} +1 -1
- package/dist/{VegaLite-CaN9C9lD.js → VegaLite-BIT5xf6L.js} +3 -3
- package/dist/{_baseUniq-Cw0WkeM6.js → _baseUniq-BAt4DQXj.js} +1 -1
- package/dist/{any-language-editor-C0dGwfTL.js → any-language-editor-CLsJOpo5.js} +1 -1
- package/dist/{architectureDiagram-NQ2NVSRB-BTPC7rQF.js → architectureDiagram-NQ2NVSRB-CkTJeXvg.js} +5 -5
- package/dist/{blockDiagram-PHRCVELO-DEWonEyL.js → blockDiagram-PHRCVELO-CbisB_33.js} +5 -5
- package/dist/{c4Diagram-6F6E4RAY-Cf9bKymC.js → c4Diagram-6F6E4RAY-D9enQIdl.js} +2 -2
- package/dist/{channel-XTYSQFru.js → channel-C_zU0i1r.js} +1 -1
- package/dist/{chunk-353BL4L5-Ce5HqQRR.js → chunk-353BL4L5-D4pgYYMh.js} +1 -1
- package/dist/{chunk-67H74DCK-62eBh1Ha.js → chunk-67H74DCK-BNNfqAxZ.js} +1 -1
- package/dist/{chunk-6OLS64BW-DwFEOlRr.js → chunk-6OLS64BW-DlDKDAkt.js} +3 -3
- package/dist/{chunk-AACKK3MU-VdmCVd80.js → chunk-AACKK3MU-BGMXNZ6p.js} +1 -1
- package/dist/{chunk-BFAMUDN2-CIhgu2ZR.js → chunk-BFAMUDN2-UYCw3Xie.js} +1 -1
- package/dist/{chunk-E2GYISFI-XiD25GkX.js → chunk-E2GYISFI-DR5fEX_e.js} +1 -1
- package/dist/{chunk-QEP2MXWD-oSwUf5FZ.js → chunk-QEP2MXWD-DDMDeJy_.js} +4 -4
- package/dist/{chunk-SKB7J2MH-DxqQJIKo.js → chunk-SKB7J2MH-hbj1rUqj.js} +1 -1
- package/dist/{classDiagram-v2-O24JOBDK-CMZ6WVaK.js → classDiagram-BGRH5UQR-BPOUN2cY.js} +2 -2
- package/dist/{classDiagram-BGRH5UQR-CMZ6WVaK.js → classDiagram-v2-O24JOBDK-BPOUN2cY.js} +2 -2
- package/dist/{clone-CBPUhxLZ.js → clone-CLVn-QjQ.js} +1 -1
- package/dist/{dagre-FFZHY6LT-BXhlYejL.js → dagre-FFZHY6LT-DaAp2vI0.js} +6 -6
- package/dist/{data-grid-overlay-editor-C7aU0PQ0.js → data-grid-overlay-editor-4feDUp53.js} +2 -2
- package/dist/{diagram-3EMPZRKU-DsvXQDSB.js → diagram-3EMPZRKU-B6k_OBxu.js} +6 -6
- package/dist/{diagram-5UYTHUR4-CRml3__A.js → diagram-5UYTHUR4-DCc2Fa7I.js} +3 -3
- package/dist/{diagram-ZTM2IBQH-C816H7iV.js → diagram-ZTM2IBQH-CuTqn3mZ.js} +3 -3
- package/dist/{erDiagram-R3QVA2FD-C6cO8wrU.js → erDiagram-R3QVA2FD-UbheXLf8.js} +4 -4
- package/dist/{flowDiagram-PKI6S5ZS-ydvr5i1B.js → flowDiagram-PKI6S5ZS-CiDEkX98.js} +5 -5
- package/dist/{ganttDiagram-EK5VF46D-gDew8gJX.js → ganttDiagram-EK5VF46D-BX2spivj.js} +4 -4
- package/dist/{gitGraphDiagram-GW3U2K7C-CL27Xh3Y.js → gitGraphDiagram-GW3U2K7C-Dr_XBjY0.js} +4 -4
- package/dist/{glide-data-editor-CugqjnII.js → glide-data-editor-aQw7s3pK.js} +87 -87
- package/dist/{graph-jHGbknNk.js → graph-Cz84x_Gf.js} +3 -3
- package/dist/{index-D3TprEtw.js → index-Bc3XiKbY.js} +1 -1
- package/dist/{index-o9Jwqm1Y.js → index-Cu2WXORu.js} +1 -1
- package/dist/{index-DV-C5yBR.js → index-Dma6r30R.js} +1 -1
- package/dist/{index-Wyf7SjhS.js → index-DxwBi4rG.js} +3 -3
- package/dist/{infoDiagram-RLU2ROGC-DzYF5Iml.js → infoDiagram-RLU2ROGC-B7G3Zpur.js} +2 -2
- package/dist/{journeyDiagram-EWQZEKCU-NOcVJSqZ.js → journeyDiagram-EWQZEKCU-DRuGjslp.js} +3 -3
- package/dist/{kanban-definition-ILFWEQ3N-CPYyeFW9.js → kanban-definition-ILFWEQ3N-B86ETN6h.js} +2 -2
- package/dist/{layout-DpX8vwQa.js → layout-Bs9fdyaF.js} +4 -4
- package/dist/{linear-D0fwMESq.js → linear-CH1JxzKI.js} +1 -1
- package/dist/{main-BN5AUoET.js → main-CKOHA8zv.js} +17 -17
- package/dist/main.js +1 -1
- package/dist/{mermaid-BtXtrxmr.js → mermaid-ygLW6eu2.js} +29 -29
- package/dist/{min-B9ZWZuoa.js → min-ChGRLPOG.js} +2 -2
- package/dist/{mindmap-definition-CZNETY7S-B0QziHzp.js → mindmap-definition-CZNETY7S-Ce0r7Tyt.js} +2 -2
- package/dist/{number-overlay-editor-D5J2ru_d.js → number-overlay-editor-B7hcraPK.js} +2 -2
- package/dist/{pieDiagram-NIOCPIFQ-BwyipqVj.js → pieDiagram-NIOCPIFQ-AgPz-wW0.js} +3 -3
- package/dist/{quadrantDiagram-2OG54O6I-XvPMoisf.js → quadrantDiagram-2OG54O6I-BuOiJ3hH.js} +2 -2
- package/dist/{react-plotly-DYl8fNBx.js → react-plotly-DXAaSpDx.js} +1 -1
- package/dist/{requirementDiagram-SO3GGRV7-CTDBi1di.js → requirementDiagram-SO3GGRV7-CJb3BsBj.js} +3 -3
- package/dist/{sankeyDiagram-4UZDY2LN-BYug7Jne.js → sankeyDiagram-4UZDY2LN-DszhU5qR.js} +1 -1
- package/dist/{sequenceDiagram-ZIKVLSP4-D18MfB1k.js → sequenceDiagram-ZIKVLSP4-Ltekn63C.js} +3 -3
- package/dist/{slides-component-DpdlJJpo.js → slides-component-Gz5WWzQe.js} +1 -1
- package/dist/{stateDiagram-XX37X6EN-DddwUZ9l.js → stateDiagram-XX37X6EN-C6D8yQLb.js} +4 -4
- package/dist/{stateDiagram-v2-GD6S3NHB-D6Uve4i7.js → stateDiagram-v2-GD6S3NHB-DGub6y-Q.js} +2 -2
- package/dist/{time-BAs_2hsR.js → time-C_tMr96m.js} +2 -2
- package/dist/{timeline-definition-RI47OAVP-zmxKlliI.js → timeline-definition-RI47OAVP-LR9aI_Cg.js} +1 -1
- package/dist/{treemap-FKARHQ26-DdAB1ue8.js → treemap-FKARHQ26-Dql3fFRn.js} +5 -5
- package/dist/{vega-component-Dj806I-5.js → vega-component-Ch41ps9p.js} +2 -2
- package/dist/{xychartDiagram-H2YORKM3-CKgy5Itg.js → xychartDiagram-H2YORKM3-CIURJ7BN.js} +2 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { b$ as Qi, M as jn, G as d, c0 as $o, J as xi, K as vm, b as ft, b_ as ym, c1 as _h, L as $l, c as kh, j as
|
|
4
|
+
import { b$ as Qi, M as jn, G as d, c0 as $o, J as xi, K as vm, b as ft, b_ as ym, c1 as _h, L as $l, c as kh, j as _e, bB as wm, c2 as bm, c3 as Ih, c4 as Cm, bM as jl, c5 as Th, aR as Ql, c6 as Eh, c7 as Ph, c8 as Ah, c9 as Sm, bG as Rm, bD as xm, bC as Mm, bE as _m, U as km, ca as Im, bR as Tm, cb as eo, $ as jo, W as Em, cc as Pm, cd as Lu, ce as qu, cf as Am, cg as Dm, ch as Om, ci as Hm, cj as Fm, ck as Lm, __tla as __tla_0 } from "./main-CKOHA8zv.js";
|
|
5
5
|
let wy, R1, Or, w0, Vw, Ar, S1, Gt;
|
|
6
6
|
let __tla = Promise.all([
|
|
7
7
|
(() => {
|
|
@@ -4478,7 +4478,7 @@ let __tla = Promise.all([
|
|
|
4478
4478
|
], ae = k > 0 ? hr(l, k, u) : 0;
|
|
4479
4479
|
let de, $;
|
|
4480
4480
|
const Y = mg(y);
|
|
4481
|
-
return Kn(t, a, i, s, o, (X, se, ge, pe,
|
|
4481
|
+
return Kn(t, a, i, s, o, (X, se, ge, pe, Me) => {
|
|
4482
4482
|
const Qe = Math.max(0, pe - se), nt = se + Qe, Ee = o + 1, bt = X.width - Qe, lt = r - o - 1;
|
|
4483
4483
|
if (y.length > 0) {
|
|
4484
4484
|
let Ke = false;
|
|
@@ -4496,7 +4496,7 @@ let __tla = Promise.all([
|
|
|
4496
4496
|
}, te = A.columns.hasIndex(X.sourceIndex), we = h(X.group ?? "").overrideTheme, Fe = X.themeOverride === void 0 && we === void 0 ? R : In(R, we, X.themeOverride), ke = Fe.baseFontFull;
|
|
4497
4497
|
ke !== J && (J = ke, e.font = ke), Pe();
|
|
4498
4498
|
let Se;
|
|
4499
|
-
return Ro(
|
|
4499
|
+
return Ro(Me, ge, r, l, u, k, S, Y, (Ke, Le, Ue, qe, Oe) => {
|
|
4500
4500
|
var _a2, _b, _c2;
|
|
4501
4501
|
if (Le < 0 || (oe[0] = X.sourceIndex, oe[1] = Le, I !== void 0 && !I.has(oe))) return;
|
|
4502
4502
|
if (y.length > 0) {
|
|
@@ -5993,9 +5993,9 @@ let __tla = Promise.all([
|
|
|
5993
5993
|
}
|
|
5994
5994
|
function lh(e, t) {
|
|
5995
5995
|
var _a2;
|
|
5996
|
-
const { canvasCtx: n, headerCanvasCtx: r, width: o, height: i, cellXOffset: s, cellYOffset: a, translateX: l, translateY: u, mappedColumns: c, enableGroups: h, freezeColumns: m, dragAndDropState: g, theme: f, drawFocus: v, headerHeight: k, groupHeaderHeight: S, disabledRows: y, rowHeight: I, verticalBorder: A, overrideCursor: E, isResizing: x, selection: O, fillHandle: T, freezeTrailingRows: C, rows: H, getCellContent: M, getGroupDetails: w, getRowThemeOverride: R, isFocused: _, drawHeaderCallback: b, prelightCells: W, drawCellCallback: j, highlightRegions: U, resizeCol: ne, imageLoader: Z, lastBlitData: J, hoverValues: ue, hyperWrapping: oe, hoverInfo: ae, spriteManager: de, maxScaleFactor: $, hasAppendRow: Y, touchMode: X, enqueue: se, renderStateProvider: ge, getCellRenderer: pe, renderStrategy:
|
|
5996
|
+
const { canvasCtx: n, headerCanvasCtx: r, width: o, height: i, cellXOffset: s, cellYOffset: a, translateX: l, translateY: u, mappedColumns: c, enableGroups: h, freezeColumns: m, dragAndDropState: g, theme: f, drawFocus: v, headerHeight: k, groupHeaderHeight: S, disabledRows: y, rowHeight: I, verticalBorder: A, overrideCursor: E, isResizing: x, selection: O, fillHandle: T, freezeTrailingRows: C, rows: H, getCellContent: M, getGroupDetails: w, getRowThemeOverride: R, isFocused: _, drawHeaderCallback: b, prelightCells: W, drawCellCallback: j, highlightRegions: U, resizeCol: ne, imageLoader: Z, lastBlitData: J, hoverValues: ue, hyperWrapping: oe, hoverInfo: ae, spriteManager: de, maxScaleFactor: $, hasAppendRow: Y, touchMode: X, enqueue: se, renderStateProvider: ge, getCellRenderer: pe, renderStrategy: Me, bufferACtx: Qe, bufferBCtx: nt, damage: Ee, minimumCellWidth: bt, resizeIndicator: lt } = e;
|
|
5997
5997
|
if (o === 0 || i === 0) return;
|
|
5998
|
-
const Pe =
|
|
5998
|
+
const Pe = Me === "double-buffer", te = Math.min($, Math.ceil(window.devicePixelRatio ?? 1)), we = Me !== "direct" && Gv(e, t), Fe = n.canvas;
|
|
5999
5999
|
(Fe.width !== o * te || Fe.height !== i * te) && (Fe.width = o * te, Fe.height = i * te, Fe.style.width = o + "px", Fe.style.height = i + "px");
|
|
6000
6000
|
const ke = r.canvas, Se = h ? S + k : k, Ke = Se + 1;
|
|
6001
6001
|
(ke.width !== o * te || ke.height !== Ke * te) && (ke.width = o * te, ke.height = Ke * te, ke.style.width = o + "px", ke.style.height = Ke + "px");
|
|
@@ -6209,7 +6209,7 @@ let __tla = Promise.all([
|
|
|
6209
6209
|
var _a2;
|
|
6210
6210
|
return e.kind === ie.Custom ? e.copyData : ((_a2 = t == null ? void 0 : t(e)) == null ? void 0 : _a2.getAccessibilityString(e)) ?? "";
|
|
6211
6211
|
}, ty = (e, t) => {
|
|
6212
|
-
const { width: n, height: r, accessibilityHeight: o, columns: i, cellXOffset: s, cellYOffset: a, headerHeight: l, fillHandle: u = false, groupHeaderHeight: c, rowHeight: h, rows: m, getCellContent: g, getRowThemeOverride: f, onHeaderMenuClick: v, onHeaderIndicatorClick: k, enableGroups: S, isFilling: y, onCanvasFocused: I, onCanvasBlur: A, isFocused: E, selection: x, freezeColumns: O, onContextMenu: T, freezeTrailingRows: C, fixedShadowX: H = true, fixedShadowY: M = true, drawFocusRing: w, onMouseDown: R, onMouseUp: _, onMouseMoveRaw: b, onMouseMove: W, onItemHovered: j, dragAndDropState: U, firstColAccessible: ne, onKeyDown: Z, onKeyUp: J, highlightRegions: ue, canvasRef: oe, onDragStart: ae, onDragEnd: de, eventTargetRef: $, isResizing: Y, resizeColumn: X, isDragging: se, isDraggable: ge = false, allowResize: pe, disabledRows:
|
|
6212
|
+
const { width: n, height: r, accessibilityHeight: o, columns: i, cellXOffset: s, cellYOffset: a, headerHeight: l, fillHandle: u = false, groupHeaderHeight: c, rowHeight: h, rows: m, getCellContent: g, getRowThemeOverride: f, onHeaderMenuClick: v, onHeaderIndicatorClick: k, enableGroups: S, isFilling: y, onCanvasFocused: I, onCanvasBlur: A, isFocused: E, selection: x, freezeColumns: O, onContextMenu: T, freezeTrailingRows: C, fixedShadowX: H = true, fixedShadowY: M = true, drawFocusRing: w, onMouseDown: R, onMouseUp: _, onMouseMoveRaw: b, onMouseMove: W, onItemHovered: j, dragAndDropState: U, firstColAccessible: ne, onKeyDown: Z, onKeyUp: J, highlightRegions: ue, canvasRef: oe, onDragStart: ae, onDragEnd: de, eventTargetRef: $, isResizing: Y, resizeColumn: X, isDragging: se, isDraggable: ge = false, allowResize: pe, disabledRows: Me, hasAppendRow: Qe, getGroupDetails: nt, theme: Ee, prelightCells: bt, headerIcons: lt, verticalBorder: Pe, drawCell: te, drawHeader: we, onCellFocused: Fe, onDragOverCell: ke, onDrop: Se, onDragLeave: Ke, imageWindowLoader: Le, smoothScrollX: Ue = false, smoothScrollY: qe = false, experimental: Oe, getCellRenderer: Ze, resizeIndicator: Be = "full" } = e, Xe = e.translateX ?? 0, ht = e.translateY ?? 0, et = Math.max(O, Math.min(i.length - 1, s)), Te = d.useRef(null), pt = d.useRef((Oe == null ? void 0 : Oe.eventTarget) ?? window), At = pt.current, kt = Le, Ct = d.useRef(), [zt, Rt] = d.useState(false), ln = d.useRef([]), Tn = d.useRef(), [at, yn] = d.useState(), [ot, vt] = d.useState(), It = d.useRef(null), [ze, gt] = d.useState(), [ut, Kt] = d.useState(false), Ft = d.useRef(ut);
|
|
6213
6213
|
Ft.current = ut;
|
|
6214
6214
|
const Ut = d.useMemo(() => new Tp(lt, () => {
|
|
6215
6215
|
pr.current = void 0, Vn.current();
|
|
@@ -6434,7 +6434,7 @@ let __tla = Promise.all([
|
|
|
6434
6434
|
theme: Ee,
|
|
6435
6435
|
headerHeight: l,
|
|
6436
6436
|
groupHeaderHeight: c,
|
|
6437
|
-
disabledRows:
|
|
6437
|
+
disabledRows: Me ?? $e.empty(),
|
|
6438
6438
|
rowHeight: h,
|
|
6439
6439
|
verticalBorder: Pe,
|
|
6440
6440
|
isResizing: Y,
|
|
@@ -6490,7 +6490,7 @@ let __tla = Promise.all([
|
|
|
6490
6490
|
Ee,
|
|
6491
6491
|
l,
|
|
6492
6492
|
c,
|
|
6493
|
-
|
|
6493
|
+
Me,
|
|
6494
6494
|
h,
|
|
6495
6495
|
Pe,
|
|
6496
6496
|
Y,
|
|
@@ -7156,20 +7156,20 @@ let __tla = Promise.all([
|
|
|
7156
7156
|
u,
|
|
7157
7157
|
S,
|
|
7158
7158
|
x
|
|
7159
|
-
]),
|
|
7160
|
-
|
|
7159
|
+
]), Me = d.useRef(-1), Qe = d.useCallback(() => {
|
|
7160
|
+
Me.current = -1, f(void 0), k(void 0), A(void 0), y(false), s(void 0), l(void 0), m(void 0), c(false), o(void 0), n(void 0);
|
|
7161
7161
|
}, []), nt = d.useCallback((te, we) => {
|
|
7162
7162
|
if (te.button === 0) {
|
|
7163
7163
|
if (r !== void 0) {
|
|
7164
7164
|
if (($ == null ? void 0 : $.hasIndex(r)) === true) for (const ke of $) {
|
|
7165
7165
|
if (ke === r) continue;
|
|
7166
|
-
const Se = ae[ke], Ke = hi(Se,
|
|
7166
|
+
const Se = ae[ke], Ke = hi(Se, Me.current, _, R);
|
|
7167
7167
|
C == null ? void 0 : C(Se, Ke, ke, Ke + (Se.growOffset ?? 0));
|
|
7168
7168
|
}
|
|
7169
|
-
const Fe = hi(ae[r],
|
|
7169
|
+
const Fe = hi(ae[r], Me.current, _, R);
|
|
7170
7170
|
if (M == null ? void 0 : M(ae[r], Fe, r, Fe + (ae[r].growOffset ?? 0)), $.hasIndex(r)) for (const ke of $) {
|
|
7171
7171
|
if (ke === r) continue;
|
|
7172
|
-
const Se = ae[ke], Ke = hi(Se,
|
|
7172
|
+
const Se = ae[ke], Ke = hi(Se, Me.current, _, R);
|
|
7173
7173
|
M == null ? void 0 : M(Se, Ke, ke, Ke + (Se.growOffset ?? 0));
|
|
7174
7174
|
}
|
|
7175
7175
|
}
|
|
@@ -7208,9 +7208,9 @@ let __tla = Promise.all([
|
|
|
7208
7208
|
else if (g !== void 0 && I !== void 0) Math.abs(te.clientY - I) > 20 && y(true);
|
|
7209
7209
|
else if (r !== void 0 && t !== void 0 && we) {
|
|
7210
7210
|
const ke = we.getBoundingClientRect().width / we.offsetWidth, Se = (te.clientX - t) / ke, Ke = ae[r], Le = hi(Ke, Se, _, R);
|
|
7211
|
-
if (C == null ? void 0 : C(Ke, Le, r, Le + (Ke.growOffset ?? 0)),
|
|
7211
|
+
if (C == null ? void 0 : C(Ke, Le, r, Le + (Ke.growOffset ?? 0)), Me.current = Se, ($ == null ? void 0 : $.first()) === r) for (const Ue of $) {
|
|
7212
7212
|
if (Ue === r) continue;
|
|
7213
|
-
const qe = ae[Ue], Oe = hi(qe,
|
|
7213
|
+
const qe = ae[Ue], Oe = hi(qe, Me.current, _, R);
|
|
7214
7214
|
C == null ? void 0 : C(qe, Oe, Ue, Oe + (qe.growOffset ?? 0));
|
|
7215
7215
|
}
|
|
7216
7216
|
}
|
|
@@ -7434,8 +7434,8 @@ let __tla = Promise.all([
|
|
|
7434
7434
|
void 0,
|
|
7435
7435
|
X
|
|
7436
7436
|
]);
|
|
7437
|
-
const
|
|
7438
|
-
de = (
|
|
7437
|
+
const Me = T.current.lockDirection;
|
|
7438
|
+
de = (Me == null ? void 0 : Me[0]) ?? de, $ = (Me == null ? void 0 : Me[1]) ?? $, T.current.scrollLeft = de, T.current.scrollTop = $;
|
|
7439
7439
|
const Qe = Y.clientWidth, nt = Y.clientHeight, Ee = $, bt = A.current - Ee, lt = Y.scrollHeight - nt;
|
|
7440
7440
|
A.current = Ee;
|
|
7441
7441
|
let Pe;
|
|
@@ -7444,7 +7444,7 @@ let __tla = Promise.all([
|
|
|
7444
7444
|
Pe = te * we, I.current = Pe;
|
|
7445
7445
|
} else I.current -= bt, Pe = I.current;
|
|
7446
7446
|
else Pe = Ee, I.current = Pe;
|
|
7447
|
-
Pe = Math.max(0, Math.min(Pe, r - nt)), I.current = Pe,
|
|
7447
|
+
Pe = Math.max(0, Math.min(Pe, r - nt)), I.current = Pe, Me !== void 0 && (window.clearTimeout(R.current), w(false), R.current = window.setTimeout(() => w(true), 200)), i({
|
|
7448
7448
|
x: de,
|
|
7449
7449
|
y: Pe,
|
|
7450
7450
|
width: Qe - c,
|
|
@@ -7552,18 +7552,18 @@ let __tla = Promise.all([
|
|
|
7552
7552
|
let de = 0;
|
|
7553
7553
|
for (let pe = 0; pe < a; pe++) de += t[pe].width;
|
|
7554
7554
|
for (const pe of t) {
|
|
7555
|
-
const
|
|
7556
|
-
if (Z.x >=
|
|
7557
|
-
else if (Z.x >
|
|
7558
|
-
else if (Z.x + Z.width >
|
|
7555
|
+
const Me = J - de;
|
|
7556
|
+
if (Z.x >= Me + pe.width) J += pe.width, ae++, oe++;
|
|
7557
|
+
else if (Z.x > Me) J += pe.width, A ? ue += Me - Z.x : ae++, oe++;
|
|
7558
|
+
else if (Z.x + Z.width > Me) J += pe.width, oe++;
|
|
7559
7559
|
else break;
|
|
7560
7560
|
}
|
|
7561
7561
|
let $ = 0, Y = 0, X = 0;
|
|
7562
7562
|
if (typeof r == "number") E ? (Y = Math.floor(Z.y / r), $ = Y * r - Z.y) : Y = Math.ceil(Z.y / r), X = Math.ceil(Z.height / r) + Y, $ < 0 && X++;
|
|
7563
7563
|
else {
|
|
7564
7564
|
let pe = 0;
|
|
7565
|
-
for (let
|
|
7566
|
-
const Qe = r(
|
|
7565
|
+
for (let Me = 0; Me < n; Me++) {
|
|
7566
|
+
const Qe = r(Me), nt = pe + (E ? 0 : Qe / 2);
|
|
7567
7567
|
if (Z.y >= pe + Qe) pe += Qe, Y++, X++;
|
|
7568
7568
|
else if (Z.y > nt) pe += Qe, E ? $ += nt - Z.y : Y++, X++;
|
|
7569
7569
|
else if (Z.y + Z.height > Qe / 2 + pe) pe += Qe, X++;
|
|
@@ -7790,7 +7790,7 @@ let __tla = Promise.all([
|
|
|
7790
7790
|
lt + oe
|
|
7791
7791
|
]), pe = true);
|
|
7792
7792
|
}
|
|
7793
|
-
const
|
|
7793
|
+
const Me = performance.now();
|
|
7794
7794
|
pe && T([
|
|
7795
7795
|
...$
|
|
7796
7796
|
]), de += ge.length, $t(de <= r);
|
|
@@ -7800,7 +7800,7 @@ let __tla = Promise.all([
|
|
|
7800
7800
|
rowsSearched: de,
|
|
7801
7801
|
selectedIndex: Qe
|
|
7802
7802
|
}), c == null ? void 0 : c($, Qe), oe + ae >= r ? oe = 0 : oe += ae;
|
|
7803
|
-
const nt =
|
|
7803
|
+
const nt = Me - X, Ee = Math.max(nt, 1), bt = vy / Ee;
|
|
7804
7804
|
ae = Math.ceil(ae * bt), de < r && $.length < 1e3 && (x.current = window.requestAnimationFrame(Y));
|
|
7805
7805
|
};
|
|
7806
7806
|
H(), x.current = window.requestAnimationFrame(Y);
|
|
@@ -9084,7 +9084,7 @@ let __tla = Promise.all([
|
|
|
9084
9084
|
scrollRef: m
|
|
9085
9085
|
};
|
|
9086
9086
|
}
|
|
9087
|
-
const Xy = d.lazy(async () => await import("./data-grid-overlay-editor-
|
|
9087
|
+
const Xy = d.lazy(async () => await import("./data-grid-overlay-editor-4feDUp53.js"));
|
|
9088
9088
|
let Vy = 0;
|
|
9089
9089
|
function Yy(e) {
|
|
9090
9090
|
return W1(Bd(Bd(e).filter((t) => t.span !== void 0).map((t) => {
|
|
@@ -9121,7 +9121,7 @@ let __tla = Promise.all([
|
|
|
9121
9121
|
current: void 0
|
|
9122
9122
|
}, Jy = (e, t) => {
|
|
9123
9123
|
var _a2, _b, _c2;
|
|
9124
|
-
const [n, r] = d.useState(lo), [o, i] = d.useState(), s = d.useRef(null), a = d.useRef(null), [l, u] = d.useState(), c = d.useRef(), h = typeof window > "u" ? null : window, { imageEditorOverride: m, getRowThemeOverride: g, markdownDivCreateNode: f, width: v, height: k, columns: S, rows: y, getCellContent: I, onCellClicked: A, onCellActivated: E, onFillPattern: x, onFinishedEditing: O, coercePasteValue: T, drawHeader: C, drawCell: H, editorBloom: M, onHeaderClicked: w, onColumnProposeMove: R, rangeSelectionColumnSpanning: _ = true, spanRangeBehavior: b = "default", onGroupHeaderClicked: W, onCellContextMenu: j, className: U, onHeaderContextMenu: ne, getCellsForSelection: Z, onGroupHeaderContextMenu: J, onGroupHeaderRenamed: ue, onCellEdited: oe, onCellsEdited: ae, onSearchResultsChanged: de, searchResults: $, onSearchValueChange: Y, searchValue: X, onKeyDown: se, onKeyUp: ge, keybindings: pe, editOnType:
|
|
9124
|
+
const [n, r] = d.useState(lo), [o, i] = d.useState(), s = d.useRef(null), a = d.useRef(null), [l, u] = d.useState(), c = d.useRef(), h = typeof window > "u" ? null : window, { imageEditorOverride: m, getRowThemeOverride: g, markdownDivCreateNode: f, width: v, height: k, columns: S, rows: y, getCellContent: I, onCellClicked: A, onCellActivated: E, onFillPattern: x, onFinishedEditing: O, coercePasteValue: T, drawHeader: C, drawCell: H, editorBloom: M, onHeaderClicked: w, onColumnProposeMove: R, rangeSelectionColumnSpanning: _ = true, spanRangeBehavior: b = "default", onGroupHeaderClicked: W, onCellContextMenu: j, className: U, onHeaderContextMenu: ne, getCellsForSelection: Z, onGroupHeaderContextMenu: J, onGroupHeaderRenamed: ue, onCellEdited: oe, onCellsEdited: ae, onSearchResultsChanged: de, searchResults: $, onSearchValueChange: Y, searchValue: X, onKeyDown: se, onKeyUp: ge, keybindings: pe, editOnType: Me = true, onRowAppended: Qe, onColumnMoved: nt, validateCell: Ee, highlightRegions: bt, rangeSelect: lt = "rect", columnSelect: Pe = "multi", rowSelect: te = "multi", rangeSelectionBlending: we = "exclusive", columnSelectionBlending: Fe = "exclusive", rowSelectionBlending: ke = "exclusive", onDelete: Se, onDragStart: Ke, onMouseMove: Le, onPaste: Ue, copyHeaders: qe = false, freezeColumns: Oe = 0, cellActivationBehavior: Ze = "second-click", rowSelectionMode: Be = "auto", onHeaderMenuClick: Xe, onHeaderIndicatorClick: ht, getGroupDetails: et, rowGrouping: Te, onSearchClose: pt, onItemHovered: At, onSelectionCleared: kt, showSearch: Ct, onVisibleRegionChanged: zt, gridSelection: Rt, onGridSelectionChange: ln, minColumnWidth: Tn = 50, maxColumnWidth: at = 500, maxColumnAutoWidth: yn, provideEditor: ot, trailingRowOptions: vt, freezeTrailingRows: It = 0, allowedFillDirections: ze = "orthogonal", scrollOffsetX: gt, scrollOffsetY: ut, verticalBorder: Kt, onDragOverCell: Ft, onDrop: Ut, onColumnResize: un, onColumnResizeEnd: En, onColumnResizeStart: Un, customRenderers: gr, fillHandle: yt, experimental: en, fixedShadowX: xt, fixedShadowY: Mt, headerIcons: wn, imageWindowLoader: Ti, initialSize: mr, isDraggable: bn, onDragLeave: Cn, onRowMoved: cn, overscrollX: Ei, overscrollY: Pi, preventDiagonalScrolling: pr, rightElement: vr, rightElementProps: yr, trapFocus: Xn = false, smoothScrollX: Vn, smoothScrollY: Pn, scaleToRem: xo = false, rowHeight: Ai = 34, headerHeight: Di = 36, groupHeaderHeight: Mo = Di, theme: Yn, isOutsideClick: An, renderers: Nr, resizeIndicator: _o, scrollToActiveCell: Br = true, drawFocusRing: Wr = true } = e, Jn = Wr === "no-editor" ? o === void 0 : Wr, Sn = typeof e.rowMarkers == "string" ? void 0 : e.rowMarkers, qt = (Sn == null ? void 0 : Sn.kind) ?? e.rowMarkers ?? "none", $r = (Sn == null ? void 0 : Sn.width) ?? e.rowMarkerWidth, jr = (Sn == null ? void 0 : Sn.startIndex) ?? e.rowMarkerStartIndex ?? 1, wr = (Sn == null ? void 0 : Sn.theme) ?? e.rowMarkerTheme, Rn = Sn == null ? void 0 : Sn.headerTheme, xn = Sn == null ? void 0 : Sn.headerAlwaysVisible, Zn = te !== "multi" || (Sn == null ? void 0 : Sn.headerDisabled) === true, dn = (Sn == null ? void 0 : Sn.checkboxStyle) ?? "square", fn = Math.max(Tn, 20), Qn = Math.max(at, fn), Oi = Math.max(yn ?? Qn, fn), Gr = d.useMemo(() => typeof window > "u" ? {
|
|
9125
9125
|
fontSize: "16px"
|
|
9126
9126
|
} : window.getComputedStyle(document.documentElement), []), { rows: ye, rowNumberMapper: Hi, rowHeight: Fi, getRowThemeOverride: Dn } = jy(Te, y, Ai, g), Li = d.useMemo(() => Number.parseFloat(Gr.fontSize), [
|
|
9127
9127
|
Gr
|
|
@@ -10610,7 +10610,7 @@ let __tla = Promise.all([
|
|
|
10610
10610
|
}
|
|
10611
10611
|
}), D || Au(p) || K.current === void 0) return;
|
|
10612
10612
|
const [P, N] = K.current.cell, B = wt.current;
|
|
10613
|
-
if (
|
|
10613
|
+
if (Me && !p.metaKey && !p.ctrlKey && K.current !== void 0 && p.key.length === 1 && /[\p{L}\p{M}\p{N}\p{S}\p{P}]/u.test(p.key) && p.bounds !== void 0 && gi(I([
|
|
10614
10614
|
P - q,
|
|
10615
10615
|
Math.max(0, Math.min(N, ye - 1))
|
|
10616
10616
|
]))) {
|
|
@@ -10621,7 +10621,7 @@ let __tla = Promise.all([
|
|
|
10621
10621
|
]), Sr(p.bounds, true, p.key), p.stopPropagation(), p.preventDefault();
|
|
10622
10622
|
}
|
|
10623
10623
|
}, [
|
|
10624
|
-
|
|
10624
|
+
Me,
|
|
10625
10625
|
se,
|
|
10626
10626
|
Au,
|
|
10627
10627
|
K,
|
|
@@ -11689,7 +11689,7 @@ let __tla = Promise.all([
|
|
|
11689
11689
|
height: u - 1
|
|
11690
11690
|
};
|
|
11691
11691
|
}
|
|
11692
|
-
const xw = d.lazy(async () => await import("./number-overlay-editor-
|
|
11692
|
+
const xw = d.lazy(async () => await import("./number-overlay-editor-B7hcraPK.js")), Mw = {
|
|
11693
11693
|
getAccessibilityString: (e) => {
|
|
11694
11694
|
var _a2;
|
|
11695
11695
|
return ((_a2 = e.data) == null ? void 0 : _a2.toString()) ?? "";
|
|
@@ -12225,26 +12225,26 @@ let __tla = Promise.all([
|
|
|
12225
12225
|
}, t[4] = l, t[5] = o, t[6] = u) : u = t[6];
|
|
12226
12226
|
const c = u;
|
|
12227
12227
|
let h;
|
|
12228
|
-
t[7] === Symbol.for("react.memo_cache_sentinel") ? (h =
|
|
12228
|
+
t[7] === Symbol.for("react.memo_cache_sentinel") ? (h = _e.jsxs(Ih, {
|
|
12229
12229
|
children: [
|
|
12230
|
-
|
|
12230
|
+
_e.jsx(Cm, {
|
|
12231
12231
|
className: "mr-2 h-3.5 w-3.5"
|
|
12232
12232
|
}),
|
|
12233
12233
|
"Rename column"
|
|
12234
12234
|
]
|
|
12235
12235
|
}), t[7] = h) : h = t[7];
|
|
12236
12236
|
let m;
|
|
12237
|
-
t[8] === Symbol.for("react.memo_cache_sentinel") ? (m =
|
|
12237
|
+
t[8] === Symbol.for("react.memo_cache_sentinel") ? (m = _e.jsx(jl, {
|
|
12238
12238
|
htmlFor: "rename-input",
|
|
12239
12239
|
children: "Column name"
|
|
12240
12240
|
}), t[8] = m) : m = t[8];
|
|
12241
12241
|
let g;
|
|
12242
12242
|
t[9] === Symbol.for("react.memo_cache_sentinel") ? (g = (y) => s(y.target.value), t[9] = g) : g = t[9];
|
|
12243
12243
|
let f;
|
|
12244
|
-
t[10] !== c || t[11] !== i ? (f =
|
|
12244
|
+
t[10] !== c || t[11] !== i ? (f = _e.jsxs("div", {
|
|
12245
12245
|
children: [
|
|
12246
12246
|
m,
|
|
12247
|
-
|
|
12247
|
+
_e.jsx(Th, {
|
|
12248
12248
|
value: i,
|
|
12249
12249
|
onChange: g,
|
|
12250
12250
|
placeholder: "Enter new column name",
|
|
@@ -12255,7 +12255,7 @@ let __tla = Promise.all([
|
|
|
12255
12255
|
}), t[10] = c, t[11] = i, t[12] = f) : f = t[12];
|
|
12256
12256
|
const v = !i.trim();
|
|
12257
12257
|
let k;
|
|
12258
|
-
t[13] !== l || t[14] !== v ? (k =
|
|
12258
|
+
t[13] !== l || t[14] !== v ? (k = _e.jsx(Ql, {
|
|
12259
12259
|
onClick: l,
|
|
12260
12260
|
disabled: v,
|
|
12261
12261
|
size: "sm",
|
|
@@ -12263,13 +12263,13 @@ let __tla = Promise.all([
|
|
|
12263
12263
|
children: "Rename"
|
|
12264
12264
|
}), t[13] = l, t[14] = v, t[15] = k) : k = t[15];
|
|
12265
12265
|
let S;
|
|
12266
|
-
return t[16] !== f || t[17] !== k ? (S =
|
|
12266
|
+
return t[16] !== f || t[17] !== k ? (S = _e.jsxs(Eh, {
|
|
12267
12267
|
children: [
|
|
12268
12268
|
h,
|
|
12269
|
-
|
|
12270
|
-
children:
|
|
12269
|
+
_e.jsx(Ph, {
|
|
12270
|
+
children: _e.jsx(Ah, {
|
|
12271
12271
|
className: "w-64 p-4",
|
|
12272
|
-
children:
|
|
12272
|
+
children: _e.jsxs("div", {
|
|
12273
12273
|
className: "space-y-3",
|
|
12274
12274
|
children: [
|
|
12275
12275
|
f,
|
|
@@ -12301,9 +12301,9 @@ let __tla = Promise.all([
|
|
|
12301
12301
|
const Z = ne;
|
|
12302
12302
|
g = Eh;
|
|
12303
12303
|
let J;
|
|
12304
|
-
t[27] === Symbol.for("react.memo_cache_sentinel") ? (J =
|
|
12304
|
+
t[27] === Symbol.for("react.memo_cache_sentinel") ? (J = _e.jsx(Sm, {
|
|
12305
12305
|
className: "mr-2 h-3.5 w-3.5"
|
|
12306
|
-
}), t[27] = J) : J = t[27], t[28] !== n ? (O =
|
|
12306
|
+
}), t[27] = J) : J = t[27], t[28] !== n ? (O = _e.jsxs(Ih, {
|
|
12307
12307
|
children: [
|
|
12308
12308
|
J,
|
|
12309
12309
|
"Add column to the ",
|
|
@@ -12312,7 +12312,7 @@ let __tla = Promise.all([
|
|
|
12312
12312
|
}), t[28] = n, t[29] = O) : O = t[29], m = Ph, h = Ah, x = "w-64 p-4", A = "space-y-3";
|
|
12313
12313
|
const ue = `add-column-input-${n}`;
|
|
12314
12314
|
let oe;
|
|
12315
|
-
t[30] !== ue ? (oe =
|
|
12315
|
+
t[30] !== ue ? (oe = _e.jsx(jl, {
|
|
12316
12316
|
htmlFor: ue,
|
|
12317
12317
|
children: "Column name"
|
|
12318
12318
|
}), t[30] = ue, t[31] = oe) : oe = t[31];
|
|
@@ -12320,38 +12320,38 @@ let __tla = Promise.all([
|
|
|
12320
12320
|
let de;
|
|
12321
12321
|
t[32] === Symbol.for("react.memo_cache_sentinel") ? (de = (ge) => s(ge.target.value), t[32] = de) : de = t[32];
|
|
12322
12322
|
let $;
|
|
12323
|
-
t[33] !== i || t[34] !== Z || t[35] !== ae ? ($ =
|
|
12323
|
+
t[33] !== i || t[34] !== Z || t[35] !== ae ? ($ = _e.jsx(Th, {
|
|
12324
12324
|
id: ae,
|
|
12325
12325
|
value: i,
|
|
12326
12326
|
onChange: de,
|
|
12327
12327
|
placeholder: "Enter column name",
|
|
12328
12328
|
className: "mt-1",
|
|
12329
12329
|
onKeyDown: Z
|
|
12330
|
-
}), t[33] = i, t[34] = Z, t[35] = ae, t[36] = $) : $ = t[36], t[37] !== oe || t[38] !== $ ? (E =
|
|
12330
|
+
}), t[33] = i, t[34] = Z, t[35] = ae, t[36] = $) : $ = t[36], t[37] !== oe || t[38] !== $ ? (E = _e.jsxs("div", {
|
|
12331
12331
|
children: [
|
|
12332
12332
|
oe,
|
|
12333
12333
|
$
|
|
12334
12334
|
]
|
|
12335
12335
|
}), t[37] = oe, t[38] = $, t[39] = E) : E = t[39];
|
|
12336
12336
|
const Y = `add-column-type-${n}`;
|
|
12337
|
-
t[40] !== Y ? (I =
|
|
12337
|
+
t[40] !== Y ? (I = _e.jsx(jl, {
|
|
12338
12338
|
htmlFor: Y,
|
|
12339
12339
|
children: "Data type"
|
|
12340
12340
|
}), t[40] = Y, t[41] = I) : I = t[41], c = Rm, k = a, t[42] === Symbol.for("react.memo_cache_sentinel") ? (S = (ge) => l(ge), t[42] = S) : S = t[42];
|
|
12341
12341
|
const X = `add-column-type-${n}`;
|
|
12342
12342
|
let se;
|
|
12343
|
-
t[43] === Symbol.for("react.memo_cache_sentinel") ? (se =
|
|
12343
|
+
t[43] === Symbol.for("react.memo_cache_sentinel") ? (se = _e.jsx(xm, {}), t[43] = se) : se = t[43], t[44] !== X ? (y = _e.jsx(Mm, {
|
|
12344
12344
|
id: X,
|
|
12345
12345
|
className: "mt-1",
|
|
12346
12346
|
children: se
|
|
12347
12347
|
}), t[44] = X, t[45] = y) : y = t[45], u = _m, v = j.map(Uw), t[0] = i, t[1] = a, t[2] = n, t[3] = r, t[4] = o, t[5] = u, t[6] = c, t[7] = h, t[8] = m, t[9] = g, t[10] = f, t[11] = v, t[12] = k, t[13] = S, t[14] = y, t[15] = I, t[16] = A, t[17] = E, t[18] = x, t[19] = O;
|
|
12348
12348
|
} else u = t[5], c = t[6], h = t[7], m = t[8], g = t[9], f = t[10], v = t[11], k = t[12], S = t[13], y = t[14], I = t[15], A = t[16], E = t[17], x = t[18], O = t[19];
|
|
12349
12349
|
let T;
|
|
12350
|
-
t[46] !== u || t[47] !== v ? (T =
|
|
12350
|
+
t[46] !== u || t[47] !== v ? (T = _e.jsx(u, {
|
|
12351
12351
|
children: v
|
|
12352
12352
|
}), t[46] = u, t[47] = v, t[48] = T) : T = t[48];
|
|
12353
12353
|
let C;
|
|
12354
|
-
t[49] !== c || t[50] !== T || t[51] !== k || t[52] !== S || t[53] !== y ? (C =
|
|
12354
|
+
t[49] !== c || t[50] !== T || t[51] !== k || t[52] !== S || t[53] !== y ? (C = _e.jsxs(c, {
|
|
12355
12355
|
value: k,
|
|
12356
12356
|
onValueChange: S,
|
|
12357
12357
|
children: [
|
|
@@ -12360,7 +12360,7 @@ let __tla = Promise.all([
|
|
|
12360
12360
|
]
|
|
12361
12361
|
}), t[49] = c, t[50] = T, t[51] = k, t[52] = S, t[53] = y, t[54] = C) : C = t[54];
|
|
12362
12362
|
let H;
|
|
12363
|
-
t[55] !== C || t[56] !== I ? (H =
|
|
12363
|
+
t[55] !== C || t[56] !== I ? (H = _e.jsxs("div", {
|
|
12364
12364
|
children: [
|
|
12365
12365
|
I,
|
|
12366
12366
|
C
|
|
@@ -12368,7 +12368,7 @@ let __tla = Promise.all([
|
|
|
12368
12368
|
}), t[55] = C, t[56] = I, t[57] = H) : H = t[57];
|
|
12369
12369
|
const M = !i.trim();
|
|
12370
12370
|
let w;
|
|
12371
|
-
t[58] !== f || t[59] !== M ? (w =
|
|
12371
|
+
t[58] !== f || t[59] !== M ? (w = _e.jsx(Ql, {
|
|
12372
12372
|
onClick: f,
|
|
12373
12373
|
disabled: M,
|
|
12374
12374
|
size: "sm",
|
|
@@ -12376,7 +12376,7 @@ let __tla = Promise.all([
|
|
|
12376
12376
|
children: "Add"
|
|
12377
12377
|
}), t[58] = f, t[59] = M, t[60] = w) : w = t[60];
|
|
12378
12378
|
let R;
|
|
12379
|
-
t[61] !== H || t[62] !== w || t[63] !== A || t[64] !== E ? (R =
|
|
12379
|
+
t[61] !== H || t[62] !== w || t[63] !== A || t[64] !== E ? (R = _e.jsxs("div", {
|
|
12380
12380
|
className: A,
|
|
12381
12381
|
children: [
|
|
12382
12382
|
E,
|
|
@@ -12385,16 +12385,16 @@ let __tla = Promise.all([
|
|
|
12385
12385
|
]
|
|
12386
12386
|
}), t[61] = H, t[62] = w, t[63] = A, t[64] = E, t[65] = R) : R = t[65];
|
|
12387
12387
|
let _;
|
|
12388
|
-
t[66] !== h || t[67] !== R || t[68] !== x ? (_ =
|
|
12388
|
+
t[66] !== h || t[67] !== R || t[68] !== x ? (_ = _e.jsx(h, {
|
|
12389
12389
|
className: x,
|
|
12390
12390
|
children: R
|
|
12391
12391
|
}), t[66] = h, t[67] = R, t[68] = x, t[69] = _) : _ = t[69];
|
|
12392
12392
|
let b;
|
|
12393
|
-
t[70] !== m || t[71] !== _ ? (b =
|
|
12393
|
+
t[70] !== m || t[71] !== _ ? (b = _e.jsx(m, {
|
|
12394
12394
|
children: _
|
|
12395
12395
|
}), t[70] = m, t[71] = _, t[72] = b) : b = t[72];
|
|
12396
12396
|
let W;
|
|
12397
|
-
return t[73] !== g || t[74] !== b || t[75] !== O ? (W =
|
|
12397
|
+
return t[73] !== g || t[74] !== b || t[75] !== O ? (W = _e.jsxs(g, {
|
|
12398
12398
|
children: [
|
|
12399
12399
|
O,
|
|
12400
12400
|
b
|
|
@@ -12402,7 +12402,7 @@ let __tla = Promise.all([
|
|
|
12402
12402
|
}), t[73] = g, t[74] = b, t[75] = O, t[76] = W) : W = t[76], W;
|
|
12403
12403
|
};
|
|
12404
12404
|
function Uw(e) {
|
|
12405
|
-
return
|
|
12405
|
+
return _e.jsx(wm, {
|
|
12406
12406
|
value: e,
|
|
12407
12407
|
children: bm(e)
|
|
12408
12408
|
}, e);
|
|
@@ -12544,12 +12544,12 @@ let __tla = Promise.all([
|
|
|
12544
12544
|
]), O = d.useCallback(($) => {
|
|
12545
12545
|
const [Y, X] = $, ge = e[X][x[Y].title], pe = x[Y].kind;
|
|
12546
12546
|
if (pe === ie.Boolean) {
|
|
12547
|
-
const
|
|
12547
|
+
const Me = !!ge;
|
|
12548
12548
|
return {
|
|
12549
12549
|
kind: ie.Boolean,
|
|
12550
12550
|
allowOverlay: false,
|
|
12551
12551
|
readonly: false,
|
|
12552
|
-
data:
|
|
12552
|
+
data: Me
|
|
12553
12553
|
};
|
|
12554
12554
|
}
|
|
12555
12555
|
return pe === ie.Number && typeof ge == "number" ? {
|
|
@@ -12570,17 +12570,17 @@ let __tla = Promise.all([
|
|
|
12570
12570
|
e
|
|
12571
12571
|
]), T = d.useCallback(($, Y) => {
|
|
12572
12572
|
const [X, se] = $, ge = x[X], pe = ge.title;
|
|
12573
|
-
let
|
|
12574
|
-
(ge.dataType === "number" || ge.dataType === "integer") && (Y.data === void 0 || Y.data === "") && (
|
|
12573
|
+
let Me = Y.data;
|
|
12574
|
+
(ge.dataType === "number" || ge.dataType === "integer") && (Y.data === void 0 || Y.data === "") && (Me = null), t((Qe) => {
|
|
12575
12575
|
const nt = [
|
|
12576
12576
|
...Qe
|
|
12577
12577
|
];
|
|
12578
|
-
return nt[se][pe] =
|
|
12578
|
+
return nt[se][pe] = Me, nt;
|
|
12579
12579
|
}), i([
|
|
12580
12580
|
{
|
|
12581
12581
|
rowIdx: se,
|
|
12582
12582
|
columnId: pe,
|
|
12583
|
-
value:
|
|
12583
|
+
value: Me
|
|
12584
12584
|
}
|
|
12585
12585
|
]);
|
|
12586
12586
|
}, [
|
|
@@ -12689,7 +12689,7 @@ let __tla = Promise.all([
|
|
|
12689
12689
|
let Y = 0;
|
|
12690
12690
|
for (const X of $) {
|
|
12691
12691
|
const se = X - Y;
|
|
12692
|
-
t((ge) => ge.filter((pe,
|
|
12692
|
+
t((ge) => ge.filter((pe, Me) => Me !== se)), Y++;
|
|
12693
12693
|
}
|
|
12694
12694
|
y({
|
|
12695
12695
|
columns: $e.empty(),
|
|
@@ -12743,13 +12743,13 @@ let __tla = Promise.all([
|
|
|
12743
12743
|
W(X);
|
|
12744
12744
|
return;
|
|
12745
12745
|
}
|
|
12746
|
-
c(pe, X), r((
|
|
12747
|
-
columnFields:
|
|
12746
|
+
c(pe, X), r((Me) => Pr({
|
|
12747
|
+
columnFields: Me,
|
|
12748
12748
|
columnIdx: pe,
|
|
12749
12749
|
type: "insert",
|
|
12750
12750
|
dataType: se,
|
|
12751
12751
|
newColumnName: X
|
|
12752
|
-
})), t((
|
|
12752
|
+
})), t((Me) => Rh(Me, X)), f(void 0);
|
|
12753
12753
|
}
|
|
12754
12754
|
}, Z = (g == null ? void 0 : g.col) === x.length - 1, J = g !== void 0, ue = "mr-2 h-3.5 w-3.5", oe = {
|
|
12755
12755
|
hint: "New row",
|
|
@@ -12757,15 +12757,15 @@ let __tla = Promise.all([
|
|
|
12757
12757
|
tint: true
|
|
12758
12758
|
}, ae = e.length > 1e5, de = () => {
|
|
12759
12759
|
if (!J) return;
|
|
12760
|
-
const $ =
|
|
12760
|
+
const $ = _e.jsxs(_e.Fragment, {
|
|
12761
12761
|
children: [
|
|
12762
|
-
|
|
12762
|
+
_e.jsx(Kw, {
|
|
12763
12763
|
currentColumnName: x[g.col].title,
|
|
12764
12764
|
onRename: j,
|
|
12765
12765
|
onCancel: () => f(void 0)
|
|
12766
12766
|
}),
|
|
12767
|
-
|
|
12768
|
-
|
|
12767
|
+
_e.jsx(Lu, {}),
|
|
12768
|
+
_e.jsx(Ch, {
|
|
12769
12769
|
direction: "left",
|
|
12770
12770
|
onAdd: (Y, X) => ne({
|
|
12771
12771
|
direction: "left",
|
|
@@ -12774,7 +12774,7 @@ let __tla = Promise.all([
|
|
|
12774
12774
|
}),
|
|
12775
12775
|
onCancel: () => f(void 0)
|
|
12776
12776
|
}),
|
|
12777
|
-
|
|
12777
|
+
_e.jsx(Ch, {
|
|
12778
12778
|
direction: "right",
|
|
12779
12779
|
onAdd: (Y, X) => ne({
|
|
12780
12780
|
direction: "right",
|
|
@@ -12783,12 +12783,12 @@ let __tla = Promise.all([
|
|
|
12783
12783
|
}),
|
|
12784
12784
|
onCancel: () => f(void 0)
|
|
12785
12785
|
}),
|
|
12786
|
-
|
|
12787
|
-
!Z &&
|
|
12786
|
+
_e.jsx(Lu, {}),
|
|
12787
|
+
!Z && _e.jsxs(qu, {
|
|
12788
12788
|
onClick: U,
|
|
12789
12789
|
className: "text-destructive focus:text-destructive",
|
|
12790
12790
|
children: [
|
|
12791
|
-
|
|
12791
|
+
_e.jsx(Am, {
|
|
12792
12792
|
className: ue
|
|
12793
12793
|
}),
|
|
12794
12794
|
"Delete column"
|
|
@@ -12796,20 +12796,20 @@ let __tla = Promise.all([
|
|
|
12796
12796
|
})
|
|
12797
12797
|
]
|
|
12798
12798
|
});
|
|
12799
|
-
return
|
|
12799
|
+
return _e.jsx(Dm, {
|
|
12800
12800
|
open: J,
|
|
12801
12801
|
onOpenChange: (Y) => !Y && f(void 0),
|
|
12802
|
-
children:
|
|
12802
|
+
children: _e.jsxs(Om, {
|
|
12803
12803
|
style: {
|
|
12804
12804
|
left: (g == null ? void 0 : g.bounds.x) ?? 0,
|
|
12805
12805
|
top: ((g == null ? void 0 : g.bounds.y) ?? 0) + ((g == null ? void 0 : g.bounds.height) ?? 0)
|
|
12806
12806
|
},
|
|
12807
12807
|
className: "fixed w-52",
|
|
12808
12808
|
children: [
|
|
12809
|
-
|
|
12809
|
+
_e.jsxs(qu, {
|
|
12810
12810
|
onClick: b,
|
|
12811
12811
|
children: [
|
|
12812
|
-
|
|
12812
|
+
_e.jsx(Hm, {
|
|
12813
12813
|
className: ue
|
|
12814
12814
|
}),
|
|
12815
12815
|
"Copy column name"
|
|
@@ -12820,10 +12820,11 @@ let __tla = Promise.all([
|
|
|
12820
12820
|
})
|
|
12821
12821
|
});
|
|
12822
12822
|
};
|
|
12823
|
-
return
|
|
12823
|
+
return _e.jsxs("div", {
|
|
12824
|
+
className: "relative",
|
|
12824
12825
|
children: [
|
|
12825
|
-
|
|
12826
|
-
children:
|
|
12826
|
+
_e.jsx(Pm, {
|
|
12827
|
+
children: _e.jsx(zw, {
|
|
12827
12828
|
ref: m,
|
|
12828
12829
|
getCellContent: O,
|
|
12829
12830
|
columns: x,
|
|
@@ -12843,8 +12844,7 @@ let __tla = Promise.all([
|
|
|
12843
12844
|
height: e.length > 10 ? 450 : void 0,
|
|
12844
12845
|
width: "100%",
|
|
12845
12846
|
rowMarkers: {
|
|
12846
|
-
kind: "both"
|
|
12847
|
-
headerDisabled: true
|
|
12847
|
+
kind: "both"
|
|
12848
12848
|
},
|
|
12849
12849
|
rowSelectionMode: "multi",
|
|
12850
12850
|
onCellEdited: T,
|
|
@@ -12858,13 +12858,13 @@ let __tla = Promise.all([
|
|
|
12858
12858
|
})
|
|
12859
12859
|
}),
|
|
12860
12860
|
de(),
|
|
12861
|
-
|
|
12861
|
+
_e.jsx("div", {
|
|
12862
12862
|
className: "absolute bottom-1 right-2 w-26",
|
|
12863
|
-
children:
|
|
12863
|
+
children: _e.jsx(Ql, {
|
|
12864
12864
|
variant: "destructive",
|
|
12865
12865
|
size: "sm",
|
|
12866
12866
|
disabled: S.rows.length === 0,
|
|
12867
|
-
className: "
|
|
12867
|
+
className: "right-2 h-7",
|
|
12868
12868
|
onClick: R,
|
|
12869
12869
|
children: S.rows.length <= 1 ? "Delete row" : "Delete rows"
|
|
12870
12870
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { y as N, z as j, A as v, B as f, D as b, F as _ } from "./main-
|
|
2
|
-
import { a as P, f as g, c as d, i as l, v as p, r as D } from "./_baseUniq-
|
|
3
|
-
import { ad as E } from "./mermaid-
|
|
1
|
+
import { y as N, z as j, A as v, B as f, D as b, F as _ } from "./main-CKOHA8zv.js";
|
|
2
|
+
import { a as P, f as g, c as d, i as l, v as p, r as D } from "./_baseUniq-BAt4DQXj.js";
|
|
3
|
+
import { ad as E } from "./mermaid-ygLW6eu2.js";
|
|
4
4
|
var w = N(function(o) {
|
|
5
5
|
return P(j(o, 1, v, true));
|
|
6
6
|
}), F = "\0", a = "\0", O = "";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { d as C, e as i, s as w, h as Z, t as P, i as _, m as L, p as B, q as M, u as v, w as E } from "./main-
|
|
4
|
+
import { d as C, e as i, s as w, h as Z, t as P, i as _, m as L, p as B, q as M, u as v, w as E } from "./main-CKOHA8zv.js";
|
|
5
5
|
const f = 63, q = 64, j = 1, A = 2, U = 3, H = 4, W = 5, N = 6, u = 7, y = 65, I = 66, F = 8, K = 9, J = 10, OO = 11, eO = 12, Y = 13, aO = 19, rO = 20, QO = 29, PO = 33, tO = 34, oO = 47, nO = 0, $ = 1, b = 2, d = 3, g = 4;
|
|
6
6
|
const _s = class _s {
|
|
7
7
|
constructor(e, a, r) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as s, e as R, g as Y, s as x, h as w, t as O, i as d, k as X, m as k, n as h, o as f, p as u, q as y, r as l, u as g, v as j, w as U, x as G, N as b, I as Z } from "./main-
|
|
1
|
+
import { d as s, e as R, g as Y, s as x, h as w, t as O, i as d, k as X, m as k, n as h, o as f, p as u, q as y, r as l, u as g, v as j, w as U, x as G, N as b, I as Z } from "./main-CKOHA8zv.js";
|
|
2
2
|
const _ = 177, q = 179, E = 184, v = 12, C = 13, D = 17, z = 20, F = 25, B = 53, N = 95, I = 142, L = 144, A = 145, J = 148, M = 10, H = 13, K = 32, OO = 9, $ = 47, QO = 41, eO = 125, aO = new R((Q, e) => {
|
|
3
3
|
for (let n = 0, a = Q.next; (e.context && (a < 0 || a == M || a == H || a == $ && Q.peek(n + 1) == $) || a == QO || a == eO) && Q.acceptToken(_), !(a != K && a != OO); )
|
|
4
4
|
a = Q.peek(++n);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { V as s } from "./VegaLite-
|
|
2
|
-
import { a as g } from "./VegaLite-
|
|
3
|
-
import { b as o } from "./main-
|
|
1
|
+
import { V as s } from "./VegaLite-BIT5xf6L.js";
|
|
2
|
+
import { a as g } from "./VegaLite-BIT5xf6L.js";
|
|
3
|
+
import { b as o } from "./main-CKOHA8zv.js";
|
|
4
4
|
function a() {
|
|
5
5
|
return a = Object.assign || function(e) {
|
|
6
6
|
for (var r = 1; r < arguments.length; r++) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e, l as s, K as o, e as i, L as g } from "./mermaid-
|
|
2
|
-
import { p } from "./treemap-FKARHQ26-
|
|
1
|
+
import { _ as e, l as s, K as o, e as i, L as g } from "./mermaid-ygLW6eu2.js";
|
|
2
|
+
import { p } from "./treemap-FKARHQ26-Dql3fFRn.js";
|
|
3
3
|
var v = {
|
|
4
4
|
parse: /* @__PURE__ */ e(async (r) => {
|
|
5
5
|
const a = await p("info", r);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as gt, g as lt, f as mt, d as xt } from "./chunk-67H74DCK-
|
|
2
|
-
import { g as kt } from "./chunk-E2GYISFI-
|
|
3
|
-
import { _ as n, g as _t, s as vt, a as bt, b as wt, t as Tt, q as St, c as R, d as G, e as $t, z as Mt } from "./mermaid-
|
|
1
|
+
import { a as gt, g as lt, f as mt, d as xt } from "./chunk-67H74DCK-BNNfqAxZ.js";
|
|
2
|
+
import { g as kt } from "./chunk-E2GYISFI-DR5fEX_e.js";
|
|
3
|
+
import { _ as n, g as _t, s as vt, a as bt, b as wt, t as Tt, q as St, c as R, d as G, e as $t, z as Mt } from "./mermaid-ygLW6eu2.js";
|
|
4
4
|
import { d as et } from "./arc-BXrety1g.js";
|
|
5
5
|
var U = function() {
|
|
6
6
|
var t = /* @__PURE__ */ n(function(h, i, a, l) {
|