@univerjs-pro/exchange-client 0.6.0-nightly.202501301606 → 0.6.0-nightly.202501311606

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 _0x8ab46a=_0x4aa8;(function(_0x44ad5f,_0x27f214){const _0x1bf7f5=_0x4aa8,_0x5afd24=_0x44ad5f();while(!![]){try{const _0x3b947f=-parseInt(_0x1bf7f5(0x1d0))/0x1+-parseInt(_0x1bf7f5(0x1d8))/0x2+parseInt(_0x1bf7f5(0x1ce))/0x3*(-parseInt(_0x1bf7f5(0x1e6))/0x4)+-parseInt(_0x1bf7f5(0x1e0))/0x5*(-parseInt(_0x1bf7f5(0x1d2))/0x6)+-parseInt(_0x1bf7f5(0x1eb))/0x7+parseInt(_0x1bf7f5(0x1db))/0x8+parseInt(_0x1bf7f5(0x1df))/0x9;if(_0x3b947f===_0x27f214)break;else _0x5afd24['push'](_0x5afd24['shift']());}catch(_0x513ae9){_0x5afd24['push'](_0x5afd24['shift']());}}}(_0x5f1a,0x6be7e));const r=require('@univerjs-pro/exchange-client'),i=require(_0x8ab46a(0x1d3));var o=(_0x4433fd=>(_0x4433fd[_0x4433fd[_0x8ab46a(0x1de)]=0x0]=_0x8ab46a(0x1de),_0x4433fd[_0x4433fd['UNIVER_DOC']=0x1]=_0x8ab46a(0x1ea),_0x4433fd[_0x4433fd[_0x8ab46a(0x1e7)]=0x2]=_0x8ab46a(0x1e7),_0x4433fd[_0x4433fd[_0x8ab46a(0x1d1)]=0x3]=_0x8ab46a(0x1d1),_0x4433fd[_0x4433fd[_0x8ab46a(0x1da)]=0x4]=_0x8ab46a(0x1da),_0x4433fd[_0x4433fd['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4433fd))(o||{});function _0x5f1a(){const _0x5013cf=['7879EmhbfQ','UNIVER_SLIDE','76764kSOHfi','@univerjs/core','exportXLSXByUnitIdAsync','exportXLSXBySnapshotAsync','FUniver','exportXLSXByUnitId','366156ooriGr','importDOCXToSnapshotAsync','UNIVER_PROJECT','766768tMGvuC','get','importFileToUnitId','UNIVER_UNKNOWN','4393305MshkYT','200KnZazj','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','IExchangeService','importXLSXToUnitIdAsync','100488oMmVjz','UNIVER_SHEET','importXLSXToSnapshot','exportXLSXBySnapshot','UNIVER_DOC','1656998Liblwt','_injector','27HVPndA','importDOCXToSnapshot'];_0x5f1a=function(){return _0x5013cf;};return _0x5f1a();}function _0x4aa8(_0x1e90de,_0x236e0b){const _0x5f1a29=_0x5f1a();return _0x4aa8=function(_0x4aa8f3,_0x1533a4){_0x4aa8f3=_0x4aa8f3-0x1cd;let _0x2bb803=_0x5f1a29[_0x4aa8f3];return _0x2bb803;},_0x4aa8(_0x1e90de,_0x236e0b);}class c extends i[_0x8ab46a(0x1d6)]{async['importXLSXToUnitId'](_0x72fd10){return this['importXLSXToUnitIdAsync'](_0x72fd10);}async[_0x8ab46a(0x1e5)](_0x90ce35){const _0x3f7c97=_0x8ab46a,_0x152862=this[_0x3f7c97(0x1cd)][_0x3f7c97(0x1dc)](r[_0x3f7c97(0x1e4)]);if(!_0x152862)throw new Error(_0x3f7c97(0x1e2));return _0x152862['importFileToUnitId'](_0x90ce35,o[_0x3f7c97(0x1e7)]);}async[_0x8ab46a(0x1e8)](_0x2a7f54){const _0x127706=_0x8ab46a;return this[_0x127706(0x1e3)](_0x2a7f54);}async['importXLSXToSnapshotAsync'](_0x17a44c){const _0x54a154=_0x8ab46a,_0x5dab78=this[_0x54a154(0x1cd)][_0x54a154(0x1dc)](r['IExchangeService']);if(!_0x5dab78)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5dab78['importXLSXToSnapshot'](_0x17a44c);}async[_0x8ab46a(0x1d7)](_0x4c1fe5){const _0x4a00f3=_0x8ab46a;return this[_0x4a00f3(0x1d4)](_0x4c1fe5);}async[_0x8ab46a(0x1d4)](_0x545103){const _0x58505b=_0x8ab46a,_0x396820=this[_0x58505b(0x1cd)][_0x58505b(0x1dc)](r[_0x58505b(0x1e4)]);if(!_0x396820)throw new Error(_0x58505b(0x1e2));return _0x396820[_0x58505b(0x1d7)](_0x545103);}async[_0x8ab46a(0x1e9)](_0x5282c3){const _0x34162b=_0x8ab46a;return this[_0x34162b(0x1d5)](_0x5282c3);}async[_0x8ab46a(0x1d5)](_0x48d699){const _0x56005a=_0x8ab46a,_0x2edc2c=this['_injector'][_0x56005a(0x1dc)](r[_0x56005a(0x1e4)]);if(!_0x2edc2c)throw new Error(_0x56005a(0x1e2));return _0x2edc2c[_0x56005a(0x1e9)](_0x48d699);}async['importDOCXToUnitId'](_0x5566ea){return this['importDOCXToUnitIdAsync'](_0x5566ea);}async[_0x8ab46a(0x1e1)](_0xf48ea){const _0x2f643c=_0x8ab46a,_0x3ac549=this[_0x2f643c(0x1cd)]['get'](r[_0x2f643c(0x1e4)]);if(!_0x3ac549)throw new Error(_0x2f643c(0x1e2));return _0x3ac549[_0x2f643c(0x1dd)](_0xf48ea,o[_0x2f643c(0x1ea)]);}async[_0x8ab46a(0x1cf)](_0x31fcf9){const _0x3d9684=_0x8ab46a;return this[_0x3d9684(0x1d9)](_0x31fcf9);}async[_0x8ab46a(0x1d9)](_0x52b434){const _0x58cb2e=_0x8ab46a,_0x4828af=this[_0x58cb2e(0x1cd)][_0x58cb2e(0x1dc)](r[_0x58cb2e(0x1e4)]);if(!_0x4828af)throw new Error(_0x58cb2e(0x1e2));return _0x4828af['importDOCXToSnapshot'](_0x52b434);}}i[_0x8ab46a(0x1d6)]['extend'](c);
1
+ 'use strict';function _0xc65a(){const _0x511d8d=['117aScJqc','importDOCXToSnapshotAsync','364074HFufSX','importXLSXToSnapshot','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshot','get','importXLSXToUnitId','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','importDOCXToUnitIdAsync','importDOCXToUnitId','UNIVER_SLIDE','1136988rNEmEK','extend','7VbJNNS','UNIVER_SHEET','importFileToUnitId','@univerjs-pro/exchange-client','4465440eqCLqh','importXLSXToUnitIdAsync','@univerjs/core','98584eMPTmq','exportXLSXByUnitIdAsync','_injector','exportXLSXByUnitId','UNIVER_PROJECT','UNIVER_DOC','14345VjGjVI','144832braUUj','importDOCXToSnapshot','IExchangeService','912035shJrpG','10yogVjQ','UNRECOGNIZED','exportXLSXBySnapshotAsync'];_0xc65a=function(){return _0x511d8d;};return _0xc65a();}const _0x5c302f=_0x4c34;function _0x4c34(_0x24925a,_0x4006e0){const _0xc65ac4=_0xc65a();return _0x4c34=function(_0x4c34e7,_0x454023){_0x4c34e7=_0x4c34e7-0x81;let _0x270df5=_0xc65ac4[_0x4c34e7];return _0x270df5;},_0x4c34(_0x24925a,_0x4006e0);}(function(_0x3fe4a9,_0x4d828b){const _0x5e51d9=_0x4c34,_0x112e6f=_0x3fe4a9();while(!![]){try{const _0x2c143d=-parseInt(_0x5e51d9(0x97))/0x1*(-parseInt(_0x5e51d9(0x9c))/0x2)+parseInt(_0x5e51d9(0x88))/0x3+parseInt(_0x5e51d9(0x98))/0x4+-parseInt(_0x5e51d9(0x9b))/0x5+-parseInt(_0x5e51d9(0xa1))/0x6*(parseInt(_0x5e51d9(0x8a))/0x7)+-parseInt(_0x5e51d9(0x91))/0x8*(parseInt(_0x5e51d9(0x9f))/0x9)+parseInt(_0x5e51d9(0x8e))/0xa;if(_0x2c143d===_0x4d828b)break;else _0x112e6f['push'](_0x112e6f['shift']());}catch(_0x602072){_0x112e6f['push'](_0x112e6f['shift']());}}}(_0xc65a,0x8170c));const r=require(_0x5c302f(0x8d)),i=require(_0x5c302f(0x90));var o=(_0x407eb2=>(_0x407eb2[_0x407eb2[_0x5c302f(0x83)]=0x0]='UNIVER_UNKNOWN',_0x407eb2[_0x407eb2[_0x5c302f(0x96)]=0x1]=_0x5c302f(0x96),_0x407eb2[_0x407eb2[_0x5c302f(0x8b)]=0x2]='UNIVER_SHEET',_0x407eb2[_0x407eb2[_0x5c302f(0x87)]=0x3]='UNIVER_SLIDE',_0x407eb2[_0x407eb2[_0x5c302f(0x95)]=0x4]=_0x5c302f(0x95),_0x407eb2[_0x407eb2[_0x5c302f(0x9d)]=-0x1]=_0x5c302f(0x9d),_0x407eb2))(o||{});class c extends i[_0x5c302f(0xa3)]{async[_0x5c302f(0x82)](_0x56d14a){return this['importXLSXToUnitIdAsync'](_0x56d14a);}async[_0x5c302f(0x8f)](_0x1684d1){const _0x340367=_0x5c302f,_0xf2f9db=this['_injector']['get'](r[_0x340367(0x9a)]);if(!_0xf2f9db)throw new Error(_0x340367(0xa4));return _0xf2f9db['importFileToUnitId'](_0x1684d1,o[_0x340367(0x8b)]);}async['importXLSXToSnapshot'](_0x51daff){return this['importXLSXToSnapshotAsync'](_0x51daff);}async[_0x5c302f(0x84)](_0x6c2f38){const _0x4b69c8=_0x5c302f,_0xa51373=this['_injector']['get'](r[_0x4b69c8(0x9a)]);if(!_0xa51373)throw new Error(_0x4b69c8(0xa4));return _0xa51373[_0x4b69c8(0xa2)](_0x6c2f38);}async[_0x5c302f(0x94)](_0x3fbab1){const _0x53eded=_0x5c302f;return this[_0x53eded(0x92)](_0x3fbab1);}async['exportXLSXByUnitIdAsync'](_0x19204d){const _0x5815a4=_0x5c302f,_0x3d77f1=this[_0x5815a4(0x93)][_0x5815a4(0x81)](r[_0x5815a4(0x9a)]);if(!_0x3d77f1)throw new Error(_0x5815a4(0xa4));return _0x3d77f1[_0x5815a4(0x94)](_0x19204d);}async[_0x5c302f(0xa5)](_0x31733a){const _0x156f82=_0x5c302f;return this[_0x156f82(0x9e)](_0x31733a);}async[_0x5c302f(0x9e)](_0x508dfa){const _0x50a3b9=_0x5c302f,_0x422fe2=this[_0x50a3b9(0x93)]['get'](r[_0x50a3b9(0x9a)]);if(!_0x422fe2)throw new Error(_0x50a3b9(0xa4));return _0x422fe2[_0x50a3b9(0xa5)](_0x508dfa);}async[_0x5c302f(0x86)](_0x4ae2c6){return this['importDOCXToUnitIdAsync'](_0x4ae2c6);}async[_0x5c302f(0x85)](_0x326452){const _0x17e583=_0x5c302f,_0x25202e=this['_injector']['get'](r['IExchangeService']);if(!_0x25202e)throw new Error(_0x17e583(0xa4));return _0x25202e[_0x17e583(0x8c)](_0x326452,o[_0x17e583(0x96)]);}async['importDOCXToSnapshot'](_0x2baacb){return this['importDOCXToSnapshotAsync'](_0x2baacb);}async[_0x5c302f(0xa0)](_0xc1d5ae){const _0x557036=_0x5c302f,_0x2d5813=this[_0x557036(0x93)][_0x557036(0x81)](r[_0x557036(0x9a)]);if(!_0x2d5813)throw new Error(_0x557036(0xa4));return _0x2d5813[_0x557036(0x99)](_0xc1d5ae);}}i[_0x5c302f(0xa3)][_0x5c302f(0x89)](c);