@univerjs-pro/collaboration-client 0.5.1-nightly.202412090925 → 0.5.1-nightly.202412100649
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 +5 -4
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x46ee(_0x32ac60,_0x54ce22){const _0x4a5847=_0x4a58();return _0x46ee=function(_0x46ee90,_0x2a4173){_0x46ee90=_0x46ee90-0x126;let _0x46db65=_0x4a5847[_0x46ee90];return _0x46db65;},_0x46ee(_0x32ac60,_0x54ce22);}const _0x1ae169=_0x46ee;(function(_0x1c4de4,_0x29e6ac){const _0x44a4d0=_0x46ee,_0x2dee9b=_0x1c4de4();while(!![]){try{const _0x45655d=parseInt(_0x44a4d0(0x12d))/0x1*(parseInt(_0x44a4d0(0x133))/0x2)+-parseInt(_0x44a4d0(0x132))/0x3+parseInt(_0x44a4d0(0x130))/0x4*(parseInt(_0x44a4d0(0x127))/0x5)+parseInt(_0x44a4d0(0x12c))/0x6*(parseInt(_0x44a4d0(0x13e))/0x7)+parseInt(_0x44a4d0(0x13b))/0x8+-parseInt(_0x44a4d0(0x131))/0x9*(parseInt(_0x44a4d0(0x137))/0xa)+parseInt(_0x44a4d0(0x12a))/0xb*(-parseInt(_0x44a4d0(0x12e))/0xc);if(_0x45655d===_0x29e6ac)break;else _0x2dee9b['push'](_0x2dee9b['shift']());}catch(_0x5a3b7e){_0x2dee9b['push'](_0x2dee9b['shift']());}}}(_0x4a58,0xd6ab4));const e={'collab-client':{'tooltip':{'reconnect':_0x1ae169(0x134)}},'collabStatus':{'fetchMiss':_0x1ae169(0x12b),'conflict':_0x1ae169(0x141),'notCollab':_0x1ae169(0x13c),'synced':'Synced','syncing':'Syncing...','offline':_0x1ae169(0x128)},'session':{'connection-failed':_0x1ae169(0x138),'will-retry':_0x1ae169(0x135),'room-full':_0x1ae169(0x13d),'join-failed':_0x1ae169(0x136),'room-not-exists':_0x1ae169(0x142),'room-permission-denied':_0x1ae169(0x13a),'room-cnt-exceeds':_0x1ae169(0x140),'collaboration-timeout':_0x1ae169(0x12f)},'conflict':{'title':_0x1ae169(0x139),'content':_0x1ae169(0x126)},'permission':{'title':'Authentication\x20Error','content':_0x1ae169(0x143)},'collaboration':{'single-unit':{'warning':_0x1ae169(0x129)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x1ae169(0x13f)}};export{e as default};function _0x4a58(){const _0x2afad5=['Edit\x20conflicts','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.','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.','20AQqUSc','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.','992013mFKZVz','Syncing\x20server\x20data...','199128OoONgC','1660755mWnOwR','24FAhGBr','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','125084jnkZmA','8982mtLAea','2479188OfTPAo','2yBuPtN','Click\x20to\x20Reconnect','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','9460sJrcgC','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Collaboration\x20Conflict','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','654904BTUxCR','Local\x20file','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','203RwDlMV','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x4a58=function(){return _0x2afad5;};return _0x4a58();}
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x1abefe=_0x1fbd;(function(_0x27a24b,_0x5d1587){const _0x296657=_0x1fbd,_0x5ca634=_0x27a24b();while(!![]){try{const _0x1a8595=-parseInt(_0x296657(0x162))/0x1*(-parseInt(_0x296657(0x169))/0x2)+parseInt(_0x296657(0x153))/0x3*(-parseInt(_0x296657(0x15a))/0x4)+-parseInt(_0x296657(0x154))/0x5+-parseInt(_0x296657(0x156))/0x6+parseInt(_0x296657(0x166))/0x7+parseInt(_0x296657(0x151))/0x8*(-parseInt(_0x296657(0x157))/0x9)+-parseInt(_0x296657(0x15b))/0xa*(-parseInt(_0x296657(0x160))/0xb);if(_0x1a8595===_0x5d1587)break;else _0x5ca634['push'](_0x5ca634['shift']());}catch(_0x377ff5){_0x5ca634['push'](_0x5ca634['shift']());}}}(_0x4853,0x33d08));const o={'collab-client':{'tooltip':{'reconnect':_0x1abefe(0x15d)}},'collabStatus':{'fetchMiss':_0x1abefe(0x14f),'conflict':_0x1abefe(0x159),'notCollab':'پرونده\x20محلی','synced':'همگام\x20سازی','syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x1abefe(0x167)},'session':{'connection-failed':_0x1abefe(0x164),'will-retry':_0x1abefe(0x155),'room-full':_0x1abefe(0x15c),'join-failed':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-not-exists':_0x1abefe(0x168),'room-permission-denied':_0x1abefe(0x161),'room-cnt-exceeds':_0x1abefe(0x163),'collaboration-timeout':_0x1abefe(0x165)},'conflict':{'title':_0x1abefe(0x15f),'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':_0x1abefe(0x152),'content':_0x1abefe(0x150)},'collaboration':{'single-unit':{'warning':_0x1abefe(0x15e)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x1abefe(0x158)}};function _0x4853(){const _0x54bf7c=['برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','تداخل\x20همکاری','5599GRxHqL','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','81091MTnyAR','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','2654708SWfdjN','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','8HOWIpm','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','8MIOLmO','خطای\x20اعتبارسنجی','14901lwbQja','1550365aDvdhC','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','1549770RYOsyP','728019LWQTkn','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','تداخل\x20ویرایش','152qZZGqK','6810TFaKme','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'];_0x4853=function(){return _0x54bf7c;};return _0x4853();}function _0x1fbd(_0x255c8e,_0xd96a29){const _0x485331=_0x4853();return _0x1fbd=function(_0x1fbdc0,_0x945bd9){_0x1fbdc0=_0x1fbdc0-0x14f;let _0x44f4ab=_0x485331[_0x1fbdc0];return _0x44f4ab;},_0x1fbd(_0x255c8e,_0xd96a29);}export{o as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x12e534=_0x2299;(function(_0x4963c9,_0x3d8560){const _0x117567=_0x2299,_0x3edd07=_0x4963c9();while(!![]){try{const _0x54cd52=-parseInt(_0x117567(0xa3))/0x1+-parseInt(_0x117567(0x97))/0x2+-parseInt(_0x117567(0x9b))/0x3+parseInt(_0x117567(0xa5))/0x4*(parseInt(_0x117567(0xa2))/0x5)+-parseInt(_0x117567(0x92))/0x6*(parseInt(_0x117567(0xa0))/0x7)+-parseInt(_0x117567(0xa9))/0x8*(parseInt(_0x117567(0x94))/0x9)+parseInt(_0x117567(0x95))/0xa;if(_0x54cd52===_0x3d8560)break;else _0x3edd07['push'](_0x3edd07['shift']());}catch(_0x57f17f){_0x3edd07['push'](_0x3edd07['shift']());}}}(_0x1bdd,0x70ad5));function _0x2299(_0x97ffe,_0x155dc2){const _0x1bdde9=_0x1bdd();return _0x2299=function(_0x229967,_0x33ceb2){_0x229967=_0x229967-0x91;let _0x2bd1cb=_0x1bdde9[_0x229967];return _0x2bd1cb;},_0x2299(_0x97ffe,_0x155dc2);}const e={'collab-client':{'tooltip':{'reconnect':_0x12e534(0xaa)}},'collabStatus':{'fetchMiss':_0x12e534(0x9e),'conflict':_0x12e534(0xa1),'notCollab':'Local\x20file','synced':_0x12e534(0xa4),'syncing':_0x12e534(0x93),'offline':_0x12e534(0x91)},'session':{'connection-failed':_0x12e534(0x9a),'will-retry':_0x12e534(0xac),'room-full':_0x12e534(0x98),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x12e534(0x9c),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x12e534(0xa8),'collaboration-timeout':_0x12e534(0xab)},'conflict':{'title':_0x12e534(0x99),'content':_0x12e534(0x96)},'permission':{'title':_0x12e534(0xa6),'content':_0x12e534(0x9f)},'collaboration':{'single-unit':{'warning':_0x12e534(0xa7)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x12e534(0x9d)}},o=e;export{o as default};function _0x1bdd(){const _0x13423d=['Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','220136kbxMEb','Edit\x20conflicts','5kHgulP','512094ciPOQv','Synced','1867448WaMoYh','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3832pebtIN','Click\x20to\x20Reconnect','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','174sEzEWv','Syncing...','5247lmpvlC','28699950slQbsK','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.','1800584RmbNYQ','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Collaboration\x20Conflict','Connection\x20failed.\x20Please\x20check\x20your\x20network.','815091RNRIKy'];_0x1bdd=function(){return _0x13423d;};return _0x1bdd();}
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x3c78(_0xb3882f,_0x3dbb56){const _0x411f9f=_0x411f();return _0x3c78=function(_0x3c78b8,_0x1e75e7){_0x3c78b8=_0x3c78b8-0xca;let _0x351d99=_0x411f9f[_0x3c78b8];return _0x351d99;},_0x3c78(_0xb3882f,_0x3dbb56);}const _0x1ec3a4=_0x3c78;(function(_0x124680,_0x12cc07){const _0x2c374f=_0x3c78,_0x4df99e=_0x124680();while(!![]){try{const _0x2c279a=-parseInt(_0x2c374f(0xd7))/0x1+parseInt(_0x2c374f(0xdb))/0x2*(parseInt(_0x2c374f(0xcb))/0x3)+parseInt(_0x2c374f(0xcd))/0x4+parseInt(_0x2c374f(0xce))/0x5+parseInt(_0x2c374f(0xd3))/0x6+parseInt(_0x2c374f(0xd5))/0x7+-parseInt(_0x2c374f(0xd4))/0x8;if(_0x2c279a===_0x12cc07)break;else _0x4df99e['push'](_0x4df99e['shift']());}catch(_0x548620){_0x4df99e['push'](_0x4df99e['shift']());}}}(_0x411f,0xda25e));function _0x411f(){const _0x362851=['Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','337842dTjhZG','16629888zPRvTL','7063245PMkJoT','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1068523XczFNg','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing...','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','105372jeJXuO','Click\x20to\x20Reconnect','18wyhAXP','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','6055148ZiOZlm','5727740tUqHiK','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Synced','Local\x20file'];_0x411f=function(){return _0x362851;};return _0x411f();}const e={'collab-client':{'tooltip':{'reconnect':_0x1ec3a4(0xca)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':_0x1ec3a4(0xd1),'synced':_0x1ec3a4(0xd0),'syncing':_0x1ec3a4(0xd9),'offline':_0x1ec3a4(0xd2)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x1ec3a4(0xda),'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':'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':_0x1ec3a4(0xcc),'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':'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':_0x1ec3a4(0xcf)},'closeRoom':_0x1ec3a4(0xd8)},'auth':{'needGotoLoginAlert':_0x1ec3a4(0xd6)}},o=e;export{o as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
const _0x5aefe2=_0x2719;(function(_0x540c86,_0x5e2ccf){const _0x11ff90=_0x2719,_0x37958c=_0x540c86();while(!![]){try{const _0x1e90d7=-parseInt(_0x11ff90(0x9f))/0x1*(parseInt(_0x11ff90(0xad))/0x2)+-parseInt(_0x11ff90(0x97))/0x3+parseInt(_0x11ff90(0xa3))/0x4*(parseInt(_0x11ff90(0x9a))/0x5)+-parseInt(_0x11ff90(0x9d))/0x6+-parseInt(_0x11ff90(0xa4))/0x7*(parseInt(_0x11ff90(0x9c))/0x8)+parseInt(_0x11ff90(0xa7))/0x9*(-parseInt(_0x11ff90(0xa8))/0xa)+parseInt(_0x11ff90(0x96))/0xb;if(_0x1e90d7===_0x5e2ccf)break;else _0x37958c['push'](_0x37958c['shift']());}catch(_0x3cd0f4){_0x37958c['push'](_0x37958c['shift']());}}}(_0x5b67,0x464ba));function _0x2719(_0x18a6ca,_0x169a3b){const _0x5b67ed=_0x5b67();return _0x2719=function(_0x2719c6,_0x4329ea){_0x2719c6=_0x2719c6-0x95;let _0x1324d6=_0x5b67ed[_0x2719c6];return _0x1324d6;},_0x2719(_0x18a6ca,_0x169a3b);}function _0x5b67(){const _0xcd67b=['Local\x20file','1531330mVEfFa','Syncing...','160DWpwxt','2534526eLvMQJ','Connection\x20failed.\x20Please\x20check\x20your\x20network.','3088VizJRF','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Edit\x20conflicts','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','4GxmgIu','22862enoMVa','Click\x20to\x20Reconnect','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','315SXeiyQ','139720ezEijh','Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\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.','136ECmrol','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\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Synced','12892187eXsgtL','10824eyYcTB','Authentication\x20Error'];_0x5b67=function(){return _0xcd67b;};return _0x5b67();}const e={'collab-client':{'tooltip':{'reconnect':_0x5aefe2(0xa5)}},'collabStatus':{'fetchMiss':_0x5aefe2(0xa9),'conflict':_0x5aefe2(0xa1),'notCollab':_0x5aefe2(0x99),'synced':_0x5aefe2(0x95),'syncing':_0x5aefe2(0x9b),'offline':_0x5aefe2(0xaa)},'session':{'connection-failed':_0x5aefe2(0x9e),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x5aefe2(0xab),'room-not-exists':_0x5aefe2(0xa6),'room-permission-denied':_0x5aefe2(0xa0),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x5aefe2(0xaf)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x5aefe2(0xae)},'permission':{'title':_0x5aefe2(0x98),'content':_0x5aefe2(0xa2)},'collaboration':{'single-unit':{'warning':_0x5aefe2(0xac)},'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/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x172eb0=_0x5ce9;(function(_0x351124,_0x59039b){const _0x12f863=_0x5ce9,_0x2154fc=_0x351124();while(!![]){try{const _0x452e09=-parseInt(_0x12f863(0xc0))/0x1+-parseInt(_0x12f863(0xb4))/0x2*(parseInt(_0x12f863(0xc4))/0x3)+parseInt(_0x12f863(0xbc))/0x4+-parseInt(_0x12f863(0xca))/0x5*(-parseInt(_0x12f863(0xc2))/0x6)+-parseInt(_0x12f863(0xc5))/0x7+-parseInt(_0x12f863(0xb7))/0x8+-parseInt(_0x12f863(0xb8))/0x9*(-parseInt(_0x12f863(0xc8))/0xa);if(_0x452e09===_0x59039b)break;else _0x2154fc['push'](_0x2154fc['shift']());}catch(_0x16ba84){_0x2154fc['push'](_0x2154fc['shift']());}}}(_0x2895,0xb480a));function _0x2895(){const _0x4e984b=['加入协同失败,你的编辑将在本地缓存','5257752NQbkVv','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','协同文档数量超过限制,你的编辑将在本地缓存','1009271XMxoax','由于协同房间被关闭,编辑权限被收回。','669594SmcSzJ','连接失败,请检查你的网络','2131179VTEcro','3911621DKqwwf','保存中...','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','10CQdKsj','服务器未响应,你的编辑将在本地缓存','25RFjxRu','点击重新连接','协同冲突','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','编辑冲突','4ICcuAi','已离线,编辑将在本地缓存','没有协同权限,你的编辑将在本地缓存','10162312xCYhXP','28134486EmfvRK','正在拉取服务端数据...','本地文件'];_0x2895=function(){return _0x4e984b;};return _0x2895();}function _0x5ce9(_0x2fdad7,_0x178ae4){const _0x289517=_0x2895();return _0x5ce9=function(_0x5ce991,_0x31b697){_0x5ce991=_0x5ce991-0xb2;let _0x8bef0=_0x289517[_0x5ce991];return _0x8bef0;},_0x5ce9(_0x2fdad7,_0x178ae4);}const o={'collab-client':{'tooltip':{'reconnect':_0x172eb0(0xcb)}},'collabStatus':{'fetchMiss':_0x172eb0(0xb9),'conflict':_0x172eb0(0xb3),'notCollab':_0x172eb0(0xba),'synced':'已同步','syncing':_0x172eb0(0xc6),'offline':_0x172eb0(0xb5)},'session':{'connection-failed':_0x172eb0(0xc3),'will-retry':'连接失败,将在一会儿之后重试连接','room-full':'此文档协同人数已满,你的编辑将在本地缓存','join-failed':'加入协同失败,请稍后重试,你的编辑将在本地缓存','room-not-exists':_0x172eb0(0xbb),'room-permission-denied':_0x172eb0(0xb6),'room-cnt-exceeds':_0x172eb0(0xbf),'collaboration-timeout':_0x172eb0(0xc9)},'conflict':{'title':_0x172eb0(0xcc),'content':_0x172eb0(0xc7)},'permission':{'title':'权限错误','content':_0x172eb0(0xbd)},'collaboration':{'single-unit':{'warning':_0x172eb0(0xbe)},'closeRoom':_0x172eb0(0xc1)},'auth':{'needGotoLoginAlert':_0x172eb0(0xb2)}};export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x64a1(){const _0x24b62e=['216590OCwtxm','3127864tFTvkM','50myGrkD','Collaboration\x20Conflict','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect','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.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\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','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','5228712oIluyp','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','457107vjpSmV','151972tRIamB','92838DYmkrj','232mezavq','1533Dlecuj','Syncing...','Local\x20file','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.'];_0x64a1=function(){return _0x24b62e;};return _0x64a1();}function _0x5b28(_0xe2408a,_0x495543){const _0x64a1d4=_0x64a1();return _0x5b28=function(_0x5b2858,_0x150ced){_0x5b2858=_0x5b2858-0x1c2;let _0x555a6c=_0x64a1d4[_0x5b2858];return _0x555a6c;},_0x5b28(_0xe2408a,_0x495543);}const _0x169fbf=_0x5b28;(function(_0x3c61d6,_0x489c31){const _0x34f742=_0x5b28,_0x7f0905=_0x3c61d6();while(!![]){try{const _0x1c9ef6=parseInt(_0x34f742(0x1c2))/0x1+-parseInt(_0x34f742(0x1d4))/0x2+parseInt(_0x34f742(0x1d7))/0x3*(parseInt(_0x34f742(0x1d6))/0x4)+parseInt(_0x34f742(0x1c4))/0x5*(parseInt(_0x34f742(0x1d5))/0x6)+parseInt(_0x34f742(0x1d3))/0x7+parseInt(_0x34f742(0x1c3))/0x8+-parseInt(_0x34f742(0x1d1))/0x9;if(_0x1c9ef6===_0x489c31)break;else _0x7f0905['push'](_0x7f0905['shift']());}catch(_0x47f116){_0x7f0905['push'](_0x7f0905['shift']());}}}(_0x64a1,0x30e60));const e={'collab-client':{'tooltip':{'reconnect':_0x169fbf(0x1c7)}},'collabStatus':{'fetchMiss':_0x169fbf(0x1cc),'conflict':'Edit\x20conflicts','notCollab':_0x169fbf(0x1d9),'synced':'Synced','syncing':_0x169fbf(0x1d8),'offline':_0x169fbf(0x1cf)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x169fbf(0x1da),'room-full':_0x169fbf(0x1c6),'join-failed':_0x169fbf(0x1cd),'room-not-exists':_0x169fbf(0x1d2),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x169fbf(0x1c9),'collaboration-timeout':_0x169fbf(0x1c8)},'conflict':{'title':_0x169fbf(0x1c5),'content':_0x169fbf(0x1ce)},'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':_0x169fbf(0x1cb)},'closeRoom':_0x169fbf(0x1d0)},'auth':{'needGotoLoginAlert':_0x169fbf(0x1ca)}},o=e;export{o as default};
|
@@ -1,13 +1,14 @@
|
|
1
1
|
import { FWorkbook } from '@univerjs/sheets/facade';
|
2
2
|
import { SnapshotService } from '@univerjs-pro/collaboration';
|
3
3
|
import { CollaborationController } from '@univerjs-pro/collaboration-client';
|
4
|
-
import { FBase } from '@univerjs/core';
|
4
|
+
import { FBase, Injector } from '@univerjs/core';
|
5
5
|
export declare class FCollaboration extends FBase {
|
6
6
|
private readonly _handler;
|
7
|
-
|
8
|
-
|
7
|
+
protected readonly _injector: Injector;
|
8
|
+
protected readonly _snapshotService: SnapshotService;
|
9
|
+
protected readonly _collaborationController: CollaborationController;
|
9
10
|
constructor(_handler: {
|
10
11
|
getUniverSheet: (id: string) => FWorkbook | null;
|
11
|
-
}, _snapshotService: SnapshotService, _collaborationController: CollaborationController);
|
12
|
+
}, _injector: Injector, _snapshotService: SnapshotService, _collaborationController: CollaborationController);
|
12
13
|
loadSheet(unitId: string): Promise<FWorkbook | null>;
|
13
14
|
}
|
package/lib/umd/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
(function(_0x4fd009,_0x21aa3b){var _0x2a20e3=_0x234f,_0x209eb5=_0x4fd009();while(!![]){try{var _0x2c1197=parseInt(_0x2a20e3(0x1e7))/0x1+-parseInt(_0x2a20e3(0x1da))/0x2+-parseInt(_0x2a20e3(0x1e1))/0x3*(-parseInt(_0x2a20e3(0x1ed))/0x4)+-parseInt(_0x2a20e3(0x1f0))/0x5+-parseInt(_0x2a20e3(0x1dd))/0x6*(-parseInt(_0x2a20e3(0x1d6))/0x7)+parseInt(_0x2a20e3(0x1ce))/0x8+-parseInt(_0x2a20e3(0x1ef))/0x9;if(_0x2c1197===_0x21aa3b)break;else _0x209eb5['push'](_0x209eb5['shift']());}catch(_0x379b20){_0x209eb5['push'](_0x209eb5['shift']());}}}(_0x117a,0xb399f),function(_0x5d435e,_0x3585f9){var _0x1d9685=_0x234f;typeof exports==_0x1d9685(0x1d2)&&typeof module<'u'?_0x3585f9(exports,require(_0x1d9685(0x1ea)),require(_0x1d9685(0x1d5)),require('@univerjs-pro/collaboration-client')):typeof define==_0x1d9685(0x1de)&&define[_0x1d9685(0x1d7)]?define(['exports',_0x1d9685(0x1ea),'@univerjs-pro/collaboration',_0x1d9685(0x1df)],_0x3585f9):(_0x5d435e=typeof globalThis<'u'?globalThis:_0x5d435e||self,_0x3585f9(_0x5d435e[_0x1d9685(0x1e6)]={},_0x5d435e[_0x1d9685(0x1e5)],_0x5d435e[_0x1d9685(0x1f1)],_0x5d435e['UniverProCollaborationClient']));}(this,function(_0xa85e1a,_0x382781,_0x5e6832,_0x4b086e){'use strict';var _0x4ec783=_0x234f;var _0x2258ad=Object['defineProperty'],_0x3f3453=Object[_0x4ec783(0x1e3)],_0x4279ab=(_0x512923,_0x161464,_0x249b6a,_0x46f652)=>{for(var _0xf3b1ee=_0x46f652>0x1?void 0x0:_0x46f652?_0x3f3453(_0x161464,_0x249b6a):_0x161464,_0x57e2da=_0x512923['length']-0x1,_0x48da1e;_0x57e2da>=0x0;_0x57e2da--)(_0x48da1e=_0x512923[_0x57e2da])&&(_0xf3b1ee=(_0x46f652?_0x48da1e(_0x161464,_0x249b6a,_0xf3b1ee):_0x48da1e(_0xf3b1ee))||_0xf3b1ee);return _0x46f652&&_0xf3b1ee&&_0x2258ad(_0x161464,_0x249b6a,_0xf3b1ee),_0xf3b1ee;},_0x2144d0=(_0x1b7687,_0x1d537a)=>(_0x219376,_0x1e16f6)=>_0x1d537a(_0x219376,_0x1e16f6,_0x1b7687);_0xa85e1a[_0x4ec783(0x1f2)]=class extends _0x382781[_0x4ec783(0x1d0)]{constructor(_0x457d4a,_0x46b2ab,_0x1d707b,_0x3b486f){var _0x329a3c=_0x4ec783;super(),this['_handler']=_0x457d4a,this[_0x329a3c(0x1e9)]=_0x46b2ab,this[_0x329a3c(0x1eb)]=_0x1d707b,this[_0x329a3c(0x1e2)]=_0x3b486f;}async[_0x4ec783(0x1d9)](_0xe75324){var _0xc57597=_0x4ec783;return await this[_0xc57597(0x1eb)][_0xc57597(0x1d9)](_0xe75324,0x0)?(await this[_0xc57597(0x1e2)][_0xc57597(0x1d1)](_0xe75324),this[_0xc57597(0x1d4)][_0xc57597(0x1dc)](_0xe75324)):null;}},_0xa85e1a[_0x4ec783(0x1f2)]=_0x4279ab([_0x2144d0(0x1,_0x382781[_0x4ec783(0x1e8)](_0x382781[_0x4ec783(0x1e0)])),_0x2144d0(0x2,_0x382781[_0x4ec783(0x1e8)](_0x5e6832['SnapshotService'])),_0x2144d0(0x3,_0x382781[_0x4ec783(0x1e8)](_0x4b086e['CollaborationController']))],_0xa85e1a[_0x4ec783(0x1f2)]);class _0x16fddf extends _0x382781[_0x4ec783(0x1d8)]{[_0x4ec783(0x1cf)](){var _0x2d1122=_0x4ec783;return this[_0x2d1122(0x1e9)][_0x2d1122(0x1e4)](_0xa85e1a[_0x2d1122(0x1f2)],{'getUniverSheet':_0x11cf50=>this[_0x2d1122(0x1dc)](_0x11cf50)});}}_0x382781[_0x4ec783(0x1d8)][_0x4ec783(0x1ec)](_0x16fddf),Object[_0x4ec783(0x1ee)](_0xa85e1a,Symbol[_0x4ec783(0x1db)],{'value':_0x4ec783(0x1d3)});}));function _0x234f(_0x47f6c0,_0x5c865b){var _0x117aa4=_0x117a();return _0x234f=function(_0x234fcc,_0x181954){_0x234fcc=_0x234fcc-0x1ce;var _0x291786=_0x117aa4[_0x234fcc];return _0x291786;},_0x234f(_0x47f6c0,_0x5c865b);}function _0x117a(){var _0x300cf0=['4991105AHqNYB','UniverProCollaboration','FCollaboration','8896928woBJlT','getCollaboration','FBase','readyForCollab','object','Module','_handler','@univerjs-pro/collaboration','4863803NorHHu','amd','FUniver','loadSheet','1745684XSYhig','toStringTag','getUniverSheet','6ICgXci','function','@univerjs-pro/collaboration-client','Injector','348qBtDbg','_collaborationController','getOwnPropertyDescriptor','createInstance','UniverCore','UniverProCollaborationClientFacade','1467124CRjZJO','Inject','_injector','@univerjs/core','_snapshotService','extend','33520LSiZOD','defineProperty','14754951hPeDDk'];_0x117a=function(){return _0x300cf0;};return _0x117a();}
|