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

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 _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);
1
+ 'use strict';const _0x51cdc7=_0x3ddb;function _0x3ddb(_0xac1cad,_0x550c72){const _0x3a2926=_0x3a29();return _0x3ddb=function(_0x3ddb4c,_0x475103){_0x3ddb4c=_0x3ddb4c-0x171;let _0x315649=_0x3a2926[_0x3ddb4c];return _0x315649;},_0x3ddb(_0xac1cad,_0x550c72);}(function(_0x1bdef6,_0x222d5f){const _0x4b57cf=_0x3ddb,_0x3632a0=_0x1bdef6();while(!![]){try{const _0x267fea=-parseInt(_0x4b57cf(0x192))/0x1+parseInt(_0x4b57cf(0x17c))/0x2*(parseInt(_0x4b57cf(0x17e))/0x3)+-parseInt(_0x4b57cf(0x17b))/0x4+parseInt(_0x4b57cf(0x176))/0x5*(parseInt(_0x4b57cf(0x18e))/0x6)+parseInt(_0x4b57cf(0x174))/0x7+-parseInt(_0x4b57cf(0x189))/0x8+parseInt(_0x4b57cf(0x172))/0x9*(parseInt(_0x4b57cf(0x179))/0xa);if(_0x267fea===_0x222d5f)break;else _0x3632a0['push'](_0x3632a0['shift']());}catch(_0x2297d0){_0x3632a0['push'](_0x3632a0['shift']());}}}(_0x3a29,0x7588b));function _0x3a29(){const _0x5b61b4=['6ddXdXZ','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','importFileToUnitId','345362szkxQK','UNIVER_UNKNOWN','FUniver','27zazSKT','IExchangeService','19152xvjfky','importDOCXToUnitId','1232395ZNxVGm','UNIVER_PROJECT','UNIVER_DOC','3194370pgKXAG','UNRECOGNIZED','2616548UfSXBI','1441526AFcvxI','_injector','3hCGFCf','exportXLSXByUnitId','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','UNIVER_SHEET','importXLSXToUnitId','@univerjs-pro/exchange-client','importDOCXToSnapshot','exportXLSXBySnapshot','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','3578968HsGgBT','get','importXLSXToSnapshot','UNIVER_SLIDE','importDOCXToSnapshotAsync'];_0x3a29=function(){return _0x5b61b4;};return _0x3a29();}const r=require(_0x51cdc7(0x184)),i=require('@univerjs/core/facade');var o=(_0x1b60d3=>(_0x1b60d3[_0x1b60d3[_0x51cdc7(0x193)]=0x0]='UNIVER_UNKNOWN',_0x1b60d3[_0x1b60d3[_0x51cdc7(0x178)]=0x1]=_0x51cdc7(0x178),_0x1b60d3[_0x1b60d3['UNIVER_SHEET']=0x2]=_0x51cdc7(0x182),_0x1b60d3[_0x1b60d3['UNIVER_SLIDE']=0x3]=_0x51cdc7(0x18c),_0x1b60d3[_0x1b60d3[_0x51cdc7(0x177)]=0x4]=_0x51cdc7(0x177),_0x1b60d3[_0x1b60d3[_0x51cdc7(0x17a)]=-0x1]=_0x51cdc7(0x17a),_0x1b60d3))(o||{});class c extends i[_0x51cdc7(0x171)]{async[_0x51cdc7(0x183)](_0x4dac7a){const _0x449ea7=_0x51cdc7;return this[_0x449ea7(0x181)](_0x4dac7a);}async[_0x51cdc7(0x181)](_0x5c7fda){const _0x58ab4b=_0x51cdc7,_0x2779fe=this['_injector'][_0x58ab4b(0x18a)](r[_0x58ab4b(0x173)]);if(!_0x2779fe)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2779fe['importFileToUnitId'](_0x5c7fda,o[_0x58ab4b(0x182)]);}async[_0x51cdc7(0x18b)](_0x3168eb){const _0x356c2a=_0x51cdc7;return this[_0x356c2a(0x190)](_0x3168eb);}async[_0x51cdc7(0x190)](_0xfbe2a9){const _0x1eb700=_0x51cdc7,_0x2ba49f=this['_injector'][_0x1eb700(0x18a)](r['IExchangeService']);if(!_0x2ba49f)throw new Error(_0x1eb700(0x18f));return _0x2ba49f[_0x1eb700(0x18b)](_0xfbe2a9);}async[_0x51cdc7(0x17f)](_0x5a8598){const _0x3ae48d=_0x51cdc7;return this[_0x3ae48d(0x180)](_0x5a8598);}async['exportXLSXByUnitIdAsync'](_0x45b8be){const _0xe27127=_0x51cdc7,_0xf39090=this[_0xe27127(0x17d)][_0xe27127(0x18a)](r[_0xe27127(0x173)]);if(!_0xf39090)throw new Error(_0xe27127(0x18f));return _0xf39090[_0xe27127(0x17f)](_0x45b8be);}async['exportXLSXBySnapshot'](_0x196255){const _0x5abe79=_0x51cdc7;return this[_0x5abe79(0x188)](_0x196255);}async[_0x51cdc7(0x188)](_0x4c1c19){const _0x48f21c=_0x51cdc7,_0x2e53fa=this[_0x48f21c(0x17d)]['get'](r[_0x48f21c(0x173)]);if(!_0x2e53fa)throw new Error(_0x48f21c(0x18f));return _0x2e53fa[_0x48f21c(0x186)](_0x4c1c19);}async[_0x51cdc7(0x175)](_0x692810){return this['importDOCXToUnitIdAsync'](_0x692810);}async[_0x51cdc7(0x187)](_0x1e6d42){const _0x5b1b2c=_0x51cdc7,_0x2ccee6=this[_0x5b1b2c(0x17d)]['get'](r[_0x5b1b2c(0x173)]);if(!_0x2ccee6)throw new Error(_0x5b1b2c(0x18f));return _0x2ccee6[_0x5b1b2c(0x191)](_0x1e6d42,o[_0x5b1b2c(0x178)]);}async[_0x51cdc7(0x185)](_0x4fa7ed){const _0x49bf00=_0x51cdc7;return this[_0x49bf00(0x18d)](_0x4fa7ed);}async['importDOCXToSnapshotAsync'](_0x2c13f7){const _0x3aecc6=_0x51cdc7,_0x5c48a3=this['_injector'][_0x3aecc6(0x18a)](r['IExchangeService']);if(!_0x5c48a3)throw new Error(_0x3aecc6(0x18f));return _0x5c48a3[_0x3aecc6(0x185)](_0x2c13f7);}}i[_0x51cdc7(0x171)]['extend'](c);