@univerjs-pro/collaboration-client 0.7.0 → 0.8.0-nightly.202505261607
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/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +3 -2
- package/lib/types/controllers/config.schema.d.ts +15 -0
- package/lib/types/facade/f-univer.d.ts +15 -0
- package/lib/types/locale/en-US.d.ts +42 -2
- package/lib/types/locale/fa-IR.d.ts +2 -2
- package/lib/types/locale/fr-FR.d.ts +2 -2
- package/lib/types/locale/ru-RU.d.ts +2 -2
- package/lib/types/locale/vi-VN.d.ts +2 -2
- package/lib/types/locale/zh-CN.d.ts +3 -43
- package/lib/types/locale/zh-TW.d.ts +2 -2
- package/lib/types/services/data-loader/data-loader.service.d.ts +1 -2
- package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -13
package/lib/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0xdfc5(_0x1469ea,_0x44c51e){const _0x50d3f8=_0x50d3();return _0xdfc5=function(_0xdfc5b4,_0x4f8654){_0xdfc5b4=_0xdfc5b4-0x154;let _0x35b82c=_0x50d3f8[_0xdfc5b4];return _0x35b82c;},_0xdfc5(_0x1469ea,_0x44c51e);}function _0x50d3(){const _0xd81cbc=['There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','6416PXljIi','Collaboration\x20Conflict','Edit\x20conflicts','151172DXDnrw','Click\x20to\x20Reconnect','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','Syncing...','Connection\x20failed.\x20Please\x20check\x20your\x20network.','174416pIFlMI','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','112936BgNdjG','Synced','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','435924EOvnUF','Authentication\x20Error','1066542ggChDP','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','88670BoXZwp','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3661jTdEej'];_0x50d3=function(){return _0xd81cbc;};return _0x50d3();}const _0x143fac=_0xdfc5;(function(_0x35da5d,_0x52288b){const _0x343938=_0xdfc5,_0x446ce9=_0x35da5d();while(!![]){try{const _0x1464d9=-parseInt(_0x343938(0x154))/0x1+parseInt(_0x343938(0x169))/0x2+-parseInt(_0x343938(0x15c))/0x3+parseInt(_0x343938(0x16f))/0x4+parseInt(_0x343938(0x161))/0x5+-parseInt(_0x343938(0x15e))/0x6+-parseInt(_0x343938(0x163))/0x7*(-parseInt(_0x343938(0x166))/0x8);if(_0x1464d9===_0x52288b)break;else _0x446ce9['push'](_0x446ce9['shift']());}catch(_0x1d9c69){_0x446ce9['push'](_0x446ce9['shift']());}}}(_0x50d3,0x1d631));const e={'collab-client':{'tooltip':{'reconnect':_0x143fac(0x16a)}},'collabStatus':{'fetchMiss':_0x143fac(0x157),'conflict':_0x143fac(0x168),'notCollab':_0x143fac(0x16c),'synced':_0x143fac(0x155),'syncing':_0x143fac(0x16d),'offline':_0x143fac(0x160)},'session':{'connection-failed':_0x143fac(0x16e),'will-retry':_0x143fac(0x159),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x143fac(0x162),'room-not-exists':_0x143fac(0x15b),'room-permission-denied':_0x143fac(0x16b),'room-cnt-exceeds':_0x143fac(0x15f),'collaboration-timeout':_0x143fac(0x15a)},'conflict':{'title':_0x143fac(0x167),'content':_0x143fac(0x164)},'permission':{'title':_0x143fac(0x15d),'content':_0x143fac(0x165)},'collaboration':{'single-unit':{'warning':_0x143fac(0x156)},'closeRoom':_0x143fac(0x158)},'auth':{'needGotoLoginAlert':_0x143fac(0x170)}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x5b6208=_0x27e5;function _0x49aa(){const _0x5bbf62=['تداخل\x20ویرایش','تداخل\x20همکاری','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','2086120hxpZMr','549054RdHjHF','خطای\x20اعتبارسنجی','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','2897961dmURFp','48tUvzXA','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','همگام\x20سازی','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','171455DEAIDR','90HcxrZQ','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','پرونده\x20محلی','در\x20حال\x20همگام\x20سازی...','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','6172GMQyMF','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','2257641bhkYfd','394eBSsEX','8MlPyyM','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','2370480ICBkhu'];_0x49aa=function(){return _0x5bbf62;};return _0x49aa();}function _0x27e5(_0x78754d,_0x1bfc16){const _0x49aa1a=_0x49aa();return _0x27e5=function(_0x27e5fd,_0x5ce9fa){_0x27e5fd=_0x27e5fd-0x15a;let _0x1c386f=_0x49aa1a[_0x27e5fd];return _0x1c386f;},_0x27e5(_0x78754d,_0x1bfc16);}(function(_0x3082f3,_0x1b2389){const _0x1b1a58=_0x27e5,_0x1afbb7=_0x3082f3();while(!![]){try{const _0x1bd9dd=-parseInt(_0x1b1a58(0x16a))/0x1*(-parseInt(_0x1b1a58(0x165))/0x2)+-parseInt(_0x1b1a58(0x175))/0x3+parseInt(_0x1b1a58(0x171))/0x4+parseInt(_0x1b1a58(0x15d))/0x5*(-parseInt(_0x1b1a58(0x176))/0x6)+parseInt(_0x1b1a58(0x16d))/0x7+parseInt(_0x1b1a58(0x16b))/0x8*(parseInt(_0x1b1a58(0x169))/0x9)+-parseInt(_0x1b1a58(0x15e))/0xa*(parseInt(_0x1b1a58(0x172))/0xb);if(_0x1bd9dd===_0x1b2389)break;else _0x1afbb7['push'](_0x1afbb7['shift']());}catch(_0x3e8e21){_0x1afbb7['push'](_0x1afbb7['shift']());}}}(_0x49aa,0x9b9b2));const o={'collab-client':{'tooltip':{'reconnect':_0x5b6208(0x160)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x5b6208(0x16e),'notCollab':_0x5b6208(0x161),'synced':_0x5b6208(0x15a),'syncing':_0x5b6208(0x162),'offline':_0x5b6208(0x177)},'session':{'connection-failed':_0x5b6208(0x15c),'will-retry':_0x5b6208(0x167),'room-full':'ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','join-failed':_0x5b6208(0x16c),'room-not-exists':_0x5b6208(0x168),'room-permission-denied':'دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-cnt-exceeds':_0x5b6208(0x170),'collaboration-timeout':_0x5b6208(0x15f)},'conflict':{'title':_0x5b6208(0x16f),'content':_0x5b6208(0x164)},'permission':{'title':_0x5b6208(0x173),'content':_0x5b6208(0x174)},'collaboration':{'single-unit':{'warning':_0x5b6208(0x163)},'closeRoom':_0x5b6208(0x166)},'auth':{'needGotoLoginAlert':_0x5b6208(0x15b)}};export{o as default};
|
package/lib/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x580f71=_0x41dc;(function(_0x4f9368,_0x211cfd){const _0x31914c=_0x41dc,_0x2f4045=_0x4f9368();while(!![]){try{const _0x9a47dd=parseInt(_0x31914c(0xd3))/0x1+-parseInt(_0x31914c(0xcc))/0x2+-parseInt(_0x31914c(0xe2))/0x3+parseInt(_0x31914c(0xd6))/0x4+-parseInt(_0x31914c(0xd4))/0x5*(-parseInt(_0x31914c(0xcd))/0x6)+-parseInt(_0x31914c(0xdc))/0x7*(-parseInt(_0x31914c(0xd8))/0x8)+-parseInt(_0x31914c(0xe0))/0x9*(parseInt(_0x31914c(0xd0))/0xa);if(_0x9a47dd===_0x211cfd)break;else _0x2f4045['push'](_0x2f4045['shift']());}catch(_0xf987a4){_0x2f4045['push'](_0x2f4045['shift']());}}}(_0x35af,0x76acc));function _0x41dc(_0x32081d,_0x45daa7){const _0x35af8b=_0x35af();return _0x41dc=function(_0x41dcf6,_0x40128b){_0x41dcf6=_0x41dcf6-0xc9;let _0x2117f1=_0x35af8b[_0x41dcf6];return _0x2117f1;},_0x41dc(_0x32081d,_0x45daa7);}const e={'collab-client':{'tooltip':{'reconnect':_0x580f71(0xd9)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x580f71(0xde),'notCollab':'Local\x20file','synced':_0x580f71(0xe1),'syncing':_0x580f71(0xcb),'offline':_0x580f71(0xca)},'session':{'connection-failed':_0x580f71(0xe3),'will-retry':_0x580f71(0xdd),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x580f71(0xdf),'room-not-exists':_0x580f71(0xce),'room-permission-denied':_0x580f71(0xcf),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x580f71(0xd2),'content':_0x580f71(0xd1)},'permission':{'title':_0x580f71(0xda),'content':_0x580f71(0xd7)},'collaboration':{'single-unit':{'warning':_0x580f71(0xd5)},'closeRoom':_0x580f71(0xc9)},'auth':{'needGotoLoginAlert':_0x580f71(0xdb)}},o=e;export{o as default};function _0x35af(){const _0x26e311=['585066HFaiAP','6ZFRjYQ','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','10GKApNj','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Collaboration\x20Conflict','193226RkogFh','2157095xFArer','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1342936YDjkRO','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','3073432tfCToq','Click\x20to\x20Reconnect','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','14PvDLFQ','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','796725BNzcEH','Synced','2584761xQJLlp','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing...'];_0x35af=function(){return _0x26e311;};return _0x35af();}
|
package/lib/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x3c15(){const _0x59e25b=['You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','45kqBeHh','18rdKWhY','791GVjRgr','Edit\x20conflicts','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing\x20server\x20data...','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2598430BkHtEV','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Synced','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','232266qXFoJN','Connection\x20failed.\x20Please\x20check\x20your\x20network.','6090304hkAFBv','Click\x20to\x20Reconnect','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','176399vtmUpx','274671qTQuLF','280300kqvYaZ','36wwtXQp','45152gqrnxH','Collaboration\x20Conflict','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Local\x20file'];_0x3c15=function(){return _0x59e25b;};return _0x3c15();}const _0x54e00e=_0x3a40;(function(_0x2cac01,_0x597831){const _0x59e089=_0x3a40,_0x33074d=_0x2cac01();while(!![]){try{const _0x427199=parseInt(_0x59e089(0xb6))/0x1+-parseInt(_0x59e089(0xa4))/0x2*(-parseInt(_0x59e089(0xb7))/0x3)+parseInt(_0x59e089(0xb8))/0x4*(parseInt(_0x59e089(0xa3))/0x5)+parseInt(_0x59e089(0xb1))/0x6+-parseInt(_0x59e089(0xa5))/0x7*(parseInt(_0x59e089(0xba))/0x8)+parseInt(_0x59e089(0xb9))/0x9*(-parseInt(_0x59e089(0xac))/0xa)+parseInt(_0x59e089(0xb3))/0xb;if(_0x427199===_0x597831)break;else _0x33074d['push'](_0x33074d['shift']());}catch(_0x40a9f8){_0x33074d['push'](_0x33074d['shift']());}}}(_0x3c15,0x8560e));const e={'collab-client':{'tooltip':{'reconnect':_0x54e00e(0xb4)}},'collabStatus':{'fetchMiss':_0x54e00e(0xa8),'conflict':_0x54e00e(0xa6),'notCollab':_0x54e00e(0xa0),'synced':_0x54e00e(0xae),'syncing':'Syncing...','offline':_0x54e00e(0x9f)},'session':{'connection-failed':_0x54e00e(0xb2),'will-retry':_0x54e00e(0xaa),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x54e00e(0xab),'room-not-exists':_0x54e00e(0xb0),'room-permission-denied':_0x54e00e(0xa9),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x54e00e(0x9e),'content':_0x54e00e(0xad)},'permission':{'title':_0x54e00e(0xa2),'content':_0x54e00e(0xaf)},'collaboration':{'single-unit':{'warning':_0x54e00e(0xa1)},'closeRoom':_0x54e00e(0xa7)},'auth':{'needGotoLoginAlert':_0x54e00e(0xb5)}},o=e;function _0x3a40(_0x145f9d,_0x421dd5){const _0x3c15b1=_0x3c15();return _0x3a40=function(_0x3a4066,_0x3ea5f9){_0x3a4066=_0x3a4066-0x9e;let _0x429e19=_0x3c15b1[_0x3a4066];return _0x429e19;},_0x3a40(_0x145f9d,_0x421dd5);}export{o as default};
|
package/lib/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x150138=_0x25c7;function _0x25c7(_0x220ab5,_0x38079a){const _0x4eeced=_0x4eec();return _0x25c7=function(_0x25c70f,_0x36d532){_0x25c70f=_0x25c70f-0x121;let _0xa946f4=_0x4eeced[_0x25c70f];return _0xa946f4;},_0x25c7(_0x220ab5,_0x38079a);}(function(_0x38b565,_0x550c09){const _0x95ff52=_0x25c7,_0x88c7f7=_0x38b565();while(!![]){try{const _0x586ba4=-parseInt(_0x95ff52(0x12c))/0x1+parseInt(_0x95ff52(0x128))/0x2*(parseInt(_0x95ff52(0x12d))/0x3)+parseInt(_0x95ff52(0x124))/0x4*(parseInt(_0x95ff52(0x131))/0x5)+-parseInt(_0x95ff52(0x13c))/0x6*(-parseInt(_0x95ff52(0x122))/0x7)+parseInt(_0x95ff52(0x139))/0x8*(parseInt(_0x95ff52(0x130))/0x9)+parseInt(_0x95ff52(0x127))/0xa+parseInt(_0x95ff52(0x13b))/0xb*(-parseInt(_0x95ff52(0x12b))/0xc);if(_0x586ba4===_0x550c09)break;else _0x88c7f7['push'](_0x88c7f7['shift']());}catch(_0xee88be){_0x88c7f7['push'](_0x88c7f7['shift']());}}}(_0x4eec,0x2aa31));const e={'collab-client':{'tooltip':{'reconnect':_0x150138(0x129)}},'collabStatus':{'fetchMiss':_0x150138(0x121),'conflict':'Edit\x20conflicts','notCollab':_0x150138(0x132),'synced':_0x150138(0x136),'syncing':_0x150138(0x133),'offline':_0x150138(0x12a)},'session':{'connection-failed':_0x150138(0x13e),'will-retry':_0x150138(0x134),'room-full':_0x150138(0x13a),'join-failed':_0x150138(0x12f),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x150138(0x13d),'room-cnt-exceeds':_0x150138(0x126),'collaboration-timeout':_0x150138(0x12e)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x150138(0x123)},'permission':{'title':_0x150138(0x125),'content':_0x150138(0x137)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x150138(0x138)},'auth':{'needGotoLoginAlert':_0x150138(0x135)}},o=e;export{o as default};function _0x4eec(){const _0x129058=['1063799AEAFaP','1303926ujlAsp','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Syncing\x20server\x20data...','7MlvGkj','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','587228Mfjcoe','Authentication\x20Error','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1191870RVVgNW','2zMbxWl','Click\x20to\x20Reconnect','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','48HzveJj','59217BNTIxR','48294mwOSmt','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','27jQMljj','5PeVDpg','Local\x20file','Syncing...','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Synced','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','323416iIikzw','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x4eec=function(){return _0x129058;};return _0x4eec();}
|
package/lib/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x5b64(_0x109003,_0x384e55){const _0x32dff2=_0x32df();return _0x5b64=function(_0x5b6436,_0x5a7c0c){_0x5b6436=_0x5b6436-0x81;let _0x5cb779=_0x32dff2[_0x5b6436];return _0x5cb779;},_0x5b64(_0x109003,_0x384e55);}const _0x3af9ab=_0x5b64;(function(_0x24b9da,_0x47a627){const _0x1e737b=_0x5b64,_0x21fdfc=_0x24b9da();while(!![]){try{const _0x2818ef=parseInt(_0x1e737b(0x97))/0x1*(parseInt(_0x1e737b(0x8a))/0x2)+-parseInt(_0x1e737b(0x98))/0x3*(parseInt(_0x1e737b(0x92))/0x4)+parseInt(_0x1e737b(0x89))/0x5+-parseInt(_0x1e737b(0x8d))/0x6+parseInt(_0x1e737b(0x93))/0x7*(-parseInt(_0x1e737b(0x88))/0x8)+-parseInt(_0x1e737b(0x82))/0x9*(parseInt(_0x1e737b(0x95))/0xa)+parseInt(_0x1e737b(0x84))/0xb;if(_0x2818ef===_0x47a627)break;else _0x21fdfc['push'](_0x21fdfc['shift']());}catch(_0x5e4466){_0x21fdfc['push'](_0x21fdfc['shift']());}}}(_0x32df,0x38c43));const o={'collab-client':{'tooltip':{'reconnect':'点击重新连接'}},'collabStatus':{'fetchMiss':'正在拉取服务端数据...','conflict':'编辑冲突','notCollab':'本地文件','synced':_0x3af9ab(0x85),'syncing':_0x3af9ab(0x94),'offline':_0x3af9ab(0x83)},'session':{'connection-failed':'连接失败,请检查你的网络','will-retry':_0x3af9ab(0x90),'room-full':_0x3af9ab(0x8b),'join-failed':_0x3af9ab(0x87),'room-not-exists':_0x3af9ab(0x96),'room-permission-denied':'没有协同权限,你的编辑将在本地缓存','room-cnt-exceeds':_0x3af9ab(0x9a),'collaboration-timeout':_0x3af9ab(0x8f)},'conflict':{'title':_0x3af9ab(0x81),'content':_0x3af9ab(0x8e)},'permission':{'title':'权限错误','content':_0x3af9ab(0x8c)},'collaboration':{'single-unit':{'warning':_0x3af9ab(0x86)},'closeRoom':_0x3af9ab(0x99)},'auth':{'needGotoLoginAlert':_0x3af9ab(0x91)}};export{o as default};function _0x32df(){const _0x55ea04=['651740UvXGrx','加入协同失败,你的编辑将在本地缓存','1xBydnW','831XHCeQs','由于协同房间被关闭,编辑权限被收回。','协同文档数量超过限制,你的编辑将在本地缓存','协同冲突','9ukiXeM','已离线,编辑将在本地缓存','13624710yEguRw','已同步','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','加入协同失败,请稍后重试,你的编辑将在本地缓存','8Gbgfah','241690eGKZjP','373402gGraSK','此文档协同人数已满,你的编辑将在本地缓存','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','2650368tbIDnA','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','服务器未响应,你的编辑将在本地缓存','连接失败,将在一会儿之后重试连接','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','4652Snqavd','2884567xlWJDI','保存中...'];_0x32df=function(){return _0x55ea04;};return _0x32df();}
|
package/lib/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
const _0x540e8f=_0x3312;function _0x3312(_0x2a194c,_0x5879fc){const _0x612be1=_0x612b();return _0x3312=function(_0x33127f,_0x29c94c){_0x33127f=_0x33127f-0x174;let _0x11ccd3=_0x612be1[_0x33127f];return _0x11ccd3;},_0x3312(_0x2a194c,_0x5879fc);}function _0x612b(){const _0x13dc3b=['Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','11fRYMAw','4FyIoAe','9woZRBs','114ZTebvR','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','5fXgrFa','202588pCVsCS','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1295259KCQQJN','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Click\x20to\x20Reconnect','347280kxFVhd','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','7565630tHnnVD','Edit\x20conflicts','27286ZUBIjf','Connection\x20failed.\x20Please\x20check\x20your\x20network.','9822036acEfPn','Syncing...','4113576MCsdNX'];_0x612b=function(){return _0x13dc3b;};return _0x612b();}(function(_0x105494,_0x4f9255){const _0x4397cb=_0x3312,_0xc06c3f=_0x105494();while(!![]){try{const _0x5c5500=parseInt(_0x4397cb(0x187))/0x1*(parseInt(_0x4397cb(0x188))/0x2)+-parseInt(_0x4397cb(0x18b))/0x3*(parseInt(_0x4397cb(0x183))/0x4)+-parseInt(_0x4397cb(0x175))/0x5+parseInt(_0x4397cb(0x185))/0x6*(-parseInt(_0x4397cb(0x17c))/0x7)+parseInt(_0x4397cb(0x180))/0x8+parseInt(_0x4397cb(0x184))/0x9*(parseInt(_0x4397cb(0x17a))/0xa)+parseInt(_0x4397cb(0x182))/0xb*(-parseInt(_0x4397cb(0x17e))/0xc);if(_0x5c5500===_0x4f9255)break;else _0xc06c3f['push'](_0xc06c3f['shift']());}catch(_0x4a7ffc){_0xc06c3f['push'](_0xc06c3f['shift']());}}}(_0x612b,0x5d9e0));const e={'collab-client':{'tooltip':{'reconnect':_0x540e8f(0x174)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x540e8f(0x17b),'notCollab':_0x540e8f(0x189),'synced':'Synced','syncing':_0x540e8f(0x17f),'offline':_0x540e8f(0x176)},'session':{'connection-failed':_0x540e8f(0x17d),'will-retry':_0x540e8f(0x18c),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x540e8f(0x186),'room-permission-denied':_0x540e8f(0x177),'room-cnt-exceeds':_0x540e8f(0x181),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':'Authentication\x20Error','content':_0x540e8f(0x178)},'collaboration':{'single-unit':{'warning':_0x540e8f(0x179)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x540e8f(0x18a)}},o=e;export{o as default};
|
@@ -1,15 +1,16 @@
|
|
1
|
-
import { Nullable, Injector, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
1
|
+
import { Nullable, IConfigService, Injector, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
2
2
|
import { Observable } from 'rxjs';
|
3
3
|
import { CollaborationEntity } from './collaboration-entity';
|
4
4
|
import { CollaborationSessionService } from '../../services/collaboration-session/collaboration-session.service';
|
5
5
|
export declare class CollaborationController extends RxDisposable {
|
6
6
|
private readonly _injector;
|
7
7
|
private readonly _collabSessionService;
|
8
|
+
private readonly _configService;
|
8
9
|
private readonly _univerInstanceService;
|
9
10
|
private readonly _entities;
|
10
11
|
private readonly _entityInit$;
|
11
12
|
readonly entityInit$: Observable<CollaborationEntity>;
|
12
|
-
constructor(_injector: Injector, _collabSessionService: CollaborationSessionService, _univerInstanceService: IUniverInstanceService);
|
13
|
+
constructor(_injector: Injector, _collabSessionService: CollaborationSessionService, _configService: IConfigService, _univerInstanceService: IUniverInstanceService);
|
13
14
|
dispose(): void;
|
14
15
|
getCollabEntity(id: string): Nullable<CollaborationEntity>;
|
15
16
|
getCollabEntity$(id: string): Observable<CollaborationEntity>;
|
@@ -3,7 +3,22 @@ import { ICollaborationSocketService } from '../services/socket/collaboration-so
|
|
3
3
|
export declare const COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY = "collaboration-client.config";
|
4
4
|
export declare const configSymbol: unique symbol;
|
5
5
|
export interface IUniverCollaborationClientConfig {
|
6
|
+
/**
|
7
|
+
* Which socket should the plugin use to build connections to the collaborative engine.
|
8
|
+
* For normal cases, you should use `BrowserCollaborationSocketService` from the `collaboration-client-ui` plugin.
|
9
|
+
*/
|
6
10
|
socketService: Ctor<ICollaborationSocketService>;
|
11
|
+
/**
|
12
|
+
* If the plugin should enable collaborative editing. Which means the client will exchange edits with
|
13
|
+
* the collaboration server. It this is set to false, the client will simply load data from the server.
|
14
|
+
*
|
15
|
+
* @default true
|
16
|
+
*/
|
17
|
+
enableCollaboration?: boolean;
|
18
|
+
/**
|
19
|
+
* If offline editing is enabled.
|
20
|
+
* @default false
|
21
|
+
*/
|
7
22
|
enableOfflineEditing?: boolean;
|
8
23
|
enableSingleActiveInstanceLock?: boolean;
|
9
24
|
enableAuthServer?: boolean;
|
@@ -29,10 +29,25 @@ export interface IFUniverCollaborationClientMixin {
|
|
29
29
|
* ```
|
30
30
|
*/
|
31
31
|
loadServerUnit(unitId: string, unitType: UniverInstanceType, subUnitId?: string): Promise<UnitModel | null>;
|
32
|
+
/**
|
33
|
+
* Load the server unit by the given unit id, unit type and revision.
|
34
|
+
* @param unitId The unit id.
|
35
|
+
* @param unitType The unit type.
|
36
|
+
* @param rev The revision number.
|
37
|
+
* @returns The promise with the unit model.
|
38
|
+
*
|
39
|
+
* @example
|
40
|
+
* ```typescript
|
41
|
+
* const unitModel = await univerAPI.loadServerUnitOfRevision('unitId', univerAPI.Enum.UniverInstanceType.UNIVER_SHEET, 1);
|
42
|
+
* console.log(unitModel, unitModel?.getSnapshot());
|
43
|
+
* ```
|
44
|
+
*/
|
45
|
+
loadServerUnitOfRevision(unitId: string, unitType: UniverInstanceType, rev: number): Promise<UnitModel | null>;
|
32
46
|
}
|
33
47
|
export declare class FUniverCollaborationClientMixin extends FUniver implements IFUniverCollaborationClientMixin {
|
34
48
|
getCollaboration(): FCollaboration;
|
35
49
|
loadServerUnit(unitId: string, unitType: UniverInstanceType, subUnitId?: string): Promise<UnitModel | null>;
|
50
|
+
loadServerUnitOfRevision(unitId: string, unitType: UniverInstanceType, rev: number): Promise<UnitModel | null>;
|
36
51
|
}
|
37
52
|
/**
|
38
53
|
* @ignore
|
@@ -1,3 +1,43 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
declare const locale: {
|
2
|
+
'collab-client': {
|
3
|
+
tooltip: {
|
4
|
+
reconnect: string;
|
5
|
+
};
|
6
|
+
};
|
7
|
+
collabStatus: {
|
8
|
+
fetchMiss: string;
|
9
|
+
conflict: string;
|
10
|
+
notCollab: string;
|
11
|
+
synced: string;
|
12
|
+
syncing: string;
|
13
|
+
offline: string;
|
14
|
+
};
|
15
|
+
session: {
|
16
|
+
'connection-failed': string;
|
17
|
+
'will-retry': string;
|
18
|
+
'room-full': string;
|
19
|
+
'join-failed': string;
|
20
|
+
'room-not-exists': string;
|
21
|
+
'room-permission-denied': string;
|
22
|
+
'room-cnt-exceeds': string;
|
23
|
+
'collaboration-timeout': string;
|
24
|
+
};
|
25
|
+
conflict: {
|
26
|
+
title: string;
|
27
|
+
content: string;
|
28
|
+
};
|
29
|
+
permission: {
|
30
|
+
title: string;
|
31
|
+
content: string;
|
32
|
+
};
|
33
|
+
collaboration: {
|
34
|
+
'single-unit': {
|
35
|
+
warning: string;
|
36
|
+
};
|
37
|
+
closeRoom: string;
|
38
|
+
};
|
39
|
+
auth: {
|
40
|
+
needGotoLoginAlert: string;
|
41
|
+
};
|
42
|
+
};
|
3
43
|
export default locale;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { default as
|
2
|
-
declare const locale: typeof
|
1
|
+
import { default as enUS } from './en-US';
|
2
|
+
declare const locale: typeof enUS;
|
3
3
|
export default locale;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { default as
|
2
|
-
declare const locale: typeof
|
1
|
+
import { default as enUS } from './en-US';
|
2
|
+
declare const locale: typeof enUS;
|
3
3
|
export default locale;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { default as
|
2
|
-
declare const locale: typeof
|
1
|
+
import { default as enUS } from './en-US';
|
2
|
+
declare const locale: typeof enUS;
|
3
3
|
export default locale;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { default as
|
2
|
-
declare const locale: typeof
|
1
|
+
import { default as enUS } from './en-US';
|
2
|
+
declare const locale: typeof enUS;
|
3
3
|
export default locale;
|
@@ -1,43 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
reconnect: string;
|
5
|
-
};
|
6
|
-
};
|
7
|
-
collabStatus: {
|
8
|
-
fetchMiss: string;
|
9
|
-
conflict: string;
|
10
|
-
notCollab: string;
|
11
|
-
synced: string;
|
12
|
-
syncing: string;
|
13
|
-
offline: string;
|
14
|
-
};
|
15
|
-
session: {
|
16
|
-
'connection-failed': string;
|
17
|
-
'will-retry': string;
|
18
|
-
'room-full': string;
|
19
|
-
'join-failed': string;
|
20
|
-
'room-not-exists': string;
|
21
|
-
'room-permission-denied': string;
|
22
|
-
'room-cnt-exceeds': string;
|
23
|
-
'collaboration-timeout': string;
|
24
|
-
};
|
25
|
-
conflict: {
|
26
|
-
title: string;
|
27
|
-
content: string;
|
28
|
-
};
|
29
|
-
permission: {
|
30
|
-
title: string;
|
31
|
-
content: string;
|
32
|
-
};
|
33
|
-
collaboration: {
|
34
|
-
'single-unit': {
|
35
|
-
warning: string;
|
36
|
-
};
|
37
|
-
closeRoom: string;
|
38
|
-
};
|
39
|
-
auth: {
|
40
|
-
needGotoLoginAlert: string;
|
41
|
-
};
|
42
|
-
};
|
43
|
-
export default locales;
|
1
|
+
import { default as enUS } from './en-US';
|
2
|
+
declare const locale: typeof enUS;
|
3
|
+
export default locale;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { default as
|
2
|
-
declare const locale: typeof
|
1
|
+
import { default as enUS } from './en-US';
|
2
|
+
declare const locale: typeof enUS;
|
3
3
|
export default locale;
|
@@ -17,7 +17,6 @@ export declare class DataLoaderService extends RxDisposable {
|
|
17
17
|
private readonly _unitInfo$;
|
18
18
|
readonly unitInfo$: import('rxjs').Observable<IUnitInfo | null>;
|
19
19
|
constructor(_logService: ILogService, _snapshotService: SnapshotService, _localCacheService?: ILocalCacheService | undefined);
|
20
|
+
loadUnitOfRevision(unitId: string, type: UniverType, rev: number): Promise<UnitModel | null>;
|
20
21
|
loadUnit(unitId: string, type: UniverType, subUnitId?: string): Promise<UnitModel | null>;
|
21
|
-
private _loadSheet;
|
22
|
-
private _loadDoc;
|
23
22
|
}
|
@@ -18,6 +18,7 @@ export declare class SnapshotServerOverHTTPService implements ISnapshotServerSer
|
|
18
18
|
private _getAPIPrefix;
|
19
19
|
getResourcesRequest(_context: ILogContext, params: IGetResourcesRequest): Promise<IGetResourcesResponse>;
|
20
20
|
saveSnapshot(): Promise<ISaveSnapshotResponse>;
|
21
|
+
updateSnapshot(): Promise<ISaveSnapshotResponse>;
|
21
22
|
saveSheetBlock(): Promise<ISaveSheetBlockResponse>;
|
22
23
|
saveChangeset(): Promise<ISaveChangesetResponse>;
|
23
24
|
copyFileMeta(): Promise<ICopyFileMetaResponse>;
|
package/lib/umd/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x49e0(){var _0x3be3f9=['20YyWXAu','12WdQDGk','8691kdfPRP','Injector','amd','waitForRoom$','loadSheetAsync','8WQwzzZ','7428971iofnDl','exports','readyForCollab','IUniverInstanceService','MemberService','UniverProCollaboration','FCollaboration','toDisposable','230829JyGMxK','createInstance','_snapshotService','@univerjs/core/facade','UniverCoreFacade','object','getOwnPropertyDescriptor','loadUnit','DataLoaderService','@univerjs-pro/collaboration-client','toStringTag','subscribeCollaborators','members$','loadServerUnitOfRevision','Inject','531097xkwcsz','getCollaboration','_handler','loadSheet','loadActiveSheetAsync','_collaborationController','from','loadServerUnit','getUniverSheet','subscribe','length','78IoUJSy','@univerjs-pro/collaboration','40QGBXSY','switchMap','rxjs','get','FUniver','SnapshotService','_injector','12696oyInuk','values','UniverProCollaborationClientFacade','UniverCore','3525291IGVcSb','1791220FfyqSy','pipe','loadUnitOfRevision','Module','@univerjs/core'];_0x49e0=function(){return _0x3be3f9;};return _0x49e0();}function _0xcafb(_0x1e369c,_0x3ee03e){var _0x49e0e8=_0x49e0();return _0xcafb=function(_0xcafbbc,_0x2ea342){_0xcafbbc=_0xcafbbc-0x137;var _0x2f36c6=_0x49e0e8[_0xcafbbc];return _0x2f36c6;},_0xcafb(_0x1e369c,_0x3ee03e);}(function(_0x523dc5,_0x31d4e6){var _0xc351cd=_0xcafb,_0x1e3664=_0x523dc5();while(!![]){try{var _0x2c2849=-parseInt(_0xc351cd(0x168))/0x1*(-parseInt(_0xc351cd(0x153))/0x2)+parseInt(_0xc351cd(0x139))/0x3*(parseInt(_0xc351cd(0x166))/0x4)+-parseInt(_0xc351cd(0x155))/0x5*(-parseInt(_0xc351cd(0x15c))/0x6)+-parseInt(_0xc351cd(0x148))/0x7*(parseInt(_0xc351cd(0x16d))/0x8)+parseInt(_0xc351cd(0x160))/0x9+-parseInt(_0xc351cd(0x161))/0xa+-parseInt(_0xc351cd(0x16e))/0xb*(parseInt(_0xc351cd(0x167))/0xc);if(_0x2c2849===_0x31d4e6)break;else _0x1e3664['push'](_0x1e3664['shift']());}catch(_0x495eb6){_0x1e3664['push'](_0x1e3664['shift']());}}}(_0x49e0,0x314d1),function(_0x1a0f3e,_0x2c5d72){var _0x134261=_0xcafb;typeof exports==_0x134261(0x13e)&&typeof module<'u'?_0x2c5d72(exports,require(_0x134261(0x142)),require(_0x134261(0x13c)),require(_0x134261(0x154)),require('@univerjs/core'),require(_0x134261(0x157))):typeof define=='function'&&define[_0x134261(0x16a)]?define([_0x134261(0x16f),_0x134261(0x142),_0x134261(0x13c),_0x134261(0x154),_0x134261(0x165),'rxjs'],_0x2c5d72):(_0x1a0f3e=typeof globalThis<'u'?globalThis:_0x1a0f3e||self,_0x2c5d72(_0x1a0f3e[_0x134261(0x15e)]={},_0x1a0f3e['UniverProCollaborationClient'],_0x1a0f3e[_0x134261(0x13d)],_0x1a0f3e[_0x134261(0x173)],_0x1a0f3e[_0x134261(0x15f)],_0x1a0f3e['rxjs']));}(this,function(_0x5947d6,_0x41a72b,_0x4f530a,_0x46c10a,_0x2e52ae,_0x38de87){'use strict';var _0x5010c9=_0xcafb;var _0x3ef179=Object[_0x5010c9(0x13f)],_0x29b8fa=(_0x2bdb1f,_0xb8bac2,_0x401f52,_0x3fced5)=>{var _0x2ecb5d=_0x5010c9;for(var _0x295952=_0x3fced5>0x1?void 0x0:_0x3fced5?_0x3ef179(_0xb8bac2,_0x401f52):_0xb8bac2,_0x112602=_0x2bdb1f[_0x2ecb5d(0x152)]-0x1,_0x5139be;_0x112602>=0x0;_0x112602--)(_0x5139be=_0x2bdb1f[_0x112602])&&(_0x295952=_0x5139be(_0x295952)||_0x295952);return _0x295952;},_0x53d77f=(_0x221610,_0x1cf170)=>(_0xdc3009,_0x4fc48e)=>_0x1cf170(_0xdc3009,_0x4fc48e,_0x221610);_0x5947d6[_0x5010c9(0x137)]=class extends _0x4f530a['FBase']{constructor(_0x118863,_0x2b32cb,_0xf895a0,_0x51491c,_0x3294f5){var _0x549ca8=_0x5010c9;super(),this[_0x549ca8(0x14a)]=_0x118863,this[_0x549ca8(0x15b)]=_0x2b32cb,this['_univerInstanceService']=_0xf895a0,this[_0x549ca8(0x13b)]=_0x51491c,this[_0x549ca8(0x14d)]=_0x3294f5;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x5010c9(0x14c)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x5010c9(0x14b)](_0x47271d){var _0x438e30=_0x5010c9;return this[_0x438e30(0x16c)](_0x47271d);}async[_0x5010c9(0x16c)](_0x2158ce,_0x28ee31){var _0x5dad94=_0x5010c9;return await this[_0x5dad94(0x13b)][_0x5dad94(0x14b)](_0x2158ce,0x0,_0x28ee31)?(await this['_collaborationController'][_0x5dad94(0x170)](_0x2158ce),this['_handler'][_0x5dad94(0x150)](_0x2158ce)):null;}[_0x5010c9(0x144)](_0x30030d,_0x1de650){var _0xf3979d=_0x5010c9;const _0x51b86a=this['_injector'][_0xf3979d(0x158)](_0x41a72b[_0xf3979d(0x172)])[_0xf3979d(0x16b)](_0x30030d)[_0xf3979d(0x162)](_0x38de87[_0xf3979d(0x156)](_0x3bc92d=>_0x3bc92d[_0xf3979d(0x145)]))[_0xf3979d(0x151)](_0x29b87c=>_0x1de650(Array[_0xf3979d(0x14e)](_0x29b87c[_0xf3979d(0x15d)]())));return _0x2e52ae[_0xf3979d(0x138)](_0x51b86a);}},_0x5947d6[_0x5010c9(0x137)]=_0x29b8fa([_0x53d77f(0x1,_0x2e52ae[_0x5010c9(0x147)](_0x2e52ae[_0x5010c9(0x169)])),_0x53d77f(0x2,_0x2e52ae[_0x5010c9(0x171)]),_0x53d77f(0x3,_0x2e52ae[_0x5010c9(0x147)](_0x46c10a[_0x5010c9(0x15a)])),_0x53d77f(0x4,_0x2e52ae[_0x5010c9(0x147)](_0x41a72b['CollaborationController']))],_0x5947d6['FCollaboration']);class _0x2e3855 extends _0x4f530a[_0x5010c9(0x159)]{[_0x5010c9(0x149)](){var _0x4aa337=_0x5010c9;return this[_0x4aa337(0x15b)][_0x4aa337(0x13a)](_0x5947d6[_0x4aa337(0x137)],{'getUniverSheet':_0x2ff801=>this['getUniverSheet'](_0x2ff801)});}[_0x5010c9(0x14f)](_0x3d72a8,_0x1fe965,_0x672d4f){var _0xfb6496=_0x5010c9;return this[_0xfb6496(0x15b)][_0xfb6496(0x158)](_0x41a72b['DataLoaderService'])[_0xfb6496(0x140)](_0x3d72a8,_0x1fe965,_0x672d4f);}[_0x5010c9(0x146)](_0x3a5591,_0x266176,_0x44438a){var _0x5db333=_0x5010c9;return this[_0x5db333(0x15b)][_0x5db333(0x158)](_0x41a72b[_0x5db333(0x141)])[_0x5db333(0x163)](_0x3a5591,_0x266176,_0x44438a);}}_0x4f530a['FUniver']['extend'](_0x2e3855),Object['defineProperty'](_0x5947d6,Symbol[_0x5010c9(0x143)],{'value':_0x5010c9(0x164)});}));
|