@univerjs-pro/exchange-client 0.6.10-experimental.20250427-173dc06 → 0.6.10-experimental.20250427-89a0949

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 _0x41fd(){const _0x5a1eaf=['2306785JZLCGf','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','importXLSXToSnapshotAsync','exportXLSXByUnitId','importDOCXToSnapshot','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','UNIVER_UNKNOWN','@univerjs/core/facade','11477824oSxyZy','_injector','exportXLSXBySnapshot','36EJWFhw','10791802ODkLtB','importXLSXToUnitId','973192qgLHeB','717277tCDJHd','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','UNIVER_SLIDE','475692WRLcMK','FUniver','UNIVER_DOC','exportXLSXByUnitIdAsync','UNIVER_PROJECT','importXLSXToSnapshot','UNIVER_SHEET','get','importFileToUnitId','@univerjs-pro/exchange-client','5102868NAVLkt','UNRECOGNIZED'];_0x41fd=function(){return _0x5a1eaf;};return _0x41fd();}const _0x3c025a=_0x5ea4;(function(_0x20e483,_0x589dc8){const _0x1c2ebe=_0x5ea4,_0x557fbf=_0x20e483();while(!![]){try{const _0x863a46=parseInt(_0x1c2ebe(0x82))/0x1+parseInt(_0x1c2ebe(0x81))/0x2+-parseInt(_0x1c2ebe(0x9f))/0x3*(parseInt(_0x1c2ebe(0x86))/0x4)+parseInt(_0x1c2ebe(0x92))/0x5+parseInt(_0x1c2ebe(0x90))/0x6+-parseInt(_0x1c2ebe(0xa0))/0x7+parseInt(_0x1c2ebe(0x9c))/0x8;if(_0x863a46===_0x589dc8)break;else _0x557fbf['push'](_0x557fbf['shift']());}catch(_0x5823e0){_0x557fbf['push'](_0x557fbf['shift']());}}}(_0x41fd,0xefaaa));const r=require(_0x3c025a(0x8f)),i=require(_0x3c025a(0x9b));function _0x5ea4(_0x4027da,_0x190841){const _0x41fdae=_0x41fd();return _0x5ea4=function(_0x5ea4fb,_0x58f2ac){_0x5ea4fb=_0x5ea4fb-0x80;let _0x5768fc=_0x41fdae[_0x5ea4fb];return _0x5768fc;},_0x5ea4(_0x4027da,_0x190841);}var o=(_0x1fe55b=>(_0x1fe55b[_0x1fe55b[_0x3c025a(0x9a)]=0x0]=_0x3c025a(0x9a),_0x1fe55b[_0x1fe55b['UNIVER_DOC']=0x1]=_0x3c025a(0x88),_0x1fe55b[_0x1fe55b[_0x3c025a(0x8c)]=0x2]=_0x3c025a(0x8c),_0x1fe55b[_0x1fe55b[_0x3c025a(0x85)]=0x3]=_0x3c025a(0x85),_0x1fe55b[_0x1fe55b[_0x3c025a(0x8a)]=0x4]=_0x3c025a(0x8a),_0x1fe55b[_0x1fe55b[_0x3c025a(0x91)]=-0x1]='UNRECOGNIZED',_0x1fe55b))(o||{});class c extends i['FUniver']{async[_0x3c025a(0x80)](_0x14dcfe){const _0x260ad6=_0x3c025a;return this[_0x260ad6(0x98)](_0x14dcfe);}async[_0x3c025a(0x98)](_0x50f026){const _0x4bb831=_0x3c025a,_0x3ca5e5=this['_injector'][_0x4bb831(0x8d)](r['IExchangeService']);if(!_0x3ca5e5)throw new Error(_0x4bb831(0x93));return _0x3ca5e5[_0x4bb831(0x8e)](_0x50f026,o[_0x4bb831(0x8c)]);}async[_0x3c025a(0x8b)](_0x4eae4a){const _0x2ab147=_0x3c025a;return this[_0x2ab147(0x95)](_0x4eae4a);}async[_0x3c025a(0x95)](_0x4ffa8f){const _0x53c1f3=_0x3c025a,_0x489bc5=this[_0x53c1f3(0x9d)]['get'](r[_0x53c1f3(0x94)]);if(!_0x489bc5)throw new Error(_0x53c1f3(0x93));return _0x489bc5[_0x53c1f3(0x8b)](_0x4ffa8f);}async[_0x3c025a(0x96)](_0x3311d0){const _0x173b19=_0x3c025a;return this[_0x173b19(0x89)](_0x3311d0);}async['exportXLSXByUnitIdAsync'](_0x4bcbe4){const _0x174519=_0x3c025a,_0x30fad9=this['_injector'][_0x174519(0x8d)](r[_0x174519(0x94)]);if(!_0x30fad9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x30fad9[_0x174519(0x96)](_0x4bcbe4);}async[_0x3c025a(0x9e)](_0x265043){const _0x351451=_0x3c025a;return this[_0x351451(0x84)](_0x265043);}async[_0x3c025a(0x84)](_0x1dca1e){const _0x375311=_0x3c025a,_0x256cee=this[_0x375311(0x9d)][_0x375311(0x8d)](r[_0x375311(0x94)]);if(!_0x256cee)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x256cee[_0x375311(0x9e)](_0x1dca1e);}async['importDOCXToUnitId'](_0x2fc464){const _0x39ffeb=_0x3c025a;return this[_0x39ffeb(0x99)](_0x2fc464);}async[_0x3c025a(0x99)](_0xbd5863){const _0x207b84=_0x3c025a,_0x4ca5ec=this[_0x207b84(0x9d)][_0x207b84(0x8d)](r[_0x207b84(0x94)]);if(!_0x4ca5ec)throw new Error(_0x207b84(0x93));return _0x4ca5ec[_0x207b84(0x8e)](_0xbd5863,o[_0x207b84(0x88)]);}async[_0x3c025a(0x97)](_0x478708){return this['importDOCXToSnapshotAsync'](_0x478708);}async[_0x3c025a(0x83)](_0x445b57){const _0x57ab7e=_0x3c025a,_0x31f1b5=this['_injector']['get'](r[_0x57ab7e(0x94)]);if(!_0x31f1b5)throw new Error(_0x57ab7e(0x93));return _0x31f1b5[_0x57ab7e(0x97)](_0x445b57);}}i[_0x3c025a(0x87)]['extend'](c);
1
+ 'use strict';const _0x5f4c8d=_0x16a2;function _0x16a2(_0x3cf966,_0x5dd936){const _0x5c4866=_0x5c48();return _0x16a2=function(_0x16a21c,_0x4f8102){_0x16a21c=_0x16a21c-0x108;let _0x49ab0e=_0x5c4866[_0x16a21c];return _0x49ab0e;},_0x16a2(_0x3cf966,_0x5dd936);}(function(_0x460602,_0x585e0f){const _0x4b283f=_0x16a2,_0x3dfdfc=_0x460602();while(!![]){try{const _0x3e74b5=parseInt(_0x4b283f(0x11c))/0x1+parseInt(_0x4b283f(0x10e))/0x2+parseInt(_0x4b283f(0x10c))/0x3+-parseInt(_0x4b283f(0x125))/0x4*(parseInt(_0x4b283f(0x11d))/0x5)+parseInt(_0x4b283f(0x119))/0x6+-parseInt(_0x4b283f(0x112))/0x7+-parseInt(_0x4b283f(0x11b))/0x8;if(_0x3e74b5===_0x585e0f)break;else _0x3dfdfc['push'](_0x3dfdfc['shift']());}catch(_0x5ee481){_0x3dfdfc['push'](_0x3dfdfc['shift']());}}}(_0x5c48,0xecde0));const r=require(_0x5f4c8d(0x10b)),i=require('@univerjs/core/facade');var o=(_0x3b55ed=>(_0x3b55ed[_0x3b55ed['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x3b55ed[_0x3b55ed[_0x5f4c8d(0x10f)]=0x1]=_0x5f4c8d(0x10f),_0x3b55ed[_0x3b55ed[_0x5f4c8d(0x126)]=0x2]=_0x5f4c8d(0x126),_0x3b55ed[_0x3b55ed[_0x5f4c8d(0x127)]=0x3]='UNIVER_SLIDE',_0x3b55ed[_0x3b55ed[_0x5f4c8d(0x123)]=0x4]=_0x5f4c8d(0x123),_0x3b55ed[_0x3b55ed[_0x5f4c8d(0x117)]=-0x1]='UNRECOGNIZED',_0x3b55ed))(o||{});class c extends i['FUniver']{async[_0x5f4c8d(0x124)](_0x182d0f){const _0x3d8bc2=_0x5f4c8d;return this[_0x3d8bc2(0x122)](_0x182d0f);}async[_0x5f4c8d(0x122)](_0x80f3d7){const _0x2f283a=_0x5f4c8d,_0x184a4c=this[_0x2f283a(0x116)][_0x2f283a(0x10a)](r[_0x2f283a(0x120)]);if(!_0x184a4c)throw new Error(_0x2f283a(0x118));return _0x184a4c['importFileToUnitId'](_0x80f3d7,o[_0x2f283a(0x126)]);}async[_0x5f4c8d(0x111)](_0x20af58){const _0x51b3e0=_0x5f4c8d;return this[_0x51b3e0(0x114)](_0x20af58);}async[_0x5f4c8d(0x114)](_0x226849){const _0x1514b7=_0x5f4c8d,_0x187606=this[_0x1514b7(0x116)][_0x1514b7(0x10a)](r[_0x1514b7(0x120)]);if(!_0x187606)throw new Error(_0x1514b7(0x118));return _0x187606[_0x1514b7(0x111)](_0x226849);}async[_0x5f4c8d(0x11a)](_0x5753c4){return this['exportXLSXByUnitIdAsync'](_0x5753c4);}async[_0x5f4c8d(0x113)](_0x2ccf78){const _0x5dd9c7=_0x5f4c8d,_0x3b1cee=this[_0x5dd9c7(0x116)][_0x5dd9c7(0x10a)](r[_0x5dd9c7(0x120)]);if(!_0x3b1cee)throw new Error(_0x5dd9c7(0x118));return _0x3b1cee[_0x5dd9c7(0x11a)](_0x2ccf78);}async['exportXLSXBySnapshot'](_0x448658){const _0x26c04e=_0x5f4c8d;return this[_0x26c04e(0x121)](_0x448658);}async[_0x5f4c8d(0x121)](_0x1acf32){const _0x2f9af0=_0x5f4c8d,_0x4b2a0b=this[_0x2f9af0(0x116)][_0x2f9af0(0x10a)](r[_0x2f9af0(0x120)]);if(!_0x4b2a0b)throw new Error(_0x2f9af0(0x118));return _0x4b2a0b[_0x2f9af0(0x10d)](_0x1acf32);}async[_0x5f4c8d(0x128)](_0x253fed){const _0x5f0507=_0x5f4c8d;return this[_0x5f0507(0x115)](_0x253fed);}async[_0x5f4c8d(0x115)](_0x28572b){const _0x520a7c=_0x5f4c8d,_0x2ace69=this[_0x520a7c(0x116)]['get'](r[_0x520a7c(0x120)]);if(!_0x2ace69)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2ace69[_0x520a7c(0x108)](_0x28572b,o[_0x520a7c(0x10f)]);}async[_0x5f4c8d(0x11f)](_0x36ef61){const _0x439b85=_0x5f4c8d;return this[_0x439b85(0x11e)](_0x36ef61);}async[_0x5f4c8d(0x11e)](_0x125b0b){const _0xb2e8d1=_0x5f4c8d,_0x699a24=this['_injector'][_0xb2e8d1(0x10a)](r[_0xb2e8d1(0x120)]);if(!_0x699a24)throw new Error(_0xb2e8d1(0x118));return _0x699a24['importDOCXToSnapshot'](_0x125b0b);}}function _0x5c48(){const _0x3b65d4=['_injector','UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','3469668kvQsUK','exportXLSXByUnitId','10531656AxFoZn','124542BHfMQL','5LZHYRG','importDOCXToSnapshotAsync','importDOCXToSnapshot','IExchangeService','exportXLSXBySnapshotAsync','importXLSXToUnitIdAsync','UNIVER_PROJECT','importXLSXToUnitId','130912KindqH','UNIVER_SHEET','UNIVER_SLIDE','importDOCXToUnitId','importFileToUnitId','FUniver','get','@univerjs-pro/exchange-client','3942396wkRdlP','exportXLSXBySnapshot','1243660ROBHVH','UNIVER_DOC','extend','importXLSXToSnapshot','2235723aunQUi','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','importDOCXToUnitIdAsync'];_0x5c48=function(){return _0x3b65d4;};return _0x5c48();}i[_0x5f4c8d(0x109)][_0x5f4c8d(0x110)](c);