@univerjs-pro/exchange-client 0.6.6-experimental.20250326-149d5e1 → 0.6.6-experimental.20250326-0a2cb0d

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 _0x4f0809=_0x4694;(function(_0x4c3791,_0x2eb73b){const _0x3cdf90=_0x4694,_0x159d09=_0x4c3791();while(!![]){try{const _0x292e8b=-parseInt(_0x3cdf90(0x1d1))/0x1+-parseInt(_0x3cdf90(0x1c3))/0x2+-parseInt(_0x3cdf90(0x1dc))/0x3*(-parseInt(_0x3cdf90(0x1db))/0x4)+-parseInt(_0x3cdf90(0x1df))/0x5+parseInt(_0x3cdf90(0x1c4))/0x6*(parseInt(_0x3cdf90(0x1c2))/0x7)+parseInt(_0x3cdf90(0x1c7))/0x8+parseInt(_0x3cdf90(0x1de))/0x9;if(_0x292e8b===_0x2eb73b)break;else _0x159d09['push'](_0x159d09['shift']());}catch(_0x27567b){_0x159d09['push'](_0x159d09['shift']());}}}(_0x1f01,0xb3cd7));const r=require('@univerjs-pro/exchange-client'),i=require(_0x4f0809(0x1cc));var o=(_0xb6b741=>(_0xb6b741[_0xb6b741[_0x4f0809(0x1d2)]=0x0]=_0x4f0809(0x1d2),_0xb6b741[_0xb6b741[_0x4f0809(0x1c5)]=0x1]=_0x4f0809(0x1c5),_0xb6b741[_0xb6b741[_0x4f0809(0x1dd)]=0x2]=_0x4f0809(0x1dd),_0xb6b741[_0xb6b741['UNIVER_SLIDE']=0x3]=_0x4f0809(0x1cf),_0xb6b741[_0xb6b741[_0x4f0809(0x1d9)]=0x4]=_0x4f0809(0x1d9),_0xb6b741[_0xb6b741[_0x4f0809(0x1d8)]=-0x1]=_0x4f0809(0x1d8),_0xb6b741))(o||{});function _0x4694(_0xffe01f,_0x554c4f){const _0x1f011a=_0x1f01();return _0x4694=function(_0x469470,_0x47c535){_0x469470=_0x469470-0x1c0;let _0x17f48c=_0x1f011a[_0x469470];return _0x17f48c;},_0x4694(_0xffe01f,_0x554c4f);}class c extends i[_0x4f0809(0x1e0)]{async['importXLSXToUnitId'](_0xd81974){const _0x1bc9e7=_0x4f0809;return this[_0x1bc9e7(0x1ce)](_0xd81974);}async['importXLSXToUnitIdAsync'](_0x7cc2e3){const _0x5ef356=_0x4f0809,_0x341b25=this[_0x5ef356(0x1d5)][_0x5ef356(0x1c9)](r[_0x5ef356(0x1c8)]);if(!_0x341b25)throw new Error(_0x5ef356(0x1c1));return _0x341b25[_0x5ef356(0x1ca)](_0x7cc2e3,o[_0x5ef356(0x1dd)]);}async[_0x4f0809(0x1d0)](_0x4b6929){const _0x1d3c83=_0x4f0809;return this[_0x1d3c83(0x1c6)](_0x4b6929);}async[_0x4f0809(0x1c6)](_0x3c187a){const _0x5cfdc8=_0x4f0809,_0x447f6b=this[_0x5cfdc8(0x1d5)][_0x5cfdc8(0x1c9)](r[_0x5cfdc8(0x1c8)]);if(!_0x447f6b)throw new Error(_0x5cfdc8(0x1c1));return _0x447f6b[_0x5cfdc8(0x1d0)](_0x3c187a);}async[_0x4f0809(0x1da)](_0x518dde){return this['exportXLSXByUnitIdAsync'](_0x518dde);}async['exportXLSXByUnitIdAsync'](_0x1e6ca1){const _0x14b417=_0x4f0809,_0x359f18=this[_0x14b417(0x1d5)][_0x14b417(0x1c9)](r[_0x14b417(0x1c8)]);if(!_0x359f18)throw new Error(_0x14b417(0x1c1));return _0x359f18[_0x14b417(0x1da)](_0x1e6ca1);}async['exportXLSXBySnapshot'](_0x5dea3a){return this['exportXLSXBySnapshotAsync'](_0x5dea3a);}async[_0x4f0809(0x1c0)](_0x5a3510){const _0x574a0f=_0x4f0809,_0x31fef3=this['_injector'][_0x574a0f(0x1c9)](r[_0x574a0f(0x1c8)]);if(!_0x31fef3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x31fef3[_0x574a0f(0x1d4)](_0x5a3510);}async[_0x4f0809(0x1d7)](_0x284836){return this['importDOCXToUnitIdAsync'](_0x284836);}async[_0x4f0809(0x1cb)](_0x265ae9){const _0x4a1161=_0x4f0809,_0x1a6530=this[_0x4a1161(0x1d5)]['get'](r['IExchangeService']);if(!_0x1a6530)throw new Error(_0x4a1161(0x1c1));return _0x1a6530[_0x4a1161(0x1ca)](_0x265ae9,o[_0x4a1161(0x1c5)]);}async[_0x4f0809(0x1d6)](_0x53a1cb){const _0xe7dc2b=_0x4f0809;return this[_0xe7dc2b(0x1cd)](_0x53a1cb);}async[_0x4f0809(0x1cd)](_0x5a9a50){const _0xde8802=_0x4f0809,_0x594713=this[_0xde8802(0x1d5)]['get'](r[_0xde8802(0x1c8)]);if(!_0x594713)throw new Error(_0xde8802(0x1c1));return _0x594713[_0xde8802(0x1d6)](_0x5a9a50);}}function _0x1f01(){const _0x466505=['208yCWOlE','19185YFFmYO','UNIVER_SHEET','9978471afOyKt','395515QuZdqo','FUniver','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','42JTAYgR','1839706mIIVSm','404496DhGVGK','UNIVER_DOC','importXLSXToSnapshotAsync','7387504sofyxB','IExchangeService','get','importFileToUnitId','importDOCXToUnitIdAsync','@univerjs/core/facade','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','UNIVER_SLIDE','importXLSXToSnapshot','1033766OXxULs','UNIVER_UNKNOWN','extend','exportXLSXBySnapshot','_injector','importDOCXToSnapshot','importDOCXToUnitId','UNRECOGNIZED','UNIVER_PROJECT','exportXLSXByUnitId'];_0x1f01=function(){return _0x466505;};return _0x1f01();}i[_0x4f0809(0x1e0)][_0x4f0809(0x1d3)](c);
1
+ 'use strict';const _0x3ad80f=_0x3aa1;(function(_0x29f5bc,_0x50ca1f){const _0x2057cf=_0x3aa1,_0x510993=_0x29f5bc();while(!![]){try{const _0x363eed=-parseInt(_0x2057cf(0x15d))/0x1+-parseInt(_0x2057cf(0x158))/0x2*(parseInt(_0x2057cf(0x152))/0x3)+-parseInt(_0x2057cf(0x150))/0x4*(-parseInt(_0x2057cf(0x147))/0x5)+parseInt(_0x2057cf(0x159))/0x6*(-parseInt(_0x2057cf(0x155))/0x7)+-parseInt(_0x2057cf(0x161))/0x8+parseInt(_0x2057cf(0x15b))/0x9*(parseInt(_0x2057cf(0x153))/0xa)+parseInt(_0x2057cf(0x143))/0xb;if(_0x363eed===_0x50ca1f)break;else _0x510993['push'](_0x510993['shift']());}catch(_0x46902f){_0x510993['push'](_0x510993['shift']());}}}(_0x3cfc,0x9214d));function _0x3aa1(_0x48a8aa,_0x4eb6a2){const _0x3cfc01=_0x3cfc();return _0x3aa1=function(_0x3aa15c,_0x5d2fe4){_0x3aa15c=_0x3aa15c-0x141;let _0x50d02a=_0x3cfc01[_0x3aa15c];return _0x50d02a;},_0x3aa1(_0x48a8aa,_0x4eb6a2);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x3ad80f(0x157));var o=(_0x127d50=>(_0x127d50[_0x127d50[_0x3ad80f(0x162)]=0x0]=_0x3ad80f(0x162),_0x127d50[_0x127d50[_0x3ad80f(0x14a)]=0x1]='UNIVER_DOC',_0x127d50[_0x127d50[_0x3ad80f(0x148)]=0x2]='UNIVER_SHEET',_0x127d50[_0x127d50[_0x3ad80f(0x144)]=0x3]=_0x3ad80f(0x144),_0x127d50[_0x127d50[_0x3ad80f(0x145)]=0x4]=_0x3ad80f(0x145),_0x127d50[_0x127d50[_0x3ad80f(0x141)]=-0x1]=_0x3ad80f(0x141),_0x127d50))(o||{});function _0x3cfc(){const _0x2eddfa=['IExchangeService','8319576kFhMlZ','UNIVER_UNKNOWN','get','importDOCXToUnitIdAsync','UNRECOGNIZED','exportXLSXByUnitId','38852803IVSXbJ','UNIVER_SLIDE','UNIVER_PROJECT','FUniver','10TjnNok','UNIVER_SHEET','exportXLSXBySnapshot','UNIVER_DOC','extend','importXLSXToSnapshot','importDOCXToUnitId','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','1408724gpXwpV','importXLSXToUnitIdAsync','3nJzhRn','910SgsPKn','_injector','6483127SIczRS','exportXLSXBySnapshotAsync','@univerjs/core/facade','2314156fHwGzZ','6PDAViL','importFileToUnitId','23589TNsSlf','The\x20exchange\x20service\x20is\x20not\x20available','753411HZHQZN','exportXLSXByUnitIdAsync','importDOCXToSnapshot'];_0x3cfc=function(){return _0x2eddfa;};return _0x3cfc();}class c extends i['FUniver']{async['importXLSXToUnitId'](_0x106562){const _0x784504=_0x3ad80f;return this[_0x784504(0x151)](_0x106562);}async['importXLSXToUnitIdAsync'](_0x57adf0){const _0x491a76=_0x3ad80f,_0x120342=this[_0x491a76(0x154)][_0x491a76(0x163)](r['IExchangeService']);if(!_0x120342)throw new Error(_0x491a76(0x15c));return _0x120342[_0x491a76(0x15a)](_0x57adf0,o[_0x491a76(0x148)]);}async[_0x3ad80f(0x14c)](_0x41b696){const _0x303e2b=_0x3ad80f;return this[_0x303e2b(0x14f)](_0x41b696);}async['importXLSXToSnapshotAsync'](_0x3abcdf){const _0x51784b=_0x3ad80f,_0x16d186=this[_0x51784b(0x154)][_0x51784b(0x163)](r[_0x51784b(0x160)]);if(!_0x16d186)throw new Error(_0x51784b(0x15c));return _0x16d186['importXLSXToSnapshot'](_0x3abcdf);}async[_0x3ad80f(0x142)](_0x21a85e){const _0x2f07ba=_0x3ad80f;return this[_0x2f07ba(0x15e)](_0x21a85e);}async[_0x3ad80f(0x15e)](_0x243f0c){const _0x47ffc6=_0x3ad80f,_0x122568=this[_0x47ffc6(0x154)][_0x47ffc6(0x163)](r[_0x47ffc6(0x160)]);if(!_0x122568)throw new Error(_0x47ffc6(0x15c));return _0x122568['exportXLSXByUnitId'](_0x243f0c);}async[_0x3ad80f(0x149)](_0x36e67a){const _0x17b714=_0x3ad80f;return this[_0x17b714(0x156)](_0x36e67a);}async[_0x3ad80f(0x156)](_0x28d6af){const _0x40af72=_0x3ad80f,_0x1f0322=this[_0x40af72(0x154)]['get'](r['IExchangeService']);if(!_0x1f0322)throw new Error(_0x40af72(0x15c));return _0x1f0322['exportXLSXBySnapshot'](_0x28d6af);}async[_0x3ad80f(0x14d)](_0x306d7a){const _0x171980=_0x3ad80f;return this[_0x171980(0x164)](_0x306d7a);}async[_0x3ad80f(0x164)](_0x362be5){const _0x1e1621=_0x3ad80f,_0x37b6d3=this[_0x1e1621(0x154)][_0x1e1621(0x163)](r['IExchangeService']);if(!_0x37b6d3)throw new Error(_0x1e1621(0x15c));return _0x37b6d3[_0x1e1621(0x15a)](_0x362be5,o[_0x1e1621(0x14a)]);}async[_0x3ad80f(0x15f)](_0x3b80c8){const _0x1032e8=_0x3ad80f;return this[_0x1032e8(0x14e)](_0x3b80c8);}async[_0x3ad80f(0x14e)](_0x4a9c4d){const _0x39024=_0x3ad80f,_0x2e79a1=this[_0x39024(0x154)][_0x39024(0x163)](r[_0x39024(0x160)]);if(!_0x2e79a1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2e79a1[_0x39024(0x15f)](_0x4a9c4d);}}i[_0x3ad80f(0x146)][_0x3ad80f(0x14b)](c);