@univerjs-pro/collaboration-client 0.5.3 → 0.5.4-experimental.20250114-7c09c35
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 +36 -5
- package/lib/types/facade/f-univer.d.ts +9 -0
- package/lib/types/services/permission/permission.service.d.ts +0 -2
- 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 +14 -13
package/lib/cjs/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x23b048=_0x82e2;(function(_0x2b45bc,_0x56c1d8){const _0x11f749=_0x82e2,_0x24d7d6=_0x2b45bc();while(!![]){try{const _0x4b80de=-parseInt(_0x11f749(0x1b5))/0x1*(parseInt(_0x11f749(0x1ae))/0x2)+parseInt(_0x11f749(0x1ba))/0x3*(-parseInt(_0x11f749(0x1b4))/0x4)+-parseInt(_0x11f749(0x1be))/0x5+-parseInt(_0x11f749(0x1b8))/0x6*(-parseInt(_0x11f749(0x1af))/0x7)+-parseInt(_0x11f749(0x1a4))/0x8*(parseInt(_0x11f749(0x1a8))/0x9)+-parseInt(_0x11f749(0x1b6))/0xa*(parseInt(_0x11f749(0x1b3))/0xb)+parseInt(_0x11f749(0x1ac))/0xc;if(_0x4b80de===_0x56c1d8)break;else _0x24d7d6['push'](_0x24d7d6['shift']());}catch(_0x2ba213){_0x24d7d6['push'](_0x24d7d6['shift']());}}}(_0x56e3,0xde901));function _0x82e2(_0x23cd3a,_0x17f06e){const _0x56e30e=_0x56e3();return _0x82e2=function(_0x82e2b4,_0x2de677){_0x82e2b4=_0x82e2b4-0x1a1;let _0x1111d7=_0x56e30e[_0x82e2b4];return _0x1111d7;},_0x82e2(_0x23cd3a,_0x17f06e);}const e={'collab-client':{'tooltip':{'reconnect':_0x23b048(0x1b1)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x23b048(0x1a9),'notCollab':_0x23b048(0x1b2),'synced':_0x23b048(0x1b9),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x23b048(0x1a7),'will-retry':_0x23b048(0x1a1),'room-full':_0x23b048(0x1a6),'join-failed':_0x23b048(0x1ab),'room-not-exists':_0x23b048(0x1bb),'room-permission-denied':_0x23b048(0x1bc),'room-cnt-exceeds':_0x23b048(0x1b0),'collaboration-timeout':_0x23b048(0x1b7)},'conflict':{'title':_0x23b048(0x1a2),'content':_0x23b048(0x1aa)},'permission':{'title':_0x23b048(0x1a5),'content':_0x23b048(0x1a3)},'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':_0x23b048(0x1bd)}};function _0x56e3(){const _0x4df699=['7gBAkNk','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect','Local\x20file','4003263pxVAez','12776bkVeVZ','4GwIuTe','40CFGsly','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','4122948WpTTxn','Synced','165JzmsFw','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1214845SlFJIc','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','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.','31880ptpavu','Authentication\x20Error','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','3735jOuIXV','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.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','55004940EbSXUf','exports','415570izZaBd'];_0x56e3=function(){return _0x4df699;};return _0x56e3();}module[_0x23b048(0x1ad)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x53bc43=_0x4d10;(function(_0x4b8e81,_0x33b8e4){const _0x396c64=_0x4d10,_0x23f139=_0x4b8e81();while(!![]){try{const _0x515995=-parseInt(_0x396c64(0xe7))/0x1*(-parseInt(_0x396c64(0xf2))/0x2)+-parseInt(_0x396c64(0xeb))/0x3+-parseInt(_0x396c64(0xe2))/0x4*(-parseInt(_0x396c64(0xe5))/0x5)+-parseInt(_0x396c64(0xec))/0x6+parseInt(_0x396c64(0xf6))/0x7+-parseInt(_0x396c64(0xe8))/0x8+-parseInt(_0x396c64(0xea))/0x9*(-parseInt(_0x396c64(0xe0))/0xa);if(_0x515995===_0x33b8e4)break;else _0x23f139['push'](_0x23f139['shift']());}catch(_0x2d8ea1){_0x23f139['push'](_0x23f139['shift']());}}}(_0x54a0,0x39cc4));function _0x54a0(){const _0x349980=['9vAtKhH','412218tlytME','1064928yQNkRJ','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','پرونده\x20محلی','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','131750bmSCfi','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','خطای\x20اعتبارسنجی','1887424XpPltm','در\x20حال\x20همگام\x20سازی...','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','5747050uCkZce','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','428pYKhex','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','تداخل\x20ویرایش','2615ezWSQy','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','1TnrtJj','3316312smXrqv','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'];_0x54a0=function(){return _0x349980;};return _0x54a0();}function _0x4d10(_0x51047e,_0x74e3de){const _0x54a0fb=_0x54a0();return _0x4d10=function(_0x4d10a3,_0x31e5ef){_0x4d10a3=_0x4d10a3-0xdc;let _0x14fd3d=_0x54a0fb[_0x4d10a3];return _0x14fd3d;},_0x4d10(_0x51047e,_0x74e3de);}const o={'collab-client':{'tooltip':{'reconnect':_0x53bc43(0xe9)}},'collabStatus':{'fetchMiss':_0x53bc43(0xf4),'conflict':_0x53bc43(0xe4),'notCollab':_0x53bc43(0xef),'synced':'همگام\x20سازی','syncing':_0x53bc43(0xdc),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x53bc43(0xed),'will-retry':_0x53bc43(0xdd),'room-full':_0x53bc43(0xdf),'join-failed':_0x53bc43(0xee),'room-not-exists':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-permission-denied':_0x53bc43(0xe3),'room-cnt-exceeds':_0x53bc43(0xe1),'collaboration-timeout':_0x53bc43(0xe6)},'conflict':{'title':'تداخل\x20همکاری','content':_0x53bc43(0xf0)},'permission':{'title':_0x53bc43(0xf5),'content':_0x53bc43(0xf3)},'collaboration':{'single-unit':{'warning':_0x53bc43(0xde)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x53bc43(0xf1)}};module['exports']=o;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';function _0x4350(){const _0x38c850=['No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','5603290bUzjRC','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Edit\x20conflicts','353898fJNVJU','4960256SFBqLM','5506299lIgvaZ','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','58577mDRyBv','1396677iNhUxV','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.','Collaboration\x20Conflict','Synced','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','8491630wzChIi','10bQGqBf','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','8qAMfKB','Authentication\x20Error'];_0x4350=function(){return _0x38c850;};return _0x4350();}const _0x4f8ac2=_0x244b;(function(_0x344bce,_0x21c45e){const _0x210cb7=_0x244b,_0x363eab=_0x344bce();while(!![]){try{const _0x287014=-parseInt(_0x210cb7(0x7a))/0x1*(parseInt(_0x210cb7(0x81))/0x2)+parseInt(_0x210cb7(0x7b))/0x3*(parseInt(_0x210cb7(0x86))/0x4)+-parseInt(_0x210cb7(0x71))/0x5+-parseInt(_0x210cb7(0x75))/0x6+parseInt(_0x210cb7(0x80))/0x7+-parseInt(_0x210cb7(0x76))/0x8+parseInt(_0x210cb7(0x77))/0x9;if(_0x287014===_0x21c45e)break;else _0x363eab['push'](_0x363eab['shift']());}catch(_0x1927cb){_0x363eab['push'](_0x363eab['shift']());}}}(_0x4350,0xa1fa5));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x4f8ac2(0x79),'conflict':_0x4f8ac2(0x74),'notCollab':'Local\x20file','synced':_0x4f8ac2(0x7e),'syncing':'Syncing...','offline':_0x4f8ac2(0x85)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x4f8ac2(0x7f),'room-full':_0x4f8ac2(0x83),'join-failed':_0x4f8ac2(0x72),'room-not-exists':_0x4f8ac2(0x78),'room-permission-denied':_0x4f8ac2(0x6f),'room-cnt-exceeds':_0x4f8ac2(0x84),'collaboration-timeout':_0x4f8ac2(0x70)},'conflict':{'title':_0x4f8ac2(0x7d),'content':_0x4f8ac2(0x7c)},'permission':{'title':_0x4f8ac2(0x87),'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':_0x4f8ac2(0x82)},'auth':{'needGotoLoginAlert':_0x4f8ac2(0x73)}},o=e;function _0x244b(_0x31800a,_0x3106df){const _0x4350c7=_0x4350();return _0x244b=function(_0x244b81,_0x1596ee){_0x244b81=_0x244b81-0x6f;let _0x365b13=_0x4350c7[_0x244b81];return _0x365b13;},_0x244b(_0x31800a,_0x3106df);}module['exports']=o;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function _0x5de8(_0x4d2981,_0x518f95){const _0x424077=_0x4240();return _0x5de8=function(_0x5de8e5,_0x3b567a){_0x5de8e5=_0x5de8e5-0x8f;let _0x24200f=_0x424077[_0x5de8e5];return _0x24200f;},_0x5de8(_0x4d2981,_0x518f95);}const _0xfad552=_0x5de8;(function(_0xb4495,_0x3378e7){const _0x2dcffd=_0x5de8,_0x121d38=_0xb4495();while(!![]){try{const _0x1c8e3a=-parseInt(_0x2dcffd(0x9e))/0x1+-parseInt(_0x2dcffd(0xa6))/0x2+parseInt(_0x2dcffd(0x93))/0x3*(parseInt(_0x2dcffd(0x92))/0x4)+-parseInt(_0x2dcffd(0x99))/0x5+-parseInt(_0x2dcffd(0xa2))/0x6+parseInt(_0x2dcffd(0x98))/0x7+parseInt(_0x2dcffd(0xa7))/0x8*(parseInt(_0x2dcffd(0x9f))/0x9);if(_0x1c8e3a===_0x3378e7)break;else _0x121d38['push'](_0x121d38['shift']());}catch(_0x216dd9){_0x121d38['push'](_0x121d38['shift']());}}}(_0x4240,0x6075a));const e={'collab-client':{'tooltip':{'reconnect':_0xfad552(0xa0)}},'collabStatus':{'fetchMiss':_0xfad552(0x9c),'conflict':'Edit\x20conflicts','notCollab':_0xfad552(0xa5),'synced':_0xfad552(0xa1),'syncing':_0xfad552(0x94),'offline':_0xfad552(0x9d)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0xfad552(0x96),'room-full':_0xfad552(0x9a),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0xfad552(0xa4),'room-permission-denied':_0xfad552(0x97),'room-cnt-exceeds':_0xfad552(0x95),'collaboration-timeout':_0xfad552(0x91)},'conflict':{'title':'Collaboration\x20Conflict','content':_0xfad552(0x9b)},'permission':{'title':_0xfad552(0x8f),'content':_0xfad552(0x90)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0xfad552(0xa3)},'auth':{'needGotoLoginAlert':_0xfad552(0xa8)}},o=e;function _0x4240(){const _0x372f1=['4pwDjTt','2191089kYFTLr','Syncing...','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','5253297edAbWZ','2640565WjLUzn','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','120922BrGrhK','45rkiyfo','Click\x20to\x20Reconnect','Synced','3268038KpiRSF','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','571676DUWWue','630096iBgOAk','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x4240=function(){return _0x372f1;};return _0x4240();}module['exports']=o;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x5b33c2=_0x15c9;function _0x15c9(_0x16b381,_0x43aa67){const _0x337c61=_0x337c();return _0x15c9=function(_0x15c93a,_0xd17242){_0x15c93a=_0x15c93a-0x8e;let _0xabbbaf=_0x337c61[_0x15c93a];return _0xabbbaf;},_0x15c9(_0x16b381,_0x43aa67);}(function(_0x34f93e,_0x10f964){const _0x2762bd=_0x15c9,_0x550d82=_0x34f93e();while(!![]){try{const _0x576163=parseInt(_0x2762bd(0x98))/0x1+parseInt(_0x2762bd(0x93))/0x2*(parseInt(_0x2762bd(0x94))/0x3)+-parseInt(_0x2762bd(0x96))/0x4+parseInt(_0x2762bd(0x90))/0x5+-parseInt(_0x2762bd(0x9e))/0x6*(parseInt(_0x2762bd(0xa4))/0x7)+-parseInt(_0x2762bd(0xa2))/0x8+-parseInt(_0x2762bd(0xa0))/0x9*(-parseInt(_0x2762bd(0x9d))/0xa);if(_0x576163===_0x10f964)break;else _0x550d82['push'](_0x550d82['shift']());}catch(_0x17ad44){_0x550d82['push'](_0x550d82['shift']());}}}(_0x337c,0x3bfd0));function _0x337c(){const _0x3d2cfb=['Syncing\x20server\x20data...','2566300rPXHuy','1006254txuzaK','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.','9HtVFNg','Synced','3603096jLcftk','Connection\x20failed.\x20Please\x20check\x20your\x20network.','14fAdrJr','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','319280flFwwO','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...','2mwdCUa','817899mcGwKj','Authentication\x20Error','187336qwSimZ','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','485232FRFDJw','exports','Edit\x20conflicts','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.'];_0x337c=function(){return _0x3d2cfb;};return _0x337c();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x5b33c2(0x9c),'conflict':_0x5b33c2(0x9a),'notCollab':_0x5b33c2(0x8e),'synced':_0x5b33c2(0xa1),'syncing':_0x5b33c2(0x92),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x5b33c2(0xa3),'will-retry':_0x5b33c2(0x9b),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x5b33c2(0x91),'room-not-exists':_0x5b33c2(0xa5),'room-permission-denied':_0x5b33c2(0xa6),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x5b33c2(0x9f)},'permission':{'title':_0x5b33c2(0x95),'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':_0x5b33c2(0x97)},'closeRoom':_0x5b33c2(0x8f)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;module[_0x5b33c2(0x99)]=o;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x49da11=_0x52a5;function _0x52a5(_0x11314a,_0x5101b5){const _0x493a27=_0x493a();return _0x52a5=function(_0x52a56f,_0x1805d1){_0x52a56f=_0x52a56f-0x64;let _0x4ded74=_0x493a27[_0x52a56f];return _0x4ded74;},_0x52a5(_0x11314a,_0x5101b5);}(function(_0x4acde3,_0xc7427a){const _0x18bc69=_0x52a5,_0x236548=_0x4acde3();while(!![]){try{const _0x3b23c3=-parseInt(_0x18bc69(0x64))/0x1*(-parseInt(_0x18bc69(0x6d))/0x2)+parseInt(_0x18bc69(0x6b))/0x3+-parseInt(_0x18bc69(0x72))/0x4*(-parseInt(_0x18bc69(0x78))/0x5)+-parseInt(_0x18bc69(0x77))/0x6+-parseInt(_0x18bc69(0x76))/0x7+-parseInt(_0x18bc69(0x71))/0x8*(parseInt(_0x18bc69(0x7b))/0x9)+parseInt(_0x18bc69(0x69))/0xa*(parseInt(_0x18bc69(0x67))/0xb);if(_0x3b23c3===_0xc7427a)break;else _0x236548['push'](_0x236548['shift']());}catch(_0x41b162){_0x236548['push'](_0x236548['shift']());}}}(_0x493a,0x1b534));const o={'collab-client':{'tooltip':{'reconnect':_0x49da11(0x6a)}},'collabStatus':{'fetchMiss':_0x49da11(0x74),'conflict':_0x49da11(0x73),'notCollab':_0x49da11(0x70),'synced':_0x49da11(0x75),'syncing':_0x49da11(0x7c),'offline':_0x49da11(0x6f)},'session':{'connection-failed':'连接失败,请检查你的网络','will-retry':_0x49da11(0x79),'room-full':_0x49da11(0x7a),'join-failed':_0x49da11(0x65),'room-not-exists':'加入协同失败,你的编辑将在本地缓存','room-permission-denied':_0x49da11(0x7d),'room-cnt-exceeds':'协同文档数量超过限制,你的编辑将在本地缓存','collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':'协同冲突','content':_0x49da11(0x6e)},'permission':{'title':'权限错误','content':_0x49da11(0x7e)},'collaboration':{'single-unit':{'warning':_0x49da11(0x66)},'closeRoom':'由于协同房间被关闭,编辑权限被收回。'},'auth':{'needGotoLoginAlert':_0x49da11(0x68)}};function _0x493a(){const _0x57ce52=['exports','25468kkaGmO','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','已离线,编辑将在本地缓存','本地文件','21768KBLOTk','32JvRKpa','编辑冲突','正在拉取服务端数据...','已同步','1235038aTEmkj','1062888dgtiuq','108890flNOCC','连接失败,将在一会儿之后重试连接','此文档协同人数已满,你的编辑将在本地缓存','171hCwxeO','保存中...','没有协同权限,你的编辑将在本地缓存','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','11dDiCLH','加入协同失败,请稍后重试,你的编辑将在本地缓存','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','1419UCTimR','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','8830asdOvS','点击重新连接','267000yvVYll'];_0x493a=function(){return _0x57ce52;};return _0x493a();}module[_0x49da11(0x6c)]=o;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';function _0x440d(){const _0x159680=['Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict','exports','Authentication\x20Error','21412248lJbbOf','Local\x20file','15208oSYFiz','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.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1981mSEQag','Click\x20to\x20Reconnect','985809udpHyA','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','5rYjixp','960zVqDta','12UUEAxi','Syncing...','Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','30DgRtuU','33093AVZone','17926bhOikf','38159bSJpul','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1089265RZEvkM','3852gFOfgc','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x440d=function(){return _0x159680;};return _0x440d();}const _0x32c161=_0x4905;function _0x4905(_0x216475,_0x2e88df){const _0x440d10=_0x440d();return _0x4905=function(_0x4905f0,_0x11c01b){_0x4905f0=_0x4905f0-0x65;let _0x515aba=_0x440d10[_0x4905f0];return _0x515aba;},_0x4905(_0x216475,_0x2e88df);}(function(_0x4814d0,_0x3c5a3a){const _0x41d69d=_0x4905,_0x35047c=_0x4814d0();while(!![]){try{const _0x15f7ef=parseInt(_0x41d69d(0x71))/0x1*(-parseInt(_0x41d69d(0x7a))/0x2)+parseInt(_0x41d69d(0x6f))/0x3*(parseInt(_0x41d69d(0x73))/0x4)+parseInt(_0x41d69d(0x7d))/0x5*(-parseInt(_0x41d69d(0x78))/0x6)+parseInt(_0x41d69d(0x6d))/0x7*(parseInt(_0x41d69d(0x69))/0x8)+parseInt(_0x41d69d(0x79))/0x9*(-parseInt(_0x41d69d(0x72))/0xa)+-parseInt(_0x41d69d(0x7b))/0xb*(parseInt(_0x41d69d(0x7e))/0xc)+parseInt(_0x41d69d(0x67))/0xd;if(_0x15f7ef===_0x3c5a3a)break;else _0x35047c['push'](_0x35047c['shift']());}catch(_0xca0b33){_0x35047c['push'](_0x35047c['shift']());}}}(_0x440d,0x8b39b));const e={'collab-client':{'tooltip':{'reconnect':_0x32c161(0x6e)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x32c161(0x75),'notCollab':_0x32c161(0x68),'synced':_0x32c161(0x77),'syncing':_0x32c161(0x74),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x32c161(0x6a),'room-full':_0x32c161(0x7f),'join-failed':_0x32c161(0x6c),'room-not-exists':_0x32c161(0x76),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x32c161(0x6b),'collaboration-timeout':_0x32c161(0x7c)},'conflict':{'title':_0x32c161(0x81),'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':_0x32c161(0x66),'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':_0x32c161(0x70)},'auth':{'needGotoLoginAlert':_0x32c161(0x80)}},o=e;module[_0x32c161(0x65)]=o;
|
package/lib/es/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var
|
1
|
+
var _0x3d7eff=_0x3ffb;(function(_0x127d25,_0x4fdcf7){var _0x5b99aa=_0x3ffb,_0x4b77c1=_0x127d25();while(!![]){try{var _0xd7f92e=parseInt(_0x5b99aa(0x1d6))/0x1+-parseInt(_0x5b99aa(0x1eb))/0x2+-parseInt(_0x5b99aa(0x1f2))/0x3+-parseInt(_0x5b99aa(0x1db))/0x4+parseInt(_0x5b99aa(0x1e8))/0x5*(-parseInt(_0x5b99aa(0x1e9))/0x6)+parseInt(_0x5b99aa(0x1f0))/0x7*(parseInt(_0x5b99aa(0x1f4))/0x8)+parseInt(_0x5b99aa(0x1dd))/0x9;if(_0xd7f92e===_0x4fdcf7)break;else _0x4b77c1['push'](_0x4b77c1['shift']());}catch(_0x208c08){_0x4b77c1['push'](_0x4b77c1['shift']());}}}(_0x2d3b,0xa0221));import{Inject as _0x2e7258,Injector as _0x374e89,FBase as _0xc6303d,UniverInstanceType as _0x20c9dc,toDisposable as _0x5e163f,IUniverInstanceService as _0x5d0a24,FUniver as _0x3883c7}from'@univerjs/core';function _0x3ffb(_0x1f7a4a,_0x191094){var _0x2d3be0=_0x2d3b();return _0x3ffb=function(_0x3ffbb3,_0x3cb66b){_0x3ffbb3=_0x3ffbb3-0x1d6;var _0x4b4ceb=_0x2d3be0[_0x3ffbb3];return _0x4b4ceb;},_0x3ffb(_0x1f7a4a,_0x191094);}import{SnapshotService as _0xda4fef}from'@univerjs-pro/collaboration';import{CollaborationController as _0x5ab106,MemberService as _0x16bed6}from'@univerjs-pro/collaboration-client';function _0x2d3b(){var _0x51707b=['loadSheet','10801ZZXyMD','from','98106BjUesY','members$','2608xoEmMq','waitForRoom$','1201883FwCttP','UNIVER_SHEET','getUniverSheet','extend','values','5010044kDxdoa','getCollaboration','15133185vIbNBD','_univerInstanceService','subscribeCollaborators','pipe','_handler','subscribe','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','defineProperty','loadSheetAsync','_injector','getOwnPropertyDescriptor','6472835RuqwmY','6aWGHaY','_snapshotService','301362xmqzjN','_collaborationController','loadActiveSheetAsync','createInstance'];_0x2d3b=function(){return _0x51707b;};return _0x2d3b();}import{switchMap as _0x423b4e}from'rxjs';var C=Object[_0x3d7eff(0x1e4)],y=Object[_0x3d7eff(0x1e7)],w=(_0xe22c6b,_0x577e52,_0x3c54c1,_0x355e2e)=>{for(var _0x56e2d0=_0x355e2e>0x1?void 0x0:_0x355e2e?y(_0x577e52,_0x3c54c1):_0x577e52,_0x29bdda=_0xe22c6b['length']-0x1,_0x258ec0;_0x29bdda>=0x0;_0x29bdda--)(_0x258ec0=_0xe22c6b[_0x29bdda])&&(_0x56e2d0=(_0x355e2e?_0x258ec0(_0x577e52,_0x3c54c1,_0x56e2d0):_0x258ec0(_0x56e2d0))||_0x56e2d0);return _0x355e2e&&_0x56e2d0&&C(_0x577e52,_0x3c54c1,_0x56e2d0),_0x56e2d0;},i=(_0x4dc27c,_0x467a77)=>(_0x44f696,_0x51ebb0)=>_0x467a77(_0x44f696,_0x51ebb0,_0x4dc27c);let l=class extends _0xc6303d{constructor(_0x5b4772,_0x183227,_0x380507,_0x6aba4a,_0x58b8c5){var _0xedca5f=_0x3d7eff;super(),this['_handler']=_0x5b4772,this[_0xedca5f(0x1e6)]=_0x183227,this[_0xedca5f(0x1de)]=_0x380507,this['_snapshotService']=_0x6aba4a,this[_0xedca5f(0x1ec)]=_0x58b8c5;}async['loadActiveSheet'](){var _0x440f2e=_0x3d7eff;return this[_0x440f2e(0x1ed)]();}async[_0x3d7eff(0x1ed)](){var _0x466e9b=_0x3d7eff;throw new Error(_0x466e9b(0x1e3));}async[_0x3d7eff(0x1ef)](_0x4693d1){var _0x508cd4=_0x3d7eff;return this[_0x508cd4(0x1e5)](_0x4693d1);}async[_0x3d7eff(0x1e5)](_0x5067d3){var _0x377d21=_0x3d7eff;return this[_0x377d21(0x1de)]['getUnit'](_0x5067d3,_0x20c9dc[_0x377d21(0x1d7)])||await this[_0x377d21(0x1ea)][_0x377d21(0x1ef)](_0x5067d3,0x0)?(await this[_0x377d21(0x1ec)]['readyForCollab'](_0x5067d3),this[_0x377d21(0x1e1)][_0x377d21(0x1d8)](_0x5067d3)):null;}[_0x3d7eff(0x1df)](_0xf558f,_0x35efb6){var _0xd0221b=_0x3d7eff;const _0x176ed8=this[_0xd0221b(0x1e6)]['get'](_0x16bed6)[_0xd0221b(0x1f5)](_0xf558f)[_0xd0221b(0x1e0)](_0x423b4e(_0x2d5fa4=>_0x2d5fa4[_0xd0221b(0x1f3)]))[_0xd0221b(0x1e2)](_0x228821=>_0x35efb6(Array[_0xd0221b(0x1f1)](_0x228821[_0xd0221b(0x1da)]())));return _0x5e163f(_0x176ed8);}};l=w([i(0x1,_0x2e7258(_0x374e89)),i(0x2,_0x5d0a24),i(0x3,_0x2e7258(_0xda4fef)),i(0x4,_0x2e7258(_0x5ab106))],l);class U extends _0x3883c7{[_0x3d7eff(0x1dc)](){var _0x56c652=_0x3d7eff;return this['_injector'][_0x56c652(0x1ee)](l,{'getUniverSheet':_0x2f52a4=>this[_0x56c652(0x1d8)](_0x2f52a4)});}}_0x3883c7[_0x3d7eff(0x1d9)](U);export{l as FCollaboration};
|