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

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';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);
1
+ 'use strict';const _0xd2150a=_0x54cd;(function(_0x318fcf,_0x48342e){const _0x37e427=_0x54cd,_0x21cced=_0x318fcf();while(!![]){try{const _0x38bcaa=parseInt(_0x37e427(0x98))/0x1*(-parseInt(_0x37e427(0x9d))/0x2)+-parseInt(_0x37e427(0x88))/0x3*(-parseInt(_0x37e427(0x8e))/0x4)+parseInt(_0x37e427(0x97))/0x5*(parseInt(_0x37e427(0x87))/0x6)+-parseInt(_0x37e427(0x96))/0x7+-parseInt(_0x37e427(0x84))/0x8*(-parseInt(_0x37e427(0x91))/0x9)+parseInt(_0x37e427(0x82))/0xa+-parseInt(_0x37e427(0x89))/0xb*(parseInt(_0x37e427(0x95))/0xc);if(_0x38bcaa===_0x48342e)break;else _0x21cced['push'](_0x21cced['shift']());}catch(_0x29a205){_0x21cced['push'](_0x21cced['shift']());}}}(_0xa2a7,0xe66dd));const r=require(_0xd2150a(0x99)),i=require(_0xd2150a(0xa4));var o=(_0xa3b7fc=>(_0xa3b7fc[_0xa3b7fc[_0xd2150a(0x9f)]=0x0]='UNIVER_UNKNOWN',_0xa3b7fc[_0xa3b7fc[_0xd2150a(0x8a)]=0x1]=_0xd2150a(0x8a),_0xa3b7fc[_0xa3b7fc[_0xd2150a(0x9b)]=0x2]=_0xd2150a(0x9b),_0xa3b7fc[_0xa3b7fc['UNIVER_SLIDE']=0x3]=_0xd2150a(0xa2),_0xa3b7fc[_0xa3b7fc[_0xd2150a(0x8b)]=0x4]=_0xd2150a(0x8b),_0xa3b7fc[_0xa3b7fc['UNRECOGNIZED']=-0x1]=_0xd2150a(0xa5),_0xa3b7fc))(o||{});function _0xa2a7(){const _0x4fce12=['importFileToUnitId','UNIVER_UNKNOWN','_injector','importXLSXToSnapshot','UNIVER_SLIDE','exportXLSXBySnapshot','@univerjs/core/facade','UNRECOGNIZED','FUniver','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','3477710hMpyaD','extend','8TSeMmc','exportXLSXByUnitIdAsync','exportXLSXByUnitId','9009864pzqXQm','4017eVvKAg','242QXbRto','UNIVER_DOC','UNIVER_PROJECT','get','importDOCXToSnapshot','4748NfPdhh','exportXLSXBySnapshotAsync','IExchangeService','3727773NGIVoH','importDOCXToUnitId','importDOCXToUnitIdAsync','importXLSXToUnitId','648252AmqBOF','9158317ipfAtX','5dIIoey','3299fkeeOD','@univerjs-pro/exchange-client','importXLSXToUnitIdAsync','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','250gkaaQP'];_0xa2a7=function(){return _0x4fce12;};return _0xa2a7();}function _0x54cd(_0x1ca81c,_0x24c7f3){const _0xa2a7e8=_0xa2a7();return _0x54cd=function(_0x54cda3,_0x1d0325){_0x54cda3=_0x54cda3-0x81;let _0x44989b=_0xa2a7e8[_0x54cda3];return _0x44989b;},_0x54cd(_0x1ca81c,_0x24c7f3);}class c extends i['FUniver']{async[_0xd2150a(0x94)](_0x888d5e){const _0x11350b=_0xd2150a;return this[_0x11350b(0x9a)](_0x888d5e);}async[_0xd2150a(0x9a)](_0x1465d8){const _0x2788f7=_0xd2150a,_0x7b9822=this[_0x2788f7(0xa0)]['get'](r[_0x2788f7(0x90)]);if(!_0x7b9822)throw new Error(_0x2788f7(0x9c));return _0x7b9822['importFileToUnitId'](_0x1465d8,o['UNIVER_SHEET']);}async[_0xd2150a(0xa1)](_0x2abfbd){const _0x331c18=_0xd2150a;return this[_0x331c18(0x81)](_0x2abfbd);}async['importXLSXToSnapshotAsync'](_0xad2f45){const _0x775e43=_0xd2150a,_0x437458=this[_0x775e43(0xa0)][_0x775e43(0x8c)](r[_0x775e43(0x90)]);if(!_0x437458)throw new Error(_0x775e43(0x9c));return _0x437458['importXLSXToSnapshot'](_0xad2f45);}async[_0xd2150a(0x86)](_0x2f24d4){const _0x141b40=_0xd2150a;return this[_0x141b40(0x85)](_0x2f24d4);}async[_0xd2150a(0x85)](_0x5cef02){const _0x2a1893=_0xd2150a,_0x54147d=this['_injector']['get'](r[_0x2a1893(0x90)]);if(!_0x54147d)throw new Error(_0x2a1893(0x9c));return _0x54147d[_0x2a1893(0x86)](_0x5cef02);}async[_0xd2150a(0xa3)](_0x23c69e){const _0xc6c0e5=_0xd2150a;return this[_0xc6c0e5(0x8f)](_0x23c69e);}async[_0xd2150a(0x8f)](_0x173ad2){const _0x4749c2=_0xd2150a,_0x4c7163=this[_0x4749c2(0xa0)][_0x4749c2(0x8c)](r[_0x4749c2(0x90)]);if(!_0x4c7163)throw new Error(_0x4749c2(0x9c));return _0x4c7163[_0x4749c2(0xa3)](_0x173ad2);}async[_0xd2150a(0x92)](_0x2f463e){const _0xf071e7=_0xd2150a;return this[_0xf071e7(0x93)](_0x2f463e);}async[_0xd2150a(0x93)](_0x448401){const _0xe63f7c=_0xd2150a,_0x154fea=this[_0xe63f7c(0xa0)]['get'](r[_0xe63f7c(0x90)]);if(!_0x154fea)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x154fea[_0xe63f7c(0x9e)](_0x448401,o['UNIVER_DOC']);}async[_0xd2150a(0x8d)](_0xd29640){const _0x3658a=_0xd2150a;return this[_0x3658a(0xa7)](_0xd29640);}async[_0xd2150a(0xa7)](_0x4fb4f7){const _0x242734=_0xd2150a,_0x31e41e=this[_0x242734(0xa0)][_0x242734(0x8c)](r['IExchangeService']);if(!_0x31e41e)throw new Error(_0x242734(0x9c));return _0x31e41e[_0x242734(0x8d)](_0x4fb4f7);}}i[_0xd2150a(0xa6)][_0xd2150a(0x83)](c);