@univerjs/sheets-ui 0.6.6-nightly.202503201607 → 0.6.6-nightly.202503211606
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,4 +1,5 @@
|
|
|
1
1
|
import { DependencyOverride } from '@univerjs/core';
|
|
2
|
+
import { IScrollBarProps } from '@univerjs/engine-render';
|
|
2
3
|
import { MenuConfig } from '@univerjs/ui';
|
|
3
4
|
export declare const SHEETS_UI_PLUGIN_CONFIG_KEY = "sheets-ui.config";
|
|
4
5
|
export declare const configSymbol: unique symbol;
|
|
@@ -20,5 +21,6 @@ export interface IUniverSheetsUIConfig {
|
|
|
20
21
|
clipboardConfig?: {
|
|
21
22
|
hidePasteOptions?: boolean;
|
|
22
23
|
};
|
|
24
|
+
scrollConfig?: IScrollBarProps;
|
|
23
25
|
}
|
|
24
26
|
export declare const defaultPluginConfig: IUniverSheetsUIConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Workbook, ICommandService, RxDisposable } from '@univerjs/core';
|
|
1
|
+
import { Workbook, ICommandService, IConfigService, RxDisposable } from '@univerjs/core';
|
|
2
2
|
import { IRenderContext, IRenderModule, ISummaryMetric } from '@univerjs/engine-render';
|
|
3
3
|
import { ITelemetryService } from '@univerjs/telemetry';
|
|
4
4
|
import { SheetSkeletonManagerService } from '../../services/sheet-skeleton-manager.service';
|
|
@@ -12,13 +12,14 @@ export interface ITelemetryData {
|
|
|
12
12
|
}
|
|
13
13
|
export declare class SheetRenderController extends RxDisposable implements IRenderModule {
|
|
14
14
|
private readonly _context;
|
|
15
|
+
private readonly _configService;
|
|
15
16
|
private readonly _sheetSkeletonManagerService;
|
|
16
17
|
private readonly _sheetRenderService;
|
|
17
18
|
private readonly _commandService;
|
|
18
19
|
private readonly _telemetryService?;
|
|
19
20
|
private _renderMetric$;
|
|
20
21
|
renderMetric$: import('rxjs').Observable<ITelemetryData>;
|
|
21
|
-
constructor(_context: IRenderContext<Workbook>, _sheetSkeletonManagerService: SheetSkeletonManagerService, _sheetRenderService: SheetsRenderService, _commandService: ICommandService, _telemetryService?: ITelemetryService | undefined);
|
|
22
|
+
constructor(_context: IRenderContext<Workbook>, _configService: IConfigService, _sheetSkeletonManagerService: SheetSkeletonManagerService, _sheetRenderService: SheetsRenderService, _commandService: ICommandService, _telemetryService?: ITelemetryService | undefined);
|
|
22
23
|
private _addNewRender;
|
|
23
24
|
private _renderFrameTimeMetric;
|
|
24
25
|
private _renderFrameTags;
|