@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,335 @@
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 { r as e, t } from "./Bujtz_Guj88d03vI.mjs";
8
+ import { t as n } from "./C8JU4KsMasmLvojI.mjs";
9
+ import { c as r, l as i, o as a, r as o, s, t as c } from "./BED6h6YAwCf1HEQJ.mjs";
10
+ import { Color as l, IBorders as u, IColor as d, IConditionalFormat as f } from "@sheetxl/sdk";
11
+ import { COLOR_SCALE_PRESETS as p, DATA_BAR_PRESETS as m, ICON_SET_GALLERY_BLOCKS as h, IconSetGlyphs as g, describeConditionalIcon as _, getConditionalIconSet as v, iconSetPreset as y, useWorkbook as b } from "@sheetxl/react";
12
+ import { DynamicIcon as ee, themeSurfaceProps as x, useCallbackRef as S, useCommandButtonEntry as C, useCommands as w, useTranslator as T } from "@sheetxl/utils-react";
13
+ import { forwardRef as E, memo as D, useCallback as O, useMemo as k, useState as A } from "react";
14
+ import { CommandPopupButton as j, ExhibitDivider as te, ExhibitIconButton as ne, ExhibitMenuHeader as M, ExhibitPopupIconButton as N, ExhibitTooltip as P, PopupButtonType as F, defaultCreatePopupPanel as I } from "@sheetxl/utils-mui";
15
+ import { Fragment as L, jsx as R, jsxs as z } from "react/jsx-runtime";
16
+ import { Box as B } from "@mui/material";
17
+ import { messageKey as V } from "@sheetxl/utils";
18
+ var H = D(E((r, i) => {
19
+ let { autoColor: a, schemeLookup: o, autoStrokeStyle: s = u.StrokeStyle.Thin, disabled: c, darkMode: f = !1, showStylingBefore: p = !0, onSelectBorder: m, onPreviewBorder: h, selectedBorder: g, createBorder: _, ...v } = r, y = S(m ?? ((e) => {}), [m]), b = S(h ?? ((e) => {}), [h]), w = T(), E = C("borderOptions"), [D, j] = A(), [M, I] = A(), V = g || { bottom: {
20
+ style: s,
21
+ color: a?.toString() ?? d.Named.Gray
22
+ } }, H = D ?? V?.bottom?.style ?? s, U = M ?? (V?.bottom?.color ? new l(V?.bottom?.color, o) : void 0) ?? a ?? null, W = S((e) => R(n, {
23
+ border: e,
24
+ createBorder: _
25
+ }), [_]), G = O((e, t, n) => {
26
+ let r = null;
27
+ if (e && e.length > 0) {
28
+ let i;
29
+ (t || n) && (i = {
30
+ style: n,
31
+ color: t?.toString()
32
+ }), r = {};
33
+ let a = e.length;
34
+ for (let t = 0; t < a; t++) r[e[t]] = i;
35
+ }
36
+ return r;
37
+ }, []), K = O((e) => {
38
+ y?.(e);
39
+ }, []), q = O((e) => {
40
+ b?.(e);
41
+ }, []), J = O((n) => {
42
+ let { closeFloatAll: r } = n, i = (e, t, n = "bottom", i = !1) => {
43
+ let a = G(e, U ?? null, i ? u.StrokeStyle.None : H ?? null), o = i ? G([], U ?? null, H ?? null) : a;
44
+ return R(ne, {
45
+ icon: W(o),
46
+ propsTooltip: {
47
+ label: t,
48
+ simple: !0,
49
+ placement: n
50
+ },
51
+ onClick: () => {
52
+ r?.(), q(a), K(a);
53
+ }
54
+ });
55
+ }, s = z(L, { children: [z(B, {
56
+ sx: {
57
+ display: "flex",
58
+ padding: "6px 16px",
59
+ justifyContent: "center",
60
+ rowGap: "2px",
61
+ gap: "2px"
62
+ },
63
+ children: [
64
+ i([
65
+ u.Edge.Left,
66
+ u.Edge.Top,
67
+ u.Edge.Right,
68
+ u.Edge.Bottom,
69
+ u.Edge.Horizontal,
70
+ u.Edge.Vertical
71
+ ], w("border.all"), "top"),
72
+ i([u.Edge.Horizontal, u.Edge.Vertical], w("border.inner"), "top"),
73
+ i([u.Edge.Horizontal], w("border.insideHorizontal"), "top"),
74
+ i([u.Edge.Vertical], w("border.insideVertical"), "top"),
75
+ i([
76
+ u.Edge.Left,
77
+ u.Edge.Top,
78
+ u.Edge.Right,
79
+ u.Edge.Bottom
80
+ ], w("border.outside"), "top")
81
+ ]
82
+ }), z(B, {
83
+ sx: {
84
+ display: "flex",
85
+ padding: "6px 16px",
86
+ justifyContent: "center",
87
+ rowGap: "2px",
88
+ gap: "2px"
89
+ },
90
+ children: [
91
+ i([u.Edge.Left], w("border.left")),
92
+ i([u.Edge.Top], w("border.top")),
93
+ i([u.Edge.Right], w("border.right")),
94
+ i([u.Edge.Bottom], w("border.bottom")),
95
+ i([
96
+ u.Edge.Left,
97
+ u.Edge.Top,
98
+ u.Edge.Right,
99
+ u.Edge.Bottom,
100
+ u.Edge.Horizontal,
101
+ u.Edge.Vertical,
102
+ u.Edge.DiagonalUp,
103
+ u.Edge.DiagonalDown
104
+ ], w("border.none"), "bottom", !0)
105
+ ]
106
+ })] }), d = R(L, { children: z(B, {
107
+ sx: {
108
+ display: "flex",
109
+ padding: "6px 16px",
110
+ flexDirection: "row",
111
+ gap: "6px"
112
+ },
113
+ children: [R(e, {
114
+ variant: F.Toolbar,
115
+ icon: R(ee, { iconKey: "stroke.colored" }),
116
+ selectedColor: H === u.StrokeStyle.None ? new l("transparent") : U ?? new l("transparent"),
117
+ onPreviewColor: (e) => {
118
+ I(e);
119
+ },
120
+ onSelectColor: (e, t) => {
121
+ I(e);
122
+ },
123
+ darkMode: f,
124
+ tooltip: w("border.colorTooltip"),
125
+ propsPanel: {
126
+ disableAlpha: !0,
127
+ autoColor: a,
128
+ schemeLookup: o,
129
+ ...x("grid", f ? "dark" : "light")
130
+ },
131
+ disabled: c || H === u.StrokeStyle.None,
132
+ shouldCloseFloatAll: !1
133
+ }), R(t, {
134
+ selectedStyle: H,
135
+ onSelectStyle: j,
136
+ styleColor: U,
137
+ darkMode: f,
138
+ variant: F.Toolbar
139
+ })]
140
+ }) });
141
+ return z(B, {
142
+ ...x("grid", f ? "dark" : "light"),
143
+ sx: {
144
+ display: "flex",
145
+ flexDirection: "column",
146
+ paddingTop: "4px",
147
+ paddingBottom: "4px"
148
+ },
149
+ onClick: (e) => e.stopPropagation(),
150
+ children: [
151
+ p ? d : s,
152
+ R(te, { orientation: "horizontal" }),
153
+ p ? s : d
154
+ ]
155
+ });
156
+ }, [
157
+ H,
158
+ U,
159
+ a,
160
+ H,
161
+ o,
162
+ f,
163
+ w
164
+ ]), Y = k(() => W(V), [V, f]);
165
+ return R(N, {
166
+ ref: i,
167
+ createPopupPanel: J,
168
+ propsPopup: { propsPopper: { resizeOnOverflow: !1 } },
169
+ createTooltip: ({ children: e }, t) => R(P, {
170
+ label: E?.getLabel?.(),
171
+ description: E?.getDescription?.(),
172
+ disabled: t,
173
+ children: e
174
+ }),
175
+ onQuickClick: () => {
176
+ y?.(V);
177
+ },
178
+ disabled: c,
179
+ icon: Y,
180
+ ...v
181
+ });
182
+ })), U = {
183
+ directional: V("conditionalFormat.iconGroup.directional"),
184
+ shapes: V("conditionalFormat.iconGroup.shapes"),
185
+ indicators: V("conditionalFormat.iconGroup.indicators"),
186
+ ratings: V("conditionalFormat.iconGroup.ratings")
187
+ }, W = {
188
+ bad: V("conditionalFormat.iconTone.bad"),
189
+ lightBad: V("conditionalFormat.iconTone.lightBad"),
190
+ neutral: V("conditionalFormat.iconTone.neutral"),
191
+ good: V("conditionalFormat.iconTone.good"),
192
+ purple: V("conditionalFormat.iconTone.purple"),
193
+ gold: V("conditionalFormat.iconTone.gold"),
194
+ gray: V("conditionalFormat.iconTone.gray"),
195
+ black: V("conditionalFormat.iconTone.black")
196
+ }, G = {
197
+ arrowUp: V("conditionalFormat.iconShape.arrowUp"),
198
+ arrowUpRight: V("conditionalFormat.iconShape.arrowUpRight"),
199
+ arrowRight: V("conditionalFormat.iconShape.arrowRight"),
200
+ arrowDownRight: V("conditionalFormat.iconShape.arrowDownRight"),
201
+ arrowDown: V("conditionalFormat.iconShape.arrowDown"),
202
+ triangleUpSharp: V("conditionalFormat.iconShape.triangleUpSharp"),
203
+ triangleDownSharp: V("conditionalFormat.iconShape.triangleDownSharp"),
204
+ dash: V("conditionalFormat.iconShape.dash"),
205
+ circle: V("conditionalFormat.iconShape.circle"),
206
+ circleRimmed: V("conditionalFormat.iconShape.circleRimmed"),
207
+ triangleUp: V("conditionalFormat.iconShape.triangleUp"),
208
+ diamond: V("conditionalFormat.iconShape.diamond"),
209
+ flag: V("conditionalFormat.iconShape.flag"),
210
+ check: V("conditionalFormat.iconShape.check"),
211
+ cross: V("conditionalFormat.iconShape.cross"),
212
+ exclamation: V("conditionalFormat.iconShape.exclamation"),
213
+ circleCheck: V("conditionalFormat.iconShape.circleCheck"),
214
+ circleCross: V("conditionalFormat.iconShape.circleCross"),
215
+ circleExclamation: V("conditionalFormat.iconShape.circleExclamation"),
216
+ rating0: V("conditionalFormat.iconShape.rating0"),
217
+ rating1: V("conditionalFormat.iconShape.rating1"),
218
+ rating2: V("conditionalFormat.iconShape.rating2"),
219
+ rating3: V("conditionalFormat.iconShape.rating3"),
220
+ rating4: V("conditionalFormat.iconShape.rating4"),
221
+ star0: V("conditionalFormat.iconShape.star0"),
222
+ star1: V("conditionalFormat.iconShape.star1"),
223
+ star2: V("conditionalFormat.iconShape.star2"),
224
+ boxes0: V("conditionalFormat.iconShape.boxes0"),
225
+ boxes1: V("conditionalFormat.iconShape.boxes1"),
226
+ boxes2: V("conditionalFormat.iconShape.boxes2"),
227
+ boxes3: V("conditionalFormat.iconShape.boxes3"),
228
+ boxes4: V("conditionalFormat.iconShape.boxes4"),
229
+ quarters0: V("conditionalFormat.iconShape.quarters0"),
230
+ quarters1: V("conditionalFormat.iconShape.quarters1"),
231
+ quarters2: V("conditionalFormat.iconShape.quarters2"),
232
+ quarters3: V("conditionalFormat.iconShape.quarters3"),
233
+ quarters4: V("conditionalFormat.iconShape.quarters4")
234
+ }, K = /^(rating|star|boxes|quarters)\d$/, q = V("conditionalFormat.iconName"), J = (e, t) => {
235
+ let { shape: n, tone: r } = _(t), i = G[n] ? e(G[n]) : n;
236
+ return K.test(n) ? i : e(q, {
237
+ tone: e(W[r]),
238
+ shape: i
239
+ });
240
+ }, Y = Object.freeze([{
241
+ labelKey: V("conditionalFormat.gradientFill"),
242
+ presets: m.filter((e) => e.gradient)
243
+ }, {
244
+ labelKey: V("conditionalFormat.solidFill"),
245
+ presets: m.filter((e) => !e.gradient)
246
+ }]), re = Object.freeze([{
247
+ labelKey: V("conditionalFormat.threeColor"),
248
+ presets: p.filter((e) => e.stops.length === 3)
249
+ }, {
250
+ labelKey: V("conditionalFormat.twoColor"),
251
+ presets: p.filter((e) => e.stops.length === 2)
252
+ }]), X = Object.freeze(h.map((e) => ({
253
+ labelKey: U[e.key],
254
+ columns: 2,
255
+ presets: e.rows.flatMap(([e, t]) => [y(e), t ? y(t) : null])
256
+ }))), ie = {
257
+ dataBar: Y,
258
+ colorScale: re,
259
+ iconSet: X
260
+ }, ae = (e, t) => e.type === f.ScaleType.DataBar ? r(e, i(e.color, t)?.toCSS("adaptive") ?? "var(--sxl-color-primary, rgb(33, 115, 70))") : e.type === f.ScaleType.ColorScale ? s(e.stops ?? [], o, t) : [], oe = (e, t) => e.type === f.ScaleType.IconSet ? R(g, {
261
+ icons: v(e.iconSet),
262
+ order: "descending",
263
+ size: 14,
264
+ gap: 3
265
+ }) : R(a, { rows: ae(e, t) }), Z = D((e) => {
266
+ let { groups: t, onPick: n, disabled: r } = e, i = T(), a = b();
267
+ return R(B, {
268
+ sx: {
269
+ display: "flex",
270
+ flexDirection: "column",
271
+ padding: "2px 8px 4px"
272
+ },
273
+ children: t.map((e) => z(B, { children: [R(M, { children: i(e.labelKey) }), R(B, {
274
+ sx: {
275
+ display: "grid",
276
+ gridTemplateColumns: `repeat(${e.columns ?? 3}, auto)`,
277
+ gap: "3px",
278
+ marginBottom: "4px"
279
+ },
280
+ children: e.presets.map((e, t) => e === null ? R(B, {}, t) : R(c, {
281
+ sheet: !0,
282
+ disabled: r,
283
+ sx: e.type === f.ScaleType.IconSet ? {
284
+ width: "94px",
285
+ height: "32px"
286
+ } : {
287
+ width: "44px",
288
+ height: "32px"
289
+ },
290
+ onClick: () => {
291
+ n(e);
292
+ },
293
+ children: oe(e, a)
294
+ }, t))
295
+ })] }, e.labelKey))
296
+ });
297
+ });
298
+ Z.displayName = "ScalePresetGallery";
299
+ var Q = D((e) => {
300
+ let { commandKey: t, groups: n, disabled: r } = e, i = w([t])[0];
301
+ return R(Z, {
302
+ groups: n,
303
+ disabled: r,
304
+ onPick: (e) => {
305
+ i?.execute(e);
306
+ }
307
+ });
308
+ });
309
+ Q.displayName = "CommandPresetGallery";
310
+ var $ = D(E((e, t) => {
311
+ let { commandKey: n, scaleType: r, groupKey: i, disabled: a, ...o } = e, s = w([n])[0], c = ie[r], l = a ?? (!s || s.disabled()), u = O((e) => I({
312
+ ...e,
313
+ children: R(Q, {
314
+ commandKey: n,
315
+ groups: c,
316
+ disabled: l
317
+ })
318
+ }), [
319
+ n,
320
+ c,
321
+ l
322
+ ]);
323
+ return R(j, {
324
+ ref: t,
325
+ createPopupPanel: u,
326
+ label: s?.getLabel(i),
327
+ icon: s?.getIcon(i),
328
+ tooltip: s?.getDescription(i),
329
+ groupKey: i,
330
+ disabled: l,
331
+ ...o
332
+ });
333
+ }));
334
+ $.displayName = "PresetScalesCommandButton";
335
+ export { H as a, J as i, $ as n, Z as r, X as t };
@@ -0,0 +1,14 @@
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 { createContext as e, useContext as t, useEffect as n, useRef as r } from "react";
8
+ var i = e(null), a = (e) => {
9
+ let a = t(i), o = r(e);
10
+ o.current = e, n(() => {
11
+ if (a) return a.register(() => o.current());
12
+ }, [a]);
13
+ };
14
+ export { a as n, i as t };
@@ -0,0 +1,256 @@
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 e, i as t, n, r, t as i } from "./YThnrg3PadGs7B4j.mjs";
8
+ import { VERSION as a } from "@sheetxl/sdk";
9
+ import { LogoTextNoPaddingIcon as o } from "@sheetxl/react";
10
+ import { DynamicIcon as s, useTranslator as c } from "@sheetxl/utils-react";
11
+ import { useCallback as l, useState as u } from "react";
12
+ import { InternalWindow as d } from "@sheetxl/utils-mui";
13
+ import { jsx as f, jsxs as p } from "react/jsx-runtime";
14
+ import { Box as m, Button as h, Checkbox as g, DialogContent as _, Divider as v, FormControlLabel as y, Link as b, Typography as x } from "@mui/material";
15
+ var S = "@container welcome (max-width: 500px)", C = (e) => {
16
+ let { icon: t, label: n, onClick: r } = e;
17
+ return f(h, {
18
+ variant: "text",
19
+ color: "inherit",
20
+ onClick: r,
21
+ startIcon: f(s, { iconKey: t }),
22
+ sx: {
23
+ justifyContent: "flex-start",
24
+ textTransform: "none",
25
+ fontWeight: "normal",
26
+ paddingX: 1.5
27
+ },
28
+ children: n
29
+ });
30
+ }, w = (i) => {
31
+ let { title: s, templatePath: h, logo: w, onBlank: T, onOpenFromDevice: E, onOpenFromWeb: D, onSelectTemplate: O, showAtStartup: k, onShowAtStartupChange: A, sx: j, ...M } = i, N = c(), P = n({ path: h }), [F, I] = u(""), [L, R] = u([]), z = t(P.categories, F, L), [B, V] = u(k), H = l((e) => {
32
+ V(e), A?.(e);
33
+ }, [A]);
34
+ return f(d, {
35
+ isModal: !0,
36
+ sx: {
37
+ width: "960px",
38
+ ...j
39
+ },
40
+ title: s ?? N("dialog.welcome.title"),
41
+ ...M,
42
+ children: f(_, {
43
+ dividers: !0,
44
+ sx: {
45
+ display: "flex",
46
+ padding: 0,
47
+ maxHeight: "calc(100vh - 96px)",
48
+ containerType: "inline-size",
49
+ containerName: "welcome"
50
+ },
51
+ children: p(m, {
52
+ sx: {
53
+ display: "flex",
54
+ flex: "1 1 auto",
55
+ minHeight: 0,
56
+ minWidth: 0,
57
+ [S]: {
58
+ flexDirection: "column",
59
+ flex: "0 0 100%"
60
+ }
61
+ },
62
+ children: [p(m, {
63
+ component: "nav",
64
+ sx: {
65
+ display: "flex",
66
+ flexDirection: "column",
67
+ gap: .5,
68
+ width: "220px",
69
+ flex: "none",
70
+ padding: 2,
71
+ backgroundColor: "var(--sxl-color-base-200)",
72
+ borderRight: (e) => `1px solid ${e.palette.divider}`,
73
+ [S]: { display: "contents" }
74
+ },
75
+ children: [
76
+ f(m, {
77
+ sx: {
78
+ display: "flex",
79
+ alignItems: "center",
80
+ gap: 1,
81
+ paddingX: 1.5,
82
+ paddingBottom: 2,
83
+ [S]: {
84
+ order: 1,
85
+ padding: 2,
86
+ paddingBottom: 1
87
+ }
88
+ },
89
+ children: w ?? f(b, {
90
+ href: "https://www.sheetxl.com",
91
+ target: "_blank",
92
+ rel: "noopener noreferrer",
93
+ sx: { display: "flex" },
94
+ children: f(o, {
95
+ role: "img",
96
+ "aria-label": "SheetXL",
97
+ style: {
98
+ width: "120px",
99
+ height: "33px"
100
+ }
101
+ })
102
+ })
103
+ }),
104
+ p(m, {
105
+ sx: {
106
+ display: "flex",
107
+ flexDirection: "column",
108
+ gap: .5,
109
+ [S]: {
110
+ order: 2,
111
+ paddingX: 1
112
+ }
113
+ },
114
+ children: [
115
+ f(C, {
116
+ icon: "FileNew",
117
+ label: N("dialog.welcome.blank"),
118
+ onClick: T
119
+ }),
120
+ E ? f(C, {
121
+ icon: "FileOpen",
122
+ label: N("dialog.welcome.openFromDevice"),
123
+ onClick: E
124
+ }) : null,
125
+ D ? f(C, {
126
+ icon: "FileOpen",
127
+ label: N("dialog.welcome.openFromWeb"),
128
+ onClick: D
129
+ }) : null
130
+ ]
131
+ }),
132
+ f(m, { sx: {
133
+ flex: "1 1 auto",
134
+ [S]: { display: "none" }
135
+ } }),
136
+ f(v, { sx: {
137
+ marginBottom: 1,
138
+ [S]: { display: "none" }
139
+ } }),
140
+ p(m, {
141
+ sx: {
142
+ display: "flex",
143
+ flexDirection: "column",
144
+ gap: .5,
145
+ paddingX: 1.5,
146
+ [S]: {
147
+ order: 6,
148
+ flexDirection: "row",
149
+ flexWrap: "wrap",
150
+ columnGap: 2,
151
+ paddingX: 3,
152
+ paddingY: 1.5,
153
+ borderTop: (e) => `1px solid ${e.palette.divider}`
154
+ }
155
+ },
156
+ children: [
157
+ f(b, {
158
+ variant: "caption",
159
+ href: "https://www.sheetxl.com/docs",
160
+ target: "_blank",
161
+ rel: "noopener noreferrer",
162
+ children: N("dialog.welcome.docs")
163
+ }),
164
+ f(b, {
165
+ variant: "caption",
166
+ href: "https://github.com/sheetxl/templates-workbook",
167
+ target: "_blank",
168
+ rel: "noopener noreferrer",
169
+ children: N("dialog.welcome.addTemplate")
170
+ }),
171
+ f(x, {
172
+ variant: "caption",
173
+ sx: { color: "text.secondary" },
174
+ children: N("dialog.welcome.version", { version: a })
175
+ })
176
+ ]
177
+ })
178
+ ]
179
+ }), p(m, {
180
+ sx: {
181
+ flex: "1 1 auto",
182
+ minWidth: 0,
183
+ display: "flex",
184
+ flexDirection: "column",
185
+ [S]: { display: "contents" }
186
+ },
187
+ children: [
188
+ f(m, {
189
+ sx: {
190
+ display: "flex",
191
+ paddingX: 3,
192
+ paddingTop: 2,
193
+ paddingBottom: 2,
194
+ [S]: { order: 3 }
195
+ },
196
+ children: f(r, {
197
+ value: F,
198
+ onChange: I,
199
+ categories: P.categories,
200
+ categoryIds: L,
201
+ onCategoryIdsChange: R,
202
+ sx: {
203
+ flex: "0 1 50%",
204
+ minWidth: "min(100%, 280px)",
205
+ [S]: { flex: "1 1 100%" }
206
+ }
207
+ })
208
+ }),
209
+ f(e, {
210
+ role: "region",
211
+ "aria-label": N("dialog.welcome.templates"),
212
+ catalog: P,
213
+ onSelect: O,
214
+ filter: z,
215
+ emptyLabel: z ? N("template.noMatches") : void 0,
216
+ visibleRows: 2,
217
+ sx: {
218
+ flex: "1 1 auto",
219
+ overflow: "auto",
220
+ paddingX: 2,
221
+ paddingBottom: 2,
222
+ [S]: {
223
+ order: 4,
224
+ flex: "0 1 auto"
225
+ }
226
+ }
227
+ }),
228
+ B === void 0 ? null : f(m, {
229
+ sx: {
230
+ flex: "none",
231
+ paddingX: 3,
232
+ paddingY: .5,
233
+ borderTop: (e) => `1px solid ${e.palette.divider}`,
234
+ [S]: { order: 5 }
235
+ },
236
+ children: f(y, {
237
+ control: f(g, {
238
+ size: "small",
239
+ checked: B,
240
+ onChange: (e) => H(e.target.checked)
241
+ }),
242
+ label: f(x, {
243
+ variant: "body2",
244
+ children: N("template.showAtStartup")
245
+ })
246
+ })
247
+ })
248
+ ]
249
+ })]
250
+ })
251
+ })
252
+ });
253
+ }, T = (e) => {
254
+ i(e).catch(() => {});
255
+ };
256
+ export { w as default, T as prefetchCatalog };