@univerjs-pro/collaboration-client 0.6.6-experimental.20250317-28d180b → 0.6.6-experimental.20250321-5cc1a0d
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-univer.d.ts +16 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x190d(){const _0x39bfb3=['Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','7446115rnpQBG','6ugUjBx','54Qubxbp','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1541025cyBWPN','1260628rYmwql','2263576AYxcuQ','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\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.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Syncing...','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.\x20We\x20will\x20retry\x20in\x20a\x20while.','Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','6934824LaPACP','633090NhWkzh','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','4HQrDpE','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Local\x20file','657517UWVUWG','Collaboration\x20Conflict'];_0x190d=function(){return _0x39bfb3;};return _0x190d();}const _0x573ca4=_0x35a7;(function(_0x452bc0,_0x101513){const _0xd05939=_0x35a7,_0x3cd8a1=_0x452bc0();while(!![]){try{const _0x48432a=parseInt(_0xd05939(0x1b4))/0x1+parseInt(_0xd05939(0x1be))/0x2+-parseInt(_0xd05939(0x1bd))/0x3+-parseInt(_0xd05939(0x1b1))/0x4*(parseInt(_0xd05939(0x1b7))/0x5)+-parseInt(_0xd05939(0x1b8))/0x6*(-parseInt(_0xd05939(0x1bf))/0x7)+parseInt(_0xd05939(0x1c9))/0x8+-parseInt(_0xd05939(0x1b9))/0x9*(-parseInt(_0xd05939(0x1ca))/0xa);if(_0x48432a===_0x101513)break;else _0x3cd8a1['push'](_0x3cd8a1['shift']());}catch(_0x31c0e4){_0x3cd8a1['push'](_0x3cd8a1['shift']());}}}(_0x190d,0xd0be0));function _0x35a7(_0x2ddac4,_0x41f56f){const _0x190d99=_0x190d();return _0x35a7=function(_0x35a784,_0x409149){_0x35a784=_0x35a784-0x1b0;let _0x54cc32=_0x190d99[_0x35a784];return _0x54cc32;},_0x35a7(_0x2ddac4,_0x41f56f);}const e={'collab-client':{'tooltip':{'reconnect':_0x573ca4(0x1c5)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x573ca4(0x1c7),'notCollab':_0x573ca4(0x1b3),'synced':'Synced','syncing':_0x573ca4(0x1c3),'offline':_0x573ca4(0x1b6)},'session':{'connection-failed':_0x573ca4(0x1c2),'will-retry':_0x573ca4(0x1c6),'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':_0x573ca4(0x1c8),'room-permission-denied':_0x573ca4(0x1bc),'room-cnt-exceeds':_0x573ca4(0x1c0),'collaboration-timeout':_0x573ca4(0x1b0)},'conflict':{'title':_0x573ca4(0x1b5),'content':_0x573ca4(0x1c4)},'permission':{'title':'Authentication\x20Error','content':_0x573ca4(0x1c1)},'collaboration':{'single-unit':{'warning':_0x573ca4(0x1ba)},'closeRoom':_0x573ca4(0x1bb)},'auth':{'needGotoLoginAlert':_0x573ca4(0x1b2)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x4c7db5=_0x5450;function _0x5450(_0xa04892,_0x42edc3){const _0x3a3bd1=_0x3a3b();return _0x5450=function(_0x54507d,_0x2d2aa0){_0x54507d=_0x54507d-0xa5;let _0x53f7e5=_0x3a3bd1[_0x54507d];return _0x53f7e5;},_0x5450(_0xa04892,_0x42edc3);}(function(_0x431cac,_0x214aad){const _0x1a16e8=_0x5450,_0x49a20f=_0x431cac();while(!![]){try{const _0x23f056=-parseInt(_0x1a16e8(0xbb))/0x1*(parseInt(_0x1a16e8(0xb9))/0x2)+parseInt(_0x1a16e8(0xb1))/0x3*(-parseInt(_0x1a16e8(0xbe))/0x4)+parseInt(_0x1a16e8(0xbc))/0x5*(-parseInt(_0x1a16e8(0xb3))/0x6)+parseInt(_0x1a16e8(0xaf))/0x7+parseInt(_0x1a16e8(0xa9))/0x8*(-parseInt(_0x1a16e8(0xbf))/0x9)+-parseInt(_0x1a16e8(0xa7))/0xa*(parseInt(_0x1a16e8(0xa6))/0xb)+parseInt(_0x1a16e8(0xb7))/0xc;if(_0x23f056===_0x214aad)break;else _0x49a20f['push'](_0x49a20f['shift']());}catch(_0x2c81d2){_0x49a20f['push'](_0x49a20f['shift']());}}}(_0x3a3b,0x383cd));function _0x3a3b(){const _0x23f44e=['ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','10747TnLzFR','2430dvBGhU','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','4208YOeDPP','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','تداخل\x20همکاری','در\x20حال\x20همگام\x20سازی...','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','2772406vvfiaq','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','1236471liQeRR','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','2526054xXyvPM','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','18402000kLnVjH','خطای\x20اعتبارسنجی','3490eTsZDr','همگام\x20سازی','224QoRDMH','5SFYFED','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','4XBmSiE','4068wSqiss','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'];_0x3a3b=function(){return _0x23f44e;};return _0x3a3b();}const o={'collab-client':{'tooltip':{'reconnect':_0x4c7db5(0xc0)}},'collabStatus':{'fetchMiss':_0x4c7db5(0xaa),'conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x4c7db5(0xba),'syncing':_0x4c7db5(0xad),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x4c7db5(0xb0),'will-retry':_0x4c7db5(0xb6),'room-full':_0x4c7db5(0xc1),'join-failed':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-not-exists':_0x4c7db5(0xae),'room-permission-denied':_0x4c7db5(0xb4),'room-cnt-exceeds':_0x4c7db5(0xab),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'},'conflict':{'title':_0x4c7db5(0xac),'content':_0x4c7db5(0xa8)},'permission':{'title':_0x4c7db5(0xb8),'content':_0x4c7db5(0xb2)},'collaboration':{'single-unit':{'warning':_0x4c7db5(0xb5)},'closeRoom':_0x4c7db5(0xbd)},'auth':{'needGotoLoginAlert':_0x4c7db5(0xa5)}};export{o as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x772aaa=_0x430b;(function(_0xbaaa0,_0x381f94){const _0x915aca=_0x430b,_0x42af7a=_0xbaaa0();while(!![]){try{const _0x211140=parseInt(_0x915aca(0xdf))/0x1+-parseInt(_0x915aca(0xd7))/0x2*(-parseInt(_0x915aca(0xe1))/0x3)+parseInt(_0x915aca(0xf4))/0x4*(-parseInt(_0x915aca(0xe8))/0x5)+parseInt(_0x915aca(0xe5))/0x6*(parseInt(_0x915aca(0xed))/0x7)+-parseInt(_0x915aca(0xef))/0x8+-parseInt(_0x915aca(0xdd))/0x9+parseInt(_0x915aca(0xe3))/0xa;if(_0x211140===_0x381f94)break;else _0x42af7a['push'](_0x42af7a['shift']());}catch(_0xe714b8){_0x42af7a['push'](_0x42af7a['shift']());}}}(_0x27e8,0xa354c));function _0x430b(_0x2ccf99,_0xa509f5){const _0x27e856=_0x27e8();return _0x430b=function(_0x430b1c,_0x42dae9){_0x430b1c=_0x430b1c-0xd7;let _0x5be0cf=_0x27e856[_0x430b1c];return _0x5be0cf;},_0x430b(_0x2ccf99,_0xa509f5);}function _0x27e8(){const _0x3cab3c=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing\x20server\x20data...','Click\x20to\x20Reconnect','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','5804487RoSQea','Connection\x20failed.\x20Please\x20check\x20your\x20network.','327367qGdAgV','Local\x20file','5823HvoiZA','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','10300550czVXaY','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','36dnqRPC','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','15HXjbMN','Authentication\x20Error','Syncing...','Edit\x20conflicts','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.','61747rLGwUq','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','5118424lqTYbv','Collaboration\x20Conflict','Synced','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.','939548bnsLjU','1286fgEOdT','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'];_0x27e8=function(){return _0x3cab3c;};return _0x27e8();}const e={'collab-client':{'tooltip':{'reconnect':_0x772aaa(0xdb)}},'collabStatus':{'fetchMiss':_0x772aaa(0xda),'conflict':_0x772aaa(0xeb),'notCollab':_0x772aaa(0xe0),'synced':_0x772aaa(0xf1),'syncing':_0x772aaa(0xea),'offline':_0x772aaa(0xd8)},'session':{'connection-failed':_0x772aaa(0xde),'will-retry':_0x772aaa(0xdc),'room-full':_0x772aaa(0xf2),'join-failed':_0x772aaa(0xee),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x772aaa(0xe6),'room-cnt-exceeds':_0x772aaa(0xe4),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x772aaa(0xf0),'content':_0x772aaa(0xec)},'permission':{'title':_0x772aaa(0xe9),'content':_0x772aaa(0xe2)},'collaboration':{'single-unit':{'warning':_0x772aaa(0xf3)},'closeRoom':_0x772aaa(0xd9)},'auth':{'needGotoLoginAlert':_0x772aaa(0xe7)}},o=e;export{o as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x54c461=_0x1f86;(function(_0x3de271,_0x541df2){const _0x577341=_0x1f86,_0x5bf184=_0x3de271();while(!![]){try{const _0x3e179d=parseInt(_0x577341(0x1ee))/0x1+parseInt(_0x577341(0x1e7))/0x2*(parseInt(_0x577341(0x1f0))/0x3)+-parseInt(_0x577341(0x1ed))/0x4*(-parseInt(_0x577341(0x1f4))/0x5)+parseInt(_0x577341(0x1e1))/0x6+parseInt(_0x577341(0x1e4))/0x7+-parseInt(_0x577341(0x1e0))/0x8*(parseInt(_0x577341(0x1e6))/0x9)+-parseInt(_0x577341(0x1e3))/0xa;if(_0x3e179d===_0x541df2)break;else _0x5bf184['push'](_0x5bf184['shift']());}catch(_0x469d3a){_0x5bf184['push'](_0x5bf184['shift']());}}}(_0x3999,0xc46ed));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x54c461(0x1f5),'conflict':_0x54c461(0x1de),'notCollab':_0x54c461(0x1f6),'synced':'Synced','syncing':_0x54c461(0x1e5),'offline':_0x54c461(0x1dd)},'session':{'connection-failed':_0x54c461(0x1e2),'will-retry':_0x54c461(0x1ea),'room-full':_0x54c461(0x1f2),'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':_0x54c461(0x1ec),'collaboration-timeout':_0x54c461(0x1f3)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x54c461(0x1e8)},'permission':{'title':_0x54c461(0x1f1),'content':_0x54c461(0x1eb)},'collaboration':{'single-unit':{'warning':_0x54c461(0x1df)},'closeRoom':_0x54c461(0x1ef)},'auth':{'needGotoLoginAlert':_0x54c461(0x1e9)}},o=e;function _0x1f86(_0x357373,_0x3d3cbc){const _0x3999af=_0x3999();return _0x1f86=function(_0x1f86e1,_0x48202e){_0x1f86e1=_0x1f86e1-0x1dd;let _0x2114a9=_0x3999af[_0x1f86e1];return _0x2114a9;},_0x1f86(_0x357373,_0x3d3cbc);}export{o as default};function _0x3999(){const _0x5db7a6=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','320YupYRi','Syncing\x20server\x20data...','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','341840uQawnh','5946192YqGRVV','Connection\x20failed.\x20Please\x20check\x20your\x20network.','32786200niVzec','5821781fbzkAU','Syncing...','243UbKXzJ','1722758nkxEiP','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\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','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.','75040YyVurX','1352185GHeInu','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','3mpGtyM','Authentication\x20Error','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x3999=function(){return _0x5db7a6;};return _0x3999();}
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x398d8c=_0x1256;(function(_0x52f6e7,_0x1e5291){const _0x314c06=_0x1256,_0x356390=_0x52f6e7();while(!![]){try{const _0x102209=-parseInt(_0x314c06(0x118))/0x1+-parseInt(_0x314c06(0x11a))/0x2+-parseInt(_0x314c06(0x11f))/0x3+-parseInt(_0x314c06(0x11d))/0x4*(-parseInt(_0x314c06(0x112))/0x5)+parseInt(_0x314c06(0x115))/0x6+-parseInt(_0x314c06(0x10d))/0x7+parseInt(_0x314c06(0x113))/0x8*(parseInt(_0x314c06(0x10c))/0x9);if(_0x102209===_0x1e5291)break;else _0x356390['push'](_0x356390['shift']());}catch(_0x570653){_0x356390['push'](_0x356390['shift']());}}}(_0x5d1e,0x82951));function _0x5d1e(){const _0x3431ad=['Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','8TipAmX','Collaboration\x20Conflict','1627002TdNrqw','Synced','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing\x20server\x20data...','Connection\x20failed.\x20Please\x20check\x20your\x20network.','66195BBvxYJ','4141900hTcyZv','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.','Authentication\x20Error','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','78495RHyjdS','3552lxsSKM','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1549992LRPNtL','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.','850171dgHkvj','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','2072560FHFhfV','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x5d1e=function(){return _0x3431ad;};return _0x5d1e();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x398d8c(0x122),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x398d8c(0x120),'syncing':'Syncing...','offline':_0x398d8c(0x111)},'session':{'connection-failed':_0x398d8c(0x123),'will-retry':_0x398d8c(0x110),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x398d8c(0x11b),'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':_0x398d8c(0x11c),'collaboration-timeout':_0x398d8c(0x114)},'conflict':{'title':_0x398d8c(0x11e),'content':_0x398d8c(0x10e)},'permission':{'title':_0x398d8c(0x10f),'content':_0x398d8c(0x116)},'collaboration':{'single-unit':{'warning':_0x398d8c(0x119)},'closeRoom':_0x398d8c(0x121)},'auth':{'needGotoLoginAlert':_0x398d8c(0x117)}},o=e;function _0x1256(_0x56f8fe,_0x3783ba){const _0x5d1e59=_0x5d1e();return _0x1256=function(_0x1256cf,_0x4b8c88){_0x1256cf=_0x1256cf-0x10c;let _0xf49776=_0x5d1e59[_0x1256cf];return _0xf49776;},_0x1256(_0x56f8fe,_0x3783ba);}export{o as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x1256(_0x797bc1,_0x4dc3d4){const _0x783370=_0x7833();return _0x1256=function(_0x125603,_0x35bfb9){_0x125603=_0x125603-0x12d;let _0x2bf8ef=_0x783370[_0x125603];return _0x2bf8ef;},_0x1256(_0x797bc1,_0x4dc3d4);}const _0x4cb543=_0x1256;function _0x7833(){const _0xc1cc0a=['306hvnZjk','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','5740195cCAVRY','17295atczPn','点击重新连接','服务器未响应,你的编辑将在本地缓存','连接失败,请检查你的网络','4662004SnjvfB','协同冲突','4916648gDkIdT','12aQGbYO','已离线,编辑将在本地缓存','正在拉取服务端数据...','加入协同失败,请稍后重试,你的编辑将在本地缓存','协同文档数量超过限制,你的编辑将在本地缓存','没有协同权限,你的编辑将在本地缓存','编辑冲突','由于协同房间被关闭,编辑权限被收回。','306751UeTlRs','此文档协同人数已满,你的编辑将在本地缓存','1349496EkNCwX','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','130ZcDWII','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','1386518SYEkYI','保存中...','已同步','加入协同失败,你的编辑将在本地缓存'];_0x7833=function(){return _0xc1cc0a;};return _0x7833();}(function(_0xafeb95,_0x855bc1){const _0x32371c=_0x1256,_0x600f3c=_0xafeb95();while(!![]){try{const _0xbba1a=-parseInt(_0x32371c(0x13e))/0x1+parseInt(_0x32371c(0x148))/0x2*(parseInt(_0x32371c(0x12f))/0x3)+parseInt(_0x32371c(0x133))/0x4+parseInt(_0x32371c(0x12e))/0x5+parseInt(_0x32371c(0x136))/0x6*(parseInt(_0x32371c(0x144))/0x7)+-parseInt(_0x32371c(0x135))/0x8+parseInt(_0x32371c(0x140))/0x9*(-parseInt(_0x32371c(0x142))/0xa);if(_0xbba1a===_0x855bc1)break;else _0x600f3c['push'](_0x600f3c['shift']());}catch(_0x44e9ae){_0x600f3c['push'](_0x600f3c['shift']());}}}(_0x7833,0xb00e9));const o={'collab-client':{'tooltip':{'reconnect':_0x4cb543(0x130)}},'collabStatus':{'fetchMiss':_0x4cb543(0x138),'conflict':_0x4cb543(0x13c),'notCollab':'本地文件','synced':_0x4cb543(0x146),'syncing':_0x4cb543(0x145),'offline':_0x4cb543(0x137)},'session':{'connection-failed':_0x4cb543(0x132),'will-retry':'连接失败,将在一会儿之后重试连接','room-full':_0x4cb543(0x13f),'join-failed':_0x4cb543(0x139),'room-not-exists':_0x4cb543(0x147),'room-permission-denied':_0x4cb543(0x13b),'room-cnt-exceeds':_0x4cb543(0x13a),'collaboration-timeout':_0x4cb543(0x131)},'conflict':{'title':_0x4cb543(0x134),'content':_0x4cb543(0x141)},'permission':{'title':'权限错误','content':_0x4cb543(0x12d)},'collaboration':{'single-unit':{'warning':'你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。'},'closeRoom':_0x4cb543(0x13d)},'auth':{'needGotoLoginAlert':_0x4cb543(0x143)}};export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x33f9fe=_0x2bdb;(function(_0x5046e0,_0x5b8c05){const _0x469df0=_0x2bdb,_0x2147c5=_0x5046e0();while(!![]){try{const _0x4f9918=parseInt(_0x469df0(0x155))/0x1+-parseInt(_0x469df0(0x14a))/0x2+parseInt(_0x469df0(0x161))/0x3+parseInt(_0x469df0(0x15b))/0x4*(-parseInt(_0x469df0(0x14b))/0x5)+-parseInt(_0x469df0(0x158))/0x6+parseInt(_0x469df0(0x15a))/0x7*(-parseInt(_0x469df0(0x14d))/0x8)+parseInt(_0x469df0(0x14e))/0x9*(parseInt(_0x469df0(0x157))/0xa);if(_0x4f9918===_0x5b8c05)break;else _0x2147c5['push'](_0x2147c5['shift']());}catch(_0x55f505){_0x2147c5['push'](_0x2147c5['shift']());}}}(_0x1dd8,0x2e900));const e={'collab-client':{'tooltip':{'reconnect':_0x33f9fe(0x162)}},'collabStatus':{'fetchMiss':_0x33f9fe(0x15c),'conflict':'Edit\x20conflicts','notCollab':_0x33f9fe(0x14c),'synced':'Synced','syncing':_0x33f9fe(0x151),'offline':_0x33f9fe(0x150)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x33f9fe(0x156),'room-full':_0x33f9fe(0x15e),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x33f9fe(0x15d),'room-permission-denied':_0x33f9fe(0x153),'room-cnt-exceeds':_0x33f9fe(0x154),'collaboration-timeout':_0x33f9fe(0x149)},'conflict':{'title':_0x33f9fe(0x148),'content':_0x33f9fe(0x15f)},'permission':{'title':'Authentication\x20Error','content':_0x33f9fe(0x14f)},'collaboration':{'single-unit':{'warning':_0x33f9fe(0x152)},'closeRoom':_0x33f9fe(0x159)},'auth':{'needGotoLoginAlert':_0x33f9fe(0x160)}},o=e;function _0x1dd8(){const _0x5869ea=['Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','214376HpJntd','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','210KQVOpx','114612BAuMxE','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','896pbhzdA','21040UloBaa','Syncing\x20server\x20data...','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20document\x20has\x20reached\x20its\x20collaboration\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.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','447408joCKwU','Click\x20to\x20Reconnect','Collaboration\x20Conflict','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','221052SbrJxU','275hgxYFG','Local\x20file','8336EsbGJM','162648KMZjNg'];_0x1dd8=function(){return _0x5869ea;};return _0x1dd8();}function _0x2bdb(_0x5251df,_0x54faeb){const _0x1dd87d=_0x1dd8();return _0x2bdb=function(_0x2bdbbd,_0x184e35){_0x2bdbbd=_0x2bdbbd-0x148;let _0x2740ed=_0x1dd87d[_0x2bdbbd];return _0x2740ed;},_0x2bdb(_0x5251df,_0x54faeb);}export{o as default};
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { UnitModel, UniverInstanceType } from '@univerjs/core';
|
1
2
|
import { FUniver } from '@univerjs/core/facade';
|
2
3
|
import { FCollaboration } from './f-collaboration';
|
3
4
|
/**
|
@@ -14,9 +15,24 @@ export interface IFUniverCollaborationClientMixin {
|
|
14
15
|
* ```
|
15
16
|
*/
|
16
17
|
getCollaboration(): FCollaboration;
|
18
|
+
/**
|
19
|
+
* Load the server unit by the given unit id and unit type.
|
20
|
+
* @param {string} unitId The unit id.
|
21
|
+
* @param {UniverInstanceType} unitType The unit type.
|
22
|
+
* @param {string} [subUnitId] The sub unit id.
|
23
|
+
* @returns {Promise<UnitModel | null>} The promise with the unit model.
|
24
|
+
*
|
25
|
+
* @example
|
26
|
+
* ```typescript
|
27
|
+
* const unitModel = await univerAPI.loadServerUnit('unitId', univerAPI.Enum.UniverInstanceType.UNIVER_SHEET);
|
28
|
+
* console.log(unitModel, unitModel?.getSnapshot());
|
29
|
+
* ```
|
30
|
+
*/
|
31
|
+
loadServerUnit(unitId: string, unitType: UniverInstanceType, subUnitId?: string): Promise<UnitModel | null>;
|
17
32
|
}
|
18
33
|
export declare class FUniverCollaborationClientMixin extends FUniver implements IFUniverCollaborationClientMixin {
|
19
34
|
getCollaboration(): FCollaboration;
|
35
|
+
loadServerUnit(unitId: string, unitType: UniverInstanceType, subUnitId?: string): Promise<UnitModel | null>;
|
20
36
|
}
|
21
37
|
/**
|
22
38
|
* @ignore
|
package/lib/umd/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x33a7(_0x466b75,_0x4f1409){var _0x4db6c8=_0x4db6();return _0x33a7=function(_0x33a74b,_0x11673c){_0x33a74b=_0x33a74b-0x1bc;var _0x30534a=_0x4db6c8[_0x33a74b];return _0x30534a;},_0x33a7(_0x466b75,_0x4f1409);}function _0x4db6(){var _0x5d4d78=['3HzRaCO','_snapshotService','614928Oemoqi','toDisposable','748781Pyzezy','extend','4824YPxoSQ','rxjs','loadActiveSheetAsync','get','232770AwBNPc','_handler','@univerjs-pro/collaboration','@univerjs/core','FCollaboration','12IkHvba','10rpgHkv','FBase','1422558NnHKmC','MemberService','@univerjs/core/facade','switchMap','@univerjs-pro/collaboration-client','function','values','loadUnit','DataLoaderService','_collaborationController','UniverProCollaborationClient','Injector','226762WUaJcV','subscribe','getCollaboration','1NLbApJ','Inject','loadSheetAsync','_injector','FUniver','getOwnPropertyDescriptor','IUniverInstanceService','loadServerUnit','createInstance','UniverProCollaborationClientFacade','1273152mPvieo','CollaborationController','loadSheet','UniverCoreFacade','Module','987BSvDVb','members$'];_0x4db6=function(){return _0x5d4d78;};return _0x4db6();}(function(_0x394e21,_0x432e06){var _0x13c821=_0x33a7,_0x4a74ab=_0x394e21();while(!![]){try{var _0x1314da=-parseInt(_0x13c821(0x1c8))/0x1*(parseInt(_0x13c821(0x1c5))/0x2)+parseInt(_0x13c821(0x1d9))/0x3*(-parseInt(_0x13c821(0x1db))/0x4)+parseInt(_0x13c821(0x1e3))/0x5*(parseInt(_0x13c821(0x1e8))/0x6)+-parseInt(_0x13c821(0x1d7))/0x7*(-parseInt(_0x13c821(0x1df))/0x8)+parseInt(_0x13c821(0x1eb))/0x9+parseInt(_0x13c821(0x1e9))/0xa*(-parseInt(_0x13c821(0x1dd))/0xb)+parseInt(_0x13c821(0x1d2))/0xc;if(_0x1314da===_0x432e06)break;else _0x4a74ab['push'](_0x4a74ab['shift']());}catch(_0x3471e3){_0x4a74ab['push'](_0x4a74ab['shift']());}}}(_0x4db6,0x1a261),function(_0x39afae,_0x4e5309){var _0x460250=_0x33a7;typeof exports=='object'&&typeof module<'u'?_0x4e5309(exports,require(_0x460250(0x1bd)),require('@univerjs/core/facade'),require(_0x460250(0x1e5)),require(_0x460250(0x1e6)),require(_0x460250(0x1e0))):typeof define==_0x460250(0x1be)&&define['amd']?define(['exports','@univerjs-pro/collaboration-client',_0x460250(0x1ed),'@univerjs-pro/collaboration',_0x460250(0x1e6),_0x460250(0x1e0)],_0x4e5309):(_0x39afae=typeof globalThis<'u'?globalThis:_0x39afae||self,_0x4e5309(_0x39afae[_0x460250(0x1d1)]={},_0x39afae[_0x460250(0x1c3)],_0x39afae[_0x460250(0x1d5)],_0x39afae['UniverProCollaboration'],_0x39afae['UniverCore'],_0x39afae[_0x460250(0x1e0)]));}(this,function(_0x5a9da1,_0x4a47f1,_0x2cd1ba,_0x57220f,_0x1a8bd9,_0x3751fc){'use strict';var _0x2b1f2c=_0x33a7;var _0x500a43=Object[_0x2b1f2c(0x1cd)],_0x4492ed=(_0x39e097,_0x54c67e,_0x175dde,_0x1d8a4a)=>{for(var _0x2c231d=_0x1d8a4a>0x1?void 0x0:_0x1d8a4a?_0x500a43(_0x54c67e,_0x175dde):_0x54c67e,_0x1fa420=_0x39e097['length']-0x1,_0x358647;_0x1fa420>=0x0;_0x1fa420--)(_0x358647=_0x39e097[_0x1fa420])&&(_0x2c231d=_0x358647(_0x2c231d)||_0x2c231d);return _0x2c231d;},_0x325a48=(_0xcb7faa,_0x2fb3ac)=>(_0xd4ad8c,_0x5334a7)=>_0x2fb3ac(_0xd4ad8c,_0x5334a7,_0xcb7faa);_0x5a9da1['FCollaboration']=class extends _0x2cd1ba[_0x2b1f2c(0x1ea)]{constructor(_0x2c8bb0,_0x1669ad,_0x1549e2,_0x3bd27e,_0x5d4ca2){var _0xa74ac1=_0x2b1f2c;super(),this[_0xa74ac1(0x1e4)]=_0x2c8bb0,this[_0xa74ac1(0x1cb)]=_0x1669ad,this['_univerInstanceService']=_0x1549e2,this['_snapshotService']=_0x3bd27e,this[_0xa74ac1(0x1c2)]=_0x5d4ca2;}async['loadActiveSheet'](){var _0x27b864=_0x2b1f2c;return this[_0x27b864(0x1e1)]();}async[_0x2b1f2c(0x1e1)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x2b1f2c(0x1d4)](_0x19b7e3){var _0x3a7ca7=_0x2b1f2c;return this[_0x3a7ca7(0x1ca)](_0x19b7e3);}async['loadSheetAsync'](_0x31fe6d,_0x2fe8af){var _0x3b6d94=_0x2b1f2c;return await this[_0x3b6d94(0x1da)][_0x3b6d94(0x1d4)](_0x31fe6d,0x0,_0x2fe8af)?(await this[_0x3b6d94(0x1c2)]['readyForCollab'](_0x31fe6d),this['_handler']['getUniverSheet'](_0x31fe6d)):null;}['subscribeCollaborators'](_0x128d4f,_0x4b504f){var _0x39c1f7=_0x2b1f2c;const _0x42ecf4=this[_0x39c1f7(0x1cb)][_0x39c1f7(0x1e2)](_0x4a47f1[_0x39c1f7(0x1ec)])['waitForRoom$'](_0x128d4f)['pipe'](_0x3751fc[_0x39c1f7(0x1bc)](_0x59f2b5=>_0x59f2b5[_0x39c1f7(0x1d8)]))[_0x39c1f7(0x1c6)](_0x2725df=>_0x4b504f(Array['from'](_0x2725df[_0x39c1f7(0x1bf)]())));return _0x1a8bd9[_0x39c1f7(0x1dc)](_0x42ecf4);}},_0x5a9da1[_0x2b1f2c(0x1e7)]=_0x4492ed([_0x325a48(0x1,_0x1a8bd9['Inject'](_0x1a8bd9[_0x2b1f2c(0x1c4)])),_0x325a48(0x2,_0x1a8bd9[_0x2b1f2c(0x1ce)]),_0x325a48(0x3,_0x1a8bd9[_0x2b1f2c(0x1c9)](_0x57220f['SnapshotService'])),_0x325a48(0x4,_0x1a8bd9[_0x2b1f2c(0x1c9)](_0x4a47f1[_0x2b1f2c(0x1d3)]))],_0x5a9da1[_0x2b1f2c(0x1e7)]);class _0xd7078a extends _0x2cd1ba[_0x2b1f2c(0x1cc)]{[_0x2b1f2c(0x1c7)](){var _0x39bdaa=_0x2b1f2c;return this[_0x39bdaa(0x1cb)]['createInstance'](_0x5a9da1['FCollaboration'],{'getUniverSheet':_0x351ced=>this['getUniverSheet'](_0x351ced)});}[_0x2b1f2c(0x1cf)](_0xe08dc0,_0x51a072,_0x5ba1cf){var _0xbc8c67=_0x2b1f2c;return this[_0xbc8c67(0x1cb)][_0xbc8c67(0x1d0)](_0x4a47f1[_0xbc8c67(0x1c1)])[_0xbc8c67(0x1c0)](_0xe08dc0,_0x51a072,_0x5ba1cf);}}_0x2cd1ba[_0x2b1f2c(0x1cc)][_0x2b1f2c(0x1de)](_0xd7078a),Object['defineProperty'](_0x5a9da1,Symbol['toStringTag'],{'value':_0x2b1f2c(0x1d6)});}));
|