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

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 _0x5a4a28=_0x4773;(function(_0x2cabe2,_0x185a54){const _0x173581=_0x4773,_0x25267b=_0x2cabe2();while(!![]){try{const _0x400742=-parseInt(_0x173581(0x85))/0x1*(-parseInt(_0x173581(0x98))/0x2)+-parseInt(_0x173581(0x9b))/0x3+parseInt(_0x173581(0x91))/0x4*(parseInt(_0x173581(0x8b))/0x5)+-parseInt(_0x173581(0x88))/0x6*(-parseInt(_0x173581(0x84))/0x7)+parseInt(_0x173581(0x8f))/0x8+-parseInt(_0x173581(0x90))/0x9+-parseInt(_0x173581(0xa1))/0xa;if(_0x400742===_0x185a54)break;else _0x25267b['push'](_0x25267b['shift']());}catch(_0x4f020e){_0x25267b['push'](_0x25267b['shift']());}}}(_0x543b,0x9ce69));const r=require(_0x5a4a28(0x99)),i=require(_0x5a4a28(0x9d));var o=(_0x4e1751=>(_0x4e1751[_0x4e1751[_0x5a4a28(0x8e)]=0x0]=_0x5a4a28(0x8e),_0x4e1751[_0x4e1751[_0x5a4a28(0x96)]=0x1]=_0x5a4a28(0x96),_0x4e1751[_0x4e1751[_0x5a4a28(0x9e)]=0x2]=_0x5a4a28(0x9e),_0x4e1751[_0x4e1751[_0x5a4a28(0x80)]=0x3]=_0x5a4a28(0x80),_0x4e1751[_0x4e1751['UNIVER_PROJECT']=0x4]=_0x5a4a28(0x89),_0x4e1751[_0x4e1751[_0x5a4a28(0x9f)]=-0x1]=_0x5a4a28(0x9f),_0x4e1751))(o||{});function _0x543b(){const _0x1c6d0b=['importDOCXToUnitId','exportXLSXByUnitId','importXLSXToUnitId','UNIVER_DOC','importXLSXToSnapshot','1584FmvooB','@univerjs-pro/exchange-client','FUniver','972321tlXzMs','_injector','@univerjs/core','UNIVER_SHEET','UNRECOGNIZED','importDOCXToSnapshot','11392100JufXif','UNIVER_SLIDE','get','exportXLSXBySnapshot','The\x20exchange\x20service\x20is\x20not\x20available','2477615YiYNmb','1483VRBRha','IExchangeService','importDOCXToUnitIdAsync','6pogukr','UNIVER_PROJECT','importXLSXToUnitIdAsync','74085soWLGt','importXLSXToSnapshotAsync','importFileToUnitId','UNIVER_UNKNOWN','6191072kiaQvn','3234330LvsLSd','44SpsZPm','exportXLSXBySnapshotAsync'];_0x543b=function(){return _0x1c6d0b;};return _0x543b();}function _0x4773(_0x3c9156,_0x265422){const _0x543bf6=_0x543b();return _0x4773=function(_0x477336,_0x3e53f3){_0x477336=_0x477336-0x80;let _0x55e995=_0x543bf6[_0x477336];return _0x55e995;},_0x4773(_0x3c9156,_0x265422);}class c extends i[_0x5a4a28(0x9a)]{async[_0x5a4a28(0x95)](_0x5132d0){const _0x15d8d5=_0x5a4a28;return this[_0x15d8d5(0x8a)](_0x5132d0);}async[_0x5a4a28(0x8a)](_0xe450a9){const _0x4780da=_0x5a4a28,_0x5a84e9=this[_0x4780da(0x9c)][_0x4780da(0x81)](r['IExchangeService']);if(!_0x5a84e9)throw new Error(_0x4780da(0x83));return _0x5a84e9[_0x4780da(0x8d)](_0xe450a9,o[_0x4780da(0x9e)]);}async[_0x5a4a28(0x97)](_0x4ca206){const _0x4a453b=_0x5a4a28;return this[_0x4a453b(0x8c)](_0x4ca206);}async[_0x5a4a28(0x8c)](_0xff0dc3){const _0x2f1ef0=_0x5a4a28,_0x1461f8=this[_0x2f1ef0(0x9c)]['get'](r['IExchangeService']);if(!_0x1461f8)throw new Error(_0x2f1ef0(0x83));return _0x1461f8['importXLSXToSnapshot'](_0xff0dc3);}async['exportXLSXByUnitId'](_0xe3875f){return this['exportXLSXByUnitIdAsync'](_0xe3875f);}async['exportXLSXByUnitIdAsync'](_0x280489){const _0x16bb49=_0x5a4a28,_0x1fbdd6=this['_injector'][_0x16bb49(0x81)](r[_0x16bb49(0x86)]);if(!_0x1fbdd6)throw new Error(_0x16bb49(0x83));return _0x1fbdd6[_0x16bb49(0x94)](_0x280489);}async[_0x5a4a28(0x82)](_0x33932c){const _0x4099fb=_0x5a4a28;return this[_0x4099fb(0x92)](_0x33932c);}async['exportXLSXBySnapshotAsync'](_0x3cdb5c){const _0x52060a=_0x5a4a28,_0xdfe837=this[_0x52060a(0x9c)][_0x52060a(0x81)](r[_0x52060a(0x86)]);if(!_0xdfe837)throw new Error(_0x52060a(0x83));return _0xdfe837[_0x52060a(0x82)](_0x3cdb5c);}async[_0x5a4a28(0x93)](_0x130def){const _0x104555=_0x5a4a28;return this[_0x104555(0x87)](_0x130def);}async[_0x5a4a28(0x87)](_0x1be6de){const _0x16efb0=_0x5a4a28,_0x4be64d=this['_injector']['get'](r[_0x16efb0(0x86)]);if(!_0x4be64d)throw new Error(_0x16efb0(0x83));return _0x4be64d[_0x16efb0(0x8d)](_0x1be6de,o['UNIVER_DOC']);}async[_0x5a4a28(0xa0)](_0x362378){return this['importDOCXToSnapshotAsync'](_0x362378);}async['importDOCXToSnapshotAsync'](_0x18861f){const _0x7a5ed3=_0x5a4a28,_0x2f2815=this['_injector']['get'](r[_0x7a5ed3(0x86)]);if(!_0x2f2815)throw new Error(_0x7a5ed3(0x83));return _0x2f2815[_0x7a5ed3(0xa0)](_0x18861f);}}i[_0x5a4a28(0x9a)]['extend'](c);
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);