@univerjs/drawing-ui 0.2.14 → 0.3.0-alpha.0
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/es/index.js +1 -1
- package/lib/types/index.d.ts +1 -1
- package/package.json +14 -17
package/lib/es/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var __name = (target, value) => __defProp(target, "name", { value, configurable:
|
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key != "symbol" ? key + "" : key, value);
|
|
5
5
|
import { getDrawingShapeKeyByDrawingSearch, DrawingTypeEnum, ImageSourceType, IDrawingManagerService, IImageIoService, ArrangeTypeEnum } from "@univerjs/drawing";
|
|
6
6
|
import { Group, DRAWING_OBJECT_LAYER_INDEX, Image, IRenderManagerService, getGroupState, transformObjectOutOfGroup, RENDER_CLASS_TYPE, Shape, Rect, Canvas, precisionTo, CURSOR_TYPE, Vector2, degToRad } from "@univerjs/engine-render";
|
|
7
|
-
import { UniverInstanceType, useDependency, LocaleService, debounce, CommandType, ICommandService, Tools,
|
|
7
|
+
import { UniverInstanceType, useDependency, LocaleService, debounce, CommandType, ICommandService, Tools, OnLifecycle, LifecycleStages, Disposable, checkIfMove, toDisposable, IUniverInstanceService, Inject, Injector, Plugin, IConfigService } from "@univerjs/core";
|
|
8
8
|
import React, { forwardRef, useRef, createElement, useState, useEffect } from "react";
|
|
9
9
|
import { Button, InputNumber, Checkbox, Select, Dropdown, MessageType } from "@univerjs/design";
|
|
10
10
|
import clsx from "clsx";
|
package/lib/types/index.d.ts
CHANGED
|
@@ -21,5 +21,5 @@ export { COMPONENT_IMAGE_POPUP_MENU } from './views/image-popup-menu/component-n
|
|
|
21
21
|
export { UniverDrawingUIPlugin } from './plugin';
|
|
22
22
|
export { ImageCropperObject } from './views/crop/image-cropper-object';
|
|
23
23
|
export { SetDrawingAlignOperation } from './commands/operations/drawing-align.operation';
|
|
24
|
-
export {
|
|
24
|
+
export { AutoImageCropOperation, CloseImageCropOperation, OpenImageCropOperation } from './commands/operations/image-crop.operation';
|
|
25
25
|
export { ImageResetSizeOperation } from './commands/operations/image-reset-size.operation';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/drawing-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -18,9 +18,6 @@
|
|
|
18
18
|
"url": "https://github.com/dream-num/univer/issues"
|
|
19
19
|
},
|
|
20
20
|
"keywords": [],
|
|
21
|
-
"sideEffects": [
|
|
22
|
-
"**/*.css"
|
|
23
|
-
],
|
|
24
21
|
"exports": {
|
|
25
22
|
".": {
|
|
26
23
|
"import": "./lib/es/index.js",
|
|
@@ -51,29 +48,29 @@
|
|
|
51
48
|
"clsx": ">=2.0.0",
|
|
52
49
|
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
|
|
53
50
|
"rxjs": ">=7.0.0",
|
|
54
|
-
"@univerjs/core": "0.
|
|
55
|
-
"@univerjs/design": "0.
|
|
56
|
-
"@univerjs/drawing": "0.
|
|
57
|
-
"@univerjs/engine-render": "0.
|
|
58
|
-
"@univerjs/ui": "0.
|
|
51
|
+
"@univerjs/core": "0.3.0-alpha.0",
|
|
52
|
+
"@univerjs/design": "0.3.0-alpha.0",
|
|
53
|
+
"@univerjs/drawing": "0.3.0-alpha.0",
|
|
54
|
+
"@univerjs/engine-render": "0.3.0-alpha.0",
|
|
55
|
+
"@univerjs/ui": "0.3.0-alpha.0"
|
|
59
56
|
},
|
|
60
57
|
"dependencies": {
|
|
61
58
|
"@univerjs/icons": "^0.1.78",
|
|
62
59
|
"clsx": "^2.1.1",
|
|
63
|
-
"@univerjs/core": "0.
|
|
64
|
-
"@univerjs/design": "0.
|
|
65
|
-
"@univerjs/drawing": "0.
|
|
66
|
-
"@univerjs/engine-render": "0.
|
|
67
|
-
"@univerjs/ui": "0.
|
|
60
|
+
"@univerjs/core": "0.3.0-alpha.0",
|
|
61
|
+
"@univerjs/design": "0.3.0-alpha.0",
|
|
62
|
+
"@univerjs/drawing": "0.3.0-alpha.0",
|
|
63
|
+
"@univerjs/engine-render": "0.3.0-alpha.0",
|
|
64
|
+
"@univerjs/ui": "0.3.0-alpha.0"
|
|
68
65
|
},
|
|
69
66
|
"devDependencies": {
|
|
70
67
|
"less": "^4.2.0",
|
|
71
68
|
"react": "18.3.1",
|
|
72
69
|
"rxjs": "^7.8.1",
|
|
73
70
|
"typescript": "^5.6.2",
|
|
74
|
-
"vite": "^5.4.
|
|
75
|
-
"vitest": "^2.
|
|
76
|
-
"@univerjs-infra/shared": "0.
|
|
71
|
+
"vite": "^5.4.8",
|
|
72
|
+
"vitest": "^2.1.1",
|
|
73
|
+
"@univerjs-infra/shared": "0.3.0-alpha.0"
|
|
77
74
|
},
|
|
78
75
|
"univerSpace": {
|
|
79
76
|
".": {
|