@univerjs-pro/exchange-client 0.6.10-experimental.20250410-d40d076 → 0.6.10-nightly.202504101607

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 _0x5ca0d0=_0x445d;(function(_0x364569,_0x2351e2){const _0xb1b83a=_0x445d,_0x16b64a=_0x364569();while(!![]){try{const _0x42c711=-parseInt(_0xb1b83a(0x1dc))/0x1*(-parseInt(_0xb1b83a(0x1d3))/0x2)+-parseInt(_0xb1b83a(0x1c8))/0x3+parseInt(_0xb1b83a(0x1d5))/0x4+-parseInt(_0xb1b83a(0x1d4))/0x5+-parseInt(_0xb1b83a(0x1df))/0x6+parseInt(_0xb1b83a(0x1ce))/0x7+parseInt(_0xb1b83a(0x1cb))/0x8*(parseInt(_0xb1b83a(0x1d0))/0x9);if(_0x42c711===_0x2351e2)break;else _0x16b64a['push'](_0x16b64a['shift']());}catch(_0x5791ac){_0x16b64a['push'](_0x16b64a['shift']());}}}(_0x1e7f,0x648d5));function _0x1e7f(){const _0x50be9b=['3047fomdDi','importXLSXToSnapshot','_injector','2702868hzGuLK','IExchangeService','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','exportXLSXByUnitIdAsync','UNIVER_SHEET','importXLSXToSnapshotAsync','importXLSXToUnitId','exportXLSXBySnapshotAsync','get','1840068wvtWqE','UNIVER_SLIDE','exportXLSXBySnapshot','1696728bQxmHn','importDOCXToSnapshot','importDOCXToSnapshotAsync','580741PIIriq','UNRECOGNIZED','81hlQTaj','importDOCXToUnitId','UNIVER_PROJECT','8HvktxZ','3586405VsUJZf','756024EnRBdO','importXLSXToUnitIdAsync','FUniver','UNIVER_DOC','importDOCXToUnitIdAsync','@univerjs/core/facade','importFileToUnitId'];_0x1e7f=function(){return _0x50be9b;};return _0x1e7f();}function _0x445d(_0x3fbc06,_0x51f0cb){const _0x1e7f36=_0x1e7f();return _0x445d=function(_0x445d2c,_0x4ac3b3){_0x445d2c=_0x445d2c-0x1c3;let _0x45485a=_0x1e7f36[_0x445d2c];return _0x45485a;},_0x445d(_0x3fbc06,_0x51f0cb);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x5ca0d0(0x1da));var o=(_0x3cca87=>(_0x3cca87[_0x3cca87[_0x5ca0d0(0x1e3)]=0x0]='UNIVER_UNKNOWN',_0x3cca87[_0x3cca87[_0x5ca0d0(0x1d8)]=0x1]='UNIVER_DOC',_0x3cca87[_0x3cca87[_0x5ca0d0(0x1c3)]=0x2]=_0x5ca0d0(0x1c3),_0x3cca87[_0x3cca87[_0x5ca0d0(0x1c9)]=0x3]=_0x5ca0d0(0x1c9),_0x3cca87[_0x3cca87[_0x5ca0d0(0x1d2)]=0x4]=_0x5ca0d0(0x1d2),_0x3cca87[_0x3cca87[_0x5ca0d0(0x1cf)]=-0x1]=_0x5ca0d0(0x1cf),_0x3cca87))(o||{});class c extends i[_0x5ca0d0(0x1d7)]{async[_0x5ca0d0(0x1c5)](_0x1e369a){const _0x2d12c4=_0x5ca0d0;return this[_0x2d12c4(0x1d6)](_0x1e369a);}async['importXLSXToUnitIdAsync'](_0x36efcd){const _0x517e3d=_0x5ca0d0,_0x168292=this[_0x517e3d(0x1de)][_0x517e3d(0x1c7)](r[_0x517e3d(0x1e0)]);if(!_0x168292)throw new Error(_0x517e3d(0x1e2));return _0x168292[_0x517e3d(0x1db)](_0x36efcd,o[_0x517e3d(0x1c3)]);}async[_0x5ca0d0(0x1dd)](_0x24e316){const _0x5e55b6=_0x5ca0d0;return this[_0x5e55b6(0x1c4)](_0x24e316);}async[_0x5ca0d0(0x1c4)](_0x57309f){const _0xd5459f=_0x5ca0d0,_0x3a5997=this[_0xd5459f(0x1de)][_0xd5459f(0x1c7)](r['IExchangeService']);if(!_0x3a5997)throw new Error(_0xd5459f(0x1e2));return _0x3a5997[_0xd5459f(0x1dd)](_0x57309f);}async[_0x5ca0d0(0x1e1)](_0x42c7ec){const _0x5eeb6d=_0x5ca0d0;return this[_0x5eeb6d(0x1e4)](_0x42c7ec);}async[_0x5ca0d0(0x1e4)](_0x29bca7){const _0x268725=_0x5ca0d0,_0x4cf2a4=this['_injector'][_0x268725(0x1c7)](r['IExchangeService']);if(!_0x4cf2a4)throw new Error(_0x268725(0x1e2));return _0x4cf2a4[_0x268725(0x1e1)](_0x29bca7);}async[_0x5ca0d0(0x1ca)](_0xe2e96){const _0x3ca040=_0x5ca0d0;return this[_0x3ca040(0x1c6)](_0xe2e96);}async[_0x5ca0d0(0x1c6)](_0x100536){const _0x2a74f0=_0x5ca0d0,_0x346106=this['_injector']['get'](r[_0x2a74f0(0x1e0)]);if(!_0x346106)throw new Error(_0x2a74f0(0x1e2));return _0x346106[_0x2a74f0(0x1ca)](_0x100536);}async[_0x5ca0d0(0x1d1)](_0x1a4831){const _0x4a1711=_0x5ca0d0;return this[_0x4a1711(0x1d9)](_0x1a4831);}async['importDOCXToUnitIdAsync'](_0x2062c3){const _0x2309e6=_0x5ca0d0,_0x566899=this[_0x2309e6(0x1de)][_0x2309e6(0x1c7)](r[_0x2309e6(0x1e0)]);if(!_0x566899)throw new Error(_0x2309e6(0x1e2));return _0x566899[_0x2309e6(0x1db)](_0x2062c3,o[_0x2309e6(0x1d8)]);}async['importDOCXToSnapshot'](_0x51c37f){const _0x507e45=_0x5ca0d0;return this[_0x507e45(0x1cd)](_0x51c37f);}async[_0x5ca0d0(0x1cd)](_0xc28790){const _0x275789=_0x5ca0d0,_0x3c975c=this[_0x275789(0x1de)]['get'](r[_0x275789(0x1e0)]);if(!_0x3c975c)throw new Error(_0x275789(0x1e2));return _0x3c975c[_0x275789(0x1cc)](_0xc28790);}}i[_0x5ca0d0(0x1d7)]['extend'](c);
1
+ 'use strict';function _0xbb2a(_0x743ea2,_0x3b6de5){const _0x8529d4=_0x8529();return _0xbb2a=function(_0xbb2afa,_0xcb722){_0xbb2afa=_0xbb2afa-0x17e;let _0xbed670=_0x8529d4[_0xbb2afa];return _0xbed670;},_0xbb2a(_0x743ea2,_0x3b6de5);}const _0x596fb8=_0xbb2a;(function(_0x865ca1,_0x9bd684){const _0x4ee150=_0xbb2a,_0x3902e6=_0x865ca1();while(!![]){try{const _0x3d999a=-parseInt(_0x4ee150(0x187))/0x1*(parseInt(_0x4ee150(0x197))/0x2)+parseInt(_0x4ee150(0x19e))/0x3+parseInt(_0x4ee150(0x186))/0x4+-parseInt(_0x4ee150(0x181))/0x5+parseInt(_0x4ee150(0x192))/0x6*(parseInt(_0x4ee150(0x190))/0x7)+parseInt(_0x4ee150(0x19a))/0x8*(-parseInt(_0x4ee150(0x1a2))/0x9)+-parseInt(_0x4ee150(0x182))/0xa*(-parseInt(_0x4ee150(0x195))/0xb);if(_0x3d999a===_0x9bd684)break;else _0x3902e6['push'](_0x3902e6['shift']());}catch(_0x522203){_0x3902e6['push'](_0x3902e6['shift']());}}}(_0x8529,0xa04b9));const r=require(_0x596fb8(0x17e)),i=require(_0x596fb8(0x185));var o=(_0x42d309=>(_0x42d309[_0x42d309[_0x596fb8(0x18e)]=0x0]='UNIVER_UNKNOWN',_0x42d309[_0x42d309['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x42d309[_0x42d309[_0x596fb8(0x19c)]=0x2]=_0x596fb8(0x19c),_0x42d309[_0x42d309[_0x596fb8(0x18a)]=0x3]=_0x596fb8(0x18a),_0x42d309[_0x42d309[_0x596fb8(0x17f)]=0x4]=_0x596fb8(0x17f),_0x42d309[_0x42d309['UNRECOGNIZED']=-0x1]=_0x596fb8(0x18c),_0x42d309))(o||{});class c extends i[_0x596fb8(0x1a1)]{async[_0x596fb8(0x189)](_0x508a7c){const _0xc8104d=_0x596fb8;return this[_0xc8104d(0x194)](_0x508a7c);}async[_0x596fb8(0x194)](_0x4809c1){const _0x19d511=_0x596fb8,_0x29e18a=this[_0x19d511(0x196)][_0x19d511(0x183)](r[_0x19d511(0x199)]);if(!_0x29e18a)throw new Error(_0x19d511(0x191));return _0x29e18a[_0x19d511(0x19b)](_0x4809c1,o[_0x19d511(0x19c)]);}async[_0x596fb8(0x188)](_0x5710f8){const _0x878e27=_0x596fb8;return this[_0x878e27(0x1a0)](_0x5710f8);}async[_0x596fb8(0x1a0)](_0x4b0fc3){const _0x4fa2e9=_0x596fb8,_0x3b0780=this['_injector'][_0x4fa2e9(0x183)](r[_0x4fa2e9(0x199)]);if(!_0x3b0780)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3b0780[_0x4fa2e9(0x188)](_0x4b0fc3);}async[_0x596fb8(0x18b)](_0x15de65){const _0x378c8f=_0x596fb8;return this[_0x378c8f(0x193)](_0x15de65);}async[_0x596fb8(0x193)](_0x1852ad){const _0x2113c3=_0x596fb8,_0x4170f3=this['_injector']['get'](r[_0x2113c3(0x199)]);if(!_0x4170f3)throw new Error(_0x2113c3(0x191));return _0x4170f3[_0x2113c3(0x18b)](_0x1852ad);}async['exportXLSXBySnapshot'](_0x46f052){const _0x509456=_0x596fb8;return this[_0x509456(0x198)](_0x46f052);}async[_0x596fb8(0x198)](_0x499f38){const _0xf05472=_0x596fb8,_0x1bab56=this['_injector'][_0xf05472(0x183)](r[_0xf05472(0x199)]);if(!_0x1bab56)throw new Error(_0xf05472(0x191));return _0x1bab56[_0xf05472(0x184)](_0x499f38);}async[_0x596fb8(0x18f)](_0x37cad8){const _0x3e28f2=_0x596fb8;return this[_0x3e28f2(0x19d)](_0x37cad8);}async[_0x596fb8(0x19d)](_0x53bcdd){const _0x16e4c7=_0x596fb8,_0x2e04f9=this[_0x16e4c7(0x196)][_0x16e4c7(0x183)](r['IExchangeService']);if(!_0x2e04f9)throw new Error(_0x16e4c7(0x191));return _0x2e04f9['importFileToUnitId'](_0x53bcdd,o['UNIVER_DOC']);}async[_0x596fb8(0x180)](_0x5c34b2){const _0x969ef9=_0x596fb8;return this[_0x969ef9(0x18d)](_0x5c34b2);}async[_0x596fb8(0x18d)](_0x3205d){const _0x46d697=_0x596fb8,_0x8a7648=this[_0x46d697(0x196)][_0x46d697(0x183)](r[_0x46d697(0x199)]);if(!_0x8a7648)throw new Error(_0x46d697(0x191));return _0x8a7648[_0x46d697(0x180)](_0x3205d);}}function _0x8529(){const _0x3da338=['importDOCXToUnitId','2642479TOuFAG','The\x20exchange\x20service\x20is\x20not\x20available','18OVIrWj','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','212564ciyVQo','_injector','3652zKwJeo','exportXLSXBySnapshotAsync','IExchangeService','1448008sYiAoF','importFileToUnitId','UNIVER_SHEET','importDOCXToUnitIdAsync','2889642Stkgta','extend','importXLSXToSnapshotAsync','FUniver','63xwwDLD','@univerjs-pro/exchange-client','UNIVER_PROJECT','importDOCXToSnapshot','6133870VTCgrM','390BHnnnX','get','exportXLSXBySnapshot','@univerjs/core/facade','2672140GaNbyy','201cdtWXi','importXLSXToSnapshot','importXLSXToUnitId','UNIVER_SLIDE','exportXLSXByUnitId','UNRECOGNIZED','importDOCXToSnapshotAsync','UNIVER_UNKNOWN'];_0x8529=function(){return _0x3da338;};return _0x8529();}i[_0x596fb8(0x1a1)][_0x596fb8(0x19f)](c);