@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 +1 -1
- package/lib/cjs/index.js +2 -2
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +2 -2
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +2 -2
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
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);
|