@univerjs-pro/exchange-client 0.6.10-experimental.20250428-ab93895 → 0.6.10-experimental.20250428-63779a3

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x393f94=_0x39d5;(function(_0x861c73,_0x51a89e){const _0x4551a4=_0x39d5,_0x2c83f6=_0x861c73();while(!![]){try{const _0x3bc938=-parseInt(_0x4551a4(0x1db))/0x1+-parseInt(_0x4551a4(0x1de))/0x2+-parseInt(_0x4551a4(0x1fa))/0x3+-parseInt(_0x4551a4(0x1dd))/0x4+parseInt(_0x4551a4(0x1ea))/0x5+-parseInt(_0x4551a4(0x1f7))/0x6+parseInt(_0x4551a4(0x1e8))/0x7*(parseInt(_0x4551a4(0x1e4))/0x8);if(_0x3bc938===_0x51a89e)break;else _0x2c83f6['push'](_0x2c83f6['shift']());}catch(_0x460797){_0x2c83f6['push'](_0x2c83f6['shift']());}}}(_0x2793,0xe9589));function _0x2793(){const _0x4caabc=['exportXLSXByUnitIdAsync','UNRECOGNIZED','exportXLSXBySnapshot','importDOCXToSnapshot','importXLSXToSnapshot','importXLSXToUnitIdAsync','UNIVER_UNKNOWN','exportXLSXByUnitId','UNIVER_SHEET','UNIVER_PROJECT','importXLSXToSnapshotAsync','FUniver','3826080PaFsEc','_injector','importDOCXToSnapshotAsync','5184621ueTdYo','importDOCXToUnitIdAsync','importFileToUnitId','1062859iQlunF','importDOCXToUnitId','2245424IuIEJW','1221746faYHsu','get','importXLSXToUnitId','UNIVER_SLIDE','IExchangeService','UNIVER_DOC','120wmSaFj','exportXLSXBySnapshotAsync','extend','The\x20exchange\x20service\x20is\x20not\x20available','2437729nWqmal','@univerjs/core/facade','1665275tnIxYA'];_0x2793=function(){return _0x4caabc;};return _0x2793();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x393f94(0x1e9));var o=(_0x148b02=>(_0x148b02[_0x148b02['UNIVER_UNKNOWN']=0x0]=_0x393f94(0x1f1),_0x148b02[_0x148b02[_0x393f94(0x1e3)]=0x1]=_0x393f94(0x1e3),_0x148b02[_0x148b02[_0x393f94(0x1f3)]=0x2]=_0x393f94(0x1f3),_0x148b02[_0x148b02[_0x393f94(0x1e1)]=0x3]='UNIVER_SLIDE',_0x148b02[_0x148b02['UNIVER_PROJECT']=0x4]=_0x393f94(0x1f4),_0x148b02[_0x148b02[_0x393f94(0x1ec)]=-0x1]=_0x393f94(0x1ec),_0x148b02))(o||{});function _0x39d5(_0x7ccaeb,_0x19f0c5){const _0x2793dc=_0x2793();return _0x39d5=function(_0x39d5a6,_0x5d5ec2){_0x39d5a6=_0x39d5a6-0x1d9;let _0x494922=_0x2793dc[_0x39d5a6];return _0x494922;},_0x39d5(_0x7ccaeb,_0x19f0c5);}class c extends i['FUniver']{async[_0x393f94(0x1e0)](_0x481e74){const _0x22ae80=_0x393f94;return this[_0x22ae80(0x1f0)](_0x481e74);}async[_0x393f94(0x1f0)](_0x44a292){const _0x31ed6a=_0x393f94,_0x1b8f21=this['_injector'][_0x31ed6a(0x1df)](r[_0x31ed6a(0x1e2)]);if(!_0x1b8f21)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b8f21[_0x31ed6a(0x1da)](_0x44a292,o['UNIVER_SHEET']);}async[_0x393f94(0x1ef)](_0x3c3786){const _0x54d562=_0x393f94;return this[_0x54d562(0x1f5)](_0x3c3786);}async['importXLSXToSnapshotAsync'](_0x167bd8){const _0x55dbbc=_0x393f94,_0x289ba4=this[_0x55dbbc(0x1f8)][_0x55dbbc(0x1df)](r[_0x55dbbc(0x1e2)]);if(!_0x289ba4)throw new Error(_0x55dbbc(0x1e7));return _0x289ba4['importXLSXToSnapshot'](_0x167bd8);}async[_0x393f94(0x1f2)](_0x3c027f){const _0x48c799=_0x393f94;return this[_0x48c799(0x1eb)](_0x3c027f);}async['exportXLSXByUnitIdAsync'](_0x28c153){const _0x30b123=_0x393f94,_0x5a1eca=this[_0x30b123(0x1f8)][_0x30b123(0x1df)](r[_0x30b123(0x1e2)]);if(!_0x5a1eca)throw new Error(_0x30b123(0x1e7));return _0x5a1eca[_0x30b123(0x1f2)](_0x28c153);}async[_0x393f94(0x1ed)](_0x558111){const _0x1b6aa6=_0x393f94;return this[_0x1b6aa6(0x1e5)](_0x558111);}async[_0x393f94(0x1e5)](_0x1cf53e){const _0x38662c=_0x393f94,_0x4a7e94=this[_0x38662c(0x1f8)]['get'](r[_0x38662c(0x1e2)]);if(!_0x4a7e94)throw new Error(_0x38662c(0x1e7));return _0x4a7e94['exportXLSXBySnapshot'](_0x1cf53e);}async[_0x393f94(0x1dc)](_0x6fcf5b){const _0x46548c=_0x393f94;return this[_0x46548c(0x1d9)](_0x6fcf5b);}async[_0x393f94(0x1d9)](_0x4499d4){const _0x3ff096=_0x393f94,_0x49e6d4=this[_0x3ff096(0x1f8)][_0x3ff096(0x1df)](r['IExchangeService']);if(!_0x49e6d4)throw new Error(_0x3ff096(0x1e7));return _0x49e6d4['importFileToUnitId'](_0x4499d4,o[_0x3ff096(0x1e3)]);}async[_0x393f94(0x1ee)](_0x263e28){return this['importDOCXToSnapshotAsync'](_0x263e28);}async[_0x393f94(0x1f9)](_0x31dee4){const _0x2c7d2d=_0x393f94,_0x293753=this[_0x2c7d2d(0x1f8)][_0x2c7d2d(0x1df)](r[_0x2c7d2d(0x1e2)]);if(!_0x293753)throw new Error(_0x2c7d2d(0x1e7));return _0x293753[_0x2c7d2d(0x1ee)](_0x31dee4);}}i[_0x393f94(0x1f6)][_0x393f94(0x1e6)](c);
1
+ 'use strict';function _0x16f4(_0x3906aa,_0x2cbf19){const _0x386933=_0x3869();return _0x16f4=function(_0x16f4af,_0x329f69){_0x16f4af=_0x16f4af-0xe0;let _0x2c4264=_0x386933[_0x16f4af];return _0x2c4264;},_0x16f4(_0x3906aa,_0x2cbf19);}const _0x3abd43=_0x16f4;(function(_0x48aa73,_0x3cb363){const _0x32acbe=_0x16f4,_0x2e9064=_0x48aa73();while(!![]){try{const _0x55fa51=parseInt(_0x32acbe(0xe5))/0x1+parseInt(_0x32acbe(0xe7))/0x2+parseInt(_0x32acbe(0xf7))/0x3+parseInt(_0x32acbe(0xe4))/0x4+-parseInt(_0x32acbe(0xf8))/0x5+parseInt(_0x32acbe(0xeb))/0x6*(parseInt(_0x32acbe(0xf3))/0x7)+parseInt(_0x32acbe(0xfc))/0x8*(-parseInt(_0x32acbe(0xf0))/0x9);if(_0x55fa51===_0x3cb363)break;else _0x2e9064['push'](_0x2e9064['shift']());}catch(_0x39e2c7){_0x2e9064['push'](_0x2e9064['shift']());}}}(_0x3869,0x96bdd));const r=require('@univerjs-pro/exchange-client'),i=require(_0x3abd43(0xf6));var o=(_0x5b3422=>(_0x5b3422[_0x5b3422[_0x3abd43(0xe0)]=0x0]=_0x3abd43(0xe0),_0x5b3422[_0x5b3422[_0x3abd43(0xe2)]=0x1]='UNIVER_DOC',_0x5b3422[_0x5b3422[_0x3abd43(0xf2)]=0x2]=_0x3abd43(0xf2),_0x5b3422[_0x5b3422[_0x3abd43(0xef)]=0x3]=_0x3abd43(0xef),_0x5b3422[_0x5b3422[_0x3abd43(0xfe)]=0x4]='UNIVER_PROJECT',_0x5b3422[_0x5b3422['UNRECOGNIZED']=-0x1]=_0x3abd43(0xfa),_0x5b3422))(o||{});function _0x3869(){const _0xbd02fa=['importDOCXToUnitId','UNIVER_DOC','importDOCXToSnapshotAsync','134140sVZjgh','39473UWFWYD','importXLSXToSnapshot','1104498JqbqpU','importXLSXToSnapshotAsync','importDOCXToSnapshot','exportXLSXBySnapshot','12696IEUqVh','exportXLSXByUnitId','_injector','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','5986998raruHw','get','UNIVER_SHEET','1799XVGKgJ','exportXLSXByUnitIdAsync','IExchangeService','@univerjs/core/facade','1438632cTmiDd','1829770eNwkkr','importFileToUnitId','UNRECOGNIZED','extend','8qYOpJp','importXLSXToUnitIdAsync','UNIVER_PROJECT','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN'];_0x3869=function(){return _0xbd02fa;};return _0x3869();}class c extends i['FUniver']{async['importXLSXToUnitId'](_0x1e0e70){const _0x4f41ca=_0x3abd43;return this[_0x4f41ca(0xfd)](_0x1e0e70);}async[_0x3abd43(0xfd)](_0x46ab12){const _0x54693b=_0x3abd43,_0x3ef471=this['_injector'][_0x54693b(0xf1)](r[_0x54693b(0xf5)]);if(!_0x3ef471)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3ef471['importFileToUnitId'](_0x46ab12,o[_0x54693b(0xf2)]);}async['importXLSXToSnapshot'](_0x1d5e3c){const _0xf049e6=_0x3abd43;return this[_0xf049e6(0xe8)](_0x1d5e3c);}async[_0x3abd43(0xe8)](_0x29347e){const _0x5cbee3=_0x3abd43,_0x181120=this[_0x5cbee3(0xed)]['get'](r[_0x5cbee3(0xf5)]);if(!_0x181120)throw new Error(_0x5cbee3(0xee));return _0x181120[_0x5cbee3(0xe6)](_0x29347e);}async[_0x3abd43(0xec)](_0x270689){return this['exportXLSXByUnitIdAsync'](_0x270689);}async[_0x3abd43(0xf4)](_0x2e1c76){const _0xed7e83=_0x3abd43,_0x3ccdad=this[_0xed7e83(0xed)][_0xed7e83(0xf1)](r[_0xed7e83(0xf5)]);if(!_0x3ccdad)throw new Error(_0xed7e83(0xee));return _0x3ccdad[_0xed7e83(0xec)](_0x2e1c76);}async[_0x3abd43(0xea)](_0x3e45f3){return this['exportXLSXBySnapshotAsync'](_0x3e45f3);}async[_0x3abd43(0xff)](_0x56f795){const _0x57385b=_0x3abd43,_0x3d179a=this['_injector'][_0x57385b(0xf1)](r[_0x57385b(0xf5)]);if(!_0x3d179a)throw new Error(_0x57385b(0xee));return _0x3d179a[_0x57385b(0xea)](_0x56f795);}async[_0x3abd43(0xe1)](_0x4b1a6b){return this['importDOCXToUnitIdAsync'](_0x4b1a6b);}async['importDOCXToUnitIdAsync'](_0x33e20c){const _0x565306=_0x3abd43,_0x3b8a29=this[_0x565306(0xed)]['get'](r[_0x565306(0xf5)]);if(!_0x3b8a29)throw new Error(_0x565306(0xee));return _0x3b8a29[_0x565306(0xf9)](_0x33e20c,o[_0x565306(0xe2)]);}async[_0x3abd43(0xe9)](_0x10d954){const _0x51f770=_0x3abd43;return this[_0x51f770(0xe3)](_0x10d954);}async[_0x3abd43(0xe3)](_0x45a4ae){const _0x4d4461=_0x3abd43,_0x1758a3=this[_0x4d4461(0xed)][_0x4d4461(0xf1)](r[_0x4d4461(0xf5)]);if(!_0x1758a3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1758a3[_0x4d4461(0xe9)](_0x45a4ae);}}i['FUniver'][_0x3abd43(0xfb)](c);