@univerjs-pro/exchange-client 0.9.1 → 0.9.2-nightly.202507111607
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/ko-KR.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/ko-KR.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/facade.js +1 -1
- package/lib/index.js +2 -2
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/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/ko-KR.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 +10 -10
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x4f7332=_0x1fa9;(function(_0x27d0db,_0x444bce){const _0x13a2d3=_0x1fa9,_0x383214=_0x27d0db();while(!![]){try{const _0x4a33ea=-parseInt(_0x13a2d3(0x16f))/0x1+-parseInt(_0x13a2d3(0x187))/0x2*(-parseInt(_0x13a2d3(0x166))/0x3)+parseInt(_0x13a2d3(0x176))/0x4+-parseInt(_0x13a2d3(0x168))/0x5*(parseInt(_0x13a2d3(0x173))/0x6)+-parseInt(_0x13a2d3(0x175))/0x7*(-parseInt(_0x13a2d3(0x178))/0x8)+parseInt(_0x13a2d3(0x16c))/0x9*(-parseInt(_0x13a2d3(0x17c))/0xa)+parseInt(_0x13a2d3(0x16a))/0xb;if(_0x4a33ea===_0x444bce)break;else _0x383214['push'](_0x383214['shift']());}catch(_0x790f4a){_0x383214['push'](_0x383214['shift']());}}}(_0x169a,0x1a6bc));function _0x169a(){const _0x32aaed=['The\x20exchange\x20service\x20is\x20not\x20available','25348JLrahd','UNIVER_PROJECT','UNIVER_SHEET','exportXLSXByUnitId','12RvOjNN','importDOCXToUnitId','65HMVlfk','exportDOCXByUnitId','2451328YJgrct','importXLSXToSnapshotAsync','1632087ktQviV','extend','FUniver','105023rcrADC','UNIVER_DOC','UNIVER_SLIDE','importDOCXToSnapshotAsync','600FNCIhq','_injector','285418TgFrPA','163176pYLbaW','exportXLSXBySnapshot','16QNxsNE','importDOCXToUnitIdAsync','exportXLSXByUnitIdAsync','importDOCXToSnapshot','10LiKgmQ','exportDOCXBySnapshot','importXLSXToSnapshot','get','exportDOCXBySnapshotAsync','IExchangeService','UNIVER_UNKNOWN','UNRECOGNIZED','importXLSXToUnitId','exportXLSXBySnapshotAsync'];_0x169a=function(){return _0x32aaed;};return _0x169a();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x1fa9(_0x35b51f,_0x36fedf){const _0x169a3e=_0x169a();return _0x1fa9=function(_0x1fa977,_0x5df5c7){_0x1fa977=_0x1fa977-0x165;let _0xe069ec=_0x169a3e[_0x1fa977];return _0xe069ec;},_0x1fa9(_0x35b51f,_0x36fedf);}var i=(_0x19482a=>(_0x19482a[_0x19482a[_0x4f7332(0x182)]=0x0]=_0x4f7332(0x182),_0x19482a[_0x19482a[_0x4f7332(0x170)]=0x1]='UNIVER_DOC',_0x19482a[_0x19482a[_0x4f7332(0x189)]=0x2]=_0x4f7332(0x189),_0x19482a[_0x19482a['UNIVER_SLIDE']=0x3]=_0x4f7332(0x171),_0x19482a[_0x19482a['UNIVER_PROJECT']=0x4]=_0x4f7332(0x188),_0x19482a[_0x19482a[_0x4f7332(0x183)]=-0x1]='UNRECOGNIZED',_0x19482a))(i||{});class c extends o['FUniver']{async[_0x4f7332(0x184)](_0x44b4fa){return this['importXLSXToUnitIdAsync'](_0x44b4fa);}async['importXLSXToUnitIdAsync'](_0x12a7b7){const _0x2e87f5=_0x4f7332,_0x58d0b1=this[_0x2e87f5(0x174)]['get'](r[_0x2e87f5(0x181)]);if(!_0x58d0b1)throw new Error(_0x2e87f5(0x186));return _0x58d0b1['importFileToUnitId'](_0x12a7b7,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x26b4cd){const _0x1f9e4c=_0x4f7332;return this[_0x1f9e4c(0x16b)](_0x26b4cd);}async[_0x4f7332(0x16b)](_0x134507){const _0xc24a8a=_0x4f7332,_0x5061d9=this[_0xc24a8a(0x174)][_0xc24a8a(0x17f)](r[_0xc24a8a(0x181)]);if(!_0x5061d9)throw new Error(_0xc24a8a(0x186));return _0x5061d9[_0xc24a8a(0x17e)](_0x134507);}async[_0x4f7332(0x165)](_0x43e30e){return this['exportXLSXByUnitIdAsync'](_0x43e30e);}async[_0x4f7332(0x17a)](_0x51a9f3){const _0x452c9e=_0x4f7332,_0x2299e3=this[_0x452c9e(0x174)]['get'](r[_0x452c9e(0x181)]);if(!_0x2299e3)throw new Error(_0x452c9e(0x186));return _0x2299e3['exportXLSXByUnitId'](_0x51a9f3);}async[_0x4f7332(0x177)](_0x33289a){const _0x4f4749=_0x4f7332;return this[_0x4f4749(0x185)](_0x33289a);}async[_0x4f7332(0x185)](_0x50ff92){const _0x54554a=_0x4f7332,_0x580c1d=this[_0x54554a(0x174)]['get'](r[_0x54554a(0x181)]);if(!_0x580c1d)throw new Error(_0x54554a(0x186));return _0x580c1d[_0x54554a(0x177)](_0x50ff92);}async[_0x4f7332(0x167)](_0x54e2e4){const _0x86a058=_0x4f7332;return this[_0x86a058(0x179)](_0x54e2e4);}async[_0x4f7332(0x179)](_0x42586b){const _0x55f70a=_0x4f7332,_0x2a33c5=this['_injector'][_0x55f70a(0x17f)](r[_0x55f70a(0x181)]);if(!_0x2a33c5)throw new Error(_0x55f70a(0x186));return _0x2a33c5['importFileToUnitId'](_0x42586b,i[_0x55f70a(0x170)]);}async['importDOCXToSnapshot'](_0x38e1a5){const _0x24cb3e=_0x4f7332;return this[_0x24cb3e(0x172)](_0x38e1a5);}async[_0x4f7332(0x172)](_0x14bec2){const _0x2a7f5f=_0x4f7332,_0x43eb2c=this[_0x2a7f5f(0x174)][_0x2a7f5f(0x17f)](r[_0x2a7f5f(0x181)]);if(!_0x43eb2c)throw new Error(_0x2a7f5f(0x186));return _0x43eb2c[_0x2a7f5f(0x17b)](_0x14bec2);}async[_0x4f7332(0x180)](_0x5c7325){const _0x38cc9d=_0x4f7332,_0x12c8cf=this['_injector']['get'](r['IExchangeService']);if(!_0x12c8cf)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x12c8cf[_0x38cc9d(0x17d)](_0x5c7325);}async['exportDOCXByUnitIdAsync'](_0x329e11){const _0x38b2ae=_0x4f7332,_0x300ede=this[_0x38b2ae(0x174)][_0x38b2ae(0x17f)](r[_0x38b2ae(0x181)]);if(!_0x300ede)throw new Error(_0x38b2ae(0x186));return _0x300ede[_0x38b2ae(0x169)](_0x329e11);}}o[_0x4f7332(0x16e)][_0x4f7332(0x16d)](c);
|