@univerjs-pro/exchange-client 0.6.4 → 0.6.5-nightly.202503121607

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 _0x154623=_0x59da;(function(_0x281d2e,_0x16482d){const _0x316df7=_0x59da,_0x1fed30=_0x281d2e();while(!![]){try{const _0x57ff3a=-parseInt(_0x316df7(0x1d7))/0x1*(parseInt(_0x316df7(0x1b8))/0x2)+-parseInt(_0x316df7(0x1bf))/0x3*(-parseInt(_0x316df7(0x1d1))/0x4)+-parseInt(_0x316df7(0x1b9))/0x5+parseInt(_0x316df7(0x1ce))/0x6+-parseInt(_0x316df7(0x1c9))/0x7+-parseInt(_0x316df7(0x1d3))/0x8+parseInt(_0x316df7(0x1d4))/0x9*(parseInt(_0x316df7(0x1c5))/0xa);if(_0x57ff3a===_0x16482d)break;else _0x1fed30['push'](_0x1fed30['shift']());}catch(_0x4916e9){_0x1fed30['push'](_0x1fed30['shift']());}}}(_0x5785,0x34e25));const r=require(_0x154623(0x1c0)),i=require(_0x154623(0x1be));var o=(_0x190e4b=>(_0x190e4b[_0x190e4b[_0x154623(0x1c3)]=0x0]=_0x154623(0x1c3),_0x190e4b[_0x190e4b[_0x154623(0x1bb)]=0x1]=_0x154623(0x1bb),_0x190e4b[_0x190e4b['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x190e4b[_0x190e4b[_0x154623(0x1cb)]=0x3]=_0x154623(0x1cb),_0x190e4b[_0x190e4b[_0x154623(0x1b7)]=0x4]=_0x154623(0x1b7),_0x190e4b[_0x190e4b[_0x154623(0x1c2)]=-0x1]=_0x154623(0x1c2),_0x190e4b))(o||{});class c extends i['FUniver']{async[_0x154623(0x1c8)](_0x4a050d){const _0xb98b52=_0x154623;return this[_0xb98b52(0x1c6)](_0x4a050d);}async[_0x154623(0x1c6)](_0x38a6be){const _0x393a96=_0x154623,_0x33da47=this[_0x393a96(0x1ca)][_0x393a96(0x1bc)](r[_0x393a96(0x1bd)]);if(!_0x33da47)throw new Error(_0x393a96(0x1d0));return _0x33da47['importFileToUnitId'](_0x38a6be,o[_0x393a96(0x1c1)]);}async['importXLSXToSnapshot'](_0x46768c){const _0x36b81b=_0x154623;return this[_0x36b81b(0x1ba)](_0x46768c);}async[_0x154623(0x1ba)](_0x62b61b){const _0x108787=_0x154623,_0x5d54dd=this[_0x108787(0x1ca)][_0x108787(0x1bc)](r['IExchangeService']);if(!_0x5d54dd)throw new Error(_0x108787(0x1d0));return _0x5d54dd['importXLSXToSnapshot'](_0x62b61b);}async[_0x154623(0x1cd)](_0x224e52){const _0x2198ee=_0x154623;return this[_0x2198ee(0x1cf)](_0x224e52);}async[_0x154623(0x1cf)](_0x42c958){const _0x1c46a4=_0x154623,_0x15e19b=this[_0x1c46a4(0x1ca)][_0x1c46a4(0x1bc)](r[_0x1c46a4(0x1bd)]);if(!_0x15e19b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x15e19b[_0x1c46a4(0x1cd)](_0x42c958);}async[_0x154623(0x1b6)](_0x499c07){return this['exportXLSXBySnapshotAsync'](_0x499c07);}async[_0x154623(0x1c7)](_0x1dd17e){const _0x4a83cc=_0x154623,_0xcf1a05=this[_0x4a83cc(0x1ca)]['get'](r['IExchangeService']);if(!_0xcf1a05)throw new Error(_0x4a83cc(0x1d0));return _0xcf1a05['exportXLSXBySnapshot'](_0x1dd17e);}async[_0x154623(0x1d5)](_0x153892){const _0x3b93ff=_0x154623;return this[_0x3b93ff(0x1d6)](_0x153892);}async[_0x154623(0x1d6)](_0x41ed82){const _0x279b82=_0x154623,_0x408a1d=this[_0x279b82(0x1ca)][_0x279b82(0x1bc)](r['IExchangeService']);if(!_0x408a1d)throw new Error(_0x279b82(0x1d0));return _0x408a1d[_0x279b82(0x1c4)](_0x41ed82,o[_0x279b82(0x1bb)]);}async[_0x154623(0x1d2)](_0x5ddb50){const _0x558af2=_0x154623;return this[_0x558af2(0x1cc)](_0x5ddb50);}async[_0x154623(0x1cc)](_0x29ef93){const _0x3c552d=_0x154623,_0x170772=this[_0x3c552d(0x1ca)][_0x3c552d(0x1bc)](r[_0x3c552d(0x1bd)]);if(!_0x170772)throw new Error(_0x3c552d(0x1d0));return _0x170772[_0x3c552d(0x1d2)](_0x29ef93);}}function _0x5785(){const _0x2acc85=['1526098bofZiz','_injector','UNIVER_SLIDE','importDOCXToSnapshotAsync','exportXLSXByUnitId','1241832FDaqaL','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','81460FEFnEc','importDOCXToSnapshot','223776Ufgdyy','9IYIBDe','importDOCXToUnitId','importDOCXToUnitIdAsync','4odqIpU','exportXLSXBySnapshot','UNIVER_PROJECT','90932Lxdbwp','144310QHMXsJ','importXLSXToSnapshotAsync','UNIVER_DOC','get','IExchangeService','@univerjs/core/facade','60gCEMDB','@univerjs-pro/exchange-client','UNIVER_SHEET','UNRECOGNIZED','UNIVER_UNKNOWN','importFileToUnitId','590530JAojts','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','importXLSXToUnitId'];_0x5785=function(){return _0x2acc85;};return _0x5785();}function _0x59da(_0x2c8334,_0x25f939){const _0x578573=_0x5785();return _0x59da=function(_0x59da9b,_0x38afeb){_0x59da9b=_0x59da9b-0x1b6;let _0x4c2881=_0x578573[_0x59da9b];return _0x4c2881;},_0x59da(_0x2c8334,_0x25f939);}i['FUniver']['extend'](c);
1
+ 'use strict';const _0x4be33e=_0xb3ef;function _0xb3ef(_0x398b47,_0x459bcb){const _0xc99f56=_0xc99f();return _0xb3ef=function(_0xb3ef1c,_0x532d10){_0xb3ef1c=_0xb3ef1c-0x78;let _0x1499bc=_0xc99f56[_0xb3ef1c];return _0x1499bc;},_0xb3ef(_0x398b47,_0x459bcb);}(function(_0x5047b2,_0x25b196){const _0xbd865e=_0xb3ef,_0xdd19be=_0x5047b2();while(!![]){try{const _0x57a61f=-parseInt(_0xbd865e(0x81))/0x1*(-parseInt(_0xbd865e(0x7b))/0x2)+-parseInt(_0xbd865e(0x96))/0x3+-parseInt(_0xbd865e(0x78))/0x4+-parseInt(_0xbd865e(0x8f))/0x5*(parseInt(_0xbd865e(0x95))/0x6)+parseInt(_0xbd865e(0x90))/0x7*(parseInt(_0xbd865e(0x85))/0x8)+-parseInt(_0xbd865e(0x8c))/0x9*(parseInt(_0xbd865e(0x92))/0xa)+parseInt(_0xbd865e(0x7e))/0xb;if(_0x57a61f===_0x25b196)break;else _0xdd19be['push'](_0xdd19be['shift']());}catch(_0x321aea){_0xdd19be['push'](_0xdd19be['shift']());}}}(_0xc99f,0x66542));const r=require(_0x4be33e(0x98)),i=require(_0x4be33e(0x93));var o=(_0x128d37=>(_0x128d37[_0x128d37[_0x4be33e(0x86)]=0x0]=_0x4be33e(0x86),_0x128d37[_0x128d37['UNIVER_DOC']=0x1]=_0x4be33e(0x7c),_0x128d37[_0x128d37[_0x4be33e(0x84)]=0x2]=_0x4be33e(0x84),_0x128d37[_0x128d37[_0x4be33e(0x8d)]=0x3]='UNIVER_SLIDE',_0x128d37[_0x128d37[_0x4be33e(0x87)]=0x4]='UNIVER_PROJECT',_0x128d37[_0x128d37['UNRECOGNIZED']=-0x1]=_0x4be33e(0x91),_0x128d37))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x1107bc){const _0x53ea47=_0x4be33e;return this[_0x53ea47(0x8b)](_0x1107bc);}async[_0x4be33e(0x8b)](_0x5dda3d){const _0x21dcb4=_0x4be33e,_0x1912f1=this[_0x21dcb4(0x88)][_0x21dcb4(0x82)](r[_0x21dcb4(0x7d)]);if(!_0x1912f1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1912f1['importFileToUnitId'](_0x5dda3d,o[_0x21dcb4(0x84)]);}async['importXLSXToSnapshot'](_0x4d0e83){const _0x2d6774=_0x4be33e;return this[_0x2d6774(0x7f)](_0x4d0e83);}async[_0x4be33e(0x7f)](_0x20c4a1){const _0x523f15=_0x4be33e,_0x5682c9=this[_0x523f15(0x88)][_0x523f15(0x82)](r[_0x523f15(0x7d)]);if(!_0x5682c9)throw new Error(_0x523f15(0x9a));return _0x5682c9[_0x523f15(0x7a)](_0x20c4a1);}async[_0x4be33e(0x80)](_0xf9d147){const _0x2c89d6=_0x4be33e;return this[_0x2c89d6(0x8a)](_0xf9d147);}async[_0x4be33e(0x8a)](_0x42a0fa){const _0x5901c0=_0x4be33e,_0x5eb0d2=this['_injector']['get'](r[_0x5901c0(0x7d)]);if(!_0x5eb0d2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5eb0d2['exportXLSXByUnitId'](_0x42a0fa);}async[_0x4be33e(0x79)](_0x26e9a4){return this['exportXLSXBySnapshotAsync'](_0x26e9a4);}async[_0x4be33e(0x9c)](_0x37e227){const _0xcbea3f=_0x4be33e,_0x573177=this[_0xcbea3f(0x88)][_0xcbea3f(0x82)](r[_0xcbea3f(0x7d)]);if(!_0x573177)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x573177[_0xcbea3f(0x79)](_0x37e227);}async[_0x4be33e(0x89)](_0xdbca88){const _0x6d078b=_0x4be33e;return this[_0x6d078b(0x99)](_0xdbca88);}async[_0x4be33e(0x99)](_0x154d92){const _0xb478bb=_0x4be33e,_0x4d4664=this[_0xb478bb(0x88)][_0xb478bb(0x82)](r['IExchangeService']);if(!_0x4d4664)throw new Error(_0xb478bb(0x9a));return _0x4d4664[_0xb478bb(0x83)](_0x154d92,o[_0xb478bb(0x7c)]);}async[_0x4be33e(0x97)](_0x461796){const _0x73ab05=_0x4be33e;return this[_0x73ab05(0x94)](_0x461796);}async[_0x4be33e(0x94)](_0x56f46d){const _0xd483cd=_0x4be33e,_0x1c97fe=this[_0xd483cd(0x88)][_0xd483cd(0x82)](r['IExchangeService']);if(!_0x1c97fe)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1c97fe[_0xd483cd(0x97)](_0x56f46d);}}i[_0x4be33e(0x8e)][_0x4be33e(0x9b)](c);function _0xc99f(){const _0x3d6449=['get','importFileToUnitId','UNIVER_SHEET','357032HGbOzi','UNIVER_UNKNOWN','UNIVER_PROJECT','_injector','importDOCXToUnitId','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','9126KVzvlX','UNIVER_SLIDE','FUniver','910LOkWyO','105rWQUTZ','UNRECOGNIZED','4540BgupER','@univerjs/core/facade','importDOCXToSnapshotAsync','8772pLmrfD','1361028lbhpxE','importDOCXToSnapshot','@univerjs-pro/exchange-client','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','extend','exportXLSXBySnapshotAsync','116012lxrcZH','exportXLSXBySnapshot','importXLSXToSnapshot','4JLMcrY','UNIVER_DOC','IExchangeService','1629694yENMCJ','importXLSXToSnapshotAsync','exportXLSXByUnitId','405334jassso'];_0xc99f=function(){return _0x3d6449;};return _0xc99f();}