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

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 _0x1f1080=_0x2e2f;function _0x2e7b(){const _0x44e916=['@univerjs/core','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs-pro/exchange-client','49OcwOrY','UNIVER_SHEET','importXLSXToSnapshotAsync','importDOCXToUnitIdAsync','9CVaJLQ','get','importDOCXToUnitId','30146vDZmej','55EzcdTr','332672XYesrC','FUniver','importFileToUnitId','importXLSXToSnapshot','UNIVER_DOC','IExchangeService','356096ZMIsnH','UNIVER_UNKNOWN','1pAnOds','46356QMYobz','389685KiqnzC','UNIVER_PROJECT','_injector','importDOCXToSnapshotAsync','importXLSXToUnitId','exportXLSXByUnitIdAsync','70YMyuwi','3176510mRyzgF','importDOCXToSnapshot','596364LhosLP','exportXLSXByUnitId','extend','importXLSXToUnitIdAsync','exportXLSXBySnapshot','UNIVER_SLIDE','UNRECOGNIZED'];_0x2e7b=function(){return _0x44e916;};return _0x2e7b();}(function(_0x113e27,_0xf9f4bb){const _0x471b8e=_0x2e2f,_0x21f5ab=_0x113e27();while(!![]){try{const _0x2fd8c2=-parseInt(_0x471b8e(0x1a6))/0x1*(-parseInt(_0x471b8e(0x19c))/0x2)+-parseInt(_0x471b8e(0x1a8))/0x3+-parseInt(_0x471b8e(0x19e))/0x4+-parseInt(_0x471b8e(0x187))/0x5*(-parseInt(_0x471b8e(0x1a7))/0x6)+-parseInt(_0x471b8e(0x195))/0x7*(-parseInt(_0x471b8e(0x1a4))/0x8)+parseInt(_0x471b8e(0x199))/0x9*(parseInt(_0x471b8e(0x188))/0xa)+-parseInt(_0x471b8e(0x19d))/0xb*(parseInt(_0x471b8e(0x18a))/0xc);if(_0x2fd8c2===_0xf9f4bb)break;else _0x21f5ab['push'](_0x21f5ab['shift']());}catch(_0x4e4b13){_0x21f5ab['push'](_0x21f5ab['shift']());}}}(_0x2e7b,0x4706c));const r=require(_0x1f1080(0x194)),i=require(_0x1f1080(0x191));var o=(_0x3dc42a=>(_0x3dc42a[_0x3dc42a[_0x1f1080(0x1a5)]=0x0]='UNIVER_UNKNOWN',_0x3dc42a[_0x3dc42a[_0x1f1080(0x1a2)]=0x1]=_0x1f1080(0x1a2),_0x3dc42a[_0x3dc42a[_0x1f1080(0x196)]=0x2]='UNIVER_SHEET',_0x3dc42a[_0x3dc42a[_0x1f1080(0x18f)]=0x3]=_0x1f1080(0x18f),_0x3dc42a[_0x3dc42a[_0x1f1080(0x182)]=0x4]=_0x1f1080(0x182),_0x3dc42a[_0x3dc42a['UNRECOGNIZED']=-0x1]=_0x1f1080(0x190),_0x3dc42a))(o||{});class c extends i[_0x1f1080(0x19f)]{async[_0x1f1080(0x185)](_0x4c7a3d){const _0x1bbe7c=_0x1f1080;return this[_0x1bbe7c(0x18d)](_0x4c7a3d);}async['importXLSXToUnitIdAsync'](_0x38dda3){const _0x462301=_0x1f1080,_0xc7724a=this[_0x462301(0x183)][_0x462301(0x19a)](r['IExchangeService']);if(!_0xc7724a)throw new Error(_0x462301(0x193));return _0xc7724a[_0x462301(0x1a0)](_0x38dda3,o[_0x462301(0x196)]);}async[_0x1f1080(0x1a1)](_0x1c9595){const _0x358de=_0x1f1080;return this[_0x358de(0x197)](_0x1c9595);}async['importXLSXToSnapshotAsync'](_0x183ccc){const _0x266d95=_0x1f1080,_0x4996bd=this[_0x266d95(0x183)][_0x266d95(0x19a)](r[_0x266d95(0x1a3)]);if(!_0x4996bd)throw new Error(_0x266d95(0x193));return _0x4996bd[_0x266d95(0x1a1)](_0x183ccc);}async[_0x1f1080(0x18b)](_0x42bcc0){const _0x34e47b=_0x1f1080;return this[_0x34e47b(0x186)](_0x42bcc0);}async[_0x1f1080(0x186)](_0x5f501d){const _0x11b5c3=_0x1f1080,_0x3b6acd=this[_0x11b5c3(0x183)]['get'](r[_0x11b5c3(0x1a3)]);if(!_0x3b6acd)throw new Error(_0x11b5c3(0x193));return _0x3b6acd[_0x11b5c3(0x18b)](_0x5f501d);}async[_0x1f1080(0x18e)](_0x34f689){const _0xa4b8cb=_0x1f1080;return this[_0xa4b8cb(0x192)](_0x34f689);}async['exportXLSXBySnapshotAsync'](_0x5c44ae){const _0x2bec56=_0x1f1080,_0x3a38a2=this[_0x2bec56(0x183)][_0x2bec56(0x19a)](r[_0x2bec56(0x1a3)]);if(!_0x3a38a2)throw new Error(_0x2bec56(0x193));return _0x3a38a2[_0x2bec56(0x18e)](_0x5c44ae);}async[_0x1f1080(0x19b)](_0x519d30){const _0x3fbc74=_0x1f1080;return this[_0x3fbc74(0x198)](_0x519d30);}async[_0x1f1080(0x198)](_0x38eb1c){const _0x2c221d=_0x1f1080,_0x27754f=this[_0x2c221d(0x183)][_0x2c221d(0x19a)](r['IExchangeService']);if(!_0x27754f)throw new Error(_0x2c221d(0x193));return _0x27754f[_0x2c221d(0x1a0)](_0x38eb1c,o['UNIVER_DOC']);}async[_0x1f1080(0x189)](_0x574362){const _0x3ffa51=_0x1f1080;return this[_0x3ffa51(0x184)](_0x574362);}async[_0x1f1080(0x184)](_0x3cae2d){const _0xc27686=_0x1f1080,_0x4abe86=this['_injector'][_0xc27686(0x19a)](r['IExchangeService']);if(!_0x4abe86)throw new Error(_0xc27686(0x193));return _0x4abe86[_0xc27686(0x189)](_0x3cae2d);}}function _0x2e2f(_0x9f31ff,_0x1e46e4){const _0x2e7b40=_0x2e7b();return _0x2e2f=function(_0x2e2fe4,_0x2c69e8){_0x2e2fe4=_0x2e2fe4-0x182;let _0x3b500e=_0x2e7b40[_0x2e2fe4];return _0x3b500e;},_0x2e2f(_0x9f31ff,_0x1e46e4);}i[_0x1f1080(0x19f)][_0x1f1080(0x18c)](c);
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);