@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
package/types/index.d.ts CHANGED
@@ -1,1762 +1,2 @@
1
- import { BoxProps } from '@mui/material';
2
- import { Command } from '@sheetxl/utils-react';
3
- import { CommandButtonOptions } from '@sheetxl/utils-react';
4
- import { CommandButtonProps } from '@sheetxl/utils-react';
5
- import { CommandButtonType } from '@sheetxl/utils-react';
6
- import { CommandContext } from '@sheetxl/react';
7
- import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
8
- import { default as default_2 } from 'react';
9
- import { DefaultTaskPaneRegistry } from '@sheetxl/react';
10
- import { ErrorPanelProps } from '@sheetxl/utils-react';
11
- import { ExhibitIconButtonProps } from '@sheetxl/utils-mui';
12
- import { ExhibitPopupButtonProps } from '@sheetxl/utils-mui';
13
- import { ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
14
- import { FloatReference } from '@sheetxl/utils-mui';
15
- import { FormControlProps } from '@mui/material';
16
- import { GetFormatsOptions } from '@sheetxl/io';
17
- import { GridStyle } from '@sheetxl/grid-react';
18
- import { GridSurfaceStyle } from '@sheetxl/grid-react';
19
- import { IAutoFilter } from '@sheetxl/sdk';
20
- import { IBorder } from '@sheetxl/sdk';
21
- import { ICellRanges } from '@sheetxl/sdk';
22
- import { IColor } from '@sheetxl/sdk';
23
- import { ICommand } from '@sheetxl/utils-react';
24
- import { ICommandHook } from '@sheetxl/utils-react';
25
- import { ICommands } from '@sheetxl/utils-react';
26
- import { IMovable } from '@sheetxl/sdk';
27
- import { INamedCollection } from '@sheetxl/sdk';
28
- import { IReactNotifier } from '@sheetxl/utils-react';
29
- import { ISheet } from '@sheetxl/sdk';
30
- import { ISheetElement } from '@sheetxl/react';
31
- import { IStyle } from '@sheetxl/sdk';
32
- import { IStyleCollection } from '@sheetxl/sdk';
33
- import { ITable } from '@sheetxl/sdk';
34
- import { ITableStyle } from '@sheetxl/sdk';
35
- import { ITheme } from '@sheetxl/sdk';
36
- import { IThemeCollection } from '@sheetxl/sdk';
37
- import { IWorkbook } from '@sheetxl/sdk';
38
- import { IWorkbookIO } from '@sheetxl/io';
39
- import { JSX } from 'react/jsx-runtime';
40
- import { LicenseDetails } from '@sheetxl/sdk';
41
- import { LicenseManager } from '@sheetxl/sdk';
42
- import { LoadingPanelProps } from '@sheetxl/utils-react';
43
- import { PaperProps } from '@mui/material';
44
- import { PopupButtonType } from '@sheetxl/utils-mui';
45
- import { ReadFormatType } from '@sheetxl/io';
46
- import { ReadWorkbookOptions } from '@sheetxl/io';
47
- import { RegisterOptions } from 'react-hook-form';
48
- import { SheetProps } from '@sheetxl/react';
49
- import { SvgIconProps } from '@mui/material';
50
- import { SxProps } from '@mui/system';
51
- import { TabProps } from '@sheetxl/react';
52
- import { TabStripRef } from '@sheetxl/react';
53
- import { TaskPaneProps } from '@sheetxl/react';
54
- import { Theme } from '@mui/material/styles';
55
- import { ThemeModeOptions } from '@sheetxl/utils-mui';
56
- import { ToolbarProps } from '@mui/material';
57
- import { UndoManager } from '@sheetxl/utils';
58
- import { useModelListener } from '@sheetxl/react';
59
- import { useRangeListener } from '@sheetxl/react';
60
- import { WriteFormatType } from '@sheetxl/io';
61
- import { WriteWorkbookOptions } from '@sheetxl/io';
62
-
63
- export declare const AppearanceCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
64
-
65
- export declare const AutoColorPosition: {
66
- readonly Start: "start";
67
- readonly End: "end";
68
- };
69
-
70
- export declare type AutoColorPosition = typeof AutoColorPosition[keyof typeof AutoColorPosition];
71
-
72
- /**
73
- * Implement disabled
74
- * Set command on selected
75
- */
76
- export declare const BorderCommandButton: default_2.NamedExoticComponent<Omit<BorderCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
77
-
78
- export declare interface BorderCommandButtonProps extends Omit<Partial<BorderPopupButtonProps>, "icon" | "label"> {
79
- commands?: ICommands.IGroup;
80
- command?: ICommand<Partial<IBorder.Properties>, CommandContext.Border>;
81
- icon?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
82
- label?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
83
- /**
84
- * Allow for listeners against a specific buttons execute rather than the command.
85
- *
86
- * @remarks
87
- * Useful when knowing the specific button that executed a command is required.
88
- * (For example when closing menus or restoring focus)
89
- */
90
- commandHook?: ICommandHook<any, any>;
91
- /**
92
- * Styling
93
- * @defaultValue CommandButtonType.Toolbar
94
- */
95
- variant?: CommandButtonType;
96
- darkMode?: boolean;
97
- }
98
-
99
- export declare const BorderPopupButton: default_2.NamedExoticComponent<Omit<BorderPopupButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
100
-
101
- export declare interface BorderPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "createPopupPanel"> {
102
- selectedBorder: Partial<IBorder.Properties>;
103
- /**
104
- * Create a border.
105
- */
106
- createTemporaryBorder: (props: Partial<IBorder.Properties>) => IBorder;
107
- /**
108
- * For color picker.
109
- */
110
- schemeLookup: IColor.SchemeLookup;
111
- /**
112
- * If autoColor is set the a special Swatch is create that will
113
- * disable this color. When it is selected or previewed the color
114
- * passed will be null any consumer will then know to use the auto color
115
- */
116
- autoColor?: IColor;
117
- darkMode?: boolean;
118
- /**
119
- * If no values are specified
120
- */
121
- autoStrokeStyle?: IBorder.StrokeStyle;
122
- showStylingBefore?: boolean;
123
- onSelectBorder?: (border: Partial<IBorder.Properties> | null) => void;
124
- onPreviewBorder?: (border: Partial<IBorder.Properties> | null) => void;
125
- }
126
-
127
- export declare const BorderStylePopupButton: default_2.NamedExoticComponent<Omit<BorderStylePopupButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
128
-
129
- export declare interface BorderStylePopupButtonProps extends ExhibitPopupButtonProps {
130
- selectedStyle: IBorder.StrokeStyle;
131
- onSelectStyle?: (style: IBorder.StrokeStyle | null) => void;
132
- /**
133
- * Rendering styles
134
- * @defaultValue to Toolbar
135
- */
136
- variant?: PopupButtonType;
137
- /**
138
- * @defaultValue false
139
- */
140
- showLabels?: boolean;
141
- /**
142
- * Where there are any custom borders
143
- * @remarks
144
- * None does not mean there is no gridline just no custom border. Excel doesn't have a way to partially remove gridlines.
145
- * We could accomplish this by adding a transparent border.
146
- *
147
- * @defaultValue true
148
- */
149
- showNone?: boolean;
150
- styleColor?: IColor;
151
- darkMode?: boolean;
152
- }
153
-
154
- export declare const CellsDeleteCommandButton: default_2.NamedExoticComponent<Omit<CellsDeleteCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
155
-
156
- export declare interface CellsDeleteCommandButtonProps extends CommandPopupButtonProps {
157
- disableSheet?: boolean;
158
- /**
159
- * If set to `true` only a single menu will be shown instead of a popup if
160
- * only one command is enabled. Useful for adding or removing rows/column on headers.
161
- *
162
- * @remarks
163
- * This is only considered for the `MenuButton` Variant.
164
- */
165
- preferSingleMenu?: boolean;
166
- showQuickButton?: boolean;
167
- }
168
-
169
- /**
170
- * Menu for cell formatting
171
- */
172
- export declare const CellsFormatCommandButton: default_2.NamedExoticComponent<CellsFormatCommandButtonProps & default_2.RefAttributes<HTMLElement>>;
173
-
174
- export declare interface CellsFormatCommandButtonProps extends CommandButtonOptions {
175
- parentFloat: FloatReference;
176
- commands: ICommands.IGroup;
177
- }
178
-
179
- export declare const CellsInsertCommandButton: default_2.NamedExoticComponent<Omit<CellsInsertCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
180
-
181
- export declare interface CellsInsertCommandButtonProps extends CommandPopupButtonProps {
182
- disableSheet?: boolean;
183
- /**
184
- * If set to `true` only a single menu will be shown instead of a popup if
185
- * only one command is enabled. Useful for adding or removing rows/column on headers.
186
- *
187
- * @remarks
188
- * This is only considered for the `MenuButton` Variant.
189
- */
190
- preferSingleMenu?: boolean;
191
- showQuickButton?: boolean;
192
- }
193
-
194
- export declare const ClearCommandButton: default_2.NamedExoticComponent<Omit<ClearCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
195
-
196
- export declare interface ClearCommandButtonProps extends CommandPopupButtonProps {
197
- }
198
-
199
- /**
200
- * Given a colorDef Provides a color preview as a swatch, a tooltip, and returns an adjusted color.
201
- */
202
- export declare const ColorButton: default_2.MemoExoticComponent<(props: ColorButtonProps) => JSX.Element>;
203
-
204
- export declare const ColorButtonList: default_2.FC<ColorButtonListProps>;
205
-
206
- export declare interface ColorButtonListProps extends default_2.HTMLAttributes<HTMLElement> {
207
- title?: string;
208
- colorDefs: IColor.DefinitionWithLabel[] | IColor.DefinitionWithLabel[][];
209
- schemeColorLookup: IColor.SchemeLookup;
210
- selectedColor?: IColor;
211
- previewColor?: IColor;
212
- onSelectColorDef?: (colorDef: IColor.DefinitionWithLabel) => void;
213
- onPreviewColorDef?: (colorDef: IColor.DefinitionWithLabel) => void;
214
- propsSwatch?: Partial<SwatchProps>;
215
- compareRGB?: boolean;
216
- darkMode?: boolean;
217
- }
218
-
219
- export declare interface ColorButtonProps extends default_2.HTMLAttributes<HTMLElement> {
220
- colorDef: IColor.DefinitionWithLabel;
221
- schemeColorLookup: IColor.SchemeLookup;
222
- selectedColor: IColor;
223
- previewColor?: IColor;
224
- onSelectColorDef?: (colorDef: IColor.DefinitionWithLabel) => void;
225
- onPreviewColorDef?: (colorDef: IColor.DefinitionWithLabel) => void;
226
- propsSwatch?: Partial<SwatchProps>;
227
- defaultButtonSize?: number;
228
- isLarge?: boolean;
229
- compareRGB?: boolean;
230
- darkMode?: boolean;
231
- }
232
-
233
- export declare const ColorCommandButton: default_2.NamedExoticComponent<Omit<ColorCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
234
-
235
- /**
236
- * Wraps ColorPopupButton with a command.
237
- */
238
- export declare interface ColorCommandButtonProps extends Omit<ColorPopupButtonProps, "selectedColor" | "variant" | "icon" | "label"> {
239
- command: Command<IColor, CommandContext.Color>;
240
- /**
241
- * Allow for listeners against a specific buttons execute rather than the command.
242
- *
243
- * @remarks
244
- * Useful when knowing the specific button that executed a command is required.
245
- * (For example when closing menus or restoring focus)
246
- */
247
- commandHook?: ICommandHook<any, any>;
248
- icon?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
249
- label?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
250
- /**
251
- * Styling
252
- * @defaultValue CommandButtonType.Toolbar
253
- */
254
- variant?: CommandButtonType;
255
- /**
256
- * Hint to indicate to the popup to behave like a split button even if no commands is available.
257
- */
258
- isSplit?: boolean;
259
- darkMode?: boolean;
260
- }
261
-
262
- /**
263
- * A color panel that has a list of presets and a way to make custom colors.
264
- */
265
- export declare const ColorPanel: default_2.NamedExoticComponent<ColorPanelProps & default_2.RefAttributes<HTMLElement>>;
266
-
267
- export declare interface ColorPanelProps extends default_2.HTMLAttributes<HTMLElement> {
268
- width?: number;
269
- /**
270
- * Defaults to 24px
271
- */
272
- defaultButtonSize?: number;
273
- /**
274
- * Required to generate theme palettes. If not specified then DocTheme colors are used
275
- */
276
- schemeLookup?: IColor.SchemeLookup;
277
- recentColors?: readonly IColor[] | (() => readonly IColor[]);
278
- /**
279
- * Defaults to false
280
- */
281
- disableAlpha?: boolean;
282
- darkMode?: boolean;
283
- selectedColor: IColor;
284
- previewColor?: IColor;
285
- onSelectColor?: (color: IColor | null, isCustom: boolean) => void;
286
- onPreviewColor?: (color: IColor | null) => void;
287
- onPreviewColorImmediate?: (color: IColor | null) => void;
288
- previewDebounceTime?: number;
289
- /**
290
- * If autoColor is set then a special Swatch is created that will
291
- * use this color. When it is selected or previewed the color
292
- * passed will be null any consumer will then know to use the auto color
293
- */
294
- autoColor?: IColor;
295
- /**
296
- * If autoColor is specified then a label will be shown.
297
- * This is ignored if autoColor is not specified.
298
- * @defaultValue Automatic
299
- */
300
- autoColorLabel?: NonNullable<default_2.ReactNode>;
301
- /**
302
- * If autoColor is specified then a label will be shown.
303
- * This is ignored if autoColor is not specified.
304
- * @defaultValue AutoColorPosition.Start
305
- */
306
- autoColorPosition?: AutoColorPosition;
307
- /**
308
- * If not specified or null then this will be determined based on whether the selected color is available in the
309
- * presets (not include recent)
310
- */
311
- initialPanelType?: ColorPanelType;
312
- onEyeDropStart?: () => void;
313
- onEyeDropStop?: () => void;
314
- onDone?: () => void;
315
- onElementLoad?: () => void;
316
- /**
317
- * Determines if Adjustable colors with similar RGB values are considered the same.
318
- * @defaultValue false
319
- */
320
- compareRGB?: boolean;
321
- }
322
-
323
- export declare const ColorPanelType: {
324
- readonly Preset: "preset";
325
- readonly Custom: "custom";
326
- };
327
-
328
- export declare type ColorPanelType = typeof ColorPanelType[keyof typeof ColorPanelType];
329
-
330
- export declare const ColorPopupButton: default_2.NamedExoticComponent<Omit<ColorPopupButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
331
-
332
- export declare interface ColorPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "createPopupPanel"> {
333
- selectedColor: IColor;
334
- onSelectColor?: (color: IColor | null, isCustom: boolean) => void;
335
- onPreviewColor?: (color: IColor | null) => void;
336
- onPreviewColorImmediate?: (color: IColor | null) => void;
337
- /**
338
- * A short cut for a quick color. This is generally the last color chosen
339
- */
340
- quickColor?: IColor;
341
- /**
342
- * Rendering styles
343
- * @defaultValue to Toolbar
344
- */
345
- variant?: PopupButtonType;
346
- propsPanel?: Partial<ColorPanelProps>;
347
- /**
348
- * When closing the popup closeAll movables or just the current.
349
- * @defaultValue true
350
- */
351
- shouldCloseFloatAll?: boolean;
352
- compareRGB?: boolean;
353
- darkMode?: boolean;
354
- }
355
-
356
- /**
357
- * Creates a gridStyle from a MUI theme
358
- * @param appTheme The outer theme used for toolbars and any containing application.
359
- * @param bodyTheme The theme used specifically for the grid.
360
- * @returns A `GridStyle` that merges appTheme and bodyTheme.
361
- */
362
- export declare const createGridStyleFromMUITheme: (appTheme: Theme, bodyTheme?: Theme) => GridStyle;
363
-
364
- export declare const CustomColorPanel: default_2.FC<CustomColorPanelProps>;
365
-
366
- /**
367
- * This is a standard color panel.
368
- */
369
- export declare interface CustomColorPanelProps extends default_2.HTMLAttributes<HTMLElement> {
370
- selectedColor: string;
371
- onColorChange: (color: string) => void;
372
- /**
373
- * Defaults to false
374
- */
375
- disableAlpha?: boolean;
376
- renderers?: any;
377
- }
378
-
379
- export { DefaultTaskPaneRegistry }
380
-
381
- export declare const DocThemeCommandButton: default_2.NamedExoticComponent<Omit<DocThemeCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
382
-
383
- export declare interface DocThemeCommandButtonProps extends Omit<ThemeSelectPopupButtonProps, "createPopupPanel" | "variant" | "themes" | "icon" | "label"> {
384
- command: ICommand<ITheme, CommandContext.Theme>;
385
- icon?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
386
- label?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
387
- /**
388
- * Allow for listeners against a specific buttons execute rather than the command.
389
- *
390
- * @remarks
391
- * Useful when knowing the specific button that executed a command is required.
392
- * (For example when closing menus or restoring focus)
393
- */
394
- commandHook?: ICommandHook<any, any>;
395
- selectedTheme?: ITheme;
396
- onSelectTheme?: (docTheme: ITheme) => void;
397
- /**
398
- * Styling
399
- * @defaultValue CommandButtonType.Toolbar
400
- */
401
- variant?: CommandButtonType;
402
- darkMode?: boolean;
403
- }
404
-
405
- /**
406
- * Fully functional application. Wraps a workbook in a simple container for a standalone application.
407
- * Minimum usefulness is:
408
- * * resolve initial workbook and loading panel
409
- * * workbook
410
- * * snackbar
411
- * * export/import to local file system
412
- * * file name
413
- * * material-ui theme for light/dark toggle
414
- */
415
- export declare const EagerStudio: default_2.NamedExoticComponent<Omit<StudioProps, "ref"> & default_2.RefAttributes<IWorkbookElement>>;
416
-
417
- export declare const FillCommandButton: default_2.NamedExoticComponent<Omit<FillCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
418
-
419
- export declare interface FillCommandButtonProps extends CommandPopupButtonProps {
420
- }
421
-
422
- /**
423
- * FilterColumnMenu component to provide a menu for filter column actions.
424
- */
425
- export declare const FilterColumnMenu: default_2.NamedExoticComponent<FilterColumnMenuProps & default_2.RefAttributes<HTMLDivElement>>;
426
-
427
- export declare interface FilterColumnMenuProps extends default_2.HTMLAttributes<HTMLDivElement> {
428
- filter: IAutoFilter.IColumn;
429
- commands?: ICommands.IGroup;
430
- disabled?: boolean;
431
- floatReference: FloatReference;
432
- }
433
-
434
- /**
435
- * PLACEHOLDER for FilterCommandButton.
436
- *
437
- * Popup menu on the Filter button. (should we merge this with the sort menu?)
438
- */
439
- export declare const FilterCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
440
-
441
- export declare const Filters: default_2.NamedExoticComponent<Omit<FiltersProps, "ref"> & default_2.RefAttributes<IFiltersElement>>;
442
-
443
- export declare interface FiltersAttributes {
444
- isFilters: () => true;
445
- }
446
-
447
- export declare interface FiltersProps extends default_2.HTMLAttributes<HTMLDivElement> {
448
- /**
449
- * The filter to display.
450
- */
451
- filter: IAutoFilter.IColumn;
452
- /**
453
- * Disables the filter UI.
454
- */
455
- disabled?: boolean;
456
- /**
457
- * Ref for the Element.
458
- */
459
- ref?: default_2.Ref<IFiltersElement>;
460
- }
461
-
462
- /**
463
- * Menu for Find options
464
- */
465
- export declare const FindCommandButton: default_2.NamedExoticComponent<Omit<FindCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
466
-
467
- export declare interface FindCommandButtonProps extends CommandPopupButtonProps {
468
- }
469
-
470
- export declare const FontFamilyCommandButton: default_2.NamedExoticComponent<Omit<FontFamilyCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
471
-
472
- export declare interface FontFamilyCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "label" | "createPopupPanel"> {
473
- command: Command<string>;
474
- icon?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
475
- label?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
476
- /**
477
- * Allow for listeners against a specific buttons execute rather than the command.
478
- *
479
- * @remarks
480
- * Useful when knowing the specific button that executed a command is required.
481
- * (For example when closing menus or restoring focus)
482
- */
483
- commandHook?: ICommandHook<any, any>;
484
- }
485
-
486
- /**
487
- * TODO - add divider and increase/decrease as quick buttons??
488
- */
489
- export declare const FontSizeCommandButton: default_2.NamedExoticComponent<Omit<FontSizeCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
490
-
491
- export declare interface FontSizeCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "label" | "createPopupPanel"> {
492
- command?: Command<number>;
493
- icon?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
494
- label?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
495
- /**
496
- * Allow for listeners against a specific buttons execute rather than the command.
497
- *
498
- * @remarks
499
- * Useful when knowing the specific button that executed a command is required.
500
- * (For example when closing menus or restoring focus)
501
- */
502
- commandHook?: ICommandHook<any, any>;
503
- /**
504
- * defaults the the Excel fontSizes
505
- */
506
- fontSizes?: number[];
507
- /**
508
- * Show quickButtons. Requires commands to be set.
509
- * @defaultValue false
510
- */
511
- showQuickButtons?: boolean;
512
- commands?: ICommands.IGroup;
513
- }
514
-
515
- /**
516
- * This tracks the selection of the sheet and
517
- * updates the a named range editor and a sheet cell editor.
518
- */
519
- export declare const FormulaBar: default_2.NamedExoticComponent<Omit<FormulaBarProps, "ref"> & default_2.RefAttributes<IFormulaBarElement>>;
520
-
521
- export declare interface FormulaBarAttributes {
522
- isFormulaBarElement: () => true;
523
- getNamedCollectionEditorElement: () => INamedCollectionEditorElement;
524
- }
525
-
526
- export declare interface FormulaBarProps extends default_2.HTMLAttributes<HTMLDivElement> {
527
- /**
528
- * The workbook that is used for the range.use
529
- */
530
- workbook?: IWorkbook;
531
- /**
532
- * Used for startEdit and focus
533
- */
534
- sheetElement?: ISheetElement;
535
- /**
536
- * If the NamedCollectionEditor should be shown.
537
- * @defaultValue true
538
- */
539
- showNamedCollectionEditor?: boolean;
540
- /**
541
- * Allow for customizations on NamedCollectionEditor
542
- */
543
- propsNamedCollectionEditor?: NamedCollectionEditorProps;
544
- /**
545
- * Override the default NamedCollectionEditor
546
- */
547
- renderNamedCollectionEditor?: (props: NamedCollectionEditorProps, ref: default_2.Ref<INamedCollectionEditorElement>) => default_2.ReactElement;
548
- /**
549
- * Key down listeners
550
- */
551
- commands?: ICommands.IGroup;
552
- /**
553
- * Disabled the ui.
554
- */
555
- disabled?: boolean;
556
- /**
557
- * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
558
- */
559
- sx?: SxProps<Theme>;
560
- /**
561
- * The grid style to use for the cell editor.
562
- */
563
- gridStyle?: GridStyle;
564
- /**
565
- * Ref for the FormulaBar element.
566
- */
567
- ref?: default_2.Ref<IFormulaBarElement>;
568
- }
569
-
570
- /**
571
- * Menu for freeze options
572
- */
573
- export declare const FreezeCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
574
-
575
- export declare const HelpCommandButton: default_2.NamedExoticComponent<Omit<HelpCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
576
-
577
- export declare interface HelpCommandButtonProps extends CommandPopupButtonProps {
578
- }
579
-
580
- export declare const HorizontalAlignCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
581
-
582
- export declare interface IFiltersElement extends HTMLDivElement, FiltersAttributes {
583
- }
584
-
585
- /**
586
- * Type returned via ref property
587
- */
588
- export declare interface IFormulaBarElement extends FormulaBarAttributes, HTMLElement {
589
- }
590
-
591
- /**
592
- * Type returned via ref property
593
- */
594
- export declare interface INamedCollectionEditorElement extends NamedCollectionEditorAttributes, HTMLDivElement {
595
- }
596
-
597
- export declare interface InsertFunctionCommandButtonProps extends CommandPopupButtonProps {
598
- category: string;
599
- icon?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
600
- label?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
601
- /**
602
- * Allow for listeners against a specific buttons execute rather than the command.
603
- *
604
- * @remarks
605
- * Useful when knowing the specific button that executed a command is required.
606
- * (For example when closing menus or restoring focus)
607
- */
608
- commandHook?: ICommandHook<any, any>;
609
- }
610
-
611
- export declare const InsertFunctionCommandPopupButton: default_2.NamedExoticComponent<Omit<InsertFunctionCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
612
-
613
- /**
614
- * Menu for quick function sum
615
- */
616
- export declare const InsertFunctionSumCommandPopupButton: default_2.NamedExoticComponent<InsertFunctionSumCommandPopupButtonProps & default_2.RefAttributes<HTMLElement>>;
617
-
618
- export declare interface InsertFunctionSumCommandPopupButtonProps extends CommandButtonOptions {
619
- parentFloat: FloatReference;
620
- commands: ICommands.IGroup;
621
- }
622
-
623
- export declare const InsertImageCommandButton: default_2.NamedExoticComponent<Omit<InsertImageCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
624
-
625
- export declare interface InsertImageCommandButtonProps extends CommandPopupButtonProps {
626
- /**
627
- * If set to `true` only a single menu will be shown instead of a popup if
628
- * only one command is enabled. Useful for adding or removing rows/column on headers.
629
- *
630
- * @remarks
631
- * This is only considered for `MenuButton` Variant.
632
- */
633
- preferSingleMenu?: boolean;
634
- showQuickButton?: boolean;
635
- }
636
-
637
- /**
638
- * Workbook specific attributes beyond HTMLDivElement.
639
- */
640
- export declare interface IWorkbookAttributes {
641
- isWorkbookElement: () => true;
642
- getWorkbook: () => IWorkbook;
643
- getViewportElement: () => HTMLElement;
644
- getSheetElement: () => ISheetElement;
645
- getFormulaBarElement: () => IFormulaBarElement;
646
- }
647
-
648
- /**
649
- * Type returned via ref property
650
- */
651
- export declare interface IWorkbookElement extends HTMLDivElement, IWorkbookAttributes {
652
- }
653
-
654
- /**
655
- * Type returned via ref property
656
- */
657
- export declare interface IWorkbookTitleElement extends HTMLDivElement, WorkbookTitleAttributes {
658
- }
659
-
660
- export { LicenseDetails }
661
-
662
- export { LicenseManager }
663
-
664
- /**
665
- * Menu for merge options
666
- */
667
- export declare const MergeCommandButton: default_2.NamedExoticComponent<Omit<MergeCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
668
-
669
- export declare interface MergeCommandButtonProps extends CommandPopupButtonProps {
670
- }
671
-
672
- declare interface MovableContextMenuProps extends default_2.HTMLAttributes<HTMLDivElement> {
673
- movable: IMovable;
674
- commands?: ICommands.IGroup;
675
- disabled?: boolean;
676
- /**
677
- * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
678
- */
679
- sx?: SxProps<Theme>;
680
- floatReference: FloatReference;
681
- }
682
-
683
- /**
684
- * Editor used for selecting, editing, or removing named ranges.
685
- */
686
- export declare const NamedCollectionEditor: default_2.NamedExoticComponent<Omit<NamedCollectionEditorProps, "ref"> & default_2.RefAttributes<INamedCollectionEditorElement>>;
687
-
688
- export declare interface NamedCollectionEditorAttributes {
689
- }
690
-
691
- export declare interface NamedCollectionEditorProps extends default_2.HTMLAttributes<HTMLDivElement> {
692
- /**
693
- * The named ranges
694
- */
695
- names: INamedCollection;
696
- /**
697
- * The workbook
698
- */
699
- workbook: IWorkbook;
700
- /**
701
- * Returns focus to primary.
702
- * @remarks
703
- * Removes the FloatReference is used.
704
- */
705
- restoreFocus?: (options?: FocusOptions) => void;
706
- /**
707
- * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
708
- */
709
- sx?: SxProps<Theme>;
710
- disabled?: boolean;
711
- readonly?: boolean;
712
- parentFloat?: FloatReference;
713
- propsCommandPopupButton?: CommandPopupButtonProps;
714
- /**
715
- * Reference to the underlying element
716
- */
717
- ref?: default_2.Ref<INamedCollectionEditorElement>;
718
- }
719
-
720
- /**
721
- * NamedItem input field.
722
- */
723
- export declare const NamedInput: default_2.NamedExoticComponent<Omit<NamedInputProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
724
-
725
- export declare interface NamedInputProps extends FormControlProps {
726
- /**
727
- * The current value
728
- */
729
- value?: string;
730
- /**
731
- * INotifier of the value change
732
- */
733
- onChangeInput?: (value: string) => void;
734
- /**
735
- * If exception then throw error.
736
- *
737
- * @param text
738
- */
739
- onValidate?: (text: string) => void;
740
- /**
741
- * A default value.
742
- */
743
- defaultInput?: string;
744
- /**
745
- * If provided will register with react-hook-form.
746
- *
747
- * @remarks
748
- * We don't support changing the formName once rendered.
749
- * @see {@link https://react-hook-form.com}
750
- */
751
- formName?: string;
752
- /**
753
- * React-hook-form options.
754
- * @remarks
755
- * This is only used if formName is provided.
756
- */
757
- formOptions?: RegisterOptions;
758
- /**
759
- * Underling reference to the input element.
760
- */
761
- ref?: default_2.Ref<HTMLDivElement>;
762
- }
763
-
764
- export declare const NumberFormatCommandButton: default_2.NamedExoticComponent<Omit<NumberFormatCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
765
-
766
- export declare interface NumberFormatCommandButtonProps extends CommandPopupButtonProps {
767
- }
768
-
769
- /**
770
- * Menu for paste options
771
- */
772
- export declare const PasteCommandButton: default_2.NamedExoticComponent<Omit<PasteCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
773
-
774
- export declare interface PasteCommandButtonProps extends CommandPopupButtonProps {
775
- command: Command<void>;
776
- /**
777
- * Duplicate the paste all in the popup as well as the quick button
778
- * @defaultValue true
779
- */
780
- includePasteAllInPopup?: boolean;
781
- }
782
-
783
- export declare const PresetCellStylesCommandButton: default_2.NamedExoticComponent<Omit<PresetCellStylesCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
784
-
785
- export declare interface PresetCellStylesCommandButtonProps extends CommandPopupButtonProps {
786
- command: ICommand<IStyle.INamed, CommandContext.NamedStyle>;
787
- /**
788
- * Allow for listeners against a specific buttons execute rather than the command.
789
- *
790
- * @remarks
791
- * Useful when knowing the specific button that executed a command is required.
792
- * (For example when closing menus or restoring focus)
793
- */
794
- commandHook?: ICommandHook<any, any>;
795
- selectedNamed?: IStyle.INamed;
796
- onSelectNamed?: (style: IStyle.INamed) => void;
797
- bodyStyle?: GridSurfaceStyle;
798
- usePreviewIcon?: boolean;
799
- }
800
-
801
- export declare const PresetTableStylesCommandButton: default_2.NamedExoticComponent<Omit<PresetTableStylesCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
802
-
803
- export declare interface PresetTableStylesCommandButtonProps extends CommandPopupButtonProps {
804
- command: ICommand<ITableStyle.StyleOptions, CommandContext.Table>;
805
- /**
806
- * Allow for listeners against a specific buttons execute rather than the command.
807
- *
808
- * @remarks
809
- * Useful when knowing the specific button that executed a command is required.
810
- * (For example when closing menus or restoring focus)
811
- */
812
- commandHook?: ICommandHook<any, any>;
813
- selectedTable?: ITable;
814
- onSelectTableStyleName?: (styleName: string) => void;
815
- bodyStyle?: GridSurfaceStyle;
816
- usePreviewIcon?: boolean;
817
- disabledQuickKey?: boolean;
818
- }
819
-
820
- /**
821
- * Range input field.
822
- */
823
- export declare const RangeInput: default_2.NamedExoticComponent<Omit<RangeInputProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
824
-
825
- export declare interface RangeInputProps extends FormControlProps {
826
- /**
827
- * If provided will be register with react-hook-form.
828
- *
829
- * @remarks
830
- * We don't support changing the formName once rendered.
831
- * @see
832
- * {@link https://react-hook-form.com/}
833
- */
834
- formName?: string;
835
- /**
836
- * React-hook-form options.
837
- *
838
- * @remarks
839
- * Only used if formName is provided.
840
- */
841
- formOptions?: RegisterOptions;
842
- /**
843
- * The current value.
844
- */
845
- value: ICellRanges;
846
- /**
847
- * INotifier of the value change. If unable to parse the Range will notify with `null`.
848
- */
849
- onChangeInput?: (value: ICellRanges | null) => void;
850
- /**
851
- * Required to create ranges.
852
- *
853
- * @param address
854
- */
855
- resolvedAddress: (address: ICellRanges.Address) => ICellRanges;
856
- /**
857
- * Reference to the element.
858
- */
859
- ref?: default_2.Ref<HTMLDivElement>;
860
- }
861
-
862
- export declare interface RequestTitleOptions extends FocusOptions {
863
- selectAll?: boolean;
864
- requestReason?: string;
865
- }
866
-
867
- /**
868
- * By default we will print examples message if dev and eval only
869
- *
870
- * @param forcePrintExamples
871
- * @hidden
872
- */
873
- export declare const setPrintExamplesOnLoad: (forcePrintExamples: boolean) => void;
874
-
875
- /**
876
- * Menu showing all sheets in the workbook.
877
- */
878
- export declare const SheetsAllMenu: default_2.NamedExoticComponent<SheetsAllMenuProps & default_2.RefAttributes<HTMLDivElement>>;
879
-
880
- export declare interface SheetsAllMenuProps extends default_2.HTMLAttributes<HTMLDivElement> {
881
- /**
882
- * The workbook
883
- */
884
- workbook: IWorkbook;
885
- gridStyle?: GridStyle;
886
- /**
887
- * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
888
- */
889
- sx?: SxProps<Theme>;
890
- floatReference: FloatReference;
891
- closeFloatAll: () => void;
892
- }
893
-
894
- /**
895
- * A tab representing a sheet in a workbook.
896
- */
897
- export declare const SheetTab: default_2.NamedExoticComponent<TabProps & default_2.RefAttributes<HTMLElement>>;
898
-
899
- /**
900
- * Menu for sheet tab operations such as renaming, deleting, and coloring.
901
- */
902
- export declare const SheetTabMenu: default_2.NamedExoticComponent<SheetTabMenuProps & default_2.RefAttributes<HTMLDivElement>>;
903
-
904
- export declare interface SheetTabMenuProps extends default_2.HTMLAttributes<HTMLDivElement> {
905
- /**
906
- * The workbook.
907
- */
908
- workbook: IWorkbook;
909
- index: number;
910
- commands: ICommands.IGroup;
911
- scope?: string;
912
- disabled?: boolean;
913
- floatReference: FloatReference;
914
- /**
915
- * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
916
- */
917
- sx?: SxProps<Theme>;
918
- tabStripRef?: TabStripRef;
919
- }
920
-
921
- export declare interface SheetTabProps extends TabProps {
922
- /**
923
- * The sheet
924
- */
925
- sheet: ISheet;
926
- /**
927
- * Allow you to specify a specific material ui theme for the grid.
928
- *
929
- * * @defaultValue - the current Theme.
930
- *
931
- * @remarks
932
- * Useful for decorating the application with a single theme (such as dark mode) but render
933
- * the main grid using a different theme (for example light mode).
934
- */
935
- gridTheme?: Theme;
936
- /**
937
- * The rounded tab radius
938
- */
939
- tabRadius?: number;
940
- }
941
-
942
- export declare const SheetZoomScale: default_2.NamedExoticComponent<Omit<SheetZoomScaleProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
943
-
944
- export declare interface SheetZoomScaleProps extends BoxProps {
945
- /**
946
- * The Sheet
947
- */
948
- sheet: ISheet;
949
- /**
950
- * When dragging slider.
951
- * @defaultValue 220
952
- */
953
- debounceDelay?: number;
954
- }
955
-
956
- export declare const SortFilterCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
957
-
958
- /**
959
- * This show the current cell state as an unstyled editable field.
960
- * This wraps this with material styling and submit and cancel buttons
961
- */
962
- export declare const StatusBar: default_2.NamedExoticComponent<Omit<StatusBarProps, "ref"> & default_2.RefAttributes<StatusBarElement>>;
963
-
964
- export declare interface StatusBarAttributes {
965
- }
966
-
967
- export declare interface StatusBarElement extends HTMLDivElement, StatusBarAttributes {
968
- }
969
-
970
- export declare interface StatusBarItem {
971
- /**
972
- * Use for identifying the item
973
- */
974
- key: string;
975
- createElement(props: BoxProps): default_2.ReactElement;
976
- /**
977
- * If not provided, we will create a default menu item
978
- * @param props
979
- */
980
- createMenuItem?(props: BoxProps): default_2.ReactElement;
981
- /**
982
- * Should we show a divider before this item
983
- */
984
- hasDivider?: boolean;
985
- }
986
-
987
- export declare interface StatusBarProps extends default_2.HTMLAttributes<HTMLDivElement> {
988
- /**
989
- * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
990
- */
991
- sx?: SxProps<Theme>;
992
- /**
993
- * The Sheet.
994
- */
995
- sheet?: ISheet;
996
- gridStyle?: GridStyle;
997
- childrenEnd?: default_2.ReactNode | undefined;
998
- ref?: default_2.Ref<StatusBarElement>;
999
- }
1000
-
1001
- /**
1002
- * Studio
1003
- *
1004
- * Fully featured workbook component.
1005
- * * controlled/uncontrolled workbook
1006
- * * snackbar
1007
- * * export/import to local file system
1008
- * * workbook title
1009
- * * Material-ui theme width light/dark toggle
1010
- * * lazy loading
1011
- *
1012
- * Demo:
1013
- *
1014
- * - [SheetXL](https://storybook.sheetxl.com/?path=/story/studio--workbook-studio)
1015
- *
1016
- * API:
1017
- *
1018
- * - [StudioProps](https://api.sheetxl.com/interfaces/_sheetxl_studio-mui.StudioProps.html)
1019
- * - [IWorkbookElement](https://api.sheetxl.com/interfaces/_sheetxl_studio-mui.IWorkbookElement.html)
1020
- */
1021
- declare const Studio: default_2.NamedExoticComponent<Omit<StudioProps, "ref"> & default_2.RefAttributes<IWorkbookElement>>;
1022
- export { Studio }
1023
- export default Studio;
1024
-
1025
- /**
1026
- * Extends the IWorkbookElement with additional properties for the Studio.
1027
- */
1028
- export declare interface StudioElement extends IWorkbookElement {
1029
- }
1030
-
1031
- /**
1032
- * Properties for the Studio component.
1033
- */
1034
- export declare interface StudioProps extends Omit<WorkbookElementProps, "workbook">, Omit<PaperProps, 'autoFocus' | 'ref'> {
1035
- /**
1036
- * The IWorkbook for the studio.
1037
- *
1038
- * @remarks
1039
- * This can be either an [IWorkbook](./_sheetxl_sdk.IWorkbook.html), a `Promise`
1040
- * that resolves to an [IWorkbook](./_sheetxl_sdk.IWorkbook.html), or
1041
- * a [ReadWorkbookOptions](./_sheetxl_io.ReadWorkbookOptions.html) object to create
1042
- * the workbook from various sources.
1043
- *
1044
- * @see
1045
- * * [IWorkbook](./_sheetxl_sdk.IWorkbook.html)
1046
- * * [ReadWorkbookOptions](./_sheetxl_io.ReadWorkbookOptions.html)
1047
- */
1048
- workbook?: IWorkbook | Promise<IWorkbook> | ReadWorkbookOptions;
1049
- /**
1050
- * Called if the `IWorkbook` changes.
1051
- *
1052
- * @param workbook - The workbook
1053
- */
1054
- onWorkbookChange?: (workbook: IWorkbook) => void;
1055
- /**
1056
- * Called if the workbook model is a promise that fails to load.
1057
- *
1058
- * @param error The error
1059
- */
1060
- onWorkbookError?: (error: any) => void;
1061
- /**
1062
- * Allow for a custom error panel if workbook load error occurs.
1063
- *
1064
- * @defaultValue StackTraceErrorPanel
1065
- */
1066
- renderWorkbookError?: (props: ErrorPanelProps) => React.ReactElement;
1067
- /**
1068
- * Custom logo.
1069
- */
1070
- logo?: React.ReactNode;
1071
- /**
1072
- * Callback for title changes.
1073
- *
1074
- * @param title - The new title.
1075
- */
1076
- onWorkbookTitleChange?: (title: string) => void;
1077
- /**
1078
- * Additional WorkbookTitle properties.
1079
- *
1080
- * @remarks
1081
- * If onTitleChange or title is provided then the prop versions are ignored
1082
- */
1083
- propsWorkbookTitle?: WorkbookTitleProps;
1084
- /**
1085
- * Disable the import export options in the menu.
1086
- */
1087
- importExportDisabled?: boolean;
1088
- /**
1089
- * Studio will inherit the theme unless this is explicitly set.
1090
- *
1091
- * @remarks
1092
- * If this is set then there are two additional options that can be provided:
1093
- * * onModeChange(mode: ThemeMode);
1094
- * * onDarkGridChange(allow: boolean);
1095
- * * onDarkImagesChange(allow: boolean);
1096
- */
1097
- themeOptions?: ThemeModeOptions;
1098
- /**
1099
- * Autofocus on load. If loading multiple workbooks or using an a secondary component this
1100
- * should be set to false.
1101
- *
1102
- * @defaultValue false
1103
- */
1104
- autoFocus?: boolean | FocusOptions;
1105
- /**
1106
- * Allow for a custom undo manager.
1107
- *
1108
- * @defaultValue a new undo manager for each standaloneWorkbook
1109
- */
1110
- undoManager?: UndoManager;
1111
- /**
1112
- * Set the license key via a property
1113
- * @remarks
1114
- * This will only be used the first time.
1115
- */
1116
- licenseKey?: string;
1117
- /**
1118
- * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
1119
- */
1120
- sx?: SxProps<Theme>;
1121
- }
1122
-
1123
- export declare const StyledStrokeIcon: (props: StyledStrokeIconProps) => default_2.ReactElement;
1124
-
1125
- export declare interface StyledStrokeIconProps extends SvgIconProps {
1126
- styleColor?: IColor;
1127
- length: number;
1128
- width?: number;
1129
- dashArray?: number[];
1130
- isDouble?: boolean;
1131
- isAngled?: boolean;
1132
- darkMode?: boolean;
1133
- }
1134
-
1135
- declare interface SwatchProps extends default_2.HTMLAttributes<HTMLElement> {
1136
- selectedColor: IColor;
1137
- onSelectColor?: (color: IColor.ISpace.RGBA) => void;
1138
- onPreviewColor?: (color: IColor.ISpace.RGBA) => void;
1139
- alphaWhite?: string;
1140
- alphaGrey?: string;
1141
- alphaCheckSize?: number;
1142
- darkMode?: boolean;
1143
- }
1144
-
1145
- /**
1146
- * TODO
1147
- * - save last searches (up/down arrow to navigate) (in preferences/workbook?)
1148
- * - later add indexing so we can do real-time search and count
1149
- */
1150
- export declare const TableDetailsPanel: default_2.NamedExoticComponent<TableDetailsPanelProps & default_2.RefAttributes<HTMLDivElement>>;
1151
-
1152
- export declare interface TableDetailsPanelProps extends default_2.HTMLAttributes<HTMLDivElement> {
1153
- command?: ICommand<ITable, CommandContext.Table>;
1154
- commands: ICommands.IGroup;
1155
- context?: CommandContext.Table;
1156
- }
1157
-
1158
- export declare const TableDetailsTaskPane: (props: TaskPaneProps, ref: React.Ref<HTMLDivElement>) => JSX.Element;
1159
-
1160
- export declare const TablePlugin: () => void;
1161
-
1162
- /**
1163
- * This is a way to canvas based TableStylePreview. It has a simple rendering but is lightweight.
1164
- */
1165
- export declare const TableStyleCanvasPreview: default_2.NamedExoticComponent<Omit<TableStyleCanvasPreviewProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
1166
-
1167
- export declare interface TableStyleCanvasPreviewProps extends default_2.HTMLAttributes<HTMLDivElement> {
1168
- table: ITable;
1169
- tableStyle: ITableStyle;
1170
- styles: IStyleCollection;
1171
- bodyStyle: GridSurfaceStyle;
1172
- disabled?: boolean;
1173
- /**
1174
- * If provided then this context will be used.
1175
- */
1176
- canvas?: HTMLCanvasElement;
1177
- /**
1178
- * Reference to the element.
1179
- */
1180
- ref?: default_2.Ref<HTMLDivElement>;
1181
- }
1182
-
1183
- export declare type TableStyleOptionsAttribute = {
1184
- ref?: default_2.Ref<TableStyleOptionsElement>;
1185
- };
1186
-
1187
- export declare interface TableStyleOptionsAttributes {
1188
- }
1189
-
1190
- /**
1191
- * Type returned via ref property
1192
- */
1193
- export declare interface TableStyleOptionsElement extends TableStyleOptionsAttributes, HTMLElement {
1194
- }
1195
-
1196
- /**
1197
- * Shows options with tables.
1198
- * TODO - We will later also have the options as commands.
1199
- */
1200
- export declare const TableStyleOptionsPanel: default_2.NamedExoticComponent<TableStyleOptionsPanelProps & default_2.RefAttributes<TableStyleOptionsElement>>;
1201
-
1202
- /**
1203
- * This is a panel that is used to configure options for a table.
1204
- */
1205
- export declare interface TableStyleOptionsPanelProps extends default_2.HTMLAttributes<HTMLElement> {
1206
- /**
1207
- * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
1208
- */
1209
- sx?: SxProps<Theme>;
1210
- styleOptions: ITableStyle.StyleOptions;
1211
- showHeaderRow?: boolean;
1212
- showTotalRow?: boolean;
1213
- showFilterButton?: boolean;
1214
- onStyleOptionsChange?: (options: ITableStyle.StyleOptions) => void;
1215
- onShowHeaderRowChange?: (showHeaderRow: boolean) => void;
1216
- onShowTotalRowChange?: (showTotalRow: boolean) => void;
1217
- onShowFilterButtonChange?: (showFilterButton: boolean) => void;
1218
- disabled?: boolean;
1219
- }
1220
-
1221
- /**
1222
- * Component for rendering tableStyle previews.
1223
- * This uses an html table and the TableStyle renderer.
1224
- *
1225
- * It has the ability to render borders and fills
1226
- * with the their styles.
1227
- * @remarks
1228
- * This is intended to be used for the table options pane but is currently not in use.
1229
- */
1230
- export declare const TableStylePreview: default_2.NamedExoticComponent<Omit<TableStylePreviewProps, "ref"> & default_2.RefAttributes<unknown>>;
1231
-
1232
- export declare interface TableStylePreviewProps extends BoxProps {
1233
- /** Required */
1234
- styles: IStyleCollection;
1235
- /**
1236
- * The table to render. If not provided then then a default table will be used.
1237
- */
1238
- table?: ITable;
1239
- /**
1240
- * Allows for table Style to be overwritten.
1241
- */
1242
- tableStyle?: ITableStyle;
1243
- bodyStyle: GridSurfaceStyle;
1244
- disabled?: boolean;
1245
- /**
1246
- * If `true` then the border will be forced to be thin.
1247
- *
1248
- * @remarks
1249
- * Useful for small thumbnails and mimics Excel.
1250
- */
1251
- forceThinBorder?: boolean;
1252
- /**
1253
- * if `true` then listers will be added to track table changes.
1254
- */
1255
- isLive?: boolean;
1256
- /**
1257
- * Change the default width of the rendered table.
1258
- * @defaultValue `10`
1259
- */
1260
- cellHeight?: number;
1261
- }
1262
-
1263
- /**
1264
- * Menu for text effects options
1265
- */
1266
- export declare const TextEffectsCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
1267
-
1268
- export declare const TextOverflowCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
1269
-
1270
- export declare const TextRotateCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
1271
-
1272
- export declare const ThemeSelectButton: default_2.FC<ThemeSelectButtonProps>;
1273
-
1274
- export declare interface ThemeSelectButtonProps extends ExhibitIconButtonProps {
1275
- docTheme: ITheme;
1276
- onSelectTheme: (theme: ITheme) => void;
1277
- /**
1278
- * Determines if the button is selected or not
1279
- * @defaultValue false
1280
- *
1281
- */
1282
- isSelected?: boolean;
1283
- /**
1284
- * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
1285
- */
1286
- sx?: SxProps<Theme>;
1287
- outlined?: boolean;
1288
- darkMode?: boolean;
1289
- }
1290
-
1291
- export declare const ThemeSelectPanel: default_2.FC<ThemeSelectPanelProps>;
1292
-
1293
- export declare interface ThemeSelectPanelProps extends default_2.HTMLAttributes<HTMLElement> {
1294
- themes: IThemeCollection;
1295
- selectedTheme: ITheme;
1296
- onSelectTheme: (docTheme: ITheme) => void;
1297
- /**
1298
- * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
1299
- */
1300
- sx?: SxProps<Theme>;
1301
- disabled?: boolean;
1302
- darkMode?: boolean;
1303
- }
1304
-
1305
- export declare const ThemeSelectPopupButton: default_2.NamedExoticComponent<Omit<ThemeSelectPopupButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
1306
-
1307
- export declare interface ThemeSelectPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "createPopupPanel"> {
1308
- themes: IThemeCollection;
1309
- selectedTheme?: ITheme;
1310
- onSelectTheme?: (docTheme: ITheme) => void;
1311
- icon?: default_2.ReactNode;
1312
- label?: default_2.ReactNode;
1313
- /**
1314
- * Rendering styles
1315
- * @defaultValue to Toolbar
1316
- */
1317
- variant?: PopupButtonType;
1318
- propsPanel?: Partial<ThemeSelectPanelProps>;
1319
- darkMode?: boolean;
1320
- /**
1321
- * Ref to the underlying element
1322
- */
1323
- ref?: default_2.Ref<HTMLElement>;
1324
- }
1325
-
1326
- /**
1327
- * Menu for underline options
1328
- */
1329
- export declare const UnderlineCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
1330
-
1331
- export declare const UndoRedoCommandButton: default_2.NamedExoticComponent<Omit<UndoRedoCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
1332
-
1333
- export declare interface UndoRedoCommandButtonProps extends CommandPopupButtonProps {
1334
- quickCommand?: string;
1335
- undoManager?: UndoManager;
1336
- /**
1337
- * If true will show redo instead of undo and change text accordingly
1338
- */
1339
- isRedo?: boolean;
1340
- nestRedo?: boolean;
1341
- }
1342
-
1343
- export { useModelListener }
1344
-
1345
- export { useRangeListener }
1346
-
1347
- /**
1348
- * Hook for observing workbook commands. This hook will observe a combination
1349
- * of workbook events and an options selection.
1350
-
1351
- * Continue to review until we have them all.
1352
- * https://support.microsoft.com/en-us/office/keyboard-shortcuts-in-excel-1798d9d5-842a-42b8-9c99-9b7213f0040f
1353
- * https://www.excelcampus.com/shortcuts/#:~:text=For%20example%2C%20to%20press%20the,Then%20release%20all%20keys.
1354
- *
1355
- *
1356
- * F6 - Move focus through primary workbook elements (we can implement this by check each workbook element and moving through)
1357
- * F8 - Extend Selection
1358
- * F10 - Move focus to toolbar
1359
- * F11 - Insert chart as a new tab
1360
- *
1361
- */
1362
- export declare const useWorkbookCommands: (props: useWorkbookCommandsOptions) => ICommands.IGroup;
1363
-
1364
- export declare interface useWorkbookCommandsOptions {
1365
- /**
1366
- * The workbook model.
1367
- */
1368
- workbook: IWorkbook;
1369
- /**
1370
- * The workbookElement. Only used for toggling fullscreen.
1371
- */
1372
- workbookElement: IWorkbookElement;
1373
- target: ICommands.ITarget | (() => ICommands.ITarget);
1374
- commands: ICommands.IGroup;
1375
- onExecute?: () => void;
1376
- /**
1377
- * Whether dark mode is enabled.
1378
- */
1379
- darkMode?: boolean;
1380
- }
1381
-
1382
- export declare const VerticalAlignCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
1383
-
1384
- /**
1385
- * Menu for gridline options
1386
- */
1387
- export declare const ViewGridLinesCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
1388
-
1389
- /**
1390
- * Menu for heading options
1391
- */
1392
- export declare const ViewHeadingsCommandButton: default_2.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & default_2.RefAttributes<HTMLElement>>;
1393
-
1394
- export declare const WalkingCopyCommandButton: default_2.FC<WalkingCopyCommandButtonProps>;
1395
-
1396
- export declare interface WalkingCopyCommandButtonProps extends CommandButtonProps {
1397
- }
1398
-
1399
- export declare const WorkbookContextMenu: default_2.FC<WorkbookContextMenuProps>;
1400
-
1401
- export declare interface WorkbookContextMenuProps extends default_2.HTMLAttributes<HTMLDivElement> {
1402
- /**
1403
- * The workbook,
1404
- */
1405
- workbook: IWorkbook;
1406
- commands?: ICommands.IGroup;
1407
- disabled?: boolean;
1408
- /**
1409
- * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
1410
- */
1411
- sx?: SxProps<Theme>;
1412
- floatReference: FloatReference;
1413
- }
1414
-
1415
- /**
1416
- * The main component for rendering a workbook.
1417
- */
1418
- export declare const WorkbookElement: default_2.NamedExoticComponent<Omit<WorkbookElementProps, "ref"> & default_2.RefAttributes<IWorkbookElement>>;
1419
-
1420
- /**
1421
- * Properties and methods available on the workbook element.
1422
- */
1423
- export declare interface WorkbookElementProps extends Omit<default_2.HTMLAttributes<HTMLDivElement>, 'autoFocus'> {
1424
- /**
1425
- * A memory model of the workbook.
1426
- * If one is not provided a default workbook model will be used.
1427
- * This can be accessed via the workbook ref.
1428
- */
1429
- workbook?: IWorkbook;
1430
- /**
1431
- * Callback for when the workbook is loaded. Useful for hiding/showing
1432
- * loading panels.
1433
- */
1434
- onElementLoad?: (event: WorkbookLoadEvent) => void | Promise<void>;
1435
- /**
1436
- * Additional commands provided by application.
1437
- */
1438
- commands?: ICommands.IGroup;
1439
- /**
1440
- * Notify that there is a new repeatable command.
1441
- */
1442
- onRepeatCommandChange?: (command: ICommand<any, any>) => void;
1443
- /**
1444
- * Indicate if the formulaBar should be showing.
1445
- * @defaultValue 'workbook model but can be overridden'
1446
- */
1447
- showFormulaBar?: boolean;
1448
- /**
1449
- * Allow for customizations on FormulaBar.
1450
- */
1451
- propsFormulaBar?: FormulaBarProps;
1452
- /**
1453
- * Render FormulaBar.
1454
- *
1455
- * @param props The properties for the FormulaBar.
1456
- * @returns A React Element representing the FormulaBar.
1457
- */
1458
- renderFormulaBar?: (props: FormulaBarProps) => default_2.ReactElement;
1459
- /**
1460
- * This doesn't influence # of tabs just the visibility of the widget.
1461
- * @defaultValue 'workbook model but can be overridden'
1462
- */
1463
- showTabs?: boolean;
1464
- /**
1465
- * Allow for customizations on tabs.
1466
- */
1467
- propsTabs?: WorkbookStripProps;
1468
- /**
1469
- * Render custom tabs.
1470
- * @param props
1471
- * @returns A React Element representing the Tabs for the WorkbookStrip.
1472
- */
1473
- renderTabs?: (props: WorkbookStripProps) => default_2.ReactElement;
1474
- /**
1475
- * Shows the statusbar.
1476
- * @defaultValue 'workbook model but can be overridden'
1477
- */
1478
- showStatusBar?: boolean;
1479
- /**
1480
- * Customizations for the status bar
1481
- */
1482
- propsStatusBar?: StatusBarProps;
1483
- /**
1484
- * Pass in a custom statusbar.
1485
- *
1486
- * @param props
1487
- * @returns A React Element representing the StatusBar.
1488
- */
1489
- renderStatusBar?: (props: StatusBarProps) => default_2.ReactElement;
1490
- /**
1491
- * Props for the toolbar.
1492
- */
1493
- propsToolbar?: WorkbookToolbarsProps;
1494
- /**
1495
- * Pass in a custom toolbar.
1496
- * @param props
1497
- * @returns A React Element representing the Toolbar.
1498
- */
1499
- renderToolbar?: (props: WorkbookToolbarsProps) => default_2.ReactElement;
1500
- /**
1501
- * Props for the context menu.
1502
- */
1503
- propsContextMenu?: WorkbookContextMenuProps;
1504
- /**
1505
- * Render custom context menu.
1506
- * @param props
1507
- * @returns A React Element representing the ContextMenu.
1508
- */
1509
- renderContextMenu?: (props: WorkbookContextMenuProps) => default_2.ReactElement;
1510
- /**
1511
- * Render custom filter menu.
1512
- *
1513
- * @param props
1514
- * @returns A React Element representing the FilterMenu.
1515
- */
1516
- renderFilterMenu?: (props: FilterColumnMenuProps) => default_2.ReactElement;
1517
- /**
1518
- * Render custom movable menu.
1519
- *
1520
- * @param props
1521
- * @returns A React Element representing the MovableMenu.
1522
- */
1523
- renderMovableMenu?: (props: MovableContextMenuProps) => default_2.ReactElement;
1524
- /**
1525
- * Allow for customizations on loading panels.
1526
- */
1527
- propsLoading?: LoadingPanelProps;
1528
- /**
1529
- * Assign a custom loading panel.
1530
- *
1531
- * @returns A React Element representing the LoadingPane.
1532
- */
1533
- renderLoading?: (props: LoadingPanelProps) => default_2.ReactElement;
1534
- /**
1535
- * Allow for customizations on loading panel.
1536
- */
1537
- propsSheet?: SheetProps;
1538
- /**
1539
- * Render custom ISheetElement.
1540
- *
1541
- * @param props
1542
- * @returns A React Element representing the Sheet.
1543
- */
1544
- renderSheet?: (props: SheetProps) => default_2.ReactElement;
1545
- /**
1546
- * Allows users to Wrap stage children in Top level Context
1547
- */
1548
- wrapperMain?: (children: default_2.ReactNode) => default_2.ReactElement;
1549
- /**
1550
- * Show the horizontal scrollbar
1551
- */
1552
- showHorizontalScrollbar?: boolean;
1553
- /**
1554
- * Show the vertical scrollbar
1555
- */
1556
- showVerticalScrollbar?: boolean;
1557
- /**
1558
- * Will autofocus to the sheet.
1559
- * @defaultValue false
1560
- */
1561
- autoFocus?: boolean | FocusOptions;
1562
- /**
1563
- * Allow you to specify a specific material ui theme for the grid.
1564
- *
1565
- * * @defaultValue - The current Theme.
1566
- *
1567
- * @remarks
1568
- * Useful for decorating the application with a single theme (such as dark mode) but render
1569
- * the main grid using a different theme (for example light mode).
1570
- */
1571
- gridTheme?: Theme;
1572
- /**
1573
- * Allow you to specify a specific material ui theme for the headers.
1574
- *
1575
- * * @defaultValue - The grid theme.
1576
- */
1577
- headersTheme?: Theme;
1578
- /**
1579
- * If dark theme then the images will invert unless true.
1580
- *
1581
- * @defaultValue false
1582
- */
1583
- enableDarkImages?: boolean;
1584
- /**
1585
- * Ref for the workbook element
1586
- */
1587
- ref?: default_2.Ref<IWorkbookElement>;
1588
- }
1589
-
1590
- /**
1591
- * A Singleton instance that lazy wraps '@sheetxl/io/WorkbookIO'.
1592
- */
1593
- export declare const WorkbookIO: _WorkbookIO;
1594
-
1595
- /* Excluded from this release type: _WorkbookIO */
1596
-
1597
- export declare type WorkbookLoadEvent = {
1598
- source: IWorkbookElement;
1599
- };
1600
-
1601
- export declare const WorkbookStrip: default_2.NamedExoticComponent<WorkbookStripProps & default_2.RefAttributes<HTMLElement>>;
1602
-
1603
- /**
1604
- * Tab strip that operates on IWorkbook
1605
- */
1606
- export declare interface WorkbookStripProps extends default_2.HTMLAttributes<HTMLDivElement> {
1607
- commands?: ICommands.IGroup;
1608
- /**
1609
- * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
1610
- */
1611
- sx?: SxProps<Theme>;
1612
- /**
1613
- * The workbook
1614
- */
1615
- workbook?: IWorkbook;
1616
- /**
1617
- * If true, the tab strip is disabled
1618
- * @defaultValue false
1619
- */
1620
- disabled?: boolean;
1621
- /**
1622
- * If true then the tab strips can not be modified but can still be selected.
1623
- *
1624
- * @defaultValue !models.getProtection().isStructureAllowed()
1625
- * @remarks
1626
- * This can be set to `true` but if models.getProtection().isStructureAllowed() is `false`
1627
- * then `false` is ignored.
1628
- */
1629
- readOnly?: boolean;
1630
- /**
1631
- * Allow for customizations on context menu
1632
- */
1633
- propsContextMenu?: Partial<SheetTabMenuProps>;
1634
- /**
1635
- * Render custom context menu.
1636
- *
1637
- * @param props
1638
- * @returns A React Element representing the ContextMenu.
1639
- */
1640
- renderContextMenu?: (props: SheetTabMenuProps) => default_2.ReactElement;
1641
- /**
1642
- * Allow for customizations on context menu
1643
- */
1644
- propsSheetsAll?: SheetsAllMenuProps;
1645
- /**
1646
- * Render custom sheet all menu.
1647
- *
1648
- * @param props
1649
- * @returns A React Element representing the SheetAllMenu.
1650
- */
1651
- renderSheetsAll?: (props: SheetsAllMenuProps) => default_2.ReactElement;
1652
- /**
1653
- * Allow for customizations om sheet tabs.
1654
- */
1655
- propsSheetTab?: Partial<SheetTabProps>;
1656
- /**
1657
- * Render custom sheet tabs.
1658
- * @param props
1659
- * @returns A React Element representing a Tab for a Sheet.
1660
- */
1661
- renderSheetTab?: (props: SheetTabProps) => default_2.ReactElement;
1662
- /**
1663
- * Called when the user has initiated a change to the active tab
1664
- * but before it has been rendered. This allows for
1665
- * cleanup events or a chance to cancel the change by
1666
- * returning false.
1667
- * @param index
1668
- */
1669
- onBeforeUserChange?(index: number): boolean | void;
1670
- /**
1671
- * Called after the tab has been changed.
1672
- * @param index
1673
- */
1674
- onUserChange?(index: number): void;
1675
- background?: string;
1676
- borderColor?: string;
1677
- borderWidth?: number;
1678
- gridTheme?: Theme;
1679
- gridStyle?: GridStyle;
1680
- }
1681
-
1682
- export declare const WorkbookTitle: default_2.NamedExoticComponent<Omit<WorkbookTitleProps, "ref"> & default_2.RefAttributes<IWorkbookTitleElement>>;
1683
-
1684
- export declare interface WorkbookTitleAttributes {
1685
- /**
1686
- * Request focus with a callback that will be called on blur.
1687
- *
1688
- * @param onAccept - Callback when the user's focus leaves the title element after a request focus for a title.
1689
- */
1690
- requestWorkbookTitle: (onAccept?: (title: string, commitReason: string) => void, options?: RequestTitleOptions) => void;
1691
- /**
1692
- * Called when application wants to focus the workbook title.
1693
- * @param options - `FocusOptions`
1694
- */
1695
- focus: (options?: FocusOptions) => void;
1696
- }
1697
-
1698
- export declare interface WorkbookTitleProps extends default_2.HTMLAttributes<HTMLDivElement> {
1699
- /**
1700
- * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
1701
- */
1702
- sx?: SxProps<Theme>;
1703
- workbook?: IWorkbookElement;
1704
- title?: string;
1705
- onTitleChange?: (newTitle: string | null) => void;
1706
- /**
1707
- * Text to show if no values
1708
- * @defaultValue 'Untitled'
1709
- */
1710
- placeHolder?: string;
1711
- /**
1712
- * If true the title will not be editable
1713
- * @defaultValue false
1714
- */
1715
- readOnly?: boolean;
1716
- /**
1717
- * @defaultValue false
1718
- */
1719
- hidden?: boolean;
1720
- /**
1721
- * Ref for the IWorkbookTitleElement
1722
- */
1723
- ref?: default_2.Ref<IWorkbookTitleElement>;
1724
- }
1725
-
1726
- declare interface WorkbookToolbarsProps extends default_2.HTMLAttributes<HTMLDivElement> {
1727
- commands: ICommands.IGroup;
1728
- /**
1729
- * Wrap the select with custom component.
1730
- *
1731
- * @param children
1732
- */
1733
- wrapperSelect?: (children: default_2.ReactNode) => default_2.ReactNode;
1734
- /**
1735
- * Properties for the select
1736
- */
1737
- propsSelect?: SxProps;
1738
- /**
1739
- * If we need to render compact.
1740
- */
1741
- isCompact?: boolean;
1742
- /**
1743
- * Wrap the palette with custom component.
1744
- *
1745
- * @param children
1746
- */
1747
- wrapperPalette?: (children: default_2.ReactNode) => default_2.ReactNode;
1748
- propsPalette?: PaperProps;
1749
- propsToolbars?: Record<string, ToolbarProps>;
1750
- workbook?: IWorkbookElement;
1751
- /**
1752
- * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
1753
- */
1754
- sx?: SxProps;
1755
- }
1756
-
1757
- export declare const WorkbookViewCommandButton: default_2.NamedExoticComponent<Omit<WorkbookViewCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
1758
-
1759
- export declare interface WorkbookViewCommandButtonProps extends CommandPopupButtonProps {
1760
- }
1761
-
1762
- export { }
1
+ export * from './src/index'
2
+ export {}