@univerjs-pro/exchange-client 0.6.10-experimental.20250419-1304630 → 0.6.10-experimental.20250421-e4eb9bc

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 _0x5382e0=_0x47a0;(function(_0x24251d,_0x36e265){const _0x2ce86f=_0x47a0,_0x2d12f8=_0x24251d();while(!![]){try{const _0x36b672=-parseInt(_0x2ce86f(0x149))/0x1*(-parseInt(_0x2ce86f(0x139))/0x2)+parseInt(_0x2ce86f(0x141))/0x3*(parseInt(_0x2ce86f(0x13c))/0x4)+parseInt(_0x2ce86f(0x12b))/0x5*(parseInt(_0x2ce86f(0x144))/0x6)+-parseInt(_0x2ce86f(0x13d))/0x7*(-parseInt(_0x2ce86f(0x142))/0x8)+-parseInt(_0x2ce86f(0x131))/0x9*(parseInt(_0x2ce86f(0x137))/0xa)+-parseInt(_0x2ce86f(0x146))/0xb+parseInt(_0x2ce86f(0x12e))/0xc*(parseInt(_0x2ce86f(0x14f))/0xd);if(_0x36b672===_0x36e265)break;else _0x2d12f8['push'](_0x2d12f8['shift']());}catch(_0x33e876){_0x2d12f8['push'](_0x2d12f8['shift']());}}}(_0x1f6b,0x27102));function _0x1f6b(){const _0xfb0ac5=['UNIVER_UNKNOWN','UNRECOGNIZED','741sxPZhF','importDOCXToSnapshotAsync','UNIVER_PROJECT','49865ilQhkt','importFileToUnitId','UNIVER_SLIDE','708eOMLCo','exportXLSXBySnapshotAsync','exportXLSXByUnitId','126NNjOQI','UNIVER_DOC','UNIVER_SHEET','importXLSXToUnitId','importDOCXToUnitIdAsync','extend','206480NCfYPh','The\x20exchange\x20service\x20is\x20not\x20available','2570XQBejI','importDOCXToSnapshot','importXLSXToSnapshotAsync','908jfmjIv','4228PKeSli','FUniver','@univerjs-pro/exchange-client','IExchangeService','141gbGfxS','1336fbrEsq','importXLSXToUnitIdAsync','108BZYCxb','importXLSXToSnapshot','546205PyQpat','_injector','exportXLSXByUnitIdAsync','159AniYEg','get','exportXLSXBySnapshot','importDOCXToUnitId'];_0x1f6b=function(){return _0xfb0ac5;};return _0x1f6b();}function _0x47a0(_0x2ee007,_0x1e4040){const _0x1f6b6e=_0x1f6b();return _0x47a0=function(_0x47a00a,_0x10915a){_0x47a00a=_0x47a00a-0x129;let _0x3de32a=_0x1f6b6e[_0x47a00a];return _0x3de32a;},_0x47a0(_0x2ee007,_0x1e4040);}const r=require(_0x5382e0(0x13f)),i=require('@univerjs/core/facade');var o=(_0x5662a1=>(_0x5662a1[_0x5662a1[_0x5382e0(0x14d)]=0x0]=_0x5382e0(0x14d),_0x5662a1[_0x5662a1['UNIVER_DOC']=0x1]=_0x5382e0(0x132),_0x5662a1[_0x5662a1[_0x5382e0(0x133)]=0x2]='UNIVER_SHEET',_0x5662a1[_0x5662a1[_0x5382e0(0x12d)]=0x3]=_0x5382e0(0x12d),_0x5662a1[_0x5662a1['UNIVER_PROJECT']=0x4]=_0x5382e0(0x12a),_0x5662a1[_0x5662a1[_0x5382e0(0x14e)]=-0x1]=_0x5382e0(0x14e),_0x5662a1))(o||{});class c extends i[_0x5382e0(0x13e)]{async[_0x5382e0(0x134)](_0x4761e7){const _0x312754=_0x5382e0;return this[_0x312754(0x143)](_0x4761e7);}async['importXLSXToUnitIdAsync'](_0x485b4f){const _0x5a4f65=_0x5382e0,_0x294e99=this[_0x5a4f65(0x147)]['get'](r[_0x5a4f65(0x140)]);if(!_0x294e99)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x294e99['importFileToUnitId'](_0x485b4f,o[_0x5a4f65(0x133)]);}async['importXLSXToSnapshot'](_0x480320){const _0x794112=_0x5382e0;return this[_0x794112(0x13b)](_0x480320);}async['importXLSXToSnapshotAsync'](_0x1bf2de){const _0x1276fe=_0x5382e0,_0x2cac0c=this[_0x1276fe(0x147)][_0x1276fe(0x14a)](r[_0x1276fe(0x140)]);if(!_0x2cac0c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2cac0c[_0x1276fe(0x145)](_0x1bf2de);}async[_0x5382e0(0x130)](_0x462584){return this['exportXLSXByUnitIdAsync'](_0x462584);}async[_0x5382e0(0x148)](_0x41a1c0){const _0x5d1fec=_0x5382e0,_0x237d4e=this[_0x5d1fec(0x147)]['get'](r['IExchangeService']);if(!_0x237d4e)throw new Error(_0x5d1fec(0x138));return _0x237d4e[_0x5d1fec(0x130)](_0x41a1c0);}async[_0x5382e0(0x14b)](_0x1dc90d){const _0x55f08b=_0x5382e0;return this[_0x55f08b(0x12f)](_0x1dc90d);}async[_0x5382e0(0x12f)](_0x1cea5d){const _0x4413d4=_0x5382e0,_0x39a3a5=this[_0x4413d4(0x147)][_0x4413d4(0x14a)](r[_0x4413d4(0x140)]);if(!_0x39a3a5)throw new Error(_0x4413d4(0x138));return _0x39a3a5[_0x4413d4(0x14b)](_0x1cea5d);}async[_0x5382e0(0x14c)](_0x510f9e){const _0x18ea13=_0x5382e0;return this[_0x18ea13(0x135)](_0x510f9e);}async[_0x5382e0(0x135)](_0xb5a546){const _0xf6880a=_0x5382e0,_0x44ecb3=this[_0xf6880a(0x147)][_0xf6880a(0x14a)](r[_0xf6880a(0x140)]);if(!_0x44ecb3)throw new Error(_0xf6880a(0x138));return _0x44ecb3[_0xf6880a(0x12c)](_0xb5a546,o['UNIVER_DOC']);}async[_0x5382e0(0x13a)](_0x544faa){const _0x2f36db=_0x5382e0;return this[_0x2f36db(0x129)](_0x544faa);}async[_0x5382e0(0x129)](_0x515a28){const _0x327e96=_0x5382e0,_0x594afd=this[_0x327e96(0x147)][_0x327e96(0x14a)](r[_0x327e96(0x140)]);if(!_0x594afd)throw new Error(_0x327e96(0x138));return _0x594afd[_0x327e96(0x13a)](_0x515a28);}}i[_0x5382e0(0x13e)][_0x5382e0(0x136)](c);
1
+ 'use strict';const _0x58af2c=_0x5c37;(function(_0x42798e,_0x17d550){const _0x54e1ea=_0x5c37,_0x1a48ba=_0x42798e();while(!![]){try{const _0x4796de=parseInt(_0x54e1ea(0x180))/0x1+parseInt(_0x54e1ea(0x16f))/0x2*(-parseInt(_0x54e1ea(0x17c))/0x3)+parseInt(_0x54e1ea(0x179))/0x4*(-parseInt(_0x54e1ea(0x18a))/0x5)+-parseInt(_0x54e1ea(0x183))/0x6+parseInt(_0x54e1ea(0x178))/0x7*(parseInt(_0x54e1ea(0x17d))/0x8)+-parseInt(_0x54e1ea(0x182))/0x9+-parseInt(_0x54e1ea(0x173))/0xa*(-parseInt(_0x54e1ea(0x18f))/0xb);if(_0x4796de===_0x17d550)break;else _0x1a48ba['push'](_0x1a48ba['shift']());}catch(_0x6eb351){_0x1a48ba['push'](_0x1a48ba['shift']());}}}(_0xcbdd,0x7229e));function _0x5c37(_0x38c406,_0x5a2747){const _0xcbddf5=_0xcbdd();return _0x5c37=function(_0x5c37fb,_0x48d8f7){_0x5c37fb=_0x5c37fb-0x16c;let _0x2a19e7=_0xcbddf5[_0x5c37fb];return _0x2a19e7;},_0x5c37(_0x38c406,_0x5a2747);}const r=require(_0x58af2c(0x17f)),i=require(_0x58af2c(0x171));var o=(_0x10a062=>(_0x10a062[_0x10a062[_0x58af2c(0x18d)]=0x0]=_0x58af2c(0x18d),_0x10a062[_0x10a062[_0x58af2c(0x17a)]=0x1]=_0x58af2c(0x17a),_0x10a062[_0x10a062[_0x58af2c(0x174)]=0x2]='UNIVER_SHEET',_0x10a062[_0x10a062[_0x58af2c(0x17e)]=0x3]=_0x58af2c(0x17e),_0x10a062[_0x10a062[_0x58af2c(0x186)]=0x4]=_0x58af2c(0x186),_0x10a062[_0x10a062[_0x58af2c(0x187)]=-0x1]=_0x58af2c(0x187),_0x10a062))(o||{});function _0xcbdd(){const _0x180828=['importDOCXToSnapshot','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','1400uMOQJM','28bUEPwt','UNIVER_DOC','exportXLSXByUnitId','351489TPPXsM','1552pcOTlQ','UNIVER_SLIDE','@univerjs-pro/exchange-client','345376nXKCeg','exportXLSXBySnapshotAsync','3814866wJkPua','3813756iNhLBD','_injector','importXLSXToSnapshot','UNIVER_PROJECT','UNRECOGNIZED','importXLSXToSnapshotAsync','exportXLSXBySnapshot','203185AZAQjd','FUniver','exportXLSXByUnitIdAsync','UNIVER_UNKNOWN','importDOCXToSnapshotAsync','9460qsZtTs','importDOCXToUnitIdAsync','get','IExchangeService','2EBUWwL','importXLSXToUnitIdAsync','@univerjs/core/facade','importXLSXToUnitId','17960TVdxCc','UNIVER_SHEET'];_0xcbdd=function(){return _0x180828;};return _0xcbdd();}class c extends i[_0x58af2c(0x18b)]{async[_0x58af2c(0x172)](_0x37fdf5){const _0x418897=_0x58af2c;return this[_0x418897(0x170)](_0x37fdf5);}async[_0x58af2c(0x170)](_0x30ca65){const _0x581dda=_0x58af2c,_0x46eea3=this[_0x581dda(0x184)][_0x581dda(0x16d)](r[_0x581dda(0x16e)]);if(!_0x46eea3)throw new Error(_0x581dda(0x177));return _0x46eea3[_0x581dda(0x176)](_0x30ca65,o[_0x581dda(0x174)]);}async[_0x58af2c(0x185)](_0x35453e){const _0x19a99e=_0x58af2c;return this[_0x19a99e(0x188)](_0x35453e);}async[_0x58af2c(0x188)](_0xe3c54f){const _0x226aed=_0x58af2c,_0x393edf=this[_0x226aed(0x184)][_0x226aed(0x16d)](r['IExchangeService']);if(!_0x393edf)throw new Error(_0x226aed(0x177));return _0x393edf[_0x226aed(0x185)](_0xe3c54f);}async[_0x58af2c(0x17b)](_0x38f315){const _0x5d834f=_0x58af2c;return this[_0x5d834f(0x18c)](_0x38f315);}async['exportXLSXByUnitIdAsync'](_0x577c89){const _0x2a4556=_0x58af2c,_0x55268b=this[_0x2a4556(0x184)]['get'](r['IExchangeService']);if(!_0x55268b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x55268b['exportXLSXByUnitId'](_0x577c89);}async[_0x58af2c(0x189)](_0x90454e){const _0x5656ac=_0x58af2c;return this[_0x5656ac(0x181)](_0x90454e);}async[_0x58af2c(0x181)](_0x3bbc65){const _0x33072c=_0x58af2c,_0x92b55c=this[_0x33072c(0x184)][_0x33072c(0x16d)](r[_0x33072c(0x16e)]);if(!_0x92b55c)throw new Error(_0x33072c(0x177));return _0x92b55c[_0x33072c(0x189)](_0x3bbc65);}async['importDOCXToUnitId'](_0x18ad15){const _0x55562e=_0x58af2c;return this[_0x55562e(0x16c)](_0x18ad15);}async['importDOCXToUnitIdAsync'](_0x57bbbd){const _0x4ab2e3=_0x58af2c,_0x964dd8=this['_injector'][_0x4ab2e3(0x16d)](r[_0x4ab2e3(0x16e)]);if(!_0x964dd8)throw new Error(_0x4ab2e3(0x177));return _0x964dd8[_0x4ab2e3(0x176)](_0x57bbbd,o[_0x4ab2e3(0x17a)]);}async[_0x58af2c(0x175)](_0x5cb3b7){const _0xbb8884=_0x58af2c;return this[_0xbb8884(0x18e)](_0x5cb3b7);}async[_0x58af2c(0x18e)](_0x2f11a5){const _0x54bce7=_0x58af2c,_0x47b936=this['_injector'][_0x54bce7(0x16d)](r[_0x54bce7(0x16e)]);if(!_0x47b936)throw new Error(_0x54bce7(0x177));return _0x47b936[_0x54bce7(0x175)](_0x2f11a5);}}i[_0x58af2c(0x18b)]['extend'](c);