@univerjs/sheets-ui 0.6.9-experimental.20250409-e08c696 → 0.6.9-experimental.20250409-7c82795
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 +18 -18
- package/lib/es/index.js +1423 -1412
- package/lib/index.js +1423 -1412
- package/lib/types/controllers/editor/editing.render-controller.d.ts +3 -2
- package/lib/types/controllers/shortcuts/editor.shortcut.d.ts +1 -0
- package/lib/types/services/editor-bridge.service.d.ts +4 -4
- package/lib/umd/index.js +31 -31
- package/package.json +11 -11
|
@@ -32,7 +32,8 @@ export declare class EditingRenderController extends Disposable implements IRend
|
|
|
32
32
|
private _workbookSelections;
|
|
33
33
|
private _d;
|
|
34
34
|
_cursorTimeout: NodeJS.Timeout;
|
|
35
|
-
constructor(_context: IRenderContext<Workbook>, selectionManagerService: SheetsSelectionsService, _undoRedoService: IUndoRedoService, _contextService: IContextService, _renderManagerService: IRenderManagerService, _editorBridgeService: IEditorBridgeService, _cellEditorManagerService: ICellEditorManagerService, _lexerTreeBuilder: LexerTreeBuilder, _functionService: IFunctionService, _textSelectionManagerService: DocSelectionManagerService, _commandService: ICommandService, _localService: LocaleService, _editorService: IEditorService, _sheetCellEditorResizeService: SheetCellEditorResizeService,
|
|
35
|
+
constructor(_context: IRenderContext<Workbook>, selectionManagerService: SheetsSelectionsService, _undoRedoService: IUndoRedoService, _contextService: IContextService, _renderManagerService: IRenderManagerService, _editorBridgeService: IEditorBridgeService, _cellEditorManagerService: ICellEditorManagerService, _lexerTreeBuilder: LexerTreeBuilder, _functionService: IFunctionService, _textSelectionManagerService: DocSelectionManagerService, _commandService: ICommandService, _localService: LocaleService, _editorService: IEditorService, _sheetCellEditorResizeService: SheetCellEditorResizeService, // RenderModule
|
|
36
|
+
_univerInstanceService: IUniverInstanceService, _sheetInterceptorService: SheetInterceptorService);
|
|
36
37
|
dispose(): void;
|
|
37
38
|
private _disposeCurrent;
|
|
38
39
|
private _init;
|
|
@@ -54,7 +55,7 @@ export declare class EditingRenderController extends Disposable implements IRend
|
|
|
54
55
|
private _getEditorObject;
|
|
55
56
|
private _isCellImageData;
|
|
56
57
|
submitCellData(documentDataModel: DocumentDataModel): Promise<boolean>;
|
|
57
|
-
private
|
|
58
|
+
private _submitEdit;
|
|
58
59
|
private _exitInput;
|
|
59
60
|
private _moveSelection;
|
|
60
61
|
/**
|
|
@@ -6,6 +6,7 @@ export declare const StartEditWithF2Shortcut: IShortcutItem;
|
|
|
6
6
|
export declare const EditorCursorEnterShortcut: IShortcutItem;
|
|
7
7
|
export declare const EditorCursorTabShortcut: IShortcutItem;
|
|
8
8
|
export declare const EditorCursorEscShortcut: IShortcutItem;
|
|
9
|
+
export declare const EditorCursorCtrlEnterShortcut: IShortcutItem;
|
|
9
10
|
export declare const EditorBreakLineShortcut: IShortcutItem;
|
|
10
11
|
export declare const EditorDeleteLeftShortcut: IShortcutItem;
|
|
11
12
|
export declare const EditorDeleteLeftShortcutInActive: IShortcutItem;
|
|
@@ -75,7 +75,7 @@ export declare class EditorBridgeService extends Disposable implements IEditorBr
|
|
|
75
75
|
private _editorUnitId;
|
|
76
76
|
private _editorIsDirty;
|
|
77
77
|
private _isDisabled;
|
|
78
|
-
private
|
|
78
|
+
private _visibleParams;
|
|
79
79
|
private _currentEditCell;
|
|
80
80
|
private _currentEditCellState;
|
|
81
81
|
private _currentEditCellLayout;
|
|
@@ -99,9 +99,9 @@ export declare class EditorBridgeService extends Disposable implements IEditorBr
|
|
|
99
99
|
editorUnitId: string;
|
|
100
100
|
isInArrayFormulaRange?: Nullable<boolean>;
|
|
101
101
|
} | null>;
|
|
102
|
-
private readonly
|
|
102
|
+
private readonly _visibleParams$;
|
|
103
103
|
readonly visible$: Observable<IEditorBridgeServiceVisibleParam>;
|
|
104
|
-
private readonly
|
|
104
|
+
private readonly _afterVisibleParams$;
|
|
105
105
|
readonly afterVisible$: Observable<IEditorBridgeServiceVisibleParam>;
|
|
106
106
|
private readonly _forceKeepVisible$;
|
|
107
107
|
readonly forceKeepVisible$: Observable<boolean>;
|
|
@@ -136,7 +136,7 @@ export declare class EditorBridgeService extends Disposable implements IEditorBr
|
|
|
136
136
|
isInArrayFormulaRange: Nullable<boolean>;
|
|
137
137
|
} | undefined;
|
|
138
138
|
getCurrentEditorId(): string;
|
|
139
|
-
changeVisible(
|
|
139
|
+
changeVisible(params: IEditorBridgeServiceVisibleParam): void;
|
|
140
140
|
isVisible(): IEditorBridgeServiceVisibleParam;
|
|
141
141
|
enableForceKeepVisible(): void;
|
|
142
142
|
disableForceKeepVisible(): void;
|