@sheetxl/sdk 0.8.0-beta.11 → 0.8.0-beta.12
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/esm/{BpgskG1Er_lGQ_yS.mjs → -Jx-jNHmtIQQfLvK.mjs} +1 -1
- package/browser/esm/{BLoUBId2xZpXAK_H.mjs → 2WuhYrIpYmOR5H73.mjs} +15 -15
- package/browser/esm/{Ctjb0SsxV4K4MMqG.mjs → 2mIwPy2D2JUX-9wx.mjs} +2 -2
- package/browser/esm/{CkxWugaJFjDGZNZ-.mjs → B3wf5vZCsWfWsDbj.mjs} +1 -1
- package/browser/esm/{BjkCiv5Jz6WYKZeu.mjs → BIHrHjRGWVlJglcp.mjs} +2 -2
- package/browser/esm/{BtvLTTfSBdAKplVG.mjs → BTFBedJMRWGvZyCE.mjs} +1 -1
- package/browser/esm/{C4MqfLn9Dm-l3OIk.mjs → BdCJNawfifyPupCP.mjs} +1 -1
- package/browser/esm/{CV5EGEjG5_-CPpP0.mjs → Bg5Di9GLNAkbqQ1P.mjs} +3 -3
- package/browser/esm/{C2VbEI_XVAoseAwa.mjs → BnC4-27Igwb8oDf2.mjs} +2 -2
- package/browser/esm/{CQYjO777cmAznUzK.mjs → Bt8_m94tBdks209L.mjs} +1 -1
- package/browser/esm/{C16ycKja6zG0crV_.mjs → BudSIfXBAsTxvu-K.mjs} +17836 -15712
- package/browser/esm/{DvAaxH6z_tGvrRzl.mjs → C9u8FUewte5ugUjH.mjs} +686 -686
- package/browser/esm/{DEiPS3Dr-s4fPbVZ.mjs → CBYMTDzMf1Vh7pkw.mjs} +1 -1
- package/browser/esm/{Dyq_ivuHvlXLwPCl.mjs → CNdjyofiRu6CYOrr.mjs} +1106 -1102
- package/browser/esm/{PcHFjNzQsE54POri.mjs → CRkYR-siY2C994KV.mjs} +1 -1
- package/browser/esm/{C5E6zSGAALWf61n4.mjs → CTe2qfmIUEad6FJv.mjs} +2 -2
- package/browser/esm/{BoV6zPBnfqCBCqZ7.mjs → CUzYuYTTGsChC_kZ.mjs} +3841 -3148
- package/browser/esm/CdEO8CEee6lEhabA.mjs +117 -0
- package/browser/esm/{S2dNNx1a5ydRnARM.mjs → CfRqiPDg6RBTg1EN.mjs} +2 -2
- package/browser/esm/{ClbvFbFzFzXLBKNN.mjs → CndRBvVfQUJIYRRj.mjs} +50 -50
- package/browser/esm/{BnG31I6Oj_HEtSPS.mjs → CwOPLXU3-9ZHGyOT.mjs} +1 -1
- package/browser/esm/{CHU6iu_WGlm7fLET.mjs → Cxjxk0ncRKx80I-w.mjs} +1 -1
- package/browser/esm/D2RZh0O9neOsyLAE.mjs +281 -0
- package/browser/esm/{BkBhLS0l6z8sxI6D.mjs → D64dM68B1pKYFzdP.mjs} +2 -2
- package/browser/esm/{BVDiOXGMc5_FMGfy.mjs → D9xNz46kAfXMZzp4.mjs} +2 -2
- package/browser/esm/{zlLuW405RSguy4Kn.mjs → DK899HhWX1HINMC1.mjs} +53 -53
- package/browser/esm/{B7aUIvgUjncMMD_i.mjs → DPhGQLNGmDZwODwJ.mjs} +5 -4
- package/browser/esm/{gssVX_FH1XFN-twD.mjs → DVroRnhi-5IDXNgM.mjs} +1 -1
- package/{node/esm/CZICGK_ss0HoGHCP.mjs → browser/esm/DZiivy0NmO1Vnyzk.mjs} +2 -2
- package/browser/esm/{ClPfI4lODvCece29.mjs → DgrAuRD2qr2DvFeJ.mjs} +61 -61
- package/browser/esm/{CU3DmJ-YnVVrC1_k.mjs → DobHLF6VjHr7Xi40.mjs} +1 -1
- package/browser/esm/{CaB7J-xgfKO2uAkG.mjs → DwZCT7DZiiXoTweg.mjs} +2 -2
- package/browser/esm/{BMyDRQ716j79h_bH.mjs → DwwR3O2sEZApPSTF.mjs} +6 -6
- package/browser/esm/{DLLE0FZNsKxbBzRn.mjs → Tah7cnFb_HNZdLtj.mjs} +45 -45
- package/browser/esm/{Dlmig06rIo7cInRk.mjs → fXWUMDhZ5yMSO629.mjs} +1 -1
- package/browser/esm/{DWNzqw7DUKwoxjri.mjs → hCQJcmIzPDxDEv2q.mjs} +2 -2
- package/browser/esm/index.mjs +679 -542
- package/browser/esm/{BFagR2JeWs74iAG3.mjs → qO-ujUrgq6H3TQix.mjs} +1 -1
- package/browser/esm/w6Jea0TiclPrYZ2M.mjs +1703 -0
- package/browser/esm/yuhcOYw6SHQ-RCm3.mjs +114 -0
- package/node/esm/-TA0MneBDKdGhsib.mjs +8668 -0
- package/node/esm/{B21JjOLghRoDOrkx.mjs → B-HUPAcqvK0eeeCz.mjs} +1 -1
- package/node/esm/{DNRhGK-8Tr9xcRyc.mjs → BL2iiEoqxDEV2Xrg.mjs} +3 -3
- package/node/esm/{D1TKBVmoKGAXf37B.mjs → BNXLOEddJ6O9gYws.mjs} +2 -2
- package/node/esm/{BrCKGFRsX_ezFJ4B.mjs → BSvOluusoDM4z_dx.mjs} +15 -15
- package/node/esm/{BIwObuhTJYf0jpUa.mjs → BskP3b8vUoIOGLY6.mjs} +2 -2
- package/node/esm/{2Kihw_-5lVTEnwMa.mjs → Btw4148Ot8ifhNc1.mjs} +1 -1
- package/node/esm/{BqiexuA89caYnAPz.mjs → C14-R6tifRh7pc0p.mjs} +1 -1
- package/node/esm/{DUTskXCXref-IJnI.mjs → C99zzq8DImQXi4BQ.mjs} +47 -47
- package/node/esm/{D8zEN-6ZdDqDvTxM.mjs → CBuEu5Jk-LfaDy-H.mjs} +61 -61
- package/node/esm/{yavzZOiZW_EjG9lE.mjs → CG-qBU5BAaVz7e-P.mjs} +1 -1
- package/node/esm/CPI58duc0j0a-HpJ.mjs +115 -0
- package/node/esm/{CCN5vD410obwdz38.mjs → CRt3vXe6YmXzqk3H.mjs} +15 -14
- package/node/esm/{CzXT00vrQa1_gvW9.mjs → C_aL7CGS1lrNn1Ng.mjs} +1 -1
- package/node/esm/{CZiqiay42tFTrLI4.mjs → C_xf5Bz30VqiJjXn.mjs} +1 -1
- package/node/esm/{BIRq1kT7lLRzns9t.mjs → CiIymQN6aJCul62g.mjs} +9 -9
- package/node/esm/{CNCNJNg890KdgkWh.mjs → Ci_zLYmCD7e-C79O.mjs} +1 -1
- package/{browser/esm/D5np__Jb1euAyaLw.mjs → node/esm/CkRYLed8Mmn3giNg.mjs} +2 -2
- package/node/esm/D3ptRKzASqBut1DE.mjs +117 -0
- package/node/esm/{cGwrLA1RCE-WhJ7w.mjs → D4ROK9UwDpS6jO3Z.mjs} +1 -1
- package/node/esm/{mFiBSM7XgBHV9AY7.mjs → D8hO07ToAibIuniw.mjs} +1535 -1531
- package/node/esm/{CDHdgJXH2vS71WMc.mjs → DUTmDHbFbhLDT4F3.mjs} +1 -1
- package/node/esm/{CGp6VZL-gZa9Uezx.mjs → DV5CU37aEbFbWFL0.mjs} +1 -1
- package/node/esm/{De2IONBxQhz-Qbyh.mjs → DdoiuKg9BKubtF1V.mjs} +1 -1
- package/node/esm/{Db0v7zXNnyjBIjjI.mjs → DggQ23jKMpwhENfa.mjs} +2 -2
- package/node/esm/{CwePQwTILHHjGDkZ.mjs → DhS6yWjrrSNIJMsn.mjs} +204 -204
- package/node/esm/{D_t5AUxSm7_icjzq.mjs → DhTya_mhmN53vskv.mjs} +1 -1
- package/node/esm/{DOU54VsOjG-m-NyQ.mjs → Dn1M7YWi25DeeYUb.mjs} +1 -1
- package/node/esm/{DkwIPzKc3UwdUIfM.mjs → DrCf6ITcBhVOFpRj.mjs} +6 -6
- package/node/esm/{D2KBymQJd1XhpeQD.mjs → DxazKtROyaI51dWl.mjs} +1 -1
- package/node/esm/{D6e2z7eZpxOJXHc7.mjs → Q_S1g46ZOTrdhTae.mjs} +1 -1
- package/node/esm/{OVfaSb506tNSIvbv.mjs → Vocy-I9dKzZMr0Ct.mjs} +19038 -16822
- package/node/esm/ZXPFcsT2zrALCZux.mjs +289 -0
- package/node/esm/{857CIBgQgGpnqrXk.mjs → eimUGjiIP-b8HiM6.mjs} +55 -55
- package/node/esm/{Bbf1Pm9Gk7YpLTvg.mjs → icn2nX5Z8e_3mNAv.mjs} +1 -1
- package/node/esm/index.mjs +740 -603
- package/node/esm/{Ct3h15sCus4Tgt6M.mjs → lGJ42sHqg5if2bba.mjs} +624 -616
- package/node/esm/{CdJHUJSBRHZoryPe.mjs → pYtP7wPyS96NQyXS.mjs} +59 -59
- package/package.json +6 -6
- package/resources/locales/de/model.msg.json +8 -2
- package/resources/locales/en/model.msg.json +9 -2
- package/types/scripting-api.json +10619 -10446
- package/types/scripting-enums.json +20 -1
- package/types/scripting.d.ts +1233 -296
- package/types/src/{sheet → anomalies}/_Anomalies.d.ts +3 -3
- package/types/src/anomalies/_FocusTable.d.ts +11 -0
- package/types/src/{sheet/_AnomalyFormulaChecks.d.ts → anomalies/_FormulaChecks.d.ts} +10 -2
- package/types/src/{sheet/_AnomalyLabelChecks.d.ts → anomalies/_LabelChecks.d.ts} +1 -1
- package/types/src/anomalies/_LiteralChecks.d.ts +35 -0
- package/types/src/anomalies/_SeriesChecks.d.ts +13 -0
- package/types/src/calculation/Calculation.d.ts +47 -9
- package/types/src/calculation/ExternalBookBindings.d.ts +2 -3
- package/types/src/calculation/ICalculation.d.ts +96 -9
- package/types/src/calculation/NamedFormulaCollection.d.ts +104 -8
- package/types/src/calculation/_CloneBoundary.d.ts +1 -1
- package/types/src/calculation/compiler/ASTTypes.d.ts +6 -2
- package/types/src/calculation/compiler/Types.d.ts +8 -0
- package/types/src/calculation/engine/CalcBackend.d.ts +104 -6
- package/types/src/calculation/executor/CalcExecutor.d.ts +73 -22
- package/types/src/calculation/executor/CalcExecutorUtils.d.ts +17 -1
- package/types/src/calculation/executor/_WhatIf.d.ts +50 -0
- package/types/src/calculation/formula/FormulaBlock.d.ts +4 -3
- package/types/src/calculation/formula/IFormulaBlock.d.ts +5 -0
- package/types/src/calculation/functions/_DataTableFunction.d.ts +14 -0
- package/types/src/calculation/grid/CalcGrid.d.ts +4 -6
- package/types/src/calculation/grid/CalcGridBackend.d.ts +5 -27
- package/types/src/calculation/grid/CalcGridProxy.d.ts +0 -2
- package/types/src/calculation/grid/CalcGridUtils.d.ts +4 -2
- package/types/src/calculation/grid/ICalcGrid.d.ts +16 -12
- package/types/src/calculation/grid/_CalcRequest.d.ts +17 -5
- package/types/src/calculation/spatial/FormulaSpatialValue.d.ts +2 -0
- package/types/src/calculation/spatial/SpillEntry.d.ts +16 -2
- package/types/src/calculation/state/CalcNode.d.ts +0 -1
- package/types/src/calculation/state/CalcScope.d.ts +29 -0
- package/types/src/calculation/state/CalcState.d.ts +26 -4
- package/types/src/calculation/state/CalculationContext.d.ts +28 -1
- package/types/src/calculation/state/DeferredCalls.d.ts +260 -0
- package/types/src/calculation/state/IContextContainer.d.ts +20 -0
- package/types/src/calculation/state/_PendingOverlayGrid.d.ts +6 -0
- package/types/src/calculation/state/_WhatIfLayer.d.ts +91 -0
- package/types/src/cell/ICell.d.ts +53 -34
- package/types/src/cellControl/CellControl.d.ts +67 -0
- package/types/src/cellControl/CellControlCollection.d.ts +29 -0
- package/types/src/cellControl/CellControlRegistry.d.ts +47 -0
- package/types/src/cellControl/ICellControl.d.ts +99 -0
- package/types/src/cellControl/ICellControlCollection.d.ts +67 -0
- package/types/src/cellControl/index.d.ts +4 -0
- package/types/src/cellRange/ICellRange.d.ts +207 -59
- package/types/src/cellRange/ICellRanges.d.ts +4 -3
- package/types/src/chart/layout/ChartLayout.d.ts +5 -1
- package/types/src/chart/resolve/_Resolve.d.ts +10 -0
- package/types/src/chart/resolve/_ResolvedChart.d.ts +5 -2
- package/types/src/collections/ISparseGrid.d.ts +11 -2
- package/types/src/collections/MixedTypedArrayList.d.ts +8 -2
- package/types/src/collections/SparseGrid.d.ts +3 -8
- package/types/src/condition/AnchoredConditional.d.ts +2 -2
- package/types/src/externalBook/IExternalBook.d.ts +3 -4
- package/types/src/fetch/Fetcher.d.ts +15 -0
- package/types/src/fetch/IFetcher.d.ts +47 -0
- package/types/src/fetch/_WorkbookFetch.d.ts +43 -0
- package/types/src/fetch/index.d.ts +3 -0
- package/types/src/fill/PaintUtils.d.ts +3 -1
- package/types/src/hyperlink/IHyperlink.d.ts +10 -0
- package/types/src/hyperlink/_Hyperlink.d.ts +4 -1
- package/types/src/index.d.ts +2 -1
- package/types/src/named/INamedCollection.d.ts +36 -0
- package/types/src/named/NamedCollection.d.ts +18 -0
- package/types/src/primitives/AsyncValue.d.ts +58 -0
- package/types/src/resource/IResource.d.ts +9 -0
- package/types/src/resource/IResourceCollection.d.ts +4 -0
- package/types/src/resource/Resource.d.ts +2 -0
- package/types/src/resource/_AddResource.d.ts +13 -0
- package/types/src/richData/CellImage.d.ts +95 -0
- package/types/src/richData/Hyperlink.d.ts +49 -0
- package/types/src/richData/IRichDataCollection.d.ts +76 -0
- package/types/src/richData/IRichDataKind.d.ts +55 -11
- package/types/src/richData/RichArray.d.ts +42 -0
- package/types/src/richData/RichDataCollection.d.ts +23 -0
- package/types/src/richData/RichDataRegistry.d.ts +46 -14
- package/types/src/richData/RichDataValues.d.ts +20 -0
- package/types/src/richData/RichRecord.d.ts +68 -0
- package/types/src/richData/RichText.d.ts +5 -5
- package/types/src/richData/index.d.ts +6 -0
- package/types/src/scripting/FunctionArguments.d.ts +17 -1
- package/types/src/scripting/FunctionCollection.d.ts +8 -0
- package/types/src/scripting/Scripts.d.ts +10 -0
- package/types/src/scripting/TypedFunction.d.ts +2 -0
- package/types/src/sheet/ICellContainerOptions.d.ts +6 -0
- package/types/src/sheet/IWorksheet.d.ts +24 -17
- package/types/src/sheet/SheetCell.d.ts +17 -1
- package/types/src/sheet/SheetRange.d.ts +8 -2
- package/types/src/sheet/SheetRanges.d.ts +2 -2
- package/types/src/sheet/Worksheet.d.ts +110 -56
- package/types/src/sheet/_ListenerAnchor.d.ts +7 -1
- package/types/src/sheet/_ScalarListFactory.d.ts +54 -6
- package/types/src/sheet/_SheetMutations.d.ts +4 -1
- package/types/src/sheet/_SheetStateTypes.d.ts +23 -11
- package/types/src/workbook/IWorkbook.d.ts +40 -1
- package/types/src/workbook/Workbook.d.ts +25 -3
- package/types/src/workbook/WorkbookRanges.d.ts +1 -1
- package/browser/esm/BGOFfpxr2jPIdqmV.mjs +0 -40
- package/browser/esm/f1IoRb7tEb0QmCSt.mjs +0 -110
- package/browser/esm/nvU0ClAbf0g94YBK.mjs +0 -1695
- package/node/esm/B084DssTcdBheTp_.mjs +0 -7966
- package/node/esm/Df1bL6VFvrqIdSLB.mjs +0 -40
- package/node/esm/DrTZbfemSLq2mseG.mjs +0 -111
- package/types/src/dataTable/DataTable.d.ts +0 -67
- package/types/src/dataTable/DataTableCollection.d.ts +0 -19
- package/types/src/dataTable/IDataTable.d.ts +0 -99
- package/types/src/dataTable/IDataTableCollection.d.ts +0 -18
- package/types/src/dataTable/index.d.ts +0 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
7
|
+
import { t as e } from "./CG-qBU5BAaVz7e-P.mjs";
|
|
8
8
|
import { CommonUtils as t, ExpectedError as r, TypedObject as n, defineLazyModule as a, loadResource as i, messageKey as o } from "@sheetxl/utils";
|
|
9
9
|
import { parseFont as s, parseFontFamily as l } from "css-font-parser";
|
|
10
10
|
var u, d;
|
|
@@ -564,7 +564,7 @@ var w = e({
|
|
|
564
564
|
}), _ = {
|
|
565
565
|
getDeviceScale: () => w.getDeviceScale(),
|
|
566
566
|
getAdvanceBuilders: () => w.getAdvanceBuilders()
|
|
567
|
-
}, D = a("sdk:fonts-wasm", () => import("./
|
|
567
|
+
}, D = a("sdk:fonts-wasm", () => import("./DggQ23jKMpwhENfa.mjs"), { prefetch: !1 }), x = async () => (await D.load()).wasm, F = /^\p{White_Space}$/u, C = (e) => Math.max(0, Math.floor(e + .5)) || 0, N = class e {
|
|
568
568
|
constructor(e, t) {
|
|
569
569
|
this._perEm = /* @__PURE__ */ new Map(), this._units = /* @__PURE__ */ new Map(), this._unitsPerEm = 0, this._hinting = null, this._measureMissing = null, this._rows = null, this._native = null, this._nativePending = [], this.family = e.family, this.weight = e.weight, this.italic = e.italic, this._vertical = t;
|
|
570
570
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
7
|
+
import { t as e } from "./Btw4148Ot8ifhNc1.mjs";
|
|
8
8
|
import { FormulaError as t } from "@sheetxl/primitives";
|
|
9
9
|
import { messageKey as n } from "@sheetxl/utils";
|
|
10
10
|
var s = ["linkedCell", "listFillRange"], r = /^(?:'((?:[^']|'')+)'|([^'!]+))!([^!]+)$/, i = Object.freeze([]), o = n("op.setControlCaption"), l = n("op.setControlMacro"), a = n("op.setControlLink"), c = n("op.setControlValue"), u = n("op.setControlRange"), d = n("op.setControlItems"), h = class extends e {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { t } from "./
|
|
8
|
-
import { D as e, O as n, T as r, _ as o, a, c as s, ct as i, d as l, h as c, i as h, m as u, r as d, st as g, u as p } from "./
|
|
9
|
-
import { t as m } from "./
|
|
10
|
-
import { t as _ } from "./
|
|
7
|
+
import { t } from "./Btw4148Ot8ifhNc1.mjs";
|
|
8
|
+
import { D as e, O as n, T as r, _ as o, a, c as s, ct as i, d as l, h as c, i as h, m as u, r as d, st as g, u as p } from "./BL2iiEoqxDEV2Xrg.mjs";
|
|
9
|
+
import { t as m } from "./Dn1M7YWi25DeeYUb.mjs";
|
|
10
|
+
import { t as _ } from "./icn2nX5Z8e_3mNAv.mjs";
|
|
11
11
|
import { ExpectedError as w, messageKey as f } from "@sheetxl/utils";
|
|
12
12
|
var C = [
|
|
13
|
-
[() => import("./
|
|
13
|
+
[() => import("./Ci_zLYmCD7e-C79O.mjs"), [
|
|
14
14
|
"bentConnector2",
|
|
15
15
|
"bentConnector3",
|
|
16
16
|
"bentConnector4",
|
|
@@ -23,7 +23,7 @@ var C = [
|
|
|
23
23
|
"lineInv",
|
|
24
24
|
"straightConnector1"
|
|
25
25
|
]],
|
|
26
|
-
[() => import("./
|
|
26
|
+
[() => import("./C_xf5Bz30VqiJjXn.mjs"), [
|
|
27
27
|
"rect",
|
|
28
28
|
"round1Rect",
|
|
29
29
|
"round2DiagRect",
|
|
@@ -34,7 +34,7 @@ var C = [
|
|
|
34
34
|
"snip2SameRect",
|
|
35
35
|
"snipRoundRect"
|
|
36
36
|
]],
|
|
37
|
-
[() => import("./
|
|
37
|
+
[() => import("./D4ROK9UwDpS6jO3Z.mjs"), [
|
|
38
38
|
"mathDivide",
|
|
39
39
|
"mathEqual",
|
|
40
40
|
"mathMinus",
|
|
@@ -42,7 +42,7 @@ var C = [
|
|
|
42
42
|
"mathNotEqual",
|
|
43
43
|
"mathPlus"
|
|
44
44
|
]],
|
|
45
|
-
[() => import("./
|
|
45
|
+
[() => import("./DxazKtROyaI51dWl.mjs"), [
|
|
46
46
|
"flowChartAlternateProcess",
|
|
47
47
|
"flowChartCollate",
|
|
48
48
|
"flowChartConnector",
|
|
@@ -73,7 +73,7 @@ var C = [
|
|
|
73
73
|
"flowChartSummingJunction",
|
|
74
74
|
"flowChartTerminator"
|
|
75
75
|
]],
|
|
76
|
-
[() => import("./
|
|
76
|
+
[() => import("./DV5CU37aEbFbWFL0.mjs"), [
|
|
77
77
|
"bentArrow",
|
|
78
78
|
"bentUpArrow",
|
|
79
79
|
"chevron",
|
|
@@ -106,7 +106,7 @@ var C = [
|
|
|
106
106
|
"upDownArrowCallout",
|
|
107
107
|
"uturnArrow"
|
|
108
108
|
]],
|
|
109
|
-
[() => import("./
|
|
109
|
+
[() => import("./DhTya_mhmN53vskv.mjs"), [
|
|
110
110
|
"accentBorderCallout1",
|
|
111
111
|
"accentBorderCallout2",
|
|
112
112
|
"accentBorderCallout3",
|
|
@@ -124,7 +124,7 @@ var C = [
|
|
|
124
124
|
"wedgeRectCallout",
|
|
125
125
|
"wedgeRoundRectCallout"
|
|
126
126
|
]],
|
|
127
|
-
[() => import("./
|
|
127
|
+
[() => import("./C14-R6tifRh7pc0p.mjs"), [
|
|
128
128
|
"doubleWave",
|
|
129
129
|
"ellipseRibbon",
|
|
130
130
|
"ellipseRibbon2",
|
|
@@ -147,7 +147,7 @@ var C = [
|
|
|
147
147
|
"verticalScroll",
|
|
148
148
|
"wave"
|
|
149
149
|
]],
|
|
150
|
-
[() => import("./
|
|
150
|
+
[() => import("./DdoiuKg9BKubtF1V.mjs"), [
|
|
151
151
|
"actionButtonBackPrevious",
|
|
152
152
|
"actionButtonBeginning",
|
|
153
153
|
"actionButtonBlank",
|
|
@@ -167,7 +167,7 @@ var C = [
|
|
|
167
167
|
"plaqueTabs",
|
|
168
168
|
"squareTabs"
|
|
169
169
|
]],
|
|
170
|
-
[() => import("./
|
|
170
|
+
[() => import("./Q_S1g46ZOTrdhTae.mjs"), [
|
|
171
171
|
"arc",
|
|
172
172
|
"bevel",
|
|
173
173
|
"blockArc",
|
|
@@ -226,7 +226,7 @@ var C = [
|
|
|
226
226
|
}
|
|
227
227
|
return e;
|
|
228
228
|
};
|
|
229
|
-
}, b = y(() => import("./
|
|
229
|
+
}, b = y(() => import("./BskP3b8vUoIOGLY6.mjs")), S = y(() => import("./CkRYLed8Mmn3giNg.mjs")), v = null, j = (t) => {
|
|
230
230
|
const e = /* @__PURE__ */ new Map();
|
|
231
231
|
for (const [n, r] of Object.entries(t.BUILT_IN)) {
|
|
232
232
|
const { cxn: o } = r;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { i as t, n as e, r as n, t as r } from "./
|
|
7
|
+
import { i as t, n as e, r as n, t as r } from "./CiIymQN6aJCul62g.mjs";
|
|
8
8
|
var s = 6e4, a = Math.PI / 180 / s, c = 108e5 / Math.PI, o = /^[+-]?\d+$/, u = (t) => o.test(t) ? Number(t) : t, i = /* @__PURE__ */ new WeakMap();
|
|
9
9
|
function h(t) {
|
|
10
10
|
let e = i.get(t);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { ScalarType as
|
|
10
|
-
import { CommonUtils as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
var
|
|
7
|
+
import { Fi as e, hn as t } from "./Vocy-I9dKzZMr0Ct.mjs";
|
|
8
|
+
import { a as n, i as s, n as o, r, t as i } from "./D3ptRKzASqBut1DE.mjs";
|
|
9
|
+
import { ScalarType as a } from "@sheetxl/primitives";
|
|
10
|
+
import { CommonUtils as c, DefaultLanguagePackService as f, fetchLocaleResource as l } from "@sheetxl/utils";
|
|
11
|
+
import m from "@sheetxl/formulas";
|
|
12
|
+
import u from "@sheetxl/formulas-extended";
|
|
13
|
+
var d = [
|
|
14
14
|
{
|
|
15
15
|
pkg: "@sheetxl/formulas",
|
|
16
16
|
id: "@sheetxl/formulas",
|
|
@@ -26,41 +26,41 @@ var f = [
|
|
|
26
26
|
id: "@sheetxl/sdk:grammar",
|
|
27
27
|
files: ["grammar.json"]
|
|
28
28
|
}
|
|
29
|
-
],
|
|
30
|
-
function
|
|
29
|
+
], p = /* @__PURE__ */ new Set();
|
|
30
|
+
function h(e, t) {
|
|
31
31
|
const n = `${e.id}\0${t}`;
|
|
32
|
-
|
|
32
|
+
p.has(n) || (p.add(n), f.registerPack(e.id, t, async () => {
|
|
33
33
|
const n = { tag: t };
|
|
34
34
|
return await Promise.all(e.files.map(async (s) => {
|
|
35
|
-
const o = await
|
|
35
|
+
const o = await l(e.pkg, `${t}/${s}`).catch(() => {});
|
|
36
36
|
o && ("functions.json" === s ? n.functions = o : Object.assign(n, o));
|
|
37
37
|
})), n;
|
|
38
38
|
}));
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
if (e && "en" !== e && !e.startsWith("en-")) for (const t of
|
|
40
|
+
function g(e) {
|
|
41
|
+
if (e && "en" !== e && !e.startsWith("en-")) for (const t of d) h(t, e);
|
|
42
42
|
}
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
const
|
|
47
|
-
if (!
|
|
48
|
-
let s =
|
|
43
|
+
var x = !1;
|
|
44
|
+
var y = /* @__PURE__ */ new WeakMap();
|
|
45
|
+
function j() {
|
|
46
|
+
const t = e(), n = t?.functionHelp;
|
|
47
|
+
if (!t || !n) return Promise.resolve(null);
|
|
48
|
+
let s = y.get(t);
|
|
49
49
|
return s || (s = n().then((e) => e && "object" == typeof e ? "default" in e ? {
|
|
50
50
|
functions: e.default,
|
|
51
51
|
enums: e.enums
|
|
52
52
|
} : {
|
|
53
53
|
functions: e,
|
|
54
54
|
enums: void 0
|
|
55
|
-
} : null).catch(() => null),
|
|
55
|
+
} : null).catch(() => null), y.set(t, s)), s;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
|
|
59
|
-
const n =
|
|
60
|
-
if (
|
|
57
|
+
function v(e, t) {
|
|
58
|
+
x || (x = !0, g(f.getActive()), f.addChangeListener((e) => g(e)));
|
|
59
|
+
const n = m(e, k);
|
|
60
|
+
if (u(e, k, n), k(n, e, s(e), o.declarations, r, i), t) for (const s of t) s(e, k, n);
|
|
61
61
|
return n;
|
|
62
62
|
}
|
|
63
|
-
var
|
|
63
|
+
var k = (s, o, r, i, f, l, m) => {
|
|
64
64
|
const u = /* @__PURE__ */ new Map(), d = (e) => {
|
|
65
65
|
let t = u.get(e);
|
|
66
66
|
if (!t) {
|
|
@@ -68,30 +68,30 @@ var x = (r, i, c, a, f, l, m) => {
|
|
|
68
68
|
if (!n) return;
|
|
69
69
|
t = {
|
|
70
70
|
id: e,
|
|
71
|
-
type: "string" === n.s ?
|
|
71
|
+
type: "string" === n.s ? a.String : a.Number,
|
|
72
72
|
members: n.m
|
|
73
73
|
}, u.set(e, t);
|
|
74
74
|
}
|
|
75
75
|
return t;
|
|
76
|
-
}, p = Object.keys(
|
|
77
|
-
for (const
|
|
78
|
-
const m = a
|
|
79
|
-
let
|
|
80
|
-
const v = new
|
|
76
|
+
}, p = Object.keys(i);
|
|
77
|
+
for (const a of p) {
|
|
78
|
+
const m = i[a], u = a, { decl: p, enumIds: h } = n(u, m, d), g = r[m.fn ?? u];
|
|
79
|
+
let x, y;
|
|
80
|
+
const v = new t(p, g, o, async (t) => {
|
|
81
81
|
if (!f) return null;
|
|
82
82
|
let n;
|
|
83
|
-
if (
|
|
83
|
+
if (x) n = x;
|
|
84
84
|
else {
|
|
85
85
|
const e = await f();
|
|
86
|
-
n = e.default,
|
|
86
|
+
n = e.default, x = n, y = e.enums;
|
|
87
87
|
}
|
|
88
88
|
const s = n?.[u];
|
|
89
89
|
if (!s) return console.warn(`No descriptor found for built-in function: ${u}`), null;
|
|
90
|
-
const
|
|
91
|
-
let a =
|
|
90
|
+
const o = await j(), r = o?.functions?.[u], i = s.p;
|
|
91
|
+
let a = i ? { ...i } : c.EmptyObject;
|
|
92
92
|
const m = Object.keys(a);
|
|
93
93
|
if (m.length > 0) for (let e = 0; e < m.length; e++) {
|
|
94
|
-
const t = m[e], n =
|
|
94
|
+
const t = m[e], n = i[t], s = r?.p?.[t];
|
|
95
95
|
a[t] = {
|
|
96
96
|
description: s?.d ?? n.d ?? "",
|
|
97
97
|
example: s?.e ?? n.e,
|
|
@@ -100,18 +100,18 @@ var x = (r, i, c, a, f, l, m) => {
|
|
|
100
100
|
}
|
|
101
101
|
const d = {
|
|
102
102
|
name: u,
|
|
103
|
-
nameLocal:
|
|
104
|
-
summary:
|
|
105
|
-
category:
|
|
103
|
+
nameLocal: e()?.functions?.[u] ?? u,
|
|
104
|
+
summary: r?.s ?? s.s ?? "",
|
|
105
|
+
category: r?.c ?? s.c ?? l ?? null,
|
|
106
106
|
parameters: a,
|
|
107
107
|
deprecated: s.h ?? !1,
|
|
108
|
-
links: s.l ??
|
|
108
|
+
links: s.l ?? c.EmptyArray
|
|
109
109
|
};
|
|
110
|
-
for (const e of
|
|
110
|
+
for (const e of h) {
|
|
111
111
|
const t = [
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
o?.enums?.[`${u}:${e}`],
|
|
113
|
+
o?.enums?.[e],
|
|
114
|
+
y?.[e]
|
|
115
115
|
].filter((e) => void 0 !== e);
|
|
116
116
|
if (0 === t.length) continue;
|
|
117
117
|
const n = {};
|
|
@@ -127,7 +127,7 @@ var x = (r, i, c, a, f, l, m) => {
|
|
|
127
127
|
}
|
|
128
128
|
return d;
|
|
129
129
|
}, !0);
|
|
130
|
-
|
|
130
|
+
s.set(u, v);
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
|
-
export {
|
|
133
|
+
export { v as initializeFunctions };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
8
|
-
import {
|
|
9
|
-
import { g as c, v as l, w as h, x as u } from "./
|
|
7
|
+
import { t as e } from "./Btw4148Ot8ifhNc1.mjs";
|
|
8
|
+
import { Mr as t, R as n, an as o, in as r, rn as s, ya as i, z as a } from "./Vocy-I9dKzZMr0Ct.mjs";
|
|
9
|
+
import { g as c, v as l, w as h, x as u } from "./BL2iiEoqxDEV2Xrg.mjs";
|
|
10
10
|
import { CommonUtils as d, CoordUtils as m, ExpectedError as p, messageKey as g, t as _ } from "@sheetxl/utils";
|
|
11
|
-
var b = class extends
|
|
11
|
+
var b = class extends s {
|
|
12
12
|
constructor(e) {
|
|
13
13
|
super(e), this._optionsMember = e;
|
|
14
14
|
}
|
|
@@ -25,7 +25,7 @@ var b = class extends r {
|
|
|
25
25
|
return !!super.isDeleted() || ((this._optionsMovable?.getParent?.())?.isDeleted() ?? !1);
|
|
26
26
|
}
|
|
27
27
|
getAnchorType() {
|
|
28
|
-
return
|
|
28
|
+
return t.Type.Absolute;
|
|
29
29
|
}
|
|
30
30
|
setAnchorType(e) {
|
|
31
31
|
return this;
|
|
@@ -127,7 +127,7 @@ var b = class extends r {
|
|
|
127
127
|
this._getEmitter().notify("onBoundsChange"), this._forwardLayout();
|
|
128
128
|
}
|
|
129
129
|
_fromJSON(e) {
|
|
130
|
-
const
|
|
130
|
+
const n = e.anchor?.tl ?? d.EmptyObject, o = e.anchor?.br ?? d.EmptyObject;
|
|
131
131
|
this._updateState({
|
|
132
132
|
offsets: {
|
|
133
133
|
tl: {
|
|
@@ -145,12 +145,12 @@ var b = class extends r {
|
|
|
145
145
|
flipV: e.flipV ?? !1,
|
|
146
146
|
lockAspectRatio: e.lockAspect ?? null,
|
|
147
147
|
locks: e.locks ?? null,
|
|
148
|
-
anchorType:
|
|
148
|
+
anchorType: t.Type.Absolute,
|
|
149
149
|
pixelBounds: {
|
|
150
|
-
x:
|
|
151
|
-
y:
|
|
152
|
-
width:
|
|
153
|
-
height:
|
|
150
|
+
x: n.x ?? 0,
|
|
151
|
+
y: n.y ?? 0,
|
|
152
|
+
width: o.x ?? 0,
|
|
153
|
+
height: o.y ?? 0
|
|
154
154
|
}
|
|
155
155
|
}, { description: g("op.loadMovable") });
|
|
156
156
|
}
|
|
@@ -176,7 +176,7 @@ var b = class extends r {
|
|
|
176
176
|
const t = super.toJSON(e);
|
|
177
177
|
return delete t.anchorType, t;
|
|
178
178
|
}
|
|
179
|
-
}, f = class extends
|
|
179
|
+
}, f = class extends i {
|
|
180
180
|
constructor(e, t) {
|
|
181
181
|
super(t), this._group = e;
|
|
182
182
|
}
|
|
@@ -335,18 +335,18 @@ var b = class extends r {
|
|
|
335
335
|
async ungroup(e) {
|
|
336
336
|
const t = this.getMovable();
|
|
337
337
|
if (!t || this.isDeleted()) return [];
|
|
338
|
-
const
|
|
339
|
-
this._protectionCheck(
|
|
340
|
-
const
|
|
338
|
+
const o = e?.description ?? g("op.ungroupDrawings");
|
|
339
|
+
this._protectionCheck(o);
|
|
340
|
+
const r = t.getRange().getWorksheet(), s = n(r.getView().getMovableSelection());
|
|
341
341
|
return await this.doBatch(() => {
|
|
342
|
-
const t = this._free(this._members_(),
|
|
342
|
+
const t = this._free(this._members_(), o);
|
|
343
343
|
this.delete(e);
|
|
344
|
-
const
|
|
345
|
-
return
|
|
344
|
+
const n = this._transactions.getPendingTransaction();
|
|
345
|
+
return n && a(n, r, t, {
|
|
346
346
|
autoSelect: e?.autoSelect ?? !0,
|
|
347
347
|
autoSelectRestore: e?.autoSelectRestore
|
|
348
|
-
},
|
|
349
|
-
}, { description:
|
|
348
|
+
}, s), t;
|
|
349
|
+
}, { description: o });
|
|
350
350
|
}
|
|
351
351
|
_free(e, t) {
|
|
352
352
|
const n = this.getMovable(), o = n.getParent()?.getMovables() ?? n.getRange().getWorksheet().getMovables(), r = n.getZIndex(), s = this._createOptions.beginPersistResource();
|
|
@@ -412,7 +412,7 @@ var b = class extends r {
|
|
|
412
412
|
}
|
|
413
413
|
async _prepareMember(e) {
|
|
414
414
|
if (!e?.type) throw new p("A member needs a type.");
|
|
415
|
-
return this._protectionCheck(g("op.insertDrawing")), await
|
|
415
|
+
return this._protectionCheck(g("op.insertDrawing")), await o({
|
|
416
416
|
type: e.type,
|
|
417
417
|
json: e.json
|
|
418
418
|
}), e;
|
|
@@ -465,15 +465,15 @@ var b = class extends r {
|
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
467
|
async _groupMembers(e, t) {
|
|
468
|
-
const
|
|
469
|
-
if (this._protectionCheck(
|
|
470
|
-
const
|
|
471
|
-
for (const t of e) if (!
|
|
472
|
-
const
|
|
473
|
-
if (
|
|
474
|
-
const
|
|
475
|
-
if (!
|
|
476
|
-
const l =
|
|
468
|
+
const o = t?.description ?? g("op.groupDrawings");
|
|
469
|
+
if (this._protectionCheck(o), !e || e.length < 2) throw new p(_("error.movable.groupTooFew"));
|
|
470
|
+
const r = this._members_();
|
|
471
|
+
for (const t of e) if (!r.includes(t)) throw new p(_("error.movable.groupNotSameGroup"));
|
|
472
|
+
const s = r.filter((t) => e.includes(t));
|
|
473
|
+
if (s.length === r.length) throw new p(_("error.movable.groupWholeGroup"));
|
|
474
|
+
const i = this.getMovable();
|
|
475
|
+
if (!i) throw new p("The group is not placed.");
|
|
476
|
+
const l = i.getRange().getWorksheet(), u = n(l.getView().getMovableSelection()), d = c.unionBounds(s.map((e) => {
|
|
477
477
|
const t = e._getLocalPlacement();
|
|
478
478
|
return h(t.bounds, t.rotation);
|
|
479
479
|
})), m = this._createOptions.beginPersistResource();
|
|
@@ -493,24 +493,24 @@ var b = class extends r {
|
|
|
493
493
|
type: "group",
|
|
494
494
|
json: {
|
|
495
495
|
childBounds: { ...d },
|
|
496
|
-
members:
|
|
496
|
+
members: s.map((e) => e.toJSON(m.toResourceId.bind(m)))
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
};
|
|
500
500
|
t?.name && (e.content.name = t.name);
|
|
501
|
-
const
|
|
501
|
+
const n = this._beginCommit(o);
|
|
502
502
|
try {
|
|
503
|
-
for (const e of
|
|
504
|
-
const
|
|
505
|
-
for (const e of
|
|
503
|
+
for (const e of s) e.unselect();
|
|
504
|
+
const o = this._createMember(e, m.fromResourceId.bind(m)), i = s[s.length - 1], c = [];
|
|
505
|
+
for (const e of r) e === i ? c.push(o) : s.includes(e) || c.push(e);
|
|
506
506
|
this._updateState({ members: c });
|
|
507
|
-
for (const e of
|
|
508
|
-
return this._rebound(),
|
|
507
|
+
for (const e of s) e.getContent().delete();
|
|
508
|
+
return this._rebound(), a(n, l, [o], {
|
|
509
509
|
autoSelect: t?.autoSelect ?? !0,
|
|
510
510
|
autoSelectRestore: t?.autoSelectRestore
|
|
511
|
-
}, u),
|
|
511
|
+
}, u), n.commit(), this._members._notifyChange(), o;
|
|
512
512
|
} catch (e) {
|
|
513
|
-
throw
|
|
513
|
+
throw n.rollback(), e;
|
|
514
514
|
}
|
|
515
515
|
} finally {
|
|
516
516
|
m.endPersist();
|
|
@@ -525,7 +525,7 @@ var b = class extends r {
|
|
|
525
525
|
const r = n.filter((t) => t !== e);
|
|
526
526
|
if (this._updateState({ members: r }), 1 === r.length && this.getMovable()) {
|
|
527
527
|
const e = r[0], n = e.isSelected(), [s] = this._free(r, t?.description ?? g("op.deleteDrawing"));
|
|
528
|
-
this.delete(t), n &&
|
|
528
|
+
this.delete(t), n && a(o, s.getRange().getWorksheet(), [s], { autoSelect: !0 }, [e]);
|
|
529
529
|
} else 0 === r.length ? this.delete(t) : this._rebound();
|
|
530
530
|
o.commit(), this._members._notifyChange();
|
|
531
531
|
} catch (e) {
|
|
@@ -541,17 +541,17 @@ var b = class extends r {
|
|
|
541
541
|
s.splice(r, 1), s.splice(t, 0, e), this._updateState({ members: s }, { description: n }), this._members._notifyChange();
|
|
542
542
|
}
|
|
543
543
|
_createMember(e, t) {
|
|
544
|
-
const
|
|
544
|
+
const n = this, o = e.content?.type ?? "custom", s = this._createOptions;
|
|
545
545
|
let i;
|
|
546
546
|
const a = {
|
|
547
|
-
type:
|
|
547
|
+
type: o,
|
|
548
548
|
transactions: s.transactions,
|
|
549
549
|
beginPersistResource: s.beginPersistResource,
|
|
550
550
|
fromResourceId: t,
|
|
551
551
|
json: e.content?.json,
|
|
552
552
|
name: e.content?.name ?? null,
|
|
553
553
|
description: e.content?.description ?? null,
|
|
554
|
-
isReadOnly: () =>
|
|
554
|
+
isReadOnly: () => n.isReadOnly(),
|
|
555
555
|
deleteFromContainer: () => {
|
|
556
556
|
i?._deleteFromContent();
|
|
557
557
|
},
|
|
@@ -559,11 +559,11 @@ var b = class extends r {
|
|
|
559
559
|
getStyles: s.getStyles,
|
|
560
560
|
getRange: s.getRange,
|
|
561
561
|
addWatch: s.addWatch
|
|
562
|
-
}, l =
|
|
562
|
+
}, l = r(o, a, {
|
|
563
563
|
getMovable: () => i,
|
|
564
|
-
amend: (e) =>
|
|
565
|
-
isClosed: () =>
|
|
566
|
-
}), h = () =>
|
|
564
|
+
amend: (e) => n._amend(e),
|
|
565
|
+
isClosed: () => n._closed
|
|
566
|
+
}), h = () => n.getMovable(), u = () => n._members_().indexOf(i);
|
|
567
567
|
let d;
|
|
568
568
|
return i = new b({
|
|
569
569
|
content: l,
|
|
@@ -572,14 +572,14 @@ var b = class extends r {
|
|
|
572
572
|
beginPersistResource: s.beginPersistResource,
|
|
573
573
|
fromResourceId: t,
|
|
574
574
|
getParent: h,
|
|
575
|
-
onMemberPlacementChange: () =>
|
|
575
|
+
onMemberPlacementChange: () => n._rebound(),
|
|
576
576
|
place: (e) => {
|
|
577
|
-
const t =
|
|
578
|
-
return t ? c.placeInParent(t,
|
|
577
|
+
const t = n._drawnPlacement();
|
|
578
|
+
return t ? c.placeInParent(t, n._childBounds(), e) : null;
|
|
579
579
|
},
|
|
580
580
|
unplace: (e) => {
|
|
581
|
-
const t =
|
|
582
|
-
return t ? c.placeInChild(t,
|
|
581
|
+
const t = n._drawnPlacement();
|
|
582
|
+
return t ? c.placeInChild(t, n._childBounds(), e) : null;
|
|
583
583
|
},
|
|
584
584
|
coords: m.EmptyRange,
|
|
585
585
|
getRanges: (e) => h().getRanges(),
|
|
@@ -592,20 +592,20 @@ var b = class extends r {
|
|
|
592
592
|
height: 0
|
|
593
593
|
}),
|
|
594
594
|
getCoordsAtBounds: () => m.EmptyRange,
|
|
595
|
-
isProtected: () =>
|
|
596
|
-
moveToBackOnContainer: () =>
|
|
597
|
-
moveBackwardOnContainer: () =>
|
|
598
|
-
moveForwardOnContainer: () =>
|
|
599
|
-
moveToFrontOnContainer: () =>
|
|
600
|
-
deleteFromContainer: (e) =>
|
|
595
|
+
isProtected: () => n.isReadOnly(),
|
|
596
|
+
moveToBackOnContainer: () => n._moveMember(i, 0, g("op.moveToBack")),
|
|
597
|
+
moveBackwardOnContainer: () => n._moveMember(i, u() - 1, g("op.moveBackwards")),
|
|
598
|
+
moveForwardOnContainer: () => n._moveMember(i, u() + 1, g("op.moveForward")),
|
|
599
|
+
moveToFrontOnContainer: () => n._moveMember(i, n._members_().length - 1, g("op.moveToFront")),
|
|
600
|
+
deleteFromContainer: (e) => n._removeMember(i, e),
|
|
601
601
|
setContainerCallbacks: (e) => {
|
|
602
602
|
e && (d = {
|
|
603
603
|
...d,
|
|
604
604
|
...e
|
|
605
|
-
}), i && d &&
|
|
605
|
+
}), i && d && n._memberCallbacks.set(i, d);
|
|
606
606
|
},
|
|
607
607
|
invalidate: () => {
|
|
608
|
-
|
|
608
|
+
n._members._notifyChange();
|
|
609
609
|
}
|
|
610
610
|
}), d && this._memberCallbacks.set(i, d), i;
|
|
611
611
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|