@univerjs-pro/collaboration-client 0.5.5-nightly.202501220324 → 0.5.5-nightly.202501231606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/facade/f-collaboration.d.ts +12 -2
- package/lib/types/facade/f-univer.d.ts +6 -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 +10 -10
package/lib/cjs/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x495708=_0x24e3;(function(_0x2fd7aa,_0x468b22){const _0x11f35b=_0x24e3,_0x46b94f=_0x2fd7aa();while(!![]){try{const _0x4376d5=parseInt(_0x11f35b(0x141))/0x1*(-parseInt(_0x11f35b(0x13b))/0x2)+parseInt(_0x11f35b(0x133))/0x3*(-parseInt(_0x11f35b(0x13a))/0x4)+-parseInt(_0x11f35b(0x12c))/0x5*(parseInt(_0x11f35b(0x140))/0x6)+-parseInt(_0x11f35b(0x144))/0x7+parseInt(_0x11f35b(0x146))/0x8*(parseInt(_0x11f35b(0x134))/0x9)+-parseInt(_0x11f35b(0x12b))/0xa+parseInt(_0x11f35b(0x136))/0xb;if(_0x4376d5===_0x468b22)break;else _0x46b94f['push'](_0x46b94f['shift']());}catch(_0x26155c){_0x46b94f['push'](_0x46b94f['shift']());}}}(_0x1924,0x67c03));function _0x1924(){const _0x301446=['236455spgbBl','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','exports','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\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.','Syncing...','Syncing\x20server\x20data...','5763FRydjv','63kTliXs','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','17673315jIglWU','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','128LSDZHN','2fXglGD','Authentication\x20Error','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','18BSgRHz','726889gEUUzn','Synced','Edit\x20conflicts','5537910VjRGoX','Local\x20file','651416wVTTIZ','303270rBJiof'];_0x1924=function(){return _0x301446;};return _0x1924();}const locale={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x495708(0x132),'conflict':_0x495708(0x143),'notCollab':_0x495708(0x145),'synced':_0x495708(0x142),'syncing':_0x495708(0x131),'offline':_0x495708(0x137)},'session':{'connection-failed':_0x495708(0x139),'will-retry':_0x495708(0x13f),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x495708(0x12f),'room-not-exists':_0x495708(0x13d),'room-permission-denied':_0x495708(0x13e),'room-cnt-exceeds':_0x495708(0x138),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x495708(0x13c),'content':_0x495708(0x130)},'collaboration':{'single-unit':{'warning':_0x495708(0x135)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x495708(0x12d)}};function _0x24e3(_0x575f8e,_0x85f2c9){const _0x192427=_0x1924();return _0x24e3=function(_0x24e365,_0x4f2b49){_0x24e365=_0x24e365-0x12b;let _0x22ab9f=_0x192427[_0x24e365];return _0x22ab9f;},_0x24e3(_0x575f8e,_0x85f2c9);}module[_0x495708(0x12e)]=locale;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';function
|
1
|
+
'use strict';const _0x2ac499=_0x5309;(function(_0x1a4ebd,_0x2f97a2){const _0x3ca461=_0x5309,_0x597d55=_0x1a4ebd();while(!![]){try{const _0x574bd5=parseInt(_0x3ca461(0x179))/0x1*(-parseInt(_0x3ca461(0x178))/0x2)+parseInt(_0x3ca461(0x174))/0x3+-parseInt(_0x3ca461(0x16c))/0x4*(-parseInt(_0x3ca461(0x16e))/0x5)+parseInt(_0x3ca461(0x17b))/0x6*(parseInt(_0x3ca461(0x184))/0x7)+parseInt(_0x3ca461(0x183))/0x8*(parseInt(_0x3ca461(0x176))/0x9)+-parseInt(_0x3ca461(0x16f))/0xa*(parseInt(_0x3ca461(0x172))/0xb)+-parseInt(_0x3ca461(0x16a))/0xc;if(_0x574bd5===_0x2f97a2)break;else _0x597d55['push'](_0x597d55['shift']());}catch(_0x346b68){_0x597d55['push'](_0x597d55['shift']());}}}(_0x59e6,0x856f6));function _0x59e6(){const _0x346dba=['دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','3933770cxdiEm','3590ZcObqz','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','22495hmjOUW','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','92874AiJnAP','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','9hDcaod','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','106KtmvWM','13581mhkjpx','تداخل\x20ویرایش','18pOAwTH','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','تداخل\x20همکاری','همگام\x20سازی','exports','4919896BWFlga','1525202EDyzoW','خطای\x20اعتبارسنجی','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','1030308aswoAr','در\x20حال\x20همگام\x20سازی...','4watQKC'];_0x59e6=function(){return _0x346dba;};return _0x59e6();}function _0x5309(_0x55d582,_0x7d06d){const _0x59e695=_0x59e6();return _0x5309=function(_0x530908,_0x54d899){_0x530908=_0x530908-0x16a;let _0x459ba4=_0x59e695[_0x530908];return _0x459ba4;},_0x5309(_0x55d582,_0x7d06d);}const locale={'collab-client':{'tooltip':{'reconnect':_0x2ac499(0x173)}},'collabStatus':{'fetchMiss':_0x2ac499(0x17f),'conflict':_0x2ac499(0x17a),'notCollab':'پرونده\x20محلی','synced':_0x2ac499(0x181),'syncing':_0x2ac499(0x16b),'offline':_0x2ac499(0x171)},'session':{'connection-failed':_0x2ac499(0x170),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x2ac499(0x17e),'join-failed':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-not-exists':_0x2ac499(0x17c),'room-permission-denied':_0x2ac499(0x16d),'room-cnt-exceeds':_0x2ac499(0x186),'collaboration-timeout':_0x2ac499(0x175)},'conflict':{'title':_0x2ac499(0x180),'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بین\x20خواهند\x20رفت.'},'permission':{'title':_0x2ac499(0x185),'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':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x2ac499(0x177)},'auth':{'needGotoLoginAlert':_0x2ac499(0x17d)}};module[_0x2ac499(0x182)]=locale;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';function
|
1
|
+
'use strict';function _0x1a17(){const _0x432110=['Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','405992bfaKiC','81599joEFDm','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict','Syncing\x20server\x20data...','11238170xFnCyN','Click\x20to\x20Reconnect','4DRTlqM','1215khHimv','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.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','9hgvPfR','118172RzqPqN','Authentication\x20Error','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Edit\x20conflicts','416GqLkCx','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1765068tVuqvx','2875280iWMzUb'];_0x1a17=function(){return _0x432110;};return _0x1a17();}const _0x8ffd3f=_0x5723;(function(_0x1f9c18,_0x19cf29){const _0x43cea0=_0x5723,_0x59188e=_0x1f9c18();while(!![]){try{const _0x43b299=-parseInt(_0x43cea0(0x181))/0x1*(-parseInt(_0x43cea0(0x187))/0x2)+parseInt(_0x43cea0(0x186))/0x3*(parseInt(_0x43cea0(0x17a))/0x4)+parseInt(_0x43cea0(0x177))/0x5+parseInt(_0x43cea0(0x176))/0x6+parseInt(_0x43cea0(0x17b))/0x7+-parseInt(_0x43cea0(0x173))/0x8*(-parseInt(_0x43cea0(0x182))/0x9)+-parseInt(_0x43cea0(0x17f))/0xa;if(_0x43b299===_0x19cf29)break;else _0x59188e['push'](_0x59188e['shift']());}catch(_0x1cbc39){_0x59188e['push'](_0x59188e['shift']());}}}(_0x1a17,0x4a724));function _0x5723(_0x32b598,_0x4eedaa){const _0x1a17d5=_0x1a17();return _0x5723=function(_0x572381,_0x2c289f){_0x572381=_0x572381-0x172;let _0x238f27=_0x1a17d5[_0x572381];return _0x238f27;},_0x5723(_0x32b598,_0x4eedaa);}const locale$1={'collab-client':{'tooltip':{'reconnect':_0x8ffd3f(0x180)}},'collabStatus':{'fetchMiss':_0x8ffd3f(0x17e),'conflict':_0x8ffd3f(0x172),'notCollab':'Local\x20file','synced':'Synced','syncing':'Syncing...','offline':_0x8ffd3f(0x179)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x8ffd3f(0x185),'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':_0x8ffd3f(0x178),'room-permission-denied':_0x8ffd3f(0x184),'room-cnt-exceeds':_0x8ffd3f(0x189),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x8ffd3f(0x17d),'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':_0x8ffd3f(0x188),'content':_0x8ffd3f(0x183)},'collaboration':{'single-unit':{'warning':_0x8ffd3f(0x174)},'closeRoom':_0x8ffd3f(0x175)},'auth':{'needGotoLoginAlert':_0x8ffd3f(0x17c)}},locale=locale$1;module['exports']=locale;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function _0x1a49(){const _0x2c97c9=['3702705cGahsu','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','102cfgBrW','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','exports','Edit\x20conflicts','Connection\x20failed.\x20Please\x20check\x20your\x20network.','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','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.','11pyAGLD','Collaboration\x20Conflict','40kJYYNJ','561457JZLmjf','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','867339kQDsdo','1016334WJbRbg','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','10432KaBvAZ','Synced','498thomuq','280154fiDgFQ','28535210uWbckf','Syncing\x20server\x20data...','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x1a49=function(){return _0x2c97c9;};return _0x1a49();}const _0x1a43e4=_0x399a;(function(_0x554c50,_0x359c1f){const _0x2dd1f9=_0x399a,_0x48d852=_0x554c50();while(!![]){try{const _0x44f516=-parseInt(_0x2dd1f9(0xab))/0x1+-parseInt(_0x2dd1f9(0xaf))/0x2+-parseInt(_0x2dd1f9(0x95))/0x3*(parseInt(_0x2dd1f9(0x93))/0x4)+-parseInt(_0x2dd1f9(0x9a))/0x5+-parseInt(_0x2dd1f9(0x9e))/0x6*(parseInt(_0x2dd1f9(0x96))/0x7)+-parseInt(_0x2dd1f9(0xaa))/0x8*(-parseInt(_0x2dd1f9(0xae))/0x9)+parseInt(_0x2dd1f9(0x97))/0xa*(parseInt(_0x2dd1f9(0xa8))/0xb);if(_0x44f516===_0x359c1f)break;else _0x48d852['push'](_0x48d852['shift']());}catch(_0x1b6cf6){_0x48d852['push'](_0x48d852['shift']());}}}(_0x1a49,0x64905));function _0x399a(_0x3dec9b,_0x5658f6){const _0x1a4928=_0x1a49();return _0x399a=function(_0x399a4a,_0x55d8bf){_0x399a4a=_0x399a4a-0x93;let _0x9b9691=_0x1a4928[_0x399a4a];return _0x9b9691;},_0x399a(_0x3dec9b,_0x5658f6);}const locale$1={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x1a43e4(0x98),'conflict':_0x1a43e4(0xa2),'notCollab':_0x1a43e4(0xa5),'synced':_0x1a43e4(0x94),'syncing':'Syncing...','offline':_0x1a43e4(0xad)},'session':{'connection-failed':_0x1a43e4(0xa3),'will-retry':_0x1a43e4(0x9d),'room-full':_0x1a43e4(0x9c),'join-failed':_0x1a43e4(0x99),'room-not-exists':_0x1a43e4(0xb0),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x1a43e4(0x9f),'collaboration-timeout':_0x1a43e4(0xa7)},'conflict':{'title':_0x1a43e4(0xa9),'content':_0x1a43e4(0x9b)},'permission':{'title':'Authentication\x20Error','content':_0x1a43e4(0xa4)},'collaboration':{'single-unit':{'warning':_0x1a43e4(0xa6)},'closeRoom':_0x1a43e4(0xa0)},'auth':{'needGotoLoginAlert':_0x1a43e4(0xac)}},locale=locale$1;module[_0x1a43e4(0xa1)]=locale;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';function
|
1
|
+
'use strict';const _0xa19d7b=_0x22df;function _0x22df(_0x35c253,_0x53f7f1){const _0x2fc241=_0x2fc2();return _0x22df=function(_0x22dffc,_0x7505cb){_0x22dffc=_0x22dffc-0xeb;let _0x44662c=_0x2fc241[_0x22dffc];return _0x44662c;},_0x22df(_0x35c253,_0x53f7f1);}(function(_0x50eed1,_0x226fc2){const _0x1624f9=_0x22df,_0x2f6c55=_0x50eed1();while(!![]){try{const _0x1b72d2=-parseInt(_0x1624f9(0xed))/0x1+parseInt(_0x1624f9(0x105))/0x2*(-parseInt(_0x1624f9(0xff))/0x3)+-parseInt(_0x1624f9(0xfd))/0x4+-parseInt(_0x1624f9(0xeb))/0x5+-parseInt(_0x1624f9(0xf3))/0x6*(parseInt(_0x1624f9(0xf4))/0x7)+-parseInt(_0x1624f9(0xf1))/0x8*(parseInt(_0x1624f9(0xec))/0x9)+parseInt(_0x1624f9(0xf5))/0xa;if(_0x1b72d2===_0x226fc2)break;else _0x2f6c55['push'](_0x2f6c55['shift']());}catch(_0x802e4){_0x2f6c55['push'](_0x2f6c55['shift']());}}}(_0x2fc2,0x1e683));const locale$1={'collab-client':{'tooltip':{'reconnect':_0xa19d7b(0xf0)}},'collabStatus':{'fetchMiss':_0xa19d7b(0xfc),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0xa19d7b(0xf2),'syncing':_0xa19d7b(0x101),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0xa19d7b(0xfa),'will-retry':_0xa19d7b(0xf8),'room-full':_0xa19d7b(0xee),'join-failed':_0xa19d7b(0xef),'room-not-exists':_0xa19d7b(0x104),'room-permission-denied':_0xa19d7b(0xfe),'room-cnt-exceeds':_0xa19d7b(0x102),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0xa19d7b(0xfb),'content':_0xa19d7b(0x103)},'permission':{'title':_0xa19d7b(0xf7),'content':_0xa19d7b(0x100)},'collaboration':{'single-unit':{'warning':_0xa19d7b(0xf6)},'closeRoom':_0xa19d7b(0xf9)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},locale=locale$1;function _0x2fc2(){const _0x22ce7d=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Collaboration\x20Conflict','Syncing\x20server\x20data...','369512pRMLsx','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','56367UIKrwC','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','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.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','22IHXXSa','122950jvNaPB','603mzwiLX','147978LkAyGZ','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect','6368MlhdXV','Synced','3054NlwPrF','2947vuqSDu','8637930lGGrLS','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.'];_0x2fc2=function(){return _0x22ce7d;};return _0x2fc2();}module['exports']=locale;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x349c3e=_0x30ab;(function(_0x264dc6,_0x9d333d){const _0x155c6d=_0x30ab,_0x46b801=_0x264dc6();while(!![]){try{const _0x40b220=parseInt(_0x155c6d(0x113))/0x1*(parseInt(_0x155c6d(0x11a))/0x2)+-parseInt(_0x155c6d(0x11d))/0x3+-parseInt(_0x155c6d(0x116))/0x4*(parseInt(_0x155c6d(0x10f))/0x5)+parseInt(_0x155c6d(0x128))/0x6+-parseInt(_0x155c6d(0x12b))/0x7+parseInt(_0x155c6d(0x11c))/0x8*(-parseInt(_0x155c6d(0x11f))/0x9)+-parseInt(_0x155c6d(0x111))/0xa*(-parseInt(_0x155c6d(0x126))/0xb);if(_0x40b220===_0x9d333d)break;else _0x46b801['push'](_0x46b801['shift']());}catch(_0x3f5bf5){_0x46b801['push'](_0x46b801['shift']());}}}(_0x1cd5,0xd86f3));function _0x1cd5(){const _0x541717=['协同冲突','正在拉取服务端数据...','点击重新连接','编辑冲突','保存中...','1639tvTZXe','没有协同权限,你的编辑将在本地缓存','6805728Iyuagw','加入协同失败,你的编辑将在本地缓存','协同文档数量超过限制,你的编辑将在本地缓存','7566475HwTfor','8409905nELhMm','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','214040QxImmM','权限错误','3wyKTAs','连接失败,将在一会儿之后重试连接','本地文件','4HbRuIb','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','已离线,编辑将在本地缓存','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','380616BAFSzw','此文档协同人数已满,你的编辑将在本地缓存','8BBaqDr','3376983hOyhDu','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','1073934OthHUp','加入协同失败,请稍后重试,你的编辑将在本地缓存'];_0x1cd5=function(){return _0x541717;};return _0x1cd5();}const locales={'collab-client':{'tooltip':{'reconnect':_0x349c3e(0x123)}},'collabStatus':{'fetchMiss':_0x349c3e(0x122),'conflict':_0x349c3e(0x124),'notCollab':_0x349c3e(0x115),'synced':'已同步','syncing':_0x349c3e(0x125),'offline':_0x349c3e(0x118)},'session':{'connection-failed':'连接失败,请检查你的网络','will-retry':_0x349c3e(0x114),'room-full':_0x349c3e(0x11b),'join-failed':_0x349c3e(0x120),'room-not-exists':_0x349c3e(0x129),'room-permission-denied':_0x349c3e(0x127),'room-cnt-exceeds':_0x349c3e(0x12a),'collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':_0x349c3e(0x121),'content':_0x349c3e(0x110)},'permission':{'title':_0x349c3e(0x112),'content':_0x349c3e(0x11e)},'collaboration':{'single-unit':{'warning':_0x349c3e(0x117)},'closeRoom':'由于协同房间被关闭,编辑权限被收回。'},'auth':{'needGotoLoginAlert':_0x349c3e(0x119)}};function _0x30ab(_0xdb0833,_0x5935c2){const _0x1cd5bb=_0x1cd5();return _0x30ab=function(_0x30ab6a,_0xa4512){_0x30ab6a=_0x30ab6a-0x10f;let _0x4fceb8=_0x1cd5bb[_0x30ab6a];return _0x4fceb8;},_0x30ab(_0xdb0833,_0x5935c2);}module['exports']=locales;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x2318b5=_0xaded;function _0xf70f(){const _0xd4e876=['Local\x20file','1582134FOpJhc','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','2454718JiNHdU','24959930uctafl','Syncing\x20server\x20data...','Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','4138dQMsHW','2499744WFEpXy','5qigVAm','903ZkWivE','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','372136Gxxjhh','3784936EXbosP','Connection\x20failed.\x20Please\x20check\x20your\x20network.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','9HnfKoC','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0xf70f=function(){return _0xd4e876;};return _0xf70f();}(function(_0x54220b,_0x383b9a){const _0x2d4953=_0xaded,_0x91e9ff=_0x54220b();while(!![]){try{const _0xf12fea=-parseInt(_0x2d4953(0x1c6))/0x1+-parseInt(_0x2d4953(0x1c1))/0x2*(parseInt(_0x2d4953(0x1c4))/0x3)+-parseInt(_0x2d4953(0x1c2))/0x4+parseInt(_0x2d4953(0x1c3))/0x5*(parseInt(_0x2d4953(0x1ce))/0x6)+-parseInt(_0x2d4953(0x1d0))/0x7+parseInt(_0x2d4953(0x1c7))/0x8*(-parseInt(_0x2d4953(0x1ca))/0x9)+parseInt(_0x2d4953(0x1bb))/0xa;if(_0xf12fea===_0x383b9a)break;else _0x91e9ff['push'](_0x91e9ff['shift']());}catch(_0x3e91cb){_0x91e9ff['push'](_0x91e9ff['shift']());}}}(_0xf70f,0x4d292));const locale$1={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x2318b5(0x1bc),'conflict':_0x2318b5(0x1bd),'notCollab':_0x2318b5(0x1cd),'synced':'Synced','syncing':'Syncing...','offline':_0x2318b5(0x1cf)},'session':{'connection-failed':_0x2318b5(0x1c8),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x2318b5(0x1cc),'join-failed':_0x2318b5(0x1c0),'room-not-exists':_0x2318b5(0x1be),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x2318b5(0x1cb),'collaboration-timeout':_0x2318b5(0x1bf)},'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':_0x2318b5(0x1c9)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x2318b5(0x1c5)}},locale=locale$1;function _0xaded(_0x4f9e4b,_0x2af74a){const _0xf70f5a=_0xf70f();return _0xaded=function(_0xaded13,_0x260efb){_0xaded13=_0xaded13-0x1bb;let _0x56e8b2=_0xf70f5a[_0xaded13];return _0x56e8b2;},_0xaded(_0x4f9e4b,_0x2af74a);}module['exports']=locale;
|
package/lib/es/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var
|
1
|
+
var _0x49a6db=_0x1809;(function(_0x279575,_0x196674){var _0x1555db=_0x1809,_0x161bef=_0x279575();while(!![]){try{var _0x2d38f5=-parseInt(_0x1555db(0x202))/0x1+-parseInt(_0x1555db(0x206))/0x2+-parseInt(_0x1555db(0x1e6))/0x3*(-parseInt(_0x1555db(0x1e5))/0x4)+-parseInt(_0x1555db(0x1f8))/0x5+parseInt(_0x1555db(0x1f5))/0x6*(parseInt(_0x1555db(0x1ed))/0x7)+-parseInt(_0x1555db(0x1f7))/0x8+parseInt(_0x1555db(0x200))/0x9*(parseInt(_0x1555db(0x1f1))/0xa);if(_0x2d38f5===_0x196674)break;else _0x161bef['push'](_0x161bef['shift']());}catch(_0x24c5b9){_0x161bef['push'](_0x161bef['shift']());}}}(_0x1fa9,0x94858));var __defProp=Object[_0x49a6db(0x1f4)],__name=(_0x349e39,_0x182a22)=>__defProp(_0x349e39,_0x49a6db(0x1f9),{'value':_0x182a22,'configurable':!0x0});import{Inject,Injector,FBase,UniverInstanceType,toDisposable,IUniverInstanceService,FUniver}from'@univerjs/core';import{SnapshotService}from'@univerjs-pro/collaboration';import{CollaborationController,MemberService}from'@univerjs-pro/collaboration-client';import{switchMap}from'rxjs';var __defProp2=Object[_0x49a6db(0x1f4)],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__decorateClass=__name((_0x118e38,_0x527996,_0x43ca4c,_0x426a71)=>{var _0x565448=_0x49a6db;for(var _0xec540e=_0x426a71>0x1?void 0x0:_0x426a71?__getOwnPropDesc(_0x527996,_0x43ca4c):_0x527996,_0x44d6ab=_0x118e38[_0x565448(0x1fa)]-0x1,_0x46c13d;_0x44d6ab>=0x0;_0x44d6ab--)(_0x46c13d=_0x118e38[_0x44d6ab])&&(_0xec540e=(_0x426a71?_0x46c13d(_0x527996,_0x43ca4c,_0xec540e):_0x46c13d(_0xec540e))||_0xec540e);return _0x426a71&&_0xec540e&&__defProp2(_0x527996,_0x43ca4c,_0xec540e),_0xec540e;},_0x49a6db(0x1f2)),__decorateParam=__name((_0x263cde,_0x1f1dc9)=>(_0x2d3b28,_0x246ee0)=>_0x1f1dc9(_0x2d3b28,_0x246ee0,_0x263cde),_0x49a6db(0x1fc)),_a;let FCollaboration=(_a=class extends FBase{constructor(_0x4f6f71,_0x432b43,_0x228ecb,_0x12610d,_0x316b2f){var _0x420b51=_0x49a6db;super(),this[_0x420b51(0x1ff)]=_0x4f6f71,this['_injector']=_0x432b43,this[_0x420b51(0x203)]=_0x228ecb,this[_0x420b51(0x208)]=_0x12610d,this[_0x420b51(0x1e8)]=_0x316b2f;}async['loadActiveSheet'](){var _0x261e9e=_0x49a6db;return this[_0x261e9e(0x1ec)]();}async[_0x49a6db(0x1ec)](){var _0x544500=_0x49a6db;throw new Error(_0x544500(0x207));}async[_0x49a6db(0x1f3)](_0x3e6c1e){var _0x560a2c=_0x49a6db;return this[_0x560a2c(0x1e7)](_0x3e6c1e);}async[_0x49a6db(0x1e7)](_0x4d8b28){var _0x36cc63=_0x49a6db;return this[_0x36cc63(0x203)]['getUnit'](_0x4d8b28,UniverInstanceType[_0x36cc63(0x1ee)])||await this[_0x36cc63(0x208)][_0x36cc63(0x1f3)](_0x4d8b28,0x0)?(await this[_0x36cc63(0x1e8)][_0x36cc63(0x1eb)](_0x4d8b28),this[_0x36cc63(0x1ff)][_0x36cc63(0x204)](_0x4d8b28)):null;}['subscribeCollaborators'](_0x3a7c9a,_0x4a6182){var _0x112261=_0x49a6db;const _0x27c18e=this['_injector'][_0x112261(0x1f6)](MemberService)['waitForRoom$'](_0x3a7c9a)[_0x112261(0x1fe)](switchMap(_0x1d99f5=>_0x1d99f5[_0x112261(0x1fd)]))[_0x112261(0x1e9)](_0x3733b2=>_0x4a6182(Array[_0x112261(0x201)](_0x3733b2[_0x112261(0x1ea)]())));return toDisposable(_0x27c18e);}},__name(_a,'FCollaboration'),_a);function _0x1fa9(){var _0x562cb6=['values','readyForCollab','loadActiveSheetAsync','98yvxajM','UNIVER_SHEET','_injector','extend','30LgsaXv','__decorateClass','loadSheet','defineProperty','33936QriWCp','get','2865776GWSwxa','3828140UEazCh','name','length','FUniverCollaborationClientMixin','__decorateParam','members$','pipe','_handler','7712217bxXGHJ','from','1119858ovlIjF','_univerInstanceService','getUniverSheet','createInstance','955152dPElNr','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_snapshotService','543764HDMOyf','15JLtQhw','loadSheetAsync','_collaborationController','subscribe'];_0x1fa9=function(){return _0x562cb6;};return _0x1fa9();}FCollaboration=__decorateClass([__decorateParam(0x1,Inject(Injector)),__decorateParam(0x2,IUniverInstanceService),__decorateParam(0x3,Inject(SnapshotService)),__decorateParam(0x4,Inject(CollaborationController))],FCollaboration);function _0x1809(_0x3ea83f,_0x3ccfc8){var _0x1fa9bd=_0x1fa9();return _0x1809=function(_0x1809f9,_0x52edb2){_0x1809f9=_0x1809f9-0x1e5;var _0x2a52ab=_0x1fa9bd[_0x1809f9];return _0x2a52ab;},_0x1809(_0x3ea83f,_0x3ccfc8);}const _FUniverCollaborationClientMixin=class _FUniverCollaborationClientMixin extends FUniver{['getCollaboration'](){var _0x3301f0=_0x49a6db;return this[_0x3301f0(0x1ef)][_0x3301f0(0x205)](FCollaboration,{'getUniverSheet':__name(_0x29a835=>this['getUniverSheet'](_0x29a835),_0x3301f0(0x204))});}};__name(_FUniverCollaborationClientMixin,_0x49a6db(0x1fb));let FUniverCollaborationClientMixin=_FUniverCollaborationClientMixin;FUniver[_0x49a6db(0x1f0)](FUniverCollaborationClientMixin);export{FCollaboration};
|