@univerjs/preset-sheets-collaboration 0.15.2 → 0.15.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");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 d(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`,sendChangesetTimeout:200}],[o.UniverCollaborationClientUIPlugin,{enableFrontendLog:p}],[l.UniverEditHistoryLoaderPlugin,{univerContainerId:s,historyListServerUrl:`${r}/universer-api/history`}]]}}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]})});
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]})});
@@ -0,0 +1 @@
1
+ "use strict";const e=require("@univerjs/core"),r=require("@univerjs-pro/collaboration-client/locale/sk-SK"),i=require("@univerjs-pro/collaboration-client-ui/locale/sk-SK"),o=require("@univerjs-pro/edit-history-viewer/locale/sk-SK"),s=e.mergeLocales(r,i,o);module.exports=s;
package/lib/es/index.js CHANGED
@@ -1,15 +1,15 @@
1
- import { UniverCollaborationPlugin as s } from "@univerjs-pro/collaboration";
1
+ import { UniverCollaborationPlugin as a } from "@univerjs-pro/collaboration";
2
2
  export * from "@univerjs-pro/collaboration";
3
- import { UniverCollaborationClientPlugin as a } 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 p, UniverCollaborationClientUIPlugin as c } from "@univerjs-pro/collaboration-client-ui";
5
+ import { BrowserCollaborationSocketService as u, UniverCollaborationClientUIPlugin as p } from "@univerjs-pro/collaboration-client-ui";
6
6
  export * from "@univerjs-pro/collaboration-client-ui";
7
- import { UniverEditHistoryLoaderPlugin as u } 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
11
  export * from "@univerjs-pro/edit-history-viewer";
