@univerjs-pro/collaboration-client 0.6.0-experimental.20250125-1d060b9 → 0.6.0-experimental.20250220-d9a8e74

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.
Files changed (37) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -1
  11. package/lib/es/index.js +1 -1
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +1 -1
  20. package/lib/types/controllers/config.schema.d.ts +2 -2
  21. package/lib/types/facade/f-collaboration.d.ts +7 -3
  22. package/lib/types/facade/f-univer.d.ts +2 -2
  23. package/lib/types/index.d.ts +1 -1
  24. package/lib/types/plugin.d.ts +2 -2
  25. package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +2 -5
  26. package/lib/types/services/permission/permission.service.d.ts +2 -4
  27. package/lib/types/services/socket/collaboration-socket.service.d.ts +13 -6
  28. package/lib/umd/facade.js +1 -1
  29. package/lib/umd/index.js +1 -1
  30. package/lib/umd/locale/en-US.js +1 -1
  31. package/lib/umd/locale/fa-IR.js +1 -1
  32. package/lib/umd/locale/fr-FR.js +1 -1
  33. package/lib/umd/locale/ru-RU.js +1 -1
  34. package/lib/umd/locale/vi-VN.js +1 -1
  35. package/lib/umd/locale/zh-CN.js +1 -1
  36. package/lib/umd/locale/zh-TW.js +1 -1
  37. package/package.json +15 -15
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x1ebc5c=_0x377b;function _0x2dbd(){var _0x467280=['getOwnPropertyDescriptor','FBase','8IdSTIU','2735257DvLBRl','Injector','values','extend','toStringTag','@univerjs-pro/collaboration','272136buSaIU','Inject','readyForCollab','subscribeCollaborators','FUniver','getUnit','CollaborationController','SnapshotService','loadSheetAsync','loadActiveSheetAsync','from','849819cxROGM','_snapshotService','subscribe','_univerInstanceService','_collaborationController','get','_handler','@univerjs-pro/collaboration-client','Module','@univerjs/core','FCollaboration','189velrdz','loadActiveSheet','switchMap','createInstance','getCollaboration','_injector','403285eWrSMG','rxjs','190890ejUQGM','loadSheet','getUniverSheet','UNIVER_SHEET','2356698DHhtUs','length','UniverInstanceType','194948JaKCEA','defineProperty','members$'];_0x2dbd=function(){return _0x467280;};return _0x2dbd();}(function(_0xef59fd,_0x255c72){var _0x494982=_0x377b,_0xd099a9=_0xef59fd();while(!![]){try{var _0x578078=parseInt(_0x494982(0x158))/0x1+-parseInt(_0x494982(0x15f))/0x2+parseInt(_0x494982(0x176))/0x3+parseInt(_0x494982(0x164))/0x4*(-parseInt(_0x494982(0x156))/0x5)+parseInt(_0x494982(0x15c))/0x6+parseInt(_0x494982(0x165))/0x7+-parseInt(_0x494982(0x16b))/0x8*(parseInt(_0x494982(0x150))/0x9);if(_0x578078===_0x255c72)break;else _0xd099a9['push'](_0xd099a9['shift']());}catch(_0x524854){_0xd099a9['push'](_0xd099a9['shift']());}}}(_0x2dbd,0x45788));function _0x377b(_0x57a140,_0x4d4327){var _0x2dbd2a=_0x2dbd();return _0x377b=function(_0x377b27,_0x55883f){_0x377b27=_0x377b27-0x14a;var _0x3b8a34=_0x2dbd2a[_0x377b27];return _0x3b8a34;},_0x377b(_0x57a140,_0x4d4327);}Object[_0x1ebc5c(0x160)](exports,Symbol[_0x1ebc5c(0x169)],{'value':_0x1ebc5c(0x14d)});const o=require(_0x1ebc5c(0x14e)),h=require(_0x1ebc5c(0x16a)),c=require(_0x1ebc5c(0x14c)),b=require(_0x1ebc5c(0x157));var v=Object[_0x1ebc5c(0x160)],u=Object[_0x1ebc5c(0x162)],S=(_0x4a87a7,_0x1dc135,_0x5c1a30,_0x2ea1f5)=>{var _0x506f0b=_0x1ebc5c;for(var _0x1305f9=_0x2ea1f5>0x1?void 0x0:_0x2ea1f5?u(_0x1dc135,_0x5c1a30):_0x1dc135,_0x5bcdda=_0x4a87a7[_0x506f0b(0x15d)]-0x1,_0x9b1140;_0x5bcdda>=0x0;_0x5bcdda--)(_0x9b1140=_0x4a87a7[_0x5bcdda])&&(_0x1305f9=(_0x2ea1f5?_0x9b1140(_0x1dc135,_0x5c1a30,_0x1305f9):_0x9b1140(_0x1305f9))||_0x1305f9);return _0x2ea1f5&&_0x1305f9&&v(_0x1dc135,_0x5c1a30,_0x1305f9),_0x1305f9;},s=(_0x2b94af,_0x5a8ce4)=>(_0x89384e,_0x4f5e86)=>_0x5a8ce4(_0x89384e,_0x4f5e86,_0x2b94af);exports[_0x1ebc5c(0x14f)]=class extends o[_0x1ebc5c(0x163)]{constructor(_0x384485,_0x22f8c0,_0x5111ba,_0x2a7c8f,_0x32a90b){var _0x4992c0=_0x1ebc5c;super(),this[_0x4992c0(0x14b)]=_0x384485,this[_0x4992c0(0x155)]=_0x22f8c0,this[_0x4992c0(0x179)]=_0x5111ba,this[_0x4992c0(0x177)]=_0x2a7c8f,this['_collaborationController']=_0x32a90b;}async[_0x1ebc5c(0x151)](){var _0x1ba096=_0x1ebc5c;return this[_0x1ba096(0x174)]();}async[_0x1ebc5c(0x174)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x13117e){var _0x2d0c86=_0x1ebc5c;return this[_0x2d0c86(0x173)](_0x13117e);}async['loadSheetAsync'](_0x338a88){var _0x4d8f81=_0x1ebc5c;return this[_0x4d8f81(0x179)][_0x4d8f81(0x170)](_0x338a88,o[_0x4d8f81(0x15e)][_0x4d8f81(0x15b)])||await this[_0x4d8f81(0x177)][_0x4d8f81(0x159)](_0x338a88,0x0)?(await this[_0x4d8f81(0x17a)][_0x4d8f81(0x16d)](_0x338a88),this[_0x4d8f81(0x14b)]['getUniverSheet'](_0x338a88)):null;}[_0x1ebc5c(0x16e)](_0x52a141,_0x48823c){var _0x230fe6=_0x1ebc5c;const _0x1fe929=this['_injector'][_0x230fe6(0x14a)](c['MemberService'])['waitForRoom$'](_0x52a141)['pipe'](b[_0x230fe6(0x152)](_0x5a1750=>_0x5a1750[_0x230fe6(0x161)]))[_0x230fe6(0x178)](_0x31d51e=>_0x48823c(Array[_0x230fe6(0x175)](_0x31d51e[_0x230fe6(0x167)]())));return o['toDisposable'](_0x1fe929);}},exports['FCollaboration']=S([s(0x1,o[_0x1ebc5c(0x16c)](o[_0x1ebc5c(0x166)])),s(0x2,o['IUniverInstanceService']),s(0x3,o[_0x1ebc5c(0x16c)](h[_0x1ebc5c(0x172)])),s(0x4,o['Inject'](c[_0x1ebc5c(0x171)]))],exports[_0x1ebc5c(0x14f)]);class _ extends o[_0x1ebc5c(0x16f)]{[_0x1ebc5c(0x154)](){var _0x1673db=_0x1ebc5c;return this[_0x1673db(0x155)][_0x1673db(0x153)](exports[_0x1673db(0x14f)],{'getUniverSheet':_0x2629ea=>this[_0x1673db(0x15a)](_0x2629ea)});}}o[_0x1ebc5c(0x16f)][_0x1ebc5c(0x168)](_);
1
+ 'use strict';function _0x5216(_0x5c0afd,_0x3742e4){var _0x4cc7a4=_0x4cc7();return _0x5216=function(_0x521676,_0x2748d7){_0x521676=_0x521676-0x69;var _0x1eb5a3=_0x4cc7a4[_0x521676];return _0x1eb5a3;},_0x5216(_0x5c0afd,_0x3742e4);}var _0x195951=_0x5216;(function(_0x4c1dee,_0x37c1d9){var _0x2d5992=_0x5216,_0x3ff1e3=_0x4c1dee();while(!![]){try{var _0x1fffa8=-parseInt(_0x2d5992(0x84))/0x1+-parseInt(_0x2d5992(0x7d))/0x2*(-parseInt(_0x2d5992(0x70))/0x3)+-parseInt(_0x2d5992(0x83))/0x4+parseInt(_0x2d5992(0x8f))/0x5+-parseInt(_0x2d5992(0x74))/0x6*(parseInt(_0x2d5992(0x7c))/0x7)+parseInt(_0x2d5992(0x8d))/0x8+parseInt(_0x2d5992(0x73))/0x9*(parseInt(_0x2d5992(0x6e))/0xa);if(_0x1fffa8===_0x37c1d9)break;else _0x3ff1e3['push'](_0x3ff1e3['shift']());}catch(_0x3be952){_0x3ff1e3['push'](_0x3ff1e3['shift']());}}}(_0x4cc7,0x771d6));Object[_0x195951(0x78)](exports,Symbol[_0x195951(0x88)],{'value':_0x195951(0x85)});const c=require(_0x195951(0x6c)),b=require(_0x195951(0x92)),h=require(_0x195951(0x93)),i=require(_0x195951(0x8a)),v=require(_0x195951(0x91));var u=Object[_0x195951(0x78)],S=Object[_0x195951(0x7e)],_=(_0x2fbd91,_0x4f2689,_0x28e80d,_0x154bf3)=>{var _0x3657fc=_0x195951;for(var _0x823ae3=_0x154bf3>0x1?void 0x0:_0x154bf3?S(_0x4f2689,_0x28e80d):_0x4f2689,_0x200c6e=_0x2fbd91[_0x3657fc(0x8c)]-0x1,_0x41df1f;_0x200c6e>=0x0;_0x200c6e--)(_0x41df1f=_0x2fbd91[_0x200c6e])&&(_0x823ae3=(_0x154bf3?_0x41df1f(_0x4f2689,_0x28e80d,_0x823ae3):_0x41df1f(_0x823ae3))||_0x823ae3);return _0x154bf3&&_0x823ae3&&u(_0x4f2689,_0x28e80d,_0x823ae3),_0x823ae3;},s=(_0x26f759,_0x5b819d)=>(_0xf291f2,_0xbfa6c7)=>_0x5b819d(_0xf291f2,_0xbfa6c7,_0x26f759);exports[_0x195951(0x80)]=class extends c[_0x195951(0x86)]{constructor(_0x4755df,_0x1cd027,_0x1d6944,_0xce8014,_0x569356){var _0x24b432=_0x195951;super(),this[_0x24b432(0x6a)]=_0x4755df,this['_injector']=_0x1cd027,this[_0x24b432(0x99)]=_0x1d6944,this[_0x24b432(0x72)]=_0xce8014,this['_collaborationController']=_0x569356;}async[_0x195951(0x69)](){var _0x150734=_0x195951;return this[_0x150734(0x79)]();}async[_0x195951(0x79)](){var _0x5701ff=_0x195951;throw new Error(_0x5701ff(0x75));}async[_0x195951(0x81)](_0x5e8d9a){var _0x44be00=_0x195951;return this[_0x44be00(0x76)](_0x5e8d9a);}async[_0x195951(0x76)](_0x4dba9d,_0x4432ef){var _0x170477=_0x195951;return await this[_0x170477(0x72)][_0x170477(0x81)](_0x4dba9d,0x0,_0x4432ef)?(await this[_0x170477(0x9a)][_0x170477(0x98)](_0x4dba9d),this[_0x170477(0x6a)][_0x170477(0x71)](_0x4dba9d)):null;}[_0x195951(0x6d)](_0x989afb,_0x28738c){var _0x531c00=_0x195951;const _0x4b2e1b=this['_injector'][_0x531c00(0x8e)](h['MemberService'])[_0x531c00(0x6b)](_0x989afb)['pipe'](v[_0x531c00(0x77)](_0x2b8e28=>_0x2b8e28[_0x531c00(0x87)]))['subscribe'](_0x2ebf50=>_0x28738c(Array[_0x531c00(0x90)](_0x2ebf50[_0x531c00(0x7a)]())));return i[_0x531c00(0x7f)](_0x4b2e1b);}},exports[_0x195951(0x80)]=_([s(0x1,i['Inject'](i[_0x195951(0x89)])),s(0x2,i[_0x195951(0x6f)]),s(0x3,i[_0x195951(0x97)](b['SnapshotService'])),s(0x4,i[_0x195951(0x97)](h[_0x195951(0x8b)]))],exports[_0x195951(0x80)]);class d extends c[_0x195951(0x96)]{[_0x195951(0x94)](){var _0x4f8d40=_0x195951;return this[_0x4f8d40(0x7b)][_0x4f8d40(0x95)](exports[_0x4f8d40(0x80)],{'getUniverSheet':_0x18085a=>this[_0x4f8d40(0x71)](_0x18085a)});}}function _0x4cc7(){var _0x285e5d=['CollaborationController','length','7347888irHitt','get','313725jeMFZP','from','rxjs','@univerjs-pro/collaboration','@univerjs-pro/collaboration-client','getCollaboration','createInstance','FUniver','Inject','readyForCollab','_univerInstanceService','_collaborationController','loadActiveSheet','_handler','waitForRoom$','@univerjs/core/facade','subscribeCollaborators','10dRsEBk','IUniverInstanceService','72dklnUh','getUniverSheet','_snapshotService','3787587GqeYGb','1818216mXFuqe','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadSheetAsync','switchMap','defineProperty','loadActiveSheetAsync','values','_injector','14SFbETu','58686dCgipi','getOwnPropertyDescriptor','toDisposable','FCollaboration','loadSheet','extend','3761576ybwXGc','71946lscbxU','Module','FBase','members$','toStringTag','Injector','@univerjs/core'];_0x4cc7=function(){return _0x285e5d;};return _0x4cc7();}c[_0x195951(0x96)][_0x195951(0x82)](d);