@univerjs-pro/exchange-client 0.7.0-nightly.202505121607 → 0.7.0-nightly.202505131607

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 _0x115b(_0x3a812c,_0x475b42){const _0x3e749c=_0x3e74();return _0x115b=function(_0x115b3a,_0x44ff6a){_0x115b3a=_0x115b3a-0x130;let _0x1609dd=_0x3e749c[_0x115b3a];return _0x1609dd;},_0x115b(_0x3a812c,_0x475b42);}const _0x1d56ae=_0x115b;(function(_0x18a5c9,_0x55232f){const _0x191b18=_0x115b,_0x2f7ae2=_0x18a5c9();while(!![]){try{const _0x2b68c0=parseInt(_0x191b18(0x141))/0x1+parseInt(_0x191b18(0x142))/0x2*(-parseInt(_0x191b18(0x14e))/0x3)+-parseInt(_0x191b18(0x133))/0x4+parseInt(_0x191b18(0x134))/0x5*(parseInt(_0x191b18(0x144))/0x6)+parseInt(_0x191b18(0x138))/0x7+parseInt(_0x191b18(0x149))/0x8*(parseInt(_0x191b18(0x130))/0x9)+-parseInt(_0x191b18(0x13d))/0xa;if(_0x2b68c0===_0x55232f)break;else _0x2f7ae2['push'](_0x2f7ae2['shift']());}catch(_0x12bb69){_0x2f7ae2['push'](_0x2f7ae2['shift']());}}}(_0x3e74,0xe67a6));function _0x3e74(){const _0x551e1a=['importDOCXToUnitIdAsync','150ePKdoo','exportXLSXByUnitIdAsync','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','importDOCXToSnapshot','72mOCwxS','_injector','FUniver','UNRECOGNIZED','@univerjs/core/facade','3iqcJpg','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','1753119dvgynF','importDOCXToUnitId','importXLSXToUnitId','5704548icDnug','209265RyDYvv','get','extend','exportXLSXBySnapshotAsync','147014gpVkmQ','IExchangeService','UNIVER_SHEET','exportXLSXBySnapshot','UNIVER_PROJECT','8163260wQgezY','exportXLSXByUnitId','@univerjs-pro/exchange-client','UNIVER_SLIDE','1521608xxAZHT','2311106KeucbO'];_0x3e74=function(){return _0x551e1a;};return _0x3e74();}const r=require(_0x1d56ae(0x13f)),i=require(_0x1d56ae(0x14d));var o=(_0x2e41f8=>(_0x2e41f8[_0x2e41f8[_0x1d56ae(0x147)]=0x0]='UNIVER_UNKNOWN',_0x2e41f8[_0x2e41f8[_0x1d56ae(0x150)]=0x1]=_0x1d56ae(0x150),_0x2e41f8[_0x2e41f8[_0x1d56ae(0x13a)]=0x2]=_0x1d56ae(0x13a),_0x2e41f8[_0x2e41f8[_0x1d56ae(0x140)]=0x3]=_0x1d56ae(0x140),_0x2e41f8[_0x2e41f8[_0x1d56ae(0x13c)]=0x4]=_0x1d56ae(0x13c),_0x2e41f8[_0x2e41f8[_0x1d56ae(0x14c)]=-0x1]=_0x1d56ae(0x14c),_0x2e41f8))(o||{});class c extends i['FUniver']{async[_0x1d56ae(0x132)](_0x43409a){return this['importXLSXToUnitIdAsync'](_0x43409a);}async['importXLSXToUnitIdAsync'](_0x5bb189){const _0x45b512=_0x1d56ae,_0x478ea1=this[_0x45b512(0x14a)][_0x45b512(0x135)](r[_0x45b512(0x139)]);if(!_0x478ea1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x478ea1['importFileToUnitId'](_0x5bb189,o[_0x45b512(0x13a)]);}async['importXLSXToSnapshot'](_0x29767f){return this['importXLSXToSnapshotAsync'](_0x29767f);}async['importXLSXToSnapshotAsync'](_0x48ddfa){const _0x1e4b8a=_0x1d56ae,_0x400e83=this['_injector'][_0x1e4b8a(0x135)](r[_0x1e4b8a(0x139)]);if(!_0x400e83)throw new Error(_0x1e4b8a(0x14f));return _0x400e83['importXLSXToSnapshot'](_0x48ddfa);}async[_0x1d56ae(0x13e)](_0x387ccd){const _0x59dcce=_0x1d56ae;return this[_0x59dcce(0x145)](_0x387ccd);}async[_0x1d56ae(0x145)](_0xd89cda){const _0x1bce96=_0x1d56ae,_0x125ee1=this['_injector'][_0x1bce96(0x135)](r[_0x1bce96(0x139)]);if(!_0x125ee1)throw new Error(_0x1bce96(0x14f));return _0x125ee1['exportXLSXByUnitId'](_0xd89cda);}async[_0x1d56ae(0x13b)](_0xef3102){const _0x3b5959=_0x1d56ae;return this[_0x3b5959(0x137)](_0xef3102);}async[_0x1d56ae(0x137)](_0x40cde5){const _0x1d267b=_0x1d56ae,_0x553289=this[_0x1d267b(0x14a)][_0x1d267b(0x135)](r['IExchangeService']);if(!_0x553289)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x553289[_0x1d267b(0x13b)](_0x40cde5);}async[_0x1d56ae(0x131)](_0x5177d4){return this['importDOCXToUnitIdAsync'](_0x5177d4);}async[_0x1d56ae(0x143)](_0x4074a1){const _0x48abc2=_0x1d56ae,_0x2265a9=this['_injector'][_0x48abc2(0x135)](r[_0x48abc2(0x139)]);if(!_0x2265a9)throw new Error(_0x48abc2(0x14f));return _0x2265a9['importFileToUnitId'](_0x4074a1,o[_0x48abc2(0x150)]);}async[_0x1d56ae(0x148)](_0x6d52c){const _0x43a268=_0x1d56ae;return this[_0x43a268(0x146)](_0x6d52c);}async['importDOCXToSnapshotAsync'](_0x5400dc){const _0x1dabfa=_0x1d56ae,_0x282140=this[_0x1dabfa(0x14a)][_0x1dabfa(0x135)](r[_0x1dabfa(0x139)]);if(!_0x282140)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x282140[_0x1dabfa(0x148)](_0x5400dc);}}i[_0x1d56ae(0x14b)][_0x1d56ae(0x136)](c);
1
+ 'use strict';function _0x261d(_0x3ef702,_0x55499c){const _0x25e71e=_0x25e7();return _0x261d=function(_0x261d4d,_0x50ffae){_0x261d4d=_0x261d4d-0x85;let _0x3ab9ca=_0x25e71e[_0x261d4d];return _0x3ab9ca;},_0x261d(_0x3ef702,_0x55499c);}const _0x32fb12=_0x261d;(function(_0x5ec9f6,_0x361d15){const _0x11c106=_0x261d,_0xee5f6=_0x5ec9f6();while(!![]){try{const _0x209478=-parseInt(_0x11c106(0x96))/0x1*(parseInt(_0x11c106(0x9c))/0x2)+parseInt(_0x11c106(0x9b))/0x3*(-parseInt(_0x11c106(0x8e))/0x4)+-parseInt(_0x11c106(0x92))/0x5+-parseInt(_0x11c106(0x8b))/0x6*(-parseInt(_0x11c106(0x9d))/0x7)+-parseInt(_0x11c106(0xa5))/0x8+-parseInt(_0x11c106(0x93))/0x9*(parseInt(_0x11c106(0x94))/0xa)+parseInt(_0x11c106(0xa1))/0xb*(parseInt(_0x11c106(0x9a))/0xc);if(_0x209478===_0x361d15)break;else _0xee5f6['push'](_0xee5f6['shift']());}catch(_0x126679){_0xee5f6['push'](_0xee5f6['shift']());}}}(_0x25e7,0x25989));const r=require(_0x32fb12(0xa4)),i=require(_0x32fb12(0x9f));var o=(_0x100abe=>(_0x100abe[_0x100abe[_0x32fb12(0xa0)]=0x0]='UNIVER_UNKNOWN',_0x100abe[_0x100abe[_0x32fb12(0x89)]=0x1]=_0x32fb12(0x89),_0x100abe[_0x100abe[_0x32fb12(0x8a)]=0x2]=_0x32fb12(0x8a),_0x100abe[_0x100abe[_0x32fb12(0x9e)]=0x3]=_0x32fb12(0x9e),_0x100abe[_0x100abe[_0x32fb12(0xa3)]=0x4]=_0x32fb12(0xa3),_0x100abe[_0x100abe[_0x32fb12(0xa9)]=-0x1]=_0x32fb12(0xa9),_0x100abe))(o||{});function _0x25e7(){const _0x3ce9de=['exportXLSXBySnapshotAsync','698050hyGpXS','18flIpAZ','1484410jxXsGD','importXLSXToSnapshot','21DWtOXj','exportXLSXByUnitId','importXLSXToUnitIdAsync','extend','108Gcwakh','21159sHeEyT','8746jigHYf','182749LngwFC','UNIVER_SLIDE','@univerjs/core/facade','UNIVER_UNKNOWN','923021iTTiJr','importXLSXToSnapshotAsync','UNIVER_PROJECT','@univerjs-pro/exchange-client','724544psYYwW','exportXLSXByUnitIdAsync','get','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED','importDOCXToSnapshotAsync','exportXLSXBySnapshot','IExchangeService','importDOCXToUnitId','_injector','importDOCXToUnitIdAsync','UNIVER_DOC','UNIVER_SHEET','30lWLxiw','importFileToUnitId','importDOCXToSnapshot','64LZofhk','FUniver','importXLSXToUnitId'];_0x25e7=function(){return _0x3ce9de;};return _0x25e7();}class c extends i[_0x32fb12(0x8f)]{async[_0x32fb12(0x90)](_0x5449c1){const _0x41a032=_0x32fb12;return this[_0x41a032(0x98)](_0x5449c1);}async[_0x32fb12(0x98)](_0x36b6c0){const _0x1b02b9=_0x32fb12,_0xec3fe4=this['_injector'][_0x1b02b9(0xa7)](r[_0x1b02b9(0x85)]);if(!_0xec3fe4)throw new Error(_0x1b02b9(0xa8));return _0xec3fe4[_0x1b02b9(0x8c)](_0x36b6c0,o[_0x1b02b9(0x8a)]);}async[_0x32fb12(0x95)](_0x419e0b){const _0x24b813=_0x32fb12;return this[_0x24b813(0xa2)](_0x419e0b);}async[_0x32fb12(0xa2)](_0x12756d){const _0x33b4fb=_0x32fb12,_0x2391e5=this[_0x33b4fb(0x87)]['get'](r['IExchangeService']);if(!_0x2391e5)throw new Error(_0x33b4fb(0xa8));return _0x2391e5[_0x33b4fb(0x95)](_0x12756d);}async[_0x32fb12(0x97)](_0x5518db){const _0x1d5e60=_0x32fb12;return this[_0x1d5e60(0xa6)](_0x5518db);}async[_0x32fb12(0xa6)](_0x4db86a){const _0x33a393=_0x32fb12,_0xf78e08=this[_0x33a393(0x87)]['get'](r[_0x33a393(0x85)]);if(!_0xf78e08)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xf78e08[_0x33a393(0x97)](_0x4db86a);}async[_0x32fb12(0xab)](_0x4ae969){const _0x32ff2b=_0x32fb12;return this[_0x32ff2b(0x91)](_0x4ae969);}async[_0x32fb12(0x91)](_0x402b34){const _0x46fac0=_0x32fb12,_0x1658e6=this[_0x46fac0(0x87)][_0x46fac0(0xa7)](r[_0x46fac0(0x85)]);if(!_0x1658e6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1658e6[_0x46fac0(0xab)](_0x402b34);}async[_0x32fb12(0x86)](_0x1f94f9){const _0x338620=_0x32fb12;return this[_0x338620(0x88)](_0x1f94f9);}async[_0x32fb12(0x88)](_0x3f6eba){const _0x15b71c=_0x32fb12,_0x2c002c=this[_0x15b71c(0x87)][_0x15b71c(0xa7)](r[_0x15b71c(0x85)]);if(!_0x2c002c)throw new Error(_0x15b71c(0xa8));return _0x2c002c[_0x15b71c(0x8c)](_0x3f6eba,o[_0x15b71c(0x89)]);}async[_0x32fb12(0x8d)](_0x352b34){const _0xd772b0=_0x32fb12;return this[_0xd772b0(0xaa)](_0x352b34);}async[_0x32fb12(0xaa)](_0x4e79f6){const _0x1c0494=_0x32fb12,_0x3802a4=this['_injector'][_0x1c0494(0xa7)](r[_0x1c0494(0x85)]);if(!_0x3802a4)throw new Error(_0x1c0494(0xa8));return _0x3802a4['importDOCXToSnapshot'](_0x4e79f6);}}i[_0x32fb12(0x8f)][_0x32fb12(0x99)](c);