@univerjs-pro/exchange-client 0.6.6-experimental.20250326-149d5e1 → 0.6.6-experimental.20250326-cfbc9a5

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 _0x4f0809=_0x4694;(function(_0x4c3791,_0x2eb73b){const _0x3cdf90=_0x4694,_0x159d09=_0x4c3791();while(!![]){try{const _0x292e8b=-parseInt(_0x3cdf90(0x1d1))/0x1+-parseInt(_0x3cdf90(0x1c3))/0x2+-parseInt(_0x3cdf90(0x1dc))/0x3*(-parseInt(_0x3cdf90(0x1db))/0x4)+-parseInt(_0x3cdf90(0x1df))/0x5+parseInt(_0x3cdf90(0x1c4))/0x6*(parseInt(_0x3cdf90(0x1c2))/0x7)+parseInt(_0x3cdf90(0x1c7))/0x8+parseInt(_0x3cdf90(0x1de))/0x9;if(_0x292e8b===_0x2eb73b)break;else _0x159d09['push'](_0x159d09['shift']());}catch(_0x27567b){_0x159d09['push'](_0x159d09['shift']());}}}(_0x1f01,0xb3cd7));const r=require('@univerjs-pro/exchange-client'),i=require(_0x4f0809(0x1cc));var o=(_0xb6b741=>(_0xb6b741[_0xb6b741[_0x4f0809(0x1d2)]=0x0]=_0x4f0809(0x1d2),_0xb6b741[_0xb6b741[_0x4f0809(0x1c5)]=0x1]=_0x4f0809(0x1c5),_0xb6b741[_0xb6b741[_0x4f0809(0x1dd)]=0x2]=_0x4f0809(0x1dd),_0xb6b741[_0xb6b741['UNIVER_SLIDE']=0x3]=_0x4f0809(0x1cf),_0xb6b741[_0xb6b741[_0x4f0809(0x1d9)]=0x4]=_0x4f0809(0x1d9),_0xb6b741[_0xb6b741[_0x4f0809(0x1d8)]=-0x1]=_0x4f0809(0x1d8),_0xb6b741))(o||{});function _0x4694(_0xffe01f,_0x554c4f){const _0x1f011a=_0x1f01();return _0x4694=function(_0x469470,_0x47c535){_0x469470=_0x469470-0x1c0;let _0x17f48c=_0x1f011a[_0x469470];return _0x17f48c;},_0x4694(_0xffe01f,_0x554c4f);}class c extends i[_0x4f0809(0x1e0)]{async['importXLSXToUnitId'](_0xd81974){const _0x1bc9e7=_0x4f0809;return this[_0x1bc9e7(0x1ce)](_0xd81974);}async['importXLSXToUnitIdAsync'](_0x7cc2e3){const _0x5ef356=_0x4f0809,_0x341b25=this[_0x5ef356(0x1d5)][_0x5ef356(0x1c9)](r[_0x5ef356(0x1c8)]);if(!_0x341b25)throw new Error(_0x5ef356(0x1c1));return _0x341b25[_0x5ef356(0x1ca)](_0x7cc2e3,o[_0x5ef356(0x1dd)]);}async[_0x4f0809(0x1d0)](_0x4b6929){const _0x1d3c83=_0x4f0809;return this[_0x1d3c83(0x1c6)](_0x4b6929);}async[_0x4f0809(0x1c6)](_0x3c187a){const _0x5cfdc8=_0x4f0809,_0x447f6b=this[_0x5cfdc8(0x1d5)][_0x5cfdc8(0x1c9)](r[_0x5cfdc8(0x1c8)]);if(!_0x447f6b)throw new Error(_0x5cfdc8(0x1c1));return _0x447f6b[_0x5cfdc8(0x1d0)](_0x3c187a);}async[_0x4f0809(0x1da)](_0x518dde){return this['exportXLSXByUnitIdAsync'](_0x518dde);}async['exportXLSXByUnitIdAsync'](_0x1e6ca1){const _0x14b417=_0x4f0809,_0x359f18=this[_0x14b417(0x1d5)][_0x14b417(0x1c9)](r[_0x14b417(0x1c8)]);if(!_0x359f18)throw new Error(_0x14b417(0x1c1));return _0x359f18[_0x14b417(0x1da)](_0x1e6ca1);}async['exportXLSXBySnapshot'](_0x5dea3a){return this['exportXLSXBySnapshotAsync'](_0x5dea3a);}async[_0x4f0809(0x1c0)](_0x5a3510){const _0x574a0f=_0x4f0809,_0x31fef3=this['_injector'][_0x574a0f(0x1c9)](r[_0x574a0f(0x1c8)]);if(!_0x31fef3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x31fef3[_0x574a0f(0x1d4)](_0x5a3510);}async[_0x4f0809(0x1d7)](_0x284836){return this['importDOCXToUnitIdAsync'](_0x284836);}async[_0x4f0809(0x1cb)](_0x265ae9){const _0x4a1161=_0x4f0809,_0x1a6530=this[_0x4a1161(0x1d5)]['get'](r['IExchangeService']);if(!_0x1a6530)throw new Error(_0x4a1161(0x1c1));return _0x1a6530[_0x4a1161(0x1ca)](_0x265ae9,o[_0x4a1161(0x1c5)]);}async[_0x4f0809(0x1d6)](_0x53a1cb){const _0xe7dc2b=_0x4f0809;return this[_0xe7dc2b(0x1cd)](_0x53a1cb);}async[_0x4f0809(0x1cd)](_0x5a9a50){const _0xde8802=_0x4f0809,_0x594713=this[_0xde8802(0x1d5)]['get'](r[_0xde8802(0x1c8)]);if(!_0x594713)throw new Error(_0xde8802(0x1c1));return _0x594713[_0xde8802(0x1d6)](_0x5a9a50);}}function _0x1f01(){const _0x466505=['208yCWOlE','19185YFFmYO','UNIVER_SHEET','9978471afOyKt','395515QuZdqo','FUniver','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','42JTAYgR','1839706mIIVSm','404496DhGVGK','UNIVER_DOC','importXLSXToSnapshotAsync','7387504sofyxB','IExchangeService','get','importFileToUnitId','importDOCXToUnitIdAsync','@univerjs/core/facade','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','UNIVER_SLIDE','importXLSXToSnapshot','1033766OXxULs','UNIVER_UNKNOWN','extend','exportXLSXBySnapshot','_injector','importDOCXToSnapshot','importDOCXToUnitId','UNRECOGNIZED','UNIVER_PROJECT','exportXLSXByUnitId'];_0x1f01=function(){return _0x466505;};return _0x1f01();}i[_0x4f0809(0x1e0)][_0x4f0809(0x1d3)](c);
1
+ 'use strict';const _0x4f8ccf=_0x29fd;(function(_0x30298c,_0x3d5e7b){const _0x4712c2=_0x29fd,_0x15baa1=_0x30298c();while(!![]){try{const _0x95b22a=-parseInt(_0x4712c2(0x7b))/0x1+parseInt(_0x4712c2(0x7a))/0x2+parseInt(_0x4712c2(0x6e))/0x3*(-parseInt(_0x4712c2(0x85))/0x4)+-parseInt(_0x4712c2(0x84))/0x5+parseInt(_0x4712c2(0x68))/0x6+-parseInt(_0x4712c2(0x7e))/0x7*(parseInt(_0x4712c2(0x76))/0x8)+parseInt(_0x4712c2(0x67))/0x9;if(_0x95b22a===_0x3d5e7b)break;else _0x15baa1['push'](_0x15baa1['shift']());}catch(_0x49ccb5){_0x15baa1['push'](_0x15baa1['shift']());}}}(_0x42bc,0x6cf36));const r=require(_0x4f8ccf(0x66)),i=require('@univerjs/core/facade');function _0x42bc(){const _0x446346=['exportXLSXByUnitId','importDOCXToSnapshot','importDOCXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','UNIVER_UNKNOWN','648nhJsZi','exportXLSXBySnapshot','importXLSXToUnitId','importFileToUnitId','581264gQLrNg','237273BOIFqY','exportXLSXBySnapshotAsync','importXLSXToSnapshotAsync','2933RUpUxM','UNIVER_SHEET','UNRECOGNIZED','importDOCXToUnitIdAsync','UNIVER_SLIDE','UNIVER_DOC','199615gzYWyI','148hALXkp','exportXLSXByUnitIdAsync','@univerjs-pro/exchange-client','4797828JzenAL','157926fsWBjo','_injector','IExchangeService','FUniver','UNIVER_PROJECT','get','7512kMEdtz','importXLSXToSnapshot'];_0x42bc=function(){return _0x446346;};return _0x42bc();}function _0x29fd(_0x2da9b2,_0x5a7a97){const _0x42bc36=_0x42bc();return _0x29fd=function(_0x29fd35,_0x5e6768){_0x29fd35=_0x29fd35-0x65;let _0x353022=_0x42bc36[_0x29fd35];return _0x353022;},_0x29fd(_0x2da9b2,_0x5a7a97);}var o=(_0xafa0e0=>(_0xafa0e0[_0xafa0e0[_0x4f8ccf(0x75)]=0x0]=_0x4f8ccf(0x75),_0xafa0e0[_0xafa0e0[_0x4f8ccf(0x83)]=0x1]=_0x4f8ccf(0x83),_0xafa0e0[_0xafa0e0[_0x4f8ccf(0x7f)]=0x2]=_0x4f8ccf(0x7f),_0xafa0e0[_0xafa0e0[_0x4f8ccf(0x82)]=0x3]='UNIVER_SLIDE',_0xafa0e0[_0xafa0e0[_0x4f8ccf(0x6c)]=0x4]=_0x4f8ccf(0x6c),_0xafa0e0[_0xafa0e0[_0x4f8ccf(0x80)]=-0x1]='UNRECOGNIZED',_0xafa0e0))(o||{});class c extends i[_0x4f8ccf(0x6b)]{async[_0x4f8ccf(0x78)](_0x28abb2){const _0x6dc948=_0x4f8ccf;return this[_0x6dc948(0x74)](_0x28abb2);}async[_0x4f8ccf(0x74)](_0x421994){const _0x4ffd88=_0x4f8ccf,_0x2937dc=this[_0x4ffd88(0x69)]['get'](r[_0x4ffd88(0x6a)]);if(!_0x2937dc)throw new Error(_0x4ffd88(0x73));return _0x2937dc[_0x4ffd88(0x79)](_0x421994,o[_0x4ffd88(0x7f)]);}async[_0x4f8ccf(0x6f)](_0x4b801e){const _0x48791b=_0x4f8ccf;return this[_0x48791b(0x7d)](_0x4b801e);}async[_0x4f8ccf(0x7d)](_0x31883a){const _0x3a8764=_0x4f8ccf,_0x3e3937=this[_0x3a8764(0x69)][_0x3a8764(0x6d)](r[_0x3a8764(0x6a)]);if(!_0x3e3937)throw new Error(_0x3a8764(0x73));return _0x3e3937[_0x3a8764(0x6f)](_0x31883a);}async[_0x4f8ccf(0x70)](_0x4bce3f){const _0x2bcb53=_0x4f8ccf;return this[_0x2bcb53(0x65)](_0x4bce3f);}async['exportXLSXByUnitIdAsync'](_0x361113){const _0x2af83e=_0x4f8ccf,_0x327b0c=this['_injector']['get'](r[_0x2af83e(0x6a)]);if(!_0x327b0c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x327b0c['exportXLSXByUnitId'](_0x361113);}async[_0x4f8ccf(0x77)](_0x531f50){const _0x40ee8d=_0x4f8ccf;return this[_0x40ee8d(0x7c)](_0x531f50);}async[_0x4f8ccf(0x7c)](_0x882982){const _0x27fcab=_0x4f8ccf,_0x2aa6a5=this[_0x27fcab(0x69)][_0x27fcab(0x6d)](r[_0x27fcab(0x6a)]);if(!_0x2aa6a5)throw new Error(_0x27fcab(0x73));return _0x2aa6a5[_0x27fcab(0x77)](_0x882982);}async['importDOCXToUnitId'](_0x2b44b4){const _0x2dcdbb=_0x4f8ccf;return this[_0x2dcdbb(0x81)](_0x2b44b4);}async[_0x4f8ccf(0x81)](_0x1fa6e5){const _0x74a5e0=_0x4f8ccf,_0x4974c5=this[_0x74a5e0(0x69)]['get'](r[_0x74a5e0(0x6a)]);if(!_0x4974c5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4974c5[_0x74a5e0(0x79)](_0x1fa6e5,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x48afae){const _0x1d1cf1=_0x4f8ccf;return this[_0x1d1cf1(0x72)](_0x48afae);}async[_0x4f8ccf(0x72)](_0x307b15){const _0x3ecdc1=_0x4f8ccf,_0x329056=this['_injector']['get'](r[_0x3ecdc1(0x6a)]);if(!_0x329056)throw new Error(_0x3ecdc1(0x73));return _0x329056[_0x3ecdc1(0x71)](_0x307b15);}}i['FUniver']['extend'](c);