@univerjs-pro/exchange-client 0.6.5 → 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 _0x1b1722=_0x22cb;(function(_0x385010,_0x351202){const _0x216b45=_0x22cb,_0xf62201=_0x385010();while(!![]){try{const _0x52ac76=-parseInt(_0x216b45(0x1f1))/0x1*(-parseInt(_0x216b45(0x1fa))/0x2)+parseInt(_0x216b45(0x1de))/0x3*(parseInt(_0x216b45(0x1fe))/0x4)+parseInt(_0x216b45(0x1e7))/0x5+-parseInt(_0x216b45(0x1ef))/0x6+-parseInt(_0x216b45(0x1e8))/0x7*(-parseInt(_0x216b45(0x1e1))/0x8)+parseInt(_0x216b45(0x1e0))/0x9*(parseInt(_0x216b45(0x1e3))/0xa)+-parseInt(_0x216b45(0x1eb))/0xb;if(_0x52ac76===_0x351202)break;else _0xf62201['push'](_0xf62201['shift']());}catch(_0x56c98f){_0xf62201['push'](_0xf62201['shift']());}}}(_0xa792,0x53c3b));function _0xa792(){const _0x48ee6c=['836432AVuhnt','IExchangeService','190kKjOJm','exportXLSXBySnapshot','_injector','UNRECOGNIZED','2165325MWnlRe','28MJHQtT','importXLSXToSnapshotAsync','importFileToUnitId','19579186zqkoHa','UNIVER_SHEET','importDOCXToSnapshot','UNIVER_SLIDE','76272UvvJBF','UNIVER_DOC','2SBnpsc','UNIVER_PROJECT','FUniver','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','exportXLSXByUnitId','importDOCXToUnitId','@univerjs/core/facade','get','401176xEcETE','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','4IPVKWG','@univerjs-pro/exchange-client','importXLSXToUnitId','exportXLSXByUnitIdAsync','1342317nZQfyP','importDOCXToSnapshotAsync','206451ezEkwN'];_0xa792=function(){return _0x48ee6c;};return _0xa792();}function _0x22cb(_0x40e857,_0x51125c){const _0xa792a5=_0xa792();return _0x22cb=function(_0x22cb48,_0x4f156c){_0x22cb48=_0x22cb48-0x1db;let _0x172e01=_0xa792a5[_0x22cb48];return _0x172e01;},_0x22cb(_0x40e857,_0x51125c);}const r=require(_0x1b1722(0x1db)),i=require(_0x1b1722(0x1f8));var o=(_0x20e6be=>(_0x20e6be[_0x20e6be['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x20e6be[_0x20e6be[_0x1b1722(0x1f0)]=0x1]=_0x1b1722(0x1f0),_0x20e6be[_0x20e6be[_0x1b1722(0x1ec)]=0x2]='UNIVER_SHEET',_0x20e6be[_0x20e6be[_0x1b1722(0x1ee)]=0x3]=_0x1b1722(0x1ee),_0x20e6be[_0x20e6be[_0x1b1722(0x1f2)]=0x4]=_0x1b1722(0x1f2),_0x20e6be[_0x20e6be[_0x1b1722(0x1e6)]=-0x1]=_0x1b1722(0x1e6),_0x20e6be))(o||{});class c extends i[_0x1b1722(0x1f3)]{async[_0x1b1722(0x1dc)](_0x447ba2){const _0xba5f5a=_0x1b1722;return this[_0xba5f5a(0x1fb)](_0x447ba2);}async['importXLSXToUnitIdAsync'](_0x491d76){const _0x5461d9=_0x1b1722,_0x34fd19=this[_0x5461d9(0x1e5)]['get'](r[_0x5461d9(0x1e2)]);if(!_0x34fd19)throw new Error(_0x5461d9(0x1fc));return _0x34fd19[_0x5461d9(0x1ea)](_0x491d76,o[_0x5461d9(0x1ec)]);}async[_0x1b1722(0x1fd)](_0x2afe56){const _0x4c6c78=_0x1b1722;return this[_0x4c6c78(0x1e9)](_0x2afe56);}async[_0x1b1722(0x1e9)](_0x253227){const _0x2268d8=_0x1b1722,_0x2f7577=this[_0x2268d8(0x1e5)][_0x2268d8(0x1f9)](r[_0x2268d8(0x1e2)]);if(!_0x2f7577)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2f7577[_0x2268d8(0x1fd)](_0x253227);}async[_0x1b1722(0x1f6)](_0x558f95){const _0x398221=_0x1b1722;return this[_0x398221(0x1dd)](_0x558f95);}async[_0x1b1722(0x1dd)](_0x37c88d){const _0x494614=_0x1b1722,_0x7a58f7=this[_0x494614(0x1e5)][_0x494614(0x1f9)](r[_0x494614(0x1e2)]);if(!_0x7a58f7)throw new Error(_0x494614(0x1fc));return _0x7a58f7[_0x494614(0x1f6)](_0x37c88d);}async[_0x1b1722(0x1e4)](_0x2b9176){const _0x5b6514=_0x1b1722;return this[_0x5b6514(0x1f4)](_0x2b9176);}async[_0x1b1722(0x1f4)](_0x4e3d92){const _0x19381a=_0x1b1722,_0x2cc0da=this[_0x19381a(0x1e5)][_0x19381a(0x1f9)](r['IExchangeService']);if(!_0x2cc0da)throw new Error(_0x19381a(0x1fc));return _0x2cc0da[_0x19381a(0x1e4)](_0x4e3d92);}async[_0x1b1722(0x1f7)](_0x4fef24){const _0x265507=_0x1b1722;return this[_0x265507(0x1f5)](_0x4fef24);}async[_0x1b1722(0x1f5)](_0x278471){const _0x4e9d35=_0x1b1722,_0x2f0a37=this['_injector'][_0x4e9d35(0x1f9)](r[_0x4e9d35(0x1e2)]);if(!_0x2f0a37)throw new Error(_0x4e9d35(0x1fc));return _0x2f0a37[_0x4e9d35(0x1ea)](_0x278471,o[_0x4e9d35(0x1f0)]);}async['importDOCXToSnapshot'](_0x5bc7de){const _0x468fa5=_0x1b1722;return this[_0x468fa5(0x1df)](_0x5bc7de);}async[_0x1b1722(0x1df)](_0x2c2676){const _0x4432da=_0x1b1722,_0x53210e=this[_0x4432da(0x1e5)][_0x4432da(0x1f9)](r[_0x4432da(0x1e2)]);if(!_0x53210e)throw new Error(_0x4432da(0x1fc));return _0x53210e[_0x4432da(0x1ed)](_0x2c2676);}}i[_0x1b1722(0x1f3)]['extend'](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);