@univerjs-pro/exchange-client 0.5.4-nightly.202501151606 → 0.5.4-nightly.202501160647

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 _0x190a22=_0x320b;(function(_0x4df38,_0x4bbc33){const _0x1af820=_0x320b,_0x369d2d=_0x4df38();while(!![]){try{const _0x5ed74d=parseInt(_0x1af820(0x8f))/0x1+-parseInt(_0x1af820(0xa2))/0x2+-parseInt(_0x1af820(0x87))/0x3+parseInt(_0x1af820(0x9b))/0x4+-parseInt(_0x1af820(0x8a))/0x5+-parseInt(_0x1af820(0xa1))/0x6*(parseInt(_0x1af820(0x97))/0x7)+-parseInt(_0x1af820(0x88))/0x8*(-parseInt(_0x1af820(0xa0))/0x9);if(_0x5ed74d===_0x4bbc33)break;else _0x369d2d['push'](_0x369d2d['shift']());}catch(_0x153fef){_0x369d2d['push'](_0x369d2d['shift']());}}}(_0x22a4,0x350cf));const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core');function _0x320b(_0x5579c0,_0x403717){const _0x22a464=_0x22a4();return _0x320b=function(_0x320b43,_0x16745d){_0x320b43=_0x320b43-0x86;let _0x1e8d16=_0x22a464[_0x320b43];return _0x1e8d16;},_0x320b(_0x5579c0,_0x403717);}var o=(_0x2e655f=>(_0x2e655f[_0x2e655f[_0x190a22(0x86)]=0x0]=_0x190a22(0x86),_0x2e655f[_0x2e655f[_0x190a22(0x92)]=0x1]='UNIVER_DOC',_0x2e655f[_0x2e655f[_0x190a22(0x94)]=0x2]=_0x190a22(0x94),_0x2e655f[_0x2e655f[_0x190a22(0x9e)]=0x3]='UNIVER_SLIDE',_0x2e655f[_0x2e655f[_0x190a22(0x96)]=0x4]=_0x190a22(0x96),_0x2e655f[_0x2e655f[_0x190a22(0x9d)]=-0x1]=_0x190a22(0x9d),_0x2e655f))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x1a70f1){const _0x39cccc=_0x190a22;return this[_0x39cccc(0x9c)](_0x1a70f1);}async['importXLSXToUnitIdAsync'](_0x103157){const _0x4db973=_0x190a22,_0x119e46=this[_0x4db973(0x9f)][_0x4db973(0x8e)](r[_0x4db973(0xa4)]);if(!_0x119e46)throw new Error(_0x4db973(0x90));return _0x119e46['importFileToUnitId'](_0x103157,o[_0x4db973(0x94)]);}async[_0x190a22(0xa3)](_0x1960f2){const _0x486798=_0x190a22;return this[_0x486798(0x89)](_0x1960f2);}async[_0x190a22(0x89)](_0x4bb48b){const _0x95b677=_0x190a22,_0x47c931=this[_0x95b677(0x9f)][_0x95b677(0x8e)](r[_0x95b677(0xa4)]);if(!_0x47c931)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x47c931['importXLSXToSnapshot'](_0x4bb48b);}async[_0x190a22(0x98)](_0x2e49f7){const _0x3b149f=_0x190a22;return this[_0x3b149f(0x93)](_0x2e49f7);}async[_0x190a22(0x93)](_0x4c26be){const _0x2ec2ea=_0x190a22,_0x5db4c4=this['_injector'][_0x2ec2ea(0x8e)](r[_0x2ec2ea(0xa4)]);if(!_0x5db4c4)throw new Error(_0x2ec2ea(0x90));return _0x5db4c4[_0x2ec2ea(0x98)](_0x4c26be);}async[_0x190a22(0x9a)](_0x3d0aa6){const _0x2f7956=_0x190a22;return this[_0x2f7956(0x91)](_0x3d0aa6);}async[_0x190a22(0x91)](_0x4e127c){const _0x3c0d4c=_0x190a22,_0x25fc39=this['_injector'][_0x3c0d4c(0x8e)](r[_0x3c0d4c(0xa4)]);if(!_0x25fc39)throw new Error(_0x3c0d4c(0x90));return _0x25fc39['exportXLSXBySnapshot'](_0x4e127c);}async[_0x190a22(0x95)](_0x4001fa){const _0x90fa54=_0x190a22;return this[_0x90fa54(0x8d)](_0x4001fa);}async[_0x190a22(0x8d)](_0x3c4fa6){const _0x1b5553=_0x190a22,_0x2ed8e6=this[_0x1b5553(0x9f)][_0x1b5553(0x8e)](r[_0x1b5553(0xa4)]);if(!_0x2ed8e6)throw new Error(_0x1b5553(0x90));return _0x2ed8e6['importFileToUnitId'](_0x3c4fa6,o[_0x1b5553(0x92)]);}async[_0x190a22(0x8c)](_0x27a8b5){const _0x6c8e14=_0x190a22;return this[_0x6c8e14(0x99)](_0x27a8b5);}async[_0x190a22(0x99)](_0x7b5189){const _0x2d0e0c=_0x190a22,_0x677169=this[_0x2d0e0c(0x9f)][_0x2d0e0c(0x8e)](r[_0x2d0e0c(0xa4)]);if(!_0x677169)throw new Error(_0x2d0e0c(0x90));return _0x677169[_0x2d0e0c(0x8c)](_0x7b5189);}}i[_0x190a22(0x8b)]['extend'](c);function _0x22a4(){const _0x2d9440=['importXLSXToUnitIdAsync','UNRECOGNIZED','UNIVER_SLIDE','_injector','9YeHHJO','581142MyyKqD','866914xCOBBZ','importXLSXToSnapshot','IExchangeService','UNIVER_UNKNOWN','340596qRRKPY','3622096kLYQVn','importXLSXToSnapshotAsync','602890PEBSVk','FUniver','importDOCXToSnapshot','importDOCXToUnitIdAsync','get','213057aqRJkd','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync','UNIVER_DOC','exportXLSXByUnitIdAsync','UNIVER_SHEET','importDOCXToUnitId','UNIVER_PROJECT','7BpODfJ','exportXLSXByUnitId','importDOCXToSnapshotAsync','exportXLSXBySnapshot','1263600uhIYGC'];_0x22a4=function(){return _0x2d9440;};return _0x22a4();}
1
+ 'use strict';const _0xc81be7=_0x230c;function _0x230c(_0x1364a6,_0x2275b4){const _0x5d578a=_0x5d57();return _0x230c=function(_0x230c3d,_0x31941e){_0x230c3d=_0x230c3d-0xa6;let _0xdd1094=_0x5d578a[_0x230c3d];return _0xdd1094;},_0x230c(_0x1364a6,_0x2275b4);}(function(_0x30ff4f,_0x2a90fa){const _0x5b31c7=_0x230c,_0x321b45=_0x30ff4f();while(!![]){try{const _0x43b5df=-parseInt(_0x5b31c7(0xad))/0x1*(-parseInt(_0x5b31c7(0xb3))/0x2)+parseInt(_0x5b31c7(0xc2))/0x3*(parseInt(_0x5b31c7(0xa9))/0x4)+parseInt(_0x5b31c7(0xaa))/0x5+parseInt(_0x5b31c7(0xc4))/0x6+parseInt(_0x5b31c7(0xb9))/0x7*(parseInt(_0x5b31c7(0xaf))/0x8)+-parseInt(_0x5b31c7(0xc3))/0x9*(parseInt(_0x5b31c7(0xb4))/0xa)+-parseInt(_0x5b31c7(0xa8))/0xb;if(_0x43b5df===_0x2a90fa)break;else _0x321b45['push'](_0x321b45['shift']());}catch(_0x15f6e7){_0x321b45['push'](_0x321b45['shift']());}}}(_0x5d57,0xaa741));const r=require('@univerjs-pro/exchange-client'),i=require(_0xc81be7(0xba));var o=(_0x1a9592=>(_0x1a9592[_0x1a9592['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x1a9592[_0x1a9592['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x1a9592[_0x1a9592['UNIVER_SHEET']=0x2]=_0xc81be7(0xb0),_0x1a9592[_0x1a9592['UNIVER_SLIDE']=0x3]=_0xc81be7(0xb7),_0x1a9592[_0x1a9592[_0xc81be7(0xb5)]=0x4]='UNIVER_PROJECT',_0x1a9592[_0x1a9592[_0xc81be7(0xa7)]=-0x1]=_0xc81be7(0xa7),_0x1a9592))(o||{});class c extends i[_0xc81be7(0xbb)]{async[_0xc81be7(0xbe)](_0xedde4a){return this['importXLSXToUnitIdAsync'](_0xedde4a);}async[_0xc81be7(0xc7)](_0x51a1ac){const _0x562b1c=_0xc81be7,_0x2eedf1=this[_0x562b1c(0xb2)]['get'](r[_0x562b1c(0xc0)]);if(!_0x2eedf1)throw new Error(_0x562b1c(0xbf));return _0x2eedf1[_0x562b1c(0xab)](_0x51a1ac,o[_0x562b1c(0xb0)]);}async[_0xc81be7(0xc5)](_0x56901c){const _0x28bf42=_0xc81be7;return this[_0x28bf42(0xa6)](_0x56901c);}async['importXLSXToSnapshotAsync'](_0x5d113a){const _0x4a2be1=_0xc81be7,_0x2c5882=this[_0x4a2be1(0xb2)][_0x4a2be1(0xbd)](r['IExchangeService']);if(!_0x2c5882)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2c5882[_0x4a2be1(0xc5)](_0x5d113a);}async[_0xc81be7(0xb6)](_0x3ed68b){const _0xbda07a=_0xc81be7;return this[_0xbda07a(0xc1)](_0x3ed68b);}async[_0xc81be7(0xc1)](_0x2f9ced){const _0x4eeeb7=_0xc81be7,_0x243682=this['_injector']['get'](r[_0x4eeeb7(0xc0)]);if(!_0x243682)throw new Error(_0x4eeeb7(0xbf));return _0x243682[_0x4eeeb7(0xb6)](_0x2f9ced);}async[_0xc81be7(0xb8)](_0x35584b){const _0x2342bb=_0xc81be7;return this[_0x2342bb(0xc6)](_0x35584b);}async[_0xc81be7(0xc6)](_0x59cdae){const _0x29dded=_0xc81be7,_0x280322=this[_0x29dded(0xb2)]['get'](r[_0x29dded(0xc0)]);if(!_0x280322)throw new Error(_0x29dded(0xbf));return _0x280322[_0x29dded(0xb8)](_0x59cdae);}async[_0xc81be7(0xac)](_0x16aad7){const _0x369334=_0xc81be7;return this[_0x369334(0xbc)](_0x16aad7);}async[_0xc81be7(0xbc)](_0xd28735){const _0x977b88=_0xc81be7,_0x37c24c=this['_injector']['get'](r['IExchangeService']);if(!_0x37c24c)throw new Error(_0x977b88(0xbf));return _0x37c24c[_0x977b88(0xab)](_0xd28735,o[_0x977b88(0xb1)]);}async['importDOCXToSnapshot'](_0x3acd39){return this['importDOCXToSnapshotAsync'](_0x3acd39);}async['importDOCXToSnapshotAsync'](_0x20df5c){const _0x13f86f=_0xc81be7,_0x5ce602=this[_0x13f86f(0xb2)][_0x13f86f(0xbd)](r[_0x13f86f(0xc0)]);if(!_0x5ce602)throw new Error(_0x13f86f(0xbf));return _0x5ce602['importDOCXToSnapshot'](_0x20df5c);}}i['FUniver'][_0xc81be7(0xae)](c);function _0x5d57(){const _0x2c54cb=['importFileToUnitId','importDOCXToUnitId','19EgtWpx','extend','80112tajQBV','UNIVER_SHEET','UNIVER_DOC','_injector','77262bgACzB','20xJEOCT','UNIVER_PROJECT','exportXLSXByUnitId','UNIVER_SLIDE','exportXLSXBySnapshot','623gOrGhN','@univerjs/core','FUniver','importDOCXToUnitIdAsync','get','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','exportXLSXByUnitIdAsync','456876wzMPBj','5792814FZOsLc','4978236WlQRTF','importXLSXToSnapshot','exportXLSXBySnapshotAsync','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','UNRECOGNIZED','15734477ceJiLR','12aBMuQQ','2520295ZwwMMr'];_0x5d57=function(){return _0x2c54cb;};return _0x5d57();}