@univerjs-pro/collaboration-client 0.7.0-beta.0 → 0.7.0-beta.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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +0 -8
- 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 +13 -13
package/lib/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x5aac(){const _0x43afe0=['Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','12236yePUSp','Syncing...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1187840mKzhIn','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','449387NiIPhP','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','448022sorBXn','Connection\x20failed.\x20Please\x20check\x20your\x20network.','45udrtpg','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','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\x20server\x20data...','Edit\x20conflicts','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','239790LdsEfa','340962uijvoJ','33eECyAO','35FNqoyr','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','121944FzlijG','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','501MiIkRg'];_0x5aac=function(){return _0x43afe0;};return _0x5aac();}const _0x3e47af=_0x509d;(function(_0x4df960,_0x1699b8){const _0x1d1edf=_0x509d,_0x2b28a0=_0x4df960();while(!![]){try{const _0x28cc5b=-parseInt(_0x1d1edf(0x114))/0x1+parseInt(_0x1d1edf(0xfa))/0x2+-parseInt(_0x1d1edf(0x10d))/0x3*(-parseInt(_0x1d1edf(0x10f))/0x4)+parseInt(_0x1d1edf(0x112))/0x5+parseInt(_0x1d1edf(0x104))/0x6*(parseInt(_0x1d1edf(0x106))/0x7)+parseInt(_0x1d1edf(0x108))/0x8*(-parseInt(_0x1d1edf(0xfc))/0x9)+-parseInt(_0x1d1edf(0x103))/0xa*(parseInt(_0x1d1edf(0x105))/0xb);if(_0x28cc5b===_0x1699b8)break;else _0x2b28a0['push'](_0x2b28a0['shift']());}catch(_0x45caae){_0x2b28a0['push'](_0x2b28a0['shift']());}}}(_0x5aac,0xa0e54));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x3e47af(0xff),'conflict':_0x3e47af(0x100),'notCollab':_0x3e47af(0x109),'synced':'Synced','syncing':_0x3e47af(0x110),'offline':_0x3e47af(0x10a)},'session':{'connection-failed':_0x3e47af(0xfb),'will-retry':_0x3e47af(0x101),'room-full':_0x3e47af(0x10b),'join-failed':_0x3e47af(0x113),'room-not-exists':_0x3e47af(0x10e),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x3e47af(0x115),'collaboration-timeout':_0x3e47af(0x111)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x3e47af(0x102)},'permission':{'title':'Authentication\x20Error','content':_0x3e47af(0xfe)},'collaboration':{'single-unit':{'warning':_0x3e47af(0x10c)},'closeRoom':_0x3e47af(0xfd)},'auth':{'needGotoLoginAlert':_0x3e47af(0x107)}};function _0x509d(_0xe3dd14,_0x2a0f98){const _0x5aacdd=_0x5aac();return _0x509d=function(_0x509db6,_0x1b2439){_0x509db6=_0x509db6-0xfa;let _0x352719=_0x5aacdd[_0x509db6];return _0x352719;},_0x509d(_0xe3dd14,_0x2a0f98);}export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x1793aa=_0x3199;(function(_0x303e7c,_0x324eaa){const _0x396cfc=_0x3199,_0x5eb65a=_0x303e7c();while(!![]){try{const _0xf4fd45=-parseInt(_0x396cfc(0x8b))/0x1+-parseInt(_0x396cfc(0x97))/0x2+-parseInt(_0x396cfc(0x9e))/0x3*(parseInt(_0x396cfc(0x96))/0x4)+-parseInt(_0x396cfc(0xa2))/0x5*(parseInt(_0x396cfc(0x89))/0x6)+-parseInt(_0x396cfc(0xa1))/0x7+parseInt(_0x396cfc(0x95))/0x8*(parseInt(_0x396cfc(0x92))/0x9)+-parseInt(_0x396cfc(0x8a))/0xa*(-parseInt(_0x396cfc(0x94))/0xb);if(_0xf4fd45===_0x324eaa)break;else _0x5eb65a['push'](_0x5eb65a['shift']());}catch(_0x5d71a6){_0x5eb65a['push'](_0x5eb65a['shift']());}}}(_0x1552,0x6b98d));const o={'collab-client':{'tooltip':{'reconnect':_0x1793aa(0xa3)}},'collabStatus':{'fetchMiss':_0x1793aa(0xa4),'conflict':_0x1793aa(0xa0),'notCollab':_0x1793aa(0x91),'synced':_0x1793aa(0x9d),'syncing':_0x1793aa(0x9c),'offline':_0x1793aa(0x98)},'session':{'connection-failed':_0x1793aa(0x8e),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x1793aa(0x90),'join-failed':_0x1793aa(0x9a),'room-not-exists':_0x1793aa(0x8c),'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':_0x1793aa(0x93)},'conflict':{'title':_0x1793aa(0x9f),'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':_0x1793aa(0x8f),'content':_0x1793aa(0x8d)},'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':_0x1793aa(0x99)},'auth':{'needGotoLoginAlert':_0x1793aa(0x9b)}};function _0x3199(_0x45e2b9,_0x59f100){const _0x15529f=_0x1552();return _0x3199=function(_0x31999a,_0x4c2163){_0x31999a=_0x31999a-0x89;let _0x53147a=_0x15529f[_0x31999a];return _0x53147a;},_0x3199(_0x45e2b9,_0x59f100);}function _0x1552(){const _0x4d48e2=['پرونده\x20محلی','9XIVlZZ','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','11DrUOfH','6680728aOZlSO','606428pZCEvl','145024bktqzE','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','در\x20حال\x20همگام\x20سازی...','همگام\x20سازی','3LNnmWd','تداخل\x20همکاری','تداخل\x20ویرایش','4507475jkxhRC','1979855mOkcbG','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','12sIGPdK','20334590quMhDJ','767847mQZwkP','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','خطای\x20اعتبارسنجی','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'];_0x1552=function(){return _0x4d48e2;};return _0x1552();}export{o as default};
|
package/lib/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x558381=_0x6769;(function(_0x4a4bbc,_0x198387){const _0xb515da=_0x6769,_0x1043e7=_0x4a4bbc();while(!![]){try{const _0x14b91f=parseInt(_0xb515da(0x116))/0x1*(parseInt(_0xb515da(0x122))/0x2)+parseInt(_0xb515da(0x11b))/0x3+-parseInt(_0xb515da(0x12b))/0x4+parseInt(_0xb515da(0x124))/0x5*(parseInt(_0xb515da(0x118))/0x6)+parseInt(_0xb515da(0x11a))/0x7+parseInt(_0xb515da(0x123))/0x8+parseInt(_0xb515da(0x12f))/0x9*(-parseInt(_0xb515da(0x115))/0xa);if(_0x14b91f===_0x198387)break;else _0x1043e7['push'](_0x1043e7['shift']());}catch(_0x2df4a2){_0x1043e7['push'](_0x1043e7['shift']());}}}(_0x2be0,0x2f428));const e={'collab-client':{'tooltip':{'reconnect':_0x558381(0x12d)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x558381(0x121),'notCollab':_0x558381(0x11f),'synced':_0x558381(0x11c),'syncing':_0x558381(0x120),'offline':_0x558381(0x129)},'session':{'connection-failed':_0x558381(0x119),'will-retry':_0x558381(0x12e),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x558381(0x11d),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x558381(0x125),'room-cnt-exceeds':_0x558381(0x127),'collaboration-timeout':_0x558381(0x11e)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x558381(0x128)},'permission':{'title':_0x558381(0x12c),'content':_0x558381(0x126)},'collaboration':{'single-unit':{'warning':_0x558381(0x12a)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x558381(0x117)}},o=e;function _0x2be0(){const _0xc51044=['Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','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.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','706452mTBbZn','Authentication\x20Error','Click\x20to\x20Reconnect','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','9tKosDK','4983620ksNXVx','3dRbyGQ','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','13614UNQppZ','Connection\x20failed.\x20Please\x20check\x20your\x20network.','2322411KCpiwP','31968tLaJuf','Synced','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','Syncing...','Edit\x20conflicts','26584QPIlhM','2782696dKAiRb','305vbFnKg','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x2be0=function(){return _0xc51044;};return _0x2be0();}function _0x6769(_0x2ec5c5,_0x446c2b){const _0x2be0fe=_0x2be0();return _0x6769=function(_0x6769a,_0x1af045){_0x6769a=_0x6769a-0x115;let _0x5a02a2=_0x2be0fe[_0x6769a];return _0x5a02a2;},_0x6769(_0x2ec5c5,_0x446c2b);}export{o as default};
|
package/lib/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x184f0c=_0x1fd2;(function(_0x344848,_0x1ecf75){const _0x2a8068=_0x1fd2,_0x1d6862=_0x344848();while(!![]){try{const _0x817203=parseInt(_0x2a8068(0xb9))/0x1+parseInt(_0x2a8068(0xbd))/0x2+parseInt(_0x2a8068(0xb2))/0x3+parseInt(_0x2a8068(0xbb))/0x4*(parseInt(_0x2a8068(0xc5))/0x5)+parseInt(_0x2a8068(0xc2))/0x6*(-parseInt(_0x2a8068(0xc3))/0x7)+parseInt(_0x2a8068(0xc1))/0x8+-parseInt(_0x2a8068(0xc0))/0x9;if(_0x817203===_0x1ecf75)break;else _0x1d6862['push'](_0x1d6862['shift']());}catch(_0x15159b){_0x1d6862['push'](_0x1d6862['shift']());}}}(_0x5627,0x9735b));const e={'collab-client':{'tooltip':{'reconnect':_0x184f0c(0xb8)}},'collabStatus':{'fetchMiss':_0x184f0c(0xb7),'conflict':_0x184f0c(0xb0),'notCollab':_0x184f0c(0xc4),'synced':'Synced','syncing':_0x184f0c(0xb1),'offline':_0x184f0c(0xb6)},'session':{'connection-failed':_0x184f0c(0xb3),'will-retry':_0x184f0c(0xbf),'room-full':_0x184f0c(0xbc),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x184f0c(0xc7)},'conflict':{'title':_0x184f0c(0xb5),'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':_0x184f0c(0xbe)},'collaboration':{'single-unit':{'warning':_0x184f0c(0xb4)},'closeRoom':_0x184f0c(0xba)},'auth':{'needGotoLoginAlert':_0x184f0c(0xc6)}},o=e;function _0x5627(){const _0x4f9019=['1901388TaOoTR','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','21785634olEtBz','5804048AVeQdG','272682nYcLkZ','133CdSFga','Local\x20file','1540XwKhIF','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Edit\x20conflicts','Syncing...','2558256KIMAmw','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.','Collaboration\x20Conflict','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing\x20server\x20data...','Click\x20to\x20Reconnect','583270XxxJRI','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','10276AMEiBl','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x5627=function(){return _0x4f9019;};return _0x5627();}function _0x1fd2(_0xc18ee4,_0x20e729){const _0x5627df=_0x5627();return _0x1fd2=function(_0x1fd261,_0x450a5c){_0x1fd261=_0x1fd261-0xb0;let _0xff118=_0x5627df[_0x1fd261];return _0xff118;},_0x1fd2(_0xc18ee4,_0x20e729);}export{o as default};
|
package/lib/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x4cbacb=_0x5c54;(function(_0x560ce,_0x14a554){const _0x3114f9=_0x5c54,_0x327c02=_0x560ce();while(!![]){try{const _0x53d144=-parseInt(_0x3114f9(0x8f))/0x1+parseInt(_0x3114f9(0x89))/0x2*(-parseInt(_0x3114f9(0x84))/0x3)+-parseInt(_0x3114f9(0x90))/0x4+-parseInt(_0x3114f9(0x87))/0x5+parseInt(_0x3114f9(0x94))/0x6*(parseInt(_0x3114f9(0x81))/0x7)+-parseInt(_0x3114f9(0x93))/0x8*(parseInt(_0x3114f9(0x86))/0x9)+parseInt(_0x3114f9(0x88))/0xa*(parseInt(_0x3114f9(0x9a))/0xb);if(_0x53d144===_0x14a554)break;else _0x327c02['push'](_0x327c02['shift']());}catch(_0x2b3367){_0x327c02['push'](_0x327c02['shift']());}}}(_0x4604,0x4f230));const e={'collab-client':{'tooltip':{'reconnect':_0x4cbacb(0x8b)}},'collabStatus':{'fetchMiss':_0x4cbacb(0x8e),'conflict':'Edit\x20conflicts','notCollab':_0x4cbacb(0x98),'synced':_0x4cbacb(0x80),'syncing':'Syncing...','offline':_0x4cbacb(0x85)},'session':{'connection-failed':_0x4cbacb(0x82),'will-retry':_0x4cbacb(0x95),'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':_0x4cbacb(0x91),'room-permission-denied':_0x4cbacb(0x83),'room-cnt-exceeds':_0x4cbacb(0x99),'collaboration-timeout':_0x4cbacb(0x97)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x4cbacb(0x8d)},'permission':{'title':_0x4cbacb(0x96),'content':_0x4cbacb(0x92)},'collaboration':{'single-unit':{'warning':_0x4cbacb(0x8c)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x4cbacb(0x8a)}},o=e;function _0x4604(){const _0x207e76=['1064425qXQIfN','3643480jQkkNT','23498IyYLmT','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Click\x20to\x20Reconnect','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','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.','Syncing\x20server\x20data...','69582fuQAQv','938640lwCeZx','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','104OPlVQJ','6aVdOfy','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Authentication\x20Error','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','22RFJKOr','Synced','2900443oZkGTW','Connection\x20failed.\x20Please\x20check\x20your\x20network.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','21mvvXue','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','151983fgVPOs'];_0x4604=function(){return _0x207e76;};return _0x4604();}function _0x5c54(_0xa1bc01,_0x1c48a7){const _0x460411=_0x4604();return _0x5c54=function(_0x5c54b3,_0xb1a6b6){_0x5c54b3=_0x5c54b3-0x80;let _0x111b80=_0x460411[_0x5c54b3];return _0x111b80;},_0x5c54(_0xa1bc01,_0x1c48a7);}export{o as default};
|
package/lib/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x56694c=_0x17cb;(function(_0x5e7c44,_0x2e4f94){const _0x19daee=_0x17cb,_0x4defd5=_0x5e7c44();while(!![]){try{const _0x5dd3d9=-parseInt(_0x19daee(0x182))/0x1*(parseInt(_0x19daee(0x18b))/0x2)+parseInt(_0x19daee(0x183))/0x3*(-parseInt(_0x19daee(0x190))/0x4)+parseInt(_0x19daee(0x185))/0x5*(-parseInt(_0x19daee(0x18e))/0x6)+-parseInt(_0x19daee(0x192))/0x7*(parseInt(_0x19daee(0x186))/0x8)+-parseInt(_0x19daee(0x18f))/0x9+-parseInt(_0x19daee(0x191))/0xa+parseInt(_0x19daee(0x187))/0xb;if(_0x5dd3d9===_0x2e4f94)break;else _0x4defd5['push'](_0x4defd5['shift']());}catch(_0x3e88ca){_0x4defd5['push'](_0x4defd5['shift']());}}}(_0x37b7,0x98dd7));const o={'collab-client':{'tooltip':{'reconnect':_0x56694c(0x184)}},'collabStatus':{'fetchMiss':'正在拉取服务端数据...','conflict':_0x56694c(0x193),'notCollab':_0x56694c(0x18c),'synced':_0x56694c(0x18d),'syncing':_0x56694c(0x17f),'offline':_0x56694c(0x188)},'session':{'connection-failed':'连接失败,请检查你的网络','will-retry':_0x56694c(0x181),'room-full':_0x56694c(0x17d),'join-failed':_0x56694c(0x180),'room-not-exists':'加入协同失败,你的编辑将在本地缓存','room-permission-denied':'没有协同权限,你的编辑将在本地缓存','room-cnt-exceeds':'协同文档数量超过限制,你的编辑将在本地缓存','collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':'协同冲突','content':'你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'permission':{'title':'权限错误','content':_0x56694c(0x17c)},'collaboration':{'single-unit':{'warning':_0x56694c(0x18a)},'closeRoom':_0x56694c(0x189)},'auth':{'needGotoLoginAlert':_0x56694c(0x17e)}};export{o as default};function _0x17cb(_0x5c781b,_0x62433d){const _0x37b722=_0x37b7();return _0x17cb=function(_0x17cbf0,_0x1d2c80){_0x17cbf0=_0x17cbf0-0x17c;let _0x597187=_0x37b722[_0x17cbf0];return _0x597187;},_0x17cb(_0x5c781b,_0x62433d);}function _0x37b7(){const _0x3467a7=['56195073IkFalp','已离线,编辑将在本地缓存','由于协同房间被关闭,编辑权限被收回。','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','34dpsjUr','本地文件','已同步','138WjNhci','5604966VPDmgS','120srAdRX','8733650DSaBuC','7309057mrUXuY','编辑冲突','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','此文档协同人数已满,你的编辑将在本地缓存','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','保存中...','加入协同失败,请稍后重试,你的编辑将在本地缓存','连接失败,将在一会儿之后重试连接','13179lIdKsq','68214jPBzcp','点击重新连接','225225wUPFbt','8zCRuoU'];_0x37b7=function(){return _0x3467a7;};return _0x37b7();}
|
package/lib/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x1d5300=_0x517a;(function(_0x2e31be,_0x5c5331){const _0x48f441=_0x517a,_0x10d446=_0x2e31be();while(!![]){try{const _0x1994e1=-parseInt(_0x48f441(0x17d))/0x1+-parseInt(_0x48f441(0x175))/0x2+-parseInt(_0x48f441(0x16e))/0x3*(-parseInt(_0x48f441(0x176))/0x4)+parseInt(_0x48f441(0x17c))/0x5+parseInt(_0x48f441(0x179))/0x6+parseInt(_0x48f441(0x170))/0x7+-parseInt(_0x48f441(0x16d))/0x8;if(_0x1994e1===_0x5c5331)break;else _0x10d446['push'](_0x10d446['shift']());}catch(_0x36d355){_0x10d446['push'](_0x10d446['shift']());}}}(_0x5a8b,0x6ef99));function _0x5a8b(){const _0x545116=['13452104pgGRFM','60nmymoF','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.','4044985veHviu','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...','307656VuQPgl','173192XdoJnS','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','4149906krXEti','Edit\x20conflicts','Connection\x20failed.\x20Please\x20check\x20your\x20network.','1716935xeVdLa','188959FOXCLt','Click\x20to\x20Reconnect','Authentication\x20Error','Syncing\x20server\x20data...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'];_0x5a8b=function(){return _0x545116;};return _0x5a8b();}function _0x517a(_0x21d23b,_0x23ddcc){const _0x5a8be6=_0x5a8b();return _0x517a=function(_0x517af0,_0x4def68){_0x517af0=_0x517af0-0x16a;let _0x1a31e1=_0x5a8be6[_0x517af0];return _0x1a31e1;},_0x517a(_0x21d23b,_0x23ddcc);}const e={'collab-client':{'tooltip':{'reconnect':_0x1d5300(0x17e)}},'collabStatus':{'fetchMiss':_0x1d5300(0x16b),'conflict':_0x1d5300(0x17a),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x1d5300(0x174),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x1d5300(0x17b),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x1d5300(0x171),'join-failed':_0x1d5300(0x173),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x1d5300(0x172),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x1d5300(0x16f)},'permission':{'title':_0x1d5300(0x16a),'content':_0x1d5300(0x177)},'collaboration':{'single-unit':{'warning':_0x1d5300(0x16c)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x1d5300(0x178)}},o=e;export{o as default};
|
@@ -107,8 +107,6 @@ export declare abstract class CollaborationState {
|
|
107
107
|
protected _transformRemoteChangesetByIMECache(changeset: IChangeset): IChangeset;
|
108
108
|
protected _transformRemoteChangesetByStateCache(changeset: IChangeset): IChangeset;
|
109
109
|
protected _syncEditingCollabCursor(changeset: IChangeset): void;
|
110
|
-
/** @internal */
|
111
|
-
_updateLocalCache(): void;
|
112
110
|
protected _getCurrentRevision(): number;
|
113
111
|
protected _incrementRevisionNumber(): void;
|
114
112
|
protected _executeRemoteChangeset(changeset: IChangeset): void;
|
@@ -157,12 +155,6 @@ export declare class PendingState extends CollaborationState {
|
|
157
155
|
onRemoteRetry(): CollaborationState;
|
158
156
|
toggleOffline(): CollaborationState;
|
159
157
|
toggleOnline(): CollaborationState;
|
160
|
-
/**
|
161
|
-
* Schedule a task to send changeset to the server.
|
162
|
-
*
|
163
|
-
* @internal
|
164
|
-
*/
|
165
|
-
_schedule(t?: number): void;
|
166
158
|
private _getSendChangesetTimeout;
|
167
159
|
resend(): void;
|
168
160
|
private _clearScheduledTask;
|
package/lib/umd/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x4b1a(_0x559614,_0x40df07){var _0x4039e8=_0x4039();return _0x4b1a=function(_0x4b1ae7,_0x149707){_0x4b1ae7=_0x4b1ae7-0xcb;var _0x251460=_0x4039e8[_0x4b1ae7];return _0x251460;},_0x4b1a(_0x559614,_0x40df07);}function _0x4039(){var _0x3398ad=['SnapshotService','members$','loadActiveSheetAsync','toDisposable','Injector','FCollaboration','subscribeCollaborators','CollaborationController','@univerjs/core','pipe','313882atNWpI','from','FUniver','loadUnit','_handler','getOwnPropertyDescriptor','length','createInstance','switchMap','get','loadSheetAsync','2603943epgGeu','1002172HHyviW','function','UniverCore','36008HdBChj','_univerInstanceService','UniverProCollaborationClientFacade','subscribe','values','_snapshotService','_collaborationController','getUniverSheet','getCollaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs-pro/collaboration-client','5RZGiQz','defineProperty','UniverProCollaborationClient','1457802HklfDc','readyForCollab','IUniverInstanceService','UniverCoreFacade','@univerjs-pro/collaboration','554085ZGrOwV','rxjs','loadSheet','loadActiveSheet','406MSmwEi','object','@univerjs/core/facade','169082NXjxpU','UniverProCollaboration','exports','_injector'];_0x4039=function(){return _0x3398ad;};return _0x4039();}(function(_0x47b5fd,_0x4477ac){var _0x5b55df=_0x4b1a,_0x580d61=_0x47b5fd();while(!![]){try{var _0x4b1938=parseInt(_0x5b55df(0x100))/0x1+-parseInt(_0x5b55df(0xd7))/0x2+parseInt(_0x5b55df(0xf9))/0x3+-parseInt(_0x5b55df(0xe3))/0x4+parseInt(_0x5b55df(0xf1))/0x5*(parseInt(_0x5b55df(0xf4))/0x6)+-parseInt(_0x5b55df(0xfd))/0x7*(-parseInt(_0x5b55df(0xe6))/0x8)+-parseInt(_0x5b55df(0xe2))/0x9;if(_0x4b1938===_0x4477ac)break;else _0x580d61['push'](_0x580d61['shift']());}catch(_0x8ad2b5){_0x580d61['push'](_0x580d61['shift']());}}}(_0x4039,0x274df),function(_0x5e2a8f,_0x4c8cdf){var _0x363f51=_0x4b1a;typeof exports==_0x363f51(0xfe)&&typeof module<'u'?_0x4c8cdf(exports,require(_0x363f51(0xf0)),require('@univerjs/core/facade'),require(_0x363f51(0xf8)),require(_0x363f51(0xd5)),require('rxjs')):typeof define==_0x363f51(0xe4)&&define['amd']?define([_0x363f51(0xcb),'@univerjs-pro/collaboration-client',_0x363f51(0xff),_0x363f51(0xf8),_0x363f51(0xd5),'rxjs'],_0x4c8cdf):(_0x5e2a8f=typeof globalThis<'u'?globalThis:_0x5e2a8f||self,_0x4c8cdf(_0x5e2a8f[_0x363f51(0xe8)]={},_0x5e2a8f[_0x363f51(0xf3)],_0x5e2a8f[_0x363f51(0xf7)],_0x5e2a8f[_0x363f51(0x101)],_0x5e2a8f[_0x363f51(0xe5)],_0x5e2a8f[_0x363f51(0xfa)]));}(this,function(_0x505b07,_0x52a839,_0x4bdc7f,_0xbd0983,_0x3791f0,_0x34d666){'use strict';var _0x136227=_0x4b1a;var _0x100fc5=Object[_0x136227(0xdc)],_0x4fc267=(_0x1d3994,_0xe72bbe,_0xd89f01,_0x1c7a6b)=>{var _0x7676f=_0x136227;for(var _0x389503=_0x1c7a6b>0x1?void 0x0:_0x1c7a6b?_0x100fc5(_0xe72bbe,_0xd89f01):_0xe72bbe,_0x3cb224=_0x1d3994[_0x7676f(0xdd)]-0x1,_0xaff35f;_0x3cb224>=0x0;_0x3cb224--)(_0xaff35f=_0x1d3994[_0x3cb224])&&(_0x389503=_0xaff35f(_0x389503)||_0x389503);return _0x389503;},_0x285c5c=(_0x42d258,_0x11661d)=>(_0x293aa5,_0x564a3e)=>_0x11661d(_0x293aa5,_0x564a3e,_0x42d258);_0x505b07[_0x136227(0xd2)]=class extends _0x4bdc7f['FBase']{constructor(_0x35760e,_0x11b3f8,_0x31e376,_0x58b791,_0x28dec2){var _0x1a4ef7=_0x136227;super(),this[_0x1a4ef7(0xdb)]=_0x35760e,this[_0x1a4ef7(0xcc)]=_0x11b3f8,this[_0x1a4ef7(0xe7)]=_0x31e376,this[_0x1a4ef7(0xeb)]=_0x58b791,this[_0x1a4ef7(0xec)]=_0x28dec2;}async[_0x136227(0xfc)](){var _0x5dae77=_0x136227;return this[_0x5dae77(0xcf)]();}async[_0x136227(0xcf)](){var _0xe5a7c4=_0x136227;throw new Error(_0xe5a7c4(0xef));}async[_0x136227(0xfb)](_0x395731){var _0x56bef4=_0x136227;return this[_0x56bef4(0xe1)](_0x395731);}async[_0x136227(0xe1)](_0x204817,_0x5e1be1){var _0x3694d0=_0x136227;return await this['_snapshotService'][_0x3694d0(0xfb)](_0x204817,0x0,_0x5e1be1)?(await this[_0x3694d0(0xec)][_0x3694d0(0xf5)](_0x204817),this[_0x3694d0(0xdb)][_0x3694d0(0xed)](_0x204817)):null;}[_0x136227(0xd3)](_0x513fda,_0x39186c){var _0x55833f=_0x136227;const _0x5297c9=this[_0x55833f(0xcc)][_0x55833f(0xe0)](_0x52a839['MemberService'])['waitForRoom$'](_0x513fda)[_0x55833f(0xd6)](_0x34d666[_0x55833f(0xdf)](_0x55156d=>_0x55156d[_0x55833f(0xce)]))[_0x55833f(0xe9)](_0x1f891b=>_0x39186c(Array[_0x55833f(0xd8)](_0x1f891b[_0x55833f(0xea)]())));return _0x3791f0[_0x55833f(0xd0)](_0x5297c9);}},_0x505b07[_0x136227(0xd2)]=_0x4fc267([_0x285c5c(0x1,_0x3791f0['Inject'](_0x3791f0[_0x136227(0xd1)])),_0x285c5c(0x2,_0x3791f0[_0x136227(0xf6)]),_0x285c5c(0x3,_0x3791f0['Inject'](_0xbd0983[_0x136227(0xcd)])),_0x285c5c(0x4,_0x3791f0['Inject'](_0x52a839[_0x136227(0xd4)]))],_0x505b07[_0x136227(0xd2)]);class _0x4dd8ab extends _0x4bdc7f[_0x136227(0xd9)]{[_0x136227(0xee)](){var _0x34993e=_0x136227;return this[_0x34993e(0xcc)][_0x34993e(0xde)](_0x505b07['FCollaboration'],{'getUniverSheet':_0x1959bb=>this[_0x34993e(0xed)](_0x1959bb)});}['loadServerUnit'](_0x4ca083,_0x31ab41,_0x25d901){var _0xf541a4=_0x136227;return this['_injector'][_0xf541a4(0xde)](_0x52a839['DataLoaderService'])[_0xf541a4(0xda)](_0x4ca083,_0x31ab41,_0x25d901);}}_0x4bdc7f[_0x136227(0xd9)]['extend'](_0x4dd8ab),Object[_0x136227(0xf2)](_0x505b07,Symbol['toStringTag'],{'value':'Module'});}));
|