@univerjs-pro/exchange-client 0.6.7-experimental.20250401-01b1fd0 → 0.6.7-experimental.20250402-1f9acb8

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 _0x3490(_0x2f161d,_0x37d4c5){const _0x540235=_0x5402();return _0x3490=function(_0x34908,_0xbe9a4f){_0x34908=_0x34908-0x1f0;let _0x35ad43=_0x540235[_0x34908];return _0x35ad43;},_0x3490(_0x2f161d,_0x37d4c5);}const _0x4e611d=_0x3490;(function(_0x365f36,_0x421580){const _0x4f1643=_0x3490,_0xb697ce=_0x365f36();while(!![]){try{const _0x5511a2=-parseInt(_0x4f1643(0x20e))/0x1*(-parseInt(_0x4f1643(0x1f8))/0x2)+parseInt(_0x4f1643(0x205))/0x3*(-parseInt(_0x4f1643(0x208))/0x4)+parseInt(_0x4f1643(0x1fc))/0x5+-parseInt(_0x4f1643(0x201))/0x6+parseInt(_0x4f1643(0x204))/0x7*(-parseInt(_0x4f1643(0x1fd))/0x8)+parseInt(_0x4f1643(0x200))/0x9+parseInt(_0x4f1643(0x1ff))/0xa;if(_0x5511a2===_0x421580)break;else _0xb697ce['push'](_0xb697ce['shift']());}catch(_0xddb683){_0xb697ce['push'](_0xb697ce['shift']());}}}(_0x5402,0x94622));const r=require(_0x4e611d(0x1f1)),i=require(_0x4e611d(0x20f));var o=(_0x300e52=>(_0x300e52[_0x300e52[_0x4e611d(0x209)]=0x0]=_0x4e611d(0x209),_0x300e52[_0x300e52[_0x4e611d(0x1f3)]=0x1]=_0x4e611d(0x1f3),_0x300e52[_0x300e52[_0x4e611d(0x1f0)]=0x2]=_0x4e611d(0x1f0),_0x300e52[_0x300e52[_0x4e611d(0x203)]=0x3]='UNIVER_SLIDE',_0x300e52[_0x300e52[_0x4e611d(0x1f2)]=0x4]=_0x4e611d(0x1f2),_0x300e52[_0x300e52[_0x4e611d(0x1fe)]=-0x1]=_0x4e611d(0x1fe),_0x300e52))(o||{});class c extends i[_0x4e611d(0x202)]{async['importXLSXToUnitId'](_0x480582){const _0x11cd92=_0x4e611d;return this[_0x11cd92(0x20d)](_0x480582);}async[_0x4e611d(0x20d)](_0x9af549){const _0x3d61f2=_0x4e611d,_0x5226b6=this[_0x3d61f2(0x1f7)][_0x3d61f2(0x20c)](r[_0x3d61f2(0x206)]);if(!_0x5226b6)throw new Error(_0x3d61f2(0x1f6));return _0x5226b6[_0x3d61f2(0x1f4)](_0x9af549,o[_0x3d61f2(0x1f0)]);}async[_0x4e611d(0x1fa)](_0x4be69b){const _0x4d1349=_0x4e611d;return this[_0x4d1349(0x211)](_0x4be69b);}async[_0x4e611d(0x211)](_0x44779b){const _0x30b896=_0x4e611d,_0x13deb3=this['_injector'][_0x30b896(0x20c)](r[_0x30b896(0x206)]);if(!_0x13deb3)throw new Error(_0x30b896(0x1f6));return _0x13deb3[_0x30b896(0x1fa)](_0x44779b);}async[_0x4e611d(0x210)](_0x3b0185){const _0x554714=_0x4e611d;return this[_0x554714(0x1f9)](_0x3b0185);}async[_0x4e611d(0x1f9)](_0x561f5c){const _0x40cefc=_0x4e611d,_0x30e05d=this[_0x40cefc(0x1f7)]['get'](r[_0x40cefc(0x206)]);if(!_0x30e05d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x30e05d[_0x40cefc(0x210)](_0x561f5c);}async['exportXLSXBySnapshot'](_0x2df699){const _0x519869=_0x4e611d;return this[_0x519869(0x1fb)](_0x2df699);}async[_0x4e611d(0x1fb)](_0x20882b){const _0x4e3d1f=_0x4e611d,_0x3b19e7=this['_injector'][_0x4e3d1f(0x20c)](r[_0x4e3d1f(0x206)]);if(!_0x3b19e7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3b19e7['exportXLSXBySnapshot'](_0x20882b);}async['importDOCXToUnitId'](_0x3547ba){return this['importDOCXToUnitIdAsync'](_0x3547ba);}async[_0x4e611d(0x1f5)](_0x5378ff){const _0x4bab03=_0x4e611d,_0x1ffbb1=this[_0x4bab03(0x1f7)][_0x4bab03(0x20c)](r['IExchangeService']);if(!_0x1ffbb1)throw new Error(_0x4bab03(0x1f6));return _0x1ffbb1[_0x4bab03(0x1f4)](_0x5378ff,o[_0x4bab03(0x1f3)]);}async[_0x4e611d(0x20b)](_0x7e6064){const _0x4f3795=_0x4e611d;return this[_0x4f3795(0x20a)](_0x7e6064);}async['importDOCXToSnapshotAsync'](_0xc9f2ee){const _0xc0b932=_0x4e611d,_0x1a0ad6=this['_injector'][_0xc0b932(0x20c)](r[_0xc0b932(0x206)]);if(!_0x1a0ad6)throw new Error(_0xc0b932(0x1f6));return _0x1a0ad6[_0xc0b932(0x20b)](_0xc9f2ee);}}i[_0x4e611d(0x202)][_0x4e611d(0x207)](c);function _0x5402(){const _0x327ab9=['exportXLSXBySnapshotAsync','4289060IHkgwE','472qFGfdn','UNRECOGNIZED','579330hKpYCy','7808967lBEdFZ','6921456zYveWB','FUniver','UNIVER_SLIDE','85603ccchxh','3kMHVsX','IExchangeService','extend','1486268WyzWjj','UNIVER_UNKNOWN','importDOCXToSnapshotAsync','importDOCXToSnapshot','get','importXLSXToUnitIdAsync','22313lSEtwC','@univerjs/core/facade','exportXLSXByUnitId','importXLSXToSnapshotAsync','UNIVER_SHEET','@univerjs-pro/exchange-client','UNIVER_PROJECT','UNIVER_DOC','importFileToUnitId','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','_injector','96viGqAg','exportXLSXByUnitIdAsync','importXLSXToSnapshot'];_0x5402=function(){return _0x327ab9;};return _0x5402();}
1
+ 'use strict';function _0x204a(_0x432190,_0x43877c){const _0x234b04=_0x234b();return _0x204a=function(_0x204a40,_0x5beb60){_0x204a40=_0x204a40-0x189;let _0x2b9949=_0x234b04[_0x204a40];return _0x2b9949;},_0x204a(_0x432190,_0x43877c);}const _0x245962=_0x204a;(function(_0x4f8a36,_0x3e0d0f){const _0x50064b=_0x204a,_0x1902ba=_0x4f8a36();while(!![]){try{const _0x16d673=parseInt(_0x50064b(0x19c))/0x1*(parseInt(_0x50064b(0x189))/0x2)+-parseInt(_0x50064b(0x18c))/0x3+parseInt(_0x50064b(0x18e))/0x4+parseInt(_0x50064b(0x197))/0x5*(-parseInt(_0x50064b(0x19a))/0x6)+-parseInt(_0x50064b(0x19b))/0x7+parseInt(_0x50064b(0x193))/0x8+parseInt(_0x50064b(0x1a0))/0x9*(parseInt(_0x50064b(0x18a))/0xa);if(_0x16d673===_0x3e0d0f)break;else _0x1902ba['push'](_0x1902ba['shift']());}catch(_0x317301){_0x1902ba['push'](_0x1902ba['shift']());}}}(_0x234b,0x2ec19));function _0x234b(){const _0x271c3e=['importXLSXToSnapshot','importDOCXToUnitIdAsync','UNIVER_SLIDE','importDOCXToSnapshotAsync','extend','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','1164azLPLh','40UpDILN','FUniver','220143UNPZoA','_injector','724732hQNsai','importFileToUnitId','exportXLSXByUnitIdAsync','exportXLSXBySnapshot','UNRECOGNIZED','2741144qJAGFm','importXLSXToSnapshotAsync','IExchangeService','importXLSXToUnitId','20pXURbt','UNIVER_SHEET','get','528204YqJTxu','2177770UHLfDv','185jKsElW','@univerjs/core/facade','UNIVER_UNKNOWN','exportXLSXByUnitId','667449EFKNSO','UNIVER_DOC'];_0x234b=function(){return _0x271c3e;};return _0x234b();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x245962(0x19d));var o=(_0x5f446c=>(_0x5f446c[_0x5f446c['UNIVER_UNKNOWN']=0x0]=_0x245962(0x19e),_0x5f446c[_0x5f446c['UNIVER_DOC']=0x1]=_0x245962(0x1a1),_0x5f446c[_0x5f446c[_0x245962(0x198)]=0x2]='UNIVER_SHEET',_0x5f446c[_0x5f446c[_0x245962(0x1a4)]=0x3]=_0x245962(0x1a4),_0x5f446c[_0x5f446c['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x5f446c[_0x5f446c[_0x245962(0x192)]=-0x1]=_0x245962(0x192),_0x5f446c))(o||{});class c extends i[_0x245962(0x18b)]{async[_0x245962(0x196)](_0x2dd6a5){const _0x2ee211=_0x245962;return this[_0x2ee211(0x1a8)](_0x2dd6a5);}async[_0x245962(0x1a8)](_0x158133){const _0x842a48=_0x245962,_0x15ff6f=this[_0x842a48(0x18d)][_0x842a48(0x199)](r[_0x842a48(0x195)]);if(!_0x15ff6f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x15ff6f[_0x842a48(0x18f)](_0x158133,o[_0x842a48(0x198)]);}async['importXLSXToSnapshot'](_0xa39d49){return this['importXLSXToSnapshotAsync'](_0xa39d49);}async[_0x245962(0x194)](_0x371067){const _0x28043d=_0x245962,_0x524493=this[_0x28043d(0x18d)][_0x28043d(0x199)](r[_0x28043d(0x195)]);if(!_0x524493)throw new Error(_0x28043d(0x1a7));return _0x524493[_0x28043d(0x1a2)](_0x371067);}async[_0x245962(0x19f)](_0x2f4110){const _0x3382ed=_0x245962;return this[_0x3382ed(0x190)](_0x2f4110);}async[_0x245962(0x190)](_0x3d8667){const _0x9ac7ef=_0x245962,_0x8cc890=this['_injector'][_0x9ac7ef(0x199)](r['IExchangeService']);if(!_0x8cc890)throw new Error(_0x9ac7ef(0x1a7));return _0x8cc890[_0x9ac7ef(0x19f)](_0x3d8667);}async[_0x245962(0x191)](_0x19b409){const _0x5ad202=_0x245962;return this[_0x5ad202(0x1a9)](_0x19b409);}async[_0x245962(0x1a9)](_0x5624cd){const _0x3e93ee=_0x245962,_0x483680=this[_0x3e93ee(0x18d)][_0x3e93ee(0x199)](r[_0x3e93ee(0x195)]);if(!_0x483680)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x483680['exportXLSXBySnapshot'](_0x5624cd);}async['importDOCXToUnitId'](_0x753240){const _0x2db801=_0x245962;return this[_0x2db801(0x1a3)](_0x753240);}async['importDOCXToUnitIdAsync'](_0x39db3b){const _0x32ae4d=_0x245962,_0x48d474=this['_injector'][_0x32ae4d(0x199)](r[_0x32ae4d(0x195)]);if(!_0x48d474)throw new Error(_0x32ae4d(0x1a7));return _0x48d474['importFileToUnitId'](_0x39db3b,o[_0x32ae4d(0x1a1)]);}async['importDOCXToSnapshot'](_0x3d614b){const _0x3182fb=_0x245962;return this[_0x3182fb(0x1a5)](_0x3d614b);}async['importDOCXToSnapshotAsync'](_0x3e61e7){const _0x5ddf03=_0x245962,_0x1656a1=this[_0x5ddf03(0x18d)][_0x5ddf03(0x199)](r[_0x5ddf03(0x195)]);if(!_0x1656a1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1656a1['importDOCXToSnapshot'](_0x3e61e7);}}i['FUniver'][_0x245962(0x1a6)](c);