@univerjs-pro/exchange-client 0.6.9-nightly.202504071607 → 0.6.9-nightly.202504091607

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 _0xd2150a=_0x54cd;(function(_0x318fcf,_0x48342e){const _0x37e427=_0x54cd,_0x21cced=_0x318fcf();while(!![]){try{const _0x38bcaa=parseInt(_0x37e427(0x98))/0x1*(-parseInt(_0x37e427(0x9d))/0x2)+-parseInt(_0x37e427(0x88))/0x3*(-parseInt(_0x37e427(0x8e))/0x4)+parseInt(_0x37e427(0x97))/0x5*(parseInt(_0x37e427(0x87))/0x6)+-parseInt(_0x37e427(0x96))/0x7+-parseInt(_0x37e427(0x84))/0x8*(-parseInt(_0x37e427(0x91))/0x9)+parseInt(_0x37e427(0x82))/0xa+-parseInt(_0x37e427(0x89))/0xb*(parseInt(_0x37e427(0x95))/0xc);if(_0x38bcaa===_0x48342e)break;else _0x21cced['push'](_0x21cced['shift']());}catch(_0x29a205){_0x21cced['push'](_0x21cced['shift']());}}}(_0xa2a7,0xe66dd));const r=require(_0xd2150a(0x99)),i=require(_0xd2150a(0xa4));var o=(_0xa3b7fc=>(_0xa3b7fc[_0xa3b7fc[_0xd2150a(0x9f)]=0x0]='UNIVER_UNKNOWN',_0xa3b7fc[_0xa3b7fc[_0xd2150a(0x8a)]=0x1]=_0xd2150a(0x8a),_0xa3b7fc[_0xa3b7fc[_0xd2150a(0x9b)]=0x2]=_0xd2150a(0x9b),_0xa3b7fc[_0xa3b7fc['UNIVER_SLIDE']=0x3]=_0xd2150a(0xa2),_0xa3b7fc[_0xa3b7fc[_0xd2150a(0x8b)]=0x4]=_0xd2150a(0x8b),_0xa3b7fc[_0xa3b7fc['UNRECOGNIZED']=-0x1]=_0xd2150a(0xa5),_0xa3b7fc))(o||{});function _0xa2a7(){const _0x4fce12=['importFileToUnitId','UNIVER_UNKNOWN','_injector','importXLSXToSnapshot','UNIVER_SLIDE','exportXLSXBySnapshot','@univerjs/core/facade','UNRECOGNIZED','FUniver','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','3477710hMpyaD','extend','8TSeMmc','exportXLSXByUnitIdAsync','exportXLSXByUnitId','9009864pzqXQm','4017eVvKAg','242QXbRto','UNIVER_DOC','UNIVER_PROJECT','get','importDOCXToSnapshot','4748NfPdhh','exportXLSXBySnapshotAsync','IExchangeService','3727773NGIVoH','importDOCXToUnitId','importDOCXToUnitIdAsync','importXLSXToUnitId','648252AmqBOF','9158317ipfAtX','5dIIoey','3299fkeeOD','@univerjs-pro/exchange-client','importXLSXToUnitIdAsync','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','250gkaaQP'];_0xa2a7=function(){return _0x4fce12;};return _0xa2a7();}function _0x54cd(_0x1ca81c,_0x24c7f3){const _0xa2a7e8=_0xa2a7();return _0x54cd=function(_0x54cda3,_0x1d0325){_0x54cda3=_0x54cda3-0x81;let _0x44989b=_0xa2a7e8[_0x54cda3];return _0x44989b;},_0x54cd(_0x1ca81c,_0x24c7f3);}class c extends i['FUniver']{async[_0xd2150a(0x94)](_0x888d5e){const _0x11350b=_0xd2150a;return this[_0x11350b(0x9a)](_0x888d5e);}async[_0xd2150a(0x9a)](_0x1465d8){const _0x2788f7=_0xd2150a,_0x7b9822=this[_0x2788f7(0xa0)]['get'](r[_0x2788f7(0x90)]);if(!_0x7b9822)throw new Error(_0x2788f7(0x9c));return _0x7b9822['importFileToUnitId'](_0x1465d8,o['UNIVER_SHEET']);}async[_0xd2150a(0xa1)](_0x2abfbd){const _0x331c18=_0xd2150a;return this[_0x331c18(0x81)](_0x2abfbd);}async['importXLSXToSnapshotAsync'](_0xad2f45){const _0x775e43=_0xd2150a,_0x437458=this[_0x775e43(0xa0)][_0x775e43(0x8c)](r[_0x775e43(0x90)]);if(!_0x437458)throw new Error(_0x775e43(0x9c));return _0x437458['importXLSXToSnapshot'](_0xad2f45);}async[_0xd2150a(0x86)](_0x2f24d4){const _0x141b40=_0xd2150a;return this[_0x141b40(0x85)](_0x2f24d4);}async[_0xd2150a(0x85)](_0x5cef02){const _0x2a1893=_0xd2150a,_0x54147d=this['_injector']['get'](r[_0x2a1893(0x90)]);if(!_0x54147d)throw new Error(_0x2a1893(0x9c));return _0x54147d[_0x2a1893(0x86)](_0x5cef02);}async[_0xd2150a(0xa3)](_0x23c69e){const _0xc6c0e5=_0xd2150a;return this[_0xc6c0e5(0x8f)](_0x23c69e);}async[_0xd2150a(0x8f)](_0x173ad2){const _0x4749c2=_0xd2150a,_0x4c7163=this[_0x4749c2(0xa0)][_0x4749c2(0x8c)](r[_0x4749c2(0x90)]);if(!_0x4c7163)throw new Error(_0x4749c2(0x9c));return _0x4c7163[_0x4749c2(0xa3)](_0x173ad2);}async[_0xd2150a(0x92)](_0x2f463e){const _0xf071e7=_0xd2150a;return this[_0xf071e7(0x93)](_0x2f463e);}async[_0xd2150a(0x93)](_0x448401){const _0xe63f7c=_0xd2150a,_0x154fea=this[_0xe63f7c(0xa0)]['get'](r[_0xe63f7c(0x90)]);if(!_0x154fea)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x154fea[_0xe63f7c(0x9e)](_0x448401,o['UNIVER_DOC']);}async[_0xd2150a(0x8d)](_0xd29640){const _0x3658a=_0xd2150a;return this[_0x3658a(0xa7)](_0xd29640);}async[_0xd2150a(0xa7)](_0x4fb4f7){const _0x242734=_0xd2150a,_0x31e41e=this[_0x242734(0xa0)][_0x242734(0x8c)](r['IExchangeService']);if(!_0x31e41e)throw new Error(_0x242734(0x9c));return _0x31e41e[_0x242734(0x8d)](_0x4fb4f7);}}i[_0xd2150a(0xa6)][_0xd2150a(0x83)](c);
1
+ 'use strict';function _0x5b16(){const _0x2b9c07=['importDOCXToSnapshotAsync','importDOCXToUnitIdAsync','52278GtKRGO','exportXLSXBySnapshot','34NomqLp','UNIVER_SLIDE','280076KgsUkM','4930280JDPvqm','IExchangeService','FUniver','62251HYcCPT','2736rsSzCb','importDOCXToSnapshot','exportXLSXByUnitIdAsync','exportXLSXBySnapshotAsync','UNRECOGNIZED','528gydwKx','extend','UNIVER_SHEET','get','10773UAQJrS','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_PROJECT','importXLSXToSnapshotAsync','5LZYzgA','importXLSXToUnitIdAsync','@univerjs/core/facade','exportXLSXByUnitId','_injector','UNIVER_DOC','26250499qfDcOf','importFileToUnitId','2520748uxyQAU','importXLSXToSnapshot'];_0x5b16=function(){return _0x2b9c07;};return _0x5b16();}const _0x39aba2=_0xa1af;(function(_0x53ce68,_0x23f534){const _0x19b949=_0xa1af,_0x4ce251=_0x53ce68();while(!![]){try{const _0x1cb983=parseInt(_0x19b949(0x1d4))/0x1+parseInt(_0x19b949(0x1d2))/0x2*(parseInt(_0x19b949(0x1f2))/0x3)+parseInt(_0x19b949(0x1ee))/0x4*(parseInt(_0x19b949(0x1e6))/0x5)+-parseInt(_0x19b949(0x1de))/0x6*(-parseInt(_0x19b949(0x1d8))/0x7)+parseInt(_0x19b949(0x1d9))/0x8*(parseInt(_0x19b949(0x1e2))/0x9)+parseInt(_0x19b949(0x1d5))/0xa+-parseInt(_0x19b949(0x1ec))/0xb;if(_0x1cb983===_0x23f534)break;else _0x4ce251['push'](_0x4ce251['shift']());}catch(_0x1b979b){_0x4ce251['push'](_0x4ce251['shift']());}}}(_0x5b16,0x7b4fa));const r=require('@univerjs-pro/exchange-client'),i=require(_0x39aba2(0x1e8));function _0xa1af(_0x5d7914,_0x27931f){const _0x5b1695=_0x5b16();return _0xa1af=function(_0xa1afe8,_0x1f27c5){_0xa1afe8=_0xa1afe8-0x1d2;let _0x2f5433=_0x5b1695[_0xa1afe8];return _0x2f5433;},_0xa1af(_0x5d7914,_0x27931f);}var o=(_0x2982ca=>(_0x2982ca[_0x2982ca['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x2982ca[_0x2982ca[_0x39aba2(0x1eb)]=0x1]=_0x39aba2(0x1eb),_0x2982ca[_0x2982ca[_0x39aba2(0x1e0)]=0x2]='UNIVER_SHEET',_0x2982ca[_0x2982ca['UNIVER_SLIDE']=0x3]=_0x39aba2(0x1d3),_0x2982ca[_0x2982ca[_0x39aba2(0x1e4)]=0x4]=_0x39aba2(0x1e4),_0x2982ca[_0x2982ca[_0x39aba2(0x1dd)]=-0x1]=_0x39aba2(0x1dd),_0x2982ca))(o||{});class c extends i[_0x39aba2(0x1d7)]{async['importXLSXToUnitId'](_0x4ea8c9){const _0x3d559d=_0x39aba2;return this[_0x3d559d(0x1e7)](_0x4ea8c9);}async[_0x39aba2(0x1e7)](_0x3ba750){const _0x54aa4c=_0x39aba2,_0x475a68=this[_0x54aa4c(0x1ea)][_0x54aa4c(0x1e1)](r[_0x54aa4c(0x1d6)]);if(!_0x475a68)throw new Error(_0x54aa4c(0x1e3));return _0x475a68[_0x54aa4c(0x1ed)](_0x3ba750,o[_0x54aa4c(0x1e0)]);}async[_0x39aba2(0x1ef)](_0x558977){const _0x116ee3=_0x39aba2;return this[_0x116ee3(0x1e5)](_0x558977);}async[_0x39aba2(0x1e5)](_0x41f0db){const _0x5e5cab=_0x39aba2,_0x259b38=this['_injector'][_0x5e5cab(0x1e1)](r['IExchangeService']);if(!_0x259b38)throw new Error(_0x5e5cab(0x1e3));return _0x259b38[_0x5e5cab(0x1ef)](_0x41f0db);}async[_0x39aba2(0x1e9)](_0x3f85fa){return this['exportXLSXByUnitIdAsync'](_0x3f85fa);}async[_0x39aba2(0x1db)](_0x2e5a04){const _0x5655f7=_0x39aba2,_0x1bf680=this[_0x5655f7(0x1ea)]['get'](r[_0x5655f7(0x1d6)]);if(!_0x1bf680)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1bf680[_0x5655f7(0x1e9)](_0x2e5a04);}async['exportXLSXBySnapshot'](_0x2b04d1){const _0x28dc8a=_0x39aba2;return this[_0x28dc8a(0x1dc)](_0x2b04d1);}async[_0x39aba2(0x1dc)](_0x50f29b){const _0x551ed8=_0x39aba2,_0x535e2f=this[_0x551ed8(0x1ea)]['get'](r[_0x551ed8(0x1d6)]);if(!_0x535e2f)throw new Error(_0x551ed8(0x1e3));return _0x535e2f[_0x551ed8(0x1f3)](_0x50f29b);}async['importDOCXToUnitId'](_0x486016){return this['importDOCXToUnitIdAsync'](_0x486016);}async[_0x39aba2(0x1f1)](_0x1719e4){const _0x727224=_0x39aba2,_0xc655ed=this['_injector']['get'](r[_0x727224(0x1d6)]);if(!_0xc655ed)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xc655ed[_0x727224(0x1ed)](_0x1719e4,o[_0x727224(0x1eb)]);}async[_0x39aba2(0x1da)](_0x255991){const _0x5882b5=_0x39aba2;return this[_0x5882b5(0x1f0)](_0x255991);}async[_0x39aba2(0x1f0)](_0xe0994d){const _0x291d20=_0x39aba2,_0x2def4d=this['_injector'][_0x291d20(0x1e1)](r[_0x291d20(0x1d6)]);if(!_0x2def4d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2def4d[_0x291d20(0x1da)](_0xe0994d);}}i['FUniver'][_0x39aba2(0x1df)](c);