@sheetxl/studio-vanilla 0.4.20 → 0.4.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/browser/cjs/index.cjs +80 -2
  2. package/browser/cjs/{DlL3FUzHZ4HVF-yg.cjs → n6CXzSocLW_BCO8w.cjs} +6 -6
  3. package/browser/esm/{BFUWwMA9uskwVkew.mjs → NBuS53B7u8hItiXf.mjs} +933 -937
  4. package/browser/esm/index.mjs +176 -4
  5. package/cdn/assets/CY8njwo06MWkoPz2.js +21 -0
  6. package/cdn/index.js +2 -2
  7. package/cdn/loader.js +1 -1
  8. package/package.json +3 -3
  9. package/browser/cjs/B3IrGavp2xDl72qi.cjs +0 -15
  10. package/browser/cjs/B4ScrvWBCXLzvNBz.cjs +0 -145
  11. package/browser/cjs/BBNggAKHDP4QyhrD.cjs +0 -6
  12. package/browser/cjs/BC_a9wiziJZdu6Au.cjs +0 -6
  13. package/browser/cjs/BDxykI6GcXpGGGMz.cjs +0 -42
  14. package/browser/cjs/BK6DsykAfJG4V-cJ.cjs +0 -6
  15. package/browser/cjs/BKow6xaj0GHFH5-V.cjs +0 -6
  16. package/browser/cjs/BOAxaoihJZZzZXhd.cjs +0 -6
  17. package/browser/cjs/BSlU398ba-ACAG1g.cjs +0 -11
  18. package/browser/cjs/BSoRD8INLnGqOd24.cjs +0 -7
  19. package/browser/cjs/BTxfWiE-FbVvlbXz.cjs +0 -11
  20. package/browser/cjs/BdltTXLt7iZT8sku.cjs +0 -6
  21. package/browser/cjs/Bf-D_AYDbEeRcsvz.cjs +0 -6
  22. package/browser/cjs/Bhlan81dumwgyb0S.cjs +0 -6
  23. package/browser/cjs/BlJixWFmG-z3n7dN.cjs +0 -6
  24. package/browser/cjs/BndDL5HS4RNIfwOd.cjs +0 -15
  25. package/browser/cjs/Buw8XeqL6XQwxqnQ.cjs +0 -32
  26. package/browser/cjs/C04_CccTUmfnv-ln.cjs +0 -6
  27. package/browser/cjs/C4AWzM1Uh9cuE1A9.cjs +0 -6
  28. package/browser/cjs/C5TLXtw93fBnRGm7.cjs +0 -378
  29. package/browser/cjs/CKa-Z1SfYc0pkIX2.cjs +0 -6
  30. package/browser/cjs/CLiSJrUNaSxa5Mn7.cjs +0 -16
  31. package/browser/cjs/CODi1uYlZ35lFLh9.cjs +0 -6
  32. package/browser/cjs/CSM5H5PTjrTaUgKK.cjs +0 -6
  33. package/browser/cjs/CTPgM-UqKCo4_hd1.cjs +0 -6
  34. package/browser/cjs/CW5RuE4isKBlwHmQ.cjs +0 -6
  35. package/browser/cjs/CX82d7xySIGMF7yM.cjs +0 -6
  36. package/browser/cjs/CXik9BghKbVW93T0.cjs +0 -124
  37. package/browser/cjs/Ccv5NHm99sYZnKE6.cjs +0 -7
  38. package/browser/cjs/CeH0O9zPmIGKjuT9.cjs +0 -19
  39. package/browser/cjs/CeLG8vmgbEkx4oD1.cjs +0 -6
  40. package/browser/cjs/CvYl4W2vXnvHHHoI.cjs +0 -6
  41. package/browser/cjs/D2J4RLkySRIXFbsa.cjs +0 -6
  42. package/browser/cjs/D2bZuhwA7aCEA0It.cjs +0 -6
  43. package/browser/cjs/D3hV1-QRPKCq0om8.cjs +0 -6
  44. package/browser/cjs/D6WxWENDWFXA_esX.cjs +0 -6
  45. package/browser/cjs/DEiPHs81OFnGI_GL.cjs +0 -6
  46. package/browser/cjs/DHiQ_sK8f-95Ft4X.cjs +0 -12
  47. package/browser/cjs/DMpqQkdCfg2AjXjR.cjs +0 -6
  48. package/browser/cjs/DUjgS2e8jjyhZF41.cjs +0 -6
  49. package/browser/cjs/DWIR1gQMiYyoUVpN.cjs +0 -7
  50. package/browser/cjs/DawJBg8LyIArkwdU.cjs +0 -6
  51. package/browser/cjs/Dn5IBCKPuNI0ypyZ.cjs +0 -6
  52. package/browser/cjs/Dp6UwWmFehNr8oln.cjs +0 -6
  53. package/browser/cjs/Dr95ZpJD5KpADFgL.cjs +0 -6
  54. package/browser/cjs/IxfGyvVPF27qqDF3.cjs +0 -6
  55. package/browser/cjs/P7jR9JAKpf5me2pK.cjs +0 -6
  56. package/browser/cjs/QonkTPcCkOm4Mvas.cjs +0 -6
  57. package/browser/cjs/T4zy652TD1RHF35F.cjs +0 -6
  58. package/browser/cjs/d6ywgaNww4eYXcem.cjs +0 -1501
  59. package/browser/cjs/dQ_t_glP-41DsAl-.cjs +0 -6
  60. package/browser/cjs/iIOyWIrlq0JiZyZX.cjs +0 -6
  61. package/browser/cjs/jX_tynzFoHAGPZOz.cjs +0 -6
  62. package/browser/cjs/nlzloz3gqSXQwTl5.cjs +0 -13
  63. package/browser/cjs/xPUjEhL251Mb-kyD.cjs +0 -161
  64. package/browser/cjs/zreCxaXU5L2iHQ99.cjs +0 -6
  65. package/browser/esm/2vIB3gG-Ct-P7aHY.mjs +0 -24
  66. package/browser/esm/B1qmfUH_Mmjtp3JU.mjs +0 -56
  67. package/browser/esm/B4ABRWtE31zu8-wJ.mjs +0 -21
  68. package/browser/esm/B6c_mMwG96t6MlCE.mjs +0 -10
  69. package/browser/esm/B7ohU_quBXWjiBEw.mjs +0 -3934
  70. package/browser/esm/BGJaDv3Ih-M1lFCD.mjs +0 -10
  71. package/browser/esm/BJkeQi-0GTlyPsTT.mjs +0 -52369
  72. package/browser/esm/BR2yOGMlFrbNy1I_.mjs +0 -472
  73. package/browser/esm/BRzxK84abQUinUUx.mjs +0 -10
  74. package/browser/esm/BS_-p_4yMCoR9FTp.mjs +0 -10
  75. package/browser/esm/BTbBL2qySirAIMIH.mjs +0 -1346
  76. package/browser/esm/Be9tvHxvnxnHNRa4.mjs +0 -12
  77. package/browser/esm/BfiejFYnvgVrrJPI.mjs +0 -10
  78. package/browser/esm/Bj4d7nd4XMugBsBg.mjs +0 -39
  79. package/browser/esm/Bmfu8IUFzu9KyCkA.mjs +0 -10
  80. package/browser/esm/BqgjdQ15LFcefVOZ.mjs +0 -425
  81. package/browser/esm/BuX3I7e8lbon25vL.mjs +0 -1702
  82. package/browser/esm/Bz0TojPavQ5NTjyD.mjs +0 -633
  83. package/browser/esm/CA33PnXmPNl09v6w.mjs +0 -84
  84. package/browser/esm/CPchasanZLQiASse.mjs +0 -10
  85. package/browser/esm/CSDiL3gZro2_BYTj.mjs +0 -10
  86. package/browser/esm/CT_g1GDC8_vSGR0o.mjs +0 -48
  87. package/browser/esm/CVvfga1mKyvzrvCr.mjs +0 -20
  88. package/browser/esm/CXSiJ-t5xz78GMwK.mjs +0 -10
  89. package/browser/esm/CYrbG4T_bwbc4Un4.mjs +0 -390
  90. package/browser/esm/CeSDjV2b8w7KibJw.mjs +0 -1466
  91. package/browser/esm/Cjp7NabZ26PaBnIT.mjs +0 -46
  92. package/browser/esm/CmLCIveZbsUFrSOH.mjs +0 -1665
  93. package/browser/esm/CpDyqZXpstRo2buW.mjs +0 -10
  94. package/browser/esm/CpQM3xIeariuqfsN.mjs +0 -47
  95. package/browser/esm/D2L4EVLdv-YwKGoi.mjs +0 -2344
  96. package/browser/esm/D7bqIxhqlHgc3Fih.mjs +0 -10
  97. package/browser/esm/DJx6S7TOhQyWdjS5.mjs +0 -10
  98. package/browser/esm/DR85glElKOQxCdEw.mjs +0 -820
  99. package/browser/esm/DWnopZ6R26qNLVyV.mjs +0 -10
  100. package/browser/esm/DaoqFa2lhVoZvd16.mjs +0 -421
  101. package/browser/esm/DgxaqoqInkc26SCt.mjs +0 -13208
  102. package/browser/esm/Dkf0_o7D9GkUfOZy.mjs +0 -147
  103. package/browser/esm/DlASr70UXrIpKZQO.mjs +0 -2174
  104. package/browser/esm/DmXkRZFP-WnV2YT9.mjs +0 -10
  105. package/browser/esm/DsabS3TdXZB45_O2.mjs +0 -1575
  106. package/browser/esm/Dvo7tXJcgnIXR-H7.mjs +0 -5582
  107. package/browser/esm/JdOvTKCcf5acl7vA.mjs +0 -10
  108. package/browser/esm/KUyPDaQO4D8lwO7O.mjs +0 -21
  109. package/browser/esm/KWZAe-e6U7Po4gCx.mjs +0 -44
  110. package/browser/esm/Qjkn8L0WuEQToAqm.mjs +0 -41
  111. package/browser/esm/RvEM-YtFLw3OMG0V.mjs +0 -29
  112. package/browser/esm/S2TZ7C9tQtDNeeGo.mjs +0 -10
  113. package/browser/esm/VYFESZA0Jc8C13ZT.mjs +0 -10
  114. package/browser/esm/_sUvLBCLSPhV2gF6.mjs +0 -10
  115. package/browser/esm/dWGGn8a_Ez8kVjgZ.mjs +0 -10
  116. package/browser/esm/dwY5oHtoGa_ktt9_.mjs +0 -1365
  117. package/browser/esm/giu63J2gO2p8JJIf.mjs +0 -10
  118. package/browser/esm/glJJyP0v0nlhAzqM.mjs +0 -10
  119. package/browser/esm/q5jyS6wUD9X8N3dI.mjs +0 -3755
  120. package/browser/esm/xbsV0YR05atX96kb.mjs +0 -10
  121. package/cdn/assets/2vIB3gG-Ct-P7aHY.js +0 -24
  122. package/cdn/assets/9GNkN_zTAHpnP-uq.js +0 -1575
  123. package/cdn/assets/B6c_mMwG96t6MlCE.js +0 -10
  124. package/cdn/assets/BBGivbkBG9VS_rL9.js +0 -3756
  125. package/cdn/assets/BCfZ9L4sqA1AhATQ.js +0 -46
  126. package/cdn/assets/BF0szY6Cs6OTiu4J.js +0 -22
  127. package/cdn/assets/BFvB3zk5mbav2VDI.js +0 -52200
  128. package/cdn/assets/BGJaDv3Ih-M1lFCD.js +0 -10
  129. package/cdn/assets/BGQ19MuEoWb0IGOg.js +0 -425
  130. package/cdn/assets/BKAFXvz5L4pnwrYW.js +0 -41
  131. package/cdn/assets/BRzxK84abQUinUUx.js +0 -10
  132. package/cdn/assets/BS_-p_4yMCoR9FTp.js +0 -10
  133. package/cdn/assets/BTbBL2qySirAIMIH.js +0 -1346
  134. package/cdn/assets/Be9tvHxvnxnHNRa4.js +0 -12
  135. package/cdn/assets/BfiejFYnvgVrrJPI.js +0 -10
  136. package/cdn/assets/Bj6XCGohW0EagXDQ.js +0 -1702
  137. package/cdn/assets/Bmfu8IUFzu9KyCkA.js +0 -10
  138. package/cdn/assets/Bnpwlyv8i_gnevRF.js +0 -3934
  139. package/cdn/assets/BnrLDtUMM23rGXOR.js +0 -390
  140. package/cdn/assets/Bz0TojPavQ5NTjyD.js +0 -633
  141. package/cdn/assets/C-saEYaoPI4gaVAh.js +0 -820
  142. package/cdn/assets/CBG91FlGgFb_NSW3.js +0 -1466
  143. package/cdn/assets/CO9eLmNMi1heLPMx.js +0 -2177
  144. package/cdn/assets/CPchasanZLQiASse.js +0 -10
  145. package/cdn/assets/CSDiL3gZro2_BYTj.js +0 -10
  146. package/cdn/assets/CXSiJ-t5xz78GMwK.js +0 -10
  147. package/cdn/assets/Cc_7h2P328hlBcqK.js +0 -472
  148. package/cdn/assets/CmLCIveZbsUFrSOH.js +0 -1665
  149. package/cdn/assets/CpDyqZXpstRo2buW.js +0 -10
  150. package/cdn/assets/Cv2EzXYuphY8Hlz2.js +0 -23
  151. package/cdn/assets/Cz1EUITrDS2M-lu2.js +0 -2346
  152. package/cdn/assets/D7bqIxhqlHgc3Fih.js +0 -10
  153. package/cdn/assets/DDWoPuN8AcPJHNxL.js +0 -58
  154. package/cdn/assets/DJx6S7TOhQyWdjS5.js +0 -10
  155. package/cdn/assets/DU8_1yjWbaEkXcbL.js +0 -12
  156. package/cdn/assets/DWnopZ6R26qNLVyV.js +0 -10
  157. package/cdn/assets/DYE-hWYAUd_f6MX8.js +0 -46
  158. package/cdn/assets/DaoqFa2lhVoZvd16.js +0 -421
  159. package/cdn/assets/DfpCefkqWIezzC8Z.js +0 -49
  160. package/cdn/assets/DgxaqoqInkc26SCt.js +0 -13208
  161. package/cdn/assets/DmXkRZFP-WnV2YT9.js +0 -10
  162. package/cdn/assets/EN4PLLABu5llaV3T.js +0 -21
  163. package/cdn/assets/JdOvTKCcf5acl7vA.js +0 -10
  164. package/cdn/assets/KUyPDaQO4D8lwO7O.js +0 -21
  165. package/cdn/assets/LbFq2oCowUDgCX8L.js +0 -43
  166. package/cdn/assets/S2TZ7C9tQtDNeeGo.js +0 -10
  167. package/cdn/assets/SPvRfEBpgC5rbgPz.js +0 -29
  168. package/cdn/assets/SsQFeDXfmfXHyy1R.js +0 -5582
  169. package/cdn/assets/TP7wJaHcKRz3uH_W.js +0 -50
  170. package/cdn/assets/UhBzX4vQryCjy6ce.js +0 -84
  171. package/cdn/assets/VYFESZA0Jc8C13ZT.js +0 -10
  172. package/cdn/assets/_sUvLBCLSPhV2gF6.js +0 -10
  173. package/cdn/assets/dWGGn8a_Ez8kVjgZ.js +0 -10
  174. package/cdn/assets/dwY5oHtoGa_ktt9_.js +0 -1365
  175. package/cdn/assets/giu63J2gO2p8JJIf.js +0 -10
  176. package/cdn/assets/glJJyP0v0nlhAzqM.js +0 -10
  177. package/cdn/assets/nsmFGDjpeUcAO4is.js +0 -149
  178. package/cdn/assets/xbsV0YR05atX96kb.js +0 -10
