@univerjs-pro/collaboration-client 0.6.0-experimental.20250212-dbe9830 → 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 +14 -14
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x247ce7=_0x269d;function _0x269d(_0x48664f,_0x189fee){var _0x333b95=_0x333b();return _0x269d=function(_0x269d9b,_0x3e5341){_0x269d9b=_0x269d9b-0x1dd;var _0x298649=_0x333b95[_0x269d9b];return _0x298649;},_0x269d(_0x48664f,_0x189fee);}(function(_0x4fdb97,_0x497c74){var _0x4d6a62=_0x269d,_0x1d624c=_0x4fdb97();while(!![]){try{var _0xd61eb5=parseInt(_0x4d6a62(0x20b))/0x1+-parseInt(_0x4d6a62(0x200))/0x2+-parseInt(_0x4d6a62(0x1ee))/0x3*(parseInt(_0x4d6a62(0x1e9))/0x4)+-parseInt(_0x4d6a62(0x1f3))/0x5*(-parseInt(_0x4d6a62(0x1ea))/0x6)+parseInt(_0x4d6a62(0x1e4))/0x7*(-parseInt(_0x4d6a62(0x1df))/0x8)+-parseInt(_0x4d6a62(0x207))/0x9*(-parseInt(_0x4d6a62(0x1fd))/0xa)+parseInt(_0x4d6a62(0x1f8))/0xb;if(_0xd61eb5===_0x497c74)break;else _0x1d624c['push'](_0x1d624c['shift']());}catch(_0x547dc6){_0x1d624c['push'](_0x1d624c['shift']());}}}(_0x333b,0xb894e));Object[_0x247ce7(0x1f1)](exports,Symbol[_0x247ce7(0x1f9)],{'value':_0x247ce7(0x1dd)});const o=require(_0x247ce7(0x1e8)),h=require(_0x247ce7(0x1ec)),c=require(_0x247ce7(0x1fe)),b=require(_0x247ce7(0x203));var v=Object[_0x247ce7(0x1f1)],u=Object[_0x247ce7(0x20a)],S=(_0x1607a3,_0x37d16e,_0x3ff468,_0x57ae15)=>{var _0x4cb5c0=_0x247ce7;for(var _0x18fb3f=_0x57ae15>0x1?void 0x0:_0x57ae15?u(_0x37d16e,_0x3ff468):_0x37d16e,_0x46f319=_0x1607a3[_0x4cb5c0(0x205)]-0x1,_0x14b27f;_0x46f319>=0x0;_0x46f319--)(_0x14b27f=_0x1607a3[_0x46f319])&&(_0x18fb3f=(_0x57ae15?_0x14b27f(_0x37d16e,_0x3ff468,_0x18fb3f):_0x14b27f(_0x18fb3f))||_0x18fb3f);return _0x57ae15&&_0x18fb3f&&v(_0x37d16e,_0x3ff468,_0x18fb3f),_0x18fb3f;},s=(_0x577127,_0x2ac8a8)=>(_0x3860a5,_0x2d346a)=>_0x2ac8a8(_0x3860a5,_0x2d346a,_0x577127);exports[_0x247ce7(0x1f2)]=class extends o[_0x247ce7(0x1f4)]{constructor(_0xee0f7c,_0x3d6a76,_0x50bc8c,_0xf10161,_0x3aea91){var _0x4f2d46=_0x247ce7;super(),this[_0x4f2d46(0x206)]=_0xee0f7c,this['_injector']=_0x3d6a76,this['_univerInstanceService']=_0x50bc8c,this['_snapshotService']=_0xf10161,this[_0x4f2d46(0x1e5)]=_0x3aea91;}async['loadActiveSheet'](){var _0x38dc81=_0x247ce7;return this[_0x38dc81(0x204)]();}async[_0x247ce7(0x204)](){var _0x1f1a81=_0x247ce7;throw new Error(_0x1f1a81(0x1e6));}async[_0x247ce7(0x1fc)](_0x5350dd){var _0x529de7=_0x247ce7;return this[_0x529de7(0x1e1)](_0x5350dd);}async[_0x247ce7(0x1e1)](_0x5b4aca){var _0x1ab052=_0x247ce7;return this['_univerInstanceService'][_0x1ab052(0x1f6)](_0x5b4aca,o['UniverInstanceType'][_0x1ab052(0x1f5)])||await this[_0x1ab052(0x1fa)]['loadSheet'](_0x5b4aca,0x0)?(await this[_0x1ab052(0x1e5)][_0x1ab052(0x1fb)](_0x5b4aca),this['_handler']['getUniverSheet'](_0x5b4aca)):null;}['subscribeCollaborators'](_0x487c42,_0x4ecf2f){var _0x29557d=_0x247ce7;const _0x321ae7=this[_0x29557d(0x1ff)][_0x29557d(0x1e3)](c[_0x29557d(0x1f0)])[_0x29557d(0x1de)](_0x487c42)[_0x29557d(0x208)](b[_0x29557d(0x20c)](_0x4b67f4=>_0x4b67f4[_0x29557d(0x1eb)]))[_0x29557d(0x209)](_0x4574e3=>_0x4ecf2f(Array['from'](_0x4574e3[_0x29557d(0x1ef)]())));return o[_0x29557d(0x202)](_0x321ae7);}},exports[_0x247ce7(0x1f2)]=S([s(0x1,o[_0x247ce7(0x1ed)](o['Injector'])),s(0x2,o['IUniverInstanceService']),s(0x3,o['Inject'](h[_0x247ce7(0x1e2)])),s(0x4,o[_0x247ce7(0x1ed)](c[_0x247ce7(0x1f7)]))],exports[_0x247ce7(0x1f2)]);function _0x333b(){var _0xda219a=['142168IZEAWD','switchMap','Module','waitForRoom$','48aGplcK','getCollaboration','loadSheetAsync','SnapshotService','get','88921VswQpk','_collaborationController','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getUniverSheet','@univerjs/core','426788mZSvGU','4962bxVFrr','members$','@univerjs-pro/collaboration','Inject','33ivMJYF','values','MemberService','defineProperty','FCollaboration','275dlJEuB','FBase','UNIVER_SHEET','getUnit','CollaborationController','15427192XuSSKB','toStringTag','_snapshotService','readyForCollab','loadSheet','290dZXcHo','@univerjs-pro/collaboration-client','_injector','1615930cRDjJP','createInstance','toDisposable','rxjs','loadActiveSheetAsync','length','_handler','379791RswudO','pipe','subscribe','getOwnPropertyDescriptor'];_0x333b=function(){return _0xda219a;};return _0x333b();}class _ extends o['FUniver']{[_0x247ce7(0x1e0)](){var _0x10211a=_0x247ce7;return this[_0x10211a(0x1ff)][_0x10211a(0x201)](exports[_0x10211a(0x1f2)],{'getUniverSheet':_0x11cbb1=>this[_0x10211a(0x1e7)](_0x11cbb1)});}}o['FUniver']['extend'](_);
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);