@univerjs/preset-sheets-advanced 0.10.6 → 0.10.7-nightly.202509090319

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 o=require("@univerjs-pro/engine-formula"),a=require("@univerjs-pro/exchange-client"),c=require("@univerjs-pro/license"),l=require("@univerjs-pro/sheets-chart"),s=require("@univerjs-pro/sheets-chart-ui"),u=require("@univerjs-pro/sheets-exchange-client"),t=require("@univerjs-pro/sheets-pivot"),p=require("@univerjs-pro/sheets-pivot-ui"),h=require("@univerjs-pro/sheets-print"),f=require("@univerjs-pro/sheets-sparkline"),b=require("@univerjs-pro/sheets-sparkline-ui");require("@univerjs-pro/exchange-client/lib/facade");require("@univerjs-pro/sheets-pivot/lib/facade");require("@univerjs-pro/engine-formula/lib/facade");require("@univerjs-pro/sheets-print/lib/facade");require("@univerjs-pro/sheets-chart-ui/lib/facade");require("@univerjs-pro/sheets-sparkline/lib/facade");const O=require("@univerjs-pro/engine-chart"),P=require("@univerjs/sheets-graphics");function v(e={license:"",universerEndpoint:""}){const{license:g,universerEndpoint:n,useWorker:y,formula:i,exchangeClientOptions:d}=e,r=n!=null?n:`${window.location.protocol}//${window.location.host}`;return{plugins:[[c.UniverLicensePlugin,{license:g}],y?[t.UniverSheetsPivotTablePlugin,{notExecuteFormula:!0}]:[t.UniverSheetsPivotTablePlugin],p.UniverSheetsPivotTableUIPlugin,[o.UniverProFormulaEnginePlugin,{notExecuteFormula:y,function:i==null?void 0:i.function}],h.UniverSheetsPrintPlugin,l.UniverSheetsChartPlugin,s.UniverSheetsChartUIPlugin,f.UniverSheetSparklinePlugin,b.UniverSheetSparklineUIPlugin,[a.UniverExchangeClientPlugin,{uploadFileServerUrl:`${r}/universer-api/stream/file/upload`,getTaskServerUrl:`${r}/universer-api/exchange/task/{taskID}`,signUrlServerUrl:`${r}/universer-api/file/{fileID}/sign-url`,importServerUrl:`${r}/universer-api/exchange/{type}/import`,exportServerUrl:`${r}/universer-api/exchange/{type}/export`,downloadEndpointUrl:`${r}/`,options:d}],u.UniverSheetsExchangeClientPlugin].filter(j=>!!j)}}exports.UniverSheetsAdvancedPreset=v;Object.keys(o).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>o[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(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(u).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>u[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(p).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>p[e]})});Object.keys(h).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>h[e]})});Object.keys(f).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>f[e]})});Object.keys(b).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>b[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(P).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>P[e]})});
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("@univerjs-pro/engine-formula"),c=require("@univerjs-pro/exchange-client"),l=require("@univerjs-pro/license"),s=require("@univerjs-pro/sheets-chart"),u=require("@univerjs-pro/sheets-chart-ui"),p=require("@univerjs-pro/sheets-exchange-client"),t=require("@univerjs-pro/sheets-pivot"),f=require("@univerjs-pro/sheets-pivot-ui"),h=require("@univerjs-pro/sheets-print"),b=require("@univerjs-pro/sheets-sparkline"),y=require("@univerjs-pro/sheets-sparkline-ui");require("@univerjs-pro/exchange-client/lib/facade");require("@univerjs-pro/sheets-pivot/lib/facade");require("@univerjs-pro/engine-formula/lib/facade");require("@univerjs-pro/sheets-print/lib/facade");require("@univerjs-pro/sheets-chart-ui/lib/facade");require("@univerjs-pro/sheets-sparkline/lib/facade");const P=require("@univerjs-pro/engine-chart"),g=require("@univerjs/sheets-graphics");function U(e={license:"",universerEndpoint:""}){const{license:d,universerEndpoint:n,useWorker:O,formula:i,exchangeClientOptions:j,print:o}=e,r=n!=null?n:`${window.location.protocol}//${window.location.host}`;return{plugins:[[l.UniverLicensePlugin,{license:d}],O?[t.UniverSheetsPivotTablePlugin,{notExecuteFormula:!0}]:[t.UniverSheetsPivotTablePlugin],f.UniverSheetsPivotTableUIPlugin,[a.UniverProFormulaEnginePlugin,{notExecuteFormula:O,function:i==null?void 0:i.function}],[h.UniverSheetsPrintPlugin,{enforceWatermark:o==null?void 0:o.enforceWatermark}],s.UniverSheetsChartPlugin,u.UniverSheetsChartUIPlugin,b.UniverSheetSparklinePlugin,y.UniverSheetSparklineUIPlugin,[c.UniverExchangeClientPlugin,{uploadFileServerUrl:`${r}/universer-api/stream/file/upload`,getTaskServerUrl:`${r}/universer-api/exchange/task/{taskID}`,signUrlServerUrl:`${r}/universer-api/file/{fileID}/sign-url`,importServerUrl:`${r}/universer-api/exchange/{type}/import`,exportServerUrl:`${r}/universer-api/exchange/{type}/export`,downloadEndpointUrl:`${r}/`,options:j}],p.UniverSheetsExchangeClientPlugin].filter(v=>!!v)}}exports.UniverSheetsAdvancedPreset=U;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(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(u).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>u[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(t).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>t[e]})});Object.keys(f).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>f[e]})});Object.keys(h).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>h[e]})});Object.keys(b).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>b[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(P).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>P[e]})});Object.keys(g).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>g[e]})});
package/lib/es/index.js CHANGED
@@ -4,21 +4,21 @@ import { UniverExchangeClientPlugin as s } from "@univerjs-pro/exchange-client";
4
4
  export * from "@univerjs-pro/exchange-client";
