@univerjs-pro/exchange-client 0.6.9-experimental.20250408-da421ca → 0.6.9-experimental.20250409-52b9ab8

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 _0x1a3f20=_0x1d56;(function(_0x30d8b5,_0x3399fe){const _0x5e337a=_0x1d56,_0x4c53be=_0x30d8b5();while(!![]){try{const _0x476865=-parseInt(_0x5e337a(0x1b5))/0x1+parseInt(_0x5e337a(0x1b8))/0x2*(-parseInt(_0x5e337a(0x19b))/0x3)+parseInt(_0x5e337a(0x1a9))/0x4*(parseInt(_0x5e337a(0x1a4))/0x5)+parseInt(_0x5e337a(0x1b0))/0x6*(parseInt(_0x5e337a(0x197))/0x7)+parseInt(_0x5e337a(0x19e))/0x8+-parseInt(_0x5e337a(0x1a0))/0x9*(parseInt(_0x5e337a(0x19f))/0xa)+-parseInt(_0x5e337a(0x1a6))/0xb;if(_0x476865===_0x3399fe)break;else _0x4c53be['push'](_0x4c53be['shift']());}catch(_0x4a8688){_0x4c53be['push'](_0x4c53be['shift']());}}}(_0x1f22,0x61d1e));function _0x1d56(_0x242520,_0x56f389){const _0x1f2241=_0x1f22();return _0x1d56=function(_0x1d563d,_0xf32dea){_0x1d563d=_0x1d563d-0x195;let _0x5c9780=_0x1f2241[_0x1d563d];return _0x5c9780;},_0x1d56(_0x242520,_0x56f389);}const r=require(_0x1a3f20(0x1b2)),i=require(_0x1a3f20(0x1ae));var o=(_0x2fcfed=>(_0x2fcfed[_0x2fcfed[_0x1a3f20(0x1b1)]=0x0]=_0x1a3f20(0x1b1),_0x2fcfed[_0x2fcfed[_0x1a3f20(0x1a3)]=0x1]=_0x1a3f20(0x1a3),_0x2fcfed[_0x2fcfed[_0x1a3f20(0x1b4)]=0x2]=_0x1a3f20(0x1b4),_0x2fcfed[_0x2fcfed[_0x1a3f20(0x199)]=0x3]=_0x1a3f20(0x199),_0x2fcfed[_0x2fcfed['UNIVER_PROJECT']=0x4]=_0x1a3f20(0x195),_0x2fcfed[_0x2fcfed[_0x1a3f20(0x198)]=-0x1]=_0x1a3f20(0x198),_0x2fcfed))(o||{});class c extends i[_0x1a3f20(0x1b9)]{async[_0x1a3f20(0x1ad)](_0x1c55e9){return this['importXLSXToUnitIdAsync'](_0x1c55e9);}async['importXLSXToUnitIdAsync'](_0x4c81ef){const _0x381771=_0x1a3f20,_0x521b45=this['_injector'][_0x381771(0x1a8)](r[_0x381771(0x19d)]);if(!_0x521b45)throw new Error(_0x381771(0x1aa));return _0x521b45['importFileToUnitId'](_0x4c81ef,o['UNIVER_SHEET']);}async[_0x1a3f20(0x1b7)](_0x2f1324){const _0x233c14=_0x1a3f20;return this[_0x233c14(0x1ab)](_0x2f1324);}async['importXLSXToSnapshotAsync'](_0x53845d){const _0x1a7931=_0x1a3f20,_0x406ecd=this[_0x1a7931(0x1a5)]['get'](r[_0x1a7931(0x19d)]);if(!_0x406ecd)throw new Error(_0x1a7931(0x1aa));return _0x406ecd[_0x1a7931(0x1b7)](_0x53845d);}async[_0x1a3f20(0x1b6)](_0x22c090){const _0x3d073d=_0x1a3f20;return this[_0x3d073d(0x1ac)](_0x22c090);}async[_0x1a3f20(0x1ac)](_0x149243){const _0x50bb92=_0x1a3f20,_0x33f758=this[_0x50bb92(0x1a5)][_0x50bb92(0x1a8)](r[_0x50bb92(0x19d)]);if(!_0x33f758)throw new Error(_0x50bb92(0x1aa));return _0x33f758[_0x50bb92(0x1b6)](_0x149243);}async[_0x1a3f20(0x1b3)](_0x62e622){const _0x398f45=_0x1a3f20;return this[_0x398f45(0x1a1)](_0x62e622);}async['exportXLSXBySnapshotAsync'](_0x5d9dd7){const _0x57cc97=_0x1a3f20,_0x43f62a=this[_0x57cc97(0x1a5)]['get'](r[_0x57cc97(0x19d)]);if(!_0x43f62a)throw new Error(_0x57cc97(0x1aa));return _0x43f62a[_0x57cc97(0x1b3)](_0x5d9dd7);}async[_0x1a3f20(0x196)](_0x2e6b22){const _0x46948a=_0x1a3f20;return this[_0x46948a(0x1a2)](_0x2e6b22);}async[_0x1a3f20(0x1a2)](_0x25cceb){const _0x23ccdd=_0x1a3f20,_0x38d9df=this[_0x23ccdd(0x1a5)][_0x23ccdd(0x1a8)](r[_0x23ccdd(0x19d)]);if(!_0x38d9df)throw new Error(_0x23ccdd(0x1aa));return _0x38d9df[_0x23ccdd(0x1a7)](_0x25cceb,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x48f2c8){const _0x5e0ba8=_0x1a3f20;return this[_0x5e0ba8(0x19c)](_0x48f2c8);}async['importDOCXToSnapshotAsync'](_0x4e97f2){const _0x4188a1=_0x1a3f20,_0x16b0de=this['_injector'][_0x4188a1(0x1a8)](r[_0x4188a1(0x19d)]);if(!_0x16b0de)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x16b0de[_0x4188a1(0x1af)](_0x4e97f2);}}i[_0x1a3f20(0x1b9)][_0x1a3f20(0x19a)](c);function _0x1f22(){const _0x4e5cb7=['5SSdDrz','_injector','5484996PAEAFL','importFileToUnitId','get','2391464ACupyP','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','exportXLSXByUnitIdAsync','importXLSXToUnitId','@univerjs/core/facade','importDOCXToSnapshot','36KZxIxV','UNIVER_UNKNOWN','@univerjs-pro/exchange-client','exportXLSXBySnapshot','UNIVER_SHEET','287832xVcKrl','exportXLSXByUnitId','importXLSXToSnapshot','446006iJgsVq','FUniver','UNIVER_PROJECT','importDOCXToUnitId','826693GAIBBF','UNRECOGNIZED','UNIVER_SLIDE','extend','6hEiRfE','importDOCXToSnapshotAsync','IExchangeService','6235896WKBuAU','348310aabobg','117BlYiBP','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','UNIVER_DOC'];_0x1f22=function(){return _0x4e5cb7;};return _0x1f22();}
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);