@univerjs-pro/exchange-client 0.8.1-nightly.202506191607 → 0.8.2-nightly.202506201607

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 _0xd4b1(){const _0x535816=['1612oVTuEV','exportDOCXBySnapshotAsync','get','428015TDNqVO','importXLSXToUnitIdAsync','1374luTtoI','1558100mBnULi','_injector','exportXLSXByUnitId','importDOCXToUnitId','UNIVER_DOC','UNIVER_SHEET','FUniver','importDOCXToSnapshotAsync','exportDOCXByUnitId','importFileToUnitId','136ibwSBZ','The\x20exchange\x20service\x20is\x20not\x20available','exportDOCXBySnapshot','UNIVER_SLIDE','@univerjs-pro/exchange-client','exportXLSXByUnitIdAsync','extend','importXLSXToUnitId','UNRECOGNIZED','importXLSXToSnapshot','819230ebmCgD','832959UrMJKC','exportXLSXBySnapshotAsync','410034MJFqYR','IExchangeService','importXLSXToSnapshotAsync','8XWwCRV','exportXLSXBySnapshot','UNIVER_PROJECT','2228mMgKAd','UNIVER_UNKNOWN'];_0xd4b1=function(){return _0x535816;};return _0xd4b1();}function _0x2ada(_0xe61867,_0x5236a6){const _0xd4b1c6=_0xd4b1();return _0x2ada=function(_0x2ada04,_0x4bb776){_0x2ada04=_0x2ada04-0x1ed;let _0x3ce4a2=_0xd4b1c6[_0x2ada04];return _0x3ce4a2;},_0x2ada(_0xe61867,_0x5236a6);}const _0xb82951=_0x2ada;(function(_0x4f3d5f,_0x4992d2){const _0xfdd048=_0x2ada,_0x3b5739=_0x4f3d5f();while(!![]){try{const _0x2f905d=-parseInt(_0xfdd048(0x1ee))/0x1*(parseInt(_0xfdd048(0x200))/0x2)+-parseInt(_0xfdd048(0x1f5))/0x3*(-parseInt(_0xfdd048(0x1f0))/0x4)+parseInt(_0xfdd048(0x20a))/0x5+-parseInt(_0xfdd048(0x20d))/0x6+parseInt(_0xfdd048(0x1f3))/0x7+parseInt(_0xfdd048(0x210))/0x8*(parseInt(_0xfdd048(0x20b))/0x9)+-parseInt(_0xfdd048(0x1f6))/0xa;if(_0x2f905d===_0x4992d2)break;else _0x3b5739['push'](_0x3b5739['shift']());}catch(_0x5bde7f){_0x3b5739['push'](_0x3b5739['shift']());}}}(_0xd4b1,0x1edff));const r=require(_0xb82951(0x204)),o=require('@univerjs/core/facade');var i=(_0x28a56c=>(_0x28a56c[_0x28a56c[_0xb82951(0x1ef)]=0x0]='UNIVER_UNKNOWN',_0x28a56c[_0x28a56c['UNIVER_DOC']=0x1]=_0xb82951(0x1fa),_0x28a56c[_0x28a56c[_0xb82951(0x1fb)]=0x2]='UNIVER_SHEET',_0x28a56c[_0x28a56c[_0xb82951(0x203)]=0x3]=_0xb82951(0x203),_0x28a56c[_0x28a56c[_0xb82951(0x1ed)]=0x4]=_0xb82951(0x1ed),_0x28a56c[_0x28a56c[_0xb82951(0x208)]=-0x1]=_0xb82951(0x208),_0x28a56c))(i||{});class c extends o[_0xb82951(0x1fc)]{async[_0xb82951(0x207)](_0x5b1ca5){const _0x4ec7df=_0xb82951;return this[_0x4ec7df(0x1f4)](_0x5b1ca5);}async[_0xb82951(0x1f4)](_0x2e1ae0){const _0x14cb66=_0xb82951,_0x32e201=this[_0x14cb66(0x1f7)][_0x14cb66(0x1f2)](r[_0x14cb66(0x20e)]);if(!_0x32e201)throw new Error(_0x14cb66(0x201));return _0x32e201['importFileToUnitId'](_0x2e1ae0,i[_0x14cb66(0x1fb)]);}async[_0xb82951(0x209)](_0x325de0){const _0x17e482=_0xb82951;return this[_0x17e482(0x20f)](_0x325de0);}async[_0xb82951(0x20f)](_0xa16b6f){const _0x208450=_0xb82951,_0x44c0a9=this[_0x208450(0x1f7)][_0x208450(0x1f2)](r[_0x208450(0x20e)]);if(!_0x44c0a9)throw new Error(_0x208450(0x201));return _0x44c0a9['importXLSXToSnapshot'](_0xa16b6f);}async['exportXLSXByUnitId'](_0x362db9){const _0x10d893=_0xb82951;return this[_0x10d893(0x205)](_0x362db9);}async[_0xb82951(0x205)](_0x4445ff){const _0x4ab80b=_0xb82951,_0x481607=this[_0x4ab80b(0x1f7)][_0x4ab80b(0x1f2)](r[_0x4ab80b(0x20e)]);if(!_0x481607)throw new Error(_0x4ab80b(0x201));return _0x481607[_0x4ab80b(0x1f8)](_0x4445ff);}async[_0xb82951(0x211)](_0x1a7fca){const _0x5b5469=_0xb82951;return this[_0x5b5469(0x20c)](_0x1a7fca);}async[_0xb82951(0x20c)](_0x2a6bc1){const _0x281c68=_0xb82951,_0x589ff0=this[_0x281c68(0x1f7)][_0x281c68(0x1f2)](r[_0x281c68(0x20e)]);if(!_0x589ff0)throw new Error(_0x281c68(0x201));return _0x589ff0[_0x281c68(0x211)](_0x2a6bc1);}async[_0xb82951(0x1f9)](_0x185167){return this['importDOCXToUnitIdAsync'](_0x185167);}async['importDOCXToUnitIdAsync'](_0x201097){const _0x2f28c2=_0xb82951,_0x2af213=this['_injector'][_0x2f28c2(0x1f2)](r['IExchangeService']);if(!_0x2af213)throw new Error(_0x2f28c2(0x201));return _0x2af213[_0x2f28c2(0x1ff)](_0x201097,i[_0x2f28c2(0x1fa)]);}async['importDOCXToSnapshot'](_0x3f1ffe){const _0x4a356f=_0xb82951;return this[_0x4a356f(0x1fd)](_0x3f1ffe);}async[_0xb82951(0x1fd)](_0x76ad7f){const _0x316a54=_0xb82951,_0x257899=this[_0x316a54(0x1f7)]['get'](r[_0x316a54(0x20e)]);if(!_0x257899)throw new Error(_0x316a54(0x201));return _0x257899['importDOCXToSnapshot'](_0x76ad7f);}async[_0xb82951(0x1f1)](_0x1fc4f4){const _0x40affe=_0xb82951,_0xbfce74=this['_injector'][_0x40affe(0x1f2)](r[_0x40affe(0x20e)]);if(!_0xbfce74)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xbfce74[_0x40affe(0x202)](_0x1fc4f4);}async['exportDOCXByUnitIdAsync'](_0x219195){const _0x1ce9dc=_0xb82951,_0x1072ae=this[_0x1ce9dc(0x1f7)][_0x1ce9dc(0x1f2)](r[_0x1ce9dc(0x20e)]);if(!_0x1072ae)throw new Error(_0x1ce9dc(0x201));return _0x1072ae[_0x1ce9dc(0x1fe)](_0x219195);}}o[_0xb82951(0x1fc)][_0xb82951(0x206)](c);
1
+ 'use strict';const _0x33070f=_0x19ce;(function(_0x12065,_0x34aa82){const _0x51619a=_0x19ce,_0x5329b9=_0x12065();while(!![]){try{const _0x5aeca1=parseInt(_0x51619a(0xa5))/0x1*(parseInt(_0x51619a(0xb8))/0x2)+parseInt(_0x51619a(0xb1))/0x3*(-parseInt(_0x51619a(0xc6))/0x4)+parseInt(_0x51619a(0xc2))/0x5+parseInt(_0x51619a(0xbc))/0x6+-parseInt(_0x51619a(0xa3))/0x7*(parseInt(_0x51619a(0xaa))/0x8)+-parseInt(_0x51619a(0xbe))/0x9*(parseInt(_0x51619a(0xad))/0xa)+-parseInt(_0x51619a(0xb2))/0xb*(-parseInt(_0x51619a(0xb3))/0xc);if(_0x5aeca1===_0x34aa82)break;else _0x5329b9['push'](_0x5329b9['shift']());}catch(_0x59d4bd){_0x5329b9['push'](_0x5329b9['shift']());}}}(_0x48b6,0xbf1f3));function _0x48b6(){const _0x2677ed=['@univerjs-pro/exchange-client','UNIVER_SHEET','importXLSXToUnitIdAsync','8XdXtSR','exportXLSXByUnitIdAsync','exportXLSXBySnapshot','720nzaFzp','UNIVER_UNKNOWN','exportDOCXBySnapshot','extend','6sFyRqJ','141119AnHuVU','2652hUHOkA','FUniver','importDOCXToSnapshot','UNRECOGNIZED','importDOCXToSnapshotAsync','62KcsQkq','@univerjs/core/facade','importFileToUnitId','importXLSXToSnapshot','385170qtnHOe','importXLSXToUnitId','183474rFcnmQ','exportXLSXBySnapshotAsync','get','importXLSXToSnapshotAsync','2291485MtIQnx','The\x20exchange\x20service\x20is\x20not\x20available','exportDOCXByUnitId','importDOCXToUnitIdAsync','2064748trKGwU','UNIVER_DOC','IExchangeService','exportDOCXByUnitIdAsync','UNIVER_SLIDE','_injector','7908278EctWMI','exportXLSXByUnitId','34034cCVXIg','UNIVER_PROJECT'];_0x48b6=function(){return _0x2677ed;};return _0x48b6();}const r=require(_0x33070f(0xa7)),o=require(_0x33070f(0xb9));var i=(_0x4d4708=>(_0x4d4708[_0x4d4708[_0x33070f(0xae)]=0x0]=_0x33070f(0xae),_0x4d4708[_0x4d4708['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x4d4708[_0x4d4708[_0x33070f(0xa8)]=0x2]=_0x33070f(0xa8),_0x4d4708[_0x4d4708[_0x33070f(0xa1)]=0x3]=_0x33070f(0xa1),_0x4d4708[_0x4d4708[_0x33070f(0xa6)]=0x4]=_0x33070f(0xa6),_0x4d4708[_0x4d4708['UNRECOGNIZED']=-0x1]=_0x33070f(0xb6),_0x4d4708))(i||{});class c extends o['FUniver']{async[_0x33070f(0xbd)](_0x28478c){const _0x1528b1=_0x33070f;return this[_0x1528b1(0xa9)](_0x28478c);}async['importXLSXToUnitIdAsync'](_0x1c62c2){const _0x3b41a7=_0x33070f,_0x412cc4=this[_0x3b41a7(0xa2)][_0x3b41a7(0xc0)](r[_0x3b41a7(0xc8)]);if(!_0x412cc4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x412cc4[_0x3b41a7(0xba)](_0x1c62c2,i['UNIVER_SHEET']);}async[_0x33070f(0xbb)](_0xb5b557){const _0x329a7c=_0x33070f;return this[_0x329a7c(0xc1)](_0xb5b557);}async['importXLSXToSnapshotAsync'](_0x537f8d){const _0x23beb8=_0x33070f,_0x230c91=this[_0x23beb8(0xa2)]['get'](r['IExchangeService']);if(!_0x230c91)throw new Error(_0x23beb8(0xc3));return _0x230c91[_0x23beb8(0xbb)](_0x537f8d);}async[_0x33070f(0xa4)](_0x32dca5){const _0xb19236=_0x33070f;return this[_0xb19236(0xab)](_0x32dca5);}async[_0x33070f(0xab)](_0x4b04e4){const _0x51789b=_0x33070f,_0x92c32f=this['_injector'][_0x51789b(0xc0)](r[_0x51789b(0xc8)]);if(!_0x92c32f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x92c32f[_0x51789b(0xa4)](_0x4b04e4);}async['exportXLSXBySnapshot'](_0x310ee3){const _0x4edd9b=_0x33070f;return this[_0x4edd9b(0xbf)](_0x310ee3);}async[_0x33070f(0xbf)](_0x5eb343){const _0x48f57b=_0x33070f,_0x56ddcf=this['_injector']['get'](r[_0x48f57b(0xc8)]);if(!_0x56ddcf)throw new Error(_0x48f57b(0xc3));return _0x56ddcf[_0x48f57b(0xac)](_0x5eb343);}async['importDOCXToUnitId'](_0x5578e7){const _0x15a881=_0x33070f;return this[_0x15a881(0xc5)](_0x5578e7);}async[_0x33070f(0xc5)](_0x31a5a9){const _0x4fa642=_0x33070f,_0x5c6340=this[_0x4fa642(0xa2)][_0x4fa642(0xc0)](r[_0x4fa642(0xc8)]);if(!_0x5c6340)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5c6340[_0x4fa642(0xba)](_0x31a5a9,i[_0x4fa642(0xc7)]);}async[_0x33070f(0xb5)](_0x31e118){const _0x528b5b=_0x33070f;return this[_0x528b5b(0xb7)](_0x31e118);}async[_0x33070f(0xb7)](_0x5aebe0){const _0x57c3de=_0x33070f,_0x3eec59=this[_0x57c3de(0xa2)][_0x57c3de(0xc0)](r[_0x57c3de(0xc8)]);if(!_0x3eec59)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3eec59[_0x57c3de(0xb5)](_0x5aebe0);}async['exportDOCXBySnapshotAsync'](_0x3be8ea){const _0x20220d=_0x33070f,_0x21c4b2=this[_0x20220d(0xa2)][_0x20220d(0xc0)](r[_0x20220d(0xc8)]);if(!_0x21c4b2)throw new Error(_0x20220d(0xc3));return _0x21c4b2[_0x20220d(0xaf)](_0x3be8ea);}async[_0x33070f(0xc9)](_0x4512ba){const _0x3ef25e=_0x33070f,_0x5dadd6=this[_0x3ef25e(0xa2)][_0x3ef25e(0xc0)](r['IExchangeService']);if(!_0x5dadd6)throw new Error(_0x3ef25e(0xc3));return _0x5dadd6[_0x3ef25e(0xc4)](_0x4512ba);}}function _0x19ce(_0x525003,_0xb3c1e2){const _0x48b68b=_0x48b6();return _0x19ce=function(_0x19ce31,_0xbe5952){_0x19ce31=_0x19ce31-0xa1;let _0x1abf83=_0x48b68b[_0x19ce31];return _0x1abf83;},_0x19ce(_0x525003,_0xb3c1e2);}o[_0x33070f(0xb4)][_0x33070f(0xb0)](c);