@univerjs-pro/exchange-client 0.6.10-experimental.20250411-f5b7b16 → 0.6.10-experimental.20250419-8830bd4

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 _0x4dd5c6=_0x5205;(function(_0xdd4056,_0x29d1cc){const _0x39f0de=_0x5205,_0x1244a8=_0xdd4056();while(!![]){try{const _0x6dc387=parseInt(_0x39f0de(0x19a))/0x1*(-parseInt(_0x39f0de(0x198))/0x2)+parseInt(_0x39f0de(0x18c))/0x3+parseInt(_0x39f0de(0x18f))/0x4*(-parseInt(_0x39f0de(0x1a2))/0x5)+-parseInt(_0x39f0de(0x1a3))/0x6+-parseInt(_0x39f0de(0x18e))/0x7+parseInt(_0x39f0de(0x187))/0x8+-parseInt(_0x39f0de(0x1a4))/0x9*(-parseInt(_0x39f0de(0x1a1))/0xa);if(_0x6dc387===_0x29d1cc)break;else _0x1244a8['push'](_0x1244a8['shift']());}catch(_0x45a3b4){_0x1244a8['push'](_0x1244a8['shift']());}}}(_0x4a59,0x189ab));const r=require(_0x4dd5c6(0x19f)),i=require('@univerjs/core/facade');var o=(_0x244db8=>(_0x244db8[_0x244db8[_0x4dd5c6(0x195)]=0x0]=_0x4dd5c6(0x195),_0x244db8[_0x244db8[_0x4dd5c6(0x194)]=0x1]=_0x4dd5c6(0x194),_0x244db8[_0x244db8[_0x4dd5c6(0x1a0)]=0x2]=_0x4dd5c6(0x1a0),_0x244db8[_0x244db8['UNIVER_SLIDE']=0x3]=_0x4dd5c6(0x196),_0x244db8[_0x244db8[_0x4dd5c6(0x185)]=0x4]=_0x4dd5c6(0x185),_0x244db8[_0x244db8[_0x4dd5c6(0x18d)]=-0x1]=_0x4dd5c6(0x18d),_0x244db8))(o||{});function _0x5205(_0x14d7b2,_0xa614a4){const _0x4a59af=_0x4a59();return _0x5205=function(_0x52050b,_0xeeda5d){_0x52050b=_0x52050b-0x184;let _0x5b6f72=_0x4a59af[_0x52050b];return _0x5b6f72;},_0x5205(_0x14d7b2,_0xa614a4);}class c extends i[_0x4dd5c6(0x184)]{async[_0x4dd5c6(0x18b)](_0x58b8bb){const _0x10e4a8=_0x4dd5c6;return this[_0x10e4a8(0x19e)](_0x58b8bb);}async[_0x4dd5c6(0x19e)](_0x4f840b){const _0x4f5f28=_0x4dd5c6,_0xaa80b0=this[_0x4f5f28(0x19d)]['get'](r['IExchangeService']);if(!_0xaa80b0)throw new Error(_0x4f5f28(0x19c));return _0xaa80b0[_0x4f5f28(0x191)](_0x4f840b,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x1232dd){return this['importXLSXToSnapshotAsync'](_0x1232dd);}async[_0x4dd5c6(0x190)](_0x479f6f){const _0x57d3f5=_0x4dd5c6,_0x5d69e0=this[_0x57d3f5(0x19d)][_0x57d3f5(0x186)](r['IExchangeService']);if(!_0x5d69e0)throw new Error(_0x57d3f5(0x19c));return _0x5d69e0[_0x57d3f5(0x193)](_0x479f6f);}async[_0x4dd5c6(0x1a5)](_0x112d37){const _0x45f18d=_0x4dd5c6;return this[_0x45f18d(0x19b)](_0x112d37);}async[_0x4dd5c6(0x19b)](_0xcc19cd){const _0x362713=_0x4dd5c6,_0x2e6761=this['_injector'][_0x362713(0x186)](r['IExchangeService']);if(!_0x2e6761)throw new Error(_0x362713(0x19c));return _0x2e6761[_0x362713(0x1a5)](_0xcc19cd);}async['exportXLSXBySnapshot'](_0x4c2735){return this['exportXLSXBySnapshotAsync'](_0x4c2735);}async[_0x4dd5c6(0x188)](_0x14143b){const _0xf83eaa=_0x4dd5c6,_0x1d81b1=this[_0xf83eaa(0x19d)][_0xf83eaa(0x186)](r[_0xf83eaa(0x189)]);if(!_0x1d81b1)throw new Error(_0xf83eaa(0x19c));return _0x1d81b1[_0xf83eaa(0x18a)](_0x14143b);}async['importDOCXToUnitId'](_0x4f30cd){const _0x14c225=_0x4dd5c6;return this[_0x14c225(0x199)](_0x4f30cd);}async['importDOCXToUnitIdAsync'](_0x41112a){const _0x2689e=_0x4dd5c6,_0x51bce6=this[_0x2689e(0x19d)]['get'](r['IExchangeService']);if(!_0x51bce6)throw new Error(_0x2689e(0x19c));return _0x51bce6[_0x2689e(0x191)](_0x41112a,o['UNIVER_DOC']);}async[_0x4dd5c6(0x192)](_0x4822a6){const _0x291a28=_0x4dd5c6;return this[_0x291a28(0x197)](_0x4822a6);}async[_0x4dd5c6(0x197)](_0x45933b){const _0x54329c=_0x4dd5c6,_0x45bda1=this[_0x54329c(0x19d)]['get'](r['IExchangeService']);if(!_0x45bda1)throw new Error(_0x54329c(0x19c));return _0x45bda1[_0x54329c(0x192)](_0x45933b);}}function _0x4a59(){const _0xd4c272=['importXLSXToSnapshot','UNIVER_DOC','UNIVER_UNKNOWN','UNIVER_SLIDE','importDOCXToSnapshotAsync','3934zAsUuw','importDOCXToUnitIdAsync','8MzrRyc','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','_injector','importXLSXToUnitIdAsync','@univerjs-pro/exchange-client','UNIVER_SHEET','43030bgvYbF','935290uZMFjo','93120jmtkAs','423OzJxhO','exportXLSXByUnitId','FUniver','UNIVER_PROJECT','get','892240XZiaxt','exportXLSXBySnapshotAsync','IExchangeService','exportXLSXBySnapshot','importXLSXToUnitId','254088ToJZHD','UNRECOGNIZED','555618sNTISF','4KeedJY','importXLSXToSnapshotAsync','importFileToUnitId','importDOCXToSnapshot'];_0x4a59=function(){return _0xd4c272;};return _0x4a59();}i[_0x4dd5c6(0x184)]['extend'](c);
1
+ 'use strict';const _0x209d6f=_0x258d;(function(_0x48101e,_0x42594f){const _0x4dcc66=_0x258d,_0x27346f=_0x48101e();while(!![]){try{const _0x8d752b=-parseInt(_0x4dcc66(0xfa))/0x1*(-parseInt(_0x4dcc66(0xee))/0x2)+parseInt(_0x4dcc66(0xeb))/0x3*(parseInt(_0x4dcc66(0xfe))/0x4)+parseInt(_0x4dcc66(0xe9))/0x5*(-parseInt(_0x4dcc66(0xfc))/0x6)+parseInt(_0x4dcc66(0xe8))/0x7+parseInt(_0x4dcc66(0xe7))/0x8+parseInt(_0x4dcc66(0x102))/0x9+parseInt(_0x4dcc66(0xe6))/0xa*(-parseInt(_0x4dcc66(0xef))/0xb);if(_0x8d752b===_0x42594f)break;else _0x27346f['push'](_0x27346f['shift']());}catch(_0xaf7b41){_0x27346f['push'](_0x27346f['shift']());}}}(_0x19fd,0xd35b5));const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core/facade');var o=(_0x1e6205=>(_0x1e6205[_0x1e6205[_0x209d6f(0xfb)]=0x0]=_0x209d6f(0xfb),_0x1e6205[_0x1e6205[_0x209d6f(0xf9)]=0x1]=_0x209d6f(0xf9),_0x1e6205[_0x1e6205[_0x209d6f(0x104)]=0x2]=_0x209d6f(0x104),_0x1e6205[_0x1e6205[_0x209d6f(0x100)]=0x3]=_0x209d6f(0x100),_0x1e6205[_0x1e6205['UNIVER_PROJECT']=0x4]=_0x209d6f(0xed),_0x1e6205[_0x1e6205[_0x209d6f(0x106)]=-0x1]=_0x209d6f(0x106),_0x1e6205))(o||{});class c extends i[_0x209d6f(0xf1)]{async['importXLSXToUnitId'](_0x51ed94){const _0xe108fb=_0x209d6f;return this[_0xe108fb(0x105)](_0x51ed94);}async['importXLSXToUnitIdAsync'](_0x2db64b){const _0x429622=_0x209d6f,_0xd1bdae=this[_0x429622(0xf4)][_0x429622(0xf3)](r[_0x429622(0xe5)]);if(!_0xd1bdae)throw new Error(_0x429622(0xea));return _0xd1bdae[_0x429622(0xf0)](_0x2db64b,o['UNIVER_SHEET']);}async[_0x209d6f(0x101)](_0x5e1529){return this['importXLSXToSnapshotAsync'](_0x5e1529);}async['importXLSXToSnapshotAsync'](_0x433398){const _0x137b3c=_0x209d6f,_0x56cb4c=this[_0x137b3c(0xf4)]['get'](r[_0x137b3c(0xe5)]);if(!_0x56cb4c)throw new Error(_0x137b3c(0xea));return _0x56cb4c[_0x137b3c(0x101)](_0x433398);}async[_0x209d6f(0xf2)](_0x366e22){return this['exportXLSXByUnitIdAsync'](_0x366e22);}async[_0x209d6f(0xf8)](_0x2fb7b3){const _0x564677=_0x209d6f,_0x17bd78=this[_0x564677(0xf4)]['get'](r[_0x564677(0xe5)]);if(!_0x17bd78)throw new Error(_0x564677(0xea));return _0x17bd78[_0x564677(0xf2)](_0x2fb7b3);}async[_0x209d6f(0x103)](_0x1a784a){const _0x4e230d=_0x209d6f;return this[_0x4e230d(0xf7)](_0x1a784a);}async['exportXLSXBySnapshotAsync'](_0x57e035){const _0x356036=_0x209d6f,_0x510e63=this['_injector'][_0x356036(0xf3)](r[_0x356036(0xe5)]);if(!_0x510e63)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x510e63[_0x356036(0x103)](_0x57e035);}async[_0x209d6f(0xf6)](_0x166fcc){const _0xcc0ce0=_0x209d6f;return this[_0xcc0ce0(0xff)](_0x166fcc);}async[_0x209d6f(0xff)](_0x1a32be){const _0x330658=_0x209d6f,_0x119257=this['_injector']['get'](r[_0x330658(0xe5)]);if(!_0x119257)throw new Error(_0x330658(0xea));return _0x119257[_0x330658(0xf0)](_0x1a32be,o[_0x330658(0xf9)]);}async[_0x209d6f(0xf5)](_0x449b9b){const _0x3f72cc=_0x209d6f;return this[_0x3f72cc(0xec)](_0x449b9b);}async[_0x209d6f(0xec)](_0x51b714){const _0x4b5918=_0x209d6f,_0x179876=this[_0x4b5918(0xf4)][_0x4b5918(0xf3)](r['IExchangeService']);if(!_0x179876)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x179876[_0x4b5918(0xf5)](_0x51b714);}}function _0x19fd(){const _0x5c12de=['FUniver','exportXLSXByUnitId','get','_injector','importDOCXToSnapshot','importDOCXToUnitId','exportXLSXBySnapshotAsync','exportXLSXByUnitIdAsync','UNIVER_DOC','586163FOdqcx','UNIVER_UNKNOWN','65598gjhwje','extend','54844gXwhCD','importDOCXToUnitIdAsync','UNIVER_SLIDE','importXLSXToSnapshot','11898261jBPlZe','exportXLSXBySnapshot','UNIVER_SHEET','importXLSXToUnitIdAsync','UNRECOGNIZED','IExchangeService','550OIotCy','7636256OKLTUl','5178467gSBKph','5toBLJj','The\x20exchange\x20service\x20is\x20not\x20available','201EEUtsE','importDOCXToSnapshotAsync','UNIVER_PROJECT','4JpWxdh','846131uxLoWA','importFileToUnitId'];_0x19fd=function(){return _0x5c12de;};return _0x19fd();}function _0x258d(_0x1d4bc6,_0x27e270){const _0x19fdaa=_0x19fd();return _0x258d=function(_0x258db7,_0x224af9){_0x258db7=_0x258db7-0xe5;let _0x2e3134=_0x19fdaa[_0x258db7];return _0x2e3134;},_0x258d(_0x1d4bc6,_0x27e270);}i['FUniver'][_0x209d6f(0xfd)](c);