@univerjs-pro/exchange-client 0.16.0 → 0.16.1-insiders.20260311-074e8ca

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 -1
  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/sk-SK.js +1 -1
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -1
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/locale/ca-ES.js +1 -1
  32. package/lib/locale/en-US.js +1 -1
  33. package/lib/locale/es-ES.js +1 -1
  34. package/lib/locale/fa-IR.js +1 -1
  35. package/lib/locale/fr-FR.js +1 -1
  36. package/lib/locale/ja-JP.js +1 -1
  37. package/lib/locale/ko-KR.js +1 -1
  38. package/lib/locale/ru-RU.js +1 -1
  39. package/lib/locale/sk-SK.js +1 -1
  40. package/lib/locale/vi-VN.js +1 -1
  41. package/lib/locale/zh-CN.js +1 -1
  42. package/lib/locale/zh-TW.js +1 -1
  43. package/lib/types/plugin.d.ts +2 -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 -1
  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/sk-SK.js +1 -1
  55. package/lib/umd/locale/vi-VN.js +1 -1
  56. package/lib/umd/locale/zh-CN.js +1 -1
  57. package/lib/umd/locale/zh-TW.js +1 -1
  58. package/package.json +9 -9
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x4726ff=_0xc31a;function _0xc31a(_0x35417a,_0x6afc9c){_0x35417a=_0x35417a-0x179;const _0x5ea763=_0x5ea7();let _0xc31ac4=_0x5ea763[_0x35417a];return _0xc31ac4;}(function(_0x1b518c,_0x3f74f9){const _0x59d50b=_0xc31a,_0x4c404c=_0x1b518c();while(!![]){try{const _0x1d229e=parseInt(_0x59d50b(0x17e))/0x1+parseInt(_0x59d50b(0x196))/0x2+-parseInt(_0x59d50b(0x194))/0x3+parseInt(_0x59d50b(0x184))/0x4*(-parseInt(_0x59d50b(0x199))/0x5)+parseInt(_0x59d50b(0x17d))/0x6*(-parseInt(_0x59d50b(0x181))/0x7)+parseInt(_0x59d50b(0x189))/0x8*(-parseInt(_0x59d50b(0x17b))/0x9)+parseInt(_0x59d50b(0x18e))/0xa;if(_0x1d229e===_0x3f74f9)break;else _0x4c404c['push'](_0x4c404c['shift']());}catch(_0x19e2e8){_0x4c404c['push'](_0x4c404c['shift']());}}}(_0x5ea7,0xf20ff));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x5ea7(){const _0x2802b8=['extend','exportDOCXBySnapshot','UNRECOGNIZED','26408gPPpFp','UNIVER_SHEET','importDOCXToSnapshot','exportXLSXByUnitId','UNIVER_SLIDE','14416040leVxpx','FUniver','importXLSXToSnapshot','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','exportDOCXByUnitIdAsync','2450679ByHNFw','exportXLSXBySnapshot','2422764JyLzwg','importDOCXToUnitIdAsync','exportDOCXByUnitId','137985YXErpf','importXLSXToSnapshotAsync','exportXLSXBySnapshotAsync','UNIVER_DOC','importXLSXToUnitId','UNIVER_UNKNOWN','3033fintNi','_injector','36ALdXpt','1839810rOzAJL','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','1737386GCvImA','exportXLSXByUnitIdAsync','UNIVER_PROJECT','12JaluUY','get'];_0x5ea7=function(){return _0x2802b8;};return _0x5ea7();}var i=(_0x4da35f=>(_0x4da35f[_0x4da35f[_0x4726ff(0x17a)]=0x0]='UNIVER_UNKNOWN',_0x4da35f[_0x4da35f[_0x4726ff(0x19c)]=0x1]=_0x4726ff(0x19c),_0x4da35f[_0x4da35f[_0x4726ff(0x18a)]=0x2]='UNIVER_SHEET',_0x4da35f[_0x4da35f['UNIVER_SLIDE']=0x3]=_0x4726ff(0x18d),_0x4da35f[_0x4da35f[_0x4726ff(0x183)]=0x4]='UNIVER_PROJECT',_0x4da35f[_0x4da35f[_0x4726ff(0x188)]=-0x1]=_0x4726ff(0x188),_0x4da35f))(i||{});class c extends o[_0x4726ff(0x18f)]{async[_0x4726ff(0x179)](_0x49f57c){const _0x1058ce=_0x4726ff;return this[_0x1058ce(0x17f)](_0x49f57c);}async[_0x4726ff(0x17f)](_0x1d4660){const _0x4a468d=_0x4726ff,_0x14ab11=this[_0x4a468d(0x17c)][_0x4a468d(0x185)](r[_0x4a468d(0x191)]);if(!_0x14ab11)throw new Error(_0x4a468d(0x192));return _0x14ab11['importFileToUnitId'](_0x1d4660,i[_0x4a468d(0x18a)]);}async[_0x4726ff(0x190)](_0xce3077){const _0x42750a=_0x4726ff;return this[_0x42750a(0x19a)](_0xce3077);}async[_0x4726ff(0x19a)](_0x2961d4){const _0x5507f3=_0x4726ff,_0x17982e=this['_injector'][_0x5507f3(0x185)](r['IExchangeService']);if(!_0x17982e)throw new Error(_0x5507f3(0x192));return _0x17982e[_0x5507f3(0x190)](_0x2961d4);}async[_0x4726ff(0x18c)](_0x473f43){return this['exportXLSXByUnitIdAsync'](_0x473f43);}async[_0x4726ff(0x182)](_0x49d63d){const _0xe016ce=_0x4726ff,_0xbb8fc1=this['_injector']['get'](r[_0xe016ce(0x191)]);if(!_0xbb8fc1)throw new Error(_0xe016ce(0x192));return _0xbb8fc1[_0xe016ce(0x18c)](_0x49d63d);}async[_0x4726ff(0x195)](_0x2c8eca){const _0xba58f5=_0x4726ff;return this[_0xba58f5(0x19b)](_0x2c8eca);}async[_0x4726ff(0x19b)](_0x36c3c4){const _0x58366b=_0x4726ff,_0x6e0076=this['_injector'][_0x58366b(0x185)](r[_0x58366b(0x191)]);if(!_0x6e0076)throw new Error(_0x58366b(0x192));return _0x6e0076[_0x58366b(0x195)](_0x36c3c4);}async['importDOCXToUnitId'](_0x1897c7){const _0x4ff11d=_0x4726ff;return this[_0x4ff11d(0x197)](_0x1897c7);}async[_0x4726ff(0x197)](_0x470abc){const _0xfcc46a=_0x4726ff,_0x20a183=this[_0xfcc46a(0x17c)][_0xfcc46a(0x185)](r[_0xfcc46a(0x191)]);if(!_0x20a183)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x20a183['importFileToUnitId'](_0x470abc,i['UNIVER_DOC']);}async[_0x4726ff(0x18b)](_0x265a55){return this['importDOCXToSnapshotAsync'](_0x265a55);}async[_0x4726ff(0x180)](_0x20ee01){const _0x489d40=_0x4726ff,_0x44b0bf=this['_injector'][_0x489d40(0x185)](r[_0x489d40(0x191)]);if(!_0x44b0bf)throw new Error(_0x489d40(0x192));return _0x44b0bf['importDOCXToSnapshot'](_0x20ee01);}async['exportDOCXBySnapshotAsync'](_0x1d17b8){const _0x294489=_0x4726ff,_0x34530a=this[_0x294489(0x17c)]['get'](r['IExchangeService']);if(!_0x34530a)throw new Error(_0x294489(0x192));return _0x34530a[_0x294489(0x187)](_0x1d17b8);}async[_0x4726ff(0x193)](_0xe20261){const _0x4fbd27=_0x4726ff,_0x172a17=this[_0x4fbd27(0x17c)]['get'](r[_0x4fbd27(0x191)]);if(!_0x172a17)throw new Error(_0x4fbd27(0x192));return _0x172a17[_0x4fbd27(0x198)](_0xe20261);}}o['FUniver'][_0x4726ff(0x186)](c);
1
+ 'use strict';function _0x480d(_0x42008c,_0x3d269a){_0x42008c=_0x42008c-0x196;const _0x484528=_0x4845();let _0x480d66=_0x484528[_0x42008c];return _0x480d66;}const _0x7bacae=_0x480d;(function(_0xd34485,_0x351ad4){const _0x2f7875=_0x480d,_0x1322f1=_0xd34485();while(!![]){try{const _0x110ea2=parseInt(_0x2f7875(0x1ad))/0x1+parseInt(_0x2f7875(0x196))/0x2+-parseInt(_0x2f7875(0x19a))/0x3+parseInt(_0x2f7875(0x1a7))/0x4+-parseInt(_0x2f7875(0x19d))/0x5*(-parseInt(_0x2f7875(0x197))/0x6)+-parseInt(_0x2f7875(0x198))/0x7+parseInt(_0x2f7875(0x1a2))/0x8;if(_0x110ea2===_0x351ad4)break;else _0x1322f1['push'](_0x1322f1['shift']());}catch(_0x263968){_0x1322f1['push'](_0x1322f1['shift']());}}}(_0x4845,0x28bbd));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x657d41=>(_0x657d41[_0x657d41[_0x7bacae(0x1b8)]=0x0]='UNIVER_UNKNOWN',_0x657d41[_0x657d41['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x657d41[_0x657d41[_0x7bacae(0x1ae)]=0x2]='UNIVER_SHEET',_0x657d41[_0x657d41[_0x7bacae(0x1a4)]=0x3]=_0x7bacae(0x1a4),_0x657d41[_0x657d41['UNIVER_PROJECT']=0x4]=_0x7bacae(0x199),_0x657d41[_0x657d41[_0x7bacae(0x1b5)]=-0x1]=_0x7bacae(0x1b5),_0x657d41))(i||{});class c extends o[_0x7bacae(0x1af)]{async[_0x7bacae(0x1a3)](_0x2547a2){const _0x46e6e8=_0x7bacae;return this[_0x46e6e8(0x19e)](_0x2547a2);}async[_0x7bacae(0x19e)](_0x28fc7c){const _0xc19a2e=_0x7bacae,_0x215e02=this[_0xc19a2e(0x19c)][_0xc19a2e(0x1b2)](r[_0xc19a2e(0x1b7)]);if(!_0x215e02)throw new Error(_0xc19a2e(0x1a0));return _0x215e02['importFileToUnitId'](_0x28fc7c,i[_0xc19a2e(0x1ae)]);}async[_0x7bacae(0x19f)](_0x3c9133){const _0x8340b7=_0x7bacae;return this[_0x8340b7(0x1a5)](_0x3c9133);}async[_0x7bacae(0x1a5)](_0xda1cd9){const _0x30bbcd=_0x7bacae,_0x40de1e=this['_injector']['get'](r[_0x30bbcd(0x1b7)]);if(!_0x40de1e)throw new Error(_0x30bbcd(0x1a0));return _0x40de1e[_0x30bbcd(0x19f)](_0xda1cd9);}async[_0x7bacae(0x1b9)](_0x13bbd9){const _0x31d0c2=_0x7bacae;return this[_0x31d0c2(0x1a8)](_0x13bbd9);}async[_0x7bacae(0x1a8)](_0x4937c9){const _0x16d068=_0x7bacae,_0x291589=this[_0x16d068(0x19c)][_0x16d068(0x1b2)](r[_0x16d068(0x1b7)]);if(!_0x291589)throw new Error(_0x16d068(0x1a0));return _0x291589[_0x16d068(0x1b9)](_0x4937c9);}async['exportXLSXBySnapshot'](_0x4259aa){return this['exportXLSXBySnapshotAsync'](_0x4259aa);}async[_0x7bacae(0x1aa)](_0x41a81){const _0x1207ed=_0x7bacae,_0x50033b=this[_0x1207ed(0x19c)][_0x1207ed(0x1b2)](r[_0x1207ed(0x1b7)]);if(!_0x50033b)throw new Error(_0x1207ed(0x1a0));return _0x50033b[_0x1207ed(0x1b6)](_0x41a81);}async[_0x7bacae(0x1b0)](_0xc5c9bb){return this['importDOCXToUnitIdAsync'](_0xc5c9bb);}async[_0x7bacae(0x1a9)](_0x46b358){const _0x156613=_0x7bacae,_0x93a3be=this[_0x156613(0x19c)][_0x156613(0x1b2)](r[_0x156613(0x1b7)]);if(!_0x93a3be)throw new Error(_0x156613(0x1a0));return _0x93a3be[_0x156613(0x19b)](_0x46b358,i[_0x156613(0x1b4)]);}async[_0x7bacae(0x1ac)](_0x24c143){return this['importDOCXToSnapshotAsync'](_0x24c143);}async[_0x7bacae(0x1a6)](_0x1dd08a){const _0xe11ee9=_0x7bacae,_0x52af92=this[_0xe11ee9(0x19c)]['get'](r[_0xe11ee9(0x1b7)]);if(!_0x52af92)throw new Error(_0xe11ee9(0x1a0));return _0x52af92[_0xe11ee9(0x1ac)](_0x1dd08a);}async[_0x7bacae(0x1b1)](_0x57c9ff){const _0x7755ee=_0x7bacae,_0x51bf58=this[_0x7755ee(0x19c)][_0x7755ee(0x1b2)](r[_0x7755ee(0x1b7)]);if(!_0x51bf58)throw new Error(_0x7755ee(0x1a0));return _0x51bf58[_0x7755ee(0x1b3)](_0x57c9ff);}async['exportDOCXByUnitIdAsync'](_0x4a0974){const _0x588d33=_0x7bacae,_0x49ed2c=this['_injector'][_0x588d33(0x1b2)](r[_0x588d33(0x1b7)]);if(!_0x49ed2c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x49ed2c[_0x588d33(0x1ab)](_0x4a0974);}}o[_0x7bacae(0x1af)][_0x7bacae(0x1a1)](c);function _0x4845(){const _0x312620=['exportXLSXByUnitId','395300qIcrKG','486OgSrui','1764854JpkqiW','UNIVER_PROJECT','433617FYhYfT','importFileToUnitId','_injector','9985cmBpMs','importXLSXToUnitIdAsync','importXLSXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','extend','64240IeNRej','importXLSXToUnitId','UNIVER_SLIDE','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','280052nCgUMu','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','exportDOCXByUnitId','importDOCXToSnapshot','126056fOrBXN','UNIVER_SHEET','FUniver','importDOCXToUnitId','exportDOCXBySnapshotAsync','get','exportDOCXBySnapshot','UNIVER_DOC','UNRECOGNIZED','exportXLSXBySnapshot','IExchangeService','UNIVER_UNKNOWN'];_0x4845=function(){return _0x312620;};return _0x4845();}