@univerjs-pro/exchange-client 0.6.10-nightly.202504261606 → 0.6.10-nightly.202504271606

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';function _0x5bd6(){const _0x4b6fba=['UNIVER_DOC','importDOCXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','228148IxGcfd','4328sfKURT','8504AwSTth','UNIVER_UNKNOWN','1WnZIof','importXLSXToUnitIdAsync','4214928yeRrLz','exportXLSXBySnapshotAsync','importFileToUnitId','IExchangeService','exportXLSXBySnapshot','importDOCXToSnapshot','importXLSXToUnitId','importXLSXToSnapshot','exportXLSXByUnitId','importXLSXToSnapshotAsync','_injector','8722647sfXKpC','exportXLSXByUnitIdAsync','UNIVER_SHEET','get','importDOCXToUnitIdAsync','extend','3761350iAUbsp','importDOCXToUnitId','4512984xzssPc','UNIVER_SLIDE','3171WNCRLH','UNIVER_PROJECT'];_0x5bd6=function(){return _0x4b6fba;};return _0x5bd6();}const _0x342e0d=_0x42b7;(function(_0x3bb870,_0x7dea60){const _0x573bc1=_0x42b7,_0x1d8f1b=_0x3bb870();while(!![]){try{const _0x40f82e=parseInt(_0x573bc1(0x1f1))/0x1*(parseInt(_0x573bc1(0x1ef))/0x2)+-parseInt(_0x573bc1(0x1f3))/0x3+-parseInt(_0x573bc1(0x1ed))/0x4+parseInt(_0x573bc1(0x1e3))/0x5+parseInt(_0x573bc1(0x1e5))/0x6+-parseInt(_0x573bc1(0x1e7))/0x7*(parseInt(_0x573bc1(0x1ee))/0x8)+parseInt(_0x573bc1(0x1dd))/0x9;if(_0x40f82e===_0x7dea60)break;else _0x1d8f1b['push'](_0x1d8f1b['shift']());}catch(_0x315c7b){_0x1d8f1b['push'](_0x1d8f1b['shift']());}}}(_0x5bd6,0xbc2df));const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core/facade');var o=(_0x5da404=>(_0x5da404[_0x5da404[_0x342e0d(0x1f0)]=0x0]='UNIVER_UNKNOWN',_0x5da404[_0x5da404[_0x342e0d(0x1e9)]=0x1]=_0x342e0d(0x1e9),_0x5da404[_0x5da404[_0x342e0d(0x1df)]=0x2]=_0x342e0d(0x1df),_0x5da404[_0x5da404[_0x342e0d(0x1e6)]=0x3]=_0x342e0d(0x1e6),_0x5da404[_0x5da404[_0x342e0d(0x1e8)]=0x4]=_0x342e0d(0x1e8),_0x5da404[_0x5da404['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5da404))(o||{});function _0x42b7(_0x59fb48,_0x53d3c3){const _0x5bd613=_0x5bd6();return _0x42b7=function(_0x42b7de,_0x5ca632){_0x42b7de=_0x42b7de-0x1db;let _0x18cb80=_0x5bd613[_0x42b7de];return _0x18cb80;},_0x42b7(_0x59fb48,_0x53d3c3);}class c extends i[_0x342e0d(0x1ec)]{async[_0x342e0d(0x1f9)](_0x425421){const _0x5ebad9=_0x342e0d;return this[_0x5ebad9(0x1f2)](_0x425421);}async[_0x342e0d(0x1f2)](_0x24a7b9){const _0x3deb80=_0x342e0d,_0x32bcad=this['_injector'][_0x3deb80(0x1e0)](r['IExchangeService']);if(!_0x32bcad)throw new Error(_0x3deb80(0x1eb));return _0x32bcad[_0x3deb80(0x1f5)](_0x24a7b9,o[_0x3deb80(0x1df)]);}async['importXLSXToSnapshot'](_0x23a4f8){return this['importXLSXToSnapshotAsync'](_0x23a4f8);}async[_0x342e0d(0x1db)](_0x87bf89){const _0x19a214=_0x342e0d,_0x33bb9a=this['_injector'][_0x19a214(0x1e0)](r[_0x19a214(0x1f6)]);if(!_0x33bb9a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x33bb9a[_0x19a214(0x1fa)](_0x87bf89);}async[_0x342e0d(0x1fb)](_0x5b6c50){const _0x57f49b=_0x342e0d;return this[_0x57f49b(0x1de)](_0x5b6c50);}async[_0x342e0d(0x1de)](_0x544a13){const _0xb8b275=_0x342e0d,_0xe7bffc=this['_injector'][_0xb8b275(0x1e0)](r[_0xb8b275(0x1f6)]);if(!_0xe7bffc)throw new Error(_0xb8b275(0x1eb));return _0xe7bffc[_0xb8b275(0x1fb)](_0x544a13);}async[_0x342e0d(0x1f7)](_0x1a471b){const _0x437cc0=_0x342e0d;return this[_0x437cc0(0x1f4)](_0x1a471b);}async[_0x342e0d(0x1f4)](_0x2b95db){const _0x133b01=_0x342e0d,_0x5d0cbd=this[_0x133b01(0x1dc)][_0x133b01(0x1e0)](r[_0x133b01(0x1f6)]);if(!_0x5d0cbd)throw new Error(_0x133b01(0x1eb));return _0x5d0cbd[_0x133b01(0x1f7)](_0x2b95db);}async[_0x342e0d(0x1e4)](_0x3bf8eb){const _0x4817e6=_0x342e0d;return this[_0x4817e6(0x1e1)](_0x3bf8eb);}async[_0x342e0d(0x1e1)](_0x13ad64){const _0x1fa526=_0x342e0d,_0x3f5829=this[_0x1fa526(0x1dc)][_0x1fa526(0x1e0)](r[_0x1fa526(0x1f6)]);if(!_0x3f5829)throw new Error(_0x1fa526(0x1eb));return _0x3f5829[_0x1fa526(0x1f5)](_0x13ad64,o['UNIVER_DOC']);}async[_0x342e0d(0x1f8)](_0x2178d9){const _0x3975d3=_0x342e0d;return this[_0x3975d3(0x1ea)](_0x2178d9);}async[_0x342e0d(0x1ea)](_0x367887){const _0x3838f3=_0x342e0d,_0x4de30e=this['_injector'][_0x3838f3(0x1e0)](r[_0x3838f3(0x1f6)]);if(!_0x4de30e)throw new Error(_0x3838f3(0x1eb));return _0x4de30e['importDOCXToSnapshot'](_0x367887);}}i[_0x342e0d(0x1ec)][_0x342e0d(0x1e2)](c);
1
+ 'use strict';const _0x52d074=_0x158e;function _0x158e(_0x22adba,_0x5bfd45){const _0x8d06dc=_0x8d06();return _0x158e=function(_0x158e1c,_0x5c774e){_0x158e1c=_0x158e1c-0x192;let _0x1816c5=_0x8d06dc[_0x158e1c];return _0x1816c5;},_0x158e(_0x22adba,_0x5bfd45);}(function(_0x1f9851,_0x4888d6){const _0x150f28=_0x158e,_0x50ecac=_0x1f9851();while(!![]){try{const _0x5357ab=-parseInt(_0x150f28(0x196))/0x1+-parseInt(_0x150f28(0x19d))/0x2+-parseInt(_0x150f28(0x1a1))/0x3*(-parseInt(_0x150f28(0x1ae))/0x4)+parseInt(_0x150f28(0x1a3))/0x5+-parseInt(_0x150f28(0x1a2))/0x6+parseInt(_0x150f28(0x192))/0x7+parseInt(_0x150f28(0x1a7))/0x8*(parseInt(_0x150f28(0x1a9))/0x9);if(_0x5357ab===_0x4888d6)break;else _0x50ecac['push'](_0x50ecac['shift']());}catch(_0x256101){_0x50ecac['push'](_0x50ecac['shift']());}}}(_0x8d06,0x4578a));const r=require(_0x52d074(0x19b)),i=require(_0x52d074(0x1af));function _0x8d06(){const _0x2641a5=['importDOCXToUnitIdAsync','importXLSXToSnapshot','get','UNIVER_DOC','2679474duonaW','FUniver','UNIVER_SLIDE','UNIVER_SHEET','108032CHHyxJ','importXLSXToUnitIdAsync','exportXLSXBySnapshot','extend','UNIVER_PROJECT','@univerjs-pro/exchange-client','_injector','43524AnTVga','importXLSXToUnitId','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','323637iNFwbR','3081144qlMadG','926335VwrerC','importFileToUnitId','exportXLSXBySnapshotAsync','exportXLSXByUnitId','352LhhYez','IExchangeService','51534NcflQT','UNRECOGNIZED','importDOCXToSnapshot','importXLSXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','4fkRJuQ','@univerjs/core/facade'];_0x8d06=function(){return _0x2641a5;};return _0x8d06();}var o=(_0x1a43c0=>(_0x1a43c0[_0x1a43c0[_0x52d074(0x1a0)]=0x0]=_0x52d074(0x1a0),_0x1a43c0[_0x1a43c0['UNIVER_DOC']=0x1]=_0x52d074(0x1b3),_0x1a43c0[_0x1a43c0[_0x52d074(0x195)]=0x2]=_0x52d074(0x195),_0x1a43c0[_0x1a43c0[_0x52d074(0x194)]=0x3]=_0x52d074(0x194),_0x1a43c0[_0x1a43c0[_0x52d074(0x19a)]=0x4]=_0x52d074(0x19a),_0x1a43c0[_0x1a43c0[_0x52d074(0x1aa)]=-0x1]=_0x52d074(0x1aa),_0x1a43c0))(o||{});class c extends i[_0x52d074(0x193)]{async[_0x52d074(0x19e)](_0x3b25da){return this['importXLSXToUnitIdAsync'](_0x3b25da);}async[_0x52d074(0x197)](_0x648329){const _0x1473fc=_0x52d074,_0x4b2b63=this[_0x1473fc(0x19c)][_0x1473fc(0x1b2)](r[_0x1473fc(0x1a8)]);if(!_0x4b2b63)throw new Error(_0x1473fc(0x1ad));return _0x4b2b63[_0x1473fc(0x1a4)](_0x648329,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x46e283){const _0x2c3cf1=_0x52d074;return this[_0x2c3cf1(0x1ac)](_0x46e283);}async[_0x52d074(0x1ac)](_0x5e02cc){const _0x43553a=_0x52d074,_0x3eaae1=this[_0x43553a(0x19c)][_0x43553a(0x1b2)](r[_0x43553a(0x1a8)]);if(!_0x3eaae1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3eaae1[_0x43553a(0x1b1)](_0x5e02cc);}async[_0x52d074(0x1a6)](_0x5b8f91){return this['exportXLSXByUnitIdAsync'](_0x5b8f91);}async['exportXLSXByUnitIdAsync'](_0x3862cf){const _0x4d02e1=_0x52d074,_0x16f495=this[_0x4d02e1(0x19c)]['get'](r[_0x4d02e1(0x1a8)]);if(!_0x16f495)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x16f495[_0x4d02e1(0x1a6)](_0x3862cf);}async[_0x52d074(0x198)](_0x214797){const _0x5c4d7d=_0x52d074;return this[_0x5c4d7d(0x1a5)](_0x214797);}async[_0x52d074(0x1a5)](_0x35fb88){const _0x54c34c=_0x52d074,_0x40c77b=this[_0x54c34c(0x19c)][_0x54c34c(0x1b2)](r['IExchangeService']);if(!_0x40c77b)throw new Error(_0x54c34c(0x1ad));return _0x40c77b[_0x54c34c(0x198)](_0x35fb88);}async['importDOCXToUnitId'](_0x1d2faa){const _0x398377=_0x52d074;return this[_0x398377(0x1b0)](_0x1d2faa);}async[_0x52d074(0x1b0)](_0x2cc1d4){const _0x3542e9=_0x52d074,_0xddbdc3=this[_0x3542e9(0x19c)][_0x3542e9(0x1b2)](r['IExchangeService']);if(!_0xddbdc3)throw new Error(_0x3542e9(0x1ad));return _0xddbdc3[_0x3542e9(0x1a4)](_0x2cc1d4,o[_0x3542e9(0x1b3)]);}async[_0x52d074(0x1ab)](_0x4f2b77){const _0x233880=_0x52d074;return this[_0x233880(0x19f)](_0x4f2b77);}async['importDOCXToSnapshotAsync'](_0x538b62){const _0x1a9ab2=_0x52d074,_0x1b8583=this['_injector'][_0x1a9ab2(0x1b2)](r[_0x1a9ab2(0x1a8)]);if(!_0x1b8583)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b8583[_0x1a9ab2(0x1ab)](_0x538b62);}}i[_0x52d074(0x193)][_0x52d074(0x199)](c);