@univerjs-pro/exchange-client 0.5.1-nightly.202412031606 → 0.5.1-nightly.202412041606
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 +6 -6
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function _0x37ae(_0x34d05c,_0x5dc78){const _0x1520f4=_0x1520();return _0x37ae=function(_0x37ae74,_0x4470a3){_0x37ae74=_0x37ae74-0x12f;let _0x55d6e7=_0x1520f4[_0x37ae74];return _0x55d6e7;},_0x37ae(_0x34d05c,_0x5dc78);}const _0x1a3773=_0x37ae;(function(_0x754d29,_0x383a2a){const _0x2fd27e=_0x37ae,_0xcece60=_0x754d29();while(!![]){try{const _0x15bcdf=parseInt(_0x2fd27e(0x139))/0x1*(parseInt(_0x2fd27e(0x146))/0x2)+parseInt(_0x2fd27e(0x132))/0x3+parseInt(_0x2fd27e(0x133))/0x4*(parseInt(_0x2fd27e(0x13b))/0x5)+-parseInt(_0x2fd27e(0x134))/0x6*(-parseInt(_0x2fd27e(0x144))/0x7)+-parseInt(_0x2fd27e(0x13e))/0x8+-parseInt(_0x2fd27e(0x13d))/0x9+-parseInt(_0x2fd27e(0x136))/0xa;if(_0x15bcdf===_0x383a2a)break;else _0xcece60['push'](_0xcece60['shift']());}catch(_0x2b99b9){_0xcece60['push'](_0xcece60['shift']());}}}(_0x1520,0xa1629));function _0x1520(){const _0x57ff17=['UNIVER_UNKNOWN','669611CIzDuo','UNRECOGNIZED','55XWbvsi','importXLSXToSnapshot','3182094zZovdM','3803192wWDLDI','FUniver','_injector','UNIVER_DOC','UNIVER_SLIDE','extend','147qhCFeg','@univerjs-pro/exchange-client','2OoqOIW','exportXLSXByUnitId','exportXLSXBySnapshot','@univerjs/core','UNIVER_SHEET','importFileToUnitId','importDOCXToSnapshot','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','1883985KaGUeW','136336QuDVtJ','38958ekDuha','UNIVER_PROJECT','3188850AntWMJ','get'];_0x1520=function(){return _0x57ff17;};return _0x1520();}const c=require(_0x1a3773(0x149)),n=require(_0x1a3773(0x145));var i=(_0x510485=>(_0x510485[_0x510485[_0x1a3773(0x138)]=0x0]=_0x1a3773(0x138),_0x510485[_0x510485[_0x1a3773(0x141)]=0x1]='UNIVER_DOC',_0x510485[_0x510485['UNIVER_SHEET']=0x2]=_0x1a3773(0x14a),_0x510485[_0x510485[_0x1a3773(0x142)]=0x3]=_0x1a3773(0x142),_0x510485[_0x510485[_0x1a3773(0x135)]=0x4]='UNIVER_PROJECT',_0x510485[_0x510485[_0x1a3773(0x13a)]=-0x1]='UNRECOGNIZED',_0x510485))(i||{});class o extends c[_0x1a3773(0x13f)]{async['importXLSXToUnitId'](_0x3275ff){const _0x204690=_0x1a3773,_0xd2ff37=this[_0x204690(0x140)][_0x204690(0x137)](n[_0x204690(0x130)]);if(!_0xd2ff37)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xd2ff37[_0x204690(0x14b)](_0x3275ff,i[_0x204690(0x14a)]);}async[_0x1a3773(0x13c)](_0x52288d){const _0x2036c1=_0x1a3773,_0x3f1054=this[_0x2036c1(0x140)]['get'](n['IExchangeService']);if(!_0x3f1054)throw new Error(_0x2036c1(0x131));return _0x3f1054['importXLSXToSnapshot'](_0x52288d);}async[_0x1a3773(0x147)](_0x269ebb){const _0xeafe6c=_0x1a3773,_0x1d8a90=this[_0xeafe6c(0x140)][_0xeafe6c(0x137)](n['IExchangeService']);if(!_0x1d8a90)throw new Error(_0xeafe6c(0x131));return _0x1d8a90['exportXLSXByUnitId'](_0x269ebb);}async[_0x1a3773(0x148)](_0x6039b){const _0x4a676c=_0x1a3773,_0x165a2d=this[_0x4a676c(0x140)][_0x4a676c(0x137)](n[_0x4a676c(0x130)]);if(!_0x165a2d)throw new Error(_0x4a676c(0x131));return _0x165a2d['exportXLSXBySnapshot'](_0x6039b);}async['importDOCXToUnitId'](_0x4a5cdd){const _0x3a60db=_0x1a3773,_0x13d076=this[_0x3a60db(0x140)][_0x3a60db(0x137)](n[_0x3a60db(0x130)]);if(!_0x13d076)throw new Error(_0x3a60db(0x131));return _0x13d076[_0x3a60db(0x14b)](_0x4a5cdd,i[_0x3a60db(0x141)]);}async[_0x1a3773(0x12f)](_0x36524c){const _0xa806d7=_0x1a3773,_0x2e92fe=this['_injector']['get'](n[_0xa806d7(0x130)]);if(!_0x2e92fe)throw new Error(_0xa806d7(0x131));return _0x2e92fe['importDOCXToSnapshot'](_0x36524c);}}c[_0x1a3773(0x13f)][_0x1a3773(0x143)](o);
|