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

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 _0x8ab46a=_0x4aa8;(function(_0x44ad5f,_0x27f214){const _0x1bf7f5=_0x4aa8,_0x5afd24=_0x44ad5f();while(!![]){try{const _0x3b947f=-parseInt(_0x1bf7f5(0x1d0))/0x1+-parseInt(_0x1bf7f5(0x1d8))/0x2+parseInt(_0x1bf7f5(0x1ce))/0x3*(-parseInt(_0x1bf7f5(0x1e6))/0x4)+-parseInt(_0x1bf7f5(0x1e0))/0x5*(-parseInt(_0x1bf7f5(0x1d2))/0x6)+-parseInt(_0x1bf7f5(0x1eb))/0x7+parseInt(_0x1bf7f5(0x1db))/0x8+parseInt(_0x1bf7f5(0x1df))/0x9;if(_0x3b947f===_0x27f214)break;else _0x5afd24['push'](_0x5afd24['shift']());}catch(_0x513ae9){_0x5afd24['push'](_0x5afd24['shift']());}}}(_0x5f1a,0x6be7e));const r=require('@univerjs-pro/exchange-client'),i=require(_0x8ab46a(0x1d3));var o=(_0x4433fd=>(_0x4433fd[_0x4433fd[_0x8ab46a(0x1de)]=0x0]=_0x8ab46a(0x1de),_0x4433fd[_0x4433fd['UNIVER_DOC']=0x1]=_0x8ab46a(0x1ea),_0x4433fd[_0x4433fd[_0x8ab46a(0x1e7)]=0x2]=_0x8ab46a(0x1e7),_0x4433fd[_0x4433fd[_0x8ab46a(0x1d1)]=0x3]=_0x8ab46a(0x1d1),_0x4433fd[_0x4433fd[_0x8ab46a(0x1da)]=0x4]=_0x8ab46a(0x1da),_0x4433fd[_0x4433fd['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4433fd))(o||{});function _0x5f1a(){const _0x5013cf=['7879EmhbfQ','UNIVER_SLIDE','76764kSOHfi','@univerjs/core','exportXLSXByUnitIdAsync','exportXLSXBySnapshotAsync','FUniver','exportXLSXByUnitId','366156ooriGr','importDOCXToSnapshotAsync','UNIVER_PROJECT','766768tMGvuC','get','importFileToUnitId','UNIVER_UNKNOWN','4393305MshkYT','200KnZazj','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','IExchangeService','importXLSXToUnitIdAsync','100488oMmVjz','UNIVER_SHEET','importXLSXToSnapshot','exportXLSXBySnapshot','UNIVER_DOC','1656998Liblwt','_injector','27HVPndA','importDOCXToSnapshot'];_0x5f1a=function(){return _0x5013cf;};return _0x5f1a();}function _0x4aa8(_0x1e90de,_0x236e0b){const _0x5f1a29=_0x5f1a();return _0x4aa8=function(_0x4aa8f3,_0x1533a4){_0x4aa8f3=_0x4aa8f3-0x1cd;let _0x2bb803=_0x5f1a29[_0x4aa8f3];return _0x2bb803;},_0x4aa8(_0x1e90de,_0x236e0b);}class c extends i[_0x8ab46a(0x1d6)]{async['importXLSXToUnitId'](_0x72fd10){return this['importXLSXToUnitIdAsync'](_0x72fd10);}async[_0x8ab46a(0x1e5)](_0x90ce35){const _0x3f7c97=_0x8ab46a,_0x152862=this[_0x3f7c97(0x1cd)][_0x3f7c97(0x1dc)](r[_0x3f7c97(0x1e4)]);if(!_0x152862)throw new Error(_0x3f7c97(0x1e2));return _0x152862['importFileToUnitId'](_0x90ce35,o[_0x3f7c97(0x1e7)]);}async[_0x8ab46a(0x1e8)](_0x2a7f54){const _0x127706=_0x8ab46a;return this[_0x127706(0x1e3)](_0x2a7f54);}async['importXLSXToSnapshotAsync'](_0x17a44c){const _0x54a154=_0x8ab46a,_0x5dab78=this[_0x54a154(0x1cd)][_0x54a154(0x1dc)](r['IExchangeService']);if(!_0x5dab78)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5dab78['importXLSXToSnapshot'](_0x17a44c);}async[_0x8ab46a(0x1d7)](_0x4c1fe5){const _0x4a00f3=_0x8ab46a;return this[_0x4a00f3(0x1d4)](_0x4c1fe5);}async[_0x8ab46a(0x1d4)](_0x545103){const _0x58505b=_0x8ab46a,_0x396820=this[_0x58505b(0x1cd)][_0x58505b(0x1dc)](r[_0x58505b(0x1e4)]);if(!_0x396820)throw new Error(_0x58505b(0x1e2));return _0x396820[_0x58505b(0x1d7)](_0x545103);}async[_0x8ab46a(0x1e9)](_0x5282c3){const _0x34162b=_0x8ab46a;return this[_0x34162b(0x1d5)](_0x5282c3);}async[_0x8ab46a(0x1d5)](_0x48d699){const _0x56005a=_0x8ab46a,_0x2edc2c=this['_injector'][_0x56005a(0x1dc)](r[_0x56005a(0x1e4)]);if(!_0x2edc2c)throw new Error(_0x56005a(0x1e2));return _0x2edc2c[_0x56005a(0x1e9)](_0x48d699);}async['importDOCXToUnitId'](_0x5566ea){return this['importDOCXToUnitIdAsync'](_0x5566ea);}async[_0x8ab46a(0x1e1)](_0xf48ea){const _0x2f643c=_0x8ab46a,_0x3ac549=this[_0x2f643c(0x1cd)]['get'](r[_0x2f643c(0x1e4)]);if(!_0x3ac549)throw new Error(_0x2f643c(0x1e2));return _0x3ac549[_0x2f643c(0x1dd)](_0xf48ea,o[_0x2f643c(0x1ea)]);}async[_0x8ab46a(0x1cf)](_0x31fcf9){const _0x3d9684=_0x8ab46a;return this[_0x3d9684(0x1d9)](_0x31fcf9);}async[_0x8ab46a(0x1d9)](_0x52b434){const _0x58cb2e=_0x8ab46a,_0x4828af=this[_0x58cb2e(0x1cd)][_0x58cb2e(0x1dc)](r[_0x58cb2e(0x1e4)]);if(!_0x4828af)throw new Error(_0x58cb2e(0x1e2));return _0x4828af['importDOCXToSnapshot'](_0x52b434);}}i[_0x8ab46a(0x1d6)]['extend'](c);
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);