@univerjs-pro/exchange-client 0.6.4 → 0.6.5-nightly.202503131607

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 _0x154623=_0x59da;(function(_0x281d2e,_0x16482d){const _0x316df7=_0x59da,_0x1fed30=_0x281d2e();while(!![]){try{const _0x57ff3a=-parseInt(_0x316df7(0x1d7))/0x1*(parseInt(_0x316df7(0x1b8))/0x2)+-parseInt(_0x316df7(0x1bf))/0x3*(-parseInt(_0x316df7(0x1d1))/0x4)+-parseInt(_0x316df7(0x1b9))/0x5+parseInt(_0x316df7(0x1ce))/0x6+-parseInt(_0x316df7(0x1c9))/0x7+-parseInt(_0x316df7(0x1d3))/0x8+parseInt(_0x316df7(0x1d4))/0x9*(parseInt(_0x316df7(0x1c5))/0xa);if(_0x57ff3a===_0x16482d)break;else _0x1fed30['push'](_0x1fed30['shift']());}catch(_0x4916e9){_0x1fed30['push'](_0x1fed30['shift']());}}}(_0x5785,0x34e25));const r=require(_0x154623(0x1c0)),i=require(_0x154623(0x1be));var o=(_0x190e4b=>(_0x190e4b[_0x190e4b[_0x154623(0x1c3)]=0x0]=_0x154623(0x1c3),_0x190e4b[_0x190e4b[_0x154623(0x1bb)]=0x1]=_0x154623(0x1bb),_0x190e4b[_0x190e4b['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x190e4b[_0x190e4b[_0x154623(0x1cb)]=0x3]=_0x154623(0x1cb),_0x190e4b[_0x190e4b[_0x154623(0x1b7)]=0x4]=_0x154623(0x1b7),_0x190e4b[_0x190e4b[_0x154623(0x1c2)]=-0x1]=_0x154623(0x1c2),_0x190e4b))(o||{});class c extends i['FUniver']{async[_0x154623(0x1c8)](_0x4a050d){const _0xb98b52=_0x154623;return this[_0xb98b52(0x1c6)](_0x4a050d);}async[_0x154623(0x1c6)](_0x38a6be){const _0x393a96=_0x154623,_0x33da47=this[_0x393a96(0x1ca)][_0x393a96(0x1bc)](r[_0x393a96(0x1bd)]);if(!_0x33da47)throw new Error(_0x393a96(0x1d0));return _0x33da47['importFileToUnitId'](_0x38a6be,o[_0x393a96(0x1c1)]);}async['importXLSXToSnapshot'](_0x46768c){const _0x36b81b=_0x154623;return this[_0x36b81b(0x1ba)](_0x46768c);}async[_0x154623(0x1ba)](_0x62b61b){const _0x108787=_0x154623,_0x5d54dd=this[_0x108787(0x1ca)][_0x108787(0x1bc)](r['IExchangeService']);if(!_0x5d54dd)throw new Error(_0x108787(0x1d0));return _0x5d54dd['importXLSXToSnapshot'](_0x62b61b);}async[_0x154623(0x1cd)](_0x224e52){const _0x2198ee=_0x154623;return this[_0x2198ee(0x1cf)](_0x224e52);}async[_0x154623(0x1cf)](_0x42c958){const _0x1c46a4=_0x154623,_0x15e19b=this[_0x1c46a4(0x1ca)][_0x1c46a4(0x1bc)](r[_0x1c46a4(0x1bd)]);if(!_0x15e19b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x15e19b[_0x1c46a4(0x1cd)](_0x42c958);}async[_0x154623(0x1b6)](_0x499c07){return this['exportXLSXBySnapshotAsync'](_0x499c07);}async[_0x154623(0x1c7)](_0x1dd17e){const _0x4a83cc=_0x154623,_0xcf1a05=this[_0x4a83cc(0x1ca)]['get'](r['IExchangeService']);if(!_0xcf1a05)throw new Error(_0x4a83cc(0x1d0));return _0xcf1a05['exportXLSXBySnapshot'](_0x1dd17e);}async[_0x154623(0x1d5)](_0x153892){const _0x3b93ff=_0x154623;return this[_0x3b93ff(0x1d6)](_0x153892);}async[_0x154623(0x1d6)](_0x41ed82){const _0x279b82=_0x154623,_0x408a1d=this[_0x279b82(0x1ca)][_0x279b82(0x1bc)](r['IExchangeService']);if(!_0x408a1d)throw new Error(_0x279b82(0x1d0));return _0x408a1d[_0x279b82(0x1c4)](_0x41ed82,o[_0x279b82(0x1bb)]);}async[_0x154623(0x1d2)](_0x5ddb50){const _0x558af2=_0x154623;return this[_0x558af2(0x1cc)](_0x5ddb50);}async[_0x154623(0x1cc)](_0x29ef93){const _0x3c552d=_0x154623,_0x170772=this[_0x3c552d(0x1ca)][_0x3c552d(0x1bc)](r[_0x3c552d(0x1bd)]);if(!_0x170772)throw new Error(_0x3c552d(0x1d0));return _0x170772[_0x3c552d(0x1d2)](_0x29ef93);}}function _0x5785(){const _0x2acc85=['1526098bofZiz','_injector','UNIVER_SLIDE','importDOCXToSnapshotAsync','exportXLSXByUnitId','1241832FDaqaL','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','81460FEFnEc','importDOCXToSnapshot','223776Ufgdyy','9IYIBDe','importDOCXToUnitId','importDOCXToUnitIdAsync','4odqIpU','exportXLSXBySnapshot','UNIVER_PROJECT','90932Lxdbwp','144310QHMXsJ','importXLSXToSnapshotAsync','UNIVER_DOC','get','IExchangeService','@univerjs/core/facade','60gCEMDB','@univerjs-pro/exchange-client','UNIVER_SHEET','UNRECOGNIZED','UNIVER_UNKNOWN','importFileToUnitId','590530JAojts','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','importXLSXToUnitId'];_0x5785=function(){return _0x2acc85;};return _0x5785();}function _0x59da(_0x2c8334,_0x25f939){const _0x578573=_0x5785();return _0x59da=function(_0x59da9b,_0x38afeb){_0x59da9b=_0x59da9b-0x1b6;let _0x4c2881=_0x578573[_0x59da9b];return _0x4c2881;},_0x59da(_0x2c8334,_0x25f939);}i['FUniver']['extend'](c);
1
+ 'use strict';const _0x38c5fa=_0x471d;(function(_0x226985,_0x4ea6ff){const _0x269724=_0x471d,_0x47ee60=_0x226985();while(!![]){try{const _0x3ec79f=parseInt(_0x269724(0x127))/0x1*(parseInt(_0x269724(0x12d))/0x2)+parseInt(_0x269724(0x124))/0x3+-parseInt(_0x269724(0x11e))/0x4+parseInt(_0x269724(0x12c))/0x5+-parseInt(_0x269724(0x12a))/0x6*(parseInt(_0x269724(0x133))/0x7)+parseInt(_0x269724(0x138))/0x8+-parseInt(_0x269724(0x129))/0x9;if(_0x3ec79f===_0x4ea6ff)break;else _0x47ee60['push'](_0x47ee60['shift']());}catch(_0x3c7c70){_0x47ee60['push'](_0x47ee60['shift']());}}}(_0x5540,0x1f8ba));function _0x5540(){const _0x420e0f=['extend','importDOCXToUnitIdAsync','549015FjAXcV','UNRECOGNIZED','UNIVER_UNKNOWN','87323NbEBXm','IExchangeService','1427661ekSDUQ','12YYKdqd','@univerjs-pro/exchange-client','168660QVoUQJ','2qduZEe','UNIVER_SHEET','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','_injector','importDOCXToUnitId','233023qjuKdo','importDOCXToSnapshot','importXLSXToSnapshotAsync','UNIVER_PROJECT','exportXLSXBySnapshot','834360zhFRqV','exportXLSXBySnapshotAsync','FUniver','importXLSXToUnitId','UNIVER_DOC','UNIVER_SLIDE','importFileToUnitId','get','215752DGRCbd','exportXLSXByUnitIdAsync','importXLSXToSnapshot','importXLSXToUnitIdAsync'];_0x5540=function(){return _0x420e0f;};return _0x5540();}const r=require(_0x38c5fa(0x12b)),i=require('@univerjs/core/facade');function _0x471d(_0x5b06dd,_0xea2fd1){const _0x55404f=_0x5540();return _0x471d=function(_0x471dde,_0x4013d7){_0x471dde=_0x471dde-0x117;let _0x3e07f6=_0x55404f[_0x471dde];return _0x3e07f6;},_0x471d(_0x5b06dd,_0xea2fd1);}var o=(_0x439a18=>(_0x439a18[_0x439a18[_0x38c5fa(0x126)]=0x0]=_0x38c5fa(0x126),_0x439a18[_0x439a18[_0x38c5fa(0x11a)]=0x1]=_0x38c5fa(0x11a),_0x439a18[_0x439a18['UNIVER_SHEET']=0x2]=_0x38c5fa(0x12e),_0x439a18[_0x439a18['UNIVER_SLIDE']=0x3]=_0x38c5fa(0x11b),_0x439a18[_0x439a18[_0x38c5fa(0x136)]=0x4]='UNIVER_PROJECT',_0x439a18[_0x439a18[_0x38c5fa(0x125)]=-0x1]='UNRECOGNIZED',_0x439a18))(o||{});class c extends i['FUniver']{async[_0x38c5fa(0x119)](_0x1695e7){const _0x628d06=_0x38c5fa;return this[_0x628d06(0x121)](_0x1695e7);}async[_0x38c5fa(0x121)](_0x3ed3b4){const _0x3e99cc=_0x38c5fa,_0x3caa42=this[_0x3e99cc(0x131)][_0x3e99cc(0x11d)](r[_0x3e99cc(0x128)]);if(!_0x3caa42)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3caa42['importFileToUnitId'](_0x3ed3b4,o['UNIVER_SHEET']);}async[_0x38c5fa(0x120)](_0x1df7b8){const _0x28c933=_0x38c5fa;return this[_0x28c933(0x135)](_0x1df7b8);}async[_0x38c5fa(0x135)](_0x3b86b4){const _0x772d7a=_0x38c5fa,_0x16ad2c=this[_0x772d7a(0x131)][_0x772d7a(0x11d)](r['IExchangeService']);if(!_0x16ad2c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x16ad2c['importXLSXToSnapshot'](_0x3b86b4);}async[_0x38c5fa(0x12f)](_0xd8937c){const _0x404f36=_0x38c5fa;return this[_0x404f36(0x11f)](_0xd8937c);}async[_0x38c5fa(0x11f)](_0x561667){const _0x107646=_0x38c5fa,_0x1cb088=this[_0x107646(0x131)][_0x107646(0x11d)](r['IExchangeService']);if(!_0x1cb088)throw new Error(_0x107646(0x130));return _0x1cb088[_0x107646(0x12f)](_0x561667);}async[_0x38c5fa(0x137)](_0x2a67db){return this['exportXLSXBySnapshotAsync'](_0x2a67db);}async[_0x38c5fa(0x117)](_0xffd11f){const _0x2a0168=_0x38c5fa,_0x472fbc=this[_0x2a0168(0x131)][_0x2a0168(0x11d)](r[_0x2a0168(0x128)]);if(!_0x472fbc)throw new Error(_0x2a0168(0x130));return _0x472fbc[_0x2a0168(0x137)](_0xffd11f);}async[_0x38c5fa(0x132)](_0x4b5565){const _0x1a5a24=_0x38c5fa;return this[_0x1a5a24(0x123)](_0x4b5565);}async[_0x38c5fa(0x123)](_0x755cbb){const _0x5bc9b9=_0x38c5fa,_0x258067=this[_0x5bc9b9(0x131)]['get'](r[_0x5bc9b9(0x128)]);if(!_0x258067)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x258067[_0x5bc9b9(0x11c)](_0x755cbb,o['UNIVER_DOC']);}async[_0x38c5fa(0x134)](_0x1e6f78){return this['importDOCXToSnapshotAsync'](_0x1e6f78);}async['importDOCXToSnapshotAsync'](_0x37da30){const _0x5605fd=_0x38c5fa,_0xcf3331=this[_0x5605fd(0x131)][_0x5605fd(0x11d)](r[_0x5605fd(0x128)]);if(!_0xcf3331)throw new Error(_0x5605fd(0x130));return _0xcf3331[_0x5605fd(0x134)](_0x37da30);}}i[_0x38c5fa(0x118)][_0x38c5fa(0x122)](c);