@univerjs-pro/exchange-client 0.5.4-nightly.202501151339 → 0.5.4-nightly.202501151606

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 _0x208d80=_0x35dd;function _0x35dd(_0x553d60,_0x4befd9){const _0x570bc6=_0x570b();return _0x35dd=function(_0x35dd2e,_0x24a3d4){_0x35dd2e=_0x35dd2e-0x1d0;let _0x50897b=_0x570bc6[_0x35dd2e];return _0x50897b;},_0x35dd(_0x553d60,_0x4befd9);}(function(_0xb01bb6,_0x37a514){const _0x5497d7=_0x35dd,_0x26e34a=_0xb01bb6();while(!![]){try{const _0x3d41b3=-parseInt(_0x5497d7(0x1e8))/0x1*(-parseInt(_0x5497d7(0x1ef))/0x2)+parseInt(_0x5497d7(0x1d8))/0x3*(parseInt(_0x5497d7(0x1db))/0x4)+parseInt(_0x5497d7(0x1eb))/0x5+parseInt(_0x5497d7(0x1d6))/0x6+-parseInt(_0x5497d7(0x1d5))/0x7+parseInt(_0x5497d7(0x1f1))/0x8+-parseInt(_0x5497d7(0x1e2))/0x9*(parseInt(_0x5497d7(0x1df))/0xa);if(_0x3d41b3===_0x37a514)break;else _0x26e34a['push'](_0x26e34a['shift']());}catch(_0xdd1772){_0x26e34a['push'](_0x26e34a['shift']());}}}(_0x570b,0x9a3f5));const r=require(_0x208d80(0x1e1)),i=require(_0x208d80(0x1f0));var o=(_0x6baa05=>(_0x6baa05[_0x6baa05['UNIVER_UNKNOWN']=0x0]=_0x208d80(0x1f2),_0x6baa05[_0x6baa05['UNIVER_DOC']=0x1]=_0x208d80(0x1d9),_0x6baa05[_0x6baa05['UNIVER_SHEET']=0x2]=_0x208d80(0x1de),_0x6baa05[_0x6baa05[_0x208d80(0x1e3)]=0x3]='UNIVER_SLIDE',_0x6baa05[_0x6baa05[_0x208d80(0x1d2)]=0x4]=_0x208d80(0x1d2),_0x6baa05[_0x6baa05[_0x208d80(0x1dc)]=-0x1]=_0x208d80(0x1dc),_0x6baa05))(o||{});function _0x570b(){const _0x222461=['exportXLSXByUnitIdAsync','_injector','7132951MnANCT','319686NignOv','extend','12OvCqPj','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','461964DlLTZn','UNRECOGNIZED','exportXLSXBySnapshotAsync','UNIVER_SHEET','10hAFnSN','get','@univerjs-pro/exchange-client','9659079YJgntJ','UNIVER_SLIDE','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','importXLSXToUnitId','IExchangeService','353308YdisXE','exportXLSXBySnapshot','importDOCXToSnapshot','6296010dWtqIM','importXLSXToSnapshot','exportXLSXByUnitId','importDOCXToUnitIdAsync','2VoAGpo','@univerjs/core','4770128PjHJYc','UNIVER_UNKNOWN','importDOCXToUnitId','importDOCXToSnapshotAsync','UNIVER_PROJECT'];_0x570b=function(){return _0x222461;};return _0x570b();}class c extends i['FUniver']{async[_0x208d80(0x1e6)](_0x29098f){return this['importXLSXToUnitIdAsync'](_0x29098f);}async[_0x208d80(0x1e4)](_0xa25652){const _0x10eaaa=_0x208d80,_0x3dca64=this[_0x10eaaa(0x1d4)][_0x10eaaa(0x1e0)](r[_0x10eaaa(0x1e7)]);if(!_0x3dca64)throw new Error(_0x10eaaa(0x1da));return _0x3dca64['importFileToUnitId'](_0xa25652,o[_0x10eaaa(0x1de)]);}async[_0x208d80(0x1ec)](_0x4b8fe){const _0x2655a4=_0x208d80;return this[_0x2655a4(0x1e5)](_0x4b8fe);}async['importXLSXToSnapshotAsync'](_0x379f88){const _0x4f80d7=_0x208d80,_0x184f75=this[_0x4f80d7(0x1d4)][_0x4f80d7(0x1e0)](r[_0x4f80d7(0x1e7)]);if(!_0x184f75)throw new Error(_0x4f80d7(0x1da));return _0x184f75['importXLSXToSnapshot'](_0x379f88);}async[_0x208d80(0x1ed)](_0x37854c){return this['exportXLSXByUnitIdAsync'](_0x37854c);}async[_0x208d80(0x1d3)](_0x324a16){const _0x472ec7=_0x208d80,_0x49b1a2=this[_0x472ec7(0x1d4)][_0x472ec7(0x1e0)](r['IExchangeService']);if(!_0x49b1a2)throw new Error(_0x472ec7(0x1da));return _0x49b1a2['exportXLSXByUnitId'](_0x324a16);}async['exportXLSXBySnapshot'](_0x27eac7){return this['exportXLSXBySnapshotAsync'](_0x27eac7);}async[_0x208d80(0x1dd)](_0x2d7af7){const _0x3b582b=_0x208d80,_0x39676f=this[_0x3b582b(0x1d4)][_0x3b582b(0x1e0)](r['IExchangeService']);if(!_0x39676f)throw new Error(_0x3b582b(0x1da));return _0x39676f[_0x3b582b(0x1e9)](_0x2d7af7);}async[_0x208d80(0x1d0)](_0x39c2f0){const _0x31cf0a=_0x208d80;return this[_0x31cf0a(0x1ee)](_0x39c2f0);}async[_0x208d80(0x1ee)](_0x220ae9){const _0x5c197c=_0x208d80,_0x273f25=this[_0x5c197c(0x1d4)]['get'](r['IExchangeService']);if(!_0x273f25)throw new Error(_0x5c197c(0x1da));return _0x273f25['importFileToUnitId'](_0x220ae9,o['UNIVER_DOC']);}async[_0x208d80(0x1ea)](_0x2c5313){const _0x1853ec=_0x208d80;return this[_0x1853ec(0x1d1)](_0x2c5313);}async[_0x208d80(0x1d1)](_0x538723){const _0x50aca6=_0x208d80,_0x2dd572=this[_0x50aca6(0x1d4)][_0x50aca6(0x1e0)](r[_0x50aca6(0x1e7)]);if(!_0x2dd572)throw new Error(_0x50aca6(0x1da));return _0x2dd572[_0x50aca6(0x1ea)](_0x538723);}}i['FUniver'][_0x208d80(0x1d7)](c);
1
+ 'use strict';const _0x190a22=_0x320b;(function(_0x4df38,_0x4bbc33){const _0x1af820=_0x320b,_0x369d2d=_0x4df38();while(!![]){try{const _0x5ed74d=parseInt(_0x1af820(0x8f))/0x1+-parseInt(_0x1af820(0xa2))/0x2+-parseInt(_0x1af820(0x87))/0x3+parseInt(_0x1af820(0x9b))/0x4+-parseInt(_0x1af820(0x8a))/0x5+-parseInt(_0x1af820(0xa1))/0x6*(parseInt(_0x1af820(0x97))/0x7)+-parseInt(_0x1af820(0x88))/0x8*(-parseInt(_0x1af820(0xa0))/0x9);if(_0x5ed74d===_0x4bbc33)break;else _0x369d2d['push'](_0x369d2d['shift']());}catch(_0x153fef){_0x369d2d['push'](_0x369d2d['shift']());}}}(_0x22a4,0x350cf));const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core');function _0x320b(_0x5579c0,_0x403717){const _0x22a464=_0x22a4();return _0x320b=function(_0x320b43,_0x16745d){_0x320b43=_0x320b43-0x86;let _0x1e8d16=_0x22a464[_0x320b43];return _0x1e8d16;},_0x320b(_0x5579c0,_0x403717);}var o=(_0x2e655f=>(_0x2e655f[_0x2e655f[_0x190a22(0x86)]=0x0]=_0x190a22(0x86),_0x2e655f[_0x2e655f[_0x190a22(0x92)]=0x1]='UNIVER_DOC',_0x2e655f[_0x2e655f[_0x190a22(0x94)]=0x2]=_0x190a22(0x94),_0x2e655f[_0x2e655f[_0x190a22(0x9e)]=0x3]='UNIVER_SLIDE',_0x2e655f[_0x2e655f[_0x190a22(0x96)]=0x4]=_0x190a22(0x96),_0x2e655f[_0x2e655f[_0x190a22(0x9d)]=-0x1]=_0x190a22(0x9d),_0x2e655f))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x1a70f1){const _0x39cccc=_0x190a22;return this[_0x39cccc(0x9c)](_0x1a70f1);}async['importXLSXToUnitIdAsync'](_0x103157){const _0x4db973=_0x190a22,_0x119e46=this[_0x4db973(0x9f)][_0x4db973(0x8e)](r[_0x4db973(0xa4)]);if(!_0x119e46)throw new Error(_0x4db973(0x90));return _0x119e46['importFileToUnitId'](_0x103157,o[_0x4db973(0x94)]);}async[_0x190a22(0xa3)](_0x1960f2){const _0x486798=_0x190a22;return this[_0x486798(0x89)](_0x1960f2);}async[_0x190a22(0x89)](_0x4bb48b){const _0x95b677=_0x190a22,_0x47c931=this[_0x95b677(0x9f)][_0x95b677(0x8e)](r[_0x95b677(0xa4)]);if(!_0x47c931)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x47c931['importXLSXToSnapshot'](_0x4bb48b);}async[_0x190a22(0x98)](_0x2e49f7){const _0x3b149f=_0x190a22;return this[_0x3b149f(0x93)](_0x2e49f7);}async[_0x190a22(0x93)](_0x4c26be){const _0x2ec2ea=_0x190a22,_0x5db4c4=this['_injector'][_0x2ec2ea(0x8e)](r[_0x2ec2ea(0xa4)]);if(!_0x5db4c4)throw new Error(_0x2ec2ea(0x90));return _0x5db4c4[_0x2ec2ea(0x98)](_0x4c26be);}async[_0x190a22(0x9a)](_0x3d0aa6){const _0x2f7956=_0x190a22;return this[_0x2f7956(0x91)](_0x3d0aa6);}async[_0x190a22(0x91)](_0x4e127c){const _0x3c0d4c=_0x190a22,_0x25fc39=this['_injector'][_0x3c0d4c(0x8e)](r[_0x3c0d4c(0xa4)]);if(!_0x25fc39)throw new Error(_0x3c0d4c(0x90));return _0x25fc39['exportXLSXBySnapshot'](_0x4e127c);}async[_0x190a22(0x95)](_0x4001fa){const _0x90fa54=_0x190a22;return this[_0x90fa54(0x8d)](_0x4001fa);}async[_0x190a22(0x8d)](_0x3c4fa6){const _0x1b5553=_0x190a22,_0x2ed8e6=this[_0x1b5553(0x9f)][_0x1b5553(0x8e)](r[_0x1b5553(0xa4)]);if(!_0x2ed8e6)throw new Error(_0x1b5553(0x90));return _0x2ed8e6['importFileToUnitId'](_0x3c4fa6,o[_0x1b5553(0x92)]);}async[_0x190a22(0x8c)](_0x27a8b5){const _0x6c8e14=_0x190a22;return this[_0x6c8e14(0x99)](_0x27a8b5);}async[_0x190a22(0x99)](_0x7b5189){const _0x2d0e0c=_0x190a22,_0x677169=this[_0x2d0e0c(0x9f)][_0x2d0e0c(0x8e)](r[_0x2d0e0c(0xa4)]);if(!_0x677169)throw new Error(_0x2d0e0c(0x90));return _0x677169[_0x2d0e0c(0x8c)](_0x7b5189);}}i[_0x190a22(0x8b)]['extend'](c);function _0x22a4(){const _0x2d9440=['importXLSXToUnitIdAsync','UNRECOGNIZED','UNIVER_SLIDE','_injector','9YeHHJO','581142MyyKqD','866914xCOBBZ','importXLSXToSnapshot','IExchangeService','UNIVER_UNKNOWN','340596qRRKPY','3622096kLYQVn','importXLSXToSnapshotAsync','602890PEBSVk','FUniver','importDOCXToSnapshot','importDOCXToUnitIdAsync','get','213057aqRJkd','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync','UNIVER_DOC','exportXLSXByUnitIdAsync','UNIVER_SHEET','importDOCXToUnitId','UNIVER_PROJECT','7BpODfJ','exportXLSXByUnitId','importDOCXToSnapshotAsync','exportXLSXBySnapshot','1263600uhIYGC'];_0x22a4=function(){return _0x2d9440;};return _0x22a4();}