@univerjs-pro/exchange-client 0.8.0 → 0.8.1-nightly.202506121607
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/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/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/controllers/config.schema.d.ts +10 -0
- package/lib/types/facade/f-univer.d.ts +6 -0
- package/lib/types/locale/en-US.d.ts +1 -0
- package/lib/types/services/exchange.service.d.ts +5 -2
- package/lib/types/services/operate.service.d.ts +1 -1
- package/lib/types/services/request.service.d.ts +2 -0
- package/lib/types/services/utils/tool.d.ts +3 -2
- 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 +8 -8
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x54da9d=_0x3771;(function(_0x109816,_0x159178){const _0x52c3ce=_0x3771,_0x4394fa=_0x109816();while(!![]){try{const _0x4f891a=-parseInt(_0x52c3ce(0x106))/0x1*(parseInt(_0x52c3ce(0xe3))/0x2)+-parseInt(_0x52c3ce(0x105))/0x3*(-parseInt(_0x52c3ce(0x101))/0x4)+-parseInt(_0x52c3ce(0xfd))/0x5*(parseInt(_0x52c3ce(0xf0))/0x6)+parseInt(_0x52c3ce(0xe5))/0x7*(-parseInt(_0x52c3ce(0xf4))/0x8)+-parseInt(_0x52c3ce(0xf2))/0x9*(-parseInt(_0x52c3ce(0xde))/0xa)+-parseInt(_0x52c3ce(0xfe))/0xb*(-parseInt(_0x52c3ce(0xf8))/0xc)+-parseInt(_0x52c3ce(0xfa))/0xd;if(_0x4f891a===_0x159178)break;else _0x4394fa['push'](_0x4394fa['shift']());}catch(_0xf53554){_0x4394fa['push'](_0x4394fa['shift']());}}}(_0x178f,0x958e1));function _0x3771(_0x4e46a3,_0x4d3203){const _0x178fef=_0x178f();return _0x3771=function(_0x377137,_0x49bead){_0x377137=_0x377137-0xde;let _0x3d8f99=_0x178fef[_0x377137];return _0x3d8f99;},_0x3771(_0x4e46a3,_0x4d3203);}const r=require(_0x54da9d(0x100)),o=require(_0x54da9d(0xef));var i=(_0x3d06d9=>(_0x3d06d9[_0x3d06d9[_0x54da9d(0xed)]=0x0]=_0x54da9d(0xed),_0x3d06d9[_0x3d06d9['UNIVER_DOC']=0x1]=_0x54da9d(0xf7),_0x3d06d9[_0x3d06d9['UNIVER_SHEET']=0x2]=_0x54da9d(0xeb),_0x3d06d9[_0x3d06d9[_0x54da9d(0x103)]=0x3]=_0x54da9d(0x103),_0x3d06d9[_0x3d06d9[_0x54da9d(0xe1)]=0x4]=_0x54da9d(0xe1),_0x3d06d9[_0x3d06d9[_0x54da9d(0xf6)]=-0x1]='UNRECOGNIZED',_0x3d06d9))(i||{});class c extends o[_0x54da9d(0xf9)]{async['importXLSXToUnitId'](_0x2584eb){return this['importXLSXToUnitIdAsync'](_0x2584eb);}async[_0x54da9d(0xee)](_0x1b7ca8){const _0x39b7eb=_0x54da9d,_0x45d7a0=this['_injector']['get'](r['IExchangeService']);if(!_0x45d7a0)throw new Error(_0x39b7eb(0xfc));return _0x45d7a0['importFileToUnitId'](_0x1b7ca8,i[_0x39b7eb(0xeb)]);}async[_0x54da9d(0xe7)](_0x4bcce7){return this['importXLSXToSnapshotAsync'](_0x4bcce7);}async[_0x54da9d(0xff)](_0x509cb9){const _0x3fd1dc=_0x54da9d,_0x1c3a47=this[_0x3fd1dc(0x104)]['get'](r[_0x3fd1dc(0xdf)]);if(!_0x1c3a47)throw new Error(_0x3fd1dc(0xfc));return _0x1c3a47['importXLSXToSnapshot'](_0x509cb9);}async[_0x54da9d(0xec)](_0x25170d){const _0x2f78a7=_0x54da9d;return this[_0x2f78a7(0xfb)](_0x25170d);}async['exportXLSXByUnitIdAsync'](_0x2a46b9){const _0x5423e8=_0x54da9d,_0x5562a7=this[_0x5423e8(0x104)][_0x5423e8(0x102)](r[_0x5423e8(0xdf)]);if(!_0x5562a7)throw new Error(_0x5423e8(0xfc));return _0x5562a7['exportXLSXByUnitId'](_0x2a46b9);}async[_0x54da9d(0xea)](_0x6464cb){const _0x1e848c=_0x54da9d;return this[_0x1e848c(0xe2)](_0x6464cb);}async['exportXLSXBySnapshotAsync'](_0x622e38){const _0x3a11a2=_0x54da9d,_0xd5bdfd=this[_0x3a11a2(0x104)][_0x3a11a2(0x102)](r[_0x3a11a2(0xdf)]);if(!_0xd5bdfd)throw new Error(_0x3a11a2(0xfc));return _0xd5bdfd[_0x3a11a2(0xea)](_0x622e38);}async[_0x54da9d(0xe8)](_0x3ac5dd){return this['importDOCXToUnitIdAsync'](_0x3ac5dd);}async[_0x54da9d(0xe0)](_0x34f446){const _0x3cd94=_0x54da9d,_0x4626d3=this[_0x3cd94(0x104)]['get'](r[_0x3cd94(0xdf)]);if(!_0x4626d3)throw new Error(_0x3cd94(0xfc));return _0x4626d3[_0x3cd94(0xf1)](_0x34f446,i[_0x3cd94(0xf7)]);}async['importDOCXToSnapshot'](_0x13a997){const _0x1df4f7=_0x54da9d;return this[_0x1df4f7(0xf5)](_0x13a997);}async['importDOCXToSnapshotAsync'](_0x1cc7c9){const _0x52a8ef=_0x54da9d,_0x19401b=this[_0x52a8ef(0x104)][_0x52a8ef(0x102)](r['IExchangeService']);if(!_0x19401b)throw new Error(_0x52a8ef(0xfc));return _0x19401b[_0x52a8ef(0xf3)](_0x1cc7c9);}async[_0x54da9d(0xe6)](_0x53a548){const _0x1b97d6=_0x54da9d,_0x32885b=this['_injector'][_0x1b97d6(0x102)](r[_0x1b97d6(0xdf)]);if(!_0x32885b)throw new Error(_0x1b97d6(0xfc));return _0x32885b[_0x1b97d6(0xe9)](_0x53a548);}async[_0x54da9d(0xe4)](_0x990d8f){const _0x52843a=_0x54da9d,_0x4303a7=this[_0x52843a(0x104)][_0x52843a(0x102)](r['IExchangeService']);if(!_0x4303a7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4303a7['exportDOCXByUnitId'](_0x990d8f);}}function _0x178f(){const _0x240118=['UNIVER_SHEET','exportXLSXByUnitId','UNIVER_UNKNOWN','importXLSXToUnitIdAsync','@univerjs/core/facade','18726grSvoW','importFileToUnitId','10161LdXJfx','importDOCXToSnapshot','16hmEWyD','importDOCXToSnapshotAsync','UNRECOGNIZED','UNIVER_DOC','3201372OiuNAV','FUniver','8422856zldkON','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','140GSZnUR','33zbcZYU','importXLSXToSnapshotAsync','@univerjs-pro/exchange-client','56QeQnfS','get','UNIVER_SLIDE','_injector','208167kvARov','413SCMmIH','9530urrfjy','IExchangeService','importDOCXToUnitIdAsync','UNIVER_PROJECT','exportXLSXBySnapshotAsync','1738SvMOIl','exportDOCXByUnitIdAsync','3993332lMwPtY','exportDOCXBySnapshotAsync','importXLSXToSnapshot','importDOCXToUnitId','exportDOCXBySnapshot','exportXLSXBySnapshot'];_0x178f=function(){return _0x240118;};return _0x178f();}o[_0x54da9d(0xf9)]['extend'](c);
|