@univerjs/preset-sheets-drawing 0.18.0 → 0.20.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/cjs/index.js +1 -1
- package/lib/es/index.js +7 -6
- package/lib/index.js +7 -6
- package/lib/types/umd.d.ts +2 -0
- package/lib/umd/index.js +10 -43
- package/lib/umd/locales/ca-ES.js +1 -1
- package/lib/umd/locales/en-US.js +1 -1
- package/lib/umd/locales/es-ES.js +1 -1
- package/lib/umd/locales/fa-IR.js +1 -1
- package/lib/umd/locales/fr-FR.js +1 -1
- package/lib/umd/locales/ja-JP.js +1 -1
- package/lib/umd/locales/ko-KR.js +1 -1
- package/lib/umd/locales/ru-RU.js +1 -1
- package/lib/umd/locales/sk-SK.js +1 -1
- package/lib/umd/locales/vi-VN.js +1 -1
- package/lib/umd/locales/zh-CN.js +1 -1
- package/lib/umd/locales/zh-TW.js +1 -1
- package/package.json +8 -8
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@univerjs/docs-drawing"),r=require("@univerjs/drawing"),n=require("@univerjs/drawing-ui"),i=require("@univerjs/sheets-drawing"),a=require("@univerjs/sheets-drawing-ui");require("@univerjs/sheets-drawing-ui/lib/facade");function l(e={}){const{collaboration:o=!1}=e;return{plugins:[[r.UniverDrawingPlugin,{override:o?[[r.IImageIoService,null]]:[]}],t.UniverDocsDrawingPlugin,n.UniverDrawingUIPlugin,i.UniverSheetsDrawingPlugin,a.UniverSheetsDrawingUIPlugin].filter(c=>!!c)}}exports.UniverSheetsDrawingPreset=l;Object.keys(t).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>t[e]})});Object.keys(r).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>r[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]})});Object.keys(a).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>a[e]})});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@univerjs/docs-drawing"),r=require("@univerjs/drawing"),n=require("@univerjs/drawing-ui"),i=require("@univerjs/sheets-drawing"),a=require("@univerjs/sheets-drawing-ui");require("@univerjs/sheets-drawing/lib/facade");require("@univerjs/sheets-drawing-ui/lib/facade");function l(e={}){const{collaboration:o=!1}=e;return{plugins:[[r.UniverDrawingPlugin,{override:o?[[r.IImageIoService,null]]:[]}],t.UniverDocsDrawingPlugin,n.UniverDrawingUIPlugin,i.UniverSheetsDrawingPlugin,a.UniverSheetsDrawingUIPlugin].filter(c=>!!c)}}exports.UniverSheetsDrawingPreset=l;Object.keys(t).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>t[e]})});Object.keys(r).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>r[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]})});Object.keys(a).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>a[e]})});
|
package/lib/es/index.js
CHANGED
|
@@ -4,23 +4,24 @@ import { UniverDrawingPlugin as n, IImageIoService as t } from "@univerjs/drawin
|
|
|
4
4
|
export * from "@univerjs/drawing";
|
|
5
5
|
import { UniverDrawingUIPlugin as m } from "@univerjs/drawing-ui";
|
|
6
6
|
export * from "@univerjs/drawing-ui";
|
|
7
|
-
import { UniverSheetsDrawingPlugin as
|
|
7
|
+
import { UniverSheetsDrawingPlugin as p } from "@univerjs/sheets-drawing";
|
|
8
8
|
export * from "@univerjs/sheets-drawing";
|
|
9
|
-
import { UniverSheetsDrawingUIPlugin as
|
|
9
|
+
import { UniverSheetsDrawingUIPlugin as f } from "@univerjs/sheets-drawing-ui";
|
|
10
10
|
export * from "@univerjs/sheets-drawing-ui";
|
|
11
|
+
import "@univerjs/sheets-drawing/lib/facade";
|
|
11
12
|
import "@univerjs/sheets-drawing-ui/lib/facade";
|
|
12
|
-
function
|
|
13
|
+
function D(r = {}) {
|
|
13
14
|
const { collaboration: o = !1 } = r;
|
|
14
15
|
return {
|
|
15
16
|
plugins: [
|
|
16
17
|
[n, { override: o ? [[t, null]] : [] }],
|
|
17
18
|
e,
|
|
18
19
|
m,
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
p,
|
|
21
|
+
f
|
|
21
22
|
].filter((i) => !!i)
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
export {
|
|
25
|
-
|
|
26
|
+
D as UniverSheetsDrawingPreset
|
|
26
27
|
};
|
package/lib/index.js
CHANGED
|
@@ -4,23 +4,24 @@ import { UniverDrawingPlugin as n, IImageIoService as t } from "@univerjs/drawin
|
|
|
4
4
|
export * from "@univerjs/drawing";
|
|
5
5
|
import { UniverDrawingUIPlugin as m } from "@univerjs/drawing-ui";
|
|
6
6
|
export * from "@univerjs/drawing-ui";
|
|
7
|
-
import { UniverSheetsDrawingPlugin as
|
|
7
|
+
import { UniverSheetsDrawingPlugin as p } from "@univerjs/sheets-drawing";
|
|
8
8
|
export * from "@univerjs/sheets-drawing";
|
|
9
|
-
import { UniverSheetsDrawingUIPlugin as
|
|
9
|
+
import { UniverSheetsDrawingUIPlugin as f } from "@univerjs/sheets-drawing-ui";
|
|
10
10
|
export * from "@univerjs/sheets-drawing-ui";
|
|
11
|
+
import "@univerjs/sheets-drawing/lib/facade";
|
|
11
12
|
import "@univerjs/sheets-drawing-ui/lib/facade";
|
|
12
|
-
function
|
|
13
|
+
function D(r = {}) {
|
|
13
14
|
const { collaboration: o = !1 } = r;
|
|
14
15
|
return {
|
|
15
16
|
plugins: [
|
|
16
17
|
[n, { override: o ? [[t, null]] : [] }],
|
|
17
18
|
e,
|
|
18
19
|
m,
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
p,
|
|
21
|
+
f
|
|
21
22
|
].filter((i) => !!i)
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
export {
|
|
25
|
-
|
|
26
|
+
D as UniverSheetsDrawingPreset
|
|
26
27
|
};
|
package/lib/types/umd.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { IPreset } from './types';
|
|
2
|
+
import '@univerjs/sheets-drawing/lib/facade';
|
|
2
3
|
import '@univerjs/sheets-drawing-ui/lib/facade';
|
|
3
4
|
import '@univerjs/drawing-ui/lib/index.css';
|
|
4
5
|
import '@univerjs/sheets-drawing-ui/lib/index.css';
|
|
5
6
|
export type * from '@univerjs/sheets-drawing-ui/lib/facade';
|
|
7
|
+
export type * from '@univerjs/sheets-drawing/lib/facade';
|
|
6
8
|
export interface IUniverSheetsDrawingPresetConfig {
|
|
7
9
|
collaboration?: boolean;
|
|
8
10
|
}
|