@univerjs-pro/exchange-client 0.6.6-nightly.202503191607 → 0.6.6-nightly.202503201607

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 _0x4b7f(_0x3400d7,_0x53cda4){const _0x45cd31=_0x45cd();return _0x4b7f=function(_0x4b7fcc,_0x955e1){_0x4b7fcc=_0x4b7fcc-0xa2;let _0x4c2575=_0x45cd31[_0x4b7fcc];return _0x4c2575;},_0x4b7f(_0x3400d7,_0x53cda4);}const _0x38ab74=_0x4b7f;(function(_0x2ca6bc,_0x27a76c){const _0x41d2eb=_0x4b7f,_0x26403f=_0x2ca6bc();while(!![]){try{const _0x2e844f=parseInt(_0x41d2eb(0xaf))/0x1*(parseInt(_0x41d2eb(0xc4))/0x2)+-parseInt(_0x41d2eb(0xb5))/0x3+parseInt(_0x41d2eb(0xb2))/0x4+-parseInt(_0x41d2eb(0xba))/0x5*(parseInt(_0x41d2eb(0xa6))/0x6)+-parseInt(_0x41d2eb(0xb4))/0x7*(parseInt(_0x41d2eb(0xbe))/0x8)+parseInt(_0x41d2eb(0xb6))/0x9*(-parseInt(_0x41d2eb(0xa4))/0xa)+parseInt(_0x41d2eb(0xa9))/0xb;if(_0x2e844f===_0x27a76c)break;else _0x26403f['push'](_0x26403f['shift']());}catch(_0x139084){_0x26403f['push'](_0x26403f['shift']());}}}(_0x45cd,0x9d152));function _0x45cd(){const _0x4e6399=['_injector','1873505zLItau','exportXLSXByUnitId','UNRECOGNIZED','UNIVER_DOC','7248FUfASe','UNIVER_SHEET','importDOCXToSnapshotAsync','get','importXLSXToUnitId','importXLSXToSnapshotAsync','5362UeDfaU','exportXLSXBySnapshot','IExchangeService','UNIVER_SLIDE','@univerjs-pro/exchange-client','10wFLMOW','importDOCXToSnapshot','18aakdJo','importDOCXToUnitId','@univerjs/core/facade','41680694CiRGJA','UNIVER_PROJECT','UNIVER_UNKNOWN','importXLSXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','7vjunGp','extend','exportXLSXBySnapshotAsync','1983236zPBxDb','FUniver','9093zSsMEB','1600416TTRnUh','7432659cxqzvg','importFileToUnitId','exportXLSXByUnitIdAsync'];_0x45cd=function(){return _0x4e6399;};return _0x45cd();}const r=require(_0x38ab74(0xa3)),i=require(_0x38ab74(0xa8));var o=(_0x550d16=>(_0x550d16[_0x550d16[_0x38ab74(0xab)]=0x0]=_0x38ab74(0xab),_0x550d16[_0x550d16[_0x38ab74(0xbd)]=0x1]='UNIVER_DOC',_0x550d16[_0x550d16[_0x38ab74(0xbf)]=0x2]=_0x38ab74(0xbf),_0x550d16[_0x550d16[_0x38ab74(0xa2)]=0x3]=_0x38ab74(0xa2),_0x550d16[_0x550d16[_0x38ab74(0xaa)]=0x4]='UNIVER_PROJECT',_0x550d16[_0x550d16[_0x38ab74(0xbc)]=-0x1]=_0x38ab74(0xbc),_0x550d16))(o||{});class c extends i[_0x38ab74(0xb3)]{async[_0x38ab74(0xc2)](_0x34e278){const _0x4d8b42=_0x38ab74;return this[_0x4d8b42(0xae)](_0x34e278);}async['importXLSXToUnitIdAsync'](_0x4a813c){const _0x539c40=_0x38ab74,_0x1cc97d=this[_0x539c40(0xb9)]['get'](r['IExchangeService']);if(!_0x1cc97d)throw new Error(_0x539c40(0xad));return _0x1cc97d[_0x539c40(0xb7)](_0x4a813c,o[_0x539c40(0xbf)]);}async['importXLSXToSnapshot'](_0x2f0c08){const _0x2f9d5b=_0x38ab74;return this[_0x2f9d5b(0xc3)](_0x2f0c08);}async['importXLSXToSnapshotAsync'](_0x1339f3){const _0x3c7b80=_0x38ab74,_0x1b393a=this['_injector'][_0x3c7b80(0xc1)](r[_0x3c7b80(0xc6)]);if(!_0x1b393a)throw new Error(_0x3c7b80(0xad));return _0x1b393a[_0x3c7b80(0xac)](_0x1339f3);}async[_0x38ab74(0xbb)](_0x565900){const _0x3f3a72=_0x38ab74;return this[_0x3f3a72(0xb8)](_0x565900);}async['exportXLSXByUnitIdAsync'](_0x3a7429){const _0x3dfcc3=_0x38ab74,_0xd194f7=this['_injector']['get'](r['IExchangeService']);if(!_0xd194f7)throw new Error(_0x3dfcc3(0xad));return _0xd194f7['exportXLSXByUnitId'](_0x3a7429);}async[_0x38ab74(0xc5)](_0xab4ee0){const _0x316231=_0x38ab74;return this[_0x316231(0xb1)](_0xab4ee0);}async[_0x38ab74(0xb1)](_0xc81398){const _0x50a649=_0x38ab74,_0x3d9b58=this[_0x50a649(0xb9)][_0x50a649(0xc1)](r['IExchangeService']);if(!_0x3d9b58)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3d9b58[_0x50a649(0xc5)](_0xc81398);}async[_0x38ab74(0xa7)](_0x27efd2){return this['importDOCXToUnitIdAsync'](_0x27efd2);}async['importDOCXToUnitIdAsync'](_0x12ad41){const _0x1d77a9=_0x38ab74,_0x5314b1=this[_0x1d77a9(0xb9)][_0x1d77a9(0xc1)](r[_0x1d77a9(0xc6)]);if(!_0x5314b1)throw new Error(_0x1d77a9(0xad));return _0x5314b1['importFileToUnitId'](_0x12ad41,o[_0x1d77a9(0xbd)]);}async[_0x38ab74(0xa5)](_0x157077){const _0x180a6e=_0x38ab74;return this[_0x180a6e(0xc0)](_0x157077);}async['importDOCXToSnapshotAsync'](_0x509ecf){const _0x2b078c=_0x38ab74,_0x2139c9=this[_0x2b078c(0xb9)][_0x2b078c(0xc1)](r['IExchangeService']);if(!_0x2139c9)throw new Error(_0x2b078c(0xad));return _0x2139c9[_0x2b078c(0xa5)](_0x509ecf);}}i[_0x38ab74(0xb3)][_0x38ab74(0xb0)](c);
1
+ 'use strict';const _0x274352=_0x23a6;function _0x23a6(_0x5d66c7,_0x2827bc){const _0x9d228f=_0x9d22();return _0x23a6=function(_0x23a664,_0x152f3a){_0x23a664=_0x23a664-0x90;let _0x24b57d=_0x9d228f[_0x23a664];return _0x24b57d;},_0x23a6(_0x5d66c7,_0x2827bc);}(function(_0x2b9ca7,_0x12e6bc){const _0x205c17=_0x23a6,_0x10742c=_0x2b9ca7();while(!![]){try{const _0x45bf3b=parseInt(_0x205c17(0x90))/0x1*(parseInt(_0x205c17(0x9c))/0x2)+parseInt(_0x205c17(0xa2))/0x3*(-parseInt(_0x205c17(0x97))/0x4)+parseInt(_0x205c17(0xb0))/0x5+parseInt(_0x205c17(0xab))/0x6+-parseInt(_0x205c17(0xad))/0x7+parseInt(_0x205c17(0x94))/0x8+parseInt(_0x205c17(0xa5))/0x9*(-parseInt(_0x205c17(0xa3))/0xa);if(_0x45bf3b===_0x12e6bc)break;else _0x10742c['push'](_0x10742c['shift']());}catch(_0x3b44d){_0x10742c['push'](_0x10742c['shift']());}}}(_0x9d22,0x90fe4));const r=require(_0x274352(0x92)),i=require(_0x274352(0x93));var o=(_0x5f0fad=>(_0x5f0fad[_0x5f0fad[_0x274352(0xac)]=0x0]='UNIVER_UNKNOWN',_0x5f0fad[_0x5f0fad['UNIVER_DOC']=0x1]=_0x274352(0x98),_0x5f0fad[_0x5f0fad[_0x274352(0xa8)]=0x2]=_0x274352(0xa8),_0x5f0fad[_0x5f0fad['UNIVER_SLIDE']=0x3]=_0x274352(0x9f),_0x5f0fad[_0x5f0fad[_0x274352(0xae)]=0x4]=_0x274352(0xae),_0x5f0fad[_0x5f0fad[_0x274352(0xa6)]=-0x1]=_0x274352(0xa6),_0x5f0fad))(o||{});class c extends i['FUniver']{async[_0x274352(0xa9)](_0x1e5197){const _0x3343c1=_0x274352;return this[_0x3343c1(0xb2)](_0x1e5197);}async[_0x274352(0xb2)](_0x3e0641){const _0x2bd585=_0x274352,_0x72fb2f=this['_injector'][_0x2bd585(0xa1)](r[_0x2bd585(0xa7)]);if(!_0x72fb2f)throw new Error(_0x2bd585(0xaa));return _0x72fb2f[_0x2bd585(0x9a)](_0x3e0641,o[_0x2bd585(0xa8)]);}async[_0x274352(0x99)](_0x474d29){const _0x3c80c6=_0x274352;return this[_0x3c80c6(0x96)](_0x474d29);}async[_0x274352(0x96)](_0x31777c){const _0x1ebea7=_0x274352,_0x428d5b=this['_injector']['get'](r[_0x1ebea7(0xa7)]);if(!_0x428d5b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x428d5b[_0x1ebea7(0x99)](_0x31777c);}async['exportXLSXByUnitId'](_0x4ae259){const _0x124e93=_0x274352;return this[_0x124e93(0xaf)](_0x4ae259);}async[_0x274352(0xaf)](_0x5e7870){const _0xf5999d=_0x274352,_0xd5af2b=this[_0xf5999d(0x95)][_0xf5999d(0xa1)](r[_0xf5999d(0xa7)]);if(!_0xd5af2b)throw new Error(_0xf5999d(0xaa));return _0xd5af2b[_0xf5999d(0xa0)](_0x5e7870);}async[_0x274352(0x9b)](_0x413a57){const _0x31d6a9=_0x274352;return this[_0x31d6a9(0xa4)](_0x413a57);}async[_0x274352(0xa4)](_0x636397){const _0x425d19=_0x274352,_0x1e1b37=this[_0x425d19(0x95)][_0x425d19(0xa1)](r[_0x425d19(0xa7)]);if(!_0x1e1b37)throw new Error(_0x425d19(0xaa));return _0x1e1b37[_0x425d19(0x9b)](_0x636397);}async['importDOCXToUnitId'](_0xb84408){const _0x1627fc=_0x274352;return this[_0x1627fc(0x9d)](_0xb84408);}async[_0x274352(0x9d)](_0x425bc7){const _0x201a5c=_0x274352,_0x2fb4f9=this['_injector'][_0x201a5c(0xa1)](r[_0x201a5c(0xa7)]);if(!_0x2fb4f9)throw new Error(_0x201a5c(0xaa));return _0x2fb4f9['importFileToUnitId'](_0x425bc7,o[_0x201a5c(0x98)]);}async[_0x274352(0xb1)](_0x1a4d8e){return this['importDOCXToSnapshotAsync'](_0x1a4d8e);}async[_0x274352(0x9e)](_0x20a675){const _0x5cff20=_0x274352,_0xeeda5=this[_0x5cff20(0x95)]['get'](r[_0x5cff20(0xa7)]);if(!_0xeeda5)throw new Error(_0x5cff20(0xaa));return _0xeeda5[_0x5cff20(0xb1)](_0x20a675);}}function _0x9d22(){const _0x43cfda=['UNIVER_PROJECT','exportXLSXByUnitIdAsync','4413390arFNuB','importDOCXToSnapshot','importXLSXToUnitIdAsync','26dRMAkP','extend','@univerjs-pro/exchange-client','@univerjs/core/facade','1197688yCkTrD','_injector','importXLSXToSnapshotAsync','16432cpXHou','UNIVER_DOC','importXLSXToSnapshot','importFileToUnitId','exportXLSXBySnapshot','47038yjWQWG','importDOCXToUnitIdAsync','importDOCXToSnapshotAsync','UNIVER_SLIDE','exportXLSXByUnitId','get','555dKBIyj','10JUIFpk','exportXLSXBySnapshotAsync','8349651YLSAkp','UNRECOGNIZED','IExchangeService','UNIVER_SHEET','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','4064970HjgviW','UNIVER_UNKNOWN','278369iMcWxh'];_0x9d22=function(){return _0x43cfda;};return _0x9d22();}i['FUniver'][_0x274352(0x91)](c);