@univerjs-pro/exchange-client 0.6.10-experimental.20250428-2b6408c → 0.6.10-experimental.20250428-63779a3

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';function _0x16f4(_0x3906aa,_0x2cbf19){const _0x386933=_0x3869();return _0x16f4=function(_0x16f4af,_0x329f69){_0x16f4af=_0x16f4af-0xe0;let _0x2c4264=_0x386933[_0x16f4af];return _0x2c4264;},_0x16f4(_0x3906aa,_0x2cbf19);}const _0x3abd43=_0x16f4;(function(_0x48aa73,_0x3cb363){const _0x32acbe=_0x16f4,_0x2e9064=_0x48aa73();while(!![]){try{const _0x55fa51=parseInt(_0x32acbe(0xe5))/0x1+parseInt(_0x32acbe(0xe7))/0x2+parseInt(_0x32acbe(0xf7))/0x3+parseInt(_0x32acbe(0xe4))/0x4+-parseInt(_0x32acbe(0xf8))/0x5+parseInt(_0x32acbe(0xeb))/0x6*(parseInt(_0x32acbe(0xf3))/0x7)+parseInt(_0x32acbe(0xfc))/0x8*(-parseInt(_0x32acbe(0xf0))/0x9);if(_0x55fa51===_0x3cb363)break;else _0x2e9064['push'](_0x2e9064['shift']());}catch(_0x39e2c7){_0x2e9064['push'](_0x2e9064['shift']());}}}(_0x3869,0x96bdd));const r=require('@univerjs-pro/exchange-client'),i=require(_0x3abd43(0xf6));var o=(_0x5b3422=>(_0x5b3422[_0x5b3422[_0x3abd43(0xe0)]=0x0]=_0x3abd43(0xe0),_0x5b3422[_0x5b3422[_0x3abd43(0xe2)]=0x1]='UNIVER_DOC',_0x5b3422[_0x5b3422[_0x3abd43(0xf2)]=0x2]=_0x3abd43(0xf2),_0x5b3422[_0x5b3422[_0x3abd43(0xef)]=0x3]=_0x3abd43(0xef),_0x5b3422[_0x5b3422[_0x3abd43(0xfe)]=0x4]='UNIVER_PROJECT',_0x5b3422[_0x5b3422['UNRECOGNIZED']=-0x1]=_0x3abd43(0xfa),_0x5b3422))(o||{});function _0x3869(){const _0xbd02fa=['importDOCXToUnitId','UNIVER_DOC','importDOCXToSnapshotAsync','134140sVZjgh','39473UWFWYD','importXLSXToSnapshot','1104498JqbqpU','importXLSXToSnapshotAsync','importDOCXToSnapshot','exportXLSXBySnapshot','12696IEUqVh','exportXLSXByUnitId','_injector','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','5986998raruHw','get','UNIVER_SHEET','1799XVGKgJ','exportXLSXByUnitIdAsync','IExchangeService','@univerjs/core/facade','1438632cTmiDd','1829770eNwkkr','importFileToUnitId','UNRECOGNIZED','extend','8qYOpJp','importXLSXToUnitIdAsync','UNIVER_PROJECT','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN'];_0x3869=function(){return _0xbd02fa;};return _0x3869();}class c extends i['FUniver']{async['importXLSXToUnitId'](_0x1e0e70){const _0x4f41ca=_0x3abd43;return this[_0x4f41ca(0xfd)](_0x1e0e70);}async[_0x3abd43(0xfd)](_0x46ab12){const _0x54693b=_0x3abd43,_0x3ef471=this['_injector'][_0x54693b(0xf1)](r[_0x54693b(0xf5)]);if(!_0x3ef471)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3ef471['importFileToUnitId'](_0x46ab12,o[_0x54693b(0xf2)]);}async['importXLSXToSnapshot'](_0x1d5e3c){const _0xf049e6=_0x3abd43;return this[_0xf049e6(0xe8)](_0x1d5e3c);}async[_0x3abd43(0xe8)](_0x29347e){const _0x5cbee3=_0x3abd43,_0x181120=this[_0x5cbee3(0xed)]['get'](r[_0x5cbee3(0xf5)]);if(!_0x181120)throw new Error(_0x5cbee3(0xee));return _0x181120[_0x5cbee3(0xe6)](_0x29347e);}async[_0x3abd43(0xec)](_0x270689){return this['exportXLSXByUnitIdAsync'](_0x270689);}async[_0x3abd43(0xf4)](_0x2e1c76){const _0xed7e83=_0x3abd43,_0x3ccdad=this[_0xed7e83(0xed)][_0xed7e83(0xf1)](r[_0xed7e83(0xf5)]);if(!_0x3ccdad)throw new Error(_0xed7e83(0xee));return _0x3ccdad[_0xed7e83(0xec)](_0x2e1c76);}async[_0x3abd43(0xea)](_0x3e45f3){return this['exportXLSXBySnapshotAsync'](_0x3e45f3);}async[_0x3abd43(0xff)](_0x56f795){const _0x57385b=_0x3abd43,_0x3d179a=this['_injector'][_0x57385b(0xf1)](r[_0x57385b(0xf5)]);if(!_0x3d179a)throw new Error(_0x57385b(0xee));return _0x3d179a[_0x57385b(0xea)](_0x56f795);}async[_0x3abd43(0xe1)](_0x4b1a6b){return this['importDOCXToUnitIdAsync'](_0x4b1a6b);}async['importDOCXToUnitIdAsync'](_0x33e20c){const _0x565306=_0x3abd43,_0x3b8a29=this[_0x565306(0xed)]['get'](r[_0x565306(0xf5)]);if(!_0x3b8a29)throw new Error(_0x565306(0xee));return _0x3b8a29[_0x565306(0xf9)](_0x33e20c,o[_0x565306(0xe2)]);}async[_0x3abd43(0xe9)](_0x10d954){const _0x51f770=_0x3abd43;return this[_0x51f770(0xe3)](_0x10d954);}async[_0x3abd43(0xe3)](_0x45a4ae){const _0x4d4461=_0x3abd43,_0x1758a3=this[_0x4d4461(0xed)][_0x4d4461(0xf1)](r[_0x4d4461(0xf5)]);if(!_0x1758a3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1758a3[_0x4d4461(0xe9)](_0x45a4ae);}}i['FUniver'][_0x3abd43(0xfb)](c);