@@ -1,10 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.20
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 = { AVEDEV: { s: "Returns the average of the absolute deviations of data points from their mean. Arguments can be numbers or names, arrays, or references that contain numbers", p: { number: { d: "number1,number2,... are 1 to 255 arguments for which you want the average of the absolute deviations" } } }, AVERAGE: { s: "Returns the average (arithmetic mean) of its arguments, which can be numbers or names, arrays, or references that contain numbers", p: { number: { d: "number1,number2,... are 1 to 255 numeric arguments for which you want the average" } } }, AVERAGEA: { s: "Returns the average (arithmetic mean) of its arguments, evaluating text and FALSE in arguments as 0; TRUE evaluates as 1. Arguments can be numbers, names, arrays, or references", p: { value: { d: "value1,value2,... are 1 to 255 arguments for which you want the average" } } }, AVERAGEIF: { s: "Finds average(arithmetic mean) for the cells specified by a given condition or criteria", p: { range: { d: "is the range of cells you want evaluated" }, criteria: { d: "is the condition or criteria in the form of a number, expression, or text that defines which cells will be used to find the average" }, averageRange: { d: "are the actual cells to be used to find the average. If omitted, the cells in range are used" } }, h: "Unimplemented" }, AVERAGEIFS: { s: "Finds average(arithmetic mean) for the cells specified by a given set of conditions or criteria", p: { averageRange: { d: "are the actual cells to be used to find the average." }, criteriaRange: { d: "criteria_range1,criteria_range2,... is the range of cells you want evaluated for the particular condition" }, criteria: { d: "criteria1,criteria2,... is the condition or criteria in the form of a number, expression, or text that defines which cells will be used to find the average" } }, h: "Unimplemented" }, COUNT: { s: "Counts the number of cells in a range that contain numbers", p: { number: { d: "value1,value2,... are 1 to 255 arguments that can contain or refer to a variety of different types of data, but only numbers are counted" } } }, COUNTA: { s: "Counts the number of cells in a range that are not empty", p: { value: { d: "value1,value2,... are 1 to 255 arguments representing the values and cells you want to count. Values can be any type of information" } } }, COUNTBLANK: { s: "Counts the number of empty cells in a specified range of cells", p: { range: { d: "is the range from which you want to count the empty cells" } }, h: "Unimplemented" }, COUNTIF: { s: "Counts the number of cells within a range that meet the given condition", p: { range: { d: "is the range of cells from which you want to count nonblank cells" }, criteria: { d: "is the condition in the form of a number, expression, or text that defines which cells will be counted" } }, h: "Unimplemented" }, COUNTIFS: { s: "Counts the number of cells specified by a given set of conditions or criteria", p: { criteriaRange: { d: "criteria_range1,criteria_range2,... is the range of cells you want evaluated for the particular condition" }, criteria: { d: "criteria1,criteria2,... is the condition in the form of a number, expression, or text that defines which cells will be counted" } }, h: "Unimplemented" }, LARGE: { s: "Returns the k-th largest value in a data set. For example, the fifth largest number.", p: { array: { d: "is the array or range of data for which you want to determine the k-th largest value." }, k: { d: "is the position (from the largest) in the array or cell range of the value to return." } } }, MAX: { s: "Returns the largest value in a set of values. Ignores logical values and text", p: { number: { d: "number1,number2,... are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the maximum" } } }, MAXA: { s: "Returns the largest value in a set of values. Does not ignore logical values and text", p: { value: { d: "value1,value2,... are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the maximum" } } }, MAXIFS: { s: "Returns the maximum value among cells specified by a given set of conditions or criteria", p: { maxRange: { d: "the cells in which to determine the maximum value" }, criteriaRange: { d: "criteria_range1,criteria_range2,... is the range of cells you want to evaluate for the particular condition" }, criteria: { d: "criteria1,criteria2,... is the condition or criteria in the form of a number, expression, or text that defines which cells will be included when determining the maximum value" } }, h: "Unimplemented" }, MEDIAN: { s: "Returns the median, or the number in the middle of the set of given numbers", p: { number: { d: "number1,number2,... are 1 to 255 numbers or names, arrays, or references that contain numbers for which you want the median" } } }, MIN: { s: "Returns the smallest number in a set of values. Ignores logical values and text", p: { number: { d: "number1,number2,... are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the minimum" } } }, MINA: { s: "Returns the smallest value in a set of values. Does not ignore logical values and text", p: { value: { d: "value1,value2,... are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the minimum" } } }, MINIFS: { s: "Returns the minimum value among cells specified by a given set of conditions or criteria", p: { maxRange: { d: "is the range of cells to evaluate for the minimum value" }, criteriaRange: { d: "is the range of cells to evaluate against the criteria" }, criteria: { d: "is the criteria to evaluate against the criteria range" } }, h: "Unimplemented" }, PERMUT: { s: "Returns the number of permutations for a given number of objects that can be selected from the total objects", p: { number: { d: "is the total number of objects" }, numberChoosen: { d: "is the number of objects in each permutation" } }, h: "Unimplemented" }, PERMUTATIONA: { s: "Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects", p: { number: { d: "is the total number of objects" }, numberChoosen: { d: "is the number of objects in each permutation" } }, h: "Unimplemented" }, SMALL: { s: "Returns the k-th smallest value in a data set. For example, the fifth smallest number", p: { array: { d: "is an array or range of numerical data for which you want to determine the k-th smallest value" }, k: { d: "is the position (from the smallest) in the array or range of the value to return" } } } };
8
- export {
9
- e as default
10
- };
@@ -1,21 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.20
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
- let e = null;
8
- async function n() {
9
- return e || (e = new Promise(async (i, l) => {
10
- let r = null;
11
- try {
12
- r = await import("https://esm.sh/typescript@5.7.2");
13
- } catch (t) {
14
- console.error("Error initializing Browser TypeScript module:", t);
15
- }
16
- r || console.log("use script fallback"), i(r);
17
- }), e);
18
- }
19
- export {
20
- n as initialize
21
- };
@@ -1,44 +0,0 @@
1
- import { r as n, t as x, j as o, $ as L, B as U, F as b, a as O, b as p, U as r } from "./BJkeQi-0GTlyPsTT.mjs";
2
- /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.20
4
- *
5
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
- * License: The license can be found at https://www.sheetxl.com/license.
7
- */
8
- const W = ["Ok", "Cancel"], A = n.memo((P) => {
9
- const { initialHyperlink: s = null, initialDisplay: D = null, onUpdateHyperlink: f, context: l, onOption: m, onValidateOption: d, onDone: u, options: h = W, defaultOption: c = h?.[0], cancelOption: i = "Cancel", sx: F, ...j } = P, H = n.useMemo(() => (s ?? l?.()?.getHyperlink()) !== null, []), k = n.useMemo(() => {
10
- let e = null, t = null;
11
- s && (typeof s == "string" ? t = s : e = s);
12
- const C = e ?? l?.()?.getHyperlink();
13
- return { address: t ?? C?.getAddress() ?? "", textToDisplay: C?.getDisplayText() ?? "" };
14
- }, [s, l]), [a, I] = n.useState(k.address), [g, v] = n.useState(() => {
15
- const e = l?.().toTextUnformatted() ?? D;
16
- return e === k.address ? "" : e;
17
- }), [w, y] = n.useState(!1), M = n.useCallback((e) => {
18
- v(e.target.value);
19
- }, []), T = n.useCallback(async (e, t) => null, []), $ = x(async (e) => {
20
- e !== i && f?.(a === "" ? null : { address: a }, g), m?.(e, e === i, e === c), u?.();
21
- }, [a, g, f, u, m, c, i]), B = x((e) => {
22
- I(e.target.value), T(e.target.value, null);
23
- }, [d]), S = x(async (e) => {
24
- let t = await Promise.resolve(d?.(e));
25
- try {
26
- t !== !1 && (t = await T(a, e));
27
- } catch {
28
- }
29
- return t ?? !0;
30
- }, [d]);
31
- return o.jsx(L, { title: (H ? "Edit" : "Insert") + " Link", options: h, onDone: u, onOption: (e) => $(e), onValidateOption: S, defaultOption: c, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...F }, ...j, children: o.jsxs(U, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [o.jsx(b, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o.jsx(O, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (e) => {
32
- w || e.target?.select(), y(!0);
33
- }, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${p("#fff", r(5))}, ${p("#fff", r(5))})` } } }, value: a, onChange: B, onContextMenu: (e) => {
34
- e.stopPropagation();
35
- } }) }), o.jsx(b, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o.jsx(O, { label: "Display Text", placeholder: a?.startsWith("#") ? a.substring(1) : a, onFocus: () => {
36
- y(!0);
37
- }, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${p("#fff", r(5))}, ${p("#fff", r(5))})` } } }, value: g, onChange: M, onContextMenu: (e) => {
38
- e.stopPropagation();
39
- } }) })] }) });
40
- });
41
- export {
42
- A as HyperlinkDialog,
43
- A as default
44
- };
@@ -1,41 +0,0 @@
1
- import { r as n, t as p, j as r, $ as b, B as k, V as B, X as I } from "./BJkeQi-0GTlyPsTT.mjs";
2
- /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.20
4
- *
5
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
- * License: The license can be found at https://www.sheetxl.com/license.
7
- */
8
- const E = ["Ok", "Cancel"], $ = n.memo((O) => {
9
- const { value: a = null, context: t, onOption: c, onValidateOption: L, onDone: g, onUpdate: m, options: x = E, defaultOption: f = x?.[0], cancelOption: N = "Cancel", sx: C, ...h } = O, y = n.useMemo(() => t?.getNames().findValidName("Range1"), []), d = n.useMemo(() => {
10
- if (!a) return !0;
11
- }, []), [l, R] = n.useState({ displayText: a?.getName() ?? y, errorText: null }), [s, v] = n.useState({ displayValue: a?.getRanges() ?? t?.selection() ?? null, errorText: null }), [T, V] = n.useState(!1), j = n.useCallback(async (e) => !l.errorText && !s.errorText, [t]), w = p((e, o, u) => {
12
- if (!o) {
13
- let i = null;
14
- d ? i = t?.getNames().addReference(l?.displayText, s?.displayValue, !1) : (a.getType() === "reference" && a.doBatch(() => {
15
- a.setName(l?.displayText), a.setReference(s?.displayValue);
16
- }, `Edit Named '${l?.displayText}'`), i = a), i && (i.select(), m(i, d));
17
- }
18
- c?.(e, o, u), g?.();
19
- }, [t, l, s, g, c, f, N, m]), D = p((e) => {
20
- let o = null;
21
- try {
22
- t?.getNames().validateName(e);
23
- } catch (u) {
24
- o = u.message;
25
- }
26
- R({ displayText: e, errorText: o });
27
- }, []), F = p((e) => {
28
- a && a.getName().toLowerCase() === e.toLowerCase() || t?.getNames().validateName(e);
29
- }, [t, a]), S = n.useCallback((e) => {
30
- v({ displayValue: e ?? null, errorText: null });
31
- }, []);
32
- return r.jsx(b, { title: (d ? "Define" : "Edit") + " Range", options: x, onOption: w, onValidateOption: j, defaultOption: f, cancelOption: N, autoFocusSel: ".autoFocus", sx: { width: "460px", ...C }, ...h, children: r.jsxs(k, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), range: "flex", flexDirection: "column" }, children: [r.jsx(B, { formName: "name", defaultInput: y, value: l.displayText, onChangeInput: D, onValidate: F, onFocus: (e) => {
33
- T || e.target?.select(), V(!0);
34
- } }), r.jsx(I, { formName: "range", value: s.displayValue, onChangeInput: S, resolvedAddress: t.getNames().getRanges.bind(t.getNames()), onFocus: (e) => {
35
- T || e.target?.select(), V(!0);
36
- } })] }) });
37
- });
38
- export {
39
- $ as NamedReferenceDialog,
40
- $ as default
41
- };
@@ -1,29 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.20
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
- class o {
8
- constructor(r = {}) {
9
- this.workerWrapper = null;
10
- }
11
- async getWorkerWrapper() {
12
- if (this.workerWrapper) return this.workerWrapper;
13
- const { createCompilerWorker: r } = await import("./DsabS3TdXZB45_O2.mjs");
14
- return this.workerWrapper = await r(), this.workerWrapper;
15
- }
16
- async compileModule(r) {
17
- try {
18
- return (await this.getWorkerWrapper()).execute(r);
19
- } catch (e) {
20
- throw console.error("Failed to compile using worker:", e), e;
21
- }
22
- }
23
- terminate() {
24
- this.workerWrapper?.terminate(), this.workerWrapper = null;
25
- }
26
- }
27
- export {
28
- o as TypeScriptCompiler
29
- };
@@ -1,10 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.20
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 t = { CONVERT: { s: "Converts a number from one measurement system to another", p: { number: { d: "is the value in from_unit to convert." }, fromUnit: { d: "is the units for number." }, toUnit: { d: "is the units for the result" } } } };
8
- export {
9
- t as default
10
- };
@@ -1,10 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.20
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 = { ACOS: { s: "Returns the arccosine of a number, in radians in the range 0 to Pi. The arccosine is the angle whose cosine is Number", p: { number: { d: "is the cosine of the angle you want and must be from -1 to 1" } } }, ACOSH: { s: "Returns the inverse hyperbolic cosine of a number", p: { number: { d: "is any real number equal to or greater than 1" } } }, ACOT: { s: "Returns the arccotangent of a number, in radians in the range 0 to Pi.", p: { number: { d: "is the cotangent of the angle you want" } } }, ACOTH: { s: "Returns the inverse hyperbolic cotangent of a number", p: { number: { d: "is the hyperbolic cotangent of the angle that you want" } } }, ASIN: { s: "Returns the arcsine of a number in radians, in the range -Pi/2 to Pi/2", p: { number: { d: "is the sine of the angle you want and must be from -1 to 1" } } }, ASINH: { s: "Returns the inverse hyperbolic sine of a number", p: { number: { d: "is any real number equal to or greater than 1" } } }, ATAN: { s: "Returns the arctangent of a number in radians, in the range -Pi/2 to Pi/2", p: { number: { d: "is the tangent of the angle you want" } } }, ATAN2: { s: "Returns the arctangent of the specified x- and y- coordinates, in radians between -Pi and Pi, excluding -Pi", p: { x: { d: "is the x-coordinate of the point" }, y: { d: "is the y-coordinate of the point" } } }, ATANH: { s: "Returns the inverse hyperbolic tangent of a number", p: { number: { d: "is any real number between -1 and 1 excluding -1 and 1" } } }, COS: { s: "Returns the cosine of an angle", p: { number: { d: "is the angle in radians for which you want the cosine" } } }, COSH: { s: "Returns the hyperbolic cosine of a number", p: { number: { d: "is any real number" } } }, COT: { s: "Returns the cotangent of an angle", p: { number: { d: "is the angle in radians for which you want the cotangent" } } }, COTH: { s: "Returns the hyperbolic cotangent of a number", p: { number: { d: "is the angle in radians for which you want the hyperbolic cotangent" } } }, CSC: { s: "Returns the cosecant of an angle", p: { number: { d: "is the angle in radians for which you want the cosecant" } } }, CSCH: { s: "Returns the hyperbolic cosecant of an angle", p: { number: { d: "is the angle in radians for which you want the hyperbolic cosecant" } } }, SEC: { s: "Returns the secant of an angle", p: { number: { d: "is the angle in radians for which you want the secant" } } }, SECH: { s: "Returns the hyperbolic secant of an angle", p: { number: { d: "is the angle in radians for which you want the hyperbolic secant" } } }, SIN: { s: "Returns the sine of an angle", p: { number: { d: "is the angle in radians for which you want the sine. Degrees * PI()/180 = radians" } } }, SINH: { s: "Returns the hyperbolic sine of a number", p: { number: { d: "is any real number" } } }, TAN: { s: "Returns the tangent of an angle", p: { number: { d: "is the angle in radians for which you want the tangent. Degrees * PI()/180 = radians" } } }, TANH: { s: "Returns the hyperbolic tangent of a number", p: { number: { d: "is any real number" } } } };
8
- export {
9
- e as default
10
- };
@@ -1,10 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.20
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 = { BIN2DEC: { s: "Converts a binary number to decimal", p: { number: { d: "is the binary number you want to convert" } } }, BIN2HEX: { s: "Converts a binary number to hexadecimal", p: { number: { d: "is the binary number you want to convert" }, places: { d: "is the number of characters to use" } } }, BIN2OCT: { s: "Converts a binary number to octal", p: { number: { d: "is the binary number you want to convert" }, places: { d: "is the number of characters to use" } } }, BITAND: { s: "Returns a bitwise 'And' of two numbers", p: { number1: { d: "is the decimal representation of the binary number you want to evaluate" }, number2: { d: "is the decimal representation of the binary number you want to evaluate" } } }, BITLSHIFT: { s: "Returns a number shifted left by shift_amount bits", p: { number: { d: "is the decimal representation of the binary number you want to evaluate" }, shiftAmount: { d: "is the number of bits that you want to shift Number left by" } } }, BITOR: { s: "Returns a bitwise 'Or' of two numbers", p: { number1: { d: "is the decimal representation of the binary number you want to evaluate" }, number2: { d: "is the decimal representation of the binary number you want to evaluate" } } }, BITRSHIFT: { s: "Returns a number shifted right by shift_amount bits", p: { number: { d: "is the decimal representation of the binary number you want to evaluate" }, shiftAmount: { d: "is the number of bits that you want to shift Number left by" } } }, BITXOR: { s: "Returns a bitwise 'Exclusive Or' of two numbers", p: { number1: { d: "is the decimal representation of the binary number you want to evaluate" }, number2: { d: "is the decimal representation of the binary number you want to evaluate" } } }, DEC2BIN: { s: "Converts a decimal number to binary", p: { number: { d: "is the decimal integer you want to convert" }, places: { d: "is the number of characters to use" } } }, DEC2HEX: { s: "Converts a decimal number to hexadecimal", p: { number: { d: "is the decimal integer you want to convert" }, places: { d: "is the number of characters to use" } } }, DEC2OCT: { s: "Converts a decimal number to octal", p: { number: { d: "is the decimal integer you want to convert" }, places: { d: "is the number of characters to use" } } }, HEX2BIN: { s: "Converts a Hexadecimal number to binary", p: { number: { d: "is the hexadecimal number you want to convert" }, places: { d: "is the number of characters to use" } } }, HEX2DEC: { s: "Converts a hexadecimal number to decimal", p: { number: { d: "is the hexadecimal number you want to convert" } } }, HEX2OCT: { s: "Converts a hexadecimal number to octal", p: { number: { d: "is the hexadecimal number you want to convert" }, places: { d: "is the number of characters to use" } } }, OCT2BIN: { s: "Converts an octal number to binary", p: { number: { d: "is the octal number you want to convert" }, places: { d: "is the number of characters to use" } } }, OCT2DEC: { s: "Converts an octal number to decimal", p: { number: { d: "is the octal number you want to convert" } } }, OCT2HEX: { s: "Converts an octal number to hexadecimal", p: { number: { d: "is the octal number you want to convert" }, places: { d: "is the number of characters to use" } } } };
8
- export {
9
- e as default
10
- };
@@ -1,10 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.20
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 = { DELAY: { s: "Returns the input value after a delay.", p: { time: { d: "the delay time in milliseconds. Default is 1000ms (1 second)." }, input: { d: "returns the input." }, label: { d: "optional label for the delay function.", v: "No label" } }, h: "Testing" }, WAIT: { s: "Starts waiting for event", p: { type: { d: "the type of message." }, input: { d: "an optional dependency." } }, h: "Testing" } };
8
- export {
9
- e as default
10
- };