@univerjs-pro/collaboration-client 0.5.1-nightly.202412100649 → 0.5.1-nightly.202412110405
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/types/facade/f-collaboration.d.ts +3 -2
- 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 +9 -9
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x4b03c4=_0x2183;(function(_0x14c8dc,_0x24e126){const _0x380bf7=_0x2183,_0xe5c180=_0x14c8dc();while(!![]){try{const _0x55cc99=-parseInt(_0x380bf7(0x13e))/0x1*(-parseInt(_0x380bf7(0x143))/0x2)+-parseInt(_0x380bf7(0x12c))/0x3+parseInt(_0x380bf7(0x12f))/0x4*(-parseInt(_0x380bf7(0x13c))/0x5)+parseInt(_0x380bf7(0x139))/0x6*(parseInt(_0x380bf7(0x13b))/0x7)+-parseInt(_0x380bf7(0x130))/0x8+-parseInt(_0x380bf7(0x144))/0x9+-parseInt(_0x380bf7(0x146))/0xa*(-parseInt(_0x380bf7(0x13d))/0xb);if(_0x55cc99===_0x24e126)break;else _0xe5c180['push'](_0xe5c180['shift']());}catch(_0x1da996){_0xe5c180['push'](_0xe5c180['shift']());}}}(_0x4ad4,0xdb51f));function _0x2183(_0x1fa190,_0x1ef8a9){const _0x4ad482=_0x4ad4();return _0x2183=function(_0x21838b,_0x576ac9){_0x21838b=_0x21838b-0x12c;let _0x1c84b0=_0x4ad482[_0x21838b];return _0x1c84b0;},_0x2183(_0x1fa190,_0x1ef8a9);}const e={'collab-client':{'tooltip':{'reconnect':_0x4b03c4(0x135)}},'collabStatus':{'fetchMiss':_0x4b03c4(0x14a),'conflict':_0x4b03c4(0x141),'notCollab':'Local\x20file','synced':_0x4b03c4(0x147),'syncing':_0x4b03c4(0x13f),'offline':_0x4b03c4(0x142)},'session':{'connection-failed':_0x4b03c4(0x149),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x4b03c4(0x148),'join-failed':_0x4b03c4(0x132),'room-not-exists':_0x4b03c4(0x134),'room-permission-denied':_0x4b03c4(0x133),'room-cnt-exceeds':_0x4b03c4(0x137),'collaboration-timeout':_0x4b03c4(0x12e)},'conflict':{'title':_0x4b03c4(0x136),'content':_0x4b03c4(0x145)},'permission':{'title':_0x4b03c4(0x13a),'content':_0x4b03c4(0x140)},'collaboration':{'single-unit':{'warning':_0x4b03c4(0x131)},'closeRoom':_0x4b03c4(0x138)},'auth':{'needGotoLoginAlert':_0x4b03c4(0x12d)}};export{e as default};function _0x4ad4(){const _0x4db8a9=['The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Syncing\x20server\x20data...','5386257HvmTpx','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','740AiTvqB','12546264nveUqe','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect','Collaboration\x20Conflict','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','42QfBxAt','Authentication\x20Error','1120588gTCzEv','1595eavsfa','1529snVxuM','2FRfHtC','Syncing...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Edit\x20conflicts','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','620890uOJAKn','9283563bmqzdB','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.','259790HfRCUZ','Synced'];_0x4ad4=function(){return _0x4db8a9;};return _0x4ad4();}
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x10fccc=_0x3dbc;(function(_0x886d51,_0x3f795){const _0x594455=_0x3dbc,_0x5a65b4=_0x886d51();while(!![]){try{const _0x550c28=-parseInt(_0x594455(0x9c))/0x1+-parseInt(_0x594455(0x9e))/0x2*(-parseInt(_0x594455(0x93))/0x3)+parseInt(_0x594455(0xa3))/0x4+-parseInt(_0x594455(0x97))/0x5*(parseInt(_0x594455(0x8d))/0x6)+parseInt(_0x594455(0x8f))/0x7+-parseInt(_0x594455(0x95))/0x8*(parseInt(_0x594455(0x9b))/0x9)+-parseInt(_0x594455(0x9d))/0xa*(-parseInt(_0x594455(0xa2))/0xb);if(_0x550c28===_0x3f795)break;else _0x5a65b4['push'](_0x5a65b4['shift']());}catch(_0x3905a0){_0x5a65b4['push'](_0x5a65b4['shift']());}}}(_0x27c5,0x611cb));function _0x27c5(){const _0x581cd6=['942kAFVRd','تداخل\x20ویرایش','تداخل\x20همکاری','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','88aMNGrF','2913644FOtKqF','396BZCPto','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','5223218OVIrUR','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','خطای\x20اعتبارسنجی','همگام\x20سازی','1629RTKaJB','اعمال\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رفت.','10616hZhAcH','پرونده\x20محلی','34635ZXBVMW','شما\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رفت.','2394jFNirH','571667Lsakcn','61580iURREK'];_0x27c5=function(){return _0x581cd6;};return _0x27c5();}const o={'collab-client':{'tooltip':{'reconnect':_0x10fccc(0xa1)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x10fccc(0x9f),'notCollab':_0x10fccc(0x96),'synced':_0x10fccc(0x92),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x10fccc(0x99),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':'ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','join-failed':_0x10fccc(0x90),'room-not-exists':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-permission-denied':'دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-cnt-exceeds':_0x10fccc(0x8e),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'},'conflict':{'title':_0x10fccc(0xa0),'content':_0x10fccc(0x9a)},'permission':{'title':_0x10fccc(0x91),'content':_0x10fccc(0x94)},'collaboration':{'single-unit':{'warning':_0x10fccc(0x98)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x3dbc(_0x24ee86,_0xc7a004){const _0x27c5bd=_0x27c5();return _0x3dbc=function(_0x3dbce8,_0x118eaf){_0x3dbce8=_0x3dbce8-0x8d;let _0x23cba2=_0x27c5bd[_0x3dbce8];return _0x23cba2;},_0x3dbc(_0x24ee86,_0xc7a004);}export{o as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x37cca0=_0x13a4;(function(_0x1ae48b,_0x36d6f8){const _0x26b567=_0x13a4,_0x10794b=_0x1ae48b();while(!![]){try{const _0x518d7e=parseInt(_0x26b567(0x1d9))/0x1*(-parseInt(_0x26b567(0x1c9))/0x2)+-parseInt(_0x26b567(0x1c6))/0x3*(parseInt(_0x26b567(0x1d8))/0x4)+parseInt(_0x26b567(0x1d7))/0x5*(parseInt(_0x26b567(0x1c3))/0x6)+-parseInt(_0x26b567(0x1ca))/0x7+-parseInt(_0x26b567(0x1cb))/0x8*(-parseInt(_0x26b567(0x1d3))/0x9)+-parseInt(_0x26b567(0x1c4))/0xa+parseInt(_0x26b567(0x1d2))/0xb;if(_0x518d7e===_0x36d6f8)break;else _0x10794b['push'](_0x10794b['shift']());}catch(_0x3c4277){_0x10794b['push'](_0x10794b['shift']());}}}(_0x1b33,0x4c36b));function _0x13a4(_0xb23074,_0x32f7ec){const _0x1b33ff=_0x1b33();return _0x13a4=function(_0x13a416,_0x1133cf){_0x13a416=_0x13a416-0x1c3;let _0x28a46b=_0x1b33ff[_0x13a416];return _0x28a46b;},_0x13a4(_0xb23074,_0x32f7ec);}const e={'collab-client':{'tooltip':{'reconnect':_0x37cca0(0x1c7)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':_0x37cca0(0x1d0),'synced':'Synced','syncing':_0x37cca0(0x1ce),'offline':_0x37cca0(0x1cd)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x37cca0(0x1d4),'room-full':_0x37cca0(0x1cc),'join-failed':_0x37cca0(0x1cf),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x37cca0(0x1d5),'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':_0x37cca0(0x1c8),'content':_0x37cca0(0x1c5)},'collaboration':{'single-unit':{'warning':_0x37cca0(0x1d6)},'closeRoom':_0x37cca0(0x1da)},'auth':{'needGotoLoginAlert':_0x37cca0(0x1d1)}},o=e;function _0x1b33(){const _0x5f161c=['20sfLVrf','10264hcjgBJ','83161bnGngn','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','491652FFrUvH','2960980hThiKm','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','135PPaqXj','Click\x20to\x20Reconnect','Authentication\x20Error','12HLCCnB','3480022TPiEZg','11240CNSOdo','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing...','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','14246518hrQQVe','621VLqgTT','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'];_0x1b33=function(){return _0x5f161c;};return _0x1b33();}export{o as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x5397(_0x436efb,_0x5d025){const _0x3cb038=_0x3cb0();return _0x5397=function(_0x53979d,_0xde7588){_0x53979d=_0x53979d-0x107;let _0x4013bd=_0x3cb038[_0x53979d];return _0x4013bd;},_0x5397(_0x436efb,_0x5d025);}const _0x291c54=_0x5397;(function(_0x16ed5b,_0x3f9116){const _0x22360c=_0x5397,_0x7be24c=_0x16ed5b();while(!![]){try{const _0x5da841=-parseInt(_0x22360c(0x113))/0x1+-parseInt(_0x22360c(0x109))/0x2+parseInt(_0x22360c(0x10c))/0x3*(-parseInt(_0x22360c(0x117))/0x4)+-parseInt(_0x22360c(0x108))/0x5+-parseInt(_0x22360c(0x116))/0x6+parseInt(_0x22360c(0x10a))/0x7+-parseInt(_0x22360c(0x121))/0x8*(-parseInt(_0x22360c(0x118))/0x9);if(_0x5da841===_0x3f9116)break;else _0x7be24c['push'](_0x7be24c['shift']());}catch(_0x3f36f9){_0x7be24c['push'](_0x7be24c['shift']());}}}(_0x3cb0,0xe88e6));const e={'collab-client':{'tooltip':{'reconnect':_0x291c54(0x120)}},'collabStatus':{'fetchMiss':_0x291c54(0x111),'conflict':_0x291c54(0x122),'notCollab':_0x291c54(0x123),'synced':_0x291c54(0x110),'syncing':_0x291c54(0x11f),'offline':_0x291c54(0x115)},'session':{'connection-failed':_0x291c54(0x10d),'will-retry':_0x291c54(0x107),'room-full':_0x291c54(0x11c),'join-failed':_0x291c54(0x11e),'room-not-exists':_0x291c54(0x10f),'room-permission-denied':_0x291c54(0x112),'room-cnt-exceeds':_0x291c54(0x11b),'collaboration-timeout':_0x291c54(0x11a)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x291c54(0x114)},'permission':{'title':_0x291c54(0x10e),'content':_0x291c54(0x119)},'collaboration':{'single-unit':{'warning':_0x291c54(0x11d)},'closeRoom':_0x291c54(0x10b)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};function _0x3cb0(){const _0x308a31=['Click\x20to\x20Reconnect','1416QHaZKw','Edit\x20conflicts','Local\x20file','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','4538300koqryp','3397042oTQgMU','10939901owyEYf','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','3HZDkGj','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Authentication\x20Error','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','Syncing\x20server\x20data...','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1396690lapvEC','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.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','11239272CEzRJf','3811004cMVNLV','316197dXtuDy','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...'];_0x3cb0=function(){return _0x308a31;};return _0x3cb0();}
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x54df(){const _0x50622b=['706511TljERP','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Collaboration\x20Conflict','Syncing\x20server\x20data...','Connection\x20failed.\x20Please\x20check\x20your\x20network.','1336592DSvQID','837096CafMFZ','16149591RDUUvn','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1031958VRktFM','21uIfolw','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','8pAHrbg','Edit\x20conflicts','Synced','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','1990390VflboX','Syncing...','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','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.','111764jLmVDI'];_0x54df=function(){return _0x50622b;};return _0x54df();}const _0x3a47fa=_0x4f02;function _0x4f02(_0x2299aa,_0x4a7721){const _0x54dff3=_0x54df();return _0x4f02=function(_0x4f02d1,_0xbf573d){_0x4f02d1=_0x4f02d1-0x99;let _0xfd0e4f=_0x54dff3[_0x4f02d1];return _0xfd0e4f;},_0x4f02(_0x2299aa,_0x4a7721);}(function(_0x55d749,_0x222e9f){const _0xde5d27=_0x4f02,_0x8849d2=_0x55d749();while(!![]){try{const _0x3175dc=-parseInt(_0xde5d27(0x9a))/0x1+parseInt(_0xde5d27(0x99))/0x2+-parseInt(_0xde5d27(0xa1))/0x3+parseInt(_0xde5d27(0xa8))/0x4*(-parseInt(_0xde5d27(0xad))/0x5)+-parseInt(_0xde5d27(0xa4))/0x6*(-parseInt(_0xde5d27(0xa5))/0x7)+-parseInt(_0xde5d27(0xa0))/0x8+parseInt(_0xde5d27(0xa2))/0x9;if(_0x3175dc===_0x222e9f)break;else _0x8849d2['push'](_0x8849d2['shift']());}catch(_0x5c635a){_0x8849d2['push'](_0x8849d2['shift']());}}}(_0x54df,0x65ecf));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x3a47fa(0x9e),'conflict':_0x3a47fa(0xa9),'notCollab':'Local\x20file','synced':_0x3a47fa(0xaa),'syncing':_0x3a47fa(0xae),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x3a47fa(0x9f),'will-retry':_0x3a47fa(0xac),'room-full':_0x3a47fa(0x9c),'join-failed':_0x3a47fa(0xaf),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x3a47fa(0xab),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x3a47fa(0xa6)},'conflict':{'title':_0x3a47fa(0x9d),'content':_0x3a47fa(0xb0)},'permission':{'title':'Authentication\x20Error','content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x3a47fa(0xa7)},'closeRoom':_0x3a47fa(0xa3)},'auth':{'needGotoLoginAlert':_0x3a47fa(0x9b)}},o=e;export{o as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x472db3=_0x21c4;function _0x2476(){const _0xd603cf=['加入协同失败,请稍后重试,你的编辑将在本地缓存','65757slKjbN','加入协同失败,你的编辑将在本地缓存','正在拉取服务端数据...','连接失败,将在一会儿之后重试连接','保存中...','33448iBrzey','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','1129920eWcRZE','28kHUlIL','此文档协同人数已满,你的编辑将在本地缓存','连接失败,请检查你的网络','1071HIpXDc','已离线,编辑将在本地缓存','权限错误','服务器未响应,你的编辑将在本地缓存','18498843TAWvIM','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','12udRCYS','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','没有协同权限,你的编辑将在本地缓存','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','273pNqMZC','点击重新连接','协同冲突','27102dyfVhv','协同文档数量超过限制,你的编辑将在本地缓存','已同步','164294NshbKN','由于协同房间被关闭,编辑权限被收回。','5980100EgCnLv'];_0x2476=function(){return _0xd603cf;};return _0x2476();}(function(_0x273c20,_0x1fbccb){const _0x5d96d6=_0x21c4,_0x25550c=_0x273c20();while(!![]){try{const _0xc9f205=parseInt(_0x5d96d6(0x1da))/0x1+parseInt(_0x5d96d6(0x1e6))/0x2*(parseInt(_0x5d96d6(0x1de))/0x3)+-parseInt(_0x5d96d6(0x1d0))/0x4*(parseInt(_0x5d96d6(0x1e5))/0x5)+parseInt(_0x5d96d6(0x1d7))/0x6*(parseInt(_0x5d96d6(0x1d4))/0x7)+parseInt(_0x5d96d6(0x1e3))/0x8*(-parseInt(_0x5d96d6(0x1ca))/0x9)+-parseInt(_0x5d96d6(0x1dc))/0xa+parseInt(_0x5d96d6(0x1ce))/0xb;if(_0xc9f205===_0x1fbccb)break;else _0x25550c['push'](_0x25550c['shift']());}catch(_0x368c96){_0x25550c['push'](_0x25550c['shift']());}}}(_0x2476,0x87a0f));function _0x21c4(_0x28fd65,_0x4df5e6){const _0x2476f7=_0x2476();return _0x21c4=function(_0x21c45c,_0x41bc0e){_0x21c45c=_0x21c45c-0x1c9;let _0x1da540=_0x2476f7[_0x21c45c];return _0x1da540;},_0x21c4(_0x28fd65,_0x4df5e6);}const o={'collab-client':{'tooltip':{'reconnect':_0x472db3(0x1d5)}},'collabStatus':{'fetchMiss':_0x472db3(0x1e0),'conflict':'编辑冲突','notCollab':'本地文件','synced':_0x472db3(0x1d9),'syncing':_0x472db3(0x1e2),'offline':_0x472db3(0x1cb)},'session':{'connection-failed':_0x472db3(0x1c9),'will-retry':_0x472db3(0x1e1),'room-full':_0x472db3(0x1e7),'join-failed':_0x472db3(0x1dd),'room-not-exists':_0x472db3(0x1df),'room-permission-denied':_0x472db3(0x1d2),'room-cnt-exceeds':_0x472db3(0x1d8),'collaboration-timeout':_0x472db3(0x1cd)},'conflict':{'title':_0x472db3(0x1d6),'content':_0x472db3(0x1e4)},'permission':{'title':_0x472db3(0x1cc),'content':_0x472db3(0x1d1)},'collaboration':{'single-unit':{'warning':_0x472db3(0x1cf)},'closeRoom':_0x472db3(0x1db)},'auth':{'needGotoLoginAlert':_0x472db3(0x1d3)}};export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x336d03=_0x1c44;function _0x1c44(_0x37fe0d,_0x48144a){const _0x12cf2a=_0x12cf();return _0x1c44=function(_0x1c443b,_0x59a153){_0x1c443b=_0x1c443b-0xc4;let _0x12cc35=_0x12cf2a[_0x1c443b];return _0x12cc35;},_0x1c44(_0x37fe0d,_0x48144a);}(function(_0x57ce73,_0xa48551){const _0x1ebbad=_0x1c44,_0x1d6f49=_0x57ce73();while(!![]){try{const _0x5339c9=parseInt(_0x1ebbad(0xcb))/0x1+-parseInt(_0x1ebbad(0xcd))/0x2*(-parseInt(_0x1ebbad(0xc4))/0x3)+parseInt(_0x1ebbad(0xd5))/0x4*(-parseInt(_0x1ebbad(0xc5))/0x5)+parseInt(_0x1ebbad(0xca))/0x6+-parseInt(_0x1ebbad(0xde))/0x7*(-parseInt(_0x1ebbad(0xda))/0x8)+parseInt(_0x1ebbad(0xd0))/0x9+-parseInt(_0x1ebbad(0xd1))/0xa;if(_0x5339c9===_0xa48551)break;else _0x1d6f49['push'](_0x1d6f49['shift']());}catch(_0x501dd3){_0x1d6f49['push'](_0x1d6f49['shift']());}}}(_0x12cf,0xc1c28));const e={'collab-client':{'tooltip':{'reconnect':_0x336d03(0xc9)}},'collabStatus':{'fetchMiss':_0x336d03(0xc8),'conflict':'Edit\x20conflicts','notCollab':_0x336d03(0xce),'synced':_0x336d03(0xcf),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x336d03(0xd9),'room-full':_0x336d03(0xd7),'join-failed':_0x336d03(0xdc),'room-not-exists':_0x336d03(0xdd),'room-permission-denied':_0x336d03(0xd2),'room-cnt-exceeds':_0x336d03(0xd3),'collaboration-timeout':_0x336d03(0xd4)},'conflict':{'title':_0x336d03(0xc6),'content':_0x336d03(0xcc)},'permission':{'title':_0x336d03(0xc7),'content':_0x336d03(0xdb)},'collaboration':{'single-unit':{'warning':_0x336d03(0xd6)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x336d03(0xd8)}},o=e;function _0x12cf(){const _0x1128eb=['587330LyiIku','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.','308894bYUUcD','Local\x20file','Synced','1242018SGdaet','16270010fFTOkp','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','24fPgrXu','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','1048UzlwJa','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.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','54173HWGKVm','3ZHfDUb','663755tRRshy','Collaboration\x20Conflict','Authentication\x20Error','Syncing\x20server\x20data...','Click\x20to\x20Reconnect','7941354lSspBa'];_0x12cf=function(){return _0x1128eb;};return _0x12cf();}export{o as default};
|
@@ -1,14 +1,15 @@
|
|
1
1
|
import { FWorkbook } from '@univerjs/sheets/facade';
|
2
2
|
import { SnapshotService } from '@univerjs-pro/collaboration';
|
3
3
|
import { CollaborationController } from '@univerjs-pro/collaboration-client';
|
4
|
-
import { FBase, Injector } from '@univerjs/core';
|
4
|
+
import { FBase, Injector, IUniverInstanceService } from '@univerjs/core';
|
5
5
|
export declare class FCollaboration extends FBase {
|
6
6
|
private readonly _handler;
|
7
7
|
protected readonly _injector: Injector;
|
8
|
+
protected readonly _univerInstanceService: IUniverInstanceService;
|
8
9
|
protected readonly _snapshotService: SnapshotService;
|
9
10
|
protected readonly _collaborationController: CollaborationController;
|
10
11
|
constructor(_handler: {
|
11
12
|
getUniverSheet: (id: string) => FWorkbook | null;
|
12
|
-
}, _injector: Injector, _snapshotService: SnapshotService, _collaborationController: CollaborationController);
|
13
|
+
}, _injector: Injector, _univerInstanceService: IUniverInstanceService, _snapshotService: SnapshotService, _collaborationController: CollaborationController);
|
13
14
|
loadSheet(unitId: string): Promise<FWorkbook | null>;
|
14
15
|
}
|
package/lib/umd/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(function(
|
1
|
+
function _0x4686(_0x49aeba,_0x1f2fe9){var _0x2e4268=_0x2e42();return _0x4686=function(_0x468621,_0x98f814){_0x468621=_0x468621-0x1f2;var _0x757446=_0x2e4268[_0x468621];return _0x757446;},_0x4686(_0x49aeba,_0x1f2fe9);}(function(_0x403c4a,_0xe718fd){var _0x459d2d=_0x4686,_0x3893a5=_0x403c4a();while(!![]){try{var _0xb53cf2=parseInt(_0x459d2d(0x201))/0x1*(parseInt(_0x459d2d(0x215))/0x2)+-parseInt(_0x459d2d(0x206))/0x3+-parseInt(_0x459d2d(0x209))/0x4*(-parseInt(_0x459d2d(0x217))/0x5)+parseInt(_0x459d2d(0x1fe))/0x6+parseInt(_0x459d2d(0x20a))/0x7+-parseInt(_0x459d2d(0x1f3))/0x8*(parseInt(_0x459d2d(0x1f8))/0x9)+parseInt(_0x459d2d(0x211))/0xa;if(_0xb53cf2===_0xe718fd)break;else _0x3893a5['push'](_0x3893a5['shift']());}catch(_0x40a273){_0x3893a5['push'](_0x3893a5['shift']());}}}(_0x2e42,0xc3a95),function(_0x4d7f80,_0x34c1ed){var _0x1b11ba=_0x4686;typeof exports=='object'&&typeof module<'u'?_0x34c1ed(exports,require('@univerjs/core'),require(_0x1b11ba(0x1f2)),require(_0x1b11ba(0x200))):typeof define==_0x1b11ba(0x213)&&define['amd']?define([_0x1b11ba(0x205),_0x1b11ba(0x204),_0x1b11ba(0x1f2),'@univerjs-pro/collaboration-client'],_0x34c1ed):(_0x4d7f80=typeof globalThis<'u'?globalThis:_0x4d7f80||self,_0x34c1ed(_0x4d7f80['UniverProCollaborationClientFacade']={},_0x4d7f80[_0x1b11ba(0x210)],_0x4d7f80[_0x1b11ba(0x203)],_0x4d7f80[_0x1b11ba(0x1ff)]));}(this,function(_0x1c4b55,_0x18815b,_0x2dfec1,_0x4a647b){'use strict';var _0x4610d3=_0x4686;var _0x393d51=Object['defineProperty'],_0x10d8bb=Object[_0x4610d3(0x20e)],_0x5b4ef4=(_0x290f9d,_0x507e75,_0x120684,_0x423949)=>{for(var _0x202357=_0x423949>0x1?void 0x0:_0x423949?_0x10d8bb(_0x507e75,_0x120684):_0x507e75,_0x18c45b=_0x290f9d['length']-0x1,_0x253279;_0x18c45b>=0x0;_0x18c45b--)(_0x253279=_0x290f9d[_0x18c45b])&&(_0x202357=(_0x423949?_0x253279(_0x507e75,_0x120684,_0x202357):_0x253279(_0x202357))||_0x202357);return _0x423949&&_0x202357&&_0x393d51(_0x507e75,_0x120684,_0x202357),_0x202357;},_0x521d1a=(_0xb6db61,_0x4f9bdd)=>(_0x27c033,_0x2a66c2)=>_0x4f9bdd(_0x27c033,_0x2a66c2,_0xb6db61);_0x1c4b55[_0x4610d3(0x1f7)]=class extends _0x18815b[_0x4610d3(0x1f5)]{constructor(_0x242a23,_0xebdef1,_0x18b0a4,_0x1bd7da,_0x4b994b){var _0xdb74d4=_0x4610d3;super(),this[_0xdb74d4(0x218)]=_0x242a23,this[_0xdb74d4(0x1fc)]=_0xebdef1,this[_0xdb74d4(0x20b)]=_0x18b0a4,this[_0xdb74d4(0x1fd)]=_0x1bd7da,this['_collaborationController']=_0x4b994b;}async[_0x4610d3(0x202)](_0x36746c){var _0x23e09a=_0x4610d3;return this['_univerInstanceService'][_0x23e09a(0x20c)](_0x36746c,_0x18815b[_0x23e09a(0x207)][_0x23e09a(0x214)])||await this['_snapshotService'][_0x23e09a(0x202)](_0x36746c,0x0)?(await this['_collaborationController'][_0x23e09a(0x1f4)](_0x36746c),this[_0x23e09a(0x218)]['getUniverSheet'](_0x36746c)):null;}},_0x1c4b55[_0x4610d3(0x1f7)]=_0x5b4ef4([_0x521d1a(0x1,_0x18815b[_0x4610d3(0x1fb)](_0x18815b[_0x4610d3(0x20d)])),_0x521d1a(0x2,_0x18815b[_0x4610d3(0x208)]),_0x521d1a(0x3,_0x18815b[_0x4610d3(0x1fb)](_0x2dfec1['SnapshotService'])),_0x521d1a(0x4,_0x18815b[_0x4610d3(0x1fb)](_0x4a647b[_0x4610d3(0x1f9)]))],_0x1c4b55[_0x4610d3(0x1f7)]);class _0x245e7d extends _0x18815b[_0x4610d3(0x1f6)]{[_0x4610d3(0x212)](){var _0x296e7b=_0x4610d3;return this[_0x296e7b(0x1fc)]['createInstance'](_0x1c4b55['FCollaboration'],{'getUniverSheet':_0x6d0085=>this[_0x296e7b(0x20f)](_0x6d0085)});}}_0x18815b[_0x4610d3(0x1f6)]['extend'](_0x245e7d),Object['defineProperty'](_0x1c4b55,Symbol[_0x4610d3(0x1fa)],{'value':_0x4610d3(0x216)});}));function _0x2e42(){var _0x567022=['4141000gQefHK','getCollaboration','function','UNIVER_SHEET','46WlIHos','Module','475445NVfsjl','_handler','@univerjs-pro/collaboration','437176oSkstR','readyForCollab','FBase','FUniver','FCollaboration','171jZUVRV','CollaborationController','toStringTag','Inject','_injector','_snapshotService','527868FwfZRg','UniverProCollaborationClient','@univerjs-pro/collaboration-client','41339wXHPfD','loadSheet','UniverProCollaboration','@univerjs/core','exports','3644706klezbZ','UniverInstanceType','IUniverInstanceService','60TtcCFK','1227898pQxzEQ','_univerInstanceService','getUnit','Injector','getOwnPropertyDescriptor','getUniverSheet','UniverCore'];_0x2e42=function(){return _0x567022;};return _0x2e42();}
|