@univerjs/docs-drawing 0.6.4 → 0.6.5

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.
@@ -17,3 +17,4 @@ export { UniverDocsDrawingPlugin } from './plugin';
17
17
  export { DocDrawingService, type IDocDrawing, IDocDrawingService, type IDocImage } from './services/doc-drawing.service';
18
18
  export { DOCS_DRAWING_PLUGIN, type IDocDrawingModel } from './controllers/doc-drawing.controller';
19
19
  export { DocDrawingController } from './controllers/doc-drawing.controller';
20
+ export { type IDocFloatDom } from './services/doc-drawing.service';
@@ -1,5 +1,5 @@
1
1
  import { IDocDrawingBase } from '@univerjs/core';
2
- import { IImageData, IUnitDrawingService, UnitDrawingService } from '@univerjs/drawing';
2
+ import { IDocFloatDomData, IImageData, IUnitDrawingService, UnitDrawingService } from '@univerjs/drawing';
3
3
  export interface IDocImage extends IImageData, IDocDrawingBase {
4
4
  }
5
5
  /**
@@ -7,7 +7,9 @@ export interface IDocImage extends IImageData, IDocDrawingBase {
7
7
  */
8
8
  export interface IDocShape extends IDocDrawingBase {
9
9
  }
10
- export type IDocDrawing = IDocImage | IDocShape;
10
+ export interface IDocFloatDom extends IDocFloatDomData, IDocDrawingBase {
11
+ }
12
+ export type IDocDrawing = IDocImage | IDocFloatDom | IDocShape;
11
13
  type OptionalField<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
12
14
  export type IDocUpdateDrawing = OptionalField<IDocDrawing, 'drawingType' | 'layoutType' | 'docTransform' | 'description' | 'title'>;
13
15
  export declare class DocDrawingService extends UnitDrawingService<IDocDrawing> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/docs-drawing",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -43,14 +43,14 @@
43
43
  "lib"
44
44
  ],
45
45
  "dependencies": {
46
- "@univerjs/core": "0.6.4",
47
- "@univerjs/drawing": "0.6.4"
46
+ "@univerjs/drawing": "0.6.5",
47
+ "@univerjs/core": "0.6.5"
48
48
  },
49
49
  "devDependencies": {
50
50
  "typescript": "^5.8.2",
51
- "vite": "^6.2.0",
52
- "vitest": "^3.0.7",
53
- "@univerjs-infra/shared": "0.6.4"
51
+ "vite": "^6.2.1",
52
+ "vitest": "^3.0.8",
53
+ "@univerjs-infra/shared": "0.6.5"
54
54
  },
55
55
  "scripts": {
56
56
  "test": "vitest run",