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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (493) hide show
  1. package/README.md +2 -2
  2. package/browser/cjs/BQJKf40kttQWOzLw.cjs +20 -0
  3. package/browser/cjs/BTZ5uzK0wHzpiZGC.cjs +1 -0
  4. package/browser/cjs/B_D3JKseVvpRyX-E.cjs +1 -0
  5. package/browser/cjs/BeKpqOx8It0RD0Rf.cjs +2 -0
  6. package/browser/cjs/Bj-EvSYeDfqmU0V6.cjs +2 -0
  7. package/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +1 -0
  8. package/browser/cjs/ByIEqNsvj52sihT9.cjs +5 -0
  9. package/browser/cjs/C3moehR3VOd0LnmM.cjs +1 -0
  10. package/browser/cjs/C97KHSuikAbr1qVM.cjs +1 -0
  11. package/browser/cjs/CJLwX_A3y3TQUmzj.cjs +1 -0
  12. package/browser/cjs/CPSc2VSYZeZ1B9mi.cjs +1 -0
  13. package/browser/cjs/CPcBvw4ZPwHVTUZF.cjs +1 -0
  14. package/browser/cjs/CZm1jVZaHQ246prW.cjs +1 -0
  15. package/browser/cjs/CdDYyAfccXme8w6m.cjs +1 -0
  16. package/browser/cjs/Cpr3LpTBt3SSArSw.cjs +7 -0
  17. package/browser/cjs/DBJLJGiCGXesx5n6.cjs +1 -0
  18. package/browser/cjs/DEaHGn2Rbgcj_fbR.cjs +11 -0
  19. package/browser/cjs/Djsiad0Qha1Y-YaS.cjs +1 -0
  20. package/browser/cjs/IASAYG6qgv7lJY7y.cjs +1 -0
  21. package/browser/cjs/KZvriGbhEOVkQD0b.cjs +1 -0
  22. package/browser/cjs/UnMhi28mbvLiOXQe.cjs +1 -0
  23. package/browser/cjs/Vbigo0kFP3PFfmeA.cjs +1 -0
  24. package/browser/cjs/iMWEL01eC83oU-YY.cjs +1 -0
  25. package/browser/cjs/index.cjs +2 -7
  26. package/browser/cjs/w2GjebPlOFv3pCbm.cjs +1 -0
  27. package/browser/cjs/zQsyZpeXAvcVXJMs.cjs +1 -0
  28. package/browser/esm/B-2XwThOta_tt8BT.mjs +612 -0
  29. package/browser/esm/B8qmg9lVcO1_FX1t.mjs +508 -0
  30. package/browser/esm/BBwrhUtlLbuFQ67J.mjs +5398 -0
  31. package/browser/esm/BkcTkK4tR4b-px3e.mjs +42 -0
  32. package/browser/esm/BvQKaacvx0Q4evfJ.mjs +99 -0
  33. package/browser/esm/C9GBv4ZkH2P6xOGI.mjs +2207 -0
  34. package/browser/esm/C9MY76RbJdvrNOgK.mjs +411 -0
  35. package/browser/esm/CCiAWSm5lQALhezl.mjs +82 -0
  36. package/browser/esm/CGcdue-1rj_uOLLO.mjs +47 -0
  37. package/browser/esm/CPR9Jpd8zfoZUwWE.mjs +113 -0
  38. package/browser/esm/CkocGozEYIwcmc-x.mjs +105 -0
  39. package/browser/esm/D3E3Pf2O3BHV0mYQ.mjs +52 -0
  40. package/browser/esm/DNv3-zAolc7Scol_.mjs +129 -0
  41. package/browser/esm/DRCKGFtIKBxmTaJW.mjs +191 -0
  42. package/browser/esm/Ddp-16AGwwlZkglN.mjs +219 -0
  43. package/browser/esm/Ft9o24lP0MNgSqIB.mjs +1376 -0
  44. package/browser/esm/IIP2sN_X3kztI92r.mjs +155 -0
  45. package/browser/esm/WSDlFfjApTM0cJ4V.mjs +468 -0
  46. package/browser/esm/dfnya7tN7P1UeVvc.mjs +516 -0
  47. package/browser/esm/dhuC1s94dyRTzxgk.mjs +8869 -0
  48. package/browser/esm/eL50tJKtsxKJk7-6.mjs +217 -0
  49. package/browser/esm/index.mjs +152 -91
  50. package/browser/esm/suPpQTgd0X3baAFS.mjs +20 -0
  51. package/browser/esm/zRDngVAuXekzPZuz.mjs +1150 -0
  52. package/licenses/dependencies.txt +133 -623
  53. package/node/esm/0FcokH6jWYoKKyvJ.mjs +155 -0
  54. package/node/esm/BUqFn97L8YiLtWbW.mjs +129 -0
  55. package/node/esm/CH7ZFM-RHFeeCuff.mjs +82 -0
  56. package/node/esm/CghsKfVdQBikiGJk.mjs +679 -0
  57. package/node/esm/Cv3xawSybVla_gE-.mjs +47 -0
  58. package/node/esm/CwSCTBxawz0-VqW9.mjs +99 -0
  59. package/node/esm/D70ZQyxt_JcDRn7d.mjs +516 -0
  60. package/node/esm/DJnr-2wytqQ57aiM.mjs +4543 -0
  61. package/node/esm/DMDanrARYHWYLx37.mjs +190 -0
  62. package/node/esm/DMtIfyV60BcLQkTD.mjs +470 -0
  63. package/node/esm/DNJmWZomszXCkDx7.mjs +106 -0
  64. package/node/esm/DNkUDrpOmhF_vVDS.mjs +509 -0
  65. package/node/esm/DZG5Pd01dM-dgS3n.mjs +113 -0
  66. package/node/esm/index.mjs +10594 -2831
  67. package/package.json +27 -27
  68. package/resources/contents.json +30 -0
  69. package/resources/locales/contents.json +44 -0
  70. package/resources/locales/de/groups.cmd.json +219 -0
  71. package/resources/locales/de/studio.cmd.json +159 -0
  72. package/resources/locales/de/ui.msg.json +507 -0
  73. package/resources/locales/en/groups.cmd.json +219 -0
  74. package/resources/locales/en/studio.cmd.json +159 -0
  75. package/resources/locales/en/ui.msg.json +508 -0
  76. package/types/index.d.ts +2 -1762
  77. package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +131 -0
  78. package/types/src/anchorItems/AnchorItemsDescriptor.d.ts.map +1 -0
  79. package/types/src/anchorItems/AnchorItemsPanel.d.ts +29 -0
  80. package/types/src/anchorItems/AnchorItemsPanel.d.ts.map +1 -0
  81. package/types/src/anchorItems/index.d.ts +3 -0
  82. package/types/src/anchorItems/index.d.ts.map +1 -0
  83. package/types/src/border/BorderPopupButton.d.ts +30 -0
  84. package/types/src/border/BorderPopupButton.d.ts.map +1 -0
  85. package/types/src/border/BorderStylePopupButton.d.ts +40 -0
  86. package/types/src/border/BorderStylePopupButton.d.ts.map +1 -0
  87. package/types/src/border/index.d.ts +3 -0
  88. package/types/src/border/index.d.ts.map +1 -0
  89. package/types/src/chart/command/InsertChartCommandButton.d.ts +10 -0
  90. package/types/src/chart/command/InsertChartCommandButton.d.ts.map +1 -0
  91. package/types/src/chart/command/index.d.ts +2 -0
  92. package/types/src/chart/command/index.d.ts.map +1 -0
  93. package/types/src/color/Alpha.d.ts +36 -0
  94. package/types/src/color/Alpha.d.ts.map +1 -0
  95. package/types/src/color/Checkboard.d.ts +11 -0
  96. package/types/src/color/Checkboard.d.ts.map +1 -0
  97. package/types/src/color/CheckboardUtils.d.ts +3 -0
  98. package/types/src/color/CheckboardUtils.d.ts.map +1 -0
  99. package/types/src/color/ColorButton.d.ts +21 -0
  100. package/types/src/color/ColorButton.d.ts.map +1 -0
  101. package/types/src/color/ColorButtonList.d.ts +17 -0
  102. package/types/src/color/ColorButtonList.d.ts.map +1 -0
  103. package/types/src/color/ColorPanel.d.ts +71 -0
  104. package/types/src/color/ColorPanel.d.ts.map +1 -0
  105. package/types/src/color/ColorPopupButton.d.ts +29 -0
  106. package/types/src/color/ColorPopupButton.d.ts.map +1 -0
  107. package/types/src/color/CustomColorPanel.d.ts +16 -0
  108. package/types/src/color/CustomColorPanel.d.ts.map +1 -0
  109. package/types/src/color/EditableInput.d.ts +22 -0
  110. package/types/src/color/EditableInput.d.ts.map +1 -0
  111. package/types/src/color/Hue.d.ts +29 -0
  112. package/types/src/color/Hue.d.ts.map +1 -0
  113. package/types/src/color/Saturation.d.ts +45 -0
  114. package/types/src/color/Saturation.d.ts.map +1 -0
  115. package/types/src/color/SketchFields.d.ts +9 -0
  116. package/types/src/color/SketchFields.d.ts.map +1 -0
  117. package/types/src/color/Swatch.d.ts +16 -0
  118. package/types/src/color/Swatch.d.ts.map +1 -0
  119. package/types/src/color/Types.d.ts +11 -0
  120. package/types/src/color/Types.d.ts.map +1 -0
  121. package/types/src/color/_Utils.d.ts +4 -0
  122. package/types/src/color/_Utils.d.ts.map +1 -0
  123. package/types/src/color/index.d.ts +7 -0
  124. package/types/src/color/index.d.ts.map +1 -0
  125. package/types/src/command/AccountingStyleCommandButton.d.ts +18 -0
  126. package/types/src/command/AccountingStyleCommandButton.d.ts.map +1 -0
  127. package/types/src/command/AppearanceCommandButton.d.ts +3 -0
  128. package/types/src/command/AppearanceCommandButton.d.ts.map +1 -0
  129. package/types/src/command/BorderCommandButton.d.ts +20 -0
  130. package/types/src/command/BorderCommandButton.d.ts.map +1 -0
  131. package/types/src/command/ColorCommandButton.d.ts +23 -0
  132. package/types/src/command/ColorCommandButton.d.ts.map +1 -0
  133. package/types/src/command/DocThemeCommandButton.d.ts +19 -0
  134. package/types/src/command/DocThemeCommandButton.d.ts.map +1 -0
  135. package/types/src/command/FileCommandButton.d.ts +8 -0
  136. package/types/src/command/FileCommandButton.d.ts.map +1 -0
  137. package/types/src/command/FontFamilyCommandButton.d.ts +9 -0
  138. package/types/src/command/FontFamilyCommandButton.d.ts.map +1 -0
  139. package/types/src/command/FontSizeCommandButton.d.ts +21 -0
  140. package/types/src/command/FontSizeCommandButton.d.ts.map +1 -0
  141. package/types/src/command/InsertFunctionCommandPopupButton.d.ts +9 -0
  142. package/types/src/command/InsertFunctionCommandPopupButton.d.ts.map +1 -0
  143. package/types/src/command/InsertFunctionSumCommandPopupButton.d.ts +8 -0
  144. package/types/src/command/InsertFunctionSumCommandPopupButton.d.ts.map +1 -0
  145. package/types/src/command/LanguageCommandButton.d.ts +19 -0
  146. package/types/src/command/LanguageCommandButton.d.ts.map +1 -0
  147. package/types/src/command/LocaleCommandButton.d.ts +17 -0
  148. package/types/src/command/LocaleCommandButton.d.ts.map +1 -0
  149. package/types/src/command/NumberFormatCommandButton.d.ts +6 -0
  150. package/types/src/command/NumberFormatCommandButton.d.ts.map +1 -0
  151. package/types/src/command/PasteCommandButton.d.ts +14 -0
  152. package/types/src/command/PasteCommandButton.d.ts.map +1 -0
  153. package/types/src/command/PresetCellStylesCommandButton.d.ts +11 -0
  154. package/types/src/command/PresetCellStylesCommandButton.d.ts.map +1 -0
  155. package/types/src/command/PresetTableStylesCommandButton.d.ts +12 -0
  156. package/types/src/command/PresetTableStylesCommandButton.d.ts.map +1 -0
  157. package/types/src/command/RegisterCatalog.d.ts +3 -0
  158. package/types/src/command/RegisterCatalog.d.ts.map +1 -0
  159. package/types/src/command/SheetCommandGroups.d.ts +10 -0
  160. package/types/src/command/SheetCommandGroups.d.ts.map +1 -0
  161. package/types/src/command/SheetZoomCommandButton.d.ts +9 -0
  162. package/types/src/command/SheetZoomCommandButton.d.ts.map +1 -0
  163. package/types/src/command/StudioCommandGroups.d.ts +11 -0
  164. package/types/src/command/StudioCommandGroups.d.ts.map +1 -0
  165. package/types/src/command/TextEffectsCommandButton.d.ts +6 -0
  166. package/types/src/command/TextEffectsCommandButton.d.ts.map +1 -0
  167. package/types/src/command/TextRotateGroupButton.d.ts +14 -0
  168. package/types/src/command/TextRotateGroupButton.d.ts.map +1 -0
  169. package/types/src/command/UndoRedoCommandButton.d.ts +14 -0
  170. package/types/src/command/UndoRedoCommandButton.d.ts.map +1 -0
  171. package/types/src/command/WalkingCopyCommandButton.d.ts +6 -0
  172. package/types/src/command/WalkingCopyCommandButton.d.ts.map +1 -0
  173. package/types/src/command/WorkbookCommandGroups.d.ts +11 -0
  174. package/types/src/command/WorkbookCommandGroups.d.ts.map +1 -0
  175. package/types/src/command/index.d.ts +23 -0
  176. package/types/src/command/index.d.ts.map +1 -0
  177. package/types/src/conditionalFormat/ColorScaleRulePanel.d.ts +18 -0
  178. package/types/src/conditionalFormat/ColorScaleRulePanel.d.ts.map +1 -0
  179. package/types/src/conditionalFormat/ConditionalFormatDetailsPanel.d.ts +23 -0
  180. package/types/src/conditionalFormat/ConditionalFormatDetailsPanel.d.ts.map +1 -0
  181. package/types/src/conditionalFormat/ConditionalFormatDetailsTaskPane.d.ts +4 -0
  182. package/types/src/conditionalFormat/ConditionalFormatDetailsTaskPane.d.ts.map +1 -0
  183. package/types/src/conditionalFormat/ConditionalFormatEditorPanel.d.ts +20 -0
  184. package/types/src/conditionalFormat/ConditionalFormatEditorPanel.d.ts.map +1 -0
  185. package/types/src/conditionalFormat/ConditionalFormatPlugin.d.ts +2 -0
  186. package/types/src/conditionalFormat/ConditionalFormatPlugin.d.ts.map +1 -0
  187. package/types/src/conditionalFormat/ConditionalFormatRangeField.d.ts +32 -0
  188. package/types/src/conditionalFormat/ConditionalFormatRangeField.d.ts.map +1 -0
  189. package/types/src/conditionalFormat/ConditionalFormatStylePicker.d.ts +34 -0
  190. package/types/src/conditionalFormat/ConditionalFormatStylePicker.d.ts.map +1 -0
  191. package/types/src/conditionalFormat/ConditionalFormatTitle.d.ts +10 -0
  192. package/types/src/conditionalFormat/ConditionalFormatTitle.d.ts.map +1 -0
  193. package/types/src/conditionalFormat/DataBarRulePanel.d.ts +23 -0
  194. package/types/src/conditionalFormat/DataBarRulePanel.d.ts.map +1 -0
  195. package/types/src/conditionalFormat/IconSetRulePanel.d.ts +23 -0
  196. package/types/src/conditionalFormat/IconSetRulePanel.d.ts.map +1 -0
  197. package/types/src/conditionalFormat/PresetChip.d.ts +17 -0
  198. package/types/src/conditionalFormat/PresetChip.d.ts.map +1 -0
  199. package/types/src/conditionalFormat/PresetScalesCommandButton.d.ts +20 -0
  200. package/types/src/conditionalFormat/PresetScalesCommandButton.d.ts.map +1 -0
  201. package/types/src/conditionalFormat/RulePreview.d.ts +23 -0
  202. package/types/src/conditionalFormat/RulePreview.d.ts.map +1 -0
  203. package/types/src/conditionalFormat/RuleSection.d.ts +20 -0
  204. package/types/src/conditionalFormat/RuleSection.d.ts.map +1 -0
  205. package/types/src/conditionalFormat/ScaleMiniGrid.d.ts +59 -0
  206. package/types/src/conditionalFormat/ScaleMiniGrid.d.ts.map +1 -0
  207. package/types/src/conditionalFormat/ScaleStopRow.d.ts +34 -0
  208. package/types/src/conditionalFormat/ScaleStopRow.d.ts.map +1 -0
  209. package/types/src/conditionalFormat/index.d.ts +3 -0
  210. package/types/src/conditionalFormat/index.d.ts.map +1 -0
  211. package/types/src/conditionalFormat/previewColor.d.ts +50 -0
  212. package/types/src/conditionalFormat/previewColor.d.ts.map +1 -0
  213. package/types/src/conditions/AverageOption.d.ts +25 -0
  214. package/types/src/conditions/AverageOption.d.ts.map +1 -0
  215. package/types/src/conditions/BetweenOption.d.ts +25 -0
  216. package/types/src/conditions/BetweenOption.d.ts.map +1 -0
  217. package/types/src/conditions/BooleanOption.d.ts +24 -0
  218. package/types/src/conditions/BooleanOption.d.ts.map +1 -0
  219. package/types/src/conditions/CombinatorOption.d.ts +41 -0
  220. package/types/src/conditions/CombinatorOption.d.ts.map +1 -0
  221. package/types/src/conditions/ConditionEditor.d.ts +57 -0
  222. package/types/src/conditions/ConditionEditor.d.ts.map +1 -0
  223. package/types/src/conditions/ConditionUtils.d.ts +83 -0
  224. package/types/src/conditions/ConditionUtils.d.ts.map +1 -0
  225. package/types/src/conditions/DateTimeOption.d.ts +43 -0
  226. package/types/src/conditions/DateTimeOption.d.ts.map +1 -0
  227. package/types/src/conditions/ExpressionOption.d.ts +26 -0
  228. package/types/src/conditions/ExpressionOption.d.ts.map +1 -0
  229. package/types/src/conditions/InSetOption.d.ts +37 -0
  230. package/types/src/conditions/InSetOption.d.ts.map +1 -0
  231. package/types/src/conditions/NumberOption.d.ts +24 -0
  232. package/types/src/conditions/NumberOption.d.ts.map +1 -0
  233. package/types/src/conditions/OperatorAndParamEditor.d.ts +55 -0
  234. package/types/src/conditions/OperatorAndParamEditor.d.ts.map +1 -0
  235. package/types/src/conditions/OperatorSelect.d.ts +35 -0
  236. package/types/src/conditions/OperatorSelect.d.ts.map +1 -0
  237. package/types/src/conditions/OperatorSelectPopupButton.d.ts +39 -0
  238. package/types/src/conditions/OperatorSelectPopupButton.d.ts.map +1 -0
  239. package/types/src/conditions/ScalarOption.d.ts +29 -0
  240. package/types/src/conditions/ScalarOption.d.ts.map +1 -0
  241. package/types/src/conditions/SelectorSelect.d.ts +43 -0
  242. package/types/src/conditions/SelectorSelect.d.ts.map +1 -0
  243. package/types/src/conditions/StringOption.d.ts +24 -0
  244. package/types/src/conditions/StringOption.d.ts.map +1 -0
  245. package/types/src/conditions/TimePeriodOption.d.ts +25 -0
  246. package/types/src/conditions/TimePeriodOption.d.ts.map +1 -0
  247. package/types/src/conditions/TopNOption.d.ts +25 -0
  248. package/types/src/conditions/TopNOption.d.ts.map +1 -0
  249. package/types/src/conditions/index.d.ts +13 -0
  250. package/types/src/conditions/index.d.ts.map +1 -0
  251. package/types/src/dataValidation/DataValidationDetailsPanel.d.ts +16 -0
  252. package/types/src/dataValidation/DataValidationDetailsPanel.d.ts.map +1 -0
  253. package/types/src/dataValidation/DataValidationDetailsTaskPane.d.ts +3 -0
  254. package/types/src/dataValidation/DataValidationDetailsTaskPane.d.ts.map +1 -0
  255. package/types/src/dataValidation/DataValidationEditorPanel.d.ts +12 -0
  256. package/types/src/dataValidation/DataValidationEditorPanel.d.ts.map +1 -0
  257. package/types/src/dataValidation/DataValidationPlugin.d.ts +2 -0
  258. package/types/src/dataValidation/DataValidationPlugin.d.ts.map +1 -0
  259. package/types/src/dataValidation/index.d.ts +2 -0
  260. package/types/src/dataValidation/index.d.ts.map +1 -0
  261. package/types/src/debug/DebugUtils.d.ts +4 -0
  262. package/types/src/debug/DebugUtils.d.ts.map +1 -0
  263. package/types/src/debug/index.d.ts +2 -0
  264. package/types/src/debug/index.d.ts.map +1 -0
  265. package/types/src/dialog/CommentsDialog.d.ts +11 -0
  266. package/types/src/dialog/CommentsDialog.d.ts.map +1 -0
  267. package/types/src/dialog/FindReplaceWindow.d.ts +13 -0
  268. package/types/src/dialog/FindReplaceWindow.d.ts.map +1 -0
  269. package/types/src/dialog/HyperlinkDialog.d.ts +28 -0
  270. package/types/src/dialog/HyperlinkDialog.d.ts.map +1 -0
  271. package/types/src/dialog/InsertFunctionDialog.d.ts +25 -0
  272. package/types/src/dialog/InsertFunctionDialog.d.ts.map +1 -0
  273. package/types/src/dialog/NamedReferenceDialog.d.ts +17 -0
  274. package/types/src/dialog/NamedReferenceDialog.d.ts.map +1 -0
  275. package/types/src/dialog/NumberFormatDialog.d.ts +12 -0
  276. package/types/src/dialog/NumberFormatDialog.d.ts.map +1 -0
  277. package/types/src/dialog/ResizeHeaderDialog.d.ts +15 -0
  278. package/types/src/dialog/ResizeHeaderDialog.d.ts.map +1 -0
  279. package/types/src/dialog/ShortcutKeysDialog.d.ts +9 -0
  280. package/types/src/dialog/ShortcutKeysDialog.d.ts.map +1 -0
  281. package/types/src/dialog/ShortcutKeysPanel.d.ts +28 -0
  282. package/types/src/dialog/ShortcutKeysPanel.d.ts.map +1 -0
  283. package/types/src/dialog/SortDialog.d.ts +9 -0
  284. package/types/src/dialog/SortDialog.d.ts.map +1 -0
  285. package/types/src/dialog/TableNewDialog.d.ts +14 -0
  286. package/types/src/dialog/TableNewDialog.d.ts.map +1 -0
  287. package/types/src/dialog/WorkbookStatisticsDialog.d.ts +13 -0
  288. package/types/src/dialog/WorkbookStatisticsDialog.d.ts.map +1 -0
  289. package/types/src/dialog/index.d.ts +10 -0
  290. package/types/src/dialog/index.d.ts.map +1 -0
  291. package/types/src/filter/ColumnMenu.d.ts +13 -0
  292. package/types/src/filter/ColumnMenu.d.ts.map +1 -0
  293. package/types/src/filter/FilterList.d.ts +28 -0
  294. package/types/src/filter/FilterList.d.ts.map +1 -0
  295. package/types/src/filter/index.d.ts +3 -0
  296. package/types/src/filter/index.d.ts.map +1 -0
  297. package/types/src/form/FormulaField.d.ts +221 -0
  298. package/types/src/form/FormulaField.d.ts.map +1 -0
  299. package/types/src/form/InputField.d.ts +89 -0
  300. package/types/src/form/InputField.d.ts.map +1 -0
  301. package/types/src/form/index.d.ts +3 -0
  302. package/types/src/form/index.d.ts.map +1 -0
  303. package/types/src/formulaBar/FormulaBar.d.ts +8 -0
  304. package/types/src/formulaBar/FormulaBar.d.ts.map +1 -0
  305. package/types/src/formulaBar/IFormulaBar.d.ts +51 -0
  306. package/types/src/formulaBar/IFormulaBar.d.ts.map +1 -0
  307. package/types/src/formulaBar/index.d.ts +3 -0
  308. package/types/src/formulaBar/index.d.ts.map +1 -0
  309. package/types/src/function/FunctionArgumentsPanel.d.ts +57 -0
  310. package/types/src/function/FunctionArgumentsPanel.d.ts.map +1 -0
  311. package/types/src/function/FunctionSearchPanel.d.ts +35 -0
  312. package/types/src/function/FunctionSearchPanel.d.ts.map +1 -0
  313. package/types/src/function/InsertFunctionWizard.d.ts +79 -0
  314. package/types/src/function/InsertFunctionWizard.d.ts.map +1 -0
  315. package/types/src/function/index.d.ts +4 -0
  316. package/types/src/function/index.d.ts.map +1 -0
  317. package/types/src/function/paneMetrics.d.ts +33 -0
  318. package/types/src/function/paneMetrics.d.ts.map +1 -0
  319. package/types/src/index.d.ts +21 -0
  320. package/types/src/index.d.ts.map +1 -0
  321. package/types/src/itemsPanel/EditorPanel.d.ts +21 -0
  322. package/types/src/itemsPanel/EditorPanel.d.ts.map +1 -0
  323. package/types/src/itemsPanel/ItemCard.d.ts +57 -0
  324. package/types/src/itemsPanel/ItemCard.d.ts.map +1 -0
  325. package/types/src/itemsPanel/ItemsDescriptor.d.ts +215 -0
  326. package/types/src/itemsPanel/ItemsDescriptor.d.ts.map +1 -0
  327. package/types/src/itemsPanel/ItemsPanel.d.ts +45 -0
  328. package/types/src/itemsPanel/ItemsPanel.d.ts.map +1 -0
  329. package/types/src/itemsPanel/SortableCards.d.ts +67 -0
  330. package/types/src/itemsPanel/SortableCards.d.ts.map +1 -0
  331. package/types/src/itemsPanel/index.d.ts +6 -0
  332. package/types/src/itemsPanel/index.d.ts.map +1 -0
  333. package/types/src/movable/MovableContextMenu.d.ts +13 -0
  334. package/types/src/movable/MovableContextMenu.d.ts.map +1 -0
  335. package/types/src/movable/index.d.ts +2 -0
  336. package/types/src/movable/index.d.ts.map +1 -0
  337. package/types/src/named/INamedCollectionEditor.d.ts +37 -0
  338. package/types/src/named/INamedCollectionEditor.d.ts.map +1 -0
  339. package/types/src/named/NamedCollectionEditor.d.ts +7 -0
  340. package/types/src/named/NamedCollectionEditor.d.ts.map +1 -0
  341. package/types/src/named/NamedDetailsPanel.d.ts +11 -0
  342. package/types/src/named/NamedDetailsPanel.d.ts.map +1 -0
  343. package/types/src/named/NamedDetailsTaskPane.d.ts +3 -0
  344. package/types/src/named/NamedDetailsTaskPane.d.ts.map +1 -0
  345. package/types/src/named/NamedDraft.d.ts +68 -0
  346. package/types/src/named/NamedDraft.d.ts.map +1 -0
  347. package/types/src/named/NamedEditorPanel.d.ts +19 -0
  348. package/types/src/named/NamedEditorPanel.d.ts.map +1 -0
  349. package/types/src/named/NamedPlugin.d.ts +2 -0
  350. package/types/src/named/NamedPlugin.d.ts.map +1 -0
  351. package/types/src/named/index.d.ts +8 -0
  352. package/types/src/named/index.d.ts.map +1 -0
  353. package/types/src/numberFormat/NumberFormatPanel.d.ts +29 -0
  354. package/types/src/numberFormat/NumberFormatPanel.d.ts.map +1 -0
  355. package/types/src/numberFormat/NumberFormatTaskPane.d.ts +12 -0
  356. package/types/src/numberFormat/NumberFormatTaskPane.d.ts.map +1 -0
  357. package/types/src/numberFormat/index.d.ts +8 -0
  358. package/types/src/numberFormat/index.d.ts.map +1 -0
  359. package/types/src/protectedRange/ProtectedRangeDetailsPanel.d.ts +20 -0
  360. package/types/src/protectedRange/ProtectedRangeDetailsPanel.d.ts.map +1 -0
  361. package/types/src/protectedRange/ProtectedRangeDetailsTaskPane.d.ts +3 -0
  362. package/types/src/protectedRange/ProtectedRangeDetailsTaskPane.d.ts.map +1 -0
  363. package/types/src/protectedRange/ProtectedRangeEditorPanel.d.ts +27 -0
  364. package/types/src/protectedRange/ProtectedRangeEditorPanel.d.ts.map +1 -0
  365. package/types/src/protectedRange/ProtectedRangePlugin.d.ts +2 -0
  366. package/types/src/protectedRange/ProtectedRangePlugin.d.ts.map +1 -0
  367. package/types/src/protectedRange/index.d.ts +2 -0
  368. package/types/src/protectedRange/index.d.ts.map +1 -0
  369. package/types/src/protection/WorkbookProtectionDialog.d.ts +23 -0
  370. package/types/src/protection/WorkbookProtectionDialog.d.ts.map +1 -0
  371. package/types/src/protection/WorkbookProtectionPanel.d.ts +51 -0
  372. package/types/src/protection/WorkbookProtectionPanel.d.ts.map +1 -0
  373. package/types/src/protection/index.d.ts +3 -0
  374. package/types/src/protection/index.d.ts.map +1 -0
  375. package/types/src/sheet/SheetTabMenu.d.ts +21 -0
  376. package/types/src/sheet/SheetTabMenu.d.ts.map +1 -0
  377. package/types/src/sheet/SheetsAllMenu.d.ts +16 -0
  378. package/types/src/sheet/SheetsAllMenu.d.ts.map +1 -0
  379. package/types/src/sheet/index.d.ts +3 -0
  380. package/types/src/sheet/index.d.ts.map +1 -0
  381. package/types/src/statusBar/NumberStats.d.ts +27 -0
  382. package/types/src/statusBar/NumberStats.d.ts.map +1 -0
  383. package/types/src/statusBar/SheetZoomScale.d.ts +11 -0
  384. package/types/src/statusBar/SheetZoomScale.d.ts.map +1 -0
  385. package/types/src/statusBar/StatusBar.d.ts +35 -0
  386. package/types/src/statusBar/StatusBar.d.ts.map +1 -0
  387. package/types/src/statusBar/index.d.ts +4 -0
  388. package/types/src/statusBar/index.d.ts.map +1 -0
  389. package/types/src/studio/CommandsWrapper.d.ts +36 -0
  390. package/types/src/studio/CommandsWrapper.d.ts.map +1 -0
  391. package/types/src/studio/DefaultLogo.d.ts +3 -0
  392. package/types/src/studio/DefaultLogo.d.ts.map +1 -0
  393. package/types/src/studio/EagerStudio.d.ts +5 -0
  394. package/types/src/studio/EagerStudio.d.ts.map +1 -0
  395. package/types/src/studio/Studio.d.ts +26 -0
  396. package/types/src/studio/Studio.d.ts.map +1 -0
  397. package/types/src/studio/StudioCommandProvider.d.ts +26 -0
  398. package/types/src/studio/StudioCommandProvider.d.ts.map +1 -0
  399. package/types/src/studio/StudioCommands.d.ts +115 -0
  400. package/types/src/studio/StudioCommands.d.ts.map +1 -0
  401. package/types/src/studio/StudioNotifierProvider.d.ts +10 -0
  402. package/types/src/studio/StudioNotifierProvider.d.ts.map +1 -0
  403. package/types/src/studio/StudioProps.d.ts +372 -0
  404. package/types/src/studio/StudioProps.d.ts.map +1 -0
  405. package/types/src/studio/StudioSplitPane.d.ts +60 -0
  406. package/types/src/studio/StudioSplitPane.d.ts.map +1 -0
  407. package/types/src/studio/StudioTaskPaneArea.d.ts +8 -0
  408. package/types/src/studio/StudioTaskPaneArea.d.ts.map +1 -0
  409. package/types/src/studio/StudioToolbar.d.ts +37 -0
  410. package/types/src/studio/StudioToolbar.d.ts.map +1 -0
  411. package/types/src/studio/index.d.ts +4 -0
  412. package/types/src/studio/index.d.ts.map +1 -0
  413. package/types/src/studio/useStudioApp.d.ts +51 -0
  414. package/types/src/studio/useStudioApp.d.ts.map +1 -0
  415. package/types/src/table/TableDetailsPanel.d.ts +17 -0
  416. package/types/src/table/TableDetailsPanel.d.ts.map +1 -0
  417. package/types/src/table/TableDetailsTaskPane.d.ts +3 -0
  418. package/types/src/table/TableDetailsTaskPane.d.ts.map +1 -0
  419. package/types/src/table/TablePlugin.d.ts +2 -0
  420. package/types/src/table/TablePlugin.d.ts.map +1 -0
  421. package/types/src/table/TableStyleCanvasPreview.d.ts +21 -0
  422. package/types/src/table/TableStyleCanvasPreview.d.ts.map +1 -0
  423. package/types/src/table/TableStyleOptionsPanel.d.ts +38 -0
  424. package/types/src/table/TableStyleOptionsPanel.d.ts.map +1 -0
  425. package/types/src/table/TableStylePreview.d.ts +43 -0
  426. package/types/src/table/TableStylePreview.d.ts.map +1 -0
  427. package/types/src/table/index.d.ts +7 -0
  428. package/types/src/table/index.d.ts.map +1 -0
  429. package/types/src/theme/ThemeSelectButton.d.ts +23 -0
  430. package/types/src/theme/ThemeSelectButton.d.ts.map +1 -0
  431. package/types/src/theme/ThemeSelectPanel.d.ts +17 -0
  432. package/types/src/theme/ThemeSelectPanel.d.ts.map +1 -0
  433. package/types/src/theme/ThemeSelectPopupButton.d.ts +24 -0
  434. package/types/src/theme/ThemeSelectPopupButton.d.ts.map +1 -0
  435. package/types/src/theme/ThemeUtils.d.ts +57 -0
  436. package/types/src/theme/ThemeUtils.d.ts.map +1 -0
  437. package/types/src/theme/index.d.ts +5 -0
  438. package/types/src/theme/index.d.ts.map +1 -0
  439. package/types/src/toast/ToastError.d.ts +10 -0
  440. package/types/src/toast/ToastError.d.ts.map +1 -0
  441. package/types/src/toast/index.d.ts +2 -0
  442. package/types/src/toast/index.d.ts.map +1 -0
  443. package/types/src/toolbar/WorkbookToolbars.d.ts +46 -0
  444. package/types/src/toolbar/WorkbookToolbars.d.ts.map +1 -0
  445. package/types/src/toolbar/index.d.ts +2 -0
  446. package/types/src/toolbar/index.d.ts.map +1 -0
  447. package/types/src/workbook/DefaultRenderers.d.ts +23 -0
  448. package/types/src/workbook/DefaultRenderers.d.ts.map +1 -0
  449. package/types/src/workbook/DocumentTitle.d.ts +69 -0
  450. package/types/src/workbook/DocumentTitle.d.ts.map +1 -0
  451. package/types/src/workbook/WorkbookContextMenu.d.ts +13 -0
  452. package/types/src/workbook/WorkbookContextMenu.d.ts.map +1 -0
  453. package/types/src/workbook/WorkbookElement.d.ts +12 -0
  454. package/types/src/workbook/WorkbookElement.d.ts.map +1 -0
  455. package/types/src/workbook/WorkbookStrip.d.ts +37 -0
  456. package/types/src/workbook/WorkbookStrip.d.ts.map +1 -0
  457. package/types/src/workbook/index.d.ts +7 -0
  458. package/types/src/workbook/index.d.ts.map +1 -0
  459. package/browser/cjs/7uRpnSJkNHg_E-KO.cjs +0 -6
  460. package/browser/cjs/B-O26BvbKDImp7pm.cjs +0 -20
  461. package/browser/cjs/B4j_sdzJNzq1ZPbT.cjs +0 -6
  462. package/browser/cjs/BWS4gFWp8lDPvR9C.cjs +0 -6
  463. package/browser/cjs/CmSwD6NZAHhOcRi3.cjs +0 -6
  464. package/browser/cjs/DHwhTAQeNs4slttB.cjs +0 -6
  465. package/browser/cjs/DMOT_ixtKqRvPULq.cjs +0 -6
  466. package/browser/cjs/DX5ji_lT0Qlqznv7.cjs +0 -42
  467. package/browser/cjs/DbqHWelIXc-F2a9N.cjs +0 -6
  468. package/browser/cjs/muTJOFrCXh156rjc.cjs +0 -6
  469. package/browser/cjs/rIy1Cx7HX-8zaQjY.cjs +0 -18
  470. package/browser/cjs/saPH3d5fE-ugXp6m.cjs +0 -7
  471. package/browser/esm/0D8VtNalLeBTB51a.mjs +0 -640
  472. package/browser/esm/BMo7K5LaD7zuDVg9.mjs +0 -2159
  473. package/browser/esm/BNmwaUWz2DJqWumP.mjs +0 -25
  474. package/browser/esm/Btt4G85L5v01eySb.mjs +0 -46
  475. package/browser/esm/C7jHdVMf6Yr4eH_B.mjs +0 -50
  476. package/browser/esm/CROTe62QHFVo8YMt.mjs +0 -155
  477. package/browser/esm/D5XNYGaC4Yw6vCRL.mjs +0 -54
  478. package/browser/esm/DUzVAMWTrS0u37LX.mjs +0 -2411
  479. package/browser/esm/DltuoFr9A-WJccbV.mjs +0 -26
  480. package/browser/esm/DtifaYF85GrfJ9_1.mjs +0 -50
  481. package/browser/esm/aUkJls9HzxnrZSof.mjs +0 -53
  482. package/browser/esm/mqkuG-TcLS4nn4x0.mjs +0 -4531
  483. package/node/assets/style.css +0 -1
  484. package/node/esm/BYjJIMFsheqJcsEI.mjs +0 -57
  485. package/node/esm/CACqTiBtxYlo1mu7.mjs +0 -26
  486. package/node/esm/CJU8jJhxtR3PEj2I.mjs +0 -52
  487. package/node/esm/CS0OWM24rZpAGRKU.mjs +0 -50
  488. package/node/esm/CdUceTAldsMTIFnD.mjs +0 -53
  489. package/node/esm/D6B7z_d11sd-U1fU.mjs +0 -46
  490. package/node/esm/DCngEQG4um0yTeoj.mjs +0 -91
  491. package/node/esm/DQnCFz2zJgMwLou_.mjs +0 -88
  492. package/node/esm/Do7ts-uMkQANfvhq.mjs +0 -156
  493. package/node/esm/oYh6joioOWhFd_R3.mjs +0 -25
