@univerjs-pro/exchange-client 0.8.0-nightly.202505311606 → 0.8.0-nightly.202506011606

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 _0x103c96=_0x55d3;(function(_0x4864d1,_0x1d0fe1){const _0x3c54a7=_0x55d3,_0x21e4b4=_0x4864d1();while(!![]){try{const _0x4fbca1=-parseInt(_0x3c54a7(0x16a))/0x1+parseInt(_0x3c54a7(0x16b))/0x2+parseInt(_0x3c54a7(0x17d))/0x3*(-parseInt(_0x3c54a7(0x17f))/0x4)+parseInt(_0x3c54a7(0x160))/0x5+-parseInt(_0x3c54a7(0x182))/0x6*(-parseInt(_0x3c54a7(0x15f))/0x7)+parseInt(_0x3c54a7(0x175))/0x8*(parseInt(_0x3c54a7(0x17c))/0x9)+-parseInt(_0x3c54a7(0x16c))/0xa*(parseInt(_0x3c54a7(0x168))/0xb);if(_0x4fbca1===_0x1d0fe1)break;else _0x21e4b4['push'](_0x21e4b4['shift']());}catch(_0x5c24b5){_0x21e4b4['push'](_0x21e4b4['shift']());}}}(_0x5574,0x57408));const r=require('@univerjs-pro/exchange-client'),o=require(_0x103c96(0x183));var i=(_0x39808c=>(_0x39808c[_0x39808c[_0x103c96(0x165)]=0x0]=_0x103c96(0x165),_0x39808c[_0x39808c[_0x103c96(0x173)]=0x1]='UNIVER_DOC',_0x39808c[_0x39808c[_0x103c96(0x178)]=0x2]=_0x103c96(0x178),_0x39808c[_0x39808c[_0x103c96(0x16f)]=0x3]=_0x103c96(0x16f),_0x39808c[_0x39808c[_0x103c96(0x170)]=0x4]='UNIVER_PROJECT',_0x39808c[_0x39808c[_0x103c96(0x162)]=-0x1]=_0x103c96(0x162),_0x39808c))(i||{});function _0x5574(){const _0xa1882c=['UNIVER_DOC','importDOCXToSnapshotAsync','848576WnFlQU','exportXLSXByUnitIdAsync','extend','UNIVER_SHEET','exportDOCXBySnapshot','exportXLSXByUnitId','_injector','9LbldOG','175239bxHOYI','importXLSXToSnapshotAsync','12ntJrbA','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync','74202rNPSeW','@univerjs/core/facade','get','70lutQun','2315005YRnXkj','exportDOCXBySnapshotAsync','UNRECOGNIZED','importXLSXToUnitIdAsync','exportDOCXByUnitIdAsync','UNIVER_UNKNOWN','exportXLSXBySnapshot','IExchangeService','253uuEAmr','importXLSXToUnitId','404389jYSRca','1395014trEgBF','197060xJAwwH','importDOCXToSnapshot','importFileToUnitId','UNIVER_SLIDE','UNIVER_PROJECT','importXLSXToSnapshot','importDOCXToUnitIdAsync'];_0x5574=function(){return _0xa1882c;};return _0x5574();}function _0x55d3(_0x3aaead,_0x2cb80b){const _0x5574d9=_0x5574();return _0x55d3=function(_0x55d3f7,_0x5ed71c){_0x55d3f7=_0x55d3f7-0x15f;let _0x2f11a1=_0x5574d9[_0x55d3f7];return _0x2f11a1;},_0x55d3(_0x3aaead,_0x2cb80b);}class c extends o['FUniver']{async[_0x103c96(0x169)](_0x4fae4f){const _0x289629=_0x103c96;return this[_0x289629(0x163)](_0x4fae4f);}async[_0x103c96(0x163)](_0x1ce124){const _0x331557=_0x103c96,_0x56c6da=this['_injector'][_0x331557(0x184)](r[_0x331557(0x167)]);if(!_0x56c6da)throw new Error(_0x331557(0x180));return _0x56c6da[_0x331557(0x16e)](_0x1ce124,i['UNIVER_SHEET']);}async[_0x103c96(0x171)](_0x152c7f){return this['importXLSXToSnapshotAsync'](_0x152c7f);}async[_0x103c96(0x17e)](_0x1c2f6e){const _0x4b00c6=_0x103c96,_0x4eca66=this[_0x4b00c6(0x17b)][_0x4b00c6(0x184)](r['IExchangeService']);if(!_0x4eca66)throw new Error(_0x4b00c6(0x180));return _0x4eca66[_0x4b00c6(0x171)](_0x1c2f6e);}async[_0x103c96(0x17a)](_0x75a1df){const _0x2b8124=_0x103c96;return this[_0x2b8124(0x176)](_0x75a1df);}async['exportXLSXByUnitIdAsync'](_0xb701e0){const _0x17d16c=_0x103c96,_0x408fdd=this[_0x17d16c(0x17b)][_0x17d16c(0x184)](r[_0x17d16c(0x167)]);if(!_0x408fdd)throw new Error(_0x17d16c(0x180));return _0x408fdd[_0x17d16c(0x17a)](_0xb701e0);}async['exportXLSXBySnapshot'](_0x1546b4){return this['exportXLSXBySnapshotAsync'](_0x1546b4);}async[_0x103c96(0x181)](_0x49f606){const _0x552417=_0x103c96,_0x4c7c9b=this[_0x552417(0x17b)][_0x552417(0x184)](r[_0x552417(0x167)]);if(!_0x4c7c9b)throw new Error(_0x552417(0x180));return _0x4c7c9b[_0x552417(0x166)](_0x49f606);}async['importDOCXToUnitId'](_0x58713c){const _0x4ef556=_0x103c96;return this[_0x4ef556(0x172)](_0x58713c);}async['importDOCXToUnitIdAsync'](_0x3d1dcd){const _0x2d3712=_0x103c96,_0x64a023=this['_injector'][_0x2d3712(0x184)](r[_0x2d3712(0x167)]);if(!_0x64a023)throw new Error(_0x2d3712(0x180));return _0x64a023[_0x2d3712(0x16e)](_0x3d1dcd,i[_0x2d3712(0x173)]);}async['importDOCXToSnapshot'](_0xb19de1){const _0x3747e3=_0x103c96;return this[_0x3747e3(0x174)](_0xb19de1);}async['importDOCXToSnapshotAsync'](_0x4c12bf){const _0x484fe4=_0x103c96,_0x274d8e=this[_0x484fe4(0x17b)][_0x484fe4(0x184)](r[_0x484fe4(0x167)]);if(!_0x274d8e)throw new Error(_0x484fe4(0x180));return _0x274d8e[_0x484fe4(0x16d)](_0x4c12bf);}async[_0x103c96(0x161)](_0x1ed77b){const _0x57eca8=_0x103c96,_0x120ef6=this[_0x57eca8(0x17b)][_0x57eca8(0x184)](r[_0x57eca8(0x167)]);if(!_0x120ef6)throw new Error(_0x57eca8(0x180));return _0x120ef6[_0x57eca8(0x179)](_0x1ed77b);}async[_0x103c96(0x164)](_0x239fc7){const _0x167aeb=_0x103c96,_0x59c1b9=this[_0x167aeb(0x17b)][_0x167aeb(0x184)](r['IExchangeService']);if(!_0x59c1b9)throw new Error(_0x167aeb(0x180));return _0x59c1b9['exportDOCXByUnitId'](_0x239fc7);}}o['FUniver'][_0x103c96(0x177)](c);
1
+ 'use strict';const _0x527cd6=_0x41c9;(function(_0x2ee07c,_0x3e81e9){const _0x30de8c=_0x41c9,_0x2959c7=_0x2ee07c();while(!![]){try{const _0x9e861=-parseInt(_0x30de8c(0x20e))/0x1*(parseInt(_0x30de8c(0x1f3))/0x2)+-parseInt(_0x30de8c(0x1f8))/0x3*(-parseInt(_0x30de8c(0x1fb))/0x4)+-parseInt(_0x30de8c(0x210))/0x5*(-parseInt(_0x30de8c(0x1f2))/0x6)+parseInt(_0x30de8c(0x211))/0x7*(parseInt(_0x30de8c(0x1f9))/0x8)+-parseInt(_0x30de8c(0x208))/0x9+parseInt(_0x30de8c(0x205))/0xa*(-parseInt(_0x30de8c(0x201))/0xb)+-parseInt(_0x30de8c(0x1f5))/0xc*(parseInt(_0x30de8c(0x1ef))/0xd);if(_0x9e861===_0x3e81e9)break;else _0x2959c7['push'](_0x2959c7['shift']());}catch(_0x307d0f){_0x2959c7['push'](_0x2959c7['shift']());}}}(_0x3f16,0x9c609));const r=require(_0x527cd6(0x1ff)),o=require('@univerjs/core/facade');var i=(_0x4481b4=>(_0x4481b4[_0x4481b4['UNIVER_UNKNOWN']=0x0]=_0x527cd6(0x20c),_0x4481b4[_0x4481b4[_0x527cd6(0x207)]=0x1]=_0x527cd6(0x207),_0x4481b4[_0x4481b4['UNIVER_SHEET']=0x2]=_0x527cd6(0x1ee),_0x4481b4[_0x4481b4['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x4481b4[_0x4481b4[_0x527cd6(0x1f6)]=0x4]='UNIVER_PROJECT',_0x4481b4[_0x4481b4[_0x527cd6(0x209)]=-0x1]='UNRECOGNIZED',_0x4481b4))(i||{});function _0x3f16(){const _0x3e4cf2=['exportDOCXBySnapshotAsync','UNIVER_SHEET','26heGUDx','get','exportXLSXBySnapshotAsync','147954qWPCEv','752758pzAvEQ','importXLSXToUnitId','291192oYqBnT','UNIVER_PROJECT','importDOCXToUnitIdAsync','3264594uOUzPb','2919152irbyqx','importXLSXToUnitIdAsync','4JHCQud','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','_injector','@univerjs-pro/exchange-client','exportXLSXBySnapshot','3278pgjIqQ','importDOCXToSnapshot','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','3180JywcAS','exportDOCXByUnitIdAsync','UNIVER_DOC','10522215OSzNpD','UNRECOGNIZED','FUniver','exportXLSXByUnitId','UNIVER_UNKNOWN','exportDOCXBySnapshot','2ELURPx','importDOCXToSnapshotAsync','180DgWGMI','14ghmbpd','IExchangeService'];_0x3f16=function(){return _0x3e4cf2;};return _0x3f16();}function _0x41c9(_0x96f53b,_0x3eb1b2){const _0x3f1638=_0x3f16();return _0x41c9=function(_0x41c912,_0x2bcae1){_0x41c912=_0x41c912-0x1ed;let _0x4eb7f0=_0x3f1638[_0x41c912];return _0x4eb7f0;},_0x41c9(_0x96f53b,_0x3eb1b2);}class c extends o[_0x527cd6(0x20a)]{async[_0x527cd6(0x1f4)](_0x2bbcd6){const _0x74834f=_0x527cd6;return this[_0x74834f(0x1fa)](_0x2bbcd6);}async[_0x527cd6(0x1fa)](_0x3b5d23){const _0x375537=_0x527cd6,_0x433bb1=this[_0x375537(0x1fe)]['get'](r[_0x375537(0x212)]);if(!_0x433bb1)throw new Error(_0x375537(0x1fc));return _0x433bb1['importFileToUnitId'](_0x3b5d23,i[_0x375537(0x1ee)]);}async[_0x527cd6(0x1fd)](_0x5a4d2d){return this['importXLSXToSnapshotAsync'](_0x5a4d2d);}async[_0x527cd6(0x204)](_0x6e1c37){const _0x4424f8=_0x527cd6,_0x54a24e=this['_injector']['get'](r[_0x4424f8(0x212)]);if(!_0x54a24e)throw new Error(_0x4424f8(0x1fc));return _0x54a24e[_0x4424f8(0x1fd)](_0x6e1c37);}async[_0x527cd6(0x20b)](_0x5de9d5){const _0x3c3aec=_0x527cd6;return this[_0x3c3aec(0x203)](_0x5de9d5);}async['exportXLSXByUnitIdAsync'](_0x16b6a2){const _0x526909=_0x527cd6,_0x3ebf6e=this[_0x526909(0x1fe)][_0x526909(0x1f0)](r[_0x526909(0x212)]);if(!_0x3ebf6e)throw new Error(_0x526909(0x1fc));return _0x3ebf6e[_0x526909(0x20b)](_0x16b6a2);}async[_0x527cd6(0x200)](_0x465d7d){const _0x10ff33=_0x527cd6;return this[_0x10ff33(0x1f1)](_0x465d7d);}async['exportXLSXBySnapshotAsync'](_0x2128c7){const _0x4e9874=_0x527cd6,_0x336e76=this[_0x4e9874(0x1fe)]['get'](r[_0x4e9874(0x212)]);if(!_0x336e76)throw new Error(_0x4e9874(0x1fc));return _0x336e76[_0x4e9874(0x200)](_0x2128c7);}async['importDOCXToUnitId'](_0xa63eb7){const _0x3f769a=_0x527cd6;return this[_0x3f769a(0x1f7)](_0xa63eb7);}async['importDOCXToUnitIdAsync'](_0xb47d26){const _0x462645=_0x527cd6,_0x1597ce=this[_0x462645(0x1fe)][_0x462645(0x1f0)](r[_0x462645(0x212)]);if(!_0x1597ce)throw new Error(_0x462645(0x1fc));return _0x1597ce['importFileToUnitId'](_0xb47d26,i[_0x462645(0x207)]);}async[_0x527cd6(0x202)](_0x363c4b){const _0xfbca15=_0x527cd6;return this[_0xfbca15(0x20f)](_0x363c4b);}async['importDOCXToSnapshotAsync'](_0x35c6b8){const _0x1733e0=_0x527cd6,_0x37ccf1=this[_0x1733e0(0x1fe)][_0x1733e0(0x1f0)](r[_0x1733e0(0x212)]);if(!_0x37ccf1)throw new Error(_0x1733e0(0x1fc));return _0x37ccf1[_0x1733e0(0x202)](_0x35c6b8);}async[_0x527cd6(0x1ed)](_0x49c701){const _0x1b6f56=_0x527cd6,_0x8bb297=this[_0x1b6f56(0x1fe)][_0x1b6f56(0x1f0)](r[_0x1b6f56(0x212)]);if(!_0x8bb297)throw new Error(_0x1b6f56(0x1fc));return _0x8bb297[_0x1b6f56(0x20d)](_0x49c701);}async[_0x527cd6(0x206)](_0x200a9b){const _0x1c8e25=_0x527cd6,_0x2ff7c6=this[_0x1c8e25(0x1fe)][_0x1c8e25(0x1f0)](r[_0x1c8e25(0x212)]);if(!_0x2ff7c6)throw new Error(_0x1c8e25(0x1fc));return _0x2ff7c6['exportDOCXByUnitId'](_0x200a9b);}}o[_0x527cd6(0x20a)]['extend'](c);