@univerjs-pro/collaboration-client 0.6.5 → 0.6.6-experimental.20250319-2bbe26f
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 +11 -11
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x32654e=_0x432a;(function(_0x585569,_0x78ddd1){const _0x1332e7=_0x432a,_0x7db7bc=_0x585569();while(!![]){try{const _0x39c105=parseInt(_0x1332e7(0x1c8))/0x1+parseInt(_0x1332e7(0x1c4))/0x2*(parseInt(_0x1332e7(0x1d6))/0x3)+-parseInt(_0x1332e7(0x1c7))/0x4*(-parseInt(_0x1332e7(0x1cc))/0x5)+parseInt(_0x1332e7(0x1de))/0x6+parseInt(_0x1332e7(0x1c6))/0x7+parseInt(_0x1332e7(0x1ce))/0x8*(-parseInt(_0x1332e7(0x1cb))/0x9)+parseInt(_0x1332e7(0x1cf))/0xa*(-parseInt(_0x1332e7(0x1cd))/0xb);if(_0x39c105===_0x78ddd1)break;else _0x7db7bc['push'](_0x7db7bc['shift']());}catch(_0x2bcb65){_0x7db7bc['push'](_0x7db7bc['shift']());}}}(_0x2cf3,0xbac65));function _0x2cf3(){const _0x35d717=['Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','5967678wfnVVz','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.','745112jjpedM','Click\x20to\x20Reconnect','7299971CwYkuJ','13764pGrbTo','1075038EmuapG','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','4875498PGgNoW','1355djfRAG','11gzwSdy','16SjZUJb','25690980UlgwhK','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing\x20server\x20data...','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','The\x20document\x20has\x20reached\x20its\x20collaboration\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.','3AdYQmY','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Collaboration\x20Conflict','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...'];_0x2cf3=function(){return _0x35d717;};return _0x2cf3();}const e={'collab-client':{'tooltip':{'reconnect':_0x32654e(0x1c5)}},'collabStatus':{'fetchMiss':_0x32654e(0x1d1),'conflict':_0x32654e(0x1ca),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x32654e(0x1dc),'offline':_0x32654e(0x1d0)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x32654e(0x1d7),'room-full':_0x32654e(0x1d4),'join-failed':_0x32654e(0x1d9),'room-not-exists':_0x32654e(0x1d2),'room-permission-denied':_0x32654e(0x1c2),'room-cnt-exceeds':_0x32654e(0x1dd),'collaboration-timeout':_0x32654e(0x1db)},'conflict':{'title':_0x32654e(0x1d8),'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':_0x32654e(0x1d3),'content':_0x32654e(0x1d5)},'collaboration':{'single-unit':{'warning':_0x32654e(0x1c3)},'closeRoom':_0x32654e(0x1c9)},'auth':{'needGotoLoginAlert':_0x32654e(0x1da)}};function _0x432a(_0x3a3304,_0x325998){const _0x2cf302=_0x2cf3();return _0x432a=function(_0x432aa8,_0x216821){_0x432aa8=_0x432aa8-0x1c2;let _0x2693f4=_0x2cf302[_0x432aa8];return _0x2693f4;},_0x432a(_0x3a3304,_0x325998);}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x1409fd=_0x2eff;(function(_0x4680f9,_0x2853ed){const _0x5db3ad=_0x2eff,_0x58ca15=_0x4680f9();while(!![]){try{const _0x1d8f36=-parseInt(_0x5db3ad(0xc9))/0x1*(-parseInt(_0x5db3ad(0xd2))/0x2)+parseInt(_0x5db3ad(0xe0))/0x3*(-parseInt(_0x5db3ad(0xcd))/0x4)+-parseInt(_0x5db3ad(0xd6))/0x5+parseInt(_0x5db3ad(0xda))/0x6+parseInt(_0x5db3ad(0xce))/0x7*(-parseInt(_0x5db3ad(0xd4))/0x8)+-parseInt(_0x5db3ad(0xc7))/0x9+parseInt(_0x5db3ad(0xdb))/0xa;if(_0x1d8f36===_0x2853ed)break;else _0x58ca15['push'](_0x58ca15['shift']());}catch(_0x16f448){_0x58ca15['push'](_0x58ca15['shift']());}}}(_0x1f97,0x90b76));const o={'collab-client':{'tooltip':{'reconnect':_0x1409fd(0xd1)}},'collabStatus':{'fetchMiss':_0x1409fd(0xd9),'conflict':_0x1409fd(0xdf),'notCollab':'پرونده\x20محلی','synced':'همگام\x20سازی','syncing':_0x1409fd(0xcc),'offline':_0x1409fd(0xc5)},'session':{'connection-failed':_0x1409fd(0xcf),'will-retry':_0x1409fd(0xd0),'room-full':_0x1409fd(0xd7),'join-failed':_0x1409fd(0xca),'room-not-exists':_0x1409fd(0xc8),'room-permission-denied':_0x1409fd(0xdd),'room-cnt-exceeds':_0x1409fd(0xc6),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'},'conflict':{'title':_0x1409fd(0xd5),'content':_0x1409fd(0xd3)},'permission':{'title':_0x1409fd(0xde),'content':_0x1409fd(0xdc)},'collaboration':{'single-unit':{'warning':_0x1409fd(0xcb)},'closeRoom':_0x1409fd(0xd8)},'auth':{'needGotoLoginAlert':_0x1409fd(0xe1)}};function _0x2eff(_0x375506,_0x418224){const _0x1f9789=_0x1f97();return _0x2eff=function(_0x2effac,_0x57aea9){_0x2effac=_0x2effac-0xc5;let _0x5822dd=_0x1f9789[_0x2effac];return _0x5822dd;},_0x2eff(_0x375506,_0x418224);}function _0x1f97(){const _0x357fa2=['68iNXnla','7tLxXKa','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','624040dNSIQz','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','1660728gGbBpP','تداخل\x20همکاری','3295580wkMhcF','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','4090152bLiOAg','10958360HimVId','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','خطای\x20اعتبارسنجی','تداخل\x20ویرایش','205662ViBNFx','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','798345CKhnVS','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','3ZwCfpU','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','در\x20حال\x20همگام\x20سازی...'];_0x1f97=function(){return _0x357fa2;};return _0x1f97();}export{o as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x1a0f(_0x1863bb,_0xda0f7c){const _0x262d0f=_0x262d();return _0x1a0f=function(_0x1a0fc2,_0xdb3abe){_0x1a0fc2=_0x1a0fc2-0xf8;let _0x13bb38=_0x262d0f[_0x1a0fc2];return _0x13bb38;},_0x1a0f(_0x1863bb,_0xda0f7c);}const _0x102d5f=_0x1a0f;(function(_0x50c01a,_0x45c5a6){const _0x27e09c=_0x1a0f,_0x16cb6b=_0x50c01a();while(!![]){try{const _0x5283a4=parseInt(_0x27e09c(0xfe))/0x1*(-parseInt(_0x27e09c(0x107))/0x2)+parseInt(_0x27e09c(0x103))/0x3*(-parseInt(_0x27e09c(0x110))/0x4)+parseInt(_0x27e09c(0x10b))/0x5*(parseInt(_0x27e09c(0x101))/0x6)+-parseInt(_0x27e09c(0x10d))/0x7+parseInt(_0x27e09c(0xf9))/0x8+parseInt(_0x27e09c(0x102))/0x9*(-parseInt(_0x27e09c(0x112))/0xa)+parseInt(_0x27e09c(0x10c))/0xb*(parseInt(_0x27e09c(0x104))/0xc);if(_0x5283a4===_0x45c5a6)break;else _0x16cb6b['push'](_0x16cb6b['shift']());}catch(_0x56e117){_0x16cb6b['push'](_0x16cb6b['shift']());}}}(_0x262d,0xef6dd));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x102d5f(0xfd),'conflict':_0x102d5f(0xfc),'notCollab':_0x102d5f(0xff),'synced':_0x102d5f(0xfa),'syncing':_0x102d5f(0x105),'offline':_0x102d5f(0x10e)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x102d5f(0x109),'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':_0x102d5f(0xf8),'room-permission-denied':_0x102d5f(0x10a),'room-cnt-exceeds':_0x102d5f(0x10f),'collaboration-timeout':_0x102d5f(0x100)},'conflict':{'title':_0x102d5f(0x113),'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':_0x102d5f(0x106),'content':_0x102d5f(0xfb)},'collaboration':{'single-unit':{'warning':_0x102d5f(0x108)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x102d5f(0x111)}},o=e;function _0x262d(){const _0x4bca49=['9ETNCwW','6BgwzZI','35377308UgGrNh','Syncing...','Authentication\x20Error','2GaqiCZ','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','5fvifeL','11tlQnjo','6254801CuLUIC','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','871292IILKtI','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','14273400Ecbcpw','Collaboration\x20Conflict','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','6967840hngsOk','Synced','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Edit\x20conflicts','Syncing\x20server\x20data...','123673fvgjcZ','Local\x20file','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','250884POxkQY'];_0x262d=function(){return _0x4bca49;};return _0x262d();}export{o as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x191915=_0x1a8c;function _0x1a8c(_0x4a437b,_0x411690){const _0x128996=_0x1289();return _0x1a8c=function(_0x1a8c15,_0x262e40){_0x1a8c15=_0x1a8c15-0x85;let _0x52295d=_0x128996[_0x1a8c15];return _0x52295d;},_0x1a8c(_0x4a437b,_0x411690);}(function(_0x36b620,_0x41ab59){const _0x42e138=_0x1a8c,_0x59f668=_0x36b620();while(!![]){try{const _0x195597=-parseInt(_0x42e138(0x91))/0x1*(parseInt(_0x42e138(0x90))/0x2)+parseInt(_0x42e138(0x8e))/0x3+-parseInt(_0x42e138(0x94))/0x4*(-parseInt(_0x42e138(0x9c))/0x5)+parseInt(_0x42e138(0x96))/0x6*(parseInt(_0x42e138(0x93))/0x7)+parseInt(_0x42e138(0x98))/0x8+parseInt(_0x42e138(0x8f))/0x9+-parseInt(_0x42e138(0x95))/0xa;if(_0x195597===_0x41ab59)break;else _0x59f668['push'](_0x59f668['shift']());}catch(_0x5f0398){_0x59f668['push'](_0x59f668['shift']());}}}(_0x1289,0x36e6a));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x191915(0x8d),'conflict':_0x191915(0x99),'notCollab':_0x191915(0x9b),'synced':_0x191915(0x8c),'syncing':_0x191915(0x86),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x191915(0x85),'will-retry':_0x191915(0x8a),'room-full':_0x191915(0x88),'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':_0x191915(0x8b),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x191915(0x9a)},'permission':{'title':_0x191915(0x92),'content':_0x191915(0x87)},'collaboration':{'single-unit':{'warning':_0x191915(0x97)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x191915(0x89)}},o=e;export{o as default};function _0x1289(){const _0x2bd237=['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.','Local\x20file','48885mjXQJZ','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Syncing...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','Syncing\x20server\x20data...','1251102bjGlVi','86868zICjUw','660966QUuOII','1lOwCjE','Authentication\x20Error','392mcbAHA','12glEqSd','6779410SMxnrW','42138SdykGi','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','3071944BOPGMp'];_0x1289=function(){return _0x2bd237;};return _0x1289();}
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x2e29c1=_0x4219;function _0x4219(_0x2d4ae5,_0x5ea255){const _0x3e60ec=_0x3e60();return _0x4219=function(_0x4219b0,_0x2f3ac8){_0x4219b0=_0x4219b0-0x135;let _0x3b45ef=_0x3e60ec[_0x4219b0];return _0x3b45ef;},_0x4219(_0x2d4ae5,_0x5ea255);}(function(_0xc16301,_0x1240db){const _0x498fb7=_0x4219,_0x4e25e5=_0xc16301();while(!![]){try{const _0x454eae=parseInt(_0x498fb7(0x139))/0x1+parseInt(_0x498fb7(0x13d))/0x2+parseInt(_0x498fb7(0x144))/0x3+-parseInt(_0x498fb7(0x13b))/0x4*(-parseInt(_0x498fb7(0x145))/0x5)+-parseInt(_0x498fb7(0x135))/0x6+parseInt(_0x498fb7(0x138))/0x7*(-parseInt(_0x498fb7(0x143))/0x8)+-parseInt(_0x498fb7(0x14a))/0x9*(-parseInt(_0x498fb7(0x146))/0xa);if(_0x454eae===_0x1240db)break;else _0x4e25e5['push'](_0x4e25e5['shift']());}catch(_0x175eb9){_0x4e25e5['push'](_0x4e25e5['shift']());}}}(_0x3e60,0x3e358));function _0x3e60(){const _0x373ed8=['Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','2476770geXmrn','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','7yFivLP','100243jqJiqa','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','148XyaziU','Connection\x20failed.\x20Please\x20check\x20your\x20network.','398162YRKwTh','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','3243032OotioS','89145LWKzfk','51335PJxtND','40RZHYCm','Collaboration\x20Conflict','Click\x20to\x20Reconnect','Edit\x20conflicts','819144GHhzqE','Synced'];_0x3e60=function(){return _0x373ed8;};return _0x3e60();}const e={'collab-client':{'tooltip':{'reconnect':_0x2e29c1(0x148)}},'collabStatus':{'fetchMiss':_0x2e29c1(0x140),'conflict':_0x2e29c1(0x149),'notCollab':'Local\x20file','synced':_0x2e29c1(0x14b),'syncing':'Syncing...','offline':_0x2e29c1(0x14c)},'session':{'connection-failed':_0x2e29c1(0x13c),'will-retry':_0x2e29c1(0x13f),'room-full':_0x2e29c1(0x14d),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x2e29c1(0x137),'room-permission-denied':_0x2e29c1(0x13a),'room-cnt-exceeds':_0x2e29c1(0x141),'collaboration-timeout':_0x2e29c1(0x136)},'conflict':{'title':_0x2e29c1(0x147),'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':_0x2e29c1(0x142),'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':_0x2e29c1(0x14e)},'closeRoom':_0x2e29c1(0x13e)},'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
|
+
function _0x27af(_0x11f30e,_0x2d5de6){const _0x2aa285=_0x2aa2();return _0x27af=function(_0x27afa2,_0x809054){_0x27afa2=_0x27afa2-0x98;let _0x1c2625=_0x2aa285[_0x27afa2];return _0x1c2625;},_0x27af(_0x11f30e,_0x2d5de6);}const _0x33570f=_0x27af;function _0x2aa2(){const _0x2fb9c0=['已离线,编辑将在本地缓存','正在拉取服务端数据...','已同步','此文档协同人数已满,你的编辑将在本地缓存','5180465mIRkju','连接失败,将在一会儿之后重试连接','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','3712448vowRtF','保存中...','连接失败,请检查你的网络','30dQWTGQ','加入协同失败,你的编辑将在本地缓存','由于协同房间被关闭,编辑权限被收回。','5401392PuWLEW','5723766WHOyLv','编辑冲突','没有协同权限,你的编辑将在本地缓存','2PYMLJv','协同冲突','加入协同失败,请稍后重试,你的编辑将在本地缓存','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','2317407UaaqKX','7qQtJgD','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','782201LGpXjZ','点击重新连接','6828777yAsqaw'];_0x2aa2=function(){return _0x2fb9c0;};return _0x2aa2();}(function(_0x48020f,_0x45b5b8){const _0x2aa178=_0x27af,_0x2b7add=_0x48020f();while(!![]){try{const _0x15e71f=-parseInt(_0x2aa178(0x9e))/0x1+-parseInt(_0x2aa178(0xb2))/0x2*(-parseInt(_0x2aa178(0x9b))/0x3)+parseInt(_0x2aa178(0xa8))/0x4+-parseInt(_0x2aa178(0xa5))/0x5+-parseInt(_0x2aa178(0xaf))/0x6*(parseInt(_0x2aa178(0x9c))/0x7)+-parseInt(_0x2aa178(0xae))/0x8+parseInt(_0x2aa178(0xa0))/0x9*(parseInt(_0x2aa178(0xab))/0xa);if(_0x15e71f===_0x45b5b8)break;else _0x2b7add['push'](_0x2b7add['shift']());}catch(_0x515dc5){_0x2b7add['push'](_0x2b7add['shift']());}}}(_0x2aa2,0x81403));const o={'collab-client':{'tooltip':{'reconnect':_0x33570f(0x9f)}},'collabStatus':{'fetchMiss':_0x33570f(0xa2),'conflict':_0x33570f(0xb0),'notCollab':'本地文件','synced':_0x33570f(0xa3),'syncing':_0x33570f(0xa9),'offline':_0x33570f(0xa1)},'session':{'connection-failed':_0x33570f(0xaa),'will-retry':_0x33570f(0xa6),'room-full':_0x33570f(0xa4),'join-failed':_0x33570f(0x99),'room-not-exists':_0x33570f(0xac),'room-permission-denied':_0x33570f(0xb1),'room-cnt-exceeds':'协同文档数量超过限制,你的编辑将在本地缓存','collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':_0x33570f(0x98),'content':_0x33570f(0x9a)},'permission':{'title':'权限错误','content':_0x33570f(0xa7)},'collaboration':{'single-unit':{'warning':'你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。'},'closeRoom':_0x33570f(0xad)},'auth':{'needGotoLoginAlert':_0x33570f(0x9d)}};export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x5524(){const _0x512191=['7648820ONzlRH','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','841345WvWhpc','Local\x20file','41058127ZIfLnc','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.','478580yBknxO','7270NzKNCC','973AVRzyd','18wECjKm','Edit\x20conflicts','4IvntPt','Syncing...','480lepUIM','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','9780uGUBhF','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','12UdTnEN','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','2733720zVwFYN','Click\x20to\x20Reconnect','Synced','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0x5524=function(){return _0x512191;};return _0x5524();}const _0x4fc1ac=_0x33a6;(function(_0x17b966,_0x241225){const _0x12c57c=_0x33a6,_0x23b259=_0x17b966();while(!![]){try{const _0x234ee8=-parseInt(_0x12c57c(0x168))/0x1+parseInt(_0x12c57c(0x169))/0x2*(-parseInt(_0x12c57c(0x16f))/0x3)+parseInt(_0x12c57c(0x16d))/0x4*(-parseInt(_0x12c57c(0x164))/0x5)+parseInt(_0x12c57c(0x172))/0x6*(parseInt(_0x12c57c(0x16a))/0x7)+-parseInt(_0x12c57c(0x15e))/0x8+parseInt(_0x12c57c(0x16b))/0x9*(-parseInt(_0x12c57c(0x162))/0xa)+parseInt(_0x12c57c(0x166))/0xb*(parseInt(_0x12c57c(0x15b))/0xc);if(_0x234ee8===_0x241225)break;else _0x23b259['push'](_0x23b259['shift']());}catch(_0x578fb8){_0x23b259['push'](_0x23b259['shift']());}}}(_0x5524,0xd1c3f));function _0x33a6(_0x3338e1,_0x3b17f8){const _0x5524a4=_0x5524();return _0x33a6=function(_0x33a657,_0x49ac88){_0x33a657=_0x33a657-0x157;let _0x327b62=_0x5524a4[_0x33a657];return _0x327b62;},_0x33a6(_0x3338e1,_0x3b17f8);}const e={'collab-client':{'tooltip':{'reconnect':_0x4fc1ac(0x15f)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x4fc1ac(0x16c),'notCollab':_0x4fc1ac(0x165),'synced':_0x4fc1ac(0x160),'syncing':_0x4fc1ac(0x16e),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x4fc1ac(0x171),'will-retry':_0x4fc1ac(0x15d),'room-full':_0x4fc1ac(0x157),'join-failed':_0x4fc1ac(0x173),'room-not-exists':_0x4fc1ac(0x15c),'room-permission-denied':_0x4fc1ac(0x15a),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x4fc1ac(0x159)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x4fc1ac(0x167)},'permission':{'title':_0x4fc1ac(0x158),'content':_0x4fc1ac(0x161)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x4fc1ac(0x170)},'auth':{'needGotoLoginAlert':_0x4fc1ac(0x163)}},o=e;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 _0x51a6(_0xd6a63a,_0x247431){var _0x28f825=_0x28f8();return _0x51a6=function(_0x51a6b4,_0x19ab4a){_0x51a6b4=_0x51a6b4-0x73;var _0x3660e0=_0x28f825[_0x51a6b4];return _0x3660e0;},_0x51a6(_0xd6a63a,_0x247431);}function _0x28f8(){var _0x492f7b=['UniverCoreFacade','2995128IbgZhW','getOwnPropertyDescriptor','IUniverInstanceService','readyForCollab','FUniver','18ZtWTIX','227194NEudTm','loadServerUnit','loadActiveSheetAsync','loadUnit','MemberService','_snapshotService','FBase','UniverProCollaborationClientFacade','createInstance','1759828gvQQJo','@univerjs/core/facade','amd','getUniverSheet','switchMap','Inject','_handler','toStringTag','function','rxjs','12FUGIGr','2482280ymWJJE','5Nmgfdl','1925255YiMLpf','@univerjs-pro/collaboration-client','4308AWMwPb','1372xHQisT','loadActiveSheet','UniverProCollaborationClient','Injector','FCollaboration','CollaborationController','exports','UniverCore','Module','subscribe','360614HviLWA','_collaborationController','_injector','get','pipe','loadSheetAsync','from','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_univerInstanceService','defineProperty','SnapshotService','toDisposable','loadSheet','length','@univerjs/core','636XPNwEw','object'];_0x28f8=function(){return _0x492f7b;};return _0x28f8();}(function(_0x4b2fb0,_0x5bb625){var _0x510db0=_0x51a6,_0x1bddeb=_0x4b2fb0();while(!![]){try{var _0x5e887f=parseInt(_0x510db0(0x9e))/0x1*(parseInt(_0x510db0(0xac))/0x2)+parseInt(_0x510db0(0xa1))/0x3*(-parseInt(_0x510db0(0xa2))/0x4)+parseInt(_0x510db0(0x9f))/0x5*(parseInt(_0x510db0(0x9c))/0x6)+parseInt(_0x510db0(0x92))/0x7+-parseInt(_0x510db0(0x83))/0x8+parseInt(_0x510db0(0x88))/0x9*(parseInt(_0x510db0(0x9d))/0xa)+-parseInt(_0x510db0(0x89))/0xb*(parseInt(_0x510db0(0x80))/0xc);if(_0x5e887f===_0x5bb625)break;else _0x1bddeb['push'](_0x1bddeb['shift']());}catch(_0x2c7c51){_0x1bddeb['push'](_0x1bddeb['shift']());}}}(_0x28f8,0x6fca8),function(_0x5b700b,_0x565748){var _0x6d3b1d=_0x51a6;typeof exports==_0x6d3b1d(0x81)&&typeof module<'u'?_0x565748(exports,require(_0x6d3b1d(0xa0)),require(_0x6d3b1d(0x93)),require('@univerjs-pro/collaboration'),require(_0x6d3b1d(0x7f)),require('rxjs')):typeof define==_0x6d3b1d(0x9a)&&define[_0x6d3b1d(0x94)]?define([_0x6d3b1d(0xa8),_0x6d3b1d(0xa0),_0x6d3b1d(0x93),'@univerjs-pro/collaboration','@univerjs/core','rxjs'],_0x565748):(_0x5b700b=typeof globalThis<'u'?globalThis:_0x5b700b||self,_0x565748(_0x5b700b[_0x6d3b1d(0x90)]={},_0x5b700b[_0x6d3b1d(0xa4)],_0x5b700b[_0x6d3b1d(0x82)],_0x5b700b['UniverProCollaboration'],_0x5b700b[_0x6d3b1d(0xa9)],_0x5b700b[_0x6d3b1d(0x9b)]));}(this,function(_0x45658a,_0x3baa04,_0x526ab6,_0x494803,_0x59e5da,_0x32adea){'use strict';var _0x5cb9f9=_0x51a6;var _0x79d472=Object[_0x5cb9f9(0x84)],_0x3f9b1d=(_0x46fa91,_0x42c856,_0x5bcf2e,_0x300971)=>{var _0x4a57c0=_0x5cb9f9;for(var _0x8f1237=_0x300971>0x1?void 0x0:_0x300971?_0x79d472(_0x42c856,_0x5bcf2e):_0x42c856,_0x4a0b51=_0x46fa91[_0x4a57c0(0x7e)]-0x1,_0x703bb7;_0x4a0b51>=0x0;_0x4a0b51--)(_0x703bb7=_0x46fa91[_0x4a0b51])&&(_0x8f1237=_0x703bb7(_0x8f1237)||_0x8f1237);return _0x8f1237;},_0x87dc75=(_0x3b4a45,_0x35a4a6)=>(_0x3ada28,_0xc4553b)=>_0x35a4a6(_0x3ada28,_0xc4553b,_0x3b4a45);_0x45658a[_0x5cb9f9(0xa6)]=class extends _0x526ab6[_0x5cb9f9(0x8f)]{constructor(_0x2dda94,_0x34d0e2,_0x1784a,_0x4ea28c,_0x2a0863){var _0x36aaf9=_0x5cb9f9;super(),this['_handler']=_0x2dda94,this[_0x36aaf9(0x73)]=_0x34d0e2,this[_0x36aaf9(0x79)]=_0x1784a,this[_0x36aaf9(0x8e)]=_0x4ea28c,this[_0x36aaf9(0xad)]=_0x2a0863;}async[_0x5cb9f9(0xa3)](){var _0x44bd84=_0x5cb9f9;return this[_0x44bd84(0x8b)]();}async[_0x5cb9f9(0x8b)](){var _0x1696b0=_0x5cb9f9;throw new Error(_0x1696b0(0x78));}async['loadSheet'](_0xc19489){var _0x19d828=_0x5cb9f9;return this[_0x19d828(0x76)](_0xc19489);}async['loadSheetAsync'](_0x2f2dbf,_0x58bf2e){var _0xd67c62=_0x5cb9f9;return await this[_0xd67c62(0x8e)][_0xd67c62(0x7d)](_0x2f2dbf,0x0,_0x58bf2e)?(await this['_collaborationController'][_0xd67c62(0x86)](_0x2f2dbf),this[_0xd67c62(0x98)][_0xd67c62(0x95)](_0x2f2dbf)):null;}['subscribeCollaborators'](_0x4bac01,_0x12d206){var _0x85a5b8=_0x5cb9f9;const _0x2b47ee=this[_0x85a5b8(0x73)][_0x85a5b8(0x74)](_0x3baa04[_0x85a5b8(0x8d)])['waitForRoom$'](_0x4bac01)[_0x85a5b8(0x75)](_0x32adea[_0x85a5b8(0x96)](_0x3f7ec4=>_0x3f7ec4['members$']))[_0x85a5b8(0xab)](_0xafec54=>_0x12d206(Array[_0x85a5b8(0x77)](_0xafec54['values']())));return _0x59e5da[_0x85a5b8(0x7c)](_0x2b47ee);}},_0x45658a[_0x5cb9f9(0xa6)]=_0x3f9b1d([_0x87dc75(0x1,_0x59e5da[_0x5cb9f9(0x97)](_0x59e5da[_0x5cb9f9(0xa5)])),_0x87dc75(0x2,_0x59e5da[_0x5cb9f9(0x85)]),_0x87dc75(0x3,_0x59e5da[_0x5cb9f9(0x97)](_0x494803[_0x5cb9f9(0x7b)])),_0x87dc75(0x4,_0x59e5da[_0x5cb9f9(0x97)](_0x3baa04[_0x5cb9f9(0xa7)]))],_0x45658a['FCollaboration']);class _0x3eda40 extends _0x526ab6[_0x5cb9f9(0x87)]{['getCollaboration'](){var _0x2622a5=_0x5cb9f9;return this[_0x2622a5(0x73)][_0x2622a5(0x91)](_0x45658a[_0x2622a5(0xa6)],{'getUniverSheet':_0x3c34a3=>this[_0x2622a5(0x95)](_0x3c34a3)});}[_0x5cb9f9(0x8a)](_0x53d58b,_0x446e42,_0x2a65dd){var _0x5de738=_0x5cb9f9;return this[_0x5de738(0x73)][_0x5de738(0x91)](_0x3baa04['DataLoaderService'])[_0x5de738(0x8c)](_0x53d58b,_0x446e42,_0x2a65dd);}}_0x526ab6['FUniver']['extend'](_0x3eda40),Object[_0x5cb9f9(0x7a)](_0x45658a,Symbol[_0x5cb9f9(0x99)],{'value':_0x5cb9f9(0xaa)});}));
|