5
5
  import { UniverLicensePlugin as u } from "@univerjs-pro/license";
6
6
  export * from "@univerjs-pro/license";
7
- import { UniverSheetsChartPlugin as a } from "@univerjs-pro/sheets-chart";
7
+ import { UniverSheetsChartPlugin as v } from "@univerjs-pro/sheets-chart";
8
8
  export * from "@univerjs-pro/sheets-chart";
9
- import { UniverSheetsChartUIPlugin as v } from "@univerjs-pro/sheets-chart-ui";
9
+ import { UniverSheetsChartUIPlugin as x } from "@univerjs-pro/sheets-chart-ui";
10
10
  export * from "@univerjs-pro/sheets-chart-ui";
11
- import { UniverSheetsExchangeClientPlugin as x } from "@univerjs-pro/sheets-exchange-client";
11
+ import { UniverSheetsExchangeClientPlugin as c } from "@univerjs-pro/sheets-exchange-client";
12
12
  export * from "@univerjs-pro/sheets-exchange-client";
13
- import { UniverSheetsPivotTablePlugin as t } from "@univerjs-pro/sheets-pivot";
13
+ import { UniverSheetsPivotTablePlugin as n } from "@univerjs-pro/sheets-pivot";
14
14
  export * from "@univerjs-pro/sheets-pivot";
15
15
  import { UniverSheetsPivotTableUIPlugin as g } from "@univerjs-pro/sheets-pivot-ui";
16
16
  export * from "@univerjs-pro/sheets-pivot-ui";
17
17
  import { UniverSheetsPrintPlugin as U } from "@univerjs-pro/sheets-print";
18
18
  export * from "@univerjs-pro/sheets-print";
19
- import { UniverSheetSparklinePlugin as c } from "@univerjs-pro/sheets-sparkline";
19
+ import { UniverSheetSparklinePlugin as h } from "@univerjs-pro/sheets-sparkline";
20
20
  export * from "@univerjs-pro/sheets-sparkline";
21
- import { UniverSheetSparklineUIPlugin as h } from "@univerjs-pro/sheets-sparkline-ui";
21
+ import { UniverSheetSparklineUIPlugin as P } from "@univerjs-pro/sheets-sparkline-ui";
22
22
  export * from "@univerjs-pro/sheets-sparkline-ui";
23
23
  import "@univerjs-pro/exchange-client/lib/facade";
24
24
  import "@univerjs-pro/sheets-pivot/lib/facade";
@@ -28,32 +28,35 @@ import "@univerjs-pro/sheets-chart-ui/lib/facade";
28
28
  import "@univerjs-pro/sheets-sparkline/lib/facade";
29
29
  export * from "@univerjs-pro/engine-chart";
30
30
  export * from "@univerjs/sheets-graphics";
