@univerjs/preset-sheets-collaboration 0.9.2 → 0.9.4

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");function s(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 c(e={}){const{universerEndpoint:t,univerContainerId:a="app"}=e,r=t!=null?t:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[n.UniverCollaborationClientPlugin,{socketService:o.BrowserCollaborationSocketService,enableOfflineEditing:!0,enableSingleActiveInstanceLock:!0,enableAuthServer:!0,authzUrl:`${r}/universer-api/authz`,snapshotServerUrl:`${r}/universer-api/snapshot`,collabSubmitChangesetUrl:`${r}/universer-api/comb`,collabWebSocketUrl:s(`${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`,sendChangesetTimeout:200}],[o.UniverCollaborationClientUIPlugin,{}],[l.UniverEditHistoryLoaderPlugin,{univerContainerId:a,historyListServerUrl:`${r}/universer-api/history`}]]}}exports.UniverSheetsCollaborationPreset=c;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]})});
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 p(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 b(e={}){const{universerEndpoint:t,univerContainerId:s="app",enableOfflineEditing:c=!0,enableSingleActiveInstanceLock:u=!0}=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:p(`${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`,sendChangesetTimeout:200}],[o.UniverCollaborationClientUIPlugin,{}],[l.UniverEditHistoryLoaderPlugin,{univerContainerId:s,historyListServerUrl:`${r}/universer-api/history`}]]}}exports.UniverSheetsCollaborationPreset=b;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]})});
@@ -0,0 +1 @@
1
+ "use strict";const e=require("@univerjs/core"),r=require("@univerjs-pro/collaboration-client/locale/ca-ES"),i=require("@univerjs-pro/collaboration-client-ui/locale/ca-ES"),o=require("@univerjs-pro/edit-history-viewer/locale/ca-ES"),t=e.merge({},r,i,o);module.exports=t;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("@univerjs/core"),r=require("@univerjs-pro/collaboration-client/locale/es-ES"),i=require("@univerjs-pro/collaboration-client-ui/locale/es-ES"),o=require("@univerjs-pro/edit-history-viewer/locale/es-ES"),t=e.merge({},r,i,o);module.exports=t;
package/lib/es/index.js CHANGED
@@ -1,39 +1,45 @@
1
- import { UniverCollaborationPlugin as t } from "@univerjs-pro/collaboration";
1
+ import { UniverCollaborationPlugin as l } from "@univerjs-pro/collaboration";
2
2
  export * from "@univerjs-pro/collaboration";
3
- import { UniverCollaborationClientPlugin as n } from "@univerjs-pro/collaboration-client";
3
+ import { UniverCollaborationClientPlugin as s } from "@univerjs-pro/collaboration-client";
4
4
  export * from "@univerjs-pro/collaboration-client";
5
- import { BrowserCollaborationSocketService as l, UniverCollaborationClientUIPlugin as s } from "@univerjs-pro/collaboration-client-ui";
5
+ import { BrowserCollaborationSocketService as a, UniverCollaborationClientUIPlugin as p } from "@univerjs-pro/collaboration-client-ui";
6
6
  export * from "@univerjs-pro/collaboration-client-ui";
