@univerjs-pro/exchange-client 0.7.0-nightly.202505171606 → 0.7.0-nightly.202505181606

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 _0x2dd0b8=_0x4438;function _0x5d03(){const _0x5684bf=['2335865sNhean','UNIVER_SLIDE','importDOCXToUnitIdAsync','importXLSXToUnitIdAsync','importXLSXToUnitId','exportXLSXByUnitIdAsync','importDOCXToSnapshot','importXLSXToSnapshot','UNIVER_PROJECT','extend','UNRECOGNIZED','@univerjs/core/facade','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','get','UNIVER_UNKNOWN','IExchangeService','exportXLSXByUnitId','UNIVER_SHEET','exportXLSXBySnapshotAsync','175430PxjcJE','691338oHJXKa','2372713WZjsJT','4GZSNJH','exportXLSXBySnapshot','UNIVER_DOC','importDOCXToSnapshotAsync','importFileToUnitId','46352JUHyKi','914624gTGYTv','54yBrAcI','_injector','importXLSXToSnapshotAsync','1086069rVdhWP','importDOCXToUnitId'];_0x5d03=function(){return _0x5684bf;};return _0x5d03();}(function(_0x366c66,_0x2281a3){const _0x4975cc=_0x4438,_0x5d7bb1=_0x366c66();while(!![]){try{const _0x4cd798=parseInt(_0x4975cc(0x8d))/0x1*(parseInt(_0x4975cc(0x90))/0x2)+parseInt(_0x4975cc(0x9a))/0x3+parseInt(_0x4975cc(0x96))/0x4+-parseInt(_0x4975cc(0x9c))/0x5+parseInt(_0x4975cc(0x8e))/0x6+-parseInt(_0x4975cc(0x8f))/0x7+-parseInt(_0x4975cc(0x95))/0x8*(-parseInt(_0x4975cc(0x97))/0x9);if(_0x4cd798===_0x2281a3)break;else _0x5d7bb1['push'](_0x5d7bb1['shift']());}catch(_0x59b856){_0x5d7bb1['push'](_0x5d7bb1['shift']());}}}(_0x5d03,0x45ad2));function _0x4438(_0x138564,_0x2f69dd){const _0x5d0331=_0x5d03();return _0x4438=function(_0x44386b,_0x22989a){_0x44386b=_0x44386b-0x80;let _0x4958aa=_0x5d0331[_0x44386b];return _0x4958aa;},_0x4438(_0x138564,_0x2f69dd);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x2dd0b8(0x84));var o=(_0x4e8d17=>(_0x4e8d17[_0x4e8d17[_0x2dd0b8(0x88)]=0x0]=_0x2dd0b8(0x88),_0x4e8d17[_0x4e8d17[_0x2dd0b8(0x92)]=0x1]=_0x2dd0b8(0x92),_0x4e8d17[_0x4e8d17[_0x2dd0b8(0x8b)]=0x2]=_0x2dd0b8(0x8b),_0x4e8d17[_0x4e8d17['UNIVER_SLIDE']=0x3]=_0x2dd0b8(0x9d),_0x4e8d17[_0x4e8d17[_0x2dd0b8(0x81)]=0x4]='UNIVER_PROJECT',_0x4e8d17[_0x4e8d17[_0x2dd0b8(0x83)]=-0x1]=_0x2dd0b8(0x83),_0x4e8d17))(o||{});class c extends i['FUniver']{async[_0x2dd0b8(0xa0)](_0x4b59bf){const _0x583340=_0x2dd0b8;return this[_0x583340(0x9f)](_0x4b59bf);}async[_0x2dd0b8(0x9f)](_0x2ec167){const _0x5de751=_0x2dd0b8,_0x2ae793=this[_0x5de751(0x98)]['get'](r[_0x5de751(0x89)]);if(!_0x2ae793)throw new Error(_0x5de751(0x85));return _0x2ae793[_0x5de751(0x94)](_0x2ec167,o[_0x5de751(0x8b)]);}async[_0x2dd0b8(0x80)](_0x327b4e){const _0x1f484f=_0x2dd0b8;return this[_0x1f484f(0x99)](_0x327b4e);}async[_0x2dd0b8(0x99)](_0x12b47d){const _0x17cb9a=_0x2dd0b8,_0x2ad747=this[_0x17cb9a(0x98)][_0x17cb9a(0x87)](r['IExchangeService']);if(!_0x2ad747)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2ad747[_0x17cb9a(0x80)](_0x12b47d);}async[_0x2dd0b8(0x8a)](_0x322e08){const _0x5e69d1=_0x2dd0b8;return this[_0x5e69d1(0xa1)](_0x322e08);}async[_0x2dd0b8(0xa1)](_0x3df363){const _0x1b4fa2=_0x2dd0b8,_0x3c6fd9=this[_0x1b4fa2(0x98)][_0x1b4fa2(0x87)](r['IExchangeService']);if(!_0x3c6fd9)throw new Error(_0x1b4fa2(0x85));return _0x3c6fd9[_0x1b4fa2(0x8a)](_0x3df363);}async[_0x2dd0b8(0x91)](_0x680f31){return this['exportXLSXBySnapshotAsync'](_0x680f31);}async[_0x2dd0b8(0x8c)](_0x25fb7d){const _0x3e460d=_0x2dd0b8,_0x1581c7=this[_0x3e460d(0x98)][_0x3e460d(0x87)](r[_0x3e460d(0x89)]);if(!_0x1581c7)throw new Error(_0x3e460d(0x85));return _0x1581c7[_0x3e460d(0x91)](_0x25fb7d);}async[_0x2dd0b8(0x9b)](_0x19bea1){return this['importDOCXToUnitIdAsync'](_0x19bea1);}async[_0x2dd0b8(0x9e)](_0x1a49b9){const _0x1943cc=_0x2dd0b8,_0x2cdefe=this['_injector']['get'](r[_0x1943cc(0x89)]);if(!_0x2cdefe)throw new Error(_0x1943cc(0x85));return _0x2cdefe['importFileToUnitId'](_0x1a49b9,o[_0x1943cc(0x92)]);}async[_0x2dd0b8(0xa2)](_0x362c33){const _0x18ff2d=_0x2dd0b8;return this[_0x18ff2d(0x93)](_0x362c33);}async[_0x2dd0b8(0x93)](_0x49639e){const _0x31ed9a=_0x2dd0b8,_0x1f26a5=this[_0x31ed9a(0x98)]['get'](r['IExchangeService']);if(!_0x1f26a5)throw new Error(_0x31ed9a(0x85));return _0x1f26a5[_0x31ed9a(0xa2)](_0x49639e);}}i[_0x2dd0b8(0x86)][_0x2dd0b8(0x82)](c);
1
+ 'use strict';const _0x129eab=_0x3328;(function(_0x290a3a,_0x4e61ef){const _0x1fd95f=_0x3328,_0xfca493=_0x290a3a();while(!![]){try{const _0xe43146=parseInt(_0x1fd95f(0x1aa))/0x1*(parseInt(_0x1fd95f(0x1ac))/0x2)+parseInt(_0x1fd95f(0x1b5))/0x3*(-parseInt(_0x1fd95f(0x1a9))/0x4)+parseInt(_0x1fd95f(0x1b4))/0x5*(parseInt(_0x1fd95f(0x1b7))/0x6)+-parseInt(_0x1fd95f(0x1b6))/0x7*(parseInt(_0x1fd95f(0x1a5))/0x8)+-parseInt(_0x1fd95f(0x1a1))/0x9*(parseInt(_0x1fd95f(0x1b2))/0xa)+parseInt(_0x1fd95f(0x1b8))/0xb+parseInt(_0x1fd95f(0x1ba))/0xc;if(_0xe43146===_0x4e61ef)break;else _0xfca493['push'](_0xfca493['shift']());}catch(_0x1a392a){_0xfca493['push'](_0xfca493['shift']());}}}(_0x55b1,0x70675));function _0x3328(_0x27c792,_0x5933ac){const _0x55b158=_0x55b1();return _0x3328=function(_0x332827,_0xc2c41c){_0x332827=_0x332827-0x19b;let _0x2b417e=_0x55b158[_0x332827];return _0x2b417e;},_0x3328(_0x27c792,_0x5933ac);}function _0x55b1(){const _0x37f5c4=['@univerjs/core/facade','get','3508810jtIEzL','importDOCXToSnapshotAsync','25iMVGoH','15nfmfVG','290318MxzVAG','219906LbYofS','9525417CbbuXo','IExchangeService','10012608gOLUoX','importDOCXToUnitIdAsync','importFileToUnitId','FUniver','UNIVER_UNKNOWN','UNRECOGNIZED','UNIVER_DOC','importXLSXToUnitIdAsync','importDOCXToSnapshot','9Wusasb','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','importXLSXToUnitId','168FyrWGp','UNIVER_PROJECT','importXLSXToSnapshot','importXLSXToSnapshotAsync','676564rybfgA','1LKNlSj','exportXLSXByUnitIdAsync','1288718KQzIyD','exportXLSXBySnapshotAsync','_injector','UNIVER_SLIDE'];_0x55b1=function(){return _0x37f5c4;};return _0x55b1();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x129eab(0x1b0));var o=(_0x51fa3a=>(_0x51fa3a[_0x51fa3a['UNIVER_UNKNOWN']=0x0]=_0x129eab(0x19c),_0x51fa3a[_0x51fa3a[_0x129eab(0x19e)]=0x1]=_0x129eab(0x19e),_0x51fa3a[_0x51fa3a['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x51fa3a[_0x51fa3a[_0x129eab(0x1af)]=0x3]='UNIVER_SLIDE',_0x51fa3a[_0x51fa3a[_0x129eab(0x1a6)]=0x4]=_0x129eab(0x1a6),_0x51fa3a[_0x51fa3a[_0x129eab(0x19d)]=-0x1]='UNRECOGNIZED',_0x51fa3a))(o||{});class c extends i[_0x129eab(0x19b)]{async[_0x129eab(0x1a4)](_0x27d376){const _0x4bf9b3=_0x129eab;return this[_0x4bf9b3(0x19f)](_0x27d376);}async[_0x129eab(0x19f)](_0x1737cb){const _0x17412f=_0x129eab,_0x2d3768=this[_0x17412f(0x1ae)][_0x17412f(0x1b1)](r[_0x17412f(0x1b9)]);if(!_0x2d3768)throw new Error(_0x17412f(0x1a2));return _0x2d3768[_0x17412f(0x1bc)](_0x1737cb,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x90d4b0){return this['importXLSXToSnapshotAsync'](_0x90d4b0);}async[_0x129eab(0x1a8)](_0x499fe7){const _0x3834c8=_0x129eab,_0x3b3c29=this[_0x3834c8(0x1ae)][_0x3834c8(0x1b1)](r[_0x3834c8(0x1b9)]);if(!_0x3b3c29)throw new Error(_0x3834c8(0x1a2));return _0x3b3c29[_0x3834c8(0x1a7)](_0x499fe7);}async[_0x129eab(0x1a3)](_0xe03f37){return this['exportXLSXByUnitIdAsync'](_0xe03f37);}async[_0x129eab(0x1ab)](_0x2c4ad2){const _0x3dfdf7=_0x129eab,_0x11b59a=this['_injector'][_0x3dfdf7(0x1b1)](r[_0x3dfdf7(0x1b9)]);if(!_0x11b59a)throw new Error(_0x3dfdf7(0x1a2));return _0x11b59a['exportXLSXByUnitId'](_0x2c4ad2);}async['exportXLSXBySnapshot'](_0xf3cf7b){const _0x1ae0fa=_0x129eab;return this[_0x1ae0fa(0x1ad)](_0xf3cf7b);}async[_0x129eab(0x1ad)](_0x16e3cc){const _0x464634=_0x129eab,_0x22e327=this[_0x464634(0x1ae)][_0x464634(0x1b1)](r[_0x464634(0x1b9)]);if(!_0x22e327)throw new Error(_0x464634(0x1a2));return _0x22e327['exportXLSXBySnapshot'](_0x16e3cc);}async['importDOCXToUnitId'](_0x1839f2){const _0x3400cb=_0x129eab;return this[_0x3400cb(0x1bb)](_0x1839f2);}async[_0x129eab(0x1bb)](_0x37cac6){const _0x47b1c6=_0x129eab,_0xbc12a1=this[_0x47b1c6(0x1ae)][_0x47b1c6(0x1b1)](r['IExchangeService']);if(!_0xbc12a1)throw new Error(_0x47b1c6(0x1a2));return _0xbc12a1[_0x47b1c6(0x1bc)](_0x37cac6,o[_0x47b1c6(0x19e)]);}async[_0x129eab(0x1a0)](_0x1c2cf0){const _0x5e651b=_0x129eab;return this[_0x5e651b(0x1b3)](_0x1c2cf0);}async[_0x129eab(0x1b3)](_0x4c68e0){const _0xc451ee=_0x129eab,_0x336142=this['_injector'][_0xc451ee(0x1b1)](r[_0xc451ee(0x1b9)]);if(!_0x336142)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x336142[_0xc451ee(0x1a0)](_0x4c68e0);}}i[_0x129eab(0x19b)]['extend'](c);