@univerjs-pro/exchange-client 0.6.0 → 0.6.1-nightly.202502221605
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 +12 -12
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const _0xb9c446=_0x1cd1;(function(_0x5934f7,_0x25319e){const _0x347a11=_0x1cd1,_0x352276=_0x5934f7();while(!![]){try{const _0x14ce48=-parseInt(_0x347a11(0x1bb))/0x1*(parseInt(_0x347a11(0x1a1))/0x2)+-parseInt(_0x347a11(0x19e))/0x3+-parseInt(_0x347a11(0x1a9))/0x4+parseInt(_0x347a11(0x1ae))/0x5+-parseInt(_0x347a11(0x1b4))/0x6+parseInt(_0x347a11(0x1a6))/0x7*(-parseInt(_0x347a11(0x1ad))/0x8)+-parseInt(_0x347a11(0x1a4))/0x9*(-parseInt(_0x347a11(0x1a5))/0xa);if(_0x14ce48===_0x25319e)break;else _0x352276['push'](_0x352276['shift']());}catch(_0x5fb957){_0x352276['push'](_0x352276['shift']());}}}(_0x4ec5,0xddb41));const r=require(_0xb9c446(0x1ab)),i=require(_0xb9c446(0x1b7));var o=(_0x499067=>(_0x499067[_0x499067['UNIVER_UNKNOWN']=0x0]=_0xb9c446(0x19c),_0x499067[_0x499067['UNIVER_DOC']=0x1]=_0xb9c446(0x1b9),_0x499067[_0x499067[_0xb9c446(0x19d)]=0x2]=_0xb9c446(0x19d),_0x499067[_0x499067[_0xb9c446(0x1ac)]=0x3]=_0xb9c446(0x1ac),_0x499067[_0x499067[_0xb9c446(0x1ba)]=0x4]='UNIVER_PROJECT',_0x499067[_0x499067[_0xb9c446(0x1b0)]=-0x1]=_0xb9c446(0x1b0),_0x499067))(o||{});function _0x4ec5(){const _0x84abfb=['UNIVER_UNKNOWN','UNIVER_SHEET','4032168HxAhvJ','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','37376axexbh','FUniver','extend','99GcoLFE','4015470FpfgpX','140KGngkn','importXLSXToSnapshot','exportXLSXByUnitIdAsync','6719096CXuTOX','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs-pro/exchange-client','UNIVER_SLIDE','390704gBCGRq','3449515TnIMvw','get','UNRECOGNIZED','importDOCXToUnitIdAsync','IExchangeService','_injector','740886yjIizA','importXLSXToUnitIdAsync','importDOCXToSnapshot','@univerjs/core/facade','exportXLSXByUnitId','UNIVER_DOC','UNIVER_PROJECT','4zNtgPg','importXLSXToSnapshotAsync','exportXLSXBySnapshot','importFileToUnitId','importDOCXToUnitId'];_0x4ec5=function(){return _0x84abfb;};return _0x4ec5();}class c extends i[_0xb9c446(0x1a2)]{async['importXLSXToUnitId'](_0x5d8f79){const _0x49df0d=_0xb9c446;return this[_0x49df0d(0x1b5)](_0x5d8f79);}async[_0xb9c446(0x1b5)](_0x13375f){const _0x1d7603=_0xb9c446,_0x5ca765=this[_0x1d7603(0x1b3)]['get'](r[_0x1d7603(0x1b2)]);if(!_0x5ca765)throw new Error(_0x1d7603(0x1aa));return _0x5ca765[_0x1d7603(0x19a)](_0x13375f,o[_0x1d7603(0x19d)]);}async['importXLSXToSnapshot'](_0x3e9c4e){const _0x56e25a=_0xb9c446;return this[_0x56e25a(0x198)](_0x3e9c4e);}async[_0xb9c446(0x198)](_0x156fa6){const _0x59391a=_0xb9c446,_0x511906=this[_0x59391a(0x1b3)][_0x59391a(0x1af)](r[_0x59391a(0x1b2)]);if(!_0x511906)throw new Error(_0x59391a(0x1aa));return _0x511906[_0x59391a(0x1a7)](_0x156fa6);}async[_0xb9c446(0x1b8)](_0x5ad7d8){const _0x13071d=_0xb9c446;return this[_0x13071d(0x1a8)](_0x5ad7d8);}async[_0xb9c446(0x1a8)](_0x3379e5){const _0x5cefb4=_0xb9c446,_0x5d1ffc=this[_0x5cefb4(0x1b3)]['get'](r[_0x5cefb4(0x1b2)]);if(!_0x5d1ffc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5d1ffc[_0x5cefb4(0x1b8)](_0x3379e5);}async['exportXLSXBySnapshot'](_0x6e6012){const _0x4e2393=_0xb9c446;return this[_0x4e2393(0x1a0)](_0x6e6012);}async[_0xb9c446(0x1a0)](_0xe4e7aa){const _0xc678e5=_0xb9c446,_0x57c8ce=this[_0xc678e5(0x1b3)][_0xc678e5(0x1af)](r[_0xc678e5(0x1b2)]);if(!_0x57c8ce)throw new Error(_0xc678e5(0x1aa));return _0x57c8ce[_0xc678e5(0x199)](_0xe4e7aa);}async[_0xb9c446(0x19b)](_0x223cd4){const _0x3af162=_0xb9c446;return this[_0x3af162(0x1b1)](_0x223cd4);}async[_0xb9c446(0x1b1)](_0x1abcc6){const _0x1ff5a8=_0xb9c446,_0x3a4f4f=this['_injector'][_0x1ff5a8(0x1af)](r[_0x1ff5a8(0x1b2)]);if(!_0x3a4f4f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3a4f4f['importFileToUnitId'](_0x1abcc6,o[_0x1ff5a8(0x1b9)]);}async['importDOCXToSnapshot'](_0x8ad1ec){const _0x479a50=_0xb9c446;return this[_0x479a50(0x19f)](_0x8ad1ec);}async[_0xb9c446(0x19f)](_0xf7486){const _0x1047c4=_0xb9c446,_0x163163=this['_injector'][_0x1047c4(0x1af)](r[_0x1047c4(0x1b2)]);if(!_0x163163)throw new Error(_0x1047c4(0x1aa));return _0x163163[_0x1047c4(0x1b6)](_0xf7486);}}function _0x1cd1(_0x3058a8,_0x2ed222){const _0x4ec5c1=_0x4ec5();return _0x1cd1=function(_0x1cd15e,_0x25231b){_0x1cd15e=_0x1cd15e-0x198;let _0xa3490e=_0x4ec5c1[_0x1cd15e];return _0xa3490e;},_0x1cd1(_0x3058a8,_0x2ed222);}i[_0xb9c446(0x1a2)][_0xb9c446(0x1a3)](c);
|