12
- function v(o) {
12
+ function m(o) {
13
13
  const e = new URL(o, window.location.origin);
14
14
  switch (e.protocol) {
15
15
  case "https:":
@@ -31,27 +31,30 @@ function h(o = {}) {
31
31
  } = o, r = e != null ? e : `${window.location.protocol}//${window.location.host}`;
32
32
  return {
33
33
  plugins: [
34
- s,
35
- [a, {
36
- socketService: p,
34
+ a,
35
+ [s, {
36
+ socketService: u,
37
37
  enableOfflineEditing: t,
38
38
  enableSingleActiveInstanceLock: n,
39
39
  enableAuthServer: !0,
40
40
  authzUrl: `${r}/universer-api/authz`,
41
41
  snapshotServerUrl: `${r}/universer-api/snapshot`,
42
42
  collabSubmitChangesetUrl: `${r}/universer-api/comb`,
43
- collabWebSocketUrl: v(`${r}/universer-api/comb/connect`),
43
+ collabWebSocketUrl: m(`${r}/universer-api/comb/connect`),
44
44
  loginUrlKey: `${r}/universer-api/oidc/authpage`,
45
45
  uploadFileServerUrl: `${r}/universer-api/stream/file/upload`,
46
46
  signUrlServerUrl: `${r}/universer-api/file/{fileID}/sign-url`,
47
47
  downloadEndpointUrl: `${r}/`,
48
48
  wsSessionTicketUrl: `${r}/universer-api/user/session-ticket`,
49
+ startFormulaLimitUrl: `${r}/universer-api/license/formula/limit/start`,
50
+ getFormulaLimitStatusUrl: `${r}/universer-api/license/formula/limit/status`,
51
+ releaseFormulaLimitUrl: `${r}/universer-api/license/formula/limit/done`,
49
52
  sendChangesetTimeout: 200
50
53
  }],
51
- [c, {
54
+ [p, {
52
55
  enableFrontendLog: l
53
56
  }],
54
- [u, {
57
+ [c, {
55
58
  univerContainerId: i,
56
59
  historyListServerUrl: `${r}/universer-api/history`
57
60
  }]
@@ -0,0 +1,12 @@
1
+ import { mergeLocales as o } from "@univerjs/core";
2
+ import r from "@univerjs-pro/collaboration-client/locale/sk-SK";
3
+ import i from "@univerjs-pro/collaboration-client-ui/locale/sk-SK";
4
+ import e from "@univerjs-pro/edit-history-viewer/locale/sk-SK";
5
+ const s = o(
6
+ r,
7
+ i,
8
+ e
9
+ );
10
+ export {
11
+ s as default
12
+ };
package/lib/index.js CHANGED
@@ -1,15 +1,15 @@
1
- import { UniverCollaborationPlugin as s } from "@univerjs-pro/collaboration";
1
+ import { UniverCollaborationPlugin as a } from "@univerjs-pro/collaboration";
2
2
  export * from "@univerjs-pro/collaboration";
3
- import { UniverCollaborationClientPlugin as a } 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 p, UniverCollaborationClientUIPlugin as c } from "@univerjs-pro/collaboration-client-ui";
5
+ import { BrowserCollaborationSocketService as u, UniverCollaborationClientUIPlugin as p } from "@univerjs-pro/collaboration-client-ui";
6
6
  export * from "@univerjs-pro/collaboration-client-ui";
7
- import { UniverEditHistoryLoaderPlugin as u } 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
11
  export * from "@univerjs-pro/edit-history-viewer";
12
- function v(o) {
12
+ function m(o) {
13
13
  const e = new URL(o, window.location.origin);
14
14
  switch (e.protocol) {
15
15
  case "https:":
@@ -31,27 +31,30 @@ function h(o = {}) {
31
31
  } = o, r = e != null ? e : `${window.location.protocol}//${window.location.host}`;
32
32
  return {
33
33
  plugins: [
34
- s,
35
- [a, {
36
- socketService: p,
34
+ a,
35
+ [s, {
36
+ socketService: u,
37
37
  enableOfflineEditing: t,
38
38
  enableSingleActiveInstanceLock: n,
39
39
  enableAuthServer: !0,
40
40
  authzUrl: `${r}/universer-api/authz`,
41
41
  snapshotServerUrl: `${r}/universer-api/snapshot`,
42
42
  collabSubmitChangesetUrl: `${r}/universer-api/comb`,
43
- collabWebSocketUrl: v(`${r}/universer-api/comb/connect`),
43
+ collabWebSocketUrl: m(`${r}/universer-api/comb/connect`),
44
44
  loginUrlKey: `${r}/universer-api/oidc/authpage`,
45
45
  uploadFileServerUrl: `${r}/universer-api/stream/file/upload`,
46
46
  signUrlServerUrl: `${r}/universer-api/file/{fileID}/sign-url`,
47
47
  downloadEndpointUrl: `${r}/`,
48
48
  wsSessionTicketUrl: `${r}/universer-api/user/session-ticket`,
49
+ startFormulaLimitUrl: `${r}/universer-api/license/formula/limit/start`,
50
+ getFormulaLimitStatusUrl: `${r}/universer-api/license/formula/limit/status`,
51
+ releaseFormulaLimitUrl: `${r}/universer-api/license/formula/limit/done`,
49
52
  sendChangesetTimeout: 200
50
53
  }],
51
- [c, {
54
+ [p, {
52
55
  enableFrontendLog: l
53
56
  }],
54
- [u, {
57
+ [c, {
55
58
  univerContainerId: i,
56
59
  historyListServerUrl: `${r}/universer-api/history`
57
60
  }]
@@ -0,0 +1,12 @@
1
+ import { mergeLocales as o } from "@univerjs/core";
2
+ import r from "@univerjs-pro/collaboration-client/locale/sk-SK";
3
+ import i from "@univerjs-pro/collaboration-client-ui/locale/sk-SK";
4
+ import e from "@univerjs-pro/edit-history-viewer/locale/sk-SK";
5
+ const s = o(
6
+ r,
7
+ i,
8
+ e
9
+ );
10
+ export {
11
+ s as default
12
+ };
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ [x: string]: any;
3
+ };
4
+ export default _default;