@univerjs-pro/collaboration-client 0.5.3-nightly.202501121605 → 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.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x1c7f97=_0x95f3;(function(_0x447468,_0xfeef33){var _0x518a1f=_0x95f3,_0x15be49=_0x447468();while(!![]){try{var _0x8f1018=parseInt(_0x518a1f(0x1b7))/0x1*(-parseInt(_0x518a1f(0x1dc))/0x2)+parseInt(_0x518a1f(0x1be))/0x3*(parseInt(_0x518a1f(0x1b4))/0x4)+-parseInt(_0x518a1f(0x1bc))/0x5*(-parseInt(_0x518a1f(0x1c6))/0x6)+-parseInt(_0x518a1f(0x1d8))/0x7+parseInt(_0x518a1f(0x1b3))/0x8+-parseInt(_0x518a1f(0x1d1))/0x9*(parseInt(_0x518a1f(0x1d4))/0xa)+parseInt(_0x518a1f(0x1c1))/0xb;if(_0x8f1018===_0xfeef33)break;else _0x15be49['push'](_0x15be49['shift']());}catch(_0x33074b){_0x15be49['push'](_0x15be49['shift']());}}}(_0x3c89,0x2b7cf));Object['defineProperty'](exports,Symbol[_0x1c7f97(0x1da)],{'value':_0x1c7f97(0x1b5)});const o=require(_0x1c7f97(0x1b0)),h=require(_0x1c7f97(0x1db)),c=require('@univerjs-pro/collaboration-client'),b=require(_0x1c7f97(0x1af));var v=Object[_0x1c7f97(0x1cf)],u=Object['getOwnPropertyDescriptor'],S=(_0x64384,_0x158b1e,_0x45e37d,_0x4043f2)=>{var _0x1e3de4=_0x1c7f97;for(var _0x9366b4=_0x4043f2>0x1?void 0x0:_0x4043f2?u(_0x158b1e,_0x45e37d):_0x158b1e,_0x28f9dc=_0x64384[_0x1e3de4(0x1de)]-0x1,_0x571e40;_0x28f9dc>=0x0;_0x28f9dc--)(_0x571e40=_0x64384[_0x28f9dc])&&(_0x9366b4=(_0x4043f2?_0x571e40(_0x158b1e,_0x45e37d,_0x9366b4):_0x571e40(_0x9366b4))||_0x9366b4);return _0x4043f2&&_0x9366b4&&v(_0x158b1e,_0x45e37d,_0x9366b4),_0x9366b4;},s=(_0xb7eb28,_0x5f0d15)=>(_0x360666,_0x36054d)=>_0x5f0d15(_0x360666,_0x36054d,_0xb7eb28);function _0x95f3(_0x5d978d,_0x10ffb4){var _0x3c895d=_0x3c89();return _0x95f3=function(_0x95f328,_0x1bda84){_0x95f328=_0x95f328-0x1ae;var _0x158b7e=_0x3c895d[_0x95f328];return _0x158b7e;},_0x95f3(_0x5d978d,_0x10ffb4);}exports[_0x1c7f97(0x1d3)]=class extends o[_0x1c7f97(0x1c7)]{constructor(_0x4759b9,_0x237f99,_0x4fe310,_0xa11d44,_0x360e03){var _0x317ac4=_0x1c7f97;super(),this[_0x317ac4(0x1cc)]=_0x4759b9,this['_injector']=_0x237f99,this[_0x317ac4(0x1d2)]=_0x4fe310,this[_0x317ac4(0x1bd)]=_0xa11d44,this['_collaborationController']=_0x360e03;}async[_0x1c7f97(0x1dd)](){var _0x3347fa=_0x1c7f97;return this[_0x3347fa(0x1c8)]();}async[_0x1c7f97(0x1c8)](){var _0x316299=_0x1c7f97;throw new Error(_0x316299(0x1b6));}async['loadSheet'](_0x10a600){var _0x3b2267=_0x1c7f97;return this[_0x3b2267(0x1bf)](_0x10a600);}async[_0x1c7f97(0x1bf)](_0x1a1c87){var _0x56c872=_0x1c7f97;return this[_0x56c872(0x1d2)][_0x56c872(0x1b8)](_0x1a1c87,o[_0x56c872(0x1d0)][_0x56c872(0x1c4)])||await this[_0x56c872(0x1bd)][_0x56c872(0x1ce)](_0x1a1c87,0x0)?(await this[_0x56c872(0x1d9)][_0x56c872(0x1b2)](_0x1a1c87),this[_0x56c872(0x1cc)][_0x56c872(0x1bb)](_0x1a1c87)):null;}['subscribeCollaborators'](_0x334a22,_0x3918c7){var _0x493e12=_0x1c7f97;const _0x467752=this[_0x493e12(0x1c0)][_0x493e12(0x1ca)](c[_0x493e12(0x1d7)])['waitForRoom$'](_0x334a22)[_0x493e12(0x1cd)](b[_0x493e12(0x1c2)](_0xdd1dd0=>_0xdd1dd0[_0x493e12(0x1cb)]))[_0x493e12(0x1ba)](_0x2fb3fd=>_0x3918c7(Array['from'](_0x2fb3fd[_0x493e12(0x1d5)]())));return o['toDisposable'](_0x467752);}},exports[_0x1c7f97(0x1d3)]=S([s(0x1,o['Inject'](o['Injector'])),s(0x2,o['IUniverInstanceService']),s(0x3,o['Inject'](h[_0x1c7f97(0x1b1)])),s(0x4,o[_0x1c7f97(0x1b9)](c[_0x1c7f97(0x1ae)]))],exports[_0x1c7f97(0x1d3)]);function _0x3c89(){var _0x2014e8=['loadSheetAsync','_injector','4344615AfXseb','switchMap','createInstance','UNIVER_SHEET','getCollaboration','52074QOIMDO','FBase','loadActiveSheetAsync','FUniver','get','members$','_handler','pipe','loadSheet','defineProperty','UniverInstanceType','9KXGGuJ','_univerInstanceService','FCollaboration','2937380yLDmSh','values','extend','MemberService','1200486EAGvRN','_collaborationController','toStringTag','@univerjs-pro/collaboration','690062KouaQl','loadActiveSheet','length','CollaborationController','rxjs','@univerjs/core','SnapshotService','readyForCollab','2242616nIlbnb','4HCpQMK','Module','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','1moJpBR','getUnit','Inject','subscribe','getUniverSheet','85QOzCIA','_snapshotService','496677fmomxr'];_0x3c89=function(){return _0x2014e8;};return _0x3c89();}class _ extends o['FUniver']{[_0x1c7f97(0x1c5)](){var _0x264436=_0x1c7f97;return this[_0x264436(0x1c0)][_0x264436(0x1c3)](exports[_0x264436(0x1d3)],{'getUniverSheet':_0x1e7296=>this[_0x264436(0x1bb)](_0x1e7296)});}}o[_0x1c7f97(0x1c9)][_0x1c7f97(0x1d6)](_);
1
+ 'use strict';var _0x3cac8e=_0x5e13;(function(_0x75c819,_0x3bf63e){var _0x5115df=_0x5e13,_0x3ab199=_0x75c819();while(!![]){try{var _0x3c8998=-parseInt(_0x5115df(0xe8))/0x1+parseInt(_0x5115df(0xe9))/0x2+parseInt(_0x5115df(0xee))/0x3*(-parseInt(_0x5115df(0xf2))/0x4)+-parseInt(_0x5115df(0xfd))/0x5*(-parseInt(_0x5115df(0x106))/0x6)+parseInt(_0x5115df(0xf9))/0x7*(-parseInt(_0x5115df(0xe4))/0x8)+-parseInt(_0x5115df(0xea))/0x9*(-parseInt(_0x5115df(0xf1))/0xa)+parseInt(_0x5115df(0x103))/0xb;if(_0x3c8998===_0x3bf63e)break;else _0x3ab199['push'](_0x3ab199['shift']());}catch(_0x521b2f){_0x3ab199['push'](_0x3ab199['shift']());}}}(_0x12d6,0x87acf));function _0x5e13(_0x295dc1,_0x510dae){var _0x12d6cd=_0x12d6();return _0x5e13=function(_0x5e1352,_0x3f9028){_0x5e1352=_0x5e1352-0xe1;var _0x2e9ca0=_0x12d6cd[_0x5e1352];return _0x2e9ca0;},_0x5e13(_0x295dc1,_0x510dae);}function _0x12d6(){var _0xf6b316=['waitForRoom$','337658twtZgH','609130PCcROa','36693uKhLrN','Inject','readyForCollab','length','999807auiEkV','subscribeCollaborators','switchMap','1410muJlUC','8hABWkY','members$','_snapshotService','UniverInstanceType','FCollaboration','get','MemberService','16471MxmupR','UNIVER_SHEET','toDisposable','values','974615HPsJKv','pipe','@univerjs/core','_univerInstanceService','defineProperty','Injector','13628054pINvpA','getCollaboration','_injector','12UnHYBX','getOwnPropertyDescriptor','getUnit','CollaborationController','from','createInstance','loadActiveSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','subscribe','loadSheet','SnapshotService','getUniverSheet','3224ehDJIe','IUniverInstanceService','toStringTag'];_0x12d6=function(){return _0xf6b316;};return _0x12d6();}Object['defineProperty'](exports,Symbol[_0x3cac8e(0xe6)],{'value':'Module'});const o=require(_0x3cac8e(0xff)),h=require('@univerjs-pro/collaboration'),c=require('@univerjs-pro/collaboration-client'),b=require('rxjs');var v=Object[_0x3cac8e(0x101)],u=Object[_0x3cac8e(0x107)],S=(_0xc42761,_0x4cc952,_0x3b1dd0,_0x45a108)=>{var _0x4998ee=_0x3cac8e;for(var _0x2ce83d=_0x45a108>0x1?void 0x0:_0x45a108?u(_0x4cc952,_0x3b1dd0):_0x4cc952,_0x2a0d66=_0xc42761[_0x4998ee(0xed)]-0x1,_0x1762a0;_0x2a0d66>=0x0;_0x2a0d66--)(_0x1762a0=_0xc42761[_0x2a0d66])&&(_0x2ce83d=(_0x45a108?_0x1762a0(_0x4cc952,_0x3b1dd0,_0x2ce83d):_0x1762a0(_0x2ce83d))||_0x2ce83d);return _0x45a108&&_0x2ce83d&&v(_0x4cc952,_0x3b1dd0,_0x2ce83d),_0x2ce83d;},s=(_0x4823c9,_0x25331d)=>(_0x181929,_0x4e59ef)=>_0x25331d(_0x181929,_0x4e59ef,_0x4823c9);exports[_0x3cac8e(0xf6)]=class extends o['FBase']{constructor(_0x30e757,_0x41869a,_0x1f42cf,_0x50afb7,_0x759d95){var _0x34f224=_0x3cac8e;super(),this['_handler']=_0x30e757,this['_injector']=_0x41869a,this[_0x34f224(0x100)]=_0x1f42cf,this[_0x34f224(0xf4)]=_0x50afb7,this['_collaborationController']=_0x759d95;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x3cac8e(0x10c)](){var _0xee845=_0x3cac8e;throw new Error(_0xee845(0x10d));}async[_0x3cac8e(0xe1)](_0x1772a1){return this['loadSheetAsync'](_0x1772a1);}async['loadSheetAsync'](_0x1c969f){var _0x205d90=_0x3cac8e;return this[_0x205d90(0x100)][_0x205d90(0x108)](_0x1c969f,o[_0x205d90(0xf5)][_0x205d90(0xfa)])||await this[_0x205d90(0xf4)]['loadSheet'](_0x1c969f,0x0)?(await this['_collaborationController'][_0x205d90(0xec)](_0x1c969f),this['_handler'][_0x205d90(0xe3)](_0x1c969f)):null;}[_0x3cac8e(0xef)](_0x49d2a8,_0x107793){var _0x41942b=_0x3cac8e;const _0x3cb7d9=this[_0x41942b(0x105)][_0x41942b(0xf7)](c[_0x41942b(0xf8)])[_0x41942b(0xe7)](_0x49d2a8)[_0x41942b(0xfe)](b[_0x41942b(0xf0)](_0x345856=>_0x345856[_0x41942b(0xf3)]))[_0x41942b(0x10e)](_0x5bbf4e=>_0x107793(Array[_0x41942b(0x10a)](_0x5bbf4e[_0x41942b(0xfc)]())));return o[_0x41942b(0xfb)](_0x3cb7d9);}},exports['FCollaboration']=S([s(0x1,o['Inject'](o[_0x3cac8e(0x102)])),s(0x2,o[_0x3cac8e(0xe5)]),s(0x3,o[_0x3cac8e(0xeb)](h[_0x3cac8e(0xe2)])),s(0x4,o[_0x3cac8e(0xeb)](c[_0x3cac8e(0x109)]))],exports[_0x3cac8e(0xf6)]);class _ extends o['FUniver']{[_0x3cac8e(0x104)](){var _0x5410d0=_0x3cac8e;return this[_0x5410d0(0x105)][_0x5410d0(0x10b)](exports[_0x5410d0(0xf6)],{'getUniverSheet':_0x46fbcf=>this[_0x5410d0(0xe3)](_0x46fbcf)});}}o['FUniver']['extend'](_);