@sheetxl/studio-mui 0.8.0-beta.1 → 0.8.0-beta.11

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 (291) hide show
  1. package/browser/esm/0BWO0bLZ8Vm_dKd2.mjs +582 -0
  2. package/browser/esm/BAbq4-I5f5oUiNaF.mjs +141 -0
  3. package/browser/esm/BED6h6YAwCf1HEQJ.mjs +161 -0
  4. package/browser/esm/{DMLXV4EKl1NCp_jk.mjs → BXhNFzyEGokTF-BL.mjs} +2 -2
  5. package/browser/esm/BYE9gCDWKyx6mnVs.mjs +381 -0
  6. package/browser/esm/BjvD_4t2KGsZP5V8.mjs +71 -0
  7. package/browser/esm/{zWTZ8BvT4hjgC2ua.mjs → BknfGJouygmnpFIU.mjs} +13 -12
  8. package/browser/esm/{DNDrQKMTzKzNMjl-.mjs → BlE_8o8tO2AgAlaj.mjs} +19 -17
  9. package/browser/esm/BokqKEpU6TFgfRs6.mjs +252 -0
  10. package/browser/esm/{BoLxSRdEWt-Yg2RI.mjs → Brsh5yscJ_4uKFXp.mjs} +130 -103
  11. package/browser/esm/Bujtz_Guj88d03vI.mjs +831 -0
  12. package/browser/esm/Buqcl7J75MJrhpVE.mjs +1379 -0
  13. package/browser/esm/BvhYPwX3GrRaO9CM.mjs +319 -0
  14. package/browser/esm/C0wlMAIn9iREPK6w.mjs +87 -0
  15. package/browser/esm/C8JU4KsMasmLvojI.mjs +103 -0
  16. package/browser/esm/C9pIZVACtl9unFOp.mjs +77 -0
  17. package/browser/esm/CBD4RiRKbbZtSXV-.mjs +318 -0
  18. package/browser/esm/CEtXsBzEjEKk9GOj.mjs +117 -0
  19. package/browser/esm/{BZBJG2tDdD3-VujP.mjs → COlZu93LRwuBvjE-.mjs} +195 -174
  20. package/browser/esm/{Cj2pgCNqBCGl4rTX.mjs → CTjqDD-swFMZzI-Y.mjs} +587 -556
  21. package/browser/esm/CWkOgdL7mOKiTR62.mjs +975 -0
  22. package/browser/esm/ChSVxkPTIjgcC8PL.mjs +412 -0
  23. package/browser/esm/{Cd6n1XUgF0VItpkH.mjs → ClBvNPeNCAhuVWrG.mjs} +7 -5
  24. package/browser/esm/CyLn6zOOp_biA3xU.mjs +335 -0
  25. package/browser/esm/CynTY0oNtyJnoaBq.mjs +14 -0
  26. package/browser/esm/D3rRUK4dIM5gUSmj.mjs +256 -0
  27. package/browser/esm/D9ISy7VkaRRFJl46.mjs +515 -0
  28. package/browser/esm/DDc6rDuU9JAo1DH_.mjs +225 -0
  29. package/browser/esm/DDczwkXhz_MHub4z.mjs +197 -0
  30. package/browser/esm/{3ydDykDMtDYbfVVn.mjs → DEv4pIEgYr5C7etm.mjs} +178 -129
  31. package/browser/esm/DG21x7RKDpge6zAE.mjs +31 -0
  32. package/browser/esm/DJOOed_OtB-XT7f3.mjs +437 -0
  33. package/browser/esm/{Bz5LiUe3SZ8g42Ia.mjs → DKtJxrpN0axtuQ0l.mjs} +1 -1
  34. package/browser/esm/DRSCS6aLiYmPjUz1.mjs +1543 -0
  35. package/browser/esm/{ChwS_ougBsogOEsP.mjs → DTpRkgsTm_zYnWfW.mjs} +46 -47
  36. package/browser/esm/DV6i9RQZfJiKtEaJ.mjs +2552 -0
  37. package/browser/esm/DdcZrjMLWVukWcU5.mjs +7473 -0
  38. package/browser/esm/Di3BUxA0SqFWWgeg.mjs +94 -0
  39. package/browser/esm/DnGaP5F7mLwCGUYG.mjs +408 -0
  40. package/browser/esm/DpD4fg2WcyiKX_2K.mjs +414 -0
  41. package/browser/esm/{BUGepznywvV0tUjW.mjs → Ds3XRkne7HxcXD8J.mjs} +2 -2
  42. package/browser/esm/DsoNMWDwHZP8UXQd.mjs +293 -0
  43. package/browser/esm/G0Inqm6Eqw47dMpa.mjs +212 -0
  44. package/browser/esm/HViD4Wfoi0mmqk9w.mjs +13 -0
  45. package/browser/esm/LZoYSQAYV2wksnDv.mjs +386 -0
  46. package/browser/esm/{rU8xNPVQtDSnujM-.mjs → QgaAIDUMmBQBsXP9.mjs} +3 -3
  47. package/browser/esm/YThnrg3PadGs7B4j.mjs +627 -0
  48. package/browser/esm/index.mjs +1208 -67
  49. package/browser/esm/ttjcNHcFn8O6hfnd.mjs +1288 -0
  50. package/browser/esm/w_JrR69vEpvoyeMy.mjs +68 -0
  51. package/browser/esm/{CVfuCNRpODUw04IH.mjs → xFqkfN8QMCxvsetB.mjs} +1 -1
  52. package/browser/esm/zqilJefihVd7At2T.mjs +517 -0
  53. package/licenses/dependencies.txt +96 -349
  54. package/node/esm/1bf4gn-2vld4BZ9u.mjs +294 -0
  55. package/node/esm/{BhqI3pQFkV8K_612.mjs → 3WghtBXAvCDwcVrq.mjs} +1 -1
  56. package/node/esm/4HmLH0bPVJCZLgik.mjs +116 -0
  57. package/node/esm/{DM7K7-284z-PczVz.mjs → B0bdb_6p7fQI_ivo.mjs} +28 -28
  58. package/node/esm/BIMkjQUwG4Ih-6Sh.mjs +142 -0
  59. package/node/esm/BNg4QQY0WAPLE0q7.mjs +141 -0
  60. package/node/esm/BPzcW4BejRqso338.mjs +72 -0
  61. package/node/esm/BR45ogAR-hY2bE60.mjs +318 -0
  62. package/node/esm/BlN7G0DVC24zauig.mjs +197 -0
  63. package/node/esm/Bph-sR3l6AYWeuxK.mjs +256 -0
  64. package/node/esm/CPq-MIdEnc-53JpF.mjs +319 -0
  65. package/node/esm/CSAnTp5rwId0DUb8.mjs +380 -0
  66. package/node/esm/CWcv7UVXF8IUB0PC.mjs +1379 -0
  67. package/node/esm/{BA7VzUQ2sKRLTZ5c.mjs → CYIoK22I6Yvv12_x.mjs} +20 -20
  68. package/node/esm/CZyA9uD4SkTvqp_G.mjs +1283 -0
  69. package/node/esm/{CHi3AuWEwEPOg9IZ.mjs → CjC6s3RUJQNCF7mP.mjs} +1 -1
  70. package/node/esm/{DXZrzWee8K5FPOW1.mjs → CuMePia6i_8yfJ6S.mjs} +9 -9
  71. package/node/esm/CvRbu8JPxFarsSR-.mjs +412 -0
  72. package/node/esm/CyafafEgfmjLqE5O.mjs +521 -0
  73. package/node/esm/D-xqQ5qOSd6WrzwJ.mjs +94 -0
  74. package/node/esm/DLqBHdFp6wvm6EGs.mjs +212 -0
  75. package/node/esm/{BwZcoHDBmLPIVOT5.mjs → DMXLxp3T0E0SRTQc.mjs} +69 -70
  76. package/node/esm/{CUMKTjYv6VTkcWYi.mjs → DWqvf4H5F2wMnZ0L.mjs} +32 -30
  77. package/node/esm/DatM6eEYPpAtIMy-.mjs +405 -0
  78. package/node/esm/Db3dbaYLKUO66T9s.mjs +1689 -0
  79. package/node/esm/DdEzhVqYTrGODXrz.mjs +68 -0
  80. package/node/esm/DeZJlLk8WJ3BLtLs.mjs +975 -0
  81. package/node/esm/DfCuL8AUxMFoEG2s.mjs +519 -0
  82. package/node/esm/Do-zCKziWhoG5eAv.mjs +77 -0
  83. package/node/esm/DpJ2gmZJioCyq8La.mjs +632 -0
  84. package/node/esm/{Qpuqm6xBr_da38Ht.mjs → XEDcegsv5AGKBfu2.mjs} +165 -137
  85. package/node/esm/index.mjs +10124 -6751
  86. package/node/esm/yCUxQuqVuC4DHKPx.mjs +385 -0
  87. package/node/esm/zITjZ7R4raDqhP-n.mjs +515 -0
  88. package/package.json +15 -18
  89. package/resources/locales/de/groups.cmd.json +29 -16
  90. package/resources/locales/de/studio.cmd.json +18 -1
  91. package/resources/locales/de/ui.msg.json +447 -40
  92. package/resources/locales/en/groups.cmd.json +39 -17
  93. package/resources/locales/en/studio.cmd.json +18 -1
  94. package/resources/locales/en/ui.msg.json +403 -40
  95. package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +21 -5
  96. package/types/src/anchorItems/AnchorItemsPanel.d.ts +14 -0
  97. package/types/src/anchorItems/AnchoredRangeField.d.ts +40 -0
  98. package/types/src/anchorItems/index.d.ts +1 -0
  99. package/types/src/anomalies/AnomaliesPlugin.d.ts +5 -0
  100. package/types/src/anomalies/AnomaliesTaskPane.d.ts +17 -0
  101. package/types/src/anomalies/index.d.ts +3 -0
  102. package/types/src/border/BorderPopupButton.d.ts +6 -6
  103. package/types/src/border/BorderStylePopupButton.d.ts +3 -3
  104. package/types/src/border/BorderTemplateIcon.d.ts +29 -0
  105. package/types/src/border/index.d.ts +1 -0
  106. package/types/src/chart/ChartFormatPanel.d.ts +20 -0
  107. package/types/src/chart/ChartPlugin.d.ts +6 -0
  108. package/types/src/chart/index.d.ts +3 -0
  109. package/types/src/color/ColorPanel.d.ts +8 -2
  110. package/types/src/color/ColorPopupButton.d.ts +2 -1
  111. package/types/src/command/NumberFormatQuickButtons.d.ts +32 -0
  112. package/types/src/command/PresetCellStylesCommandButton.d.ts +3 -3
  113. package/types/src/command/SheetZoomCommandButton.d.ts +4 -3
  114. package/types/src/comments/CommentCard.d.ts +41 -0
  115. package/types/src/comments/CommentsPlugin.d.ts +6 -0
  116. package/types/src/comments/CommentsTaskPane.d.ts +23 -0
  117. package/types/src/comments/index.d.ts +4 -0
  118. package/types/src/conditionalFormat/ConditionalFormatStylePicker.d.ts +4 -4
  119. package/types/src/conditionalFormat/IconPickerPopupButton.d.ts +2 -2
  120. package/types/src/conditionalFormat/IconSetRulePanel.d.ts +1 -1
  121. package/types/src/conditions/BetweenOption.d.ts +6 -1
  122. package/types/src/conditions/CombinatorOption.d.ts +7 -0
  123. package/types/src/conditions/ConditionEditor.d.ts +61 -4
  124. package/types/src/conditions/ConditionUtils.d.ts +65 -6
  125. package/types/src/conditions/ExpressionOption.d.ts +12 -6
  126. package/types/src/conditions/MembershipOption.d.ts +67 -0
  127. package/types/src/conditions/OperatorAndParamEditor.d.ts +36 -1
  128. package/types/src/conditions/ScalarOption.d.ts +25 -6
  129. package/types/src/conditions/SelectorSelect.d.ts +16 -7
  130. package/types/src/conditions/index.d.ts +1 -1
  131. package/types/src/conditions/useFormulaOption.d.ts +54 -0
  132. package/types/src/dataValidation/DataValidationDetailsPanel.d.ts +7 -1
  133. package/types/src/dataValidation/DataValidationDetailsTaskPane.d.ts +3 -2
  134. package/types/src/dataValidation/DataValidationEditorPanel.d.ts +13 -2
  135. package/types/src/dataValidation/DataValidationIcon.d.ts +22 -0
  136. package/types/src/dataValidation/DataValidationTitle.d.ts +13 -0
  137. package/types/src/dialog/FillSeriesDialog.d.ts +16 -0
  138. package/types/src/dialog/OutlineSettingsDialog.d.ts +12 -0
  139. package/types/src/dialog/TableNewDialog.d.ts +1 -4
  140. package/types/src/dialog/WorkbookStatisticsDialog.d.ts +1 -1
  141. package/types/src/dialog/_ShortcutSearch.d.ts +26 -0
  142. package/types/src/dialog/index.d.ts +0 -2
  143. package/types/src/externalLink/ExternalLinkCardBody.d.ts +9 -0
  144. package/types/src/externalLink/ExternalLinkChip.d.ts +18 -0
  145. package/types/src/externalLink/ExternalLinkLocation.d.ts +18 -0
  146. package/types/src/externalLink/ExternalLinkSettingsTab.d.ts +18 -0
  147. package/types/src/externalLink/ExternalLinksPanel.d.ts +11 -0
  148. package/types/src/externalLink/ExternalLinksPlugin.d.ts +5 -0
  149. package/types/src/externalLink/ExternalLinksTaskPane.d.ts +19 -0
  150. package/types/src/externalLink/index.d.ts +8 -0
  151. package/types/src/fill/GradientEditor.d.ts +41 -0
  152. package/types/src/fill/GradientStopsBar.d.ts +43 -0
  153. package/types/src/fill/PatternPopupButton.d.ts +26 -0
  154. package/types/src/fill/PatternSwatch.d.ts +53 -0
  155. package/types/src/fill/index.d.ts +5 -0
  156. package/types/src/filter/ColumnMenu.d.ts +31 -1
  157. package/types/src/filter/index.d.ts +0 -1
  158. package/types/src/form/FormulaField.d.ts +35 -6
  159. package/types/src/form/InputField.d.ts +35 -5
  160. package/types/src/format/AlignmentPanel.d.ts +13 -0
  161. package/types/src/format/BorderPanel.d.ts +22 -0
  162. package/types/src/format/BorderPreview.d.ts +101 -0
  163. package/types/src/format/FillPanel.d.ts +65 -0
  164. package/types/src/format/FontPanel.d.ts +12 -0
  165. package/types/src/format/FormatCellPreview.d.ts +35 -0
  166. package/types/src/format/FormatPanelParts.d.ts +85 -0
  167. package/types/src/format/FormatPlugin.d.ts +11 -0
  168. package/types/src/format/FormatTaskPane.d.ts +39 -0
  169. package/types/src/format/LinePanel.d.ts +53 -0
  170. package/types/src/format/LinePreviews.d.ts +71 -0
  171. package/types/src/format/NumberFormatOption.d.ts +43 -0
  172. package/types/src/{numberFormat → format}/NumberFormatPanel.d.ts +20 -0
  173. package/types/src/format/index.d.ts +14 -0
  174. package/types/src/format/useFormatSelection.d.ts +93 -0
  175. package/types/src/formulaBar/IFormulaBar.d.ts +11 -0
  176. package/types/src/formulaBar/MobileFormulaBar.d.ts +33 -0
  177. package/types/src/formulaBar/MobileInputToolbar.d.ts +43 -0
  178. package/types/src/formulaBar/index.d.ts +3 -0
  179. package/types/src/formulaBar/useFormulaBarSession.d.ts +68 -0
  180. package/types/src/index.d.ts +19 -4
  181. package/types/src/itemsPanel/EditorCommit.d.ts +32 -0
  182. package/types/src/itemsPanel/EditorPanel.d.ts +4 -1
  183. package/types/src/itemsPanel/ItemCard.d.ts +60 -8
  184. package/types/src/itemsPanel/ItemsDescriptor.d.ts +68 -19
  185. package/types/src/itemsPanel/ItemsPanel.d.ts +9 -0
  186. package/types/src/itemsPanel/ItemsSearchField.d.ts +17 -0
  187. package/types/src/itemsPanel/index.d.ts +2 -0
  188. package/types/src/named/NamedDetailsPanel.d.ts +9 -2
  189. package/types/src/named/NamedDetailsTaskPane.d.ts +3 -2
  190. package/types/src/named/NamedEditorPanel.d.ts +1 -1
  191. package/types/src/named/NamedExpressionField.d.ts +32 -0
  192. package/types/src/named/NamedKindChip.d.ts +38 -0
  193. package/types/src/picture/PicturePlugin.d.ts +6 -0
  194. package/types/src/picture/index.d.ts +2 -0
  195. package/types/src/protectedRange/ProtectedRangeDetailsPanel.d.ts +6 -0
  196. package/types/src/protectedRange/ProtectedRangeDraft.d.ts +22 -0
  197. package/types/src/protectedRange/ProtectedRangeEditorPanel.d.ts +0 -14
  198. package/types/src/protectedRange/index.d.ts +2 -1
  199. package/types/src/protection/ManageProtectionTaskPane.d.ts +29 -0
  200. package/types/src/protection/PasswordDialog.d.ts +32 -0
  201. package/types/src/protection/PasswordField.d.ts +35 -0
  202. package/types/src/protection/ProtectedCellsPanel.d.ts +20 -0
  203. package/types/src/protection/ProtectionPlugin.d.ts +11 -0
  204. package/types/src/protection/WorkbookProtectionPanel.d.ts +34 -15
  205. package/types/src/protection/WorkbookProtectionTab.d.ts +22 -0
  206. package/types/src/protection/WorksheetProtectionPanel.d.ts +35 -0
  207. package/types/src/protection/index.d.ts +7 -1
  208. package/types/src/shape/InsertShapeCommandButton.d.ts +20 -0
  209. package/types/src/shape/ShapeFormatPanel.d.ts +11 -0
  210. package/types/src/shape/ShapePlugin.d.ts +6 -0
  211. package/types/src/shape/index.d.ts +3 -0
  212. package/types/src/slicer/PresetSlicerStylesCommandButton.d.ts +18 -0
  213. package/types/src/slicer/SlicerPlugin.d.ts +6 -0
  214. package/types/src/slicer/index.d.ts +3 -0
  215. package/types/src/statusBar/SheetZoomScale.d.ts +6 -0
  216. package/types/src/studio/CommandsWrapper.d.ts +5 -0
  217. package/types/src/studio/EagerStudio.d.ts +14 -1
  218. package/types/src/studio/StudioCommandProvider.d.ts +10 -0
  219. package/types/src/studio/StudioCommands.d.ts +40 -4
  220. package/types/src/studio/StudioProps.d.ts +64 -2
  221. package/types/src/studio/StudioSplitPane.d.ts +1 -1
  222. package/types/src/studio/formulaBarPlacement.d.ts +35 -0
  223. package/types/src/studio/splitStudioProps.d.ts +7 -0
  224. package/types/src/studio/useStudioApp.d.ts +31 -18
  225. package/types/src/template/TemplateCommands.d.ts +29 -0
  226. package/types/src/template/TemplateDialog.d.ts +19 -0
  227. package/types/src/template/TemplatePanel.d.ts +50 -0
  228. package/types/src/template/TemplateSearchField.d.ts +29 -0
  229. package/types/src/template/WelcomeDialog.d.ts +29 -0
  230. package/types/src/template/categoryColor.d.ts +8 -0
  231. package/types/src/template/index.d.ts +3 -0
  232. package/types/src/template/useTemplateCatalog.d.ts +71 -0
  233. package/types/src/toolbar/WorkbookToolbars.d.ts +1 -1
  234. package/types/src/workbook/DefaultRenderers.d.ts +16 -2
  235. package/types/src/workbook/FillMenu.d.ts +21 -0
  236. package/types/src/workbook/OutlineButtons.d.ts +11 -0
  237. package/types/src/workbook/WorkbookContextMenu.d.ts +4 -0
  238. package/types/src/workbook/WorkbookElement.d.ts +1 -1
  239. package/types/src/workbook/index.d.ts +1 -0
  240. package/browser/cjs/BQJKf40kttQWOzLw.cjs +0 -20
  241. package/browser/cjs/BTZ5uzK0wHzpiZGC.cjs +0 -1
  242. package/browser/cjs/B_D3JKseVvpRyX-E.cjs +0 -1
  243. package/browser/cjs/BeKpqOx8It0RD0Rf.cjs +0 -2
  244. package/browser/cjs/Bj-EvSYeDfqmU0V6.cjs +0 -2
  245. package/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +0 -1
  246. package/browser/cjs/Bte6P3MhSjajJmmY.cjs +0 -7
  247. package/browser/cjs/C97KHSuikAbr1qVM.cjs +0 -1
  248. package/browser/cjs/CJLwX_A3y3TQUmzj.cjs +0 -1
  249. package/browser/cjs/CPSc2VSYZeZ1B9mi.cjs +0 -1
  250. package/browser/cjs/CPcBvw4ZPwHVTUZF.cjs +0 -1
  251. package/browser/cjs/CYxc8vnRi8dNpDPk.cjs +0 -1
  252. package/browser/cjs/CZm1jVZaHQ246prW.cjs +0 -1
  253. package/browser/cjs/CdDYyAfccXme8w6m.cjs +0 -1
  254. package/browser/cjs/Cm1APq2MraYNNhyI.cjs +0 -1
  255. package/browser/cjs/DO8V31Z1ewgMA1di.cjs +0 -5
  256. package/browser/cjs/Djsiad0Qha1Y-YaS.cjs +0 -1
  257. package/browser/cjs/IASAYG6qgv7lJY7y.cjs +0 -1
  258. package/browser/cjs/KZvriGbhEOVkQD0b.cjs +0 -1
  259. package/browser/cjs/UnMhi28mbvLiOXQe.cjs +0 -1
  260. package/browser/cjs/Vbigo0kFP3PFfmeA.cjs +0 -1
  261. package/browser/cjs/iMWEL01eC83oU-YY.cjs +0 -1
  262. package/browser/cjs/index.cjs +0 -2
  263. package/browser/cjs/w2GjebPlOFv3pCbm.cjs +0 -1
  264. package/browser/cjs/z0rB4fK6X1M6PpVD.cjs +0 -11
  265. package/browser/cjs/zQsyZpeXAvcVXJMs.cjs +0 -1
  266. package/browser/esm/BuY3uV47Bwbqpasq.mjs +0 -219
  267. package/browser/esm/CAs1MWvJTcRfJy26.mjs +0 -217
  268. package/browser/esm/CBU3LgLYmqtQjJbu.mjs +0 -1150
  269. package/browser/esm/CDU0rqpLNVtMLI-f.mjs +0 -52
  270. package/browser/esm/CVBub6pgTsJzCc5m.mjs +0 -5429
  271. package/browser/esm/C_XvSsQ9BVdHffCO.mjs +0 -47
  272. package/browser/esm/FT29q8yNwsEpVZjt.mjs +0 -9257
  273. package/browser/esm/Hb1rlHT4tE5hLcjM.mjs +0 -82
  274. package/browser/esm/UJOXCQv6KrG1gY3l.mjs +0 -105
  275. package/browser/esm/s46El7mT6oKLSnYB.mjs +0 -411
  276. package/node/esm/9FY82fj1R1c-AczW.mjs +0 -47
  277. package/node/esm/C-boHCnJditFzng3.mjs +0 -106
  278. package/node/esm/DxXM8qHi0Oz4Zovl.mjs +0 -4575
  279. package/node/esm/sQt2wWGTRLzqeJdG.mjs +0 -82
  280. package/node/esm/yCHAZKxJR7qY_ySy.mjs +0 -470
  281. package/types/src/conditionalFormat/ConditionalFormatRangeField.d.ts +0 -32
  282. package/types/src/conditions/DateTimeOption.d.ts +0 -43
  283. package/types/src/conditions/InSetOption.d.ts +0 -37
  284. package/types/src/dialog/CommentsDialog.d.ts +0 -11
  285. package/types/src/dialog/NumberFormatDialog.d.ts +0 -12
  286. package/types/src/filter/FilterList.d.ts +0 -28
  287. package/types/src/numberFormat/NumberFormatTaskPane.d.ts +0 -12
  288. package/types/src/numberFormat/index.d.ts +0 -8
  289. package/types/src/protectedRange/ProtectedRangeDetailsTaskPane.d.ts +0 -3
  290. package/types/src/protectedRange/ProtectedRangePlugin.d.ts +0 -2
  291. package/types/src/protection/WorkbookProtectionDialog.d.ts +0 -23