31
- function W(n = {
31
+ function j(p = {
32
32
  license: "",
33
33
  universerEndpoint: ""
34
34
  }) {
35
35
  const {
36
- license: p,
36
+ license: m,
37
37
  universerEndpoint: e,
38
- useWorker: i,
38
+ useWorker: t,
39
39
  formula: o,
40
- exchangeClientOptions: m
41
- } = n, r = e != null ? e : `${window.location.protocol}//${window.location.host}`;
40
+ exchangeClientOptions: l,
41
+ print: i
42
+ } = p, r = e != null ? e : `${window.location.protocol}//${window.location.host}`;
42
43
  return {
43
44
  plugins: [
44
- [u, { license: p }],
45
+ [u, { license: m }],
45
46
  // TODO: @wzhudev: if we use worker, we need to add different configurations to SheetsPivotTable
46
- i ? [t, { notExecuteFormula: !0 }] : [t],
47
+ t ? [n, { notExecuteFormula: !0 }] : [n],
47
48
  g,
48
49
  [f, {
49
- notExecuteFormula: i,
50
+ notExecuteFormula: t,
50
51
  function: o == null ? void 0 : o.function
51
52
  }],
52
- U,
53
- a,
53
+ [U, {
54
+ enforceWatermark: i == null ? void 0 : i.enforceWatermark
55
+ }],
54
56
  v,
55
- c,
57
+ x,
56
58
  h,
59
+ P,
57
60
  [s, {
58
61
  uploadFileServerUrl: `${r}/universer-api/stream/file/upload`,
59
62
  getTaskServerUrl: `${r}/universer-api/exchange/task/{taskID}`,
@@ -61,12 +64,12 @@ function W(n = {
61
64
  importServerUrl: `${r}/universer-api/exchange/{type}/import`,
62
65
  exportServerUrl: `${r}/universer-api/exchange/{type}/export`,
63
66
  downloadEndpointUrl: `${r}/`,
64
- options: m
67
+ options: l
65
68
  }],
66
- x
67
- ].filter((l) => !!l)
69
+ c
70
+ ].filter((a) => !!a)
68
71
  };
69
72
  }
70
73
  export {
71
- W as UniverSheetsAdvancedPreset
74
+ j as UniverSheetsAdvancedPreset
72
75
  };
package/lib/index.css CHANGED
@@ -1 +1 @@
1
- .univer-fixed{position:fixed}.univer-bottom-12{bottom:3rem}.univer-right-3{right:.75rem}.univer-m-0{margin:0}.univer-ml-1\.5{margin-left:.375rem}.univer-h-1\.5{height:.375rem}.univer-max-h-72{max-height:18rem}.univer-w-\[324px\]{width:324px}.univer-w-\[372px\]{width:372px}.univer-w-\[calc\(100\%-48px\)\]{width:calc(100% - 48px)}.univer-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.univer-list-none{list-style-type:none}.univer-border-0{border-width:0px}.univer-py-0{padding-top:0;padding-bottom:0}.univer-pl-1\.5{padding-left:.375rem}.univer-pl-2{padding-left:.5rem}.univer-pr-2{padding-right:.5rem}.univer-pr-4{padding-right:1rem}.univer-pt-5{padding-top:1.25rem}.univer-text-xl{font-size:1.25rem;line-height:1.75rem}.univer-text-blue-500{color:var(--univer-blue-500)}.univer-text-green-500{color:var(--univer-green-500)}.univer-no-underline{text-decoration-line:none}.univer-shadow-md{--univer-tw-shadow: 0px 1px 6px -2px rgba(30, 40, 77, .08), 0px 2px 6px -1px rgba(30, 40, 77, .1);--univer-tw-shadow-colored: 0px 1px 6px -2px var(--univer-tw-shadow-color), 0px 2px 6px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 6px -2px #1e284d14,0 2px 6px -1px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-outline-none{outline:2px solid transparent;outline-offset:2px}.univer-transition-\[width\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-150{transition-duration:.15s}.univer-duration-500{transition-duration:.5s}.hover\:univer-bg-primary-50:hover{background-color:var(--univer-primary-50)}.dark\:\!univer-bg-gray-600:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-600)!important}.dark\:hover\:\!univer-bg-gray-600:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-600)!important}.univer-mx-1\.5{margin-left:.375rem;margin-right:.375rem}.univer-mb-1{margin-bottom:.25rem}.univer-mt-0{margin-top:0}.univer-inline-block{display:inline-block}.univer-hidden{display:none}.univer-h-0{height:0px}.univer-h-40{height:10rem}.univer-h-\[140px\]{height:140px}.univer-h-\[161px\]{height:161px}.univer-h-\[300px\]{height:300px}.univer-h-\[calc\(100\%-16px\)\]{height:calc(100% - 16px)}.univer-h-px{height:1px}.univer-min-h-\[150px\]{min-height:150px}.univer-min-h-\[200px\]{min-height:200px}.univer-w-\[140px\]{width:140px}.univer-w-\[14px\]{width:14px}.\!univer-min-w-\[120px\]{min-width:120px!important}.univer-max-w-\[118px\]{max-width:118px}.univer-max-w-\[200px\]{max-width:200px}.univer-max-w-\[250px\]{max-width:250px}.univer-max-w-\[66px\]{max-width:66px}.univer-flex-shrink{flex-shrink:1}.univer-self-stretch{align-self:stretch}.univer-overflow-x-hidden{overflow-x:hidden}.univer-rounded-bl-md{border-bottom-left-radius:.375rem}.univer-rounded-br-md{border-bottom-right-radius:.375rem}.univer-rounded-tl-md{border-top-left-radius:.375rem}.univer-rounded-tr-md{border-top-right-radius:.375rem}.univer-border-none{border-style:none}.univer-border-primary-600{border-color:var(--univer-primary-600)}.univer-border-transparent{border-color:transparent}.univer-py-\[5px\]{padding-top:5px;padding-bottom:5px}.univer-pl-\[22px\]{padding-left:22px}.univer-text-justify{text-align:justify}.univer-align-top{vertical-align:top}.univer-capitalize{text-transform:capitalize}.univer-text-\[rgb\(var\(--hyacinth-500\)\)\]{color:rgb(var(--hyacinth-500))}.univer-text-red-400{color:var(--univer-red-400)}.dark\:\!univer-text-gray-600:where(.univer-dark,.univer-dark *){color:var(--univer-gray-600)!important}.univer-pointer-events-none{pointer-events:none}.univer-inset-0{top:0;right:0;bottom:0;left:0}.univer-bottom-4{bottom:1rem}.univer-left-0{left:0}.univer-right-0{right:0}.univer-right-4{right:1rem}.univer-top-0{top:0}.univer-z-\[1000\]{z-index:1000}.univer-z-\[100\]{z-index:100}.univer-z-\[1010\]{z-index:1010}.univer-mx-2{margin-left:.5rem;margin-right:.5rem}.univer-my-0{margin-top:0;margin-bottom:0}.univer-my-1{margin-top:.25rem;margin-bottom:.25rem}.univer-my-5{margin-top:1.25rem;margin-bottom:1.25rem}.univer-mt-7{margin-top:1.75rem}.univer-size-3{width:.75rem;height:.75rem}.univer-size-8{width:2rem;height:2rem}.univer-size-full{width:100%;height:100%}.univer-h-16{height:4rem}.univer-h-\[200px\]{height:200px}.univer-w-\[312px\]{width:312px}.univer-min-w-36{min-width:9rem}.univer-min-w-\[200px\]{min-width:200px}.univer-flex-none{flex:none}.univer-overflow-hidden{overflow:hidden}.univer-overflow-y-auto{overflow-y:auto}.univer-rounded{border-radius:.25rem}.univer-rounded-full{border-radius:9999px}.univer-bg-gray-200{background-color:var(--univer-gray-200)}.univer-p-1{padding:.25rem}.univer-px-2\.5{padding-left:.625rem;padding-right:.625rem}.univer-px-6{padding-left:1.5rem;padding-right:1.5rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-py-7{padding-top:1.75rem;padding-bottom:1.75rem}.univer-text-lg{font-size:1.125rem;line-height:1.75rem}.univer-shadow-lg{--univer-tw-shadow: 0px 4px 6px 0px rgba(30, 40, 77, .05), 0px 10px 15px -3px rgba(30, 40, 77, .1);--univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 4px 6px #1e284d0d,0 10px 15px -3px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.first\:univer-mr-2:first-child{margin-right:.5rem}.hover\:univer-rounded:hover{border-radius:.25rem}.hover\:univer-border-primary-600:hover{border-color:var(--univer-primary-600)}.hover\:univer-bg-gray-300:hover{background-color:var(--univer-gray-300)}.hover\:dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *):hover{background-color:var(--univer-gray-700)!important}.univer-right-2{right:.5rem}.univer-top-2{top:.5rem}.univer-mx-auto{margin-left:auto;margin-right:auto}.univer-ml-1{margin-left:.25rem}.univer-mr-5{margin-right:1.25rem}.univer-mt-1\.5{margin-top:.375rem}.univer-mt-2\.5{margin-top:.625rem}.univer-mt-4{margin-top:1rem}.univer-mt-5{margin-top:1.25rem}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-h-1{height:.25rem}.univer-h-\[26px\]{height:26px}.univer-w-1\/2{width:50%}.univer-w-4{width:1rem}.univer-w-5{width:1.25rem}.univer-w-\[136px\]{width:136px}.univer-w-\[208px\]{width:208px}.univer-w-\[290px\]{width:290px}.univer-w-\[var\(--radix-popper-anchor-width\)\]{width:var(--radix-popper-anchor-width)}.univer-w-fit{width:-moz-fit-content;width:fit-content}.\!univer-min-w-0{min-width:0px!important}.univer-flex-shrink-0{flex-shrink:0}.univer-flex-grow{flex-grow:1}.univer-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.univer-flex-row{flex-direction:row}.univer-gap-1{gap:.25rem}.univer-gap-1\.5{gap:.375rem}.univer-gap-2\.5{gap:.625rem}.univer-gap-4{gap:1rem}.univer-justify-self-end{justify-self:end}.univer-overflow-auto{overflow:auto}.univer-rounded-md{border-radius:.375rem}.univer-rounded-xl{border-radius:.75rem}.univer-border{border-width:1px}.univer-border-b{border-bottom-width:1px}.univer-border-solid{border-style:solid}.univer-border-gray-200{border-color:var(--univer-gray-200)}.univer-bg-transparent{background-color:transparent}.univer-bg-white{background-color:var(--univer-white)}.univer-p-1\.5{padding:.375rem}.univer-p-2{padding:.5rem}.univer-px-1{padding-left:.25rem;padding-right:.25rem}.univer-px-1\.5{padding-left:.375rem;padding-right:.375rem}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-3{padding-left:.75rem;padding-right:.75rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-4{padding-top:1rem;padding-bottom:1rem}.univer-pb-2\.5{padding-bottom:.625rem}.univer-pb-3{padding-bottom:.75rem}.univer-text-2xl{font-size:1.5rem;line-height:2rem}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-font-semibold{font-weight:600}.univer-leading-4{line-height:1rem}.univer-leading-5{line-height:1.25rem}.univer-leading-6{line-height:1.5rem}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-200{transition-duration:.2s}.placeholder\:univer-text-gray-400::-moz-placeholder{color:var(--univer-gray-400)}.placeholder\:univer-text-gray-400::placeholder{color:var(--univer-gray-400)}.hover\:univer-bg-gray-100:hover{background-color:var(--univer-gray-100)}.focus\:univer-border-primary-500:focus{border-color:var(--univer-primary-500)}.focus\:univer-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:univer-ring-2:focus{--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),0 0 #0000;box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),var(--univer-tw-shadow, 0 0 rgba(0,0,0,0))}.focus\:univer-ring-primary-50:focus{--univer-tw-ring-color: var(--univer-primary-50) }.dark\:\!univer-border-gray-700:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-700)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-shadow-none:where(.univer-dark,.univer-dark *){--univer-tw-shadow: 0 0 rgba(0,0,0,0) !important;--univer-tw-shadow-colored: 0 0 rgba(0,0,0,0) !important;box-shadow:0 0 #0000,0 0 #0000,0 0 #0000!important;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)!important}.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-bottom-0{bottom:0}.univer-m-0\.5{margin:.125rem}.univer-mx-0{margin-left:0;margin-right:0}.univer-my-2{margin-top:.5rem;margin-bottom:.5rem}.univer-my-4{margin-top:1rem;margin-bottom:1rem}.univer-mb-2{margin-bottom:.5rem}.univer-mb-3{margin-bottom:.75rem}.univer-mb-4{margin-bottom:1rem}.univer-mb-5{margin-bottom:1.25rem}.univer-ml-2{margin-left:.5rem}.univer-ml-3{margin-left:.75rem}.univer-mr-0\.5{margin-right:.125rem}.univer-mr-2{margin-right:.5rem}.univer-mt-0\.5{margin-top:.125rem}.univer-mt-2{margin-top:.5rem}.univer-mt-3{margin-top:.75rem}.univer-box-border{box-sizing:border-box}.univer-box-content{box-sizing:content-box}.univer-flex{display:flex}.univer-size-4{width:1rem;height:1rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-h-0\.5{height:.125rem}.univer-h-10{height:2.5rem}.univer-h-4{height:1rem}.univer-h-5{height:1.25rem}.univer-h-6{height:1.5rem}.univer-h-7{height:1.75rem}.univer-h-8{height:2rem}.univer-h-full{height:100%}.univer-w-14{width:3.5rem}.univer-w-6{width:1.5rem}.univer-w-\[45\%\]{width:45%}.univer-w-full{width:100%}.univer-max-w-\[290px\]{max-width:290px}.univer-flex-1{flex:1 1 0%}.univer-rotate-180{--univer-tw-rotate: 180deg;transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(180deg) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.univer-cursor-default{cursor:default}.univer-cursor-not-allowed{cursor:not-allowed}.univer-cursor-pointer{cursor:pointer}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-end{justify-content:flex-end}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-justify-around{justify-content:space-around}.univer-gap-2{gap:.5rem}.univer-gap-3{gap:.75rem}.univer-gap-5{gap:1.25rem}.univer-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-sm{border-radius:.125rem}.\!univer-bg-gray-50{background-color:var(--univer-gray-50)!important}.\!univer-bg-gray-700{background-color:var(--univer-gray-700)!important}.univer-bg-blue-200{background-color:var(--univer-blue-200)}.univer-bg-gray-100{background-color:var(--univer-gray-100)}.univer-bg-gray-50{background-color:var(--univer-gray-50)}.univer-bg-primary-600{background-color:var(--univer-primary-600)}.univer-p-0{padding:0}.univer-p-0\.5{padding:.125rem}.univer-p-3{padding:.75rem}.univer-p-4{padding:1rem}.univer-px-0{padding-left:0;padding-right:0}.univer-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.univer-py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.univer-pb-4{padding-bottom:1rem}.univer-pl-4{padding-left:1rem}.univer-pr-1{padding-right:.25rem}.univer-pt-2\.5{padding-top:.625rem}.univer-text-center{text-align:center}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-medium{font-weight:500}.univer-leading-7{line-height:1.75rem}.univer-leading-8{line-height:2rem}.univer-leading-tight{line-height:1.25}.univer-text-gray-200{color:var(--univer-gray-200)}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-800{color:var(--univer-gray-800)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-text-primary-600{color:var(--univer-primary-600)}.univer-text-red-500{color:var(--univer-red-500)}.univer-text-white{color:var(--univer-white)}.univer-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-300{transition-duration:.3s}.univer-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-scrollbar-corner-primary-600{--scrollbar-corner: var(--univer-primary-600) }.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-800:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-800)!important}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-gray-100:where(.univer-dark,.univer-dark *){color:var(--univer-gray-100)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}
1
+ .univer-fixed{position:fixed}.univer-bottom-12{bottom:3rem}.univer-right-3{right:.75rem}.univer-m-0{margin:0}.univer-ml-1\.5{margin-left:.375rem}.univer-h-1\.5{height:.375rem}.univer-max-h-72{max-height:18rem}.univer-w-\[324px\]{width:324px}.univer-w-\[372px\]{width:372px}.univer-w-\[calc\(100\%-48px\)\]{width:calc(100% - 48px)}.univer-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.univer-list-none{list-style-type:none}.univer-border-0{border-width:0px}.univer-py-0{padding-top:0;padding-bottom:0}.univer-pl-1\.5{padding-left:.375rem}.univer-pl-2{padding-left:.5rem}.univer-pr-2{padding-right:.5rem}.univer-pr-4{padding-right:1rem}.univer-pt-5{padding-top:1.25rem}.univer-text-xl{font-size:1.25rem;line-height:1.75rem}.univer-text-blue-500{color:var(--univer-blue-500)}.univer-text-green-500{color:var(--univer-green-500)}.univer-no-underline{text-decoration-line:none}.univer-shadow-md{--univer-tw-shadow: 0px 1px 6px -2px rgba(30, 40, 77, .08), 0px 2px 6px -1px rgba(30, 40, 77, .1);--univer-tw-shadow-colored: 0px 1px 6px -2px var(--univer-tw-shadow-color), 0px 2px 6px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 6px -2px #1e284d14,0 2px 6px -1px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-outline-none{outline:2px solid transparent;outline-offset:2px}.univer-transition-\[width\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-150{transition-duration:.15s}.univer-duration-500{transition-duration:.5s}.hover\:univer-bg-primary-50:hover{background-color:var(--univer-primary-50)}.dark\:\!univer-bg-gray-600:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-600)!important}.dark\:hover\:\!univer-bg-gray-600:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-600)!important}.univer-mx-1\.5{margin-left:.375rem;margin-right:.375rem}.univer-mt-0{margin-top:0}.univer-inline-block{display:inline-block}.univer-hidden{display:none}.univer-h-0{height:0px}.univer-h-40{height:10rem}.univer-h-\[140px\]{height:140px}.univer-h-\[161px\]{height:161px}.univer-h-\[300px\]{height:300px}.univer-h-\[calc\(100\%-16px\)\]{height:calc(100% - 16px)}.univer-h-px{height:1px}.univer-min-h-\[150px\]{min-height:150px}.univer-min-h-\[200px\]{min-height:200px}.univer-w-\[140px\]{width:140px}.univer-w-\[14px\]{width:14px}.\!univer-min-w-\[120px\]{min-width:120px!important}.univer-max-w-\[118px\]{max-width:118px}.univer-max-w-\[200px\]{max-width:200px}.univer-max-w-\[250px\]{max-width:250px}.univer-max-w-\[66px\]{max-width:66px}.univer-flex-shrink{flex-shrink:1}.univer-self-stretch{align-self:stretch}.univer-overflow-x-hidden{overflow-x:hidden}.univer-rounded-bl-md{border-bottom-left-radius:.375rem}.univer-rounded-br-md{border-bottom-right-radius:.375rem}.univer-rounded-tl-md{border-top-left-radius:.375rem}.univer-rounded-tr-md{border-top-right-radius:.375rem}.univer-border-none{border-style:none}.univer-border-primary-600{border-color:var(--univer-primary-600)}.univer-border-transparent{border-color:transparent}.univer-py-\[5px\]{padding-top:5px;padding-bottom:5px}.univer-pl-\[22px\]{padding-left:22px}.univer-text-justify{text-align:justify}.univer-align-top{vertical-align:top}.univer-capitalize{text-transform:capitalize}.univer-text-\[rgb\(var\(--hyacinth-500\)\)\]{color:rgb(var(--hyacinth-500))}.univer-text-red-400{color:var(--univer-red-400)}.dark\:\!univer-text-gray-600:where(.univer-dark,.univer-dark *){color:var(--univer-gray-600)!important}.univer-pointer-events-none{pointer-events:none}.univer-inset-0{top:0;right:0;bottom:0;left:0}.univer-bottom-4{bottom:1rem}.univer-left-0{left:0}.univer-right-0{right:0}.univer-right-4{right:1rem}.univer-top-0{top:0}.univer-z-\[1000\]{z-index:1000}.univer-z-\[100\]{z-index:100}.univer-z-\[1010\]{z-index:1010}.univer-mx-2{margin-left:.5rem;margin-right:.5rem}.univer-my-0{margin-top:0;margin-bottom:0}.univer-my-1{margin-top:.25rem;margin-bottom:.25rem}.univer-my-5{margin-top:1.25rem;margin-bottom:1.25rem}.univer-mb-1{margin-bottom:.25rem}.univer-mt-7{margin-top:1.75rem}.univer-block{display:block}.univer-size-3{width:.75rem;height:.75rem}.univer-size-8{width:2rem;height:2rem}.univer-size-full{width:100%;height:100%}.univer-h-16{height:4rem}.univer-h-\[200px\]{height:200px}.univer-w-\[312px\]{width:312px}.univer-min-w-36{min-width:9rem}.univer-min-w-\[200px\]{min-width:200px}.univer-flex-none{flex:none}.univer-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.univer-overflow-hidden{overflow:hidden}.univer-overflow-y-auto{overflow-y:auto}.univer-rounded{border-radius:.25rem}.univer-rounded-full{border-radius:9999px}.univer-bg-gray-200{background-color:var(--univer-gray-200)}.univer-p-1{padding:.25rem}.univer-px-2\.5{padding-left:.625rem;padding-right:.625rem}.univer-px-6{padding-left:1.5rem;padding-right:1.5rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-py-7{padding-top:1.75rem;padding-bottom:1.75rem}.univer-text-lg{font-size:1.125rem;line-height:1.75rem}.univer-shadow-lg{--univer-tw-shadow: 0px 4px 6px 0px rgba(30, 40, 77, .05), 0px 10px 15px -3px rgba(30, 40, 77, .1);--univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 4px 6px #1e284d0d,0 10px 15px -3px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.first\:univer-mr-2:first-child{margin-right:.5rem}.hover\:univer-rounded:hover{border-radius:.25rem}.hover\:univer-border-primary-600:hover{border-color:var(--univer-primary-600)}.hover\:univer-bg-gray-300:hover{background-color:var(--univer-gray-300)}.hover\:dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *):hover{background-color:var(--univer-gray-700)!important}.univer-right-2{right:.5rem}.univer-top-2{top:.5rem}.univer-mx-auto{margin-left:auto;margin-right:auto}.univer-ml-1{margin-left:.25rem}.univer-mr-5{margin-right:1.25rem}.univer-mt-1\.5{margin-top:.375rem}.univer-mt-2\.5{margin-top:.625rem}.univer-mt-4{margin-top:1rem}.univer-mt-5{margin-top:1.25rem}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-h-1{height:.25rem}.univer-h-\[26px\]{height:26px}.univer-w-1\/2{width:50%}.univer-w-4{width:1rem}.univer-w-5{width:1.25rem}.univer-w-\[136px\]{width:136px}.univer-w-\[208px\]{width:208px}.univer-w-\[290px\]{width:290px}.univer-w-\[var\(--radix-popper-anchor-width\)\]{width:var(--radix-popper-anchor-width)}.univer-w-fit{width:-moz-fit-content;width:fit-content}.\!univer-min-w-0{min-width:0px!important}.univer-flex-shrink-0{flex-shrink:0}.univer-flex-grow{flex-grow:1}.univer-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.univer-flex-row{flex-direction:row}.univer-gap-1{gap:.25rem}.univer-gap-1\.5{gap:.375rem}.univer-gap-2\.5{gap:.625rem}.univer-gap-4{gap:1rem}.univer-justify-self-end{justify-self:end}.univer-overflow-auto{overflow:auto}.univer-rounded-md{border-radius:.375rem}.univer-rounded-xl{border-radius:.75rem}.univer-border{border-width:1px}.univer-border-b{border-bottom-width:1px}.univer-border-solid{border-style:solid}.univer-border-gray-200{border-color:var(--univer-gray-200)}.univer-bg-transparent{background-color:transparent}.univer-bg-white{background-color:var(--univer-white)}.univer-p-1\.5{padding:.375rem}.univer-p-2{padding:.5rem}.univer-px-1{padding-left:.25rem;padding-right:.25rem}.univer-px-1\.5{padding-left:.375rem;padding-right:.375rem}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-3{padding-left:.75rem;padding-right:.75rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-4{padding-top:1rem;padding-bottom:1rem}.univer-pb-2\.5{padding-bottom:.625rem}.univer-pb-3{padding-bottom:.75rem}.univer-text-2xl{font-size:1.5rem;line-height:2rem}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-font-semibold{font-weight:600}.univer-leading-4{line-height:1rem}.univer-leading-5{line-height:1.25rem}.univer-leading-6{line-height:1.5rem}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-200{transition-duration:.2s}.placeholder\:univer-text-gray-400::-moz-placeholder{color:var(--univer-gray-400)}.placeholder\:univer-text-gray-400::placeholder{color:var(--univer-gray-400)}.hover\:univer-bg-gray-100:hover{background-color:var(--univer-gray-100)}.focus\:univer-border-primary-500:focus{border-color:var(--univer-primary-500)}.focus\:univer-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:univer-ring-2:focus{--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),0 0 #0000;box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),var(--univer-tw-shadow, 0 0 rgba(0,0,0,0))}.focus\:univer-ring-primary-50:focus{--univer-tw-ring-color: var(--univer-primary-50) }.dark\:\!univer-border-gray-700:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-700)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-shadow-none:where(.univer-dark,.univer-dark *){--univer-tw-shadow: 0 0 rgba(0,0,0,0) !important;--univer-tw-shadow-colored: 0 0 rgba(0,0,0,0) !important;box-shadow:0 0 #0000,0 0 #0000,0 0 #0000!important;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)!important}.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-bottom-0{bottom:0}.univer-m-0\.5{margin:.125rem}.univer-mx-0{margin-left:0;margin-right:0}.univer-my-2{margin-top:.5rem;margin-bottom:.5rem}.univer-my-4{margin-top:1rem;margin-bottom:1rem}.univer-mb-2{margin-bottom:.5rem}.univer-mb-3{margin-bottom:.75rem}.univer-mb-4{margin-bottom:1rem}.univer-mb-5{margin-bottom:1.25rem}.univer-ml-2{margin-left:.5rem}.univer-ml-3{margin-left:.75rem}.univer-mr-0\.5{margin-right:.125rem}.univer-mr-2{margin-right:.5rem}.univer-mt-0\.5{margin-top:.125rem}.univer-mt-2{margin-top:.5rem}.univer-mt-3{margin-top:.75rem}.univer-box-border{box-sizing:border-box}.univer-box-content{box-sizing:content-box}.univer-flex{display:flex}.univer-size-4{width:1rem;height:1rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-h-0\.5{height:.125rem}.univer-h-10{height:2.5rem}.univer-h-4{height:1rem}.univer-h-5{height:1.25rem}.univer-h-6{height:1.5rem}.univer-h-7{height:1.75rem}.univer-h-8{height:2rem}.univer-h-full{height:100%}.univer-w-14{width:3.5rem}.univer-w-6{width:1.5rem}.univer-w-\[45\%\]{width:45%}.univer-w-full{width:100%}.univer-max-w-\[290px\]{max-width:290px}.univer-flex-1{flex:1 1 0%}.univer-rotate-180{--univer-tw-rotate: 180deg;transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(180deg) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.univer-cursor-default{cursor:default}.univer-cursor-not-allowed{cursor:not-allowed}.univer-cursor-pointer{cursor:pointer}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-end{justify-content:flex-end}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-justify-around{justify-content:space-around}.univer-gap-2{gap:.5rem}.univer-gap-3{gap:.75rem}.univer-gap-5{gap:1.25rem}.univer-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-sm{border-radius:.125rem}.\!univer-bg-gray-50{background-color:var(--univer-gray-50)!important}.\!univer-bg-gray-700{background-color:var(--univer-gray-700)!important}.univer-bg-blue-200{background-color:var(--univer-blue-200)}.univer-bg-gray-100{background-color:var(--univer-gray-100)}.univer-bg-gray-50{background-color:var(--univer-gray-50)}.univer-bg-primary-600{background-color:var(--univer-primary-600)}.univer-p-0{padding:0}.univer-p-0\.5{padding:.125rem}.univer-p-3{padding:.75rem}.univer-p-4{padding:1rem}.univer-px-0{padding-left:0;padding-right:0}.univer-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.univer-py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.univer-pb-4{padding-bottom:1rem}.univer-pl-4{padding-left:1rem}.univer-pr-1{padding-right:.25rem}.univer-pt-2\.5{padding-top:.625rem}.univer-text-center{text-align:center}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-medium{font-weight:500}.univer-leading-7{line-height:1.75rem}.univer-leading-8{line-height:2rem}.univer-leading-tight{line-height:1.25}.univer-text-gray-200{color:var(--univer-gray-200)}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-800{color:var(--univer-gray-800)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-text-primary-600{color:var(--univer-primary-600)}.univer-text-red-500{color:var(--univer-red-500)}.univer-text-white{color:var(--univer-white)}.univer-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-300{transition-duration:.3s}.univer-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-scrollbar-corner-primary-600{--scrollbar-corner: var(--univer-primary-600) }.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-800:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-800)!important}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-gray-100:where(.univer-dark,.univer-dark *){color:var(--univer-gray-100)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}
package/lib/index.js CHANGED
@@ -4,21 +4,21 @@ import { UniverExchangeClientPlugin as s } from "@univerjs-pro/exchange-client";
4
4
  export * from "@univerjs-pro/exchange-client";
5
5
  import { UniverLicensePlugin as u } from "@univerjs-pro/license";
6
6
  export * from "@univerjs-pro/license";
7
- import { UniverSheetsChartPlugin as a } from "@univerjs-pro/sheets-chart";
7
+ import { UniverSheetsChartPlugin as v } from "@univerjs-pro/sheets-chart";
8
8
  export * from "@univerjs-pro/sheets-chart";
9
- import { UniverSheetsChartUIPlugin as v } from "@univerjs-pro/sheets-chart-ui";
9
+ import { UniverSheetsChartUIPlugin as x } from "@univerjs-pro/sheets-chart-ui";
10
10
  export * from "@univerjs-pro/sheets-chart-ui";
11
- import { UniverSheetsExchangeClientPlugin as x } from "@univerjs-pro/sheets-exchange-client";
11
+ import { UniverSheetsExchangeClientPlugin as c } from "@univerjs-pro/sheets-exchange-client";
12
12
  export * from "@univerjs-pro/sheets-exchange-client";
13
- import { UniverSheetsPivotTablePlugin as t } from "@univerjs-pro/sheets-pivot";
13
+ import { UniverSheetsPivotTablePlugin as n } from "@univerjs-pro/sheets-pivot";
14
14
  export * from "@univerjs-pro/sheets-pivot";
15
15
  import { UniverSheetsPivotTableUIPlugin as g } from "@univerjs-pro/sheets-pivot-ui";
16
16
  export * from "@univerjs-pro/sheets-pivot-ui";
17
17
  import { UniverSheetsPrintPlugin as U } from "@univerjs-pro/sheets-print";
18
18
  export * from "@univerjs-pro/sheets-print";
19
- import { UniverSheetSparklinePlugin as c } from "@univerjs-pro/sheets-sparkline";
19
+ import { UniverSheetSparklinePlugin as h } from "@univerjs-pro/sheets-sparkline";
20
20
  export * from "@univerjs-pro/sheets-sparkline";
21
- import { UniverSheetSparklineUIPlugin as h } from "@univerjs-pro/sheets-sparkline-ui";
21
+ import { UniverSheetSparklineUIPlugin as P } from "@univerjs-pro/sheets-sparkline-ui";
22
22
  export * from "@univerjs-pro/sheets-sparkline-ui";
23
23
  import "@univerjs-pro/exchange-client/lib/facade";
24
24
  import "@univerjs-pro/sheets-pivot/lib/facade";
@@ -28,32 +28,35 @@ import "@univerjs-pro/sheets-chart-ui/lib/facade";
28
28
  import "@univerjs-pro/sheets-sparkline/lib/facade";
29
29
  export * from "@univerjs-pro/engine-chart";
30
30
  export * from "@univerjs/sheets-graphics";
31
- function W(n = {
31
+ function j(p = {
32
32
  license: "",
33
33
  universerEndpoint: ""
34
34
  }) {
35
35
  const {
36
- license: p,
36
+ license: m,
37
37
  universerEndpoint: e,
38
- useWorker: i,
38
+ useWorker: t,
39
39
  formula: o,
40
- exchangeClientOptions: m
41
- } = n, r = e != null ? e : `${window.location.protocol}//${window.location.host}`;
40
+ exchangeClientOptions: l,
41
+ print: i
42
+ } = p, r = e != null ? e : `${window.location.protocol}//${window.location.host}`;
42
43
  return {
43
44
  plugins: [
44
- [u, { license: p }],
45
+ [u, { license: m }],
45
46
  // TODO: @wzhudev: if we use worker, we need to add different configurations to SheetsPivotTable
46
- i ? [t, { notExecuteFormula: !0 }] : [t],
47
+ t ? [n, { notExecuteFormula: !0 }] : [n],
47
48
  g,
48
49
  [f, {
49
- notExecuteFormula: i,
50
+ notExecuteFormula: t,
50
51
  function: o == null ? void 0 : o.function
51
52
  }],
52
- U,
53
- a,
53
+ [U, {
54
+ enforceWatermark: i == null ? void 0 : i.enforceWatermark
55
+ }],
54
56
  v,
55
- c,
57
+ x,
56
58
  h,
59
+ P,
57
60
  [s, {
58
61
  uploadFileServerUrl: `${r}/universer-api/stream/file/upload`,
59
62
  getTaskServerUrl: `${r}/universer-api/exchange/task/{taskID}`,
@@ -61,12 +64,12 @@ function W(n = {
61
64
  importServerUrl: `${r}/universer-api/exchange/{type}/import`,
62
65
  exportServerUrl: `${r}/universer-api/exchange/{type}/export`,
63
66
  downloadEndpointUrl: `${r}/`,
64
- options: m
67
+ options: l
65
68
  }],
66
- x
67
- ].filter((l) => !!l)
69
+ c
70
+ ].filter((a) => !!a)
68
71
  };
69
72
  }
70
73
  export {
71
- W as UniverSheetsAdvancedPreset
74
+ j as UniverSheetsAdvancedPreset
72
75
  };
@@ -1,5 +1,6 @@
1
1
  import { IUniverEngineFormulaConfig } from '@univerjs-pro/engine-formula';
2
2
  import { IUniverExchangeClientOptions } from '@univerjs-pro/exchange-client';
3
+ import { IUniverSheetsPrintConfig } from '@univerjs-pro/sheets-print';
3
4
  import { IPreset } from './types';
4
5
  import '@univerjs-pro/exchange-client/lib/facade';
5
6
  import '@univerjs-pro/sheets-pivot/lib/facade';
@@ -24,6 +25,7 @@ export interface IUniverSheetsAdvancedPresetConfig {
24
25
  useWorker?: boolean;
25
26
  formula?: Pick<IUniverEngineFormulaConfig, 'function'>;
26
27
  exchangeClientOptions?: IUniverExchangeClientOptions;
28
+ print?: Partial<IUniverSheetsPrintConfig>;
27
29
  }
28
30
  /**
29
31
  * This presets helps you to create a Univer sheet with open sourced features.