@univerjs-pro/exchange-client 0.6.7-experimental.20250328-21e0bec → 0.6.7-experimental.20250329-419d2d7

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 _0x3ecc3d=_0x57b5;function _0x57b5(_0x26c430,_0x3895e5){const _0x481e9a=_0x481e();return _0x57b5=function(_0x57b5f6,_0x39b74e){_0x57b5f6=_0x57b5f6-0x148;let _0x3008ec=_0x481e9a[_0x57b5f6];return _0x3008ec;},_0x57b5(_0x26c430,_0x3895e5);}(function(_0x218907,_0x359919){const _0x43f0f1=_0x57b5,_0x3cda4f=_0x218907();while(!![]){try{const _0x34913d=-parseInt(_0x43f0f1(0x149))/0x1*(-parseInt(_0x43f0f1(0x162))/0x2)+parseInt(_0x43f0f1(0x14d))/0x3*(-parseInt(_0x43f0f1(0x153))/0x4)+parseInt(_0x43f0f1(0x14c))/0x5*(parseInt(_0x43f0f1(0x166))/0x6)+-parseInt(_0x43f0f1(0x14e))/0x7+-parseInt(_0x43f0f1(0x150))/0x8+parseInt(_0x43f0f1(0x157))/0x9*(-parseInt(_0x43f0f1(0x163))/0xa)+parseInt(_0x43f0f1(0x156))/0xb;if(_0x34913d===_0x359919)break;else _0x3cda4f['push'](_0x3cda4f['shift']());}catch(_0x511afc){_0x3cda4f['push'](_0x3cda4f['shift']());}}}(_0x481e,0x75b26));const r=require('@univerjs-pro/exchange-client'),i=require(_0x3ecc3d(0x14b));function _0x481e(){const _0x498db7=['UNIVER_SHEET','363002OGOinQ','1429810TRXfIm','extend','importDOCXToSnapshot','98376RpoNzj','UNIVER_UNKNOWN','exportXLSXByUnitId','UNIVER_PROJECT','3MptLPc','FUniver','@univerjs/core/facade','115CCOhNJ','3WNUiWw','1867558AqCrYH','importDOCXToUnitIdAsync','4219872rAyENa','exportXLSXBySnapshot','importFileToUnitId','118676OSxkcD','UNIVER_DOC','importDOCXToSnapshotAsync','12092597WKjHKF','45TlwtYx','importXLSXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','importXLSXToSnapshot','IExchangeService','UNIVER_SLIDE','get','_injector','exportXLSXByUnitIdAsync'];_0x481e=function(){return _0x498db7;};return _0x481e();}var o=(_0x1fbe27=>(_0x1fbe27[_0x1fbe27['UNIVER_UNKNOWN']=0x0]=_0x3ecc3d(0x167),_0x1fbe27[_0x1fbe27[_0x3ecc3d(0x154)]=0x1]=_0x3ecc3d(0x154),_0x1fbe27[_0x1fbe27[_0x3ecc3d(0x161)]=0x2]=_0x3ecc3d(0x161),_0x1fbe27[_0x1fbe27[_0x3ecc3d(0x15d)]=0x3]=_0x3ecc3d(0x15d),_0x1fbe27[_0x1fbe27['UNIVER_PROJECT']=0x4]=_0x3ecc3d(0x148),_0x1fbe27[_0x1fbe27['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1fbe27))(o||{});class c extends i[_0x3ecc3d(0x14a)]{async['importXLSXToUnitId'](_0x14ed9a){return this['importXLSXToUnitIdAsync'](_0x14ed9a);}async['importXLSXToUnitIdAsync'](_0x2d882f){const _0x4b3826=_0x3ecc3d,_0x1ba4a5=this[_0x4b3826(0x15f)]['get'](r[_0x4b3826(0x15c)]);if(!_0x1ba4a5)throw new Error(_0x4b3826(0x159));return _0x1ba4a5[_0x4b3826(0x152)](_0x2d882f,o['UNIVER_SHEET']);}async[_0x3ecc3d(0x15b)](_0xd73223){const _0x638394=_0x3ecc3d;return this[_0x638394(0x158)](_0xd73223);}async[_0x3ecc3d(0x158)](_0x3159eb){const _0xf71660=_0x3ecc3d,_0x56d24a=this[_0xf71660(0x15f)][_0xf71660(0x15e)](r[_0xf71660(0x15c)]);if(!_0x56d24a)throw new Error(_0xf71660(0x159));return _0x56d24a[_0xf71660(0x15b)](_0x3159eb);}async['exportXLSXByUnitId'](_0x481b1f){const _0x516146=_0x3ecc3d;return this[_0x516146(0x160)](_0x481b1f);}async[_0x3ecc3d(0x160)](_0x4bd424){const _0x19f874=_0x3ecc3d,_0x10b782=this['_injector'][_0x19f874(0x15e)](r[_0x19f874(0x15c)]);if(!_0x10b782)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x10b782[_0x19f874(0x168)](_0x4bd424);}async[_0x3ecc3d(0x151)](_0x4b12fe){return this['exportXLSXBySnapshotAsync'](_0x4b12fe);}async['exportXLSXBySnapshotAsync'](_0x3b317b){const _0x26ccd7=_0x3ecc3d,_0x5e2fb2=this[_0x26ccd7(0x15f)]['get'](r['IExchangeService']);if(!_0x5e2fb2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5e2fb2[_0x26ccd7(0x151)](_0x3b317b);}async[_0x3ecc3d(0x15a)](_0x2e7dc9){const _0x5ac4b3=_0x3ecc3d;return this[_0x5ac4b3(0x14f)](_0x2e7dc9);}async[_0x3ecc3d(0x14f)](_0x374f25){const _0x314bc7=_0x3ecc3d,_0x4343c9=this[_0x314bc7(0x15f)]['get'](r[_0x314bc7(0x15c)]);if(!_0x4343c9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4343c9[_0x314bc7(0x152)](_0x374f25,o[_0x314bc7(0x154)]);}async['importDOCXToSnapshot'](_0x26aa7c){const _0xaaaedd=_0x3ecc3d;return this[_0xaaaedd(0x155)](_0x26aa7c);}async[_0x3ecc3d(0x155)](_0x3172a3){const _0xd4f46d=_0x3ecc3d,_0x3922c0=this['_injector']['get'](r[_0xd4f46d(0x15c)]);if(!_0x3922c0)throw new Error(_0xd4f46d(0x159));return _0x3922c0[_0xd4f46d(0x165)](_0x3172a3);}}i['FUniver'][_0x3ecc3d(0x164)](c);
1
+ 'use strict';const _0x558f48=_0x1626;function _0x1626(_0x124265,_0x125917){const _0x369f90=_0x369f();return _0x1626=function(_0x16268d,_0x57dcd1){_0x16268d=_0x16268d-0xcd;let _0x484b8b=_0x369f90[_0x16268d];return _0x484b8b;},_0x1626(_0x124265,_0x125917);}(function(_0x568d8e,_0x3f169d){const _0x653f72=_0x1626,_0x2a503d=_0x568d8e();while(!![]){try{const _0x303dee=-parseInt(_0x653f72(0xe7))/0x1+-parseInt(_0x653f72(0xe5))/0x2*(-parseInt(_0x653f72(0xea))/0x3)+parseInt(_0x653f72(0xee))/0x4+parseInt(_0x653f72(0xec))/0x5+parseInt(_0x653f72(0xd3))/0x6+-parseInt(_0x653f72(0xe6))/0x7*(parseInt(_0x653f72(0xd2))/0x8)+parseInt(_0x653f72(0xd8))/0x9*(-parseInt(_0x653f72(0xce))/0xa);if(_0x303dee===_0x3f169d)break;else _0x2a503d['push'](_0x2a503d['shift']());}catch(_0x2fd300){_0x2a503d['push'](_0x2a503d['shift']());}}}(_0x369f,0x61957));const r=require('@univerjs-pro/exchange-client'),i=require(_0x558f48(0xe3));var o=(_0xf13fc0=>(_0xf13fc0[_0xf13fc0['UNIVER_UNKNOWN']=0x0]=_0x558f48(0xef),_0xf13fc0[_0xf13fc0['UNIVER_DOC']=0x1]=_0x558f48(0xd4),_0xf13fc0[_0xf13fc0['UNIVER_SHEET']=0x2]=_0x558f48(0xed),_0xf13fc0[_0xf13fc0[_0x558f48(0xeb)]=0x3]='UNIVER_SLIDE',_0xf13fc0[_0xf13fc0[_0x558f48(0xdf)]=0x4]='UNIVER_PROJECT',_0xf13fc0[_0xf13fc0[_0x558f48(0xd9)]=-0x1]=_0x558f48(0xd9),_0xf13fc0))(o||{});class c extends i[_0x558f48(0xe2)]{async[_0x558f48(0xd5)](_0x955811){const _0x2759fb=_0x558f48;return this[_0x2759fb(0xe4)](_0x955811);}async[_0x558f48(0xe4)](_0x12fa13){const _0x3a1188=_0x558f48,_0x122b14=this[_0x3a1188(0xde)]['get'](r[_0x3a1188(0xe8)]);if(!_0x122b14)throw new Error(_0x3a1188(0xd0));return _0x122b14[_0x3a1188(0xdb)](_0x12fa13,o[_0x3a1188(0xed)]);}async[_0x558f48(0xcd)](_0x41ddbb){const _0xed8729=_0x558f48;return this[_0xed8729(0xe1)](_0x41ddbb);}async['importXLSXToSnapshotAsync'](_0x1572d6){const _0x11f262=_0x558f48,_0x2e2a51=this[_0x11f262(0xde)][_0x11f262(0xdd)](r[_0x11f262(0xe8)]);if(!_0x2e2a51)throw new Error(_0x11f262(0xd0));return _0x2e2a51[_0x11f262(0xcd)](_0x1572d6);}async['exportXLSXByUnitId'](_0x166261){return this['exportXLSXByUnitIdAsync'](_0x166261);}async[_0x558f48(0xda)](_0x34d23e){const _0x41d562=_0x558f48,_0x57e73b=this[_0x41d562(0xde)][_0x41d562(0xdd)](r[_0x41d562(0xe8)]);if(!_0x57e73b)throw new Error(_0x41d562(0xd0));return _0x57e73b[_0x41d562(0xd6)](_0x34d23e);}async[_0x558f48(0xe9)](_0x407c70){const _0x1c532c=_0x558f48;return this[_0x1c532c(0xe0)](_0x407c70);}async['exportXLSXBySnapshotAsync'](_0x12bcac){const _0x52b52f=_0x558f48,_0x49b4a0=this[_0x52b52f(0xde)][_0x52b52f(0xdd)](r[_0x52b52f(0xe8)]);if(!_0x49b4a0)throw new Error(_0x52b52f(0xd0));return _0x49b4a0[_0x52b52f(0xe9)](_0x12bcac);}async['importDOCXToUnitId'](_0x5d4a5a){const _0x30e61b=_0x558f48;return this[_0x30e61b(0xdc)](_0x5d4a5a);}async[_0x558f48(0xdc)](_0x415c93){const _0x97c93=_0x558f48,_0x1191fd=this[_0x97c93(0xde)]['get'](r[_0x97c93(0xe8)]);if(!_0x1191fd)throw new Error(_0x97c93(0xd0));return _0x1191fd['importFileToUnitId'](_0x415c93,o[_0x97c93(0xd4)]);}async['importDOCXToSnapshot'](_0x4c68aa){return this['importDOCXToSnapshotAsync'](_0x4c68aa);}async[_0x558f48(0xcf)](_0x4cac9b){const _0x47a48e=_0x558f48,_0x3a7e2e=this[_0x47a48e(0xde)]['get'](r[_0x47a48e(0xe8)]);if(!_0x3a7e2e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3a7e2e[_0x47a48e(0xd7)](_0x4cac9b);}}i[_0x558f48(0xe2)][_0x558f48(0xd1)](c);function _0x369f(){const _0x49202e=['importXLSXToUnitId','exportXLSXByUnitId','importDOCXToSnapshot','3249Iseiuc','UNRECOGNIZED','exportXLSXByUnitIdAsync','importFileToUnitId','importDOCXToUnitIdAsync','get','_injector','UNIVER_PROJECT','exportXLSXBySnapshotAsync','importXLSXToSnapshotAsync','FUniver','@univerjs/core/facade','importXLSXToUnitIdAsync','1468VxRIFn','280882GeGqVj','25646XRYvgg','IExchangeService','exportXLSXBySnapshot','2418RUurpk','UNIVER_SLIDE','765485FrQXVF','UNIVER_SHEET','1880752sDIYuc','UNIVER_UNKNOWN','importXLSXToSnapshot','21890lRSmmE','importDOCXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','extend','64muQDWj','1930182kDdwWH','UNIVER_DOC'];_0x369f=function(){return _0x49202e;};return _0x369f();}