@univerjs-pro/collaboration-client 0.7.0-nightly.202504291607 → 0.7.0-nightly.202505011607

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 _0x33cc(_0x5ddacd,_0x41af53){var _0x5d5de8=_0x5d5d();return _0x33cc=function(_0x33cc72,_0x326ac8){_0x33cc72=_0x33cc72-0xa3;var _0x23afb6=_0x5d5de8[_0x33cc72];return _0x23afb6;},_0x33cc(_0x5ddacd,_0x41af53);}function _0x5d5d(){var _0x3c3954=['loadSheetAsync','members$','9832scQErX','2954oeesXA','readyForCollab','DataLoaderService','subscribeCollaborators','11479584jfMQxm','SnapshotService','loadUnit','_univerInstanceService','FUniver','498468jLvQUv','loadActiveSheetAsync','rxjs','@univerjs-pro/collaboration','loadSheet','@univerjs/core/facade','createInstance','defineProperty','switchMap','20mgfhIX','1355761BbntZc','_handler','getUniverSheet','_injector','18wnYOIH','_snapshotService','2715432DzSzBU','IUniverInstanceService','5apOUha','from','toDisposable','3EtFYzb','Inject','get','Injector','pipe','extend','11705cmCOnH','3171753zvNwHT','_collaborationController','@univerjs/core','MemberService','getCollaboration','loadServerUnit','getOwnPropertyDescriptor','FCollaboration'];_0x5d5d=function(){return _0x3c3954;};return _0x5d5d();}var _0x4c92bb=_0x33cc;(function(_0x217d59,_0x190899){var _0x345ffd=_0x33cc,_0x2b2e5b=_0x217d59();while(!![]){try{var _0x56103a=-parseInt(_0x345ffd(0xb9))/0x1*(-parseInt(_0x345ffd(0xac))/0x2)+-parseInt(_0x345ffd(0xb3))/0x3*(-parseInt(_0x345ffd(0xce))/0x4)+parseInt(_0x345ffd(0xb0))/0x5*(-parseInt(_0x345ffd(0xae))/0x6)+-parseInt(_0x345ffd(0xc5))/0x7*(parseInt(_0x345ffd(0xc4))/0x8)+parseInt(_0x345ffd(0xba))/0x9+parseInt(_0x345ffd(0xa7))/0xa*(-parseInt(_0x345ffd(0xa8))/0xb)+parseInt(_0x345ffd(0xc9))/0xc;if(_0x56103a===_0x190899)break;else _0x2b2e5b['push'](_0x2b2e5b['shift']());}catch(_0x1d3f78){_0x2b2e5b['push'](_0x2b2e5b['shift']());}}}(_0x5d5d,0x4e713));Object[_0x4c92bb(0xa5)](exports,Symbol['toStringTag'],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x4c92bb(0xa3)),v=require(_0x4c92bb(0xd1)),i=require(_0x4c92bb(0xbc)),b=require(_0x4c92bb(0xd0));var S=Object[_0x4c92bb(0xc0)],d=(_0x5afd9f,_0x2317d3,_0x53536c,_0x2f6601)=>{for(var _0x3c9993=_0x2f6601>0x1?void 0x0:_0x2f6601?S(_0x2317d3,_0x53536c):_0x2317d3,_0x2bd7e9=_0x5afd9f['length']-0x1,_0x4ec952;_0x2bd7e9>=0x0;_0x2bd7e9--)(_0x4ec952=_0x5afd9f[_0x2bd7e9])&&(_0x3c9993=_0x4ec952(_0x3c9993)||_0x3c9993);return _0x3c9993;},s=(_0x5cbc6f,_0x1dc9ac)=>(_0x1b8f2f,_0xf13481)=>_0x1dc9ac(_0x1b8f2f,_0xf13481,_0x5cbc6f);exports[_0x4c92bb(0xc1)]=class extends l['FBase']{constructor(_0x5a2086,_0x45133b,_0x128170,_0x41c331,_0xe5bf){var _0x5008b6=_0x4c92bb;super(),this[_0x5008b6(0xa9)]=_0x5a2086,this[_0x5008b6(0xab)]=_0x45133b,this[_0x5008b6(0xcc)]=_0x128170,this[_0x5008b6(0xad)]=_0x41c331,this[_0x5008b6(0xbb)]=_0xe5bf;}async['loadActiveSheet'](){var _0x47dba6=_0x4c92bb;return this[_0x47dba6(0xcf)]();}async[_0x4c92bb(0xcf)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x4c92bb(0xd2)](_0x2e7802){var _0x3ff6b7=_0x4c92bb;return this[_0x3ff6b7(0xc2)](_0x2e7802);}async[_0x4c92bb(0xc2)](_0x207021,_0x212949){var _0x461735=_0x4c92bb;return await this[_0x461735(0xad)]['loadSheet'](_0x207021,0x0,_0x212949)?(await this['_collaborationController'][_0x461735(0xc6)](_0x207021),this['_handler'][_0x461735(0xaa)](_0x207021)):null;}[_0x4c92bb(0xc8)](_0x26c859,_0x4f1b6b){var _0x37e42a=_0x4c92bb;const _0x3faf87=this[_0x37e42a(0xab)][_0x37e42a(0xb5)](c[_0x37e42a(0xbd)])['waitForRoom$'](_0x26c859)[_0x37e42a(0xb7)](b[_0x37e42a(0xa6)](_0x32964a=>_0x32964a[_0x37e42a(0xc3)]))['subscribe'](_0xde8fbb=>_0x4f1b6b(Array[_0x37e42a(0xb1)](_0xde8fbb['values']())));return i[_0x37e42a(0xb2)](_0x3faf87);}},exports[_0x4c92bb(0xc1)]=d([s(0x1,i['Inject'](i[_0x4c92bb(0xb6)])),s(0x2,i[_0x4c92bb(0xaf)]),s(0x3,i[_0x4c92bb(0xb4)](v[_0x4c92bb(0xca)])),s(0x4,i['Inject'](c['CollaborationController']))],exports[_0x4c92bb(0xc1)]);class u extends l[_0x4c92bb(0xcd)]{[_0x4c92bb(0xbe)](){var _0x3a6ff7=_0x4c92bb;return this[_0x3a6ff7(0xab)][_0x3a6ff7(0xa4)](exports[_0x3a6ff7(0xc1)],{'getUniverSheet':_0x9c2d62=>this[_0x3a6ff7(0xaa)](_0x9c2d62)});}[_0x4c92bb(0xbf)](_0x5acf7f,_0x153f54,_0x5e1414){var _0x404e64=_0x4c92bb;return this[_0x404e64(0xab)][_0x404e64(0xa4)](c[_0x404e64(0xc7)])[_0x404e64(0xcb)](_0x5acf7f,_0x153f54,_0x5e1414);}}l['FUniver'][_0x4c92bb(0xb8)](u);
1
+ 'use strict';var _0xcf3d97=_0x40ab;function _0x4314(){var _0x15a8d4=['[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs-pro/collaboration','FCollaboration','Injector','getCollaboration','loadSheetAsync','from','_collaborationController','subscribeCollaborators','toStringTag','_handler','members$','values','loadActiveSheetAsync','42WKcuOV','5sQxvZc','waitForRoom$','@univerjs/core','339oBGxoS','FUniver','Inject','MemberService','createInstance','loadSheet','@univerjs/core/facade','FBase','extend','length','readyForCollab','loadActiveSheet','19646PDIsFc','25727364OlntMQ','241314WVWgOq','11sRsgLN','loadUnit','toDisposable','_snapshotService','1243464QSZzrW','get','1117690SKHtgp','pipe','SnapshotService','3429522fOBBEP','subscribe','loadServerUnit','8FVydrZ','_injector','1347968JkSCto','getUniverSheet','Module'];_0x4314=function(){return _0x15a8d4;};return _0x4314();}(function(_0x4e338f,_0xead212){var _0x4740c8=_0x40ab,_0x1949a4=_0x4e338f();while(!![]){try{var _0x4e000e=-parseInt(_0x4740c8(0x199))/0x1+-parseInt(_0x4740c8(0x197))/0x2*(-parseInt(_0x4740c8(0x1bd))/0x3)+parseInt(_0x4740c8(0x1a8))/0x4*(parseInt(_0x4740c8(0x1ba))/0x5)+-parseInt(_0x4740c8(0x19e))/0x6*(-parseInt(_0x4740c8(0x1b9))/0x7)+parseInt(_0x4740c8(0x1a6))/0x8*(parseInt(_0x4740c8(0x1a3))/0x9)+parseInt(_0x4740c8(0x1a0))/0xa+-parseInt(_0x4740c8(0x19a))/0xb*(parseInt(_0x4740c8(0x198))/0xc);if(_0x4e000e===_0xead212)break;else _0x1949a4['push'](_0x1949a4['shift']());}catch(_0x2108db){_0x1949a4['push'](_0x1949a4['shift']());}}}(_0x4314,0xc2d45));Object['defineProperty'](exports,Symbol[_0xcf3d97(0x1b4)],{'value':_0xcf3d97(0x1aa)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0xcf3d97(0x191)),v=require(_0xcf3d97(0x1ac)),i=require(_0xcf3d97(0x1bc)),b=require('rxjs');function _0x40ab(_0x35b154,_0x169af1){var _0x4314e4=_0x4314();return _0x40ab=function(_0x40abff,_0x131cab){_0x40abff=_0x40abff-0x190;var _0xcbb1fb=_0x4314e4[_0x40abff];return _0xcbb1fb;},_0x40ab(_0x35b154,_0x169af1);}var S=Object['getOwnPropertyDescriptor'],d=(_0x2bd520,_0x5cae7d,_0x2661d1,_0x5b921f)=>{var _0x42efd3=_0xcf3d97;for(var _0x3f1612=_0x5b921f>0x1?void 0x0:_0x5b921f?S(_0x5cae7d,_0x2661d1):_0x5cae7d,_0x3ae8e9=_0x2bd520[_0x42efd3(0x194)]-0x1,_0x35ebf4;_0x3ae8e9>=0x0;_0x3ae8e9--)(_0x35ebf4=_0x2bd520[_0x3ae8e9])&&(_0x3f1612=_0x35ebf4(_0x3f1612)||_0x3f1612);return _0x3f1612;},s=(_0x9126bc,_0x32cff7)=>(_0x206fb4,_0x557aa4)=>_0x32cff7(_0x206fb4,_0x557aa4,_0x9126bc);exports[_0xcf3d97(0x1ad)]=class extends l[_0xcf3d97(0x192)]{constructor(_0x32e631,_0x4a7012,_0x51d67e,_0x17cced,_0x3fb41d){var _0x1e7a46=_0xcf3d97;super(),this[_0x1e7a46(0x1b5)]=_0x32e631,this[_0x1e7a46(0x1a7)]=_0x4a7012,this['_univerInstanceService']=_0x51d67e,this['_snapshotService']=_0x17cced,this['_collaborationController']=_0x3fb41d;}async[_0xcf3d97(0x196)](){var _0x22cdab=_0xcf3d97;return this[_0x22cdab(0x1b8)]();}async[_0xcf3d97(0x1b8)](){var _0x22e3da=_0xcf3d97;throw new Error(_0x22e3da(0x1ab));}async[_0xcf3d97(0x190)](_0x32b288){var _0xf4ee32=_0xcf3d97;return this[_0xf4ee32(0x1b0)](_0x32b288);}async[_0xcf3d97(0x1b0)](_0x47f45b,_0x4bde2b){var _0x167e10=_0xcf3d97;return await this[_0x167e10(0x19d)][_0x167e10(0x190)](_0x47f45b,0x0,_0x4bde2b)?(await this[_0x167e10(0x1b2)][_0x167e10(0x195)](_0x47f45b),this[_0x167e10(0x1b5)][_0x167e10(0x1a9)](_0x47f45b)):null;}[_0xcf3d97(0x1b3)](_0x3b6bfb,_0x15caa4){var _0xce3611=_0xcf3d97;const _0x3323c0=this[_0xce3611(0x1a7)][_0xce3611(0x19f)](c[_0xce3611(0x1c0)])[_0xce3611(0x1bb)](_0x3b6bfb)[_0xce3611(0x1a1)](b['switchMap'](_0x1a12c3=>_0x1a12c3[_0xce3611(0x1b6)]))[_0xce3611(0x1a4)](_0x43c688=>_0x15caa4(Array[_0xce3611(0x1b1)](_0x43c688[_0xce3611(0x1b7)]())));return i[_0xce3611(0x19c)](_0x3323c0);}},exports[_0xcf3d97(0x1ad)]=d([s(0x1,i[_0xcf3d97(0x1bf)](i[_0xcf3d97(0x1ae)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0xcf3d97(0x1bf)](v[_0xcf3d97(0x1a2)])),s(0x4,i[_0xcf3d97(0x1bf)](c['CollaborationController']))],exports[_0xcf3d97(0x1ad)]);class u extends l[_0xcf3d97(0x1be)]{[_0xcf3d97(0x1af)](){var _0x26e2a6=_0xcf3d97;return this['_injector'][_0x26e2a6(0x1c1)](exports[_0x26e2a6(0x1ad)],{'getUniverSheet':_0x382ffe=>this[_0x26e2a6(0x1a9)](_0x382ffe)});}[_0xcf3d97(0x1a5)](_0x2579ab,_0x3fac3c,_0x170db8){var _0x56ae92=_0xcf3d97;return this[_0x56ae92(0x1a7)]['createInstance'](c['DataLoaderService'])[_0x56ae92(0x19b)](_0x2579ab,_0x3fac3c,_0x170db8);}}l[_0xcf3d97(0x1be)][_0xcf3d97(0x193)](u);