@univerjs-pro/exchange-client 0.6.0-nightly.202502131606 → 0.6.0-nightly.202502141606

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 _0x351c06=_0x2730;(function(_0x31b411,_0x1c8576){const _0x14b420=_0x2730,_0x5de75c=_0x31b411();while(!![]){try{const _0xece795=-parseInt(_0x14b420(0x88))/0x1*(parseInt(_0x14b420(0x8f))/0x2)+-parseInt(_0x14b420(0x7d))/0x3*(-parseInt(_0x14b420(0x73))/0x4)+-parseInt(_0x14b420(0x7f))/0x5+-parseInt(_0x14b420(0x87))/0x6*(-parseInt(_0x14b420(0x76))/0x7)+-parseInt(_0x14b420(0x8e))/0x8+parseInt(_0x14b420(0x8c))/0x9*(parseInt(_0x14b420(0x82))/0xa)+-parseInt(_0x14b420(0x93))/0xb*(-parseInt(_0x14b420(0x85))/0xc);if(_0xece795===_0x1c8576)break;else _0x5de75c['push'](_0x5de75c['shift']());}catch(_0x478ff7){_0x5de75c['push'](_0x5de75c['shift']());}}}(_0x3748,0x2ee79));const r=require('@univerjs-pro/exchange-client'),i=require(_0x351c06(0x72));var o=(_0x29d4a1=>(_0x29d4a1[_0x29d4a1['UNIVER_UNKNOWN']=0x0]=_0x351c06(0x84),_0x29d4a1[_0x29d4a1[_0x351c06(0x8b)]=0x1]=_0x351c06(0x8b),_0x29d4a1[_0x29d4a1['UNIVER_SHEET']=0x2]=_0x351c06(0x8a),_0x29d4a1[_0x29d4a1[_0x351c06(0x83)]=0x3]=_0x351c06(0x83),_0x29d4a1[_0x29d4a1[_0x351c06(0x70)]=0x4]='UNIVER_PROJECT',_0x29d4a1[_0x29d4a1[_0x351c06(0x77)]=-0x1]='UNRECOGNIZED',_0x29d4a1))(o||{});class c extends i[_0x351c06(0x80)]{async['importXLSXToUnitId'](_0x17cc9f){const _0x184cba=_0x351c06;return this[_0x184cba(0x71)](_0x17cc9f);}async[_0x351c06(0x71)](_0x290445){const _0x35963c=_0x351c06,_0x54fcc2=this[_0x35963c(0x7a)][_0x35963c(0x6f)](r[_0x35963c(0x75)]);if(!_0x54fcc2)throw new Error(_0x35963c(0x92));return _0x54fcc2[_0x35963c(0x89)](_0x290445,o[_0x35963c(0x8a)]);}async['importXLSXToSnapshot'](_0x29919f){const _0x1dab63=_0x351c06;return this[_0x1dab63(0x78)](_0x29919f);}async[_0x351c06(0x78)](_0x329d4c){const _0x2db875=_0x351c06,_0x40ffe9=this[_0x2db875(0x7a)][_0x2db875(0x6f)](r[_0x2db875(0x75)]);if(!_0x40ffe9)throw new Error(_0x2db875(0x92));return _0x40ffe9[_0x2db875(0x90)](_0x329d4c);}async[_0x351c06(0x7e)](_0x1a798d){const _0x128442=_0x351c06;return this[_0x128442(0x74)](_0x1a798d);}async['exportXLSXByUnitIdAsync'](_0x2baf2a){const _0x13bbc8=_0x351c06,_0x2d68e4=this[_0x13bbc8(0x7a)][_0x13bbc8(0x6f)](r[_0x13bbc8(0x75)]);if(!_0x2d68e4)throw new Error(_0x13bbc8(0x92));return _0x2d68e4[_0x13bbc8(0x7e)](_0x2baf2a);}async[_0x351c06(0x7b)](_0x149017){const _0x8cd5f6=_0x351c06;return this[_0x8cd5f6(0x79)](_0x149017);}async[_0x351c06(0x79)](_0x58b68a){const _0x109aa3=_0x351c06,_0x3ce6d9=this[_0x109aa3(0x7a)][_0x109aa3(0x6f)](r[_0x109aa3(0x75)]);if(!_0x3ce6d9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3ce6d9['exportXLSXBySnapshot'](_0x58b68a);}async[_0x351c06(0x86)](_0x512649){const _0x4d2a7d=_0x351c06;return this[_0x4d2a7d(0x8d)](_0x512649);}async[_0x351c06(0x8d)](_0x4c2bcb){const _0x12b609=_0x351c06,_0x58e43c=this[_0x12b609(0x7a)][_0x12b609(0x6f)](r[_0x12b609(0x75)]);if(!_0x58e43c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x58e43c['importFileToUnitId'](_0x4c2bcb,o[_0x12b609(0x8b)]);}async[_0x351c06(0x7c)](_0x455e5f){const _0x46645a=_0x351c06;return this[_0x46645a(0x81)](_0x455e5f);}async[_0x351c06(0x81)](_0xe6ff98){const _0x20ba14=_0x351c06,_0x7750d0=this[_0x20ba14(0x7a)][_0x20ba14(0x6f)](r[_0x20ba14(0x75)]);if(!_0x7750d0)throw new Error(_0x20ba14(0x92));return _0x7750d0['importDOCXToSnapshot'](_0xe6ff98);}}function _0x2730(_0x4b3af5,_0x1663f7){const _0x374898=_0x3748();return _0x2730=function(_0x273012,_0x46d039){_0x273012=_0x273012-0x6f;let _0x591f30=_0x374898[_0x273012];return _0x591f30;},_0x2730(_0x4b3af5,_0x1663f7);}function _0x3748(){const _0x36f896=['6qrnEau','2cYgrQj','importFileToUnitId','UNIVER_SHEET','UNIVER_DOC','1017yFqNdl','importDOCXToUnitIdAsync','2407280uLRetB','213782VnaeCA','importXLSXToSnapshot','extend','The\x20exchange\x20service\x20is\x20not\x20available','902UVaEzJ','get','UNIVER_PROJECT','importXLSXToUnitIdAsync','@univerjs/core/facade','187464rODqnw','exportXLSXByUnitIdAsync','IExchangeService','555163nIyvUw','UNRECOGNIZED','importXLSXToSnapshotAsync','exportXLSXBySnapshotAsync','_injector','exportXLSXBySnapshot','importDOCXToSnapshot','6udPtUx','exportXLSXByUnitId','1144665ZDOTvq','FUniver','importDOCXToSnapshotAsync','17730KNtmEG','UNIVER_SLIDE','UNIVER_UNKNOWN','82296Nvyrks','importDOCXToUnitId'];_0x3748=function(){return _0x36f896;};return _0x3748();}i[_0x351c06(0x80)][_0x351c06(0x91)](c);
1
+ 'use strict';const _0xace7b4=_0x78fc;(function(_0x1b9658,_0x12e893){const _0x3b588f=_0x78fc,_0x6827a4=_0x1b9658();while(!![]){try{const _0x1926e7=parseInt(_0x3b588f(0x196))/0x1*(-parseInt(_0x3b588f(0x183))/0x2)+parseInt(_0x3b588f(0x189))/0x3+-parseInt(_0x3b588f(0x1a3))/0x4+parseInt(_0x3b588f(0x194))/0x5*(-parseInt(_0x3b588f(0x1a0))/0x6)+-parseInt(_0x3b588f(0x195))/0x7*(parseInt(_0x3b588f(0x188))/0x8)+parseInt(_0x3b588f(0x19c))/0x9*(parseInt(_0x3b588f(0x187))/0xa)+parseInt(_0x3b588f(0x19b))/0xb;if(_0x1926e7===_0x12e893)break;else _0x6827a4['push'](_0x6827a4['shift']());}catch(_0x175a25){_0x6827a4['push'](_0x6827a4['shift']());}}}(_0xc665,0xb1c4b));const r=require(_0xace7b4(0x199)),i=require(_0xace7b4(0x197));var o=(_0x4ba1b4=>(_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x18d)]=0x0]='UNIVER_UNKNOWN',_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x18b)]=0x1]=_0xace7b4(0x18b),_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x190)]=0x2]=_0xace7b4(0x190),_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x191)]=0x3]='UNIVER_SLIDE',_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x184)]=0x4]=_0xace7b4(0x184),_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x192)]=-0x1]='UNRECOGNIZED',_0x4ba1b4))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0xc8b141){const _0x2a3f8c=_0xace7b4;return this[_0x2a3f8c(0x185)](_0xc8b141);}async[_0xace7b4(0x185)](_0x3115df){const _0x49a521=_0xace7b4,_0x2ef82e=this[_0x49a521(0x19d)][_0x49a521(0x1a5)](r[_0x49a521(0x18f)]);if(!_0x2ef82e)throw new Error(_0x49a521(0x18c));return _0x2ef82e[_0x49a521(0x18e)](_0x3115df,o[_0x49a521(0x190)]);}async[_0xace7b4(0x19a)](_0x26165b){const _0x2700d7=_0xace7b4;return this[_0x2700d7(0x186)](_0x26165b);}async[_0xace7b4(0x186)](_0x3d62a7){const _0x457f95=_0xace7b4,_0x148200=this[_0x457f95(0x19d)][_0x457f95(0x1a5)](r['IExchangeService']);if(!_0x148200)throw new Error(_0x457f95(0x18c));return _0x148200['importXLSXToSnapshot'](_0x3d62a7);}async[_0xace7b4(0x193)](_0x57d804){const _0x41d5bc=_0xace7b4;return this[_0x41d5bc(0x1a1)](_0x57d804);}async['exportXLSXByUnitIdAsync'](_0xe2fd74){const _0x19c728=_0xace7b4,_0xfa566a=this[_0x19c728(0x19d)][_0x19c728(0x1a5)](r[_0x19c728(0x18f)]);if(!_0xfa566a)throw new Error(_0x19c728(0x18c));return _0xfa566a[_0x19c728(0x193)](_0xe2fd74);}async[_0xace7b4(0x19e)](_0x3d8c78){const _0x5a8261=_0xace7b4;return this[_0x5a8261(0x198)](_0x3d8c78);}async[_0xace7b4(0x198)](_0x3b6262){const _0x5985b5=_0xace7b4,_0x5de1e7=this[_0x5985b5(0x19d)][_0x5985b5(0x1a5)](r['IExchangeService']);if(!_0x5de1e7)throw new Error(_0x5985b5(0x18c));return _0x5de1e7[_0x5985b5(0x19e)](_0x3b6262);}async['importDOCXToUnitId'](_0x5a5d44){return this['importDOCXToUnitIdAsync'](_0x5a5d44);}async[_0xace7b4(0x1a2)](_0x548abf){const _0x4e3e7a=_0xace7b4,_0x3b566c=this['_injector'][_0x4e3e7a(0x1a5)](r[_0x4e3e7a(0x18f)]);if(!_0x3b566c)throw new Error(_0x4e3e7a(0x18c));return _0x3b566c[_0x4e3e7a(0x18e)](_0x548abf,o[_0x4e3e7a(0x18b)]);}async['importDOCXToSnapshot'](_0x5f1df2){return this['importDOCXToSnapshotAsync'](_0x5f1df2);}async[_0xace7b4(0x1a4)](_0x2a52d5){const _0x1d7de0=_0xace7b4,_0x3b98b3=this[_0x1d7de0(0x19d)][_0x1d7de0(0x1a5)](r[_0x1d7de0(0x18f)]);if(!_0x3b98b3)throw new Error(_0x1d7de0(0x18c));return _0x3b98b3[_0x1d7de0(0x19f)](_0x2a52d5);}}i[_0xace7b4(0x182)][_0xace7b4(0x18a)](c);function _0x78fc(_0x391ab6,_0x5d38cf){const _0xc6653b=_0xc665();return _0x78fc=function(_0x78fc69,_0x182639){_0x78fc69=_0x78fc69-0x182;let _0x5df943=_0xc6653b[_0x78fc69];return _0x5df943;},_0x78fc(_0x391ab6,_0x5d38cf);}function _0xc665(){const _0x475a7f=['importDOCXToUnitIdAsync','4966468rMefFQ','importDOCXToSnapshotAsync','get','FUniver','853202FfaflS','UNIVER_PROJECT','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','3350120QVkMJG','328QwMVWp','569895lbOltT','extend','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','importFileToUnitId','IExchangeService','UNIVER_SHEET','UNIVER_SLIDE','UNRECOGNIZED','exportXLSXByUnitId','75gQDhfK','178206Sgmpeq','1xzmKMW','@univerjs/core/facade','exportXLSXBySnapshotAsync','@univerjs-pro/exchange-client','importXLSXToSnapshot','41822033sOvUDv','9CtSdpU','_injector','exportXLSXBySnapshot','importDOCXToSnapshot','354738RZOqed','exportXLSXByUnitIdAsync'];_0xc665=function(){return _0x475a7f;};return _0xc665();}