@sheetxl/sdk 0.8.0-beta.14 → 0.8.0-beta.16

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 (195) hide show
  1. package/LICENSE.md +8 -7
  2. package/browser/esm/4MbBwfmW2hDXk9_w.mjs +165 -0
  3. package/browser/esm/{ChYgQL-8qIDFmX31.mjs → 9YWdxmSjzLN4j_ts.mjs} +22 -22
  4. package/browser/esm/B6BdiHigbUdbZp3J.mjs +686 -0
  5. package/browser/esm/{CImFKFaYToUH-bSE.mjs → BF_QwkZ_hs2rFoTT.mjs} +3 -3
  6. package/browser/esm/{DBvu0tdSf-5vol4e.mjs → BMo2_9Ul36IwRm3S.mjs} +3 -3
  7. package/browser/esm/{B1aH_qa-czVyEVHd.mjs → BWY1qiidTUBVPJoD.mjs} +506 -502
  8. package/browser/esm/{BSXQAXwZdJKYTO4P.mjs → Bf80epSsm_RyAOb9.mjs} +29 -29
  9. package/browser/esm/{D_XMi4_5iO2rkET5.mjs → BfoE6Dn_GQCIkQD3.mjs} +2 -2
  10. package/browser/esm/{Dhw5XEJYFrkYjdU2.mjs → BlMYYQZP-QM-iBHz.mjs} +23 -22
  11. package/browser/esm/{MuNBN02MyZ558c_K.mjs → BqT-ASHP0NVSUUnY.mjs} +1528 -1433
  12. package/browser/esm/{DnR0xY7_iE3TmMcg.mjs → BtNuoQIrrHw_jnbJ.mjs} +4 -4
  13. package/browser/esm/BxFzcCYhvo9NXFjC.mjs +527 -0
  14. package/browser/esm/{DonQz2Tc3k9lNT8E.mjs → BxYuRTSF9ykc-Tpz.mjs} +3 -3
  15. package/browser/esm/{aRXqxIzjuSLwawMh.mjs → C2PvZwqK-uvsugVS.mjs} +2 -2
  16. package/browser/esm/C3JOjQwdG9kAig7i.mjs +2017 -0
  17. package/browser/esm/{SwLp-iElwDjfcJtv.mjs → C5x0EzqElYGTiTQc.mjs} +2 -2
  18. package/browser/esm/{AXlD9K1gCwPU4gCO.mjs → CMChv-fCFh68VQQt.mjs} +588 -587
  19. package/browser/esm/{BpwULQPKbb4R9Jew.mjs → CRbQATfI0yZxe1kX.mjs} +3 -3
  20. package/browser/esm/{CM_X1zZYzEUPaNJL.mjs → CUu3zeHqcwMRYiov.mjs} +2 -2
  21. package/{node/esm/b3XnssSr9lmvAC2N.mjs → browser/esm/C_jLGkFemj55_BP3.mjs} +3 -3
  22. package/browser/esm/{CtC__ALh4I8PKIln.mjs → CkZoDPUCK5jMUaeJ.mjs} +26955 -22064
  23. package/browser/esm/{DvvqmUQ9Z0NFm1-4.mjs → D-iHJ3q4nwOLcn1D.mjs} +2 -2
  24. package/browser/esm/{qCqzZW74-fhaIG2V.mjs → D807piM0VSokWz-L.mjs} +2 -2
  25. package/browser/esm/{BLYl-afJe_3std8i.mjs → DW3oQ39IF0bsc_lm.mjs} +2 -2
  26. package/browser/esm/{Ln4gsmhqH1LyoANj.mjs → DcB52JPBPmkc3l1m.mjs} +4 -4
  27. package/browser/esm/{DIfAk63CvaOZ3QKi.mjs → DlVnybrgwZWxWN3_.mjs} +10 -10
  28. package/browser/esm/{Dh84MDs-OhdCPCIg.mjs → DvVhatd0J1ch3OCO.mjs} +22 -22
  29. package/browser/esm/{BWoz4kQdA5KKJfl6.mjs → Dx9Fya60meMpuHqm.mjs} +2 -2
  30. package/browser/esm/{r_EZapMBdyS4gUd-.mjs → HV0FkJ6k3Ils318J.mjs} +78 -78
  31. package/browser/esm/{C7hpfT-sX2lyLS-D.mjs → JV9Szh5qTssjxJoE.mjs} +2 -2
  32. package/browser/esm/{CPIWV3Enlh_BF2TY.mjs → KpuD1kEcWB7cT0VM.mjs} +3 -3
  33. package/browser/esm/{3t4S9eda2I6jFad0.mjs → U4FL-QeC0bRUhTEo.mjs} +2 -2
  34. package/browser/esm/{D39XcmtPXVtMN4yF.mjs → WLlpmgLN5OVLoLrC.mjs} +3 -3
  35. package/browser/esm/{Cy8uYCggktF83278.mjs → WR146UAqrsUsL39e.mjs} +2 -2
  36. package/browser/esm/{BPPMKyMn65i1a1mE.mjs → WcHfawW2lkTHtWUd.mjs} +51 -49
  37. package/browser/esm/{Bdcd3QOzsc0aVMjN.mjs → Zp5-cTJ0Llb6EfGi.mjs} +4 -4
  38. package/browser/esm/{oSCy1X5CJ1iYtGDp.mjs → ad9PX897hYE4Srkc.mjs} +3 -3
  39. package/browser/esm/{UMQTbO0zNmBpzW1V.mjs → d_t-7d5BD1AdHg3u.mjs} +404 -404
  40. package/browser/esm/{BVqIknGhQCLUB_7Q.mjs → dwGdnbV-CykjNrlm.mjs} +2 -2
  41. package/browser/esm/{DiXeQjc0WJGLSVEo.mjs → e69NcYnKMLnAmqyA.mjs} +2 -2
  42. package/browser/esm/index.mjs +886 -578
  43. package/browser/esm/{yuF8SbWfjBfrxcq5.mjs → r-o0UCm7KtluNmyK.mjs} +3 -3
  44. package/licenses/dependencies.txt +69 -69
  45. package/node/esm/{BEBt5fo__rvT2q_u.mjs → 446KYBjJQa8g-8Gg.mjs} +52 -50
  46. package/node/esm/{BELc5aQ_pFPgbiso.mjs → 5OfKfTRX2_y2NwpU.mjs} +2 -2
  47. package/node/esm/{C-5JLSNof0FhkuFd.mjs → A3PEHO1HJvkHfb5n.mjs} +2 -2
  48. package/node/esm/{YpOpRyciqQLIY1-G.mjs → B4WUGzJBkQu7BXRm.mjs} +2 -2
  49. package/node/esm/{I-FZojIFWluC6X-j.mjs → BH8J6vKSO5zI_TWo.mjs} +2 -2
  50. package/node/esm/BLmdKnkLwkb3wWe6.mjs +2040 -0
  51. package/node/esm/{BuyAYLI4s33-vmgG.mjs → BZSxu_ZqX8-Uczzn.mjs} +2 -2
  52. package/node/esm/{DiCMnYA2bttmrX3q.mjs → BfPBiAgVmWhuFgFP.mjs} +3 -3
  53. package/node/esm/{BSVttk12GXNfKZ9k.mjs → Bknw7zWZhl2-w1pi.mjs} +3 -3
  54. package/node/esm/{uLrulyR7IXq0SF4j.mjs → BvIPsPiHhMclZ1kH.mjs} +22 -22
  55. package/node/esm/{clgEkmEwfB28nkz2.mjs → By2TFKOjA1HekZap.mjs} +4 -4
  56. package/node/esm/{BXg-D8Rc_iyB8p7X.mjs → BywIhvYkWk2o7MSW.mjs} +2 -2
  57. package/node/esm/{pF2vCOTmrxPAB41Q.mjs → C3zyhnMwQ2hRQBz7.mjs} +31 -30
  58. package/node/esm/{BCjHRVU8tC5lYypg.mjs → C884edhUf9yMqpPp.mjs} +2 -2
  59. package/node/esm/{B6jhx5pHPs2W5GE7.mjs → CDHY-0OyQ9348Brb.mjs} +189 -189
  60. package/node/esm/{xRGObcoaGDnAZFnj.mjs → CERNLhFrAwtu_p-q.mjs} +2 -2
  61. package/node/esm/{DbPUG2DcQ3T_QhcJ.mjs → CFkX_Cn6avQqQiVC.mjs} +78 -78
  62. package/node/esm/CJDV8P3hI8lu--3Z.mjs +530 -0
  63. package/node/esm/{Cyeq1rDslIqF1LKz.mjs → CKwiipdPJGzAiPjg.mjs} +2 -2
  64. package/node/esm/{BLPrFp_jKGYgWPX1.mjs → CLtUMJfKsy4SevWE.mjs} +3 -3
  65. package/node/esm/{DLdXl0O0TXuyqLU4.mjs → CVPieTgKCwkL21nD.mjs} +28573 -23108
  66. package/node/esm/{Dlk2ZYExFgQ0xE2H.mjs → C_fYuynP2a_70WdL.mjs} +2 -2
  67. package/{browser/esm/BEDfJP2tcuRy2Y2E.mjs → node/esm/CgdNA3B_GFG_yJiN.mjs} +3 -3
  68. package/node/esm/Cs3ibv6YHCDwLRlk.mjs +115 -0
  69. package/node/esm/{DeFE8QfuCeGw-mvd.mjs → Cxak8i2NidZ4Uv6v.mjs} +487 -483
  70. package/node/esm/{NA-8urR7T1NCwrgD.mjs → D88A3UpCyGRjcX3U.mjs} +3 -3
  71. package/node/esm/{99miMotf3dOuG5Jk.mjs → DBIUe2BC9xU7qMHR.mjs} +3 -3
  72. package/node/esm/{BEdxa3I4VOiCsvy7.mjs → DELfV5HQZo1mInBd.mjs} +4 -4
  73. package/node/esm/{BfEdeOg4iYXaYTlh.mjs → DOt3t-13tsnM7Fj6.mjs} +2 -2
  74. package/node/esm/{B3hBxzqJ2_hUylNr.mjs → DfWc3nW_Z_qqc_Wf.mjs} +1762 -1674
  75. package/node/esm/DgnwKbUEyQN5_gWT.mjs +169 -0
  76. package/node/esm/{Ccocd9DTvOnlOE9D.mjs → Dhv9JymnXqcF54oo.mjs} +2 -2
  77. package/node/esm/{Lj98EH6coGdKUzuS.mjs → DvtyKKzOnoOM80NB.mjs} +22 -22
  78. package/node/esm/{Crn6dnSQQRCQAnQ-.mjs → KDGrIa9R5XzWfjM2.mjs} +2 -2
  79. package/node/esm/{D30rC6AWaGGf3CaC.mjs → RTwm9ge1KoPdlBNt.mjs} +2 -2
  80. package/node/esm/{CdSTmD2ZvG9NesNR.mjs → _RIAmJI98l6bIFfZ.mjs} +2 -2
  81. package/node/esm/{CI8UIWR01z9QDlzH.mjs → bIGdvfpnijWeCac6.mjs} +1005 -1004
  82. package/node/esm/index.mjs +913 -598
  83. package/node/esm/kaiXmn0AA5WDsLPo.mjs +199 -0
  84. package/node/esm/{B5VmOC0jO9Zbh9Mq.mjs → mTIhoz1gEcaEm7s1.mjs} +3 -3
  85. package/package.json +7 -7
  86. package/resources/locales/de/model.msg.json +82 -1
  87. package/resources/locales/en/model.msg.json +80 -1
  88. package/types/scripting-api.json +9967 -9497
  89. package/types/scripting-enums.json +27 -0
  90. package/types/scripting.d.ts +2282 -166
  91. package/types/src/.generated/wasm/sdk.d.ts +332 -0
  92. package/types/src/calculation/Calculation.d.ts +8 -0
  93. package/types/src/calculation/ICalculation.d.ts +51 -0
  94. package/types/src/calculation/compiler/Types.d.ts +5 -0
  95. package/types/src/calculation/executor/CalcExecutorUtils.d.ts +1 -1
  96. package/types/src/calculation/formula/FormulaBlock.d.ts +2 -0
  97. package/types/src/calculation/formula/IFormulaBlock.d.ts +18 -0
  98. package/types/src/calculation/grid/CalcGrid.d.ts +5 -1
  99. package/types/src/calculation/grid/CalcGridBackend.d.ts +36 -1
  100. package/types/src/calculation/grid/CalcGridProxy.d.ts +2 -0
  101. package/types/src/calculation/grid/CalcGridUtils.d.ts +4 -2
  102. package/types/src/calculation/grid/FormulaHost.d.ts +3 -1
  103. package/types/src/calculation/grid/ICalcGrid.d.ts +88 -0
  104. package/types/src/calculation/grid/_CalcRequest.d.ts +9 -0
  105. package/types/src/calculation/spatial/FormulaSpatialValue.d.ts +2 -0
  106. package/types/src/calculation/spatial/SpillEntry.d.ts +55 -4
  107. package/types/src/calculation/state/CalcNode.d.ts +6 -3
  108. package/types/src/calculation/state/CalculationContext.d.ts +4 -2
  109. package/types/src/calculation/state/_PivotView.d.ts +22 -0
  110. package/types/src/cell/ICell.d.ts +1 -21
  111. package/types/src/cellRange/ICellRange.d.ts +18 -2
  112. package/types/src/collections/MixedTypedArrayList.d.ts +16 -2
  113. package/types/src/condition/BuiltInOperators/AbstractOperator.d.ts +10 -0
  114. package/types/src/condition/BuiltInOperators/GreaterThanEqualToOperator.d.ts +3 -0
  115. package/types/src/condition/BuiltInOperators/GreaterThanOperator.d.ts +3 -0
  116. package/types/src/condition/BuiltInOperators/LessThanEqualToOperator.d.ts +3 -0
  117. package/types/src/condition/BuiltInOperators/LessThanOperator.d.ts +3 -0
  118. package/types/src/condition/BuiltInOperators/MatchesOperator.d.ts +10 -0
  119. package/types/src/condition/BuiltInOperators/TimePeriodOperator.d.ts +2 -0
  120. package/types/src/condition/BuiltInOperators/index.d.ts +2 -0
  121. package/types/src/condition/Condition.d.ts +1 -0
  122. package/types/src/condition/ICondition.d.ts +15 -0
  123. package/types/src/condition/_ConditionUtils.d.ts +14 -0
  124. package/types/src/conditionalFormat/ConditionalFormat.d.ts +2 -1
  125. package/types/src/conditionalFormat/IConditionalFormat.d.ts +4 -3
  126. package/types/src/license/LicenseDetails.d.ts +27 -0
  127. package/types/src/license/LicenseManager.d.ts +24 -7
  128. package/types/src/license/_Utils.d.ts +34 -3
  129. package/types/src/license/index.d.ts +1 -0
  130. package/types/src/license/runtime.browser.d.ts +32 -4
  131. package/types/src/license/runtime.node.d.ts +8 -5
  132. package/types/src/license/summary.d.ts +18 -0
  133. package/types/src/pivot/IPivotTable.d.ts +1549 -13
  134. package/types/src/pivot/IPivotTableCollection.d.ts +70 -4
  135. package/types/src/pivot/PivotCache.d.ts +95 -11
  136. package/types/src/pivot/PivotDataField.d.ts +73 -0
  137. package/types/src/pivot/PivotField.d.ts +142 -0
  138. package/types/src/pivot/PivotTable.d.ts +548 -14
  139. package/types/src/pivot/PivotTableCollection.d.ts +18 -3
  140. package/types/src/pivot/_PivotAreas.d.ts +48 -0
  141. package/types/src/pivot/_PivotControls.d.ts +140 -0
  142. package/types/src/pivot/_PivotEngine.d.ts +9 -0
  143. package/types/src/pivot/_PivotGroups.d.ts +25 -0
  144. package/types/src/pivot/_PivotItems.d.ts +167 -0
  145. package/types/src/pivot/_PivotStructure.d.ts +237 -0
  146. package/types/src/pivot/_PivotStylePreview.d.ts +21 -0
  147. package/types/src/pivot/_PivotUtils.d.ts +37 -0
  148. package/types/src/pivot/engine/PivotAdd.d.ts +37 -0
  149. package/types/src/pivot/engine/PivotData.d.ts +65 -0
  150. package/types/src/pivot/engine/PivotEdit.d.ts +45 -0
  151. package/types/src/pivot/engine/PivotFilters.d.ts +50 -0
  152. package/types/src/pivot/engine/PivotFormulas.d.ts +72 -0
  153. package/types/src/pivot/engine/PivotLayout.d.ts +133 -0
  154. package/types/src/pivot/engine/PivotMove.d.ts +24 -0
  155. package/types/src/pivot/engine/PivotRefresh.d.ts +87 -0
  156. package/types/src/pivot/engine/PivotSort.d.ts +26 -0
  157. package/types/src/pivot/engine/PivotViewBuilder.d.ts +22 -0
  158. package/types/src/pivot/engine/index.d.ts +15 -0
  159. package/types/src/pivot/index.d.ts +4 -0
  160. package/types/src/pivot/kernel/KernelPivot.d.ts +63 -0
  161. package/types/src/pivot/kernel/_KernelLeaves.d.ts +100 -0
  162. package/types/src/pivot/kernel/_PivotAxisTree.d.ts +71 -0
  163. package/types/src/primitives/Range.d.ts +12 -1
  164. package/types/src/sheet/IWorksheet.d.ts +35 -0
  165. package/types/src/sheet/SheetCell.d.ts +21 -14
  166. package/types/src/sheet/SheetRange.d.ts +3 -0
  167. package/types/src/sheet/Worksheet.d.ts +175 -7
  168. package/types/src/sheet/_PivotFootprint.d.ts +42 -0
  169. package/types/src/sheet/_SheetAutoFitUtils.d.ts +12 -1
  170. package/types/src/sheet/_SheetMutations.d.ts +47 -0
  171. package/types/src/sheet/_SheetStateTypes.d.ts +11 -0
  172. package/types/src/sheet/style/SheetCellStyle.d.ts +6 -0
  173. package/types/src/sheet/style/SheetPivotStyle.d.ts +83 -0
  174. package/types/src/sheet/style/_IndentUnit.d.ts +14 -0
  175. package/types/src/sheetHeader/SheetCellHeader.d.ts +1 -1
  176. package/types/src/slicer/ISlicer.d.ts +114 -34
  177. package/types/src/slicer/ITimeline.d.ts +61 -0
  178. package/types/src/slicer/Slicer.d.ts +76 -3
  179. package/types/src/slicer/_PivotSlicer.d.ts +51 -0
  180. package/types/src/slicer/index.d.ts +1 -0
  181. package/types/src/table/AnchoredTable.d.ts +11 -1
  182. package/types/src/table/ITable.d.ts +5 -6
  183. package/types/src/table/ITableStyle.d.ts +50 -34
  184. package/types/src/table/_BuiltInPivotStyles.d.ts +8 -0
  185. package/types/src/table/_BuiltInTableStyles.d.ts +0 -1
  186. package/types/src/type/ITypes.d.ts +5 -1
  187. package/types/src/workbook/IWorkbook.d.ts +8 -2
  188. package/types/src/workbook/Workbook.d.ts +72 -6
  189. package/browser/esm/D2NFcBM4xsv0JJ1q.mjs +0 -184
  190. package/browser/esm/DnqwX3-2NfGBaXXl.mjs +0 -357
  191. package/node/esm/C3S4hF1vn0NyJPPd.mjs +0 -199
  192. package/node/esm/CPsGyt3vnOdLTShj.mjs +0 -360
  193. package/node/esm/D4Y1WJgjiFEgbWrW.mjs +0 -115
  194. package/types/src/pivot/_PivotXml.d.ts +0 -24
  195. package/types/src/primitives/Grouping.d.ts +0 -65
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.14
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
7
  import { readFile as t } from "node:fs/promises";
