@univerjs/preset-sheets-advanced 0.5.0 → 0.5.1-nightly.202412041606

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 u=require("@univerjs/network"),n=require("@univerjs-pro/engine-formula"),a=require("@univerjs-pro/exchange-client"),c=require("@univerjs-pro/license"),v=require("@univerjs-pro/sheets-chart"),g=require("@univerjs-pro/sheets-chart-ui"),h=require("@univerjs-pro/sheets-exchange-client"),t=require("@univerjs-pro/sheets-pivot"),U=require("@univerjs-pro/sheets-pivot-ui"),P=require("@univerjs-pro/sheets-print");require("@univerjs-pro/exchange-client/facade");require("@univerjs-pro/sheets-pivot/facade");require("@univerjs-pro/engine-formula/facade");function p(s={license:"",universerEndpoint:""}){const{license:o,universerEndpoint:r,useWorker:i}=s,e=r!=null?r:`${window.location.protocol}//${window.location.host}`;return{plugins:[u.UniverNetworkPlugin,[c.UniverLicensePlugin,{license:o}],i?[t.UniverSheetsPivotTablePlugin,{notExecuteFormula:!0}]:[t.UniverSheetsPivotTablePlugin],U.UniverSheetsPivotTableUIPlugin,i?[n.UniverProFormulaEnginePlugin,{notExecuteFormula:!0}]:n.UniverProFormulaEnginePlugin,P.UniverSheetsPrintPlugin,v.UniverSheetsChartPlugin,g.UniverSheetsChartUIPlugin,[a.UniverExchangeClientPlugin,{uploadFileServerUrl:`${e}/universer-api/stream/file/upload`,getTaskServerUrl:`${e}/universer-api/exchange/task/{taskID}`,signUrlServerUrl:`${e}/universer-api/file/{fileID}/sign-url`,importServerUrl:`${e}/universer-api/exchange/{type}/import`,exportServerUrl:`${e}/universer-api/exchange/{type}/export`,downloadEndpointUrl:`${e}/`}],h.UniverSheetsExchangeClientPlugin].filter(l=>!!l)}}exports.UniverSheetsAdvancedPreset=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("@univerjs-pro/engine-formula"),u=require("@univerjs-pro/exchange-client"),a=require("@univerjs-pro/license"),c=require("@univerjs-pro/sheets-chart"),v=require("@univerjs-pro/sheets-chart-ui"),g=require("@univerjs-pro/sheets-exchange-client"),t=require("@univerjs-pro/sheets-pivot"),h=require("@univerjs-pro/sheets-pivot-ui"),U=require("@univerjs-pro/sheets-print"),P=require("@univerjs/network");require("@univerjs-pro/exchange-client/facade");require("@univerjs-pro/sheets-pivot/facade");require("@univerjs-pro/engine-formula/facade");function p(s={license:"",universerEndpoint:""}){const{license:o,universerEndpoint:r,useWorker:i}=s,e=r!=null?r:`${window.location.protocol}//${window.location.host}`;return{plugins:[P.UniverNetworkPlugin,[a.UniverLicensePlugin,{license:o}],i?[t.UniverSheetsPivotTablePlugin,{notExecuteFormula:!0}]:[t.UniverSheetsPivotTablePlugin],h.UniverSheetsPivotTableUIPlugin,i?[n.UniverProFormulaEnginePlugin,{notExecuteFormula:!0}]:n.UniverProFormulaEnginePlugin,U.UniverSheetsPrintPlugin,c.UniverSheetsChartPlugin,v.UniverSheetsChartUIPlugin,[u.UniverExchangeClientPlugin,{uploadFileServerUrl:`${e}/universer-api/stream/file/upload`,getTaskServerUrl:`${e}/universer-api/exchange/task/{taskID}`,signUrlServerUrl:`${e}/universer-api/file/{fileID}/sign-url`,importServerUrl:`${e}/universer-api/exchange/{type}/import`,exportServerUrl:`${e}/universer-api/exchange/{type}/export`,downloadEndpointUrl:`${e}/`}],g.UniverSheetsExchangeClientPlugin].filter(l=>!!l)}}exports.UniverSheetsAdvancedPreset=p;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("@univerjs/core"),r=require("@univerjs-pro/exchange-client/locale/fr-FR"),s=require("@univerjs-pro/sheets-chart/locale/fr-FR"),t=require("@univerjs-pro/sheets-chart-ui/locale/fr-FR"),i=require("@univerjs-pro/sheets-pivot/locale/fr-FR"),n=require("@univerjs-pro/sheets-pivot-ui/locale/fr-FR"),u=require("@univerjs-pro/sheets-print/locale/fr-FR"),c=e.Tools.deepMerge({},r,s,t,i,n,u);module.exports=c;
package/lib/es/index.js CHANGED
@@ -1,13 +1,13 @@
1
- import { UniverNetworkPlugin as m } from "@univerjs/network";
2
1
  import { UniverProFormulaEnginePlugin as n } from "@univerjs-pro/engine-formula";
