@univerjs-pro/collaboration-client 0.5.3-nightly.202501100253 → 0.5.3-nightly.202501101606
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 +8 -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 +9 -9
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x3a2b90=_0xb61f;function _0x1e3f(){const _0x1af2e3=['Collaboration\x20Conflict','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','8mQAvnj','11976zOLYLx','12ymkAkJ','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','52qjTmGQ','9oiJqzD','3917903HTzzDE','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Synced','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','1216800yFslZZ','949122QsTpIO','Edit\x20conflicts','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing...','631660vUxqAP','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','47455uTbtVz','1059835rpUJFd','Local\x20file','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','12XdxtOR','Failed\x20to\x20join\x20collaboration.\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.'];_0x1e3f=function(){return _0x1af2e3;};return _0x1e3f();}function _0xb61f(_0x57425b,_0x57892c){const _0x1e3f47=_0x1e3f();return _0xb61f=function(_0xb61f56,_0x2113b9){_0xb61f56=_0xb61f56-0x15b;let _0x769493=_0x1e3f47[_0xb61f56];return _0x769493;},_0xb61f(_0x57425b,_0x57892c);}(function(_0x106d6d,_0x177c2b){const _0x35d706=_0xb61f,_0xb147a6=_0x106d6d();while(!![]){try{const _0x38c69e=parseInt(_0x35d706(0x16d))/0x1*(-parseInt(_0x35d706(0x175))/0x2)+parseInt(_0x35d706(0x163))/0x3+-parseInt(_0x35d706(0x15c))/0x4*(parseInt(_0x35d706(0x169))/0x5)+parseInt(_0x35d706(0x162))/0x6+parseInt(_0x35d706(0x16a))/0x7*(parseInt(_0x35d706(0x174))/0x8)+-parseInt(_0x35d706(0x15d))/0x9*(-parseInt(_0x35d706(0x167))/0xa)+-parseInt(_0x35d706(0x15e))/0xb*(parseInt(_0x35d706(0x176))/0xc);if(_0x38c69e===_0x177c2b)break;else _0xb147a6['push'](_0xb147a6['shift']());}catch(_0x143e7a){_0xb147a6['push'](_0xb147a6['shift']());}}}(_0x1e3f,0x2c83d));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x3a2b90(0x164),'notCollab':_0x3a2b90(0x16b),'synced':_0x3a2b90(0x160),'syncing':_0x3a2b90(0x166),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x3a2b90(0x173),'will-retry':_0x3a2b90(0x161),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x3a2b90(0x172),'room-not-exists':_0x3a2b90(0x16e),'room-permission-denied':_0x3a2b90(0x168),'room-cnt-exceeds':_0x3a2b90(0x16c),'collaboration-timeout':_0x3a2b90(0x15f)},'conflict':{'title':_0x3a2b90(0x170),'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':_0x3a2b90(0x16f)},'collaboration':{'single-unit':{'warning':_0x3a2b90(0x15b)},'closeRoom':_0x3a2b90(0x171)},'auth':{'needGotoLoginAlert':_0x3a2b90(0x165)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x3f6870=_0x1962;(function(_0x322775,_0x130971){const _0x50db25=_0x1962,_0x809ea1=_0x322775();while(!![]){try{const _0x5e90d0=-parseInt(_0x50db25(0xa7))/0x1+-parseInt(_0x50db25(0xbe))/0x2+parseInt(_0x50db25(0xbf))/0x3*(parseInt(_0x50db25(0xa9))/0x4)+-parseInt(_0x50db25(0xb0))/0x5*(parseInt(_0x50db25(0xb3))/0x6)+parseInt(_0x50db25(0xb2))/0x7*(parseInt(_0x50db25(0xae))/0x8)+-parseInt(_0x50db25(0xb7))/0x9*(-parseInt(_0x50db25(0xaa))/0xa)+parseInt(_0x50db25(0xb1))/0xb;if(_0x5e90d0===_0x130971)break;else _0x809ea1['push'](_0x809ea1['shift']());}catch(_0x330b7f){_0x809ea1['push'](_0x809ea1['shift']());}}}(_0x24a5,0xb7a5e));function _0x1962(_0x2f7315,_0x56cf5c){const _0x24a537=_0x24a5();return _0x1962=function(_0x196250,_0x5dcadc){_0x196250=_0x196250-0xa7;let _0x3426d2=_0x24a537[_0x196250];return _0x3426d2;},_0x1962(_0x2f7315,_0x56cf5c);}const o={'collab-client':{'tooltip':{'reconnect':_0x3f6870(0xab)}},'collabStatus':{'fetchMiss':_0x3f6870(0xaf),'conflict':_0x3f6870(0xc0),'notCollab':_0x3f6870(0xb4),'synced':_0x3f6870(0xc1),'syncing':_0x3f6870(0xb8),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x3f6870(0xb9),'room-full':_0x3f6870(0xbc),'join-failed':_0x3f6870(0xac),'room-not-exists':_0x3f6870(0xbb),'room-permission-denied':_0x3f6870(0xb6),'room-cnt-exceeds':'تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'},'conflict':{'title':_0x3f6870(0xa8),'content':_0x3f6870(0xad)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x3f6870(0xb5)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x3f6870(0xbd)},'auth':{'needGotoLoginAlert':_0x3f6870(0xba)}};function _0x24a5(){const _0xf1e6e2=['در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','625TkrxRa','25988534bmpAxL','4486923vfnWjh','46974bzvbtI','پرونده\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شد.','45KTTSPw','در\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شد.','2311456GkWPcJ','3lBWGiY','تداخل\x20ویرایش','همگام\x20سازی','879440PLcRWT','تداخل\x20همکاری','2834908OPCDtn','107410nmrNMZ','برای\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رفت.','8zHdJwG'];_0x24a5=function(){return _0xf1e6e2;};return _0x24a5();}export{o as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x35ee73=_0x5d72;(function(_0x39eeef,_0x5abe10){const _0xf86c2a=_0x5d72,_0xcc91a1=_0x39eeef();while(!![]){try{const _0x9770e5=-parseInt(_0xf86c2a(0x1f7))/0x1*(-parseInt(_0xf86c2a(0x1f8))/0x2)+parseInt(_0xf86c2a(0x1ff))/0x3+parseInt(_0xf86c2a(0x203))/0x4+-parseInt(_0xf86c2a(0x1f3))/0x5+parseInt(_0xf86c2a(0x1fe))/0x6*(-parseInt(_0xf86c2a(0x1f4))/0x7)+parseInt(_0xf86c2a(0x207))/0x8+-parseInt(_0xf86c2a(0x209))/0x9;if(_0x9770e5===_0x5abe10)break;else _0xcc91a1['push'](_0xcc91a1['shift']());}catch(_0x346c70){_0xcc91a1['push'](_0xcc91a1['shift']());}}}(_0x2e68,0x9c883));const e={'collab-client':{'tooltip':{'reconnect':_0x35ee73(0x201)}},'collabStatus':{'fetchMiss':_0x35ee73(0x1fa),'conflict':_0x35ee73(0x208),'notCollab':_0x35ee73(0x1fd),'synced':'Synced','syncing':_0x35ee73(0x206),'offline':_0x35ee73(0x200)},'session':{'connection-failed':_0x35ee73(0x20a),'will-retry':_0x35ee73(0x1f6),'room-full':_0x35ee73(0x1f2),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x35ee73(0x1fc),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x35ee73(0x1f9),'collaboration-timeout':_0x35ee73(0x1fb)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x35ee73(0x1f5)},'permission':{'title':_0x35ee73(0x205),'content':_0x35ee73(0x204)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x35ee73(0x202)}},o=e;function _0x5d72(_0x1c5b6c,_0x56e3d5){const _0x2e685c=_0x2e68();return _0x5d72=function(_0x5d7276,_0x1615e4){_0x5d7276=_0x5d7276-0x1f2;let _0x255a73=_0x2e685c[_0x5d7276];return _0x255a73;},_0x5d72(_0x1c5b6c,_0x56e3d5);}export{o as default};function _0x2e68(){const _0x125faf=['Connection\x20failed.\x20Please\x20check\x20your\x20network.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3268330oIWOhc','56wgqyhO','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.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','175993OeZLmE','6xzmZdd','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','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.','Local\x20file','440082azqOVd','2583168lsCTNN','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Click\x20to\x20Reconnect','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','2577348moOjYl','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Authentication\x20Error','Syncing...','4061232sbKXGN','Edit\x20conflicts','5934861utVwyZ'];_0x2e68=function(){return _0x125faf;};return _0x2e68();}
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x4ade(_0x37adc2,_0x1f3b75){const _0x7ab75=_0x7ab7();return _0x4ade=function(_0x4adeea,_0x3677e3){_0x4adeea=_0x4adeea-0xa0;let _0x497953=_0x7ab75[_0x4adeea];return _0x497953;},_0x4ade(_0x37adc2,_0x1f3b75);}const _0x2925fe=_0x4ade;function _0x7ab7(){const _0x20396d=['Collaboration\x20Conflict','Syncing\x20server\x20data...','5792100MCZtwe','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect','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.','7MgUXyO','1421874KYTEWB','4855480kHALTi','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','23248650YyTqpI','83070HBWmpr','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','867258IxcnED','1fmLkLO','Edit\x20conflicts','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','Local\x20file','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','228AVwOHh','841342mbsnns','Synced'];_0x7ab7=function(){return _0x20396d;};return _0x7ab7();}(function(_0x5efc9f,_0x39c0c5){const _0x2bcf63=_0x4ade,_0x8776f4=_0x5efc9f();while(!![]){try{const _0x184ba2=parseInt(_0x2bcf63(0xad))/0x1*(parseInt(_0x2bcf63(0xb6))/0x2)+parseInt(_0x2bcf63(0xa5))/0x3+parseInt(_0x2bcf63(0xb5))/0x4*(-parseInt(_0x2bcf63(0xa9))/0x5)+-parseInt(_0x2bcf63(0xba))/0x6+-parseInt(_0x2bcf63(0xa4))/0x7*(parseInt(_0x2bcf63(0xa6))/0x8)+-parseInt(_0x2bcf63(0xac))/0x9+parseInt(_0x2bcf63(0xa8))/0xa;if(_0x184ba2===_0x39c0c5)break;else _0x8776f4['push'](_0x8776f4['shift']());}catch(_0x350b82){_0x8776f4['push'](_0x8776f4['shift']());}}}(_0x7ab7,0x936c9));const e={'collab-client':{'tooltip':{'reconnect':_0x2925fe(0xa2)}},'collabStatus':{'fetchMiss':_0x2925fe(0xb9),'conflict':_0x2925fe(0xae),'notCollab':_0x2925fe(0xb3),'synced':_0x2925fe(0xb7),'syncing':_0x2925fe(0xb2),'offline':_0x2925fe(0xaf)},'session':{'connection-failed':_0x2925fe(0xab),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x2925fe(0xa0),'join-failed':_0x2925fe(0xa1),'room-not-exists':_0x2925fe(0xaa),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x2925fe(0xb1)},'conflict':{'title':_0x2925fe(0xb8),'content':_0x2925fe(0xa3)},'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':_0x2925fe(0xb0)},'closeRoom':_0x2925fe(0xb4)},'auth':{'needGotoLoginAlert':_0x2925fe(0xa7)}},o=e;export{o as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0xab35(){const _0x554622=['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.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2322828tPewok','520bwYPQp','Authentication\x20Error','205692RqQqBj','11554466uvzdUB','7389SYqizk','Syncing\x20server\x20data...','756xmZdYl','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','589208YpfZYy','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Edit\x20conflicts','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.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','2046QZxdOT','12wKvDjp','21qeaWDz','549390ZlyrMd','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0xab35=function(){return _0x554622;};return _0xab35();}const _0x4f322c=_0x818f;function _0x818f(_0x2dbffb,_0x1be4c5){const _0xab35f=_0xab35();return _0x818f=function(_0x818f5e,_0x56ff9f){_0x818f5e=_0x818f5e-0xf6;let _0xc1c1f6=_0xab35f[_0x818f5e];return _0xc1c1f6;},_0x818f(_0x2dbffb,_0x1be4c5);}(function(_0x5835f6,_0xa71ab9){const _0x46c4e8=_0x818f,_0x3f0774=_0x5835f6();while(!![]){try{const _0xe8d8bd=-parseInt(_0x46c4e8(0x107))/0x1+-parseInt(_0x46c4e8(0x10b))/0x2*(-parseInt(_0x46c4e8(0xfd))/0x3)+parseInt(_0x46c4e8(0xfe))/0x4*(-parseInt(_0x46c4e8(0x100))/0x5)+-parseInt(_0x46c4e8(0x104))/0x6+-parseInt(_0x46c4e8(0xff))/0x7*(parseInt(_0x46c4e8(0xf7))/0x8)+-parseInt(_0x46c4e8(0x109))/0x9*(-parseInt(_0x46c4e8(0x105))/0xa)+parseInt(_0x46c4e8(0x108))/0xb;if(_0xe8d8bd===_0xa71ab9)break;else _0x3f0774['push'](_0x3f0774['shift']());}catch(_0x46ed70){_0x3f0774['push'](_0x3f0774['shift']());}}}(_0xab35,0x32a75));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x4f322c(0x10a),'conflict':_0x4f322c(0xf9),'notCollab':'Local\x20file','synced':_0x4f322c(0x10d),'syncing':'Syncing...','offline':_0x4f322c(0xfc)},'session':{'connection-failed':_0x4f322c(0xf8),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x4f322c(0x103),'join-failed':_0x4f322c(0x10c),'room-not-exists':_0x4f322c(0x101),'room-permission-denied':_0x4f322c(0xfa),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x4f322c(0xf6)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x4f322c(0x102)},'permission':{'title':_0x4f322c(0x106),'content':_0x4f322c(0xfb)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x1a8f(){const _0x2910c1=['协同冲突','此文档协同人数已满,你的编辑将在本地缓存','编辑冲突','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','2433270ryxHgA','权限错误','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','由于协同房间被关闭,编辑权限被收回。','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','保存中...','8647850aaNplP','服务器未响应,你的编辑将在本地缓存','3875480uvGRCy','连接失败,请检查你的网络','点击重新连接','1090001KHSahg','24350949QxoVPX','已离线,编辑将在本地缓存','连接失败,将在一会儿之后重试连接','已同步','748376UvCFwZ','1640088wrvfCE','正在拉取服务端数据...'];_0x1a8f=function(){return _0x2910c1;};return _0x1a8f();}const _0x46b2db=_0x1fb6;(function(_0x3f6615,_0x8655d){const _0x279077=_0x1fb6,_0x2aa43f=_0x3f6615();while(!![]){try{const _0x532ad=-parseInt(_0x279077(0xb1))/0x1+parseInt(_0x279077(0x9f))/0x2+-parseInt(_0x279077(0xa6))/0x3+parseInt(_0x279077(0xae))/0x4+-parseInt(_0x279077(0xac))/0x5+-parseInt(_0x279077(0xa0))/0x6+parseInt(_0x279077(0x9b))/0x7;if(_0x532ad===_0x8655d)break;else _0x2aa43f['push'](_0x2aa43f['shift']());}catch(_0x52a63c){_0x2aa43f['push'](_0x2aa43f['shift']());}}}(_0x1a8f,0xe00fc));const o={'collab-client':{'tooltip':{'reconnect':_0x46b2db(0xb0)}},'collabStatus':{'fetchMiss':_0x46b2db(0xa1),'conflict':_0x46b2db(0xa4),'notCollab':'本地文件','synced':_0x46b2db(0x9e),'syncing':_0x46b2db(0xab),'offline':_0x46b2db(0x9c)},'session':{'connection-failed':_0x46b2db(0xaf),'will-retry':_0x46b2db(0x9d),'room-full':_0x46b2db(0xa3),'join-failed':'加入协同失败,请稍后重试,你的编辑将在本地缓存','room-not-exists':'加入协同失败,你的编辑将在本地缓存','room-permission-denied':'没有协同权限,你的编辑将在本地缓存','room-cnt-exceeds':'协同文档数量超过限制,你的编辑将在本地缓存','collaboration-timeout':_0x46b2db(0xad)},'conflict':{'title':_0x46b2db(0xa2),'content':_0x46b2db(0xaa)},'permission':{'title':_0x46b2db(0xa7),'content':'你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'collaboration':{'single-unit':{'warning':_0x46b2db(0xa5)},'closeRoom':_0x46b2db(0xa9)},'auth':{'needGotoLoginAlert':_0x46b2db(0xa8)}};function _0x1fb6(_0x401cf9,_0x20ee2c){const _0x1a8f3b=_0x1a8f();return _0x1fb6=function(_0x1fb651,_0x35ff0a){_0x1fb651=_0x1fb651-0x9b;let _0xe5f049=_0x1a8f3b[_0x1fb651];return _0xe5f049;},_0x1fb6(_0x401cf9,_0x20ee2c);}export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x21f431=_0x37bf;function _0x37bf(_0x2be443,_0x346e0b){const _0x437956=_0x4379();return _0x37bf=function(_0x37bfc5,_0x5a20d6){_0x37bfc5=_0x37bfc5-0xbc;let _0x3c15d=_0x437956[_0x37bfc5];return _0x3c15d;},_0x37bf(_0x2be443,_0x346e0b);}(function(_0x309e06,_0x13c306){const _0x2a36d0=_0x37bf,_0x28c951=_0x309e06();while(!![]){try{const _0x2fa0e0=-parseInt(_0x2a36d0(0xc5))/0x1+parseInt(_0x2a36d0(0xcd))/0x2*(parseInt(_0x2a36d0(0xd2))/0x3)+parseInt(_0x2a36d0(0xc6))/0x4+-parseInt(_0x2a36d0(0xd8))/0x5*(parseInt(_0x2a36d0(0xc3))/0x6)+-parseInt(_0x2a36d0(0xc9))/0x7*(-parseInt(_0x2a36d0(0xbc))/0x8)+-parseInt(_0x2a36d0(0xd1))/0x9+parseInt(_0x2a36d0(0xca))/0xa*(parseInt(_0x2a36d0(0xbd))/0xb);if(_0x2fa0e0===_0x13c306)break;else _0x28c951['push'](_0x28c951['shift']());}catch(_0x1f912a){_0x28c951['push'](_0x28c951['shift']());}}}(_0x4379,0x4c9f5));const e={'collab-client':{'tooltip':{'reconnect':_0x21f431(0xd7)}},'collabStatus':{'fetchMiss':_0x21f431(0xc1),'conflict':'Edit\x20conflicts','notCollab':_0x21f431(0xcb),'synced':_0x21f431(0xc7),'syncing':_0x21f431(0xcf),'offline':_0x21f431(0xd6)},'session':{'connection-failed':_0x21f431(0xc4),'will-retry':_0x21f431(0xc8),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x21f431(0xcc),'room-not-exists':_0x21f431(0xd3),'room-permission-denied':_0x21f431(0xce),'room-cnt-exceeds':_0x21f431(0xc0),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x21f431(0xd0),'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':_0x21f431(0xd5),'content':_0x21f431(0xd4)},'collaboration':{'single-unit':{'warning':_0x21f431(0xbe)},'closeRoom':_0x21f431(0xbf)},'auth':{'needGotoLoginAlert':_0x21f431(0xc2)}},o=e;function _0x4379(){const _0x562d70=['Collaboration\x20Conflict','5023935BRLtCa','57RimQzr','Failed\x20to\x20join\x20collaboration.\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.','Authentication\x20Error','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Click\x20to\x20Reconnect','147445SrjAuj','8mgtLor','1583725OhXbbk','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','126evqiuh','Connection\x20failed.\x20Please\x20check\x20your\x20network.','142844IVprbt','609836avKDNZ','Synced','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','2037315eGkvyr','60DDyCoI','Local\x20file','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','34402wLKuuV','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...'];_0x4379=function(){return _0x562d70;};return _0x4379();}export{o as default};
|
@@ -12,6 +12,10 @@ export declare class FCollaboration extends FBase {
|
|
12
12
|
constructor(_handler: {
|
13
13
|
getUniverSheet: (id: string) => FWorkbook | null;
|
14
14
|
}, _injector: Injector, _univerInstanceService: IUniverInstanceService, _snapshotService: SnapshotService, _collaborationController: CollaborationController);
|
15
|
+
/**
|
16
|
+
* @deprecated Use `loadActiveSheetAsync` instead.
|
17
|
+
*/
|
18
|
+
loadActiveSheet(): Promise<FWorkbook | null>;
|
15
19
|
/**
|
16
20
|
* Load the active Univer Sheet. It should be associated with the Uniscript Node.js Runtime.
|
17
21
|
*
|
@@ -25,6 +29,10 @@ export declare class FCollaboration extends FBase {
|
|
25
29
|
*
|
26
30
|
*/
|
27
31
|
loadActiveSheetAsync(): Promise<FWorkbook | null>;
|
32
|
+
/**
|
33
|
+
* @deprecated Use `loadSheetAsync` instead.
|
34
|
+
*/
|
35
|
+
loadSheet(unitId: string): Promise<FWorkbook | null>;
|
28
36
|
/**
|
29
37
|
* Load a Univer Sheet from the server with a unit ID.
|
30
38
|
* @param {string} unitId ID of the Univer Sheet that you would like to load.
|
package/lib/umd/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(function(
|
1
|
+
function _0x2227(_0x1ff391,_0x3f8f00){var _0x37078b=_0x3707();return _0x2227=function(_0x2227a1,_0x3c15a2){_0x2227a1=_0x2227a1-0xbd;var _0x345d8b=_0x37078b[_0x2227a1];return _0x345d8b;},_0x2227(_0x1ff391,_0x3f8f00);}function _0x3707(){var _0x3a01c2=['28hOLfUL','UNIVER_SHEET','values','53903akSayL','FCollaboration','getCollaboration','IUniverInstanceService','length','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','defineProperty','4205508eHheEx','9459bGdKxe','126726kEybEo','rxjs','_handler','loadActiveSheet','object','Inject','UniverInstanceType','896YsVHdw','members$','subscribeCollaborators','SnapshotService','@univerjs/core','@univerjs-pro/collaboration','_collaborationController','getUnit','toDisposable','_injector','waitForRoom$','subscribe','amd','17468TItXDS','_univerInstanceService','_snapshotService','2MeKyYl','get','1810OYkbIK','from','FUniver','loadActiveSheetAsync','loadSheet','switchMap','CollaborationController','exports','createInstance','4XoGHth','1403335xYLnWA','UniverProCollaborationClient','@univerjs-pro/collaboration-client','13MSgsOb','UniverProCollaboration','495078NajkQK','UniverCore'];_0x3707=function(){return _0x3a01c2;};return _0x3707();}(function(_0x40d972,_0x3d86f9){var _0x1c0492=_0x2227,_0x307543=_0x40d972();while(!![]){try{var _0x43325d=-parseInt(_0x1c0492(0xc5))/0x1*(parseInt(_0x1c0492(0xe5))/0x2)+-parseInt(_0x1c0492(0xc0))/0x3+-parseInt(_0x1c0492(0xf0))/0x4*(parseInt(_0x1c0492(0xf1))/0x5)+parseInt(_0x1c0492(0xce))/0x6*(-parseInt(_0x1c0492(0xc2))/0x7)+-parseInt(_0x1c0492(0xd5))/0x8*(-parseInt(_0x1c0492(0xcd))/0x9)+-parseInt(_0x1c0492(0xe7))/0xa*(-parseInt(_0x1c0492(0xe2))/0xb)+-parseInt(_0x1c0492(0xcc))/0xc*(-parseInt(_0x1c0492(0xbe))/0xd);if(_0x43325d===_0x3d86f9)break;else _0x307543['push'](_0x307543['shift']());}catch(_0x476c65){_0x307543['push'](_0x307543['shift']());}}}(_0x3707,0x29dff),function(_0x252890,_0x30f6e0){var _0x328f47=_0x2227;typeof exports==_0x328f47(0xd2)&&typeof module<'u'?_0x30f6e0(exports,require(_0x328f47(0xd9)),require(_0x328f47(0xda)),require(_0x328f47(0xbd)),require(_0x328f47(0xcf))):typeof define=='function'&&define[_0x328f47(0xe1)]?define([_0x328f47(0xee),_0x328f47(0xd9),_0x328f47(0xda),_0x328f47(0xbd),_0x328f47(0xcf)],_0x30f6e0):(_0x252890=typeof globalThis<'u'?globalThis:_0x252890||self,_0x30f6e0(_0x252890['UniverProCollaborationClientFacade']={},_0x252890[_0x328f47(0xc1)],_0x252890[_0x328f47(0xbf)],_0x252890[_0x328f47(0xf2)],_0x252890['rxjs']));}(this,function(_0x3e9aca,_0x5902f4,_0x389905,_0x1b3e28,_0x259a2e){'use strict';var _0x5987f1=_0x2227;var _0x44aed8=Object['defineProperty'],_0x4799b6=Object['getOwnPropertyDescriptor'],_0x450387=(_0x3107b2,_0x1b5378,_0x3b742e,_0x2e6414)=>{var _0x570881=_0x2227;for(var _0x105d7b=_0x2e6414>0x1?void 0x0:_0x2e6414?_0x4799b6(_0x1b5378,_0x3b742e):_0x1b5378,_0x500ddb=_0x3107b2[_0x570881(0xc9)]-0x1,_0x211b27;_0x500ddb>=0x0;_0x500ddb--)(_0x211b27=_0x3107b2[_0x500ddb])&&(_0x105d7b=(_0x2e6414?_0x211b27(_0x1b5378,_0x3b742e,_0x105d7b):_0x211b27(_0x105d7b))||_0x105d7b);return _0x2e6414&&_0x105d7b&&_0x44aed8(_0x1b5378,_0x3b742e,_0x105d7b),_0x105d7b;},_0x1309ee=(_0x124f5d,_0x2431bc)=>(_0x28cf15,_0x33b6e1)=>_0x2431bc(_0x28cf15,_0x33b6e1,_0x124f5d);_0x3e9aca[_0x5987f1(0xc6)]=class extends _0x5902f4['FBase']{constructor(_0xf9f8b4,_0x29dbc3,_0x5c46c6,_0x20642a,_0x39a52b){var _0x2b0436=_0x5987f1;super(),this[_0x2b0436(0xd0)]=_0xf9f8b4,this['_injector']=_0x29dbc3,this['_univerInstanceService']=_0x5c46c6,this[_0x2b0436(0xe4)]=_0x20642a,this[_0x2b0436(0xdb)]=_0x39a52b;}async[_0x5987f1(0xd1)](){return this['loadActiveSheetAsync']();}async[_0x5987f1(0xea)](){var _0x22da47=_0x5987f1;throw new Error(_0x22da47(0xca));}async[_0x5987f1(0xeb)](_0x574f99){return this['loadSheetAsync'](_0x574f99);}async['loadSheetAsync'](_0x50364e){var _0x1a0a41=_0x5987f1;return this[_0x1a0a41(0xe3)][_0x1a0a41(0xdc)](_0x50364e,_0x5902f4[_0x1a0a41(0xd4)][_0x1a0a41(0xc3)])||await this[_0x1a0a41(0xe4)]['loadSheet'](_0x50364e,0x0)?(await this[_0x1a0a41(0xdb)]['readyForCollab'](_0x50364e),this[_0x1a0a41(0xd0)]['getUniverSheet'](_0x50364e)):null;}[_0x5987f1(0xd7)](_0x766d34,_0x24ef06){var _0x169852=_0x5987f1;const _0x12c044=this['_injector'][_0x169852(0xe6)](_0x1b3e28['MemberService'])[_0x169852(0xdf)](_0x766d34)['pipe'](_0x259a2e[_0x169852(0xec)](_0x17c986=>_0x17c986[_0x169852(0xd6)]))[_0x169852(0xe0)](_0x5412c7=>_0x24ef06(Array[_0x169852(0xe8)](_0x5412c7[_0x169852(0xc4)]())));return _0x5902f4[_0x169852(0xdd)](_0x12c044);}},_0x3e9aca[_0x5987f1(0xc6)]=_0x450387([_0x1309ee(0x1,_0x5902f4['Inject'](_0x5902f4['Injector'])),_0x1309ee(0x2,_0x5902f4[_0x5987f1(0xc8)]),_0x1309ee(0x3,_0x5902f4[_0x5987f1(0xd3)](_0x389905[_0x5987f1(0xd8)])),_0x1309ee(0x4,_0x5902f4['Inject'](_0x1b3e28[_0x5987f1(0xed)]))],_0x3e9aca[_0x5987f1(0xc6)]);class _0x12c20b extends _0x5902f4[_0x5987f1(0xe9)]{[_0x5987f1(0xc7)](){var _0x147b54=_0x5987f1;return this[_0x147b54(0xde)][_0x147b54(0xef)](_0x3e9aca[_0x147b54(0xc6)],{'getUniverSheet':_0x51bb64=>this['getUniverSheet'](_0x51bb64)});}}_0x5902f4[_0x5987f1(0xe9)]['extend'](_0x12c20b),Object[_0x5987f1(0xcb)](_0x3e9aca,Symbol['toStringTag'],{'value':'Module'});}));
|