@sheetxl/studio-vanilla 0.4.12 → 0.4.13
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/{BwN8vKi5o3-PbIMo.cjs → -DkdmW3XP1ICRY25.cjs} +2 -2
- package/browser/cjs/B-KQs1Bf48nEucW7.cjs +7 -0
- package/browser/cjs/B1xnY7pDnbnNzknG.cjs +7 -0
- package/browser/cjs/B6A5w_aWHkigBc6j.cjs +7 -0
- package/browser/cjs/B9jxuOg1CXcmbi9J.cjs +110 -0
- package/browser/cjs/BAYjkr4LmsWRLoPr.cjs +7 -0
- package/browser/cjs/{Q_VvA-yUQx3xFKiJ.cjs → BG2uV2RpxrfZyCuV.cjs} +1 -1
- package/browser/cjs/{BPzEQNENF-gEBkg9.cjs → BGCPG4Ip5ZijUQwi.cjs} +2 -2
- package/browser/cjs/BHTlBOQH-tPGoKgo.cjs +7 -0
- package/browser/cjs/BLBNzBvRVl9VLynf.cjs +7 -0
- package/browser/cjs/BLh6E7ER8mrM6vc_.cjs +7 -0
- package/browser/cjs/{hwDUzorB6aCvH1eL.cjs → BMaq_2S3IFrE5XeJ.cjs} +1 -1
- package/browser/cjs/BO7Pbclmywy-QCSV.cjs +13 -0
- package/browser/cjs/BPlthbyKkqCDjgxO.cjs +7 -0
- package/browser/cjs/BUGo0mXtBfFOmQXV.cjs +7 -0
- package/browser/cjs/BdHdXCz_K1djQgI4.cjs +7 -0
- package/browser/cjs/BfNkb1jDZkJf3wRA.cjs +7 -0
- package/browser/cjs/BfdQd2UEOlOc5iF3.cjs +7 -0
- package/browser/cjs/Bi9KvObgq_kJ_pjC.cjs +7 -0
- package/browser/cjs/BjPpJjnABDd3_WOZ.cjs +7 -0
- package/browser/cjs/BsSNzyN8kOGCKzso.cjs +7 -0
- package/browser/cjs/BtCcoaKKb8ZDnliG.cjs +7 -0
- package/browser/cjs/{Ccs2ouvlLekaLGH0.cjs → BwHquG4sSd7OJjxz.cjs} +2 -2
- package/browser/cjs/{D_VQzwC1zzTJyKtG.cjs → BywNBbTVRYbgRbNI.cjs} +1 -1
- package/browser/cjs/C04Qr5P8uyQ6Vcml.cjs +7 -0
- package/browser/cjs/C42ZEPRmW9Wcd7tI.cjs +7 -0
- package/browser/cjs/{BeZHmOKfa37mFNAu.cjs → CBpt1PBR1VfBegko.cjs} +2 -2
- package/browser/cjs/CED8Az5C8GWF7pUT.cjs +7 -0
- package/browser/cjs/{JKEGlXjMwGnXk_Gv.cjs → CbD4Wa5QLTdRCYcz.cjs} +2 -2
- package/browser/cjs/{L1iE_VcelYZIy0wI.cjs → CbILz9Skl6lWf6yR.cjs} +1 -1
- package/browser/cjs/CoFQQqIzuvS9PM77.cjs +7 -0
- package/browser/cjs/{B35OZ0mE8aINQPP9.cjs → CpDNo2Lhwr5ZHECs.cjs} +2 -2
- package/browser/cjs/{C3OizZPVuxO2fjSG.cjs → CsamfGfFsItvSgo_.cjs} +1 -1
- package/browser/cjs/Cx3kn5gBsQ-1bORi.cjs +7 -0
- package/browser/cjs/CxLvGnG44-qNI36G.cjs +7 -0
- package/browser/cjs/D-xyWit7jxctQCpR.cjs +7 -0
- package/browser/cjs/D4XQsK7d7DRctaOO.cjs +7 -0
- package/browser/cjs/D9rVEA1BdB0JZwhE.cjs +7 -0
- package/browser/cjs/DES2NmIRVZg-HXgs.cjs +7 -0
- package/browser/cjs/{CBL6KkiWI2RPflEN.cjs → DFxeLNhACFIHb0nv.cjs} +2 -2
- package/browser/cjs/DIv1SrLYeyVwcaxE.cjs +7 -0
- package/browser/cjs/DJ6L43osbaMzEV5K.cjs +7 -0
- package/browser/cjs/DMjLN_HDktNzzUB8.cjs +7 -0
- package/browser/cjs/DVPfPZCFjmYu3xyn.cjs +7 -0
- package/browser/cjs/DhSlaiQXxEOVtZkA.cjs +7 -0
- package/browser/cjs/{DAHpsyykuPBkoh-Z.cjs → Dh_dFnagz7dMZlGh.cjs} +1 -1
- package/browser/cjs/DpF6vgGka2d-RKkb.cjs +10 -0
- package/browser/cjs/{BUokV6yuzE-_8MyK.cjs → DtY0Jzlwnr_YKnV4.cjs} +2 -2
- package/browser/cjs/DwyyFI1Ix0uc0Qoz.cjs +7 -0
- package/browser/cjs/Dy5_viRzFls9rOzN.cjs +7 -0
- package/browser/cjs/GkINjQ8Te3GKi2mx.cjs +7 -0
- package/browser/cjs/aN3KCqswA1SdJIMq.cjs +7 -0
- package/browser/cjs/{no5c2H18QD2qmOH6.cjs → hLJbgylpETByV4wc.cjs} +2 -2
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/qumqKlVHFx89iLeu.cjs +7 -0
- package/browser/cjs/{fTGpiXzFm3K_u2Fm.cjs → rKZjTYQ0WpTriIv6.cjs} +2 -2
- package/browser/cjs/xjKotAOVt3JH36U7.cjs +7 -0
- package/browser/cjs/ymbPxio09Fw7I2BW.cjs +7 -0
- package/browser/esm/2P5dQT7wZToOh-n9.mjs +7 -0
- package/browser/esm/4GgcUVhUmQmiv9Ha.mjs +110 -0
- package/browser/esm/7_x68v6PpvRDox_Z.mjs +7 -0
- package/browser/esm/9icgSuuzXq6mlgM8.mjs +7 -0
- package/browser/esm/B354iAatN9y9AIIP.mjs +7 -0
- package/browser/esm/B5EVyoxm3aSlAnxN.mjs +7 -0
- package/browser/esm/BD8rE7MUxuHXsdcf.mjs +7 -0
- package/browser/esm/BGFWI1a1PmU8_hCE.mjs +7 -0
- package/browser/esm/{Bts4nCgfCAUpTfxz.mjs → BI6JAQCQx1V0F2aC.mjs} +2 -2
- package/browser/esm/BIYg30d_9HaluFFz.mjs +7 -0
- package/browser/esm/{SAyRTPVprOHZ8Up8.mjs → BKL-uyBp_OE47lXd.mjs} +2 -2
- package/browser/esm/BMwJCtLAYUW8wExX.mjs +13 -0
- package/browser/esm/BNOfK-lGWF2S8vQE.mjs +7 -0
- package/browser/esm/Ba433v6lQUMtECiY.mjs +7 -0
- package/browser/esm/BbZWfDW2LUyjqUDy.mjs +7 -0
- package/browser/esm/C238uBmZN1XXqMUb.mjs +7 -0
- package/browser/esm/C34whwRkHO0lhq4-.mjs +7 -0
- package/browser/esm/C6FEpAqSZoW5Hgte.mjs +7 -0
- package/browser/esm/COlW5ULL29SUKN1Z.mjs +7 -0
- package/browser/esm/CRyxOj2xPj9qe9LK.mjs +7 -0
- package/browser/esm/CVeyOpbAhaBhDRye.mjs +7 -0
- package/browser/esm/CVyVvtlJuCTn4MDh.mjs +7 -0
- package/browser/esm/CapeIfjWq-_BHMlE.mjs +7 -0
- package/browser/esm/CcQqGNgK2CsgNtuD.mjs +7 -0
- package/browser/esm/CdZSxrk3k1Lx6G8W.mjs +7 -0
- package/browser/esm/CdchvB_wAbv_6Whw.mjs +7 -0
- package/browser/esm/{D3KNxvnrwR6_fTJE.mjs → Cf8eDl3Tu5NAWWwG.mjs} +1 -1
- package/browser/esm/{B8ISUdOxsJMYWzNN.mjs → Cfq9tttQlsKvfaCr.mjs} +2 -2
- package/browser/esm/{M4hZ25330e96seUM.mjs → ClR6uLJoM-xKVYEc.mjs} +1 -1
- package/browser/esm/Cnl_e-EYkZ3CLbi2.mjs +7 -0
- package/browser/esm/CtRS2ZCPF7IH_mXe.mjs +7 -0
- package/browser/esm/{DeXfOSxGE_Ez7DZq.mjs → CuV-bwi1vcXAqFUY.mjs} +1 -1
- package/browser/esm/CwVE0qelO_xgf-l1.mjs +7 -0
- package/browser/esm/{CYIhGb86r-kKOrP5.mjs → D1Dzlta8ZVy08ng6.mjs} +2 -2
- package/browser/esm/D1TjRQiHLWhpl-dl.mjs +7 -0
- package/browser/esm/D8BJ-y3ulgO_ezrj.mjs +10 -0
- package/browser/esm/{dpdy0BU4GGI5lZrX.mjs → DTDXNEbHVnnZONNL.mjs} +1 -1
- package/browser/esm/DTWfi8Dl-c2s5moT.mjs +7 -0
- package/browser/esm/DYVBXcu1r5KRLB-1.mjs +7 -0
- package/browser/esm/{BnJiF38TGudjoHzT.mjs → DZjWyWMvr2XHQrBg.mjs} +1 -1
- package/browser/esm/DhHK4QmASvgAq9Xy.mjs +7 -0
- package/browser/esm/{DcX8yGEBX6qi9RCe.mjs → DoFV2S6Su86IN5Ul.mjs} +2 -2
- package/browser/esm/Dq3ybkgattcCsF_4.mjs +7 -0
- package/browser/esm/DqWoZ4TjweoJWX3o.mjs +7 -0
- package/browser/esm/DtXxHirBm16ldE1l.mjs +7 -0
- package/browser/esm/DtuWZG6c_8vKRSdr.mjs +7 -0
- package/browser/esm/FBG8XXdIMd9PfUIo.mjs +7 -0
- package/browser/esm/Nh7JiwvF01PblHQ0.mjs +7 -0
- package/browser/esm/PVYiH9vBQM6rqXI4.mjs +7 -0
- package/browser/esm/U5-LDZQ0qkJ2Y-p8.mjs +7 -0
- package/browser/esm/XhQDWZu47oe6bwHh.mjs +7 -0
- package/browser/esm/_BjU6TtI-mQfFpfy.mjs +7 -0
- package/browser/esm/{DzgM_rkwyIHsCb6I.mjs → gOUfyCw957TzcbNB.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/lmkbfs9sNc7f0oe5.mjs +7 -0
- package/browser/esm/{oLCocGFRAwsVsOSE.mjs → naa0kcRwxHEYGaQB.mjs} +2 -2
- package/browser/esm/qxOkQutRxmAi1vRh.mjs +7 -0
- package/browser/esm/tMSro0g2GM5BBTIH.mjs +7 -0
- package/cdn/assets/{B3kbBB6oxKBErwzn.js → 0e9wDKSn4SFxSmP5.js} +3 -3
- package/cdn/assets/0j_nQmV1Bb0lJ6sB.js +472 -0
- package/cdn/assets/2mxiQm6dELsqQoX7.js +5624 -0
- package/cdn/assets/5XdpCWQ6AcxZ6oY1.js +10 -0
- package/cdn/assets/6JtXguBKwGj6dqfy.js +1577 -0
- package/cdn/assets/{Bv0Xb6DdcQbPYJKo.js → 8U2WVdbZHYCBnd9L.js} +13 -14
- package/cdn/assets/9-cIcj6CRJx5HTn9.js +10 -0
- package/cdn/assets/{BcWoqhD_sX85c7Mh.js → B-kFRtzNNkf4_SiP.js} +1 -1
- package/cdn/assets/B1Iys8a964LGNZKf.js +10 -0
- package/cdn/assets/B2RAJJJFkcaWUfUW.js +21 -0
- package/cdn/assets/{DBL4jY0AVc53RGNm.js → BAzGoI9gE2G3F3on.js} +1 -1
- package/cdn/assets/BBJxLS-wB_nXRnI2.js +10 -0
- package/cdn/assets/{qA23x9VVBL9R4qxN.js → BDE7FUo2oiivrvBL.js} +14 -14
- package/cdn/assets/BL6TUDSeou6wPejW.js +10 -0
- package/cdn/assets/{CC-S4NMYhLg3WgqO.js → BLqaorJ5Wl-1YOoy.js} +2 -2
- package/cdn/assets/BMiA9p1uOrwnooVT.js +10 -0
- package/cdn/assets/{BoOefjrM4kZ-YXxa.js → BNh9nSR83reiVMKt.js} +2 -2
- package/cdn/assets/{BtweFYnoj_aEfydW.js → BQON-ToGsIBPrPkM.js} +1 -1
- package/cdn/assets/BUwNyHytF9St68tJ.js +10 -0
- package/cdn/assets/{D_5RgqgwXsoqLJDR.js → BVYDmdUGWvMG5gNK.js} +1 -1
- package/cdn/assets/B_2bXmyji3Dr7LRM.js +50224 -0
- package/cdn/assets/BciokME96sykArSM.js +10 -0
- package/cdn/assets/BgnlshX157Ob6RLs.js +21 -0
- package/cdn/assets/{dk2teWHDODYNarJY.js → BlYoycYtR-sUp0iC.js} +3 -3
- package/cdn/assets/{DfmaL8DmDaFAv8M_.js → Bsa9-Itkf_SdDBM9.js} +4 -4
- package/cdn/assets/BwpBFv8Ks2ka07ch.js +10 -0
- package/cdn/assets/BxblmHGC7YxZcuak.js +10 -0
- package/cdn/assets/C-Z8wvIy20kJ7R-k.js +10 -0
- package/cdn/assets/C3EFzvmp0DcC_HAx.js +10 -0
- package/cdn/assets/C4vStn7wNlvrxdsp.js +10 -0
- package/cdn/assets/C5q0qaKi2eeDgoO8.js +10 -0
- package/cdn/assets/C9eQW5GKgPRmKKgJ.js +29 -0
- package/cdn/assets/{BCK7yhx9JfzU2rF0.js → CHTspRZD2v_dU_eV.js} +9 -9
- package/cdn/assets/CKA4s2hlzSnrdWSD.js +10 -0
- package/cdn/assets/{BSAH88RG1oubICau.js → CMBDD1Mjde6UL5ep.js} +19 -19
- package/cdn/assets/{DDW1WJ2IM_9ZUfKm.js → CR01MBraUPYPpwy4.js} +2 -2
- package/cdn/assets/CT0d1P-Aav62lUvV.js +10 -0
- package/cdn/assets/CV8UjJPDVplXjK1E.js +49 -0
- package/cdn/assets/CrLrvmlJhYpNpXqR.js +10 -0
- package/cdn/assets/CsorxCiOoe7qX9j1.js +10 -0
- package/cdn/assets/CuNqTH3P8mCglRiz.js +10 -0
- package/cdn/assets/{MRBi3juXAW0lA_mj.js → CwdMjMPFdIs8SAV0.js} +1 -1
- package/cdn/assets/D-5VYBO5_VEh6fEW.js +24 -0
- package/cdn/assets/{BT5EcMEFBsphczwC.js → DD3csu4pddGtMp3n.js} +106 -107
- package/cdn/assets/{DWJE3K3jMKMTCi3o.js → DFHruAftzuzBZ71r.js} +2 -2
- package/cdn/assets/DHydjLSnijEgtpyU.js +10 -0
- package/cdn/assets/DPQqTIMsRLhMxPIy.js +820 -0
- package/cdn/assets/{CUc6gRjjRGTFWSHD.js → DUtu7r6CzW4dtW3E.js} +12 -12
- package/cdn/assets/{CiY3HumGDc_5bMtR.js → DXHirQMr483hJBil.js} +15 -15
- package/cdn/assets/DXtbonLk2ESfF4Dh.js +10 -0
- package/cdn/assets/{CsjftXmSYQRHNKdq.js → Dr5X-ng9wbwUWVr4.js} +4 -4
- package/cdn/assets/{BB66NDz7S3ocEfRB.js → DvFNLgeMJ9LdQROu.js} +46 -47
- package/cdn/assets/Dvj7UEckqOBrgs9i.js +3947 -0
- package/cdn/assets/F6zW9Vj410C4yRVG.js +424 -0
- package/cdn/assets/{DJQOS9qxVAlpgDMt.js → Gz4u4ewyWfB-Pf-a.js} +20 -21
- package/cdn/assets/KDGtuIzSpkf1vsmH.js +10 -0
- package/cdn/assets/KtKlo5mM4kTTfFgi.js +46 -0
- package/cdn/assets/N3pWBoccPrTedAw-.js +12 -0
- package/cdn/assets/{7_O6nILzn1fSVvkO.js → NTINjW8JjyZudT8s.js} +1 -1
- package/cdn/assets/{DxMu6URURFWj9aXM.js → R9RwlorPWfftoboH.js} +4 -4
- package/cdn/assets/{DgLPO_EQ9DYoGgec.js → Xwyp21e7L5fTeb_y.js} +1 -1
- package/cdn/assets/{CfObTzh8pGdd8D23.js → XysyS9rk9tFdbzZh.js} +5 -5
- package/cdn/assets/{DkS6quwH1okWaho6.js → f3_QXO8z0p-q4nJo.js} +14 -14
- package/cdn/assets/{phYz0vGgqIEQ2hco.js → quOP5QFyTT9soNIl.js} +1 -1
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +3 -5
- package/browser/cjs/BflJ_0gT9lQtDvY_.cjs +0 -7
- package/browser/cjs/CN6-6xpZMpFqSS8M.cjs +0 -7
- package/browser/cjs/CTrEV_UpxC0W6cZZ.cjs +0 -7
- package/browser/cjs/CU30GVjjFXl44vEU.cjs +0 -7
- package/browser/cjs/CZWBxvUXzfpn_zmc.cjs +0 -7
- package/browser/cjs/Ce-8L4Viq3I_6j0i.cjs +0 -7
- package/browser/cjs/CtNjLzIHB8WX63Bl.cjs +0 -7
- package/browser/cjs/DJbKKxeeTEHHA1gR.cjs +0 -107
- package/browser/cjs/GrsZZ_mEdsM5dEMA.cjs +0 -7
- package/browser/esm/B4Mm5gczpI_k2zzN.mjs +0 -7
- package/browser/esm/C3cyAbIH8Qc8MIFN.mjs +0 -107
- package/browser/esm/C4jlaVv8bELgiHyE.mjs +0 -7
- package/browser/esm/CcpskguvlvemArQn.mjs +0 -7
- package/browser/esm/CeRfALx1iU5fqOUg.mjs +0 -7
- package/browser/esm/CfYWmP_Hots5f0f6.mjs +0 -7
- package/browser/esm/CkarbqNx_lhlBnw7.mjs +0 -7
- package/browser/esm/D2PlWNQjrTgf6GuR.mjs +0 -7
- package/browser/esm/DIJyH94oCzUnlcNZ.mjs +0 -7
- package/browser/esm/DVAG1NxFe3cMjLE1.mjs +0 -7
- package/browser/esm/DVqga7g7j0FUiM6p.mjs +0 -7
- package/browser/esm/Qp2Toeh_EbJH_f_6.mjs +0 -7
- package/browser/esm/_ft7JYO6QdDbIu3d.mjs +0 -7
- package/cdn/assets/CJhyHcQcrhbtC33r.js +0 -50
- package/cdn/assets/CpPLN0-hDsTIFHZV.js +0 -46
- package/cdn/assets/Cq94woVmlxhjWVRI.js +0 -21
- package/cdn/assets/Jhm2DAcrfAqiM-Y-.js +0 -26490
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
import { aG as yt } from "./B_2bXmyji3Dr7LRM.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
|
|
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 H, k = typeof self < "u" ? self : typeof window < "u" ? window : k !== void 0 ? k : {}, M = !k.document && !!k.postMessage, N = k.IS_PAPA_WORKER || !1, Q = {}, mt = 0, a = {};
|
|
10
|
+
function B(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 c = this._config.newline;
|
|
18
|
+
c || (r = this._config.quoteChar || '"', c = this._handle.guessLineEndings(e, r)), e = [...e.split(c).slice(n)].join(c);
|
|
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, N) 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) : N && 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), B.call(this, t), this._nextChunk = M ? 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), M || (e.onload = J(this._chunkLoaded, this), e.onerror = J(this._chunkError, this)), e.open(this._config.downloadRequestBody ? "POST" : "GET", this._input, !M), 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 (c) {
|
|
55
|
+
this._chunkError(c.message);
|
|
56
|
+
}
|
|
57
|
+
M && e.status === 0 && this._chunkError();
|
|
58
|
+
}
|
|
59
|
+
}, this._chunkLoaded = function() {
|
|
60
|
+
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 = i.getResponseHeader("Content-Range")) !== null ? parseInt(i.substring(i.lastIndexOf("/") + 1)) : -1)(e), this.parseChunk(e.responseText)));
|
|
61
|
+
}, this._chunkError = function(i) {
|
|
62
|
+
i = e.statusText || i, this._sendError(new Error(i));
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function rt(t) {
|
|
66
|
+
(t = t || {}).chunkSize || (t.chunkSize = a.LocalChunkSize), B.call(this, t);
|
|
67
|
+
var e, i, n = typeof FileReader < "u";
|
|
68
|
+
this.stream = function(r) {
|
|
69
|
+
this._input = r, i = r.slice || r.webkitSlice || r.mozSlice, n ? ((e = new FileReader()).onload = J(this._chunkLoaded, this), e.onerror = J(this._chunkError, this)) : e = new FileReaderSync(), this._nextChunk();
|
|
70
|
+
}, this._nextChunk = function() {
|
|
71
|
+
this._finished || this._config.preview && !(this._rowCount < this._config.preview) || this._readChunk();
|
|
72
|
+
}, this._readChunk = function() {
|
|
73
|
+
var r = this._input, c = (this._config.chunkSize && (c = Math.min(this._start + this._config.chunkSize, this._input.size), r = i.call(r, this._start, c)), e.readAsText(r, this._config.encoding));
|
|
74
|
+
n || this._chunkLoaded({ target: { result: c } });
|
|
75
|
+
}, this._chunkLoaded = function(r) {
|
|
76
|
+
this._start += this._config.chunkSize, this._finished = !this._config.chunkSize || this._start >= this._input.size, this.parseChunk(r.target.result);
|
|
77
|
+
}, this._chunkError = function() {
|
|
78
|
+
this._sendError(e.error);
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
function X(t) {
|
|
82
|
+
var e;
|
|
83
|
+
B.call(this, t = t || {}), this.stream = function(i) {
|
|
84
|
+
return e = i, this._nextChunk();
|
|
85
|
+
}, this._nextChunk = function() {
|
|
86
|
+
var i, n;
|
|
87
|
+
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);
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
function nt(t) {
|
|
91
|
+
B.call(this, t = t || {});
|
|
92
|
+
var e = [], i = !0, n = !1;
|
|
93
|
+
this.pause = function() {
|
|
94
|
+
B.prototype.pause.apply(this, arguments), this._input.pause();
|
|
95
|
+
}, this.resume = function() {
|
|
96
|
+
B.prototype.resume.apply(this, arguments), this._input.resume();
|
|
97
|
+
}, this.stream = function(r) {
|
|
98
|
+
this._input = r, this._input.on("data", this._streamData), this._input.on("end", this._streamEnd), this._input.on("error", this._streamError);
|
|
99
|
+
}, this._checkIsFinished = function() {
|
|
100
|
+
n && e.length === 1 && (this._finished = !0);
|
|
101
|
+
}, this._nextChunk = function() {
|
|
102
|
+
this._checkIsFinished(), e.length ? this.parseChunk(e.shift()) : i = !0;
|
|
103
|
+
}, this._streamData = J(function(r) {
|
|
104
|
+
try {
|
|
105
|
+
e.push(typeof r == "string" ? r : r.toString(this._config.encoding)), i && (i = !1, this._checkIsFinished(), this.parseChunk(e.shift()));
|
|
106
|
+
} catch (c) {
|
|
107
|
+
this._streamError(c);
|
|
108
|
+
}
|
|
109
|
+
}, this), this._streamError = J(function(r) {
|
|
110
|
+
this._streamCleanUp(), this._sendError(r);
|
|
111
|
+
}, this), this._streamEnd = J(function() {
|
|
112
|
+
this._streamCleanUp(), n = !0, this._streamData("");
|
|
113
|
+
}, this), this._streamCleanUp = J(function() {
|
|
114
|
+
this._input.removeListener("data", this._streamData), this._input.removeListener("end", this._streamEnd), this._input.removeListener("error", this._streamError);
|
|
115
|
+
}, this);
|
|
116
|
+
}
|
|
117
|
+
function ht(t) {
|
|
118
|
+
var e, i, n, r, c = Math.pow(2, 53), C = -c, j = /^\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: {} };
|
|
119
|
+
function O(h) {
|
|
120
|
+
return t.skipEmptyLines === "greedy" ? h.join("").trim() === "" : h.length === 1 && h[0].length === 0;
|
|
121
|
+
}
|
|
122
|
+
function R() {
|
|
123
|
+
if (s && n && (z("Delimiter", "UndetectableDelimiter", "Unable to auto-detect delimiting character; defaulted to '" + a.DefaultDelimiter + "'"), n = !1), t.skipEmptyLines && (s.data = s.data.filter(function(d) {
|
|
124
|
+
return !O(d);
|
|
125
|
+
})), L()) {
|
|
126
|
+
let d = function(S, A) {
|
|
127
|
+
_(t.transformHeader) && (S = t.transformHeader(S, A)), p.push(S);
|
|
128
|
+
};
|
|
129
|
+
if (s) if (Array.isArray(s.data[0])) {
|
|
130
|
+
for (var h = 0; L() && h < s.data.length; h++) s.data[h].forEach(d);
|
|
131
|
+
s.data.splice(0, 1);
|
|
132
|
+
} else s.data.forEach(d);
|
|
133
|
+
}
|
|
134
|
+
function l(d, S) {
|
|
135
|
+
for (var A = t.header ? {} : [], b = 0; b < d.length; b++) {
|
|
136
|
+
var y = b, g = d[b];
|
|
137
|
+
g = ((P, f) => ((v) => (t.dynamicTypingFunction && t.dynamicTyping[v] === void 0 && (t.dynamicTyping[v] = t.dynamicTypingFunction(v)), (t.dynamicTyping[v] || t.dynamicTyping) === !0))(P) ? f === "true" || f === "TRUE" || f !== "false" && f !== "FALSE" && (((v) => {
|
|
138
|
+
if (j.test(v) && (v = parseFloat(v), C < v && v < c)) return 1;
|
|
139
|
+
})(f) ? parseFloat(f) : w.test(f) ? new Date(f) : f === "" ? null : f) : f)(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;
|
|
140
|
+
}
|
|
141
|
+
return t.header && (b > p.length ? z("FieldMismatch", "TooManyFields", "Too many fields: expected " + p.length + " fields but parsed " + b, o + S) : b < p.length && z("FieldMismatch", "TooFewFields", "Too few fields: expected " + p.length + " fields but parsed " + b, o + S)), A;
|
|
142
|
+
}
|
|
143
|
+
var E;
|
|
144
|
+
s && (t.header || t.dynamicTyping || t.transform) && (E = 1, !s.data.length || Array.isArray(s.data[0]) ? (s.data = s.data.map(l), E = s.data.length) : s.data = l(s.data, 0), t.header && s.meta && (s.meta.fields = p), o += E);
|
|
145
|
+
}
|
|
146
|
+
function L() {
|
|
147
|
+
return t.header && p.length === 0;
|
|
148
|
+
}
|
|
149
|
+
function z(h, l, E, d) {
|
|
150
|
+
h = { type: h, code: l, message: E }, d !== void 0 && (h.row = d), s.errors.push(h);
|
|
151
|
+
}
|
|
152
|
+
_(t.step) && (r = t.step, t.step = function(h) {
|
|
153
|
+
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))));
|
|
154
|
+
}), this.parse = function(h, l, E) {
|
|
155
|
+
var d = t.quoteChar || '"';
|
|
156
|
+
return t.newline || (t.newline = this.guessLineEndings(h, d)), n = !1, t.delimiter ? _(t.delimiter) && (t.delimiter = t.delimiter(h), s.meta.delimiter = t.delimiter) : ((d = ((S, A, b, y, g) => {
|
|
157
|
+
var P, f, v, $;
|
|
158
|
+
g = g || [",", " ", "|", ";", a.RECORD_SEP, a.UNIT_SEP];
|
|
159
|
+
for (var G = 0; G < g.length; G++) {
|
|
160
|
+
for (var K, tt = g[G], F = 0, D = 0, x = 0, U = (v = void 0, new st({ comments: y, delimiter: tt, newline: A, preview: 10 }).parse(S)), W = 0; W < U.data.length; W++) b && O(U.data[W]) ? x++ : (D += K = U.data[W].length, v === void 0 ? v = K : 0 < K && (F += Math.abs(K - v), v = K));
|
|
161
|
+
0 < U.data.length && (D /= U.data.length - x), (f === void 0 || F <= f) && ($ === void 0 || $ < D) && 1.99 < D && (f = F, P = tt, $ = D);
|
|
162
|
+
}
|
|
163
|
+
return { successful: !!(t.delimiter = P), bestDelimiter: P };
|
|
164
|
+
})(h, t.newline, t.skipEmptyLines, t.comments, t.delimitersToGuess)).successful ? t.delimiter = d.bestDelimiter : (n = !0, t.delimiter = a.DefaultDelimiter), s.meta.delimiter = t.delimiter), d = at(t), t.preview && t.header && d.preview++, e = h, i = new st(d), s = i.parse(e, l, E), R(), I ? { meta: { paused: !0 } } : s || { meta: { paused: !1 } };
|
|
165
|
+
}, this.paused = function() {
|
|
166
|
+
return I;
|
|
167
|
+
}, this.pause = function() {
|
|
168
|
+
I = !0, i.abort(), e = _(t.chunk) ? "" : e.substring(i.getCharIndex());
|
|
169
|
+
}, this.resume = function() {
|
|
170
|
+
m.streamer._halted ? (I = !1, m.streamer.parseChunk(e, !0)) : setTimeout(m.resume, 3);
|
|
171
|
+
}, this.aborted = function() {
|
|
172
|
+
return u;
|
|
173
|
+
}, this.abort = function() {
|
|
174
|
+
u = !0, i.abort(), s.meta.aborted = !0, _(t.complete) && t.complete(s), e = "";
|
|
175
|
+
}, this.guessLineEndings = function(h, l) {
|
|
176
|
+
h = h.substring(0, 1048576), l = new RegExp(V(l) + "([^]*?)" + V(l), "gm");
|
|
177
|
+
var E = (h = h.replace(l, "")).split("\r");
|
|
178
|
+
if (h = 1 < (l = h.split(`
|
|
179
|
+
`)).length && l[0].length < E[0].length, E.length === 1 || h) return `
|
|
180
|
+
`;
|
|
181
|
+
for (var d = 0, S = 0; S < E.length; S++) E[S][0] === `
|
|
182
|
+
` && d++;
|
|
183
|
+
return d >= E.length / 2 ? `\r
|
|
184
|
+
` : "\r";
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
function V(t) {
|
|
188
|
+
return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
189
|
+
}
|
|
190
|
+
function st(t) {
|
|
191
|
+
var e = (t = t || {}).delimiter, i = t.newline, n = t.comments, r = t.step, c = t.preview, C = t.fastMode, j = null, w = !1, m = t.quoteChar == null ? '"' : t.quoteChar, T = m;
|
|
192
|
+
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");
|
|
193
|
+
n === !0 ? n = "#" : (typeof n != "string" || -1 < a.BAD_DELIMITERS.indexOf(n)) && (n = !1), i !== `
|
|
194
|
+
` && i !== "\r" && i !== `\r
|
|
195
|
+
` && (i = `
|
|
196
|
+
`);
|
|
197
|
+
var o = 0, I = !1;
|
|
198
|
+
this.parse = function(u, p, s) {
|
|
199
|
+
if (typeof u != "string") throw new Error("Input must be a string");
|
|
200
|
+
var O = u.length, R = e.length, L = i.length, z = n.length, h = _(r), l = [], E = [], d = [], S = o = 0;
|
|
201
|
+
if (!u) return F();
|
|
202
|
+
if (C || C !== !1 && u.indexOf(m) === -1) {
|
|
203
|
+
for (var A = u.split(i), b = 0; b < A.length; b++) {
|
|
204
|
+
if (d = A[b], o += d.length, b !== A.length - 1) o += i.length;
|
|
205
|
+
else if (s) return F();
|
|
206
|
+
if (!n || d.substring(0, z) !== n) {
|
|
207
|
+
if (h) {
|
|
208
|
+
if (l = [], $(d.split(e)), D(), I) return F();
|
|
209
|
+
} else $(d.split(e));
|
|
210
|
+
if (c && c <= b) return l = l.slice(0, c), F(!0);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
return F();
|
|
214
|
+
}
|
|
215
|
+
for (var y = u.indexOf(e, o), g = u.indexOf(i, o), P = new RegExp(V(T) + V(m), "g"), f = u.indexOf(m, o); ; ) if (u[o] === m) for (f = o, o++; ; ) {
|
|
216
|
+
if ((f = u.indexOf(m, f + 1)) === -1) return s || E.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: l.length, index: o }), K();
|
|
217
|
+
if (f === O - 1) return K(u.substring(o, f).replace(P, m));
|
|
218
|
+
if (m === T && u[f + 1] === T) f++;
|
|
219
|
+
else if (m === T || f === 0 || u[f - 1] !== T) {
|
|
220
|
+
y !== -1 && y < f + 1 && (y = u.indexOf(e, f + 1));
|
|
221
|
+
var v = G((g = g !== -1 && g < f + 1 ? u.indexOf(i, f + 1) : g) === -1 ? y : Math.min(y, g));
|
|
222
|
+
if (u.substr(f + 1 + v, R) === e) {
|
|
223
|
+
d.push(u.substring(o, f).replace(P, m)), u[o = f + 1 + v + R] !== m && (f = u.indexOf(m, o)), y = u.indexOf(e, o), g = u.indexOf(i, o);
|
|
224
|
+
break;
|
|
225
|
+
}
|
|
226
|
+
if (v = G(g), u.substring(f + 1 + v, f + 1 + v + L) === i) {
|
|
227
|
+
if (d.push(u.substring(o, f).replace(P, m)), tt(f + 1 + v + L), y = u.indexOf(e, o), f = u.indexOf(m, o), h && (D(), I)) return F();
|
|
228
|
+
if (c && l.length >= c) return F(!0);
|
|
229
|
+
break;
|
|
230
|
+
}
|
|
231
|
+
E.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: l.length, index: o }), f++;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
else if (n && d.length === 0 && u.substring(o, o + z) === n) {
|
|
235
|
+
if (g === -1) return F();
|
|
236
|
+
o = g + L, g = u.indexOf(i, o), y = u.indexOf(e, o);
|
|
237
|
+
} else if (y !== -1 && (y < g || g === -1)) d.push(u.substring(o, y)), o = y + R, y = u.indexOf(e, o);
|
|
238
|
+
else {
|
|
239
|
+
if (g === -1) break;
|
|
240
|
+
if (d.push(u.substring(o, g)), tt(g + L), h && (D(), I)) return F();
|
|
241
|
+
if (c && l.length >= c) return F(!0);
|
|
242
|
+
}
|
|
243
|
+
return K();
|
|
244
|
+
function $(x) {
|
|
245
|
+
l.push(x), S = o;
|
|
246
|
+
}
|
|
247
|
+
function G(x) {
|
|
248
|
+
return x !== -1 && (x = u.substring(f + 1, x)) && x.trim() === "" ? x.length : 0;
|
|
249
|
+
}
|
|
250
|
+
function K(x) {
|
|
251
|
+
return s || (x === void 0 && (x = u.substring(o)), d.push(x), o = O, $(d), h && D()), F();
|
|
252
|
+
}
|
|
253
|
+
function tt(x) {
|
|
254
|
+
o = x, $(d), d = [], g = u.indexOf(i, o);
|
|
255
|
+
}
|
|
256
|
+
function F(x) {
|
|
257
|
+
if (t.header && !p && l.length && !w) {
|
|
258
|
+
var U = l[0], W = /* @__PURE__ */ Object.create(null), ot = new Set(U);
|
|
259
|
+
let dt = !1;
|
|
260
|
+
for (let Z = 0; Z < U.length; Z++) {
|
|
261
|
+
let q = U[Z];
|
|
262
|
+
if (W[q = _(t.transformHeader) ? t.transformHeader(q, Z) : q]) {
|
|
263
|
+
let et, lt = W[q];
|
|
264
|
+
for (; et = q + "_" + lt, lt++, ot.has(et); ) ;
|
|
265
|
+
ot.add(et), U[Z] = et, W[q]++, dt = !0, (j = j === null ? {} : j)[et] = q;
|
|
266
|
+
} else W[q] = 1, U[Z] = q;
|
|
267
|
+
ot.add(q);
|
|
268
|
+
}
|
|
269
|
+
dt && console.warn("Duplicate headers found and renamed."), w = !0;
|
|
270
|
+
}
|
|
271
|
+
return { data: l, errors: E, meta: { delimiter: e, linebreak: i, aborted: I, truncated: !!x, cursor: S + (p || 0), renamedHeaders: j } };
|
|
272
|
+
}
|
|
273
|
+
function D() {
|
|
274
|
+
r(F()), l = [], E = [];
|
|
275
|
+
}
|
|
276
|
+
}, this.abort = function() {
|
|
277
|
+
I = !0;
|
|
278
|
+
}, this.getCharIndex = function() {
|
|
279
|
+
return o;
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
function _t(t) {
|
|
283
|
+
var e = t.data, i = Q[e.workerId], n = !1;
|
|
284
|
+
if (e.error) i.userError(e.error, e.file);
|
|
285
|
+
else if (e.results && e.results.data) {
|
|
286
|
+
var r = { abort: function() {
|
|
287
|
+
n = !0, ut(e.workerId, { data: [], errors: [], meta: { aborted: !0 } });
|
|
288
|
+
}, pause: ft, resume: ft };
|
|
289
|
+
if (_(i.userStep)) {
|
|
290
|
+
for (var c = 0; c < e.results.data.length && (i.userStep({ data: e.results.data[c], errors: e.results.errors, meta: e.results.meta }, r), !n); c++) ;
|
|
291
|
+
delete e.results;
|
|
292
|
+
} else _(i.userChunk) && (i.userChunk(e.results, r, e.file), delete e.results);
|
|
293
|
+
}
|
|
294
|
+
e.finished && !n && ut(e.workerId, e.results);
|
|
295
|
+
}
|
|
296
|
+
function ut(t, e) {
|
|
297
|
+
var i = Q[t];
|
|
298
|
+
_(i.userComplete) && i.userComplete(e), i.terminate(), delete Q[t];
|
|
299
|
+
}
|
|
300
|
+
function ft() {
|
|
301
|
+
throw new Error("Not implemented.");
|
|
302
|
+
}
|
|
303
|
+
function at(t) {
|
|
304
|
+
if (typeof t != "object" || t === null) return t;
|
|
305
|
+
var e, i = Array.isArray(t) ? [] : {};
|
|
306
|
+
for (e in t) i[e] = at(t[e]);
|
|
307
|
+
return i;
|
|
308
|
+
}
|
|
309
|
+
function J(t, e) {
|
|
310
|
+
return function() {
|
|
311
|
+
t.apply(e, arguments);
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
function _(t) {
|
|
315
|
+
return typeof t == "function";
|
|
316
|
+
}
|
|
317
|
+
return a.parse = function(t, e) {
|
|
318
|
+
var i = (e = e || {}).dynamicTyping || !1;
|
|
319
|
+
if (_(i) && (e.dynamicTypingFunction = i, i = {}), e.dynamicTyping = i, e.transform = !!_(e.transform) && e.transform, !e.worker || !a.WORKERS_SUPPORTED) return i = null, a.NODE_STREAM_INPUT, typeof t == "string" ? (t = ((n) => n.charCodeAt(0) !== 65279 ? n : n.slice(1))(t), i = new (e.download ? it : X)(e)) : t.readable === !0 && _(t.read) && _(t.on) ? i = new nt(e) : (k.File && t instanceof File || t instanceof Object) && (i = new rt(e)), i.stream(t);
|
|
320
|
+
(i = (() => {
|
|
321
|
+
var n;
|
|
322
|
+
return !!a.WORKERS_SUPPORTED && (n = (() => {
|
|
323
|
+
var r = k.URL || k.webkitURL || null, c = Y.toString();
|
|
324
|
+
return a.BLOB_URL || (a.BLOB_URL = r.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; ", "(", c, ")();"], { type: "text/javascript" })));
|
|
325
|
+
})(), (n = new k.Worker(n)).onmessage = _t, n.id = mt++, Q[n.id] = n);
|
|
326
|
+
})()).userStep = e.step, i.userChunk = e.chunk, i.userComplete = e.complete, i.userError = e.error, e.step = _(e.step), e.chunk = _(e.chunk), e.complete = _(e.complete), e.error = _(e.error), delete e.worker, i.postMessage({ input: t, config: e, workerId: i.id });
|
|
327
|
+
}, a.unparse = function(t, e) {
|
|
328
|
+
var i = !1, n = !0, r = ",", c = `\r
|
|
329
|
+
`, C = '"', j = C + C, w = !1, m = null, T = !1, o = ((() => {
|
|
330
|
+
if (typeof e == "object") {
|
|
331
|
+
if (typeof e.delimiter != "string" || a.BAD_DELIMITERS.filter(function(p) {
|
|
332
|
+
return e.delimiter.indexOf(p) !== -1;
|
|
333
|
+
}).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" && (c = e.newline), typeof e.quoteChar == "string" && (C = e.quoteChar), typeof e.header == "boolean" && (n = e.header), Array.isArray(e.columns)) {
|
|
334
|
+
if (e.columns.length === 0) throw new Error("Option columns is empty");
|
|
335
|
+
m = e.columns;
|
|
336
|
+
}
|
|
337
|
+
e.escapeChar !== void 0 && (j = e.escapeChar + C), e.escapeFormulae instanceof RegExp ? T = e.escapeFormulae : typeof e.escapeFormulae == "boolean" && e.escapeFormulae && (T = /^[=+\-@\t\r].*$/);
|
|
338
|
+
}
|
|
339
|
+
})(), new RegExp(V(C), "g"));
|
|
340
|
+
if (typeof t == "string" && (t = JSON.parse(t)), Array.isArray(t)) {
|
|
341
|
+
if (!t.length || Array.isArray(t[0])) return I(null, t, w);
|
|
342
|
+
if (typeof t[0] == "object") return I(m || Object.keys(t[0]), t, w);
|
|
343
|
+
} 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);
|
|
344
|
+
throw new Error("Unable to serialize unrecognized input");
|
|
345
|
+
function I(p, s, O) {
|
|
346
|
+
var R = "", L = (typeof p == "string" && (p = JSON.parse(p)), typeof s == "string" && (s = JSON.parse(s)), Array.isArray(p) && 0 < p.length), z = !Array.isArray(s[0]);
|
|
347
|
+
if (L && n) {
|
|
348
|
+
for (var h = 0; h < p.length; h++) 0 < h && (R += r), R += u(p[h], h);
|
|
349
|
+
0 < s.length && (R += c);
|
|
350
|
+
}
|
|
351
|
+
for (var l = 0; l < s.length; l++) {
|
|
352
|
+
var E = (L ? p : s[l]).length, d = !1, S = L ? Object.keys(s[l]).length === 0 : s[l].length === 0;
|
|
353
|
+
if (O && !L && (d = O === "greedy" ? s[l].join("").trim() === "" : s[l].length === 1 && s[l][0].length === 0), O === "greedy" && L) {
|
|
354
|
+
for (var A = [], b = 0; b < E; b++) {
|
|
355
|
+
var y = z ? p[b] : b;
|
|
356
|
+
A.push(s[l][y]);
|
|
357
|
+
}
|
|
358
|
+
d = A.join("").trim() === "";
|
|
359
|
+
}
|
|
360
|
+
if (!d) {
|
|
361
|
+
for (var g = 0; g < E; g++) {
|
|
362
|
+
0 < g && !S && (R += r);
|
|
363
|
+
var P = L && z ? p[g] : g;
|
|
364
|
+
R += u(s[l][P], g);
|
|
365
|
+
}
|
|
366
|
+
l < s.length - 1 && (!O || 0 < E && !S) && (R += c);
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
return R;
|
|
370
|
+
}
|
|
371
|
+
function u(p, s) {
|
|
372
|
+
var O, R;
|
|
373
|
+
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), O = p.toString().replace(o, j), (R = R || i === !0 || typeof i == "function" && i(p, s) || Array.isArray(i) && i[s] || ((L, z) => {
|
|
374
|
+
for (var h = 0; h < z.length; h++) if (-1 < L.indexOf(z[h])) return !0;
|
|
375
|
+
return !1;
|
|
376
|
+
})(O, a.BAD_DELIMITERS) || -1 < O.indexOf(r) || O.charAt(0) === " " || O.charAt(O.length - 1) === " ") ? C + O + C : O);
|
|
377
|
+
}
|
|
378
|
+
}, a.RECORD_SEP = "", a.UNIT_SEP = "", a.BYTE_ORDER_MARK = "\uFEFF", a.BAD_DELIMITERS = ["\r", `
|
|
379
|
+
`, '"', a.BYTE_ORDER_MARK], a.WORKERS_SUPPORTED = !M && !!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 && ((H = k.jQuery).fn.parse = function(t) {
|
|
380
|
+
var e = t.config || {}, i = [];
|
|
381
|
+
return this.each(function(c) {
|
|
382
|
+
if (H(this).prop("tagName").toUpperCase() !== "INPUT" || H(this).attr("type").toLowerCase() !== "file" || !k.FileReader || !this.files || this.files.length === 0) return !0;
|
|
383
|
+
for (var C = 0; C < this.files.length; C++) i.push({ file: this.files[C], inputElem: this, instanceConfig: H.extend({}, e) });
|
|
384
|
+
}), n(), this;
|
|
385
|
+
function n() {
|
|
386
|
+
if (i.length === 0) _(t.complete) && t.complete();
|
|
387
|
+
else {
|
|
388
|
+
var c, C, j, w = i[0];
|
|
389
|
+
if (_(t.before)) {
|
|
390
|
+
var m = t.before(w.file, w.inputElem);
|
|
391
|
+
if (typeof m == "object") {
|
|
392
|
+
if (m.action === "abort") return c = w.file, C = w.inputElem, j = m.reason, void (_(t.error) && t.error({ name: "AbortError" }, c, C, j));
|
|
393
|
+
if (m.action === "skip") return void r();
|
|
394
|
+
typeof m.config == "object" && (w.instanceConfig = H.extend(w.instanceConfig, m.config));
|
|
395
|
+
} else if (m === "skip") return void r();
|
|
396
|
+
}
|
|
397
|
+
var T = w.instanceConfig.complete;
|
|
398
|
+
w.instanceConfig.complete = function(o) {
|
|
399
|
+
_(T) && T(o, w.file, w.inputElem), r();
|
|
400
|
+
}, a.parse(w.file, w.instanceConfig);
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
function r() {
|
|
404
|
+
i.splice(0, 1), n();
|
|
405
|
+
}
|
|
406
|
+
}), N && (k.onmessage = function(t) {
|
|
407
|
+
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 });
|
|
408
|
+
}), (it.prototype = Object.create(B.prototype)).constructor = it, (rt.prototype = Object.create(B.prototype)).constructor = rt, (X.prototype = Object.create(X.prototype)).constructor = X, (nt.prototype = Object.create(B.prototype)).constructor = nt, a;
|
|
409
|
+
}()), pt.exports);
|
|
410
|
+
const bt = function(Y, H) {
|
|
411
|
+
for (var k = 0; k < H.length; k++) {
|
|
412
|
+
const M = H[k];
|
|
413
|
+
if (typeof M != "string" && !Array.isArray(M)) {
|
|
414
|
+
for (const N in M) if (N !== "default" && !(N in Y)) {
|
|
415
|
+
const Q = Object.getOwnPropertyDescriptor(M, N);
|
|
416
|
+
Q && Object.defineProperty(Y, N, Q.get ? Q : { enumerable: !0, get: () => M[N] });
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
return Object.freeze(Object.defineProperty(Y, Symbol.toStringTag, { value: "Module" }));
|
|
421
|
+
}({ __proto__: null, default: yt(gt) }, [gt]);
|
|
422
|
+
export {
|
|
423
|
+
bt as p
|
|
424
|
+
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as x, b as f, r as
|
|
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";
|
|
1
|
+
import { aS as k, k as T, ab as G, f as Z, l as W, aT as C, aU as tt, aV as P, r as et, n as Y, aW as V } from "./B_2bXmyji3Dr7LRM.js";
|
|
2
|
+
import { c as x, b as f, r as L, t as rt, a as A, p as D, d as st } from "./DD3csu4pddGtMp3n.js";
|
|
4
3
|
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
4
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
|
|
6
5
|
*
|
|
7
6
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
7
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -213,7 +212,7 @@ class pt {
|
|
|
213
212
|
return s.plotArea = r, r;
|
|
214
213
|
}
|
|
215
214
|
}
|
|
216
|
-
class
|
|
215
|
+
class I {
|
|
217
216
|
EnumMappings() {
|
|
218
217
|
}
|
|
219
218
|
static fromOoxmlGradientType(t) {
|
|
@@ -238,7 +237,7 @@ class J {
|
|
|
238
237
|
processStroke(t, e, s) {
|
|
239
238
|
const r = {}, o = t.evaluate("ln", e);
|
|
240
239
|
if (o) {
|
|
241
|
-
o.hasAttribute("algn") && (r.align =
|
|
240
|
+
o.hasAttribute("algn") && (r.align = I.fromOoxmlAlignment(o.getAttribute("algn"))), o.hasAttribute("cap") && (r.lineCap = I.fromOoxmlLineCap(o.getAttribute("cap"))), o.hasAttribute("cmpd") && (r.compound = I.fromOoxmlCompound(o.getAttribute("cmpd"))), o.hasAttribute("w") && (r.width = rt(o.getAttribute("w")));
|
|
242
241
|
const i = t.evaluate("miter", o);
|
|
243
242
|
i && (r.lineJoin = "miter", i.hasAttribute("lim") && (r.miter = parseFloat(i.getAttribute("lim")))), t.evaluate("bevel", o) && (r.lineJoin = "bevel"), t.evaluate("round", o) && (r.lineJoin = "round");
|
|
244
243
|
const n = t.evaluate("custDash", o);
|
|
@@ -310,7 +309,7 @@ class J {
|
|
|
310
309
|
e.hasAttribute("flip") && (o.mirror = e.getAttribute("flip")), Object.keys(o).length > 0 && (s.tile = o);
|
|
311
310
|
const i = t.evaluate("path", e);
|
|
312
311
|
if (i) {
|
|
313
|
-
i.hasAttribute("path") && (s.type =
|
|
312
|
+
i.hasAttribute("path") && (s.type = I.fromOoxmlGradientType(i.getAttribute("path")));
|
|
314
313
|
const c = t.evaluate("fillToRect", i);
|
|
315
314
|
c && (s.fillTo = this.getRect(c));
|
|
316
315
|
}
|
|
@@ -887,7 +886,7 @@ class Ot {
|
|
|
887
886
|
r.collatorOptions = n ? G.CaseSensitiveOptions : G.CaseInsensitiveOptions;
|
|
888
887
|
}
|
|
889
888
|
const o = e.getAttribute("sortMethod");
|
|
890
|
-
o != null && o !== "none" && (o === "stroke" ? r.collatorOptions = { ...r.collatorOptions, collation: "stroke" } : o === "pinYin" && (r.collatorOptions = { ...r.collatorOptions, collation: "pinyin" })), e.hasAttribute("columnSort") && f(e.getAttribute("columnSort")) && (r.orientation =
|
|
889
|
+
o != null && o !== "none" && (o === "stroke" ? r.collatorOptions = { ...r.collatorOptions, collation: "stroke" } : o === "pinYin" && (r.collatorOptions = { ...r.collatorOptions, collation: "pinyin" })), e.hasAttribute("columnSort") && f(e.getAttribute("columnSort")) && (r.orientation = Z.Orientation.Column);
|
|
891
890
|
const i = W.fastStringToRange(r.ref);
|
|
892
891
|
return this.processSortConditions(t, e, r, i), Object.keys(r).length > 0 && (s.sort = r), r;
|
|
893
892
|
}
|
|
@@ -921,7 +920,7 @@ class Q {
|
|
|
921
920
|
}
|
|
922
921
|
processDataBarColor(t, e, s, r, o = "dk1") {
|
|
923
922
|
if (!e) return;
|
|
924
|
-
const i =
|
|
923
|
+
const i = st((n) => e.getAttribute(n), o);
|
|
925
924
|
return i && (s[r] = i), s;
|
|
926
925
|
}
|
|
927
926
|
processFonts(t, e, s) {
|
|
@@ -1130,7 +1129,7 @@ class Tt extends Q {
|
|
|
1130
1129
|
const n = e.getAttribute("xfId");
|
|
1131
1130
|
if (n && o) {
|
|
1132
1131
|
const c = o.get(parseInt(n));
|
|
1133
|
-
c && c !==
|
|
1132
|
+
c && c !== tt.BuiltInName.Normal && (s.named = c);
|
|
1134
1133
|
}
|
|
1135
1134
|
const l = (c) => !(!i && e.hasAttribute(c)) || f(e.getAttribute("applyFont"));
|
|
1136
1135
|
if (l("applyFont")) {
|
|
@@ -1364,7 +1363,7 @@ class St {
|
|
|
1364
1363
|
o.length > 0 && (s.columns = o);
|
|
1365
1364
|
}
|
|
1366
1365
|
}
|
|
1367
|
-
class
|
|
1366
|
+
class kt {
|
|
1368
1367
|
visit(t, e, s) {
|
|
1369
1368
|
return s;
|
|
1370
1369
|
}
|
|
@@ -1388,7 +1387,7 @@ class U {
|
|
|
1388
1387
|
return r && (t.copyFromAttribute(r, "name", s), t.copyFromAttribute(r, "desc", s), t.copyFromAttribute(r, "hidden", s, "hidden", t.BOOLEAN_COPY), t.copyFromAttribute(r, "id", s)), s;
|
|
1389
1388
|
}
|
|
1390
1389
|
}
|
|
1391
|
-
class
|
|
1390
|
+
class xt extends U {
|
|
1392
1391
|
visit(t, e, s) {
|
|
1393
1392
|
if (!e) return;
|
|
1394
1393
|
s = super.visit(t, e, s);
|
|
@@ -1435,7 +1434,7 @@ class z extends U {
|
|
|
1435
1434
|
return s.content = { type: "sp", json: o }, o;
|
|
1436
1435
|
}
|
|
1437
1436
|
}
|
|
1438
|
-
class
|
|
1437
|
+
class Lt extends U {
|
|
1439
1438
|
visit(t, e, s) {
|
|
1440
1439
|
if (!e) return;
|
|
1441
1440
|
const r = super.visit(t, e, s), o = t.evaluate("nvPicPr/cNvPicPr", e);
|
|
@@ -1459,7 +1458,7 @@ class It extends U {
|
|
|
1459
1458
|
return s.content = { type: "picture", json: l }, r;
|
|
1460
1459
|
}
|
|
1461
1460
|
}
|
|
1462
|
-
class
|
|
1461
|
+
class It extends z {
|
|
1463
1462
|
visit(t, e, s) {
|
|
1464
1463
|
if (!e) return;
|
|
1465
1464
|
s = super.visit(t, e, s);
|
|
@@ -1544,7 +1543,7 @@ class jt {
|
|
|
1544
1543
|
if (e.type === "_error") {
|
|
1545
1544
|
const s = e.errorType;
|
|
1546
1545
|
if (s) try {
|
|
1547
|
-
e =
|
|
1546
|
+
e = et.getBuiltInById(s + 1);
|
|
1548
1547
|
} catch {
|
|
1549
1548
|
}
|
|
1550
1549
|
}
|
|
@@ -1602,7 +1601,7 @@ class Dt {
|
|
|
1602
1601
|
visit(t, e, s) {
|
|
1603
1602
|
if (!e) return;
|
|
1604
1603
|
const r = {};
|
|
1605
|
-
return t.copyFromAttribute(e, "id", r, "id",
|
|
1604
|
+
return t.copyFromAttribute(e, "id", r, "id", L), t.copyFromAttribute(e, "personId", r, "personId", L), t.copyFromAttribute(e, "ref", r), t.copyFromAttribute(e, "parentId", r, "parentId", L), t.copyFromAttribute(e, "dT", r), e.hasAttribute("done") && (r.done = f(e.getAttribute("done"))), s.push(r), r;
|
|
1606
1605
|
}
|
|
1607
1606
|
}
|
|
1608
1607
|
class Mt {
|
|
@@ -1612,7 +1611,7 @@ class Mt {
|
|
|
1612
1611
|
const n = o.item(i);
|
|
1613
1612
|
if (n.nodeType === 1 && n.localName === "person") {
|
|
1614
1613
|
const l = {};
|
|
1615
|
-
t.copyFromAttribute(n, "id", l, "id",
|
|
1614
|
+
t.copyFromAttribute(n, "id", l, "id", L), t.copyFromAttribute(n, "displayName", l), t.copyFromAttribute(n, "userId", l, "userId", L), t.copyFromAttribute(n, "providerId", l), r.push(l);
|
|
1616
1615
|
}
|
|
1617
1616
|
}
|
|
1618
1617
|
return r.length > 0 && (s.persons = r), r;
|
|
@@ -1624,9 +1623,9 @@ class zt {
|
|
|
1624
1623
|
this.path = t, this.visitor = e;
|
|
1625
1624
|
}
|
|
1626
1625
|
}
|
|
1627
|
-
class
|
|
1626
|
+
class Xt {
|
|
1628
1627
|
constructor() {
|
|
1629
|
-
this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new ct()), this.registerVisitor("spPr", new M()), this.registerVisitor("txBody", new F()), this.registerVisitor("txPr", new F()), this.registerVisitor("c:chartSpace", new ut()), this.registerVisitor("c:chartSpace", new ht(), "chart"), this.registerVisitor("c:plotArea", new pt()), this.registerVisitor("c:barChart", new gt()), this.registerVisitor("c:doughnutChart", new S()), this.registerVisitor("c:lineChart", new S()), this.registerVisitor("c:ofPieType", new S()), this.registerVisitor("c:pieChart", new S()), this.registerVisitor("c:scatterChart", new S()), this.registerVisitor("c:barChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new N("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new dt()), this.registerVisitor("c:dPt", new mt()), this.registerVisitor("c:marker", new bt()), this.registerVisitor("c:catAx", new R()), this.registerVisitor("c:valAx", new R()), this.registerVisitor("c:dateAx", new R()), this.registerVisitor("c:majorGridlines", new j("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new j("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new F("labels.text"), "txPr"), this.registerVisitor("c:valAx", new F("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new F("labels.text"), "txPr"), this.registerVisitor("c:legend", new At()), this.registerVisitor("c:legend", new F("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new ft()), this.registerVisitor("c:ser", new yt(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new N("labels"), "dLbls"), this.registerVisitor("c:dLbl", new N("points")), this.registerVisitor("c:title", new X()), this.registerVisitor("c:title", null, "tx/rich"), this.registerVisitor("c:title", null, "txPr"), this.registerVisitor("c:layout", new vt()), this.registerVisitor("c:dispUnits", new j("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new X("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new F(), "tx/rich"), this.registerVisitor("a:theme", new Ft()), this.registerVisitor("a:theme", new Ct(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new wt(), "themeElements/fontScheme"), this.registerVisitor("autoFilter", new Nt()), this.registerVisitor("sortState", new Ot()), this.registerVisitor("s:workbook", new Vt()), this.registerVisitor("styleSheet", new Tt()), this.registerVisitor("table", new St()), this.registerVisitor("hlinkClick", new Pt()), this.registerVisitor("wsDr", new
|
|
1628
|
+
this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new ct()), this.registerVisitor("spPr", new M()), this.registerVisitor("txBody", new F()), this.registerVisitor("txPr", new F()), this.registerVisitor("c:chartSpace", new ut()), this.registerVisitor("c:chartSpace", new ht(), "chart"), this.registerVisitor("c:plotArea", new pt()), this.registerVisitor("c:barChart", new gt()), this.registerVisitor("c:doughnutChart", new S()), this.registerVisitor("c:lineChart", new S()), this.registerVisitor("c:ofPieType", new S()), this.registerVisitor("c:pieChart", new S()), this.registerVisitor("c:scatterChart", new S()), this.registerVisitor("c:barChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new N("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new dt()), this.registerVisitor("c:dPt", new mt()), this.registerVisitor("c:marker", new bt()), this.registerVisitor("c:catAx", new R()), this.registerVisitor("c:valAx", new R()), this.registerVisitor("c:dateAx", new R()), this.registerVisitor("c:majorGridlines", new j("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new j("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new F("labels.text"), "txPr"), this.registerVisitor("c:valAx", new F("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new F("labels.text"), "txPr"), this.registerVisitor("c:legend", new At()), this.registerVisitor("c:legend", new F("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new ft()), this.registerVisitor("c:ser", new yt(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new N("labels"), "dLbls"), this.registerVisitor("c:dLbl", new N("points")), this.registerVisitor("c:title", new X()), this.registerVisitor("c:title", null, "tx/rich"), this.registerVisitor("c:title", null, "txPr"), this.registerVisitor("c:layout", new vt()), this.registerVisitor("c:dispUnits", new j("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new X("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new F(), "tx/rich"), this.registerVisitor("a:theme", new Ft()), this.registerVisitor("a:theme", new Ct(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new wt(), "themeElements/fontScheme"), this.registerVisitor("autoFilter", new Nt()), this.registerVisitor("sortState", new Ot()), this.registerVisitor("s:workbook", new Vt()), this.registerVisitor("styleSheet", new Tt()), this.registerVisitor("table", new St()), this.registerVisitor("hlinkClick", new Pt()), this.registerVisitor("wsDr", new kt()), this.registerVisitor("twoCellAnchor", new E()), this.registerVisitor("oneCellAnchor", new E()), this.registerVisitor("absoluteAnchor", new E()), this.registerVisitor("graphicFrame", new xt()), this.registerVisitor("sp", new z()), this.registerVisitor("grpSp", new It()), this.registerVisitor("cxnSp", new Bt()), this.registerVisitor("pic", new Lt()), this.registerVisitor("rvStructures", new _t()), this.registerVisitor("rvData", new jt()), this.registerVisitor("comments", new Rt()), this.registerVisitor("commentList", new Et(), "comment"), this.registerVisitor("comment", new F("content"), "text"), this.registerVisitor("ThreadedComments", new Yt()), this.registerVisitor("threadedComment", new Dt()), this.registerVisitor("threadedComment", new F("content"), "text"), this.registerVisitor("personList", new Mt());
|
|
1630
1629
|
}
|
|
1631
1630
|
registerVisitor(t, e, s = null) {
|
|
1632
1631
|
t.indexOf(":") === -1 && (t = "*:" + t);
|
|
@@ -1699,6 +1698,6 @@ class $t {
|
|
|
1699
1698
|
}
|
|
1700
1699
|
}
|
|
1701
1700
|
export {
|
|
1702
|
-
|
|
1703
|
-
|
|
1701
|
+
Xt as FromOOXMLConverter,
|
|
1702
|
+
Xt as default
|
|
1704
1703
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
|
|
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 = { BESSELI: { s: "Returns the modified Bessel function In(x)", p: { x: { d: "is the value at which to evaluate the function" }, n: { d: "is the order of the Bessel function" } } }, BESSELJ: { s: "Returns the Bessel function Jn(x)", p: { x: { d: "is the value at which to evaluate the function" }, n: { d: "is the order of the Bessel function" } } }, BESSELK: { s: "Returns the modified Bessel function Kn(x)", p: { x: { d: "is the value at which to evaluate the function" }, n: { d: "is the order of the function" } } }, BESSELY: { s: "Returns the Bessel function Yn(x)", p: { x: { d: "is the value at which to evaluate the function" }, n: { d: "is the order of the function" } } } };
|
|
8
|
+
export {
|
|
9
|
+
e as default
|
|
10
|
+
};
|