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

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 _0x3c8e54=_0x4ed1;function _0x4ed1(_0x55c6cd,_0x585dec){const _0x525791=_0x5257();return _0x4ed1=function(_0x4ed12c,_0xdd7098){_0x4ed12c=_0x4ed12c-0x1ef;let _0x4a745c=_0x525791[_0x4ed12c];return _0x4a745c;},_0x4ed1(_0x55c6cd,_0x585dec);}function _0x5257(){const _0x293570=['importXLSXToSnapshotAsync','exportDOCXByUnitId','_injector','UNIVER_SLIDE','exportXLSXBySnapshotAsync','importFileToUnitId','get','@univerjs/core/facade','extend','@univerjs-pro/exchange-client','UNIVER_DOC','importDOCXToUnitId','exportXLSXByUnitIdAsync','exportDOCXByUnitIdAsync','UNRECOGNIZED','1252347zYezuV','IExchangeService','24uzTfYh','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','35270xQhPfX','importXLSXToUnitId','2cQwRAN','importXLSXToSnapshot','importDOCXToUnitIdAsync','43605HcHMuW','2536014sbOBHd','UNIVER_PROJECT','UNIVER_SHEET','6248671eimYDu','importXLSXToUnitIdAsync','752983eLeMnY','FUniver','940AlWmGB','72997wBqBSC','exportXLSXBySnapshot','UNIVER_UNKNOWN','importDOCXToSnapshotAsync','52dRLNAM'];_0x5257=function(){return _0x293570;};return _0x5257();}(function(_0x1d5f11,_0x56f4d0){const _0x21306c=_0x4ed1,_0x5a2342=_0x1d5f11();while(!![]){try{const _0x827555=parseInt(_0x21306c(0x208))/0x1*(-parseInt(_0x21306c(0x1fc))/0x2)+parseInt(_0x21306c(0x1f5))/0x3+-parseInt(_0x21306c(0x20c))/0x4*(parseInt(_0x21306c(0x1fa))/0x5)+-parseInt(_0x21306c(0x200))/0x6+-parseInt(_0x21306c(0x205))/0x7*(-parseInt(_0x21306c(0x1f7))/0x8)+-parseInt(_0x21306c(0x1ff))/0x9*(parseInt(_0x21306c(0x207))/0xa)+parseInt(_0x21306c(0x203))/0xb;if(_0x827555===_0x56f4d0)break;else _0x5a2342['push'](_0x5a2342['shift']());}catch(_0xaa9339){_0x5a2342['push'](_0x5a2342['shift']());}}}(_0x5257,0x40ccb));const r=require(_0x3c8e54(0x1ef)),o=require(_0x3c8e54(0x214));var i=(_0x8420f7=>(_0x8420f7[_0x8420f7[_0x3c8e54(0x20a)]=0x0]='UNIVER_UNKNOWN',_0x8420f7[_0x8420f7[_0x3c8e54(0x1f0)]=0x1]='UNIVER_DOC',_0x8420f7[_0x8420f7[_0x3c8e54(0x202)]=0x2]='UNIVER_SHEET',_0x8420f7[_0x8420f7[_0x3c8e54(0x210)]=0x3]=_0x3c8e54(0x210),_0x8420f7[_0x8420f7[_0x3c8e54(0x201)]=0x4]=_0x3c8e54(0x201),_0x8420f7[_0x8420f7[_0x3c8e54(0x1f4)]=-0x1]=_0x3c8e54(0x1f4),_0x8420f7))(i||{});class c extends o[_0x3c8e54(0x206)]{async[_0x3c8e54(0x1fb)](_0x4dd464){const _0x170200=_0x3c8e54;return this[_0x170200(0x204)](_0x4dd464);}async['importXLSXToUnitIdAsync'](_0x5f2a76){const _0x404ac1=_0x3c8e54,_0x424da8=this[_0x404ac1(0x20f)]['get'](r['IExchangeService']);if(!_0x424da8)throw new Error(_0x404ac1(0x1f8));return _0x424da8['importFileToUnitId'](_0x5f2a76,i[_0x404ac1(0x202)]);}async['importXLSXToSnapshot'](_0x11754d){const _0x4d4b8d=_0x3c8e54;return this[_0x4d4b8d(0x20d)](_0x11754d);}async[_0x3c8e54(0x20d)](_0x3444a3){const _0x556f89=_0x3c8e54,_0x108e54=this[_0x556f89(0x20f)][_0x556f89(0x213)](r[_0x556f89(0x1f6)]);if(!_0x108e54)throw new Error(_0x556f89(0x1f8));return _0x108e54[_0x556f89(0x1fd)](_0x3444a3);}async['exportXLSXByUnitId'](_0x16524b){const _0x2383fb=_0x3c8e54;return this[_0x2383fb(0x1f2)](_0x16524b);}async[_0x3c8e54(0x1f2)](_0x55f3e5){const _0x17c33e=_0x3c8e54,_0x3967e8=this[_0x17c33e(0x20f)][_0x17c33e(0x213)](r[_0x17c33e(0x1f6)]);if(!_0x3967e8)throw new Error(_0x17c33e(0x1f8));return _0x3967e8[_0x17c33e(0x1f9)](_0x55f3e5);}async[_0x3c8e54(0x209)](_0xfb72f0){return this['exportXLSXBySnapshotAsync'](_0xfb72f0);}async[_0x3c8e54(0x211)](_0x181560){const _0x3c2296=_0x3c8e54,_0x27987e=this[_0x3c2296(0x20f)][_0x3c2296(0x213)](r[_0x3c2296(0x1f6)]);if(!_0x27987e)throw new Error(_0x3c2296(0x1f8));return _0x27987e[_0x3c2296(0x209)](_0x181560);}async[_0x3c8e54(0x1f1)](_0xa4a14c){const _0x2e5a7d=_0x3c8e54;return this[_0x2e5a7d(0x1fe)](_0xa4a14c);}async['importDOCXToUnitIdAsync'](_0x1c4037){const _0x3caa7c=_0x3c8e54,_0xa1d933=this[_0x3caa7c(0x20f)][_0x3caa7c(0x213)](r['IExchangeService']);if(!_0xa1d933)throw new Error(_0x3caa7c(0x1f8));return _0xa1d933[_0x3caa7c(0x212)](_0x1c4037,i[_0x3caa7c(0x1f0)]);}async['importDOCXToSnapshot'](_0x341fa0){const _0x514ab3=_0x3c8e54;return this[_0x514ab3(0x20b)](_0x341fa0);}async[_0x3c8e54(0x20b)](_0x37ab17){const _0x7ccfb6=_0x3c8e54,_0x3991e7=this[_0x7ccfb6(0x20f)][_0x7ccfb6(0x213)](r[_0x7ccfb6(0x1f6)]);if(!_0x3991e7)throw new Error(_0x7ccfb6(0x1f8));return _0x3991e7['importDOCXToSnapshot'](_0x37ab17);}async['exportDOCXBySnapshotAsync'](_0x166702){const _0x460f03=_0x3c8e54,_0x2024d7=this[_0x460f03(0x20f)][_0x460f03(0x213)](r[_0x460f03(0x1f6)]);if(!_0x2024d7)throw new Error(_0x460f03(0x1f8));return _0x2024d7['exportDOCXBySnapshot'](_0x166702);}async[_0x3c8e54(0x1f3)](_0x30a0a5){const _0x133f0a=_0x3c8e54,_0x392e07=this[_0x133f0a(0x20f)][_0x133f0a(0x213)](r[_0x133f0a(0x1f6)]);if(!_0x392e07)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x392e07[_0x133f0a(0x20e)](_0x30a0a5);}}o[_0x3c8e54(0x206)][_0x3c8e54(0x215)](c);
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);