@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.
- 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/BFnJuOSao7TjbB-2.mjs +1150 -0
- package/browser/esm/BGngIqHYTFzsezh-.mjs +105 -0
- package/browser/esm/BH0fLaa4Vfda2U-T.mjs +155 -0
- package/browser/esm/BKadOi_4tf3UqilJ.mjs +8878 -0
- package/browser/esm/BNhUUeacBwGsPLBQ.mjs +42 -0
- package/browser/esm/BkP8c-zrLAqdNL5E.mjs +82 -0
- package/browser/esm/BlykPulAqes3JMee.mjs +1376 -0
- package/browser/esm/Bt_J_RX2M5EfualB.mjs +217 -0
- package/browser/esm/CIvpm_sHFmNjZQ7A.mjs +52 -0
- package/browser/esm/Cwku0NEsbyq9Q_RE.mjs +129 -0
- package/browser/esm/D4-E6nt8hrlNPIFy.mjs +5391 -0
- package/browser/esm/D5kzg7IfEtrExqiB.mjs +47 -0
- package/browser/esm/DLG0lDeb0t2L5dW4.mjs +468 -0
- package/browser/esm/DN5ACcUVdZeTSdLP.mjs +411 -0
- package/browser/esm/DP50mI7SOk1spPHv.mjs +516 -0
- package/browser/esm/DfZkO9tkYUlBUgXw.mjs +508 -0
- package/browser/esm/DhSHhyt16cHMvS_1.mjs +612 -0
- package/browser/esm/DxEzstNhMkJ0uzic.mjs +191 -0
- package/browser/esm/DxurARMNTQF7_rno.mjs +99 -0
- package/browser/esm/EK3JudzGAPbSIzUc.mjs +2207 -0
- package/browser/esm/Lds8JbV0rmFse8IO.mjs +113 -0
- package/browser/esm/gdfNDmwpOOPidxVx.mjs +20 -0
- package/browser/esm/gr4KpbaVpVfm8KOB.mjs +219 -0
- package/browser/esm/index.mjs +152 -91
- package/licenses/dependencies.txt +137 -627
- package/node/esm/-xXP4QK8hYGcJeug.mjs +509 -0
- package/node/esm/BVNe-px0vKah_sh2.mjs +516 -0
- package/node/esm/CLqRv2FWsGMrPoB0.mjs +47 -0
- package/node/esm/CSaiKMpmmQJY2xtl.mjs +113 -0
- package/node/esm/CTVMIjaQZQtJ05F8.mjs +129 -0
- package/node/esm/CWDr4rcpYux8bSQk.mjs +82 -0
- package/node/esm/CgDlduchq8t6DdhF.mjs +190 -0
- package/node/esm/Ck1Im-zWbwJqZNU1.mjs +470 -0
- package/node/esm/Ctakr7TocM8RykpC.mjs +679 -0
- package/node/esm/DMhU1sS3kX-Im83k.mjs +106 -0
- package/node/esm/Dh2MI-_NSwxjrRP8.mjs +99 -0
- package/node/esm/ED4g6Bsz9syAhAW3.mjs +155 -0
- package/node/esm/VuLRDpv46Yib6fpp.mjs +4536 -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/0DtrpXkQQehBmvSv.cjs +0 -6
- package/browser/cjs/6C3ia2nz4Zm-AdMZ.cjs +0 -7
- package/browser/cjs/BR_EGEaHisRrXAtK.cjs +0 -6
- package/browser/cjs/B_v_M4TiavtofChs.cjs +0 -42
- package/browser/cjs/C17p-h_nw582H7WD.cjs +0 -20
- package/browser/cjs/CInmVysdoHEvvW9h.cjs +0 -6
- package/browser/cjs/CMvQZPQsE7MuTMy_.cjs +0 -6
- package/browser/cjs/CkNt54AXVfJjIWja.cjs +0 -6
- package/browser/cjs/CtRvyhDzQxsk7dkI.cjs +0 -6
- package/browser/cjs/DN9cQ4_4ERQvzKn6.cjs +0 -6
- package/browser/cjs/DUTuBWUNF-w3Fxtb.cjs +0 -6
- package/browser/cjs/pTzEs1wlZj5Bb6xc.cjs +0 -18
- package/browser/esm/8ZnwcsRrGO3Nlw9Y.mjs +0 -54
- package/browser/esm/BFZ4oCbQukelEVLI.mjs +0 -53
- package/browser/esm/BP3nTf4-SLftsj61.mjs +0 -640
- package/browser/esm/BSMkBkXBQgZhX1xk.mjs +0 -2159
- package/browser/esm/CPLIJbynjEkwF2T0.mjs +0 -4533
- package/browser/esm/CuC13VFjBYFE7kub.mjs +0 -155
- package/browser/esm/Cw3i8T1tVnm8o6eB.mjs +0 -46
- package/browser/esm/D6E8W2KK4dGVRQO_.mjs +0 -25
- package/browser/esm/D8xc3AM9QHEqmpb9.mjs +0 -50
- package/browser/esm/DA_bEpA5kkn89fmW.mjs +0 -2411
- package/browser/esm/DVqOr-7nEXA7IjKJ.mjs +0 -26
- package/browser/esm/VAUOzclLs-dR9nt_.mjs +0 -50
- package/node/assets/style.css +0 -1
- package/node/esm/B9dvpdCD_p2q8aNP.mjs +0 -156
- package/node/esm/BBxZemzbmUkoOYdq.mjs +0 -46
- package/node/esm/BDdkV45Cf7BLs5jE.mjs +0 -25
- package/node/esm/BoX8OuVRgUNgw0Wb.mjs +0 -91
- package/node/esm/CPbwVoL6mq66TtTR.mjs +0 -53
- package/node/esm/DMd6h1vz-USluank.mjs +0 -88
- package/node/esm/DYgtaT_soTbSP8M9.mjs +0 -52
- package/node/esm/DxDGSRoOYlWydiwL.mjs +0 -57
- package/node/esm/OMgXBbHk-VRNKAop.mjs +0 -26
- package/node/esm/bGXLfLFngllNb8U1.mjs +0 -50
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ICondition } from '@sheetxl/sdk';
|
|
3
|
+
import { ExhibitPopupIconButtonProps } from '@sheetxl/utils-mui';
|
|
4
|
+
export interface OperatorSelectPopupButtonProps extends Omit<ExhibitPopupIconButtonProps, "createPopupPanel" | "onChange"> {
|
|
5
|
+
/**
|
|
6
|
+
* Current selected rule. Null represents "Any".
|
|
7
|
+
*/
|
|
8
|
+
value: ICondition.IOperator | null;
|
|
9
|
+
/**
|
|
10
|
+
* The list of operators to choose from.
|
|
11
|
+
*/
|
|
12
|
+
operators: ICondition.IOperator[];
|
|
13
|
+
/**
|
|
14
|
+
* Callback fired when the operator changes.
|
|
15
|
+
*/
|
|
16
|
+
onChange: (operator: ICondition.IOperator | null) => void;
|
|
17
|
+
/**
|
|
18
|
+
* Optional title for the select input. If not provided.
|
|
19
|
+
*
|
|
20
|
+
* @default 'Operator'.
|
|
21
|
+
*/
|
|
22
|
+
title?: string;
|
|
23
|
+
/**
|
|
24
|
+
* If true, the select is readonly (not editable, but not visually disabled).
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* Uses `readOnly` on the Select to prevent opening the dropdown while
|
|
28
|
+
* maintaining consistent sizing and non-disabled appearance.
|
|
29
|
+
*/
|
|
30
|
+
readOnly?: boolean;
|
|
31
|
+
propsPanel?: Partial<React.HTMLAttributes<HTMLElement>>;
|
|
32
|
+
darkMode?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Ref to the underlying element
|
|
35
|
+
*/
|
|
36
|
+
ref?: React.Ref<HTMLElement>;
|
|
37
|
+
}
|
|
38
|
+
export declare const OperatorSelectPopupButton: React.NamedExoticComponent<Omit<OperatorSelectPopupButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
39
|
+
//# sourceMappingURL=OperatorSelectPopupButton.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Scalar } from '@sheetxl/sdk';
|
|
2
|
+
import { FormulaFieldProps } from '../form';
|
|
3
|
+
export interface ScalarOptionProps extends Omit<FormulaFieldProps, 'value' | 'onChange'> {
|
|
4
|
+
/**
|
|
5
|
+
* The option to edit — a literal (number, text, boolean), or a `=`-prefixed formula.
|
|
6
|
+
*/
|
|
7
|
+
option: Scalar;
|
|
8
|
+
/**
|
|
9
|
+
* The callback function to handle changes in the option.
|
|
10
|
+
*/
|
|
11
|
+
onOptionChange: (option: Scalar) => void;
|
|
12
|
+
/**
|
|
13
|
+
* If true, makes the editor read-only.
|
|
14
|
+
*/
|
|
15
|
+
readOnly?: boolean;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Param editor for the comparison operators' Scalar param — Excel's own operand box: ONE field
|
|
19
|
+
* that takes a literal or a formula, the leading `=` deciding which. Not a toggle — the `=` is
|
|
20
|
+
* the convention's single discriminator (CONDITIONS-OPERANDS design §2), and a second control
|
|
21
|
+
* restating it would let the two disagree.
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
* An imported operand like `=$A$1` arrives as a string param; a number input rendered it blank
|
|
25
|
+
* and destroyed it on the first keystroke. Here it reads back exactly as stored, with the formula
|
|
26
|
+
* editor's reference picking and token coloring once the `=` is typed.
|
|
27
|
+
*/
|
|
28
|
+
export declare const ScalarOption: import('react').NamedExoticComponent<ScalarOptionProps>;
|
|
29
|
+
//# sourceMappingURL=ScalarOption.d.ts.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { FormControlProps } from '@mui/material';
|
|
2
|
+
import { ICondition } from '@sheetxl/sdk';
|
|
3
|
+
export interface SelectorSelectProps extends Omit<FormControlProps, 'onChange' | 'children'> {
|
|
4
|
+
/**
|
|
5
|
+
* The list of selectors to choose from.
|
|
6
|
+
*/
|
|
7
|
+
selectors: ICondition.ISelector[];
|
|
8
|
+
/**
|
|
9
|
+
* Current selected type. Null represents "Any".
|
|
10
|
+
*/
|
|
11
|
+
value: ICondition.ISelector | null;
|
|
12
|
+
/**
|
|
13
|
+
* Callback fired when the type changes.
|
|
14
|
+
*/
|
|
15
|
+
onChange: (selector: ICondition.ISelector | null) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Optional title for the select input. If not provided.
|
|
18
|
+
*
|
|
19
|
+
* @default 'Condition'.
|
|
20
|
+
*/
|
|
21
|
+
title?: string;
|
|
22
|
+
/**
|
|
23
|
+
* If true, allows selecting a null value (representing "Any" or no specific selector).
|
|
24
|
+
*/
|
|
25
|
+
allowNull?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* If true, the select is readonly (not editable, but not visually disabled).
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* Uses `readOnly` on the Select to prevent opening the dropdown while
|
|
31
|
+
* maintaining consistent sizing and non-disabled appearance.
|
|
32
|
+
*/
|
|
33
|
+
readOnly?: boolean;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Select component for choosing a scalar type (Number, Text, Boolean, Date, etc.).
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
39
|
+
* Uses InteropScalarType for both input and output. Renders with user-friendly
|
|
40
|
+
* labels (i18n-ready).
|
|
41
|
+
*/
|
|
42
|
+
export declare const SelectorSelect: import('react').NamedExoticComponent<SelectorSelectProps>;
|
|
43
|
+
//# sourceMappingURL=SelectorSelect.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TextFieldProps } from '@mui/material';
|
|
2
|
+
export interface StringOptionProps extends Omit<TextFieldProps, 'onChange'> {
|
|
3
|
+
/**
|
|
4
|
+
* The option to edit.
|
|
5
|
+
*/
|
|
6
|
+
option: string;
|
|
7
|
+
/**
|
|
8
|
+
* The callback function to handle changes in the option.
|
|
9
|
+
*/
|
|
10
|
+
onOptionChange: (option: string) => void;
|
|
11
|
+
/**
|
|
12
|
+
* If true, makes the editor read-only.
|
|
13
|
+
*/
|
|
14
|
+
readOnly?: boolean;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Component for editing a text field option.
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* Simple text editor for custom validation.
|
|
21
|
+
* Text is evaluated relative to the cell being validated.
|
|
22
|
+
*/
|
|
23
|
+
export declare const StringOption: import('react').NamedExoticComponent<StringOptionProps>;
|
|
24
|
+
//# sourceMappingURL=StringOption.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BoxProps } from '@mui/material';
|
|
3
|
+
import { ICondition } from '@sheetxl/sdk';
|
|
4
|
+
export interface TimePeriodOptionProps extends BoxProps {
|
|
5
|
+
/**
|
|
6
|
+
* The time period option to edit.
|
|
7
|
+
*/
|
|
8
|
+
option: ICondition.TimePeriodOption;
|
|
9
|
+
/**
|
|
10
|
+
* The callback function to handle changes in the time period option.
|
|
11
|
+
*/
|
|
12
|
+
onOptionChange: (option: ICondition.TimePeriodOption) => void;
|
|
13
|
+
/**
|
|
14
|
+
* If true, makes the editor read-only.
|
|
15
|
+
*/
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Component for editing time period option (date period selector).
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* Allows selecting relative date periods like "today", "last week", "this month", etc.
|
|
23
|
+
*/
|
|
24
|
+
export declare const TimePeriodOption: React.NamedExoticComponent<TimePeriodOptionProps>;
|
|
25
|
+
//# sourceMappingURL=TimePeriodOption.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BoxProps } from '@mui/material';
|
|
3
|
+
import { ICondition } from '@sheetxl/sdk';
|
|
4
|
+
export interface TopNOptionProps extends BoxProps {
|
|
5
|
+
/**
|
|
6
|
+
* The top N option to edit.
|
|
7
|
+
*/
|
|
8
|
+
option: ICondition.TopNOption;
|
|
9
|
+
/**
|
|
10
|
+
* The callback function to handle changes in the top N option.
|
|
11
|
+
*/
|
|
12
|
+
onOptionChange: (option: ICondition.TopNOption) => void;
|
|
13
|
+
/**
|
|
14
|
+
* If true, makes the editor read-only.
|
|
15
|
+
*/
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Component for editing top N option (top/bottom N items/percent).
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* Allows selecting top or bottom N values, either by count or percentage.
|
|
23
|
+
*/
|
|
24
|
+
export declare const TopNOption: React.NamedExoticComponent<TopNOptionProps>;
|
|
25
|
+
//# sourceMappingURL=TopNOption.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './StringOption';
|
|
2
|
+
export * from './NumberOption';
|
|
3
|
+
export * from './ScalarOption';
|
|
4
|
+
export * from './InSetOption';
|
|
5
|
+
export * from './AverageOption';
|
|
6
|
+
export * from './TimePeriodOption';
|
|
7
|
+
export * from './TopNOption';
|
|
8
|
+
export * from './BetweenOption';
|
|
9
|
+
export * from './ExpressionOption';
|
|
10
|
+
export * from './SelectorSelect';
|
|
11
|
+
export * from './OperatorSelect';
|
|
12
|
+
export * from './ConditionEditor';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IWorkbook, IDataValidation } from '@sheetxl/sdk';
|
|
3
|
+
import { AnchorItemsDescriptor } from '../anchorItems';
|
|
4
|
+
/**
|
|
5
|
+
* Binds data validations to the generic {@link AnchorItemsPanel}.
|
|
6
|
+
*/
|
|
7
|
+
export declare const DataValidationItemsDescriptor: AnchorItemsDescriptor<IDataValidation>;
|
|
8
|
+
export interface DataValidationDetailsPanelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
9
|
+
workbook: IWorkbook;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The data-validation task pane: the generic anchored-items list driven by
|
|
13
|
+
* {@link DataValidationItemsDescriptor}.
|
|
14
|
+
*/
|
|
15
|
+
export declare const DataValidationDetailsPanel: React.NamedExoticComponent<DataValidationDetailsPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
//# sourceMappingURL=DataValidationDetailsPanel.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IDataValidation } from '@sheetxl/sdk';
|
|
2
|
+
export interface DataValidationEditorPanelProps {
|
|
3
|
+
/**
|
|
4
|
+
* The data validation to edit
|
|
5
|
+
*/
|
|
6
|
+
dataValidation: IDataValidation;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Editor panel component for configuring data validation rule settings.
|
|
10
|
+
*/
|
|
11
|
+
export declare const DataValidationEditorPanel: import('react').NamedExoticComponent<DataValidationEditorPanelProps>;
|
|
12
|
+
//# sourceMappingURL=DataValidationEditorPanel.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IComment } from '@sheetxl/sdk';
|
|
3
|
+
import { InputDialogProps } from '@sheetxl/utils-mui';
|
|
4
|
+
export interface CommentsDialogProps extends InputDialogProps<IComment.Properties> {
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* PLACEHOLDER for comments editor
|
|
8
|
+
*/
|
|
9
|
+
export declare const CommentsDialog: React.NamedExoticComponent<CommentsDialogProps>;
|
|
10
|
+
export default CommentsDialog;
|
|
11
|
+
//# sourceMappingURL=CommentsDialog.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CommandContext } from '@sheetxl/react';
|
|
3
|
+
import { InputDialogProps } from '@sheetxl/utils-mui';
|
|
4
|
+
export interface FindReplaceWindowProps extends InputDialogProps<CommandContext.FindReplaceOptions> {
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* TODO
|
|
8
|
+
* - save last searches (up/down arrow to navigate) (in preferences/workbook?)
|
|
9
|
+
* - later add indexing so we can do real-time search and count
|
|
10
|
+
*/
|
|
11
|
+
export declare const FindReplaceWindow: React.FC<FindReplaceWindowProps>;
|
|
12
|
+
export default FindReplaceWindow;
|
|
13
|
+
//# sourceMappingURL=FindReplaceWindow.d.ts.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ICell, IHyperlink } from '@sheetxl/sdk';
|
|
3
|
+
import { InputDialogProps } from '@sheetxl/utils-mui';
|
|
4
|
+
/**
|
|
5
|
+
* Input payload for the hyperlink dialog: modifier properties (where `address`/`textToDisplay`
|
|
6
|
+
* may be `null` to signal a clear) or a shorthand `string`.
|
|
7
|
+
*/
|
|
8
|
+
export type HyperlinkDialogInput = (Omit<IHyperlink.Modifiers, 'address' | 'textToDisplay'> & {
|
|
9
|
+
address?: string | null;
|
|
10
|
+
textToDisplay?: string | null;
|
|
11
|
+
}) | string;
|
|
12
|
+
export interface HyperlinkDialogProps extends InputDialogProps<HyperlinkDialogInput, ICell> {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Hover should include (a goto with fun icon, copy, edit, and remove)
|
|
16
|
+
*
|
|
17
|
+
* ZOHO has a decent insert hyperlink dialog.
|
|
18
|
+
* Excel online does this as a radio option (url, sheetReference, or email) (would later like to include links to people or any object?)
|
|
19
|
+
* Google sheets has a little world icon for url, we could have a sheet icon for sheet reference.
|
|
20
|
+
*
|
|
21
|
+
* * validate and read url to determine the display name (from fetch?)
|
|
22
|
+
* * Support for remove
|
|
23
|
+
* * ui to show insert or remove
|
|
24
|
+
* * Excel also allows for tooltip (screenTip)
|
|
25
|
+
*/
|
|
26
|
+
export declare const HyperlinkDialog: React.FC<HyperlinkDialogProps>;
|
|
27
|
+
export default HyperlinkDialog;
|
|
28
|
+
//# sourceMappingURL=HyperlinkDialog.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IFunction } from '@sheetxl/sdk';
|
|
2
|
+
import { InputDialogProps } from '@sheetxl/utils-mui';
|
|
3
|
+
import { CommandContext } from '@sheetxl/react';
|
|
4
|
+
/**
|
|
5
|
+
* What the dialog delivers: the chosen FUNCTION when it was inserted from page 1 (the host seeds
|
|
6
|
+
* `=NAME(` and the user fills it in the cell), or the assembled call TEXT when its arguments were
|
|
7
|
+
* filled in here.
|
|
8
|
+
*/
|
|
9
|
+
export type InsertFunctionResult = IFunction | string;
|
|
10
|
+
export interface InsertFunctionDialogProps extends InputDialogProps<InsertFunctionResult, CommandContext.FormulaFunction> {
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Excel's **Insert Function** dialog (`shift+F3`): pick a function, then fill its arguments.
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* A SHELL — the window, the title and the action row. Both pages are widgets
|
|
17
|
+
* ({@link InsertFunctionWizard}), so the same pair can be hosted elsewhere; everything this file adds
|
|
18
|
+
* is what a dialog is for.
|
|
19
|
+
*
|
|
20
|
+
* Page 1's default action is **Next**, with **Insert** alongside for anyone who already knows the
|
|
21
|
+
* function and would rather fill it in the cell. Page 2 inserts the assembled call.
|
|
22
|
+
*/
|
|
23
|
+
export declare const InsertFunctionDialog: import('react').NamedExoticComponent<InsertFunctionDialogProps>;
|
|
24
|
+
export default InsertFunctionDialog;
|
|
25
|
+
//# sourceMappingURL=InsertFunctionDialog.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { INamed } from '@sheetxl/sdk';
|
|
3
|
+
import { CommandContext } from '@sheetxl/react';
|
|
4
|
+
import { InputDialogProps } from '@sheetxl/utils-mui';
|
|
5
|
+
export interface NamedReferenceDialogProps extends InputDialogProps<INamed, CommandContext.NamedReference> {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* An editor for create or editing NamedReference.
|
|
9
|
+
*
|
|
10
|
+
* TODO -
|
|
11
|
+
* If 'hasHeader' then use top.left as a template (look for a name that is not used)
|
|
12
|
+
* Add scope dropdown that has 'Workbook' and a list of sheetNames.
|
|
13
|
+
* Add comment editor ()
|
|
14
|
+
*/
|
|
15
|
+
export declare const NamedReferenceDialog: React.NamedExoticComponent<NamedReferenceDialogProps>;
|
|
16
|
+
export default NamedReferenceDialog;
|
|
17
|
+
//# sourceMappingURL=NamedReferenceDialog.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { InputDialogProps } from '@sheetxl/utils-mui';
|
|
3
|
+
export interface NumberFormatDialogProps extends InputDialogProps {
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Number Format dialog — a thin {@link OptionsDialog} wrapper around the
|
|
7
|
+
* standalone {@link NumberFormatPanel}. The panel is reused as-is by the task
|
|
8
|
+
* pane and (later) a larger Format Cells dialog.
|
|
9
|
+
*/
|
|
10
|
+
export declare const NumberFormatDialog: React.NamedExoticComponent<NumberFormatDialogProps>;
|
|
11
|
+
export default NumberFormatDialog;
|
|
12
|
+
//# sourceMappingURL=NumberFormatDialog.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CommandContext } from '@sheetxl/react';
|
|
3
|
+
import { InputDialogProps } from '@sheetxl/utils-mui';
|
|
4
|
+
export interface ResizeHeaderDialogProps extends InputDialogProps<CommandContext.ResizeHeaderOptions, CommandContext.ResizeHeaderContext> {
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* * TODO
|
|
8
|
+
* * Allow for entering in character units
|
|
9
|
+
* * Show realtime conversion from native to pixels.
|
|
10
|
+
* * 0 is hidden - show a little indicate that this is hidden
|
|
11
|
+
* * validation - max size is based on header and unit
|
|
12
|
+
*/
|
|
13
|
+
export declare const ResizeHeaderDialog: React.NamedExoticComponent<ResizeHeaderDialogProps>;
|
|
14
|
+
export default ResizeHeaderDialog;
|
|
15
|
+
//# sourceMappingURL=ResizeHeaderDialog.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { InternalWindowProps } from '@sheetxl/utils-mui';
|
|
3
|
+
import { ShortcutKeysCommandSource } from './ShortcutKeysPanel';
|
|
4
|
+
export interface ShortcutKeysDialogProps extends InternalWindowProps {
|
|
5
|
+
commands: ShortcutKeysCommandSource;
|
|
6
|
+
}
|
|
7
|
+
declare const ShortcutKeysDialog: React.FC<ShortcutKeysDialogProps>;
|
|
8
|
+
export default ShortcutKeysDialog;
|
|
9
|
+
//# sourceMappingURL=ShortcutKeysDialog.d.ts.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The minimal read-only view of a command the shortcut table needs (label, icon, description, shortcut).
|
|
4
|
+
* Kept small on purpose so the panel stays decoupled from the full command type.
|
|
5
|
+
*/
|
|
6
|
+
export interface ShortcutKeysCommand {
|
|
7
|
+
getLabel(): string;
|
|
8
|
+
getIcon(): any;
|
|
9
|
+
getDescription(): string;
|
|
10
|
+
getShortcut(): any;
|
|
11
|
+
/** The command's home **scope** name (registry name) — the stable grouping/filter key. */
|
|
12
|
+
getScope?(): string;
|
|
13
|
+
/** The scope's localized display name (falls back to the scope key). Shown in the section header. */
|
|
14
|
+
getScopeLabel?(): string;
|
|
15
|
+
}
|
|
16
|
+
/** Supplies the commands the shortcut table lists. */
|
|
17
|
+
export interface ShortcutKeysCommandSource {
|
|
18
|
+
getAllCommands(): {
|
|
19
|
+
command: ShortcutKeysCommand;
|
|
20
|
+
groupKey: string;
|
|
21
|
+
}[];
|
|
22
|
+
}
|
|
23
|
+
export interface ShortcutKeysPanelProps {
|
|
24
|
+
commands: ShortcutKeysCommandSource;
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}
|
|
27
|
+
export declare function ShortcutKeysPanel(props: ShortcutKeysPanelProps): React.ReactElement;
|
|
28
|
+
//# sourceMappingURL=ShortcutKeysPanel.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ISort } from '@sheetxl/sdk';
|
|
3
|
+
import { CommandContext } from '@sheetxl/react';
|
|
4
|
+
import { InputDialogProps } from '@sheetxl/utils-mui';
|
|
5
|
+
export interface SortDialogProps extends InputDialogProps<ISort.RangeOptions, CommandContext.SelectedRange> {
|
|
6
|
+
}
|
|
7
|
+
export declare const SortDialog: React.NamedExoticComponent<SortDialogProps>;
|
|
8
|
+
export default SortDialog;
|
|
9
|
+
//# sourceMappingURL=SortDialog.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CommandContext } from '@sheetxl/react';
|
|
3
|
+
import { InputDialogProps } from '@sheetxl/utils-mui';
|
|
4
|
+
export interface TableNewDialogProps extends InputDialogProps<CommandContext.NewTable, CommandContext.Table> {
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* TODO - get cancel to actually work
|
|
8
|
+
* TODO - get range to actually work
|
|
9
|
+
* TODO - default has header
|
|
10
|
+
* TODO - spacing is poor
|
|
11
|
+
*/
|
|
12
|
+
export declare const TableNewDialog: React.NamedExoticComponent<TableNewDialogProps>;
|
|
13
|
+
export default TableNewDialog;
|
|
14
|
+
//# sourceMappingURL=TableNewDialog.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CommandContext } from '@sheetxl/react';
|
|
2
|
+
import { InputDialogProps } from '@sheetxl/utils-mui';
|
|
3
|
+
export interface WorkbookStatisticsDialogProps extends InputDialogProps<void, CommandContext.WorkbookStatistics> {
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Display-only profile of the workbook — Excel's Workbook Statistics dialog. Two sections
|
|
7
|
+
* (current sheet / workbook) of count rows over `ISheet.getStats` / `IWorkbook.getStats`.
|
|
8
|
+
*
|
|
9
|
+
* TODO - also surface in the status bar.
|
|
10
|
+
*/
|
|
11
|
+
export declare const WorkbookStatisticsDialog: import('react').NamedExoticComponent<WorkbookStatisticsDialogProps>;
|
|
12
|
+
export default WorkbookStatisticsDialog;
|
|
13
|
+
//# sourceMappingURL=WorkbookStatisticsDialog.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './FindReplaceWindow';
|
|
2
|
+
export * from './NumberFormatDialog';
|
|
3
|
+
export * from './SortDialog';
|
|
4
|
+
export * from './HyperlinkDialog';
|
|
5
|
+
export * from './CommentsDialog';
|
|
6
|
+
export * from './NamedReferenceDialog';
|
|
7
|
+
export * from './InsertFunctionDialog';
|
|
8
|
+
export * from './ShortcutKeysPanel';
|
|
9
|
+
export * from './ShortcutKeysDialog';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ITable } from '@sheetxl/sdk';
|
|
3
|
+
import { FloatReference } from '@sheetxl/utils-react';
|
|
4
|
+
export interface ColumnMenuProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
column?: ITable.IColumn;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
floatReference: FloatReference;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* ColumnMenu component to provide a menu for filter column actions.
|
|
11
|
+
*/
|
|
12
|
+
export declare const ColumnMenu: React.NamedExoticComponent<ColumnMenuProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
//# sourceMappingURL=ColumnMenu.d.ts.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ITable } from '@sheetxl/sdk';
|
|
3
|
+
import { FloatReference } from '@sheetxl/utils-react';
|
|
4
|
+
export interface FilterListAttributes {
|
|
5
|
+
isFilterList: () => true;
|
|
6
|
+
}
|
|
7
|
+
export interface IFilterListElement extends HTMLDivElement, FilterListAttributes {
|
|
8
|
+
}
|
|
9
|
+
export interface FilterListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
/** The table column being filtered. */
|
|
11
|
+
column: ITable.IColumn;
|
|
12
|
+
/** The popup, closed on Apply / Cancel. */
|
|
13
|
+
floatReference: FloatReference;
|
|
14
|
+
/** Ref for the Element. */
|
|
15
|
+
ref?: React.Ref<IFilterListElement>;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The column **filter dropdown** body: a virtualized checkbox list of the column's distinct values
|
|
19
|
+
* (via {@link CheckboxList}), with a search box, `(Select All)`, and a `(Blanks)` row. Reads the values
|
|
20
|
+
* + current selection straight off the column's filter; Apply writes an `InSet` condition back.
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* This is the real consumer the `List`/`CheckboxList` work was for — the filter chrome (search, Select
|
|
24
|
+
* All, Apply) that doesn't belong in the generic list. Rows dedupe/sort by the raw value (the `InSet`
|
|
25
|
+
* item) but are labeled with the cell's formatted text, so dates / numbers read like the sheet.
|
|
26
|
+
*/
|
|
27
|
+
export declare const FilterList: React.ForwardRefExoticComponent<Omit<FilterListProps, "ref"> & React.RefAttributes<IFilterListElement>>;
|
|
28
|
+
//# sourceMappingURL=FilterList.d.ts.map
|