@univerjs-pro/exchange-client 0.6.7-experimental.20250329-419d2d7 → 0.6.7-experimental.20250329-cad06f3

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 _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();}
1
+ 'use strict';const _0x26c896=_0x5a71;(function(_0x4f0d6a,_0x4adead){const _0x4d3390=_0x5a71,_0x564c46=_0x4f0d6a();while(!![]){try{const _0x24f490=-parseInt(_0x4d3390(0x10f))/0x1*(parseInt(_0x4d3390(0x10d))/0x2)+-parseInt(_0x4d3390(0x128))/0x3*(-parseInt(_0x4d3390(0x10e))/0x4)+parseInt(_0x4d3390(0x114))/0x5+-parseInt(_0x4d3390(0x116))/0x6*(-parseInt(_0x4d3390(0x129))/0x7)+parseInt(_0x4d3390(0x111))/0x8+-parseInt(_0x4d3390(0x11b))/0x9*(parseInt(_0x4d3390(0x10c))/0xa)+parseInt(_0x4d3390(0x130))/0xb*(-parseInt(_0x4d3390(0x121))/0xc);if(_0x24f490===_0x4adead)break;else _0x564c46['push'](_0x564c46['shift']());}catch(_0x44236a){_0x564c46['push'](_0x564c46['shift']());}}}(_0x76a5,0xd26e6));function _0x5a71(_0x1d18f9,_0x23e51b){const _0x76a5e4=_0x76a5();return _0x5a71=function(_0x5a718d,_0x5156ab){_0x5a718d=_0x5a718d-0x10c;let _0x5d890a=_0x76a5e4[_0x5a718d];return _0x5d890a;},_0x5a71(_0x1d18f9,_0x23e51b);}function _0x76a5(){const _0x2daa83=['extend','122991UeuRwY','7JZxpnQ','importFileToUnitId','UNIVER_UNKNOWN','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','UNIVER_SLIDE','UNRECOGNIZED','3077822PMnMED','20FIDxLp','768ssKoCX','124hWPBpN','4377niLoQC','UNIVER_SHEET','7900264Ttqelj','UNIVER_DOC','importXLSXToUnitId','5625060NnCzGx','UNIVER_PROJECT','1213080xZDEXq','IExchangeService','exportXLSXBySnapshot','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs/core/facade','915894aslPcs','exportXLSXByUnitIdAsync','importDOCXToSnapshot','get','exportXLSXBySnapshotAsync','_injector','36BFwyRa','importXLSXToSnapshotAsync','FUniver','exportXLSXByUnitId','importDOCXToUnitId','importDOCXToUnitIdAsync'];_0x76a5=function(){return _0x2daa83;};return _0x76a5();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x26c896(0x11a));var o=(_0xb0f4a8=>(_0xb0f4a8[_0xb0f4a8[_0x26c896(0x12b)]=0x0]=_0x26c896(0x12b),_0xb0f4a8[_0xb0f4a8[_0x26c896(0x112)]=0x1]=_0x26c896(0x112),_0xb0f4a8[_0xb0f4a8['UNIVER_SHEET']=0x2]=_0x26c896(0x110),_0xb0f4a8[_0xb0f4a8[_0x26c896(0x12e)]=0x3]=_0x26c896(0x12e),_0xb0f4a8[_0xb0f4a8[_0x26c896(0x115)]=0x4]=_0x26c896(0x115),_0xb0f4a8[_0xb0f4a8[_0x26c896(0x12f)]=-0x1]=_0x26c896(0x12f),_0xb0f4a8))(o||{});class c extends i[_0x26c896(0x123)]{async[_0x26c896(0x113)](_0x4e3fd5){const _0x32bdf2=_0x26c896;return this[_0x32bdf2(0x12d)](_0x4e3fd5);}async[_0x26c896(0x12d)](_0x5aef95){const _0x31f6e5=_0x26c896,_0x120637=this[_0x31f6e5(0x120)][_0x31f6e5(0x11e)](r[_0x31f6e5(0x117)]);if(!_0x120637)throw new Error(_0x31f6e5(0x119));return _0x120637['importFileToUnitId'](_0x5aef95,o[_0x31f6e5(0x110)]);}async['importXLSXToSnapshot'](_0xc7ab72){const _0x2f6040=_0x26c896;return this[_0x2f6040(0x122)](_0xc7ab72);}async[_0x26c896(0x122)](_0x3da667){const _0x321470=_0x26c896,_0x1d0b72=this[_0x321470(0x120)][_0x321470(0x11e)](r['IExchangeService']);if(!_0x1d0b72)throw new Error(_0x321470(0x119));return _0x1d0b72['importXLSXToSnapshot'](_0x3da667);}async[_0x26c896(0x124)](_0x51ef3a){const _0x413f4f=_0x26c896;return this[_0x413f4f(0x11c)](_0x51ef3a);}async[_0x26c896(0x11c)](_0x4f044f){const _0x361026=_0x26c896,_0x208eac=this[_0x361026(0x120)][_0x361026(0x11e)](r[_0x361026(0x117)]);if(!_0x208eac)throw new Error(_0x361026(0x119));return _0x208eac[_0x361026(0x124)](_0x4f044f);}async['exportXLSXBySnapshot'](_0x5907f1){const _0x91ed7a=_0x26c896;return this[_0x91ed7a(0x11f)](_0x5907f1);}async[_0x26c896(0x11f)](_0x15c470){const _0x2c55ab=_0x26c896,_0x3befff=this['_injector'][_0x2c55ab(0x11e)](r[_0x2c55ab(0x117)]);if(!_0x3befff)throw new Error(_0x2c55ab(0x119));return _0x3befff[_0x2c55ab(0x118)](_0x15c470);}async[_0x26c896(0x125)](_0x4fe0b3){const _0x418363=_0x26c896;return this[_0x418363(0x126)](_0x4fe0b3);}async[_0x26c896(0x126)](_0x2cd745){const _0x192eb7=_0x26c896,_0x5d2cbc=this[_0x192eb7(0x120)][_0x192eb7(0x11e)](r['IExchangeService']);if(!_0x5d2cbc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5d2cbc[_0x192eb7(0x12a)](_0x2cd745,o[_0x192eb7(0x112)]);}async[_0x26c896(0x11d)](_0xee04cd){const _0x146946=_0x26c896;return this[_0x146946(0x12c)](_0xee04cd);}async[_0x26c896(0x12c)](_0x29ab1e){const _0x3867c3=_0x26c896,_0x5aad92=this[_0x3867c3(0x120)]['get'](r[_0x3867c3(0x117)]);if(!_0x5aad92)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5aad92[_0x3867c3(0x11d)](_0x29ab1e);}}i[_0x26c896(0x123)][_0x26c896(0x127)](c);