@sheetxl/react 0.7.21 → 0.7.23-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/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +1 -0
- package/browser/cjs/Pl04-kDEQSO8_qFU.cjs +156 -0
- package/browser/cjs/index.cjs +24 -24
- package/browser/esm/E9rKWgbrtweBguqR.mjs +6286 -0
- package/browser/esm/index.mjs +19252 -4914
- package/licenses/dependencies.txt +42 -214
- package/node/esm/CmChqiPvaotX5mCV.mjs +9 -0
- package/node/esm/index.mjs +17028 -3694
- package/package.json +10 -11
- package/resources/contents.json +60 -0
- package/resources/locales/contents.json +114 -0
- package/resources/locales/de/clipboard.cmd.json +36 -0
- package/resources/locales/de/editor.cmd.json +128 -0
- package/resources/locales/de/movable.cmd.json +123 -0
- package/resources/locales/de/selection.cmd.json +373 -0
- package/resources/locales/de/sheet.cmd.json +1563 -0
- package/resources/locales/de/table.cmd.json +83 -0
- package/resources/locales/de/ui.msg.json +166 -0
- package/resources/locales/de/workbook.cmd.json +282 -0
- package/resources/locales/en/clipboard.cmd.json +36 -0
- package/resources/locales/en/editor.cmd.json +128 -0
- package/resources/locales/en/movable.cmd.json +123 -0
- package/resources/locales/en/selection.cmd.json +373 -0
- package/resources/locales/en/sheet.cmd.json +1563 -0
- package/resources/locales/en/table.cmd.json +83 -0
- package/resources/locales/en/ui.msg.json +166 -0
- package/resources/locales/en/workbook.cmd.json +282 -0
- package/types/index.d.ts +2 -1815
- package/types/src/border/StaticBorderRenderer.d.ts +32 -0
- package/types/src/border/StaticBorderRenderer.d.ts.map +1 -0
- package/types/src/border/StyledStrokePath.d.ts +14 -0
- package/types/src/border/StyledStrokePath.d.ts.map +1 -0
- package/types/src/border/index.d.ts +4 -0
- package/types/src/border/index.d.ts.map +1 -0
- package/types/src/border/useBorders.d.ts +87 -0
- package/types/src/border/useBorders.d.ts.map +1 -0
- package/types/src/cell/ColumnButton.d.ts +45 -0
- package/types/src/cell/ColumnButton.d.ts.map +1 -0
- package/types/src/cell/CornerTriangle.d.ts +27 -0
- package/types/src/cell/CornerTriangle.d.ts.map +1 -0
- package/types/src/cell/FormulaCellRenderer.d.ts +34 -0
- package/types/src/cell/FormulaCellRenderer.d.ts.map +1 -0
- package/types/src/cell/SheetCellRenderer.d.ts +52 -0
- package/types/src/cell/SheetCellRenderer.d.ts.map +1 -0
- package/types/src/cell/SheetHeaderRenderer.d.ts +37 -0
- package/types/src/cell/SheetHeaderRenderer.d.ts.map +1 -0
- package/types/src/cell/index.d.ts +7 -0
- package/types/src/cell/index.d.ts.map +1 -0
- package/types/src/cell/useFormulaViewAnchor.d.ts +42 -0
- package/types/src/cell/useFormulaViewAnchor.d.ts.map +1 -0
- package/types/src/chart/ChartEditor.d.ts +17 -0
- package/types/src/chart/ChartEditor.d.ts.map +1 -0
- package/types/src/chart/PresetChartTypeDescriptors.d.ts +35 -0
- package/types/src/chart/PresetChartTypeDescriptors.d.ts.map +1 -0
- package/types/src/chart/index.d.ts +3 -0
- package/types/src/chart/index.d.ts.map +1 -0
- package/types/src/chart/templates/area-stacked-percent-template.json.d.ts +10 -0
- package/types/src/chart/templates/area-stacked-template.json.d.ts +10 -0
- package/types/src/chart/templates/area-template.json.d.ts +9 -0
- package/types/src/chart/templates/bar-stacked-percent-template.json.d.ts +10 -0
- package/types/src/chart/templates/bar-stacked-template.json.d.ts +10 -0
- package/types/src/chart/templates/bar-template.json.d.ts +9 -0
- package/types/src/chart/templates/column-stacked-percent-template.json.d.ts +10 -0
- package/types/src/chart/templates/column-stacked-template.json.d.ts +10 -0
- package/types/src/chart/templates/column-template.json.d.ts +9 -0
- package/types/src/chart/templates/line-markers-template.json.d.ts +10 -0
- package/types/src/chart/templates/line-stacked-markers-template.json.d.ts +11 -0
- package/types/src/chart/templates/line-stacked-percent-markers-template.json.d.ts +11 -0
- package/types/src/chart/templates/line-stacked-percent-template.json.d.ts +10 -0
- package/types/src/chart/templates/line-stacked-template.json.d.ts +10 -0
- package/types/src/chart/templates/line-template.json.d.ts +9 -0
- package/types/src/chart/templates/pie-doughnut-template.json.d.ts +10 -0
- package/types/src/chart/templates/pie-template.json.d.ts +9 -0
- package/types/src/chart/templates/scatter-lines-markers-smooth-template.json.d.ts +10 -0
- package/types/src/chart/templates/scatter-lines-markers-template.json.d.ts +10 -0
- package/types/src/chart/templates/scatter-lines-smooth-template.json.d.ts +10 -0
- package/types/src/chart/templates/scatter-lines-template.json.d.ts +10 -0
- package/types/src/chart/templates/scatter-markers-template.json.d.ts +10 -0
- package/types/src/clipboard/ClipboardCommands.d.ts +68 -0
- package/types/src/clipboard/ClipboardCommands.d.ts.map +1 -0
- package/types/src/clipboard/SheetClipboardLayer.d.ts +22 -0
- package/types/src/clipboard/SheetClipboardLayer.d.ts.map +1 -0
- package/types/src/clipboard/index.d.ts +3 -0
- package/types/src/clipboard/index.d.ts.map +1 -0
- package/types/src/commands/Catalog.d.ts +8 -0
- package/types/src/commands/Catalog.d.ts.map +1 -0
- package/types/src/commands/CommandRootProvider.d.ts +36 -0
- package/types/src/commands/CommandRootProvider.d.ts.map +1 -0
- package/types/src/commands/InputClipboardCommands.d.ts +41 -0
- package/types/src/commands/InputClipboardCommands.d.ts.map +1 -0
- package/types/src/commands/InputClipboardInjector.d.ts +16 -0
- package/types/src/commands/InputClipboardInjector.d.ts.map +1 -0
- package/types/src/commands/MainFocusContext.d.ts +13 -0
- package/types/src/commands/MainFocusContext.d.ts.map +1 -0
- package/types/src/commands/PaneScopeProvider.d.ts +40 -0
- package/types/src/commands/PaneScopeProvider.d.ts.map +1 -0
- package/types/src/commands/createTransactionalMiddleware.d.ts +49 -0
- package/types/src/commands/createTransactionalMiddleware.d.ts.map +1 -0
- package/types/src/commands/index.d.ts +7 -0
- package/types/src/commands/index.d.ts.map +1 -0
- package/types/src/context/SheetContext.d.ts +18 -0
- package/types/src/context/SheetContext.d.ts.map +1 -0
- package/types/src/context/WorkbookContext.d.ts +20 -0
- package/types/src/context/WorkbookContext.d.ts.map +1 -0
- package/types/src/context/index.d.ts +3 -0
- package/types/src/context/index.d.ts.map +1 -0
- package/types/src/editableLabel/EditableLabel.d.ts +28 -0
- package/types/src/editableLabel/EditableLabel.d.ts.map +1 -0
- package/types/src/editableLabel/index.d.ts +2 -0
- package/types/src/editableLabel/index.d.ts.map +1 -0
- package/types/src/editor/EditorCommands.d.ts +98 -0
- package/types/src/editor/EditorCommands.d.ts.map +1 -0
- package/types/src/editor/FunctionPreviewPanel.d.ts +166 -0
- package/types/src/editor/FunctionPreviewPanel.d.ts.map +1 -0
- package/types/src/editor/NamedHintPanel.d.ts +38 -0
- package/types/src/editor/NamedHintPanel.d.ts.map +1 -0
- package/types/src/editor/NamedItemsPanel.d.ts +59 -0
- package/types/src/editor/NamedItemsPanel.d.ts.map +1 -0
- package/types/src/editor/SheetCellEditorLayer.d.ts +40 -0
- package/types/src/editor/SheetCellEditorLayer.d.ts.map +1 -0
- package/types/src/editor/SheetCellInput.d.ts +99 -0
- package/types/src/editor/SheetCellInput.d.ts.map +1 -0
- package/types/src/editor/SheetEditable.d.ts +53 -0
- package/types/src/editor/SheetEditable.d.ts.map +1 -0
- package/types/src/editor/SheetReferenceHeaderLayer.d.ts +46 -0
- package/types/src/editor/SheetReferenceHeaderLayer.d.ts.map +1 -0
- package/types/src/editor/SheetReferenceLayer.d.ts +55 -0
- package/types/src/editor/SheetReferenceLayer.d.ts.map +1 -0
- package/types/src/editor/formulaCaret.d.ts +84 -0
- package/types/src/editor/formulaCaret.d.ts.map +1 -0
- package/types/src/editor/formulaEval.d.ts +202 -0
- package/types/src/editor/formulaEval.d.ts.map +1 -0
- package/types/src/editor/formulaPresentation.d.ts +136 -0
- package/types/src/editor/formulaPresentation.d.ts.map +1 -0
- package/types/src/editor/formulaText.d.ts +80 -0
- package/types/src/editor/formulaText.d.ts.map +1 -0
- package/types/src/editor/functionArgs.d.ts +111 -0
- package/types/src/editor/functionArgs.d.ts.map +1 -0
- package/types/src/editor/functionHint.d.ts +37 -0
- package/types/src/editor/functionHint.d.ts.map +1 -0
- package/types/src/editor/index.d.ts +18 -0
- package/types/src/editor/index.d.ts.map +1 -0
- package/types/src/editor/referencePointNav.d.ts +39 -0
- package/types/src/editor/referencePointNav.d.ts.map +1 -0
- package/types/src/editor/useFormulaHints.d.ts +126 -0
- package/types/src/editor/useFormulaHints.d.ts.map +1 -0
- package/types/src/editor/useFormulaInput.d.ts +326 -0
- package/types/src/editor/useFormulaInput.d.ts.map +1 -0
- package/types/src/editor/useProtectedEditNotice.d.ts +14 -0
- package/types/src/editor/useProtectedEditNotice.d.ts.map +1 -0
- package/types/src/editor/useReferenceMode.d.ts +177 -0
- package/types/src/editor/useReferenceMode.d.ts.map +1 -0
- package/types/src/form/FormulaInput.d.ts +86 -0
- package/types/src/form/FormulaInput.d.ts.map +1 -0
- package/types/src/form/FormulaInputParts.d.ts +94 -0
- package/types/src/form/FormulaInputParts.d.ts.map +1 -0
- package/types/src/form/index.d.ts +5 -0
- package/types/src/form/index.d.ts.map +1 -0
- package/types/src/form/useEditCommit.d.ts +174 -0
- package/types/src/form/useEditCommit.d.ts.map +1 -0
- package/types/src/form/useInputField.d.ts +86 -0
- package/types/src/form/useInputField.d.ts.map +1 -0
- package/types/src/frame/CommandContext.d.ts +179 -0
- package/types/src/frame/CommandContext.d.ts.map +1 -0
- package/types/src/frame/IFrame.d.ts +17 -0
- package/types/src/frame/IFrame.d.ts.map +1 -0
- package/types/src/frame/index.d.ts +3 -0
- package/types/src/frame/index.d.ts.map +1 -0
- package/types/src/icons/LogoNoPaddingIcon.d.ts +3 -0
- package/types/src/icons/LogoNoPaddingIcon.d.ts.map +1 -0
- package/types/src/icons/LogoTextNoPaddingIcon.d.ts +4 -0
- package/types/src/icons/LogoTextNoPaddingIcon.d.ts.map +1 -0
- package/types/src/icons/WaterMark.d.ts +12 -0
- package/types/src/icons/WaterMark.d.ts.map +1 -0
- package/types/src/icons/chart/ChartAreaIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartAreaIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartAreaStackedIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartAreaStackedIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartAreaStackedPercentIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartAreaStackedPercentIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartBarIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartBarIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartBarStackedIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartBarStackedIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartBarStackedPercentIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartBarStackedPercentIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartBubble3DIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartBubble3DIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartBubbleIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartBubbleIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartColumnIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartColumnIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartColumnStackedIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartColumnStackedIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartColumnStackedPercentIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartColumnStackedPercentIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartLineIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartLineIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartLineMarkersIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartLineMarkersIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartLineStackedIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartLineStackedIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartLineStackedMarkersIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartLineStackedMarkersIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartLineStackedPercentIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartLineStackedPercentIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartLineStackedPercentMarkersIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartLineStackedPercentMarkersIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartPieDoughnutIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartPieDoughnutIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartPieIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartPieIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartScatterLinesIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartScatterLinesIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartScatterLinesMarkersIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartScatterLinesMarkersIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartScatterLinesMarkersSmoothIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartScatterLinesMarkersSmoothIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartScatterLinesSmoothIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartScatterLinesSmoothIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartScatterMarkersIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartScatterMarkersIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ChartWaterfallIcon.d.ts +5 -0
- package/types/src/icons/chart/ChartWaterfallIcon.d.ts.map +1 -0
- package/types/src/icons/chart/ThemedChartIcon.d.ts +20 -0
- package/types/src/icons/chart/ThemedChartIcon.d.ts.map +1 -0
- package/types/src/icons/chart/index.d.ts +50 -0
- package/types/src/icons/chart/index.d.ts.map +1 -0
- package/types/src/icons/index.d.ts +4 -0
- package/types/src/icons/index.d.ts.map +1 -0
- package/types/src/index.d.ts +27 -0
- package/types/src/index.d.ts.map +1 -0
- package/types/src/io/WorkbookIO.d.ts +50 -0
- package/types/src/io/WorkbookIO.d.ts.map +1 -0
- package/types/src/io/index.d.ts +2 -0
- package/types/src/io/index.d.ts.map +1 -0
- package/types/src/layer/BorderLayer.d.ts +14 -0
- package/types/src/layer/BorderLayer.d.ts.map +1 -0
- package/types/src/layer/CellErrorLayer.d.ts +49 -0
- package/types/src/layer/CellErrorLayer.d.ts.map +1 -0
- package/types/src/layer/CellFillLayer.d.ts +15 -0
- package/types/src/layer/CellFillLayer.d.ts.map +1 -0
- package/types/src/layer/ConditionalBarLayer.d.ts +41 -0
- package/types/src/layer/ConditionalBarLayer.d.ts.map +1 -0
- package/types/src/layer/ConditionalIcons.d.ts +34 -0
- package/types/src/layer/ConditionalIcons.d.ts.map +1 -0
- package/types/src/layer/ConditionalIconsLayer.d.ts +31 -0
- package/types/src/layer/ConditionalIconsLayer.d.ts.map +1 -0
- package/types/src/layer/ContextMenuLayer.d.ts +27 -0
- package/types/src/layer/ContextMenuLayer.d.ts.map +1 -0
- package/types/src/layer/HeaderResizerLayer.d.ts +28 -0
- package/types/src/layer/HeaderResizerLayer.d.ts.map +1 -0
- package/types/src/layer/HeaderSelectionLayer.d.ts +89 -0
- package/types/src/layer/HeaderSelectionLayer.d.ts.map +1 -0
- package/types/src/layer/ResizeIndicator.d.ts +19 -0
- package/types/src/layer/ResizeIndicator.d.ts.map +1 -0
- package/types/src/layer/SheetBackgroundLayer.d.ts +22 -0
- package/types/src/layer/SheetBackgroundLayer.d.ts.map +1 -0
- package/types/src/layer/SheetCellLayer.d.ts +49 -0
- package/types/src/layer/SheetCellLayer.d.ts.map +1 -0
- package/types/src/layer/SheetColumnButtonLayer.d.ts +23 -0
- package/types/src/layer/SheetColumnButtonLayer.d.ts.map +1 -0
- package/types/src/layer/SheetGridLineLayer.d.ts +22 -0
- package/types/src/layer/SheetGridLineLayer.d.ts.map +1 -0
- package/types/src/layer/SheetHeaderCellLayer.d.ts +30 -0
- package/types/src/layer/SheetHeaderCellLayer.d.ts.map +1 -0
- package/types/src/layer/SheetMovableLayer.d.ts +26 -0
- package/types/src/layer/SheetMovableLayer.d.ts.map +1 -0
- package/types/src/layer/SheetTableCommandLayer.d.ts +16 -0
- package/types/src/layer/SheetTableCommandLayer.d.ts.map +1 -0
- package/types/src/layer/SpillLayer.d.ts +22 -0
- package/types/src/layer/SpillLayer.d.ts.map +1 -0
- package/types/src/layer/TableLayer.d.ts +22 -0
- package/types/src/layer/TableLayer.d.ts.map +1 -0
- package/types/src/layer/ValidationIndicatorLayer.d.ts +41 -0
- package/types/src/layer/ValidationIndicatorLayer.d.ts.map +1 -0
- package/types/src/layer/index.d.ts +25 -0
- package/types/src/layer/index.d.ts.map +1 -0
- package/types/src/layer/resizeIndicatorState.d.ts +26 -0
- package/types/src/layer/resizeIndicatorState.d.ts.map +1 -0
- package/types/src/layer/useSheetFeatureRegions.d.ts +21 -0
- package/types/src/layer/useSheetFeatureRegions.d.ts.map +1 -0
- package/types/src/layer/useSheetVisibleCells.d.ts +60 -0
- package/types/src/layer/useSheetVisibleCells.d.ts.map +1 -0
- package/types/src/layer/useSheetVisibleDecorations.d.ts +42 -0
- package/types/src/layer/useSheetVisibleDecorations.d.ts.map +1 -0
- package/types/src/layer/useTableHeaderCells.d.ts +22 -0
- package/types/src/layer/useTableHeaderCells.d.ts.map +1 -0
- package/types/src/layer/useVisibleTables.d.ts +27 -0
- package/types/src/layer/useVisibleTables.d.ts.map +1 -0
- package/types/src/listener/index.d.ts +3 -0
- package/types/src/listener/index.d.ts.map +1 -0
- package/types/src/listener/useModelListener.d.ts +67 -0
- package/types/src/listener/useModelListener.d.ts.map +1 -0
- package/types/src/listener/useRangeListener.d.ts +15 -0
- package/types/src/listener/useRangeListener.d.ts.map +1 -0
- package/types/src/movable/EmptyFrame.d.ts +16 -0
- package/types/src/movable/EmptyFrame.d.ts.map +1 -0
- package/types/src/movable/IMovableArea.d.ts +34 -0
- package/types/src/movable/IMovableArea.d.ts.map +1 -0
- package/types/src/movable/MovableCommands.d.ts +22 -0
- package/types/src/movable/MovableCommands.d.ts.map +1 -0
- package/types/src/movable/MovableFrame.d.ts +48 -0
- package/types/src/movable/MovableFrame.d.ts.map +1 -0
- package/types/src/movable/MovableLayer.d.ts +77 -0
- package/types/src/movable/MovableLayer.d.ts.map +1 -0
- package/types/src/movable/MoveableBundle.d.ts +4 -0
- package/types/src/movable/MoveableBundle.d.ts.map +1 -0
- package/types/src/movable/index.d.ts +4 -0
- package/types/src/movable/index.d.ts.map +1 -0
- package/types/src/picture/IPictureEditor.d.ts +39 -0
- package/types/src/picture/IPictureEditor.d.ts.map +1 -0
- package/types/src/picture/PictureEditor.d.ts +4 -0
- package/types/src/picture/PictureEditor.d.ts.map +1 -0
- package/types/src/picture/index.d.ts +3 -0
- package/types/src/picture/index.d.ts.map +1 -0
- package/types/src/selection/SelectionCommands.d.ts +23 -0
- package/types/src/selection/SelectionCommands.d.ts.map +1 -0
- package/types/src/selection/SheetSelection.d.ts +53 -0
- package/types/src/selection/SheetSelection.d.ts.map +1 -0
- package/types/src/selection/SheetSelectionLayer.d.ts +30 -0
- package/types/src/selection/SheetSelectionLayer.d.ts.map +1 -0
- package/types/src/selection/index.d.ts +4 -0
- package/types/src/selection/index.d.ts.map +1 -0
- package/types/src/shape/ShapeEditor.d.ts +16 -0
- package/types/src/shape/ShapeEditor.d.ts.map +1 -0
- package/types/src/shape/index.d.ts +2 -0
- package/types/src/shape/index.d.ts.map +1 -0
- package/types/src/sheet/ConditionalFormatPresets.d.ts +56 -0
- package/types/src/sheet/ConditionalFormatPresets.d.ts.map +1 -0
- package/types/src/sheet/ISheetElement.d.ts +233 -0
- package/types/src/sheet/ISheetElement.d.ts.map +1 -0
- package/types/src/sheet/ISheetHeaderElement.d.ts +138 -0
- package/types/src/sheet/ISheetHeaderElement.d.ts.map +1 -0
- package/types/src/sheet/NotImplemented.d.ts +3 -0
- package/types/src/sheet/NotImplemented.d.ts.map +1 -0
- package/types/src/sheet/SheetCommandProvider.d.ts +57 -0
- package/types/src/sheet/SheetCommandProvider.d.ts.map +1 -0
- package/types/src/sheet/SheetCommands.d.ts +75 -0
- package/types/src/sheet/SheetCommands.d.ts.map +1 -0
- package/types/src/sheet/SheetElement.d.ts +15 -0
- package/types/src/sheet/SheetElement.d.ts.map +1 -0
- package/types/src/sheet/SheetHeaderElement.d.ts +4 -0
- package/types/src/sheet/SheetHeaderElement.d.ts.map +1 -0
- package/types/src/sheet/SheetScrollbar.d.ts +28 -0
- package/types/src/sheet/SheetScrollbar.d.ts.map +1 -0
- package/types/src/sheet/TopLeftCorner.d.ts +17 -0
- package/types/src/sheet/TopLeftCorner.d.ts.map +1 -0
- package/types/src/sheet/index.d.ts +7 -0
- package/types/src/sheet/index.d.ts.map +1 -0
- package/types/src/slicer/SlicerEditor.d.ts +16 -0
- package/types/src/slicer/SlicerEditor.d.ts.map +1 -0
- package/types/src/slicer/index.d.ts +2 -0
- package/types/src/slicer/index.d.ts.map +1 -0
- package/types/src/tabStrip/SheetTab.d.ts +41 -0
- package/types/src/tabStrip/SheetTab.d.ts.map +1 -0
- package/types/src/tabStrip/Sortable.d.ts +66 -0
- package/types/src/tabStrip/Sortable.d.ts.map +1 -0
- package/types/src/tabStrip/Tab.d.ts +19 -0
- package/types/src/tabStrip/Tab.d.ts.map +1 -0
- package/types/src/tabStrip/TabStrip.d.ts +41 -0
- package/types/src/tabStrip/TabStrip.d.ts.map +1 -0
- package/types/src/tabStrip/TabStripItem.d.ts +36 -0
- package/types/src/tabStrip/TabStripItem.d.ts.map +1 -0
- package/types/src/tabStrip/TabStripRow.d.ts +9 -0
- package/types/src/tabStrip/TabStripRow.d.ts.map +1 -0
- package/types/src/tabStrip/index.d.ts +7 -0
- package/types/src/tabStrip/index.d.ts.map +1 -0
- package/types/src/table/TableCommands.d.ts +16 -0
- package/types/src/table/TableCommands.d.ts.map +1 -0
- package/types/src/taskPane/ITaskPane.d.ts +72 -0
- package/types/src/taskPane/ITaskPane.d.ts.map +1 -0
- package/types/src/taskPane/TaskPaneArea.d.ts +144 -0
- package/types/src/taskPane/TaskPaneArea.d.ts.map +1 -0
- package/types/src/taskPane/TaskPaneFrame.d.ts +48 -0
- package/types/src/taskPane/TaskPaneFrame.d.ts.map +1 -0
- package/types/src/taskPane/TaskPaneRegistry.d.ts +108 -0
- package/types/src/taskPane/TaskPaneRegistry.d.ts.map +1 -0
- package/types/src/taskPane/TaskPaneStrip.d.ts +33 -0
- package/types/src/taskPane/TaskPaneStrip.d.ts.map +1 -0
- package/types/src/taskPane/TaskPaneTitle.d.ts +24 -0
- package/types/src/taskPane/TaskPaneTitle.d.ts.map +1 -0
- package/types/src/taskPane/index.d.ts +7 -0
- package/types/src/taskPane/index.d.ts.map +1 -0
- package/types/src/taskPane/useTaskPane.d.ts +29 -0
- package/types/src/taskPane/useTaskPane.d.ts.map +1 -0
- package/types/src/theme/DocThemesContext.d.ts +3 -0
- package/types/src/theme/DocThemesContext.d.ts.map +1 -0
- package/types/src/theme/DocThemesProvider.d.ts +15 -0
- package/types/src/theme/DocThemesProvider.d.ts.map +1 -0
- package/types/src/theme/ThemeState.d.ts +19 -0
- package/types/src/theme/ThemeState.d.ts.map +1 -0
- package/types/src/theme/buildDocThemeCSS.d.ts +16 -0
- package/types/src/theme/buildDocThemeCSS.d.ts.map +1 -0
- package/types/src/theme/buildOOXMLThemeCSS.d.ts +13 -0
- package/types/src/theme/buildOOXMLThemeCSS.d.ts.map +1 -0
- package/types/src/theme/createCSSSystemLookup.d.ts +51 -0
- package/types/src/theme/createCSSSystemLookup.d.ts.map +1 -0
- package/types/src/theme/index.d.ts +11 -0
- package/types/src/theme/index.d.ts.map +1 -0
- package/types/src/theme/useAppColorScheme.d.ts +15 -0
- package/types/src/theme/useAppColorScheme.d.ts.map +1 -0
- package/types/src/theme/useDocThemes.d.ts +3 -0
- package/types/src/theme/useDocThemes.d.ts.map +1 -0
- package/types/src/theme/useGridColorScheme.d.ts +20 -0
- package/types/src/theme/useGridColorScheme.d.ts.map +1 -0
- package/types/src/theme/useSystemColors.d.ts +44 -0
- package/types/src/theme/useSystemColors.d.ts.map +1 -0
- package/types/src/undo/UndoCommands.d.ts +28 -0
- package/types/src/undo/UndoCommands.d.ts.map +1 -0
- package/types/src/undo/UndoManagerContext.d.ts +14 -0
- package/types/src/undo/UndoManagerContext.d.ts.map +1 -0
- package/types/src/undo/index.d.ts +3 -0
- package/types/src/undo/index.d.ts.map +1 -0
- package/types/src/workbook/DefaultRenderers.d.ts +14 -0
- package/types/src/workbook/DefaultRenderers.d.ts.map +1 -0
- package/types/src/workbook/GlobalWorkbookElement.d.ts +10 -0
- package/types/src/workbook/GlobalWorkbookElement.d.ts.map +1 -0
- package/types/src/workbook/IWorkbookElement.d.ts +178 -0
- package/types/src/workbook/IWorkbookElement.d.ts.map +1 -0
- package/types/src/workbook/WindowChrome.d.ts +61 -0
- package/types/src/workbook/WindowChrome.d.ts.map +1 -0
- package/types/src/workbook/WorkbookCommandContributor.d.ts +24 -0
- package/types/src/workbook/WorkbookCommandContributor.d.ts.map +1 -0
- package/types/src/workbook/WorkbookCommands.d.ts +97 -0
- package/types/src/workbook/WorkbookCommands.d.ts.map +1 -0
- package/types/src/workbook/WorkbookElement.d.ts +9 -0
- package/types/src/workbook/WorkbookElement.d.ts.map +1 -0
- package/types/src/workbook/WorkbookStrip.d.ts +73 -0
- package/types/src/workbook/WorkbookStrip.d.ts.map +1 -0
- package/types/src/workbook/index.d.ts +17 -0
- package/types/src/workbook/index.d.ts.map +1 -0
- package/types/src/workbook/resolveWorkbookInput.d.ts +27 -0
- package/types/src/workbook/resolveWorkbookInput.d.ts.map +1 -0
- package/types/src/workbook/useResolvedWorkbook.d.ts +31 -0
- package/types/src/workbook/useResolvedWorkbook.d.ts.map +1 -0
- package/types/src/workbook/useWindowChrome.d.ts +24 -0
- package/types/src/workbook/useWindowChrome.d.ts.map +1 -0
- package/types/src/workbook/useWorkbookApp.d.ts +47 -0
- package/types/src/workbook/useWorkbookApp.d.ts.map +1 -0
- package/types/src/workbook/useWorkbookEncrypted.d.ts +15 -0
- package/types/src/workbook/useWorkbookEncrypted.d.ts.map +1 -0
- package/types/src/workbook/useWorkbookFormat.d.ts +18 -0
- package/types/src/workbook/useWorkbookFormat.d.ts.map +1 -0
- package/types/src/workbook/useWorkbookName.d.ts +13 -0
- package/types/src/workbook/useWorkbookName.d.ts.map +1 -0
- package/types/src/workbook/useWorkbookSaveState.d.ts +29 -0
- package/types/src/workbook/useWorkbookSaveState.d.ts.map +1 -0
- package/browser/cjs/Be13sRyTTTUvNIit.cjs +0 -161
- package/browser/cjs/KLgpeikeRSDp4tUK.cjs +0 -16
- package/browser/cjs/n4OQZCE7fVxRfX1r.cjs +0 -7
- package/browser/esm/ClLcB3xHul5RfTMr.mjs +0 -1377
- package/browser/esm/EUZRpu3SnHayUDBu.mjs +0 -3905
- package/browser/esm/Mz1Nj2KbO5FcE969.mjs +0 -394
- package/node/assets/style.css +0 -1
- package/node/esm/sKvpUJVdmYl8r9f6.mjs +0 -11
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ISheet } from '@sheetxl/sdk';
|
|
3
|
+
import { Command } from '@sheetxl/utils-react';
|
|
4
|
+
import { SheetEditable } from '../editor';
|
|
5
|
+
import { SheetCommandData } from './SheetCommands';
|
|
6
|
+
/** The `data` bundle for the sheet contributor — the sheet-command data plus the shared editable (for the
|
|
7
|
+
* ready-mode `'startEdit'` insert commands). */
|
|
8
|
+
export interface SheetCommandContributorData extends SheetCommandData {
|
|
9
|
+
editable?: SheetEditable | null;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The `sheet` feature's command contributor: `static` seeds the catalog presentation; `dynamic` attaches the
|
|
13
|
+
* behavior — cell/format (transactional middleware over the per-workbook undo manager) + the ready-mode
|
|
14
|
+
* `'startEdit'` insert commands. Stateless — the model + services ride in `data`.
|
|
15
|
+
*/
|
|
16
|
+
export declare const SheetCommandContributor: Command.CommandContributor<SheetCommandContributorData>;
|
|
17
|
+
interface SheetCommandProviderProps {
|
|
18
|
+
/** The active sheet the cell/format commands operate on. */
|
|
19
|
+
sheet: ISheet | null;
|
|
20
|
+
/** The shared cell editable — the **ready-mode** insert commands (`insertCurrent*`/`insertFunction*`) seed
|
|
21
|
+
* an edit through it. `undefined` on a bare grid ⇒ those commands stay chrome-only (disabled). */
|
|
22
|
+
editable?: SheetEditable | null;
|
|
23
|
+
/** Hand the created `sheet` scope back to the parent (see {@link CommandScopeProvider.scopeRef}) — so
|
|
24
|
+
* `SheetElement` can hold it for the direct-execute zoom gesture without a provide/consume wrapper split. */
|
|
25
|
+
scopeRef?: {
|
|
26
|
+
current: Command.CommandScope | null;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The sheet's own root element — the scope's **region** for origin containment (see
|
|
30
|
+
* {@link CommandScope.attachBounds}). Every command this scope authors acts on the grid selection,
|
|
31
|
+
* so a keystroke born OUTSIDE this element (a task pane, a dialog field, the toolbar) must not
|
|
32
|
+
* dispatch one: unbounded, `Delete` in a comment box ran `clearContents`. Bounds only — focus inside
|
|
33
|
+
* the grid still anchors at the pane's z-stack, which is a deeper region.
|
|
34
|
+
*
|
|
35
|
+
* Omitting it leaves the scope unrestricted (the element-less default), which is what a bare
|
|
36
|
+
* chromeless grid — the whole app, one region — wants.
|
|
37
|
+
*/
|
|
38
|
+
elementRef?: {
|
|
39
|
+
readonly current: Element | null;
|
|
40
|
+
};
|
|
41
|
+
children: ReactNode;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* **Per-sheet command provider** — owned by `WorkbookElement` (mounted inside it, wrapping the grid). It
|
|
45
|
+
* declares a `sheet` scope as a child of the ambient `workbook` scope (owned by `WorkbookElement`)
|
|
46
|
+
* via {@link CommandScopeProvider}'s declarative form, so the anchor chain is `pane → sheet → workbook → app`.
|
|
47
|
+
* The pane's command **layers** (selection / clipboard / editor / movable) register as `sheet`-descendant
|
|
48
|
+
* leaves below it. Behavior is the {@link SheetCommandContributor}; the static chrome is seeded into the
|
|
49
|
+
* shared registry here.
|
|
50
|
+
*
|
|
51
|
+
* @remarks
|
|
52
|
+
* Only the grid consumes the `sheet` scope, so it lives here (inside the workbook) rather than at studio
|
|
53
|
+
* level. Without an ambient command scope (a bare chromeless grid), this is a pass-through.
|
|
54
|
+
*/
|
|
55
|
+
export declare const SheetCommandProvider: ({ sheet, editable, scopeRef, elementRef, children }: SheetCommandProviderProps) => ReactNode;
|
|
56
|
+
export {};
|
|
57
|
+
//# sourceMappingURL=SheetCommandProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SheetCommandProvider.d.ts","sourceRoot":"","sources":["../../../../src/sheet/SheetCommandProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIxD,OAAO,EAAwB,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAEjE,OAAO,EACL,OAAO,EAER,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAA4B,KAAK,aAAa,EAAE,MAAM,WAAW,CAAC;AAKzE,OAAO,EAA2B,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAQjF;iDACiD;AACjD,MAAM,WAAW,2BAA4B,SAAQ,gBAAgB;IACnE,QAAQ,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;CACjC;AAED;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,EAAE,OAAO,CAAC,kBAAkB,CAAC,2BAA2B,CAa3F,CAAC;AAEF,UAAU,yBAAyB;IACjC,4DAA4D;IAC5D,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;uGACmG;IACnG,QAAQ,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAChC;kHAC8G;IAC9G,QAAQ,CAAC,EAAE;QAAE,OAAO,EAAE,OAAO,CAAC,YAAY,GAAG,IAAI,CAAA;KAAE,CAAC;IACpD;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE;QAAE,QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAA;KAAE,CAAC;IAClD,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB,GAAI,qDAAqD,yBAAyB,KAAG,SASrH,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { EditModeHandler, ReferenceableClipboard, RemoveListener, UndoManager } from '@sheetxl/utils';
|
|
2
|
+
import { IBorder, ISheet, IColor } from '@sheetxl/sdk';
|
|
3
|
+
import { Command, IReactNotifier } from '@sheetxl/utils-react';
|
|
4
|
+
import { ActivateFrameOptions, ITaskPaneArea } from '../taskPane';
|
|
5
|
+
/** Minimal shape of the global clipboard handle the insert-copied-cells path reads. */
|
|
6
|
+
interface GlobalClipboardLike {
|
|
7
|
+
getClipboard(): ReferenceableClipboard;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Options for {@link contributeSheetCommands}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ContributeSheetCommandsOptions {
|
|
13
|
+
/** Busy + error UI for the transactional middleware. */
|
|
14
|
+
notifier?: IReactNotifier;
|
|
15
|
+
/** Undo manager the sheet records into — enables F4 / redo-as-repeat (see the transactional middleware). */
|
|
16
|
+
manager?: UndoManager;
|
|
17
|
+
/**
|
|
18
|
+
* Activate a **task pane** by key (e.g. `dataValidationDetails`). Threaded from the bridge's
|
|
19
|
+
* `useTaskPaneArea()` — sheet commands that open a side pane (data validation, table details) can't
|
|
20
|
+
* reach the task-pane area themselves (it lives deeper in the tree). No-op if omitted.
|
|
21
|
+
*/
|
|
22
|
+
activateTaskPane?: (key: string, options?: ActivateFrameOptions) => void;
|
|
23
|
+
/**
|
|
24
|
+
* The **read** side of the same task-pane area `activateTaskPane` writes to — which pane is showing,
|
|
25
|
+
* plus the subscription that says when that changed. A command whose `state` is "my pane is the one
|
|
26
|
+
* on screen" (`editTable`) needs both; opening one only needs the writer above. Threaded from the
|
|
27
|
+
* bridge's `useTaskPaneArea()`; omitted ⇒ those commands carry no state.
|
|
28
|
+
*/
|
|
29
|
+
taskPaneArea?: ITaskPaneArea;
|
|
30
|
+
/** Edit-mode handler — insert-cells reads the copy/cut mode; image clears it. From `useEditMode()`. */
|
|
31
|
+
editModeHandler?: EditModeHandler;
|
|
32
|
+
/** Global clipboard — insert-cells reads a copied range reference to "insert copied cells". */
|
|
33
|
+
globalClipboard?: GlobalClipboardLike;
|
|
34
|
+
/** Persistent last-used values for the style pickers (color quick swatch + border) + memory. From the bridge's `usePersistenceState`. */
|
|
35
|
+
pickerMemory?: PickerMemory;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The single `data` bundle {@link contributeSheetCommands} takes — the sheet **and** its services
|
|
39
|
+
* together (the `DynamicCommandContributor` shape). `sheet` may be `null` on a bare grid (⇒ no behavior).
|
|
40
|
+
*/
|
|
41
|
+
export interface SheetCommandData extends ContributeSheetCommandsOptions {
|
|
42
|
+
sheet: ISheet | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Persistent "last used" values for the style pickers — the quick swatch (`quickColor`/`quickBorder`) and the
|
|
46
|
+
* `onColorSelect`/`onBorderSelect` memory. Owned by the bridge (`usePersistenceState`) and passed as **live
|
|
47
|
+
* getters** so the lazy `context` closures read the current value without re-contributing. Only fill/font
|
|
48
|
+
* color + border persist; the tab/gridline color pickers don't (their `onColorSelect` is a no-op).
|
|
49
|
+
*/
|
|
50
|
+
export interface PickerMemory {
|
|
51
|
+
getLastFillColor?: () => IColor | null;
|
|
52
|
+
setLastFillColor?: (color: IColor | null) => void;
|
|
53
|
+
getLastFontColor?: () => IColor | null;
|
|
54
|
+
setLastFontColor?: (color: IColor | null) => void;
|
|
55
|
+
getLastBorder?: () => Partial<IBorder.Properties> | null;
|
|
56
|
+
setLastBorder?: (border: Partial<IBorder.Properties> | null) => void;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The per-sheet command **behavior** (paired with {@link registerSheetDefinitions}). A plain
|
|
60
|
+
* contributor over the {@link Command.CommandContribution authoring facet}:
|
|
61
|
+
* 1. installs the **shared transactional middleware** (batch + busy + error + repeatable) via `use()`,
|
|
62
|
+
* so the command callbacks stay pure;
|
|
63
|
+
* 2. runs the **disable reducer** — recomputed on every model tick (the container debounce coalesces
|
|
64
|
+
* re-resolution, so the reducer's cheap `updateCommand`s can run per-tick).
|
|
65
|
+
*
|
|
66
|
+
* @remarks
|
|
67
|
+
* The reducer combines the **protection** reasons (the `mutator` tag → "sheet protected", plus the
|
|
68
|
+
* rotation commands' extra `isContinuousSpan` gate) with the **selection-shape** rules (sort needs
|
|
69
|
+
* a single range; insert/delete by whole-row/column + overlap; merge/header). Both must be computed
|
|
70
|
+
* *together* per command — within-scope `updateCommand` overrides, so reasons are combined in one
|
|
71
|
+
* call, not stacked. Returns a disposer that detaches the model + selection listeners.
|
|
72
|
+
*/
|
|
73
|
+
export declare function contributeSheetCommands(contribution: Command.CommandContribution, data: SheetCommandData): RemoveListener;
|
|
74
|
+
export {};
|
|
75
|
+
//# sourceMappingURL=SheetCommands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SheetCommands.d.ts","sourceRoot":"","sources":["../../../../src/sheet/SheetCommands.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EAAE,KAAK,sBAAsB,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EACzF,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACE,OAAO,EAEd,KAAK,MAAM,EAAe,KAAK,MAAM,EAGtC,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,KAAK,OAAO,EAAyC,KAAK,cAAc,EACzE,MAAM,sBAAsB,CAAC;AAO9B,OAAO,KAAK,EAAE,oBAAoB,EAAiB,aAAa,EAAE,MAAM,aAAa,CAAC;AAMtF,uFAAuF;AACvF,UAAU,mBAAmB;IAAG,YAAY,IAAI,sBAAsB,CAAC;CAAE;AAsBzE;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,wDAAwD;IACxD,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,4GAA4G;IAC5G,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACzE;;;;;OAKG;IACH,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,uGAAuG;IACvG,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,+FAA+F;IAC/F,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,yIAAyI;IACzI,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,8BAA8B;IACtE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAuHD;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC3B,gBAAgB,CAAC,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IACvC,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAClD,gBAAgB,CAAC,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IACvC,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAClD,aAAa,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;IACzD,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;CACtE;AA60BD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,uBAAuB,CACrC,YAAY,EAAE,OAAO,CAAC,mBAAmB,EACzC,IAAI,EAAE,gBAAgB,GACrB,cAAc,CAyXhB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ISheetElement, SheetElementProps } from './ISheetElement';
|
|
3
|
+
/**
|
|
4
|
+
* @see ISheet
|
|
5
|
+
*
|
|
6
|
+
* UI representation for ISheet.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* The grid-facing body of {@link SheetElement} — **consumes** the ambient `sheet` command scope (provided by
|
|
11
|
+
* the outer {@link SheetElement} wrapper) to build the grid resolver + per-pane layer scopes. Split from the
|
|
12
|
+
* public component because a component can't consume in its body the scope it provides in its own JSX.
|
|
13
|
+
*/
|
|
14
|
+
export declare const SheetElement: React.NamedExoticComponent<Omit<SheetElementProps, "ref"> & React.RefAttributes<ISheetElement>>;
|
|
15
|
+
//# sourceMappingURL=SheetElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SheetElement.d.ts","sourceRoot":"","sources":["../../../../src/sheet/SheetElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA2D/B,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,iBAAiB,EAA8C,MAAM,iBAAiB,CAAC;AAoBzH;;;;;GAKG;AACH;;;;GAIG;AACH,eAAO,MAAM,YAAY,iGAo0CtB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ISheetHeaderElement, SheetHeaderProps } from './ISheetHeaderElement';
|
|
3
|
+
export declare const SheetHeaderElement: React.NamedExoticComponent<Omit<SheetHeaderProps, "ref"> & React.RefAttributes<ISheetHeaderElement>>;
|
|
4
|
+
//# sourceMappingURL=SheetHeaderElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SheetHeaderElement.d.ts","sourceRoot":"","sources":["../../../../src/sheet/SheetHeaderElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA4B/B,OAAO,EACL,KAAK,mBAAmB,EAAE,KAAK,gBAAgB,EAChD,MAAM,uBAAuB,CAAC;AAI/B,eAAO,MAAM,kBAAkB,sGAsY5B,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ISheet } from '@sheetxl/sdk';
|
|
3
|
+
import { ScrollbarOrientation, VirtualScrollbarProps, IScrollbarElement, IShowToolTipProperties } from '@sheetxl/utils-react';
|
|
4
|
+
export interface SheetScrollbarProps extends VirtualScrollbarProps {
|
|
5
|
+
/**
|
|
6
|
+
* The `ISheet` for the given scrollbar.
|
|
7
|
+
*/
|
|
8
|
+
sheet: ISheet;
|
|
9
|
+
/**
|
|
10
|
+
* The direction of the scrollbar.
|
|
11
|
+
*/
|
|
12
|
+
orientation: ScrollbarOrientation;
|
|
13
|
+
/**
|
|
14
|
+
* @defaultValue false
|
|
15
|
+
*/
|
|
16
|
+
showCustomScrollButtons?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* To show the tooltip
|
|
19
|
+
* @param properties
|
|
20
|
+
*/
|
|
21
|
+
onShowTooltip?: (properties: IShowToolTipProperties) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Called to close the tooltip. Required is onShowTip is provided
|
|
24
|
+
*/
|
|
25
|
+
onCloseTooltip?: () => void;
|
|
26
|
+
}
|
|
27
|
+
export declare const SheetScrollbar: React.NamedExoticComponent<Omit<SheetScrollbarProps, "ref"> & React.RefAttributes<IScrollbarElement>>;
|
|
28
|
+
//# sourceMappingURL=SheetScrollbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SheetScrollbar.d.ts","sourceRoot":"","sources":["../../../../src/sheet/SheetScrollbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAC0C,KAAK,MAAM,EAC3D,MAAM,cAAc,CAAC;AAEtB,OAAO,EACyB,oBAAoB,EAClD,KAAK,qBAAqB,EAAE,KAAK,iBAAiB,EAAE,KAAK,sBAAsB,EAEhF,MAAM,sBAAsB,CAAC;AAO9B,MAAM,WAAW,mBAAoB,SAAQ,qBAAqB;IAChE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,EAAE,oBAAoB,CAAC;IAClC;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;OAGG;IACH,aAAa,CAAC,EAAE,CAAC,UAAU,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAC7D;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,eAAO,MAAM,cAAc,uGAsNxB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ISheet } from '@sheetxl/sdk';
|
|
3
|
+
import { ThemeMode } from '@sheetxl/utils-react';
|
|
4
|
+
export interface TopLeftCornerProps extends React.HTMLProps<HTMLElement> {
|
|
5
|
+
sheet: ISheet;
|
|
6
|
+
/** The app (header) color scheme — headers follow the app surface; colors come from the header-surface
|
|
7
|
+
* tokens. */
|
|
8
|
+
colorScheme?: ThemeMode;
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
onMouseDown?: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* UI representation for Top Left Corner of the sheet
|
|
15
|
+
*/
|
|
16
|
+
export declare const TopLeftCorner: React.NamedExoticComponent<Omit<TopLeftCornerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
//# sourceMappingURL=TopLeftCorner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TopLeftCorner.d.ts","sourceRoot":"","sources":["../../../../src/sheet/TopLeftCorner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,KAAK,MAAM,EAAwB,MAAM,cAAc,CAAC;AAEjE,OAAO,EAA8C,KAAK,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIlG,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC;IACtE,KAAK,EAAE,MAAM,CAAC;IACd;iBACa;IACb,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;CACtE;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,mGAqHvB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type * from './ISheetElement';
|
|
2
|
+
export * from './SheetElement';
|
|
3
|
+
export * from './SheetScrollbar';
|
|
4
|
+
export * from './SheetCommands';
|
|
5
|
+
export * from './ConditionalFormatPresets';
|
|
6
|
+
export * from './SheetCommandProvider';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sheet/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,iBAAiB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AAEjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { MovableElementProps } from '../movable';
|
|
3
|
+
export interface SlicerEditorAttributes {
|
|
4
|
+
isSlicerEditor: () => true;
|
|
5
|
+
}
|
|
6
|
+
export interface ISlicerEditorElement extends HTMLDivElement, SlicerEditorAttributes {
|
|
7
|
+
}
|
|
8
|
+
export interface SlicerEditorProps extends MovableElementProps {
|
|
9
|
+
slicer: any;
|
|
10
|
+
ref?: React.Ref<ISlicerEditorElement>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Placeholder for chart editors.
|
|
14
|
+
*/
|
|
15
|
+
export declare const SlicerEditor: React.NamedExoticComponent<Omit<SlicerEditorProps, "ref"> & React.RefAttributes<ISlicerEditorElement>>;
|
|
16
|
+
//# sourceMappingURL=SlicerEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlicerEditor.d.ts","sourceRoot":"","sources":["../../../../src/slicer/SlicerEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,MAAM,WAAW,sBAAsB;IACrC,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,MAAM,WAAW,oBAAqB,SAAQ,cAAc,EAAE,sBAAsB;CAAG;AACvF,MAAM,WAAW,iBAAkB,SAAQ,mBAAmB;IAC5D,MAAM,EAAE,GAAG,CAAC;IACZ,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;CACvC;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,wGAuEtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/slicer/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ISheet } from '@sheetxl/sdk';
|
|
2
|
+
import { TabProps } from './Tab';
|
|
3
|
+
/**
|
|
4
|
+
* Props passed to the {@link SheetTabProps.slotSurface} element (the tab's
|
|
5
|
+
* clickable surface).
|
|
6
|
+
*/
|
|
7
|
+
export interface SheetTabSurfaceProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
|
+
/** The tab is disabled. */
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/** The tab's label is being edited inline. */
|
|
11
|
+
editing?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface SheetTabProps extends TabProps {
|
|
14
|
+
/**
|
|
15
|
+
* The sheet.
|
|
16
|
+
*/
|
|
17
|
+
sheet: ISheet;
|
|
18
|
+
/**
|
|
19
|
+
* The rounded tab radius.
|
|
20
|
+
* @defaultValue 4
|
|
21
|
+
*/
|
|
22
|
+
tabRadius?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Allow for custom rendering of the tab's clickable surface. Defaults to a plain `div`.
|
|
25
|
+
*/
|
|
26
|
+
slotSurface?: React.ComponentType<SheetTabSurfaceProps>;
|
|
27
|
+
/**
|
|
28
|
+
* When `true` (default) the selected tab uses the inverted, open-top tab shape so it reads
|
|
29
|
+
* as part of the grid directly above it. When `false` it uses a plain rounded tab — for
|
|
30
|
+
* layouts where the strip is detached from the grid (e.g. stacked under the scrollbar on a
|
|
31
|
+
* small screen).
|
|
32
|
+
* @defaultValue true
|
|
33
|
+
*/
|
|
34
|
+
inverted?: boolean;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A tab representing a sheet in a workbook — the rounded, Excel-style sheet tab
|
|
38
|
+
* (tab color, selected indicator and protection lock).
|
|
39
|
+
*/
|
|
40
|
+
export declare const SheetTab: import('react').NamedExoticComponent<SheetTabProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
41
|
+
//# sourceMappingURL=SheetTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SheetTab.d.ts","sourceRoot":"","sources":["../../../../src/tabStrip/SheetTab.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,MAAM,EAAe,MAAM,cAAc,CAAC;AAQxD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAItC;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChF,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,aAAc,SAAQ,QAAQ;IAC7C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC;IACxD;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAmBD;;;GAGG;AACH,eAAO,MAAM,QAAQ,qGAyOlB,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CollisionDetection, DragStartEvent, DropAnimation, KeyboardCoordinateGetter, Modifiers, MeasuringConfiguration, PointerActivationConstraint, UniqueIdentifier } from '@dnd-kit/core';
|
|
3
|
+
import { arrayMove, SortingStrategy, AnimateLayoutChanges, NewIndexGetter } from '@dnd-kit/sortable';
|
|
4
|
+
export interface SortableProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
activationConstraint?: PointerActivationConstraint;
|
|
7
|
+
animateLayoutChanges?: AnimateLayoutChanges;
|
|
8
|
+
adjustScale?: boolean;
|
|
9
|
+
collisionDetection?: CollisionDetection;
|
|
10
|
+
coordinateGetter?: KeyboardCoordinateGetter;
|
|
11
|
+
dropAnimation?: DropAnimation | null;
|
|
12
|
+
getNewIndex?: NewIndexGetter;
|
|
13
|
+
handle?: boolean;
|
|
14
|
+
items: string[];
|
|
15
|
+
onMove?: (indexFrom: number, indexTo: number) => void;
|
|
16
|
+
measuring?: MeasuringConfiguration;
|
|
17
|
+
modifiers?: Modifiers;
|
|
18
|
+
renderItem?: any;
|
|
19
|
+
removable?: boolean;
|
|
20
|
+
renderDivider?: (props: React.HTMLAttributes<HTMLElement> & {
|
|
21
|
+
key: string;
|
|
22
|
+
}) => React.ReactElement;
|
|
23
|
+
reorderItems?: typeof arrayMove;
|
|
24
|
+
strategy?: SortingStrategy;
|
|
25
|
+
style?: React.CSSProperties;
|
|
26
|
+
useDragOverlay?: boolean;
|
|
27
|
+
onDragStart?(event: DragStartEvent): void;
|
|
28
|
+
getItemStyles?(args: {
|
|
29
|
+
id: UniqueIdentifier;
|
|
30
|
+
index: number;
|
|
31
|
+
isSorting: boolean;
|
|
32
|
+
isDragOverlay: boolean;
|
|
33
|
+
overIndex: number;
|
|
34
|
+
isDragging: boolean;
|
|
35
|
+
}): React.CSSProperties;
|
|
36
|
+
wrapperStyle?(args: {
|
|
37
|
+
index: number;
|
|
38
|
+
isDragging: boolean;
|
|
39
|
+
id: string;
|
|
40
|
+
}): React.CSSProperties;
|
|
41
|
+
isDisabled?(id: UniqueIdentifier): boolean;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* NOTE - This currently only supports horizontal layout.
|
|
45
|
+
*/
|
|
46
|
+
export declare const Sortable: React.NamedExoticComponent<SortableProps & React.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
interface SortableItemProps {
|
|
48
|
+
animateLayoutChanges?: AnimateLayoutChanges;
|
|
49
|
+
disabled?: boolean;
|
|
50
|
+
getNewIndex?: NewIndexGetter;
|
|
51
|
+
id: string;
|
|
52
|
+
index: number;
|
|
53
|
+
handle: boolean;
|
|
54
|
+
useDragOverlay?: boolean;
|
|
55
|
+
onRemove?(id: string): void;
|
|
56
|
+
style(values: any): React.CSSProperties;
|
|
57
|
+
renderItem?(args: any): React.ReactElement;
|
|
58
|
+
wrapperStyle({ index, isDragging, id, }: {
|
|
59
|
+
index: number;
|
|
60
|
+
isDragging: boolean;
|
|
61
|
+
id: string;
|
|
62
|
+
}): React.CSSProperties;
|
|
63
|
+
}
|
|
64
|
+
export declare function SortableItem({ disabled, animateLayoutChanges, getNewIndex, handle, id, index, onRemove, style, renderItem, useDragOverlay, wrapperStyle, }: SortableItemProps): React.JSX.Element;
|
|
65
|
+
export {};
|
|
66
|
+
//# sourceMappingURL=Sortable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sortable.d.ts","sourceRoot":"","sources":["../../../../src/tabStrip/Sortable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EACU,KAAK,kBAAkB,EAAe,KAAK,cAAc,EAC5D,KAAK,aAAa,EAC9B,KAAK,wBAAwB,EAAE,KAAK,SAAS,EAC7C,KAAK,sBAAsB,EAAE,KAAK,2BAA2B,EAChD,KAAK,gBAAgB,EAEnC,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,SAAS,EACT,KAAK,eAAe,EAAuB,KAAK,oBAAoB,EAAE,KAAK,cAAc,EAC1F,MAAM,mBAAmB,CAAC;AAW3B,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB,CAAC,EAAE,2BAA2B,CAAC;IACnD,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,gBAAgB,CAAC,EAAE,wBAAwB,CAAC;IAC5C,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACtD,SAAS,CAAC,EAAE,sBAAsB,CAAC;IACnC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,KAAK,KAAK,CAAC,YAAY,CAAC;IACnG,YAAY,CAAC,EAAE,OAAO,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;IAC1C,aAAa,CAAC,CAAC,IAAI,EAAE;QACnB,EAAE,EAAE,gBAAgB,CAAC;QACrB,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,OAAO,CAAC;QACnB,aAAa,EAAE,OAAO,CAAC;QACvB,SAAS,EAAE,MAAM,CAAC;QAClB,UAAU,EAAE,OAAO,CAAC;KACrB,GAAG,KAAK,CAAC,aAAa,CAAC;IACxB,YAAY,CAAC,CAAC,IAAI,EAAE;QAClB,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,OAAO,CAAC;QACpB,EAAE,EAAE,MAAM,CAAC;KACZ,GAAG,KAAK,CAAC,aAAa,CAAC;IACxB,UAAU,CAAC,CAAC,EAAE,EAAE,gBAAgB,GAAG,OAAO,CAAC;CAC5C;AAqBD;;GAEG;AACH,eAAO,MAAM,QAAQ,iFAmTlB,CAAC;AAEJ,UAAU,iBAAiB;IACzB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,CAAC,MAAM,EAAE,GAAG,GAAG,KAAK,CAAC,aAAa,CAAC;IACxC,UAAU,CAAC,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAAC,YAAY,CAAC;IAC3C,YAAY,CAAC,EACX,KAAK,EACL,UAAU,EACV,EAAE,GACH,EAAE;QACD,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,OAAO,CAAC;QACpB,EAAE,EAAE,MAAM,CAAC;KACZ,GAAG,KAAK,CAAC,aAAa,CAAC;CACzB;AAED,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,oBAAoB,EACpB,WAAW,EACX,MAAM,EACN,EAAE,EACF,KAAK,EACL,QAAQ,EACR,KAAK,EACL,UAAU,EACV,cAAc,EACd,YAAY,GACb,EAAE,iBAAiB,qBA6CnB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface TabProps extends Omit<React.HTMLAttributes<HTMLElement>, "onSubmit" | "onChange"> {
|
|
3
|
+
value: any;
|
|
4
|
+
index: number;
|
|
5
|
+
editing: boolean;
|
|
6
|
+
editable: boolean;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
selectedIndex: number;
|
|
9
|
+
/** CSS color for the tab background. */
|
|
10
|
+
background: string;
|
|
11
|
+
/** CSS color for the selected-tab accent. */
|
|
12
|
+
activeColor?: string;
|
|
13
|
+
/** CSS color for the tab border/notch. */
|
|
14
|
+
borderColor?: string;
|
|
15
|
+
borderWidth?: number;
|
|
16
|
+
dragging: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const Tab: React.NamedExoticComponent<TabProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
//# sourceMappingURL=Tab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../../src/tabStrip/Tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,QAAS,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IAChG,KAAK,EAAE,GAAG,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,wCAAwC;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,GAAG,4EAwEb,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ScrollButtonProps } from '@sheetxl/utils-react';
|
|
3
|
+
import { EditableLabelProps } from '../editableLabel';
|
|
4
|
+
import { TabProps } from './Tab';
|
|
5
|
+
export interface TabStripRef extends HTMLDivElement {
|
|
6
|
+
startEdit(index: number): void;
|
|
7
|
+
cancel(index: number): void;
|
|
8
|
+
}
|
|
9
|
+
export interface TabStripProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSubmit" | "onChange"> {
|
|
10
|
+
selectedTabIndex: number;
|
|
11
|
+
tabNames: string[];
|
|
12
|
+
onSelectedTabIndexChange?: (index: number) => void;
|
|
13
|
+
onTabNameChange?: (index: number, tabName: string) => void;
|
|
14
|
+
onTabMove?: (indexFrom: number, indexTo: number) => void;
|
|
15
|
+
renderScrollButtonStart?: ((props: ScrollButtonProps) => React.ReactElement) | null;
|
|
16
|
+
renderScrollButtonEnd?: ((props: ScrollButtonProps) => React.ReactElement) | null;
|
|
17
|
+
renderScrollButtonEdge?: ((props: ScrollButtonProps) => React.ReactElement) | null;
|
|
18
|
+
renderTabButton?: (props: TabProps) => React.ReactElement<any>;
|
|
19
|
+
renderTabDivider?: (props: React.HTMLAttributes<HTMLElement> & React.Attributes) => React.ReactElement;
|
|
20
|
+
propsEditLabel?: EditableLabelProps;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
disableDrag?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Default background color of tabs
|
|
25
|
+
*/
|
|
26
|
+
background?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Currently '2022' css does not allow for scrollPanes to be hidden in one axis and overflow in another.
|
|
29
|
+
* To support tab scrolling and create a visual notch for the selected tab
|
|
30
|
+
* We create a border/divider for all elements except the selected.
|
|
31
|
+
*/
|
|
32
|
+
borderWidth?: number;
|
|
33
|
+
borderColor?: string;
|
|
34
|
+
/** CSS color for the selected-tab accent. */
|
|
35
|
+
activeColor?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* TabStrip component for displaying and managing tabs.
|
|
39
|
+
*/
|
|
40
|
+
export declare const TabStrip: React.NamedExoticComponent<TabStripProps & React.RefAttributes<TabStripRef>>;
|
|
41
|
+
//# sourceMappingURL=TabStrip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabStrip.d.ts","sourceRoot":"","sources":["../../../../src/tabStrip/TabStrip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoB/B,OAAO,EAE4D,KAAK,iBAAiB,EACxF,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE1E,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAM3C,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAMD,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IACxG,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,EAAE,CAAC;IAEnB,wBAAwB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3D,SAAS,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAGzD,uBAAuB,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,iBAAiB,KAAK,KAAK,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;IACpF,qBAAqB,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,iBAAiB,KAAK,KAAK,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;IAClF,sBAAsB,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,iBAAiB,KAAK,KAAK,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;IAEnF,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;IAE/D,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,UAAU,KAAK,KAAK,CAAC,YAAY,CAAC;IAEvG,cAAc,CAAC,EAAG,kBAAkB,CAAC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;MAEE;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,8EAsYlB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { DraggableSyntheticListeners } from '@dnd-kit/core';
|
|
3
|
+
import { Transform } from '@dnd-kit/utilities';
|
|
4
|
+
export interface TabStripItemProps {
|
|
5
|
+
dragOverlay?: boolean;
|
|
6
|
+
color?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
dragging?: boolean;
|
|
9
|
+
handle?: boolean;
|
|
10
|
+
height?: number;
|
|
11
|
+
index?: number;
|
|
12
|
+
fadeIn?: boolean;
|
|
13
|
+
transform?: Transform | null;
|
|
14
|
+
listeners?: DraggableSyntheticListeners;
|
|
15
|
+
sorting?: boolean;
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
transition?: string | null;
|
|
18
|
+
wrapperStyle?: React.CSSProperties;
|
|
19
|
+
value: React.ReactNode;
|
|
20
|
+
onRemove?(): void;
|
|
21
|
+
renderItem?(args: {
|
|
22
|
+
dragOverlay: boolean;
|
|
23
|
+
dragging: boolean;
|
|
24
|
+
sorting: boolean;
|
|
25
|
+
index: number | undefined;
|
|
26
|
+
fadeIn: boolean;
|
|
27
|
+
listeners: DraggableSyntheticListeners;
|
|
28
|
+
ref: React.Ref<HTMLElement>;
|
|
29
|
+
style: React.CSSProperties | undefined;
|
|
30
|
+
transform: TabStripItemProps['transform'];
|
|
31
|
+
transition: TabStripItemProps['transition'];
|
|
32
|
+
value: TabStripItemProps['value'];
|
|
33
|
+
}): React.ReactElement;
|
|
34
|
+
}
|
|
35
|
+
export declare const TabStripItem: React.NamedExoticComponent<TabStripItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
36
|
+
//# sourceMappingURL=TabStripItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabStripItem.d.ts","sourceRoot":"","sources":["../../../../src/tabStrip/TabStripItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAIpD,MAAM,WAAW,iBAAiB;IAChC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC7B,SAAS,CAAC,EAAE,2BAA2B,CAAC;IACxC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,IAAI,IAAI,CAAC;IAClB,UAAU,CAAC,CAAC,IAAI,EAAE;QAChB,WAAW,EAAE,OAAO,CAAC;QACrB,QAAQ,EAAE,OAAO,CAAC;QAClB,OAAO,EAAE,OAAO,CAAC;QACjB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;QAC1B,MAAM,EAAE,OAAO,CAAC;QAChB,SAAS,EAAE,2BAA2B,CAAC;QACvC,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QAC5B,KAAK,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;QACvC,SAAS,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC;QAC1C,UAAU,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAC;QAC5C,KAAK,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;KACnC,GAAG,KAAK,CAAC,YAAY,CAAC;CACxB;AAED,eAAO,MAAM,YAAY,qFAyGxB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface TabStripRowProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
columns?: number;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
horizontal?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const TabStripRow: React.NamedExoticComponent<TabStripRowProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
//# sourceMappingURL=TabStripRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabStripRow.d.ts","sourceRoot":"","sources":["../../../../src/tabStrip/TabStripRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAGD,eAAO,MAAM,WAAW,oFAgBtB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './TabStrip';
|
|
2
|
+
export type { TabStripProps } from './TabStrip';
|
|
3
|
+
export { Tab } from './Tab';
|
|
4
|
+
export type { TabProps } from './Tab';
|
|
5
|
+
export { SheetTab } from './SheetTab';
|
|
6
|
+
export type { SheetTabProps, SheetTabSurfaceProps } from './SheetTab';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tabStrip/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,YAAY,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RemoveListener, UndoManager } from '@sheetxl/utils';
|
|
2
|
+
import { ISheet } from '@sheetxl/sdk';
|
|
3
|
+
import { Command, IReactNotifier } from '@sheetxl/utils-react';
|
|
4
|
+
/** Options for {@link contributeTableCommands}. */
|
|
5
|
+
export interface ContributeTableCommandsOptions {
|
|
6
|
+
/** Busy + error UI for the transactional middleware. */
|
|
7
|
+
notifier?: IReactNotifier;
|
|
8
|
+
/** Undo manager the sheet records into — enables F4 / redo-as-repeat (see the transactional middleware). */
|
|
9
|
+
manager?: UndoManager;
|
|
10
|
+
}
|
|
11
|
+
/** The single `data` bundle {@link contributeTableCommands} takes (the `DynamicCommandContributor` shape). */
|
|
12
|
+
export interface TableCommandData extends ContributeTableCommandsOptions {
|
|
13
|
+
sheet: ISheet | null;
|
|
14
|
+
}
|
|
15
|
+
export declare function contributeTableCommands(contribution: Command.CommandContribution, data: TableCommandData): RemoveListener;
|
|
16
|
+
//# sourceMappingURL=TableCommands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableCommands.d.ts","sourceRoot":"","sources":["../../../../src/table/TableCommands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEtF,OAAO,EAAU,KAAK,MAAM,EAAe,MAAM,cAAc,CAAC;AAEhE,OAAO,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AA8GpE,mDAAmD;AACnD,MAAM,WAAW,8BAA8B;IAC7C,wDAAwD;IACxD,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,4GAA4G;IAC5G,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,8GAA8G;AAC9G,MAAM,WAAW,gBAAiB,SAAQ,8BAA8B;IACtE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,wBAAgB,uBAAuB,CACrC,YAAY,EAAE,OAAO,CAAC,mBAAmB,EAAE,IAAI,EAAE,gBAAgB,GAChE,cAAc,CAuThB"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { IFrame } from '../frame';
|
|
2
|
+
/**
|
|
3
|
+
* Props passed to a registered task pane component.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
6
|
+
* Task panes are real React components (rendered as `<Component {...props}/>`), so they may use
|
|
7
|
+
* hooks freely. The host's `ref` arrives as a regular prop (React 19 style); forward it to the
|
|
8
|
+
* pane's root element. Extends HTML attributes because hosts may inject presentation props
|
|
9
|
+
* (`propsPane`) that the pane is expected to spread onto its root.
|
|
10
|
+
*
|
|
11
|
+
* @typeParam T - The model (the workbook, for the built-in panes).
|
|
12
|
+
* @typeParam A - The activation argument, if the pane accepts one — see {@link args}.
|
|
13
|
+
*/
|
|
14
|
+
export interface TaskPaneProps<T = any, A = any> extends React.HTMLAttributes<HTMLElement> {
|
|
15
|
+
/**
|
|
16
|
+
* The key used to register the taskPane.
|
|
17
|
+
*/
|
|
18
|
+
entryKey: string;
|
|
19
|
+
model?: T;
|
|
20
|
+
/**
|
|
21
|
+
* What the activating call asked this pane to show — `ActivateFrameOptions.args`, delivered
|
|
22
|
+
* verbatim.
|
|
23
|
+
*
|
|
24
|
+
* @remarks
|
|
25
|
+
* The pane defines the shape; the area only carries it. It is scoped to one activation rather
|
|
26
|
+
* than to the pane's lifetime: activating again without it clears it, and re-delivering the same
|
|
27
|
+
* payload means passing it again. So a pane treats an arriving value as an EVENT — react to it
|
|
28
|
+
* changing, not to its presence, or a re-render replays it.
|
|
29
|
+
*
|
|
30
|
+
* `undefined` is the ordinary case: opened from the ribbon, a pane is asked for nothing in
|
|
31
|
+
* particular.
|
|
32
|
+
*/
|
|
33
|
+
args?: A;
|
|
34
|
+
frame?: IFrame;
|
|
35
|
+
/**
|
|
36
|
+
* Ref to the task pane's root element (React 19 ref-as-prop).
|
|
37
|
+
*/
|
|
38
|
+
ref?: React.Ref<any>;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* The activation argument the built-in list panes (conditional formats, data validations,
|
|
42
|
+
* protected ranges) understand.
|
|
43
|
+
*
|
|
44
|
+
* @remarks
|
|
45
|
+
* Threaded from a command through `activateTaskPane(key, { args })` — see
|
|
46
|
+
* `ItemsDescriptor.createSeededDraft` in `@sheetxl/studio-mui` for the receiving end.
|
|
47
|
+
*/
|
|
48
|
+
export interface ItemsPaneArgs<P = any> {
|
|
49
|
+
/**
|
|
50
|
+
* Open the pane editing a NEW, uncommitted item seeded with these properties, rather than on its
|
|
51
|
+
* list.
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* The pane mints the draft itself (anchored to the current selection, like its own add button):
|
|
55
|
+
* this is the feature's properties shape, not a model object, so it survives being handed across
|
|
56
|
+
* a workbook the caller does not hold.
|
|
57
|
+
*
|
|
58
|
+
* Nothing is written until the user saves — which is the point of seeding a draft rather than
|
|
59
|
+
* adding a rule and opening the pane on top of it.
|
|
60
|
+
*/
|
|
61
|
+
draft?: P;
|
|
62
|
+
/**
|
|
63
|
+
* Open the pane on a NEW, uncommitted item — precisely what its own add button mints — rather
|
|
64
|
+
* than on its list. What a "New Rule…" command asks for.
|
|
65
|
+
*
|
|
66
|
+
* @remarks
|
|
67
|
+
* The same request as {@link draft}, with nothing to seed; a `draft` wins when both are given.
|
|
68
|
+
* Ignored by a pane whose list is read-only, which shows no add button either.
|
|
69
|
+
*/
|
|
70
|
+
insert?: boolean;
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=ITaskPane.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ITaskPane.d.ts","sourceRoot":"","sources":["../../../../src/taskPane/ITaskPane.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,aAAa,CAAC,CAAC,GAAC,GAAG,EAAE,CAAC,GAAC,GAAG,CAAE,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACpF;;OAEG;IAEH,QAAQ,EAAE,MAAM,CAAC;IAGjB,KAAK,CAAC,EAAE,CAAC,CAAC;IAEV;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,EAAE,CAAC,CAAC;IAET,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACtB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,aAAa,CAAC,CAAC,GAAC,GAAG;IAClC;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,EAAE,CAAC,CAAC;IACV;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
|