@univerjs-pro/collaboration-client 0.20.0 → 0.20.1
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/auth-server/authz-io-http.service.d.ts +7 -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 +11 -11
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x27463b=_0x2ecd;(function(_0xe5f528,_0xe0dc4f){const _0x5b63fa=_0x2ecd,_0xb57162=_0xe5f528();while(!![]){try{const _0x14a36a=parseInt(_0x5b63fa(0x199))/0x1+-parseInt(_0x5b63fa(0x1b9))/0x2+parseInt(_0x5b63fa(0x18f))/0x3*(parseInt(_0x5b63fa(0x1a2))/0x4)+parseInt(_0x5b63fa(0x1a3))/0x5*(parseInt(_0x5b63fa(0x19f))/0x6)+parseInt(_0x5b63fa(0x1c4))/0x7*(parseInt(_0x5b63fa(0x1c7))/0x8)+parseInt(_0x5b63fa(0x1bc))/0x9*(parseInt(_0x5b63fa(0x1a5))/0xa)+-parseInt(_0x5b63fa(0x1c9))/0xb;if(_0x14a36a===_0xe0dc4f)break;else _0xb57162['push'](_0xb57162['shift']());}catch(_0x5495e4){_0xb57162['push'](_0xb57162['shift']());}}}(_0x2be7,0x49234),Object[_0x27463b(0x1cc)](exports,Symbol[_0x27463b(0x1bf)],{'value':_0x27463b(0x1ae)}));let e=require(`@univerjs-pro/collaboration-client`),t=require(`@univerjs/core/facade`),n=require(`@univerjs/core`),r=require(`@univerjs-pro/collaboration`),i=require(`rxjs`);var a=class extends t[_0x27463b(0x1b8)]{get[_0x27463b(0x1c0)](){const _0x546d82=_0x27463b;return e[_0x546d82(0x1c0)];}};t['FEnum'][_0x27463b(0x1a4)](a);var o=class extends t[_0x27463b(0x19d)]{get[_0x27463b(0x1ad)](){const _0x3709e7=_0x27463b;return _0x3709e7(0x1ad);}};t[_0x27463b(0x19d)]['extend'](o);function s(_0x31f76b,_0x18c449){return function(_0x5e0307,_0x4e31c5){_0x18c449(_0x5e0307,_0x4e31c5,_0x31f76b);};}function c(_0x4fbbfd,_0x3edbec,_0x230eea,_0x191c3b){const _0x4531de=_0x27463b;var _0x534627=arguments[_0x4531de(0x1c6)],_0x233636=_0x534627<0x3?_0x3edbec:_0x191c3b===null?_0x191c3b=Object[_0x4531de(0x18a)](_0x3edbec,_0x230eea):_0x191c3b,_0x12ac07;if(typeof Reflect==_0x4531de(0x1bb)&&typeof Reflect[_0x4531de(0x1bd)]=='function')_0x233636=Reflect[_0x4531de(0x1bd)](_0x4fbbfd,_0x3edbec,_0x230eea,_0x191c3b);else{for(var _0x480017=_0x4fbbfd[_0x4531de(0x1c6)]-0x1;_0x480017>=0x0;_0x480017--)(_0x12ac07=_0x4fbbfd[_0x480017])&&(_0x233636=(_0x534627<0x3?_0x12ac07(_0x233636):_0x534627>0x3?_0x12ac07(_0x3edbec,_0x230eea,_0x233636):_0x12ac07(_0x3edbec,_0x230eea))||_0x233636);}return _0x534627>0x3&&_0x233636&&Object[_0x4531de(0x1cc)](_0x3edbec,_0x230eea,_0x233636),_0x233636;}function _0x2be7(){const _0x2227d0=['getUniverSheet','pipe','switchMap','DisposableCollection','createInstance','FBase','loadActiveSheetAsync','CollaborationStatusChanged','Module','FUniver','getCollaboration','DataLoaderService','toDisposable','_snapshotService','fireEvent','CollaborationController','getFocusedUnit','_univerInstanceService','FEnum','1120656vzOZuH','loadServerUnitOfRevision','object','63657ijNkeT','decorate','unitID','toStringTag','CollaborationStatus','get','_injector','waitForRoom$','7ADfHXg','Event','length','1164648dTzEPE','subscribe','5559191APkUNe','entityInit$','_collaborationController','defineProperty','Inject','getOwnPropertyDescriptor','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_initialize','SnapshotService','IUniverInstanceService','9VfczKA','add','registerEventHandler','getCollaborationStatus','loadUnit','NOT_COLLAB','disposeWithMe','state','getUnitId','status$','576299ydALCe','loadSheet','loadServerUnit','loadActiveSheet','FEventName','loadSheetAsync','732822JFTuVj','FCollaboration','_handler','657296UpHRlt','5fttPVV','extend','40fgILAv'];_0x2be7=function(){return _0x2227d0;};return _0x2be7();}let l=class extends t[_0x27463b(0x1ab)]{constructor(_0x2b1052,_0xe60c0b,_0x3656a5,_0x46766c,_0x5004ef){const _0x2cbbb1=_0x27463b;super(),this[_0x2cbbb1(0x1a1)]=_0x2b1052,this['_injector']=_0xe60c0b,this[_0x2cbbb1(0x1b7)]=_0x3656a5,this[_0x2cbbb1(0x1b3)]=_0x46766c,this[_0x2cbbb1(0x1cb)]=_0x5004ef;}async[_0x27463b(0x19c)](){return this['loadActiveSheetAsync']();}async[_0x27463b(0x1ac)](){const _0x64aca1=_0x27463b;throw Error(_0x64aca1(0x18b));}async[_0x27463b(0x19a)](_0x118480){const _0x3cd982=_0x27463b;return this[_0x3cd982(0x19e)](_0x118480);}async[_0x27463b(0x19e)](_0x1d3c37,_0x49f790){const _0x2b83f6=_0x27463b;return await this[_0x2b83f6(0x1b3)][_0x2b83f6(0x19a)](_0x1d3c37,0x0,_0x49f790)?(await this[_0x2b83f6(0x1cb)]['readyForCollab'](_0x1d3c37),this[_0x2b83f6(0x1a1)][_0x2b83f6(0x1a6)](_0x1d3c37)):null;}['subscribeCollaborators'](_0x3a42a4,_0x6608c2){const _0x44bed7=_0x27463b;return(0x0,n[_0x44bed7(0x1b2)])(this[_0x44bed7(0x1c2)][_0x44bed7(0x1c1)](e['MemberService'])[_0x44bed7(0x1c3)](_0x3a42a4)[_0x44bed7(0x1a7)]((0x0,i[_0x44bed7(0x1a8)])(_0x183f37=>_0x183f37['members$']))[_0x44bed7(0x1c8)](_0x1f4347=>_0x6608c2(Array['from'](_0x1f4347['values']()))));}[_0x27463b(0x192)](_0x55d5b7){const _0x17920e=_0x27463b;var _0x30e412;let _0x29fcdb;if(_0x55d5b7)_0x29fcdb=_0x55d5b7;else{let _0x5a3dc4=this[_0x17920e(0x1b7)][_0x17920e(0x1b6)]();_0x29fcdb=_0x5a3dc4==null?void 0x0:_0x5a3dc4[_0x17920e(0x197)]();}if(!_0x29fcdb)return e['CollaborationStatus'][_0x17920e(0x194)];let _0x280d3b=this[_0x17920e(0x1cb)]['getCollabEntity'](_0x29fcdb);return(_0x30e412=_0x280d3b==null?void 0x0:_0x280d3b[_0x17920e(0x196)]['status'])==null?e[_0x17920e(0x1c0)][_0x17920e(0x194)]:_0x30e412;}};function _0x2ecd(_0x1c1613,_0x18e8c9){_0x1c1613=_0x1c1613-0x18a;const _0x2be7b5=_0x2be7();let _0x2ecd05=_0x2be7b5[_0x1c1613];return _0x2ecd05;}l=c([s(0x1,(0x0,n[_0x27463b(0x1cd)])(n['Injector'])),s(0x2,n[_0x27463b(0x18e)]),s(0x3,(0x0,n[_0x27463b(0x1cd)])(r[_0x27463b(0x18d)])),s(0x4,(0x0,n[_0x27463b(0x1cd)])(e['CollaborationController']))],l);var u=class extends t[_0x27463b(0x1af)]{[_0x27463b(0x18c)](_0x501e43){const _0x787e0b=_0x27463b;let _0x520333=_0x501e43['get'](e[_0x787e0b(0x1b5)]);this[_0x787e0b(0x195)](this[_0x787e0b(0x191)](this['Event'][_0x787e0b(0x1ad)],()=>{const _0x3ec003=_0x787e0b;let _0x221e7c=new n[(_0x3ec003(0x1a9))](),_0xb15678=_0x520333[_0x3ec003(0x1ca)][_0x3ec003(0x1c8)](_0x7fdb7e=>{const _0x1b8ba3=_0x3ec003;let _0x35c4c9=_0x7fdb7e[_0x1b8ba3(0x198)][_0x1b8ba3(0x1c8)](_0x2d4c00=>{const _0x223d8a=_0x1b8ba3;let _0x4b7f28={'unitId':_0x7fdb7e[_0x223d8a(0x1be)],'status':_0x2d4c00};this[_0x223d8a(0x1b4)](this[_0x223d8a(0x1c5)][_0x223d8a(0x1ad)],_0x4b7f28);});_0x221e7c[_0x1b8ba3(0x190)]((0x0,n[_0x1b8ba3(0x1b2)])(_0x35c4c9));});return _0x221e7c[_0x3ec003(0x190)]((0x0,n[_0x3ec003(0x1b2)])(_0xb15678)),_0x221e7c;}));}[_0x27463b(0x1b0)](){const _0x29d130=_0x27463b;return this[_0x29d130(0x1c2)][_0x29d130(0x1aa)](l,{'getUniverSheet':_0x60d354=>this[_0x29d130(0x1a6)](_0x60d354)});}[_0x27463b(0x19b)](_0x576e43,_0x546f80,_0x56a090){const _0x377e84=_0x27463b;return this[_0x377e84(0x1c2)][_0x377e84(0x1c1)](e[_0x377e84(0x1b1)])[_0x377e84(0x193)](_0x576e43,_0x546f80,_0x56a090);}[_0x27463b(0x1ba)](_0xff3026,_0x440a09,_0x2fdfcf){const _0x3dd3fd=_0x27463b;return this[_0x3dd3fd(0x1c2)]['get'](e['DataLoaderService'])['loadUnitOfRevision'](_0xff3026,_0x440a09,_0x2fdfcf);}};t[_0x27463b(0x1af)][_0x27463b(0x1a4)](u),Object[_0x27463b(0x1cc)](exports,_0x27463b(0x1a0),{'enumerable':!0x0,'get':function(){return l;}});
|