@@ -0,0 +1,161 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.11
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { Color as e } from "@sheetxl/sdk";
8
+ import { useGridColorScheme as t, useModelListener as n, useWorkbook as r } from "@sheetxl/react";
9
+ import { themeSurfaceProps as i } from "@sheetxl/utils-react";
10
+ import { Fragment as a, memo as o, useCallback as s, useReducer as c } from "react";
11
+ import { SimpleTooltip as l } from "@sheetxl/utils-mui";
12
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
13
+ import { Box as f } from "@mui/material";
14
+ var p = (t, n) => {
15
+ if (!t) return null;
16
+ let r = n?.getStyles();
17
+ try {
18
+ return new e(t, r?.schemeLookup(), r?.indexedLookup());
19
+ } catch {
20
+ return null;
21
+ }
22
+ }, m = () => {
23
+ let e = r(), a = t(), o = a === "dark", [l, u] = c((e) => e + 1, 0);
24
+ n(e, { onThemeChange: () => u() }, { ignoreModelChange: !0 });
25
+ let d = s((t) => p(t, e), [e, l]), f = e?.getStyles().schemeLookup();
26
+ return {
27
+ workbook: e,
28
+ schemeLookup: f,
29
+ themeKey: l,
30
+ gridColorScheme: a,
31
+ darkMode: o,
32
+ toColor: d,
33
+ propsColorPanel: {
34
+ schemeLookup: f,
35
+ darkMode: o,
36
+ ...i("grid", a)
37
+ }
38
+ };
39
+ }, h = "var(--sxl-color-base-100, rgb(255, 255, 255))", g = "var(--sxl-color-base-300, rgb(224, 224, 224))", _ = "var(--sxl-color-primary, rgb(33, 115, 70))", v = "var(--sxl-color-base-content, rgba(0, 0, 0, 0.87))", y = "var(--sxl-color-error, rgb(211, 47, 47))", b = (e) => Math.round(e).toString(16).padStart(2, "0"), x = (t, n, r) => new e(`#${b(t)}${b(n)}${b(r)}`).toCSS("adaptive"), S = (e, t, n, r) => {
40
+ if (e.length === 0) return n;
41
+ let i = (t) => p(e[t].color, r)?.toRGBA() ?? null;
42
+ if (e.length === 1) {
43
+ let e = i(0);
44
+ return e ? x(e.red, e.green, e.blue) : n;
45
+ }
46
+ let a = t * (e.length - 1), o = Math.min(Math.floor(a), e.length - 2), s = a - o, c = i(o), l = i(o + 1);
47
+ if (!c || !l) return n;
48
+ let u = (e, t) => Math.round(e + (t - e) * s);
49
+ return x(u(c.red, l.red), u(c.green, l.green), u(c.blue, l.blue));
50
+ }, C = (e, t, n = null) => Array.from({ length: 5 }, (r, i) => u(f, { sx: {
51
+ width: "100%",
52
+ height: "100%",
53
+ backgroundColor: S(e, i / 4, t, n)
54
+ } })), w = [
55
+ 70,
56
+ 100,
57
+ 20,
58
+ 50,
59
+ 90
60
+ ], T = (e, t, n) => {
61
+ let r = e.direction === "rightToLeft";
62
+ return w.map((i) => u(f, {
63
+ sx: {
64
+ width: "100%",
65
+ height: "100%",
66
+ display: "flex",
67
+ alignItems: "center",
68
+ justifyContent: r ? "flex-end" : "flex-start"
69
+ },
70
+ children: u(f, { sx: {
71
+ width: `${i}%`,
72
+ height: "100%",
73
+ boxSizing: "border-box",
74
+ background: e.gradient ? `linear-gradient(to ${r ? "left" : "right"}, ${t}, transparent)` : t,
75
+ border: `1px solid ${n ?? t}`,
76
+ borderRadius: "1px"
77
+ } })
78
+ }));
79
+ }, E = o((e) => {
80
+ let { rows: n, ...r } = e, i = t(), o = (e, t) => ({
81
+ borderRight: +(t < 2),
82
+ borderBottom: +(e < n.length - 1),
83
+ borderColor: g,
84
+ minWidth: 0,
85
+ overflow: "hidden",
86
+ display: "flex",
87
+ alignItems: "center"
88
+ });
89
+ return u(f, {
90
+ className: "sxl-cf-scale-mini-grid",
91
+ "data-sxl-theme-surface": "grid",
92
+ "data-sxl-theme-mode": i,
93
+ sx: {
94
+ display: "grid",
95
+ backgroundColor: h,
96
+ gridTemplateColumns: "10% 80% 10%",
97
+ gridTemplateRows: `repeat(${n.length}, minmax(0, 1fr))`,
98
+ width: "100%",
99
+ height: "100%"
100
+ },
101
+ ...r,
102
+ children: n.map((e, t) => d(a, { children: [
103
+ u(f, { sx: o(t, 0) }),
104
+ u(f, {
105
+ sx: o(t, 1),
106
+ children: e
107
+ }),
108
+ u(f, { sx: o(t, 2) })
109
+ ] }, t))
110
+ });
111
+ });
112
+ E.displayName = "ScaleMiniGrid";
113
+ var D = o((e) => {
114
+ let { title: n, sheet: r, disabled: i, sx: a, className: o, children: s, ...c } = e, d = t(), p = !!c.onClick, m = u(f, {
115
+ component: p ? "button" : "div",
116
+ ...p ? { disabled: i } : null,
117
+ className: o ? `sxl-cf-preset-chip ${o}` : "sxl-cf-preset-chip",
118
+ ...r ? {
119
+ "data-sxl-theme-surface": "grid",
120
+ "data-sxl-theme-mode": d
121
+ } : null,
122
+ sx: {
123
+ width: "34px",
124
+ height: "26px",
125
+ padding: 0,
126
+ flex: "0 0 auto",
127
+ display: "flex",
128
+ alignItems: "center",
129
+ justifyContent: "center",
130
+ overflow: "hidden",
131
+ background: r ? h : "none",
132
+ color: r ? v : void 0,
133
+ border: (e) => `1px solid ${r ? g : e.palette.divider}`,
134
+ borderRadius: 1,
135
+ fontSize: "12px",
136
+ lineHeight: 1,
137
+ ...p ? {
138
+ cursor: "pointer",
139
+ "&:hover": { borderColor: "primary.main" },
140
+ "&:disabled": { cursor: "default" }
141
+ } : null,
142
+ ...a
143
+ },
144
+ ...c,
145
+ children: s
146
+ });
147
+ return n ? u(l, {
148
+ disableInteractive: !0,
149
+ title: n,
150
+ children: u(f, {
151
+ component: "span",
152
+ sx: {
153
+ display: "inline-flex",
154
+ flex: "0 0 auto"
155
+ },
156
+ children: m
157
+ })
158
+ }) : m;
159
+ });
160
+ D.displayName = "PresetChip";
161
+ export { v as a, T as c, y as i, p as l, _ as n, E as o, h as r, C as s, D as t, m as u };
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.1
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.11
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { n as e } from "./CAs1MWvJTcRfJy26.mjs";
7
+ import { n as e } from "./DDc6rDuU9JAo1DH_.mjs";
8
8
  import { InputField as t } from "./index.mjs";
