@univerjs-pro/collaboration-client 0.23.0 → 0.24.0
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 +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +13 -13
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x11c52d=_0x1d24;(function(_0x14bb66,_0x1b875e){const _0x1d4a09=_0x1d24,_0x522942=_0x14bb66();while(!![]){try{const _0x32db88=parseInt(_0x1d4a09(0xad))/0x1+-parseInt(_0x1d4a09(0xc5))/0x2*(-parseInt(_0x1d4a09(0x9e))/0x3)+-parseInt(_0x1d4a09(0xbb))/0x4+parseInt(_0x1d4a09(0x9b))/0x5*(parseInt(_0x1d4a09(0xb3))/0x6)+parseInt(_0x1d4a09(0xa8))/0x7+-parseInt(_0x1d4a09(0x99))/0x8*(-parseInt(_0x1d4a09(0xa3))/0x9)+-parseInt(_0x1d4a09(0x96))/0xa*(parseInt(_0x1d4a09(0x9c))/0xb);if(_0x32db88===_0x1b875e)break;else _0x522942['push'](_0x522942['shift']());}catch(_0x3a6958){_0x522942['push'](_0x522942['shift']());}}}(_0x2ec3,0xed145),Object[_0x11c52d(0xba)](exports,Symbol[_0x11c52d(0xac)],{'value':'Module'}));let e=require(`@univerjs-pro/collaboration-client`),t=require(`@univerjs/core/facade`),n=require(`@univerjs/core`),r=require(`@univerjs-pro/collaboration`),i=require(`rxjs`);function _0x2ec3(){const _0x32c076=['752DzNqHs','entityInit$','833015ZVisUT','11TxuWOR','getUnitId','2722431CjbWES','disposeWithMe','pipe','Inject','FEventName','32868qYZrHL','decorate','loadSheet','Event','extend','2010064CyNmWV','SnapshotService','fireEvent','switchMap','toStringTag','665727bkaCgG','_initialize','subscribe','CollaborationController','FBase','FEnum','42ultSHe','loadActiveSheet','CollaborationStatus','loadSheetAsync','DisposableCollection','loadServerUnit','getCollaboration','defineProperty','5534640eKmYYD','toDisposable','CollaborationStatusChanged','_injector','length','registerEventHandler','state','readyForCollab','DataLoaderService','loadUnitOfRevision','2ZOyghY','NOT_COLLAB','values','loadServerUnitOfRevision','_collaborationController','FUniver','_handler','getUniverSheet','FCollaboration','add','_univerInstanceService','subscribeCollaborators','getCollabEntity','loadUnit','_snapshotService','from','get','10151280ygLFnq','status','getCollaborationStatus'];_0x2ec3=function(){return _0x32c076;};return _0x2ec3();}var a=class extends t[_0x11c52d(0xb2)]{get[_0x11c52d(0xb5)](){return e['CollaborationStatus'];}};t[_0x11c52d(0xb2)][_0x11c52d(0xa7)](a);var o=class extends t[_0x11c52d(0xa2)]{get[_0x11c52d(0xbd)](){return'CollaborationStatusChanged';}};function _0x1d24(_0x48bc2c,_0x7b28e6){_0x48bc2c=_0x48bc2c-0x8c;const _0x2ec34c=_0x2ec3();let _0x1d241f=_0x2ec34c[_0x48bc2c];return _0x1d241f;}t[_0x11c52d(0xa2)][_0x11c52d(0xa7)](o);function s(_0x175ddc,_0x114e76){return function(_0x2137da,_0x32f97e){_0x114e76(_0x2137da,_0x32f97e,_0x175ddc);};}function c(_0x34784a,_0x4517b2,_0x22a74e,_0x17add6){const _0x5483d2=_0x11c52d;var _0xd3e451=arguments[_0x5483d2(0xbf)],_0x13ee00=_0xd3e451<0x3?_0x4517b2:_0x17add6===null?_0x17add6=Object['getOwnPropertyDescriptor'](_0x4517b2,_0x22a74e):_0x17add6,_0x6dabd3;if(typeof Reflect=='object'&&typeof Reflect[_0x5483d2(0xa4)]=='function')_0x13ee00=Reflect[_0x5483d2(0xa4)](_0x34784a,_0x4517b2,_0x22a74e,_0x17add6);else{for(var _0x453dc8=_0x34784a[_0x5483d2(0xbf)]-0x1;_0x453dc8>=0x0;_0x453dc8--)(_0x6dabd3=_0x34784a[_0x453dc8])&&(_0x13ee00=(_0xd3e451<0x3?_0x6dabd3(_0x13ee00):_0xd3e451>0x3?_0x6dabd3(_0x4517b2,_0x22a74e,_0x13ee00):_0x6dabd3(_0x4517b2,_0x22a74e))||_0x13ee00);}return _0xd3e451>0x3&&_0x13ee00&&Object[_0x5483d2(0xba)](_0x4517b2,_0x22a74e,_0x13ee00),_0x13ee00;}let l=class extends t[_0x11c52d(0xb1)]{constructor(_0x408e7f,_0x1ca230,_0x73d89d,_0x1d1b1c,_0x18aaa2){const _0x22b689=_0x11c52d;super(),this[_0x22b689(0xcb)]=_0x408e7f,this[_0x22b689(0xbe)]=_0x1ca230,this[_0x22b689(0x8f)]=_0x73d89d,this['_snapshotService']=_0x1d1b1c,this[_0x22b689(0xc9)]=_0x18aaa2;}async[_0x11c52d(0xb4)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){throw Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x11c52d(0xa5)](_0x249668){const _0x3ac9fa=_0x11c52d;return this[_0x3ac9fa(0xb6)](_0x249668);}async[_0x11c52d(0xb6)](_0x51e516,_0x179751){const _0x5ae268=_0x11c52d;return await this[_0x5ae268(0x93)]['loadSheet'](_0x51e516,0x0,_0x179751)?(await this[_0x5ae268(0xc9)][_0x5ae268(0xc2)](_0x51e516),this['_handler'][_0x5ae268(0x8c)](_0x51e516)):null;}[_0x11c52d(0x90)](_0x4e5c00,_0x4d3ca7){const _0x461445=_0x11c52d;return(0x0,n[_0x461445(0xbc)])(this[_0x461445(0xbe)][_0x461445(0x95)](e['MemberService'])['waitForRoom$'](_0x4e5c00)[_0x461445(0xa0)]((0x0,i[_0x461445(0xab)])(_0x1e3898=>_0x1e3898['members$']))[_0x461445(0xaf)](_0x320713=>_0x4d3ca7(Array[_0x461445(0x94)](_0x320713[_0x461445(0xc7)]()))));}[_0x11c52d(0x98)](_0x47bbb0){const _0x5ece07=_0x11c52d;var _0x581f70;let _0x61c350;if(_0x47bbb0)_0x61c350=_0x47bbb0;else{let _0x23023e=this[_0x5ece07(0x8f)]['getFocusedUnit']();_0x61c350=_0x23023e==null?void 0x0:_0x23023e[_0x5ece07(0x9d)]();}if(!_0x61c350)return e[_0x5ece07(0xb5)][_0x5ece07(0xc6)];let _0x364132=this[_0x5ece07(0xc9)][_0x5ece07(0x91)](_0x61c350);return(_0x581f70=_0x364132==null?void 0x0:_0x364132[_0x5ece07(0xc1)][_0x5ece07(0x97)])==null?e[_0x5ece07(0xb5)]['NOT_COLLAB']:_0x581f70;}};l=c([s(0x1,(0x0,n['Inject'])(n['Injector'])),s(0x2,n['IUniverInstanceService']),s(0x3,(0x0,n[_0x11c52d(0xa1)])(r[_0x11c52d(0xa9)])),s(0x4,(0x0,n[_0x11c52d(0xa1)])(e[_0x11c52d(0xb0)]))],l);var u=class extends t[_0x11c52d(0xca)]{[_0x11c52d(0xae)](_0x48b254){const _0x574323=_0x11c52d;let _0x49d06f=_0x48b254['get'](e[_0x574323(0xb0)]);this[_0x574323(0x9f)](this[_0x574323(0xc0)](this[_0x574323(0xa6)][_0x574323(0xbd)],()=>{const _0x49a15e=_0x574323;let _0x47e663=new n[(_0x49a15e(0xb7))](),_0x266532=_0x49d06f[_0x49a15e(0x9a)]['subscribe'](_0x382d82=>{const _0x157005=_0x49a15e;let _0x361945=_0x382d82['status$']['subscribe'](_0x570b65=>{const _0x41bf46=_0x1d24;let _0x538f20={'unitId':_0x382d82['unitID'],'status':_0x570b65};this[_0x41bf46(0xaa)](this['Event'][_0x41bf46(0xbd)],_0x538f20);});_0x47e663[_0x157005(0x8e)]((0x0,n[_0x157005(0xbc)])(_0x361945));});return _0x47e663['add']((0x0,n[_0x49a15e(0xbc)])(_0x266532)),_0x47e663;}));}[_0x11c52d(0xb9)](){const _0x3fe59d=_0x11c52d;return this[_0x3fe59d(0xbe)]['createInstance'](l,{'getUniverSheet':_0x398e34=>this[_0x3fe59d(0x8c)](_0x398e34)});}[_0x11c52d(0xb8)](_0x11e147,_0x9db088,_0x55cc37){const _0x31d53e=_0x11c52d;return this[_0x31d53e(0xbe)]['get'](e[_0x31d53e(0xc3)])[_0x31d53e(0x92)](_0x11e147,_0x9db088,_0x55cc37);}[_0x11c52d(0xc8)](_0x335f61,_0x374508,_0x5aabd0){const _0x40c506=_0x11c52d;return this[_0x40c506(0xbe)][_0x40c506(0x95)](e[_0x40c506(0xc3)])[_0x40c506(0xc4)](_0x335f61,_0x374508,_0x5aabd0);}};t[_0x11c52d(0xca)][_0x11c52d(0xa7)](u),Object['defineProperty'](exports,_0x11c52d(0x8d),{'enumerable':!0x0,'get':function(){return l;}});
|