@univerjs/sheets-ui 0.1.3 → 0.1.5
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 -0
- package/lib/cjs/index.js +10 -10
- package/lib/es/index.js +4865 -4706
- package/lib/index.css +1 -1
- package/lib/types/basics/const/index.d.ts +0 -1
- package/lib/types/basics/editor/get-editor-object.d.ts +3 -17
- package/lib/types/basics/index.d.ts +0 -1
- package/lib/types/commands/commands/__tests__/create-command-test-bed.d.ts +3 -19
- package/lib/types/commands/commands/__tests__/create-selection-command-test-bed.d.ts +18 -32
- package/lib/types/commands/commands/add-worksheet-merge.command.d.ts +2 -17
- package/lib/types/commands/commands/auto-fill.command.d.ts +2 -16
- package/lib/types/commands/commands/clipboard.command.d.ts +2 -16
- package/lib/types/commands/commands/delete-range-move-left-confirm.command .d.ts +2 -16
- package/lib/types/commands/commands/delete-range-move-up-confirm.command.d.ts +2 -16
- package/lib/types/commands/commands/hide-row-col-confirm.command.d.ts +2 -16
- package/lib/types/commands/commands/inline-format.command.d.ts +2 -16
- package/lib/types/commands/commands/insert-range-move-down-confirm.command.d.ts +2 -16
- package/lib/types/commands/commands/insert-range-move-right-confirm.command.d.ts +2 -16
- package/lib/types/commands/commands/refill.command.d.ts +2 -16
- package/lib/types/commands/commands/remove-row-col-confirm.command.d.ts +2 -16
- package/lib/types/commands/commands/remove-sheet-confirm.command.d.ts +2 -16
- package/lib/types/commands/commands/set-format-painter.command.d.ts +2 -16
- package/lib/types/commands/commands/set-frozen.command.d.ts +2 -16
- package/lib/types/commands/commands/set-scroll.command.d.ts +2 -16
- package/lib/types/commands/commands/set-selection.command.d.ts +2 -16
- package/lib/types/commands/commands/set-zoom-ratio.command.d.ts +2 -16
- package/lib/types/commands/commands/unhide.command.d.ts +2 -16
- package/lib/types/commands/commands/utils/selection-utils.d.ts +2 -17
- package/lib/types/commands/operations/activate-cell-edit.operation.d.ts +3 -17
- package/lib/types/commands/operations/cell-edit.operation.d.ts +3 -17
- package/lib/types/commands/operations/rename-sheet.operation.d.ts +2 -16
- package/lib/types/commands/operations/scroll.operation.d.ts +3 -17
- package/lib/types/commands/operations/set-format-painter.operation.d.ts +3 -17
- package/lib/types/commands/operations/set-zoom-ratio.operation.d.ts +3 -17
- package/lib/types/common/utils.d.ts +10 -18
- package/lib/types/components/border-panel/BorderPanel.d.ts +3 -17
- package/lib/types/components/border-panel/border-line/BorderLine.d.ts +2 -16
- package/lib/types/components/border-panel/border-line/icons/BorderDashDot.d.ts +2 -16
- package/lib/types/components/border-panel/border-line/icons/BorderDashDotDot.d.ts +2 -16
- package/lib/types/components/border-panel/border-line/icons/BorderDashed.d.ts +2 -16
- package/lib/types/components/border-panel/border-line/icons/BorderDotted.d.ts +2 -16
- package/lib/types/components/border-panel/border-line/icons/BorderHair.d.ts +2 -16
- package/lib/types/components/border-panel/border-line/icons/BorderMedium.d.ts +2 -16
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDot.d.ts +2 -16
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDotDot.d.ts +2 -16
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashed.d.ts +2 -16
- package/lib/types/components/border-panel/border-line/icons/BorderThick.d.ts +2 -16
- package/lib/types/components/border-panel/border-line/icons/BorderThin.d.ts +2 -16
- package/lib/types/components/border-panel/interface.d.ts +3 -17
- package/lib/types/components/menu-item-input/MenuItemInput.d.ts +3 -17
- package/lib/types/components/menu-item-input/interface.d.ts +2 -16
- package/lib/types/controllers/active-worksheet/active-worksheet.controller.d.ts +1 -15
- package/lib/types/controllers/auto-fill.controller.d.ts +6 -20
- package/lib/types/controllers/auto-height.controller.d.ts +4 -18
- package/lib/types/controllers/clipboard/clipboard.controller.d.ts +6 -20
- package/lib/types/controllers/clipboard/utils.d.ts +4 -19
- package/lib/types/controllers/contextmenu/contextmenu.controller.d.ts +5 -19
- package/lib/types/controllers/editor/__tests__/create-test-bed.d.ts +3 -19
- package/lib/types/controllers/editor/editing.controller.d.ts +2 -16
- package/lib/types/controllers/editor/end-edit.controller.d.ts +7 -23
- package/lib/types/controllers/editor/formula-editor.controller.d.ts +5 -19
- package/lib/types/controllers/editor/start-edit.controller.d.ts +6 -20
- package/lib/types/controllers/editor-bridge.controller.d.ts +7 -21
- package/lib/types/controllers/format-painter/format-painter.controller.d.ts +4 -18
- package/lib/types/controllers/freeze.controller.d.ts +7 -21
- package/lib/types/controllers/header-menu.controller.d.ts +5 -19
- package/lib/types/controllers/header-move.controller.d.ts +5 -19
- package/lib/types/controllers/header-resize.controller.d.ts +4 -18
- package/lib/types/controllers/header-unhide.controller.d.ts +3 -17
- package/lib/types/controllers/mark-selection.controller.d.ts +3 -17
- package/lib/types/controllers/menu/__tests__/create-menu-test-bed.d.ts +2 -16
- package/lib/types/controllers/menu/border.menu.d.ts +4 -18
- package/lib/types/controllers/menu/clear.menu.d.ts +2 -16
- package/lib/types/controllers/menu/delete.menu.d.ts +2 -16
- package/lib/types/controllers/menu/insert.menu.d.ts +3 -17
- package/lib/types/controllers/menu/menu.d.ts +3 -17
- package/lib/types/controllers/menu/merge.menu.d.ts +3 -17
- package/lib/types/controllers/menu/sheet.menu.d.ts +3 -17
- package/lib/types/controllers/move-range.controller.d.ts +3 -17
- package/lib/types/controllers/scroll.controller.d.ts +5 -20
- package/lib/types/controllers/selection.controller.d.ts +6 -20
- package/lib/types/controllers/sheet-render.controller.d.ts +3 -17
- package/lib/types/controllers/sheet-ui.controller.d.ts +3 -18
- package/lib/types/controllers/shortcuts/editor.shortcut.d.ts +2 -17
- package/lib/types/controllers/shortcuts/operation.shortcut.d.ts +2 -16
- package/lib/types/controllers/shortcuts/selection.shortcut.d.ts +3 -17
- package/lib/types/controllers/shortcuts/style.shortcut.d.ts +2 -16
- package/lib/types/controllers/shortcuts/utils.d.ts +2 -16
- package/lib/types/controllers/shortcuts/value.shortcut.d.ts +2 -16
- package/lib/types/controllers/shortcuts/view.shortcut.d.ts +2 -16
- package/lib/types/controllers/status-bar.controller.d.ts +4 -18
- package/lib/types/controllers/utils/component-tools.d.ts +3 -17
- package/lib/types/controllers/utils/selections-tools.d.ts +3 -0
- package/lib/types/controllers/zoom.controller.d.ts +6 -20
- package/lib/types/index.d.ts +2 -0
- package/lib/types/locale/en-US.d.ts +2 -16
- package/lib/types/locale/zh-CN.d.ts +1 -1
- package/lib/types/services/auto-fill/auto-fill.service.d.ts +6 -22
- package/lib/types/services/auto-fill/rules.d.ts +2 -16
- package/lib/types/services/auto-fill/tools.d.ts +7 -22
- package/lib/types/services/auto-fill/type.d.ts +2 -16
- package/lib/types/services/canvas-pop-manager.service.d.ts +43 -0
- package/lib/types/services/clipboard/__tests__/clipboard-test-bed.d.ts +10 -25
- package/lib/types/services/clipboard/clipboard.service.d.ts +10 -25
- package/lib/types/services/clipboard/copy-content-cache.d.ts +3 -17
- package/lib/types/services/clipboard/html-to-usm/converter.d.ts +6 -19
- package/lib/types/services/clipboard/html-to-usm/parse-node-style.d.ts +2 -16
- package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-lark.d.ts +2 -16
- package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-word.d.ts +2 -16
- package/lib/types/services/clipboard/html-to-usm/paste-plugins/type.d.ts +2 -16
- package/lib/types/services/clipboard/html-to-usm/utils.d.ts +2 -16
- package/lib/types/services/clipboard/type.d.ts +2 -16
- package/lib/types/services/clipboard/usm-to-html/convertor.d.ts +3 -17
- package/lib/types/services/clipboard/utils.d.ts +6 -16
- package/lib/types/services/editor/cell-editor-manager.service.d.ts +5 -19
- package/lib/types/services/editor/formula-editor-manager.service.d.ts +5 -19
- package/lib/types/services/editor-bridge.service.d.ts +13 -30
- package/lib/types/services/format-painter/format-painter.service.d.ts +5 -20
- package/lib/types/services/mark-selection/mark-selection.service.d.ts +7 -22
- package/lib/types/services/scroll-manager.service.d.ts +3 -17
- package/lib/types/services/selection/__test__/create-service-test-bed.d.ts +3 -19
- package/lib/types/services/selection/selection-render-model.d.ts +2 -17
- package/lib/types/services/selection/selection-render.service.d.ts +9 -25
- package/lib/types/services/selection/selection-shape-extension.d.ts +5 -19
- package/lib/types/services/selection/selection-shape.d.ts +25 -41
- package/lib/types/services/sheet-bar/sheet-bar.service.d.ts +5 -19
- package/lib/types/services/sheet-skeleton-manager.service.d.ts +5 -21
- package/lib/types/services/shortcut-experience.service.d.ts +4 -19
- package/lib/types/services/status-bar.service.d.ts +6 -20
- package/lib/types/sheets-ui-plugin.d.ts +2 -16
- package/lib/types/views/count-bar/CountBar.d.ts +2 -16
- package/lib/types/views/count-bar/ZoomSlider.d.ts +2 -16
- package/lib/types/views/editor-container/EditorContainer.d.ts +2 -16
- package/lib/types/views/formula-bar/FormulaBar.d.ts +2 -16
- package/lib/types/views/header-menu-shape.d.ts +2 -17
- package/lib/types/views/header-resize-shape.d.ts +2 -17
- package/lib/types/views/header-unhide-shape.d.ts +2 -17
- package/lib/types/views/operate-container/AutoFillPopupMenu.d.ts +2 -16
- package/lib/types/views/operate-container/OperateContainer.d.ts +2 -16
- package/lib/types/views/sheet-bar/SheetBar.d.ts +2 -16
- package/lib/types/views/sheet-bar/sheet-bar-button/SheetBarButton.d.ts +2 -16
- package/lib/types/views/sheet-bar/sheet-bar-menu/SheetBarMenu.d.ts +2 -16
- package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarItem.d.ts +3 -17
- package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarTabs.d.ts +2 -16
- package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/slide-tab-bar.d.ts +1 -16
- package/lib/types/views/sheet-canvas-view.d.ts +5 -19
- package/lib/types/views/sheet-container/SheetContainer.d.ts +2 -22
- package/lib/types/views/status-bar/CopyableStatisticItem.d.ts +3 -17
- package/lib/types/views/status-bar/StatusBar.d.ts +2 -16
- package/lib/umd/index.js +10 -10
- package/package.json +26 -24
- package/lib/types/basics/const/default-univer-sheet-config.d.ts +0 -141
- package/lib/types/basics/interfaces/cell.d.ts +0 -20
- package/lib/types/basics/interfaces/component-config/i-sheet-ui-plugin-config.d.ts +0 -27
- package/lib/types/basics/interfaces/component-config/index.d.ts +0 -17
- package/lib/types/basics/interfaces/component-config/sheet-container-config.d.ts +0 -34
- package/lib/types/basics/interfaces/component-config/toolbar-config.d.ts +0 -39
- package/lib/types/basics/interfaces/index.d.ts +0 -16
|
@@ -1,23 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
17
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
18
|
-
import { SelectionManagerService } from '@univerjs/sheets';
|
|
19
|
-
import { IContextMenuService } from '@univerjs/ui';
|
|
20
1
|
import { ISelectionRenderService } from '../../services/selection/selection-render.service';
|
|
2
|
+
import { IContextMenuService } from '@univerjs/ui';
|
|
3
|
+
import { SelectionManagerService } from '@univerjs/sheets';
|
|
4
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
5
|
+
import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
6
|
+
|
|
21
7
|
/**
|
|
22
8
|
* This controller subscribe to context menu events in
|
|
23
9
|
* sheet rendering views and invoke context menu at a correct position
|
|
@@ -1,22 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import type { IWorkbookData, Workbook } from '@univerjs/core';
|
|
17
|
-
import { Univer } from '@univerjs/core';
|
|
18
|
-
import type { Dependency } from '@wendellhu/redi';
|
|
19
|
-
import { Injector } from '@wendellhu/redi';
|
|
1
|
+
import { Dependency, Injector } from '@wendellhu/redi';
|
|
2
|
+
import { IWorkbookData, Workbook, Univer } from '@univerjs/core';
|
|
3
|
+
|
|
20
4
|
export interface ITestBed {
|
|
21
5
|
univer: Univer;
|
|
22
6
|
get: Injector['get'];
|
|
@@ -1,20 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { IUndoRedoService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
|
17
1
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
2
|
+
import { IUndoRedoService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
|
3
|
+
|
|
18
4
|
export declare class EditingController extends RxDisposable {
|
|
19
5
|
private readonly _currentUniverService;
|
|
20
6
|
private readonly _renderManagerService;
|
|
@@ -1,27 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import type { ICellData } from '@univerjs/core';
|
|
17
|
-
import { Disposable, ICommandService, IContextService, IUndoRedoService, IUniverInstanceService } from '@univerjs/core';
|
|
18
|
-
import { LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
19
|
-
import type { IDocumentLayoutObject } from '@univerjs/engine-render';
|
|
20
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
21
|
-
import { SelectionManagerService } from '@univerjs/sheets';
|
|
22
|
-
import { IEditorService } from '@univerjs/ui';
|
|
23
|
-
import { ICellEditorManagerService } from '../../services/editor/cell-editor-manager.service';
|
|
24
1
|
import { IEditorBridgeService } from '../../services/editor-bridge.service';
|
|
2
|
+
import { ICellEditorManagerService } from '../../services/editor/cell-editor-manager.service';
|
|
3
|
+
import { IEditorService } from '@univerjs/ui';
|
|
4
|
+
import { SelectionManagerService } from '@univerjs/sheets';
|
|
5
|
+
import { IDocumentLayoutObject, IRenderManagerService } from '@univerjs/engine-render';
|
|
6
|
+
import { LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
7
|
+
import { ICellData, Disposable, ICommandService, IContextService, IUndoRedoService, IUniverInstanceService } from '@univerjs/core';
|
|
8
|
+
|
|
25
9
|
export declare class EndEditController extends Disposable {
|
|
26
10
|
private readonly _currentUniverService;
|
|
27
11
|
private readonly _renderManagerService;
|
|
@@ -1,23 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { ICommandService, IContextService, IUndoRedoService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
|
17
|
-
import { DocSkeletonManagerService, DocViewModelManagerService, TextSelectionManagerService } from '@univerjs/docs';
|
|
18
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
19
|
-
import { IFormulaEditorManagerService } from '../../services/editor/formula-editor-manager.service';
|
|
20
1
|
import { IEditorBridgeService } from '../../services/editor-bridge.service';
|
|
2
|
+
import { IFormulaEditorManagerService } from '../../services/editor/formula-editor-manager.service';
|
|
3
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
|
+
import { DocSkeletonManagerService, DocViewModelManagerService, TextSelectionManagerService } from '@univerjs/docs';
|
|
5
|
+
import { ICommandService, IContextService, IUndoRedoService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
|
6
|
+
|
|
21
7
|
export declare class FormulaEditorController extends RxDisposable {
|
|
22
8
|
private readonly _univerInstanceService;
|
|
23
9
|
private readonly _renderManagerService;
|
|
@@ -1,24 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Disposable, ICommandService, IContextService, IUniverInstanceService, LocaleService } from '@univerjs/core';
|
|
17
|
-
import { DocSkeletonManagerService, DocViewModelManagerService, TextSelectionManagerService } from '@univerjs/docs';
|
|
18
|
-
import { IRenderManagerService, ITextSelectionRenderManager } from '@univerjs/engine-render';
|
|
19
|
-
import { IEditorService } from '@univerjs/ui';
|
|
20
|
-
import { ICellEditorManagerService } from '../../services/editor/cell-editor-manager.service';
|
|
21
1
|
import { IEditorBridgeService } from '../../services/editor-bridge.service';
|
|
2
|
+
import { ICellEditorManagerService } from '../../services/editor/cell-editor-manager.service';
|
|
3
|
+
import { IEditorService } from '@univerjs/ui';
|
|
4
|
+
import { IRenderManagerService, ITextSelectionRenderManager } from '@univerjs/engine-render';
|
|
5
|
+
import { DocSkeletonManagerService, DocViewModelManagerService, TextSelectionManagerService } from '@univerjs/docs';
|
|
6
|
+
import { Disposable, ICommandService, IContextService, IUniverInstanceService, LocaleService } from '@univerjs/core';
|
|
7
|
+
|
|
22
8
|
export declare class StartEditController extends Disposable {
|
|
23
9
|
private readonly _docSkeletonManagerService;
|
|
24
10
|
private readonly _docViewModelManagerService;
|
|
@@ -1,25 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { ICommandService, IContextService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
|
17
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
18
|
-
import { SelectionManagerService } from '@univerjs/sheets';
|
|
19
|
-
import { Injector } from '@wendellhu/redi';
|
|
20
|
-
import { IEditorService, ILayoutService, IRangeSelectorService } from '@univerjs/ui';
|
|
21
|
-
import { IEditorBridgeService } from '../services/editor-bridge.service';
|
|
22
1
|
import { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
|
|
2
|
+
import { IEditorBridgeService } from '../services/editor-bridge.service';
|
|
3
|
+
import { IEditorService, ILayoutService, IRangeSelectorService } from '@univerjs/ui';
|
|
4
|
+
import { Injector } from '@wendellhu/redi';
|
|
5
|
+
import { SelectionManagerService } from '@univerjs/sheets';
|
|
6
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
7
|
+
import { ICommandService, IContextService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
|
8
|
+
|
|
23
9
|
export declare class EditorBridgeController extends RxDisposable {
|
|
24
10
|
private readonly _injector;
|
|
25
11
|
private readonly _sheetSkeletonManagerService;
|
|
@@ -1,22 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
17
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
18
|
-
import { IFormatPainterService } from '../../services/format-painter/format-painter.service';
|
|
19
1
|
import { ISelectionRenderService } from '../../services/selection/selection-render.service';
|
|
2
|
+
import { IFormatPainterService } from '../../services/format-painter/format-painter.service';
|
|
3
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
|
+
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
5
|
+
|
|
20
6
|
export declare class FormatPainterController extends Disposable {
|
|
21
7
|
private readonly _commandService;
|
|
22
8
|
private readonly _formatPainterService;
|
|
@@ -1,25 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Disposable, ICommandService, IUniverInstanceService, ThemeService } from '@univerjs/core';
|
|
17
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
18
|
-
import { SelectionManagerService, SheetInterceptorService } from '@univerjs/sheets';
|
|
19
|
-
import { Injector } from '@wendellhu/redi';
|
|
20
|
-
import { ScrollManagerService } from '../services/scroll-manager.service';
|
|
21
|
-
import { ISelectionRenderService } from '../services/selection/selection-render.service';
|
|
22
1
|
import { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
|
|
2
|
+
import { ISelectionRenderService } from '../services/selection/selection-render.service';
|
|
3
|
+
import { ScrollManagerService } from '../services/scroll-manager.service';
|
|
4
|
+
import { Injector } from '@wendellhu/redi';
|
|
5
|
+
import { SelectionManagerService, SheetInterceptorService } from '@univerjs/sheets';
|
|
6
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
7
|
+
import { Disposable, ICommandService, IUniverInstanceService, ThemeService } from '@univerjs/core';
|
|
8
|
+
|
|
23
9
|
export declare class FreezeController extends Disposable {
|
|
24
10
|
private readonly _sheetSkeletonManagerService;
|
|
25
11
|
private readonly _currentUniverService;
|
|
@@ -1,23 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
17
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
18
|
-
import { SelectionManagerService } from '@univerjs/sheets';
|
|
19
|
-
import { IContextMenuService } from '@univerjs/ui';
|
|
20
1
|
import { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
|
|
2
|
+
import { IContextMenuService } from '@univerjs/ui';
|
|
3
|
+
import { SelectionManagerService } from '@univerjs/sheets';
|
|
4
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
5
|
+
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
6
|
+
|
|
21
7
|
/**
|
|
22
8
|
* header highlight
|
|
23
9
|
* column menu: show, hover and mousedown event
|
|
@@ -1,23 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
17
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
18
|
-
import { SelectionManagerService } from '@univerjs/sheets';
|
|
19
|
-
import { ISelectionRenderService } from '../services/selection/selection-render.service';
|
|
20
1
|
import { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
|
|
2
|
+
import { ISelectionRenderService } from '../services/selection/selection-render.service';
|
|
3
|
+
import { SelectionManagerService } from '@univerjs/sheets';
|
|
4
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
5
|
+
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
6
|
+
|
|
21
7
|
export declare class HeaderMoveController extends Disposable {
|
|
22
8
|
private readonly _sheetSkeletonManagerService;
|
|
23
9
|
private readonly _currentUniverService;
|
|
@@ -1,22 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
17
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
18
|
-
import { IEditorBridgeService } from '../services/editor-bridge.service';
|
|
19
1
|
import { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
|
|
2
|
+
import { IEditorBridgeService } from '../services/editor-bridge.service';
|
|
3
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
|
+
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
5
|
+
|
|
20
6
|
export declare class HeaderResizeController extends Disposable {
|
|
21
7
|
private readonly _sheetSkeletonManagerService;
|
|
22
8
|
private readonly _currentUniverService;
|
|
@@ -1,21 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { ICommandService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
|
17
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
18
1
|
import { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
|
|
2
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
|
+
import { ICommandService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
|
4
|
+
|
|
19
5
|
/**
|
|
20
6
|
* This controller controls rendering of the buttons to unhide hidden rows and columns.
|
|
21
7
|
*/
|
|
@@ -1,21 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Disposable, ICommandService } from '@univerjs/core';
|
|
17
|
-
import { IMarkSelectionService } from '../services/mark-selection/mark-selection.service';
|
|
18
1
|
import { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
|
|
2
|
+
import { IMarkSelectionService } from '../services/mark-selection/mark-selection.service';
|
|
3
|
+
import { Disposable, ICommandService } from '@univerjs/core';
|
|
4
|
+
|
|
19
5
|
export declare class MarkSelectionController extends Disposable {
|
|
20
6
|
private _markSelectionService;
|
|
21
7
|
private _commandService;
|
|
@@ -1,21 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
1
|
import { Univer } from '@univerjs/core';
|
|
2
|
+
|
|
17
3
|
export declare function createMenuTestBed(): {
|
|
18
4
|
univer: Univer;
|
|
19
5
|
get: never;
|
|
20
|
-
sheet: import(
|
|
6
|
+
sheet: import('@univerjs/core').Workbook;
|
|
21
7
|
};
|
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import type { IBorderInfo } from '@univerjs/sheets';
|
|
17
|
-
import type { IMenuSelectorItem } from '@univerjs/ui';
|
|
18
|
-
import type { IAccessor } from '@wendellhu/redi';
|
|
1
|
+
import { IAccessor } from '@wendellhu/redi';
|
|
2
|
+
import { IMenuSelectorItem } from '@univerjs/ui';
|
|
3
|
+
import { IBorderInfo } from '@univerjs/sheets';
|
|
4
|
+
|
|
19
5
|
export declare function CellBorderSelectorMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<IBorderInfo, IBorderInfo>;
|
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import type { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
|
|
1
|
+
import { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
|
|
2
|
+
|
|
17
3
|
export declare function ClearSelectionMenuItemFactory(): IMenuSelectorItem<string>;
|
|
18
4
|
export declare function ClearSelectionContentMenuItemFactory(): IMenuButtonItem;
|
|
19
5
|
export declare function ClearSelectionFormatMenuItemFactory(): IMenuButtonItem;
|
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import type { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
|
|
1
|
+
import { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
|
|
2
|
+
|
|
17
3
|
export declare function DeleteRangeMenuItemFactory(): IMenuSelectorItem<string>;
|
|
18
4
|
export declare function RemoveColMenuItemFactory(): IMenuButtonItem;
|
|
19
5
|
export declare function RemoveRowMenuItemFactory(): IMenuButtonItem;
|
|
@@ -1,20 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import type { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
|
|
17
|
-
import type { IAccessor } from '@wendellhu/redi';
|
|
1
|
+
import { IAccessor } from '@wendellhu/redi';
|
|
2
|
+
import { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
|
|
3
|
+
|
|
18
4
|
export declare function ColInsertMenuItemFactory(): IMenuSelectorItem<string>;
|
|
19
5
|
export declare function RowInsertMenuItemFactory(): IMenuSelectorItem<string>;
|
|
20
6
|
export declare function CellInsertMenuItemFactory(): IMenuSelectorItem<string>;
|
|
@@ -1,21 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
1
|
+
import { IAccessor } from '@wendellhu/redi';
|
|
2
|
+
import { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
|
|
16
3
|
import { HorizontalAlign, VerticalAlign, WrapStrategy } from '@univerjs/core';
|
|
17
|
-
|
|
18
|
-
import type { IAccessor } from '@wendellhu/redi';
|
|
4
|
+
|
|
19
5
|
export declare enum SheetMenuPosition {
|
|
20
6
|
ROW_HEADER_CONTEXT_MENU = "rowHeaderContextMenu",
|
|
21
7
|
COL_HEADER_CONTEXT_MENU = "colHeaderContextMenu",
|
|
@@ -1,20 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import type { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
|
|
17
|
-
import type { IAccessor } from '@wendellhu/redi';
|
|
1
|
+
import { IAccessor } from '@wendellhu/redi';
|
|
2
|
+
import { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
|
|
3
|
+
|
|
18
4
|
export declare function CellMergeMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<string>;
|
|
19
5
|
export declare function CellMergeAllMenuItemFactory(accessor: IAccessor): IMenuButtonItem<string>;
|
|
20
6
|
export declare function CellMergeVerticalMenuItemFactory(accessor: IAccessor): IMenuButtonItem<string>;
|
|
@@ -1,20 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import type { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
|
|
17
|
-
import type { IAccessor } from '@wendellhu/redi';
|
|
1
|
+
import { IAccessor } from '@wendellhu/redi';
|
|
2
|
+
import { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
|
|
3
|
+
|
|
18
4
|
export declare function DeleteSheetMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
|
|
19
5
|
export declare function CopySheetMenuItemFactory(): IMenuButtonItem;
|
|
20
6
|
export declare function RenameSheetMenuItemFactory(): IMenuButtonItem;
|
|
@@ -1,21 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Disposable, ICommandService } from '@univerjs/core';
|
|
17
|
-
import { SelectionManagerService } from '@univerjs/sheets';
|
|
18
1
|
import { ISelectionRenderService } from '../services/selection/selection-render.service';
|
|
2
|
+
import { SelectionManagerService } from '@univerjs/sheets';
|
|
3
|
+
import { Disposable, ICommandService } from '@univerjs/core';
|
|
4
|
+
|
|
19
5
|
export declare class MoveRangeController extends Disposable {
|
|
20
6
|
private readonly _selectionRenderService;
|
|
21
7
|
private readonly _selectionManagerService;
|