@sheetxl/studio-mui 0.3.2 → 0.3.4

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/LICENSE.md +11 -11
  2. package/README.md +24 -24
  3. package/browser/cjs/B1DCwLSJMTHSgdcP.cjs +6 -0
  4. package/browser/cjs/{BtYvPg1MnEyGWx8E.cjs → BHC1oqfBYh7Xmx_G.cjs} +1 -1
  5. package/browser/cjs/{BBJ57oaa6vu0zEjI.cjs → BMUOX4KpmBu6GH8Q.cjs} +1 -1
  6. package/browser/cjs/BsXtNRaOhnjlXTcA.cjs +6 -0
  7. package/browser/cjs/{sxA11AN6vr9fiHaa.cjs → Bwk2L5ydEvoRIisp.cjs} +1 -1
  8. package/browser/cjs/{CEjq7KQ0zHIi69or.cjs → C0hVi0a9d9Sh_FgO.cjs} +2 -2
  9. package/browser/cjs/{CgaWzlL_p5dgqA4f.cjs → C0sbobSHWURMB8m0.cjs} +3 -3
  10. package/browser/cjs/{CsvjAXVeoKH34aZc.cjs → C1GrJth6YhBZDgvq.cjs} +2 -2
  11. package/browser/cjs/{BZfQo-wrdJc4xy1p.cjs → CB6TEerfGxS24WUy.cjs} +2 -2
  12. package/browser/cjs/CBIj9rqxh2ze9ckF.cjs +6 -0
  13. package/browser/cjs/CkdT8JSum0WmJ7Tn.cjs +87 -0
  14. package/browser/cjs/CtKfykOLBwpCtsPd.cjs +11 -0
  15. package/browser/cjs/D9t4mfnS94EkWCXT.cjs +6 -0
  16. package/browser/cjs/{BTSVJlDxWgqbdgwJ.cjs → DEa9UMmpvbiH_Dxm.cjs} +1 -1
  17. package/browser/cjs/{CJFKRBbjz7X-rEau.cjs → DY0yxZSYTOZvtIkB.cjs} +1 -1
  18. package/browser/cjs/DbczL66CNJYzHHvr.cjs +12 -0
  19. package/browser/cjs/{DLeOkdGvdWl5tqCl.cjs → DfPqfTiRAZ9i5RVA.cjs} +2 -2
  20. package/browser/cjs/{C-4fmxJxBM8ThtN5.cjs → Dpc0lG73ekHkTPOA.cjs} +2 -2
  21. package/browser/cjs/{ByKQeaRgOfTOn4P6.cjs → DzdnNJvBx5lkLTW-.cjs} +1 -1
  22. package/browser/cjs/EPoWWLrVLfRMaxvD.cjs +6 -0
  23. package/browser/cjs/_JBLryXFRVS5vFVX.cjs +12 -0
  24. package/browser/cjs/{CX6yLHEdmP8SVEfH.cjs → edAxlEEqzjJ_PaBv.cjs} +2 -2
  25. package/browser/cjs/{CMTXA4puzeAnzQwq.cjs → f1m-IERoDbQdUMNJ.cjs} +1 -1
  26. package/browser/cjs/index.cjs +3 -3
  27. package/browser/cjs/{vEKDv57iikwYjhOc.cjs → j8ba84pFnKx2xWvW.cjs} +2 -2
  28. package/browser/cjs/{DLcyf5qNRNueXSur.cjs → xRKATlLPCXjQqLyR.cjs} +1 -1
  29. package/browser/esm/{Bt8Hem_KC6UibnGm.mjs → B3E24eA0KrqZGcc6.mjs} +6 -6
  30. package/browser/esm/{ZwbkuvbehTjluIzn.mjs → B7spDz0f3MErGle0.mjs} +21 -20
  31. package/browser/esm/{AkfGEQyMAKNp1Ktw.mjs → BQSJPoCxw_CbM_GB.mjs} +11 -10
  32. package/browser/esm/{Dq2nqH2znDzDq0no.mjs → C0HMqAubZ7789bne.mjs} +1 -1
  33. package/browser/esm/{DoCwq6ipapKirQSJ.mjs → C72RDqmHBctKx6yu.mjs} +1 -1
  34. package/browser/esm/{C3dyK-h3mgD7XzKl.mjs → CSEDlIO1VyJbsJUh.mjs} +8 -8
  35. package/browser/esm/{_zJv_HkelROSMajR.mjs → Ca8SXunZNcPT82kM.mjs} +1 -1
  36. package/browser/esm/{Dvi6qc2t9c_bRvzo.mjs → Cbj_GBiwqMbV7xNp.mjs} +44 -43
  37. package/browser/esm/Cdr3G0s5DSG6bX6w.mjs +52 -0
  38. package/browser/esm/{DudPyyE63O5X5Tij.mjs → CoPf1k9QR8u7c9dJ.mjs} +10 -10
  39. package/browser/esm/{CRByH9Wf2wJ94di-.mjs → CyUxX9cLgslryjv5.mjs} +1 -1
  40. package/browser/esm/{FhyoG4Gyhb7gVRPB.mjs → D7kxhKOLn3UAkGzE.mjs} +13 -13
  41. package/browser/esm/{9vaTrJzQjSFA2egn.mjs → DGIZQy_4rgYfRKUt.mjs} +10 -10
  42. package/browser/esm/{BRPqw1D9DgPK_A6V.mjs → DJmEZGVO4DnLsMSK.mjs} +7 -7
  43. package/browser/esm/{TFr0V-rb-KYQeRVW.mjs → DTY6o1fHyy7Ldm2E.mjs} +1 -1
  44. package/browser/esm/DhuuaOVgVDtHsSft.mjs +1467 -0
  45. package/browser/esm/{ByYn00uYUmHj9zvS.mjs → Dig0J4i2Urjl9Z--.mjs} +171 -170
  46. package/browser/esm/{CdUwERsyanWuNPx8.mjs → DmqNGi-j-G64Ah3R.mjs} +2 -2
  47. package/browser/esm/{B-DwCBC-vYtRKiGS.mjs → DnH6tB6PvfbWK92p.mjs} +13 -13
  48. package/browser/esm/{D_LHNgrCc-7V6FjT.mjs → Sg5ukHMhDKaJmwC5.mjs} +65 -65
  49. package/browser/esm/{D645MdIazDB-hc3d.mjs → TfEcJxbuvenMTWzb.mjs} +1 -1
  50. package/browser/esm/{s-R04_lOf8TuzWvo.mjs → buSI99ehYQ3RDGh9.mjs} +1 -1
  51. package/browser/esm/index.mjs +75 -74
  52. package/browser/esm/{BNbDRm5P-Ha3rBv4.mjs → n91lwJODGYpl_0sb.mjs} +1 -1
  53. package/browser/esm/{BVDNIiq2e_loYVfc.mjs → oJzTpcQBF382AsoK.mjs} +16 -16
  54. package/browser/esm/tEvhefgL1pPAbBne.mjs +19828 -0
  55. package/licenses/dependencies.txt +203 -225
  56. package/node/assets/style.css +1 -1
  57. package/node/esm/{CI9F84m6LzoOkVfK.mjs → B794OzAyQ2S3DUvE.mjs} +2 -2
  58. package/node/esm/{N2xFXdAPXckWbqvN.mjs → B9eTznHjWdKEfnmd.mjs} +13 -13
  59. package/node/esm/{DjLSO4d4T2JddYG_.mjs → BA_RIYlnXvTDRdhy.mjs} +9 -9
  60. package/node/esm/{CYcFo_OeyApoGTg3.mjs → BBUuSB5DBjPGuwXm.mjs} +2 -2
  61. package/node/esm/{CWRpbP9nAT2yR2r6.mjs → BPAWh9TN2AA_qg8Q.mjs} +13 -12
  62. package/node/esm/{DYOAGczbRXmskyrr.mjs → BWxdcvg2Tp0Ysth3.mjs} +1 -1
  63. package/node/esm/{BX8KUYAnQx1vI-cS.mjs → BX8ZbzM8Zfe_MtDJ.mjs} +22 -22
  64. package/node/esm/{DuboCcThig3p0wzs.mjs → BdXN9t5_NDfrKA2E.mjs} +29 -29
  65. package/node/esm/CaySzQgftaLFVU-a.mjs +25 -0
  66. package/node/esm/{B5jFauUSFpo_iDkW.mjs → CrwtN-27La5MZ9yI.mjs} +1 -1
  67. package/node/esm/{BjIAi3GfBAjiRIja.mjs → Cug20O7hGugaeSka.mjs} +276 -275
  68. package/node/esm/{Bth10k64kFkk36Hy.mjs → CwZUEv9f0ywDMV-Z.mjs} +12 -12
  69. package/node/esm/{Bk7aoxfQtGp8id7D.mjs → D0fA-N8eAJVD4a_b.mjs} +1 -1
  70. package/node/esm/{ZVae6CkvsUOXzMKw.mjs → D1aU9ydYjq7iFVAr.mjs} +1 -1
  71. package/node/esm/{D95MPCm8ObgZN5_j.mjs → D2gUK2WMUbCR0-Kw.mjs} +24 -23
  72. package/node/esm/{B2Y6U5_PvKIFVtAh.mjs → D4HUF8JC55LqF87u.mjs} +86 -85
  73. package/node/esm/DOC-LvGYDU9FpsDS.mjs +553 -0
  74. package/node/esm/{BsSGinAqat7R8x_O.mjs → DXNmGNM6ItcTOZyo.mjs} +1 -1
  75. package/node/esm/{DfXVaugDnucoDGYk.mjs → DY3eG9Mfo_-xsWGD.mjs} +2 -2
  76. package/node/esm/{CwIlFXgoa_xv0Doi.mjs → Djc-gCpBoXNpI6yL.mjs} +2 -2
  77. package/node/esm/{CS138m7XyLHvzDPV.mjs → ILfHRiSFod9A2fKN.mjs} +1 -1
  78. package/node/esm/Sc5EyWF8aAI0xzOO.mjs +308 -0
  79. package/node/esm/{CradKrxfiGQucTZ3.mjs → dasEgLXLO2WWGkUm.mjs} +8 -8
  80. package/node/esm/index.mjs +12873 -41672
  81. package/package.json +8 -8
  82. package/browser/cjs/1C6nE8JXbR1K_yhw.cjs +0 -6
  83. package/browser/cjs/6denMJxSAR1JnvVP.cjs +0 -15
  84. package/browser/cjs/B-N31rKSrvqkcxZP.cjs +0 -6
  85. package/browser/cjs/BLHCySywMnqptSI9.cjs +0 -32
  86. package/browser/cjs/BbEnQfoP4EOJK3YQ.cjs +0 -6
  87. package/browser/cjs/BjaD6jFpWrhKL2dz.cjs +0 -6
  88. package/browser/cjs/BnaQy4xZm6MUD5Sg.cjs +0 -13
  89. package/browser/cjs/BszSSdQItUM3BnN1.cjs +0 -6
  90. package/browser/cjs/C0vPGOmkrEmgMUC8.cjs +0 -6
  91. package/browser/cjs/C19mJZkF3zJRRDNw.cjs +0 -11
  92. package/browser/cjs/C2kX273f3kTe7viA.cjs +0 -6
  93. package/browser/cjs/C6MOXXmZPlw53ARk.cjs +0 -6
  94. package/browser/cjs/CGxAeOIqbsFk97UV.cjs +0 -6
  95. package/browser/cjs/CLeyzaTKMMR0Hcac.cjs +0 -6
  96. package/browser/cjs/CM1UZZ4gfAch7cju.cjs +0 -7
  97. package/browser/cjs/CSiwPeW0XIEaw5qn.cjs +0 -6
  98. package/browser/cjs/CaH2ZbfCFFqmTqKi.cjs +0 -6
  99. package/browser/cjs/Cbffh394PX-rgpbL.cjs +0 -6
  100. package/browser/cjs/Ce6nJl_bhnr51GJ3.cjs +0 -238
  101. package/browser/cjs/ChVT2EzsTJjDsozn.cjs +0 -6
  102. package/browser/cjs/Cjs836g7b_ipAS4X.cjs +0 -6
  103. package/browser/cjs/CkxuzW8FWE8vKkSL.cjs +0 -6
  104. package/browser/cjs/Clh_-4NLLHCW3c-r.cjs +0 -6
  105. package/browser/cjs/CsxexX1uKSMjAryZ.cjs +0 -6
  106. package/browser/cjs/CwgzXfkSX0s-h_0a.cjs +0 -6
  107. package/browser/cjs/CxIFTPLgMN5VgKh1.cjs +0 -12
  108. package/browser/cjs/D0ByNhICkrbUC74Z.cjs +0 -6
  109. package/browser/cjs/DAnQwP6m2P_AUhZh.cjs +0 -6
  110. package/browser/cjs/DFIMAvLgAQfQm3Bx.cjs +0 -6
  111. package/browser/cjs/DI-wbtkuZm7yx_ek.cjs +0 -6
  112. package/browser/cjs/DUUZT0ElQBBkt4qe.cjs +0 -6
  113. package/browser/cjs/DfrXQdrMzJWgyX4S.cjs +0 -6
  114. package/browser/cjs/DkOOlgNR-NXixaQX.cjs +0 -6
  115. package/browser/cjs/DmZIqrySryidgnRl.cjs +0 -6
  116. package/browser/cjs/DscIvkrfig_mffwY.cjs +0 -6
  117. package/browser/cjs/Dz8coNXp80TEXSyH.cjs +0 -6
  118. package/browser/cjs/IaiQe7d-LGA2611T.cjs +0 -1501
  119. package/browser/cjs/KNduwqq-J9uyLgsC.cjs +0 -6
  120. package/browser/cjs/LTnky81SCDfvEiub.cjs +0 -6
  121. package/browser/cjs/_EleKbbhQWfp8mqy.cjs +0 -124
  122. package/browser/cjs/sNpLX232YHzUxZOr.cjs +0 -12
  123. package/browser/esm/26ozZ2-vj7N8rpiB.mjs +0 -10
  124. package/browser/esm/B1BxGO2lBpSxSvw1.mjs +0 -10
  125. package/browser/esm/B7mPpY5DOxEGMbPk.mjs +0 -3934
  126. package/browser/esm/B8le6PM3dfy1qSHY.mjs +0 -10
  127. package/browser/esm/BCIwvhxFiDXGEwES.mjs +0 -10
  128. package/browser/esm/BFtFjxXyhdNH6yAV.mjs +0 -10
  129. package/browser/esm/BMsToxhQy4cSxlz-.mjs +0 -10
  130. package/browser/esm/BSv1o1DpwfEAWYSy.mjs +0 -51
  131. package/browser/esm/Be1UWt41K_Sp7nbQ.mjs +0 -10
  132. package/browser/esm/Bqmme9ilyvrHA-e_.mjs +0 -1575
  133. package/browser/esm/BvPUue2e8_ByeP7c.mjs +0 -10
  134. package/browser/esm/C9uQaKOaImv5o9c3.mjs +0 -10
  135. package/browser/esm/CBFDGZ_aqeLV3IIt.mjs +0 -10
  136. package/browser/esm/CNdA2-u6_d2tqz5J.mjs +0 -10
  137. package/browser/esm/CV-D1e318ShLCDie.mjs +0 -10
  138. package/browser/esm/CXKMDzYsDLhyK3SV.mjs +0 -10
  139. package/browser/esm/CaFxIFV4dLSI4zDW.mjs +0 -472
  140. package/browser/esm/CpD505ep5Z3oX287.mjs +0 -1466
  141. package/browser/esm/Cz9BPykuRu_5ay57.mjs +0 -425
  142. package/browser/esm/D2yV2gASA--bjve5.mjs +0 -10
  143. package/browser/esm/D6mAWXETxAqf416J.mjs +0 -10
  144. package/browser/esm/DPw7ErLvgq_9jYHE.mjs +0 -24
  145. package/browser/esm/DRVlO95U75R3eY27.mjs +0 -10
  146. package/browser/esm/DWoRF-U96vWLWF5Q.mjs +0 -5582
  147. package/browser/esm/DX8AE4p9fLlmEdTJ.mjs +0 -10
  148. package/browser/esm/DYvwKUBbWi2NWsyf.mjs +0 -10
  149. package/browser/esm/Dxl5GgDFgUsBkg-b.mjs +0 -10
  150. package/browser/esm/Qq233O5gbpRAP6un.mjs +0 -29
  151. package/browser/esm/UC5M3Z5HmOzupzqQ.mjs +0 -21
  152. package/browser/esm/VchKQpT2_B7Ca113.mjs +0 -820
  153. package/browser/esm/_5B66awyRsaDd_Hv.mjs +0 -10
  154. package/browser/esm/cOX4zBcY0-H_8kAj.mjs +0 -43654
  155. package/browser/esm/iIqrOkF_gUf_5m0C.mjs +0 -10
  156. package/browser/esm/kjRF87FSQwIzB1KD.mjs +0 -12
  157. package/browser/esm/ob7IFBy7DLC-iS-g.mjs +0 -10
  158. package/node/esm/8OtdJtJIKyA4POih.mjs +0 -14
  159. package/node/esm/B1BxGO2lBpSxSvw1.mjs +0 -10
  160. package/node/esm/B7bDAwgd6OSbVJh_.mjs +0 -10
  161. package/node/esm/B8le6PM3dfy1qSHY.mjs +0 -10
  162. package/node/esm/BCIwvhxFiDXGEwES.mjs +0 -10
  163. package/node/esm/BFtFjxXyhdNH6yAV.mjs +0 -10
  164. package/node/esm/BK9EmmFbROJ0rZqB.mjs +0 -4002
  165. package/node/esm/BMsToxhQy4cSxlz-.mjs +0 -10
  166. package/node/esm/Be1UWt41K_Sp7nbQ.mjs +0 -10
  167. package/node/esm/BeyDW_Yk6iu1JB4v.mjs +0 -453
  168. package/node/esm/BpdsRwlUAUyUdrlR.mjs +0 -813
  169. package/node/esm/BwnMNGZmp-FGW86J.mjs +0 -13
  170. package/node/esm/C9uQaKOaImv5o9c3.mjs +0 -10
  171. package/node/esm/CBFDGZ_aqeLV3IIt.mjs +0 -10
  172. package/node/esm/CJiY4Wz9eiX2B9nv.mjs +0 -10
  173. package/node/esm/CM9lgZdHfhhL2cv-.mjs +0 -10
  174. package/node/esm/CNdA2-u6_d2tqz5J.mjs +0 -10
  175. package/node/esm/CV-D1e318ShLCDie.mjs +0 -10
  176. package/node/esm/CV4Y5e_kU8o_sXoX.mjs +0 -10
  177. package/node/esm/CXKMDzYsDLhyK3SV.mjs +0 -10
  178. package/node/esm/CYsd2qqC_WxLTKE1.mjs +0 -555
  179. package/node/esm/D5uKz7a9v8FUVx0k.mjs +0 -80
  180. package/node/esm/D61UbOtLixUCDQce.mjs +0 -307
  181. package/node/esm/DRVlO95U75R3eY27.mjs +0 -10
  182. package/node/esm/DYvwKUBbWi2NWsyf.mjs +0 -10
  183. package/node/esm/DdDxTsQsLWNqX7ee.mjs +0 -16
  184. package/node/esm/Do5a0pvRN3hayzdD.mjs +0 -10
  185. package/node/esm/_5B66awyRsaDd_Hv.mjs +0 -10
  186. package/node/esm/_Wieg3dqzHo6_Crg.mjs +0 -29
  187. package/node/esm/iIqrOkF_gUf_5m0C.mjs +0 -10
  188. package/node/esm/kTEpzGO5dC1M9dbV.mjs +0 -24
  189. package/node/esm/ob7IFBy7DLC-iS-g.mjs +0 -10
  190. package/node/esm/pTSFPHHLPzmAcEKW.mjs +0 -10
  191. package/node/esm/rF9x01iQv2EpxorW.mjs +0 -5642
