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

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 _0x393f94=_0x39d5;(function(_0x861c73,_0x51a89e){const _0x4551a4=_0x39d5,_0x2c83f6=_0x861c73();while(!![]){try{const _0x3bc938=-parseInt(_0x4551a4(0x1db))/0x1+-parseInt(_0x4551a4(0x1de))/0x2+-parseInt(_0x4551a4(0x1fa))/0x3+-parseInt(_0x4551a4(0x1dd))/0x4+parseInt(_0x4551a4(0x1ea))/0x5+-parseInt(_0x4551a4(0x1f7))/0x6+parseInt(_0x4551a4(0x1e8))/0x7*(parseInt(_0x4551a4(0x1e4))/0x8);if(_0x3bc938===_0x51a89e)break;else _0x2c83f6['push'](_0x2c83f6['shift']());}catch(_0x460797){_0x2c83f6['push'](_0x2c83f6['shift']());}}}(_0x2793,0xe9589));function _0x2793(){const _0x4caabc=['exportXLSXByUnitIdAsync','UNRECOGNIZED','exportXLSXBySnapshot','importDOCXToSnapshot','importXLSXToSnapshot','importXLSXToUnitIdAsync','UNIVER_UNKNOWN','exportXLSXByUnitId','UNIVER_SHEET','UNIVER_PROJECT','importXLSXToSnapshotAsync','FUniver','3826080PaFsEc','_injector','importDOCXToSnapshotAsync','5184621ueTdYo','importDOCXToUnitIdAsync','importFileToUnitId','1062859iQlunF','importDOCXToUnitId','2245424IuIEJW','1221746faYHsu','get','importXLSXToUnitId','UNIVER_SLIDE','IExchangeService','UNIVER_DOC','120wmSaFj','exportXLSXBySnapshotAsync','extend','The\x20exchange\x20service\x20is\x20not\x20available','2437729nWqmal','@univerjs/core/facade','1665275tnIxYA'];_0x2793=function(){return _0x4caabc;};return _0x2793();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x393f94(0x1e9));var o=(_0x148b02=>(_0x148b02[_0x148b02['UNIVER_UNKNOWN']=0x0]=_0x393f94(0x1f1),_0x148b02[_0x148b02[_0x393f94(0x1e3)]=0x1]=_0x393f94(0x1e3),_0x148b02[_0x148b02[_0x393f94(0x1f3)]=0x2]=_0x393f94(0x1f3),_0x148b02[_0x148b02[_0x393f94(0x1e1)]=0x3]='UNIVER_SLIDE',_0x148b02[_0x148b02['UNIVER_PROJECT']=0x4]=_0x393f94(0x1f4),_0x148b02[_0x148b02[_0x393f94(0x1ec)]=-0x1]=_0x393f94(0x1ec),_0x148b02))(o||{});function _0x39d5(_0x7ccaeb,_0x19f0c5){const _0x2793dc=_0x2793();return _0x39d5=function(_0x39d5a6,_0x5d5ec2){_0x39d5a6=_0x39d5a6-0x1d9;let _0x494922=_0x2793dc[_0x39d5a6];return _0x494922;},_0x39d5(_0x7ccaeb,_0x19f0c5);}class c extends i['FUniver']{async[_0x393f94(0x1e0)](_0x481e74){const _0x22ae80=_0x393f94;return this[_0x22ae80(0x1f0)](_0x481e74);}async[_0x393f94(0x1f0)](_0x44a292){const _0x31ed6a=_0x393f94,_0x1b8f21=this['_injector'][_0x31ed6a(0x1df)](r[_0x31ed6a(0x1e2)]);if(!_0x1b8f21)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b8f21[_0x31ed6a(0x1da)](_0x44a292,o['UNIVER_SHEET']);}async[_0x393f94(0x1ef)](_0x3c3786){const _0x54d562=_0x393f94;return this[_0x54d562(0x1f5)](_0x3c3786);}async['importXLSXToSnapshotAsync'](_0x167bd8){const _0x55dbbc=_0x393f94,_0x289ba4=this[_0x55dbbc(0x1f8)][_0x55dbbc(0x1df)](r[_0x55dbbc(0x1e2)]);if(!_0x289ba4)throw new Error(_0x55dbbc(0x1e7));return _0x289ba4['importXLSXToSnapshot'](_0x167bd8);}async[_0x393f94(0x1f2)](_0x3c027f){const _0x48c799=_0x393f94;return this[_0x48c799(0x1eb)](_0x3c027f);}async['exportXLSXByUnitIdAsync'](_0x28c153){const _0x30b123=_0x393f94,_0x5a1eca=this[_0x30b123(0x1f8)][_0x30b123(0x1df)](r[_0x30b123(0x1e2)]);if(!_0x5a1eca)throw new Error(_0x30b123(0x1e7));return _0x5a1eca[_0x30b123(0x1f2)](_0x28c153);}async[_0x393f94(0x1ed)](_0x558111){const _0x1b6aa6=_0x393f94;return this[_0x1b6aa6(0x1e5)](_0x558111);}async[_0x393f94(0x1e5)](_0x1cf53e){const _0x38662c=_0x393f94,_0x4a7e94=this[_0x38662c(0x1f8)]['get'](r[_0x38662c(0x1e2)]);if(!_0x4a7e94)throw new Error(_0x38662c(0x1e7));return _0x4a7e94['exportXLSXBySnapshot'](_0x1cf53e);}async[_0x393f94(0x1dc)](_0x6fcf5b){const _0x46548c=_0x393f94;return this[_0x46548c(0x1d9)](_0x6fcf5b);}async[_0x393f94(0x1d9)](_0x4499d4){const _0x3ff096=_0x393f94,_0x49e6d4=this[_0x3ff096(0x1f8)][_0x3ff096(0x1df)](r['IExchangeService']);if(!_0x49e6d4)throw new Error(_0x3ff096(0x1e7));return _0x49e6d4['importFileToUnitId'](_0x4499d4,o[_0x3ff096(0x1e3)]);}async[_0x393f94(0x1ee)](_0x263e28){return this['importDOCXToSnapshotAsync'](_0x263e28);}async[_0x393f94(0x1f9)](_0x31dee4){const _0x2c7d2d=_0x393f94,_0x293753=this[_0x2c7d2d(0x1f8)][_0x2c7d2d(0x1df)](r[_0x2c7d2d(0x1e2)]);if(!_0x293753)throw new Error(_0x2c7d2d(0x1e7));return _0x293753[_0x2c7d2d(0x1ee)](_0x31dee4);}}i[_0x393f94(0x1f6)][_0x393f94(0x1e6)](c);
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();}