@univerjs/sheets-ui 0.6.0-nightly.202502201606 → 0.6.1-nightly.202502211606

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,4 @@
1
- import { IRange, Disposable, IUniverInstanceService } from '@univerjs/core';
1
+ import { IRange, Disposable, IConfigService, IUniverInstanceService } from '@univerjs/core';
2
2
  import { RenderManagerService } from '@univerjs/engine-render';
3
3
  import { ISetWorksheetRowAutoHeightMutationParams, SheetInterceptorService, SheetsSelectionsService } from '@univerjs/sheets';
4
4
  export declare const AFFECT_LAYOUT_STYLES: string[];
@@ -7,7 +7,9 @@ export declare class AutoHeightController extends Disposable {
7
7
  private readonly _sheetInterceptorService;
8
8
  private readonly _selectionManagerService;
9
9
  private readonly _univerInstanceService;
10
- constructor(_renderManagerService: RenderManagerService, _sheetInterceptorService: SheetInterceptorService, _selectionManagerService: SheetsSelectionsService, _univerInstanceService: IUniverInstanceService);
10
+ private readonly _configService;
11
+ constructor(_renderManagerService: RenderManagerService, _sheetInterceptorService: SheetInterceptorService, _selectionManagerService: SheetsSelectionsService, _univerInstanceService: IUniverInstanceService, _configService: IConfigService);
12
+ private _getRangesScope;
11
13
  getUndoRedoParamsOfAutoHeight(ranges: IRange[]): {
12
14
  undos: {
13
15
  id: string;
@@ -2,11 +2,17 @@ import { DependencyOverride } from '@univerjs/core';
2
2
  import { MenuConfig } from '@univerjs/ui';
3
3
  export declare const SHEETS_UI_PLUGIN_CONFIG_KEY = "sheets-ui.config";
4
4
  export declare const configSymbol: unique symbol;
5
+ export declare const HIDE_STATUS_BAR_STATISTIC: unique symbol;
5
6
  export interface IUniverSheetsUIConfig {
6
7
  menu?: MenuConfig;
7
8
  disableAutoFocus?: true;
8
9
  override?: DependencyOverride;
9
10
  customComponents?: Set<string>;
11
+ /**
12
+ * The maximum count of rows triggering auto height. This is used to avoid performance issue.
13
+ * @default 1000
14
+ */
15
+ maxAutoHeightCount?: number;
10
16
  /**
11
17
  * Whether to show the formula bar.
12
18
  */
@@ -14,5 +20,6 @@ export interface IUniverSheetsUIConfig {
14
20
  clipboardConfig?: {
15
21
  hidePasteOptions?: boolean;
16
22
  };
23
+ hideStatusBarStatistic?: boolean;
17
24
  }
18
25
  export declare const defaultPluginConfig: IUniverSheetsUIConfig;