@univerjs-pro/exchange-client 0.6.5 → 0.6.6-experimental.20250317-28d180b
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 +10 -10
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function _0x3ba6(_0xa7454c,_0x4c8553){const _0x5dcc8f=_0x5dcc();return _0x3ba6=function(_0x3ba61a,_0x1b6cc1){_0x3ba61a=_0x3ba61a-0x1c1;let _0x27a4ba=_0x5dcc8f[_0x3ba61a];return _0x27a4ba;},_0x3ba6(_0xa7454c,_0x4c8553);}const _0x5e9c6a=_0x3ba6;(function(_0xb203cb,_0x5a675f){const _0xc54c59=_0x3ba6,_0x3d2b3a=_0xb203cb();while(!![]){try{const _0x490e8f=parseInt(_0xc54c59(0x1df))/0x1*(-parseInt(_0xc54c59(0x1c3))/0x2)+-parseInt(_0xc54c59(0x1d5))/0x3+parseInt(_0xc54c59(0x1cc))/0x4+parseInt(_0xc54c59(0x1d0))/0x5+-parseInt(_0xc54c59(0x1d2))/0x6+-parseInt(_0xc54c59(0x1c5))/0x7*(-parseInt(_0xc54c59(0x1cb))/0x8)+parseInt(_0xc54c59(0x1de))/0x9*(parseInt(_0xc54c59(0x1da))/0xa);if(_0x490e8f===_0x5a675f)break;else _0x3d2b3a['push'](_0x3d2b3a['shift']());}catch(_0xba152d){_0x3d2b3a['push'](_0x3d2b3a['shift']());}}}(_0x5dcc,0xe4d98));const r=require(_0x5e9c6a(0x1cd)),i=require('@univerjs/core/facade');var o=(_0x14026a=>(_0x14026a[_0x14026a[_0x5e9c6a(0x1c1)]=0x0]=_0x5e9c6a(0x1c1),_0x14026a[_0x14026a[_0x5e9c6a(0x1d9)]=0x1]=_0x5e9c6a(0x1d9),_0x14026a[_0x14026a[_0x5e9c6a(0x1d8)]=0x2]=_0x5e9c6a(0x1d8),_0x14026a[_0x14026a['UNIVER_SLIDE']=0x3]=_0x5e9c6a(0x1e0),_0x14026a[_0x14026a[_0x5e9c6a(0x1c7)]=0x4]='UNIVER_PROJECT',_0x14026a[_0x14026a[_0x5e9c6a(0x1dd)]=-0x1]=_0x5e9c6a(0x1dd),_0x14026a))(o||{});class c extends i[_0x5e9c6a(0x1d1)]{async[_0x5e9c6a(0x1c9)](_0x8933c7){return this['importXLSXToUnitIdAsync'](_0x8933c7);}async[_0x5e9c6a(0x1d3)](_0x102194){const _0x15e27c=_0x5e9c6a,_0x214f01=this[_0x15e27c(0x1ce)][_0x15e27c(0x1c6)](r[_0x15e27c(0x1db)]);if(!_0x214f01)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x214f01[_0x15e27c(0x1e1)](_0x102194,o['UNIVER_SHEET']);}async[_0x5e9c6a(0x1cf)](_0x1d86f4){const _0x486995=_0x5e9c6a;return this[_0x486995(0x1ca)](_0x1d86f4);}async['importXLSXToSnapshotAsync'](_0x2ca430){const _0x2757ff=_0x5e9c6a,_0x151af9=this['_injector'][_0x2757ff(0x1c6)](r[_0x2757ff(0x1db)]);if(!_0x151af9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x151af9[_0x2757ff(0x1cf)](_0x2ca430);}async[_0x5e9c6a(0x1c8)](_0x1a53c5){const _0x1ba8a2=_0x5e9c6a;return this[_0x1ba8a2(0x1dc)](_0x1a53c5);}async[_0x5e9c6a(0x1dc)](_0x561fd8){const _0x4f8fd9=_0x5e9c6a,_0x111642=this['_injector'][_0x4f8fd9(0x1c6)](r[_0x4f8fd9(0x1db)]);if(!_0x111642)throw new Error(_0x4f8fd9(0x1d6));return _0x111642['exportXLSXByUnitId'](_0x561fd8);}async[_0x5e9c6a(0x1d7)](_0x437d51){return this['exportXLSXBySnapshotAsync'](_0x437d51);}async['exportXLSXBySnapshotAsync'](_0x55cf58){const _0x144b97=_0x5e9c6a,_0x2b62d7=this['_injector']['get'](r['IExchangeService']);if(!_0x2b62d7)throw new Error(_0x144b97(0x1d6));return _0x2b62d7[_0x144b97(0x1d7)](_0x55cf58);}async['importDOCXToUnitId'](_0x352b30){const _0x800ee2=_0x5e9c6a;return this[_0x800ee2(0x1d4)](_0x352b30);}async[_0x5e9c6a(0x1d4)](_0x508247){const _0x1040d4=_0x5e9c6a,_0x5e986e=this['_injector'][_0x1040d4(0x1c6)](r['IExchangeService']);if(!_0x5e986e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5e986e['importFileToUnitId'](_0x508247,o[_0x1040d4(0x1d9)]);}async[_0x5e9c6a(0x1c2)](_0x256dcf){const _0x22cfaa=_0x5e9c6a;return this[_0x22cfaa(0x1c4)](_0x256dcf);}async[_0x5e9c6a(0x1c4)](_0x2fd800){const _0x39ffb4=_0x5e9c6a,_0x16d8f6=this[_0x39ffb4(0x1ce)][_0x39ffb4(0x1c6)](r['IExchangeService']);if(!_0x16d8f6)throw new Error(_0x39ffb4(0x1d6));return _0x16d8f6['importDOCXToSnapshot'](_0x2fd800);}}i[_0x5e9c6a(0x1d1)]['extend'](c);function _0x5dcc(){const _0x3137af=['importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','2902218cgeNYh','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshot','UNIVER_SHEET','UNIVER_DOC','462190RrsRGy','IExchangeService','exportXLSXByUnitIdAsync','UNRECOGNIZED','279WFCNJM','23686sCxDtX','UNIVER_SLIDE','importFileToUnitId','UNIVER_UNKNOWN','importDOCXToSnapshot','32ItMsiO','importDOCXToSnapshotAsync','14vscdEO','get','UNIVER_PROJECT','exportXLSXByUnitId','importXLSXToUnitId','importXLSXToSnapshotAsync','5096816Azcpsz','320860IfLkGW','@univerjs-pro/exchange-client','_injector','importXLSXToSnapshot','3872810nyfnTS','FUniver','7668120KQQHsp'];_0x5dcc=function(){return _0x3137af;};return _0x5dcc();}
|