@univerjs-pro/exchange-client 0.8.3-nightly.202506271607 → 0.8.3-nightly.202507010644

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 _0x364e76=_0x25b2;(function(_0x4c9c9c,_0x145d87){const _0x402cbb=_0x25b2,_0x29e4d4=_0x4c9c9c();while(!![]){try{const _0x3bd506=parseInt(_0x402cbb(0x17f))/0x1+parseInt(_0x402cbb(0x176))/0x2*(parseInt(_0x402cbb(0x17b))/0x3)+-parseInt(_0x402cbb(0x177))/0x4+-parseInt(_0x402cbb(0x191))/0x5*(parseInt(_0x402cbb(0x18f))/0x6)+-parseInt(_0x402cbb(0x18c))/0x7*(parseInt(_0x402cbb(0x182))/0x8)+-parseInt(_0x402cbb(0x186))/0x9+parseInt(_0x402cbb(0x192))/0xa;if(_0x3bd506===_0x145d87)break;else _0x29e4d4['push'](_0x29e4d4['shift']());}catch(_0x36a179){_0x29e4d4['push'](_0x29e4d4['shift']());}}}(_0x567d,0xb0460));function _0x25b2(_0x465b84,_0x22b042){const _0x567d71=_0x567d();return _0x25b2=function(_0x25b2ee,_0xb6b581){_0x25b2ee=_0x25b2ee-0x174;let _0x228d89=_0x567d71[_0x25b2ee];return _0x228d89;},_0x25b2(_0x465b84,_0x22b042);}const r=require('@univerjs-pro/exchange-client'),o=require(_0x364e76(0x190));var i=(_0x43cd5c=>(_0x43cd5c[_0x43cd5c[_0x364e76(0x185)]=0x0]=_0x364e76(0x185),_0x43cd5c[_0x43cd5c[_0x364e76(0x199)]=0x1]=_0x364e76(0x199),_0x43cd5c[_0x43cd5c[_0x364e76(0x174)]=0x2]='UNIVER_SHEET',_0x43cd5c[_0x43cd5c[_0x364e76(0x198)]=0x3]=_0x364e76(0x198),_0x43cd5c[_0x43cd5c[_0x364e76(0x17c)]=0x4]='UNIVER_PROJECT',_0x43cd5c[_0x43cd5c['UNRECOGNIZED']=-0x1]=_0x364e76(0x181),_0x43cd5c))(i||{});class c extends o[_0x364e76(0x194)]{async[_0x364e76(0x18d)](_0x3052eb){const _0x505867=_0x364e76;return this[_0x505867(0x180)](_0x3052eb);}async[_0x364e76(0x180)](_0x323379){const _0x4c970c=_0x364e76,_0x5af890=this[_0x4c970c(0x17a)][_0x4c970c(0x193)](r[_0x4c970c(0x188)]);if(!_0x5af890)throw new Error(_0x4c970c(0x197));return _0x5af890[_0x4c970c(0x195)](_0x323379,i['UNIVER_SHEET']);}async[_0x364e76(0x175)](_0x8e4efa){return this['importXLSXToSnapshotAsync'](_0x8e4efa);}async[_0x364e76(0x18b)](_0x1aa942){const _0x49622e=_0x364e76,_0x47017d=this[_0x49622e(0x17a)][_0x49622e(0x193)](r[_0x49622e(0x188)]);if(!_0x47017d)throw new Error(_0x49622e(0x197));return _0x47017d[_0x49622e(0x175)](_0x1aa942);}async[_0x364e76(0x187)](_0x7ca8a1){const _0x48ac04=_0x364e76;return this[_0x48ac04(0x184)](_0x7ca8a1);}async[_0x364e76(0x184)](_0x299821){const _0x5b7bfa=_0x364e76,_0x11c654=this[_0x5b7bfa(0x17a)][_0x5b7bfa(0x193)](r[_0x5b7bfa(0x188)]);if(!_0x11c654)throw new Error(_0x5b7bfa(0x197));return _0x11c654[_0x5b7bfa(0x187)](_0x299821);}async['exportXLSXBySnapshot'](_0x1874dc){const _0xaa9895=_0x364e76;return this[_0xaa9895(0x183)](_0x1874dc);}async[_0x364e76(0x183)](_0x3ded71){const _0x55ad54=_0x364e76,_0x264ab5=this[_0x55ad54(0x17a)]['get'](r[_0x55ad54(0x188)]);if(!_0x264ab5)throw new Error(_0x55ad54(0x197));return _0x264ab5[_0x55ad54(0x189)](_0x3ded71);}async['importDOCXToUnitId'](_0x33219b){const _0x5ed921=_0x364e76;return this[_0x5ed921(0x18e)](_0x33219b);}async[_0x364e76(0x18e)](_0x4dbc7c){const _0xc16dcc=_0x364e76,_0x49c5c3=this[_0xc16dcc(0x17a)]['get'](r['IExchangeService']);if(!_0x49c5c3)throw new Error(_0xc16dcc(0x197));return _0x49c5c3[_0xc16dcc(0x195)](_0x4dbc7c,i[_0xc16dcc(0x199)]);}async['importDOCXToSnapshot'](_0x289a93){const _0x344d46=_0x364e76;return this[_0x344d46(0x18a)](_0x289a93);}async['importDOCXToSnapshotAsync'](_0x3eb701){const _0x1aeb90=_0x364e76,_0x598f77=this['_injector'][_0x1aeb90(0x193)](r[_0x1aeb90(0x188)]);if(!_0x598f77)throw new Error(_0x1aeb90(0x197));return _0x598f77[_0x1aeb90(0x196)](_0x3eb701);}async[_0x364e76(0x179)](_0x451365){const _0x31d913=_0x364e76,_0x21ac89=this[_0x31d913(0x17a)][_0x31d913(0x193)](r[_0x31d913(0x188)]);if(!_0x21ac89)throw new Error(_0x31d913(0x197));return _0x21ac89[_0x31d913(0x178)](_0x451365);}async[_0x364e76(0x17d)](_0x3016ea){const _0x42c401=_0x364e76,_0x4d5f7e=this[_0x42c401(0x17a)][_0x42c401(0x193)](r[_0x42c401(0x188)]);if(!_0x4d5f7e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4d5f7e[_0x42c401(0x17e)](_0x3016ea);}}function _0x567d(){const _0x36e1f6=['importXLSXToUnitIdAsync','UNRECOGNIZED','8dFsAhp','exportXLSXBySnapshotAsync','exportXLSXByUnitIdAsync','UNIVER_UNKNOWN','3056733vJfCIj','exportXLSXByUnitId','IExchangeService','exportXLSXBySnapshot','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','4512837rruGfd','importXLSXToUnitId','importDOCXToUnitIdAsync','6odXrPy','@univerjs/core/facade','1493455ADmvml','1675170DILjNK','get','FUniver','importFileToUnitId','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','UNIVER_DOC','UNIVER_SHEET','importXLSXToSnapshot','10oCaezy','17016EeYNZs','exportDOCXBySnapshot','exportDOCXBySnapshotAsync','_injector','425676TdaJMc','UNIVER_PROJECT','exportDOCXByUnitIdAsync','exportDOCXByUnitId','1132312auaMZS'];_0x567d=function(){return _0x36e1f6;};return _0x567d();}o[_0x364e76(0x194)]['extend'](c);
1
+ 'use strict';const _0x27f1fe=_0x399e;function _0x399e(_0x35a3a2,_0x4f9dad){const _0x583216=_0x5832();return _0x399e=function(_0x399e65,_0x4f2b70){_0x399e65=_0x399e65-0x71;let _0x4ce53d=_0x583216[_0x399e65];return _0x4ce53d;},_0x399e(_0x35a3a2,_0x4f9dad);}(function(_0x541a43,_0x28fc76){const _0x45f098=_0x399e,_0x5bbf43=_0x541a43();while(!![]){try{const _0xd92a98=parseInt(_0x45f098(0x84))/0x1+parseInt(_0x45f098(0x7f))/0x2+parseInt(_0x45f098(0x83))/0x3+parseInt(_0x45f098(0x71))/0x4*(-parseInt(_0x45f098(0x94))/0x5)+-parseInt(_0x45f098(0x90))/0x6*(parseInt(_0x45f098(0x73))/0x7)+-parseInt(_0x45f098(0x74))/0x8*(-parseInt(_0x45f098(0x82))/0x9)+parseInt(_0x45f098(0x80))/0xa*(parseInt(_0x45f098(0x8a))/0xb);if(_0xd92a98===_0x28fc76)break;else _0x5bbf43['push'](_0x5bbf43['shift']());}catch(_0x484373){_0x5bbf43['push'](_0x5bbf43['shift']());}}}(_0x5832,0xde576));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x3fbcc2=>(_0x3fbcc2[_0x3fbcc2[_0x27f1fe(0x91)]=0x0]='UNIVER_UNKNOWN',_0x3fbcc2[_0x3fbcc2['UNIVER_DOC']=0x1]=_0x27f1fe(0x92),_0x3fbcc2[_0x3fbcc2[_0x27f1fe(0x8f)]=0x2]=_0x27f1fe(0x8f),_0x3fbcc2[_0x3fbcc2['UNIVER_SLIDE']=0x3]=_0x27f1fe(0x93),_0x3fbcc2[_0x3fbcc2[_0x27f1fe(0x8c)]=0x4]=_0x27f1fe(0x8c),_0x3fbcc2[_0x3fbcc2['UNRECOGNIZED']=-0x1]=_0x27f1fe(0x75),_0x3fbcc2))(i||{});function _0x5832(){const _0x47b0e4=['importDOCXToSnapshot','exportDOCXByUnitId','12264142hBmRQo','exportXLSXBySnapshotAsync','UNIVER_PROJECT','_injector','exportXLSXBySnapshot','UNIVER_SHEET','143400lUhuIr','UNIVER_UNKNOWN','UNIVER_DOC','UNIVER_SLIDE','40tvVgGA','IExchangeService','854980IOkJTu','importDOCXToSnapshotAsync','427OtxQTR','4947856BatZol','UNRECOGNIZED','get','exportXLSXByUnitId','exportDOCXByUnitIdAsync','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','importXLSXToSnapshot','importDOCXToUnitId','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','1948908cmRZsb','10QHJyde','importDOCXToUnitIdAsync','9bdEoaF','1682247QVpyGM','809963hhzeou','importFileToUnitId','exportDOCXBySnapshotAsync','importXLSXToUnitId'];_0x5832=function(){return _0x47b0e4;};return _0x5832();}class c extends o['FUniver']{async[_0x27f1fe(0x87)](_0x46e785){const _0x452ada=_0x27f1fe;return this[_0x452ada(0x7d)](_0x46e785);}async[_0x27f1fe(0x7d)](_0x1930c2){const _0x269a2a=_0x27f1fe,_0x5c02d8=this[_0x269a2a(0x8d)][_0x269a2a(0x76)](r[_0x269a2a(0x95)]);if(!_0x5c02d8)throw new Error(_0x269a2a(0x7e));return _0x5c02d8[_0x269a2a(0x85)](_0x1930c2,i['UNIVER_SHEET']);}async[_0x27f1fe(0x7b)](_0x34f9ef){const _0x329124=_0x27f1fe;return this[_0x329124(0x7a)](_0x34f9ef);}async[_0x27f1fe(0x7a)](_0xc7b41){const _0x293cc2=_0x27f1fe,_0x1557f4=this[_0x293cc2(0x8d)][_0x293cc2(0x76)](r[_0x293cc2(0x95)]);if(!_0x1557f4)throw new Error(_0x293cc2(0x7e));return _0x1557f4[_0x293cc2(0x7b)](_0xc7b41);}async[_0x27f1fe(0x77)](_0x2235bd){const _0x433e89=_0x27f1fe;return this[_0x433e89(0x79)](_0x2235bd);}async[_0x27f1fe(0x79)](_0x2bd3d2){const _0x229e3c=_0x27f1fe,_0x1b0be3=this[_0x229e3c(0x8d)][_0x229e3c(0x76)](r['IExchangeService']);if(!_0x1b0be3)throw new Error(_0x229e3c(0x7e));return _0x1b0be3[_0x229e3c(0x77)](_0x2bd3d2);}async[_0x27f1fe(0x8e)](_0x3d872d){const _0x38327a=_0x27f1fe;return this[_0x38327a(0x8b)](_0x3d872d);}async[_0x27f1fe(0x8b)](_0x521f54){const _0x35c046=_0x27f1fe,_0x5cd342=this[_0x35c046(0x8d)]['get'](r['IExchangeService']);if(!_0x5cd342)throw new Error(_0x35c046(0x7e));return _0x5cd342['exportXLSXBySnapshot'](_0x521f54);}async[_0x27f1fe(0x7c)](_0x5663e5){return this['importDOCXToUnitIdAsync'](_0x5663e5);}async[_0x27f1fe(0x81)](_0x409358){const _0x365953=_0x27f1fe,_0x30a8a8=this[_0x365953(0x8d)][_0x365953(0x76)](r[_0x365953(0x95)]);if(!_0x30a8a8)throw new Error(_0x365953(0x7e));return _0x30a8a8['importFileToUnitId'](_0x409358,i[_0x365953(0x92)]);}async[_0x27f1fe(0x88)](_0x47fa9f){const _0x51653d=_0x27f1fe;return this[_0x51653d(0x72)](_0x47fa9f);}async[_0x27f1fe(0x72)](_0x1bfbfc){const _0x62db76=_0x27f1fe,_0x1ef63b=this[_0x62db76(0x8d)][_0x62db76(0x76)](r[_0x62db76(0x95)]);if(!_0x1ef63b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1ef63b['importDOCXToSnapshot'](_0x1bfbfc);}async[_0x27f1fe(0x86)](_0x56655d){const _0x59fbcd=_0x27f1fe,_0xba856b=this[_0x59fbcd(0x8d)][_0x59fbcd(0x76)](r[_0x59fbcd(0x95)]);if(!_0xba856b)throw new Error(_0x59fbcd(0x7e));return _0xba856b['exportDOCXBySnapshot'](_0x56655d);}async[_0x27f1fe(0x78)](_0x4c64ef){const _0x5d2400=_0x27f1fe,_0x53b751=this['_injector']['get'](r['IExchangeService']);if(!_0x53b751)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x53b751[_0x5d2400(0x89)](_0x4c64ef);}}o['FUniver']['extend'](c);