@univerjs-pro/exchange-client 0.8.1-nightly.202506121607 → 0.8.1-nightly.202506131607

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 _0x54da9d=_0x3771;(function(_0x109816,_0x159178){const _0x52c3ce=_0x3771,_0x4394fa=_0x109816();while(!![]){try{const _0x4f891a=-parseInt(_0x52c3ce(0x106))/0x1*(parseInt(_0x52c3ce(0xe3))/0x2)+-parseInt(_0x52c3ce(0x105))/0x3*(-parseInt(_0x52c3ce(0x101))/0x4)+-parseInt(_0x52c3ce(0xfd))/0x5*(parseInt(_0x52c3ce(0xf0))/0x6)+parseInt(_0x52c3ce(0xe5))/0x7*(-parseInt(_0x52c3ce(0xf4))/0x8)+-parseInt(_0x52c3ce(0xf2))/0x9*(-parseInt(_0x52c3ce(0xde))/0xa)+-parseInt(_0x52c3ce(0xfe))/0xb*(-parseInt(_0x52c3ce(0xf8))/0xc)+-parseInt(_0x52c3ce(0xfa))/0xd;if(_0x4f891a===_0x159178)break;else _0x4394fa['push'](_0x4394fa['shift']());}catch(_0xf53554){_0x4394fa['push'](_0x4394fa['shift']());}}}(_0x178f,0x958e1));function _0x3771(_0x4e46a3,_0x4d3203){const _0x178fef=_0x178f();return _0x3771=function(_0x377137,_0x49bead){_0x377137=_0x377137-0xde;let _0x3d8f99=_0x178fef[_0x377137];return _0x3d8f99;},_0x3771(_0x4e46a3,_0x4d3203);}const r=require(_0x54da9d(0x100)),o=require(_0x54da9d(0xef));var i=(_0x3d06d9=>(_0x3d06d9[_0x3d06d9[_0x54da9d(0xed)]=0x0]=_0x54da9d(0xed),_0x3d06d9[_0x3d06d9['UNIVER_DOC']=0x1]=_0x54da9d(0xf7),_0x3d06d9[_0x3d06d9['UNIVER_SHEET']=0x2]=_0x54da9d(0xeb),_0x3d06d9[_0x3d06d9[_0x54da9d(0x103)]=0x3]=_0x54da9d(0x103),_0x3d06d9[_0x3d06d9[_0x54da9d(0xe1)]=0x4]=_0x54da9d(0xe1),_0x3d06d9[_0x3d06d9[_0x54da9d(0xf6)]=-0x1]='UNRECOGNIZED',_0x3d06d9))(i||{});class c extends o[_0x54da9d(0xf9)]{async['importXLSXToUnitId'](_0x2584eb){return this['importXLSXToUnitIdAsync'](_0x2584eb);}async[_0x54da9d(0xee)](_0x1b7ca8){const _0x39b7eb=_0x54da9d,_0x45d7a0=this['_injector']['get'](r['IExchangeService']);if(!_0x45d7a0)throw new Error(_0x39b7eb(0xfc));return _0x45d7a0['importFileToUnitId'](_0x1b7ca8,i[_0x39b7eb(0xeb)]);}async[_0x54da9d(0xe7)](_0x4bcce7){return this['importXLSXToSnapshotAsync'](_0x4bcce7);}async[_0x54da9d(0xff)](_0x509cb9){const _0x3fd1dc=_0x54da9d,_0x1c3a47=this[_0x3fd1dc(0x104)]['get'](r[_0x3fd1dc(0xdf)]);if(!_0x1c3a47)throw new Error(_0x3fd1dc(0xfc));return _0x1c3a47['importXLSXToSnapshot'](_0x509cb9);}async[_0x54da9d(0xec)](_0x25170d){const _0x2f78a7=_0x54da9d;return this[_0x2f78a7(0xfb)](_0x25170d);}async['exportXLSXByUnitIdAsync'](_0x2a46b9){const _0x5423e8=_0x54da9d,_0x5562a7=this[_0x5423e8(0x104)][_0x5423e8(0x102)](r[_0x5423e8(0xdf)]);if(!_0x5562a7)throw new Error(_0x5423e8(0xfc));return _0x5562a7['exportXLSXByUnitId'](_0x2a46b9);}async[_0x54da9d(0xea)](_0x6464cb){const _0x1e848c=_0x54da9d;return this[_0x1e848c(0xe2)](_0x6464cb);}async['exportXLSXBySnapshotAsync'](_0x622e38){const _0x3a11a2=_0x54da9d,_0xd5bdfd=this[_0x3a11a2(0x104)][_0x3a11a2(0x102)](r[_0x3a11a2(0xdf)]);if(!_0xd5bdfd)throw new Error(_0x3a11a2(0xfc));return _0xd5bdfd[_0x3a11a2(0xea)](_0x622e38);}async[_0x54da9d(0xe8)](_0x3ac5dd){return this['importDOCXToUnitIdAsync'](_0x3ac5dd);}async[_0x54da9d(0xe0)](_0x34f446){const _0x3cd94=_0x54da9d,_0x4626d3=this[_0x3cd94(0x104)]['get'](r[_0x3cd94(0xdf)]);if(!_0x4626d3)throw new Error(_0x3cd94(0xfc));return _0x4626d3[_0x3cd94(0xf1)](_0x34f446,i[_0x3cd94(0xf7)]);}async['importDOCXToSnapshot'](_0x13a997){const _0x1df4f7=_0x54da9d;return this[_0x1df4f7(0xf5)](_0x13a997);}async['importDOCXToSnapshotAsync'](_0x1cc7c9){const _0x52a8ef=_0x54da9d,_0x19401b=this[_0x52a8ef(0x104)][_0x52a8ef(0x102)](r['IExchangeService']);if(!_0x19401b)throw new Error(_0x52a8ef(0xfc));return _0x19401b[_0x52a8ef(0xf3)](_0x1cc7c9);}async[_0x54da9d(0xe6)](_0x53a548){const _0x1b97d6=_0x54da9d,_0x32885b=this['_injector'][_0x1b97d6(0x102)](r[_0x1b97d6(0xdf)]);if(!_0x32885b)throw new Error(_0x1b97d6(0xfc));return _0x32885b[_0x1b97d6(0xe9)](_0x53a548);}async[_0x54da9d(0xe4)](_0x990d8f){const _0x52843a=_0x54da9d,_0x4303a7=this[_0x52843a(0x104)][_0x52843a(0x102)](r['IExchangeService']);if(!_0x4303a7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4303a7['exportDOCXByUnitId'](_0x990d8f);}}function _0x178f(){const _0x240118=['UNIVER_SHEET','exportXLSXByUnitId','UNIVER_UNKNOWN','importXLSXToUnitIdAsync','@univerjs/core/facade','18726grSvoW','importFileToUnitId','10161LdXJfx','importDOCXToSnapshot','16hmEWyD','importDOCXToSnapshotAsync','UNRECOGNIZED','UNIVER_DOC','3201372OiuNAV','FUniver','8422856zldkON','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','140GSZnUR','33zbcZYU','importXLSXToSnapshotAsync','@univerjs-pro/exchange-client','56QeQnfS','get','UNIVER_SLIDE','_injector','208167kvARov','413SCMmIH','9530urrfjy','IExchangeService','importDOCXToUnitIdAsync','UNIVER_PROJECT','exportXLSXBySnapshotAsync','1738SvMOIl','exportDOCXByUnitIdAsync','3993332lMwPtY','exportDOCXBySnapshotAsync','importXLSXToSnapshot','importDOCXToUnitId','exportDOCXBySnapshot','exportXLSXBySnapshot'];_0x178f=function(){return _0x240118;};return _0x178f();}o[_0x54da9d(0xf9)]['extend'](c);
1
+ 'use strict';function _0x33bf(){const _0x588caf=['45339DXhcyO','82388VKBtuZ','UNIVER_PROJECT','importDOCXToUnitIdAsync','importXLSXToSnapshotAsync','UNRECOGNIZED','UNIVER_SLIDE','importDOCXToSnapshot','UNIVER_SHEET','importXLSXToUnitIdAsync','@univerjs/core/facade','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','exportDOCXByUnitIdAsync','importFileToUnitId','importDOCXToSnapshotAsync','2328845Axvxzw','2701536VUKJKN','FUniver','exportXLSXBySnapshot','240xmAUoT','21701JugNfB','exportDOCXByUnitId','importXLSXToSnapshot','UNIVER_UNKNOWN','3637712uegLnT','importDOCXToUnitId','_injector','239082lpAOcc','extend','exportXLSXBySnapshotAsync','get','UNIVER_DOC','IExchangeService'];_0x33bf=function(){return _0x588caf;};return _0x33bf();}const _0x1f2f24=_0x4e14;(function(_0x1da362,_0x3071c3){const _0x12f4bd=_0x4e14,_0x28b13c=_0x1da362();while(!![]){try{const _0x38d2e0=-parseInt(_0x12f4bd(0x86))/0x1+parseInt(_0x12f4bd(0x72))/0x2+-parseInt(_0x12f4bd(0x8d))/0x3+parseInt(_0x12f4bd(0x82))/0x4+-parseInt(_0x12f4bd(0x81))/0x5+-parseInt(_0x12f4bd(0x85))/0x6*(parseInt(_0x12f4bd(0x71))/0x7)+parseInt(_0x12f4bd(0x8a))/0x8;if(_0x38d2e0===_0x3071c3)break;else _0x28b13c['push'](_0x28b13c['shift']());}catch(_0x10cfae){_0x28b13c['push'](_0x28b13c['shift']());}}}(_0x33bf,0x543d8));function _0x4e14(_0x473248,_0x48a419){const _0x33bfd5=_0x33bf();return _0x4e14=function(_0x4e14bb,_0x32ac8f){_0x4e14bb=_0x4e14bb-0x6f;let _0x1512bb=_0x33bfd5[_0x4e14bb];return _0x1512bb;},_0x4e14(_0x473248,_0x48a419);}const r=require('@univerjs-pro/exchange-client'),o=require(_0x1f2f24(0x7b));var i=(_0x4d264b=>(_0x4d264b[_0x4d264b[_0x1f2f24(0x89)]=0x0]=_0x1f2f24(0x89),_0x4d264b[_0x4d264b[_0x1f2f24(0x6f)]=0x1]='UNIVER_DOC',_0x4d264b[_0x4d264b[_0x1f2f24(0x79)]=0x2]=_0x1f2f24(0x79),_0x4d264b[_0x4d264b['UNIVER_SLIDE']=0x3]=_0x1f2f24(0x77),_0x4d264b[_0x4d264b[_0x1f2f24(0x73)]=0x4]=_0x1f2f24(0x73),_0x4d264b[_0x4d264b[_0x1f2f24(0x76)]=-0x1]=_0x1f2f24(0x76),_0x4d264b))(i||{});class c extends o[_0x1f2f24(0x83)]{async['importXLSXToUnitId'](_0x4f5007){return this['importXLSXToUnitIdAsync'](_0x4f5007);}async[_0x1f2f24(0x7a)](_0x525486){const _0x431d57=_0x1f2f24,_0x20e350=this[_0x431d57(0x8c)][_0x431d57(0x90)](r[_0x431d57(0x70)]);if(!_0x20e350)throw new Error(_0x431d57(0x7c));return _0x20e350[_0x431d57(0x7f)](_0x525486,i[_0x431d57(0x79)]);}async[_0x1f2f24(0x88)](_0x4e4259){return this['importXLSXToSnapshotAsync'](_0x4e4259);}async[_0x1f2f24(0x75)](_0x529c32){const _0x5e6e75=_0x1f2f24,_0x11e65e=this[_0x5e6e75(0x8c)]['get'](r[_0x5e6e75(0x70)]);if(!_0x11e65e)throw new Error(_0x5e6e75(0x7c));return _0x11e65e['importXLSXToSnapshot'](_0x529c32);}async[_0x1f2f24(0x7d)](_0x47ae99){return this['exportXLSXByUnitIdAsync'](_0x47ae99);}async['exportXLSXByUnitIdAsync'](_0x49402){const _0x5ec42b=_0x1f2f24,_0x6f3fba=this[_0x5ec42b(0x8c)][_0x5ec42b(0x90)](r[_0x5ec42b(0x70)]);if(!_0x6f3fba)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x6f3fba[_0x5ec42b(0x7d)](_0x49402);}async[_0x1f2f24(0x84)](_0x40d550){const _0x568d94=_0x1f2f24;return this[_0x568d94(0x8f)](_0x40d550);}async[_0x1f2f24(0x8f)](_0x9c9a28){const _0x32830e=_0x1f2f24,_0x4e2459=this[_0x32830e(0x8c)][_0x32830e(0x90)](r[_0x32830e(0x70)]);if(!_0x4e2459)throw new Error(_0x32830e(0x7c));return _0x4e2459[_0x32830e(0x84)](_0x9c9a28);}async[_0x1f2f24(0x8b)](_0x325409){const _0x30f53e=_0x1f2f24;return this[_0x30f53e(0x74)](_0x325409);}async[_0x1f2f24(0x74)](_0x5bbc87){const _0x232292=_0x1f2f24,_0x4c7aa4=this[_0x232292(0x8c)][_0x232292(0x90)](r[_0x232292(0x70)]);if(!_0x4c7aa4)throw new Error(_0x232292(0x7c));return _0x4c7aa4[_0x232292(0x7f)](_0x5bbc87,i[_0x232292(0x6f)]);}async[_0x1f2f24(0x78)](_0x273dab){const _0x57f969=_0x1f2f24;return this[_0x57f969(0x80)](_0x273dab);}async[_0x1f2f24(0x80)](_0x15e438){const _0x5c9038=_0x1f2f24,_0x148064=this['_injector'][_0x5c9038(0x90)](r[_0x5c9038(0x70)]);if(!_0x148064)throw new Error(_0x5c9038(0x7c));return _0x148064['importDOCXToSnapshot'](_0x15e438);}async['exportDOCXBySnapshotAsync'](_0x521abd){const _0x1bc247=_0x1f2f24,_0xf0b37f=this['_injector']['get'](r[_0x1bc247(0x70)]);if(!_0xf0b37f)throw new Error(_0x1bc247(0x7c));return _0xf0b37f['exportDOCXBySnapshot'](_0x521abd);}async[_0x1f2f24(0x7e)](_0x36c2ff){const _0x2f87fd=_0x1f2f24,_0x30e604=this[_0x2f87fd(0x8c)][_0x2f87fd(0x90)](r['IExchangeService']);if(!_0x30e604)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x30e604[_0x2f87fd(0x87)](_0x36c2ff);}}o[_0x1f2f24(0x83)][_0x1f2f24(0x8e)](c);