8
8
  import { fileURLToPath as r } from "node:url";
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.14
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t } from "./I-FZojIFWluC6X-j.mjs";
8
- import { Ni as e, ei as r, fi as s, nn as i, pi as n, ui as o, zr as l } from "./DLdXl0O0TXuyqLU4.mjs";
9
- import { Bt as a, Ft as u, Mt as h, Rt as c, T as d, Xt as p, Y as g, Yt as f, et as m, lt as y, mt as x, xt as b, zt as v } from "./CI8UIWR01z9QDlzH.mjs";
10
- import { i as w, r as _, t as k } from "./BEdxa3I4VOiCsvy7.mjs";
7
+ import { t } from "./BH8J6vKSO5zI_TWo.mjs";
8
+ import { Ki as e, Ta as r, aa as s, ia as i, ji as n, na as o, on as l } from "./CVPieTgKCwkL21nD.mjs";
9
+ import { $t as a, Bt as u, Ct as h, Ht as c, Lt as d, Pt as p, Qt as g, T as f, Ut as m, Y as y, et as x, lt as b, mt as v } from "./bIGdvfpnijWeCac6.mjs";
10
+ import { i as w, r as _, t as k } from "./DELfV5HQZo1mInBd.mjs";
11
11
  import { FormulaError as S } from "@sheetxl/primitives";
