@univerjs-pro/exchange-client 0.6.5-nightly.202503121607 → 0.6.5-nightly.202503131607

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 _0x4be33e=_0xb3ef;function _0xb3ef(_0x398b47,_0x459bcb){const _0xc99f56=_0xc99f();return _0xb3ef=function(_0xb3ef1c,_0x532d10){_0xb3ef1c=_0xb3ef1c-0x78;let _0x1499bc=_0xc99f56[_0xb3ef1c];return _0x1499bc;},_0xb3ef(_0x398b47,_0x459bcb);}(function(_0x5047b2,_0x25b196){const _0xbd865e=_0xb3ef,_0xdd19be=_0x5047b2();while(!![]){try{const _0x57a61f=-parseInt(_0xbd865e(0x81))/0x1*(-parseInt(_0xbd865e(0x7b))/0x2)+-parseInt(_0xbd865e(0x96))/0x3+-parseInt(_0xbd865e(0x78))/0x4+-parseInt(_0xbd865e(0x8f))/0x5*(parseInt(_0xbd865e(0x95))/0x6)+parseInt(_0xbd865e(0x90))/0x7*(parseInt(_0xbd865e(0x85))/0x8)+-parseInt(_0xbd865e(0x8c))/0x9*(parseInt(_0xbd865e(0x92))/0xa)+parseInt(_0xbd865e(0x7e))/0xb;if(_0x57a61f===_0x25b196)break;else _0xdd19be['push'](_0xdd19be['shift']());}catch(_0x321aea){_0xdd19be['push'](_0xdd19be['shift']());}}}(_0xc99f,0x66542));const r=require(_0x4be33e(0x98)),i=require(_0x4be33e(0x93));var o=(_0x128d37=>(_0x128d37[_0x128d37[_0x4be33e(0x86)]=0x0]=_0x4be33e(0x86),_0x128d37[_0x128d37['UNIVER_DOC']=0x1]=_0x4be33e(0x7c),_0x128d37[_0x128d37[_0x4be33e(0x84)]=0x2]=_0x4be33e(0x84),_0x128d37[_0x128d37[_0x4be33e(0x8d)]=0x3]='UNIVER_SLIDE',_0x128d37[_0x128d37[_0x4be33e(0x87)]=0x4]='UNIVER_PROJECT',_0x128d37[_0x128d37['UNRECOGNIZED']=-0x1]=_0x4be33e(0x91),_0x128d37))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x1107bc){const _0x53ea47=_0x4be33e;return this[_0x53ea47(0x8b)](_0x1107bc);}async[_0x4be33e(0x8b)](_0x5dda3d){const _0x21dcb4=_0x4be33e,_0x1912f1=this[_0x21dcb4(0x88)][_0x21dcb4(0x82)](r[_0x21dcb4(0x7d)]);if(!_0x1912f1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1912f1['importFileToUnitId'](_0x5dda3d,o[_0x21dcb4(0x84)]);}async['importXLSXToSnapshot'](_0x4d0e83){const _0x2d6774=_0x4be33e;return this[_0x2d6774(0x7f)](_0x4d0e83);}async[_0x4be33e(0x7f)](_0x20c4a1){const _0x523f15=_0x4be33e,_0x5682c9=this[_0x523f15(0x88)][_0x523f15(0x82)](r[_0x523f15(0x7d)]);if(!_0x5682c9)throw new Error(_0x523f15(0x9a));return _0x5682c9[_0x523f15(0x7a)](_0x20c4a1);}async[_0x4be33e(0x80)](_0xf9d147){const _0x2c89d6=_0x4be33e;return this[_0x2c89d6(0x8a)](_0xf9d147);}async[_0x4be33e(0x8a)](_0x42a0fa){const _0x5901c0=_0x4be33e,_0x5eb0d2=this['_injector']['get'](r[_0x5901c0(0x7d)]);if(!_0x5eb0d2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5eb0d2['exportXLSXByUnitId'](_0x42a0fa);}async[_0x4be33e(0x79)](_0x26e9a4){return this['exportXLSXBySnapshotAsync'](_0x26e9a4);}async[_0x4be33e(0x9c)](_0x37e227){const _0xcbea3f=_0x4be33e,_0x573177=this[_0xcbea3f(0x88)][_0xcbea3f(0x82)](r[_0xcbea3f(0x7d)]);if(!_0x573177)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x573177[_0xcbea3f(0x79)](_0x37e227);}async[_0x4be33e(0x89)](_0xdbca88){const _0x6d078b=_0x4be33e;return this[_0x6d078b(0x99)](_0xdbca88);}async[_0x4be33e(0x99)](_0x154d92){const _0xb478bb=_0x4be33e,_0x4d4664=this[_0xb478bb(0x88)][_0xb478bb(0x82)](r['IExchangeService']);if(!_0x4d4664)throw new Error(_0xb478bb(0x9a));return _0x4d4664[_0xb478bb(0x83)](_0x154d92,o[_0xb478bb(0x7c)]);}async[_0x4be33e(0x97)](_0x461796){const _0x73ab05=_0x4be33e;return this[_0x73ab05(0x94)](_0x461796);}async[_0x4be33e(0x94)](_0x56f46d){const _0xd483cd=_0x4be33e,_0x1c97fe=this[_0xd483cd(0x88)][_0xd483cd(0x82)](r['IExchangeService']);if(!_0x1c97fe)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1c97fe[_0xd483cd(0x97)](_0x56f46d);}}i[_0x4be33e(0x8e)][_0x4be33e(0x9b)](c);function _0xc99f(){const _0x3d6449=['get','importFileToUnitId','UNIVER_SHEET','357032HGbOzi','UNIVER_UNKNOWN','UNIVER_PROJECT','_injector','importDOCXToUnitId','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','9126KVzvlX','UNIVER_SLIDE','FUniver','910LOkWyO','105rWQUTZ','UNRECOGNIZED','4540BgupER','@univerjs/core/facade','importDOCXToSnapshotAsync','8772pLmrfD','1361028lbhpxE','importDOCXToSnapshot','@univerjs-pro/exchange-client','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','extend','exportXLSXBySnapshotAsync','116012lxrcZH','exportXLSXBySnapshot','importXLSXToSnapshot','4JLMcrY','UNIVER_DOC','IExchangeService','1629694yENMCJ','importXLSXToSnapshotAsync','exportXLSXByUnitId','405334jassso'];_0xc99f=function(){return _0x3d6449;};return _0xc99f();}
1
+ 'use strict';const _0x38c5fa=_0x471d;(function(_0x226985,_0x4ea6ff){const _0x269724=_0x471d,_0x47ee60=_0x226985();while(!![]){try{const _0x3ec79f=parseInt(_0x269724(0x127))/0x1*(parseInt(_0x269724(0x12d))/0x2)+parseInt(_0x269724(0x124))/0x3+-parseInt(_0x269724(0x11e))/0x4+parseInt(_0x269724(0x12c))/0x5+-parseInt(_0x269724(0x12a))/0x6*(parseInt(_0x269724(0x133))/0x7)+parseInt(_0x269724(0x138))/0x8+-parseInt(_0x269724(0x129))/0x9;if(_0x3ec79f===_0x4ea6ff)break;else _0x47ee60['push'](_0x47ee60['shift']());}catch(_0x3c7c70){_0x47ee60['push'](_0x47ee60['shift']());}}}(_0x5540,0x1f8ba));function _0x5540(){const _0x420e0f=['extend','importDOCXToUnitIdAsync','549015FjAXcV','UNRECOGNIZED','UNIVER_UNKNOWN','87323NbEBXm','IExchangeService','1427661ekSDUQ','12YYKdqd','@univerjs-pro/exchange-client','168660QVoUQJ','2qduZEe','UNIVER_SHEET','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','_injector','importDOCXToUnitId','233023qjuKdo','importDOCXToSnapshot','importXLSXToSnapshotAsync','UNIVER_PROJECT','exportXLSXBySnapshot','834360zhFRqV','exportXLSXBySnapshotAsync','FUniver','importXLSXToUnitId','UNIVER_DOC','UNIVER_SLIDE','importFileToUnitId','get','215752DGRCbd','exportXLSXByUnitIdAsync','importXLSXToSnapshot','importXLSXToUnitIdAsync'];_0x5540=function(){return _0x420e0f;};return _0x5540();}const r=require(_0x38c5fa(0x12b)),i=require('@univerjs/core/facade');function _0x471d(_0x5b06dd,_0xea2fd1){const _0x55404f=_0x5540();return _0x471d=function(_0x471dde,_0x4013d7){_0x471dde=_0x471dde-0x117;let _0x3e07f6=_0x55404f[_0x471dde];return _0x3e07f6;},_0x471d(_0x5b06dd,_0xea2fd1);}var o=(_0x439a18=>(_0x439a18[_0x439a18[_0x38c5fa(0x126)]=0x0]=_0x38c5fa(0x126),_0x439a18[_0x439a18[_0x38c5fa(0x11a)]=0x1]=_0x38c5fa(0x11a),_0x439a18[_0x439a18['UNIVER_SHEET']=0x2]=_0x38c5fa(0x12e),_0x439a18[_0x439a18['UNIVER_SLIDE']=0x3]=_0x38c5fa(0x11b),_0x439a18[_0x439a18[_0x38c5fa(0x136)]=0x4]='UNIVER_PROJECT',_0x439a18[_0x439a18[_0x38c5fa(0x125)]=-0x1]='UNRECOGNIZED',_0x439a18))(o||{});class c extends i['FUniver']{async[_0x38c5fa(0x119)](_0x1695e7){const _0x628d06=_0x38c5fa;return this[_0x628d06(0x121)](_0x1695e7);}async[_0x38c5fa(0x121)](_0x3ed3b4){const _0x3e99cc=_0x38c5fa,_0x3caa42=this[_0x3e99cc(0x131)][_0x3e99cc(0x11d)](r[_0x3e99cc(0x128)]);if(!_0x3caa42)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3caa42['importFileToUnitId'](_0x3ed3b4,o['UNIVER_SHEET']);}async[_0x38c5fa(0x120)](_0x1df7b8){const _0x28c933=_0x38c5fa;return this[_0x28c933(0x135)](_0x1df7b8);}async[_0x38c5fa(0x135)](_0x3b86b4){const _0x772d7a=_0x38c5fa,_0x16ad2c=this[_0x772d7a(0x131)][_0x772d7a(0x11d)](r['IExchangeService']);if(!_0x16ad2c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x16ad2c['importXLSXToSnapshot'](_0x3b86b4);}async[_0x38c5fa(0x12f)](_0xd8937c){const _0x404f36=_0x38c5fa;return this[_0x404f36(0x11f)](_0xd8937c);}async[_0x38c5fa(0x11f)](_0x561667){const _0x107646=_0x38c5fa,_0x1cb088=this[_0x107646(0x131)][_0x107646(0x11d)](r['IExchangeService']);if(!_0x1cb088)throw new Error(_0x107646(0x130));return _0x1cb088[_0x107646(0x12f)](_0x561667);}async[_0x38c5fa(0x137)](_0x2a67db){return this['exportXLSXBySnapshotAsync'](_0x2a67db);}async[_0x38c5fa(0x117)](_0xffd11f){const _0x2a0168=_0x38c5fa,_0x472fbc=this[_0x2a0168(0x131)][_0x2a0168(0x11d)](r[_0x2a0168(0x128)]);if(!_0x472fbc)throw new Error(_0x2a0168(0x130));return _0x472fbc[_0x2a0168(0x137)](_0xffd11f);}async[_0x38c5fa(0x132)](_0x4b5565){const _0x1a5a24=_0x38c5fa;return this[_0x1a5a24(0x123)](_0x4b5565);}async[_0x38c5fa(0x123)](_0x755cbb){const _0x5bc9b9=_0x38c5fa,_0x258067=this[_0x5bc9b9(0x131)]['get'](r[_0x5bc9b9(0x128)]);if(!_0x258067)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x258067[_0x5bc9b9(0x11c)](_0x755cbb,o['UNIVER_DOC']);}async[_0x38c5fa(0x134)](_0x1e6f78){return this['importDOCXToSnapshotAsync'](_0x1e6f78);}async['importDOCXToSnapshotAsync'](_0x37da30){const _0x5605fd=_0x38c5fa,_0xcf3331=this[_0x5605fd(0x131)][_0x5605fd(0x11d)](r[_0x5605fd(0x128)]);if(!_0xcf3331)throw new Error(_0x5605fd(0x130));return _0xcf3331[_0x5605fd(0x134)](_0x37da30);}}i[_0x38c5fa(0x118)][_0x38c5fa(0x122)](c);