@univerjs-pro/collaboration-client 0.5.3 → 0.5.4

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 _0x180489=_0x35a2;(function(_0x4e8597,_0x296d2b){const _0x1b7bf0=_0x35a2,_0x23f137=_0x4e8597();while(!![]){try{const _0x2ca73c=-parseInt(_0x1b7bf0(0x1a5))/0x1+-parseInt(_0x1b7bf0(0x1a4))/0x2*(parseInt(_0x1b7bf0(0x192))/0x3)+-parseInt(_0x1b7bf0(0x1a1))/0x4+-parseInt(_0x1b7bf0(0x199))/0x5+parseInt(_0x1b7bf0(0x19d))/0x6*(-parseInt(_0x1b7bf0(0x19c))/0x7)+parseInt(_0x1b7bf0(0x18f))/0x8*(parseInt(_0x1b7bf0(0x18d))/0x9)+parseInt(_0x1b7bf0(0x1a2))/0xa*(parseInt(_0x1b7bf0(0x1a6))/0xb);if(_0x2ca73c===_0x296d2b)break;else _0x23f137['push'](_0x23f137['shift']());}catch(_0x173551){_0x23f137['push'](_0x23f137['shift']());}}}(_0x3342,0x1f108));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x180489(0x190),'conflict':_0x180489(0x19e),'notCollab':_0x180489(0x18e),'synced':_0x180489(0x198),'syncing':'Syncing...','offline':_0x180489(0x193)},'session':{'connection-failed':_0x180489(0x19f),'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':_0x180489(0x195),'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':_0x180489(0x19a),'collaboration-timeout':_0x180489(0x1a3)},'conflict':{'title':_0x180489(0x191),'content':_0x180489(0x1a0)},'permission':{'title':_0x180489(0x196),'content':_0x180489(0x194)},'collaboration':{'single-unit':{'warning':_0x180489(0x197)},'closeRoom':_0x180489(0x19b)},'auth':{'needGotoLoginAlert':_0x180489(0x1a7)}};function _0x35a2(_0x35d2a3,_0x4ecd9d){const _0x334249=_0x3342();return _0x35a2=function(_0x35a244,_0x420537){_0x35a244=_0x35a244-0x18d;let _0x56fd8c=_0x334249[_0x35a244];return _0x56fd8c;},_0x35a2(_0x35d2a3,_0x4ecd9d);}function _0x3342(){const _0x49db10=['2982cElzCT','366UmxMca','Edit\x20conflicts','Connection\x20failed.\x20Please\x20check\x20your\x20network.','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.','671784ZKIcdk','2472060iwgcaS','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','20shlKVu','88767qeQOfE','11OxPyJm','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1030923YyCLzB','Local\x20file','16uMmNwQ','Syncing\x20server\x20data...','Collaboration\x20Conflict','7257RlzCYX','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Synced','210855RUwjCE','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'];_0x3342=function(){return _0x49db10;};return _0x3342();}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 _0x585f6f=_0x1a1a;function _0x6285(){const _0xc156e5=['اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','خطای\x20اعتبارسنجی','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','732637zmfDnC','2032024ZrDPGV','تداخل\x20همکاری','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','همگام\x20سازی','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','پرونده\x20محلی','3186220mAaPID','2264216URimdq','1348038oSdpmH','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','تداخل\x20ویرایش','در\x20حال\x20همگام\x20سازی...','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','987231zzOWXP','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','1007040VuFgbV','35BbNdnb','9uzBVUO','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...'];_0x6285=function(){return _0xc156e5;};return _0x6285();}(function(_0x42d213,_0x54c0b0){const _0x4aeef6=_0x1a1a,_0x5ea02e=_0x42d213();while(!![]){try{const _0x48799b=parseInt(_0x4aeef6(0xf8))/0x1+parseInt(_0x4aeef6(0xef))/0x2+-parseInt(_0x4aeef6(0xed))/0x3+parseInt(_0x4aeef6(0xf9))/0x4+parseInt(_0x4aeef6(0xff))/0x5+-parseInt(_0x4aeef6(0x101))/0x6*(parseInt(_0x4aeef6(0xf0))/0x7)+parseInt(_0x4aeef6(0x100))/0x8*(-parseInt(_0x4aeef6(0xf1))/0x9);if(_0x48799b===_0x54c0b0)break;else _0x5ea02e['push'](_0x5ea02e['shift']());}catch(_0x864a7a){_0x5ea02e['push'](_0x5ea02e['shift']());}}}(_0x6285,0x9db32));function _0x1a1a(_0x463fa7,_0x1d1bbf){const _0x628588=_0x6285();return _0x1a1a=function(_0x1a1ad5,_0x3a72eb){_0x1a1ad5=_0x1a1ad5-0xed;let _0x1b5b2e=_0x628588[_0x1a1ad5];return _0x1b5b2e;},_0x1a1a(_0x463fa7,_0x1d1bbf);}const o={'collab-client':{'tooltip':{'reconnect':_0x585f6f(0x107)}},'collabStatus':{'fetchMiss':_0x585f6f(0xf3),'conflict':_0x585f6f(0x103),'notCollab':_0x585f6f(0xfe),'synced':_0x585f6f(0xfc),'syncing':_0x585f6f(0x104),'offline':_0x585f6f(0xf2)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x585f6f(0xfd),'join-failed':_0x585f6f(0x105),'room-not-exists':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-permission-denied':_0x585f6f(0xee),'room-cnt-exceeds':_0x585f6f(0x106),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی‌دهد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'},'conflict':{'title':_0x585f6f(0xfa),'content':_0x585f6f(0xf5)},'permission':{'title':_0x585f6f(0xf6),'content':_0x585f6f(0xf4)},'collaboration':{'single-unit':{'warning':_0x585f6f(0x102)},'closeRoom':_0x585f6f(0xfb)},'auth':{'needGotoLoginAlert':_0x585f6f(0xf7)}};export{o as default};
@@ -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
+ function _0x2ff0(_0x69de9d,_0x22bcd7){const _0x2715e9=_0x2715();return _0x2ff0=function(_0x2ff0bf,_0x2e85ba){_0x2ff0bf=_0x2ff0bf-0x1db;let _0x718493=_0x2715e9[_0x2ff0bf];return _0x718493;},_0x2ff0(_0x69de9d,_0x22bcd7);}const _0x1b442c=_0x2ff0;function _0x2715(){const _0x19007d=['Syncing...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','20eGpyLg','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.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','25001082RtILBF','1978qBrtpc','192jwdoya','11355624XoRgar','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.','893455ehITDU','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3214330yPJiEI','Syncing\x20server\x20data...','Authentication\x20Error','Collaboration\x20Conflict','282884ajhRUI','Click\x20to\x20Reconnect','Local\x20file','1437QZxiau','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','527668otTgjH'];_0x2715=function(){return _0x19007d;};return _0x2715();}(function(_0x49b1cc,_0x1d2fdd){const _0x9c4d77=_0x2ff0,_0x4810d4=_0x49b1cc();while(!![]){try{const _0x5b26e7=-parseInt(_0x9c4d77(0x1ea))/0x1+-parseInt(_0x9c4d77(0x1e5))/0x2*(parseInt(_0x9c4d77(0x1db))/0x3)+parseInt(_0x9c4d77(0x1dd))/0x4+-parseInt(_0x9c4d77(0x1ec))/0x5+-parseInt(_0x9c4d77(0x1e6))/0x6*(parseInt(_0x9c4d77(0x1f0))/0x7)+-parseInt(_0x9c4d77(0x1e7))/0x8+-parseInt(_0x9c4d77(0x1e4))/0x9*(-parseInt(_0x9c4d77(0x1e0))/0xa);if(_0x5b26e7===_0x1d2fdd)break;else _0x4810d4['push'](_0x4810d4['shift']());}catch(_0x5d9085){_0x4810d4['push'](_0x4810d4['shift']());}}}(_0x2715,0xeb9a0));const e={'collab-client':{'tooltip':{'reconnect':_0x1b442c(0x1f1)}},'collabStatus':{'fetchMiss':_0x1b442c(0x1ed),'conflict':'Edit\x20conflicts','notCollab':_0x1b442c(0x1f2),'synced':'Synced','syncing':_0x1b442c(0x1de),'offline':_0x1b442c(0x1dc)},'session':{'connection-failed':_0x1b442c(0x1e2),'will-retry':_0x1b442c(0x1e8),'room-full':_0x1b442c(0x1e3),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x1b442c(0x1eb),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x1b442c(0x1df)},'conflict':{'title':_0x1b442c(0x1ef),'content':_0x1b442c(0x1e1)},'permission':{'title':_0x1b442c(0x1ee),'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':_0x1b442c(0x1e9)},'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.'}},o=e;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 _0x1a0d(_0x324421,_0x5077ee){const _0x29a39b=_0x29a3();return _0x1a0d=function(_0x1a0d5c,_0x1c8fc5){_0x1a0d5c=_0x1a0d5c-0x1ef;let _0x4df59f=_0x29a39b[_0x1a0d5c];return _0x4df59f;},_0x1a0d(_0x324421,_0x5077ee);}const _0x5ee280=_0x1a0d;(function(_0x17af0a,_0x379c44){const _0x1d7d36=_0x1a0d,_0xc0b83e=_0x17af0a();while(!![]){try{const _0x159951=parseInt(_0x1d7d36(0x208))/0x1*(parseInt(_0x1d7d36(0x205))/0x2)+parseInt(_0x1d7d36(0x1f3))/0x3*(parseInt(_0x1d7d36(0x1f1))/0x4)+parseInt(_0x1d7d36(0x1fb))/0x5*(-parseInt(_0x1d7d36(0x20d))/0x6)+-parseInt(_0x1d7d36(0x204))/0x7*(parseInt(_0x1d7d36(0x1f8))/0x8)+-parseInt(_0x1d7d36(0x1fe))/0x9*(-parseInt(_0x1d7d36(0x206))/0xa)+parseInt(_0x1d7d36(0x20a))/0xb*(parseInt(_0x1d7d36(0x1f9))/0xc)+-parseInt(_0x1d7d36(0x202))/0xd;if(_0x159951===_0x379c44)break;else _0xc0b83e['push'](_0xc0b83e['shift']());}catch(_0x111f7a){_0xc0b83e['push'](_0xc0b83e['shift']());}}}(_0x29a3,0xaed02));const e={'collab-client':{'tooltip':{'reconnect':_0x5ee280(0x1f6)}},'collabStatus':{'fetchMiss':_0x5ee280(0x200),'conflict':'Edit\x20conflicts','notCollab':_0x5ee280(0x201),'synced':'Synced','syncing':_0x5ee280(0x1f7),'offline':_0x5ee280(0x207)},'session':{'connection-failed':_0x5ee280(0x20c),'will-retry':_0x5ee280(0x1fc),'room-full':_0x5ee280(0x1f4),'join-failed':_0x5ee280(0x1ff),'room-not-exists':_0x5ee280(0x203),'room-permission-denied':_0x5ee280(0x1ef),'room-cnt-exceeds':_0x5ee280(0x1fa),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x5ee280(0x20b),'content':_0x5ee280(0x1f2)},'permission':{'title':'Authentication\x20Error','content':_0x5ee280(0x1f0)},'collaboration':{'single-unit':{'warning':_0x5ee280(0x1fd)},'closeRoom':_0x5ee280(0x1f5)},'auth':{'needGotoLoginAlert':_0x5ee280(0x209)}},o=e;export{o as default};function _0x29a3(){const _0x4da8a7=['699294FGYDnW','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','44nrreCq','Collaboration\x20Conflict','Connection\x20failed.\x20Please\x20check\x20your\x20network.','6vsENHm','No\x20collaboration\x20permission.\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.','8QAUIYu','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.','1741713vEttcH','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Click\x20to\x20Reconnect','Syncing...','8alvlEY','3142476ZhjemE','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','437015KISDll','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.','555813lOtqDD','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','Local\x20file','36823215dvcdak','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2252635nzvNTV','2qghNLS','170fpNwfp','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'];_0x29a3=function(){return _0x4da8a7;};return _0x29a3();}
@@ -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
+ function _0x1b8f(_0x195fb1,_0x29983c){const _0x11241e=_0x1124();return _0x1b8f=function(_0x1b8f19,_0x13b826){_0x1b8f19=_0x1b8f19-0x110;let _0x4612e4=_0x11241e[_0x1b8f19];return _0x4612e4;},_0x1b8f(_0x195fb1,_0x29983c);}const _0x5523ce=_0x1b8f;(function(_0x594d57,_0x2696fb){const _0x6fe44b=_0x1b8f,_0x4b1983=_0x594d57();while(!![]){try{const _0x1e5025=parseInt(_0x6fe44b(0x117))/0x1+-parseInt(_0x6fe44b(0x110))/0x2*(parseInt(_0x6fe44b(0x118))/0x3)+parseInt(_0x6fe44b(0x115))/0x4*(-parseInt(_0x6fe44b(0x111))/0x5)+-parseInt(_0x6fe44b(0x114))/0x6*(parseInt(_0x6fe44b(0x11c))/0x7)+-parseInt(_0x6fe44b(0x11d))/0x8+-parseInt(_0x6fe44b(0x126))/0x9+parseInt(_0x6fe44b(0x11a))/0xa*(parseInt(_0x6fe44b(0x119))/0xb);if(_0x1e5025===_0x2696fb)break;else _0x4b1983['push'](_0x4b1983['shift']());}catch(_0x54492d){_0x4b1983['push'](_0x4b1983['shift']());}}}(_0x1124,0xe9a77));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x5523ce(0x113),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x5523ce(0x116),'syncing':_0x5523ce(0x124),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x5523ce(0x121),'will-retry':_0x5523ce(0x127),'room-full':_0x5523ce(0x11b),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x5523ce(0x123),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x5523ce(0x122),'content':_0x5523ce(0x112)},'permission':{'title':_0x5523ce(0x11f),'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':_0x5523ce(0x120)},'closeRoom':_0x5523ce(0x11e)},'auth':{'needGotoLoginAlert':_0x5523ce(0x125)}},o=e;export{o as default};function _0x1124(){const _0x2fe3a2=['1490rnfCgC','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2583AtgATJ','9134872bFrjOV','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Collaboration\x20Conflict','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','9591993rpJGrZ','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','126630gXBJxN','290420BmHBoQ','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Syncing\x20server\x20data...','6240VoWSdP','128vnNBGu','Synced','196331sSNLEE','81caXjAP','510895FpuYoH'];_0x1124=function(){return _0x2fe3a2;};return _0x1124();}
@@ -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 _0x5cad08=_0x1b70;(function(_0x5492ce,_0xfe755d){const _0x482566=_0x1b70,_0x15f3d0=_0x5492ce();while(!![]){try{const _0x1f26df=parseInt(_0x482566(0x91))/0x1*(-parseInt(_0x482566(0xa6))/0x2)+-parseInt(_0x482566(0x97))/0x3*(-parseInt(_0x482566(0xaa))/0x4)+-parseInt(_0x482566(0xa9))/0x5+-parseInt(_0x482566(0x98))/0x6*(-parseInt(_0x482566(0x90))/0x7)+parseInt(_0x482566(0x9c))/0x8*(parseInt(_0x482566(0xa5))/0x9)+-parseInt(_0x482566(0xa0))/0xa*(parseInt(_0x482566(0x8d))/0xb)+-parseInt(_0x482566(0xa8))/0xc*(parseInt(_0x482566(0x94))/0xd);if(_0x1f26df===_0xfe755d)break;else _0x15f3d0['push'](_0x15f3d0['shift']());}catch(_0x5614cf){_0x15f3d0['push'](_0x15f3d0['shift']());}}}(_0x5e70,0xc730e));const o={'collab-client':{'tooltip':{'reconnect':_0x5cad08(0x95)}},'collabStatus':{'fetchMiss':'正在拉取服务端数据...','conflict':_0x5cad08(0x92),'notCollab':_0x5cad08(0x93),'synced':_0x5cad08(0x8c),'syncing':'保存中...','offline':_0x5cad08(0x9f)},'session':{'connection-failed':_0x5cad08(0x9d),'will-retry':_0x5cad08(0xa4),'room-full':_0x5cad08(0xa7),'join-failed':_0x5cad08(0x9b),'room-not-exists':_0x5cad08(0x99),'room-permission-denied':_0x5cad08(0xa3),'room-cnt-exceeds':_0x5cad08(0x96),'collaboration-timeout':_0x5cad08(0xa1)},'conflict':{'title':_0x5cad08(0x8f),'content':_0x5cad08(0x9a)},'permission':{'title':'权限错误','content':_0x5cad08(0x8b)},'collaboration':{'single-unit':{'warning':_0x5cad08(0x9e)},'closeRoom':_0x5cad08(0xa2)},'auth':{'needGotoLoginAlert':_0x5cad08(0x8e)}};function _0x1b70(_0x1d09d6,_0x724e8f){const _0x5e70ce=_0x5e70();return _0x1b70=function(_0x1b7000,_0x267d41){_0x1b7000=_0x1b7000-0x8b;let _0x419c6c=_0x5e70ce[_0x1b7000];return _0x419c6c;},_0x1b70(_0x1d09d6,_0x724e8f);}function _0x5e70(){const _0x56ae7e=['973CrjToN','550961aUhHeN','编辑冲突','本地文件','52yIVSGn','点击重新连接','协同文档数量超过限制,你的编辑将在本地缓存','9IZpNWS','61482sFgSNA','加入协同失败,你的编辑将在本地缓存','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','加入协同失败,请稍后重试,你的编辑将在本地缓存','323848BINEzc','连接失败,请检查你的网络','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','已离线,编辑将在本地缓存','5096410oWOZDJ','服务器未响应,你的编辑将在本地缓存','由于协同房间被关闭,编辑权限被收回。','没有协同权限,你的编辑将在本地缓存','连接失败,将在一会儿之后重试连接','207lHEWuS','2pGpPLR','此文档协同人数已满,你的编辑将在本地缓存','1219656DGWvHN','6676075yfUdWe','1683812GYJAVU','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','已同步','11rFjPHF','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','协同冲突'];_0x5e70=function(){return _0x56ae7e;};return _0x5e70();}export{o as default};
@@ -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
+ const _0x56a509=_0x4de9;function _0x3f08(){const _0x106707=['Local\x20file','215508Lpkyyp','24VJQnyd','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Click\x20to\x20Reconnect','7109585rRlwFU','Edit\x20conflicts','2049JqfsJm','Syncing\x20server\x20data...','10963820SuKNHC','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2019699VJQJey','253556ueWNcA','Synced','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing...','33WCquHf','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','224325IoZnKG','460NchNaZ','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Failed\x20to\x20join\x20collaboration.\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.'];_0x3f08=function(){return _0x106707;};return _0x3f08();}(function(_0x1022f0,_0x47a5b2){const _0x445b91=_0x4de9,_0xa5ab2=_0x1022f0();while(!![]){try{const _0x2ba771=parseInt(_0x445b91(0x1c0))/0x1*(parseInt(_0x445b91(0x1cc))/0x2)+-parseInt(_0x445b91(0x1c9))/0x3*(parseInt(_0x445b91(0x1c5))/0x4)+parseInt(_0x445b91(0x1cb))/0x5+-parseInt(_0x445b91(0x1b7))/0x6+-parseInt(_0x445b91(0x1be))/0x7+-parseInt(_0x445b91(0x1b8))/0x8*(-parseInt(_0x445b91(0x1c4))/0x9)+parseInt(_0x445b91(0x1c2))/0xa;if(_0x2ba771===_0x47a5b2)break;else _0xa5ab2['push'](_0xa5ab2['shift']());}catch(_0x3e1d7a){_0xa5ab2['push'](_0xa5ab2['shift']());}}}(_0x3f08,0x83142));function _0x4de9(_0x2d863e,_0x33f955){const _0x3f0892=_0x3f08();return _0x4de9=function(_0x4de95a,_0x5aa789){_0x4de95a=_0x4de95a-0x1b3;let _0x49909f=_0x3f0892[_0x4de95a];return _0x49909f;},_0x4de9(_0x2d863e,_0x33f955);}const e={'collab-client':{'tooltip':{'reconnect':_0x56a509(0x1bd)}},'collabStatus':{'fetchMiss':_0x56a509(0x1c1),'conflict':_0x56a509(0x1bf),'notCollab':_0x56a509(0x1b6),'synced':_0x56a509(0x1c6),'syncing':_0x56a509(0x1c8),'offline':_0x56a509(0x1c7)},'session':{'connection-failed':_0x56a509(0x1bb),'will-retry':_0x56a509(0x1b9),'room-full':_0x56a509(0x1c3),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x56a509(0x1b4),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x56a509(0x1ca),'collaboration-timeout':_0x56a509(0x1ba)},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':'Authentication\x20Error','content':_0x56a509(0x1bc)},'collaboration':{'single-unit':{'warning':_0x56a509(0x1b5)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x56a509(0x1b3)}},o=e;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 _0x5b2c(_0x3a5150,_0x2f01df){var _0x233c2a=_0x233c();return _0x5b2c=function(_0x5b2c00,_0x437da8){_0x5b2c00=_0x5b2c00-0xe2;var _0x21b84c=_0x233c2a[_0x5b2c00];return _0x21b84c;},_0x5b2c(_0x3a5150,_0x2f01df);}function _0x233c(){var _0x31bdc0=['loadSheetAsync','6171702cQRcmT','CollaborationController','getOwnPropertyDescriptor','FUniver','_collaborationController','@univerjs/core','565200DDkPkx','63088MNtNJH','toStringTag','4289660KAVbyn','loadSheet','_univerInstanceService','UniverCore','toDisposable','rxjs','MemberService','219BWPAis','members$','IUniverInstanceService','UniverProCollaboration','Inject','pipe','subscribeCollaborators','values','2PTeuIa','SnapshotService','loadActiveSheetAsync','exports','_handler','UniverProCollaborationClientFacade','FBase','@univerjs-pro/collaboration','@univerjs-pro/collaboration-client','createInstance','from','getCollaboration','Module','Injector','UniverInstanceType','amd','1138372aGDYJd','get','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','70QLcSib','getUniverSheet','switchMap','26301UXvruZ','_snapshotService','FCollaboration','length','object','_injector','18GUflJN','7692wkwVOd','extend','defineProperty','302584YUjwRT','getUnit'];_0x233c=function(){return _0x31bdc0;};return _0x233c();}(function(_0x275363,_0x327aba){var _0x350787=_0x5b2c,_0x53066a=_0x275363();while(!![]){try{var _0x386360=parseInt(_0x350787(0x116))/0x1*(-parseInt(_0x350787(0x106))/0x2)+parseInt(_0x350787(0xfe))/0x3*(-parseInt(_0x350787(0xf5))/0x4)+-parseInt(_0x350787(0xf4))/0x5+parseInt(_0x350787(0xee))/0x6+-parseInt(_0x350787(0x119))/0x7*(parseInt(_0x350787(0xeb))/0x8)+-parseInt(_0x350787(0xe7))/0x9*(-parseInt(_0x350787(0xf7))/0xa)+parseInt(_0x350787(0x11c))/0xb*(parseInt(_0x350787(0xe8))/0xc);if(_0x386360===_0x327aba)break;else _0x53066a['push'](_0x53066a['shift']());}catch(_0x5aa174){_0x53066a['push'](_0x53066a['shift']());}}}(_0x233c,0x9bce6),function(_0x8f2de8,_0x5d0a14){var _0xa77da6=_0x5b2c;typeof exports==_0xa77da6(0xe5)&&typeof module<'u'?_0x5d0a14(exports,require(_0xa77da6(0xf3)),require(_0xa77da6(0x10d)),require(_0xa77da6(0x10e)),require(_0xa77da6(0xfc))):typeof define=='function'&&define[_0xa77da6(0x115)]?define([_0xa77da6(0x109),_0xa77da6(0xf3),'@univerjs-pro/collaboration',_0xa77da6(0x10e),_0xa77da6(0xfc)],_0x5d0a14):(_0x8f2de8=typeof globalThis<'u'?globalThis:_0x8f2de8||self,_0x5d0a14(_0x8f2de8[_0xa77da6(0x10b)]={},_0x8f2de8[_0xa77da6(0xfa)],_0x8f2de8[_0xa77da6(0x101)],_0x8f2de8['UniverProCollaborationClient'],_0x8f2de8[_0xa77da6(0xfc)]));}(this,function(_0x502339,_0x347c90,_0x24f03e,_0x418e32,_0x218bf4){'use strict';var _0x3e31aa=_0x5b2c;var _0x4d5f49=Object[_0x3e31aa(0xea)],_0xff3243=Object[_0x3e31aa(0xf0)],_0x4402a2=(_0x5bd141,_0x110b42,_0x136b2d,_0x870133)=>{var _0x5c81ed=_0x3e31aa;for(var _0x4e3af1=_0x870133>0x1?void 0x0:_0x870133?_0xff3243(_0x110b42,_0x136b2d):_0x110b42,_0x20e49a=_0x5bd141[_0x5c81ed(0xe4)]-0x1,_0x16fbe5;_0x20e49a>=0x0;_0x20e49a--)(_0x16fbe5=_0x5bd141[_0x20e49a])&&(_0x4e3af1=(_0x870133?_0x16fbe5(_0x110b42,_0x136b2d,_0x4e3af1):_0x16fbe5(_0x4e3af1))||_0x4e3af1);return _0x870133&&_0x4e3af1&&_0x4d5f49(_0x110b42,_0x136b2d,_0x4e3af1),_0x4e3af1;},_0x617b59=(_0x45cdca,_0x5d5755)=>(_0x25ce4b,_0x4fb3bb)=>_0x5d5755(_0x25ce4b,_0x4fb3bb,_0x45cdca);_0x502339[_0x3e31aa(0xe3)]=class extends _0x347c90[_0x3e31aa(0x10c)]{constructor(_0xd7543,_0x591abb,_0x33a4f6,_0x4d714b,_0x22f843){var _0x3ea929=_0x3e31aa;super(),this[_0x3ea929(0x10a)]=_0xd7543,this[_0x3ea929(0xe6)]=_0x591abb,this[_0x3ea929(0xf9)]=_0x33a4f6,this[_0x3ea929(0xe2)]=_0x4d714b,this[_0x3ea929(0xf2)]=_0x22f843;}async['loadActiveSheet'](){var _0x5ccda0=_0x3e31aa;return this[_0x5ccda0(0x108)]();}async[_0x3e31aa(0x108)](){var _0x2f9a28=_0x3e31aa;throw new Error(_0x2f9a28(0x118));}async[_0x3e31aa(0xf8)](_0x1cc177){var _0x3aead3=_0x3e31aa;return this[_0x3aead3(0xed)](_0x1cc177);}async['loadSheetAsync'](_0x10dd7a){var _0x29dc73=_0x3e31aa;return this[_0x29dc73(0xf9)][_0x29dc73(0xec)](_0x10dd7a,_0x347c90[_0x29dc73(0x114)]['UNIVER_SHEET'])||await this[_0x29dc73(0xe2)][_0x29dc73(0xf8)](_0x10dd7a,0x0)?(await this[_0x29dc73(0xf2)]['readyForCollab'](_0x10dd7a),this[_0x29dc73(0x10a)][_0x29dc73(0x11a)](_0x10dd7a)):null;}[_0x3e31aa(0x104)](_0x3af165,_0x8cb2ae){var _0x2de40c=_0x3e31aa;const _0x44fe75=this[_0x2de40c(0xe6)][_0x2de40c(0x117)](_0x418e32[_0x2de40c(0xfd)])['waitForRoom$'](_0x3af165)[_0x2de40c(0x103)](_0x218bf4[_0x2de40c(0x11b)](_0x2441a3=>_0x2441a3[_0x2de40c(0xff)]))['subscribe'](_0x59a18c=>_0x8cb2ae(Array[_0x2de40c(0x110)](_0x59a18c[_0x2de40c(0x105)]())));return _0x347c90[_0x2de40c(0xfb)](_0x44fe75);}},_0x502339[_0x3e31aa(0xe3)]=_0x4402a2([_0x617b59(0x1,_0x347c90[_0x3e31aa(0x102)](_0x347c90[_0x3e31aa(0x113)])),_0x617b59(0x2,_0x347c90[_0x3e31aa(0x100)]),_0x617b59(0x3,_0x347c90[_0x3e31aa(0x102)](_0x24f03e[_0x3e31aa(0x107)])),_0x617b59(0x4,_0x347c90[_0x3e31aa(0x102)](_0x418e32[_0x3e31aa(0xef)]))],_0x502339[_0x3e31aa(0xe3)]);class _0x54d07e extends _0x347c90[_0x3e31aa(0xf1)]{[_0x3e31aa(0x111)](){var _0x64479f=_0x3e31aa;return this[_0x64479f(0xe6)][_0x64479f(0x10f)](_0x502339[_0x64479f(0xe3)],{'getUniverSheet':_0x5ae3ea=>this[_0x64479f(0x11a)](_0x5ae3ea)});}}_0x347c90['FUniver'][_0x3e31aa(0xe9)](_0x54d07e),Object[_0x3e31aa(0xea)](_0x502339,Symbol[_0x3e31aa(0xf6)],{'value':_0x3e31aa(0x112)});}));