@univerjs-pro/collaboration-client 0.6.3-nightly.202503051607 → 0.6.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 _0x3713c8=_0x53d6;(function(_0x3671fc,_0x3cf9c3){var _0x2d01b9=_0x53d6,_0x55dc15=_0x3671fc();while(!![]){try{var _0x19f2ac=-parseInt(_0x2d01b9(0x1f4))/0x1+parseInt(_0x2d01b9(0x1e6))/0x2+-parseInt(_0x2d01b9(0x1e9))/0x3+-parseInt(_0x2d01b9(0x1eb))/0x4+parseInt(_0x2d01b9(0x1f0))/0x5+parseInt(_0x2d01b9(0x1de))/0x6*(parseInt(_0x2d01b9(0x1f6))/0x7)+-parseInt(_0x2d01b9(0x1e4))/0x8*(-parseInt(_0x2d01b9(0x1ee))/0x9);if(_0x19f2ac===_0x3cf9c3)break;else _0x55dc15['push'](_0x55dc15['shift']());}catch(_0x44b936){_0x55dc15['push'](_0x55dc15['shift']());}}}(_0x1488,0x1dfef));function _0x1488(){var _0x3fc0ad=['defineProperty','extend','get','members$','40nEksoj','getOwnPropertyDescriptor','285498WyAQvK','loadActiveSheet','IUniverInstanceService','624102dcgGvc','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','874004bmiQOs','from','toDisposable','265887hMjgDZ','toStringTag','1094310xnFCSP','@univerjs/core','FCollaboration','@univerjs/core/facade','74395HLtapI','FBase','801269UAYpRD','loadActiveSheetAsync','getUniverSheet','CollaborationController','loadSheetAsync','switchMap','Injector','@univerjs-pro/collaboration-client','MemberService','@univerjs-pro/collaboration','subscribe','getCollaboration','Inject','values','FUniver','Module','_snapshotService','_univerInstanceService','_handler','rxjs','loadSheet','_injector','6ElBkoC','SnapshotService'];_0x1488=function(){return _0x3fc0ad;};return _0x1488();}function _0x53d6(_0x2c6d14,_0xc0a3bf){var _0x14884d=_0x1488();return _0x53d6=function(_0x53d611,_0x4f6975){_0x53d611=_0x53d611-0x1d7;var _0x3a6a96=_0x14884d[_0x53d611];return _0x3a6a96;},_0x53d6(_0x2c6d14,_0xc0a3bf);}Object[_0x3713c8(0x1e0)](exports,Symbol[_0x3713c8(0x1ef)],{'value':_0x3713c8(0x1d7)});const l=require(_0x3713c8(0x1f3)),b=require(_0x3713c8(0x1ff)),h=require(_0x3713c8(0x1fd)),i=require(_0x3713c8(0x1f1)),v=require(_0x3713c8(0x1db));var u=Object[_0x3713c8(0x1e5)],S=(_0x201ef3,_0x52463c,_0x1aee85,_0x36ef43)=>{for(var _0x7ab69=_0x36ef43>0x1?void 0x0:_0x36ef43?u(_0x52463c,_0x1aee85):_0x52463c,_0x4a4a83=_0x201ef3['length']-0x1,_0x355a96;_0x4a4a83>=0x0;_0x4a4a83--)(_0x355a96=_0x201ef3[_0x4a4a83])&&(_0x7ab69=_0x355a96(_0x7ab69)||_0x7ab69);return _0x7ab69;},s=(_0xdf0483,_0x50c521)=>(_0x5ef259,_0x4f5a82)=>_0x50c521(_0x5ef259,_0x4f5a82,_0xdf0483);exports[_0x3713c8(0x1f2)]=class extends l[_0x3713c8(0x1f5)]{constructor(_0x2e258a,_0x38e4b,_0x4bf46a,_0x11bae0,_0x1a62f1){var _0x1ba3f1=_0x3713c8;super(),this['_handler']=_0x2e258a,this[_0x1ba3f1(0x1dd)]=_0x38e4b,this[_0x1ba3f1(0x1d9)]=_0x4bf46a,this[_0x1ba3f1(0x1d8)]=_0x11bae0,this['_collaborationController']=_0x1a62f1;}async[_0x3713c8(0x1e7)](){var _0x284e6a=_0x3713c8;return this[_0x284e6a(0x1f7)]();}async[_0x3713c8(0x1f7)](){var _0x309a38=_0x3713c8;throw new Error(_0x309a38(0x1ea));}async['loadSheet'](_0x36a0f1){return this['loadSheetAsync'](_0x36a0f1);}async[_0x3713c8(0x1fa)](_0x33f7ac,_0x35133f){var _0x480864=_0x3713c8;return await this['_snapshotService'][_0x480864(0x1dc)](_0x33f7ac,0x0,_0x35133f)?(await this['_collaborationController']['readyForCollab'](_0x33f7ac),this[_0x480864(0x1da)][_0x480864(0x1f8)](_0x33f7ac)):null;}['subscribeCollaborators'](_0x1ab14b,_0x607a2f){var _0x3fd9a4=_0x3713c8;const _0xc6e305=this[_0x3fd9a4(0x1dd)][_0x3fd9a4(0x1e2)](h[_0x3fd9a4(0x1fe)])['waitForRoom$'](_0x1ab14b)['pipe'](v[_0x3fd9a4(0x1fb)](_0xeedce2=>_0xeedce2[_0x3fd9a4(0x1e3)]))[_0x3fd9a4(0x200)](_0xacc15e=>_0x607a2f(Array[_0x3fd9a4(0x1ec)](_0xacc15e[_0x3fd9a4(0x203)]())));return i[_0x3fd9a4(0x1ed)](_0xc6e305);}},exports[_0x3713c8(0x1f2)]=S([s(0x1,i[_0x3713c8(0x202)](i[_0x3713c8(0x1fc)])),s(0x2,i[_0x3713c8(0x1e8)]),s(0x3,i['Inject'](b[_0x3713c8(0x1df)])),s(0x4,i[_0x3713c8(0x202)](h[_0x3713c8(0x1f9)]))],exports[_0x3713c8(0x1f2)]);class d extends l[_0x3713c8(0x204)]{[_0x3713c8(0x201)](){var _0x3ab9d4=_0x3713c8;return this[_0x3ab9d4(0x1dd)]['createInstance'](exports[_0x3ab9d4(0x1f2)],{'getUniverSheet':_0x56bc99=>this[_0x3ab9d4(0x1f8)](_0x56bc99)});}}l[_0x3713c8(0x204)][_0x3713c8(0x1e1)](d);
1
+ 'use strict';var _0x566332=_0x387a;(function(_0x2f6daa,_0x44ea9d){var _0x3e37c4=_0x387a,_0x2b4dff=_0x2f6daa();while(!![]){try{var _0x1b720e=-parseInt(_0x3e37c4(0xa9))/0x1+parseInt(_0x3e37c4(0xc5))/0x2+-parseInt(_0x3e37c4(0xcd))/0x3+parseInt(_0x3e37c4(0xbf))/0x4+-parseInt(_0x3e37c4(0xaa))/0x5+-parseInt(_0x3e37c4(0xba))/0x6*(-parseInt(_0x3e37c4(0xb3))/0x7)+-parseInt(_0x3e37c4(0xc2))/0x8*(parseInt(_0x3e37c4(0xcc))/0x9);if(_0x1b720e===_0x44ea9d)break;else _0x2b4dff['push'](_0x2b4dff['shift']());}catch(_0x559b2c){_0x2b4dff['push'](_0x2b4dff['shift']());}}}(_0x2062,0x9dc6c));Object[_0x566332(0xc8)](exports,Symbol[_0x566332(0xc0)],{'value':_0x566332(0xa8)});const l=require(_0x566332(0xb1)),b=require(_0x566332(0xca)),h=require(_0x566332(0xbc)),i=require('@univerjs/core'),v=require('rxjs');function _0x387a(_0x37876e,_0x24f092){var _0x206251=_0x2062();return _0x387a=function(_0x387a42,_0x443e13){_0x387a42=_0x387a42-0xa5;var _0x35c7dc=_0x206251[_0x387a42];return _0x35c7dc;},_0x387a(_0x37876e,_0x24f092);}function _0x2062(){var _0x17320f=['_snapshotService','get','extend','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs/core/facade','_handler','146874jYDOWG','SnapshotService','getCollaboration','createInstance','getUniverSheet','CollaborationController','subscribe','306QhJZEH','loadActiveSheetAsync','@univerjs-pro/collaboration-client','MemberService','Injector','41644zXdIZA','toStringTag','FBase','8xaCBDf','values','switchMap','2225344BHaooV','loadSheetAsync','loadSheet','defineProperty','_injector','@univerjs-pro/collaboration','length','3896757thspHS','2001435QkoIAY','subscribeCollaborators','Inject','getOwnPropertyDescriptor','FCollaboration','_collaborationController','Module','316047SUChtu','653740RqyTlV','_univerInstanceService','members$'];_0x2062=function(){return _0x17320f;};return _0x2062();}var u=Object[_0x566332(0xa5)],S=(_0x209000,_0x652c17,_0x4c1a90,_0x1685b9)=>{var _0x212704=_0x566332;for(var _0x23fdd9=_0x1685b9>0x1?void 0x0:_0x1685b9?u(_0x652c17,_0x4c1a90):_0x652c17,_0x10822c=_0x209000[_0x212704(0xcb)]-0x1,_0x53a5ea;_0x10822c>=0x0;_0x10822c--)(_0x53a5ea=_0x209000[_0x10822c])&&(_0x23fdd9=_0x53a5ea(_0x23fdd9)||_0x23fdd9);return _0x23fdd9;},s=(_0x2c04df,_0x15de28)=>(_0x5f4aa0,_0x77300c)=>_0x15de28(_0x5f4aa0,_0x77300c,_0x2c04df);exports[_0x566332(0xa6)]=class extends l[_0x566332(0xc1)]{constructor(_0x3bac78,_0x4ec4e9,_0x16629f,_0x327e7c,_0x554f71){var _0x2e237d=_0x566332;super(),this[_0x2e237d(0xb2)]=_0x3bac78,this[_0x2e237d(0xc9)]=_0x4ec4e9,this[_0x2e237d(0xab)]=_0x16629f,this['_snapshotService']=_0x327e7c,this[_0x2e237d(0xa7)]=_0x554f71;}async['loadActiveSheet'](){var _0x5f0eef=_0x566332;return this[_0x5f0eef(0xbb)]();}async[_0x566332(0xbb)](){var _0x5e539b=_0x566332;throw new Error(_0x5e539b(0xb0));}async[_0x566332(0xc7)](_0x44164e){var _0x2305a8=_0x566332;return this[_0x2305a8(0xc6)](_0x44164e);}async['loadSheetAsync'](_0x3079d6,_0x12db34){var _0x1bcea0=_0x566332;return await this[_0x1bcea0(0xad)][_0x1bcea0(0xc7)](_0x3079d6,0x0,_0x12db34)?(await this[_0x1bcea0(0xa7)]['readyForCollab'](_0x3079d6),this[_0x1bcea0(0xb2)][_0x1bcea0(0xb7)](_0x3079d6)):null;}[_0x566332(0xce)](_0x20d381,_0x66ccac){var _0x42e9d3=_0x566332;const _0x57eb7f=this[_0x42e9d3(0xc9)][_0x42e9d3(0xae)](h[_0x42e9d3(0xbd)])['waitForRoom$'](_0x20d381)['pipe'](v[_0x42e9d3(0xc4)](_0x2d1caf=>_0x2d1caf[_0x42e9d3(0xac)]))[_0x42e9d3(0xb9)](_0x39624e=>_0x66ccac(Array['from'](_0x39624e[_0x42e9d3(0xc3)]())));return i['toDisposable'](_0x57eb7f);}},exports[_0x566332(0xa6)]=S([s(0x1,i[_0x566332(0xcf)](i[_0x566332(0xbe)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x566332(0xcf)](b[_0x566332(0xb4)])),s(0x4,i[_0x566332(0xcf)](h[_0x566332(0xb8)]))],exports[_0x566332(0xa6)]);class d extends l['FUniver']{[_0x566332(0xb5)](){var _0x10fbc3=_0x566332;return this[_0x10fbc3(0xc9)][_0x10fbc3(0xb6)](exports[_0x10fbc3(0xa6)],{'getUniverSheet':_0x331a69=>this[_0x10fbc3(0xb7)](_0x331a69)});}}l['FUniver'][_0x566332(0xaf)](d);