@univerjs-pro/exchange-client 0.6.9-experimental.20250409-7c82795 → 0.6.9-experimental.20250410-23c9a18

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 _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);
1
+ 'use strict';function _0x3410(){const _0x117e8e=['78834uSOCgm','importXLSXToUnitId','@univerjs-pro/exchange-client','480476gehpVZ','exportXLSXByUnitId','UNRECOGNIZED','UNIVER_UNKNOWN','UNIVER_PROJECT','UNIVER_SLIDE','23202JdRwTR','extend','importXLSXToSnapshotAsync','152iGkZLM','exportXLSXBySnapshot','IExchangeService','importDOCXToSnapshot','exportXLSXBySnapshotAsync','FUniver','2907702xyJPSK','importDOCXToUnitIdAsync','importFileToUnitId','importXLSXToSnapshot','135ziNZvM','exportXLSXByUnitIdAsync','314118VuOoBi','importXLSXToUnitIdAsync','_injector','174155ovzMsF','52252LPoAJE','importDOCXToUnitId','get','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync'];_0x3410=function(){return _0x117e8e;};return _0x3410();}const _0x532266=_0xac48;(function(_0x2a727a,_0x5100cb){const _0x2d6c88=_0xac48,_0x2b05f2=_0x2a727a();while(!![]){try{const _0x5924d1=parseInt(_0x2d6c88(0x196))/0x1+-parseInt(_0x2d6c88(0x197))/0x2+parseInt(_0x2d6c88(0x193))/0x3+-parseInt(_0x2d6c88(0x19f))/0x4+parseInt(_0x2d6c88(0x191))/0x5*(-parseInt(_0x2d6c88(0x1a5))/0x6)+-parseInt(_0x2d6c88(0x19c))/0x7*(parseInt(_0x2d6c88(0x1a8))/0x8)+parseInt(_0x2d6c88(0x18d))/0x9;if(_0x5924d1===_0x5100cb)break;else _0x2b05f2['push'](_0x2b05f2['shift']());}catch(_0x5e0d57){_0x2b05f2['push'](_0x2b05f2['shift']());}}}(_0x3410,0x2185b));const r=require(_0x532266(0x19e)),i=require('@univerjs/core/facade');function _0xac48(_0x139ed9,_0x8a2193){const _0x34105b=_0x3410();return _0xac48=function(_0xac4808,_0x1e8bd1){_0xac4808=_0xac4808-0x188;let _0x133019=_0x34105b[_0xac4808];return _0x133019;},_0xac48(_0x139ed9,_0x8a2193);}var o=(_0x4621fb=>(_0x4621fb[_0x4621fb[_0x532266(0x1a2)]=0x0]='UNIVER_UNKNOWN',_0x4621fb[_0x4621fb['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x4621fb[_0x4621fb['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x4621fb[_0x4621fb[_0x532266(0x1a4)]=0x3]=_0x532266(0x1a4),_0x4621fb[_0x4621fb[_0x532266(0x1a3)]=0x4]=_0x532266(0x1a3),_0x4621fb[_0x4621fb[_0x532266(0x1a1)]=-0x1]=_0x532266(0x1a1),_0x4621fb))(o||{});class c extends i[_0x532266(0x18c)]{async[_0x532266(0x19d)](_0x205635){return this['importXLSXToUnitIdAsync'](_0x205635);}async[_0x532266(0x194)](_0x429ec2){const _0x516949=_0x532266,_0x44711c=this[_0x516949(0x195)][_0x516949(0x199)](r[_0x516949(0x189)]);if(!_0x44711c)throw new Error(_0x516949(0x19a));return _0x44711c[_0x516949(0x18f)](_0x429ec2,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x2f47b2){const _0x824a43=_0x532266;return this[_0x824a43(0x1a7)](_0x2f47b2);}async[_0x532266(0x1a7)](_0x269216){const _0x3dd795=_0x532266,_0x2ceb48=this[_0x3dd795(0x195)]['get'](r[_0x3dd795(0x189)]);if(!_0x2ceb48)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2ceb48[_0x3dd795(0x190)](_0x269216);}async[_0x532266(0x1a0)](_0x402551){const _0x2383b1=_0x532266;return this[_0x2383b1(0x192)](_0x402551);}async[_0x532266(0x192)](_0x3f1594){const _0x20734b=_0x532266,_0x17e1cf=this[_0x20734b(0x195)][_0x20734b(0x199)](r[_0x20734b(0x189)]);if(!_0x17e1cf)throw new Error(_0x20734b(0x19a));return _0x17e1cf['exportXLSXByUnitId'](_0x3f1594);}async[_0x532266(0x188)](_0x164b12){return this['exportXLSXBySnapshotAsync'](_0x164b12);}async[_0x532266(0x18b)](_0x9cb7db){const _0x1db9b3=_0x532266,_0x68c94b=this[_0x1db9b3(0x195)][_0x1db9b3(0x199)](r['IExchangeService']);if(!_0x68c94b)throw new Error(_0x1db9b3(0x19a));return _0x68c94b['exportXLSXBySnapshot'](_0x9cb7db);}async[_0x532266(0x198)](_0x2f4efa){const _0x243d9d=_0x532266;return this[_0x243d9d(0x18e)](_0x2f4efa);}async[_0x532266(0x18e)](_0x5a294a){const _0xd5564=_0x532266,_0x52eb3c=this[_0xd5564(0x195)][_0xd5564(0x199)](r['IExchangeService']);if(!_0x52eb3c)throw new Error(_0xd5564(0x19a));return _0x52eb3c['importFileToUnitId'](_0x5a294a,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x1a3252){return this['importDOCXToSnapshotAsync'](_0x1a3252);}async[_0x532266(0x19b)](_0x5582c1){const _0x5057d9=_0x532266,_0x2551b2=this[_0x5057d9(0x195)][_0x5057d9(0x199)](r[_0x5057d9(0x189)]);if(!_0x2551b2)throw new Error(_0x5057d9(0x19a));return _0x2551b2[_0x5057d9(0x18a)](_0x5582c1);}}i[_0x532266(0x18c)][_0x532266(0x1a6)](c);