@univerjs-pro/collaboration-client 0.4.1 → 0.4.2-nightly.202410301606
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/es/index.js +1 -1
- package/lib/locale/en-US.js +1 -0
- package/lib/locale/fa-IR.js +1 -0
- package/lib/locale/ru-RU.js +1 -0
- package/lib/locale/vi-VN.js +1 -0
- package/lib/locale/zh-CN.js +1 -0
- package/lib/locale/zh-TW.js +1 -0
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +5 -3
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +32 -1
- package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +2 -0
- package/lib/types/index.d.ts +2 -0
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/auth-server/util.d.ts +1 -0
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +4 -4
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +1 -1
- package/lib/types/services/member/member.service.d.ts +39 -0
- package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +12 -0
- package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +1 -1
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -0
- package/lib/umd/locale/fa-IR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -0
- package/lib/umd/locale/vi-VN.js +1 -0
- package/lib/umd/locale/zh-CN.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -0
- package/package.json +35 -31
- package/lib/cjs/index.js +0 -1
- package/lib/locale/en-US.json +0 -38
- package/lib/locale/fa-IR.json +0 -38
- package/lib/locale/ru-RU.json +0 -38
- package/lib/locale/vi-VN.json +0 -38
- package/lib/locale/zh-CN.json +0 -38
- package/lib/locale/zh-TW.json +0 -38
@@ -0,0 +1 @@
|
|
1
|
+
function _0x5008(_0x21a703,_0x587939){var _0x45534c=_0x4553();return _0x5008=function(_0x5008d9,_0xdc140f){_0x5008d9=_0x5008d9-0x199;var _0x41e931=_0x45534c[_0x5008d9];return _0x41e931;},_0x5008(_0x21a703,_0x587939);}(function(_0x4296a2,_0x4043c9){var _0x39dee6=_0x5008,_0x40cf55=_0x4296a2();while(!![]){try{var _0x5a461a=-parseInt(_0x39dee6(0x1a5))/0x1+-parseInt(_0x39dee6(0x1b4))/0x2*(-parseInt(_0x39dee6(0x1a1))/0x3)+-parseInt(_0x39dee6(0x19b))/0x4+parseInt(_0x39dee6(0x1b6))/0x5*(-parseInt(_0x39dee6(0x1a2))/0x6)+-parseInt(_0x39dee6(0x19d))/0x7+parseInt(_0x39dee6(0x1aa))/0x8+-parseInt(_0x39dee6(0x1ad))/0x9*(-parseInt(_0x39dee6(0x1b1))/0xa);if(_0x5a461a===_0x4043c9)break;else _0x40cf55['push'](_0x40cf55['shift']());}catch(_0x2a8c0a){_0x40cf55['push'](_0x40cf55['shift']());}}}(_0x4553,0x245e5),function(_0x4c53bc,_0x26925b){var _0x15f704=_0x5008;typeof exports==_0x15f704(0x1a8)&&typeof module<'u'?module[_0x15f704(0x1ae)]=_0x26925b():typeof define==_0x15f704(0x1b3)&&define[_0x15f704(0x19a)]?define(_0x26925b):(_0x4c53bc=typeof globalThis<'u'?globalThis:_0x4c53bc||self,_0x4c53bc['UniverCollaborationClientEnUS']=_0x26925b());}(this,function(){'use strict';var _0x550ada=_0x5008;return{'collab-client':{'tooltip':{'reconnect':_0x550ada(0x19f)}},'collabStatus':{'fetchMiss':_0x550ada(0x1a7),'conflict':_0x550ada(0x1a4),'notCollab':_0x550ada(0x1a0),'synced':'Synced','syncing':_0x550ada(0x19e),'offline':_0x550ada(0x1a9)},'session':{'connection-failed':_0x550ada(0x1b5),'will-retry':_0x550ada(0x1af),'room-full':_0x550ada(0x1ac),'collaboration-timeout':_0x550ada(0x19c)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x550ada(0x199)},'permission':{'title':_0x550ada(0x1ab),'content':_0x550ada(0x1a3)},'collaboration':{'single-unit':{'warning':_0x550ada(0x1b2)},'closeRoom':_0x550ada(0x1b0)},'auth':{'needGotoLoginAlert':_0x550ada(0x1a6)}};}));function _0x4553(){var _0x2acaec=['Edit\x20conflicts','290130yJTaQG','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','object','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1986904ZCOkDQ','Authentication\x20Error','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','34659cobQZL','exports','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1390vGRpGF','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','function','4hkyymP','Connection\x20failed,\x20please\x20check\x20your\x20network.','5EIWUOB','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.','amd','401916PjTRCQ','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1181061WxoBYw','Syncing...','Click\x20to\x20Reconnect','Local\x20file','121833DmtHFM','939462stbjCK','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0x4553=function(){return _0x2acaec;};return _0x4553();}
|
@@ -0,0 +1 @@
|
|
1
|
+
function _0x113d(_0x1b2237,_0x53f911){var _0x54f2b2=_0x54f2();return _0x113d=function(_0x113de4,_0x3c2d97){_0x113de4=_0x113de4-0x1c1;var _0x31ddd5=_0x54f2b2[_0x113de4];return _0x31ddd5;},_0x113d(_0x1b2237,_0x53f911);}(function(_0x20e495,_0x158316){var _0x1ea16f=_0x113d,_0x4a9a13=_0x20e495();while(!![]){try{var _0x295990=-parseInt(_0x1ea16f(0x1c7))/0x1+-parseInt(_0x1ea16f(0x1dd))/0x2*(parseInt(_0x1ea16f(0x1d7))/0x3)+parseInt(_0x1ea16f(0x1da))/0x4+-parseInt(_0x1ea16f(0x1dc))/0x5*(-parseInt(_0x1ea16f(0x1d5))/0x6)+-parseInt(_0x1ea16f(0x1cb))/0x7*(-parseInt(_0x1ea16f(0x1cc))/0x8)+parseInt(_0x1ea16f(0x1d2))/0x9+parseInt(_0x1ea16f(0x1c9))/0xa*(-parseInt(_0x1ea16f(0x1c4))/0xb);if(_0x295990===_0x158316)break;else _0x4a9a13['push'](_0x4a9a13['shift']());}catch(_0x342ba8){_0x4a9a13['push'](_0x4a9a13['shift']());}}}(_0x54f2,0x27b22),function(_0x213b39,_0x5401dc){var _0x413987=_0x113d;typeof exports=='object'&&typeof module<'u'?module[_0x413987(0x1c8)]=_0x5401dc():typeof define=='function'&&define['amd']?define(_0x5401dc):(_0x213b39=typeof globalThis<'u'?globalThis:_0x213b39||self,_0x213b39[_0x413987(0x1c1)]=_0x5401dc());}(this,function(){'use strict';var _0x40f13a=_0x113d;return{'collab-client':{'tooltip':{'reconnect':_0x40f13a(0x1d1)}},'collabStatus':{'fetchMiss':_0x40f13a(0x1c2),'conflict':'تداخل\x20ویرایش','notCollab':_0x40f13a(0x1d9),'synced':_0x40f13a(0x1ca),'syncing':_0x40f13a(0x1d6),'offline':_0x40f13a(0x1c6)},'session':{'connection-failed':_0x40f13a(0x1d4),'will-retry':_0x40f13a(0x1cf),'room-full':_0x40f13a(0x1db),'collaboration-timeout':_0x40f13a(0x1c3)},'conflict':{'title':_0x40f13a(0x1d0),'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بین\x20خواهند\x20رفت.'},'permission':{'title':_0x40f13a(0x1d3),'content':_0x40f13a(0x1cd)},'collaboration':{'single-unit':{'warning':_0x40f13a(0x1d8)},'closeRoom':_0x40f13a(0x1c5)},'auth':{'needGotoLoginAlert':_0x40f13a(0x1ce)}};}));function _0x54f2(){var _0x2f1e5b=['1297307TFHPsP','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','312870czDPSl','exports','10FPToBu','همگام\x20سازی','1065435RYVIJa','16ZBMPxR','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20همکاری','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','349263OhDVPn','خطای\x20اعتبارسنجی','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','90AzaPBu','در\x20حال\x20همگام\x20سازی...','3ketotf','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','پرونده\x20محلی','757740RHKpdt','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','60305zTgDdP','240332khblBF','UniverCollaborationClientFaIR','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'];_0x54f2=function(){return _0x2f1e5b;};return _0x54f2();}
|
@@ -0,0 +1 @@
|
|
1
|
+
function _0x2575(_0x57dabb,_0x1c6143){var _0x339f7e=_0x339f();return _0x2575=function(_0x257560,_0x40470b){_0x257560=_0x257560-0xcd;var _0x5a79d6=_0x339f7e[_0x257560];return _0x5a79d6;},_0x2575(_0x57dabb,_0x1c6143);}function _0x339f(){var _0x826ae9=['UniverCollaborationClientRuRU','292gwFvRS','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.','object','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','Synced','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','3142917AxRoDQ','7782NRcOlA','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','15192TYtbqr','Syncing...','2812672LgePgL','30767870gimLau','721912bpPtTo','5856648ezfReL','Click\x20to\x20Reconnect','function','365ruXOxC','amd','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','24kkBwIi','Authentication\x20Error','Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'];_0x339f=function(){return _0x826ae9;};return _0x339f();}(function(_0x1ba2e1,_0x5077fc){var _0x276c02=_0x2575,_0x5eefda=_0x1ba2e1();while(!![]){try{var _0x454be2=-parseInt(_0x276c02(0xd9))/0x1+parseInt(_0x276c02(0xe5))/0x2*(-parseInt(_0x276c02(0xd5))/0x3)+parseInt(_0x276c02(0xd7))/0x4+parseInt(_0x276c02(0xdd))/0x5*(parseInt(_0x276c02(0xd3))/0x6)+-parseInt(_0x276c02(0xda))/0x7+parseInt(_0x276c02(0xe0))/0x8*(-parseInt(_0x276c02(0xd2))/0x9)+parseInt(_0x276c02(0xd8))/0xa;if(_0x454be2===_0x5077fc)break;else _0x5eefda['push'](_0x5eefda['shift']());}catch(_0x14ce6e){_0x5eefda['push'](_0x5eefda['shift']());}}}(_0x339f,0x812b5),function(_0x2bbd15,_0x39f589){var _0x1b94fe=_0x2575;typeof exports==_0x1b94fe(0xe8)&&typeof module<'u'?module['exports']=_0x39f589():typeof define==_0x1b94fe(0xdc)&&define[_0x1b94fe(0xde)]?define(_0x39f589):(_0x2bbd15=typeof globalThis<'u'?globalThis:_0x2bbd15||self,_0x2bbd15[_0x1b94fe(0xe4)]=_0x39f589());}(this,function(){'use strict';var _0x4a4240=_0x2575;return{'collab-client':{'tooltip':{'reconnect':_0x4a4240(0xdb)}},'collabStatus':{'fetchMiss':_0x4a4240(0xe2),'conflict':_0x4a4240(0xcf),'notCollab':_0x4a4240(0xe6),'synced':_0x4a4240(0xd0),'syncing':_0x4a4240(0xd6),'offline':_0x4a4240(0xe3)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x4a4240(0xd4),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x4a4240(0xcd)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x4a4240(0xe7)},'permission':{'title':_0x4a4240(0xe1),'content':_0x4a4240(0xd1)},'collaboration':{'single-unit':{'warning':_0x4a4240(0xdf)},'closeRoom':_0x4a4240(0xce)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};}));
|
@@ -0,0 +1 @@
|
|
1
|
+
function _0x24b7(_0x34ab07,_0x69a7d3){var _0x5e2af5=_0x5e2a();return _0x24b7=function(_0x24b70a,_0x4130dd){_0x24b70a=_0x24b70a-0x9a;var _0x548328=_0x5e2af5[_0x24b70a];return _0x548328;},_0x24b7(_0x34ab07,_0x69a7d3);}function _0x5e2a(){var _0x2fce58=['87215GKDzPt','822fFgfPi','Click\x20to\x20Reconnect','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1054072bmVTgI','Syncing\x20server\x20data...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Authentication\x20Error','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','function','Connection\x20failed,\x20please\x20check\x20your\x20network.','1111583UcqAmB','Edit\x20conflicts','445092DJKAXY','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','7uxnUbx','Local\x20file','40ZWkncZ','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.','238674sLAOFa','687mqqLOr','10cOIJTn','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1024074mwDYPc'];_0x5e2a=function(){return _0x2fce58;};return _0x5e2a();}(function(_0x4b3de6,_0x4f57d5){var _0x3bf326=_0x24b7,_0x280e35=_0x4b3de6();while(!![]){try{var _0x2fc193=-parseInt(_0x3bf326(0xa9))/0x1*(parseInt(_0x3bf326(0xae))/0x2)+parseInt(_0x3bf326(0xa0))/0x3+-parseInt(_0x3bf326(0xa6))/0x4*(-parseInt(_0x3bf326(0xad))/0x5)+parseInt(_0x3bf326(0xa8))/0x6*(parseInt(_0x3bf326(0xa4))/0x7)+parseInt(_0x3bf326(0xb1))/0x8+-parseInt(_0x3bf326(0xac))/0x9+-parseInt(_0x3bf326(0xaa))/0xa*(-parseInt(_0x3bf326(0x9e))/0xb);if(_0x2fc193===_0x4f57d5)break;else _0x280e35['push'](_0x280e35['shift']());}catch(_0x4f03bf){_0x280e35['push'](_0x280e35['shift']());}}}(_0x5e2a,0x30a4a),function(_0x143f99,_0x298da0){var _0x422b4f=_0x24b7;typeof exports=='object'&&typeof module<'u'?module['exports']=_0x298da0():typeof define==_0x422b4f(0x9c)&&define['amd']?define(_0x298da0):(_0x143f99=typeof globalThis<'u'?globalThis:_0x143f99||self,_0x143f99['UniverCollaborationClientViVN']=_0x298da0());}(this,function(){'use strict';var _0x23a0ad=_0x24b7;return{'collab-client':{'tooltip':{'reconnect':_0x23a0ad(0xaf)}},'collabStatus':{'fetchMiss':_0x23a0ad(0xb2),'conflict':_0x23a0ad(0x9f),'notCollab':_0x23a0ad(0xa5),'synced':'Synced','syncing':_0x23a0ad(0xa2),'offline':_0x23a0ad(0xb0)},'session':{'connection-failed':_0x23a0ad(0x9d),'will-retry':_0x23a0ad(0xab),'room-full':_0x23a0ad(0x9a),'collaboration-timeout':_0x23a0ad(0xa1)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x23a0ad(0xa7)},'permission':{'title':_0x23a0ad(0xb4),'content':_0x23a0ad(0xb3)},'collaboration':{'single-unit':{'warning':_0x23a0ad(0x9b)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x23a0ad(0xa3)}};}));
|
@@ -0,0 +1 @@
|
|
1
|
+
function _0x3438(_0x25feeb,_0x14a9ac){var _0x3a6c42=_0x3a6c();return _0x3438=function(_0x343837,_0x3ace88){_0x343837=_0x343837-0x11e;var _0x4f48f8=_0x3a6c42[_0x343837];return _0x4f48f8;},_0x3438(_0x25feeb,_0x14a9ac);}function _0x3a6c(){var _0x4c9b2c=['UniverCollaborationClientZhCN','186edgrZg','12633290OiDVlU','点击重新连接','连接失败,将在一会儿之后重试连接','协同房间已满,你的编辑将在本地缓存','权限错误','本地文件','3072390SnDmeP','object','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','14216oACpUW','368756SwfpGQ','由于协同房间被关闭,编辑权限被收回。','22oeIzOV','3531813nrhajk','702160mBjBtS','function','4NmiCwr','9fDsEqd','协同冲突','保存中...','exports','已离线,编辑将在本地缓存','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','正在拉取服务端数据...','连接失败,请检查你的网络','amd','283325KjKwQl'];_0x3a6c=function(){return _0x4c9b2c;};return _0x3a6c();}(function(_0x519181,_0x3a2772){var _0x32e735=_0x3438,_0x35c532=_0x519181();while(!![]){try{var _0x1fb98d=-parseInt(_0x32e735(0x138))/0x1+parseInt(_0x32e735(0x11e))/0x2+parseInt(_0x32e735(0x13b))/0x3*(-parseInt(_0x32e735(0x120))/0x4)+parseInt(_0x32e735(0x134))/0x5+parseInt(_0x32e735(0x12d))/0x6*(-parseInt(_0x32e735(0x12b))/0x7)+parseInt(_0x32e735(0x137))/0x8*(-parseInt(_0x32e735(0x121))/0x9)+-parseInt(_0x32e735(0x12e))/0xa*(-parseInt(_0x32e735(0x13a))/0xb);if(_0x1fb98d===_0x3a2772)break;else _0x35c532['push'](_0x35c532['shift']());}catch(_0x8f882a){_0x35c532['push'](_0x35c532['shift']());}}}(_0x3a6c,0xa8617),function(_0x1a6092,_0x4632f3){var _0x4bb877=_0x3438;typeof exports==_0x4bb877(0x135)&&typeof module<'u'?module[_0x4bb877(0x124)]=_0x4632f3():typeof define==_0x4bb877(0x11f)&&define[_0x4bb877(0x12a)]?define(_0x4632f3):(_0x1a6092=typeof globalThis<'u'?globalThis:_0x1a6092||self,_0x1a6092[_0x4bb877(0x12c)]=_0x4632f3());}(this,function(){'use strict';var _0x11f64e=_0x3438;return{'collab-client':{'tooltip':{'reconnect':_0x11f64e(0x12f)}},'collabStatus':{'fetchMiss':_0x11f64e(0x128),'conflict':'编辑冲突','notCollab':_0x11f64e(0x133),'synced':'已同步','syncing':_0x11f64e(0x123),'offline':_0x11f64e(0x125)},'session':{'connection-failed':_0x11f64e(0x129),'will-retry':_0x11f64e(0x130),'room-full':_0x11f64e(0x131),'collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':_0x11f64e(0x122),'content':_0x11f64e(0x126)},'permission':{'title':_0x11f64e(0x132),'content':_0x11f64e(0x127)},'collaboration':{'single-unit':{'warning':_0x11f64e(0x136)},'closeRoom':_0x11f64e(0x139)},'auth':{'needGotoLoginAlert':'你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。'}};}));
|
@@ -0,0 +1 @@
|
|
1
|
+
function _0x3e58(){var _0x3fd10e=['Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','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.','Synced','object','232mWamkg','Edit\x20conflicts','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','256hNRGVj','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','195505kgsUgz','Local\x20file','336106ciOeDp','20925zSSvEm','exports','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.','24729ujbcrk','1860278szfdOF','function','amd','UniverCollaborationClientZhTW','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','125440FjmjvX','3440784NCiTXV','Authentication\x20Error'];_0x3e58=function(){return _0x3fd10e;};return _0x3e58();}function _0x9171(_0x114804,_0xfe2074){var _0x3e586d=_0x3e58();return _0x9171=function(_0x917145,_0x9c9c34){_0x917145=_0x917145-0xef;var _0x543b14=_0x3e586d[_0x917145];return _0x543b14;},_0x9171(_0x114804,_0xfe2074);}(function(_0x4cea64,_0x5deded){var _0x247f71=_0x9171,_0x3b2285=_0x4cea64();while(!![]){try{var _0xaa4c8a=parseInt(_0x247f71(0xfd))/0x1+-parseInt(_0x247f71(0xff))/0x2+-parseInt(_0x247f71(0x104))/0x3*(-parseInt(_0x247f71(0xf8))/0x4)+parseInt(_0x247f71(0xf0))/0x5+-parseInt(_0x247f71(0xf1))/0x6+parseInt(_0x247f71(0x105))/0x7+parseInt(_0x247f71(0xfb))/0x8*(parseInt(_0x247f71(0x100))/0x9);if(_0xaa4c8a===_0x5deded)break;else _0x3b2285['push'](_0x3b2285['shift']());}catch(_0x30f42c){_0x3b2285['push'](_0x3b2285['shift']());}}}(_0x3e58,0x4896c),function(_0x205eab,_0x28054b){var _0x5ccbc8=_0x9171;typeof exports==_0x5ccbc8(0xf7)&&typeof module<'u'?module[_0x5ccbc8(0x101)]=_0x28054b():typeof define==_0x5ccbc8(0x106)&&define[_0x5ccbc8(0x107)]?define(_0x28054b):(_0x205eab=typeof globalThis<'u'?globalThis:_0x205eab||self,_0x205eab[_0x5ccbc8(0x108)]=_0x28054b());}(this,function(){'use strict';var _0x2514c4=_0x9171;return{'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x2514c4(0x102),'conflict':_0x2514c4(0xf9),'notCollab':_0x2514c4(0xfe),'synced':_0x2514c4(0xf6),'syncing':'Syncing...','offline':_0x2514c4(0xef)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x2514c4(0xfc),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x2514c4(0xf5)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x2514c4(0x103)},'permission':{'title':_0x2514c4(0xf2),'content':_0x2514c4(0xf4)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x2514c4(0xfa)},'auth':{'needGotoLoginAlert':_0x2514c4(0xf3)}};}));
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@univerjs-pro/collaboration-client",
|
3
|
-
"version": "0.4.
|
3
|
+
"version": "0.4.2-nightly.202410301606",
|
4
4
|
"private": false,
|
5
5
|
"description": "Univer Collaboration Client",
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"exports": {
|
21
21
|
".": {
|
22
22
|
"import": "./lib/es/index.js",
|
23
|
-
"require": "./lib/cjs/index.js",
|
24
23
|
"types": "./lib/types/index.d.ts"
|
25
24
|
},
|
26
25
|
"./*": {
|
27
26
|
"import": "./lib/es/*",
|
28
|
-
"require": "./lib/cjs/*",
|
29
27
|
"types": "./lib/types/index.d.ts"
|
30
28
|
},
|
31
29
|
"./lib/*": "./lib/*",
|
32
|
-
"./locale/*":
|
30
|
+
"./locale/*": {
|
31
|
+
"import": "./lib/locale/*.js",
|
32
|
+
"types": "./lib/types/locale/*.d.ts"
|
33
|
+
}
|
33
34
|
},
|
34
|
-
"main": "./lib/
|
35
|
-
"module": "./lib/es/index.js",
|
35
|
+
"main": "./lib/es/index.js",
|
36
36
|
"types": "./lib/types/index.d.ts",
|
37
37
|
"publishConfig": {
|
38
38
|
"access": "public"
|
@@ -48,47 +48,50 @@
|
|
48
48
|
"rxjs": ">=7.0.0"
|
49
49
|
},
|
50
50
|
"dependencies": {
|
51
|
-
"@univerjs/icons": "^0.
|
51
|
+
"@univerjs/icons": "^0.2.2",
|
52
52
|
"clsx": "^2.1.1",
|
53
|
+
"crypto-js": "4.2.0",
|
53
54
|
"uuid": "^10.0.0",
|
54
|
-
"@univerjs-pro/collaboration": "0.4.
|
55
|
-
"@univerjs-pro/license": "0.4.
|
56
|
-
"@univerjs/core": "0.4.
|
57
|
-
"@univerjs/
|
58
|
-
"@univerjs/
|
59
|
-
"@univerjs/
|
60
|
-
"@univerjs/
|
61
|
-
"@univerjs/
|
62
|
-
"@univerjs/
|
63
|
-
"@univerjs/
|
64
|
-
"@univerjs/
|
65
|
-
"@univerjs/
|
66
|
-
"@univerjs/sheets": "0.4.
|
67
|
-
"@univerjs/telemetry": "0.4.
|
68
|
-
"@univerjs/
|
69
|
-
"@univerjs/ui": "0.4.
|
55
|
+
"@univerjs-pro/collaboration": "0.4.2-nightly.202410301606",
|
56
|
+
"@univerjs-pro/license": "0.4.2-nightly.202410301606",
|
57
|
+
"@univerjs/core": "0.4.2-nightly.202410301606",
|
58
|
+
"@univerjs/design": "0.4.2-nightly.202410301606",
|
59
|
+
"@univerjs/docs": "0.4.2-nightly.202410301606",
|
60
|
+
"@univerjs/docs-ui": "0.4.2-nightly.202410301606",
|
61
|
+
"@univerjs/engine-formula": "0.4.2-nightly.202410301606",
|
62
|
+
"@univerjs/network": "0.4.2-nightly.202410301606",
|
63
|
+
"@univerjs/drawing": "0.4.2-nightly.202410301606",
|
64
|
+
"@univerjs/engine-render": "0.4.2-nightly.202410301606",
|
65
|
+
"@univerjs/protocol": "0.1.39-alpha.38",
|
66
|
+
"@univerjs/rpc": "0.4.2-nightly.202410301606",
|
67
|
+
"@univerjs/sheets": "0.4.2-nightly.202410301606",
|
68
|
+
"@univerjs/telemetry": "0.4.2-nightly.202410301606",
|
69
|
+
"@univerjs/sheets-ui": "0.4.2-nightly.202410301606",
|
70
|
+
"@univerjs/ui": "0.4.2-nightly.202410301606"
|
70
71
|
},
|
71
72
|
"devDependencies": {
|
72
|
-
"@types/
|
73
|
+
"@types/crypto-js": "^4.2.2",
|
74
|
+
"@types/react": "^18.3.12",
|
73
75
|
"rxjs": "^7.8.1",
|
74
76
|
"typescript": "5.6.3",
|
75
|
-
"vite": "^5.4.
|
76
|
-
"vitest": "^2.1.
|
77
|
-
"@univerjs-infra/shared": "0.4.
|
77
|
+
"vite": "^5.4.10",
|
78
|
+
"vitest": "^2.1.4",
|
79
|
+
"@univerjs-infra/shared": "0.4.2"
|
78
80
|
},
|
79
81
|
"univerSpace": {
|
80
82
|
".": {
|
81
83
|
"import": "./lib/es/index.js",
|
82
|
-
"require": "./lib/cjs/index.js",
|
83
84
|
"types": "./lib/types/index.d.ts"
|
84
85
|
},
|
85
86
|
"./*": {
|
86
87
|
"import": "./lib/es/*",
|
87
|
-
"require": "./lib/cjs/*",
|
88
88
|
"types": "./lib/types/index.d.ts"
|
89
89
|
},
|
90
90
|
"./lib/*": "./lib/*",
|
91
|
-
"./locale/*":
|
91
|
+
"./locale/*": {
|
92
|
+
"import": "./lib/locale/*.js",
|
93
|
+
"types": "./lib/types/locale/*.d.ts"
|
94
|
+
}
|
92
95
|
},
|
93
96
|
"scripts": {
|
94
97
|
"test": "vitest run --pool=threads",
|
@@ -96,5 +99,6 @@
|
|
96
99
|
"coverage": "vitest run --coverage --pool=threads",
|
97
100
|
"lint:types": "tsc --noEmit",
|
98
101
|
"build": "tsc && vite build"
|
99
|
-
}
|
102
|
+
},
|
103
|
+
"module": "./lib/es/index.js"
|
100
104
|
}
|