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

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 _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);
1
+ 'use strict';const _0x30634c=_0x9e46;function _0x4b4c(){const _0x558f32=['importXLSXToSnapshotAsync','importXLSXToUnitId','exportXLSXBySnapshotAsync','UNIVER_SHEET','UNIVER_PROJECT','exportXLSXByUnitId','66517FhaaWH','4404eAfNeB','6151311SOvudZ','importDOCXToUnitIdAsync','UNIVER_SLIDE','2623856HqwnNt','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','extend','15xXlIAw','13139VQqgDN','exportXLSXBySnapshot','importFileToUnitId','importDOCXToSnapshot','exportDOCXByUnitIdAsync','importXLSXToSnapshot','UNIVER_DOC','exportDOCXBySnapshotAsync','1264154BnpCKN','_injector','30074XvPMjd','exportDOCXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','10KDREEs','IExchangeService','1520KRczoa','exportDOCXBySnapshot','20aRffFR','importXLSXToUnitIdAsync','get','FUniver','1921986vzAvKi','exportXLSXByUnitIdAsync'];_0x4b4c=function(){return _0x558f32;};return _0x4b4c();}(function(_0x270dec,_0x1e89fb){const _0xff398f=_0x9e46,_0x5aef07=_0x270dec();while(!![]){try{const _0x21511c=parseInt(_0xff398f(0xa4))/0x1+-parseInt(_0xff398f(0xa6))/0x2*(parseInt(_0xff398f(0x9b))/0x3)+parseInt(_0xff398f(0x97))/0x4*(-parseInt(_0xff398f(0xa9))/0x5)+parseInt(_0xff398f(0xb1))/0x6+parseInt(_0xff398f(0x9c))/0x7*(-parseInt(_0xff398f(0xab))/0x8)+parseInt(_0xff398f(0x94))/0x9*(-parseInt(_0xff398f(0xad))/0xa)+parseInt(_0xff398f(0xb9))/0xb*(parseInt(_0xff398f(0xba))/0xc);if(_0x21511c===_0x1e89fb)break;else _0x5aef07['push'](_0x5aef07['shift']());}catch(_0x8aee7c){_0x5aef07['push'](_0x5aef07['shift']());}}}(_0x4b4c,0xa9329));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x9e46(_0xed60a4,_0x35b49b){const _0x4b4c4b=_0x4b4c();return _0x9e46=function(_0x9e463f,_0x4b7a51){_0x9e463f=_0x9e463f-0x94;let _0x54b577=_0x4b4c4b[_0x9e463f];return _0x54b577;},_0x9e46(_0xed60a4,_0x35b49b);}var i=(_0x5f0fab=>(_0x5f0fab[_0x5f0fab['UNIVER_UNKNOWN']=0x0]=_0x30634c(0x99),_0x5f0fab[_0x5f0fab[_0x30634c(0xa2)]=0x1]='UNIVER_DOC',_0x5f0fab[_0x5f0fab['UNIVER_SHEET']=0x2]=_0x30634c(0xb6),_0x5f0fab[_0x5f0fab[_0x30634c(0x96)]=0x3]=_0x30634c(0x96),_0x5f0fab[_0x5f0fab[_0x30634c(0xb7)]=0x4]='UNIVER_PROJECT',_0x5f0fab[_0x5f0fab['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5f0fab))(i||{});class c extends o[_0x30634c(0xb0)]{async[_0x30634c(0xb4)](_0x3807ca){const _0x4b5a53=_0x30634c;return this[_0x4b5a53(0xae)](_0x3807ca);}async[_0x30634c(0xae)](_0x5f22e3){const _0x3fc214=_0x30634c,_0x2ef04f=this[_0x3fc214(0xa5)][_0x3fc214(0xaf)](r['IExchangeService']);if(!_0x2ef04f)throw new Error(_0x3fc214(0xa8));return _0x2ef04f[_0x3fc214(0x9e)](_0x5f22e3,i[_0x3fc214(0xb6)]);}async[_0x30634c(0xa1)](_0x191c8f){const _0xea91e=_0x30634c;return this[_0xea91e(0xb3)](_0x191c8f);}async[_0x30634c(0xb3)](_0x385dad){const _0x4632b7=_0x30634c,_0x20b90c=this[_0x4632b7(0xa5)][_0x4632b7(0xaf)](r[_0x4632b7(0xaa)]);if(!_0x20b90c)throw new Error(_0x4632b7(0xa8));return _0x20b90c[_0x4632b7(0xa1)](_0x385dad);}async[_0x30634c(0xb8)](_0x24ffb6){const _0x2610b9=_0x30634c;return this[_0x2610b9(0xb2)](_0x24ffb6);}async['exportXLSXByUnitIdAsync'](_0x25099b){const _0x4d64f0=_0x30634c,_0x4b542f=this[_0x4d64f0(0xa5)][_0x4d64f0(0xaf)](r['IExchangeService']);if(!_0x4b542f)throw new Error(_0x4d64f0(0xa8));return _0x4b542f[_0x4d64f0(0xb8)](_0x25099b);}async[_0x30634c(0x9d)](_0xfd8248){return this['exportXLSXBySnapshotAsync'](_0xfd8248);}async[_0x30634c(0xb5)](_0x1f27ba){const _0x4b04f0=_0x30634c,_0x6052c0=this[_0x4b04f0(0xa5)][_0x4b04f0(0xaf)](r[_0x4b04f0(0xaa)]);if(!_0x6052c0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x6052c0[_0x4b04f0(0x9d)](_0x1f27ba);}async['importDOCXToUnitId'](_0x44a434){const _0x2ec933=_0x30634c;return this[_0x2ec933(0x95)](_0x44a434);}async[_0x30634c(0x95)](_0x41a254){const _0x38b43e=_0x30634c,_0x5e2f19=this['_injector'][_0x38b43e(0xaf)](r[_0x38b43e(0xaa)]);if(!_0x5e2f19)throw new Error(_0x38b43e(0xa8));return _0x5e2f19['importFileToUnitId'](_0x41a254,i[_0x38b43e(0xa2)]);}async[_0x30634c(0x9f)](_0x244f73){const _0x9c43e9=_0x30634c;return this[_0x9c43e9(0x98)](_0x244f73);}async[_0x30634c(0x98)](_0x471d88){const _0x3fd057=_0x30634c,_0x4625e5=this['_injector']['get'](r[_0x3fd057(0xaa)]);if(!_0x4625e5)throw new Error(_0x3fd057(0xa8));return _0x4625e5[_0x3fd057(0x9f)](_0x471d88);}async[_0x30634c(0xa3)](_0x3e2945){const _0x41031f=_0x30634c,_0x243af0=this[_0x41031f(0xa5)][_0x41031f(0xaf)](r[_0x41031f(0xaa)]);if(!_0x243af0)throw new Error(_0x41031f(0xa8));return _0x243af0[_0x41031f(0xac)](_0x3e2945);}async[_0x30634c(0xa0)](_0xab1928){const _0x255af9=_0x30634c,_0x4844a1=this[_0x255af9(0xa5)]['get'](r['IExchangeService']);if(!_0x4844a1)throw new Error(_0x255af9(0xa8));return _0x4844a1[_0x255af9(0xa7)](_0xab1928);}}o[_0x30634c(0xb0)][_0x30634c(0x9a)](c);