@univerjs-pro/collaboration-client 0.11.0 → 0.12.0-nightly.202511220628

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 (58) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -0
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -0
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -0
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/facade/f-collaboration.d.ts +29 -1
  41. package/lib/types/facade/f-enum.d.ts +17 -0
  42. package/lib/types/facade/index.d.ts +1 -0
  43. package/lib/types/locale/ja-JP.d.ts +3 -0
  44. package/lib/umd/facade.js +1 -1
  45. package/lib/umd/index.js +1 -1
  46. package/lib/umd/locale/ca-ES.js +1 -1
  47. package/lib/umd/locale/en-US.js +1 -1
  48. package/lib/umd/locale/es-ES.js +1 -1
  49. package/lib/umd/locale/fa-IR.js +1 -1
  50. package/lib/umd/locale/fr-FR.js +1 -1
  51. package/lib/umd/locale/ja-JP.js +1 -0
  52. package/lib/umd/locale/ko-KR.js +1 -1
  53. package/lib/umd/locale/ru-RU.js +1 -1
  54. package/lib/umd/locale/vi-VN.js +1 -1
  55. package/lib/umd/locale/zh-CN.js +1 -1
  56. package/lib/umd/locale/zh-TW.js +1 -1
  57. package/package.json +11 -11
  58. package/lib/types/controllers/collaboration/utils/empty.d.ts +0 -2
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x48e5(_0x437298,_0x32943c){var _0x140f5e=_0x140f();return _0x48e5=function(_0x48e530,_0x193b15){_0x48e530=_0x48e530-0x127;var _0x128794=_0x140f5e[_0x48e530];return _0x128794;},_0x48e5(_0x437298,_0x32943c);}var _0xae3c93=_0x48e5;(function(_0x5d4b44,_0x3dd6ef){var _0x3a88a9=_0x48e5,_0x5c7b01=_0x5d4b44();while(!![]){try{var _0x2dd127=-parseInt(_0x3a88a9(0x12a))/0x1+-parseInt(_0x3a88a9(0x130))/0x2+-parseInt(_0x3a88a9(0x158))/0x3*(parseInt(_0x3a88a9(0x153))/0x4)+-parseInt(_0x3a88a9(0x13f))/0x5*(-parseInt(_0x3a88a9(0x139))/0x6)+-parseInt(_0x3a88a9(0x150))/0x7+-parseInt(_0x3a88a9(0x13d))/0x8+parseInt(_0x3a88a9(0x134))/0x9*(parseInt(_0x3a88a9(0x144))/0xa);if(_0x2dd127===_0x3dd6ef)break;else _0x5c7b01['push'](_0x5c7b01['shift']());}catch(_0x11b4d9){_0x5c7b01['push'](_0x5c7b01['shift']());}}}(_0x140f,0xc3572));Object[_0xae3c93(0x131)](exports,Symbol[_0xae3c93(0x14c)],{'value':_0xae3c93(0x136)});function _0x140f(){var _0x5e34e1=['_injector','_univerInstanceService','length','toStringTag','MemberService','loadServerUnitOfRevision','subscribeCollaborators','2957906oydnGI','get','getOwnPropertyDescriptor','21388gRrbnK','loadUnitOfRevision','Injector','loadSheet','FCollaboration','834GOcNAg','getUniverSheet','members$','readyForCollab','CollaborationController','700599elIsGi','waitForRoom$','loadActiveSheet','getCollaboration','toDisposable','createInstance','2631746amBVLe','defineProperty','extend','DataLoaderService','18cMjXvM','values','Module','from','_collaborationController','3682914tinFvW','FBase','FUniver','_handler','12200088bCAGXU','_snapshotService','5QnQIeJ','loadServerUnit','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','switchMap','loadSheetAsync','28184010uABJvy','pipe','loadUnit','Inject','loadActiveSheetAsync'];_0x140f=function(){return _0x5e34e1;};return _0x140f();}const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0xae3c93(0x152)],S=(_0x52f2cb,_0x4adc30,_0x52282f,_0x424f07)=>{var _0x38262a=_0xae3c93;for(var _0x218380=_0x424f07>0x1?void 0x0:_0x424f07?d(_0x4adc30,_0x52282f):_0x4adc30,_0x1a3058=_0x52f2cb[_0x38262a(0x14b)]-0x1,_0xc1e9a6;_0x1a3058>=0x0;_0x1a3058--)(_0xc1e9a6=_0x52f2cb[_0x1a3058])&&(_0x218380=_0xc1e9a6(_0x218380)||_0x218380);return _0x218380;},s=(_0x420bd5,_0xb3609c)=>(_0x1c8748,_0x3efe03)=>_0xb3609c(_0x1c8748,_0x3efe03,_0x420bd5);exports[_0xae3c93(0x157)]=class extends l[_0xae3c93(0x13a)]{constructor(_0x2b86be,_0x390830,_0x263290,_0x261134,_0x3b16c4){var _0x4b0ab6=_0xae3c93;super(),this[_0x4b0ab6(0x13c)]=_0x2b86be,this[_0x4b0ab6(0x149)]=_0x390830,this[_0x4b0ab6(0x14a)]=_0x263290,this[_0x4b0ab6(0x13e)]=_0x261134,this['_collaborationController']=_0x3b16c4;}async[_0xae3c93(0x12c)](){var _0x4b6d8f=_0xae3c93;return this[_0x4b6d8f(0x148)]();}async[_0xae3c93(0x148)](){var _0x5783fe=_0xae3c93;throw new Error(_0x5783fe(0x141));}async[_0xae3c93(0x156)](_0x5da79c){var _0x56bb1d=_0xae3c93;return this[_0x56bb1d(0x143)](_0x5da79c);}async[_0xae3c93(0x143)](_0x46c7d0,_0x2e3e43){var _0x28ed1e=_0xae3c93;return await this[_0x28ed1e(0x13e)][_0x28ed1e(0x156)](_0x46c7d0,0x0,_0x2e3e43)?(await this[_0x28ed1e(0x138)][_0x28ed1e(0x128)](_0x46c7d0),this[_0x28ed1e(0x13c)][_0x28ed1e(0x159)](_0x46c7d0)):null;}[_0xae3c93(0x14f)](_0x25bad5,_0x19f137){var _0x47a27b=_0xae3c93;const _0x120a26=this['_injector']['get'](c[_0x47a27b(0x14d)])[_0x47a27b(0x12b)](_0x25bad5)[_0x47a27b(0x145)](b[_0x47a27b(0x142)](_0x5cd5d2=>_0x5cd5d2[_0x47a27b(0x127)]))['subscribe'](_0x3ee5f8=>_0x19f137(Array[_0x47a27b(0x137)](_0x3ee5f8[_0x47a27b(0x135)]())));return n[_0x47a27b(0x12e)](_0x120a26);}},exports[_0xae3c93(0x157)]=S([s(0x1,n[_0xae3c93(0x147)](n[_0xae3c93(0x155)])),s(0x2,n['IUniverInstanceService']),s(0x3,n[_0xae3c93(0x147)](h['SnapshotService'])),s(0x4,n[_0xae3c93(0x147)](c[_0xae3c93(0x129)]))],exports[_0xae3c93(0x157)]);class u extends l[_0xae3c93(0x13b)]{[_0xae3c93(0x12d)](){var _0x17168c=_0xae3c93;return this[_0x17168c(0x149)][_0x17168c(0x12f)](exports[_0x17168c(0x157)],{'getUniverSheet':_0x550ce8=>this['getUniverSheet'](_0x550ce8)});}[_0xae3c93(0x140)](_0x1bdbff,_0x4616ee,_0x2c13fb){var _0x59f1ca=_0xae3c93;return this[_0x59f1ca(0x149)][_0x59f1ca(0x151)](c[_0x59f1ca(0x133)])[_0x59f1ca(0x146)](_0x1bdbff,_0x4616ee,_0x2c13fb);}[_0xae3c93(0x14e)](_0x2a38f9,_0x4f5dcb,_0x136cea){var _0x2848fb=_0xae3c93;return this['_injector'][_0x2848fb(0x151)](c[_0x2848fb(0x133)])[_0x2848fb(0x154)](_0x2a38f9,_0x4f5dcb,_0x136cea);}}l['FUniver'][_0xae3c93(0x132)](u);
1
+ 'use strict';const _0x501df3=_0x5511;(function(_0x28458c,_0xd331e3){const _0x1c359c=_0x5511,_0x198f78=_0x28458c();while(!![]){try{const _0x19676c=-parseInt(_0x1c359c(0x1b0))/0x1+-parseInt(_0x1c359c(0x19c))/0x2*(-parseInt(_0x1c359c(0x194))/0x3)+parseInt(_0x1c359c(0x1aa))/0x4+-parseInt(_0x1c359c(0x1be))/0x5+-parseInt(_0x1c359c(0x1b3))/0x6*(-parseInt(_0x1c359c(0x1b6))/0x7)+parseInt(_0x1c359c(0x197))/0x8+-parseInt(_0x1c359c(0x1c2))/0x9;if(_0x19676c===_0xd331e3)break;else _0x198f78['push'](_0x198f78['shift']());}catch(_0x40b27c){_0x198f78['push'](_0x198f78['shift']());}}}(_0x5e79,0x7697c));Object[_0x501df3(0x1b9)](exports,Symbol[_0x501df3(0x19b)],{'value':_0x501df3(0x1a5)});const i=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),v=require('@univerjs-pro/collaboration'),s=require('@univerjs/core'),b=require('rxjs');class h extends l['FEnum']{get[_0x501df3(0x1b1)](){const _0x310ad4=_0x501df3;return i[_0x310ad4(0x1b1)];}}l[_0x501df3(0x19e)][_0x501df3(0x1a3)](h);var d=Object[_0x501df3(0x1bc)],S=(_0x499df1,_0x33f439,_0x45cbf1,_0x1aaf1a)=>{const _0x1cf524=_0x501df3;for(var _0x1b3df9=_0x1aaf1a>0x1?void 0x0:_0x1aaf1a?d(_0x33f439,_0x45cbf1):_0x33f439,_0x492ae1=_0x499df1[_0x1cf524(0x198)]-0x1,_0x43008b;_0x492ae1>=0x0;_0x492ae1--)(_0x43008b=_0x499df1[_0x492ae1])&&(_0x1b3df9=_0x43008b(_0x1b3df9)||_0x1b3df9);return _0x1b3df9;},c=(_0x550c76,_0x39ec63)=>(_0x3320d6,_0x23d2fe)=>_0x39ec63(_0x3320d6,_0x23d2fe,_0x550c76);exports[_0x501df3(0x1a2)]=class extends l[_0x501df3(0x1c0)]{constructor(_0x4fbe2a,_0x4cf4ec,_0x385189,_0x398ea8,_0x2f114f){const _0x3ade2c=_0x501df3;super(),this[_0x3ade2c(0x1b8)]=_0x4fbe2a,this[_0x3ade2c(0x1a0)]=_0x4cf4ec,this[_0x3ade2c(0x1ac)]=_0x385189,this[_0x3ade2c(0x1ad)]=_0x398ea8,this[_0x3ade2c(0x1b5)]=_0x2f114f;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x501df3(0x1ab)](){const _0x4f476e=_0x501df3;throw new Error(_0x4f476e(0x19d));}async[_0x501df3(0x1a1)](_0x398944){return this['loadSheetAsync'](_0x398944);}async[_0x501df3(0x1af)](_0x23b69e,_0x367dbf){const _0x56c879=_0x501df3;return await this['_snapshotService'][_0x56c879(0x1a1)](_0x23b69e,0x0,_0x367dbf)?(await this[_0x56c879(0x1b5)][_0x56c879(0x1bd)](_0x23b69e),this[_0x56c879(0x1b8)][_0x56c879(0x1c3)](_0x23b69e)):null;}[_0x501df3(0x19f)](_0x1f8d9c,_0x2b1da9){const _0x48e4ff=_0x501df3,_0x1cf44a=this[_0x48e4ff(0x1a0)][_0x48e4ff(0x1ae)](i[_0x48e4ff(0x190)])['waitForRoom$'](_0x1f8d9c)[_0x48e4ff(0x1b4)](b['switchMap'](_0x1df745=>_0x1df745['members$']))[_0x48e4ff(0x196)](_0x572c1e=>_0x2b1da9(Array[_0x48e4ff(0x1b7)](_0x572c1e[_0x48e4ff(0x1ba)]())));return s['toDisposable'](_0x1cf44a);}['getCollaborationStatus'](){const _0x3e0a8b=_0x501df3,_0x556e1e=this[_0x3e0a8b(0x1ac)][_0x3e0a8b(0x195)]();if(!_0x556e1e)return i[_0x3e0a8b(0x1b1)][_0x3e0a8b(0x191)];const _0x5e303f=this['_collaborationController'][_0x3e0a8b(0x1b2)](_0x556e1e[_0x3e0a8b(0x192)]());return _0x5e303f?_0x5e303f[_0x3e0a8b(0x1a4)][_0x3e0a8b(0x1bf)]:i[_0x3e0a8b(0x1b1)][_0x3e0a8b(0x191)];}},exports[_0x501df3(0x1a2)]=S([c(0x1,s[_0x501df3(0x1a6)](s[_0x501df3(0x1a8)])),c(0x2,s[_0x501df3(0x1a7)]),c(0x3,s[_0x501df3(0x1a6)](v['SnapshotService'])),c(0x4,s['Inject'](i[_0x501df3(0x199)]))],exports[_0x501df3(0x1a2)]);function _0x5511(_0x13071b,_0x13fa6a){const _0x5e795b=_0x5e79();return _0x5511=function(_0x5511f6,_0x532069){_0x5511f6=_0x5511f6-0x18f;let _0x3df51a=_0x5e795b[_0x5511f6];return _0x3df51a;},_0x5511(_0x13071b,_0x13fa6a);}class C extends l[_0x501df3(0x1c1)]{[_0x501df3(0x18f)](){const _0x306798=_0x501df3;return this[_0x306798(0x1a0)][_0x306798(0x1bb)](exports[_0x306798(0x1a2)],{'getUniverSheet':_0x182797=>this[_0x306798(0x1c3)](_0x182797)});}[_0x501df3(0x193)](_0x30f34f,_0x1074e5,_0x42b84a){const _0x55b261=_0x501df3;return this[_0x55b261(0x1a0)][_0x55b261(0x1ae)](i['DataLoaderService'])[_0x55b261(0x19a)](_0x30f34f,_0x1074e5,_0x42b84a);}['loadServerUnitOfRevision'](_0xca6c1d,_0x13f29a,_0x464df0){const _0x127308=_0x501df3;return this[_0x127308(0x1a0)][_0x127308(0x1ae)](i[_0x127308(0x1a9)])['loadUnitOfRevision'](_0xca6c1d,_0x13f29a,_0x464df0);}}function _0x5e79(){const _0x402017=['from','_handler','defineProperty','values','createInstance','getOwnPropertyDescriptor','readyForCollab','2305620HyGeaL','status','FBase','FUniver','3663558KJdrSE','getUniverSheet','getCollaboration','MemberService','NOT_COLLAB','getUnitId','loadServerUnit','167817eJSzHk','getFocusedUnit','subscribe','847984OWhDZA','length','CollaborationController','loadUnit','toStringTag','16IQRIWh','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FEnum','subscribeCollaborators','_injector','loadSheet','FCollaboration','extend','state','Module','Inject','IUniverInstanceService','Injector','DataLoaderService','1344180MZYdEJ','loadActiveSheetAsync','_univerInstanceService','_snapshotService','get','loadSheetAsync','247392vyLOMv','CollaborationStatus','getCollabEntity','4270674ykkvXm','pipe','_collaborationController','7DSKWUm'];_0x5e79=function(){return _0x402017;};return _0x5e79();}l['FUniver']['extend'](C);