@univerjs-pro/collaboration-client 0.5.1-nightly.202412100649 → 0.5.1-nightly.202412101606
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 +3 -2
- 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
|
-
function
|
1
|
+
const _0x5d3c63=_0x57a1;function _0x5cf3(){const _0x3534f5=['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.','Click\x20to\x20Reconnect','Connection\x20failed.\x20Please\x20check\x20your\x20network.','463376TTywrx','4835410EcKCkf','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','11qnAykR','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','14Qsuoir','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','4405509KAsTLe','735YAqisr','Edit\x20conflicts','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','2318bqRTuh','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Collaboration\x20Conflict','8LYJHBi','Syncing...','1010910VljqfU','Synced','253112VWFZuf','1365605BgHADh'];_0x5cf3=function(){return _0x3534f5;};return _0x5cf3();}(function(_0x2dd30d,_0x105141){const _0x4c1c8c=_0x57a1,_0x59f61f=_0x2dd30d();while(!![]){try{const _0x432425=parseInt(_0x4c1c8c(0x86))/0x1+-parseInt(_0x4c1c8c(0x7e))/0x2*(-parseInt(_0x4c1c8c(0x7a))/0x3)+-parseInt(_0x4c1c8c(0x82))/0x4*(parseInt(_0x4c1c8c(0x87))/0x5)+parseInt(_0x4c1c8c(0x84))/0x6+-parseInt(_0x4c1c8c(0x77))/0x7*(-parseInt(_0x4c1c8c(0x72))/0x8)+parseInt(_0x4c1c8c(0x79))/0x9+-parseInt(_0x4c1c8c(0x73))/0xa*(parseInt(_0x4c1c8c(0x75))/0xb);if(_0x432425===_0x105141)break;else _0x59f61f['push'](_0x59f61f['shift']());}catch(_0x25475a){_0x59f61f['push'](_0x59f61f['shift']());}}}(_0x5cf3,0x44a1a));function _0x57a1(_0x4b97f2,_0x49c44a){const _0x5cf389=_0x5cf3();return _0x57a1=function(_0x57a19a,_0x17a052){_0x57a19a=_0x57a19a-0x71;let _0x358d57=_0x5cf389[_0x57a19a];return _0x358d57;},_0x57a1(_0x4b97f2,_0x49c44a);}const e={'collab-client':{'tooltip':{'reconnect':_0x5d3c63(0x89)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x5d3c63(0x7b),'notCollab':'Local\x20file','synced':_0x5d3c63(0x85),'syncing':_0x5d3c63(0x83),'offline':_0x5d3c63(0x7d)},'session':{'connection-failed':_0x5d3c63(0x71),'will-retry':_0x5d3c63(0x80),'room-full':_0x5d3c63(0x76),'join-failed':_0x5d3c63(0x74),'room-not-exists':_0x5d3c63(0x78),'room-permission-denied':_0x5d3c63(0x7f),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x5d3c63(0x7c)},'conflict':{'title':_0x5d3c63(0x81),'content':_0x5d3c63(0x88)},'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':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x259b(_0x2dfbab,_0xff339e){const _0x3ddf39=_0x3ddf();return _0x259b=function(_0x259b0c,_0x2ff78c){_0x259b0c=_0x259b0c-0xd4;let _0x38e2df=_0x3ddf39[_0x259b0c];return _0x38e2df;},_0x259b(_0x2dfbab,_0xff339e);}const _0x5b502c=_0x259b;(function(_0x157958,_0x2c7436){const _0x2b901c=_0x259b,_0x26b442=_0x157958();while(!![]){try{const _0x25bae5=-parseInt(_0x2b901c(0xdc))/0x1*(parseInt(_0x2b901c(0xe1))/0x2)+-parseInt(_0x2b901c(0xe6))/0x3+-parseInt(_0x2b901c(0xd7))/0x4*(-parseInt(_0x2b901c(0xe2))/0x5)+parseInt(_0x2b901c(0xdf))/0x6*(parseInt(_0x2b901c(0xeb))/0x7)+-parseInt(_0x2b901c(0xd8))/0x8*(parseInt(_0x2b901c(0xde))/0x9)+parseInt(_0x2b901c(0xd9))/0xa+parseInt(_0x2b901c(0xe5))/0xb*(-parseInt(_0x2b901c(0xda))/0xc);if(_0x25bae5===_0x2c7436)break;else _0x26b442['push'](_0x26b442['shift']());}catch(_0x507a1a){_0x26b442['push'](_0x26b442['shift']());}}}(_0x3ddf,0x95f28));const o={'collab-client':{'tooltip':{'reconnect':_0x5b502c(0xe3)}},'collabStatus':{'fetchMiss':_0x5b502c(0xee),'conflict':_0x5b502c(0xd4),'notCollab':'پرونده\x20محلی','synced':_0x5b502c(0xdd),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x5b502c(0xea)},'session':{'connection-failed':_0x5b502c(0xed),'will-retry':_0x5b502c(0xec),'room-full':_0x5b502c(0xf0),'join-failed':_0x5b502c(0xe4),'room-not-exists':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-permission-denied':'دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-cnt-exceeds':_0x5b502c(0xdb),'collaboration-timeout':_0x5b502c(0xd6)},'conflict':{'title':_0x5b502c(0xe0),'content':_0x5b502c(0xef)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x5b502c(0xe8)},'collaboration':{'single-unit':{'warning':_0x5b502c(0xe7)},'closeRoom':_0x5b502c(0xd5)},'auth':{'needGotoLoginAlert':_0x5b502c(0xe9)}};function _0x3ddf(){const _0x170794=['21ohEBzg','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','تداخل\x20ویرایش','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','1060gsoySV','8CQQrFs','10492130hBiLpJ','624odCgSy','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','1zqbobB','همگام\x20سازی','8972775nZgfSX','1088796hYQTbl','تداخل\x20همکاری','877928lOtsoA','16240rCvmSa','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','52426XJImTY','469128gPiVKK','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'];_0x3ddf=function(){return _0x170794;};return _0x3ddf();}export{o as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x1473(_0x3956eb,_0x2d28c2){const _0x459543=_0x4595();return _0x1473=function(_0x1473b1,_0x2ef46b){_0x1473b1=_0x1473b1-0x70;let _0x50304e=_0x459543[_0x1473b1];return _0x50304e;},_0x1473(_0x3956eb,_0x2d28c2);}const _0x2959cc=_0x1473;(function(_0x40ac66,_0x2d1300){const _0x1e76b5=_0x1473,_0xb6d43f=_0x40ac66();while(!![]){try{const _0x5b946e=parseInt(_0x1e76b5(0x81))/0x1+parseInt(_0x1e76b5(0x73))/0x2*(-parseInt(_0x1e76b5(0x7d))/0x3)+parseInt(_0x1e76b5(0x87))/0x4*(-parseInt(_0x1e76b5(0x70))/0x5)+-parseInt(_0x1e76b5(0x84))/0x6+-parseInt(_0x1e76b5(0x76))/0x7+parseInt(_0x1e76b5(0x78))/0x8+-parseInt(_0x1e76b5(0x7f))/0x9*(-parseInt(_0x1e76b5(0x79))/0xa);if(_0x5b946e===_0x2d1300)break;else _0xb6d43f['push'](_0xb6d43f['shift']());}catch(_0x4b6fb3){_0xb6d43f['push'](_0xb6d43f['shift']());}}}(_0x4595,0x6e06d));function _0x4595(){const _0x2de7b6=['706113DJBTIU','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','550361HLorWs','Authentication\x20Error','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1868706WWxgnf','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','4xxVIXp','Synced','2513640lPOXNy','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Syncing...','143762DYSbhm','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3708985fkwSNm','Edit\x20conflicts','3415136FQVKiv','150eZSjjF','Failed\x20to\x20join\x20collaboration.\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.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','15pdmWJK','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x4595=function(){return _0x2de7b6;};return _0x4595();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x2959cc(0x77),'notCollab':'Local\x20file','synced':_0x2959cc(0x88),'syncing':_0x2959cc(0x72),'offline':_0x2959cc(0x83)},'session':{'connection-failed':_0x2959cc(0x85),'will-retry':_0x2959cc(0x71),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x2959cc(0x74),'room-not-exists':_0x2959cc(0x7a),'room-permission-denied':_0x2959cc(0x80),'room-cnt-exceeds':_0x2959cc(0x75),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x2959cc(0x7b)},'permission':{'title':_0x2959cc(0x82),'content':_0x2959cc(0x7c)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x2959cc(0x86)},'auth':{'needGotoLoginAlert':_0x2959cc(0x7e)}},o=e;export{o as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x51d0ed=_0x180d;(function(_0x1e37d3,_0x2786d8){const _0x4a9412=_0x180d,_0x1898dc=_0x1e37d3();while(!![]){try{const _0x25d255=-parseInt(_0x4a9412(0xea))/0x1*(-parseInt(_0x4a9412(0xec))/0x2)+parseInt(_0x4a9412(0xee))/0x3+-parseInt(_0x4a9412(0xe6))/0x4*(parseInt(_0x4a9412(0xe2))/0x5)+-parseInt(_0x4a9412(0xf1))/0x6*(-parseInt(_0x4a9412(0xf0))/0x7)+-parseInt(_0x4a9412(0xd9))/0x8+-parseInt(_0x4a9412(0xd8))/0x9*(-parseInt(_0x4a9412(0xe5))/0xa)+-parseInt(_0x4a9412(0xd5))/0xb*(-parseInt(_0x4a9412(0xdb))/0xc);if(_0x25d255===_0x2786d8)break;else _0x1898dc['push'](_0x1898dc['shift']());}catch(_0x6ddb08){_0x1898dc['push'](_0x1898dc['shift']());}}}(_0x3d52,0x6d2b7));function _0x180d(_0xd9bd29,_0x2aabe3){const _0x3d5203=_0x3d52();return _0x180d=function(_0x180d29,_0x2216d7){_0x180d29=_0x180d29-0xd4;let _0x20a420=_0x3d5203[_0x180d29];return _0x20a420;},_0x180d(_0xd9bd29,_0x2aabe3);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x51d0ed(0xe7),'notCollab':_0x51d0ed(0xeb),'synced':'Synced','syncing':_0x51d0ed(0xef),'offline':_0x51d0ed(0xed)},'session':{'connection-failed':_0x51d0ed(0xe1),'will-retry':_0x51d0ed(0xd7),'room-full':_0x51d0ed(0xe3),'join-failed':_0x51d0ed(0xe8),'room-not-exists':_0x51d0ed(0xe4),'room-permission-denied':_0x51d0ed(0xdc),'room-cnt-exceeds':_0x51d0ed(0xe9),'collaboration-timeout':_0x51d0ed(0xdf)},'conflict':{'title':_0x51d0ed(0xde),'content':_0x51d0ed(0xd4)},'permission':{'title':'Authentication\x20Error','content':_0x51d0ed(0xda)},'collaboration':{'single-unit':{'warning':_0x51d0ed(0xdd)},'closeRoom':_0x51d0ed(0xe0)},'auth':{'needGotoLoginAlert':_0x51d0ed(0xd6)}},o=e;export{o as default};function _0x3d52(){const _0x5d4b1a=['Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','351290tJefON','4aQjPBv','Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1zHBclg','Local\x20file','1097566GackAo','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','588696pImNtN','Syncing...','21uGSkjj','966486wITSRR','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.','2268519wytCWK','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','18EhDCNy','2673800nWznYm','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','12aPBOVb','No\x20collaboration\x20permission.\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.','Collaboration\x20Conflict','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','3616805OXhvCz','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x3d52=function(){return _0x5d4b1a;};return _0x3d52();}
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x2ab0c6=_0x8644;function _0x4d78(){const _0x5ab938=['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.','140441IThPAr','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.','Synced','Local\x20file','Edit\x20conflicts','152770hoNspQ','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','30628992vIJcIR','273idnyyi','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','228dtwHwY','Click\x20to\x20Reconnect','16XjRHUW','Collaboration\x20Conflict','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','36582HXKxXp','2580498DubCqW','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1dzftgs','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Authentication\x20Error','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2628910lkXcdE','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','517dqtkVy','17704HyMlKx'];_0x4d78=function(){return _0x5ab938;};return _0x4d78();}(function(_0x2dfd8c,_0x4ccef5){const _0x4eea14=_0x8644,_0x3f3996=_0x2dfd8c();while(!![]){try{const _0x27a469=-parseInt(_0x4eea14(0x19c))/0x1*(parseInt(_0x4eea14(0x199))/0x2)+-parseInt(_0x4eea14(0x1af))/0x3*(parseInt(_0x4eea14(0x1a3))/0x4)+parseInt(_0x4eea14(0x1a0))/0x5+parseInt(_0x4eea14(0x1b1))/0x6*(-parseInt(_0x4eea14(0x1a7))/0x7)+parseInt(_0x4eea14(0x1b3))/0x8*(-parseInt(_0x4eea14(0x19a))/0x9)+parseInt(_0x4eea14(0x1ac))/0xa*(-parseInt(_0x4eea14(0x1a2))/0xb)+parseInt(_0x4eea14(0x1ae))/0xc;if(_0x27a469===_0x4ccef5)break;else _0x3f3996['push'](_0x3f3996['shift']());}catch(_0x38cee9){_0x3f3996['push'](_0x3f3996['shift']());}}}(_0x4d78,0x93494));function _0x8644(_0xf16a68,_0x48ceac){const _0x4d7848=_0x4d78();return _0x8644=function(_0x864466,_0x2df339){_0x864466=_0x864466-0x199;let _0x1511a5=_0x4d7848[_0x864466];return _0x1511a5;},_0x8644(_0xf16a68,_0x48ceac);}const e={'collab-client':{'tooltip':{'reconnect':_0x2ab0c6(0x1b2)}},'collabStatus':{'fetchMiss':_0x2ab0c6(0x1a5),'conflict':_0x2ab0c6(0x1ab),'notCollab':_0x2ab0c6(0x1aa),'synced':_0x2ab0c6(0x1a9),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2ab0c6(0x19d),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x2ab0c6(0x19f),'join-failed':_0x2ab0c6(0x1b0),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x2ab0c6(0x1a1),'room-cnt-exceeds':_0x2ab0c6(0x1b5),'collaboration-timeout':_0x2ab0c6(0x1ad)},'conflict':{'title':_0x2ab0c6(0x1b4),'content':_0x2ab0c6(0x1a8)},'permission':{'title':_0x2ab0c6(0x19e),'content':_0x2ab0c6(0x1a6)},'collaboration':{'single-unit':{'warning':_0x2ab0c6(0x19b)},'closeRoom':_0x2ab0c6(0x1b6)},'auth':{'needGotoLoginAlert':_0x2ab0c6(0x1a4)}},o=e;export{o as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x5b671a=_0x21f9;(function(_0xfdcd2e,_0x177724){const _0x116446=_0x21f9,_0x57702e=_0xfdcd2e();while(!![]){try{const _0x3c276f=-parseInt(_0x116446(0x17d))/0x1+-parseInt(_0x116446(0x174))/0x2+parseInt(_0x116446(0x18c))/0x3*(-parseInt(_0x116446(0x179))/0x4)+parseInt(_0x116446(0x188))/0x5+-parseInt(_0x116446(0x17b))/0x6*(-parseInt(_0x116446(0x186))/0x7)+-parseInt(_0x116446(0x176))/0x8+parseInt(_0x116446(0x185))/0x9;if(_0x3c276f===_0x177724)break;else _0x57702e['push'](_0x57702e['shift']());}catch(_0x2111b9){_0x57702e['push'](_0x57702e['shift']());}}}(_0x1d26,0x8688d));const o={'collab-client':{'tooltip':{'reconnect':_0x5b671a(0x189)}},'collabStatus':{'fetchMiss':'正在拉取服务端数据...','conflict':'编辑冲突','notCollab':_0x5b671a(0x18b),'synced':_0x5b671a(0x17c),'syncing':_0x5b671a(0x180),'offline':_0x5b671a(0x17a)},'session':{'connection-failed':'连接失败,请检查你的网络','will-retry':_0x5b671a(0x184),'room-full':'此文档协同人数已满,你的编辑将在本地缓存','join-failed':_0x5b671a(0x181),'room-not-exists':_0x5b671a(0x18a),'room-permission-denied':_0x5b671a(0x17e),'room-cnt-exceeds':_0x5b671a(0x178),'collaboration-timeout':_0x5b671a(0x18e)},'conflict':{'title':_0x5b671a(0x183),'content':_0x5b671a(0x175)},'permission':{'title':_0x5b671a(0x182),'content':_0x5b671a(0x177)},'collaboration':{'single-unit':{'warning':_0x5b671a(0x17f)},'closeRoom':_0x5b671a(0x18d)},'auth':{'needGotoLoginAlert':_0x5b671a(0x187)}};function _0x21f9(_0x281e6c,_0x57f5e7){const _0x1d2663=_0x1d26();return _0x21f9=function(_0x21f927,_0x2bbf43){_0x21f927=_0x21f927-0x174;let _0x53d595=_0x1d2663[_0x21f927];return _0x53d595;},_0x21f9(_0x281e6c,_0x57f5e7);}export{o as default};function _0x1d26(){const _0x4524fd=['协同冲突','连接失败,将在一会儿之后重试连接','11149560zbDLjd','119klvcPm','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','4409365LWDzCH','点击重新连接','加入协同失败,你的编辑将在本地缓存','本地文件','180996xadnCG','由于协同房间被关闭,编辑权限被收回。','服务器未响应,你的编辑将在本地缓存','635916eFGBzl','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','7683792sPffhl','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','协同文档数量超过限制,你的编辑将在本地缓存','32ICbULE','已离线,编辑将在本地缓存','108366buYoPX','已同步','115609VAiQiM','没有协同权限,你的编辑将在本地缓存','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','保存中...','加入协同失败,请稍后重试,你的编辑将在本地缓存','权限错误'];_0x1d26=function(){return _0x4524fd;};return _0x1d26();}
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x3ea0(_0x42dcf2,_0x3fa07d){const _0x5dfdb0=_0x5dfd();return _0x3ea0=function(_0x3ea0de,_0x3e6e89){_0x3ea0de=_0x3ea0de-0x13c;let _0x58105e=_0x5dfdb0[_0x3ea0de];return _0x58105e;},_0x3ea0(_0x42dcf2,_0x3fa07d);}const _0x3da40b=_0x3ea0;(function(_0x59c050,_0x2bfb5a){const _0x244b20=_0x3ea0,_0x3b81c4=_0x59c050();while(!![]){try{const _0x916182=parseInt(_0x244b20(0x150))/0x1*(-parseInt(_0x244b20(0x145))/0x2)+-parseInt(_0x244b20(0x14d))/0x3+parseInt(_0x244b20(0x144))/0x4*(-parseInt(_0x244b20(0x155))/0x5)+-parseInt(_0x244b20(0x14e))/0x6+-parseInt(_0x244b20(0x149))/0x7*(-parseInt(_0x244b20(0x13d))/0x8)+parseInt(_0x244b20(0x14b))/0x9+parseInt(_0x244b20(0x152))/0xa;if(_0x916182===_0x2bfb5a)break;else _0x3b81c4['push'](_0x3b81c4['shift']());}catch(_0x4f05f1){_0x3b81c4['push'](_0x3b81c4['shift']());}}}(_0x5dfd,0x42c03));function _0x5dfd(){const _0x2ee394=['5WTBkni','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','2772168fsNVIc','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict','Syncing\x20server\x20data...','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','106676LaWYbK','793734SmnDIq','Click\x20to\x20Reconnect','Local\x20file','Syncing...','7cWDAKv','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','3044718SihrWu','Synced','720435KotDpB','3129984dYMNpZ','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1IinmyE','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','7739330ekxnRd','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Edit\x20conflicts'];_0x5dfd=function(){return _0x2ee394;};return _0x5dfd();}const e={'collab-client':{'tooltip':{'reconnect':_0x3da40b(0x146)}},'collabStatus':{'fetchMiss':_0x3da40b(0x141),'conflict':_0x3da40b(0x154),'notCollab':_0x3da40b(0x147),'synced':_0x3da40b(0x14c),'syncing':_0x3da40b(0x148),'offline':_0x3da40b(0x14a)},'session':{'connection-failed':_0x3da40b(0x13e),'will-retry':_0x3da40b(0x142),'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':_0x3da40b(0x153),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x3da40b(0x151)},'conflict':{'title':_0x3da40b(0x140),'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':_0x3da40b(0x14f)},'collaboration':{'single-unit':{'warning':_0x3da40b(0x13c)},'closeRoom':_0x3da40b(0x143)},'auth':{'needGotoLoginAlert':_0x3da40b(0x13f)}},o=e;export{o as default};
|
@@ -1,14 +1,15 @@
|
|
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, Injector } from '@univerjs/core';
|
4
|
+
import { FBase, Injector, IUniverInstanceService } from '@univerjs/core';
|
5
5
|
export declare class FCollaboration extends FBase {
|
6
6
|
private readonly _handler;
|
7
7
|
protected readonly _injector: Injector;
|
8
|
+
protected readonly _univerInstanceService: IUniverInstanceService;
|
8
9
|
protected readonly _snapshotService: SnapshotService;
|
9
10
|
protected readonly _collaborationController: CollaborationController;
|
10
11
|
constructor(_handler: {
|
11
12
|
getUniverSheet: (id: string) => FWorkbook | null;
|
12
|
-
}, _injector: Injector, _snapshotService: SnapshotService, _collaborationController: CollaborationController);
|
13
|
+
}, _injector: Injector, _univerInstanceService: IUniverInstanceService, _snapshotService: SnapshotService, _collaborationController: CollaborationController);
|
13
14
|
loadSheet(unitId: string): Promise<FWorkbook | null>;
|
14
15
|
}
|
package/lib/umd/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(function(
|
1
|
+
function _0x2fe2(_0x595f89,_0x258633){var _0x56ad0e=_0x56ad();return _0x2fe2=function(_0x2fe283,_0x129c72){_0x2fe283=_0x2fe283-0xf8;var _0x210eab=_0x56ad0e[_0x2fe283];return _0x210eab;},_0x2fe2(_0x595f89,_0x258633);}(function(_0x3fc700,_0x2b0181){var _0x1a6269=_0x2fe2,_0x1b8d34=_0x3fc700();while(!![]){try{var _0x5831fd=parseInt(_0x1a6269(0x11c))/0x1*(-parseInt(_0x1a6269(0x10c))/0x2)+-parseInt(_0x1a6269(0x108))/0x3*(parseInt(_0x1a6269(0x107))/0x4)+parseInt(_0x1a6269(0x116))/0x5+parseInt(_0x1a6269(0x125))/0x6+-parseInt(_0x1a6269(0xf9))/0x7+-parseInt(_0x1a6269(0x100))/0x8*(-parseInt(_0x1a6269(0x11b))/0x9)+-parseInt(_0x1a6269(0x10d))/0xa*(-parseInt(_0x1a6269(0x110))/0xb);if(_0x5831fd===_0x2b0181)break;else _0x1b8d34['push'](_0x1b8d34['shift']());}catch(_0x3f4745){_0x1b8d34['push'](_0x1b8d34['shift']());}}}(_0x56ad,0x62211),function(_0x5b83b7,_0x1abf97){var _0xcd6cd9=_0x2fe2;typeof exports==_0xcd6cd9(0x106)&&typeof module<'u'?_0x1abf97(exports,require(_0xcd6cd9(0x11f)),require(_0xcd6cd9(0x10a)),require('@univerjs-pro/collaboration-client')):typeof define==_0xcd6cd9(0x10f)&&define[_0xcd6cd9(0x101)]?define([_0xcd6cd9(0x11e),'@univerjs/core',_0xcd6cd9(0x10a),_0xcd6cd9(0x102)],_0x1abf97):(_0x5b83b7=typeof globalThis<'u'?globalThis:_0x5b83b7||self,_0x1abf97(_0x5b83b7[_0xcd6cd9(0x120)]={},_0x5b83b7[_0xcd6cd9(0x103)],_0x5b83b7[_0xcd6cd9(0x11a)],_0x5b83b7[_0xcd6cd9(0x11d)]));}(this,function(_0x5ee801,_0x2cece0,_0x1c4d25,_0xb6225d){'use strict';var _0x491bc7=_0x2fe2;var _0x3738ab=Object[_0x491bc7(0x10b)],_0x4a3b73=Object[_0x491bc7(0x122)],_0x5606cb=(_0x5ed46e,_0x155849,_0x277d29,_0x274901)=>{var _0x59340a=_0x491bc7;for(var _0x48814f=_0x274901>0x1?void 0x0:_0x274901?_0x4a3b73(_0x155849,_0x277d29):_0x155849,_0x336809=_0x5ed46e[_0x59340a(0x119)]-0x1,_0xa78e8b;_0x336809>=0x0;_0x336809--)(_0xa78e8b=_0x5ed46e[_0x336809])&&(_0x48814f=(_0x274901?_0xa78e8b(_0x155849,_0x277d29,_0x48814f):_0xa78e8b(_0x48814f))||_0x48814f);return _0x274901&&_0x48814f&&_0x3738ab(_0x155849,_0x277d29,_0x48814f),_0x48814f;},_0x4be8a5=(_0x1d55c2,_0x44304a)=>(_0xa09a34,_0x35cb39)=>_0x44304a(_0xa09a34,_0x35cb39,_0x1d55c2);_0x5ee801['FCollaboration']=class extends _0x2cece0[_0x491bc7(0xff)]{constructor(_0xe8d59c,_0x256094,_0x45800d,_0x4274c3,_0x53bd2f){var _0x3c55d9=_0x491bc7;super(),this[_0x3c55d9(0xfd)]=_0xe8d59c,this[_0x3c55d9(0x117)]=_0x256094,this['_univerInstanceService']=_0x45800d,this[_0x3c55d9(0x10e)]=_0x4274c3,this[_0x3c55d9(0x115)]=_0x53bd2f;}async[_0x491bc7(0x109)](_0x1bfe56){var _0x5ca30a=_0x491bc7;return this['_univerInstanceService'][_0x5ca30a(0xfc)](_0x1bfe56,_0x2cece0[_0x5ca30a(0x114)][_0x5ca30a(0x104)])||await this[_0x5ca30a(0x10e)][_0x5ca30a(0x109)](_0x1bfe56,0x0)?(await this[_0x5ca30a(0x115)][_0x5ca30a(0xfe)](_0x1bfe56),this['_handler'][_0x5ca30a(0x111)](_0x1bfe56)):null;}},_0x5ee801[_0x491bc7(0x124)]=_0x5606cb([_0x4be8a5(0x1,_0x2cece0['Inject'](_0x2cece0[_0x491bc7(0x105)])),_0x4be8a5(0x2,_0x2cece0['IUniverInstanceService']),_0x4be8a5(0x3,_0x2cece0[_0x491bc7(0x118)](_0x1c4d25[_0x491bc7(0xfb)])),_0x4be8a5(0x4,_0x2cece0[_0x491bc7(0x118)](_0xb6225d['CollaborationController']))],_0x5ee801['FCollaboration']);class _0x2dca97 extends _0x2cece0[_0x491bc7(0x123)]{[_0x491bc7(0xfa)](){var _0x30cca5=_0x491bc7;return this[_0x30cca5(0x117)][_0x30cca5(0x112)](_0x5ee801[_0x30cca5(0x124)],{'getUniverSheet':_0x46f8d4=>this[_0x30cca5(0x111)](_0x46f8d4)});}}_0x2cece0[_0x491bc7(0x123)][_0x491bc7(0xf8)](_0x2dca97),Object[_0x491bc7(0x10b)](_0x5ee801,Symbol[_0x491bc7(0x113)],{'value':_0x491bc7(0x121)});}));function _0x56ad(){var _0x4ec020=['4502379zhYHhf','getCollaboration','SnapshotService','getUnit','_handler','readyForCollab','FBase','2846216QMivgv','amd','@univerjs-pro/collaboration-client','UniverCore','UNIVER_SHEET','Injector','object','2984152YvnJgP','3KpeMNT','loadSheet','@univerjs-pro/collaboration','defineProperty','18yetGca','30emuGPP','_snapshotService','function','3664474zTdSEv','getUniverSheet','createInstance','toStringTag','UniverInstanceType','_collaborationController','1393130ocuQmR','_injector','Inject','length','UniverProCollaboration','9OoXHOk','35669MCzbAc','UniverProCollaborationClient','exports','@univerjs/core','UniverProCollaborationClientFacade','Module','getOwnPropertyDescriptor','FUniver','FCollaboration','2870328xJLozR','extend'];_0x56ad=function(){return _0x4ec020;};return _0x56ad();}
|