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

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 _0x584cbe=_0x205a;(function(_0x3d6ef2,_0x47eb50){const _0x59415d=_0x205a,_0x37a8b7=_0x3d6ef2();while(!![]){try{const _0x2d1242=-parseInt(_0x59415d(0x1b3))/0x1*(parseInt(_0x59415d(0x1b1))/0x2)+-parseInt(_0x59415d(0x1bc))/0x3*(parseInt(_0x59415d(0x1b8))/0x4)+-parseInt(_0x59415d(0x1c3))/0x5*(parseInt(_0x59415d(0x1af))/0x6)+parseInt(_0x59415d(0x1cb))/0x7+-parseInt(_0x59415d(0x1c7))/0x8+parseInt(_0x59415d(0x1c8))/0x9*(-parseInt(_0x59415d(0x1b7))/0xa)+parseInt(_0x59415d(0x1ad))/0xb*(parseInt(_0x59415d(0x1ac))/0xc);if(_0x2d1242===_0x47eb50)break;else _0x37a8b7['push'](_0x37a8b7['shift']());}catch(_0xdea797){_0x37a8b7['push'](_0x37a8b7['shift']());}}}(_0x31a1,0x3f245));function _0x31a1(){const _0x3b84e1=['IExchangeService','3245200yhNfmH','3859452msYntS','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','1148637hOqUwc','@univerjs/core','UNIVER_SLIDE','extend','importXLSXToUnitIdAsync','importDOCXToUnitId','6540ACBgUx','33605LTXVym','@univerjs-pro/exchange-client','866532wyIChZ','UNRECOGNIZED','166lOAZes','exportXLSXBySnapshotAsync','3731fQxRoO','exportXLSXByUnitId','_injector','UNIVER_SHEET','10QSKrsA','102496rXyGDC','importXLSXToUnitId','get','importXLSXToSnapshot','33GNPpUG','UNIVER_PROJECT','importDOCXToUnitIdAsync','UNIVER_UNKNOWN','importDOCXToSnapshot','exportXLSXBySnapshot','UNIVER_DOC','5xHCoqK','exportXLSXByUnitIdAsync','importDOCXToSnapshotAsync'];_0x31a1=function(){return _0x3b84e1;};return _0x31a1();}function _0x205a(_0x583f5d,_0x3f3a7a){const _0x31a121=_0x31a1();return _0x205a=function(_0x205ab8,_0x211cdd){_0x205ab8=_0x205ab8-0x1ab;let _0xc06766=_0x31a121[_0x205ab8];return _0xc06766;},_0x205a(_0x583f5d,_0x3f3a7a);}const r=require(_0x584cbe(0x1ae)),i=require(_0x584cbe(0x1cc));var o=(_0x280647=>(_0x280647[_0x280647[_0x584cbe(0x1bf)]=0x0]='UNIVER_UNKNOWN',_0x280647[_0x280647[_0x584cbe(0x1c2)]=0x1]=_0x584cbe(0x1c2),_0x280647[_0x280647[_0x584cbe(0x1b6)]=0x2]=_0x584cbe(0x1b6),_0x280647[_0x280647[_0x584cbe(0x1cd)]=0x3]=_0x584cbe(0x1cd),_0x280647[_0x280647[_0x584cbe(0x1bd)]=0x4]=_0x584cbe(0x1bd),_0x280647[_0x280647[_0x584cbe(0x1b0)]=-0x1]=_0x584cbe(0x1b0),_0x280647))(o||{});class c extends i['FUniver']{async[_0x584cbe(0x1b9)](_0x71ea49){const _0x3e22df=_0x584cbe;return this[_0x3e22df(0x1cf)](_0x71ea49);}async[_0x584cbe(0x1cf)](_0x2ab458){const _0x595283=_0x584cbe,_0x309a5c=this[_0x595283(0x1b5)][_0x595283(0x1ba)](r['IExchangeService']);if(!_0x309a5c)throw new Error(_0x595283(0x1c9));return _0x309a5c['importFileToUnitId'](_0x2ab458,o['UNIVER_SHEET']);}async[_0x584cbe(0x1bb)](_0x5722f9){return this['importXLSXToSnapshotAsync'](_0x5722f9);}async['importXLSXToSnapshotAsync'](_0xb04227){const _0x4b4196=_0x584cbe,_0xaa990a=this[_0x4b4196(0x1b5)][_0x4b4196(0x1ba)](r[_0x4b4196(0x1c6)]);if(!_0xaa990a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xaa990a['importXLSXToSnapshot'](_0xb04227);}async[_0x584cbe(0x1b4)](_0x49c1b9){return this['exportXLSXByUnitIdAsync'](_0x49c1b9);}async[_0x584cbe(0x1c4)](_0x275a31){const _0x4fa877=_0x584cbe,_0x3e4a1b=this[_0x4fa877(0x1b5)]['get'](r[_0x4fa877(0x1c6)]);if(!_0x3e4a1b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3e4a1b['exportXLSXByUnitId'](_0x275a31);}async[_0x584cbe(0x1c1)](_0x22441e){const _0x4425c7=_0x584cbe;return this[_0x4425c7(0x1b2)](_0x22441e);}async[_0x584cbe(0x1b2)](_0x13e479){const _0x1cac4b=_0x584cbe,_0x609d4e=this[_0x1cac4b(0x1b5)][_0x1cac4b(0x1ba)](r[_0x1cac4b(0x1c6)]);if(!_0x609d4e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x609d4e[_0x1cac4b(0x1c1)](_0x13e479);}async[_0x584cbe(0x1ab)](_0x2c8f4c){const _0x7f2d9a=_0x584cbe;return this[_0x7f2d9a(0x1be)](_0x2c8f4c);}async[_0x584cbe(0x1be)](_0x582c33){const _0x53fdc0=_0x584cbe,_0x5445bc=this[_0x53fdc0(0x1b5)][_0x53fdc0(0x1ba)](r[_0x53fdc0(0x1c6)]);if(!_0x5445bc)throw new Error(_0x53fdc0(0x1c9));return _0x5445bc[_0x53fdc0(0x1ca)](_0x582c33,o[_0x53fdc0(0x1c2)]);}async['importDOCXToSnapshot'](_0x3b4e43){const _0x1ccafc=_0x584cbe;return this[_0x1ccafc(0x1c5)](_0x3b4e43);}async['importDOCXToSnapshotAsync'](_0x19cd8c){const _0x267afb=_0x584cbe,_0x2d95fe=this['_injector'][_0x267afb(0x1ba)](r[_0x267afb(0x1c6)]);if(!_0x2d95fe)throw new Error(_0x267afb(0x1c9));return _0x2d95fe[_0x267afb(0x1c0)](_0x19cd8c);}}i['FUniver'][_0x584cbe(0x1ce)](c);