@univerjs-pro/exchange-client 0.6.8 → 0.6.9-experimental.20250403-d914ddc

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 _0x4075(){const _0x7a3e9c=['exportXLSXBySnapshot','extend','importDOCXToUnitId','99HmYbwQ','importXLSXToSnapshotAsync','UNIVER_DOC','UNIVER_UNKNOWN','13351vaJxwZ','importDOCXToSnapshotAsync','400520eSAiMU','150910mSLsMM','2612VavclN','exportXLSXByUnitIdAsync','1051818dQspVI','268752TfDolg','importDOCXToSnapshot','importDOCXToUnitIdAsync','4960dtEBbN','696HXntWr','7QOZljA','UNIVER_SHEET','importXLSXToUnitId','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','385jSBEjO','@univerjs-pro/exchange-client','get','UNIVER_SLIDE','_injector','exportXLSXByUnitId','FUniver','UNIVER_PROJECT','importXLSXToUnitIdAsync','27jXoWCL','26GNVkzD','exportXLSXBySnapshotAsync','UNRECOGNIZED','importXLSXToSnapshot'];_0x4075=function(){return _0x7a3e9c;};return _0x4075();}function _0x4b86(_0x30f73f,_0xfc7745){const _0x40759b=_0x4075();return _0x4b86=function(_0x4b86df,_0x3cbf83){_0x4b86df=_0x4b86df-0xc6;let _0x80a02e=_0x40759b[_0x4b86df];return _0x80a02e;},_0x4b86(_0x30f73f,_0xfc7745);}const _0x50dfd5=_0x4b86;(function(_0x547313,_0x53e676){const _0x402bb4=_0x4b86,_0x36de88=_0x547313();while(!![]){try{const _0x37f3b4=-parseInt(_0x402bb4(0xd3))/0x1*(parseInt(_0x402bb4(0xe8))/0x2)+parseInt(_0x402bb4(0xe5))/0x3+parseInt(_0x402bb4(0xe2))/0x4*(-parseInt(_0x402bb4(0xc9))/0x5)+parseInt(_0x402bb4(0xe4))/0x6*(parseInt(_0x402bb4(0xea))/0x7)+-parseInt(_0x402bb4(0xe0))/0x8*(-parseInt(_0x402bb4(0xd2))/0x9)+-parseInt(_0x402bb4(0xe1))/0xa*(parseInt(_0x402bb4(0xda))/0xb)+-parseInt(_0x402bb4(0xe9))/0xc*(parseInt(_0x402bb4(0xde))/0xd);if(_0x37f3b4===_0x53e676)break;else _0x36de88['push'](_0x36de88['shift']());}catch(_0x274b15){_0x36de88['push'](_0x36de88['shift']());}}}(_0x4075,0x199e8));const r=require(_0x50dfd5(0xca)),i=require('@univerjs/core/facade');var o=(_0x352e9f=>(_0x352e9f[_0x352e9f[_0x50dfd5(0xdd)]=0x0]=_0x50dfd5(0xdd),_0x352e9f[_0x352e9f[_0x50dfd5(0xdc)]=0x1]='UNIVER_DOC',_0x352e9f[_0x352e9f[_0x50dfd5(0xeb)]=0x2]='UNIVER_SHEET',_0x352e9f[_0x352e9f['UNIVER_SLIDE']=0x3]=_0x50dfd5(0xcc),_0x352e9f[_0x352e9f['UNIVER_PROJECT']=0x4]=_0x50dfd5(0xd0),_0x352e9f[_0x352e9f[_0x50dfd5(0xd5)]=-0x1]=_0x50dfd5(0xd5),_0x352e9f))(o||{});class c extends i[_0x50dfd5(0xcf)]{async[_0x50dfd5(0xec)](_0x2792e5){const _0x18be3d=_0x50dfd5;return this[_0x18be3d(0xd1)](_0x2792e5);}async['importXLSXToUnitIdAsync'](_0x557877){const _0x137a2c=_0x50dfd5,_0x33c7d8=this[_0x137a2c(0xcd)][_0x137a2c(0xcb)](r[_0x137a2c(0xc8)]);if(!_0x33c7d8)throw new Error(_0x137a2c(0xc7));return _0x33c7d8[_0x137a2c(0xc6)](_0x557877,o['UNIVER_SHEET']);}async[_0x50dfd5(0xd6)](_0x3fb9e9){const _0x42ec95=_0x50dfd5;return this[_0x42ec95(0xdb)](_0x3fb9e9);}async[_0x50dfd5(0xdb)](_0x53dc58){const _0xdd0c0c=_0x50dfd5,_0x2f948c=this[_0xdd0c0c(0xcd)][_0xdd0c0c(0xcb)](r[_0xdd0c0c(0xc8)]);if(!_0x2f948c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2f948c[_0xdd0c0c(0xd6)](_0x53dc58);}async['exportXLSXByUnitId'](_0x1f55fb){const _0x3baa53=_0x50dfd5;return this[_0x3baa53(0xe3)](_0x1f55fb);}async[_0x50dfd5(0xe3)](_0x20adca){const _0x264d95=_0x50dfd5,_0x34190a=this[_0x264d95(0xcd)][_0x264d95(0xcb)](r[_0x264d95(0xc8)]);if(!_0x34190a)throw new Error(_0x264d95(0xc7));return _0x34190a[_0x264d95(0xce)](_0x20adca);}async[_0x50dfd5(0xd7)](_0x58ae6c){const _0x52d037=_0x50dfd5;return this[_0x52d037(0xd4)](_0x58ae6c);}async[_0x50dfd5(0xd4)](_0x460a17){const _0x5dd4b0=_0x50dfd5,_0x4eefb6=this[_0x5dd4b0(0xcd)]['get'](r['IExchangeService']);if(!_0x4eefb6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4eefb6[_0x5dd4b0(0xd7)](_0x460a17);}async[_0x50dfd5(0xd9)](_0x6a3e65){const _0x51c9ad=_0x50dfd5;return this[_0x51c9ad(0xe7)](_0x6a3e65);}async[_0x50dfd5(0xe7)](_0x546d1c){const _0x449a68=_0x50dfd5,_0x556d1f=this[_0x449a68(0xcd)]['get'](r[_0x449a68(0xc8)]);if(!_0x556d1f)throw new Error(_0x449a68(0xc7));return _0x556d1f[_0x449a68(0xc6)](_0x546d1c,o[_0x449a68(0xdc)]);}async[_0x50dfd5(0xe6)](_0x4c58f6){const _0x29fd9=_0x50dfd5;return this[_0x29fd9(0xdf)](_0x4c58f6);}async[_0x50dfd5(0xdf)](_0x37c5d9){const _0x3fb9da=_0x50dfd5,_0x3d537c=this[_0x3fb9da(0xcd)][_0x3fb9da(0xcb)](r[_0x3fb9da(0xc8)]);if(!_0x3d537c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3d537c[_0x3fb9da(0xe6)](_0x37c5d9);}}i[_0x50dfd5(0xcf)][_0x50dfd5(0xd8)](c);
1
+ 'use strict';const _0x2e0b46=_0x2bf6;function _0x2bf6(_0x3979f2,_0x924d1){const _0x16f0d7=_0x16f0();return _0x2bf6=function(_0x2bf63a,_0x2b32ca){_0x2bf63a=_0x2bf63a-0x158;let _0xfaede3=_0x16f0d7[_0x2bf63a];return _0xfaede3;},_0x2bf6(_0x3979f2,_0x924d1);}(function(_0x38f2fa,_0x51b293){const _0x53a2fa=_0x2bf6,_0xfe9e78=_0x38f2fa();while(!![]){try{const _0x3049a0=parseInt(_0x53a2fa(0x164))/0x1+parseInt(_0x53a2fa(0x179))/0x2*(parseInt(_0x53a2fa(0x171))/0x3)+parseInt(_0x53a2fa(0x160))/0x4*(parseInt(_0x53a2fa(0x169))/0x5)+parseInt(_0x53a2fa(0x165))/0x6+parseInt(_0x53a2fa(0x15c))/0x7+parseInt(_0x53a2fa(0x159))/0x8*(parseInt(_0x53a2fa(0x158))/0x9)+-parseInt(_0x53a2fa(0x15e))/0xa*(parseInt(_0x53a2fa(0x163))/0xb);if(_0x3049a0===_0x51b293)break;else _0xfe9e78['push'](_0xfe9e78['shift']());}catch(_0x5948f0){_0xfe9e78['push'](_0xfe9e78['shift']());}}}(_0x16f0,0xc1c35));function _0x16f0(){const _0x527eb4=['UNIVER_SHEET','importXLSXToUnitId','UNIVER_SLIDE','get','exportXLSXByUnitId','IExchangeService','FUniver','21RZDmrm','_injector','importDOCXToSnapshotAsync','@univerjs/core/facade','importDOCXToUnitIdAsync','importDOCXToUnitId','UNIVER_PROJECT','UNRECOGNIZED','170278eHtlMQ','importXLSXToUnitIdAsync','importDOCXToSnapshot','18153lkuLrq','3064NfNlfM','importFileToUnitId','@univerjs-pro/exchange-client','5621497OaSgpZ','The\x20exchange\x20service\x20is\x20not\x20available','10BUYeQi','exportXLSXByUnitIdAsync','5850124aJKAVT','exportXLSXBySnapshot','importXLSXToSnapshotAsync','46914571FRoJzX','654668zGonSc','4619160TXSniY','importXLSXToSnapshot','UNIVER_DOC','exportXLSXBySnapshotAsync','5kuiJyW'];_0x16f0=function(){return _0x527eb4;};return _0x16f0();}const r=require(_0x2e0b46(0x15b)),i=require(_0x2e0b46(0x174));var o=(_0x444b9f=>(_0x444b9f[_0x444b9f['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x444b9f[_0x444b9f[_0x2e0b46(0x167)]=0x1]='UNIVER_DOC',_0x444b9f[_0x444b9f[_0x2e0b46(0x16a)]=0x2]=_0x2e0b46(0x16a),_0x444b9f[_0x444b9f[_0x2e0b46(0x16c)]=0x3]=_0x2e0b46(0x16c),_0x444b9f[_0x444b9f[_0x2e0b46(0x177)]=0x4]=_0x2e0b46(0x177),_0x444b9f[_0x444b9f[_0x2e0b46(0x178)]=-0x1]=_0x2e0b46(0x178),_0x444b9f))(o||{});class c extends i[_0x2e0b46(0x170)]{async[_0x2e0b46(0x16b)](_0x576227){const _0x117b09=_0x2e0b46;return this[_0x117b09(0x17a)](_0x576227);}async[_0x2e0b46(0x17a)](_0x12f91b){const _0x7f478d=_0x2e0b46,_0x3af799=this[_0x7f478d(0x172)]['get'](r['IExchangeService']);if(!_0x3af799)throw new Error(_0x7f478d(0x15d));return _0x3af799[_0x7f478d(0x15a)](_0x12f91b,o[_0x7f478d(0x16a)]);}async[_0x2e0b46(0x166)](_0x4babc2){const _0x72fec4=_0x2e0b46;return this[_0x72fec4(0x162)](_0x4babc2);}async['importXLSXToSnapshotAsync'](_0x3490d9){const _0x392eee=_0x2e0b46,_0x3bdefb=this[_0x392eee(0x172)][_0x392eee(0x16d)](r[_0x392eee(0x16f)]);if(!_0x3bdefb)throw new Error(_0x392eee(0x15d));return _0x3bdefb['importXLSXToSnapshot'](_0x3490d9);}async[_0x2e0b46(0x16e)](_0x1c0a6c){const _0x42b296=_0x2e0b46;return this[_0x42b296(0x15f)](_0x1c0a6c);}async[_0x2e0b46(0x15f)](_0x1bc0c6){const _0x13b34a=_0x2e0b46,_0x44c153=this[_0x13b34a(0x172)]['get'](r[_0x13b34a(0x16f)]);if(!_0x44c153)throw new Error(_0x13b34a(0x15d));return _0x44c153['exportXLSXByUnitId'](_0x1bc0c6);}async[_0x2e0b46(0x161)](_0x3a1b37){const _0x4d19c0=_0x2e0b46;return this[_0x4d19c0(0x168)](_0x3a1b37);}async[_0x2e0b46(0x168)](_0xcc4bd1){const _0x447b41=_0x2e0b46,_0x54e19b=this[_0x447b41(0x172)][_0x447b41(0x16d)](r[_0x447b41(0x16f)]);if(!_0x54e19b)throw new Error(_0x447b41(0x15d));return _0x54e19b['exportXLSXBySnapshot'](_0xcc4bd1);}async[_0x2e0b46(0x176)](_0x217885){const _0x193003=_0x2e0b46;return this[_0x193003(0x175)](_0x217885);}async[_0x2e0b46(0x175)](_0x145ca6){const _0x2c222a=_0x2e0b46,_0x539e8a=this[_0x2c222a(0x172)][_0x2c222a(0x16d)](r[_0x2c222a(0x16f)]);if(!_0x539e8a)throw new Error(_0x2c222a(0x15d));return _0x539e8a[_0x2c222a(0x15a)](_0x145ca6,o[_0x2c222a(0x167)]);}async['importDOCXToSnapshot'](_0xd1af7b){const _0x13af8d=_0x2e0b46;return this[_0x13af8d(0x173)](_0xd1af7b);}async[_0x2e0b46(0x173)](_0x178fa8){const _0x324fba=_0x2e0b46,_0x103dde=this['_injector'][_0x324fba(0x16d)](r[_0x324fba(0x16f)]);if(!_0x103dde)throw new Error(_0x324fba(0x15d));return _0x103dde[_0x324fba(0x17b)](_0x178fa8);}}i[_0x2e0b46(0x170)]['extend'](c);