@sheetxl/studio-vanilla 0.4.19 → 0.4.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/cjs/index.cjs +80 -2
- package/browser/cjs/{BJIfDlGWvnC0eGUi.cjs → n6CXzSocLW_BCO8w.cjs} +6 -6
- package/browser/esm/{DiGLoJDZqriVp152.mjs → NBuS53B7u8hItiXf.mjs} +933 -937
- package/browser/esm/index.mjs +176 -4
- package/cdn/assets/CY8njwo06MWkoPz2.js +21 -0
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +3 -3
- package/browser/cjs/1FbLU-GkjsXMtg8T.cjs +0 -15
- package/browser/cjs/3xnum9EEG0qokR90.cjs +0 -12
- package/browser/cjs/5i4FVjROedZEnZNH.cjs +0 -6
- package/browser/cjs/9yZt9CqVSMBE7LUX.cjs +0 -6
- package/browser/cjs/B7V2ifI29G13Ypfn.cjs +0 -378
- package/browser/cjs/BCBl10fgrkZ5JX8E.cjs +0 -161
- package/browser/cjs/BCVApYTYfHlRzbCn.cjs +0 -6
- package/browser/cjs/BjW-ykzXN9S3TMzb.cjs +0 -11
- package/browser/cjs/Bn5tlfH0oqJI1Lk9.cjs +0 -6
- package/browser/cjs/BnD8IArw964iF-Zg.cjs +0 -1501
- package/browser/cjs/BnwSPi6FOdqxr7z1.cjs +0 -19
- package/browser/cjs/BxpKhdqadWDARG9W.cjs +0 -16
- package/browser/cjs/C8FEOglWYUtglsLP.cjs +0 -6
- package/browser/cjs/CDd6P2SfTKp4v-QA.cjs +0 -6
- package/browser/cjs/CFfq2Z-VQyMwMJKP.cjs +0 -6
- package/browser/cjs/CG1FkANzsujO3FLU.cjs +0 -6
- package/browser/cjs/CGD07mOjjl6zfCzK.cjs +0 -15
- package/browser/cjs/CMO36tnnJHrXso4Q.cjs +0 -7
- package/browser/cjs/CMfyyxtrIHPMnrBl.cjs +0 -6
- package/browser/cjs/CNue1AsHpswiVYJx.cjs +0 -6
- package/browser/cjs/C_bqbac1bCl1H0Bn.cjs +0 -6
- package/browser/cjs/C_jIzbaCWis1jB7f.cjs +0 -32
- package/browser/cjs/CaFeiasVg3jafLwL.cjs +0 -6
- package/browser/cjs/CaWJjQ_KmjWp1ooU.cjs +0 -145
- package/browser/cjs/CahVr7pzDRu3h4G3.cjs +0 -6
- package/browser/cjs/CaswMUSE1R9Noewr.cjs +0 -6
- package/browser/cjs/CfX6-fSMFgAg6iL9.cjs +0 -124
- package/browser/cjs/CkhCXLhqA4a2CnSJ.cjs +0 -6
- package/browser/cjs/CkriFKrE5BBPFQWm.cjs +0 -6
- package/browser/cjs/CuX_ftSJWqfRsXHy.cjs +0 -6
- package/browser/cjs/CznEff7u33FYbOSn.cjs +0 -6
- package/browser/cjs/D-fNsTpgGyZHdYEp.cjs +0 -6
- package/browser/cjs/DCxlQuW8eB70ZbcJ.cjs +0 -6
- package/browser/cjs/DFet-I-_FYR9s_ET.cjs +0 -6
- package/browser/cjs/DKQmNMiW6vEz1i7V.cjs +0 -6
- package/browser/cjs/DMOCfhgdy7Z8GoD-.cjs +0 -13
- package/browser/cjs/DVVk6WU7lfgpQLZG.cjs +0 -6
- package/browser/cjs/DYMFAMQ13cX03167.cjs +0 -7
- package/browser/cjs/DZVJ234kMQwb5dEy.cjs +0 -6
- package/browser/cjs/DZqqUVtfn36E0rIk.cjs +0 -6
- package/browser/cjs/DguzXHidCk2s1uCY.cjs +0 -6
- package/browser/cjs/Dhik7yBvR-5iyJcR.cjs +0 -6
- package/browser/cjs/Dms2LCMINwYEtl3S.cjs +0 -6
- package/browser/cjs/DnHgK81nepMuvMim.cjs +0 -6
- package/browser/cjs/DuJlHux5dLU53d80.cjs +0 -6
- package/browser/cjs/Dz5uLsJ16GF2Cyov.cjs +0 -6
- package/browser/cjs/Io_6AEq6KpjrZEfL.cjs +0 -6
- package/browser/cjs/R7ToEkyr-cbP0Q3N.cjs +0 -6
- package/browser/cjs/TGD3vlMtB_qnQE-M.cjs +0 -11
- package/browser/cjs/XFsZZevZgfk9vB1r.cjs +0 -6
- package/browser/cjs/bGVtUGltyeHuGKLB.cjs +0 -6
- package/browser/cjs/f-w9NYC1mTi7W9HY.cjs +0 -6
- package/browser/cjs/kGBvcCWaH3h23Ojp.cjs +0 -7
- package/browser/cjs/mUwYCSHSRCUQJ4uV.cjs +0 -42
- package/browser/cjs/qLyXB7fJpKBbTC_N.cjs +0 -6
- package/browser/cjs/s2JuJCqW6ny4lxQX.cjs +0 -6
- package/browser/esm/2Fopggi4LREIIXpY.mjs +0 -13208
- package/browser/esm/4ZXEcNsjnqWXAiUa.mjs +0 -2344
- package/browser/esm/4yxl564v_Wx022xz.mjs +0 -633
- package/browser/esm/5Ovf_TtcBCG7hgdY.mjs +0 -20
- package/browser/esm/6X4p3ajMgDNtcmLW.mjs +0 -10
- package/browser/esm/8F0vFRAXlzH-vmJl.mjs +0 -52354
- package/browser/esm/B1L8rEDpskxCqnhJ.mjs +0 -10
- package/browser/esm/BENg2ibY7Hr-SYp3.mjs +0 -10
- package/browser/esm/BHzg_9TpgdKnIlaX.mjs +0 -10
- package/browser/esm/BY9rDUy2rHkqh6hH.mjs +0 -820
- package/browser/esm/Bd2yJknZG5WTZ26u.mjs +0 -10
- package/browser/esm/BlH_AWoPr-w3-qdS.mjs +0 -10
- package/browser/esm/BmeozQuzbqa81PvH.mjs +0 -41
- package/browser/esm/BprECrKMFGb2UK2v.mjs +0 -2174
- package/browser/esm/Br_6r7a5IjKksr00.mjs +0 -390
- package/browser/esm/ByJuiohpCMXnDKmL.mjs +0 -47
- package/browser/esm/C04_X_6DkiZCUmwB.mjs +0 -1702
- package/browser/esm/C3pNOQaLBsTUp2CW.mjs +0 -10
- package/browser/esm/C4gnsPTE7_xP3Mz_.mjs +0 -1575
- package/browser/esm/C8kq7JNW8ivhRL1S.mjs +0 -3934
- package/browser/esm/CGquHZGGYOxATF73.mjs +0 -10
- package/browser/esm/CKwR5AWlnckKQRc-.mjs +0 -10
- package/browser/esm/CLSpsTCV3Onb_QXV.mjs +0 -84
- package/browser/esm/CMrXKGbxBR_LxLxN.mjs +0 -3755
- package/browser/esm/CN-UcSPqkcXnkJCx.mjs +0 -1365
- package/browser/esm/CQJsDOnipkhuGkKg.mjs +0 -56
- package/browser/esm/CTIgStBt9DOpau5q.mjs +0 -1665
- package/browser/esm/CXL9mY2kUT053cTN.mjs +0 -1346
- package/browser/esm/CZ54d8Ueai6uZgy6.mjs +0 -10
- package/browser/esm/CZM2uNUNI4W8qUw3.mjs +0 -10
- package/browser/esm/CaaAGrJF7OxdprqB.mjs +0 -10
- package/browser/esm/CnRJWnfDHzunp3N5.mjs +0 -472
- package/browser/esm/CpGYH9QSPqM4ejyF.mjs +0 -421
- package/browser/esm/CqLIq6VVhQnv6ZP4.mjs +0 -10
- package/browser/esm/CqTn7MLxDJZX7aIA.mjs +0 -10
- package/browser/esm/D3RHh0FQuMAKk4JL.mjs +0 -10
- package/browser/esm/D8hxrXJDfvDRoouY.mjs +0 -147
- package/browser/esm/DMwYqCQzDDwbzt8K.mjs +0 -44
- package/browser/esm/DNV2yXFlJ5hRF5ME.mjs +0 -46
- package/browser/esm/DUxcExPcvgbBrSXX.mjs +0 -5582
- package/browser/esm/DbTEH7CjzsjIc-ew.mjs +0 -21
- package/browser/esm/Df2lY3OJ73BCDQo6.mjs +0 -24
- package/browser/esm/DlUeNEy_cp31Am5t.mjs +0 -39
- package/browser/esm/DovESggwbqQKJEkM.mjs +0 -10
- package/browser/esm/DpNpusKUeZXcDNra.mjs +0 -29
- package/browser/esm/Dx-FJghQY8rpWJi1.mjs +0 -10
- package/browser/esm/DxObRtwZ98tP8NM3.mjs +0 -10
- package/browser/esm/FT-XJjpzjdyq4pin.mjs +0 -48
- package/browser/esm/HnfOytlj72v4rd6y.mjs +0 -425
- package/browser/esm/IChTkXO9eDekfSb7.mjs +0 -10
- package/browser/esm/KcDpdRfEgTnFwlSh.mjs +0 -21
- package/browser/esm/TVfGpAQkvkA9mx4E.mjs +0 -10
- package/browser/esm/pqikV5IyVMBYUDqP.mjs +0 -10
- package/browser/esm/qfHSXgWX4yZd3nwZ.mjs +0 -1466
- package/browser/esm/xWvOAH67Iwyf2Zge.mjs +0 -10
- package/browser/esm/xaJvLe6JwO1rQiE-.mjs +0 -12
- package/cdn/assets/15AvUM5aNUAfFLU7.js +0 -58
- package/cdn/assets/2Fopggi4LREIIXpY.js +0 -13208
- package/cdn/assets/4yxl564v_Wx022xz.js +0 -633
- package/cdn/assets/6X4p3ajMgDNtcmLW.js +0 -10
- package/cdn/assets/B1L8rEDpskxCqnhJ.js +0 -10
- package/cdn/assets/B1y38xd4JTLIrdUW.js +0 -1702
- package/cdn/assets/BENg2ibY7Hr-SYp3.js +0 -10
- package/cdn/assets/BHzg_9TpgdKnIlaX.js +0 -10
- package/cdn/assets/BXRf5zCAUE8kGNat.js +0 -46
- package/cdn/assets/BZdjtacH2DTSHsdG.js +0 -22
- package/cdn/assets/Bd2yJknZG5WTZ26u.js +0 -10
- package/cdn/assets/BlH_AWoPr-w3-qdS.js +0 -10
- package/cdn/assets/C3pNOQaLBsTUp2CW.js +0 -10
- package/cdn/assets/C6yX85fw0aO70N0-.js +0 -2346
- package/cdn/assets/CGquHZGGYOxATF73.js +0 -10
- package/cdn/assets/CKwR5AWlnckKQRc-.js +0 -10
- package/cdn/assets/CN-UcSPqkcXnkJCx.js +0 -1365
- package/cdn/assets/CSBAnGx7ebIRyjML.js +0 -21
- package/cdn/assets/CTIgStBt9DOpau5q.js +0 -1665
- package/cdn/assets/CXL9mY2kUT053cTN.js +0 -1346
- package/cdn/assets/CZ54d8Ueai6uZgy6.js +0 -10
- package/cdn/assets/CZM2uNUNI4W8qUw3.js +0 -10
- package/cdn/assets/CaaAGrJF7OxdprqB.js +0 -10
- package/cdn/assets/Cfgui52VcoZakyBi.js +0 -50
- package/cdn/assets/Ck6R7vI9j0vG-mKU.js +0 -390
- package/cdn/assets/ClTJpu1UdRW0KLAX.js +0 -23
- package/cdn/assets/Co1yPh9LPeUa-tCm.js +0 -29
- package/cdn/assets/CpGYH9QSPqM4ejyF.js +0 -421
- package/cdn/assets/CppP22dM3wzxzf_R.js +0 -3934
- package/cdn/assets/CqLIq6VVhQnv6ZP4.js +0 -10
- package/cdn/assets/CqTn7MLxDJZX7aIA.js +0 -10
- package/cdn/assets/D3RHh0FQuMAKk4JL.js +0 -10
- package/cdn/assets/DCmJyecz9jzS5Hh5.js +0 -41
- package/cdn/assets/DEHd1h8uAHbt7JQl.js +0 -425
- package/cdn/assets/DK25k4g9SWrBiPDl.js +0 -43
- package/cdn/assets/DL18SWHzmNBC5_Sq.js +0 -472
- package/cdn/assets/DZz8nVXsYYFIaomy.js +0 -3756
- package/cdn/assets/Df2lY3OJ73BCDQo6.js +0 -24
- package/cdn/assets/DidmQocPR2LUv5_-.js +0 -84
- package/cdn/assets/DifkJcFEihfAmrz6.js +0 -5582
- package/cdn/assets/Dj-9L-ifpIi1HChy.js +0 -52185
- package/cdn/assets/DovESggwbqQKJEkM.js +0 -10
- package/cdn/assets/Dwy3QqzGL-q3IHdC.js +0 -49
- package/cdn/assets/Dx-FJghQY8rpWJi1.js +0 -10
- package/cdn/assets/DxObRtwZ98tP8NM3.js +0 -10
- package/cdn/assets/IChTkXO9eDekfSb7.js +0 -10
- package/cdn/assets/KcDpdRfEgTnFwlSh.js +0 -21
- package/cdn/assets/R-6SrokApX5Vs5h6.js +0 -12
- package/cdn/assets/TVfGpAQkvkA9mx4E.js +0 -10
- package/cdn/assets/ZfVobc-p41aYisnX.js +0 -46
- package/cdn/assets/_QS_SgWjAGVcBh2y.js +0 -2177
- package/cdn/assets/_bKdjn1gFyUlsKF8.js +0 -149
- package/cdn/assets/cgKx_r-dAv2kc57N.js +0 -1575
- package/cdn/assets/lxv3lfQ08L2wD1S3.js +0 -820
- package/cdn/assets/pqikV5IyVMBYUDqP.js +0 -10
- package/cdn/assets/wXUNHjkvpeSH2dQZ.js +0 -1466
- package/cdn/assets/xWvOAH67Iwyf2Zge.js +0 -10
- package/cdn/assets/xaJvLe6JwO1rQiE-.js +0 -12
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.19
|
|
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 = { CELL: { s: "Returns information about the cell.", p: { infoType: { d: "The type of information to return." }, reference: {} } }, "ERROR.TYPE": { s: "Returns a number matching an error value", p: { errorVal: { d: "is the error value for which you want the identifying number, and can be an actual error value or a reference to a cell containing an error value." } } }, INFO: { s: "Returns information about the current operating system.", p: { typeText: { d: "The type of information to return" } } }, ISBLANK: { s: "Checks whether a reference is to an empty cell, and returns TRUE or FALSE", p: { value: { d: "is the cell or a name that refers to the cell you want to test" } } }, ISERR: { s: "Checks whether a value is an error other than #N/A, and returns TRUE or FALSE", p: { value: { d: "is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value" } } }, ISERROR: { s: "Checks whether a value is an error, and returns TRUE or FALSE", p: { value: { d: "is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value" } } }, ISEVEN: { s: "Returns TRUE if the number is even", p: { number: { d: "is the value to test" } } }, ISFORMULA: { s: "Checks whether a reference is to a cell containing a formula, and returns TRUE or FALSE", p: { reference: { d: "is a reference to the cell you want to test. Reference can be a cell reference, a formula, or name that refers to a cell" } } }, ISLOGICAL: { s: "Checks whether a value is a logical value (TRUE or FALSE), and returns TRUE or FALSE", p: { value: { d: "is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value" } } }, ISNA: { s: "Checks whether a value is #N/A, and returns TRUE or FALSE", p: { value: { d: "is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value" } } }, ISNONTEXT: { s: "Checks whether a value is not text (blank cells are not text), and returns TRUE or FALSE", p: { value: { d: "is the value you want tested: a cell; a formula; or a name referring to a cell, formula, or value" } } }, ISNUMBER: { s: "Checks whether a value is not text (blank cells are not text), and returns TRUE or FALSE", p: { value: { d: "is the value you want tested: a cell; a formula; or a name referring to a cell, formula, or value" } } }, ISODD: { s: "Returns TRUE if the number is odd", p: { number: { d: "is the value to test" } } }, ISOMITTED: { s: "Checks whether the value is omitted, and returns TRUE or FALSE", p: { argument: { d: "is the value you want to test, such as a LAMBDA parameter" } } }, ISREF: { s: "Checks whether a value is a reference, and returns TRUE or FALSE", p: { value: { d: "is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value" } } }, ISTEXT: { s: "Converts a value to text in a specific number format", p: { value: { d: "is a number, a formula that evaluates to a numeric value, or a reference to a cell containing a numeric value" } } }, N: { s: "Converts non-number value to a number, dates to serial numbers, TRUE to 1, anything else to 0 (zero)", p: { value: { d: "is the value to convert" } } }, NA: { s: "Returns the #N/A error value", p: {} }, SHEET: { s: "Returns the sheet number of the referenced sheet", p: { value: { d: "is the name of a sheet or a reference that you want the sheet number of. If omitted the number of the sheet containing the function is returned" } } }, SHEETS: { s: "Returns the number of sheets in a reference", p: { reference: { d: "is a reference for which you want to know the number of sheets it contains. If omitted the number of sheets in the workbook containing the function is returned" } } }, TYPE: { s: "Returns an integer representing the data type of a value: number = 1; text = 2; logical value = 4; error value = 16; array = 64; compound data = 128", p: { value: { d: "is the value to check" } } } };
|
|
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.4.19
|
|
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 = { ENCODEURL: { s: "Returns a URL-encoded string", p: { text: { d: "is a string to be URL encoded" } } }, WEBSERVICE: { s: "Retrieves data from a web service.", p: { url: { d: "is the URL of the web service" } } } };
|
|
8
|
-
export {
|
|
9
|
-
e as default
|
|
10
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { x as y, F as C } from "./Dj-9L-ifpIi1HChy.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.19
|
|
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
|
-
const k = async (a, p) => {
|
|
9
|
-
const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: f = !0, excludeHidden: h = !1, sheetKey: o = null, papaParseConfig: m = {} } = p || {}, u = await import("./CpGYH9QSPqM4ejyF.js").then((s) => s.p);
|
|
10
|
-
if (!a) throw new Error("workbook must be specified");
|
|
11
|
-
let t = null;
|
|
12
|
-
if (o === null ? t = a.getSelectedSheet() : typeof o == "number" ? t = a.getSheets().search()[o] : typeof o == "string" && (t = a.getSheets().getByName(o)), !t) throw new Error("invalid sheetKey specified");
|
|
13
|
-
let c = null;
|
|
14
|
-
const d = [];
|
|
15
|
-
let e = null, n = t.getUsedRange({ excludeHidden: h });
|
|
16
|
-
if (!n) throw new Error("Nothing to export");
|
|
17
|
-
if (!i || !f) {
|
|
18
|
-
const s = i ? n.getRowStart() : 0, l = f ? n.getColumnStart() : 0;
|
|
19
|
-
n = n.getOffsetTo(s, l);
|
|
20
|
-
}
|
|
21
|
-
n.forEach((s, l) => {
|
|
22
|
-
const w = l.getCoords(), x = l.getCell();
|
|
23
|
-
c !== w.rowIndex && (e && d.push(e), e = [], c = w.rowIndex);
|
|
24
|
-
const S = x.toTextUnformatted() ?? "";
|
|
25
|
-
e.push(S);
|
|
26
|
-
}, { includeEmpty: !0, address: null }), e && d.push(e);
|
|
27
|
-
const r = { ...m }, g = u.unparse(d, r);
|
|
28
|
-
return new TextEncoder().encode(g).buffer;
|
|
29
|
-
}, b = async (a, p) => {
|
|
30
|
-
const { papaParseConfig: i, setValuesOptions: f, createWorkbookOptions: h } = p ?? {}, o = await import("./CpGYH9QSPqM4ejyF.js").then((r) => r.p), m = new TextDecoder().decode(a);
|
|
31
|
-
let u = -1;
|
|
32
|
-
const t = new y(h), c = t.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: C.Orientation.Row }), d = p?.onProgress;
|
|
33
|
-
let e = 0;
|
|
34
|
-
const n = { ...i, transform: (r, g) => {
|
|
35
|
-
i?.transform && (r = i.transform(r, g));
|
|
36
|
-
const s = g;
|
|
37
|
-
s === 0 && u++;
|
|
38
|
-
let l = r ?? "";
|
|
39
|
-
return c.pushAt(u, s, l), e++, e % 1e5 == 0 && d?.(e), r;
|
|
40
|
-
} };
|
|
41
|
-
return o.parse(m, n).data, c.apply({ textParser: !0, ...f }), t;
|
|
42
|
-
};
|
|
43
|
-
export {
|
|
44
|
-
b as fromBufferCSV,
|
|
45
|
-
k as toBufferCSV
|
|
46
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsx as o, jsxs as N } from "react/jsx-runtime";
|
|
2
|
-
import { memo as T, useState as i, useCallback as k } from "react";
|
|
3
|
-
import { P as w, $ as j, h as v, aa as y, R as F, U as H } from "./Dj-9L-ifpIi1HChy.js";
|
|
4
|
-
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.19
|
|
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 I = ["Ok", "Cancel"], A = T((u) => {
|
|
11
|
-
const { tableOptions: e, context: p, onOption: c, onValidateOption: P, onDone: r, options: d = I, defaultOption: t = d?.[0], cancelOption: s = "Cancel", sx: m, ...h } = u, [x, O] = i(!1), [n, b] = i(() => e?.hasHeader ?? !1), [l, f] = i(() => e?.ranges ?? null), C = w((a) => {
|
|
12
|
-
const g = { ...e, hasHeader: n, ranges: l };
|
|
13
|
-
c?.(a, a === s, a === t), r?.({ option: a, tableOptions: g });
|
|
14
|
-
}, [r, c, t, s, n, l, e]), D = k(async (a, g) => null, []);
|
|
15
|
-
return o(j, { title: "Insert Table", options: d, onDone: C, onValidateOption: D, defaultOption: t, cancelOption: s, autoFocusSel: ".range-input input", sx: { width: "360px", ...m }, ...h, children: N(v, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0), rowGap: (a) => a.spacing(1), display: "flex", flexDirection: "column" }, children: [o(y, { formName: "range", value: l, onChangeInput: (a) => f(a), resolvedAddress: p.getNames().getRanges.bind(p.getNames()), onFocus: (a) => {
|
|
16
|
-
x || a.target?.select(), O(!0);
|
|
17
|
-
} }), o(F, { control: o(H, { checked: n, onChange: () => b(!n) }), label: "Table has headers", labelPlacement: "end" })] }) });
|
|
18
|
-
});
|
|
19
|
-
export {
|
|
20
|
-
A as TableNewDialog,
|
|
21
|
-
A as default
|
|
22
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.19
|
|
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,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.19
|
|
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 = { DAVERAGE: { s: "Averages the values in a column in a list or database that match conditions you specify", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DCOUNT: { s: "Counts the cells containing numbers in the field (column) of records in the database that match the conditions you specify", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DCOUNTA: { s: "Counts nonblank cells in the field (column) of records in the database that match the conditions you specify", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DGET: { s: "Extracts from a database a single record that matches the conditions you specify", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DMAX: { s: "Returns the largest number in the field (column) of records in the database that match the conditions you specify", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DMIN: { s: "Returns the smallest number in the field (column) of records in the database that match the conditions you specify", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DPRODUCT: { s: "Multiplies the values in the field (column) of records in the database that match the conditions you specify", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DSTDEV: { s: "Estimates the standard deviation based on a sample from selected database entries", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DSTDEVP: { s: "Calculates the standard deviation based on the entire population of selected database entries", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DSUM: { s: "Adds the numbers in the field (column) of records in the database that match the conditions you specify", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DVAR: { s: "Estimates variance based on a sample from selected database entries", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DVARP: { s: "Calculates variance based on the entire population of selected database entries", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" } };
|
|
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.4.19
|
|
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 = { COMPLEX: { s: "Converts real and imaginary coefficients into a complex number", p: { realNum: { d: "is the real coefficient of the complex number" }, iNum: { d: "is the imaginary coefficient of the complex number" }, suffix: { d: "is the suffix for the imaginary component of the complex number", v: "i" } } }, IMABS: { s: "Returns the absolute value (modulus) of a complex number", p: { inumber: { d: "is a complex number for which you want the absolute value" } } }, IMAGINARY: { s: "Returns the imaginary coefficient of a complex number", p: { inumber: { d: "is a complex number for which you want the imaginary coefficient" } } }, IMARGUMENT: { s: "Returns the argument q, an angle expressed in radians", p: { inumber: { d: "is a complex number for which you want the argument" } } }, IMCONJUGATE: { s: "Returns the complex conjugate of a complex number", p: { inumber: { d: "is a complex number for which you want the conjugate" } } }, IMCOS: { s: "Returns the cosine of a complex number", p: { inumber: { d: "is a complex number for which you want the cosine" } } }, IMCOSH: { s: "Returns the hyperbolic cosine of a complex number", p: { inumber: { d: "is a complex number for which you want the hyperbolic cosine" } } }, IMCOT: { s: "Returns the cotangent of a complex number", p: { inumber: { d: "is a complex number for which you want the cotangent" } } }, IMCSC: { s: "Returns the cosecant of a complex number", p: { inumber: { d: "is a complex number for which you want the cosecant" } } }, IMCSCH: { s: "Returns the hyperbolic cosecant of a complex number", p: { inumber: { d: "is a complex number for which you want the hyperbolic cosecant" } } }, IMDIV: { s: "Returns the quotient of two complex numbers", p: { inumber1: { d: "is the complex numerator or dividend" }, inumber2: { d: "is the complex denominator or divisor" } } }, IMEXP: { s: "Returns the exponential of a complex number", p: { inumber: { d: "is a complex number for which you want the exponential" } } }, IMLN: { s: "Returns the exponential of a complex number", p: { inumber: { d: "is a complex number for which you want the exponential" } } }, IMLOG10: { s: "Returns the base-10 logarithm of a complex number", p: { inumber: { d: "is a complex number for which you want the common logarithm" } } }, IMLOG2: { s: "Returns the base-2 logarithm of a complex number", p: { inumber: { d: "is a complex number for which you want the base-2 logarithm" } } }, IMPOWER: { s: "Returns the base-2 logarithm of a complex number", p: { inumber: { d: "is a complex number for which you want the base-2 logarithm" }, number: {} } }, IMPRODUCT: { s: "Returns the product of 1 to 255 complex numbers", p: { inumber: { d: "inumber1,inumber2,... Inumber1, Inumber2,... are from 1 to 255 complex numbers to multiply." } } }, IMREAL: { s: "Returns the real coefficient of a complex number", p: { inumber: { d: "is a complex number for which you want the real coefficient" } } }, IMSEC: { s: "Returns the secant of a complex number", p: { inumber: { d: "is a complex number for which you want the secant" } } }, IMSECH: { s: "Returns the hyperbolic secant of a complex number", p: { inumber: { d: "is a complex number for which you want the hyperbolic secant" } } }, IMSIN: { s: "Returns the sine of a complex number", p: { inumber: { d: "is a complex number for which you want the sine" } } }, IMSINH: { s: "Returns the hyperbolic sine of a complex number", p: { inumber: { d: "is a complex number for which you want the hyperbolic sine" } } }, IMSQRT: { s: "Returns the square root of a complex number", p: { inumber: { d: "is a complex number for which you want the square root" } } }, IMSUB: { s: "Returns the difference of two complex numbers", p: { inumber1: { d: "is the complex number from which to subtract inumber2" }, inumber2: { d: "is the complex number to subtract from inumber1" } } }, IMSUM: { s: "Returns the sum of complex numbers", p: { inumber: { d: "inumber1,inumber2,... are from 1 to 255 complex numbers to add" } } }, IMTAN: { s: "Returns the tangent of a complex number", p: { inumber: { d: "is a complex number for which you want the tangent" } } } };
|
|
8
|
-
export {
|
|
9
|
-
e as default
|
|
10
|
-
};
|