@univerjs/preset-docs-drawing 0.7.0-nightly.202505211607 → 0.7.0-nightly.202505231607
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 +1 -1
- package/lib/es/index.js +9 -8
- package/lib/index.js +9 -8
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("@univerjs/core"),r=require("@univerjs/docs-drawing"),t=require("@univerjs/docs-drawing-ui"),n=require("@univerjs/drawing"),i=require("@univerjs/drawing-ui");function l(e={}){const{collaboration:o=!1}=e;return{plugins:[[n.UniverDrawingPlugin,{override:o?[[a.IImageIoService,null]]:[]}],i.UniverDrawingUIPlugin,r.UniverDocsDrawingPlugin,t.UniverDocsDrawingUIPlugin].filter(c=>!!c)}}exports.UniverDocsDrawingPreset=l;Object.keys(r).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>r[e]})});Object.keys(t).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>t[e]})});Object.keys(n).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>n[e]})});Object.keys(i).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>i[e]})});
|
package/lib/es/index.js
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IImageIoService as n } from "@univerjs/core";
|
|
2
|
+
import { UniverDocsDrawingPlugin as e } from "@univerjs/docs-drawing";
|
|
2
3
|
export * from "@univerjs/docs-drawing";
|
|
3
|
-
import { UniverDocsDrawingUIPlugin as
|
|
4
|
+
import { UniverDocsDrawingUIPlugin as t } from "@univerjs/docs-drawing-ui";
|
|
4
5
|
export * from "@univerjs/docs-drawing-ui";
|
|
5
|
-
import { UniverDrawingPlugin as
|
|
6
|
+
import { UniverDrawingPlugin as m } from "@univerjs/drawing";
|
|
6
7
|
export * from "@univerjs/drawing";
|
|
7
8
|
import { UniverDrawingUIPlugin as f } from "@univerjs/drawing-ui";
|
|
8
9
|
export * from "@univerjs/drawing-ui";
|
|
9
|
-
function
|
|
10
|
+
function D(r = {}) {
|
|
10
11
|
const { collaboration: o = !1 } = r;
|
|
11
12
|
return {
|
|
12
13
|
plugins: [
|
|
13
|
-
[
|
|
14
|
+
[m, { override: o ? [[n, null]] : [] }],
|
|
14
15
|
f,
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
e,
|
|
17
|
+
t
|
|
17
18
|
].filter((i) => !!i)
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
21
|
export {
|
|
21
|
-
|
|
22
|
+
D as UniverDocsDrawingPreset
|
|
22
23
|
};
|
package/lib/index.js
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IImageIoService as n } from "@univerjs/core";
|
|
2
|
+
import { UniverDocsDrawingPlugin as e } from "@univerjs/docs-drawing";
|
|
2
3
|
export * from "@univerjs/docs-drawing";
|
|
3
|
-
import { UniverDocsDrawingUIPlugin as
|
|
4
|
+
import { UniverDocsDrawingUIPlugin as t } from "@univerjs/docs-drawing-ui";
|
|
4
5
|
export * from "@univerjs/docs-drawing-ui";
|
|
5
|
-
import { UniverDrawingPlugin as
|
|
6
|
+
import { UniverDrawingPlugin as m } from "@univerjs/drawing";
|
|
6
7
|
export * from "@univerjs/drawing";
|
|
7
8
|
import { UniverDrawingUIPlugin as f } from "@univerjs/drawing-ui";
|
|
8
9
|
export * from "@univerjs/drawing-ui";
|
|
9
|
-
function
|
|
10
|
+
function D(r = {}) {
|
|
10
11
|
const { collaboration: o = !1 } = r;
|
|
11
12
|
return {
|
|
12
13
|
plugins: [
|
|
13
|
-
[
|
|
14
|
+
[m, { override: o ? [[n, null]] : [] }],
|
|
14
15
|
f,
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
e,
|
|
17
|
+
t
|
|
17
18
|
].filter((i) => !!i)
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
21
|
export {
|
|
21
|
-
|
|
22
|
+
D as UniverDocsDrawingPreset
|
|
22
23
|
};
|
package/lib/umd/index.js
CHANGED
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
// index
|
|
14
|
-
(function(i,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("@univerjs/docs-drawing"),require("@univerjs/docs-drawing-ui"),require("@univerjs/drawing"),require("@univerjs/drawing-ui")):typeof define=="function"&&define.amd?define(["exports","@univerjs/docs-drawing","@univerjs/docs-drawing-ui","@univerjs/drawing","@univerjs/drawing-ui"],e):(i=typeof globalThis<"u"?globalThis:i||self,e(i.UniverPresetDocsDrawing={},i.UniverDocsDrawing,i.UniverDocsDrawingUi,i.UniverDrawing,i.UniverDrawingUi))})(this,function(i,e,r,n,s){"use strict";function
|
|
14
|
+
(function(i,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("@univerjs/core"),require("@univerjs/docs-drawing"),require("@univerjs/docs-drawing-ui"),require("@univerjs/drawing"),require("@univerjs/drawing-ui")):typeof define=="function"&&define.amd?define(["exports","@univerjs/core","@univerjs/docs-drawing","@univerjs/docs-drawing-ui","@univerjs/drawing","@univerjs/drawing-ui"],e):(i=typeof globalThis<"u"?globalThis:i||self,e(i.UniverPresetDocsDrawing={},i.UniverCore,i.UniverDocsDrawing,i.UniverDocsDrawingUi,i.UniverDrawing,i.UniverDrawingUi))})(this,function(i,e,r,n,u,s){"use strict";function o(v={}){const{collaboration:d=!1}=v;return{plugins:[[u.UniverDrawingPlugin,{override:d?[[e.IImageIoService,null]]:[]}],s.UniverDrawingUIPlugin,r.UniverDocsDrawingPlugin,n.UniverDocsDrawingUIPlugin].filter(t=>!!t)}}i.UniverDocsDrawingPreset=o,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/preset-docs-drawing",
|
|
3
|
-
"version": "0.7.0-nightly.
|
|
3
|
+
"version": "0.7.0-nightly.202505231607",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
"rxjs": ">=7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@univerjs/docs-drawing": "0.7.0-nightly.
|
|
61
|
-
"@univerjs/docs-drawing-ui": "0.7.0-nightly.
|
|
62
|
-
"@univerjs/drawing": "0.7.0-nightly.
|
|
63
|
-
"@univerjs/drawing-ui": "0.7.0-nightly.
|
|
60
|
+
"@univerjs/docs-drawing": "0.7.0-nightly.202505231607",
|
|
61
|
+
"@univerjs/docs-drawing-ui": "0.7.0-nightly.202505231607",
|
|
62
|
+
"@univerjs/drawing": "0.7.0-nightly.202505231607",
|
|
63
|
+
"@univerjs/drawing-ui": "0.7.0-nightly.202505231607"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@univerjs/core": "0.7.0-nightly.
|
|
66
|
+
"@univerjs/core": "0.7.0-nightly.202505231607",
|
|
67
67
|
"react": "18.3.1",
|
|
68
68
|
"react-dom": "18.3.1",
|
|
69
69
|
"rxjs": "7.8.2",
|