@univerjs-pro/collaboration-client 0.6.0-nightly.202502171606 → 0.6.0-nightly.202502181606
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 _0x18dc(){const _0x55c349=['Edit\x20conflicts','420sRwxPM','37952FIfNcP','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','75450DIpOkl','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20Conflict','Synced','1849386zMDJSy','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\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.','Local\x20file','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.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','230528nrzboz','6uczbbA','Syncing...','1376199ZyWVIO','Syncing\x20server\x20data...','Authentication\x20Error','233338gdEhxE','168018VaaigW'];_0x18dc=function(){return _0x55c349;};return _0x18dc();}const _0x5e7076=_0x3493;(function(_0x32f52d,_0x40e42b){const _0x2ae826=_0x3493,_0x1c5fad=_0x32f52d();while(!![]){try{const _0x4d03c4=parseInt(_0x2ae826(0x14c))/0x1+parseInt(_0x2ae826(0x147))/0x2*(parseInt(_0x2ae826(0x14d))/0x3)+-parseInt(_0x2ae826(0x146))/0x4+parseInt(_0x2ae826(0x153))/0x5+parseInt(_0x2ae826(0x157))/0x6+-parseInt(_0x2ae826(0x14f))/0x7*(parseInt(_0x2ae826(0x150))/0x8)+-parseInt(_0x2ae826(0x149))/0x9;if(_0x4d03c4===_0x40e42b)break;else _0x1c5fad['push'](_0x1c5fad['shift']());}catch(_0x4a97f0){_0x1c5fad['push'](_0x1c5fad['shift']());}}}(_0x18dc,0x38076));function _0x3493(_0x10fa41,_0x5633a0){const _0x18dc3e=_0x18dc();return _0x3493=function(_0x349341,_0x26a270){_0x349341=_0x349341-0x143;let _0x3e95e9=_0x18dc3e[_0x349341];return _0x3e95e9;},_0x3493(_0x10fa41,_0x5633a0);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x5e7076(0x14a),'conflict':_0x5e7076(0x14e),'notCollab':_0x5e7076(0x15b),'synced':_0x5e7076(0x156),'syncing':_0x5e7076(0x148),'offline':_0x5e7076(0x158)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x5e7076(0x151),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x5e7076(0x144),'room-not-exists':_0x5e7076(0x152),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x5e7076(0x159),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x5e7076(0x155),'content':_0x5e7076(0x143)},'permission':{'title':_0x5e7076(0x14b),'content':_0x5e7076(0x15a)},'collaboration':{'single-unit':{'warning':_0x5e7076(0x154)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x5e7076(0x145)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x568566=_0x308c;(function(_0x37a569,_0x196231){const _0x2b1189=_0x308c,_0x1430b7=_0x37a569();while(!![]){try{const _0x21753c=parseInt(_0x2b1189(0x194))/0x1+-parseInt(_0x2b1189(0x19a))/0x2+parseInt(_0x2b1189(0x1ab))/0x3*(parseInt(_0x2b1189(0x1a1))/0x4)+-parseInt(_0x2b1189(0x1a7))/0x5+-parseInt(_0x2b1189(0x19f))/0x6*(parseInt(_0x2b1189(0x1a4))/0x7)+parseInt(_0x2b1189(0x19d))/0x8*(-parseInt(_0x2b1189(0x198))/0x9)+-parseInt(_0x2b1189(0x19c))/0xa*(-parseInt(_0x2b1189(0x1a3))/0xb);if(_0x21753c===_0x196231)break;else _0x1430b7['push'](_0x1430b7['shift']());}catch(_0x5cd79f){_0x1430b7['push'](_0x1430b7['shift']());}}}(_0x21e1,0x6680f));function _0x308c(_0x15d33b,_0xf309fa){const _0x21e14c=_0x21e1();return _0x308c=function(_0x308cf5,_0x7bd060){_0x308cf5=_0x308cf5-0x193;let _0x2e3ee6=_0x21e14c[_0x308cf5];return _0x2e3ee6;},_0x308c(_0x15d33b,_0xf309fa);}const o={'collab-client':{'tooltip':{'reconnect':_0x568566(0x19b)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x568566(0x1a0),'notCollab':_0x568566(0x1a8),'synced':'همگام\x20سازی','syncing':_0x568566(0x19e),'offline':_0x568566(0x1ac)},'session':{'connection-failed':_0x568566(0x199),'will-retry':_0x568566(0x1ad),'room-full':_0x568566(0x1ae),'join-failed':_0x568566(0x1a9),'room-not-exists':_0x568566(0x1a6),'room-permission-denied':'دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-cnt-exceeds':'تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','collaboration-timeout':_0x568566(0x196)},'conflict':{'title':_0x568566(0x1a5),'content':_0x568566(0x1a2)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x568566(0x197)},'collaboration':{'single-unit':{'warning':_0x568566(0x193)},'closeRoom':_0x568566(0x1aa)},'auth':{'needGotoLoginAlert':_0x568566(0x195)}};function _0x21e1(){const _0x3c7ae3=['امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','3npIvvd','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','638002eIwNVX','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','135qXEsUa','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','403204BUtIAa','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','1670pKpOYt','263944SOuvwM','در\x20حال\x20همگام\x20سازی...','19326jkebrS','تداخل\x20ویرایش','2741044fvmPNF','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','31075XSerCi','1393AEpBGl','تداخل\x20همکاری','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','188535snMVAY','پرونده\x20محلی','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'];_0x21e1=function(){return _0x3c7ae3;};return _0x21e1();}export{o as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x156e(){const _0x3d9b68=['6wqjndl','1391850bgDJal','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect','15SZyKHt','664327cLUrAg','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.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','585298RBQeni','6197967CKdVkj','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','913388spVOgQ','10IhFQxg','Collaboration\x20Conflict','Local\x20file','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.','Syncing...','876312xPGaJa','Synced','353468FFyeLq','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','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Edit\x20conflicts'];_0x156e=function(){return _0x3d9b68;};return _0x156e();}function _0xdcf1(_0x3226d8,_0x1022e9){const _0x156e8b=_0x156e();return _0xdcf1=function(_0xdcf1aa,_0x46cc20){_0xdcf1aa=_0xdcf1aa-0xc6;let _0x44bf1e=_0x156e8b[_0xdcf1aa];return _0x44bf1e;},_0xdcf1(_0x3226d8,_0x1022e9);}const _0x44f5af=_0xdcf1;(function(_0x4d8aed,_0x48077a){const _0x23d105=_0xdcf1,_0x26dcc2=_0x4d8aed();while(!![]){try{const _0x4d40c8=-parseInt(_0x23d105(0xc7))/0x1+-parseInt(_0x23d105(0xca))/0x2+parseInt(_0x23d105(0xc6))/0x3*(parseInt(_0x23d105(0xd6))/0x4)+parseInt(_0x23d105(0xdd))/0x5+-parseInt(_0x23d105(0xdc))/0x6*(-parseInt(_0x23d105(0xcd))/0x7)+-parseInt(_0x23d105(0xd4))/0x8+-parseInt(_0x23d105(0xcb))/0x9*(-parseInt(_0x23d105(0xce))/0xa);if(_0x4d40c8===_0x48077a)break;else _0x26dcc2['push'](_0x26dcc2['shift']());}catch(_0x1ceb14){_0x26dcc2['push'](_0x26dcc2['shift']());}}}(_0x156e,0x73705));const e={'collab-client':{'tooltip':{'reconnect':_0x44f5af(0xdf)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x44f5af(0xdb),'notCollab':_0x44f5af(0xd0),'synced':_0x44f5af(0xd5),'syncing':_0x44f5af(0xd3),'offline':_0x44f5af(0xd9)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x44f5af(0xd2),'join-failed':_0x44f5af(0xda),'room-not-exists':_0x44f5af(0xde),'room-permission-denied':_0x44f5af(0xc9),'room-cnt-exceeds':_0x44f5af(0xcc),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x44f5af(0xcf),'content':_0x44f5af(0xc8)},'permission':{'title':_0x44f5af(0xd8),'content':_0x44f5af(0xd7)},'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':_0x44f5af(0xd1)}},o=e;export{o as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x449b8e=_0x650d;(function(_0x1d061b,_0x1852e8){const _0x2268c3=_0x650d,_0x159457=_0x1d061b();while(!![]){try{const _0xd5693=parseInt(_0x2268c3(0xa3))/0x1*(parseInt(_0x2268c3(0x98))/0x2)+parseInt(_0x2268c3(0xa4))/0x3*(parseInt(_0x2268c3(0x96))/0x4)+parseInt(_0x2268c3(0x9f))/0x5*(-parseInt(_0x2268c3(0xaa))/0x6)+-parseInt(_0x2268c3(0xaf))/0x7*(-parseInt(_0x2268c3(0xb1))/0x8)+parseInt(_0x2268c3(0xa0))/0x9*(-parseInt(_0x2268c3(0xad))/0xa)+parseInt(_0x2268c3(0xb0))/0xb+parseInt(_0x2268c3(0x9d))/0xc;if(_0xd5693===_0x1852e8)break;else _0x159457['push'](_0x159457['shift']());}catch(_0x1e4a8f){_0x159457['push'](_0x159457['shift']());}}}(_0x5302,0xbd987));function _0x650d(_0x39c223,_0x5741ac){const _0x5302b2=_0x5302();return _0x650d=function(_0x650dd9,_0x449c1b){_0x650dd9=_0x650dd9-0x95;let _0x4e95b9=_0x5302b2[_0x650dd9];return _0x4e95b9;},_0x650d(_0x39c223,_0x5741ac);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x449b8e(0xa6),'conflict':_0x449b8e(0x9c),'notCollab':_0x449b8e(0xab),'synced':_0x449b8e(0x9a),'syncing':_0x449b8e(0xa8),'offline':_0x449b8e(0xa7)},'session':{'connection-failed':_0x449b8e(0x9b),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x449b8e(0x97),'join-failed':_0x449b8e(0xa1),'room-not-exists':_0x449b8e(0x9e),'room-permission-denied':_0x449b8e(0x95),'room-cnt-exceeds':_0x449b8e(0xa5),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x449b8e(0xae),'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':_0x449b8e(0xa9)},'collaboration':{'single-unit':{'warning':_0x449b8e(0xac)},'closeRoom':_0x449b8e(0x99)},'auth':{'needGotoLoginAlert':_0x449b8e(0xa2)}},o=e;function _0x5302(){const _0x482430=['Connection\x20failed.\x20Please\x20check\x20your\x20network.','Edit\x20conflicts','5733252fJcVhE','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','110tFdMOx','9lpeySO','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','16777GhzegV','30GCOSzJ','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','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.','166218WWlcrk','Local\x20file','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','6767400Bzqfue','Collaboration\x20Conflict','35wYJuuy','11929885vzHlgF','381272bLEOGk','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','78032KpleRE','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','8IKmXnv','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Synced'];_0x5302=function(){return _0x482430;};return _0x5302();}export{o as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0xcda6(){const _0x34dc0b=['Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','396024mKCmBi','12BNAHod','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\x20Conflict','2423EWyxYn','Authentication\x20Error','963765FyCqzU','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','Local\x20file','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','4742028xEPtYB','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.','909560xKoAeG','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.','Synced','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','559537ELPEsP','300SGFITB','1471915yqnGDY','340wvgZDM','14KtRChp','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'];_0xcda6=function(){return _0x34dc0b;};return _0xcda6();}const _0x26c82d=_0x3655;(function(_0x37a893,_0x4f5add){const _0x3f90ed=_0x3655,_0x1b05d2=_0x37a893();while(!![]){try{const _0x877f84=parseInt(_0x3f90ed(0x1a2))/0x1*(-parseInt(_0x3f90ed(0x1b6))/0x2)+parseInt(_0x3f90ed(0x1a4))/0x3+-parseInt(_0x3f90ed(0x1be))/0x4+parseInt(_0x3f90ed(0x1b5))/0x5*(-parseInt(_0x3f90ed(0x1bf))/0x6)+-parseInt(_0x3f90ed(0x1b7))/0x7*(-parseInt(_0x3f90ed(0x1ad))/0x8)+-parseInt(_0x3f90ed(0x1aa))/0x9+parseInt(_0x3f90ed(0x1b4))/0xa*(parseInt(_0x3f90ed(0x1b3))/0xb);if(_0x877f84===_0x4f5add)break;else _0x1b05d2['push'](_0x1b05d2['shift']());}catch(_0x3cf0f4){_0x1b05d2['push'](_0x1b05d2['shift']());}}}(_0xcda6,0x6d651));const e={'collab-client':{'tooltip':{'reconnect':_0x26c82d(0x1ab)}},'collabStatus':{'fetchMiss':_0x26c82d(0x1a6),'conflict':_0x26c82d(0x1b9),'notCollab':_0x26c82d(0x1a7),'synced':_0x26c82d(0x1b0),'syncing':'Syncing...','offline':_0x26c82d(0x1b8)},'session':{'connection-failed':_0x26c82d(0x1a9),'will-retry':_0x26c82d(0x1bd),'room-full':_0x26c82d(0x1a5),'join-failed':_0x26c82d(0x1b1),'room-not-exists':_0x26c82d(0x1ba),'room-permission-denied':_0x26c82d(0x1b2),'room-cnt-exceeds':_0x26c82d(0x1a8),'collaboration-timeout':_0x26c82d(0x1af)},'conflict':{'title':_0x26c82d(0x1a1),'content':_0x26c82d(0x1ac)},'permission':{'title':_0x26c82d(0x1a3),'content':_0x26c82d(0x1a0)},'collaboration':{'single-unit':{'warning':_0x26c82d(0x1ae)},'closeRoom':_0x26c82d(0x1bc)},'auth':{'needGotoLoginAlert':_0x26c82d(0x1bb)}},o=e;function _0x3655(_0x2d7d9a,_0x37ad05){const _0xcda613=_0xcda6();return _0x3655=function(_0x3655b2,_0x40a8e2){_0x3655b2=_0x3655b2-0x1a0;let _0x2a81e8=_0xcda613[_0x3655b2];return _0x2a81e8;},_0x3655(_0x2d7d9a,_0x37ad05);}export{o as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0xd3d3(_0x18bccc,_0x1c7a94){const _0x50cda2=_0x50cd();return _0xd3d3=function(_0xd3d3c8,_0x4ce625){_0xd3d3c8=_0xd3d3c8-0x1cd;let _0x39c13c=_0x50cda2[_0xd3d3c8];return _0x39c13c;},_0xd3d3(_0x18bccc,_0x1c7a94);}const _0x1a16b4=_0xd3d3;(function(_0x378eb5,_0x1b905b){const _0x3ff780=_0xd3d3,_0x5f09c2=_0x378eb5();while(!![]){try{const _0x21d6cc=parseInt(_0x3ff780(0x1d1))/0x1+-parseInt(_0x3ff780(0x1d4))/0x2+parseInt(_0x3ff780(0x1ce))/0x3*(-parseInt(_0x3ff780(0x1df))/0x4)+-parseInt(_0x3ff780(0x1cf))/0x5*(parseInt(_0x3ff780(0x1d5))/0x6)+-parseInt(_0x3ff780(0x1dc))/0x7+-parseInt(_0x3ff780(0x1e1))/0x8+parseInt(_0x3ff780(0x1e3))/0x9*(parseInt(_0x3ff780(0x1e2))/0xa);if(_0x21d6cc===_0x1b905b)break;else _0x5f09c2['push'](_0x5f09c2['shift']());}catch(_0x28f479){_0x5f09c2['push'](_0x5f09c2['shift']());}}}(_0x50cd,0x32a23));const o={'collab-client':{'tooltip':{'reconnect':'点击重新连接'}},'collabStatus':{'fetchMiss':_0x1a16b4(0x1de),'conflict':_0x1a16b4(0x1e0),'notCollab':'本地文件','synced':_0x1a16b4(0x1d9),'syncing':_0x1a16b4(0x1d2),'offline':_0x1a16b4(0x1dd)},'session':{'connection-failed':'连接失败,请检查你的网络','will-retry':_0x1a16b4(0x1e4),'room-full':'此文档协同人数已满,你的编辑将在本地缓存','join-failed':_0x1a16b4(0x1d7),'room-not-exists':'加入协同失败,你的编辑将在本地缓存','room-permission-denied':_0x1a16b4(0x1da),'room-cnt-exceeds':_0x1a16b4(0x1e5),'collaboration-timeout':_0x1a16b4(0x1cd)},'conflict':{'title':_0x1a16b4(0x1d8),'content':'你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'permission':{'title':'权限错误','content':_0x1a16b4(0x1d6)},'collaboration':{'single-unit':{'warning':_0x1a16b4(0x1d0)},'closeRoom':_0x1a16b4(0x1db)},'auth':{'needGotoLoginAlert':_0x1a16b4(0x1d3)}};function _0x50cd(){const _0x546d24=['协同文档数量超过限制,你的编辑将在本地缓存','服务器未响应,你的编辑将在本地缓存','3PFrlmw','1653715iTkOTF','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','238874kUHpnA','保存中...','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','577266FPfxLD','6UKqarG','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','加入协同失败,请稍后重试,你的编辑将在本地缓存','协同冲突','已同步','没有协同权限,你的编辑将在本地缓存','由于协同房间被关闭,编辑权限被收回。','2378082TbMZPD','已离线,编辑将在本地缓存','正在拉取服务端数据...','1646972JdSXdp','编辑冲突','2074168BYDkls','4530bNCqZn','31761uJxdzH','连接失败,将在一会儿之后重试连接'];_0x50cd=function(){return _0x546d24;};return _0x50cd();}export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x4d7f91=_0x299f;(function(_0x17db71,_0x3c3eb8){const _0x438d4e=_0x299f,_0x18e708=_0x17db71();while(!![]){try{const _0x4dda4d=parseInt(_0x438d4e(0x1a2))/0x1*(parseInt(_0x438d4e(0x1b6))/0x2)+parseInt(_0x438d4e(0x1a0))/0x3*(parseInt(_0x438d4e(0x1a3))/0x4)+-parseInt(_0x438d4e(0x1a7))/0x5*(parseInt(_0x438d4e(0x1ae))/0x6)+parseInt(_0x438d4e(0x1ac))/0x7*(-parseInt(_0x438d4e(0x1a9))/0x8)+parseInt(_0x438d4e(0x199))/0x9*(parseInt(_0x438d4e(0x1b5))/0xa)+-parseInt(_0x438d4e(0x1a6))/0xb+parseInt(_0x438d4e(0x19b))/0xc*(parseInt(_0x438d4e(0x19e))/0xd);if(_0x4dda4d===_0x3c3eb8)break;else _0x18e708['push'](_0x18e708['shift']());}catch(_0x575405){_0x18e708['push'](_0x18e708['shift']());}}}(_0x31f4,0x563cf));const e={'collab-client':{'tooltip':{'reconnect':_0x4d7f91(0x1aa)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x4d7f91(0x1b4),'notCollab':_0x4d7f91(0x1b3),'synced':_0x4d7f91(0x19d),'syncing':'Syncing...','offline':_0x4d7f91(0x1a8)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x4d7f91(0x19c),'room-full':_0x4d7f91(0x1ab),'join-failed':_0x4d7f91(0x1a5),'room-not-exists':_0x4d7f91(0x1a1),'room-permission-denied':_0x4d7f91(0x1b1),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x4d7f91(0x1af)},'conflict':{'title':_0x4d7f91(0x19a),'content':_0x4d7f91(0x19f)},'permission':{'title':_0x4d7f91(0x1b2),'content':_0x4d7f91(0x1ad)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x4d7f91(0x1a4)},'auth':{'needGotoLoginAlert':_0x4d7f91(0x1b0)}},o=e;function _0x31f4(){const _0x2e44d5=['Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','16tdwlMh','Click\x20to\x20Reconnect','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1685579UjGxpf','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1361796kBWBjz','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','Local\x20file','Edit\x20conflicts','3020uXyrVf','3106jtZEMi','12249guqyAE','Collaboration\x20Conflict','2665692xeDhoa','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Synced','13STzaDv','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.','6LvxaUJ','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','89lsTMqf','1263204EfhXti','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3753101zjLHYj','5AnsZjf'];_0x31f4=function(){return _0x2e44d5;};return _0x31f4();}function _0x299f(_0x35c24b,_0x28d4d7){const _0x31f476=_0x31f4();return _0x299f=function(_0x299f3b,_0x158c41){_0x299f3b=_0x299f3b-0x199;let _0x94acdb=_0x31f476[_0x299f3b];return _0x94acdb;},_0x299f(_0x35c24b,_0x28d4d7);}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 _0x13de(_0x1cc7e7,_0x1a1219){var _0x5edbb1=_0x5edb();return _0x13de=function(_0x13de02,_0x996d67){_0x13de02=_0x13de02-0x1b8;var _0x1b63bc=_0x5edbb1[_0x13de02];return _0x1b63bc;},_0x13de(_0x1cc7e7,_0x1a1219);}(function(_0x173c0d,_0x2db5ec){var _0x5b85f7=_0x13de,_0x2a1b76=_0x173c0d();while(!![]){try{var _0x313a83=-parseInt(_0x5b85f7(0x1d3))/0x1+parseInt(_0x5b85f7(0x1db))/0x2+-parseInt(_0x5b85f7(0x1d0))/0x3+-parseInt(_0x5b85f7(0x1e3))/0x4*(parseInt(_0x5b85f7(0x1bd))/0x5)+-parseInt(_0x5b85f7(0x1d4))/0x6+parseInt(_0x5b85f7(0x1c6))/0x7+parseInt(_0x5b85f7(0x1c7))/0x8;if(_0x313a83===_0x2db5ec)break;else _0x2a1b76['push'](_0x2a1b76['shift']());}catch(_0x3d52cf){_0x2a1b76['push'](_0x2a1b76['shift']());}}}(_0x5edb,0x8464d),function(_0x173dd0,_0x1076e9){var _0x3349f2=_0x13de;typeof exports==_0x3349f2(0x1c2)&&typeof module<'u'?_0x1076e9(exports,require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require(_0x3349f2(0x1e8)),require('@univerjs/core'),require(_0x3349f2(0x1de))):typeof define==_0x3349f2(0x1dc)&&define[_0x3349f2(0x1e0)]?define([_0x3349f2(0x1c5),_0x3349f2(0x1d2),_0x3349f2(0x1b8),_0x3349f2(0x1e8),'@univerjs/core',_0x3349f2(0x1de)],_0x1076e9):(_0x173dd0=typeof globalThis<'u'?globalThis:_0x173dd0||self,_0x1076e9(_0x173dd0[_0x3349f2(0x1e7)]={},_0x173dd0[_0x3349f2(0x1c0)],_0x173dd0['UniverProCollaboration'],_0x173dd0[_0x3349f2(0x1da)],_0x173dd0['UniverCore'],_0x173dd0[_0x3349f2(0x1de)]));}(this,function(_0x2b8b1a,_0x24fb57,_0x5a89a1,_0x30eca8,_0x27097c,_0x44d4ef){'use strict';var _0x25f30f=_0x13de;var _0x4a45af=Object[_0x25f30f(0x1ba)],_0x1d8a79=Object[_0x25f30f(0x1d6)],_0x1f42cc=(_0x23b5b1,_0x4b4c81,_0x2f0621,_0x4e9c81)=>{var _0x1075de=_0x25f30f;for(var _0x3e3205=_0x4e9c81>0x1?void 0x0:_0x4e9c81?_0x1d8a79(_0x4b4c81,_0x2f0621):_0x4b4c81,_0xa41754=_0x23b5b1[_0x1075de(0x1c9)]-0x1,_0x4abe6b;_0xa41754>=0x0;_0xa41754--)(_0x4abe6b=_0x23b5b1[_0xa41754])&&(_0x3e3205=(_0x4e9c81?_0x4abe6b(_0x4b4c81,_0x2f0621,_0x3e3205):_0x4abe6b(_0x3e3205))||_0x3e3205);return _0x4e9c81&&_0x3e3205&&_0x4a45af(_0x4b4c81,_0x2f0621,_0x3e3205),_0x3e3205;},_0x53b655=(_0x3af64c,_0x49fde0)=>(_0x4872a8,_0x41beaa)=>_0x49fde0(_0x4872a8,_0x41beaa,_0x3af64c);_0x2b8b1a['FCollaboration']=class extends _0x24fb57[_0x25f30f(0x1d5)]{constructor(_0x30ba81,_0x238288,_0x5eb48c,_0x562b2c,_0x4a8e0a){var _0x510144=_0x25f30f;super(),this[_0x510144(0x1d7)]=_0x30ba81,this[_0x510144(0x1cf)]=_0x238288,this[_0x510144(0x1cd)]=_0x5eb48c,this[_0x510144(0x1dd)]=_0x562b2c,this[_0x510144(0x1cc)]=_0x4a8e0a;}async['loadActiveSheet'](){var _0x2e1c10=_0x25f30f;return this[_0x2e1c10(0x1e2)]();}async['loadActiveSheetAsync'](){var _0x4bdded=_0x25f30f;throw new Error(_0x4bdded(0x1d1));}async['loadSheet'](_0x46eb99){var _0x4840dd=_0x25f30f;return this[_0x4840dd(0x1c8)](_0x46eb99);}async[_0x25f30f(0x1c8)](_0x1b0794,_0x5b2936){var _0x31d5fa=_0x25f30f;return await this[_0x31d5fa(0x1dd)][_0x31d5fa(0x1bc)](_0x1b0794,0x0,_0x5b2936)?(await this[_0x31d5fa(0x1cc)][_0x31d5fa(0x1cb)](_0x1b0794),this[_0x31d5fa(0x1d7)][_0x31d5fa(0x1df)](_0x1b0794)):null;}['subscribeCollaborators'](_0x3b24c8,_0x295d8b){var _0x5e5384=_0x25f30f;const _0xa42e2c=this[_0x5e5384(0x1cf)]['get'](_0x30eca8['MemberService'])['waitForRoom$'](_0x3b24c8)['pipe'](_0x44d4ef[_0x5e5384(0x1c4)](_0x445f44=>_0x445f44[_0x5e5384(0x1b9)]))['subscribe'](_0x3c67a9=>_0x295d8b(Array[_0x5e5384(0x1c3)](_0x3c67a9[_0x5e5384(0x1c1)]())));return _0x27097c[_0x5e5384(0x1d9)](_0xa42e2c);}},_0x2b8b1a[_0x25f30f(0x1e6)]=_0x1f42cc([_0x53b655(0x1,_0x27097c[_0x25f30f(0x1e4)](_0x27097c[_0x25f30f(0x1e1)])),_0x53b655(0x2,_0x27097c[_0x25f30f(0x1d8)]),_0x53b655(0x3,_0x27097c['Inject'](_0x5a89a1[_0x25f30f(0x1e5)])),_0x53b655(0x4,_0x27097c[_0x25f30f(0x1e4)](_0x30eca8[_0x25f30f(0x1bb)]))],_0x2b8b1a[_0x25f30f(0x1e6)]);class _0xc8541b extends _0x24fb57[_0x25f30f(0x1ca)]{['getCollaboration'](){var _0xcfd3ab=_0x25f30f;return this[_0xcfd3ab(0x1cf)]['createInstance'](_0x2b8b1a['FCollaboration'],{'getUniverSheet':_0x4e5962=>this[_0xcfd3ab(0x1df)](_0x4e5962)});}}_0x24fb57[_0x25f30f(0x1ca)][_0x25f30f(0x1be)](_0xc8541b),Object[_0x25f30f(0x1ba)](_0x2b8b1a,Symbol[_0x25f30f(0x1ce)],{'value':_0x25f30f(0x1bf)});}));function _0x5edb(){var _0x4af787=['loadSheetAsync','length','FUniver','readyForCollab','_collaborationController','_univerInstanceService','toStringTag','_injector','340287NCMdxb','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs/core/facade','270034rsBsHa','1431540TUuAhw','FBase','getOwnPropertyDescriptor','_handler','IUniverInstanceService','toDisposable','UniverProCollaborationClient','435308RHLCYQ','function','_snapshotService','rxjs','getUniverSheet','amd','Injector','loadActiveSheetAsync','12CuqxqX','Inject','SnapshotService','FCollaboration','UniverProCollaborationClientFacade','@univerjs-pro/collaboration-client','@univerjs-pro/collaboration','members$','defineProperty','CollaborationController','loadSheet','1659935WrEQki','extend','Module','UniverCoreFacade','values','object','from','switchMap','exports','567189XVNqPh','14892944YUkMrd'];_0x5edb=function(){return _0x4af787;};return _0x5edb();}
|