@univerjs-pro/exchange-client 0.7.0-nightly.202505161607 → 0.7.0-nightly.202505171606

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 _0x3d5bc6=_0x3a79;(function(_0x3ea9db,_0x261229){const _0x256f6e=_0x3a79,_0xd3704d=_0x3ea9db();while(!![]){try{const _0x3fc54a=-parseInt(_0x256f6e(0x1be))/0x1*(parseInt(_0x256f6e(0x1a9))/0x2)+-parseInt(_0x256f6e(0x19f))/0x3*(-parseInt(_0x256f6e(0x1a5))/0x4)+-parseInt(_0x256f6e(0x1bb))/0x5*(parseInt(_0x256f6e(0x1b1))/0x6)+parseInt(_0x256f6e(0x1b0))/0x7+-parseInt(_0x256f6e(0x1b8))/0x8+-parseInt(_0x256f6e(0x1ae))/0x9*(parseInt(_0x256f6e(0x1a4))/0xa)+parseInt(_0x256f6e(0x1a2))/0xb;if(_0x3fc54a===_0x261229)break;else _0xd3704d['push'](_0xd3704d['shift']());}catch(_0x6ea265){_0xd3704d['push'](_0xd3704d['shift']());}}}(_0x2839,0xea53b));const r=require('@univerjs-pro/exchange-client'),i=require(_0x3d5bc6(0x1bc));var o=(_0x338096=>(_0x338096[_0x338096['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x338096[_0x338096[_0x3d5bc6(0x1a8)]=0x1]='UNIVER_DOC',_0x338096[_0x338096[_0x3d5bc6(0x1b2)]=0x2]=_0x3d5bc6(0x1b2),_0x338096[_0x338096[_0x3d5bc6(0x1b5)]=0x3]='UNIVER_SLIDE',_0x338096[_0x338096['UNIVER_PROJECT']=0x4]=_0x3d5bc6(0x1a7),_0x338096[_0x338096['UNRECOGNIZED']=-0x1]=_0x3d5bc6(0x1b7),_0x338096))(o||{});class c extends i[_0x3d5bc6(0x1ad)]{async[_0x3d5bc6(0x1ac)](_0x19c597){const _0x14a8e8=_0x3d5bc6;return this[_0x14a8e8(0x1b9)](_0x19c597);}async[_0x3d5bc6(0x1b9)](_0x8cbcf4){const _0x30f34c=_0x3d5bc6,_0x423e7c=this[_0x30f34c(0x1a1)][_0x30f34c(0x1b3)](r[_0x30f34c(0x1a0)]);if(!_0x423e7c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x423e7c[_0x30f34c(0x1bd)](_0x8cbcf4,o['UNIVER_SHEET']);}async[_0x3d5bc6(0x1c0)](_0xa179ec){const _0xff2e40=_0x3d5bc6;return this[_0xff2e40(0x1b6)](_0xa179ec);}async['importXLSXToSnapshotAsync'](_0x7703a8){const _0x36b643=_0x3d5bc6,_0x275012=this[_0x36b643(0x1a1)]['get'](r[_0x36b643(0x1a0)]);if(!_0x275012)throw new Error(_0x36b643(0x1a3));return _0x275012[_0x36b643(0x1c0)](_0x7703a8);}async[_0x3d5bc6(0x1a6)](_0x5b1e72){return this['exportXLSXByUnitIdAsync'](_0x5b1e72);}async['exportXLSXByUnitIdAsync'](_0x4fe583){const _0xa6dd08=_0x3d5bc6,_0x1b3f90=this['_injector'][_0xa6dd08(0x1b3)](r[_0xa6dd08(0x1a0)]);if(!_0x1b3f90)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b3f90[_0xa6dd08(0x1a6)](_0x4fe583);}async[_0x3d5bc6(0x1ba)](_0x5edc22){return this['exportXLSXBySnapshotAsync'](_0x5edc22);}async[_0x3d5bc6(0x1bf)](_0x4cf7a2){const _0x9d8f4d=_0x3d5bc6,_0x2af226=this[_0x9d8f4d(0x1a1)][_0x9d8f4d(0x1b3)](r['IExchangeService']);if(!_0x2af226)throw new Error(_0x9d8f4d(0x1a3));return _0x2af226[_0x9d8f4d(0x1ba)](_0x4cf7a2);}async[_0x3d5bc6(0x1aa)](_0x431445){return this['importDOCXToUnitIdAsync'](_0x431445);}async['importDOCXToUnitIdAsync'](_0x338c08){const _0x3519e4=_0x3d5bc6,_0x5b225a=this[_0x3519e4(0x1a1)][_0x3519e4(0x1b3)](r[_0x3519e4(0x1a0)]);if(!_0x5b225a)throw new Error(_0x3519e4(0x1a3));return _0x5b225a[_0x3519e4(0x1bd)](_0x338c08,o['UNIVER_DOC']);}async[_0x3d5bc6(0x1b4)](_0x3793f3){const _0x1e52b1=_0x3d5bc6;return this[_0x1e52b1(0x1ab)](_0x3793f3);}async['importDOCXToSnapshotAsync'](_0x509aad){const _0x33d9d4=_0x3d5bc6,_0x593bb1=this[_0x33d9d4(0x1a1)][_0x33d9d4(0x1b3)](r[_0x33d9d4(0x1a0)]);if(!_0x593bb1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x593bb1['importDOCXToSnapshot'](_0x509aad);}}function _0x3a79(_0x4d031b,_0x591450){const _0x2839cf=_0x2839();return _0x3a79=function(_0x3a79af,_0x62d85a){_0x3a79af=_0x3a79af-0x19f;let _0x2b2125=_0x2839cf[_0x3a79af];return _0x2b2125;},_0x3a79(_0x4d031b,_0x591450);}function _0x2839(){const _0x55c9b2=['2090556XiIGKK','extend','810691BOgCVP','5153916FKqAbV','UNIVER_SHEET','get','importDOCXToSnapshot','UNIVER_SLIDE','importXLSXToSnapshotAsync','UNRECOGNIZED','978160KXAEQt','importXLSXToUnitIdAsync','exportXLSXBySnapshot','5yDTjQm','@univerjs/core/facade','importFileToUnitId','439UWiUvz','exportXLSXBySnapshotAsync','importXLSXToSnapshot','3wgeUuC','IExchangeService','_injector','22448767DqYdBu','The\x20exchange\x20service\x20is\x20not\x20available','10OAoQzO','613048fYzfaZ','exportXLSXByUnitId','UNIVER_PROJECT','UNIVER_DOC','622uTgrRx','importDOCXToUnitId','importDOCXToSnapshotAsync','importXLSXToUnitId','FUniver'];_0x2839=function(){return _0x55c9b2;};return _0x2839();}i['FUniver'][_0x3d5bc6(0x1af)](c);
1
+ 'use strict';const _0x2dd0b8=_0x4438;function _0x5d03(){const _0x5684bf=['2335865sNhean','UNIVER_SLIDE','importDOCXToUnitIdAsync','importXLSXToUnitIdAsync','importXLSXToUnitId','exportXLSXByUnitIdAsync','importDOCXToSnapshot','importXLSXToSnapshot','UNIVER_PROJECT','extend','UNRECOGNIZED','@univerjs/core/facade','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','get','UNIVER_UNKNOWN','IExchangeService','exportXLSXByUnitId','UNIVER_SHEET','exportXLSXBySnapshotAsync','175430PxjcJE','691338oHJXKa','2372713WZjsJT','4GZSNJH','exportXLSXBySnapshot','UNIVER_DOC','importDOCXToSnapshotAsync','importFileToUnitId','46352JUHyKi','914624gTGYTv','54yBrAcI','_injector','importXLSXToSnapshotAsync','1086069rVdhWP','importDOCXToUnitId'];_0x5d03=function(){return _0x5684bf;};return _0x5d03();}(function(_0x366c66,_0x2281a3){const _0x4975cc=_0x4438,_0x5d7bb1=_0x366c66();while(!![]){try{const _0x4cd798=parseInt(_0x4975cc(0x8d))/0x1*(parseInt(_0x4975cc(0x90))/0x2)+parseInt(_0x4975cc(0x9a))/0x3+parseInt(_0x4975cc(0x96))/0x4+-parseInt(_0x4975cc(0x9c))/0x5+parseInt(_0x4975cc(0x8e))/0x6+-parseInt(_0x4975cc(0x8f))/0x7+-parseInt(_0x4975cc(0x95))/0x8*(-parseInt(_0x4975cc(0x97))/0x9);if(_0x4cd798===_0x2281a3)break;else _0x5d7bb1['push'](_0x5d7bb1['shift']());}catch(_0x59b856){_0x5d7bb1['push'](_0x5d7bb1['shift']());}}}(_0x5d03,0x45ad2));function _0x4438(_0x138564,_0x2f69dd){const _0x5d0331=_0x5d03();return _0x4438=function(_0x44386b,_0x22989a){_0x44386b=_0x44386b-0x80;let _0x4958aa=_0x5d0331[_0x44386b];return _0x4958aa;},_0x4438(_0x138564,_0x2f69dd);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x2dd0b8(0x84));var o=(_0x4e8d17=>(_0x4e8d17[_0x4e8d17[_0x2dd0b8(0x88)]=0x0]=_0x2dd0b8(0x88),_0x4e8d17[_0x4e8d17[_0x2dd0b8(0x92)]=0x1]=_0x2dd0b8(0x92),_0x4e8d17[_0x4e8d17[_0x2dd0b8(0x8b)]=0x2]=_0x2dd0b8(0x8b),_0x4e8d17[_0x4e8d17['UNIVER_SLIDE']=0x3]=_0x2dd0b8(0x9d),_0x4e8d17[_0x4e8d17[_0x2dd0b8(0x81)]=0x4]='UNIVER_PROJECT',_0x4e8d17[_0x4e8d17[_0x2dd0b8(0x83)]=-0x1]=_0x2dd0b8(0x83),_0x4e8d17))(o||{});class c extends i['FUniver']{async[_0x2dd0b8(0xa0)](_0x4b59bf){const _0x583340=_0x2dd0b8;return this[_0x583340(0x9f)](_0x4b59bf);}async[_0x2dd0b8(0x9f)](_0x2ec167){const _0x5de751=_0x2dd0b8,_0x2ae793=this[_0x5de751(0x98)]['get'](r[_0x5de751(0x89)]);if(!_0x2ae793)throw new Error(_0x5de751(0x85));return _0x2ae793[_0x5de751(0x94)](_0x2ec167,o[_0x5de751(0x8b)]);}async[_0x2dd0b8(0x80)](_0x327b4e){const _0x1f484f=_0x2dd0b8;return this[_0x1f484f(0x99)](_0x327b4e);}async[_0x2dd0b8(0x99)](_0x12b47d){const _0x17cb9a=_0x2dd0b8,_0x2ad747=this[_0x17cb9a(0x98)][_0x17cb9a(0x87)](r['IExchangeService']);if(!_0x2ad747)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2ad747[_0x17cb9a(0x80)](_0x12b47d);}async[_0x2dd0b8(0x8a)](_0x322e08){const _0x5e69d1=_0x2dd0b8;return this[_0x5e69d1(0xa1)](_0x322e08);}async[_0x2dd0b8(0xa1)](_0x3df363){const _0x1b4fa2=_0x2dd0b8,_0x3c6fd9=this[_0x1b4fa2(0x98)][_0x1b4fa2(0x87)](r['IExchangeService']);if(!_0x3c6fd9)throw new Error(_0x1b4fa2(0x85));return _0x3c6fd9[_0x1b4fa2(0x8a)](_0x3df363);}async[_0x2dd0b8(0x91)](_0x680f31){return this['exportXLSXBySnapshotAsync'](_0x680f31);}async[_0x2dd0b8(0x8c)](_0x25fb7d){const _0x3e460d=_0x2dd0b8,_0x1581c7=this[_0x3e460d(0x98)][_0x3e460d(0x87)](r[_0x3e460d(0x89)]);if(!_0x1581c7)throw new Error(_0x3e460d(0x85));return _0x1581c7[_0x3e460d(0x91)](_0x25fb7d);}async[_0x2dd0b8(0x9b)](_0x19bea1){return this['importDOCXToUnitIdAsync'](_0x19bea1);}async[_0x2dd0b8(0x9e)](_0x1a49b9){const _0x1943cc=_0x2dd0b8,_0x2cdefe=this['_injector']['get'](r[_0x1943cc(0x89)]);if(!_0x2cdefe)throw new Error(_0x1943cc(0x85));return _0x2cdefe['importFileToUnitId'](_0x1a49b9,o[_0x1943cc(0x92)]);}async[_0x2dd0b8(0xa2)](_0x362c33){const _0x18ff2d=_0x2dd0b8;return this[_0x18ff2d(0x93)](_0x362c33);}async[_0x2dd0b8(0x93)](_0x49639e){const _0x31ed9a=_0x2dd0b8,_0x1f26a5=this[_0x31ed9a(0x98)]['get'](r['IExchangeService']);if(!_0x1f26a5)throw new Error(_0x31ed9a(0x85));return _0x1f26a5[_0x31ed9a(0xa2)](_0x49639e);}}i[_0x2dd0b8(0x86)][_0x2dd0b8(0x82)](c);