@univerjs-pro/exchange-client 0.6.5 → 0.6.6-experimental.20250319-2bbe26f
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/facade/f-univer.d.ts +6 -12
- package/lib/types/index.d.ts +1 -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/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 +9 -9
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x4ff37e=_0x51bb;(function(_0x26554a,_0x3fda0d){const _0x15cf23=_0x51bb,_0x55d621=_0x26554a();while(!![]){try{const _0x16cca8=-parseInt(_0x15cf23(0x1f7))/0x1*(parseInt(_0x15cf23(0x1f4))/0x2)+-parseInt(_0x15cf23(0x1f5))/0x3+parseInt(_0x15cf23(0x1f3))/0x4*(parseInt(_0x15cf23(0x1ef))/0x5)+-parseInt(_0x15cf23(0x1fc))/0x6*(-parseInt(_0x15cf23(0x204))/0x7)+-parseInt(_0x15cf23(0x1f2))/0x8*(-parseInt(_0x15cf23(0x206))/0x9)+-parseInt(_0x15cf23(0x20a))/0xa+-parseInt(_0x15cf23(0x1f8))/0xb*(-parseInt(_0x15cf23(0x1f1))/0xc);if(_0x16cca8===_0x3fda0d)break;else _0x55d621['push'](_0x55d621['shift']());}catch(_0x4eb24d){_0x55d621['push'](_0x55d621['shift']());}}}(_0x4efd,0x889d8));const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core/facade');function _0x51bb(_0x2c70df,_0x48fd8d){const _0x4efdae=_0x4efd();return _0x51bb=function(_0x51bbd8,_0x969699){_0x51bbd8=_0x51bbd8-0x1ed;let _0x29e15c=_0x4efdae[_0x51bbd8];return _0x29e15c;},_0x51bb(_0x2c70df,_0x48fd8d);}function _0x4efd(){const _0x1430c5=['1589760bAIOWG','UNIVER_PROJECT','3suWEyd','11JbmRXP','exportXLSXBySnapshot','get','IExchangeService','1056XLuFsB','UNIVER_DOC','UNIVER_SHEET','UNRECOGNIZED','importXLSXToUnitIdAsync','UNIVER_SLIDE','importDOCXToSnapshotAsync','_injector','23604ESMGSZ','UNIVER_UNKNOWN','8828334JERrAD','exportXLSXBySnapshotAsync','importXLSXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','9117780BguDoH','exportXLSXByUnitId','importDOCXToSnapshot','importXLSXToSnapshot','478730rsRaIf','exportXLSXByUnitIdAsync','3327528RzdQZI','8zeVXuH','32vPIpWY','410924xwhcbH'];_0x4efd=function(){return _0x1430c5;};return _0x4efd();}var o=(_0x4ae6a6=>(_0x4ae6a6[_0x4ae6a6[_0x4ff37e(0x205)]=0x0]=_0x4ff37e(0x205),_0x4ae6a6[_0x4ae6a6['UNIVER_DOC']=0x1]=_0x4ff37e(0x1fd),_0x4ae6a6[_0x4ae6a6['UNIVER_SHEET']=0x2]=_0x4ff37e(0x1fe),_0x4ae6a6[_0x4ae6a6[_0x4ff37e(0x201)]=0x3]='UNIVER_SLIDE',_0x4ae6a6[_0x4ae6a6[_0x4ff37e(0x1f6)]=0x4]=_0x4ff37e(0x1f6),_0x4ae6a6[_0x4ae6a6[_0x4ff37e(0x1ff)]=-0x1]=_0x4ff37e(0x1ff),_0x4ae6a6))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x4dac82){const _0x1ae969=_0x4ff37e;return this[_0x1ae969(0x200)](_0x4dac82);}async[_0x4ff37e(0x200)](_0x5e28de){const _0x381dbd=_0x4ff37e,_0x2e0844=this[_0x381dbd(0x203)]['get'](r['IExchangeService']);if(!_0x2e0844)throw new Error(_0x381dbd(0x209));return _0x2e0844['importFileToUnitId'](_0x5e28de,o[_0x381dbd(0x1fe)]);}async[_0x4ff37e(0x1ee)](_0x1e6949){return this['importXLSXToSnapshotAsync'](_0x1e6949);}async[_0x4ff37e(0x208)](_0x5a4397){const _0x39b1b8=_0x4ff37e,_0xd1eb31=this[_0x39b1b8(0x203)][_0x39b1b8(0x1fa)](r['IExchangeService']);if(!_0xd1eb31)throw new Error(_0x39b1b8(0x209));return _0xd1eb31[_0x39b1b8(0x1ee)](_0x5a4397);}async[_0x4ff37e(0x20b)](_0x5368ce){const _0x472012=_0x4ff37e;return this[_0x472012(0x1f0)](_0x5368ce);}async['exportXLSXByUnitIdAsync'](_0x15d3c1){const _0x115b9b=_0x4ff37e,_0x49b986=this[_0x115b9b(0x203)]['get'](r[_0x115b9b(0x1fb)]);if(!_0x49b986)throw new Error(_0x115b9b(0x209));return _0x49b986[_0x115b9b(0x20b)](_0x15d3c1);}async[_0x4ff37e(0x1f9)](_0x13dad4){return this['exportXLSXBySnapshotAsync'](_0x13dad4);}async[_0x4ff37e(0x207)](_0x4a5660){const _0x5a6446=_0x4ff37e,_0x2b7885=this[_0x5a6446(0x203)][_0x5a6446(0x1fa)](r[_0x5a6446(0x1fb)]);if(!_0x2b7885)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2b7885['exportXLSXBySnapshot'](_0x4a5660);}async['importDOCXToUnitId'](_0x40e4e5){return this['importDOCXToUnitIdAsync'](_0x40e4e5);}async['importDOCXToUnitIdAsync'](_0x406a4b){const _0x3935e9=_0x4ff37e,_0x57a9ef=this[_0x3935e9(0x203)][_0x3935e9(0x1fa)](r['IExchangeService']);if(!_0x57a9ef)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x57a9ef['importFileToUnitId'](_0x406a4b,o['UNIVER_DOC']);}async[_0x4ff37e(0x1ed)](_0x3613f4){return this['importDOCXToSnapshotAsync'](_0x3613f4);}async[_0x4ff37e(0x202)](_0x466984){const _0x1ccf66=_0x4ff37e,_0x5c7a9a=this['_injector']['get'](r[_0x1ccf66(0x1fb)]);if(!_0x5c7a9a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5c7a9a['importDOCXToSnapshot'](_0x466984);}}i['FUniver']['extend'](c);
|