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

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';function _0xb978(){const _0xcac5dd=['21279tmcHAx','exportDOCXBySnapshotAsync','importDOCXToUnitId','3150774cFxhCA','importDOCXToUnitIdAsync','4755136fmXHSL','get','4OfWZFZ','importXLSXToUnitIdAsync','UNIVER_DOC','exportXLSXByUnitId','UNIVER_SLIDE','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','UNRECOGNIZED','_injector','exportDOCXBySnapshot','1126872LPwHCm','UNIVER_SHEET','exportDOCXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','exportDOCXByUnitIdAsync','615983vJoQSF','importDOCXToSnapshot','exportXLSXBySnapshotAsync','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','1569491xBbTAl','58roIunS','@univerjs/core/facade','importXLSXToSnapshot','IExchangeService','FUniver','UNIVER_UNKNOWN','UNIVER_PROJECT','1521010VDPGrW','importXLSXToUnitId'];_0xb978=function(){return _0xcac5dd;};return _0xb978();}const _0x539b27=_0x4eca;(function(_0x3e2706,_0x58110d){const _0x4d2733=_0x4eca,_0x13cc84=_0x3e2706();while(!![]){try{const _0x181f7d=parseInt(_0x4d2733(0x8e))/0x1+-parseInt(_0x4d2733(0x94))/0x2*(parseInt(_0x4d2733(0x77))/0x3)+parseInt(_0x4d2733(0x7e))/0x4*(parseInt(_0x4d2733(0x9b))/0x5)+-parseInt(_0x4d2733(0x7a))/0x6+-parseInt(_0x4d2733(0x93))/0x7+parseInt(_0x4d2733(0x7c))/0x8+parseInt(_0x4d2733(0x88))/0x9;if(_0x181f7d===_0x58110d)break;else _0x13cc84['push'](_0x13cc84['shift']());}catch(_0x563faf){_0x13cc84['push'](_0x13cc84['shift']());}}}(_0xb978,0xa72ca));const r=require('@univerjs-pro/exchange-client'),o=require(_0x539b27(0x95));var i=(_0x22b78b=>(_0x22b78b[_0x22b78b['UNIVER_UNKNOWN']=0x0]=_0x539b27(0x99),_0x22b78b[_0x22b78b[_0x539b27(0x80)]=0x1]=_0x539b27(0x80),_0x22b78b[_0x22b78b[_0x539b27(0x89)]=0x2]=_0x539b27(0x89),_0x22b78b[_0x22b78b['UNIVER_SLIDE']=0x3]=_0x539b27(0x82),_0x22b78b[_0x22b78b[_0x539b27(0x9a)]=0x4]=_0x539b27(0x9a),_0x22b78b[_0x22b78b[_0x539b27(0x85)]=-0x1]=_0x539b27(0x85),_0x22b78b))(i||{});function _0x4eca(_0x15f43c,_0x2e32f7){const _0xb97877=_0xb978();return _0x4eca=function(_0x4ecabe,_0x5c786d){_0x4ecabe=_0x4ecabe-0x77;let _0x2ac44b=_0xb97877[_0x4ecabe];return _0x2ac44b;},_0x4eca(_0x15f43c,_0x2e32f7);}class c extends o[_0x539b27(0x98)]{async[_0x539b27(0x9c)](_0x3f4fd1){const _0xd97f97=_0x539b27;return this[_0xd97f97(0x7f)](_0x3f4fd1);}async['importXLSXToUnitIdAsync'](_0x3454c7){const _0x5706e4=_0x539b27,_0x205576=this[_0x5706e4(0x86)]['get'](r['IExchangeService']);if(!_0x205576)throw new Error(_0x5706e4(0x8b));return _0x205576[_0x5706e4(0x8c)](_0x3454c7,i[_0x5706e4(0x89)]);}async[_0x539b27(0x96)](_0x381591){const _0x430608=_0x539b27;return this[_0x430608(0x92)](_0x381591);}async[_0x539b27(0x92)](_0x4a6fad){const _0x443796=_0x539b27,_0x2a1611=this[_0x443796(0x86)][_0x443796(0x7d)](r[_0x443796(0x97)]);if(!_0x2a1611)throw new Error(_0x443796(0x8b));return _0x2a1611[_0x443796(0x96)](_0x4a6fad);}async['exportXLSXByUnitId'](_0x293ab8){const _0x306e89=_0x539b27;return this[_0x306e89(0x84)](_0x293ab8);}async[_0x539b27(0x84)](_0x18b80f){const _0x47602b=_0x539b27,_0x5099ca=this[_0x47602b(0x86)][_0x47602b(0x7d)](r['IExchangeService']);if(!_0x5099ca)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5099ca[_0x47602b(0x81)](_0x18b80f);}async['exportXLSXBySnapshot'](_0x155cca){const _0x3e5d58=_0x539b27;return this[_0x3e5d58(0x90)](_0x155cca);}async['exportXLSXBySnapshotAsync'](_0x53877d){const _0x36b9e4=_0x539b27,_0x212f15=this[_0x36b9e4(0x86)][_0x36b9e4(0x7d)](r[_0x36b9e4(0x97)]);if(!_0x212f15)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x212f15[_0x36b9e4(0x83)](_0x53877d);}async[_0x539b27(0x79)](_0x1003cd){const _0x59ef4d=_0x539b27;return this[_0x59ef4d(0x7b)](_0x1003cd);}async[_0x539b27(0x7b)](_0x26b22e){const _0xea5cb1=_0x539b27,_0x38e3b8=this[_0xea5cb1(0x86)][_0xea5cb1(0x7d)](r[_0xea5cb1(0x97)]);if(!_0x38e3b8)throw new Error(_0xea5cb1(0x8b));return _0x38e3b8[_0xea5cb1(0x8c)](_0x26b22e,i[_0xea5cb1(0x80)]);}async[_0x539b27(0x8f)](_0x4a7901){const _0x5de8a0=_0x539b27;return this[_0x5de8a0(0x91)](_0x4a7901);}async[_0x539b27(0x91)](_0x3a296e){const _0x132373=_0x539b27,_0xd45b4c=this[_0x132373(0x86)][_0x132373(0x7d)](r[_0x132373(0x97)]);if(!_0xd45b4c)throw new Error(_0x132373(0x8b));return _0xd45b4c[_0x132373(0x8f)](_0x3a296e);}async[_0x539b27(0x78)](_0x45d111){const _0x1056a7=_0x539b27,_0x17b63e=this[_0x1056a7(0x86)][_0x1056a7(0x7d)](r[_0x1056a7(0x97)]);if(!_0x17b63e)throw new Error(_0x1056a7(0x8b));return _0x17b63e[_0x1056a7(0x87)](_0x45d111);}async[_0x539b27(0x8d)](_0x11e739){const _0x26925f=_0x539b27,_0x36f0db=this['_injector'][_0x26925f(0x7d)](r[_0x26925f(0x97)]);if(!_0x36f0db)throw new Error(_0x26925f(0x8b));return _0x36f0db[_0x26925f(0x8a)](_0x11e739);}}o[_0x539b27(0x98)]['extend'](c);