@univerjs/sheets-ui 0.6.10-nightly.202504231607 → 0.6.10-nightly.202504251607
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/lib/cjs/index.js +22 -22
- package/lib/es/index.js +1914 -1909
- package/lib/index.css +1 -1
- package/lib/index.js +1914 -1909
- package/lib/types/controllers/shortcuts/editor.shortcut.d.ts +1 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/services/editor-bridge.service.d.ts +2 -3
- package/lib/types/views/editor-container/index.d.ts +1 -0
- package/lib/umd/index.js +21 -21
- package/package.json +11 -11
|
@@ -9,5 +9,6 @@ export declare const EditorCursorEscShortcut: IShortcutItem;
|
|
|
9
9
|
export declare const EditorCursorCtrlEnterShortcut: IShortcutItem;
|
|
10
10
|
export declare const EditorBreakLineShortcut: IShortcutItem;
|
|
11
11
|
export declare const EditorDeleteLeftShortcut: IShortcutItem;
|
|
12
|
+
export declare const EditorDeleteRightShortcut: IShortcutItem;
|
|
12
13
|
export declare const ShiftEditorDeleteLeftShortcut: IShortcutItem;
|
|
13
14
|
export declare const EditorDeleteLeftShortcutInActive: IShortcutItem;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -92,6 +92,7 @@ export { FormatPainterStatus, IFormatPainterService } from './services/format-pa
|
|
|
92
92
|
export type { IFormatPainterBeforeApplyHookParams, IFormatPainterHook } from './services/format-painter/format-painter.service';
|
|
93
93
|
export { SELECTION_SHAPE_DEPTH } from './services/selection/const';
|
|
94
94
|
export { type IBaseSheetBarProps } from './views/sheet-bar/sheet-bar-tabs/SheetBarItem';
|
|
95
|
+
export { useKeyEventConfig } from './views/editor-container';
|
|
95
96
|
export { type IDropdownParam, ISheetCellDropdownManagerService, SheetCellDropdownManagerService } from './services/cell-dropdown-manager.service';
|
|
96
97
|
export { FormulaBar } from './views/formula-bar/FormulaBar';
|
|
97
98
|
export { type IPermissionDetailUserPartProps } from './views/permission/panel-detail/PermissionDetailUserPart';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IDisposable, IPosition, ISelectionCell, Nullable, Disposable, IContextService, IUniverInstanceService, ThemeService } from '@univerjs/core';
|
|
2
2
|
import { Engine, IDocumentLayoutObject, Scene, DeviceInputEventType, IRenderManagerService } from '@univerjs/engine-render';
|
|
3
|
-
import { SheetsSelectionsService, SheetInterceptorService } from '@univerjs/sheets';
|
|
4
3
|
import { KeyCode } from '@univerjs/ui';
|
|
5
4
|
import { Observable, BehaviorSubject } from 'rxjs';
|
|
6
5
|
import { IEditorService } from '@univerjs/docs-ui';
|
|
6
|
+
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
7
7
|
export interface IEditorBridgeServiceVisibleParam {
|
|
8
8
|
visible: boolean;
|
|
9
9
|
eventType: DeviceInputEventType;
|
|
@@ -71,7 +71,6 @@ export declare class EditorBridgeService extends Disposable implements IEditorBr
|
|
|
71
71
|
private readonly _themeService;
|
|
72
72
|
private readonly _univerInstanceService;
|
|
73
73
|
private readonly _editorService;
|
|
74
|
-
private readonly _refSelectionsService;
|
|
75
74
|
private readonly _contextService;
|
|
76
75
|
private _editorUnitId;
|
|
77
76
|
private _editorIsDirty;
|
|
@@ -106,7 +105,7 @@ export declare class EditorBridgeService extends Disposable implements IEditorBr
|
|
|
106
105
|
readonly afterVisible$: Observable<IEditorBridgeServiceVisibleParam>;
|
|
107
106
|
private readonly _forceKeepVisible$;
|
|
108
107
|
readonly forceKeepVisible$: Observable<boolean>;
|
|
109
|
-
constructor(_sheetInterceptorService: SheetInterceptorService, _renderManagerService: IRenderManagerService, _themeService: ThemeService, _univerInstanceService: IUniverInstanceService, _editorService: IEditorService,
|
|
108
|
+
constructor(_sheetInterceptorService: SheetInterceptorService, _renderManagerService: IRenderManagerService, _themeService: ThemeService, _univerInstanceService: IUniverInstanceService, _editorService: IEditorService, _contextService: IContextService);
|
|
110
109
|
refreshEditCellState(): void;
|
|
111
110
|
refreshEditCellPosition(resetSizeOnly?: boolean): void;
|
|
112
111
|
setEditCell(param: ICurrentEditCellParam): void;
|