@univerjs/sheets-ui 0.12.4-insiders.20251212-6c41730 → 0.12.4-insiders.20251213-692494c

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.
@@ -1,7 +1,7 @@
1
1
  import { ICellDataWithSpanAndDisplay, IDisposable, IRange, Nullable, Disposable, ErrorService, ICommandService, ILogService, Injector, IUndoRedoService, IUniverInstanceService, LocaleService, ObjectMatrix, ThemeService } from '@univerjs/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { IDiscreteRange } from '../../controllers/utils/range-tools';
4
- import { ICopyOptions, IPasteHookKeyType, IPasteOptionCache, ISheetClipboardHook, COPY_TYPE } from './type';
4
+ import { ICopyOptions, IPasteHookKeyType, IPasteOptionCache, ISheetClipboardHook } from './type';
5
5
  import { IRenderManagerService } from '@univerjs/engine-render';
6
6
  import { SheetsSelectionsService } from '@univerjs/sheets';
7
7
  import { IClipboardInterfaceService, INotificationService, IPlatformService } from '@univerjs/ui';
@@ -87,14 +87,8 @@ export declare class SheetClipboardService extends Disposable implements ISheetC
87
87
  getPasteMenuVisible(): boolean;
88
88
  getPasteOptionsCache(): IPasteOptionCache | null;
89
89
  copyContentCache(): CopyContentCache;
90
- generateCopyContent(workbookId: string, worksheetId: string, range: IRange, { copyType, copyHookType }?: {
91
- copyType?: COPY_TYPE | undefined;
92
- copyHookType?: "default-copy" | undefined;
93
- }): Nullable<ICopyContent>;
94
- copy({ copyType, copyHookType, }?: {
95
- copyType?: COPY_TYPE | undefined;
96
- copyHookType?: "default-copy" | undefined;
97
- }): Promise<boolean>;
90
+ generateCopyContent(workbookId: string, worksheetId: string, range: IRange, options?: ICopyOptions): Nullable<ICopyContent>;
91
+ copy(options?: ICopyOptions): Promise<boolean>;
98
92
  cut(): Promise<boolean>;
99
93
  paste(item: ClipboardItem, pasteType?: "default-paste"): Promise<boolean>;
100
94
  legacyPaste(html?: string, text?: string, files?: File[]): Promise<boolean>;