@univerjs-pro/exchange-client 0.6.9-nightly.202504041607 → 0.6.9-nightly.202504051606

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 _0x1153c3=_0x359a;function _0x359a(_0x164c91,_0x245780){const _0x4256db=_0x4256();return _0x359a=function(_0x359aa3,_0x12c514){_0x359aa3=_0x359aa3-0x171;let _0x35a40b=_0x4256db[_0x359aa3];return _0x35a40b;},_0x359a(_0x164c91,_0x245780);}function _0x4256(){const _0x505610=['extend','@univerjs-pro/exchange-client','60nIDPaN','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','408eodOum','2281804NaWQzw','importDOCXToUnitId','importXLSXToSnapshot','importFileToUnitId','1560160bSlGRf','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','importXLSXToUnitId','@univerjs/core/facade','175860vOmklu','importXLSXToSnapshotAsync','IExchangeService','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN','126576uVaCnz','UNIVER_SHEET','1407720MJBmgM','exportXLSXByUnitId','importDOCXToSnapshot','_injector','5778AmHWPW','UNIVER_PROJECT','importDOCXToSnapshotAsync','493897RnikTJ','UNIVER_SLIDE','UNRECOGNIZED','get','exportXLSXBySnapshot','FUniver'];_0x4256=function(){return _0x505610;};return _0x4256();}(function(_0x51c39a,_0x31a0e9){const _0x3b82f6=_0x359a,_0x53d4e8=_0x51c39a();while(!![]){try{const _0x2807b8=parseInt(_0x3b82f6(0x179))/0x1+-parseInt(_0x3b82f6(0x193))/0x2+-parseInt(_0x3b82f6(0x172))/0x3+parseInt(_0x3b82f6(0x189))/0x4+-parseInt(_0x3b82f6(0x181))/0x5*(parseInt(_0x3b82f6(0x18e))/0x6)+parseInt(_0x3b82f6(0x185))/0x7+parseInt(_0x3b82f6(0x184))/0x8*(-parseInt(_0x3b82f6(0x176))/0x9);if(_0x2807b8===_0x31a0e9)break;else _0x53d4e8['push'](_0x53d4e8['shift']());}catch(_0x25b04d){_0x53d4e8['push'](_0x53d4e8['shift']());}}}(_0x4256,0x47837));const r=require(_0x1153c3(0x180)),i=require(_0x1153c3(0x18d));var o=(_0x33a1d6=>(_0x33a1d6[_0x33a1d6[_0x1153c3(0x192)]=0x0]=_0x1153c3(0x192),_0x33a1d6[_0x33a1d6[_0x1153c3(0x183)]=0x1]='UNIVER_DOC',_0x33a1d6[_0x33a1d6[_0x1153c3(0x171)]=0x2]=_0x1153c3(0x171),_0x33a1d6[_0x33a1d6[_0x1153c3(0x17a)]=0x3]='UNIVER_SLIDE',_0x33a1d6[_0x33a1d6['UNIVER_PROJECT']=0x4]=_0x1153c3(0x177),_0x33a1d6[_0x33a1d6[_0x1153c3(0x17b)]=-0x1]=_0x1153c3(0x17b),_0x33a1d6))(o||{});class c extends i[_0x1153c3(0x17e)]{async[_0x1153c3(0x18c)](_0x3ec5eb){return this['importXLSXToUnitIdAsync'](_0x3ec5eb);}async[_0x1153c3(0x18b)](_0x4b514f){const _0x23ee9a=_0x1153c3,_0x34adb5=this[_0x23ee9a(0x175)][_0x23ee9a(0x17c)](r['IExchangeService']);if(!_0x34adb5)throw new Error(_0x23ee9a(0x182));return _0x34adb5[_0x23ee9a(0x188)](_0x4b514f,o[_0x23ee9a(0x171)]);}async[_0x1153c3(0x187)](_0x28b344){const _0x4155b9=_0x1153c3;return this[_0x4155b9(0x18f)](_0x28b344);}async[_0x1153c3(0x18f)](_0x1f247d){const _0x3d67cf=_0x1153c3,_0x5778df=this[_0x3d67cf(0x175)][_0x3d67cf(0x17c)](r[_0x3d67cf(0x190)]);if(!_0x5778df)throw new Error(_0x3d67cf(0x182));return _0x5778df[_0x3d67cf(0x187)](_0x1f247d);}async[_0x1153c3(0x173)](_0x5a0e8e){const _0x3cd291=_0x1153c3;return this[_0x3cd291(0x18a)](_0x5a0e8e);}async[_0x1153c3(0x18a)](_0x18da39){const _0x4e9429=_0x1153c3,_0xa26809=this[_0x4e9429(0x175)][_0x4e9429(0x17c)](r[_0x4e9429(0x190)]);if(!_0xa26809)throw new Error(_0x4e9429(0x182));return _0xa26809['exportXLSXByUnitId'](_0x18da39);}async[_0x1153c3(0x17d)](_0x37db80){const _0xfcdcdb=_0x1153c3;return this[_0xfcdcdb(0x191)](_0x37db80);}async[_0x1153c3(0x191)](_0x152b7e){const _0xd0a101=_0x1153c3,_0x170710=this[_0xd0a101(0x175)][_0xd0a101(0x17c)](r[_0xd0a101(0x190)]);if(!_0x170710)throw new Error(_0xd0a101(0x182));return _0x170710['exportXLSXBySnapshot'](_0x152b7e);}async[_0x1153c3(0x186)](_0x4286c2){return this['importDOCXToUnitIdAsync'](_0x4286c2);}async['importDOCXToUnitIdAsync'](_0x36a040){const _0x6f3012=_0x1153c3,_0x2b2737=this[_0x6f3012(0x175)][_0x6f3012(0x17c)](r['IExchangeService']);if(!_0x2b2737)throw new Error(_0x6f3012(0x182));return _0x2b2737['importFileToUnitId'](_0x36a040,o[_0x6f3012(0x183)]);}async[_0x1153c3(0x174)](_0x249655){const _0x396746=_0x1153c3;return this[_0x396746(0x178)](_0x249655);}async[_0x1153c3(0x178)](_0x29af73){const _0x256d44=_0x1153c3,_0x5951a7=this['_injector'][_0x256d44(0x17c)](r[_0x256d44(0x190)]);if(!_0x5951a7)throw new Error(_0x256d44(0x182));return _0x5951a7['importDOCXToSnapshot'](_0x29af73);}}i[_0x1153c3(0x17e)][_0x1153c3(0x17f)](c);
1
+ 'use strict';function _0x388c(_0x3823c3,_0x173680){const _0x4af786=_0x4af7();return _0x388c=function(_0x388c3e,_0x1a4c37){_0x388c3e=_0x388c3e-0x159;let _0x5408b6=_0x4af786[_0x388c3e];return _0x5408b6;},_0x388c(_0x3823c3,_0x173680);}const _0x407549=_0x388c;(function(_0x34cfd6,_0xbd4902){const _0x3f3972=_0x388c,_0x4d7a6a=_0x34cfd6();while(!![]){try{const _0x27eda=parseInt(_0x3f3972(0x174))/0x1*(-parseInt(_0x3f3972(0x167))/0x2)+parseInt(_0x3f3972(0x17b))/0x3+-parseInt(_0x3f3972(0x17a))/0x4+parseInt(_0x3f3972(0x160))/0x5*(parseInt(_0x3f3972(0x15b))/0x6)+parseInt(_0x3f3972(0x15c))/0x7*(parseInt(_0x3f3972(0x16b))/0x8)+parseInt(_0x3f3972(0x171))/0x9*(-parseInt(_0x3f3972(0x15f))/0xa)+-parseInt(_0x3f3972(0x16e))/0xb*(-parseInt(_0x3f3972(0x162))/0xc);if(_0x27eda===_0xbd4902)break;else _0x4d7a6a['push'](_0x4d7a6a['shift']());}catch(_0x5741e9){_0x4d7a6a['push'](_0x4d7a6a['shift']());}}}(_0x4af7,0x621b9));const r=require(_0x407549(0x179)),i=require(_0x407549(0x165));function _0x4af7(){const _0x4f2b1b=['importXLSXToUnitId','77583QzzAsU','get','IExchangeService','95454GSZwAM','UNIVER_UNKNOWN','exportXLSXBySnapshotAsync','1ORYjjY','importDOCXToUnitIdAsync','exportXLSXByUnitId','_injector','importXLSXToSnapshot','@univerjs-pro/exchange-client','1106644QbGwpV','222840ndZUNV','FUniver','UNIVER_SHEET','importDOCXToSnapshotAsync','UNIVER_PROJECT','importXLSXToSnapshotAsync','6EgxHAy','63WIPWvY','UNRECOGNIZED','importDOCXToUnitId','720GZLxka','3917665RnPSxl','importFileToUnitId','1440bdrVLL','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs/core/facade','importXLSXToUnitIdAsync','964396vgIQDD','exportXLSXByUnitIdAsync','UNIVER_SLIDE','exportXLSXBySnapshot','195704zwZoCK','UNIVER_DOC'];_0x4af7=function(){return _0x4f2b1b;};return _0x4af7();}var o=(_0x296ce8=>(_0x296ce8[_0x296ce8[_0x407549(0x172)]=0x0]=_0x407549(0x172),_0x296ce8[_0x296ce8[_0x407549(0x16c)]=0x1]='UNIVER_DOC',_0x296ce8[_0x296ce8[_0x407549(0x17d)]=0x2]=_0x407549(0x17d),_0x296ce8[_0x296ce8['UNIVER_SLIDE']=0x3]=_0x407549(0x169),_0x296ce8[_0x296ce8[_0x407549(0x159)]=0x4]=_0x407549(0x159),_0x296ce8[_0x296ce8[_0x407549(0x15d)]=-0x1]=_0x407549(0x15d),_0x296ce8))(o||{});class c extends i[_0x407549(0x17c)]{async[_0x407549(0x16d)](_0x1f8a09){const _0x20eedf=_0x407549;return this[_0x20eedf(0x166)](_0x1f8a09);}async[_0x407549(0x166)](_0x4a0d55){const _0x304e58=_0x407549,_0x3358a3=this[_0x304e58(0x177)]['get'](r['IExchangeService']);if(!_0x3358a3)throw new Error(_0x304e58(0x164));return _0x3358a3[_0x304e58(0x161)](_0x4a0d55,o['UNIVER_SHEET']);}async[_0x407549(0x178)](_0x5e8b36){const _0x342a95=_0x407549;return this[_0x342a95(0x15a)](_0x5e8b36);}async[_0x407549(0x15a)](_0x162451){const _0x1efced=_0x407549,_0x1787b2=this[_0x1efced(0x177)][_0x1efced(0x16f)](r[_0x1efced(0x170)]);if(!_0x1787b2)throw new Error(_0x1efced(0x164));return _0x1787b2['importXLSXToSnapshot'](_0x162451);}async[_0x407549(0x176)](_0x4caa4f){const _0x3cde6b=_0x407549;return this[_0x3cde6b(0x168)](_0x4caa4f);}async['exportXLSXByUnitIdAsync'](_0x522e71){const _0xe3274e=_0x407549,_0x2f2973=this[_0xe3274e(0x177)]['get'](r[_0xe3274e(0x170)]);if(!_0x2f2973)throw new Error(_0xe3274e(0x164));return _0x2f2973[_0xe3274e(0x176)](_0x522e71);}async[_0x407549(0x16a)](_0x5090d3){const _0x2fcb6d=_0x407549;return this[_0x2fcb6d(0x173)](_0x5090d3);}async[_0x407549(0x173)](_0x125587){const _0x528bfc=_0x407549,_0x2b2832=this[_0x528bfc(0x177)][_0x528bfc(0x16f)](r[_0x528bfc(0x170)]);if(!_0x2b2832)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2b2832['exportXLSXBySnapshot'](_0x125587);}async[_0x407549(0x15e)](_0x3e712c){const _0x1f16a1=_0x407549;return this[_0x1f16a1(0x175)](_0x3e712c);}async[_0x407549(0x175)](_0x186dc4){const _0x400f82=_0x407549,_0x5a958a=this[_0x400f82(0x177)][_0x400f82(0x16f)](r[_0x400f82(0x170)]);if(!_0x5a958a)throw new Error(_0x400f82(0x164));return _0x5a958a[_0x400f82(0x161)](_0x186dc4,o[_0x400f82(0x16c)]);}async[_0x407549(0x163)](_0x1e3769){const _0x4a7080=_0x407549;return this[_0x4a7080(0x17e)](_0x1e3769);}async[_0x407549(0x17e)](_0x11575b){const _0x576e5b=_0x407549,_0x2346a7=this[_0x576e5b(0x177)][_0x576e5b(0x16f)](r[_0x576e5b(0x170)]);if(!_0x2346a7)throw new Error(_0x576e5b(0x164));return _0x2346a7[_0x576e5b(0x163)](_0x11575b);}}i[_0x407549(0x17c)]['extend'](c);