9
9
  import { useReferenceMode as n } from "@sheetxl/react";
10
10
  import { useCallbackRef as r, useTranslator as i } from "@sheetxl/utils-react";
@@ -0,0 +1,381 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.11
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { t as e } from "./ClBvNPeNCAhuVWrG.mjs";
8
+ import { n as t } from "./DG21x7RKDpge6zAE.mjs";
9
+ import { i as n, n as r, t as i } from "./BokqKEpU6TFgfRs6.mjs";
10
+ import { t as a } from "./CynTY0oNtyJnoaBq.mjs";
11
+ import { n as o, r as s, t as c } from "./CTjqDD-swFMZzI-Y.mjs";
12
+ import { DynamicIcon as l, NotifierType as u, useNotifier as d, useTranslator as f } from "@sheetxl/utils-react";
13
+ import { forwardRef as p, memo as m, useCallback as h, useEffect as g, useMemo as _, useReducer as ee, useRef as v, useState as y } from "react";
14
+ import { SimpleTooltip as te } from "@sheetxl/utils-mui";
15
+ import { jsx as b, jsxs as x } from "react/jsx-runtime";
16
+ import { Box as S, Button as C, IconButton as ne, Typography as w } from "@mui/material";
17
+ var T = m((t) => {
18
+ let { children: r, messageKeys: i, onSave: o, onCancel: s, className: c, ...l } = t, u = f(), d = v(/* @__PURE__ */ new Set()), p = _(() => ({ register: (e) => (d.current.add(e), () => {
19
+ d.current.delete(e);
20
+ }) }), []), m = h(() => {
21
+ let e = !0;
22
+ for (let t of Array.from(d.current)) t() || (e = !1);
23
+ e && o();
24
+ }, [o]), g = _(() => e("sxl-items-editor", "sxl-anchor-items-editor", c, {}, n.editor), [c]);
25
+ return x(S, {
26
+ sx: {
27
+ display: "flex",
28
+ flexDirection: "column",
29
+ justifyContent: "space-between",
30
+ height: "100%",
31
+ gap: (e) => e.spacing(2)
32
+ },
33
+ ...l,
34
+ className: g,
35
+ children: [b(a.Provider, {
36
+ value: p,
37
+ children: r
38
+ }), b(S, {
39
+ className: n["editor-buttons"],
40
+ sx: {
41
+ gap: (e) => e.spacing(1),
42
+ paddingTop: (e) => e.spacing(2),
43
+ borderTop: (e) => `1px solid ${e.palette.divider}`
44
+ },
45
+ children: x(S, {
46
+ sx: {
47
+ display: "grid",
48
+ gridAutoFlow: "column",
49
+ gridAutoColumns: "1fr",
50
+ gap: (e) => e.spacing(1)
51
+ },
52
+ children: [b(C, {
53
+ variant: "outlined",
54
+ onClick: s,
55
+ children: u(i.cancel)
56
+ }), b(C, {
57
+ variant: "contained",
58
+ onClick: m,
59
+ children: u(i.save)
60
+ })]
61
+ })
62
+ })]
63
+ });
64
+ });
65
+ T.displayName = "EditorPanel";
66
+ var E = .5, re = 0, D = /* @__PURE__ */ new WeakMap(), O = m(p((a, p) => {
67
+ let { title: m, workbook: O, descriptor: k, args: A, headerActions: j, listActions: M, dragReorder: ie = !1, className: N, ...P } = a, F = f(), I = d(), L = k.messageKeys, R = _(() => {
68
+ let { createDraft: e, save: t, EditorBody: n } = k;
69
+ return e && t && n && L.cancel && L.save ? {
70
+ createDraft: e,
71
+ commit: t,
72
+ EditorBody: n,
73
+ keys: {
74
+ cancel: L.cancel,
75
+ save: L.save
76
+ }
77
+ } : null;
78
+ }, [k, L]), [z, B] = y(!1), [V, H] = y(null), [U, ae] = y(""), W = v(null), G = v(null), [oe, K] = ee((e) => e + 1, 0);
79
+ g(() => k.subscribe(O, {
80
+ onChange: () => K(),
81
+ onInvalidated: () => {
82
+ H(null), K();
83
+ }
84
+ }), [O, k]);
85
+ let q = v(void 0);
86
+ g(() => {
87
+ if (q.current === A) return;
88
+ q.current = A;
89
+ let e = A?.draft;
90
+ try {
91
+ let t = null, n = null;
92
+ e === void 0 ? A?.insert && R && !k.isReadOnly(O) ? t = R.createDraft(O) : A?.edit !== void 0 && R && !k.isReadOnly(O) && (n = A.edit, t = R.createDraft(O, n)) : k.isReadOnly(O) || (t = k.createSeededDraft?.(O, e) ?? null), t && H({
93
+ draft: t,
94
+ target: n
95
+ });
96
+ } catch (e) {
97
+ I.showMessage?.(e.message, { type: u.Error });
98
+ }
99
+ }, [
100
+ A,
101
+ O,
102
+ k,
103
+ R,
104
+ I
105
+ ]);
106
+ let J = v(O);
107
+ J.current !== O && (J.current = O, V !== null && H(null));
108
+ let Y = k.isReadOnly(O), X = !Y && R !== null, Z = ie && !Y && !!k.moveBy, Q = v(!1);
109
+ s(G, Z, Q);
110
+ let $ = h((e, t) => {
111
+ let n = k.getItems(O)[e];
112
+ if (n !== void 0) {
113
+ Q.current = !0;
114
+ try {
115
+ k.moveBy(n, t - e, O);
116
+ } catch (e) {
117
+ Q.current = !1, I.showMessage?.(e.message, { type: u.Error });
118
+ }
119
+ }
120
+ }, [
121
+ k,
122
+ O,
123
+ I
124
+ ]), se = h(async () => {
125
+ if (V && R) {
126
+ try {
127
+ await k.beforeSave?.(V.draft);
128
+ let e = k.validate?.(V.draft) ?? null;
129
+ if (e) return void I.showMessage?.(F(e), { type: u.Error });
130
+ await R.commit(O, V.draft, V.target);
131
+ } catch (e) {
132
+ I.showMessage?.(e.message, { type: u.Error });
133
+ return;
134
+ }
135
+ H(null);
136
+ }
137
+ }, [
138
+ V,
139
+ k,
140
+ R,
141
+ O,
142
+ I,
143
+ F
144
+ ]), ce = _(() => {
145
+ let e = k.getItems(O), t = !!k.getSearchText, n = t ? U.trim().toLowerCase() : "", a = n ? e.filter((e) => k.getSearchText(e, F).toLowerCase().includes(n)) : e, s = Z && !n, d = [];
146
+ if (e.length === 0) return d.push(b(S, { sx: { flex: "1 1 0" } }, "spacer-top")), d.push(x(S, {
147
+ sx: {
148
+ display: "flex",
149
+ flex: "0 0 auto",
150
+ flexDirection: "column",
151
+ alignItems: "center",
152
+ alignSelf: "center",
153
+ gap: (e) => e.spacing(2.5),
154
+ maxWidth: "min(360px, 90%)"
155
+ },
156
+ children: [b(w, {
157
+ variant: "body2",
158
+ align: "center",
159
+ children: X && L.addPrompt ? F(L.addPrompt) : F(L.none)
160
+ }), X && L.new && b(C, {
161
+ variant: "contained",
162
+ sx: { textTransform: "none" },
163
+ onClick: () => {
164
+ H({
165
+ draft: R.createDraft(O),
166
+ target: null
167
+ });
168
+ },
169
+ children: F(L.new)
170
+ })]
171
+ }, "no-items")), d.push(b(S, { sx: { flex: "1.5 1 0" } }, "spacer-bottom")), (j || M) && d.unshift(x(S, {
172
+ sx: {
173
+ display: "flex",
174
+ alignItems: "center",
175
+ justifyContent: "flex-end",
176
+ flex: "0 0 auto"
177
+ },
178
+ children: [j, M]
179
+ }, "header-actions")), d;
180
+ if (d.push(x(S, {
181
+ sx: {
182
+ display: "flex",
183
+ alignItems: "center",
184
+ justifyContent: "center"
185
+ },
186
+ children: [
187
+ b(S, {
188
+ sx: { flex: "1 1 100%" },
189
+ children: L.heading ? b(w, {
190
+ variant: "body2",
191
+ children: F(L.heading)
192
+ }) : null
193
+ }),
194
+ j,
195
+ X && L.insert && b(te, {
196
+ disableInteractive: !0,
197
+ title: F(L.insert),
198
+ children: b(ne, {
199
+ onClick: (e) => {
200
+ e.stopPropagation(), H({
201
+ draft: R.createDraft(O),
202
+ target: null
203
+ });
204
+ },
205
+ children: b(l, { iconKey: "Insert" })
206
+ })
207
+ }, "add-new")
208
+ ]
209
+ }, "add-new")), t && d.push(b(i, {
210
+ value: U,
211
+ onChange: ae,
212
+ placeholder: L.search ? F(L.search) : void 0,
213
+ clearLabel: L.clearSearch ? F(L.clearSearch) : void 0,
214
+ sx: {
215
+ flexShrink: 0,
216
+ mx: E
217
+ }
218
+ }, "search")), M && d.push(b(S, {
219
+ sx: {
220
+ display: "flex",
221
+ alignItems: "center",
222
+ justifyContent: "flex-end",
223
+ flex: "0 0 auto",
224
+ mx: E,
225
+ mt: -.5
226
+ },
227
+ children: M
228
+ }, "list-actions")), a.length === 0) return d.push(b(S, { sx: { flex: "1 1 0" } }, "spacer-top")), d.push(b(w, {
229
+ variant: "body2",
230
+ align: "center",
231
+ sx: {
232
+ color: "text.secondary",
233
+ alignSelf: "center",
234
+ maxWidth: "min(360px, 90%)"
235
+ },
236
+ children: L.noMatches ? F(L.noMatches) : null
237
+ }, "no-matches")), d.push(b(S, { sx: { flex: "1.5 1 0" } }, "spacer-bottom")), d;
238
+ let f = a.map((e) => k.getItemKey?.(e) ?? ((e) => {
239
+ let t = D.get(e);
240
+ return t === void 0 && (t = "item-" + re++, D.set(e, t)), t;
241
+ })(e)), p = [];
242
+ a.forEach((t, i) => {
243
+ let a = k.isItemReadOnly?.(t, O) ?? Y, o = n ? e.indexOf(t) : i, l = b(r, {
244
+ item: t,
245
+ messageKeys: L,
246
+ title: k.getCardTitle(t, F),
247
+ subtitle: k.getCardSubtitle?.(t, F),
248
+ Subtitle: k.CardSubtitle,
249
+ readOnly: a,
250
+ canMoveUp: o > 0,
251
+ canMoveDown: o < e.length - 1,
252
+ onMoveBy: k.moveBy ? (e) => k.moveBy(t, e, O) : void 0,
253
+ onDuplicate: k.duplicate ? () => {
254
+ try {
255
+ k.duplicate(t, O);
256
+ } catch (e) {
257
+ I.showMessage?.(e.message, { type: u.Error });
258
+ }
259
+ } : void 0,
260
+ onDelete: () => {
261
+ try {
262
+ k.delete(t, O);
263
+ } catch (e) {
264
+ I.showMessage?.(e.message, { type: u.Error });
265
+ }
266
+ },
267
+ onEdit: R ? () => H({
268
+ draft: R.createDraft(O, t),
269
+ target: t
270
+ }) : void 0,
271
+ onSelect: k.select ? () => {
272
+ try {
273
+ k.select(t, O);
274
+ } catch (e) {
275
+ I.showMessage?.(e.message, { type: u.Error });
276
+ }
277
+ } : void 0,
278
+ subscribeItem: k.subscribeItem,
279
+ Media: k.CardMedia,
280
+ Body: k.CardBody
281
+ }, f[i]);
282
+ p.push(s ? b(c, {
283
+ id: f[i],
284
+ disabled: a,
285
+ children: l
286
+ }, f[i]) : l);
287
+ });
288
+ let m = b(S, {
289
+ ref: G,
290
+ sx: {
291
+ display: "flex",
292
+ flex: "1 1 auto",
293
+ flexDirection: "column",
294
+ overflowY: "auto",
295
+ overflowX: "visible",
296
+ paddingLeft: (e) => e.spacing(E),
297
+ paddingRight: (e) => e.spacing(E),
298
+ paddingTop: (e) => e.spacing(E),
299
+ paddingBottom: (e) => e.spacing(E),
300
+ gap: (e) => e.spacing(1.5)
301
+ },
302
+ children: p
303
+ }, "list-container");
304
+ return d.push(s ? b(o, {
305
+ ids: f,
306
+ onMove: $,
307
+ scrollRef: G,
308
+ children: m
309
+ }, "list-container") : m), d;
310
+ }, [
311
+ oe,
312
+ F,
313
+ Y,
314
+ X,
315
+ R,
316
+ O,
317
+ k,
318
+ j,
319
+ M,
320
+ I,
321
+ Z,
322
+ $,
323
+ U
324
+ ]), le = _(() => e("sxl-items-details", "sxl-anchor-items-details", `sxl-${k.key}-details`, N, {
325
+ editing: V !== null,
326
+ "sxl-has-focus": z,
327
+ "sxl-read-only": Y
328
+ }, n["details-panel"]), [
329
+ N,
330
+ z,
331
+ Y,
332
+ V,
333
+ k
334
+ ]), ue = t([W, p]);
335
+ if (V !== null && R) {
336
+ let e = R.EditorBody;
337
+ return b(S, {
338
+ onFocus: () => B(!0),
339
+ onBlur: (e) => {
340
+ W?.current?.contains(e.relatedTarget) || B(!1);
341
+ },
342
+ ref: ue,
343
+ sx: {
344
+ paddingLeft: (e) => e.spacing(1.5),
345
+ paddingRight: (e) => e.spacing(1.5),
346
+ paddingTop: (e) => e.spacing(1.5),
347
+ paddingBottom: (e) => e.spacing(1.5)
348
+ },
349
+ className: le,
350
+ ...P,
351
+ children: b(T, {
352
+ messageKeys: R.keys,
353
+ onSave: se,
354
+ onCancel: () => H(null),
355
+ children: b(e, {
356
+ draft: V.draft,
357
+ workbook: O
358
+ })
359
+ })
360
+ });
361
+ }
362
+ return b(S, {
363
+ onFocus: () => B(!0),
364
+ onBlur: (e) => {
365
+ W?.current?.contains(e.relatedTarget) || B(!1);
366
+ },
367
+ ref: ue,
368
+ sx: {
369
+ gap: (e) => e.spacing(1),
370
+ paddingLeft: (e) => e.spacing(1.5),
371
+ paddingRight: (e) => e.spacing(1.5),
372
+ paddingTop: (e) => e.spacing(1.5),
373
+ paddingBottom: (e) => e.spacing(1.5)
374
+ },
375
+ className: le,
376
+ ...P,
377
+ children: ce
378
+ });
379
+ }));
380
+ O.displayName = "ItemsPanel";
381
+ export { O as t };
@@ -0,0 +1,71 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.11
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { c as e, t } from "./BvhYPwX3GrRaO9CM.mjs";
8
+ import { t as n } from "./zqilJefihVd7At2T.mjs";
9
+ import { IFill as r, ShapeStyleUtils as i } from "@sheetxl/sdk";
10
+ import { useGridColorScheme as a } from "@sheetxl/react";
11
+ import { useTranslator as o } from "@sheetxl/utils-react";
12
+ import { memo as s, useEffect as c, useReducer as l } from "react";
13
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
14
+ import { Box as f, Typography as p } from "@mui/material";
15
+ var m = (e, t, n) => {
16
+ let a = e.toJSON(), o = null;
17
+ try {
18
+ o = n.getTheme()?.toJSON() ?? null;
19
+ } catch {
20
+ o = null;
21
+ }
22
+ let s = i.resolve(a ? {
23
+ ...a,
24
+ stroke: void 0
25
+ } : null, o, i.inheritedGroupFill(t)).stroke?.fill, c = s?.type === r.Type.Solid ? s.color : void 0;
26
+ return c ? n.parseColor(c) : n.getNormal().getFont().getColor();
27
+ }, h = (e) => u(p, {
28
+ variant: "subtitle2",
29
+ component: "div",
30
+ children: e.children
31
+ }), g = s((r) => {
32
+ let { movable: i, sheet: s } = r, p = o(), g = i.getContent(), [, _] = l((e) => e + 1, 0);
33
+ c(() => g.addListeners({ onAnyChange: _ }), [g]);
34
+ let v = s.getStyles(), y = a() === "dark", b = g.isReadOnly(), x = g.getStyle(), S = {
35
+ fill: x.getFill(),
36
+ styles: v,
37
+ schemeLookup: v.schemeLookup(),
38
+ darkMode: y,
39
+ disabled: b,
40
+ createCell: (e) => s.createCell(e),
41
+ applyFill: (e, t) => {
42
+ x.setFill(e, { description: t });
43
+ }
44
+ }, C = {
45
+ stroke: x.getStroke(),
46
+ stated: x.toJSON()?.stroke ?? null,
47
+ autoColor: m(g, i, v),
48
+ styles: v,
49
+ schemeLookup: v.schemeLookup(),
50
+ darkMode: y,
51
+ disabled: b,
52
+ applyStroke: (e, t) => {
53
+ x.setStroke(e, { description: t });
54
+ }
55
+ };
56
+ return d(f, {
57
+ sx: {
58
+ ...e,
59
+ gap: 2,
60
+ paddingTop: (e) => e.spacing(1)
61
+ },
62
+ children: [
63
+ u(h, { children: p("shape.pane.fill") }),
64
+ u(t, { selection: S }),
65
+ u(h, { children: p("shape.pane.line") }),
66
+ u(n, { selection: C })
67
+ ]
68
+ });
69
+ });
70
+ g.displayName = "ShapeFormatPanel";
71
+ export { g as ShapeFormatPanel };
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.1
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.11
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { i as e, n as t, r as n } from "./BZBJG2tDdD3-VujP.mjs";
7
+ import { i as e, n as t, r as n } from "./COlZu93LRwuBvjE-.mjs";
8
8
  import { useReferenceMode as r, useWorkbook as i } from "@sheetxl/react";
