@univerjs-pro/exchange-client 0.6.7-experimental.20250331-aa3ee78 → 0.6.7-experimental.20250331-1a09136

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 _0x56887d=_0x76b6;(function(_0x54b2c0,_0x42a26b){const _0x448b90=_0x76b6,_0x52c93e=_0x54b2c0();while(!![]){try{const _0x35dd99=-parseInt(_0x448b90(0x1b4))/0x1+parseInt(_0x448b90(0x1af))/0x2+-parseInt(_0x448b90(0x1bd))/0x3+-parseInt(_0x448b90(0x1bb))/0x4*(parseInt(_0x448b90(0x1ae))/0x5)+-parseInt(_0x448b90(0x1a8))/0x6+parseInt(_0x448b90(0x1b0))/0x7+-parseInt(_0x448b90(0x1ab))/0x8*(-parseInt(_0x448b90(0x1bc))/0x9);if(_0x35dd99===_0x42a26b)break;else _0x52c93e['push'](_0x52c93e['shift']());}catch(_0x40f1ed){_0x52c93e['push'](_0x52c93e['shift']());}}}(_0x4bb1,0xdff9c));const r=require(_0x56887d(0x1c3)),i=require(_0x56887d(0x1b3));function _0x4bb1(){const _0x2cdc62=['30901644wUCBcv','3361002CKbONR','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','extend','IExchangeService','@univerjs-pro/exchange-client','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN','importDOCXToSnapshotAsync','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','UNIVER_PROJECT','FUniver','4460112NMxaSH','importXLSXToUnitId','_injector','8gkyZLF','importDOCXToSnapshot','importXLSXToSnapshot','1931970yTMGEk','280312IRxLcs','433104hnZwFo','importDOCXToUnitIdAsync','UNIVER_DOC','@univerjs/core/facade','468060brmfUL','importFileToUnitId','get','exportXLSXBySnapshot','UNIVER_SHEET','importDOCXToUnitId','UNRECOGNIZED','4XhYTRW'];_0x4bb1=function(){return _0x2cdc62;};return _0x4bb1();}function _0x76b6(_0x192d99,_0x1a28ee){const _0x4bb1c2=_0x4bb1();return _0x76b6=function(_0x76b65d,_0x4ab94d){_0x76b65d=_0x76b65d-0x1a4;let _0x42afa7=_0x4bb1c2[_0x76b65d];return _0x42afa7;},_0x76b6(_0x192d99,_0x1a28ee);}var o=(_0x2a944b=>(_0x2a944b[_0x2a944b[_0x56887d(0x1c5)]=0x0]=_0x56887d(0x1c5),_0x2a944b[_0x2a944b[_0x56887d(0x1b2)]=0x1]=_0x56887d(0x1b2),_0x2a944b[_0x2a944b[_0x56887d(0x1b8)]=0x2]=_0x56887d(0x1b8),_0x2a944b[_0x2a944b[_0x56887d(0x1c0)]=0x3]=_0x56887d(0x1c0),_0x2a944b[_0x2a944b[_0x56887d(0x1a6)]=0x4]=_0x56887d(0x1a6),_0x2a944b[_0x2a944b[_0x56887d(0x1ba)]=-0x1]='UNRECOGNIZED',_0x2a944b))(o||{});class c extends i[_0x56887d(0x1a7)]{async[_0x56887d(0x1a9)](_0x1b0337){return this['importXLSXToUnitIdAsync'](_0x1b0337);}async['importXLSXToUnitIdAsync'](_0x34914f){const _0x50396b=_0x56887d,_0x45350a=this['_injector'][_0x50396b(0x1b6)](r[_0x50396b(0x1c2)]);if(!_0x45350a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x45350a[_0x50396b(0x1b5)](_0x34914f,o[_0x50396b(0x1b8)]);}async[_0x56887d(0x1ad)](_0x1cbb91){const _0x200eab=_0x56887d;return this[_0x200eab(0x1a5)](_0x1cbb91);}async['importXLSXToSnapshotAsync'](_0x5688d3){const _0x1d5fe7=_0x56887d,_0x3686f9=this[_0x1d5fe7(0x1aa)][_0x1d5fe7(0x1b6)](r['IExchangeService']);if(!_0x3686f9)throw new Error(_0x1d5fe7(0x1bf));return _0x3686f9[_0x1d5fe7(0x1ad)](_0x5688d3);}async['exportXLSXByUnitId'](_0x5967e5){const _0x562066=_0x56887d;return this[_0x562066(0x1a4)](_0x5967e5);}async[_0x56887d(0x1a4)](_0x45e193){const _0x170209=_0x56887d,_0x2daa46=this[_0x170209(0x1aa)][_0x170209(0x1b6)](r[_0x170209(0x1c2)]);if(!_0x2daa46)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2daa46[_0x170209(0x1be)](_0x45e193);}async['exportXLSXBySnapshot'](_0x15cfa7){return this['exportXLSXBySnapshotAsync'](_0x15cfa7);}async[_0x56887d(0x1c4)](_0x25e7ad){const _0xab7b77=_0x56887d,_0x45cbb8=this['_injector'][_0xab7b77(0x1b6)](r[_0xab7b77(0x1c2)]);if(!_0x45cbb8)throw new Error(_0xab7b77(0x1bf));return _0x45cbb8[_0xab7b77(0x1b7)](_0x25e7ad);}async[_0x56887d(0x1b9)](_0x5c667e){return this['importDOCXToUnitIdAsync'](_0x5c667e);}async[_0x56887d(0x1b1)](_0x514576){const _0x1c77ec=_0x56887d,_0x4889a9=this[_0x1c77ec(0x1aa)][_0x1c77ec(0x1b6)](r[_0x1c77ec(0x1c2)]);if(!_0x4889a9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4889a9[_0x1c77ec(0x1b5)](_0x514576,o[_0x1c77ec(0x1b2)]);}async['importDOCXToSnapshot'](_0x34f882){const _0x3c0b3c=_0x56887d;return this[_0x3c0b3c(0x1c6)](_0x34f882);}async['importDOCXToSnapshotAsync'](_0x20e24f){const _0x522481=_0x56887d,_0x1102a3=this[_0x522481(0x1aa)][_0x522481(0x1b6)](r[_0x522481(0x1c2)]);if(!_0x1102a3)throw new Error(_0x522481(0x1bf));return _0x1102a3[_0x522481(0x1ac)](_0x20e24f);}}i[_0x56887d(0x1a7)][_0x56887d(0x1c1)](c);
1
+ 'use strict';const _0x2449bd=_0xb06e;(function(_0x5034f1,_0x471172){const _0x58e747=_0xb06e,_0x77871c=_0x5034f1();while(!![]){try{const _0x59001b=parseInt(_0x58e747(0x179))/0x1+-parseInt(_0x58e747(0x171))/0x2+parseInt(_0x58e747(0x18e))/0x3+parseInt(_0x58e747(0x173))/0x4*(parseInt(_0x58e747(0x181))/0x5)+-parseInt(_0x58e747(0x191))/0x6*(parseInt(_0x58e747(0x182))/0x7)+parseInt(_0x58e747(0x18d))/0x8*(-parseInt(_0x58e747(0x184))/0x9)+parseInt(_0x58e747(0x17e))/0xa*(parseInt(_0x58e747(0x17d))/0xb);if(_0x59001b===_0x471172)break;else _0x77871c['push'](_0x77871c['shift']());}catch(_0x825f7f){_0x77871c['push'](_0x77871c['shift']());}}}(_0x15c3,0x7004f));const r=require('@univerjs-pro/exchange-client'),i=require(_0x2449bd(0x17b));function _0x15c3(){const _0x529116=['7CRZQPD','IExchangeService','12015uzDefk','UNIVER_UNKNOWN','importDOCXToUnitId','extend','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','get','UNIVER_PROJECT','exportXLSXByUnitId','3048IQESSh','1608480mKVkHz','importDOCXToUnitIdAsync','importXLSXToSnapshotAsync','5017332zvIhpm','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshot','UNIVER_SLIDE','7258sYGqQC','FUniver','596lvBCdk','importFileToUnitId','importXLSXToSnapshot','exportXLSXByUnitIdAsync','UNIVER_SHEET','_injector','406224ZXSSss','exportXLSXBySnapshotAsync','@univerjs/core/facade','exportXLSXBySnapshot','657173RtmYjX','20rcCbQD','UNIVER_DOC','UNRECOGNIZED','25015COJBZo'];_0x15c3=function(){return _0x529116;};return _0x15c3();}function _0xb06e(_0x386e27,_0x47c05a){const _0x15c348=_0x15c3();return _0xb06e=function(_0xb06eba,_0x51bb7c){_0xb06eba=_0xb06eba-0x16f;let _0x541fe1=_0x15c348[_0xb06eba];return _0x541fe1;},_0xb06e(_0x386e27,_0x47c05a);}var o=(_0x412832=>(_0x412832[_0x412832[_0x2449bd(0x185)]=0x0]='UNIVER_UNKNOWN',_0x412832[_0x412832['UNIVER_DOC']=0x1]=_0x2449bd(0x17f),_0x412832[_0x412832[_0x2449bd(0x177)]=0x2]=_0x2449bd(0x177),_0x412832[_0x412832['UNIVER_SLIDE']=0x3]=_0x2449bd(0x170),_0x412832[_0x412832[_0x2449bd(0x18b)]=0x4]=_0x2449bd(0x18b),_0x412832[_0x412832[_0x2449bd(0x180)]=-0x1]=_0x2449bd(0x180),_0x412832))(o||{});class c extends i[_0x2449bd(0x172)]{async['importXLSXToUnitId'](_0x191804){const _0x16512d=_0x2449bd;return this[_0x16512d(0x189)](_0x191804);}async[_0x2449bd(0x189)](_0x2270b4){const _0x48016d=_0x2449bd,_0x112d2f=this[_0x48016d(0x178)][_0x48016d(0x18a)](r[_0x48016d(0x183)]);if(!_0x112d2f)throw new Error(_0x48016d(0x192));return _0x112d2f['importFileToUnitId'](_0x2270b4,o['UNIVER_SHEET']);}async[_0x2449bd(0x175)](_0x4505f7){const _0x47b5f3=_0x2449bd;return this[_0x47b5f3(0x190)](_0x4505f7);}async[_0x2449bd(0x190)](_0x29205d){const _0x12621b=_0x2449bd,_0x1b23bb=this[_0x12621b(0x178)][_0x12621b(0x18a)](r[_0x12621b(0x183)]);if(!_0x1b23bb)throw new Error(_0x12621b(0x192));return _0x1b23bb['importXLSXToSnapshot'](_0x29205d);}async['exportXLSXByUnitId'](_0x3e4723){return this['exportXLSXByUnitIdAsync'](_0x3e4723);}async[_0x2449bd(0x176)](_0xf95707){const _0x440fe4=_0x2449bd,_0x44409a=this[_0x440fe4(0x178)][_0x440fe4(0x18a)](r[_0x440fe4(0x183)]);if(!_0x44409a)throw new Error(_0x440fe4(0x192));return _0x44409a[_0x440fe4(0x18c)](_0xf95707);}async[_0x2449bd(0x17c)](_0x1df340){const _0x450205=_0x2449bd;return this[_0x450205(0x17a)](_0x1df340);}async['exportXLSXBySnapshotAsync'](_0x508f9f){const _0x2ba4da=_0x2449bd,_0x31ab22=this['_injector'][_0x2ba4da(0x18a)](r[_0x2ba4da(0x183)]);if(!_0x31ab22)throw new Error(_0x2ba4da(0x192));return _0x31ab22['exportXLSXBySnapshot'](_0x508f9f);}async[_0x2449bd(0x186)](_0x5a6ca7){const _0x67c3cf=_0x2449bd;return this[_0x67c3cf(0x18f)](_0x5a6ca7);}async[_0x2449bd(0x18f)](_0x8efa21){const _0x327545=_0x2449bd,_0x5e99cd=this[_0x327545(0x178)][_0x327545(0x18a)](r['IExchangeService']);if(!_0x5e99cd)throw new Error(_0x327545(0x192));return _0x5e99cd[_0x327545(0x174)](_0x8efa21,o['UNIVER_DOC']);}async[_0x2449bd(0x16f)](_0x26f204){const _0xfb002f=_0x2449bd;return this[_0xfb002f(0x188)](_0x26f204);}async['importDOCXToSnapshotAsync'](_0x17e1a7){const _0x1401b3=_0x2449bd,_0xa6e15b=this['_injector'][_0x1401b3(0x18a)](r[_0x1401b3(0x183)]);if(!_0xa6e15b)throw new Error(_0x1401b3(0x192));return _0xa6e15b['importDOCXToSnapshot'](_0x17e1a7);}}i['FUniver'][_0x2449bd(0x187)](c);