@univerjs-pro/collaboration-client 0.5.1-nightly.202412090925 → 0.5.1-nightly.202412091607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/facade/f-collaboration.d.ts +5 -4
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x1cf7(){const _0x230df9=['The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3363300jLcEop','Authentication\x20Error','1430361owDmxD','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Syncing...','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','6968892lxTVsO','3228TfxGmW','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','27864TqnCkJ','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','2878305UzdmyM','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2387KJcFRw','Click\x20to\x20Reconnect','Syncing\x20server\x20data...','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','10dJiFmh','38636802MVVdHS','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','987eAiArF'];_0x1cf7=function(){return _0x230df9;};return _0x1cf7();}const _0x46fa34=_0x43a5;function _0x43a5(_0x4b324d,_0x88e2b3){const _0x1cf7dc=_0x1cf7();return _0x43a5=function(_0x43a540,_0x58c149){_0x43a540=_0x43a540-0x176;let _0x20b585=_0x1cf7dc[_0x43a540];return _0x20b585;},_0x43a5(_0x4b324d,_0x88e2b3);}(function(_0xfa52f3,_0x1abe0a){const _0x4a9272=_0x43a5,_0x176283=_0xfa52f3();while(!![]){try{const _0x308f04=-parseInt(_0x4a9272(0x18a))/0x1+parseInt(_0x4a9272(0x176))/0x2*(-parseInt(_0x4a9272(0x186))/0x3)+-parseInt(_0x4a9272(0x188))/0x4+-parseInt(_0x4a9272(0x17c))/0x5+parseInt(_0x4a9272(0x191))/0x6+parseInt(_0x4a9272(0x17e))/0x7*(-parseInt(_0x4a9272(0x178))/0x8)+-parseInt(_0x4a9272(0x184))/0x9*(-parseInt(_0x4a9272(0x183))/0xa);if(_0x308f04===_0x1abe0a)break;else _0x176283['push'](_0x176283['shift']());}catch(_0x2d788d){_0x176283['push'](_0x176283['shift']());}}}(_0x1cf7,0xd9048));const e={'collab-client':{'tooltip':{'reconnect':_0x46fa34(0x17f)}},'collabStatus':{'fetchMiss':_0x46fa34(0x180),'conflict':_0x46fa34(0x17b),'notCollab':'Local\x20file','synced':_0x46fa34(0x182),'syncing':_0x46fa34(0x18c),'offline':_0x46fa34(0x17a)},'session':{'connection-failed':_0x46fa34(0x18e),'will-retry':_0x46fa34(0x18d),'room-full':_0x46fa34(0x187),'join-failed':_0x46fa34(0x177),'room-not-exists':_0x46fa34(0x181),'room-permission-denied':_0x46fa34(0x190),'room-cnt-exceeds':_0x46fa34(0x18f),'collaboration-timeout':_0x46fa34(0x179)},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x46fa34(0x189),'content':_0x46fa34(0x18b)},'collaboration':{'single-unit':{'warning':_0x46fa34(0x185)},'closeRoom':_0x46fa34(0x17d)},'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
|
-
function
|
1
|
+
function _0x2999(_0x325e2d,_0x1d3824){const _0x51a3ae=_0x51a3();return _0x2999=function(_0x299902,_0x243795){_0x299902=_0x299902-0xe5;let _0x1fa82a=_0x51a3ae[_0x299902];return _0x1fa82a;},_0x2999(_0x325e2d,_0x1d3824);}const _0x459a05=_0x2999;(function(_0x570996,_0x233233){const _0x40b507=_0x2999,_0x49e38d=_0x570996();while(!![]){try{const _0x530ac9=-parseInt(_0x40b507(0xe5))/0x1*(parseInt(_0x40b507(0xe7))/0x2)+parseInt(_0x40b507(0x101))/0x3*(parseInt(_0x40b507(0xfd))/0x4)+parseInt(_0x40b507(0xeb))/0x5*(parseInt(_0x40b507(0xed))/0x6)+parseInt(_0x40b507(0xf3))/0x7*(-parseInt(_0x40b507(0xf5))/0x8)+-parseInt(_0x40b507(0xfe))/0x9*(parseInt(_0x40b507(0xf2))/0xa)+-parseInt(_0x40b507(0x100))/0xb+parseInt(_0x40b507(0xee))/0xc;if(_0x530ac9===_0x233233)break;else _0x49e38d['push'](_0x49e38d['shift']());}catch(_0x38da05){_0x49e38d['push'](_0x49e38d['shift']());}}}(_0x51a3,0x8534f));const o={'collab-client':{'tooltip':{'reconnect':_0x459a05(0xfc)}},'collabStatus':{'fetchMiss':_0x459a05(0xf0),'conflict':_0x459a05(0xf9),'notCollab':_0x459a05(0xe6),'synced':_0x459a05(0xf6),'syncing':_0x459a05(0xfa),'offline':_0x459a05(0xe9)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x459a05(0xf8),'room-full':_0x459a05(0xf4),'join-failed':_0x459a05(0xea),'room-not-exists':_0x459a05(0xf7),'room-permission-denied':'دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-cnt-exceeds':_0x459a05(0xf1),'collaboration-timeout':_0x459a05(0xe8)},'conflict':{'title':'تداخل\x20همکاری','content':_0x459a05(0xff)},'permission':{'title':_0x459a05(0xfb),'content':_0x459a05(0x102)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x459a05(0xec)},'auth':{'needGotoLoginAlert':_0x459a05(0xef)}};export{o as default};function _0x51a3(){const _0x2fa76a=['تداخل\x20ویرایش','در\x20حال\x20همگام\x20سازی...','خطای\x20اعتبارسنجی','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','4xswdWW','2034117PRHmJU','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','5844729DybzIF','1483419gIIlrR','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','2bkznjy','پرونده\x20محلی','899732NHhYoe','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','1585Duuhbj','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','978qzbNNx','22237632qQgYNd','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','10ENidMO','41699UsCDNM','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','264BAUmot','همگام\x20سازی','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.'];_0x51a3=function(){return _0x2fa76a;};return _0x51a3();}
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x4ba8e1=_0x3344;function _0x1162(){const _0x1919e5=['12870XUHhpV','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','5KPuxIW','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1260730WgZbGd','368917fGpsHx','Syncing\x20server\x20data...','Authentication\x20Error','4378716pBrKUW','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...','1527962gmTsTr','Synced','Local\x20file','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2955064WILwXW','200456NxYzXc','Collaboration\x20Conflict','2768VriIpR','Edit\x20conflicts','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\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.','3IUsdeY','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','66JwDieV','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.'];_0x1162=function(){return _0x1919e5;};return _0x1162();}(function(_0xd99cb0,_0xded072){const _0x104816=_0x3344,_0x2a6f5f=_0xd99cb0();while(!![]){try{const _0x960e83=-parseInt(_0x104816(0x142))/0x1+-parseInt(_0x104816(0x148))/0x2*(-parseInt(_0x104816(0x137))/0x3)+-parseInt(_0x104816(0x14d))/0x4+-parseInt(_0x104816(0x13f))/0x5*(-parseInt(_0x104816(0x145))/0x6)+-parseInt(_0x104816(0x14c))/0x7+parseInt(_0x104816(0x14f))/0x8*(parseInt(_0x104816(0x13d))/0x9)+parseInt(_0x104816(0x141))/0xa*(-parseInt(_0x104816(0x13a))/0xb);if(_0x960e83===_0xded072)break;else _0x2a6f5f['push'](_0x2a6f5f['shift']());}catch(_0x524c8b){_0x2a6f5f['push'](_0x2a6f5f['shift']());}}}(_0x1162,0x5f70e));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x4ba8e1(0x143),'conflict':_0x4ba8e1(0x134),'notCollab':_0x4ba8e1(0x14a),'synced':_0x4ba8e1(0x149),'syncing':_0x4ba8e1(0x147),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x4ba8e1(0x138),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x4ba8e1(0x13e),'join-failed':_0x4ba8e1(0x146),'room-not-exists':_0x4ba8e1(0x139),'room-permission-denied':_0x4ba8e1(0x14b),'room-cnt-exceeds':_0x4ba8e1(0x135),'collaboration-timeout':_0x4ba8e1(0x140)},'conflict':{'title':_0x4ba8e1(0x14e),'content':_0x4ba8e1(0x136)},'permission':{'title':_0x4ba8e1(0x144),'content':_0x4ba8e1(0x13b)},'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':_0x4ba8e1(0x13c)}},o=e;function _0x3344(_0x14ca54,_0x155776){const _0x1162ea=_0x1162();return _0x3344=function(_0x334499,_0x2d1ecb){_0x334499=_0x334499-0x134;let _0x333114=_0x1162ea[_0x334499];return _0x333114;},_0x3344(_0x14ca54,_0x155776);}export{o as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x48a1(){const _0x21b620=['3TJhEYd','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1028031oPqlfQ','3190880EmDalD','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','5184845QWSWOx','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','4887672TzSrqu','28yrooZP','Local\x20file','1205424dTiYeB','Edit\x20conflicts','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','29284047NZIJvF','67348DyTXPD','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.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Collaboration\x20Conflict'];_0x48a1=function(){return _0x21b620;};return _0x48a1();}const _0x99d891=_0x9c1d;(function(_0x1bc66a,_0x11f92a){const _0x41a3f6=_0x9c1d,_0x1a0ef5=_0x1bc66a();while(!![]){try{const _0x306652=-parseInt(_0x41a3f6(0x192))/0x1+-parseInt(_0x41a3f6(0x1a0))/0x2*(parseInt(_0x41a3f6(0x1a6))/0x3)+parseInt(_0x41a3f6(0x193))/0x4+-parseInt(_0x41a3f6(0x197))/0x5+parseInt(_0x41a3f6(0x19c))/0x6*(-parseInt(_0x41a3f6(0x19a))/0x7)+-parseInt(_0x41a3f6(0x199))/0x8+parseInt(_0x41a3f6(0x19f))/0x9;if(_0x306652===_0x11f92a)break;else _0x1a0ef5['push'](_0x1a0ef5['shift']());}catch(_0x41d2d0){_0x1a0ef5['push'](_0x1a0ef5['shift']());}}}(_0x48a1,0x8368e));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x99d891(0x1a8),'conflict':_0x99d891(0x19d),'notCollab':_0x99d891(0x19b),'synced':_0x99d891(0x195),'syncing':_0x99d891(0x1a1),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x99d891(0x1a4),'will-retry':_0x99d891(0x1a3),'room-full':_0x99d891(0x19e),'join-failed':_0x99d891(0x1aa),'room-not-exists':_0x99d891(0x196),'room-permission-denied':_0x99d891(0x191),'room-cnt-exceeds':_0x99d891(0x194),'collaboration-timeout':_0x99d891(0x198)},'conflict':{'title':_0x99d891(0x1a5),'content':_0x99d891(0x1a2)},'permission':{'title':'Authentication\x20Error','content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x99d891(0x1a9)},'auth':{'needGotoLoginAlert':_0x99d891(0x1a7)}},o=e;function _0x9c1d(_0x2aa5a2,_0x29447a){const _0x48a136=_0x48a1();return _0x9c1d=function(_0x9c1de0,_0x24b874){_0x9c1de0=_0x9c1de0-0x191;let _0x1f3815=_0x48a136[_0x9c1de0];return _0x1f3815;},_0x9c1d(_0x2aa5a2,_0x29447a);}export{o as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
const _0x3b5bd6=_0x10ea;(function(_0x208370,_0x3f618c){const _0x38acca=_0x10ea,_0x4b3e03=_0x208370();while(!![]){try{const _0x2738ce=-parseInt(_0x38acca(0x76))/0x1*(-parseInt(_0x38acca(0x82))/0x2)+-parseInt(_0x38acca(0x71))/0x3+parseInt(_0x38acca(0x7b))/0x4+parseInt(_0x38acca(0x83))/0x5*(-parseInt(_0x38acca(0x73))/0x6)+parseInt(_0x38acca(0x6c))/0x7+-parseInt(_0x38acca(0x84))/0x8*(parseInt(_0x38acca(0x77))/0x9)+parseInt(_0x38acca(0x7e))/0xa;if(_0x2738ce===_0x3f618c)break;else _0x4b3e03['push'](_0x4b3e03['shift']());}catch(_0x5270ae){_0x4b3e03['push'](_0x4b3e03['shift']());}}}(_0x32a9,0xc620a));function _0x10ea(_0x463903,_0x52dda4){const _0x32a9d2=_0x32a9();return _0x10ea=function(_0x10ea9f,_0x25ae9f){_0x10ea9f=_0x10ea9f-0x69;let _0x2508de=_0x32a9d2[_0x10ea9f];return _0x2508de;},_0x10ea(_0x463903,_0x52dda4);}function _0x32a9(){const _0x258ee8=['Connection\x20failed.\x20Please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','2946454OwdpWw','405460sayEvm','6102784UVguvN','Syncing\x20server\x20data...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Collaboration\x20Conflict','Synced','2114350yBoMvG','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Click\x20to\x20Reconnect','1677972vVUmJM','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','42OCFNZd','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1YhsAKJ','9xDCNuH','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...','93084pTUIGT','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','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.','9027980vbkFUP'];_0x32a9=function(){return _0x258ee8;};return _0x32a9();}const e={'collab-client':{'tooltip':{'reconnect':_0x3b5bd6(0x70)}},'collabStatus':{'fetchMiss':_0x3b5bd6(0x85),'conflict':_0x3b5bd6(0x87),'notCollab':_0x3b5bd6(0x6e),'synced':_0x3b5bd6(0x6b),'syncing':_0x3b5bd6(0x7a),'offline':_0x3b5bd6(0x6f)},'session':{'connection-failed':_0x3b5bd6(0x7f),'will-retry':_0x3b5bd6(0x7c),'room-full':_0x3b5bd6(0x72),'join-failed':_0x3b5bd6(0x79),'room-not-exists':_0x3b5bd6(0x69),'room-permission-denied':_0x3b5bd6(0x74),'room-cnt-exceeds':_0x3b5bd6(0x75),'collaboration-timeout':_0x3b5bd6(0x86)},'conflict':{'title':_0x3b5bd6(0x6a),'content':_0x3b5bd6(0x7d)},'permission':{'title':_0x3b5bd6(0x81),'content':_0x3b5bd6(0x6d)},'collaboration':{'single-unit':{'warning':_0x3b5bd6(0x78)},'closeRoom':_0x3b5bd6(0x80)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x4a7648=_0x253f;(function(_0x3e8522,_0x3d6643){const _0x2976dd=_0x253f,_0x561cdf=_0x3e8522();while(!![]){try{const _0x114ffb=-parseInt(_0x2976dd(0x1c4))/0x1*(parseInt(_0x2976dd(0x1bd))/0x2)+parseInt(_0x2976dd(0x1b3))/0x3+parseInt(_0x2976dd(0x1b8))/0x4+parseInt(_0x2976dd(0x1b7))/0x5+-parseInt(_0x2976dd(0x1c0))/0x6+parseInt(_0x2976dd(0x1ba))/0x7*(-parseInt(_0x2976dd(0x1bf))/0x8)+parseInt(_0x2976dd(0x1bc))/0x9;if(_0x114ffb===_0x3d6643)break;else _0x561cdf['push'](_0x561cdf['shift']());}catch(_0x3436cf){_0x561cdf['push'](_0x561cdf['shift']());}}}(_0x42f2,0x18eba));const o={'collab-client':{'tooltip':{'reconnect':_0x4a7648(0x1c3)}},'collabStatus':{'fetchMiss':_0x4a7648(0x1b6),'conflict':_0x4a7648(0x1bb),'notCollab':_0x4a7648(0x1c1),'synced':'已同步','syncing':_0x4a7648(0x1b4),'offline':_0x4a7648(0x1ae)},'session':{'connection-failed':_0x4a7648(0x1b0),'will-retry':_0x4a7648(0x1be),'room-full':_0x4a7648(0x1b2),'join-failed':'加入协同失败,请稍后重试,你的编辑将在本地缓存','room-not-exists':'加入协同失败,你的编辑将在本地缓存','room-permission-denied':_0x4a7648(0x1c2),'room-cnt-exceeds':'协同文档数量超过限制,你的编辑将在本地缓存','collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':_0x4a7648(0x1ad),'content':'你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'permission':{'title':_0x4a7648(0x1b5),'content':_0x4a7648(0x1b1)},'collaboration':{'single-unit':{'warning':_0x4a7648(0x1af)},'closeRoom':_0x4a7648(0x1b9)},'auth':{'needGotoLoginAlert':'你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。'}};function _0x253f(_0x3c4687,_0x10be0e){const _0x42f283=_0x42f2();return _0x253f=function(_0x253f41,_0x263014){_0x253f41=_0x253f41-0x1ad;let _0x591fd3=_0x42f283[_0x253f41];return _0x591fd3;},_0x253f(_0x3c4687,_0x10be0e);}function _0x42f2(){const _0x2c3970=['正在拉取服务端数据...','244135yNdWED','458188rUApau','由于协同房间被关闭,编辑权限被收回。','347921HhAlXY','编辑冲突','2969559vwrtkG','2svLYiE','连接失败,将在一会儿之后重试连接','32VPNVUQ','625242AAdHUu','本地文件','没有协同权限,你的编辑将在本地缓存','点击重新连接','144706NeeBrw','协同冲突','已离线,编辑将在本地缓存','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','连接失败,请检查你的网络','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','此文档协同人数已满,你的编辑将在本地缓存','169422peCQPj','保存中...','权限错误'];_0x42f2=function(){return _0x2c3970;};return _0x42f2();}export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0xd6e224=_0x2f88;function _0x2f88(_0x40afe3,_0x4a284a){const _0x309820=_0x3098();return _0x2f88=function(_0x2f8888,_0x3a2e22){_0x2f8888=_0x2f8888-0x11c;let _0x437ba2=_0x309820[_0x2f8888];return _0x437ba2;},_0x2f88(_0x40afe3,_0x4a284a);}(function(_0x2b5d96,_0x276a5e){const _0x5eb976=_0x2f88,_0x23bbfe=_0x2b5d96();while(!![]){try{const _0x4e156b=-parseInt(_0x5eb976(0x121))/0x1*(parseInt(_0x5eb976(0x12f))/0x2)+-parseInt(_0x5eb976(0x131))/0x3+-parseInt(_0x5eb976(0x122))/0x4+-parseInt(_0x5eb976(0x129))/0x5*(-parseInt(_0x5eb976(0x126))/0x6)+-parseInt(_0x5eb976(0x12e))/0x7+parseInt(_0x5eb976(0x128))/0x8+parseInt(_0x5eb976(0x12d))/0x9*(parseInt(_0x5eb976(0x127))/0xa);if(_0x4e156b===_0x276a5e)break;else _0x23bbfe['push'](_0x23bbfe['shift']());}catch(_0x46ee81){_0x23bbfe['push'](_0x23bbfe['shift']());}}}(_0x3098,0x260a8));function _0x3098(){const _0xdd393e=['Syncing...','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Syncing\x20server\x20data...','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.','Synced','Local\x20file','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','43DmKtRo','1162756hbGCQf','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Edit\x20conflicts','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','6nFcJzs','44760HwumGS','514392ejtSdt','343195gkrfxW','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1692RPqbBZ','1638042aEKAlh','5906yZfamx','Authentication\x20Error','500808CpImsO','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x3098=function(){return _0xdd393e;};return _0x3098();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0xd6e224(0x136),'conflict':_0xd6e224(0x124),'notCollab':_0xd6e224(0x11f),'synced':_0xd6e224(0x11e),'syncing':_0xd6e224(0x133),'offline':_0xd6e224(0x12c)},'session':{'connection-failed':_0xd6e224(0x135),'will-retry':_0xd6e224(0x123),'room-full':_0xd6e224(0x11c),'join-failed':_0xd6e224(0x11d),'room-not-exists':_0xd6e224(0x120),'room-permission-denied':_0xd6e224(0x12b),'room-cnt-exceeds':_0xd6e224(0x134),'collaboration-timeout':_0xd6e224(0x132)},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0xd6e224(0x130),'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':_0xd6e224(0x125)},'closeRoom':_0xd6e224(0x12a)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};
|
@@ -1,13 +1,14 @@
|
|
1
1
|
import { FWorkbook } from '@univerjs/sheets/facade';
|
2
2
|
import { SnapshotService } from '@univerjs-pro/collaboration';
|
3
3
|
import { CollaborationController } from '@univerjs-pro/collaboration-client';
|
4
|
-
import { FBase } from '@univerjs/core';
|
4
|
+
import { FBase, Injector } from '@univerjs/core';
|
5
5
|
export declare class FCollaboration extends FBase {
|
6
6
|
private readonly _handler;
|
7
|
-
|
8
|
-
|
7
|
+
protected readonly _injector: Injector;
|
8
|
+
protected readonly _snapshotService: SnapshotService;
|
9
|
+
protected readonly _collaborationController: CollaborationController;
|
9
10
|
constructor(_handler: {
|
10
11
|
getUniverSheet: (id: string) => FWorkbook | null;
|
11
|
-
}, _snapshotService: SnapshotService, _collaborationController: CollaborationController);
|
12
|
+
}, _injector: Injector, _snapshotService: SnapshotService, _collaborationController: CollaborationController);
|
12
13
|
loadSheet(unitId: string): Promise<FWorkbook | null>;
|
13
14
|
}
|
package/lib/umd/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x164a(_0x4b37fb,_0x55df59){var _0x58ec87=_0x58ec();return _0x164a=function(_0x164a3f,_0x8f4ac2){_0x164a3f=_0x164a3f-0xcf;var _0x489949=_0x58ec87[_0x164a3f];return _0x489949;},_0x164a(_0x4b37fb,_0x55df59);}(function(_0x41c037,_0x43456b){var _0x4b31db=_0x164a,_0x51993a=_0x41c037();while(!![]){try{var _0x46ae68=-parseInt(_0x4b31db(0xe9))/0x1+parseInt(_0x4b31db(0xdd))/0x2+parseInt(_0x4b31db(0xee))/0x3*(-parseInt(_0x4b31db(0xf2))/0x4)+-parseInt(_0x4b31db(0xd0))/0x5+parseInt(_0x4b31db(0xe3))/0x6*(parseInt(_0x4b31db(0xd4))/0x7)+parseInt(_0x4b31db(0xde))/0x8+parseInt(_0x4b31db(0xd6))/0x9*(parseInt(_0x4b31db(0xe8))/0xa);if(_0x46ae68===_0x43456b)break;else _0x51993a['push'](_0x51993a['shift']());}catch(_0x470721){_0x51993a['push'](_0x51993a['shift']());}}}(_0x58ec,0x98991),function(_0x237888,_0x37bc03){var _0x214a79=_0x164a;typeof exports==_0x214a79(0xe0)&&typeof module<'u'?_0x37bc03(exports,require(_0x214a79(0xf0)),require(_0x214a79(0xe2)),require('@univerjs-pro/collaboration-client')):typeof define==_0x214a79(0xdc)&&define[_0x214a79(0xe7)]?define([_0x214a79(0xed),'@univerjs/core','@univerjs-pro/collaboration','@univerjs-pro/collaboration-client'],_0x37bc03):(_0x237888=typeof globalThis<'u'?globalThis:_0x237888||self,_0x37bc03(_0x237888[_0x214a79(0xd2)]={},_0x237888[_0x214a79(0xf1)],_0x237888[_0x214a79(0xdb)],_0x237888[_0x214a79(0xe5)]));}(this,function(_0x3d915e,_0x4790d8,_0x1ff6ec,_0x10f354){'use strict';var _0x3592df=_0x164a;var _0x12d073=Object[_0x3592df(0xea)],_0x40d229=Object['getOwnPropertyDescriptor'],_0x28a5b0=(_0x2e507b,_0x2f800f,_0x14de0d,_0x133434)=>{for(var _0x1eb7d4=_0x133434>0x1?void 0x0:_0x133434?_0x40d229(_0x2f800f,_0x14de0d):_0x2f800f,_0x4155bd=_0x2e507b['length']-0x1,_0xabc3b1;_0x4155bd>=0x0;_0x4155bd--)(_0xabc3b1=_0x2e507b[_0x4155bd])&&(_0x1eb7d4=(_0x133434?_0xabc3b1(_0x2f800f,_0x14de0d,_0x1eb7d4):_0xabc3b1(_0x1eb7d4))||_0x1eb7d4);return _0x133434&&_0x1eb7d4&&_0x12d073(_0x2f800f,_0x14de0d,_0x1eb7d4),_0x1eb7d4;},_0x2930eb=(_0x389649,_0x526ab8)=>(_0x1cc04c,_0xd94621)=>_0x526ab8(_0x1cc04c,_0xd94621,_0x389649);_0x3d915e[_0x3592df(0xcf)]=class extends _0x4790d8[_0x3592df(0xeb)]{constructor(_0x10d7ba,_0xd699a4,_0x5e43f0,_0x3e461a){var _0x895b0d=_0x3592df;super(),this[_0x895b0d(0xd5)]=_0x10d7ba,this[_0x895b0d(0xe6)]=_0xd699a4,this['_snapshotService']=_0x5e43f0,this['_collaborationController']=_0x3e461a;}async[_0x3592df(0xe4)](_0x2b6ae7){var _0x3cf2a9=_0x3592df;return await this[_0x3cf2a9(0xda)][_0x3cf2a9(0xe4)](_0x2b6ae7,0x0)?(await this[_0x3cf2a9(0xd1)][_0x3cf2a9(0xd3)](_0x2b6ae7),this[_0x3cf2a9(0xd5)][_0x3cf2a9(0xec)](_0x2b6ae7)):null;}},_0x3d915e[_0x3592df(0xcf)]=_0x28a5b0([_0x2930eb(0x1,_0x4790d8['Inject'](_0x4790d8[_0x3592df(0xef)])),_0x2930eb(0x2,_0x4790d8[_0x3592df(0xdf)](_0x1ff6ec[_0x3592df(0xe1)])),_0x2930eb(0x3,_0x4790d8[_0x3592df(0xdf)](_0x10f354[_0x3592df(0xf3)]))],_0x3d915e[_0x3592df(0xcf)]);class _0x30323c extends _0x4790d8['FUniver']{[_0x3592df(0xd7)](){var _0x1c0d77=_0x3592df;return this[_0x1c0d77(0xe6)]['createInstance'](_0x3d915e['FCollaboration'],{'getUniverSheet':_0x22ae7d=>this[_0x1c0d77(0xec)](_0x22ae7d)});}}_0x4790d8['FUniver']['extend'](_0x30323c),Object[_0x3592df(0xea)](_0x3d915e,Symbol[_0x3592df(0xd8)],{'value':_0x3592df(0xd9)});}));function _0x58ec(){var _0x38a5e4=['12KMXzZN','loadSheet','UniverProCollaborationClient','_injector','amd','40FABrLW','175706BRAgBR','defineProperty','FBase','getUniverSheet','exports','55899jGtXry','Injector','@univerjs/core','UniverCore','116RAKRxU','CollaborationController','FCollaboration','5540510fqqoHV','_collaborationController','UniverProCollaborationClientFacade','readyForCollab','929474RILgHx','_handler','1845063DDSQlL','getCollaboration','toStringTag','Module','_snapshotService','UniverProCollaboration','function','623894AFCQAk','8413336pIzcaI','Inject','object','SnapshotService','@univerjs-pro/collaboration'];_0x58ec=function(){return _0x38a5e4;};return _0x58ec();}
|