@univerjs-pro/exchange-client 0.6.9-experimental.20250409-52b9ab8 → 0.6.9-experimental.20250409-7c82795

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';function _0x4f15(_0x4f518e,_0x2127da){const _0x56ac6b=_0x56ac();return _0x4f15=function(_0x4f15e5,_0x4a12fe){_0x4f15e5=_0x4f15e5-0x8a;let _0x1c1106=_0x56ac6b[_0x4f15e5];return _0x1c1106;},_0x4f15(_0x4f518e,_0x2127da);}const _0x397bb3=_0x4f15;(function(_0x75d10c,_0x4747d2){const _0x494721=_0x4f15,_0x9e923b=_0x75d10c();while(!![]){try{const _0xd503f5=parseInt(_0x494721(0x9f))/0x1*(-parseInt(_0x494721(0x99))/0x2)+parseInt(_0x494721(0xab))/0x3+parseInt(_0x494721(0xaa))/0x4*(parseInt(_0x494721(0xa3))/0x5)+-parseInt(_0x494721(0x92))/0x6*(-parseInt(_0x494721(0x9e))/0x7)+parseInt(_0x494721(0xa6))/0x8*(parseInt(_0x494721(0x8e))/0x9)+-parseInt(_0x494721(0x8c))/0xa*(parseInt(_0x494721(0xa5))/0xb)+-parseInt(_0x494721(0x8a))/0xc*(-parseInt(_0x494721(0x9c))/0xd);if(_0xd503f5===_0x4747d2)break;else _0x9e923b['push'](_0x9e923b['shift']());}catch(_0x512372){_0x9e923b['push'](_0x9e923b['shift']());}}}(_0x56ac,0xb3c08));function _0x56ac(){const _0x2af6f4=['importDOCXToUnitId','importXLSXToUnitIdAsync','12fHbBYA','UNRECOGNIZED','100SYDAGP','exportXLSXByUnitId','64197icVikw','importXLSXToSnapshotAsync','importXLSXToSnapshot','get','30TLKMWj','UNIVER_UNKNOWN','exportXLSXBySnapshot','UNIVER_SHEET','_injector','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','74146gscNzK','importDOCXToSnapshotAsync','UNIVER_DOC','1830699XjZyLC','exportXLSXByUnitIdAsync','1397578WvipEv','15WQynmG','extend','importDOCXToSnapshot','UNIVER_SLIDE','170iRXqGV','UNIVER_PROJECT','1366915sIJCgX','584FAOgsz','exportXLSXBySnapshotAsync','importXLSXToUnitId','importDOCXToUnitIdAsync','100732oCYnTv','56955UuEuWd','importFileToUnitId','FUniver'];_0x56ac=function(){return _0x2af6f4;};return _0x56ac();}const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core/facade');var o=(_0x162610=>(_0x162610[_0x162610['UNIVER_UNKNOWN']=0x0]=_0x397bb3(0x93),_0x162610[_0x162610[_0x397bb3(0x9b)]=0x1]=_0x397bb3(0x9b),_0x162610[_0x162610['UNIVER_SHEET']=0x2]=_0x397bb3(0x95),_0x162610[_0x162610['UNIVER_SLIDE']=0x3]=_0x397bb3(0xa2),_0x162610[_0x162610[_0x397bb3(0xa4)]=0x4]=_0x397bb3(0xa4),_0x162610[_0x162610[_0x397bb3(0x8b)]=-0x1]=_0x397bb3(0x8b),_0x162610))(o||{});class c extends i['FUniver']{async[_0x397bb3(0xa8)](_0x5e9c60){const _0x41fa8d=_0x397bb3;return this[_0x41fa8d(0xaf)](_0x5e9c60);}async[_0x397bb3(0xaf)](_0x409b61){const _0x3bd991=_0x397bb3,_0x474c5=this[_0x3bd991(0x96)][_0x3bd991(0x91)](r[_0x3bd991(0x98)]);if(!_0x474c5)throw new Error(_0x3bd991(0x97));return _0x474c5[_0x3bd991(0xac)](_0x409b61,o[_0x3bd991(0x95)]);}async[_0x397bb3(0x90)](_0x2ceafb){return this['importXLSXToSnapshotAsync'](_0x2ceafb);}async[_0x397bb3(0x8f)](_0x2f68d7){const _0x16f1c0=_0x397bb3,_0x5d7c62=this[_0x16f1c0(0x96)]['get'](r[_0x16f1c0(0x98)]);if(!_0x5d7c62)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5d7c62[_0x16f1c0(0x90)](_0x2f68d7);}async[_0x397bb3(0x8d)](_0x3a41a4){return this['exportXLSXByUnitIdAsync'](_0x3a41a4);}async[_0x397bb3(0x9d)](_0x58352f){const _0x2f1599=_0x397bb3,_0x44c592=this[_0x2f1599(0x96)][_0x2f1599(0x91)](r['IExchangeService']);if(!_0x44c592)throw new Error(_0x2f1599(0x97));return _0x44c592[_0x2f1599(0x8d)](_0x58352f);}async['exportXLSXBySnapshot'](_0x3a2900){const _0x33ca88=_0x397bb3;return this[_0x33ca88(0xa7)](_0x3a2900);}async[_0x397bb3(0xa7)](_0x57a903){const _0x1a68db=_0x397bb3,_0x4760ea=this['_injector'][_0x1a68db(0x91)](r[_0x1a68db(0x98)]);if(!_0x4760ea)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4760ea[_0x1a68db(0x94)](_0x57a903);}async[_0x397bb3(0xae)](_0x50b9e7){const _0x2ab099=_0x397bb3;return this[_0x2ab099(0xa9)](_0x50b9e7);}async[_0x397bb3(0xa9)](_0x30732b){const _0x696753=_0x397bb3,_0x56e262=this[_0x696753(0x96)][_0x696753(0x91)](r['IExchangeService']);if(!_0x56e262)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x56e262[_0x696753(0xac)](_0x30732b,o[_0x696753(0x9b)]);}async[_0x397bb3(0xa1)](_0x141283){const _0x14e035=_0x397bb3;return this[_0x14e035(0x9a)](_0x141283);}async[_0x397bb3(0x9a)](_0x1bdfd3){const _0x3d9c6f=_0x397bb3,_0x3e12ca=this[_0x3d9c6f(0x96)][_0x3d9c6f(0x91)](r[_0x3d9c6f(0x98)]);if(!_0x3e12ca)throw new Error(_0x3d9c6f(0x97));return _0x3e12ca['importDOCXToSnapshot'](_0x1bdfd3);}}i[_0x397bb3(0xad)][_0x397bb3(0xa0)](c);
1
+ 'use strict';function _0x1651(){const _0x55761e=['IExchangeService','importDOCXToUnitIdAsync','UNIVER_DOC','12rxzrCW','importXLSXToUnitId','UNRECOGNIZED','6mZXRyn','@univerjs-pro/exchange-client','UNIVER_PROJECT','importXLSXToSnapshot','get','importXLSXToUnitIdAsync','2961515TjdJHW','233851zYKByM','17134932tNsPlV','exportXLSXBySnapshot','_injector','exportXLSXByUnitId','UNIVER_SHEET','importXLSXToSnapshotAsync','exportXLSXBySnapshotAsync','exportXLSXByUnitIdAsync','extend','FUniver','UNIVER_SLIDE','791463uwBnhR','4956OCrQTC','1036256wYClDh','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','importDOCXToSnapshotAsync','@univerjs/core/facade','81gCCtrF','importDOCXToUnitId','11hdGACK','3856yVZzCx','importFileToUnitId','514750bvhaxC'];_0x1651=function(){return _0x55761e;};return _0x1651();}const _0x4381a2=_0x88f8;(function(_0x11783d,_0x14f029){const _0x4ae0e2=_0x88f8,_0x46d4b3=_0x11783d();while(!![]){try{const _0x8fe9a1=parseInt(_0x4ae0e2(0x1fd))/0x1+-parseInt(_0x4ae0e2(0x20b))/0x2+parseInt(_0x4ae0e2(0x209))/0x3*(parseInt(_0x4ae0e2(0x1f3))/0x4)+-parseInt(_0x4ae0e2(0x1fc))/0x5*(-parseInt(_0x4ae0e2(0x1f6))/0x6)+parseInt(_0x4ae0e2(0x20a))/0x7*(parseInt(_0x4ae0e2(0x1ed))/0x8)+parseInt(_0x4ae0e2(0x1ea))/0x9*(parseInt(_0x4ae0e2(0x1ef))/0xa)+parseInt(_0x4ae0e2(0x1ec))/0xb*(-parseInt(_0x4ae0e2(0x1fe))/0xc);if(_0x8fe9a1===_0x14f029)break;else _0x46d4b3['push'](_0x46d4b3['shift']());}catch(_0x4d154b){_0x46d4b3['push'](_0x46d4b3['shift']());}}}(_0x1651,0x743cd));const r=require(_0x4381a2(0x1f7)),i=require(_0x4381a2(0x1e9));function _0x88f8(_0x1b60a3,_0x31a700){const _0x16513c=_0x1651();return _0x88f8=function(_0x88f8c2,_0x3bf82c){_0x88f8c2=_0x88f8c2-0x1e7;let _0x261f7d=_0x16513c[_0x88f8c2];return _0x261f7d;},_0x88f8(_0x1b60a3,_0x31a700);}var o=(_0x235f89=>(_0x235f89[_0x235f89[_0x4381a2(0x1e7)]=0x0]='UNIVER_UNKNOWN',_0x235f89[_0x235f89[_0x4381a2(0x1f2)]=0x1]=_0x4381a2(0x1f2),_0x235f89[_0x235f89[_0x4381a2(0x202)]=0x2]=_0x4381a2(0x202),_0x235f89[_0x235f89[_0x4381a2(0x208)]=0x3]='UNIVER_SLIDE',_0x235f89[_0x235f89[_0x4381a2(0x1f8)]=0x4]=_0x4381a2(0x1f8),_0x235f89[_0x235f89[_0x4381a2(0x1f5)]=-0x1]=_0x4381a2(0x1f5),_0x235f89))(o||{});class c extends i[_0x4381a2(0x207)]{async[_0x4381a2(0x1f4)](_0x4f40df){const _0x2ea70f=_0x4381a2;return this[_0x2ea70f(0x1fb)](_0x4f40df);}async[_0x4381a2(0x1fb)](_0x4b8a22){const _0x3820de=_0x4381a2,_0x14e413=this[_0x3820de(0x200)][_0x3820de(0x1fa)](r[_0x3820de(0x1f0)]);if(!_0x14e413)throw new Error(_0x3820de(0x20c));return _0x14e413[_0x3820de(0x1ee)](_0x4b8a22,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x208fa9){return this['importXLSXToSnapshotAsync'](_0x208fa9);}async[_0x4381a2(0x203)](_0x171502){const _0x3eddd9=_0x4381a2,_0x3a62b4=this[_0x3eddd9(0x200)][_0x3eddd9(0x1fa)](r['IExchangeService']);if(!_0x3a62b4)throw new Error(_0x3eddd9(0x20c));return _0x3a62b4[_0x3eddd9(0x1f9)](_0x171502);}async[_0x4381a2(0x201)](_0x5d296a){const _0x56a665=_0x4381a2;return this[_0x56a665(0x205)](_0x5d296a);}async['exportXLSXByUnitIdAsync'](_0x510dc3){const _0x7a7f6b=_0x4381a2,_0x487a11=this['_injector'][_0x7a7f6b(0x1fa)](r[_0x7a7f6b(0x1f0)]);if(!_0x487a11)throw new Error(_0x7a7f6b(0x20c));return _0x487a11[_0x7a7f6b(0x201)](_0x510dc3);}async[_0x4381a2(0x1ff)](_0x384358){const _0x6ed980=_0x4381a2;return this[_0x6ed980(0x204)](_0x384358);}async[_0x4381a2(0x204)](_0x4bc882){const _0x267ced=_0x4381a2,_0x3e96d0=this[_0x267ced(0x200)][_0x267ced(0x1fa)](r[_0x267ced(0x1f0)]);if(!_0x3e96d0)throw new Error(_0x267ced(0x20c));return _0x3e96d0['exportXLSXBySnapshot'](_0x4bc882);}async[_0x4381a2(0x1eb)](_0x918cd9){const _0x264f86=_0x4381a2;return this[_0x264f86(0x1f1)](_0x918cd9);}async[_0x4381a2(0x1f1)](_0xc4d590){const _0x2e18a9=_0x4381a2,_0x2da1cf=this[_0x2e18a9(0x200)][_0x2e18a9(0x1fa)](r[_0x2e18a9(0x1f0)]);if(!_0x2da1cf)throw new Error(_0x2e18a9(0x20c));return _0x2da1cf[_0x2e18a9(0x1ee)](_0xc4d590,o[_0x2e18a9(0x1f2)]);}async['importDOCXToSnapshot'](_0x5938f2){const _0x7bfd9=_0x4381a2;return this[_0x7bfd9(0x1e8)](_0x5938f2);}async[_0x4381a2(0x1e8)](_0x410422){const _0x4b22b8=_0x4381a2,_0x2ffff5=this[_0x4b22b8(0x200)][_0x4b22b8(0x1fa)](r[_0x4b22b8(0x1f0)]);if(!_0x2ffff5)throw new Error(_0x4b22b8(0x20c));return _0x2ffff5['importDOCXToSnapshot'](_0x410422);}}i[_0x4381a2(0x207)][_0x4381a2(0x206)](c);