@univerjs-pro/collaboration-client 0.6.0 → 0.6.1
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 +15 -15
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x8c09(){const _0x38bc86=['Click\x20to\x20Reconnect','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2WUoiIN','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','343315jmVEBx','Authentication\x20Error','Local\x20file','182073SqWcXK','413EHCYcM','294732zLYcJl','8564200WDHLub','36750EVYQiU','6694853rpSfdo','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','5109850jxiWKK','9BlRtac','76bjbkiN'];_0x8c09=function(){return _0x38bc86;};return _0x8c09();}function _0x2574(_0x59a673,_0x456a6e){const _0x8c09ce=_0x8c09();return _0x2574=function(_0x257401,_0x1169ed){_0x257401=_0x257401-0xa5;let _0x247a3b=_0x8c09ce[_0x257401];return _0x247a3b;},_0x2574(_0x59a673,_0x456a6e);}const _0x6a8934=_0x2574;(function(_0x2abb1c,_0xcf262c){const _0x587651=_0x2574,_0xfc991a=_0x2abb1c();while(!![]){try{const _0x23c420=parseInt(_0x587651(0xb3))/0x1*(-parseInt(_0x587651(0xac))/0x2)+parseInt(_0x587651(0xb1))/0x3+-parseInt(_0x587651(0xba))/0x4*(-parseInt(_0x587651(0xae))/0x5)+-parseInt(_0x587651(0xb5))/0x6*(parseInt(_0x587651(0xb2))/0x7)+-parseInt(_0x587651(0xb4))/0x8+-parseInt(_0x587651(0xb9))/0x9*(-parseInt(_0x587651(0xb8))/0xa)+parseInt(_0x587651(0xb6))/0xb;if(_0x23c420===_0xcf262c)break;else _0xfc991a['push'](_0xfc991a['shift']());}catch(_0x3549eb){_0xfc991a['push'](_0xfc991a['shift']());}}}(_0x8c09,0xb91f8));const e={'collab-client':{'tooltip':{'reconnect':_0x6a8934(0xbb)}},'collabStatus':{'fetchMiss':_0x6a8934(0xa9),'conflict':_0x6a8934(0xa5),'notCollab':_0x6a8934(0xb0),'synced':'Synced','syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x6a8934(0xa7),'will-retry':_0x6a8934(0xbd),'room-full':_0x6a8934(0xad),'join-failed':_0x6a8934(0xb7),'room-not-exists':_0x6a8934(0xa6),'room-permission-denied':_0x6a8934(0xa8),'room-cnt-exceeds':_0x6a8934(0xab),'collaboration-timeout':_0x6a8934(0xaa)},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x6a8934(0xaf),'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':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x6a8934(0xbc)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x2772c9=_0x2722;(function(_0x428e84,_0x7c281){const _0x4b27cd=_0x2722,_0x54924f=_0x428e84();while(!![]){try{const _0x3f726b=parseInt(_0x4b27cd(0x7d))/0x1*(parseInt(_0x4b27cd(0x7b))/0x2)+-parseInt(_0x4b27cd(0x8d))/0x3+parseInt(_0x4b27cd(0x86))/0x4*(parseInt(_0x4b27cd(0x84))/0x5)+-parseInt(_0x4b27cd(0x8e))/0x6+parseInt(_0x4b27cd(0x7e))/0x7*(parseInt(_0x4b27cd(0x8b))/0x8)+parseInt(_0x4b27cd(0x8c))/0x9*(-parseInt(_0x4b27cd(0x82))/0xa)+parseInt(_0x4b27cd(0x7c))/0xb;if(_0x3f726b===_0x7c281)break;else _0x54924f['push'](_0x54924f['shift']());}catch(_0x38fd76){_0x54924f['push'](_0x54924f['shift']());}}}(_0x44cc,0xc5bdd));function _0x2722(_0x1449b5,_0x321bb4){const _0x44cccf=_0x44cc();return _0x2722=function(_0x2722cd,_0x27c62d){_0x2722cd=_0x2722cd-0x76;let _0x3e41d4=_0x44cccf[_0x2722cd];return _0x3e41d4;},_0x2722(_0x1449b5,_0x321bb4);}const o={'collab-client':{'tooltip':{'reconnect':_0x2772c9(0x87)}},'collabStatus':{'fetchMiss':_0x2772c9(0x8f),'conflict':_0x2772c9(0x7a),'notCollab':_0x2772c9(0x89),'synced':'همگام\x20سازی','syncing':_0x2772c9(0x85),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x2772c9(0x7f),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x2772c9(0x78),'join-failed':_0x2772c9(0x77),'room-not-exists':_0x2772c9(0x81),'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':_0x2772c9(0x80)},'conflict':{'title':'تداخل\x20همکاری','content':_0x2772c9(0x83)},'permission':{'title':_0x2772c9(0x79),'content':_0x2772c9(0x90)},'collaboration':{'single-unit':{'warning':_0x2772c9(0x88)},'closeRoom':_0x2772c9(0x8a)},'auth':{'needGotoLoginAlert':_0x2772c9(0x76)}};export{o as default};function _0x44cc(){const _0x4a1418=['پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','خطای\x20اعتبارسنجی','تداخل\x20ویرایش','44854vPWeQU','40672203REckUU','41zXHJBD','270683sSmoGE','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','50KSBbyL','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','3640QzWOjR','در\x20حال\x20همگام\x20سازی...','332BQpHlJ','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','پرونده\x20محلی','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','8Lqcvlx','1901277ZJaSTE','4235634tXkOob','8627886ONrVJS','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'];_0x44cc=function(){return _0x4a1418;};return _0x44cc();}
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x1865(){const _0xad8e05=['17901288DaKcUq','Syncing\x20server\x20data...','Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','8716fgFBmy','6380878CDkzLZ','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','20AxUMun','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict','Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','15pQRpSx','Click\x20to\x20Reconnect','1491mbgxmJ','488EXJlka','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','363988RjhGic','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1484382jBDVXp','3874981CRqznJ','69156ElrQBL','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...','2VjHZlN'];_0x1865=function(){return _0xad8e05;};return _0x1865();}function _0x4e24(_0x3119a6,_0x27b390){const _0x18650c=_0x1865();return _0x4e24=function(_0x4e24c8,_0x27b81){_0x4e24c8=_0x4e24c8-0x1af;let _0x26d4c4=_0x18650c[_0x4e24c8];return _0x26d4c4;},_0x4e24(_0x3119a6,_0x27b390);}const _0x2c8878=_0x4e24;(function(_0x259829,_0x1a5fb1){const _0x2adc17=_0x4e24,_0x4b8ccd=_0x259829();while(!![]){try{const _0x3be829=-parseInt(_0x2adc17(0x1b1))/0x1*(parseInt(_0x2adc17(0x1c5))/0x2)+parseInt(_0x2adc17(0x1c1))/0x3*(parseInt(_0x2adc17(0x1b6))/0x4)+-parseInt(_0x2adc17(0x1bf))/0x5*(-parseInt(_0x2adc17(0x1c8))/0x6)+parseInt(_0x2adc17(0x1b7))/0x7+parseInt(_0x2adc17(0x1c2))/0x8*(parseInt(_0x2adc17(0x1ca))/0x9)+parseInt(_0x2adc17(0x1ba))/0xa*(-parseInt(_0x2adc17(0x1c9))/0xb)+-parseInt(_0x2adc17(0x1b2))/0xc;if(_0x3be829===_0x1a5fb1)break;else _0x4b8ccd['push'](_0x4b8ccd['shift']());}catch(_0x23703d){_0x4b8ccd['push'](_0x4b8ccd['shift']());}}}(_0x1865,0x9d808));const e={'collab-client':{'tooltip':{'reconnect':_0x2c8878(0x1c0)}},'collabStatus':{'fetchMiss':_0x2c8878(0x1b3),'conflict':_0x2c8878(0x1bd),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x2c8878(0x1b0),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2c8878(0x1c4),'will-retry':_0x2c8878(0x1b8),'room-full':_0x2c8878(0x1c7),'join-failed':_0x2c8878(0x1c6),'room-not-exists':_0x2c8878(0x1be),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x2c8878(0x1af),'collaboration-timeout':_0x2c8878(0x1c3)},'conflict':{'title':_0x2c8878(0x1bc),'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':_0x2c8878(0x1b4),'content':_0x2c8878(0x1b5)},'collaboration':{'single-unit':{'warning':_0x2c8878(0x1b9)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x2c8878(0x1bb)}},o=e;export{o as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0xe38e(_0x140e13,_0x497cdf){const _0x5c572f=_0x5c57();return _0xe38e=function(_0xe38ef0,_0x280cfe){_0xe38ef0=_0xe38ef0-0x80;let _0x197bae=_0x5c572f[_0xe38ef0];return _0x197bae;},_0xe38e(_0x140e13,_0x497cdf);}const _0x2fa7bc=_0xe38e;function _0x5c57(){const _0x47f55b=['10zdsTQD','49026NKKsSc','3186108sIAIdk','744283vQzZys','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','2943500OFTncH','Syncing...','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','2488662gcAZnT','Edit\x20conflicts','Synced','14VmyQXy','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','495ZkQrvC','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1671819WGcsiX','Connection\x20failed.\x20Please\x20check\x20your\x20network.','2yAfYeu','Collaboration\x20Conflict','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Click\x20to\x20Reconnect','1576928EvLjiF'];_0x5c57=function(){return _0x47f55b;};return _0x5c57();}(function(_0x44ce90,_0x2661e5){const _0x480cf7=_0xe38e,_0x1d2e71=_0x44ce90();while(!![]){try{const _0x44ee0a=-parseInt(_0x480cf7(0x93))/0x1+-parseInt(_0x480cf7(0x8b))/0x2*(parseInt(_0x480cf7(0x89))/0x3)+parseInt(_0x480cf7(0x95))/0x4+parseInt(_0x480cf7(0x85))/0x5*(parseInt(_0x480cf7(0x91))/0x6)+-parseInt(_0x480cf7(0x83))/0x7*(-parseInt(_0x480cf7(0x8f))/0x8)+-parseInt(_0x480cf7(0x92))/0x9+-parseInt(_0x480cf7(0x90))/0xa*(-parseInt(_0x480cf7(0x80))/0xb);if(_0x44ee0a===_0x2661e5)break;else _0x1d2e71['push'](_0x1d2e71['shift']());}catch(_0x5a8284){_0x1d2e71['push'](_0x1d2e71['shift']());}}}(_0x5c57,0x7c70e));const e={'collab-client':{'tooltip':{'reconnect':_0x2fa7bc(0x8e)}},'collabStatus':{'fetchMiss':_0x2fa7bc(0x87),'conflict':_0x2fa7bc(0x81),'notCollab':'Local\x20file','synced':_0x2fa7bc(0x82),'syncing':_0x2fa7bc(0x96),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2fa7bc(0x8a),'will-retry':_0x2fa7bc(0x8d),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x2fa7bc(0x86),'room-not-exists':_0x2fa7bc(0x84),'room-permission-denied':_0x2fa7bc(0x88),'room-cnt-exceeds':_0x2fa7bc(0x97),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x2fa7bc(0x8c),'content':_0x2fa7bc(0x98)},'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':_0x2fa7bc(0x94)},'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/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x4af0(){const _0x43d99b=['Connection\x20failed.\x20Please\x20check\x20your\x20network.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','Local\x20file','6mKVNLb','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2749929GHrArK','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','3424KRXFeb','14462850WpTJRf','513102Nnssiy','1556496NeryJH','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Synced','9423NIrROr','1275618Ruwlmc','Edit\x20conflicts','2jbqAWu','Click\x20to\x20Reconnect','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','467270drdius','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x4af0=function(){return _0x43d99b;};return _0x4af0();}function _0x17a1(_0x3425c6,_0x45dd7c){const _0x4af08b=_0x4af0();return _0x17a1=function(_0x17a140,_0x78a4d2){_0x17a140=_0x17a140-0x17e;let _0x553e43=_0x4af08b[_0x17a140];return _0x553e43;},_0x17a1(_0x3425c6,_0x45dd7c);}const _0xb02ea3=_0x17a1;(function(_0x59d657,_0x17d09c){const _0x4ca44e=_0x17a1,_0x4f6af9=_0x59d657();while(!![]){try{const _0x4ff92d=-parseInt(_0x4ca44e(0x18c))/0x1+-parseInt(_0x4ca44e(0x194))/0x2*(parseInt(_0x4ca44e(0x192))/0x3)+-parseInt(_0x4ca44e(0x18d))/0x4+parseInt(_0x4ca44e(0x17f))/0x5*(parseInt(_0x4ca44e(0x186))/0x6)+-parseInt(_0x4ca44e(0x188))/0x7+parseInt(_0x4ca44e(0x18a))/0x8*(parseInt(_0x4ca44e(0x191))/0x9)+parseInt(_0x4ca44e(0x18b))/0xa;if(_0x4ff92d===_0x17d09c)break;else _0x4f6af9['push'](_0x4f6af9['shift']());}catch(_0xf9f4a2){_0x4f6af9['push'](_0x4f6af9['shift']());}}}(_0x4af0,0x41538));const e={'collab-client':{'tooltip':{'reconnect':_0xb02ea3(0x195)}},'collabStatus':{'fetchMiss':_0xb02ea3(0x184),'conflict':_0xb02ea3(0x193),'notCollab':_0xb02ea3(0x185),'synced':_0xb02ea3(0x190),'syncing':'Syncing...','offline':_0xb02ea3(0x180)},'session':{'connection-failed':_0xb02ea3(0x182),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0xb02ea3(0x18e),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0xb02ea3(0x183),'room-permission-denied':_0xb02ea3(0x17e),'room-cnt-exceeds':_0xb02ea3(0x187),'collaboration-timeout':_0xb02ea3(0x181)},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':'Authentication\x20Error','content':'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':_0xb02ea3(0x189)},'closeRoom':_0xb02ea3(0x18f)},'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
|
-
function
|
1
|
+
function _0xbfa6(_0x1bcc9f,_0x11bef1){const _0x1f4a8c=_0x1f4a();return _0xbfa6=function(_0xbfa632,_0x505b3d){_0xbfa632=_0xbfa632-0x99;let _0x86d6e3=_0x1f4a8c[_0xbfa632];return _0x86d6e3;},_0xbfa6(_0x1bcc9f,_0x11bef1);}function _0x1f4a(){const _0xefb0cf=['24xyZUGu','419839KDmbtV','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','本地文件','没有协同权限,你的编辑将在本地缓存','连接失败,请检查你的网络','37926tjeYHh','保存中...','连接失败,将在一会儿之后重试连接','864660KCfWuO','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','此文档协同人数已满,你的编辑将在本地缓存','编辑冲突','正在拉取服务端数据...','加入协同失败,请稍后重试,你的编辑将在本地缓存','17388679tQvOEX','5717590KgVGkN','1673448BNJXMG','加入协同失败,你的编辑将在本地缓存','138yFxWgC','80980EEGSjC','协同冲突','权限错误','1899uaQPTR','15XLCjSW','已同步','点击重新连接'];_0x1f4a=function(){return _0xefb0cf;};return _0x1f4a();}const _0x1b8577=_0xbfa6;(function(_0x54bbf7,_0x378f1c){const _0x23458a=_0xbfa6,_0x1fe7ec=_0x54bbf7();while(!![]){try{const _0xafb72f=parseInt(_0x23458a(0xaa))/0x1*(-parseInt(_0x23458a(0xb3))/0x2)+parseInt(_0x23458a(0xad))/0x3*(parseInt(_0x23458a(0x9a))/0x4)+parseInt(_0x23458a(0xa2))/0x5+-parseInt(_0x23458a(0xa5))/0x6*(-parseInt(_0x23458a(0xae))/0x7)+parseInt(_0x23458a(0xa3))/0x8+-parseInt(_0x23458a(0xa9))/0x9*(parseInt(_0x23458a(0xa6))/0xa)+-parseInt(_0x23458a(0xa1))/0xb;if(_0xafb72f===_0x378f1c)break;else _0x1fe7ec['push'](_0x1fe7ec['shift']());}catch(_0x247f92){_0x1fe7ec['push'](_0x1fe7ec['shift']());}}}(_0x1f4a,0xd8b1a));const o={'collab-client':{'tooltip':{'reconnect':_0x1b8577(0xac)}},'collabStatus':{'fetchMiss':_0x1b8577(0x9f),'conflict':_0x1b8577(0x9e),'notCollab':_0x1b8577(0xb0),'synced':_0x1b8577(0xab),'syncing':_0x1b8577(0xb4),'offline':'已离线,编辑将在本地缓存'},'session':{'connection-failed':_0x1b8577(0xb2),'will-retry':_0x1b8577(0x99),'room-full':_0x1b8577(0x9d),'join-failed':_0x1b8577(0xa0),'room-not-exists':_0x1b8577(0xa4),'room-permission-denied':_0x1b8577(0xb1),'room-cnt-exceeds':'协同文档数量超过限制,你的编辑将在本地缓存','collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':_0x1b8577(0xa7),'content':_0x1b8577(0x9b)},'permission':{'title':_0x1b8577(0xa8),'content':'你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'collaboration':{'single-unit':{'warning':_0x1b8577(0xaf)},'closeRoom':'由于协同房间被关闭,编辑权限被收回。'},'auth':{'needGotoLoginAlert':_0x1b8577(0x9c)}};export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x1cbd(_0x327779,_0x4b2727){const _0x86a18a=_0x86a1();return _0x1cbd=function(_0x1cbd97,_0x15393f){_0x1cbd97=_0x1cbd97-0x189;let _0x508ae7=_0x86a18a[_0x1cbd97];return _0x508ae7;},_0x1cbd(_0x327779,_0x4b2727);}const _0x54b90d=_0x1cbd;function _0x86a1(){const _0x1e2100=['6335oIRHta','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Synced','3nZvivf','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','9815814xinTFh','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','231352LJRxzO','1547416LPvwdy','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Syncing...','Syncing\x20server\x20data...','134155SYafmh','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2682160VggQqT','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','670976ZAjRVd','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','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.','3114eurPpW','Authentication\x20Error','Local\x20file','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'];_0x86a1=function(){return _0x1e2100;};return _0x86a1();}(function(_0x3263a4,_0x345990){const _0x44ac8d=_0x1cbd,_0x31d06a=_0x3263a4();while(!![]){try{const _0x2b8969=-parseInt(_0x44ac8d(0x18c))/0x1+-parseInt(_0x44ac8d(0x196))/0x2+-parseInt(_0x44ac8d(0x1a3))/0x3*(parseInt(_0x44ac8d(0x18d))/0x4)+-parseInt(_0x44ac8d(0x191))/0x5+parseInt(_0x44ac8d(0x19c))/0x6*(parseInt(_0x44ac8d(0x1a0))/0x7)+-parseInt(_0x44ac8d(0x194))/0x8+parseInt(_0x44ac8d(0x18a))/0x9;if(_0x2b8969===_0x345990)break;else _0x31d06a['push'](_0x31d06a['shift']());}catch(_0xe65dae){_0x31d06a['push'](_0x31d06a['shift']());}}}(_0x86a1,0x3bb42));const e={'collab-client':{'tooltip':{'reconnect':_0x54b90d(0x19a)}},'collabStatus':{'fetchMiss':_0x54b90d(0x190),'conflict':'Edit\x20conflicts','notCollab':_0x54b90d(0x19e),'synced':_0x54b90d(0x1a2),'syncing':_0x54b90d(0x18f),'offline':_0x54b90d(0x1a1)},'session':{'connection-failed':_0x54b90d(0x18e),'will-retry':_0x54b90d(0x199),'room-full':_0x54b90d(0x193),'join-failed':_0x54b90d(0x195),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x54b90d(0x18b),'collaboration-timeout':_0x54b90d(0x197)},'conflict':{'title':_0x54b90d(0x198),'content':_0x54b90d(0x19b)},'permission':{'title':_0x54b90d(0x19d),'content':_0x54b90d(0x192)},'collaboration':{'single-unit':{'warning':_0x54b90d(0x19f)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x54b90d(0x189)}},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(_0x313c0,_0x51b937){var _0x2d390c=_0x5ed5,_0xed3f90=_0x313c0();while(!![]){try{var _0x4df266=parseInt(_0x2d390c(0xc4))/0x1+parseInt(_0x2d390c(0xc7))/0x2*(-parseInt(_0x2d390c(0xb8))/0x3)+-parseInt(_0x2d390c(0xa0))/0x4*(-parseInt(_0x2d390c(0xab))/0x5)+-parseInt(_0x2d390c(0xd1))/0x6+parseInt(_0x2d390c(0xaa))/0x7+parseInt(_0x2d390c(0xb6))/0x8*(-parseInt(_0x2d390c(0xba))/0x9)+-parseInt(_0x2d390c(0xa6))/0xa*(-parseInt(_0x2d390c(0xb4))/0xb);if(_0x4df266===_0x51b937)break;else _0xed3f90['push'](_0xed3f90['shift']());}catch(_0x5bc53d){_0xed3f90['push'](_0xed3f90['shift']());}}}(_0xa9ab,0xe05eb),function(_0x4c05ac,_0x598a1f){var _0x2c4dee=_0x5ed5;typeof exports=='object'&&typeof module<'u'?_0x598a1f(exports,require(_0x2c4dee(0xae)),require(_0x2c4dee(0xb0)),require(_0x2c4dee(0xa8)),require('@univerjs/core'),require(_0x2c4dee(0xa3))):typeof define==_0x2c4dee(0xce)&&define[_0x2c4dee(0xbc)]?define(['exports',_0x2c4dee(0xae),_0x2c4dee(0xb0),_0x2c4dee(0xa8),'@univerjs/core',_0x2c4dee(0xa3)],_0x598a1f):(_0x4c05ac=typeof globalThis<'u'?globalThis:_0x4c05ac||self,_0x598a1f(_0x4c05ac[_0x2c4dee(0xca)]={},_0x4c05ac['UniverCoreFacade'],_0x4c05ac[_0x2c4dee(0xaf)],_0x4c05ac['UniverProCollaborationClient'],_0x4c05ac[_0x2c4dee(0xb1)],_0x4c05ac[_0x2c4dee(0xa3)]));}(this,function(_0x2ed0e2,_0x131689,_0x3dc909,_0x4182c3,_0x2199b1,_0x148db0){'use strict';var _0xf5c35d=_0x5ed5;var _0x818e0e=Object[_0xf5c35d(0xbb)],_0x51b601=(_0x357116,_0x3b6490,_0x29e9b6,_0x266381)=>{var _0xa0674f=_0xf5c35d;for(var _0x4f32fc=_0x266381>0x1?void 0x0:_0x266381?_0x818e0e(_0x3b6490,_0x29e9b6):_0x3b6490,_0x52720a=_0x357116[_0xa0674f(0xc5)]-0x1,_0x5c8d14;_0x52720a>=0x0;_0x52720a--)(_0x5c8d14=_0x357116[_0x52720a])&&(_0x4f32fc=_0x5c8d14(_0x4f32fc)||_0x4f32fc);return _0x4f32fc;},_0x58e659=(_0x4cd5e7,_0x2f2f67)=>(_0x4f69f7,_0x5bcaad)=>_0x2f2f67(_0x4f69f7,_0x5bcaad,_0x4cd5e7);_0x2ed0e2[_0xf5c35d(0xcc)]=class extends _0x131689[_0xf5c35d(0xb9)]{constructor(_0x2c8c33,_0x197aec,_0x1c2753,_0x3b5286,_0x21595a){var _0x473ddf=_0xf5c35d;super(),this['_handler']=_0x2c8c33,this['_injector']=_0x197aec,this[_0x473ddf(0xa5)]=_0x1c2753,this['_snapshotService']=_0x3b5286,this[_0x473ddf(0xc1)]=_0x21595a;}async[_0xf5c35d(0xc2)](){return this['loadActiveSheetAsync']();}async[_0xf5c35d(0xc8)](){var _0x5ae5f9=_0xf5c35d;throw new Error(_0x5ae5f9(0xa2));}async['loadSheet'](_0x22400e){return this['loadSheetAsync'](_0x22400e);}async['loadSheetAsync'](_0x3336cc,_0x1e7893){var _0x2834d5=_0xf5c35d;return await this[_0x2834d5(0x9f)][_0x2834d5(0xb3)](_0x3336cc,0x0,_0x1e7893)?(await this['_collaborationController'][_0x2834d5(0xad)](_0x3336cc),this['_handler'][_0x2834d5(0xbf)](_0x3336cc)):null;}[_0xf5c35d(0xcb)](_0x514bc8,_0x4b0f18){var _0x3b1ef3=_0xf5c35d;const _0x5319f2=this[_0x3b1ef3(0xbd)][_0x3b1ef3(0xc3)](_0x4182c3[_0x3b1ef3(0xc9)])[_0x3b1ef3(0xc6)](_0x514bc8)[_0x3b1ef3(0xb5)](_0x148db0[_0x3b1ef3(0xa1)](_0x1cbb9a=>_0x1cbb9a['members$']))[_0x3b1ef3(0xc0)](_0x14397e=>_0x4b0f18(Array['from'](_0x14397e[_0x3b1ef3(0xb2)]())));return _0x2199b1[_0x3b1ef3(0xcd)](_0x5319f2);}},_0x2ed0e2[_0xf5c35d(0xcc)]=_0x51b601([_0x58e659(0x1,_0x2199b1[_0xf5c35d(0xa7)](_0x2199b1['Injector'])),_0x58e659(0x2,_0x2199b1[_0xf5c35d(0xa9)]),_0x58e659(0x3,_0x2199b1['Inject'](_0x3dc909['SnapshotService'])),_0x58e659(0x4,_0x2199b1[_0xf5c35d(0xa7)](_0x4182c3[_0xf5c35d(0xd0)]))],_0x2ed0e2[_0xf5c35d(0xcc)]);class _0x2289a1 extends _0x131689['FUniver']{[_0xf5c35d(0xa4)](){var _0x3bf234=_0xf5c35d;return this[_0x3bf234(0xbd)][_0x3bf234(0xb7)](_0x2ed0e2[_0x3bf234(0xcc)],{'getUniverSheet':_0x4bda1d=>this['getUniverSheet'](_0x4bda1d)});}}_0x131689[_0xf5c35d(0xac)]['extend'](_0x2289a1),Object[_0xf5c35d(0xcf)](_0x2ed0e2,Symbol[_0xf5c35d(0x9e)],{'value':_0xf5c35d(0xbe)});}));function _0x5ed5(_0x470669,_0x36d8d3){var _0xa9abbb=_0xa9ab();return _0x5ed5=function(_0x5ed57d,_0x4553bb){_0x5ed57d=_0x5ed57d-0x9e;var _0x5ef0fd=_0xa9abbb[_0x5ed57d];return _0x5ef0fd;},_0x5ed5(_0x470669,_0x36d8d3);}function _0xa9ab(){var _0x1222a4=['rxjs','getCollaboration','_univerInstanceService','20HdXZhD','Inject','@univerjs-pro/collaboration-client','IUniverInstanceService','5478984QWZSKz','40owFVrc','FUniver','readyForCollab','@univerjs/core/facade','UniverProCollaboration','@univerjs-pro/collaboration','UniverCore','values','loadSheet','1557413SuNOYE','pipe','2107064KgPZDk','createInstance','3bsyRDp','FBase','9fOCeGN','getOwnPropertyDescriptor','amd','_injector','Module','getUniverSheet','subscribe','_collaborationController','loadActiveSheet','get','1127190LBWLlm','length','waitForRoom$','1552222AIBJFm','loadActiveSheetAsync','MemberService','UniverProCollaborationClientFacade','subscribeCollaborators','FCollaboration','toDisposable','function','defineProperty','CollaborationController','4330290ffkvhT','toStringTag','_snapshotService','243580pdUnRX','switchMap','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.'];_0xa9ab=function(){return _0x1222a4;};return _0xa9ab();}
|