@univerjs-pro/exchange-client 0.5.4-nightly.202501181605 → 0.5.4-nightly.202501200849

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';function _0x1f67(_0x248a6b,_0x5ca443){const _0x3d2e28=_0x3d2e();return _0x1f67=function(_0x1f676c,_0x206a4a){_0x1f676c=_0x1f676c-0x194;let _0xbbfff9=_0x3d2e28[_0x1f676c];return _0xbbfff9;},_0x1f67(_0x248a6b,_0x5ca443);}const _0x2c6c48=_0x1f67;(function(_0x7cad7f,_0x4021ad){const _0x19c63a=_0x1f67,_0x3fe31c=_0x7cad7f();while(!![]){try{const _0x4ee257=-parseInt(_0x19c63a(0x1a1))/0x1+-parseInt(_0x19c63a(0x1ac))/0x2*(-parseInt(_0x19c63a(0x1b3))/0x3)+-parseInt(_0x19c63a(0x198))/0x4*(-parseInt(_0x19c63a(0x1aa))/0x5)+parseInt(_0x19c63a(0x1a9))/0x6*(parseInt(_0x19c63a(0x1a0))/0x7)+parseInt(_0x19c63a(0x1a2))/0x8+-parseInt(_0x19c63a(0x1a5))/0x9*(parseInt(_0x19c63a(0x195))/0xa)+parseInt(_0x19c63a(0x1a4))/0xb*(-parseInt(_0x19c63a(0x19a))/0xc);if(_0x4ee257===_0x4021ad)break;else _0x3fe31c['push'](_0x3fe31c['shift']());}catch(_0x4eb9b6){_0x3fe31c['push'](_0x3fe31c['shift']());}}}(_0x3d2e,0x23709));function _0x3d2e(){const _0x5201d8=['exportXLSXBySnapshotAsync','importDOCXToSnapshotAsync','838776ThdaPE','exportXLSXByUnitId','12eeNBui','importFileToUnitId','@univerjs-pro/exchange-client','importDOCXToUnitIdAsync','UNIVER_PROJECT','UNIVER_DOC','45437dTDXZO','149111tIEXfs','285376aFXBtZ','importXLSXToUnitIdAsync','1898215AOKPsF','135rZEprG','importXLSXToSnapshot','_injector','exportXLSXBySnapshot','108UpObAg','5IBYFlK','UNIVER_SLIDE','38xhatyp','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','importXLSXToUnitId','UNIVER_SHEET','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','43206oXqTmd','importDOCXToSnapshot','get','UNRECOGNIZED','importDOCXToUnitId','exportXLSXByUnitIdAsync','@univerjs/core','IExchangeService','112670EOoRYl'];_0x3d2e=function(){return _0x5201d8;};return _0x3d2e();}const r=require(_0x2c6c48(0x19c)),i=require(_0x2c6c48(0x1b9));var o=(_0x1437e4=>(_0x1437e4[_0x1437e4[_0x2c6c48(0x1ad)]=0x0]=_0x2c6c48(0x1ad),_0x1437e4[_0x1437e4['UNIVER_DOC']=0x1]=_0x2c6c48(0x19f),_0x1437e4[_0x1437e4[_0x2c6c48(0x1b0)]=0x2]=_0x2c6c48(0x1b0),_0x1437e4[_0x1437e4[_0x2c6c48(0x1ab)]=0x3]='UNIVER_SLIDE',_0x1437e4[_0x1437e4[_0x2c6c48(0x19e)]=0x4]=_0x2c6c48(0x19e),_0x1437e4[_0x1437e4[_0x2c6c48(0x1b6)]=-0x1]=_0x2c6c48(0x1b6),_0x1437e4))(o||{});class c extends i[_0x2c6c48(0x1b1)]{async[_0x2c6c48(0x1af)](_0x3c7bcc){const _0x5a3114=_0x2c6c48;return this[_0x5a3114(0x1a3)](_0x3c7bcc);}async['importXLSXToUnitIdAsync'](_0x1ddea9){const _0x41c1d5=_0x2c6c48,_0xbdc9a6=this[_0x41c1d5(0x1a7)]['get'](r[_0x41c1d5(0x194)]);if(!_0xbdc9a6)throw new Error(_0x41c1d5(0x1b2));return _0xbdc9a6['importFileToUnitId'](_0x1ddea9,o[_0x41c1d5(0x1b0)]);}async[_0x2c6c48(0x1a6)](_0x4abac2){const _0x3f7691=_0x2c6c48;return this[_0x3f7691(0x1ae)](_0x4abac2);}async[_0x2c6c48(0x1ae)](_0x917d47){const _0x121b16=_0x2c6c48,_0x2adbbe=this[_0x121b16(0x1a7)]['get'](r[_0x121b16(0x194)]);if(!_0x2adbbe)throw new Error(_0x121b16(0x1b2));return _0x2adbbe[_0x121b16(0x1a6)](_0x917d47);}async[_0x2c6c48(0x199)](_0x434c13){const _0x233318=_0x2c6c48;return this[_0x233318(0x1b8)](_0x434c13);}async['exportXLSXByUnitIdAsync'](_0x50910c){const _0x432cad=_0x2c6c48,_0x1f030=this[_0x432cad(0x1a7)][_0x432cad(0x1b5)](r[_0x432cad(0x194)]);if(!_0x1f030)throw new Error(_0x432cad(0x1b2));return _0x1f030[_0x432cad(0x199)](_0x50910c);}async[_0x2c6c48(0x1a8)](_0x18282b){return this['exportXLSXBySnapshotAsync'](_0x18282b);}async[_0x2c6c48(0x196)](_0x592290){const _0x2e8e64=_0x2c6c48,_0x278320=this[_0x2e8e64(0x1a7)]['get'](r[_0x2e8e64(0x194)]);if(!_0x278320)throw new Error(_0x2e8e64(0x1b2));return _0x278320[_0x2e8e64(0x1a8)](_0x592290);}async[_0x2c6c48(0x1b7)](_0x4e6ad7){const _0x2bc45b=_0x2c6c48;return this[_0x2bc45b(0x19d)](_0x4e6ad7);}async[_0x2c6c48(0x19d)](_0x4c9917){const _0x2a3c1f=_0x2c6c48,_0x11d61e=this[_0x2a3c1f(0x1a7)][_0x2a3c1f(0x1b5)](r[_0x2a3c1f(0x194)]);if(!_0x11d61e)throw new Error(_0x2a3c1f(0x1b2));return _0x11d61e[_0x2a3c1f(0x19b)](_0x4c9917,o['UNIVER_DOC']);}async[_0x2c6c48(0x1b4)](_0xcf918c){const _0x6f0e33=_0x2c6c48;return this[_0x6f0e33(0x197)](_0xcf918c);}async[_0x2c6c48(0x197)](_0x4dbe5d){const _0x3dabb5=_0x2c6c48,_0x3b7537=this[_0x3dabb5(0x1a7)][_0x3dabb5(0x1b5)](r[_0x3dabb5(0x194)]);if(!_0x3b7537)throw new Error(_0x3dabb5(0x1b2));return _0x3b7537[_0x3dabb5(0x1b4)](_0x4dbe5d);}}i[_0x2c6c48(0x1b1)]['extend'](c);
1
+ 'use strict';const _0x32d46f=_0x15f4;function _0x15f4(_0x4ce6a2,_0x32d451){const _0x35c8d4=_0x35c8();return _0x15f4=function(_0x15f4ed,_0x2da247){_0x15f4ed=_0x15f4ed-0xc4;let _0x1c5e6a=_0x35c8d4[_0x15f4ed];return _0x1c5e6a;},_0x15f4(_0x4ce6a2,_0x32d451);}(function(_0x4a53ac,_0x4d580b){const _0x28c6d9=_0x15f4,_0x535119=_0x4a53ac();while(!![]){try{const _0xc63fbe=-parseInt(_0x28c6d9(0xd9))/0x1*(parseInt(_0x28c6d9(0xc9))/0x2)+parseInt(_0x28c6d9(0xd7))/0x3*(parseInt(_0x28c6d9(0xd8))/0x4)+parseInt(_0x28c6d9(0xd4))/0x5+-parseInt(_0x28c6d9(0xe3))/0x6+-parseInt(_0x28c6d9(0xd5))/0x7*(-parseInt(_0x28c6d9(0xce))/0x8)+-parseInt(_0x28c6d9(0xe2))/0x9+-parseInt(_0x28c6d9(0xdc))/0xa*(parseInt(_0x28c6d9(0xd0))/0xb);if(_0xc63fbe===_0x4d580b)break;else _0x535119['push'](_0x535119['shift']());}catch(_0x58a67c){_0x535119['push'](_0x535119['shift']());}}}(_0x35c8,0x840d0));const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core');var o=(_0x4fb67d=>(_0x4fb67d[_0x4fb67d[_0x32d46f(0xd1)]=0x0]=_0x32d46f(0xd1),_0x4fb67d[_0x4fb67d['UNIVER_DOC']=0x1]=_0x32d46f(0xc6),_0x4fb67d[_0x4fb67d[_0x32d46f(0xdf)]=0x2]=_0x32d46f(0xdf),_0x4fb67d[_0x4fb67d[_0x32d46f(0xcc)]=0x3]=_0x32d46f(0xcc),_0x4fb67d[_0x4fb67d[_0x32d46f(0xcd)]=0x4]=_0x32d46f(0xcd),_0x4fb67d[_0x4fb67d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4fb67d))(o||{});function _0x35c8(){const _0x4ce762=['153QMjEdI','37988XAzBSc','85841HcTZPr','importDOCXToSnapshotAsync','importXLSXToUnitId','170KPwJEO','importDOCXToUnitId','importFileToUnitId','UNIVER_SHEET','exportXLSXBySnapshot','importDOCXToUnitIdAsync','1832814ARbFpA','5457714cPSTvt','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','exportXLSXBySnapshotAsync','exportXLSXByUnitId','UNIVER_DOC','importXLSXToUnitIdAsync','FUniver','2EtoBzr','importXLSXToSnapshot','get','UNIVER_SLIDE','UNIVER_PROJECT','35744RSrXbZ','importDOCXToSnapshot','257367QfmTsp','UNIVER_UNKNOWN','exportXLSXByUnitIdAsync','_injector','4938280agCEXW','1043EWSNOQ','extend'];_0x35c8=function(){return _0x4ce762;};return _0x35c8();}class c extends i['FUniver']{async[_0x32d46f(0xdb)](_0x159a48){const _0x24622f=_0x32d46f;return this[_0x24622f(0xc7)](_0x159a48);}async[_0x32d46f(0xc7)](_0x69cfc4){const _0x35c568=_0x32d46f,_0x53809e=this[_0x35c568(0xd3)][_0x35c568(0xcb)](r['IExchangeService']);if(!_0x53809e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x53809e[_0x35c568(0xde)](_0x69cfc4,o['UNIVER_SHEET']);}async[_0x32d46f(0xca)](_0x3f1261){return this['importXLSXToSnapshotAsync'](_0x3f1261);}async['importXLSXToSnapshotAsync'](_0x4cfaed){const _0x29b2a4=_0x32d46f,_0x214825=this[_0x29b2a4(0xd3)][_0x29b2a4(0xcb)](r[_0x29b2a4(0xe5)]);if(!_0x214825)throw new Error(_0x29b2a4(0xe4));return _0x214825[_0x29b2a4(0xca)](_0x4cfaed);}async[_0x32d46f(0xc5)](_0x119838){return this['exportXLSXByUnitIdAsync'](_0x119838);}async[_0x32d46f(0xd2)](_0x2e0ec9){const _0x21514d=_0x32d46f,_0x2ad417=this[_0x21514d(0xd3)][_0x21514d(0xcb)](r[_0x21514d(0xe5)]);if(!_0x2ad417)throw new Error(_0x21514d(0xe4));return _0x2ad417['exportXLSXByUnitId'](_0x2e0ec9);}async[_0x32d46f(0xe0)](_0x197338){return this['exportXLSXBySnapshotAsync'](_0x197338);}async[_0x32d46f(0xc4)](_0x414e66){const _0x375f42=_0x32d46f,_0x402cf1=this['_injector'][_0x375f42(0xcb)](r['IExchangeService']);if(!_0x402cf1)throw new Error(_0x375f42(0xe4));return _0x402cf1[_0x375f42(0xe0)](_0x414e66);}async[_0x32d46f(0xdd)](_0x363fb3){const _0x5b8de8=_0x32d46f;return this[_0x5b8de8(0xe1)](_0x363fb3);}async['importDOCXToUnitIdAsync'](_0x398f59){const _0xc30054=_0x32d46f,_0xe82a20=this['_injector'][_0xc30054(0xcb)](r['IExchangeService']);if(!_0xe82a20)throw new Error(_0xc30054(0xe4));return _0xe82a20[_0xc30054(0xde)](_0x398f59,o[_0xc30054(0xc6)]);}async[_0x32d46f(0xcf)](_0x3016e9){const _0x41f74f=_0x32d46f;return this[_0x41f74f(0xda)](_0x3016e9);}async['importDOCXToSnapshotAsync'](_0x415690){const _0x237d28=_0x32d46f,_0x1605ce=this[_0x237d28(0xd3)][_0x237d28(0xcb)](r[_0x237d28(0xe5)]);if(!_0x1605ce)throw new Error(_0x237d28(0xe4));return _0x1605ce[_0x237d28(0xcf)](_0x415690);}}i[_0x32d46f(0xc8)][_0x32d46f(0xd6)](c);