@univerjs/sheets-ui 0.6.6-nightly.202503181607 → 0.6.6-nightly.202503201607
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.
- package/lib/cjs/index.js +26 -26
- package/lib/es/index.js +4611 -4585
- package/lib/types/controllers/editor/editing.render-controller.d.ts +1 -0
- package/lib/types/services/hover-manager.service.d.ts +12 -3
- package/lib/types/services/utils/doc-skeleton-util.d.ts +1 -0
- package/lib/types/views/formula-bar/FormulaBar.d.ts +1 -0
- package/lib/umd/index.js +24 -24
- package/package.json +11 -11
|
@@ -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;
|
|
@@ -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<
|
|
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<
|
|
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): {
|