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

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 _0x8049fe=_0x8429;function _0x1a0f(){const _0xa56cd0=['@univerjs/core/facade','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','get','UNIVER_SLIDE','6436085AnIfqf','importXLSXToSnapshot','@univerjs-pro/exchange-client','2512052xUHlYI','importFileToUnitId','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','755262EoCmzv','extend','7ZeQYbG','1153189EKkToJ','exportXLSXByUnitId','_injector','exportXLSXBySnapshotAsync','UNIVER_SHEET','IExchangeService','UNIVER_PROJECT','FUniver','UNIVER_DOC','importDOCXToUnitIdAsync','UNRECOGNIZED','UNIVER_UNKNOWN','3705189ZCcScO','The\x20exchange\x20service\x20is\x20not\x20available','564070jsewUp','184YjJexU','5189586mvsYio'];_0x1a0f=function(){return _0xa56cd0;};return _0x1a0f();}(function(_0x36eec2,_0x40ec71){const _0x3d8e26=_0x8429,_0x3ed08e=_0x36eec2();while(!![]){try{const _0x43c8f8=-parseInt(_0x3d8e26(0xc9))/0x1+-parseInt(_0x3d8e26(0xd7))/0x2+parseInt(_0x3d8e26(0xd5))/0x3+parseInt(_0x3d8e26(0xc1))/0x4+parseInt(_0x3d8e26(0xbe))/0x5+parseInt(_0x3d8e26(0xd9))/0x6*(parseInt(_0x3d8e26(0xc8))/0x7)+-parseInt(_0x3d8e26(0xd8))/0x8*(parseInt(_0x3d8e26(0xc6))/0x9);if(_0x43c8f8===_0x40ec71)break;else _0x3ed08e['push'](_0x3ed08e['shift']());}catch(_0x42edce){_0x3ed08e['push'](_0x3ed08e['shift']());}}}(_0x1a0f,0x9ea9e));const r=require(_0x8049fe(0xc0)),i=require(_0x8049fe(0xda));var o=(_0x128c8f=>(_0x128c8f[_0x128c8f[_0x8049fe(0xd4)]=0x0]=_0x8049fe(0xd4),_0x128c8f[_0x128c8f[_0x8049fe(0xd1)]=0x1]=_0x8049fe(0xd1),_0x128c8f[_0x128c8f[_0x8049fe(0xcd)]=0x2]=_0x8049fe(0xcd),_0x128c8f[_0x128c8f[_0x8049fe(0xbd)]=0x3]=_0x8049fe(0xbd),_0x128c8f[_0x128c8f[_0x8049fe(0xcf)]=0x4]=_0x8049fe(0xcf),_0x128c8f[_0x128c8f[_0x8049fe(0xd3)]=-0x1]='UNRECOGNIZED',_0x128c8f))(o||{});class c extends i[_0x8049fe(0xd0)]{async['importXLSXToUnitId'](_0x24c370){return this['importXLSXToUnitIdAsync'](_0x24c370);}async[_0x8049fe(0xc4)](_0x356897){const _0x3c7b7b=_0x8049fe,_0x66a6ce=this['_injector'][_0x3c7b7b(0xdd)](r['IExchangeService']);if(!_0x66a6ce)throw new Error(_0x3c7b7b(0xd6));return _0x66a6ce[_0x3c7b7b(0xc2)](_0x356897,o[_0x3c7b7b(0xcd)]);}async[_0x8049fe(0xbf)](_0x22fa52){const _0x5e143d=_0x8049fe;return this[_0x5e143d(0xc5)](_0x22fa52);}async[_0x8049fe(0xc5)](_0x5ba9e8){const _0x131517=_0x8049fe,_0x10bc11=this['_injector'][_0x131517(0xdd)](r['IExchangeService']);if(!_0x10bc11)throw new Error(_0x131517(0xd6));return _0x10bc11[_0x131517(0xbf)](_0x5ba9e8);}async[_0x8049fe(0xca)](_0xac1996){return this['exportXLSXByUnitIdAsync'](_0xac1996);}async[_0x8049fe(0xdc)](_0x2a8fc6){const _0x54c7e7=_0x8049fe,_0x43e1c1=this[_0x54c7e7(0xcb)]['get'](r[_0x54c7e7(0xce)]);if(!_0x43e1c1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x43e1c1['exportXLSXByUnitId'](_0x2a8fc6);}async[_0x8049fe(0xdb)](_0x51f494){return this['exportXLSXBySnapshotAsync'](_0x51f494);}async[_0x8049fe(0xcc)](_0x4c5dc7){const _0x23be55=_0x8049fe,_0x1cb8ee=this[_0x23be55(0xcb)][_0x23be55(0xdd)](r[_0x23be55(0xce)]);if(!_0x1cb8ee)throw new Error(_0x23be55(0xd6));return _0x1cb8ee[_0x23be55(0xdb)](_0x4c5dc7);}async['importDOCXToUnitId'](_0x40242e){const _0x1b9d37=_0x8049fe;return this[_0x1b9d37(0xd2)](_0x40242e);}async[_0x8049fe(0xd2)](_0x27c9cf){const _0x3e7fa1=_0x8049fe,_0x2e8b82=this[_0x3e7fa1(0xcb)][_0x3e7fa1(0xdd)](r[_0x3e7fa1(0xce)]);if(!_0x2e8b82)throw new Error(_0x3e7fa1(0xd6));return _0x2e8b82[_0x3e7fa1(0xc2)](_0x27c9cf,o[_0x3e7fa1(0xd1)]);}async['importDOCXToSnapshot'](_0x44b6a0){return this['importDOCXToSnapshotAsync'](_0x44b6a0);}async[_0x8049fe(0xc3)](_0x1e8646){const _0x4ce2f5=_0x8049fe,_0x428119=this[_0x4ce2f5(0xcb)][_0x4ce2f5(0xdd)](r['IExchangeService']);if(!_0x428119)throw new Error(_0x4ce2f5(0xd6));return _0x428119['importDOCXToSnapshot'](_0x1e8646);}}function _0x8429(_0x5611e0,_0x93e433){const _0x1a0f5a=_0x1a0f();return _0x8429=function(_0x84292c,_0x2bc5ee){_0x84292c=_0x84292c-0xbd;let _0x23e80c=_0x1a0f5a[_0x84292c];return _0x23e80c;},_0x8429(_0x5611e0,_0x93e433);}i[_0x8049fe(0xd0)][_0x8049fe(0xc7)](c);
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);