@univerjs/docs-drawing 0.21.1 → 0.22.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/README.md +27 -16
- package/lib/cjs/index.js +7 -7
- package/lib/es/index.js +7 -7
- package/lib/index.js +7 -7
- package/lib/umd/index.js +1 -1
- package/package.json +15 -9
package/README.md
CHANGED
|
@@ -1,27 +1,38 @@
|
|
|
1
1
|
# @univerjs/docs-drawing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://npmjs.com/package/@univerjs/docs-drawing)
|
|
4
|
+
[](https://npmjs.com/package/@univerjs/docs-drawing)
|
|
5
|
+
[](https://npmjs.com/package/@univerjs/docs-drawing)
|
|
4
6
|
|
|
5
|
-
|
|
6
|
-
| --- | --- | --- | --- | --- | :---: | :---: |
|
|
7
|
-
| `@univerjs/docs-drawing` | `UniverDocsDrawing` | [![][npm-version-shield]][npm-version-link] | ![][npm-license-shield] | ![][npm-downloads-shield] | ❌ | ❌ |
|
|
7
|
+
`@univerjs/docs-drawing` connects the common drawing model to Univer Docs so documents can host and manage drawing objects.
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## Package Overview
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
| Package | UMD global | CSS | Locales | Facade entry |
|
|
12
|
+
| --- | --- | :---: | :---: | :---: |
|
|
13
|
+
| `@univerjs/docs-drawing` | `UniverDocsDrawing` | No | No | No |
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
## Installation
|
|
14
16
|
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
+
```sh
|
|
18
|
+
pnpm add @univerjs/docs-drawing
|
|
19
|
+
# or
|
|
17
20
|
npm install @univerjs/docs-drawing
|
|
21
|
+
```
|
|
18
22
|
|
|
19
|
-
|
|
20
|
-
|
|
23
|
+
Keep all `@univerjs/*` packages on the same version.
|
|
24
|
+
|
|
25
|
+
## Usage
|
|
26
|
+
|
|
27
|
+
```ts
|
|
28
|
+
import { UniverDocsDrawingPlugin } from '@univerjs/docs-drawing';
|
|
29
|
+
|
|
30
|
+
univer.registerPlugin(UniverDocsDrawingPlugin);
|
|
21
31
|
```
|
|
22
32
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
33
|
+
## Resources
|
|
34
|
+
|
|
35
|
+
- [Documentation](https://docs.univer.ai)
|
|
36
|
+
- [NPM package](https://npmjs.com/package/@univerjs/docs-drawing)
|
|
37
|
+
- [GitHub repository](https://github.com/dream-num/univer)
|
|
38
|
+
|
package/lib/cjs/index.js
CHANGED
|
@@ -7,7 +7,7 @@ var DocDrawingService = class extends _univerjs_drawing.UnitDrawingService {};
|
|
|
7
7
|
const IDocDrawingService = (0, _univerjs_core.createIdentifier)("univer.doc.plugin.doc-drawing.service");
|
|
8
8
|
|
|
9
9
|
//#endregion
|
|
10
|
-
//#region \0@oxc-project+runtime@0.
|
|
10
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/decorateParam.js
|
|
11
11
|
function __decorateParam(paramIndex, decorator) {
|
|
12
12
|
return function(target, key) {
|
|
13
13
|
decorator(target, key, paramIndex);
|
|
@@ -15,7 +15,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
//#endregion
|
|
18
|
-
//#region \0@oxc-project+runtime@0.
|
|
18
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/decorate.js
|
|
19
19
|
function __decorate(decorators, target, key, desc) {
|
|
20
20
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
21
21
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -122,7 +122,7 @@ DocDrawingController = __decorate([
|
|
|
122
122
|
//#endregion
|
|
123
123
|
//#region package.json
|
|
124
124
|
var name = "@univerjs/docs-drawing";
|
|
125
|
-
var version = "0.
|
|
125
|
+
var version = "0.22.0";
|
|
126
126
|
|
|
127
127
|
//#endregion
|
|
128
128
|
//#region src/config/config.ts
|
|
@@ -146,7 +146,7 @@ const configSymbol = Symbol(DOCS_DRAWING_PLUGIN_CONFIG_KEY);
|
|
|
146
146
|
const defaultPluginConfig = {};
|
|
147
147
|
|
|
148
148
|
//#endregion
|
|
149
|
-
//#region \0@oxc-project+runtime@0.
|
|
149
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/typeof.js
|
|
150
150
|
function _typeof(o) {
|
|
151
151
|
"@babel/helpers - typeof";
|
|
152
152
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -157,7 +157,7 @@ function _typeof(o) {
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
//#endregion
|
|
160
|
-
//#region \0@oxc-project+runtime@0.
|
|
160
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/toPrimitive.js
|
|
161
161
|
function toPrimitive(t, r) {
|
|
162
162
|
if ("object" != _typeof(t) || !t) return t;
|
|
163
163
|
var e = t[Symbol.toPrimitive];
|
|
@@ -170,14 +170,14 @@ function toPrimitive(t, r) {
|
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
//#endregion
|
|
173
|
-
//#region \0@oxc-project+runtime@0.
|
|
173
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/toPropertyKey.js
|
|
174
174
|
function toPropertyKey(t) {
|
|
175
175
|
var i = toPrimitive(t, "string");
|
|
176
176
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
//#endregion
|
|
180
|
-
//#region \0@oxc-project+runtime@0.
|
|
180
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/defineProperty.js
|
|
181
181
|
function _defineProperty(e, r, t) {
|
|
182
182
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
183
183
|
value: t,
|
package/lib/es/index.js
CHANGED
|
@@ -6,7 +6,7 @@ var DocDrawingService = class extends UnitDrawingService {};
|
|
|
6
6
|
const IDocDrawingService = createIdentifier("univer.doc.plugin.doc-drawing.service");
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
|
-
//#region \0@oxc-project+runtime@0.
|
|
9
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/decorateParam.js
|
|
10
10
|
function __decorateParam(paramIndex, decorator) {
|
|
11
11
|
return function(target, key) {
|
|
12
12
|
decorator(target, key, paramIndex);
|
|
@@ -14,7 +14,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
17
|
-
//#region \0@oxc-project+runtime@0.
|
|
17
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/decorate.js
|
|
18
18
|
function __decorate(decorators, target, key, desc) {
|
|
19
19
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
20
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -121,7 +121,7 @@ DocDrawingController = __decorate([
|
|
|
121
121
|
//#endregion
|
|
122
122
|
//#region package.json
|
|
123
123
|
var name = "@univerjs/docs-drawing";
|
|
124
|
-
var version = "0.
|
|
124
|
+
var version = "0.22.0";
|
|
125
125
|
|
|
126
126
|
//#endregion
|
|
127
127
|
//#region src/config/config.ts
|
|
@@ -145,7 +145,7 @@ const configSymbol = Symbol(DOCS_DRAWING_PLUGIN_CONFIG_KEY);
|
|
|
145
145
|
const defaultPluginConfig = {};
|
|
146
146
|
|
|
147
147
|
//#endregion
|
|
148
|
-
//#region \0@oxc-project+runtime@0.
|
|
148
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/typeof.js
|
|
149
149
|
function _typeof(o) {
|
|
150
150
|
"@babel/helpers - typeof";
|
|
151
151
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -156,7 +156,7 @@ function _typeof(o) {
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
//#endregion
|
|
159
|
-
//#region \0@oxc-project+runtime@0.
|
|
159
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/toPrimitive.js
|
|
160
160
|
function toPrimitive(t, r) {
|
|
161
161
|
if ("object" != _typeof(t) || !t) return t;
|
|
162
162
|
var e = t[Symbol.toPrimitive];
|
|
@@ -169,14 +169,14 @@ function toPrimitive(t, r) {
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
//#endregion
|
|
172
|
-
//#region \0@oxc-project+runtime@0.
|
|
172
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/toPropertyKey.js
|
|
173
173
|
function toPropertyKey(t) {
|
|
174
174
|
var i = toPrimitive(t, "string");
|
|
175
175
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
//#endregion
|
|
179
|
-
//#region \0@oxc-project+runtime@0.
|
|
179
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/defineProperty.js
|
|
180
180
|
function _defineProperty(e, r, t) {
|
|
181
181
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
182
182
|
value: t,
|
package/lib/index.js
CHANGED
|
@@ -6,7 +6,7 @@ var DocDrawingService = class extends UnitDrawingService {};
|
|
|
6
6
|
const IDocDrawingService = createIdentifier("univer.doc.plugin.doc-drawing.service");
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
|
-
//#region \0@oxc-project+runtime@0.
|
|
9
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/decorateParam.js
|
|
10
10
|
function __decorateParam(paramIndex, decorator) {
|
|
11
11
|
return function(target, key) {
|
|
12
12
|
decorator(target, key, paramIndex);
|
|
@@ -14,7 +14,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
17
|
-
//#region \0@oxc-project+runtime@0.
|
|
17
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/decorate.js
|
|
18
18
|
function __decorate(decorators, target, key, desc) {
|
|
19
19
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
20
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -121,7 +121,7 @@ DocDrawingController = __decorate([
|
|
|
121
121
|
//#endregion
|
|
122
122
|
//#region package.json
|
|
123
123
|
var name = "@univerjs/docs-drawing";
|
|
124
|
-
var version = "0.
|
|
124
|
+
var version = "0.22.0";
|
|
125
125
|
|
|
126
126
|
//#endregion
|
|
127
127
|
//#region src/config/config.ts
|
|
@@ -145,7 +145,7 @@ const configSymbol = Symbol(DOCS_DRAWING_PLUGIN_CONFIG_KEY);
|
|
|
145
145
|
const defaultPluginConfig = {};
|
|
146
146
|
|
|
147
147
|
//#endregion
|
|
148
|
-
//#region \0@oxc-project+runtime@0.
|
|
148
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/typeof.js
|
|
149
149
|
function _typeof(o) {
|
|
150
150
|
"@babel/helpers - typeof";
|
|
151
151
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -156,7 +156,7 @@ function _typeof(o) {
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
//#endregion
|
|
159
|
-
//#region \0@oxc-project+runtime@0.
|
|
159
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/toPrimitive.js
|
|
160
160
|
function toPrimitive(t, r) {
|
|
161
161
|
if ("object" != _typeof(t) || !t) return t;
|
|
162
162
|
var e = t[Symbol.toPrimitive];
|
|
@@ -169,14 +169,14 @@ function toPrimitive(t, r) {
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
//#endregion
|
|
172
|
-
//#region \0@oxc-project+runtime@0.
|
|
172
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/toPropertyKey.js
|
|
173
173
|
function toPropertyKey(t) {
|
|
174
174
|
var i = toPrimitive(t, "string");
|
|
175
175
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
//#endregion
|
|
179
|
-
//#region \0@oxc-project+runtime@0.
|
|
179
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/defineProperty.js
|
|
180
180
|
function _defineProperty(e, r, t) {
|
|
181
181
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
182
182
|
value: t,
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`@univerjs/core`),require(`@univerjs/drawing`)):typeof define==`function`&&define.amd?define([`exports`,`@univerjs/core`,`@univerjs/drawing`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.UniverDocsDrawing={},e.UniverCore,e.UniverDrawing))})(this,function(e,t,n){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var r=class extends n.UnitDrawingService{};let i=(0,t.createIdentifier)(`univer.doc.plugin.doc-drawing.service`);function a(e,t){return function(n,r){t(n,r,e)}}function o(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}let s=`DOC_DRAWING_PLUGIN`,c=class extends t.Disposable{constructor(e,t,n,r){super(),this._docDrawingService=e,this._drawingManagerService=t,this._resourceManagerService=n,this._univerInstanceService=r,this._init()}_init(){this._initSnapshot()}_initSnapshot(){let e=e=>{let n=this._univerInstanceService.getUnit(e,t.UniverInstanceType.UNIVER_DOC);if(n){let e=n.getSnapshot().drawings,t=n.getSnapshot().drawingsOrder;return JSON.stringify({data:e==null?{}:e,order:t==null?[]:t})}return``},n=e=>{if(!e)return{data:{},order:[]};try{return JSON.parse(e)}catch{return{data:{},order:[]}}};this.disposeWithMe(this._resourceManagerService.registerPluginResource({pluginName:s,businesses:[t.UniverInstanceType.UNIVER_DOC],toJson:t=>e(t),parseJson:e=>n(e),onUnLoad:e=>{this._setDrawingDataForUnit(e,{data:{},order:[]})},onLoad:(e,t)=>{var n,r;this._setDrawingDataForUnit(e,{data:(n=t.data)==null?{}:n,order:(r=t.order)==null?[]:r})}}))}_setDrawingDataForUnit(e,t){let n=this._univerInstanceService.getUnit(e);n!=null&&(n.resetDrawing(t.data,t.order),this.loadDrawingDataForUnit(e))}loadDrawingDataForUnit(e){let n=this._univerInstanceService.getUnit(e,t.UniverInstanceType.UNIVER_DOC);if(!n)return!1;let r=e,i=n.getDrawings(),a=n.getDrawingsOrder();if(!i||!a)return!1;Object.keys(i).forEach(e=>{i[e]={...i[e]}});let o={[r]:{unitId:e,subUnitId:r,data:i,order:a}};return this._docDrawingService.registerDrawingData(e,o),this._drawingManagerService.registerDrawingData(e,o),!0}};c=o([a(0,i),a(1,n.IDrawingManagerService),a(2,t.IResourceManagerService),a(3,t.IUniverInstanceService)],c);var l=`@univerjs/docs-drawing`,u=`0.
|
|
1
|
+
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`@univerjs/core`),require(`@univerjs/drawing`)):typeof define==`function`&&define.amd?define([`exports`,`@univerjs/core`,`@univerjs/drawing`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.UniverDocsDrawing={},e.UniverCore,e.UniverDrawing))})(this,function(e,t,n){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var r=class extends n.UnitDrawingService{};let i=(0,t.createIdentifier)(`univer.doc.plugin.doc-drawing.service`);function a(e,t){return function(n,r){t(n,r,e)}}function o(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}let s=`DOC_DRAWING_PLUGIN`,c=class extends t.Disposable{constructor(e,t,n,r){super(),this._docDrawingService=e,this._drawingManagerService=t,this._resourceManagerService=n,this._univerInstanceService=r,this._init()}_init(){this._initSnapshot()}_initSnapshot(){let e=e=>{let n=this._univerInstanceService.getUnit(e,t.UniverInstanceType.UNIVER_DOC);if(n){let e=n.getSnapshot().drawings,t=n.getSnapshot().drawingsOrder;return JSON.stringify({data:e==null?{}:e,order:t==null?[]:t})}return``},n=e=>{if(!e)return{data:{},order:[]};try{return JSON.parse(e)}catch{return{data:{},order:[]}}};this.disposeWithMe(this._resourceManagerService.registerPluginResource({pluginName:s,businesses:[t.UniverInstanceType.UNIVER_DOC],toJson:t=>e(t),parseJson:e=>n(e),onUnLoad:e=>{this._setDrawingDataForUnit(e,{data:{},order:[]})},onLoad:(e,t)=>{var n,r;this._setDrawingDataForUnit(e,{data:(n=t.data)==null?{}:n,order:(r=t.order)==null?[]:r})}}))}_setDrawingDataForUnit(e,t){let n=this._univerInstanceService.getUnit(e);n!=null&&(n.resetDrawing(t.data,t.order),this.loadDrawingDataForUnit(e))}loadDrawingDataForUnit(e){let n=this._univerInstanceService.getUnit(e,t.UniverInstanceType.UNIVER_DOC);if(!n)return!1;let r=e,i=n.getDrawings(),a=n.getDrawingsOrder();if(!i||!a)return!1;Object.keys(i).forEach(e=>{i[e]={...i[e]}});let o={[r]:{unitId:e,subUnitId:r,data:i,order:a}};return this._docDrawingService.registerDrawingData(e,o),this._drawingManagerService.registerDrawingData(e,o),!0}};c=o([a(0,i),a(1,n.IDrawingManagerService),a(2,t.IResourceManagerService),a(3,t.IUniverInstanceService)],c);var l=`@univerjs/docs-drawing`,u=`0.22.0`;let d=`docs-drawing.config`;Symbol(d);let f={};function p(e){"@babel/helpers - typeof";return p=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},p(e)}function m(e,t){if(p(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(p(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function h(e){var t=m(e,`string`);return p(t)==`symbol`?t:t+``}function g(e,t,n){return(t=h(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let _=class extends t.Plugin{constructor(e=f,n,r){super(),this._config=e,this._injector=n,this._configService=r;let{...i}=(0,t.merge)({},f,this._config);this._configService.setConfig(d,i)}onStarting(){[[c],[r],[i,{useClass:r}]].forEach(e=>this._injector.add(e)),(0,t.touchDependencies)(this._injector,[[c]])}};g(_,`pluginName`,s),g(_,`packageName`,l),g(_,`version`,u),g(_,`type`,t.UniverInstanceType.UNIVER_DOC),_=o([a(1,(0,t.Inject)(t.Injector)),a(2,t.IConfigService)],_),e.DOCS_DRAWING_PLUGIN=s,Object.defineProperty(e,`DocDrawingController`,{enumerable:!0,get:function(){return c}}),e.DocDrawingService=r,e.IDocDrawingService=i,Object.defineProperty(e,`UniverDocsDrawingPlugin`,{enumerable:!0,get:function(){return _}})});
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/docs-drawing",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"private": false,
|
|
5
|
-
"description": "",
|
|
6
|
-
"author": "DreamNum <developer@univer.ai>",
|
|
5
|
+
"description": "Drawing model integration for Univer Docs.",
|
|
6
|
+
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"funding": {
|
|
9
9
|
"type": "opencollective",
|
|
@@ -17,7 +17,13 @@
|
|
|
17
17
|
"bugs": {
|
|
18
18
|
"url": "https://github.com/dream-num/univer/issues"
|
|
19
19
|
},
|
|
20
|
-
"keywords": [
|
|
20
|
+
"keywords": [
|
|
21
|
+
"univer",
|
|
22
|
+
"docs",
|
|
23
|
+
"drawing",
|
|
24
|
+
"document",
|
|
25
|
+
"plugin"
|
|
26
|
+
],
|
|
21
27
|
"exports": {
|
|
22
28
|
".": {
|
|
23
29
|
"import": "./lib/es/index.js",
|
|
@@ -43,13 +49,13 @@
|
|
|
43
49
|
"lib"
|
|
44
50
|
],
|
|
45
51
|
"dependencies": {
|
|
46
|
-
"@univerjs/core": "0.
|
|
47
|
-
"@univerjs/drawing": "0.
|
|
52
|
+
"@univerjs/core": "0.22.0",
|
|
53
|
+
"@univerjs/drawing": "0.22.0"
|
|
48
54
|
},
|
|
49
55
|
"devDependencies": {
|
|
50
|
-
"typescript": "^6.0.
|
|
51
|
-
"vitest": "^4.1.
|
|
52
|
-
"@univerjs-infra/shared": "0.
|
|
56
|
+
"typescript": "^6.0.3",
|
|
57
|
+
"vitest": "^4.1.5",
|
|
58
|
+
"@univerjs-infra/shared": "0.22.0"
|
|
53
59
|
},
|
|
54
60
|
"scripts": {
|
|
55
61
|
"test": "vitest run",
|