@sheetxl/studio-mui 0.3.21 → 0.3.23
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/README.md +2 -0
- package/browser/cjs/{CqKS-hoXra5susgw.cjs → B8K9pDdPzXGiRfmD.cjs} +2 -2
- package/browser/cjs/{CaSBw_kEWIgMLG-H.cjs → BABnHC-tB7L6asRb.cjs} +2 -2
- package/browser/cjs/{AotHdG8h5LY_X1zZ.cjs → BAmKlmAGECjUFbeT.cjs} +1 -1
- package/browser/cjs/{DAvPZ26oO8rRxQh0.cjs → BbVdyFI0JAn2F2aR.cjs} +1 -1
- package/browser/cjs/{Njzo0yDCLbxIwmrO.cjs → BsnPNji2J8MQDDZV.cjs} +2 -2
- package/browser/cjs/{CtWBjHInShmozgj2.cjs → C-EJZzkSRNarNhbg.cjs} +2 -2
- package/browser/cjs/{v6rn0Tuh07ZQbPDd.cjs → C-fAeQkq2oO7cGXJ.cjs} +1 -1
- package/browser/cjs/{BzfWGX84DCmwVFEI.cjs → C0sVlrsFbh0sFnBd.cjs} +2 -2
- package/browser/cjs/{FADJRME9QoGcSaQ3.cjs → CMogvzT1CAV40Yt8.cjs} +3 -3
- package/browser/cjs/{DGwLTp_EVYZpmylI.cjs → CPUlnCtGC4eh4BVf.cjs} +2 -2
- package/browser/cjs/{BcO7cIAU8lpEPCmQ.cjs → CdMYY92ER2Wvz2_l.cjs} +4 -4
- package/browser/cjs/{R-XOXK1tQUhfQPsu.cjs → CgAryA6iq61-Mq5N.cjs} +3 -3
- package/browser/cjs/{BFG00BsPTMub0JFb.cjs → D874-vMZ_8QhCWDH.cjs} +2 -2
- package/browser/cjs/{DVMUMbx0awg0jZvp.cjs → DEkcnD7b14BKLtyV.cjs} +1 -1
- package/browser/cjs/{DHvp6J8krK7bK2rd.cjs → DRxLHfdFiFOBANPT.cjs} +7 -7
- package/browser/cjs/{PcZrGiCcha_5t3lq.cjs → DZN-QL0cFs1DTx_s.cjs} +1 -1
- package/browser/cjs/{BzBz4q3fJRNagKUP.cjs → DhgOo_BVyFvDDiuc.cjs} +2 -2
- package/browser/cjs/{DUcsAiqjPTDoGPRN.cjs → DnYXdVV4_OqOHkDb.cjs} +1 -1
- package/browser/cjs/{poAv1CXYoRasoaE7.cjs → DokthC_CU6SeaE4L.cjs} +1 -1
- package/browser/cjs/{DLhuoKtYVzBoUbmR.cjs → DtzhOvMXgyauT9oO.cjs} +1 -1
- package/browser/cjs/{BYTmxIEiN7DW-q2n.cjs → DyekTb4VfXpNf-C1.cjs} +1 -1
- package/browser/cjs/{DEnzdKFnndrfHL7v.cjs → MpVPYcXd42wP6F5h.cjs} +2 -2
- package/browser/cjs/{Cz0jmLNXsYpX1zrL.cjs → PqeBD1uIYlIPWNEh.cjs} +2 -2
- package/browser/cjs/{DLkUEk5MewpCLN_p.cjs → WQcouZLUlocTuucB.cjs} +2 -2
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{B8WivZj-0U-VUpNl.cjs → qtGSQJjBBBPF2rMa.cjs} +2 -2
- package/browser/esm/{CSDhAj1_MCZ_0f8a.mjs → 9HAjUbwkcuCWHroY.mjs} +1 -1
- package/browser/esm/{lbCnK3_fHMo5KB6f.mjs → BNTr5RFktiUxukFA.mjs} +1 -1
- package/browser/esm/{CtrJpHZ64drgG60l.mjs → BNcMrMbGdmT5S21V.mjs} +1 -1
- package/browser/esm/{C8wzMRAmJltGTr8t.mjs → BOLgU0Hbcu6lVsiw.mjs} +2 -2
- package/browser/esm/{Bj10sTfVu6lGDFdk.mjs → BRa_Zmk0947GsWKY.mjs} +4 -4
- package/browser/esm/{C8GOnWUHBPCk6pzN.mjs → BT60RyW95vEItdR5.mjs} +1 -1
- package/browser/esm/{6_sRju4K-NKiM5ca.mjs → BYqP9uh1XfDblih0.mjs} +2 -2
- package/browser/esm/{DCXMnpTO38nAjARr.mjs → Bh9HyEECwIyS2qWA.mjs} +1 -1
- package/browser/esm/{D3BuQogO8ThjEmP8.mjs → BiVeh769P3kkLzVO.mjs} +1 -1
- package/browser/esm/{B5xN2hRZx1ESWQQr.mjs → BtpXBbyH8Kyq5_iv.mjs} +3 -3
- package/browser/esm/{D_LnxacKWa-IsgtZ.mjs → CI6w9RXrfJH5NTBw.mjs} +4 -4
- package/browser/esm/{ioGItqJQP3jeZKpu.mjs → CMP2fJORZOY5ysuR.mjs} +8 -8
- package/browser/esm/{nNrDuEQ3OAYy9DK0.mjs → CheWgjYRM0dNp4DZ.mjs} +2 -2
- package/browser/esm/{CZHwRNMFtuOcxy3e.mjs → ClYutCh5GYovvbtS.mjs} +1 -1
- package/browser/esm/{C9h77ckg-g9_Smhh.mjs → D9nve-LAvdXHTeTI.mjs} +2 -2
- package/browser/esm/{DHhvEfxfANVS8d0C.mjs → DKqN6vbNoPm3xxH3.mjs} +1 -1
- package/browser/esm/{TIBHk_quiR5wXLJE.mjs → DW4eD_2XX4AduEe1.mjs} +2 -2
- package/browser/esm/{C1gLpIX61vaGrOO1.mjs → D_64dzN0YtrzCved.mjs} +3 -3
- package/browser/esm/{DF3XnOqbVr24E49D.mjs → DmdiVGUuNeKq2UAX.mjs} +2 -2
- package/browser/esm/{lN4yxY-ZpLcDFSmg.mjs → Dp7Hq84bMoHBE-1_.mjs} +2 -2
- package/browser/esm/{CHBF4qBO9s4_6N6e.mjs → IXWryp732hK3ciFp.mjs} +2 -2
- package/browser/esm/{CnjyKbrcllttonp4.mjs → LzvpSAWQEV1vi4j6.mjs} +6 -6
- package/browser/esm/{CCRPU5BPxwwbUsPJ.mjs → VOt9DM8q0AKQu_8v.mjs} +2 -2
- package/browser/esm/{BWcV52NIuFc09ZMU.mjs → ZpHYzZiAM6rtpiNM.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{CcAYH8oOfA1DKm0V.mjs → j1VuvttcvAKrgIoH.mjs} +2 -2
- package/licenses/dependencies.txt +6 -6
- package/node/esm/{B89QYM4aDEYtxPBv.mjs → 1_gBk-vV07mHo1sY.mjs} +1 -1
- package/node/esm/{62T_CHjj6JWPaN40.mjs → 8htZFE8OcI4XTyme.mjs} +1 -1
- package/node/esm/{C8hPBuU4-P31jB6y.mjs → B0d-vV69pa6Krj6q.mjs} +1 -1
- package/node/esm/{CtmKDurKzsWSjbK8.mjs → BA0afJuHZVvY16oB.mjs} +1 -1
- package/node/esm/{YVaLR3IViyMOFpQM.mjs → BVQFrlXCkucuWk-v.mjs} +1 -1
- package/node/esm/{BFnlaijeUNL5nNbL.mjs → BXc5cHQYqPbRrnez.mjs} +1 -1
- package/node/esm/{DeVpG32fkeJxmzVY.mjs → C6G0VIUG_s5h3bgU.mjs} +1 -1
- package/node/esm/{BEBkAOPOudbaHYuL.mjs → CMiIdrkv5PIo5wqJ.mjs} +1 -1
- package/node/esm/{71IUJ3VoYQU5Nxpq.mjs → CYN68bYfXV0HUIFp.mjs} +1 -1
- package/node/esm/{DsR18mJb5sVH1hJC.mjs → CdpWWJDBGl4cEY8p.mjs} +5 -5
- package/node/esm/{YIld1up7UdhAVhVg.mjs → CoWiGCUfKN4NL298.mjs} +3 -3
- package/node/esm/{DzyfOKP-rOMyppTD.mjs → CoYI1Yz7S4br6w2b.mjs} +1 -1
- package/node/esm/{CatqJspkVTbv9hu1.mjs → D0InfZTh-QhFOgnJ.mjs} +3 -3
- package/node/esm/{CaWE8-SQb9-3J2NY.mjs → DIqndKbFatVIU-p9.mjs} +1 -1
- package/node/esm/{CpW7c0X7o4CrXmTU.mjs → DOKI00ZvGii65Ofo.mjs} +1 -1
- package/node/esm/{LrOgQ9rHXyVnItvI.mjs → DPT8S_0YsNZv06RO.mjs} +1 -1
- package/node/esm/{BOr1N9XT8AusJt-W.mjs → DUP_veld9hlzERhM.mjs} +1 -1
- package/node/esm/{Bt5eU0fX5Z8fnwRE.mjs → DmALjrhnOwHHGm3l.mjs} +1 -1
- package/node/esm/{DAqBdmYBjuduBun8.mjs → DqRmmgT0abixhmQF.mjs} +1 -1
- package/node/esm/{Cj0b2sxb0wCKqTkZ.mjs → DqbmpD7ftMhCmh9U.mjs} +1 -1
- package/node/esm/{Bqz9cCXIPuC4yQoV.mjs → MfgBwHq3kVSIw1dU.mjs} +2 -2
- package/node/esm/index.mjs +8 -8
- package/node/esm/{CmcFBGPPl9UuR8vk.mjs → j0wSZlQO_AI22p_L.mjs} +1 -1
- package/node/esm/{C7apky7bjgzNv38W.mjs → l5vDma_oEIT9fUhe.mjs} +1 -1
- package/package.json +8 -8
- package/types/index.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),a=require("react"),t=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),a=require("react"),t=require("./DRxLHfdFiFOBANPT.cjs"),p=require("@mui/material"),O=require("@mui/system"),N=["Input"],$=a.memo(a.forwardRef((T,w)=>{const{initialValue:F="",onOption:S,onValidateOption:l,onInputOption:u,onValidateInputOption:r,onDone:c,inputProps:d,inputLabel:P,inputType:b,inputPlaceHolder:v,options:g=N,autoFocusSel:C=".autoFocus",cancelOption:f,defaultOption:m=g?.[0],...I}=T,[j,q]=a.useState(!1),[n,k]=a.useState(F),[D,V]=a.useState(""),[B,M]=a.useState(!0),i=t.s0(async(e,o)=>{if(!r)return!0;const x=await r?.(e,o);V(x?.message??"");const y=x?.valid??!0;return M(y),y},[r]),h=t.s0(async e=>{u?.(n,e)},[n,u,c,S,f,m]),R=t.s0(async e=>{e.keyCode===t.Z0.Enter&&await i?.(n,null)},[n,h]),H=t.s0(e=>{k(e.target.value),i?.(e.target.value,null)},[l]),L=t.s0(async e=>{let o=await i(n,e);try{o!==!1&&(o=await i(n,e))}catch{}return o??!0},[n,l]);return s.jsx(t.D8,{options:g,onDone:c,onOption:(e,o)=>{o||h(e)},onValidateOption:L,cancelOption:f,defaultOption:m,autoFocusSel:C,ref:w,...I,children:s.jsx(p.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0)},children:s.jsx(p.FormControl,{sx:{paddingTop:e=>e.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:s.jsx(p.TextField,{onFocus:e=>{j||e.target?.select(),q(!0)},type:b,label:P,helperText:D||" ",sx:{width:"100%","& .MuiFormHelperText-root":{marginTop:e=>e.spacing(.5),color:B?void 0:"error.main"}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{placeholder:v,spellCheck:!1,autoComplete:"off",...d,className:t.A0("autoFocus",d?.className),sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75),backgroundImage:`linear-gradient(${O.alpha("#fff",t.Re(5))}, ${O.alpha("#fff",t.Re(5))})`}}},value:n,onChange:H,onKeyDown:R,onContextMenu:e=>{e.stopPropagation()}})})})})}));exports.default=$;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),s=require("react"),a=require("@mui/material"),n=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),s=require("react"),a=require("@mui/material"),n=require("./DRxLHfdFiFOBANPT.cjs"),h=s.memo(y=>{const{title:f,onHide:b,autoFocusSel:j=".range-input input",context:w,notifier:r=n.At,command:c,commands:d,...S}=y,[T,g]=s.useState(!1),[x,u]=s.useState(!1),m=s.useRef(null),[F,v]=s.useReducer(e=>e+1,0),[C,{width:I}]=n.useMeasure();n.fo(c);const i=w??c.context(),t=i.table(),[N,R]=s.useState(()=>t?i.getNames().getRanges(t.getRange()):null),B=s.useMemo(()=>t?.getName()??"",[t]);n.gt(i.table(),{onAnchorCoordsChange(e){R(i.getNames().getRanges(e.getRange()))},onProtectedChange(e){v()}});const P=n.T(e=>{i?.table().setName(e)},[i]),D=n.T(e=>{i?.table().resize(e.at(0))},[i]);let p=null;return i.table()||(p=o.jsx("div",{style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",opacity:1,display:"flex",alignItems:"center",justifyItems:"center",justifyContent:"center",boxSizing:"border-box"},children:o.jsx("div",{children:"No table selected"})})),o.jsx(n.jn,{title:f??"Table Details",initialPosition:{y:"35"},autoFocusSel:j,refWindow:m,onHide:b,onFocus:()=>g(!0),onBlur:e=>{m?.current?.contains(e.relatedTarget)||g(!1)},PaperProps:{elevation:T?3:1},...S,children:o.jsxs(a.DialogContent,{dividers:!0,ref:C,sx:{display:"flex",flexDirection:"column",position:"relative",paddingLeft:e=>e.spacing(1.5),paddingRight:e=>e.spacing(1.5)},children:[o.jsxs(a.Box,{sx:{display:"flex",flexDirection:"column",transition:"opacity 60ms",opacity:i.table()?1:0},children:[o.jsx(a.Box,{sx:{display:"flex",flexDirection:"row",gap:e=>e.spacing(1)},children:o.jsx(a.Box,{sx:{display:"flex",flexDirection:"column",maxWidth:"100%",boxSizing:"border-box",paddingLeft:e=>e.spacing(2),paddingRight:e=>e.spacing(2)},children:o.jsxs(a.Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[o.jsx(n.NamedInput,{formName:"name",defaultInput:B,value:t?.getName()??"No table",onChangeInput:P,onValidate:e=>{t&&t.getName().toLowerCase()===e.toLowerCase()||i?.getNames().validateName(e)},disabled:t?.isProtected()??!0,onFocus:e=>{x||e.target?.select(),u(!0)}}),o.jsx(n.RangeInput,{formName:"range",value:N,onChangeInput:D,resolvedAddress:i.getNames().getRanges.bind(i.getNames()),disabled:t?.isProtected()??!0,onFocus:e=>{x||e.target?.select(),u(!0)}})]})})}),o.jsxs(a.Box,{sx:{minHeight:"10px",flex:"1 1 100%",display:"flex",flexDirection:"column",gap:e=>e.spacing(.5),marginTop:e=>e.spacing(1)},children:[o.jsx(n.Pt,{orientation:"horizontal",sx:{marginTop:e=>e.spacing(1.5),marginBottom:e=>e.spacing(.75)}}),o.jsx(n.TableStyleOptionsPanel,{disabled:t?.isProtected(),styleOptions:t?.getStyleOptions()??null,onStyleOptionsChange:e=>{t.updateStyleOptions(e)},showHeaderRow:t?.getShowHeaders(),onShowHeaderRowChange:e=>{try{t.setShowHeaders(e)}catch(l){r.showError(l)}},showTotalRow:t?.getShowTotals(),onShowTotalRowChange:e=>{try{t.setShowTotals(e)}catch(l){r.showError(l)}},showFilterButton:t?.getFilter()?t.getShowFilterButton():null,onShowFilterButtonChange:e=>{try{t.setShowFilterButton(e)}catch(l){r.showError(l)}}}),o.jsx(a.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",marginTop:e=>e.spacing(2),marginBottom:e=>e.spacing(1)},children:o.jsx(n.TableStylePreview,{table:t,styles:i.styles(),bodyStyle:i.bodyStyle(),cellHeight:30,isLive:!0})}),o.jsx(n.Pt,{orientation:"horizontal"}),o.jsxs(a.Box,{sx:{display:"flex",flexDirection:"column",justifyContent:"center"},children:[o.jsx(n.vr,{variant:n.yo.Menuitem,command:d.getCommand("convertTableToRange"),commandState:t,icon:n.x5(o.jsx(n.Lo,{}))}),o.jsx(n.vr,{variant:n.yo.Menuitem,commandState:t,command:d.getCommand("deleteTable"),icon:n.x5(o.jsx(n.Lo,{}))})]})]})]}),p]})})});exports.TableDetailsWindow=h,exports.default=h;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),s=require("react"),r=require("@mui/material"),v=require("@mui/icons-material"),a=require("@sheetxl/sdk"),t=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),s=require("react"),r=require("@mui/material"),v=require("@mui/icons-material"),a=require("@sheetxl/sdk"),t=require("./DRxLHfdFiFOBANPT.cjs"),y=require("@mui/system"),A=s.memo(j=>{const{label:h,value:d,options:c,onSelect:f,tabIndex:O=0,...I}=j,[S,C]=s.useState(()=>U(d,c));s.useEffect(()=>{C(U(d,c))},[d,c]);const k=t.T(x=>{C(x.target.value),f?.(c[x.target.value])},[f,c]),p=s.useMemo(()=>Object.keys(c).map(x=>i.jsx(r.MenuItem,{value:x,children:x},x)),[c]);return i.jsxs(r.FormControl,{sx:{minWidth:135},size:"small",children:[i.jsx(r.InputLabel,{children:h}),i.jsx(r.Select,{inputProps:{tabIndex:O},value:S,label:h,onChange:k,sx:{backgroundImage:`linear-gradient(${y.alpha("#fff",t.getOverlayAlpha(5))}, ${y.alpha("#fff",t.getOverlayAlpha(5))})`},...I,children:p})]})}),B={Workbook:"workbook",Sheet:"sheet"},z={enter:140,exit:140},X={Formulas:a.ICell.Content.Formulas,Values:a.ICell.Content.Values,Notes:a.ICell.Content.Notes,Comments:a.ICell.Content.Comments},J={...X};delete J.Values;const ee={"By Rows":!0,"By Columns":!1},U=(j,h)=>{const d=Object.keys(h);for(let c=0;c<d.length;c++){const f=d[c];if(h[f]===j)return f}},G=s.memo(j=>{const{replace:h=!1,findText:d,replaceText:c,findOptions:f,replaceOptions:O,title:I,onHide:S,onFindOrReplace:C,...k}=j,p=s.useRef(null),x=s.useRef(null),D=s.useRef(null),P=s.useRef(null),K=s.useRef(null),M=s.useRef(null),$=(e,n)=>{n&&(n.start(e,{center:!1}),setTimeout(()=>n.stop(e),180))},[L,b]=s.useState(!1),[w,Q]=s.useState(!1),[g,E]=s.useState(h),[W,F]=s.useState(!1),[q,Z]=s.useState(!1),[l,u]=s.useState({findText:null,replaceText:null,replace:h,replaceOptions:{},findOptions:{matchCase:!1,matchEntireCell:!1,useRegex:!1,orientation:a.IRange.Orientation.Row,fields:[a.ICell.Content.Formulas]},scope:B.Sheet}),R=t.T(async(e,n,o,T)=>{if(!C)return;const m={...l};m.replaceOptions={...m.replaceOptions},m.findOptions={...m.findOptions},m.replaceOptions.maxCount=o?void 0:1,m.replace=n,n&&l.findOptions.fields?.[0]===a.ICell.Content.Values&&(m.findOptions.fields=[a.ICell.Content.Formulas]),m.findOptions.reverse=!e;const _=await C({autoFocus:T,...m});F(_===0)},[l,C]);s.useEffect(()=>{F(!1)},[l,w,g]);const V=t.T((e,n)=>{if(e.keyCode===t.eo.Enter){if(!l.findText)return;let o=!0,T=!1;e.shiftKey&&(o=!1),n?(e.ctrlKey&&e.altKey&&(T=!0),$(e,T?M.current:K.current)):$(e,o?P.current:D.current),R(o,n,T,!1)}},[l]),N=s.useRef(null);s.useLayoutEffect(()=>{u(e=>{const n={...e};n.findText=d&&d.length>0?d:e.findText??"",b(!0),c!==void 0&&(n.replaceText=c),f&&(n.findOptions={...n.findOptions,...f}),n.replaceText||(n.replaceText=""),n.replaceOptions&&(n.replaceOptions={...n.replaceOptions}),O&&(n.replaceOptions={...n.replaceOptions,...O}),l.findOptions.fields?.[0]||(l.findOptions.fields=[a.ICell.Content.Formulas]);const o=!(!O&&c===void 0);return o&&E(o),n}),q||N.current?.focus()},[d,c,f,O]),s.useEffect(()=>{g?(l.findOptions.fields[0],a.ICell.Content.Values):b(!0)},[g]),s.useEffect(()=>{if(L&&p.current&&l.findText===p.current.value)return p.current===document.activeElement||p.current.contains(document.activeElement)?(p.current?.select(),void b(!1)):void p.current.addEventListener("focus",()=>{p.current?.select(),b(!1)},{once:!0})},[L,l]);const[Y,{width:H}]=t.useMeasure();return i.jsx(t.jn,{title:I??(g?"Find & Replace":"Find"),initialPosition:{y:"35"},autoFocusSel:".input",refWindow:N,onHide:S,onFocus:()=>Z(!0),onBlur:()=>{Z(!1),F(!1)},PaperProps:{elevation:q?3:1},...k,children:i.jsxs(r.DialogContent,{dividers:!0,ref:Y,sx:{display:"flex",flexDirection:"column",paddingLeft:e=>e.spacing(1.5),paddingRight:e=>e.spacing(1.5)},onKeyDown:e=>{if(e.key==="h"&&e.ctrlKey)E(!0),p.current?.contains(document.activeElement)&&x.current?.focus();else if(e.key==="f"&&e.ctrlKey)p.current?.focus();else if(e.key==="c"&&e.altKey)u(n=>{const o={...n};return o.findOptions.matchCase=!n.findOptions.matchCase,o});else if(e.key==="e"&&e.altKey)u(n=>{const o={...n};return o.findOptions.matchEntireCell=!n.findOptions.matchEntireCell,o});else{if(e.key!=="r"||!e.altKey)return;u(n=>{const o={...n};return o.findOptions.useRegex=!n.findOptions.useRegex,o})}e.preventDefault()},children:[i.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",gap:e=>e.spacing(1)},children:[i.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"start",gap:e=>e.spacing(.25),paddingTop:"3px"},children:[i.jsx(t.rl,{selected:w,onSelectToggle:e=>{Q(e)},preventFocus:!0,label:"Toggle Additional Options",icon:t.x5(i.jsx(t.Ii,{}))}),i.jsx(t.rl,{selected:g,onSelectToggle:e=>{E(e)},preventFocus:!0,label:"Toggle Replace",icon:t.x5(i.jsx(t.Ri,{})),shortcut:{key:g?"F":"H",modifiers:[t.Z.Ctrl]}})]}),i.jsxs(r.Box,{sx:{display:"flex",flexDirection:"column",maxWidth:"100%",boxSizing:"border-box"},children:[i.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center"},children:[i.jsx(r.TextField,{label:"Find",InputLabelProps:{shrink:!0},InputProps:{sx:{paddingRight:e=>e.spacing(1),minWidth:H>460?"20em":void 0,backgroundImage:`linear-gradient(${y.alpha("#fff",t.getOverlayAlpha(5))}, ${y.alpha("#fff",t.getOverlayAlpha(5))})`},inputProps:{draggable:!1,ref:p,className:"input",autoFocus:!0,spellCheck:!1,autoComplete:"off",sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75)}},endAdornment:i.jsx(r.InputAdornment,{sx:{transform:"scale(0.75) translateX(16px)"},position:"end",children:i.jsxs(r.Box,{sx:{display:"flex",alignItems:"center",flexDirection:"row",gap:"1px"},children:[i.jsx(t.rl,{selected:l.findOptions.matchCase,onSelectToggle:e=>{u(n=>{const o={...n};return o.findOptions.matchCase=e,o})},label:"Match Case",shortcut:{key:"C",modifiers:[t.Z.Alt]},icon:t.x5(i.jsx(t.Fi,{}))}),i.jsx(t.rl,{selected:l.findOptions.matchEntireCell,onSelectToggle:e=>{u(n=>{const o={...n};return o.findOptions.matchEntireCell=e,o})},label:"Match Entire Cell",shortcut:{key:"E",modifiers:[t.Z.Alt]},icon:t.x5(i.jsx(t.$i,{}))}),i.jsx(t.rl,{selected:l.findOptions.useRegex,onSelectToggle:e=>{u(n=>{const o={...n};return o.findOptions.useRegex=e,o})},label:"Use Regular Expression",shortcut:{key:"R",modifiers:[t.Z.Alt]},icon:t.x5(i.jsx(t.Wi,{}))})]})})},sx:{flex:"1 1 100%",marginRight:e=>e.spacing(1),"& .MuiOutlinedInput-notchedOutline":{borderColor:e=>W?`${e.palette.error.main} !important`:void 0},"& .MuiInputLabel-outlined":{color:e=>W?`${e.palette.error.main} !important`:void 0}},value:l.findText??"",onChange:e=>{u(n=>{const o={...n};return o.findText=e.target.value,o})},onKeyDown:e=>V(e,!1),onContextMenu:e=>{e.stopPropagation()}}),i.jsx(t.rl,{selected:l.findOptions.reverse,onSelectToggle:e=>{R(!1,!1)},touchRippleRef:D,label:"",shortcut:{key:"Enter",modifiers:[t.Z.Shift]},icon:t.x5(l.findOptions.orientation!==a.IRange.Orientation.Column?i.jsx(v.ArrowBack,{}):i.jsx(v.ArrowUpward,{})),disabled:!l.findText}),i.jsx(t.rl,{selected:!l.findOptions.reverse,onSelectToggle:e=>{R(!0,!1)},touchRippleRef:P,label:"Next Match",shortcut:{key:"Enter"},icon:t.x5(l.findOptions.orientation!==a.IRange.Orientation.Column?i.jsx(v.ArrowForward,{}):i.jsx(v.ArrowDownward,{})),disabled:!l.findText})]}),i.jsx(r.Collapse,{in:g,timeout:z,onExit:()=>{p.current?.focus()},children:i.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",marginTop:e=>e.spacing(2)},children:[i.jsx(r.TextField,{label:"Replace",InputLabelProps:{shrink:!0},InputProps:{sx:{paddingRight:e=>e.spacing(1),backgroundImage:`linear-gradient(${y.alpha("#fff",t.getOverlayAlpha(5))}, ${y.alpha("#fff",t.getOverlayAlpha(5))})`},inputProps:{ref:x,className:"input",spellCheck:!1,autoComplete:"off",sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75)}}},sx:{flex:"1 1 100%",marginRight:e=>e.spacing(1)},value:l.replaceText??"",onChange:e=>{u(n=>{const o={...n};return o.replaceText=e.target.value,o})},onKeyDown:e=>V(e,!0),onContextMenu:e=>{e.stopPropagation()}}),i.jsx(t.rl,{onSelectToggle:e=>{R(!0,!0)},touchRippleRef:K,label:"Replace",shortcut:{key:"Enter"},icon:t.x5(i.jsx(t.ji,{})),disabled:!l.findText}),i.jsx(t.rl,{onSelectToggle:e=>{R(!0,!0,!0)},touchRippleRef:M,label:"Replace All",shortcut:{key:"Enter",modifiers:[t.Z.Ctrl,t.Z.Alt]},icon:t.x5(i.jsx(t.Bi,{})),disabled:!l.findText})]})})]})]}),i.jsx(r.Collapse,{in:w,timeout:z,onExit:()=>{p.current?.focus()},children:i.jsxs(r.Box,{sx:{minHeight:"10px",flex:"1 1 100%",display:"flex",flexDirection:"column",gap:e=>e.spacing(.5),marginTop:e=>e.spacing(1)},children:[i.jsx(t.Pt,{orientation:"horizontal",sx:{marginBottom:e=>e.spacing(1.5)}}),i.jsxs(r.Box,{sx:{display:"flex",flexDirection:H>=413?"row":"column",justifyContent:"space-evenly",alignItems:"center",rowGap:e=>e.spacing(2)},tabIndex:-1,children:[i.jsx(A,{label:"Within",value:l.scope,options:B,onSelect:e=>{u(n=>{const o={...n};return o.scope=e,o})}}),i.jsx(A,{label:"Search",value:l.findOptions.orientation!==a.IRange.Orientation.Column,options:ee,onSelect:e=>{u(n=>{const o={...n};return o.findOptions.orientation=e?a.IRange.Orientation.Row:a.IRange.Orientation.Column,o})}}),i.jsx(A,{label:"Look in",value:g&&l.findOptions.fields?.[0]===a.ICell.Content.Values?a.ICell.Content.Formulas:l.findOptions.fields?.[0],options:g?J:X,onSelect:e=>{u(n=>{const o={...n};return o.findOptions.fields=[e],o})}})]})]})})]})})});exports.FindReplaceWindow=G,exports.ScopeOptions=B,exports.default=G;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),l=require("react"),r=require("@mui/material"),s=require("@sheetxl/sdk"),n=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),l=require("react"),r=require("@mui/material"),s=require("@sheetxl/sdk"),n=require("./DRxLHfdFiFOBANPT.cjs"),c=require("@mui/system"),B=["Ok","Cancel"],O=l.memo(j=>{const{initialValue:k,context:h,onOption:f,onValidateOption:m,onInputOption:b,onDone:d,options:T=B,defaultOption:u=T?.[0],cancelOption:g="Cancel",sx:S,...N}=j,[t,v]=l.useState(k),[P,w]=l.useState(!1),y=l.useCallback(async(e,o)=>!0,[]),x=n.T(async e=>{b?.(t,e),f?.(e,e===g,e===u),d?.()},[t,b,d,f,g,u]),D=n.T(async e=>{e.keyCode===n.eo.Enter&&await y?.(t,null)!==!1&&x(u)},[t,x]),I=n.T(e=>{v(e.target.value),y?.(e.target.value,null)},[m]),q=n.T(async e=>{let o=await Promise.resolve(m?.(e));try{o!==!1&&(o=await Promise.resolve(y?.(t,e))??!0)}catch{}return o??!0},[m]),[C,F]=l.useState(s.NumberFormat.Styles.lookupStyle(t).formatType??s.NumberFormat.Type.Custom);l.useEffect(()=>{F(s.NumberFormat.Styles.lookupStyle(t).formatType??s.NumberFormat.Type.Custom)},[t]);const M=l.useMemo(()=>{const e=s.NumberFormat.Styles.lookupPrimary(),o=p=>a.jsx(r.MenuItem,{value:p,children:p},p),i=Object.keys(e).map(p=>o(e[p].formatType));return i.push(o(s.NumberFormat.Type.Custom)),i},[]),$=l.useCallback(e=>{const o=e.target.value;F(o);const i=s.NumberFormat.Styles.lookupDefault(o);i&&v(i)},[]),A=l.useMemo(()=>{const e=h();return e.createTemporaryCell({value:e.getValue()??12345,style:{numberFormat:t}})},[C,t,h]);return a.jsx(n.D8,{title:"Number Format",options:T,onDone:d,onOption:e=>x(e),onValidateOption:q,defaultOption:u,cancelOption:g,autoFocusSel:".autoFocus",sx:{width:"580px",...S},...N,children:a.jsxs(r.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),display:"flex",flexDirection:"column"},children:[a.jsxs(r.FormControl,{sx:{minWidth:135},size:"small",children:[a.jsx(r.InputLabel,{children:"Category"}),a.jsx(r.Select,{value:C,label:"Category",onChange:$,sx:{backgroundImage:`linear-gradient(${c.alpha("#fff",n.getOverlayAlpha(5))}, ${c.alpha("#fff",n.getOverlayAlpha(5))})`},children:M})]}),a.jsx(r.FormControl,{sx:{paddingTop:e=>e.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:a.jsx(r.TextField,{label:"Code",onFocus:e=>{P||e.target?.select(),w(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:e=>e.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75),backgroundImage:`linear-gradient(${c.alpha("#fff",n.getOverlayAlpha(5))}, ${c.alpha("#fff",n.getOverlayAlpha(5))})`}}},value:t,onChange:I,onKeyDown:D,onContextMenu:e=>{e.stopPropagation()}})}),a.jsxs(r.Box,{children:[a.jsx(r.Typography,{variant:"caption",component:"div",sx:{paddingLeft:e=>e.spacing(2)},children:"Preview"}),a.jsx(r.Typography,{variant:"body2",component:"div",sx:{borderRadius:e=>`${e.shape.borderRadius}px`,padding:e=>e.spacing(1),border:e=>`1px solid ${e.palette.grey[400]}`},children:A.getNumberFormat().displayText||"(empty)"})]})]})})});exports.NumberFormatDialog=O,exports.default=O;
|
package/browser/cjs/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._sheetxl-reset_ods65_1{display:block;margin:0;padding:0;line-height:normal}._sheetxl-reset_ods65_1 table,._sheetxl-reset_ods65_1 thead,._sheetxl-reset_ods65_1 tbody,._sheetxl-reset_ods65_1 tfoot,._sheetxl-reset_ods65_1 tr,._sheetxl-reset_ods65_1 th,._sheetxl-reset_ods65_1 td{display:block;width:auto;height:auto;margin:0;padding:0;border:none;border-collapse:inherit;border-spacing:0;border-color:inherit;vertical-align:inherit;text-align:left;font-weight:inherit;-webkit-border-horizontal-spacing:0;-webkit-border-vertical-spacing:0}._sheetxl-reset_ods65_1 th,._sheetxl-reset_ods65_1 td{display:inline}html{color:initial}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4{fill:currentColor}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .activeColor{fill:var(--sxl-color-active)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .background{fill:var(--sxl-app-color-background)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .grey{fill:var(--sxl-app-color-grey)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .highContrast{fill:var(--sxl-app-color-high)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info{fill:var(--sxl-app-color-info)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info.light{fill:var(--sxl-app-color-info-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info.dark{fill:var(--sxl-app-color-info-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary{fill:var(--sxl-app-color-secondary)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary.light{fill:var(--sxl-app-color-secondary-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary.dark{fill:var(--sxl-app-color-secondary-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success{fill:var(--sxl-app-color-success)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success.light{fill:var(--sxl-app-color-success-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success.dark{fill:var(--sxl-app-color-success-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning{fill:var(--sxl-app-color-warning)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning .light{fill:var(--sxl-app-color-warning-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning .dark{fill:var(--sxl-app-color-warning-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error{fill:var(--sxl-app-color-error)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error .light{fill:var(--sxl-app-color-error-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error .dark{fill:var(--sxl-app-color-error-dark)}._sheetxl-workbook_1j3lu_5{display:flex;position:relative;overflow:hidden;flex-direction:column;width:100%;height:100%;outline:none}._sheetxl-workbook_1j3lu_5 .splitPane .styled-resizer{background-color:var(--sxl-app-color-grey, grey)}._sheetxl-workbook_1j3lu_5 .splitPane .styled-resizer:hover,._sheetxl-workbook_1j3lu_5 .splitPane.dragging .styled-resizer{background-color:var(--sxl-app-color-primary, blue)}._card_1a398_7{width:100%}._actionRoot_1a398_11{padding:8px 8px 8px 16px;justify-content:space-between}._icons_1a398_16{margin-left:auto;display:flex;align-items:center}._expand_1a398_22{padding:8px;transform:rotate(0);color:#d32f2f;transition:all .2s ease-in-out}._expandOpen_1a398_29{transform:rotate(180deg)}._stackTraceContainer_1a398_33{padding:16px}._paper_1a398_37{background-color:#fff;padding:16px}._checkIcon_1a398_42{font-size:20px;padding-right:4px}._button_1a398_47{padding:0;text-transform:none}")),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
2
|
"use strict";/**
|
|
3
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
3
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@sheetxl/sdk"),o=require("./
|
|
7
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@sheetxl/sdk"),o=require("./DRxLHfdFiFOBANPT.cjs");Object.defineProperty(exports,"LicenseManager",{enumerable:!0,get:()=>t.LicenseManager}),exports.AppearanceCommandButton=o.AppearanceCommandButton,exports.AutoColorPosition=o.AutoColorPosition,exports.BorderCommandButton=o.BorderCommandButton,exports.BorderPopupButton=o.BorderPopupButton,exports.BorderStyleButton=o.BorderStyleButton,exports.ClearCommandButton=o.ClearCommandButton,exports.ColorButton=o.ColorButton,exports.ColorCommandButton=o.ColorCommandButton,exports.ColorPanel=o.ColorPanel,exports.ColorPanelType=o.ColorPanelType,exports.ColorPopupButton=o.ColorPopupButton,exports.DeleteCellsCommandButton=o.DeleteCellsCommandButton,exports.DocThemeCommandButton=o.DocThemeCommandButton,exports.FillCommandButton=o.FillCommandButton,exports.FilterColumnMenu=o.FilterColumnMenu,exports.FilterCommandButton=o.FilterCommandButton,exports.Filters=o.Filters,exports.FindCommandButton=o.FindCommandButton,exports.FontFamilyCommandButton=o.FontFamilyCommandButton,exports.FontSizeCommandButton=o.FontSizeCommandButton,exports.FormulaBar=o.FormulaBar,exports.FreezeCommandButton=o.FreezeCommandButton,exports.HelpCommandButton=o.HelpCommandButton,exports.HorizontalAlignCommandButton=o.HorizontalAlignCommandButton,exports.InsertCellsCommandButton=o.InsertCellsCommandButton,exports.InsertImageCommandButton=o.InsertImageCommandButton,exports.InsertScriptCommandButton=o.InsertScriptCommandButton,exports.MergeCommandButton=o.MergeCommandButton,exports.NamedCollectionEditor=o.NamedCollectionEditor,exports.NamedInput=o.NamedInput,exports.NumberFormatCommandButton=o.NumberFormatCommandButton,exports.PasteCommandButton=o.PasteCommandButton,exports.PresetCellStylesCommandButton=o.PresetCellStylesCommandButton,exports.PresetTableStylesCommandButton=o.PresetTableStylesCommandButton,exports.QuickFormulaSumCommandPopupButton=o.QuickFormulaSumCommandPopupButton,exports.RangeInput=o.RangeInput,exports.RunScriptCommandButton=o.RunScriptCommandButton,exports.ScriptEditorToolbar=o.ScriptEditorToolbar,exports.ScriptWorkspace=o.ScriptWorkspace,exports.SheetTab=o.SheetTab,exports.SheetTabMenu=o.SheetTabMenu,exports.SheetZoomScale=o.SheetZoomScale,exports.SheetsAllMenu=o.SheetsAllMenu,exports.SortFilterCommandButton=o.SortFilterCommandButton,exports.StandaloneWorkbook=o.StandaloneWorkbook,exports.StatusBar=o.StatusBar,exports.StyledStrokeIcon=o.StyledStrokeIcon,exports.TableStyleCanvasPreview=o.TableStyleCanvasPreview,exports.TableStyleOptionsPanel=o.TableStyleOptionsPanel,exports.TableStylePreview=o.TableStylePreview,exports.TextEffectsCommandButton=o.TextEffectsCommandButton,exports.TextOverflowCommandButton=o.TextOverflowCommandButton,exports.TextRotateCommandButton=o.TextRotateCommandButton,exports.ThemeMode=o.ThemeMode,exports.ThemeSelectButton=o.ThemeSelectButton,exports.ThemeSelectPanel=o.ThemeSelectPanel,exports.ThemeSelectPopupButton=o.ThemeSelectPopupButton,exports.UnderlineCommandButton=o.UnderlineCommandButton,exports.UndoRedoCommandButton=o.UndoRedoCommandButton,exports.VerticalAlignCommandButton=o.VerticalAlignCommandButton,exports.ViewGridLinesCommandButton=o.ViewGridLinesCommandButton,exports.ViewHeadingsCommandButton=o.ViewHeadingsCommandButton,exports.WalkingCopyCommandButton=o.WalkingCopyCommandButton,exports.WorkbookContextMenu=o.WorkbookContextMenu,exports.WorkbookElement=o.WorkbookElement,exports.WorkbookIO=o.WorkbookIO,exports.WorkbookStrip=o.WorkbookStrip,exports.WorkbookTitle=o.WorkbookTitle,exports.WorkbookViewCommandButton=o.WorkbookViewCommandButton,exports._WorkbookIO=o._WorkbookIO,exports.createGridStyleFromMUITheme=o.createGridStyleFromMUITheme,exports.defaultNewWorkbook=o.defaultNewWorkbook,exports.useResolvedThemeMode=o.useResolvedThemeMode,exports.useWorkbookCommands=o.useWorkbookCommands;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),t=require("react"),r=require("@mui/material"),c=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),t=require("react"),r=require("@mui/material"),c=require("./DRxLHfdFiFOBANPT.cjs"),k=["Ok","Cancel"],b=t.memo(h=>{const{tableOptions:a,context:p,onOption:u,onValidateOption:q,onDone:d,options:g=k,defaultOption:l=g?.[0],cancelOption:s="Cancel",sx:m,...O}=h,[f,C]=t.useState(!1),[o,j]=t.useState(()=>a?.hasHeader??!1),[i,S]=t.useState(()=>a?.ranges??null),T=c.T(e=>{const x={...a,hasHeader:o,ranges:i};u?.(e,e===s,e===l),d?.({option:e,tableOptions:x})},[d,u,l,s,o,i,a]),D=t.useCallback(async(e,x)=>null,[]);return n.jsx(c.D8,{title:"Insert Table",options:g,onDone:T,onValidateOption:D,defaultOption:l,cancelOption:s,autoFocusSel:".range-input input",sx:{width:"360px",...m},...O,children:n.jsxs(r.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),display:"flex",flexDirection:"column"},children:[n.jsx(c.RangeInput,{formName:"range",value:i,onChangeInput:e=>S(e),resolvedAddress:p.getNames().getRanges.bind(p.getNames()),onFocus:e=>{f||e.target?.select(),C(!0)}}),n.jsx(r.FormControlLabel,{control:n.jsx(r.Checkbox,{checked:o,onChange:()=>j(!o)}),label:"Table has headers",labelPlacement:"end"})]})})});exports.TableNewDialog=b,exports.default=b;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as ie, jsx as U } from "react/jsx-runtime";
|
|
2
2
|
import O, { isValidElement as qu, PureComponent as pe, Component as de, memo as Ku, useState as ft, useCallback as ct, useLayoutEffect as Gu } from "react";
|
|
3
3
|
import { Box as Ju } from "@mui/material";
|
|
4
|
-
import { g as mu, r as Qu, c as ve, i as Zu, u as es, C as ts } from "./
|
|
4
|
+
import { g as mu, r as Qu, c as ve, i as Zu, u as es, C as ts } from "./CMP2fJORZOY5ysuR.mjs";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
6
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
7
7
|
*
|
|
8
8
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
9
9
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as h, jsxs as ie, Fragment as It } from "react/jsx-runtime";
|
|
2
2
|
import S, { Component as At, createElement as le, createContext as an, memo as Ee, forwardRef as oe, useRef as ne, useState as ee, useCallback as Z, useEffect as j, useMemo as $, useContext as sn, isValidElement as ln, cloneElement as cn, useLayoutEffect as st } from "react";
|
|
3
|
-
import { u as un, a as lt, L as dn, T as te, v as Je, x as Te, y as pn, M as mn, P as fn, z as hn, b as kt, W as pe, d as gn, H as kn, e as bt, V as bn, f as xn, h as wn, j as yn, k as vn, m as Ht, n as En, l as Cn, A as Sn, Y as Ln, Q as K, Z as De, X as xt, K as Rt, w as Tn, o as jt, p as ct, E as Dn, q as Mn, s as On, t as Wn, $ as qt, G as Fn, B as Pn, D as Re, U as Nn, F as wt, R as In, I as An, J as Hn, N as Rn, O as jn, S as qn } from "./
|
|
3
|
+
import { u as un, a as lt, L as dn, T as te, v as Je, x as Te, y as pn, M as mn, P as fn, z as hn, b as kt, W as pe, d as gn, H as kn, e as bt, V as bn, f as xn, h as wn, j as yn, k as vn, m as Ht, n as En, l as Cn, A as Sn, Y as Ln, Q as K, Z as De, X as xt, K as Rt, w as Tn, o as jt, p as ct, E as Dn, q as Mn, s as On, t as Wn, $ as qt, G as Fn, B as Pn, D as Re, U as Nn, F as wt, R as In, I as An, J as Hn, N as Rn, O as jn, S as qn } from "./CMP2fJORZOY5ysuR.mjs";
|
|
4
4
|
import { createPortal as Bn } from "react-dom";
|
|
5
5
|
import { Card as _n, CardActions as Vn, Typography as zn, IconButton as ut, Collapse as Un, Box as ue, SvgIcon as Gn, CssBaseline as Kn } from "@mui/material";
|
|
6
6
|
import { PartialError as $n, CommonUtils as et, UndoManager as Zn, Workbook as yt } from "@sheetxl/sdk";
|
|
7
7
|
import { ExpandMore as Xn, Close as Qn, CancelOutlined as Yn } from "@mui/icons-material";
|
|
8
8
|
/**
|
|
9
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
9
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
10
10
|
*
|
|
11
11
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
12
12
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -640,7 +640,7 @@ const on = Ee(oe((t, a) => {
|
|
|
640
640
|
const T = { ...E, onKeyDown: (H) => {
|
|
641
641
|
u?.dispatchToFocusedCommand(H), H.isDefaultPrevented() || H.isPropagationStopped() || E?.onKeyDown?.(H);
|
|
642
642
|
} };
|
|
643
|
-
return C(v, { sort: () => import("./
|
|
643
|
+
return C(v, { sort: () => import("./CheWgjYRM0dNp4DZ.mjs"), numberFormat: () => import("./Dp7Hq84bMoHBE-1_.mjs"), hyperlink: () => import("./VOt9DM8q0AKQu_8v.mjs"), comments: () => import("./j1VuvttcvAKrgIoH.mjs"), find: () => import("./IXWryp732hK3ciFp.mjs"), tableDetails: () => import("./BYqP9uh1XfDblih0.mjs"), tableNew: () => import("./DW4eD_2XX4AduEe1.mjs"), namedDetails: () => import("./D9nve-LAvdXHTeTI.mjs") }[v], T, W);
|
|
644
644
|
}, showOptions: Y, showInputOptions: R, showError: (v) => {
|
|
645
645
|
let E, W = Re.Error, T = "Unknown Error";
|
|
646
646
|
typeof v == "string" ? T = v : v instanceof Error && (E = v, v.message && (T = v.message)), v instanceof $n && (W = Re.Info), M(T, { type: W, enqueueProps: { error: E } });
|
|
@@ -738,7 +738,7 @@ const on = Ee(oe((t, a) => {
|
|
|
738
738
|
const { showModal: Qe } = Dn();
|
|
739
739
|
return j(() => {
|
|
740
740
|
const D = () => new Promise((U, p) => {
|
|
741
|
-
const k = S.lazy(() => import("./
|
|
741
|
+
const k = S.lazy(() => import("./CI6w9RXrfJH5NTBw.mjs")), P = Qe(k, { title: "Shortcut Keys Reference", commands: V, onDone: () => {
|
|
742
742
|
P.hide();
|
|
743
743
|
}, TransitionProps: { onExited: () => {
|
|
744
744
|
U(!0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as a, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { memo as O, useState as r, useRef as E, useReducer as M, useMemo as W } from "react";
|
|
3
3
|
import { DialogContent as A, Box as n } from "@mui/material";
|
|
4
|
-
import { af as k, j as V, ag as q, ah as G, T as x, a6 as J, ai as K, aj as Q, P as f, ak as U, al as X, v as y, x as b, y as w, am as S } from "./
|
|
4
|
+
import { af as k, j as V, ag as q, ah as G, T as x, a6 as J, ai as K, aj as Q, P as f, ak as U, al as X, v as y, x as b, y as w, am as S } from "./CMP2fJORZOY5ysuR.mjs";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
6
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
7
7
|
*
|
|
8
8
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
9
9
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Oe from "react";
|
|
2
2
|
import { createElement as Er, forwardRef as la, useRef as fa, useImperativeHandle as pa, useEffect as da } from "react";
|
|
3
3
|
/**
|
|
4
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
4
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
5
5
|
*
|
|
6
6
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
7
7
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Workbook as y, IRange as C } from "@sheetxl/sdk";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
3
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
7
|
*/
|
|
8
8
|
const k = async (a, p) => {
|
|
9
|
-
const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: u = !0, excludeHidden: h = !1, sheetKey: r = null, papaParseConfig: m = {} } = p || {}, f = await import("./
|
|
9
|
+
const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: u = !0, excludeHidden: h = !1, sheetKey: r = null, papaParseConfig: m = {} } = p || {}, f = await import("./9HAjUbwkcuCWHroY.mjs").then((s) => s.p);
|
|
10
10
|
if (!a) throw new Error("workbook must be specified");
|
|
11
11
|
let t = null;
|
|
12
12
|
if (r === null ? t = a.getSelectedSheet() : typeof r == "number" ? t = a.getSheets().search()[r] : typeof r == "string" && (t = a.getSheets().getByName(r)), !t) throw new Error("invalid sheetKey specified");
|
|
@@ -27,7 +27,7 @@ const k = async (a, p) => {
|
|
|
27
27
|
const o = { ...m }, g = f.unparse(d, o);
|
|
28
28
|
return new TextEncoder().encode(g).buffer;
|
|
29
29
|
}, R = async (a, p) => {
|
|
30
|
-
const { papaParseConfig: i, setValuesOptions: u, constructorOptions: h } = p ?? {}, r = await import("./
|
|
30
|
+
const { papaParseConfig: i, setValuesOptions: u, constructorOptions: h } = p ?? {}, r = await import("./9HAjUbwkcuCWHroY.mjs").then((o) => o.p), m = new TextDecoder().decode(a);
|
|
31
31
|
let f = -1;
|
|
32
32
|
const t = new y(h), c = t.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: C.Orientation.Row }), d = p?.onProgress;
|
|
33
33
|
let e = 0;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as Ee, jsx as W } from "react/jsx-runtime";
|
|
2
2
|
import { Box as ue, TextField as Qt, InputAdornment as eo, IconButton as to, FormControlLabel as oo, Checkbox as no, Typography as ro, TableCell as We, DialogContent as io } from "@mui/material";
|
|
3
|
-
import { an as lo, ao as He, ap as so, aq as ao, ar as co, as as uo, at as U, au as ho, Y as fo, a4 as St, a5 as de, a as Se, av as po, a6 as mo } from "./
|
|
3
|
+
import { an as lo, ao as He, ap as so, aq as ao, ar as co, as as uo, at as U, au as ho, Y as fo, a4 as St, a5 as de, a as Se, av as po, a6 as mo } from "./CMP2fJORZOY5ysuR.mjs";
|
|
4
4
|
import * as x from "react";
|
|
5
5
|
import yt, { cloneElement as go, useState as he, useMemo as vo, useEffect as De } from "react";
|
|
6
6
|
import { Close as _o } from "@mui/icons-material";
|
|
7
|
-
import { c as N } from "./
|
|
7
|
+
import { c as N } from "./BRa_Zmk0947GsWKY.mjs";
|
|
8
8
|
import So, { internal_serializeStyles as K, internal_mutateStyles as yo } from "@mui/styled-engine";
|
|
9
9
|
import { alpha as fe } from "@mui/system";
|
|
10
10
|
/**
|
|
11
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
11
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
12
12
|
*
|
|
13
13
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
14
14
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -2220,7 +2220,7 @@ function Yo(o) {
|
|
|
2220
2220
|
return g;
|
|
2221
2221
|
}, [n, e]), [s, c] = he(null);
|
|
2222
2222
|
De(() => {
|
|
2223
|
-
import("./
|
|
2223
|
+
import("./DKqN6vbNoPm3xxH3.mjs").then((h) => {
|
|
2224
2224
|
c(new h.default(a, { threshold: 0, ignoreLocation: !0, keys: ["label", "description"] }));
|
|
2225
2225
|
});
|
|
2226
2226
|
}, [a]);
|
|
@@ -10,7 +10,7 @@ import { alpha as Lt, darken as Ng, lighten as Vg, useTheme as oh, unstable_crea
|
|
|
10
10
|
import $g, { internal_mutateStyles as jg, internal_serializeStyles as Oi, ThemeContext as Wg } from "@mui/styled-engine";
|
|
11
11
|
import { deepmerge as lh } from "@mui/utils";
|
|
12
12
|
/**
|
|
13
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
13
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
14
14
|
*
|
|
15
15
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
16
16
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -6863,7 +6863,7 @@ const wS = ["Ok", "Cancel"], b4 = (e) => {
|
|
|
6863
6863
|
t?.onDone?.(), o.hide();
|
|
6864
6864
|
} });
|
|
6865
6865
|
});
|
|
6866
|
-
}, SS = Ue.lazy(() => import("./
|
|
6866
|
+
}, SS = Ue.lazy(() => import("./DmdiVGUuNeKq2UAX.mjs")), AR = () => {
|
|
6867
6867
|
const { showModal: e } = Bu();
|
|
6868
6868
|
return (t) => {
|
|
6869
6869
|
const { defaultOption: n = t.options?.[0], cancelOption: o = "Cancel", ...r } = t;
|
|
@@ -12726,7 +12726,7 @@ The content is not applied.` }), new Ie("pasteFormulas", L, { label: "Paste Form
|
|
|
12726
12726
|
qe.current = !0;
|
|
12727
12727
|
const Te = Ue.lazy(async () => {
|
|
12728
12728
|
try {
|
|
12729
|
-
const St = await import("./
|
|
12729
|
+
const St = await import("./BiVeh769P3kkLzVO.mjs");
|
|
12730
12730
|
return qe.current = !1, Ye.current = !0, D([...k]), St;
|
|
12731
12731
|
} catch (St) {
|
|
12732
12732
|
return console.warn(St), V.current?.(!1), null;
|
|
@@ -15811,7 +15811,7 @@ Kf.displayName = "TabStrip";
|
|
|
15811
15811
|
const NR = (e) => G("svg", { ...e, viewBox: "0 0 48 48", children: [d("path", { d: "M 2.2827924,0 C 1.5038324,0 0.87090248,0.52603 0.87090248,1.17149 v 25.39667 h -0.01 v 20.2607 c 0,0.39663 0.24025002,0.74639 0.60481992,0.95852 v 0.18499 h 0.50664 c 0.0972,0.0173 0.19732,0.0276 0.30092,0.0276 h 15.5346916 16.7448 v 0 h 11.35822 c 0.10311,0 0.20276,-0.0104 0.29945,-0.0276 h 0.0696 v -0.0182 c 0.59938,-0.13566 1.04238,-0.58606 1.04238,-1.12526 V 26.96484 c 0.006,-0.0429 0.009,-0.0853 0.009,-0.12925 V 1.17154 c 0,-0.64586 -0.63293,-1.17149 -1.41189,-1.17149 h -15.7478 v 2e-4 h -2.06997 V 5e-5 Z", fill: "#547DBE" }), d("path", { d: "m 2.8338324,2.7184 v 9.0404 H 11.538484 V 2.7184 Z m 11.2334116,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.26696,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.33258,0 v 9.0404 h 8.70465 V 2.7184 Z M 2.8338324,14.32723 v 8.84046 h 8.7046516 v -8.84046 z m 11.2334116,0 v 8.84046 h 8.70465 v -8.84046 z m 11.26696,0 v 8.84046 h 8.70465 v -8.84046 z m 11.33258,0 v 8.84046 h 8.70465 V 14.32723 Z M 2.8338324,25.73691 v 8.67308 h 8.7046516 v -8.67308 z m 11.2334116,0 v 8.67308 h 8.73721 v -8.67308 z m 11.26696,0 v 8.67308 h 8.70465 v -8.67308 z m 11.33258,0 v 8.67308 h 8.70465 V 25.73691 Z M 2.8693424,36.61859 v 8.67357 h 8.7046616 v -8.67357 z m 11.2339116,0 v 8.67357 h 8.73771 v -8.67357 z m 11.26697,0 v 8.67357 h 8.70465 v -8.67357 z m 11.33257,0 v 8.67357 h 8.70465 v -8.67357 z", fill: "#FFFFFF" }), d("path", { d: "m 2.8254424,2.72091 v 9.04041 H 11.570544 V 2.72091 Z m 0,11.60889 v 8.84036 H 11.570544 V 14.3298 Z m 0,11.40958 v 8.67357 h 8.7451016 v -8.67357 z m 0.036,10.88167 v 8.67358 h 8.7451116 v -8.67358 z", fill: "#547DBE", fillOpacity: "0.4" }), d("path", { d: "m 30.820434,6.19497 c 1.85291,0 3.66241,0.29708 5.4285,0.89113 1.7656,0.5942 3.49568,1.50108 5.19073,2.72107 l -2.37584,3.25571 c -1.40941,-1.01391 -2.79515,-1.76647 -4.15721,-2.25759 -1.36206,-0.49111 -2.72412,-0.73667 -4.08618,-0.73667 -2.5817,0 -4.58902,0.53064 -6.02232,1.59218 -1.43334,1.06143 -2.14989,2.56661 -2.14989,4.51523 v 0.0237 c 0,1.36241 0.41177,2.40021 1.23532,3.11315 0.82355,0.71288 1.89253,1.24367 3.20703,1.59217 1.31446,0.3485 2.71608,0.67341 4.20493,0.97439 1.29842,0.26929 2.58944,0.58216 3.87257,0.9386 1.28263,0.3565 2.45032,0.8635 3.50356,1.52097 1.05324,0.65747 1.89288,1.5486 2.51841,2.6734 0.62553,1.12485 0.93829,2.59035 0.93829,4.39635 v 0.0477 c 0,3.18435 -1.10849,5.64817 -3.32597,7.39066 -2.21698,1.7425 -5.33724,2.61399 -9.35978,2.61399 -1.67882,0 -3.25863,-0.15841 -4.73958,-0.47523 -1.4808,-0.31681 -2.86644,-0.79204 -4.15737,-1.42617 -1.29077,-0.63363 -2.49827,-1.42567 -3.6227,-2.37612 l 2.54179,-3.20819 c 1.39383,1.204 2.91819,2.10717 4.57323,2.70928 1.6549,0.60205 3.45641,0.90307 5.40463,0.90307 2.73991,0 4.85823,-0.52704 6.35447,-1.58048 1.49674,-1.05359 2.24511,-2.53098 2.24511,-4.43213 v -0.0237 c 0,-1.37834 -0.37197,-2.43583 -1.11639,-3.17245 -0.74442,-0.73668 -1.71824,-1.2912 -2.92194,-1.66359 -1.2037,-0.37223 -2.51051,-0.6851 -3.91993,-0.9386 -1.34627,-0.23762 -2.69635,-0.51485 -4.05046,-0.83182 -1.35417,-0.31677 -2.59339,-0.7841 -3.71782,-1.40204 -1.12448,-0.61779 -2.03125,-1.49708 -2.72017,-2.63782 -0.68898,-1.14078 -1.03341,-2.66156 -1.03341,-4.5627 v -0.0237 c 0,-3.21623 1.06898,-5.70753 3.20718,-7.47386 2.13805,-1.76648 5.15506,-2.64981 9.05121,-2.64981 z", strokeWidth: "2.5", stroke: "#EB594D", fill: "#f9CECB" })] }), ST = Xi(null), Xf = () => {
|
|
15812
15812
|
const e = S0(ST), [t] = J(() => new Km());
|
|
15813
15813
|
return K(() => e || t, [e]);
|
|
15814
|
-
}, CT = Ue.lazy(() => import("./
|
|
15814
|
+
}, CT = Ue.lazy(() => import("./ClYutCh5GYovvbtS.mjs")), kT = { lightbulb: { enabled: !1 }, tabSize: 2, acceptSuggestionOnCommitCharacter: !0, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: !0, autoIndent: !1, codeLens: !0, colorDecorators: !0, contextmenu: !0, cursorBlinking: "blink", cursorSmoothCaretAnimation: !1, cursorStyle: "line", disableLayerHinting: !1, disableMonospaceOptimizations: !1, dragAndDrop: !0, glyphMargin: !0, fixedOverflowWidgets: !1, folding: !0, foldingStrategy: "auto", fontLigatures: !1, formatOnPaste: !0, formatOnType: !1, hideCursorInOverviewRuler: !1, highlightActiveIndentGuide: !0, links: !0, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: !1, multiCursorMergeOverlapping: !0, multiCursorModifier: "alt", overviewRulerBorder: !0, overviewRulerLanes: 2, quickSuggestions: !0, quickSuggestionsDelay: 100, readOnly: !1, renderControlCharacters: !1, renderFinalNewline: !0, renderIndentGuides: !0, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: !0, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: !0, selectOnLineNumbers: !0, selectionClipboard: !0, selectionHighlight: !0, showLightbulbIconMode: !1, showFoldingControls: "mouseover", smoothScrolling: !0, suggestOnTriggerCharacters: !0, wordBasedSuggestions: !0, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: !0, wrappingIndent: "none" }, f8 = async (e, t, n) => {
|
|
15815
15815
|
const o = e.getModel();
|
|
15816
15816
|
if (!o) return;
|
|
15817
15817
|
const r = await t.languages.typescript.getTypeScriptWorker(), i = await r(o.uri), l = await i.getNavigationTree(o.uri.toString()), s = e.getPosition();
|
|
@@ -15967,7 +15967,7 @@ const TT = _e(Ve((e, t) => {
|
|
|
15967
15967
|
}, []), I = oe(null), M = me((A, F) => {
|
|
15968
15968
|
u.current = { monaco: F, editor: A }, T(!0), v("Loading Types");
|
|
15969
15969
|
const H = S.getScripts().getModules().search()[0]?.getSource() ?? "";
|
|
15970
|
-
A.setValue(H), import("./
|
|
15970
|
+
A.setValue(H), import("./BNcMrMbGdmT5S21V.mjs").then(($) => $.c).then(($) => {
|
|
15971
15971
|
v(""), $.AutoTypings.create(A, { shareCache: !0, monaco: F, onError: (Z) => {
|
|
15972
15972
|
Z === "Not implemented yet" && (Z = "Compile Errors"), console.warn("Error compiling types", Z);
|
|
15973
15973
|
} }).then(async (Z) => {
|
|
@@ -16150,7 +16150,7 @@ const TT = _e(Ve((e, t) => {
|
|
|
16150
16150
|
r?.set(a, s);
|
|
16151
16151
|
const c = s.toRGBA().toString();
|
|
16152
16152
|
i?.set(c, s);
|
|
16153
|
-
}, LT = Ue.lazy(() => import("./
|
|
16153
|
+
}, LT = Ue.lazy(() => import("./BOLgU0Hbcu6lVsiw.mjs")), AT = _e(Ve((e, t) => {
|
|
16154
16154
|
const { selectedColor: n = null, previewColor: o = e.selectedColor ?? null, recentColors: r, schemeLookup: i, disableAlpha: l = !1, previewDebounceTime: s = 100, initialPanelType: a, defaultButtonSize: c = 24, width: h, onElementLoad: p, onDone: u, onEyeDropStart: f, onEyeDropStop: m, onPreviewColor: g, onPreviewColorImmediate: y, onSelectColor: w, autoColor: b, autoColorLabel: S = "Automatic", autoColorPosition: C = Ha.Start, compareRGB: k = !1, darkMode: D = !1, ...T } = e, z = o || n, E = me(g, [g]), _ = me(y, [y]), v = me(w, [w]), x = me(f, [f]), I = me(m, [m]), [M, R] = J(!1), P = E0(), L = K(() => i || a0.getDefaultSchemeLookup(), [i]), A = K(() => {
|
|
16155
16155
|
const Q = /* @__PURE__ */ new Map(), fe = /* @__PURE__ */ new Map(), De = [];
|
|
16156
16156
|
Io("Primary Background", "bg1", L, De, Q, fe), Io("Primary Text", "tx1", L, De, Q, fe), Io("Secondary Background", "bg2", L, De, Q, fe), Io("Secondary Text", "tx2", L, De, Q, fe), Io("Accent 1", "accent1", L, De, Q, fe), Io("Accent 2", "accent2", L, De, Q, fe), Io("Accent 3", "accent3", L, De, Q, fe), Io("Accent 4", "accent4", L, De, Q, fe), Io("Accent 5", "accent5", L, De, Q, fe), Io("Accent 6", "accent6", L, De, Q, fe);
|
|
@@ -18377,7 +18377,7 @@ const hs = _e(Ve((e, t) => {
|
|
|
18377
18377
|
return Fn({ ...k, children: T });
|
|
18378
18378
|
}, [w]);
|
|
18379
18379
|
return G(we, { className: "overflow-palette", sx: { display: "flex", flexDirection: "row", flex: "1 1 100%", width: "100%", maxWidth: "100%", ...o }, ref: h5([l, s, t]), ...i, children: [d(we, { sx: { flexDirection: "row", display: "flex", maxWidth: "100%", flex: "1 1 100%" }, children: g ?? f }), d(we, { sx: { display: w !== null && w.length === 0 ? "none" : "flex", flex: "1 1 0" }, children: d(h0, { createPopupPanel: C, ref: c, parentFloat: S, createTooltip: ({ children: k }, D) => d(ar, { label: "More", description: "More toolbar options…", disabled: D, children: k }), icon: d(p9, { children: d(Pg, {}) }) }) })] });
|
|
18380
|
-
})), Mm = "https://unpkg.com/@sheetxl/scripting-templates/dist", wM = [{ key: "SheetXL", description: "SheetXL", mimeType: ".sxl", exts: ["sxl"], isDefault: !0, handler: async (e, t) => (await import("./
|
|
18380
|
+
})), Mm = "https://unpkg.com/@sheetxl/scripting-templates/dist", wM = [{ key: "SheetXL", description: "SheetXL", mimeType: ".sxl", exts: ["sxl"], isDefault: !0, handler: async (e, t) => (await import("./ZpHYzZiAM6rtpiNM.mjs")).fromBufferJSON(e, t) }, { key: "CSV", description: "Comma Delimited", mimeType: "text/csv", exts: ["csv"], handler: async (e, t) => (await import("./BtpXBbyH8Kyq5_iv.mjs")).fromBufferCSV(e, t) }, { key: "Excel", description: "Excel Workbook", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", exts: ["xlsx", "xls", "xlsm"], handler: async (e, t) => (await import("./LzvpSAWQEV1vi4j6.mjs").then((n) => n.i)).fromBufferXLSX(e, t) }], vM = [{ key: "SheetXL", mimeType: "application/vnd.sheetxl.sheet", description: "SheetXL", ext: "sxl", isDefault: !0, handler: async (e, t) => (await import("./ZpHYzZiAM6rtpiNM.mjs")).toBufferJSON(e, t) }, { key: "CSV", mimeType: "text/csv", description: "Comma Delimited", ext: "csv", handler: async (e, t) => (await import("./BtpXBbyH8Kyq5_iv.mjs")).toBufferCSV(e, t) }, { key: "Excel", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", description: "Excel Workbook", ext: "xlsx", tags: ["SheetJS Pro"], handler: async (e, t) => (await import("./LzvpSAWQEV1vi4j6.mjs").then((n) => n.i)).toBufferXLSX(e, t) }];
|
|
18381
18381
|
class Rm {
|
|
18382
18382
|
constructor(t = wM, n = vM) {
|
|
18383
18383
|
this._readFormatTypes = [], this._writeFormatType = [], this._readFormatTypes = Object.freeze([...t]), this._writeFormatType = Object.freeze([...n]);
|
|
@@ -19735,7 +19735,7 @@ const QM = (e = !1, t = !1) => t ? null : { "& input:not(:focus):not(:hover)": {
|
|
|
19735
19735
|
}, value: m }), d(we, { ref: b, sx: { position: "absolute", visibility: "hidden", top: "-9999px", fontWeight: "600 !important", whiteSpace: "pre", fontStyle: m !== y ? "italic" : void 0, fontFamily: (v) => v.typography.fontFamily, letterSpacing: "0.00938em" }, children: m || i })] }) }) });
|
|
19736
19736
|
}));
|
|
19737
19737
|
eR.displayName = "WorkbookTitle";
|
|
19738
|
-
const tR = Ue.lazy(() => import("./
|
|
19738
|
+
const tR = Ue.lazy(() => import("./BRa_Zmk0947GsWKY.mjs").then((e) => e.E)), nR = _e(Ve((e, t) => {
|
|
19739
19739
|
const { sx: n, style: o, className: r, licenseKey: i, ...l } = e;
|
|
19740
19740
|
return i && du.setLicenseKey(i), d(vt, { children: d(tR, { ...l, className: r, sx: n, style: o, ref: t }) });
|
|
19741
19741
|
}));
|
|
@@ -2,9 +2,9 @@ import { jsx as n, jsxs as u } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as v } from "react";
|
|
3
3
|
import { Box as O, FormControlLabel as a, Checkbox as s } from "@mui/material";
|
|
4
4
|
import { Sort as l, IRange as r } from "@sheetxl/sdk";
|
|
5
|
-
import { T as b, a1 as S } from "./
|
|
5
|
+
import { T as b, a1 as S } from "./CMP2fJORZOY5ysuR.mjs";
|
|
6
6
|
/**
|
|
7
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
7
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import C, { memo as ne, useState as z, useRef as m, useCallback as re, useEffect as S } from "react";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
3
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as d, jsxs as k } from "react/jsx-runtime";
|
|
2
2
|
import { memo as E, useMemo as V, useState as p, useCallback as h } from "react";
|
|
3
3
|
import { Box as L } from "@mui/material";
|
|
4
|
-
import { T as u, a1 as S, ai as A, aj as G } from "./
|
|
4
|
+
import { T as u, a1 as S, ai as A, aj as G } from "./CMP2fJORZOY5ysuR.mjs";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
6
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
7
7
|
*
|
|
8
8
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
9
9
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as o, jsxs as k } from "react/jsx-runtime";
|
|
2
2
|
import { memo as D, useState as i, useCallback as N } from "react";
|
|
3
3
|
import { Box as j, FormControlLabel as w, Checkbox as F } from "@mui/material";
|
|
4
|
-
import { T as v, a1 as y, aj as B } from "./
|
|
4
|
+
import { T as v, a1 as y, aj as B } from "./CMP2fJORZOY5ysuR.mjs";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
6
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
7
7
|
*
|
|
8
8
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
9
9
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Y } from "./
|
|
2
|
-
import { c as x, b as f, r as I, t as Z, a as A, p as D, d as tt } from "./
|
|
1
|
+
import { Y } from "./CMP2fJORZOY5ysuR.mjs";
|
|
2
|
+
import { c as x, b as f, r as I, t as Z, a as A, p as D, d as tt } from "./LzvpSAWQEV1vi4j6.mjs";
|
|
3
3
|
import { IFont as k, IAutoFilter as T, Sort as G, IRange as et, AddressUtils as W, IFill as C, IStyle as rt, ITextFrame as P, FormulaError as st, IBorder as V } from "@sheetxl/sdk";
|
|
4
4
|
/**
|
|
5
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
5
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
6
6
|
*
|
|
7
7
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
8
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { memo as z, forwardRef as E, useState as p } from "react";
|
|
3
|
-
import { _ as t, a0 as K, a1 as R, a2 as W, a3 as O } from "./
|
|
3
|
+
import { _ as t, a0 as K, a1 as R, a2 as W, a3 as O } from "./CMP2fJORZOY5ysuR.mjs";
|
|
4
4
|
import { Box as _, FormControl as q, TextField as A } from "@mui/material";
|
|
5
5
|
import { alpha as y } from "@mui/system";
|
|
6
6
|
/**
|
|
7
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
7
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -2,10 +2,10 @@ import { jsx as t, jsxs as y } from "react/jsx-runtime";
|
|
|
2
2
|
import { memo as G, useState as x, useCallback as O, useEffect as H, useMemo as S } from "react";
|
|
3
3
|
import { Box as w, FormControl as P, InputLabel as K, Select as q, TextField as A, Typography as I, MenuItem as J } from "@mui/material";
|
|
4
4
|
import { NumberFormat as n } from "@sheetxl/sdk";
|
|
5
|
-
import { T as l, a4 as Q, a1 as U, a5 as p } from "./
|
|
5
|
+
import { T as l, a4 as Q, a1 as U, a5 as p } from "./CMP2fJORZOY5ysuR.mjs";
|
|
6
6
|
import { alpha as c } from "@mui/system";
|
|
7
7
|
/**
|
|
8
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
8
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.23
|
|
9
9
|
*
|
|
10
10
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
11
11
|
* License: The license can be found at https://www.sheetxl.com/license.
|