@univerjs-pro/collaboration-client 0.6.7-experimental.20250331-aa3ee78 → 0.6.7-experimental.20250331-1a09136

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';function _0x1d30(){var _0x30c469=['loadSheet','118420RuAkMe','48lwbcZF','_snapshotService','_handler','Inject','3075308pyqNcG','values','getUniverSheet','pipe','@univerjs/core','SnapshotService','loadSheetAsync','12826cnREMl','toStringTag','loadServerUnit','defineProperty','FCollaboration','35465pQkfXO','7BtlAFm','members$','loadUnit','_univerInstanceService','subscribe','_collaborationController','rxjs','@univerjs-pro/collaboration','84tOrULA','getOwnPropertyDescriptor','loadActiveSheetAsync','6426608RDnAMV','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_injector','getCollaboration','CollaborationController','createInstance','FBase','766035pOOAKG','switchMap','246onavxH','IUniverInstanceService','FUniver','loadActiveSheet','Injector','subscribeCollaborators','207socCjG','@univerjs-pro/collaboration-client','2630870rnMVLq','toDisposable','waitForRoom$','from','Module'];_0x1d30=function(){return _0x30c469;};return _0x1d30();}var _0x34e71d=_0xf936;(function(_0x44b67c,_0x38ac62){var _0x6b1b8a=_0xf936,_0x5c3a1f=_0x44b67c();while(!![]){try{var _0x44ea4c=parseInt(_0x6b1b8a(0xf4))/0x1*(-parseInt(_0x6b1b8a(0xe9))/0x2)+parseInt(_0x6b1b8a(0xd8))/0x3+parseInt(_0x6b1b8a(0xed))/0x4+-parseInt(_0x6b1b8a(0xc5))/0x5*(-parseInt(_0x6b1b8a(0xda))/0x6)+parseInt(_0x6b1b8a(0xc6))/0x7*(parseInt(_0x6b1b8a(0xd1))/0x8)+parseInt(_0x6b1b8a(0xe0))/0x9*(parseInt(_0x6b1b8a(0xe8))/0xa)+-parseInt(_0x6b1b8a(0xe2))/0xb*(parseInt(_0x6b1b8a(0xce))/0xc);if(_0x44ea4c===_0x38ac62)break;else _0x5c3a1f['push'](_0x5c3a1f['shift']());}catch(_0x49da07){_0x5c3a1f['push'](_0x5c3a1f['shift']());}}}(_0x1d30,0x63c57));Object[_0x34e71d(0xf7)](exports,Symbol[_0x34e71d(0xf5)],{'value':_0x34e71d(0xe6)});const c=require(_0x34e71d(0xe1)),l=require('@univerjs/core/facade'),v=require(_0x34e71d(0xcd)),i=require(_0x34e71d(0xf1)),b=require(_0x34e71d(0xcc));function _0xf936(_0x3765ff,_0x45a5ee){var _0x1d305c=_0x1d30();return _0xf936=function(_0xf93608,_0x288cea){_0xf93608=_0xf93608-0xc5;var _0x152833=_0x1d305c[_0xf93608];return _0x152833;},_0xf936(_0x3765ff,_0x45a5ee);}var S=Object[_0x34e71d(0xcf)],d=(_0x3a42b1,_0x2b7c01,_0x30c5a2,_0x527542)=>{for(var _0x5cfee6=_0x527542>0x1?void 0x0:_0x527542?S(_0x2b7c01,_0x30c5a2):_0x2b7c01,_0x5f31f2=_0x3a42b1['length']-0x1,_0x5626a4;_0x5f31f2>=0x0;_0x5f31f2--)(_0x5626a4=_0x3a42b1[_0x5f31f2])&&(_0x5cfee6=_0x5626a4(_0x5cfee6)||_0x5cfee6);return _0x5cfee6;},s=(_0x12c1d0,_0x1f4f61)=>(_0x293818,_0x2ad47e)=>_0x1f4f61(_0x293818,_0x2ad47e,_0x12c1d0);exports[_0x34e71d(0xf8)]=class extends l[_0x34e71d(0xd7)]{constructor(_0x1737ca,_0x2209b0,_0x42c402,_0x3602fa,_0x51bd79){var _0x300f30=_0x34e71d;super(),this[_0x300f30(0xeb)]=_0x1737ca,this[_0x300f30(0xd3)]=_0x2209b0,this[_0x300f30(0xc9)]=_0x42c402,this[_0x300f30(0xea)]=_0x3602fa,this[_0x300f30(0xcb)]=_0x51bd79;}async[_0x34e71d(0xdd)](){var _0x53a4de=_0x34e71d;return this[_0x53a4de(0xd0)]();}async[_0x34e71d(0xd0)](){var _0x420767=_0x34e71d;throw new Error(_0x420767(0xd2));}async[_0x34e71d(0xe7)](_0x1bda38){return this['loadSheetAsync'](_0x1bda38);}async[_0x34e71d(0xf3)](_0x20502b,_0x3b36c4){var _0x5c684c=_0x34e71d;return await this[_0x5c684c(0xea)]['loadSheet'](_0x20502b,0x0,_0x3b36c4)?(await this[_0x5c684c(0xcb)]['readyForCollab'](_0x20502b),this[_0x5c684c(0xeb)][_0x5c684c(0xef)](_0x20502b)):null;}[_0x34e71d(0xdf)](_0x1a8ef8,_0x14a73c){var _0x347587=_0x34e71d;const _0x31ef02=this[_0x347587(0xd3)]['get'](c['MemberService'])[_0x347587(0xe4)](_0x1a8ef8)[_0x347587(0xf0)](b[_0x347587(0xd9)](_0x3bfa06=>_0x3bfa06[_0x347587(0xc7)]))[_0x347587(0xca)](_0x217cca=>_0x14a73c(Array[_0x347587(0xe5)](_0x217cca[_0x347587(0xee)]())));return i[_0x347587(0xe3)](_0x31ef02);}},exports[_0x34e71d(0xf8)]=d([s(0x1,i[_0x34e71d(0xec)](i[_0x34e71d(0xde)])),s(0x2,i[_0x34e71d(0xdb)]),s(0x3,i[_0x34e71d(0xec)](v[_0x34e71d(0xf2)])),s(0x4,i[_0x34e71d(0xec)](c[_0x34e71d(0xd5)]))],exports[_0x34e71d(0xf8)]);class u extends l[_0x34e71d(0xdc)]{[_0x34e71d(0xd4)](){var _0x21338c=_0x34e71d;return this['_injector'][_0x21338c(0xd6)](exports['FCollaboration'],{'getUniverSheet':_0xe6015b=>this[_0x21338c(0xef)](_0xe6015b)});}[_0x34e71d(0xf6)](_0x50f045,_0x237702,_0x43addc){var _0x1731c6=_0x34e71d;return this['_injector']['createInstance'](c['DataLoaderService'])[_0x1731c6(0xc8)](_0x50f045,_0x237702,_0x43addc);}}l[_0x34e71d(0xdc)]['extend'](u);
1
+ 'use strict';var _0x2f0c83=_0x2fb3;(function(_0x1da063,_0x2eb9d5){var _0x5f5018=_0x2fb3,_0x118df9=_0x1da063();while(!![]){try{var _0x59748d=parseInt(_0x5f5018(0x10f))/0x1+parseInt(_0x5f5018(0xf4))/0x2+-parseInt(_0x5f5018(0x113))/0x3+parseInt(_0x5f5018(0x112))/0x4+parseInt(_0x5f5018(0x110))/0x5+parseInt(_0x5f5018(0x102))/0x6+-parseInt(_0x5f5018(0x106))/0x7;if(_0x59748d===_0x2eb9d5)break;else _0x118df9['push'](_0x118df9['shift']());}catch(_0x2b88f5){_0x118df9['push'](_0x118df9['shift']());}}}(_0x5d8b,0x8812d));Object[_0x2f0c83(0x109)](exports,Symbol[_0x2f0c83(0xfb)],{'value':_0x2f0c83(0xf5)});const c=require(_0x2f0c83(0x105)),l=require(_0x2f0c83(0xef)),v=require(_0x2f0c83(0xfa)),i=require('@univerjs/core'),b=require('rxjs');var S=Object[_0x2f0c83(0x115)],d=(_0x1c228c,_0x48aaa5,_0x1d5eef,_0x194782)=>{var _0x546220=_0x2f0c83;for(var _0x33dbc6=_0x194782>0x1?void 0x0:_0x194782?S(_0x48aaa5,_0x1d5eef):_0x48aaa5,_0x262cc4=_0x1c228c[_0x546220(0xf7)]-0x1,_0x82408;_0x262cc4>=0x0;_0x262cc4--)(_0x82408=_0x1c228c[_0x262cc4])&&(_0x33dbc6=_0x82408(_0x33dbc6)||_0x33dbc6);return _0x33dbc6;},s=(_0x426037,_0xa7c76)=>(_0x36d7db,_0x55ad7a)=>_0xa7c76(_0x36d7db,_0x55ad7a,_0x426037);function _0x5d8b(){var _0x41eefc=['@univerjs/core/facade','subscribeCollaborators','loadUnit','_collaborationController','_handler','1293620eaVXRy','Module','get','length','_injector','DataLoaderService','@univerjs-pro/collaboration','toStringTag','createInstance','members$','FCollaboration','subscribe','loadActiveSheet','loadActiveSheetAsync','5171064orOrYq','pipe','toDisposable','@univerjs-pro/collaboration-client','19955579PFKttn','_univerInstanceService','from','defineProperty','MemberService','Inject','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_snapshotService','values','853233bVgOuI','1780030wLEfOb','getUniverSheet','3250964OFbbVx','367440wepimW','Injector','getOwnPropertyDescriptor','waitForRoom$','loadSheet','FUniver','loadSheetAsync','IUniverInstanceService','loadServerUnit','SnapshotService'];_0x5d8b=function(){return _0x41eefc;};return _0x5d8b();}exports[_0x2f0c83(0xfe)]=class extends l['FBase']{constructor(_0x3404b7,_0x46d081,_0x115181,_0x3b788d,_0x3739a5){var _0x59be38=_0x2f0c83;super(),this[_0x59be38(0xf3)]=_0x3404b7,this[_0x59be38(0xf8)]=_0x46d081,this[_0x59be38(0x107)]=_0x115181,this[_0x59be38(0x10d)]=_0x3b788d,this[_0x59be38(0xf2)]=_0x3739a5;}async[_0x2f0c83(0x100)](){var _0x18ac80=_0x2f0c83;return this[_0x18ac80(0x101)]();}async['loadActiveSheetAsync'](){var _0x407aae=_0x2f0c83;throw new Error(_0x407aae(0x10c));}async[_0x2f0c83(0x117)](_0x332f9a){var _0x542029=_0x2f0c83;return this[_0x542029(0x119)](_0x332f9a);}async['loadSheetAsync'](_0x2d01ab,_0x5764df){var _0x119151=_0x2f0c83;return await this['_snapshotService'][_0x119151(0x117)](_0x2d01ab,0x0,_0x5764df)?(await this[_0x119151(0xf2)]['readyForCollab'](_0x2d01ab),this[_0x119151(0xf3)][_0x119151(0x111)](_0x2d01ab)):null;}[_0x2f0c83(0xf0)](_0x4a843f,_0x292697){var _0x38892a=_0x2f0c83;const _0x587471=this[_0x38892a(0xf8)][_0x38892a(0xf6)](c[_0x38892a(0x10a)])[_0x38892a(0x116)](_0x4a843f)[_0x38892a(0x103)](b['switchMap'](_0x1b5ab2=>_0x1b5ab2[_0x38892a(0xfd)]))[_0x38892a(0xff)](_0x39364b=>_0x292697(Array[_0x38892a(0x108)](_0x39364b[_0x38892a(0x10e)]())));return i[_0x38892a(0x104)](_0x587471);}},exports['FCollaboration']=d([s(0x1,i['Inject'](i[_0x2f0c83(0x114)])),s(0x2,i[_0x2f0c83(0x11a)]),s(0x3,i[_0x2f0c83(0x10b)](v[_0x2f0c83(0xee)])),s(0x4,i[_0x2f0c83(0x10b)](c['CollaborationController']))],exports[_0x2f0c83(0xfe)]);class u extends l[_0x2f0c83(0x118)]{['getCollaboration'](){var _0x23df3e=_0x2f0c83;return this[_0x23df3e(0xf8)][_0x23df3e(0xfc)](exports[_0x23df3e(0xfe)],{'getUniverSheet':_0x4d6918=>this['getUniverSheet'](_0x4d6918)});}[_0x2f0c83(0xed)](_0x1d186e,_0x319a30,_0x329f1c){var _0x440fdf=_0x2f0c83;return this[_0x440fdf(0xf8)][_0x440fdf(0xfc)](c[_0x440fdf(0xf9)])[_0x440fdf(0xf1)](_0x1d186e,_0x319a30,_0x329f1c);}}function _0x2fb3(_0x521179,_0x1032eb){var _0x5d8b1c=_0x5d8b();return _0x2fb3=function(_0x2fb3bf,_0xfb460){_0x2fb3bf=_0x2fb3bf-0xed;var _0x30afab=_0x5d8b1c[_0x2fb3bf];return _0x30afab;},_0x2fb3(_0x521179,_0x1032eb);}l[_0x2f0c83(0x118)]['extend'](u);