12
12
  import { ExpectedError as M, messageKey as P, t as L } from "@sheetxl/utils";
13
13
  var C = /<!\[CDATA\[([\s\S]*?)\]\]>|<!--[\s\S]*?-->|<\?[\s\S]*?\?>|<(\/?)([^\s/>]+)((?:\s+[^\s=/>]+\s*=\s*(?:"[^"]*"|'[^']*'))*)\s*(\/?)>|([^<]+)/g, A = {
@@ -1120,7 +1120,7 @@ var ae = [
1120
1120
  color: t
1121
1121
  }), me = (t) => t?.paragraphs?.[0]?.pPr?.defaultRun, ye = (t, e) => !("scatter" !== e.type && "bubble" !== e.type || "b" !== t.axPos && "t" !== t.axPos), xe = (t, e, r) => {
1122
1122
  try {
1123
- return x.getEngine().format(t || "General", e, {
1123
+ return v.getEngine().format(t || "General", e, {
1124
1124
  date1904: r,
1125
1125
  placeholders: !0
1126
1126
  }).text ?? "";
@@ -1213,7 +1213,7 @@ var Ce = class {
1213
1213
  if (!t) return e;
1214
1214
  const r = this.fill(t.fill);
1215
1215
  if (null === r) return null;
1216
- const s = t.lineCap, i = void 0 === t.dash ? e?.dash : y.toDashLengths(t.dash) ? t.dash : void 0;
1216
+ const s = t.lineCap, i = void 0 === t.dash ? e?.dash : b.toDashLengths(t.dash) ? t.dash : void 0;
1217
1217
  return {
1218
1218
  fill: r ?? e?.fill ?? fe(this.color("tx1")),
1219
1219
  width: "number" == typeof t.width ? t.width : e?.width ?? .75,
@@ -1245,7 +1245,7 @@ var Ce = class {
1245
1245
  };
1246
1246
  }
1247
1247
  typeface(t) {
1248
- return t && t !== f.ThemeFamily.Body ? t === f.ThemeFamily.Heading ? this._theme.majorFont() : t : this._theme.minorFont();
1248
+ return t && t !== g.ThemeFamily.Body ? t === g.ThemeFamily.Heading ? this._theme.majorFont() : t : this._theme.minorFont();
1249
1249
  }
1250
1250
  textFont(t, e) {
1251
1251
  const r = t.tx?.rich;
@@ -1509,7 +1509,7 @@ var Ce = class {
1509
1509
  }(o, i, n, {
1510
1510
  order: t.order,
1511
1511
  intercept: t.intercept
1512
- }), a = t.period ?? 2, u = Math.max(0, t.forward ?? 0), h = Math.max(0, t.backward ?? 0), c = t.name ?? `${"movingAvg" === o ? `${a} per. Mov. Avg.` : he[o]} (${e.name})`, d = t.spPr ? this.stroke(t.spPr.stroke, this.line(r, 1.5, "round", y.DashStyle.SysDot)) : this.stroke(void 0, this.line("#000000", this._c14 ? 1 : .5, "round"));
1512
+ }), a = t.period ?? 2, u = Math.max(0, t.forward ?? 0), h = Math.max(0, t.backward ?? 0), c = t.name ?? `${"movingAvg" === o ? `${a} per. Mov. Avg.` : he[o]} (${e.name})`, d = t.spPr ? this.stroke(t.spPr.stroke, this.line(r, 1.5, "round", b.DashStyle.SysDot)) : this.stroke(void 0, this.line("#000000", this._c14 ? 1 : .5, "round"));
1513
1513
  let p = null;
1514
1514
  if (l && (t.dispEq || t.dispRSqr)) {
1515
1515
  const e = t.trendlineLbl, r = e?.numFmt?.formatCode, s = r && "General" !== r ? (t) => xe(r, t, this._date1904) : pt, i = [];
@@ -2181,23 +2181,23 @@ function Te(t, e, r) {
2181
2181
  return new Ce(t, e, r ?? null).resolve();
2182
2182
  }
2183
2183
  var Ie = /^\p{White_Space}$/u;
2184
- function Fe(t = e.getShared()) {
2185
- const r = (e) => t.getByName(e.family, {
2184
+ function Fe(t = r.getShared()) {
2185
+ const e = (e) => t.getByName(e.family, {
2186
2186
  bold: e.bold,
2187
2187
  italic: e.italic
2188
2188
  }).table;
2189
2189
  return {
2190
- width: (t, e) => function(t, e, r) {
2190
+ width: (t, r) => function(t, e, r) {
2191
2191
  if (!t.isHinted) return t.width(e, r);
2192
2192
  const s = t.advance(32) ?? 0;
2193
2193
  let i = 0;
2194
2194
  for (const r of e) i += t.advance(r.codePointAt(0)) ?? (Ie.test(r) ? s : 0);
2195
2195
  return i * r;
2196
- }(r(e), t, e.size),
2196
+ }(e(r), t, r.size),
2197
2197
  lineHeight: (t) => {
2198
- const e = r(t);
2199
- if (null !== e.typoLine) return e.typoLine * t.size;
2200
- const s = e.metrics(1e4);
2198
+ const r = e(t);
2199
+ if (null !== r.typoLine) return r.typoLine * t.size;
2200
+ const s = r.metrics(1e4);
2201
2201
  return (s.ascent + s.descent) / 1e4 * t.size;
2202
2202
  }
2203
2203
  };
@@ -4141,24 +4141,24 @@ function jr(t) {
4141
4141
  function $r(t, e = "days", r = !1) {
4142
4142
  const s = Math.floor(t);
4143
4143
  if ("days" === e) return s;
4144
- const i = s - (h(s, r) - 1);
4144
+ const i = s - (p(s, r) - 1);
4145
4145
  if ("months" === e) return i;
4146
- const n = u(i, r) % 12;
4147
- return b(i, -n, !1, r);
4146
+ const n = d(i, r) % 12;
4147
+ return h(i, -n, !1, r);
4148
4148
  }
4149
4149
  function Wr(t, e, r, s = !1) {
4150
- return "days" === r ? t + e : b(t, "months" === r ? e : 12 * e, !1, s);
4150
+ return "days" === r ? t + e : h(t, "months" === r ? e : 12 * e, !1, s);
4151
4151
  }
4152
4152
  function Gr(t, e, r, s = !1) {
4153
4153
  if ("days" === r) return Math.floor(e) - Math.floor(t);
4154
- const i = u(Math.floor(e), s) - u(Math.floor(t), s);
4155
- return "months" === r ? i : Math.floor(u(Math.floor(e), s) / 12) - Math.floor(u(Math.floor(t), s) / 12);
4154
+ const i = d(Math.floor(e), s) - d(Math.floor(t), s);
4155
+ return "months" === r ? i : Math.floor(d(Math.floor(e), s) / 12) - Math.floor(d(Math.floor(t), s) / 12);
4156
4156
  }
4157
4157
  function Hr(t, e = !1) {
4158
4158
  const r = [...new Set(t.filter(Number.isFinite).map((t) => Math.floor(t)))].sort((t, e) => t - e);
4159
4159
  let s = "years";
4160
4160
  for (let t = 1; t < r.length; t++) {
4161
- const i = u(r[t - 1], e), n = u(r[t], e);
4161
+ const i = d(r[t - 1], e), n = d(r[t], e);
4162
4162
  if (i === n) return "days";
4163
4163
  Math.floor(i / 12) === Math.floor(n / 12) && (s = "months");
4164
4164
  }
@@ -6253,9 +6253,9 @@ var $s = {
6253
6253
  ...r ? { letterSpacing: 0 } : {},
6254
6254
  baseline: 0,
6255
6255
  color: si(s),
6256
- latin: f.ThemeFamily.Body,
6257
- eastAsian: f.ThemeFamily.Body,
6258
- complexScript: f.ThemeFamily.Body
6256
+ latin: g.ThemeFamily.Body,
6257
+ eastAsian: g.ThemeFamily.Body,
6258
+ complexScript: g.ThemeFamily.Body
6259
6259
  } },
6260
6260
  endRun: { language: "en-US" }
6261
6261
  }]
@@ -7681,7 +7681,7 @@ var Ei = 500000001, Vi = 500000002, zi = [
7681
7681
  type: "solid",
7682
7682
  color: e.color
7683
7683
  })), void 0 !== e.family) {
7684
- const t = e.family ?? f.ThemeFamily.Body;
7684
+ const t = e.family ?? g.ThemeFamily.Body;
7685
7685
  r = $i(r, "latin", t), r = $i(r, "eastAsian", t), r = $i(r, "complexScript", t);
7686
7686
  }
7687
7687
  return void 0 !== e.fallbacks && (r = $i(r, "fallbacks", e.fallbacks?.length ? [...e.fallbacks] : void 0)), r;
@@ -8334,9 +8334,9 @@ function $o(t) {
8334
8334
  return r;
8335
8335
  }
8336
8336
  var Wo = (t, e) => {
8337
- const r = c[t];
8338
- return void 0 === r ? t : ("number" == typeof r ? v(r, e) : void 0) ?? a(r);
8339
- }, Go = (t, e) => null == t ? "blank" : "string" == typeof t ? "text" : "number" == typeof t && e && x.getEngine().isDateFormat(e) ? "date" : "number", Ho = class {
8337
+ const r = u[t];
8338
+ return void 0 === r ? t : ("number" == typeof r ? c(r, e) : void 0) ?? m(r);
8339
+ }, Go = (t, e) => null == t ? "blank" : "string" == typeof t ? "text" : "number" == typeof t && e && v.getEngine().isDateFormat(e) ? "date" : "number", Ho = class {
8340
8340
  constructor(t) {
8341
8341
  this._sheet = t, this._blocks = [];
8342
8342
  }
@@ -8378,9 +8378,9 @@ var Wo = (t, e) => {
8378
8378
  format(t, e) {
8379
8379
  return this._at(t, e).format;
8380
8380
  }
8381
- }, qo = (t, e) => {
8382
- const i = s(t.getName()), n = (t, e) => `$${r(e)}$${o(t)}`, l = n(e.rowStart, e.colStart);
8383
- return `${i}!${e.rowStart === e.rowEnd && e.colStart === e.colEnd ? l : `${l}:${n(e.rowEnd, e.colEnd)}`}`;
8381
+ }, qo = (t, r) => {
8382
+ const s = i(t.getName()), n = (t, r) => `$${e(r)}$${o(t)}`, l = n(r.rowStart, r.colStart);
8383
+ return `${s}!${r.rowStart === r.rowEnd && r.colStart === r.colEnd ? l : `${l}:${n(r.rowEnd, r.colEnd)}`}`;
8384
8384
  }, Ko = (t) => qo(t.getWorksheet(), t.getCoords()), Yo = (t) => {
8385
8385
  const e = /^\{(.*)\}$/s.exec(t.trim());
8386
8386
  if (!e) return null;
@@ -8427,7 +8427,7 @@ var Wo = (t, e) => {
8427
8427
  };
8428
8428
  };
8429
8429
  function Jo(t, e, r) {
8430
- let s, i = null;
8430
+ let i, n = null;
8431
8431
  if ("string" == typeof t) {
8432
8432
  const o = t.trim().replace(/^=/, ""), l = Yo(o);
8433
8433
  if (l) {
@@ -8442,20 +8442,20 @@ function Jo(t, e, r) {
8442
8442
  return l.numbers || "values" === e ? { numLit: t } : { strLit: t };
8443
8443
  }
8444
8444
  if (!o) throw new M(L("error.chart.noData"));
8445
- i = Xo(o, r), s = i && n(o) ? Ko(i) : o;
8446
- } else i = t, s = Ko(t);
8447
- if ("values" === e) return { numRef: { f: s } };
8448
- if (!i || i.isInvalid()) return { strRef: { f: s } };
8449
- const o = i.getCoords();
8450
- if (o.rowEnd > o.rowStart && o.colEnd > o.colStart) return { multiLvlStrRef: { f: s } };
8451
- const l = i.getValues(), a = i.getNumberFormats();
8445
+ n = Xo(o, r), i = n && s(o) ? Ko(n) : o;
8446
+ } else n = t, i = Ko(t);
8447
+ if ("values" === e) return { numRef: { f: i } };
8448
+ if (!n || n.isInvalid()) return { strRef: { f: i } };
8449
+ const o = n.getCoords();
8450
+ if (o.rowEnd > o.rowStart && o.colEnd > o.colStart) return { multiLvlStrRef: { f: i } };
8451
+ const l = n.getValues(), a = n.getNumberFormats();
8452
8452
  let u = 0;
8453
8453
  for (let t = 0; t < l.length; t++) for (let e = 0; e < l[t].length; e++) {
8454
8454
  const r = Go(l[t][e], a[t]?.[e] ?? "");
8455
- if ("text" === r) return { strRef: { f: s } };
8455
+ if ("text" === r) return { strRef: { f: i } };
8456
8456
  "blank" !== r && u++;
8457
8457
  }
8458
- return u > 0 ? { numRef: { f: s } } : { strRef: { f: s } };
8458
+ return u > 0 ? { numRef: { f: i } } : { strRef: { f: i } };
8459
8459
  }
8460
8460
  function Qo(t, e) {
8461
8461
  if ("string" != typeof t) return t.isInvalid() ? 0 : t.size;
@@ -8547,7 +8547,7 @@ var bl = P("op.deleteChartSeries"), vl = P("op.setChartSeriesOrder"), wl = P("op
8547
8547
  }, Cl = (t) => ({
8548
8548
  type: "solid",
8549
8549
  color: t
8550
- }), Al = (t, e, r, s, i) => new d({
8550
+ }), Al = (t, e, r, s, i) => new f({
8551
8551
  getData: () => {
8552
8552
  const t = e();
8553
8553
  return {
@@ -8576,7 +8576,7 @@ var bl = P("op.deleteChartSeries"), vl = P("op.setChartSeriesOrder"), wl = P("op
8576
8576
  }
8577
8577
  getFamily() {
8578
8578
  const t = this._pick("latin");
8579
- return t && t !== f.ThemeFamily.Body ? t === f.ThemeFamily.Heading ? this._host.theme().majorFont() : t : this._host.theme().minorFont();
8579
+ return t && t !== g.ThemeFamily.Body ? t === g.ThemeFamily.Heading ? this._host.theme().majorFont() : t : this._host.theme().minorFont();
8580
8580
  }
8581
8581
  setFamily(t, e) {
8582
8582
  return this.update({ family: t }, e);
@@ -8589,7 +8589,7 @@ var bl = P("op.deleteChartSeries"), vl = P("op.setChartSeriesOrder"), wl = P("op
8589
8589
  }
8590
8590
  getThemeFamily() {
8591
8591
  const t = this._pick("latin");
8592
- return t && t !== f.ThemeFamily.Body ? t === f.ThemeFamily.Heading ? t : null : f.ThemeFamily.Body;
8592
+ return t && t !== g.ThemeFamily.Body ? t === g.ThemeFamily.Heading ? t : null : g.ThemeFamily.Body;
8593
8593
  }
8594
8594
  getFallbacks() {
8595
8595
  return this._pick("fallbacks") ?? [];
@@ -8616,19 +8616,19 @@ var bl = P("op.deleteChartSeries"), vl = P("op.setChartSeriesOrder"), wl = P("op
8616
8616
  return this.update({ bold: t }, e);
8617
8617
  }
8618
8618
  getItalic() {
8619
- return this._pick("style") === p.Style.Italic;
8619
+ return this._pick("style") === a.Style.Italic;
8620
8620
  }
8621
8621
  setItalic(t, e) {
8622
8622
  return this.update({ italic: t }, e);
8623
8623
  }
8624
8624
  getUnderline() {
8625
- return this._pick("underline") ?? p.UnderlineStyle.None;
8625
+ return this._pick("underline") ?? a.UnderlineStyle.None;
8626
8626
  }
8627
8627
  setUnderline(t, e) {
8628
8628
  return this.update({ underline: t }, e);
8629
8629
  }
8630
8630
  getStrike() {
8631
- return this._pick("strike") ?? p.StrikeStyle.None;
8631
+ return this._pick("strike") ?? a.StrikeStyle.None;
8632
8632
  }
8633
8633
  setStrike(t, e) {
8634
8634
  return this.update({ strike: t }, e);
@@ -8659,14 +8659,14 @@ var bl = P("op.deleteChartSeries"), vl = P("op.setChartSeriesOrder"), wl = P("op
8659
8659
  void 0 !== t.family && (s.family = t.family), void 0 !== t.fallbacks && (s.fallbacks = t.fallbacks), void 0 !== t.size && (s.size = r(t.size, (t) => t > 0) ?? this._defaults.size);
8660
8660
  const i = t.weight ?? (void 0 === t.bold || null === t.bold ? t.bold : t.bold ? 700 : 400);
8661
8661
  void 0 !== i && (s.weight = r("string" == typeof i ? "bold" === i ? 700 : "normal" === i ? 400 : Number(i) : i, (t) => t >= 1 && t <= 1e3) ?? (this._defaults.bold ? 700 : 400));
8662
- const n = t.style ?? (void 0 === t.italic || null === t.italic ? t.italic : t.italic ? p.Style.Italic : p.Style.Normal);
8663
- if (void 0 !== n && (s.italic = n === p.Style.Italic), void 0 !== t.color && (s.color = null === t.color ? null : Bl(this._host, String(t.color))), void 0 !== t.underline) {
8664
- const r = !0 === t.underline ? p.UnderlineStyle.Single : t.underline || p.UnderlineStyle.None;
8665
- r !== p.UnderlineStyle.SingleAccounting && r !== p.UnderlineStyle.DoubleAccounting && Object.values(p.UnderlineStyle).includes(r) || e(r), s.underline = r;
8662
+ const n = t.style ?? (void 0 === t.italic || null === t.italic ? t.italic : t.italic ? a.Style.Italic : a.Style.Normal);
8663
+ if (void 0 !== n && (s.italic = n === a.Style.Italic), void 0 !== t.color && (s.color = null === t.color ? null : Bl(this._host, String(t.color))), void 0 !== t.underline) {
8664
+ const r = !0 === t.underline ? a.UnderlineStyle.Single : t.underline || a.UnderlineStyle.None;
8665
+ r !== a.UnderlineStyle.SingleAccounting && r !== a.UnderlineStyle.DoubleAccounting && Object.values(a.UnderlineStyle).includes(r) || e(r), s.underline = r;
8666
8666
  }
8667
8667
  if (void 0 !== t.strike) {
8668
- const r = t.strike ?? p.StrikeStyle.None;
8669
- Object.values(p.StrikeStyle).includes(r) || e(r), s.strike = r;
8668
+ const r = t.strike ?? a.StrikeStyle.None;
8669
+ Object.values(a.StrikeStyle).includes(r) || e(r), s.strike = r;
8670
8670
  }
8671
8671
  return void 0 !== t.letterSpacing && (s.letterSpacing = r(t.letterSpacing, (t) => Math.abs(t) <= 4e3) ?? 0), void 0 !== t.baseline && (s.baseline = r(t.baseline, () => !0) ?? 0), this._write(s);
8672
8672
  }
@@ -8689,11 +8689,11 @@ var bl = P("op.deleteChartSeries"), vl = P("op.setChartSeriesOrder"), wl = P("op
8689
8689
  }
8690
8690
  toCSS(t, e = 1) {
8691
8691
  return {
8692
- fontFamily: g(this.getFamily(), this.getFallbacks()),
8693
- fontSize: this.getSize() * p.getDeviceScale() * e + "px",
8692
+ fontFamily: y(this.getFamily(), this.getFallbacks()),
8693
+ fontSize: this.getSize() * a.getDeviceScale() * e + "px",
8694
8694
  fontWeight: this.getWeight(),
8695
- fontStyle: this.getItalic() ? p.Style.Italic : p.Style.Normal,
8696
- textDecoration: m(this.getUnderline(), this.getStrike()),
8695
+ fontStyle: this.getItalic() ? a.Style.Italic : a.Style.Normal,
8696
+ textDecoration: x(this.getUnderline(), this.getStrike()),
8697
8697
  letterSpacing: `${this.getLetterSpacing()}pt`,
8698
8698
  color: this.getColor().toCSS(t)
8699
8699
  };
@@ -8703,7 +8703,7 @@ var bl = P("op.deleteChartSeries"), vl = P("op.setChartSeriesOrder"), wl = P("op
8703
8703
  family: this.getThemeFamily() ?? this.getFamily(),
8704
8704
  size: this.getSize(),
8705
8705
  weight: this.getWeight(),
8706
- style: this.getItalic() ? p.Style.Italic : p.Style.Normal,
8706
+ style: this.getItalic() ? a.Style.Italic : a.Style.Normal,
8707
8707
  color: String(this.getColor()),
8708
8708
  underline: this.getUnderline(),
8709
8709
  strike: this.getStrike(),
@@ -11925,9 +11925,9 @@ var bl = P("op.deleteChartSeries"), vl = P("op.setChartSeriesOrder"), wl = P("op
11925
11925
  const e = {};
11926
11926
  for (const [r, s] of Object.entries(t ?? {})) void 0 !== s && (e[r] = s);
11927
11927
  return e;
11928
- }, Ra = class r extends t {
11928
+ }, Ra = class e extends t {
11929
11929
  constructor(t) {
11930
- super(t), this._part = null, this._readSource = null, this._read = null, this._partModel = null, this._series = null, this._parts = null, this._held = null, this._heldModel = null, this._heldBefore = /* @__PURE__ */ new WeakMap(), this._layoutListeners = 0, this._layoutSources = null, this._dataListeners = /* @__PURE__ */ new Map(), this._sheetListeners = /* @__PURE__ */ new Map(), this._layoutQueued = !1, this._getStyles = t.getStyles ?? null, this._canHold = !!t.addWatch, t.json && (this._part = i.fromJSON(t.json.part, t.fromResourceId), this._updateState({ data: t.json }), this._partModel = t.json.model ?? null), this._syncHolds();
11930
+ super(t), this._part = null, this._readSource = null, this._read = null, this._partModel = null, this._series = null, this._parts = null, this._held = null, this._heldModel = null, this._heldBefore = /* @__PURE__ */ new WeakMap(), this._layoutListeners = 0, this._layoutSources = null, this._dataListeners = /* @__PURE__ */ new Map(), this._sheetListeners = /* @__PURE__ */ new Map(), this._layoutQueued = !1, this._getStyles = t.getStyles ?? null, this._canHold = !!t.addWatch, t.json && (this._part = l.fromJSON(t.json.part, t.fromResourceId), this._updateState({ data: t.json }), this._partModel = t.json.model ?? null), this._syncHolds();
11931
11931
  }
11932
11932
  _syncHolds() {
11933
11933
  if (!this._canHold) return;
@@ -12026,7 +12026,7 @@ var bl = P("op.deleteChartSeries"), vl = P("op.setChartSeriesOrder"), wl = P("op
12026
12026
  }
12027
12027
  _rangeAt(t) {
12028
12028
  const e = this._formulaAt(t);
12029
- if (!e || !n(e)) return null;
12029
+ if (!e || !s(e)) return null;
12030
12030
  try {
12031
12031
  return this._resolveRange(e);
12032
12032
  } catch {
@@ -12328,10 +12328,10 @@ var bl = P("op.deleteChartSeries"), vl = P("op.setChartSeriesOrder"), wl = P("op
12328
12328
  return t && "groups" in t ? t : this._getLayout(t);
12329
12329
  }
12330
12330
  _hitNames(t) {
12331
- const e = r._hitNamesOf.get(t);
12332
- if (e) return e;
12331
+ const r = e._hitNamesOf.get(t);
12332
+ if (r) return r;
12333
12333
  const s = this._nameHits();
12334
- return r._hitNamesOf.set(t, s), s;
12334
+ return e._hitNamesOf.set(t, s), s;
12335
12335
  }
12336
12336
  _nameHits() {
12337
12337
  const t = this._getParts(), e = /* @__PURE__ */ new Map();
@@ -12668,7 +12668,7 @@ var bl = P("op.deleteChartSeries"), vl = P("op.setChartSeriesOrder"), wl = P("op
12668
12668
  return t && G(t) ? Te(t, le(this._styles()), this._dataReader()) : null;
12669
12669
  }
12670
12670
  _styles() {
12671
- return this._getStyles?.() ?? (r._defaultStyles ??= new l());
12671
+ return this._getStyles?.() ?? (e._defaultStyles ??= new n());
12672
12672
  }
12673
12673
  getPivotSource() {
12674
12674
  return this._getFacts()?.pivotSource ?? null;
@@ -12836,7 +12836,7 @@ var bl = P("op.deleteChartSeries"), vl = P("op.setChartSeriesOrder"), wl = P("op
12836
12836
  if (this._layoutListeners += t, this._layoutListeners > 0 && !this._layoutSources && !this._closed) {
12837
12837
  const t = () => {
12838
12838
  this._closed || this._emitter.notify("onLayoutChange");
12839
- }, r = this.getMovable(), s = () => JSON.stringify(r?.getBounds() ?? null);
12839
+ }, e = this.getMovable(), s = () => JSON.stringify(e?.getBounds() ?? null);
12840
12840
  let i = s();
12841
12841
  const n = () => {
12842
12842
  const e = s();
@@ -12846,9 +12846,9 @@ var bl = P("op.deleteChartSeries"), vl = P("op.setChartSeriesOrder"), wl = P("op
12846
12846
  onAnyChange: t,
12847
12847
  onReferencesChange: () => this._syncDataListeners()
12848
12848
  }),
12849
- r?.addListeners({ onBoundsChange: n }),
12849
+ e?.addListeners({ onBoundsChange: n }),
12850
12850
  this._getStyles?.()?.addListeners({ onThemeChange: t }),
12851
- e.getShared().addListeners({ onCollectionChange: t })
12851
+ r.getShared().addListeners({ onCollectionChange: t })
12852
12852
  ];
12853
12853
  this._layoutSources = o.filter((t) => !!t), this._syncDataListeners();
12854
12854
  } else this._layoutListeners <= 0 && this._layoutSources && this._releaseLayoutSources();
@@ -12962,12 +12962,12 @@ var bl = P("op.deleteChartSeries"), vl = P("op.setChartSeriesOrder"), wl = P("op
12962
12962
  toJSON(t) {
12963
12963
  const e = this._getState();
12964
12964
  if (!e?.data) return null;
12965
- const r = { ...e.data }, s = this._getModel(), n = this._getRead()?.slots, o = (t) => this._movedAt(t);
12966
- if (s && n && !W(s)) r.model = it(s, n, { movedAt: o });
12967
- else if (s && n) {
12965
+ const r = { ...e.data }, s = this._getModel(), i = this._getRead()?.slots, n = (t) => this._movedAt(t);
12966
+ if (s && i && !W(s)) r.model = it(s, i, { movedAt: n });
12967
+ else if (s && i) {
12968
12968
  const t = /* @__PURE__ */ new Map();
12969
- r.model = it(s, n, {
12970
- movedAt: o,
12969
+ r.model = it(s, i, {
12970
+ movedAt: n,
12971
12971
  cacheOf: (e, r) => {
12972
12972
  const s = "multiLvlStr" === r ? null : this._plotRange(e);
12973
12973
  if (!s) return this._cacheOf(e, r);
@@ -12976,8 +12976,8 @@ var bl = P("op.deleteChartSeries"), vl = P("op.setChartSeriesOrder"), wl = P("op
12976
12976
  }
12977
12977
  });
12978
12978
  }
12979
- const l = i.toJSON(this._part, t);
12980
- return l ? ((r.model ?? null) !== this._partModel && delete l.xml, r.part = l) : delete r.part, r;
12979
+ const o = l.toJSON(this._part, t);
12980
+ return o ? ((r.model ?? null) !== this._partModel && delete o.xml, r.part = o) : delete r.part, r;
12981
12981
  }
12982
12982
  getTypeDescription() {
12983
12983
  return "Chart";