@univerjs-pro/exchange-client 0.6.7 → 0.6.8

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 _0x3b68b8=_0x1512;function _0x1512(_0x2da93,_0x476aed){const _0x57fbb5=_0x57fb();return _0x1512=function(_0x15122c,_0x1e88d8){_0x15122c=_0x15122c-0x1eb;let _0x36cfb5=_0x57fbb5[_0x15122c];return _0x36cfb5;},_0x1512(_0x2da93,_0x476aed);}(function(_0x2d2022,_0x3a5d1a){const _0x5bd52b=_0x1512,_0x2d8267=_0x2d2022();while(!![]){try{const _0x401bd7=-parseInt(_0x5bd52b(0x200))/0x1+parseInt(_0x5bd52b(0x1f8))/0x2*(parseInt(_0x5bd52b(0x1ff))/0x3)+-parseInt(_0x5bd52b(0x1f9))/0x4*(-parseInt(_0x5bd52b(0x1f7))/0x5)+-parseInt(_0x5bd52b(0x1fe))/0x6+parseInt(_0x5bd52b(0x206))/0x7+-parseInt(_0x5bd52b(0x1ef))/0x8*(-parseInt(_0x5bd52b(0x1ec))/0x9)+-parseInt(_0x5bd52b(0x1ee))/0xa;if(_0x401bd7===_0x3a5d1a)break;else _0x2d8267['push'](_0x2d8267['shift']());}catch(_0x54c06d){_0x2d8267['push'](_0x2d8267['shift']());}}}(_0x57fb,0x50fbe));const r=require(_0x3b68b8(0x1fd)),i=require(_0x3b68b8(0x207));var o=(_0x13da99=>(_0x13da99[_0x13da99['UNIVER_UNKNOWN']=0x0]=_0x3b68b8(0x1f2),_0x13da99[_0x13da99['UNIVER_DOC']=0x1]=_0x3b68b8(0x208),_0x13da99[_0x13da99['UNIVER_SHEET']=0x2]=_0x3b68b8(0x1f0),_0x13da99[_0x13da99[_0x3b68b8(0x1fb)]=0x3]=_0x3b68b8(0x1fb),_0x13da99[_0x13da99[_0x3b68b8(0x20a)]=0x4]=_0x3b68b8(0x20a),_0x13da99[_0x13da99[_0x3b68b8(0x1fa)]=-0x1]='UNRECOGNIZED',_0x13da99))(o||{});class c extends i[_0x3b68b8(0x1eb)]{async[_0x3b68b8(0x1f5)](_0x26b58d){return this['importXLSXToUnitIdAsync'](_0x26b58d);}async[_0x3b68b8(0x201)](_0x3d8864){const _0x2e6688=_0x3b68b8,_0x5af076=this['_injector'][_0x2e6688(0x209)](r[_0x2e6688(0x1ed)]);if(!_0x5af076)throw new Error(_0x2e6688(0x20c));return _0x5af076[_0x2e6688(0x1fc)](_0x3d8864,o[_0x2e6688(0x1f0)]);}async[_0x3b68b8(0x203)](_0x36064d){const _0x4c77ba=_0x3b68b8;return this[_0x4c77ba(0x1f1)](_0x36064d);}async[_0x3b68b8(0x1f1)](_0x5d1e83){const _0xddf828=_0x3b68b8,_0xcb03f9=this['_injector']['get'](r[_0xddf828(0x1ed)]);if(!_0xcb03f9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xcb03f9[_0xddf828(0x203)](_0x5d1e83);}async[_0x3b68b8(0x20b)](_0x25a6ab){return this['exportXLSXByUnitIdAsync'](_0x25a6ab);}async['exportXLSXByUnitIdAsync'](_0x56025c){const _0x1200e4=_0x3b68b8,_0x413251=this[_0x1200e4(0x1f4)][_0x1200e4(0x209)](r[_0x1200e4(0x1ed)]);if(!_0x413251)throw new Error(_0x1200e4(0x20c));return _0x413251[_0x1200e4(0x20b)](_0x56025c);}async[_0x3b68b8(0x1f3)](_0x237ee3){const _0x3abfb2=_0x3b68b8;return this[_0x3abfb2(0x1f6)](_0x237ee3);}async['exportXLSXBySnapshotAsync'](_0x5ab2e9){const _0xac88e4=_0x3b68b8,_0x35f6d5=this['_injector'][_0xac88e4(0x209)](r[_0xac88e4(0x1ed)]);if(!_0x35f6d5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x35f6d5[_0xac88e4(0x1f3)](_0x5ab2e9);}async['importDOCXToUnitId'](_0x4f989d){const _0x2bffd5=_0x3b68b8;return this[_0x2bffd5(0x202)](_0x4f989d);}async[_0x3b68b8(0x202)](_0x5bf908){const _0x4652dc=_0x3b68b8,_0x50969b=this['_injector'][_0x4652dc(0x209)](r['IExchangeService']);if(!_0x50969b)throw new Error(_0x4652dc(0x20c));return _0x50969b[_0x4652dc(0x1fc)](_0x5bf908,o[_0x4652dc(0x208)]);}async[_0x3b68b8(0x205)](_0x522a){const _0x324422=_0x3b68b8;return this[_0x324422(0x204)](_0x522a);}async['importDOCXToSnapshotAsync'](_0x5c0f60){const _0x5c7fd0=_0x3b68b8,_0x54792f=this['_injector'][_0x5c7fd0(0x209)](r[_0x5c7fd0(0x1ed)]);if(!_0x54792f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x54792f[_0x5c7fd0(0x205)](_0x5c0f60);}}i[_0x3b68b8(0x1eb)]['extend'](c);function _0x57fb(){const _0x3914c2=['UNIVER_PROJECT','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','9EbSTzF','IExchangeService','6420850NNLdra','3743000CYXoqB','UNIVER_SHEET','importXLSXToSnapshotAsync','UNIVER_UNKNOWN','exportXLSXBySnapshot','_injector','importXLSXToUnitId','exportXLSXBySnapshotAsync','15qDtdhn','4nxyVQy','356816bDpgBH','UNRECOGNIZED','UNIVER_SLIDE','importFileToUnitId','@univerjs-pro/exchange-client','1556016qoevmF','4803EfDnFc','132719DKkMef','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','importXLSXToSnapshot','importDOCXToSnapshotAsync','importDOCXToSnapshot','4390127TtbPMH','@univerjs/core/facade','UNIVER_DOC','get'];_0x57fb=function(){return _0x3914c2;};return _0x57fb();}
1
+ 'use strict';function _0x4075(){const _0x7a3e9c=['exportXLSXBySnapshot','extend','importDOCXToUnitId','99HmYbwQ','importXLSXToSnapshotAsync','UNIVER_DOC','UNIVER_UNKNOWN','13351vaJxwZ','importDOCXToSnapshotAsync','400520eSAiMU','150910mSLsMM','2612VavclN','exportXLSXByUnitIdAsync','1051818dQspVI','268752TfDolg','importDOCXToSnapshot','importDOCXToUnitIdAsync','4960dtEBbN','696HXntWr','7QOZljA','UNIVER_SHEET','importXLSXToUnitId','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','385jSBEjO','@univerjs-pro/exchange-client','get','UNIVER_SLIDE','_injector','exportXLSXByUnitId','FUniver','UNIVER_PROJECT','importXLSXToUnitIdAsync','27jXoWCL','26GNVkzD','exportXLSXBySnapshotAsync','UNRECOGNIZED','importXLSXToSnapshot'];_0x4075=function(){return _0x7a3e9c;};return _0x4075();}function _0x4b86(_0x30f73f,_0xfc7745){const _0x40759b=_0x4075();return _0x4b86=function(_0x4b86df,_0x3cbf83){_0x4b86df=_0x4b86df-0xc6;let _0x80a02e=_0x40759b[_0x4b86df];return _0x80a02e;},_0x4b86(_0x30f73f,_0xfc7745);}const _0x50dfd5=_0x4b86;(function(_0x547313,_0x53e676){const _0x402bb4=_0x4b86,_0x36de88=_0x547313();while(!![]){try{const _0x37f3b4=-parseInt(_0x402bb4(0xd3))/0x1*(parseInt(_0x402bb4(0xe8))/0x2)+parseInt(_0x402bb4(0xe5))/0x3+parseInt(_0x402bb4(0xe2))/0x4*(-parseInt(_0x402bb4(0xc9))/0x5)+parseInt(_0x402bb4(0xe4))/0x6*(parseInt(_0x402bb4(0xea))/0x7)+-parseInt(_0x402bb4(0xe0))/0x8*(-parseInt(_0x402bb4(0xd2))/0x9)+-parseInt(_0x402bb4(0xe1))/0xa*(parseInt(_0x402bb4(0xda))/0xb)+-parseInt(_0x402bb4(0xe9))/0xc*(parseInt(_0x402bb4(0xde))/0xd);if(_0x37f3b4===_0x53e676)break;else _0x36de88['push'](_0x36de88['shift']());}catch(_0x274b15){_0x36de88['push'](_0x36de88['shift']());}}}(_0x4075,0x199e8));const r=require(_0x50dfd5(0xca)),i=require('@univerjs/core/facade');var o=(_0x352e9f=>(_0x352e9f[_0x352e9f[_0x50dfd5(0xdd)]=0x0]=_0x50dfd5(0xdd),_0x352e9f[_0x352e9f[_0x50dfd5(0xdc)]=0x1]='UNIVER_DOC',_0x352e9f[_0x352e9f[_0x50dfd5(0xeb)]=0x2]='UNIVER_SHEET',_0x352e9f[_0x352e9f['UNIVER_SLIDE']=0x3]=_0x50dfd5(0xcc),_0x352e9f[_0x352e9f['UNIVER_PROJECT']=0x4]=_0x50dfd5(0xd0),_0x352e9f[_0x352e9f[_0x50dfd5(0xd5)]=-0x1]=_0x50dfd5(0xd5),_0x352e9f))(o||{});class c extends i[_0x50dfd5(0xcf)]{async[_0x50dfd5(0xec)](_0x2792e5){const _0x18be3d=_0x50dfd5;return this[_0x18be3d(0xd1)](_0x2792e5);}async['importXLSXToUnitIdAsync'](_0x557877){const _0x137a2c=_0x50dfd5,_0x33c7d8=this[_0x137a2c(0xcd)][_0x137a2c(0xcb)](r[_0x137a2c(0xc8)]);if(!_0x33c7d8)throw new Error(_0x137a2c(0xc7));return _0x33c7d8[_0x137a2c(0xc6)](_0x557877,o['UNIVER_SHEET']);}async[_0x50dfd5(0xd6)](_0x3fb9e9){const _0x42ec95=_0x50dfd5;return this[_0x42ec95(0xdb)](_0x3fb9e9);}async[_0x50dfd5(0xdb)](_0x53dc58){const _0xdd0c0c=_0x50dfd5,_0x2f948c=this[_0xdd0c0c(0xcd)][_0xdd0c0c(0xcb)](r[_0xdd0c0c(0xc8)]);if(!_0x2f948c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2f948c[_0xdd0c0c(0xd6)](_0x53dc58);}async['exportXLSXByUnitId'](_0x1f55fb){const _0x3baa53=_0x50dfd5;return this[_0x3baa53(0xe3)](_0x1f55fb);}async[_0x50dfd5(0xe3)](_0x20adca){const _0x264d95=_0x50dfd5,_0x34190a=this[_0x264d95(0xcd)][_0x264d95(0xcb)](r[_0x264d95(0xc8)]);if(!_0x34190a)throw new Error(_0x264d95(0xc7));return _0x34190a[_0x264d95(0xce)](_0x20adca);}async[_0x50dfd5(0xd7)](_0x58ae6c){const _0x52d037=_0x50dfd5;return this[_0x52d037(0xd4)](_0x58ae6c);}async[_0x50dfd5(0xd4)](_0x460a17){const _0x5dd4b0=_0x50dfd5,_0x4eefb6=this[_0x5dd4b0(0xcd)]['get'](r['IExchangeService']);if(!_0x4eefb6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4eefb6[_0x5dd4b0(0xd7)](_0x460a17);}async[_0x50dfd5(0xd9)](_0x6a3e65){const _0x51c9ad=_0x50dfd5;return this[_0x51c9ad(0xe7)](_0x6a3e65);}async[_0x50dfd5(0xe7)](_0x546d1c){const _0x449a68=_0x50dfd5,_0x556d1f=this[_0x449a68(0xcd)]['get'](r[_0x449a68(0xc8)]);if(!_0x556d1f)throw new Error(_0x449a68(0xc7));return _0x556d1f[_0x449a68(0xc6)](_0x546d1c,o[_0x449a68(0xdc)]);}async[_0x50dfd5(0xe6)](_0x4c58f6){const _0x29fd9=_0x50dfd5;return this[_0x29fd9(0xdf)](_0x4c58f6);}async[_0x50dfd5(0xdf)](_0x37c5d9){const _0x3fb9da=_0x50dfd5,_0x3d537c=this[_0x3fb9da(0xcd)][_0x3fb9da(0xcb)](r[_0x3fb9da(0xc8)]);if(!_0x3d537c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3d537c[_0x3fb9da(0xe6)](_0x37c5d9);}}i[_0x50dfd5(0xcf)][_0x50dfd5(0xd8)](c);