7
- import { UniverEditHistoryLoaderPlugin as a } from "@univerjs-pro/edit-history-loader";
7
+ import { UniverEditHistoryLoaderPlugin as c } 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
- function p(o) {
12
- const e = new URL(o, window.location.origin);
13
- switch (e.protocol) {
11
+ export * from "@univerjs-pro/edit-history-viewer";
12
+ function u(e) {
13
+ const o = new URL(e, window.location.origin);
14
+ switch (o.protocol) {
14
15
  case "https:":
15
- e.protocol = "wss:";
16
+ o.protocol = "wss:";
16
17
  break;
17
18
  case "http:":
18
- e.protocol = "ws:";
19
+ o.protocol = "ws:";
19
20
  break;
20
21
  }
21
- return e.toString();
22
+ return o.toString();
22
23
  }
23
- function f(o = {}) {
24
- const { universerEndpoint: e, univerContainerId: i = "app" } = o, r = e != null ? e : `${window.location.protocol}//${window.location.host}`;
24
+ function h(e = {}) {
25
+ const {
26
+ universerEndpoint: o,
27
+ univerContainerId: i = "app",
28
+ enableOfflineEditing: t = !0,
29
+ enableSingleActiveInstanceLock: n = !0
30
+ } = e, r = o != null ? o : `${window.location.protocol}//${window.location.host}`;
25
31
  return {
26
32
  plugins: [
27
- t,
28
- [n, {
29
- socketService: l,
30
- enableOfflineEditing: !0,
31
- enableSingleActiveInstanceLock: !0,
33
+ l,
34
+ [s, {
35
+ socketService: a,
36
+ enableOfflineEditing: t,
37
+ enableSingleActiveInstanceLock: n,
32
38
  enableAuthServer: !0,
33
39
  authzUrl: `${r}/universer-api/authz`,
34
40
  snapshotServerUrl: `${r}/universer-api/snapshot`,
35
41
  collabSubmitChangesetUrl: `${r}/universer-api/comb`,
36
- collabWebSocketUrl: p(`${r}/universer-api/comb/connect`),
42
+ collabWebSocketUrl: u(`${r}/universer-api/comb/connect`),
37
43
  loginUrlKey: `${r}/universer-api/oidc/authpage`,
38
44
  uploadFileServerUrl: `${r}/universer-api/stream/file/upload`,
39
45
  signUrlServerUrl: `${r}/universer-api/file/{fileID}/sign-url`,
@@ -41,8 +47,8 @@ function f(o = {}) {
41
47
  wsSessionTicketUrl: `${r}/universer-api/user/session-ticket`,
42
48
  sendChangesetTimeout: 200
43
49
  }],
44
- [s, {}],
45
- [a, {
50
+ [p, {}],
51
+ [c, {
46
52
  univerContainerId: i,
47
53
  historyListServerUrl: `${r}/universer-api/history`
48
54
  }]
@@ -50,5 +56,5 @@ function f(o = {}) {
50
56
  };
51
57
  }
52
58
  export {
53
- f as UniverSheetsCollaborationPreset
59
+ h as UniverSheetsCollaborationPreset
54
60
  };
@@ -0,0 +1,13 @@
1
+ import { merge as o } from "@univerjs/core";
2
+ import r from "@univerjs-pro/collaboration-client/locale/ca-ES";
3
+ import i from "@univerjs-pro/collaboration-client-ui/locale/ca-ES";
4
+ import t from "@univerjs-pro/edit-history-viewer/locale/ca-ES";
5
+ const l = o(
6
+ {},
7
+ r,
8
+ i,
9
+ t
10
+ );
11
+ export {
12
+ l as default
13
+ };
@@ -0,0 +1,13 @@
1
+ import { merge as o } from "@univerjs/core";
2
+ import r from "@univerjs-pro/collaboration-client/locale/es-ES";
3
+ import i from "@univerjs-pro/collaboration-client-ui/locale/es-ES";
4
+ import e from "@univerjs-pro/edit-history-viewer/locale/es-ES";
5
+ const s = o(
6
+ {},
7
+ r,
8
+ i,
9
+ e
10
+ );
11
+ export {
12
+ s as default
13
+ };
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-mx-\[-20px\]{margin-left:-20px;margin-right:-20px}.univer-ml-2{margin-left:.5rem}.univer-ml-2\.5{margin-left:.625rem}.univer-flex{display:flex}.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-8{height:2rem}.univer-h-\[60px\]{height:60px}.univer-h-full{height:100%}.univer-w-6{width:1.5rem}.univer-w-8{width:2rem}.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-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-2\.5{gap:.625rem}.univer-overflow-auto{overflow:auto}.univer-overflow-hidden{overflow:hidden}.univer-rounded{border-radius:.25rem}.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-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-pl-5{padding-left:1.25rem}.univer-pl-\[26px\]{padding-left:26px}.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-\[\#1e222b\]{--univer-tw-text-opacity: 1;color:#1e222b;color:rgba(30,34,43,var(--univer-tw-text-opacity, 1))}.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)}.hover\:univer-bg-\[rgba\(30\,34\,43\,0\.06\)\]:hover{background-color:#1e222b0f}.hover\:univer-bg-gray-100:hover{background-color:var(--univer-gray-100)}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!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)}.univer-m-auto{margin:auto}.univer-ml-2{margin-left:.5rem}.univer-ml-2\.5{margin-left:.625rem}.univer-flex{display:flex}.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-8{height:2rem}.univer-h-full{height:100%}.univer-w-6{width:1.5rem}.univer-w-8{width:2rem}.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)}.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}
package/lib/index.js CHANGED
@@ -1,39 +1,45 @@
1
- import { UniverCollaborationPlugin as t } from "@univerjs-pro/collaboration";
1
+ import { UniverCollaborationPlugin as l } from "@univerjs-pro/collaboration";
2
2
  export * from "@univerjs-pro/collaboration";
3
- import { UniverCollaborationClientPlugin as n } from "@univerjs-pro/collaboration-client";
3
+ import { UniverCollaborationClientPlugin as s } from "@univerjs-pro/collaboration-client";
4
4
  export * from "@univerjs-pro/collaboration-client";
5
- import { BrowserCollaborationSocketService as l, UniverCollaborationClientUIPlugin as s } from "@univerjs-pro/collaboration-client-ui";
5
+ import { BrowserCollaborationSocketService as a, UniverCollaborationClientUIPlugin as p } from "@univerjs-pro/collaboration-client-ui";
6
6
  export * from "@univerjs-pro/collaboration-client-ui";
7
- import { UniverEditHistoryLoaderPlugin as a } from "@univerjs-pro/edit-history-loader";
7
+ import { UniverEditHistoryLoaderPlugin as c } 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
- function p(o) {
12
- const e = new URL(o, window.location.origin);
13
- switch (e.protocol) {
11
+ export * from "@univerjs-pro/edit-history-viewer";
12
+ function u(e) {
13
+ const o = new URL(e, window.location.origin);
14
+ switch (o.protocol) {
14
15
  case "https:":
15
- e.protocol = "wss:";
16
+ o.protocol = "wss:";
16
17
  break;
17
18
  case "http:":
18
- e.protocol = "ws:";
19
+ o.protocol = "ws:";
19
20
  break;
20
21
  }
21
- return e.toString();
22
+ return o.toString();
22
23
  }
23
- function f(o = {}) {
24
- const { universerEndpoint: e, univerContainerId: i = "app" } = o, r = e != null ? e : `${window.location.protocol}//${window.location.host}`;
24
+ function h(e = {}) {
25
+ const {
26
+ universerEndpoint: o,
27
+ univerContainerId: i = "app",
28
+ enableOfflineEditing: t = !0,
29
+ enableSingleActiveInstanceLock: n = !0
30
+ } = e, r = o != null ? o : `${window.location.protocol}//${window.location.host}`;
25
31
  return {
26
32
  plugins: [
27
- t,
28
- [n, {
29
- socketService: l,
30
- enableOfflineEditing: !0,
31
- enableSingleActiveInstanceLock: !0,
33
+ l,
34
+ [s, {
35
+ socketService: a,
36
+ enableOfflineEditing: t,
37
+ enableSingleActiveInstanceLock: n,
32
38
  enableAuthServer: !0,
33
39
  authzUrl: `${r}/universer-api/authz`,
34
40
  snapshotServerUrl: `${r}/universer-api/snapshot`,
35
41
  collabSubmitChangesetUrl: `${r}/universer-api/comb`,
36
- collabWebSocketUrl: p(`${r}/universer-api/comb/connect`),
42
+ collabWebSocketUrl: u(`${r}/universer-api/comb/connect`),
37
43
  loginUrlKey: `${r}/universer-api/oidc/authpage`,
38
44
  uploadFileServerUrl: `${r}/universer-api/stream/file/upload`,
39
45
  signUrlServerUrl: `${r}/universer-api/file/{fileID}/sign-url`,
@@ -41,8 +47,8 @@ function f(o = {}) {
41
47
  wsSessionTicketUrl: `${r}/universer-api/user/session-ticket`,
42
48
  sendChangesetTimeout: 200
43
49
  }],
44
- [s, {}],
45
- [a, {
50
+ [p, {}],
51
+ [c, {
46
52
  univerContainerId: i,
47
53
  historyListServerUrl: `${r}/universer-api/history`
48
54
  }]
@@ -50,5 +56,5 @@ function f(o = {}) {
50
56
  };
51
57
  }
52
58
  export {
53
- f as UniverSheetsCollaborationPreset
59
+ h as UniverSheetsCollaborationPreset
54
60
  };
@@ -0,0 +1,13 @@
1
+ import { merge as o } from "@univerjs/core";
2
+ import r from "@univerjs-pro/collaboration-client/locale/ca-ES";
3
+ import i from "@univerjs-pro/collaboration-client-ui/locale/ca-ES";
4
+ import t from "@univerjs-pro/edit-history-viewer/locale/ca-ES";
5
+ const l = o(
6
+ {},
7
+ r,
8
+ i,
9
+ t
10
+ );
11
+ export {
12
+ l as default
13
+ };
@@ -0,0 +1,13 @@
1
+ import { merge as o } from "@univerjs/core";
2
+ import r from "@univerjs-pro/collaboration-client/locale/es-ES";
3
+ import i from "@univerjs-pro/collaboration-client-ui/locale/es-ES";
4
+ import e from "@univerjs-pro/edit-history-viewer/locale/es-ES";
5
+ const s = o(
6
+ {},
7
+ r,
8
+ i,
9
+ e
10
+ );
11
+ export {
12
+ s as default
13
+ };
@@ -3,3 +3,4 @@ export * from '@univerjs-pro/collaboration';
3
3
  export * from '@univerjs-pro/collaboration-client';
4
4
  export * from '@univerjs-pro/collaboration-client-ui';
5
5
  export * from '@univerjs-pro/edit-history-loader';
6
+ export * from '@univerjs-pro/edit-history-viewer';
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -11,6 +11,18 @@ export interface IUniverSheetsCollaborationPresetConfig {
11
11
  * The container id of the history list, which is used to load the history list. same as the container id of the univer.
12
12
  */
13
13
  univerContainerId?: string;
14
+ /**
15
+ * Enable offline editing, which allows users to edit the document when they are offline.
16
+ * The changes will be synced when the user is back online.
17
+ * @default true
18
+ */
19
+ enableOfflineEditing?: boolean;
20
+ /**
21
+ * Enable single active instance lock, which prevents multiple users from editing the same document at the same time.
22
+ * This is useful for preventing conflicts when multiple users are editing the same document.
23
+ * @default true
24
+ */
25
+ enableSingleActiveInstanceLock?: boolean;
14
26
  }
15
27
  /**
16
28
  * This preset add collaboration features, including collaboration editing, collaboration cursors,