@univerjs-pro/exchange-client 0.6.0-nightly.202502161605 → 0.6.0-nightly.202502171606

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 _0x3fa1b4=_0x59fd;(function(_0x1e58f2,_0x42acc5){const _0x5cfc11=_0x59fd,_0x1c6620=_0x1e58f2();while(!![]){try{const _0x1d883e=parseInt(_0x5cfc11(0x195))/0x1+parseInt(_0x5cfc11(0x181))/0x2+parseInt(_0x5cfc11(0x17d))/0x3*(-parseInt(_0x5cfc11(0x18c))/0x4)+-parseInt(_0x5cfc11(0x194))/0x5+-parseInt(_0x5cfc11(0x17e))/0x6*(-parseInt(_0x5cfc11(0x178))/0x7)+parseInt(_0x5cfc11(0x180))/0x8*(parseInt(_0x5cfc11(0x197))/0x9)+parseInt(_0x5cfc11(0x187))/0xa*(-parseInt(_0x5cfc11(0x179))/0xb);if(_0x1d883e===_0x42acc5)break;else _0x1c6620['push'](_0x1c6620['shift']());}catch(_0x2bd87){_0x1c6620['push'](_0x1c6620['shift']());}}}(_0x1fd2,0xd99a0));function _0x59fd(_0x2892aa,_0x14868f){const _0x1fd2d2=_0x1fd2();return _0x59fd=function(_0x59fd60,_0x11f9e2){_0x59fd60=_0x59fd60-0x175;let _0x360177=_0x1fd2d2[_0x59fd60];return _0x360177;},_0x59fd(_0x2892aa,_0x14868f);}const r=require(_0x3fa1b4(0x188)),i=require(_0x3fa1b4(0x18d));var o=(_0x23b10d=>(_0x23b10d[_0x23b10d['UNIVER_UNKNOWN']=0x0]=_0x3fa1b4(0x18b),_0x23b10d[_0x23b10d[_0x3fa1b4(0x191)]=0x1]=_0x3fa1b4(0x191),_0x23b10d[_0x23b10d[_0x3fa1b4(0x18f)]=0x2]=_0x3fa1b4(0x18f),_0x23b10d[_0x23b10d[_0x3fa1b4(0x18a)]=0x3]=_0x3fa1b4(0x18a),_0x23b10d[_0x23b10d['UNIVER_PROJECT']=0x4]=_0x3fa1b4(0x193),_0x23b10d[_0x23b10d[_0x3fa1b4(0x189)]=-0x1]=_0x3fa1b4(0x189),_0x23b10d))(o||{});class c extends i['FUniver']{async[_0x3fa1b4(0x17c)](_0x21f1cf){const _0xf7088e=_0x3fa1b4;return this[_0xf7088e(0x175)](_0x21f1cf);}async['importXLSXToUnitIdAsync'](_0x32bcc4){const _0x2fb3b5=_0x3fa1b4,_0x35709e=this[_0x2fb3b5(0x18e)]['get'](r[_0x2fb3b5(0x192)]);if(!_0x35709e)throw new Error(_0x2fb3b5(0x177));return _0x35709e['importFileToUnitId'](_0x32bcc4,o[_0x2fb3b5(0x18f)]);}async[_0x3fa1b4(0x182)](_0x18ad9e){const _0x21b3c9=_0x3fa1b4;return this[_0x21b3c9(0x17f)](_0x18ad9e);}async[_0x3fa1b4(0x17f)](_0x485252){const _0x268b89=_0x3fa1b4,_0x2a1e8f=this[_0x268b89(0x18e)][_0x268b89(0x17a)](r['IExchangeService']);if(!_0x2a1e8f)throw new Error(_0x268b89(0x177));return _0x2a1e8f[_0x268b89(0x182)](_0x485252);}async['exportXLSXByUnitId'](_0x3d45bd){const _0x510c8c=_0x3fa1b4;return this[_0x510c8c(0x196)](_0x3d45bd);}async[_0x3fa1b4(0x196)](_0xefc84d){const _0x19b321=_0x3fa1b4,_0x16b8d5=this[_0x19b321(0x18e)][_0x19b321(0x17a)](r[_0x19b321(0x192)]);if(!_0x16b8d5)throw new Error(_0x19b321(0x177));return _0x16b8d5[_0x19b321(0x185)](_0xefc84d);}async[_0x3fa1b4(0x186)](_0x53fcd1){return this['exportXLSXBySnapshotAsync'](_0x53fcd1);}async[_0x3fa1b4(0x176)](_0x2829a3){const _0xadaebb=_0x3fa1b4,_0x3f37a0=this[_0xadaebb(0x18e)][_0xadaebb(0x17a)](r[_0xadaebb(0x192)]);if(!_0x3f37a0)throw new Error(_0xadaebb(0x177));return _0x3f37a0['exportXLSXBySnapshot'](_0x2829a3);}async['importDOCXToUnitId'](_0xcc66c1){const _0x1ac010=_0x3fa1b4;return this[_0x1ac010(0x17b)](_0xcc66c1);}async[_0x3fa1b4(0x17b)](_0xba4aa3){const _0x4fceb2=_0x3fa1b4,_0x5cf935=this[_0x4fceb2(0x18e)][_0x4fceb2(0x17a)](r[_0x4fceb2(0x192)]);if(!_0x5cf935)throw new Error(_0x4fceb2(0x177));return _0x5cf935[_0x4fceb2(0x190)](_0xba4aa3,o[_0x4fceb2(0x191)]);}async['importDOCXToSnapshot'](_0x235c7f){const _0x39fee9=_0x3fa1b4;return this[_0x39fee9(0x183)](_0x235c7f);}async[_0x3fa1b4(0x183)](_0x139dd9){const _0x3200f2=_0x3fa1b4,_0x58713a=this[_0x3200f2(0x18e)][_0x3200f2(0x17a)](r[_0x3200f2(0x192)]);if(!_0x58713a)throw new Error(_0x3200f2(0x177));return _0x58713a['importDOCXToSnapshot'](_0x139dd9);}}function _0x1fd2(){const _0x1d384b=['importFileToUnitId','UNIVER_DOC','IExchangeService','UNIVER_PROJECT','4469820GuIszN','177141kzBiHz','exportXLSXByUnitIdAsync','9EQvcse','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','483QXNyaJ','521642bRvcOq','get','importDOCXToUnitIdAsync','importXLSXToUnitId','18LQTOlh','103170HhAtTx','importXLSXToSnapshotAsync','1090736LbuQpN','2688436kJcXQw','importXLSXToSnapshot','importDOCXToSnapshotAsync','FUniver','exportXLSXByUnitId','exportXLSXBySnapshot','70whxKgf','@univerjs-pro/exchange-client','UNRECOGNIZED','UNIVER_SLIDE','UNIVER_UNKNOWN','484628nYfgXA','@univerjs/core/facade','_injector','UNIVER_SHEET'];_0x1fd2=function(){return _0x1d384b;};return _0x1fd2();}i[_0x3fa1b4(0x184)]['extend'](c);
1
+ 'use strict';const _0x1e5ff0=_0x360e;function _0x360e(_0x5bcd72,_0xc224b0){const _0x267f0a=_0x267f();return _0x360e=function(_0x360e11,_0x1ee270){_0x360e11=_0x360e11-0x188;let _0x3ad5af=_0x267f0a[_0x360e11];return _0x3ad5af;},_0x360e(_0x5bcd72,_0xc224b0);}(function(_0x3eef85,_0xab0241){const _0x1bb9cd=_0x360e,_0x214ed0=_0x3eef85();while(!![]){try{const _0x4233d1=-parseInt(_0x1bb9cd(0x19d))/0x1*(-parseInt(_0x1bb9cd(0x1a2))/0x2)+parseInt(_0x1bb9cd(0x1a1))/0x3+-parseInt(_0x1bb9cd(0x18f))/0x4+-parseInt(_0x1bb9cd(0x19a))/0x5+-parseInt(_0x1bb9cd(0x194))/0x6*(parseInt(_0x1bb9cd(0x18b))/0x7)+-parseInt(_0x1bb9cd(0x193))/0x8+parseInt(_0x1bb9cd(0x18e))/0x9;if(_0x4233d1===_0xab0241)break;else _0x214ed0['push'](_0x214ed0['shift']());}catch(_0x4e37ae){_0x214ed0['push'](_0x214ed0['shift']());}}}(_0x267f,0x4d029));const r=require(_0x1e5ff0(0x196)),i=require(_0x1e5ff0(0x1a0));var o=(_0x168f88=>(_0x168f88[_0x168f88['UNIVER_UNKNOWN']=0x0]=_0x1e5ff0(0x1a5),_0x168f88[_0x168f88[_0x1e5ff0(0x1a6)]=0x1]='UNIVER_DOC',_0x168f88[_0x168f88[_0x1e5ff0(0x198)]=0x2]='UNIVER_SHEET',_0x168f88[_0x168f88['UNIVER_SLIDE']=0x3]=_0x1e5ff0(0x197),_0x168f88[_0x168f88[_0x1e5ff0(0x199)]=0x4]='UNIVER_PROJECT',_0x168f88[_0x168f88[_0x1e5ff0(0x1a3)]=-0x1]=_0x1e5ff0(0x1a3),_0x168f88))(o||{});function _0x267f(){const _0x38e766=['UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','UNIVER_DOC','importXLSXToSnapshot','extend','importXLSXToUnitIdAsync','IExchangeService','exportXLSXByUnitIdAsync','importDOCXToUnitId','exportXLSXBySnapshot','15015NXwwsH','importFileToUnitId','importXLSXToSnapshotAsync','10296828wIegUW','1932852wosKMD','exportXLSXByUnitId','_injector','importDOCXToSnapshot','4777216wDfRtK','1506pkWUCQ','FUniver','@univerjs-pro/exchange-client','UNIVER_SLIDE','UNIVER_SHEET','UNIVER_PROJECT','329595ATqgIu','exportXLSXBySnapshotAsync','get','1238LXudky','importDOCXToUnitIdAsync','importDOCXToSnapshotAsync','@univerjs/core/facade','818766eRacSh','942nYBGwv'];_0x267f=function(){return _0x38e766;};return _0x267f();}class c extends i['FUniver']{async['importXLSXToUnitId'](_0x3d3a1c){const _0x5efe1e=_0x1e5ff0;return this[_0x5efe1e(0x1a9)](_0x3d3a1c);}async[_0x1e5ff0(0x1a9)](_0x37920a){const _0x57c493=_0x1e5ff0,_0x1ad47a=this[_0x57c493(0x191)][_0x57c493(0x19c)](r[_0x57c493(0x1aa)]);if(!_0x1ad47a)throw new Error(_0x57c493(0x1a4));return _0x1ad47a[_0x57c493(0x18c)](_0x37920a,o[_0x57c493(0x198)]);}async[_0x1e5ff0(0x1a7)](_0x2384bc){return this['importXLSXToSnapshotAsync'](_0x2384bc);}async[_0x1e5ff0(0x18d)](_0x41fe0e){const _0x156739=_0x1e5ff0,_0xffab48=this[_0x156739(0x191)][_0x156739(0x19c)](r[_0x156739(0x1aa)]);if(!_0xffab48)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xffab48['importXLSXToSnapshot'](_0x41fe0e);}async[_0x1e5ff0(0x190)](_0x457ce8){return this['exportXLSXByUnitIdAsync'](_0x457ce8);}async[_0x1e5ff0(0x188)](_0x3d6f00){const _0x2d0435=_0x1e5ff0,_0x5dd3e2=this[_0x2d0435(0x191)]['get'](r['IExchangeService']);if(!_0x5dd3e2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5dd3e2[_0x2d0435(0x190)](_0x3d6f00);}async[_0x1e5ff0(0x18a)](_0x54740a){const _0x540782=_0x1e5ff0;return this[_0x540782(0x19b)](_0x54740a);}async[_0x1e5ff0(0x19b)](_0x113e77){const _0x2be109=_0x1e5ff0,_0x3b998c=this[_0x2be109(0x191)]['get'](r[_0x2be109(0x1aa)]);if(!_0x3b998c)throw new Error(_0x2be109(0x1a4));return _0x3b998c['exportXLSXBySnapshot'](_0x113e77);}async[_0x1e5ff0(0x189)](_0x1b866e){const _0x4cbd74=_0x1e5ff0;return this[_0x4cbd74(0x19e)](_0x1b866e);}async[_0x1e5ff0(0x19e)](_0x46537d){const _0x364e29=_0x1e5ff0,_0x140561=this['_injector'][_0x364e29(0x19c)](r['IExchangeService']);if(!_0x140561)throw new Error(_0x364e29(0x1a4));return _0x140561[_0x364e29(0x18c)](_0x46537d,o['UNIVER_DOC']);}async[_0x1e5ff0(0x192)](_0x840932){const _0xa5bedf=_0x1e5ff0;return this[_0xa5bedf(0x19f)](_0x840932);}async[_0x1e5ff0(0x19f)](_0xd1c3dc){const _0x2103a6=_0x1e5ff0,_0x3acb35=this[_0x2103a6(0x191)][_0x2103a6(0x19c)](r[_0x2103a6(0x1aa)]);if(!_0x3acb35)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3acb35[_0x2103a6(0x192)](_0xd1c3dc);}}i[_0x1e5ff0(0x195)][_0x1e5ff0(0x1a8)](c);