@univerjs-pro/exchange-client 0.6.8 → 0.6.9-nightly.202504021607

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 _0x35d31a=_0x3670;(function(_0x47d918,_0x40fb87){const _0x57f049=_0x3670,_0x1d2f35=_0x47d918();while(!![]){try{const _0x5dd709=parseInt(_0x57f049(0xc8))/0x1+parseInt(_0x57f049(0xcf))/0x2*(parseInt(_0x57f049(0xc5))/0x3)+-parseInt(_0x57f049(0xcd))/0x4+-parseInt(_0x57f049(0xd3))/0x5*(parseInt(_0x57f049(0xc9))/0x6)+-parseInt(_0x57f049(0xd0))/0x7*(parseInt(_0x57f049(0xdd))/0x8)+-parseInt(_0x57f049(0xdc))/0x9+-parseInt(_0x57f049(0xc0))/0xa*(-parseInt(_0x57f049(0xbf))/0xb);if(_0x5dd709===_0x40fb87)break;else _0x1d2f35['push'](_0x1d2f35['shift']());}catch(_0x4261e2){_0x1d2f35['push'](_0x1d2f35['shift']());}}}(_0x1ad6,0xb02d7));function _0x3670(_0x311f15,_0x3302e8){const _0x1ad6d4=_0x1ad6();return _0x3670=function(_0x367021,_0x792812){_0x367021=_0x367021-0xbf;let _0xbda5ae=_0x1ad6d4[_0x367021];return _0xbda5ae;},_0x3670(_0x311f15,_0x3302e8);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x35d31a(0xde));function _0x1ad6(){const _0x2496bc=['1365655gfKdOw','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','UNRECOGNIZED','UNIVER_SLIDE','UNIVER_SHEET','exportXLSXBySnapshot','UNIVER_PROJECT','importDOCXToSnapshotAsync','412578TItfqu','336WBvZRa','@univerjs/core/facade','importXLSXToUnitIdAsync','11BqnmXN','5077810OdFTIr','IExchangeService','importDOCXToSnapshot','FUniver','UNIVER_DOC','135327oIralv','exportXLSXByUnitId','importXLSXToSnapshotAsync','1197534BrYJvM','6VueKSt','importFileToUnitId','get','exportXLSXByUnitIdAsync','1052300qoIdsq','The\x20exchange\x20service\x20is\x20not\x20available','4nvQTPc','81977xUlDzH','importXLSXToSnapshot','_injector'];_0x1ad6=function(){return _0x2496bc;};return _0x1ad6();}var o=(_0x4c9d78=>(_0x4c9d78[_0x4c9d78['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x4c9d78[_0x4c9d78[_0x35d31a(0xc4)]=0x1]=_0x35d31a(0xc4),_0x4c9d78[_0x4c9d78['UNIVER_SHEET']=0x2]=_0x35d31a(0xd8),_0x4c9d78[_0x4c9d78['UNIVER_SLIDE']=0x3]=_0x35d31a(0xd7),_0x4c9d78[_0x4c9d78[_0x35d31a(0xda)]=0x4]=_0x35d31a(0xda),_0x4c9d78[_0x4c9d78[_0x35d31a(0xd6)]=-0x1]=_0x35d31a(0xd6),_0x4c9d78))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x4bbd5b){const _0x203d48=_0x35d31a;return this[_0x203d48(0xdf)](_0x4bbd5b);}async[_0x35d31a(0xdf)](_0x578ace){const _0x1138cb=_0x35d31a,_0x234702=this[_0x1138cb(0xd2)][_0x1138cb(0xcb)](r[_0x1138cb(0xc1)]);if(!_0x234702)throw new Error(_0x1138cb(0xce));return _0x234702[_0x1138cb(0xca)](_0x578ace,o['UNIVER_SHEET']);}async[_0x35d31a(0xd1)](_0x49efbe){return this['importXLSXToSnapshotAsync'](_0x49efbe);}async[_0x35d31a(0xc7)](_0x3b84fc){const _0x2b9740=_0x35d31a,_0x4e18c5=this[_0x2b9740(0xd2)][_0x2b9740(0xcb)](r[_0x2b9740(0xc1)]);if(!_0x4e18c5)throw new Error(_0x2b9740(0xce));return _0x4e18c5[_0x2b9740(0xd1)](_0x3b84fc);}async[_0x35d31a(0xc6)](_0x574bc7){const _0x82aa43=_0x35d31a;return this[_0x82aa43(0xcc)](_0x574bc7);}async[_0x35d31a(0xcc)](_0x43f849){const _0x5a0d84=_0x35d31a,_0x57beb9=this[_0x5a0d84(0xd2)]['get'](r[_0x5a0d84(0xc1)]);if(!_0x57beb9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x57beb9[_0x5a0d84(0xc6)](_0x43f849);}async[_0x35d31a(0xd9)](_0x34a8a0){const _0x465af5=_0x35d31a;return this[_0x465af5(0xd5)](_0x34a8a0);}async[_0x35d31a(0xd5)](_0x1d3775){const _0x3445c3=_0x35d31a,_0x479d65=this[_0x3445c3(0xd2)][_0x3445c3(0xcb)](r[_0x3445c3(0xc1)]);if(!_0x479d65)throw new Error(_0x3445c3(0xce));return _0x479d65['exportXLSXBySnapshot'](_0x1d3775);}async['importDOCXToUnitId'](_0x29f92b){const _0x32b65f=_0x35d31a;return this[_0x32b65f(0xd4)](_0x29f92b);}async[_0x35d31a(0xd4)](_0x7df6e9){const _0x36736c=_0x35d31a,_0x392729=this[_0x36736c(0xd2)][_0x36736c(0xcb)](r['IExchangeService']);if(!_0x392729)throw new Error(_0x36736c(0xce));return _0x392729['importFileToUnitId'](_0x7df6e9,o[_0x36736c(0xc4)]);}async['importDOCXToSnapshot'](_0x2a38cd){const _0x4b3da7=_0x35d31a;return this[_0x4b3da7(0xdb)](_0x2a38cd);}async['importDOCXToSnapshotAsync'](_0x220d83){const _0x3339a7=_0x35d31a,_0x488c43=this['_injector'][_0x3339a7(0xcb)](r[_0x3339a7(0xc1)]);if(!_0x488c43)throw new Error(_0x3339a7(0xce));return _0x488c43[_0x3339a7(0xc2)](_0x220d83);}}i[_0x35d31a(0xc3)]['extend'](c);