@univerjs-pro/exchange-client 0.6.0-experimental.20250212-dbe9830 → 0.6.0-experimental.20250220-d9a8e74

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 _0x1af48b=_0x4942;(function(_0xba28ed,_0x139d7e){const _0x955f6c=_0x4942,_0x3da470=_0xba28ed();while(!![]){try{const _0x243c99=parseInt(_0x955f6c(0x1b4))/0x1*(-parseInt(_0x955f6c(0x1b1))/0x2)+-parseInt(_0x955f6c(0x1bd))/0x3+parseInt(_0x955f6c(0x1ac))/0x4+-parseInt(_0x955f6c(0x1b0))/0x5*(-parseInt(_0x955f6c(0x1ab))/0x6)+parseInt(_0x955f6c(0x19f))/0x7*(parseInt(_0x955f6c(0x1af))/0x8)+parseInt(_0x955f6c(0x1b2))/0x9*(-parseInt(_0x955f6c(0x1a8))/0xa)+parseInt(_0x955f6c(0x1b7))/0xb;if(_0x243c99===_0x139d7e)break;else _0x3da470['push'](_0x3da470['shift']());}catch(_0x3ddaf0){_0x3da470['push'](_0x3da470['shift']());}}}(_0x1687,0x315a4));function _0x4942(_0x18615f,_0x4ce928){const _0x16875a=_0x1687();return _0x4942=function(_0x4942e7,_0x347d3b){_0x4942e7=_0x4942e7-0x19b;let _0x377602=_0x16875a[_0x4942e7];return _0x377602;},_0x4942(_0x18615f,_0x4ce928);}const r=require(_0x1af48b(0x1a0)),i=require(_0x1af48b(0x1a5));function _0x1687(){const _0x4ec1fd=['UNIVER_DOC','5475162ZdYOCr','UNIVER_SHEET','importXLSXToUnitIdAsync','IExchangeService','importDOCXToUnitIdAsync','_injector','716610HWnpBw','importXLSXToUnitId','exportXLSXBySnapshotAsync','UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','exportXLSXByUnitId','2222129QPeOhr','@univerjs-pro/exchange-client','importXLSXToSnapshotAsync','UNIVER_PROJECT','extend','UNIVER_SLIDE','@univerjs/core','importFileToUnitId','get','20yLbQvH','importXLSXToSnapshot','UNIVER_UNKNOWN','1514082JZyqFN','220796tJNBAx','exportXLSXByUnitIdAsync','importDOCXToSnapshot','8WnyUpB','5dFTAeA','14QRJyMM','1564578UWVdYY','exportXLSXBySnapshot','47719gHXYBu','importDOCXToSnapshotAsync'];_0x1687=function(){return _0x4ec1fd;};return _0x1687();}var o=(_0x1a5742=>(_0x1a5742[_0x1a5742[_0x1af48b(0x1aa)]=0x0]='UNIVER_UNKNOWN',_0x1a5742[_0x1a5742[_0x1af48b(0x1b6)]=0x1]=_0x1af48b(0x1b6),_0x1a5742[_0x1a5742['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x1a5742[_0x1a5742[_0x1af48b(0x1a4)]=0x3]='UNIVER_SLIDE',_0x1a5742[_0x1a5742[_0x1af48b(0x1a2)]=0x4]='UNIVER_PROJECT',_0x1a5742[_0x1a5742[_0x1af48b(0x19b)]=-0x1]='UNRECOGNIZED',_0x1a5742))(o||{});class c extends i[_0x1af48b(0x19d)]{async[_0x1af48b(0x1be)](_0x4e1840){const _0xe35f3d=_0x1af48b;return this[_0xe35f3d(0x1b9)](_0x4e1840);}async[_0x1af48b(0x1b9)](_0x206f53){const _0x399c15=_0x1af48b,_0x4cf2bd=this[_0x399c15(0x1bc)][_0x399c15(0x1a7)](r[_0x399c15(0x1ba)]);if(!_0x4cf2bd)throw new Error(_0x399c15(0x19c));return _0x4cf2bd[_0x399c15(0x1a6)](_0x206f53,o[_0x399c15(0x1b8)]);}async[_0x1af48b(0x1a9)](_0x28e45b){const _0x4eb56e=_0x1af48b;return this[_0x4eb56e(0x1a1)](_0x28e45b);}async['importXLSXToSnapshotAsync'](_0x12a0fb){const _0x4d4c80=_0x1af48b,_0x52adcc=this['_injector'][_0x4d4c80(0x1a7)](r['IExchangeService']);if(!_0x52adcc)throw new Error(_0x4d4c80(0x19c));return _0x52adcc[_0x4d4c80(0x1a9)](_0x12a0fb);}async[_0x1af48b(0x19e)](_0x353f19){const _0x1fbc7b=_0x1af48b;return this[_0x1fbc7b(0x1ad)](_0x353f19);}async[_0x1af48b(0x1ad)](_0x5e9dca){const _0xd136f0=_0x1af48b,_0x104019=this['_injector'][_0xd136f0(0x1a7)](r['IExchangeService']);if(!_0x104019)throw new Error(_0xd136f0(0x19c));return _0x104019['exportXLSXByUnitId'](_0x5e9dca);}async[_0x1af48b(0x1b3)](_0x78328a){const _0x2bc8f1=_0x1af48b;return this[_0x2bc8f1(0x1bf)](_0x78328a);}async[_0x1af48b(0x1bf)](_0x46bdb6){const _0x404a47=_0x1af48b,_0x2dee99=this[_0x404a47(0x1bc)][_0x404a47(0x1a7)](r['IExchangeService']);if(!_0x2dee99)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2dee99[_0x404a47(0x1b3)](_0x46bdb6);}async['importDOCXToUnitId'](_0x13cea5){const _0xb37603=_0x1af48b;return this[_0xb37603(0x1bb)](_0x13cea5);}async[_0x1af48b(0x1bb)](_0x26917a){const _0x185707=_0x1af48b,_0x44c0c2=this[_0x185707(0x1bc)][_0x185707(0x1a7)](r[_0x185707(0x1ba)]);if(!_0x44c0c2)throw new Error(_0x185707(0x19c));return _0x44c0c2['importFileToUnitId'](_0x26917a,o[_0x185707(0x1b6)]);}async[_0x1af48b(0x1ae)](_0x46ab96){const _0x1a03ab=_0x1af48b;return this[_0x1a03ab(0x1b5)](_0x46ab96);}async[_0x1af48b(0x1b5)](_0x3c3b03){const _0x9be481=_0x1af48b,_0x2a9acb=this['_injector']['get'](r['IExchangeService']);if(!_0x2a9acb)throw new Error(_0x9be481(0x19c));return _0x2a9acb[_0x9be481(0x1ae)](_0x3c3b03);}}i[_0x1af48b(0x19d)][_0x1af48b(0x1a3)](c);
1
+ 'use strict';const _0x1e9d19=_0x2129;(function(_0x581947,_0x549d9c){const _0x45f392=_0x2129,_0x2b33fb=_0x581947();while(!![]){try{const _0xcb4c78=-parseInt(_0x45f392(0xd5))/0x1+parseInt(_0x45f392(0xde))/0x2*(-parseInt(_0x45f392(0xcd))/0x3)+-parseInt(_0x45f392(0xc7))/0x4+parseInt(_0x45f392(0xdd))/0x5*(parseInt(_0x45f392(0xdf))/0x6)+-parseInt(_0x45f392(0xcb))/0x7+parseInt(_0x45f392(0xe2))/0x8*(parseInt(_0x45f392(0xe3))/0x9)+parseInt(_0x45f392(0xdc))/0xa;if(_0xcb4c78===_0x549d9c)break;else _0x2b33fb['push'](_0x2b33fb['shift']());}catch(_0xcb4857){_0x2b33fb['push'](_0x2b33fb['shift']());}}}(_0x5709,0xb6456));function _0x5709(){const _0x3d5dc0=['@univerjs-pro/exchange-client','importXLSXToUnitIdAsync','importDOCXToUnitId','exportXLSXBySnapshotAsync','81664ygjflV','exportXLSXByUnitIdAsync','_injector','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','exportXLSXByUnitId','8453000STwzBi','1162575XcDWOs','26pPObnf','24gkOktI','exportXLSXBySnapshot','importXLSXToSnapshotAsync','8zKqRGM','6014421Ilpsvr','UNRECOGNIZED','importDOCXToUnitIdAsync','@univerjs/core/facade','extend','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','4053224UauduP','get','IExchangeService','importDOCXToSnapshot','695660zUBTTk','importFileToUnitId','116007SklIFV','UNIVER_DOC','UNIVER_PROJECT','UNIVER_SLIDE'];_0x5709=function(){return _0x3d5dc0;};return _0x5709();}const r=require(_0x1e9d19(0xd1)),i=require(_0x1e9d19(0xc3));function _0x2129(_0x12f3ab,_0x2c6bb6){const _0x570912=_0x5709();return _0x2129=function(_0x21298c,_0x1ea837){_0x21298c=_0x21298c-0xc3;let _0x2e6bdc=_0x570912[_0x21298c];return _0x2e6bdc;},_0x2129(_0x12f3ab,_0x2c6bb6);}var o=(_0x1339dd=>(_0x1339dd[_0x1339dd[_0x1e9d19(0xc6)]=0x0]=_0x1e9d19(0xc6),_0x1339dd[_0x1339dd[_0x1e9d19(0xce)]=0x1]='UNIVER_DOC',_0x1339dd[_0x1339dd[_0x1e9d19(0xd8)]=0x2]='UNIVER_SHEET',_0x1339dd[_0x1339dd[_0x1e9d19(0xd0)]=0x3]='UNIVER_SLIDE',_0x1339dd[_0x1339dd['UNIVER_PROJECT']=0x4]=_0x1e9d19(0xcf),_0x1339dd[_0x1339dd[_0x1e9d19(0xe4)]=-0x1]='UNRECOGNIZED',_0x1339dd))(o||{});class c extends i[_0x1e9d19(0xda)]{async['importXLSXToUnitId'](_0x235fa1){return this['importXLSXToUnitIdAsync'](_0x235fa1);}async[_0x1e9d19(0xd2)](_0x28dcd9){const _0x534beb=_0x1e9d19,_0x3a97ed=this[_0x534beb(0xd7)][_0x534beb(0xc8)](r[_0x534beb(0xc9)]);if(!_0x3a97ed)throw new Error(_0x534beb(0xd9));return _0x3a97ed[_0x534beb(0xcc)](_0x28dcd9,o[_0x534beb(0xd8)]);}async['importXLSXToSnapshot'](_0x56e2ce){return this['importXLSXToSnapshotAsync'](_0x56e2ce);}async[_0x1e9d19(0xe1)](_0x295528){const _0x310bc5=_0x1e9d19,_0x402a91=this['_injector'][_0x310bc5(0xc8)](r[_0x310bc5(0xc9)]);if(!_0x402a91)throw new Error(_0x310bc5(0xd9));return _0x402a91['importXLSXToSnapshot'](_0x295528);}async[_0x1e9d19(0xdb)](_0x143909){const _0x69ac8e=_0x1e9d19;return this[_0x69ac8e(0xd6)](_0x143909);}async[_0x1e9d19(0xd6)](_0x19a8da){const _0x33bdd0=_0x1e9d19,_0x206115=this[_0x33bdd0(0xd7)][_0x33bdd0(0xc8)](r[_0x33bdd0(0xc9)]);if(!_0x206115)throw new Error(_0x33bdd0(0xd9));return _0x206115[_0x33bdd0(0xdb)](_0x19a8da);}async[_0x1e9d19(0xe0)](_0x28d46b){const _0x3304ae=_0x1e9d19;return this[_0x3304ae(0xd4)](_0x28d46b);}async[_0x1e9d19(0xd4)](_0x420d48){const _0x3a1bc1=_0x1e9d19,_0x550acc=this['_injector'][_0x3a1bc1(0xc8)](r['IExchangeService']);if(!_0x550acc)throw new Error(_0x3a1bc1(0xd9));return _0x550acc[_0x3a1bc1(0xe0)](_0x420d48);}async[_0x1e9d19(0xd3)](_0x6a78de){return this['importDOCXToUnitIdAsync'](_0x6a78de);}async[_0x1e9d19(0xe5)](_0x2af52c){const _0x3fc98b=_0x1e9d19,_0x590610=this[_0x3fc98b(0xd7)][_0x3fc98b(0xc8)](r[_0x3fc98b(0xc9)]);if(!_0x590610)throw new Error(_0x3fc98b(0xd9));return _0x590610['importFileToUnitId'](_0x2af52c,o[_0x3fc98b(0xce)]);}async[_0x1e9d19(0xca)](_0x287a72){const _0x22f386=_0x1e9d19;return this[_0x22f386(0xc5)](_0x287a72);}async[_0x1e9d19(0xc5)](_0x3e2aec){const _0x555c4f=_0x1e9d19,_0x301d51=this[_0x555c4f(0xd7)][_0x555c4f(0xc8)](r['IExchangeService']);if(!_0x301d51)throw new Error(_0x555c4f(0xd9));return _0x301d51[_0x555c4f(0xca)](_0x3e2aec);}}i['FUniver'][_0x1e9d19(0xc4)](c);