@sheetxl/studio-vanilla 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/cjs/-aNm3r-RpjcRRCbw.cjs +6 -0
- package/browser/cjs/6e91IXsvk9_k3W5c.cjs +6 -0
- package/browser/cjs/{BTgA_stiR3dZAHop.cjs → BLHbDre9R0bvyb9G.cjs} +2 -2
- package/browser/cjs/{BlYpCVX1NOGpcNB6.cjs → BN0MiwKQ8NjKXgue.cjs} +3 -3
- package/browser/cjs/BNtn_2pcq6Dd-2HL.cjs +11 -0
- package/browser/cjs/{D-I49Eh-SQg7zJYX.cjs → BW_fZwvTtMLqteuJ.cjs} +1 -1
- package/browser/cjs/{CdVKz1bz20BYztuB.cjs → Bg9KIoDuqtkhIYfN.cjs} +1 -1
- package/browser/cjs/{CpPM7Ir1EZB_8bER.cjs → BiiW2FlRZHxGIWso.cjs} +1 -1
- package/browser/cjs/{WPXWuf9j-uwazW31.cjs → Biyqj-Wu75uxLHv1.cjs} +2 -2
- package/browser/cjs/BwocMiKAPb8s__1Z.cjs +6 -0
- package/browser/cjs/{DzE824T4cXRcKowY.cjs → CdWBtYv7LuuDLPL2.cjs} +1 -1
- package/browser/cjs/CuY7mAREmYhHuYWx.cjs +6 -0
- package/browser/cjs/CvESC6HiL0-peppq.cjs +12 -0
- package/browser/cjs/{BDACVe5nzEmYknRm.cjs → Cxt39d6l0pu9k1vT.cjs} +8 -8
- package/browser/cjs/{CuldnUeQxpcu8oJ7.cjs → D7NgrO__M-IUmM8o.cjs} +1 -1
- package/browser/cjs/{BB5pxJh1jhHsvVZ1.cjs → DCWZ2ZkLp-Horeca.cjs} +1 -1
- package/browser/cjs/DDhq2nYMdw5b7wP6.cjs +301 -0
- package/browser/cjs/{BDmE5OFneHwyeeiD.cjs → DIawrhwQ7E_1l99b.cjs} +6 -6
- package/browser/cjs/{yZrSgyFKPqsiym7z.cjs → DKit140jXAUUSf-_.cjs} +2 -2
- package/browser/cjs/DKsZXMMHWKP9IZ4E.cjs +12 -0
- package/browser/cjs/DeAt9vyyaeB2vbxQ.cjs +6 -0
- package/browser/cjs/Dkl2t2DSaDxPbm2V.cjs +6 -0
- package/browser/cjs/Ya4f5p9go_UndgNy.cjs +6 -0
- package/browser/cjs/{46C8cTP5D1fDfsPs.cjs → hSI9QVPgIxqt3pXc.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/qjPE6k7aYlu-R90s.cjs +6 -0
- package/browser/cjs/{DD0VHDU8F1FiLKcs.cjs → yvA5FY7oe6FILMqB.cjs} +1 -1
- package/{cdn/assets/CGUSbWH383tudMFu.js → browser/esm/BLsIMzjofsOnRFrU.mjs} +12 -12
- package/{cdn/assets/BY5dcSv5nxuvXMsr.js → browser/esm/BTQ-TGJnw7w1Y0CX.mjs} +13 -13
- package/{cdn/assets/CNhPYXS_v3a2ATBg.js → browser/esm/BdLAPrmXIfjGFhhA.mjs} +231 -231
- package/browser/esm/BsDYj6xix3mlXry2.mjs +46 -0
- package/browser/esm/{pxRv4ndPNkOMM_s3.mjs → Btk74VwCVJ1T5LQD.mjs} +13 -13
- package/browser/esm/{s8U6UEvd4LQsvEnH.mjs → C60KakDbde-A4anI.mjs} +1 -1
- package/browser/esm/{BfNo01-WwZl_5N1M.mjs → CAm14rTtmPL5-rvQ.mjs} +220 -219
- package/browser/esm/CLTP12OHGQ2k4_Kt.mjs +50 -0
- package/browser/esm/{qchlbvmOxrybWJep.mjs → CPWh2H15145LP-d5.mjs} +1 -1
- package/browser/esm/CYXzmWJtZn5OJVBF.mjs +24861 -0
- package/{cdn/assets/dQu9CDkkTpS5h580.js → browser/esm/ChMaIhqaEhF3SLLt.mjs} +8 -8
- package/browser/esm/{Dq1oxXMudxqdJaKZ.mjs → CntwHkPpskE88Ixu.mjs} +11 -10
- package/{cdn/assets/C-oc6cc0wXRVBFx2.js → browser/esm/CsVV_QnEl77BQM3V.mjs} +1 -1
- package/browser/esm/{CTdGamCv2VtpI05C.mjs → CvFAAktSd9TQK1h4.mjs} +1 -1
- package/browser/esm/{BjLCBG20KyjNKCpy.mjs → D0-tgawYa4KXYT2c.mjs} +2 -2
- package/browser/esm/{BXMZNx8rs4_V8pQL.mjs → D244UwY3qPC_LNc5.mjs} +2 -2
- package/{cdn/assets/Dl02UNFD2tNwtHQ9.js → browser/esm/DCuLWmzd9eLWgI03.mjs} +1 -1
- package/browser/esm/{C2Ik_RfF43fmFDeS.mjs → DDD5zfwNNPKuc_zZ.mjs} +1 -1
- package/browser/esm/{BNq1DlA_v8-hm8PQ.mjs → DFa_tXqv1VN1OZdv.mjs} +75 -74
- package/browser/esm/{CeWIrhJ_bsxOl7mw.mjs → DJxioSY-hxyM7dmk.mjs} +24 -23
- package/{cdn/assets/ct9ztJbQB16MJoyP.js → browser/esm/DdrICyX8Ead15N32.mjs} +7 -7
- package/browser/esm/Di2tNceI3NodSsgU.mjs +41 -0
- package/browser/esm/{BrWhLiIy81LKNSUX.mjs → Did46-x6ZVwk_-r-.mjs} +1 -1
- package/browser/esm/{DLJ1zBZE-WPdkpt2.mjs → Q1yWEkJBu4cVEF33.mjs} +132 -131
- package/browser/esm/index.mjs +2 -2
- package/{cdn/assets/RWhi_dOrWDICNt1t.js → browser/esm/mq5uPzTIc1x8unBP.mjs} +1 -1
- package/browser/esm/wziCLl5xvHu6Guu_.mjs +22 -0
- package/cdn/assets/{LxoKYdUqZ4Zgxjza.js → B41q92oKD_VR31Dd.js} +13 -13
- package/cdn/assets/{BMb4pCD8O5vK2p1B.js → BOl7blN8JotSzCHJ.js} +2 -2
- package/{browser/esm/Ddm9jggzrr5VJQ68.mjs → cdn/assets/Bs-psXrTRw1jFety.js} +13 -13
- package/cdn/assets/{COFTB6OufFls7NP1.js → BzptX9H_YCM2l0DE.js} +11 -10
- package/cdn/assets/{s8U6UEvd4LQsvEnH.js → C60KakDbde-A4anI.js} +1 -1
- package/cdn/assets/C8omEbSXHWI_wNjp.js +41 -0
- package/{browser/esm/CZRLp5H9dSrMEgaI.mjs → cdn/assets/CEXK9SXjFf1dGHZe.js} +12 -12
- package/cdn/assets/{qchlbvmOxrybWJep.js → CPWh2H15145LP-d5.js} +1 -1
- package/cdn/assets/C_E1C68wCcRpC6XN.js +46 -0
- package/cdn/assets/{BKDQtGZxRUUzBmnI.js → ClFGbVy7cnhMW-dO.js} +2 -2
- package/cdn/assets/{Be9YovX6b_0gKXs5.js → CoCIP7n4THmzOggq.js} +75 -74
- package/{browser/esm/C-oc6cc0wXRVBFx2.mjs → cdn/assets/CsVV_QnEl77BQM3V.js} +1 -1
- package/cdn/assets/{CTdGamCv2VtpI05C.js → CvFAAktSd9TQK1h4.js} +1 -1
- package/cdn/assets/{6tFlyQMvtppXfmuU.js → Cz33L9W3cdQckAL5.js} +24 -23
- package/{browser/esm/BoL2rsWK1YyT1PP7.mjs → cdn/assets/DBgbBl_3O65WhfWN.js} +8 -8
- package/{browser/esm/Dl02UNFD2tNwtHQ9.mjs → cdn/assets/DCuLWmzd9eLWgI03.js} +1 -1
- package/cdn/assets/{C2Ik_RfF43fmFDeS.js → DDD5zfwNNPKuc_zZ.js} +1 -1
- package/cdn/assets/{mAWImp_J2v8z8hbZ.js → DLYF-18qErpwF9Q-.js} +132 -131
- package/{browser/esm/Br4TnuxGRULZDhCA.mjs → cdn/assets/DXMyzCcyP7039z13.js} +231 -231
- package/{browser/esm/GbTp1_3jFZu0Ex24.mjs → cdn/assets/DdrICyX8Ead15N32.js} +7 -7
- package/cdn/assets/{BrWhLiIy81LKNSUX.js → Did46-x6ZVwk_-r-.js} +1 -1
- package/cdn/assets/{DYgFWlitgXmKdN_I.js → Dj3GhNedlKE9TeTn.js} +220 -219
- package/cdn/assets/F-RqJeKWiW4i5344.js +24708 -0
- package/cdn/assets/NHbXgEQMftGzY01r.js +50 -0
- package/cdn/assets/lM5it-aJgI7DLNH9.js +22 -0
- package/{browser/esm/RWhi_dOrWDICNt1t.mjs → cdn/assets/mq5uPzTIc1x8unBP.js} +1 -1
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +3 -2
- package/browser/cjs/0dkhOl0ItVZXnHg_.cjs +0 -6
- package/browser/cjs/7Xjct_4bBSU-vad1.cjs +0 -6
- package/browser/cjs/B2kFbeodTh3Gk-aQ.cjs +0 -6
- package/browser/cjs/B5UGK4AzAC9SjXJp.cjs +0 -6
- package/browser/cjs/B9kurj8mOePUlJX2.cjs +0 -6
- package/browser/cjs/BG8OR9VWCkyIRwrw.cjs +0 -6
- package/browser/cjs/BML8p6hKVpqMb-13.cjs +0 -124
- package/browser/cjs/BeGusiaaShhfh7Ch.cjs +0 -7
- package/browser/cjs/BgJ-surJf8jSxqmk.cjs +0 -6
- package/browser/cjs/BgJFVvwpAWB3ssLE.cjs +0 -6
- package/browser/cjs/Bi8tk3LAhLkM7IXm.cjs +0 -6
- package/browser/cjs/BnZdvx8z2BIDZv9J.cjs +0 -355
- package/browser/cjs/BvnUfF0WlIXumm-E.cjs +0 -6
- package/browser/cjs/BwGs6fp9j-iFwDlB.cjs +0 -32
- package/browser/cjs/C4JyilwtB4aWsWnG.cjs +0 -6
- package/browser/cjs/C8PUqW17bEbzJthE.cjs +0 -6
- package/browser/cjs/CBTWDt8vxgXfkDfh.cjs +0 -6
- package/browser/cjs/CJ29qM66PMBNE3G9.cjs +0 -6
- package/browser/cjs/CKtzkomrFnDVY5SY.cjs +0 -11
- package/browser/cjs/CLarA_vLTlgU3TCF.cjs +0 -13
- package/browser/cjs/CN8Y9NZjRCPl8CqY.cjs +0 -6
- package/browser/cjs/CNIPdrSO6Xr2gkt9.cjs +0 -6
- package/browser/cjs/CNkEdWYoHRiw_Uez.cjs +0 -6
- package/browser/cjs/CPFRW8nnIVWYeQYn.cjs +0 -12
- package/browser/cjs/CZih4fqvAIVbCVO4.cjs +0 -6
- package/browser/cjs/Cx3wCYZR6BKbOtgk.cjs +0 -6
- package/browser/cjs/Cx8xafhEESu639Ig.cjs +0 -6
- package/browser/cjs/CzqzVoUeKxH16SDC.cjs +0 -6
- package/browser/cjs/D-GDPxpVRx45cdpQ.cjs +0 -6
- package/browser/cjs/D50Wzp-4UIlO9uVc.cjs +0 -6
- package/browser/cjs/DB9rOzEP0g0ZGfBj.cjs +0 -6
- package/browser/cjs/DIeyUTfGkxwK6bdT.cjs +0 -15
- package/browser/cjs/DX_oDw_K4CB6Ej9i.cjs +0 -6
- package/browser/cjs/DcNRcLtSOkHAK_Mt.cjs +0 -6
- package/browser/cjs/Df8ZAsCgZ69F33-C.cjs +0 -6
- package/browser/cjs/DfCiN8VOEQt4cw-x.cjs +0 -12
- package/browser/cjs/DnkG5azaxDtt-73G.cjs +0 -6
- package/browser/cjs/Dr_HVAdkD1bM9yrW.cjs +0 -6
- package/browser/cjs/KbKjJCMErVEwKqoi.cjs +0 -6
- package/browser/cjs/Px_DbuQFWhjhPilq.cjs +0 -6
- package/browser/cjs/VmYEO_-N9Cn7JpZN.cjs +0 -6
- package/browser/cjs/c4HmqMqg3ugRd4gl.cjs +0 -1501
- package/browser/cjs/jmPMUQMT7KTdf9Sr.cjs +0 -6
- package/browser/cjs/zRbLzzCcfjQpsQ4j.cjs +0 -6
- package/browser/esm/0M23_yfYSvrAB5iY.mjs +0 -472
- package/browser/esm/2sPP8EL_OzSYDsKu.mjs +0 -10
- package/browser/esm/3SiPV9yNzSbQVINg.mjs +0 -10
- package/browser/esm/6CkscKSECxQpy0v6.mjs +0 -10
- package/browser/esm/94SRg1Gxbdr9B75m.mjs +0 -10
- package/browser/esm/B2I1Hudz2EIGw59h.mjs +0 -10
- package/browser/esm/B2fqssq7kMsGIg5g.mjs +0 -10
- package/browser/esm/BBBP9totA24zTbqh.mjs +0 -10
- package/browser/esm/BEYxIKe5B75ADXWP.mjs +0 -5582
- package/browser/esm/BIHHiMjUvXmWQ6w_.mjs +0 -10
- package/browser/esm/BYRVuU6FUEX6XBFW.mjs +0 -10
- package/browser/esm/Bq_HFm6_6_ycs_gE.mjs +0 -48519
- package/browser/esm/Bs6fth_bBoNrYDwE.mjs +0 -21
- package/browser/esm/C-QHwmJCeB3o-mzv.mjs +0 -3934
- package/browser/esm/C0U_bX9Hj97edVC9.mjs +0 -10
- package/browser/esm/CC8aO_pPT-tkJK_H.mjs +0 -10
- package/browser/esm/CGxu5NKxrEXE8QIe.mjs +0 -24
- package/browser/esm/CKHDKAaHkwZHUkoS.mjs +0 -22
- package/browser/esm/CbTDhJiJfpR6Btxp.mjs +0 -10
- package/browser/esm/CsUNORBKkJ7f3diG.mjs +0 -10
- package/browser/esm/CyYXh2ng_dKgHzbE.mjs +0 -29
- package/browser/esm/DRFsMc27LyLwGu56.mjs +0 -820
- package/browser/esm/DT09m4FGTu5N2LZJ.mjs +0 -10
- package/browser/esm/DUgyehn3re1zGQT5.mjs +0 -10
- package/browser/esm/DWOT4LkGXRN4FrJI.mjs +0 -10
- package/browser/esm/Dx1J8HBJdbrROP0v.mjs +0 -10
- package/browser/esm/Dz8v5MSOgkaH_zTd.mjs +0 -49
- package/browser/esm/F7oUe3nLrtaRYTas.mjs +0 -10
- package/browser/esm/FCkxbRy2XiqD3GdL.mjs +0 -41
- package/browser/esm/L5HOBW-m9BjZTUuw.mjs +0 -10
- package/browser/esm/XL9-bWRsLjEvW1Y0.mjs +0 -10
- package/browser/esm/ZXuNMFT0sYh8ui7O.mjs +0 -1575
- package/browser/esm/gX1gbnkwbpalR57F.mjs +0 -12
- package/browser/esm/im3UoVISx3VXhEFp.mjs +0 -46
- package/browser/esm/kagl0zcUDaK1IX_X.mjs +0 -10
- package/browser/esm/t7CffsKJY64LMXgS.mjs +0 -10
- package/browser/esm/x9wy-F3t5pNOvOIp.mjs +0 -425
- package/cdn/assets/2sPP8EL_OzSYDsKu.js +0 -10
- package/cdn/assets/3SiPV9yNzSbQVINg.js +0 -10
- package/cdn/assets/6CkscKSECxQpy0v6.js +0 -10
- package/cdn/assets/94SRg1Gxbdr9B75m.js +0 -10
- package/cdn/assets/B2I1Hudz2EIGw59h.js +0 -10
- package/cdn/assets/B2fqssq7kMsGIg5g.js +0 -10
- package/cdn/assets/BBBP9totA24zTbqh.js +0 -10
- package/cdn/assets/BD1S4plUUe1NPAqV.js +0 -425
- package/cdn/assets/BIHHiMjUvXmWQ6w_.js +0 -10
- package/cdn/assets/BPStm90FUYfOgibU.js +0 -41
- package/cdn/assets/BYRVuU6FUEX6XBFW.js +0 -10
- package/cdn/assets/Bs6fth_bBoNrYDwE.js +0 -21
- package/cdn/assets/BzlAT8jiYfNV3kGy.js +0 -820
- package/cdn/assets/C0U_bX9Hj97edVC9.js +0 -10
- package/cdn/assets/CC8aO_pPT-tkJK_H.js +0 -10
- package/cdn/assets/CG-YuIoWsi12_nu9.js +0 -22
- package/cdn/assets/CGxu5NKxrEXE8QIe.js +0 -24
- package/cdn/assets/CJOmvmuvywU33q7C.js +0 -3934
- package/cdn/assets/CbTDhJiJfpR6Btxp.js +0 -10
- package/cdn/assets/CsUNORBKkJ7f3diG.js +0 -10
- package/cdn/assets/DBq5E3hmvVO5ss1V.js +0 -5582
- package/cdn/assets/DT09m4FGTu5N2LZJ.js +0 -10
- package/cdn/assets/DUgyehn3re1zGQT5.js +0 -10
- package/cdn/assets/DWOT4LkGXRN4FrJI.js +0 -10
- package/cdn/assets/Det1P4Jrl9aZHFGe.js +0 -472
- package/cdn/assets/DjHCn_TmfObC_aJ1.js +0 -46
- package/cdn/assets/Dt3qIbvMvgQhNgeR.js +0 -1575
- package/cdn/assets/Dx1J8HBJdbrROP0v.js +0 -10
- package/cdn/assets/F7oUe3nLrtaRYTas.js +0 -10
- package/cdn/assets/L5HOBW-m9BjZTUuw.js +0 -10
- package/cdn/assets/U_ihCP2tbaRnqD2g.js +0 -48366
- package/cdn/assets/XL9-bWRsLjEvW1Y0.js +0 -10
- package/cdn/assets/Z4Ov3rzhXnezd-gU.js +0 -29
- package/cdn/assets/dR_uwa9znq6_hDmB.js +0 -49
- package/cdn/assets/gX1gbnkwbpalR57F.js +0 -12
- package/cdn/assets/kagl0zcUDaK1IX_X.js +0 -10
- package/cdn/assets/t7CffsKJY64LMXgS.js +0 -10
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/
|
|
7
|
-
async function t() {
|
|
8
|
-
return window.crypto;
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
t as getCrypto
|
|
12
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { jsx as o, jsxs as A } from "react/jsx-runtime";
|
|
2
|
-
import { memo as E, useMemo as b, useState as g, useCallback as O } from "react";
|
|
3
|
-
import { a7 as f, n as S, B as U, e as P, T as D, f as l, b6 as p } from "./Bq_HFm6_6_ycs_gE.mjs";
|
|
4
|
-
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
|
|
6
|
-
*
|
|
7
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
9
|
-
*/
|
|
10
|
-
const V = ["Ok", "Cancel"], J = E((F) => {
|
|
11
|
-
const { initialHyperlink: t = null, initialDisplay: H = null, onUpdateHyperlink: m, context: s, onOption: x, onValidateOption: r, onDone: d, options: h = V, defaultOption: c = h?.[0], cancelOption: i = "Cancel", sx: I, ...v } = F, w = b(() => (t ?? s?.()?.getHyperlink()) !== null, []), y = b(() => {
|
|
12
|
-
let e = null, n = null;
|
|
13
|
-
t && (typeof t == "string" ? n = t : e = t);
|
|
14
|
-
const C = e ?? s?.()?.getHyperlink();
|
|
15
|
-
return { address: n ?? C?.getAddress() ?? "", textToDisplay: C?.getDisplayText() ?? "" };
|
|
16
|
-
}, [t, s]), [a, M] = g(y.address), [u, B] = g(() => {
|
|
17
|
-
const e = s?.().toTextUnformatted() ?? H;
|
|
18
|
-
return e === y.address ? "" : e;
|
|
19
|
-
}), [$, k] = g(!1), L = O((e) => {
|
|
20
|
-
B(e.target.value);
|
|
21
|
-
}, []), T = O(async (e, n) => null, []), W = f(async (e) => {
|
|
22
|
-
e !== i && m?.(a === "" ? null : { address: a }, u), x?.(e, e === i, e === c), d?.();
|
|
23
|
-
}, [a, u, m, d, x, c, i]), j = f((e) => {
|
|
24
|
-
M(e.target.value), T(e.target.value, null);
|
|
25
|
-
}, [r]), z = f(async (e) => {
|
|
26
|
-
let n = await Promise.resolve(r?.(e));
|
|
27
|
-
try {
|
|
28
|
-
n !== !1 && (n = await T(a, e));
|
|
29
|
-
} catch {
|
|
30
|
-
}
|
|
31
|
-
return n ?? !0;
|
|
32
|
-
}, [r]);
|
|
33
|
-
return o(S, { title: (w ? "Edit" : "Insert") + " Link", options: h, onDone: d, onOption: (e) => W(e), onValidateOption: z, defaultOption: c, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...I }, ...v, children: A(U, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [o(P, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o(D, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (e) => {
|
|
34
|
-
$ || e.target?.select(), k(!0);
|
|
35
|
-
}, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${l("#fff", p(5))}, ${l("#fff", p(5))})` } } }, value: a, onChange: j, onContextMenu: (e) => {
|
|
36
|
-
e.stopPropagation();
|
|
37
|
-
} }) }), o(P, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o(D, { label: "Display Text", placeholder: a?.startsWith("#") ? a.substring(1) : a, onFocus: () => {
|
|
38
|
-
k(!0);
|
|
39
|
-
}, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${l("#fff", p(5))}, ${l("#fff", p(5))})` } } }, value: u, onChange: L, onContextMenu: (e) => {
|
|
40
|
-
e.stopPropagation();
|
|
41
|
-
} }) })] }) });
|
|
42
|
-
});
|
|
43
|
-
export {
|
|
44
|
-
J as HyperlinkDialog,
|
|
45
|
-
J as default
|
|
46
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/
|
|
7
|
-
const t = { CONVERT: { s: "Converts a number from one measurement system to another", p: { number: { d: "is the value in from_unit to convert." }, fromUnit: { d: "is the units for number." }, toUnit: { d: "is the units for the result" } } } };
|
|
8
|
-
export {
|
|
9
|
-
t as default
|
|
10
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/
|
|
7
|
-
const e = { AND: { s: "Checks whether all arguments are TRUE, and returns TRUE if all arguments are TRUE", p: { logical: { d: "logical1,logical2,... are 1 to 255 conditions you want to test that can be either TRUE or FALSE and can be logical values, arrays, or references" } } }, BYCOL: { s: "Applies a LAMBDA function to each column and returns an array of the results.", p: { array: { d: "is an array to be separated by column" }, fn: { d: "is a LAMBDA that is called to scan the array. The LAMBDA takes two parameters, accumulator and value." } }, h: "Unimplemented" }, BYROW: { s: "Applies a LAMBDA function to each row and returns an array of the results.", p: { array: { d: "is an array to be separated by column" }, fn: { d: "is a LAMBDA that is called to scan the array. The LAMBDA takes two parameters, accumulator and value." } }, h: "Unimplemented" }, FALSE: { s: "Returns the logical value FALSE", p: {} }, IF: { s: "Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE", p: { logicalTest: { d: "is any value or expression that can be evaluated to TRUE or FALSE" }, valueIfTrue: { d: "is the value that is returned if Logical_test is TRUE. If omitted, TRUE is returned. You can nest up to seven IF functions" }, valueIfFalse: { d: "is the value that is returned if Logical_test is FALSE. If omitted, FALSE is returned" } } }, IFERROR: { s: "Returns value_if_error if expression is an error and the value of the expression itself otherwise", p: { value: { d: "is any value or expression or reference" }, valueIfError: { d: "is any value or expression or reference" } } }, IFNA: { s: "Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression", p: { value: { d: "is any value or expression or reference" }, valueIfError: { d: "is any value or expression or reference" } } }, IFS: { s: "Checks whether one or more conditions are met and returns a value corresponding to the first TRUE condition", p: { logicalTest: { d: "logical_test1,logical_test2,... is any value or expression that can be evaluated to TRUE or FALSE" }, logicalTrue: { d: "value_if_true1,value_if_true2,... is the value returned if Logical_test is TRUE" }, rest: {} } }, LAMDA: { s: "Creates a function value with can be called within formulas.", p: { parameterOrCalculation: { d: "a parameter or a calculation that returns a value. If a parameter, it must be the last argument." } }, h: "Unimplemented" }, LET: { s: "Assigns calculation results to names. Useful for storing intermediate calculations and values by defining names inside a formula. These names only apply within the scope of the LET function.", p: { name: { d: "name1,name2,... the name, or a calculation which can make use of all names within the LET. Names must start with a letter, cannot be the output of a formula, or conflict with range syntax." }, nameOrValue: { d: "name_value1,name_value2,... the value associated with the name." }, calculationOrName: {}, rest: {} }, h: "Unimplemented" }, MAKEARRAY: { s: "Returns a calculated array of a specified row and column size, by applying a LAMBDA function.", p: { rows: { d: "is the number of rows in the array. Must be greater than zero." }, columns: { d: "is the number of columns in the array. Must be greater than zero." }, fn: { d: "is a LAMBDA that is called to create the array. The LAMBDA takes two parameters, row index and column index." } }, h: "Unimplemented" }, MAP: { s: "Returns an array formed by 'mapping' each value in the array(s) to a new value by applying a lambda to create a new value.", p: { array: { d: "is an array to be mapped" }, lamdaOrArray: { d: "lambda_or_array1,lambda_or_array2,... is a LAMBDA which must be the last argument and must have a parameter for each array passed, or another array to be mapped" } }, h: "Unimplemented" }, NOT: { s: "Changes FALSE to TRUE, or TRUE to FALSE", p: { logical: { d: "is a value or expression that can be evaluated to TRUE or FALSE" } } }, OR: { s: "Checks whether any of the arguments are TRUE, and returns TRUE or FALSE. Returns FALSE only if all arguments are FALSE", p: { logical: { d: "logical1,logical2,... are 1 to 255 conditions that you want to test that can be either TRUE or FALSE" } } }, REDUCE: { s: "Reduces an array to an accumulated value by applying a LAMBDA function to each value and returning the total value in the accumulator.", p: { initialValue: { d: "is the starting value for the accumulator" }, array: { d: "is an array to be reduced" }, fn: { d: "is a LAMBDA that is called to reduce the array. The LAMBDA takes two parameters, accumulator and value." } }, h: "Unimplemented" }, SCAN: { s: "Scans an array by applying a LAMBDA function to each value and returns an array that has each intermediate value", p: { initialValue: { d: "is the starting value for the accumulator" }, array: { d: "is an array to be reduced" }, fn: { d: "is a LAMBDA that is called to reduce the array. The LAMBDA takes two parameters, accumulator and value." } }, h: "Unimplemented" }, SWITCH: { s: "Evaluates an expression against a list of values and returns the result corresponding to the first matching value. If there is no match, an optional default value is returned", p: { expression: {}, value: { d: "is an expression to be evaluated" }, results: { d: "result1,result2,... is a result to be returned if the corresponding value matches expression" } }, h: "Unimplemented" }, TRUE: { s: "Returns the logical value TRUE", p: {} }, XOR: { s: "Returns a logical 'Exclusive Or' of all arguments", p: { logical: { d: "logical1,logical2,... are 1 to 254 conditions you want to test that can be either TRUE or FALSE and can be logical values, arrays, or references" } } } };
|
|
8
|
-
export {
|
|
9
|
-
e as default
|
|
10
|
-
};
|
|
@@ -1,425 +0,0 @@
|
|
|
1
|
-
import { h as yt } from "./Bq_HFm6_6_ycs_gE.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
|
|
4
|
-
*
|
|
5
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
|
-
*/
|
|
8
|
-
var ct, pt = { exports: {} }, gt = (ct || (ct = 1, pt.exports = function Y() {
|
|
9
|
-
var Q, k = typeof self < "u" ? self : typeof window < "u" ? window : k !== void 0 ? k : {}, P = !k.document && !!k.postMessage, B = k.IS_PAPA_WORKER || !1, J = {}, mt = 0, a = {};
|
|
10
|
-
function K(t) {
|
|
11
|
-
this._handle = null, this._finished = !1, this._completed = !1, this._halted = !1, this._input = null, this._baseIndex = 0, this._partialLine = "", this._rowCount = 0, this._start = 0, this._nextChunk = null, this.isFirstChunk = !0, this._completeResults = { data: [], errors: [], meta: {} }, function(e) {
|
|
12
|
-
var i = at(e);
|
|
13
|
-
i.chunkSize = parseInt(i.chunkSize), e.step || e.chunk || (i.chunkSize = null), this._handle = new ht(i), (this._handle.streamer = this)._config = i;
|
|
14
|
-
}.call(this, t), this.parseChunk = function(e, i) {
|
|
15
|
-
var n = parseInt(this._config.skipFirstNLines) || 0;
|
|
16
|
-
if (this.isFirstChunk && 0 < n) {
|
|
17
|
-
let l = this._config.newline;
|
|
18
|
-
l || (r = this._config.quoteChar || '"', l = this._handle.guessLineEndings(e, r)), e = [...e.split(l).slice(n)].join(l);
|
|
19
|
-
}
|
|
20
|
-
this.isFirstChunk && _(this._config.beforeFirstChunk) && (r = this._config.beforeFirstChunk(e)) !== void 0 && (e = r), this.isFirstChunk = !1, this._halted = !1, n = this._partialLine + e;
|
|
21
|
-
var r = (this._partialLine = "", this._handle.parse(n, this._baseIndex, !this._finished));
|
|
22
|
-
if (!this._handle.paused() && !this._handle.aborted()) {
|
|
23
|
-
if (e = r.meta.cursor, this._finished || (this._partialLine = n.substring(e - this._baseIndex), this._baseIndex = e), r && r.data && (this._rowCount += r.data.length), n = this._finished || this._config.preview && this._rowCount >= this._config.preview, B) k.postMessage({ results: r, workerId: a.WORKER_ID, finished: n });
|
|
24
|
-
else if (_(this._config.chunk) && !i) {
|
|
25
|
-
if (this._config.chunk(r, this._handle), this._handle.paused() || this._handle.aborted()) return void (this._halted = !0);
|
|
26
|
-
this._completeResults = r = void 0;
|
|
27
|
-
}
|
|
28
|
-
return this._config.step || this._config.chunk || (this._completeResults.data = this._completeResults.data.concat(r.data), this._completeResults.errors = this._completeResults.errors.concat(r.errors), this._completeResults.meta = r.meta), this._completed || !n || !_(this._config.complete) || r && r.meta.aborted || (this._config.complete(this._completeResults, this._input), this._completed = !0), n || r && r.meta.paused || this._nextChunk(), r;
|
|
29
|
-
}
|
|
30
|
-
this._halted = !0;
|
|
31
|
-
}, this._sendError = function(e) {
|
|
32
|
-
_(this._config.error) ? this._config.error(e) : B && this._config.error && k.postMessage({ workerId: a.WORKER_ID, error: e, finished: !1 });
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
function it(t) {
|
|
36
|
-
var e;
|
|
37
|
-
(t = t || {}).chunkSize || (t.chunkSize = a.RemoteChunkSize), K.call(this, t), this._nextChunk = P ? function() {
|
|
38
|
-
this._readChunk(), this._chunkLoaded();
|
|
39
|
-
} : function() {
|
|
40
|
-
this._readChunk();
|
|
41
|
-
}, this.stream = function(i) {
|
|
42
|
-
this._input = i, this._nextChunk();
|
|
43
|
-
}, this._readChunk = function() {
|
|
44
|
-
if (this._finished) this._chunkLoaded();
|
|
45
|
-
else {
|
|
46
|
-
if (e = new XMLHttpRequest(), this._config.withCredentials && (e.withCredentials = this._config.withCredentials), P || (e.onload = $(this._chunkLoaded, this), e.onerror = $(this._chunkError, this)), e.open(this._config.downloadRequestBody ? "POST" : "GET", this._input, !P), this._config.downloadRequestHeaders) {
|
|
47
|
-
var i, n = this._config.downloadRequestHeaders;
|
|
48
|
-
for (i in n) e.setRequestHeader(i, n[i]);
|
|
49
|
-
}
|
|
50
|
-
var r;
|
|
51
|
-
this._config.chunkSize && (r = this._start + this._config.chunkSize - 1, e.setRequestHeader("Range", "bytes=" + this._start + "-" + r));
|
|
52
|
-
try {
|
|
53
|
-
e.send(this._config.downloadRequestBody);
|
|
54
|
-
} catch (l) {
|
|
55
|
-
this._chunkError(l.message);
|
|
56
|
-
}
|
|
57
|
-
P && e.status === 0 && this._chunkError();
|
|
58
|
-
}
|
|
59
|
-
}, this._chunkLoaded = function() {
|
|
60
|
-
var i;
|
|
61
|
-
e.readyState === 4 && (e.status < 200 || 400 <= e.status ? this._chunkError() : (this._start += this._config.chunkSize || e.responseText.length, this._finished = !this._config.chunkSize || this._start >= ((i = (i = e).getResponseHeader("Content-Range")) !== null ? parseInt(i.substring(i.lastIndexOf("/") + 1)) : -1), this.parseChunk(e.responseText)));
|
|
62
|
-
}, this._chunkError = function(i) {
|
|
63
|
-
i = e.statusText || i, this._sendError(new Error(i));
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
function rt(t) {
|
|
67
|
-
(t = t || {}).chunkSize || (t.chunkSize = a.LocalChunkSize), K.call(this, t);
|
|
68
|
-
var e, i, n = typeof FileReader < "u";
|
|
69
|
-
this.stream = function(r) {
|
|
70
|
-
this._input = r, i = r.slice || r.webkitSlice || r.mozSlice, n ? ((e = new FileReader()).onload = $(this._chunkLoaded, this), e.onerror = $(this._chunkError, this)) : e = new FileReaderSync(), this._nextChunk();
|
|
71
|
-
}, this._nextChunk = function() {
|
|
72
|
-
this._finished || this._config.preview && !(this._rowCount < this._config.preview) || this._readChunk();
|
|
73
|
-
}, this._readChunk = function() {
|
|
74
|
-
var r = this._input, l = (this._config.chunkSize && (l = Math.min(this._start + this._config.chunkSize, this._input.size), r = i.call(r, this._start, l)), e.readAsText(r, this._config.encoding));
|
|
75
|
-
n || this._chunkLoaded({ target: { result: l } });
|
|
76
|
-
}, this._chunkLoaded = function(r) {
|
|
77
|
-
this._start += this._config.chunkSize, this._finished = !this._config.chunkSize || this._start >= this._input.size, this.parseChunk(r.target.result);
|
|
78
|
-
}, this._chunkError = function() {
|
|
79
|
-
this._sendError(e.error);
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
function X(t) {
|
|
83
|
-
var e;
|
|
84
|
-
K.call(this, t = t || {}), this.stream = function(i) {
|
|
85
|
-
return e = i, this._nextChunk();
|
|
86
|
-
}, this._nextChunk = function() {
|
|
87
|
-
var i, n;
|
|
88
|
-
if (!this._finished) return i = this._config.chunkSize, e = i ? (n = e.substring(0, i), e.substring(i)) : (n = e, ""), this._finished = !e, this.parseChunk(n);
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
function nt(t) {
|
|
92
|
-
K.call(this, t = t || {});
|
|
93
|
-
var e = [], i = !0, n = !1;
|
|
94
|
-
this.pause = function() {
|
|
95
|
-
K.prototype.pause.apply(this, arguments), this._input.pause();
|
|
96
|
-
}, this.resume = function() {
|
|
97
|
-
K.prototype.resume.apply(this, arguments), this._input.resume();
|
|
98
|
-
}, this.stream = function(r) {
|
|
99
|
-
this._input = r, this._input.on("data", this._streamData), this._input.on("end", this._streamEnd), this._input.on("error", this._streamError);
|
|
100
|
-
}, this._checkIsFinished = function() {
|
|
101
|
-
n && e.length === 1 && (this._finished = !0);
|
|
102
|
-
}, this._nextChunk = function() {
|
|
103
|
-
this._checkIsFinished(), e.length ? this.parseChunk(e.shift()) : i = !0;
|
|
104
|
-
}, this._streamData = $(function(r) {
|
|
105
|
-
try {
|
|
106
|
-
e.push(typeof r == "string" ? r : r.toString(this._config.encoding)), i && (i = !1, this._checkIsFinished(), this.parseChunk(e.shift()));
|
|
107
|
-
} catch (l) {
|
|
108
|
-
this._streamError(l);
|
|
109
|
-
}
|
|
110
|
-
}, this), this._streamError = $(function(r) {
|
|
111
|
-
this._streamCleanUp(), this._sendError(r);
|
|
112
|
-
}, this), this._streamEnd = $(function() {
|
|
113
|
-
this._streamCleanUp(), n = !0, this._streamData("");
|
|
114
|
-
}, this), this._streamCleanUp = $(function() {
|
|
115
|
-
this._input.removeListener("data", this._streamData), this._input.removeListener("end", this._streamEnd), this._input.removeListener("error", this._streamError);
|
|
116
|
-
}, this);
|
|
117
|
-
}
|
|
118
|
-
function ht(t) {
|
|
119
|
-
var e, i, n, r, l = Math.pow(2, 53), v = -l, z = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, w = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, m = this, T = 0, o = 0, I = !1, u = !1, p = [], s = { data: [], errors: [], meta: {} };
|
|
120
|
-
function C(h) {
|
|
121
|
-
return t.skipEmptyLines === "greedy" ? h.join("").trim() === "" : h.length === 1 && h[0].length === 0;
|
|
122
|
-
}
|
|
123
|
-
function R() {
|
|
124
|
-
if (s && n && (M("Delimiter", "UndetectableDelimiter", "Unable to auto-detect delimiting character; defaulted to '" + a.DefaultDelimiter + "'"), n = !1), t.skipEmptyLines && (s.data = s.data.filter(function(f) {
|
|
125
|
-
return !C(f);
|
|
126
|
-
})), L()) {
|
|
127
|
-
let f = function(O, A) {
|
|
128
|
-
_(t.transformHeader) && (O = t.transformHeader(O, A)), p.push(O);
|
|
129
|
-
};
|
|
130
|
-
if (s) if (Array.isArray(s.data[0])) {
|
|
131
|
-
for (var h = 0; L() && h < s.data.length; h++) s.data[h].forEach(f);
|
|
132
|
-
s.data.splice(0, 1);
|
|
133
|
-
} else s.data.forEach(f);
|
|
134
|
-
}
|
|
135
|
-
function c(f, O) {
|
|
136
|
-
for (var A = t.header ? {} : [], b = 0; b < f.length; b++) {
|
|
137
|
-
var y = b, g = f[b];
|
|
138
|
-
g = ((U, d) => {
|
|
139
|
-
return S = U, t.dynamicTypingFunction && t.dynamicTyping[S] === void 0 && (t.dynamicTyping[S] = t.dynamicTypingFunction(S)), (t.dynamicTyping[S] || t.dynamicTyping) === !0 ? d === "true" || d === "TRUE" || d !== "false" && d !== "FALSE" && (((j) => {
|
|
140
|
-
if (z.test(j) && (j = parseFloat(j), v < j && j < l)) return 1;
|
|
141
|
-
})(d) ? parseFloat(d) : w.test(d) ? new Date(d) : d === "" ? null : d) : d;
|
|
142
|
-
var S;
|
|
143
|
-
})(y = t.header ? b >= p.length ? "__parsed_extra" : p[b] : y, g = t.transform ? t.transform(g, y) : g), y === "__parsed_extra" ? (A[y] = A[y] || [], A[y].push(g)) : A[y] = g;
|
|
144
|
-
}
|
|
145
|
-
return t.header && (b > p.length ? M("FieldMismatch", "TooManyFields", "Too many fields: expected " + p.length + " fields but parsed " + b, o + O) : b < p.length && M("FieldMismatch", "TooFewFields", "Too few fields: expected " + p.length + " fields but parsed " + b, o + O)), A;
|
|
146
|
-
}
|
|
147
|
-
var E;
|
|
148
|
-
s && (t.header || t.dynamicTyping || t.transform) && (E = 1, !s.data.length || Array.isArray(s.data[0]) ? (s.data = s.data.map(c), E = s.data.length) : s.data = c(s.data, 0), t.header && s.meta && (s.meta.fields = p), o += E);
|
|
149
|
-
}
|
|
150
|
-
function L() {
|
|
151
|
-
return t.header && p.length === 0;
|
|
152
|
-
}
|
|
153
|
-
function M(h, c, E, f) {
|
|
154
|
-
h = { type: h, code: c, message: E }, f !== void 0 && (h.row = f), s.errors.push(h);
|
|
155
|
-
}
|
|
156
|
-
_(t.step) && (r = t.step, t.step = function(h) {
|
|
157
|
-
s = h, L() ? R() : (R(), s.data.length !== 0 && (T += h.data.length, t.preview && T > t.preview ? i.abort() : (s.data = s.data[0], r(s, m))));
|
|
158
|
-
}), this.parse = function(h, c, E) {
|
|
159
|
-
var f = t.quoteChar || '"';
|
|
160
|
-
return t.newline || (t.newline = this.guessLineEndings(h, f)), n = !1, t.delimiter ? _(t.delimiter) && (t.delimiter = t.delimiter(h), s.meta.delimiter = t.delimiter) : ((f = ((O, A, b, y, g) => {
|
|
161
|
-
var U, d, S, j;
|
|
162
|
-
g = g || [",", " ", "|", ";", a.RECORD_SEP, a.UNIT_SEP];
|
|
163
|
-
for (var Z = 0; Z < g.length; Z++) {
|
|
164
|
-
for (var W, tt = g[Z], F = 0, q = 0, x = 0, D = (S = void 0, new st({ comments: y, delimiter: tt, newline: A, preview: 10 }).parse(O)), H = 0; H < D.data.length; H++) b && C(D.data[H]) ? x++ : (q += W = D.data[H].length, S === void 0 ? S = W : 0 < W && (F += Math.abs(W - S), S = W));
|
|
165
|
-
0 < D.data.length && (q /= D.data.length - x), (d === void 0 || F <= d) && (j === void 0 || j < q) && 1.99 < q && (d = F, U = tt, j = q);
|
|
166
|
-
}
|
|
167
|
-
return { successful: !!(t.delimiter = U), bestDelimiter: U };
|
|
168
|
-
})(h, t.newline, t.skipEmptyLines, t.comments, t.delimitersToGuess)).successful ? t.delimiter = f.bestDelimiter : (n = !0, t.delimiter = a.DefaultDelimiter), s.meta.delimiter = t.delimiter), f = at(t), t.preview && t.header && f.preview++, e = h, i = new st(f), s = i.parse(e, c, E), R(), I ? { meta: { paused: !0 } } : s || { meta: { paused: !1 } };
|
|
169
|
-
}, this.paused = function() {
|
|
170
|
-
return I;
|
|
171
|
-
}, this.pause = function() {
|
|
172
|
-
I = !0, i.abort(), e = _(t.chunk) ? "" : e.substring(i.getCharIndex());
|
|
173
|
-
}, this.resume = function() {
|
|
174
|
-
m.streamer._halted ? (I = !1, m.streamer.parseChunk(e, !0)) : setTimeout(m.resume, 3);
|
|
175
|
-
}, this.aborted = function() {
|
|
176
|
-
return u;
|
|
177
|
-
}, this.abort = function() {
|
|
178
|
-
u = !0, i.abort(), s.meta.aborted = !0, _(t.complete) && t.complete(s), e = "";
|
|
179
|
-
}, this.guessLineEndings = function(h, c) {
|
|
180
|
-
h = h.substring(0, 1048576), c = new RegExp(V(c) + "([^]*?)" + V(c), "gm");
|
|
181
|
-
var E = (h = h.replace(c, "")).split("\r");
|
|
182
|
-
if (h = 1 < (c = h.split(`
|
|
183
|
-
`)).length && c[0].length < E[0].length, E.length === 1 || h) return `
|
|
184
|
-
`;
|
|
185
|
-
for (var f = 0, O = 0; O < E.length; O++) E[O][0] === `
|
|
186
|
-
` && f++;
|
|
187
|
-
return f >= E.length / 2 ? `\r
|
|
188
|
-
` : "\r";
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
function V(t) {
|
|
192
|
-
return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
193
|
-
}
|
|
194
|
-
function st(t) {
|
|
195
|
-
var e = (t = t || {}).delimiter, i = t.newline, n = t.comments, r = t.step, l = t.preview, v = t.fastMode, z = null, w = !1, m = t.quoteChar == null ? '"' : t.quoteChar, T = m;
|
|
196
|
-
if (t.escapeChar !== void 0 && (T = t.escapeChar), (typeof e != "string" || -1 < a.BAD_DELIMITERS.indexOf(e)) && (e = ","), n === e) throw new Error("Comment character same as delimiter");
|
|
197
|
-
n === !0 ? n = "#" : (typeof n != "string" || -1 < a.BAD_DELIMITERS.indexOf(n)) && (n = !1), i !== `
|
|
198
|
-
` && i !== "\r" && i !== `\r
|
|
199
|
-
` && (i = `
|
|
200
|
-
`);
|
|
201
|
-
var o = 0, I = !1;
|
|
202
|
-
this.parse = function(u, p, s) {
|
|
203
|
-
if (typeof u != "string") throw new Error("Input must be a string");
|
|
204
|
-
var C = u.length, R = e.length, L = i.length, M = n.length, h = _(r), c = [], E = [], f = [], O = o = 0;
|
|
205
|
-
if (!u) return F();
|
|
206
|
-
if (v || v !== !1 && u.indexOf(m) === -1) {
|
|
207
|
-
for (var A = u.split(i), b = 0; b < A.length; b++) {
|
|
208
|
-
if (f = A[b], o += f.length, b !== A.length - 1) o += i.length;
|
|
209
|
-
else if (s) return F();
|
|
210
|
-
if (!n || f.substring(0, M) !== n) {
|
|
211
|
-
if (h) {
|
|
212
|
-
if (c = [], j(f.split(e)), q(), I) return F();
|
|
213
|
-
} else j(f.split(e));
|
|
214
|
-
if (l && l <= b) return c = c.slice(0, l), F(!0);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
return F();
|
|
218
|
-
}
|
|
219
|
-
for (var y = u.indexOf(e, o), g = u.indexOf(i, o), U = new RegExp(V(T) + V(m), "g"), d = u.indexOf(m, o); ; ) if (u[o] === m) for (d = o, o++; ; ) {
|
|
220
|
-
if ((d = u.indexOf(m, d + 1)) === -1) return s || E.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: c.length, index: o }), W();
|
|
221
|
-
if (d === C - 1) return W(u.substring(o, d).replace(U, m));
|
|
222
|
-
if (m === T && u[d + 1] === T) d++;
|
|
223
|
-
else if (m === T || d === 0 || u[d - 1] !== T) {
|
|
224
|
-
y !== -1 && y < d + 1 && (y = u.indexOf(e, d + 1));
|
|
225
|
-
var S = Z((g = g !== -1 && g < d + 1 ? u.indexOf(i, d + 1) : g) === -1 ? y : Math.min(y, g));
|
|
226
|
-
if (u.substr(d + 1 + S, R) === e) {
|
|
227
|
-
f.push(u.substring(o, d).replace(U, m)), u[o = d + 1 + S + R] !== m && (d = u.indexOf(m, o)), y = u.indexOf(e, o), g = u.indexOf(i, o);
|
|
228
|
-
break;
|
|
229
|
-
}
|
|
230
|
-
if (S = Z(g), u.substring(d + 1 + S, d + 1 + S + L) === i) {
|
|
231
|
-
if (f.push(u.substring(o, d).replace(U, m)), tt(d + 1 + S + L), y = u.indexOf(e, o), d = u.indexOf(m, o), h && (q(), I)) return F();
|
|
232
|
-
if (l && c.length >= l) return F(!0);
|
|
233
|
-
break;
|
|
234
|
-
}
|
|
235
|
-
E.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: c.length, index: o }), d++;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
else if (n && f.length === 0 && u.substring(o, o + M) === n) {
|
|
239
|
-
if (g === -1) return F();
|
|
240
|
-
o = g + L, g = u.indexOf(i, o), y = u.indexOf(e, o);
|
|
241
|
-
} else if (y !== -1 && (y < g || g === -1)) f.push(u.substring(o, y)), o = y + R, y = u.indexOf(e, o);
|
|
242
|
-
else {
|
|
243
|
-
if (g === -1) break;
|
|
244
|
-
if (f.push(u.substring(o, g)), tt(g + L), h && (q(), I)) return F();
|
|
245
|
-
if (l && c.length >= l) return F(!0);
|
|
246
|
-
}
|
|
247
|
-
return W();
|
|
248
|
-
function j(x) {
|
|
249
|
-
c.push(x), O = o;
|
|
250
|
-
}
|
|
251
|
-
function Z(x) {
|
|
252
|
-
return x !== -1 && (x = u.substring(d + 1, x)) && x.trim() === "" ? x.length : 0;
|
|
253
|
-
}
|
|
254
|
-
function W(x) {
|
|
255
|
-
return s || (x === void 0 && (x = u.substring(o)), f.push(x), o = C, j(f), h && q()), F();
|
|
256
|
-
}
|
|
257
|
-
function tt(x) {
|
|
258
|
-
o = x, j(f), f = [], g = u.indexOf(i, o);
|
|
259
|
-
}
|
|
260
|
-
function F(x) {
|
|
261
|
-
if (t.header && !p && c.length && !w) {
|
|
262
|
-
var D = c[0], H = /* @__PURE__ */ Object.create(null), ot = new Set(D);
|
|
263
|
-
let ft = !1;
|
|
264
|
-
for (let G = 0; G < D.length; G++) {
|
|
265
|
-
let N = D[G];
|
|
266
|
-
if (H[N = _(t.transformHeader) ? t.transformHeader(N, G) : N]) {
|
|
267
|
-
let et, lt = H[N];
|
|
268
|
-
for (; et = N + "_" + lt, lt++, ot.has(et); ) ;
|
|
269
|
-
ot.add(et), D[G] = et, H[N]++, ft = !0, (z = z === null ? {} : z)[et] = N;
|
|
270
|
-
} else H[N] = 1, D[G] = N;
|
|
271
|
-
ot.add(N);
|
|
272
|
-
}
|
|
273
|
-
ft && console.warn("Duplicate headers found and renamed."), w = !0;
|
|
274
|
-
}
|
|
275
|
-
return { data: c, errors: E, meta: { delimiter: e, linebreak: i, aborted: I, truncated: !!x, cursor: O + (p || 0), renamedHeaders: z } };
|
|
276
|
-
}
|
|
277
|
-
function q() {
|
|
278
|
-
r(F()), c = [], E = [];
|
|
279
|
-
}
|
|
280
|
-
}, this.abort = function() {
|
|
281
|
-
I = !0;
|
|
282
|
-
}, this.getCharIndex = function() {
|
|
283
|
-
return o;
|
|
284
|
-
};
|
|
285
|
-
}
|
|
286
|
-
function _t(t) {
|
|
287
|
-
var e = t.data, i = J[e.workerId], n = !1;
|
|
288
|
-
if (e.error) i.userError(e.error, e.file);
|
|
289
|
-
else if (e.results && e.results.data) {
|
|
290
|
-
var r = { abort: function() {
|
|
291
|
-
n = !0, ut(e.workerId, { data: [], errors: [], meta: { aborted: !0 } });
|
|
292
|
-
}, pause: dt, resume: dt };
|
|
293
|
-
if (_(i.userStep)) {
|
|
294
|
-
for (var l = 0; l < e.results.data.length && (i.userStep({ data: e.results.data[l], errors: e.results.errors, meta: e.results.meta }, r), !n); l++) ;
|
|
295
|
-
delete e.results;
|
|
296
|
-
} else _(i.userChunk) && (i.userChunk(e.results, r, e.file), delete e.results);
|
|
297
|
-
}
|
|
298
|
-
e.finished && !n && ut(e.workerId, e.results);
|
|
299
|
-
}
|
|
300
|
-
function ut(t, e) {
|
|
301
|
-
var i = J[t];
|
|
302
|
-
_(i.userComplete) && i.userComplete(e), i.terminate(), delete J[t];
|
|
303
|
-
}
|
|
304
|
-
function dt() {
|
|
305
|
-
throw new Error("Not implemented.");
|
|
306
|
-
}
|
|
307
|
-
function at(t) {
|
|
308
|
-
if (typeof t != "object" || t === null) return t;
|
|
309
|
-
var e, i = Array.isArray(t) ? [] : {};
|
|
310
|
-
for (e in t) i[e] = at(t[e]);
|
|
311
|
-
return i;
|
|
312
|
-
}
|
|
313
|
-
function $(t, e) {
|
|
314
|
-
return function() {
|
|
315
|
-
t.apply(e, arguments);
|
|
316
|
-
};
|
|
317
|
-
}
|
|
318
|
-
function _(t) {
|
|
319
|
-
return typeof t == "function";
|
|
320
|
-
}
|
|
321
|
-
return a.parse = function(t, e) {
|
|
322
|
-
var i, n = (e = e || {}).dynamicTyping || !1;
|
|
323
|
-
if (_(n) && (e.dynamicTypingFunction = n, n = {}), e.dynamicTyping = n, e.transform = !!_(e.transform) && e.transform, !e.worker || !a.WORKERS_SUPPORTED) return n = null, a.NODE_STREAM_INPUT, typeof t == "string" ? (t = (i = t).charCodeAt(0) !== 65279 ? i : i.slice(1), n = new (e.download ? it : X)(e)) : t.readable === !0 && _(t.read) && _(t.on) ? n = new nt(e) : (k.File && t instanceof File || t instanceof Object) && (n = new rt(e)), n.stream(t);
|
|
324
|
-
(n = (() => {
|
|
325
|
-
var r, l, v;
|
|
326
|
-
return !!a.WORKERS_SUPPORTED && (l = k.URL || k.webkitURL || null, v = Y.toString(), r = a.BLOB_URL || (a.BLOB_URL = l.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ", "(", v, ")();"], { type: "text/javascript" }))), (r = new k.Worker(r)).onmessage = _t, r.id = mt++, J[r.id] = r);
|
|
327
|
-
})()).userStep = e.step, n.userChunk = e.chunk, n.userComplete = e.complete, n.userError = e.error, e.step = _(e.step), e.chunk = _(e.chunk), e.complete = _(e.complete), e.error = _(e.error), delete e.worker, n.postMessage({ input: t, config: e, workerId: n.id });
|
|
328
|
-
}, a.unparse = function(t, e) {
|
|
329
|
-
var i = !1, n = !0, r = ",", l = `\r
|
|
330
|
-
`, v = '"', z = v + v, w = !1, m = null, T = !1, o = ((() => {
|
|
331
|
-
if (typeof e == "object") {
|
|
332
|
-
if (typeof e.delimiter != "string" || a.BAD_DELIMITERS.filter(function(p) {
|
|
333
|
-
return e.delimiter.indexOf(p) !== -1;
|
|
334
|
-
}).length || (r = e.delimiter), typeof e.quotes != "boolean" && typeof e.quotes != "function" && !Array.isArray(e.quotes) || (i = e.quotes), typeof e.skipEmptyLines != "boolean" && typeof e.skipEmptyLines != "string" || (w = e.skipEmptyLines), typeof e.newline == "string" && (l = e.newline), typeof e.quoteChar == "string" && (v = e.quoteChar), typeof e.header == "boolean" && (n = e.header), Array.isArray(e.columns)) {
|
|
335
|
-
if (e.columns.length === 0) throw new Error("Option columns is empty");
|
|
336
|
-
m = e.columns;
|
|
337
|
-
}
|
|
338
|
-
e.escapeChar !== void 0 && (z = e.escapeChar + v), e.escapeFormulae instanceof RegExp ? T = e.escapeFormulae : typeof e.escapeFormulae == "boolean" && e.escapeFormulae && (T = /^[=+\-@\t\r].*$/);
|
|
339
|
-
}
|
|
340
|
-
})(), new RegExp(V(v), "g"));
|
|
341
|
-
if (typeof t == "string" && (t = JSON.parse(t)), Array.isArray(t)) {
|
|
342
|
-
if (!t.length || Array.isArray(t[0])) return I(null, t, w);
|
|
343
|
-
if (typeof t[0] == "object") return I(m || Object.keys(t[0]), t, w);
|
|
344
|
-
} else if (typeof t == "object") return typeof t.data == "string" && (t.data = JSON.parse(t.data)), Array.isArray(t.data) && (t.fields || (t.fields = t.meta && t.meta.fields || m), t.fields || (t.fields = Array.isArray(t.data[0]) ? t.fields : typeof t.data[0] == "object" ? Object.keys(t.data[0]) : []), Array.isArray(t.data[0]) || typeof t.data[0] == "object" || (t.data = [t.data])), I(t.fields || [], t.data || [], w);
|
|
345
|
-
throw new Error("Unable to serialize unrecognized input");
|
|
346
|
-
function I(p, s, C) {
|
|
347
|
-
var R = "", L = (typeof p == "string" && (p = JSON.parse(p)), typeof s == "string" && (s = JSON.parse(s)), Array.isArray(p) && 0 < p.length), M = !Array.isArray(s[0]);
|
|
348
|
-
if (L && n) {
|
|
349
|
-
for (var h = 0; h < p.length; h++) 0 < h && (R += r), R += u(p[h], h);
|
|
350
|
-
0 < s.length && (R += l);
|
|
351
|
-
}
|
|
352
|
-
for (var c = 0; c < s.length; c++) {
|
|
353
|
-
var E = (L ? p : s[c]).length, f = !1, O = L ? Object.keys(s[c]).length === 0 : s[c].length === 0;
|
|
354
|
-
if (C && !L && (f = C === "greedy" ? s[c].join("").trim() === "" : s[c].length === 1 && s[c][0].length === 0), C === "greedy" && L) {
|
|
355
|
-
for (var A = [], b = 0; b < E; b++) {
|
|
356
|
-
var y = M ? p[b] : b;
|
|
357
|
-
A.push(s[c][y]);
|
|
358
|
-
}
|
|
359
|
-
f = A.join("").trim() === "";
|
|
360
|
-
}
|
|
361
|
-
if (!f) {
|
|
362
|
-
for (var g = 0; g < E; g++) {
|
|
363
|
-
0 < g && !O && (R += r);
|
|
364
|
-
var U = L && M ? p[g] : g;
|
|
365
|
-
R += u(s[c][U], g);
|
|
366
|
-
}
|
|
367
|
-
c < s.length - 1 && (!C || 0 < E && !O) && (R += l);
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
return R;
|
|
371
|
-
}
|
|
372
|
-
function u(p, s) {
|
|
373
|
-
var C, R;
|
|
374
|
-
return p == null ? "" : p.constructor === Date ? JSON.stringify(p).slice(1, 25) : (R = !1, T && typeof p == "string" && T.test(p) && (p = "'" + p, R = !0), C = p.toString().replace(o, z), (R = R || i === !0 || typeof i == "function" && i(p, s) || Array.isArray(i) && i[s] || ((L, M) => {
|
|
375
|
-
for (var h = 0; h < M.length; h++) if (-1 < L.indexOf(M[h])) return !0;
|
|
376
|
-
return !1;
|
|
377
|
-
})(C, a.BAD_DELIMITERS) || -1 < C.indexOf(r) || C.charAt(0) === " " || C.charAt(C.length - 1) === " ") ? v + C + v : C);
|
|
378
|
-
}
|
|
379
|
-
}, a.RECORD_SEP = "", a.UNIT_SEP = "", a.BYTE_ORDER_MARK = "\uFEFF", a.BAD_DELIMITERS = ["\r", `
|
|
380
|
-
`, '"', a.BYTE_ORDER_MARK], a.WORKERS_SUPPORTED = !P && !!k.Worker, a.NODE_STREAM_INPUT = 1, a.LocalChunkSize = 10485760, a.RemoteChunkSize = 5242880, a.DefaultDelimiter = ",", a.Parser = st, a.ParserHandle = ht, a.NetworkStreamer = it, a.FileStreamer = rt, a.StringStreamer = X, a.ReadableStreamStreamer = nt, k.jQuery && ((Q = k.jQuery).fn.parse = function(t) {
|
|
381
|
-
var e = t.config || {}, i = [];
|
|
382
|
-
return this.each(function(l) {
|
|
383
|
-
if (Q(this).prop("tagName").toUpperCase() !== "INPUT" || Q(this).attr("type").toLowerCase() !== "file" || !k.FileReader || !this.files || this.files.length === 0) return !0;
|
|
384
|
-
for (var v = 0; v < this.files.length; v++) i.push({ file: this.files[v], inputElem: this, instanceConfig: Q.extend({}, e) });
|
|
385
|
-
}), n(), this;
|
|
386
|
-
function n() {
|
|
387
|
-
if (i.length === 0) _(t.complete) && t.complete();
|
|
388
|
-
else {
|
|
389
|
-
var l, v, z, w = i[0];
|
|
390
|
-
if (_(t.before)) {
|
|
391
|
-
var m = t.before(w.file, w.inputElem);
|
|
392
|
-
if (typeof m == "object") {
|
|
393
|
-
if (m.action === "abort") return l = w.file, v = w.inputElem, z = m.reason, void (_(t.error) && t.error({ name: "AbortError" }, l, v, z));
|
|
394
|
-
if (m.action === "skip") return void r();
|
|
395
|
-
typeof m.config == "object" && (w.instanceConfig = Q.extend(w.instanceConfig, m.config));
|
|
396
|
-
} else if (m === "skip") return void r();
|
|
397
|
-
}
|
|
398
|
-
var T = w.instanceConfig.complete;
|
|
399
|
-
w.instanceConfig.complete = function(o) {
|
|
400
|
-
_(T) && T(o, w.file, w.inputElem), r();
|
|
401
|
-
}, a.parse(w.file, w.instanceConfig);
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
function r() {
|
|
405
|
-
i.splice(0, 1), n();
|
|
406
|
-
}
|
|
407
|
-
}), B && (k.onmessage = function(t) {
|
|
408
|
-
t = t.data, a.WORKER_ID === void 0 && t && (a.WORKER_ID = t.workerId), typeof t.input == "string" ? k.postMessage({ workerId: a.WORKER_ID, results: a.parse(t.input, t.config), finished: !0 }) : (k.File && t.input instanceof File || t.input instanceof Object) && (t = a.parse(t.input, t.config)) && k.postMessage({ workerId: a.WORKER_ID, results: t, finished: !0 });
|
|
409
|
-
}), (it.prototype = Object.create(K.prototype)).constructor = it, (rt.prototype = Object.create(K.prototype)).constructor = rt, (X.prototype = Object.create(X.prototype)).constructor = X, (nt.prototype = Object.create(K.prototype)).constructor = nt, a;
|
|
410
|
-
}()), pt.exports);
|
|
411
|
-
const bt = function(Y, Q) {
|
|
412
|
-
for (var k = 0; k < Q.length; k++) {
|
|
413
|
-
const P = Q[k];
|
|
414
|
-
if (typeof P != "string" && !Array.isArray(P)) {
|
|
415
|
-
for (const B in P) if (B !== "default" && !(B in Y)) {
|
|
416
|
-
const J = Object.getOwnPropertyDescriptor(P, B);
|
|
417
|
-
J && Object.defineProperty(Y, B, J.get ? J : { enumerable: !0, get: () => P[B] });
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
return Object.freeze(Object.defineProperty(Y, Symbol.toStringTag, { value: "Module" }));
|
|
422
|
-
}({ __proto__: null, default: yt(gt) }, [gt]);
|
|
423
|
-
export {
|
|
424
|
-
bt as p
|
|
425
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/
|
|
7
|
-
const e = { ABS: { s: "Returns the absolute value of a number, a number without its sign", p: { number: { d: "is the real number for which you want the absolute value" } } }, AGGREGATE: { s: "Returns information about the cell.", p: { functionNum: { d: "Is the number 1 to 19 that specifies the summary function for the aggregate." }, options: { d: "Is the number 0 to 78 that specified the values to ignore for the aggregate." }, array: { d: "Is the array or range of numerical data on which to calculate the aggregate." }, K: { d: "indicates the position of the array; it is k-th largest, k-th smallest, k-th percentile, or k-th quartile." } }, h: "Unimplemented" }, ARABIC: { s: "Converts a Roman numeral to Arabic", p: { text: { d: "is the Roman numeral you want to convert" } } }, BASE: { s: "Converts a number into a text representation with the given radix (base)", p: { number: { d: "is the number that you want to convert" }, radix: { d: "is the base Radix that you want to convert the number into" }, minLength: { d: "is the minimum length of the returned string", v: 0 } } }, CEILING: { s: "Rounds a number up, to the nearest multiple of significance", p: { number: { d: "is the value you want to round" }, significance: { d: "is the multiple to which you want to round", v: "undefined" } }, c: "Compatible" }, "CEILING.MATH": { s: "Rounds a number up, to the nearest integer or to the nearest multiple of significance", p: { number: { d: "is the real number you want to round" }, significance: { d: "when given and nonzero this function will round away from zero", v: "undefined" }, mode: { v: 0 } } }, "CEILING.PRECISE": { s: "Rounds a number up to the nearest integer or to the nearest multiple of significance", p: { number: { d: "is the real number you want to round" }, significance: { d: "is the multiple to which you want to round", v: 1 } }, c: "Compatible" }, COMBIN: { s: "Returns the number of combinations for a given number of items", p: { number: { d: "is the total number of items" }, numberChosen: { d: "is the number of items in each combination" } } }, COMBINA: { s: "Returns the number of combinations with repetitions for a given number of items", p: { number: { d: "is the total number of items" }, numberChosen: { d: "is the number of items in each combination" } } }, DECIMAL: { s: "Converts a text representation of a number in a given base into a decimal number", p: { number: { d: "is the number that you want to convert" }, radix: { d: "is the base Radix of the number you are converting" } } }, DEGREES: { s: "Converts radians to degrees", p: { angle: { d: "is the angle in radians that you want to convert" } } }, EVEN: { s: "Rounds a positive number up and negative number down to the nearest even integer", p: { number: { d: "is the value to round" } } }, EXP: { s: "Returns e raised to the power of a given number", p: { number: { d: "is the exponent applied to the base e. The constant e equals 2.71828182845904, the base of the natural logarithm" } } }, FACT: { s: "Returns the factorial of a number, equal to 1*2*3*...* Number", p: { number: { d: "is the nonnegative number you want the factorial of" } } }, FACTDOUBLE: { s: "Returns the double factorial of a number", p: { number: { d: "is the value for which to return the double factorial" } } }, FLOOR: { s: "Rounds a number down to the nearest multiple of significance", p: { number: { d: "is the real number you want to round" }, significance: { d: "is the multiple to which you want to round. Number and Significance must either both be positive or both be negative", v: "undefined" } }, c: "Compatible" }, "FLOOR.MATH": { s: "Rounds a number down, to the nearest integer or to the nearest multiple of significance", p: { number: { d: "is the real number you want to round" }, significance: { d: "is the multiple to which you want to round", v: "undefined" }, mode: { d: "when given and nonzero this function will round towards zero", v: 0 } } }, "FLOOR.PRECISE": { s: "Rounds a number down to the nearest integer or to the nearest multiple of significance", p: { number: { d: "is the real number you want to round" }, significance: { d: "is the multiple to which you want to round", v: 1 } } }, GCD: { s: "Returns the greatest common divisor", p: { number: { d: "number1,number2,... are 1 to 255 values" } } }, INT: { s: "Rounds a number down to the nearest integer", p: { number: { d: "is the real number you want to round down to an integer" } } }, "ISO.CEILING": { s: "Rounds a number up to the nearest integer", p: { number: { d: "is the real number you want to round up to an integer" }, significance: { d: "is the multiple to which you want to round number", v: "undefined" } }, c: "Compatible" }, LCM: { s: "Returns the least common multiple", p: { number: { d: "number1,number2,... are 1 to 255 values for which you want the least common multiple" } } }, LN: { s: "Returns the natural logarithm of a number", p: { number: { d: "is the positive real number for which you want the natural logarithm" } } }, LOG: { s: "Returns the logarithm of a number to the base you specify", p: { number: { d: "is the positive real number for which you want the logarithm" }, base: { d: "is the base of the logarithm", v: 10 } } }, LOG10: { s: "Returns the base-10 logarithm of a number", p: { number: { d: "is the positive real number for which you want the base-10 logarithm" } } }, MDETERM: { s: "Returns the matrix determinant of an array", p: { array: { d: "is a numeric array with an equal number of rows and columns, either a cell range or an array constant" } } }, MINVERSE: { s: "Returns the inverse matrix for the matrix stored in an array", p: { array: { d: "is a numeric array with an equal number of rows and columns, either a cell range or an array constant" } } }, MMULT: { s: "Returns the matrix product of two arrays, an array with the same number of rows as array1 and columns as array2", p: { array1: { d: "is the first array of numbers to multiply and must have the same number of columns as Array2 has rows" }, array2: { d: "is the second array of numbers to multiply and must have the same number of columns as Array1 has rows" } } }, MOD: { s: "Returns the remainder after a number is divided by a divisor", p: { number: { d: "is the number for which you want to find the remainder after the division is performed" }, divisor: { d: "is the number by which you want to divide Number" } } }, MROUND: { s: "Returns a number rounded to the desired multiple", p: { number: { d: "is the value to round" }, multiple: { d: "is the multiple to which you want to round number" } } }, MULTINOMIAL: { s: "Returns the multinomial of a set of numbers", p: { number: { d: "number1,number2,... are 1 to 255 values for which you want the multinomial" } } }, MUNIT: { s: "Returns the unit matrix for the specified dimension", p: { dimension: { d: "is an integer specifying the dimension of the unit matrix that you want to return" } } }, ODD: { s: "Rounds a positive number up and negative number down to the nearest odd integer", p: { number: { d: "is the value to round" } } }, PI: { s: "Returns the value of Pi, 3.14159265358979, accurate to 15 digits", p: {} }, POWER: { s: "Returns the result of a number raised to a power", p: { number: { d: "is the base number, any real number" }, power: { d: "is the exponent, to which the base number is raised" } } }, PRODUCT: { s: "Multiplies all the numbers given as arguments", p: { number: { d: "number1,number2,... are 1 to 255 numbers, logical values, or text representations of numbers that you want to multiply" } } }, QUOTIENT: { s: "Returns the integer portion of a division", p: { numerator: { d: "is the dividend" }, denominator: { d: "is the divisor" } } }, RADIANS: { s: "Converts degrees to radians", p: { angle: { d: "is an angle in degrees that you want to convert" } } }, RAND: { s: "Returns a random number greater than or equal to 0 and less than 1, evenly distributed (changes on recalculation)", p: {} }, RANDARRAY: { s: "Returns an array of random numbers", p: { rows: { d: "the number of rows in the returned array", v: 1 }, columns: { d: "the number of columns in the returned array", v: 1 }, min: { d: "the minimum number you would like returned", v: 0 }, max: { d: "the maximum number you would like returned", v: 1 }, integer: { d: "return an integer or a decimal value. TRUE for an integer, FALSE for a decimal number", v: !1 } } }, RANDBETWEEN: { s: "Returns a random number between the numbers you specify", p: { bottom: { d: "is the smallest integer RANDBETWEEN will return" }, top: { d: "is the largest integer RANDBETWEEN will return" } } }, ROMAN: { s: "Converts an Arabic numeral to Roman, as text", p: { number: { d: "is the Arabic numeral you want to convert" }, form: { d: "is the number specifying the type of Roman numeral you want.", v: 0 } } }, ROUND: { s: "Rounds a number to a specified number of digits", p: { number: { d: "is the number you want to round" }, numDigits: { d: "is the number of digits to which you want to round. Negative rounds to the left of the decimal point to the nearest integer" } } }, ROUNDDOWN: { s: "Rounds a number down, toward zero", p: { number: { d: "is any real number that you want rounded down" }, numDigits: { d: "is the number of digits to which you want to round. Negative rounds to the left of the decimal point to the nearest integer" } } }, ROUNDUP: { s: "Rounds a number up, away from zero", p: { number: { d: "is any real number that you want rounded up" }, numDigits: { d: "is the number of digits to which you want to round. Negative rounds to the left of the decimal point to the nearest integer" } } }, SEQUENCE: { s: "Returns a sequence of numbers", p: { rows: { d: "the number of rows to return" }, columns: { d: "the number of columns to return", v: 1 }, start: { d: "the first number in the sequence", v: 1 }, step: { d: "the amount to increment each subsequent value in the sequence", v: 1 } } }, SERIESSUM: { s: "Returns the sum of a power series based on the formula", p: { x: { d: "is the input value to the power series" }, n: { d: "is the initial power to which you want to raise x" }, m: { d: "is the step by which to increase n for each term in the series" }, coefficients: { d: "is a set of coefficients by which each successive power of x is multiplied" } } }, SIGN: { s: "Returns the sign of a number: 1 if the number is positive, zero if the number is zero, or -1 if the number is negative", p: { number: { d: "is any real number" } } }, SQRT: { s: "Returns the square root of a number", p: { number: { d: "is the number for which you want the square root" } } }, SQRTPI: { s: "Returns the square root of (number * Pi)", p: { number: { d: "is the number by which p is multiplied" } } }, SUBTOTAL: { s: "Returns a subtotal in a list or database", p: { functionNum: { d: "is the number 1 to 11 that specifies the summary function for the subtotal." }, ref: { d: "ref1,ref2,... are 1 to 254 ranges or references for which you want the subtotal" } }, h: "Unimplemented" }, SUM: { s: "Adds all the numbers in a range of cells", p: { number: { d: "number1,number2,... are 1 to 255 numbers to sum. Logical values and text are ignored in cells, included if typed as arguments" } } }, SUMIF: { s: "Adds the cells specified by a given condition or criteria", p: { range: { d: "is the range of cells you want evaluated" }, criteria: { d: "is the condition or criteria in the form of a number, expression, or text that defines which cells will be added" }, sumRange: { d: "are the actual cells to sum. If omitted, the cells in range are used" } }, h: "Unimplemented" }, SUMIFS: { s: "Adds the cells specified by a given set of conditions or criteria", p: { sumRange: { d: "are the actual cells to sum." }, criteriaRange: { d: "criteria_range1,criteria_range2,... is the range of cells you want evaluated for the particular condition" }, criteria: { d: "criteria1,criteria2,... is the condition or criteria in the form of a number, expression, or text that defines which cells will be added" } }, h: "Unimplemented" }, SUMPRODUCT: { s: "Returns the sum of the products of corresponding ranges or arrays", p: { array1: { d: "array1,array2,... are 2 to 255 arrays for which you want to multiply and then add components. All arrays must have the same dimensions" }, rest: {} } }, SUMSQ: { s: "Returns the sum of the squares of the arguments. The arguments can be numbers, arrays, names, or references to cells that contain numbers", p: { number: { d: "number1,number2,... are 1 to 255 numbers, arrays, names, or references to arrays for which you want the sum of the squares" } } }, SUMX2MY2: { s: "Sums the differences between the squares of two corresponding ranges or arrays", p: { arrayX: { d: "is the first range or array of numbers and can be a number or name, array, or reference that contains numbers" }, arrayY: { d: "is the second range or array of numbers and can be a number or name, array, or reference that contains numbers" } } }, SUMX2PY2: { s: "Returns the sum total of the sums of squares of numbers in two corresponding ranges or arrays", p: { arrayX: { d: "is the first range or array of numbers and can be a number or name, array, or reference that contains numbers" }, arrayY: { d: "is the second range or array of numbers and can be a number or name, array, or reference that contains numbers" } } }, SUMXMY2: { s: "Sums the squares of the differences in two corresponding ranges or arrays", p: { arrayX: { d: "is the first range or array of numbers and can be a number or name, array, or reference that contains numbers" }, arrayY: { d: "is the second range or array of numbers and can be a number or name, array, or reference that contains numbers" } } }, TRUNC: { s: "Truncates a number to an integer by removing the decimal, or fractional, part of the number", p: { number: { d: "is the number you want to truncate" }, numDigits: { d: "is a number specifying the precision of the truncation", v: 0 } } } };
|
|
8
|
-
export {
|
|
9
|
-
e as default
|
|
10
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/
|
|
7
|
-
const e = { AVEDEV: { s: "Returns the average of the absolute deviations of data points from their mean. Arguments can be numbers or names, arrays, or references that contain numbers", p: { number: { d: "number1,number2,... are 1 to 255 arguments for which you want the average of the absolute deviations" } } }, AVERAGE: { s: "Returns the average (arithmetic mean) of its arguments, which can be numbers or names, arrays, or references that contain numbers", p: { number: { d: "number1,number2,... are 1 to 255 numeric arguments for which you want the average" } } }, AVERAGEA: { s: "Returns the average (arithmetic mean) of its arguments, evaluating text and FALSE in arguments as 0; TRUE evaluates as 1. Arguments can be numbers, names, arrays, or references", p: { value: { d: "value1,value2,... are 1 to 255 arguments for which you want the average" } } }, AVERAGEIF: { s: "Finds average(arithmetic mean) for the cells specified by a given condition or criteria", p: { range: { d: "is the range of cells you want evaluated" }, criteria: { d: "is the condition or criteria in the form of a number, expression, or text that defines which cells will be used to find the average" }, averageRange: { d: "are the actual cells to be used to find the average. If omitted, the cells in range are used" } }, h: "Unimplemented" }, AVERAGEIFS: { s: "Finds average(arithmetic mean) for the cells specified by a given set of conditions or criteria", p: { averageRange: { d: "are the actual cells to be used to find the average." }, criteriaRange: { d: "criteria_range1,criteria_range2,... is the range of cells you want evaluated for the particular condition" }, criteria: { d: "criteria1,criteria2,... is the condition or criteria in the form of a number, expression, or text that defines which cells will be used to find the average" } }, h: "Unimplemented" }, COUNT: { s: "Counts the number of cells in a range that contain numbers", p: { number: { d: "value1,value2,... are 1 to 255 arguments that can contain or refer to a variety of different types of data, but only numbers are counted" } } }, COUNTA: { s: "Counts the number of cells in a range that are not empty", p: { value: { d: "value1,value2,... are 1 to 255 arguments representing the values and cells you want to count. Values can be any type of information" } } }, COUNTBLANK: { s: "Counts the number of empty cells in a specified range of cells", p: { range: { d: "is the range from which you want to count the empty cells" } }, h: "Unimplemented" }, COUNTIF: { s: "Counts the number of cells within a range that meet the given condition", p: { range: { d: "is the range of cells from which you want to count nonblank cells" }, criteria: { d: "is the condition in the form of a number, expression, or text that defines which cells will be counted" } }, h: "Unimplemented" }, COUNTIFS: { s: "Counts the number of cells specified by a given set of conditions or criteria", p: { criteriaRange: { d: "criteria_range1,criteria_range2,... is the range of cells you want evaluated for the particular condition" }, criteria: { d: "criteria1,criteria2,... is the condition in the form of a number, expression, or text that defines which cells will be counted" } }, h: "Unimplemented" }, LARGE: { s: "Returns the k-th largest value in a data set. For example, the fifth largest number.", p: { array: { d: "is the array or range of data for which you want to determine the k-th largest value." }, k: { d: "is the position (from the largest) in the array or cell range of the value to return." } } }, MAX: { s: "Returns the largest value in a set of values. Ignores logical values and text", p: { number: { d: "number1,number2,... are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the maximum" } } }, MAXA: { s: "Returns the largest value in a set of values. Does not ignore logical values and text", p: { value: { d: "value1,value2,... are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the maximum" } } }, MAXIFS: { s: "Returns the maximum value among cells specified by a given set of conditions or criteria", p: { maxRange: { d: "the cells in which to determine the maximum value" }, criteriaRange: { d: "criteria_range1,criteria_range2,... is the range of cells you want to evaluate for the particular condition" }, criteria: { d: "criteria1,criteria2,... is the condition or criteria in the form of a number, expression, or text that defines which cells will be included when determining the maximum value" } }, h: "Unimplemented" }, MEDIAN: { s: "Returns the median, or the number in the middle of the set of given numbers", p: { number: { d: "number1,number2,... are 1 to 255 numbers or names, arrays, or references that contain numbers for which you want the median" } } }, MIN: { s: "Returns the smallest number in a set of values. Ignores logical values and text", p: { number: { d: "number1,number2,... are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the minimum" } } }, MINA: { s: "Returns the smallest value in a set of values. Does not ignore logical values and text", p: { value: { d: "value1,value2,... are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the minimum" } } }, MINIFS: { s: "Returns the minimum value among cells specified by a given set of conditions or criteria", p: { maxRange: { d: "is the range of cells to evaluate for the minimum value" }, criteriaRange: { d: "is the range of cells to evaluate against the criteria" }, criteria: { d: "is the criteria to evaluate against the criteria range" } }, h: "Unimplemented" }, PERMUT: { s: "Returns the number of permutations for a given number of objects that can be selected from the total objects", p: { number: { d: "is the total number of objects" }, numberChoosen: { d: "is the number of objects in each permutation" } }, h: "Unimplemented" }, PERMUTATIONA: { s: "Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects", p: { number: { d: "is the total number of objects" }, numberChoosen: { d: "is the number of objects in each permutation" } }, h: "Unimplemented" }, SMALL: { s: "Returns the k-th smallest value in a data set. For example, the fifth smallest number", p: { array: { d: "is an array or range of numerical data for which you want to determine the k-th smallest value" }, k: { d: "is the position (from the smallest) in the array or range of the value to return" } } } };
|
|
8
|
-
export {
|
|
9
|
-
e as default
|
|
10
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/
|
|
7
|
-
const e = { ACOS: { s: "Returns the arccosine of a number, in radians in the range 0 to Pi. The arccosine is the angle whose cosine is Number", p: { number: { d: "is the cosine of the angle you want and must be from -1 to 1" } } }, ACOSH: { s: "Returns the inverse hyperbolic cosine of a number", p: { number: { d: "is any real number equal to or greater than 1" } } }, ACOT: { s: "Returns the arccotangent of a number, in radians in the range 0 to Pi.", p: { number: { d: "is the cotangent of the angle you want" } } }, ACOTH: { s: "Returns the inverse hyperbolic cotangent of a number", p: { number: { d: "is the hyperbolic cotangent of the angle that you want" } } }, ASIN: { s: "Returns the arcsine of a number in radians, in the range -Pi/2 to Pi/2", p: { number: { d: "is the sine of the angle you want and must be from -1 to 1" } } }, ASINH: { s: "Returns the inverse hyperbolic sine of a number", p: { number: { d: "is any real number equal to or greater than 1" } } }, ATAN: { s: "Returns the arctangent of a number in radians, in the range -Pi/2 to Pi/2", p: { number: { d: "is the tangent of the angle you want" } } }, ATAN2: { s: "Returns the arctangent of the specified x- and y- coordinates, in radians between -Pi and Pi, excluding -Pi", p: { x: { d: "is the x-coordinate of the point" }, y: { d: "is the y-coordinate of the point" } } }, ATANH: { s: "Returns the inverse hyperbolic tangent of a number", p: { number: { d: "is any real number between -1 and 1 excluding -1 and 1" } } }, COS: { s: "Returns the cosine of an angle", p: { number: { d: "is the angle in radians for which you want the cosine" } } }, COSH: { s: "Returns the hyperbolic cosine of a number", p: { number: { d: "is any real number" } } }, COT: { s: "Returns the cotangent of an angle", p: { number: { d: "is the angle in radians for which you want the cotangent" } } }, COTH: { s: "Returns the hyperbolic cotangent of a number", p: { number: { d: "is the angle in radians for which you want the hyperbolic cotangent" } } }, CSC: { s: "Returns the cosecant of an angle", p: { number: { d: "is the angle in radians for which you want the cosecant" } } }, CSCH: { s: "Returns the hyperbolic cosecant of an angle", p: { number: { d: "is the angle in radians for which you want the hyperbolic cosecant" } } }, SEC: { s: "Returns the secant of an angle", p: { number: { d: "is the angle in radians for which you want the secant" } } }, SECH: { s: "Returns the hyperbolic secant of an angle", p: { number: { d: "is the angle in radians for which you want the hyperbolic secant" } } }, SIN: { s: "Returns the sine of an angle", p: { number: { d: "is the angle in radians for which you want the sine. Degrees * PI()/180 = radians" } } }, SINH: { s: "Returns the hyperbolic sine of a number", p: { number: { d: "is any real number" } } }, TAN: { s: "Returns the tangent of an angle", p: { number: { d: "is the angle in radians for which you want the tangent. Degrees * PI()/180 = radians" } } }, TANH: { s: "Returns the hyperbolic tangent of a number", p: { number: { d: "is any real number" } } } };
|
|
8
|
-
export {
|
|
9
|
-
e as default
|
|
10
|
-
};
|