@univerjs-pro/exchange-client 0.9.2-nightly.202507131606 → 0.9.2-nightly.202507151607
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/ca-ES.js +1 -0
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -0
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.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/ca-ES.js +1 -0
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -0
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.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.js +2 -2
- package/lib/locale/ca-ES.js +1 -0
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -0
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.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/locale/ca-ES.d.ts +3 -0
- package/lib/types/locale/es-ES.d.ts +3 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +2 -2
- package/lib/umd/locale/ca-ES.js +1 -0
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -0
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.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 +7 -7
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0xa38626=_0x5501;function _0x1588(){const _0x186931=['UNIVER_DOC','importDOCXToSnapshotAsync','exportDOCXByUnitId','exportXLSXByUnitIdAsync','IExchangeService','importXLSXToUnitId','_injector','exportDOCXByUnitIdAsync','1703325GvZtQz','14699vtdevy','importXLSXToSnapshotAsync','importDOCXToSnapshot','importFileToUnitId','FUniver','get','2750307JasjtE','666582QpJtlS','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','exportDOCXBySnapshot','extend','4239080CtOMXq','exportXLSXByUnitId','44KKHhuC','967164EphiKr','exportXLSXBySnapshot','exportDOCXBySnapshotAsync','importXLSXToUnitIdAsync','UNIVER_SHEET','UNRECOGNIZED','UNIVER_SLIDE','exportXLSXBySnapshotAsync','1382876VSZbHV'];_0x1588=function(){return _0x186931;};return _0x1588();}(function(_0x1527d9,_0xfb9861){const _0xd73847=_0x5501,_0x25a672=_0x1527d9();while(!![]){try{const _0x53a7d3=parseInt(_0xd73847(0x19b))/0x1*(-parseInt(_0xd73847(0x1a9))/0x2)+parseInt(_0xd73847(0x1aa))/0x3+parseInt(_0xd73847(0x191))/0x4+-parseInt(_0xd73847(0x19a))/0x5+parseInt(_0xd73847(0x1a2))/0x6+-parseInt(_0xd73847(0x1a1))/0x7+parseInt(_0xd73847(0x1a7))/0x8;if(_0x53a7d3===_0xfb9861)break;else _0x25a672['push'](_0x25a672['shift']());}catch(_0x347a03){_0x25a672['push'](_0x25a672['shift']());}}}(_0x1588,0x3d8f1));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x163827=>(_0x163827[_0x163827[_0xa38626(0x1a4)]=0x0]='UNIVER_UNKNOWN',_0x163827[_0x163827[_0xa38626(0x192)]=0x1]=_0xa38626(0x192),_0x163827[_0x163827[_0xa38626(0x18d)]=0x2]='UNIVER_SHEET',_0x163827[_0x163827[_0xa38626(0x18f)]=0x3]='UNIVER_SLIDE',_0x163827[_0x163827['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x163827[_0x163827[_0xa38626(0x18e)]=-0x1]='UNRECOGNIZED',_0x163827))(i||{});function _0x5501(_0x9a6c7,_0x334fac){const _0x1588a8=_0x1588();return _0x5501=function(_0x5501f6,_0x4520e8){_0x5501f6=_0x5501f6-0x18b;let _0x139ddc=_0x1588a8[_0x5501f6];return _0x139ddc;},_0x5501(_0x9a6c7,_0x334fac);}class c extends o[_0xa38626(0x19f)]{async[_0xa38626(0x197)](_0x4605f4){const _0x3c3966=_0xa38626;return this[_0x3c3966(0x18c)](_0x4605f4);}async[_0xa38626(0x18c)](_0x329893){const _0x55ea96=_0xa38626,_0x293534=this['_injector'][_0x55ea96(0x1a0)](r[_0x55ea96(0x196)]);if(!_0x293534)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x293534['importFileToUnitId'](_0x329893,i[_0x55ea96(0x18d)]);}async['importXLSXToSnapshot'](_0x4653ea){return this['importXLSXToSnapshotAsync'](_0x4653ea);}async[_0xa38626(0x19c)](_0x19bd80){const _0x110cf4=_0xa38626,_0x3ce8b0=this[_0x110cf4(0x198)][_0x110cf4(0x1a0)](r[_0x110cf4(0x196)]);if(!_0x3ce8b0)throw new Error(_0x110cf4(0x1a3));return _0x3ce8b0['importXLSXToSnapshot'](_0x19bd80);}async[_0xa38626(0x1a8)](_0x1a6c7f){const _0x181692=_0xa38626;return this[_0x181692(0x195)](_0x1a6c7f);}async[_0xa38626(0x195)](_0x51a04a){const _0x1ef2f=_0xa38626,_0x2ecbbe=this['_injector'][_0x1ef2f(0x1a0)](r['IExchangeService']);if(!_0x2ecbbe)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2ecbbe[_0x1ef2f(0x1a8)](_0x51a04a);}async[_0xa38626(0x1ab)](_0x803703){const _0x546f92=_0xa38626;return this[_0x546f92(0x190)](_0x803703);}async['exportXLSXBySnapshotAsync'](_0x79164b){const _0x3dcd02=_0xa38626,_0x1ba1d4=this[_0x3dcd02(0x198)]['get'](r[_0x3dcd02(0x196)]);if(!_0x1ba1d4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1ba1d4[_0x3dcd02(0x1ab)](_0x79164b);}async['importDOCXToUnitId'](_0xcba1cb){return this['importDOCXToUnitIdAsync'](_0xcba1cb);}async['importDOCXToUnitIdAsync'](_0xf95602){const _0x140401=_0xa38626,_0x2544c6=this[_0x140401(0x198)][_0x140401(0x1a0)](r[_0x140401(0x196)]);if(!_0x2544c6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2544c6[_0x140401(0x19e)](_0xf95602,i['UNIVER_DOC']);}async[_0xa38626(0x19d)](_0x48f97d){const _0x11493a=_0xa38626;return this[_0x11493a(0x193)](_0x48f97d);}async[_0xa38626(0x193)](_0x1b2c41){const _0x5aa981=_0xa38626,_0x10a37b=this[_0x5aa981(0x198)][_0x5aa981(0x1a0)](r[_0x5aa981(0x196)]);if(!_0x10a37b)throw new Error(_0x5aa981(0x1a3));return _0x10a37b[_0x5aa981(0x19d)](_0x1b2c41);}async[_0xa38626(0x18b)](_0x44d627){const _0x4c5164=_0xa38626,_0x5132e6=this[_0x4c5164(0x198)][_0x4c5164(0x1a0)](r['IExchangeService']);if(!_0x5132e6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5132e6[_0x4c5164(0x1a5)](_0x44d627);}async[_0xa38626(0x199)](_0x5433f1){const _0x428da5=_0xa38626,_0x27698c=this['_injector']['get'](r[_0x428da5(0x196)]);if(!_0x27698c)throw new Error(_0x428da5(0x1a3));return _0x27698c[_0x428da5(0x194)](_0x5433f1);}}o[_0xa38626(0x19f)][_0xa38626(0x1a6)](c);
|