@univerjs-pro/collaboration-client 0.20.1 → 0.21.0
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +7 -8
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +11 -12
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +1 -1
- package/lib/types/services/auth-server/util.d.ts +1 -0
- package/lib/types/services/data-loader/data-loader.service.d.ts +4 -5
- package/lib/types/services/local-cache/local-cache.service.d.ts +3 -4
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.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 +15 -16
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x513a(_0x4542c2,_0xfe3f4c){_0x4542c2=_0x4542c2-0x178;const _0x1fb463=_0x1fb4();let _0x513a3d=_0x1fb463[_0x4542c2];return _0x513a3d;}const _0xa7f746=_0x513a;function _0x1fb4(){const _0xdb2624=['51vnUoOf','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Collaboration\x20Conflict','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.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','567414xYuYKJ','Syncing...','15JlnOMj','Edit\x20conflicts','43808KanxDQ','Click\x20to\x20Reconnect','737262RTpVCv','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\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.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','9QoqdUO','22131978yxfXvL','2jDbiCd','8630160ckTyNd','2059208TRfXwn','Local\x20file','Authentication\x20Error','1207689zeuHrK','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.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'];_0x1fb4=function(){return _0xdb2624;};return _0x1fb4();}(function(_0x55adb4,_0x401c8d){const _0x3316e0=_0x513a,_0x131e1a=_0x55adb4();while(!![]){try{const _0x49bb88=-parseInt(_0x3316e0(0x191))/0x1*(-parseInt(_0x3316e0(0x18a))/0x2)+-parseInt(_0x3316e0(0x17d))/0x3*(-parseInt(_0x3316e0(0x188))/0x4)+-parseInt(_0x3316e0(0x186))/0x5*(-parseInt(_0x3316e0(0x184))/0x6)+parseInt(_0x3316e0(0x179))/0x7+-parseInt(_0x3316e0(0x193))/0x8*(-parseInt(_0x3316e0(0x18f))/0x9)+parseInt(_0x3316e0(0x192))/0xa+-parseInt(_0x3316e0(0x190))/0xb;if(_0x49bb88===_0x401c8d)break;else _0x131e1a['push'](_0x131e1a['shift']());}catch(_0x33b312){_0x131e1a['push'](_0x131e1a['shift']());}}}(_0x1fb4,0x772a3));const locale$1={'collab-client':{'tooltip':{'reconnect':_0xa7f746(0x189)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0xa7f746(0x187),'notCollab':_0xa7f746(0x194),'synced':_0xa7f746(0x17a),'syncing':_0xa7f746(0x185),'offline':_0xa7f746(0x182)},'session':{'connection-failed':_0xa7f746(0x17e),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0xa7f746(0x183),'join-failed':_0xa7f746(0x180),'room-not-exists':_0xa7f746(0x18d),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0xa7f746(0x18e),'collaboration-timeout':_0xa7f746(0x18b)},'conflict':{'title':_0xa7f746(0x17f),'content':_0xa7f746(0x18c)},'permission':{'title':_0xa7f746(0x178),'content':_0xa7f746(0x17b)},'collaboration':{'single-unit':{'warning':_0xa7f746(0x181)},'closeRoom':_0xa7f746(0x17c)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},locale=locale$1;export{locale as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x58b3(_0x1cdbd3,_0x34b269){_0x1cdbd3=_0x1cdbd3-0x189;const _0x2bf2ef=_0x2bf2();let _0x58b3f8=_0x2bf2ef[_0x1cdbd3];return _0x58b3f8;}const _0x51ba92=_0x58b3;(function(_0x1ace1b,_0x30f26d){const _0x5ad8a6=_0x58b3,_0x32a960=_0x1ace1b();while(!![]){try{const _0x2bd0b9=parseInt(_0x5ad8a6(0x192))/0x1*(parseInt(_0x5ad8a6(0x18b))/0x2)+-parseInt(_0x5ad8a6(0x19e))/0x3+-parseInt(_0x5ad8a6(0x19c))/0x4+parseInt(_0x5ad8a6(0x18e))/0x5+-parseInt(_0x5ad8a6(0x19f))/0x6+-parseInt(_0x5ad8a6(0x195))/0x7*(-parseInt(_0x5ad8a6(0x193))/0x8)+parseInt(_0x5ad8a6(0x196))/0x9*(parseInt(_0x5ad8a6(0x191))/0xa);if(_0x2bd0b9===_0x30f26d)break;else _0x32a960['push'](_0x32a960['shift']());}catch(_0x184e99){_0x32a960['push'](_0x32a960['shift']());}}}(_0x2bf2,0xd0d0b));function _0x2bf2(){const _0x25dce6=['Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2620610TolQqp','Synced','Authentication\x20Error','20GfMRJS','2iKfZtt','43632ELEMIJ','Syncing\x20server\x20data...','1323FhAqsP','1300833zvJhcx','Local\x20file','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Click\x20to\x20Reconnect','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2161384OVIutC','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.','1043694KOZFff','7722054qOewxu','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1186558ZOUvVS','Edit\x20conflicts'];_0x2bf2=function(){return _0x25dce6;};return _0x2bf2();}const locale={'collab-client':{'tooltip':{'reconnect':_0x51ba92(0x19a)}},'collabStatus':{'fetchMiss':_0x51ba92(0x194),'conflict':_0x51ba92(0x18c),'notCollab':_0x51ba92(0x197),'synced':_0x51ba92(0x18f),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x51ba92(0x198),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x51ba92(0x19b),'room-not-exists':_0x51ba92(0x18d),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x51ba92(0x18a),'collaboration-timeout':_0x51ba92(0x1a0)},'conflict':{'title':_0x51ba92(0x189),'content':_0x51ba92(0x19d)},'permission':{'title':_0x51ba92(0x190),'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':_0x51ba92(0x199)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{locale as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4781(){const _0x3acc52=['Click\x20to\x20Reconnect','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','Collaboration\x20Conflict','8394SinjET','12lVQMcv','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2202790UeSvgl','Connection\x20failed.\x20Please\x20check\x20your\x20network.','12wnQdpy','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','2956984YIFOvE','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.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','8whYMbB','Syncing...','18inKSlL','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','5668652RxHlZy','1238845HbkZef','3829vqdgPD','209045tRRWHR','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','598779JZdkfD','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced'];_0x4781=function(){return _0x3acc52;};return _0x4781();}const _0x95a6c0=_0x5ef9;function _0x5ef9(_0x147816,_0x5a01f6){_0x147816=_0x147816-0x12f;const _0x478198=_0x4781();let _0x5ef995=_0x478198[_0x147816];return _0x5ef995;}(function(_0x3f0773,_0x24c72c){const _0xb6c8e7=_0x5ef9,_0xfdd3ab=_0x3f0773();while(!![]){try{const _0x24383b=-parseInt(_0xb6c8e7(0x14b))/0x1*(-parseInt(_0xb6c8e7(0x144))/0x2)+parseInt(_0xb6c8e7(0x130))/0x3+-parseInt(_0xb6c8e7(0x139))/0x4*(parseInt(_0xb6c8e7(0x149))/0x5)+parseInt(_0xb6c8e7(0x138))/0x6*(parseInt(_0xb6c8e7(0x14a))/0x7)+-parseInt(_0xb6c8e7(0x140))/0x8+parseInt(_0xb6c8e7(0x146))/0x9*(parseInt(_0xb6c8e7(0x13b))/0xa)+parseInt(_0xb6c8e7(0x148))/0xb*(-parseInt(_0xb6c8e7(0x13d))/0xc);if(_0x24383b===_0x24c72c)break;else _0xfdd3ab['push'](_0xfdd3ab['shift']());}catch(_0x477f78){_0xfdd3ab['push'](_0xfdd3ab['shift']());}}}(_0x4781,0x95bca));const locale$1={'collab-client':{'tooltip':{'reconnect':_0x95a6c0(0x134)}},'collabStatus':{'fetchMiss':_0x95a6c0(0x143),'conflict':_0x95a6c0(0x13f),'notCollab':_0x95a6c0(0x136),'synced':_0x95a6c0(0x133),'syncing':_0x95a6c0(0x145),'offline':_0x95a6c0(0x12f)},'session':{'connection-failed':_0x95a6c0(0x13c),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x95a6c0(0x132),'join-failed':_0x95a6c0(0x14c),'room-not-exists':_0x95a6c0(0x131),'room-permission-denied':_0x95a6c0(0x13a),'room-cnt-exceeds':_0x95a6c0(0x135),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x95a6c0(0x137),'content':_0x95a6c0(0x141)},'permission':{'title':'Authentication\x20Error','content':_0x95a6c0(0x147)},'collaboration':{'single-unit':{'warning':_0x95a6c0(0x142)},'closeRoom':_0x95a6c0(0x13e)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},locale=locale$1;export{locale as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1c16ee=_0x47b0;function _0x2af2(){const _0x7916f=['پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','7nrjNlF','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','خطای\x20اعتبارسنجی','76YuYXDT','235855uPbqJZ','1264720edTeXp','8680cVDjql','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','6883200FBFvDK','11666PdmCUg','59zraPXv','18337NYvjUo','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','165477FpjEkA','پرونده\x20محلی','3598542FoACsb'];_0x2af2=function(){return _0x7916f;};return _0x2af2();}function _0x47b0(_0x36aa78,_0x1e8261){_0x36aa78=_0x36aa78-0xdf;const _0x2af2c4=_0x2af2();let _0x47b0c6=_0x2af2c4[_0x36aa78];return _0x47b0c6;}(function(_0x128dea,_0x4a1c56){const _0x280460=_0x47b0,_0x25f530=_0x128dea();while(!![]){try{const _0x10e72a=parseInt(_0x280460(0xef))/0x1*(parseInt(_0x280460(0xee))/0x2)+parseInt(_0x280460(0xe0))/0x3+parseInt(_0x280460(0xe8))/0x4*(-parseInt(_0x280460(0xe9))/0x5)+parseInt(_0x280460(0xe2))/0x6+-parseInt(_0x280460(0xe4))/0x7*(parseInt(_0x280460(0xea))/0x8)+-parseInt(_0x280460(0xed))/0x9+parseInt(_0x280460(0xeb))/0xa*(parseInt(_0x280460(0xf0))/0xb);if(_0x10e72a===_0x4a1c56)break;else _0x25f530['push'](_0x25f530['shift']());}catch(_0x353462){_0x25f530['push'](_0x25f530['shift']());}}}(_0x2af2,0x990c0));const locale={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':'تداخل\x20ویرایش','notCollab':_0x1c16ee(0xe1),'synced':'همگام\x20سازی','syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x1c16ee(0xf2)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x1c16ee(0xf1),'room-full':'ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','join-failed':_0x1c16ee(0xe3),'room-not-exists':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-permission-denied':_0x1c16ee(0xdf),'room-cnt-exceeds':_0x1c16ee(0xf4),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمیدهد.\x20ویرایشهای\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'},'conflict':{'title':'تداخل\x20همکاری','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':_0x1c16ee(0xe7),'content':_0x1c16ee(0xf3)},'collaboration':{'single-unit':{'warning':_0x1c16ee(0xe6)},'closeRoom':_0x1c16ee(0xec)},'auth':{'needGotoLoginAlert':_0x1c16ee(0xe5)}};export{locale as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1bd72a=_0x566c;function _0x566c(_0x331fd5,_0x4145f3){_0x331fd5=_0x331fd5-0xda;const _0x5e07d6=_0x5e07();let _0x566c80=_0x5e07d6[_0x331fd5];return _0x566c80;}function _0x5e07(){const _0x563480=['Click\x20to\x20Reconnect','47855DRqdXb','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','5010QgRQbo','Collaboration\x20Conflict','Edit\x20conflicts','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','119732DflLWI','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','32KicBeJ','Syncing...','512Gagckj','9284OSwvpH','Connection\x20failed.\x20Please\x20check\x20your\x20network.','13842mzjyiX','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','3338153sHzyBO','3318840WtNlIU','Syncing\x20server\x20data...','34ttkgPH','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','114687OszxBK','Synced'];_0x5e07=function(){return _0x563480;};return _0x5e07();}(function(_0x246186,_0x5d2180){const _0x29e766=_0x566c,_0xe2af9=_0x246186();while(!![]){try{const _0x28e0f8=parseInt(_0x29e766(0xee))/0x1+parseInt(_0x29e766(0xdd))/0x2*(parseInt(_0x29e766(0xdf))/0x3)+-parseInt(_0x29e766(0xf0))/0x4*(-parseInt(_0x29e766(0xe2))/0x5)+-parseInt(_0x29e766(0xdb))/0x6+-parseInt(_0x29e766(0xda))/0x7+parseInt(_0x29e766(0xf2))/0x8*(parseInt(_0x29e766(0xf5))/0x9)+-parseInt(_0x29e766(0xe4))/0xa*(-parseInt(_0x29e766(0xf3))/0xb);if(_0x28e0f8===_0x5d2180)break;else _0xe2af9['push'](_0xe2af9['shift']());}catch(_0x476826){_0xe2af9['push'](_0xe2af9['shift']());}}}(_0x5e07,0x5262a));const locale$1={'collab-client':{'tooltip':{'reconnect':_0x1bd72a(0xe1)}},'collabStatus':{'fetchMiss':_0x1bd72a(0xdc),'conflict':_0x1bd72a(0xe6),'notCollab':'Local\x20file','synced':_0x1bd72a(0xe0),'syncing':_0x1bd72a(0xf1),'offline':_0x1bd72a(0xed)},'session':{'connection-failed':_0x1bd72a(0xf4),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x1bd72a(0xec),'join-failed':_0x1bd72a(0xde),'room-not-exists':_0x1bd72a(0xea),'room-permission-denied':_0x1bd72a(0xef),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x1bd72a(0xe9)},'conflict':{'title':_0x1bd72a(0xe5),'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':_0x1bd72a(0xe8),'content':_0x1bd72a(0xf6)},'collaboration':{'single-unit':{'warning':_0x1bd72a(0xe7)},'closeRoom':_0x1bd72a(0xeb)},'auth':{'needGotoLoginAlert':_0x1bd72a(0xe3)}},locale=locale$1;export{locale as default};
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5abc(_0x786103,_0x4e2fc5){_0x786103=_0x786103-0x1be;const _0x5ce97c=_0x5ce9();let _0x5abce8=_0x5ce97c[_0x786103];return _0x5abce8;}function _0x5ce9(){const _0x5dc55e=['6309000cQBaLs','5297748MIpkgf','オフライン、編集内容はローカルに保存されます','別のタブで同じファイルを開いています。データの損失を防ぐため、このタブでは編集できません。','ローカルのコピーとサーバー上のコピーの間に競合があります。ページを再読み込みすると失われるため、ローカルの編集内容を保存してください。','共同編集への参加に失敗しました。編集内容はローカルにキャッシュされます。','同期中...','共同編集のアクセス許可がありません。編集内容はローカルにキャッシュされます。','ログインの有効期限が切れました。[OK]をクリックして再ログインするか、[キャンセル]をクリックしてローカルの編集内容を保存してください。','22qilPzp','14410090OkwOhq','2135vtLIgL','3973308oaFEOu','ドキュメントが共同編集の上限に達しました。編集内容はローカルにキャッシュされます。','共同編集ルームが閉じられたため、編集権限が取り消されました。','共同編集ドキュメント数が上限を超えています。編集内容はローカルにキャッシュされます。','52vRBCcl','2293266YPGbUR','共同編集への参加に失敗しました。後でもう一度お試しください。編集内容はローカルにキャッシュされます。','接続に失敗しました。しばらくしてから再試行します。','サーバーが共同編集リクエストに応答していません。編集内容はローカルに保存されます。','お客様の操作がサーバーのアクセス許可と競合しています。ページを更新すると破棄されるため、ローカルの編集内容を別の場所に保存してください。','ローカルファイル','11416VoWVWF','10WwyIgq','11AAEEYP','同期済み','共同編集の競合','40462lNrVYS','3CWOKVy'];_0x5ce9=function(){return _0x5dc55e;};return _0x5ce9();}const _0x241c14=_0x5abc;(function(_0x881e30,_0x12c90f){const _0x5e01c5=_0x5abc,_0x12f590=_0x881e30();while(!![]){try{const _0x7efa9e=parseInt(_0x5e01c5(0x1cb))/0x1*(-parseInt(_0x5e01c5(0x1c0))/0x2)+-parseInt(_0x5e01c5(0x1c1))/0x3*(-parseInt(_0x5e01c5(0x1ce))/0x4)+parseInt(_0x5e01c5(0x1da))/0x5*(parseInt(_0x5e01c5(0x1d3))/0x6)+parseInt(_0x5e01c5(0x1cd))/0x7*(parseInt(_0x5e01c5(0x1d9))/0x8)+-parseInt(_0x5e01c5(0x1c2))/0x9+-parseInt(_0x5e01c5(0x1cc))/0xa*(-parseInt(_0x5e01c5(0x1db))/0xb)+parseInt(_0x5e01c5(0x1c3))/0xc*(-parseInt(_0x5e01c5(0x1d2))/0xd);if(_0x7efa9e===_0x12c90f)break;else _0x12f590['push'](_0x12f590['shift']());}catch(_0x536703){_0x12f590['push'](_0x12f590['shift']());}}}(_0x5ce9,0xb044b));const locale={'collab-client':{'tooltip':{'reconnect':'クリックして再接続'}},'collabStatus':{'fetchMiss':'サーバーデータを同期中...','conflict':'編集の競合','notCollab':_0x241c14(0x1d8),'synced':_0x241c14(0x1be),'syncing':_0x241c14(0x1c8),'offline':_0x241c14(0x1c4)},'session':{'connection-failed':'接続に失敗しました。ネットワーク接続を確認してください。','will-retry':_0x241c14(0x1d5),'room-full':_0x241c14(0x1cf),'join-failed':_0x241c14(0x1d4),'room-not-exists':_0x241c14(0x1c7),'room-permission-denied':_0x241c14(0x1c9),'room-cnt-exceeds':_0x241c14(0x1d1),'collaboration-timeout':_0x241c14(0x1d6)},'conflict':{'title':_0x241c14(0x1bf),'content':_0x241c14(0x1c6)},'permission':{'title':'認証エラー','content':_0x241c14(0x1d7)},'collaboration':{'single-unit':{'warning':_0x241c14(0x1c5)},'closeRoom':_0x241c14(0x1d0)},'auth':{'needGotoLoginAlert':_0x241c14(0x1ca)}};export{locale as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3f669c=_0x5059;(function(_0x4823b8,_0x36fd45){const _0x35136e=_0x5059,_0x3a57fe=_0x4823b8();while(!![]){try{const _0x3be0cc=parseInt(_0x35136e(0xfb))/0x1+-parseInt(_0x35136e(0x105))/0x2+-parseInt(_0x35136e(0xf8))/0x3*(parseInt(_0x35136e(0x108))/0x4)+-parseInt(_0x35136e(0xf3))/0x5*(parseInt(_0x35136e(0xfa))/0x6)+-parseInt(_0x35136e(0x10d))/0x7+parseInt(_0x35136e(0xf6))/0x8+-parseInt(_0x35136e(0x106))/0x9*(-parseInt(_0x35136e(0xf4))/0xa);if(_0x3be0cc===_0x36fd45)break;else _0x3a57fe['push'](_0x3a57fe['shift']());}catch(_0x56aa87){_0x3a57fe['push'](_0x3a57fe['shift']());}}}(_0x54a3,0xefb54));const locale={'collab-client':{'tooltip':{'reconnect':_0x3f669c(0x10a)}},'collabStatus':{'fetchMiss':_0x3f669c(0x107),'conflict':_0x3f669c(0xf5),'notCollab':'로컬\x20파일','synced':_0x3f669c(0xf2),'syncing':_0x3f669c(0x103),'offline':_0x3f669c(0xfe)},'session':{'connection-failed':'연결에\x20실패했습니다.\x20네트워크\x20연결을\x20확인하세요.','will-retry':'연결에\x20실패했습니다.\x20잠시\x20후\x20다시\x20시도합니다.','room-full':_0x3f669c(0x104),'join-failed':_0x3f669c(0x109),'room-not-exists':_0x3f669c(0x10c),'room-permission-denied':_0x3f669c(0x101),'room-cnt-exceeds':_0x3f669c(0x100),'collaboration-timeout':_0x3f669c(0xf9)},'conflict':{'title':_0x3f669c(0xfd),'content':_0x3f669c(0x10e)},'permission':{'title':_0x3f669c(0xf7),'content':_0x3f669c(0xfc)},'collaboration':{'single-unit':{'warning':_0x3f669c(0x10b)},'closeRoom':_0x3f669c(0x102)},'auth':{'needGotoLoginAlert':_0x3f669c(0xff)}};function _0x54a3(){const _0x9b157b=['409288AjAJOM','공동\x20편집\x20참여에\x20실패했습니다.\x20나중에\x20다시\x20시도해\x20주세요.\x20편집\x20내용은\x20로컬에\x20캐시됩니다.','클릭하여\x20다시\x20연결','다른\x20탭에서\x20동일한\x20파일을\x20열었습니다.\x20데이터\x20손실을\x20방지하기\x20위해\x20이\x20탭에서는\x20편집할\x20수\x20없습니다.','공동\x20편집\x20참여에\x20실패했습니다.\x20편집\x20내용은\x20로컬에\x20캐시됩니다.','422331XgPLME','로컬\x20사본과\x20서버\x20사본\x20간에\x20충돌이\x20발생했습니다.\x20페이지를\x20새로\x20고침하면\x20내용이\x20손실될\x20수\x20있으므로\x20로컬\x20편집\x20내용을\x20저장하세요.','동기화됨','8445sJoxbG','5790LzlFYK','편집\x20충돌','9899016TBskOU','인증\x20오류','30IZPEOM','서버가\x20공동\x20편집\x20요청에\x20응답하지\x20않습니다.\x20편집\x20내용은\x20로컬에\x20저장됩니다.','1614LvkflT','1354079AuCKZg','사용자의\x20작업이\x20서버\x20권한과\x20충돌합니다.\x20페이지를\x20새로\x20고침하면\x20내용이\x20손실될\x20수\x20있으므로\x20로컬\x20편집\x20내용을\x20다른\x20곳에\x20저장하세요.','공동\x20편집\x20충돌','오프라인\x20상태입니다.\x20편집\x20내용은\x20로컬에\x20저장됩니다.','로그인\x20세션이\x20만료되었습니다.\x20[확인]을\x20클릭하여\x20다시\x20로그인하거나,\x20[취소]를\x20클릭하여\x20로컬\x20편집\x20내용을\x20저장하세요.','공동\x20편집\x20문서\x20수가\x20한도를\x20초과했습니다.\x20편집\x20내용은\x20로컬에\x20캐시됩니다.','공동\x20편집\x20권한이\x20없습니다.\x20편집\x20내용은\x20로컬에\x20캐시됩니다.','공동\x20편집\x20룸이\x20닫혀\x20편집\x20권한이\x20취소되었습니다.','동기화\x20중...','문서의\x20공동\x20편집\x20인원이\x20한도에\x20도달했습니다.\x20편집\x20내용은\x20로컬에\x20캐시됩니다.','2657454SFdcKZ','19539xfindl','서버\x20데이터\x20동기화\x20중...'];_0x54a3=function(){return _0x9b157b;};return _0x54a3();}function _0x5059(_0x45bd1f,_0xc2f8f2){_0x45bd1f=_0x45bd1f-0xf2;const _0x54a341=_0x54a3();let _0x505935=_0x54a341[_0x45bd1f];return _0x505935;}export{locale as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x261f12=_0x3deb;function _0x1b69(){const _0x34a087=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing...','1240435itrFQw','Collaboration\x20Conflict','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','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.','2628viJpty','2127eKutFH','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','538110PFbybN','11982000uNCUuH','5hxKiMr','4494018OpguPY','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Edit\x20conflicts','1350298JcQQaC','103057sdQzVG','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x1b69=function(){return _0x34a087;};return _0x1b69();}function _0x3deb(_0x1bbc8e,_0x361bf1){_0x1bbc8e=_0x1bbc8e-0x6d;const _0x1b6983=_0x1b69();let _0x3debf3=_0x1b6983[_0x1bbc8e];return _0x3debf3;}(function(_0x344bc4,_0x2371db){const _0x5cd301=_0x3deb,_0x2ef128=_0x344bc4();while(!![]){try{const _0x6a75fd=parseInt(_0x5cd301(0x72))/0x1+-parseInt(_0x5cd301(0x71))/0x2+-parseInt(_0x5cd301(0x7f))/0x3*(-parseInt(_0x5cd301(0x7e))/0x4)+parseInt(_0x5cd301(0x6d))/0x5*(-parseInt(_0x5cd301(0x6e))/0x6)+parseInt(_0x5cd301(0x76))/0x7+parseInt(_0x5cd301(0x85))/0x8+-parseInt(_0x5cd301(0x84))/0x9;if(_0x6a75fd===_0x2371db)break;else _0x2ef128['push'](_0x2ef128['shift']());}catch(_0x42d15b){_0x2ef128['push'](_0x2ef128['shift']());}}}(_0x1b69,0xb984b));const locale$1={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x261f12(0x70),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x261f12(0x75),'offline':_0x261f12(0x7a)},'session':{'connection-failed':_0x261f12(0x82),'will-retry':_0x261f12(0x79),'room-full':_0x261f12(0x80),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x261f12(0x6f),'room-permission-denied':_0x261f12(0x7b),'room-cnt-exceeds':_0x261f12(0x73),'collaboration-timeout':_0x261f12(0x81)},'conflict':{'title':_0x261f12(0x77),'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':_0x261f12(0x7c),'content':_0x261f12(0x7d)},'collaboration':{'single-unit':{'warning':_0x261f12(0x78)},'closeRoom':_0x261f12(0x74)},'auth':{'needGotoLoginAlert':_0x261f12(0x83)}},locale=locale$1;export{locale as default};
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5ba0(){const _0x1c44b6=['Synchronizuje\x20sa...','Chyba\x20overenia','12315010puATjW','Pripojenie\x20zlyhalo.\x20O\x20chvíľu\x20to\x20skúsieme\x20znova.','Lokálny\x20súbor','1668042dMcqUR','120710smZSRT','665170BUlGId','Súbor\x20ste\x20otvorili\x20aj\x20na\x20inej\x20karte.\x20V\x20prípade\x20chýbajúcich\x20údajov\x20na\x20tejto\x20karte\x20nebudete\x20môcť\x20upravovať.','Dokument\x20dosiahol\x20limit\x20spolupráce.\x20Vaše\x20úpravy\x20budú\x20dočasne\x20uložené\x20lokálne.','Nepodarilo\x20sa\x20pripojiť\x20k\x20spolupráci.\x20Skúste\x20to\x20neskôr.\x20Vaše\x20úpravy\x20budú\x20dočasne\x20uložené\x20lokálne.','3063344hEiCWz','Medzi\x20vašou\x20lokálnou\x20kópiou\x20a\x20kópiou\x20na\x20serveri\x20je\x20konflikt.\x20Uložte\x20si\x20lokálne\x20úpravy,\x20inak\x20sa\x20po\x20obnovení\x20stránky\x20stratia.','Offline,\x20úpravy\x20budú\x20uložené\x20lokálne','Synchronizované','Oprávnenia\x20na\x20úpravy\x20boli\x20odobraté,\x20pretože\x20kolaboračná\x20miestnosť\x20bola\x20zatvorená.','Nemáte\x20oprávnenie\x20na\x20spoluprácu.\x20Vaše\x20úpravy\x20budú\x20dočasne\x20uložené\x20lokálne.','Pripojenie\x20zlyhalo.\x20Skontrolujte\x20sieť.','8lmCjiM','2343397jHEJBG','Vaše\x20akcie\x20sú\x20v\x20rozpore\x20s\x20oprávneniami\x20servera.\x20Uložte\x20si\x20lokálne\x20úpravy\x20inde,\x20pretože\x20po\x20obnovení\x20stránky\x20budú\x20zahodené.','276pZWJQQ','3tZVXtF','12705xGvXJr','Synchronizujú\x20sa\x20údaje\x20zo\x20servera...'];_0x5ba0=function(){return _0x1c44b6;};return _0x5ba0();}const _0x204333=_0x575b;function _0x575b(_0x466105,_0x431b8b){_0x466105=_0x466105-0x138;const _0x5ba006=_0x5ba0();let _0x575b55=_0x5ba006[_0x466105];return _0x575b55;}(function(_0x517290,_0x46884b){const _0x46352b=_0x575b,_0x3ace8d=_0x517290();while(!![]){try{const _0x5ea657=-parseInt(_0x46352b(0x150))/0x1+-parseInt(_0x46352b(0x138))/0x2*(-parseInt(_0x46352b(0x147))/0x3)+parseInt(_0x46352b(0x13c))/0x4+-parseInt(_0x46352b(0x148))/0x5*(-parseInt(_0x46352b(0x146))/0x6)+-parseInt(_0x46352b(0x144))/0x7*(-parseInt(_0x46352b(0x143))/0x8)+parseInt(_0x46352b(0x14f))/0x9+-parseInt(_0x46352b(0x14c))/0xa;if(_0x5ea657===_0x46884b)break;else _0x3ace8d['push'](_0x3ace8d['shift']());}catch(_0x3d7fac){_0x3ace8d['push'](_0x3ace8d['shift']());}}}(_0x5ba0,0x5d8e5));const locale={'collab-client':{'tooltip':{'reconnect':'Kliknite\x20na\x20opätovné\x20pripojenie'}},'collabStatus':{'fetchMiss':_0x204333(0x149),'conflict':'Konflikty\x20úprav','notCollab':_0x204333(0x14e),'synced':_0x204333(0x13f),'syncing':_0x204333(0x14a),'offline':_0x204333(0x13e)},'session':{'connection-failed':_0x204333(0x142),'will-retry':_0x204333(0x14d),'room-full':_0x204333(0x13a),'join-failed':_0x204333(0x13b),'room-not-exists':'Nepodarilo\x20sa\x20pripojiť\x20k\x20spolupráci.\x20Vaše\x20úpravy\x20budú\x20dočasne\x20uložené\x20lokálne.','room-permission-denied':_0x204333(0x141),'room-cnt-exceeds':'Počet\x20kolaboratívnych\x20dokumentov\x20prekročil\x20limit.\x20Vaše\x20úpravy\x20budú\x20dočasne\x20uložené\x20lokálne.','collaboration-timeout':'Server\x20neodpovedá\x20na\x20požiadavku\x20spolupráce.\x20Vaše\x20úpravy\x20budú\x20uložené\x20lokálne.'},'conflict':{'title':'Konflikt\x20spolupráce','content':_0x204333(0x13d)},'permission':{'title':_0x204333(0x14b),'content':_0x204333(0x145)},'collaboration':{'single-unit':{'warning':_0x204333(0x139)},'closeRoom':_0x204333(0x140)},'auth':{'needGotoLoginAlert':'Platnosť\x20prihlásenia\x20vypršala,\x20kliknite\x20OK\x20pre\x20opätovné\x20prihlásenie,\x20kliknite\x20Zrušiť\x20pre\x20uloženie\x20lokálnych\x20úprav.'}};export{locale as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x17dd(_0xe5d2cb,_0x57294c){_0xe5d2cb=_0xe5d2cb-0x185;const _0x2100a5=_0x2100();let _0x17dd7c=_0x2100a5[_0xe5d2cb];return _0x17dd7c;}const _0x5151dc=_0x17dd;(function(_0x2217b8,_0x128ff4){const _0x5bcb66=_0x17dd,_0x244b86=_0x2217b8();while(!![]){try{const _0x440dd9=parseInt(_0x5bcb66(0x185))/0x1+parseInt(_0x5bcb66(0x18a))/0x2*(parseInt(_0x5bcb66(0x18f))/0x3)+parseInt(_0x5bcb66(0x198))/0x4*(-parseInt(_0x5bcb66(0x18e))/0x5)+parseInt(_0x5bcb66(0x194))/0x6+parseInt(_0x5bcb66(0x193))/0x7+parseInt(_0x5bcb66(0x19b))/0x8+-parseInt(_0x5bcb66(0x197))/0x9;if(_0x440dd9===_0x128ff4)break;else _0x244b86['push'](_0x244b86['shift']());}catch(_0x22a77f){_0x244b86['push'](_0x244b86['shift']());}}}(_0x2100,0x2409f));function _0x2100(){const _0xbee6d9=['4VlBhnF','Ngoại\x20tuyến,\x20các\x20chỉnh\x20sửa\x20sẽ\x20được\x20lưu\x20cục\x20bộ','Tệp\x20cục\x20bộ','591968zPpgpu','Nhấp\x20để\x20kết\x20nối\x20lại','231607torwvN','Tham\x20gia\x20cộng\x20tác\x20thất\x20bại.\x20Các\x20chỉnh\x20sửa\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20cục\x20bộ.','Tài\x20liệu\x20đã\x20đạt\x20đến\x20giới\x20hạn\x20cộng\x20tác.\x20Các\x20chỉnh\x20sửa\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20cục\x20bộ.','Xung\x20đột\x20cộng\x20tác','Xung\x20đột\x20chỉnh\x20sửa','2PlTJpw','Số\x20lượng\x20tài\x20liệu\x20cộng\x20tác\x20vượt\x20quá\x20giới\x20hạn.\x20Các\x20chỉnh\x20sửa\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20cục\x20bộ.','Bạn\x20đã\x20mở\x20cùng\x20một\x20tệp\x20trong\x20một\x20tab\x20khác.\x20Để\x20tránh\x20mất\x20dữ\x20liệu,\x20bạn\x20không\x20thể\x20chỉnh\x20sửa\x20trên\x20tab\x20này.','Lỗi\x20xác\x20thực','1171215oADQqm','530553MxAXVl','Kết\x20nối\x20thất\x20bại.\x20Vui\x20lòng\x20kiểm\x20tra\x20mạng\x20của\x20bạn.','Phiên\x20đăng\x20nhập\x20của\x20bạn\x20đã\x20hết\x20hạn,\x20nhấp\x20OK\x20để\x20đăng\x20nhập\x20lại,\x20nhấp\x20Hủy\x20để\x20lưu\x20các\x20chỉnh\x20sửa\x20cục\x20bộ\x20của\x20bạn.','Đang\x20đồng\x20bộ...','577493glFLwa','1522248AVTjuz','Không\x20có\x20quyền\x20cộng\x20tác.\x20Các\x20chỉnh\x20sửa\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20cục\x20bộ.','Đang\x20đồng\x20bộ\x20dữ\x20liệu\x20máy\x20chủ...','3931227qcOzIO'];_0x2100=function(){return _0xbee6d9;};return _0x2100();}const locale={'collab-client':{'tooltip':{'reconnect':_0x5151dc(0x19c)}},'collabStatus':{'fetchMiss':_0x5151dc(0x196),'conflict':_0x5151dc(0x189),'notCollab':_0x5151dc(0x19a),'synced':'Đã\x20đồng\x20bộ','syncing':_0x5151dc(0x192),'offline':_0x5151dc(0x199)},'session':{'connection-failed':_0x5151dc(0x190),'will-retry':'Kết\x20nối\x20thất\x20bại.\x20Chúng\x20tôi\x20sẽ\x20thử\x20lại\x20sau\x20một\x20lát.','room-full':_0x5151dc(0x187),'join-failed':'Tham\x20gia\x20cộng\x20tác\x20thất\x20bại.\x20Vui\x20lòng\x20thử\x20lại\x20sau.\x20Các\x20chỉnh\x20sửa\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20cục\x20bộ.','room-not-exists':_0x5151dc(0x186),'room-permission-denied':_0x5151dc(0x195),'room-cnt-exceeds':_0x5151dc(0x18b),'collaboration-timeout':'Máy\x20chủ\x20không\x20phản\x20hồi\x20yêu\x20cầu\x20cộng\x20tác\x20của\x20bạn.\x20Các\x20chỉnh\x20sửa\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20cục\x20bộ.'},'conflict':{'title':_0x5151dc(0x188),'content':'Có\x20sự\x20xung\x20đột\x20giữa\x20bản\x20sao\x20cục\x20bộ\x20của\x20bạn\x20và\x20bản\x20sao\x20trên\x20máy\x20chủ.\x20Vui\x20lòng\x20lưu\x20các\x20chỉnh\x20sửa\x20cục\x20bộ\x20của\x20bạn,\x20vì\x20chúng\x20sẽ\x20bị\x20mất\x20khi\x20bạn\x20tải\x20lại\x20trang.'},'permission':{'title':_0x5151dc(0x18d),'content':'Hành\x20động\x20của\x20bạn\x20xung\x20đột\x20với\x20quyền\x20của\x20máy\x20chủ.\x20Vui\x20lòng\x20lưu\x20các\x20chỉnh\x20sửa\x20cục\x20bộ\x20của\x20bạn\x20ở\x20nơi\x20khác\x20vì\x20chúng\x20sẽ\x20bị\x20hủy\x20sau\x20khi\x20làm\x20mới\x20trang.'},'collaboration':{'single-unit':{'warning':_0x5151dc(0x18c)},'closeRoom':'Quyền\x20chỉnh\x20sửa\x20đã\x20bị\x20thu\x20hồi\x20vì\x20phòng\x20cộng\x20tác\x20đã\x20đóng.'},'auth':{'needGotoLoginAlert':_0x5151dc(0x191)}};export{locale as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4ca8f5=_0x5590;function _0x5590(_0x298a2c,_0xc300c3){_0x298a2c=_0x298a2c-0x1df;const _0x369517=_0x3695();let _0x559076=_0x369517[_0x298a2c];return _0x559076;}(function(_0x326b94,_0x2e145f){const _0x53b4ba=_0x5590,_0x1eccb6=_0x326b94();while(!![]){try{const _0x4ecae9=-parseInt(_0x53b4ba(0x1e2))/0x1*(-parseInt(_0x53b4ba(0x1ee))/0x2)+parseInt(_0x53b4ba(0x1e5))/0x3*(-parseInt(_0x53b4ba(0x1eb))/0x4)+-parseInt(_0x53b4ba(0x1e3))/0x5+-parseInt(_0x53b4ba(0x1f8))/0x6+-parseInt(_0x53b4ba(0x1f9))/0x7+parseInt(_0x53b4ba(0x1ea))/0x8*(parseInt(_0x53b4ba(0x1e6))/0x9)+-parseInt(_0x53b4ba(0x1e9))/0xa*(-parseInt(_0x53b4ba(0x1f2))/0xb);if(_0x4ecae9===_0x2e145f)break;else _0x1eccb6['push'](_0x1eccb6['shift']());}catch(_0x1b4f0b){_0x1eccb6['push'](_0x1eccb6['shift']());}}}(_0x3695,0x39732));const locale={'collab-client':{'tooltip':{'reconnect':_0x4ca8f5(0x1f0)}},'collabStatus':{'fetchMiss':_0x4ca8f5(0x1e4),'conflict':_0x4ca8f5(0x1f5),'notCollab':'本地文件','synced':_0x4ca8f5(0x1ec),'syncing':'保存中...','offline':_0x4ca8f5(0x1ed)},'session':{'connection-failed':'连接失败,请检查你的网络','will-retry':'连接失败,将在一会儿之后重试连接','room-full':_0x4ca8f5(0x1f7),'join-failed':'加入协同失败,请稍后重试,你的编辑将在本地缓存','room-not-exists':_0x4ca8f5(0x1f6),'room-permission-denied':_0x4ca8f5(0x1ef),'room-cnt-exceeds':'协同文档数量超过限制,你的编辑将在本地缓存','collaboration-timeout':_0x4ca8f5(0x1f3)},'conflict':{'title':_0x4ca8f5(0x1e8),'content':_0x4ca8f5(0x1e0)},'permission':{'title':_0x4ca8f5(0x1e7),'content':_0x4ca8f5(0x1f1)},'collaboration':{'single-unit':{'warning':_0x4ca8f5(0x1df)},'closeRoom':_0x4ca8f5(0x1f4)},'auth':{'needGotoLoginAlert':_0x4ca8f5(0x1e1)}};export{locale as default};function _0x3695(){const _0x4539a8=['没有协同权限,你的编辑将在本地缓存','点击重新连接','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','9130bbdFzh','服务器未响应,你的编辑将在本地缓存','由于协同房间被关闭,编辑权限被收回。','编辑冲突','加入协同失败,你的编辑将在本地缓存','此文档协同人数已满,你的编辑将在本地缓存','1077300iyiaDF','1525846FkSMce','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','183jxeZnu','292005LDAjGv','正在拉取服务端数据...','1116nrIKqR','27yFkKFo','权限错误','协同冲突','6050OuusCl','850848PVDatl','2104tNDMFu','已同步','已离线,编辑将在本地缓存','718LJUwTk'];_0x3695=function(){return _0x4539a8;};return _0x3695();}
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x244641=_0x330b;function _0x330b(_0x33791f,_0x278229){_0x33791f=_0x33791f-0x18a;const _0x4aab50=_0x4aab();let _0x330be3=_0x4aab50[_0x33791f];return _0x330be3;}function _0x4aab(){const _0x3f02dc=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','171Zegiso','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1102108CRsJtj','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','373940iCPGlN','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.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','65032OkfXJG','Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','29683liAoSl','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Syncing...','983778QrvfxR','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.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','619724dFGFOe','1393trAcjJ','Click\x20to\x20Reconnect','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','5118paymTy'];_0x4aab=function(){return _0x3f02dc;};return _0x4aab();}(function(_0x5192d9,_0x4f8a44){const _0x93d074=_0x330b,_0x205839=_0x5192d9();while(!![]){try{const _0x1a1578=-parseInt(_0x93d074(0x194))/0x1+-parseInt(_0x93d074(0x19c))/0x2+parseInt(_0x93d074(0x197))/0x3+parseInt(_0x93d074(0x18b))/0x4+-parseInt(_0x93d074(0x18e))/0x5+parseInt(_0x93d074(0x1a0))/0x6*(-parseInt(_0x93d074(0x19d))/0x7)+-parseInt(_0x93d074(0x191))/0x8*(-parseInt(_0x93d074(0x1a2))/0x9);if(_0x1a1578===_0x4f8a44)break;else _0x205839['push'](_0x205839['shift']());}catch(_0x21b0fb){_0x205839['push'](_0x205839['shift']());}}}(_0x4aab,0x2a700));const locale$1={'collab-client':{'tooltip':{'reconnect':_0x244641(0x19e)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x244641(0x192),'notCollab':_0x244641(0x18d),'synced':'Synced','syncing':_0x244641(0x196),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x244641(0x195),'will-retry':_0x244641(0x19b),'room-full':_0x244641(0x19a),'join-failed':_0x244641(0x193),'room-not-exists':_0x244641(0x18a),'room-permission-denied':_0x244641(0x18c),'room-cnt-exceeds':_0x244641(0x199),'collaboration-timeout':_0x244641(0x1a1)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x244641(0x18f)},'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':_0x244641(0x19f)},'closeRoom':_0x244641(0x190)},'auth':{'needGotoLoginAlert':_0x244641(0x198)}},locale=locale$1;export{locale as default};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { IDisposable, IMutationInfo, Nullable } from '@univerjs/core';
|
|
2
|
-
import type { UniverType } from '@univerjs/protocol';
|
|
1
|
+
import type { IDisposable, IMutationInfo, Nullable, UniverInstanceType } from '@univerjs/core';
|
|
3
2
|
import type { Observable } from 'rxjs';
|
|
4
3
|
import type { CollaborationSession } from '../../services/collaboration-session/collaboration-session';
|
|
5
4
|
import type { CollaborationState, ICollaborationStateHandler, SyncEditingCollabCursorHandler, TransformIMEHandler, TransformRemoteChangesetByIMECache, TransformRemoteChangesetByStateCache, TransformSelectionsHandler, TransformStateHandler } from './collaboration-state';
|
|
@@ -17,7 +16,7 @@ import { CollaborationStatus } from './collaboration-state';
|
|
|
17
16
|
export declare abstract class CollaborationEntity extends RxDisposable {
|
|
18
17
|
readonly unitID: string;
|
|
19
18
|
readonly session: CollaborationSession;
|
|
20
|
-
protected readonly _type:
|
|
19
|
+
protected readonly _type: UniverInstanceType;
|
|
21
20
|
protected readonly _injector: Injector;
|
|
22
21
|
protected readonly _compressMutationService: CompressMutationService;
|
|
23
22
|
protected readonly _localeService: LocaleService;
|
|
@@ -37,7 +36,7 @@ export declare abstract class CollaborationEntity extends RxDisposable {
|
|
|
37
36
|
protected _changesetSessionId: string;
|
|
38
37
|
protected _changesetReqId: number;
|
|
39
38
|
readonly status$: Observable<CollaborationStatus>;
|
|
40
|
-
constructor(unitID: string, session: CollaborationSession, _type:
|
|
39
|
+
constructor(unitID: string, session: CollaborationSession, _type: UniverInstanceType, _injector: Injector, _compressMutationService: CompressMutationService, _localeService: LocaleService, _revisionService: RevisionService, _eventService: CollaborationUIEventService, _univerInstanceService: IUniverInstanceService, _logService: ILogService, _commandService: ICommandService, _permissionService: IPermissionService, _singleActiveUnitService?: ISingleActiveUnitService | undefined, _localCacheService?: ILocalCacheService | undefined);
|
|
41
40
|
init(): Promise<void>;
|
|
42
41
|
/**
|
|
43
42
|
* Pause collaboration on the document. Remote changesets would be inserted to a queue and wait for resuming.
|
|
@@ -79,9 +78,9 @@ export interface IDocCollaborationEntityCallback {
|
|
|
79
78
|
}
|
|
80
79
|
export declare class DocCollaborationEntity extends CollaborationEntity {
|
|
81
80
|
readonly unitID: string;
|
|
82
|
-
readonly type:
|
|
81
|
+
readonly type: UniverInstanceType;
|
|
83
82
|
private _handlerCallback;
|
|
84
|
-
constructor(unitID: string, type:
|
|
83
|
+
constructor(unitID: string, type: UniverInstanceType, session: CollaborationSession, injector: Injector, compressMutationService: CompressMutationService, localeService: LocaleService, revisionService: RevisionService, eventService: CollaborationUIEventService, univerInstanceService: IUniverInstanceService, logService: ILogService, commandService: ICommandService, permissionService: IPermissionService, singleActiveUnitService?: ISingleActiveUnitService, localCacheService?: ILocalCacheService);
|
|
85
84
|
addHandlerCallback(cb: IDocCollaborationEntityCallback): void;
|
|
86
85
|
dispose(): void;
|
|
87
86
|
protected _createHandler(): ICollaborationStateHandler;
|
|
@@ -89,9 +88,9 @@ export declare class DocCollaborationEntity extends CollaborationEntity {
|
|
|
89
88
|
}
|
|
90
89
|
export declare class SheetCollaborationEntity extends CollaborationEntity {
|
|
91
90
|
readonly unitID: string;
|
|
92
|
-
readonly type:
|
|
91
|
+
readonly type: UniverInstanceType;
|
|
93
92
|
private readonly _sheetTransformSelectionsService;
|
|
94
|
-
constructor(unitID: string, type:
|
|
93
|
+
constructor(unitID: string, type: UniverInstanceType, session: CollaborationSession, injector: Injector, compressMutationService: CompressMutationService, localeService: LocaleService, revisionService: RevisionService, _sheetTransformSelectionsService: SheetTransformSelectionsService, eventService: CollaborationUIEventService, univerInstanceService: IUniverInstanceService, logService: ILogService, commandService: ICommandService, permissionService: IPermissionService, singleActiveUnitService?: ISingleActiveUnitService, localCacheService?: ILocalCacheService);
|
|
95
94
|
protected _createHandler(): ICollaborationStateHandler;
|
|
96
95
|
protected _init(): Promise<CollaborationState>;
|
|
97
96
|
}
|
|
@@ -3,8 +3,7 @@ import type { IMutationInfo, Nullable } from '@univerjs/core';
|
|
|
3
3
|
import type { Observable } from 'rxjs';
|
|
4
4
|
import type { ICollaborativeUndoRedoService } from '../../services/undoredo/collaborative-undoredo.service';
|
|
5
5
|
import { ITransformService, RevisionService } from '@univerjs-pro/collaboration';
|
|
6
|
-
import { ICommandService, IConfigService, ILogService, Injector, IPermissionService, IUniverInstanceService, LocaleService } from '@univerjs/core';
|
|
7
|
-
import { UniverType } from '@univerjs/protocol';
|
|
6
|
+
import { ICommandService, IConfigService, ILogService, Injector, IPermissionService, IUniverInstanceService, LocaleService, UniverInstanceType } from '@univerjs/core';
|
|
8
7
|
import { CollaborationUIEventService } from '../../services/collaboration-ui-event/collaboration-ui-event';
|
|
9
8
|
import { ILocalCacheService } from '../../services/local-cache/local-cache.service';
|
|
10
9
|
import { MemberService } from '../../services/member/member.service';
|
|
@@ -49,7 +48,7 @@ export declare enum CollaborationStatus {
|
|
|
49
48
|
*/
|
|
50
49
|
export declare abstract class CollaborationState {
|
|
51
50
|
readonly unitID: string;
|
|
52
|
-
readonly type:
|
|
51
|
+
readonly type: UniverInstanceType;
|
|
53
52
|
/** State may change internally. Parent module should provide a callback to handle this event. */
|
|
54
53
|
protected readonly _handler: ICollaborationStateHandler;
|
|
55
54
|
protected readonly _commandService: ICommandService;
|
|
@@ -61,7 +60,7 @@ export declare abstract class CollaborationState {
|
|
|
61
60
|
protected _awaitingChangeset: Nullable<IChangeset>;
|
|
62
61
|
/** Mutations that has not been sent to the server. */
|
|
63
62
|
protected _pendingMutations: IMutationInfo[];
|
|
64
|
-
constructor(unitID: string, type:
|
|
63
|
+
constructor(unitID: string, type: UniverInstanceType, awaitingChangeset: Nullable<IChangeset>, pendingMutations: IMutationInfo[],
|
|
65
64
|
/** State may change internally. Parent module should provide a callback to handle this event. */
|
|
66
65
|
_handler: ICollaborationStateHandler, _commandService: ICommandService, _undoRedoService: ICollaborativeUndoRedoService, _revisionService: RevisionService, _localCacheService?: ILocalCacheService | undefined);
|
|
67
66
|
abstract resend(): void;
|
|
@@ -122,7 +121,7 @@ export declare class SyncedState extends CollaborationState {
|
|
|
122
121
|
private readonly _transformService;
|
|
123
122
|
private readonly localCacheService?;
|
|
124
123
|
readonly status = CollaborationStatus.SYNCED;
|
|
125
|
-
constructor(unitID: string, type:
|
|
124
|
+
constructor(unitID: string, type: UniverInstanceType, handler: ICollaborationStateHandler, revisionService: RevisionService, _injector: Injector, undoRedoService: ICollaborativeUndoRedoService, commandService: ICommandService, _logService: ILogService, _transformService: ITransformService, localCacheService?: ILocalCacheService | undefined);
|
|
126
125
|
appendMutation(mutation: IMutationInfo): CollaborationState;
|
|
127
126
|
onRemoteChangeset(changeset: IChangeset): CollaborationState;
|
|
128
127
|
private _onConflict;
|
|
@@ -149,7 +148,7 @@ export declare class PendingState extends CollaborationState {
|
|
|
149
148
|
readonly status = CollaborationStatus.PENDING;
|
|
150
149
|
private _scheduleCompleteTimestamp;
|
|
151
150
|
private _sendingTimer;
|
|
152
|
-
constructor(unitID: string, type:
|
|
151
|
+
constructor(unitID: string, type: UniverInstanceType, pendingMutations: IMutationInfo[], handler: ICollaborationStateHandler, _injector: Injector, _revisionService: RevisionService, _memberService: MemberService, _logService: ILogService, commandService: ICommandService, _configService: IConfigService, _transformService: ITransformService, _univerInstanceService: IUniverInstanceService, _undoRedoService: ICollaborativeUndoRedoService, _localCacheService?: ILocalCacheService);
|
|
153
152
|
appendMutation(mutation: IMutationInfo): CollaborationState;
|
|
154
153
|
onRemoteChangeset(changeset: IChangeset): CollaborationState;
|
|
155
154
|
onRemoteAck(): CollaborationState;
|
|
@@ -174,7 +173,7 @@ export declare class AwaitingState extends CollaborationState {
|
|
|
174
173
|
private _maxTotalRetryTimeout;
|
|
175
174
|
private _resendTimer;
|
|
176
175
|
private _sender;
|
|
177
|
-
constructor(unitID: string, type:
|
|
176
|
+
constructor(unitID: string, type: UniverInstanceType, awaitingChangeset: IChangeset, handler: ICollaborationStateHandler, _injector: Injector, revisionService: RevisionService, commandService: ICommandService, _logService: ILogService, _transformService: ITransformService, undoRedoService: ICollaborativeUndoRedoService, localCacheService?: ILocalCacheService);
|
|
178
177
|
appendMutation(mutation: IMutationInfo): CollaborationState;
|
|
179
178
|
onRemoteChangeset(changeset: IChangeset): CollaborationState;
|
|
180
179
|
onRemoteAck(changeset: IAcknowledgedChangeset): CollaborationState;
|
|
@@ -203,7 +202,7 @@ export declare class AwaitingWithPendingState extends CollaborationState {
|
|
|
203
202
|
private _maxTotalRetryTimeout;
|
|
204
203
|
private _resendTimer;
|
|
205
204
|
private _sender;
|
|
206
|
-
constructor(unitID: string, type:
|
|
205
|
+
constructor(unitID: string, type: UniverInstanceType, awaitingChangeset: IChangeset, pendingMutations: IMutationInfo[], handler: ICollaborationStateHandler, timer: Observable<{
|
|
207
206
|
timeout: number;
|
|
208
207
|
reqId: number;
|
|
209
208
|
}> | undefined, _injector: Injector, revisionService: RevisionService, commandService: ICommandService, _logService: ILogService, _transformService: ITransformService, undoRedoService: ICollaborativeUndoRedoService, localCacheService?: ILocalCacheService | undefined);
|
|
@@ -234,7 +233,7 @@ export declare class ConflictState extends CollaborationState {
|
|
|
234
233
|
private readonly _collaborationUIEventService;
|
|
235
234
|
private readonly localCacheService?;
|
|
236
235
|
readonly status = CollaborationStatus.CONFLICT;
|
|
237
|
-
constructor(unitID: string, type:
|
|
236
|
+
constructor(unitID: string, type: UniverInstanceType, awaitingChangeset: Nullable<IChangeset>, pendingMutations: IMutationInfo[], handler: ICollaborationStateHandler, _isPermissionRej: boolean | undefined, _permissionService: IPermissionService, commandService: ICommandService, undoRedoService: ICollaborativeUndoRedoService, revisionService: RevisionService, _localeService: LocaleService, _collaborationUIEventService: CollaborationUIEventService, localCacheService?: ILocalCacheService | undefined);
|
|
238
237
|
appendMutation(): CollaborationState;
|
|
239
238
|
onRemoteChangeset(): CollaborationState;
|
|
240
239
|
onRemoteAck(): CollaborationState;
|
|
@@ -250,7 +249,7 @@ export declare class ConflictState extends CollaborationState {
|
|
|
250
249
|
export declare class OfflineState extends CollaborationState {
|
|
251
250
|
private readonly _injector;
|
|
252
251
|
readonly status = CollaborationStatus.OFFLINE;
|
|
253
|
-
constructor(unitID: string, type:
|
|
252
|
+
constructor(unitID: string, type: UniverInstanceType, awaitingChangeset: Nullable<IChangeset>, pendingMutations: IMutationInfo[], handler: ICollaborationStateHandler, _injector: Injector, revisionService: RevisionService, commandService: ICommandService, undoRedoService: ICollaborativeUndoRedoService, localCacheService?: ILocalCacheService);
|
|
254
253
|
appendMutation(mutation: IMutationInfo): CollaborationState;
|
|
255
254
|
onRemoteChangeset(_changeset: IChangeset): CollaborationState;
|
|
256
255
|
onRemoteAck(): CollaborationState;
|
|
@@ -279,7 +278,7 @@ export declare class FetchingMissState extends CollaborationState {
|
|
|
279
278
|
private readonly _transformService;
|
|
280
279
|
private readonly localCacheService?;
|
|
281
280
|
readonly status = CollaborationStatus.FETCH_MISS;
|
|
282
|
-
constructor(unitID: string, type:
|
|
281
|
+
constructor(unitID: string, type: UniverInstanceType, awaitingChangeset: Nullable<IChangeset>, pendingMutations: IMutationInfo[],
|
|
283
282
|
/**
|
|
284
283
|
* The awaiting changeset may have been acknowledged when missing is detected.
|
|
285
284
|
* We need to transform missing changeset against this acknowledged changeset,
|
|
@@ -299,4 +298,4 @@ export declare class FetchingMissState extends CollaborationState {
|
|
|
299
298
|
toggleOnline(): CollaborationState;
|
|
300
299
|
private _onConflict;
|
|
301
300
|
}
|
|
302
|
-
export declare function createOnlineState(injector: Injector, unitID: string, type:
|
|
301
|
+
export declare function createOnlineState(injector: Injector, unitID: string, type: UniverInstanceType, awaitingChangeset: Nullable<IChangeset>, mutations: IMutationInfo[], handler: ICollaborationStateHandler): SyncedState | PendingState | AwaitingState | AwaitingWithPendingState;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { UnitModel } from '@univerjs/core';
|
|
2
2
|
import { SnapshotService } from '@univerjs-pro/collaboration';
|
|
3
|
-
import { ILogService, RxDisposable } from '@univerjs/core';
|
|
4
|
-
import { UniverType } from '@univerjs/protocol';
|
|
3
|
+
import { ILogService, RxDisposable, UniverInstanceType } from '@univerjs/core';
|
|
5
4
|
import { ILocalCacheService } from '../local-cache/local-cache.service';
|
|
6
5
|
export interface IUnitInfo {
|
|
7
6
|
unitId: string;
|
|
8
|
-
type:
|
|
7
|
+
type: UniverInstanceType;
|
|
9
8
|
subUnitId?: string;
|
|
10
9
|
}
|
|
11
10
|
/**
|
|
@@ -18,6 +17,6 @@ export declare class DataLoaderService extends RxDisposable {
|
|
|
18
17
|
private readonly _unitInfo$;
|
|
19
18
|
readonly unitInfo$: import("rxjs").Observable<IUnitInfo | null>;
|
|
20
19
|
constructor(_logService: ILogService, _snapshotService: SnapshotService, _localCacheService?: ILocalCacheService | undefined);
|
|
21
|
-
loadUnitOfRevision(unitId: string, type:
|
|
22
|
-
loadUnit(unitId: string, type:
|
|
20
|
+
loadUnitOfRevision(unitId: string, type: UniverInstanceType, rev: number): Promise<UnitModel | null>;
|
|
21
|
+
loadUnit(unitId: string, type: UniverInstanceType, subUnitId?: string): Promise<UnitModel | null>;
|
|
23
22
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { IChangeset } from '@univerjs-pro/collaboration';
|
|
2
|
-
import type { IMutationInfo, Nullable } from '@univerjs/core';
|
|
3
|
-
import type { UniverType } from '@univerjs/protocol';
|
|
2
|
+
import type { IMutationInfo, Nullable, UniverInstanceType } from '@univerjs/core';
|
|
4
3
|
export interface IUnitCacheData {
|
|
5
4
|
unitID: string;
|
|
6
|
-
type:
|
|
5
|
+
type: UniverInstanceType;
|
|
7
6
|
rev: number;
|
|
8
7
|
awaitingChangeset: Nullable<IChangeset>;
|
|
9
8
|
mutations: IMutationInfo[];
|
|
@@ -11,7 +10,7 @@ export interface IUnitCacheData {
|
|
|
11
10
|
export interface ILocalCacheService {
|
|
12
11
|
loadOfflineData(unitID: string): Promise<Nullable<IUnitCacheData>>;
|
|
13
12
|
saveOfflineData(unitID: string, data: IUnitCacheData): Promise<boolean>;
|
|
14
|
-
updateOfflineData(unitID: string, type:
|
|
13
|
+
updateOfflineData(unitID: string, type: UniverInstanceType, awaitingChangeset: Nullable<IChangeset>, pendingMutations: IMutationInfo[]): void;
|
|
15
14
|
disableLocalCache(): void;
|
|
16
15
|
enableLocalCache(): void;
|
|
17
16
|
exhaustSavingTask(): Promise<void>;
|