@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.
Files changed (191) hide show
  1. package/browser/esm/{BpgskG1Er_lGQ_yS.mjs → -Jx-jNHmtIQQfLvK.mjs} +1 -1
  2. package/browser/esm/{BLoUBId2xZpXAK_H.mjs → 2WuhYrIpYmOR5H73.mjs} +15 -15
  3. package/browser/esm/{Ctjb0SsxV4K4MMqG.mjs → 2mIwPy2D2JUX-9wx.mjs} +2 -2
  4. package/browser/esm/{CkxWugaJFjDGZNZ-.mjs → B3wf5vZCsWfWsDbj.mjs} +1 -1
  5. package/browser/esm/{BjkCiv5Jz6WYKZeu.mjs → BIHrHjRGWVlJglcp.mjs} +2 -2
  6. package/browser/esm/{BtvLTTfSBdAKplVG.mjs → BTFBedJMRWGvZyCE.mjs} +1 -1
  7. package/browser/esm/{C4MqfLn9Dm-l3OIk.mjs → BdCJNawfifyPupCP.mjs} +1 -1
  8. package/browser/esm/{CV5EGEjG5_-CPpP0.mjs → Bg5Di9GLNAkbqQ1P.mjs} +3 -3
  9. package/browser/esm/{C2VbEI_XVAoseAwa.mjs → BnC4-27Igwb8oDf2.mjs} +2 -2
  10. package/browser/esm/{CQYjO777cmAznUzK.mjs → Bt8_m94tBdks209L.mjs} +1 -1
  11. package/browser/esm/{C16ycKja6zG0crV_.mjs → BudSIfXBAsTxvu-K.mjs} +17836 -15712
  12. package/browser/esm/{DvAaxH6z_tGvrRzl.mjs → C9u8FUewte5ugUjH.mjs} +686 -686
  13. package/browser/esm/{DEiPS3Dr-s4fPbVZ.mjs → CBYMTDzMf1Vh7pkw.mjs} +1 -1
  14. package/browser/esm/{Dyq_ivuHvlXLwPCl.mjs → CNdjyofiRu6CYOrr.mjs} +1106 -1102
  15. package/browser/esm/{PcHFjNzQsE54POri.mjs → CRkYR-siY2C994KV.mjs} +1 -1
  16. package/browser/esm/{C5E6zSGAALWf61n4.mjs → CTe2qfmIUEad6FJv.mjs} +2 -2
  17. package/browser/esm/{BoV6zPBnfqCBCqZ7.mjs → CUzYuYTTGsChC_kZ.mjs} +3841 -3148
  18. package/browser/esm/CdEO8CEee6lEhabA.mjs +117 -0
  19. package/browser/esm/{S2dNNx1a5ydRnARM.mjs → CfRqiPDg6RBTg1EN.mjs} +2 -2
  20. package/browser/esm/{ClbvFbFzFzXLBKNN.mjs → CndRBvVfQUJIYRRj.mjs} +50 -50
  21. package/browser/esm/{BnG31I6Oj_HEtSPS.mjs → CwOPLXU3-9ZHGyOT.mjs} +1 -1
  22. package/browser/esm/{CHU6iu_WGlm7fLET.mjs → Cxjxk0ncRKx80I-w.mjs} +1 -1
  23. package/browser/esm/D2RZh0O9neOsyLAE.mjs +281 -0
  24. package/browser/esm/{BkBhLS0l6z8sxI6D.mjs → D64dM68B1pKYFzdP.mjs} +2 -2
  25. package/browser/esm/{BVDiOXGMc5_FMGfy.mjs → D9xNz46kAfXMZzp4.mjs} +2 -2
  26. package/browser/esm/{zlLuW405RSguy4Kn.mjs → DK899HhWX1HINMC1.mjs} +53 -53
  27. package/browser/esm/{B7aUIvgUjncMMD_i.mjs → DPhGQLNGmDZwODwJ.mjs} +5 -4
  28. package/browser/esm/{gssVX_FH1XFN-twD.mjs → DVroRnhi-5IDXNgM.mjs} +1 -1
  29. package/{node/esm/CZICGK_ss0HoGHCP.mjs → browser/esm/DZiivy0NmO1Vnyzk.mjs} +2 -2
  30. package/browser/esm/{ClPfI4lODvCece29.mjs → DgrAuRD2qr2DvFeJ.mjs} +61 -61
  31. package/browser/esm/{CU3DmJ-YnVVrC1_k.mjs → DobHLF6VjHr7Xi40.mjs} +1 -1
  32. package/browser/esm/{CaB7J-xgfKO2uAkG.mjs → DwZCT7DZiiXoTweg.mjs} +2 -2
  33. package/browser/esm/{BMyDRQ716j79h_bH.mjs → DwwR3O2sEZApPSTF.mjs} +6 -6
  34. package/browser/esm/{DLLE0FZNsKxbBzRn.mjs → Tah7cnFb_HNZdLtj.mjs} +45 -45
  35. package/browser/esm/{Dlmig06rIo7cInRk.mjs → fXWUMDhZ5yMSO629.mjs} +1 -1
  36. package/browser/esm/{DWNzqw7DUKwoxjri.mjs → hCQJcmIzPDxDEv2q.mjs} +2 -2
  37. package/browser/esm/index.mjs +679 -542
  38. package/browser/esm/{BFagR2JeWs74iAG3.mjs → qO-ujUrgq6H3TQix.mjs} +1 -1
  39. package/browser/esm/w6Jea0TiclPrYZ2M.mjs +1703 -0
  40. package/browser/esm/yuhcOYw6SHQ-RCm3.mjs +114 -0
  41. package/node/esm/-TA0MneBDKdGhsib.mjs +8668 -0
  42. package/node/esm/{B21JjOLghRoDOrkx.mjs → B-HUPAcqvK0eeeCz.mjs} +1 -1
  43. package/node/esm/{DNRhGK-8Tr9xcRyc.mjs → BL2iiEoqxDEV2Xrg.mjs} +3 -3
  44. package/node/esm/{D1TKBVmoKGAXf37B.mjs → BNXLOEddJ6O9gYws.mjs} +2 -2
  45. package/node/esm/{BrCKGFRsX_ezFJ4B.mjs → BSvOluusoDM4z_dx.mjs} +15 -15
  46. package/node/esm/{BIwObuhTJYf0jpUa.mjs → BskP3b8vUoIOGLY6.mjs} +2 -2
  47. package/node/esm/{2Kihw_-5lVTEnwMa.mjs → Btw4148Ot8ifhNc1.mjs} +1 -1
  48. package/node/esm/{BqiexuA89caYnAPz.mjs → C14-R6tifRh7pc0p.mjs} +1 -1
  49. package/node/esm/{DUTskXCXref-IJnI.mjs → C99zzq8DImQXi4BQ.mjs} +47 -47
  50. package/node/esm/{D8zEN-6ZdDqDvTxM.mjs → CBuEu5Jk-LfaDy-H.mjs} +61 -61
  51. package/node/esm/{yavzZOiZW_EjG9lE.mjs → CG-qBU5BAaVz7e-P.mjs} +1 -1
  52. package/node/esm/CPI58duc0j0a-HpJ.mjs +115 -0
  53. package/node/esm/{CCN5vD410obwdz38.mjs → CRt3vXe6YmXzqk3H.mjs} +15 -14
  54. package/node/esm/{CzXT00vrQa1_gvW9.mjs → C_aL7CGS1lrNn1Ng.mjs} +1 -1
  55. package/node/esm/{CZiqiay42tFTrLI4.mjs → C_xf5Bz30VqiJjXn.mjs} +1 -1
  56. package/node/esm/{BIRq1kT7lLRzns9t.mjs → CiIymQN6aJCul62g.mjs} +9 -9
  57. package/node/esm/{CNCNJNg890KdgkWh.mjs → Ci_zLYmCD7e-C79O.mjs} +1 -1
  58. package/{browser/esm/D5np__Jb1euAyaLw.mjs → node/esm/CkRYLed8Mmn3giNg.mjs} +2 -2
  59. package/node/esm/D3ptRKzASqBut1DE.mjs +117 -0
  60. package/node/esm/{cGwrLA1RCE-WhJ7w.mjs → D4ROK9UwDpS6jO3Z.mjs} +1 -1
  61. package/node/esm/{mFiBSM7XgBHV9AY7.mjs → D8hO07ToAibIuniw.mjs} +1535 -1531
  62. package/node/esm/{CDHdgJXH2vS71WMc.mjs → DUTmDHbFbhLDT4F3.mjs} +1 -1
  63. package/node/esm/{CGp6VZL-gZa9Uezx.mjs → DV5CU37aEbFbWFL0.mjs} +1 -1
  64. package/node/esm/{De2IONBxQhz-Qbyh.mjs → DdoiuKg9BKubtF1V.mjs} +1 -1
  65. package/node/esm/{Db0v7zXNnyjBIjjI.mjs → DggQ23jKMpwhENfa.mjs} +2 -2
  66. package/node/esm/{CwePQwTILHHjGDkZ.mjs → DhS6yWjrrSNIJMsn.mjs} +204 -204
  67. package/node/esm/{D_t5AUxSm7_icjzq.mjs → DhTya_mhmN53vskv.mjs} +1 -1
  68. package/node/esm/{DOU54VsOjG-m-NyQ.mjs → Dn1M7YWi25DeeYUb.mjs} +1 -1
  69. package/node/esm/{DkwIPzKc3UwdUIfM.mjs → DrCf6ITcBhVOFpRj.mjs} +6 -6
  70. package/node/esm/{D2KBymQJd1XhpeQD.mjs → DxazKtROyaI51dWl.mjs} +1 -1
  71. package/node/esm/{D6e2z7eZpxOJXHc7.mjs → Q_S1g46ZOTrdhTae.mjs} +1 -1
  72. package/node/esm/{OVfaSb506tNSIvbv.mjs → Vocy-I9dKzZMr0Ct.mjs} +19038 -16822
  73. package/node/esm/ZXPFcsT2zrALCZux.mjs +289 -0
  74. package/node/esm/{857CIBgQgGpnqrXk.mjs → eimUGjiIP-b8HiM6.mjs} +55 -55
  75. package/node/esm/{Bbf1Pm9Gk7YpLTvg.mjs → icn2nX5Z8e_3mNAv.mjs} +1 -1
  76. package/node/esm/index.mjs +740 -603
  77. package/node/esm/{Ct3h15sCus4Tgt6M.mjs → lGJ42sHqg5if2bba.mjs} +624 -616
  78. package/node/esm/{CdJHUJSBRHZoryPe.mjs → pYtP7wPyS96NQyXS.mjs} +59 -59
  79. package/package.json +6 -6
  80. package/resources/locales/de/model.msg.json +8 -2
  81. package/resources/locales/en/model.msg.json +9 -2
  82. package/types/scripting-api.json +10619 -10446
  83. package/types/scripting-enums.json +20 -1
  84. package/types/scripting.d.ts +1233 -296
  85. package/types/src/{sheet → anomalies}/_Anomalies.d.ts +3 -3
  86. package/types/src/anomalies/_FocusTable.d.ts +11 -0
  87. package/types/src/{sheet/_AnomalyFormulaChecks.d.ts → anomalies/_FormulaChecks.d.ts} +10 -2
  88. package/types/src/{sheet/_AnomalyLabelChecks.d.ts → anomalies/_LabelChecks.d.ts} +1 -1
  89. package/types/src/anomalies/_LiteralChecks.d.ts +35 -0
  90. package/types/src/anomalies/_SeriesChecks.d.ts +13 -0
  91. package/types/src/calculation/Calculation.d.ts +47 -9
  92. package/types/src/calculation/ExternalBookBindings.d.ts +2 -3
  93. package/types/src/calculation/ICalculation.d.ts +96 -9
  94. package/types/src/calculation/NamedFormulaCollection.d.ts +104 -8
  95. package/types/src/calculation/_CloneBoundary.d.ts +1 -1
  96. package/types/src/calculation/compiler/ASTTypes.d.ts +6 -2
  97. package/types/src/calculation/compiler/Types.d.ts +8 -0
  98. package/types/src/calculation/engine/CalcBackend.d.ts +104 -6
  99. package/types/src/calculation/executor/CalcExecutor.d.ts +73 -22
  100. package/types/src/calculation/executor/CalcExecutorUtils.d.ts +17 -1
  101. package/types/src/calculation/executor/_WhatIf.d.ts +50 -0
  102. package/types/src/calculation/formula/FormulaBlock.d.ts +4 -3
  103. package/types/src/calculation/formula/IFormulaBlock.d.ts +5 -0
  104. package/types/src/calculation/functions/_DataTableFunction.d.ts +14 -0
  105. package/types/src/calculation/grid/CalcGrid.d.ts +4 -6
  106. package/types/src/calculation/grid/CalcGridBackend.d.ts +5 -27
  107. package/types/src/calculation/grid/CalcGridProxy.d.ts +0 -2
  108. package/types/src/calculation/grid/CalcGridUtils.d.ts +4 -2
  109. package/types/src/calculation/grid/ICalcGrid.d.ts +16 -12
  110. package/types/src/calculation/grid/_CalcRequest.d.ts +17 -5
  111. package/types/src/calculation/spatial/FormulaSpatialValue.d.ts +2 -0
  112. package/types/src/calculation/spatial/SpillEntry.d.ts +16 -2
  113. package/types/src/calculation/state/CalcNode.d.ts +0 -1
  114. package/types/src/calculation/state/CalcScope.d.ts +29 -0
  115. package/types/src/calculation/state/CalcState.d.ts +26 -4
  116. package/types/src/calculation/state/CalculationContext.d.ts +28 -1
  117. package/types/src/calculation/state/DeferredCalls.d.ts +260 -0
  118. package/types/src/calculation/state/IContextContainer.d.ts +20 -0
  119. package/types/src/calculation/state/_PendingOverlayGrid.d.ts +6 -0
  120. package/types/src/calculation/state/_WhatIfLayer.d.ts +91 -0
  121. package/types/src/cell/ICell.d.ts +53 -34
  122. package/types/src/cellControl/CellControl.d.ts +67 -0
  123. package/types/src/cellControl/CellControlCollection.d.ts +29 -0
  124. package/types/src/cellControl/CellControlRegistry.d.ts +47 -0
  125. package/types/src/cellControl/ICellControl.d.ts +99 -0
  126. package/types/src/cellControl/ICellControlCollection.d.ts +67 -0
  127. package/types/src/cellControl/index.d.ts +4 -0
  128. package/types/src/cellRange/ICellRange.d.ts +207 -59
  129. package/types/src/cellRange/ICellRanges.d.ts +4 -3
  130. package/types/src/chart/layout/ChartLayout.d.ts +5 -1
  131. package/types/src/chart/resolve/_Resolve.d.ts +10 -0
  132. package/types/src/chart/resolve/_ResolvedChart.d.ts +5 -2
  133. package/types/src/collections/ISparseGrid.d.ts +11 -2
  134. package/types/src/collections/MixedTypedArrayList.d.ts +8 -2
  135. package/types/src/collections/SparseGrid.d.ts +3 -8
  136. package/types/src/condition/AnchoredConditional.d.ts +2 -2
  137. package/types/src/externalBook/IExternalBook.d.ts +3 -4
  138. package/types/src/fetch/Fetcher.d.ts +15 -0
  139. package/types/src/fetch/IFetcher.d.ts +47 -0
  140. package/types/src/fetch/_WorkbookFetch.d.ts +43 -0
  141. package/types/src/fetch/index.d.ts +3 -0
  142. package/types/src/fill/PaintUtils.d.ts +3 -1
  143. package/types/src/hyperlink/IHyperlink.d.ts +10 -0
  144. package/types/src/hyperlink/_Hyperlink.d.ts +4 -1
  145. package/types/src/index.d.ts +2 -1
  146. package/types/src/named/INamedCollection.d.ts +36 -0
  147. package/types/src/named/NamedCollection.d.ts +18 -0
  148. package/types/src/primitives/AsyncValue.d.ts +58 -0
  149. package/types/src/resource/IResource.d.ts +9 -0
  150. package/types/src/resource/IResourceCollection.d.ts +4 -0
  151. package/types/src/resource/Resource.d.ts +2 -0
  152. package/types/src/resource/_AddResource.d.ts +13 -0
  153. package/types/src/richData/CellImage.d.ts +95 -0
  154. package/types/src/richData/Hyperlink.d.ts +49 -0
  155. package/types/src/richData/IRichDataCollection.d.ts +76 -0
  156. package/types/src/richData/IRichDataKind.d.ts +55 -11
  157. package/types/src/richData/RichArray.d.ts +42 -0
  158. package/types/src/richData/RichDataCollection.d.ts +23 -0
  159. package/types/src/richData/RichDataRegistry.d.ts +46 -14
  160. package/types/src/richData/RichDataValues.d.ts +20 -0
  161. package/types/src/richData/RichRecord.d.ts +68 -0
  162. package/types/src/richData/RichText.d.ts +5 -5
  163. package/types/src/richData/index.d.ts +6 -0
  164. package/types/src/scripting/FunctionArguments.d.ts +17 -1
  165. package/types/src/scripting/FunctionCollection.d.ts +8 -0
  166. package/types/src/scripting/Scripts.d.ts +10 -0
  167. package/types/src/scripting/TypedFunction.d.ts +2 -0
  168. package/types/src/sheet/ICellContainerOptions.d.ts +6 -0
  169. package/types/src/sheet/IWorksheet.d.ts +24 -17
  170. package/types/src/sheet/SheetCell.d.ts +17 -1
  171. package/types/src/sheet/SheetRange.d.ts +8 -2
  172. package/types/src/sheet/SheetRanges.d.ts +2 -2
  173. package/types/src/sheet/Worksheet.d.ts +110 -56
  174. package/types/src/sheet/_ListenerAnchor.d.ts +7 -1
  175. package/types/src/sheet/_ScalarListFactory.d.ts +54 -6
  176. package/types/src/sheet/_SheetMutations.d.ts +4 -1
  177. package/types/src/sheet/_SheetStateTypes.d.ts +23 -11
  178. package/types/src/workbook/IWorkbook.d.ts +40 -1
  179. package/types/src/workbook/Workbook.d.ts +25 -3
  180. package/types/src/workbook/WorkbookRanges.d.ts +1 -1
  181. package/browser/esm/BGOFfpxr2jPIdqmV.mjs +0 -40
  182. package/browser/esm/f1IoRb7tEb0QmCSt.mjs +0 -110
  183. package/browser/esm/nvU0ClAbf0g94YBK.mjs +0 -1695
  184. package/node/esm/B084DssTcdBheTp_.mjs +0 -7966
  185. package/node/esm/Df1bL6VFvrqIdSLB.mjs +0 -40
  186. package/node/esm/DrTZbfemSLq2mseG.mjs +0 -111
  187. package/types/src/dataTable/DataTable.d.ts +0 -67
  188. package/types/src/dataTable/DataTableCollection.d.ts +0 -19
  189. package/types/src/dataTable/IDataTable.d.ts +0 -99
  190. package/types/src/dataTable/IDataTableCollection.d.ts +0 -18
  191. package/types/src/dataTable/index.d.ts +0 -6
