@univerjs-pro/exchange-client 0.6.0 → 0.6.1-nightly.202502211606
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 _0x1c41b4=_0x36fc;(function(_0xac2f2,_0x31a1e1){const _0x3dad55=_0x36fc,_0x5e27b4=_0xac2f2();while(!![]){try{const _0x5a3b10=parseInt(_0x3dad55(0x196))/0x1+parseInt(_0x3dad55(0x1a4))/0x2+-parseInt(_0x3dad55(0x191))/0x3*(-parseInt(_0x3dad55(0x1a7))/0x4)+-parseInt(_0x3dad55(0x18a))/0x5+parseInt(_0x3dad55(0x198))/0x6+-parseInt(_0x3dad55(0x199))/0x7+parseInt(_0x3dad55(0x18e))/0x8*(-parseInt(_0x3dad55(0x19f))/0x9);if(_0x5a3b10===_0x31a1e1)break;else _0x5e27b4['push'](_0x5e27b4['shift']());}catch(_0x4a20d4){_0x5e27b4['push'](_0x5e27b4['shift']());}}}(_0x229c,0x5ac7d));const r=require(_0x1c41b4(0x1aa)),i=require(_0x1c41b4(0x1a1));var o=(_0x54d93e=>(_0x54d93e[_0x54d93e[_0x1c41b4(0x18c)]=0x0]='UNIVER_UNKNOWN',_0x54d93e[_0x54d93e[_0x1c41b4(0x19e)]=0x1]=_0x1c41b4(0x19e),_0x54d93e[_0x54d93e[_0x1c41b4(0x193)]=0x2]=_0x1c41b4(0x193),_0x54d93e[_0x54d93e[_0x1c41b4(0x1ab)]=0x3]='UNIVER_SLIDE',_0x54d93e[_0x54d93e[_0x1c41b4(0x19c)]=0x4]=_0x1c41b4(0x19c),_0x54d93e[_0x54d93e['UNRECOGNIZED']=-0x1]=_0x1c41b4(0x192),_0x54d93e))(o||{});function _0x229c(){const _0x32eb4e=['importFileToUnitId','_injector','261fgRuyA','UNRECOGNIZED','UNIVER_SHEET','exportXLSXBySnapshot','importXLSXToUnitIdAsync','135117MrPHQv','get','1171188TyajtZ','2424996kCnuQq','FUniver','importDOCXToUnitId','UNIVER_PROJECT','importDOCXToUnitIdAsync','UNIVER_DOC','779886xVBYCe','importDOCXToSnapshot','@univerjs/core/facade','importXLSXToUnitId','exportXLSXBySnapshotAsync','1173736OXKRxj','extend','importXLSXToSnapshot','29868xoWjyk','importDOCXToSnapshotAsync','IExchangeService','@univerjs-pro/exchange-client','UNIVER_SLIDE','3376195rBZlmJ','importXLSXToSnapshotAsync','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','16tJvkDe'];_0x229c=function(){return _0x32eb4e;};return _0x229c();}class c extends i[_0x1c41b4(0x19a)]{async[_0x1c41b4(0x1a2)](_0x3f95f6){const _0x27a75e=_0x1c41b4;return this[_0x27a75e(0x195)](_0x3f95f6);}async[_0x1c41b4(0x195)](_0x247bbb){const _0x47bf2d=_0x1c41b4,_0x3dc0c5=this[_0x47bf2d(0x190)][_0x47bf2d(0x197)](r[_0x47bf2d(0x1a9)]);if(!_0x3dc0c5)throw new Error(_0x47bf2d(0x18d));return _0x3dc0c5[_0x47bf2d(0x18f)](_0x247bbb,o[_0x47bf2d(0x193)]);}async[_0x1c41b4(0x1a6)](_0xfb9157){const _0x329e7a=_0x1c41b4;return this[_0x329e7a(0x18b)](_0xfb9157);}async[_0x1c41b4(0x18b)](_0x42447){const _0x540e08=_0x1c41b4,_0x20567f=this['_injector']['get'](r['IExchangeService']);if(!_0x20567f)throw new Error(_0x540e08(0x18d));return _0x20567f['importXLSXToSnapshot'](_0x42447);}async['exportXLSXByUnitId'](_0x17f9de){return this['exportXLSXByUnitIdAsync'](_0x17f9de);}async['exportXLSXByUnitIdAsync'](_0x1d4685){const _0x5b6e0f=_0x1c41b4,_0x2a2dc2=this['_injector'][_0x5b6e0f(0x197)](r[_0x5b6e0f(0x1a9)]);if(!_0x2a2dc2)throw new Error(_0x5b6e0f(0x18d));return _0x2a2dc2['exportXLSXByUnitId'](_0x1d4685);}async[_0x1c41b4(0x194)](_0x57e5db){const _0x4a98dd=_0x1c41b4;return this[_0x4a98dd(0x1a3)](_0x57e5db);}async[_0x1c41b4(0x1a3)](_0x4ee273){const _0x5f5174=_0x1c41b4,_0xb79508=this['_injector']['get'](r['IExchangeService']);if(!_0xb79508)throw new Error(_0x5f5174(0x18d));return _0xb79508[_0x5f5174(0x194)](_0x4ee273);}async[_0x1c41b4(0x19b)](_0x5ac6dd){const _0x305514=_0x1c41b4;return this[_0x305514(0x19d)](_0x5ac6dd);}async[_0x1c41b4(0x19d)](_0x345b39){const _0x54ecf4=_0x1c41b4,_0x313d8b=this['_injector'][_0x54ecf4(0x197)](r[_0x54ecf4(0x1a9)]);if(!_0x313d8b)throw new Error(_0x54ecf4(0x18d));return _0x313d8b[_0x54ecf4(0x18f)](_0x345b39,o['UNIVER_DOC']);}async[_0x1c41b4(0x1a0)](_0x1d610e){const _0x3a0092=_0x1c41b4;return this[_0x3a0092(0x1a8)](_0x1d610e);}async[_0x1c41b4(0x1a8)](_0x483c01){const _0x156e8c=_0x1c41b4,_0x1f55ee=this['_injector'][_0x156e8c(0x197)](r[_0x156e8c(0x1a9)]);if(!_0x1f55ee)throw new Error(_0x156e8c(0x18d));return _0x1f55ee[_0x156e8c(0x1a0)](_0x483c01);}}function _0x36fc(_0x505f9f,_0x30318e){const _0x229cbc=_0x229c();return _0x36fc=function(_0x36fc85,_0x397f07){_0x36fc85=_0x36fc85-0x18a;let _0x110953=_0x229cbc[_0x36fc85];return _0x110953;},_0x36fc(_0x505f9f,_0x30318e);}i[_0x1c41b4(0x19a)][_0x1c41b4(0x1a5)](c);
|