@sheetxl/studio-mui 0.8.0-beta.15 → 0.8.0-beta.17
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/LICENSE.md +17 -7
- package/browser/esm/{DJVpra0HoPH-4P7P.mjs → 0FLmtunmoRFjO-dk.mjs} +3 -3
- package/browser/esm/{6SL2j-85OXrKJNZ5.mjs → B2LvYLt27hzoarA9.mjs} +1807 -1200
- package/browser/esm/{D90Bb0GPEwqYkf6R.mjs → BBGsto_-YGhTouc9.mjs} +804 -713
- package/browser/esm/{BR51amBhaaHPBhpd.mjs → BEIcp6BzAg3H6JBB.mjs} +3 -3
- package/browser/esm/{EFtp_C3sBnP3Nrns.mjs → BFN88LECqMerqLYN.mjs} +7 -7
- package/browser/esm/{ghfcAaGu2CuZGdhi.mjs → BGNhe08mdWf8dIuk.mjs} +34 -33
- package/browser/esm/BNfIFd07bhGqs-U9.mjs +235 -0
- package/browser/esm/{CcJHwg-rLMcCymSD.mjs → BTb_Djaoxz3G27t-.mjs} +6 -6
- package/browser/esm/{Cl_OUigCV04_zrRy.mjs → BXhWCOPioL48V_9k.mjs} +2 -2
- package/browser/esm/{DsM-NpB32hloRRR8.mjs → Bh1YkrKuSZs-xdlw.mjs} +3 -3
- package/browser/esm/{CV-q-xCHVuNFhqEF.mjs → BkABsPS9qbyYS2i7.mjs} +2 -2
- package/browser/esm/{Buzx8_zQYPX4DR7v.mjs → BnLdmQ91UIGs0zyR.mjs} +2 -2
- package/browser/esm/BnMZSJdWZzdK-AXs.mjs +119 -0
- package/browser/esm/BoXCzcrUFER3B585.mjs +225 -0
- package/browser/esm/{BNas8wZuvrN45dRi.mjs → BxHaU8-LCw4IHrDn.mjs} +2 -2
- package/browser/esm/C2ZbV5cXpGPYeqM1.mjs +106 -0
- package/browser/esm/C8kveDS4xm6D2Aaq.mjs +294 -0
- package/browser/esm/{OHvsc940xI-m_8cc.mjs → CHm8-sLarqD1--If.mjs} +2 -2
- package/browser/esm/{DOWfcHx0MO0J50de.mjs → CMIM0wPs_KvfwLEl.mjs} +92 -87
- package/browser/esm/{DY_EGsyx-zNiJS_0.mjs → CP-c6sUINCv0Nf4P.mjs} +5 -5
- package/browser/esm/{BCDAnHFMvOd9XS8K.mjs → CaI0Mfu6ECDIzCpr.mjs} +3 -3
- package/browser/esm/{Bvq5aZyp5E79JB-s.mjs → Cb3HSSD7snyRPNh8.mjs} +2 -2
- package/browser/esm/{BsAoK_t2sn8IHtAO.mjs → Cf855AHLcB7WuFr3.mjs} +3 -3
- package/browser/esm/{Bqba-3J9i8HsmusR.mjs → ChORBNItvZW0e8Nb.mjs} +2 -2
- package/browser/esm/{DfI4-5XM6AbILSti.mjs → CmMD76_yBG4xmsEr.mjs} +4 -4
- package/browser/esm/{idh3Y0jksygPSI3A.mjs → CuysyoZ-rmDHwaJJ.mjs} +2 -2
- package/browser/esm/{DMDi2lOps0veJKsM.mjs → Cvbms6f8QMP1ubyI.mjs} +3 -3
- package/browser/esm/{DKkKac2vbeui2lDy.mjs → CvzzESAZRMWQ4cGq.mjs} +6 -6
- package/browser/esm/{DFAphWcDUw-gVtAl.mjs → D078ssKRI39FdHNq.mjs} +3 -3
- package/browser/esm/{BvpzsprI7cmVLuQn.mjs → D1_8p15KJ7DSZEis.mjs} +3 -3
- package/browser/esm/{Dz20q7S5vmDWlO0p.mjs → D2Kz08pq5zPz2n3y.mjs} +2 -2
- package/browser/esm/{BojGnpAWoIm5yCd8.mjs → D4FRExfK7RsdS08S.mjs} +2 -2
- package/browser/esm/{CJWnWqGPw17cp9P3.mjs → D9ija-5d57x-qUQv.mjs} +2 -2
- package/browser/esm/{DAYPqhHN3aQ2StjU.mjs → DGkQsCJP29nZteu8.mjs} +14 -14
- package/browser/esm/{DR9y7k4jB7stGPaZ.mjs → DK39s_Fn9M22RfJm.mjs} +3 -3
- package/browser/esm/{CutWdrVA-c3x8IkL.mjs → DL0r5MrPx8CkL_r_.mjs} +5 -4
- package/browser/esm/{IlX2PgLxvyTQu4Fh.mjs → DQjJFUPHg_aU2BDi.mjs} +5 -5
- package/browser/esm/{OmA1ClZ36ZMFrZe7.mjs → DcUtMgA17fh_UJlQ.mjs} +2 -2
- package/browser/esm/{BfPTOOKhwUojRTef.mjs → Dd6iR6EeV81idc-J.mjs} +13 -9
- package/browser/esm/{DLe9DT0DSurLSgiQ.mjs → Dd8j9U2Vlvrue2LA.mjs} +2 -2
- package/browser/esm/{BkxJY_YjMAEvhmuy.mjs → DmBu6kgMNT26tmsZ.mjs} +4 -4
- package/browser/esm/{DpAlQza0e5h3GGHC.mjs → DrtEkQTJM7oPvC9v.mjs} +3 -3
- package/browser/esm/DwiKIdqmaBk2pTBp.mjs +973 -0
- package/browser/esm/{C67SLDHwhVlVIMo0.mjs → Dx0ymWD1uI_Q63eZ.mjs} +3 -3
- package/browser/esm/{Ci74yk0whfoAP1TL.mjs → DxFw-07oIjr7GRb3.mjs} +2 -2
- package/browser/esm/{BH4eDAxZdwheO7d_.mjs → GqSAEzE_2tOJlvNG.mjs} +3 -3
- package/browser/esm/{By1IJOkvZJSlXs5f.mjs → JqMZ95e5lhq09vm6.mjs} +3 -3
- package/browser/esm/{DzATG8XMcG6mmYbx.mjs → LaC0D0C9yJ8y_l6X.mjs} +9 -9
- package/browser/esm/{BYnzaHXySiV-sc6w.mjs → NQzIcNkm0QxNuzx9.mjs} +2 -2
- package/browser/esm/{DYDnkmllpYTwfWir.mjs → W5Rvml-3G4XekwoR.mjs} +4 -4
- package/browser/esm/_PlChb18jQMPAKJX.mjs +360 -0
- package/browser/esm/{BWdpv2xf6GCyd4Te.mjs → cNsbq0TIia7SdBHP.mjs} +5 -5
- package/browser/esm/{Cbkg5y4fYjLylYHF.mjs → fSCwNKAcSc0mr2Ec.mjs} +2 -2
- package/browser/esm/g_bvg4HpyaF6f_JY.mjs +424 -0
- package/browser/esm/index.mjs +278 -277
- package/browser/esm/{C8tci3dfo5lzeoK-.mjs → mP32LfcEodsaGDPi.mjs} +6 -6
- package/browser/esm/{BvbN9V67wFhTfq1-.mjs → sjJ2Yb_cf_KL--Cl.mjs} +3 -3
- package/licenses/dependencies.txt +33 -33
- package/node/esm/{DybPyX8U-EqXKarV.mjs → 5Kkr-d9gc7GsfmI5.mjs} +2 -2
- package/node/esm/B6YmbuWU-fHrjOnB.mjs +106 -0
- package/node/esm/{DwA7rfXJgzoNvjax.mjs → BGWb71anMM4S4UTg.mjs} +8 -8
- package/node/esm/{C4eVfVm_Omyt6NbE.mjs → BINV_bzMi8YLqzor.mjs} +12 -12
- package/node/esm/{DGtbmp72kfRXLtDu.mjs → BWl0RjNZfoJvRX_2.mjs} +81 -80
- package/node/esm/{-Adgw5-ltK-rfp33.mjs → BiVdQ27eA1Rs9liu.mjs} +2 -2
- package/node/esm/{CkW8xNdW45Xg7jy7.mjs → Bp6WSG8tmXefxSlk.mjs} +3 -3
- package/node/esm/BrHbeFtSmaPq19cu.mjs +224 -0
- package/node/esm/BySbwlaepgugcINA.mjs +972 -0
- package/node/esm/{q2Byx8RdDnHk8YyG.mjs → BzLnWJ1JhLnookTH.mjs} +2 -2
- package/node/esm/{Bg3Yu66oJr6mNvAR.mjs → C-Y0ELSBNT5h6V0l.mjs} +3 -3
- package/node/esm/{TgwnKYh-WPxEgmyr.mjs → CA2iwgwOkAwRJU9j.mjs} +2 -2
- package/node/esm/{CzKFdVrPSDYOUdWI.mjs → CCy_wcDWd9xbQnyM.mjs} +2 -2
- package/node/esm/{D9Ga7FFJDOO3Dpfu.mjs → CD-S0_rfDY5u82_A.mjs} +2 -2
- package/node/esm/{Cx4tBEsm3SjAafcw.mjs → CQd5k9d0BWpU8yCQ.mjs} +2 -2
- package/node/esm/{BZK6UksX7r-GgRms.mjs → Cb0TicO5Utg9e5Qy.mjs} +2 -2
- package/node/esm/{DOuASwH2Lf83hMLe.mjs → ClwmPxZc7Uh4nRcr.mjs} +2 -2
- package/node/esm/{dUUbrmGMCILl8EOr.mjs → CyxhIZwqwx_Kt70P.mjs} +2 -2
- package/node/esm/D1XvISMVj1HimOTS.mjs +425 -0
- package/node/esm/{B26ot2vO6Hd47uH0.mjs → D2ZUCui3Xosjj66H.mjs} +2 -2
- package/node/esm/{BaFRVcYZjcLoMQtk.mjs → D71TbUFABfTixyiQ.mjs} +7 -7
- package/node/esm/{ISBEql8s7AnELTpd.mjs → D7__y1LhVOR38yxz.mjs} +2 -2
- package/node/esm/{Ca31PUiJBGowHeob.mjs → D9jTg0iWTubkisDB.mjs} +3 -3
- package/node/esm/{5etzEfk-28CCELyT.mjs → DHiJ5D_q7YVsClMf.mjs} +3 -3
- package/node/esm/{BxIyViNSP0STSrfA.mjs → DJuEU0TbZXyTnThP.mjs} +3 -3
- package/node/esm/{D_JpopAVQopM26cb.mjs → DMfK0wa8UHeJyxii.mjs} +603 -514
- package/node/esm/{CFi_Yls-gurU_CX3.mjs → DN2KKVrC1ye0mldi.mjs} +2 -2
- package/node/esm/{HlNuwtpYoOARa894.mjs → DYRV7b1ZSbxrjcuA.mjs} +2 -2
- package/node/esm/Dm-skjfQUaumyQPp.mjs +118 -0
- package/node/esm/{jGsHbOHP90nnx_hJ.mjs → DvN4Z2Hx4Es0sdaK.mjs} +16 -15
- package/node/esm/{CORxK68HpwPUYA6O.mjs → Jp--thwzf0FSnHTH.mjs} +2 -2
- package/node/esm/{BKCNFVrdc_gTnOoS.mjs → a69xG_vSg2OC9_22.mjs} +2 -2
- package/node/esm/{CX13ASkhdJ0ZSAY4.mjs → akKdwInE4KLNjHQu.mjs} +3 -3
- package/node/esm/axzlGUKK8euccdja.mjs +294 -0
- package/node/esm/index.mjs +3391 -2778
- package/node/esm/{B7vbn_dO_cZnGyGM.mjs → lhMHEjzlz63h_qU0.mjs} +3 -3
- package/node/esm/{CexPhV2NPh5ZGHus.mjs → r8bpi-MSpulvmozZ.mjs} +2 -2
- package/node/esm/{BFv2GzY6NjmJggAg.mjs → sHdUrEwlYxyLkkL6.mjs} +3 -3
- package/package.json +10 -10
- package/resources/locales/de/groups.cmd.json +3 -0
- package/resources/locales/de/ui.msg.json +41 -0
- package/resources/locales/en/groups.cmd.json +3 -0
- package/resources/locales/en/ui.msg.json +41 -0
- package/types/src/command/PresetPivotStylesCommandButton.d.ts +17 -0
- package/types/src/command/index.d.ts +1 -0
- package/types/src/dialog/PivotTableNewDialog.d.ts +11 -0
- package/types/src/filter/PivotMenu.d.ts +31 -0
- package/types/src/filter/index.d.ts +1 -0
- package/types/src/pivot/PivotChipMenu.d.ts +10 -0
- package/types/src/pivot/PivotPlugin.d.ts +3 -0
- package/types/src/pivot/PivotStyleCanvasPreview.d.ts +23 -0
- package/types/src/pivot/PivotTableHeader.d.ts +12 -0
- package/types/src/pivot/PivotValueSettingsDialog.d.ts +15 -0
- package/types/src/pivot/_pivotSource.d.ts +7 -0
- package/types/src/table/_drawStyleSwatch.d.ts +25 -0
- package/types/src/workbook/DefaultRenderers.d.ts +10 -4
- package/browser/esm/C4ir9dn7q0RUoOm_.mjs +0 -319
- package/browser/esm/DEUzUShfyJLvgd6_.mjs +0 -1379
- package/browser/esm/xe1B8ohea8qfZlFg.mjs +0 -582
- package/node/esm/CKtnUYKjsTf7dYKS.mjs +0 -318
- package/node/esm/vf5X26EJO7Q1b8Ln.mjs +0 -1379
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
7
|
+
import { t as e } from "./Bh1YkrKuSZs-xdlw.mjs";
|
|
8
8
|
import { getCommentCoords as t, useModelListener as n, useSheetComments as r } from "@sheetxl/react";
|
|
9
9
|
import { DynamicIcon as i, usePersistentState as ee, useTranslator as te } from "@sheetxl/utils-react";
|
|
10
10
|
import { memo as a, useEffect as o, useMemo as ne, useRef as s, useState as c } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
import { Color as e } from "@sheetxl/sdk";
|
|
8
8
|
import { useGridColorScheme as t, useModelListener as n, useWorkbook as r } from "@sheetxl/react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
|
-
import { i as e, n as t, r as n } from "./
|
|
7
|
+
import { i as e, n as t, r as n } from "./0FLmtunmoRFjO-dk.mjs";
|
|
8
8
|
import { useReferenceMode as r, useWorkbook as i } from "@sheetxl/react";
|
|
9
9
|
import { useCallbackRef as a, useTranslator as o } from "@sheetxl/utils-react";
|
|
10
10
|
import { memo as s, useMemo as c, useRef as l, useState as u } from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
|
-
import { a as e, i as t, n, r, t as i } from "./
|
|
7
|
+
import { a as e, i as t, n, r, t as i } from "./Cvbms6f8QMP1ubyI.mjs";
|
|
8
8
|
import { VERSION as a } from "@sheetxl/sdk";
|
|
9
9
|
import { LogoTextNoPaddingIcon as o } from "@sheetxl/react";
|
|
10
10
|
import { DynamicIcon as s, useTranslator as c } from "@sheetxl/utils-react";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
|
-
import { c as e, r as t } from "./
|
|
8
|
-
import { a as n, i as r, r as i, t as a } from "./
|
|
9
|
-
import { n as o } from "./
|
|
10
|
-
import { a as s, c, i as l, l as u, n as d, o as f, r as p, s as m, t as h, u as g } from "./
|
|
11
|
-
import { i as _ } from "./
|
|
12
|
-
import { a as v, i as y, n as b, t as x } from "./
|
|
13
|
-
import { n as S, t as C } from "./
|
|
7
|
+
import { c as e, r as t } from "./DmBu6kgMNT26tmsZ.mjs";
|
|
8
|
+
import { a as n, i as r, r as i, t as a } from "./cNsbq0TIia7SdBHP.mjs";
|
|
9
|
+
import { n as o } from "./W5Rvml-3G4XekwoR.mjs";
|
|
10
|
+
import { a as s, c, i as l, l as u, n as d, o as f, r as p, s as m, t as h, u as g } from "./DxFw-07oIjr7GRb3.mjs";
|
|
11
|
+
import { i as _ } from "./DK39s_Fn9M22RfJm.mjs";
|
|
12
|
+
import { a as v, i as y, n as b, t as x } from "./Dd6iR6EeV81idc-J.mjs";
|
|
13
|
+
import { n as S, t as C } from "./CP-c6sUINCv0Nf4P.mjs";
|
|
14
14
|
import { Color as w, CommonUtils as T, ICellStyle as ee, ICondition as te, IConditionalFormat as E, IFill as D, IFont as O } from "@sheetxl/sdk";
|
|
15
15
|
import { COLOR_SCALE_PRESETS as ne, DATA_BAR_PRESETS as re, ICON_CATALOG as ie, IconSetGlyphs as k, NO_CELL_ICON as ae, STYLE_PRESETS as oe, defaultColorScale as se, defaultDataBar as ce, defaultIconSet as le, defaultIconStops as ue, getConditionalIconSet as de, iconSetSize as fe, resolveIconSetIcons as pe, useModelSync as A, withIconOverride as me } from "@sheetxl/react";
|
|
16
16
|
import { DynamicIcon as j, useTranslator as M } from "@sheetxl/utils-react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
import { ICell as e, IRange as t } from "@sheetxl/sdk";
|
|
8
8
|
import { CommandContext as n } from "@sheetxl/react";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
8
|
-
import { t } from "./
|
|
7
|
+
import { t as e } from "./BxHaU8-LCw4IHrDn.mjs";
|
|
8
|
+
import { t } from "./BkABsPS9qbyYS2i7.mjs";
|
|
9
9
|
import { useFormulaInput as ee, useFormulaInputParts as te } from "@sheetxl/react";
|
|
10
10
|
import { DynamicIcon as n, useTranslator as r } from "@sheetxl/utils-react";
|
|
11
11
|
import { forwardRef as i, memo as a, useEffect as o, useId as ne, useImperativeHandle as re, useMemo as ie, useRef as s } from "react";
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.17
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: MIT
|
|
6
|
+
*/
|
|
7
|
+
import { r as e } from "./DmBu6kgMNT26tmsZ.mjs";
|
|
8
|
+
import { t } from "./BxHaU8-LCw4IHrDn.mjs";
|
|
9
|
+
import { Color as n, FontUtils as r, IFontCollection as i } from "@sheetxl/sdk";
|
|
10
|
+
import { useGridColorScheme as a } from "@sheetxl/react";
|
|
11
|
+
import { CommandButtonType as o, KeyCodes as s, measureUIText as c, themeSurfaceProps as l, useCallbackRef as u, useCommands as d, useTextSelectionDrag as f } from "@sheetxl/utils-react";
|
|
12
|
+
import { forwardRef as p, memo as m, useCallback as h, useEffect as g, useMemo as _, useState as v } from "react";
|
|
13
|
+
import { CommandButton as y, CommandTooltip as b, ExhibitDivider as x, ExhibitMenuItem as S, ExhibitPopupIconButton as C, ExhibitTooltip as w, PopupButtonType as T, SelectedIcon as E, defaultRenderPopupPanel as D } from "@sheetxl/utils-mui";
|
|
14
|
+
import { jsx as O, jsxs as k } from "react/jsx-runtime";
|
|
15
|
+
import { Box as A, IconButton as j, Input as M, Typography as N, useTheme as P } from "@mui/material";
|
|
16
|
+
var F = m(p((e, n) => {
|
|
17
|
+
let { commandKey: i, showQuickButtons: a, fontSizes: o = r.DefaultFontSizes, disabled: l, icon: p, label: m, sx: b, ...T } = e, [N] = d([i ?? ""]), F = () => N?.getState()?.toString() || "11", [I, L] = v(F), R = u(() => {
|
|
18
|
+
let e = parseFloat(I);
|
|
19
|
+
isNaN(e) ? L(F()) : parseFloat(F()) !== e && N?.execute(e);
|
|
20
|
+
}, [
|
|
21
|
+
F,
|
|
22
|
+
N,
|
|
23
|
+
I
|
|
24
|
+
]);
|
|
25
|
+
g(() => {
|
|
26
|
+
L(F());
|
|
27
|
+
}, [N?.getState()]);
|
|
28
|
+
let z = ["formatFontSizeIncrease", "formatFontSizeDecrease"], B = _(() => z ? k(A, {
|
|
29
|
+
className: t("quick-buttons", {}),
|
|
30
|
+
sx: {
|
|
31
|
+
display: "flex",
|
|
32
|
+
alignItems: "center",
|
|
33
|
+
justifyContent: "center"
|
|
34
|
+
},
|
|
35
|
+
children: [O(y, { commandKey: z[0] }), O(y, { commandKey: z[1] })]
|
|
36
|
+
}) : null, [z]), V = P(), H = _(() => `${c("12.3", {
|
|
37
|
+
size: Math.round(V.typography.fontSize),
|
|
38
|
+
family: V.typography.fontFamily ?? ""
|
|
39
|
+
})}px`, [V]), U = l ?? (!N || N.disabled()), W = f(), G = h((e) => {
|
|
40
|
+
let { onMouseDown: t, onMouseUp: n, ...r } = e;
|
|
41
|
+
return O(j, {
|
|
42
|
+
component: "div",
|
|
43
|
+
...r,
|
|
44
|
+
disableRipple: !0,
|
|
45
|
+
children: O(M, {
|
|
46
|
+
inputMode: "numeric",
|
|
47
|
+
disabled: l || !N || N.disabled(),
|
|
48
|
+
inputProps: {
|
|
49
|
+
name: "font-input",
|
|
50
|
+
autoComplete: "off",
|
|
51
|
+
onPointerDown: W.onPointerDown,
|
|
52
|
+
onDragStart: W.onDragStart,
|
|
53
|
+
tabIndex: 0,
|
|
54
|
+
type: "number",
|
|
55
|
+
maxLength: 4,
|
|
56
|
+
max: 409,
|
|
57
|
+
min: 2
|
|
58
|
+
},
|
|
59
|
+
sx: {
|
|
60
|
+
"&::before": { borderBottom: "1px solid transparent" },
|
|
61
|
+
"&:hover:not(.Mui-disabled):not(.Mui-focused):not(.Mui-error):before": { borderBottom: (e) => `1px solid ${e.palette.text.icon ?? e.palette.action.active}` },
|
|
62
|
+
"&:hover:not(.Mui-disabled):not(.Mui-error):before": { borderBottom: (e) => `1px solid ${e.palette.error.main}` },
|
|
63
|
+
"::after": { borderBottom: (e) => `1px solid ${e.palette.primary.main}` },
|
|
64
|
+
paddingTop: "0px",
|
|
65
|
+
paddingBottom: "0px",
|
|
66
|
+
paddingLeft: "0px",
|
|
67
|
+
paddingRight: "0px",
|
|
68
|
+
fontSize: (e) => `${Math.round(e.typography.fontSize)}px`,
|
|
69
|
+
width: H,
|
|
70
|
+
color: (e) => e.palette.text.secondary,
|
|
71
|
+
input: {
|
|
72
|
+
padding: "0 0",
|
|
73
|
+
textAlign: "center",
|
|
74
|
+
height: "1rem",
|
|
75
|
+
MozAppearance: "textfield",
|
|
76
|
+
"&:hover:not(.Mui-disabled):not(.Mui-error)": { color: (e) => e.palette.text.primary },
|
|
77
|
+
"&:focus:not(.Mui-disabled):not(.Mui-error)": { color: (e) => e.palette.text.primary }
|
|
78
|
+
},
|
|
79
|
+
"input::-webkit-inner-spin-button": {
|
|
80
|
+
WebkitAppearance: "none",
|
|
81
|
+
margin: "0"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
value: I,
|
|
85
|
+
onFocus: (e) => {
|
|
86
|
+
e.target?.select();
|
|
87
|
+
},
|
|
88
|
+
onKeyDown: (e) => {
|
|
89
|
+
if (e.which === s.Enter) F() !== I && (e.stopPropagation(), e.preventDefault(), R());
|
|
90
|
+
else if (e.which === s.Escape) F() !== I && (L(F()), setTimeout(() => {
|
|
91
|
+
e.target?.select();
|
|
92
|
+
}, 0), e.stopPropagation(), e.preventDefault());
|
|
93
|
+
else {
|
|
94
|
+
if (e.key.match("[-]") || e.key.match("[0-9.]") && (I + e.key).length > 4) return e.stopPropagation(), void e.preventDefault();
|
|
95
|
+
if (e.which === s.Space) return void e.preventDefault();
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
onBlur: () => {
|
|
99
|
+
R();
|
|
100
|
+
},
|
|
101
|
+
onChange: (e) => {
|
|
102
|
+
if (e.target.value.length > 4) return e.stopPropagation(), void e.preventDefault();
|
|
103
|
+
L(e.target.value);
|
|
104
|
+
}
|
|
105
|
+
})
|
|
106
|
+
});
|
|
107
|
+
}, [
|
|
108
|
+
I,
|
|
109
|
+
U,
|
|
110
|
+
N,
|
|
111
|
+
W
|
|
112
|
+
]), K = h((e) => {
|
|
113
|
+
let t = (e) => {
|
|
114
|
+
N?.execute(e);
|
|
115
|
+
}, n = N?.getState(), r = [];
|
|
116
|
+
for (let e = 0; e < o.length; e++) {
|
|
117
|
+
let i = o[e] === n;
|
|
118
|
+
r.push(O(S, {
|
|
119
|
+
selected: i,
|
|
120
|
+
icon: i ? O(E, {}) : void 0,
|
|
121
|
+
disabled: l || !N || N.disabled(),
|
|
122
|
+
onMouseDown: (e) => {
|
|
123
|
+
e.button === 0 && e.preventDefault();
|
|
124
|
+
},
|
|
125
|
+
onMouseUp: (n) => {
|
|
126
|
+
n.button === 0 && t(o[e]);
|
|
127
|
+
},
|
|
128
|
+
onKeyDown: (n) => {
|
|
129
|
+
n.keyCode !== s.Enter && n.keyCode !== s.Space || t(o[e]);
|
|
130
|
+
},
|
|
131
|
+
sx: {
|
|
132
|
+
paddingTop: "4px",
|
|
133
|
+
paddingBottom: "4px"
|
|
134
|
+
},
|
|
135
|
+
children: O(A, {
|
|
136
|
+
sx: {
|
|
137
|
+
display: "flex",
|
|
138
|
+
flex: "1 1 100%",
|
|
139
|
+
justifyContent: "end"
|
|
140
|
+
},
|
|
141
|
+
children: o[e]
|
|
142
|
+
})
|
|
143
|
+
}, "fontSize-" + e));
|
|
144
|
+
}
|
|
145
|
+
let i = k(A, {
|
|
146
|
+
sx: {
|
|
147
|
+
display: "flex",
|
|
148
|
+
flexDirection: "column",
|
|
149
|
+
flex: "1 1 100%",
|
|
150
|
+
overflow: "hidden"
|
|
151
|
+
},
|
|
152
|
+
...T,
|
|
153
|
+
children: [
|
|
154
|
+
B,
|
|
155
|
+
O(x, { orientation: "horizontal" }),
|
|
156
|
+
O(A, {
|
|
157
|
+
sx: {
|
|
158
|
+
overflow: "auto",
|
|
159
|
+
flex: "1 1 100%"
|
|
160
|
+
},
|
|
161
|
+
children: r
|
|
162
|
+
})
|
|
163
|
+
]
|
|
164
|
+
});
|
|
165
|
+
return D({
|
|
166
|
+
...e,
|
|
167
|
+
children: i
|
|
168
|
+
});
|
|
169
|
+
}, [U, N]);
|
|
170
|
+
return O(C, {
|
|
171
|
+
ref: n,
|
|
172
|
+
sx: { ...b },
|
|
173
|
+
tabIndex: -1,
|
|
174
|
+
outlined: !0,
|
|
175
|
+
disabled: U,
|
|
176
|
+
renderPopupPanel: K,
|
|
177
|
+
renderTooltip: ({ children: e, disabled: t }) => O(w, {
|
|
178
|
+
label: N?.getLabel(),
|
|
179
|
+
description: N?.getDescription(),
|
|
180
|
+
disabled: t || N?.disabled(),
|
|
181
|
+
children: e
|
|
182
|
+
}),
|
|
183
|
+
renderQuickButton: G,
|
|
184
|
+
...T
|
|
185
|
+
});
|
|
186
|
+
})), I = m(p((t, r) => {
|
|
187
|
+
let { commandKey: i, onSelectColor: s, disabled: c, variant: f = o.Toolbar, quickColor: p, propsPanel: m, isSplit: g = !1, darkMode: v, icon: y, ...x } = t, { autoColor: S, schemeLookup: C, recentColors: w, ...E } = m ?? {};
|
|
188
|
+
if (x.selectedColor) throw Error("Command selectedColor will be used. Do not try to provide one as a direct argument");
|
|
189
|
+
let [D] = d([i ?? ""]), k = D?.getContext(), A = p ?? k?.quickColor;
|
|
190
|
+
g && !A && (A = new n("transparent"));
|
|
191
|
+
let j = S === void 0 ? k?.autoColor : S, M = C ?? k?.schemeLookup, N = w ?? k?.recentColors, P = a(), F = v ?? P === "dark", I = _(() => ({
|
|
192
|
+
autoColor: j,
|
|
193
|
+
schemeLookup: M,
|
|
194
|
+
recentColors: N,
|
|
195
|
+
darkMode: F,
|
|
196
|
+
...l("grid", F ? "dark" : "light"),
|
|
197
|
+
...E
|
|
198
|
+
}), [
|
|
199
|
+
j,
|
|
200
|
+
M,
|
|
201
|
+
N,
|
|
202
|
+
F
|
|
203
|
+
]), L = u((e, t) => {
|
|
204
|
+
e && t && k?.addRecentColor && k.addRecentColor(e), k?.onColorSelect && k.onColorSelect(e), s?.(e, t), D?.execute(e);
|
|
205
|
+
}, [
|
|
206
|
+
D,
|
|
207
|
+
s,
|
|
208
|
+
k
|
|
209
|
+
]), R = h((e) => {
|
|
210
|
+
let { disabled: t, children: n, title: r, ...a } = e, s = e.children;
|
|
211
|
+
return (D?.disabled() || c) && (s = O("div", { children: s })), O(b, {
|
|
212
|
+
commandKey: i,
|
|
213
|
+
placement: f === o.Toolbar ? "bottom-start" : "right-start",
|
|
214
|
+
disabled: t,
|
|
215
|
+
...a,
|
|
216
|
+
children: s
|
|
217
|
+
});
|
|
218
|
+
}, [D, c]);
|
|
219
|
+
return O(e, {
|
|
220
|
+
ref: r,
|
|
221
|
+
propsPanel: I,
|
|
222
|
+
icon: y ?? D?.getIcon(),
|
|
223
|
+
quickColor: A,
|
|
224
|
+
selectedColor: D?.getState(),
|
|
225
|
+
onSelectColor: L,
|
|
226
|
+
variant: f === o.Menuitem ? T.Menuitem : T.Toolbar,
|
|
227
|
+
renderTooltip: R,
|
|
228
|
+
label: D?.getLabel(),
|
|
229
|
+
disabled: c ?? (!D || D.disabled()),
|
|
230
|
+
compareRGB: !0,
|
|
231
|
+
darkMode: F,
|
|
232
|
+
...x
|
|
233
|
+
});
|
|
234
|
+
}));
|
|
235
|
+
I.displayName = "ColorCommandButton";
|
|
236
|
+
var L = m(p((e, t) => {
|
|
237
|
+
let { commandKey: n, sx: r, disabled: a, icon: o, label: l, ...u } = e, [f] = d([n]), p = f?.getState(), m = P(), g = _(() => `${c("Times New Roman", {
|
|
238
|
+
size: Math.round(m.typography.fontSize),
|
|
239
|
+
family: m.typography.fontFamily ?? ""
|
|
240
|
+
})}px`, [m]), v = a ?? (!f || f.disabled()), y = h((e) => {
|
|
241
|
+
let t = (e) => {
|
|
242
|
+
f?.execute(e);
|
|
243
|
+
}, n = i.getShared().getFontList(), r = [];
|
|
244
|
+
for (let e = 0; e < n.length; e++) {
|
|
245
|
+
let t = n[e].fontRef;
|
|
246
|
+
if (!t) continue;
|
|
247
|
+
let i = t.getFamily();
|
|
248
|
+
r.push({
|
|
249
|
+
key: i,
|
|
250
|
+
description: i
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
r.some((e) => e.key === p) || r.unshift({
|
|
254
|
+
key: p,
|
|
255
|
+
description: p
|
|
256
|
+
});
|
|
257
|
+
let o = [], c = r.length;
|
|
258
|
+
for (let e = 0; e < c; e++) {
|
|
259
|
+
let n = r[e];
|
|
260
|
+
if (!n) continue;
|
|
261
|
+
let i = n.key, c = n.key === p;
|
|
262
|
+
o.push(O(S, {
|
|
263
|
+
sx: {
|
|
264
|
+
display: "flex",
|
|
265
|
+
paddingTop: "4px",
|
|
266
|
+
paddingBottom: "4px"
|
|
267
|
+
},
|
|
268
|
+
selected: c,
|
|
269
|
+
disabled: a || !f || f.disabled(),
|
|
270
|
+
icon: c ? O(E, {}) : void 0,
|
|
271
|
+
onMouseUp: (e) => {
|
|
272
|
+
e.button === 0 && t(i);
|
|
273
|
+
},
|
|
274
|
+
onMouseDown: (e) => {
|
|
275
|
+
e.button === 0 && e.preventDefault();
|
|
276
|
+
},
|
|
277
|
+
onKeyDown: (e) => {
|
|
278
|
+
e.keyCode !== s.Enter && e.keyCode !== s.Space || t(i);
|
|
279
|
+
},
|
|
280
|
+
children: O(A, {
|
|
281
|
+
sx: {
|
|
282
|
+
display: "flex",
|
|
283
|
+
flex: "1 1 100%",
|
|
284
|
+
flexDirection: "column",
|
|
285
|
+
overflow: "hidden"
|
|
286
|
+
},
|
|
287
|
+
children: O(N, {
|
|
288
|
+
component: "div",
|
|
289
|
+
sx: {
|
|
290
|
+
whiteSpace: "nowrap",
|
|
291
|
+
overflow: "hidden",
|
|
292
|
+
textOverflow: "ellipsis",
|
|
293
|
+
fontFamily: () => i
|
|
294
|
+
},
|
|
295
|
+
children: r[e].description
|
|
296
|
+
})
|
|
297
|
+
})
|
|
298
|
+
}, e + "" + i));
|
|
299
|
+
}
|
|
300
|
+
let l = O(A, {
|
|
301
|
+
sx: {
|
|
302
|
+
display: "flex",
|
|
303
|
+
flexDirection: "column",
|
|
304
|
+
flex: "1 1 100%"
|
|
305
|
+
},
|
|
306
|
+
...u,
|
|
307
|
+
children: O(A, {
|
|
308
|
+
sx: {
|
|
309
|
+
overflow: "auto",
|
|
310
|
+
flex: "1 1 100%"
|
|
311
|
+
},
|
|
312
|
+
children: o
|
|
313
|
+
})
|
|
314
|
+
});
|
|
315
|
+
return D({
|
|
316
|
+
...e,
|
|
317
|
+
children: l
|
|
318
|
+
});
|
|
319
|
+
}, [
|
|
320
|
+
v,
|
|
321
|
+
f,
|
|
322
|
+
p
|
|
323
|
+
]);
|
|
324
|
+
return O(C, {
|
|
325
|
+
ref: t,
|
|
326
|
+
sx: { ...r },
|
|
327
|
+
outlined: !0,
|
|
328
|
+
disabled: v,
|
|
329
|
+
renderPopupPanel: y,
|
|
330
|
+
renderTooltip: ({ children: e, disabled: t }) => O(w, {
|
|
331
|
+
label: f?.getLabel(),
|
|
332
|
+
description: f?.getDescription(),
|
|
333
|
+
disabled: t,
|
|
334
|
+
children: e
|
|
335
|
+
}),
|
|
336
|
+
icon: O(A, {
|
|
337
|
+
sx: {
|
|
338
|
+
display: "flex",
|
|
339
|
+
paddingLeft: "4px",
|
|
340
|
+
paddingRight: "4px",
|
|
341
|
+
fontSize: (e) => `${Math.round(e.typography.fontSize)}px`,
|
|
342
|
+
lineHeight: 1.2,
|
|
343
|
+
fontFamily: (e) => e.typography.fontFamily,
|
|
344
|
+
color: (e) => e.palette.text.secondary,
|
|
345
|
+
flex: "1 1 auto",
|
|
346
|
+
width: g
|
|
347
|
+
},
|
|
348
|
+
children: O(A, {
|
|
349
|
+
sx: {
|
|
350
|
+
overflow: "hidden",
|
|
351
|
+
textOverflow: "ellipsis",
|
|
352
|
+
whiteSpace: "pre"
|
|
353
|
+
},
|
|
354
|
+
children: p
|
|
355
|
+
})
|
|
356
|
+
}),
|
|
357
|
+
...u
|
|
358
|
+
});
|
|
359
|
+
}));
|
|
360
|
+
export { I as n, F as r, L as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
|
-
import { r as e, t } from "./
|
|
8
|
-
import { t as n } from "./
|
|
9
|
-
import { c as r, l as i, o as a, r as o, s, t as c } from "./
|
|
7
|
+
import { r as e, t } from "./DmBu6kgMNT26tmsZ.mjs";
|
|
8
|
+
import { t as n } from "./ChORBNItvZW0e8Nb.mjs";
|
|
9
|
+
import { c as r, l as i, o as a, r as o, s, t as c } from "./DxFw-07oIjr7GRb3.mjs";
|
|
10
10
|
import { Color as l, IBorders as u, IColor as d, IConditionalFormat as f } from "@sheetxl/sdk";
|
|
11
11
|
import { COLOR_SCALE_PRESETS as p, DATA_BAR_PRESETS as m, ICON_SET_GALLERY_BLOCKS as h, IconSetGlyphs as g, describeConditionalIcon as _, getConditionalIconSet as v, iconSetPreset as y, useWorkbook as b } from "@sheetxl/react";
|
|
12
12
|
import { DynamicIcon as ee, themeSurfaceProps as x, useCallbackRef as S, useCommandButtonEntry as C, useCommands as w, useTranslator as T } from "@sheetxl/utils-react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
import { useTranslator as e } from "@sheetxl/utils-react";
|
|
8
8
|
import { useState as t } from "react";
|