@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,519 @@
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 { ColorPopupButton as e, StyledStrokeIcon as l } from "./index.mjs";
8
+ import { a as i, c as n, i as o, o as t } from "./BR45ogAR-hY2bE60.mjs";
9
+ import { IFill as a, IStroke as s } from "@sheetxl/sdk";
10
+ import { KeyCodes as d, useCallbackRef as r, useTranslator as p } from "@sheetxl/utils-react";
11
+ import { memo as h, useCallback as c, useMemo as y } from "react";
12
+ import { ExhibitIconButton as D, ExhibitMenuItem as u, ExhibitPopupIconButton as m, ExhibitPopupMenuItem as S, createStrokeShadowFilter as L } from "@sheetxl/utils-mui";
13
+ import { Fragment as g, jsx as b, jsxs as x } from "react/jsx-runtime";
14
+ import { Box as k, FormControl as f, InputLabel as v, MenuItem as E, Select as T } from "@mui/material";
15
+ import { messageKey as $ } from "@sheetxl/utils";
16
+ import z from "clsx";
17
+ var C = {
18
+ [s.DashStyle.Solid]: null,
19
+ [s.DashStyle.Dot]: [1, 3],
20
+ [s.DashStyle.Dash]: [4, 3],
21
+ [s.DashStyle.LongDash]: [8, 3],
22
+ [s.DashStyle.DashDot]: [
23
+ 4,
24
+ 3,
25
+ 1,
26
+ 3
27
+ ],
28
+ [s.DashStyle.LongDashDot]: [
29
+ 8,
30
+ 3,
31
+ 1,
32
+ 3
33
+ ],
34
+ [s.DashStyle.LongDashDotDot]: [
35
+ 8,
36
+ 3,
37
+ 1,
38
+ 3,
39
+ 1,
40
+ 3
41
+ ],
42
+ [s.DashStyle.SysDash]: [3, 1],
43
+ [s.DashStyle.SysDot]: [1, 1],
44
+ [s.DashStyle.SysDashDot]: [
45
+ 3,
46
+ 1,
47
+ 1,
48
+ 1
49
+ ],
50
+ [s.DashStyle.SysDashDotDot]: [
51
+ 3,
52
+ 1,
53
+ 1,
54
+ 1,
55
+ 1,
56
+ 1
57
+ ]
58
+ }, M = h((e) => {
59
+ const { dash: i, color: n, darkMode: o } = e, t = Array.isArray(i) ? i : C[i] ?? null;
60
+ return b(l, {
61
+ styleColor: n,
62
+ length: 60,
63
+ width: 2,
64
+ darkMode: o,
65
+ dashArray: t ? t.map((e) => 2 * e) : void 0
66
+ });
67
+ });
68
+ M.displayName = "DashIcon";
69
+ var w = {
70
+ sm: 2.5,
71
+ med: 4,
72
+ lg: 6
73
+ }, R = {
74
+ sm: 5,
75
+ med: 8,
76
+ lg: 12
77
+ }, A = h((e) => {
78
+ const { end: l, atStart: i = !1, color: n, darkMode: o = !1 } = e, t = 19, a = w[l.width ?? s.LineEndSize.Medium], d = R[l.length ?? s.LineEndSize.Medium];
79
+ let r = null, p = t;
80
+ switch (l.type) {
81
+ case s.LineEndType.Triangle:
82
+ r = b("polygon", { points: `19,8 ${t - d},${8 - a} ${t - d},${8 + a}` }), p = t - d;
83
+ break;
84
+ case s.LineEndType.Stealth:
85
+ r = b("polygon", { points: `19,8 ${t - d},${8 - a} ${t - .6 * d},8 ${t - d},${8 + a}` }), p = t - .6 * d;
86
+ break;
87
+ case s.LineEndType.Diamond:
88
+ r = b("polygon", { points: `19,8 ${t - d / 2},${8 - a} ${t - d},8 ${t - d / 2},${8 + a}` }), p = t - d;
89
+ break;
90
+ case s.LineEndType.Oval:
91
+ r = b("ellipse", {
92
+ cx: t - d / 2,
93
+ cy: 8,
94
+ rx: d / 2,
95
+ ry: a
96
+ }), p = t - d;
97
+ break;
98
+ case s.LineEndType.Arrow: r = b("polyline", {
99
+ points: `${t - d},${8 - a} 19,8 ${t - d},${8 + a}`,
100
+ fill: "none",
101
+ strokeWidth: 2,
102
+ strokeLinecap: "round",
103
+ strokeLinejoin: "round"
104
+ });
105
+ }
106
+ const h = n ? n.toRGBA(o).toString() : "currentColor";
107
+ return x(k, {
108
+ component: "svg",
109
+ width: 20,
110
+ height: 16,
111
+ viewBox: "0 0 20 16",
112
+ sx: {
113
+ display: "block",
114
+ overflow: "visible",
115
+ fill: h,
116
+ stroke: h,
117
+ filter: L(),
118
+ transform: i ? "scaleX(-1)" : void 0
119
+ },
120
+ children: [b("line", {
121
+ x1: 1,
122
+ y1: 8,
123
+ x2: p,
124
+ y2: 8,
125
+ strokeWidth: 2
126
+ }), r]
127
+ });
128
+ });
129
+ A.displayName = "LineEndIcon";
130
+ var N = (e) => {
131
+ const { end: l, atStart: i = !1, color: n, darkMode: o, types: t, sizes: a, typeLabels: d, sizeLabels: r, widthLabel: p, lengthLabel: h, tooltip: y, disabled: L, onSelect: g } = e, x = c((e) => {
132
+ const { closeFloatAll: c, floatReference: y } = e, m = t.map((e) => {
133
+ const t = b(A, {
134
+ end: {
135
+ ...l,
136
+ type: e
137
+ },
138
+ atStart: i,
139
+ color: n,
140
+ darkMode: o
141
+ }), m = e === l.type;
142
+ if (e === s.LineEndType.None) return b(u, {
143
+ icon: t,
144
+ selected: m,
145
+ disabled: L,
146
+ onMouseDown: (e) => e.preventDefault(),
147
+ onMouseUp: () => {
148
+ c?.(), g(null);
149
+ },
150
+ children: d[e]
151
+ }, e);
152
+ return b(S, {
153
+ icon: t,
154
+ label: d[e],
155
+ selected: m,
156
+ disabled: L,
157
+ parentFloat: y,
158
+ createPopupPanel: (t) => b(k, {
159
+ sx: {
160
+ display: "grid",
161
+ gridTemplateColumns: `repeat(${a.length}, auto)`,
162
+ gap: "2px",
163
+ padding: "6px 8px"
164
+ },
165
+ children: a.map((d) => a.map((a) => b(D, {
166
+ icon: b(A, {
167
+ end: {
168
+ type: e,
169
+ width: a,
170
+ length: d
171
+ },
172
+ atStart: i,
173
+ color: n,
174
+ darkMode: o
175
+ }),
176
+ selected: m && (l.width ?? s.LineEndSize.Medium) === a && (l.length ?? s.LineEndSize.Medium) === d,
177
+ disabled: L,
178
+ propsTooltip: {
179
+ label: `${p}: ${r[a]} · ${h}: ${r[d]}`,
180
+ simple: !0
181
+ },
182
+ onClick: () => {
183
+ t.closeFloatAll?.(), g({
184
+ type: e,
185
+ width: a,
186
+ length: d
187
+ });
188
+ }
189
+ }, `${a}-${d}`)))
190
+ }),
191
+ onQuickClick: () => {
192
+ c?.(), g({
193
+ ...l,
194
+ type: e
195
+ });
196
+ }
197
+ }, e);
198
+ });
199
+ return b(k, {
200
+ sx: {
201
+ display: "flex",
202
+ flexDirection: "column",
203
+ paddingTop: "4px",
204
+ paddingBottom: "4px"
205
+ },
206
+ children: m
207
+ });
208
+ }, [
209
+ l,
210
+ i,
211
+ n,
212
+ o,
213
+ t,
214
+ a,
215
+ d,
216
+ r,
217
+ p,
218
+ h,
219
+ L,
220
+ g
221
+ ]);
222
+ return b(m, {
223
+ disabled: L,
224
+ icon: b(k, {
225
+ sx: {
226
+ paddingLeft: "4px",
227
+ marginRight: "4px",
228
+ height: "24px",
229
+ display: "flex",
230
+ alignItems: "center"
231
+ },
232
+ children: b(A, {
233
+ end: l,
234
+ atStart: i,
235
+ color: n,
236
+ darkMode: o
237
+ })
238
+ }),
239
+ tooltip: y ? `${y}: ${d[l.type]}` : d[l.type],
240
+ createPopupPanel: x
241
+ });
242
+ }, j = (e) => {
243
+ const { value: l, options: i, onSelect: n, columns: o, tooltip: t, disabled: a, icon: s } = e, r = i.find((e) => e.value === l) ?? i[0], p = c((e) => {
244
+ const { closeFloat: t } = e;
245
+ return b(k, o ? {
246
+ sx: {
247
+ display: "grid",
248
+ gridTemplateColumns: `repeat(${o}, auto)`,
249
+ gap: "2px",
250
+ padding: "6px 8px"
251
+ },
252
+ children: i.map((e) => b(D, {
253
+ icon: e.icon,
254
+ selected: e.value === l,
255
+ disabled: a,
256
+ propsTooltip: {
257
+ label: e.label,
258
+ simple: !0
259
+ },
260
+ onClick: () => {
261
+ t?.(), n(e.value);
262
+ }
263
+ }, e.value))
264
+ } : {
265
+ sx: {
266
+ display: "flex",
267
+ flexDirection: "column",
268
+ paddingTop: "4px",
269
+ paddingBottom: "4px"
270
+ },
271
+ children: i.map((e) => b(u, {
272
+ tabIndex: 0,
273
+ sx: {
274
+ height: "28px",
275
+ paddingLeft: "16px"
276
+ },
277
+ propsTooltip: { description: e.label },
278
+ icon: null,
279
+ disabled: a,
280
+ selected: e.value === l,
281
+ onMouseDown: (e) => e.preventDefault(),
282
+ onMouseUp: () => {
283
+ t?.(), n(e.value);
284
+ },
285
+ onKeyDown: (e) => {
286
+ e.which === d.Enter && t?.();
287
+ },
288
+ children: e.icon
289
+ }, e.value))
290
+ });
291
+ }, [
292
+ i,
293
+ l,
294
+ n,
295
+ o,
296
+ a
297
+ ]);
298
+ return b(m, {
299
+ disabled: a,
300
+ icon: b(k, {
301
+ sx: {
302
+ paddingLeft: "4px",
303
+ marginRight: "4px",
304
+ height: "24px",
305
+ display: "flex",
306
+ alignItems: "center"
307
+ },
308
+ children: s ?? r?.icon
309
+ }),
310
+ tooltip: t ? `${t}: ${r?.label ?? ""}` : r?.label,
311
+ createPopupPanel: p
312
+ });
313
+ }, B = "none", J = "solid", P = [
314
+ s.DashStyle.Solid,
315
+ s.DashStyle.SysDot,
316
+ s.DashStyle.SysDash,
317
+ s.DashStyle.Dash,
318
+ s.DashStyle.DashDot,
319
+ s.DashStyle.LongDash,
320
+ s.DashStyle.LongDashDot,
321
+ s.DashStyle.LongDashDotDot
322
+ ], W = "custom", F = [
323
+ s.LineCap.Square,
324
+ s.LineCap.Round,
325
+ s.LineCap.Butt
326
+ ], I = [
327
+ s.LineJoin.Round,
328
+ s.LineJoin.Bevel,
329
+ s.LineJoin.Miter
330
+ ], q = [
331
+ s.LineEndType.None,
332
+ s.LineEndType.Triangle,
333
+ s.LineEndType.Arrow,
334
+ s.LineEndType.Stealth,
335
+ s.LineEndType.Diamond,
336
+ s.LineEndType.Oval
337
+ ], O = [
338
+ s.LineEndSize.Small,
339
+ s.LineEndSize.Medium,
340
+ s.LineEndSize.Large
341
+ ], G = h((l) => {
342
+ const { selection: d, disabled: h, className: c, ...D } = l, u = p(), { stroke: m, stated: S, autoColor: L, applyStroke: C, schemeLookup: w, styles: R, darkMode: A } = d, G = h || d.disabled, U = m.isVisible(), H = U ? J : B, K = S?.fill && S.fill.type !== a.Type.None ? m.getFill().getColor() : null, Q = K ?? L, V = m.getDash(), X = "string" == typeof V && P.includes(V) ? V : W, Y = m.getHead(), Z = m.getTail(), _ = r(() => R.recentColors(), [R]), ee = r((e) => {
343
+ e !== H && C(e === B ? { fill: { type: a.Type.None } } : {
344
+ fill: null,
345
+ width: m.getWidth() > 0 ? void 0 : null
346
+ }, $("op.setShapeStroke"));
347
+ }, [
348
+ H,
349
+ m,
350
+ C
351
+ ]), le = r((e, l) => {
352
+ e && l && R.addRecentColor(e), C({ fill: e ? e.toString() : null }, $("op.setStrokeColor"));
353
+ }, [C, R]), ie = r((e) => {
354
+ C({ width: e }, $("op.setStrokeWidth"));
355
+ }, [C]), ne = r((e) => {
356
+ e !== W && C({ dash: e }, $("op.setStrokeDash"));
357
+ }, [C]), oe = r((e) => {
358
+ C({ lineCap: e }, $("op.setStroke"));
359
+ }, [C]), te = r((e) => {
360
+ C({ lineJoin: e }, $("op.setStroke"));
361
+ }, [C]), ae = r((e, l) => {
362
+ C({ [e]: l }, $("op.setLineEnds"));
363
+ }, [C]), se = y(() => ({
364
+ dash: {
365
+ [s.DashStyle.Solid]: u("line.dash.solid"),
366
+ [s.DashStyle.SysDot]: u("line.dash.sysDot"),
367
+ [s.DashStyle.SysDash]: u("line.dash.sysDash"),
368
+ [s.DashStyle.Dash]: u("line.dash.dash"),
369
+ [s.DashStyle.DashDot]: u("line.dash.dashDot"),
370
+ [s.DashStyle.LongDash]: u("line.dash.lgDash"),
371
+ [s.DashStyle.LongDashDot]: u("line.dash.lgDashDot"),
372
+ [s.DashStyle.LongDashDotDot]: u("line.dash.lgDashDotDot"),
373
+ [W]: u("line.dashCustom")
374
+ },
375
+ cap: {
376
+ [s.LineCap.Square]: u("line.capSquare"),
377
+ [s.LineCap.Round]: u("line.capRound"),
378
+ [s.LineCap.Butt]: u("line.capFlat")
379
+ },
380
+ join: {
381
+ [s.LineJoin.Round]: u("line.joinRound"),
382
+ [s.LineJoin.Bevel]: u("line.joinBevel"),
383
+ [s.LineJoin.Miter]: u("line.joinMiter")
384
+ },
385
+ end: {
386
+ [s.LineEndType.None]: u("line.end.none"),
387
+ [s.LineEndType.Triangle]: u("line.end.triangle"),
388
+ [s.LineEndType.Arrow]: u("line.end.arrow"),
389
+ [s.LineEndType.Stealth]: u("line.end.stealth"),
390
+ [s.LineEndType.Diamond]: u("line.end.diamond"),
391
+ [s.LineEndType.Oval]: u("line.end.oval")
392
+ },
393
+ size: {
394
+ [s.LineEndSize.Small]: u("line.sizeSmall"),
395
+ [s.LineEndSize.Medium]: u("line.sizeMedium"),
396
+ [s.LineEndSize.Large]: u("line.sizeLarge")
397
+ }
398
+ }), [u]), de = P.map((e) => ({
399
+ value: e,
400
+ label: se.dash[e],
401
+ icon: b(M, {
402
+ dash: e,
403
+ color: Q,
404
+ darkMode: A
405
+ })
406
+ }));
407
+ X === W && de.push({
408
+ value: W,
409
+ label: se.dash[W],
410
+ icon: b(M, {
411
+ dash: V,
412
+ color: Q,
413
+ darkMode: A
414
+ })
415
+ });
416
+ const re = (e, l, i, n, o, t) => x(f, {
417
+ size: "small",
418
+ fullWidth: void 0 === t,
419
+ sx: void 0 === t ? void 0 : { width: t },
420
+ children: [b(v, {
421
+ shrink: !0,
422
+ children: e
423
+ }), b(T, {
424
+ label: e,
425
+ notched: !0,
426
+ disabled: G,
427
+ value: l,
428
+ onChange: (e) => o(e.target.value),
429
+ children: i.map((e) => b(E, {
430
+ value: e,
431
+ children: n[e]
432
+ }, e))
433
+ })]
434
+ });
435
+ return x(k, {
436
+ className: z("sxl-format-line-panel", c),
437
+ sx: n,
438
+ ...D,
439
+ children: [b(t, { children: re(u("line.type"), H, [B, J], {
440
+ [B]: u("line.typeNone"),
441
+ [J]: u("line.typeSolid")
442
+ }, ee) }), U ? x(g, { children: [
443
+ b(t, {
444
+ label: u("line.color"),
445
+ children: x(i, { children: [b(e, {
446
+ icon: "stroke.colored",
447
+ disabled: G,
448
+ darkMode: A,
449
+ compareRGB: !0,
450
+ selectedColor: K,
451
+ onSelectColor: le,
452
+ propsPanel: {
453
+ disableAlpha: !0,
454
+ autoColor: L,
455
+ schemeLookup: w,
456
+ recentColors: _
457
+ }
458
+ }), b(o, {
459
+ label: u("line.width"),
460
+ value: m.getWidth(),
461
+ min: 0,
462
+ max: 1584,
463
+ step: .25,
464
+ decimals: !0,
465
+ width: 96,
466
+ disabled: G,
467
+ onChange: ie
468
+ })] })
469
+ }),
470
+ b(t, {
471
+ label: u("line.dashArrows"),
472
+ children: x(i, { children: [
473
+ b(N, {
474
+ end: Y,
475
+ atStart: !0,
476
+ color: Q,
477
+ darkMode: A,
478
+ types: q,
479
+ sizes: O,
480
+ typeLabels: se.end,
481
+ sizeLabels: se.size,
482
+ widthLabel: u("line.sizeWidth"),
483
+ lengthLabel: u("line.sizeLength"),
484
+ tooltip: u("line.head"),
485
+ disabled: G,
486
+ onSelect: (e) => ae("head", e)
487
+ }),
488
+ b(j, {
489
+ value: X,
490
+ options: de,
491
+ onSelect: ne,
492
+ tooltip: u("line.dash"),
493
+ disabled: G
494
+ }),
495
+ b(N, {
496
+ end: Z,
497
+ color: Q,
498
+ darkMode: A,
499
+ types: q,
500
+ sizes: O,
501
+ typeLabels: se.end,
502
+ sizeLabels: se.size,
503
+ widthLabel: u("line.sizeWidth"),
504
+ lengthLabel: u("line.sizeLength"),
505
+ tooltip: u("line.tail"),
506
+ disabled: G,
507
+ onSelect: (e) => ae("tail", e)
508
+ })
509
+ ] })
510
+ }),
511
+ b(t, {
512
+ label: u("line.capJoin"),
513
+ children: x(i, { children: [re(u("line.cap"), m.getLineCap(), F, se.cap, oe, 128), re(u("line.join"), m.getLineJoin(), I, se.join, te, 128)] })
514
+ })
515
+ ] }) : null]
516
+ });
517
+ });
518
+ G.displayName = "LinePanel";
519
+ export { G as t };
@@ -0,0 +1,77 @@
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 { a as t, i as e, n as a, r as i } from "./DpJ2gmZJioCyq8La.mjs";
8
+ import { useTranslator as o } from "@sheetxl/utils-react";
9
+ import { useCallback as r, useState as s } from "react";
10
+ import { InternalWindow as n } from "@sheetxl/utils-mui";
11
+ import { jsx as m, jsxs as c } from "react/jsx-runtime";
12
+ import { Checkbox as p, DialogActions as d, DialogContent as h, FormControlLabel as u, Typography as x } from "@mui/material";
13
+ var g = (l) => {
14
+ const { title: g, templatePath: f, onSelectTemplate: v, showAtStartup: w, onShowAtStartupChange: S, sx: y, ...C } = l, b = o(), j = a({ path: f }), [A, k] = s(""), [I, M] = s([]), z = e(j.categories, A, I), [D, F] = s(w), H = r((t) => {
15
+ F(t), S?.(t);
16
+ }, [S]), L = r((t) => {
17
+ v?.(t);
18
+ }, [v]);
19
+ return c(n, {
20
+ isModal: !0,
21
+ sx: {
22
+ width: "860px",
23
+ ...y
24
+ },
25
+ title: g ?? b("dialog.template.title"),
26
+ autoFocusSel: ".template-tile",
27
+ ...C,
28
+ children: [c(h, {
29
+ dividers: !0,
30
+ sx: {
31
+ display: "flex",
32
+ flexDirection: "column",
33
+ gap: 1.5,
34
+ maxHeight: "calc(100vh - 160px)"
35
+ },
36
+ children: [m(i, {
37
+ value: A,
38
+ onChange: k,
39
+ categories: j.categories,
40
+ categoryIds: I,
41
+ onCategoryIdsChange: M,
42
+ sx: {
43
+ width: "50%",
44
+ minWidth: "min(100%, 280px)"
45
+ }
46
+ }), m(t, {
47
+ catalog: j,
48
+ filter: z,
49
+ emptyLabel: z ? b("template.noMatches") : void 0,
50
+ visibleRows: 2,
51
+ onSelect: L,
52
+ sx: {
53
+ flex: "1 1 auto",
54
+ overflow: "auto"
55
+ }
56
+ })]
57
+ }), void 0 !== D ? m(d, {
58
+ sx: {
59
+ justifyContent: "flex-start",
60
+ paddingX: 3,
61
+ paddingY: .5
62
+ },
63
+ children: m(u, {
64
+ control: m(p, {
65
+ size: "small",
66
+ checked: D,
67
+ onChange: (t) => H(t.target.checked)
68
+ }),
69
+ label: m(x, {
70
+ variant: "body2",
71
+ children: b("template.showAtStartup")
72
+ })
73
+ })
74
+ }) : null]
75
+ });
76
+ };
77
+ export { g as default };