@univerjs-pro/exchange-client 0.6.10-nightly.202504191606 → 0.6.10-nightly.202504221607

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 _0x3b8944=_0x4c7f;function _0xf0c2(){const _0x4a1f9e=['get','exportXLSXByUnitId','UNIVER_DOC','FUniver','UNIVER_SLIDE','36879aLAyOk','607242xlvSVc','importDOCXToUnitId','3eLEGmw','1074546SICLSX','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','@univerjs/core/facade','IExchangeService','importXLSXToUnitIdAsync','415624AuGKYe','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','4TqWZiZ','_injector','exportXLSXBySnapshotAsync','importXLSXToSnapshotAsync','UNIVER_SHEET','@univerjs-pro/exchange-client','1150247MkcBkg','exportXLSXBySnapshot','importDOCXToSnapshotAsync','importXLSXToSnapshot','965785DblhfJ','1626288WFpJMD','importDOCXToSnapshot','UNIVER_UNKNOWN','importXLSXToUnitId','UNIVER_PROJECT','extend'];_0xf0c2=function(){return _0x4a1f9e;};return _0xf0c2();}(function(_0x31a6e2,_0x388487){const _0x451890=_0x4c7f,_0x4fc98a=_0x31a6e2();while(!![]){try{const _0x360d1e=parseInt(_0x451890(0x149))/0x1*(parseInt(_0x451890(0x156))/0x2)+-parseInt(_0x451890(0x14c))/0x3*(parseInt(_0x451890(0x153))/0x4)+-parseInt(_0x451890(0x13d))/0x5+-parseInt(_0x451890(0x14a))/0x6+parseInt(_0x451890(0x139))/0x7+parseInt(_0x451890(0x13e))/0x8+parseInt(_0x451890(0x14d))/0x9;if(_0x360d1e===_0x388487)break;else _0x4fc98a['push'](_0x4fc98a['shift']());}catch(_0x52f7cc){_0x4fc98a['push'](_0x4fc98a['shift']());}}}(_0xf0c2,0x27ab9));const r=require(_0x3b8944(0x138)),i=require(_0x3b8944(0x150));var o=(_0x25c617=>(_0x25c617[_0x25c617[_0x3b8944(0x140)]=0x0]='UNIVER_UNKNOWN',_0x25c617[_0x25c617[_0x3b8944(0x146)]=0x1]='UNIVER_DOC',_0x25c617[_0x25c617[_0x3b8944(0x137)]=0x2]=_0x3b8944(0x137),_0x25c617[_0x25c617[_0x3b8944(0x148)]=0x3]=_0x3b8944(0x148),_0x25c617[_0x25c617[_0x3b8944(0x142)]=0x4]=_0x3b8944(0x142),_0x25c617[_0x25c617['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x25c617))(o||{});class c extends i[_0x3b8944(0x147)]{async[_0x3b8944(0x141)](_0x44ace2){const _0x4282db=_0x3b8944;return this[_0x4282db(0x152)](_0x44ace2);}async['importXLSXToUnitIdAsync'](_0x1e4d1c){const _0x166928=_0x3b8944,_0x4b44c9=this[_0x166928(0x157)][_0x166928(0x144)](r[_0x166928(0x151)]);if(!_0x4b44c9)throw new Error(_0x166928(0x14e));return _0x4b44c9[_0x166928(0x14f)](_0x1e4d1c,o[_0x166928(0x137)]);}async['importXLSXToSnapshot'](_0x4c19a0){const _0x16b3ef=_0x3b8944;return this[_0x16b3ef(0x136)](_0x4c19a0);}async['importXLSXToSnapshotAsync'](_0x5c8474){const _0x413ba1=_0x3b8944,_0x5367ed=this['_injector']['get'](r[_0x413ba1(0x151)]);if(!_0x5367ed)throw new Error(_0x413ba1(0x14e));return _0x5367ed[_0x413ba1(0x13c)](_0x5c8474);}async[_0x3b8944(0x145)](_0x5b3023){const _0x4b2695=_0x3b8944;return this[_0x4b2695(0x154)](_0x5b3023);}async[_0x3b8944(0x154)](_0x146bab){const _0x155ceb=_0x3b8944,_0x1d3536=this[_0x155ceb(0x157)][_0x155ceb(0x144)](r['IExchangeService']);if(!_0x1d3536)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1d3536['exportXLSXByUnitId'](_0x146bab);}async[_0x3b8944(0x13a)](_0x4a2403){const _0x558755=_0x3b8944;return this[_0x558755(0x158)](_0x4a2403);}async['exportXLSXBySnapshotAsync'](_0x22daa8){const _0x3700a9=_0x3b8944,_0x4df14c=this['_injector'][_0x3700a9(0x144)](r[_0x3700a9(0x151)]);if(!_0x4df14c)throw new Error(_0x3700a9(0x14e));return _0x4df14c[_0x3700a9(0x13a)](_0x22daa8);}async[_0x3b8944(0x14b)](_0x20c51a){return this['importDOCXToUnitIdAsync'](_0x20c51a);}async[_0x3b8944(0x155)](_0xb66103){const _0x524fff=_0x3b8944,_0x2bc887=this[_0x524fff(0x157)][_0x524fff(0x144)](r[_0x524fff(0x151)]);if(!_0x2bc887)throw new Error(_0x524fff(0x14e));return _0x2bc887[_0x524fff(0x14f)](_0xb66103,o[_0x524fff(0x146)]);}async[_0x3b8944(0x13f)](_0x3bccc1){const _0x37c4be=_0x3b8944;return this[_0x37c4be(0x13b)](_0x3bccc1);}async['importDOCXToSnapshotAsync'](_0x467659){const _0x1a2a96=_0x3b8944,_0x2f2593=this[_0x1a2a96(0x157)]['get'](r[_0x1a2a96(0x151)]);if(!_0x2f2593)throw new Error(_0x1a2a96(0x14e));return _0x2f2593[_0x1a2a96(0x13f)](_0x467659);}}function _0x4c7f(_0x29a5db,_0x345e79){const _0xf0c2bb=_0xf0c2();return _0x4c7f=function(_0x4c7fd7,_0x2a260b){_0x4c7fd7=_0x4c7fd7-0x136;let _0x40d5d3=_0xf0c2bb[_0x4c7fd7];return _0x40d5d3;},_0x4c7f(_0x29a5db,_0x345e79);}i['FUniver'][_0x3b8944(0x143)](c);
1
+ 'use strict';const _0x235011=_0x4574;(function(_0x3b40d7,_0x246065){const _0x1d7ac5=_0x4574,_0x44693a=_0x3b40d7();while(!![]){try{const _0x463e8a=parseInt(_0x1d7ac5(0xdf))/0x1+parseInt(_0x1d7ac5(0xe2))/0x2*(parseInt(_0x1d7ac5(0xca))/0x3)+parseInt(_0x1d7ac5(0xbf))/0x4+-parseInt(_0x1d7ac5(0xbe))/0x5+-parseInt(_0x1d7ac5(0xc4))/0x6*(-parseInt(_0x1d7ac5(0xdc))/0x7)+-parseInt(_0x1d7ac5(0xd0))/0x8*(-parseInt(_0x1d7ac5(0xce))/0x9)+-parseInt(_0x1d7ac5(0xcd))/0xa*(parseInt(_0x1d7ac5(0xe0))/0xb);if(_0x463e8a===_0x246065)break;else _0x44693a['push'](_0x44693a['shift']());}catch(_0x27864b){_0x44693a['push'](_0x44693a['shift']());}}}(_0x456f,0x5f317));const r=require(_0x235011(0xc3)),i=require(_0x235011(0xdd));function _0x456f(){const _0x23717f=['importDOCXToSnapshotAsync','importDOCXToSnapshot','_injector','UNIVER_SHEET','UNIVER_UNKNOWN','exportXLSXByUnitId','importXLSXToUnitIdAsync','exportXLSXBySnapshot','7PVJkDv','@univerjs/core/facade','importFileToUnitId','407439KzMrfy','33Dpauen','UNRECOGNIZED','131298uIGnjD','3872765NCEZcZ','739064uhilUT','UNIVER_PROJECT','importXLSXToSnapshot','extend','@univerjs-pro/exchange-client','3040446vqglgc','get','exportXLSXByUnitIdAsync','importDOCXToUnitId','UNIVER_DOC','exportXLSXBySnapshotAsync','9hTseeq','UNIVER_SLIDE','importDOCXToUnitIdAsync','2559620lhodAX','9dGBYqu','IExchangeService','5091656pqwROc','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync'];_0x456f=function(){return _0x23717f;};return _0x456f();}var o=(_0x570f22=>(_0x570f22[_0x570f22[_0x235011(0xd8)]=0x0]=_0x235011(0xd8),_0x570f22[_0x570f22[_0x235011(0xc8)]=0x1]=_0x235011(0xc8),_0x570f22[_0x570f22[_0x235011(0xd7)]=0x2]=_0x235011(0xd7),_0x570f22[_0x570f22[_0x235011(0xcb)]=0x3]='UNIVER_SLIDE',_0x570f22[_0x570f22[_0x235011(0xc0)]=0x4]=_0x235011(0xc0),_0x570f22[_0x570f22[_0x235011(0xe1)]=-0x1]=_0x235011(0xe1),_0x570f22))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x1c6408){return this['importXLSXToUnitIdAsync'](_0x1c6408);}async[_0x235011(0xda)](_0x53dc98){const _0x3dc465=_0x235011,_0x5539d8=this['_injector'][_0x3dc465(0xc5)](r[_0x3dc465(0xcf)]);if(!_0x5539d8)throw new Error(_0x3dc465(0xd2));return _0x5539d8[_0x3dc465(0xde)](_0x53dc98,o['UNIVER_SHEET']);}async[_0x235011(0xc1)](_0x38de58){const _0x51520a=_0x235011;return this[_0x51520a(0xd3)](_0x38de58);}async['importXLSXToSnapshotAsync'](_0xeda978){const _0xda695=_0x235011,_0x3a08ca=this[_0xda695(0xd6)][_0xda695(0xc5)](r[_0xda695(0xcf)]);if(!_0x3a08ca)throw new Error(_0xda695(0xd2));return _0x3a08ca[_0xda695(0xc1)](_0xeda978);}async[_0x235011(0xd9)](_0x3841b1){return this['exportXLSXByUnitIdAsync'](_0x3841b1);}async[_0x235011(0xc6)](_0x1896e1){const _0x4cdd0e=_0x235011,_0x507203=this[_0x4cdd0e(0xd6)][_0x4cdd0e(0xc5)](r[_0x4cdd0e(0xcf)]);if(!_0x507203)throw new Error(_0x4cdd0e(0xd2));return _0x507203[_0x4cdd0e(0xd9)](_0x1896e1);}async[_0x235011(0xdb)](_0x31e88b){const _0x1fa775=_0x235011;return this[_0x1fa775(0xc9)](_0x31e88b);}async[_0x235011(0xc9)](_0x160f72){const _0x1f1b9f=_0x235011,_0x5f430a=this[_0x1f1b9f(0xd6)][_0x1f1b9f(0xc5)](r[_0x1f1b9f(0xcf)]);if(!_0x5f430a)throw new Error(_0x1f1b9f(0xd2));return _0x5f430a[_0x1f1b9f(0xdb)](_0x160f72);}async[_0x235011(0xc7)](_0x40b2d4){return this['importDOCXToUnitIdAsync'](_0x40b2d4);}async[_0x235011(0xcc)](_0x3567cd){const _0x57ba45=_0x235011,_0x8a575f=this[_0x57ba45(0xd6)]['get'](r[_0x57ba45(0xcf)]);if(!_0x8a575f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x8a575f['importFileToUnitId'](_0x3567cd,o['UNIVER_DOC']);}async[_0x235011(0xd5)](_0x4c35aa){const _0x44ecb9=_0x235011;return this[_0x44ecb9(0xd4)](_0x4c35aa);}async[_0x235011(0xd4)](_0x6b9adc){const _0x3b065f=_0x235011,_0x2c88d1=this[_0x3b065f(0xd6)][_0x3b065f(0xc5)](r['IExchangeService']);if(!_0x2c88d1)throw new Error(_0x3b065f(0xd2));return _0x2c88d1[_0x3b065f(0xd5)](_0x6b9adc);}}function _0x4574(_0x25ebd1,_0x197a7a){const _0x456fbe=_0x456f();return _0x4574=function(_0x457420,_0x5e1124){_0x457420=_0x457420-0xbe;let _0x522d34=_0x456fbe[_0x457420];return _0x522d34;},_0x4574(_0x25ebd1,_0x197a7a);}i[_0x235011(0xd1)][_0x235011(0xc2)](c);