@sheetxl/studio-mui 0.7.21 → 0.7.23-beta.2

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 (493) hide show
  1. package/README.md +2 -2
  2. package/browser/cjs/BQJKf40kttQWOzLw.cjs +20 -0
  3. package/browser/cjs/BTZ5uzK0wHzpiZGC.cjs +1 -0
  4. package/browser/cjs/B_D3JKseVvpRyX-E.cjs +1 -0
  5. package/browser/cjs/BeKpqOx8It0RD0Rf.cjs +2 -0
  6. package/browser/cjs/Bj-EvSYeDfqmU0V6.cjs +2 -0
  7. package/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +1 -0
  8. package/browser/cjs/ByIEqNsvj52sihT9.cjs +5 -0
  9. package/browser/cjs/C3moehR3VOd0LnmM.cjs +1 -0
  10. package/browser/cjs/C97KHSuikAbr1qVM.cjs +1 -0
  11. package/browser/cjs/CJLwX_A3y3TQUmzj.cjs +1 -0
  12. package/browser/cjs/CPSc2VSYZeZ1B9mi.cjs +1 -0
  13. package/browser/cjs/CPcBvw4ZPwHVTUZF.cjs +1 -0
  14. package/browser/cjs/CZm1jVZaHQ246prW.cjs +1 -0
  15. package/browser/cjs/CdDYyAfccXme8w6m.cjs +1 -0
  16. package/browser/cjs/Cpr3LpTBt3SSArSw.cjs +7 -0
  17. package/browser/cjs/DBJLJGiCGXesx5n6.cjs +1 -0
  18. package/browser/cjs/DEaHGn2Rbgcj_fbR.cjs +11 -0
  19. package/browser/cjs/Djsiad0Qha1Y-YaS.cjs +1 -0
  20. package/browser/cjs/IASAYG6qgv7lJY7y.cjs +1 -0
  21. package/browser/cjs/KZvriGbhEOVkQD0b.cjs +1 -0
  22. package/browser/cjs/UnMhi28mbvLiOXQe.cjs +1 -0
  23. package/browser/cjs/Vbigo0kFP3PFfmeA.cjs +1 -0
  24. package/browser/cjs/iMWEL01eC83oU-YY.cjs +1 -0
  25. package/browser/cjs/index.cjs +2 -7
  26. package/browser/cjs/w2GjebPlOFv3pCbm.cjs +1 -0
  27. package/browser/cjs/zQsyZpeXAvcVXJMs.cjs +1 -0
  28. package/browser/esm/B-2XwThOta_tt8BT.mjs +612 -0
  29. package/browser/esm/B8qmg9lVcO1_FX1t.mjs +508 -0
  30. package/browser/esm/BBwrhUtlLbuFQ67J.mjs +5398 -0
  31. package/browser/esm/BkcTkK4tR4b-px3e.mjs +42 -0
  32. package/browser/esm/BvQKaacvx0Q4evfJ.mjs +99 -0
  33. package/browser/esm/C9GBv4ZkH2P6xOGI.mjs +2207 -0
  34. package/browser/esm/C9MY76RbJdvrNOgK.mjs +411 -0
  35. package/browser/esm/CCiAWSm5lQALhezl.mjs +82 -0
  36. package/browser/esm/CGcdue-1rj_uOLLO.mjs +47 -0
  37. package/browser/esm/CPR9Jpd8zfoZUwWE.mjs +113 -0
  38. package/browser/esm/CkocGozEYIwcmc-x.mjs +105 -0
  39. package/browser/esm/D3E3Pf2O3BHV0mYQ.mjs +52 -0
  40. package/browser/esm/DNv3-zAolc7Scol_.mjs +129 -0
  41. package/browser/esm/DRCKGFtIKBxmTaJW.mjs +191 -0
  42. package/browser/esm/Ddp-16AGwwlZkglN.mjs +219 -0
  43. package/browser/esm/Ft9o24lP0MNgSqIB.mjs +1376 -0
  44. package/browser/esm/IIP2sN_X3kztI92r.mjs +155 -0
  45. package/browser/esm/WSDlFfjApTM0cJ4V.mjs +468 -0
  46. package/browser/esm/dfnya7tN7P1UeVvc.mjs +516 -0
  47. package/browser/esm/dhuC1s94dyRTzxgk.mjs +8869 -0
  48. package/browser/esm/eL50tJKtsxKJk7-6.mjs +217 -0
  49. package/browser/esm/index.mjs +152 -91
  50. package/browser/esm/suPpQTgd0X3baAFS.mjs +20 -0
  51. package/browser/esm/zRDngVAuXekzPZuz.mjs +1150 -0
  52. package/licenses/dependencies.txt +133 -623
  53. package/node/esm/0FcokH6jWYoKKyvJ.mjs +155 -0
  54. package/node/esm/BUqFn97L8YiLtWbW.mjs +129 -0
  55. package/node/esm/CH7ZFM-RHFeeCuff.mjs +82 -0
  56. package/node/esm/CghsKfVdQBikiGJk.mjs +679 -0
  57. package/node/esm/Cv3xawSybVla_gE-.mjs +47 -0
  58. package/node/esm/CwSCTBxawz0-VqW9.mjs +99 -0
  59. package/node/esm/D70ZQyxt_JcDRn7d.mjs +516 -0
  60. package/node/esm/DJnr-2wytqQ57aiM.mjs +4543 -0
  61. package/node/esm/DMDanrARYHWYLx37.mjs +190 -0
  62. package/node/esm/DMtIfyV60BcLQkTD.mjs +470 -0
  63. package/node/esm/DNJmWZomszXCkDx7.mjs +106 -0
  64. package/node/esm/DNkUDrpOmhF_vVDS.mjs +509 -0
  65. package/node/esm/DZG5Pd01dM-dgS3n.mjs +113 -0
  66. package/node/esm/index.mjs +10594 -2831
  67. package/package.json +27 -27
  68. package/resources/contents.json +30 -0
  69. package/resources/locales/contents.json +44 -0
  70. package/resources/locales/de/groups.cmd.json +219 -0
  71. package/resources/locales/de/studio.cmd.json +159 -0
  72. package/resources/locales/de/ui.msg.json +507 -0
  73. package/resources/locales/en/groups.cmd.json +219 -0
  74. package/resources/locales/en/studio.cmd.json +159 -0
  75. package/resources/locales/en/ui.msg.json +508 -0
  76. package/types/index.d.ts +2 -1762
  77. package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +131 -0
  78. package/types/src/anchorItems/AnchorItemsDescriptor.d.ts.map +1 -0
  79. package/types/src/anchorItems/AnchorItemsPanel.d.ts +29 -0
  80. package/types/src/anchorItems/AnchorItemsPanel.d.ts.map +1 -0
  81. package/types/src/anchorItems/index.d.ts +3 -0
  82. package/types/src/anchorItems/index.d.ts.map +1 -0
  83. package/types/src/border/BorderPopupButton.d.ts +30 -0
  84. package/types/src/border/BorderPopupButton.d.ts.map +1 -0
  85. package/types/src/border/BorderStylePopupButton.d.ts +40 -0
  86. package/types/src/border/BorderStylePopupButton.d.ts.map +1 -0
  87. package/types/src/border/index.d.ts +3 -0
  88. package/types/src/border/index.d.ts.map +1 -0
  89. package/types/src/chart/command/InsertChartCommandButton.d.ts +10 -0
  90. package/types/src/chart/command/InsertChartCommandButton.d.ts.map +1 -0
  91. package/types/src/chart/command/index.d.ts +2 -0
  92. package/types/src/chart/command/index.d.ts.map +1 -0
  93. package/types/src/color/Alpha.d.ts +36 -0
  94. package/types/src/color/Alpha.d.ts.map +1 -0
  95. package/types/src/color/Checkboard.d.ts +11 -0
  96. package/types/src/color/Checkboard.d.ts.map +1 -0
  97. package/types/src/color/CheckboardUtils.d.ts +3 -0
  98. package/types/src/color/CheckboardUtils.d.ts.map +1 -0
  99. package/types/src/color/ColorButton.d.ts +21 -0
  100. package/types/src/color/ColorButton.d.ts.map +1 -0
  101. package/types/src/color/ColorButtonList.d.ts +17 -0
  102. package/types/src/color/ColorButtonList.d.ts.map +1 -0
  103. package/types/src/color/ColorPanel.d.ts +71 -0
  104. package/types/src/color/ColorPanel.d.ts.map +1 -0
  105. package/types/src/color/ColorPopupButton.d.ts +29 -0
  106. package/types/src/color/ColorPopupButton.d.ts.map +1 -0
  107. package/types/src/color/CustomColorPanel.d.ts +16 -0
  108. package/types/src/color/CustomColorPanel.d.ts.map +1 -0
  109. package/types/src/color/EditableInput.d.ts +22 -0
  110. package/types/src/color/EditableInput.d.ts.map +1 -0
  111. package/types/src/color/Hue.d.ts +29 -0
  112. package/types/src/color/Hue.d.ts.map +1 -0
  113. package/types/src/color/Saturation.d.ts +45 -0
  114. package/types/src/color/Saturation.d.ts.map +1 -0
  115. package/types/src/color/SketchFields.d.ts +9 -0
  116. package/types/src/color/SketchFields.d.ts.map +1 -0
  117. package/types/src/color/Swatch.d.ts +16 -0
  118. package/types/src/color/Swatch.d.ts.map +1 -0
  119. package/types/src/color/Types.d.ts +11 -0
  120. package/types/src/color/Types.d.ts.map +1 -0
  121. package/types/src/color/_Utils.d.ts +4 -0
  122. package/types/src/color/_Utils.d.ts.map +1 -0
  123. package/types/src/color/index.d.ts +7 -0
  124. package/types/src/color/index.d.ts.map +1 -0
  125. package/types/src/command/AccountingStyleCommandButton.d.ts +18 -0
  126. package/types/src/command/AccountingStyleCommandButton.d.ts.map +1 -0
  127. package/types/src/command/AppearanceCommandButton.d.ts +3 -0
  128. package/types/src/command/AppearanceCommandButton.d.ts.map +1 -0
  129. package/types/src/command/BorderCommandButton.d.ts +20 -0
  130. package/types/src/command/BorderCommandButton.d.ts.map +1 -0
  131. package/types/src/command/ColorCommandButton.d.ts +23 -0
  132. package/types/src/command/ColorCommandButton.d.ts.map +1 -0
  133. package/types/src/command/DocThemeCommandButton.d.ts +19 -0
  134. package/types/src/command/DocThemeCommandButton.d.ts.map +1 -0
  135. package/types/src/command/FileCommandButton.d.ts +8 -0
  136. package/types/src/command/FileCommandButton.d.ts.map +1 -0
  137. package/types/src/command/FontFamilyCommandButton.d.ts +9 -0
  138. package/types/src/command/FontFamilyCommandButton.d.ts.map +1 -0
  139. package/types/src/command/FontSizeCommandButton.d.ts +21 -0
  140. package/types/src/command/FontSizeCommandButton.d.ts.map +1 -0
  141. package/types/src/command/InsertFunctionCommandPopupButton.d.ts +9 -0
  142. package/types/src/command/InsertFunctionCommandPopupButton.d.ts.map +1 -0
  143. package/types/src/command/InsertFunctionSumCommandPopupButton.d.ts +8 -0
  144. package/types/src/command/InsertFunctionSumCommandPopupButton.d.ts.map +1 -0
  145. package/types/src/command/LanguageCommandButton.d.ts +19 -0
  146. package/types/src/command/LanguageCommandButton.d.ts.map +1 -0
  147. package/types/src/command/LocaleCommandButton.d.ts +17 -0
  148. package/types/src/command/LocaleCommandButton.d.ts.map +1 -0
  149. package/types/src/command/NumberFormatCommandButton.d.ts +6 -0
  150. package/types/src/command/NumberFormatCommandButton.d.ts.map +1 -0
  151. package/types/src/command/PasteCommandButton.d.ts +14 -0
  152. package/types/src/command/PasteCommandButton.d.ts.map +1 -0
  153. package/types/src/command/PresetCellStylesCommandButton.d.ts +11 -0
  154. package/types/src/command/PresetCellStylesCommandButton.d.ts.map +1 -0
  155. package/types/src/command/PresetTableStylesCommandButton.d.ts +12 -0
  156. package/types/src/command/PresetTableStylesCommandButton.d.ts.map +1 -0
  157. package/types/src/command/RegisterCatalog.d.ts +3 -0
  158. package/types/src/command/RegisterCatalog.d.ts.map +1 -0
  159. package/types/src/command/SheetCommandGroups.d.ts +10 -0
  160. package/types/src/command/SheetCommandGroups.d.ts.map +1 -0
  161. package/types/src/command/SheetZoomCommandButton.d.ts +9 -0
  162. package/types/src/command/SheetZoomCommandButton.d.ts.map +1 -0
  163. package/types/src/command/StudioCommandGroups.d.ts +11 -0
  164. package/types/src/command/StudioCommandGroups.d.ts.map +1 -0
  165. package/types/src/command/TextEffectsCommandButton.d.ts +6 -0
  166. package/types/src/command/TextEffectsCommandButton.d.ts.map +1 -0
  167. package/types/src/command/TextRotateGroupButton.d.ts +14 -0
  168. package/types/src/command/TextRotateGroupButton.d.ts.map +1 -0
  169. package/types/src/command/UndoRedoCommandButton.d.ts +14 -0
  170. package/types/src/command/UndoRedoCommandButton.d.ts.map +1 -0
  171. package/types/src/command/WalkingCopyCommandButton.d.ts +6 -0
  172. package/types/src/command/WalkingCopyCommandButton.d.ts.map +1 -0
  173. package/types/src/command/WorkbookCommandGroups.d.ts +11 -0
  174. package/types/src/command/WorkbookCommandGroups.d.ts.map +1 -0
  175. package/types/src/command/index.d.ts +23 -0
  176. package/types/src/command/index.d.ts.map +1 -0
  177. package/types/src/conditionalFormat/ColorScaleRulePanel.d.ts +18 -0
  178. package/types/src/conditionalFormat/ColorScaleRulePanel.d.ts.map +1 -0
  179. package/types/src/conditionalFormat/ConditionalFormatDetailsPanel.d.ts +23 -0
  180. package/types/src/conditionalFormat/ConditionalFormatDetailsPanel.d.ts.map +1 -0
  181. package/types/src/conditionalFormat/ConditionalFormatDetailsTaskPane.d.ts +4 -0
  182. package/types/src/conditionalFormat/ConditionalFormatDetailsTaskPane.d.ts.map +1 -0
  183. package/types/src/conditionalFormat/ConditionalFormatEditorPanel.d.ts +20 -0
  184. package/types/src/conditionalFormat/ConditionalFormatEditorPanel.d.ts.map +1 -0
  185. package/types/src/conditionalFormat/ConditionalFormatPlugin.d.ts +2 -0
  186. package/types/src/conditionalFormat/ConditionalFormatPlugin.d.ts.map +1 -0
  187. package/types/src/conditionalFormat/ConditionalFormatRangeField.d.ts +32 -0
  188. package/types/src/conditionalFormat/ConditionalFormatRangeField.d.ts.map +1 -0
  189. package/types/src/conditionalFormat/ConditionalFormatStylePicker.d.ts +34 -0
  190. package/types/src/conditionalFormat/ConditionalFormatStylePicker.d.ts.map +1 -0
  191. package/types/src/conditionalFormat/ConditionalFormatTitle.d.ts +10 -0
  192. package/types/src/conditionalFormat/ConditionalFormatTitle.d.ts.map +1 -0
  193. package/types/src/conditionalFormat/DataBarRulePanel.d.ts +23 -0
  194. package/types/src/conditionalFormat/DataBarRulePanel.d.ts.map +1 -0
  195. package/types/src/conditionalFormat/IconSetRulePanel.d.ts +23 -0
  196. package/types/src/conditionalFormat/IconSetRulePanel.d.ts.map +1 -0
  197. package/types/src/conditionalFormat/PresetChip.d.ts +17 -0
  198. package/types/src/conditionalFormat/PresetChip.d.ts.map +1 -0
  199. package/types/src/conditionalFormat/PresetScalesCommandButton.d.ts +20 -0
  200. package/types/src/conditionalFormat/PresetScalesCommandButton.d.ts.map +1 -0
  201. package/types/src/conditionalFormat/RulePreview.d.ts +23 -0
  202. package/types/src/conditionalFormat/RulePreview.d.ts.map +1 -0
  203. package/types/src/conditionalFormat/RuleSection.d.ts +20 -0
  204. package/types/src/conditionalFormat/RuleSection.d.ts.map +1 -0
  205. package/types/src/conditionalFormat/ScaleMiniGrid.d.ts +59 -0
  206. package/types/src/conditionalFormat/ScaleMiniGrid.d.ts.map +1 -0
  207. package/types/src/conditionalFormat/ScaleStopRow.d.ts +34 -0
  208. package/types/src/conditionalFormat/ScaleStopRow.d.ts.map +1 -0
  209. package/types/src/conditionalFormat/index.d.ts +3 -0
  210. package/types/src/conditionalFormat/index.d.ts.map +1 -0
  211. package/types/src/conditionalFormat/previewColor.d.ts +50 -0
  212. package/types/src/conditionalFormat/previewColor.d.ts.map +1 -0
  213. package/types/src/conditions/AverageOption.d.ts +25 -0
  214. package/types/src/conditions/AverageOption.d.ts.map +1 -0
  215. package/types/src/conditions/BetweenOption.d.ts +25 -0
  216. package/types/src/conditions/BetweenOption.d.ts.map +1 -0
  217. package/types/src/conditions/BooleanOption.d.ts +24 -0
  218. package/types/src/conditions/BooleanOption.d.ts.map +1 -0
  219. package/types/src/conditions/CombinatorOption.d.ts +41 -0
  220. package/types/src/conditions/CombinatorOption.d.ts.map +1 -0
  221. package/types/src/conditions/ConditionEditor.d.ts +57 -0
  222. package/types/src/conditions/ConditionEditor.d.ts.map +1 -0
  223. package/types/src/conditions/ConditionUtils.d.ts +83 -0
  224. package/types/src/conditions/ConditionUtils.d.ts.map +1 -0
  225. package/types/src/conditions/DateTimeOption.d.ts +43 -0
  226. package/types/src/conditions/DateTimeOption.d.ts.map +1 -0
  227. package/types/src/conditions/ExpressionOption.d.ts +26 -0
  228. package/types/src/conditions/ExpressionOption.d.ts.map +1 -0
  229. package/types/src/conditions/InSetOption.d.ts +37 -0
  230. package/types/src/conditions/InSetOption.d.ts.map +1 -0
  231. package/types/src/conditions/NumberOption.d.ts +24 -0
  232. package/types/src/conditions/NumberOption.d.ts.map +1 -0
  233. package/types/src/conditions/OperatorAndParamEditor.d.ts +55 -0
  234. package/types/src/conditions/OperatorAndParamEditor.d.ts.map +1 -0
  235. package/types/src/conditions/OperatorSelect.d.ts +35 -0
  236. package/types/src/conditions/OperatorSelect.d.ts.map +1 -0
  237. package/types/src/conditions/OperatorSelectPopupButton.d.ts +39 -0
  238. package/types/src/conditions/OperatorSelectPopupButton.d.ts.map +1 -0
  239. package/types/src/conditions/ScalarOption.d.ts +29 -0
  240. package/types/src/conditions/ScalarOption.d.ts.map +1 -0
  241. package/types/src/conditions/SelectorSelect.d.ts +43 -0
  242. package/types/src/conditions/SelectorSelect.d.ts.map +1 -0
  243. package/types/src/conditions/StringOption.d.ts +24 -0
  244. package/types/src/conditions/StringOption.d.ts.map +1 -0
  245. package/types/src/conditions/TimePeriodOption.d.ts +25 -0
  246. package/types/src/conditions/TimePeriodOption.d.ts.map +1 -0
  247. package/types/src/conditions/TopNOption.d.ts +25 -0
  248. package/types/src/conditions/TopNOption.d.ts.map +1 -0
  249. package/types/src/conditions/index.d.ts +13 -0
  250. package/types/src/conditions/index.d.ts.map +1 -0
  251. package/types/src/dataValidation/DataValidationDetailsPanel.d.ts +16 -0
  252. package/types/src/dataValidation/DataValidationDetailsPanel.d.ts.map +1 -0
  253. package/types/src/dataValidation/DataValidationDetailsTaskPane.d.ts +3 -0
  254. package/types/src/dataValidation/DataValidationDetailsTaskPane.d.ts.map +1 -0
  255. package/types/src/dataValidation/DataValidationEditorPanel.d.ts +12 -0
  256. package/types/src/dataValidation/DataValidationEditorPanel.d.ts.map +1 -0
  257. package/types/src/dataValidation/DataValidationPlugin.d.ts +2 -0
  258. package/types/src/dataValidation/DataValidationPlugin.d.ts.map +1 -0
  259. package/types/src/dataValidation/index.d.ts +2 -0
  260. package/types/src/dataValidation/index.d.ts.map +1 -0
  261. package/types/src/debug/DebugUtils.d.ts +4 -0
  262. package/types/src/debug/DebugUtils.d.ts.map +1 -0
  263. package/types/src/debug/index.d.ts +2 -0
  264. package/types/src/debug/index.d.ts.map +1 -0
  265. package/types/src/dialog/CommentsDialog.d.ts +11 -0
  266. package/types/src/dialog/CommentsDialog.d.ts.map +1 -0
  267. package/types/src/dialog/FindReplaceWindow.d.ts +13 -0
  268. package/types/src/dialog/FindReplaceWindow.d.ts.map +1 -0
  269. package/types/src/dialog/HyperlinkDialog.d.ts +28 -0
  270. package/types/src/dialog/HyperlinkDialog.d.ts.map +1 -0
  271. package/types/src/dialog/InsertFunctionDialog.d.ts +25 -0
  272. package/types/src/dialog/InsertFunctionDialog.d.ts.map +1 -0
  273. package/types/src/dialog/NamedReferenceDialog.d.ts +17 -0
  274. package/types/src/dialog/NamedReferenceDialog.d.ts.map +1 -0
  275. package/types/src/dialog/NumberFormatDialog.d.ts +12 -0
  276. package/types/src/dialog/NumberFormatDialog.d.ts.map +1 -0
  277. package/types/src/dialog/ResizeHeaderDialog.d.ts +15 -0
  278. package/types/src/dialog/ResizeHeaderDialog.d.ts.map +1 -0
  279. package/types/src/dialog/ShortcutKeysDialog.d.ts +9 -0
  280. package/types/src/dialog/ShortcutKeysDialog.d.ts.map +1 -0
  281. package/types/src/dialog/ShortcutKeysPanel.d.ts +28 -0
  282. package/types/src/dialog/ShortcutKeysPanel.d.ts.map +1 -0
  283. package/types/src/dialog/SortDialog.d.ts +9 -0
  284. package/types/src/dialog/SortDialog.d.ts.map +1 -0
  285. package/types/src/dialog/TableNewDialog.d.ts +14 -0
  286. package/types/src/dialog/TableNewDialog.d.ts.map +1 -0
  287. package/types/src/dialog/WorkbookStatisticsDialog.d.ts +13 -0
  288. package/types/src/dialog/WorkbookStatisticsDialog.d.ts.map +1 -0
  289. package/types/src/dialog/index.d.ts +10 -0
  290. package/types/src/dialog/index.d.ts.map +1 -0
  291. package/types/src/filter/ColumnMenu.d.ts +13 -0
  292. package/types/src/filter/ColumnMenu.d.ts.map +1 -0
  293. package/types/src/filter/FilterList.d.ts +28 -0
  294. package/types/src/filter/FilterList.d.ts.map +1 -0
  295. package/types/src/filter/index.d.ts +3 -0
  296. package/types/src/filter/index.d.ts.map +1 -0
  297. package/types/src/form/FormulaField.d.ts +221 -0
  298. package/types/src/form/FormulaField.d.ts.map +1 -0
  299. package/types/src/form/InputField.d.ts +89 -0
  300. package/types/src/form/InputField.d.ts.map +1 -0
  301. package/types/src/form/index.d.ts +3 -0
  302. package/types/src/form/index.d.ts.map +1 -0
  303. package/types/src/formulaBar/FormulaBar.d.ts +8 -0
  304. package/types/src/formulaBar/FormulaBar.d.ts.map +1 -0
  305. package/types/src/formulaBar/IFormulaBar.d.ts +51 -0
  306. package/types/src/formulaBar/IFormulaBar.d.ts.map +1 -0
  307. package/types/src/formulaBar/index.d.ts +3 -0
  308. package/types/src/formulaBar/index.d.ts.map +1 -0
  309. package/types/src/function/FunctionArgumentsPanel.d.ts +57 -0
  310. package/types/src/function/FunctionArgumentsPanel.d.ts.map +1 -0
  311. package/types/src/function/FunctionSearchPanel.d.ts +35 -0
  312. package/types/src/function/FunctionSearchPanel.d.ts.map +1 -0
  313. package/types/src/function/InsertFunctionWizard.d.ts +79 -0
  314. package/types/src/function/InsertFunctionWizard.d.ts.map +1 -0
  315. package/types/src/function/index.d.ts +4 -0
  316. package/types/src/function/index.d.ts.map +1 -0
  317. package/types/src/function/paneMetrics.d.ts +33 -0
  318. package/types/src/function/paneMetrics.d.ts.map +1 -0
  319. package/types/src/index.d.ts +21 -0
  320. package/types/src/index.d.ts.map +1 -0
  321. package/types/src/itemsPanel/EditorPanel.d.ts +21 -0
  322. package/types/src/itemsPanel/EditorPanel.d.ts.map +1 -0
  323. package/types/src/itemsPanel/ItemCard.d.ts +57 -0
  324. package/types/src/itemsPanel/ItemCard.d.ts.map +1 -0
  325. package/types/src/itemsPanel/ItemsDescriptor.d.ts +215 -0
  326. package/types/src/itemsPanel/ItemsDescriptor.d.ts.map +1 -0
  327. package/types/src/itemsPanel/ItemsPanel.d.ts +45 -0
  328. package/types/src/itemsPanel/ItemsPanel.d.ts.map +1 -0
  329. package/types/src/itemsPanel/SortableCards.d.ts +67 -0
  330. package/types/src/itemsPanel/SortableCards.d.ts.map +1 -0
  331. package/types/src/itemsPanel/index.d.ts +6 -0
  332. package/types/src/itemsPanel/index.d.ts.map +1 -0
  333. package/types/src/movable/MovableContextMenu.d.ts +13 -0
  334. package/types/src/movable/MovableContextMenu.d.ts.map +1 -0
  335. package/types/src/movable/index.d.ts +2 -0
  336. package/types/src/movable/index.d.ts.map +1 -0
  337. package/types/src/named/INamedCollectionEditor.d.ts +37 -0
  338. package/types/src/named/INamedCollectionEditor.d.ts.map +1 -0
  339. package/types/src/named/NamedCollectionEditor.d.ts +7 -0
  340. package/types/src/named/NamedCollectionEditor.d.ts.map +1 -0
  341. package/types/src/named/NamedDetailsPanel.d.ts +11 -0
  342. package/types/src/named/NamedDetailsPanel.d.ts.map +1 -0
  343. package/types/src/named/NamedDetailsTaskPane.d.ts +3 -0
  344. package/types/src/named/NamedDetailsTaskPane.d.ts.map +1 -0
  345. package/types/src/named/NamedDraft.d.ts +68 -0
  346. package/types/src/named/NamedDraft.d.ts.map +1 -0
  347. package/types/src/named/NamedEditorPanel.d.ts +19 -0
  348. package/types/src/named/NamedEditorPanel.d.ts.map +1 -0
  349. package/types/src/named/NamedPlugin.d.ts +2 -0
  350. package/types/src/named/NamedPlugin.d.ts.map +1 -0
  351. package/types/src/named/index.d.ts +8 -0
  352. package/types/src/named/index.d.ts.map +1 -0
  353. package/types/src/numberFormat/NumberFormatPanel.d.ts +29 -0
  354. package/types/src/numberFormat/NumberFormatPanel.d.ts.map +1 -0
  355. package/types/src/numberFormat/NumberFormatTaskPane.d.ts +12 -0
  356. package/types/src/numberFormat/NumberFormatTaskPane.d.ts.map +1 -0
  357. package/types/src/numberFormat/index.d.ts +8 -0
  358. package/types/src/numberFormat/index.d.ts.map +1 -0
  359. package/types/src/protectedRange/ProtectedRangeDetailsPanel.d.ts +20 -0
  360. package/types/src/protectedRange/ProtectedRangeDetailsPanel.d.ts.map +1 -0
  361. package/types/src/protectedRange/ProtectedRangeDetailsTaskPane.d.ts +3 -0
  362. package/types/src/protectedRange/ProtectedRangeDetailsTaskPane.d.ts.map +1 -0
  363. package/types/src/protectedRange/ProtectedRangeEditorPanel.d.ts +27 -0
  364. package/types/src/protectedRange/ProtectedRangeEditorPanel.d.ts.map +1 -0
  365. package/types/src/protectedRange/ProtectedRangePlugin.d.ts +2 -0
  366. package/types/src/protectedRange/ProtectedRangePlugin.d.ts.map +1 -0
  367. package/types/src/protectedRange/index.d.ts +2 -0
  368. package/types/src/protectedRange/index.d.ts.map +1 -0
  369. package/types/src/protection/WorkbookProtectionDialog.d.ts +23 -0
  370. package/types/src/protection/WorkbookProtectionDialog.d.ts.map +1 -0
  371. package/types/src/protection/WorkbookProtectionPanel.d.ts +51 -0
  372. package/types/src/protection/WorkbookProtectionPanel.d.ts.map +1 -0
  373. package/types/src/protection/index.d.ts +3 -0
  374. package/types/src/protection/index.d.ts.map +1 -0
  375. package/types/src/sheet/SheetTabMenu.d.ts +21 -0
  376. package/types/src/sheet/SheetTabMenu.d.ts.map +1 -0
  377. package/types/src/sheet/SheetsAllMenu.d.ts +16 -0
  378. package/types/src/sheet/SheetsAllMenu.d.ts.map +1 -0
  379. package/types/src/sheet/index.d.ts +3 -0
  380. package/types/src/sheet/index.d.ts.map +1 -0
  381. package/types/src/statusBar/NumberStats.d.ts +27 -0
  382. package/types/src/statusBar/NumberStats.d.ts.map +1 -0
  383. package/types/src/statusBar/SheetZoomScale.d.ts +11 -0
  384. package/types/src/statusBar/SheetZoomScale.d.ts.map +1 -0
  385. package/types/src/statusBar/StatusBar.d.ts +35 -0
  386. package/types/src/statusBar/StatusBar.d.ts.map +1 -0
  387. package/types/src/statusBar/index.d.ts +4 -0
  388. package/types/src/statusBar/index.d.ts.map +1 -0
  389. package/types/src/studio/CommandsWrapper.d.ts +36 -0
  390. package/types/src/studio/CommandsWrapper.d.ts.map +1 -0
  391. package/types/src/studio/DefaultLogo.d.ts +3 -0
  392. package/types/src/studio/DefaultLogo.d.ts.map +1 -0
  393. package/types/src/studio/EagerStudio.d.ts +5 -0
  394. package/types/src/studio/EagerStudio.d.ts.map +1 -0
  395. package/types/src/studio/Studio.d.ts +26 -0
  396. package/types/src/studio/Studio.d.ts.map +1 -0
  397. package/types/src/studio/StudioCommandProvider.d.ts +26 -0
  398. package/types/src/studio/StudioCommandProvider.d.ts.map +1 -0
  399. package/types/src/studio/StudioCommands.d.ts +115 -0
  400. package/types/src/studio/StudioCommands.d.ts.map +1 -0
  401. package/types/src/studio/StudioNotifierProvider.d.ts +10 -0
  402. package/types/src/studio/StudioNotifierProvider.d.ts.map +1 -0
  403. package/types/src/studio/StudioProps.d.ts +372 -0
  404. package/types/src/studio/StudioProps.d.ts.map +1 -0
  405. package/types/src/studio/StudioSplitPane.d.ts +60 -0
  406. package/types/src/studio/StudioSplitPane.d.ts.map +1 -0
  407. package/types/src/studio/StudioTaskPaneArea.d.ts +8 -0
  408. package/types/src/studio/StudioTaskPaneArea.d.ts.map +1 -0
  409. package/types/src/studio/StudioToolbar.d.ts +37 -0
  410. package/types/src/studio/StudioToolbar.d.ts.map +1 -0
  411. package/types/src/studio/index.d.ts +4 -0
  412. package/types/src/studio/index.d.ts.map +1 -0
  413. package/types/src/studio/useStudioApp.d.ts +51 -0
  414. package/types/src/studio/useStudioApp.d.ts.map +1 -0
  415. package/types/src/table/TableDetailsPanel.d.ts +17 -0
  416. package/types/src/table/TableDetailsPanel.d.ts.map +1 -0
  417. package/types/src/table/TableDetailsTaskPane.d.ts +3 -0
  418. package/types/src/table/TableDetailsTaskPane.d.ts.map +1 -0
  419. package/types/src/table/TablePlugin.d.ts +2 -0
  420. package/types/src/table/TablePlugin.d.ts.map +1 -0
  421. package/types/src/table/TableStyleCanvasPreview.d.ts +21 -0
  422. package/types/src/table/TableStyleCanvasPreview.d.ts.map +1 -0
  423. package/types/src/table/TableStyleOptionsPanel.d.ts +38 -0
  424. package/types/src/table/TableStyleOptionsPanel.d.ts.map +1 -0
  425. package/types/src/table/TableStylePreview.d.ts +43 -0
  426. package/types/src/table/TableStylePreview.d.ts.map +1 -0
  427. package/types/src/table/index.d.ts +7 -0
  428. package/types/src/table/index.d.ts.map +1 -0
  429. package/types/src/theme/ThemeSelectButton.d.ts +23 -0
  430. package/types/src/theme/ThemeSelectButton.d.ts.map +1 -0
  431. package/types/src/theme/ThemeSelectPanel.d.ts +17 -0
  432. package/types/src/theme/ThemeSelectPanel.d.ts.map +1 -0
  433. package/types/src/theme/ThemeSelectPopupButton.d.ts +24 -0
  434. package/types/src/theme/ThemeSelectPopupButton.d.ts.map +1 -0
  435. package/types/src/theme/ThemeUtils.d.ts +57 -0
  436. package/types/src/theme/ThemeUtils.d.ts.map +1 -0
  437. package/types/src/theme/index.d.ts +5 -0
  438. package/types/src/theme/index.d.ts.map +1 -0
  439. package/types/src/toast/ToastError.d.ts +10 -0
  440. package/types/src/toast/ToastError.d.ts.map +1 -0
  441. package/types/src/toast/index.d.ts +2 -0
  442. package/types/src/toast/index.d.ts.map +1 -0
  443. package/types/src/toolbar/WorkbookToolbars.d.ts +46 -0
  444. package/types/src/toolbar/WorkbookToolbars.d.ts.map +1 -0
  445. package/types/src/toolbar/index.d.ts +2 -0
  446. package/types/src/toolbar/index.d.ts.map +1 -0
  447. package/types/src/workbook/DefaultRenderers.d.ts +23 -0
  448. package/types/src/workbook/DefaultRenderers.d.ts.map +1 -0
  449. package/types/src/workbook/DocumentTitle.d.ts +69 -0
  450. package/types/src/workbook/DocumentTitle.d.ts.map +1 -0
  451. package/types/src/workbook/WorkbookContextMenu.d.ts +13 -0
  452. package/types/src/workbook/WorkbookContextMenu.d.ts.map +1 -0
  453. package/types/src/workbook/WorkbookElement.d.ts +12 -0
  454. package/types/src/workbook/WorkbookElement.d.ts.map +1 -0
  455. package/types/src/workbook/WorkbookStrip.d.ts +37 -0
  456. package/types/src/workbook/WorkbookStrip.d.ts.map +1 -0
  457. package/types/src/workbook/index.d.ts +7 -0
  458. package/types/src/workbook/index.d.ts.map +1 -0
  459. package/browser/cjs/7uRpnSJkNHg_E-KO.cjs +0 -6
  460. package/browser/cjs/B-O26BvbKDImp7pm.cjs +0 -20
  461. package/browser/cjs/B4j_sdzJNzq1ZPbT.cjs +0 -6
  462. package/browser/cjs/BWS4gFWp8lDPvR9C.cjs +0 -6
  463. package/browser/cjs/CmSwD6NZAHhOcRi3.cjs +0 -6
  464. package/browser/cjs/DHwhTAQeNs4slttB.cjs +0 -6
  465. package/browser/cjs/DMOT_ixtKqRvPULq.cjs +0 -6
  466. package/browser/cjs/DX5ji_lT0Qlqznv7.cjs +0 -42
  467. package/browser/cjs/DbqHWelIXc-F2a9N.cjs +0 -6
  468. package/browser/cjs/muTJOFrCXh156rjc.cjs +0 -6
  469. package/browser/cjs/rIy1Cx7HX-8zaQjY.cjs +0 -18
  470. package/browser/cjs/saPH3d5fE-ugXp6m.cjs +0 -7
  471. package/browser/esm/0D8VtNalLeBTB51a.mjs +0 -640
  472. package/browser/esm/BMo7K5LaD7zuDVg9.mjs +0 -2159
  473. package/browser/esm/BNmwaUWz2DJqWumP.mjs +0 -25
  474. package/browser/esm/Btt4G85L5v01eySb.mjs +0 -46
  475. package/browser/esm/C7jHdVMf6Yr4eH_B.mjs +0 -50
  476. package/browser/esm/CROTe62QHFVo8YMt.mjs +0 -155
  477. package/browser/esm/D5XNYGaC4Yw6vCRL.mjs +0 -54
  478. package/browser/esm/DUzVAMWTrS0u37LX.mjs +0 -2411
  479. package/browser/esm/DltuoFr9A-WJccbV.mjs +0 -26
  480. package/browser/esm/DtifaYF85GrfJ9_1.mjs +0 -50
  481. package/browser/esm/aUkJls9HzxnrZSof.mjs +0 -53
  482. package/browser/esm/mqkuG-TcLS4nn4x0.mjs +0 -4531
  483. package/node/assets/style.css +0 -1
  484. package/node/esm/BYjJIMFsheqJcsEI.mjs +0 -57
  485. package/node/esm/CACqTiBtxYlo1mu7.mjs +0 -26
  486. package/node/esm/CJU8jJhxtR3PEj2I.mjs +0 -52
  487. package/node/esm/CS0OWM24rZpAGRKU.mjs +0 -50
  488. package/node/esm/CdUceTAldsMTIFnD.mjs +0 -53
  489. package/node/esm/D6B7z_d11sd-U1fU.mjs +0 -46
  490. package/node/esm/DCngEQG4um0yTeoj.mjs +0 -91
  491. package/node/esm/DQnCFz2zJgMwLou_.mjs +0 -88
  492. package/node/esm/Do7ts-uMkQANfvhq.mjs +0 -156
  493. package/node/esm/oYh6joioOWhFd_R3.mjs +0 -25