@@ -0,0 +1,51 @@
1
+ import { IWorkbook, IWorkbookIO } from '@sheetxl/sdk';
2
+ import { WindowChromeOptions } from '@sheetxl/react';
3
+ /**
4
+ * What the studio should open. An {@link IWorkbook} / `Promise` / {@link IWorkbookIO.ReadOptions} /
5
+ * source string. When omitted, the `?source` (and `?title`) URL query is used, else a blank
6
+ * workbook is created.
7
+ */
8
+ export type StudioAppSource = IWorkbook | Promise<IWorkbook> | IWorkbookIO.ReadOptions | string;
9
+ export interface StudioAppOptions extends WindowChromeOptions {
10
+ /**
11
+ * What to open. If omitted, the `?source` / `?title` URL query is read, else a blank workbook is
12
+ * created. See {@link StudioAppSource}.
13
+ */
14
+ source?: StudioAppSource;
15
+ }
16
+ /**
17
+ * The props {@link useStudioApp} returns for spreading onto `<Studio>`.
18
+ */
19
+ export interface StudioAppProps {
20
+ /** The studio's value object — pass straight to `<Studio workbook={…} />`. */
21
+ workbook?: IWorkbook | Promise<IWorkbook> | IWorkbookIO.ReadOptions;
22
+ /** Tracks the studio's live workbook (so the window chrome follows in-app opens). */
23
+ onWorkbookChange: (workbook: IWorkbook | null) => void;
24
+ /** Tracks the unsaved-changes flag (drives the title marker + close prompt). */
25
+ onDirtyChange: (isDirty: boolean) => void;
26
+ }
27
+ /**
28
+ * Single-call setup for a single-per-window **Studio** app: resolves what to open (an explicit
29
+ * {@link StudioAppOptions.source}, the `?source` URL query, or a blank workbook) and manages the
30
+ * window chrome — document/tab title (with an unsaved `●` marker), an unsaved-changes close prompt,
31
+ * and a browser keyboard guard.
32
+ *
33
+ * @returns props to spread onto `<Studio>` — `workbook` (the value to open) plus the
34
+ * `onWorkbookChange` / `onDirtyChange` callbacks the studio fires as it opens/replaces workbooks,
35
+ * so the chrome follows.
36
+ *
37
+ * @remarks
38
+ * Studio owns the workbook lifecycle (resolve, Open/replace, save, dirty tracking) and reports the
39
+ * live workbook + dirty flag via the callbacks; this hook holds them only to drive the window
40
+ * chrome (the workbook itself carries its name/origin). For apps that own the whole window — NOT
41
+ * for embedding `Studio` as a widget (which must not touch the window title / `beforeunload` of
42
+ * its host).
43
+ *
44
+ * @example
45
+ * ```tsx
46
+ * const studioApp = useStudioApp(); // reads ?source, else a blank workbook
47
+ * return <Studio {...studioApp} />;
48
+ * ```
49
+ */
50
+ export declare const useStudioApp: (options?: StudioAppOptions) => StudioAppProps;
51
+ //# sourceMappingURL=useStudioApp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useStudioApp.d.ts","sourceRoot":"","sources":["../../../../src/studio/useStudioApp.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhE,OAAO,EACmD,KAAK,mBAAmB,EACjF,MAAM,gBAAgB,CAAC;AAExB;;;;GAIG;AACH,MAAM,MAAM,eAAe,GACvB,SAAS,GACT,OAAO,CAAC,SAAS,CAAC,GAClB,WAAW,CAAC,WAAW,GACvB,MAAM,CAAC;AAEX,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB;IAC3D;;;OAGG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,GAAG,WAAW,CAAC,WAAW,CAAC;IACpE,qFAAqF;IACrF,gBAAgB,EAAE,CAAC,QAAQ,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC;IACvD,gFAAgF;IAChF,aAAa,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3C;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,YAAY,GAAI,UAAS,gBAAqB,KAAG,cAuC7D,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { default as React } from 'react';
2
+ import { ITable, IStyleCollection, INamedCollection } from '@sheetxl/sdk';
3
+ export interface TableDetailsPanelProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ table: ITable;
5
+ getStyles: () => IStyleCollection;
6
+ /**
7
+ * Need so that we can add the table to the names.
8
+ */
9
+ getNames: () => INamedCollection;
10
+ }
11
+ /**
12
+ * TODO
13
+ * - save last searches (up/down arrow to navigate) (in preferences/workbook?)
14
+ * - later add indexing so we can do real-time search and count
15
+ */
16
+ export declare const TableDetailsPanel: React.NamedExoticComponent<TableDetailsPanelProps & React.RefAttributes<HTMLDivElement>>;
17
+ //# sourceMappingURL=TableDetailsPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableDetailsPanel.d.ts","sourceRoot":"","sources":["../../../../src/table/TableDetailsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,OAAO,EACL,KAAK,MAAM,EAAuC,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAC/F,MAAM,cAAc,CAAC;AAkBtB,MAAM,WAAW,sBAAuB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAElF,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,gBAAgB,CAAC;IAClC;;OAEG;IACH,QAAQ,EAAE,MAAM,gBAAgB,CAAC;CAGlC;AAED;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,0FAkU3B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TaskPaneProps } from '@sheetxl/react';
2
+ export declare const TableDetailsTaskPane: (props: TaskPaneProps) => import("react").JSX.Element;
3
+ //# sourceMappingURL=TableDetailsTaskPane.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableDetailsTaskPane.d.ts","sourceRoot":"","sources":["../../../../src/table/TableDetailsTaskPane.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAQpD,eAAO,MAAM,oBAAoB,GAAI,OAAO,aAAa,gCAoDxD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const TablePlugin: () => void;
2
+ //# sourceMappingURL=TablePlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TablePlugin.d.ts","sourceRoot":"","sources":["../../../../src/table/TablePlugin.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,WAAW,YAmBvB,CAAA"}
@@ -0,0 +1,21 @@
1
+ import { default as React } from 'react';
2
+ import { ITable, IStyleCollection, ITableStyle } from '@sheetxl/sdk';
3
+ export interface TableStyleCanvasPreviewProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ table: ITable;
5
+ tableStyle: ITableStyle;
6
+ styles: IStyleCollection;
7
+ disabled?: boolean;
8
+ /**
9
+ * If provided then this context will be used.
10
+ */
11
+ canvas?: HTMLCanvasElement;
12
+ /**
13
+ * Reference to the element.
14
+ */
15
+ ref?: React.Ref<HTMLDivElement>;
16
+ }
17
+ /**
18
+ * This is a way to canvas based TableStylePreview. It has a simple rendering but is lightweight.
19
+ */
20
+ export declare const TableStyleCanvasPreview: React.NamedExoticComponent<Omit<TableStyleCanvasPreviewProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
21
+ //# sourceMappingURL=TableStyleCanvasPreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableStyleCanvasPreview.d.ts","sourceRoot":"","sources":["../../../../src/table/TableStyleCanvasPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EACS,KAAK,MAAM,EAAE,KAAK,gBAAgB,EAAE,KAAK,WAAW,EACnE,MAAM,cAAc,CAAC;AAUtB,MAAM,WAAW,4BAA6B,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACxF,KAAK,EAAE,MAAM,CAAC;IAEd,UAAU,EAAE,WAAW,CAAC;IACxB,MAAM,EAAE,gBAAgB,CAAC;IAEzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;CACjC;AAyBD;;GAEG;AACH,eAAO,MAAM,uBAAuB,6GAwLjC,CAAC"}
@@ -0,0 +1,38 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps } from '@mui/system';
3
+ import { Theme } from '@mui/material';
4
+ import { ITableStyle } from '@sheetxl/sdk';
5
+ /**
6
+ * This is a panel that is used to configure options for a table.
7
+ */
8
+ export interface TableStyleOptionsPanelProps extends React.HTMLAttributes<HTMLElement> {
9
+ /**
10
+ * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
11
+ */
12
+ sx?: SxProps<Theme>;
13
+ styleOptions: ITableStyle.StyleOptions;
14
+ showHeaderRow?: boolean;
15
+ showTotalRow?: boolean;
16
+ showButton?: boolean;
17
+ onStyleOptionsChange?: (options: ITableStyle.StyleOptions) => void;
18
+ onShowHeaderRowChange?: (showHeaderRow: boolean) => void;
19
+ onShowTotalRowChange?: (showTotalRow: boolean) => void;
20
+ onShowButtonChange?: (showButton: boolean) => void;
21
+ disabled?: boolean;
22
+ }
23
+ export interface TableStyleOptionsAttributes {
24
+ }
25
+ /**
26
+ * Type returned via ref property
27
+ */
28
+ export interface TableStyleOptionsElement extends TableStyleOptionsAttributes, HTMLElement {
29
+ }
30
+ export type TableStyleOptionsAttribute = {
31
+ ref?: React.Ref<TableStyleOptionsElement>;
32
+ };
33
+ /**
34
+ * Shows options with tables.
35
+ * TODO - We will later also have the options as commands.
36
+ */
37
+ export declare const TableStyleOptionsPanel: React.NamedExoticComponent<TableStyleOptionsPanelProps & React.RefAttributes<TableStyleOptionsElement>>;
38
+ //# sourceMappingURL=TableStyleOptionsPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableStyleOptionsPanel.d.ts","sourceRoot":"","sources":["../../../../src/table/TableStyleOptionsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,eAAe,CAAC;AAK3C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAQhD;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACpF;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IAEpB,YAAY,EAAE,WAAW,CAAC,YAAY,CAAC;IAEvC,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,oBAAoB,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,CAAC,YAAY,KAAK,IAAI,CAAC;IAEnE,qBAAqB,CAAC,EAAE,CAAC,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC;IAEzD,oBAAoB,CAAC,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK,IAAI,CAAC;IAEvD,kBAAkB,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IAEnD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,2BAA2B;CAE3C;AACD;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,2BAA2B,EAAE,WAAW;CAAG;AAE7F,MAAM,MAAM,0BAA0B,GAAG;IACvC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC;CAC3C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,yGAkKhC,CAAC"}
@@ -0,0 +1,43 @@
1
+ import { default as React } from 'react';
2
+ import { BoxProps } from '@mui/material';
3
+ import { ITable, ITableStyle, IStyleCollection } from '@sheetxl/sdk';
4
+ export interface TableStylePreviewProps extends BoxProps {
5
+ /** Required */
6
+ styles: IStyleCollection;
7
+ /**
8
+ * The table to render. If not provided then then a default table will be used.
9
+ */
10
+ table?: ITable;
11
+ /**
12
+ * Allows for table Style to be overwritten.
13
+ */
14
+ tableStyle?: ITableStyle;
15
+ disabled?: boolean;
16
+ /**
17
+ * If `true` then the border will be forced to be thin.
18
+ *
19
+ * @remarks
20
+ * Useful for small thumbnails and mimics Excel.
21
+ */
22
+ forceThinBorder?: boolean;
23
+ /**
24
+ * if `true` then listers will be added to track table changes.
25
+ */
26
+ isLive?: boolean;
27
+ /**
28
+ * Change the default width of the rendered table.
29
+ * @defaultValue `10`
30
+ */
31
+ cellHeight?: number;
32
+ }
33
+ /**
34
+ * Component for rendering tableStyle previews.
35
+ * This uses an html table and the TableStyle renderer.
36
+ *
37
+ * It has the ability to render borders and fills
38
+ * with the their styles.
39
+ * @remarks
40
+ * This is intended to be used for the table options pane but is currently not in use.
41
+ */
42
+ export declare const TableStylePreview: React.NamedExoticComponent<Omit<TableStylePreviewProps, "ref"> & React.RefAttributes<unknown>>;
43
+ //# sourceMappingURL=TableStylePreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableStylePreview.d.ts","sourceRoot":"","sources":["../../../../src/table/TableStylePreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EACE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAC5D,MAAM,cAAc,CAAC;AAOtB,MAAM,WAAW,sBAAuB,SAAQ,QAAQ;IACtD,eAAe;IACf,MAAM,EAAE,gBAAgB,CAAC;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC;IAGzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAWD;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,gGA4L3B,CAAC"}
@@ -0,0 +1,7 @@
1
+ export * from './TableStylePreview';
2
+ export * from './TableStyleCanvasPreview';
3
+ export * from './TableStyleOptionsPanel';
4
+ export * from './TableDetailsPanel';
5
+ export * from './TableDetailsTaskPane';
6
+ export * from './TablePlugin';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/table/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAE1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AAEpC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,eAAe,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps } from '@mui/system';
3
+ import { Theme } from '@mui/material';
4
+ import { ITheme } from '@sheetxl/sdk';
5
+ import { ExhibitIconButtonProps } from '@sheetxl/utils-mui';
6
+ export interface ThemeSelectButtonProps extends ExhibitIconButtonProps {
7
+ docTheme: ITheme;
8
+ onSelectTheme: (theme: ITheme) => void;
9
+ /**
10
+ * Determines if the button is selected or not
11
+ * @defaultValue false
12
+ *
13
+ */
14
+ isSelected?: boolean;
15
+ /**
16
+ * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
17
+ */
18
+ sx?: SxProps<Theme>;
19
+ outlined?: boolean;
20
+ darkMode?: boolean;
21
+ }
22
+ export declare const ThemeSelectButton: React.FC<ThemeSelectButtonProps>;
23
+ //# sourceMappingURL=ThemeSelectButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeSelectButton.d.ts","sourceRoot":"","sources":["../../../../src/theme/ThemeSelectButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,eAAe,CAAC;AAI3C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAI3C,OAAO,EAC6B,KAAK,sBAAsB,EAC9D,MAAM,oBAAoB,CAAA;AAQ3B,MAAM,WAAW,sBAAuB,SAAQ,sBAAsB;IACpE,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAkBD,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAkL9D,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps } from '@mui/system';
3
+ import { Theme } from '@mui/material';
4
+ import { IThemeCollection, ITheme } from '@sheetxl/sdk';
5
+ export interface ThemeSelectPanelProps extends React.HTMLAttributes<HTMLElement> {
6
+ themes: IThemeCollection;
7
+ selectedTheme?: ITheme;
8
+ onSelectTheme?: (docTheme: ITheme) => void;
9
+ /**
10
+ * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
11
+ */
12
+ sx?: SxProps<Theme>;
13
+ disabled?: boolean;
14
+ darkMode?: boolean;
15
+ }
16
+ export declare const ThemeSelectPanel: React.FC<ThemeSelectPanelProps>;
17
+ //# sourceMappingURL=ThemeSelectPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeSelectPanel.d.ts","sourceRoot":"","sources":["../../../../src/theme/ThemeSelectPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AASlE,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC9E,MAAM,EAAE,gBAAgB,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA8G1D,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { default as React } from 'react';
2
+ import { IThemeCollection, ITheme } from '@sheetxl/sdk';
3
+ import { PopupButtonType, ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
4
+ import { ThemeSelectPanelProps } from './ThemeSelectPanel';
5
+ export interface ThemeSelectPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "createPopupPanel"> {
6
+ themes: IThemeCollection;
7
+ selectedTheme?: ITheme;
8
+ onSelectTheme?: (docTheme: ITheme) => void;
9
+ icon?: React.ReactNode;
10
+ label?: React.ReactNode;
11
+ /**
12
+ * Rendering styles
13
+ * @defaultValue to Toolbar
14
+ */
15
+ variant?: PopupButtonType;
16
+ propsPanel?: Partial<ThemeSelectPanelProps>;
17
+ darkMode?: boolean;
18
+ /**
19
+ * Ref to the underlying element
20
+ */
21
+ ref?: React.Ref<HTMLElement>;
22
+ }
23
+ export declare const ThemeSelectPopupButton: React.NamedExoticComponent<Omit<ThemeSelectPopupButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
24
+ //# sourceMappingURL=ThemeSelectPopupButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeSelectPopupButton.d.ts","sourceRoot":"","sources":["../../../../src/theme/ThemeSelectPopupButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAIlE,OAAO,EACyC,eAAe,EAChC,KAAK,2BAA2B,EAC9D,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAElF,MAAM,WAAW,2BAA4B,SAAQ,IAAI,CAAC,2BAA2B,EAAE,OAAO,GAAG,MAAM,GAAG,kBAAkB,CAAC;IAC3H,MAAM,EAAE,gBAAgB,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAE3C,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEvB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAExB;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAE1B,UAAU,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAE5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;CAC9B;AAED,eAAO,MAAM,sBAAsB,yGAmDhC,CAAC"}
@@ -0,0 +1,57 @@
1
+ import { Theme, ThemeOptions } from '@mui/material';
2
+ import { TokenTheme, ThemeMode } from '@sheetxl/utils-react';
3
+ /** The surfaces a host can address — the `data-sxl-theme-surface` values this studio introduces. */
4
+ export type ExplicitSurface = 'app' | 'header' | 'grid';
5
+ /**
6
+ * Explicit token values a HOST supplies, addressed by **cell** — `(surface × mode)`, not just token. So a
7
+ * host says "the header paper is `editorGroupHeader.tabsBackground`" without any new token name entering
8
+ * the vocabulary; the expressiveness comes from the matrix that already exists (THEMING-DESIGN §8).
9
+ *
10
+ * ```ts
11
+ * { dark: { app: { 'color-base-200': '#1f1f1f' }, header: { 'color-base-100': '#181818' } } }
12
+ * ```
13
+ *
14
+ * @remarks
15
+ * The escape hatch out of the math below. Every derived value here (the gridline, the header hover) is an
16
+ * *elevation* calculation: it assumes "raised" means "lighter", which is the Material idea. A host with a
17
+ * FLAT design language (VS Code, Fluent) has its own named surfaces that do not follow that curve at all,
18
+ * and mapping them onto the five MUI palette slots the adapter reads throws all of them away. So each
19
+ * derivation is a FALLBACK: an explicitly supplied token wins, and only what the host leaves unset is
20
+ * computed.
21
+ */
22
+ export type ExplicitTokens = Partial<Record<ThemeMode, Partial<Record<ExplicitSurface, Partial<TokenTheme>>>>>;
23
+ /**
24
+ * The MUI→Theme adapter: maps a MUI {@link Theme} onto the framework-neutral flat {@link TokenTheme}
25
+ * token set (utils-react) — one mode's worth of `--sxl-*` values. {@link createStudioThemeCSS} compiles the
26
+ * app + surface cells for both modes into the attribute-rule stylesheet the studio injects at its root, so
27
+ * the grid resolves its palette through the token model instead of prop-threaded `GridStyle` structs.
28
+ *
29
+ * Only the neutral token layer is mapped here (base ramp, semantic hues, fonts, geometry). The document
30
+ * color/font layers (`--sxl-doc-*`, `--sxl-sys-color-*`) stay with the workbook model, not the MUI theme.
31
+ */
32
+ export declare const createThemeFromMUITheme: (muiTheme: Theme, explicit?: ExplicitTokens) => TokenTheme;
33
+ /**
34
+ * The **inverse** adapter (`sxl → mui`): map a partial {@link TokenTheme} (e.g. a `TokenThemeProvider`'s
35
+ * overrides) onto the MUI palette/geometry slots the forward {@link createThemeFromMUITheme} reads. Studio
36
+ * merges the result INTO its `createExhibitTheme` input, so a token override flows `sxl → mui → sxl`: the MUI
37
+ * chrome (buttons / slider / tabs) follows it as well as the grid — no "half-themed" mixed bag. Only the mapped
38
+ * subset (colors, radius, fonts) crosses; non-color MUI config (components / spacing) is untouched. Partial in,
39
+ * partial out — only slots whose token is present are emitted.
40
+ */
41
+ export declare const tokensToMuiOptions: (tokens?: Partial<TokenTheme>) => ThemeOptions;
42
+ /**
43
+ * The studio's theme stylesheet: the `(token × surface × mode)` matrix as attribute rules. Emits the app
44
+ * baseline (from the MUI adapter) for both modes plus the `grid`/`header` surface overrides (derived from the
45
+ * same MUI themes), so a container selects its cell purely by setting `data-sxl-theme-mode` /
46
+ * `data-sxl-theme-surface`. Inject once at the studio root; stable across the light/dark toggle (both modes
47
+ * are always present).
48
+ *
49
+ * `explicit` is the host's own token values ({@link ExplicitTokens}), addressed per `(surface × mode)` cell.
50
+ * Each cell is merged into the surface it names AND consulted by that surface's derivations, so a host color
51
+ * participates in the math instead of being computed over. This is emitted in `sxl-app` — NOT the
52
+ * `sxl-overrides` layer a `TokenThemeProvider` uses — which is why it can be surface-aware: an override-layer
53
+ * rule keyed on `[mode]` alone outranks (by layer, not specificity) the `[mode][surface="header"]` rules
54
+ * below, so it would flatten every surface at once.
55
+ */
56
+ export declare const createStudioThemeCSS: (lightTheme: Theme, darkTheme: Theme, scope?: string, explicit?: ExplicitTokens) => string;
57
+ //# sourceMappingURL=ThemeUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeUtils.d.ts","sourceRoot":"","sources":["../../../../src/theme/ThemeUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAE9D,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAgB,MAAM,sBAAsB,CAAC;AAQrF,oGAAoG;AACpG,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;AAExD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,cAAc,GACxB,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAqDpF;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,GAAI,UAAU,KAAK,EAAE,WAAW,cAAc,KAAG,UAkEpF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,GAAI,SAAS,OAAO,CAAC,UAAU,CAAC,KAAG,YA+BjE,CAAC;AAsDF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,oBAAoB,GAC/B,YAAY,KAAK,EACjB,WAAW,KAAK,EAChB,QAAQ,MAAM,EACd,WAAW,cAAc,KACxB,MA4BF,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from './ThemeSelectButton';
2
+ export * from './ThemeSelectPanel';
3
+ export * from './ThemeSelectPopupButton';
4
+ export * from './ThemeUtils';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AAEzC,cAAc,cAAc,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { CustomContentProps } from 'notistack';
2
+ interface ToastErrorProps extends CustomContentProps {
3
+ /**
4
+ * If not provided just the error message will be displayed.
5
+ */
6
+ error?: Error;
7
+ }
8
+ declare const ToastError: import('react').NamedExoticComponent<ToastErrorProps & import('react').RefAttributes<HTMLDivElement>>;
9
+ export { ToastError };
10
+ //# sourceMappingURL=ToastError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToastError.d.ts","sourceRoot":"","sources":["../../../../src/toast/ToastError.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAgC,KAAK,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAclF,UAAU,eAAgB,SAAQ,kBAAkB;IAClD;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,QAAA,MAAM,UAAU,uGAwGd,CAAC;AAGH,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './ToastError';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/toast/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -0,0 +1,46 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps } from '@mui/system';
3
+ import { PaperProps, ToolbarProps } from '@mui/material';
4
+ /**
5
+ * Fallback tab list used only when the {@link TOOLBAR_STRIP_KEY} strip panel is not registered (a bare
6
+ * host that never called `registerWorkbookCommandGroups`). Normally the strip's members ARE the config.
7
+ */
8
+ export declare const DefaultWorkbookToolbars: readonly string[];
9
+ export interface WorkbookToolbarsProps extends React.HTMLAttributes<HTMLDivElement> {
10
+ /**
11
+ * Explicit override of the ordered ribbon tabs (each the **key** of a registered toolbar surface).
12
+ *
13
+ * @remarks
14
+ * By default the tabs are **contribution-driven**: resolved from the members of the
15
+ * `workbookToolbars` strip panel, so features/plugins add tabs by contributing into it (e.g. the
16
+ * react table contributor's contextual `tableToolbar`). Pass this only to bypass the registry and
17
+ * pin an explicit list — doing so opts OUT of contributed/contextual tabs.
18
+ */
19
+ toolbars?: readonly string[];
20
+ /**
21
+ * Wrap the select with custom component.
22
+ *
23
+ * @param children
24
+ */
25
+ wrapperSelect?: (children: React.ReactNode) => React.ReactNode;
26
+ /**
27
+ * If we need to render compact.
28
+ */
29
+ isCompact?: boolean;
30
+ /**
31
+ * Wrap the palette with custom component.
32
+ *
33
+ * @param children
34
+ */
35
+ wrapperPalette?: (children: React.ReactNode) => React.ReactNode;
36
+ propsPalette?: PaperProps;
37
+ /** Per-tab {@link ToolbarProps}, keyed by the toolbar key (e.g. `homeToolbar`). */
38
+ propsToolbars?: Record<string, ToolbarProps>;
39
+ /**
40
+ * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
41
+ */
42
+ sx?: SxProps;
43
+ }
44
+ export declare const renderWorkbookToolbars: (props: WorkbookToolbarsProps) => React.ReactElement;
45
+ export declare const WorkbookToolbars: React.NamedExoticComponent<WorkbookToolbarsProps & React.RefAttributes<HTMLElement>>;
46
+ //# sourceMappingURL=WorkbookToolbars.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkbookToolbars.d.ts","sourceRoot":"","sources":["../../../../src/toolbar/WorkbookToolbars.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAG3C,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAMvD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAalD;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,SAAS,MAAM,EAEpD,CAAC;AAEF,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACjF;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B;;;;OAIG;IACH,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,KAAK,KAAK,CAAC,SAAS,CAAC;IAC/D;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,KAAK,KAAK,CAAC,SAAS,CAAC;IAEhE,YAAY,CAAC,EAAE,UAAU,CAAC;IAE1B,mFAAmF;IACnF,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAE7C;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC;CACd;AAMD,eAAO,MAAM,sBAAsB,GAAI,OAAO,qBAAqB,KAAG,KAAK,CAAC,YAE3E,CAAA;AAmND,eAAO,MAAM,gBAAgB,sFAiI1B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './WorkbookToolbars';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/toolbar/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { default as React } from 'react';
2
+ import { SheetElementProps, SheetTabProps } from '@sheetxl/react';
3
+ import { AnimatedLoadingPanelProps, StackTraceErrorPanelProps } from '@sheetxl/utils-mui';
4
+ import { FormulaBarProps } from '../formulaBar';
5
+ import { ColumnMenuProps } from '../filter';
6
+ import { StatusBarProps } from '../statusBar';
7
+ import { MovableContextMenuProps } from '../movable';
8
+ import { SheetsAllMenuProps, SheetTabMenuProps } from '../sheet';
9
+ import { WorkbookStripProps } from './WorkbookStrip';
10
+ import { WorkbookContextMenuProps } from './WorkbookContextMenu';
11
+ export declare const renderMovableContextMenu: (props: MovableContextMenuProps) => React.ReactElement;
12
+ export declare const renderWorkbookContextMenu: (props: WorkbookContextMenuProps) => React.ReactElement;
13
+ export declare const renderColumnMenu: (props: ColumnMenuProps) => React.ReactElement;
14
+ export declare const renderWorkbookFormulaBar: (props: FormulaBarProps) => React.ReactElement;
15
+ export declare const renderWorkbookLoading: (props: AnimatedLoadingPanelProps) => React.ReactElement;
16
+ export declare const renderWorkbookError: (props: StackTraceErrorPanelProps) => React.ReactElement;
17
+ export declare const renderWorkbookSheet: (props: SheetElementProps) => React.ReactElement;
18
+ export declare const renderWorkbookStatusBar: (props: StatusBarProps) => React.ReactElement;
19
+ export declare const renderWorkbookStrip: (props: WorkbookStripProps) => React.ReactElement;
20
+ export declare const renderWorkbookStripContextMenu: (props: SheetTabMenuProps) => React.ReactElement;
21
+ export declare const renderWorkbookStripSheetsAll: (props: SheetsAllMenuProps) => React.ReactElement;
22
+ export declare const renderWorkbookSheetTab: (props: SheetTabProps) => React.ReactElement;
23
+ //# sourceMappingURL=DefaultRenderers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultRenderers.d.ts","sourceRoot":"","sources":["../../../../src/workbook/DefaultRenderers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EACS,KAAK,iBAAiB,EAC1B,KAAK,aAAa,EAC7B,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACiB,KAAK,yBAAyB,EAAwB,KAAK,yBAAyB,EAC3G,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAsB,KAAK,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC9E,OAAO,EACwB,KAAK,kBAAkB,EAAE,KAAK,iBAAiB,EAC7E,MAAM,UAAU,CAAC;AAElB,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAuB,KAAK,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAE3F,eAAO,MAAM,wBAAwB,GAAI,OAAO,uBAAuB,KAAG,KAAK,CAAC,YAE/E,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAI,OAAO,wBAAwB,KAAG,KAAK,CAAC,YAEjF,CAAA;AAED,eAAO,MAAM,gBAAgB,GAAI,OAAO,eAAe,KAAG,KAAK,CAAC,YAE/D,CAAA;AAED,eAAO,MAAM,wBAAwB,GAAI,OAAO,eAAe,KAAG,KAAK,CAAC,YAEvE,CAAA;AAED,eAAO,MAAM,qBAAqB,GAAI,OAAO,yBAAyB,KAAG,KAAK,CAAC,YAM9E,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,OAAO,yBAAyB,KAAG,KAAK,CAAC,YAS5E,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,OAAO,iBAAiB,KAAG,KAAK,CAAC,YAGpE,CAAA;AAED,eAAO,MAAM,uBAAuB,GAAI,OAAO,cAAc,KAAG,KAAK,CAAC,YAGrE,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,OAAO,kBAAkB,KAAG,KAAK,CAAC,YAErE,CAAA;AAED,eAAO,MAAM,8BAA8B,GAAI,OAAO,iBAAiB,KAAG,KAAK,CAAC,YAE/E,CAAA;AAED,eAAO,MAAM,4BAA4B,GAAI,OAAO,kBAAkB,KAAG,KAAK,CAAC,YAE9E,CAAA;AA6BD,eAAO,MAAM,sBAAsB,GAAI,OAAO,aAAa,KAAG,KAAK,CAAC,YAEnE,CAAA"}
@@ -0,0 +1,69 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps } from '@mui/system';
3
+ import { Theme } from '@mui/material';
4
+ import { IWorkbookElement } from '@sheetxl/react';
5
+ export interface RequestTitleOptions extends FocusOptions {
6
+ selectAll?: boolean;
7
+ requestReason?: string;
8
+ }
9
+ export interface DocumentTitleAttributes {
10
+ /**
11
+ * Request focus with a callback that will be called on blur.
12
+ *
13
+ * @param onAccept - Callback when the user's focus leaves the title element after a request focus for a title.
14
+ */
15
+ requestTitle: (onAccept?: (title: string, commitReason: string) => void, options?: RequestTitleOptions) => void;
16
+ /**
17
+ * Called when application wants to focus the workbook title.
18
+ * @param options - `FocusOptions`
19
+ */
20
+ focus: (options?: FocusOptions) => void;
21
+ }
22
+ /**
23
+ * Type returned via ref property
24
+ */
25
+ export interface IDocumentTitleElement extends HTMLDivElement, DocumentTitleAttributes {
26
+ }
27
+ export interface DocumentTitleProps extends React.HTMLAttributes<HTMLDivElement> {
28
+ /**
29
+ * MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
30
+ */
31
+ sx?: SxProps<Theme>;
32
+ workbook?: IWorkbookElement | null;
33
+ title?: string;
34
+ onTitleChange?: (newTitle: string | null) => void;
35
+ /**
36
+ * Text to show if no values
37
+ *
38
+ * @defaultValue 'Untitled'
39
+ */
40
+ placeHolder?: string;
41
+ /**
42
+ * If true the title will not be editable.
43
+ *
44
+ * @defaultValue false
45
+ */
46
+ readOnly?: boolean;
47
+ /**
48
+ * If true the workbook has unsaved changes; shows a leading dot and a stronger title color.
49
+ *
50
+ * @defaultValue false
51
+ */
52
+ modified?: boolean;
53
+ /**
54
+ * If true the workbook is (or will be) saved encrypted; shows a trailing lock.
55
+ *
56
+ * @defaultValue false
57
+ */
58
+ encrypted?: boolean;
59
+ /**
60
+ * @defaultValue false
61
+ */
62
+ hidden?: boolean;
63
+ /**
64
+ * Ref for the IDocumentTitleElement
65
+ */
66
+ ref?: React.Ref<IDocumentTitleElement>;
67
+ }
68
+ export declare const DocumentTitle: React.NamedExoticComponent<Omit<DocumentTitleProps, "ref"> & React.RefAttributes<IDocumentTitleElement>>;
69
+ //# sourceMappingURL=DocumentTitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentTitle.d.ts","sourceRoot":"","sources":["../../../../src/workbook/DocumentTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAS,KAAK,KAAK,EAAE,MAAM,eAAe,CAAC;AAalD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIvD,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AACD,MAAM,WAAW,uBAAuB;IACtC;;;;OAIG;IACH,YAAY,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,EAAE,OAAO,CAAC,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAChH;;;OAGG;IACH,KAAK,EAAE,CAAC,OAAO,CAAC,EAAE,YAAY,KAAK,IAAI,CAAC;CACzC;AACD;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,cAAc,EAAE,uBAAuB;CAAG;AACzF,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC9E;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IAEpB,QAAQ,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAEnC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAClD;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;CACxC;AA2CD,eAAO,MAAM,aAAa,0GAyRvB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ import { IWorkbook } from '@sheetxl/sdk';
3
+ import { FloatReference } from '@sheetxl/utils-react';
4
+ export interface WorkbookContextMenuProps extends React.HTMLAttributes<HTMLDivElement> {
5
+ /**
6
+ * The workbook,
7
+ */
8
+ workbook: IWorkbook;
9
+ disabled?: boolean;
10
+ floatReference: FloatReference;
11
+ }
12
+ export declare const WorkbookContextMenu: React.FC<WorkbookContextMenuProps>;
13
+ //# sourceMappingURL=WorkbookContextMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkbookContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/workbook/WorkbookContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAC+C,KAAK,SAAS,EACnE,MAAM,cAAc,CAAC;AAEtB,OAAO,EAEoB,KAAK,cAAc,EAC7C,MAAM,sBAAsB,CAAC;AAW9B,MAAM,WAAW,wBAAyB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACpF;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IAEpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,cAAc,EAAE,cAAc,CAAC;CAChC;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAwGhE,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { WorkbookElementProps, IWorkbookElement } from '@sheetxl/react';
2
+ /**
3
+ * The MUI workbook element.
4
+ *
5
+ * A thin wrapper around the chromeless `WorkbookElement` from `@sheetxl/react`: it supplies the grid's
6
+ * own MUI popups (tabs, context/column/movable menus, loading) via the render seams. Theming flows
7
+ * through the injected `--sxl-*` token matrix (from the studio root) — no theme bridge is needed here;
8
+ * the grid self-sources its light/dark scheme from the shared appearance preference. The surrounding
9
+ * chrome (toolbar, formula bar, status bar) is composed by the Studio layer, not here.
10
+ */
11
+ export declare const WorkbookElement: import('react').NamedExoticComponent<Omit<WorkbookElementProps, "ref"> & import('react').RefAttributes<IWorkbookElement>>;
12
+ //# sourceMappingURL=WorkbookElement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkbookElement.d.ts","sourceRoot":"","sources":["../../../../src/workbook/WorkbookElement.tsx"],"names":[],"mappings":"AAIA,OAAO,EACoC,KAAK,oBAAoB,EAAE,KAAK,gBAAgB,EAC1F,MAAM,gBAAgB,CAAC;AAOxB;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,2HAezB,CAAC"}