@univerjs-pro/collaboration-client 0.5.3 → 0.5.4-experimental.20250114-7c09c35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- function _0x3712(_0x15c994,_0x3db335){const _0x332ea5=_0x332e();return _0x3712=function(_0x3712f5,_0x36ff6e){_0x3712f5=_0x3712f5-0x1ef;let _0x40b117=_0x332ea5[_0x3712f5];return _0x40b117;},_0x3712(_0x15c994,_0x3db335);}function _0x332e(){const _0x488323=['Syncing...','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','44Qjyhhi','Collaboration\x20Conflict','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1715148GguLMm','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','9uiZmtL','Click\x20to\x20Reconnect','Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','11888VOaKsZ','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','42884VvGoWp','473795iyHmff','14385899DKUoSl','8aNftIV','2814EjCDNr','24QJytnB','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.','Local\x20file','5499498lPwloH','Synced','Connection\x20failed.\x20Please\x20check\x20your\x20network.','1352390AIOydq'];_0x332e=function(){return _0x488323;};return _0x332e();}const _0x2dca03=_0x3712;(function(_0x75fccd,_0x3d8bf3){const _0x89975=_0x3712,_0x56d230=_0x75fccd();while(!![]){try{const _0x387554=parseInt(_0x89975(0x1f8))/0x1*(-parseInt(_0x89975(0x1fb))/0x2)+parseInt(_0x89975(0x1ef))/0x3+-parseInt(_0x89975(0x206))/0x4*(parseInt(_0x89975(0x1f9))/0x5)+-parseInt(_0x89975(0x200))/0x6+parseInt(_0x89975(0x1fc))/0x7*(-parseInt(_0x89975(0x1f5))/0x8)+parseInt(_0x89975(0x1f1))/0x9*(parseInt(_0x89975(0x203))/0xa)+parseInt(_0x89975(0x1fa))/0xb*(parseInt(_0x89975(0x1fd))/0xc);if(_0x387554===_0x3d8bf3)break;else _0x56d230['push'](_0x56d230['shift']());}catch(_0x48997b){_0x56d230['push'](_0x56d230['shift']());}}}(_0x332e,0x9132d));const e={'collab-client':{'tooltip':{'reconnect':_0x2dca03(0x1f2)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x2dca03(0x1f3),'notCollab':_0x2dca03(0x1ff),'synced':_0x2dca03(0x201),'syncing':_0x2dca03(0x204),'offline':_0x2dca03(0x1f7)},'session':{'connection-failed':_0x2dca03(0x202),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x2dca03(0x1f0),'join-failed':_0x2dca03(0x1f4),'room-not-exists':_0x2dca03(0x208),'room-permission-denied':_0x2dca03(0x205),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x2dca03(0x1f6)},'conflict':{'title':_0x2dca03(0x207),'content':_0x2dca03(0x1fe)},'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':'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':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
1
+ const _0x1f5ee2=_0x2310;(function(_0x53db0e,_0x2fa71f){const _0x568873=_0x2310,_0x509eaa=_0x53db0e();while(!![]){try{const _0x47a2e2=parseInt(_0x568873(0x1ab))/0x1+-parseInt(_0x568873(0x1ac))/0x2+-parseInt(_0x568873(0x1b7))/0x3+parseInt(_0x568873(0x1b5))/0x4+parseInt(_0x568873(0x1a6))/0x5*(parseInt(_0x568873(0x1b3))/0x6)+parseInt(_0x568873(0x1ad))/0x7+parseInt(_0x568873(0x1a4))/0x8*(-parseInt(_0x568873(0x1bc))/0x9);if(_0x47a2e2===_0x2fa71f)break;else _0x509eaa['push'](_0x509eaa['shift']());}catch(_0x496281){_0x509eaa['push'](_0x509eaa['shift']());}}}(_0x28fc,0xeead6));function _0x28fc(){const _0xbe40eb=['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.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','403248ncaYfA','Click\x20to\x20Reconnect','5201108USPkLM','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2401440Idmuoc','Local\x20file','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Collaboration\x20Conflict','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1917DwYTCX','20752aHKokT','Synced','20JfWHMO','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Edit\x20conflicts','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','263916qltArz','1947262eJdQsS','10298610JlxYYP','Authentication\x20Error'];_0x28fc=function(){return _0xbe40eb;};return _0x28fc();}function _0x2310(_0x262b4e,_0x3198dd){const _0x28fc8f=_0x28fc();return _0x2310=function(_0x2310b3,_0x345ed9){_0x2310b3=_0x2310b3-0x1a4;let _0x3b3dd2=_0x28fc8f[_0x2310b3];return _0x3b3dd2;},_0x2310(_0x262b4e,_0x3198dd);}const e={'collab-client':{'tooltip':{'reconnect':_0x1f5ee2(0x1b4)}},'collabStatus':{'fetchMiss':_0x1f5ee2(0x1b2),'conflict':_0x1f5ee2(0x1a8),'notCollab':_0x1f5ee2(0x1b8),'synced':_0x1f5ee2(0x1a5),'syncing':'Syncing...','offline':_0x1f5ee2(0x1aa)},'session':{'connection-failed':_0x1f5ee2(0x1b0),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x1f5ee2(0x1b6),'room-permission-denied':_0x1f5ee2(0x1b9),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x1f5ee2(0x1a9)},'conflict':{'title':_0x1f5ee2(0x1ba),'content':_0x1f5ee2(0x1af)},'permission':{'title':_0x1f5ee2(0x1ae),'content':_0x1f5ee2(0x1a7)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x1f5ee2(0x1bb)},'auth':{'needGotoLoginAlert':_0x1f5ee2(0x1b1)}};export{e as default};
@@ -1 +1 @@
1
- const _0x4a86ca=_0xd6bb;function _0x22c2(){const _0x41fe79=['729040aOPucB','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','799686MbxZxj','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','2625176gMrPwf','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','خطای\x20اعتبارسنجی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی‌دهد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','317826OaapEy','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','در\x20حال\x20همگام\x20سازی...','159680WsPUfG','تداخل\x20همکاری','441064obcdUb','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','146352bJUurQ','7GqkwGZ','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','6utyXzX','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'];_0x22c2=function(){return _0x41fe79;};return _0x22c2();}function _0xd6bb(_0x3a12db,_0x54e263){const _0x22c2b4=_0x22c2();return _0xd6bb=function(_0xd6bb54,_0x2bf024){_0xd6bb54=_0xd6bb54-0x13b;let _0x327fb3=_0x22c2b4[_0xd6bb54];return _0x327fb3;},_0xd6bb(_0x3a12db,_0x54e263);}(function(_0x96c2ce,_0x2f2a93){const _0x54be8d=_0xd6bb,_0x8dc9de=_0x96c2ce();while(!![]){try{const _0x3ecf10=-parseInt(_0x54be8d(0x147))/0x1+-parseInt(_0x54be8d(0x14a))/0x2+parseInt(_0x54be8d(0x152))/0x3*(parseInt(_0x54be8d(0x14c))/0x4)+parseInt(_0x54be8d(0x13b))/0x5+-parseInt(_0x54be8d(0x14f))/0x6*(parseInt(_0x54be8d(0x150))/0x7)+parseInt(_0x54be8d(0x141))/0x8+-parseInt(_0x54be8d(0x13e))/0x9;if(_0x3ecf10===_0x2f2a93)break;else _0x8dc9de['push'](_0x8dc9de['shift']());}catch(_0x456557){_0x8dc9de['push'](_0x8dc9de['shift']());}}}(_0x22c2,0x2cd17));const o={'collab-client':{'tooltip':{'reconnect':_0x4a86ca(0x151)}},'collabStatus':{'fetchMiss':_0x4a86ca(0x145),'conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':'همگام\x20سازی','syncing':_0x4a86ca(0x149),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x4a86ca(0x13f),'join-failed':_0x4a86ca(0x140),'room-not-exists':_0x4a86ca(0x14d),'room-permission-denied':_0x4a86ca(0x153),'room-cnt-exceeds':_0x4a86ca(0x14e),'collaboration-timeout':_0x4a86ca(0x146)},'conflict':{'title':_0x4a86ca(0x14b),'content':_0x4a86ca(0x13d)},'permission':{'title':_0x4a86ca(0x144),'content':_0x4a86ca(0x142)},'collaboration':{'single-unit':{'warning':_0x4a86ca(0x148)},'closeRoom':_0x4a86ca(0x143)},'auth':{'needGotoLoginAlert':_0x4a86ca(0x13c)}};export{o as default};
1
+ const _0x475632=_0x5c85;function _0x5c85(_0x1db14b,_0x263c71){const _0x1b23b4=_0x1b23();return _0x5c85=function(_0x5c85dc,_0x4f3096){_0x5c85dc=_0x5c85dc-0x1ed;let _0x163036=_0x1b23b4[_0x5c85dc];return _0x163036;},_0x5c85(_0x1db14b,_0x263c71);}(function(_0x3bf8ee,_0x1e7b50){const _0x3b7480=_0x5c85,_0x1a0b22=_0x3bf8ee();while(!![]){try{const _0x35c481=parseInt(_0x3b7480(0x1f5))/0x1*(-parseInt(_0x3b7480(0x1ff))/0x2)+parseInt(_0x3b7480(0x1f1))/0x3*(-parseInt(_0x3b7480(0x1f0))/0x4)+-parseInt(_0x3b7480(0x202))/0x5+-parseInt(_0x3b7480(0x1f4))/0x6*(parseInt(_0x3b7480(0x1ef))/0x7)+-parseInt(_0x3b7480(0x1fb))/0x8*(-parseInt(_0x3b7480(0x1f3))/0x9)+parseInt(_0x3b7480(0x1f6))/0xa*(-parseInt(_0x3b7480(0x1f7))/0xb)+parseInt(_0x3b7480(0x1f8))/0xc;if(_0x35c481===_0x1e7b50)break;else _0x1a0b22['push'](_0x1a0b22['shift']());}catch(_0x56261b){_0x1a0b22['push'](_0x1a0b22['shift']());}}}(_0x1b23,0x5a1b3));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x475632(0x1fe),'conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':'همگام\x20سازی','syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x475632(0x1f9)},'session':{'connection-failed':_0x475632(0x1ed),'will-retry':_0x475632(0x1ee),'room-full':'ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','join-failed':_0x475632(0x1fc),'room-not-exists':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-permission-denied':'دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-cnt-exceeds':'تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی‌دهد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'},'conflict':{'title':_0x475632(0x1fd),'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':_0x475632(0x201),'content':_0x475632(0x200)},'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':_0x475632(0x1fa)},'auth':{'needGotoLoginAlert':_0x475632(0x1f2)}};export{o as default};function _0x1b23(){const _0x2b7725=['520732CCShDh','9ZmRvmC','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','425484gYWiZL','6iqjaBH','688561sLPLsc','590CQEzXn','28699ILlirz','26908296xNRnTf','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','24OLFbXg','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','تداخل\x20همکاری','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','2hzxTcS','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','خطای\x20اعتبارسنجی','1079415HdfeVm','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','3963309styCEc'];_0x1b23=function(){return _0x2b7725;};return _0x1b23();}
@@ -1 +1 @@
1
- const _0x2f4ae6=_0x3357;function _0x2cd0(){const _0x50b151=['Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect','25547330PnOSFW','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','5940396MhPoyw','8WIBDMY','Authentication\x20Error','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\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.','Collaboration\x20Conflict','999326ulTYxw','3896npegpE','8251911AuaFse','Synced','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.','824430VpiJAx','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','924318oxrEqh','Syncing\x20server\x20data...','2235gyGTCf','3qWysRJ'];_0x2cd0=function(){return _0x50b151;};return _0x2cd0();}(function(_0x55a495,_0x5e9921){const _0x2617d4=_0x3357,_0x356e39=_0x55a495();while(!![]){try{const _0x5cfa7a=-parseInt(_0x2617d4(0x198))/0x1+parseInt(_0x2617d4(0x193))/0x2*(-parseInt(_0x2617d4(0x19f))/0x3)+-parseInt(_0x2617d4(0x194))/0x4*(parseInt(_0x2617d4(0x19e))/0x5)+-parseInt(_0x2617d4(0x19c))/0x6+parseInt(_0x2617d4(0x18d))/0x7+-parseInt(_0x2617d4(0x18e))/0x8*(parseInt(_0x2617d4(0x195))/0x9)+parseInt(_0x2617d4(0x1a2))/0xa;if(_0x5cfa7a===_0x5e9921)break;else _0x356e39['push'](_0x356e39['shift']());}catch(_0x11e666){_0x356e39['push'](_0x356e39['shift']());}}}(_0x2cd0,0x8be1e));function _0x3357(_0x3dbe68,_0x13cfbb){const _0x2cd010=_0x2cd0();return _0x3357=function(_0x3357b2,_0x53c4f5){_0x3357b2=_0x3357b2-0x18c;let _0x13b177=_0x2cd010[_0x3357b2];return _0x13b177;},_0x3357(_0x3dbe68,_0x13cfbb);}const e={'collab-client':{'tooltip':{'reconnect':_0x2f4ae6(0x1a1)}},'collabStatus':{'fetchMiss':_0x2f4ae6(0x19d),'conflict':'Edit\x20conflicts','notCollab':_0x2f4ae6(0x19a),'synced':_0x2f4ae6(0x196),'syncing':'Syncing...','offline':_0x2f4ae6(0x199)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x2f4ae6(0x18c),'room-not-exists':_0x2f4ae6(0x1a0),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x2f4ae6(0x190),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x2f4ae6(0x192),'content':_0x2f4ae6(0x197)},'permission':{'title':_0x2f4ae6(0x18f),'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':_0x2f4ae6(0x191)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x2f4ae6(0x19b)}},o=e;export{o as default};
1
+ const _0x5080d7=_0x4905;function _0x4d2f(){const _0x403e85=['780954meXUyQ','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.','8gCgZDd','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','4943547TUvHnC','915075UeHUIz','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','2378733HYnwAi','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','4748iCQkGC','Edit\x20conflicts','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','2005RiimSu','Syncing...','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','708200gbjJkr','Collaboration\x20Conflict','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','463443rKDjkh'];_0x4d2f=function(){return _0x403e85;};return _0x4d2f();}(function(_0x16874f,_0x280c1d){const _0x40897a=_0x4905,_0x30fa72=_0x16874f();while(!![]){try{const _0x459b4b=-parseInt(_0x40897a(0x17c))/0x1+parseInt(_0x40897a(0x193))/0x2+parseInt(_0x40897a(0x187))/0x3+parseInt(_0x40897a(0x18a))/0x4*(parseInt(_0x40897a(0x190))/0x5)+parseInt(_0x40897a(0x17d))/0x6+-parseInt(_0x40897a(0x183))/0x7*(parseInt(_0x40897a(0x17f))/0x8)+-parseInt(_0x40897a(0x184))/0x9;if(_0x459b4b===_0x280c1d)break;else _0x30fa72['push'](_0x30fa72['shift']());}catch(_0x20a120){_0x30fa72['push'](_0x30fa72['shift']());}}}(_0x4d2f,0x75a1a));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x5080d7(0x182),'conflict':_0x5080d7(0x18b),'notCollab':_0x5080d7(0x188),'synced':_0x5080d7(0x18d),'syncing':_0x5080d7(0x191),'offline':_0x5080d7(0x189)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x5080d7(0x186),'room-full':_0x5080d7(0x180),'join-failed':_0x5080d7(0x18e),'room-not-exists':_0x5080d7(0x192),'room-permission-denied':_0x5080d7(0x185),'room-cnt-exceeds':_0x5080d7(0x18c),'collaboration-timeout':_0x5080d7(0x195)},'conflict':{'title':_0x5080d7(0x194),'content':_0x5080d7(0x17e)},'permission':{'title':'Authentication\x20Error','content':_0x5080d7(0x18f)},'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':_0x5080d7(0x181)}},o=e;function _0x4905(_0x3e700c,_0x4e4b2c){const _0x4d2fea=_0x4d2f();return _0x4905=function(_0x4905d6,_0x96793f){_0x4905d6=_0x4905d6-0x17c;let _0x72a8f=_0x4d2fea[_0x4905d6];return _0x72a8f;},_0x4905(_0x3e700c,_0x4e4b2c);}export{o as default};
@@ -1 +1 @@
1
- const _0x4fa1a7=_0x432f;function _0x432f(_0x282318,_0x31a64c){const _0x369f0a=_0x369f();return _0x432f=function(_0x432fac,_0x5e4041){_0x432fac=_0x432fac-0x19d;let _0x385b0a=_0x369f0a[_0x432fac];return _0x385b0a;},_0x432f(_0x282318,_0x31a64c);}(function(_0x449166,_0x31ec32){const _0x3e4c94=_0x432f,_0x206d60=_0x449166();while(!![]){try{const _0x194d1a=-parseInt(_0x3e4c94(0x1a2))/0x1+-parseInt(_0x3e4c94(0x1a8))/0x2*(-parseInt(_0x3e4c94(0x1b1))/0x3)+parseInt(_0x3e4c94(0x19e))/0x4+parseInt(_0x3e4c94(0x1ae))/0x5+-parseInt(_0x3e4c94(0x1ab))/0x6+parseInt(_0x3e4c94(0x1ad))/0x7*(parseInt(_0x3e4c94(0x1a9))/0x8)+-parseInt(_0x3e4c94(0x1b4))/0x9*(parseInt(_0x3e4c94(0x1b6))/0xa);if(_0x194d1a===_0x31ec32)break;else _0x206d60['push'](_0x206d60['shift']());}catch(_0x500a35){_0x206d60['push'](_0x206d60['shift']());}}}(_0x369f,0x30f40));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x4fa1a7(0x19f),'conflict':_0x4fa1a7(0x1a1),'notCollab':_0x4fa1a7(0x1b0),'synced':_0x4fa1a7(0x1ac),'syncing':'Syncing...','offline':_0x4fa1a7(0x1a6)},'session':{'connection-failed':_0x4fa1a7(0x1a7),'will-retry':_0x4fa1a7(0x1b3),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x4fa1a7(0x1a5),'room-not-exists':_0x4fa1a7(0x1af),'room-permission-denied':_0x4fa1a7(0x1a3),'room-cnt-exceeds':_0x4fa1a7(0x19d),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x4fa1a7(0x1b2)},'permission':{'title':_0x4fa1a7(0x1b5),'content':_0x4fa1a7(0x1b7)},'collaboration':{'single-unit':{'warning':_0x4fa1a7(0x1aa)},'closeRoom':_0x4fa1a7(0x1a0)},'auth':{'needGotoLoginAlert':_0x4fa1a7(0x1a4)}},o=e;export{o as default};function _0x369f(){const _0x3d3c63=['Authentication\x20Error','810Pbjfif','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1225412XkVpJc','Syncing\x20server\x20data...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','245821CiUKOP','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed.\x20Please\x20check\x20your\x20network.','38328taUdmc','319048NwDipd','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1064370liNTqK','Synced','7DkCFuE','1230105TKjyvK','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','18gcuBJU','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.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','9279dLaysd'];_0x369f=function(){return _0x3d3c63;};return _0x369f();}
1
+ function _0x25fe(_0x3b2b43,_0x584d5a){const _0x198819=_0x1988();return _0x25fe=function(_0x25fe0f,_0x3a8509){_0x25fe0f=_0x25fe0f-0x111;let _0x1d3749=_0x198819[_0x25fe0f];return _0x1d3749;},_0x25fe(_0x3b2b43,_0x584d5a);}const _0x4d52db=_0x25fe;function _0x1988(){const _0x259833=['5996sxmzeP','Synced','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.','243GOzMKA','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.','Syncing\x20server\x20data...','50704dFrUUH','497VeqBqk','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','35AcDJSh','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1811GkjoRh','44320BOFIYC','24lgmrNj','143SovdOp','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.','334890GqOfqZ','Syncing...','Click\x20to\x20Reconnect','Collaboration\x20Conflict','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','6741722TxhHZE','3901689lkikoi','510GjahbT','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.'];_0x1988=function(){return _0x259833;};return _0x1988();}(function(_0x168f7a,_0x173f1d){const _0x825086=_0x25fe,_0x703ea6=_0x168f7a();while(!![]){try{const _0x57b625=parseInt(_0x825086(0x11e))/0x1*(-parseInt(_0x825086(0x12e))/0x2)+parseInt(_0x825086(0x114))/0x3*(parseInt(_0x825086(0x111))/0x4)+-parseInt(_0x825086(0x11c))/0x5*(-parseInt(_0x825086(0x124))/0x6)+parseInt(_0x825086(0x119))/0x7*(-parseInt(_0x825086(0x118))/0x8)+-parseInt(_0x825086(0x12d))/0x9+-parseInt(_0x825086(0x11f))/0xa*(-parseInt(_0x825086(0x121))/0xb)+parseInt(_0x825086(0x120))/0xc*(parseInt(_0x825086(0x12c))/0xd);if(_0x57b625===_0x173f1d)break;else _0x703ea6['push'](_0x703ea6['shift']());}catch(_0x5876e3){_0x703ea6['push'](_0x703ea6['shift']());}}}(_0x1988,0x3fde4));const e={'collab-client':{'tooltip':{'reconnect':_0x4d52db(0x126)}},'collabStatus':{'fetchMiss':_0x4d52db(0x117),'conflict':_0x4d52db(0x129),'notCollab':'Local\x20file','synced':_0x4d52db(0x112),'syncing':_0x4d52db(0x125),'offline':_0x4d52db(0x128)},'session':{'connection-failed':_0x4d52db(0x11b),'will-retry':_0x4d52db(0x130),'room-full':_0x4d52db(0x123),'join-failed':_0x4d52db(0x115),'room-not-exists':_0x4d52db(0x12f),'room-permission-denied':_0x4d52db(0x12a),'room-cnt-exceeds':_0x4d52db(0x122),'collaboration-timeout':_0x4d52db(0x116)},'conflict':{'title':_0x4d52db(0x127),'content':_0x4d52db(0x113)},'permission':{'title':'Authentication\x20Error','content':_0x4d52db(0x11d)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x4d52db(0x11a)},'auth':{'needGotoLoginAlert':_0x4d52db(0x12b)}},o=e;export{o as default};
@@ -1 +1 @@
1
- const _0x24d2c8=_0x42b3;function _0x2ea5(){const _0x5f5c76=['Click\x20to\x20Reconnect','384948EajMxM','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','204sUyRxT','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict','Syncing...','6RGxghL','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','64380WGuzju','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.','4havwfw','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','279uxJJNU','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','158005hhIJgm','451xrAYvH','2685123hKfxxX','Synced','319912LZMDml','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','5517414UgjVJb','98504PpBASx','Connection\x20failed.\x20Please\x20check\x20your\x20network.'];_0x2ea5=function(){return _0x5f5c76;};return _0x2ea5();}function _0x42b3(_0x72ce83,_0xf2c1a5){const _0x2ea530=_0x2ea5();return _0x42b3=function(_0x42b3e4,_0x56a123){_0x42b3e4=_0x42b3e4-0x1d6;let _0x12b7ef=_0x2ea530[_0x42b3e4];return _0x12b7ef;},_0x42b3(_0x72ce83,_0xf2c1a5);}(function(_0x3c0ad2,_0x3e4dbc){const _0x5b95b6=_0x42b3,_0x3211dd=_0x3c0ad2();while(!![]){try{const _0x54631b=-parseInt(_0x5b95b6(0x1f1))/0x1*(-parseInt(_0x5b95b6(0x1e0))/0x2)+parseInt(_0x5b95b6(0x1ef))/0x3*(-parseInt(_0x5b95b6(0x1e4))/0x4)+-parseInt(_0x5b95b6(0x1ed))/0x5*(parseInt(_0x5b95b6(0x1dc))/0x6)+parseInt(_0x5b95b6(0x1d6))/0x7+parseInt(_0x5b95b6(0x1d7))/0x8*(-parseInt(_0x5b95b6(0x1e9))/0x9)+parseInt(_0x5b95b6(0x1e2))/0xa+-parseInt(_0x5b95b6(0x1ee))/0xb*(-parseInt(_0x5b95b6(0x1da))/0xc);if(_0x54631b===_0x3e4dbc)break;else _0x3211dd['push'](_0x3211dd['shift']());}catch(_0x447595){_0x3211dd['push'](_0x3211dd['shift']());}}}(_0x2ea5,0xaf665));const e={'collab-client':{'tooltip':{'reconnect':_0x24d2c8(0x1d9)}},'collabStatus':{'fetchMiss':_0x24d2c8(0x1e6),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x24d2c8(0x1f0),'syncing':_0x24d2c8(0x1df),'offline':_0x24d2c8(0x1f2)},'session':{'connection-failed':_0x24d2c8(0x1d8),'will-retry':_0x24d2c8(0x1e1),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x24d2c8(0x1ec),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x24d2c8(0x1ea),'room-cnt-exceeds':_0x24d2c8(0x1e7),'collaboration-timeout':_0x24d2c8(0x1e8)},'conflict':{'title':_0x24d2c8(0x1de),'content':_0x24d2c8(0x1e3)},'permission':{'title':_0x24d2c8(0x1eb),'content':_0x24d2c8(0x1db)},'collaboration':{'single-unit':{'warning':_0x24d2c8(0x1e5)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x24d2c8(0x1dd)}},o=e;export{o as default};
1
+ const _0x2e1c88=_0xa9bf;(function(_0x1a1ec9,_0x37a03e){const _0xcf4307=_0xa9bf,_0xb3030f=_0x1a1ec9();while(!![]){try{const _0x3041ee=-parseInt(_0xcf4307(0x1dc))/0x1*(parseInt(_0xcf4307(0x1d0))/0x2)+parseInt(_0xcf4307(0x1e4))/0x3*(-parseInt(_0xcf4307(0x1df))/0x4)+-parseInt(_0xcf4307(0x1cc))/0x5*(parseInt(_0xcf4307(0x1e0))/0x6)+parseInt(_0xcf4307(0x1d7))/0x7*(parseInt(_0xcf4307(0x1da))/0x8)+-parseInt(_0xcf4307(0x1d8))/0x9+-parseInt(_0xcf4307(0x1e2))/0xa+parseInt(_0xcf4307(0x1e1))/0xb;if(_0x3041ee===_0x37a03e)break;else _0xb3030f['push'](_0xb3030f['shift']());}catch(_0x4dd893){_0xb3030f['push'](_0xb3030f['shift']());}}}(_0x2fb1,0xeeff5));function _0xa9bf(_0x3fcb37,_0x3981e4){const _0x2fb18c=_0x2fb1();return _0xa9bf=function(_0xa9bf22,_0x293fe5){_0xa9bf22=_0xa9bf22-0x1cb;let _0x3cc3e7=_0x2fb18c[_0xa9bf22];return _0x3cc3e7;},_0xa9bf(_0x3fcb37,_0x3981e4);}const e={'collab-client':{'tooltip':{'reconnect':_0x2e1c88(0x1ce)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':_0x2e1c88(0x1cb),'synced':'Synced','syncing':_0x2e1c88(0x1cd),'offline':_0x2e1c88(0x1de)},'session':{'connection-failed':_0x2e1c88(0x1d9),'will-retry':_0x2e1c88(0x1e3),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x2e1c88(0x1db),'room-permission-denied':_0x2e1c88(0x1d4),'room-cnt-exceeds':_0x2e1c88(0x1d6),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x2e1c88(0x1dd),'content':_0x2e1c88(0x1d1)},'permission':{'title':_0x2e1c88(0x1cf),'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':_0x2e1c88(0x1d3)},'closeRoom':_0x2e1c88(0x1d2)},'auth':{'needGotoLoginAlert':_0x2e1c88(0x1d5)}},o=e;function _0x2fb1(){const _0x4a4ac6=['No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','6494971YkRTJm','4827987RUlNpP','Connection\x20failed.\x20Please\x20check\x20your\x20network.','8scllZq','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','92477EURYPt','Collaboration\x20Conflict','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','20PVBOjS','19146voZMvv','31381284KbpboL','14062730BTQoRV','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','109794usFuZq','Local\x20file','45IiIdbu','Syncing...','Click\x20to\x20Reconnect','Authentication\x20Error','14crXvHd','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.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'];_0x2fb1=function(){return _0x4a4ac6;};return _0x2fb1();}export{o as default};
@@ -1 +1 @@
1
- const _0x539521=_0x49c0;(function(_0x767e07,_0x12d7db){const _0x5eb31c=_0x49c0,_0x52ea48=_0x767e07();while(!![]){try{const _0x5da59c=parseInt(_0x5eb31c(0x17c))/0x1+parseInt(_0x5eb31c(0x18b))/0x2*(-parseInt(_0x5eb31c(0x17f))/0x3)+parseInt(_0x5eb31c(0x186))/0x4*(-parseInt(_0x5eb31c(0x18e))/0x5)+parseInt(_0x5eb31c(0x17d))/0x6+parseInt(_0x5eb31c(0x191))/0x7+-parseInt(_0x5eb31c(0x188))/0x8*(-parseInt(_0x5eb31c(0x18d))/0x9)+parseInt(_0x5eb31c(0x185))/0xa*(-parseInt(_0x5eb31c(0x17e))/0xb);if(_0x5da59c===_0x12d7db)break;else _0x52ea48['push'](_0x52ea48['shift']());}catch(_0x110182){_0x52ea48['push'](_0x52ea48['shift']());}}}(_0xa85d,0x30480));function _0x49c0(_0x3404c2,_0x47509e){const _0xa85dd2=_0xa85d();return _0x49c0=function(_0x49c00c,_0x4a3a74){_0x49c00c=_0x49c00c-0x17a;let _0x3ca339=_0xa85dd2[_0x49c00c];return _0x3ca339;},_0x49c0(_0x3404c2,_0x47509e);}function _0xa85d(){const _0x4bd92d=['加入协同失败,请稍后重试,你的编辑将在本地缓存','此文档协同人数已满,你的编辑将在本地缓存','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','连接失败,将在一会儿之后重试连接','点击重新连接','54021EPHeTt','1213566oECgMC','27863xNuZha','33039QuHzRD','加入协同失败,你的编辑将在本地缓存','编辑冲突','本地文件','协同文档数量超过限制,你的编辑将在本地缓存','正在拉取服务端数据...','1330ZQuuPA','92248bCjRpM','保存中...','1064FUMzSI','服务器未响应,你的编辑将在本地缓存','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','34aljMuf','没有协同权限,你的编辑将在本地缓存','17847qYtKIe','5pYBqon','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','已离线,编辑将在本地缓存','1574377WUfRbM','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','已同步','连接失败,请检查你的网络','协同冲突'];_0xa85d=function(){return _0x4bd92d;};return _0xa85d();}const o={'collab-client':{'tooltip':{'reconnect':_0x539521(0x17b)}},'collabStatus':{'fetchMiss':_0x539521(0x184),'conflict':_0x539521(0x181),'notCollab':_0x539521(0x182),'synced':_0x539521(0x193),'syncing':_0x539521(0x187),'offline':_0x539521(0x190)},'session':{'connection-failed':_0x539521(0x194),'will-retry':_0x539521(0x17a),'room-full':_0x539521(0x197),'join-failed':_0x539521(0x196),'room-not-exists':_0x539521(0x180),'room-permission-denied':_0x539521(0x18c),'room-cnt-exceeds':_0x539521(0x183),'collaboration-timeout':_0x539521(0x189)},'conflict':{'title':_0x539521(0x195),'content':_0x539521(0x198)},'permission':{'title':'权限错误','content':_0x539521(0x18a)},'collaboration':{'single-unit':{'warning':_0x539521(0x192)},'closeRoom':'由于协同房间被关闭,编辑权限被收回。'},'auth':{'needGotoLoginAlert':_0x539521(0x18f)}};export{o as default};
1
+ const _0x2b390f=_0x393a;(function(_0x3a3bd1,_0x4f2a51){const _0x3836db=_0x393a,_0x370f22=_0x3a3bd1();while(!![]){try{const _0x5d2fe5=parseInt(_0x3836db(0x181))/0x1*(-parseInt(_0x3836db(0x190))/0x2)+parseInt(_0x3836db(0x191))/0x3*(parseInt(_0x3836db(0x189))/0x4)+parseInt(_0x3836db(0x184))/0x5+-parseInt(_0x3836db(0x188))/0x6+-parseInt(_0x3836db(0x192))/0x7*(parseInt(_0x3836db(0x180))/0x8)+-parseInt(_0x3836db(0x19b))/0x9*(-parseInt(_0x3836db(0x193))/0xa)+-parseInt(_0x3836db(0x19a))/0xb*(parseInt(_0x3836db(0x18b))/0xc);if(_0x5d2fe5===_0x4f2a51)break;else _0x370f22['push'](_0x370f22['shift']());}catch(_0x127c33){_0x370f22['push'](_0x370f22['shift']());}}}(_0x1c6e,0x1cd99));const o={'collab-client':{'tooltip':{'reconnect':_0x2b390f(0x19d)}},'collabStatus':{'fetchMiss':_0x2b390f(0x186),'conflict':_0x2b390f(0x199),'notCollab':_0x2b390f(0x197),'synced':_0x2b390f(0x18d),'syncing':_0x2b390f(0x183),'offline':_0x2b390f(0x195)},'session':{'connection-failed':'连接失败,请检查你的网络','will-retry':'连接失败,将在一会儿之后重试连接','room-full':_0x2b390f(0x196),'join-failed':_0x2b390f(0x182),'room-not-exists':_0x2b390f(0x18f),'room-permission-denied':_0x2b390f(0x185),'room-cnt-exceeds':_0x2b390f(0x17f),'collaboration-timeout':_0x2b390f(0x187)},'conflict':{'title':_0x2b390f(0x18e),'content':_0x2b390f(0x198)},'permission':{'title':_0x2b390f(0x18a),'content':'你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'collaboration':{'single-unit':{'warning':_0x2b390f(0x19c)},'closeRoom':_0x2b390f(0x18c)},'auth':{'needGotoLoginAlert':_0x2b390f(0x194)}};function _0x393a(_0x298e22,_0x237894){const _0x1c6e7c=_0x1c6e();return _0x393a=function(_0x393ac4,_0x21179d){_0x393ac4=_0x393ac4-0x17f;let _0x1f3e2c=_0x1c6e7c[_0x393ac4];return _0x1f3e2c;},_0x393a(_0x298e22,_0x237894);}export{o as default};function _0x1c6e(){const _0x232be0=['36pBthAU','由于协同房间被关闭,编辑权限被收回。','已同步','协同冲突','加入协同失败,你的编辑将在本地缓存','29044XPGknq','373929ZSBvpZ','1379ludjnj','10xYaGXw','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','已离线,编辑将在本地缓存','此文档协同人数已满,你的编辑将在本地缓存','本地文件','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','编辑冲突','905487AabTID','1678428adhOTU','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','点击重新连接','协同文档数量超过限制,你的编辑将在本地缓存','184jGOYas','2wVKnXj','加入协同失败,请稍后重试,你的编辑将在本地缓存','保存中...','915365CTjGIv','没有协同权限,你的编辑将在本地缓存','正在拉取服务端数据...','服务器未响应,你的编辑将在本地缓存','573078ItRpSN','4TfvZWu','权限错误'];_0x1c6e=function(){return _0x232be0;};return _0x1c6e();}
@@ -1 +1 @@
1
- function _0xbd8e(_0x32e1a1,_0x21e2a8){const _0x4449fa=_0x4449();return _0xbd8e=function(_0xbd8e74,_0x269194){_0xbd8e74=_0xbd8e74-0x198;let _0x31de3a=_0x4449fa[_0xbd8e74];return _0x31de3a;},_0xbd8e(_0x32e1a1,_0x21e2a8);}const _0x442b81=_0xbd8e;function _0x4449(){const _0x24780c=['Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Local\x20file','4TmaUyi','38835wenIKQ','82094HZECNf','Syncing...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','7VFsnkj','Edit\x20conflicts','3554789hBUhYU','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','33ElfAEV','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2776630RiBvhr','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.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','851424YgaRKw','394445gfIuUL','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','2470236eBnJnx','Synced','72vwntiV','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','6uImCLd','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Collaboration\x20Conflict','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x4449=function(){return _0x24780c;};return _0x4449();}(function(_0x4e2880,_0x1f91ba){const _0x37ca03=_0xbd8e,_0x1bda52=_0x4e2880();while(!![]){try{const _0x5735c7=-parseInt(_0x37ca03(0x198))/0x1*(-parseInt(_0x37ca03(0x1b1))/0x2)+parseInt(_0x37ca03(0x1a2))/0x3+-parseInt(_0x37ca03(0x1af))/0x4*(-parseInt(_0x37ca03(0x1a3))/0x5)+parseInt(_0x37ca03(0x1a9))/0x6*(parseInt(_0x37ca03(0x19a))/0x7)+-parseInt(_0x37ca03(0x1a7))/0x8*(-parseInt(_0x37ca03(0x1b0))/0x9)+-parseInt(_0x37ca03(0x19f))/0xa+-parseInt(_0x37ca03(0x19d))/0xb*(parseInt(_0x37ca03(0x1a5))/0xc);if(_0x5735c7===_0x1f91ba)break;else _0x1bda52['push'](_0x1bda52['shift']());}catch(_0x5d12ce){_0x1bda52['push'](_0x1bda52['shift']());}}}(_0x4449,0x4999a));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x442b81(0x199),'notCollab':_0x442b81(0x1ae),'synced':_0x442b81(0x1a6),'syncing':_0x442b81(0x1b2),'offline':_0x442b81(0x1a4)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x442b81(0x1ad),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x442b81(0x19e),'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':_0x442b81(0x1aa),'collaboration-timeout':_0x442b81(0x1a1)},'conflict':{'title':_0x442b81(0x1ab),'content':_0x442b81(0x1a0)},'permission':{'title':_0x442b81(0x19c),'content':_0x442b81(0x1b3)},'collaboration':{'single-unit':{'warning':_0x442b81(0x1a8)},'closeRoom':_0x442b81(0x19b)},'auth':{'needGotoLoginAlert':_0x442b81(0x1ac)}},o=e;export{o as default};
1
+ function _0x56aa(_0x585587,_0x291bbf){const _0x499bd4=_0x499b();return _0x56aa=function(_0x56aa20,_0x391a58){_0x56aa20=_0x56aa20-0xe2;let _0x2e24e8=_0x499bd4[_0x56aa20];return _0x2e24e8;},_0x56aa(_0x585587,_0x291bbf);}const _0x4fdbbf=_0x56aa;(function(_0x16db00,_0x2732c1){const _0x640ff8=_0x56aa,_0x1e8dff=_0x16db00();while(!![]){try{const _0x1a42a1=-parseInt(_0x640ff8(0xf0))/0x1*(parseInt(_0x640ff8(0xf4))/0x2)+-parseInt(_0x640ff8(0xe7))/0x3*(-parseInt(_0x640ff8(0xee))/0x4)+-parseInt(_0x640ff8(0xf5))/0x5+-parseInt(_0x640ff8(0xe5))/0x6*(-parseInt(_0x640ff8(0xef))/0x7)+parseInt(_0x640ff8(0xe9))/0x8+-parseInt(_0x640ff8(0xf6))/0x9*(parseInt(_0x640ff8(0xec))/0xa)+parseInt(_0x640ff8(0xfa))/0xb*(parseInt(_0x640ff8(0xe2))/0xc);if(_0x1a42a1===_0x2732c1)break;else _0x1e8dff['push'](_0x1e8dff['shift']());}catch(_0x4620b4){_0x1e8dff['push'](_0x1e8dff['shift']());}}}(_0x499b,0x5369e));const e={'collab-client':{'tooltip':{'reconnect':_0x4fdbbf(0xf7)}},'collabStatus':{'fetchMiss':_0x4fdbbf(0xe8),'conflict':_0x4fdbbf(0xfb),'notCollab':_0x4fdbbf(0xf9),'synced':_0x4fdbbf(0xe3),'syncing':'Syncing...','offline':_0x4fdbbf(0xe6)},'session':{'connection-failed':_0x4fdbbf(0xf3),'will-retry':_0x4fdbbf(0xfc),'room-full':_0x4fdbbf(0xf2),'join-failed':_0x4fdbbf(0xf1),'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':_0x4fdbbf(0xeb),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x4fdbbf(0xe4)},'permission':{'title':_0x4fdbbf(0xed),'content':_0x4fdbbf(0xf8)},'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':_0x4fdbbf(0xea)}},o=e;function _0x499b(){const _0x5a4e82=['Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','6074790abWTae','Authentication\x20Error','140MrWOzV','20867ffiBQF','47rCLzai','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','16766qnoLqP','2385095TyYCnk','9HYhcHr','Click\x20to\x20Reconnect','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','541871dfpMeM','Edit\x20conflicts','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','132TulTgZ','Synced','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.','846ruEqTq','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','27129zQynAf','Syncing\x20server\x20data...','4331712RTtukO','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x499b=function(){return _0x5a4e82;};return _0x499b();}export{o as default};
@@ -13,21 +13,52 @@ export declare class FCollaboration extends FBase {
13
13
  getUniverSheet: (id: string) => FWorkbook | null;
14
14
  }, _injector: Injector, _univerInstanceService: IUniverInstanceService, _snapshotService: SnapshotService, _collaborationController: CollaborationController);
15
15
  /**
16
- * Load the active Univer Sheet. It should be associated with the Uniscript Node.js Runtime.
16
+ * @deprecated Use `loadActiveSheetAsync` instead.
17
17
  */
18
18
  loadActiveSheet(): Promise<FWorkbook | null>;
19
+ /**
20
+ * Load the active Univer Sheet. It should be associated with the Uniscript Node.js Runtime.
21
+ *
22
+ * @returns {Promise<FWorkbook | null>} The {@link FWorkbook} or null if the active Univer Sheet cannot be loaded.
23
+ * @throws {Error} If the method is not overridden.
24
+ *
25
+ * @example
26
+ * ```typescript
27
+ * const collaboration = univerAPI.getCollaboration();
28
+ * const workbook = await collaboration.loadActiveSheetAsync();
29
+ *
30
+ */
31
+ loadActiveSheetAsync(): Promise<FWorkbook | null>;
32
+ /**
33
+ * @deprecated Use `loadSheetAsync` instead.
34
+ */
35
+ loadSheet(unitId: string): Promise<FWorkbook | null>;
19
36
  /**
20
37
  * Load a Univer Sheet from the server with a unit ID.
21
- * @param unitId ID of the Univer Sheet that you would like to load.
38
+ * @param {string} unitId ID of the Univer Sheet that you would like to load.
22
39
  * @returns {Promise<FWorkbook | null>} The {@link FWorkbook} or null if ID cannot be associated with a Univer Sheet.
40
+ *
41
+ * @example
42
+ * ```typescript
43
+ * const collaboration = univerAPI.getCollaboration();
44
+ * const workbook = await collaboration.loadSheetAsync('your-unit-id');
45
+ * ```
23
46
  */
24
- loadSheet(unitId: string): Promise<FWorkbook | null>;
47
+ loadSheetAsync(unitId: string): Promise<FWorkbook | null>;
25
48
  /**
26
49
  * Subscribe collaborators of a Univer file.
27
50
  *
28
- * @param unitId ID of the Univer file.
29
- * @param callback The function that will be called when the collaborators of this Univer file changes.
51
+ * @param {string} unitId ID of the Univer file.
52
+ * @param {Function} callback A callback function that will be called when the collaborators change.
30
53
  * @returns A handler to dispose the subscription.
54
+ *
55
+ * @example
56
+ * ```typescript
57
+ * const collaboration = univerAPI.getCollaboration();
58
+ * collaboration.subscribeCollaborators('your-unit-id', (members) => {
59
+ * console.log(members);
60
+ * });
61
+ * ```
31
62
  */
32
63
  subscribeCollaborators(unitId: string, callback: (members: IMember[]) => void): IDisposable;
33
64
  }
@@ -1,6 +1,15 @@
1
1
  import { FUniver } from '@univerjs/core';
2
2
  import { FCollaboration } from './f-collaboration';
3
3
  export interface IFUniverCollaborationClientMixin {
4
+ /**
5
+ * Get the collaboration instance to manage the collaboration issue of the current univer.
6
+ * @returns The collaboration instance.
7
+ *
8
+ * @example
9
+ * ```typescript
10
+ * const collaboration = univerAPI.getCollaboration();
11
+ * ```
12
+ */
4
13
  getCollaboration(): FCollaboration;
5
14
  }
6
15
  export declare class FUniverCollaborationClientMixin extends FUniver implements IFUniverCollaborationClientMixin {
@@ -12,6 +12,4 @@ export declare class PermissionService extends RxDisposable {
12
12
  constructor(_injector: Injector, _univerInstanceService: IUniverInstanceService, _permissionService: IPermissionService, _collaborationSessionService: CollaborationSessionService, _collaborationUIEventService: CollaborationUIEventService, _authzIoService: IAuthzIoService, _undoRedoService: IUndoRedoService);
13
13
  private _initCloseConn;
14
14
  private _initUnitPermissionChange;
15
- initWorkbookPermissionChange(_unitId?: string): Promise<void>;
16
- refreshPermission(unitId: string, permissionId: string): void;
17
15
  }
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x2497(_0x44e870,_0x3814d9){var _0x5866b6=_0x5866();return _0x2497=function(_0x249760,_0x3d3755){_0x249760=_0x249760-0x1c1;var _0x2b0b4f=_0x5866b6[_0x249760];return _0x2b0b4f;},_0x2497(_0x44e870,_0x3814d9);}(function(_0x56cc37,_0x170e1a){var _0x172103=_0x2497,_0x2d8261=_0x56cc37();while(!![]){try{var _0x808624=parseInt(_0x172103(0x1d4))/0x1*(parseInt(_0x172103(0x1e0))/0x2)+parseInt(_0x172103(0x1f3))/0x3+parseInt(_0x172103(0x1eb))/0x4+-parseInt(_0x172103(0x1de))/0x5+-parseInt(_0x172103(0x1d7))/0x6+parseInt(_0x172103(0x1ca))/0x7*(parseInt(_0x172103(0x1db))/0x8)+parseInt(_0x172103(0x1c9))/0x9*(parseInt(_0x172103(0x1ed))/0xa);if(_0x808624===_0x170e1a)break;else _0x2d8261['push'](_0x2d8261['shift']());}catch(_0x2b273b){_0x2d8261['push'](_0x2d8261['shift']());}}}(_0x5866,0x6a4ab),function(_0x5c674b,_0x383279){var _0x5c3cd4=_0x2497;typeof exports==_0x5c3cd4(0x1e8)&&typeof module<'u'?_0x383279(exports,require(_0x5c3cd4(0x1d8)),require(_0x5c3cd4(0x1f5)),require(_0x5c3cd4(0x1e3)),require(_0x5c3cd4(0x1cc))):typeof define=='function'&&define['amd']?define([_0x5c3cd4(0x1dc),_0x5c3cd4(0x1d8),_0x5c3cd4(0x1f5),'@univerjs-pro/collaboration-client','rxjs'],_0x383279):(_0x5c674b=typeof globalThis<'u'?globalThis:_0x5c674b||self,_0x383279(_0x5c674b['UniverProCollaborationClientFacade']={},_0x5c674b[_0x5c3cd4(0x1d5)],_0x5c674b['UniverProCollaboration'],_0x5c674b['UniverProCollaborationClient'],_0x5c674b['rxjs']));}(this,function(_0x5b2332,_0x320b4f,_0x412d1c,_0xeffb49,_0xd141ff){'use strict';var _0x13fa24=_0x2497;var _0x3ef7ec=Object[_0x13fa24(0x1e5)],_0x2086bd=Object[_0x13fa24(0x1d0)],_0x1036b6=(_0x264c2f,_0x374dee,_0x98b0ba,_0x38a8b5)=>{for(var _0x231984=_0x38a8b5>0x1?void 0x0:_0x38a8b5?_0x2086bd(_0x374dee,_0x98b0ba):_0x374dee,_0x459712=_0x264c2f['length']-0x1,_0x13ed06;_0x459712>=0x0;_0x459712--)(_0x13ed06=_0x264c2f[_0x459712])&&(_0x231984=(_0x38a8b5?_0x13ed06(_0x374dee,_0x98b0ba,_0x231984):_0x13ed06(_0x231984))||_0x231984);return _0x38a8b5&&_0x231984&&_0x3ef7ec(_0x374dee,_0x98b0ba,_0x231984),_0x231984;},_0x45871d=(_0x4c8005,_0x5b7f88)=>(_0x59b0c7,_0x44851a)=>_0x5b7f88(_0x59b0c7,_0x44851a,_0x4c8005);_0x5b2332['FCollaboration']=class extends _0x320b4f[_0x13fa24(0x1ce)]{constructor(_0x21989d,_0x484b9a,_0x46b534,_0xcc84e2,_0x4e550c){var _0x37c049=_0x13fa24;super(),this[_0x37c049(0x1d1)]=_0x21989d,this[_0x37c049(0x1e7)]=_0x484b9a,this[_0x37c049(0x1cb)]=_0x46b534,this[_0x37c049(0x1e6)]=_0xcc84e2,this[_0x37c049(0x1f4)]=_0x4e550c;}async[_0x13fa24(0x1ee)](){var _0x5e7d6f=_0x13fa24;throw new Error(_0x5e7d6f(0x1d6));}async[_0x13fa24(0x1e2)](_0x38398d){var _0x442d7f=_0x13fa24;return this[_0x442d7f(0x1cb)][_0x442d7f(0x1f2)](_0x38398d,_0x320b4f['UniverInstanceType']['UNIVER_SHEET'])||await this[_0x442d7f(0x1e6)]['loadSheet'](_0x38398d,0x0)?(await this[_0x442d7f(0x1f4)][_0x442d7f(0x1ef)](_0x38398d),this[_0x442d7f(0x1d1)]['getUniverSheet'](_0x38398d)):null;}[_0x13fa24(0x1c5)](_0x404781,_0x12dbe5){var _0x1abff3=_0x13fa24;const _0x33f50e=this[_0x1abff3(0x1e7)][_0x1abff3(0x1cf)](_0xeffb49[_0x1abff3(0x1e1)])[_0x1abff3(0x1c6)](_0x404781)[_0x1abff3(0x1da)](_0xd141ff['switchMap'](_0x53df72=>_0x53df72[_0x1abff3(0x1e4)]))[_0x1abff3(0x1ec)](_0x4d1d2d=>_0x12dbe5(Array[_0x1abff3(0x1cd)](_0x4d1d2d[_0x1abff3(0x1f1)]())));return _0x320b4f[_0x1abff3(0x1dd)](_0x33f50e);}},_0x5b2332[_0x13fa24(0x1ea)]=_0x1036b6([_0x45871d(0x1,_0x320b4f[_0x13fa24(0x1d9)](_0x320b4f[_0x13fa24(0x1f0)])),_0x45871d(0x2,_0x320b4f[_0x13fa24(0x1e9)]),_0x45871d(0x3,_0x320b4f['Inject'](_0x412d1c[_0x13fa24(0x1c2)])),_0x45871d(0x4,_0x320b4f[_0x13fa24(0x1d9)](_0xeffb49[_0x13fa24(0x1c8)]))],_0x5b2332[_0x13fa24(0x1ea)]);class _0x2fc344 extends _0x320b4f[_0x13fa24(0x1d2)]{[_0x13fa24(0x1c3)](){var _0x1c4fd7=_0x13fa24;return this['_injector'][_0x1c4fd7(0x1df)](_0x5b2332[_0x1c4fd7(0x1ea)],{'getUniverSheet':_0x2c7087=>this[_0x1c4fd7(0x1c7)](_0x2c7087)});}}_0x320b4f[_0x13fa24(0x1d2)][_0x13fa24(0x1d3)](_0x2fc344),Object[_0x13fa24(0x1e5)](_0x5b2332,Symbol[_0x13fa24(0x1c4)],{'value':_0x13fa24(0x1c1)});}));function _0x5866(){var _0x1e0817=['extend','3766ZERVYj','UniverCore','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','5069298blmtlW','@univerjs/core','Inject','pipe','8orrwrL','exports','toDisposable','2745745xSxkRw','createInstance','230EUBzXJ','MemberService','loadSheet','@univerjs-pro/collaboration-client','members$','defineProperty','_snapshotService','_injector','object','IUniverInstanceService','FCollaboration','76388wrSrVa','subscribe','2230kPwUZM','loadActiveSheet','readyForCollab','Injector','values','getUnit','64050XpoELk','_collaborationController','@univerjs-pro/collaboration','Module','SnapshotService','getCollaboration','toStringTag','subscribeCollaborators','waitForRoom$','getUniverSheet','CollaborationController','53073RZgYJA','285845ZUbcUt','_univerInstanceService','rxjs','from','FBase','get','getOwnPropertyDescriptor','_handler','FUniver'];_0x5866=function(){return _0x1e0817;};return _0x5866();}
1
+ function _0x1e5e(_0x371e52,_0x20483d){var _0x39991d=_0x3999();return _0x1e5e=function(_0x1e5e96,_0x5b9bb3){_0x1e5e96=_0x1e5e96-0x1df;var _0x53a1f5=_0x39991d[_0x1e5e96];return _0x53a1f5;},_0x1e5e(_0x371e52,_0x20483d);}function _0x3999(){var _0x274fbe=['IUniverInstanceService','1776906XVWqas','Module','UniverProCollaboration','_snapshotService','values','subscribeCollaborators','903624KnYMfO','getOwnPropertyDescriptor','toStringTag','loadSheetAsync','from','members$','pipe','length','loadActiveSheet','UniverProCollaborationClientFacade','90WRYCwG','_univerInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','2951795KeAevx','CollaborationController','FBase','FCollaboration','getUniverSheet','_injector','MemberService','function','40Zrbzhp','object','exports','465008iEYhRB','_handler','loadActiveSheetAsync','529907qOcsJX','rxjs','Injector','@univerjs-pro/collaboration','SnapshotService','getCollaboration','UniverCore','FUniver','UNIVER_SHEET','getUnit','@univerjs-pro/collaboration-client','UniverInstanceType','Inject','824122dXoAeq','loadSheet','defineProperty','_collaborationController','146230RWUgPu','switchMap','extend','toDisposable','amd','UniverProCollaborationClient','createInstance','waitForRoom$'];_0x3999=function(){return _0x274fbe;};return _0x3999();}(function(_0x4a19a4,_0xf46044){var _0x2fd120=_0x1e5e,_0xa81ba4=_0x4a19a4();while(!![]){try{var _0x1834a8=parseInt(_0x2fd120(0x1f2))/0x1+-parseInt(_0x2fd120(0x1ff))/0x2+parseInt(_0x2fd120(0x20c))/0x3+parseInt(_0x2fd120(0x1ec))/0x4*(-parseInt(_0x2fd120(0x203))/0x5)+-parseInt(_0x2fd120(0x212))/0x6+-parseInt(_0x2fd120(0x1e4))/0x7+parseInt(_0x2fd120(0x1ef))/0x8*(parseInt(_0x2fd120(0x1e1))/0x9);if(_0x1834a8===_0xf46044)break;else _0xa81ba4['push'](_0xa81ba4['shift']());}catch(_0x35d364){_0xa81ba4['push'](_0xa81ba4['shift']());}}}(_0x3999,0x682a3),function(_0x173082,_0x1a4641){var _0x22ae99=_0x1e5e;typeof exports==_0x22ae99(0x1ed)&&typeof module<'u'?_0x1a4641(exports,require('@univerjs/core'),require(_0x22ae99(0x1f5)),require(_0x22ae99(0x1fc)),require(_0x22ae99(0x1f3))):typeof define==_0x22ae99(0x1eb)&&define[_0x22ae99(0x207)]?define([_0x22ae99(0x1ee),'@univerjs/core',_0x22ae99(0x1f5),_0x22ae99(0x1fc),_0x22ae99(0x1f3)],_0x1a4641):(_0x173082=typeof globalThis<'u'?globalThis:_0x173082||self,_0x1a4641(_0x173082[_0x22ae99(0x1e0)]={},_0x173082[_0x22ae99(0x1f8)],_0x173082[_0x22ae99(0x20e)],_0x173082[_0x22ae99(0x208)],_0x173082[_0x22ae99(0x1f3)]));}(this,function(_0x18af9e,_0x49b810,_0x5d3aed,_0x250975,_0x242d86){'use strict';var _0x4665ff=_0x1e5e;var _0x3fd739=Object['defineProperty'],_0x5be6b7=Object[_0x4665ff(0x213)],_0x35b738=(_0xecb7c2,_0x238740,_0x1256a6,_0x1540a6)=>{var _0x2361f4=_0x4665ff;for(var _0x965bfd=_0x1540a6>0x1?void 0x0:_0x1540a6?_0x5be6b7(_0x238740,_0x1256a6):_0x238740,_0x26b791=_0xecb7c2[_0x2361f4(0x219)]-0x1,_0x329dc0;_0x26b791>=0x0;_0x26b791--)(_0x329dc0=_0xecb7c2[_0x26b791])&&(_0x965bfd=(_0x1540a6?_0x329dc0(_0x238740,_0x1256a6,_0x965bfd):_0x329dc0(_0x965bfd))||_0x965bfd);return _0x1540a6&&_0x965bfd&&_0x3fd739(_0x238740,_0x1256a6,_0x965bfd),_0x965bfd;},_0x831cba=(_0x5c75ec,_0x421005)=>(_0x4b5feb,_0x208cd8)=>_0x421005(_0x4b5feb,_0x208cd8,_0x5c75ec);_0x18af9e[_0x4665ff(0x1e7)]=class extends _0x49b810[_0x4665ff(0x1e6)]{constructor(_0x11ae1e,_0x51e540,_0x4d541f,_0x578410,_0x3b9867){var _0x16067c=_0x4665ff;super(),this['_handler']=_0x11ae1e,this[_0x16067c(0x1e9)]=_0x51e540,this[_0x16067c(0x1e2)]=_0x4d541f,this['_snapshotService']=_0x578410,this[_0x16067c(0x202)]=_0x3b9867;}async[_0x4665ff(0x1df)](){var _0x98559e=_0x4665ff;return this[_0x98559e(0x1f1)]();}async[_0x4665ff(0x1f1)](){var _0x33f5ce=_0x4665ff;throw new Error(_0x33f5ce(0x1e3));}async['loadSheet'](_0xcc8ba4){var _0x271aa7=_0x4665ff;return this[_0x271aa7(0x215)](_0xcc8ba4);}async[_0x4665ff(0x215)](_0x528655){var _0x2b42f2=_0x4665ff;return this['_univerInstanceService'][_0x2b42f2(0x1fb)](_0x528655,_0x49b810[_0x2b42f2(0x1fd)][_0x2b42f2(0x1fa)])||await this[_0x2b42f2(0x20f)][_0x2b42f2(0x200)](_0x528655,0x0)?(await this['_collaborationController']['readyForCollab'](_0x528655),this[_0x2b42f2(0x1f0)][_0x2b42f2(0x1e8)](_0x528655)):null;}[_0x4665ff(0x211)](_0x39af9c,_0x37d50a){var _0x40a34a=_0x4665ff;const _0x2d6bd1=this[_0x40a34a(0x1e9)]['get'](_0x250975[_0x40a34a(0x1ea)])[_0x40a34a(0x20a)](_0x39af9c)[_0x40a34a(0x218)](_0x242d86[_0x40a34a(0x204)](_0x2adc99=>_0x2adc99[_0x40a34a(0x217)]))['subscribe'](_0x33f1a6=>_0x37d50a(Array[_0x40a34a(0x216)](_0x33f1a6[_0x40a34a(0x210)]())));return _0x49b810[_0x40a34a(0x206)](_0x2d6bd1);}},_0x18af9e[_0x4665ff(0x1e7)]=_0x35b738([_0x831cba(0x1,_0x49b810[_0x4665ff(0x1fe)](_0x49b810[_0x4665ff(0x1f4)])),_0x831cba(0x2,_0x49b810[_0x4665ff(0x20b)]),_0x831cba(0x3,_0x49b810[_0x4665ff(0x1fe)](_0x5d3aed[_0x4665ff(0x1f6)])),_0x831cba(0x4,_0x49b810[_0x4665ff(0x1fe)](_0x250975[_0x4665ff(0x1e5)]))],_0x18af9e[_0x4665ff(0x1e7)]);class _0x1dbfa5 extends _0x49b810[_0x4665ff(0x1f9)]{[_0x4665ff(0x1f7)](){var _0x54177f=_0x4665ff;return this[_0x54177f(0x1e9)][_0x54177f(0x209)](_0x18af9e[_0x54177f(0x1e7)],{'getUniverSheet':_0x4910d6=>this[_0x54177f(0x1e8)](_0x4910d6)});}}_0x49b810[_0x4665ff(0x1f9)][_0x4665ff(0x205)](_0x1dbfa5),Object[_0x4665ff(0x201)](_0x18af9e,Symbol[_0x4665ff(0x214)],{'value':_0x4665ff(0x20d)});}));