@sheetxl/studio-mui 0.8.0-beta.2 → 0.8.0-beta.20

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 (299) hide show
  1. package/LICENSE.md +17 -7
  2. package/browser/esm/3xocDjPLOJXjOs3x.mjs +633 -0
  3. package/browser/esm/4RkuBXBVmw7VYQ2a.mjs +490 -0
  4. package/browser/esm/6R-JS1ZrhnwQAyOl.mjs +975 -0
  5. package/browser/esm/B4L3swgLGqcOHo7U.mjs +335 -0
  6. package/browser/esm/BAFzUBAc7BpGUWl_.mjs +87 -0
  7. package/browser/esm/{DIGlcemS7napWyKW.mjs → BENsK9C3A3CnZyXZ.mjs} +8 -6
  8. package/browser/esm/BRnwCembfaZpk0sc.mjs +1288 -0
  9. package/browser/esm/BSVc4NYkBnFa7T_w.mjs +119 -0
  10. package/browser/esm/{C5-J1xiO3O1-qaaP.mjs → BTWjCKBwd6qXldxi.mjs} +83 -95
  11. package/browser/esm/BWSZkGPSgg9pPKni.mjs +1550 -0
  12. package/browser/esm/{B1YOQZHyO_dmHUN4.mjs → BXVE3yfw5gdtyl-s.mjs} +2 -2
  13. package/browser/esm/Bfb84N1ywaVZm9kH.mjs +72 -0
  14. package/browser/esm/{C2Eke_9Dj_m6mtMj.mjs → BrZVnbTt-3DeAMxo.mjs} +47 -48
  15. package/browser/esm/BrdpRbJ-xKeF87FO.mjs +392 -0
  16. package/browser/esm/{xGJU5xUJx3HF317Q.mjs → BtrFK5bYpBJfHRDr.mjs} +14 -13
  17. package/browser/esm/BuSv-OgJpZJGjcyA.mjs +318 -0
  18. package/browser/esm/C1XMVwyIJNbYmtkV.mjs +414 -0
  19. package/browser/esm/{DE7MVTTfExTzvyMW.mjs → C2MuUgU0H05eZ5qQ.mjs} +33 -31
  20. package/browser/esm/{Dv3hSCyjvwo6GcH1.mjs → C5ZWkOAoFpcZwFw2.mjs} +4 -4
  21. package/browser/esm/C72jL8eQk_hPFDLn.mjs +8 -0
  22. package/browser/esm/CDJ0jdx7Km3a5v6w.mjs +294 -0
  23. package/browser/esm/CGDNdoMTlI8f1kRw.mjs +14 -0
  24. package/browser/esm/{Bo74PCF42KVYJF0j.mjs → CGomW4hI6SQ96yIm.mjs} +4 -4
  25. package/browser/esm/CHT8_XB3_hp307XA.mjs +68 -0
  26. package/browser/esm/{CppDmJ4ckCH3alQf.mjs → COkfKd7FvEtpgAAI.mjs} +156 -109
  27. package/browser/esm/CSgwY4Yb3l0WoprP.mjs +225 -0
  28. package/browser/esm/CgvHVv7iIzRRgmlF.mjs +197 -0
  29. package/browser/esm/ClqW5S7FR6Pwmp1U.mjs +442 -0
  30. package/browser/esm/ColttpEsydVwkHtf.mjs +77 -0
  31. package/browser/esm/Cvwz0PddEGW1FJ4c.mjs +94 -0
  32. package/browser/esm/CzfkYZGGhFc_gq0P.mjs +424 -0
  33. package/browser/esm/D-3WlyQuxUZCwLkb.mjs +831 -0
  34. package/browser/esm/D3Aests6-QUrBfmJ.mjs +235 -0
  35. package/browser/esm/D3bI-7D37_22_-T9.mjs +31 -0
  36. package/browser/esm/D7ZdGXqJXmdAHu8I.mjs +14 -0
  37. package/browser/esm/D83oSH8xR3JfeRjI.mjs +242 -0
  38. package/browser/esm/DCxc5HMSf1ZSHRoi.mjs +412 -0
  39. package/browser/esm/{DSGFnb1gYyL22p0t.mjs → DF0hjPW_C_3TpnDs.mjs} +20 -18
  40. package/browser/esm/DGFdTu5VfKecMohK.mjs +386 -0
  41. package/browser/esm/DHrJOjy3Du7ZBo96.mjs +360 -0
  42. package/browser/esm/DIZ9pueRPHaNzQqo.mjs +103 -0
  43. package/browser/esm/DMifD__JRvHH4COB.mjs +106 -0
  44. package/browser/esm/{D7fA9EyCNSzQMgxg.mjs → DQNnDQPNut_4wO6Y.mjs} +2 -2
  45. package/browser/esm/D_VpGjXScR-D-TWZ.mjs +2699 -0
  46. package/browser/esm/DdtM4Sy4hFIFwWvO.mjs +13 -0
  47. package/browser/esm/De7cege6OU7QJqBb.mjs +225 -0
  48. package/browser/esm/{iM5uEM9H4e8HGt5y.mjs → DobmIAozt-IiJp1P.mjs} +3 -3
  49. package/browser/esm/DwYjy-b-w1xnqteA.mjs +267 -0
  50. package/browser/esm/JBCZvp0T2f4n-Csb.mjs +94 -0
  51. package/browser/esm/LOzFCd9lrGWhNoCz.mjs +161 -0
  52. package/browser/esm/LQC_4LWJQR_JjcxV.mjs +141 -0
  53. package/browser/esm/UC9qbIWz2dYrCbJn.mjs +252 -0
  54. package/browser/esm/{CNLLwRPWnd4PJgPO.mjs → VoncM-mkj4eoKD1J.mjs} +5 -5
  55. package/browser/esm/{BlZiWp3SB3wH5O38.mjs → bOlMSpqTkmRboj5-.mjs} +4 -4
  56. package/browser/esm/hbiHjiOvIyYM3TIl.mjs +517 -0
  57. package/browser/esm/index.mjs +1878 -286
  58. package/browser/esm/mlTMBwB5PG7Fo1mU.mjs +8547 -0
  59. package/browser/esm/nmox4_ypwR5ILBKj.mjs +516 -0
  60. package/browser/esm/p-2ZZeZwGZfutcDk.mjs +973 -0
  61. package/browser/esm/{_v6Wbw_y3QgJy3qY.mjs → xLnpGjmsP-zJuXUE.mjs} +2 -2
  62. package/licenses/dependencies.txt +113 -366
  63. package/node/esm/3MP8rnjjEE0LpSoH.mjs +638 -0
  64. package/node/esm/{C0M1VbsIRuRauUI-.mjs → 539u16kqHOnXHBnN.mjs} +85 -97
  65. package/node/esm/{BMoRatciTqOi1HkT.mjs → B1WnY8cmRz7W1yrZ.mjs} +21 -21
  66. package/node/esm/B5kuWO6ix3DmmdhQ.mjs +391 -0
  67. package/node/esm/{DN-bhyNbuBbNB0Ky.mjs → BCYThTuIrSXfyd-N.mjs} +3 -3
  68. package/node/esm/{DVshSSmP5QZU7GoY.mjs → BJLg7uLC_b9f_1NJ.mjs} +29 -29
  69. package/node/esm/BWIatgbno8eMdTy4.mjs +385 -0
  70. package/node/esm/BXKb4oUGpTWCF8ni.mjs +412 -0
  71. package/node/esm/B_TEor8YFmwmyhWj.mjs +294 -0
  72. package/node/esm/Bqda2dQ0l75gjnDb.mjs +267 -0
  73. package/node/esm/BqkiJZsCP2hEkJs9.mjs +142 -0
  74. package/node/esm/C-s3vhDAhWAnJntP.mjs +118 -0
  75. package/node/esm/CAfDDLrXsXte2avr.mjs +224 -0
  76. package/node/esm/{DvMAUBSQsZmIsRxi.mjs → CDj1mR4aA0wufjjK.mjs} +2 -2
  77. package/node/esm/CJX21c9lbs0lFHFH.mjs +14 -0
  78. package/node/esm/CN5U8EzIhztKzktG.mjs +425 -0
  79. package/node/esm/CY8Mel9qXoQcoE6D.mjs +516 -0
  80. package/node/esm/Cs9OyntWvICLrQk-.mjs +141 -0
  81. package/node/esm/{BoDCV8cDmFVAYtaW.mjs → CsnknBUOfx3FVTP_.mjs} +2 -2
  82. package/node/esm/{CCWQ116Z67Kz78Uo.mjs → D8RVd9U84QC8lAvP.mjs} +33 -31
  83. package/node/esm/DAuVxjZwldORNkvx.mjs +1838 -0
  84. package/node/esm/DLx_RKfK6MMX0tiy.mjs +94 -0
  85. package/node/esm/DSZIOgi3X_EmsT65.mjs +106 -0
  86. package/node/esm/D_dyzcsGBlCNrIVJ.mjs +73 -0
  87. package/node/esm/Dbg6kW_63xZ_x2es.mjs +975 -0
  88. package/node/esm/DcIZXVJ5TJYu8Xf1.mjs +68 -0
  89. package/node/esm/DcIySopuRr-At74Y.mjs +94 -0
  90. package/node/esm/{DVaQ6xIbKQgBk0uw.mjs → Dpzk8tIhwke93vji.mjs} +70 -71
  91. package/node/esm/FHL9tW8a0eqpp8dm.mjs +1283 -0
  92. package/node/esm/GeLMvw9JlqlFr6jw.mjs +972 -0
  93. package/node/esm/{BJi0FlhIqCMEwROu.mjs → N8h_Ft32UJATwjlk.mjs} +190 -141
  94. package/node/esm/{cJDXopFIX6f3_oi3.mjs → VeNMuIWoztqGMKsZ.mjs} +2 -2
  95. package/node/esm/XJAfD-_V2Sx4aW33.mjs +77 -0
  96. package/node/esm/bIfQAr55kQq2xXaT.mjs +197 -0
  97. package/node/esm/e5DJjIF9cuF9r_ub.mjs +242 -0
  98. package/node/esm/h0ih_bazDGjgIXQd.mjs +489 -0
  99. package/node/esm/index.mjs +10334 -8697
  100. package/node/esm/rEdJke7xorzb_Nmh.mjs +519 -0
  101. package/node/esm/uCFRHXTVhzTQ53TT.mjs +319 -0
  102. package/node/esm/{DAji2BXelmIUxioS.mjs → ymnOnQfaRduubuPk.mjs} +23 -23
  103. package/package.json +16 -19
  104. package/resources/contents.json +6 -0
  105. package/resources/locales/contents.json +14 -0
  106. package/resources/locales/de/groups.cmd.json +61 -10
  107. package/resources/locales/de/ui.msg.json +293 -17
  108. package/resources/locales/de/workbookAnomalies.cmd.json +14 -0
  109. package/resources/locales/en/groups.cmd.json +71 -11
  110. package/resources/locales/en/ui.msg.json +298 -17
  111. package/resources/locales/en/workbookAnomalies.cmd.json +14 -0
  112. package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +10 -4
  113. package/types/src/anomalies/AnomaliesCommands.d.ts +8 -0
  114. package/types/src/anomalies/AnomaliesMessages.d.ts +30 -0
  115. package/types/src/anomalies/AnomaliesPlugin.d.ts +12 -0
  116. package/types/src/anomalies/AnomaliesTaskPane.d.ts +17 -0
  117. package/types/src/anomalies/_source.d.ts +7 -0
  118. package/types/src/anomalies/index.d.ts +3 -0
  119. package/types/src/border/BorderPopupButton.d.ts +1 -1
  120. package/types/src/border/BorderTemplateIcon.d.ts +6 -1
  121. package/types/src/chart/ChartFormatPanel.d.ts +20 -0
  122. package/types/src/chart/ChartPlugin.d.ts +6 -0
  123. package/types/src/chart/index.d.ts +3 -0
  124. package/types/src/color/ColorPopupButton.d.ts +1 -1
  125. package/types/src/command/AccountingStyleCommandButton.d.ts +1 -1
  126. package/types/src/command/ColorCommandButton.d.ts +5 -0
  127. package/types/src/command/DocThemeCommandButton.d.ts +1 -1
  128. package/types/src/command/FontFamilyCommandButton.d.ts +1 -1
  129. package/types/src/command/FontSizeCommandButton.d.ts +1 -1
  130. package/types/src/command/InsertCellControlCommandButton.d.ts +17 -0
  131. package/types/src/command/LanguageCommandButton.d.ts +1 -1
  132. package/types/src/command/LocaleCommandButton.d.ts +1 -1
  133. package/types/src/command/PresetCellStylesCommandButton.d.ts +3 -3
  134. package/types/src/command/PresetPivotStylesCommandButton.d.ts +17 -0
  135. package/types/src/command/SheetZoomCommandButton.d.ts +4 -3
  136. package/types/src/command/index.d.ts +2 -0
  137. package/types/src/comments/CommentCard.d.ts +41 -0
  138. package/types/src/comments/CommentsPlugin.d.ts +6 -0
  139. package/types/src/comments/CommentsTaskPane.d.ts +23 -0
  140. package/types/src/comments/index.d.ts +4 -0
  141. package/types/src/conditionalFormat/ConditionalFormatPlugin.d.ts +1 -1
  142. package/types/src/conditionalFormat/ConditionalFormatStylePicker.d.ts +4 -4
  143. package/types/src/conditionalFormat/IconPickerPopupButton.d.ts +3 -3
  144. package/types/src/conditionalFormat/IconSetRulePanel.d.ts +1 -1
  145. package/types/src/conditions/BetweenOption.d.ts +5 -0
  146. package/types/src/conditions/CombinatorOption.d.ts +7 -0
  147. package/types/src/conditions/ConditionEditor.d.ts +55 -3
  148. package/types/src/conditions/ConditionUtils.d.ts +34 -6
  149. package/types/src/conditions/ExpressionOption.d.ts +6 -0
  150. package/types/src/conditions/MembershipOption.d.ts +67 -0
  151. package/types/src/conditions/OperatorAndParamEditor.d.ts +36 -1
  152. package/types/src/conditions/OperatorSelectPopupButton.d.ts +1 -1
  153. package/types/src/conditions/ScalarOption.d.ts +19 -0
  154. package/types/src/conditions/SelectorSelect.d.ts +16 -7
  155. package/types/src/conditions/index.d.ts +1 -1
  156. package/types/src/conditions/useFormulaOption.d.ts +2 -2
  157. package/types/src/dataValidation/DataValidationEditorPanel.d.ts +9 -5
  158. package/types/src/dataValidation/DataValidationIcon.d.ts +1 -1
  159. package/types/src/dataValidation/DataValidationPlugin.d.ts +1 -1
  160. package/types/src/dialog/HyperlinkDialog.d.ts +15 -0
  161. package/types/src/dialog/OutlineSettingsDialog.d.ts +12 -0
  162. package/types/src/dialog/PivotTableNewDialog.d.ts +11 -0
  163. package/types/src/dialog/SparklineEditDialog.d.ts +10 -0
  164. package/types/src/dialog/SparklineNewDialog.d.ts +23 -0
  165. package/types/src/dialog/WorkbookStatisticsDialog.d.ts +1 -1
  166. package/types/src/dialog/_ShortcutSearch.d.ts +26 -0
  167. package/types/src/dialog/index.d.ts +0 -1
  168. package/types/src/externalLink/ExternalLinkSettingsTab.d.ts +1 -1
  169. package/types/src/externalLink/ExternalLinksPlugin.d.ts +1 -1
  170. package/types/src/fill/GradientEditor.d.ts +15 -13
  171. package/types/src/fill/GradientStopsBar.d.ts +43 -0
  172. package/types/src/fill/PatternPopupButton.d.ts +1 -1
  173. package/types/src/fill/index.d.ts +1 -0
  174. package/types/src/filter/ColumnMenu.d.ts +31 -1
  175. package/types/src/filter/PivotMenu.d.ts +31 -0
  176. package/types/src/filter/index.d.ts +1 -1
  177. package/types/src/form/FormulaField.d.ts +10 -4
  178. package/types/src/form/InputField.d.ts +5 -5
  179. package/types/src/format/AlignmentPanel.d.ts +1 -2
  180. package/types/src/format/BorderPreview.d.ts +33 -16
  181. package/types/src/format/FillPanel.d.ts +42 -2
  182. package/types/src/format/FormatPanelParts.d.ts +3 -1
  183. package/types/src/format/FormatPlugin.d.ts +1 -6
  184. package/types/src/format/LinePanel.d.ts +53 -0
  185. package/types/src/format/LinePreviews.d.ts +71 -0
  186. package/types/src/format/index.d.ts +1 -0
  187. package/types/src/format/useFormatSelection.d.ts +7 -6
  188. package/types/src/formulaBar/IFormulaBar.d.ts +32 -3
  189. package/types/src/formulaBar/MobileFormulaBar.d.ts +42 -0
  190. package/types/src/formulaBar/MobileInputToolbar.d.ts +43 -0
  191. package/types/src/formulaBar/index.d.ts +3 -0
  192. package/types/src/formulaBar/useFormulaBarSession.d.ts +68 -0
  193. package/types/src/index.d.ts +19 -5
  194. package/types/src/itemsPanel/EditorCommit.d.ts +32 -0
  195. package/types/src/itemsPanel/EditorPanel.d.ts +1 -2
  196. package/types/src/itemsPanel/ItemCard.d.ts +50 -7
  197. package/types/src/itemsPanel/ItemsDescriptor.d.ts +13 -0
  198. package/types/src/itemsPanel/ItemsPanel.d.ts +5 -0
  199. package/types/src/itemsPanel/ItemsSearchField.d.ts +17 -0
  200. package/types/src/itemsPanel/index.d.ts +2 -0
  201. package/types/src/named/NamedDetailsPanel.d.ts +2 -2
  202. package/types/src/named/NamedPlugin.d.ts +1 -1
  203. package/types/src/picture/PicturePlugin.d.ts +6 -0
  204. package/types/src/picture/index.d.ts +2 -0
  205. package/types/src/pivot/PivotChipMenu.d.ts +10 -0
  206. package/types/src/pivot/PivotPlugin.d.ts +3 -0
  207. package/types/src/pivot/PivotStyleCanvasPreview.d.ts +23 -0
  208. package/types/src/pivot/PivotTableHeader.d.ts +12 -0
  209. package/types/src/pivot/PivotValueSettingsDialog.d.ts +15 -0
  210. package/types/src/pivot/_pivotSource.d.ts +7 -0
  211. package/types/src/presence/PresenceOverlay.d.ts +14 -0
  212. package/types/src/presence/PresencePlugin.d.ts +31 -0
  213. package/types/src/presence/PresenceStrip.d.ts +22 -0
  214. package/types/src/presence/PresenceTaskPane.d.ts +13 -0
  215. package/types/src/presence/Timeline.d.ts +29 -0
  216. package/types/src/presence/index.d.ts +5 -0
  217. package/types/src/protection/ProtectedCellsPanel.d.ts +3 -3
  218. package/types/src/protection/ProtectionPlugin.d.ts +1 -1
  219. package/types/src/protection/{SheetProtectionPanel.d.ts → WorksheetProtectionPanel.d.ts} +6 -6
  220. package/types/src/protection/index.d.ts +1 -1
  221. package/types/src/shape/ShapeFormatPanel.d.ts +11 -0
  222. package/types/src/shape/ShapeGalleryCommandButton.d.ts +18 -0
  223. package/types/src/shape/ShapePlugin.d.ts +8 -0
  224. package/types/src/shape/index.d.ts +3 -0
  225. package/types/src/slicer/InsertSlicerCommandButton.d.ts +13 -0
  226. package/types/src/slicer/PresetSlicerStylesCommandButton.d.ts +12 -0
  227. package/types/src/slicer/SlicerPlugin.d.ts +6 -0
  228. package/types/src/slicer/index.d.ts +3 -0
  229. package/types/src/statusBar/PendingStatus.d.ts +19 -0
  230. package/types/src/statusBar/SheetZoomScale.d.ts +6 -0
  231. package/types/src/statusBar/index.d.ts +1 -0
  232. package/types/src/studio/CommandsWrapper.d.ts +2 -0
  233. package/types/src/studio/StudioCommandProvider.d.ts +7 -0
  234. package/types/src/studio/StudioCommands.d.ts +2 -2
  235. package/types/src/studio/StudioProps.d.ts +50 -22
  236. package/types/src/studio/StudioSplitPane.d.ts +1 -1
  237. package/types/src/studio/formulaBarPlacement.d.ts +35 -0
  238. package/types/src/studio/useStudioApp.d.ts +23 -23
  239. package/types/src/table/TablePlugin.d.ts +1 -1
  240. package/types/src/table/_drawStyleSwatch.d.ts +25 -0
  241. package/types/src/template/TemplateDialog.d.ts +1 -1
  242. package/types/src/template/TemplatePanel.d.ts +5 -1
  243. package/types/src/template/TemplateSearchField.d.ts +17 -1
  244. package/types/src/template/categoryColor.d.ts +8 -0
  245. package/types/src/template/useTemplateCatalog.d.ts +7 -5
  246. package/types/src/theme/ThemeSelectPopupButton.d.ts +1 -1
  247. package/types/src/toolbar/WorkbookToolbars.d.ts +2 -2
  248. package/types/src/workbook/DefaultRenderers.d.ts +45 -15
  249. package/types/src/workbook/OutlineButtons.d.ts +11 -0
  250. package/types/src/workbook/WorkbookContextMenu.d.ts +4 -0
  251. package/types/src/workbook/WorkbookElement.d.ts +5 -4
  252. package/types/src/workbook/WorkbookStrip.d.ts +8 -7
  253. package/types/src/workbook/index.d.ts +1 -1
  254. package/browser/cjs/3k_KqDFr-AybPztc.cjs +0 -5
  255. package/browser/cjs/3uprnzi2l0iT17Dg.cjs +0 -1
  256. package/browser/cjs/B9GcCj7sj8XdjPZF.cjs +0 -1
  257. package/browser/cjs/BGvoJjUs21bbuE1i.cjs +0 -1
  258. package/browser/cjs/BHb7TnK1NmimV4OX.cjs +0 -1
  259. package/browser/cjs/BJ-wdkCaXqJaejKf.cjs +0 -1
  260. package/browser/cjs/BNqyPYRxYISp-uEg.cjs +0 -1
  261. package/browser/cjs/BQJKf40kttQWOzLw.cjs +0 -20
  262. package/browser/cjs/BTZ5uzK0wHzpiZGC.cjs +0 -1
  263. package/browser/cjs/BXkdjAb4jpTr412c.cjs +0 -1
  264. package/browser/cjs/Bc-YisjBtD56vBAW.cjs +0 -1
  265. package/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +0 -1
  266. package/browser/cjs/C97KHSuikAbr1qVM.cjs +0 -1
  267. package/browser/cjs/CPSc2VSYZeZ1B9mi.cjs +0 -1
  268. package/browser/cjs/CPcBvw4ZPwHVTUZF.cjs +0 -1
  269. package/browser/cjs/CdDYyAfccXme8w6m.cjs +0 -1
  270. package/browser/cjs/CuqM721PsKey3yMP.cjs +0 -1
  271. package/browser/cjs/Cy_XmYq6BsWmCXkk.cjs +0 -3
  272. package/browser/cjs/D948H7ell-f87BX3.cjs +0 -1
  273. package/browser/cjs/Dy6O3OWbDBKIj_Ak.cjs +0 -8
  274. package/browser/cjs/KZvriGbhEOVkQD0b.cjs +0 -1
  275. package/browser/cjs/M0_dvdYwhikqP9kg.cjs +0 -2
  276. package/browser/cjs/QI6GKw7uo1f8gY8C.cjs +0 -1
  277. package/browser/cjs/eCw4rAEIYE3BftpG.cjs +0 -1
  278. package/browser/cjs/iMWEL01eC83oU-YY.cjs +0 -1
  279. package/browser/cjs/index.cjs +0 -2
  280. package/browser/cjs/rCZbExyf1Q3aHloQ.cjs +0 -13
  281. package/browser/esm/894KM-_Oc5cB6ExA.mjs +0 -97
  282. package/browser/esm/BQSamOMBAoFdQdJe.mjs +0 -12903
  283. package/browser/esm/CIbDvsCeLOFHzzId.mjs +0 -152
  284. package/browser/esm/CyHNVjgkMYZYlJpY.mjs +0 -5315
  285. package/browser/esm/D8VPmFDvXDE778_x.mjs +0 -222
  286. package/browser/esm/DEEnXLhYlUARg6MU.mjs +0 -410
  287. package/browser/esm/DN4cwAPYCrtR4gS9.mjs +0 -236
  288. package/browser/esm/DlEshYp6NPfHxFvI.mjs +0 -115
  289. package/browser/esm/GmQ9XFFY3hi1L_Ej.mjs +0 -1150
  290. package/browser/esm/z3zkU7Jf3WJ2_Z_P.mjs +0 -52
  291. package/node/esm/BI8XFczUY--Db2n3.mjs +0 -98
  292. package/node/esm/BgxeTfCn3jZHGwd7.mjs +0 -414
  293. package/node/esm/C_oV7ldFStOF_fAd.mjs +0 -115
  294. package/node/esm/Dbv0IltYad9SQrj3.mjs +0 -236
  295. package/node/esm/OmUP1AfaJcOxWQAg.mjs +0 -4462
  296. package/types/src/conditions/DateTimeOption.d.ts +0 -43
  297. package/types/src/conditions/ListSourceOption.d.ts +0 -31
  298. package/types/src/dialog/CommentsDialog.d.ts +0 -11
  299. package/types/src/filter/FilterList.d.ts +0 -31
