@sheetxl/react 0.8.0-beta.20 → 0.8.0-beta.21
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/esm/{C1Qp40Kq88D9nzcX.mjs → 6lfBozPNyWlFBEDn.mjs} +1 -1
- package/browser/esm/{BzZ2vOT8CNsqcL8P.mjs → B7TCFLHs7nnOgLMi.mjs} +2 -2
- package/browser/esm/{DeOhqQroIiAic6-j.mjs → BQur1iFrng9Y4kh4.mjs} +1 -1
- package/browser/esm/{BFjx8_H3wUxrWDq9.mjs → BjnWnPjhT1QFkbUC.mjs} +4 -4
- package/browser/esm/{CtbJ8PCap2NGxlu0.mjs → BwMC6jAg2neI4LTH.mjs} +1 -1
- package/browser/esm/{QJPDAP6UIHTbY1fM.mjs → BzCq_Z7J2qQlY4Dp.mjs} +3 -3
- package/browser/esm/{Ch5X-uGft55TOqxa.mjs → BzFKdDmdCdg3cXdh.mjs} +6 -6
- package/browser/esm/{B06WJCAWTIB7QYlK.mjs → C2HjD-DbaqXq93R7.mjs} +1 -1
- package/browser/esm/{SESUB_fypyWmhCWm.mjs → C46qV9hBGqlz6_Kt.mjs} +12 -12
- package/browser/esm/{B8_6V0LUnuA1dLW6.mjs → C9dHNoiKtX9PLY1g.mjs} +1 -1
- package/browser/esm/{BkBxhk45Iln3h-sG.mjs → CA6w64diOtRCgr4n.mjs} +1 -1
- package/browser/esm/{BcC6S9k7zkHfCNRX.mjs → CCL3pFmdsuwahoCR.mjs} +1 -1
- package/browser/esm/{COn0z_IT5hyEPNfV.mjs → CHgyrBEiFmspcFXV.mjs} +1 -1
- package/browser/esm/{Dkw3FFdQKXZQrkFv.mjs → CPwcEeQtvkrESNEy.mjs} +10 -10
- package/browser/esm/{CUPlUCBX7owYqDq5.mjs → CdE8JeJkTtdh5qqp.mjs} +2 -2
- package/browser/esm/{BGcs5WWx5PpaiJo4.mjs → CkYId3pjG9v3XZM2.mjs} +1 -1
- package/browser/esm/{CM9e6dbkYbw56iFf.mjs → Co65nK3fyBcyVzrS.mjs} +2 -2
- package/browser/esm/{Ca_Ki0Si5ozlm1sl.mjs → DG1f60gvSkz8Y3qb.mjs} +10 -10
- package/browser/esm/{Cwye4MAU1-EF7Xlv.mjs → DL2WZkJdK1lZfpJo.mjs} +13 -13
- package/browser/esm/{CPjk4grd05Rp-e3V.mjs → Dl0ye0MfTml4mjhA.mjs} +3 -3
- package/browser/esm/{CU67T36gmVTq9ZwH.mjs → _T8e_9xhVAagwkPD.mjs} +1 -1
- package/browser/esm/chart.mjs +3 -3
- package/browser/esm/control.mjs +3 -3
- package/browser/esm/{qeb-_mAjUAWD7bo4.mjs → fHDciYUZvXpLzoID.mjs} +2 -2
- package/browser/esm/group.mjs +7 -7
- package/browser/esm/index.mjs +173 -173
- package/browser/esm/{C5RaHvks1HTBfWcr.mjs → k1IvXgw5-153QQUo.mjs} +2 -2
- package/browser/esm/{CckrsFaUWle82oNL.mjs → mOYnwl3MMod-yX7a.mjs} +1 -1
- package/browser/esm/note.mjs +5 -5
- package/browser/esm/picture.mjs +2 -2
- package/browser/esm/shape.mjs +2 -2
- package/browser/esm/slicer.mjs +10 -10
- package/browser/esm/{DcEGutcM_5gl0fZm.mjs → zTaXN_1rvsoWg94m.mjs} +3 -3
- package/node/esm/{C9Yq98-vMDznppO2.mjs → 8PerdW56-NyRf0pg.mjs} +3 -3
- package/node/esm/{DytW9LaLlJGM-6m6.mjs → B2a1mRx9B8XMRd8H.mjs} +1 -1
- package/node/esm/{Ef8HHL90yLZgk3Gf.mjs → B4qJFO-8Vml8JbaC.mjs} +2 -2
- package/node/esm/{DmPmSA-2Aha-_6qu.mjs → BBBfGP0lLhBFoR9F.mjs} +9 -9
- package/node/esm/{77PQMLXXAN7fjBHS.mjs → BQpm93aEyzN5TiU6.mjs} +1 -1
- package/node/esm/{c1FOnFN_eCD6KR4l.mjs → BadjRr_jKKGvmEW-.mjs} +1 -1
- package/node/esm/{gfwmGAXGhq9IIu1U.mjs → Bzuh8HcJcFD2dYTY.mjs} +2 -2
- package/node/esm/{C7wmHIY8RLeNSX3T.mjs → CD1OBtF4vEthYy6e.mjs} +1 -1
- package/node/esm/{DrFBSp6XMEAjkdoG.mjs → CGEbcsNJ40cYQEWX.mjs} +2 -2
- package/node/esm/{BOAB33GIG2M2CWMr.mjs → CNYzecnb2TInTI8p.mjs} +1 -1
- package/node/esm/{Jy5x43_CAF31L14-.mjs → COg8aOu0d67g_Pg5.mjs} +1 -1
- package/node/esm/{UBas29HOMjk4p5jo.mjs → CdKkuM4Yy04LbhRL.mjs} +1 -1
- package/node/esm/{CWOKAmLpdinc-0TK.mjs → Df-nWyFJwXaVd79x.mjs} +22 -22
- package/node/esm/{D63HF8XToGXrf7ds.mjs → DtrPF3bSD4CZC5VG.mjs} +1 -1
- package/node/esm/{CER7_OJffhze14wR.mjs → EXPN4LM0alUK5Zw7.mjs} +1 -1
- package/node/esm/{7_AWLfp_6MpYBpiV.mjs → JrDkDzP0l4TgHusH.mjs} +1 -1
- package/node/esm/{Nn0yfoegNHIym4QM.mjs → Mq8a4csdTfwY5CnZ.mjs} +1 -1
- package/node/esm/{CqnJ_hGK1txHO0j9.mjs → cgqViNUwnlIX8-UW.mjs} +18 -18
- package/node/esm/chart.mjs +2 -2
- package/node/esm/control.mjs +3 -3
- package/node/esm/{G9tXP39ldfioRVhL.mjs → fM9xnrz0LJWdndYE.mjs} +1 -1
- package/node/esm/group.mjs +9 -9
- package/node/esm/index.mjs +171 -171
- package/node/esm/note.mjs +5 -5
- package/node/esm/picture.mjs +31 -31
- package/node/esm/shape.mjs +13 -13
- package/node/esm/slicer.mjs +17 -17
- package/node/esm/{CBHY_xaB7ke3yH-f.mjs → tRhXTPxocmY7ZY3z.mjs} +2 -2
- package/node/esm/{BbnUYxeK64Fq92Lo.mjs → uzlKB6H0b-ol8pDK.mjs} +2 -2
- package/package.json +7 -7
package/node/esm/index.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { i as e, n as t, r as o } from "./
|
|
8
|
-
import { n, t as r } from "./
|
|
9
|
-
import { n as a, t as l } from "./
|
|
10
|
-
import { a as s, i, n as c, o as d, r as u, t as g } from "./
|
|
11
|
-
import { n as h, t as p } from "./
|
|
12
|
-
import { _ as m, a as f, c as w, d as v, f as b, g as y, h as C, i as S, l as x, m as k, n as T, o as R, p as q, r as A, s as I, t as M, u as E, v as D } from "./
|
|
13
|
-
import { t as P } from "./
|
|
14
|
-
import { n as F, r as N, t as L } from "./
|
|
15
|
-
import { n as _, t as z } from "./
|
|
16
|
-
import { i as B, n as O, r as H, t as V } from "./
|
|
17
|
-
import { t as $ } from "./
|
|
18
|
-
import { t as W } from "./
|
|
19
|
-
import { t as U } from "./
|
|
7
|
+
import { i as e, n as t, r as o } from "./tRhXTPxocmY7ZY3z.mjs";
|
|
8
|
+
import { n, t as r } from "./DtrPF3bSD4CZC5VG.mjs";
|
|
9
|
+
import { n as a, t as l } from "./EXPN4LM0alUK5Zw7.mjs";
|
|
10
|
+
import { a as s, i, n as c, o as d, r as u, t as g } from "./Df-nWyFJwXaVd79x.mjs";
|
|
11
|
+
import { n as h, t as p } from "./CdKkuM4Yy04LbhRL.mjs";
|
|
12
|
+
import { _ as m, a as f, c as w, d as v, f as b, g as y, h as C, i as S, l as x, m as k, n as T, o as R, p as q, r as A, s as I, t as M, u as E, v as D } from "./cgqViNUwnlIX8-UW.mjs";
|
|
13
|
+
import { t as P } from "./BQpm93aEyzN5TiU6.mjs";
|
|
14
|
+
import { n as F, r as N, t as L } from "./Mq8a4csdTfwY5CnZ.mjs";
|
|
15
|
+
import { n as _, t as z } from "./COg8aOu0d67g_Pg5.mjs";
|
|
16
|
+
import { i as B, n as O, r as H, t as V } from "./fM9xnrz0LJWdndYE.mjs";
|
|
17
|
+
import { t as $ } from "./8PerdW56-NyRf0pg.mjs";
|
|
18
|
+
import { t as W } from "./CD1OBtF4vEthYy6e.mjs";
|
|
19
|
+
import { t as U } from "./BadjRr_jKKGvmEW-.mjs";
|
|
20
20
|
import { AddressUtils as K, AutoFill as G, CellControlRegistry as j, CellImage as Z, Color as X, Condition as Y, DateUtils as J, ExternalRangeClipboardItem as Q, FontUtils as ee, FormulaError as te, Hyperlink as oe, IAnchored as ne, IBorders as re, ICalculation as ae, ICell as le, ICellRange as se, ICellStyle as ie, IColor as ce, ICondition as de, IConditionalFormat as ue, IDataValidation as ge, IFill as he, IFont as pe, IFontCollection as me, IFontStyle as fe, IRange as we, IShape as ve, ISheet as be, IStroke as ye, ITextFrame as Ce, IWorksheetView as Se, LicenseManager as xe, LicenseManager as ke, MovableContentRegistry as Te, NumberFormat as Re, PaintUtils as qe, RangeClipboardItem as Ae, RichDataRegistry as Ie, SYSTEM_COLOR_CSS_PREFIX as Me, ScalarType as Ee, ShapeStyleUtils as De, TextRotation as Pe, TextStacked as Fe, ThemeCollection as Ne, TransactionSaveStateManager as Le, TransactionUndoManager as _e, Workbook as ze, WorkbookIO as Be, WorkbookOrigin as Oe, getLanguagePack as He, getLocaleProfile as Ve, pivotBoxOf as $e, pivotControlsIn as We, pivotFieldAt as Ue } from "@sheetxl/sdk";
|
|
21
21
|
import Ke, { Children as Ge, Fragment as je, Suspense as Ze, cloneElement as Xe, createContext as Ye, createElement as Je, createRef as Qe, forwardRef as et, isValidElement as tt, lazy as ot, memo as nt, useCallback as rt, useContext as at, useEffect as lt, useId as st, useImperativeHandle as it, useLayoutEffect as ct, useMemo as dt, useReducer as ut, useRef as gt, useState as ht, useSyncExternalStore as pt } from "react";
|
|
22
22
|
import { Fragment as mt, jsx as ft, jsxs as wt } from "react/jsx-runtime";
|
|
@@ -370,7 +370,7 @@ var Lr = (e) => {
|
|
|
370
370
|
for (let e = 0; e < t.columns.length; e++) {
|
|
371
371
|
const n = t.columns[e];
|
|
372
372
|
0 !== n.glyphs.length && r.push(ft("div", {
|
|
373
|
-
className: "text-line",
|
|
373
|
+
className: "sxl-text-line",
|
|
374
374
|
style: {
|
|
375
375
|
...o,
|
|
376
376
|
left: n.bounds.x * s,
|
|
@@ -418,7 +418,7 @@ var Lr = (e) => {
|
|
|
418
418
|
fontSize: r * pe.getDeviceScale()
|
|
419
419
|
};
|
|
420
420
|
d && (u.letterSpacing = (z.getLetterSpacing() + d) * s + "px"), _r && (u.background = "pink"), O && (u.color = O.toCSS("adaptive")), n.push(ft("div", {
|
|
421
|
-
className: "text-line",
|
|
421
|
+
className: "sxl-text-line",
|
|
422
422
|
style: u,
|
|
423
423
|
...h ? zt : void 0,
|
|
424
424
|
onClick: oe.onClick,
|
|
@@ -1807,7 +1807,7 @@ var Ea = {
|
|
|
1807
1807
|
...a?.style
|
|
1808
1808
|
},
|
|
1809
1809
|
children: ft("div", {
|
|
1810
|
-
className: "fill",
|
|
1810
|
+
className: "sxl-fill",
|
|
1811
1811
|
style: {
|
|
1812
1812
|
flex: "1 1 100%",
|
|
1813
1813
|
overflow: "hidden",
|
|
@@ -1822,7 +1822,7 @@ var Ea = {
|
|
|
1822
1822
|
...f
|
|
1823
1823
|
},
|
|
1824
1824
|
children: ft("div", {
|
|
1825
|
-
className: "text",
|
|
1825
|
+
className: "sxl-text",
|
|
1826
1826
|
style: {
|
|
1827
1827
|
flex: "1 1 100%",
|
|
1828
1828
|
boxSizing: "border-box",
|
|
@@ -2083,7 +2083,7 @@ var Sl = (e, t, o) => {
|
|
|
2083
2083
|
render: w,
|
|
2084
2084
|
props: {
|
|
2085
2085
|
bounds: e,
|
|
2086
|
-
className: "column-button",
|
|
2086
|
+
className: "sxl-column-button",
|
|
2087
2087
|
disabled: !1,
|
|
2088
2088
|
zoom: p,
|
|
2089
2089
|
column: S,
|
|
@@ -2174,7 +2174,7 @@ var _l = {
|
|
|
2174
2174
|
}), Hl = nt((e) => {
|
|
2175
2175
|
const { collapsed: t, size: o, title: n, onToggle: r, disabled: a } = e;
|
|
2176
2176
|
return ft("div", {
|
|
2177
|
-
className: "outline-button",
|
|
2177
|
+
className: "sxl-outline-button",
|
|
2178
2178
|
title: n,
|
|
2179
2179
|
"aria-disabled": a || void 0,
|
|
2180
2180
|
style: a ? {
|
|
@@ -2192,7 +2192,7 @@ Hl.displayName = "OutlineButton";
|
|
|
2192
2192
|
var Vl = nt((e) => {
|
|
2193
2193
|
const { level: t, shown: o, size: n, title: r, onShowLevel: a, disabled: l } = e;
|
|
2194
2194
|
return ft("div", {
|
|
2195
|
-
className: "outline-level-button",
|
|
2195
|
+
className: "sxl-outline-level-button",
|
|
2196
2196
|
title: r,
|
|
2197
2197
|
"aria-label": r,
|
|
2198
2198
|
"aria-disabled": l || void 0,
|
|
@@ -2218,7 +2218,7 @@ var $l = (e) => ft(Hl, { ...e }), Wl = (e) => ft(Vl, { ...e }), Ul = (e) => null
|
|
|
2218
2218
|
}, Gl = (e) => {
|
|
2219
2219
|
const { expanded: t, size: o, disabled: n, title: r, onToggle: a, style: l } = e, s = qo(!0);
|
|
2220
2220
|
return ft("div", {
|
|
2221
|
-
className: "pivot-toggle",
|
|
2221
|
+
className: "sxl-pivot-toggle",
|
|
2222
2222
|
title: r,
|
|
2223
2223
|
"aria-disabled": n || void 0,
|
|
2224
2224
|
style: {
|
|
@@ -3686,7 +3686,7 @@ var $l = (e) => ft(Hl, { ...e }), Wl = (e) => ft(Vl, { ...e }), Ul = (e) => null
|
|
|
3686
3686
|
}
|
|
3687
3687
|
}),
|
|
3688
3688
|
ft("span", {
|
|
3689
|
-
className: "named-item-name",
|
|
3689
|
+
className: "sxl-named-item-name",
|
|
3690
3690
|
style: {
|
|
3691
3691
|
fontWeight: 600,
|
|
3692
3692
|
color: "var(--sxl-color-primary, rgb(33,115,70))",
|
|
@@ -4221,7 +4221,7 @@ var Bi = ({ hint: e, descriptor: t, showParameters: o = !0 }) => {
|
|
|
4221
4221
|
children: o
|
|
4222
4222
|
}),
|
|
4223
4223
|
e.active && c && ft("div", {
|
|
4224
|
-
className: "function-preview-warning",
|
|
4224
|
+
className: "sxl-function-preview-warning",
|
|
4225
4225
|
style: { color: wi },
|
|
4226
4226
|
children: n("functionPreview.enumOutOfSet", {
|
|
4227
4227
|
value: s.value,
|
|
@@ -5589,7 +5589,7 @@ var $i = (e, t) => {
|
|
|
5589
5589
|
return wt(mt, { children: [
|
|
5590
5590
|
d,
|
|
5591
5591
|
ft("span", {
|
|
5592
|
-
className: "formula-eval-run",
|
|
5592
|
+
className: "sxl-formula-eval-run",
|
|
5593
5593
|
style: c,
|
|
5594
5594
|
children: u
|
|
5595
5595
|
}, "eval-run"),
|
|
@@ -6082,7 +6082,7 @@ function kc(e) {
|
|
|
6082
6082
|
},
|
|
6083
6083
|
order: Po().zIndex,
|
|
6084
6084
|
children: ft(Zt, {
|
|
6085
|
-
className: jn(s, "editor"),
|
|
6085
|
+
className: jn(s, "sxl-editor"),
|
|
6086
6086
|
children: T || h ? ft(ho, {
|
|
6087
6087
|
...c,
|
|
6088
6088
|
bounds: T ?? Sc,
|
|
@@ -6211,7 +6211,7 @@ function Rc(e) {
|
|
|
6211
6211
|
s
|
|
6212
6212
|
]);
|
|
6213
6213
|
return ft(Zt, {
|
|
6214
|
-
className: "editor-start",
|
|
6214
|
+
className: "sxl-editor-start",
|
|
6215
6215
|
onKeyDown: c,
|
|
6216
6216
|
onDoubleClick: u
|
|
6217
6217
|
});
|
|
@@ -6299,10 +6299,10 @@ function Ac(e) {
|
|
|
6299
6299
|
n,
|
|
6300
6300
|
t
|
|
6301
6301
|
]), ft(Zt, {
|
|
6302
|
-
className: "virtual-keyboard",
|
|
6302
|
+
className: "sxl-virtual-keyboard",
|
|
6303
6303
|
children: ft("input", {
|
|
6304
6304
|
ref: r,
|
|
6305
|
-
className: "virtual-keyboard-input",
|
|
6305
|
+
className: "sxl-virtual-keyboard-input",
|
|
6306
6306
|
tabIndex: -1,
|
|
6307
6307
|
inputMode: "none",
|
|
6308
6308
|
autoComplete: "off",
|
|
@@ -6757,7 +6757,7 @@ var Nc = {
|
|
|
6757
6757
|
},
|
|
6758
6758
|
order: Po().zIndex,
|
|
6759
6759
|
children: [ft(io, {
|
|
6760
|
-
className: jn(r, "selection"),
|
|
6760
|
+
className: jn(r, "sxl-selection"),
|
|
6761
6761
|
selection: m,
|
|
6762
6762
|
...a,
|
|
6763
6763
|
singleStyle: F,
|
|
@@ -6926,7 +6926,7 @@ function Kc(e) {
|
|
|
6926
6926
|
return o && o.scope === d ? vo(e) : null;
|
|
6927
6927
|
};
|
|
6928
6928
|
return ft(lo, {
|
|
6929
|
-
className: jn(n, "reference-picker", "formula-view"),
|
|
6929
|
+
className: jn(n, "sxl-reference-picker", "sxl-formula-view"),
|
|
6930
6930
|
selection: p,
|
|
6931
6931
|
getRangeStyle: e,
|
|
6932
6932
|
...a,
|
|
@@ -6940,7 +6940,7 @@ function Kc(e) {
|
|
|
6940
6940
|
if (!w || !v || !S) return null;
|
|
6941
6941
|
const x = !0 === s?.readOnly;
|
|
6942
6942
|
return ft(lo, {
|
|
6943
|
-
className: jn(n, "reference-picker", x ? "read-only" : void 0),
|
|
6943
|
+
className: jn(n, "sxl-reference-picker", x ? "sxl-read-only" : void 0),
|
|
6944
6944
|
selection: w,
|
|
6945
6945
|
getRangeStyle: (e, t) => {
|
|
6946
6946
|
const o = v.ranges?.[e];
|
|
@@ -7226,7 +7226,7 @@ var Gc = [], jc = Object.freeze([]), Zc = (e) => {
|
|
|
7226
7226
|
const t = f[e], o = t.value, n = o.getType() === he.Type.Pattern ? o.toCSSMask("adaptive") : null;
|
|
7227
7227
|
let r, a = null;
|
|
7228
7228
|
if (n) r = n.base, a = ft("div", {
|
|
7229
|
-
className: "cell-fill-marks",
|
|
7229
|
+
className: "sxl-cell-fill-marks",
|
|
7230
7230
|
style: {
|
|
7231
7231
|
position: "absolute",
|
|
7232
7232
|
inset: 0,
|
|
@@ -7238,7 +7238,7 @@ var Gc = [], jc = Object.freeze([]), Zc = (e) => {
|
|
|
7238
7238
|
r = o.toCSS("adaptive", e);
|
|
7239
7239
|
}
|
|
7240
7240
|
w.push(ft(ho, {
|
|
7241
|
-
className: "cell-fill",
|
|
7241
|
+
className: "sxl-cell-fill",
|
|
7242
7242
|
range: t,
|
|
7243
7243
|
clipInsets: -10,
|
|
7244
7244
|
coverGridlines: !0,
|
|
@@ -7251,11 +7251,11 @@ var Gc = [], jc = Object.freeze([]), Zc = (e) => {
|
|
|
7251
7251
|
}
|
|
7252
7252
|
return ft(Zt, {
|
|
7253
7253
|
...s,
|
|
7254
|
-
className: jn(a, "fills"),
|
|
7254
|
+
className: jn(a, "sxl-fills"),
|
|
7255
7255
|
children: ft(ho, {
|
|
7256
7256
|
fill: !0,
|
|
7257
7257
|
ref: t,
|
|
7258
|
-
className: "fills-box",
|
|
7258
|
+
className: "sxl-fills-box",
|
|
7259
7259
|
style: {
|
|
7260
7260
|
pointerEvents: "none",
|
|
7261
7261
|
overflow: "visible",
|
|
@@ -7357,7 +7357,7 @@ var Gc = [], jc = Object.freeze([]), Zc = (e) => {
|
|
|
7357
7357
|
autoFocus: !0
|
|
7358
7358
|
}) : null;
|
|
7359
7359
|
return wt("div", {
|
|
7360
|
-
className: jn(hd, "cell-picker", c),
|
|
7360
|
+
className: jn(hd, "sxl-cell-picker", c),
|
|
7361
7361
|
style: {
|
|
7362
7362
|
minWidth: r,
|
|
7363
7363
|
...s
|
|
@@ -7602,7 +7602,7 @@ var vd = null, bd = /* @__PURE__ */ new Set(), yd = (e) => (bd.add(e), () => {
|
|
|
7602
7602
|
}
|
|
7603
7603
|
return ft(to, {
|
|
7604
7604
|
...i,
|
|
7605
|
-
className: jn(l, "validation-prompt", g && "validation-alert"),
|
|
7605
|
+
className: jn(l, "sxl-validation-prompt", g && "sxl-validation-alert"),
|
|
7606
7606
|
style: s,
|
|
7607
7607
|
activateOn: "selection",
|
|
7608
7608
|
selection: c,
|
|
@@ -7905,7 +7905,7 @@ var $d = (e, t, o) => {
|
|
|
7905
7905
|
};
|
|
7906
7906
|
return ft(ro, {
|
|
7907
7907
|
...c,
|
|
7908
|
-
className: jn(i, "cell-error"),
|
|
7908
|
+
className: jn(i, "sxl-cell-error"),
|
|
7909
7909
|
interactive: !0,
|
|
7910
7910
|
bubble: !1,
|
|
7911
7911
|
probe: p,
|
|
@@ -7994,7 +7994,7 @@ var au = (e) => {
|
|
|
7994
7994
|
}, [g]);
|
|
7995
7995
|
return ft(ro, {
|
|
7996
7996
|
...s,
|
|
7997
|
-
className: jn(l, "hyperlink-card"),
|
|
7997
|
+
className: jn(l, "sxl-hyperlink-card"),
|
|
7998
7998
|
probe: u,
|
|
7999
7999
|
hoveredOver: m,
|
|
8000
8000
|
placement: r,
|
|
@@ -8263,10 +8263,10 @@ var fu = (e) => {
|
|
|
8263
8263
|
const u = d?.(i);
|
|
8264
8264
|
return u && i ? ft(Zt, {
|
|
8265
8265
|
...s,
|
|
8266
|
-
className: jn(l, "borders"),
|
|
8266
|
+
className: jn(l, "sxl-borders"),
|
|
8267
8267
|
children: ft(ho, {
|
|
8268
8268
|
fill: !0,
|
|
8269
|
-
className: "borders-box",
|
|
8269
|
+
className: "sxl-borders-box",
|
|
8270
8270
|
style: { pointerEvents: "none" },
|
|
8271
8271
|
children: u
|
|
8272
8272
|
})
|
|
@@ -8363,7 +8363,7 @@ var fu = (e) => {
|
|
|
8363
8363
|
const e = d.getZoom() || 1;
|
|
8364
8364
|
q = ft(ho, {
|
|
8365
8365
|
bounds: t,
|
|
8366
|
-
className: "formula-view-anchor",
|
|
8366
|
+
className: "sxl-formula-view-anchor",
|
|
8367
8367
|
style: { pointerEvents: "none" },
|
|
8368
8368
|
children: ft(Cl, {
|
|
8369
8369
|
cell: T.cell,
|
|
@@ -8394,7 +8394,7 @@ var fu = (e) => {
|
|
|
8394
8394
|
}, [c.onDoubleClick]);
|
|
8395
8395
|
return q || 0 !== w(d).length ? wt(Zt, {
|
|
8396
8396
|
...c,
|
|
8397
|
-
className: jn(i, "cells"),
|
|
8397
|
+
className: jn(i, "sxl-cells"),
|
|
8398
8398
|
onPointerDown: A,
|
|
8399
8399
|
onDoubleClick: I,
|
|
8400
8400
|
children: [ft(Ot, {
|
|
@@ -8448,7 +8448,7 @@ var Du = nt((e) => {
|
|
|
8448
8448
|
render: r,
|
|
8449
8449
|
props: {
|
|
8450
8450
|
bounds: d,
|
|
8451
|
-
className: "column-button",
|
|
8451
|
+
className: "sxl-column-button",
|
|
8452
8452
|
disabled: !i.isEditAllowed(),
|
|
8453
8453
|
zoom: l,
|
|
8454
8454
|
column: c,
|
|
@@ -8476,7 +8476,7 @@ var Du = nt((e) => {
|
|
|
8476
8476
|
]);
|
|
8477
8477
|
return ft(Bt, {
|
|
8478
8478
|
...a,
|
|
8479
|
-
className: "column-buttons",
|
|
8479
|
+
className: "sxl-column-buttons",
|
|
8480
8480
|
renderCell: i,
|
|
8481
8481
|
getVisibleCells: s,
|
|
8482
8482
|
cacheToken: l
|
|
@@ -8511,7 +8511,7 @@ var Pu = (e) => {
|
|
|
8511
8511
|
if (!e || !t) return null;
|
|
8512
8512
|
const o = e.getProperties(), n = (o.headerRow?.fill)?.background ?? o.wholeTable?.borders?.top?.color?.toString();
|
|
8513
8513
|
return n ? t.getStyles().parseColor(n)?.toCSS("adaptive") ?? null : null;
|
|
8514
|
-
}, zu = (e, t) => _u(e.getStyle(), t) ?? "var(--sxl-color-neutral, grey)", Bu = "
|
|
8514
|
+
}, zu = (e, t) => _u(e.getStyle(), t) ?? "var(--sxl-color-neutral, grey)", Bu = "_PivotFields_105hs_4", Ou = "_Search_105hs_15", Hu = "_FieldList_105hs_30", Vu = "_FieldRow_105hs_41", $u = "_FieldName_105hs_57", Wu = "_TypeGlyph_105hs_65", Uu = "_FilterMark_105hs_74", Ku = "_Empty_105hs_80", Gu = "_Areas_105hs_86", ju = "_Area_105hs_86", Zu = "_AreaLabel_105hs_100", Xu = "_AreaList_105hs_105", Yu = "_AreaHint_105hs_123", Ju = "_Chip_105hs_130", Qu = "_ChipCaption_105hs_144", eg = "_ChipRename_105hs_172", tg = "_ChipMenuButton_105hs_185", og = "_ChipMenu_105hs_185", ng = "_ChipMenuItem_105hs_220", rg = "_ChipMenuCheck_105hs_243", ag = "_ChipMenuDivider_105hs_249", lg = "_Pane_105hs_255", sg = "_PaneName_105hs_270", ig = "_PaneEmpty_105hs_276", cg = "_EmptyBox_105hs_285", dg = "_EmptyContent_105hs_292", ug = "_EmptyName_105hs_302", gg = "_EmptyHint_105hs_315", hg = "_EmptyPicture_105hs_321", pg = "_EmptyPicturePaper_105hs_327", mg = (e) => {
|
|
8515
8515
|
const t = Io(), [o, n] = ut((e) => e + 1, 0), a = dt(() => ({}), [o]);
|
|
8516
8516
|
r(e, {
|
|
8517
8517
|
onPivotTablesChange: () => n(),
|
|
@@ -8582,7 +8582,7 @@ var Pu = (e) => {
|
|
|
8582
8582
|
alignItems: "end"
|
|
8583
8583
|
},
|
|
8584
8584
|
children: ft(Kl, {
|
|
8585
|
-
className: "column-button pivot-dropdown",
|
|
8585
|
+
className: "sxl-column-button sxl-pivot-dropdown",
|
|
8586
8586
|
bounds: t,
|
|
8587
8587
|
zoom: a,
|
|
8588
8588
|
disabled: d,
|
|
@@ -8619,7 +8619,7 @@ var Pu = (e) => {
|
|
|
8619
8619
|
}, [t, o]);
|
|
8620
8620
|
return 0 === r.length ? null : ft(Zt, {
|
|
8621
8621
|
...n,
|
|
8622
|
-
className: "pivot-controls cells",
|
|
8622
|
+
className: "sxl-pivot-controls sxl-cells",
|
|
8623
8623
|
children: ft(Ot, {
|
|
8624
8624
|
renderCell: s,
|
|
8625
8625
|
getVisibleCells: l,
|
|
@@ -8664,7 +8664,7 @@ var wg = nt((e) => {
|
|
|
8664
8664
|
const n = e === i, r = e === l, a = n || r ? _u(e.getStyle(), t) ?? "var(--sxl-color-shadow, rgba(0,0,0,.15))" : void 0;
|
|
8665
8665
|
Pu(e).forEach((e, t) => {
|
|
8666
8666
|
h.push(ft(oo, {
|
|
8667
|
-
className: "pivot-outline",
|
|
8667
|
+
className: "sxl-pivot-outline",
|
|
8668
8668
|
range: e,
|
|
8669
8669
|
stroke: a ?? "var(--sxl-color-neutral, grey)",
|
|
8670
8670
|
propsStrokePath: {
|
|
@@ -8683,7 +8683,7 @@ var wg = nt((e) => {
|
|
|
8683
8683
|
...n,
|
|
8684
8684
|
onMouseMove: d,
|
|
8685
8685
|
onMouseLeave: u,
|
|
8686
|
-
className: o ?? "pivot-frame",
|
|
8686
|
+
className: o ?? "sxl-pivot-frame",
|
|
8687
8687
|
children: h
|
|
8688
8688
|
});
|
|
8689
8689
|
});
|
|
@@ -8967,7 +8967,7 @@ var vg = {
|
|
|
8967
8967
|
return ft(Zt, {
|
|
8968
8968
|
onMouseMove: i,
|
|
8969
8969
|
onMouseLeave: c,
|
|
8970
|
-
className: n ?? "pivot-toolbar",
|
|
8970
|
+
className: n ?? "sxl-pivot-toolbar",
|
|
8971
8971
|
...r,
|
|
8972
8972
|
children: ft(xg, {
|
|
8973
8973
|
name: "pivot-toolbar",
|
|
@@ -9047,10 +9047,10 @@ var Fg = (e) => ({
|
|
|
9047
9047
|
const R = k?.(i);
|
|
9048
9048
|
return R ? ft(Zt, {
|
|
9049
9049
|
...s,
|
|
9050
|
-
className: jn(l, "gridlines"),
|
|
9050
|
+
className: jn(l, "sxl-gridlines"),
|
|
9051
9051
|
children: ft(ho, {
|
|
9052
9052
|
fill: !0,
|
|
9053
|
-
className: "gridlines-box",
|
|
9053
|
+
className: "sxl-gridlines-box",
|
|
9054
9054
|
style: { pointerEvents: "none" },
|
|
9055
9055
|
children: R
|
|
9056
9056
|
})
|
|
@@ -9083,11 +9083,11 @@ var zg = Object.freeze([1, 1]), Bg = {
|
|
|
9083
9083
|
});
|
|
9084
9084
|
return ft(Zt, {
|
|
9085
9085
|
...l,
|
|
9086
|
-
className: jn(n, "background"),
|
|
9086
|
+
className: jn(n, "sxl-background"),
|
|
9087
9087
|
children: ft(ho, {
|
|
9088
9088
|
fill: !0,
|
|
9089
9089
|
ref: t,
|
|
9090
|
-
className: "background-box",
|
|
9090
|
+
className: "sxl-background-box",
|
|
9091
9091
|
style: {
|
|
9092
9092
|
pointerEvents: "none",
|
|
9093
9093
|
...d,
|
|
@@ -9115,7 +9115,7 @@ var Vg = (e) => e.getSelectedRuns().map((e) => `${e.min}-${e.max}:${e.value ? "A
|
|
|
9115
9115
|
e !== d.current && (d.current = e, i());
|
|
9116
9116
|
} }), ft(Bt, {
|
|
9117
9117
|
...l,
|
|
9118
|
-
className: jn(a, "row" === t.getAxis() ? "headers row" : "headers column"),
|
|
9118
|
+
className: jn(a, "row" === t.getAxis() ? "sxl-headers sxl-axis-row" : "sxl-headers sxl-axis-column"),
|
|
9119
9119
|
renderCell: o,
|
|
9120
9120
|
cacheToken: c
|
|
9121
9121
|
});
|
|
@@ -9245,9 +9245,9 @@ var Wg = (e, t, o, n) => {
|
|
|
9245
9245
|
}
|
|
9246
9246
|
return wt(Zt, {
|
|
9247
9247
|
...c,
|
|
9248
|
-
className: i ?? "outline",
|
|
9248
|
+
className: i ?? "sxl-outline",
|
|
9249
9249
|
children: [ft(Ot, {
|
|
9250
|
-
className: "outline-dots",
|
|
9250
|
+
className: "sxl-outline-dots",
|
|
9251
9251
|
style: { pointerEvents: "none" },
|
|
9252
9252
|
renderCell: A,
|
|
9253
9253
|
hiddenCellAt: q,
|
|
@@ -9334,7 +9334,7 @@ var Kg = 3, Gg = { ignoreModelChange: !0 }, jg = nt(et((e, t) => {
|
|
|
9334
9334
|
u
|
|
9335
9335
|
]), _ = Xn([R, t]);
|
|
9336
9336
|
return ft("div", {
|
|
9337
|
-
className: "movable",
|
|
9337
|
+
className: "sxl-movable",
|
|
9338
9338
|
tabIndex: 0,
|
|
9339
9339
|
ref: _,
|
|
9340
9340
|
style: {
|
|
@@ -9422,7 +9422,7 @@ var Kg = 3, Gg = { ignoreModelChange: !0 }, jg = nt(et((e, t) => {
|
|
|
9422
9422
|
}
|
|
9423
9423
|
}
|
|
9424
9424
|
return ft("svg", {
|
|
9425
|
-
className: "movable-connection-sites",
|
|
9425
|
+
className: "sxl-movable-connection-sites",
|
|
9426
9426
|
width: t,
|
|
9427
9427
|
height: o,
|
|
9428
9428
|
style: {
|
|
@@ -9473,9 +9473,9 @@ var Xg = (e, t) => ((t ? Math.round(e / t) * t : e) % 360 + 360) % 360, Yg = `ur
|
|
|
9473
9473
|
}, [r]);
|
|
9474
9474
|
return ft("div", {
|
|
9475
9475
|
className: [
|
|
9476
|
-
"movable-rotate-handle",
|
|
9477
|
-
e ? "dragging" : null,
|
|
9478
|
-
a ? "below" : null
|
|
9476
|
+
"sxl-movable-rotate-handle",
|
|
9477
|
+
e ? "sxl-dragging" : null,
|
|
9478
|
+
a ? "sxl-below" : null
|
|
9479
9479
|
].filter(Boolean).join(" "),
|
|
9480
9480
|
style: { cursor: Yg },
|
|
9481
9481
|
onPointerDown: s,
|
|
@@ -9490,7 +9490,7 @@ var Xg = (e, t) => ((t ? Math.round(e / t) * t : e) % 360 + 360) % 360, Yg = `ur
|
|
|
9490
9490
|
});
|
|
9491
9491
|
});
|
|
9492
9492
|
Jg.displayName = "RotateHandle";
|
|
9493
|
-
var Qg = "_movable-
|
|
9493
|
+
var Qg = "_movable-area_2t5k8_14", eh = (e) => "function" == typeof e.getContent().acceptRotation, th = (e) => {
|
|
9494
9494
|
let t = 0;
|
|
9495
9495
|
for (let o = e.getParent(); o; o = o.getParent()) t++;
|
|
9496
9496
|
return t;
|
|
@@ -10037,7 +10037,7 @@ var Qg = "_movable-area_yq5rq_14", eh = (e) => "function" == typeof e.getContent
|
|
|
10037
10037
|
Pe
|
|
10038
10038
|
]);
|
|
10039
10039
|
return Re ? wt(Zt, {
|
|
10040
|
-
className: jn(u, "movable-area"),
|
|
10040
|
+
className: jn(u, "sxl-movable-area"),
|
|
10041
10041
|
onPointerDown: (e) => {
|
|
10042
10042
|
0 !== e.button && 2 !== e.button || n.isEmpty() || (n.clear(), I?.());
|
|
10043
10043
|
},
|
|
@@ -10053,7 +10053,7 @@ var Qg = "_movable-area_yq5rq_14", eh = (e) => "function" == typeof e.getContent
|
|
|
10053
10053
|
ref: Le,
|
|
10054
10054
|
...w,
|
|
10055
10055
|
children: ft("div", {
|
|
10056
|
-
className: "movable-scroll",
|
|
10056
|
+
className: "sxl-movable-scroll",
|
|
10057
10057
|
style: {
|
|
10058
10058
|
position: "absolute",
|
|
10059
10059
|
left: 0,
|
|
@@ -10274,22 +10274,22 @@ var wh = new class {
|
|
|
10274
10274
|
CellControl: "formatCellControl",
|
|
10275
10275
|
FormatMovable: "formatMovable"
|
|
10276
10276
|
}, bh = {
|
|
10277
|
-
TaskPaneArea: "
|
|
10278
|
-
TaskPaneTitle: "
|
|
10279
|
-
TaskPaneFrame: "
|
|
10280
|
-
TaskPaneAreaFrames: "
|
|
10281
|
-
TaskPaneAreaFrameHost: "
|
|
10282
|
-
TaskPaneAreaFrameHidden: "
|
|
10283
|
-
TaskPaneStrip: "
|
|
10284
|
-
TaskPaneStripItem: "
|
|
10285
|
-
TaskPaneStripItemIcon: "
|
|
10286
|
-
TaskPaneStripItemLabel: "
|
|
10287
|
-
TaskPaneStripItemLabelOpen: "
|
|
10288
|
-
TaskPaneStripItemLabelClip: "
|
|
10289
|
-
TaskPaneStripItemLabelText: "
|
|
10290
|
-
MovablePane: "
|
|
10291
|
-
MovablePaneKind: "
|
|
10292
|
-
MovablePaneEmpty: "
|
|
10277
|
+
TaskPaneArea: "_TaskPaneArea_uwth8_5",
|
|
10278
|
+
TaskPaneTitle: "_TaskPaneTitle_uwth8_13",
|
|
10279
|
+
TaskPaneFrame: "_TaskPaneFrame_uwth8_36",
|
|
10280
|
+
TaskPaneAreaFrames: "_TaskPaneAreaFrames_uwth8_55",
|
|
10281
|
+
TaskPaneAreaFrameHost: "_TaskPaneAreaFrameHost_uwth8_63",
|
|
10282
|
+
TaskPaneAreaFrameHidden: "_TaskPaneAreaFrameHidden_uwth8_71",
|
|
10283
|
+
TaskPaneStrip: "_TaskPaneStrip_uwth8_75",
|
|
10284
|
+
TaskPaneStripItem: "_TaskPaneStripItem_uwth8_88",
|
|
10285
|
+
TaskPaneStripItemIcon: "_TaskPaneStripItemIcon_uwth8_117",
|
|
10286
|
+
TaskPaneStripItemLabel: "_TaskPaneStripItemLabel_uwth8_127",
|
|
10287
|
+
TaskPaneStripItemLabelOpen: "_TaskPaneStripItemLabelOpen_uwth8_134",
|
|
10288
|
+
TaskPaneStripItemLabelClip: "_TaskPaneStripItemLabelClip_uwth8_139",
|
|
10289
|
+
TaskPaneStripItemLabelText: "_TaskPaneStripItemLabelText_uwth8_146",
|
|
10290
|
+
MovablePane: "_MovablePane_uwth8_152",
|
|
10291
|
+
MovablePaneKind: "_MovablePaneKind_uwth8_166",
|
|
10292
|
+
MovablePaneEmpty: "_MovablePaneEmpty_uwth8_171"
|
|
10293
10293
|
}, yh = (e) => {
|
|
10294
10294
|
const { model: t, entryKey: o, args: n, frame: r, ref: l, className: s, ...i } = e, c = a(), d = Un(), [, u] = ut((e) => e + 1, 0);
|
|
10295
10295
|
lt(() => {
|
|
@@ -10556,14 +10556,14 @@ var Mh = Ye(void 0), Eh = ({ children: e, renderArea: t, onUpdateArea: o, regist
|
|
|
10556
10556
|
} });
|
|
10557
10557
|
}, [t]), t || Dh;
|
|
10558
10558
|
}, Fh = nt(et((e, t) => {
|
|
10559
|
-
const { children: o, title: n, icon: r, onClose: a, readOnly: l, focused: s, side: i = "right", style: c, className: d, ...u } = e, g = dt(() => jn("taskpane-title", d, bh.TaskPaneTitle, { focused: s }), [d, s]);
|
|
10559
|
+
const { children: o, title: n, icon: r, onClose: a, readOnly: l, focused: s, side: i = "right", style: c, className: d, ...u } = e, g = dt(() => jn("sxl-taskpane-title", d, bh.TaskPaneTitle, { "sxl-focused": s }), [d, s]);
|
|
10560
10560
|
return wt("div", {
|
|
10561
10561
|
ref: t,
|
|
10562
10562
|
className: g,
|
|
10563
10563
|
style: c,
|
|
10564
10564
|
...u,
|
|
10565
10565
|
children: [ft("div", {
|
|
10566
|
-
className: "title",
|
|
10566
|
+
className: "sxl-title",
|
|
10567
10567
|
style: { flex: "1 1 100%" },
|
|
10568
10568
|
children: n
|
|
10569
10569
|
}), ft("div", {
|
|
@@ -10649,7 +10649,7 @@ var Nh = nt(et((e, t) => {
|
|
|
10649
10649
|
d
|
|
10650
10650
|
]);
|
|
10651
10651
|
return wt("div", {
|
|
10652
|
-
className: jn("taskpane-frame", p, bh.TaskPaneFrame),
|
|
10652
|
+
className: jn("sxl-taskpane-frame", p, bh.TaskPaneFrame),
|
|
10653
10653
|
tabIndex: 0,
|
|
10654
10654
|
ref: S,
|
|
10655
10655
|
style: h,
|
|
@@ -10675,7 +10675,7 @@ var Nh = nt(et((e, t) => {
|
|
|
10675
10675
|
},
|
|
10676
10676
|
children: R
|
|
10677
10677
|
}), ft("div", {
|
|
10678
|
-
className: "taskpane-frame-content",
|
|
10678
|
+
className: "sxl-taskpane-frame-content",
|
|
10679
10679
|
style: {
|
|
10680
10680
|
flex: "1 1 auto",
|
|
10681
10681
|
minHeight: 0,
|
|
@@ -10698,7 +10698,7 @@ var Lh = nt(et((e, t) => {
|
|
|
10698
10698
|
const n = t.getTitle(), r = e === s, a = !o || !d && r;
|
|
10699
10699
|
return wt("div", {
|
|
10700
10700
|
title: a ? void 0 : n,
|
|
10701
|
-
className: jn("taskpane-strip-item", bh.TaskPaneStripItem, { selected: r }),
|
|
10701
|
+
className: jn("sxl-taskpane-strip-item", bh.TaskPaneStripItem, { "sxl-selected": r }),
|
|
10702
10702
|
onClick: () => l(e),
|
|
10703
10703
|
children: [o ? ft("span", {
|
|
10704
10704
|
className: bh.TaskPaneStripItemIcon,
|
|
@@ -10721,7 +10721,7 @@ var Lh = nt(et((e, t) => {
|
|
|
10721
10721
|
i,
|
|
10722
10722
|
d,
|
|
10723
10723
|
h
|
|
10724
|
-
]), m = Pn(t, () => ({ isTaskPaneStrip: () => !0 }), []), f = dt(() => jn("taskpane-strip", u, bh.TaskPaneStrip), [u]);
|
|
10724
|
+
]), m = Pn(t, () => ({ isTaskPaneStrip: () => !0 }), []), f = dt(() => jn("sxl-taskpane-strip", u, bh.TaskPaneStrip), [u]);
|
|
10725
10725
|
return ft("div", {
|
|
10726
10726
|
ref: m,
|
|
10727
10727
|
className: f,
|
|
@@ -10903,7 +10903,7 @@ var _h = nt(et((e, t) => {
|
|
|
10903
10903
|
let B = f ? F : z, O = f ? z : F;
|
|
10904
10904
|
return wt("div", {
|
|
10905
10905
|
ref: P,
|
|
10906
|
-
className: jn("taskpane-area", o, bh.TaskPaneArea),
|
|
10906
|
+
className: jn("sxl-taskpane-area", o, bh.TaskPaneArea),
|
|
10907
10907
|
style: m,
|
|
10908
10908
|
children: [B, O]
|
|
10909
10909
|
});
|
|
@@ -14808,7 +14808,7 @@ var { CommandScopeProvider: yp } = Ho, Cp = nt(et((e, t) => {
|
|
|
14808
14808
|
order: h,
|
|
14809
14809
|
children: ft(sh, {
|
|
14810
14810
|
ref: t,
|
|
14811
|
-
className: jn(r, "movable"),
|
|
14811
|
+
className: jn(r, "sxl-movable"),
|
|
14812
14812
|
movables: o.getMovables(),
|
|
14813
14813
|
disableResize: s,
|
|
14814
14814
|
disableDrag: s,
|
|
@@ -15114,7 +15114,7 @@ var Rp = [
|
|
|
15114
15114
|
d || (d = "var(--sxl-color-shadow, rgba(0,0,0,.15))");
|
|
15115
15115
|
}
|
|
15116
15116
|
e.push(ft("div", {
|
|
15117
|
-
className: "table-select-row",
|
|
15117
|
+
className: "sxl-table-select-row",
|
|
15118
15118
|
style: {
|
|
15119
15119
|
position: "absolute",
|
|
15120
15120
|
left: c.x,
|
|
@@ -15126,7 +15126,7 @@ var Rp = [
|
|
|
15126
15126
|
},
|
|
15127
15127
|
onMouseDown: S
|
|
15128
15128
|
}, `table-select-row-${t.getName()}`)), e.push(ft("div", {
|
|
15129
|
-
className: "table-select-column",
|
|
15129
|
+
className: "sxl-table-select-column",
|
|
15130
15130
|
style: {
|
|
15131
15131
|
position: "absolute",
|
|
15132
15132
|
left: c.x,
|
|
@@ -15138,7 +15138,7 @@ var Rp = [
|
|
|
15138
15138
|
},
|
|
15139
15139
|
onMouseDown: x
|
|
15140
15140
|
}, `table-select-column-${t.getName()}`)), e.push(ft("div", {
|
|
15141
|
-
className: "table-select-all",
|
|
15141
|
+
className: "sxl-table-select-all",
|
|
15142
15142
|
style: {
|
|
15143
15143
|
position: "absolute",
|
|
15144
15144
|
left: c.x,
|
|
@@ -15150,7 +15150,7 @@ var Rp = [
|
|
|
15150
15150
|
},
|
|
15151
15151
|
onMouseDown: C
|
|
15152
15152
|
}, `table-select-${t.getName()}`)), e.push(ft(oo, {
|
|
15153
|
-
className: "table-outline",
|
|
15153
|
+
className: "sxl-table-outline",
|
|
15154
15154
|
range: l,
|
|
15155
15155
|
stroke: d ?? "var(--sxl-color-neutral, grey)",
|
|
15156
15156
|
propsStrokePath: {
|
|
@@ -15179,7 +15179,7 @@ var Rp = [
|
|
|
15179
15179
|
rowIndex: t.rowEnd,
|
|
15180
15180
|
colIndex: t.colEnd
|
|
15181
15181
|
}, V) ? ft($t, {
|
|
15182
|
-
className: "table-resize-handle",
|
|
15182
|
+
className: "sxl-table-resize-handle",
|
|
15183
15183
|
range: e === v && f ? f : t,
|
|
15184
15184
|
anchor: "br",
|
|
15185
15185
|
size: 12,
|
|
@@ -15198,7 +15198,7 @@ var Rp = [
|
|
|
15198
15198
|
}
|
|
15199
15199
|
}, `table-resize-${e.getName()}`) : null;
|
|
15200
15200
|
}), W = v && f ? ft(oo, {
|
|
15201
|
-
className: "table-resize-preview",
|
|
15201
|
+
className: "sxl-table-resize-preview",
|
|
15202
15202
|
range: f,
|
|
15203
15203
|
stroke: zu(v, o),
|
|
15204
15204
|
alignWidth: 1
|
|
@@ -15206,7 +15206,7 @@ var Rp = [
|
|
|
15206
15206
|
return wt(Zt, {
|
|
15207
15207
|
onMouseMove: k,
|
|
15208
15208
|
onMouseLeave: T,
|
|
15209
|
-
className: jn(a, "
|
|
15209
|
+
className: jn(a, "sxl-tables"),
|
|
15210
15210
|
children: [
|
|
15211
15211
|
H,
|
|
15212
15212
|
W,
|
|
@@ -15217,7 +15217,7 @@ var Rp = [
|
|
|
15217
15217
|
renderToolbar: n
|
|
15218
15218
|
}),
|
|
15219
15219
|
ft(Ot, {
|
|
15220
|
-
className: "table-totals-dropdown",
|
|
15220
|
+
className: "sxl-table-totals-dropdown",
|
|
15221
15221
|
renderCell: O,
|
|
15222
15222
|
getVisibleCells: B,
|
|
15223
15223
|
cacheToken: z
|
|
@@ -16005,11 +16005,11 @@ var mm = nt(et((e, t) => {
|
|
|
16005
16005
|
if (!v) return null;
|
|
16006
16006
|
const b = !!c && o.getRange(c).getValue() instanceof te.Spill, y = u ? "var(--sxl-color-accent)" : "var(--sxl-color-primary)", C = `color-mix(in srgb, ${y} 70%, black)`;
|
|
16007
16007
|
return ft(Zt, {
|
|
16008
|
-
className: jn(a, "spill-outline", u && "spill-outline-fixed"),
|
|
16008
|
+
className: jn(a, "sxl-spill-outline", u && "sxl-spill-outline-fixed"),
|
|
16009
16009
|
children: Je(oo, {
|
|
16010
16010
|
...s,
|
|
16011
16011
|
key: "spill-outline",
|
|
16012
|
-
className: "spill-outline-box",
|
|
16012
|
+
className: "sxl-spill-outline-box",
|
|
16013
16013
|
range: v,
|
|
16014
16014
|
alignWidth: 1,
|
|
16015
16015
|
stroke: C,
|
|
@@ -16376,7 +16376,7 @@ var mm = nt(et((e, t) => {
|
|
|
16376
16376
|
}, [o]);
|
|
16377
16377
|
return 0 === s(l).length ? null : ft(Zt, {
|
|
16378
16378
|
...a,
|
|
16379
|
-
className: jn(n, "conditional-bars"),
|
|
16379
|
+
className: jn(n, "sxl-conditional-bars"),
|
|
16380
16380
|
children: ft(Ot, {
|
|
16381
16381
|
renderCell: d,
|
|
16382
16382
|
getVisibleCells: s,
|
|
@@ -16391,7 +16391,7 @@ var cf = ({ bar: e, track: t }) => {
|
|
|
16391
16391
|
if (i <= 0 && !u) return null;
|
|
16392
16392
|
const g = (l ? e.negativeColor : void 0) ?? e.color, h = (l ? e.negativeBorderColor : void 0) ?? e.borderColor, p = r ? `linear-gradient(to ${l !== c ? "left" : "right"}, ${g}, color-mix(in srgb, ${g} var(--sxl-cf-bar-fade), transparent))` : g;
|
|
16393
16393
|
return wt(je, { children: [i > 0 ? ft("div", {
|
|
16394
|
-
className: jn(af, "conditional-bar"),
|
|
16394
|
+
className: jn(af, "sxl-conditional-bar"),
|
|
16395
16395
|
style: {
|
|
16396
16396
|
left: d(s, i),
|
|
16397
16397
|
top: t.y,
|
|
@@ -16401,7 +16401,7 @@ var cf = ({ bar: e, track: t }) => {
|
|
|
16401
16401
|
border: h ? `1px solid ${h}` : void 0
|
|
16402
16402
|
}
|
|
16403
16403
|
}) : null, u ? ft("div", {
|
|
16404
|
-
className: jn(lf, "conditional-bar-axis"),
|
|
16404
|
+
className: jn(lf, "sxl-conditional-bar-axis"),
|
|
16405
16405
|
style: {
|
|
16406
16406
|
left: d(n * t.width, 1),
|
|
16407
16407
|
top: t.y,
|
|
@@ -16435,7 +16435,7 @@ var cf = ({ bar: e, track: t }) => {
|
|
|
16435
16435
|
}, []);
|
|
16436
16436
|
return 0 === l(a).length ? null : ft(Zt, {
|
|
16437
16437
|
...r,
|
|
16438
|
-
className: jn(o, "conditional-icons"),
|
|
16438
|
+
className: jn(o, "sxl-conditional-icons"),
|
|
16439
16439
|
children: ft(Ot, {
|
|
16440
16440
|
renderCell: i,
|
|
16441
16441
|
getVisibleCells: l,
|
|
@@ -16457,7 +16457,7 @@ var gf = {
|
|
|
16457
16457
|
[Ce.VerticalAlignment.Bottom]: "center bottom",
|
|
16458
16458
|
[Ce.VerticalAlignment.Justify]: "center",
|
|
16459
16459
|
[Ce.VerticalAlignment.Distributed]: "center"
|
|
16460
|
-
}, pf = Nt("sparkline:paint", () => import("./
|
|
16460
|
+
}, pf = Nt("sparkline:paint", () => import("./CNYzecnb2TInTI8p.mjs"));
|
|
16461
16461
|
var mf = (e) => !e.axis && 0 === e.columns.length && 0 === e.markers.length && !e.line?.runs.some((e) => e.length > 1), ff = new class {
|
|
16462
16462
|
constructor(e, t) {
|
|
16463
16463
|
this._pictures = /* @__PURE__ */ new Map(), this._queue = [], this._scheduled = !1, this._paint = e, this._maxEntries = Math.max(1, t?.maxEntries ?? 2e3), this._budgetMs = Math.max(1, t?.budgetMs ?? 8);
|
|
@@ -16552,7 +16552,7 @@ var mf = (e) => !e.axis && 0 === e.columns.length && 0 === e.markers.length && !
|
|
|
16552
16552
|
}, [t, o]);
|
|
16553
16553
|
return 0 === h(s).length ? null : ft(Zt, {
|
|
16554
16554
|
...l,
|
|
16555
|
-
className: jn(n, "sparklines"),
|
|
16555
|
+
className: jn(n, "sxl-sparklines"),
|
|
16556
16556
|
children: ft(Ot, {
|
|
16557
16557
|
renderCell: p,
|
|
16558
16558
|
getVisibleCells: h,
|
|
@@ -16658,7 +16658,7 @@ var Cf = (e) => {
|
|
|
16658
16658
|
}, [o]);
|
|
16659
16659
|
return n(t.getView(), "onAnyChange"), t.getView().isShowInvalid() ? 0 === i(s).length ? null : ft(Zt, {
|
|
16660
16660
|
...l,
|
|
16661
|
-
className: jn(r, "validation-marks"),
|
|
16661
|
+
className: jn(r, "sxl-validation-marks"),
|
|
16662
16662
|
children: ft(Ot, {
|
|
16663
16663
|
renderCell: u,
|
|
16664
16664
|
getVisibleCells: i,
|
|
@@ -16751,7 +16751,7 @@ var xf = (e) => {
|
|
|
16751
16751
|
}, [t]);
|
|
16752
16752
|
return ft(to, {
|
|
16753
16753
|
...s,
|
|
16754
|
-
className: jn(a, "validation-dropdown"),
|
|
16754
|
+
className: jn(a, "sxl-validation-dropdown"),
|
|
16755
16755
|
style: l,
|
|
16756
16756
|
activateOn: "selection",
|
|
16757
16757
|
selection: i,
|
|
@@ -16863,7 +16863,7 @@ var If = "_mark_p3uld_7", Mf = "_unresolved_p3uld_19", Ef = {
|
|
|
16863
16863
|
}, [o, n]);
|
|
16864
16864
|
return 0 === u(s).length ? null : ft(Zt, {
|
|
16865
16865
|
...l,
|
|
16866
|
-
className: jn(r, "circular-indicators"),
|
|
16866
|
+
className: jn(r, "sxl-circular-indicators"),
|
|
16867
16867
|
children: ft(Ot, {
|
|
16868
16868
|
renderCell: g,
|
|
16869
16869
|
getVisibleCells: u,
|
|
@@ -16905,7 +16905,7 @@ var Pf = [], Ff = "_pending_ldaq4_9", Nf = "_sweep_ldaq4_19", Lf = nt((e) => {
|
|
|
16905
16905
|
}, [o, n]);
|
|
16906
16906
|
return 0 === i(s).length ? null : ft(Zt, {
|
|
16907
16907
|
...l,
|
|
16908
|
-
className: jn(r, "cell-indicators"),
|
|
16908
|
+
className: jn(r, "sxl-cell-indicators"),
|
|
16909
16909
|
children: ft(Ot, {
|
|
16910
16910
|
renderCell: u,
|
|
16911
16911
|
getVisibleCells: i,
|
|
@@ -17131,7 +17131,7 @@ var _f = (e) => {
|
|
|
17131
17131
|
const F = g(c).length > 0;
|
|
17132
17132
|
return F || 0 !== D.length ? wt(Zt, {
|
|
17133
17133
|
...i,
|
|
17134
|
-
className: jn(l, "comments"),
|
|
17134
|
+
className: jn(l, "sxl-comments"),
|
|
17135
17135
|
onPointerMove: k,
|
|
17136
17136
|
onPointerLeave: T,
|
|
17137
17137
|
children: [F ? ft(Ot, {
|
|
@@ -17140,7 +17140,7 @@ var _f = (e) => {
|
|
|
17140
17140
|
cacheToken: p,
|
|
17141
17141
|
style: s
|
|
17142
17142
|
}) : null, D.length > 0 ? wt("svg", {
|
|
17143
|
-
className: "comment-leaders",
|
|
17143
|
+
className: "sxl-comment-leaders",
|
|
17144
17144
|
style: {
|
|
17145
17145
|
position: "absolute",
|
|
17146
17146
|
left: 0,
|
|
@@ -17292,7 +17292,7 @@ var lw = (e) => {
|
|
|
17292
17292
|
}, [t]), y = g || h, C = u && !y ? w(u, u.focusRequest, !0) : null;
|
|
17293
17293
|
return ft(to, {
|
|
17294
17294
|
...d,
|
|
17295
|
-
className: jn(i, "comment-card"),
|
|
17295
|
+
className: jn(i, "sxl-comment-card"),
|
|
17296
17296
|
style: c,
|
|
17297
17297
|
activateOn: "hover",
|
|
17298
17298
|
probe: y ? void 0 : v,
|
|
@@ -17310,7 +17310,7 @@ var lw = (e) => {
|
|
|
17310
17310
|
onDismiss: b,
|
|
17311
17311
|
children: ({ data: e, floatProps: n }) => ft("div", {
|
|
17312
17312
|
...n,
|
|
17313
|
-
className: "comment-card-float",
|
|
17313
|
+
className: "sxl-comment-card-float",
|
|
17314
17314
|
children: ft(Qo, {
|
|
17315
17315
|
render: o,
|
|
17316
17316
|
props: {
|
|
@@ -17462,7 +17462,7 @@ var Vw = (e) => {
|
|
|
17462
17462
|
}, [n, t]);
|
|
17463
17463
|
return ft(Zt, {
|
|
17464
17464
|
...i,
|
|
17465
|
-
className: jn(s, "cell-insert", `cell-insert-${t}`),
|
|
17465
|
+
className: jn(s, "sxl-cell-insert", `sxl-cell-insert-${t}`),
|
|
17466
17466
|
onPointerMove: m,
|
|
17467
17467
|
onPointerLeave: f,
|
|
17468
17468
|
children: ft(po, {
|
|
@@ -17550,14 +17550,14 @@ var Vw = (e) => {
|
|
|
17550
17550
|
}
|
|
17551
17551
|
}
|
|
17552
17552
|
return ft(Zt, {
|
|
17553
|
-
className: jn(o, "cell-insert-preview", `cell-insert-preview-${t}`),
|
|
17553
|
+
className: jn(o, "sxl-cell-insert-preview", `sxl-cell-insert-preview-${t}`),
|
|
17554
17554
|
children: a ? ft(ho, {
|
|
17555
17555
|
range: a,
|
|
17556
17556
|
style: {
|
|
17557
17557
|
pointerEvents: "none",
|
|
17558
17558
|
overflow: "visible"
|
|
17559
17559
|
},
|
|
17560
|
-
children: ft("div", { className: jn(Lw, "column" === t ? zw : _w, "cell-insert-line", r?.pressed && [Bw, "cell-insert-line-pressed"]) })
|
|
17560
|
+
children: ft("div", { className: jn(Lw, "column" === t ? zw : _w, "sxl-cell-insert-line", r?.pressed && [Bw, "sxl-cell-insert-line-pressed"]) })
|
|
17561
17561
|
}) : null
|
|
17562
17562
|
});
|
|
17563
17563
|
}, Uw = nt((e) => {
|
|
@@ -17568,7 +17568,7 @@ var Vw = (e) => {
|
|
|
17568
17568
|
"aria-label": r,
|
|
17569
17569
|
onClick: a,
|
|
17570
17570
|
...s,
|
|
17571
|
-
className: jn(Nw, "cell-insert-button", l),
|
|
17571
|
+
className: jn(Nw, "sxl-cell-insert-button", l),
|
|
17572
17572
|
children: wt("svg", {
|
|
17573
17573
|
viewBox: "0 0 16 16",
|
|
17574
17574
|
width: n,
|
|
@@ -17611,10 +17611,10 @@ var Kw = (e) => ft(Uw, { ...e }), Gw = Symbol("unlock.uniform"), jw = (e) => Gw,
|
|
|
17611
17611
|
}
|
|
17612
17612
|
return ft(Zt, {
|
|
17613
17613
|
...a,
|
|
17614
|
-
className: jn(r, "locked-hatch"),
|
|
17614
|
+
className: jn(r, "sxl-locked-hatch"),
|
|
17615
17615
|
children: ft(ho, {
|
|
17616
17616
|
fill: !0,
|
|
17617
|
-
className: "locked-hatch-box",
|
|
17617
|
+
className: "sxl-locked-hatch-box",
|
|
17618
17618
|
style: {
|
|
17619
17619
|
pointerEvents: "none",
|
|
17620
17620
|
overflow: "hidden"
|
|
@@ -17710,13 +17710,13 @@ var Xw = nt(et((e, t) => {
|
|
|
17710
17710
|
}
|
|
17711
17711
|
return ft(Zt, {
|
|
17712
17712
|
...b,
|
|
17713
|
-
className: jn(w, "header-selection"),
|
|
17713
|
+
className: jn(w, "sxl-header-selection"),
|
|
17714
17714
|
onPointerDown: R.onPointerDown,
|
|
17715
17715
|
onPointerMove: R.onPointerMove,
|
|
17716
17716
|
onPointerUp: R.onPointerUp,
|
|
17717
17717
|
children: ft(ho, {
|
|
17718
17718
|
fill: !0,
|
|
17719
|
-
className: "header-selection-box",
|
|
17719
|
+
className: "sxl-header-selection-box",
|
|
17720
17720
|
style: {
|
|
17721
17721
|
pointerEvents: "none",
|
|
17722
17722
|
...v
|
|
@@ -17744,7 +17744,7 @@ var Xw = nt(et((e, t) => {
|
|
|
17744
17744
|
width: `${l}px`
|
|
17745
17745
|
};
|
|
17746
17746
|
return ft("div", {
|
|
17747
|
-
className: "header-selection-edge",
|
|
17747
|
+
className: "sxl-header-selection-edge",
|
|
17748
17748
|
style: i
|
|
17749
17749
|
}, e);
|
|
17750
17750
|
}, Jw = (e, t, o, n) => {
|
|
@@ -17775,7 +17775,7 @@ var Xw = nt(et((e, t) => {
|
|
|
17775
17775
|
};
|
|
17776
17776
|
}
|
|
17777
17777
|
return ft("div", {
|
|
17778
|
-
className: "header-selection-border",
|
|
17778
|
+
className: "sxl-header-selection-border",
|
|
17779
17779
|
style: i
|
|
17780
17780
|
}, e);
|
|
17781
17781
|
}, Qw = (e, t, o, n) => {
|
|
@@ -18073,7 +18073,7 @@ var rv = nt(et((e, t) => {
|
|
|
18073
18073
|
}, `divider${e}`);
|
|
18074
18074
|
return wt(Zt, {
|
|
18075
18075
|
...g,
|
|
18076
|
-
className: jn(u, "header-resizer"),
|
|
18076
|
+
className: jn(u, "sxl-header-resizer"),
|
|
18077
18077
|
children: [j, ft(nv, { sheetHeader: o })]
|
|
18078
18078
|
});
|
|
18079
18079
|
})), av = (e, t, o = null) => {
|
|
@@ -18092,7 +18092,7 @@ var rv = nt(et((e, t) => {
|
|
|
18092
18092
|
}
|
|
18093
18093
|
return n;
|
|
18094
18094
|
}, lv = "var(--sxl-color-primary)", sv = "var(--sxl-color-base-100)", iv = nt((e) => {
|
|
18095
|
-
const { sheet: t, className: o, ...n } = e, r = Io(), [a] = _o(ev(we.Axis.Column), null), [l] = _o(ev(we.Axis.Row), null), s = !!a, i = a ?? l, c = jn(o, "resize-indicator");
|
|
18095
|
+
const { sheet: t, className: o, ...n } = e, r = Io(), [a] = _o(ev(we.Axis.Column), null), [l] = _o(ev(we.Axis.Row), null), s = !!a, i = a ?? l, c = jn(o, "sxl-resize-indicator");
|
|
18096
18096
|
if (!i) return ft(Zt, {
|
|
18097
18097
|
...n,
|
|
18098
18098
|
className: c
|
|
@@ -18329,7 +18329,7 @@ var wv = (e, t, o) => {
|
|
|
18329
18329
|
const { sheetHeader: t, className: o, ...n } = e, r = t.getAxis(), { isActive: a, ...l } = vv(t.getWorksheet(), r);
|
|
18330
18330
|
return wt(Zt, {
|
|
18331
18331
|
...n,
|
|
18332
|
-
className: jn(o, "header-freeze"),
|
|
18332
|
+
className: jn(o, "sxl-header-freeze"),
|
|
18333
18333
|
children: [ft(mv, {}), ft(jt, {
|
|
18334
18334
|
axis: r,
|
|
18335
18335
|
highlight: a,
|
|
@@ -18342,7 +18342,7 @@ var yv = nt((e) => {
|
|
|
18342
18342
|
const { sheet: t, className: o, ...n } = e, { isActive: r, ...a } = vv(t, we.Axis.Column), { isActive: l, ...s } = vv(t, we.Axis.Row);
|
|
18343
18343
|
return wt(Zt, {
|
|
18344
18344
|
...n,
|
|
18345
|
-
className: jn(o, "freeze"),
|
|
18345
|
+
className: jn(o, "sxl-freeze"),
|
|
18346
18346
|
children: [
|
|
18347
18347
|
ft(mv, { showStart: !0 }),
|
|
18348
18348
|
ft(Ut, {
|
|
@@ -18398,7 +18398,7 @@ var { CommandScopeProvider: Cv } = Ho, Sv = (e, t) => (e.updateCommand("openCont
|
|
|
18398
18398
|
order: Po().zIndex,
|
|
18399
18399
|
children: ft(Zt, {
|
|
18400
18400
|
onContextMenu: s,
|
|
18401
|
-
className: Zn(r, "contextMenu"),
|
|
18401
|
+
className: Zn(r, "sxl-contextMenu"),
|
|
18402
18402
|
...a
|
|
18403
18403
|
})
|
|
18404
18404
|
});
|
|
@@ -18410,7 +18410,7 @@ function kv(e) {
|
|
|
18410
18410
|
return c ? Uc(e, c) : e;
|
|
18411
18411
|
}, [i, c]);
|
|
18412
18412
|
return s && "point" === s.mode && i ? s.scope && s.scope !== c ? null : ft(Xw, {
|
|
18413
|
-
className: jn(r, "reference-header"),
|
|
18413
|
+
className: jn(r, "sxl-reference-header"),
|
|
18414
18414
|
selection: i,
|
|
18415
18415
|
adapter: d,
|
|
18416
18416
|
axis: t,
|
|
@@ -18814,7 +18814,7 @@ var { CommandScopeProvider: Lv, useCommandExecute: _v } = Ho, zv = ({ sheet: e,
|
|
|
18814
18814
|
(o || "formatPainter" === t) && ("Escape" === e.key ? (e.preventDefault(), e.stopPropagation(), r.setMode(null)) : o && "Enter" === e.key && (e.preventDefault(), e.stopPropagation(), await s("paste"), r.setMode(null)));
|
|
18815
18815
|
},
|
|
18816
18816
|
...o,
|
|
18817
|
-
className: jn(t, "clipboard"),
|
|
18817
|
+
className: jn(t, "sxl-clipboard"),
|
|
18818
18818
|
children: g && h && m && f && ft(oo, {
|
|
18819
18819
|
range: f,
|
|
18820
18820
|
alignWidth: 2,
|
|
@@ -19131,7 +19131,7 @@ var $v = Object.freeze([]), Wv = { style: { display: "none" } }, Uv = nt(et((e,
|
|
|
19131
19131
|
value: he,
|
|
19132
19132
|
children: ft(Kt, {
|
|
19133
19133
|
ref: fe,
|
|
19134
|
-
className: jn(x, "sheet-header"),
|
|
19134
|
+
className: jn(x, "sxl-sheet-header"),
|
|
19135
19135
|
style: {
|
|
19136
19136
|
touchAction: "none",
|
|
19137
19137
|
...ge
|
|
@@ -19193,7 +19193,7 @@ var $v = Object.freeze([]), Wv = { style: { display: "none" } }, Uv = nt(et((e,
|
|
|
19193
19193
|
h
|
|
19194
19194
|
]), A = "dark" === i ? "dark" : "light";
|
|
19195
19195
|
return ft(Kt, {
|
|
19196
|
-
className: jn(g, "sheet-outline"),
|
|
19196
|
+
className: jn(g, "sxl-sheet-outline"),
|
|
19197
19197
|
style: q,
|
|
19198
19198
|
...kn("app", A),
|
|
19199
19199
|
viewport: R,
|
|
@@ -19256,7 +19256,7 @@ var Gv = nt((e) => {
|
|
|
19256
19256
|
})
|
|
19257
19257
|
}, e));
|
|
19258
19258
|
return ft("div", {
|
|
19259
|
-
className: jn(c, "sheet-outline-levels"),
|
|
19259
|
+
className: jn(c, "sxl-sheet-outline-levels"),
|
|
19260
19260
|
...kn("header", w),
|
|
19261
19261
|
...u,
|
|
19262
19262
|
style: {
|
|
@@ -19303,7 +19303,7 @@ var jv = 3, Zv = (e, t) => {
|
|
|
19303
19303
|
const f = "dark" === n ? "dark" : "light", w = u ? "var(--sxl-color-primary)" : "var(--sxl-color-base-100)", v = u ? "color-mix(in srgb, var(--sxl-color-primary) 20%, transparent)" : "var(--sxl-color-base-hover)", b = "var(--sxl-color-base-300)", y = Jo.getDevicePixelRatio(), C = (e) => e / y + "px";
|
|
19304
19304
|
return wt("div", {
|
|
19305
19305
|
tabIndex: -1,
|
|
19306
|
-
className: jn(a, "top-left-corner"),
|
|
19306
|
+
className: jn(a, "sxl-top-left-corner"),
|
|
19307
19307
|
...kn("header", f),
|
|
19308
19308
|
...d,
|
|
19309
19309
|
onMouseDown: (e) => {
|
|
@@ -19894,7 +19894,7 @@ var fb = (e) => {
|
|
|
19894
19894
|
});
|
|
19895
19895
|
return wt("label", {
|
|
19896
19896
|
ref: l,
|
|
19897
|
-
className: jn(Vu, { dragging: i }),
|
|
19897
|
+
className: jn(Vu, { "sxl-dragging": i }),
|
|
19898
19898
|
onPointerDown: s?.onPointerDown,
|
|
19899
19899
|
children: [
|
|
19900
19900
|
ft("input", {
|
|
@@ -19930,8 +19930,8 @@ var fb = (e) => {
|
|
|
19930
19930
|
ref: d,
|
|
19931
19931
|
title: h,
|
|
19932
19932
|
className: jn("sxl-pivot-chip", c, Ju, {
|
|
19933
|
-
overlay: n,
|
|
19934
|
-
dragging: r
|
|
19933
|
+
"sxl-overlay": n,
|
|
19934
|
+
"sxl-dragging": r
|
|
19935
19935
|
}),
|
|
19936
19936
|
...u,
|
|
19937
19937
|
children: [
|
|
@@ -20104,7 +20104,7 @@ var fb = (e) => {
|
|
|
20104
20104
|
ref: a,
|
|
20105
20105
|
role: "list",
|
|
20106
20106
|
"aria-label": i,
|
|
20107
|
-
className: jn(Xu, { over: l }),
|
|
20107
|
+
className: jn(Xu, { "sxl-over": l }),
|
|
20108
20108
|
children: [o.map((e, r) => ft(Wb, {
|
|
20109
20109
|
id: s[r],
|
|
20110
20110
|
area: t,
|
|
@@ -22482,7 +22482,7 @@ var yy = "_loading-panel_bjv3h_1", Cy = "_loading-spinner_bjv3h_10", Sy = (e) =>
|
|
|
22482
22482
|
...n,
|
|
22483
22483
|
children: t instanceof Error ? t.message : String(t)
|
|
22484
22484
|
});
|
|
22485
|
-
}, ky = "_sheetxl-
|
|
22485
|
+
}, ky = "_sheetxl-sheet_zorxx_5", Ty = "_viewport-overlay_zorxx_6", Ry = nt((e) => {
|
|
22486
22486
|
const t = An();
|
|
22487
22487
|
return ft(no, {
|
|
22488
22488
|
...e,
|
|
@@ -22737,7 +22737,7 @@ var qy = nt(et((e, t) => {
|
|
|
22737
22737
|
}, [o]), Ht = rt(() => {
|
|
22738
22738
|
Z.current || (jt.current.clear(), ue.current?.invalidate(), U?.());
|
|
22739
22739
|
}, []), Vt = dt(() => N ? ft("div", {
|
|
22740
|
-
className: jn("viewport-overlay", Ty),
|
|
22740
|
+
className: jn("sxl-viewport-overlay", Ty),
|
|
22741
22741
|
style: {
|
|
22742
22742
|
width: "100%",
|
|
22743
22743
|
height: "100%",
|
|
@@ -22952,7 +22952,7 @@ var qy = nt(et((e, t) => {
|
|
|
22952
22952
|
ft(Kc, {
|
|
22953
22953
|
sheet: o,
|
|
22954
22954
|
sheetView: he,
|
|
22955
|
-
className: "references"
|
|
22955
|
+
className: "sxl-references"
|
|
22956
22956
|
}, `ref-picker-[${e}]`),
|
|
22957
22957
|
ft(zv, { sheet: o }, `clipboard-[${e}]`),
|
|
22958
22958
|
ft(Du, {
|
|
@@ -22990,10 +22990,10 @@ var qy = nt(et((e, t) => {
|
|
|
22990
22990
|
renderMovable: T
|
|
22991
22991
|
}, `movable-[${e}]`),
|
|
22992
22992
|
ft(Zt, {
|
|
22993
|
-
className: "grid-border",
|
|
22993
|
+
className: "sxl-grid-border",
|
|
22994
22994
|
children: ft(ho, {
|
|
22995
22995
|
fill: !0,
|
|
22996
|
-
className: "grid-border-box",
|
|
22996
|
+
className: "sxl-grid-border-box",
|
|
22997
22997
|
...kn("app", J),
|
|
22998
22998
|
style: Vy
|
|
22999
22999
|
})
|
|
@@ -23004,7 +23004,7 @@ var qy = nt(et((e, t) => {
|
|
|
23004
23004
|
darkMode: Y
|
|
23005
23005
|
}, `editor-[${e}]`),
|
|
23006
23006
|
b ? ft(ru, {
|
|
23007
|
-
className: "errors",
|
|
23007
|
+
className: "sxl-errors",
|
|
23008
23008
|
sheet: o,
|
|
23009
23009
|
renderTip: I
|
|
23010
23010
|
}, `cell-errors-[${e}]`) : null,
|
|
@@ -24114,7 +24114,7 @@ var IC = Object.freeze({
|
|
|
24114
24114
|
}, x = dt(() => o ? {
|
|
24115
24115
|
...IC,
|
|
24116
24116
|
...o
|
|
24117
|
-
} : IC, [o]), k = jn(c, "range-annotations"), T = (e) => !("Escape" !== e.key || e.defaultPrevented || !p || !w && !v) && (e.preventDefault(), e.stopPropagation(), lC(p, null), iC(p, null), !0), R = (e) => {
|
|
24117
|
+
} : IC, [o]), k = jn(c, "sxl-range-annotations"), T = (e) => !("Escape" !== e.key || e.defaultPrevented || !p || !w && !v) && (e.preventDefault(), e.stopPropagation(), lC(p, null), iC(p, null), !0), R = (e) => {
|
|
24118
24118
|
e.stopPropagation(), T(e) && b?.focus();
|
|
24119
24119
|
}, q = {
|
|
24120
24120
|
...u,
|
|
@@ -24183,7 +24183,7 @@ var IC = Object.freeze({
|
|
|
24183
24183
|
children: [D.map((e) => {
|
|
24184
24184
|
const { annotation: t, coords: o, isCurrent: n, isHovered: r } = e, a = L(t.intent), s = n || r, i = !!w && !s && WC(t);
|
|
24185
24185
|
return wt(je, { children: [ft(oo, {
|
|
24186
|
-
className: "range-annotation-box",
|
|
24186
|
+
className: "sxl-range-annotation-box",
|
|
24187
24187
|
range: o,
|
|
24188
24188
|
stroke: a.border,
|
|
24189
24189
|
alignWidth: 2,
|
|
@@ -24192,7 +24192,7 @@ var IC = Object.freeze({
|
|
|
24192
24192
|
transition: "opacity 160ms ease"
|
|
24193
24193
|
}
|
|
24194
24194
|
}), ft(oo, {
|
|
24195
|
-
className: "range-annotation-fill",
|
|
24195
|
+
className: "sxl-range-annotation-fill",
|
|
24196
24196
|
range: o,
|
|
24197
24197
|
fill: a.fill,
|
|
24198
24198
|
style: {
|
|
@@ -24391,7 +24391,7 @@ var IC = Object.freeze({
|
|
|
24391
24391
|
toward: null
|
|
24392
24392
|
}, { side: c, cornerOff: d, toward: u } = i;
|
|
24393
24393
|
return ft(uo, {
|
|
24394
|
-
className: "range-annotation-chip",
|
|
24394
|
+
className: "sxl-range-annotation-chip",
|
|
24395
24395
|
anchor: { range: i.anchor },
|
|
24396
24396
|
placement: i.placement,
|
|
24397
24397
|
alignOffset: i.inset,
|
|
@@ -24899,7 +24899,7 @@ var iS = [
|
|
|
24899
24899
|
});
|
|
24900
24900
|
cS.displayName = "SlicerStylePreview";
|
|
24901
24901
|
var dS = "shape";
|
|
24902
|
-
Vo.register(dS, () => import("./
|
|
24902
|
+
Vo.register(dS, () => import("./B2a1mRx9B8XMRd8H.mjs"));
|
|
24903
24903
|
var uS = (e) => `${dS}:${e}`, gS = (e) => wt("svg", {
|
|
24904
24904
|
viewBox: "0,0,2048,2048",
|
|
24905
24905
|
...e,
|
|
@@ -25782,7 +25782,7 @@ var BS = (e) => zS.get(e), OS = (e, t) => {
|
|
|
25782
25782
|
a,
|
|
25783
25783
|
...r.slice(0, s),
|
|
25784
25784
|
ft("span", {
|
|
25785
|
-
className: "formula-eval-run",
|
|
25785
|
+
className: "sxl-formula-eval-run",
|
|
25786
25786
|
style: d,
|
|
25787
25787
|
children: r.slice(s, i + 1)
|
|
25788
25788
|
}, "eval-run"),
|
|
@@ -26418,7 +26418,7 @@ var YS = "_editable-input_1u3oj_6", JS = (e) => ft("input", { ...e }), QS = nt(e
|
|
|
26418
26418
|
onMouseEnter: () => f(!0),
|
|
26419
26419
|
onMouseLeave: () => f(!1),
|
|
26420
26420
|
children: [ft("div", {
|
|
26421
|
-
className: "editable-label-container",
|
|
26421
|
+
className: "sxl-editable-label-container",
|
|
26422
26422
|
style: {
|
|
26423
26423
|
textAlign: "center",
|
|
26424
26424
|
display: "flex",
|
|
@@ -26520,7 +26520,7 @@ var YS = "_editable-input_1u3oj_6", JS = (e) => ft("input", { ...e }), QS = nt(e
|
|
|
26520
26520
|
value: m
|
|
26521
26521
|
}) : ft(mt, { children: m });
|
|
26522
26522
|
return ft("div", {
|
|
26523
|
-
className: jn("tab-item", tx.Wrapper, r && tx.fadeIn, u && tx.sorting, t && tx.dragOverlay),
|
|
26523
|
+
className: jn("sxl-tab-item", tx.Wrapper, r && tx.fadeIn, u && tx.sorting, t && tx.dragOverlay),
|
|
26524
26524
|
style: {
|
|
26525
26525
|
...f,
|
|
26526
26526
|
transition: [h, f?.transition].filter(Boolean).join(", "),
|
|
@@ -26532,7 +26532,7 @@ var YS = "_editable-input_1u3oj_6", JS = (e) => ft("input", { ...e }), QS = nt(e
|
|
|
26532
26532
|
},
|
|
26533
26533
|
ref: v,
|
|
26534
26534
|
children: ft("div", {
|
|
26535
|
-
className: jn(tx.Item, o && tx.dragging, a && tx.withHandle, t && tx.dragOverlay, n && tx.disabled, e && tx.color, "dragging"),
|
|
26535
|
+
className: jn(tx.Item, o && tx.dragging, a && tx.withHandle, t && tx.dragOverlay, n && tx.disabled, e && tx.color, "sxl-dragging"),
|
|
26536
26536
|
style: g,
|
|
26537
26537
|
"data-cypress": "draggable-item",
|
|
26538
26538
|
...a ? void 0 : i,
|
|
@@ -26712,7 +26712,7 @@ function sx({ disabled: e, animateLayoutChanges: t, getNewIndex: o, handle: n, i
|
|
|
26712
26712
|
}
|
|
26713
26713
|
var ix = "_TabStrip_3x0dp_1", cx = "rgb(33, 115, 70)", dx = "#eee", ux = (e) => ft(ex, { ...e }), gx = nt(et((e, t) => {
|
|
26714
26714
|
const { children: o, style: n, className: r, selectedTabIndex: a = 0, tabNames: l = [], onSelectedTabIndexChange: s, onTabNameChange: i, onTabMove: c, renderScrollButtonStart: d = fn, renderScrollButtonEnd: u = mn, renderScrollButtonEdge: g = pn, renderTabButton: h = ux, renderTabDivider: p, propsEditLabel: m, disabled: f = !1, disableDrag: w = !1, background: v = "white", activeColor: b = cx, borderColor: y = dx, borderWidth: C = 1, seam: S = !0 } = e, [x, k] = ht(a), [T, R] = ht(l), q = rt((e) => {
|
|
26715
|
-
const t = F.current?.[e]?.closest(".tab-item") ?? F.current?.[e];
|
|
26715
|
+
const t = F.current?.[e]?.closest(".sxl-tab-item") ?? F.current?.[e];
|
|
26716
26716
|
if (!t || !H.current) return;
|
|
26717
26717
|
const o = H.current, n = t.getBoundingClientRect(), r = o.getBoundingClientRect();
|
|
26718
26718
|
n.left >= r.left && n.right <= r.right && n.top >= r.top && n.bottom <= r.bottom || o.scrollTo({
|
|
@@ -26906,7 +26906,7 @@ var ix = "_TabStrip_3x0dp_1", cx = "rgb(33, 115, 70)", dx = "#eee", ux = (e) =>
|
|
|
26906
26906
|
children: ee
|
|
26907
26907
|
}),
|
|
26908
26908
|
ft("div", {
|
|
26909
|
-
className: "Tabs",
|
|
26909
|
+
className: "sxl-Tabs",
|
|
26910
26910
|
ref: _,
|
|
26911
26911
|
style: {
|
|
26912
26912
|
flex: "1 1 100%",
|
|
@@ -27316,7 +27316,7 @@ var vx = (e) => wt("svg", {
|
|
|
27316
27316
|
}) : null]
|
|
27317
27317
|
});
|
|
27318
27318
|
return wt("div", {
|
|
27319
|
-
className: jn(bx, "value-checklist", v),
|
|
27319
|
+
className: jn(bx, "sxl-value-checklist", v),
|
|
27320
27320
|
style: b,
|
|
27321
27321
|
...kn("grid", x),
|
|
27322
27322
|
children: [d ? ft(Yt, {
|
|
@@ -27333,7 +27333,7 @@ var vx = (e) => wt("svg", {
|
|
|
27333
27333
|
className: Sx,
|
|
27334
27334
|
children: [wt("button", {
|
|
27335
27335
|
type: "button",
|
|
27336
|
-
className: jn(xx, "search-options"),
|
|
27336
|
+
className: jn(xx, "sxl-search-options"),
|
|
27337
27337
|
"aria-label": C("checklist.searchOptions"),
|
|
27338
27338
|
title: C("checklist.searchOptions"),
|
|
27339
27339
|
"aria-haspopup": "menu",
|
|
@@ -27356,10 +27356,10 @@ var vx = (e) => wt("svg", {
|
|
|
27356
27356
|
})
|
|
27357
27357
|
})]
|
|
27358
27358
|
}), I ? ft("div", {
|
|
27359
|
-
className: jn(Rx, "search-options-menu"),
|
|
27359
|
+
className: jn(Rx, "sxl-search-options-menu"),
|
|
27360
27360
|
role: "menu",
|
|
27361
27361
|
children: wt("label", {
|
|
27362
|
-
className: jn(Dx, "by-value"),
|
|
27362
|
+
className: jn(Dx, "sxl-by-value"),
|
|
27363
27363
|
role: "menuitemcheckbox",
|
|
27364
27364
|
"aria-checked": !a,
|
|
27365
27365
|
children: [ft("input", {
|
|
@@ -27375,7 +27375,7 @@ var vx = (e) => wt("svg", {
|
|
|
27375
27375
|
}) : void 0,
|
|
27376
27376
|
trailing: U ? ft("button", {
|
|
27377
27377
|
type: "button",
|
|
27378
|
-
className: jn(Hx, "add-value"),
|
|
27378
|
+
className: jn(Hx, "sxl-add-value"),
|
|
27379
27379
|
onMouseDown: (e) => e.preventDefault(),
|
|
27380
27380
|
onClick: () => {
|
|
27381
27381
|
K();
|
|
@@ -28128,7 +28128,7 @@ var Zx = { dynamic: (e, t) => {
|
|
|
28128
28128
|
});
|
|
28129
28129
|
}, [P]), H = dt(() => D ? null : ft("button", {
|
|
28130
28130
|
type: "button",
|
|
28131
|
-
className: jn("workbook-strip-add", ak),
|
|
28131
|
+
className: jn("sxl-workbook-strip-add", ak),
|
|
28132
28132
|
disabled: s,
|
|
28133
28133
|
"aria-label": "addTab",
|
|
28134
28134
|
title: b("workbookStrip.newSheet"),
|
|
@@ -28151,7 +28151,7 @@ var Zx = { dynamic: (e, t) => {
|
|
|
28151
28151
|
]);
|
|
28152
28152
|
return wt("div", {
|
|
28153
28153
|
ref: k,
|
|
28154
|
-
className: jn("workbook-strip", c),
|
|
28154
|
+
className: jn("sxl-workbook-strip", c),
|
|
28155
28155
|
style: {
|
|
28156
28156
|
position: "relative",
|
|
28157
28157
|
display: "flex",
|
|
@@ -28222,9 +28222,9 @@ var ck = (e) => {
|
|
|
28222
28222
|
const { key: t, ...o } = e;
|
|
28223
28223
|
return ft(Uy, { ...o }, t);
|
|
28224
28224
|
}, uk = (e) => ft(ik, { ...e }), gk = (e) => Sy(e), hk = {
|
|
28225
|
-
"sheetxl-workbook": "_sheetxl-
|
|
28226
|
-
"sheetxl-reset": "_sheetxl-
|
|
28227
|
-
viewport: "
|
|
28225
|
+
"sheetxl-workbook": "_sheetxl-workbook_ooc7l_11",
|
|
28226
|
+
"sheetxl-reset": "_sheetxl-reset_ooc7l_40",
|
|
28227
|
+
viewport: "_viewport_ooc7l_75"
|
|
28228
28228
|
}, pk = { version: 1 };
|
|
28229
28229
|
sp();
|
|
28230
28230
|
var mk = { ignoreModelChange: !0 }, fk = {
|
|
@@ -28391,7 +28391,7 @@ var mk = { ignoreModelChange: !0 }, fk = {
|
|
|
28391
28391
|
const { style: t, ...n } = e;
|
|
28392
28392
|
let r = null, a = null, l = null;
|
|
28393
28393
|
if (ze && le && (a = ft("div", {
|
|
28394
|
-
className: "workbook-strip-scrollbar",
|
|
28394
|
+
className: "sxl-workbook-strip-scrollbar",
|
|
28395
28395
|
style: {
|
|
28396
28396
|
display: "flex",
|
|
28397
28397
|
flex: "1 1 100%",
|
|
@@ -28444,7 +28444,7 @@ var mk = { ignoreModelChange: !0 }, fk = {
|
|
|
28444
28444
|
} else if (ze) r = a;
|
|
28445
28445
|
else {
|
|
28446
28446
|
if (!l) return ft("div", {
|
|
28447
|
-
className: jn("workbook-strip-area"),
|
|
28447
|
+
className: jn("sxl-workbook-strip-area"),
|
|
28448
28448
|
style: {
|
|
28449
28449
|
display: "flex",
|
|
28450
28450
|
flex: "1",
|
|
@@ -28458,7 +28458,7 @@ var mk = { ignoreModelChange: !0 }, fk = {
|
|
|
28458
28458
|
r = l;
|
|
28459
28459
|
}
|
|
28460
28460
|
return ft("div", {
|
|
28461
|
-
className: jn("workbook-strip-area"),
|
|
28461
|
+
className: jn("sxl-workbook-strip-area"),
|
|
28462
28462
|
style: {
|
|
28463
28463
|
display: "flex",
|
|
28464
28464
|
flex: "1",
|
|
@@ -28664,7 +28664,7 @@ var mk = { ignoreModelChange: !0 }, fk = {
|
|
|
28664
28664
|
onFirstRender: X
|
|
28665
28665
|
}
|
|
28666
28666
|
}, re?.getId()), $e ? ft("div", {
|
|
28667
|
-
className: jn("workbook-strip-area"),
|
|
28667
|
+
className: jn("sxl-workbook-strip-area"),
|
|
28668
28668
|
style: {
|
|
28669
28669
|
display: "flex",
|
|
28670
28670
|
flex: "none",
|