@univerjs-pro/exchange-client 0.4.2 → 0.5.0-beta.0
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 -0
- package/lib/cjs/index.js +2 -2
- package/lib/cjs/locale/en-US.js +1 -0
- package/lib/cjs/locale/fa-IR.js +1 -0
- package/lib/cjs/locale/ru-RU.js +1 -0
- package/lib/cjs/locale/vi-VN.js +1 -0
- package/lib/cjs/locale/zh-CN.js +1 -0
- package/lib/cjs/locale/zh-TW.js +1 -0
- package/lib/es/facade.js +1 -0
- package/lib/es/index.js +2 -2
- package/lib/es/locale/en-US.js +1 -0
- package/lib/es/locale/fa-IR.js +1 -0
- package/lib/es/locale/ru-RU.js +1 -0
- package/lib/es/locale/vi-VN.js +1 -0
- package/lib/es/locale/zh-CN.js +1 -0
- package/lib/es/locale/zh-TW.js +1 -0
- package/lib/types/facade/f-univer.d.ts +36 -0
- package/lib/types/facade/index.d.ts +1 -0
- package/lib/types/services/__tests__/snapshot.spec.d.ts +0 -15
- package/lib/umd/facade.js +1 -0
- package/lib/umd/index.js +2 -2
- package/lib/umd/locale/en-US.js +1 -0
- package/lib/umd/locale/fa-IR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -0
- package/lib/umd/locale/vi-VN.js +1 -0
- package/lib/umd/locale/zh-CN.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -0
- package/package.json +39 -21
- package/lib/locale/en-US.json +0 -20
- package/lib/locale/fa-IR.json +0 -20
- package/lib/locale/ru-RU.json +0 -20
- package/lib/locale/vi-VN.json +0 -20
- package/lib/locale/zh-CN.json +0 -20
- package/lib/locale/zh-TW.json +0 -20
@@ -0,0 +1 @@
|
|
1
|
+
'use strict';const _0x13246f=_0x44e7;(function(_0x5131ba,_0x502eb6){const _0x4bc8e5=_0x44e7,_0x267714=_0x5131ba();while(!![]){try{const _0x10d0ae=-parseInt(_0x4bc8e5(0x82))/0x1+parseInt(_0x4bc8e5(0x81))/0x2*(-parseInt(_0x4bc8e5(0x92))/0x3)+parseInt(_0x4bc8e5(0x7e))/0x4*(-parseInt(_0x4bc8e5(0x8c))/0x5)+-parseInt(_0x4bc8e5(0x79))/0x6+-parseInt(_0x4bc8e5(0x83))/0x7+parseInt(_0x4bc8e5(0x91))/0x8+parseInt(_0x4bc8e5(0x90))/0x9;if(_0x10d0ae===_0x502eb6)break;else _0x267714['push'](_0x267714['shift']());}catch(_0x597e43){_0x267714['push'](_0x267714['shift']());}}}(_0x26a7,0x46ff7));function _0x44e7(_0x5b4784,_0x531b6d){const _0x26a7ce=_0x26a7();return _0x44e7=function(_0x44e70b,_0x21e323){_0x44e70b=_0x44e70b-0x78;let _0x3286e0=_0x26a7ce[_0x44e70b];return _0x3286e0;},_0x44e7(_0x5b4784,_0x531b6d);}function _0x26a7(){const _0x73e231=['@univerjs/core','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','extend','FUniver','get','UNIVER_SHEET','5iaSSxp','_injector','importDOCXToSnapshot','exportXLSXBySnapshot','10366164KatAVV','3712440pmTXqv','3zVIPpY','UNIVER_PROJECT','UNRECOGNIZED','2746680zPPqkb','importFileToUnitId','@univerjs-pro/exchange-client','UNIVER_SLIDE','exportXLSXByUnitId','1126372wqdKIB','IExchangeService','UNIVER_UNKNOWN','291966XkDkab','156136gNYBEy','1984864aGqwLf','importDOCXToUnitId'];_0x26a7=function(){return _0x73e231;};return _0x26a7();}const c=require(_0x13246f(0x85)),n=require(_0x13246f(0x7b));var i=(_0x3b7687=>(_0x3b7687[_0x3b7687[_0x13246f(0x80)]=0x0]=_0x13246f(0x80),_0x3b7687[_0x3b7687[_0x13246f(0x87)]=0x1]=_0x13246f(0x87),_0x3b7687[_0x3b7687[_0x13246f(0x8b)]=0x2]=_0x13246f(0x8b),_0x3b7687[_0x3b7687[_0x13246f(0x7c)]=0x3]=_0x13246f(0x7c),_0x3b7687[_0x3b7687[_0x13246f(0x93)]=0x4]='UNIVER_PROJECT',_0x3b7687[_0x3b7687['UNRECOGNIZED']=-0x1]=_0x13246f(0x78),_0x3b7687))(i||{});class o extends c['FUniver']{async['importXLSXToUnitId'](_0x4d9ace){const _0x59247f=_0x13246f,_0x4d942d=this[_0x59247f(0x8d)][_0x59247f(0x8a)](n[_0x59247f(0x7f)]);if(!_0x4d942d)throw new Error(_0x59247f(0x86));return _0x4d942d[_0x59247f(0x7a)](_0x4d9ace,i[_0x59247f(0x8b)]);}async['importXLSXToSnapshot'](_0x19a8fa){const _0x1b359f=_0x13246f,_0x32fed9=this['_injector'][_0x1b359f(0x8a)](n['IExchangeService']);if(!_0x32fed9)throw new Error(_0x1b359f(0x86));return _0x32fed9['importXLSXToSnapshot'](_0x19a8fa);}async[_0x13246f(0x7d)](_0x1f0b22){const _0x4e8fa7=_0x13246f,_0x399e91=this[_0x4e8fa7(0x8d)][_0x4e8fa7(0x8a)](n[_0x4e8fa7(0x7f)]);if(!_0x399e91)throw new Error(_0x4e8fa7(0x86));return _0x399e91[_0x4e8fa7(0x7d)](_0x1f0b22);}async[_0x13246f(0x8f)](_0x4612a5){const _0xbd8538=_0x13246f,_0x5f57e1=this[_0xbd8538(0x8d)][_0xbd8538(0x8a)](n[_0xbd8538(0x7f)]);if(!_0x5f57e1)throw new Error(_0xbd8538(0x86));return _0x5f57e1['exportXLSXBySnapshot'](_0x4612a5);}async[_0x13246f(0x84)](_0x7934f4){const _0x5ea9ef=_0x13246f,_0x3d036a=this[_0x5ea9ef(0x8d)][_0x5ea9ef(0x8a)](n[_0x5ea9ef(0x7f)]);if(!_0x3d036a)throw new Error(_0x5ea9ef(0x86));return _0x3d036a['importFileToUnitId'](_0x7934f4,i['UNIVER_DOC']);}async[_0x13246f(0x8e)](_0x1a6f88){const _0x1f38b8=_0x13246f,_0x4083e4=this[_0x1f38b8(0x8d)]['get'](n[_0x1f38b8(0x7f)]);if(!_0x4083e4)throw new Error(_0x1f38b8(0x86));return _0x4083e4[_0x1f38b8(0x8e)](_0x1a6f88);}}c[_0x13246f(0x89)][_0x13246f(0x88)](o);
|