@univerjs-pro/exchange-client 0.8.0-nightly.202506011606 → 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 _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);
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);