@univerjs-pro/exchange-client 0.8.0-nightly.202506061607 → 0.8.0-nightly.202506071606

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 _0xc6a3(_0x35d369,_0x1b9e94){const _0x13b9f3=_0x13b9();return _0xc6a3=function(_0xc6a31e,_0x66345){_0xc6a31e=_0xc6a31e-0xe6;let _0x590a69=_0x13b9f3[_0xc6a31e];return _0x590a69;},_0xc6a3(_0x35d369,_0x1b9e94);}const _0x3fe61e=_0xc6a3;(function(_0x45f130,_0x552fba){const _0x428534=_0xc6a3,_0x29c7f0=_0x45f130();while(!![]){try{const _0x2f987e=parseInt(_0x428534(0x106))/0x1+-parseInt(_0x428534(0xe6))/0x2*(-parseInt(_0x428534(0xed))/0x3)+-parseInt(_0x428534(0xff))/0x4+parseInt(_0x428534(0xfd))/0x5*(parseInt(_0x428534(0x100))/0x6)+parseInt(_0x428534(0xe9))/0x7*(parseInt(_0x428534(0xf6))/0x8)+-parseInt(_0x428534(0x107))/0x9*(-parseInt(_0x428534(0xe7))/0xa)+-parseInt(_0x428534(0xeb))/0xb;if(_0x2f987e===_0x552fba)break;else _0x29c7f0['push'](_0x29c7f0['shift']());}catch(_0x2f6bae){_0x29c7f0['push'](_0x29c7f0['shift']());}}}(_0x13b9,0xdc4c0));const r=require(_0x3fe61e(0xf2)),o=require(_0x3fe61e(0xfc));function _0x13b9(){const _0x2a5eed=['exportXLSXBySnapshotAsync','importDOCXToSnapshotAsync','importFileToUnitId','importXLSXToUnitId','exportXLSXByUnitIdAsync','1427563CQzRuy','3531663PcTJKg','importDOCXToSnapshot','exportXLSXByUnitId','UNIVER_SLIDE','UNIVER_PROJECT','importDOCXToUnitId','886wxvyiX','20rBFrdZ','importXLSXToUnitIdAsync','7Essxfn','UNIVER_DOC','22484187NCSzjd','exportXLSXBySnapshot','498vCnwQU','_injector','exportDOCXBySnapshot','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs-pro/exchange-client','get','UNRECOGNIZED','UNIVER_SHEET','6315592heymCI','IExchangeService','exportDOCXBySnapshotAsync','importXLSXToSnapshot','importXLSXToSnapshotAsync','exportDOCXByUnitId','@univerjs/core/facade','5AqjmLa','importDOCXToUnitIdAsync','900256TEOilD','576318iKMiko'];_0x13b9=function(){return _0x2a5eed;};return _0x13b9();}var i=(_0x2a0fea=>(_0x2a0fea[_0x2a0fea['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x2a0fea[_0x2a0fea['UNIVER_DOC']=0x1]=_0x3fe61e(0xea),_0x2a0fea[_0x2a0fea[_0x3fe61e(0xf5)]=0x2]=_0x3fe61e(0xf5),_0x2a0fea[_0x2a0fea[_0x3fe61e(0x10a)]=0x3]=_0x3fe61e(0x10a),_0x2a0fea[_0x2a0fea[_0x3fe61e(0x10b)]=0x4]='UNIVER_PROJECT',_0x2a0fea[_0x2a0fea[_0x3fe61e(0xf4)]=-0x1]=_0x3fe61e(0xf4),_0x2a0fea))(i||{});class c extends o[_0x3fe61e(0xf0)]{async[_0x3fe61e(0x104)](_0x4399e9){const _0x2e6fb1=_0x3fe61e;return this[_0x2e6fb1(0xe8)](_0x4399e9);}async[_0x3fe61e(0xe8)](_0x37c671){const _0x340710=_0x3fe61e,_0x48b93a=this[_0x340710(0xee)][_0x340710(0xf3)](r[_0x340710(0xf7)]);if(!_0x48b93a)throw new Error(_0x340710(0xf1));return _0x48b93a[_0x340710(0x103)](_0x37c671,i[_0x340710(0xf5)]);}async['importXLSXToSnapshot'](_0x5f57c3){const _0x34af80=_0x3fe61e;return this[_0x34af80(0xfa)](_0x5f57c3);}async['importXLSXToSnapshotAsync'](_0x436de8){const _0x42c5c5=_0x3fe61e,_0x2a18db=this[_0x42c5c5(0xee)][_0x42c5c5(0xf3)](r[_0x42c5c5(0xf7)]);if(!_0x2a18db)throw new Error(_0x42c5c5(0xf1));return _0x2a18db[_0x42c5c5(0xf9)](_0x436de8);}async[_0x3fe61e(0x109)](_0x5869ff){const _0x2c3db4=_0x3fe61e;return this[_0x2c3db4(0x105)](_0x5869ff);}async[_0x3fe61e(0x105)](_0xcd199d){const _0x2245e5=_0x3fe61e,_0x3024ad=this['_injector'][_0x2245e5(0xf3)](r[_0x2245e5(0xf7)]);if(!_0x3024ad)throw new Error(_0x2245e5(0xf1));return _0x3024ad['exportXLSXByUnitId'](_0xcd199d);}async[_0x3fe61e(0xec)](_0x49a239){const _0x1a507e=_0x3fe61e;return this[_0x1a507e(0x101)](_0x49a239);}async['exportXLSXBySnapshotAsync'](_0x110083){const _0x287f9b=_0x3fe61e,_0x33e15e=this[_0x287f9b(0xee)][_0x287f9b(0xf3)](r[_0x287f9b(0xf7)]);if(!_0x33e15e)throw new Error(_0x287f9b(0xf1));return _0x33e15e[_0x287f9b(0xec)](_0x110083);}async[_0x3fe61e(0x10c)](_0x539bdb){return this['importDOCXToUnitIdAsync'](_0x539bdb);}async[_0x3fe61e(0xfe)](_0x167f0e){const _0x2a1e64=_0x3fe61e,_0x27c84d=this['_injector']['get'](r[_0x2a1e64(0xf7)]);if(!_0x27c84d)throw new Error(_0x2a1e64(0xf1));return _0x27c84d['importFileToUnitId'](_0x167f0e,i[_0x2a1e64(0xea)]);}async['importDOCXToSnapshot'](_0x46e8ed){const _0x1533be=_0x3fe61e;return this[_0x1533be(0x102)](_0x46e8ed);}async[_0x3fe61e(0x102)](_0x3aa67e){const _0x49c258=_0x3fe61e,_0x398cd4=this[_0x49c258(0xee)]['get'](r[_0x49c258(0xf7)]);if(!_0x398cd4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x398cd4[_0x49c258(0x108)](_0x3aa67e);}async[_0x3fe61e(0xf8)](_0x17e34a){const _0x2b0c9c=_0x3fe61e,_0x49aaf6=this[_0x2b0c9c(0xee)][_0x2b0c9c(0xf3)](r[_0x2b0c9c(0xf7)]);if(!_0x49aaf6)throw new Error(_0x2b0c9c(0xf1));return _0x49aaf6[_0x2b0c9c(0xef)](_0x17e34a);}async['exportDOCXByUnitIdAsync'](_0x2dcceb){const _0x254d25=_0x3fe61e,_0x410e91=this['_injector'][_0x254d25(0xf3)](r['IExchangeService']);if(!_0x410e91)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x410e91[_0x254d25(0xfb)](_0x2dcceb);}}o[_0x3fe61e(0xf0)]['extend'](c);
1
+ 'use strict';const _0x7de348=_0x36dc;(function(_0x12f105,_0x44a0ba){const _0x3d4b6e=_0x36dc,_0x4c8885=_0x12f105();while(!![]){try{const _0x1002cf=parseInt(_0x3d4b6e(0x101))/0x1+-parseInt(_0x3d4b6e(0xfc))/0x2+-parseInt(_0x3d4b6e(0xfb))/0x3*(-parseInt(_0x3d4b6e(0xdc))/0x4)+-parseInt(_0x3d4b6e(0xfa))/0x5*(-parseInt(_0x3d4b6e(0xec))/0x6)+parseInt(_0x3d4b6e(0xf7))/0x7+-parseInt(_0x3d4b6e(0xeb))/0x8*(-parseInt(_0x3d4b6e(0xe6))/0x9)+-parseInt(_0x3d4b6e(0xe7))/0xa;if(_0x1002cf===_0x44a0ba)break;else _0x4c8885['push'](_0x4c8885['shift']());}catch(_0x397f98){_0x4c8885['push'](_0x4c8885['shift']());}}}(_0x465f,0x44a81));const r=require(_0x7de348(0xf3)),o=require(_0x7de348(0xe1));var i=(_0x346dbe=>(_0x346dbe[_0x346dbe[_0x7de348(0xe2)]=0x0]=_0x7de348(0xe2),_0x346dbe[_0x346dbe[_0x7de348(0xf0)]=0x1]='UNIVER_DOC',_0x346dbe[_0x346dbe[_0x7de348(0xee)]=0x2]='UNIVER_SHEET',_0x346dbe[_0x346dbe['UNIVER_SLIDE']=0x3]=_0x7de348(0xfd),_0x346dbe[_0x346dbe[_0x7de348(0xe3)]=0x4]='UNIVER_PROJECT',_0x346dbe[_0x346dbe[_0x7de348(0xde)]=-0x1]=_0x7de348(0xde),_0x346dbe))(i||{});class c extends o[_0x7de348(0xfe)]{async[_0x7de348(0xe5)](_0x1b2059){const _0x113dfe=_0x7de348;return this[_0x113dfe(0xe0)](_0x1b2059);}async[_0x7de348(0xe0)](_0x7bfbc){const _0xa0aa68=_0x7de348,_0x21275d=this[_0xa0aa68(0xf8)][_0xa0aa68(0xed)](r[_0xa0aa68(0xf1)]);if(!_0x21275d)throw new Error(_0xa0aa68(0xf9));return _0x21275d[_0xa0aa68(0xdf)](_0x7bfbc,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x4cf4de){return this['importXLSXToSnapshotAsync'](_0x4cf4de);}async['importXLSXToSnapshotAsync'](_0x56f8e2){const _0x2b65fe=_0x7de348,_0x576151=this[_0x2b65fe(0xf8)][_0x2b65fe(0xed)](r[_0x2b65fe(0xf1)]);if(!_0x576151)throw new Error(_0x2b65fe(0xf9));return _0x576151[_0x2b65fe(0xf6)](_0x56f8e2);}async[_0x7de348(0xe8)](_0x1d6a3b){const _0x42f01e=_0x7de348;return this[_0x42f01e(0xdd)](_0x1d6a3b);}async[_0x7de348(0xdd)](_0x3100c0){const _0x2bfbfe=_0x7de348,_0x47a972=this[_0x2bfbfe(0xf8)][_0x2bfbfe(0xed)](r['IExchangeService']);if(!_0x47a972)throw new Error(_0x2bfbfe(0xf9));return _0x47a972[_0x2bfbfe(0xe8)](_0x3100c0);}async[_0x7de348(0xf5)](_0x19f4b4){const _0x2dd50c=_0x7de348;return this[_0x2dd50c(0xf4)](_0x19f4b4);}async['exportXLSXBySnapshotAsync'](_0x2e9f57){const _0x485869=_0x7de348,_0x1f38bb=this[_0x485869(0xf8)]['get'](r['IExchangeService']);if(!_0x1f38bb)throw new Error(_0x485869(0xf9));return _0x1f38bb[_0x485869(0xf5)](_0x2e9f57);}async['importDOCXToUnitId'](_0x3811b1){const _0x29ed5a=_0x7de348;return this[_0x29ed5a(0xe9)](_0x3811b1);}async['importDOCXToUnitIdAsync'](_0x1b7484){const _0x1dda1b=_0x7de348,_0x288047=this[_0x1dda1b(0xf8)][_0x1dda1b(0xed)](r[_0x1dda1b(0xf1)]);if(!_0x288047)throw new Error(_0x1dda1b(0xf9));return _0x288047[_0x1dda1b(0xdf)](_0x1b7484,i[_0x1dda1b(0xf0)]);}async[_0x7de348(0x100)](_0x1d13ee){const _0x46bf06=_0x7de348;return this[_0x46bf06(0xef)](_0x1d13ee);}async['importDOCXToSnapshotAsync'](_0x39eb03){const _0x2d0e7e=_0x7de348,_0x4632e0=this[_0x2d0e7e(0xf8)][_0x2d0e7e(0xed)](r[_0x2d0e7e(0xf1)]);if(!_0x4632e0)throw new Error(_0x2d0e7e(0xf9));return _0x4632e0[_0x2d0e7e(0x100)](_0x39eb03);}async[_0x7de348(0xff)](_0x5e449c){const _0x32f15f=_0x7de348,_0x426ad0=this[_0x32f15f(0xf8)][_0x32f15f(0xed)](r[_0x32f15f(0xf1)]);if(!_0x426ad0)throw new Error(_0x32f15f(0xf9));return _0x426ad0[_0x32f15f(0xe4)](_0x5e449c);}async['exportDOCXByUnitIdAsync'](_0x57cbaf){const _0xa84f51=_0x7de348,_0x5c44d6=this[_0xa84f51(0xf8)][_0xa84f51(0xed)](r[_0xa84f51(0xf1)]);if(!_0x5c44d6)throw new Error(_0xa84f51(0xf9));return _0x5c44d6[_0xa84f51(0xf2)](_0x57cbaf);}}function _0x465f(){const _0x2bd0e8=['20583FlsVAs','12499530iTGYVg','exportXLSXByUnitId','importDOCXToUnitIdAsync','extend','1136SKBTnx','6XeWRSO','get','UNIVER_SHEET','importDOCXToSnapshotAsync','UNIVER_DOC','IExchangeService','exportDOCXByUnitId','@univerjs-pro/exchange-client','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','importXLSXToSnapshot','2305317Gcowmx','_injector','The\x20exchange\x20service\x20is\x20not\x20available','2168885jkNgQG','15rmbHeA','392284uTiwey','UNIVER_SLIDE','FUniver','exportDOCXBySnapshotAsync','importDOCXToSnapshot','433060MfICha','165112shckNf','exportXLSXByUnitIdAsync','UNRECOGNIZED','importFileToUnitId','importXLSXToUnitIdAsync','@univerjs/core/facade','UNIVER_UNKNOWN','UNIVER_PROJECT','exportDOCXBySnapshot','importXLSXToUnitId'];_0x465f=function(){return _0x2bd0e8;};return _0x465f();}function _0x36dc(_0x59ac70,_0x1c2270){const _0x465f5d=_0x465f();return _0x36dc=function(_0x36dce2,_0x395723){_0x36dce2=_0x36dce2-0xdc;let _0x4730ce=_0x465f5d[_0x36dce2];return _0x4730ce;},_0x36dc(_0x59ac70,_0x1c2270);}o[_0x7de348(0xfe)][_0x7de348(0xea)](c);