@univerjs-pro/collaboration-client 0.6.7 → 0.6.8

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/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x2e05(_0x365811,_0x4930c1){var _0x1cccdf=_0x1ccc();return _0x2e05=function(_0x2e05f0,_0x32df60){_0x2e05f0=_0x2e05f0-0x1d6;var _0x1a64bb=_0x1cccdf[_0x2e05f0];return _0x1a64bb;},_0x2e05(_0x365811,_0x4930c1);}(function(_0xfb3a70,_0x6c5f09){var _0x3dc62e=_0x2e05,_0x16b77e=_0xfb3a70();while(!![]){try{var _0x23b3a3=-parseInt(_0x3dc62e(0x205))/0x1+-parseInt(_0x3dc62e(0x1f0))/0x2*(-parseInt(_0x3dc62e(0x1ef))/0x3)+-parseInt(_0x3dc62e(0x203))/0x4*(parseInt(_0x3dc62e(0x1f2))/0x5)+parseInt(_0x3dc62e(0x1de))/0x6*(parseInt(_0x3dc62e(0x1ff))/0x7)+parseInt(_0x3dc62e(0x1e2))/0x8*(parseInt(_0x3dc62e(0x1dc))/0x9)+-parseInt(_0x3dc62e(0x1dd))/0xa*(-parseInt(_0x3dc62e(0x1fe))/0xb)+parseInt(_0x3dc62e(0x1eb))/0xc*(-parseInt(_0x3dc62e(0x210))/0xd);if(_0x23b3a3===_0x6c5f09)break;else _0x16b77e['push'](_0x16b77e['shift']());}catch(_0x3cf9c2){_0x16b77e['push'](_0x16b77e['shift']());}}}(_0x1ccc,0xb3e71),function(_0x291fde,_0x5883e7){var _0x3ef50b=_0x2e05;typeof exports==_0x3ef50b(0x1e5)&&typeof module<'u'?_0x5883e7(exports,require(_0x3ef50b(0x1ee)),require('@univerjs/core/facade'),require(_0x3ef50b(0x1da)),require('@univerjs/core'),require(_0x3ef50b(0x208))):typeof define==_0x3ef50b(0x1d6)&&define[_0x3ef50b(0x204)]?define([_0x3ef50b(0x1d8),_0x3ef50b(0x1ee),'@univerjs/core/facade',_0x3ef50b(0x1da),'@univerjs/core',_0x3ef50b(0x208)],_0x5883e7):(_0x291fde=typeof globalThis<'u'?globalThis:_0x291fde||self,_0x5883e7(_0x291fde[_0x3ef50b(0x20c)]={},_0x291fde[_0x3ef50b(0x207)],_0x291fde['UniverCoreFacade'],_0x291fde[_0x3ef50b(0x20e)],_0x291fde[_0x3ef50b(0x1e0)],_0x291fde[_0x3ef50b(0x208)]));}(this,function(_0x45e22a,_0x16abf7,_0x23b10c,_0x22f69f,_0x4d4479,_0x54f1f8){'use strict';var _0x575207=_0x2e05;var _0xc78911=Object[_0x575207(0x1e7)],_0x6a74bc=(_0x13d1cd,_0xfa5b4f,_0x201452,_0x41212c)=>{var _0x3052f5=_0x575207;for(var _0x323553=_0x41212c>0x1?void 0x0:_0x41212c?_0xc78911(_0xfa5b4f,_0x201452):_0xfa5b4f,_0x58bc11=_0x13d1cd[_0x3052f5(0x1fc)]-0x1,_0x402968;_0x58bc11>=0x0;_0x58bc11--)(_0x402968=_0x13d1cd[_0x58bc11])&&(_0x323553=_0x402968(_0x323553)||_0x323553);return _0x323553;},_0x20291b=(_0x4055a9,_0x6a0d3b)=>(_0x8686dd,_0x1ba6c6)=>_0x6a0d3b(_0x8686dd,_0x1ba6c6,_0x4055a9);_0x45e22a[_0x575207(0x1ec)]=class extends _0x23b10c[_0x575207(0x1fd)]{constructor(_0x13fcd3,_0x2357c1,_0x2d79e5,_0x47ef5f,_0x506070){var _0x432e3d=_0x575207;super(),this[_0x432e3d(0x1e9)]=_0x13fcd3,this[_0x432e3d(0x1db)]=_0x2357c1,this[_0x432e3d(0x20a)]=_0x2d79e5,this[_0x432e3d(0x1d9)]=_0x47ef5f,this['_collaborationController']=_0x506070;}async[_0x575207(0x1d7)](){return this['loadActiveSheetAsync']();}async[_0x575207(0x20b)](){var _0x239c43=_0x575207;throw new Error(_0x239c43(0x20f));}async[_0x575207(0x206)](_0x2215ef){var _0x58b34d=_0x575207;return this[_0x58b34d(0x1df)](_0x2215ef);}async[_0x575207(0x1df)](_0x34d569,_0xe097f1){var _0x2cff43=_0x575207;return await this[_0x2cff43(0x1d9)][_0x2cff43(0x206)](_0x34d569,0x0,_0xe097f1)?(await this[_0x2cff43(0x1e4)]['readyForCollab'](_0x34d569),this[_0x2cff43(0x1e9)]['getUniverSheet'](_0x34d569)):null;}[_0x575207(0x1f9)](_0x423f98,_0x293136){var _0x15a582=_0x575207;const _0x4ea7c0=this[_0x15a582(0x1db)][_0x15a582(0x200)](_0x16abf7[_0x15a582(0x209)])['waitForRoom$'](_0x423f98)[_0x15a582(0x1ea)](_0x54f1f8[_0x15a582(0x201)](_0x5967cd=>_0x5967cd['members$']))[_0x15a582(0x1e6)](_0x4c6ffc=>_0x293136(Array['from'](_0x4c6ffc[_0x15a582(0x1f1)]())));return _0x4d4479[_0x15a582(0x20d)](_0x4ea7c0);}},_0x45e22a[_0x575207(0x1ec)]=_0x6a74bc([_0x20291b(0x1,_0x4d4479[_0x575207(0x1f8)](_0x4d4479[_0x575207(0x1e8)])),_0x20291b(0x2,_0x4d4479['IUniverInstanceService']),_0x20291b(0x3,_0x4d4479[_0x575207(0x1f8)](_0x22f69f[_0x575207(0x202)])),_0x20291b(0x4,_0x4d4479['Inject'](_0x16abf7[_0x575207(0x1f5)]))],_0x45e22a[_0x575207(0x1ec)]);class _0x47f77d extends _0x23b10c[_0x575207(0x1e3)]{[_0x575207(0x1f7)](){var _0x36a5b9=_0x575207;return this[_0x36a5b9(0x1db)][_0x36a5b9(0x1fa)](_0x45e22a[_0x36a5b9(0x1ec)],{'getUniverSheet':_0x136827=>this['getUniverSheet'](_0x136827)});}['loadServerUnit'](_0x5857c1,_0x18b5b8,_0x5afda3){var _0x39cca0=_0x575207;return this[_0x39cca0(0x1db)][_0x39cca0(0x1fa)](_0x16abf7[_0x39cca0(0x1e1)])[_0x39cca0(0x1f4)](_0x5857c1,_0x18b5b8,_0x5afda3);}}_0x23b10c[_0x575207(0x1e3)][_0x575207(0x1fb)](_0x47f77d),Object[_0x575207(0x1f6)](_0x45e22a,Symbol[_0x575207(0x1f3)],{'value':_0x575207(0x1ed)});}));function _0x1ccc(){var _0x5a96c9=['loadSheet','UniverProCollaborationClient','rxjs','MemberService','_univerInstanceService','loadActiveSheetAsync','UniverProCollaborationClientFacade','toDisposable','UniverProCollaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','3161561xJXvQP','function','loadActiveSheet','exports','_snapshotService','@univerjs-pro/collaboration','_injector','1422blnXAq','3252540jcdpUG','1878KIMxKc','loadSheetAsync','UniverCore','DataLoaderService','11728aQNWRl','FUniver','_collaborationController','object','subscribe','getOwnPropertyDescriptor','Injector','_handler','pipe','48AQfGdZ','FCollaboration','Module','@univerjs-pro/collaboration-client','9aiScNQ','882000CxrsXS','values','865olRKNz','toStringTag','loadUnit','CollaborationController','defineProperty','getCollaboration','Inject','subscribeCollaborators','createInstance','extend','length','FBase','22RBDnDW','13538NCeIkE','get','switchMap','SnapshotService','7732PYnIIU','amd','766400RXqJWX'];_0x1ccc=function(){return _0x5a96c9;};return _0x1ccc();}
1
+ function _0x4e95(_0x273b94,_0x3ce457){var _0x3c88d9=_0x3c88();return _0x4e95=function(_0x4e95e2,_0x2bcc25){_0x4e95e2=_0x4e95e2-0x1b6;var _0x235530=_0x3c88d9[_0x4e95e2];return _0x235530;},_0x4e95(_0x273b94,_0x3ce457);}(function(_0x1d1428,_0x3980a8){var _0x22881f=_0x4e95,_0x4f8758=_0x1d1428();while(!![]){try{var _0x424514=-parseInt(_0x22881f(0x1ea))/0x1*(-parseInt(_0x22881f(0x1e4))/0x2)+parseInt(_0x22881f(0x1d2))/0x3+parseInt(_0x22881f(0x1e0))/0x4*(-parseInt(_0x22881f(0x1ce))/0x5)+parseInt(_0x22881f(0x1e9))/0x6+parseInt(_0x22881f(0x1bd))/0x7+-parseInt(_0x22881f(0x1c2))/0x8*(-parseInt(_0x22881f(0x1e3))/0x9)+-parseInt(_0x22881f(0x1e1))/0xa;if(_0x424514===_0x3980a8)break;else _0x4f8758['push'](_0x4f8758['shift']());}catch(_0xa71bbf){_0x4f8758['push'](_0x4f8758['shift']());}}}(_0x3c88,0x9f9b4),function(_0x5befeb,_0x1f9b47){var _0x6c6a57=_0x4e95;typeof exports==_0x6c6a57(0x1dc)&&typeof module<'u'?_0x1f9b47(exports,require(_0x6c6a57(0x1e8)),require(_0x6c6a57(0x1c1)),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require(_0x6c6a57(0x1d4))):typeof define==_0x6c6a57(0x1b7)&&define[_0x6c6a57(0x1c3)]?define([_0x6c6a57(0x1ba),_0x6c6a57(0x1e8),_0x6c6a57(0x1c1),'@univerjs-pro/collaboration',_0x6c6a57(0x1d1),_0x6c6a57(0x1d4)],_0x1f9b47):(_0x5befeb=typeof globalThis<'u'?globalThis:_0x5befeb||self,_0x1f9b47(_0x5befeb['UniverProCollaborationClientFacade']={},_0x5befeb['UniverProCollaborationClient'],_0x5befeb[_0x6c6a57(0x1bc)],_0x5befeb[_0x6c6a57(0x1ca)],_0x5befeb[_0x6c6a57(0x1e6)],_0x5befeb[_0x6c6a57(0x1d4)]));}(this,function(_0x43bf1d,_0xdab42a,_0x104381,_0x52c5cf,_0x4f64b5,_0x289736){'use strict';var _0x63d1d7=_0x4e95;var _0x339df8=Object[_0x63d1d7(0x1c5)],_0x4f1a9c=(_0x2c6c58,_0x15ed1c,_0x20cbed,_0xd9bcf3)=>{var _0x512837=_0x63d1d7;for(var _0x3d260c=_0xd9bcf3>0x1?void 0x0:_0xd9bcf3?_0x339df8(_0x15ed1c,_0x20cbed):_0x15ed1c,_0x975d06=_0x2c6c58[_0x512837(0x1bf)]-0x1,_0x441462;_0x975d06>=0x0;_0x975d06--)(_0x441462=_0x2c6c58[_0x975d06])&&(_0x3d260c=_0x441462(_0x3d260c)||_0x3d260c);return _0x3d260c;},_0x55ea84=(_0x30f1a4,_0x12f1dc)=>(_0x2ba6ea,_0x5819e0)=>_0x12f1dc(_0x2ba6ea,_0x5819e0,_0x30f1a4);_0x43bf1d[_0x63d1d7(0x1c4)]=class extends _0x104381[_0x63d1d7(0x1c8)]{constructor(_0x1464d4,_0x5e6cee,_0x456979,_0x471fe7,_0x18fd80){var _0x591e11=_0x63d1d7;super(),this['_handler']=_0x1464d4,this[_0x591e11(0x1cf)]=_0x5e6cee,this[_0x591e11(0x1b9)]=_0x456979,this[_0x591e11(0x1d7)]=_0x471fe7,this['_collaborationController']=_0x18fd80;}async[_0x63d1d7(0x1df)](){var _0x1784f7=_0x63d1d7;return this[_0x1784f7(0x1be)]();}async[_0x63d1d7(0x1be)](){var _0x55eca1=_0x63d1d7;throw new Error(_0x55eca1(0x1c7));}async[_0x63d1d7(0x1e2)](_0x56dcd1){var _0x3b701a=_0x63d1d7;return this[_0x3b701a(0x1dd)](_0x56dcd1);}async[_0x63d1d7(0x1dd)](_0xdfd279,_0x3bb196){var _0x59976e=_0x63d1d7;return await this[_0x59976e(0x1d7)]['loadSheet'](_0xdfd279,0x0,_0x3bb196)?(await this['_collaborationController'][_0x59976e(0x1de)](_0xdfd279),this[_0x59976e(0x1ec)][_0x59976e(0x1cd)](_0xdfd279)):null;}['subscribeCollaborators'](_0x25bcb9,_0x1f7047){var _0x8469f0=_0x63d1d7;const _0x1ce96c=this[_0x8469f0(0x1cf)][_0x8469f0(0x1cb)](_0xdab42a[_0x8469f0(0x1db)])['waitForRoom$'](_0x25bcb9)[_0x8469f0(0x1c6)](_0x289736[_0x8469f0(0x1d0)](_0x59e3fa=>_0x59e3fa[_0x8469f0(0x1d9)]))[_0x8469f0(0x1d5)](_0x4ab310=>_0x1f7047(Array[_0x8469f0(0x1c9)](_0x4ab310['values']())));return _0x4f64b5[_0x8469f0(0x1d3)](_0x1ce96c);}},_0x43bf1d[_0x63d1d7(0x1c4)]=_0x4f1a9c([_0x55ea84(0x1,_0x4f64b5[_0x63d1d7(0x1da)](_0x4f64b5['Injector'])),_0x55ea84(0x2,_0x4f64b5['IUniverInstanceService']),_0x55ea84(0x3,_0x4f64b5[_0x63d1d7(0x1da)](_0x52c5cf[_0x63d1d7(0x1b8)])),_0x55ea84(0x4,_0x4f64b5[_0x63d1d7(0x1da)](_0xdab42a[_0x63d1d7(0x1d6)]))],_0x43bf1d[_0x63d1d7(0x1c4)]);class _0x3b5ce5 extends _0x104381[_0x63d1d7(0x1e7)]{[_0x63d1d7(0x1d8)](){var _0x17237a=_0x63d1d7;return this[_0x17237a(0x1cf)]['createInstance'](_0x43bf1d[_0x17237a(0x1c4)],{'getUniverSheet':_0x16cdf1=>this[_0x17237a(0x1cd)](_0x16cdf1)});}[_0x63d1d7(0x1c0)](_0x3289b3,_0x4efd60,_0x1170a0){var _0x146c3f=_0x63d1d7;return this[_0x146c3f(0x1cf)][_0x146c3f(0x1bb)](_0xdab42a['DataLoaderService'])[_0x146c3f(0x1e5)](_0x3289b3,_0x4efd60,_0x1170a0);}}_0x104381['FUniver'][_0x63d1d7(0x1eb)](_0x3b5ce5),Object[_0x63d1d7(0x1cc)](_0x43bf1d,Symbol['toStringTag'],{'value':_0x63d1d7(0x1b6)});}));function _0x3c88(){var _0x12aab8=['amd','FCollaboration','getOwnPropertyDescriptor','pipe','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FBase','from','UniverProCollaboration','get','defineProperty','getUniverSheet','2572905KEAaWI','_injector','switchMap','@univerjs/core','2302002WUPVTf','toDisposable','rxjs','subscribe','CollaborationController','_snapshotService','getCollaboration','members$','Inject','MemberService','object','loadSheetAsync','readyForCollab','loadActiveSheet','4pBQodh','34577720hHcigD','loadSheet','99aVtwGH','2sheikT','loadUnit','UniverCore','FUniver','@univerjs-pro/collaboration-client','1615572pkLUmB','1229544FNTnOI','extend','_handler','Module','function','SnapshotService','_univerInstanceService','exports','createInstance','UniverCoreFacade','8623993Nzqlhd','loadActiveSheetAsync','length','loadServerUnit','@univerjs/core/facade','820336MzfBgx'];_0x3c88=function(){return _0x12aab8;};return _0x3c88();}