@univerjs-pro/exchange-client 0.6.0-nightly.202502181606 → 0.6.0-nightly.202502191606
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/locale/zh-CN.d.ts +1 -0
- package/lib/types/services/operate.service.d.ts +8 -0
- package/lib/types/services/utils/content-type.d.ts +16 -0
- package/lib/types/services/utils/tool.d.ts +6 -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';function
|
1
|
+
'use strict';const _0x2b14be=_0x3333;function _0x3551(){const _0x293627=['importXLSXToUnitIdAsync','get','exportXLSXBySnapshot','2FbyCkm','UNIVER_PROJECT','extend','UNRECOGNIZED','4058943qCIhnj','54535NQHbPz','730036TRICNI','IExchangeService','582961aFNSxW','importDOCXToUnitId','FUniver','importDOCXToUnitIdAsync','importFileToUnitId','exportXLSXByUnitIdAsync','2660192UHPLpq','@univerjs/core/facade','UNIVER_UNKNOWN','54SoORRw','The\x20exchange\x20service\x20is\x20not\x20available','15427683DnzZyl','importDOCXToSnapshotAsync','importXLSXToSnapshot','UNIVER_DOC','importDOCXToSnapshot','importXLSXToSnapshotAsync','UNIVER_SHEET','@univerjs-pro/exchange-client','_injector','1756314WXGtsg'];_0x3551=function(){return _0x293627;};return _0x3551();}function _0x3333(_0x271c40,_0x14492b){const _0x355192=_0x3551();return _0x3333=function(_0x3333ec,_0x3a1289){_0x3333ec=_0x3333ec-0x15c;let _0x4adf86=_0x355192[_0x3333ec];return _0x4adf86;},_0x3333(_0x271c40,_0x14492b);}(function(_0x26d47a,_0xca6f1d){const _0x4af2e3=_0x3333,_0x19d3ed=_0x26d47a();while(!![]){try{const _0x40be58=-parseInt(_0x4af2e3(0x169))/0x1*(parseInt(_0x4af2e3(0x161))/0x2)+-parseInt(_0x4af2e3(0x15d))/0x3+parseInt(_0x4af2e3(0x167))/0x4+parseInt(_0x4af2e3(0x166))/0x5*(-parseInt(_0x4af2e3(0x172))/0x6)+-parseInt(_0x4af2e3(0x165))/0x7+parseInt(_0x4af2e3(0x16f))/0x8+parseInt(_0x4af2e3(0x174))/0x9;if(_0x40be58===_0xca6f1d)break;else _0x19d3ed['push'](_0x19d3ed['shift']());}catch(_0x4c8f00){_0x19d3ed['push'](_0x19d3ed['shift']());}}}(_0x3551,0x5d759));const r=require(_0x2b14be(0x17b)),i=require(_0x2b14be(0x170));var o=(_0x4290dd=>(_0x4290dd[_0x4290dd[_0x2b14be(0x171)]=0x0]=_0x2b14be(0x171),_0x4290dd[_0x4290dd[_0x2b14be(0x177)]=0x1]=_0x2b14be(0x177),_0x4290dd[_0x4290dd[_0x2b14be(0x17a)]=0x2]='UNIVER_SHEET',_0x4290dd[_0x4290dd['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x4290dd[_0x4290dd['UNIVER_PROJECT']=0x4]=_0x2b14be(0x162),_0x4290dd[_0x4290dd[_0x2b14be(0x164)]=-0x1]=_0x2b14be(0x164),_0x4290dd))(o||{});class c extends i[_0x2b14be(0x16b)]{async['importXLSXToUnitId'](_0x1d0a3e){const _0x41ecd7=_0x2b14be;return this[_0x41ecd7(0x15e)](_0x1d0a3e);}async[_0x2b14be(0x15e)](_0x436c95){const _0x13cf7d=_0x2b14be,_0x38951b=this[_0x13cf7d(0x15c)][_0x13cf7d(0x15f)](r['IExchangeService']);if(!_0x38951b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x38951b[_0x13cf7d(0x16d)](_0x436c95,o[_0x13cf7d(0x17a)]);}async[_0x2b14be(0x176)](_0x5a4d00){const _0x543ec6=_0x2b14be;return this[_0x543ec6(0x179)](_0x5a4d00);}async['importXLSXToSnapshotAsync'](_0x45cd2d){const _0x460a06=_0x2b14be,_0x5c9c21=this[_0x460a06(0x15c)][_0x460a06(0x15f)](r[_0x460a06(0x168)]);if(!_0x5c9c21)throw new Error(_0x460a06(0x173));return _0x5c9c21[_0x460a06(0x176)](_0x45cd2d);}async['exportXLSXByUnitId'](_0x5ba0c7){const _0x1c1a3f=_0x2b14be;return this[_0x1c1a3f(0x16e)](_0x5ba0c7);}async[_0x2b14be(0x16e)](_0x23f45d){const _0x2016de=_0x2b14be,_0x5108cb=this[_0x2016de(0x15c)][_0x2016de(0x15f)](r['IExchangeService']);if(!_0x5108cb)throw new Error(_0x2016de(0x173));return _0x5108cb['exportXLSXByUnitId'](_0x23f45d);}async[_0x2b14be(0x160)](_0x2e8d57){return this['exportXLSXBySnapshotAsync'](_0x2e8d57);}async['exportXLSXBySnapshotAsync'](_0x3f3967){const _0x2cdb5a=_0x2b14be,_0x14a7dc=this[_0x2cdb5a(0x15c)][_0x2cdb5a(0x15f)](r[_0x2cdb5a(0x168)]);if(!_0x14a7dc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x14a7dc[_0x2cdb5a(0x160)](_0x3f3967);}async[_0x2b14be(0x16a)](_0x3ed22e){return this['importDOCXToUnitIdAsync'](_0x3ed22e);}async[_0x2b14be(0x16c)](_0x4d9003){const _0x6900f7=_0x2b14be,_0x37e356=this[_0x6900f7(0x15c)][_0x6900f7(0x15f)](r[_0x6900f7(0x168)]);if(!_0x37e356)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x37e356[_0x6900f7(0x16d)](_0x4d9003,o[_0x6900f7(0x177)]);}async[_0x2b14be(0x178)](_0x54ef7b){const _0x389851=_0x2b14be;return this[_0x389851(0x175)](_0x54ef7b);}async[_0x2b14be(0x175)](_0x310fbe){const _0x1abad9=_0x2b14be,_0x14981b=this[_0x1abad9(0x15c)][_0x1abad9(0x15f)](r[_0x1abad9(0x168)]);if(!_0x14981b)throw new Error(_0x1abad9(0x173));return _0x14981b[_0x1abad9(0x178)](_0x310fbe);}}i[_0x2b14be(0x16b)][_0x2b14be(0x163)](c);
|