@univerjs-pro/exchange-client 0.5.3-nightly.202501121605 → 0.5.4

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 _0x3ffaca=_0x4996;(function(_0x4622d4,_0x4829a8){const _0x164ab4=_0x4996,_0x424305=_0x4622d4();while(!![]){try{const _0x52c38d=parseInt(_0x164ab4(0xf4))/0x1+-parseInt(_0x164ab4(0x106))/0x2*(parseInt(_0x164ab4(0x103))/0x3)+parseInt(_0x164ab4(0xfc))/0x4+-parseInt(_0x164ab4(0x101))/0x5+-parseInt(_0x164ab4(0xef))/0x6+-parseInt(_0x164ab4(0xf2))/0x7*(-parseInt(_0x164ab4(0xe8))/0x8)+parseInt(_0x164ab4(0x105))/0x9;if(_0x52c38d===_0x4829a8)break;else _0x424305['push'](_0x424305['shift']());}catch(_0x4bc0c1){_0x424305['push'](_0x424305['shift']());}}}(_0x5b48,0x9af1d));function _0x5b48(){const _0x477dd8=['FUniver','4007372QHrPse','exportXLSXBySnapshot','UNIVER_SHEET','exportXLSXByUnitId','importXLSXToSnapshot','4815305eECXFy','importDOCXToUnitId','10839vwAUhU','importDOCXToUnitIdAsync','5071653BjcGkh','478XqgOBX','importXLSXToUnitIdAsync','get','8lzhQCe','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs/core','UNRECOGNIZED','importDOCXToSnapshotAsync','UNIVER_SLIDE','2572254EHuWNp','UNIVER_DOC','IExchangeService','8592206BKWhPY','importFileToUnitId','97112hwxLDb','UNIVER_PROJECT','importDOCXToSnapshot','importXLSXToSnapshotAsync','_injector','exportXLSXBySnapshotAsync','exportXLSXByUnitIdAsync'];_0x5b48=function(){return _0x477dd8;};return _0x5b48();}function _0x4996(_0x38940a,_0x2dcb6c){const _0x5b482f=_0x5b48();return _0x4996=function(_0x4996fd,_0x311185){_0x4996fd=_0x4996fd-0xe8;let _0x50bbe3=_0x5b482f[_0x4996fd];return _0x50bbe3;},_0x4996(_0x38940a,_0x2dcb6c);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x3ffaca(0xeb));var o=(_0x4e41de=>(_0x4e41de[_0x4e41de[_0x3ffaca(0xe9)]=0x0]=_0x3ffaca(0xe9),_0x4e41de[_0x4e41de['UNIVER_DOC']=0x1]=_0x3ffaca(0xf0),_0x4e41de[_0x4e41de[_0x3ffaca(0xfe)]=0x2]=_0x3ffaca(0xfe),_0x4e41de[_0x4e41de[_0x3ffaca(0xee)]=0x3]=_0x3ffaca(0xee),_0x4e41de[_0x4e41de[_0x3ffaca(0xf5)]=0x4]=_0x3ffaca(0xf5),_0x4e41de[_0x4e41de[_0x3ffaca(0xec)]=-0x1]=_0x3ffaca(0xec),_0x4e41de))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x24450d){const _0x1eb841=_0x3ffaca;return this[_0x1eb841(0x107)](_0x24450d);}async['importXLSXToUnitIdAsync'](_0x51c825){const _0x31c05d=_0x3ffaca,_0x4257ea=this['_injector']['get'](r['IExchangeService']);if(!_0x4257ea)throw new Error(_0x31c05d(0xea));return _0x4257ea[_0x31c05d(0xf3)](_0x51c825,o[_0x31c05d(0xfe)]);}async[_0x3ffaca(0x100)](_0x4ab9d4){return this['importXLSXToSnapshotAsync'](_0x4ab9d4);}async[_0x3ffaca(0xf7)](_0x36f0af){const _0x24b651=_0x3ffaca,_0x140b5d=this['_injector']['get'](r[_0x24b651(0xf1)]);if(!_0x140b5d)throw new Error(_0x24b651(0xea));return _0x140b5d[_0x24b651(0x100)](_0x36f0af);}async['exportXLSXByUnitId'](_0x238d3d){const _0x3ac42b=_0x3ffaca;return this[_0x3ac42b(0xfa)](_0x238d3d);}async[_0x3ffaca(0xfa)](_0x52938c){const _0x182c75=_0x3ffaca,_0x575315=this[_0x182c75(0xf8)][_0x182c75(0x108)](r[_0x182c75(0xf1)]);if(!_0x575315)throw new Error(_0x182c75(0xea));return _0x575315[_0x182c75(0xff)](_0x52938c);}async[_0x3ffaca(0xfd)](_0x89dcb0){const _0x4de883=_0x3ffaca;return this[_0x4de883(0xf9)](_0x89dcb0);}async['exportXLSXBySnapshotAsync'](_0x280f42){const _0x4ed440=_0x3ffaca,_0x52f771=this[_0x4ed440(0xf8)][_0x4ed440(0x108)](r['IExchangeService']);if(!_0x52f771)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x52f771[_0x4ed440(0xfd)](_0x280f42);}async[_0x3ffaca(0x102)](_0x3a7e43){const _0x125449=_0x3ffaca;return this[_0x125449(0x104)](_0x3a7e43);}async[_0x3ffaca(0x104)](_0x2fa687){const _0x2af786=_0x3ffaca,_0x351b27=this['_injector'][_0x2af786(0x108)](r[_0x2af786(0xf1)]);if(!_0x351b27)throw new Error(_0x2af786(0xea));return _0x351b27[_0x2af786(0xf3)](_0x2fa687,o['UNIVER_DOC']);}async[_0x3ffaca(0xf6)](_0x4bc26f){const _0x176bbd=_0x3ffaca;return this[_0x176bbd(0xed)](_0x4bc26f);}async[_0x3ffaca(0xed)](_0x22e8b7){const _0x5afa55=_0x3ffaca,_0x4a181c=this[_0x5afa55(0xf8)][_0x5afa55(0x108)](r['IExchangeService']);if(!_0x4a181c)throw new Error(_0x5afa55(0xea));return _0x4a181c[_0x5afa55(0xf6)](_0x22e8b7);}}i[_0x3ffaca(0xfb)]['extend'](c);
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);