@univerjs-pro/exchange-client 0.6.7-experimental.20250331-25f6e0e → 0.6.7-experimental.20250331-958639c

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 _0x29ad(){const _0x17f25a=['12274556DsOKct','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','UNIVER_SHEET','exportXLSXByUnitId','importDOCXToUnitId','importXLSXToSnapshotAsync','UNRECOGNIZED','9898764yOurhm','exportXLSXBySnapshotAsync','extend','exportXLSXBySnapshot','127037YexPoi','13aXbnDP','370TSiLHw','importXLSXToUnitId','UNIVER_DOC','importDOCXToSnapshot','@univerjs-pro/exchange-client','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','32oLjfKY','get','11BXGDxN','@univerjs/core/facade','importDOCXToSnapshotAsync','3154604TApbuM','importDOCXToUnitIdAsync','1339130pqlCqo','FUniver','27OwFWQD','UNIVER_SLIDE','importXLSXToSnapshot','importFileToUnitId','3lHvNul','412013ygImSY','8tPfmrd','_injector','45876vdRTAO'];_0x29ad=function(){return _0x17f25a;};return _0x29ad();}const _0x5a3409=_0x3217;(function(_0x28b992,_0x3f8c14){const _0x3ee1bf=_0x3217,_0x596236=_0x28b992();while(!![]){try{const _0x2b9489=parseInt(_0x3ee1bf(0x1f8))/0x1*(parseInt(_0x3ee1bf(0x1e9))/0x2)+parseInt(_0x3ee1bf(0x1e7))/0x3*(parseInt(_0x3ee1bf(0x1df))/0x4)+parseInt(_0x3ee1bf(0x1fa))/0x5*(-parseInt(_0x3ee1bf(0x1eb))/0x6)+-parseInt(_0x3ee1bf(0x1e8))/0x7*(-parseInt(_0x3ee1bf(0x202))/0x8)+-parseInt(_0x3ee1bf(0x1e3))/0x9*(parseInt(_0x3ee1bf(0x1e1))/0xa)+-parseInt(_0x3ee1bf(0x204))/0xb*(parseInt(_0x3ee1bf(0x1f4))/0xc)+-parseInt(_0x3ee1bf(0x1f9))/0xd*(-parseInt(_0x3ee1bf(0x1ec))/0xe);if(_0x2b9489===_0x3f8c14)break;else _0x596236['push'](_0x596236['shift']());}catch(_0x23d2ee){_0x596236['push'](_0x596236['shift']());}}}(_0x29ad,0x96865));const r=require(_0x5a3409(0x1fe)),i=require(_0x5a3409(0x205));var o=(_0x54427e=>(_0x54427e[_0x54427e[_0x5a3409(0x1ff)]=0x0]=_0x5a3409(0x1ff),_0x54427e[_0x54427e[_0x5a3409(0x1fc)]=0x1]=_0x5a3409(0x1fc),_0x54427e[_0x54427e[_0x5a3409(0x1ef)]=0x2]=_0x5a3409(0x1ef),_0x54427e[_0x54427e[_0x5a3409(0x1e4)]=0x3]=_0x5a3409(0x1e4),_0x54427e[_0x54427e['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x54427e[_0x54427e[_0x5a3409(0x1f3)]=-0x1]=_0x5a3409(0x1f3),_0x54427e))(o||{});function _0x3217(_0x3383b6,_0x2816f6){const _0x29ad70=_0x29ad();return _0x3217=function(_0x32177f,_0x480c7c){_0x32177f=_0x32177f-0x1df;let _0x3155f3=_0x29ad70[_0x32177f];return _0x3155f3;},_0x3217(_0x3383b6,_0x2816f6);}class c extends i['FUniver']{async[_0x5a3409(0x1fb)](_0x1b820b){const _0x2aa6bd=_0x5a3409;return this[_0x2aa6bd(0x1ee)](_0x1b820b);}async[_0x5a3409(0x1ee)](_0x53ae7b){const _0x4af6b5=_0x5a3409,_0x18dd1b=this[_0x4af6b5(0x1ea)]['get'](r[_0x4af6b5(0x201)]);if(!_0x18dd1b)throw new Error(_0x4af6b5(0x200));return _0x18dd1b[_0x4af6b5(0x1e6)](_0x53ae7b,o['UNIVER_SHEET']);}async[_0x5a3409(0x1e5)](_0xec1747){const _0x44b31b=_0x5a3409;return this[_0x44b31b(0x1f2)](_0xec1747);}async[_0x5a3409(0x1f2)](_0x41b941){const _0x1640a6=_0x5a3409,_0x21fcb8=this['_injector'][_0x1640a6(0x203)](r[_0x1640a6(0x201)]);if(!_0x21fcb8)throw new Error(_0x1640a6(0x200));return _0x21fcb8[_0x1640a6(0x1e5)](_0x41b941);}async[_0x5a3409(0x1f0)](_0x13fe4a){const _0x115925=_0x5a3409;return this[_0x115925(0x1ed)](_0x13fe4a);}async[_0x5a3409(0x1ed)](_0x26c304){const _0x40449f=_0x5a3409,_0x30b84d=this[_0x40449f(0x1ea)][_0x40449f(0x203)](r['IExchangeService']);if(!_0x30b84d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x30b84d[_0x40449f(0x1f0)](_0x26c304);}async[_0x5a3409(0x1f7)](_0x289386){return this['exportXLSXBySnapshotAsync'](_0x289386);}async[_0x5a3409(0x1f5)](_0x5cde16){const _0x3ab0ce=_0x5a3409,_0x55161b=this[_0x3ab0ce(0x1ea)][_0x3ab0ce(0x203)](r[_0x3ab0ce(0x201)]);if(!_0x55161b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x55161b[_0x3ab0ce(0x1f7)](_0x5cde16);}async[_0x5a3409(0x1f1)](_0x125f89){const _0x5d1b6c=_0x5a3409;return this[_0x5d1b6c(0x1e0)](_0x125f89);}async[_0x5a3409(0x1e0)](_0x4e90d5){const _0x80d657=_0x5a3409,_0x5cce21=this[_0x80d657(0x1ea)]['get'](r[_0x80d657(0x201)]);if(!_0x5cce21)throw new Error(_0x80d657(0x200));return _0x5cce21[_0x80d657(0x1e6)](_0x4e90d5,o['UNIVER_DOC']);}async[_0x5a3409(0x1fd)](_0x474bdd){const _0x303da7=_0x5a3409;return this[_0x303da7(0x206)](_0x474bdd);}async['importDOCXToSnapshotAsync'](_0x2cf216){const _0x61a957=_0x5a3409,_0x528ca0=this[_0x61a957(0x1ea)]['get'](r[_0x61a957(0x201)]);if(!_0x528ca0)throw new Error(_0x61a957(0x200));return _0x528ca0['importDOCXToSnapshot'](_0x2cf216);}}i[_0x5a3409(0x1e2)][_0x5a3409(0x1f6)](c);
1
+ 'use strict';function _0x2bd2(_0x44ac48,_0x48a4d9){const _0x37986f=_0x3798();return _0x2bd2=function(_0x2bd264,_0xef7323){_0x2bd264=_0x2bd264-0xa6;let _0x49c212=_0x37986f[_0x2bd264];return _0x49c212;},_0x2bd2(_0x44ac48,_0x48a4d9);}const _0x535da0=_0x2bd2;(function(_0x3df710,_0x4622a8){const _0x38f5a3=_0x2bd2,_0x3c73af=_0x3df710();while(!![]){try{const _0x59bf30=parseInt(_0x38f5a3(0xb3))/0x1*(parseInt(_0x38f5a3(0xa8))/0x2)+-parseInt(_0x38f5a3(0xa7))/0x3*(parseInt(_0x38f5a3(0xb5))/0x4)+-parseInt(_0x38f5a3(0xbf))/0x5*(-parseInt(_0x38f5a3(0xb9))/0x6)+parseInt(_0x38f5a3(0xc1))/0x7+-parseInt(_0x38f5a3(0xad))/0x8*(-parseInt(_0x38f5a3(0xc0))/0x9)+-parseInt(_0x38f5a3(0xc9))/0xa*(-parseInt(_0x38f5a3(0xbc))/0xb)+-parseInt(_0x38f5a3(0xc3))/0xc*(parseInt(_0x38f5a3(0xae))/0xd);if(_0x59bf30===_0x4622a8)break;else _0x3c73af['push'](_0x3c73af['shift']());}catch(_0x44991c){_0x3c73af['push'](_0x3c73af['shift']());}}}(_0x3798,0x74482));const r=require(_0x535da0(0xc8)),i=require(_0x535da0(0xac));var o=(_0x13feac=>(_0x13feac[_0x13feac[_0x535da0(0xb8)]=0x0]='UNIVER_UNKNOWN',_0x13feac[_0x13feac['UNIVER_DOC']=0x1]=_0x535da0(0xba),_0x13feac[_0x13feac[_0x535da0(0xb4)]=0x2]=_0x535da0(0xb4),_0x13feac[_0x13feac[_0x535da0(0xab)]=0x3]=_0x535da0(0xab),_0x13feac[_0x13feac[_0x535da0(0xc6)]=0x4]=_0x535da0(0xc6),_0x13feac[_0x13feac[_0x535da0(0xc5)]=-0x1]=_0x535da0(0xc5),_0x13feac))(o||{});function _0x3798(){const _0x1a5459=['UNIVER_PROJECT','get','@univerjs-pro/exchange-client','8290wrNZbk','The\x20exchange\x20service\x20is\x20not\x20available','154293zDGlNe','182188eEUsma','exportXLSXBySnapshot','FUniver','UNIVER_SLIDE','@univerjs/core/facade','21616viUHnB','1041963vNLiPg','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','exportXLSXByUnitId','importFileToUnitId','8YFKVvT','UNIVER_SHEET','40VpPiqp','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','UNIVER_UNKNOWN','24876vdGYrc','UNIVER_DOC','importXLSXToUnitId','8965EFNcWu','importXLSXToSnapshotAsync','_injector','530dJeIrQ','3141qfhHwi','5379997wKmuRX','importDOCXToSnapshot','384yjKxMi','IExchangeService','UNRECOGNIZED'];_0x3798=function(){return _0x1a5459;};return _0x3798();}class c extends i[_0x535da0(0xaa)]{async[_0x535da0(0xbb)](_0x2a2490){const _0x2b96f0=_0x535da0;return this[_0x2b96f0(0xb0)](_0x2a2490);}async['importXLSXToUnitIdAsync'](_0x538dcd){const _0x571117=_0x535da0,_0x2dcc4e=this['_injector'][_0x571117(0xc7)](r[_0x571117(0xc4)]);if(!_0x2dcc4e)throw new Error(_0x571117(0xa6));return _0x2dcc4e[_0x571117(0xb2)](_0x538dcd,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x576cb2){const _0x27fb41=_0x535da0;return this[_0x27fb41(0xbd)](_0x576cb2);}async[_0x535da0(0xbd)](_0x27bf66){const _0x196d59=_0x535da0,_0x212820=this[_0x196d59(0xbe)][_0x196d59(0xc7)](r['IExchangeService']);if(!_0x212820)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x212820['importXLSXToSnapshot'](_0x27bf66);}async[_0x535da0(0xb1)](_0x26683a){return this['exportXLSXByUnitIdAsync'](_0x26683a);}async['exportXLSXByUnitIdAsync'](_0x16947e){const _0x421bb4=_0x535da0,_0x15cc7b=this['_injector'][_0x421bb4(0xc7)](r[_0x421bb4(0xc4)]);if(!_0x15cc7b)throw new Error(_0x421bb4(0xa6));return _0x15cc7b['exportXLSXByUnitId'](_0x16947e);}async[_0x535da0(0xa9)](_0xdc649d){return this['exportXLSXBySnapshotAsync'](_0xdc649d);}async[_0x535da0(0xb6)](_0x40f514){const _0x28c944=_0x535da0,_0x21fa85=this[_0x28c944(0xbe)][_0x28c944(0xc7)](r[_0x28c944(0xc4)]);if(!_0x21fa85)throw new Error(_0x28c944(0xa6));return _0x21fa85['exportXLSXBySnapshot'](_0x40f514);}async['importDOCXToUnitId'](_0x438d47){const _0x20e1ba=_0x535da0;return this[_0x20e1ba(0xb7)](_0x438d47);}async[_0x535da0(0xb7)](_0x3406d3){const _0xe4ed91=_0x535da0,_0x4a6413=this[_0xe4ed91(0xbe)][_0xe4ed91(0xc7)](r[_0xe4ed91(0xc4)]);if(!_0x4a6413)throw new Error(_0xe4ed91(0xa6));return _0x4a6413[_0xe4ed91(0xb2)](_0x3406d3,o['UNIVER_DOC']);}async[_0x535da0(0xc2)](_0xf1e625){const _0x19da03=_0x535da0;return this[_0x19da03(0xaf)](_0xf1e625);}async[_0x535da0(0xaf)](_0x27b749){const _0x306d48=_0x535da0,_0x786232=this[_0x306d48(0xbe)][_0x306d48(0xc7)](r[_0x306d48(0xc4)]);if(!_0x786232)throw new Error(_0x306d48(0xa6));return _0x786232['importDOCXToSnapshot'](_0x27b749);}}i['FUniver']['extend'](c);