@univerjs-pro/exchange-client 0.6.6-experimental.20250317-28d180b → 0.6.6-experimental.20250319-2bbe26f

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 _0x3ba6(_0xa7454c,_0x4c8553){const _0x5dcc8f=_0x5dcc();return _0x3ba6=function(_0x3ba61a,_0x1b6cc1){_0x3ba61a=_0x3ba61a-0x1c1;let _0x27a4ba=_0x5dcc8f[_0x3ba61a];return _0x27a4ba;},_0x3ba6(_0xa7454c,_0x4c8553);}const _0x5e9c6a=_0x3ba6;(function(_0xb203cb,_0x5a675f){const _0xc54c59=_0x3ba6,_0x3d2b3a=_0xb203cb();while(!![]){try{const _0x490e8f=parseInt(_0xc54c59(0x1df))/0x1*(-parseInt(_0xc54c59(0x1c3))/0x2)+-parseInt(_0xc54c59(0x1d5))/0x3+parseInt(_0xc54c59(0x1cc))/0x4+parseInt(_0xc54c59(0x1d0))/0x5+-parseInt(_0xc54c59(0x1d2))/0x6+-parseInt(_0xc54c59(0x1c5))/0x7*(-parseInt(_0xc54c59(0x1cb))/0x8)+parseInt(_0xc54c59(0x1de))/0x9*(parseInt(_0xc54c59(0x1da))/0xa);if(_0x490e8f===_0x5a675f)break;else _0x3d2b3a['push'](_0x3d2b3a['shift']());}catch(_0xba152d){_0x3d2b3a['push'](_0x3d2b3a['shift']());}}}(_0x5dcc,0xe4d98));const r=require(_0x5e9c6a(0x1cd)),i=require('@univerjs/core/facade');var o=(_0x14026a=>(_0x14026a[_0x14026a[_0x5e9c6a(0x1c1)]=0x0]=_0x5e9c6a(0x1c1),_0x14026a[_0x14026a[_0x5e9c6a(0x1d9)]=0x1]=_0x5e9c6a(0x1d9),_0x14026a[_0x14026a[_0x5e9c6a(0x1d8)]=0x2]=_0x5e9c6a(0x1d8),_0x14026a[_0x14026a['UNIVER_SLIDE']=0x3]=_0x5e9c6a(0x1e0),_0x14026a[_0x14026a[_0x5e9c6a(0x1c7)]=0x4]='UNIVER_PROJECT',_0x14026a[_0x14026a[_0x5e9c6a(0x1dd)]=-0x1]=_0x5e9c6a(0x1dd),_0x14026a))(o||{});class c extends i[_0x5e9c6a(0x1d1)]{async[_0x5e9c6a(0x1c9)](_0x8933c7){return this['importXLSXToUnitIdAsync'](_0x8933c7);}async[_0x5e9c6a(0x1d3)](_0x102194){const _0x15e27c=_0x5e9c6a,_0x214f01=this[_0x15e27c(0x1ce)][_0x15e27c(0x1c6)](r[_0x15e27c(0x1db)]);if(!_0x214f01)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x214f01[_0x15e27c(0x1e1)](_0x102194,o['UNIVER_SHEET']);}async[_0x5e9c6a(0x1cf)](_0x1d86f4){const _0x486995=_0x5e9c6a;return this[_0x486995(0x1ca)](_0x1d86f4);}async['importXLSXToSnapshotAsync'](_0x2ca430){const _0x2757ff=_0x5e9c6a,_0x151af9=this['_injector'][_0x2757ff(0x1c6)](r[_0x2757ff(0x1db)]);if(!_0x151af9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x151af9[_0x2757ff(0x1cf)](_0x2ca430);}async[_0x5e9c6a(0x1c8)](_0x1a53c5){const _0x1ba8a2=_0x5e9c6a;return this[_0x1ba8a2(0x1dc)](_0x1a53c5);}async[_0x5e9c6a(0x1dc)](_0x561fd8){const _0x4f8fd9=_0x5e9c6a,_0x111642=this['_injector'][_0x4f8fd9(0x1c6)](r[_0x4f8fd9(0x1db)]);if(!_0x111642)throw new Error(_0x4f8fd9(0x1d6));return _0x111642['exportXLSXByUnitId'](_0x561fd8);}async[_0x5e9c6a(0x1d7)](_0x437d51){return this['exportXLSXBySnapshotAsync'](_0x437d51);}async['exportXLSXBySnapshotAsync'](_0x55cf58){const _0x144b97=_0x5e9c6a,_0x2b62d7=this['_injector']['get'](r['IExchangeService']);if(!_0x2b62d7)throw new Error(_0x144b97(0x1d6));return _0x2b62d7[_0x144b97(0x1d7)](_0x55cf58);}async['importDOCXToUnitId'](_0x352b30){const _0x800ee2=_0x5e9c6a;return this[_0x800ee2(0x1d4)](_0x352b30);}async[_0x5e9c6a(0x1d4)](_0x508247){const _0x1040d4=_0x5e9c6a,_0x5e986e=this['_injector'][_0x1040d4(0x1c6)](r['IExchangeService']);if(!_0x5e986e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5e986e['importFileToUnitId'](_0x508247,o[_0x1040d4(0x1d9)]);}async[_0x5e9c6a(0x1c2)](_0x256dcf){const _0x22cfaa=_0x5e9c6a;return this[_0x22cfaa(0x1c4)](_0x256dcf);}async[_0x5e9c6a(0x1c4)](_0x2fd800){const _0x39ffb4=_0x5e9c6a,_0x16d8f6=this[_0x39ffb4(0x1ce)][_0x39ffb4(0x1c6)](r['IExchangeService']);if(!_0x16d8f6)throw new Error(_0x39ffb4(0x1d6));return _0x16d8f6['importDOCXToSnapshot'](_0x2fd800);}}i[_0x5e9c6a(0x1d1)]['extend'](c);function _0x5dcc(){const _0x3137af=['importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','2902218cgeNYh','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshot','UNIVER_SHEET','UNIVER_DOC','462190RrsRGy','IExchangeService','exportXLSXByUnitIdAsync','UNRECOGNIZED','279WFCNJM','23686sCxDtX','UNIVER_SLIDE','importFileToUnitId','UNIVER_UNKNOWN','importDOCXToSnapshot','32ItMsiO','importDOCXToSnapshotAsync','14vscdEO','get','UNIVER_PROJECT','exportXLSXByUnitId','importXLSXToUnitId','importXLSXToSnapshotAsync','5096816Azcpsz','320860IfLkGW','@univerjs-pro/exchange-client','_injector','importXLSXToSnapshot','3872810nyfnTS','FUniver','7668120KQQHsp'];_0x5dcc=function(){return _0x3137af;};return _0x5dcc();}
1
+ 'use strict';const _0x4ff37e=_0x51bb;(function(_0x26554a,_0x3fda0d){const _0x15cf23=_0x51bb,_0x55d621=_0x26554a();while(!![]){try{const _0x16cca8=-parseInt(_0x15cf23(0x1f7))/0x1*(parseInt(_0x15cf23(0x1f4))/0x2)+-parseInt(_0x15cf23(0x1f5))/0x3+parseInt(_0x15cf23(0x1f3))/0x4*(parseInt(_0x15cf23(0x1ef))/0x5)+-parseInt(_0x15cf23(0x1fc))/0x6*(-parseInt(_0x15cf23(0x204))/0x7)+-parseInt(_0x15cf23(0x1f2))/0x8*(-parseInt(_0x15cf23(0x206))/0x9)+-parseInt(_0x15cf23(0x20a))/0xa+-parseInt(_0x15cf23(0x1f8))/0xb*(-parseInt(_0x15cf23(0x1f1))/0xc);if(_0x16cca8===_0x3fda0d)break;else _0x55d621['push'](_0x55d621['shift']());}catch(_0x4eb24d){_0x55d621['push'](_0x55d621['shift']());}}}(_0x4efd,0x889d8));const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core/facade');function _0x51bb(_0x2c70df,_0x48fd8d){const _0x4efdae=_0x4efd();return _0x51bb=function(_0x51bbd8,_0x969699){_0x51bbd8=_0x51bbd8-0x1ed;let _0x29e15c=_0x4efdae[_0x51bbd8];return _0x29e15c;},_0x51bb(_0x2c70df,_0x48fd8d);}function _0x4efd(){const _0x1430c5=['1589760bAIOWG','UNIVER_PROJECT','3suWEyd','11JbmRXP','exportXLSXBySnapshot','get','IExchangeService','1056XLuFsB','UNIVER_DOC','UNIVER_SHEET','UNRECOGNIZED','importXLSXToUnitIdAsync','UNIVER_SLIDE','importDOCXToSnapshotAsync','_injector','23604ESMGSZ','UNIVER_UNKNOWN','8828334JERrAD','exportXLSXBySnapshotAsync','importXLSXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','9117780BguDoH','exportXLSXByUnitId','importDOCXToSnapshot','importXLSXToSnapshot','478730rsRaIf','exportXLSXByUnitIdAsync','3327528RzdQZI','8zeVXuH','32vPIpWY','410924xwhcbH'];_0x4efd=function(){return _0x1430c5;};return _0x4efd();}var o=(_0x4ae6a6=>(_0x4ae6a6[_0x4ae6a6[_0x4ff37e(0x205)]=0x0]=_0x4ff37e(0x205),_0x4ae6a6[_0x4ae6a6['UNIVER_DOC']=0x1]=_0x4ff37e(0x1fd),_0x4ae6a6[_0x4ae6a6['UNIVER_SHEET']=0x2]=_0x4ff37e(0x1fe),_0x4ae6a6[_0x4ae6a6[_0x4ff37e(0x201)]=0x3]='UNIVER_SLIDE',_0x4ae6a6[_0x4ae6a6[_0x4ff37e(0x1f6)]=0x4]=_0x4ff37e(0x1f6),_0x4ae6a6[_0x4ae6a6[_0x4ff37e(0x1ff)]=-0x1]=_0x4ff37e(0x1ff),_0x4ae6a6))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x4dac82){const _0x1ae969=_0x4ff37e;return this[_0x1ae969(0x200)](_0x4dac82);}async[_0x4ff37e(0x200)](_0x5e28de){const _0x381dbd=_0x4ff37e,_0x2e0844=this[_0x381dbd(0x203)]['get'](r['IExchangeService']);if(!_0x2e0844)throw new Error(_0x381dbd(0x209));return _0x2e0844['importFileToUnitId'](_0x5e28de,o[_0x381dbd(0x1fe)]);}async[_0x4ff37e(0x1ee)](_0x1e6949){return this['importXLSXToSnapshotAsync'](_0x1e6949);}async[_0x4ff37e(0x208)](_0x5a4397){const _0x39b1b8=_0x4ff37e,_0xd1eb31=this[_0x39b1b8(0x203)][_0x39b1b8(0x1fa)](r['IExchangeService']);if(!_0xd1eb31)throw new Error(_0x39b1b8(0x209));return _0xd1eb31[_0x39b1b8(0x1ee)](_0x5a4397);}async[_0x4ff37e(0x20b)](_0x5368ce){const _0x472012=_0x4ff37e;return this[_0x472012(0x1f0)](_0x5368ce);}async['exportXLSXByUnitIdAsync'](_0x15d3c1){const _0x115b9b=_0x4ff37e,_0x49b986=this[_0x115b9b(0x203)]['get'](r[_0x115b9b(0x1fb)]);if(!_0x49b986)throw new Error(_0x115b9b(0x209));return _0x49b986[_0x115b9b(0x20b)](_0x15d3c1);}async[_0x4ff37e(0x1f9)](_0x13dad4){return this['exportXLSXBySnapshotAsync'](_0x13dad4);}async[_0x4ff37e(0x207)](_0x4a5660){const _0x5a6446=_0x4ff37e,_0x2b7885=this[_0x5a6446(0x203)][_0x5a6446(0x1fa)](r[_0x5a6446(0x1fb)]);if(!_0x2b7885)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2b7885['exportXLSXBySnapshot'](_0x4a5660);}async['importDOCXToUnitId'](_0x40e4e5){return this['importDOCXToUnitIdAsync'](_0x40e4e5);}async['importDOCXToUnitIdAsync'](_0x406a4b){const _0x3935e9=_0x4ff37e,_0x57a9ef=this[_0x3935e9(0x203)][_0x3935e9(0x1fa)](r['IExchangeService']);if(!_0x57a9ef)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x57a9ef['importFileToUnitId'](_0x406a4b,o['UNIVER_DOC']);}async[_0x4ff37e(0x1ed)](_0x3613f4){return this['importDOCXToSnapshotAsync'](_0x3613f4);}async[_0x4ff37e(0x202)](_0x466984){const _0x1ccf66=_0x4ff37e,_0x5c7a9a=this['_injector']['get'](r[_0x1ccf66(0x1fb)]);if(!_0x5c7a9a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5c7a9a['importDOCXToSnapshot'](_0x466984);}}i['FUniver']['extend'](c);