@@ -1,18 +1,18 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.11
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 "./CU3DmJ-YnVVrC1_k.mjs";
8
- import { _n as t, bn as n, hr as r, li as i, vn as a, vr as o, xn as s, yn as c } from "./C16ycKja6zG0crV_.mjs";
7
+ import { t as e } from "./DobHLF6VjHr7Xi40.mjs";
8
+ import { An as t, Dn as n, En as r, Mr as i, On as a, ji as o, kn as s, kr as c } from "./BudSIfXBAsTxvu-K.mjs";
9
9
  import { ExpectedError as l, messageKey as u, t as d } from "@sheetxl/utils";
10
- var f = "SlicerStyleLight1", p = "ascending", m = "showItemsWithDataAtTop", h = u("op.setSlicerCaption"), g = u("op.setSlicerStyle"), _ = u("op.setSlicerLayout"), v = u("op.setSlicerSort"), y = u("op.selectSlicerItems"), b = r.BuiltInSelectorNames.Display, x = Object.freeze({
10
+ var f = "SlicerStyleLight1", p = "ascending", m = "showItemsWithDataAtTop", h = u("op.setSlicerCaption"), g = u("op.setSlicerStyle"), _ = u("op.setSlicerLayout"), v = u("op.setSlicerSort"), y = u("op.selectSlicerItems"), b = c.BuiltInSelectorNames.Display, x = Object.freeze({
11
11
  selector: b,
12
12
  scope: "column"
13
13
  }), S = Object.freeze({ transactional: !1 }), C = class extends e {
14
14
  constructor(e) {
15
- let t = c(e.json?.source)?.column ?? "", n = e.name;
15
+ let t = a(e.json?.source)?.column ?? "", n = e.name;
16
16
  !n && e.getMovable && (n = t || null), super({
17
17
  ...e,
18
18
  name: n
@@ -29,7 +29,7 @@ var f = "SlicerStyleLight1", p = "ascending", m = "showItemsWithDataAtTop", h =
29
29
  return "Slicer";
30
30
  }
31
31
  getDefaultAnchorType() {
32
- return o.Type.Absolute;
32
+ return i.Type.Absolute;
33
33
  }
34
34
  getSource() {
35
35
  let e = this._data()?.source ?? "", t = this._formula?.getExpression() ?? null;
@@ -42,8 +42,8 @@ var f = "SlicerStyleLight1", p = "ascending", m = "showItemsWithDataAtTop", h =
42
42
  return this._resolve()?.column ?? null;
43
43
  }
44
44
  setName(e) {
45
- let t = this._getWorkbook();
46
- if (t && s(t, e, this) !== e) throw new l(d("error.slicer.nameTaken", { name: e }));
45
+ let n = this._getWorkbook();
46
+ if (n && t(n, e, this) !== e) throw new l(d("error.slicer.nameTaken", { name: e }));
47
47
  return super.setName(e);
48
48
  }
49
49
  getCaption() {
@@ -59,7 +59,7 @@ var f = "SlicerStyleLight1", p = "ascending", m = "showItemsWithDataAtTop", h =
59
59
  return this._set({ hiddenCaption: !e || void 0 }, h, t);
60
60
  }
61
61
  getCacheName() {
62
- return this._data()?.cacheName || (n(this._getWorkbook()).get(this) ?? t(this._getColumnName()));
62
+ return this._data()?.cacheName || (s(this._getWorkbook()).get(this) ?? r(this._getColumnName()));
63
63
  }
64
64
  getStyle() {
65
65
  return this._data()?.style ?? f;
@@ -105,65 +105,65 @@ var f = "SlicerStyleLight1", p = "ascending", m = "showItemsWithDataAtTop", h =
105
105
  async getItems() {
106
106
  let e = this.getColumn()?.getFilter();
107
107
  if (!e) return w;
108
- let t = await e.getItems(x), n = e.getCondition(), a = n ? function(e, t) {
108
+ let t = await e.getItems(x), n = e.getCondition(), r = n ? function(e, t) {
109
109
  let n = e.toJSON();
110
- if (n.operator !== r.BuiltInOperatorNames.InSet) return () => !1;
111
- let i = n.param ?? {}, a = /* @__PURE__ */ new Set(), o = i.items ?? [];
112
- for (let e = 0; e < o.length; e++) o[e] !== null && a.add(String(o[e]).toLowerCase());
113
- let s = i.dateGroups ?? [], c = t.dates?.[t.dates.length - 1] ?? null;
110
+ if (n.operator !== c.BuiltInOperatorNames.InSet) return () => !1;
111
+ let r = n.param ?? {}, i = /* @__PURE__ */ new Set(), a = r.items ?? [];
112
+ for (let e = 0; e < a.length; e++) a[e] !== null && i.add(String(a[e]).toLowerCase());
113
+ let o = r.dateGroups ?? [], s = t.dates?.[t.dates.length - 1] ?? null;
114
114
  return (e) => {
115
- if (e < 0) return !0 === i.blank;
116
- if (a.has(t.items[e].text.toLowerCase())) return !0;
117
- if (!c || s.length === 0) return !1;
115
+ if (e < 0) return !0 === r.blank;
116
+ if (i.has(t.items[e].text.toLowerCase())) return !0;
117
+ if (!s || o.length === 0) return !1;
118
118
  let n = null;
119
- for (let t = 0; t < c.runs.length && !n; t++) {
120
- let r = c.runs[t];
119
+ for (let t = 0; t < s.runs.length && !n; t++) {
120
+ let r = s.runs[t];
121
121
  r.min <= e && e <= r.max && (n = r.value ?? null);
122
122
  }
123
123
  if (!n) return !1;
124
- for (let e = 0; e < s.length; e++) if (D(s[e], n)) return !0;
124
+ for (let e = 0; e < o.length; e++) if (D(o[e], n)) return !0;
125
125
  return !1;
126
126
  };
127
- }(n, t) : null, o = [];
127
+ }(n, t) : null, i = [];
128
128
  for (let e = 0; e < t.items.length; e++) {
129
- let n = t.items[e], r = !0 === n.passesOthers;
130
- o.push({
129
+ let n = t.items[e], a = !0 === n.passesOthers;
130
+ i.push({
131
131
  item: {
132
132
  key: n.text,
133
133
  name: n.text,
134
134
  value: n.value,
135
- hasData: r,
136
- isSelected: !a || (r ? n.checked : a(e))
135
+ hasData: a,
136
+ isSelected: !r || (a ? n.checked : r(e))
137
137
  },
138
138
  firstRow: n.firstRow
139
139
  });
140
140
  }
141
- let s = this.getSortOrder();
142
- if (s === "dataSource") o.sort((e, t) => e.firstRow - t.firstRow);
141
+ let a = this.getSortOrder();
142
+ if (a === "dataSource") i.sort((e, t) => e.firstRow - t.firstRow);
143
143
  else {
144
- let t = e.getRange().getWorksheet().getRuntime().getLocaleProfile(), n = s === "descending" ? -1 : 1;
145
- o.sort((e, r) => n * (i.compare(e.item.value, r.item.value, t) || i.compare(e.item.key, r.item.key, t)));
144
+ let t = e.getRange().getWorksheet().getRuntime().getLocaleProfile(), n = a === "descending" ? -1 : 1;
145
+ i.sort((e, r) => n * (o.compare(e.item.value, r.item.value, t) || o.compare(e.item.key, r.item.key, t)));
146
146
  }
147
- let c = null;
147
+ let s = null;
148
148
  if (t.hasBlanks) {
149
149
  let e = !0 === t.blanksPassOthers;
150
- c = {
150
+ s = {
151
151
  key: T,
152
152
  name: d("slicer.blankItem"),
153
153
  value: null,
154
154
  hasData: e,
155
- isSelected: !a || (e ? t.blanksChecked : a(-1))
155
+ isSelected: !r || (e ? t.blanksChecked : r(-1))
156
156
  };
157
157
  }
158
158
  let l = [], u = this.getCrossFilter();
159
159
  if (u === "showItemsWithNoData") {
160
- for (let e = 0; e < o.length; e++) l.push(o[e].item);
161
- return c && l.push(c), l;
160
+ for (let e = 0; e < i.length; e++) l.push(i[e].item);
161
+ return s && l.push(s), l;
162
162
  }
163
- for (let e = 0; e < o.length; e++) o[e].item.hasData && l.push(o[e].item);
164
- if (c?.hasData && l.push(c), u === "none") return l;
165
- for (let e = 0; e < o.length; e++) o[e].item.hasData || l.push(o[e].item);
166
- return c && !c.hasData && l.push(c), l;
163
+ for (let e = 0; e < i.length; e++) i[e].item.hasData && l.push(i[e].item);
164
+ if (s?.hasData && l.push(s), u === "none") return l;
165
+ for (let e = 0; e < i.length; e++) i[e].item.hasData || l.push(i[e].item);
166
+ return s && !s.hasData && l.push(s), l;
167
167
  }
168
168
  async getItem(e) {
169
169
  let t = await this.getItems();
@@ -174,26 +174,26 @@ var f = "SlicerStyleLight1", p = "ascending", m = "showItemsWithDataAtTop", h =
174
174
  let n = this.getColumn()?.getFilter();
175
175
  if (!n) return this;
176
176
  if (!e || e.length === 0) return this.clearFilters(t);
177
- let i = await n.getItems(x), a = new Set(e), o = i.dates?.[i.dates.length - 1] ?? null, s = o && o.runs.length > 0 ? o.runs[o.runs.length - 1].max : -1, c = [], l = [], u = !0, d = 0;
178
- for (let e = 0; e < i.items.length; e++) {
179
- if (!a.has(i.items[e].text)) {
177
+ let r = await n.getItems(x), i = new Set(e), a = r.dates?.[r.dates.length - 1] ?? null, o = a && a.runs.length > 0 ? a.runs[a.runs.length - 1].max : -1, s = [], l = [], u = !0, d = 0;
178
+ for (let e = 0; e < r.items.length; e++) {
179
+ if (!i.has(r.items[e].text)) {
180
180
  u = !1;
181
181
  continue;
182
182
  }
183
- if (e > s) {
184
- c.push(i.items[e].text);
183
+ if (e > o) {
184
+ s.push(r.items[e].text);
185
185
  continue;
186
186
  }
187
- for (; o.runs[d].max < e;) d++;
188
- let t = o.runs[d].value;
187
+ for (; a.runs[d].max < e;) d++;
188
+ let t = a.runs[d].value;
189
189
  t && l[l.length - 1] !== t && l.push(t);
190
190
  }
191
- let f = i.hasBlanks && a.has(T);
192
- if (i.hasBlanks && !f && (u = !1), u && !i.truncated) return this.clearFilters(t);
193
- let p = { items: c };
191
+ let f = r.hasBlanks && i.has(T);
192
+ if (r.hasBlanks && !f && (u = !1), u && !r.truncated) return this.clearFilters(t);
193
+ let p = { items: s };
194
194
  return l.length > 0 && (p.dateGroups = l), f && (p.blank = !0), await n.setCondition({
195
195
  selector: b,
196
- operator: r.BuiltInOperatorNames.InSet,
196
+ operator: c.BuiltInOperatorNames.InSet,
197
197
  param: p
198
198
  }, !1, {
199
199
  description: y,
@@ -244,12 +244,12 @@ var f = "SlicerStyleLight1", p = "ascending", m = "showItemsWithDataAtTop", h =
244
244
  }
245
245
  _resolve() {
246
246
  if (this._closed) return null;
247
- let e = c(this.getSource());
247
+ let e = a(this.getSource());
248
248
  if (!e) return null;
249
- let t = a(this._getWorkbook(), e.table), n = t?.getColumnByName(e.column) ?? null;
250
- return n ? (this._columnName = n.getName(), {
249
+ let t = n(this._getWorkbook(), e.table), r = t?.getColumnByName(e.column) ?? null;
250
+ return r ? (this._columnName = r.getName(), {
251
251
  table: t,
252
- column: n
252
+ column: r
253
253
  }) : null;
254
254
  }
255
255
  _getColumnName() {
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.11
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 { Ht as e, dr as t, fr as n } from "./C16ycKja6zG0crV_.mjs";
8
- import { D as r, E as i, a, c as o, d as s, f as c, l, m as u, n as d, o as f, p, r as m, s as h, u as g, v as _, w as v } from "./nvU0ClAbf0g94YBK.mjs";
9
- import { n as y, r as b, t as x } from "./DvAaxH6z_tGvrRzl.mjs";
7
+ import { At as e, br as t, xr as n } from "./BudSIfXBAsTxvu-K.mjs";
8
+ import { D as r, E as i, a, c as o, d as s, f as c, l, m as u, n as d, o as f, p, r as m, s as h, u as g, v as _, w as v } from "./w6Jea0TiclPrYZ2M.mjs";
9
+ import { n as y, r as b, t as x } from "./C9u8FUewte5ugUjH.mjs";
10
10
  import { FormulaError as S } from "@sheetxl/primitives";
11
11
  import { CommonUtils as C } from "@sheetxl/utils";
12
12
  var w = class {
@@ -137,6 +137,7 @@ var w = class {
137
137
  namedIds: C.EmptyArray,
138
138
  symbolIds: C.EmptyArray,
139
139
  hasTotals: !1,
140
+ hasDataTable: !1,
140
141
  hasVolatile: !1,
141
142
  isBlankCacheable: !1,
142
143
  isBlankCacheableArray: !1,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.11
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,7 +1,7 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.11
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
- export { n as addSubpathsBounds, t as decorateSubpaths, r as emptyBox, i as subpathsToSVG } from "./BIRq1kT7lLRzns9t.mjs";
7
+ export { n as addSubpathsBounds, t as decorateSubpaths, r as emptyBox, i as subpathsToSVG } from "./BIHrHjRGWVlJglcp.mjs";
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.11
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 "./CU3DmJ-YnVVrC1_k.mjs";
8
- import { $t as t, Qt as n, Zi as r, Zt as i, ot as a, st as o, vr as s } from "./C16ycKja6zG0crV_.mjs";
9
- import { g as c, v as l, w as u, x as d } from "./CV5EGEjG5_-CPpP0.mjs";
7
+ import { t as e } from "./DobHLF6VjHr7Xi40.mjs";
8
+ import { Mr as t, R as n, an as r, in as i, rn as a, ya as o, z as s } from "./BudSIfXBAsTxvu-K.mjs";
9
+ import { g as c, v as l, w as u, x as d } from "./Bg5Di9GLNAkbqQ1P.mjs";
10
10
  import { CommonUtils as f, CoordUtils as p, ExpectedError as m, messageKey as h, t as g } from "@sheetxl/utils";
11
- var _ = class extends i {
11
+ var _ = class extends a {
12
12
  constructor(e) {
13
13
  super(e), this._optionsMember = e;
14
14
  }
@@ -25,7 +25,7 @@ var _ = class extends i {
25
25
  return !!super.isDeleted() || ((this._optionsMovable?.getParent?.())?.isDeleted() ?? !1);
26
26
  }
27
27
  getAnchorType() {
28
- return s.Type.Absolute;
28
+ return t.Type.Absolute;
29
29
  }
30
30
  setAnchorType(e) {
31
31
  return this;
@@ -127,7 +127,7 @@ var _ = class extends i {
127
127
  this._getEmitter().notify("onBoundsChange"), this._forwardLayout();
128
128
  }
129
129
  _fromJSON(e) {
130
- let t = e.anchor?.tl ?? f.EmptyObject, n = e.anchor?.br ?? f.EmptyObject;
130
+ let n = e.anchor?.tl ?? f.EmptyObject, r = e.anchor?.br ?? f.EmptyObject;
131
131
  this._updateState({
132
132
  offsets: {
133
133
  tl: {
@@ -145,12 +145,12 @@ var _ = class extends i {
145
145
  flipV: e.flipV ?? !1,
146
146
  lockAspectRatio: e.lockAspect ?? null,
147
147
  locks: e.locks ?? null,
148
- anchorType: s.Type.Absolute,
148
+ anchorType: t.Type.Absolute,
149
149
  pixelBounds: {
150
- x: t.x ?? 0,
151
- y: t.y ?? 0,
152
- width: n.x ?? 0,
153
- height: n.y ?? 0
150
+ x: n.x ?? 0,
151
+ y: n.y ?? 0,
152
+ width: r.x ?? 0,
153
+ height: r.y ?? 0
154
154
  }
155
155
  }, { description: h("op.loadMovable") });
156
156
  }
@@ -176,7 +176,7 @@ var _ = class extends i {
176
176
  let t = super.toJSON(e);
177
177
  return delete t.anchorType, t;
178
178
  }
179
- }, v = class extends r {
179
+ }, v = class extends o {
180
180
  constructor(e, t) {
181
181
  super(t), this._group = e;
182
182
  }
@@ -333,18 +333,18 @@ var _ = class extends i {
333
333
  async ungroup(e) {
334
334
  let t = this.getMovable();
335
335
  if (!t || this.isDeleted()) return [];
336
- let n = e?.description ?? h("op.ungroupDrawings");
337
- this._protectionCheck(n);
338
- let r = t.getRange().getWorksheet(), i = a(r.getView().getMovableSelection());
336
+ let r = e?.description ?? h("op.ungroupDrawings");
337
+ this._protectionCheck(r);
338
+ let i = t.getRange().getWorksheet(), a = n(i.getView().getMovableSelection());
339
339
  return await this.doBatch(() => {
340
- let t = this._free(this._members_(), n);
340
+ let t = this._free(this._members_(), r);
341
341
  this.delete(e);
342
- let a = this._transactions.getPendingTransaction();
343
- return a && o(a, r, t, {
342
+ let n = this._transactions.getPendingTransaction();
343
+ return n && s(n, i, t, {
344
344
  autoSelect: e?.autoSelect ?? !0,
345
345
  autoSelectRestore: e?.autoSelectRestore
346
- }, i), t;
347
- }, { description: n });
346
+ }, a), t;
347
+ }, { description: r });
348
348
  }
349
349
  _free(e, t) {
350
350
  let n = this.getMovable(), r = n.getParent()?.getMovables() ?? n.getRange().getWorksheet().getMovables(), i = n.getZIndex(), a = this._createOptions.beginPersistResource();
@@ -409,7 +409,7 @@ var _ = class extends i {
409
409
  }
410
410
  async _prepareMember(e) {
411
411
  if (!e?.type) throw new m("A member needs a type.");
412
- return this._protectionCheck(h("op.insertDrawing")), await t({
412
+ return this._protectionCheck(h("op.insertDrawing")), await r({
413
413
  type: e.type,
414
414
  json: e.json
415
415
  }), e;
@@ -462,15 +462,15 @@ var _ = class extends i {
462
462
  }
463
463
  }
464
464
  async _groupMembers(e, t) {
465
- let n = t?.description ?? h("op.groupDrawings");
466
- if (this._protectionCheck(n), !e || e.length < 2) throw new m(g("error.movable.groupTooFew"));
467
- let r = this._members_();
468
- for (let t of e) if (!r.includes(t)) throw new m(g("error.movable.groupNotSameGroup"));
469
- let i = r.filter((t) => e.includes(t));
470
- if (i.length === r.length) throw new m(g("error.movable.groupWholeGroup"));
471
- let s = this.getMovable();
472
- if (!s) throw new m("The group is not placed.");
473
- let l = s.getRange().getWorksheet(), d = a(l.getView().getMovableSelection()), f = c.unionBounds(i.map((e) => {
465
+ let r = t?.description ?? h("op.groupDrawings");
466
+ if (this._protectionCheck(r), !e || e.length < 2) throw new m(g("error.movable.groupTooFew"));
467
+ let i = this._members_();
468
+ for (let t of e) if (!i.includes(t)) throw new m(g("error.movable.groupNotSameGroup"));
469
+ let a = i.filter((t) => e.includes(t));
470
+ if (a.length === i.length) throw new m(g("error.movable.groupWholeGroup"));
471
+ let o = this.getMovable();
472
+ if (!o) throw new m("The group is not placed.");
473
+ let l = o.getRange().getWorksheet(), d = n(l.getView().getMovableSelection()), f = c.unionBounds(a.map((e) => {
474
474
  let t = e._getLocalPlacement();
475
475
  return u(t.bounds, t.rotation);
476
476
  })), p = this._createOptions.beginPersistResource();
@@ -490,24 +490,24 @@ var _ = class extends i {
490
490
  type: "group",
491
491
  json: {
492
492
  childBounds: { ...f },
493
- members: i.map((e) => e.toJSON(p.toResourceId.bind(p)))
493
+ members: a.map((e) => e.toJSON(p.toResourceId.bind(p)))
494
494
  }
495
495
  }
496
496
  };
497
497
  t?.name && (e.content.name = t.name);
498
- let a = this._beginCommit(n);
498
+ let n = this._beginCommit(r);
499
499
  try {
500
- for (let e of i) e.unselect();
501
- let n = this._createMember(e, p.fromResourceId.bind(p)), s = i[i.length - 1], c = [];
502
- for (let e of r) e === s ? c.push(n) : i.includes(e) || c.push(e);
500
+ for (let e of a) e.unselect();
501
+ let r = this._createMember(e, p.fromResourceId.bind(p)), o = a[a.length - 1], c = [];
502
+ for (let e of i) e === o ? c.push(r) : a.includes(e) || c.push(e);
503
503
  this._updateState({ members: c });
504
- for (let e of i) e.getContent().delete();
505
- return this._rebound(), o(a, l, [n], {
504
+ for (let e of a) e.getContent().delete();
505
+ return this._rebound(), s(n, l, [r], {
506
506
  autoSelect: t?.autoSelect ?? !0,
507
507
  autoSelectRestore: t?.autoSelectRestore
508
- }, d), a.commit(), this._members._notifyChange(), n;
508
+ }, d), n.commit(), this._members._notifyChange(), r;
509
509
  } catch (e) {
510
- throw a.rollback(), e;
510
+ throw n.rollback(), e;
511
511
  }
512
512
  } finally {
513
513
  p.endPersist();
@@ -522,7 +522,7 @@ var _ = class extends i {
522
522
  let i = n.filter((t) => t !== e);
523
523
  if (this._updateState({ members: i }), i.length === 1 && this.getMovable()) {
524
524
  let e = i[0], n = e.isSelected(), [a] = this._free(i, t?.description ?? h("op.deleteDrawing"));
525
- this.delete(t), n && o(r, a.getRange().getWorksheet(), [a], { autoSelect: !0 }, [e]);
525
+ this.delete(t), n && s(r, a.getRange().getWorksheet(), [a], { autoSelect: !0 }, [e]);
526
526
  } else i.length === 0 ? this.delete(t) : this._rebound();
527
527
  r.commit(), this._members._notifyChange();
528
528
  } catch (e) {
@@ -537,15 +537,15 @@ var _ = class extends i {
537
537
  a.splice(i, 1), a.splice(t, 0, e), this._updateState({ members: a }, { description: n }), this._members._notifyChange();
538
538
  }
539
539
  _createMember(e, t) {
540
- let r = this, i = e.content?.type ?? "custom", a = this._createOptions, o, s = {
541
- type: i,
540
+ let n = this, r = e.content?.type ?? "custom", a = this._createOptions, o, s = {
541
+ type: r,
542
542
  transactions: a.transactions,
543
543
  beginPersistResource: a.beginPersistResource,
544
544
  fromResourceId: t,
545
545
  json: e.content?.json,
546
546
  name: e.content?.name ?? null,
547
547
  description: e.content?.description ?? null,
548
- isReadOnly: () => r.isReadOnly(),
548
+ isReadOnly: () => n.isReadOnly(),
549
549
  deleteFromContainer: () => {
550
550
  o?._deleteFromContent();
551
551
  },
@@ -553,11 +553,11 @@ var _ = class extends i {
553
553
  getStyles: a.getStyles,
554
554
  getRange: a.getRange,
555
555
  addWatch: a.addWatch
556
- }, l = n(i, s, {
556
+ }, l = i(r, s, {
557
557
  getMovable: () => o,
558
- amend: (e) => r._amend(e),
559
- isClosed: () => r._closed
560
- }), u = () => r.getMovable(), d = () => r._members_().indexOf(o), f;
558
+ amend: (e) => n._amend(e),
559
+ isClosed: () => n._closed
560
+ }), u = () => n.getMovable(), d = () => n._members_().indexOf(o), f;
561
561
  return o = new _({
562
562
  content: l,
563
563
  json: e,
@@ -565,14 +565,14 @@ var _ = class extends i {
565
565
  beginPersistResource: a.beginPersistResource,
566
566
  fromResourceId: t,
567
567
  getParent: u,
568
- onMemberPlacementChange: () => r._rebound(),
568
+ onMemberPlacementChange: () => n._rebound(),
569
569
  place: (e) => {
570
- let t = r._drawnPlacement();
571
- return t ? c.placeInParent(t, r._childBounds(), e) : null;
570
+ let t = n._drawnPlacement();
571
+ return t ? c.placeInParent(t, n._childBounds(), e) : null;
572
572
  },
573
573
  unplace: (e) => {
574
- let t = r._drawnPlacement();
575
- return t ? c.placeInChild(t, r._childBounds(), e) : null;
574
+ let t = n._drawnPlacement();
575
+ return t ? c.placeInChild(t, n._childBounds(), e) : null;
576
576
  },
577
577
  coords: p.EmptyRange,
578
578
  getRanges: (e) => u().getRanges(),
@@ -585,20 +585,20 @@ var _ = class extends i {
585
585
  height: 0
586
586
  }),
587
587
  getCoordsAtBounds: () => p.EmptyRange,
588
- isProtected: () => r.isReadOnly(),
589
- moveToBackOnContainer: () => r._moveMember(o, 0, h("op.moveToBack")),
590
- moveBackwardOnContainer: () => r._moveMember(o, d() - 1, h("op.moveBackwards")),
591
- moveForwardOnContainer: () => r._moveMember(o, d() + 1, h("op.moveForward")),
592
- moveToFrontOnContainer: () => r._moveMember(o, r._members_().length - 1, h("op.moveToFront")),
593
- deleteFromContainer: (e) => r._removeMember(o, e),
588
+ isProtected: () => n.isReadOnly(),
589
+ moveToBackOnContainer: () => n._moveMember(o, 0, h("op.moveToBack")),
590
+ moveBackwardOnContainer: () => n._moveMember(o, d() - 1, h("op.moveBackwards")),
591
+ moveForwardOnContainer: () => n._moveMember(o, d() + 1, h("op.moveForward")),
592
+ moveToFrontOnContainer: () => n._moveMember(o, n._members_().length - 1, h("op.moveToFront")),
593
+ deleteFromContainer: (e) => n._removeMember(o, e),
594
594
  setContainerCallbacks: (e) => {
595
595
  e && (f = {
596
596
  ...f,
597
597
  ...e
598
- }), o && f && r._memberCallbacks.set(o, f);
598
+ }), o && f && n._memberCallbacks.set(o, f);
599
599
  },
600
600
  invalidate: () => {
601
- r._members._notifyChange();
601
+ n._members._notifyChange();
602
602
  }
603
603
  }), f && this._memberCallbacks.set(o, f), o;
604
604
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.11
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,11 +1,11 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.11
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
7
  async function e() {
8
- let e = "@0.8.0-beta.11";
8
+ let e = "@0.8.0-beta.12";
9
9
  e !== "@local" && e !== "@0.0.0" || (e = "");
10
10
  let t = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${e}/types/scripting-enums.json`, n = await fetch(t);
11
11
  if (!n.ok) throw Error(`Unable to load script enum runtime (${n.status}) from ${t}.`);
@@ -1,18 +1,18 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.11
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 { n as e } from "./Dlmig06rIo7cInRk.mjs";
8
- import { ct as t } from "./CV5EGEjG5_-CPpP0.mjs";
7
+ import { n as e } from "./fXWUMDhZ5yMSO629.mjs";
8
+ import { ct as t } from "./Bg5Di9GLNAkbqQ1P.mjs";
9
9
  var n = e({
10
10
  toConcreteCSS: () => i,
11
11
  toConcreteFill: () => a
12
12
  }), r = (e) => Math.round(Math.min(255, Math.max(0, e))).toString(16).padStart(2, "0").toUpperCase();
13
- function i(e) {
14
- let t = e.toRGBA(), n = t.alpha ?? 1;
15
- return n >= 1 ? `#${r(t.red)}${r(t.green)}${r(t.blue)}` : `rgba(${Math.round(t.red)},${Math.round(t.green)},${Math.round(t.blue)},${Math.round(1e3 * n) / 1e3})`;
13
+ function i(e, t = !1) {
14
+ let n = e.toRGBA(t), i = n.alpha ?? 1;
15
+ return i >= 1 ? `#${r(n.red)}${r(n.green)}${r(n.blue)}` : `rgba(${Math.round(n.red)},${Math.round(n.green)},${Math.round(n.blue)},${Math.round(1e3 * i) / 1e3})`;
16
16
  }
17
17
  function a(e, n) {
18
18
  if (e === void 0) return;