@univerjs-pro/exchange-client 0.6.4-nightly.202503101606 → 0.6.4-nightly.202503111607

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 _0xf6c543=_0x180e;(function(_0x1dd262,_0x391221){const _0x3b6306=_0x180e,_0x4efb0d=_0x1dd262();while(!![]){try{const _0x5d0050=-parseInt(_0x3b6306(0x184))/0x1+parseInt(_0x3b6306(0x16d))/0x2*(-parseInt(_0x3b6306(0x181))/0x3)+parseInt(_0x3b6306(0x17d))/0x4*(parseInt(_0x3b6306(0x176))/0x5)+-parseInt(_0x3b6306(0x18e))/0x6+-parseInt(_0x3b6306(0x17a))/0x7*(-parseInt(_0x3b6306(0x189))/0x8)+parseInt(_0x3b6306(0x188))/0x9*(-parseInt(_0x3b6306(0x16e))/0xa)+parseInt(_0x3b6306(0x179))/0xb;if(_0x5d0050===_0x391221)break;else _0x4efb0d['push'](_0x4efb0d['shift']());}catch(_0x3316c9){_0x4efb0d['push'](_0x4efb0d['shift']());}}}(_0x1d5f,0x61628));const r=require('@univerjs-pro/exchange-client'),i=require(_0xf6c543(0x172));function _0x1d5f(){const _0x2f37a6=['UNIVER_SHEET','218740dqPTAg','3389410ubrGRz','importFileToUnitId','importXLSXToUnitId','importDOCXToUnitId','@univerjs/core/facade','_injector','extend','importDOCXToUnitIdAsync','257215ciWfDT','exportXLSXByUnitId','importDOCXToSnapshot','9232542dxwYfE','83146dceVcu','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','36OCISJK','FUniver','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','18VbHoIk','get','The\x20exchange\x20service\x20is\x20not\x20available','207590XWNUCI','UNIVER_DOC','exportXLSXBySnapshotAsync','importXLSXToSnapshot','9IHpRwq','312qKikGP','UNIVER_PROJECT','importXLSXToUnitIdAsync','IExchangeService','UNIVER_UNKNOWN','983472EZhzqk','UNRECOGNIZED'];_0x1d5f=function(){return _0x2f37a6;};return _0x1d5f();}function _0x180e(_0x30988d,_0xfcc83e){const _0x1d5f98=_0x1d5f();return _0x180e=function(_0x180e4a,_0x217f29){_0x180e4a=_0x180e4a-0x16b;let _0x5f2494=_0x1d5f98[_0x180e4a];return _0x5f2494;},_0x180e(_0x30988d,_0xfcc83e);}var o=(_0x5493f8=>(_0x5493f8[_0x5493f8['UNIVER_UNKNOWN']=0x0]=_0xf6c543(0x18d),_0x5493f8[_0x5493f8[_0xf6c543(0x185)]=0x1]=_0xf6c543(0x185),_0x5493f8[_0x5493f8[_0xf6c543(0x16c)]=0x2]=_0xf6c543(0x16c),_0x5493f8[_0x5493f8['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x5493f8[_0x5493f8[_0xf6c543(0x18a)]=0x4]=_0xf6c543(0x18a),_0x5493f8[_0x5493f8[_0xf6c543(0x16b)]=-0x1]=_0xf6c543(0x16b),_0x5493f8))(o||{});class c extends i[_0xf6c543(0x17e)]{async[_0xf6c543(0x170)](_0x453d36){const _0x12da96=_0xf6c543;return this[_0x12da96(0x18b)](_0x453d36);}async['importXLSXToUnitIdAsync'](_0x34696b){const _0x4f43a6=_0xf6c543,_0x5b72b9=this[_0x4f43a6(0x173)]['get'](r[_0x4f43a6(0x18c)]);if(!_0x5b72b9)throw new Error(_0x4f43a6(0x183));return _0x5b72b9[_0x4f43a6(0x16f)](_0x34696b,o[_0x4f43a6(0x16c)]);}async[_0xf6c543(0x187)](_0x3049d3){const _0x2d460e=_0xf6c543;return this[_0x2d460e(0x17c)](_0x3049d3);}async[_0xf6c543(0x17c)](_0x17dd69){const _0x3cf9ae=_0xf6c543,_0x2430eb=this[_0x3cf9ae(0x173)]['get'](r[_0x3cf9ae(0x18c)]);if(!_0x2430eb)throw new Error(_0x3cf9ae(0x183));return _0x2430eb[_0x3cf9ae(0x187)](_0x17dd69);}async[_0xf6c543(0x177)](_0x28849c){const _0x1d70b4=_0xf6c543;return this[_0x1d70b4(0x180)](_0x28849c);}async['exportXLSXByUnitIdAsync'](_0x4fd313){const _0x5826b3=_0xf6c543,_0x2586ef=this['_injector'][_0x5826b3(0x182)](r[_0x5826b3(0x18c)]);if(!_0x2586ef)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2586ef[_0x5826b3(0x177)](_0x4fd313);}async[_0xf6c543(0x17f)](_0x3e7fae){return this['exportXLSXBySnapshotAsync'](_0x3e7fae);}async[_0xf6c543(0x186)](_0x122b86){const _0x648537=_0xf6c543,_0x4ad2e2=this[_0x648537(0x173)][_0x648537(0x182)](r[_0x648537(0x18c)]);if(!_0x4ad2e2)throw new Error(_0x648537(0x183));return _0x4ad2e2[_0x648537(0x17f)](_0x122b86);}async[_0xf6c543(0x171)](_0x1d29d2){const _0x37de01=_0xf6c543;return this[_0x37de01(0x175)](_0x1d29d2);}async[_0xf6c543(0x175)](_0x6dd889){const _0x806141=_0xf6c543,_0x59aaeb=this[_0x806141(0x173)]['get'](r[_0x806141(0x18c)]);if(!_0x59aaeb)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x59aaeb[_0x806141(0x16f)](_0x6dd889,o[_0x806141(0x185)]);}async[_0xf6c543(0x178)](_0x4571ce){const _0x56c257=_0xf6c543;return this[_0x56c257(0x17b)](_0x4571ce);}async[_0xf6c543(0x17b)](_0x4dc551){const _0x504072=_0xf6c543,_0x5516ad=this[_0x504072(0x173)][_0x504072(0x182)](r[_0x504072(0x18c)]);if(!_0x5516ad)throw new Error(_0x504072(0x183));return _0x5516ad[_0x504072(0x178)](_0x4dc551);}}i[_0xf6c543(0x17e)][_0xf6c543(0x174)](c);
1
+ 'use strict';const _0x6e3270=_0x59a8;function _0x3d14(){const _0x1f4eae=['@univerjs/core/facade','UNIVER_UNKNOWN','importDOCXToUnitId','exportXLSXBySnapshotAsync','UNIVER_PROJECT','623005MtMolp','196XHJzfL','exportXLSXBySnapshot','59093584HcotcB','importDOCXToSnapshotAsync','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','1663353JDqUcZ','UNIVER_DOC','importXLSXToUnitId','487206BirRKN','IExchangeService','exportXLSXByUnitIdAsync','_injector','get','36vWtjPg','UNIVER_SHEET','FUniver','UNIVER_SLIDE','1368XcoKDx','48jjNsGS','importXLSXToSnapshotAsync','15813810qAMjpT','7elbrif','importXLSXToUnitIdAsync','@univerjs-pro/exchange-client','extend','importXLSXToSnapshot','1498668LisylY','UNRECOGNIZED','importFileToUnitId'];_0x3d14=function(){return _0x1f4eae;};return _0x3d14();}(function(_0x54b3a2,_0x3476ed){const _0x46397b=_0x59a8,_0x2b148e=_0x54b3a2();while(!![]){try{const _0x217689=-parseInt(_0x46397b(0x13a))/0x1+parseInt(_0x46397b(0x133))/0x2*(-parseInt(_0x46397b(0x121))/0x3)+-parseInt(_0x46397b(0x11d))/0x4*(parseInt(_0x46397b(0x132))/0x5)+-parseInt(_0x46397b(0x12a))/0x6*(-parseInt(_0x46397b(0x125))/0x7)+-parseInt(_0x46397b(0x122))/0x8*(parseInt(_0x46397b(0x13d))/0x9)+-parseInt(_0x46397b(0x124))/0xa+parseInt(_0x46397b(0x135))/0xb;if(_0x217689===_0x3476ed)break;else _0x2b148e['push'](_0x2b148e['shift']());}catch(_0x3d8ef1){_0x2b148e['push'](_0x2b148e['shift']());}}}(_0x3d14,0xd860f));function _0x59a8(_0x5d1851,_0x52f89b){const _0x3d1434=_0x3d14();return _0x59a8=function(_0x59a8c9,_0x10e0eb){_0x59a8c9=_0x59a8c9-0x11c;let _0x368185=_0x3d1434[_0x59a8c9];return _0x368185;},_0x59a8(_0x5d1851,_0x52f89b);}const r=require(_0x6e3270(0x127)),i=require(_0x6e3270(0x12d));var o=(_0x314577=>(_0x314577[_0x314577[_0x6e3270(0x12e)]=0x0]=_0x6e3270(0x12e),_0x314577[_0x314577[_0x6e3270(0x13b)]=0x1]='UNIVER_DOC',_0x314577[_0x314577[_0x6e3270(0x11e)]=0x2]=_0x6e3270(0x11e),_0x314577[_0x314577[_0x6e3270(0x120)]=0x3]=_0x6e3270(0x120),_0x314577[_0x314577[_0x6e3270(0x131)]=0x4]=_0x6e3270(0x131),_0x314577[_0x314577[_0x6e3270(0x12b)]=-0x1]='UNRECOGNIZED',_0x314577))(o||{});class c extends i[_0x6e3270(0x11f)]{async[_0x6e3270(0x13c)](_0x183e10){const _0x4e1068=_0x6e3270;return this[_0x4e1068(0x126)](_0x183e10);}async[_0x6e3270(0x126)](_0x1c8ab7){const _0x486e20=_0x6e3270,_0xb6d91=this['_injector']['get'](r[_0x486e20(0x13e)]);if(!_0xb6d91)throw new Error(_0x486e20(0x138));return _0xb6d91['importFileToUnitId'](_0x1c8ab7,o[_0x486e20(0x11e)]);}async[_0x6e3270(0x129)](_0x1936c7){return this['importXLSXToSnapshotAsync'](_0x1936c7);}async[_0x6e3270(0x123)](_0x43a125){const _0x36236e=_0x6e3270,_0x27e9d5=this[_0x36236e(0x140)]['get'](r[_0x36236e(0x13e)]);if(!_0x27e9d5)throw new Error(_0x36236e(0x138));return _0x27e9d5['importXLSXToSnapshot'](_0x43a125);}async[_0x6e3270(0x139)](_0x308aae){const _0x17a843=_0x6e3270;return this[_0x17a843(0x13f)](_0x308aae);}async[_0x6e3270(0x13f)](_0x5e6db9){const _0xb196c2=_0x6e3270,_0x54468e=this[_0xb196c2(0x140)][_0xb196c2(0x11c)](r[_0xb196c2(0x13e)]);if(!_0x54468e)throw new Error(_0xb196c2(0x138));return _0x54468e['exportXLSXByUnitId'](_0x5e6db9);}async['exportXLSXBySnapshot'](_0x30fb05){const _0x129e8d=_0x6e3270;return this[_0x129e8d(0x130)](_0x30fb05);}async[_0x6e3270(0x130)](_0xfa889c){const _0x595336=_0x6e3270,_0x434629=this[_0x595336(0x140)][_0x595336(0x11c)](r['IExchangeService']);if(!_0x434629)throw new Error(_0x595336(0x138));return _0x434629[_0x595336(0x134)](_0xfa889c);}async[_0x6e3270(0x12f)](_0x22dab2){const _0x1ce36c=_0x6e3270;return this[_0x1ce36c(0x137)](_0x22dab2);}async[_0x6e3270(0x137)](_0x304ae7){const _0x28a34b=_0x6e3270,_0x2df32d=this['_injector'][_0x28a34b(0x11c)](r['IExchangeService']);if(!_0x2df32d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2df32d[_0x28a34b(0x12c)](_0x304ae7,o[_0x28a34b(0x13b)]);}async['importDOCXToSnapshot'](_0x405001){return this['importDOCXToSnapshotAsync'](_0x405001);}async[_0x6e3270(0x136)](_0x3fbd1a){const _0x372df6=_0x6e3270,_0x5ba957=this[_0x372df6(0x140)][_0x372df6(0x11c)](r[_0x372df6(0x13e)]);if(!_0x5ba957)throw new Error(_0x372df6(0x138));return _0x5ba957['importDOCXToSnapshot'](_0x3fbd1a);}}i[_0x6e3270(0x11f)][_0x6e3270(0x128)](c);