@univerjs-pro/collaboration-client 0.6.0-nightly.202502171606 → 0.6.0-nightly.202502191606
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/services/collaboration-session/collaboration-session.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 +9 -9
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x5129(){const _0x2b71eb=['Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Synced','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','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.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','5503490ztithm','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.','Authentication\x20Error','3561616NuAyOO','2601015wZwnJE','Local\x20file','Click\x20to\x20Reconnect','30145wopjUF','166aCQpzx','92scmLlO','18AzvJNx','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.','5993141zpyzUy','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','3394908avotJf','6802Orzrih','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.'];_0x5129=function(){return _0x2b71eb;};return _0x5129();}const _0x4f6a20=_0xf493;function _0xf493(_0xe47241,_0x465296){const _0x512971=_0x5129();return _0xf493=function(_0xf49375,_0x35662a){_0xf49375=_0xf49375-0xb9;let _0x235410=_0x512971[_0xf49375];return _0x235410;},_0xf493(_0xe47241,_0x465296);}(function(_0x14dfcf,_0x406ea0){const _0x4b8233=_0xf493,_0x4f2036=_0x14dfcf();while(!![]){try{const _0x220b99=parseInt(_0x4b8233(0xce))/0x1*(-parseInt(_0x4b8233(0xc7))/0x2)+parseInt(_0x4b8233(0xc3))/0x3+-parseInt(_0x4b8233(0xc8))/0x4*(parseInt(_0x4b8233(0xc6))/0x5)+parseInt(_0x4b8233(0xcd))/0x6+-parseInt(_0x4b8233(0xcb))/0x7+-parseInt(_0x4b8233(0xc2))/0x8+parseInt(_0x4b8233(0xc9))/0x9*(parseInt(_0x4b8233(0xbe))/0xa);if(_0x220b99===_0x406ea0)break;else _0x4f2036['push'](_0x4f2036['shift']());}catch(_0x1d6063){_0x4f2036['push'](_0x4f2036['shift']());}}}(_0x5129,0x8121b));const e={'collab-client':{'tooltip':{'reconnect':_0x4f6a20(0xc5)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':_0x4f6a20(0xc4),'synced':_0x4f6a20(0xb9),'syncing':_0x4f6a20(0xbb),'offline':_0x4f6a20(0xd0)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x4f6a20(0xcf),'room-full':_0x4f6a20(0xbf),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x4f6a20(0xbd),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x4f6a20(0xcc)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x4f6a20(0xca)},'permission':{'title':_0x4f6a20(0xc1),'content':_0x4f6a20(0xbc)},'collaboration':{'single-unit':{'warning':_0x4f6a20(0xba)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x4f6a20(0xc0)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x2f53a2=_0x4ccc;function _0x4ccc(_0x2d9f5a,_0x58c589){const _0x28f4b1=_0x28f4();return _0x4ccc=function(_0x4ccc6e,_0x4d3c7f){_0x4ccc6e=_0x4ccc6e-0x19d;let _0x312049=_0x28f4b1[_0x4ccc6e];return _0x312049;},_0x4ccc(_0x2d9f5a,_0x58c589);}function _0x28f4(){const _0x5a7699=['5420968MPHBRi','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','34398XnWdCe','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','7487360BZmQfO','خطای\x20اعتبارسنجی','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','192wZTYWP','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','همگام\x20سازی','2310364tNZmXv','5glUyKw','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','پرونده\x20محلی','2sDyzkp','یک\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صورت\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شد.','802300JvvWsa','865461FCeQTT','105471vgWfxw','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','تداخل\x20همکاری'];_0x28f4=function(){return _0x5a7699;};return _0x28f4();}(function(_0x1f09d3,_0x22d825){const _0x7ebcd=_0x4ccc,_0x41ec55=_0x1f09d3();while(!![]){try{const _0x2cbc0e=parseInt(_0x7ebcd(0x19e))/0x1+-parseInt(_0x7ebcd(0x1b1))/0x2*(-parseInt(_0x7ebcd(0x19f))/0x3)+parseInt(_0x7ebcd(0x1ad))/0x4*(parseInt(_0x7ebcd(0x1ae))/0x5)+-parseInt(_0x7ebcd(0x1a5))/0x6+-parseInt(_0x7ebcd(0x1a3))/0x7+parseInt(_0x7ebcd(0x1aa))/0x8*(parseInt(_0x7ebcd(0x1a0))/0x9)+-parseInt(_0x7ebcd(0x1a7))/0xa;if(_0x2cbc0e===_0x22d825)break;else _0x41ec55['push'](_0x41ec55['shift']());}catch(_0x5846a9){_0x41ec55['push'](_0x41ec55['shift']());}}}(_0x28f4,0x66b85));const o={'collab-client':{'tooltip':{'reconnect':_0x2f53a2(0x1af)}},'collabStatus':{'fetchMiss':_0x2f53a2(0x1a1),'conflict':'تداخل\x20ویرایش','notCollab':_0x2f53a2(0x1b0),'synced':_0x2f53a2(0x1ac),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x2f53a2(0x1ab),'room-full':_0x2f53a2(0x1a9),'join-failed':_0x2f53a2(0x1b5),'room-not-exists':_0x2f53a2(0x1a6),'room-permission-denied':_0x2f53a2(0x1b6),'room-cnt-exceeds':_0x2f53a2(0x1a4),'collaboration-timeout':_0x2f53a2(0x19d)},'conflict':{'title':_0x2f53a2(0x1a2),'content':_0x2f53a2(0x1b2)},'permission':{'title':_0x2f53a2(0x1a8),'content':'اعمال\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رفت.'},'collaboration':{'single-unit':{'warning':_0x2f53a2(0x1b3)},'closeRoom':_0x2f53a2(0x1b4)},'auth':{'needGotoLoginAlert':'ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x44ae(){const _0x415f25=['Edit\x20conflicts','Synced','15FUuXhB','Local\x20file','544842tvztQF','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','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Syncing\x20server\x20data...','1779845gXHnQp','175KIrFdR','385640aMJHfo','11176GTuBKR','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.','Authentication\x20Error','Collaboration\x20Conflict','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','358978Smzimf','4732458gVkvgV','190idLuSC','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','975448GUaldH','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'];_0x44ae=function(){return _0x415f25;};return _0x44ae();}function _0x1423(_0x16ca9d,_0x2d0a3b){const _0x44aead=_0x44ae();return _0x1423=function(_0x142370,_0x48a1a6){_0x142370=_0x142370-0x150;let _0x4a7f5b=_0x44aead[_0x142370];return _0x4a7f5b;},_0x1423(_0x16ca9d,_0x2d0a3b);}const _0x21a9c1=_0x1423;(function(_0x5062fe,_0x156777){const _0x57a020=_0x1423,_0x9d475e=_0x5062fe();while(!![]){try{const _0x470e62=-parseInt(_0x57a020(0x158))/0x1+-parseInt(_0x57a020(0x154))/0x2*(-parseInt(_0x57a020(0x15e))/0x3)+-parseInt(_0x57a020(0x169))/0x4+parseInt(_0x57a020(0x167))/0x5+-parseInt(_0x57a020(0x155))/0x6+-parseInt(_0x57a020(0x168))/0x7*(-parseInt(_0x57a020(0x16a))/0x8)+-parseInt(_0x57a020(0x160))/0x9*(-parseInt(_0x57a020(0x156))/0xa);if(_0x470e62===_0x156777)break;else _0x9d475e['push'](_0x9d475e['shift']());}catch(_0x56ae52){_0x9d475e['push'](_0x9d475e['shift']());}}}(_0x44ae,0x8d1a8));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x21a9c1(0x166),'conflict':_0x21a9c1(0x15c),'notCollab':_0x21a9c1(0x15f),'synced':_0x21a9c1(0x15d),'syncing':_0x21a9c1(0x151),'offline':_0x21a9c1(0x162)},'session':{'connection-failed':_0x21a9c1(0x165),'will-retry':_0x21a9c1(0x152),'room-full':_0x21a9c1(0x164),'join-failed':_0x21a9c1(0x150),'room-not-exists':_0x21a9c1(0x163),'room-permission-denied':_0x21a9c1(0x16b),'room-cnt-exceeds':_0x21a9c1(0x15a),'collaboration-timeout':_0x21a9c1(0x153)},'conflict':{'title':_0x21a9c1(0x16e),'content':_0x21a9c1(0x161)},'permission':{'title':_0x21a9c1(0x16d),'content':_0x21a9c1(0x16c)},'collaboration':{'single-unit':{'warning':_0x21a9c1(0x159)},'closeRoom':_0x21a9c1(0x15b)},'auth':{'needGotoLoginAlert':_0x21a9c1(0x157)}},o=e;export{o as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x39662c=_0x9336;(function(_0xdb9ce6,_0x50770a){const _0x4ecb61=_0x9336,_0x581637=_0xdb9ce6();while(!![]){try{const _0x5da462=parseInt(_0x4ecb61(0x96))/0x1*(-parseInt(_0x4ecb61(0x9f))/0x2)+-parseInt(_0x4ecb61(0x88))/0x3*(-parseInt(_0x4ecb61(0x8f))/0x4)+parseInt(_0x4ecb61(0x92))/0x5*(parseInt(_0x4ecb61(0x94))/0x6)+-parseInt(_0x4ecb61(0x9e))/0x7*(parseInt(_0x4ecb61(0x95))/0x8)+parseInt(_0x4ecb61(0x89))/0x9*(parseInt(_0x4ecb61(0x8c))/0xa)+-parseInt(_0x4ecb61(0x8e))/0xb+parseInt(_0x4ecb61(0x99))/0xc*(parseInt(_0x4ecb61(0x93))/0xd);if(_0x5da462===_0x50770a)break;else _0x581637['push'](_0x581637['shift']());}catch(_0x2466a0){_0x581637['push'](_0x581637['shift']());}}}(_0x2c7b,0x6f48e));const e={'collab-client':{'tooltip':{'reconnect':_0x39662c(0x9b)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x39662c(0xa0),'notCollab':'Local\x20file','synced':'Synced','syncing':'Syncing...','offline':_0x39662c(0x8a)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x39662c(0x9d),'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':_0x39662c(0xa1),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x39662c(0x8b),'collaboration-timeout':_0x39662c(0x8d)},'conflict':{'title':_0x39662c(0x98),'content':_0x39662c(0x90)},'permission':{'title':_0x39662c(0x97),'content':_0x39662c(0x91)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x39662c(0x9a)},'auth':{'needGotoLoginAlert':_0x39662c(0x9c)}},o=e;function _0x9336(_0x5187d7,_0x43b3ab){const _0x2c7bc5=_0x2c7b();return _0x9336=function(_0x93368e,_0x2b3fb1){_0x93368e=_0x93368e-0x88;let _0x4de846=_0x2c7bc5[_0x93368e];return _0x4de846;},_0x9336(_0x5187d7,_0x43b3ab);}function _0x2c7b(){const _0x5416b7=['27410JSfLPM','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','3276691zaeUye','274888vuBASa','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.','10puDMYa','13nqLBkC','11238rRPopL','1528DYUsId','1pwtyDC','Authentication\x20Error','Collaboration\x20Conflict','12142044SQgBNn','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Click\x20to\x20Reconnect','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','6300wRznUU','1572782iWBRdN','Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3vXFqkM','2061WKstvD','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x2c7b=function(){return _0x5416b7;};return _0x2c7b();}export{o as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x2b3e(_0x32c5d3,_0x55b450){const _0x1d4699=_0x1d46();return _0x2b3e=function(_0x2b3e2c,_0xd21e25){_0x2b3e2c=_0x2b3e2c-0x8a;let _0x5b18ae=_0x1d4699[_0x2b3e2c];return _0x5b18ae;},_0x2b3e(_0x32c5d3,_0x55b450);}function _0x1d46(){const _0x34a9ab=['Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','3439662VshJhL','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','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.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','45FpWzoQ','1396887dUjuAy','7MaDDvi','1784024MyauhD','Local\x20file','12cWrggY','6822sJWWYT','Connection\x20failed.\x20Please\x20check\x20your\x20network.','323932HSZFiT','Collaboration\x20Conflict','2080vMujfS','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing...','Synced','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3728iWcfcj','Authentication\x20Error','Click\x20to\x20Reconnect','243bzprWE','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2758877xHSsav','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','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.','Syncing\x20server\x20data...'];_0x1d46=function(){return _0x34a9ab;};return _0x1d46();}const _0x3bedb3=_0x2b3e;(function(_0x1ea4cd,_0x131234){const _0x4cf2c1=_0x2b3e,_0x1308f8=_0x1ea4cd();while(!![]){try{const _0xcf8f62=parseInt(_0x4cf2c1(0x94))/0x1*(parseInt(_0x4cf2c1(0x91))/0x2)+parseInt(_0x4cf2c1(0xa1))/0x3+parseInt(_0x4cf2c1(0x8a))/0x4*(-parseInt(_0x4cf2c1(0xa0))/0x5)+-parseInt(_0x4cf2c1(0x9c))/0x6*(-parseInt(_0x4cf2c1(0xa2))/0x7)+-parseInt(_0x4cf2c1(0xa3))/0x8+-parseInt(_0x4cf2c1(0xa6))/0x9*(-parseInt(_0x4cf2c1(0x8c))/0xa)+-parseInt(_0x4cf2c1(0x96))/0xb*(parseInt(_0x4cf2c1(0xa5))/0xc);if(_0xcf8f62===_0x131234)break;else _0x1308f8['push'](_0x1308f8['shift']());}catch(_0x1aa64b){_0x1308f8['push'](_0x1308f8['shift']());}}}(_0x1d46,0x6d191));const e={'collab-client':{'tooltip':{'reconnect':_0x3bedb3(0x93)}},'collabStatus':{'fetchMiss':_0x3bedb3(0x9a),'conflict':'Edit\x20conflicts','notCollab':_0x3bedb3(0xa4),'synced':_0x3bedb3(0x8f),'syncing':_0x3bedb3(0x8e),'offline':_0x3bedb3(0x8d)},'session':{'connection-failed':_0x3bedb3(0xa7),'will-retry':_0x3bedb3(0x9d),'room-full':_0x3bedb3(0x90),'join-failed':_0x3bedb3(0x95),'room-not-exists':_0x3bedb3(0x99),'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':_0x3bedb3(0x98)},'conflict':{'title':_0x3bedb3(0x8b),'content':_0x3bedb3(0x9e)},'permission':{'title':_0x3bedb3(0x92),'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':_0x3bedb3(0x9f)},'closeRoom':_0x3bedb3(0x97)},'auth':{'needGotoLoginAlert':_0x3bedb3(0x9b)}},o=e;export{o as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0xf254(){const _0x2d301c=['你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','权限错误','1931058sseuSl','15RdVSuI','此文档协同人数已满,你的编辑将在本地缓存','10598742puJAqk','保存中...','已同步','点击重新连接','2651243mjoLEg','99993vvnATR','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','协同冲突','4uUsdzH','由于协同房间被关闭,编辑权限被收回。','正在拉取服务端数据...','747193HVAhal','已离线,编辑将在本地缓存','本地文件','连接失败,请检查你的网络','8363008jPMcuu','1586792SNnwRa','没有协同权限,你的编辑将在本地缓存'];_0xf254=function(){return _0x2d301c;};return _0xf254();}const _0x1db4df=_0x52fa;(function(_0x5ed92f,_0x383e33){const _0x52886d=_0x52fa,_0x12c01b=_0x5ed92f();while(!![]){try{const _0x3689e0=parseInt(_0x52886d(0x16f))/0x1+-parseInt(_0x52886d(0x16c))/0x2*(parseInt(_0x52886d(0x169))/0x3)+parseInt(_0x52886d(0x174))/0x4+parseInt(_0x52886d(0x179))/0x5*(-parseInt(_0x52886d(0x178))/0x6)+parseInt(_0x52886d(0x168))/0x7+-parseInt(_0x52886d(0x173))/0x8+parseInt(_0x52886d(0x17b))/0x9;if(_0x3689e0===_0x383e33)break;else _0x12c01b['push'](_0x12c01b['shift']());}catch(_0x3acf8e){_0x12c01b['push'](_0x12c01b['shift']());}}}(_0xf254,0x98077));function _0x52fa(_0x27d53b,_0x37daa4){const _0xf25452=_0xf254();return _0x52fa=function(_0x52fa7d,_0x446ff2){_0x52fa7d=_0x52fa7d-0x168;let _0x59e4c1=_0xf25452[_0x52fa7d];return _0x59e4c1;},_0x52fa(_0x27d53b,_0x37daa4);}const o={'collab-client':{'tooltip':{'reconnect':_0x1db4df(0x17e)}},'collabStatus':{'fetchMiss':_0x1db4df(0x16e),'conflict':'编辑冲突','notCollab':_0x1db4df(0x171),'synced':_0x1db4df(0x17d),'syncing':_0x1db4df(0x17c),'offline':_0x1db4df(0x170)},'session':{'connection-failed':_0x1db4df(0x172),'will-retry':'连接失败,将在一会儿之后重试连接','room-full':_0x1db4df(0x17a),'join-failed':'加入协同失败,请稍后重试,你的编辑将在本地缓存','room-not-exists':'加入协同失败,你的编辑将在本地缓存','room-permission-denied':_0x1db4df(0x175),'room-cnt-exceeds':'协同文档数量超过限制,你的编辑将在本地缓存','collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':_0x1db4df(0x16b),'content':'你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'permission':{'title':_0x1db4df(0x177),'content':'你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'collaboration':{'single-unit':{'warning':_0x1db4df(0x16a)},'closeRoom':_0x1db4df(0x16d)},'auth':{'needGotoLoginAlert':_0x1db4df(0x176)}};export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x300d(){const _0x33e658=['2605CiLZuB','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','150747JmSXDQ','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','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.','24tUyISu','840jaYduC','49203NAAtib','452078ecryby','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Authentication\x20Error','7448661AdBMDr','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','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.','Click\x20to\x20Reconnect','Collaboration\x20Conflict','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2444BwbQJI','112sewLTC','74912yYpYQC','Synced','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Syncing...','2195544eHSKuL'];_0x300d=function(){return _0x33e658;};return _0x300d();}const _0x24cd07=_0x1631;function _0x1631(_0x30b55a,_0x38bdc4){const _0x300d05=_0x300d();return _0x1631=function(_0x16312c,_0x261a43){_0x16312c=_0x16312c-0x1bf;let _0x28f427=_0x300d05[_0x16312c];return _0x28f427;},_0x1631(_0x30b55a,_0x38bdc4);}(function(_0x3a979a,_0x570a2a){const _0x2d0777=_0x1631,_0x5b7bb8=_0x3a979a();while(!![]){try{const _0x4369d6=parseInt(_0x2d0777(0x1ca))/0x1+parseInt(_0x2d0777(0x1c7))/0x2*(parseInt(_0x2d0777(0x1c3))/0x3)+parseInt(_0x2d0777(0x1d5))/0x4*(-parseInt(_0x2d0777(0x1c1))/0x5)+-parseInt(_0x2d0777(0x1c0))/0x6+-parseInt(_0x2d0777(0x1d6))/0x7*(-parseInt(_0x2d0777(0x1d7))/0x8)+-parseInt(_0x2d0777(0x1c9))/0x9*(-parseInt(_0x2d0777(0x1c8))/0xa)+-parseInt(_0x2d0777(0x1cd))/0xb;if(_0x4369d6===_0x570a2a)break;else _0x5b7bb8['push'](_0x5b7bb8['shift']());}catch(_0x34f24a){_0x5b7bb8['push'](_0x5b7bb8['shift']());}}}(_0x300d,0x49e78));const e={'collab-client':{'tooltip':{'reconnect':_0x24cd07(0x1d2)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x24cd07(0x1d8),'syncing':_0x24cd07(0x1bf),'offline':_0x24cd07(0x1c5)},'session':{'connection-failed':_0x24cd07(0x1d9),'will-retry':_0x24cd07(0x1ce),'room-full':_0x24cd07(0x1cf),'join-failed':_0x24cd07(0x1d1),'room-not-exists':_0x24cd07(0x1d4),'room-permission-denied':_0x24cd07(0x1c4),'room-cnt-exceeds':_0x24cd07(0x1c2),'collaboration-timeout':_0x24cd07(0x1cb)},'conflict':{'title':_0x24cd07(0x1d3),'content':_0x24cd07(0x1c6)},'permission':{'title':_0x24cd07(0x1cc),'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':_0x24cd07(0x1d0)},'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};
|
@@ -38,6 +38,7 @@ export declare class CollaborationSessionService extends Disposable {
|
|
38
38
|
requireSession(unitID: string): Promise<CollaborationSession>;
|
39
39
|
closeSession(unitID: string): void;
|
40
40
|
reconnect(): void;
|
41
|
+
private _clearRetryConnectingTimer;
|
41
42
|
/**
|
42
43
|
* Authentication flow for WebSocket connections:
|
43
44
|
* 1. Get one-time session ticket via HTTP request
|
package/lib/umd/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x44a7(_0x7926bd,_0x28cf18){var _0x3a0205=_0x3a02();return _0x44a7=function(_0x44a727,_0x383757){_0x44a727=_0x44a727-0x76;var _0x250142=_0x3a0205[_0x44a727];return _0x250142;},_0x44a7(_0x7926bd,_0x28cf18);}function _0x3a02(){var _0x1b826f=['readyForCollab','from','642ZokgMX','@univerjs-pro/collaboration','Inject','UniverProCollaborationClientFacade','subscribe','_collaborationController','2033648jFnrOX','waitForRoom$','members$','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','IUniverInstanceService','loadActiveSheetAsync','_handler','1580211OimDfP','getOwnPropertyDescriptor','@univerjs/core','exports','2WRnDLc','switchMap','getUniverSheet','length','_injector','Injector','@univerjs/core/facade','3719410TBgBmK','UniverCoreFacade','getCollaboration','createInstance','Module','defineProperty','9UfRlej','UniverProCollaborationClient','FUniver','_snapshotService','rxjs','1987540pjXZwU','subscribeCollaborators','MemberService','48531RdnuiX','object','FBase','371907ggyxvO','loadSheet','toDisposable','@univerjs-pro/collaboration-client','10261270stfuKg','FCollaboration','loadSheetAsync','toStringTag','UniverProCollaboration'];_0x3a02=function(){return _0x1b826f;};return _0x3a02();}(function(_0x1d6f5f,_0x49c2e7){var _0x5308ab=_0x44a7,_0x10ae2f=_0x1d6f5f();while(!![]){try{var _0x3020c5=-parseInt(_0x5308ab(0x8f))/0x1+parseInt(_0x5308ab(0x77))/0x2*(-parseInt(_0x5308ab(0xa7))/0x3)+parseInt(_0x5308ab(0x89))/0x4+parseInt(_0x5308ab(0x7e))/0x5+parseInt(_0x5308ab(0x9a))/0x6*(-parseInt(_0x5308ab(0x8c))/0x7)+-parseInt(_0x5308ab(0xa0))/0x8*(parseInt(_0x5308ab(0x84))/0x9)+parseInt(_0x5308ab(0x93))/0xa;if(_0x3020c5===_0x49c2e7)break;else _0x10ae2f['push'](_0x10ae2f['shift']());}catch(_0x1fdb39){_0x10ae2f['push'](_0x10ae2f['shift']());}}}(_0x3a02,0x5adf5),function(_0x3ff6c0,_0x4a4c9e){var _0x1bab63=_0x44a7;typeof exports==_0x1bab63(0x8d)&&typeof module<'u'?_0x4a4c9e(exports,require(_0x1bab63(0x7d)),require(_0x1bab63(0x9b)),require(_0x1bab63(0x92)),require(_0x1bab63(0xa9)),require(_0x1bab63(0x88))):typeof define=='function'&&define['amd']?define([_0x1bab63(0x76),_0x1bab63(0x7d),_0x1bab63(0x9b),'@univerjs-pro/collaboration-client',_0x1bab63(0xa9),_0x1bab63(0x88)],_0x4a4c9e):(_0x3ff6c0=typeof globalThis<'u'?globalThis:_0x3ff6c0||self,_0x4a4c9e(_0x3ff6c0[_0x1bab63(0x9d)]={},_0x3ff6c0[_0x1bab63(0x7f)],_0x3ff6c0[_0x1bab63(0x97)],_0x3ff6c0[_0x1bab63(0x85)],_0x3ff6c0['UniverCore'],_0x3ff6c0['rxjs']));}(this,function(_0x3d84d6,_0x5a6769,_0xbba62e,_0x12913f,_0x57c154,_0x7e5f3a){'use strict';var _0x56647d=_0x44a7;var _0x58b0e7=Object['defineProperty'],_0x39d49a=Object[_0x56647d(0xa8)],_0x78661c=(_0x3878fb,_0xa8c6c,_0x1182b9,_0xea33d8)=>{var _0x401f1d=_0x56647d;for(var _0x425039=_0xea33d8>0x1?void 0x0:_0xea33d8?_0x39d49a(_0xa8c6c,_0x1182b9):_0xa8c6c,_0x47be67=_0x3878fb[_0x401f1d(0x7a)]-0x1,_0x595271;_0x47be67>=0x0;_0x47be67--)(_0x595271=_0x3878fb[_0x47be67])&&(_0x425039=(_0xea33d8?_0x595271(_0xa8c6c,_0x1182b9,_0x425039):_0x595271(_0x425039))||_0x425039);return _0xea33d8&&_0x425039&&_0x58b0e7(_0xa8c6c,_0x1182b9,_0x425039),_0x425039;},_0x28f625=(_0x4ebfe6,_0x44b1fc)=>(_0x4b4a7e,_0xafc97a)=>_0x44b1fc(_0x4b4a7e,_0xafc97a,_0x4ebfe6);_0x3d84d6['FCollaboration']=class extends _0x5a6769[_0x56647d(0x8e)]{constructor(_0x3af3fb,_0x477ce4,_0xa0a6e0,_0x1bc38f,_0x2d0561){var _0x5f4555=_0x56647d;super(),this[_0x5f4555(0xa6)]=_0x3af3fb,this[_0x5f4555(0x7b)]=_0x477ce4,this['_univerInstanceService']=_0xa0a6e0,this[_0x5f4555(0x87)]=_0x1bc38f,this[_0x5f4555(0x9f)]=_0x2d0561;}async['loadActiveSheet'](){var _0x1c1700=_0x56647d;return this[_0x1c1700(0xa5)]();}async[_0x56647d(0xa5)](){var _0x31a585=_0x56647d;throw new Error(_0x31a585(0xa3));}async[_0x56647d(0x90)](_0x28edcb){var _0x2640fc=_0x56647d;return this[_0x2640fc(0x95)](_0x28edcb);}async['loadSheetAsync'](_0x254c6a,_0x1af365){var _0x3e5c15=_0x56647d;return await this[_0x3e5c15(0x87)][_0x3e5c15(0x90)](_0x254c6a,0x0,_0x1af365)?(await this[_0x3e5c15(0x9f)][_0x3e5c15(0x98)](_0x254c6a),this[_0x3e5c15(0xa6)][_0x3e5c15(0x79)](_0x254c6a)):null;}[_0x56647d(0x8a)](_0x136385,_0x3d343d){var _0x1ce961=_0x56647d;const _0xb2f4e5=this[_0x1ce961(0x7b)]['get'](_0x12913f[_0x1ce961(0x8b)])[_0x1ce961(0xa1)](_0x136385)['pipe'](_0x7e5f3a[_0x1ce961(0x78)](_0x1b48db=>_0x1b48db[_0x1ce961(0xa2)]))[_0x1ce961(0x9e)](_0x52da2c=>_0x3d343d(Array[_0x1ce961(0x99)](_0x52da2c['values']())));return _0x57c154[_0x1ce961(0x91)](_0xb2f4e5);}},_0x3d84d6['FCollaboration']=_0x78661c([_0x28f625(0x1,_0x57c154[_0x56647d(0x9c)](_0x57c154[_0x56647d(0x7c)])),_0x28f625(0x2,_0x57c154[_0x56647d(0xa4)]),_0x28f625(0x3,_0x57c154[_0x56647d(0x9c)](_0xbba62e['SnapshotService'])),_0x28f625(0x4,_0x57c154[_0x56647d(0x9c)](_0x12913f['CollaborationController']))],_0x3d84d6[_0x56647d(0x94)]);class _0x10bd4c extends _0x5a6769[_0x56647d(0x86)]{[_0x56647d(0x80)](){var _0x1b44ec=_0x56647d;return this['_injector'][_0x1b44ec(0x81)](_0x3d84d6[_0x1b44ec(0x94)],{'getUniverSheet':_0x2d2928=>this[_0x1b44ec(0x79)](_0x2d2928)});}}_0x5a6769[_0x56647d(0x86)]['extend'](_0x10bd4c),Object[_0x56647d(0x83)](_0x3d84d6,Symbol[_0x56647d(0x96)],{'value':_0x56647d(0x82)});}));
|