3
- import { UniverExchangeClientPlugin as u } from "@univerjs-pro/exchange-client";
4
- import { UniverLicensePlugin as s } from "@univerjs-pro/license";
5
- import { UniverSheetsChartPlugin as a } from "@univerjs-pro/sheets-chart";
6
- import { UniverSheetsChartUIPlugin as v } from "@univerjs-pro/sheets-chart-ui";
7
- import { UniverSheetsExchangeClientPlugin as g } from "@univerjs-pro/sheets-exchange-client";
2
+ import { UniverExchangeClientPlugin as m } from "@univerjs-pro/exchange-client";
3
+ import { UniverLicensePlugin as u } from "@univerjs-pro/license";
4
+ import { UniverSheetsChartPlugin as s } from "@univerjs-pro/sheets-chart";
5
+ import { UniverSheetsChartUIPlugin as a } from "@univerjs-pro/sheets-chart-ui";
6
+ import { UniverSheetsExchangeClientPlugin as v } from "@univerjs-pro/sheets-exchange-client";
8
7
  import { UniverSheetsPivotTablePlugin as o } from "@univerjs-pro/sheets-pivot";
9
- import { UniverSheetsPivotTableUIPlugin as U } from "@univerjs-pro/sheets-pivot-ui";
10
- import { UniverSheetsPrintPlugin as c } from "@univerjs-pro/sheets-print";
8
+ import { UniverSheetsPivotTableUIPlugin as g } from "@univerjs-pro/sheets-pivot-ui";
9
+ import { UniverSheetsPrintPlugin as U } from "@univerjs-pro/sheets-print";
10
+ import { UniverNetworkPlugin as c } from "@univerjs/network";
11
11
  import "@univerjs-pro/exchange-client/facade";
12
12
  import "@univerjs-pro/sheets-pivot/facade";
13
13
  import "@univerjs-pro/engine-formula/facade";
