@univerjs-pro/exchange-client 0.6.6-nightly.202503231605 → 0.6.6-nightly.202503241607

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 _0x4d8c(_0x3899b5,_0x48745a){const _0x2bbd67=_0x2bbd();return _0x4d8c=function(_0x4d8c8c,_0x1fa659){_0x4d8c8c=_0x4d8c8c-0x1d8;let _0x5bebcc=_0x2bbd67[_0x4d8c8c];return _0x5bebcc;},_0x4d8c(_0x3899b5,_0x48745a);}const _0x3638d4=_0x4d8c;(function(_0x134f50,_0x16f9d2){const _0x3c1a98=_0x4d8c,_0x15761d=_0x134f50();while(!![]){try{const _0xa629a7=-parseInt(_0x3c1a98(0x1ef))/0x1*(parseInt(_0x3c1a98(0x1e4))/0x2)+-parseInt(_0x3c1a98(0x1da))/0x3+parseInt(_0x3c1a98(0x1f2))/0x4+-parseInt(_0x3c1a98(0x1ed))/0x5+-parseInt(_0x3c1a98(0x1f6))/0x6+parseInt(_0x3c1a98(0x1d8))/0x7*(parseInt(_0x3c1a98(0x1e7))/0x8)+-parseInt(_0x3c1a98(0x1dd))/0x9*(-parseInt(_0x3c1a98(0x1f3))/0xa);if(_0xa629a7===_0x16f9d2)break;else _0x15761d['push'](_0x15761d['shift']());}catch(_0x33117e){_0x15761d['push'](_0x15761d['shift']());}}}(_0x2bbd,0x8ae6c));const r=require('@univerjs-pro/exchange-client'),i=require(_0x3638d4(0x1f5));var o=(_0x3f4e54=>(_0x3f4e54[_0x3f4e54[_0x3638d4(0x1e9)]=0x0]='UNIVER_UNKNOWN',_0x3f4e54[_0x3f4e54[_0x3638d4(0x1d9)]=0x1]=_0x3638d4(0x1d9),_0x3f4e54[_0x3f4e54[_0x3638d4(0x1df)]=0x2]=_0x3638d4(0x1df),_0x3f4e54[_0x3f4e54['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x3f4e54[_0x3f4e54[_0x3638d4(0x1e6)]=0x4]=_0x3638d4(0x1e6),_0x3f4e54[_0x3f4e54[_0x3638d4(0x1e2)]=-0x1]=_0x3638d4(0x1e2),_0x3f4e54))(o||{});class c extends i[_0x3638d4(0x1eb)]{async['importXLSXToUnitId'](_0xf615b3){const _0x1f0b8c=_0x3638d4;return this[_0x1f0b8c(0x1de)](_0xf615b3);}async[_0x3638d4(0x1de)](_0x343829){const _0x19c569=_0x3638d4,_0x3a3e78=this[_0x19c569(0x1f4)][_0x19c569(0x1e0)](r[_0x19c569(0x1e8)]);if(!_0x3a3e78)throw new Error(_0x19c569(0x1f1));return _0x3a3e78[_0x19c569(0x1f7)](_0x343829,o['UNIVER_SHEET']);}async[_0x3638d4(0x1db)](_0x51f636){const _0x51aab7=_0x3638d4;return this[_0x51aab7(0x1f8)](_0x51f636);}async['importXLSXToSnapshotAsync'](_0x165ad1){const _0xb5d9df=_0x3638d4,_0x5d0ecf=this[_0xb5d9df(0x1f4)]['get'](r[_0xb5d9df(0x1e8)]);if(!_0x5d0ecf)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5d0ecf[_0xb5d9df(0x1db)](_0x165ad1);}async[_0x3638d4(0x1e1)](_0x3e5d88){return this['exportXLSXByUnitIdAsync'](_0x3e5d88);}async[_0x3638d4(0x1e5)](_0x47ea96){const _0x43453c=_0x3638d4,_0x53e923=this['_injector'][_0x43453c(0x1e0)](r[_0x43453c(0x1e8)]);if(!_0x53e923)throw new Error(_0x43453c(0x1f1));return _0x53e923[_0x43453c(0x1e1)](_0x47ea96);}async[_0x3638d4(0x1dc)](_0x55db8d){const _0x2c11c0=_0x3638d4;return this[_0x2c11c0(0x1ec)](_0x55db8d);}async['exportXLSXBySnapshotAsync'](_0x1f507d){const _0x37680d=_0x3638d4,_0x282282=this[_0x37680d(0x1f4)][_0x37680d(0x1e0)](r[_0x37680d(0x1e8)]);if(!_0x282282)throw new Error(_0x37680d(0x1f1));return _0x282282[_0x37680d(0x1dc)](_0x1f507d);}async[_0x3638d4(0x1f0)](_0x149b93){return this['importDOCXToUnitIdAsync'](_0x149b93);}async[_0x3638d4(0x1e3)](_0x19d799){const _0x55c7e4=_0x3638d4,_0x12e063=this[_0x55c7e4(0x1f4)]['get'](r[_0x55c7e4(0x1e8)]);if(!_0x12e063)throw new Error(_0x55c7e4(0x1f1));return _0x12e063[_0x55c7e4(0x1f7)](_0x19d799,o[_0x55c7e4(0x1d9)]);}async['importDOCXToSnapshot'](_0x2bb7a8){return this['importDOCXToSnapshotAsync'](_0x2bb7a8);}async[_0x3638d4(0x1ee)](_0x5983ad){const _0x737cb2=_0x3638d4,_0x4cbe1c=this[_0x737cb2(0x1f4)]['get'](r['IExchangeService']);if(!_0x4cbe1c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4cbe1c[_0x737cb2(0x1ea)](_0x5983ad);}}i[_0x3638d4(0x1eb)]['extend'](c);function _0x2bbd(){const _0x2fb21b=['importXLSXToSnapshot','exportXLSXBySnapshot','27cayfQy','importXLSXToUnitIdAsync','UNIVER_SHEET','get','exportXLSXByUnitId','UNRECOGNIZED','importDOCXToUnitIdAsync','4OJAMAI','exportXLSXByUnitIdAsync','UNIVER_PROJECT','8oPETpK','IExchangeService','UNIVER_UNKNOWN','importDOCXToSnapshot','FUniver','exportXLSXBySnapshotAsync','1615050LHqpFO','importDOCXToSnapshotAsync','423597WgSXnz','importDOCXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','551628XOONPD','8958850mfvAdR','_injector','@univerjs/core/facade','6520980sDIsMn','importFileToUnitId','importXLSXToSnapshotAsync','6287449HvMCfk','UNIVER_DOC','2693385KyavBr'];_0x2bbd=function(){return _0x2fb21b;};return _0x2bbd();}
1
+ 'use strict';const _0x3819b3=_0x4c03;function _0x341d(){const _0x339305=['17586xqgwHO','4539174vklNFP','importXLSXToSnapshot','210239MotWBT','UNIVER_DOC','201520GoqEqy','exportXLSXBySnapshot','@univerjs/core/facade','UNIVER_PROJECT','46zjKMXV','UNIVER_SLIDE','UNRECOGNIZED','7437549jhjMJx','importDOCXToSnapshotAsync','459rZcABi','importXLSXToUnitIdAsync','extend','exportXLSXByUnitIdAsync','importDOCXToSnapshot','importXLSXToSnapshotAsync','6909760HhxaKJ','importFileToUnitId','exportXLSXByUnitId','UNIVER_SHEET','importDOCXToUnitIdAsync','IExchangeService','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','_injector','get','importDOCXToUnitId','358032zUPmuW','UNIVER_UNKNOWN','FUniver'];_0x341d=function(){return _0x339305;};return _0x341d();}(function(_0x54e570,_0x3b56e8){const _0x633f12=_0x4c03,_0x1fd9de=_0x54e570();while(!![]){try{const _0x5d3d80=parseInt(_0x633f12(0x206))/0x1+-parseInt(_0x633f12(0x20c))/0x2*(parseInt(_0x633f12(0x203))/0x3)+-parseInt(_0x633f12(0x1f5))/0x4+-parseInt(_0x633f12(0x208))/0x5+-parseInt(_0x633f12(0x204))/0x6+parseInt(_0x633f12(0x1ed))/0x7+parseInt(_0x633f12(0x200))/0x8*(parseInt(_0x633f12(0x1ef))/0x9);if(_0x5d3d80===_0x3b56e8)break;else _0x1fd9de['push'](_0x1fd9de['shift']());}catch(_0x1bf686){_0x1fd9de['push'](_0x1fd9de['shift']());}}}(_0x341d,0xdac65));function _0x4c03(_0x192241,_0x129e94){const _0x341d68=_0x341d();return _0x4c03=function(_0x4c03cc,_0x11b611){_0x4c03cc=_0x4c03cc-0x1ec;let _0x89e33a=_0x341d68[_0x4c03cc];return _0x89e33a;},_0x4c03(_0x192241,_0x129e94);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x3819b3(0x20a));var o=(_0x1ef030=>(_0x1ef030[_0x1ef030['UNIVER_UNKNOWN']=0x0]=_0x3819b3(0x201),_0x1ef030[_0x1ef030['UNIVER_DOC']=0x1]=_0x3819b3(0x207),_0x1ef030[_0x1ef030[_0x3819b3(0x1f8)]=0x2]=_0x3819b3(0x1f8),_0x1ef030[_0x1ef030[_0x3819b3(0x20d)]=0x3]=_0x3819b3(0x20d),_0x1ef030[_0x1ef030[_0x3819b3(0x20b)]=0x4]='UNIVER_PROJECT',_0x1ef030[_0x1ef030[_0x3819b3(0x1ec)]=-0x1]=_0x3819b3(0x1ec),_0x1ef030))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0xd251b4){return this['importXLSXToUnitIdAsync'](_0xd251b4);}async[_0x3819b3(0x1f0)](_0x11add7){const _0xcaae79=_0x3819b3,_0x1a6538=this['_injector'][_0xcaae79(0x1fe)](r[_0xcaae79(0x1fa)]);if(!_0x1a6538)throw new Error(_0xcaae79(0x1fc));return _0x1a6538[_0xcaae79(0x1f6)](_0x11add7,o[_0xcaae79(0x1f8)]);}async[_0x3819b3(0x205)](_0x4831a6){const _0x404ffb=_0x3819b3;return this[_0x404ffb(0x1f4)](_0x4831a6);}async[_0x3819b3(0x1f4)](_0x2eed84){const _0x2fdc8e=_0x3819b3,_0x4f6c59=this[_0x2fdc8e(0x1fd)]['get'](r[_0x2fdc8e(0x1fa)]);if(!_0x4f6c59)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4f6c59[_0x2fdc8e(0x205)](_0x2eed84);}async['exportXLSXByUnitId'](_0x1d3254){const _0x3fe6f8=_0x3819b3;return this[_0x3fe6f8(0x1f2)](_0x1d3254);}async[_0x3819b3(0x1f2)](_0x1890f5){const _0xeaef1b=_0x3819b3,_0x306238=this[_0xeaef1b(0x1fd)][_0xeaef1b(0x1fe)](r['IExchangeService']);if(!_0x306238)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x306238[_0xeaef1b(0x1f7)](_0x1890f5);}async[_0x3819b3(0x209)](_0x58da82){const _0x49ad28=_0x3819b3;return this[_0x49ad28(0x1fb)](_0x58da82);}async[_0x3819b3(0x1fb)](_0x31a047){const _0x144294=_0x3819b3,_0x2b646a=this[_0x144294(0x1fd)][_0x144294(0x1fe)](r[_0x144294(0x1fa)]);if(!_0x2b646a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2b646a[_0x144294(0x209)](_0x31a047);}async[_0x3819b3(0x1ff)](_0x4832c0){return this['importDOCXToUnitIdAsync'](_0x4832c0);}async[_0x3819b3(0x1f9)](_0x1fe727){const _0x32c47a=_0x3819b3,_0x405872=this[_0x32c47a(0x1fd)][_0x32c47a(0x1fe)](r[_0x32c47a(0x1fa)]);if(!_0x405872)throw new Error(_0x32c47a(0x1fc));return _0x405872[_0x32c47a(0x1f6)](_0x1fe727,o[_0x32c47a(0x207)]);}async[_0x3819b3(0x1f3)](_0x27abd9){const _0x2bbdf2=_0x3819b3;return this[_0x2bbdf2(0x1ee)](_0x27abd9);}async[_0x3819b3(0x1ee)](_0x14af69){const _0x246d05=_0x3819b3,_0x3c6da1=this['_injector'][_0x246d05(0x1fe)](r[_0x246d05(0x1fa)]);if(!_0x3c6da1)throw new Error(_0x246d05(0x1fc));return _0x3c6da1['importDOCXToSnapshot'](_0x14af69);}}i[_0x3819b3(0x202)][_0x3819b3(0x1f1)](c);