@univerjs-pro/exchange-client 0.9.2-nightly.202507111607 → 0.9.2

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 _0x4f7332=_0x1fa9;(function(_0x27d0db,_0x444bce){const _0x13a2d3=_0x1fa9,_0x383214=_0x27d0db();while(!![]){try{const _0x4a33ea=-parseInt(_0x13a2d3(0x16f))/0x1+-parseInt(_0x13a2d3(0x187))/0x2*(-parseInt(_0x13a2d3(0x166))/0x3)+parseInt(_0x13a2d3(0x176))/0x4+-parseInt(_0x13a2d3(0x168))/0x5*(parseInt(_0x13a2d3(0x173))/0x6)+-parseInt(_0x13a2d3(0x175))/0x7*(-parseInt(_0x13a2d3(0x178))/0x8)+parseInt(_0x13a2d3(0x16c))/0x9*(-parseInt(_0x13a2d3(0x17c))/0xa)+parseInt(_0x13a2d3(0x16a))/0xb;if(_0x4a33ea===_0x444bce)break;else _0x383214['push'](_0x383214['shift']());}catch(_0x790f4a){_0x383214['push'](_0x383214['shift']());}}}(_0x169a,0x1a6bc));function _0x169a(){const _0x32aaed=['The\x20exchange\x20service\x20is\x20not\x20available','25348JLrahd','UNIVER_PROJECT','UNIVER_SHEET','exportXLSXByUnitId','12RvOjNN','importDOCXToUnitId','65HMVlfk','exportDOCXByUnitId','2451328YJgrct','importXLSXToSnapshotAsync','1632087ktQviV','extend','FUniver','105023rcrADC','UNIVER_DOC','UNIVER_SLIDE','importDOCXToSnapshotAsync','600FNCIhq','_injector','285418TgFrPA','163176pYLbaW','exportXLSXBySnapshot','16QNxsNE','importDOCXToUnitIdAsync','exportXLSXByUnitIdAsync','importDOCXToSnapshot','10LiKgmQ','exportDOCXBySnapshot','importXLSXToSnapshot','get','exportDOCXBySnapshotAsync','IExchangeService','UNIVER_UNKNOWN','UNRECOGNIZED','importXLSXToUnitId','exportXLSXBySnapshotAsync'];_0x169a=function(){return _0x32aaed;};return _0x169a();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x1fa9(_0x35b51f,_0x36fedf){const _0x169a3e=_0x169a();return _0x1fa9=function(_0x1fa977,_0x5df5c7){_0x1fa977=_0x1fa977-0x165;let _0xe069ec=_0x169a3e[_0x1fa977];return _0xe069ec;},_0x1fa9(_0x35b51f,_0x36fedf);}var i=(_0x19482a=>(_0x19482a[_0x19482a[_0x4f7332(0x182)]=0x0]=_0x4f7332(0x182),_0x19482a[_0x19482a[_0x4f7332(0x170)]=0x1]='UNIVER_DOC',_0x19482a[_0x19482a[_0x4f7332(0x189)]=0x2]=_0x4f7332(0x189),_0x19482a[_0x19482a['UNIVER_SLIDE']=0x3]=_0x4f7332(0x171),_0x19482a[_0x19482a['UNIVER_PROJECT']=0x4]=_0x4f7332(0x188),_0x19482a[_0x19482a[_0x4f7332(0x183)]=-0x1]='UNRECOGNIZED',_0x19482a))(i||{});class c extends o['FUniver']{async[_0x4f7332(0x184)](_0x44b4fa){return this['importXLSXToUnitIdAsync'](_0x44b4fa);}async['importXLSXToUnitIdAsync'](_0x12a7b7){const _0x2e87f5=_0x4f7332,_0x58d0b1=this[_0x2e87f5(0x174)]['get'](r[_0x2e87f5(0x181)]);if(!_0x58d0b1)throw new Error(_0x2e87f5(0x186));return _0x58d0b1['importFileToUnitId'](_0x12a7b7,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x26b4cd){const _0x1f9e4c=_0x4f7332;return this[_0x1f9e4c(0x16b)](_0x26b4cd);}async[_0x4f7332(0x16b)](_0x134507){const _0xc24a8a=_0x4f7332,_0x5061d9=this[_0xc24a8a(0x174)][_0xc24a8a(0x17f)](r[_0xc24a8a(0x181)]);if(!_0x5061d9)throw new Error(_0xc24a8a(0x186));return _0x5061d9[_0xc24a8a(0x17e)](_0x134507);}async[_0x4f7332(0x165)](_0x43e30e){return this['exportXLSXByUnitIdAsync'](_0x43e30e);}async[_0x4f7332(0x17a)](_0x51a9f3){const _0x452c9e=_0x4f7332,_0x2299e3=this[_0x452c9e(0x174)]['get'](r[_0x452c9e(0x181)]);if(!_0x2299e3)throw new Error(_0x452c9e(0x186));return _0x2299e3['exportXLSXByUnitId'](_0x51a9f3);}async[_0x4f7332(0x177)](_0x33289a){const _0x4f4749=_0x4f7332;return this[_0x4f4749(0x185)](_0x33289a);}async[_0x4f7332(0x185)](_0x50ff92){const _0x54554a=_0x4f7332,_0x580c1d=this[_0x54554a(0x174)]['get'](r[_0x54554a(0x181)]);if(!_0x580c1d)throw new Error(_0x54554a(0x186));return _0x580c1d[_0x54554a(0x177)](_0x50ff92);}async[_0x4f7332(0x167)](_0x54e2e4){const _0x86a058=_0x4f7332;return this[_0x86a058(0x179)](_0x54e2e4);}async[_0x4f7332(0x179)](_0x42586b){const _0x55f70a=_0x4f7332,_0x2a33c5=this['_injector'][_0x55f70a(0x17f)](r[_0x55f70a(0x181)]);if(!_0x2a33c5)throw new Error(_0x55f70a(0x186));return _0x2a33c5['importFileToUnitId'](_0x42586b,i[_0x55f70a(0x170)]);}async['importDOCXToSnapshot'](_0x38e1a5){const _0x24cb3e=_0x4f7332;return this[_0x24cb3e(0x172)](_0x38e1a5);}async[_0x4f7332(0x172)](_0x14bec2){const _0x2a7f5f=_0x4f7332,_0x43eb2c=this[_0x2a7f5f(0x174)][_0x2a7f5f(0x17f)](r[_0x2a7f5f(0x181)]);if(!_0x43eb2c)throw new Error(_0x2a7f5f(0x186));return _0x43eb2c[_0x2a7f5f(0x17b)](_0x14bec2);}async[_0x4f7332(0x180)](_0x5c7325){const _0x38cc9d=_0x4f7332,_0x12c8cf=this['_injector']['get'](r['IExchangeService']);if(!_0x12c8cf)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x12c8cf[_0x38cc9d(0x17d)](_0x5c7325);}async['exportDOCXByUnitIdAsync'](_0x329e11){const _0x38b2ae=_0x4f7332,_0x300ede=this[_0x38b2ae(0x174)][_0x38b2ae(0x17f)](r[_0x38b2ae(0x181)]);if(!_0x300ede)throw new Error(_0x38b2ae(0x186));return _0x300ede[_0x38b2ae(0x169)](_0x329e11);}}o[_0x4f7332(0x16e)][_0x4f7332(0x16d)](c);
1
+ 'use strict';const _0x265365=_0x2863;(function(_0x43c854,_0x43f45a){const _0x1aa0bf=_0x2863,_0x57bfde=_0x43c854();while(!![]){try{const _0x29bfa6=-parseInt(_0x1aa0bf(0xce))/0x1+-parseInt(_0x1aa0bf(0xcf))/0x2*(-parseInt(_0x1aa0bf(0xe4))/0x3)+parseInt(_0x1aa0bf(0xde))/0x4+parseInt(_0x1aa0bf(0xc4))/0x5+-parseInt(_0x1aa0bf(0xe5))/0x6*(-parseInt(_0x1aa0bf(0xc9))/0x7)+-parseInt(_0x1aa0bf(0xc5))/0x8*(-parseInt(_0x1aa0bf(0xdb))/0x9)+parseInt(_0x1aa0bf(0xe2))/0xa*(-parseInt(_0x1aa0bf(0xd7))/0xb);if(_0x29bfa6===_0x43f45a)break;else _0x57bfde['push'](_0x57bfde['shift']());}catch(_0x9aa2a6){_0x57bfde['push'](_0x57bfde['shift']());}}}(_0x3b34,0x3ec57));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x5c3da3=>(_0x5c3da3[_0x5c3da3[_0x265365(0xd2)]=0x0]=_0x265365(0xd2),_0x5c3da3[_0x5c3da3['UNIVER_DOC']=0x1]=_0x265365(0xc6),_0x5c3da3[_0x5c3da3[_0x265365(0xd8)]=0x2]=_0x265365(0xd8),_0x5c3da3[_0x5c3da3[_0x265365(0xd0)]=0x3]=_0x265365(0xd0),_0x5c3da3[_0x5c3da3[_0x265365(0xe3)]=0x4]=_0x265365(0xe3),_0x5c3da3[_0x5c3da3[_0x265365(0xd9)]=-0x1]='UNRECOGNIZED',_0x5c3da3))(i||{});class c extends o[_0x265365(0xda)]{async[_0x265365(0xe1)](_0x459127){return this['importXLSXToUnitIdAsync'](_0x459127);}async[_0x265365(0xca)](_0x17bf10){const _0x4481c5=_0x265365,_0x31320d=this['_injector'][_0x4481c5(0xd3)](r[_0x4481c5(0xc7)]);if(!_0x31320d)throw new Error(_0x4481c5(0xc3));return _0x31320d[_0x4481c5(0xe0)](_0x17bf10,i[_0x4481c5(0xd8)]);}async[_0x265365(0xd5)](_0x1e4b7e){const _0x319e6c=_0x265365;return this[_0x319e6c(0xd6)](_0x1e4b7e);}async[_0x265365(0xd6)](_0x27c861){const _0x416049=_0x265365,_0xa21cb8=this['_injector'][_0x416049(0xd3)](r['IExchangeService']);if(!_0xa21cb8)throw new Error(_0x416049(0xc3));return _0xa21cb8['importXLSXToSnapshot'](_0x27c861);}async[_0x265365(0xcd)](_0x59458a){const _0x51e28c=_0x265365;return this[_0x51e28c(0xd4)](_0x59458a);}async['exportXLSXByUnitIdAsync'](_0x3908de){const _0x115b11=_0x265365,_0x403b64=this[_0x115b11(0xdd)][_0x115b11(0xd3)](r[_0x115b11(0xc7)]);if(!_0x403b64)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x403b64[_0x115b11(0xcd)](_0x3908de);}async[_0x265365(0xcb)](_0x22b8bd){const _0x473495=_0x265365;return this[_0x473495(0xdc)](_0x22b8bd);}async['exportXLSXBySnapshotAsync'](_0x198d3e){const _0x5276ae=_0x265365,_0x41668e=this['_injector']['get'](r['IExchangeService']);if(!_0x41668e)throw new Error(_0x5276ae(0xc3));return _0x41668e['exportXLSXBySnapshot'](_0x198d3e);}async[_0x265365(0xdf)](_0x4b678d){return this['importDOCXToUnitIdAsync'](_0x4b678d);}async['importDOCXToUnitIdAsync'](_0x13e351){const _0xa4f3b1=_0x265365,_0x5eaf1a=this[_0xa4f3b1(0xdd)][_0xa4f3b1(0xd3)](r[_0xa4f3b1(0xc7)]);if(!_0x5eaf1a)throw new Error(_0xa4f3b1(0xc3));return _0x5eaf1a[_0xa4f3b1(0xe0)](_0x13e351,i[_0xa4f3b1(0xc6)]);}async[_0x265365(0xc8)](_0x5bfa2b){const _0x3749cb=_0x265365;return this[_0x3749cb(0xcc)](_0x5bfa2b);}async[_0x265365(0xcc)](_0x2148d0){const _0x5cc6d7=_0x265365,_0x167483=this[_0x5cc6d7(0xdd)][_0x5cc6d7(0xd3)](r['IExchangeService']);if(!_0x167483)throw new Error(_0x5cc6d7(0xc3));return _0x167483[_0x5cc6d7(0xc8)](_0x2148d0);}async['exportDOCXBySnapshotAsync'](_0x4374d9){const _0x1c84e6=_0x265365,_0x2fa110=this[_0x1c84e6(0xdd)][_0x1c84e6(0xd3)](r[_0x1c84e6(0xc7)]);if(!_0x2fa110)throw new Error(_0x1c84e6(0xc3));return _0x2fa110['exportDOCXBySnapshot'](_0x4374d9);}async['exportDOCXByUnitIdAsync'](_0x53da84){const _0x5d2c26=_0x265365,_0x428f3c=this[_0x5d2c26(0xdd)][_0x5d2c26(0xd3)](r[_0x5d2c26(0xc7)]);if(!_0x428f3c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x428f3c[_0x5d2c26(0xd1)](_0x53da84);}}function _0x2863(_0x3f1cdb,_0x38768e){const _0x3b343e=_0x3b34();return _0x2863=function(_0x2863a5,_0x314ed7){_0x2863a5=_0x2863a5-0xc3;let _0x22811a=_0x3b343e[_0x2863a5];return _0x22811a;},_0x2863(_0x3f1cdb,_0x38768e);}function _0x3b34(){const _0xdd467c=['importXLSXToUnitIdAsync','exportXLSXBySnapshot','importDOCXToSnapshotAsync','exportXLSXByUnitId','228310Wozqzx','118436apZFac','UNIVER_SLIDE','exportDOCXByUnitId','UNIVER_UNKNOWN','get','exportXLSXByUnitIdAsync','importXLSXToSnapshot','importXLSXToSnapshotAsync','22NWmFIy','UNIVER_SHEET','UNRECOGNIZED','FUniver','18uTkDWo','exportXLSXBySnapshotAsync','_injector','1266480XdEpWC','importDOCXToUnitId','importFileToUnitId','importXLSXToUnitId','1913420tAHapS','UNIVER_PROJECT','24dnYBEI','6ryogIQ','The\x20exchange\x20service\x20is\x20not\x20available','78640NxAtaL','81080bznFum','UNIVER_DOC','IExchangeService','importDOCXToSnapshot','292201eNzNyv'];_0x3b34=function(){return _0xdd467c;};return _0x3b34();}o[_0x265365(0xda)]['extend'](c);