@@ -1,10 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- const e = { CUBEKPIMEMBER: { s: "Returns a key performance indicator (KPI) property and displays the KPI name in the cell.", p: { connection: { d: "is the name of a connection to an OLAP cube" }, kpiName: { d: "is the KPI name" }, kpiProperty: { d: "is the KPI property" }, caption: { d: "is the caption to be displayed in the cell" } }, h: "Unimplemented" }, CUBEMEMBER: { s: "Returns a member or tuple from the cube.", p: { connection: { d: "is the name of a connection to an OLAP cube" }, memberExpression: { d: "is the expression representing the name of a member or tuple in the OLAP cube" }, caption: { d: "is the caption to be displayed in the cell" } }, h: "Unimplemented" }, CUBEMEMBERPROPERTY: { s: "Returns the value of a member property from the cube.", p: { connection: { d: "is the name of a connection to an OLAP cube" }, memberExpression: { d: "is the expression representing the name of a member in the OLAP cube" }, kpiProperty: { d: "is the property name" } }, h: "Unimplemented" }, CUBERANKEDMEMBER: { s: "Returns the nth, or ranked, member in a set.", p: { connection: { d: "is the name of a connection to an OLAP cube" }, setExpression: { d: "is the set from which the element is to be retrieved" }, rank: { d: "is the rank of the element to be retrieved" }, caption: { d: "is the caption to be displayed in the cell" } }, h: "Unimplemented" }, CUBESET: { s: "Defines a calculated set of members or tuples by sending a set expression to the cube on the server, which creates the set, and then returns that set to Microsoft Excel.", p: { connection: { d: "is the name of a connection to an OLAP cube" }, setExpression: { d: "is the expression for the set" }, caption: { d: "is the caption to be displayed in the cell" }, sortOrder: { d: "is the sort order" }, sortBy: { d: "is the sort by" } }, h: "Unimplemented" }, CUBESETCOUNT: { s: "Returns the number of items in a set.", p: { set: { d: "is the set whose elements are to be counted" } }, h: "Unimplemented" }, CUBEVALUE: { s: "Returns an aggregated value from the cube.", p: { connection: { d: "is the name of a connection to an OLAP cube" }, memberExpression: {} }, h: "Unimplemented" } };
8
- export {
9
- e as default
10
- };
@@ -1,10 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- const r = { ERF: { s: "Returns the error function", p: { lowerLimit: { d: "is the lower bound for integrating ERF" }, upperLimit: { d: "is the upper bound for integrating ERF", v: 0 } } }, "ERF.PRECISE": { s: "Returns the error function", p: { x: { d: "is the lower bound for integrating ERF.PRECISE" } } }, ERFC: { s: "Returns the complementary error function", p: { x: { d: "is the lower bound for integrating ERF" } } } };
8
- export {
9
- r as default
10
- };
@@ -1,453 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- import { e } from "./BpdsRwlUAUyUdrlR.mjs";
8
- var t, n, o;
9
- (n = t || (t = {})).Orientation = { Column: "column", Row: "row" }, n.Orientations = { ...n.Orientation, Both: "both" }, n.Direction = { Up: "up", Down: "down", Left: "left", Right: "right" }, ((e2) => {
10
- e2.Code = { Parse: 0, Null: 1, Div0: 2, Value: 3, Ref: 4, Name: 5, Num: 6, NA: 7, GettingData: 8, Spill: 9, Connect: 10, Blocked: 11, Unknown: 12, Field: 13, Calc: 14, Busy: 16, Python: 19, Timeout: 20 }, e2.Label = { Parse: "#PARSE!", Null: "#NULL!", Div0: "#DIV/0!", Value: "#VALUE!", Ref: "#REF!", Name: "#NAME?", Num: "#NUM!", NA: "#N/A", GettingData: "#GETTING_DATA", Spill: "#SPILL!", Connect: "#CONNECT!", Blocked: "#BLOCKED!", Unknown: "#UNKNOWN!", Field: "#FIELD!", Calc: "#CALC!", Busy: "#BUSY!", Python: "#PYTHON!", Timeout: "#TIMEOUT!" };
11
- class t2 extends Error {
12
- constructor(e3, t3, n3, o3) {
13
- super(n3, o3), this._label = t3, this._code = e3, this.details = o3;
14
- }
15
- static {
16
- this.code = e2.Code.Unknown;
17
- }
18
- get isFormulaError() {
19
- return true;
20
- }
21
- getLabel() {
22
- return this._label;
23
- }
24
- getCode() {
25
- return this._code;
26
- }
27
- equals(e3) {
28
- return !!e3 && (this._code === e3._code || this._code === e3.code);
29
- }
30
- get [Symbol.toStringTag]() {
31
- return "[FormulaError]";
32
- }
33
- toString() {
34
- return this.message || this._label;
35
- }
36
- }
37
- e2.Known = t2;
38
- class n2 extends t2 {
39
- constructor(t3, n3) {
40
- super(e2.Code.Parse, e2.Label.Parse, t3, n3);
41
- }
42
- static {
43
- this.code = e2.Code.Parse;
44
- }
45
- getDetails() {
46
- const e3 = this.details;
47
- return { line: e3?.line ?? 1, column: e3?.column ?? 1, offset: e3?.offset ?? 0, length: e3?.length ?? 0 };
48
- }
49
- }
50
- e2.Parse = n2;
51
- class o2 extends t2 {
52
- constructor(t3, n3) {
53
- super(e2.Code.Null, e2.Label.Null, t3, n3);
54
- }
55
- static {
56
- this.code = e2.Code.Null;
57
- }
58
- }
59
- e2.Null = o2;
60
- class i2 extends t2 {
61
- constructor(t3, n3) {
62
- super(e2.Code.Div0, e2.Label.Div0, t3, n3);
63
- }
64
- static {
65
- this.code = e2.Code.Div0;
66
- }
67
- }
68
- e2.Div0 = i2;
69
- class r2 extends t2 {
70
- constructor(t3, n3) {
71
- super(e2.Code.Value, e2.Label.Value, t3, n3);
72
- }
73
- static {
74
- this.code = e2.Code.Value;
75
- }
76
- }
77
- e2.Value = r2;
78
- class a2 extends t2 {
79
- constructor(t3, n3) {
80
- super(e2.Code.Ref, e2.Label.Ref, t3, n3);
81
- }
82
- static {
83
- this.code = e2.Code.Ref;
84
- }
85
- }
86
- e2.Ref = a2;
87
- class s2 extends t2 {
88
- constructor(t3, n3) {
89
- super(e2.Code.Name, e2.Label.Name, t3, n3);
90
- }
91
- static {
92
- this.code = e2.Code.Name;
93
- }
94
- }
95
- e2.Name = s2;
96
- class l2 extends t2 {
97
- constructor(t3, n3) {
98
- super(e2.Code.Num, e2.Label.Num, t3, n3);
99
- }
100
- static {
101
- this.code = e2.Code.Num;
102
- }
103
- }
104
- e2.Num = l2;
105
- class c2 extends t2 {
106
- constructor(t3, n3) {
107
- super(e2.Code.NA, e2.Label.NA, t3, n3);
108
- }
109
- static {
110
- this.code = e2.Code.NA;
111
- }
112
- }
113
- e2.NA = c2;
114
- class d2 extends t2 {
115
- constructor(t3, n3) {
116
- super(e2.Code.GettingData, e2.Label.GettingData, t3, n3);
117
- }
118
- static {
119
- this.code = e2.Code.GettingData;
120
- }
121
- }
122
- e2.GettingData = d2;
123
- class u2 extends t2 {
124
- constructor(t3, n3) {
125
- super(e2.Code.Spill, e2.Label.Spill, t3, n3);
126
- }
127
- static {
128
- this.code = e2.Code.Spill;
129
- }
130
- }
131
- e2.Spill = u2;
132
- class p2 extends t2 {
133
- constructor(t3, n3) {
134
- super(e2.Code.Connect, e2.Label.Connect, t3, n3);
135
- }
136
- static {
137
- this.code = e2.Code.Connect;
138
- }
139
- }
140
- e2.Connect = p2;
141
- class m2 extends t2 {
142
- constructor(t3, n3) {
143
- super(e2.Code.Blocked, e2.Label.Blocked, t3, n3);
144
- }
145
- static {
146
- this.code = e2.Code.Blocked;
147
- }
148
- }
149
- e2.Blocked = m2;
150
- class y2 extends t2 {
151
- constructor(t3, n3) {
152
- super(e2.Code.Unknown, e2.Label.Unknown, t3, n3);
153
- }
154
- static {
155
- this.code = e2.Code.Unknown;
156
- }
157
- }
158
- e2.Unknown = y2;
159
- class f2 extends t2 {
160
- constructor(t3, n3) {
161
- super(e2.Code.Field, e2.Label.Field, t3, n3);
162
- }
163
- static {
164
- this.code = e2.Code.Field;
165
- }
166
- }
167
- e2.Field = f2;
168
- class h2 extends t2 {
169
- constructor(t3, n3) {
170
- super(e2.Code.Calc, e2.Label.Calc, t3, n3);
171
- }
172
- static {
173
- this.code = e2.Code.Calc;
174
- }
175
- }
176
- e2.Calc = h2;
177
- class g2 extends t2 {
178
- constructor(t3, n3) {
179
- super(e2.Code.Busy, e2.Label.Busy, t3, n3);
180
- }
181
- static {
182
- this.code = e2.Code.Busy;
183
- }
184
- }
185
- e2.Busy = g2;
186
- class w2 extends t2 {
187
- constructor(t3, n3) {
188
- super(e2.Code.Python, e2.Label.Python, t3, n3);
189
- }
190
- static {
191
- this.code = e2.Code.Python;
192
- }
193
- }
194
- e2.Python = w2;
195
- class C2 extends t2 {
196
- constructor(t3, n3) {
197
- super(e2.Code.Timeout, e2.Label.Timeout, t3, n3);
198
- }
199
- static {
200
- this.code = e2.Code.Timeout;
201
- }
202
- }
203
- e2.Timeout = C2;
204
- })(o || (o = {}));
205
- const i = {};
206
- i[o.Code.Parse] = o.Parse, i[o.Code.Null] = o.Null, i[o.Code.Div0] = o.Div0, i[o.Code.Value] = o.Value, i[o.Code.Ref] = o.Ref, i[o.Code.Name] = o.Name, i[o.Code.Num] = o.Num, i[o.Code.NA] = o.NA, i[o.Code.GettingData] = o.GettingData, i[o.Code.Spill] = o.Spill, i[o.Code.Connect] = o.Connect, i[o.Code.Blocked] = o.Blocked, i[o.Code.Unknown] = o.Unknown, i[o.Code.Field] = o.Field, i[o.Code.Calc] = o.Calc, i[o.Code.Busy] = o.Busy, i[o.Code.Python] = o.Python, i[o.Code.Timeout] = o.Timeout;
207
- const r = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), c = Object.keys(i);
208
- for (let e2 = 0; e2 < c.length; e2++) {
209
- const t2 = c[e2], n2 = i[t2];
210
- s.set(o.Label[t2], n2), l.set(o.Code[t2], n2);
211
- const d2 = new n2();
212
- r.set(d2.getLabel(), d2), a.set(d2.getCode(), d2);
213
- }
214
- const d = a.get(o.Code.Unknown);
215
- var u;
216
- (u = o || (o = {})).BuiltIn = { Parse: new u.Parse(), Null: new u.Null(), Div0: new u.Div0(), Value: new u.Value(), Ref: new u.Ref(), Name: new u.Name(), Num: new u.Num(), NA: new u.NA(), GettingData: new u.GettingData(), Spill: new u.Spill(), Connect: new u.Connect(), Blocked: new u.Blocked(), Unknown: new u.Unknown(), Field: new u.Field(), Calc: new u.Calc(), Busy: new u.Busy(), Python: new u.Python(), Timeout: new u.Timeout() }, u.getBuiltInByLabel = (e2) => r.get(e2), u.newTypedError = (e2, t2, n2) => {
217
- let o2;
218
- return o2 = "string" == typeof e2 ? s.get(e2) : l.get(e2), o2 || (o2 = u.Unknown), new o2(t2, n2);
219
- }, u.getBuiltInById = (e2) => a.get(e2) || d;
220
- let p = null, m = null;
221
- const y = { compilerOptions: { target: "esnext" } }, f = async () => "\n interface FirstTest {\n isTrue?: boolean;\n }\n", h = /* @__PURE__ */ new Map([["IReferenceRange", "r"], ["IRange", "l"]]), g = /* @__PURE__ */ new Map([["IWorkbook", "workbook"], ["ISheet", "sheet"], ["ICellRanges", "ranges"], ["ICellRange", "range"], ["IFormulaContext", "context"]]), w = (e2, t2) => {
222
- Array.from(t2.keys()).forEach((n2) => {
223
- const o2 = t2.get(n2);
224
- t2.set(`${e2}.${n2}`, o2);
225
- });
226
- }, C = /* @__PURE__ */ new Map([["Scalar", "*"], ["FormulaError.Known", "e"], ["Date", "Date"], ["JSON", "JSON"]]), x = /* @__PURE__ */ new Map([]), b = "SheetXL";
227
- w(b, h), w(b, g), w(b, x);
228
- const T = /* @__PURE__ */ new Map([["Promise", () => ({ async: true })], ["Observable", () => ({ stream: true })]]);
229
- let k = null;
230
- async function N() {
231
- if (k) return k;
232
- try {
233
- return await (await import("./DdDxTsQsLWNqX7ee.mjs")).initialize();
234
- } catch (e2) {
235
- throw k = null, e2;
236
- } finally {
237
- k = null;
238
- }
239
- }
240
- async function S(t2) {
241
- const n2 = t2?.source ?? null;
242
- if (!n2) return null;
243
- const o2 = (t2.disableBundle || t2.declarationsOnly) ?? false, i2 = [f(), N()], r2 = await Promise.all(i2), a2 = r2[0], s2 = r2[1];
244
- let l2 = "", c2 = null;
245
- const d2 = [], u2 = { allowJs: true, declaration: false, sourceMap: false, inlineSourceMap: false, inlineSources: false, isolatedModules: true, preserveConstEnums: false, module: 99, noResolve: true, emitDeclarationOnly: false, target: s2.ScriptTarget.ES2020 }, w2 = "script", x2 = `${w2}.ts`, b2 = "lib.d.ts", k2 = "global.d.ts", S2 = { [x2]: n2, [b2]: "\n/**\n * Represents the completion of an asynchronous operation\n */\ninterface Promise<T> {\n /**\n * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The\n * resolved value cannot be modified from the callback.\n * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).\n * @returns A Promise for the completion of the callback.\n */\n finally(onfinally?: (() => void) | undefined | null): Promise<T>;\n}\n", [k2]: a2 }, E = { getSourceFile: (e2, t3, n3, o3) => s2.createSourceFile(e2, S2[e2], s2.ScriptTarget.Latest, true), fileExists: (e2) => void 0 !== S2[e2], readFile: (e2) => S2[e2], writeFile: (e2, t3) => {
246
- S2[e2] = t3;
247
- }, getCurrentDirectory: () => "./", getCanonicalFileName: (e2) => e2, useCaseSensitiveFileNames: () => true, getDefaultLibFileName: (e2) => b2, getNewLine: () => "\n" }, L = s2.createProgram([x2, k2], u2, E), D = L.getTypeChecker(), v = L.getSourceFile(x2), F = L.emit();
248
- F.diagnostics.length > 0 && console.warn(F.diagnostics), l2 = S2[`${w2}.js`];
249
- const K = (e2, t3, n3, o3) => {
250
- if (e2) {
251
- if (e2.kind === s2.SyntaxKind.NumberKeyword) t3.scalar = "n";
252
- else if (e2.kind === s2.SyntaxKind.StringKeyword) t3.scalar = "s";
253
- else if (e2.kind === s2.SyntaxKind.BooleanKeyword) t3.scalar = "b";
254
- else if (e2.kind === s2.SyntaxKind.UndefinedKeyword || e2.kind === s2.SyntaxKind.NullKeyword || e2.kind === s2.SyntaxKind.VoidKeyword) {
255
- if (o3) return void $(e2, new Error(`'undefined' is not a valid type for input: '${e2?.parent?.name?.escapedText}'.`));
256
- t3.scalar = "z";
257
- } else if (e2.kind === s2.SyntaxKind.BigIntKeyword) t3.scalar = "n";
258
- else if (e2.kind === s2.SyntaxKind.AnyKeyword) t3.scalar = "z";
259
- else if (e2.kind === s2.SyntaxKind.ArrayType) {
260
- const i3 = e2.elementType;
261
- if (!i3) return void $(e2, new Error(`'Array' must be typed: '${e2?.parent?.name?.escapedText}'.`));
262
- t3.arrayDepth = (t3.arrayDepth ?? 0) + 1, K(i3, t3, n3, o3);
263
- } else if (e2.kind !== s2.SyntaxKind.TupleType && e2.kind === s2.SyntaxKind.TypeReference) {
264
- const i3 = e2.typeName?.getText?.() ?? null, r3 = h.get(i3);
265
- let a3 = false;
266
- r3 && (t3.range = r3, a3 = true);
267
- const s3 = C.get(i3);
268
- if (s3 && (t3.scalar = s3), void 0 !== s3 && (a3 = true), o3) {
269
- const e3 = g.get(i3);
270
- if (e3) return e3;
271
- } else {
272
- const n4 = T.get(i3);
273
- if (n4) {
274
- const o4 = { ...t3, ...n4() };
275
- let r4 = 0;
276
- if (o4.async && r4++, o4.stream && r4++, r4 > 1) return void $(e2, new Error(`'${i3}' cannot have multiple modifiers: '${e2?.parent?.name?.escapedText}'.`));
277
- t3 = o4, a3 = true;
278
- }
279
- }
280
- if (!a3) return void $("node", new Error(`'${i3}' is not a valid type: '${e2?.parent?.name?.escapedText}'.`));
281
- const l3 = e2.typeArguments;
282
- if (l3) {
283
- if (1 !== l3.length) return void $(e2, new Error(`'${i3}' must be typed with exactly 1 type: '${e2?.parent?.name?.escapedText}'.`));
284
- K(l3[0], t3, n3, o3);
285
- }
286
- }
287
- } else $(e2, new Error(`Type is not defined for '${t3?.name ?? "return"}'.`));
288
- }, P = [], $ = (e2, t3) => {
289
- P.push(t3);
290
- };
291
- if (s2.forEachChild(v, (e2) => {
292
- if (n3 = e2, 0 !== (s2.getCombinedModifierFlags(n3) & s2.ModifierFlags.Export) && s2.isFunctionDeclaration(e2)) {
293
- const n4 = {}, o3 = { parameters: {} }, i3 = e2?.name?.getText();
294
- try {
295
- n4.name = i3;
296
- const r3 = D.getSymbolAtLocation(e2.name).getDocumentationComment(D);
297
- if (r3 && r3.length > 0 && r3[0].text) {
298
- let e3 = r3[0].text;
299
- e3 = e3.replace(/[\r\n]+/g, "\\n").trim(), o3.summary = e3;
300
- }
301
- const a3 = {};
302
- K(e2.type, a3, n4, false), n4.returnType = a3;
303
- const l3 = {};
304
- t3 = e2, 0 !== (s2.getCombinedModifierFlags(t3) & s2.ModifierFlags.Default) && (l3.default = true, c2 = i3), Object.keys(l3).length > 0 && (n4.behavior = l3), n4.parameters = [];
305
- const u3 = /* @__PURE__ */ new Map();
306
- for (let t4 = 0; t4 < e2.parameters.length; t4++) {
307
- const i4 = e2.parameters[t4], r4 = {};
308
- r4.name = i4.name?.getText();
309
- const a4 = K(i4.type, r4, n4, true);
310
- if (a4) {
311
- if (0 !== n4.parameters.length) {
312
- const t5 = e2?.parent, o4 = t5?.name?.getText();
313
- return void $(e2, new Error(`'${n4.name}' contexts must be the first parameter: '${o4}'.`));
314
- }
315
- n4.context = a4;
316
- continue;
317
- }
318
- let l4;
319
- if ((void 0 !== i4.initializer && null !== i4.initializer || void 0 !== i4.questionToken && null !== i4.questionToken) && (r4.optional = true, i4.initializer)) try {
320
- l4 = i4.initializer.kind === s2.SyntaxKind.StringLiteral ? i4.initializer.text : i4.initializer.kind === s2.SyntaxKind.NumericLiteral ? parseFloat(i4.initializer.text) : i4.initializer.kind === s2.SyntaxKind.TrueKeyword || i4.initializer.kind === s2.SyntaxKind.FalseKeyword ? i4.initializer.kind === s2.SyntaxKind.TrueKeyword : i4.initializer.kind === s2.SyntaxKind.NullKeyword ? null : i4.initializer.kind === s2.SyntaxKind.ObjectLiteralExpression || i4.initializer.kind === s2.SyntaxKind.ArrayLiteralExpression ? i4.initializer.getText() : i4.initializer.getText?.();
321
- } catch (e3) {
322
- console.warn(`Couldn't extract default value for parameter '${r4.name}'`, e3);
323
- }
324
- i4.dotDotDotToken && (r4.rest = true), n4.parameters.push(r4);
325
- const c3 = { description: "" };
326
- o3.parameters[r4.name] = c3;
327
- const d3 = D.getSymbolAtLocation(i4.name).getDocumentationComment(D);
328
- d3 && d3.length > 0 && d3[0].text && (c3.description = d3[0].text), void 0 !== l4 && (c3.defaultValue = l4), u3.set(r4.name, r4);
329
- }
330
- if (e2.jsDoc && e2.jsDoc.length > 0) {
331
- const t4 = e2.jsDoc;
332
- for (let e3 = 0; e3 < t4.length; e3++) {
333
- const r4 = t4[e3]?.tags;
334
- if (r4) for (let e4 = 0; e4 < r4.length; e4++) {
335
- const t5 = r4[e4];
336
- let a4 = t5?.tagName?.text;
337
- if (!a4) continue;
338
- a4 = a4.toLowerCase();
339
- let l4 = t5.comment;
340
- const c3 = "hidden" === a4;
341
- if (("string" == typeof l4 || c3) && ("string" == typeof l4 && (l4 = l4.replace(/[\r\n]+/g, "\\n").trim()), c3 || !l4 || (l4 = l4.split(/\\n/)[0], l4 && 0 !== l4.length))) {
342
- if (l4 && "string" == typeof l4) {
343
- const e5 = /\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;
344
- let t6, n5 = l4, i4 = [];
345
- for (; null !== (t6 = e5.exec(l4)); ) {
346
- const [e6, n6, o4, i5] = t6, r5 = [o4.trim()];
347
- i5 && r5.push(i5.trim());
348
- }
349
- l4 = n5, i4.length > 0 && "see" === a4 && (o3.links || (o3.links = []), o3.links.push(...i4));
350
- }
351
- if ("name" === a4) {
352
- const e5 = l4;
353
- e5 !== i3 && (o3.name = e5);
354
- } else if ("description" !== a4) {
355
- if ("summary" === a4) {
356
- const e5 = l4;
357
- e5 && (o3.summary = e5);
358
- } else if ("param" === a4) {
359
- const e5 = t5.name?.text, n5 = u3.get(e5);
360
- if (!n5) {
361
- P.push(new Error(`Parameter '${e5}' not found in function '${i3}'.`));
362
- continue;
363
- }
364
- if (t5.typeExpression && t5.typeExpression.type) try {
365
- const e6 = t5.typeExpression.type;
366
- if (e6.kind === s2.SyntaxKind.UnionType) {
367
- const t6 = [];
368
- n5.enums = t6, e6.types.forEach((e7) => {
369
- if (e7.kind === s2.SyntaxKind.LiteralType) {
370
- const n6 = e7.literal.text;
371
- n6 && t6.push(n6);
372
- }
373
- });
374
- }
375
- } catch (e6) {
376
- console.warn("Error parsing JSDoc type expression:", e6);
377
- }
378
- } else if ("returns" === a4 || "return" === a4) n4.returnType.description = l4;
379
- else if ("category" === a4) o3.category = l4;
380
- else if ("hidden" === a4) {
381
- let e5 = true;
382
- const t6 = l4?.toLowerCase();
383
- "false" === t6 ? e5 = false : "true" !== t6 && (e5 = l4), false !== e5 && (o3.hidden = e5 ?? true);
384
- }
385
- }
386
- }
387
- }
388
- }
389
- }
390
- 0 === Object.keys(n4.returnType).length && delete n4.returnType, d2.push([n4, o3]);
391
- } catch (t4) {
392
- $(e2, new Error(`'${i3}': ${t4.message}`));
393
- }
394
- }
395
- var t3, n3;
396
- }), P.length > 0) throw console.warn(P), new Error("There were compilation errors.", { cause: P });
397
- if (0 === d2.length) throw new Error("No exported functions.");
398
- const B = `${e.uuidV4()}-script`;
399
- try {
400
- o2 || 0 !== P.length || (l2 = await async function(e2, t3, n3 = "/script.js", o3 = "__SHEETXL") {
401
- try {
402
- const e3 = await async function() {
403
- if (p) return p;
404
- if (m) {
405
- if (await m, !p) throw new Error("ESBuild initialization promise resolved, but instance is not available.");
406
- return p;
407
- }
408
- let e4, t4;
409
- m = new Promise((n4, o4) => {
410
- e4 = n4, t4 = o4;
411
- });
412
- try {
413
- const { initialize: t5 } = await import("./8OtdJtJIKyA4POih.mjs");
414
- return p = await t5(), e4(), p;
415
- } catch (e5) {
416
- throw console.error("Failed to import or initialize esbuild:", e5), m = null, t4(e5), e5;
417
- }
418
- }(), i3 = "@sheetxl/primitives", r3 = `
419
- export const FormulaContext = globalThis.${o3}?.FormulaContext;
420
- export const ScalarType = globalThis.${o3}?.ScalarType;
421
- export const Observable = globalThis.${o3}?.Observable;
422
- export const IRange = globalThis.${o3}?.IRange;
423
- export const FormulaError = globalThis.${o3}?.FormulaError;
424
- // Add more exports as needed
425
- `, a3 = { name: "sheetxl-esbuild-in-memory", setup(e4) {
426
- const o4 = "sheetxl-" + (/* @__PURE__ */ new Date()).getTime();
427
- e4.onResolve({ filter: new RegExp(`^(${n3.replace("/", "\\/")}|${i3})$`) }, (e5) => ({ path: e5.path, namespace: o4 })), e4.onResolve({ filter: /.*/ }, (e5) => {
428
- if (e5.namespace !== o4) return console.warn(`esbuild: Treating import "${e5.path}" as external.`), { path: e5.path, external: true };
429
- }), e4.onLoad({ filter: /.*/, namespace: o4 }, (e5) => {
430
- let a4;
431
- if (e5.path === n3) a4 = t3;
432
- else {
433
- if (e5.path !== i3) return { errors: [{ text: `Cannot load unknown path in ${o4}: ${e5.path}` }] };
434
- a4 = r3;
435
- }
436
- return { contents: a4, loader: "ts" };
437
- });
438
- } }, s3 = await e3.build({ entryPoints: [n3], bundle: true, write: false, format: "esm", plugins: [a3], sourcemap: "inline", tsconfigRaw: y, minify: true, platform: "neutral" });
439
- if (s3.outputFiles && s3.outputFiles.length > 0) return s3.outputFiles[0].text;
440
- throw s3.errors && s3.errors.length > 0 ? new Error(`esbuild bundling failed: ${s3.errors.map((e4) => e4.text).join("\n")}`) : new Error("esbuild did not produce an output file.");
441
- } catch (e3) {
442
- throw console.error("esbuild bundling process failed:", e3), e3;
443
- }
444
- }(0, l2, w2));
445
- } catch {
446
- console.warn("Error bundling script");
447
- }
448
- const R = { functions: d2, commitId: B, source: n2, name: "Script", language: "typescript", compiled: l2 };
449
- return c2 && (R.autoRun = c2), R;
450
- }
451
- export {
452
- S as compileModule
453
- };