@univerjs-pro/exchange-client 0.5.3 → 0.5.4-experimental.20250114-7c09c35
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 +11 -10
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';function
|
1
|
+
'use strict';const _0x1aef67=_0xcfe5;function _0x1fac(){const _0x1c71df=['importXLSXToSnapshot','16ZhuyCm','8jAeIKq','@univerjs/core','UNIVER_DOC','598956zBTiZE','12749520OaDjse','32600NnIhsY','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','1034772jGNQQK','_injector','get','UNIVER_SLIDE','UNIVER_SHEET','importDOCXToUnitIdAsync','UNRECOGNIZED','4754538yGzXMG','importFileToUnitId','IExchangeService','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','@univerjs-pro/exchange-client','7JOCFXI','3542298WqqQoB','importDOCXToSnapshot','exportXLSXBySnapshot','importXLSXToSnapshotAsync','FUniver','UNIVER_UNKNOWN','UNIVER_PROJECT','exportXLSXByUnitIdAsync','1434865fPqALA'];_0x1fac=function(){return _0x1c71df;};return _0x1fac();}(function(_0x8f9372,_0x416ad4){const _0x3d2a83=_0xcfe5,_0x4f8065=_0x8f9372();while(!![]){try{const _0x494c38=parseInt(_0x3d2a83(0x82))/0x1*(parseInt(_0x3d2a83(0x7c))/0x2)+parseInt(_0x3d2a83(0x85))/0x3+-parseInt(_0x3d2a83(0x80))/0x4+-parseInt(_0x3d2a83(0x7a))/0x5+parseInt(_0x3d2a83(0x93))/0x6*(-parseInt(_0x3d2a83(0x92))/0x7)+-parseInt(_0x3d2a83(0x7d))/0x8*(parseInt(_0x3d2a83(0x8c))/0x9)+parseInt(_0x3d2a83(0x81))/0xa;if(_0x494c38===_0x416ad4)break;else _0x4f8065['push'](_0x4f8065['shift']());}catch(_0xa26ae){_0x4f8065['push'](_0x4f8065['shift']());}}}(_0x1fac,0x4f6b3));function _0xcfe5(_0x284c52,_0x35e3c7){const _0x1faccc=_0x1fac();return _0xcfe5=function(_0xcfe5f3,_0xd0d127){_0xcfe5f3=_0xcfe5f3-0x76;let _0xc80bc1=_0x1faccc[_0xcfe5f3];return _0xc80bc1;},_0xcfe5(_0x284c52,_0x35e3c7);}const r=require(_0x1aef67(0x91)),i=require(_0x1aef67(0x7e));var o=(_0x4bee19=>(_0x4bee19[_0x4bee19[_0x1aef67(0x77)]=0x0]=_0x1aef67(0x77),_0x4bee19[_0x4bee19[_0x1aef67(0x7f)]=0x1]=_0x1aef67(0x7f),_0x4bee19[_0x4bee19['UNIVER_SHEET']=0x2]=_0x1aef67(0x89),_0x4bee19[_0x4bee19[_0x1aef67(0x88)]=0x3]=_0x1aef67(0x88),_0x4bee19[_0x4bee19['UNIVER_PROJECT']=0x4]=_0x1aef67(0x78),_0x4bee19[_0x4bee19[_0x1aef67(0x8b)]=-0x1]=_0x1aef67(0x8b),_0x4bee19))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x489f10){return this['importXLSXToUnitIdAsync'](_0x489f10);}async['importXLSXToUnitIdAsync'](_0xa11f61){const _0x134681=_0x1aef67,_0x500447=this['_injector'][_0x134681(0x87)](r[_0x134681(0x8e)]);if(!_0x500447)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x500447[_0x134681(0x8d)](_0xa11f61,o[_0x134681(0x89)]);}async[_0x1aef67(0x7b)](_0x218009){return this['importXLSXToSnapshotAsync'](_0x218009);}async[_0x1aef67(0x96)](_0x3b97df){const _0x2d88eb=_0x1aef67,_0x58b6fc=this[_0x2d88eb(0x86)]['get'](r[_0x2d88eb(0x8e)]);if(!_0x58b6fc)throw new Error(_0x2d88eb(0x84));return _0x58b6fc[_0x2d88eb(0x7b)](_0x3b97df);}async[_0x1aef67(0x83)](_0x30843c){const _0x382529=_0x1aef67;return this[_0x382529(0x79)](_0x30843c);}async['exportXLSXByUnitIdAsync'](_0x8cb91b){const _0x317453=_0x1aef67,_0x289d18=this[_0x317453(0x86)][_0x317453(0x87)](r[_0x317453(0x8e)]);if(!_0x289d18)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x289d18['exportXLSXByUnitId'](_0x8cb91b);}async[_0x1aef67(0x95)](_0x229acf){const _0xcf8e6f=_0x1aef67;return this[_0xcf8e6f(0x90)](_0x229acf);}async['exportXLSXBySnapshotAsync'](_0x1fb41a){const _0x496f30=_0x1aef67,_0xfdf18f=this[_0x496f30(0x86)][_0x496f30(0x87)](r[_0x496f30(0x8e)]);if(!_0xfdf18f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xfdf18f[_0x496f30(0x95)](_0x1fb41a);}async['importDOCXToUnitId'](_0x5baa75){return this['importDOCXToUnitIdAsync'](_0x5baa75);}async[_0x1aef67(0x8a)](_0x53e443){const _0x213f0b=_0x1aef67,_0x3aadf1=this[_0x213f0b(0x86)][_0x213f0b(0x87)](r[_0x213f0b(0x8e)]);if(!_0x3aadf1)throw new Error(_0x213f0b(0x84));return _0x3aadf1['importFileToUnitId'](_0x53e443,o[_0x213f0b(0x7f)]);}async[_0x1aef67(0x94)](_0x47e5a0){const _0x2d816d=_0x1aef67;return this[_0x2d816d(0x8f)](_0x47e5a0);}async[_0x1aef67(0x8f)](_0x21b9a5){const _0x4d331e=_0x1aef67,_0x32fe0d=this['_injector'][_0x4d331e(0x87)](r[_0x4d331e(0x8e)]);if(!_0x32fe0d)throw new Error(_0x4d331e(0x84));return _0x32fe0d[_0x4d331e(0x94)](_0x21b9a5);}}i[_0x1aef67(0x76)]['extend'](c);
|