@sheetxl/studio-mui 0.7.26 → 0.7.28-beta.1
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.
- package/README.md +2 -2
- package/browser/cjs/BQJKf40kttQWOzLw.cjs +20 -0
- package/browser/cjs/BTZ5uzK0wHzpiZGC.cjs +1 -0
- package/browser/cjs/B_D3JKseVvpRyX-E.cjs +1 -0
- package/browser/cjs/B_WyRpeiesnEiNP4.cjs +11 -0
- package/browser/cjs/BeKpqOx8It0RD0Rf.cjs +2 -0
- package/browser/cjs/Bj-EvSYeDfqmU0V6.cjs +2 -0
- package/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +1 -0
- package/browser/cjs/ByIEqNsvj52sihT9.cjs +5 -0
- package/browser/cjs/C3moehR3VOd0LnmM.cjs +1 -0
- package/browser/cjs/C97KHSuikAbr1qVM.cjs +1 -0
- package/browser/cjs/CJLwX_A3y3TQUmzj.cjs +1 -0
- package/browser/cjs/CPSc2VSYZeZ1B9mi.cjs +1 -0
- package/browser/cjs/CPcBvw4ZPwHVTUZF.cjs +1 -0
- package/browser/cjs/CZm1jVZaHQ246prW.cjs +1 -0
- package/browser/cjs/CdDYyAfccXme8w6m.cjs +1 -0
- package/browser/cjs/DBJLJGiCGXesx5n6.cjs +1 -0
- package/browser/cjs/DLScL5AOXhHu9O9H.cjs +7 -0
- package/browser/cjs/Djsiad0Qha1Y-YaS.cjs +1 -0
- package/browser/cjs/IASAYG6qgv7lJY7y.cjs +1 -0
- package/browser/cjs/KZvriGbhEOVkQD0b.cjs +1 -0
- package/browser/cjs/UnMhi28mbvLiOXQe.cjs +1 -0
- package/browser/cjs/Vbigo0kFP3PFfmeA.cjs +1 -0
- package/browser/cjs/iMWEL01eC83oU-YY.cjs +1 -0
- package/browser/cjs/index.cjs +2 -7
- package/browser/cjs/w2GjebPlOFv3pCbm.cjs +1 -0
- package/browser/cjs/zQsyZpeXAvcVXJMs.cjs +1 -0
- package/browser/esm/0EONOhVZ7oT0C_G2.mjs +1150 -0
- package/browser/esm/5x7evORpymnb5SfW.mjs +129 -0
- package/browser/esm/BACBR1jjcpJbhOWA.mjs +191 -0
- package/browser/esm/BPZne8WpzrkWOH6L.mjs +47 -0
- package/browser/esm/BeKa8xVj69hAVKRN.mjs +155 -0
- package/browser/esm/BeQ9bqOvNNP-arFP.mjs +219 -0
- package/browser/esm/Bf3PIOM6U-NmWk2O.mjs +20 -0
- package/browser/esm/C4BPDYeqgN59wMGp.mjs +411 -0
- package/browser/esm/CGbn_xdhgTvk2mvb.mjs +612 -0
- package/browser/esm/CKADOp3hTx0MSNY7.mjs +52 -0
- package/browser/esm/CR2sUEZyRqVv2SNl.mjs +105 -0
- package/browser/esm/CTN8J8c1AneJu3Lu.mjs +2207 -0
- package/browser/esm/Cc5akPEmIwbgKIfc.mjs +516 -0
- package/browser/esm/CePKCTL6D05kDy2E.mjs +82 -0
- package/browser/esm/DBM1blcMTZMAM-eR.mjs +217 -0
- package/browser/esm/DPBnKqhSuJ414Pxx.mjs +99 -0
- package/browser/esm/F51tGfYHocox80zY.mjs +468 -0
- package/browser/esm/SDzKpaiuhQux7tAh.mjs +5391 -0
- package/browser/esm/TDH9XceS8cAkO5d3.mjs +508 -0
- package/browser/esm/XKVlG-x_9q5dbVIW.mjs +8878 -0
- package/browser/esm/fJiwyUQJ18X-cCQz.mjs +1376 -0
- package/browser/esm/fel6EbPAcZOsBmks.mjs +42 -0
- package/browser/esm/flvjZEXrSDrtDzLB.mjs +113 -0
- package/browser/esm/index.mjs +152 -91
- package/licenses/dependencies.txt +137 -627
- package/node/esm/B9-0usA1hSoD0Nk3.mjs +679 -0
- package/node/esm/BO1vNzjGWYdZdbq9.mjs +113 -0
- package/node/esm/BYigefA8bf9FOVib.mjs +47 -0
- package/node/esm/BdrLZp98HQaVMykZ.mjs +82 -0
- package/node/esm/BlubX7gm8wTUNiZ-.mjs +106 -0
- package/node/esm/C8a6QwMGW1tMiWA6.mjs +516 -0
- package/node/esm/CCCnorMn30oUDDIY.mjs +4536 -0
- package/node/esm/CKpik3HRSANKEy4G.mjs +99 -0
- package/node/esm/CTZcfST8pUcLMail.mjs +509 -0
- package/node/esm/D1K9Ji7iQwnOnd1-.mjs +190 -0
- package/node/esm/DuUiuB59bQRPQi-D.mjs +155 -0
- package/node/esm/eKP73GEWmonTXpfv.mjs +470 -0
- package/node/esm/g3y8kxL1Ln214UNr.mjs +129 -0
- package/node/esm/index.mjs +10603 -2832
- package/package.json +27 -27
- package/resources/contents.json +30 -0
- package/resources/locales/contents.json +44 -0
- package/resources/locales/de/groups.cmd.json +219 -0
- package/resources/locales/de/studio.cmd.json +159 -0
- package/resources/locales/de/ui.msg.json +507 -0
- package/resources/locales/en/groups.cmd.json +219 -0
- package/resources/locales/en/studio.cmd.json +159 -0
- package/resources/locales/en/ui.msg.json +508 -0
- package/types/index.d.ts +2 -1761
- package/types/src/anchorItems/AnchorItemsDescriptor.d.ts +131 -0
- package/types/src/anchorItems/AnchorItemsPanel.d.ts +29 -0
- package/types/src/anchorItems/index.d.ts +3 -0
- package/types/src/border/BorderPopupButton.d.ts +30 -0
- package/types/src/border/BorderStylePopupButton.d.ts +40 -0
- package/types/src/border/index.d.ts +3 -0
- package/types/src/chart/command/InsertChartCommandButton.d.ts +10 -0
- package/types/src/chart/command/index.d.ts +2 -0
- package/types/src/color/Alpha.d.ts +36 -0
- package/types/src/color/Checkboard.d.ts +11 -0
- package/types/src/color/CheckboardUtils.d.ts +3 -0
- package/types/src/color/ColorButton.d.ts +21 -0
- package/types/src/color/ColorButtonList.d.ts +17 -0
- package/types/src/color/ColorPanel.d.ts +71 -0
- package/types/src/color/ColorPopupButton.d.ts +29 -0
- package/types/src/color/CustomColorPanel.d.ts +16 -0
- package/types/src/color/EditableInput.d.ts +22 -0
- package/types/src/color/Hue.d.ts +29 -0
- package/types/src/color/Saturation.d.ts +45 -0
- package/types/src/color/SketchFields.d.ts +9 -0
- package/types/src/color/Swatch.d.ts +16 -0
- package/types/src/color/Types.d.ts +11 -0
- package/types/src/color/_Utils.d.ts +4 -0
- package/types/src/color/index.d.ts +7 -0
- package/types/src/command/AccountingStyleCommandButton.d.ts +18 -0
- package/types/src/command/AppearanceCommandButton.d.ts +3 -0
- package/types/src/command/BorderCommandButton.d.ts +20 -0
- package/types/src/command/ColorCommandButton.d.ts +23 -0
- package/types/src/command/DocThemeCommandButton.d.ts +19 -0
- package/types/src/command/FileCommandButton.d.ts +8 -0
- package/types/src/command/FontFamilyCommandButton.d.ts +9 -0
- package/types/src/command/FontSizeCommandButton.d.ts +21 -0
- package/types/src/command/InsertFunctionCommandPopupButton.d.ts +9 -0
- package/types/src/command/InsertFunctionSumCommandPopupButton.d.ts +8 -0
- package/types/src/command/LanguageCommandButton.d.ts +19 -0
- package/types/src/command/LocaleCommandButton.d.ts +17 -0
- package/types/src/command/NumberFormatCommandButton.d.ts +6 -0
- package/types/src/command/PasteCommandButton.d.ts +14 -0
- package/types/src/command/PresetCellStylesCommandButton.d.ts +11 -0
- package/types/src/command/PresetTableStylesCommandButton.d.ts +12 -0
- package/types/src/command/RegisterCatalog.d.ts +3 -0
- package/types/src/command/SheetCommandGroups.d.ts +10 -0
- package/types/src/command/SheetZoomCommandButton.d.ts +9 -0
- package/types/src/command/StudioCommandGroups.d.ts +11 -0
- package/types/src/command/TextEffectsCommandButton.d.ts +6 -0
- package/types/src/command/TextRotateGroupButton.d.ts +14 -0
- package/types/src/command/UndoRedoCommandButton.d.ts +14 -0
- package/types/src/command/WalkingCopyCommandButton.d.ts +6 -0
- package/types/src/command/WorkbookCommandGroups.d.ts +11 -0
- package/types/src/command/index.d.ts +23 -0
- package/types/src/conditionalFormat/ColorScaleRulePanel.d.ts +18 -0
- package/types/src/conditionalFormat/ConditionalFormatDetailsPanel.d.ts +23 -0
- package/types/src/conditionalFormat/ConditionalFormatDetailsTaskPane.d.ts +4 -0
- package/types/src/conditionalFormat/ConditionalFormatEditorPanel.d.ts +20 -0
- package/types/src/conditionalFormat/ConditionalFormatPlugin.d.ts +2 -0
- package/types/src/conditionalFormat/ConditionalFormatRangeField.d.ts +32 -0
- package/types/src/conditionalFormat/ConditionalFormatStylePicker.d.ts +34 -0
- package/types/src/conditionalFormat/ConditionalFormatTitle.d.ts +10 -0
- package/types/src/conditionalFormat/DataBarRulePanel.d.ts +23 -0
- package/types/src/conditionalFormat/IconSetRulePanel.d.ts +23 -0
- package/types/src/conditionalFormat/PresetChip.d.ts +30 -0
- package/types/src/conditionalFormat/PresetScalesCommandButton.d.ts +20 -0
- package/types/src/conditionalFormat/RulePreview.d.ts +23 -0
- package/types/src/conditionalFormat/RuleSection.d.ts +20 -0
- package/types/src/conditionalFormat/ScaleMiniGrid.d.ts +59 -0
- package/types/src/conditionalFormat/ScaleStopRow.d.ts +34 -0
- package/types/src/conditionalFormat/index.d.ts +3 -0
- package/types/src/conditionalFormat/previewColor.d.ts +50 -0
- package/types/src/conditions/AverageOption.d.ts +25 -0
- package/types/src/conditions/BetweenOption.d.ts +25 -0
- package/types/src/conditions/BooleanOption.d.ts +24 -0
- package/types/src/conditions/CombinatorOption.d.ts +41 -0
- package/types/src/conditions/ConditionEditor.d.ts +57 -0
- package/types/src/conditions/ConditionUtils.d.ts +83 -0
- package/types/src/conditions/DateTimeOption.d.ts +43 -0
- package/types/src/conditions/ExpressionOption.d.ts +26 -0
- package/types/src/conditions/InSetOption.d.ts +37 -0
- package/types/src/conditions/NumberOption.d.ts +24 -0
- package/types/src/conditions/OperatorAndParamEditor.d.ts +55 -0
- package/types/src/conditions/OperatorSelect.d.ts +35 -0
- package/types/src/conditions/OperatorSelectPopupButton.d.ts +39 -0
- package/types/src/conditions/ScalarOption.d.ts +29 -0
- package/types/src/conditions/SelectorSelect.d.ts +43 -0
- package/types/src/conditions/StringOption.d.ts +24 -0
- package/types/src/conditions/TimePeriodOption.d.ts +25 -0
- package/types/src/conditions/TopNOption.d.ts +25 -0
- package/types/src/conditions/index.d.ts +13 -0
- package/types/src/dataValidation/DataValidationDetailsPanel.d.ts +16 -0
- package/types/src/dataValidation/DataValidationDetailsTaskPane.d.ts +3 -0
- package/types/src/dataValidation/DataValidationEditorPanel.d.ts +12 -0
- package/types/src/dataValidation/DataValidationPlugin.d.ts +2 -0
- package/types/src/dataValidation/index.d.ts +2 -0
- package/types/src/debug/DebugUtils.d.ts +4 -0
- package/types/src/debug/index.d.ts +2 -0
- package/types/src/dialog/CommentsDialog.d.ts +11 -0
- package/types/src/dialog/FindReplaceWindow.d.ts +13 -0
- package/types/src/dialog/HyperlinkDialog.d.ts +28 -0
- package/types/src/dialog/InsertFunctionDialog.d.ts +25 -0
- package/types/src/dialog/NamedReferenceDialog.d.ts +17 -0
- package/types/src/dialog/NumberFormatDialog.d.ts +12 -0
- package/types/src/dialog/ResizeHeaderDialog.d.ts +15 -0
- package/types/src/dialog/ShortcutKeysDialog.d.ts +9 -0
- package/types/src/dialog/ShortcutKeysPanel.d.ts +28 -0
- package/types/src/dialog/SortDialog.d.ts +9 -0
- package/types/src/dialog/TableNewDialog.d.ts +14 -0
- package/types/src/dialog/WorkbookStatisticsDialog.d.ts +13 -0
- package/types/src/dialog/index.d.ts +10 -0
- package/types/src/filter/ColumnMenu.d.ts +13 -0
- package/types/src/filter/FilterList.d.ts +28 -0
- package/types/src/filter/index.d.ts +3 -0
- package/types/src/form/FormulaField.d.ts +221 -0
- package/types/src/form/InputField.d.ts +89 -0
- package/types/src/form/index.d.ts +3 -0
- package/types/src/formulaBar/FormulaBar.d.ts +8 -0
- package/types/src/formulaBar/IFormulaBar.d.ts +51 -0
- package/types/src/formulaBar/index.d.ts +3 -0
- package/types/src/function/FunctionArgumentsPanel.d.ts +57 -0
- package/types/src/function/FunctionSearchPanel.d.ts +35 -0
- package/types/src/function/InsertFunctionWizard.d.ts +79 -0
- package/types/src/function/index.d.ts +4 -0
- package/types/src/function/paneMetrics.d.ts +33 -0
- package/types/src/index.d.ts +21 -0
- package/types/src/itemsPanel/EditorPanel.d.ts +21 -0
- package/types/src/itemsPanel/ItemCard.d.ts +57 -0
- package/types/src/itemsPanel/ItemsDescriptor.d.ts +215 -0
- package/types/src/itemsPanel/ItemsPanel.d.ts +45 -0
- package/types/src/itemsPanel/SortableCards.d.ts +67 -0
- package/types/src/itemsPanel/index.d.ts +6 -0
- package/types/src/movable/MovableContextMenu.d.ts +13 -0
- package/types/src/movable/index.d.ts +2 -0
- package/types/src/named/INamedCollectionEditor.d.ts +37 -0
- package/types/src/named/NamedCollectionEditor.d.ts +7 -0
- package/types/src/named/NamedDetailsPanel.d.ts +11 -0
- package/types/src/named/NamedDetailsTaskPane.d.ts +3 -0
- package/types/src/named/NamedDraft.d.ts +68 -0
- package/types/src/named/NamedEditorPanel.d.ts +19 -0
- package/types/src/named/NamedPlugin.d.ts +2 -0
- package/types/src/named/index.d.ts +8 -0
- package/types/src/numberFormat/NumberFormatPanel.d.ts +29 -0
- package/types/src/numberFormat/NumberFormatTaskPane.d.ts +12 -0
- package/types/src/numberFormat/index.d.ts +8 -0
- package/types/src/protectedRange/ProtectedRangeDetailsPanel.d.ts +20 -0
- package/types/src/protectedRange/ProtectedRangeDetailsTaskPane.d.ts +3 -0
- package/types/src/protectedRange/ProtectedRangeEditorPanel.d.ts +27 -0
- package/types/src/protectedRange/ProtectedRangePlugin.d.ts +2 -0
- package/types/src/protectedRange/index.d.ts +2 -0
- package/types/src/protection/WorkbookProtectionDialog.d.ts +23 -0
- package/types/src/protection/WorkbookProtectionPanel.d.ts +51 -0
- package/types/src/protection/index.d.ts +3 -0
- package/types/src/sheet/SheetTabMenu.d.ts +21 -0
- package/types/src/sheet/SheetsAllMenu.d.ts +16 -0
- package/types/src/sheet/index.d.ts +3 -0
- package/types/src/statusBar/NumberStats.d.ts +27 -0
- package/types/src/statusBar/SheetZoomScale.d.ts +11 -0
- package/types/src/statusBar/StatusBar.d.ts +35 -0
- package/types/src/statusBar/index.d.ts +4 -0
- package/types/src/studio/CommandsWrapper.d.ts +36 -0
- package/types/src/studio/DefaultLogo.d.ts +3 -0
- package/types/src/studio/EagerStudio.d.ts +5 -0
- package/types/src/studio/Studio.d.ts +26 -0
- package/types/src/studio/StudioCommandProvider.d.ts +26 -0
- package/types/src/studio/StudioCommands.d.ts +115 -0
- package/types/src/studio/StudioNotifierProvider.d.ts +10 -0
- package/types/src/studio/StudioProps.d.ts +372 -0
- package/types/src/studio/StudioSplitPane.d.ts +60 -0
- package/types/src/studio/StudioTaskPaneArea.d.ts +8 -0
- package/types/src/studio/StudioToolbar.d.ts +37 -0
- package/types/src/studio/index.d.ts +4 -0
- package/types/src/studio/useStudioApp.d.ts +51 -0
- package/types/src/table/TableDetailsPanel.d.ts +17 -0
- package/types/src/table/TableDetailsTaskPane.d.ts +3 -0
- package/types/src/table/TablePlugin.d.ts +2 -0
- package/types/src/table/TableStyleCanvasPreview.d.ts +21 -0
- package/types/src/table/TableStyleOptionsPanel.d.ts +38 -0
- package/types/src/table/TableStylePreview.d.ts +43 -0
- package/types/src/table/index.d.ts +7 -0
- package/types/src/theme/ThemeSelectButton.d.ts +23 -0
- package/types/src/theme/ThemeSelectPanel.d.ts +17 -0
- package/types/src/theme/ThemeSelectPopupButton.d.ts +24 -0
- package/types/src/theme/ThemeUtils.d.ts +57 -0
- package/types/src/theme/index.d.ts +5 -0
- package/types/src/toast/ToastError.d.ts +10 -0
- package/types/src/toast/index.d.ts +2 -0
- package/types/src/toolbar/WorkbookToolbars.d.ts +46 -0
- package/types/src/toolbar/index.d.ts +2 -0
- package/types/src/workbook/DefaultRenderers.d.ts +23 -0
- package/types/src/workbook/DocumentTitle.d.ts +69 -0
- package/types/src/workbook/WorkbookContextMenu.d.ts +13 -0
- package/types/src/workbook/WorkbookElement.d.ts +12 -0
- package/types/src/workbook/WorkbookStrip.d.ts +37 -0
- package/types/src/workbook/index.d.ts +7 -0
- package/browser/cjs/52tjAlO48FpZgfzG.cjs +0 -6
- package/browser/cjs/BGu2_YqVJMQjYx4D.cjs +0 -18
- package/browser/cjs/C83Rzj_Jwq-o69wr.cjs +0 -42
- package/browser/cjs/CldYLQnjFC_g8o3t.cjs +0 -6
- package/browser/cjs/Cpv3j_Ra1h-axLRG.cjs +0 -6
- package/browser/cjs/D-5Cg1Y0zALF_JEs.cjs +0 -7
- package/browser/cjs/D58sOTRZwQ59CgOf.cjs +0 -6
- package/browser/cjs/DEd-0xEuUoELRnQb.cjs +0 -6
- package/browser/cjs/DahKlfm68zudpndW.cjs +0 -20
- package/browser/cjs/Dd7t0gfO3bzS0-B8.cjs +0 -6
- package/browser/cjs/DxAU6DV3UCUDVoSH.cjs +0 -6
- package/browser/cjs/uj7GSwDaUyTKEjrN.cjs +0 -6
- package/browser/esm/BLuR1D2n--9QSJL9.mjs +0 -26
- package/browser/esm/BSOhdb74viwmCi54.mjs +0 -2159
- package/browser/esm/BTAhrEfV-DH0-Ldk.mjs +0 -640
- package/browser/esm/BgsyX5QL9OLy0DN3.mjs +0 -4533
- package/browser/esm/CFPGs5_tLGrpkW8L.mjs +0 -25
- package/browser/esm/CbCX3t0hx-h6pV7Q.mjs +0 -46
- package/browser/esm/D3dDP89ml0258MGb.mjs +0 -53
- package/browser/esm/DYk55y6IEOCytW3g.mjs +0 -50
- package/browser/esm/DfUqOxFfhJcaq847.mjs +0 -2411
- package/browser/esm/DhWeeZyxUc-LbP8E.mjs +0 -50
- package/browser/esm/DqLDLUCqiFovdBf0.mjs +0 -155
- package/browser/esm/Dvo0k3olgFuAso_O.mjs +0 -54
- package/node/assets/style.css +0 -1
- package/node/esm/BM_pvbGlgXydGNT3.mjs +0 -52
- package/node/esm/CFBcwLP2q2_EUXvE.mjs +0 -156
- package/node/esm/Cg9JFB8nOnVfR0Uo.mjs +0 -26
- package/node/esm/D3kxA1LpG-PpZvCb.mjs +0 -25
- package/node/esm/D_s6w_GWb8l7uGW3.mjs +0 -53
- package/node/esm/XI3nj4zD7mXOyxSm.mjs +0 -57
- package/node/esm/YXQgUYqP1qsi_MPX.mjs +0 -46
- package/node/esm/m2lejeU-ViEhFj_N.mjs +0 -91
- package/node/esm/sevERUPIPJCb-jYL.mjs +0 -88
- package/node/esm/zdjaq7yEfEvgHrDi.mjs +0 -50
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './TableStylePreview';
|
|
2
|
+
export * from './TableStyleCanvasPreview';
|
|
3
|
+
export * from './TableStyleOptionsPanel';
|
|
4
|
+
export * from './TableDetailsPanel';
|
|
5
|
+
export * from './TableDetailsTaskPane';
|
|
6
|
+
export * from './TablePlugin';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { Theme } from '@mui/material';
|
|
4
|
+
import { ITheme } from '@sheetxl/sdk';
|
|
5
|
+
import { ExhibitIconButtonProps } from '@sheetxl/utils-mui';
|
|
6
|
+
export interface ThemeSelectButtonProps extends ExhibitIconButtonProps {
|
|
7
|
+
docTheme: ITheme;
|
|
8
|
+
onSelectTheme: (theme: ITheme) => void;
|
|
9
|
+
/**
|
|
10
|
+
* Determines if the button is selected or not
|
|
11
|
+
* @defaultValue false
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
isSelected?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
|
|
17
|
+
*/
|
|
18
|
+
sx?: SxProps<Theme>;
|
|
19
|
+
outlined?: boolean;
|
|
20
|
+
darkMode?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare const ThemeSelectButton: React.FC<ThemeSelectButtonProps>;
|
|
23
|
+
//# sourceMappingURL=ThemeSelectButton.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { Theme } from '@mui/material';
|
|
4
|
+
import { IThemeCollection, ITheme } from '@sheetxl/sdk';
|
|
5
|
+
export interface ThemeSelectPanelProps extends React.HTMLAttributes<HTMLElement> {
|
|
6
|
+
themes: IThemeCollection;
|
|
7
|
+
selectedTheme?: ITheme;
|
|
8
|
+
onSelectTheme?: (docTheme: ITheme) => void;
|
|
9
|
+
/**
|
|
10
|
+
* MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
|
|
11
|
+
*/
|
|
12
|
+
sx?: SxProps<Theme>;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
darkMode?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const ThemeSelectPanel: React.FC<ThemeSelectPanelProps>;
|
|
17
|
+
//# sourceMappingURL=ThemeSelectPanel.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IThemeCollection, ITheme } from '@sheetxl/sdk';
|
|
3
|
+
import { PopupButtonType, ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
|
|
4
|
+
import { ThemeSelectPanelProps } from './ThemeSelectPanel';
|
|
5
|
+
export interface ThemeSelectPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "color" | "icon" | "createPopupPanel"> {
|
|
6
|
+
themes: IThemeCollection;
|
|
7
|
+
selectedTheme?: ITheme;
|
|
8
|
+
onSelectTheme?: (docTheme: ITheme) => void;
|
|
9
|
+
icon?: React.ReactNode;
|
|
10
|
+
label?: React.ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Rendering styles
|
|
13
|
+
* @defaultValue to Toolbar
|
|
14
|
+
*/
|
|
15
|
+
variant?: PopupButtonType;
|
|
16
|
+
propsPanel?: Partial<ThemeSelectPanelProps>;
|
|
17
|
+
darkMode?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Ref to the underlying element
|
|
20
|
+
*/
|
|
21
|
+
ref?: React.Ref<HTMLElement>;
|
|
22
|
+
}
|
|
23
|
+
export declare const ThemeSelectPopupButton: React.NamedExoticComponent<Omit<ThemeSelectPopupButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
24
|
+
//# sourceMappingURL=ThemeSelectPopupButton.d.ts.map
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Theme, ThemeOptions } from '@mui/material';
|
|
2
|
+
import { TokenTheme, ThemeMode } from '@sheetxl/utils-react';
|
|
3
|
+
/** The surfaces a host can address — the `data-sxl-theme-surface` values this studio introduces. */
|
|
4
|
+
export type ExplicitSurface = 'app' | 'header' | 'grid';
|
|
5
|
+
/**
|
|
6
|
+
* Explicit token values a HOST supplies, addressed by **cell** — `(surface × mode)`, not just token. So a
|
|
7
|
+
* host says "the header paper is `editorGroupHeader.tabsBackground`" without any new token name entering
|
|
8
|
+
* the vocabulary; the expressiveness comes from the matrix that already exists (THEMING-DESIGN §8).
|
|
9
|
+
*
|
|
10
|
+
* ```ts
|
|
11
|
+
* { dark: { app: { 'color-base-200': '#1f1f1f' }, header: { 'color-base-100': '#181818' } } }
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* The escape hatch out of the math below. Every derived value here (the gridline, the header hover) is an
|
|
16
|
+
* *elevation* calculation: it assumes "raised" means "lighter", which is the Material idea. A host with a
|
|
17
|
+
* FLAT design language (VS Code, Fluent) has its own named surfaces that do not follow that curve at all,
|
|
18
|
+
* and mapping them onto the five MUI palette slots the adapter reads throws all of them away. So each
|
|
19
|
+
* derivation is a FALLBACK: an explicitly supplied token wins, and only what the host leaves unset is
|
|
20
|
+
* computed.
|
|
21
|
+
*/
|
|
22
|
+
export type ExplicitTokens = Partial<Record<ThemeMode, Partial<Record<ExplicitSurface, Partial<TokenTheme>>>>>;
|
|
23
|
+
/**
|
|
24
|
+
* The MUI→Theme adapter: maps a MUI {@link Theme} onto the framework-neutral flat {@link TokenTheme}
|
|
25
|
+
* token set (utils-react) — one mode's worth of `--sxl-*` values. {@link createStudioThemeCSS} compiles the
|
|
26
|
+
* app + surface cells for both modes into the attribute-rule stylesheet the studio injects at its root, so
|
|
27
|
+
* the grid resolves its palette through the token model instead of prop-threaded `GridStyle` structs.
|
|
28
|
+
*
|
|
29
|
+
* Only the neutral token layer is mapped here (base ramp, semantic hues, fonts, geometry). The document
|
|
30
|
+
* color/font layers (`--sxl-doc-*`, `--sxl-sys-color-*`) stay with the workbook model, not the MUI theme.
|
|
31
|
+
*/
|
|
32
|
+
export declare const createThemeFromMUITheme: (muiTheme: Theme, explicit?: ExplicitTokens) => TokenTheme;
|
|
33
|
+
/**
|
|
34
|
+
* The **inverse** adapter (`sxl → mui`): map a partial {@link TokenTheme} (e.g. a `TokenThemeProvider`'s
|
|
35
|
+
* overrides) onto the MUI palette/geometry slots the forward {@link createThemeFromMUITheme} reads. Studio
|
|
36
|
+
* merges the result INTO its `createExhibitTheme` input, so a token override flows `sxl → mui → sxl`: the MUI
|
|
37
|
+
* chrome (buttons / slider / tabs) follows it as well as the grid — no "half-themed" mixed bag. Only the mapped
|
|
38
|
+
* subset (colors, radius, fonts) crosses; non-color MUI config (components / spacing) is untouched. Partial in,
|
|
39
|
+
* partial out — only slots whose token is present are emitted.
|
|
40
|
+
*/
|
|
41
|
+
export declare const tokensToMuiOptions: (tokens?: Partial<TokenTheme>) => ThemeOptions;
|
|
42
|
+
/**
|
|
43
|
+
* The studio's theme stylesheet: the `(token × surface × mode)` matrix as attribute rules. Emits the app
|
|
44
|
+
* baseline (from the MUI adapter) for both modes plus the `grid`/`header` surface overrides (derived from the
|
|
45
|
+
* same MUI themes), so a container selects its cell purely by setting `data-sxl-theme-mode` /
|
|
46
|
+
* `data-sxl-theme-surface`. Inject once at the studio root; stable across the light/dark toggle (both modes
|
|
47
|
+
* are always present).
|
|
48
|
+
*
|
|
49
|
+
* `explicit` is the host's own token values ({@link ExplicitTokens}), addressed per `(surface × mode)` cell.
|
|
50
|
+
* Each cell is merged into the surface it names AND consulted by that surface's derivations, so a host color
|
|
51
|
+
* participates in the math instead of being computed over. This is emitted in `sxl-app` — NOT the
|
|
52
|
+
* `sxl-overrides` layer a `TokenThemeProvider` uses — which is why it can be surface-aware: an override-layer
|
|
53
|
+
* rule keyed on `[mode]` alone outranks (by layer, not specificity) the `[mode][surface="header"]` rules
|
|
54
|
+
* below, so it would flatten every surface at once.
|
|
55
|
+
*/
|
|
56
|
+
export declare const createStudioThemeCSS: (lightTheme: Theme, darkTheme: Theme, scope?: string, explicit?: ExplicitTokens) => string;
|
|
57
|
+
//# sourceMappingURL=ThemeUtils.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CustomContentProps } from 'notistack';
|
|
2
|
+
interface ToastErrorProps extends CustomContentProps {
|
|
3
|
+
/**
|
|
4
|
+
* If not provided just the error message will be displayed.
|
|
5
|
+
*/
|
|
6
|
+
error?: Error;
|
|
7
|
+
}
|
|
8
|
+
declare const ToastError: import('react').NamedExoticComponent<ToastErrorProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export { ToastError };
|
|
10
|
+
//# sourceMappingURL=ToastError.d.ts.map
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { PaperProps, ToolbarProps } from '@mui/material';
|
|
4
|
+
/**
|
|
5
|
+
* Fallback tab list used only when the {@link TOOLBAR_STRIP_KEY} strip panel is not registered (a bare
|
|
6
|
+
* host that never called `registerWorkbookCommandGroups`). Normally the strip's members ARE the config.
|
|
7
|
+
*/
|
|
8
|
+
export declare const DefaultWorkbookToolbars: readonly string[];
|
|
9
|
+
export interface WorkbookToolbarsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
/**
|
|
11
|
+
* Explicit override of the ordered ribbon tabs (each the **key** of a registered toolbar surface).
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* By default the tabs are **contribution-driven**: resolved from the members of the
|
|
15
|
+
* `workbookToolbars` strip panel, so features/plugins add tabs by contributing into it (e.g. the
|
|
16
|
+
* react table contributor's contextual `tableToolbar`). Pass this only to bypass the registry and
|
|
17
|
+
* pin an explicit list — doing so opts OUT of contributed/contextual tabs.
|
|
18
|
+
*/
|
|
19
|
+
toolbars?: readonly string[];
|
|
20
|
+
/**
|
|
21
|
+
* Wrap the select with custom component.
|
|
22
|
+
*
|
|
23
|
+
* @param children
|
|
24
|
+
*/
|
|
25
|
+
wrapperSelect?: (children: React.ReactNode) => React.ReactNode;
|
|
26
|
+
/**
|
|
27
|
+
* If we need to render compact.
|
|
28
|
+
*/
|
|
29
|
+
isCompact?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Wrap the palette with custom component.
|
|
32
|
+
*
|
|
33
|
+
* @param children
|
|
34
|
+
*/
|
|
35
|
+
wrapperPalette?: (children: React.ReactNode) => React.ReactNode;
|
|
36
|
+
propsPalette?: PaperProps;
|
|
37
|
+
/** Per-tab {@link ToolbarProps}, keyed by the toolbar key (e.g. `homeToolbar`). */
|
|
38
|
+
propsToolbars?: Record<string, ToolbarProps>;
|
|
39
|
+
/**
|
|
40
|
+
* MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
|
|
41
|
+
*/
|
|
42
|
+
sx?: SxProps;
|
|
43
|
+
}
|
|
44
|
+
export declare const renderWorkbookToolbars: (props: WorkbookToolbarsProps) => React.ReactElement;
|
|
45
|
+
export declare const WorkbookToolbars: React.NamedExoticComponent<WorkbookToolbarsProps & React.RefAttributes<HTMLElement>>;
|
|
46
|
+
//# sourceMappingURL=WorkbookToolbars.d.ts.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SheetElementProps, SheetTabProps } from '@sheetxl/react';
|
|
3
|
+
import { AnimatedLoadingPanelProps, StackTraceErrorPanelProps } from '@sheetxl/utils-mui';
|
|
4
|
+
import { FormulaBarProps } from '../formulaBar';
|
|
5
|
+
import { ColumnMenuProps } from '../filter';
|
|
6
|
+
import { StatusBarProps } from '../statusBar';
|
|
7
|
+
import { MovableContextMenuProps } from '../movable';
|
|
8
|
+
import { SheetsAllMenuProps, SheetTabMenuProps } from '../sheet';
|
|
9
|
+
import { WorkbookStripProps } from './WorkbookStrip';
|
|
10
|
+
import { WorkbookContextMenuProps } from './WorkbookContextMenu';
|
|
11
|
+
export declare const renderMovableContextMenu: (props: MovableContextMenuProps) => React.ReactElement;
|
|
12
|
+
export declare const renderWorkbookContextMenu: (props: WorkbookContextMenuProps) => React.ReactElement;
|
|
13
|
+
export declare const renderColumnMenu: (props: ColumnMenuProps) => React.ReactElement;
|
|
14
|
+
export declare const renderWorkbookFormulaBar: (props: FormulaBarProps) => React.ReactElement;
|
|
15
|
+
export declare const renderWorkbookLoading: (props: AnimatedLoadingPanelProps) => React.ReactElement;
|
|
16
|
+
export declare const renderWorkbookError: (props: StackTraceErrorPanelProps) => React.ReactElement;
|
|
17
|
+
export declare const renderWorkbookSheet: (props: SheetElementProps) => React.ReactElement;
|
|
18
|
+
export declare const renderWorkbookStatusBar: (props: StatusBarProps) => React.ReactElement;
|
|
19
|
+
export declare const renderWorkbookStrip: (props: WorkbookStripProps) => React.ReactElement;
|
|
20
|
+
export declare const renderWorkbookStripContextMenu: (props: SheetTabMenuProps) => React.ReactElement;
|
|
21
|
+
export declare const renderWorkbookStripSheetsAll: (props: SheetsAllMenuProps) => React.ReactElement;
|
|
22
|
+
export declare const renderWorkbookSheetTab: (props: SheetTabProps) => React.ReactElement;
|
|
23
|
+
//# sourceMappingURL=DefaultRenderers.d.ts.map
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { Theme } from '@mui/material';
|
|
4
|
+
import { IWorkbookElement } from '@sheetxl/react';
|
|
5
|
+
export interface RequestTitleOptions extends FocusOptions {
|
|
6
|
+
selectAll?: boolean;
|
|
7
|
+
requestReason?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface DocumentTitleAttributes {
|
|
10
|
+
/**
|
|
11
|
+
* Request focus with a callback that will be called on blur.
|
|
12
|
+
*
|
|
13
|
+
* @param onAccept - Callback when the user's focus leaves the title element after a request focus for a title.
|
|
14
|
+
*/
|
|
15
|
+
requestTitle: (onAccept?: (title: string, commitReason: string) => void, options?: RequestTitleOptions) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Called when application wants to focus the workbook title.
|
|
18
|
+
* @param options - `FocusOptions`
|
|
19
|
+
*/
|
|
20
|
+
focus: (options?: FocusOptions) => void;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Type returned via ref property
|
|
24
|
+
*/
|
|
25
|
+
export interface IDocumentTitleElement extends HTMLDivElement, DocumentTitleAttributes {
|
|
26
|
+
}
|
|
27
|
+
export interface DocumentTitleProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
28
|
+
/**
|
|
29
|
+
* MUI SX props {@link https://mui.com/system/getting-started/the-sx-prop/}
|
|
30
|
+
*/
|
|
31
|
+
sx?: SxProps<Theme>;
|
|
32
|
+
workbook?: IWorkbookElement | null;
|
|
33
|
+
title?: string;
|
|
34
|
+
onTitleChange?: (newTitle: string | null) => void;
|
|
35
|
+
/**
|
|
36
|
+
* Text to show if no values
|
|
37
|
+
*
|
|
38
|
+
* @defaultValue 'Untitled'
|
|
39
|
+
*/
|
|
40
|
+
placeHolder?: string;
|
|
41
|
+
/**
|
|
42
|
+
* If true the title will not be editable.
|
|
43
|
+
*
|
|
44
|
+
* @defaultValue false
|
|
45
|
+
*/
|
|
46
|
+
readOnly?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* If true the workbook has unsaved changes; shows a leading dot and a stronger title color.
|
|
49
|
+
*
|
|
50
|
+
* @defaultValue false
|
|
51
|
+
*/
|
|
52
|
+
modified?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* If true the workbook is (or will be) saved encrypted; shows a trailing lock.
|
|
55
|
+
*
|
|
56
|
+
* @defaultValue false
|
|
57
|
+
*/
|
|
58
|
+
encrypted?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* @defaultValue false
|
|
61
|
+
*/
|
|
62
|
+
hidden?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Ref for the IDocumentTitleElement
|
|
65
|
+
*/
|
|
66
|
+
ref?: React.Ref<IDocumentTitleElement>;
|
|
67
|
+
}
|
|
68
|
+
export declare const DocumentTitle: React.NamedExoticComponent<Omit<DocumentTitleProps, "ref"> & React.RefAttributes<IDocumentTitleElement>>;
|
|
69
|
+
//# sourceMappingURL=DocumentTitle.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IWorkbook } from '@sheetxl/sdk';
|
|
3
|
+
import { FloatReference } from '@sheetxl/utils-react';
|
|
4
|
+
export interface WorkbookContextMenuProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
/**
|
|
6
|
+
* The workbook,
|
|
7
|
+
*/
|
|
8
|
+
workbook: IWorkbook;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
floatReference: FloatReference;
|
|
11
|
+
}
|
|
12
|
+
export declare const WorkbookContextMenu: React.FC<WorkbookContextMenuProps>;
|
|
13
|
+
//# sourceMappingURL=WorkbookContextMenu.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { WorkbookElementProps, IWorkbookElement } from '@sheetxl/react';
|
|
2
|
+
/**
|
|
3
|
+
* The MUI workbook element.
|
|
4
|
+
*
|
|
5
|
+
* A thin wrapper around the chromeless `WorkbookElement` from `@sheetxl/react`: it supplies the grid's
|
|
6
|
+
* own MUI popups (tabs, context/column/movable menus, loading) via the render seams. Theming flows
|
|
7
|
+
* through the injected `--sxl-*` token matrix (from the studio root) — no theme bridge is needed here;
|
|
8
|
+
* the grid self-sources its light/dark scheme from the shared appearance preference. The surrounding
|
|
9
|
+
* chrome (toolbar, formula bar, status bar) is composed by the Studio layer, not here.
|
|
10
|
+
*/
|
|
11
|
+
export declare const WorkbookElement: import('react').NamedExoticComponent<Omit<WorkbookElementProps, "ref"> & import('react').RefAttributes<IWorkbookElement>>;
|
|
12
|
+
//# sourceMappingURL=WorkbookElement.d.ts.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { WorkbookStripProps as ReactWorkbookStripProps, WorkbookStripRef, SheetTabProps } from '@sheetxl/react';
|
|
3
|
+
import { SheetsAllMenuProps, SheetTabMenuProps } from '../sheet';
|
|
4
|
+
/**
|
|
5
|
+
* MUI flavor of the workbook tab strip. A thin wrapper around the chromeless
|
|
6
|
+
* {@link @sheetxl/react!WorkbookStrip}: it delegates all of the tab/scroll/rename machinery and layers on
|
|
7
|
+
* only the MUI-specific chrome — the ripple tab surface, the "all sheets" menu, the per-tab context menu
|
|
8
|
+
* and the tooltip-wrapped scroll buttons — through the strip's render seams.
|
|
9
|
+
*/
|
|
10
|
+
export interface WorkbookStripProps extends Omit<ReactWorkbookStripProps, 'renderSheetTab' | 'onTabContextMenu' | 'renderScrollButtonStart' | 'renderScrollButtonEnd' | 'renderScrollButtonEdge'> {
|
|
11
|
+
/**
|
|
12
|
+
* Allow for customizations on the per-tab context menu.
|
|
13
|
+
*/
|
|
14
|
+
propsContextMenu?: Partial<SheetTabMenuProps>;
|
|
15
|
+
/**
|
|
16
|
+
* Render a custom per-tab context menu.
|
|
17
|
+
*/
|
|
18
|
+
renderContextMenu?: (props: SheetTabMenuProps) => React.ReactElement;
|
|
19
|
+
/**
|
|
20
|
+
* Allow for customizations on the "all sheets" menu.
|
|
21
|
+
*/
|
|
22
|
+
propsSheetsAll?: SheetsAllMenuProps;
|
|
23
|
+
/**
|
|
24
|
+
* Render a custom "all sheets" menu.
|
|
25
|
+
*/
|
|
26
|
+
renderSheetsAll?: (props: SheetsAllMenuProps) => React.ReactElement;
|
|
27
|
+
/**
|
|
28
|
+
* Allow for customizations on sheet tabs.
|
|
29
|
+
*/
|
|
30
|
+
propsSheetTab?: Partial<SheetTabProps>;
|
|
31
|
+
/**
|
|
32
|
+
* Render custom sheet tabs. Defaults to the MUI ripple tab ({@link renderWorkbookSheetTab}).
|
|
33
|
+
*/
|
|
34
|
+
renderSheetTab?: (props: SheetTabProps) => React.ReactElement;
|
|
35
|
+
}
|
|
36
|
+
export declare const WorkbookStrip: React.NamedExoticComponent<WorkbookStripProps & React.RefAttributes<WorkbookStripRef>>;
|
|
37
|
+
//# sourceMappingURL=WorkbookStrip.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { setPrintExamplesOnLoad } from '@sheetxl/react';
|
|
2
|
+
export * from './WorkbookElement';
|
|
3
|
+
export * from './DocumentTitle';
|
|
4
|
+
export * from './WorkbookContextMenu';
|
|
5
|
+
export * from './WorkbookStrip';
|
|
6
|
+
export { renderWorkbookSheetTab } from './DefaultRenderers';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.26
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),u=require("react"),o=require("@mui/material"),t=require("@sheetxl/sdk"),m=require("@sheetxl/utils-react"),v=require("@sheetxl/utils-mui"),C=u.memo(b=>{const{initialValue:a,context:s,onInput:c,onDone:d,...x}=b,h=s?.().range,S=s?.().cell.toString(),[i,r]=u.useState(a??t.Sort.DefaultRangeOptions),g=m.useCallbackRef(e=>{let l=null;e==="Sort"&&(l={...a,...i}),c?.(l),d?.(l)},[i,d,c,a]);return n.jsx(v.OptionsDialog,{title:"Sort",options:["Sort","Cancel"],onDone:g,...x,children:n.jsxs(o.Box,{sx:{display:"flex",flexDirection:"column"},children:[n.jsx(o.FormControlLabel,{control:n.jsx(o.Checkbox,{checked:!i.reverse,onChange:()=>r(e=>({...e,reverse:!e.reverse}))}),label:"Is Ascending",labelPlacement:"end"}),n.jsx(o.FormControlLabel,{control:n.jsx(o.Checkbox,{checked:i.hasHeader,onChange:()=>r(e=>({...e,hasHeader:!e.hasHeader}))}),label:"Has Header",labelPlacement:"end"}),n.jsx(o.FormControlLabel,{control:n.jsx(o.Checkbox,{checked:i.collatorOptions?.sensitivity===t.Sort.CaseSensitiveOptions.sensitivity,onChange:()=>r(e=>({...e,collatorOptions:i.collatorOptions?.sensitivity===t.Sort.CaseSensitiveOptions.sensitivity?t.Sort.CaseInsensitiveOptions:t.Sort.CaseSensitiveOptions}))}),label:"Case Sensitive",labelPlacement:"end"}),n.jsx(o.FormControlLabel,{control:n.jsx(o.Checkbox,{checked:i.orientation===t.IRange.Orientation.Row,onChange:()=>r(e=>{const l=e.orientation===t.IRange.Orientation.Row?t.IRange.Orientation.Column:t.IRange.Orientation.Row;return{...h.getDefaultSortCriteria(l,S).options,includeHidden:e.includeHidden,reverse:e.reverse,orientation:l}})}),label:"Row Sort",labelPlacement:"end"}),n.jsx(o.FormControlLabel,{control:n.jsx(o.Checkbox,{checked:i.includeHidden,onChange:()=>r(e=>({...e,includeHidden:!e.includeHidden}))}),label:"Include Hidden",labelPlacement:"end"})]})})});exports.SortDialog=C,exports.default=C;
|