@univerjs-pro/exchange-client 0.6.9-experimental.20250409-52b9ab8 → 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 _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 _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);