@univerjs-pro/exchange-client 0.6.10-experimental.20250428-2b6408c → 0.6.10-experimental.20250428-8c74c87

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 _0x3b9373=_0x26c7;(function(_0x1b8d6e,_0x27ea9e){const _0x193a2a=_0x26c7,_0x1024e7=_0x1b8d6e();while(!![]){try{const _0x3eb792=parseInt(_0x193a2a(0x126))/0x1*(parseInt(_0x193a2a(0x12d))/0x2)+parseInt(_0x193a2a(0x130))/0x3*(-parseInt(_0x193a2a(0x11a))/0x4)+parseInt(_0x193a2a(0x119))/0x5+parseInt(_0x193a2a(0x12b))/0x6+parseInt(_0x193a2a(0x132))/0x7*(parseInt(_0x193a2a(0x133))/0x8)+-parseInt(_0x193a2a(0x124))/0x9+parseInt(_0x193a2a(0x11f))/0xa;if(_0x3eb792===_0x27ea9e)break;else _0x1024e7['push'](_0x1024e7['shift']());}catch(_0x86e50f){_0x1024e7['push'](_0x1024e7['shift']());}}}(_0x5126,0x3f8c0));const r=require('@univerjs-pro/exchange-client'),i=require(_0x3b9373(0x121));var o=(_0x1ddfdb=>(_0x1ddfdb[_0x1ddfdb['UNIVER_UNKNOWN']=0x0]=_0x3b9373(0x128),_0x1ddfdb[_0x1ddfdb[_0x3b9373(0x12e)]=0x1]=_0x3b9373(0x12e),_0x1ddfdb[_0x1ddfdb[_0x3b9373(0x11c)]=0x2]=_0x3b9373(0x11c),_0x1ddfdb[_0x1ddfdb[_0x3b9373(0x11d)]=0x3]=_0x3b9373(0x11d),_0x1ddfdb[_0x1ddfdb[_0x3b9373(0x129)]=0x4]='UNIVER_PROJECT',_0x1ddfdb[_0x1ddfdb[_0x3b9373(0x116)]=-0x1]=_0x3b9373(0x116),_0x1ddfdb))(o||{});function _0x26c7(_0x458919,_0xdf93e9){const _0x51266c=_0x5126();return _0x26c7=function(_0x26c7e7,_0x27c162){_0x26c7e7=_0x26c7e7-0x115;let _0x526856=_0x51266c[_0x26c7e7];return _0x526856;},_0x26c7(_0x458919,_0xdf93e9);}class c extends i[_0x3b9373(0x12c)]{async[_0x3b9373(0x134)](_0xb25110){const _0x5c64d4=_0x3b9373;return this[_0x5c64d4(0x123)](_0xb25110);}async[_0x3b9373(0x123)](_0x3ae8ab){const _0x26ad28=_0x3b9373,_0x395377=this[_0x26ad28(0x120)][_0x26ad28(0x118)](r[_0x26ad28(0x12f)]);if(!_0x395377)throw new Error(_0x26ad28(0x125));return _0x395377[_0x26ad28(0x12a)](_0x3ae8ab,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0xf99712){const _0x1577a8=_0x3b9373;return this[_0x1577a8(0x117)](_0xf99712);}async[_0x3b9373(0x117)](_0x2e24e3){const _0x288593=_0x3b9373,_0x3f1508=this[_0x288593(0x120)][_0x288593(0x118)](r[_0x288593(0x12f)]);if(!_0x3f1508)throw new Error(_0x288593(0x125));return _0x3f1508[_0x288593(0x131)](_0x2e24e3);}async['exportXLSXByUnitId'](_0x1c64b1){return this['exportXLSXByUnitIdAsync'](_0x1c64b1);}async[_0x3b9373(0x122)](_0x13ce54){const _0x195000=_0x3b9373,_0x222980=this[_0x195000(0x120)][_0x195000(0x118)](r[_0x195000(0x12f)]);if(!_0x222980)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x222980['exportXLSXByUnitId'](_0x13ce54);}async[_0x3b9373(0x115)](_0x3520f4){return this['exportXLSXBySnapshotAsync'](_0x3520f4);}async['exportXLSXBySnapshotAsync'](_0x1fdde4){const _0x53c0e1=_0x3b9373,_0x48f13c=this['_injector']['get'](r[_0x53c0e1(0x12f)]);if(!_0x48f13c)throw new Error(_0x53c0e1(0x125));return _0x48f13c[_0x53c0e1(0x115)](_0x1fdde4);}async[_0x3b9373(0x11b)](_0x210d87){const _0xb72cf6=_0x3b9373;return this[_0xb72cf6(0x135)](_0x210d87);}async[_0x3b9373(0x135)](_0x23c332){const _0x1439ff=_0x3b9373,_0x3b9fe8=this[_0x1439ff(0x120)]['get'](r[_0x1439ff(0x12f)]);if(!_0x3b9fe8)throw new Error(_0x1439ff(0x125));return _0x3b9fe8[_0x1439ff(0x12a)](_0x23c332,o[_0x1439ff(0x12e)]);}async[_0x3b9373(0x11e)](_0x489065){const _0x599d80=_0x3b9373;return this[_0x599d80(0x127)](_0x489065);}async[_0x3b9373(0x127)](_0x3669da){const _0x165772=_0x3b9373,_0x41c665=this[_0x165772(0x120)][_0x165772(0x118)](r[_0x165772(0x12f)]);if(!_0x41c665)throw new Error(_0x165772(0x125));return _0x41c665[_0x165772(0x11e)](_0x3669da);}}i[_0x3b9373(0x12c)]['extend'](c);function _0x5126(){const _0x49f9a6=['importXLSXToSnapshot','105TuMZdT','130648omtKcU','importXLSXToUnitId','importDOCXToUnitIdAsync','exportXLSXBySnapshot','UNRECOGNIZED','importXLSXToSnapshotAsync','get','1295725AklFmG','4kenVTq','importDOCXToUnitId','UNIVER_SHEET','UNIVER_SLIDE','importDOCXToSnapshot','1692420oxDOIm','_injector','@univerjs/core/facade','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','3664098XhNVuM','The\x20exchange\x20service\x20is\x20not\x20available','244yFdGDT','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','UNIVER_PROJECT','importFileToUnitId','2434122BXLfyh','FUniver','566wtJTpT','UNIVER_DOC','IExchangeService','1442043oMwagH'];_0x5126=function(){return _0x49f9a6;};return _0x5126();}
1
+ 'use strict';const _0xad18fc=_0x9069;function _0x9069(_0xa5a78a,_0x51445f){const _0x1bb894=_0x1bb8();return _0x9069=function(_0x906947,_0x8fed3){_0x906947=_0x906947-0x12a;let _0x3ccb84=_0x1bb894[_0x906947];return _0x3ccb84;},_0x9069(_0xa5a78a,_0x51445f);}(function(_0xbadfd8,_0x2c7870){const _0x102296=_0x9069,_0xa1a458=_0xbadfd8();while(!![]){try{const _0x606274=parseInt(_0x102296(0x12a))/0x1+parseInt(_0x102296(0x13d))/0x2*(-parseInt(_0x102296(0x13b))/0x3)+-parseInt(_0x102296(0x14b))/0x4+parseInt(_0x102296(0x13e))/0x5+parseInt(_0x102296(0x12b))/0x6+-parseInt(_0x102296(0x144))/0x7*(-parseInt(_0x102296(0x139))/0x8)+-parseInt(_0x102296(0x149))/0x9*(-parseInt(_0x102296(0x140))/0xa);if(_0x606274===_0x2c7870)break;else _0xa1a458['push'](_0xa1a458['shift']());}catch(_0x45a460){_0xa1a458['push'](_0xa1a458['shift']());}}}(_0x1bb8,0xeb996));function _0x1bb8(){const _0x43fa74=['1511260mmgbqO','2206446VxImWh','extend','importFileToUnitId','exportXLSXBySnapshotAsync','UNIVER_SHEET','UNIVER_DOC','exportXLSXBySnapshot','UNRECOGNIZED','importDOCXToSnapshot','importXLSXToSnapshot','UNIVER_SLIDE','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','FUniver','8uHjeJB','exportXLSXByUnitId','2136369EVKGJa','exportXLSXByUnitIdAsync','2UGIlnz','1950350oOYsuA','get','730cgrkur','importXLSXToSnapshotAsync','@univerjs/core/facade','UNIVER_PROJECT','5127724avtrpk','importDOCXToUnitId','importDOCXToUnitIdAsync','IExchangeService','importDOCXToSnapshotAsync','12879kbSwjK','_injector','5715716xsJPCb','importXLSXToUnitIdAsync'];_0x1bb8=function(){return _0x43fa74;};return _0x1bb8();}const r=require('@univerjs-pro/exchange-client'),i=require(_0xad18fc(0x142));var o=(_0x1d1557=>(_0x1d1557[_0x1d1557[_0xad18fc(0x137)]=0x0]=_0xad18fc(0x137),_0x1d1557[_0x1d1557[_0xad18fc(0x130)]=0x1]=_0xad18fc(0x130),_0x1d1557[_0x1d1557[_0xad18fc(0x12f)]=0x2]=_0xad18fc(0x12f),_0x1d1557[_0x1d1557['UNIVER_SLIDE']=0x3]=_0xad18fc(0x135),_0x1d1557[_0x1d1557[_0xad18fc(0x143)]=0x4]='UNIVER_PROJECT',_0x1d1557[_0x1d1557[_0xad18fc(0x132)]=-0x1]=_0xad18fc(0x132),_0x1d1557))(o||{});class c extends i[_0xad18fc(0x138)]{async['importXLSXToUnitId'](_0x84fdde){const _0x4ff67f=_0xad18fc;return this[_0x4ff67f(0x14c)](_0x84fdde);}async[_0xad18fc(0x14c)](_0x39c41c){const _0x5a7ef3=_0xad18fc,_0x17ec09=this[_0x5a7ef3(0x14a)][_0x5a7ef3(0x13f)](r[_0x5a7ef3(0x147)]);if(!_0x17ec09)throw new Error(_0x5a7ef3(0x136));return _0x17ec09[_0x5a7ef3(0x12d)](_0x39c41c,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x1b3d03){const _0x1f6a60=_0xad18fc;return this[_0x1f6a60(0x141)](_0x1b3d03);}async[_0xad18fc(0x141)](_0x2cb25f){const _0x2494a1=_0xad18fc,_0x15e635=this[_0x2494a1(0x14a)][_0x2494a1(0x13f)](r[_0x2494a1(0x147)]);if(!_0x15e635)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x15e635[_0x2494a1(0x134)](_0x2cb25f);}async[_0xad18fc(0x13a)](_0x32dc53){const _0x187ba4=_0xad18fc;return this[_0x187ba4(0x13c)](_0x32dc53);}async[_0xad18fc(0x13c)](_0x56ff00){const _0x4f49c3=_0xad18fc,_0x476efa=this[_0x4f49c3(0x14a)][_0x4f49c3(0x13f)](r[_0x4f49c3(0x147)]);if(!_0x476efa)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x476efa[_0x4f49c3(0x13a)](_0x56ff00);}async[_0xad18fc(0x131)](_0x4f50ec){const _0x165a4b=_0xad18fc;return this[_0x165a4b(0x12e)](_0x4f50ec);}async[_0xad18fc(0x12e)](_0x45176f){const _0x1fba7d=_0xad18fc,_0x43dcb5=this['_injector'][_0x1fba7d(0x13f)](r[_0x1fba7d(0x147)]);if(!_0x43dcb5)throw new Error(_0x1fba7d(0x136));return _0x43dcb5[_0x1fba7d(0x131)](_0x45176f);}async[_0xad18fc(0x145)](_0x358306){return this['importDOCXToUnitIdAsync'](_0x358306);}async[_0xad18fc(0x146)](_0x39e15f){const _0x35375f=_0xad18fc,_0x5eccd4=this[_0x35375f(0x14a)][_0x35375f(0x13f)](r[_0x35375f(0x147)]);if(!_0x5eccd4)throw new Error(_0x35375f(0x136));return _0x5eccd4[_0x35375f(0x12d)](_0x39e15f,o[_0x35375f(0x130)]);}async['importDOCXToSnapshot'](_0x183028){const _0x839960=_0xad18fc;return this[_0x839960(0x148)](_0x183028);}async['importDOCXToSnapshotAsync'](_0x5db135){const _0x4ddf70=_0xad18fc,_0xe96159=this[_0x4ddf70(0x14a)][_0x4ddf70(0x13f)](r[_0x4ddf70(0x147)]);if(!_0xe96159)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xe96159[_0x4ddf70(0x133)](_0x5db135);}}i[_0xad18fc(0x138)][_0xad18fc(0x12c)](c);