@univerjs/preset-docs-node-core 0.8.3-nightly.202507021607 → 0.9.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 +6 -6
- package/lib/index.js +6 -6
- package/lib/types/umd.d.ts +2 -2
- package/lib/umd/index.js +1 -1
- package/package.json +11 -11
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@univerjs/docs"),o=require("@univerjs/docs-drawing"),n=require("@univerjs/docs-hyper-link"),c=require("@univerjs/engine-formula"),i=require("@univerjs/thread-comment");require("@univerjs/engine-formula/lib/facade");const u=require("@univerjs/rpc-node");function l(e={}){const{formula:r}=e;return{plugins:[[c.UniverFormulaEnginePlugin,{function:r==null?void 0:r.function}],i.UniverThreadCommentPlugin,t.UniverDocsPlugin,n.UniverDocsHyperLinkPlugin,o.UniverDocsDrawingPlugin].filter(a=>!!a)}}exports.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@univerjs/docs"),o=require("@univerjs/docs-drawing"),n=require("@univerjs/docs-hyper-link"),c=require("@univerjs/engine-formula"),i=require("@univerjs/thread-comment");require("@univerjs/engine-formula/lib/facade");const u=require("@univerjs/rpc-node");function l(e={}){const{formula:r}=e;return{plugins:[[c.UniverFormulaEnginePlugin,{function:r==null?void 0:r.function}],i.UniverThreadCommentPlugin,t.UniverDocsPlugin,n.UniverDocsHyperLinkPlugin,o.UniverDocsDrawingPlugin].filter(a=>!!a)}}exports.UniverDocsNodeCorePreset=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(o).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>o[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(c).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>c[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(u).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>u[e]})});
|
package/lib/es/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { UniverDocsPlugin as
|
|
1
|
+
import { UniverDocsPlugin as n } from "@univerjs/docs";
|
|
2
2
|
export * from "@univerjs/docs";
|
|
3
|
-
import { UniverDocsDrawingPlugin as
|
|
3
|
+
import { UniverDocsDrawingPlugin as e } from "@univerjs/docs-drawing";
|
|
4
4
|
export * from "@univerjs/docs-drawing";
|
|
5
5
|
import { UniverDocsHyperLinkPlugin as t } from "@univerjs/docs-hyper-link";
|
|
6
6
|
export * from "@univerjs/docs-hyper-link";
|
|
@@ -22,12 +22,12 @@ function x(o = {}) {
|
|
|
22
22
|
function: r == null ? void 0 : r.function
|
|
23
23
|
}],
|
|
24
24
|
p,
|
|
25
|
-
|
|
25
|
+
n,
|
|
26
26
|
t,
|
|
27
|
-
|
|
28
|
-
].filter((
|
|
27
|
+
e
|
|
28
|
+
].filter((i) => !!i)
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
export {
|
|
32
|
-
x as
|
|
32
|
+
x as UniverDocsNodeCorePreset
|
|
33
33
|
};
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { UniverDocsPlugin as
|
|
1
|
+
import { UniverDocsPlugin as n } from "@univerjs/docs";
|
|
2
2
|
export * from "@univerjs/docs";
|
|
3
|
-
import { UniverDocsDrawingPlugin as
|
|
3
|
+
import { UniverDocsDrawingPlugin as e } from "@univerjs/docs-drawing";
|
|
4
4
|
export * from "@univerjs/docs-drawing";
|
|
5
5
|
import { UniverDocsHyperLinkPlugin as t } from "@univerjs/docs-hyper-link";
|
|
6
6
|
export * from "@univerjs/docs-hyper-link";
|
|
@@ -22,12 +22,12 @@ function x(o = {}) {
|
|
|
22
22
|
function: r == null ? void 0 : r.function
|
|
23
23
|
}],
|
|
24
24
|
p,
|
|
25
|
-
|
|
25
|
+
n,
|
|
26
26
|
t,
|
|
27
|
-
|
|
28
|
-
].filter((
|
|
27
|
+
e
|
|
28
|
+
].filter((i) => !!i)
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
export {
|
|
32
|
-
x as
|
|
32
|
+
x as UniverDocsNodeCorePreset
|
|
33
33
|
};
|
package/lib/types/umd.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { IPreset, IUniverFormulaConfig } from './types';
|
|
2
2
|
import '@univerjs/engine-formula/lib/facade';
|
|
3
3
|
export type * from '@univerjs/engine-formula/lib/facade';
|
|
4
|
-
export interface
|
|
4
|
+
export interface IUniverDocsNodeCorePresetConfig {
|
|
5
5
|
/**
|
|
6
6
|
* The formula configuration.
|
|
7
7
|
*/
|
|
8
8
|
formula?: IUniverFormulaConfig;
|
|
9
9
|
}
|
|
10
|
-
export declare function
|
|
10
|
+
export declare function UniverDocsNodeCorePreset(config?: Partial<IUniverDocsNodeCorePresetConfig>): IPreset;
|
package/lib/umd/index.js
CHANGED
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
// index
|
|
18
|
-
(function(e,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("@univerjs/docs"),require("@univerjs/docs-drawing"),require("@univerjs/docs-hyper-link"),require("@univerjs/engine-formula"),require("@univerjs/thread-comment"),require("@univerjs/engine-formula/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs/docs","@univerjs/docs-drawing","@univerjs/docs-hyper-link","@univerjs/engine-formula","@univerjs/thread-comment","@univerjs/engine-formula/lib/facade"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.UniverPresetDocsNodeCore={},e.UniverDocs,e.UniverDocsDrawing,e.UniverDocsHyperLink,e.UniverEngineFormula,e.UniverThreadComment))})(this,function(e,n,r,u,
|
|
18
|
+
(function(e,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("@univerjs/docs"),require("@univerjs/docs-drawing"),require("@univerjs/docs-hyper-link"),require("@univerjs/engine-formula"),require("@univerjs/thread-comment"),require("@univerjs/engine-formula/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs/docs","@univerjs/docs-drawing","@univerjs/docs-hyper-link","@univerjs/engine-formula","@univerjs/thread-comment","@univerjs/engine-formula/lib/facade"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.UniverPresetDocsNodeCore={},e.UniverDocs,e.UniverDocsDrawing,e.UniverDocsHyperLink,e.UniverEngineFormula,e.UniverThreadComment))})(this,function(e,n,r,o,u,s){"use strict";function t(d={}){const{formula:i}=d;return{plugins:[[u.UniverFormulaEnginePlugin,{function:i==null?void 0:i.function}],s.UniverThreadCommentPlugin,n.UniverDocsPlugin,o.UniverDocsHyperLinkPlugin,r.UniverDocsDrawingPlugin].filter(c=>!!c)}}e.UniverDocsNodeCorePreset=t,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/preset-docs-node-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -56,20 +56,20 @@
|
|
|
56
56
|
"rxjs": ">=7.0.0"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@univerjs/docs": "0.
|
|
60
|
-
"@univerjs/docs-drawing": "0.
|
|
61
|
-
"@univerjs/docs-hyper-link": "0.
|
|
62
|
-
"@univerjs/drawing": "0.
|
|
63
|
-
"@univerjs/engine-formula": "0.
|
|
64
|
-
"@univerjs/engine-render": "0.
|
|
65
|
-
"@univerjs/rpc-node": "0.
|
|
66
|
-
"@univerjs/thread-comment": "0.
|
|
59
|
+
"@univerjs/docs": "0.9.0",
|
|
60
|
+
"@univerjs/docs-drawing": "0.9.0",
|
|
61
|
+
"@univerjs/docs-hyper-link": "0.9.0",
|
|
62
|
+
"@univerjs/drawing": "0.9.0",
|
|
63
|
+
"@univerjs/engine-formula": "0.9.0",
|
|
64
|
+
"@univerjs/engine-render": "0.9.0",
|
|
65
|
+
"@univerjs/rpc-node": "0.9.0",
|
|
66
|
+
"@univerjs/thread-comment": "0.9.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@univerjs/core": "0.
|
|
69
|
+
"@univerjs/core": "0.9.0",
|
|
70
70
|
"rxjs": "7.8.2",
|
|
71
71
|
"typescript": "^5.8.3",
|
|
72
|
-
"@univerjs-infra/shared": "0.
|
|
72
|
+
"@univerjs-infra/shared": "0.9.0"
|
|
73
73
|
},
|
|
74
74
|
"scripts": {
|
|
75
75
|
"prebuild:preset": "tsx prepare.ts",
|