@univerjs/sheets-ui 0.6.6-experimental.20250317-28d180b → 0.6.6-experimental.20250321-5cc1a0d

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.
@@ -52,6 +52,7 @@ export declare class EditingRenderController extends Disposable implements IRend
52
52
  private _handleEditorVisible;
53
53
  private _handleEditorInvisible;
54
54
  private _getEditorObject;
55
+ private _isCellImageData;
55
56
  submitCellData(documentDataModel: DocumentDataModel): Promise<boolean>;
56
57
  private _submitCellData;
57
58
  private _exitInput;
@@ -60,7 +60,7 @@ export interface IRuleConfirmedData {
60
60
  cellData: Nullable<ICellData>;
61
61
  }
62
62
  export type APPLY_FUNCTIONS = {
63
- [key in APPLY_TYPE]?: (dataWithIndex: ICopyDataInType, len: number, direction: Direction, copyDataPiece: ICopyDataPiece) => Array<Nullable<ICellData>>;
63
+ [key in APPLY_TYPE]?: (dataWithIndex: ICopyDataInType, len: number, direction: Direction, copyDataPiece: ICopyDataPiece, location?: IAutoFillLocation) => Array<Nullable<ICellData>>;
64
64
  };
65
65
  export declare enum APPLY_TYPE {
66
66
  COPY = "COPY",
@@ -1,5 +1,5 @@
1
1
  import { ICustomRange, IParagraph, IPosition, Nullable, Disposable, IUniverInstanceService } from '@univerjs/core';
2
- import { IBoundRectNoAngle, IMouseEvent, IPointerEvent, IRenderManagerService } from '@univerjs/engine-render';
2
+ import { IBoundRectNoAngle, IDocumentSkeletonDrawing, IMouseEvent, IPointerEvent, IRenderManagerService } from '@univerjs/engine-render';
3
3
  import { ISheetLocation, ISheetLocationBase } from '@univerjs/sheets';
4
4
  export interface IHoverCellPosition {
5
5
  position: IPosition;
@@ -27,7 +27,11 @@ export interface IHoverRichTextInfo extends IHoverCellPosition {
27
27
  * rect of custom-range or bullet
28
28
  */
29
29
  rect?: Nullable<IBoundRectNoAngle>;
30
- drawing?: Nullable<string>;
30
+ drawing?: Nullable<{
31
+ drawingId: string;
32
+ rect: IBoundRectNoAngle;
33
+ drawing: IDocumentSkeletonDrawing;
34
+ }>;
31
35
  }
32
36
  export interface IHoverRichTextPosition extends ISheetLocationBase {
33
37
  /**
@@ -42,7 +46,11 @@ export interface IHoverRichTextPosition extends ISheetLocationBase {
42
46
  * rect of custom-range or bullet
43
47
  */
44
48
  rect?: Nullable<IBoundRectNoAngle>;
45
- drawing?: Nullable<string>;
49
+ drawing?: Nullable<{
50
+ drawingId: string;
51
+ rect: IBoundRectNoAngle;
52
+ drawing: IDocumentSkeletonDrawing;
53
+ }>;
46
54
  event?: IMouseEvent | IPointerEvent;
47
55
  }
48
56
  export interface IHoverHeaderPosition {
@@ -77,6 +85,7 @@ export declare class HoverManagerService extends Disposable {
77
85
  private _currentRowHeaderPointerUp$;
78
86
  private _currentColHeaderPointerUp$;
79
87
  currentCell$: import('rxjs').Observable<Nullable<IHoverCellPosition>>;
88
+ currentRichTextNoDistinct$: import('rxjs').Observable<void | IHoverRichTextPosition | null | undefined>;
80
89
  currentRichText$: import('rxjs').Observable<void | IHoverRichTextPosition | null | undefined>;
81
90
  /**
82
91
  * Nearly same as currentRichText$, but with event
@@ -29,6 +29,7 @@ export declare const calculateDocSkeletonRects: (docSkeleton: DocumentSkeleton,
29
29
  left: number;
30
30
  right: number;
31
31
  };
32
+ drawing: import('@univerjs/engine-render').IDocumentSkeletonDrawing;
32
33
  }[];
33
34
  };
34
35
  export declare function calcPadding(cell: ICellWithCoord, font: IFontCacheItem, isNum: boolean): {
@@ -15,6 +15,7 @@
15
15
  */
16
16
  interface IProps {
17
17
  className?: string;
18
+ disableDefinedName?: boolean;
18
19
  }
19
20
  export declare function FormulaBar(props: IProps): import("react/jsx-runtime").JSX.Element;
20
21
  export {};