@univerjs-pro/collaboration-client 0.6.6-nightly.202503151606 → 0.6.6-nightly.202503171607
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
|
+
const _0x2941c1=_0x8b98;(function(_0x5a0517,_0x55272f){const _0x2d829e=_0x8b98,_0x43f768=_0x5a0517();while(!![]){try{const _0x1c41b6=-parseInt(_0x2d829e(0x186))/0x1*(parseInt(_0x2d829e(0x191))/0x2)+-parseInt(_0x2d829e(0x18d))/0x3+-parseInt(_0x2d829e(0x187))/0x4*(-parseInt(_0x2d829e(0x18b))/0x5)+parseInt(_0x2d829e(0x196))/0x6*(-parseInt(_0x2d829e(0x184))/0x7)+-parseInt(_0x2d829e(0x182))/0x8*(-parseInt(_0x2d829e(0x197))/0x9)+parseInt(_0x2d829e(0x18e))/0xa*(-parseInt(_0x2d829e(0x198))/0xb)+parseInt(_0x2d829e(0x199))/0xc;if(_0x1c41b6===_0x55272f)break;else _0x43f768['push'](_0x43f768['shift']());}catch(_0x16c921){_0x43f768['push'](_0x43f768['shift']());}}}(_0x3315,0xc2af5));function _0x3315(){const _0x573cde=['You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','3mwrrDS','364AMCMwP','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','48335QodAsM','Edit\x20conflicts','1149255CIYaCF','7580XwHmiP','Synced','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','843486WyyLqd','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','4840116MFaiHI','370989wZgLuh','10219MiumvV','30492492WLHcDG','104deYBRQ','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.','7xNLiqu'];_0x3315=function(){return _0x573cde;};return _0x3315();}function _0x8b98(_0x5dfffb,_0x2bf29f){const _0x3315a1=_0x3315();return _0x8b98=function(_0x8b9811,_0x2df88b){_0x8b9811=_0x8b9811-0x182;let _0x4cf3ae=_0x3315a1[_0x8b9811];return _0x4cf3ae;},_0x8b98(_0x5dfffb,_0x2bf29f);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x2941c1(0x18c),'notCollab':'Local\x20file','synced':_0x2941c1(0x18f),'syncing':_0x2941c1(0x189),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2941c1(0x194),'will-retry':_0x2941c1(0x190),'room-full':_0x2941c1(0x193),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x2941c1(0x192),'room-permission-denied':_0x2941c1(0x188),'room-cnt-exceeds':_0x2941c1(0x18a),'collaboration-timeout':_0x2941c1(0x195)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x2941c1(0x183)},'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':_0x2941c1(0x185)},'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 _0x55bb(_0x15ae95,_0x1a408b){const _0x7eac98=_0x7eac();return _0x55bb=function(_0x55bb9c,_0x57b434){_0x55bb9c=_0x55bb9c-0x101;let _0x42f97f=_0x7eac98[_0x55bb9c];return _0x42f97f;},_0x55bb(_0x15ae95,_0x1a408b);}const _0x4c79e2=_0x55bb;function _0x7eac(){const _0x52d56f=['خطای\x20اعتبارسنجی','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','522PLEGcb','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','همگام\x20سازی','تداخل\x20همکاری','در\x20حال\x20همگام\x20سازی...','42860EYgSQl','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','1079164wftIth','2486mpeipG','12738705dRKlKJ','1615878xuxfMB','255ZXrFZc','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','2816424pCqrXh','تداخل\x20ویرایش','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','23316795DsWcrA'];_0x7eac=function(){return _0x52d56f;};return _0x7eac();}(function(_0x4adc24,_0x326d7f){const _0x964466=_0x55bb,_0x5bb9e9=_0x4adc24();while(!![]){try{const _0xbc7837=parseInt(_0x964466(0x114))/0x1+-parseInt(_0x964466(0x115))/0x2*(-parseInt(_0x964466(0x10a))/0x3)+parseInt(_0x964466(0x10f))/0x4*(parseInt(_0x964466(0x118))/0x5)+parseInt(_0x964466(0x117))/0x6+parseInt(_0x964466(0x116))/0x7+-parseInt(_0x964466(0x101))/0x8+-parseInt(_0x964466(0x106))/0x9;if(_0xbc7837===_0x326d7f)break;else _0x5bb9e9['push'](_0x5bb9e9['shift']());}catch(_0x26561e){_0x5bb9e9['push'](_0x5bb9e9['shift']());}}}(_0x7eac,0xf1447));const o={'collab-client':{'tooltip':{'reconnect':_0x4c79e2(0x119)}},'collabStatus':{'fetchMiss':_0x4c79e2(0x10b),'conflict':_0x4c79e2(0x102),'notCollab':'پرونده\x20محلی','synced':_0x4c79e2(0x10c),'syncing':_0x4c79e2(0x10e),'offline':_0x4c79e2(0x108)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x4c79e2(0x111),'room-full':_0x4c79e2(0x112),'join-failed':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-not-exists':_0x4c79e2(0x109),'room-permission-denied':'دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-cnt-exceeds':_0x4c79e2(0x105),'collaboration-timeout':_0x4c79e2(0x110)},'conflict':{'title':_0x4c79e2(0x10d),'content':_0x4c79e2(0x113)},'permission':{'title':_0x4c79e2(0x107),'content':_0x4c79e2(0x104)},'collaboration':{'single-unit':{'warning':_0x4c79e2(0x103)},'closeRoom':_0x4c79e2(0x11a)},'auth':{'needGotoLoginAlert':'ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
const _0x4077f4=_0x466c;function _0x3955(){const _0x31d00f=['2604138jjLcxc','3mNniRs','7WcEHQZ','1316268EnKzVJ','Collaboration\x20Conflict','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','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','Failed\x20to\x20join\x20collaboration.\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.','20UOWWkq','Syncing...','Local\x20file','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3043968QQDqyn','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','5579928AXXeaF','Synced','82229FWvtYQ','163045kqzMPk','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','8628690qsnmGr'];_0x3955=function(){return _0x31d00f;};return _0x3955();}function _0x466c(_0x5ef397,_0xa5a94f){const _0x395550=_0x3955();return _0x466c=function(_0x466cf9,_0x82eb4c){_0x466cf9=_0x466cf9-0x112;let _0x5ddbbe=_0x395550[_0x466cf9];return _0x5ddbbe;},_0x466c(_0x5ef397,_0xa5a94f);}(function(_0x1b014a,_0x1dc5db){const _0x28440a=_0x466c,_0x3bccfe=_0x1b014a();while(!![]){try{const _0x2f70b6=-parseInt(_0x28440a(0x123))/0x1+parseInt(_0x28440a(0x127))/0x2*(parseInt(_0x28440a(0x128))/0x3)+-parseInt(_0x28440a(0x11b))/0x4*(-parseInt(_0x28440a(0x124))/0x5)+-parseInt(_0x28440a(0x121))/0x6+-parseInt(_0x28440a(0x129))/0x7*(parseInt(_0x28440a(0x11f))/0x8)+-parseInt(_0x28440a(0x12a))/0x9+parseInt(_0x28440a(0x126))/0xa;if(_0x2f70b6===_0x1dc5db)break;else _0x3bccfe['push'](_0x3bccfe['shift']());}catch(_0x24357c){_0x3bccfe['push'](_0x3bccfe['shift']());}}}(_0x3955,0xc0a1a));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':_0x4077f4(0x11d),'synced':_0x4077f4(0x122),'syncing':_0x4077f4(0x11c),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x4077f4(0x120),'room-not-exists':_0x4077f4(0x119),'room-permission-denied':_0x4077f4(0x125),'room-cnt-exceeds':_0x4077f4(0x11e),'collaboration-timeout':_0x4077f4(0x113)},'conflict':{'title':_0x4077f4(0x112),'content':_0x4077f4(0x117)},'permission':{'title':_0x4077f4(0x118),'content':_0x4077f4(0x115)},'collaboration':{'single-unit':{'warning':_0x4077f4(0x11a)},'closeRoom':_0x4077f4(0x116)},'auth':{'needGotoLoginAlert':_0x4077f4(0x114)}},o=e;export{o as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x3478(_0x345c3c,_0x44c0e2){const _0x598f22=_0x598f();return _0x3478=function(_0x347846,_0x8d9f82){_0x347846=_0x347846-0xe9;let _0x26fe6a=_0x598f22[_0x347846];return _0x26fe6a;},_0x3478(_0x345c3c,_0x44c0e2);}const _0xa42c81=_0x3478;(function(_0x1ac935,_0x5698a7){const _0x1b8173=_0x3478,_0x2c1256=_0x1ac935();while(!![]){try{const _0x35af77=parseInt(_0x1b8173(0xff))/0x1*(parseInt(_0x1b8173(0xfd))/0x2)+-parseInt(_0x1b8173(0xec))/0x3+parseInt(_0x1b8173(0xf6))/0x4+parseInt(_0x1b8173(0xee))/0x5+-parseInt(_0x1b8173(0x105))/0x6+parseInt(_0x1b8173(0x103))/0x7*(-parseInt(_0x1b8173(0xf2))/0x8)+parseInt(_0x1b8173(0xf8))/0x9;if(_0x35af77===_0x5698a7)break;else _0x2c1256['push'](_0x2c1256['shift']());}catch(_0xede125){_0x2c1256['push'](_0x2c1256['shift']());}}}(_0x598f,0xde64b));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0xa42c81(0xfb),'conflict':_0xa42c81(0xea),'notCollab':_0xa42c81(0xfe),'synced':_0xa42c81(0x101),'syncing':_0xa42c81(0xf4),'offline':_0xa42c81(0xf3)},'session':{'connection-failed':_0xa42c81(0x104),'will-retry':_0xa42c81(0xef),'room-full':_0xa42c81(0xf1),'join-failed':_0xa42c81(0xed),'room-not-exists':_0xa42c81(0xfc),'room-permission-denied':_0xa42c81(0xf5),'room-cnt-exceeds':_0xa42c81(0xfa),'collaboration-timeout':_0xa42c81(0xf0)},'conflict':{'title':_0xa42c81(0x100),'content':_0xa42c81(0xeb)},'permission':{'title':_0xa42c81(0xe9),'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':_0xa42c81(0x102)},'closeRoom':_0xa42c81(0xf9)},'auth':{'needGotoLoginAlert':_0xa42c81(0xf7)}},o=e;export{o as default};function _0x598f(){const _0x1282ea=['4470808PnqOUT','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','3903777idotoW','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','913142WeGmkr','Local\x20file','3vwHrts','Collaboration\x20Conflict','Synced','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','13909OKRxZt','Connection\x20failed.\x20Please\x20check\x20your\x20network.','2689962HgcGYd','Authentication\x20Error','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.','3847923cUToWW','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2915405VIUKxm','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3472hTCUwI','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing...','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x598f=function(){return _0x1282ea;};return _0x598f();}
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
const _0xa347a1=_0x4d56;(function(_0x24e6cc,_0x58d615){const _0x436a8b=_0x4d56,_0x33cf47=_0x24e6cc();while(!![]){try{const _0x116ba2=parseInt(_0x436a8b(0x113))/0x1+-parseInt(_0x436a8b(0x115))/0x2+-parseInt(_0x436a8b(0x12b))/0x3*(-parseInt(_0x436a8b(0x116))/0x4)+-parseInt(_0x436a8b(0x117))/0x5*(-parseInt(_0x436a8b(0x11c))/0x6)+-parseInt(_0x436a8b(0x126))/0x7+-parseInt(_0x436a8b(0x118))/0x8+parseInt(_0x436a8b(0x11a))/0x9;if(_0x116ba2===_0x58d615)break;else _0x33cf47['push'](_0x33cf47['shift']());}catch(_0xb29319){_0x33cf47['push'](_0x33cf47['shift']());}}}(_0x2cbd,0xc94a7));function _0x2cbd(){const _0x1d1f86=['Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Click\x20to\x20Reconnect','Syncing\x20server\x20data...','5473020WQoJWf','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Local\x20file','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','3QnbHmL','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.','406642MANMWY','Syncing...','1667190xQPNDd','3137764VvWpxr','67705haTRfA','8803344qTdRka','Edit\x20conflicts','18584244vtmjNN','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','126xdXvem','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','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.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Collaboration\x20Conflict'];_0x2cbd=function(){return _0x1d1f86;};return _0x2cbd();}function _0x4d56(_0x333e24,_0x46e715){const _0x2cbd50=_0x2cbd();return _0x4d56=function(_0x4d5692,_0xae1100){_0x4d5692=_0x4d5692-0x112;let _0x29c37d=_0x2cbd50[_0x4d5692];return _0x29c37d;},_0x4d56(_0x333e24,_0x46e715);}const e={'collab-client':{'tooltip':{'reconnect':_0xa347a1(0x124)}},'collabStatus':{'fetchMiss':_0xa347a1(0x125),'conflict':_0xa347a1(0x119),'notCollab':_0xa347a1(0x128),'synced':_0xa347a1(0x11e),'syncing':_0xa347a1(0x114),'offline':_0xa347a1(0x122)},'session':{'connection-failed':_0xa347a1(0x120),'will-retry':_0xa347a1(0x123),'room-full':_0xa347a1(0x12c),'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':_0xa347a1(0x11d),'room-cnt-exceeds':_0xa347a1(0x11b),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0xa347a1(0x121),'content':_0xa347a1(0x11f)},'permission':{'title':_0xa347a1(0x12a),'content':_0xa347a1(0x112)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0xa347a1(0x129)},'auth':{'needGotoLoginAlert':_0xa347a1(0x127)}},o=e;export{o as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x469a(_0xff2f29,_0x4264de){const _0x47ad76=_0x47ad();return _0x469a=function(_0x469a89,_0x483a75){_0x469a89=_0x469a89-0x165;let _0x26e7c7=_0x47ad76[_0x469a89];return _0x26e7c7;},_0x469a(_0xff2f29,_0x4264de);}const _0x3f5783=_0x469a;(function(_0x1097d6,_0x31c93b){const _0x1091bf=_0x469a,_0x3d45a1=_0x1097d6();while(!![]){try{const _0x4ceaa0=parseInt(_0x1091bf(0x174))/0x1+parseInt(_0x1091bf(0x16e))/0x2+parseInt(_0x1091bf(0x170))/0x3+parseInt(_0x1091bf(0x17b))/0x4*(parseInt(_0x1091bf(0x177))/0x5)+parseInt(_0x1091bf(0x16a))/0x6+-parseInt(_0x1091bf(0x16b))/0x7+-parseInt(_0x1091bf(0x167))/0x8;if(_0x4ceaa0===_0x31c93b)break;else _0x3d45a1['push'](_0x3d45a1['shift']());}catch(_0x101f4a){_0x3d45a1['push'](_0x3d45a1['shift']());}}}(_0x47ad,0x7058c));const o={'collab-client':{'tooltip':{'reconnect':_0x3f5783(0x168)}},'collabStatus':{'fetchMiss':'正在拉取服务端数据...','conflict':_0x3f5783(0x16d),'notCollab':'本地文件','synced':_0x3f5783(0x172),'syncing':_0x3f5783(0x171),'offline':_0x3f5783(0x176)},'session':{'connection-failed':_0x3f5783(0x17a),'will-retry':_0x3f5783(0x16c),'room-full':_0x3f5783(0x169),'join-failed':_0x3f5783(0x165),'room-not-exists':_0x3f5783(0x16f),'room-permission-denied':_0x3f5783(0x166),'room-cnt-exceeds':_0x3f5783(0x179),'collaboration-timeout':_0x3f5783(0x173)},'conflict':{'title':'协同冲突','content':'你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'permission':{'title':'权限错误','content':_0x3f5783(0x175)},'collaboration':{'single-unit':{'warning':'你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。'},'closeRoom':_0x3f5783(0x178)},'auth':{'needGotoLoginAlert':'你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。'}};export{o as default};function _0x47ad(){const _0x538d4e=['1347801wuBZvr','保存中...','已同步','服务器未响应,你的编辑将在本地缓存','135019iJnMWg','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','已离线,编辑将在本地缓存','3290NSyCWw','由于协同房间被关闭,编辑权限被收回。','协同文档数量超过限制,你的编辑将在本地缓存','连接失败,请检查你的网络','276TPTugX','加入协同失败,请稍后重试,你的编辑将在本地缓存','没有协同权限,你的编辑将在本地缓存','2627016RwXIqw','点击重新连接','此文档协同人数已满,你的编辑将在本地缓存','1554684THUAHV','1210202AdmURz','连接失败,将在一会儿之后重试连接','编辑冲突','145266irGnjS','加入协同失败,你的编辑将在本地缓存'];_0x47ad=function(){return _0x538d4e;};return _0x47ad();}
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x49d069=_0x5de7;(function(_0x489e07,_0x118668){const _0x43d313=_0x5de7,_0x346831=_0x489e07();while(!![]){try{const _0x36273a=parseInt(_0x43d313(0xd7))/0x1*(-parseInt(_0x43d313(0xd4))/0x2)+-parseInt(_0x43d313(0xc4))/0x3*(-parseInt(_0x43d313(0xc7))/0x4)+-parseInt(_0x43d313(0xce))/0x5*(parseInt(_0x43d313(0xd6))/0x6)+parseInt(_0x43d313(0xbd))/0x7*(parseInt(_0x43d313(0xcd))/0x8)+parseInt(_0x43d313(0xd0))/0x9*(parseInt(_0x43d313(0xbe))/0xa)+-parseInt(_0x43d313(0xd2))/0xb*(parseInt(_0x43d313(0xc8))/0xc)+parseInt(_0x43d313(0xc5))/0xd;if(_0x36273a===_0x118668)break;else _0x346831['push'](_0x346831['shift']());}catch(_0x102db4){_0x346831['push'](_0x346831['shift']());}}}(_0x2f3c,0x83f1a));function _0x5de7(_0x57bbe2,_0x1b62b9){const _0x2f3c67=_0x2f3c();return _0x5de7=function(_0x5de714,_0x3fa624){_0x5de714=_0x5de714-0xbb;let _0x54bee4=_0x2f3c67[_0x5de714];return _0x54bee4;},_0x5de7(_0x57bbe2,_0x1b62b9);}const e={'collab-client':{'tooltip':{'reconnect':_0x49d069(0xc3)}},'collabStatus':{'fetchMiss':_0x49d069(0xcb),'conflict':_0x49d069(0xd5),'notCollab':_0x49d069(0xc2),'synced':_0x49d069(0xcc),'syncing':_0x49d069(0xcf),'offline':_0x49d069(0xbf)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x49d069(0xd3),'room-full':_0x49d069(0xc0),'join-failed':_0x49d069(0xc1),'room-not-exists':_0x49d069(0xca),'room-permission-denied':_0x49d069(0xd1),'room-cnt-exceeds':_0x49d069(0xc9),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x49d069(0xc6),'content':_0x49d069(0xbb)},'permission':{'title':_0x49d069(0xbc),'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.'}},o=e;function _0x2f3c(){const _0x2dc2c6=['18080LytnOU','36EAxSlZ','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','Synced','48WDZnIV','5560jmEPfs','Syncing...','10836XAGYUT','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3909895oDaZub','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','1402oVJbkr','Edit\x20conflicts','4206ksqLVI','6FFiwky','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','1214969bbNxjM','5550IbTOUk','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','Click\x20to\x20Reconnect','183cwAaxL','5266989BjBkvy','Collaboration\x20Conflict'];_0x2f3c=function(){return _0x2dc2c6;};return _0x2f3c();}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
|
-
|
1
|
+
(function(_0x5e01fb,_0x59c9b9){var _0x2af625=_0x2481,_0x7d9b37=_0x5e01fb();while(!![]){try{var _0x5edf5e=parseInt(_0x2af625(0x1d3))/0x1*(-parseInt(_0x2af625(0x1af))/0x2)+-parseInt(_0x2af625(0x1b0))/0x3*(parseInt(_0x2af625(0x1ae))/0x4)+-parseInt(_0x2af625(0x1b2))/0x5+-parseInt(_0x2af625(0x1d2))/0x6+-parseInt(_0x2af625(0x1da))/0x7+-parseInt(_0x2af625(0x1dd))/0x8*(-parseInt(_0x2af625(0x1ab))/0x9)+parseInt(_0x2af625(0x1cb))/0xa*(parseInt(_0x2af625(0x1c7))/0xb);if(_0x5edf5e===_0x59c9b9)break;else _0x7d9b37['push'](_0x7d9b37['shift']());}catch(_0x2d35c5){_0x7d9b37['push'](_0x7d9b37['shift']());}}}(_0xc0b5,0x72815),function(_0x5607e7,_0x58a531){var _0xd8e41=_0x2481;typeof exports==_0xd8e41(0x1db)&&typeof module<'u'?_0x58a531(exports,require(_0xd8e41(0x1cd)),require('@univerjs/core/facade'),require(_0xd8e41(0x1ca)),require(_0xd8e41(0x1d9)),require(_0xd8e41(0x1c9))):typeof define==_0xd8e41(0x1bf)&&define[_0xd8e41(0x1c4)]?define([_0xd8e41(0x1c6),'@univerjs-pro/collaboration-client',_0xd8e41(0x1ce),_0xd8e41(0x1ca),_0xd8e41(0x1d9),'rxjs'],_0x58a531):(_0x5607e7=typeof globalThis<'u'?globalThis:_0x5607e7||self,_0x58a531(_0x5607e7[_0xd8e41(0x1d6)]={},_0x5607e7[_0xd8e41(0x1ba)],_0x5607e7[_0xd8e41(0x1b9)],_0x5607e7['UniverProCollaboration'],_0x5607e7[_0xd8e41(0x1a7)],_0x5607e7[_0xd8e41(0x1c9)]));}(this,function(_0x154211,_0x8c4ab7,_0x5e295b,_0x5d0c3,_0x53987d,_0x3e60b7){'use strict';var _0x48b798=_0x2481;var _0x419f32=Object[_0x48b798(0x1dc)],_0x4e1003=(_0x2a428f,_0x2fbb89,_0x4deaec,_0x20b1e4)=>{var _0x16846d=_0x48b798;for(var _0x26f7c9=_0x20b1e4>0x1?void 0x0:_0x20b1e4?_0x419f32(_0x2fbb89,_0x4deaec):_0x2fbb89,_0xec886f=_0x2a428f[_0x16846d(0x1c0)]-0x1,_0x377a2c;_0xec886f>=0x0;_0xec886f--)(_0x377a2c=_0x2a428f[_0xec886f])&&(_0x26f7c9=_0x377a2c(_0x26f7c9)||_0x26f7c9);return _0x26f7c9;},_0x29a617=(_0x5ce7fc,_0x48c444)=>(_0xd2788c,_0x1fd2dd)=>_0x48c444(_0xd2788c,_0x1fd2dd,_0x5ce7fc);_0x154211[_0x48b798(0x1c3)]=class extends _0x5e295b[_0x48b798(0x1a5)]{constructor(_0xb4ad75,_0x366a6d,_0x4c86fa,_0x26ac7b,_0x5a4d62){var _0x308fca=_0x48b798;super(),this['_handler']=_0xb4ad75,this[_0x308fca(0x1c8)]=_0x366a6d,this[_0x308fca(0x1c1)]=_0x4c86fa,this[_0x308fca(0x1c5)]=_0x26ac7b,this[_0x308fca(0x1aa)]=_0x5a4d62;}async[_0x48b798(0x1cc)](){var _0x42e947=_0x48b798;return this[_0x42e947(0x1a9)]();}async[_0x48b798(0x1a9)](){var _0x2a4719=_0x48b798;throw new Error(_0x2a4719(0x1d7));}async['loadSheet'](_0x33c461){var _0x2a4955=_0x48b798;return this[_0x2a4955(0x1a6)](_0x33c461);}async[_0x48b798(0x1a6)](_0x3e9eaf,_0xda4e3c){var _0x38e6df=_0x48b798;return await this[_0x38e6df(0x1c5)][_0x38e6df(0x1d0)](_0x3e9eaf,0x0,_0xda4e3c)?(await this[_0x38e6df(0x1aa)][_0x38e6df(0x1b3)](_0x3e9eaf),this[_0x38e6df(0x1c2)][_0x38e6df(0x1bc)](_0x3e9eaf)):null;}['subscribeCollaborators'](_0x1d02cd,_0x52889f){var _0x26e8e5=_0x48b798;const _0x4be413=this[_0x26e8e5(0x1c8)][_0x26e8e5(0x1b7)](_0x8c4ab7[_0x26e8e5(0x1d1)])[_0x26e8e5(0x1a8)](_0x1d02cd)[_0x26e8e5(0x1b1)](_0x3e60b7[_0x26e8e5(0x1b5)](_0x16dafa=>_0x16dafa[_0x26e8e5(0x1b4)]))['subscribe'](_0x17eecb=>_0x52889f(Array['from'](_0x17eecb[_0x26e8e5(0x1bd)]())));return _0x53987d[_0x26e8e5(0x1be)](_0x4be413);}},_0x154211[_0x48b798(0x1c3)]=_0x4e1003([_0x29a617(0x1,_0x53987d[_0x48b798(0x1ad)](_0x53987d[_0x48b798(0x1bb)])),_0x29a617(0x2,_0x53987d[_0x48b798(0x1cf)]),_0x29a617(0x3,_0x53987d[_0x48b798(0x1ad)](_0x5d0c3['SnapshotService'])),_0x29a617(0x4,_0x53987d[_0x48b798(0x1ad)](_0x8c4ab7[_0x48b798(0x1d5)]))],_0x154211['FCollaboration']);class _0x1394ed extends _0x5e295b[_0x48b798(0x1d4)]{[_0x48b798(0x1b6)](){var _0x1087cf=_0x48b798;return this['_injector']['createInstance'](_0x154211[_0x1087cf(0x1c3)],{'getUniverSheet':_0x153268=>this[_0x1087cf(0x1bc)](_0x153268)});}['loadServerUnit'](_0x51f500,_0x48d115,_0x485587){var _0x5c1965=_0x48b798;return this['_injector']['createInstance'](_0x8c4ab7[_0x5c1965(0x1d8)])[_0x5c1965(0x1ac)](_0x51f500,_0x48d115,_0x485587);}}_0x5e295b[_0x48b798(0x1d4)]['extend'](_0x1394ed),Object['defineProperty'](_0x154211,Symbol['toStringTag'],{'value':_0x48b798(0x1b8)});}));function _0x2481(_0x20ac73,_0x1fcf16){var _0xc0b5b1=_0xc0b5();return _0x2481=function(_0x248151,_0x53caf5){_0x248151=_0x248151-0x1a5;var _0x3fcfd9=_0xc0b5b1[_0x248151];return _0x3fcfd9;},_0x2481(_0x20ac73,_0x1fcf16);}function _0xc0b5(){var _0x17670e=['1jOfElx','FUniver','CollaborationController','UniverProCollaborationClientFacade','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','DataLoaderService','@univerjs/core','500297zpuElD','object','getOwnPropertyDescriptor','436120mSkpsB','FBase','loadSheetAsync','UniverCore','waitForRoom$','loadActiveSheetAsync','_collaborationController','135qvzOvP','loadUnit','Inject','120dEsdqE','1641830SlFSvV','77391ilZMbR','pipe','3719950jAobUi','readyForCollab','members$','switchMap','getCollaboration','get','Module','UniverCoreFacade','UniverProCollaborationClient','Injector','getUniverSheet','values','toDisposable','function','length','_univerInstanceService','_handler','FCollaboration','amd','_snapshotService','exports','3003ihFXpr','_injector','rxjs','@univerjs-pro/collaboration','107740YTJxIK','loadActiveSheet','@univerjs-pro/collaboration-client','@univerjs/core/facade','IUniverInstanceService','loadSheet','MemberService','5278368uFRVpb'];_0xc0b5=function(){return _0x17670e;};return _0xc0b5();}
|