@univerjs-pro/exchange-client 0.6.10-experimental.20250427-825ae55 → 0.6.10-experimental.20250428-ab93895

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3447cf=_0x253d;(function(_0x5919e7,_0x4b2a48){const _0x42196a=_0x253d,_0x227162=_0x5919e7();while(!![]){try{const _0x20a4aa=-parseInt(_0x42196a(0x8e))/0x1+-parseInt(_0x42196a(0x95))/0x2+-parseInt(_0x42196a(0x9d))/0x3+-parseInt(_0x42196a(0x85))/0x4+-parseInt(_0x42196a(0x93))/0x5+parseInt(_0x42196a(0x87))/0x6*(-parseInt(_0x42196a(0x8d))/0x7)+parseInt(_0x42196a(0x90))/0x8;if(_0x20a4aa===_0x4b2a48)break;else _0x227162['push'](_0x227162['shift']());}catch(_0x349042){_0x227162['push'](_0x227162['shift']());}}}(_0x2ccf,0x6eefd));const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core/facade');var o=(_0x229609=>(_0x229609[_0x229609[_0x3447cf(0x99)]=0x0]=_0x3447cf(0x99),_0x229609[_0x229609[_0x3447cf(0x7f)]=0x1]='UNIVER_DOC',_0x229609[_0x229609[_0x3447cf(0x94)]=0x2]='UNIVER_SHEET',_0x229609[_0x229609[_0x3447cf(0x8a)]=0x3]=_0x3447cf(0x8a),_0x229609[_0x229609[_0x3447cf(0x8c)]=0x4]='UNIVER_PROJECT',_0x229609[_0x229609['UNRECOGNIZED']=-0x1]=_0x3447cf(0x97),_0x229609))(o||{});function _0x2ccf(){const _0x280772=['UNRECOGNIZED','importXLSXToSnapshot','UNIVER_UNKNOWN','FUniver','importXLSXToUnitId','importDOCXToSnapshotAsync','2089056CQdOWz','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','_injector','extend','importXLSXToSnapshotAsync','importFileToUnitId','exportXLSXByUnitId','2999140PAjsHE','IExchangeService','6EjAeCK','importDOCXToUnitIdAsync','importDOCXToUnitId','UNIVER_SLIDE','get','UNIVER_PROJECT','1595097gufewW','416031cWIoBB','importDOCXToSnapshot','21535752DXESKP','exportXLSXBySnapshot','importXLSXToUnitIdAsync','89570oRxxAK','UNIVER_SHEET','259238cvgqUW','exportXLSXByUnitIdAsync'];_0x2ccf=function(){return _0x280772;};return _0x2ccf();}function _0x253d(_0x427090,_0x1ee889){const _0x2ccf5=_0x2ccf();return _0x253d=function(_0x253da4,_0x30bfdb){_0x253da4=_0x253da4-0x7f;let _0x50fcc7=_0x2ccf5[_0x253da4];return _0x50fcc7;},_0x253d(_0x427090,_0x1ee889);}class c extends i['FUniver']{async[_0x3447cf(0x9b)](_0xe84e0c){return this['importXLSXToUnitIdAsync'](_0xe84e0c);}async[_0x3447cf(0x92)](_0x15ca27){const _0xc34e0f=_0x3447cf,_0x34bcd7=this[_0xc34e0f(0x80)][_0xc34e0f(0x8b)](r[_0xc34e0f(0x86)]);if(!_0x34bcd7)throw new Error(_0xc34e0f(0x9e));return _0x34bcd7[_0xc34e0f(0x83)](_0x15ca27,o[_0xc34e0f(0x94)]);}async['importXLSXToSnapshot'](_0x4d4ccc){const _0x23794b=_0x3447cf;return this[_0x23794b(0x82)](_0x4d4ccc);}async[_0x3447cf(0x82)](_0x1ce082){const _0x42ec3e=_0x3447cf,_0x2ecd89=this[_0x42ec3e(0x80)]['get'](r[_0x42ec3e(0x86)]);if(!_0x2ecd89)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2ecd89[_0x42ec3e(0x98)](_0x1ce082);}async[_0x3447cf(0x84)](_0x4ae47b){const _0x5cb221=_0x3447cf;return this[_0x5cb221(0x96)](_0x4ae47b);}async[_0x3447cf(0x96)](_0x2f9b37){const _0x37fb3f=_0x3447cf,_0x6cb80f=this[_0x37fb3f(0x80)][_0x37fb3f(0x8b)](r['IExchangeService']);if(!_0x6cb80f)throw new Error(_0x37fb3f(0x9e));return _0x6cb80f['exportXLSXByUnitId'](_0x2f9b37);}async[_0x3447cf(0x91)](_0x28b896){return this['exportXLSXBySnapshotAsync'](_0x28b896);}async['exportXLSXBySnapshotAsync'](_0x522ef6){const _0x1bbf81=_0x3447cf,_0x47f675=this[_0x1bbf81(0x80)][_0x1bbf81(0x8b)](r['IExchangeService']);if(!_0x47f675)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x47f675[_0x1bbf81(0x91)](_0x522ef6);}async[_0x3447cf(0x89)](_0x1f1412){const _0x20cd45=_0x3447cf;return this[_0x20cd45(0x88)](_0x1f1412);}async['importDOCXToUnitIdAsync'](_0x329391){const _0x45773f=_0x3447cf,_0x362037=this[_0x45773f(0x80)][_0x45773f(0x8b)](r[_0x45773f(0x86)]);if(!_0x362037)throw new Error(_0x45773f(0x9e));return _0x362037['importFileToUnitId'](_0x329391,o[_0x45773f(0x7f)]);}async[_0x3447cf(0x8f)](_0x5f3035){return this['importDOCXToSnapshotAsync'](_0x5f3035);}async[_0x3447cf(0x9c)](_0x5a8212){const _0x1dc4c3=_0x3447cf,_0x32f35b=this[_0x1dc4c3(0x80)][_0x1dc4c3(0x8b)](r[_0x1dc4c3(0x86)]);if(!_0x32f35b)throw new Error(_0x1dc4c3(0x9e));return _0x32f35b[_0x1dc4c3(0x8f)](_0x5a8212);}}i[_0x3447cf(0x9a)][_0x3447cf(0x81)](c);
1
+ 'use strict';const _0x393f94=_0x39d5;(function(_0x861c73,_0x51a89e){const _0x4551a4=_0x39d5,_0x2c83f6=_0x861c73();while(!![]){try{const _0x3bc938=-parseInt(_0x4551a4(0x1db))/0x1+-parseInt(_0x4551a4(0x1de))/0x2+-parseInt(_0x4551a4(0x1fa))/0x3+-parseInt(_0x4551a4(0x1dd))/0x4+parseInt(_0x4551a4(0x1ea))/0x5+-parseInt(_0x4551a4(0x1f7))/0x6+parseInt(_0x4551a4(0x1e8))/0x7*(parseInt(_0x4551a4(0x1e4))/0x8);if(_0x3bc938===_0x51a89e)break;else _0x2c83f6['push'](_0x2c83f6['shift']());}catch(_0x460797){_0x2c83f6['push'](_0x2c83f6['shift']());}}}(_0x2793,0xe9589));function _0x2793(){const _0x4caabc=['exportXLSXByUnitIdAsync','UNRECOGNIZED','exportXLSXBySnapshot','importDOCXToSnapshot','importXLSXToSnapshot','importXLSXToUnitIdAsync','UNIVER_UNKNOWN','exportXLSXByUnitId','UNIVER_SHEET','UNIVER_PROJECT','importXLSXToSnapshotAsync','FUniver','3826080PaFsEc','_injector','importDOCXToSnapshotAsync','5184621ueTdYo','importDOCXToUnitIdAsync','importFileToUnitId','1062859iQlunF','importDOCXToUnitId','2245424IuIEJW','1221746faYHsu','get','importXLSXToUnitId','UNIVER_SLIDE','IExchangeService','UNIVER_DOC','120wmSaFj','exportXLSXBySnapshotAsync','extend','The\x20exchange\x20service\x20is\x20not\x20available','2437729nWqmal','@univerjs/core/facade','1665275tnIxYA'];_0x2793=function(){return _0x4caabc;};return _0x2793();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x393f94(0x1e9));var o=(_0x148b02=>(_0x148b02[_0x148b02['UNIVER_UNKNOWN']=0x0]=_0x393f94(0x1f1),_0x148b02[_0x148b02[_0x393f94(0x1e3)]=0x1]=_0x393f94(0x1e3),_0x148b02[_0x148b02[_0x393f94(0x1f3)]=0x2]=_0x393f94(0x1f3),_0x148b02[_0x148b02[_0x393f94(0x1e1)]=0x3]='UNIVER_SLIDE',_0x148b02[_0x148b02['UNIVER_PROJECT']=0x4]=_0x393f94(0x1f4),_0x148b02[_0x148b02[_0x393f94(0x1ec)]=-0x1]=_0x393f94(0x1ec),_0x148b02))(o||{});function _0x39d5(_0x7ccaeb,_0x19f0c5){const _0x2793dc=_0x2793();return _0x39d5=function(_0x39d5a6,_0x5d5ec2){_0x39d5a6=_0x39d5a6-0x1d9;let _0x494922=_0x2793dc[_0x39d5a6];return _0x494922;},_0x39d5(_0x7ccaeb,_0x19f0c5);}class c extends i['FUniver']{async[_0x393f94(0x1e0)](_0x481e74){const _0x22ae80=_0x393f94;return this[_0x22ae80(0x1f0)](_0x481e74);}async[_0x393f94(0x1f0)](_0x44a292){const _0x31ed6a=_0x393f94,_0x1b8f21=this['_injector'][_0x31ed6a(0x1df)](r[_0x31ed6a(0x1e2)]);if(!_0x1b8f21)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b8f21[_0x31ed6a(0x1da)](_0x44a292,o['UNIVER_SHEET']);}async[_0x393f94(0x1ef)](_0x3c3786){const _0x54d562=_0x393f94;return this[_0x54d562(0x1f5)](_0x3c3786);}async['importXLSXToSnapshotAsync'](_0x167bd8){const _0x55dbbc=_0x393f94,_0x289ba4=this[_0x55dbbc(0x1f8)][_0x55dbbc(0x1df)](r[_0x55dbbc(0x1e2)]);if(!_0x289ba4)throw new Error(_0x55dbbc(0x1e7));return _0x289ba4['importXLSXToSnapshot'](_0x167bd8);}async[_0x393f94(0x1f2)](_0x3c027f){const _0x48c799=_0x393f94;return this[_0x48c799(0x1eb)](_0x3c027f);}async['exportXLSXByUnitIdAsync'](_0x28c153){const _0x30b123=_0x393f94,_0x5a1eca=this[_0x30b123(0x1f8)][_0x30b123(0x1df)](r[_0x30b123(0x1e2)]);if(!_0x5a1eca)throw new Error(_0x30b123(0x1e7));return _0x5a1eca[_0x30b123(0x1f2)](_0x28c153);}async[_0x393f94(0x1ed)](_0x558111){const _0x1b6aa6=_0x393f94;return this[_0x1b6aa6(0x1e5)](_0x558111);}async[_0x393f94(0x1e5)](_0x1cf53e){const _0x38662c=_0x393f94,_0x4a7e94=this[_0x38662c(0x1f8)]['get'](r[_0x38662c(0x1e2)]);if(!_0x4a7e94)throw new Error(_0x38662c(0x1e7));return _0x4a7e94['exportXLSXBySnapshot'](_0x1cf53e);}async[_0x393f94(0x1dc)](_0x6fcf5b){const _0x46548c=_0x393f94;return this[_0x46548c(0x1d9)](_0x6fcf5b);}async[_0x393f94(0x1d9)](_0x4499d4){const _0x3ff096=_0x393f94,_0x49e6d4=this[_0x3ff096(0x1f8)][_0x3ff096(0x1df)](r['IExchangeService']);if(!_0x49e6d4)throw new Error(_0x3ff096(0x1e7));return _0x49e6d4['importFileToUnitId'](_0x4499d4,o[_0x3ff096(0x1e3)]);}async[_0x393f94(0x1ee)](_0x263e28){return this['importDOCXToSnapshotAsync'](_0x263e28);}async[_0x393f94(0x1f9)](_0x31dee4){const _0x2c7d2d=_0x393f94,_0x293753=this[_0x2c7d2d(0x1f8)][_0x2c7d2d(0x1df)](r[_0x2c7d2d(0x1e2)]);if(!_0x293753)throw new Error(_0x2c7d2d(0x1e7));return _0x293753[_0x2c7d2d(0x1ee)](_0x31dee4);}}i[_0x393f94(0x1f6)][_0x393f94(0x1e6)](c);