@univerjs-pro/exchange-client 0.9.2-nightly.202507131606 → 0.9.2-nightly.202507141607

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 _0x5315c9=_0x56a6;(function(_0x216076,_0x285b77){const _0x2be8c9=_0x56a6,_0x46e5ab=_0x216076();while(!![]){try{const _0x2224d6=-parseInt(_0x2be8c9(0x18e))/0x1+parseInt(_0x2be8c9(0x19b))/0x2+-parseInt(_0x2be8c9(0x19d))/0x3*(parseInt(_0x2be8c9(0x1aa))/0x4)+parseInt(_0x2be8c9(0x193))/0x5*(-parseInt(_0x2be8c9(0x1af))/0x6)+parseInt(_0x2be8c9(0x18c))/0x7*(parseInt(_0x2be8c9(0x1a9))/0x8)+parseInt(_0x2be8c9(0x18b))/0x9*(-parseInt(_0x2be8c9(0x1a7))/0xa)+parseInt(_0x2be8c9(0x195))/0xb*(parseInt(_0x2be8c9(0x196))/0xc);if(_0x2224d6===_0x285b77)break;else _0x46e5ab['push'](_0x46e5ab['shift']());}catch(_0x19aad9){_0x46e5ab['push'](_0x46e5ab['shift']());}}}(_0x1f31,0x8a668));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x5a5d97=>(_0x5a5d97[_0x5a5d97[_0x5315c9(0x18a)]=0x0]='UNIVER_UNKNOWN',_0x5a5d97[_0x5a5d97[_0x5315c9(0x197)]=0x1]=_0x5315c9(0x197),_0x5a5d97[_0x5a5d97[_0x5315c9(0x1ab)]=0x2]=_0x5315c9(0x1ab),_0x5a5d97[_0x5a5d97[_0x5315c9(0x1a4)]=0x3]=_0x5315c9(0x1a4),_0x5a5d97[_0x5a5d97[_0x5315c9(0x18f)]=0x4]=_0x5315c9(0x18f),_0x5a5d97[_0x5a5d97[_0x5315c9(0x1a2)]=-0x1]=_0x5315c9(0x1a2),_0x5a5d97))(i||{});function _0x1f31(){const _0x4168b3=['14170XnfvJe','IExchangeService','16eecWfN','36sRLSbl','UNIVER_SHEET','exportDOCXBySnapshot','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','23082JGfPNi','importDOCXToSnapshot','UNIVER_UNKNOWN','4923UDBxla','102781Czszuj','importXLSXToSnapshotAsync','1005937MRJgLx','UNIVER_PROJECT','importXLSXToUnitIdAsync','get','FUniver','1405jWaezr','importXLSXToUnitId','79211Yndabz','6156RRXGPZ','UNIVER_DOC','importDOCXToUnitId','exportDOCXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','1238876tSsgVb','exportDOCXByUnitId','304662QQrBjY','importXLSXToSnapshot','importDOCXToSnapshotAsync','exportDOCXByUnitIdAsync','importFileToUnitId','UNRECOGNIZED','_injector','UNIVER_SLIDE','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync'];_0x1f31=function(){return _0x4168b3;};return _0x1f31();}class c extends o[_0x5315c9(0x192)]{async[_0x5315c9(0x194)](_0x3ffefc){return this['importXLSXToUnitIdAsync'](_0x3ffefc);}async[_0x5315c9(0x190)](_0x2c34b9){const _0x3f6762=_0x5315c9,_0xff28e9=this[_0x3f6762(0x1a3)][_0x3f6762(0x191)](r[_0x3f6762(0x1a8)]);if(!_0xff28e9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xff28e9[_0x3f6762(0x1a1)](_0x2c34b9,i[_0x3f6762(0x1ab)]);}async[_0x5315c9(0x19e)](_0x11b630){const _0x452017=_0x5315c9;return this[_0x452017(0x18d)](_0x11b630);}async[_0x5315c9(0x18d)](_0x5e890a){const _0x330cb0=_0x5315c9,_0x51c962=this[_0x330cb0(0x1a3)][_0x330cb0(0x191)](r[_0x330cb0(0x1a8)]);if(!_0x51c962)throw new Error(_0x330cb0(0x19a));return _0x51c962[_0x330cb0(0x19e)](_0x5e890a);}async['exportXLSXByUnitId'](_0x219f4a){const _0x54004f=_0x5315c9;return this[_0x54004f(0x1ae)](_0x219f4a);}async['exportXLSXByUnitIdAsync'](_0x5e2b){const _0x58e19b=_0x5315c9,_0x5ee1b6=this[_0x58e19b(0x1a3)][_0x58e19b(0x191)](r[_0x58e19b(0x1a8)]);if(!_0x5ee1b6)throw new Error(_0x58e19b(0x19a));return _0x5ee1b6['exportXLSXByUnitId'](_0x5e2b);}async[_0x5315c9(0x1ad)](_0x1af355){const _0x571197=_0x5315c9;return this[_0x571197(0x1a5)](_0x1af355);}async[_0x5315c9(0x1a5)](_0x5efda4){const _0x298adc=_0x5315c9,_0x26dfe5=this['_injector'][_0x298adc(0x191)](r[_0x298adc(0x1a8)]);if(!_0x26dfe5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x26dfe5['exportXLSXBySnapshot'](_0x5efda4);}async[_0x5315c9(0x198)](_0x38e68f){return this['importDOCXToUnitIdAsync'](_0x38e68f);}async[_0x5315c9(0x1a6)](_0x2356df){const _0x39f9fb=_0x5315c9,_0x58abd7=this['_injector'][_0x39f9fb(0x191)](r[_0x39f9fb(0x1a8)]);if(!_0x58abd7)throw new Error(_0x39f9fb(0x19a));return _0x58abd7['importFileToUnitId'](_0x2356df,i[_0x39f9fb(0x197)]);}async[_0x5315c9(0x1b0)](_0x1fea2e){return this['importDOCXToSnapshotAsync'](_0x1fea2e);}async[_0x5315c9(0x19f)](_0x2c0730){const _0xca2dfb=_0x5315c9,_0x38957e=this['_injector'][_0xca2dfb(0x191)](r[_0xca2dfb(0x1a8)]);if(!_0x38957e)throw new Error(_0xca2dfb(0x19a));return _0x38957e[_0xca2dfb(0x1b0)](_0x2c0730);}async[_0x5315c9(0x199)](_0x20817a){const _0x299c56=_0x5315c9,_0x5eff07=this[_0x299c56(0x1a3)][_0x299c56(0x191)](r[_0x299c56(0x1a8)]);if(!_0x5eff07)throw new Error(_0x299c56(0x19a));return _0x5eff07[_0x299c56(0x1ac)](_0x20817a);}async[_0x5315c9(0x1a0)](_0xa53249){const _0x429afc=_0x5315c9,_0x3b7bdf=this[_0x429afc(0x1a3)]['get'](r[_0x429afc(0x1a8)]);if(!_0x3b7bdf)throw new Error(_0x429afc(0x19a));return _0x3b7bdf[_0x429afc(0x19c)](_0xa53249);}}function _0x56a6(_0x286500,_0x396398){const _0x1f310c=_0x1f31();return _0x56a6=function(_0x56a6de,_0x3acfec){_0x56a6de=_0x56a6de-0x18a;let _0x44294c=_0x1f310c[_0x56a6de];return _0x44294c;},_0x56a6(_0x286500,_0x396398);}o['FUniver']['extend'](c);
1
+ 'use strict';const _0x4d5ef0=_0x4a84;(function(_0x5ab0c0,_0x3c3bc8){const _0x44851a=_0x4a84,_0x1d3e5f=_0x5ab0c0();while(!![]){try{const _0x2fe69d=parseInt(_0x44851a(0xa7))/0x1+parseInt(_0x44851a(0xa1))/0x2*(parseInt(_0x44851a(0x9e))/0x3)+-parseInt(_0x44851a(0xa8))/0x4*(-parseInt(_0x44851a(0x9d))/0x5)+parseInt(_0x44851a(0x98))/0x6*(-parseInt(_0x44851a(0x90))/0x7)+-parseInt(_0x44851a(0x94))/0x8*(-parseInt(_0x44851a(0xa9))/0x9)+parseInt(_0x44851a(0x9f))/0xa*(parseInt(_0x44851a(0x89))/0xb)+-parseInt(_0x44851a(0x9c))/0xc*(parseInt(_0x44851a(0x87))/0xd);if(_0x2fe69d===_0x3c3bc8)break;else _0x1d3e5f['push'](_0x1d3e5f['shift']());}catch(_0x5bfd81){_0x1d3e5f['push'](_0x1d3e5f['shift']());}}}(_0x51d0,0x3e7df));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x200443=>(_0x200443[_0x200443[_0x4d5ef0(0xa5)]=0x0]=_0x4d5ef0(0xa5),_0x200443[_0x200443[_0x4d5ef0(0xa4)]=0x1]=_0x4d5ef0(0xa4),_0x200443[_0x200443[_0x4d5ef0(0xa6)]=0x2]='UNIVER_SHEET',_0x200443[_0x200443['UNIVER_SLIDE']=0x3]=_0x4d5ef0(0x93),_0x200443[_0x200443[_0x4d5ef0(0xab)]=0x4]=_0x4d5ef0(0xab),_0x200443[_0x200443[_0x4d5ef0(0x8c)]=-0x1]='UNRECOGNIZED',_0x200443))(i||{});function _0x4a84(_0x1235c2,_0x4dba32){const _0x51d051=_0x51d0();return _0x4a84=function(_0x4a8432,_0x39ef75){_0x4a8432=_0x4a8432-0x86;let _0x25de66=_0x51d051[_0x4a8432];return _0x25de66;},_0x4a84(_0x1235c2,_0x4dba32);}class c extends o[_0x4d5ef0(0x9b)]{async['importXLSXToUnitId'](_0x2da0b1){return this['importXLSXToUnitIdAsync'](_0x2da0b1);}async[_0x4d5ef0(0x8e)](_0x47fd0b){const _0x3951fb=_0x4d5ef0,_0x342bc3=this[_0x3951fb(0x99)]['get'](r[_0x3951fb(0xaa)]);if(!_0x342bc3)throw new Error(_0x3951fb(0x95));return _0x342bc3['importFileToUnitId'](_0x47fd0b,i['UNIVER_SHEET']);}async[_0x4d5ef0(0x92)](_0x3e6cd8){const _0xfece26=_0x4d5ef0;return this[_0xfece26(0xa2)](_0x3e6cd8);}async['importXLSXToSnapshotAsync'](_0x11c7ef){const _0x367e2e=_0x4d5ef0,_0x53150e=this['_injector'][_0x367e2e(0x9a)](r[_0x367e2e(0xaa)]);if(!_0x53150e)throw new Error(_0x367e2e(0x95));return _0x53150e[_0x367e2e(0x92)](_0x11c7ef);}async[_0x4d5ef0(0x88)](_0x2087b2){return this['exportXLSXByUnitIdAsync'](_0x2087b2);}async['exportXLSXByUnitIdAsync'](_0x591dd0){const _0x3f074f=_0x4d5ef0,_0xf175ab=this[_0x3f074f(0x99)][_0x3f074f(0x9a)](r[_0x3f074f(0xaa)]);if(!_0xf175ab)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xf175ab[_0x3f074f(0x88)](_0x591dd0);}async[_0x4d5ef0(0xa3)](_0x20350f){const _0x460489=_0x4d5ef0;return this[_0x460489(0x8b)](_0x20350f);}async[_0x4d5ef0(0x8b)](_0x22b6e0){const _0x2fcc91=_0x4d5ef0,_0x5b2cb6=this[_0x2fcc91(0x99)][_0x2fcc91(0x9a)](r[_0x2fcc91(0xaa)]);if(!_0x5b2cb6)throw new Error(_0x2fcc91(0x95));return _0x5b2cb6[_0x2fcc91(0xa3)](_0x22b6e0);}async[_0x4d5ef0(0x97)](_0x1dd26b){const _0x19f296=_0x4d5ef0;return this[_0x19f296(0x8d)](_0x1dd26b);}async['importDOCXToUnitIdAsync'](_0x5729f1){const _0x18abaf=_0x4d5ef0,_0x4dcccf=this[_0x18abaf(0x99)][_0x18abaf(0x9a)](r[_0x18abaf(0xaa)]);if(!_0x4dcccf)throw new Error(_0x18abaf(0x95));return _0x4dcccf[_0x18abaf(0x8f)](_0x5729f1,i[_0x18abaf(0xa4)]);}async[_0x4d5ef0(0xa0)](_0x2c8477){const _0x2b1835=_0x4d5ef0;return this[_0x2b1835(0x86)](_0x2c8477);}async[_0x4d5ef0(0x86)](_0x4b9006){const _0x512197=_0x4d5ef0,_0x1a3197=this[_0x512197(0x99)][_0x512197(0x9a)](r[_0x512197(0xaa)]);if(!_0x1a3197)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1a3197[_0x512197(0xa0)](_0x4b9006);}async['exportDOCXBySnapshotAsync'](_0x5acc0a){const _0x4884bb=_0x4d5ef0,_0x4b92ea=this[_0x4884bb(0x99)][_0x4884bb(0x9a)](r[_0x4884bb(0xaa)]);if(!_0x4b92ea)throw new Error(_0x4884bb(0x95));return _0x4b92ea[_0x4884bb(0x96)](_0x5acc0a);}async[_0x4d5ef0(0x8a)](_0x1aa5c9){const _0x5996e0=_0x4d5ef0,_0x2a5109=this[_0x5996e0(0x99)][_0x5996e0(0x9a)](r[_0x5996e0(0xaa)]);if(!_0x2a5109)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2a5109[_0x5996e0(0x91)](_0x1aa5c9);}}o['FUniver']['extend'](c);function _0x51d0(){const _0x1b8bef=['get','FUniver','3840opwIvk','98340IUMafD','3NUzRwh','20cjHgzt','importDOCXToSnapshot','596062AUURCA','importXLSXToSnapshotAsync','exportXLSXBySnapshot','UNIVER_DOC','UNIVER_UNKNOWN','UNIVER_SHEET','375279wKNgGs','32PNnKeq','18SIPZjq','IExchangeService','UNIVER_PROJECT','importDOCXToSnapshotAsync','28457EydcYo','exportXLSXByUnitId','92983ZGHMkS','exportDOCXByUnitIdAsync','exportXLSXBySnapshotAsync','UNRECOGNIZED','importDOCXToUnitIdAsync','importXLSXToUnitIdAsync','importFileToUnitId','133tIcuKD','exportDOCXByUnitId','importXLSXToSnapshot','UNIVER_SLIDE','560872tALdkt','The\x20exchange\x20service\x20is\x20not\x20available','exportDOCXBySnapshot','importDOCXToUnitId','9894GaniWK','_injector'];_0x51d0=function(){return _0x1b8bef;};return _0x51d0();}