@univerjs-pro/exchange-client 0.5.3-experimental.20250106-e3b7a39 → 0.5.3-experimental.20250107-3e6579c
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/types/facade/f-univer.d.ts +114 -0
- 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 +8 -8
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x2ffa5c=_0x3776;function _0x1379(){const _0x44c7a5=['importDOCXToUnitIdAsync','importDOCXToSnapshotAsync','UNIVER_PROJECT','_injector','importDOCXToSnapshot','get','importXLSXToSnapshotAsync','exportXLSXByUnitId','FUniver','importXLSXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','importFileToUnitId','UNIVER_SHEET','16IyZZot','6055002gtfCYW','716813aQyRFq','1442292vMCXtl','@univerjs/core','importXLSXToUnitIdAsync','101902PsGxVl','245224dczNGG','exportXLSXBySnapshotAsync','importXLSXToUnitId','UNIVER_SLIDE','IExchangeService','2033148JIySSA','10HZtzdj','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','UNIVER_DOC','1914051nVqZPx','extend'];_0x1379=function(){return _0x44c7a5;};return _0x1379();}function _0x3776(_0x4c0907,_0x26df5d){const _0x1379b6=_0x1379();return _0x3776=function(_0x377620,_0x260bd6){_0x377620=_0x377620-0xb0;let _0x5868b4=_0x1379b6[_0x377620];return _0x5868b4;},_0x3776(_0x4c0907,_0x26df5d);}(function(_0xe7a283,_0x1c6171){const _0x3a0eb3=_0x3776,_0x11db6f=_0xe7a283();while(!![]){try{const _0x565f7a=parseInt(_0x3a0eb3(0xcc))/0x1+-parseInt(_0x3a0eb3(0xd0))/0x2+parseInt(_0x3a0eb3(0xba))/0x3+-parseInt(_0x3a0eb3(0xcd))/0x4*(-parseInt(_0x3a0eb3(0xb6))/0x5)+-parseInt(_0x3a0eb3(0xb5))/0x6+parseInt(_0x3a0eb3(0xb0))/0x7+-parseInt(_0x3a0eb3(0xca))/0x8*(parseInt(_0x3a0eb3(0xcb))/0x9);if(_0x565f7a===_0x1c6171)break;else _0x11db6f['push'](_0x11db6f['shift']());}catch(_0x727f38){_0x11db6f['push'](_0x11db6f['shift']());}}}(_0x1379,0x5bb5b));const r=require('@univerjs-pro/exchange-client'),i=require(_0x2ffa5c(0xce));var o=(_0x579a83=>(_0x579a83[_0x579a83['UNIVER_UNKNOWN']=0x0]=_0x2ffa5c(0xc7),_0x579a83[_0x579a83[_0x2ffa5c(0xb9)]=0x1]='UNIVER_DOC',_0x579a83[_0x579a83['UNIVER_SHEET']=0x2]=_0x2ffa5c(0xc9),_0x579a83[_0x579a83[_0x2ffa5c(0xb3)]=0x3]=_0x2ffa5c(0xb3),_0x579a83[_0x579a83[_0x2ffa5c(0xbe)]=0x4]=_0x2ffa5c(0xbe),_0x579a83[_0x579a83['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x579a83))(o||{});class c extends i[_0x2ffa5c(0xc4)]{async[_0x2ffa5c(0xb2)](_0x138c75){const _0x2b9ba2=_0x2ffa5c;return this[_0x2b9ba2(0xcf)](_0x138c75);}async[_0x2ffa5c(0xcf)](_0x3789ed){const _0xf16563=_0x2ffa5c,_0x5b45ad=this['_injector']['get'](r[_0xf16563(0xb4)]);if(!_0x5b45ad)throw new Error(_0xf16563(0xc6));return _0x5b45ad['importFileToUnitId'](_0x3789ed,o[_0xf16563(0xc9)]);}async[_0x2ffa5c(0xc5)](_0x206e08){return this['importXLSXToSnapshotAsync'](_0x206e08);}async[_0x2ffa5c(0xc2)](_0x49c2dd){const _0x4303bb=_0x2ffa5c,_0xeec25c=this[_0x4303bb(0xbf)][_0x4303bb(0xc1)](r[_0x4303bb(0xb4)]);if(!_0xeec25c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xeec25c[_0x4303bb(0xc5)](_0x49c2dd);}async[_0x2ffa5c(0xc3)](_0x56af1e){const _0x17e6f8=_0x2ffa5c;return this[_0x17e6f8(0xb8)](_0x56af1e);}async[_0x2ffa5c(0xb8)](_0x41cefd){const _0x338df3=_0x2ffa5c,_0x3533d6=this[_0x338df3(0xbf)]['get'](r['IExchangeService']);if(!_0x3533d6)throw new Error(_0x338df3(0xc6));return _0x3533d6['exportXLSXByUnitId'](_0x41cefd);}async['exportXLSXBySnapshot'](_0x38243c){const _0xa60752=_0x2ffa5c;return this[_0xa60752(0xb1)](_0x38243c);}async['exportXLSXBySnapshotAsync'](_0x13a066){const _0xb1a117=_0x2ffa5c,_0x32cbf6=this[_0xb1a117(0xbf)][_0xb1a117(0xc1)](r['IExchangeService']);if(!_0x32cbf6)throw new Error(_0xb1a117(0xc6));return _0x32cbf6[_0xb1a117(0xb7)](_0x13a066);}async['importDOCXToUnitId'](_0x197e3c){const _0x39c949=_0x2ffa5c;return this[_0x39c949(0xbc)](_0x197e3c);}async[_0x2ffa5c(0xbc)](_0x1170c6){const _0x1760a5=_0x2ffa5c,_0x390505=this[_0x1760a5(0xbf)][_0x1760a5(0xc1)](r[_0x1760a5(0xb4)]);if(!_0x390505)throw new Error(_0x1760a5(0xc6));return _0x390505[_0x1760a5(0xc8)](_0x1170c6,o[_0x1760a5(0xb9)]);}async['importDOCXToSnapshot'](_0x7b8f82){const _0x3f6611=_0x2ffa5c;return this[_0x3f6611(0xbd)](_0x7b8f82);}async[_0x2ffa5c(0xbd)](_0x411537){const _0x3a30d0=_0x2ffa5c,_0x322170=this[_0x3a30d0(0xbf)][_0x3a30d0(0xc1)](r['IExchangeService']);if(!_0x322170)throw new Error(_0x3a30d0(0xc6));return _0x322170[_0x3a30d0(0xc0)](_0x411537);}}i[_0x2ffa5c(0xc4)][_0x2ffa5c(0xbb)](c);
|