@univerjs-pro/exchange-client 0.6.10-experimental.20250428-261c0dd → 0.6.10-experimental.20250428-ab93895

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 _0x206c(){const _0x4f001a=['importDOCXToSnapshot','18Reduci','UNRECOGNIZED','importDOCXToUnitIdAsync','exportXLSXByUnitId','FUniver','@univerjs-pro/exchange-client','UNIVER_UNKNOWN','1440865NvilJY','5659132NccIXt','exportXLSXBySnapshot','get','1555062BzKFdI','_injector','importDOCXToUnitId','7633016vSsXhZ','exportXLSXByUnitIdAsync','10516513LoITiB','importDOCXToSnapshotAsync','5JjbicH','UNIVER_PROJECT','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','extend','497502JUsgdL','importFileToUnitId','importXLSXToSnapshot','IExchangeService','2527172eZkhFa','importXLSXToSnapshotAsync','importXLSXToUnitId','UNIVER_SHEET','importXLSXToUnitIdAsync'];_0x206c=function(){return _0x4f001a;};return _0x206c();}const _0x4fbcb=_0x4727;(function(_0x402270,_0x2d4c74){const _0x3fa2ed=_0x4727,_0x401fd7=_0x402270();while(!![]){try{const _0x3909ed=parseInt(_0x3fa2ed(0xb1))/0x1+parseInt(_0x3fa2ed(0xc5))/0x2+parseInt(_0x3fa2ed(0xc1))/0x3+parseInt(_0x3fa2ed(0xb2))/0x4*(-parseInt(_0x3fa2ed(0xbc))/0x5)+-parseInt(_0x3fa2ed(0xb5))/0x6+parseInt(_0x3fa2ed(0xba))/0x7+parseInt(_0x3fa2ed(0xb8))/0x8*(-parseInt(_0x3fa2ed(0xcb))/0x9);if(_0x3909ed===_0x2d4c74)break;else _0x401fd7['push'](_0x401fd7['shift']());}catch(_0x2f2c74){_0x401fd7['push'](_0x401fd7['shift']());}}}(_0x206c,0xc0f9e));const r=require(_0x4fbcb(0xd0)),i=require('@univerjs/core/facade');var o=(_0x367c6c=>(_0x367c6c[_0x367c6c[_0x4fbcb(0xb0)]=0x0]='UNIVER_UNKNOWN',_0x367c6c[_0x367c6c['UNIVER_DOC']=0x1]=_0x4fbcb(0xbe),_0x367c6c[_0x367c6c[_0x4fbcb(0xc8)]=0x2]=_0x4fbcb(0xc8),_0x367c6c[_0x367c6c['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x367c6c[_0x367c6c[_0x4fbcb(0xbd)]=0x4]=_0x4fbcb(0xbd),_0x367c6c[_0x367c6c[_0x4fbcb(0xcc)]=-0x1]=_0x4fbcb(0xcc),_0x367c6c))(o||{});class c extends i['FUniver']{async[_0x4fbcb(0xc7)](_0x5e1e63){const _0x47f2b7=_0x4fbcb;return this[_0x47f2b7(0xc9)](_0x5e1e63);}async[_0x4fbcb(0xc9)](_0x43bb87){const _0x1190d2=_0x4fbcb,_0x551cf1=this[_0x1190d2(0xb6)]['get'](r[_0x1190d2(0xc4)]);if(!_0x551cf1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x551cf1[_0x1190d2(0xc2)](_0x43bb87,o['UNIVER_SHEET']);}async[_0x4fbcb(0xc3)](_0x55701c){const _0xfb11cc=_0x4fbcb;return this[_0xfb11cc(0xc6)](_0x55701c);}async[_0x4fbcb(0xc6)](_0x5b2ddf){const _0x4ef373=_0x4fbcb,_0x204ccd=this[_0x4ef373(0xb6)]['get'](r['IExchangeService']);if(!_0x204ccd)throw new Error(_0x4ef373(0xbf));return _0x204ccd[_0x4ef373(0xc3)](_0x5b2ddf);}async[_0x4fbcb(0xce)](_0x1864bb){const _0x5b06d2=_0x4fbcb;return this[_0x5b06d2(0xb9)](_0x1864bb);}async[_0x4fbcb(0xb9)](_0x27a760){const _0x4b30e7=_0x4fbcb,_0x200ce9=this['_injector'][_0x4b30e7(0xb4)](r[_0x4b30e7(0xc4)]);if(!_0x200ce9)throw new Error(_0x4b30e7(0xbf));return _0x200ce9[_0x4b30e7(0xce)](_0x27a760);}async['exportXLSXBySnapshot'](_0x5ef830){return this['exportXLSXBySnapshotAsync'](_0x5ef830);}async['exportXLSXBySnapshotAsync'](_0xd89b38){const _0x34198e=_0x4fbcb,_0x4004f9=this[_0x34198e(0xb6)][_0x34198e(0xb4)](r[_0x34198e(0xc4)]);if(!_0x4004f9)throw new Error(_0x34198e(0xbf));return _0x4004f9[_0x34198e(0xb3)](_0xd89b38);}async[_0x4fbcb(0xb7)](_0x5beb1a){return this['importDOCXToUnitIdAsync'](_0x5beb1a);}async[_0x4fbcb(0xcd)](_0x4975e9){const _0x176f71=_0x4fbcb,_0x311288=this[_0x176f71(0xb6)][_0x176f71(0xb4)](r[_0x176f71(0xc4)]);if(!_0x311288)throw new Error(_0x176f71(0xbf));return _0x311288['importFileToUnitId'](_0x4975e9,o['UNIVER_DOC']);}async[_0x4fbcb(0xca)](_0x109e9c){const _0x343bd7=_0x4fbcb;return this[_0x343bd7(0xbb)](_0x109e9c);}async['importDOCXToSnapshotAsync'](_0x8e01d5){const _0x40a65c=_0x4fbcb,_0x4736c6=this[_0x40a65c(0xb6)][_0x40a65c(0xb4)](r[_0x40a65c(0xc4)]);if(!_0x4736c6)throw new Error(_0x40a65c(0xbf));return _0x4736c6[_0x40a65c(0xca)](_0x8e01d5);}}function _0x4727(_0x53bd87,_0x38573e){const _0x206cdf=_0x206c();return _0x4727=function(_0x472760,_0x57b873){_0x472760=_0x472760-0xb0;let _0x88bb6c=_0x206cdf[_0x472760];return _0x88bb6c;},_0x4727(_0x53bd87,_0x38573e);}i[_0x4fbcb(0xcf)][_0x4fbcb(0xc0)](c);
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);