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

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 _0x2ddc5b=_0xe4d8;(function(_0xf4b8dd,_0x135828){const _0x1395f9=_0xe4d8,_0x12f9a8=_0xf4b8dd();while(!![]){try{const _0x374f0a=parseInt(_0x1395f9(0xbc))/0x1+parseInt(_0x1395f9(0xc9))/0x2*(-parseInt(_0x1395f9(0xbb))/0x3)+-parseInt(_0x1395f9(0xde))/0x4+-parseInt(_0x1395f9(0xd7))/0x5*(-parseInt(_0x1395f9(0xcb))/0x6)+parseInt(_0x1395f9(0xc7))/0x7+parseInt(_0x1395f9(0xca))/0x8+parseInt(_0x1395f9(0xcf))/0x9*(-parseInt(_0x1395f9(0xbf))/0xa);if(_0x374f0a===_0x135828)break;else _0x12f9a8['push'](_0x12f9a8['shift']());}catch(_0x30ec06){_0x12f9a8['push'](_0x12f9a8['shift']());}}}(_0x5396,0x1bff5));const r=require(_0x2ddc5b(0xd4)),i=require(_0x2ddc5b(0xc2));var o=(_0x283478=>(_0x283478[_0x283478[_0x2ddc5b(0xdc)]=0x0]=_0x2ddc5b(0xdc),_0x283478[_0x283478[_0x2ddc5b(0xda)]=0x1]='UNIVER_DOC',_0x283478[_0x283478[_0x2ddc5b(0xd3)]=0x2]=_0x2ddc5b(0xd3),_0x283478[_0x283478[_0x2ddc5b(0xc3)]=0x3]='UNIVER_SLIDE',_0x283478[_0x283478[_0x2ddc5b(0xdb)]=0x4]=_0x2ddc5b(0xdb),_0x283478[_0x283478[_0x2ddc5b(0xcc)]=-0x1]=_0x2ddc5b(0xcc),_0x283478))(o||{});class c extends i[_0x2ddc5b(0xc4)]{async[_0x2ddc5b(0xdd)](_0x466b38){return this['importXLSXToUnitIdAsync'](_0x466b38);}async[_0x2ddc5b(0xd1)](_0x54176e){const _0x4be418=_0x2ddc5b,_0x23097b=this[_0x4be418(0xcd)][_0x4be418(0xce)](r['IExchangeService']);if(!_0x23097b)throw new Error(_0x4be418(0xd0));return _0x23097b[_0x4be418(0xc1)](_0x54176e,o[_0x4be418(0xd3)]);}async[_0x2ddc5b(0xc8)](_0x40407d){return this['importXLSXToSnapshotAsync'](_0x40407d);}async['importXLSXToSnapshotAsync'](_0x19e3aa){const _0x5223f2=_0x2ddc5b,_0x2e978a=this['_injector'][_0x5223f2(0xce)](r['IExchangeService']);if(!_0x2e978a)throw new Error(_0x5223f2(0xd0));return _0x2e978a['importXLSXToSnapshot'](_0x19e3aa);}async['exportXLSXByUnitId'](_0x2eaf4f){const _0x16602a=_0x2ddc5b;return this[_0x16602a(0xbe)](_0x2eaf4f);}async['exportXLSXByUnitIdAsync'](_0x4c9921){const _0x1a1d6b=_0x2ddc5b,_0x2cf4f3=this[_0x1a1d6b(0xcd)][_0x1a1d6b(0xce)](r[_0x1a1d6b(0xbd)]);if(!_0x2cf4f3)throw new Error(_0x1a1d6b(0xd0));return _0x2cf4f3[_0x1a1d6b(0xc6)](_0x4c9921);}async[_0x2ddc5b(0xd9)](_0x1b5837){const _0x16aefd=_0x2ddc5b;return this[_0x16aefd(0xd5)](_0x1b5837);}async[_0x2ddc5b(0xd5)](_0x2183a5){const _0x58d3da=_0x2ddc5b,_0x1b4664=this[_0x58d3da(0xcd)][_0x58d3da(0xce)](r[_0x58d3da(0xbd)]);if(!_0x1b4664)throw new Error(_0x58d3da(0xd0));return _0x1b4664['exportXLSXBySnapshot'](_0x2183a5);}async[_0x2ddc5b(0xd6)](_0x5504f7){return this['importDOCXToUnitIdAsync'](_0x5504f7);}async[_0x2ddc5b(0xd2)](_0x354c5c){const _0x3b0a76=_0x2ddc5b,_0x4acc43=this[_0x3b0a76(0xcd)][_0x3b0a76(0xce)](r['IExchangeService']);if(!_0x4acc43)throw new Error(_0x3b0a76(0xd0));return _0x4acc43[_0x3b0a76(0xc1)](_0x354c5c,o['UNIVER_DOC']);}async[_0x2ddc5b(0xd8)](_0x4a0842){const _0x502d7f=_0x2ddc5b;return this[_0x502d7f(0xc5)](_0x4a0842);}async[_0x2ddc5b(0xc5)](_0x3d5b86){const _0x590f32=_0x2ddc5b,_0x267b70=this[_0x590f32(0xcd)]['get'](r[_0x590f32(0xbd)]);if(!_0x267b70)throw new Error(_0x590f32(0xd0));return _0x267b70[_0x590f32(0xd8)](_0x3d5b86);}}function _0xe4d8(_0x3365ee,_0x3932d7){const _0x5396d2=_0x5396();return _0xe4d8=function(_0xe4d89c,_0x13c2b8){_0xe4d89c=_0xe4d89c-0xbb;let _0x1abda0=_0x5396d2[_0xe4d89c];return _0x1abda0;},_0xe4d8(_0x3365ee,_0x3932d7);}function _0x5396(){const _0x5d9179=['exportXLSXBySnapshot','UNIVER_DOC','UNIVER_PROJECT','UNIVER_UNKNOWN','importXLSXToUnitId','386420TxZyRR','114LGTeiQ','43474duVGlK','IExchangeService','exportXLSXByUnitIdAsync','897340GhmrQo','extend','importFileToUnitId','@univerjs/core/facade','UNIVER_SLIDE','FUniver','importDOCXToSnapshotAsync','exportXLSXByUnitId','762153lgYBfQ','importXLSXToSnapshot','5696fYJnxj','1288568mkkWdX','354hdcyuO','UNRECOGNIZED','_injector','get','9nFLeoe','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','UNIVER_SHEET','@univerjs-pro/exchange-client','exportXLSXBySnapshotAsync','importDOCXToUnitId','8120zNRUyY','importDOCXToSnapshot'];_0x5396=function(){return _0x5d9179;};return _0x5396();}i['FUniver'][_0x2ddc5b(0xc0)](c);
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);