@univerjs/sheets-ui 0.6.10-nightly.202504171607 → 0.6.10-nightly.202504191606

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.
@@ -192,16 +192,16 @@ const e = {
192
192
  toBottomAdd: "Towards Bottom Add",
193
193
  toLeftAdd: "Towards Left Add",
194
194
  toRightAdd: "Towards Right Add",
195
- deleteSelectedRow: "Delete Selected row",
196
- deleteSelectedColumn: "Delete Selected column",
195
+ deleteSelectedRow: "Delete Selected Row",
196
+ deleteSelectedColumn: "Delete Selected Column",
197
197
  hideSelectedRow: "Hide Selected Row",
198
- showHideRow: "Show Selected Row",
198
+ showHideRow: "Show Hide Row",
199
199
  rowHeight: "Row Height",
200
200
  hideSelectedColumn: "Hide Selected Column",
201
201
  showHideColumn: "Show Hide Column",
202
202
  columnWidth: "Column Width",
203
203
  moveLeft: "Move Left",
204
- moveUp: "Move up",
204
+ moveUp: "Move Up",
205
205
  moveRight: "Move Right",
206
206
  moveDown: "Move Down",
207
207
  add: "Add",
@@ -17,6 +17,35 @@ export interface IUniverSheetsUIConfig {
17
17
  * Whether to show the formula bar.
18
18
  */
19
19
  formulaBar?: boolean;
20
+ /**
21
+ * The config of the footer.
22
+ * @default {}
23
+ */
24
+ footer?: false | {
25
+ /**
26
+ * Sheet bar is the manager of sub sheets, including add/switch/delete sub sheets.
27
+ * @default true
28
+ */
29
+ sheetBar?: boolean;
30
+ /**
31
+ * statistic bar including statistic info current selections, such as count, sum, average, etc.
32
+ * @default true
33
+ */
34
+ statisticBar?: boolean;
35
+ /**
36
+ * Including the menus in the footer. such as highlight, gridlines, etc.
37
+ * @default true
38
+ */
39
+ menus?: boolean;
40
+ /**
41
+ * Zoom slider is the zoom slider in the footer.
42
+ * @default true
43
+ */
44
+ zoomSlider?: boolean;
45
+ };
46
+ /**
47
+ * @deprecated Use `footer.statisticBar` instead.
48
+ */
20
49
  statusBarStatistic?: boolean;
21
50
  clipboardConfig?: {
22
51
  hidePasteOptions?: boolean;
@@ -48,6 +48,7 @@ export declare class EditingRenderController extends Disposable {
48
48
  */
49
49
  private _commandExecutedListener;
50
50
  private _handleEditorVisible;
51
+ private _refreshCurrentSelections;
51
52
  private _handleEditorInvisible;
52
53
  private _getEditorObject;
53
54
  private _isCellImageData;
@@ -9,4 +9,5 @@ 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 ShiftEditorDeleteLeftShortcut: IShortcutItem;
12
13
  export declare const EditorDeleteLeftShortcutInActive: IShortcutItem;
@@ -1,3 +1,5 @@
1
1
  import { IShortcutItem } from '@univerjs/ui';
2
2
  export declare const ClearSelectionValueShortcutItem: IShortcutItem;
3
3
  export declare const ClearSelectionValueShortcutItemMac: IShortcutItem;
4
+ export declare const ShiftClearSelectionValueShortcutItem: IShortcutItem;
5
+ export declare const ShiftDeleteSelectionValueShortcutItem: IShortcutItem;
@@ -2,7 +2,7 @@ import { IDisposable, IPosition, ISelectionCell, Nullable, Disposable, IContextS
2
2
  import { Engine, IDocumentLayoutObject, Scene, DeviceInputEventType, IRenderManagerService } from '@univerjs/engine-render';
3
3
  import { SheetsSelectionsService, SheetInterceptorService } from '@univerjs/sheets';
4
4
  import { KeyCode } from '@univerjs/ui';
5
- import { Observable } from 'rxjs';
5
+ import { Observable, BehaviorSubject } from 'rxjs';
6
6
  import { IEditorService } from '@univerjs/docs-ui';
7
7
  export interface IEditorBridgeServiceVisibleParam {
8
8
  visible: boolean;
@@ -63,6 +63,7 @@ export interface IEditorBridgeService {
63
63
  disableForceKeepVisible(): void;
64
64
  isForceKeepVisible(): boolean;
65
65
  getCurrentEditorId(): Nullable<string>;
66
+ helpFunctionVisible$: BehaviorSubject<boolean>;
66
67
  }
67
68
  export declare class EditorBridgeService extends Disposable implements IEditorBridgeService, IDisposable {
68
69
  private readonly _sheetInterceptorService;
@@ -74,11 +75,11 @@ export declare class EditorBridgeService extends Disposable implements IEditorBr
74
75
  private readonly _contextService;
75
76
  private _editorUnitId;
76
77
  private _editorIsDirty;
77
- private _isDisabled;
78
78
  private _visibleParams;
79
79
  private _currentEditCell;
80
80
  private _currentEditCellState;
81
81
  private _currentEditCellLayout;
82
+ helpFunctionVisible$: BehaviorSubject<boolean>;
82
83
  private readonly _currentEditCellState$;
83
84
  readonly currentEditCellState$: Observable<Nullable<ICellEditorState>>;
84
85
  private readonly _currentEditCellLayout$;
@@ -10,6 +10,7 @@ export interface IListDropdownProps {
10
10
  color?: string;
11
11
  }[];
12
12
  defaultValue?: string;
13
+ showEdit?: boolean;
13
14
  }
14
15
  export declare function ListDropDown(props: {
15
16
  popup: IPopup<IListDropdownProps & IBaseDropdownProps>;