@univerjs/preset-sheets-node-core 0.5.0-nightly.202411230627 → 0.5.1

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 CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@univerjs/docs"),s=require("@univerjs/engine-formula"),o=require("@univerjs/rpc-node"),u=require("@univerjs/sheets"),l=require("@univerjs/sheets-data-validation"),a=require("@univerjs/sheets-drawing"),c=require("@univerjs/sheets-filter"),h=require("@univerjs/sheets-formula"),g=require("@univerjs/sheets-hyper-link"),q=require("@univerjs/sheets-sort"),P=require("@univerjs/sheets-thread-comment"),m=require("@univerjs/thread-comment");require("@univerjs/sheets/facade");require("@univerjs/sheets-formula/facade");require("@univerjs/sheets-data-validation/facade");require("@univerjs/engine-formula/facade");require("@univerjs/sheets-filter/facade");function v(n){const{workerSrc:r}=n,e=!!r;return{plugins:[e?[o.UniverRPCNodeMainPlugin,{workerSrc:r}]:null,[s.UniverFormulaEnginePlugin,{notExecuteFormula:e}],m.UniverThreadCommentPlugin,t.UniverDocsPlugin,u.UniverSheetsPlugin,[h.UniverSheetsFormulaPlugin,{notExecuteFormula:e}],l.UniverSheetsDataValidationPlugin,c.UniverSheetsFilterPlugin,g.UniverSheetsHyperLinkPlugin,a.UniverSheetsDrawingPlugin,q.UniverSheetsSortPlugin,P.UniverSheetsThreadCommentPlugin].filter(i=>!!i)}}exports.UniverSheetsNodeCorePreset=v;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@univerjs/docs"),o=require("@univerjs/engine-formula"),n=require("@univerjs/rpc-node"),i=require("@univerjs/sheets"),a=require("@univerjs/sheets-data-validation"),c=require("@univerjs/sheets-drawing"),u=require("@univerjs/sheets-filter"),l=require("@univerjs/sheets-formula"),s=require("@univerjs/sheets-hyper-link"),p=require("@univerjs/sheets-sort"),y=require("@univerjs/sheets-thread-comment"),f=require("@univerjs/thread-comment");require("@univerjs/sheets/facade");require("@univerjs/sheets-formula/facade");require("@univerjs/sheets-data-validation/facade");require("@univerjs/engine-formula/facade");require("@univerjs/sheets-filter/facade");function h(e){const{workerSrc:b}=e,t=!!b;return{plugins:[t?[n.UniverRPCNodeMainPlugin,{workerSrc:b}]:null,[o.UniverFormulaEnginePlugin,{notExecuteFormula:t}],f.UniverThreadCommentPlugin,r.UniverDocsPlugin,i.UniverSheetsPlugin,[l.UniverSheetsFormulaPlugin,{notExecuteFormula:t}],a.UniverSheetsDataValidationPlugin,u.UniverSheetsFilterPlugin,s.UniverSheetsHyperLinkPlugin,c.UniverSheetsDrawingPlugin,p.UniverSheetsSortPlugin,y.UniverSheetsThreadCommentPlugin].filter(O=>!!O)}}exports.UniverSheetsNodeCorePreset=h;Object.keys(r).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>r[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(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]})});Object.keys(c).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>c[e]})});Object.keys(u).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>u[e]})});Object.keys(l).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>l[e]})});Object.keys(s).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>s[e]})});Object.keys(p).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>p[e]})});Object.keys(y).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>y[e]})});Object.keys(f).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>f[e]})});
@@ -0,0 +1 @@
1
+ "use strict";const e=require("@univerjs/core"),s=require("@univerjs/sheets/locale/fr-FR"),r=require("@univerjs/sheets-formula/locale/fr-FR"),t=require("@univerjs/sheets-sort/locale/fr-FR"),o=e.Tools.deepMerge({},s,r,t);module.exports=o;
package/lib/cjs/worker.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@univerjs/engine-formula"),r=require("@univerjs/rpc-node"),n=require("@univerjs/sheets"),o=require("@univerjs/sheets-formula");function t(){return{plugins:[[n.UniverSheetsPlugin,{onlyRegisterFormulaRelatedMutations:!0}],e.UniverFormulaEnginePlugin,r.UniverRPCNodeWorkerPlugin,o.UniverRemoteSheetsFormulaPlugin]}}exports.UniverSheetsNodeCoreWorkerPreset=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@univerjs/engine-formula"),t=require("@univerjs/rpc-node"),o=require("@univerjs/sheets"),n=require("@univerjs/sheets-formula");function u(){return{plugins:[[o.UniverSheetsPlugin,{onlyRegisterFormulaRelatedMutations:!0}],r.UniverFormulaEnginePlugin,t.UniverRPCNodeWorkerPlugin,n.UniverRemoteSheetsFormulaPlugin]}}exports.UniverSheetsNodeCoreWorkerPreset=u;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(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]})});
package/lib/es/index.js CHANGED
@@ -1,37 +1,49 @@
1
- import { UniverDocsPlugin as t } from "@univerjs/docs";
2
- import { UniverFormulaEnginePlugin as n } from "@univerjs/engine-formula";
3
- import { UniverRPCNodeMainPlugin as m } from "@univerjs/rpc-node";
4
- import { UniverSheetsPlugin as u } from "@univerjs/sheets";
5
- import { UniverSheetsDataValidationPlugin as l } from "@univerjs/sheets-data-validation";
6
- import { UniverSheetsDrawingPlugin as p } from "@univerjs/sheets-drawing";
7
- import { UniverSheetsFilterPlugin as g } from "@univerjs/sheets-filter";
8
- import { UniverSheetsFormulaPlugin as s } from "@univerjs/sheets-formula";
9
- import { UniverSheetsHyperLinkPlugin as f } from "@univerjs/sheets-hyper-link";
10
- import { UniverSheetsSortPlugin as P } from "@univerjs/sheets-sort";
11
- import { UniverSheetsThreadCommentPlugin as v } from "@univerjs/sheets-thread-comment";
12
- import { UniverThreadCommentPlugin as U } from "@univerjs/thread-comment";
1
+ import { UniverDocsPlugin as i } from "@univerjs/docs";
2
+ export * from "@univerjs/docs";
3
+ import { UniverFormulaEnginePlugin as m } from "@univerjs/engine-formula";
4
+ export * from "@univerjs/engine-formula";
5
+ import { UniverRPCNodeMainPlugin as n } from "@univerjs/rpc-node";
6
+ export * from "@univerjs/rpc-node";
7
+ import { UniverSheetsPlugin as p } from "@univerjs/sheets";
8
+ export * from "@univerjs/sheets";
9
+ import { UniverSheetsDataValidationPlugin as f } from "@univerjs/sheets-data-validation";
10
+ export * from "@univerjs/sheets-data-validation";
11
+ import { UniverSheetsDrawingPlugin as u } from "@univerjs/sheets-drawing";
12
+ export * from "@univerjs/sheets-drawing";
13
+ import { UniverSheetsFilterPlugin as l } from "@univerjs/sheets-filter";
14
+ export * from "@univerjs/sheets-filter";
15
+ import { UniverSheetsFormulaPlugin as g } from "@univerjs/sheets-formula";
16
+ export * from "@univerjs/sheets-formula";
17
+ import { UniverSheetsHyperLinkPlugin as s } from "@univerjs/sheets-hyper-link";
18
+ export * from "@univerjs/sheets-hyper-link";
19
+ import { UniverSheetsSortPlugin as x } from "@univerjs/sheets-sort";
20
+ export * from "@univerjs/sheets-sort";
21
+ import { UniverSheetsThreadCommentPlugin as P } from "@univerjs/sheets-thread-comment";
22
+ export * from "@univerjs/sheets-thread-comment";
23
+ import { UniverThreadCommentPlugin as v } from "@univerjs/thread-comment";
24
+ export * from "@univerjs/thread-comment";
13
25
  import "@univerjs/sheets/facade";