@@ -22,16 +22,16 @@ function T(t = {
22
22
  } = t, e = r != null ? r : `${window.location.protocol}//${window.location.host}`;
23
23
  return {
24
24
  plugins: [
25
- m,
26
- [s, { license: l }],
25
+ c,
26
+ [u, { license: l }],
27
27
  // TODO: @wzhudev: if we use worker, we need to add different configurations to SheetsPivotTable
28
28
  i ? [o, { notExecuteFormula: !0 }] : [o],
29
- U,
29
+ g,
30
30
  i ? [n, { notExecuteFormula: !0 }] : n,
31
- c,
31
+ U,
32
+ s,
32
33
  a,
33
- v,
34
- [u, {
34
+ [m, {
35
35
  uploadFileServerUrl: `${e}/universer-api/stream/file/upload`,
36
36
  getTaskServerUrl: `${e}/universer-api/exchange/task/{taskID}`,
37
37
  signUrlServerUrl: `${e}/universer-api/file/{fileID}/sign-url`,
@@ -39,7 +39,7 @@ function T(t = {
39
39
  exportServerUrl: `${e}/universer-api/exchange/{type}/export`,
40
40
  downloadEndpointUrl: `${e}/`
41
41
  }],
42
- g
42
+ v
43
43
  ].filter((p) => !!p)
44
44
  };
45
45
  }
@@ -0,0 +1,19 @@
1
+ import { Tools as r } from "@univerjs/core";
2
+ import e from "@univerjs-pro/exchange-client/locale/fr-FR";
3
+ import t from "@univerjs-pro/sheets-chart/locale/fr-FR";
4
+ import o from "@univerjs-pro/sheets-chart-ui/locale/fr-FR";
5
+ import i from "@univerjs-pro/sheets-pivot/locale/fr-FR";
6
+ import s from "@univerjs-pro/sheets-pivot-ui/locale/fr-FR";
7
+ import m from "@univerjs-pro/sheets-print/locale/fr-FR";
8
+ const a = r.deepMerge(
9
+ {},
10
+ e,
11
+ t,
12
+ o,
13
+ i,
14
+ s,
15
+ m
16
+ );
17
+ export {
18
+ a as default
19
+ };
@@ -1,17 +1,11 @@
1
- import { IPreset } from './types';
2
- import '@univerjs-pro/exchange-client/facade';
3
- import '@univerjs-pro/sheets-pivot/facade';
4
- import '@univerjs-pro/engine-formula/facade';
5
- import '@univerjs-pro/exchange-client/lib/index.css';
6
- import '@univerjs-pro/sheets-pivot-ui/lib/index.css';
7
- import '@univerjs-pro/sheets-print/lib/index.css';
8
- import '@univerjs-pro/sheets-chart-ui/lib/index.css';
9
- export interface IUniverSheetsAdvancedPresetConfig {
10
- universerEndpoint?: string;
11
- license?: string;
12
- useWorker?: boolean;
13
- }
14
- /**
15
- * This presets helps you to create a Univer sheet with open sourced features.
16
- */
17
- export declare function UniverSheetsAdvancedPreset(config?: Partial<IUniverSheetsAdvancedPresetConfig>): IPreset;
1
+ export * from './umd';
2
+ export * from '@univerjs-pro/engine-formula';
3
+ export * from '@univerjs-pro/exchange-client';
4
+ export * from '@univerjs-pro/license';
5
+ export * from '@univerjs-pro/sheets-chart';
6
+ export * from '@univerjs-pro/sheets-chart-ui';
7
+ export * from '@univerjs-pro/sheets-exchange-client';
8
+ export * from '@univerjs-pro/sheets-pivot';
9
+ export * from '@univerjs-pro/sheets-pivot-ui';
10
+ export * from '@univerjs-pro/sheets-print';
11
+ export * from '@univerjs/network';
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { IPreset } from './types';
2
+ import '@univerjs-pro/exchange-client/facade';
3
+ import '@univerjs-pro/sheets-pivot/facade';
4
+ import '@univerjs-pro/engine-formula/facade';
5
+ import '@univerjs-pro/exchange-client/lib/index.css';
6
+ import '@univerjs-pro/sheets-pivot-ui/lib/index.css';
7
+ import '@univerjs-pro/sheets-print/lib/index.css';
8
+ import '@univerjs-pro/sheets-chart-ui/lib/index.css';
9
+ export interface IUniverSheetsAdvancedPresetConfig {
10
+ universerEndpoint?: string;
11
+ license?: string;
12
+ useWorker?: boolean;
13
+ }
14
+ /**
15
+ * This presets helps you to create a Univer sheet with open sourced features.
16
+ */
17
+ export declare function UniverSheetsAdvancedPreset(config?: Partial<IUniverSheetsAdvancedPresetConfig>): IPreset;