@univerjs-pro/exchange-client 0.6.0-nightly.202502011605 → 0.6.0-nightly.202502021605

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 _0x3edc99=_0x458c;(function(_0x34aaee,_0x3f385a){const _0x15d16f=_0x458c,_0x4f3a01=_0x34aaee();while(!![]){try{const _0x5cc5c1=-parseInt(_0x15d16f(0x1fb))/0x1*(-parseInt(_0x15d16f(0x1eb))/0x2)+parseInt(_0x15d16f(0x206))/0x3*(parseInt(_0x15d16f(0x1f1))/0x4)+parseInt(_0x15d16f(0x203))/0x5+-parseInt(_0x15d16f(0x1fe))/0x6+-parseInt(_0x15d16f(0x1fc))/0x7+-parseInt(_0x15d16f(0x207))/0x8*(-parseInt(_0x15d16f(0x200))/0x9)+-parseInt(_0x15d16f(0x1f8))/0xa*(-parseInt(_0x15d16f(0x1ed))/0xb);if(_0x5cc5c1===_0x3f385a)break;else _0x4f3a01['push'](_0x4f3a01['shift']());}catch(_0x1e41d0){_0x4f3a01['push'](_0x4f3a01['shift']());}}}(_0x5a25,0xc0252));function _0x458c(_0x564242,_0x3fd0ee){const _0x5a2588=_0x5a25();return _0x458c=function(_0x458caf,_0x8db7b1){_0x458caf=_0x458caf-0x1e6;let _0xb92f7f=_0x5a2588[_0x458caf];return _0xb92f7f;},_0x458c(_0x564242,_0x3fd0ee);}function _0x5a25(){const _0x1a4502=['706764bhyhwg','importDOCXToSnapshotAsync','1623033ZthWVG','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs-pro/exchange-client','4146365hGjmUH','importDOCXToUnitIdAsync','_injector','159oNHrYx','8yHiSqi','importXLSXToUnitIdAsync','extend','UNIVER_PROJECT','importXLSXToSnapshotAsync','importDOCXToUnitId','importFileToUnitId','FUniver','82204BJqRnh','UNIVER_UNKNOWN','11zkVnav','UNIVER_SLIDE','IExchangeService','UNIVER_SHEET','7052eGnKHk','exportXLSXBySnapshotAsync','get','exportXLSXByUnitIdAsync','UNRECOGNIZED','UNIVER_DOC','importXLSXToSnapshot','631450xLhhcQ','importDOCXToSnapshot','exportXLSXBySnapshot','23FXrZYw','8447040AzegMM','exportXLSXByUnitId'];_0x5a25=function(){return _0x1a4502;};return _0x5a25();}const r=require(_0x3edc99(0x202)),i=require('@univerjs/core');var o=(_0x4e075f=>(_0x4e075f[_0x4e075f[_0x3edc99(0x1ec)]=0x0]=_0x3edc99(0x1ec),_0x4e075f[_0x4e075f[_0x3edc99(0x1f6)]=0x1]=_0x3edc99(0x1f6),_0x4e075f[_0x4e075f['UNIVER_SHEET']=0x2]=_0x3edc99(0x1f0),_0x4e075f[_0x4e075f[_0x3edc99(0x1ee)]=0x3]='UNIVER_SLIDE',_0x4e075f[_0x4e075f[_0x3edc99(0x1e6)]=0x4]=_0x3edc99(0x1e6),_0x4e075f[_0x4e075f[_0x3edc99(0x1f5)]=-0x1]='UNRECOGNIZED',_0x4e075f))(o||{});class c extends i[_0x3edc99(0x1ea)]{async['importXLSXToUnitId'](_0x5e86b6){const _0x242654=_0x3edc99;return this[_0x242654(0x208)](_0x5e86b6);}async['importXLSXToUnitIdAsync'](_0xb12070){const _0x223c78=_0x3edc99,_0x275b07=this[_0x223c78(0x205)][_0x223c78(0x1f3)](r[_0x223c78(0x1ef)]);if(!_0x275b07)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x275b07['importFileToUnitId'](_0xb12070,o[_0x223c78(0x1f0)]);}async['importXLSXToSnapshot'](_0x17468e){const _0x3d04d9=_0x3edc99;return this[_0x3d04d9(0x1e7)](_0x17468e);}async[_0x3edc99(0x1e7)](_0x416574){const _0xceda6b=_0x3edc99,_0x69361d=this[_0xceda6b(0x205)][_0xceda6b(0x1f3)](r[_0xceda6b(0x1ef)]);if(!_0x69361d)throw new Error(_0xceda6b(0x201));return _0x69361d[_0xceda6b(0x1f7)](_0x416574);}async[_0x3edc99(0x1fd)](_0x435a82){const _0x5d3887=_0x3edc99;return this[_0x5d3887(0x1f4)](_0x435a82);}async[_0x3edc99(0x1f4)](_0x31fd71){const _0x410d9a=_0x3edc99,_0x4073b3=this[_0x410d9a(0x205)][_0x410d9a(0x1f3)](r['IExchangeService']);if(!_0x4073b3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4073b3[_0x410d9a(0x1fd)](_0x31fd71);}async['exportXLSXBySnapshot'](_0x122480){const _0x315c5a=_0x3edc99;return this[_0x315c5a(0x1f2)](_0x122480);}async[_0x3edc99(0x1f2)](_0x33365a){const _0x54ef56=_0x3edc99,_0x328a8e=this[_0x54ef56(0x205)][_0x54ef56(0x1f3)](r[_0x54ef56(0x1ef)]);if(!_0x328a8e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x328a8e[_0x54ef56(0x1fa)](_0x33365a);}async[_0x3edc99(0x1e8)](_0x41060b){const _0x37d784=_0x3edc99;return this[_0x37d784(0x204)](_0x41060b);}async[_0x3edc99(0x204)](_0x55ca0a){const _0x231772=_0x3edc99,_0x4ea39d=this[_0x231772(0x205)][_0x231772(0x1f3)](r[_0x231772(0x1ef)]);if(!_0x4ea39d)throw new Error(_0x231772(0x201));return _0x4ea39d[_0x231772(0x1e9)](_0x55ca0a,o[_0x231772(0x1f6)]);}async[_0x3edc99(0x1f9)](_0x407c6){const _0x27d771=_0x3edc99;return this[_0x27d771(0x1ff)](_0x407c6);}async[_0x3edc99(0x1ff)](_0x4b1aaf){const _0x6f5645=_0x3edc99,_0x375ac2=this['_injector'][_0x6f5645(0x1f3)](r[_0x6f5645(0x1ef)]);if(!_0x375ac2)throw new Error(_0x6f5645(0x201));return _0x375ac2[_0x6f5645(0x1f9)](_0x4b1aaf);}}i['FUniver'][_0x3edc99(0x209)](c);
1
+ 'use strict';const _0x1ff40d=_0x385d;function _0x3a12(){const _0x234ced=['_injector','get','importXLSXToUnitIdAsync','7776znjagI','importXLSXToUnitId','@univerjs-pro/exchange-client','10328464kMiXpV','exportXLSXByUnitIdAsync','2609784EMkCMo','UNIVER_SLIDE','importDOCXToSnapshotAsync','extend','importDOCXToUnitIdAsync','FUniver','6240536CObsPb','200035WnRIte','importXLSXToSnapshotAsync','@univerjs/core','7HmdiCE','40mSdPlz','importXLSXToSnapshot','importDOCXToSnapshot','2ZWuMyC','UNIVER_PROJECT','exportXLSXByUnitId','UNRECOGNIZED','exportXLSXBySnapshot','UNIVER_UNKNOWN','5546740JdkHXA','importFileToUnitId','IExchangeService','exportXLSXBySnapshotAsync','4967181ymoFik','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available'];_0x3a12=function(){return _0x234ced;};return _0x3a12();}(function(_0x18226d,_0x3e32a7){const _0x13b133=_0x385d,_0x21cdc7=_0x18226d();while(!![]){try{const _0x1ef346=-parseInt(_0x13b133(0xd2))/0x1*(-parseInt(_0x13b133(0xd9))/0x2)+parseInt(_0x13b133(0xe3))/0x3+-parseInt(_0x13b133(0xd1))/0x4+-parseInt(_0x13b133(0xdf))/0x5+parseInt(_0x13b133(0xcb))/0x6+-parseInt(_0x13b133(0xd5))/0x7*(-parseInt(_0x13b133(0xec))/0x8)+parseInt(_0x13b133(0xe9))/0x9*(-parseInt(_0x13b133(0xd6))/0xa);if(_0x1ef346===_0x3e32a7)break;else _0x21cdc7['push'](_0x21cdc7['shift']());}catch(_0x4a76a8){_0x21cdc7['push'](_0x21cdc7['shift']());}}}(_0x3a12,0xdde2e));const r=require(_0x1ff40d(0xeb)),i=require(_0x1ff40d(0xd4));var o=(_0x6b9d4=>(_0x6b9d4[_0x6b9d4[_0x1ff40d(0xde)]=0x0]=_0x1ff40d(0xde),_0x6b9d4[_0x6b9d4[_0x1ff40d(0xe4)]=0x1]='UNIVER_DOC',_0x6b9d4[_0x6b9d4['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x6b9d4[_0x6b9d4['UNIVER_SLIDE']=0x3]=_0x1ff40d(0xcc),_0x6b9d4[_0x6b9d4[_0x1ff40d(0xda)]=0x4]=_0x1ff40d(0xda),_0x6b9d4[_0x6b9d4[_0x1ff40d(0xdc)]=-0x1]=_0x1ff40d(0xdc),_0x6b9d4))(o||{});function _0x385d(_0x5cafab,_0x2602b2){const _0x3a12e0=_0x3a12();return _0x385d=function(_0x385dc6,_0x271a03){_0x385dc6=_0x385dc6-0xcb;let _0x33230c=_0x3a12e0[_0x385dc6];return _0x33230c;},_0x385d(_0x5cafab,_0x2602b2);}class c extends i[_0x1ff40d(0xd0)]{async[_0x1ff40d(0xea)](_0x1a6d98){return this['importXLSXToUnitIdAsync'](_0x1a6d98);}async[_0x1ff40d(0xe8)](_0x14f097){const _0x27ade3=_0x1ff40d,_0x432f0d=this[_0x27ade3(0xe6)][_0x27ade3(0xe7)](r[_0x27ade3(0xe1)]);if(!_0x432f0d)throw new Error(_0x27ade3(0xe5));return _0x432f0d[_0x27ade3(0xe0)](_0x14f097,o['UNIVER_SHEET']);}async[_0x1ff40d(0xd7)](_0x4a9a86){const _0x4479e8=_0x1ff40d;return this[_0x4479e8(0xd3)](_0x4a9a86);}async[_0x1ff40d(0xd3)](_0x2e8def){const _0x5361ab=_0x1ff40d,_0x4ef8c9=this[_0x5361ab(0xe6)]['get'](r[_0x5361ab(0xe1)]);if(!_0x4ef8c9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4ef8c9[_0x5361ab(0xd7)](_0x2e8def);}async[_0x1ff40d(0xdb)](_0x27b432){return this['exportXLSXByUnitIdAsync'](_0x27b432);}async[_0x1ff40d(0xed)](_0x30e638){const _0x2fc692=_0x1ff40d,_0x30aa7f=this[_0x2fc692(0xe6)][_0x2fc692(0xe7)](r[_0x2fc692(0xe1)]);if(!_0x30aa7f)throw new Error(_0x2fc692(0xe5));return _0x30aa7f[_0x2fc692(0xdb)](_0x30e638);}async['exportXLSXBySnapshot'](_0x2c9f40){const _0x15eb95=_0x1ff40d;return this[_0x15eb95(0xe2)](_0x2c9f40);}async['exportXLSXBySnapshotAsync'](_0x3fc504){const _0x39b642=_0x1ff40d,_0xbf37e1=this[_0x39b642(0xe6)]['get'](r[_0x39b642(0xe1)]);if(!_0xbf37e1)throw new Error(_0x39b642(0xe5));return _0xbf37e1[_0x39b642(0xdd)](_0x3fc504);}async['importDOCXToUnitId'](_0x58859c){const _0x55d29c=_0x1ff40d;return this[_0x55d29c(0xcf)](_0x58859c);}async[_0x1ff40d(0xcf)](_0xcf0b81){const _0x2e8337=_0x1ff40d,_0x3b4052=this[_0x2e8337(0xe6)][_0x2e8337(0xe7)](r[_0x2e8337(0xe1)]);if(!_0x3b4052)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3b4052[_0x2e8337(0xe0)](_0xcf0b81,o[_0x2e8337(0xe4)]);}async[_0x1ff40d(0xd8)](_0x4c6848){return this['importDOCXToSnapshotAsync'](_0x4c6848);}async[_0x1ff40d(0xcd)](_0x29821a){const _0x236470=_0x1ff40d,_0x35d537=this[_0x236470(0xe6)][_0x236470(0xe7)](r[_0x236470(0xe1)]);if(!_0x35d537)throw new Error(_0x236470(0xe5));return _0x35d537[_0x236470(0xd8)](_0x29821a);}}i['FUniver'][_0x1ff40d(0xce)](c);