14
26
  import "@univerjs/sheets-formula/facade";
15
27
  import "@univerjs/sheets-data-validation/facade";
16
28
  import "@univerjs/engine-formula/facade";
17
29
  import "@univerjs/sheets-filter/facade";
18
- function M(i) {
19
- const { workerSrc: e } = i, r = !!e;
30
+ function M(e) {
31
+ const { workerSrc: o } = e, r = !!o;
20
32
  return {
21
33
  plugins: [
22
- r ? [m, { workerSrc: e }] : null,
23
- [n, { notExecuteFormula: r }],
24
- U,
25
- t,
26
- u,
27
- [s, { notExecuteFormula: r }],
28
- l,
29
- g,
30
- f,
34
+ r ? [n, { workerSrc: o }] : null,
35
+ [m, { notExecuteFormula: r }],
36
+ v,
37
+ i,
31
38
  p,
32
- P,
33
- v
34
- ].filter((o) => !!o)
39
+ [g, { notExecuteFormula: r }],
40
+ f,
41
+ l,
42
+ s,
43
+ u,
44
+ x,
45
+ P
46
+ ].filter((t) => !!t)
35
47
  };
36
48
  }
37
49
  export {
@@ -0,0 +1,13 @@
1
+ import { Tools as r } from "@univerjs/core";
2
+ import e from "@univerjs/sheets/locale/fr-FR";
3
+ import o from "@univerjs/sheets-formula/locale/fr-FR";
4
+ import s from "@univerjs/sheets-sort/locale/fr-FR";
5
+ const p = r.deepMerge(
6
+ {},
7
+ e,
8
+ o,
9
+ s
10
+ );
11
+ export {
12
+ p as default
13
+ };
package/lib/es/worker.js CHANGED
@@ -1,14 +1,18 @@
1
- import { UniverFormulaEnginePlugin as e } from "@univerjs/engine-formula";
2
- import { UniverRPCNodeWorkerPlugin as r } from "@univerjs/rpc-node";
1
+ import { UniverFormulaEnginePlugin as r } from "@univerjs/engine-formula";
2
+ export * from "@univerjs/engine-formula";
3
+ import { UniverRPCNodeWorkerPlugin as e } from "@univerjs/rpc-node";
4
+ export * from "@univerjs/rpc-node";
3
5
  import { UniverSheetsPlugin as o } from "@univerjs/sheets";
4
- import { UniverRemoteSheetsFormulaPlugin as i } from "@univerjs/sheets-formula";
6
+ export * from "@univerjs/sheets";
7
+ import { UniverRemoteSheetsFormulaPlugin as t } from "@univerjs/sheets-formula";
8
+ export * from "@univerjs/sheets-formula";
5
9
  function l() {
6
10
  return {
7
11
  plugins: [
8
12
  [o, { onlyRegisterFormulaRelatedMutations: !0 }],
9
- e,
10
13
  r,
11
- i
14
+ e,
15
+ t
12
16
  ]
13
17
  };
14
18
  }
@@ -4,6 +4,18 @@ import '@univerjs/sheets-formula/facade';
4
4
  import '@univerjs/sheets-data-validation/facade';
5
5
  import '@univerjs/engine-formula/facade';
6
6
  import '@univerjs/sheets-filter/facade';
7
+ export * from '@univerjs/docs';
8
+ export * from '@univerjs/engine-formula';
9
+ export * from '@univerjs/rpc-node';
10
+ export * from '@univerjs/sheets';
11
+ export * from '@univerjs/sheets-data-validation';
12
+ export * from '@univerjs/sheets-drawing';
13
+ export * from '@univerjs/sheets-filter';
14
+ export * from '@univerjs/sheets-formula';
15
+ export * from '@univerjs/sheets-hyper-link';
16
+ export * from '@univerjs/sheets-sort';
17
+ export * from '@univerjs/sheets-thread-comment';
18
+ export * from '@univerjs/thread-comment';
7
19
  export interface IUniverSheetsNodeCorePresetConfig {
8
20
  workerSrc?: string;
9
21
  }
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -1,2 +1,6 @@
1
1
  import { IPreset } from './types';
2
+ export * from '@univerjs/engine-formula';
3
+ export * from '@univerjs/rpc-node';
4
+ export * from '@univerjs/sheets';
5
+ export * from '@univerjs/sheets-formula';
2
6
  export declare function UniverSheetsNodeCoreWorkerPreset(): IPreset;