@@ -0,0 +1,516 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.20
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: MIT
6
+ */
7
+ import { ColorPopupButton as e } from "./index.mjs";
8
+ import { i as a, n as t, o as r, r as n } from "./DSZIOgi3X_EmsT65.mjs";
9
+ import { t as l } from "./CAfDDLrXsXte2avr.mjs";
10
+ import { t as s } from "./rEdJke7xorzb_Nmh.mjs";
11
+ import { IFill as i } from "@sheetxl/sdk";
12
+ import { useGridColorScheme as o } from "@sheetxl/react";
13
+ import { useCallbackRef as h, useTranslator as c } from "@sheetxl/utils-react";
14
+ import { memo as d, useEffect as p, useReducer as u, useState as m } from "react";
15
+ import { Fragment as g, jsx as b, jsxs as y } from "react/jsx-runtime";
16
+ import { Box as v, Checkbox as x, FormControl as C, FormControlLabel as S, InputLabel as w, MenuItem as k, Select as B, TextField as f, Typography as L } from "@mui/material";
17
+ var E = (e) => b(L, {
18
+ variant: "subtitle2",
19
+ component: "div",
20
+ children: e.children
21
+ }), T = (e, a) => {
22
+ const t = a.getChart(), r = a.getPath(), n = a.getParent(), l = () => n ? T(e, n) : "", s = Number(r.split("/").pop());
23
+ switch (a.getElementType()) {
24
+ case "chartArea": return e("chart.pane.element.chartArea");
25
+ case "title": return e("chart.pane.element.title");
26
+ case "legend": return e("chart.pane.element.legend");
27
+ case "legendEntry": return e("chart.pane.element.legendEntry", { index: s + 1 });
28
+ case "plotArea": return e("chart.pane.element.plotArea");
29
+ case "dataTable": return e("chart.pane.element.dataTable");
30
+ case "axis": return ((e, a, t) => {
31
+ const [, r, n] = t.split("/"), l = ((e) => /^(bar|3DBar)/.test(e.getChartType()))(a), s = "category" === n ? !l : "value" !== n || l, i = "series" === n ? e("chart.pane.axisKind.series") : ((e) => /^(xyscatter|bubble)/.test(e.getChartType()))(a) || "value" === n ? e("chart.pane.axisKind.value") : e("chart.pane.axisKind.category"), o = e("chart.pane.axis", {
32
+ side: e(s ? "chart.pane.axisSide.horizontal" : "chart.pane.axisSide.vertical"),
33
+ kind: i
34
+ });
35
+ return "secondary" === r ? e("chart.pane.secondary", { label: o }) : o;
36
+ })(e, t, r);
37
+ case "axisTitle": return e("chart.pane.element.axisTitle", { axis: l() });
38
+ case "gridlines": return r.endsWith("minorGridlines") ? e("chart.pane.element.minorGridlines", { axis: l() }) : e("chart.pane.element.majorGridlines", { axis: l() });
39
+ case "series": return e("chart.pane.element.series", { name: a.getName() ?? "" });
40
+ case "point": return e("chart.pane.element.point", {
41
+ series: l(),
42
+ index: s + 1
43
+ });
44
+ case "marker": return e("chart.pane.element.marker", { owner: l() });
45
+ case "dataLabels": return "series" === n?.getElementType() ? e("chart.pane.element.dataLabels", { series: l() }) : e("chart.pane.element.allDataLabels");
46
+ case "dataLabel": return e("chart.pane.element.dataLabel", { point: l() });
47
+ case "trendline": return e("chart.pane.element.trendline", {
48
+ series: l(),
49
+ index: s + 1
50
+ });
51
+ case "trendlineLabel": return e("chart.pane.element.trendlineLabel", { trendline: l() });
52
+ case "errorBars": return r.endsWith("/x") ? e("chart.pane.element.xErrorBars", { series: l() }) : e("chart.pane.element.yErrorBars", { series: l() });
53
+ case "chartGroup": return e("chart.pane.element.group", { index: s + 1 });
54
+ case "upDownBars": return e("chart.pane.element.upDownBars");
55
+ case "hiLoLines": return e("chart.pane.element.hiLoLines");
56
+ case "dropLines": return e("chart.pane.element.dropLines");
57
+ case "seriesLines": return e("chart.pane.element.seriesLines");
58
+ default: return r;
59
+ }
60
+ }, V = (e, a) => {
61
+ const t = e.getStroke().getFill();
62
+ return t.getType() === i.Type.Solid ? t.getColor() : a.getNormal().getFont().getColor();
63
+ }, P = (e) => {
64
+ const { style: a, sheet: t, disabled: r, label: n } = e, i = c(), h = t.getStyles(), d = "dark" === o(), p = {
65
+ fill: a.getFill(),
66
+ styles: h,
67
+ schemeLookup: h.schemeLookup(),
68
+ darkMode: d,
69
+ disabled: r,
70
+ createCell: (e) => t.createCell(e),
71
+ applyFill: (e, t) => {
72
+ a.setFill(e, { description: t });
73
+ }
74
+ }, u = {
75
+ stroke: a.getStroke(),
76
+ stated: a.toJSON()?.stroke ?? null,
77
+ autoColor: V(a, h),
78
+ styles: h,
79
+ schemeLookup: h.schemeLookup(),
80
+ darkMode: d,
81
+ disabled: r,
82
+ applyStroke: (e, t) => {
83
+ a.setStroke(e, { description: t });
84
+ }
85
+ };
86
+ return y(g, { children: [
87
+ n ? b(E, { children: n }) : null,
88
+ b(E, { children: i("shape.pane.fill") }),
89
+ b(l, { selection: p }),
90
+ b(E, { children: i("shape.pane.line") }),
91
+ b(s, { selection: u })
92
+ ] });
93
+ }, F = (e) => y(C, {
94
+ size: "small",
95
+ fullWidth: !0,
96
+ disabled: e.disabled,
97
+ children: [b(w, { children: e.label }), b(B, {
98
+ label: e.label,
99
+ value: e.value,
100
+ onChange: (a) => e.onChange(a.target.value),
101
+ children: e.options.map((a) => b(k, {
102
+ value: a,
103
+ children: e.labels[a] ?? a
104
+ }, a))
105
+ })]
106
+ }), A = (e) => b(S, {
107
+ label: e.label,
108
+ disabled: e.disabled,
109
+ control: b(x, {
110
+ size: "small",
111
+ checked: e.checked,
112
+ onChange: (a) => e.onChange(a.target.checked)
113
+ })
114
+ }), N = (e) => {
115
+ const [a, t] = m(null), r = () => {
116
+ null !== a && a !== e.value && e.onCommit(a), t(null);
117
+ };
118
+ return b(f, {
119
+ size: "small",
120
+ fullWidth: !0,
121
+ label: e.label,
122
+ disabled: e.disabled,
123
+ value: a ?? e.value,
124
+ onChange: (e) => t(e.target.value),
125
+ onBlur: r,
126
+ onKeyDown: (e) => {
127
+ "Enter" === e.key && r();
128
+ }
129
+ });
130
+ }, D = [
131
+ "none",
132
+ "single",
133
+ "double"
134
+ ], O = [
135
+ "none",
136
+ "single",
137
+ "double"
138
+ ], z = (r) => {
139
+ const { font: l, styles: s, disabled: i, run: d } = r, p = c(), u = "dark" === o(), m = h(() => s.recentColors(), [s]), v = l.getColor(), x = {
140
+ none: p("chart.pane.text.lineNone"),
141
+ single: p("chart.pane.text.lineSingle"),
142
+ double: p("chart.pane.text.lineDouble")
143
+ };
144
+ return y(g, { children: [
145
+ b(E, { children: p("chart.pane.text") }),
146
+ b(a, { children: b(N, {
147
+ label: p("format.fontFamily"),
148
+ value: l.getFamily(),
149
+ disabled: i,
150
+ onCommit: (e) => d(() => l.setFamily(e || null))
151
+ }) }),
152
+ b(a, { children: y(n, { children: [b(t, {
153
+ label: p("format.fontSize"),
154
+ value: l.getSize(),
155
+ min: 1,
156
+ max: 400,
157
+ step: 1,
158
+ decimals: !0,
159
+ width: 96,
160
+ disabled: i,
161
+ onChange: (e) => d(() => l.setSize(e))
162
+ }), b(e, {
163
+ icon: "text.colored",
164
+ disabled: i,
165
+ darkMode: u,
166
+ compareRGB: !0,
167
+ selectedColor: v,
168
+ onSelectColor: (e, a) => {
169
+ e && a && s.addRecentColor(e), d(() => l.setColor(e ? e.toString() : null));
170
+ },
171
+ propsPanel: {
172
+ disableAlpha: !0,
173
+ schemeLookup: s.schemeLookup(),
174
+ recentColors: m
175
+ }
176
+ })] }) }),
177
+ b(a, { children: y(n, { children: [b(A, {
178
+ label: p("chart.pane.text.bold"),
179
+ checked: l.getBold(),
180
+ disabled: i,
181
+ onChange: (e) => d(() => l.setBold(e))
182
+ }), b(A, {
183
+ label: p("chart.pane.text.italic"),
184
+ checked: l.getItalic(),
185
+ disabled: i,
186
+ onChange: (e) => d(() => l.setItalic(e))
187
+ })] }) }),
188
+ b(a, { children: y(n, { children: [b(F, {
189
+ label: p("chart.pane.text.underline"),
190
+ value: D.includes(l.getUnderline()) ? l.getUnderline() : "single",
191
+ options: D,
192
+ labels: x,
193
+ disabled: i,
194
+ onChange: (e) => d(() => l.setUnderline(e))
195
+ }), b(F, {
196
+ label: p("chart.pane.text.strike"),
197
+ value: l.getStrike(),
198
+ options: O,
199
+ labels: x,
200
+ disabled: i,
201
+ onChange: (e) => d(() => l.setStrike(e))
202
+ })] }) })
203
+ ] });
204
+ }, K = [
205
+ "top",
206
+ "bottom",
207
+ "left",
208
+ "right",
209
+ "corner"
210
+ ], G = [
211
+ "center",
212
+ "insideEnd",
213
+ "insideBase",
214
+ "outsideEnd",
215
+ "left",
216
+ "right",
217
+ "top",
218
+ "bottom",
219
+ "bestFit"
220
+ ], R = [
221
+ "linear",
222
+ "exponential",
223
+ "logarithmic",
224
+ "polynomial",
225
+ "power",
226
+ "movingAverage"
227
+ ], W = [
228
+ "fixedValue",
229
+ "percent",
230
+ "stDev",
231
+ "stError"
232
+ ], M = [
233
+ "both",
234
+ "plusValues",
235
+ "minusValues"
236
+ ], j = (e) => {
237
+ const { element: a, disabled: l, run: s } = e, i = c(), o = (e, a, t) => b(A, {
238
+ label: e,
239
+ checked: a,
240
+ disabled: l,
241
+ onChange: (e) => s(() => t(e))
242
+ }), h = [], d = () => a;
243
+ switch (a.getElementType()) {
244
+ case "chartArea": {
245
+ const e = d();
246
+ h.push(o(i("chart.pane.roundedCorners"), e.getRoundedCorners(), (a) => e.setRoundedCorners(a)));
247
+ break;
248
+ }
249
+ case "title":
250
+ case "axisTitle": {
251
+ const e = d();
252
+ h.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), h.push(b(N, {
253
+ label: i("chart.pane.titleText"),
254
+ value: e.getText() ?? "",
255
+ disabled: l,
256
+ onCommit: (a) => s(() => e.setText(a || null))
257
+ }, "text")), h.push(o(i("chart.pane.overlay"), e.getOverlay(), (a) => e.setOverlay(a)));
258
+ break;
259
+ }
260
+ case "legend": {
261
+ const e = d();
262
+ h.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), h.push(b(F, {
263
+ label: i("chart.pane.position"),
264
+ value: e.getPosition(),
265
+ options: K,
266
+ disabled: l,
267
+ labels: {
268
+ top: i("chart.pane.side.top"),
269
+ bottom: i("chart.pane.side.bottom"),
270
+ left: i("chart.pane.side.left"),
271
+ right: i("chart.pane.side.right"),
272
+ corner: i("chart.pane.side.corner")
273
+ },
274
+ onChange: (a) => s(() => e.setPosition(a))
275
+ }, "position")), h.push(o(i("chart.pane.overlay"), e.getOverlay(), (a) => e.setOverlay(a)));
276
+ break;
277
+ }
278
+ case "axis": {
279
+ const e = d();
280
+ if (h.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), h.push(o(i("chart.pane.reverse"), e.getReversePlotOrder(), (a) => e.setReversePlotOrder(a))), "value" === e.getKind()) {
281
+ const a = (e, a, r) => b(t, {
282
+ label: e,
283
+ value: a ?? 0,
284
+ min: -0x38d7ea4c68000,
285
+ max: 0x38d7ea4c68000,
286
+ decimals: !0,
287
+ width: 120,
288
+ disabled: l,
289
+ onChange: (e) => s(() => r(e))
290
+ }, e);
291
+ h.push(y(n, { children: [a(i("chart.pane.minimum"), e.getMinimum(), (a) => e.setMinimum(a)), a(i("chart.pane.maximum"), e.getMaximum(), (a) => e.setMaximum(a))] }, "bounds")), h.push(b(N, {
292
+ label: i("chart.pane.numberFormat"),
293
+ value: e.getNumberFormat() ?? "",
294
+ disabled: l,
295
+ onCommit: (a) => s(() => a ? e.setNumberFormat(a) : e.setLinkNumberFormat(!0))
296
+ }, "format"));
297
+ }
298
+ break;
299
+ }
300
+ case "gridlines":
301
+ case "upDownBars":
302
+ case "hiLoLines":
303
+ case "dropLines":
304
+ case "seriesLines": {
305
+ const e = d();
306
+ h.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a)));
307
+ break;
308
+ }
309
+ case "series": {
310
+ const e = d();
311
+ h.push(o(i("chart.pane.secondaryAxis"), "secondary" === e.getAxisGroup(), (a) => e.setAxisGroup(a ? "secondary" : "primary")));
312
+ const a = e.getGapWidth(), r = e.getOverlap();
313
+ null === a && null === r || h.push(y(n, { children: [null !== r ? b(t, {
314
+ label: i("chart.pane.overlap"),
315
+ value: r,
316
+ min: -100,
317
+ max: 100,
318
+ width: 96,
319
+ disabled: l,
320
+ onChange: (a) => s(() => e.setOverlap(a))
321
+ }) : null, null !== a ? b(t, {
322
+ label: i("chart.pane.gapWidth"),
323
+ value: a,
324
+ min: 0,
325
+ max: 500,
326
+ width: 96,
327
+ disabled: l,
328
+ onChange: (a) => s(() => e.setGapWidth(a))
329
+ }) : null] }, "gap")), /^(line|xyscatter)/.test(e.getChartType()) && h.push(o(i("chart.pane.smooth"), e.getSmooth(), (a) => e.setSmooth(a)));
330
+ break;
331
+ }
332
+ case "dataLabels":
333
+ case "dataLabel": {
334
+ const e = d();
335
+ h.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), h.push(o(i("chart.pane.labels.value"), e.getShowValue(), (a) => e.setShowValue(a))), h.push(o(i("chart.pane.labels.category"), e.getShowCategoryName(), (a) => e.setShowCategoryName(a))), h.push(o(i("chart.pane.labels.series"), e.getShowSeriesName(), (a) => e.setShowSeriesName(a))), h.push(o(i("chart.pane.labels.percentage"), e.getShowPercentage(), (a) => e.setShowPercentage(a))), h.push(o(i("chart.pane.labels.legendKey"), e.getShowLegendKey(), (a) => e.setShowLegendKey(a))), h.push(b(F, {
336
+ label: i("chart.pane.position"),
337
+ value: e.getPosition(),
338
+ options: G,
339
+ disabled: l,
340
+ labels: {
341
+ center: i("chart.pane.labels.center"),
342
+ insideEnd: i("chart.pane.labels.insideEnd"),
343
+ insideBase: i("chart.pane.labels.insideBase"),
344
+ outsideEnd: i("chart.pane.labels.outsideEnd"),
345
+ left: i("chart.pane.side.left"),
346
+ right: i("chart.pane.side.right"),
347
+ top: i("chart.pane.side.top"),
348
+ bottom: i("chart.pane.side.bottom"),
349
+ bestFit: i("chart.pane.labels.bestFit")
350
+ },
351
+ onChange: (a) => s(() => e.setPosition(a))
352
+ }, "position"));
353
+ break;
354
+ }
355
+ case "trendline": {
356
+ const e = d();
357
+ h.push(b(F, {
358
+ label: i("chart.pane.trendline.type"),
359
+ value: e.getType(),
360
+ options: R,
361
+ disabled: l,
362
+ labels: {
363
+ linear: i("chart.pane.trendline.linear"),
364
+ exponential: i("chart.pane.trendline.exponential"),
365
+ logarithmic: i("chart.pane.trendline.logarithmic"),
366
+ polynomial: i("chart.pane.trendline.polynomial"),
367
+ power: i("chart.pane.trendline.power"),
368
+ movingAverage: i("chart.pane.trendline.movingAverage")
369
+ },
370
+ onChange: (a) => s(() => e.setType(a))
371
+ }, "type")), h.push(o(i("chart.pane.trendline.equation"), e.getShowEquation(), (a) => e.setShowEquation(a))), h.push(o(i("chart.pane.trendline.rSquared"), e.getShowRSquared(), (a) => e.setShowRSquared(a))), h.push(y(n, { children: [b(t, {
372
+ label: i("chart.pane.trendline.forward"),
373
+ value: e.getForwardPeriod(),
374
+ min: 0,
375
+ max: 1e6,
376
+ decimals: !0,
377
+ width: 96,
378
+ disabled: l,
379
+ onChange: (a) => s(() => e.setForwardPeriod(a))
380
+ }), b(t, {
381
+ label: i("chart.pane.trendline.backward"),
382
+ value: e.getBackwardPeriod(),
383
+ min: 0,
384
+ max: 1e6,
385
+ decimals: !0,
386
+ width: 96,
387
+ disabled: l,
388
+ onChange: (a) => s(() => e.setBackwardPeriod(a))
389
+ })] }, "periods"));
390
+ break;
391
+ }
392
+ case "errorBars": {
393
+ const e = d();
394
+ h.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), h.push(b(F, {
395
+ label: i("chart.pane.errorBars.type"),
396
+ value: "custom" === e.getType() ? "fixedValue" : e.getType(),
397
+ options: W,
398
+ disabled: l,
399
+ labels: {
400
+ fixedValue: i("chart.pane.errorBars.fixedValue"),
401
+ percent: i("chart.pane.errorBars.percent"),
402
+ stDev: i("chart.pane.errorBars.stDev"),
403
+ stError: i("chart.pane.errorBars.stError")
404
+ },
405
+ onChange: (a) => s(() => e.setType(a))
406
+ }, "type"));
407
+ const a = e.getAmount();
408
+ null !== a && h.push(b(t, {
409
+ label: i("chart.pane.errorBars.amount"),
410
+ value: a,
411
+ min: 0,
412
+ max: 0x38d7ea4c68000,
413
+ decimals: !0,
414
+ width: 120,
415
+ disabled: l,
416
+ onChange: (a) => s(() => e.setAmount(a))
417
+ }, "amount")), h.push(b(F, {
418
+ label: i("chart.pane.errorBars.direction"),
419
+ value: e.getInclude(),
420
+ options: M,
421
+ disabled: l,
422
+ labels: {
423
+ both: i("chart.pane.errorBars.both"),
424
+ plusValues: i("chart.pane.errorBars.plus"),
425
+ minusValues: i("chart.pane.errorBars.minus")
426
+ },
427
+ onChange: (a) => s(() => e.setInclude(a))
428
+ }, "include")), h.push(o(i("chart.pane.errorBars.cap"), e.getEndStyleCap(), (a) => e.setEndStyleCap(a)));
429
+ break;
430
+ }
431
+ case "dataTable": {
432
+ const e = d();
433
+ h.push(o(i("chart.pane.visible"), e.getVisible(), (a) => e.setVisible(a))), h.push(o(i("chart.pane.labels.legendKey"), e.getShowLegendKey(), (a) => e.setShowLegendKey(a))), h.push(o(i("chart.pane.table.horizontal"), e.getShowHorizontalBorder(), (a) => e.setShowHorizontalBorder(a))), h.push(o(i("chart.pane.table.vertical"), e.getShowVerticalBorder(), (a) => e.setShowVerticalBorder(a))), h.push(o(i("chart.pane.table.outline"), e.getShowOutlineBorder(), (a) => e.setShowOutlineBorder(a)));
434
+ break;
435
+ }
436
+ }
437
+ return 0 === h.length ? null : y(g, { children: [b(E, { children: i("chart.pane.options") }), b(v, {
438
+ sx: {
439
+ ...r,
440
+ gap: 1
441
+ },
442
+ children: h.map((e, a) => b(v, { children: e }, a))
443
+ })] });
444
+ }, q = d((e) => {
445
+ const { movable: a, sheet: t } = e, n = c(), l = a.getContent(), [, s] = u((e) => e + 1, 0);
446
+ p(() => l.addListeners({ onAnyChange: s }), [l]);
447
+ const i = t.getView().getChartElementSelection();
448
+ p(() => i.addListeners({ onChange: s }), [i]);
449
+ const [o, d] = m("chartArea"), [x, S] = m(null), f = (i.getChart() === l ? i.getActive() : null) ?? l.getElement(o) ?? l.getChartArea(), E = l.getElements(), V = E.includes(f) ? E : [...E, f], F = l.isReadOnly(), A = h((e) => {
450
+ try {
451
+ e(), S(null);
452
+ } catch (e) {
453
+ S(e?.message ?? String(e));
454
+ }
455
+ }, []), N = f.getStyle?.(), D = N?.isITextBoxStyle ? N.getFont() : null, O = "legendEntry" === f.getElementType() ? null : N, K = "upDownBars" === f.getElementType() ? f : null;
456
+ return y(v, {
457
+ sx: {
458
+ ...r,
459
+ gap: 2,
460
+ paddingTop: (e) => e.spacing(1)
461
+ },
462
+ children: [
463
+ y(C, {
464
+ size: "small",
465
+ fullWidth: !0,
466
+ children: [b(w, { children: n("chart.pane.element") }), b(B, {
467
+ label: n("chart.pane.element"),
468
+ value: f.getPath(),
469
+ onChange: (e) => ((e) => {
470
+ d(e), S(null);
471
+ const a = l.getElement(e);
472
+ a && "chartArea" !== a.getElementType() ? i.select([a]) : i.clear();
473
+ })(e.target.value),
474
+ children: V.map((e) => b(k, {
475
+ value: e.getPath(),
476
+ children: T(n, e)
477
+ }, e.getPath()))
478
+ })]
479
+ }),
480
+ x ? b(L, {
481
+ variant: "caption",
482
+ color: "error",
483
+ children: x
484
+ }) : null,
485
+ b(j, {
486
+ element: f,
487
+ disabled: F,
488
+ run: A
489
+ }, `options:${f.getPath()}`),
490
+ D ? b(z, {
491
+ font: D,
492
+ styles: t.getStyles(),
493
+ disabled: F,
494
+ run: A
495
+ }, `text:${f.getPath()}`) : null,
496
+ O ? b(P, {
497
+ style: O,
498
+ sheet: t,
499
+ disabled: F
500
+ }, `style:${f.getPath()}`) : null,
501
+ K ? y(g, { children: [b(P, {
502
+ style: K.getUpBarsStyle(),
503
+ sheet: t,
504
+ disabled: F,
505
+ label: n("chart.pane.upBars")
506
+ }, "up"), b(P, {
507
+ style: K.getDownBarsStyle(),
508
+ sheet: t,
509
+ disabled: F,
510
+ label: n("chart.pane.downBars")
511
+ }, "down")] }) : null
512
+ ]
513
+ });
514
+ });
515
+ q.displayName = "ChartFormatPanel";
516
+ export { q as ChartFormatPanel };
@@ -0,0 +1,141 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.20
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: MIT
6
+ */
7
+ import { t as e } from "./B5kuWO6ix3DmmdhQ.mjs";
8
+ import { FormulaField as t, c as r } from "./index.mjs";
9
+ import { useModelSync as a } from "@sheetxl/react";
10
+ import { NotifierType as n, useNotifier as o } from "@sheetxl/utils-react";
11
+ import { forwardRef as s, memo as d, useCallback as l, useMemo as i, useRef as c } from "react";
12
+ import { jsx as g } from "react/jsx-runtime";
13
+ var m = (e) => {
14
+ const t = (t) => e.getCollection(t.getWorksheet());
15
+ return {
16
+ key: e.key,
17
+ messageKeys: e.messageKeys,
18
+ getItems: (t) => ((t) => {
19
+ const r = t.getSelectedWorksheet();
20
+ return r ? e.getCollection(r) : null;
21
+ })(t)?.getItems() ?? [],
22
+ subscribe: (t, r) => {
23
+ let a = null;
24
+ const n = () => {
25
+ a?.();
26
+ const n = {
27
+ onProtectionChange: () => r.onChange(),
28
+ onInvalidated: () => r.onInvalidated()
29
+ };
30
+ for (const t of e.changeEvents) n[t] = () => r.onChange();
31
+ a = t.getSelectedWorksheet()?.addListeners(n, { transactional: !1 }) ?? null;
32
+ };
33
+ n();
34
+ const o = t.addListeners({ onSelectedSheetChange: () => {
35
+ n(), r.onChange();
36
+ } }, { transactional: !1 });
37
+ return () => {
38
+ a?.(), o?.();
39
+ };
40
+ },
41
+ isReadOnly: (t) => {
42
+ const r = t.getSelectedWorksheet();
43
+ return !r || (e.isReadOnly?.(r) ?? !r.getProtection().isObjectsAllowed());
44
+ },
45
+ isItemReadOnly: (t, r) => {
46
+ const a = r.getSelectedWorksheet();
47
+ return !a || (e.isReadOnly?.(a) ?? !a.getProtection().isObjectsAllowed()) || t.isProtected();
48
+ },
49
+ subscribeItem: (e, t) => e.addListeners({
50
+ onInvalidated: () => t(),
51
+ onProtectedChange: () => t()
52
+ }, { transactional: !1 }),
53
+ createDraft: (r, a) => {
54
+ const n = t(r).createItem(a);
55
+ return a || e.applyNewDefaults?.(n), n;
56
+ },
57
+ createSeededDraft: e.applySeed ? (r, a) => {
58
+ const n = t(r).createItem();
59
+ return e.applyNewDefaults?.(n), e.applySeed(n, a), n;
60
+ } : void 0,
61
+ beforeSave: e.beforeSave,
62
+ validate: e.validate,
63
+ save: (r, a, n) => {
64
+ if (null === n) t(r).add(a, { replaceExisting: !0 });
65
+ else {
66
+ e.applyUpdate(n, a);
67
+ const t = a.getRanges();
68
+ t.isInvalid() || t.toString() === n.getRanges().toString() || n.setRanges(t);
69
+ }
70
+ },
71
+ delete: (e) => e.delete(),
72
+ duplicate: (e, r) => {
73
+ const a = t(r);
74
+ a.add(a.createItem(e), { index: e.getIndex() });
75
+ },
76
+ moveBy: e.reorderable ?? 1 ? (e, t) => {
77
+ e.setIndex(e.getIndex() + t);
78
+ } : void 0,
79
+ getCardTitle: e.getCardTitle,
80
+ getCardSubtitle: (e) => e.getRanges().toString(),
81
+ CardSubtitle: e.CardSubtitle,
82
+ CardMedia: e.CardMedia,
83
+ CardBody: e.CardBody,
84
+ EditorBody: ({ draft: t }) => {
85
+ const r = e.EditorBody;
86
+ return g(r, { item: t });
87
+ }
88
+ };
89
+ }, u = d(s((t, r) => {
90
+ const { workbook: a, descriptor: n, args: o, dragReorder: s, ...d } = t, l = i(() => m(n), [n]);
91
+ return g(e, {
92
+ ref: r,
93
+ workbook: a,
94
+ descriptor: l,
95
+ args: o,
96
+ dragReorder: s,
97
+ ...d
98
+ });
99
+ }));
100
+ u.displayName = "AnchorItemsPanel";
101
+ var p = d((e) => {
102
+ const { item: s, label: d, helperText: m } = e, u = o();
103
+ a(s, ["onAnchorCoordsChange", "onAnyChange"]);
104
+ const p = s.getRanges(), h = i(() => {
105
+ if (p.isInvalid()) return;
106
+ const e = p.at(0).getCoords();
107
+ return {
108
+ rowIndex: e.rowStart,
109
+ colIndex: e.colStart,
110
+ scope: p.at(0).getWorksheet().getName()
111
+ };
112
+ }, [p]), y = c(!1), f = l((e) => {
113
+ y.current = !1;
114
+ const t = e?.getReferences();
115
+ if (t && !t.isInvalid()) try {
116
+ s.setRanges(t);
117
+ } catch (e) {
118
+ y.current = !0, u.showMessage?.(e.message, { type: n.Error });
119
+ }
120
+ }, [s, u]), C = c(null);
121
+ return r(() => {
122
+ const e = C.current;
123
+ return !e || !e.dirty || !e.error && (e.commit(), !y.current);
124
+ }), g(t, {
125
+ grammar: "reference",
126
+ value: p,
127
+ allowMulti: !0,
128
+ allowCrossSheet: !1,
129
+ required: !0,
130
+ home: h,
131
+ pickAs: "absolute",
132
+ changeOn: "done",
133
+ onDone: f,
134
+ apiRef: C,
135
+ label: d,
136
+ helperText: m,
137
+ disabled: s.isProtected()
138
+ });
139
+ });
140
+ p.displayName = "AnchoredRangeField";
141
+ export { u as n, p as t };
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.2
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.20
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: MIT
6
6
  */
7
7
  import { FormulaField as e, InputField as t } from "./index.mjs";
8
8
  import { useReferenceMode as a } from "@sheetxl/react";