@univerjs-pro/exchange-client 0.7.0 → 0.8.0-beta.1
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/facade.js +1 -1
- package/lib/index.css +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/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/types/facade/f-univer.d.ts +28 -0
- package/lib/types/locale/en-US.d.ts +21 -2
- package/lib/types/locale/fa-IR.d.ts +2 -2
- package/lib/types/locale/fr-FR.d.ts +2 -2
- package/lib/types/locale/ru-RU.d.ts +2 -2
- package/lib/types/locale/vi-VN.d.ts +2 -2
- package/lib/types/locale/zh-CN.d.ts +3 -22
- package/lib/types/locale/zh-TW.d.ts +2 -2
- package/lib/types/services/operate.service.d.ts +2 -0
- package/lib/types/services/utils/snapshot.d.ts +12 -18
- 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 +10 -10
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x3ee56d=_0x2588;function _0x2588(_0x1b1c82,_0x4465ce){const _0x48ba92=_0x48ba();return _0x2588=function(_0x2588b1,_0x399bd4){_0x2588b1=_0x2588b1-0x146;let _0x31dce2=_0x48ba92[_0x2588b1];return _0x31dce2;},_0x2588(_0x1b1c82,_0x4465ce);}(function(_0x5934aa,_0x5ab64a){const _0x770ef7=_0x2588,_0x59b378=_0x5934aa();while(!![]){try{const _0x381913=parseInt(_0x770ef7(0x16a))/0x1*(-parseInt(_0x770ef7(0x14b))/0x2)+parseInt(_0x770ef7(0x14d))/0x3+-parseInt(_0x770ef7(0x166))/0x4+-parseInt(_0x770ef7(0x148))/0x5*(parseInt(_0x770ef7(0x157))/0x6)+-parseInt(_0x770ef7(0x146))/0x7*(-parseInt(_0x770ef7(0x159))/0x8)+parseInt(_0x770ef7(0x16b))/0x9+parseInt(_0x770ef7(0x14f))/0xa;if(_0x381913===_0x5ab64a)break;else _0x59b378['push'](_0x59b378['shift']());}catch(_0x492ba9){_0x59b378['push'](_0x59b378['shift']());}}}(_0x48ba,0x3c42a));function _0x48ba(){const _0x390774=['exportDOCXByUnitIdAsync','UNRECOGNIZED','68ZSGvlO','1582056lpXuvX','49iHKufG','@univerjs-pro/exchange-client','7705MPFFwW','importFileToUnitId','importDOCXToSnapshot','8306MWeVkK','importXLSXToSnapshotAsync','502116VNKTlW','_injector','7426540NDWlVI','exportDOCXBySnapshotAsync','exportXLSXBySnapshot','UNIVER_DOC','UNIVER_SHEET','UNIVER_PROJECT','exportXLSXByUnitId','importXLSXToUnitId','1194KCEjDq','importDOCXToSnapshotAsync','129816FcWwZx','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','UNIVER_UNKNOWN','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','exportDOCXBySnapshot','importDOCXToUnitId','importXLSXToSnapshot','IExchangeService','get','UNIVER_SLIDE','1454040TKYKfl','FUniver'];_0x48ba=function(){return _0x390774;};return _0x48ba();}const r=require(_0x3ee56d(0x147)),o=require('@univerjs/core/facade');var i=(_0x568bad=>(_0x568bad[_0x568bad['UNIVER_UNKNOWN']=0x0]=_0x3ee56d(0x15c),_0x568bad[_0x568bad[_0x3ee56d(0x152)]=0x1]='UNIVER_DOC',_0x568bad[_0x568bad[_0x3ee56d(0x153)]=0x2]=_0x3ee56d(0x153),_0x568bad[_0x568bad['UNIVER_SLIDE']=0x3]=_0x3ee56d(0x165),_0x568bad[_0x568bad[_0x3ee56d(0x154)]=0x4]=_0x3ee56d(0x154),_0x568bad[_0x568bad[_0x3ee56d(0x169)]=-0x1]=_0x3ee56d(0x169),_0x568bad))(i||{});class c extends o[_0x3ee56d(0x167)]{async[_0x3ee56d(0x156)](_0x37c1f1){const _0x19efe0=_0x3ee56d;return this[_0x19efe0(0x15b)](_0x37c1f1);}async[_0x3ee56d(0x15b)](_0x35bcbc){const _0x231ee8=_0x3ee56d,_0x2bd453=this[_0x231ee8(0x14e)][_0x231ee8(0x164)](r[_0x231ee8(0x163)]);if(!_0x2bd453)throw new Error(_0x231ee8(0x15a));return _0x2bd453[_0x231ee8(0x149)](_0x35bcbc,i[_0x231ee8(0x153)]);}async[_0x3ee56d(0x162)](_0x3fc67d){const _0x279c45=_0x3ee56d;return this[_0x279c45(0x14c)](_0x3fc67d);}async[_0x3ee56d(0x14c)](_0x295fe4){const _0x4ad83f=_0x3ee56d,_0x54ed46=this[_0x4ad83f(0x14e)]['get'](r[_0x4ad83f(0x163)]);if(!_0x54ed46)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x54ed46['importXLSXToSnapshot'](_0x295fe4);}async[_0x3ee56d(0x155)](_0x10c9ab){const _0x48730d=_0x3ee56d;return this[_0x48730d(0x15d)](_0x10c9ab);}async[_0x3ee56d(0x15d)](_0x2464b5){const _0x5a1535=_0x3ee56d,_0x4199b3=this[_0x5a1535(0x14e)][_0x5a1535(0x164)](r[_0x5a1535(0x163)]);if(!_0x4199b3)throw new Error(_0x5a1535(0x15a));return _0x4199b3['exportXLSXByUnitId'](_0x2464b5);}async[_0x3ee56d(0x151)](_0xa56ea2){return this['exportXLSXBySnapshotAsync'](_0xa56ea2);}async[_0x3ee56d(0x15f)](_0x3f5b37){const _0x14d1da=_0x3ee56d,_0x2d473b=this[_0x14d1da(0x14e)][_0x14d1da(0x164)](r[_0x14d1da(0x163)]);if(!_0x2d473b)throw new Error(_0x14d1da(0x15a));return _0x2d473b['exportXLSXBySnapshot'](_0x3f5b37);}async[_0x3ee56d(0x161)](_0xe1f6c){const _0x44028d=_0x3ee56d;return this[_0x44028d(0x15e)](_0xe1f6c);}async[_0x3ee56d(0x15e)](_0x2534d3){const _0x1bbc6f=_0x3ee56d,_0x1e38b2=this[_0x1bbc6f(0x14e)][_0x1bbc6f(0x164)](r[_0x1bbc6f(0x163)]);if(!_0x1e38b2)throw new Error(_0x1bbc6f(0x15a));return _0x1e38b2['importFileToUnitId'](_0x2534d3,i[_0x1bbc6f(0x152)]);}async[_0x3ee56d(0x14a)](_0x3fcfe5){const _0x17b53d=_0x3ee56d;return this[_0x17b53d(0x158)](_0x3fcfe5);}async[_0x3ee56d(0x158)](_0x12fee6){const _0x53a405=_0x3ee56d,_0x4b3399=this[_0x53a405(0x14e)][_0x53a405(0x164)](r[_0x53a405(0x163)]);if(!_0x4b3399)throw new Error(_0x53a405(0x15a));return _0x4b3399[_0x53a405(0x14a)](_0x12fee6);}async[_0x3ee56d(0x150)](_0x3fb600){const _0x2baa12=_0x3ee56d,_0x2bb3dc=this[_0x2baa12(0x14e)][_0x2baa12(0x164)](r[_0x2baa12(0x163)]);if(!_0x2bb3dc)throw new Error(_0x2baa12(0x15a));return _0x2bb3dc[_0x2baa12(0x160)](_0x3fb600);}async[_0x3ee56d(0x168)](_0x2cf7ab){const _0x4b80a7=_0x3ee56d,_0x52ff85=this[_0x4b80a7(0x14e)][_0x4b80a7(0x164)](r[_0x4b80a7(0x163)]);if(!_0x52ff85)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x52ff85['exportDOCXByUnitId'](_0x2cf7ab);}}o[_0x3ee56d(0x167)]['extend'](c);
|