@univerjs-pro/exchange-client 0.6.0-nightly.202502071606 → 0.6.0-nightly.202502081605

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 _0x52c3ca=_0x198a;(function(_0x1c151d,_0x37c82f){const _0x43e0b1=_0x198a,_0x284f72=_0x1c151d();while(!![]){try{const _0xfe8b80=parseInt(_0x43e0b1(0x86))/0x1*(-parseInt(_0x43e0b1(0x8e))/0x2)+parseInt(_0x43e0b1(0x73))/0x3*(parseInt(_0x43e0b1(0x84))/0x4)+-parseInt(_0x43e0b1(0x70))/0x5*(parseInt(_0x43e0b1(0x79))/0x6)+-parseInt(_0x43e0b1(0x90))/0x7+parseInt(_0x43e0b1(0x74))/0x8*(parseInt(_0x43e0b1(0x7d))/0x9)+parseInt(_0x43e0b1(0x88))/0xa*(-parseInt(_0x43e0b1(0x7b))/0xb)+parseInt(_0x43e0b1(0x75))/0xc;if(_0xfe8b80===_0x37c82f)break;else _0x284f72['push'](_0x284f72['shift']());}catch(_0x261213){_0x284f72['push'](_0x284f72['shift']());}}}(_0x4ff8,0x2133e));const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core');var o=(_0x323f20=>(_0x323f20[_0x323f20[_0x52c3ca(0x82)]=0x0]='UNIVER_UNKNOWN',_0x323f20[_0x323f20[_0x52c3ca(0x89)]=0x1]=_0x52c3ca(0x89),_0x323f20[_0x323f20[_0x52c3ca(0x8d)]=0x2]=_0x52c3ca(0x8d),_0x323f20[_0x323f20['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x323f20[_0x323f20[_0x52c3ca(0x7c)]=0x4]=_0x52c3ca(0x7c),_0x323f20[_0x323f20['UNRECOGNIZED']=-0x1]=_0x52c3ca(0x87),_0x323f20))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x410450){const _0x32868d=_0x52c3ca;return this[_0x32868d(0x7f)](_0x410450);}async[_0x52c3ca(0x7f)](_0x5317b3){const _0xe28250=_0x52c3ca,_0x374c75=this[_0xe28250(0x8f)]['get'](r[_0xe28250(0x71)]);if(!_0x374c75)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x374c75[_0xe28250(0x78)](_0x5317b3,o[_0xe28250(0x8d)]);}async[_0x52c3ca(0x85)](_0x32e159){const _0x630671=_0x52c3ca;return this[_0x630671(0x77)](_0x32e159);}async[_0x52c3ca(0x77)](_0x3e7a2a){const _0x4f3545=_0x52c3ca,_0x59aeaa=this[_0x4f3545(0x8f)][_0x4f3545(0x72)](r['IExchangeService']);if(!_0x59aeaa)throw new Error(_0x4f3545(0x80));return _0x59aeaa['importXLSXToSnapshot'](_0x3e7a2a);}async['exportXLSXByUnitId'](_0x46f4b9){return this['exportXLSXByUnitIdAsync'](_0x46f4b9);}async[_0x52c3ca(0x81)](_0x4ffaeb){const _0x4d0a6=_0x52c3ca,_0x40a668=this[_0x4d0a6(0x8f)][_0x4d0a6(0x72)](r['IExchangeService']);if(!_0x40a668)throw new Error(_0x4d0a6(0x80));return _0x40a668[_0x4d0a6(0x76)](_0x4ffaeb);}async[_0x52c3ca(0x7e)](_0x1e3f40){const _0x4ea8c9=_0x52c3ca;return this[_0x4ea8c9(0x91)](_0x1e3f40);}async[_0x52c3ca(0x91)](_0x3bcd65){const _0x493c07=_0x52c3ca,_0x5be910=this['_injector'][_0x493c07(0x72)](r[_0x493c07(0x71)]);if(!_0x5be910)throw new Error(_0x493c07(0x80));return _0x5be910[_0x493c07(0x7e)](_0x3bcd65);}async[_0x52c3ca(0x92)](_0x463c0b){const _0x32391d=_0x52c3ca;return this[_0x32391d(0x8c)](_0x463c0b);}async[_0x52c3ca(0x8c)](_0x18f24d){const _0xcfb905=_0x52c3ca,_0x3e5e2b=this[_0xcfb905(0x8f)][_0xcfb905(0x72)](r[_0xcfb905(0x71)]);if(!_0x3e5e2b)throw new Error(_0xcfb905(0x80));return _0x3e5e2b[_0xcfb905(0x78)](_0x18f24d,o[_0xcfb905(0x89)]);}async[_0x52c3ca(0x7a)](_0x1ee7f2){const _0x591c88=_0x52c3ca;return this[_0x591c88(0x8b)](_0x1ee7f2);}async['importDOCXToSnapshotAsync'](_0x33cb84){const _0x387a57=_0x52c3ca,_0xed5c80=this[_0x387a57(0x8f)][_0x387a57(0x72)](r['IExchangeService']);if(!_0xed5c80)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xed5c80[_0x387a57(0x7a)](_0x33cb84);}}function _0x198a(_0x5ba262,_0x4298b2){const _0x4ff86a=_0x4ff8();return _0x198a=function(_0x198a1f,_0x175582){_0x198a1f=_0x198a1f-0x70;let _0x469488=_0x4ff86a[_0x198a1f];return _0x469488;},_0x198a(_0x5ba262,_0x4298b2);}function _0x4ff8(){const _0x5c201d=['80DRBOlR','6205272FoLfnW','exportXLSXByUnitId','importXLSXToSnapshotAsync','importFileToUnitId','1818sgNHzS','importDOCXToSnapshot','33heeufW','UNIVER_PROJECT','79371POxIAH','exportXLSXBySnapshot','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitIdAsync','UNIVER_UNKNOWN','FUniver','108pRfHhX','importXLSXToSnapshot','43705mOjXUL','UNRECOGNIZED','209960RvmoXM','UNIVER_DOC','extend','importDOCXToSnapshotAsync','importDOCXToUnitIdAsync','UNIVER_SHEET','10aTdSwG','_injector','350301BjTPjs','exportXLSXBySnapshotAsync','importDOCXToUnitId','4445NFZLXz','IExchangeService','get','14625ZrHUzz'];_0x4ff8=function(){return _0x5c201d;};return _0x4ff8();}i[_0x52c3ca(0x83)][_0x52c3ca(0x8a)](c);
1
+ 'use strict';const _0xa7b48d=_0x1da6;(function(_0x3a4455,_0x8a0a4d){const _0x486ad9=_0x1da6,_0x34cba1=_0x3a4455();while(!![]){try{const _0x2b1f14=-parseInt(_0x486ad9(0x127))/0x1*(parseInt(_0x486ad9(0x126))/0x2)+-parseInt(_0x486ad9(0x133))/0x3*(parseInt(_0x486ad9(0x12c))/0x4)+-parseInt(_0x486ad9(0x10e))/0x5*(-parseInt(_0x486ad9(0x132))/0x6)+parseInt(_0x486ad9(0x111))/0x7*(-parseInt(_0x486ad9(0x124))/0x8)+parseInt(_0x486ad9(0x116))/0x9*(-parseInt(_0x486ad9(0x118))/0xa)+parseInt(_0x486ad9(0x12e))/0xb*(-parseInt(_0x486ad9(0x11a))/0xc)+-parseInt(_0x486ad9(0x113))/0xd*(-parseInt(_0x486ad9(0x11c))/0xe);if(_0x2b1f14===_0x8a0a4d)break;else _0x34cba1['push'](_0x34cba1['shift']());}catch(_0x3f55b9){_0x34cba1['push'](_0x34cba1['shift']());}}}(_0x30ad,0x9c22b));function _0x30ad(){const _0x4b2b50=['UNIVER_DOC','@univerjs-pro/exchange-client','343248iywTDf','3387vamLSO','20IKIefh','importDOCXToSnapshot','importXLSXToUnitId','4284658qdOwMn','exportXLSXBySnapshot','51416417knPqds','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','801DuXJRK','UNIVER_UNKNOWN','114930YMdlcl','importDOCXToSnapshotAsync','72snNvJC','get','14vrEkfQ','importXLSXToUnitIdAsync','importXLSXToSnapshot','extend','exportXLSXByUnitId','importFileToUnitId','UNIVER_PROJECT','UNRECOGNIZED','16BIJdDQ','IExchangeService','2248xkIaPk','291hzZWJq','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','importXLSXToSnapshotAsync','508ThEwbm','_injector','1515943HScHXZ','exportXLSXByUnitIdAsync'];_0x30ad=function(){return _0x4b2b50;};return _0x30ad();}const r=require(_0xa7b48d(0x131)),i=require('@univerjs/core');function _0x1da6(_0x3a038b,_0x3af401){const _0x30ad70=_0x30ad();return _0x1da6=function(_0x1da6a5,_0x290965){_0x1da6a5=_0x1da6a5-0x10e;let _0x2b0530=_0x30ad70[_0x1da6a5];return _0x2b0530;},_0x1da6(_0x3a038b,_0x3af401);}var o=(_0x217023=>(_0x217023[_0x217023['UNIVER_UNKNOWN']=0x0]=_0xa7b48d(0x117),_0x217023[_0x217023['UNIVER_DOC']=0x1]=_0xa7b48d(0x130),_0x217023[_0x217023['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x217023[_0x217023['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x217023[_0x217023[_0xa7b48d(0x122)]=0x4]='UNIVER_PROJECT',_0x217023[_0x217023['UNRECOGNIZED']=-0x1]=_0xa7b48d(0x123),_0x217023))(o||{});class c extends i[_0xa7b48d(0x12a)]{async[_0xa7b48d(0x110)](_0x4e1010){return this['importXLSXToUnitIdAsync'](_0x4e1010);}async[_0xa7b48d(0x11d)](_0x5e3072){const _0x202e72=_0xa7b48d,_0x3f92d5=this[_0x202e72(0x12d)]['get'](r['IExchangeService']);if(!_0x3f92d5)throw new Error(_0x202e72(0x129));return _0x3f92d5[_0x202e72(0x121)](_0x5e3072,o[_0x202e72(0x128)]);}async['importXLSXToSnapshot'](_0x14ebd9){return this['importXLSXToSnapshotAsync'](_0x14ebd9);}async[_0xa7b48d(0x12b)](_0x5bcc6){const _0x3a24bb=_0xa7b48d,_0x5b9a81=this[_0x3a24bb(0x12d)][_0x3a24bb(0x11b)](r[_0x3a24bb(0x125)]);if(!_0x5b9a81)throw new Error(_0x3a24bb(0x129));return _0x5b9a81[_0x3a24bb(0x11e)](_0x5bcc6);}async[_0xa7b48d(0x120)](_0x5e42d9){const _0x313bbc=_0xa7b48d;return this[_0x313bbc(0x12f)](_0x5e42d9);}async[_0xa7b48d(0x12f)](_0x155f2d){const _0x4e2c86=_0xa7b48d,_0x126721=this[_0x4e2c86(0x12d)][_0x4e2c86(0x11b)](r[_0x4e2c86(0x125)]);if(!_0x126721)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x126721[_0x4e2c86(0x120)](_0x155f2d);}async['exportXLSXBySnapshot'](_0x43edd7){const _0x159c05=_0xa7b48d;return this[_0x159c05(0x115)](_0x43edd7);}async['exportXLSXBySnapshotAsync'](_0x478ec8){const _0x411ead=_0xa7b48d,_0x2dd94d=this['_injector']['get'](r[_0x411ead(0x125)]);if(!_0x2dd94d)throw new Error(_0x411ead(0x129));return _0x2dd94d[_0x411ead(0x112)](_0x478ec8);}async['importDOCXToUnitId'](_0x3e957a){const _0xd6aa67=_0xa7b48d;return this[_0xd6aa67(0x114)](_0x3e957a);}async[_0xa7b48d(0x114)](_0x230e7b){const _0x40fa9e=_0xa7b48d,_0x5bc26b=this['_injector'][_0x40fa9e(0x11b)](r['IExchangeService']);if(!_0x5bc26b)throw new Error(_0x40fa9e(0x129));return _0x5bc26b[_0x40fa9e(0x121)](_0x230e7b,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x4c5616){return this['importDOCXToSnapshotAsync'](_0x4c5616);}async[_0xa7b48d(0x119)](_0x4ce1de){const _0x552d2c=_0xa7b48d,_0x2e6eca=this[_0x552d2c(0x12d)][_0x552d2c(0x11b)](r['IExchangeService']);if(!_0x2e6eca)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2e6eca[_0x552d2c(0x10f)](_0x4ce1de);}}i[_0xa7b48d(0x12a)][_0xa7b48d(0x11f)](c);