@@ -0,0 +1,105 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.23-beta.2
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { useCallbackRef as e, useTranslator as t } from "@sheetxl/utils-react";
8
+ import { memo as n, useCallback as r, useMemo as i, useState as a } from "react";
9
+ import { OptionsDialog as o } from "@sheetxl/utils-mui";
10
+ import { jsx as s } from "react/jsx-runtime";
11
+ import { Box as c, FormControl as l, TextField as u } from "@mui/material";
12
+ var d = ["Ok", "Cancel"], f = n((n) => {
13
+ let { initialValue: f = null, onInput: p, context: m, onOption: h, onValidateOption: g, onDone: _, options: v = d, defaultOption: y = v?.[0], cancelOption: b = "Cancel", sx: x, ...S } = n, C = t(), w = i(() => {
14
+ let e = f ?? m?.()?.getComments(), t = "";
15
+ if (e && e.content && e.content.runs) {
16
+ let n = e.content.runs;
17
+ for (let e = 0; e < n.length; e++) {
18
+ let r = n[e];
19
+ t += r?.text;
20
+ }
21
+ }
22
+ return t;
23
+ }, []), [T, E] = a(w), [D, O] = a(!1), k = r(async (e, t) => null, []), A = e(async (e) => {
24
+ let t = T === "" ? [] : T.split("\n"), n = e === b;
25
+ if (!n) {
26
+ let e = t.length, n = Array(e);
27
+ for (let r = 0; r < e; r++) n[r] = { text: t[r] };
28
+ p?.({ content: { runs: n } });
29
+ }
30
+ h?.(e, n, e === y), _?.();
31
+ }, [
32
+ T,
33
+ p,
34
+ _,
35
+ h,
36
+ y,
37
+ b
38
+ ]), j = e((e) => {
39
+ E(e.target.value), k(e.target.value);
40
+ }, [g]), M = e(async (e) => {
41
+ let t = await Promise.resolve(g?.(e));
42
+ try {
43
+ !1 !== t && (t = await k(T, e));
44
+ } catch {}
45
+ return t ?? !0;
46
+ }, [g, T]);
47
+ return s(o, {
48
+ title: C(w ? "comments.titleEdit" : "comments.titleInsert"),
49
+ options: v,
50
+ onDone: _,
51
+ onOption: (e) => A(e),
52
+ onValidateOption: M,
53
+ defaultOption: y,
54
+ cancelOption: b,
55
+ autoFocusSel: ".autoFocus",
56
+ sx: {
57
+ width: "480px",
58
+ ...x
59
+ },
60
+ ...S,
61
+ children: s(c, {
62
+ sx: {
63
+ paddingTop: (e) => e.spacing(1),
64
+ paddingBottom: (e) => e.spacing(0),
65
+ rowGap: (e) => e.spacing(1),
66
+ display: "flex",
67
+ flexDirection: "column"
68
+ },
69
+ children: s(l, {
70
+ sx: {
71
+ paddingTop: (e) => e.spacing(1.5),
72
+ minWidth: 135,
73
+ width: "100%"
74
+ },
75
+ size: "small",
76
+ children: s(u, {
77
+ label: C("comments.label"),
78
+ placeholder: C("comments.placeholder"),
79
+ onFocus: (e) => {
80
+ D || e.target?.select(), O(!0);
81
+ },
82
+ sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(.5) } },
83
+ slotProps: {
84
+ inputLabel: { shrink: !0 },
85
+ htmlInput: {
86
+ className: "autoFocus",
87
+ spellCheck: !1,
88
+ autoComplete: "off",
89
+ sx: {
90
+ paddingTop: (e) => e.spacing(1.25),
91
+ paddingBottom: (e) => e.spacing(.75)
92
+ }
93
+ }
94
+ },
95
+ value: T,
96
+ onChange: j,
97
+ onContextMenu: (e) => {
98
+ e.stopPropagation();
99
+ }
100
+ })
101
+ })
102
+ })
103
+ });
104
+ });
105
+ export { f as CommentsDialog, f as default };
@@ -0,0 +1,52 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.23-beta.2
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { useEffect as e, useLayoutEffect as t, useMemo as n, useState as r } from "react";
8
+ var i = function() {};
9
+ function a(e) {
10
+ var t = [...arguments].slice(1);
11
+ e && e.addEventListener && e.addEventListener.apply(e, t);
12
+ }
13
+ function o(e) {
14
+ var t = [...arguments].slice(1);
15
+ e && e.removeEventListener && e.removeEventListener.apply(e, t);
16
+ }
17
+ var s = typeof window < "u", c = s ? t : e, l = {
18
+ x: 0,
19
+ y: 0,
20
+ width: 0,
21
+ height: 0,
22
+ top: 0,
23
+ left: 0,
24
+ bottom: 0,
25
+ right: 0
26
+ }, u = s && window.ResizeObserver !== void 0 ? function() {
27
+ var e = r(null), t = e[0], i = e[1], a = r(l), o = a[0], s = a[1], u = n(function() {
28
+ return new window.ResizeObserver(function(e) {
29
+ if (e[0]) {
30
+ var t = e[0].contentRect, n = t.x, r = t.y, i = t.width, a = t.height, o = t.top, c = t.left, l = t.bottom, u = t.right;
31
+ s({
32
+ x: n,
33
+ y: r,
34
+ width: i,
35
+ height: a,
36
+ top: o,
37
+ left: c,
38
+ bottom: l,
39
+ right: u
40
+ });
41
+ }
42
+ });
43
+ }, []);
44
+ return c(function() {
45
+ if (t) return u.observe(t), function() {
46
+ u.disconnect();
47
+ };
48
+ }, [t]), [i, o];
49
+ } : function() {
50
+ return [i, l];
51
+ };
52
+ export { a as i, s as n, o as r, u as t };
@@ -0,0 +1,129 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.23-beta.2
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { ScalarType as e } from "@sheetxl/sdk";
8
+ import { useTranslator as t } from "@sheetxl/utils-react";
9
+ import { Fragment as n, memo as r, useMemo as i } from "react";
10
+ import { OptionsDialog as a } from "@sheetxl/utils-mui";
11
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
12
+ import { Box as c, Typography as l } from "@mui/material";
13
+ import { messageKey as u } from "@sheetxl/utils";
14
+ var d = ["Ok"], f = [
15
+ e.Number,
16
+ e.String,
17
+ e.Boolean,
18
+ e.Error
19
+ ], p = r((r) => {
20
+ let { context: p, onDone: m, options: h = d, defaultOption: g = h?.[0], sx: _, ...v } = r, y = t(), b = i(() => {
21
+ let t = p?.().getWorkbook();
22
+ if (!t) return null;
23
+ let n = (t) => {
24
+ let n = t.getTypedCounts(f);
25
+ return [
26
+ {
27
+ labelKey: u("workbookStatistics.cellsWithData"),
28
+ value: t.getCount().toLocaleString()
29
+ },
30
+ {
31
+ labelKey: u("workbookStatistics.numbers"),
32
+ value: (n[e.Number] ?? 0).toLocaleString()
33
+ },
34
+ {
35
+ labelKey: u("workbookStatistics.text"),
36
+ value: (n[e.String] ?? 0).toLocaleString()
37
+ },
38
+ {
39
+ labelKey: u("workbookStatistics.booleans"),
40
+ value: (n[e.Boolean] ?? 0).toLocaleString()
41
+ },
42
+ {
43
+ labelKey: u("workbookStatistics.errors"),
44
+ value: (n[e.Error] ?? 0).toLocaleString()
45
+ }
46
+ ];
47
+ }, r = t.getSelectedSheet(), i = r.getUsedRange()?.getCoords(), a = i ? r.getRange({
48
+ rowStart: i.rowEnd,
49
+ colStart: i.colEnd,
50
+ rowEnd: i.rowEnd,
51
+ colEnd: i.colEnd
52
+ }).getAddress() : "–";
53
+ return [{
54
+ titleKey: u("workbookStatistics.currentSheet"),
55
+ subTitle: r.getName(),
56
+ rows: [{
57
+ labelKey: u("workbookStatistics.endOfSheet"),
58
+ value: a
59
+ }, ...n(r.getStats({ onError: "ignore" }))]
60
+ }, {
61
+ titleKey: u("workbookStatistics.workbook"),
62
+ subTitle: null,
63
+ rows: [{
64
+ labelKey: u("workbookStatistics.sheets"),
65
+ value: t.getSheets().getCount().toLocaleString()
66
+ }, ...n(t.getStats({ onError: "ignore" }))]
67
+ }];
68
+ }, [p]);
69
+ return o(a, {
70
+ title: y("workbookStatistics.title"),
71
+ options: h,
72
+ defaultOption: g,
73
+ onDone: m,
74
+ sx: {
75
+ width: "340px",
76
+ ..._
77
+ },
78
+ ...v,
79
+ children: o(c, {
80
+ sx: {
81
+ display: "flex",
82
+ flexDirection: "column",
83
+ rowGap: (e) => e.spacing(2),
84
+ paddingBottom: (e) => e.spacing(1)
85
+ },
86
+ children: b?.map((e) => s(c, { children: [s(l, {
87
+ variant: "subtitle2",
88
+ component: "div",
89
+ sx: {
90
+ display: "flex",
91
+ alignItems: "baseline",
92
+ gap: (e) => e.spacing(.75),
93
+ borderBottom: (e) => `1px solid ${e.palette.divider}`,
94
+ paddingBottom: (e) => e.spacing(.5),
95
+ marginBottom: (e) => e.spacing(.5)
96
+ },
97
+ children: [y(e.titleKey), e.subTitle ? o(l, {
98
+ variant: "caption",
99
+ component: "span",
100
+ color: "text.secondary",
101
+ children: e.subTitle
102
+ }) : null]
103
+ }), o(c, {
104
+ sx: {
105
+ display: "grid",
106
+ gridTemplateColumns: "1fr auto",
107
+ columnGap: (e) => e.spacing(2),
108
+ rowGap: (e) => e.spacing(.25)
109
+ },
110
+ children: e.rows.map((e) => s(n, { children: [o(l, {
111
+ variant: "body2",
112
+ component: "div",
113
+ color: "text.secondary",
114
+ children: y(e.labelKey)
115
+ }), o(l, {
116
+ variant: "body2",
117
+ component: "div",
118
+ sx: {
119
+ textAlign: "right",
120
+ fontVariantNumeric: "tabular-nums"
121
+ },
122
+ children: e.value
123
+ })] }, e.labelKey))
124
+ })] }, e.titleKey))
125
+ })
126
+ });
127
+ });
128
+ p.displayName = "WorkbookStatisticsDialog";
129
+ export { p as WorkbookStatisticsDialog, p as default };
@@ -0,0 +1,191 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.23-beta.2
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { n as e } from "./eL50tJKtsxKJk7-6.mjs";
8
+ import { InputField as t } from "./index.mjs";
9
+ import { useReferenceMode as n } from "@sheetxl/react";
10
+ import { useCallbackRef as r, useTranslator as i } from "@sheetxl/utils-react";
11
+ import { memo as a, useEffect as o, useId as ee, useMemo as s, useRef as c, useState as l } from "react";
12
+ import { OptionsDialog as u } from "@sheetxl/utils-mui";
13
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
14
+ import { Box as p, FormControl as m, InputLabel as te, MenuItem as h, Select as g, TextField as _ } from "@mui/material";
15
+ var v = ["Ok", "Cancel"], y = { paddingTop: (e) => e.spacing(1.5) }, b = a((a) => {
16
+ let { initialValue: b = null, context: x, onInput: S, onOption: C, onValidateOption: w, onDone: T, options: E = v, defaultOption: D = E?.[0], cancelOption: O = "Cancel", sx: k, ...A } = a, j = i(), M = s(() => (b ?? x?.()?.getHyperlink()) !== null, []), N = s(() => {
17
+ let e = null, t = null;
18
+ b && (typeof b == "string" ? t = b : e = b);
19
+ let n = e ? null : x?.()?.getHyperlink();
20
+ return {
21
+ address: t ?? e?.address ?? n?.getAddress() ?? "",
22
+ textToDisplay: e?.textToDisplay ?? n?.getTextToDisplay() ?? ""
23
+ };
24
+ }, [b, x]), P = N.address.startsWith("#"), [F, ne] = l(P ? "document" : "url"), [I, L] = l(P ? "" : N.address), [R, z] = l(() => P && N.address.substring(1) || null), [B, V] = l(P ? N.address.substring(1) : ""), [H, U] = l(null), [W, G] = l(() => {
25
+ let e = x?.().getText({ useFormattingCategory: !0 }) ?? N.textToDisplay;
26
+ return e === N.address ? "" : e;
27
+ }), [K, q] = l(!1), J = ee(), Y = c(null), X = c(null), Z = r(() => {
28
+ Y.current?.querySelector("input.autoFocus")?.focus(), X.current?.engage();
29
+ }, []), Q = c(F);
30
+ o(() => {
31
+ Q.current !== F && (Q.current = F, Z());
32
+ }, [F]);
33
+ let re = s(() => {
34
+ let e = x?.()?.getSheet()?.getName();
35
+ return e ? { scope: e } : void 0;
36
+ }, [x]), ie = n().getMode()?.mode === "point", ae = r((e) => {
37
+ G(e.target.value);
38
+ }, []), $ = r(() => {
39
+ if (F === "document") {
40
+ if (typeof R == "string") {
41
+ let e = R.trim();
42
+ return e ? `#${e}` : null;
43
+ }
44
+ let e = R?.getReferences()?.getAddress();
45
+ return e ? `#${e}` : null;
46
+ }
47
+ return I === "" ? null : I;
48
+ }, [
49
+ F,
50
+ R,
51
+ I
52
+ ]), oe = r(async (e) => {
53
+ let t = e === O;
54
+ if (!t) {
55
+ let e = $(), t = e?.startsWith("#") ? e.substring(1) : e;
56
+ S?.({
57
+ address: e,
58
+ textToDisplay: (W === "" ? t : W) ?? null
59
+ });
60
+ }
61
+ C?.(e, t, e === D), T?.();
62
+ }, [
63
+ $,
64
+ W,
65
+ S,
66
+ T,
67
+ C,
68
+ D,
69
+ O
70
+ ]), se = r(async (e) => !1 !== await Promise.resolve(w?.(e)) && (F !== "document" || !H), [
71
+ w,
72
+ F,
73
+ H
74
+ ]), ce = F === "document" ? B : I;
75
+ return d(u, {
76
+ title: j(M ? "hyperlink.titleEdit" : "hyperlink.titleInsert"),
77
+ options: E,
78
+ onDone: T,
79
+ onOption: (e) => oe(e),
80
+ onValidateOption: se,
81
+ defaultOption: D,
82
+ cancelOption: O,
83
+ autoFocusSel: ".autoFocus",
84
+ suspendModal: ie,
85
+ sx: {
86
+ width: "480px",
87
+ ...k
88
+ },
89
+ ...A,
90
+ children: f(p, {
91
+ ref: Y,
92
+ sx: {
93
+ paddingTop: (e) => e.spacing(1),
94
+ paddingBottom: (e) => e.spacing(0),
95
+ rowGap: (e) => e.spacing(1),
96
+ display: "flex",
97
+ flexDirection: "column"
98
+ },
99
+ children: [
100
+ f(m, {
101
+ sx: {
102
+ minWidth: 135,
103
+ width: "100%"
104
+ },
105
+ size: "small",
106
+ children: [d(te, {
107
+ id: J,
108
+ children: j("hyperlink.linkTo")
109
+ }), f(g, {
110
+ labelId: J,
111
+ value: F,
112
+ label: j("hyperlink.linkTo"),
113
+ MenuProps: {
114
+ disableRestoreFocus: !0,
115
+ slotProps: { transition: { onExited: Z } },
116
+ container: () => document.fullscreenElement
117
+ },
118
+ onChange: (e) => {
119
+ ne(e.target.value);
120
+ },
121
+ children: [d(h, {
122
+ value: "url",
123
+ children: j("hyperlink.typeWebPage")
124
+ }), d(h, {
125
+ value: "document",
126
+ children: j("hyperlink.typeInDocument")
127
+ })]
128
+ })]
129
+ }),
130
+ F === "document" ? d(e, {
131
+ sx: y,
132
+ grammar: "reference",
133
+ apiRef: X,
134
+ classNameInput: "autoFocus",
135
+ label: j("hyperlink.reference"),
136
+ value: R,
137
+ allowMulti: !1,
138
+ home: re,
139
+ onChangeInput: (e) => z(e),
140
+ onChangeText: (e) => V(e),
141
+ onChangeError: (e) => U(e),
142
+ onFocus: (e) => {
143
+ K || e.target?.select?.(), q(!0);
144
+ }
145
+ }) : d(t, {
146
+ sx: y,
147
+ label: j("hyperlink.address"),
148
+ defaultInput: j("hyperlink.addressPlaceholder"),
149
+ value: I,
150
+ onChangeInput: (e) => L(e),
151
+ onFocus: (e) => {
152
+ K || e.target?.select?.(), q(!0);
153
+ }
154
+ }),
155
+ d(m, {
156
+ sx: {
157
+ paddingTop: (e) => e.spacing(1.5),
158
+ minWidth: 135,
159
+ width: "100%"
160
+ },
161
+ size: "small",
162
+ children: d(_, {
163
+ label: j("hyperlink.displayText"),
164
+ placeholder: ce,
165
+ onFocus: () => {
166
+ q(!0);
167
+ },
168
+ sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(.5) } },
169
+ slotProps: {
170
+ inputLabel: { shrink: !0 },
171
+ htmlInput: {
172
+ spellCheck: !1,
173
+ autoComplete: "off",
174
+ sx: {
175
+ paddingTop: (e) => e.spacing(1.25),
176
+ paddingBottom: (e) => e.spacing(.75)
177
+ }
178
+ }
179
+ },
180
+ value: W,
181
+ onChange: ae,
182
+ onContextMenu: (e) => {
183
+ e.stopPropagation();
184
+ }
185
+ })
186
+ })
187
+ ]
188
+ })
189
+ });
190
+ });
191
+ export { b as HyperlinkDialog, b as default };
@@ -0,0 +1,219 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.23-beta.2
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { useTranslator as e } from "@sheetxl/utils-react";
8
+ import { forwardRef as t, memo as n, useState as r } from "react";
9
+ import { OptionsDialog as i } from "@sheetxl/utils-mui";
10
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
11
+ import { Box as s, Checkbox as c, FormControlLabel as l, TextField as u, Typography as d } from "@mui/material";
12
+ var f = Object.defineProperty, p = (e, t) => {
13
+ let n = {};
14
+ for (var r in e) f(n, r, {
15
+ get: e[r],
16
+ enumerable: !0
17
+ });
18
+ return t || f(n, Symbol.toStringTag, { value: "Module" }), n;
19
+ }, m = "•".repeat(8), h = (t) => {
20
+ let { password: n, onChange: i, disabled: c, required: l, labelPassword: d, labelConfirm: f, onValidityChange: p } = t, h = e(), [g, _] = r(""), v = n !== null, y = v && g !== n, b = (e, t) => {
21
+ let n = e !== null;
22
+ p(!(n && t !== e || l && n && e === ""));
23
+ };
24
+ return o(s, {
25
+ sx: {
26
+ display: "flex",
27
+ flexDirection: "column",
28
+ gap: (e) => e.spacing(1.5),
29
+ paddingLeft: 4
30
+ },
31
+ children: [a(u, {
32
+ type: "password",
33
+ size: "small",
34
+ label: d,
35
+ disabled: c,
36
+ value: n ?? m,
37
+ error: l && v && n === "",
38
+ onFocus: (e) => {
39
+ n === null && e.target.select();
40
+ },
41
+ onChange: (e) => {
42
+ let t = e.target.value === m ? null : e.target.value;
43
+ i(t), b(t, g);
44
+ },
45
+ slotProps: {
46
+ inputLabel: { shrink: !0 },
47
+ htmlInput: {
48
+ autoComplete: "new-password",
49
+ spellCheck: !1
50
+ }
51
+ }
52
+ }), a(u, {
53
+ type: "password",
54
+ size: "small",
55
+ label: f,
56
+ disabled: c || !v,
57
+ value: v ? g : m,
58
+ error: y,
59
+ helperText: y ? h("protection.passwordMismatch") : " ",
60
+ onChange: (e) => {
61
+ _(e.target.value), b(n, e.target.value);
62
+ },
63
+ slotProps: {
64
+ inputLabel: { shrink: !0 },
65
+ htmlInput: {
66
+ autoComplete: "new-password",
67
+ spellCheck: !1
68
+ }
69
+ }
70
+ })]
71
+ });
72
+ }, g = n(t((t, n) => {
73
+ let { value: i, onChange: u, onValidityChange: f, sx: p } = t, m = e(), [g, _] = r(!0), [v, y] = r(!0), b = (e, t) => {
74
+ f?.((!i.encrypt || e) && (!i.structure || t));
75
+ }, x = (e) => {
76
+ u({
77
+ ...i,
78
+ ...e
79
+ });
80
+ };
81
+ return o(s, {
82
+ ref: n,
83
+ sx: {
84
+ display: "flex",
85
+ flexDirection: "column",
86
+ gap: (e) => e.spacing(2.5),
87
+ ...p
88
+ },
89
+ children: [o(s, {
90
+ sx: {
91
+ display: "flex",
92
+ flexDirection: "column",
93
+ gap: (e) => e.spacing(1)
94
+ },
95
+ children: [
96
+ a(l, {
97
+ control: a(c, {
98
+ checked: i.encrypt,
99
+ onChange: (e) => {
100
+ let t = e.target.checked;
101
+ x({
102
+ encrypt: t,
103
+ encryptPassword: t ? i.encryptPassword ?? "" : i.encryptPassword
104
+ }), f?.((!t || g) && (!i.structure || v));
105
+ }
106
+ }),
107
+ label: m("protection.encrypt.label")
108
+ }),
109
+ a(h, {
110
+ password: i.encryptPassword,
111
+ onChange: (e) => x({ encryptPassword: e }),
112
+ disabled: !i.encrypt,
113
+ required: !0,
114
+ labelPassword: m("protection.password"),
115
+ labelConfirm: m("protection.passwordConfirm"),
116
+ onValidityChange: (e) => {
117
+ _(e), b(e, v);
118
+ }
119
+ }),
120
+ a(d, {
121
+ variant: "caption",
122
+ sx: {
123
+ paddingLeft: 4,
124
+ color: "warning.main"
125
+ },
126
+ children: m("protection.encrypt.warning")
127
+ })
128
+ ]
129
+ }), o(s, {
130
+ sx: {
131
+ display: "flex",
132
+ flexDirection: "column",
133
+ gap: (e) => e.spacing(1)
134
+ },
135
+ children: [
136
+ a(l, {
137
+ control: a(c, {
138
+ checked: i.structure,
139
+ onChange: (e) => {
140
+ let t = e.target.checked;
141
+ x({ structure: t }), f?.((!i.encrypt || g) && (!t || v));
142
+ }
143
+ }),
144
+ label: m("protection.structure.label")
145
+ }),
146
+ a(h, {
147
+ password: i.structurePassword,
148
+ onChange: (e) => x({ structurePassword: e }),
149
+ disabled: !i.structure,
150
+ required: !1,
151
+ labelPassword: m("protection.passwordOptional"),
152
+ labelConfirm: m("protection.passwordConfirm"),
153
+ onValidityChange: (e) => {
154
+ y(e), b(g, e);
155
+ }
156
+ }),
157
+ o(s, {
158
+ sx: {
159
+ display: "flex",
160
+ gap: (e) => e.spacing(2),
161
+ paddingLeft: 4
162
+ },
163
+ children: [a(l, {
164
+ control: a(c, {
165
+ size: "small",
166
+ disabled: !i.structure,
167
+ checked: i.lockStructure,
168
+ onChange: (e) => x({ lockStructure: e.target.checked })
169
+ }),
170
+ label: m("protection.structure.lockStructure")
171
+ }), a(l, {
172
+ control: a(c, {
173
+ size: "small",
174
+ disabled: !i.structure,
175
+ checked: i.lockWindows,
176
+ onChange: (e) => x({ lockWindows: e.target.checked })
177
+ }),
178
+ label: m("protection.structure.lockWindows")
179
+ })]
180
+ }),
181
+ a(d, {
182
+ variant: "caption",
183
+ sx: {
184
+ paddingLeft: 4,
185
+ color: "text.secondary"
186
+ },
187
+ children: m("protection.structure.note")
188
+ })
189
+ ]
190
+ })]
191
+ });
192
+ })), _ = p({
193
+ WorkbookProtectionDialog: () => v,
194
+ default: () => v
195
+ }), v = (t) => {
196
+ let n = e(), { initialValue: o, onApply: s, title: c = n("protection.title"), sx: l, ...u } = t, [d, f] = r(o), [p, m] = r(!0);
197
+ return a(i, {
198
+ title: c,
199
+ options: ["Ok", "Cancel"],
200
+ defaultOption: "Ok",
201
+ cancelOption: "Cancel",
202
+ sx: {
203
+ width: "440px",
204
+ ...l
205
+ },
206
+ onValidateOption: (e) => p,
207
+ onOption: (e, t) => {
208
+ if (!t && e === "Ok") return s(d);
209
+ },
210
+ ...u,
211
+ children: a(g, {
212
+ value: d,
213
+ onChange: f,
214
+ onValidityChange: m,
215
+ sx: { paddingTop: 1 }
216
+ })
217
+ });
218
+ };
219
+ export { _ as n, g as r, v as t };