@univerjs-pro/exchange-client 0.6.7-experimental.20250331-25f6e0e → 0.6.7-experimental.20250331-45dde91

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';const _0x27945c=_0xf07d;(function(_0x4f3396,_0x141195){const _0x378f79=_0xf07d,_0x3ecb34=_0x4f3396();while(!![]){try{const _0x343d81=-parseInt(_0x378f79(0xb2))/0x1*(-parseInt(_0x378f79(0xb3))/0x2)+-parseInt(_0x378f79(0xbd))/0x3+-parseInt(_0x378f79(0xc4))/0x4+parseInt(_0x378f79(0xca))/0x5+-parseInt(_0x378f79(0xc3))/0x6+parseInt(_0x378f79(0xb5))/0x7*(-parseInt(_0x378f79(0xb1))/0x8)+parseInt(_0x378f79(0xae))/0x9;if(_0x343d81===_0x141195)break;else _0x3ecb34['push'](_0x3ecb34['shift']());}catch(_0x330e2f){_0x3ecb34['push'](_0x3ecb34['shift']());}}}(_0x35de,0xb27b0));const r=require(_0x27945c(0xbe)),i=require(_0x27945c(0xc8));var o=(_0x2bf27d=>(_0x2bf27d[_0x2bf27d[_0x27945c(0xcb)]=0x0]=_0x27945c(0xcb),_0x2bf27d[_0x2bf27d[_0x27945c(0xc5)]=0x1]=_0x27945c(0xc5),_0x2bf27d[_0x2bf27d[_0x27945c(0xcc)]=0x2]=_0x27945c(0xcc),_0x2bf27d[_0x2bf27d['UNIVER_SLIDE']=0x3]=_0x27945c(0xb4),_0x2bf27d[_0x2bf27d['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x2bf27d[_0x2bf27d[_0x27945c(0xb8)]=-0x1]=_0x27945c(0xb8),_0x2bf27d))(o||{});function _0xf07d(_0x3a839a,_0x46f92d){const _0x35deb7=_0x35de();return _0xf07d=function(_0xf07dfa,_0x3b9b8b){_0xf07dfa=_0xf07dfa-0xac;let _0x5bf239=_0x35deb7[_0xf07dfa];return _0x5bf239;},_0xf07d(_0x3a839a,_0x46f92d);}function _0x35de(){const _0x1e08b1=['importXLSXToSnapshotAsync','importFileToUnitId','exportXLSXBySnapshotAsync','importDOCXToSnapshotAsync','8754942nloFEw','4127060xOecby','UNIVER_DOC','importDOCXToSnapshot','importDOCXToUnitId','@univerjs/core/facade','exportXLSXBySnapshot','73900IxkOPY','UNIVER_UNKNOWN','UNIVER_SHEET','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitIdAsync','41594823csNXjd','importDOCXToUnitIdAsync','importXLSXToSnapshot','8bWOWhA','798bjcKkX','2176ThEFWo','UNIVER_SLIDE','5811358pBgKWS','get','IExchangeService','UNRECOGNIZED','_injector','exportXLSXByUnitId','importXLSXToUnitIdAsync','extend','4357437jpmBQq','@univerjs-pro/exchange-client'];_0x35de=function(){return _0x1e08b1;};return _0x35de();}class c extends i[_0x27945c(0xcd)]{async['importXLSXToUnitId'](_0x55be7e){return this['importXLSXToUnitIdAsync'](_0x55be7e);}async[_0x27945c(0xbb)](_0x176a42){const _0x2cd822=_0x27945c,_0x12d566=this[_0x2cd822(0xb9)]['get'](r[_0x2cd822(0xb7)]);if(!_0x12d566)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x12d566[_0x2cd822(0xc0)](_0x176a42,o[_0x2cd822(0xcc)]);}async[_0x27945c(0xb0)](_0x175d36){const _0x1510f6=_0x27945c;return this[_0x1510f6(0xbf)](_0x175d36);}async[_0x27945c(0xbf)](_0x368d64){const _0x374a86=_0x27945c,_0x1db679=this[_0x374a86(0xb9)][_0x374a86(0xb6)](r['IExchangeService']);if(!_0x1db679)throw new Error(_0x374a86(0xac));return _0x1db679[_0x374a86(0xb0)](_0x368d64);}async[_0x27945c(0xba)](_0x95846b){return this['exportXLSXByUnitIdAsync'](_0x95846b);}async[_0x27945c(0xad)](_0x5561b9){const _0x2261bd=_0x27945c,_0x15bf8c=this[_0x2261bd(0xb9)][_0x2261bd(0xb6)](r['IExchangeService']);if(!_0x15bf8c)throw new Error(_0x2261bd(0xac));return _0x15bf8c[_0x2261bd(0xba)](_0x5561b9);}async[_0x27945c(0xc9)](_0x2981eb){const _0x3ce094=_0x27945c;return this[_0x3ce094(0xc1)](_0x2981eb);}async[_0x27945c(0xc1)](_0x3fb30e){const _0x28156b=_0x27945c,_0x294abf=this[_0x28156b(0xb9)][_0x28156b(0xb6)](r[_0x28156b(0xb7)]);if(!_0x294abf)throw new Error(_0x28156b(0xac));return _0x294abf[_0x28156b(0xc9)](_0x3fb30e);}async[_0x27945c(0xc7)](_0x2c038e){const _0x3d7b89=_0x27945c;return this[_0x3d7b89(0xaf)](_0x2c038e);}async[_0x27945c(0xaf)](_0x3ed013){const _0x2874e5=_0x27945c,_0x34dea2=this[_0x2874e5(0xb9)][_0x2874e5(0xb6)](r[_0x2874e5(0xb7)]);if(!_0x34dea2)throw new Error(_0x2874e5(0xac));return _0x34dea2[_0x2874e5(0xc0)](_0x3ed013,o[_0x2874e5(0xc5)]);}async[_0x27945c(0xc6)](_0x5b85a3){const _0x31466b=_0x27945c;return this[_0x31466b(0xc2)](_0x5b85a3);}async[_0x27945c(0xc2)](_0x1b1327){const _0xbc181a=_0x27945c,_0x296797=this[_0xbc181a(0xb9)]['get'](r['IExchangeService']);if(!_0x296797)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x296797['importDOCXToSnapshot'](_0x1b1327);}}i[_0x27945c(0xcd)][_0x27945c(0xbc)](c);