@univerjs-pro/exchange-client 0.10.2 → 0.10.3-nightly.202508121228
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.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/index.d.ts +4 -4
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +2 -2
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ko-KR.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 _0x15fc2a=_0x42af;function _0x42af(_0x2f6601,_0x2d737a){const _0x1a5bdf=_0x1a5b();return _0x42af=function(_0x42af76,_0x4e1a73){_0x42af76=_0x42af76-0x189;let _0x3eec2a=_0x1a5bdf[_0x42af76];return _0x3eec2a;},_0x42af(_0x2f6601,_0x2d737a);}(function(_0xe6e5f3,_0x207ff6){const _0x16faaa=_0x42af,_0x2f2a30=_0xe6e5f3();while(!![]){try{const _0x4b8799=parseInt(_0x16faaa(0x19f))/0x1*(-parseInt(_0x16faaa(0x189))/0x2)+-parseInt(_0x16faaa(0x1a7))/0x3+parseInt(_0x16faaa(0x19e))/0x4*(parseInt(_0x16faaa(0x1ab))/0x5)+-parseInt(_0x16faaa(0x1a3))/0x6+parseInt(_0x16faaa(0x1a9))/0x7+-parseInt(_0x16faaa(0x195))/0x8+parseInt(_0x16faaa(0x192))/0x9;if(_0x4b8799===_0x207ff6)break;else _0x2f2a30['push'](_0x2f2a30['shift']());}catch(_0x113089){_0x2f2a30['push'](_0x2f2a30['shift']());}}}(_0x1a5b,0x4d363));function _0x1a5b(){const _0x3cc4c0=['exportDOCXByUnitIdAsync','importFileToUnitId','importDOCXToUnitId','exportXLSXByUnitId','UNIVER_PROJECT','8495325bOkQGv','UNIVER_UNKNOWN','importDOCXToSnapshotAsync','2760560zWfxbt','UNIVER_DOC','exportDOCXBySnapshotAsync','exportDOCXByUnitId','get','importDOCXToSnapshot','exportDOCXBySnapshot','_injector','importXLSXToUnitId','1804ueVbLZ','18vCqYlj','importDOCXToUnitIdAsync','exportXLSXBySnapshot','importXLSXToSnapshotAsync','1718364cxtSMS','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitIdAsync','UNRECOGNIZED','1457616ShSVml','importXLSXToSnapshot','3566199sheSib','FUniver','1685aNbbBf','19086UYRhyc','UNIVER_SHEET','IExchangeService','UNIVER_SLIDE'];_0x1a5b=function(){return _0x3cc4c0;};return _0x1a5b();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x3a86d3=>(_0x3a86d3[_0x3a86d3['UNIVER_UNKNOWN']=0x0]=_0x15fc2a(0x193),_0x3a86d3[_0x3a86d3[_0x15fc2a(0x196)]=0x1]='UNIVER_DOC',_0x3a86d3[_0x3a86d3[_0x15fc2a(0x18a)]=0x2]=_0x15fc2a(0x18a),_0x3a86d3[_0x3a86d3[_0x15fc2a(0x18c)]=0x3]='UNIVER_SLIDE',_0x3a86d3[_0x3a86d3[_0x15fc2a(0x191)]=0x4]=_0x15fc2a(0x191),_0x3a86d3[_0x3a86d3[_0x15fc2a(0x1a6)]=-0x1]=_0x15fc2a(0x1a6),_0x3a86d3))(i||{});class c extends o[_0x15fc2a(0x1aa)]{async[_0x15fc2a(0x19d)](_0x2554c6){return this['importXLSXToUnitIdAsync'](_0x2554c6);}async['importXLSXToUnitIdAsync'](_0x4575d6){const _0x413a02=_0x15fc2a,_0xc890be=this[_0x413a02(0x19c)][_0x413a02(0x199)](r[_0x413a02(0x18b)]);if(!_0xc890be)throw new Error(_0x413a02(0x1a4));return _0xc890be[_0x413a02(0x18e)](_0x4575d6,i[_0x413a02(0x18a)]);}async[_0x15fc2a(0x1a8)](_0x372890){const _0x2cc321=_0x15fc2a;return this[_0x2cc321(0x1a2)](_0x372890);}async[_0x15fc2a(0x1a2)](_0x3c58c0){const _0x30ff88=_0x15fc2a,_0x146a01=this[_0x30ff88(0x19c)][_0x30ff88(0x199)](r['IExchangeService']);if(!_0x146a01)throw new Error(_0x30ff88(0x1a4));return _0x146a01[_0x30ff88(0x1a8)](_0x3c58c0);}async[_0x15fc2a(0x190)](_0x1809c2){const _0x17c08a=_0x15fc2a;return this[_0x17c08a(0x1a5)](_0x1809c2);}async[_0x15fc2a(0x1a5)](_0x5c7634){const _0x5c4eb1=_0x15fc2a,_0x28e680=this['_injector']['get'](r[_0x5c4eb1(0x18b)]);if(!_0x28e680)throw new Error(_0x5c4eb1(0x1a4));return _0x28e680[_0x5c4eb1(0x190)](_0x5c7634);}async[_0x15fc2a(0x1a1)](_0x2bbc61){return this['exportXLSXBySnapshotAsync'](_0x2bbc61);}async['exportXLSXBySnapshotAsync'](_0x316470){const _0x9e1e36=_0x15fc2a,_0x5dd217=this[_0x9e1e36(0x19c)][_0x9e1e36(0x199)](r[_0x9e1e36(0x18b)]);if(!_0x5dd217)throw new Error(_0x9e1e36(0x1a4));return _0x5dd217[_0x9e1e36(0x1a1)](_0x316470);}async[_0x15fc2a(0x18f)](_0x35ba36){return this['importDOCXToUnitIdAsync'](_0x35ba36);}async[_0x15fc2a(0x1a0)](_0x236b67){const _0x2b5171=_0x15fc2a,_0x21e739=this['_injector'][_0x2b5171(0x199)](r[_0x2b5171(0x18b)]);if(!_0x21e739)throw new Error(_0x2b5171(0x1a4));return _0x21e739[_0x2b5171(0x18e)](_0x236b67,i[_0x2b5171(0x196)]);}async[_0x15fc2a(0x19a)](_0x51c012){return this['importDOCXToSnapshotAsync'](_0x51c012);}async[_0x15fc2a(0x194)](_0x5b004b){const _0x132bf1=_0x15fc2a,_0x4ae421=this['_injector'][_0x132bf1(0x199)](r['IExchangeService']);if(!_0x4ae421)throw new Error(_0x132bf1(0x1a4));return _0x4ae421[_0x132bf1(0x19a)](_0x5b004b);}async[_0x15fc2a(0x197)](_0x44f864){const _0x3e788d=_0x15fc2a,_0x547c58=this['_injector'][_0x3e788d(0x199)](r[_0x3e788d(0x18b)]);if(!_0x547c58)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x547c58[_0x3e788d(0x19b)](_0x44f864);}async[_0x15fc2a(0x18d)](_0x55c2f1){const _0x16b821=_0x15fc2a,_0x1f3bd1=this[_0x16b821(0x19c)]['get'](r[_0x16b821(0x18b)]);if(!_0x1f3bd1)throw new Error(_0x16b821(0x1a4));return _0x1f3bd1[_0x16b821(0x198)](_0x55c2f1);}}o[_0x15fc2a(0x1aa)]['extend'](c);
|