9
9
  import { useCallbackRef as a, useTranslator as o } from "@sheetxl/utils-react";
10
10
  import { memo as s, useMemo as c, useRef as l, useState as u } from "react";
@@ -16,20 +16,21 @@ var m = s((s) => {
16
16
  E,
17
17
  w
18
18
  ]), N = b ?? M[0], P = f(N), [F] = u(() => {
19
- let e = T?.getSelectedSheet()?.getSelectedCell();
19
+ let e = T?.getSelectedWorksheet()?.getSelectedCell();
20
20
  return e ? {
21
21
  ...e.getCoords(),
22
- scope: e.getSheet().getName()
22
+ scope: e.getWorksheet().getName()
23
23
  } : void 0;
24
24
  }), I = !!r().getMode()?.activeInput, L = l(!1), R = a((e, n, r) => {
25
- if (n || e !== t.Next) if (n || e !== t.Back) {
26
- if (!n && O) {
27
- let e = E === "arguments" && !!A;
28
- L.current = !e, v?.(e ? A : O);
29
- }
30
- g?.(e, n, r), _?.();
31
- } else D("search");
32
- else D("arguments");
25
+ if (n || e !== t.Next) {
26
+ if (n || e !== t.Back) {
27
+ if (!n && O) {
28
+ let e = E === "arguments" && !!A;
29
+ L.current = !e, v?.(e ? A : O);
30
+ }
31
+ g?.(e, n, r), _?.();
32
+ } else D("search");
33
+ } else D("arguments");
33
34
  }, [
34
35
  E,
35
36
  A,