@univerjs-pro/exchange-client 0.8.2 → 0.8.3-nightly.202507010644
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/ko-KR.js +1 -0
- 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/ko-KR.js +1 -0
- 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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -0
- 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/index.d.ts +1 -0
- package/lib/types/locale/ko-KR.d.ts +3 -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/ko-KR.js +1 -0
- 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 _0x27f1fe=_0x399e;function _0x399e(_0x35a3a2,_0x4f9dad){const _0x583216=_0x5832();return _0x399e=function(_0x399e65,_0x4f2b70){_0x399e65=_0x399e65-0x71;let _0x4ce53d=_0x583216[_0x399e65];return _0x4ce53d;},_0x399e(_0x35a3a2,_0x4f9dad);}(function(_0x541a43,_0x28fc76){const _0x45f098=_0x399e,_0x5bbf43=_0x541a43();while(!![]){try{const _0xd92a98=parseInt(_0x45f098(0x84))/0x1+parseInt(_0x45f098(0x7f))/0x2+parseInt(_0x45f098(0x83))/0x3+parseInt(_0x45f098(0x71))/0x4*(-parseInt(_0x45f098(0x94))/0x5)+-parseInt(_0x45f098(0x90))/0x6*(parseInt(_0x45f098(0x73))/0x7)+-parseInt(_0x45f098(0x74))/0x8*(-parseInt(_0x45f098(0x82))/0x9)+parseInt(_0x45f098(0x80))/0xa*(parseInt(_0x45f098(0x8a))/0xb);if(_0xd92a98===_0x28fc76)break;else _0x5bbf43['push'](_0x5bbf43['shift']());}catch(_0x484373){_0x5bbf43['push'](_0x5bbf43['shift']());}}}(_0x5832,0xde576));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x3fbcc2=>(_0x3fbcc2[_0x3fbcc2[_0x27f1fe(0x91)]=0x0]='UNIVER_UNKNOWN',_0x3fbcc2[_0x3fbcc2['UNIVER_DOC']=0x1]=_0x27f1fe(0x92),_0x3fbcc2[_0x3fbcc2[_0x27f1fe(0x8f)]=0x2]=_0x27f1fe(0x8f),_0x3fbcc2[_0x3fbcc2['UNIVER_SLIDE']=0x3]=_0x27f1fe(0x93),_0x3fbcc2[_0x3fbcc2[_0x27f1fe(0x8c)]=0x4]=_0x27f1fe(0x8c),_0x3fbcc2[_0x3fbcc2['UNRECOGNIZED']=-0x1]=_0x27f1fe(0x75),_0x3fbcc2))(i||{});function _0x5832(){const _0x47b0e4=['importDOCXToSnapshot','exportDOCXByUnitId','12264142hBmRQo','exportXLSXBySnapshotAsync','UNIVER_PROJECT','_injector','exportXLSXBySnapshot','UNIVER_SHEET','143400lUhuIr','UNIVER_UNKNOWN','UNIVER_DOC','UNIVER_SLIDE','40tvVgGA','IExchangeService','854980IOkJTu','importDOCXToSnapshotAsync','427OtxQTR','4947856BatZol','UNRECOGNIZED','get','exportXLSXByUnitId','exportDOCXByUnitIdAsync','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','importXLSXToSnapshot','importDOCXToUnitId','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','1948908cmRZsb','10QHJyde','importDOCXToUnitIdAsync','9bdEoaF','1682247QVpyGM','809963hhzeou','importFileToUnitId','exportDOCXBySnapshotAsync','importXLSXToUnitId'];_0x5832=function(){return _0x47b0e4;};return _0x5832();}class c extends o['FUniver']{async[_0x27f1fe(0x87)](_0x46e785){const _0x452ada=_0x27f1fe;return this[_0x452ada(0x7d)](_0x46e785);}async[_0x27f1fe(0x7d)](_0x1930c2){const _0x269a2a=_0x27f1fe,_0x5c02d8=this[_0x269a2a(0x8d)][_0x269a2a(0x76)](r[_0x269a2a(0x95)]);if(!_0x5c02d8)throw new Error(_0x269a2a(0x7e));return _0x5c02d8[_0x269a2a(0x85)](_0x1930c2,i['UNIVER_SHEET']);}async[_0x27f1fe(0x7b)](_0x34f9ef){const _0x329124=_0x27f1fe;return this[_0x329124(0x7a)](_0x34f9ef);}async[_0x27f1fe(0x7a)](_0xc7b41){const _0x293cc2=_0x27f1fe,_0x1557f4=this[_0x293cc2(0x8d)][_0x293cc2(0x76)](r[_0x293cc2(0x95)]);if(!_0x1557f4)throw new Error(_0x293cc2(0x7e));return _0x1557f4[_0x293cc2(0x7b)](_0xc7b41);}async[_0x27f1fe(0x77)](_0x2235bd){const _0x433e89=_0x27f1fe;return this[_0x433e89(0x79)](_0x2235bd);}async[_0x27f1fe(0x79)](_0x2bd3d2){const _0x229e3c=_0x27f1fe,_0x1b0be3=this[_0x229e3c(0x8d)][_0x229e3c(0x76)](r['IExchangeService']);if(!_0x1b0be3)throw new Error(_0x229e3c(0x7e));return _0x1b0be3[_0x229e3c(0x77)](_0x2bd3d2);}async[_0x27f1fe(0x8e)](_0x3d872d){const _0x38327a=_0x27f1fe;return this[_0x38327a(0x8b)](_0x3d872d);}async[_0x27f1fe(0x8b)](_0x521f54){const _0x35c046=_0x27f1fe,_0x5cd342=this[_0x35c046(0x8d)]['get'](r['IExchangeService']);if(!_0x5cd342)throw new Error(_0x35c046(0x7e));return _0x5cd342['exportXLSXBySnapshot'](_0x521f54);}async[_0x27f1fe(0x7c)](_0x5663e5){return this['importDOCXToUnitIdAsync'](_0x5663e5);}async[_0x27f1fe(0x81)](_0x409358){const _0x365953=_0x27f1fe,_0x30a8a8=this[_0x365953(0x8d)][_0x365953(0x76)](r[_0x365953(0x95)]);if(!_0x30a8a8)throw new Error(_0x365953(0x7e));return _0x30a8a8['importFileToUnitId'](_0x409358,i[_0x365953(0x92)]);}async[_0x27f1fe(0x88)](_0x47fa9f){const _0x51653d=_0x27f1fe;return this[_0x51653d(0x72)](_0x47fa9f);}async[_0x27f1fe(0x72)](_0x1bfbfc){const _0x62db76=_0x27f1fe,_0x1ef63b=this[_0x62db76(0x8d)][_0x62db76(0x76)](r[_0x62db76(0x95)]);if(!_0x1ef63b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1ef63b['importDOCXToSnapshot'](_0x1bfbfc);}async[_0x27f1fe(0x86)](_0x56655d){const _0x59fbcd=_0x27f1fe,_0xba856b=this[_0x59fbcd(0x8d)][_0x59fbcd(0x76)](r[_0x59fbcd(0x95)]);if(!_0xba856b)throw new Error(_0x59fbcd(0x7e));return _0xba856b['exportDOCXBySnapshot'](_0x56655d);}async[_0x27f1fe(0x78)](_0x4c64ef){const _0x5d2400=_0x27f1fe,_0x53b751=this['_injector']['get'](r['IExchangeService']);if(!_0x53b751)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x53b751[_0x5d2400(0x89)](_0x4c64ef);}}o['FUniver']['extend'](c);
|