@univerjs-pro/collaboration-client 0.6.0-alpha.0 → 0.6.0-experimental.20250212-dbe9830
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/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 -14
package/lib/cjs/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const _0x30f2fa=_0x50b1;(function(_0x39b4d5,_0x3c71f7){const _0x468fb2=_0x50b1,_0x327575=_0x39b4d5();while(!![]){try{const _0x2d5a90=-parseInt(_0x468fb2(0x1a2))/0x1*(-parseInt(_0x468fb2(0x1a8))/0x2)+parseInt(_0x468fb2(0x199))/0x3+parseInt(_0x468fb2(0x19c))/0x4*(-parseInt(_0x468fb2(0x1aa))/0x5)+-parseInt(_0x468fb2(0x196))/0x6*(parseInt(_0x468fb2(0x19f))/0x7)+-parseInt(_0x468fb2(0x1a5))/0x8*(-parseInt(_0x468fb2(0x1ab))/0x9)+parseInt(_0x468fb2(0x1a7))/0xa*(parseInt(_0x468fb2(0x1b5))/0xb)+-parseInt(_0x468fb2(0x1a4))/0xc*(parseInt(_0x468fb2(0x198))/0xd);if(_0x2d5a90===_0x3c71f7)break;else _0x327575['push'](_0x327575['shift']());}catch(_0x5c2858){_0x327575['push'](_0x327575['shift']());}}}(_0x25cd,0x3921e));function _0x25cd(){const _0x309700=['The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2PAYOBF','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','8928qHozlr','373880JOOfKa','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','876410hcKPVq','246442WjYSTh','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','1165NoEYDS','9ZwCZeV','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','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...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Edit\x20conflicts','33CRfRhF','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','12awdLEx','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','130pVuIyH','182508dAyawq','Click\x20to\x20Reconnect','Collaboration\x20Conflict','3224INGeIR','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','656894pITmZp','Local\x20file'];_0x25cd=function(){return _0x309700;};return _0x25cd();}const e={'collab-client':{'tooltip':{'reconnect':_0x30f2fa(0x19a)}},'collabStatus':{'fetchMiss':_0x30f2fa(0x1ad),'conflict':_0x30f2fa(0x1b4),'notCollab':_0x30f2fa(0x1a0),'synced':_0x30f2fa(0x1b2),'syncing':_0x30f2fa(0x1af),'offline':_0x30f2fa(0x1b1)},'session':{'connection-failed':_0x30f2fa(0x19e),'will-retry':_0x30f2fa(0x1a9),'room-full':_0x30f2fa(0x1a1),'join-failed':_0x30f2fa(0x1a6),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x30f2fa(0x1a3),'room-cnt-exceeds':_0x30f2fa(0x1b6),'collaboration-timeout':_0x30f2fa(0x197)},'conflict':{'title':_0x30f2fa(0x19b),'content':_0x30f2fa(0x1ae)},'permission':{'title':'Authentication\x20Error','content':_0x30f2fa(0x19d)},'collaboration':{'single-unit':{'warning':_0x30f2fa(0x1ac)},'closeRoom':_0x30f2fa(0x1b0)},'auth':{'needGotoLoginAlert':_0x30f2fa(0x1b3)}};function _0x50b1(_0x1c4b2a,_0x1ec0e2){const _0x25cdc8=_0x25cd();return _0x50b1=function(_0x50b1d6,_0x1e0ede){_0x50b1d6=_0x50b1d6-0x196;let _0x5665c0=_0x25cdc8[_0x50b1d6];return _0x5665c0;},_0x50b1(_0x1c4b2a,_0x1ec0e2);}module['exports']=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x5f3f74=_0x3838;(function(_0xcb44c6,_0x411ecd){const _0x36f4e8=_0x3838,_0x2992e1=_0xcb44c6();while(!![]){try{const _0x1a50d7=parseInt(_0x36f4e8(0x10f))/0x1*(parseInt(_0x36f4e8(0x108))/0x2)+-parseInt(_0x36f4e8(0x110))/0x3*(-parseInt(_0x36f4e8(0x105))/0x4)+parseInt(_0x36f4e8(0x112))/0x5+parseInt(_0x36f4e8(0x10c))/0x6*(parseInt(_0x36f4e8(0x10e))/0x7)+-parseInt(_0x36f4e8(0x117))/0x8+parseInt(_0x36f4e8(0x109))/0x9+-parseInt(_0x36f4e8(0x11c))/0xa;if(_0x1a50d7===_0x411ecd)break;else _0x2992e1['push'](_0x2992e1['shift']());}catch(_0x18ad13){_0x2992e1['push'](_0x2992e1['shift']());}}}(_0x355a,0x43186));const o={'collab-client':{'tooltip':{'reconnect':_0x5f3f74(0x11b)}},'collabStatus':{'fetchMiss':_0x5f3f74(0x116),'conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x5f3f74(0x114),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x5f3f74(0x10d),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x5f3f74(0x119),'join-failed':_0x5f3f74(0x10b),'room-not-exists':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-permission-denied':_0x5f3f74(0x118),'room-cnt-exceeds':_0x5f3f74(0x107),'collaboration-timeout':_0x5f3f74(0x115)},'conflict':{'title':_0x5f3f74(0x104),'content':_0x5f3f74(0x10a)},'permission':{'title':_0x5f3f74(0x106),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x5f3f74(0x11a)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x5f3f74(0x111)}};function _0x3838(_0x4c647d,_0x3b7b19){const _0x355a84=_0x355a();return _0x3838=function(_0x383862,_0x106b93){_0x383862=_0x383862-0x104;let _0x1352ad=_0x355a84[_0x383862];return _0x1352ad;},_0x3838(_0x4c647d,_0x3b7b19);}module[_0x5f3f74(0x113)]=o;function _0x355a(){const _0x3ee411=['2PLMzsz','3990114anBdXq','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','214122vEXfvq','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','49dPWzBr','258529BgVGnY','3AxNwoN','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','459940vITGGU','exports','همگام\x20سازی','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','185392AAnapl','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','9648050DsXnmL','تداخل\x20همکاری','876516dmHwSP','خطای\x20اعتبارسنجی','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'];_0x355a=function(){return _0x3ee411;};return _0x355a();}
|
package/lib/cjs/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x2c1fc1=_0x2284;(function(_0x5e452a,_0x2656ab){const _0x3fb882=_0x2284,_0x14ffe0=_0x5e452a();while(!![]){try{const _0x2e81fe=parseInt(_0x3fb882(0x81))/0x1+parseInt(_0x3fb882(0x87))/0x2*(-parseInt(_0x3fb882(0x86))/0x3)+-parseInt(_0x3fb882(0x99))/0x4+parseInt(_0x3fb882(0x91))/0x5*(parseInt(_0x3fb882(0x8b))/0x6)+-parseInt(_0x3fb882(0x82))/0x7*(-parseInt(_0x3fb882(0x8a))/0x8)+-parseInt(_0x3fb882(0x8f))/0x9*(parseInt(_0x3fb882(0x89))/0xa)+parseInt(_0x3fb882(0x93))/0xb;if(_0x2e81fe===_0x2656ab)break;else _0x14ffe0['push'](_0x14ffe0['shift']());}catch(_0x515b38){_0x14ffe0['push'](_0x14ffe0['shift']());}}}(_0x7781,0xccd25));function _0x7781(){const _0x511c66=['1482siKmBt','Collaboration\x20Conflict','5840BCWTTg','268736VGObmY','24qdUheV','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','4797BCliJF','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','498255ZZmWRq','exports','11266838OKuWmg','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','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.','Edit\x20conflicts','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','4650692hUIkxd','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\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.','771719JJKoSt','35FSjdwU','Click\x20to\x20Reconnect','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.','201HiCvbg'];_0x7781=function(){return _0x511c66;};return _0x7781();}function _0x2284(_0x35f481,_0x5bec52){const _0x7781a3=_0x7781();return _0x2284=function(_0x22840e,_0x3d3bb2){_0x22840e=_0x22840e-0x7d;let _0x7b4ab8=_0x7781a3[_0x22840e];return _0x7b4ab8;},_0x2284(_0x35f481,_0x5bec52);}const e={'collab-client':{'tooltip':{'reconnect':_0x2c1fc1(0x83)}},'collabStatus':{'fetchMiss':_0x2c1fc1(0x8e),'conflict':_0x2c1fc1(0x97),'notCollab':'Local\x20file','synced':'Synced','syncing':'Syncing...','offline':_0x2c1fc1(0x90)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x2c1fc1(0x8d),'room-full':_0x2c1fc1(0x96),'join-failed':_0x2c1fc1(0x95),'room-not-exists':_0x2c1fc1(0x7f),'room-permission-denied':_0x2c1fc1(0x7e),'room-cnt-exceeds':_0x2c1fc1(0x7d),'collaboration-timeout':_0x2c1fc1(0x94)},'conflict':{'title':_0x2c1fc1(0x88),'content':_0x2c1fc1(0x80)},'permission':{'title':'Authentication\x20Error','content':_0x2c1fc1(0x98)},'collaboration':{'single-unit':{'warning':_0x2c1fc1(0x84)},'closeRoom':_0x2c1fc1(0x85)},'auth':{'needGotoLoginAlert':_0x2c1fc1(0x8c)}},o=e;module[_0x2c1fc1(0x92)]=o;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const _0x75ab03=_0x31e0;(function(_0x4a60a5,_0x438105){const _0x406e4e=_0x31e0,_0x2c7801=_0x4a60a5();while(!![]){try{const _0x2d8999=parseInt(_0x406e4e(0x7c))/0x1*(parseInt(_0x406e4e(0x8f))/0x2)+parseInt(_0x406e4e(0x8b))/0x3+parseInt(_0x406e4e(0x88))/0x4+parseInt(_0x406e4e(0x80))/0x5+-parseInt(_0x406e4e(0x7d))/0x6+-parseInt(_0x406e4e(0x7b))/0x7+-parseInt(_0x406e4e(0x8d))/0x8;if(_0x2d8999===_0x438105)break;else _0x2c7801['push'](_0x2c7801['shift']());}catch(_0x2ae995){_0x2c7801['push'](_0x2c7801['shift']());}}}(_0x190c,0xca156));const e={'collab-client':{'tooltip':{'reconnect':_0x75ab03(0x82)}},'collabStatus':{'fetchMiss':_0x75ab03(0x7f),'conflict':_0x75ab03(0x7a),'notCollab':'Local\x20file','synced':_0x75ab03(0x90),'syncing':_0x75ab03(0x83),'offline':_0x75ab03(0x85)},'session':{'connection-failed':_0x75ab03(0x79),'will-retry':_0x75ab03(0x8a),'room-full':_0x75ab03(0x84),'join-failed':_0x75ab03(0x86),'room-not-exists':_0x75ab03(0x89),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x75ab03(0x81),'collaboration-timeout':_0x75ab03(0x8e)},'conflict':{'title':_0x75ab03(0x87),'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':'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':_0x75ab03(0x8c)},'closeRoom':_0x75ab03(0x91)},'auth':{'needGotoLoginAlert':_0x75ab03(0x7e)}},o=e;function _0x31e0(_0x34d323,_0x2dda3c){const _0x190c4a=_0x190c();return _0x31e0=function(_0x31e0a8,_0x313eee){_0x31e0a8=_0x31e0a8-0x79;let _0x587b43=_0x190c4a[_0x31e0a8];return _0x587b43;},_0x31e0(_0x34d323,_0x2dda3c);}function _0x190c(){const _0x2a524b=['2652184REvlcf','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','757014TVwuGU','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1659232fiXFWI','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','8BxKbsG','Synced','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Edit\x20conflicts','11314723uMSpGq','147921WWPzeY','989814uplqWq','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','6547140YQlwEk','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect','Syncing...','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Collaboration\x20Conflict'];_0x190c=function(){return _0x2a524b;};return _0x190c();}module['exports']=o;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x70bb66=_0x2f97;function _0x2f97(_0x499de4,_0x2b8de1){const _0x3ffb36=_0x3ffb();return _0x2f97=function(_0x2f9728,_0x5e47d5){_0x2f9728=_0x2f9728-0x139;let _0x172c9b=_0x3ffb36[_0x2f9728];return _0x172c9b;},_0x2f97(_0x499de4,_0x2b8de1);}(function(_0x472f90,_0xa2152d){const _0x14992e=_0x2f97,_0x471502=_0x472f90();while(!![]){try{const _0x41a695=-parseInt(_0x14992e(0x13d))/0x1*(-parseInt(_0x14992e(0x143))/0x2)+-parseInt(_0x14992e(0x13a))/0x3*(parseInt(_0x14992e(0x14f))/0x4)+-parseInt(_0x14992e(0x13b))/0x5+parseInt(_0x14992e(0x149))/0x6+parseInt(_0x14992e(0x14e))/0x7+parseInt(_0x14992e(0x142))/0x8*(-parseInt(_0x14992e(0x139))/0x9)+parseInt(_0x14992e(0x148))/0xa*(parseInt(_0x14992e(0x14c))/0xb);if(_0x41a695===_0xa2152d)break;else _0x471502['push'](_0x471502['shift']());}catch(_0x439c62){_0x471502['push'](_0x471502['shift']());}}}(_0x3ffb,0x49b7c));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x70bb66(0x14a),'conflict':_0x70bb66(0x151),'notCollab':_0x70bb66(0x146),'synced':'Synced','syncing':_0x70bb66(0x145),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x70bb66(0x13e),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x70bb66(0x140),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x70bb66(0x14b),'collaboration-timeout':_0x70bb66(0x150)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x70bb66(0x147)},'permission':{'title':_0x70bb66(0x14d),'content':_0x70bb66(0x13f)},'collaboration':{'single-unit':{'warning':_0x70bb66(0x141)},'closeRoom':_0x70bb66(0x144)},'auth':{'needGotoLoginAlert':_0x70bb66(0x13c)}},o=e;function _0x3ffb(){const _0x27d13b=['Syncing\x20server\x20data...','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1931149XiUmJT','Authentication\x20Error','1687672ZGjqeJ','8ukTgxO','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Edit\x20conflicts','45esZeuj','877977HcBvoy','403475TGtQos','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','12022JoJTfn','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\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.','97848WEYvyA','88UYVobI','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing...','Local\x20file','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.','10GxmnOw','500958OBQUoW'];_0x3ffb=function(){return _0x27d13b;};return _0x3ffb();}module['exports']=o;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x56ddd6=_0x3da4;(function(_0x27e994,_0x3a6fd1){const _0x42b517=_0x3da4,_0x45fb6b=_0x27e994();while(!![]){try{const _0x1fc421=-parseInt(_0x42b517(0x1ba))/0x1*(-parseInt(_0x42b517(0x1c0))/0x2)+parseInt(_0x42b517(0x1aa))/0x3*(-parseInt(_0x42b517(0x1bb))/0x4)+-parseInt(_0x42b517(0x1ad))/0x5+-parseInt(_0x42b517(0x1b5))/0x6*(parseInt(_0x42b517(0x1c1))/0x7)+parseInt(_0x42b517(0x1be))/0x8+-parseInt(_0x42b517(0x1ae))/0x9+parseInt(_0x42b517(0x1b2))/0xa*(parseInt(_0x42b517(0x1b9))/0xb);if(_0x1fc421===_0x3a6fd1)break;else _0x45fb6b['push'](_0x45fb6b['shift']());}catch(_0x509eb1){_0x45fb6b['push'](_0x45fb6b['shift']());}}}(_0x46ea,0xf3500));function _0x46ea(){const _0x3cbb55=['已同步','19016420NahVxz','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','协同冲突','186WMTQzY','由于协同房间被关闭,编辑权限被收回。','加入协同失败,请稍后重试,你的编辑将在本地缓存','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','11yutbSP','5363KKRrmX','870364EfQugx','权限错误','加入协同失败,你的编辑将在本地缓存','11948416dTwaJS','服务器未响应,你的编辑将在本地缓存','186wYZUtI','389242YVvfQC','连接失败,将在一会儿之后重试连接','已离线,编辑将在本地缓存','编辑冲突','12UuYBEK','没有协同权限,你的编辑将在本地缓存','此文档协同人数已满,你的编辑将在本地缓存','1322625WfMuZz','348030ZLxEGF','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','连接失败,请检查你的网络'];_0x46ea=function(){return _0x3cbb55;};return _0x46ea();}function _0x3da4(_0x457c17,_0x2abf01){const _0x46eaf8=_0x46ea();return _0x3da4=function(_0x3da483,_0x91253d){_0x3da483=_0x3da483-0x1aa;let _0x166a4e=_0x46eaf8[_0x3da483];return _0x166a4e;},_0x3da4(_0x457c17,_0x2abf01);}const o={'collab-client':{'tooltip':{'reconnect':'点击重新连接'}},'collabStatus':{'fetchMiss':'正在拉取服务端数据...','conflict':_0x56ddd6(0x1c4),'notCollab':'本地文件','synced':_0x56ddd6(0x1b1),'syncing':'保存中...','offline':_0x56ddd6(0x1c3)},'session':{'connection-failed':_0x56ddd6(0x1b0),'will-retry':_0x56ddd6(0x1c2),'room-full':_0x56ddd6(0x1ac),'join-failed':_0x56ddd6(0x1b7),'room-not-exists':_0x56ddd6(0x1bd),'room-permission-denied':_0x56ddd6(0x1ab),'room-cnt-exceeds':'协同文档数量超过限制,你的编辑将在本地缓存','collaboration-timeout':_0x56ddd6(0x1bf)},'conflict':{'title':_0x56ddd6(0x1b4),'content':_0x56ddd6(0x1af)},'permission':{'title':_0x56ddd6(0x1bc),'content':_0x56ddd6(0x1b8)},'collaboration':{'single-unit':{'warning':'你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。'},'closeRoom':_0x56ddd6(0x1b6)},'auth':{'needGotoLoginAlert':_0x56ddd6(0x1b3)}};module['exports']=o;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x513c48=_0x362e;(function(_0x51d1a4,_0x3ff0ba){const _0x46fcfe=_0x362e,_0x3a0bf4=_0x51d1a4();while(!![]){try{const _0x3f5ef3=parseInt(_0x46fcfe(0xb1))/0x1*(parseInt(_0x46fcfe(0xa2))/0x2)+parseInt(_0x46fcfe(0xa7))/0x3+-parseInt(_0x46fcfe(0xa1))/0x4+-parseInt(_0x46fcfe(0xa9))/0x5*(parseInt(_0x46fcfe(0xb2))/0x6)+-parseInt(_0x46fcfe(0xa0))/0x7+-parseInt(_0x46fcfe(0xae))/0x8*(parseInt(_0x46fcfe(0xb0))/0x9)+parseInt(_0x46fcfe(0xaa))/0xa;if(_0x3f5ef3===_0x3ff0ba)break;else _0x3a0bf4['push'](_0x3a0bf4['shift']());}catch(_0x2c9f5f){_0x3a0bf4['push'](_0x3a0bf4['shift']());}}}(_0x343a,0xda58b));function _0x362e(_0xb08cc6,_0x11eb31){const _0x343ae8=_0x343a();return _0x362e=function(_0x362e08,_0x28876b){_0x362e08=_0x362e08-0x9e;let _0x460ad9=_0x343ae8[_0x362e08];return _0x460ad9;},_0x362e(_0xb08cc6,_0x11eb31);}const e={'collab-client':{'tooltip':{'reconnect':_0x513c48(0xa4)}},'collabStatus':{'fetchMiss':_0x513c48(0xb6),'conflict':_0x513c48(0xb3),'notCollab':'Local\x20file','synced':_0x513c48(0x9e),'syncing':'Syncing...','offline':_0x513c48(0xac)},'session':{'connection-failed':_0x513c48(0xa8),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x513c48(0xa6),'join-failed':_0x513c48(0xa3),'room-not-exists':_0x513c48(0x9f),'room-permission-denied':_0x513c48(0xb7),'room-cnt-exceeds':_0x513c48(0xba),'collaboration-timeout':_0x513c48(0xb8)},'conflict':{'title':_0x513c48(0xbb),'content':_0x513c48(0xb4)},'permission':{'title':_0x513c48(0xa5),'content':_0x513c48(0xb9)},'collaboration':{'single-unit':{'warning':_0x513c48(0xab)},'closeRoom':_0x513c48(0xaf)},'auth':{'needGotoLoginAlert':_0x513c48(0xad)}},o=e;module[_0x513c48(0xb5)]=o;function _0x343a(){const _0x3f28e9=['Authentication\x20Error','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3117183dEyfYo','Connection\x20failed.\x20Please\x20check\x20your\x20network.','360Undtlu','30248130FHMLDh','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','26168qcrLnl','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','369PdysjE','57OqfGbR','123582XcaHUZ','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.','exports','Syncing\x20server\x20data...','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Collaboration\x20Conflict','Synced','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','11369750tBlqwo','4841360UVCqGj','44988qqxXns','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect'];_0x343a=function(){return _0x3f28e9;};return _0x343a();}
|
package/lib/es/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var
|
1
|
+
function _0x3852(_0x3a3e61,_0x149acc){var _0x4c02a0=_0x4c02();return _0x3852=function(_0x385282,_0x485519){_0x385282=_0x385282-0x1b3;var _0x404758=_0x4c02a0[_0x385282];return _0x404758;},_0x3852(_0x3a3e61,_0x149acc);}var _0x52ecf5=_0x3852;(function(_0xc6b69a,_0x19b323){var _0x1ad929=_0x3852,_0x28ce5b=_0xc6b69a();while(!![]){try{var _0x1b9485=-parseInt(_0x1ad929(0x1b9))/0x1+parseInt(_0x1ad929(0x1b6))/0x2+-parseInt(_0x1ad929(0x1d2))/0x3+-parseInt(_0x1ad929(0x1ce))/0x4*(parseInt(_0x1ad929(0x1ba))/0x5)+-parseInt(_0x1ad929(0x1be))/0x6+-parseInt(_0x1ad929(0x1c3))/0x7+parseInt(_0x1ad929(0x1c2))/0x8;if(_0x1b9485===_0x19b323)break;else _0x28ce5b['push'](_0x28ce5b['shift']());}catch(_0x42cd89){_0x28ce5b['push'](_0x28ce5b['shift']());}}}(_0x4c02,0xf1478));import{Inject as _0x2b2404,Injector as _0x1d25f7,FBase as _0x44a70e,UniverInstanceType as _0x458c44,toDisposable as _0x5b69c2,IUniverInstanceService as _0x31de42,FUniver as _0x3a3ee2}from'@univerjs/core';import{SnapshotService as _0x147bec}from'@univerjs-pro/collaboration';import{CollaborationController as _0x1e0fb3,MemberService as _0x53d2c2}from'@univerjs-pro/collaboration-client';function _0x4c02(){var _0xbd9a4d=['2230641OOQzWB','_snapshotService','subscribeCollaborators','loadSheet','length','_injector','defineProperty','values','_handler','loadSheetAsync','subscribe','3133932puUakq','from','getOwnPropertyDescriptor','loadActiveSheet','4934472XqQSpK','_collaborationController','getUniverSheet','getUnit','getCollaboration','3243280wycjnc','members$','get','1619685EzUkXG','5uynBQB','loadActiveSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_univerInstanceService','9994884voEygk','pipe','extend','readyForCollab','43192872tQPuXg'];_0x4c02=function(){return _0xbd9a4d;};return _0x4c02();}import{switchMap as _0x206472}from'rxjs';var C=Object[_0x52ecf5(0x1c9)],y=Object[_0x52ecf5(0x1d0)],w=(_0x1dee54,_0x3b8db1,_0xbc399,_0x321259)=>{var _0x541812=_0x52ecf5;for(var _0x41a6eb=_0x321259>0x1?void 0x0:_0x321259?y(_0x3b8db1,_0xbc399):_0x3b8db1,_0x576bba=_0x1dee54[_0x541812(0x1c7)]-0x1,_0x47af37;_0x576bba>=0x0;_0x576bba--)(_0x47af37=_0x1dee54[_0x576bba])&&(_0x41a6eb=(_0x321259?_0x47af37(_0x3b8db1,_0xbc399,_0x41a6eb):_0x47af37(_0x41a6eb))||_0x41a6eb);return _0x321259&&_0x41a6eb&&C(_0x3b8db1,_0xbc399,_0x41a6eb),_0x41a6eb;},i=(_0xb0fef9,_0x15aa0a)=>(_0x1e6176,_0x47bfe0)=>_0x15aa0a(_0x1e6176,_0x47bfe0,_0xb0fef9);let l=class extends _0x44a70e{constructor(_0x3a1255,_0x3a2e75,_0x1405b3,_0x37b040,_0xf38844){var _0x546a03=_0x52ecf5;super(),this[_0x546a03(0x1cb)]=_0x3a1255,this['_injector']=_0x3a2e75,this['_univerInstanceService']=_0x1405b3,this['_snapshotService']=_0x37b040,this[_0x546a03(0x1d3)]=_0xf38844;}async[_0x52ecf5(0x1d1)](){var _0x52bad4=_0x52ecf5;return this[_0x52bad4(0x1bb)]();}async[_0x52ecf5(0x1bb)](){var _0x197f31=_0x52ecf5;throw new Error(_0x197f31(0x1bc));}async['loadSheet'](_0x2c201c){var _0x25dcd4=_0x52ecf5;return this[_0x25dcd4(0x1cc)](_0x2c201c);}async[_0x52ecf5(0x1cc)](_0x4751cf){var _0x2a598c=_0x52ecf5;return this[_0x2a598c(0x1bd)][_0x2a598c(0x1b4)](_0x4751cf,_0x458c44['UNIVER_SHEET'])||await this[_0x2a598c(0x1c4)][_0x2a598c(0x1c6)](_0x4751cf,0x0)?(await this[_0x2a598c(0x1d3)][_0x2a598c(0x1c1)](_0x4751cf),this[_0x2a598c(0x1cb)][_0x2a598c(0x1b3)](_0x4751cf)):null;}[_0x52ecf5(0x1c5)](_0x304116,_0x54e4c9){var _0xb7dd9=_0x52ecf5;const _0x2b7537=this[_0xb7dd9(0x1c8)][_0xb7dd9(0x1b8)](_0x53d2c2)['waitForRoom$'](_0x304116)[_0xb7dd9(0x1bf)](_0x206472(_0x320b8f=>_0x320b8f[_0xb7dd9(0x1b7)]))[_0xb7dd9(0x1cd)](_0x3e653e=>_0x54e4c9(Array[_0xb7dd9(0x1cf)](_0x3e653e[_0xb7dd9(0x1ca)]())));return _0x5b69c2(_0x2b7537);}};l=w([i(0x1,_0x2b2404(_0x1d25f7)),i(0x2,_0x31de42),i(0x3,_0x2b2404(_0x147bec)),i(0x4,_0x2b2404(_0x1e0fb3))],l);class U extends _0x3a3ee2{[_0x52ecf5(0x1b5)](){return this['_injector']['createInstance'](l,{'getUniverSheet':_0x3c3346=>this['getUniverSheet'](_0x3c3346)});}}_0x3a3ee2[_0x52ecf5(0x1c0)](U);export{l as FCollaboration};
|