@univerjs-pro/exchange-client 0.6.7-experimental.20250331-fa407d3 → 0.6.7-experimental.20250401-40103f6

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 _0xbe71da=_0x43fd;(function(_0x3be939,_0x107fff){const _0x42e3a6=_0x43fd,_0xb401c=_0x3be939();while(!![]){try{const _0x18a292=-parseInt(_0x42e3a6(0xcd))/0x1+-parseInt(_0x42e3a6(0xba))/0x2*(-parseInt(_0x42e3a6(0xcc))/0x3)+-parseInt(_0x42e3a6(0xc4))/0x4*(-parseInt(_0x42e3a6(0xce))/0x5)+parseInt(_0x42e3a6(0xc0))/0x6+-parseInt(_0x42e3a6(0xc5))/0x7*(parseInt(_0x42e3a6(0xcf))/0x8)+-parseInt(_0x42e3a6(0xbd))/0x9+-parseInt(_0x42e3a6(0xbe))/0xa;if(_0x18a292===_0x107fff)break;else _0xb401c['push'](_0xb401c['shift']());}catch(_0x376a29){_0xb401c['push'](_0xb401c['shift']());}}}(_0x2e4f,0xd68a9));function _0x2e4f(){const _0x4cb891=['importDOCXToUnitId','importXLSXToUnitId','FUniver','458iKGoMR','exportXLSXBySnapshotAsync','UNIVER_SLIDE','6518115sCMZkL','6129050MGhIeF','importXLSXToSnapshotAsync','10338834LspUph','extend','UNIVER_UNKNOWN','importDOCXToUnitIdAsync','1588hJXajJ','32431acPTAC','exportXLSXBySnapshot','importFileToUnitId','_injector','get','UNIVER_PROJECT','UNRECOGNIZED','10146lctsUT','470898QJKWEi','4775fsQjQi','328tTMCYU','importXLSXToSnapshot','importDOCXToSnapshot','exportXLSXByUnitIdAsync','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync','IExchangeService','UNIVER_DOC'];_0x2e4f=function(){return _0x4cb891;};return _0x2e4f();}const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core/facade');function _0x43fd(_0x2b716e,_0x2273f2){const _0x2e4f4b=_0x2e4f();return _0x43fd=function(_0x43fd4d,_0x2b53c3){_0x43fd4d=_0x43fd4d-0xb8;let _0x397834=_0x2e4f4b[_0x43fd4d];return _0x397834;},_0x43fd(_0x2b716e,_0x2273f2);}var o=(_0xbd197a=>(_0xbd197a[_0xbd197a[_0xbe71da(0xc2)]=0x0]=_0xbe71da(0xc2),_0xbd197a[_0xbd197a[_0xbe71da(0xd7)]=0x1]='UNIVER_DOC',_0xbd197a[_0xbd197a[_0xbe71da(0xd3)]=0x2]=_0xbe71da(0xd3),_0xbd197a[_0xbd197a[_0xbe71da(0xbc)]=0x3]=_0xbe71da(0xbc),_0xbd197a[_0xbd197a['UNIVER_PROJECT']=0x4]=_0xbe71da(0xca),_0xbd197a[_0xbd197a[_0xbe71da(0xcb)]=-0x1]=_0xbe71da(0xcb),_0xbd197a))(o||{});class c extends i[_0xbe71da(0xb9)]{async[_0xbe71da(0xb8)](_0x4fd693){return this['importXLSXToUnitIdAsync'](_0x4fd693);}async['importXLSXToUnitIdAsync'](_0x40fe9d){const _0x3dfa16=_0xbe71da,_0x2b92eb=this[_0x3dfa16(0xc8)]['get'](r['IExchangeService']);if(!_0x2b92eb)throw new Error(_0x3dfa16(0xd4));return _0x2b92eb[_0x3dfa16(0xc7)](_0x40fe9d,o[_0x3dfa16(0xd3)]);}async[_0xbe71da(0xd0)](_0x1a705d){const _0x5f16d5=_0xbe71da;return this[_0x5f16d5(0xbf)](_0x1a705d);}async[_0xbe71da(0xbf)](_0x215861){const _0x11474c=_0xbe71da,_0x179ff8=this['_injector'][_0x11474c(0xc9)](r[_0x11474c(0xd6)]);if(!_0x179ff8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x179ff8[_0x11474c(0xd0)](_0x215861);}async['exportXLSXByUnitId'](_0x9d0897){return this['exportXLSXByUnitIdAsync'](_0x9d0897);}async[_0xbe71da(0xd2)](_0x54e007){const _0x412256=_0xbe71da,_0x1f7f95=this['_injector'][_0x412256(0xc9)](r[_0x412256(0xd6)]);if(!_0x1f7f95)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1f7f95['exportXLSXByUnitId'](_0x54e007);}async['exportXLSXBySnapshot'](_0x42ef7){const _0x591c8f=_0xbe71da;return this[_0x591c8f(0xbb)](_0x42ef7);}async[_0xbe71da(0xbb)](_0x4f96eb){const _0x16f64c=_0xbe71da,_0x7fb31b=this[_0x16f64c(0xc8)][_0x16f64c(0xc9)](r[_0x16f64c(0xd6)]);if(!_0x7fb31b)throw new Error(_0x16f64c(0xd4));return _0x7fb31b[_0x16f64c(0xc6)](_0x4f96eb);}async[_0xbe71da(0xd8)](_0x35607f){const _0x2fc038=_0xbe71da;return this[_0x2fc038(0xc3)](_0x35607f);}async[_0xbe71da(0xc3)](_0x52b4bf){const _0x860e97=_0xbe71da,_0x3758d4=this[_0x860e97(0xc8)]['get'](r[_0x860e97(0xd6)]);if(!_0x3758d4)throw new Error(_0x860e97(0xd4));return _0x3758d4[_0x860e97(0xc7)](_0x52b4bf,o['UNIVER_DOC']);}async[_0xbe71da(0xd1)](_0x29479f){return this['importDOCXToSnapshotAsync'](_0x29479f);}async[_0xbe71da(0xd5)](_0x25cd6d){const _0x2b04d9=_0xbe71da,_0x3ee75b=this[_0x2b04d9(0xc8)][_0x2b04d9(0xc9)](r[_0x2b04d9(0xd6)]);if(!_0x3ee75b)throw new Error(_0x2b04d9(0xd4));return _0x3ee75b[_0x2b04d9(0xd1)](_0x25cd6d);}}i[_0xbe71da(0xb9)][_0xbe71da(0xc1)](c);
1
+ 'use strict';function _0x4ea4(){const _0x4ac26f=['IExchangeService','4604460KGiEpk','importXLSXToUnitIdAsync','importXLSXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','1020172Odxmro','FUniver','UNIVER_UNKNOWN','43184784xUiXQZ','4324932HMAwzz','@univerjs/core/facade','exportXLSXByUnitId','UNIVER_DOC','exportXLSXBySnapshotAsync','44FDtZTV','6PLARRi','importDOCXToSnapshotAsync','UNIVER_SLIDE','16PnqvOU','UNRECOGNIZED','2383330ZeYXLO','exportXLSXBySnapshot','3777vyoSMf','importDOCXToUnitIdAsync','1610202CtxCeE','importXLSXToSnapshotAsync','_injector','importFileToUnitId','490nUkhlf','importDOCXToUnitId','extend','importDOCXToSnapshot','exportXLSXByUnitIdAsync','UNIVER_PROJECT','UNIVER_SHEET','get','7nGBsMZ'];_0x4ea4=function(){return _0x4ac26f;};return _0x4ea4();}const _0x5e00a3=_0x49fa;(function(_0x37546a,_0x4400c1){const _0xa2636a=_0x49fa,_0x45a573=_0x37546a();while(!![]){try{const _0x57b1d6=-parseInt(_0xa2636a(0xb3))/0x1*(parseInt(_0xa2636a(0xb9))/0x2)+-parseInt(_0xa2636a(0xac))/0x3*(-parseInt(_0xa2636a(0xa2))/0x4)+-parseInt(_0xa2636a(0x9e))/0x5+parseInt(_0xa2636a(0xb5))/0x6*(parseInt(_0xa2636a(0x9c))/0x7)+-parseInt(_0xa2636a(0xaf))/0x8*(parseInt(_0xa2636a(0xa6))/0x9)+parseInt(_0xa2636a(0xb1))/0xa*(-parseInt(_0xa2636a(0xab))/0xb)+parseInt(_0xa2636a(0xa5))/0xc;if(_0x57b1d6===_0x4400c1)break;else _0x45a573['push'](_0x45a573['shift']());}catch(_0x19f3f5){_0x45a573['push'](_0x45a573['shift']());}}}(_0x4ea4,0x96834));const r=require('@univerjs-pro/exchange-client'),i=require(_0x5e00a3(0xa7));var o=(_0x47000a=>(_0x47000a[_0x47000a[_0x5e00a3(0xa4)]=0x0]='UNIVER_UNKNOWN',_0x47000a[_0x47000a[_0x5e00a3(0xa9)]=0x1]=_0x5e00a3(0xa9),_0x47000a[_0x47000a[_0x5e00a3(0x9a)]=0x2]=_0x5e00a3(0x9a),_0x47000a[_0x47000a[_0x5e00a3(0xae)]=0x3]=_0x5e00a3(0xae),_0x47000a[_0x47000a[_0x5e00a3(0x99)]=0x4]=_0x5e00a3(0x99),_0x47000a[_0x47000a[_0x5e00a3(0xb0)]=-0x1]=_0x5e00a3(0xb0),_0x47000a))(o||{});class c extends i[_0x5e00a3(0xa3)]{async['importXLSXToUnitId'](_0x42de13){const _0x351e26=_0x5e00a3;return this[_0x351e26(0x9f)](_0x42de13);}async[_0x5e00a3(0x9f)](_0x385d03){const _0x28d388=_0x5e00a3,_0x23663d=this['_injector']['get'](r[_0x28d388(0x9d)]);if(!_0x23663d)throw new Error(_0x28d388(0xa1));return _0x23663d[_0x28d388(0xb8)](_0x385d03,o[_0x28d388(0x9a)]);}async[_0x5e00a3(0xa0)](_0x117ff4){const _0x209cc9=_0x5e00a3;return this[_0x209cc9(0xb6)](_0x117ff4);}async['importXLSXToSnapshotAsync'](_0x5147bd){const _0x4cffcf=_0x5e00a3,_0x45b8a9=this['_injector'][_0x4cffcf(0x9b)](r[_0x4cffcf(0x9d)]);if(!_0x45b8a9)throw new Error(_0x4cffcf(0xa1));return _0x45b8a9['importXLSXToSnapshot'](_0x5147bd);}async['exportXLSXByUnitId'](_0x53cb6f){const _0x4ec2fb=_0x5e00a3;return this[_0x4ec2fb(0xbd)](_0x53cb6f);}async[_0x5e00a3(0xbd)](_0x209528){const _0x508ef9=_0x5e00a3,_0x1e9236=this[_0x508ef9(0xb7)][_0x508ef9(0x9b)](r[_0x508ef9(0x9d)]);if(!_0x1e9236)throw new Error(_0x508ef9(0xa1));return _0x1e9236[_0x508ef9(0xa8)](_0x209528);}async[_0x5e00a3(0xb2)](_0x20e9d3){const _0x5e5aa2=_0x5e00a3;return this[_0x5e5aa2(0xaa)](_0x20e9d3);}async[_0x5e00a3(0xaa)](_0x318038){const _0x188b62=_0x5e00a3,_0x4e7d68=this['_injector']['get'](r['IExchangeService']);if(!_0x4e7d68)throw new Error(_0x188b62(0xa1));return _0x4e7d68[_0x188b62(0xb2)](_0x318038);}async[_0x5e00a3(0xba)](_0x4b4d0c){const _0x3f953c=_0x5e00a3;return this[_0x3f953c(0xb4)](_0x4b4d0c);}async['importDOCXToUnitIdAsync'](_0x23159e){const _0x48d9ad=_0x5e00a3,_0x27f0b5=this['_injector']['get'](r[_0x48d9ad(0x9d)]);if(!_0x27f0b5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x27f0b5['importFileToUnitId'](_0x23159e,o['UNIVER_DOC']);}async[_0x5e00a3(0xbc)](_0x52fe42){const _0x1072a8=_0x5e00a3;return this[_0x1072a8(0xad)](_0x52fe42);}async[_0x5e00a3(0xad)](_0x314793){const _0x5780f6=_0x5e00a3,_0x11083f=this[_0x5780f6(0xb7)][_0x5780f6(0x9b)](r[_0x5780f6(0x9d)]);if(!_0x11083f)throw new Error(_0x5780f6(0xa1));return _0x11083f[_0x5780f6(0xbc)](_0x314793);}}function _0x49fa(_0x59af59,_0xc16841){const _0x4ea422=_0x4ea4();return _0x49fa=function(_0x49faa1,_0x17b202){_0x49faa1=_0x49faa1-0x99;let _0x3b7b31=_0x4ea422[_0x49faa1];return _0x3b7b31;},_0x49fa(_0x59af59,_0xc16841);}i[_0x5e00a3(0xa3)][_0x5e00a3(0xbb)](c);