@univerjs-pro/exchange-client 0.6.9-nightly.202504021607 → 0.6.9-nightly.202504041607

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 _0x35d31a=_0x3670;(function(_0x47d918,_0x40fb87){const _0x57f049=_0x3670,_0x1d2f35=_0x47d918();while(!![]){try{const _0x5dd709=parseInt(_0x57f049(0xc8))/0x1+parseInt(_0x57f049(0xcf))/0x2*(parseInt(_0x57f049(0xc5))/0x3)+-parseInt(_0x57f049(0xcd))/0x4+-parseInt(_0x57f049(0xd3))/0x5*(parseInt(_0x57f049(0xc9))/0x6)+-parseInt(_0x57f049(0xd0))/0x7*(parseInt(_0x57f049(0xdd))/0x8)+-parseInt(_0x57f049(0xdc))/0x9+-parseInt(_0x57f049(0xc0))/0xa*(-parseInt(_0x57f049(0xbf))/0xb);if(_0x5dd709===_0x40fb87)break;else _0x1d2f35['push'](_0x1d2f35['shift']());}catch(_0x4261e2){_0x1d2f35['push'](_0x1d2f35['shift']());}}}(_0x1ad6,0xb02d7));function _0x3670(_0x311f15,_0x3302e8){const _0x1ad6d4=_0x1ad6();return _0x3670=function(_0x367021,_0x792812){_0x367021=_0x367021-0xbf;let _0xbda5ae=_0x1ad6d4[_0x367021];return _0xbda5ae;},_0x3670(_0x311f15,_0x3302e8);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x35d31a(0xde));function _0x1ad6(){const _0x2496bc=['1365655gfKdOw','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','UNRECOGNIZED','UNIVER_SLIDE','UNIVER_SHEET','exportXLSXBySnapshot','UNIVER_PROJECT','importDOCXToSnapshotAsync','412578TItfqu','336WBvZRa','@univerjs/core/facade','importXLSXToUnitIdAsync','11BqnmXN','5077810OdFTIr','IExchangeService','importDOCXToSnapshot','FUniver','UNIVER_DOC','135327oIralv','exportXLSXByUnitId','importXLSXToSnapshotAsync','1197534BrYJvM','6VueKSt','importFileToUnitId','get','exportXLSXByUnitIdAsync','1052300qoIdsq','The\x20exchange\x20service\x20is\x20not\x20available','4nvQTPc','81977xUlDzH','importXLSXToSnapshot','_injector'];_0x1ad6=function(){return _0x2496bc;};return _0x1ad6();}var o=(_0x4c9d78=>(_0x4c9d78[_0x4c9d78['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x4c9d78[_0x4c9d78[_0x35d31a(0xc4)]=0x1]=_0x35d31a(0xc4),_0x4c9d78[_0x4c9d78['UNIVER_SHEET']=0x2]=_0x35d31a(0xd8),_0x4c9d78[_0x4c9d78['UNIVER_SLIDE']=0x3]=_0x35d31a(0xd7),_0x4c9d78[_0x4c9d78[_0x35d31a(0xda)]=0x4]=_0x35d31a(0xda),_0x4c9d78[_0x4c9d78[_0x35d31a(0xd6)]=-0x1]=_0x35d31a(0xd6),_0x4c9d78))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x4bbd5b){const _0x203d48=_0x35d31a;return this[_0x203d48(0xdf)](_0x4bbd5b);}async[_0x35d31a(0xdf)](_0x578ace){const _0x1138cb=_0x35d31a,_0x234702=this[_0x1138cb(0xd2)][_0x1138cb(0xcb)](r[_0x1138cb(0xc1)]);if(!_0x234702)throw new Error(_0x1138cb(0xce));return _0x234702[_0x1138cb(0xca)](_0x578ace,o['UNIVER_SHEET']);}async[_0x35d31a(0xd1)](_0x49efbe){return this['importXLSXToSnapshotAsync'](_0x49efbe);}async[_0x35d31a(0xc7)](_0x3b84fc){const _0x2b9740=_0x35d31a,_0x4e18c5=this[_0x2b9740(0xd2)][_0x2b9740(0xcb)](r[_0x2b9740(0xc1)]);if(!_0x4e18c5)throw new Error(_0x2b9740(0xce));return _0x4e18c5[_0x2b9740(0xd1)](_0x3b84fc);}async[_0x35d31a(0xc6)](_0x574bc7){const _0x82aa43=_0x35d31a;return this[_0x82aa43(0xcc)](_0x574bc7);}async[_0x35d31a(0xcc)](_0x43f849){const _0x5a0d84=_0x35d31a,_0x57beb9=this[_0x5a0d84(0xd2)]['get'](r[_0x5a0d84(0xc1)]);if(!_0x57beb9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x57beb9[_0x5a0d84(0xc6)](_0x43f849);}async[_0x35d31a(0xd9)](_0x34a8a0){const _0x465af5=_0x35d31a;return this[_0x465af5(0xd5)](_0x34a8a0);}async[_0x35d31a(0xd5)](_0x1d3775){const _0x3445c3=_0x35d31a,_0x479d65=this[_0x3445c3(0xd2)][_0x3445c3(0xcb)](r[_0x3445c3(0xc1)]);if(!_0x479d65)throw new Error(_0x3445c3(0xce));return _0x479d65['exportXLSXBySnapshot'](_0x1d3775);}async['importDOCXToUnitId'](_0x29f92b){const _0x32b65f=_0x35d31a;return this[_0x32b65f(0xd4)](_0x29f92b);}async[_0x35d31a(0xd4)](_0x7df6e9){const _0x36736c=_0x35d31a,_0x392729=this[_0x36736c(0xd2)][_0x36736c(0xcb)](r['IExchangeService']);if(!_0x392729)throw new Error(_0x36736c(0xce));return _0x392729['importFileToUnitId'](_0x7df6e9,o[_0x36736c(0xc4)]);}async['importDOCXToSnapshot'](_0x2a38cd){const _0x4b3da7=_0x35d31a;return this[_0x4b3da7(0xdb)](_0x2a38cd);}async['importDOCXToSnapshotAsync'](_0x220d83){const _0x3339a7=_0x35d31a,_0x488c43=this['_injector'][_0x3339a7(0xcb)](r[_0x3339a7(0xc1)]);if(!_0x488c43)throw new Error(_0x3339a7(0xce));return _0x488c43[_0x3339a7(0xc2)](_0x220d83);}}i[_0x35d31a(0xc3)]['extend'](c);
1
+ 'use strict';const _0x1153c3=_0x359a;function _0x359a(_0x164c91,_0x245780){const _0x4256db=_0x4256();return _0x359a=function(_0x359aa3,_0x12c514){_0x359aa3=_0x359aa3-0x171;let _0x35a40b=_0x4256db[_0x359aa3];return _0x35a40b;},_0x359a(_0x164c91,_0x245780);}function _0x4256(){const _0x505610=['extend','@univerjs-pro/exchange-client','60nIDPaN','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','408eodOum','2281804NaWQzw','importDOCXToUnitId','importXLSXToSnapshot','importFileToUnitId','1560160bSlGRf','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','importXLSXToUnitId','@univerjs/core/facade','175860vOmklu','importXLSXToSnapshotAsync','IExchangeService','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN','126576uVaCnz','UNIVER_SHEET','1407720MJBmgM','exportXLSXByUnitId','importDOCXToSnapshot','_injector','5778AmHWPW','UNIVER_PROJECT','importDOCXToSnapshotAsync','493897RnikTJ','UNIVER_SLIDE','UNRECOGNIZED','get','exportXLSXBySnapshot','FUniver'];_0x4256=function(){return _0x505610;};return _0x4256();}(function(_0x51c39a,_0x31a0e9){const _0x3b82f6=_0x359a,_0x53d4e8=_0x51c39a();while(!![]){try{const _0x2807b8=parseInt(_0x3b82f6(0x179))/0x1+-parseInt(_0x3b82f6(0x193))/0x2+-parseInt(_0x3b82f6(0x172))/0x3+parseInt(_0x3b82f6(0x189))/0x4+-parseInt(_0x3b82f6(0x181))/0x5*(parseInt(_0x3b82f6(0x18e))/0x6)+parseInt(_0x3b82f6(0x185))/0x7+parseInt(_0x3b82f6(0x184))/0x8*(-parseInt(_0x3b82f6(0x176))/0x9);if(_0x2807b8===_0x31a0e9)break;else _0x53d4e8['push'](_0x53d4e8['shift']());}catch(_0x25b04d){_0x53d4e8['push'](_0x53d4e8['shift']());}}}(_0x4256,0x47837));const r=require(_0x1153c3(0x180)),i=require(_0x1153c3(0x18d));var o=(_0x33a1d6=>(_0x33a1d6[_0x33a1d6[_0x1153c3(0x192)]=0x0]=_0x1153c3(0x192),_0x33a1d6[_0x33a1d6[_0x1153c3(0x183)]=0x1]='UNIVER_DOC',_0x33a1d6[_0x33a1d6[_0x1153c3(0x171)]=0x2]=_0x1153c3(0x171),_0x33a1d6[_0x33a1d6[_0x1153c3(0x17a)]=0x3]='UNIVER_SLIDE',_0x33a1d6[_0x33a1d6['UNIVER_PROJECT']=0x4]=_0x1153c3(0x177),_0x33a1d6[_0x33a1d6[_0x1153c3(0x17b)]=-0x1]=_0x1153c3(0x17b),_0x33a1d6))(o||{});class c extends i[_0x1153c3(0x17e)]{async[_0x1153c3(0x18c)](_0x3ec5eb){return this['importXLSXToUnitIdAsync'](_0x3ec5eb);}async[_0x1153c3(0x18b)](_0x4b514f){const _0x23ee9a=_0x1153c3,_0x34adb5=this[_0x23ee9a(0x175)][_0x23ee9a(0x17c)](r['IExchangeService']);if(!_0x34adb5)throw new Error(_0x23ee9a(0x182));return _0x34adb5[_0x23ee9a(0x188)](_0x4b514f,o[_0x23ee9a(0x171)]);}async[_0x1153c3(0x187)](_0x28b344){const _0x4155b9=_0x1153c3;return this[_0x4155b9(0x18f)](_0x28b344);}async[_0x1153c3(0x18f)](_0x1f247d){const _0x3d67cf=_0x1153c3,_0x5778df=this[_0x3d67cf(0x175)][_0x3d67cf(0x17c)](r[_0x3d67cf(0x190)]);if(!_0x5778df)throw new Error(_0x3d67cf(0x182));return _0x5778df[_0x3d67cf(0x187)](_0x1f247d);}async[_0x1153c3(0x173)](_0x5a0e8e){const _0x3cd291=_0x1153c3;return this[_0x3cd291(0x18a)](_0x5a0e8e);}async[_0x1153c3(0x18a)](_0x18da39){const _0x4e9429=_0x1153c3,_0xa26809=this[_0x4e9429(0x175)][_0x4e9429(0x17c)](r[_0x4e9429(0x190)]);if(!_0xa26809)throw new Error(_0x4e9429(0x182));return _0xa26809['exportXLSXByUnitId'](_0x18da39);}async[_0x1153c3(0x17d)](_0x37db80){const _0xfcdcdb=_0x1153c3;return this[_0xfcdcdb(0x191)](_0x37db80);}async[_0x1153c3(0x191)](_0x152b7e){const _0xd0a101=_0x1153c3,_0x170710=this[_0xd0a101(0x175)][_0xd0a101(0x17c)](r[_0xd0a101(0x190)]);if(!_0x170710)throw new Error(_0xd0a101(0x182));return _0x170710['exportXLSXBySnapshot'](_0x152b7e);}async[_0x1153c3(0x186)](_0x4286c2){return this['importDOCXToUnitIdAsync'](_0x4286c2);}async['importDOCXToUnitIdAsync'](_0x36a040){const _0x6f3012=_0x1153c3,_0x2b2737=this[_0x6f3012(0x175)][_0x6f3012(0x17c)](r['IExchangeService']);if(!_0x2b2737)throw new Error(_0x6f3012(0x182));return _0x2b2737['importFileToUnitId'](_0x36a040,o[_0x6f3012(0x183)]);}async[_0x1153c3(0x174)](_0x249655){const _0x396746=_0x1153c3;return this[_0x396746(0x178)](_0x249655);}async[_0x1153c3(0x178)](_0x29af73){const _0x256d44=_0x1153c3,_0x5951a7=this['_injector'][_0x256d44(0x17c)](r[_0x256d44(0x190)]);if(!_0x5951a7)throw new Error(_0x256d44(0x182));return _0x5951a7['importDOCXToSnapshot'](_0x29af73);}}i[_0x1153c3(0x17e)][_0x1153c3(0x17f)](c);