@univerjs-pro/collaboration-client 0.22.1 → 0.23.0-insiders.20260522-e8f2a3b
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/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
|
-
|
|
1
|
+
const _0xdcb776=_0x48b4;(function(_0x52d8da,_0x1fd75b){const _0x48f19a=_0x48b4,_0x757301=_0x52d8da();while(!![]){try{const _0x35ac23=-parseInt(_0x48f19a(0xd0))/0x1*(-parseInt(_0x48f19a(0xf7))/0x2)+-parseInt(_0x48f19a(0xcc))/0x3*(parseInt(_0x48f19a(0x103))/0x4)+-parseInt(_0x48f19a(0x101))/0x5*(-parseInt(_0x48f19a(0xe0))/0x6)+parseInt(_0x48f19a(0x102))/0x7+parseInt(_0x48f19a(0x10a))/0x8*(parseInt(_0x48f19a(0xfa))/0x9)+-parseInt(_0x48f19a(0xef))/0xa*(parseInt(_0x48f19a(0xde))/0xb)+parseInt(_0x48f19a(0xf6))/0xc*(-parseInt(_0x48f19a(0xee))/0xd);if(_0x35ac23===_0x1fd75b)break;else _0x757301['push'](_0x757301['shift']());}catch(_0x13110f){_0x757301['push'](_0x757301['shift']());}}}(_0x3602,0xe1b3e),Object[_0xdcb776(0xe9)](exports,Symbol[_0xdcb776(0x105)],{'value':_0xdcb776(0xf8)}));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[_0xdcb776(0xeb)]{get[_0xdcb776(0x10b)](){const _0x1c7138=_0xdcb776;return e[_0x1c7138(0x10b)];}};function _0x48b4(_0x155408,_0x3280c8){_0x155408=_0x155408-0xcb;const _0x360215=_0x3602();let _0x48b4c3=_0x360215[_0x155408];return _0x48b4c3;}t[_0xdcb776(0xeb)]['extend'](a);function _0x3602(){const _0x1ea382=['toDisposable','getCollaborationStatus','subscribe','values','object','FBase','get','FUniver','loadServerUnit','_collaborationController','length','getUniverSheet','entityInit$','11583374KGqxwn','extend','4188tYXezx','_snapshotService','FEventName','_univerInstanceService','getOwnPropertyDescriptor','loadServerUnitOfRevision','add','Event','loadSheet','defineProperty','state','FEnum','registerEventHandler','decorate','13ESVpyO','10edoZFX','NOT_COLLAB','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','Inject','Injector','IUniverInstanceService','DataLoaderService','106548jqbZWw','229262MgzfaV','Module','FCollaboration','18qgnEKg','pipe','SnapshotService','loadUnitOfRevision','switchMap','loadSheetAsync','_initialize','10685pnwuzk','3637655utSJOT','4ioiRNR','subscribeCollaborators','toStringTag','CollaborationStatusChanged','_injector','getCollabEntity','MemberService','1487640sFIxXI','CollaborationStatus','readyForCollab','status$','4285467rMWAEf','loadActiveSheetAsync','_handler','DisposableCollection','9DcSQML'];_0x3602=function(){return _0x1ea382;};return _0x3602();}var o=class extends t[_0xdcb776(0xe2)]{get[_0xdcb776(0x106)](){const _0x14ca60=_0xdcb776;return _0x14ca60(0x106);}};t[_0xdcb776(0xe2)]['extend'](o);function s(_0x3e406f,_0x4f1287){return function(_0xd9e0d8,_0x40a2ca){_0x4f1287(_0xd9e0d8,_0x40a2ca,_0x3e406f);};}function c(_0x51e871,_0x2a7215,_0x4ad159,_0x21761e){const _0x103bc6=_0xdcb776;var _0x325db8=arguments[_0x103bc6(0xdb)],_0x5f5059=_0x325db8<0x3?_0x2a7215:_0x21761e===null?_0x21761e=Object[_0x103bc6(0xe4)](_0x2a7215,_0x4ad159):_0x21761e,_0x4729ac;if(typeof Reflect==_0x103bc6(0xd5)&&typeof Reflect[_0x103bc6(0xed)]=='function')_0x5f5059=Reflect['decorate'](_0x51e871,_0x2a7215,_0x4ad159,_0x21761e);else{for(var _0x287b42=_0x51e871[_0x103bc6(0xdb)]-0x1;_0x287b42>=0x0;_0x287b42--)(_0x4729ac=_0x51e871[_0x287b42])&&(_0x5f5059=(_0x325db8<0x3?_0x4729ac(_0x5f5059):_0x325db8>0x3?_0x4729ac(_0x2a7215,_0x4ad159,_0x5f5059):_0x4729ac(_0x2a7215,_0x4ad159))||_0x5f5059);}return _0x325db8>0x3&&_0x5f5059&&Object[_0x103bc6(0xe9)](_0x2a7215,_0x4ad159,_0x5f5059),_0x5f5059;}let l=class extends t[_0xdcb776(0xd6)]{constructor(_0x1aa701,_0x45ac53,_0x32a917,_0x30d91f,_0x37bb4f){const _0x1cb332=_0xdcb776;super(),this[_0x1cb332(0xce)]=_0x1aa701,this['_injector']=_0x45ac53,this[_0x1cb332(0xe3)]=_0x32a917,this[_0x1cb332(0xe1)]=_0x30d91f,this[_0x1cb332(0xda)]=_0x37bb4f;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0xdcb776(0xcd)](){const _0xd64432=_0xdcb776;throw Error(_0xd64432(0xf1));}async['loadSheet'](_0x773609){const _0x339b95=_0xdcb776;return this[_0x339b95(0xff)](_0x773609);}async['loadSheetAsync'](_0x5aaab1,_0x3bbcb4){const _0x4e3862=_0xdcb776;return await this['_snapshotService'][_0x4e3862(0xe8)](_0x5aaab1,0x0,_0x3bbcb4)?(await this[_0x4e3862(0xda)][_0x4e3862(0x10c)](_0x5aaab1),this['_handler']['getUniverSheet'](_0x5aaab1)):null;}[_0xdcb776(0x104)](_0x356143,_0x1ac7fe){const _0x4292b6=_0xdcb776;return(0x0,n[_0x4292b6(0xd1)])(this[_0x4292b6(0x107)]['get'](e[_0x4292b6(0x109)])['waitForRoom$'](_0x356143)[_0x4292b6(0xfb)]((0x0,i[_0x4292b6(0xfe)])(_0x2328bc=>_0x2328bc['members$']))['subscribe'](_0x484ce8=>_0x1ac7fe(Array['from'](_0x484ce8[_0x4292b6(0xd4)]()))));}[_0xdcb776(0xd2)](_0x21e981){const _0x5cf318=_0xdcb776;var _0x32c00a;let _0x5f1826;if(_0x21e981)_0x5f1826=_0x21e981;else{let _0x5115ff=this['_univerInstanceService']['getFocusedUnit']();_0x5f1826=_0x5115ff==null?void 0x0:_0x5115ff['getUnitId']();}if(!_0x5f1826)return e[_0x5cf318(0x10b)][_0x5cf318(0xf0)];let _0x26b625=this[_0x5cf318(0xda)][_0x5cf318(0x108)](_0x5f1826);return(_0x32c00a=_0x26b625==null?void 0x0:_0x26b625[_0x5cf318(0xea)]['status'])==null?e[_0x5cf318(0x10b)][_0x5cf318(0xf0)]:_0x32c00a;}};l=c([s(0x1,(0x0,n[_0xdcb776(0xf2)])(n[_0xdcb776(0xf3)])),s(0x2,n[_0xdcb776(0xf4)]),s(0x3,(0x0,n[_0xdcb776(0xf2)])(r[_0xdcb776(0xfc)])),s(0x4,(0x0,n[_0xdcb776(0xf2)])(e['CollaborationController']))],l);var u=class extends t[_0xdcb776(0xd8)]{[_0xdcb776(0x100)](_0x1acfa0){const _0x2eac2d=_0xdcb776;let _0x4e5002=_0x1acfa0[_0x2eac2d(0xd7)](e['CollaborationController']);this['disposeWithMe'](this[_0x2eac2d(0xec)](this['Event'][_0x2eac2d(0x106)],()=>{const _0x57e418=_0x2eac2d;let _0x53e799=new n[(_0x57e418(0xcf))](),_0x1d4d93=_0x4e5002[_0x57e418(0xdd)]['subscribe'](_0x2b868f=>{const _0x1bed4d=_0x57e418;let _0x28785e=_0x2b868f[_0x1bed4d(0xcb)][_0x1bed4d(0xd3)](_0x3de1c9=>{const _0x5f0df6=_0x1bed4d;let _0x3c5e5a={'unitId':_0x2b868f['unitID'],'status':_0x3de1c9};this['fireEvent'](this[_0x5f0df6(0xe7)][_0x5f0df6(0x106)],_0x3c5e5a);});_0x53e799['add']((0x0,n['toDisposable'])(_0x28785e));});return _0x53e799[_0x57e418(0xe6)]((0x0,n[_0x57e418(0xd1)])(_0x1d4d93)),_0x53e799;}));}['getCollaboration'](){const _0x5a0fa7=_0xdcb776;return this[_0x5a0fa7(0x107)]['createInstance'](l,{'getUniverSheet':_0x2f7885=>this[_0x5a0fa7(0xdc)](_0x2f7885)});}[_0xdcb776(0xd9)](_0x5afb4d,_0x276e7f,_0x1226c4){const _0x2d46fa=_0xdcb776;return this['_injector'][_0x2d46fa(0xd7)](e[_0x2d46fa(0xf5)])['loadUnit'](_0x5afb4d,_0x276e7f,_0x1226c4);}[_0xdcb776(0xe5)](_0x2f1cb0,_0x144281,_0x1936e1){const _0x15f9e0=_0xdcb776;return this[_0x15f9e0(0x107)][_0x15f9e0(0xd7)](e[_0x15f9e0(0xf5)])[_0x15f9e0(0xfd)](_0x2f1cb0,_0x144281,_0x1936e1);}};t[_0xdcb776(0xd8)][_0xdcb776(0xdf)](u),Object['defineProperty'](exports,_0xdcb776(0xf9),{'enumerable':!0x0,'get':function(){return l;}});
|