@univerjs-pro/exchange-client 0.6.5-nightly.202503131607 → 0.6.6-nightly.202503141606

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 _0x38c5fa=_0x471d;(function(_0x226985,_0x4ea6ff){const _0x269724=_0x471d,_0x47ee60=_0x226985();while(!![]){try{const _0x3ec79f=parseInt(_0x269724(0x127))/0x1*(parseInt(_0x269724(0x12d))/0x2)+parseInt(_0x269724(0x124))/0x3+-parseInt(_0x269724(0x11e))/0x4+parseInt(_0x269724(0x12c))/0x5+-parseInt(_0x269724(0x12a))/0x6*(parseInt(_0x269724(0x133))/0x7)+parseInt(_0x269724(0x138))/0x8+-parseInt(_0x269724(0x129))/0x9;if(_0x3ec79f===_0x4ea6ff)break;else _0x47ee60['push'](_0x47ee60['shift']());}catch(_0x3c7c70){_0x47ee60['push'](_0x47ee60['shift']());}}}(_0x5540,0x1f8ba));function _0x5540(){const _0x420e0f=['extend','importDOCXToUnitIdAsync','549015FjAXcV','UNRECOGNIZED','UNIVER_UNKNOWN','87323NbEBXm','IExchangeService','1427661ekSDUQ','12YYKdqd','@univerjs-pro/exchange-client','168660QVoUQJ','2qduZEe','UNIVER_SHEET','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','_injector','importDOCXToUnitId','233023qjuKdo','importDOCXToSnapshot','importXLSXToSnapshotAsync','UNIVER_PROJECT','exportXLSXBySnapshot','834360zhFRqV','exportXLSXBySnapshotAsync','FUniver','importXLSXToUnitId','UNIVER_DOC','UNIVER_SLIDE','importFileToUnitId','get','215752DGRCbd','exportXLSXByUnitIdAsync','importXLSXToSnapshot','importXLSXToUnitIdAsync'];_0x5540=function(){return _0x420e0f;};return _0x5540();}const r=require(_0x38c5fa(0x12b)),i=require('@univerjs/core/facade');function _0x471d(_0x5b06dd,_0xea2fd1){const _0x55404f=_0x5540();return _0x471d=function(_0x471dde,_0x4013d7){_0x471dde=_0x471dde-0x117;let _0x3e07f6=_0x55404f[_0x471dde];return _0x3e07f6;},_0x471d(_0x5b06dd,_0xea2fd1);}var o=(_0x439a18=>(_0x439a18[_0x439a18[_0x38c5fa(0x126)]=0x0]=_0x38c5fa(0x126),_0x439a18[_0x439a18[_0x38c5fa(0x11a)]=0x1]=_0x38c5fa(0x11a),_0x439a18[_0x439a18['UNIVER_SHEET']=0x2]=_0x38c5fa(0x12e),_0x439a18[_0x439a18['UNIVER_SLIDE']=0x3]=_0x38c5fa(0x11b),_0x439a18[_0x439a18[_0x38c5fa(0x136)]=0x4]='UNIVER_PROJECT',_0x439a18[_0x439a18[_0x38c5fa(0x125)]=-0x1]='UNRECOGNIZED',_0x439a18))(o||{});class c extends i['FUniver']{async[_0x38c5fa(0x119)](_0x1695e7){const _0x628d06=_0x38c5fa;return this[_0x628d06(0x121)](_0x1695e7);}async[_0x38c5fa(0x121)](_0x3ed3b4){const _0x3e99cc=_0x38c5fa,_0x3caa42=this[_0x3e99cc(0x131)][_0x3e99cc(0x11d)](r[_0x3e99cc(0x128)]);if(!_0x3caa42)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3caa42['importFileToUnitId'](_0x3ed3b4,o['UNIVER_SHEET']);}async[_0x38c5fa(0x120)](_0x1df7b8){const _0x28c933=_0x38c5fa;return this[_0x28c933(0x135)](_0x1df7b8);}async[_0x38c5fa(0x135)](_0x3b86b4){const _0x772d7a=_0x38c5fa,_0x16ad2c=this[_0x772d7a(0x131)][_0x772d7a(0x11d)](r['IExchangeService']);if(!_0x16ad2c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x16ad2c['importXLSXToSnapshot'](_0x3b86b4);}async[_0x38c5fa(0x12f)](_0xd8937c){const _0x404f36=_0x38c5fa;return this[_0x404f36(0x11f)](_0xd8937c);}async[_0x38c5fa(0x11f)](_0x561667){const _0x107646=_0x38c5fa,_0x1cb088=this[_0x107646(0x131)][_0x107646(0x11d)](r['IExchangeService']);if(!_0x1cb088)throw new Error(_0x107646(0x130));return _0x1cb088[_0x107646(0x12f)](_0x561667);}async[_0x38c5fa(0x137)](_0x2a67db){return this['exportXLSXBySnapshotAsync'](_0x2a67db);}async[_0x38c5fa(0x117)](_0xffd11f){const _0x2a0168=_0x38c5fa,_0x472fbc=this[_0x2a0168(0x131)][_0x2a0168(0x11d)](r[_0x2a0168(0x128)]);if(!_0x472fbc)throw new Error(_0x2a0168(0x130));return _0x472fbc[_0x2a0168(0x137)](_0xffd11f);}async[_0x38c5fa(0x132)](_0x4b5565){const _0x1a5a24=_0x38c5fa;return this[_0x1a5a24(0x123)](_0x4b5565);}async[_0x38c5fa(0x123)](_0x755cbb){const _0x5bc9b9=_0x38c5fa,_0x258067=this[_0x5bc9b9(0x131)]['get'](r[_0x5bc9b9(0x128)]);if(!_0x258067)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x258067[_0x5bc9b9(0x11c)](_0x755cbb,o['UNIVER_DOC']);}async[_0x38c5fa(0x134)](_0x1e6f78){return this['importDOCXToSnapshotAsync'](_0x1e6f78);}async['importDOCXToSnapshotAsync'](_0x37da30){const _0x5605fd=_0x38c5fa,_0xcf3331=this[_0x5605fd(0x131)][_0x5605fd(0x11d)](r[_0x5605fd(0x128)]);if(!_0xcf3331)throw new Error(_0x5605fd(0x130));return _0xcf3331[_0x5605fd(0x134)](_0x37da30);}}i[_0x38c5fa(0x118)][_0x38c5fa(0x122)](c);
1
+ 'use strict';const _0x69addd=_0x2adf;function _0x1df9(){const _0x4e29a0=['_injector','400503AjFoTB','3033FXDInu','UNIVER_DOC','6fAIdve','17875vXvzLN','importXLSXToSnapshotAsync','6096maUnZf','importDOCXToSnapshotAsync','9205BjrvPO','UNIVER_PROJECT','importDOCXToUnitIdAsync','5604700kIdkAK','639AnXFzY','20IrfJEt','importFileToUnitId','importXLSXToUnitIdAsync','UNIVER_SHEET','get','@univerjs/core/facade','UNIVER_SLIDE','extend','importDOCXToSnapshot','UNRECOGNIZED','UNIVER_UNKNOWN','exportXLSXByUnitIdAsync','FUniver','importDOCXToUnitId','12866217BvvwwO','importXLSXToSnapshot','importXLSXToUnitId','1232rSTSHu','exportXLSXBySnapshot','6872VeaWYF','4350KHIMrF','exportXLSXBySnapshotAsync','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available'];_0x1df9=function(){return _0x4e29a0;};return _0x1df9();}(function(_0x504c4f,_0x5886e1){const _0x937a19=_0x2adf,_0xa0e1ed=_0x504c4f();while(!![]){try{const _0x38834d=-parseInt(_0x937a19(0x1f9))/0x1*(-parseInt(_0x937a19(0x20b))/0x2)+parseInt(_0x937a19(0x213))/0x3*(parseInt(_0x937a19(0x1fa))/0x4)+-parseInt(_0x937a19(0x1f8))/0x5*(parseInt(_0x937a19(0x216))/0x6)+parseInt(_0x937a19(0x1f5))/0x7*(-parseInt(_0x937a19(0x20d))/0x8)+-parseInt(_0x937a19(0x214))/0x9*(-parseInt(_0x937a19(0x20e))/0xa)+parseInt(_0x937a19(0x1f1))/0xb*(parseInt(_0x937a19(0x1f3))/0xc)+parseInt(_0x937a19(0x208))/0xd;if(_0x38834d===_0x5886e1)break;else _0xa0e1ed['push'](_0xa0e1ed['shift']());}catch(_0x3c10bd){_0xa0e1ed['push'](_0xa0e1ed['shift']());}}}(_0x1df9,0xbc938));function _0x2adf(_0x5c25dd,_0x49effe){const _0x1df984=_0x1df9();return _0x2adf=function(_0x2adf6f,_0x4769c6){_0x2adf6f=_0x2adf6f-0x1f1;let _0x40c959=_0x1df984[_0x2adf6f];return _0x40c959;},_0x2adf(_0x5c25dd,_0x49effe);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x69addd(0x1ff));var o=(_0x451412=>(_0x451412[_0x451412[_0x69addd(0x204)]=0x0]=_0x69addd(0x204),_0x451412[_0x451412[_0x69addd(0x215)]=0x1]='UNIVER_DOC',_0x451412[_0x451412[_0x69addd(0x1fd)]=0x2]=_0x69addd(0x1fd),_0x451412[_0x451412[_0x69addd(0x200)]=0x3]=_0x69addd(0x200),_0x451412[_0x451412[_0x69addd(0x1f6)]=0x4]='UNIVER_PROJECT',_0x451412[_0x451412['UNRECOGNIZED']=-0x1]=_0x69addd(0x203),_0x451412))(o||{});class c extends i[_0x69addd(0x206)]{async[_0x69addd(0x20a)](_0x5c7a71){const _0x1a184b=_0x69addd;return this[_0x1a184b(0x1fc)](_0x5c7a71);}async[_0x69addd(0x1fc)](_0xa14642){const _0x5471f6=_0x69addd,_0x12ee49=this[_0x5471f6(0x212)][_0x5471f6(0x1fe)](r['IExchangeService']);if(!_0x12ee49)throw new Error(_0x5471f6(0x211));return _0x12ee49['importFileToUnitId'](_0xa14642,o[_0x5471f6(0x1fd)]);}async[_0x69addd(0x209)](_0x13b0b8){const _0xf803c9=_0x69addd;return this[_0xf803c9(0x1f2)](_0x13b0b8);}async[_0x69addd(0x1f2)](_0x12fd5e){const _0xc667d3=_0x69addd,_0xb64eb5=this[_0xc667d3(0x212)]['get'](r[_0xc667d3(0x210)]);if(!_0xb64eb5)throw new Error(_0xc667d3(0x211));return _0xb64eb5[_0xc667d3(0x209)](_0x12fd5e);}async['exportXLSXByUnitId'](_0x31c6f5){const _0x1333a6=_0x69addd;return this[_0x1333a6(0x205)](_0x31c6f5);}async[_0x69addd(0x205)](_0x4f460b){const _0x4e2a65=_0x69addd,_0x2eedbe=this[_0x4e2a65(0x212)]['get'](r['IExchangeService']);if(!_0x2eedbe)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2eedbe['exportXLSXByUnitId'](_0x4f460b);}async[_0x69addd(0x20c)](_0x1a92a0){const _0x38bf61=_0x69addd;return this[_0x38bf61(0x20f)](_0x1a92a0);}async[_0x69addd(0x20f)](_0x433005){const _0x552dbf=_0x69addd,_0x491fe8=this['_injector'][_0x552dbf(0x1fe)](r[_0x552dbf(0x210)]);if(!_0x491fe8)throw new Error(_0x552dbf(0x211));return _0x491fe8[_0x552dbf(0x20c)](_0x433005);}async[_0x69addd(0x207)](_0xe84f22){const _0x52c9ec=_0x69addd;return this[_0x52c9ec(0x1f7)](_0xe84f22);}async[_0x69addd(0x1f7)](_0x3a4bd6){const _0x2f7113=_0x69addd,_0x2b009e=this[_0x2f7113(0x212)][_0x2f7113(0x1fe)](r[_0x2f7113(0x210)]);if(!_0x2b009e)throw new Error(_0x2f7113(0x211));return _0x2b009e[_0x2f7113(0x1fb)](_0x3a4bd6,o[_0x2f7113(0x215)]);}async[_0x69addd(0x202)](_0x366527){const _0x9d9e36=_0x69addd;return this[_0x9d9e36(0x1f4)](_0x366527);}async[_0x69addd(0x1f4)](_0x46d18d){const _0x1bfd11=_0x69addd,_0x3de3fd=this[_0x1bfd11(0x212)][_0x1bfd11(0x1fe)](r[_0x1bfd11(0x210)]);if(!_0x3de3fd)throw new Error(_0x1bfd11(0x211));return _0x3de3fd[_0x1bfd11(0x202)](_0x46d18d);}}i[_0x69addd(0x206)][_0x69addd(0x201)](c);