@univerjs-pro/collaboration-client 0.5.4-nightly.202501151606 → 0.5.4-nightly.202501160647

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 _0x519469=_0x44d7;(function(_0x5ec3ad,_0x2b290e){var _0x244839=_0x44d7,_0x4252c5=_0x5ec3ad();while(!![]){try{var _0x2b61dd=-parseInt(_0x244839(0xb0))/0x1*(parseInt(_0x244839(0x91))/0x2)+parseInt(_0x244839(0xbf))/0x3+parseInt(_0x244839(0xba))/0x4*(parseInt(_0x244839(0x98))/0x5)+-parseInt(_0x244839(0xbd))/0x6+parseInt(_0x244839(0xa2))/0x7*(-parseInt(_0x244839(0xb3))/0x8)+parseInt(_0x244839(0xb4))/0x9*(-parseInt(_0x244839(0x95))/0xa)+-parseInt(_0x244839(0x93))/0xb*(-parseInt(_0x244839(0xa4))/0xc);if(_0x2b61dd===_0x2b290e)break;else _0x4252c5['push'](_0x4252c5['shift']());}catch(_0x18ab91){_0x4252c5['push'](_0x4252c5['shift']());}}}(_0x4533,0x2adf7));function _0x4533(){var _0x3e59a2=['FBase','defineProperty','loadSheet','waitForRoom$','switchMap','loadSheetAsync','_collaborationController','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','length','_injector','11523daooea','subscribe','SnapshotService','867448KkTrLp','1193877cNFlwz','getOwnPropertyDescriptor','CollaborationController','pipe','@univerjs-pro/collaboration','subscribeCollaborators','88xFjwuy','MemberService','loadActiveSheet','1903914cUleyZ','Inject','668508EmHgPj','FCollaboration','values','getUniverSheet','getCollaboration','54bahWwR','extend','4917oApobH','from','10jMKMmh','Module','loadActiveSheetAsync','15415MOXdLX','getUnit','readyForCollab','members$','FUniver','_snapshotService','Injector','createInstance','_handler','_univerInstanceService','21cwZXhm','UNIVER_SHEET','26076DZSszk','toStringTag'];_0x4533=function(){return _0x3e59a2;};return _0x4533();}Object['defineProperty'](exports,Symbol[_0x519469(0xa5)],{'value':_0x519469(0x96)});const o=require('@univerjs/core'),h=require(_0x519469(0xb8)),c=require('@univerjs-pro/collaboration-client'),b=require('rxjs');var v=Object[_0x519469(0xa7)],u=Object[_0x519469(0xb5)],S=(_0x23d6a1,_0x577dcc,_0x19c4b8,_0x52c172)=>{var _0x16e0fa=_0x519469;for(var _0x562556=_0x52c172>0x1?void 0x0:_0x52c172?u(_0x577dcc,_0x19c4b8):_0x577dcc,_0x23f07a=_0x23d6a1[_0x16e0fa(0xae)]-0x1,_0x1f0d96;_0x23f07a>=0x0;_0x23f07a--)(_0x1f0d96=_0x23d6a1[_0x23f07a])&&(_0x562556=(_0x52c172?_0x1f0d96(_0x577dcc,_0x19c4b8,_0x562556):_0x1f0d96(_0x562556))||_0x562556);return _0x52c172&&_0x562556&&v(_0x577dcc,_0x19c4b8,_0x562556),_0x562556;},s=(_0x27a886,_0x2b8b1c)=>(_0xabca28,_0x23ba57)=>_0x2b8b1c(_0xabca28,_0x23ba57,_0x27a886);exports[_0x519469(0xc0)]=class extends o[_0x519469(0xa6)]{constructor(_0x1e8b8f,_0xe7583b,_0x15d222,_0x56f731,_0x57a04a){var _0xf55fc6=_0x519469;super(),this['_handler']=_0x1e8b8f,this[_0xf55fc6(0xaf)]=_0xe7583b,this['_univerInstanceService']=_0x15d222,this[_0xf55fc6(0x9d)]=_0x56f731,this[_0xf55fc6(0xac)]=_0x57a04a;}async[_0x519469(0xbc)](){var _0x374a82=_0x519469;return this[_0x374a82(0x97)]();}async[_0x519469(0x97)](){var _0x49fb9f=_0x519469;throw new Error(_0x49fb9f(0xad));}async[_0x519469(0xa8)](_0x4896f6){var _0x52c6e5=_0x519469;return this[_0x52c6e5(0xab)](_0x4896f6);}async[_0x519469(0xab)](_0x1278da){var _0x58c580=_0x519469;return this[_0x58c580(0xa1)][_0x58c580(0x99)](_0x1278da,o['UniverInstanceType'][_0x58c580(0xa3)])||await this['_snapshotService'][_0x58c580(0xa8)](_0x1278da,0x0)?(await this['_collaborationController'][_0x58c580(0x9a)](_0x1278da),this[_0x58c580(0xa0)][_0x58c580(0xc2)](_0x1278da)):null;}[_0x519469(0xb9)](_0xd6b6ad,_0x522aac){var _0x47e313=_0x519469;const _0x2a7858=this[_0x47e313(0xaf)]['get'](c[_0x47e313(0xbb)])[_0x47e313(0xa9)](_0xd6b6ad)[_0x47e313(0xb7)](b[_0x47e313(0xaa)](_0x2fc8b8=>_0x2fc8b8[_0x47e313(0x9b)]))[_0x47e313(0xb1)](_0x299d0f=>_0x522aac(Array[_0x47e313(0x94)](_0x299d0f[_0x47e313(0xc1)]())));return o['toDisposable'](_0x2a7858);}},exports[_0x519469(0xc0)]=S([s(0x1,o['Inject'](o[_0x519469(0x9e)])),s(0x2,o['IUniverInstanceService']),s(0x3,o[_0x519469(0xbe)](h[_0x519469(0xb2)])),s(0x4,o[_0x519469(0xbe)](c[_0x519469(0xb6)]))],exports['FCollaboration']);class _ extends o['FUniver']{[_0x519469(0x90)](){var _0x4aa94c=_0x519469;return this['_injector'][_0x4aa94c(0x9f)](exports[_0x4aa94c(0xc0)],{'getUniverSheet':_0x5786f6=>this[_0x4aa94c(0xc2)](_0x5786f6)});}}function _0x44d7(_0x232a38,_0x250228){var _0x4533a7=_0x4533();return _0x44d7=function(_0x44d71b,_0x4b7030){_0x44d71b=_0x44d71b-0x90;var _0xe15e41=_0x4533a7[_0x44d71b];return _0xe15e41;},_0x44d7(_0x232a38,_0x250228);}o[_0x519469(0x9c)][_0x519469(0x92)](_);
1
+ 'use strict';var _0x2eaa14=_0x4fdd;function _0x4fdd(_0x15713f,_0x56f1a0){var _0x284cc3=_0x284c();return _0x4fdd=function(_0x4fddb3,_0x57116e){_0x4fddb3=_0x4fddb3-0x170;var _0x3ba197=_0x284cc3[_0x4fddb3];return _0x3ba197;},_0x4fdd(_0x15713f,_0x56f1a0);}(function(_0x334e2a,_0xf7dae6){var _0x3009b9=_0x4fdd,_0x550261=_0x334e2a();while(!![]){try{var _0x99a454=-parseInt(_0x3009b9(0x189))/0x1*(-parseInt(_0x3009b9(0x18a))/0x2)+-parseInt(_0x3009b9(0x180))/0x3*(-parseInt(_0x3009b9(0x175))/0x4)+-parseInt(_0x3009b9(0x176))/0x5+parseInt(_0x3009b9(0x185))/0x6*(-parseInt(_0x3009b9(0x193))/0x7)+-parseInt(_0x3009b9(0x17c))/0x8+-parseInt(_0x3009b9(0x179))/0x9+-parseInt(_0x3009b9(0x19a))/0xa*(-parseInt(_0x3009b9(0x17a))/0xb);if(_0x99a454===_0xf7dae6)break;else _0x550261['push'](_0x550261['shift']());}catch(_0x29e878){_0x550261['push'](_0x550261['shift']());}}}(_0x284c,0xf01a6));Object[_0x2eaa14(0x182)](exports,Symbol[_0x2eaa14(0x199)],{'value':'Module'});const o=require('@univerjs/core'),h=require(_0x2eaa14(0x18f)),c=require(_0x2eaa14(0x194)),b=require('rxjs');var v=Object[_0x2eaa14(0x182)],u=Object[_0x2eaa14(0x198)],S=(_0x63eb71,_0x51abaa,_0x1f186c,_0x18084e)=>{var _0xd0a535=_0x2eaa14;for(var _0x66469f=_0x18084e>0x1?void 0x0:_0x18084e?u(_0x51abaa,_0x1f186c):_0x51abaa,_0x95512b=_0x63eb71[_0xd0a535(0x19b)]-0x1,_0x5c1781;_0x95512b>=0x0;_0x95512b--)(_0x5c1781=_0x63eb71[_0x95512b])&&(_0x66469f=(_0x18084e?_0x5c1781(_0x51abaa,_0x1f186c,_0x66469f):_0x5c1781(_0x66469f))||_0x66469f);return _0x18084e&&_0x66469f&&v(_0x51abaa,_0x1f186c,_0x66469f),_0x66469f;},s=(_0x382c97,_0x47ffe7)=>(_0x44f3ca,_0x591ffb)=>_0x47ffe7(_0x44f3ca,_0x591ffb,_0x382c97);exports[_0x2eaa14(0x191)]=class extends o['FBase']{constructor(_0x265f83,_0xfd1f3a,_0x661b4f,_0x41e329,_0x2f597b){var _0x28f87d=_0x2eaa14;super(),this[_0x28f87d(0x17f)]=_0x265f83,this[_0x28f87d(0x18d)]=_0xfd1f3a,this['_univerInstanceService']=_0x661b4f,this[_0x28f87d(0x178)]=_0x41e329,this[_0x28f87d(0x188)]=_0x2f597b;}async[_0x2eaa14(0x183)](){var _0x4e5bd8=_0x2eaa14;return this[_0x4e5bd8(0x177)]();}async[_0x2eaa14(0x177)](){var _0x3437bc=_0x2eaa14;throw new Error(_0x3437bc(0x171));}async[_0x2eaa14(0x17d)](_0xe4f7dc){return this['loadSheetAsync'](_0xe4f7dc);}async[_0x2eaa14(0x174)](_0x42efe7){var _0x1dd7f4=_0x2eaa14;return this[_0x1dd7f4(0x18b)][_0x1dd7f4(0x170)](_0x42efe7,o[_0x1dd7f4(0x186)][_0x1dd7f4(0x187)])||await this[_0x1dd7f4(0x178)]['loadSheet'](_0x42efe7,0x0)?(await this[_0x1dd7f4(0x188)][_0x1dd7f4(0x190)](_0x42efe7),this[_0x1dd7f4(0x17f)][_0x1dd7f4(0x172)](_0x42efe7)):null;}['subscribeCollaborators'](_0x1e4550,_0x4b1a06){var _0x981524=_0x2eaa14;const _0x4b3961=this['_injector']['get'](c[_0x981524(0x196)])['waitForRoom$'](_0x1e4550)[_0x981524(0x197)](b[_0x981524(0x192)](_0x330022=>_0x330022[_0x981524(0x17b)]))[_0x981524(0x18c)](_0x20a37a=>_0x4b1a06(Array['from'](_0x20a37a[_0x981524(0x181)]())));return o[_0x981524(0x195)](_0x4b3961);}},exports['FCollaboration']=S([s(0x1,o['Inject'](o['Injector'])),s(0x2,o['IUniverInstanceService']),s(0x3,o['Inject'](h['SnapshotService'])),s(0x4,o['Inject'](c['CollaborationController']))],exports['FCollaboration']);class _ extends o[_0x2eaa14(0x17e)]{[_0x2eaa14(0x184)](){var _0x61431c=_0x2eaa14;return this[_0x61431c(0x18d)][_0x61431c(0x18e)](exports[_0x61431c(0x191)],{'getUniverSheet':_0x2aa65e=>this[_0x61431c(0x172)](_0x2aa65e)});}}function _0x284c(){var _0x288caf=['pipe','getOwnPropertyDescriptor','toStringTag','3184710dKEoRn','length','getUnit','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getUniverSheet','extend','loadSheetAsync','64FBchCs','3727280YmiVJM','loadActiveSheetAsync','_snapshotService','13230126xVoAZR','165KeeZWt','members$','4400488oyUStd','loadSheet','FUniver','_handler','10902ZQsKlA','values','defineProperty','loadActiveSheet','getCollaboration','34236wmaLsy','UniverInstanceType','UNIVER_SHEET','_collaborationController','3EjYIfQ','291524JFsDCf','_univerInstanceService','subscribe','_injector','createInstance','@univerjs-pro/collaboration','readyForCollab','FCollaboration','switchMap','1869YiQHpV','@univerjs-pro/collaboration-client','toDisposable','MemberService'];_0x284c=function(){return _0x288caf;};return _0x284c();}o[_0x2eaa14(0x17e)][_0x2eaa14(0x173)](_);