@sheetxl/studio-mui 0.7.27 → 0.7.28-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/README.md +2 -2
  2. package/browser/cjs/BQJKf40kttQWOzLw.cjs +20 -0
  3. package/browser/cjs/BTZ5uzK0wHzpiZGC.cjs +1 -0
  4. package/browser/cjs/B_D3JKseVvpRyX-E.cjs +1 -0
  5. package/browser/cjs/B_WyRpeiesnEiNP4.cjs +11 -0
  6. package/browser/cjs/BeKpqOx8It0RD0Rf.cjs +2 -0
  7. package/browser/cjs/Bj-EvSYeDfqmU0V6.cjs +2 -0
  8. package/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +1 -0
  9. package/browser/cjs/ByIEqNsvj52sihT9.cjs +5 -0
  10. package/browser/cjs/C3moehR3VOd0LnmM.cjs +1 -0
  11. package/browser/cjs/C97KHSuikAbr1qVM.cjs +1 -0
  12. package/browser/cjs/CJLwX_A3y3TQUmzj.cjs +1 -0
  13. package/browser/cjs/CPSc2VSYZeZ1B9mi.cjs +1 -0
  14. package/browser/cjs/CPcBvw4ZPwHVTUZF.cjs +1 -0
  15. package/browser/cjs/CZm1jVZaHQ246prW.cjs +1 -0
  16. package/browser/cjs/CdDYyAfccXme8w6m.cjs +1 -0
  17. package/browser/cjs/DBJLJGiCGXesx5n6.cjs +1 -0
  18. package/browser/cjs/DLScL5AOXhHu9O9H.cjs +7 -0
  19. package/browser/cjs/Djsiad0Qha1Y-YaS.cjs +1 -0
  20. package/browser/cjs/IASAYG6qgv7lJY7y.cjs +1 -0
  21. package/browser/cjs/KZvriGbhEOVkQD0b.cjs +1 -0
  22. package/browser/cjs/UnMhi28mbvLiOXQe.cjs +1 -0
  23. package/browser/cjs/Vbigo0kFP3PFfmeA.cjs +1 -0
  24. package/browser/cjs/iMWEL01eC83oU-YY.cjs +1 -0
  25. package/browser/cjs/index.cjs +2 -7
  26. package/browser/cjs/w2GjebPlOFv3pCbm.cjs +1 -0
  27. package/browser/cjs/zQsyZpeXAvcVXJMs.cjs +1 -0
  28. package/browser/esm/BFnJuOSao7TjbB-2.mjs +1150 -0
  29. package/browser/esm/BGngIqHYTFzsezh-.mjs +105 -0
  30. package/browser/esm/BH0fLaa4Vfda2U-T.mjs +155 -0
  31. package/browser/esm/BKadOi_4tf3UqilJ.mjs +8878 -0
  32. package/browser/esm/BNhUUeacBwGsPLBQ.mjs +42 -0
  33. package/browser/esm/BkP8c-zrLAqdNL5E.mjs +82 -0
  34. package/browser/esm/BlykPulAqes3JMee.mjs +1376 -0
  35. package/browser/esm/Bt_J_RX2M5EfualB.mjs +217 -0
  36. package/browser/esm/CIvpm_sHFmNjZQ7A.mjs +52 -0
  37. package/browser/esm/Cwku0NEsbyq9Q_RE.mjs +129 -0
  38. package/browser/esm/D4-E6nt8hrlNPIFy.mjs +5391 -0
  39. package/browser/esm/D5kzg7IfEtrExqiB.mjs +47 -0
  40. package/browser/esm/DLG0lDeb0t2L5dW4.mjs +468 -0
  41. package/browser/esm/DN5ACcUVdZeTSdLP.mjs +411 -0
  42. package/browser/esm/DP50mI7SOk1spPHv.mjs +516 -0
  43. package/browser/esm/DfZkO9tkYUlBUgXw.mjs +508 -0
  44. package/browser/esm/DhSHhyt16cHMvS_1.mjs +612 -0
  45. package/browser/esm/DxEzstNhMkJ0uzic.mjs +191 -0
  46. package/browser/esm/DxurARMNTQF7_rno.mjs +99 -0
  47. package/browser/esm/EK3JudzGAPbSIzUc.mjs +2207 -0
  48. package/browser/esm/Lds8JbV0rmFse8IO.mjs +113 -0
  49. package/browser/esm/gdfNDmwpOOPidxVx.mjs +20 -0
  50. package/browser/esm/gr4KpbaVpVfm8KOB.mjs +219 -0
  51. package/browser/esm/index.mjs +152 -91
  52. package/licenses/dependencies.txt +137 -627
  53. package/node/esm/-xXP4QK8hYGcJeug.mjs +509 -0
  54. package/node/esm/BVNe-px0vKah_sh2.mjs +516 -0
  55. package/node/esm/CLqRv2FWsGMrPoB0.mjs +47 -0
  56. package/node/esm/CSaiKMpmmQJY2xtl.mjs +113 -0
  57. package/node/esm/CTVMIjaQZQtJ05F8.mjs +129 -0
  58. package/node/esm/CWDr4rcpYux8bSQk.mjs +82 -0
  59. package/node/esm/CgDlduchq8t6DdhF.mjs +190 -0
  60. package/node/esm/Ck1Im-zWbwJqZNU1.mjs +470 -0
  61. package/node/esm/Ctakr7TocM8RykpC.mjs +679 -0
  62. package/node/esm/DMhU1sS3kX-Im83k.mjs +106 -0
  63. package/node/esm/Dh2MI-_NSwxjrRP8.mjs +99 -0
  64. package/node/esm/ED4g6Bsz9syAhAW3.mjs +155 -0
  65. package/node/esm/VuLRDpv46Yib6fpp.mjs +4536 -0
  66. package/node/esm/index.mjs +10603 -2832
  67. package/package.json +27 -27
  68. package/resources/contents.json +30 -0
  69. package/resources/locales/contents.json +44 -0
  70. package/resources/locales/de/groups.cmd.json +219 -0
  71. package/resources/locales/de/studio.cmd.json +159 -0
  72. package/resources/locales/de/ui.msg.json +507 -0
  73. package/resources/locales/en/groups.cmd.json +219 -0
  74. package/resources/locales/en/studio.cmd.json +159 -0
  75. package/resources/locales/en/ui.msg.json +508 -0
  76. package/types/index.d.ts +2 -1761
  77. package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +131 -0
  78. package/types/src/anchorItems/AnchorItemsPanel.d.ts +29 -0
  79. package/types/src/anchorItems/index.d.ts +3 -0
  80. package/types/src/border/BorderPopupButton.d.ts +30 -0
  81. package/types/src/border/BorderStylePopupButton.d.ts +40 -0
  82. package/types/src/border/index.d.ts +3 -0
  83. package/types/src/chart/command/InsertChartCommandButton.d.ts +10 -0
  84. package/types/src/chart/command/index.d.ts +2 -0
  85. package/types/src/color/Alpha.d.ts +36 -0
  86. package/types/src/color/Checkboard.d.ts +11 -0
  87. package/types/src/color/CheckboardUtils.d.ts +3 -0
  88. package/types/src/color/ColorButton.d.ts +21 -0
  89. package/types/src/color/ColorButtonList.d.ts +17 -0
  90. package/types/src/color/ColorPanel.d.ts +71 -0
  91. package/types/src/color/ColorPopupButton.d.ts +29 -0
  92. package/types/src/color/CustomColorPanel.d.ts +16 -0
  93. package/types/src/color/EditableInput.d.ts +22 -0
  94. package/types/src/color/Hue.d.ts +29 -0
  95. package/types/src/color/Saturation.d.ts +45 -0
  96. package/types/src/color/SketchFields.d.ts +9 -0
  97. package/types/src/color/Swatch.d.ts +16 -0
  98. package/types/src/color/Types.d.ts +11 -0
  99. package/types/src/color/_Utils.d.ts +4 -0
  100. package/types/src/color/index.d.ts +7 -0
  101. package/types/src/command/AccountingStyleCommandButton.d.ts +18 -0
  102. package/types/src/command/AppearanceCommandButton.d.ts +3 -0
  103. package/types/src/command/BorderCommandButton.d.ts +20 -0
  104. package/types/src/command/ColorCommandButton.d.ts +23 -0
  105. package/types/src/command/DocThemeCommandButton.d.ts +19 -0
  106. package/types/src/command/FileCommandButton.d.ts +8 -0
  107. package/types/src/command/FontFamilyCommandButton.d.ts +9 -0
  108. package/types/src/command/FontSizeCommandButton.d.ts +21 -0
  109. package/types/src/command/InsertFunctionCommandPopupButton.d.ts +9 -0
  110. package/types/src/command/InsertFunctionSumCommandPopupButton.d.ts +8 -0
  111. package/types/src/command/LanguageCommandButton.d.ts +19 -0
  112. package/types/src/command/LocaleCommandButton.d.ts +17 -0
  113. package/types/src/command/NumberFormatCommandButton.d.ts +6 -0
  114. package/types/src/command/PasteCommandButton.d.ts +14 -0
  115. package/types/src/command/PresetCellStylesCommandButton.d.ts +11 -0
  116. package/types/src/command/PresetTableStylesCommandButton.d.ts +12 -0
  117. package/types/src/command/RegisterCatalog.d.ts +3 -0
  118. package/types/src/command/SheetCommandGroups.d.ts +10 -0
  119. package/types/src/command/SheetZoomCommandButton.d.ts +9 -0
  120. package/types/src/command/StudioCommandGroups.d.ts +11 -0
  121. package/types/src/command/TextEffectsCommandButton.d.ts +6 -0
  122. package/types/src/command/TextRotateGroupButton.d.ts +14 -0
  123. package/types/src/command/UndoRedoCommandButton.d.ts +14 -0
  124. package/types/src/command/WalkingCopyCommandButton.d.ts +6 -0
  125. package/types/src/command/WorkbookCommandGroups.d.ts +11 -0
  126. package/types/src/command/index.d.ts +23 -0
  127. package/types/src/conditionalFormat/ColorScaleRulePanel.d.ts +18 -0
  128. package/types/src/conditionalFormat/ConditionalFormatDetailsPanel.d.ts +23 -0
  129. package/types/src/conditionalFormat/ConditionalFormatDetailsTaskPane.d.ts +4 -0
  130. package/types/src/conditionalFormat/ConditionalFormatEditorPanel.d.ts +20 -0
  131. package/types/src/conditionalFormat/ConditionalFormatPlugin.d.ts +2 -0
  132. package/types/src/conditionalFormat/ConditionalFormatRangeField.d.ts +32 -0
  133. package/types/src/conditionalFormat/ConditionalFormatStylePicker.d.ts +34 -0
  134. package/types/src/conditionalFormat/ConditionalFormatTitle.d.ts +10 -0
  135. package/types/src/conditionalFormat/DataBarRulePanel.d.ts +23 -0
  136. package/types/src/conditionalFormat/IconSetRulePanel.d.ts +23 -0
  137. package/types/src/conditionalFormat/PresetChip.d.ts +30 -0
  138. package/types/src/conditionalFormat/PresetScalesCommandButton.d.ts +20 -0
  139. package/types/src/conditionalFormat/RulePreview.d.ts +23 -0
  140. package/types/src/conditionalFormat/RuleSection.d.ts +20 -0
  141. package/types/src/conditionalFormat/ScaleMiniGrid.d.ts +59 -0
  142. package/types/src/conditionalFormat/ScaleStopRow.d.ts +34 -0
  143. package/types/src/conditionalFormat/index.d.ts +3 -0
  144. package/types/src/conditionalFormat/previewColor.d.ts +50 -0
  145. package/types/src/conditions/AverageOption.d.ts +25 -0
  146. package/types/src/conditions/BetweenOption.d.ts +25 -0
  147. package/types/src/conditions/BooleanOption.d.ts +24 -0
  148. package/types/src/conditions/CombinatorOption.d.ts +41 -0
  149. package/types/src/conditions/ConditionEditor.d.ts +57 -0
  150. package/types/src/conditions/ConditionUtils.d.ts +83 -0
  151. package/types/src/conditions/DateTimeOption.d.ts +43 -0
  152. package/types/src/conditions/ExpressionOption.d.ts +26 -0
  153. package/types/src/conditions/InSetOption.d.ts +37 -0
  154. package/types/src/conditions/NumberOption.d.ts +24 -0
  155. package/types/src/conditions/OperatorAndParamEditor.d.ts +55 -0
  156. package/types/src/conditions/OperatorSelect.d.ts +35 -0
  157. package/types/src/conditions/OperatorSelectPopupButton.d.ts +39 -0
  158. package/types/src/conditions/ScalarOption.d.ts +29 -0
  159. package/types/src/conditions/SelectorSelect.d.ts +43 -0
  160. package/types/src/conditions/StringOption.d.ts +24 -0
  161. package/types/src/conditions/TimePeriodOption.d.ts +25 -0
  162. package/types/src/conditions/TopNOption.d.ts +25 -0
  163. package/types/src/conditions/index.d.ts +13 -0
  164. package/types/src/dataValidation/DataValidationDetailsPanel.d.ts +16 -0
  165. package/types/src/dataValidation/DataValidationDetailsTaskPane.d.ts +3 -0
  166. package/types/src/dataValidation/DataValidationEditorPanel.d.ts +12 -0
  167. package/types/src/dataValidation/DataValidationPlugin.d.ts +2 -0
  168. package/types/src/dataValidation/index.d.ts +2 -0
  169. package/types/src/debug/DebugUtils.d.ts +4 -0
  170. package/types/src/debug/index.d.ts +2 -0
  171. package/types/src/dialog/CommentsDialog.d.ts +11 -0
  172. package/types/src/dialog/FindReplaceWindow.d.ts +13 -0
  173. package/types/src/dialog/HyperlinkDialog.d.ts +28 -0
  174. package/types/src/dialog/InsertFunctionDialog.d.ts +25 -0
  175. package/types/src/dialog/NamedReferenceDialog.d.ts +17 -0
  176. package/types/src/dialog/NumberFormatDialog.d.ts +12 -0
  177. package/types/src/dialog/ResizeHeaderDialog.d.ts +15 -0
  178. package/types/src/dialog/ShortcutKeysDialog.d.ts +9 -0
  179. package/types/src/dialog/ShortcutKeysPanel.d.ts +28 -0
  180. package/types/src/dialog/SortDialog.d.ts +9 -0
  181. package/types/src/dialog/TableNewDialog.d.ts +14 -0
  182. package/types/src/dialog/WorkbookStatisticsDialog.d.ts +13 -0
  183. package/types/src/dialog/index.d.ts +10 -0
  184. package/types/src/filter/ColumnMenu.d.ts +13 -0
  185. package/types/src/filter/FilterList.d.ts +28 -0
  186. package/types/src/filter/index.d.ts +3 -0
  187. package/types/src/form/FormulaField.d.ts +221 -0
  188. package/types/src/form/InputField.d.ts +89 -0
  189. package/types/src/form/index.d.ts +3 -0
  190. package/types/src/formulaBar/FormulaBar.d.ts +8 -0
  191. package/types/src/formulaBar/IFormulaBar.d.ts +51 -0
  192. package/types/src/formulaBar/index.d.ts +3 -0
  193. package/types/src/function/FunctionArgumentsPanel.d.ts +57 -0
  194. package/types/src/function/FunctionSearchPanel.d.ts +35 -0
  195. package/types/src/function/InsertFunctionWizard.d.ts +79 -0
  196. package/types/src/function/index.d.ts +4 -0
  197. package/types/src/function/paneMetrics.d.ts +33 -0
  198. package/types/src/index.d.ts +21 -0
  199. package/types/src/itemsPanel/EditorPanel.d.ts +21 -0
  200. package/types/src/itemsPanel/ItemCard.d.ts +57 -0
  201. package/types/src/itemsPanel/ItemsDescriptor.d.ts +215 -0
  202. package/types/src/itemsPanel/ItemsPanel.d.ts +45 -0
  203. package/types/src/itemsPanel/SortableCards.d.ts +67 -0
  204. package/types/src/itemsPanel/index.d.ts +6 -0
  205. package/types/src/movable/MovableContextMenu.d.ts +13 -0
  206. package/types/src/movable/index.d.ts +2 -0
  207. package/types/src/named/INamedCollectionEditor.d.ts +37 -0
  208. package/types/src/named/NamedCollectionEditor.d.ts +7 -0
  209. package/types/src/named/NamedDetailsPanel.d.ts +11 -0
  210. package/types/src/named/NamedDetailsTaskPane.d.ts +3 -0
  211. package/types/src/named/NamedDraft.d.ts +68 -0
  212. package/types/src/named/NamedEditorPanel.d.ts +19 -0
  213. package/types/src/named/NamedPlugin.d.ts +2 -0
  214. package/types/src/named/index.d.ts +8 -0
  215. package/types/src/numberFormat/NumberFormatPanel.d.ts +29 -0
  216. package/types/src/numberFormat/NumberFormatTaskPane.d.ts +12 -0
  217. package/types/src/numberFormat/index.d.ts +8 -0
  218. package/types/src/protectedRange/ProtectedRangeDetailsPanel.d.ts +20 -0
  219. package/types/src/protectedRange/ProtectedRangeDetailsTaskPane.d.ts +3 -0
  220. package/types/src/protectedRange/ProtectedRangeEditorPanel.d.ts +27 -0
  221. package/types/src/protectedRange/ProtectedRangePlugin.d.ts +2 -0
  222. package/types/src/protectedRange/index.d.ts +2 -0
  223. package/types/src/protection/WorkbookProtectionDialog.d.ts +23 -0
  224. package/types/src/protection/WorkbookProtectionPanel.d.ts +51 -0
  225. package/types/src/protection/index.d.ts +3 -0
  226. package/types/src/sheet/SheetTabMenu.d.ts +21 -0
  227. package/types/src/sheet/SheetsAllMenu.d.ts +16 -0
  228. package/types/src/sheet/index.d.ts +3 -0
  229. package/types/src/statusBar/NumberStats.d.ts +27 -0
  230. package/types/src/statusBar/SheetZoomScale.d.ts +11 -0
  231. package/types/src/statusBar/StatusBar.d.ts +35 -0
  232. package/types/src/statusBar/index.d.ts +4 -0
  233. package/types/src/studio/CommandsWrapper.d.ts +36 -0
  234. package/types/src/studio/DefaultLogo.d.ts +3 -0
  235. package/types/src/studio/EagerStudio.d.ts +5 -0
  236. package/types/src/studio/Studio.d.ts +26 -0
  237. package/types/src/studio/StudioCommandProvider.d.ts +26 -0
  238. package/types/src/studio/StudioCommands.d.ts +115 -0
  239. package/types/src/studio/StudioNotifierProvider.d.ts +10 -0
  240. package/types/src/studio/StudioProps.d.ts +372 -0
  241. package/types/src/studio/StudioSplitPane.d.ts +60 -0
  242. package/types/src/studio/StudioTaskPaneArea.d.ts +8 -0
  243. package/types/src/studio/StudioToolbar.d.ts +37 -0
  244. package/types/src/studio/index.d.ts +4 -0
  245. package/types/src/studio/useStudioApp.d.ts +51 -0
  246. package/types/src/table/TableDetailsPanel.d.ts +17 -0
  247. package/types/src/table/TableDetailsTaskPane.d.ts +3 -0
  248. package/types/src/table/TablePlugin.d.ts +2 -0
  249. package/types/src/table/TableStyleCanvasPreview.d.ts +21 -0
  250. package/types/src/table/TableStyleOptionsPanel.d.ts +38 -0
  251. package/types/src/table/TableStylePreview.d.ts +43 -0
  252. package/types/src/table/index.d.ts +7 -0
  253. package/types/src/theme/ThemeSelectButton.d.ts +23 -0
  254. package/types/src/theme/ThemeSelectPanel.d.ts +17 -0
  255. package/types/src/theme/ThemeSelectPopupButton.d.ts +24 -0
  256. package/types/src/theme/ThemeUtils.d.ts +57 -0
  257. package/types/src/theme/index.d.ts +5 -0
  258. package/types/src/toast/ToastError.d.ts +10 -0
  259. package/types/src/toast/index.d.ts +2 -0
  260. package/types/src/toolbar/WorkbookToolbars.d.ts +46 -0
  261. package/types/src/toolbar/index.d.ts +2 -0
  262. package/types/src/workbook/DefaultRenderers.d.ts +23 -0
  263. package/types/src/workbook/DocumentTitle.d.ts +69 -0
  264. package/types/src/workbook/WorkbookContextMenu.d.ts +13 -0
  265. package/types/src/workbook/WorkbookElement.d.ts +12 -0
  266. package/types/src/workbook/WorkbookStrip.d.ts +37 -0
  267. package/types/src/workbook/index.d.ts +7 -0
  268. package/browser/cjs/0DtrpXkQQehBmvSv.cjs +0 -6
  269. package/browser/cjs/6C3ia2nz4Zm-AdMZ.cjs +0 -7
  270. package/browser/cjs/BR_EGEaHisRrXAtK.cjs +0 -6
  271. package/browser/cjs/B_v_M4TiavtofChs.cjs +0 -42
  272. package/browser/cjs/C17p-h_nw582H7WD.cjs +0 -20
  273. package/browser/cjs/CInmVysdoHEvvW9h.cjs +0 -6
  274. package/browser/cjs/CMvQZPQsE7MuTMy_.cjs +0 -6
  275. package/browser/cjs/CkNt54AXVfJjIWja.cjs +0 -6
  276. package/browser/cjs/CtRvyhDzQxsk7dkI.cjs +0 -6
  277. package/browser/cjs/DN9cQ4_4ERQvzKn6.cjs +0 -6
  278. package/browser/cjs/DUTuBWUNF-w3Fxtb.cjs +0 -6
  279. package/browser/cjs/pTzEs1wlZj5Bb6xc.cjs +0 -18
  280. package/browser/esm/8ZnwcsRrGO3Nlw9Y.mjs +0 -54
  281. package/browser/esm/BFZ4oCbQukelEVLI.mjs +0 -53
  282. package/browser/esm/BP3nTf4-SLftsj61.mjs +0 -640
  283. package/browser/esm/BSMkBkXBQgZhX1xk.mjs +0 -2159
  284. package/browser/esm/CPLIJbynjEkwF2T0.mjs +0 -4533
  285. package/browser/esm/CuC13VFjBYFE7kub.mjs +0 -155
  286. package/browser/esm/Cw3i8T1tVnm8o6eB.mjs +0 -46
  287. package/browser/esm/D6E8W2KK4dGVRQO_.mjs +0 -25
  288. package/browser/esm/D8xc3AM9QHEqmpb9.mjs +0 -50
  289. package/browser/esm/DA_bEpA5kkn89fmW.mjs +0 -2411
  290. package/browser/esm/DVqOr-7nEXA7IjKJ.mjs +0 -26
  291. package/browser/esm/VAUOzclLs-dR9nt_.mjs +0 -50
  292. package/node/assets/style.css +0 -1
  293. package/node/esm/B9dvpdCD_p2q8aNP.mjs +0 -156
  294. package/node/esm/BBxZemzbmUkoOYdq.mjs +0 -46
  295. package/node/esm/BDdkV45Cf7BLs5jE.mjs +0 -25
  296. package/node/esm/BoX8OuVRgUNgw0Wb.mjs +0 -91
  297. package/node/esm/CPbwVoL6mq66TtTR.mjs +0 -53
  298. package/node/esm/DMd6h1vz-USluank.mjs +0 -88
  299. package/node/esm/DYgtaT_soTbSP8M9.mjs +0 -52
  300. package/node/esm/DxDGSRoOYlWydiwL.mjs +0 -57
  301. package/node/esm/OMgXBbHk-VRNKAop.mjs +0 -26
  302. package/node/esm/bGXLfLFngllNb8U1.mjs +0 -50
