@univerjs-pro/exchange-client 0.5.4-nightly.202501131606 → 0.5.4-nightly.202501141606

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 _0x606260=_0x2d5f;(function(_0x414499,_0x199062){const _0x1b626b=_0x2d5f,_0xc91dac=_0x414499();while(!![]){try{const _0x9bbf46=-parseInt(_0x1b626b(0x1e8))/0x1+-parseInt(_0x1b626b(0x1d3))/0x2+parseInt(_0x1b626b(0x1ec))/0x3+parseInt(_0x1b626b(0x1ee))/0x4*(parseInt(_0x1b626b(0x1e6))/0x5)+-parseInt(_0x1b626b(0x1e3))/0x6+-parseInt(_0x1b626b(0x1e9))/0x7*(-parseInt(_0x1b626b(0x1ea))/0x8)+parseInt(_0x1b626b(0x1d4))/0x9;if(_0x9bbf46===_0x199062)break;else _0xc91dac['push'](_0xc91dac['shift']());}catch(_0x5e7472){_0xc91dac['push'](_0xc91dac['shift']());}}}(_0x3120,0x1f769));function _0x2d5f(_0x18d3c0,_0x49fe14){const _0x3120c6=_0x3120();return _0x2d5f=function(_0x2d5fa0,_0x2b31dd){_0x2d5fa0=_0x2d5fa0-0x1d3;let _0x82850a=_0x3120c6[_0x2d5fa0];return _0x82850a;},_0x2d5f(_0x18d3c0,_0x49fe14);}function _0x3120(){const _0x5f392f=['230XMxuln','@univerjs-pro/exchange-client','48958JLqOVo','1089179mxoqEC','8BnrthN','exportXLSXBySnapshot','336933bJlKqH','The\x20exchange\x20service\x20is\x20not\x20available','16996mxFNpM','importXLSXToSnapshotAsync','importFileToUnitId','UNIVER_SLIDE','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','487872roVzfE','120600iyljJF','_injector','UNIVER_UNKNOWN','UNIVER_DOC','get','UNIVER_SHEET','importDOCXToSnapshotAsync','importXLSXToSnapshot','exportXLSXBySnapshotAsync','importDOCXToSnapshot','IExchangeService','UNRECOGNIZED','exportXLSXByUnitIdAsync','exportXLSXByUnitId','UNIVER_PROJECT','329970KvAOyF','extend','FUniver'];_0x3120=function(){return _0x5f392f;};return _0x3120();}const r=require(_0x606260(0x1e7)),i=require('@univerjs/core');var o=(_0x234148=>(_0x234148[_0x234148[_0x606260(0x1d6)]=0x0]=_0x606260(0x1d6),_0x234148[_0x234148['UNIVER_DOC']=0x1]=_0x606260(0x1d7),_0x234148[_0x234148[_0x606260(0x1d9)]=0x2]=_0x606260(0x1d9),_0x234148[_0x234148['UNIVER_SLIDE']=0x3]=_0x606260(0x1f1),_0x234148[_0x234148[_0x606260(0x1e2)]=0x4]=_0x606260(0x1e2),_0x234148[_0x234148[_0x606260(0x1df)]=-0x1]=_0x606260(0x1df),_0x234148))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x42c32d){const _0x47bee0=_0x606260;return this[_0x47bee0(0x1f2)](_0x42c32d);}async['importXLSXToUnitIdAsync'](_0xd439f3){const _0x2655a0=_0x606260,_0x209721=this[_0x2655a0(0x1d5)][_0x2655a0(0x1d8)](r[_0x2655a0(0x1de)]);if(!_0x209721)throw new Error(_0x2655a0(0x1ed));return _0x209721[_0x2655a0(0x1f0)](_0xd439f3,o[_0x2655a0(0x1d9)]);}async[_0x606260(0x1db)](_0x39843e){const _0x466429=_0x606260;return this[_0x466429(0x1ef)](_0x39843e);}async['importXLSXToSnapshotAsync'](_0x2e016e){const _0x254cf9=_0x606260,_0x5ec592=this[_0x254cf9(0x1d5)][_0x254cf9(0x1d8)](r[_0x254cf9(0x1de)]);if(!_0x5ec592)throw new Error(_0x254cf9(0x1ed));return _0x5ec592['importXLSXToSnapshot'](_0x2e016e);}async['exportXLSXByUnitId'](_0x28c859){const _0x23d16d=_0x606260;return this[_0x23d16d(0x1e0)](_0x28c859);}async[_0x606260(0x1e0)](_0xcd951b){const _0xed411d=_0x606260,_0x5d70fe=this[_0xed411d(0x1d5)]['get'](r[_0xed411d(0x1de)]);if(!_0x5d70fe)throw new Error(_0xed411d(0x1ed));return _0x5d70fe[_0xed411d(0x1e1)](_0xcd951b);}async[_0x606260(0x1eb)](_0x1a3004){const _0x55907a=_0x606260;return this[_0x55907a(0x1dc)](_0x1a3004);}async[_0x606260(0x1dc)](_0x286316){const _0x498ce0=_0x606260,_0x3aa25e=this['_injector'][_0x498ce0(0x1d8)](r['IExchangeService']);if(!_0x3aa25e)throw new Error(_0x498ce0(0x1ed));return _0x3aa25e['exportXLSXBySnapshot'](_0x286316);}async['importDOCXToUnitId'](_0x4bad2e){return this['importDOCXToUnitIdAsync'](_0x4bad2e);}async[_0x606260(0x1f3)](_0x48807e){const _0x273a85=_0x606260,_0x2363b3=this[_0x273a85(0x1d5)][_0x273a85(0x1d8)](r['IExchangeService']);if(!_0x2363b3)throw new Error(_0x273a85(0x1ed));return _0x2363b3['importFileToUnitId'](_0x48807e,o[_0x273a85(0x1d7)]);}async[_0x606260(0x1dd)](_0x4f9b52){const _0x273202=_0x606260;return this[_0x273202(0x1da)](_0x4f9b52);}async[_0x606260(0x1da)](_0x29314e){const _0x43a9d2=_0x606260,_0x5a2335=this['_injector']['get'](r[_0x43a9d2(0x1de)]);if(!_0x5a2335)throw new Error(_0x43a9d2(0x1ed));return _0x5a2335[_0x43a9d2(0x1dd)](_0x29314e);}}i[_0x606260(0x1e5)][_0x606260(0x1e4)](c);
1
+ 'use strict';const _0x46e4c2=_0x5490;(function(_0x205fab,_0x5e644d){const _0x37dcc2=_0x5490,_0x476f7e=_0x205fab();while(!![]){try{const _0x54b233=parseInt(_0x37dcc2(0x1bb))/0x1+-parseInt(_0x37dcc2(0x1d6))/0x2*(parseInt(_0x37dcc2(0x1d4))/0x3)+-parseInt(_0x37dcc2(0x1b8))/0x4*(-parseInt(_0x37dcc2(0x1b7))/0x5)+-parseInt(_0x37dcc2(0x1ba))/0x6+parseInt(_0x37dcc2(0x1c7))/0x7+parseInt(_0x37dcc2(0x1cd))/0x8*(-parseInt(_0x37dcc2(0x1d2))/0x9)+parseInt(_0x37dcc2(0x1c4))/0xa;if(_0x54b233===_0x5e644d)break;else _0x476f7e['push'](_0x476f7e['shift']());}catch(_0x28204f){_0x476f7e['push'](_0x476f7e['shift']());}}}(_0x3d4b,0xc7e4e));const r=require('@univerjs-pro/exchange-client'),i=require(_0x46e4c2(0x1c2));function _0x5490(_0x4b7909,_0x4f96b2){const _0x3d4b11=_0x3d4b();return _0x5490=function(_0x5490e0,_0x16b696){_0x5490e0=_0x5490e0-0x1b4;let _0x26b622=_0x3d4b11[_0x5490e0];return _0x26b622;},_0x5490(_0x4b7909,_0x4f96b2);}var o=(_0x3c2053=>(_0x3c2053[_0x3c2053[_0x46e4c2(0x1be)]=0x0]=_0x46e4c2(0x1be),_0x3c2053[_0x3c2053[_0x46e4c2(0x1cb)]=0x1]=_0x46e4c2(0x1cb),_0x3c2053[_0x3c2053['UNIVER_SHEET']=0x2]=_0x46e4c2(0x1ca),_0x3c2053[_0x3c2053[_0x46e4c2(0x1ce)]=0x3]=_0x46e4c2(0x1ce),_0x3c2053[_0x3c2053[_0x46e4c2(0x1b4)]=0x4]=_0x46e4c2(0x1b4),_0x3c2053[_0x3c2053[_0x46e4c2(0x1cf)]=-0x1]=_0x46e4c2(0x1cf),_0x3c2053))(o||{});class c extends i['FUniver']{async[_0x46e4c2(0x1d0)](_0x1a118c){const _0x4bb060=_0x46e4c2;return this[_0x4bb060(0x1b5)](_0x1a118c);}async[_0x46e4c2(0x1b5)](_0x50fd4e){const _0x2f930c=_0x46e4c2,_0x219254=this[_0x2f930c(0x1d3)][_0x2f930c(0x1bd)](r['IExchangeService']);if(!_0x219254)throw new Error(_0x2f930c(0x1c8));return _0x219254[_0x2f930c(0x1c1)](_0x50fd4e,o['UNIVER_SHEET']);}async[_0x46e4c2(0x1c9)](_0x2a7335){const _0x373e4c=_0x46e4c2;return this[_0x373e4c(0x1c0)](_0x2a7335);}async[_0x46e4c2(0x1c0)](_0x287d40){const _0x10102e=_0x46e4c2,_0x4dbfe1=this[_0x10102e(0x1d3)]['get'](r[_0x10102e(0x1bf)]);if(!_0x4dbfe1)throw new Error(_0x10102e(0x1c8));return _0x4dbfe1[_0x10102e(0x1c9)](_0x287d40);}async[_0x46e4c2(0x1b6)](_0x4a7b4c){return this['exportXLSXByUnitIdAsync'](_0x4a7b4c);}async[_0x46e4c2(0x1c3)](_0x1da21e){const _0x5e6349=_0x46e4c2,_0x15ae5c=this[_0x5e6349(0x1d3)][_0x5e6349(0x1bd)](r['IExchangeService']);if(!_0x15ae5c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x15ae5c[_0x5e6349(0x1b6)](_0x1da21e);}async[_0x46e4c2(0x1c6)](_0x376795){const _0x5269d9=_0x46e4c2;return this[_0x5269d9(0x1c5)](_0x376795);}async[_0x46e4c2(0x1c5)](_0x1e6a1c){const _0x3b7fb2=_0x46e4c2,_0x56ded6=this[_0x3b7fb2(0x1d3)][_0x3b7fb2(0x1bd)](r[_0x3b7fb2(0x1bf)]);if(!_0x56ded6)throw new Error(_0x3b7fb2(0x1c8));return _0x56ded6[_0x3b7fb2(0x1c6)](_0x1e6a1c);}async['importDOCXToUnitId'](_0x28b148){const _0x406577=_0x46e4c2;return this[_0x406577(0x1d5)](_0x28b148);}async[_0x46e4c2(0x1d5)](_0x47b815){const _0x2b353f=_0x46e4c2,_0xe3981a=this[_0x2b353f(0x1d3)][_0x2b353f(0x1bd)](r[_0x2b353f(0x1bf)]);if(!_0xe3981a)throw new Error(_0x2b353f(0x1c8));return _0xe3981a['importFileToUnitId'](_0x47b815,o[_0x2b353f(0x1cb)]);}async[_0x46e4c2(0x1b9)](_0x3babd9){const _0x3c6170=_0x46e4c2;return this[_0x3c6170(0x1d1)](_0x3babd9);}async[_0x46e4c2(0x1d1)](_0x4d5992){const _0x3aa841=_0x46e4c2,_0x2f7976=this[_0x3aa841(0x1d3)][_0x3aa841(0x1bd)](r[_0x3aa841(0x1bf)]);if(!_0x2f7976)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2f7976['importDOCXToSnapshot'](_0x4d5992);}}i[_0x46e4c2(0x1bc)][_0x46e4c2(0x1cc)](c);function _0x3d4b(){const _0x5a1db2=['exportXLSXByUnitId','190gVEZgo','53140ANKDPr','importDOCXToSnapshot','3787620VHhOiR','1191099iWdxoH','FUniver','get','UNIVER_UNKNOWN','IExchangeService','importXLSXToSnapshotAsync','importFileToUnitId','@univerjs/core','exportXLSXByUnitIdAsync','13793810cZVpGE','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','2708188IlxjCL','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','UNIVER_SHEET','UNIVER_DOC','extend','141808HPGsDy','UNIVER_SLIDE','UNRECOGNIZED','importXLSXToUnitId','importDOCXToSnapshotAsync','432UFUyvm','_injector','1741965ycCePm','importDOCXToUnitIdAsync','4ZMIKzI','UNIVER_PROJECT','importXLSXToUnitIdAsync'];_0x3d4b=function(){return _0x5a1db2;};return _0x3d4b();}