@univerjs-pro/collaboration-client 0.5.4 → 0.5.5-experimental.20250123-34738ff
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 +12 -2
- package/lib/types/facade/f-univer.d.ts +6 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
package/lib/cjs/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const _0x498bc5=_0x47bf;(function(_0x4663c4,_0x7f4360){const _0x552f31=_0x47bf,_0x3eb3d1=_0x4663c4();while(!![]){try{const _0x4c138a=-parseInt(_0x552f31(0xc7))/0x1*(-parseInt(_0x552f31(0xd6))/0x2)+parseInt(_0x552f31(0xbe))/0x3+parseInt(_0x552f31(0xc0))/0x4*(-parseInt(_0x552f31(0xc2))/0x5)+-parseInt(_0x552f31(0xcc))/0x6+parseInt(_0x552f31(0xd3))/0x7*(parseInt(_0x552f31(0xd5))/0x8)+-parseInt(_0x552f31(0xd0))/0x9*(-parseInt(_0x552f31(0xd1))/0xa)+-parseInt(_0x552f31(0xc4))/0xb;if(_0x4c138a===_0x7f4360)break;else _0x3eb3d1['push'](_0x3eb3d1['shift']());}catch(_0x42f4b4){_0x3eb3d1['push'](_0x3eb3d1['shift']());}}}(_0xaf99,0x9f58a));const locale={'collab-client':{'tooltip':{'reconnect':_0x498bc5(0xc5)}},'collabStatus':{'fetchMiss':_0x498bc5(0xc6),'conflict':_0x498bc5(0xcf),'notCollab':_0x498bc5(0xce),'synced':'Synced','syncing':_0x498bc5(0xcb),'offline':_0x498bc5(0xca)},'session':{'connection-failed':_0x498bc5(0xc1),'will-retry':_0x498bc5(0xc8),'room-full':_0x498bc5(0xc3),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x498bc5(0xd2),'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':_0x498bc5(0xc9)},'permission':{'title':_0x498bc5(0xd4),'content':_0x498bc5(0xcd)},'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':_0x498bc5(0xbf)}};function _0xaf99(){const _0x3f75ec=['Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing...','739062LzXUVl','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Local\x20file','Edit\x20conflicts','13410tDtEWt','7960OAjczu','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','7792946HoHAUN','Authentication\x20Error','8uTmLQF','1720864jPSxeF','1322391jZZvBu','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1678936moobse','Connection\x20failed.\x20Please\x20check\x20your\x20network.','5SfBJLf','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','26454494RMpSPq','Click\x20to\x20Reconnect','Syncing\x20server\x20data...','1zTVgme','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'];_0xaf99=function(){return _0x3f75ec;};return _0xaf99();}function _0x47bf(_0x4ce44f,_0x29a382){const _0xaf99f0=_0xaf99();return _0x47bf=function(_0x47bffb,_0x1903b0){_0x47bffb=_0x47bffb-0xbe;let _0x5e5d7d=_0xaf99f0[_0x47bffb];return _0x5e5d7d;},_0x47bf(_0x4ce44f,_0x29a382);}module['exports']=locale;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x4c9b6f=_0x45fb;(function(_0x4205a5,_0x13ad36){const _0x4842cb=_0x45fb,_0xdffbc0=_0x4205a5();while(!![]){try{const _0x53f075=parseInt(_0x4842cb(0x1d5))/0x1*(parseInt(_0x4842cb(0x1c9))/0x2)+-parseInt(_0x4842cb(0x1d0))/0x3+-parseInt(_0x4842cb(0x1c3))/0x4+-parseInt(_0x4842cb(0x1da))/0x5*(-parseInt(_0x4842cb(0x1cf))/0x6)+parseInt(_0x4842cb(0x1d8))/0x7+parseInt(_0x4842cb(0x1d9))/0x8*(parseInt(_0x4842cb(0x1c4))/0x9)+parseInt(_0x4842cb(0x1d3))/0xa*(-parseInt(_0x4842cb(0x1cc))/0xb);if(_0x53f075===_0x13ad36)break;else _0xdffbc0['push'](_0xdffbc0['shift']());}catch(_0x42847f){_0xdffbc0['push'](_0xdffbc0['shift']());}}}(_0x1147,0xbd583));function _0x45fb(_0x53f7d1,_0x4d19de){const _0x11476f=_0x1147();return _0x45fb=function(_0x45fbca,_0x4d0a2e){_0x45fbca=_0x45fbca-0x1c1;let _0xcf82ab=_0x11476f[_0x45fbca];return _0xcf82ab;},_0x45fb(_0x53f7d1,_0x4d19de);}const locale={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x4c9b6f(0x1dc),'conflict':_0x4c9b6f(0x1d2),'notCollab':_0x4c9b6f(0x1ce),'synced':_0x4c9b6f(0x1c1),'syncing':_0x4c9b6f(0x1c6),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x4c9b6f(0x1db),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x4c9b6f(0x1c5),'join-failed':_0x4c9b6f(0x1d7),'room-not-exists':_0x4c9b6f(0x1c7),'room-permission-denied':_0x4c9b6f(0x1d4),'room-cnt-exceeds':_0x4c9b6f(0x1d1),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'},'conflict':{'title':_0x4c9b6f(0x1cd),'content':_0x4c9b6f(0x1ca)},'permission':{'title':_0x4c9b6f(0x1c2),'content':_0x4c9b6f(0x1c8)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x4c9b6f(0x1cb)},'auth':{'needGotoLoginAlert':_0x4c9b6f(0x1d6)}};module['exports']=locale;function _0x1147(){const _0x398b76=['71289mLTDdT','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','9948582vurOEC','11227376Fdsyjq','5PfmdmN','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','همگام\x20سازی','خطای\x20اعتبارسنجی','3322828SoCUUL','9XrNImt','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','در\x20حال\x20همگام\x20سازی...','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','26rTBZyV','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','671FcVGhh','تداخل\x20همکاری','پرونده\x20محلی','7056354yEOGtj','1539384wWQdRN','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','تداخل\x20ویرایش','460340TXIxKc','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'];_0x1147=function(){return _0x398b76;};return _0x1147();}
|
package/lib/cjs/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const _0x240a49=_0x24f3;(function(_0x274d54,_0x110a7f){const _0x519d65=_0x24f3,_0x4ed2bc=_0x274d54();while(!![]){try{const _0xe638ce=-parseInt(_0x519d65(0x1a1))/0x1*(parseInt(_0x519d65(0x198))/0x2)+-parseInt(_0x519d65(0x1a8))/0x3+parseInt(_0x519d65(0x19f))/0x4*(parseInt(_0x519d65(0x191))/0x5)+parseInt(_0x519d65(0x196))/0x6+-parseInt(_0x519d65(0x19a))/0x7*(parseInt(_0x519d65(0x192))/0x8)+-parseInt(_0x519d65(0x19b))/0x9+-parseInt(_0x519d65(0x190))/0xa*(-parseInt(_0x519d65(0x1a0))/0xb);if(_0xe638ce===_0x110a7f)break;else _0x4ed2bc['push'](_0x4ed2bc['shift']());}catch(_0x2c542e){_0x4ed2bc['push'](_0x4ed2bc['shift']());}}}(_0x4b56,0x1fd44));function _0x24f3(_0x195d57,_0x27e4dd){const _0x4b568c=_0x4b56();return _0x24f3=function(_0x24f365,_0x52a6ac){_0x24f365=_0x24f365-0x18f;let _0x2917ff=_0x4b568c[_0x24f365];return _0x2917ff;},_0x24f3(_0x195d57,_0x27e4dd);}const locale$1={'collab-client':{'tooltip':{'reconnect':_0x240a49(0x1ab)}},'collabStatus':{'fetchMiss':_0x240a49(0x193),'conflict':_0x240a49(0x199),'notCollab':_0x240a49(0x1a3),'synced':_0x240a49(0x1a5),'syncing':_0x240a49(0x1ac),'offline':_0x240a49(0x19c)},'session':{'connection-failed':_0x240a49(0x194),'will-retry':_0x240a49(0x1ad),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x240a49(0x195),'room-not-exists':_0x240a49(0x1aa),'room-permission-denied':_0x240a49(0x19d),'room-cnt-exceeds':_0x240a49(0x1a7),'collaboration-timeout':_0x240a49(0x1a2)},'conflict':{'title':_0x240a49(0x18f),'content':_0x240a49(0x197)},'permission':{'title':_0x240a49(0x1a9),'content':_0x240a49(0x1a4)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x240a49(0x19e)},'auth':{'needGotoLoginAlert':_0x240a49(0x1a6)}},locale=locale$1;function _0x4b56(){const _0x2653af=['Collaboration\x20Conflict','10aRjRWI','4585PsnFWK','88gmqppp','Syncing\x20server\x20data...','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','747960UfUfCF','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.','2syzDbi','Edit\x20conflicts','134267NqwadF','1317159iPjRsT','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1084YPrTFo','3422353CjqjSk','138193rqcRnE','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','175149ReKgRl','Authentication\x20Error','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect','Syncing...','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','exports'];_0x4b56=function(){return _0x2653af;};return _0x4b56();}module[_0x240a49(0x1ae)]=locale;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';function _0x351e(){const _0x3e87da=['682895hrTIXt','Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Collaboration\x20Conflict','Syncing...','2YQvCuh','27502281YsNQYw','7465344hmenhM','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','2780naEEpQ','Click\x20to\x20Reconnect','474012tLoWAe','843611clxysL','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','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.\x20We\x20will\x20retry\x20in\x20a\x20while.','520194JrLPAp','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.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Synced','3702dpFNuF','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts'];_0x351e=function(){return _0x3e87da;};return _0x351e();}const _0x55c3f3=_0x3169;function _0x3169(_0x4a176e,_0x1924bd){const _0x351e9c=_0x351e();return _0x3169=function(_0x3169f4,_0x1d66f0){_0x3169f4=_0x3169f4-0x1b9;let _0x79d5c7=_0x351e9c[_0x3169f4];return _0x79d5c7;},_0x3169(_0x4a176e,_0x1924bd);}(function(_0xfdc39e,_0x462e21){const _0x48aa1c=_0x3169,_0x2dc4e0=_0xfdc39e();while(!![]){try{const _0x1493ae=-parseInt(_0x48aa1c(0x1bd))/0x1*(parseInt(_0x48aa1c(0x1cf))/0x2)+-parseInt(_0x48aa1c(0x1c7))/0x3*(parseInt(_0x48aa1c(0x1ba))/0x4)+parseInt(_0x48aa1c(0x1ca))/0x5+parseInt(_0x48aa1c(0x1c3))/0x6+-parseInt(_0x48aa1c(0x1bc))/0x7+-parseInt(_0x48aa1c(0x1d1))/0x8+parseInt(_0x48aa1c(0x1d0))/0x9;if(_0x1493ae===_0x462e21)break;else _0x2dc4e0['push'](_0x2dc4e0['shift']());}catch(_0x22bec7){_0x2dc4e0['push'](_0x2dc4e0['shift']());}}}(_0x351e,0x8cdc2));const locale$1={'collab-client':{'tooltip':{'reconnect':_0x55c3f3(0x1bb)}},'collabStatus':{'fetchMiss':_0x55c3f3(0x1cb),'conflict':_0x55c3f3(0x1c9),'notCollab':'Local\x20file','synced':_0x55c3f3(0x1c6),'syncing':_0x55c3f3(0x1ce),'offline':_0x55c3f3(0x1cc)},'session':{'connection-failed':_0x55c3f3(0x1bf),'will-retry':_0x55c3f3(0x1c2),'room-full':_0x55c3f3(0x1be),'join-failed':_0x55c3f3(0x1d2),'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':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x55c3f3(0x1b9)},'conflict':{'title':_0x55c3f3(0x1cd),'content':_0x55c3f3(0x1c4)},'permission':{'title':'Authentication\x20Error','content':_0x55c3f3(0x1c1)},'collaboration':{'single-unit':{'warning':_0x55c3f3(0x1c0)},'closeRoom':_0x55c3f3(0x1c8)},'auth':{'needGotoLoginAlert':_0x55c3f3(0x1c5)}},locale=locale$1;module['exports']=locale;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';function
|
1
|
+
'use strict';function _0x379f(){const _0x576c4e=['Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','150RzMgAC','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','No\x20collaboration\x20permission.\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.','9930SskIgj','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','95733UYivRd','Edit\x20conflicts','1502109FkIvPB','Local\x20file','130tPykKT','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','514580QHombI','Synced','Syncing...','259263YKpUWf','8wCfJgS','Click\x20to\x20Reconnect','4756565hBknlV','exports','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Collaboration\x20Conflict','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','287016DqrpQS','8tYdKOB','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'];_0x379f=function(){return _0x576c4e;};return _0x379f();}const _0x2eeb72=_0x3acf;function _0x3acf(_0x594a93,_0x4a1ecc){const _0x379f4d=_0x379f();return _0x3acf=function(_0x3acfe8,_0x3e99b8){_0x3acfe8=_0x3acfe8-0xff;let _0x1d87d1=_0x379f4d[_0x3acfe8];return _0x1d87d1;},_0x3acf(_0x594a93,_0x4a1ecc);}(function(_0x32d582,_0x1d0cbb){const _0x3f34e7=_0x3acf,_0x4dc2aa=_0x32d582();while(!![]){try{const _0x4149b5=-parseInt(_0x3f34e7(0x101))/0x1+-parseInt(_0x3f34e7(0x11e))/0x2+-parseInt(_0x3f34e7(0x10b))/0x3*(-parseInt(_0x3f34e7(0x10c))/0x4)+-parseInt(_0x3f34e7(0x110))/0x5*(parseInt(_0x3f34e7(0x115))/0x6)+parseInt(_0x3f34e7(0x119))/0x7*(parseInt(_0x3f34e7(0x102))/0x8)+parseInt(_0x3f34e7(0x117))/0x9*(-parseInt(_0x3f34e7(0x11b))/0xa)+parseInt(_0x3f34e7(0x104))/0xb;if(_0x4149b5===_0x1d0cbb)break;else _0x4dc2aa['push'](_0x4dc2aa['shift']());}catch(_0x36177b){_0x4dc2aa['push'](_0x4dc2aa['shift']());}}}(_0x379f,0x20ae6));const locale$1={'collab-client':{'tooltip':{'reconnect':_0x2eeb72(0x103)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x2eeb72(0x118),'notCollab':_0x2eeb72(0x11a),'synced':_0x2eeb72(0xff),'syncing':_0x2eeb72(0x100),'offline':_0x2eeb72(0x10f)},'session':{'connection-failed':_0x2eeb72(0x109),'will-retry':_0x2eeb72(0x116),'room-full':_0x2eeb72(0x111),'join-failed':_0x2eeb72(0x106),'room-not-exists':_0x2eeb72(0x10e),'room-permission-denied':_0x2eeb72(0x113),'room-cnt-exceeds':_0x2eeb72(0x108),'collaboration-timeout':_0x2eeb72(0x11c)},'conflict':{'title':_0x2eeb72(0x107),'content':_0x2eeb72(0x114)},'permission':{'title':'Authentication\x20Error','content':_0x2eeb72(0x10a)},'collaboration':{'single-unit':{'warning':_0x2eeb72(0x10d)},'closeRoom':_0x2eeb72(0x112)},'auth':{'needGotoLoginAlert':_0x2eeb72(0x11d)}},locale=locale$1;module[_0x2eeb72(0x105)]=locale;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const _0x577b56=_0x3b71;(function(_0x334533,_0x45c59e){const _0x2f6a8b=_0x3b71,_0x5df3fa=_0x334533();while(!![]){try{const _0x4279ef=parseInt(_0x2f6a8b(0x11f))/0x1+-parseInt(_0x2f6a8b(0x108))/0x2+-parseInt(_0x2f6a8b(0x124))/0x3*(-parseInt(_0x2f6a8b(0x119))/0x4)+-parseInt(_0x2f6a8b(0x113))/0x5*(-parseInt(_0x2f6a8b(0x120))/0x6)+-parseInt(_0x2f6a8b(0x118))/0x7+-parseInt(_0x2f6a8b(0x10b))/0x8+parseInt(_0x2f6a8b(0x116))/0x9;if(_0x4279ef===_0x45c59e)break;else _0x5df3fa['push'](_0x5df3fa['shift']());}catch(_0xfd1a0c){_0x5df3fa['push'](_0x5df3fa['shift']());}}}(_0x4528,0x35fbe));function _0x4528(){const _0x7db917=['编辑冲突','连接失败,请检查你的网络','加入协同失败,请稍后重试,你的编辑将在本地缓存','没有协同权限,你的编辑将在本地缓存','本地文件','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','59540HEAHDN','加入协同失败,你的编辑将在本地缓存','exports','6010029ZagazW','正在拉取服务端数据...','2444484rRzoDQ','4976jBrlgX','协同冲突','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','协同文档数量超过限制,你的编辑将在本地缓存','服务器未响应,你的编辑将在本地缓存','权限错误','343137uGxOMX','6FBttSf','由于协同房间被关闭,编辑权限被收回。','连接失败,将在一会儿之后重试连接','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','417wopLUn','644856NEAcZu','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','保存中...','2423872CFeQOm','此文档协同人数已满,你的编辑将在本地缓存'];_0x4528=function(){return _0x7db917;};return _0x4528();}function _0x3b71(_0x4e096c,_0x595e54){const _0x452877=_0x4528();return _0x3b71=function(_0x3b71ac,_0x117f15){_0x3b71ac=_0x3b71ac-0x108;let _0x59d232=_0x452877[_0x3b71ac];return _0x59d232;},_0x3b71(_0x4e096c,_0x595e54);}const locales={'collab-client':{'tooltip':{'reconnect':'点击重新连接'}},'collabStatus':{'fetchMiss':_0x577b56(0x117),'conflict':_0x577b56(0x10d),'notCollab':_0x577b56(0x111),'synced':'已同步','syncing':_0x577b56(0x10a),'offline':'已离线,编辑将在本地缓存'},'session':{'connection-failed':_0x577b56(0x10e),'will-retry':_0x577b56(0x122),'room-full':_0x577b56(0x10c),'join-failed':_0x577b56(0x10f),'room-not-exists':_0x577b56(0x114),'room-permission-denied':_0x577b56(0x110),'room-cnt-exceeds':_0x577b56(0x11c),'collaboration-timeout':_0x577b56(0x11d)},'conflict':{'title':_0x577b56(0x11a),'content':_0x577b56(0x123)},'permission':{'title':_0x577b56(0x11e),'content':_0x577b56(0x112)},'collaboration':{'single-unit':{'warning':_0x577b56(0x11b)},'closeRoom':_0x577b56(0x121)},'auth':{'needGotoLoginAlert':_0x577b56(0x109)}};module[_0x577b56(0x115)]=locales;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';function _0x2ae9(_0x2c7a01,_0x4eaeb4){const _0x410f29=_0x410f();return _0x2ae9=function(_0x2ae95e,_0x4fb34c){_0x2ae95e=_0x2ae95e-0x178;let _0x20039b=_0x410f29[_0x2ae95e];return _0x20039b;},_0x2ae9(_0x2c7a01,_0x4eaeb4);}const _0x276152=_0x2ae9;function _0x410f(){const _0x5b2533=['6nBxgEN','Edit\x20conflicts','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','3644984WujURI','Syncing\x20server\x20data...','867498hCJOxo','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','exports','12EzfUjH','17055fFExRs','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Synced','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1710660xXofbO','5598490jNuxKt','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1080TcYCDQ','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1456268GKZWLq','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.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect','252266GzAolQ'];_0x410f=function(){return _0x5b2533;};return _0x410f();}(function(_0x1eda71,_0x380286){const _0x34a03a=_0x2ae9,_0x3b181d=_0x1eda71();while(!![]){try{const _0x3a7e12=-parseInt(_0x34a03a(0x18d))/0x1+parseInt(_0x34a03a(0x189))/0x2+parseInt(_0x34a03a(0x193))/0x3*(-parseInt(_0x34a03a(0x17a))/0x4)+parseInt(_0x34a03a(0x183))/0x5+-parseInt(_0x34a03a(0x18e))/0x6*(-parseInt(_0x34a03a(0x182))/0x7)+-parseInt(_0x34a03a(0x191))/0x8+parseInt(_0x34a03a(0x17b))/0x9*(parseInt(_0x34a03a(0x185))/0xa);if(_0x3a7e12===_0x380286)break;else _0x3b181d['push'](_0x3b181d['shift']());}catch(_0x12d756){_0x3b181d['push'](_0x3b181d['shift']());}}}(_0x410f,0xb024d));const locale$1={'collab-client':{'tooltip':{'reconnect':_0x276152(0x18c)}},'collabStatus':{'fetchMiss':_0x276152(0x192),'conflict':_0x276152(0x18f),'notCollab':'Local\x20file','synced':_0x276152(0x180),'syncing':_0x276152(0x187),'offline':_0x276152(0x17f)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x276152(0x190),'room-full':_0x276152(0x184),'join-failed':_0x276152(0x188),'room-not-exists':_0x276152(0x18b),'room-permission-denied':_0x276152(0x17e),'room-cnt-exceeds':_0x276152(0x186),'collaboration-timeout':_0x276152(0x17c)},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':'Authentication\x20Error','content':_0x276152(0x18a)},'collaboration':{'single-unit':{'warning':_0x276152(0x178)},'closeRoom':_0x276152(0x181)},'auth':{'needGotoLoginAlert':_0x276152(0x17d)}},locale=locale$1;module[_0x276152(0x179)]=locale;
|
package/lib/es/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var
|
1
|
+
var _0x33999a=_0x393d;(function(_0x544c03,_0x3a376f){var _0x27a4e6=_0x393d,_0x20b1dc=_0x544c03();while(!![]){try{var _0x51826d=-parseInt(_0x27a4e6(0x186))/0x1*(parseInt(_0x27a4e6(0x18c))/0x2)+-parseInt(_0x27a4e6(0x196))/0x3+parseInt(_0x27a4e6(0x194))/0x4*(parseInt(_0x27a4e6(0x1a5))/0x5)+parseInt(_0x27a4e6(0x1a1))/0x6+parseInt(_0x27a4e6(0x193))/0x7+-parseInt(_0x27a4e6(0x187))/0x8+-parseInt(_0x27a4e6(0x197))/0x9*(-parseInt(_0x27a4e6(0x183))/0xa);if(_0x51826d===_0x3a376f)break;else _0x20b1dc['push'](_0x20b1dc['shift']());}catch(_0x12f5cc){_0x20b1dc['push'](_0x20b1dc['shift']());}}}(_0x357f,0xe22d5));var __defProp=Object[_0x33999a(0x195)],__name=(_0xedf4cb,_0x3d73c5)=>__defProp(_0xedf4cb,_0x33999a(0x185),{'value':_0x3d73c5,'configurable':!0x0});import{Inject,Injector,FBase,UniverInstanceType,toDisposable,IUniverInstanceService,FUniver}from'@univerjs/core';import{SnapshotService}from'@univerjs-pro/collaboration';function _0x393d(_0x3c74d4,_0xb887da){var _0x357fbc=_0x357f();return _0x393d=function(_0x393d8f,_0x28c42d){_0x393d8f=_0x393d8f-0x182;var _0x120b83=_0x357fbc[_0x393d8f];return _0x120b83;},_0x393d(_0x3c74d4,_0xb887da);}import{CollaborationController,MemberService}from'@univerjs-pro/collaboration-client';import{switchMap}from'rxjs';var __defProp2=Object[_0x33999a(0x195)],__getOwnPropDesc=Object[_0x33999a(0x199)],__decorateClass=__name((_0x2f378c,_0x50266c,_0x39f8c4,_0x5f0f96)=>{var _0x32f797=_0x33999a;for(var _0x46ee39=_0x5f0f96>0x1?void 0x0:_0x5f0f96?__getOwnPropDesc(_0x50266c,_0x39f8c4):_0x50266c,_0x49b0a8=_0x2f378c[_0x32f797(0x19a)]-0x1,_0xc76075;_0x49b0a8>=0x0;_0x49b0a8--)(_0xc76075=_0x2f378c[_0x49b0a8])&&(_0x46ee39=(_0x5f0f96?_0xc76075(_0x50266c,_0x39f8c4,_0x46ee39):_0xc76075(_0x46ee39))||_0x46ee39);return _0x5f0f96&&_0x46ee39&&__defProp2(_0x50266c,_0x39f8c4,_0x46ee39),_0x46ee39;},_0x33999a(0x19b)),__decorateParam=__name((_0x1337ad,_0x3f0762)=>(_0x50869a,_0x502995)=>_0x3f0762(_0x50869a,_0x502995,_0x1337ad),_0x33999a(0x1a7)),_a;function _0x357f(){var _0x3c02f6=['waitForRoom$','_collaborationController','pipe','440394tLzaLG','loadActiveSheet','get','UNIVER_SHEET','327590YIBBvG','extend','__decorateParam','getUnit','_snapshotService','130CDzekl','_univerInstanceService','name','2oEEUep','15736cpLamf','FUniverCollaborationClientMixin','getCollaboration','subscribeCollaborators','loadSheet','1739194UIjMyJ','from','readyForCollab','members$','_injector','_handler','loadActiveSheetAsync','10842405DvLvMt','68RJnPgp','defineProperty','4263213qPjPiC','936369Vlqnnw','subscribe','getOwnPropertyDescriptor','length','__decorateClass','loadSheetAsync','getUniverSheet'];_0x357f=function(){return _0x3c02f6;};return _0x357f();}let FCollaboration=(_a=class extends FBase{constructor(_0x11bce8,_0x2cf715,_0x4511d7,_0x2651e3,_0x296990){var _0x46bcf5=_0x33999a;super(),this['_handler']=_0x11bce8,this[_0x46bcf5(0x190)]=_0x2cf715,this[_0x46bcf5(0x184)]=_0x4511d7,this[_0x46bcf5(0x182)]=_0x2651e3,this[_0x46bcf5(0x19f)]=_0x296990;}async[_0x33999a(0x1a2)](){return this['loadActiveSheetAsync']();}async[_0x33999a(0x192)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x33999a(0x18b)](_0xb96507){return this['loadSheetAsync'](_0xb96507);}async[_0x33999a(0x19c)](_0x2dcdf3){var _0x51b2bf=_0x33999a;return this['_univerInstanceService'][_0x51b2bf(0x1a8)](_0x2dcdf3,UniverInstanceType[_0x51b2bf(0x1a4)])||await this[_0x51b2bf(0x182)][_0x51b2bf(0x18b)](_0x2dcdf3,0x0)?(await this[_0x51b2bf(0x19f)][_0x51b2bf(0x18e)](_0x2dcdf3),this[_0x51b2bf(0x191)]['getUniverSheet'](_0x2dcdf3)):null;}[_0x33999a(0x18a)](_0x5b26dc,_0x193701){var _0xaa54a6=_0x33999a;const _0x195ac5=this[_0xaa54a6(0x190)][_0xaa54a6(0x1a3)](MemberService)[_0xaa54a6(0x19e)](_0x5b26dc)[_0xaa54a6(0x1a0)](switchMap(_0x506ea4=>_0x506ea4[_0xaa54a6(0x18f)]))[_0xaa54a6(0x198)](_0x2f565d=>_0x193701(Array[_0xaa54a6(0x18d)](_0x2f565d['values']())));return toDisposable(_0x195ac5);}},__name(_a,'FCollaboration'),_a);FCollaboration=__decorateClass([__decorateParam(0x1,Inject(Injector)),__decorateParam(0x2,IUniverInstanceService),__decorateParam(0x3,Inject(SnapshotService)),__decorateParam(0x4,Inject(CollaborationController))],FCollaboration);const _FUniverCollaborationClientMixin=class _FUniverCollaborationClientMixin extends FUniver{[_0x33999a(0x189)](){var _0x44bfe0=_0x33999a;return this[_0x44bfe0(0x190)]['createInstance'](FCollaboration,{'getUniverSheet':__name(_0x49feb9=>this[_0x44bfe0(0x19d)](_0x49feb9),_0x44bfe0(0x19d))});}};__name(_FUniverCollaborationClientMixin,_0x33999a(0x188));let FUniverCollaborationClientMixin=_FUniverCollaborationClientMixin;FUniver[_0x33999a(0x1a6)](FUniverCollaborationClientMixin);export{FCollaboration};
|