@univerjs-pro/exchange-client 0.6.9-experimental.20250409-e08c696 → 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 _0x268bec=_0x41d7;(function(_0x3870a1,_0xf7bec4){const _0x496807=_0x41d7,_0x21292a=_0x3870a1();while(!![]){try{const _0x401005=-parseInt(_0x496807(0xf0))/0x1+-parseInt(_0x496807(0xef))/0x2*(-parseInt(_0x496807(0xfc))/0x3)+-parseInt(_0x496807(0xf9))/0x4+-parseInt(_0x496807(0x103))/0x5*(parseInt(_0x496807(0xfe))/0x6)+parseInt(_0x496807(0xeb))/0x7+-parseInt(_0x496807(0xea))/0x8*(-parseInt(_0x496807(0x108))/0x9)+parseInt(_0x496807(0x106))/0xa;if(_0x401005===_0xf7bec4)break;else _0x21292a['push'](_0x21292a['shift']());}catch(_0x80c1a4){_0x21292a['push'](_0x21292a['shift']());}}}(_0x1e0e,0xe42cf));const r=require(_0x268bec(0x100)),i=require(_0x268bec(0x104));function _0x41d7(_0xdbb1dd,_0x2a87ba){const _0x1e0e1f=_0x1e0e();return _0x41d7=function(_0x41d743,_0x26d8ee){_0x41d743=_0x41d743-0xea;let _0x202944=_0x1e0e1f[_0x41d743];return _0x202944;},_0x41d7(_0xdbb1dd,_0x2a87ba);}var o=(_0x3ead52=>(_0x3ead52[_0x3ead52[_0x268bec(0x10a)]=0x0]=_0x268bec(0x10a),_0x3ead52[_0x3ead52[_0x268bec(0x109)]=0x1]=_0x268bec(0x109),_0x3ead52[_0x3ead52[_0x268bec(0xf8)]=0x2]=_0x268bec(0xf8),_0x3ead52[_0x3ead52['UNIVER_SLIDE']=0x3]=_0x268bec(0xfd),_0x3ead52[_0x3ead52[_0x268bec(0xf1)]=0x4]='UNIVER_PROJECT',_0x3ead52[_0x3ead52[_0x268bec(0x102)]=-0x1]=_0x268bec(0x102),_0x3ead52))(o||{});function _0x1e0e(){const _0x40d95d=['165210JxWEJP','@univerjs/core/facade','importXLSXToUnitIdAsync','2820120BjqFma','importDOCXToSnapshotAsync','1062YOTYcc','UNIVER_DOC','UNIVER_UNKNOWN','get','exportXLSXByUnitIdAsync','59744LgMjwa','12001829FywYCT','importDOCXToUnitIdAsync','importDOCXToUnitId','exportXLSXBySnapshot','2IwOKWj','1307673CBWRGR','UNIVER_PROJECT','importXLSXToSnapshotAsync','importDOCXToSnapshot','IExchangeService','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','_injector','UNIVER_SHEET','6650124zJvNgL','extend','exportXLSXByUnitId','3576714TggJSg','UNIVER_SLIDE','30LwwnqK','importXLSXToSnapshot','@univerjs-pro/exchange-client','importXLSXToUnitId','UNRECOGNIZED'];_0x1e0e=function(){return _0x40d95d;};return _0x1e0e();}class c extends i[_0x268bec(0xf5)]{async[_0x268bec(0x101)](_0x502e37){const _0xe4f75f=_0x268bec;return this[_0xe4f75f(0x105)](_0x502e37);}async[_0x268bec(0x105)](_0x27a9b6){const _0x6121f0=_0x268bec,_0x5b6542=this['_injector'][_0x6121f0(0x10b)](r['IExchangeService']);if(!_0x5b6542)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5b6542['importFileToUnitId'](_0x27a9b6,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x500291){const _0x560a40=_0x268bec;return this[_0x560a40(0xf2)](_0x500291);}async[_0x268bec(0xf2)](_0x55a8fc){const _0x2644b1=_0x268bec,_0x3b7c2c=this[_0x2644b1(0xf7)][_0x2644b1(0x10b)](r[_0x2644b1(0xf4)]);if(!_0x3b7c2c)throw new Error(_0x2644b1(0xf6));return _0x3b7c2c[_0x2644b1(0xff)](_0x55a8fc);}async[_0x268bec(0xfb)](_0x2c420f){const _0x4d2c1f=_0x268bec;return this[_0x4d2c1f(0x10c)](_0x2c420f);}async['exportXLSXByUnitIdAsync'](_0x59b53b){const _0x489745=_0x268bec,_0x487671=this[_0x489745(0xf7)]['get'](r[_0x489745(0xf4)]);if(!_0x487671)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x487671['exportXLSXByUnitId'](_0x59b53b);}async[_0x268bec(0xee)](_0x1f950c){return this['exportXLSXBySnapshotAsync'](_0x1f950c);}async['exportXLSXBySnapshotAsync'](_0x464ca7){const _0xdd5417=_0x268bec,_0x589a84=this[_0xdd5417(0xf7)][_0xdd5417(0x10b)](r[_0xdd5417(0xf4)]);if(!_0x589a84)throw new Error(_0xdd5417(0xf6));return _0x589a84[_0xdd5417(0xee)](_0x464ca7);}async[_0x268bec(0xed)](_0x5e654d){return this['importDOCXToUnitIdAsync'](_0x5e654d);}async[_0x268bec(0xec)](_0x3f273c){const _0x152376=_0x268bec,_0x45459c=this[_0x152376(0xf7)][_0x152376(0x10b)](r[_0x152376(0xf4)]);if(!_0x45459c)throw new Error(_0x152376(0xf6));return _0x45459c['importFileToUnitId'](_0x3f273c,o[_0x152376(0x109)]);}async[_0x268bec(0xf3)](_0xd38aca){const _0x58aa4c=_0x268bec;return this[_0x58aa4c(0x107)](_0xd38aca);}async[_0x268bec(0x107)](_0x1b3cf3){const _0x1499fe=_0x268bec,_0x123bf5=this[_0x1499fe(0xf7)]['get'](r[_0x1499fe(0xf4)]);if(!_0x123bf5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x123bf5[_0x1499fe(0xf3)](_0x1b3cf3);}}i['FUniver'][_0x268bec(0xfa)](c);
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);