@univerjs-pro/exchange-client 0.5.5-nightly.202501201336 → 0.5.5-nightly.202501201606

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 _0x5e3adf=_0x42fe;function _0x42fe(_0x5c10c8,_0x301fa2){const _0x343870=_0x3438();return _0x42fe=function(_0x42fe8d,_0x23bbcf){_0x42fe8d=_0x42fe8d-0x66;let _0x5a6613=_0x343870[_0x42fe8d];return _0x5a6613;},_0x42fe(_0x5c10c8,_0x301fa2);}function _0x3438(){const _0x2c381a=['importXLSXToSnapshotAsync','UNIVER_UNKNOWN','extend','importDOCXToUnitIdAsync','792945ZRnTUT','exportXLSXBySnapshotAsync','1004614FUMIGV','UNIVER_SLIDE','UNIVER_SHEET','exportXLSXByUnitIdAsync','@univerjs/core','exportXLSXBySnapshot','5625YIlrYE','UNIVER_DOC','UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','856ilEZse','importFileToUnitId','importXLSXToSnapshot','_injector','importDOCXToSnapshot','1721448aYWjic','importDOCXToSnapshotAsync','5175dDtDaW','exportXLSXByUnitId','importDOCXToUnitId','get','FUniver','7ostaMP','UNIVER_PROJECT','26330zWVZaA','3073206AVjoHH','importXLSXToUnitIdAsync','2533295dcjkhl'];_0x3438=function(){return _0x2c381a;};return _0x3438();}(function(_0x30cc15,_0x26a9c1){const _0x50ff0a=_0x42fe,_0x33bf92=_0x30cc15();while(!![]){try{const _0x51860e=-parseInt(_0x50ff0a(0x7f))/0x1+-parseInt(_0x50ff0a(0x81))/0x2+parseInt(_0x50ff0a(0x87))/0x3*(parseInt(_0x50ff0a(0x69))/0x4)+-parseInt(_0x50ff0a(0x7a))/0x5+parseInt(_0x50ff0a(0x78))/0x6*(parseInt(_0x50ff0a(0x75))/0x7)+-parseInt(_0x50ff0a(0x6e))/0x8+parseInt(_0x50ff0a(0x70))/0x9*(parseInt(_0x50ff0a(0x77))/0xa);if(_0x51860e===_0x26a9c1)break;else _0x33bf92['push'](_0x33bf92['shift']());}catch(_0x525fef){_0x33bf92['push'](_0x33bf92['shift']());}}}(_0x3438,0x642de));const r=require('@univerjs-pro/exchange-client'),i=require(_0x5e3adf(0x85));var o=(_0x339a67=>(_0x339a67[_0x339a67[_0x5e3adf(0x7c)]=0x0]='UNIVER_UNKNOWN',_0x339a67[_0x339a67[_0x5e3adf(0x88)]=0x1]='UNIVER_DOC',_0x339a67[_0x339a67[_0x5e3adf(0x83)]=0x2]='UNIVER_SHEET',_0x339a67[_0x339a67['UNIVER_SLIDE']=0x3]=_0x5e3adf(0x82),_0x339a67[_0x339a67[_0x5e3adf(0x76)]=0x4]='UNIVER_PROJECT',_0x339a67[_0x339a67[_0x5e3adf(0x66)]=-0x1]=_0x5e3adf(0x66),_0x339a67))(o||{});class c extends i[_0x5e3adf(0x74)]{async['importXLSXToUnitId'](_0x3b2c3a){const _0x52a5df=_0x5e3adf;return this[_0x52a5df(0x79)](_0x3b2c3a);}async[_0x5e3adf(0x79)](_0x4a4251){const _0x158eec=_0x5e3adf,_0x172c79=this[_0x158eec(0x6c)][_0x158eec(0x73)](r[_0x158eec(0x68)]);if(!_0x172c79)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x172c79[_0x158eec(0x6a)](_0x4a4251,o['UNIVER_SHEET']);}async[_0x5e3adf(0x6b)](_0x3b84f2){const _0x32e7de=_0x5e3adf;return this[_0x32e7de(0x7b)](_0x3b84f2);}async['importXLSXToSnapshotAsync'](_0x1de92d){const _0xcfd01f=_0x5e3adf,_0x3c1a40=this[_0xcfd01f(0x6c)][_0xcfd01f(0x73)](r[_0xcfd01f(0x68)]);if(!_0x3c1a40)throw new Error(_0xcfd01f(0x67));return _0x3c1a40[_0xcfd01f(0x6b)](_0x1de92d);}async['exportXLSXByUnitId'](_0x5b6698){const _0x681e08=_0x5e3adf;return this[_0x681e08(0x84)](_0x5b6698);}async[_0x5e3adf(0x84)](_0x1de029){const _0x3d3077=_0x5e3adf,_0x2060d6=this[_0x3d3077(0x6c)][_0x3d3077(0x73)](r[_0x3d3077(0x68)]);if(!_0x2060d6)throw new Error(_0x3d3077(0x67));return _0x2060d6[_0x3d3077(0x71)](_0x1de029);}async[_0x5e3adf(0x86)](_0x5a7361){const _0x301eb7=_0x5e3adf;return this[_0x301eb7(0x80)](_0x5a7361);}async['exportXLSXBySnapshotAsync'](_0x1be783){const _0x23ee90=_0x5e3adf,_0x24df6a=this[_0x23ee90(0x6c)][_0x23ee90(0x73)](r[_0x23ee90(0x68)]);if(!_0x24df6a)throw new Error(_0x23ee90(0x67));return _0x24df6a['exportXLSXBySnapshot'](_0x1be783);}async[_0x5e3adf(0x72)](_0x62e219){const _0x14027b=_0x5e3adf;return this[_0x14027b(0x7e)](_0x62e219);}async[_0x5e3adf(0x7e)](_0x4bc7fc){const _0x17db67=_0x5e3adf,_0x3ec6ad=this[_0x17db67(0x6c)][_0x17db67(0x73)](r[_0x17db67(0x68)]);if(!_0x3ec6ad)throw new Error(_0x17db67(0x67));return _0x3ec6ad[_0x17db67(0x6a)](_0x4bc7fc,o[_0x17db67(0x88)]);}async[_0x5e3adf(0x6d)](_0x5ad80a){return this['importDOCXToSnapshotAsync'](_0x5ad80a);}async[_0x5e3adf(0x6f)](_0x588a70){const _0x4366ce=_0x5e3adf,_0x22dbd8=this['_injector'][_0x4366ce(0x73)](r[_0x4366ce(0x68)]);if(!_0x22dbd8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x22dbd8['importDOCXToSnapshot'](_0x588a70);}}i[_0x5e3adf(0x74)][_0x5e3adf(0x7d)](c);
1
+ 'use strict';const _0x1b5ccc=_0x4840;(function(_0xdcb2a1,_0x39665b){const _0x51fdf5=_0x4840,_0x31b200=_0xdcb2a1();while(!![]){try{const _0x2e82a2=-parseInt(_0x51fdf5(0x1e6))/0x1+parseInt(_0x51fdf5(0x1fd))/0x2+parseInt(_0x51fdf5(0x1ec))/0x3*(parseInt(_0x51fdf5(0x1f4))/0x4)+-parseInt(_0x51fdf5(0x1ff))/0x5+-parseInt(_0x51fdf5(0x1e4))/0x6+parseInt(_0x51fdf5(0x1fb))/0x7*(-parseInt(_0x51fdf5(0x1e1))/0x8)+parseInt(_0x51fdf5(0x1f2))/0x9;if(_0x2e82a2===_0x39665b)break;else _0x31b200['push'](_0x31b200['shift']());}catch(_0x4e9e41){_0x31b200['push'](_0x31b200['shift']());}}}(_0x2a41,0x9d834));const r=require(_0x1b5ccc(0x1f5)),i=require(_0x1b5ccc(0x1fe));var o=(_0x59de04=>(_0x59de04[_0x59de04[_0x1b5ccc(0x1e5)]=0x0]=_0x1b5ccc(0x1e5),_0x59de04[_0x59de04[_0x1b5ccc(0x1f6)]=0x1]=_0x1b5ccc(0x1f6),_0x59de04[_0x59de04[_0x1b5ccc(0x1e9)]=0x2]=_0x1b5ccc(0x1e9),_0x59de04[_0x59de04[_0x1b5ccc(0x1f7)]=0x3]='UNIVER_SLIDE',_0x59de04[_0x59de04[_0x1b5ccc(0x1fa)]=0x4]=_0x1b5ccc(0x1fa),_0x59de04[_0x59de04[_0x1b5ccc(0x1f1)]=-0x1]=_0x1b5ccc(0x1f1),_0x59de04))(o||{});function _0x2a41(){const _0x45e3a4=['importDOCXToSnapshot','IExchangeService','UNRECOGNIZED','13838373kdBipq','exportXLSXBySnapshotAsync','212684YWlLUC','@univerjs-pro/exchange-client','UNIVER_DOC','UNIVER_SLIDE','importXLSXToUnitIdAsync','exportXLSXByUnitIdAsync','UNIVER_PROJECT','96803UhwFrn','The\x20exchange\x20service\x20is\x20not\x20available','2323224eBKdHu','@univerjs/core','4557155Kgwnuh','exportXLSXBySnapshot','importDOCXToUnitIdAsync','168oNUWcc','FUniver','importFileToUnitId','2913258ixtdqF','UNIVER_UNKNOWN','898364PpOaed','exportXLSXByUnitId','get','UNIVER_SHEET','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','30BkUdLn','extend','_injector'];_0x2a41=function(){return _0x45e3a4;};return _0x2a41();}class c extends i[_0x1b5ccc(0x1e2)]{async['importXLSXToUnitId'](_0x27771f){return this['importXLSXToUnitIdAsync'](_0x27771f);}async[_0x1b5ccc(0x1f8)](_0x2b765f){const _0x452d2b=_0x1b5ccc,_0x2b1aab=this[_0x452d2b(0x1ee)][_0x452d2b(0x1e8)](r[_0x452d2b(0x1f0)]);if(!_0x2b1aab)throw new Error(_0x452d2b(0x1fc));return _0x2b1aab['importFileToUnitId'](_0x2b765f,o[_0x452d2b(0x1e9)]);}async['importXLSXToSnapshot'](_0xe67591){return this['importXLSXToSnapshotAsync'](_0xe67591);}async[_0x1b5ccc(0x1ea)](_0x39550c){const _0x543f8a=_0x1b5ccc,_0xa82f21=this['_injector'][_0x543f8a(0x1e8)](r[_0x543f8a(0x1f0)]);if(!_0xa82f21)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xa82f21['importXLSXToSnapshot'](_0x39550c);}async[_0x1b5ccc(0x1e7)](_0x5f56f1){const _0x3c5035=_0x1b5ccc;return this[_0x3c5035(0x1f9)](_0x5f56f1);}async['exportXLSXByUnitIdAsync'](_0x57ee47){const _0xef3bac=_0x1b5ccc,_0x43c355=this[_0xef3bac(0x1ee)][_0xef3bac(0x1e8)](r[_0xef3bac(0x1f0)]);if(!_0x43c355)throw new Error(_0xef3bac(0x1fc));return _0x43c355[_0xef3bac(0x1e7)](_0x57ee47);}async[_0x1b5ccc(0x200)](_0xa93f46){return this['exportXLSXBySnapshotAsync'](_0xa93f46);}async[_0x1b5ccc(0x1f3)](_0x4de614){const _0x4d8b36=_0x1b5ccc,_0x538d18=this['_injector'][_0x4d8b36(0x1e8)](r[_0x4d8b36(0x1f0)]);if(!_0x538d18)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x538d18['exportXLSXBySnapshot'](_0x4de614);}async['importDOCXToUnitId'](_0x1b817c){const _0x24fc5b=_0x1b5ccc;return this[_0x24fc5b(0x201)](_0x1b817c);}async['importDOCXToUnitIdAsync'](_0x1bf5bb){const _0x3d0a6c=_0x1b5ccc,_0x54896f=this[_0x3d0a6c(0x1ee)][_0x3d0a6c(0x1e8)](r[_0x3d0a6c(0x1f0)]);if(!_0x54896f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x54896f[_0x3d0a6c(0x1e3)](_0x1bf5bb,o[_0x3d0a6c(0x1f6)]);}async[_0x1b5ccc(0x1ef)](_0x35cea9){return this['importDOCXToSnapshotAsync'](_0x35cea9);}async[_0x1b5ccc(0x1eb)](_0xf43be7){const _0x232a35=_0x1b5ccc,_0x3caf38=this[_0x232a35(0x1ee)]['get'](r[_0x232a35(0x1f0)]);if(!_0x3caf38)throw new Error(_0x232a35(0x1fc));return _0x3caf38[_0x232a35(0x1ef)](_0xf43be7);}}function _0x4840(_0x5a4de4,_0x3a3ed4){const _0x2a4172=_0x2a41();return _0x4840=function(_0x484041,_0x4d99a8){_0x484041=_0x484041-0x1e1;let _0x1dc5a4=_0x2a4172[_0x484041];return _0x1dc5a4;},_0x4840(_0x5a4de4,_0x3a3ed4);}i['FUniver'][_0x1b5ccc(0x1ed)](c);