@univerjs-pro/exchange-client 0.6.9-experimental.20250408-da421ca → 0.6.9-experimental.20250409-e08c696

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 _0x1a3f20=_0x1d56;(function(_0x30d8b5,_0x3399fe){const _0x5e337a=_0x1d56,_0x4c53be=_0x30d8b5();while(!![]){try{const _0x476865=-parseInt(_0x5e337a(0x1b5))/0x1+parseInt(_0x5e337a(0x1b8))/0x2*(-parseInt(_0x5e337a(0x19b))/0x3)+parseInt(_0x5e337a(0x1a9))/0x4*(parseInt(_0x5e337a(0x1a4))/0x5)+parseInt(_0x5e337a(0x1b0))/0x6*(parseInt(_0x5e337a(0x197))/0x7)+parseInt(_0x5e337a(0x19e))/0x8+-parseInt(_0x5e337a(0x1a0))/0x9*(parseInt(_0x5e337a(0x19f))/0xa)+-parseInt(_0x5e337a(0x1a6))/0xb;if(_0x476865===_0x3399fe)break;else _0x4c53be['push'](_0x4c53be['shift']());}catch(_0x4a8688){_0x4c53be['push'](_0x4c53be['shift']());}}}(_0x1f22,0x61d1e));function _0x1d56(_0x242520,_0x56f389){const _0x1f2241=_0x1f22();return _0x1d56=function(_0x1d563d,_0xf32dea){_0x1d563d=_0x1d563d-0x195;let _0x5c9780=_0x1f2241[_0x1d563d];return _0x5c9780;},_0x1d56(_0x242520,_0x56f389);}const r=require(_0x1a3f20(0x1b2)),i=require(_0x1a3f20(0x1ae));var o=(_0x2fcfed=>(_0x2fcfed[_0x2fcfed[_0x1a3f20(0x1b1)]=0x0]=_0x1a3f20(0x1b1),_0x2fcfed[_0x2fcfed[_0x1a3f20(0x1a3)]=0x1]=_0x1a3f20(0x1a3),_0x2fcfed[_0x2fcfed[_0x1a3f20(0x1b4)]=0x2]=_0x1a3f20(0x1b4),_0x2fcfed[_0x2fcfed[_0x1a3f20(0x199)]=0x3]=_0x1a3f20(0x199),_0x2fcfed[_0x2fcfed['UNIVER_PROJECT']=0x4]=_0x1a3f20(0x195),_0x2fcfed[_0x2fcfed[_0x1a3f20(0x198)]=-0x1]=_0x1a3f20(0x198),_0x2fcfed))(o||{});class c extends i[_0x1a3f20(0x1b9)]{async[_0x1a3f20(0x1ad)](_0x1c55e9){return this['importXLSXToUnitIdAsync'](_0x1c55e9);}async['importXLSXToUnitIdAsync'](_0x4c81ef){const _0x381771=_0x1a3f20,_0x521b45=this['_injector'][_0x381771(0x1a8)](r[_0x381771(0x19d)]);if(!_0x521b45)throw new Error(_0x381771(0x1aa));return _0x521b45['importFileToUnitId'](_0x4c81ef,o['UNIVER_SHEET']);}async[_0x1a3f20(0x1b7)](_0x2f1324){const _0x233c14=_0x1a3f20;return this[_0x233c14(0x1ab)](_0x2f1324);}async['importXLSXToSnapshotAsync'](_0x53845d){const _0x1a7931=_0x1a3f20,_0x406ecd=this[_0x1a7931(0x1a5)]['get'](r[_0x1a7931(0x19d)]);if(!_0x406ecd)throw new Error(_0x1a7931(0x1aa));return _0x406ecd[_0x1a7931(0x1b7)](_0x53845d);}async[_0x1a3f20(0x1b6)](_0x22c090){const _0x3d073d=_0x1a3f20;return this[_0x3d073d(0x1ac)](_0x22c090);}async[_0x1a3f20(0x1ac)](_0x149243){const _0x50bb92=_0x1a3f20,_0x33f758=this[_0x50bb92(0x1a5)][_0x50bb92(0x1a8)](r[_0x50bb92(0x19d)]);if(!_0x33f758)throw new Error(_0x50bb92(0x1aa));return _0x33f758[_0x50bb92(0x1b6)](_0x149243);}async[_0x1a3f20(0x1b3)](_0x62e622){const _0x398f45=_0x1a3f20;return this[_0x398f45(0x1a1)](_0x62e622);}async['exportXLSXBySnapshotAsync'](_0x5d9dd7){const _0x57cc97=_0x1a3f20,_0x43f62a=this[_0x57cc97(0x1a5)]['get'](r[_0x57cc97(0x19d)]);if(!_0x43f62a)throw new Error(_0x57cc97(0x1aa));return _0x43f62a[_0x57cc97(0x1b3)](_0x5d9dd7);}async[_0x1a3f20(0x196)](_0x2e6b22){const _0x46948a=_0x1a3f20;return this[_0x46948a(0x1a2)](_0x2e6b22);}async[_0x1a3f20(0x1a2)](_0x25cceb){const _0x23ccdd=_0x1a3f20,_0x38d9df=this[_0x23ccdd(0x1a5)][_0x23ccdd(0x1a8)](r[_0x23ccdd(0x19d)]);if(!_0x38d9df)throw new Error(_0x23ccdd(0x1aa));return _0x38d9df[_0x23ccdd(0x1a7)](_0x25cceb,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x48f2c8){const _0x5e0ba8=_0x1a3f20;return this[_0x5e0ba8(0x19c)](_0x48f2c8);}async['importDOCXToSnapshotAsync'](_0x4e97f2){const _0x4188a1=_0x1a3f20,_0x16b0de=this['_injector'][_0x4188a1(0x1a8)](r[_0x4188a1(0x19d)]);if(!_0x16b0de)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x16b0de[_0x4188a1(0x1af)](_0x4e97f2);}}i[_0x1a3f20(0x1b9)][_0x1a3f20(0x19a)](c);function _0x1f22(){const _0x4e5cb7=['5SSdDrz','_injector','5484996PAEAFL','importFileToUnitId','get','2391464ACupyP','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','exportXLSXByUnitIdAsync','importXLSXToUnitId','@univerjs/core/facade','importDOCXToSnapshot','36KZxIxV','UNIVER_UNKNOWN','@univerjs-pro/exchange-client','exportXLSXBySnapshot','UNIVER_SHEET','287832xVcKrl','exportXLSXByUnitId','importXLSXToSnapshot','446006iJgsVq','FUniver','UNIVER_PROJECT','importDOCXToUnitId','826693GAIBBF','UNRECOGNIZED','UNIVER_SLIDE','extend','6hEiRfE','importDOCXToSnapshotAsync','IExchangeService','6235896WKBuAU','348310aabobg','117BlYiBP','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','UNIVER_DOC'];_0x1f22=function(){return _0x4e5cb7;};return _0x1f22();}
1
+ 'use strict';const _0x268bec=_0x41d7;(function(_0x3870a1,_0xf7bec4){const _0x496807=_0x41d7,_0x21292a=_0x3870a1();while(!![]){try{const _0x401005=-parseInt(_0x496807(0xf0))/0x1+-parseInt(_0x496807(0xef))/0x2*(-parseInt(_0x496807(0xfc))/0x3)+-parseInt(_0x496807(0xf9))/0x4+-parseInt(_0x496807(0x103))/0x5*(parseInt(_0x496807(0xfe))/0x6)+parseInt(_0x496807(0xeb))/0x7+-parseInt(_0x496807(0xea))/0x8*(-parseInt(_0x496807(0x108))/0x9)+parseInt(_0x496807(0x106))/0xa;if(_0x401005===_0xf7bec4)break;else _0x21292a['push'](_0x21292a['shift']());}catch(_0x80c1a4){_0x21292a['push'](_0x21292a['shift']());}}}(_0x1e0e,0xe42cf));const r=require(_0x268bec(0x100)),i=require(_0x268bec(0x104));function _0x41d7(_0xdbb1dd,_0x2a87ba){const _0x1e0e1f=_0x1e0e();return _0x41d7=function(_0x41d743,_0x26d8ee){_0x41d743=_0x41d743-0xea;let _0x202944=_0x1e0e1f[_0x41d743];return _0x202944;},_0x41d7(_0xdbb1dd,_0x2a87ba);}var o=(_0x3ead52=>(_0x3ead52[_0x3ead52[_0x268bec(0x10a)]=0x0]=_0x268bec(0x10a),_0x3ead52[_0x3ead52[_0x268bec(0x109)]=0x1]=_0x268bec(0x109),_0x3ead52[_0x3ead52[_0x268bec(0xf8)]=0x2]=_0x268bec(0xf8),_0x3ead52[_0x3ead52['UNIVER_SLIDE']=0x3]=_0x268bec(0xfd),_0x3ead52[_0x3ead52[_0x268bec(0xf1)]=0x4]='UNIVER_PROJECT',_0x3ead52[_0x3ead52[_0x268bec(0x102)]=-0x1]=_0x268bec(0x102),_0x3ead52))(o||{});function _0x1e0e(){const _0x40d95d=['165210JxWEJP','@univerjs/core/facade','importXLSXToUnitIdAsync','2820120BjqFma','importDOCXToSnapshotAsync','1062YOTYcc','UNIVER_DOC','UNIVER_UNKNOWN','get','exportXLSXByUnitIdAsync','59744LgMjwa','12001829FywYCT','importDOCXToUnitIdAsync','importDOCXToUnitId','exportXLSXBySnapshot','2IwOKWj','1307673CBWRGR','UNIVER_PROJECT','importXLSXToSnapshotAsync','importDOCXToSnapshot','IExchangeService','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','_injector','UNIVER_SHEET','6650124zJvNgL','extend','exportXLSXByUnitId','3576714TggJSg','UNIVER_SLIDE','30LwwnqK','importXLSXToSnapshot','@univerjs-pro/exchange-client','importXLSXToUnitId','UNRECOGNIZED'];_0x1e0e=function(){return _0x40d95d;};return _0x1e0e();}class c extends i[_0x268bec(0xf5)]{async[_0x268bec(0x101)](_0x502e37){const _0xe4f75f=_0x268bec;return this[_0xe4f75f(0x105)](_0x502e37);}async[_0x268bec(0x105)](_0x27a9b6){const _0x6121f0=_0x268bec,_0x5b6542=this['_injector'][_0x6121f0(0x10b)](r['IExchangeService']);if(!_0x5b6542)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5b6542['importFileToUnitId'](_0x27a9b6,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x500291){const _0x560a40=_0x268bec;return this[_0x560a40(0xf2)](_0x500291);}async[_0x268bec(0xf2)](_0x55a8fc){const _0x2644b1=_0x268bec,_0x3b7c2c=this[_0x2644b1(0xf7)][_0x2644b1(0x10b)](r[_0x2644b1(0xf4)]);if(!_0x3b7c2c)throw new Error(_0x2644b1(0xf6));return _0x3b7c2c[_0x2644b1(0xff)](_0x55a8fc);}async[_0x268bec(0xfb)](_0x2c420f){const _0x4d2c1f=_0x268bec;return this[_0x4d2c1f(0x10c)](_0x2c420f);}async['exportXLSXByUnitIdAsync'](_0x59b53b){const _0x489745=_0x268bec,_0x487671=this[_0x489745(0xf7)]['get'](r[_0x489745(0xf4)]);if(!_0x487671)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x487671['exportXLSXByUnitId'](_0x59b53b);}async[_0x268bec(0xee)](_0x1f950c){return this['exportXLSXBySnapshotAsync'](_0x1f950c);}async['exportXLSXBySnapshotAsync'](_0x464ca7){const _0xdd5417=_0x268bec,_0x589a84=this[_0xdd5417(0xf7)][_0xdd5417(0x10b)](r[_0xdd5417(0xf4)]);if(!_0x589a84)throw new Error(_0xdd5417(0xf6));return _0x589a84[_0xdd5417(0xee)](_0x464ca7);}async[_0x268bec(0xed)](_0x5e654d){return this['importDOCXToUnitIdAsync'](_0x5e654d);}async[_0x268bec(0xec)](_0x3f273c){const _0x152376=_0x268bec,_0x45459c=this[_0x152376(0xf7)][_0x152376(0x10b)](r[_0x152376(0xf4)]);if(!_0x45459c)throw new Error(_0x152376(0xf6));return _0x45459c['importFileToUnitId'](_0x3f273c,o[_0x152376(0x109)]);}async[_0x268bec(0xf3)](_0xd38aca){const _0x58aa4c=_0x268bec;return this[_0x58aa4c(0x107)](_0xd38aca);}async[_0x268bec(0x107)](_0x1b3cf3){const _0x1499fe=_0x268bec,_0x123bf5=this[_0x1499fe(0xf7)]['get'](r[_0x1499fe(0xf4)]);if(!_0x123bf5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x123bf5[_0x1499fe(0xf3)](_0x1b3cf3);}}i['FUniver'][_0x268bec(0xfa)](c);