@univerjs-pro/exchange-client 0.6.7-experimental.20250329-4e66087 → 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 _0x209360=_0x2526;function _0xb0eb(){const _0x43282f=['333zoDMgY','importXLSXToUnitIdAsync','extend','595570JDONly','UNIVER_PROJECT','IExchangeService','exportXLSXByUnitId','importXLSXToUnitId','exportXLSXBySnapshotAsync','@univerjs/core/facade','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','importDOCXToSnapshot','78tVfqbp','UNIVER_DOC','importDOCXToSnapshotAsync','4161HsOGXt','importXLSXToSnapshot','2415332hcYQgA','importDOCXToUnitIdAsync','UNIVER_SLIDE','5DFhsIt','6448672dCYMjo','get','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','1370260OsFgPi','_injector','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','UNIVER_SHEET','FUniver','778463tVPqYw','UNRECOGNIZED','1520520hyVfsC'];_0xb0eb=function(){return _0x43282f;};return _0xb0eb();}(function(_0x3fc3b0,_0x16edba){const _0x21f1db=_0x2526,_0x255266=_0x3fc3b0();while(!![]){try{const _0x3337f7=-parseInt(_0x21f1db(0xfe))/0x1+-parseInt(_0x21f1db(0x108))/0x2+parseInt(_0x21f1db(0x111))/0x3+-parseInt(_0x21f1db(0x100))/0x4*(parseInt(_0x21f1db(0x103))/0x5)+parseInt(_0x21f1db(0x11f))/0x6*(-parseInt(_0x21f1db(0x10f))/0x7)+parseInt(_0x21f1db(0x104))/0x8+parseInt(_0x21f1db(0x112))/0x9*(parseInt(_0x21f1db(0x115))/0xa);if(_0x3337f7===_0x16edba)break;else _0x255266['push'](_0x255266['shift']());}catch(_0x300bbc){_0x255266['push'](_0x255266['shift']());}}}(_0xb0eb,0xbdddc));const r=require('@univerjs-pro/exchange-client'),i=require(_0x209360(0x11b));var o=(_0x45c432=>(_0x45c432[_0x45c432[_0x209360(0x106)]=0x0]='UNIVER_UNKNOWN',_0x45c432[_0x45c432[_0x209360(0x120)]=0x1]=_0x209360(0x120),_0x45c432[_0x45c432[_0x209360(0x10d)]=0x2]=_0x209360(0x10d),_0x45c432[_0x45c432[_0x209360(0x102)]=0x3]=_0x209360(0x102),_0x45c432[_0x45c432[_0x209360(0x116)]=0x4]=_0x209360(0x116),_0x45c432[_0x45c432[_0x209360(0x110)]=-0x1]=_0x209360(0x110),_0x45c432))(o||{});function _0x2526(_0x3953af,_0x1d6d37){const _0xb0ebbf=_0xb0eb();return _0x2526=function(_0x25262a,_0x282ebb){_0x25262a=_0x25262a-0xfe;let _0xb2e0df=_0xb0ebbf[_0x25262a];return _0xb2e0df;},_0x2526(_0x3953af,_0x1d6d37);}class c extends i['FUniver']{async[_0x209360(0x119)](_0x49dfa3){const _0x28cddf=_0x209360;return this[_0x28cddf(0x113)](_0x49dfa3);}async[_0x209360(0x113)](_0x2f4ab4){const _0x46ecfd=_0x209360,_0x5ee6d0=this[_0x46ecfd(0x109)][_0x46ecfd(0x105)](r[_0x46ecfd(0x117)]);if(!_0x5ee6d0)throw new Error(_0x46ecfd(0x10b));return _0x5ee6d0[_0x46ecfd(0x10a)](_0x2f4ab4,o['UNIVER_SHEET']);}async[_0x209360(0xff)](_0x49fcb5){const _0x14316f=_0x209360;return this[_0x14316f(0x107)](_0x49fcb5);}async[_0x209360(0x107)](_0x3f8ab8){const _0x4460b0=_0x209360,_0x42cf32=this[_0x4460b0(0x109)][_0x4460b0(0x105)](r[_0x4460b0(0x117)]);if(!_0x42cf32)throw new Error(_0x4460b0(0x10b));return _0x42cf32[_0x4460b0(0xff)](_0x3f8ab8);}async[_0x209360(0x118)](_0x5978cc){const _0x60f2d3=_0x209360;return this[_0x60f2d3(0x11d)](_0x5978cc);}async[_0x209360(0x11d)](_0x5f4552){const _0x2aed62=_0x209360,_0x2705af=this[_0x2aed62(0x109)][_0x2aed62(0x105)](r[_0x2aed62(0x117)]);if(!_0x2705af)throw new Error(_0x2aed62(0x10b));return _0x2705af['exportXLSXByUnitId'](_0x5f4552);}async[_0x209360(0x11c)](_0x215e94){const _0x14c0a5=_0x209360;return this[_0x14c0a5(0x11a)](_0x215e94);}async[_0x209360(0x11a)](_0x1b1418){const _0x25126f=_0x209360,_0x11c3ba=this['_injector'][_0x25126f(0x105)](r[_0x25126f(0x117)]);if(!_0x11c3ba)throw new Error(_0x25126f(0x10b));return _0x11c3ba[_0x25126f(0x11c)](_0x1b1418);}async[_0x209360(0x10c)](_0x3c7740){const _0x1c14f1=_0x209360;return this[_0x1c14f1(0x101)](_0x3c7740);}async[_0x209360(0x101)](_0x3a064c){const _0x4030cb=_0x209360,_0x27fc3c=this['_injector'][_0x4030cb(0x105)](r[_0x4030cb(0x117)]);if(!_0x27fc3c)throw new Error(_0x4030cb(0x10b));return _0x27fc3c['importFileToUnitId'](_0x3a064c,o[_0x4030cb(0x120)]);}async[_0x209360(0x11e)](_0xe4bfaf){const _0x185c75=_0x209360;return this[_0x185c75(0x121)](_0xe4bfaf);}async[_0x209360(0x121)](_0x13a9ef){const _0x216787=_0x209360,_0x202de1=this[_0x216787(0x109)][_0x216787(0x105)](r[_0x216787(0x117)]);if(!_0x202de1)throw new Error(_0x216787(0x10b));return _0x202de1[_0x216787(0x11e)](_0x13a9ef);}}i[_0x209360(0x10e)][_0x209360(0x114)](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();}