@univerjs-pro/collaboration-client 0.5.1-nightly.202412081606 → 0.5.1-nightly.202412090639
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 -0
- 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 -0
- 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/controllers/collaboration/collaboration.controller.d.ts +1 -0
- package/lib/types/facade/f-collaboration.d.ts +13 -0
- package/lib/types/facade/f-univer.d.ts +12 -0
- package/lib/types/facade/index.d.ts +2 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +2 -2
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +6 -7
- package/lib/types/services/network-condition/network-condition.service.d.ts +6 -0
- package/lib/types/services/socket/collaboration-socket.service.d.ts +4 -4
- package/lib/umd/facade.js +1 -0
- 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 +19 -8
package/lib/cjs/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x26ab6e=_0x55d9;(function(_0x53959c,_0x5b28a5){const _0x272715=_0x55d9,_0x130a30=_0x53959c();while(!![]){try{const _0x1ad602=parseInt(_0x272715(0xed))/0x1+-parseInt(_0x272715(0x101))/0x2*(parseInt(_0x272715(0xf0))/0x3)+-parseInt(_0x272715(0x100))/0x4+parseInt(_0x272715(0xfb))/0x5+parseInt(_0x272715(0xec))/0x6*(parseInt(_0x272715(0xfd))/0x7)+parseInt(_0x272715(0xfc))/0x8*(parseInt(_0x272715(0xfa))/0x9)+-parseInt(_0x272715(0xf9))/0xa;if(_0x1ad602===_0x5b28a5)break;else _0x130a30['push'](_0x130a30['shift']());}catch(_0x5ae581){_0x130a30['push'](_0x130a30['shift']());}}}(_0x319b,0xd8ebc));const e={'collab-client':{'tooltip':{'reconnect':_0x26ab6e(0xf7)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x26ab6e(0xf6),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x26ab6e(0x103),'offline':_0x26ab6e(0xf2)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x26ab6e(0xf5),'join-failed':_0x26ab6e(0xee),'room-not-exists':_0x26ab6e(0xf4),'room-permission-denied':_0x26ab6e(0xfe),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x26ab6e(0xf8)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x26ab6e(0x102)},'permission':{'title':_0x26ab6e(0xf1),'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':_0x26ab6e(0xf3)},'closeRoom':_0x26ab6e(0xef)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};module[_0x26ab6e(0xff)]=e;function _0x55d9(_0x232cb1,_0x4d9c1c){const _0x319b8d=_0x319b();return _0x55d9=function(_0x55d98f,_0x30853a){_0x55d98f=_0x55d98f-0xec;let _0xb21761=_0x319b8d[_0x55d98f];return _0xb21761;},_0x55d9(_0x232cb1,_0x4d9c1c);}function _0x319b(){const _0x538f68=['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.','Syncing...','12YHcpAm','995790oEjAvI','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','6258AFFCHP','Authentication\x20Error','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Edit\x20conflicts','Click\x20to\x20Reconnect','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','14905750WaUtQi','18zXWzkh','5040570vJtRhy','4200176oFmrNt','2088982NEqfvE','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','exports','4744764SVGmuF','82zJUqjZ'];_0x319b=function(){return _0x538f68;};return _0x319b();}
|
package/lib/cjs/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const _0x4c23c8=_0x1b83;(function(_0x58d6e9,_0x4e6ad3){const _0x3f837b=_0x1b83,_0x176ec4=_0x58d6e9();while(!![]){try{const _0x286ecd=parseInt(_0x3f837b(0x116))/0x1+-parseInt(_0x3f837b(0x102))/0x2+-parseInt(_0x3f837b(0x111))/0x3+parseInt(_0x3f837b(0x101))/0x4+parseInt(_0x3f837b(0x110))/0x5*(parseInt(_0x3f837b(0x103))/0x6)+-parseInt(_0x3f837b(0x106))/0x7*(parseInt(_0x3f837b(0x10d))/0x8)+-parseInt(_0x3f837b(0x105))/0x9*(-parseInt(_0x3f837b(0x114))/0xa);if(_0x286ecd===_0x4e6ad3)break;else _0x176ec4['push'](_0x176ec4['shift']());}catch(_0xbb636b){_0x176ec4['push'](_0x176ec4['shift']());}}}(_0x5a0d,0x476c8));function _0x1b83(_0x167082,_0x545a3b){const _0x5a0d12=_0x5a0d();return _0x1b83=function(_0x1b8351,_0x49f58c){_0x1b8351=_0x1b8351-0xff;let _0x67c411=_0x5a0d12[_0x1b8351];return _0x67c411;},_0x1b83(_0x167082,_0x545a3b);}function _0x5a0d(){const _0x223c0e=['تداخل\x20ویرایش','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','655mEOmCJ','1742220evVSdi','تداخل\x20همکاری','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','5743340HjITsD','پرونده\x20محلی','316656PtOKWJ','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','در\x20حال\x20همگام\x20سازی...','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','خطای\x20اعتبارسنجی','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','1725476LKMBXU','1114552YYNJph','17634gHxtLF','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','9xbaTzu','700fxjhVB','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','همگام\x20سازی','exports','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','22144VywyTx'];_0x5a0d=function(){return _0x223c0e;};return _0x5a0d();}const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x4c23c8(0x10c),'conflict':_0x4c23c8(0x10e),'notCollab':_0x4c23c8(0x115),'synced':_0x4c23c8(0x109),'syncing':_0x4c23c8(0x119),'offline':_0x4c23c8(0x118)},'session':{'connection-failed':_0x4c23c8(0x10b),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x4c23c8(0x117),'join-failed':_0x4c23c8(0x100),'room-not-exists':_0x4c23c8(0x104),'room-permission-denied':'دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-cnt-exceeds':_0x4c23c8(0x11b),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'},'conflict':{'title':_0x4c23c8(0x112),'content':_0x4c23c8(0x107)},'permission':{'title':_0x4c23c8(0xff),'content':_0x4c23c8(0x11a)},'collaboration':{'single-unit':{'warning':_0x4c23c8(0x10f)},'closeRoom':_0x4c23c8(0x113)},'auth':{'needGotoLoginAlert':_0x4c23c8(0x108)}};module[_0x4c23c8(0x10a)]=o;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x4371e5=_0x2462;(function(_0x33eb87,_0x203f7d){const _0x5a6ac8=_0x2462,_0x312233=_0x33eb87();while(!![]){try{const _0x48855f=parseInt(_0x5a6ac8(0x1a7))/0x1*(parseInt(_0x5a6ac8(0x1a3))/0x2)+parseInt(_0x5a6ac8(0x1a2))/0x3+parseInt(_0x5a6ac8(0x1a5))/0x4+parseInt(_0x5a6ac8(0x192))/0x5*(-parseInt(_0x5a6ac8(0x197))/0x6)+parseInt(_0x5a6ac8(0x199))/0x7*(parseInt(_0x5a6ac8(0x1a9))/0x8)+-parseInt(_0x5a6ac8(0x1a1))/0x9+-parseInt(_0x5a6ac8(0x193))/0xa*(parseInt(_0x5a6ac8(0x1ab))/0xb);if(_0x48855f===_0x203f7d)break;else _0x312233['push'](_0x312233['shift']());}catch(_0x1683a0){_0x312233['push'](_0x312233['shift']());}}}(_0x622e,0x79aa1));function _0x2462(_0x265d8f,_0x5d02ca){const _0x622ee7=_0x622e();return _0x2462=function(_0x246228,_0x4b1f10){_0x246228=_0x246228-0x192;let _0x5b8a95=_0x622ee7[_0x246228];return _0x5b8a95;},_0x2462(_0x265d8f,_0x5d02ca);}function _0x622e(){const _0x32e0cc=['Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','8mPRrfh','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','11mWaYgI','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing...','5nAkpCT','1636160VSdnAP','Synced','Syncing\x20server\x20data...','Connection\x20failed.\x20Please\x20check\x20your\x20network.','5473902RrhAIc','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','4296362jBBlBk','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.','exports','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','2472246YDjWwT','1577583wHVGHg','4cspdXV','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1992700MFctiC','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','105581QhFJAM'];_0x622e=function(){return _0x32e0cc;};return _0x622e();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x4371e5(0x195),'conflict':'Edit\x20conflicts','notCollab':_0x4371e5(0x1a0),'synced':_0x4371e5(0x194),'syncing':_0x4371e5(0x1ad),'offline':_0x4371e5(0x1a8)},'session':{'connection-failed':_0x4371e5(0x196),'will-retry':_0x4371e5(0x198),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x4371e5(0x19f),'room-not-exists':_0x4371e5(0x19c),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x4371e5(0x1aa),'collaboration-timeout':_0x4371e5(0x1a4)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x4371e5(0x19a)},'permission':{'title':_0x4371e5(0x19b),'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':_0x4371e5(0x1a6)},'closeRoom':_0x4371e5(0x19e)},'auth':{'needGotoLoginAlert':_0x4371e5(0x1ac)}},o=e;module[_0x4371e5(0x19d)]=o;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const _0xa4b248=_0x11cf;(function(_0x5e7c0c,_0x2dc1f7){const _0x173c8a=_0x11cf,_0x56080c=_0x5e7c0c();while(!![]){try{const _0x5cf386=parseInt(_0x173c8a(0x10c))/0x1+-parseInt(_0x173c8a(0x109))/0x2+parseInt(_0x173c8a(0x107))/0x3+parseInt(_0x173c8a(0x105))/0x4+-parseInt(_0x173c8a(0x100))/0x5*(parseInt(_0x173c8a(0x102))/0x6)+parseInt(_0x173c8a(0x10f))/0x7*(-parseInt(_0x173c8a(0xfb))/0x8)+parseInt(_0x173c8a(0x108))/0x9*(parseInt(_0x173c8a(0x103))/0xa);if(_0x5cf386===_0x2dc1f7)break;else _0x56080c['push'](_0x56080c['shift']());}catch(_0x42b088){_0x56080c['push'](_0x56080c['shift']());}}}(_0xe1f0,0x6b6ba));function _0x11cf(_0x36318f,_0xaacdc3){const _0xe1f0c6=_0xe1f0();return _0x11cf=function(_0x11cf4b,_0x1bb394){_0x11cf4b=_0x11cf4b-0xf6;let _0x3dd2a9=_0xe1f0c6[_0x11cf4b];return _0x3dd2a9;},_0x11cf(_0x36318f,_0xaacdc3);}const e={'collab-client':{'tooltip':{'reconnect':_0xa4b248(0xf7)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0xa4b248(0x10e),'notCollab':_0xa4b248(0xfc),'synced':'Synced','syncing':_0xa4b248(0x10d),'offline':_0xa4b248(0x110)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0xa4b248(0x104),'room-full':_0xa4b248(0x10b),'join-failed':_0xa4b248(0x10a),'room-not-exists':_0xa4b248(0xf8),'room-permission-denied':_0xa4b248(0x101),'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':_0xa4b248(0xf9),'content':_0xa4b248(0xfe)},'permission':{'title':_0xa4b248(0x106),'content':_0xa4b248(0xfa)},'collaboration':{'single-unit':{'warning':_0xa4b248(0x111)},'closeRoom':_0xa4b248(0xf6)},'auth':{'needGotoLoginAlert':_0xa4b248(0xfd)}},o=e;function _0xe1f0(){const _0x14c619=['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.','exports','785cLXXPO','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','13296FKgPHx','3084130ukAeEA','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','225936UulSWB','Authentication\x20Error','1577439ZVEISF','45jbRWXI','1666720VqTLSb','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.','14644bvcCXg','Syncing...','Edit\x20conflicts','140OUxzNI','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Click\x20to\x20Reconnect','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Collaboration\x20Conflict','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','207096LBqArO','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0xe1f0=function(){return _0x14c619;};return _0xe1f0();}module[_0xa4b248(0xff)]=o;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x1a1094=_0x5d24;function _0x5d24(_0x192a8a,_0x1b3f70){const _0x8ce654=_0x8ce6();return _0x5d24=function(_0x5d2450,_0x446957){_0x5d2450=_0x5d2450-0xed;let _0x5a2439=_0x8ce654[_0x5d2450];return _0x5a2439;},_0x5d24(_0x192a8a,_0x1b3f70);}function _0x8ce6(){const _0xc6a1ca=['Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\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.','358ASXIUD','6035040kDtpGn','Syncing\x20server\x20data...','4200604hfxVXj','7863925bGkzPM','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','9911090zBEjLi','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','7859604RJIPaA','Edit\x20conflicts','3erHgJe','exports','Synced','10502aDtvYR','Click\x20to\x20Reconnect','29254500GPsgux','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','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.'];_0x8ce6=function(){return _0xc6a1ca;};return _0x8ce6();}(function(_0x47156e,_0xe55fc1){const _0xc9684d=_0x5d24,_0x324822=_0x47156e();while(!![]){try{const _0x3dbd1f=parseInt(_0xc9684d(0xfc))/0x1*(-parseInt(_0xc9684d(0x106))/0x2)+-parseInt(_0xc9684d(0xf9))/0x3*(-parseInt(_0xc9684d(0xef))/0x4)+parseInt(_0xc9684d(0xf0))/0x5+parseInt(_0xc9684d(0xf7))/0x6+parseInt(_0xc9684d(0xf2))/0x7+parseInt(_0xc9684d(0xed))/0x8+-parseInt(_0xc9684d(0xfe))/0x9;if(_0x3dbd1f===_0xe55fc1)break;else _0x324822['push'](_0x324822['shift']());}catch(_0x110de2){_0x324822['push'](_0x324822['shift']());}}}(_0x8ce6,0xed7da));const e={'collab-client':{'tooltip':{'reconnect':_0x1a1094(0xfd)}},'collabStatus':{'fetchMiss':_0x1a1094(0xee),'conflict':_0x1a1094(0xf8),'notCollab':_0x1a1094(0xf4),'synced':_0x1a1094(0xfb),'syncing':'Syncing...','offline':_0x1a1094(0x103)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x1a1094(0xff),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x1a1094(0x104),'room-not-exists':_0x1a1094(0x101),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x1a1094(0x100),'collaboration-timeout':_0x1a1094(0xf1)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x1a1094(0x105)},'permission':{'title':_0x1a1094(0xf6),'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':_0x1a1094(0x102)},'closeRoom':_0x1a1094(0xf5)},'auth':{'needGotoLoginAlert':_0x1a1094(0xf3)}},o=e;module[_0x1a1094(0xfa)]=o;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x1640cc=_0x2d4e;(function(_0x367429,_0x1c59c5){const _0x5708e5=_0x2d4e,_0xef5cd1=_0x367429();while(!![]){try{const _0x596519=-parseInt(_0x5708e5(0x18a))/0x1*(-parseInt(_0x5708e5(0x17d))/0x2)+parseInt(_0x5708e5(0x17b))/0x3*(-parseInt(_0x5708e5(0x18d))/0x4)+-parseInt(_0x5708e5(0x186))/0x5+-parseInt(_0x5708e5(0x192))/0x6+-parseInt(_0x5708e5(0x190))/0x7+-parseInt(_0x5708e5(0x18e))/0x8+parseInt(_0x5708e5(0x180))/0x9;if(_0x596519===_0x1c59c5)break;else _0xef5cd1['push'](_0xef5cd1['shift']());}catch(_0x31a4d3){_0xef5cd1['push'](_0xef5cd1['shift']());}}}(_0x1fe3,0x43f4c));function _0x1fe3(){const _0x3d9eca=['编辑冲突','12992499cQELlm','exports','权限错误','服务器未响应,你的编辑将在本地缓存','没有协同权限,你的编辑将在本地缓存','由于协同房间被关闭,编辑权限被收回。','1306135sqFOBO','保存中...','加入协同失败,请稍后重试,你的编辑将在本地缓存','加入协同失败,你的编辑将在本地缓存','94vbfdUn','已离线,编辑将在本地缓存','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','236008YEOukD','3768936KuCyGw','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','2094337ROYevA','协同冲突','133260UhqGiq','本地文件','6vCjKCt','已同步','138mrwBjf','连接失败,将在一会儿之后重试连接'];_0x1fe3=function(){return _0x3d9eca;};return _0x1fe3();}const o={'collab-client':{'tooltip':{'reconnect':'点击重新连接'}},'collabStatus':{'fetchMiss':'正在拉取服务端数据...','conflict':_0x1640cc(0x17f),'notCollab':_0x1640cc(0x17a),'synced':_0x1640cc(0x17c),'syncing':_0x1640cc(0x187),'offline':_0x1640cc(0x18b)},'session':{'connection-failed':'连接失败,请检查你的网络','will-retry':_0x1640cc(0x17e),'room-full':'此文档协同人数已满,你的编辑将在本地缓存','join-failed':_0x1640cc(0x188),'room-not-exists':_0x1640cc(0x189),'room-permission-denied':_0x1640cc(0x184),'room-cnt-exceeds':'协同文档数量超过限制,你的编辑将在本地缓存','collaboration-timeout':_0x1640cc(0x183)},'conflict':{'title':_0x1640cc(0x191),'content':_0x1640cc(0x18f)},'permission':{'title':_0x1640cc(0x182),'content':'你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'collaboration':{'single-unit':{'warning':'你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。'},'closeRoom':_0x1640cc(0x185)},'auth':{'needGotoLoginAlert':_0x1640cc(0x18c)}};function _0x2d4e(_0x2a3517,_0xeede06){const _0x1fe3c4=_0x1fe3();return _0x2d4e=function(_0x2d4e25,_0x5e7351){_0x2d4e25=_0x2d4e25-0x17a;let _0x5945f5=_0x1fe3c4[_0x2d4e25];return _0x5945f5;},_0x2d4e(_0x2a3517,_0xeede06);}module[_0x1640cc(0x181)]=o;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';function
|
1
|
+
'use strict';function _0x35fb(){const _0x383118=['Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','58120wReReY','675pMlEaR','Syncing\x20server\x20data...','Edit\x20conflicts','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','9028IVyTdF','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','11GJQsau','1040iZijsF','7900674qECLvi','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Collaboration\x20Conflict','1918609orxJMe','7542990BLekrZ','Click\x20to\x20Reconnect','4498239UMsjpT','Authentication\x20Error','2NmuwOw','546764fvYnxR','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Local\x20file'];_0x35fb=function(){return _0x383118;};return _0x35fb();}const _0x17d3d4=_0x222c;function _0x222c(_0x2d55d4,_0xf40e16){const _0x35fbc6=_0x35fb();return _0x222c=function(_0x222c99,_0x38d312){_0x222c99=_0x222c99-0x82;let _0x5f26be=_0x35fbc6[_0x222c99];return _0x5f26be;},_0x222c(_0x2d55d4,_0xf40e16);}(function(_0x44db13,_0x5e9c1f){const _0x14665d=_0x222c,_0x2f24ff=_0x44db13();while(!![]){try{const _0x1cd6f6=-parseInt(_0x14665d(0x84))/0x1*(-parseInt(_0x14665d(0x85))/0x2)+-parseInt(_0x14665d(0x82))/0x3+-parseInt(_0x14665d(0x90))/0x4*(-parseInt(_0x14665d(0x94))/0x5)+parseInt(_0x14665d(0x95))/0x6+-parseInt(_0x14665d(0x98))/0x7+parseInt(_0x14665d(0x89))/0x8*(-parseInt(_0x14665d(0x8a))/0x9)+-parseInt(_0x14665d(0x99))/0xa*(-parseInt(_0x14665d(0x93))/0xb);if(_0x1cd6f6===_0x5e9c1f)break;else _0x2f24ff['push'](_0x2f24ff['shift']());}catch(_0x45b87d){_0x2f24ff['push'](_0x2f24ff['shift']());}}}(_0x35fb,0xbbb9b));const e={'collab-client':{'tooltip':{'reconnect':_0x17d3d4(0x9a)}},'collabStatus':{'fetchMiss':_0x17d3d4(0x8b),'conflict':_0x17d3d4(0x8c),'notCollab':_0x17d3d4(0x87),'synced':'Synced','syncing':_0x17d3d4(0x92),'offline':_0x17d3d4(0x88)},'session':{'connection-failed':_0x17d3d4(0x86),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x17d3d4(0x96),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x17d3d4(0x8e),'room-permission-denied':_0x17d3d4(0x8f),'room-cnt-exceeds':_0x17d3d4(0x8d),'collaboration-timeout':_0x17d3d4(0x91)},'conflict':{'title':_0x17d3d4(0x97),'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':_0x17d3d4(0x83),'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;module['exports']=o;
|
package/lib/es/facade.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
var _0x32980d=_0x2d39;(function(_0x1b6faf,_0x3042de){var _0x42a069=_0x2d39,_0x3ccdec=_0x1b6faf();while(!![]){try{var _0x37d446=parseInt(_0x42a069(0xf6))/0x1*(-parseInt(_0x42a069(0xf7))/0x2)+-parseInt(_0x42a069(0xf0))/0x3+-parseInt(_0x42a069(0xf2))/0x4+parseInt(_0x42a069(0xf9))/0x5+parseInt(_0x42a069(0xee))/0x6*(parseInt(_0x42a069(0xec))/0x7)+parseInt(_0x42a069(0xf8))/0x8+parseInt(_0x42a069(0xf5))/0x9;if(_0x37d446===_0x3042de)break;else _0x3ccdec['push'](_0x3ccdec['shift']());}catch(_0x2a5631){_0x3ccdec['push'](_0x3ccdec['shift']());}}}(_0x493b,0xb3b89));function _0x493b(){var _0x444166=['6314355MgZiTE','extend','_injector','length','getCollaboration','_collaborationController','getOwnPropertyDescriptor','31199pyJxlX','readyForCollab','1812kZzkjo','defineProperty','3972744MIfxUQ','getUniverSheet','4787296qjBYyY','_handler','loadSheet','5452155ymSDVu','475681wwrpPf','4tmxLCZ','7951128EWJTqg'];_0x493b=function(){return _0x444166;};return _0x493b();}function _0x2d39(_0x46c1d7,_0x1ab585){var _0x493be0=_0x493b();return _0x2d39=function(_0x2d39df,_0x4addcf){_0x2d39df=_0x2d39df-0xeb;var _0x5b1640=_0x493be0[_0x2d39df];return _0x5b1640;},_0x2d39(_0x46c1d7,_0x1ab585);}import{Inject as _0x2f7edc,FBase as _0xa393e1,FUniver as _0x163606}from'@univerjs/core';import{SnapshotService as _0x36c08f}from'@univerjs-pro/collaboration';import{CollaborationController as _0x1f6c23}from'@univerjs-pro/collaboration-client';var b=Object[_0x32980d(0xef)],C=Object[_0x32980d(0xeb)],f=(_0x19729f,_0x2e4e41,_0x1633bc,_0xed9e94)=>{var _0x4cfcbd=_0x32980d;for(var _0x457ce9=_0xed9e94>0x1?void 0x0:_0xed9e94?C(_0x2e4e41,_0x1633bc):_0x2e4e41,_0x498f5a=_0x19729f[_0x4cfcbd(0xfc)]-0x1,_0x3eff35;_0x498f5a>=0x0;_0x498f5a--)(_0x3eff35=_0x19729f[_0x498f5a])&&(_0x457ce9=(_0xed9e94?_0x3eff35(_0x2e4e41,_0x1633bc,_0x457ce9):_0x3eff35(_0x457ce9))||_0x457ce9);return _0xed9e94&&_0x457ce9&&b(_0x2e4e41,_0x1633bc,_0x457ce9),_0x457ce9;},h=(_0x38a03b,_0x3d8f53)=>(_0x47e201,_0x594d29)=>_0x3d8f53(_0x47e201,_0x594d29,_0x38a03b);let i=class extends _0xa393e1{constructor(_0x1f6513,_0xa96694,_0x5800ab){var _0x151fad=_0x32980d;super(),this[_0x151fad(0xf3)]=_0x1f6513,this['_snapshotService']=_0xa96694,this[_0x151fad(0xfe)]=_0x5800ab;}async['loadSheet'](_0x32d401){var _0x1e96c3=_0x32980d;return await this['_snapshotService'][_0x1e96c3(0xf4)](_0x32d401,0x0)?(await this[_0x1e96c3(0xfe)][_0x1e96c3(0xed)](_0x32d401),this['_handler'][_0x1e96c3(0xf1)](_0x32d401)):null;}};i=f([h(0x1,_0x2f7edc(_0x36c08f)),h(0x2,_0x2f7edc(_0x1f6c23))],i);class S extends _0x163606{[_0x32980d(0xfd)](){var _0x108921=_0x32980d;return this[_0x108921(0xfb)]['createInstance'](i,{'getUniverSheet':_0x5e5fd8=>this['getUniverSheet'](_0x5e5fd8)});}}_0x163606[_0x32980d(0xfa)](S);export{i as FCollaboration};
|