@univerjs/preset-sheets-collaboration 0.15.5 → 0.16.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 i=require("@univerjs-pro/collaboration"),n=require("@univerjs-pro/collaboration-client"),o=require("@univerjs-pro/collaboration-client-ui"),l=require("@univerjs-pro/edit-history-loader");require("@univerjs-pro/collaboration-client/lib/facade");require("@univerjs-pro/collaboration-client-ui/lib/facade");const a=require("@univerjs-pro/edit-history-viewer");function b(e){const t=new URL(e,window.location.origin);switch(t.protocol){case"https:":t.protocol="wss:";break;case"http:":t.protocol="ws:";break}return t.toString()}function f(e={}){const{universerEndpoint:t,univerContainerId:s="app",enableOfflineEditing:c=!0,enableSingleActiveInstanceLock:u=!0,enableFrontendLog:p=!1}=e,r=t!=null?t:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[n.UniverCollaborationClientPlugin,{socketService:o.BrowserCollaborationSocketService,enableOfflineEditing:c,enableSingleActiveInstanceLock:u,enableAuthServer:!0,authzUrl:`${r}/universer-api/authz`,snapshotServerUrl:`${r}/universer-api/snapshot`,collabSubmitChangesetUrl:`${r}/universer-api/comb`,collabWebSocketUrl:b(`${r}/universer-api/comb/connect`),loginUrlKey:`${r}/universer-api/oidc/authpage`,uploadFileServerUrl:`${r}/universer-api/stream/file/upload`,signUrlServerUrl:`${r}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${r}/`,wsSessionTicketUrl:`${r}/universer-api/user/session-ticket`,startFormulaLimitUrl:`${r}/universer-api/license/formula/limit/start`,getFormulaLimitStatusUrl:`${r}/universer-api/license/formula/limit/status`,releaseFormulaLimitUrl:`${r}/universer-api/license/formula/limit/done`,sendChangesetTimeout:200}],[o.UniverCollaborationClientUIPlugin,{enableFrontendLog:p}],[l.UniverEditHistoryLoaderPlugin,{univerContainerId:s,historyListServerUrl:`${r}/universer-api/history`}]]}}exports.UniverSheetsCollaborationPreset=f;Object.keys(i).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>i[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(o).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>o[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(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 i=require("@univerjs-pro/collaboration"),n=require("@univerjs-pro/collaboration-client"),o=require("@univerjs-pro/collaboration-client-ui"),l=require("@univerjs-pro/edit-history-loader");require("@univerjs-pro/collaboration-client/lib/facade");require("@univerjs-pro/collaboration-client-ui/lib/facade");const a=require("@univerjs-pro/edit-history-viewer");function f(e){const t=new URL(e,window.location.origin);switch(t.protocol){case"https:":t.protocol="wss:";break;case"http:":t.protocol="ws:";break}return t.toString()}function d(e={}){const{universerEndpoint:t,univerContainerId:s="app",enableOfflineEditing:c=!0,enableSingleActiveInstanceLock:u=!0,enableFrontendLog:p=!1,historyWorkerURL:b}=e,r=t!=null?t:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[n.UniverCollaborationClientPlugin,{socketService:o.BrowserCollaborationSocketService,enableOfflineEditing:c,enableSingleActiveInstanceLock:u,enableAuthServer:!0,authzUrl:`${r}/universer-api/authz`,snapshotServerUrl:`${r}/universer-api/snapshot`,collabSubmitChangesetUrl:`${r}/universer-api/comb`,collabWebSocketUrl:f(`${r}/universer-api/comb/connect`),loginUrlKey:`${r}/universer-api/oidc/authpage`,uploadFileServerUrl:`${r}/universer-api/stream/file/upload`,signUrlServerUrl:`${r}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${r}/`,wsSessionTicketUrl:`${r}/universer-api/user/session-ticket`,startFormulaLimitUrl:`${r}/universer-api/license/formula/limit/start`,getFormulaLimitStatusUrl:`${r}/universer-api/license/formula/limit/status`,releaseFormulaLimitUrl:`${r}/universer-api/license/formula/limit/done`,sendChangesetTimeout:200}],[o.UniverCollaborationClientUIPlugin,{enableFrontendLog:p}],[l.UniverEditHistoryLoaderPlugin,{univerContainerId:s,historyListServerUrl:`${r}/universer-api/history`,workerURL:b}]]}}exports.UniverSheetsCollaborationPreset=d;Object.keys(i).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>i[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(o).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>o[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(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
@@ -1,15 +1,15 @@
1
- import { UniverCollaborationPlugin as a } from "@univerjs-pro/collaboration";
1
+ import { UniverCollaborationPlugin as s } from "@univerjs-pro/collaboration";
2
2
  export * from "@univerjs-pro/collaboration";
3
- import { UniverCollaborationClientPlugin as s } from "@univerjs-pro/collaboration-client";
3
+ import { UniverCollaborationClientPlugin as u } from "@univerjs-pro/collaboration-client";
4
4
  export * from "@univerjs-pro/collaboration-client";
5
- import { BrowserCollaborationSocketService as u, UniverCollaborationClientUIPlugin as p } from "@univerjs-pro/collaboration-client-ui";
5
+ import { BrowserCollaborationSocketService as p, UniverCollaborationClientUIPlugin as c } from "@univerjs-pro/collaboration-client-ui";
6
6
  export * from "@univerjs-pro/collaboration-client-ui";
7
- import { UniverEditHistoryLoaderPlugin as c } from "@univerjs-pro/edit-history-loader";
7
+ import { UniverEditHistoryLoaderPlugin as m } from "@univerjs-pro/edit-history-loader";
8
8
  export * from "@univerjs-pro/edit-history-loader";
9
9
  import "@univerjs-pro/collaboration-client/lib/facade";
10
10
  import "@univerjs-pro/collaboration-client-ui/lib/facade";
11
11
  export * from "@univerjs-pro/edit-history-viewer";
12
- function m(o) {
12
+ function v(o) {
13
13
  const e = new URL(o, window.location.origin);
14
14
  switch (e.protocol) {
15
15
  case "https:":
@@ -21,26 +21,27 @@ function m(o) {
21
21
  }
22
22
  return e.toString();
23
23
  }
24
- function h(o = {}) {
24
+ function w(o = {}) {
25
25
  const {
26
26
  universerEndpoint: e,
27
27
  univerContainerId: i = "app",
28
28
  enableOfflineEditing: t = !0,
29
29
  enableSingleActiveInstanceLock: n = !0,
30
- enableFrontendLog: l = !1
30
+ enableFrontendLog: l = !1,
31
+ historyWorkerURL: a
31
32
  } = o, r = e != null ? e : `${window.location.protocol}//${window.location.host}`;
32
33
  return {
33
34
  plugins: [
34
- a,
35
- [s, {
36
- socketService: u,
35
+ s,
36
+ [u, {
37
+ socketService: p,
37
38
  enableOfflineEditing: t,
38
39
  enableSingleActiveInstanceLock: n,
39
40
  enableAuthServer: !0,
40
41
  authzUrl: `${r}/universer-api/authz`,
41
42
  snapshotServerUrl: `${r}/universer-api/snapshot`,
42
43
  collabSubmitChangesetUrl: `${r}/universer-api/comb`,
43
- collabWebSocketUrl: m(`${r}/universer-api/comb/connect`),
44
+ collabWebSocketUrl: v(`${r}/universer-api/comb/connect`),
44
45
  loginUrlKey: `${r}/universer-api/oidc/authpage`,
45
46
  uploadFileServerUrl: `${r}/universer-api/stream/file/upload`,
46
47
  signUrlServerUrl: `${r}/universer-api/file/{fileID}/sign-url`,
@@ -51,16 +52,17 @@ function h(o = {}) {
51
52
  releaseFormulaLimitUrl: `${r}/universer-api/license/formula/limit/done`,
52
53
  sendChangesetTimeout: 200
53
54
  }],
54
- [p, {
55
+ [c, {
55
56
  enableFrontendLog: l
56
57
  }],
57
- [c, {
58
+ [m, {
58
59
  univerContainerId: i,
59
- historyListServerUrl: `${r}/universer-api/history`
60
+ historyListServerUrl: `${r}/universer-api/history`,
61
+ workerURL: a
60
62
  }]
61
63
  ]
62
64
  };
63
65
  }
64
66
  export {
65
- h as UniverSheetsCollaborationPreset
67
+ w as UniverSheetsCollaborationPreset
66
68
  };
package/lib/index.css CHANGED
@@ -1 +1 @@
1
- .univer-mr-2{margin-right:.5rem}.univer-text-xl{font-size:1.25rem;line-height:1.75rem}.univer-leading-8{line-height:2rem}.univer-text-green-500{color:var(--univer-green-500)}.univer-text-red-500{color:var(--univer-red-500)}.univer-m-auto{margin:auto}.univer-ml-2{margin-left:.5rem}.univer-ml-2\.5{margin-left:.625rem}.univer-flex{display:flex}.univer-size-6{width:1.5rem;height:1.5rem}.univer-size-8{width:2rem;height:2rem}.univer-h-12{height:3rem}.univer-h-5{height:1.25rem}.univer-h-6{height:1.5rem}.univer-h-7{height:1.75rem}.univer-h-full{height:100%}.univer-w-full{width:100%}.univer-flex-1{flex:1 1 0%}@keyframes univer-spin{to{transform:rotate(360deg)}}.univer-animate-spin{animation:univer-spin 1s linear infinite}.univer-cursor-default{cursor:default}.univer-cursor-pointer{cursor:pointer}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-1{gap:.25rem}.univer-gap-2\.5{gap:.625rem}.univer-space-y-2>:not([hidden])~:not([hidden]){--univer-tw-space-y-reverse: 0;margin-top:calc(.5rem * (1 - var(--univer-tw-space-y-reverse)));margin-top:.5rem;margin-top:calc(.5rem * calc(1 - var(--univer-tw-space-y-reverse)));margin-bottom:0rem;margin-bottom:calc(.5rem * var(--univer-tw-space-y-reverse))}.univer-overflow-auto{overflow:auto}.univer-overflow-hidden{overflow:hidden}.univer-rounded{border-radius:.25rem}.univer-rounded-md{border-radius:.375rem}.univer-border{border-width:1px}.univer-border-primary-600{border-color:var(--univer-primary-600)}.\!univer-bg-gray-900{background-color:var(--univer-gray-900)!important}.univer-bg-gray-50{background-color:var(--univer-gray-50)}.univer-bg-primary-50{background-color:var(--univer-primary-50)}.univer-px-1\.5{padding-left:.375rem;padding-right:.375rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.univer-pb-4{padding-bottom:1rem}.univer-text-2xl{font-size:1.5rem;line-height:2rem}.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-5{line-height:1.25rem}.univer-text-gray-400{color:var(--univer-gray-400)}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-primary-600{color:var(--univer-primary-600)}.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}.hover\:univer-bg-gray-100:hover{background-color:var(--univer-gray-100)}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-gray-300:where(.univer-dark,.univer-dark *){color:var(--univer-gray-300)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:hover\:\!univer-bg-gray-800:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-800)!important}
1
+ .univer-mr-2{margin-right:.5rem}.univer-text-xl{font-size:1.25rem;line-height:1.75rem}.univer-leading-8{line-height:2rem}.univer-text-green-500{color:var(--univer-green-500)}.univer-text-red-500{color:var(--univer-red-500)}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-sticky{position:sticky}.univer-top-0{top:0}.univer-top-1\/2{top:50%}.univer-z-10{z-index:10}.univer-m-auto{margin:auto}.univer-mb-3{margin-bottom:.75rem}.univer-ml-1{margin-left:.25rem}.univer-ml-2\.5{margin-left:.625rem}.univer-ml-6{margin-left:1.5rem}.univer-flex{display:flex}.univer-size-4{width:1rem;height:1rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-size-6{width:1.5rem;height:1.5rem}.univer-size-8{width:2rem;height:2rem}.univer-h-12{height:3rem}.univer-h-6{height:1.5rem}.univer-h-7{height:1.75rem}.univer-h-8{height:2rem}.univer-h-\[calc\(100\%-32px\)\]{height:calc(100% - 32px)}.univer-h-full{height:100%}.univer-max-h-\[300px\]{max-height:300px}.univer-w-\[calc\(100\%-16px\)\]{width:calc(100% - 16px)}.univer-w-full{width:100%}.univer-min-w-\[240px\]{min-width:240px}.univer-flex-1{flex:1 1 0%}.univer-shrink-0{flex-shrink:0}@keyframes univer-spin{to{transform:rotate(360deg)}}.univer-animate-spin{animation:univer-spin 1s linear infinite}.univer-cursor-default{cursor:default}.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-gap-1{gap:.25rem}.univer-gap-1\.5{gap:.375rem}.univer-gap-2{gap:.5rem}.univer-gap-2\.5{gap:.625rem}.univer-space-y-2>:not([hidden])~:not([hidden]){--univer-tw-space-y-reverse: 0;margin-top:calc(.5rem * (1 - var(--univer-tw-space-y-reverse)));margin-top:.5rem;margin-top:calc(.5rem * calc(1 - var(--univer-tw-space-y-reverse)));margin-bottom:0rem;margin-bottom:calc(.5rem * var(--univer-tw-space-y-reverse))}.univer-overflow-auto{overflow:auto}.univer-overflow-y-auto{overflow-y:auto}.univer-rounded{border-radius:.25rem}.univer-rounded-md{border-radius:.375rem}.univer-border{border-width:1px}.univer-border-t{border-top-width:1px}.univer-border-gray-200{border-color:var(--univer-gray-200)}.univer-border-primary-600{border-color:var(--univer-primary-600)}.\!univer-bg-gray-900{background-color:var(--univer-gray-900)!important}.univer-bg-gray-100{background-color:var(--univer-gray-100)}.univer-bg-gray-50{background-color:var(--univer-gray-50)}.univer-bg-primary-50{background-color:var(--univer-primary-50)}.univer-bg-white{background-color:var(--univer-white)}.univer-p-1{padding:.25rem}.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-3{padding-left:.75rem;padding-right:.75rem}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-pb-4{padding-bottom:1rem}.univer-pt-1\.5{padding-top:.375rem}.univer-text-2xl{font-size:1.5rem;line-height:2rem}.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-font-semibold{font-weight:600}.univer-leading-5{line-height:1.25rem}.univer-text-blue-400{color:var(--univer-blue-400)}.univer-text-blue-600{color:var(--univer-blue-600)}.univer-text-gray-400{color:var(--univer-gray-400)}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-700{color:var(--univer-gray-700)}.univer-text-primary-600{color:var(--univer-primary-600)}.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}.hover\:univer-bg-gray-100:hover{background-color:var(--univer-gray-100)}.dark\:univer-border-gray-700:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-700)}.dark\:\!univer-bg-gray-200:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-200)!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-300:where(.univer-dark,.univer-dark *){color:var(--univer-gray-300)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:univer-text-blue-400:where(.univer-dark,.univer-dark *){color:var(--univer-blue-400)}.dark\:univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)}.dark\:univer-text-gray-400:where(.univer-dark,.univer-dark *){color:var(--univer-gray-400)}.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:hover\:\!univer-bg-gray-800:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-800)!important}.dark\:hover\:univer-bg-gray-700:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)}.dark\:hover\:univer-bg-gray-800:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-800)}
package/lib/index.js CHANGED
@@ -1,15 +1,15 @@
1
- import { UniverCollaborationPlugin as a } from "@univerjs-pro/collaboration";
1
+ import { UniverCollaborationPlugin as s } from "@univerjs-pro/collaboration";
2
2
  export * from "@univerjs-pro/collaboration";
3
- import { UniverCollaborationClientPlugin as s } from "@univerjs-pro/collaboration-client";
3
+ import { UniverCollaborationClientPlugin as u } from "@univerjs-pro/collaboration-client";
4
4
  export * from "@univerjs-pro/collaboration-client";
5
- import { BrowserCollaborationSocketService as u, UniverCollaborationClientUIPlugin as p } from "@univerjs-pro/collaboration-client-ui";
5
+ import { BrowserCollaborationSocketService as p, UniverCollaborationClientUIPlugin as c } from "@univerjs-pro/collaboration-client-ui";
6
6
  export * from "@univerjs-pro/collaboration-client-ui";
7
- import { UniverEditHistoryLoaderPlugin as c } from "@univerjs-pro/edit-history-loader";
7
+ import { UniverEditHistoryLoaderPlugin as m } from "@univerjs-pro/edit-history-loader";
8
8
  export * from "@univerjs-pro/edit-history-loader";
9
9
  import "@univerjs-pro/collaboration-client/lib/facade";
10
10
  import "@univerjs-pro/collaboration-client-ui/lib/facade";
11
11
  export * from "@univerjs-pro/edit-history-viewer";
12
- function m(o) {
12
+ function v(o) {
13
13
  const e = new URL(o, window.location.origin);
14
14
  switch (e.protocol) {
15
15
  case "https:":
@@ -21,26 +21,27 @@ function m(o) {
21
21
  }
22
22
  return e.toString();
23
23
  }
24
- function h(o = {}) {
24
+ function w(o = {}) {
25
25
  const {
26
26
  universerEndpoint: e,
27
27
  univerContainerId: i = "app",
28
28
  enableOfflineEditing: t = !0,
29
29
  enableSingleActiveInstanceLock: n = !0,
30
- enableFrontendLog: l = !1
30
+ enableFrontendLog: l = !1,
31
+ historyWorkerURL: a
31
32
  } = o, r = e != null ? e : `${window.location.protocol}//${window.location.host}`;
32
33
  return {
33
34
  plugins: [
34
- a,
35
- [s, {
36
- socketService: u,
35
+ s,
36
+ [u, {
37
+ socketService: p,
37
38
  enableOfflineEditing: t,
38
39
  enableSingleActiveInstanceLock: n,
39
40
  enableAuthServer: !0,
40
41
  authzUrl: `${r}/universer-api/authz`,
41
42
  snapshotServerUrl: `${r}/universer-api/snapshot`,
42
43
  collabSubmitChangesetUrl: `${r}/universer-api/comb`,
43
- collabWebSocketUrl: m(`${r}/universer-api/comb/connect`),
44
+ collabWebSocketUrl: v(`${r}/universer-api/comb/connect`),
44
45
  loginUrlKey: `${r}/universer-api/oidc/authpage`,
45
46
  uploadFileServerUrl: `${r}/universer-api/stream/file/upload`,
46
47
  signUrlServerUrl: `${r}/universer-api/file/{fileID}/sign-url`,
@@ -51,16 +52,17 @@ function h(o = {}) {
51
52
  releaseFormulaLimitUrl: `${r}/universer-api/license/formula/limit/done`,
52
53
  sendChangesetTimeout: 200
53
54
  }],
54
- [p, {
55
+ [c, {
55
56
  enableFrontendLog: l
56
57
  }],
57
- [c, {
58
+ [m, {
58
59
  univerContainerId: i,
59
- historyListServerUrl: `${r}/universer-api/history`
60
+ historyListServerUrl: `${r}/universer-api/history`,
61
+ workerURL: a
60
62
  }]
61
63
  ]
62
64
  };
63
65
  }
64
66
  export {
65
- h as UniverSheetsCollaborationPreset
67
+ w as UniverSheetsCollaborationPreset
66
68
  };
@@ -24,6 +24,7 @@ export interface IUniverSheetsCollaborationPresetConfig extends Pick<IUniverColl
24
24
  * @default true
25
25
  */
26
26
  enableSingleActiveInstanceLock?: boolean;
27
+ historyWorkerURL?: string | URL | Worker;
27
28
  }
28
29
  /**
29
30
  * This preset add collaboration features, including collaboration editing, collaboration cursors,