@@ -0,0 +1,20 @@
1
+ import { default as React } from 'react';
2
+ import { CommandButtonType } from '@sheetxl/utils-react';
3
+ import { BorderPopupButtonProps } from '../border';
4
+ export interface BorderCommandButtonProps extends Omit<Partial<BorderPopupButtonProps>, "icon" | "label"> {
5
+ commandKey?: string;
6
+ icon?: React.ReactNode | ((command: any) => React.ReactNode);
7
+ label?: React.ReactNode | ((command: any) => React.ReactNode);
8
+ /**
9
+ * Styling
10
+ * @defaultValue CommandButtonType.Toolbar
11
+ */
12
+ variant?: CommandButtonType;
13
+ darkMode?: boolean;
14
+ }
15
+ /**
16
+ * Implement disabled
17
+ * Set command on selected
18
+ */
19
+ export declare const BorderCommandButton: React.NamedExoticComponent<Omit<BorderCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
20
+ //# sourceMappingURL=BorderCommandButton.d.ts.map
@@ -0,0 +1,23 @@
1
+ import { default as React } from 'react';
2
+ import { CommandButtonType } from '@sheetxl/utils-react';
3
+ import { ColorPopupButtonProps } from '../color';
4
+ /**
5
+ * Wraps ColorPopupButton with a command.
6
+ */
7
+ export interface ColorCommandButtonProps extends Omit<ColorPopupButtonProps, "selectedColor" | "variant" | "icon" | "label"> {
8
+ commandKey?: string;
9
+ icon?: React.ReactNode | ((command: any) => React.ReactNode);
10
+ label?: React.ReactNode | ((command: any) => React.ReactNode);
11
+ /**
12
+ * Styling
13
+ * @defaultValue CommandButtonType.Toolbar
14
+ */
15
+ variant?: CommandButtonType;
16
+ /**
17
+ * Hint to indicate to the popup to behave like a split button even if no commands is available.
18
+ */
19
+ isSplit?: boolean;
20
+ darkMode?: boolean;
21
+ }
22
+ export declare const ColorCommandButton: React.NamedExoticComponent<Omit<ColorCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
23
+ //# sourceMappingURL=ColorCommandButton.d.ts.map
@@ -0,0 +1,19 @@
1
+ import { default as React } from 'react';
2
+ import { ITheme } from '@sheetxl/sdk';
3
+ import { CommandButtonType } from '@sheetxl/utils-react';
4
+ import { ThemeSelectPopupButtonProps } from '../theme';
5
+ export interface DocThemeCommandButtonProps extends Omit<ThemeSelectPopupButtonProps, "createPopupPanel" | "variant" | "themes" | "icon" | "label"> {
6
+ commandKey: string;
7
+ icon?: React.ReactNode | ((command: any) => React.ReactNode);
8
+ label?: React.ReactNode | ((command: any) => React.ReactNode);
9
+ selectedTheme?: ITheme;
10
+ onSelectTheme?: (docTheme: ITheme) => void;
11
+ /**
12
+ * Styling
13
+ * @defaultValue CommandButtonType.Toolbar
14
+ */
15
+ variant?: CommandButtonType;
16
+ darkMode?: boolean;
17
+ }
18
+ export declare const DocThemeCommandButton: React.NamedExoticComponent<Omit<DocThemeCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
19
+ //# sourceMappingURL=DocThemeCommandButton.d.ts.map
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
3
+ export interface FileCommandButtonProps extends CommandPopupButtonProps {
4
+ }
5
+ export declare const FileCommandButton: React.FC<FileCommandButtonProps & {
6
+ ref?: any;
7
+ }>;
8
+ //# sourceMappingURL=FileCommandButton.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
3
+ export interface FontFamilyCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "label" | "createPopupPanel"> {
4
+ commandKey: string;
5
+ icon?: React.ReactNode | ((command: any) => React.ReactNode);
6
+ label?: React.ReactNode | ((command: any) => React.ReactNode);
7
+ }
8
+ export declare const FontFamilyCommandButton: React.NamedExoticComponent<Omit<FontFamilyCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
9
+ //# sourceMappingURL=FontFamilyCommandButton.d.ts.map
@@ -0,0 +1,21 @@
1
+ import { default as React } from 'react';
2
+ import { ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
3
+ export interface FontSizeCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "label" | "createPopupPanel"> {
4
+ commandKey?: string;
5
+ icon?: React.ReactNode | ((command: any) => React.ReactNode);
6
+ label?: React.ReactNode | ((command: any) => React.ReactNode);
7
+ /**
8
+ * defaults the the Excel fontSizes
9
+ */
10
+ fontSizes?: number[];
11
+ /**
12
+ * Show quickButtons. Requires commands to be set.
13
+ * @defaultValue false
14
+ */
15
+ showQuickButtons?: boolean;
16
+ }
17
+ /**
18
+ * TODO - add divider and increase/decrease as quick buttons??
19
+ */
20
+ export declare const FontSizeCommandButton: React.NamedExoticComponent<Omit<FontSizeCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
21
+ //# sourceMappingURL=FontSizeCommandButton.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
3
+ export interface InsertFunctionCommandButtonProps extends CommandPopupButtonProps {
4
+ category: string;
5
+ icon?: React.ReactNode | ((command: any) => React.ReactNode);
6
+ label?: React.ReactNode | ((command: any) => React.ReactNode);
7
+ }
8
+ export declare const InsertFunctionCommandPopupButton: React.NamedExoticComponent<Omit<InsertFunctionCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
9
+ //# sourceMappingURL=InsertFunctionCommandPopupButton.d.ts.map
@@ -0,0 +1,8 @@
1
+ import { CommandButtonOptions } from '@sheetxl/utils-react';
2
+ export interface InsertFunctionSumCommandPopupButtonProps extends CommandButtonOptions {
3
+ }
4
+ /**
5
+ * Menu for quick function sum
6
+ */
7
+ export declare const InsertFunctionSumCommandPopupButton: import('react').NamedExoticComponent<InsertFunctionSumCommandPopupButtonProps & import('react').RefAttributes<HTMLElement>>;
8
+ //# sourceMappingURL=InsertFunctionSumCommandPopupButton.d.ts.map
@@ -0,0 +1,19 @@
1
+ import { default as React } from 'react';
2
+ import { ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
3
+ export interface LanguageCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, 'icon' | 'label' | 'createPopupPanel'> {
4
+ }
5
+ /**
6
+ * The UI-language picker, backed by the studio `language` command (state = the active tag,
7
+ * `execute(tag)` switches). The command exists so surfaces that resolve commands — including the
8
+ * enclosing `languageOptions` panel's all-disabled reduction — see a real, enabled member; the
9
+ * *list* is still this component's own concern.
10
+ *
11
+ * The list is whatever is REGISTERED, not a hardcoded set — `getAvailable()` grows when a user drops
12
+ * a pack into `~/.sheetxl/resources/locales/…`, which is the point of the resource system. It follows
13
+ * that a language can appear here that we never shipped, and that nothing needs a rebuild for it to.
14
+ *
15
+ * Contrast with locale (number/date formatting): that is a DOCUMENT property (`IWorkbook.setLocale`),
16
+ * so its picker (`LocaleCommandButton`) sits behind a workbook command.
17
+ */
18
+ export declare const LanguageCommandButton: React.NamedExoticComponent<Omit<LanguageCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
19
+ //# sourceMappingURL=LanguageCommandButton.d.ts.map
@@ -0,0 +1,17 @@
1
+ import { default as React } from 'react';
2
+ import { ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
3
+ export interface LocaleCommandButtonProps extends Omit<ExhibitPopupIconButtonProps, 'icon' | 'label' | 'createPopupPanel'> {
4
+ }
5
+ /**
6
+ * The workbook regional-format (locale) picker, backed by the workbook `locale` command.
7
+ *
8
+ * A locale is a DOCUMENT property (`IWorkbook.setLocale` — number/date formatting travels with the
9
+ * file, as in Excel), which is why this sits behind a workbook command while the language picker
10
+ * (`LanguageCommandButton`) drives an application singleton behind a studio command.
11
+ *
12
+ * The command state is the PINNED tag or `null` (= follow the environment) — the same domain
13
+ * `setLocale` takes — so the "System default" row can be told apart from a locale pinned to the
14
+ * very tag the environment happens to resolve to.
15
+ */
16
+ export declare const LocaleCommandButton: React.NamedExoticComponent<Omit<LocaleCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
17
+ //# sourceMappingURL=LocaleCommandButton.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
3
+ export interface NumberFormatCommandButtonProps extends CommandPopupButtonProps {
4
+ }
5
+ export declare const NumberFormatCommandButton: React.NamedExoticComponent<Omit<NumberFormatCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
6
+ //# sourceMappingURL=NumberFormatCommandButton.d.ts.map
@@ -0,0 +1,14 @@
1
+ import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
2
+ export interface PasteCommandButtonProps extends CommandPopupButtonProps {
3
+ commandKey: string;
4
+ /**
5
+ * Duplicate the paste all in the popup as well as the quick button
6
+ * @defaultValue true
7
+ */
8
+ includePasteAllInPopup?: boolean;
9
+ }
10
+ /**
11
+ * Menu for paste options
12
+ */
13
+ export declare const PasteCommandButton: import('react').NamedExoticComponent<Omit<PasteCommandButtonProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
14
+ //# sourceMappingURL=PasteCommandButton.d.ts.map
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { IStyle } from '@sheetxl/sdk';
3
+ import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
4
+ export interface PresetCellStylesCommandButtonProps extends CommandPopupButtonProps {
5
+ commandKey: string;
6
+ selectedNamed?: IStyle.INamed;
7
+ onSelectNamed?: (style: IStyle.INamed) => void;
8
+ usePreviewIcon?: boolean;
9
+ }
10
+ export declare const PresetCellStylesCommandButton: React.NamedExoticComponent<Omit<PresetCellStylesCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
11
+ //# sourceMappingURL=PresetCellStylesCommandButton.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ import { ITable } from '@sheetxl/sdk';
3
+ import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
4
+ export interface PresetTableStylesCommandButtonProps extends CommandPopupButtonProps {
5
+ commandKey: string;
6
+ selectedTable?: ITable;
7
+ onSelectTableStyleName?: (styleName: string) => void;
8
+ usePreviewIcon?: boolean;
9
+ disabledQuickKey?: boolean;
10
+ }
11
+ export declare const PresetTableStylesCommandButton: React.NamedExoticComponent<Omit<PresetTableStylesCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
12
+ //# sourceMappingURL=PresetTableStylesCommandButton.d.ts.map
@@ -0,0 +1,3 @@
1
+ /** Register the studio command catalogs (bundled `en` floor + all fetched locales) into the registry. */
2
+ export declare function registerStudioCommandCatalogs(): void;
3
+ //# sourceMappingURL=RegisterCatalog.d.ts.map
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Registers **sheet-scoped** command groups - operations on a sheet's cells, rows, columns, and
3
+ * drawings.
4
+ *
5
+ * @remarks
6
+ * Definitions belong roughly to the command scope that creates the keys. Grouped here so they can
7
+ * later move wholesale to the sheet package. See {@link registerWorkbookCommandGroups}.
8
+ */
9
+ export declare const registerSheetCommandGroups: () => void;
10
+ //# sourceMappingURL=SheetCommandGroups.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
3
+ /**
4
+ * Zoom-level split button for the status bar. Like the `textRotateOptions` group: the popup lists the
5
+ * preset levels + a custom input, while the quick button always executes `sheetZoom100` yet *displays*
6
+ * the current zoom scale.
7
+ */
8
+ export declare const SheetZoomCommandButton: React.NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & React.RefAttributes<HTMLElement>>;
9
+ //# sourceMappingURL=SheetZoomCommandButton.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Registers **studio-scoped** command groups - app/studio-level surfaces - and (by delegation) the
3
+ * workbook and sheet groups it contains. Called once at studio module init (see `EagerStudio`).
4
+ *
5
+ * @remarks
6
+ * The studio contains a workbook (which contains sheets), so this registers everything. Definitions
7
+ * belong roughly to the command scope that creates their keys; keeping the three registrars split now
8
+ * means each set can later move to its own package without untangling one function.
9
+ */
10
+ export declare const registerStudioCommandGroups: () => void;
11
+ //# sourceMappingURL=StudioCommandGroups.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
2
+ /**
3
+ * Menu for text effects options
4
+ */
5
+ export declare const TextEffectsCommandButton: import('react').NamedExoticComponent<Omit<CommandPopupButtonProps<any, any>, "ref"> & import('react').RefAttributes<HTMLElement>>;
6
+ //# sourceMappingURL=TextEffectsCommandButton.d.ts.map
@@ -0,0 +1,14 @@
1
+ import { CommandGroupProps } from '@sheetxl/utils-mui';
2
+ /**
3
+ * The `textRotateOptions` head - a {@link CommandGroup} whose popup / members come from the registry
4
+ * but whose quick command follows Excel's quirky orientation-button behavior:
5
+ *
6
+ * - By default the quick action applies `formatTextRotate315` ("Angle Counterclockwise").
7
+ * - Once a *custom* angle is set (`formatTextRotateCustom`), the quick action flips to
8
+ * `formatTextRotate0` so a single click resets the rotation, and the head reads as `selected`.
9
+ *
10
+ * This is the one alignment head that isn't a plain {@link ToggleGroupButton} projection (the active
11
+ * *preset* never moves the head - only the custom angle does), so it keeps a thin dedicated wrapper.
12
+ */
13
+ export declare const TextRotateGroupButton: import('react').NamedExoticComponent<Omit<CommandGroupProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
14
+ //# sourceMappingURL=TextRotateGroupButton.d.ts.map
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ import { UndoManager } from '@sheetxl/utils';
3
+ import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
4
+ export interface UndoRedoCommandButtonProps extends CommandPopupButtonProps {
5
+ quickCommand?: string;
6
+ undoManager?: UndoManager;
7
+ /**
8
+ * If true will show redo instead of undo and change text accordingly
9
+ */
10
+ isRedo?: boolean;
11
+ nestRedo?: boolean;
12
+ }
13
+ export declare const UndoRedoCommandButton: React.NamedExoticComponent<Omit<UndoRedoCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
14
+ //# sourceMappingURL=UndoRedoCommandButton.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { CommandButtonProps } from '@sheetxl/utils-react';
3
+ export interface WalkingCopyCommandButtonProps extends CommandButtonProps {
4
+ }
5
+ export declare const WalkingCopyCommandButton: React.FC<WalkingCopyCommandButtonProps>;
6
+ //# sourceMappingURL=WalkingCopyCommandButton.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Registers **workbook-scoped** command groups - operations spanning the workbook (e.g. hiding
3
+ * sheets), including groups that reference both sheet and workbook commands (the "most contained
4
+ * dependency" wins).
5
+ *
6
+ * @remarks
7
+ * A workbook contains sheets, so this also registers the {@link registerSheetCommandGroups | sheet}
8
+ * groups. Grouped here so they can later move wholesale to the workbook package.
9
+ */
10
+ export declare const registerWorkbookCommandGroups: () => void;
11
+ //# sourceMappingURL=WorkbookCommandGroups.d.ts.map
@@ -0,0 +1,23 @@
1
+ export * from './RegisterCatalog';
2
+ export * from './TextRotateGroupButton';
3
+ export * from './SheetZoomCommandButton';
4
+ export * from './BorderCommandButton';
5
+ export * from './FontSizeCommandButton';
6
+ export * from './NumberFormatCommandButton';
7
+ export * from './UndoRedoCommandButton';
8
+ export * from './ColorCommandButton';
9
+ export * from './FontFamilyCommandButton';
10
+ export * from './TextEffectsCommandButton';
11
+ export * from './PasteCommandButton';
12
+ export * from './PresetCellStylesCommandButton';
13
+ export * from './PresetTableStylesCommandButton';
14
+ export * from './DocThemeCommandButton';
15
+ export * from './FileCommandButton';
16
+ export * from './AppearanceCommandButton';
17
+ export * from './SheetCommandGroups';
18
+ export * from './WorkbookCommandGroups';
19
+ export * from './StudioCommandGroups';
20
+ export * from './WalkingCopyCommandButton';
21
+ export * from './InsertFunctionSumCommandPopupButton';
22
+ export * from './InsertFunctionCommandPopupButton';
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,18 @@
1
+ import { default as React } from 'react';
2
+ import { IConditionalFormat } from '@sheetxl/sdk';
3
+ export interface ColorScaleRulePanelProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ scale: IConditionalFormat.ColorScale;
5
+ onScaleChange: (scale: IConditionalFormat.ColorScale) => void;
6
+ readOnly?: boolean;
7
+ }
8
+ /**
9
+ * The Color Scale tab: Excel's twelve preset scales beside a 2/3-stop switch, over the per-stop
10
+ * `{ type, value, color }` rows.
11
+ *
12
+ * @remarks
13
+ * Format on top, config under it — the same two boxes every tab in the editor has. Neither box is
14
+ * captioned: the tab is already named, the preview already paints it, and the chips already say
15
+ * what a gallery of color scales is.
16
+ */
17
+ export declare const ColorScaleRulePanel: React.NamedExoticComponent<ColorScaleRulePanelProps>;
18
+ //# sourceMappingURL=ColorScaleRulePanel.d.ts.map
@@ -0,0 +1,23 @@
1
+ import { default as React } from 'react';
2
+ import { IWorkbook, IConditionalFormat } from '@sheetxl/sdk';
3
+ import { ItemsPaneArgs } from '@sheetxl/react';
4
+ import { AnchorItemsDescriptor } from '../anchorItems';
5
+ /**
6
+ * Binds conditional formats to the generic {@link AnchorItemsPanel}.
7
+ */
8
+ export declare const ConditionalFormatItemsDescriptor: AnchorItemsDescriptor<IConditionalFormat>;
9
+ export interface ConditionalFormatDetailsPanelProps extends React.HTMLAttributes<HTMLDivElement> {
10
+ workbook: IWorkbook;
11
+ /**
12
+ * The task pane's activation argument. A `draft` in it opens the pane editing a new rule seeded
13
+ * from those properties — how the Home▸Conditional Formatting presets ("Greater Than…") hand
14
+ * their rule over without committing it.
15
+ */
16
+ args?: ItemsPaneArgs<IConditionalFormat.Properties>;
17
+ }
18
+ /**
19
+ * The conditional-formatting task pane: the generic anchored-items list driven by
20
+ * {@link ConditionalFormatItemsDescriptor}.
21
+ */
22
+ export declare const ConditionalFormatDetailsPanel: React.NamedExoticComponent<ConditionalFormatDetailsPanelProps & React.RefAttributes<HTMLDivElement>>;
23
+ //# sourceMappingURL=ConditionalFormatDetailsPanel.d.ts.map
@@ -0,0 +1,4 @@
1
+ import { IConditionalFormat } from '@sheetxl/sdk';
2
+ import { TaskPaneProps, ItemsPaneArgs } from '@sheetxl/react';
3
+ export declare const ConditionalFormatDetailsTaskPane: (props: TaskPaneProps<any, ItemsPaneArgs<IConditionalFormat.Properties>>) => import("react").JSX.Element;
4
+ //# sourceMappingURL=ConditionalFormatDetailsTaskPane.d.ts.map
@@ -0,0 +1,20 @@
1
+ import { IConditionalFormat } from '@sheetxl/sdk';
2
+ export interface ConditionalFormatEditorPanelProps {
3
+ /**
4
+ * The conditional format to edit — the detached draft the items panel minted, edited in place.
5
+ */
6
+ conditionalFormat: IConditionalFormat;
7
+ }
8
+ /**
9
+ * Editor panel for one conditional-format rule: a live preview chip and the "Apply to" range
10
+ * field, a
11
+ * four-tab strip selecting the rule *kind* (Excel's six new-rule categories land inside the
12
+ * Classic tab as operators), and the per-kind editor.
13
+ *
14
+ * @remarks
15
+ * A rule carries either a `condition` + `style` or a `scale`, never both; switching tabs replaces
16
+ * one shape with the other on the draft, and the draft is temporary, so nothing is committed
17
+ * until Save.
18
+ */
19
+ export declare const ConditionalFormatEditorPanel: import('react').NamedExoticComponent<ConditionalFormatEditorPanelProps>;
20
+ //# sourceMappingURL=ConditionalFormatEditorPanel.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare const ConditionalFormatPlugin: () => void;
2
+ //# sourceMappingURL=ConditionalFormatPlugin.d.ts.map
@@ -0,0 +1,32 @@
1
+ import { default as React } from 'react';
2
+ import { IConditionalFormat } from '@sheetxl/sdk';
3
+ export interface ConditionalFormatRangeFieldProps {
4
+ /**
5
+ * The rule to re-anchor. Written through on commit.
6
+ */
7
+ conditionalFormat: IConditionalFormat;
8
+ /**
9
+ * Field label. Defaults to "Apply to"; `null` renders none, for a host that names it itself.
10
+ */
11
+ label?: React.ReactNode | null;
12
+ /**
13
+ * Helper line below the field. Defaults to `null` (none) — a reserved line is left for the error message, which is the one thing a user can get wrong here.
14
+ */
15
+ helperText?: React.ReactNode | null;
16
+ }
17
+ /**
18
+ * The rule's "Apply to" — the ranges it covers, as a reference field.
19
+ *
20
+ * @remarks
21
+ * A rule is authored as several ranges as readily as one (`allowMulti`), but always on ONE sheet
22
+ * (`allowCrossSheet: false`) — a conditional format has no cross-sheet form on the wire.
23
+ *
24
+ * Commit-on-done: the write re-anchors the rule in the sheet's spatial index and lands one entry
25
+ * on the undo stack, so it is not something to do on every keystroke. `'done'` is also what gives
26
+ * the field its ✓/✗ pair and makes Enter the field's own commit point.
27
+ *
28
+ * The helper line is left RESERVED rather than collapsed: a typed address is the one thing here a
29
+ * user can get wrong, and a reserved line means the error appears without the panel jumping.
30
+ */
31
+ export declare const ConditionalFormatRangeField: React.NamedExoticComponent<ConditionalFormatRangeFieldProps>;
32
+ //# sourceMappingURL=ConditionalFormatRangeField.d.ts.map
@@ -0,0 +1,34 @@
1
+ import { default as React } from 'react';
2
+ import { IStyle } from '@sheetxl/sdk';
3
+ export interface ConditionalFormatStylePickerProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ /**
5
+ * The rule's dxf. A differential format — only the properties the user touched are present.
6
+ *
7
+ * @remarks
8
+ * Named `format` (not `style`) because this interface extends the DOM attributes, where `style`
9
+ * is already the CSS prop.
10
+ */
11
+ format: IStyle.Properties | null;
12
+ /**
13
+ * Called with the replacement dxf; `null` clears every override.
14
+ */
15
+ onFormatChange: (format: IStyle.Properties | null) => void;
16
+ readOnly?: boolean;
17
+ }
18
+ /**
19
+ * The format section of a rule: Excel's six canned presets — so a rule authored here and one
20
+ * authored in Excel start from the same palette — plus a seventh that clears, over a mini toolbar
21
+ * of B/I/U/S toggles, border, and fill and font color (the Home toolbar's order).
22
+ *
23
+ * Clearing is a chip rather than a toolbar button because "no format" is one of the choices on
24
+ * offer, not a separate verb — and as a toolbar `✕` it read as *close*.
25
+ *
26
+ * @remarks
27
+ * Reads and writes {@link IStyle.Properties} directly. Border is in the model but not in this
28
+ * toolbar (beyond the red-border preset); a full border editor belongs to the format dialog.
29
+ *
30
+ * There is no `AaBbCc` swatch here: the panel header and every rule card already paint the rule,
31
+ * so a third preview of the same dxf is noise.
32
+ */
33
+ export declare const ConditionalFormatStylePicker: React.NamedExoticComponent<ConditionalFormatStylePickerProps>;
34
+ //# sourceMappingURL=ConditionalFormatStylePicker.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { IConditionalFormat } from '@sheetxl/sdk';
2
+ /**
3
+ * What a rule is, in one line — the condition it tests, or the kind of scale it paints.
4
+ *
5
+ * @remarks
6
+ * Shared so the card's title and the editor's header say the SAME thing about the same rule:
7
+ * moving from the list into the editor should not restate a rule differently.
8
+ */
9
+ export declare const conditionalFormatTitle: (item: IConditionalFormat, t: (key: string, options?: any) => string) => string;
10
+ //# sourceMappingURL=ConditionalFormatTitle.d.ts.map
@@ -0,0 +1,23 @@
1
+ import { default as React } from 'react';
2
+ import { IConditionalFormat } from '@sheetxl/sdk';
3
+ export interface DataBarRulePanelProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ scale: IConditionalFormat.DataBar;
5
+ onScaleChange: (scale: IConditionalFormat.DataBar) => void;
6
+ readOnly?: boolean;
7
+ }
8
+ /**
9
+ * The Data Bars tab: Excel's twelve preset bars, then show-bars-only and appearance — fill,
10
+ * border, negative fill, axis and direction — over the min/max bound rows. Every field is one
11
+ * already on {@link IConditionalFormat.DataBar}.
12
+ *
13
+ * @remarks
14
+ * Format on top, config under it — the same two boxes every tab in the editor has, which is why
15
+ * the bounds sit at the bottom rather than where Excel's dialog puts them.
16
+ *
17
+ * @remarks
18
+ * The x14 twin is the wire risk here: the legacy `dataBar` element and its x14 counterpart must
19
+ * stay married through a write, so anything exposed here is verified by the round-trip fixtures,
20
+ * not just against the SDK type.
21
+ */
22
+ export declare const DataBarRulePanel: React.NamedExoticComponent<DataBarRulePanelProps>;
23
+ //# sourceMappingURL=DataBarRulePanel.d.ts.map
@@ -0,0 +1,23 @@
1
+ import { default as React } from 'react';
2
+ import { IConditionalFormat } from '@sheetxl/sdk';
3
+ export interface IconSetRulePanelProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ scale: IConditionalFormat.IconSet;
5
+ onScaleChange: (scale: IConditionalFormat.IconSet) => void;
6
+ readOnly?: boolean;
7
+ }
8
+ /**
9
+ * The Icon Sets tab: a set picker grouped the way Excel groups them, with show-icons-only and
10
+ * reverse, over the per-band threshold rows.
11
+ *
12
+ * @remarks
13
+ * The picker offers exactly the sets `IStyle.IconSet` names, so a rule authored here always
14
+ * round-trips — including the three Excel 2010 sets that can only be written into the x14
15
+ * extension. A set name adopted from a file that is none of them is rendered read-only rather than
16
+ * silently rewritten.
17
+ *
18
+ * The picker labels each set with the glyphs it draws rather than its name — the name is what the
19
+ * tooltip is for. A set is chosen by how it looks, and the OOXML names ("3TrafficLights1") are not
20
+ * how anyone reads them.
21
+ */
22
+ export declare const IconSetRulePanel: React.NamedExoticComponent<IconSetRulePanelProps>;
23
+ //# sourceMappingURL=IconSetRulePanel.d.ts.map
@@ -0,0 +1,30 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material';
3
+ /**
4
+ * One swatch in a preset strip, and the frame every format preview in this editor draws in.
5
+ *
6
+ * @remarks
7
+ * Every tab's gallery is the same control at the same size — a dxf, a color scale, a data bar, or
8
+ * the chip that clears — so the strips line up as the user moves between tabs. Callers paint the
9
+ * inside; this owns the footprint, the frame and the hover.
10
+ */
11
+ export interface PresetChipProps extends React.HTMLAttributes<HTMLElement> {
12
+ /** Hover text. A chip whose content already names it can omit this. */
13
+ title?: string;
14
+ /**
15
+ * The chip paints a CELL rather than a control.
16
+ *
17
+ * @remarks
18
+ * A cell chip adopts the grid surface and the grid's own light/dark — which is not the app's,
19
+ * *Enable Dark Grid* gates it — so its paper, its gridline frame and any `'adaptive'` color the
20
+ * caller paints inside resolve to what the sheet will actually draw. Off (the default) the chip
21
+ * is chrome: transparent, framed in the panel's divider, and it inherits the app's mode.
22
+ *
23
+ * @defaultValue false
24
+ */
25
+ sheet?: boolean;
26
+ disabled?: boolean;
27
+ sx?: SxProps<Theme>;
28
+ }
29
+ export declare const PresetChip: React.NamedExoticComponent<PresetChipProps>;
30
+ //# sourceMappingURL=PresetChip.d.ts.map
@@ -0,0 +1,20 @@
1
+ import { default as React } from 'react';
2
+ import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
3
+ /** The galleries this button offers, keyed by the kind of scale its command writes. */
4
+ export type PresetScaleType = 'dataBar' | 'colorScale';
5
+ export interface PresetScalesCommandButtonProps extends CommandPopupButtonProps {
6
+ /** The command the gallery executes, with the picked preset as its payload. */
7
+ commandKey: string;
8
+ /** Which gallery to offer. */
9
+ scaleType: PresetScaleType;
10
+ }
11
+ /**
12
+ * A preset scale command as a **gallery flyout** — Excel's Home ▸ Conditional Formatting ▸ Data Bars
13
+ * / Color Scales.
14
+ *
15
+ * @remarks
16
+ * The command still writes its default when executed bare (a keystroke, the command palette), so
17
+ * this only adds a way to pick; it replaces no behavior.
18
+ */
19
+ export declare const PresetScalesCommandButton: React.NamedExoticComponent<Omit<PresetScalesCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
20
+ //# sourceMappingURL=PresetScalesCommandButton.d.ts.map
@@ -0,0 +1,23 @@
1
+ import { default as React } from 'react';
2
+ import { IConditionalFormat } from '@sheetxl/sdk';
3
+ export interface RulePreviewProps extends React.HTMLAttributes<HTMLElement> {
4
+ /**
5
+ * The rule to preview. Read, never mutated.
6
+ */
7
+ conditionalFormat: IConditionalFormat;
8
+ /**
9
+ * Swatch height in px.
10
+ * @defaultValue 28
11
+ */
12
+ size?: number;
13
+ }
14
+ /**
15
+ * The rendering preview of what a rule paints: an `Aa` chip for a dxf, a few cells of sheet for a
16
+ * color scale or data bar, colored bands for an icon set (until the icon pack lands).
17
+ *
18
+ * @remarks
19
+ * With the grid not yet painting every rule type, this swatch — in the rule card and at the top of
20
+ * the editor — is the authoring feedback loop, not decoration.
21
+ */
22
+ export declare const RulePreview: React.NamedExoticComponent<RulePreviewProps>;
23
+ //# sourceMappingURL=RulePreview.d.ts.map