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

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 _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);
1
+ 'use strict';function _0x5786(_0x193c2f,_0x1a8fbb){const _0x4e668e=_0x4e66();return _0x5786=function(_0x578612,_0xd7ffbe){_0x578612=_0x578612-0x119;let _0x2fc503=_0x4e668e[_0x578612];return _0x2fc503;},_0x5786(_0x193c2f,_0x1a8fbb);}const _0x7f3744=_0x5786;(function(_0x1cd033,_0x228e8e){const _0x4c23bc=_0x5786,_0x70c2c9=_0x1cd033();while(!![]){try{const _0x53def0=-parseInt(_0x4c23bc(0x136))/0x1+-parseInt(_0x4c23bc(0x123))/0x2*(-parseInt(_0x4c23bc(0x127))/0x3)+parseInt(_0x4c23bc(0x13a))/0x4+-parseInt(_0x4c23bc(0x12a))/0x5+-parseInt(_0x4c23bc(0x139))/0x6*(-parseInt(_0x4c23bc(0x11d))/0x7)+-parseInt(_0x4c23bc(0x137))/0x8+parseInt(_0x4c23bc(0x133))/0x9;if(_0x53def0===_0x228e8e)break;else _0x70c2c9['push'](_0x70c2c9['shift']());}catch(_0x400131){_0x70c2c9['push'](_0x70c2c9['shift']());}}}(_0x4e66,0xd9324));const r=require(_0x7f3744(0x135)),i=require(_0x7f3744(0x12d));var o=(_0x174888=>(_0x174888[_0x174888[_0x7f3744(0x11c)]=0x0]=_0x7f3744(0x11c),_0x174888[_0x174888[_0x7f3744(0x12f)]=0x1]=_0x7f3744(0x12f),_0x174888[_0x174888[_0x7f3744(0x125)]=0x2]=_0x7f3744(0x125),_0x174888[_0x174888[_0x7f3744(0x12b)]=0x3]=_0x7f3744(0x12b),_0x174888[_0x174888[_0x7f3744(0x130)]=0x4]=_0x7f3744(0x130),_0x174888[_0x174888['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x174888))(o||{});class c extends i[_0x7f3744(0x12c)]{async[_0x7f3744(0x126)](_0x2f6216){return this['importXLSXToUnitIdAsync'](_0x2f6216);}async['importXLSXToUnitIdAsync'](_0xa38ea0){const _0x568e1d=_0x7f3744,_0x46048a=this['_injector'][_0x568e1d(0x120)](r[_0x568e1d(0x129)]);if(!_0x46048a)throw new Error(_0x568e1d(0x11b));return _0x46048a[_0x568e1d(0x128)](_0xa38ea0,o[_0x568e1d(0x125)]);}async[_0x7f3744(0x12e)](_0x503c61){const _0x4e677e=_0x7f3744;return this[_0x4e677e(0x119)](_0x503c61);}async[_0x7f3744(0x119)](_0x2c78fa){const _0x2bff5b=_0x7f3744,_0xb48d85=this[_0x2bff5b(0x121)]['get'](r[_0x2bff5b(0x129)]);if(!_0xb48d85)throw new Error(_0x2bff5b(0x11b));return _0xb48d85[_0x2bff5b(0x12e)](_0x2c78fa);}async[_0x7f3744(0x11e)](_0x1953e3){return this['exportXLSXByUnitIdAsync'](_0x1953e3);}async[_0x7f3744(0x122)](_0x29d8c9){const _0x22ccf7=_0x7f3744,_0x362d92=this[_0x22ccf7(0x121)]['get'](r[_0x22ccf7(0x129)]);if(!_0x362d92)throw new Error(_0x22ccf7(0x11b));return _0x362d92[_0x22ccf7(0x11e)](_0x29d8c9);}async[_0x7f3744(0x11f)](_0x430cc2){const _0x32d961=_0x7f3744;return this[_0x32d961(0x131)](_0x430cc2);}async['exportXLSXBySnapshotAsync'](_0x595f6d){const _0x2bb20c=_0x7f3744,_0xb87f09=this[_0x2bb20c(0x121)][_0x2bb20c(0x120)](r[_0x2bb20c(0x129)]);if(!_0xb87f09)throw new Error(_0x2bb20c(0x11b));return _0xb87f09['exportXLSXBySnapshot'](_0x595f6d);}async[_0x7f3744(0x134)](_0x77f7b6){return this['importDOCXToUnitIdAsync'](_0x77f7b6);}async[_0x7f3744(0x124)](_0x4165b1){const _0x44300d=_0x7f3744,_0x4892ac=this[_0x44300d(0x121)][_0x44300d(0x120)](r[_0x44300d(0x129)]);if(!_0x4892ac)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4892ac['importFileToUnitId'](_0x4165b1,o['UNIVER_DOC']);}async[_0x7f3744(0x138)](_0x1a0861){const _0x1d6b31=_0x7f3744;return this[_0x1d6b31(0x11a)](_0x1a0861);}async[_0x7f3744(0x11a)](_0x16dcb6){const _0x411785=_0x7f3744,_0x49fcb1=this[_0x411785(0x121)]['get'](r[_0x411785(0x129)]);if(!_0x49fcb1)throw new Error(_0x411785(0x11b));return _0x49fcb1[_0x411785(0x138)](_0x16dcb6);}}function _0x4e66(){const _0xfe1ed=['importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','28nPljFf','exportXLSXByUnitId','exportXLSXBySnapshot','get','_injector','exportXLSXByUnitIdAsync','34zKKaMP','importDOCXToUnitIdAsync','UNIVER_SHEET','importXLSXToUnitId','287775uQjmzw','importFileToUnitId','IExchangeService','4406855gjmcmM','UNIVER_SLIDE','FUniver','@univerjs/core/facade','importXLSXToSnapshot','UNIVER_DOC','UNIVER_PROJECT','exportXLSXBySnapshotAsync','extend','13113999KsBrXn','importDOCXToUnitId','@univerjs-pro/exchange-client','1457920gTUgWK','14160920PkiXSm','importDOCXToSnapshot','1855614ZNlCLJ','2696520oKMYyF'];_0x4e66=function(){return _0xfe1ed;};return _0x4e66();}i[_0x7f3744(0x12c)][_0x7f3744(0x132)](c);