@univerjs-pro/exchange-client 0.7.0-nightly.202505211607 → 0.7.0-nightly.202505221607

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 _0x1e3800=_0xdcdd;(function(_0xee1520,_0x120326){const _0x781025=_0xdcdd,_0x96f690=_0xee1520();while(!![]){try{const _0x2b26b2=parseInt(_0x781025(0x1a6))/0x1*(parseInt(_0x781025(0x18f))/0x2)+-parseInt(_0x781025(0x18e))/0x3+parseInt(_0x781025(0x19c))/0x4*(-parseInt(_0x781025(0x1a4))/0x5)+-parseInt(_0x781025(0x1a0))/0x6+-parseInt(_0x781025(0x18c))/0x7+parseInt(_0x781025(0x197))/0x8*(-parseInt(_0x781025(0x1a2))/0x9)+parseInt(_0x781025(0x191))/0xa;if(_0x2b26b2===_0x120326)break;else _0x96f690['push'](_0x96f690['shift']());}catch(_0x22a03f){_0x96f690['push'](_0x96f690['shift']());}}}(_0x7709,0xacb39));function _0xdcdd(_0x514219,_0x51b623){const _0x770913=_0x7709();return _0xdcdd=function(_0xdcdd05,_0x57e4c1){_0xdcdd05=_0xdcdd05-0x187;let _0x501231=_0x770913[_0xdcdd05];return _0x501231;},_0xdcdd(_0x514219,_0x51b623);}const r=require(_0x1e3800(0x194)),o=require(_0x1e3800(0x1a1));var i=(_0x50e657=>(_0x50e657[_0x50e657[_0x1e3800(0x190)]=0x0]=_0x1e3800(0x190),_0x50e657[_0x50e657['UNIVER_DOC']=0x1]=_0x1e3800(0x189),_0x50e657[_0x50e657['UNIVER_SHEET']=0x2]=_0x1e3800(0x1a8),_0x50e657[_0x50e657[_0x1e3800(0x196)]=0x3]=_0x1e3800(0x196),_0x50e657[_0x50e657['UNIVER_PROJECT']=0x4]=_0x1e3800(0x19a),_0x50e657[_0x50e657['UNRECOGNIZED']=-0x1]=_0x1e3800(0x1a5),_0x50e657))(i||{});class c extends o['FUniver']{async[_0x1e3800(0x198)](_0x1f6f88){const _0x42be70=_0x1e3800;return this[_0x42be70(0x1aa)](_0x1f6f88);}async[_0x1e3800(0x1aa)](_0x2c3b83){const _0x6c6b22=_0x1e3800,_0x346423=this[_0x6c6b22(0x199)][_0x6c6b22(0x18a)](r[_0x6c6b22(0x18d)]);if(!_0x346423)throw new Error(_0x6c6b22(0x18b));return _0x346423['importFileToUnitId'](_0x2c3b83,i[_0x6c6b22(0x1a8)]);}async[_0x1e3800(0x19d)](_0x31ac73){const _0x2dc420=_0x1e3800;return this[_0x2dc420(0x19b)](_0x31ac73);}async['importXLSXToSnapshotAsync'](_0xe2009){const _0x3ba552=_0x1e3800,_0x175a89=this['_injector'][_0x3ba552(0x18a)](r[_0x3ba552(0x18d)]);if(!_0x175a89)throw new Error(_0x3ba552(0x18b));return _0x175a89['importXLSXToSnapshot'](_0xe2009);}async[_0x1e3800(0x1ab)](_0x1df338){return this['exportXLSXByUnitIdAsync'](_0x1df338);}async[_0x1e3800(0x19e)](_0xc2abb7){const _0x13e495=_0x1e3800,_0x48f99e=this[_0x13e495(0x199)][_0x13e495(0x18a)](r[_0x13e495(0x18d)]);if(!_0x48f99e)throw new Error(_0x13e495(0x18b));return _0x48f99e[_0x13e495(0x1ab)](_0xc2abb7);}async['exportXLSXBySnapshot'](_0x31ea5c){const _0x39fe75=_0x1e3800;return this[_0x39fe75(0x188)](_0x31ea5c);}async[_0x1e3800(0x188)](_0x573c57){const _0x489bce=_0x1e3800,_0x503161=this['_injector'][_0x489bce(0x18a)](r[_0x489bce(0x18d)]);if(!_0x503161)throw new Error(_0x489bce(0x18b));return _0x503161[_0x489bce(0x1ac)](_0x573c57);}async['importDOCXToUnitId'](_0x487388){return this['importDOCXToUnitIdAsync'](_0x487388);}async[_0x1e3800(0x1a7)](_0x671521){const _0x5d6437=_0x1e3800,_0x375cb8=this[_0x5d6437(0x199)]['get'](r[_0x5d6437(0x18d)]);if(!_0x375cb8)throw new Error(_0x5d6437(0x18b));return _0x375cb8['importFileToUnitId'](_0x671521,i[_0x5d6437(0x189)]);}async[_0x1e3800(0x1a3)](_0x2ea92f){const _0x10ff05=_0x1e3800;return this[_0x10ff05(0x19f)](_0x2ea92f);}async[_0x1e3800(0x19f)](_0x463664){const _0x1789e7=_0x1e3800,_0x24a8eb=this[_0x1789e7(0x199)][_0x1789e7(0x18a)](r[_0x1789e7(0x18d)]);if(!_0x24a8eb)throw new Error(_0x1789e7(0x18b));return _0x24a8eb[_0x1789e7(0x1a3)](_0x463664);}async[_0x1e3800(0x193)](_0x223190){const _0xd0be8f=_0x1e3800,_0x50cf9c=this['_injector']['get'](r['IExchangeService']);if(!_0x50cf9c)throw new Error(_0xd0be8f(0x18b));return _0x50cf9c[_0xd0be8f(0x195)](_0x223190);}async['exportDOCXByUnitIdAsync'](_0x44d50c){const _0x2fb0be=_0x1e3800,_0xc5bf1e=this[_0x2fb0be(0x199)][_0x2fb0be(0x18a)](r[_0x2fb0be(0x18d)]);if(!_0xc5bf1e)throw new Error(_0x2fb0be(0x18b));return _0xc5bf1e[_0x2fb0be(0x192)](_0x44d50c);}}function _0x7709(){const _0x367991=['exportXLSXBySnapshotAsync','UNIVER_DOC','get','The\x20exchange\x20service\x20is\x20not\x20available','3919041epLLwv','IExchangeService','3505596Igauod','12VOZmRa','UNIVER_UNKNOWN','40645110OoRDuo','exportDOCXByUnitId','exportDOCXBySnapshotAsync','@univerjs-pro/exchange-client','exportDOCXBySnapshot','UNIVER_SLIDE','344ghiKlf','importXLSXToUnitId','_injector','UNIVER_PROJECT','importXLSXToSnapshotAsync','12004nPcula','importXLSXToSnapshot','exportXLSXByUnitIdAsync','importDOCXToSnapshotAsync','4764210VIHVHv','@univerjs/core/facade','171009opJIvq','importDOCXToSnapshot','95DmGzUZ','UNRECOGNIZED','6561YGocSd','importDOCXToUnitIdAsync','UNIVER_SHEET','extend','importXLSXToUnitIdAsync','exportXLSXByUnitId','exportXLSXBySnapshot','FUniver'];_0x7709=function(){return _0x367991;};return _0x7709();}o[_0x1e3800(0x187)][_0x1e3800(0x1a9)](c);
1
+ 'use strict';const _0x5da959=_0x4135;function _0x3d82(){const _0x11da53=['importXLSXToSnapshot','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','importFileToUnitId','2305kcnvAh','FUniver','3943632QHZDoc','UNRECOGNIZED','importXLSXToUnitId','2435835UzMTkB','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','16KmGXqV','IExchangeService','exportXLSXBySnapshot','UNIVER_UNKNOWN','3812wwBWyk','UNIVER_DOC','_injector','exportDOCXBySnapshotAsync','importDOCXToSnapshot','37908792OUAbLB','exportDOCXByUnitIdAsync','importDOCXToUnitIdAsync','1957454UDyTdH','1454762zuHeMp','UNIVER_SHEET','UNIVER_SLIDE','exportXLSXByUnitIdAsync','3478993PbAIpj','extend','exportXLSXBySnapshotAsync','UNIVER_PROJECT','get'];_0x3d82=function(){return _0x11da53;};return _0x3d82();}(function(_0x258f9d,_0x39e865){const _0xf4bfe8=_0x4135,_0x616105=_0x258f9d();while(!![]){try{const _0x15167e=-parseInt(_0xf4bfe8(0xe8))/0x1+parseInt(_0xf4bfe8(0xe7))/0x2+-parseInt(_0xf4bfe8(0xd8))/0x3+-parseInt(_0xf4bfe8(0xdf))/0x4*(parseInt(_0xf4bfe8(0xd3))/0x5)+-parseInt(_0xf4bfe8(0xd5))/0x6+parseInt(_0xf4bfe8(0xec))/0x7*(-parseInt(_0xf4bfe8(0xdb))/0x8)+parseInt(_0xf4bfe8(0xe4))/0x9;if(_0x15167e===_0x39e865)break;else _0x616105['push'](_0x616105['shift']());}catch(_0x511ac5){_0x616105['push'](_0x616105['shift']());}}}(_0x3d82,0xcb7e1));const r=require(_0x5da959(0xcf)),o=require('@univerjs/core/facade');var i=(_0x5c1223=>(_0x5c1223[_0x5c1223[_0x5da959(0xde)]=0x0]=_0x5da959(0xde),_0x5c1223[_0x5c1223[_0x5da959(0xe0)]=0x1]=_0x5da959(0xe0),_0x5c1223[_0x5c1223[_0x5da959(0xe9)]=0x2]=_0x5da959(0xe9),_0x5c1223[_0x5c1223[_0x5da959(0xea)]=0x3]=_0x5da959(0xea),_0x5c1223[_0x5c1223['UNIVER_PROJECT']=0x4]=_0x5da959(0xef),_0x5c1223[_0x5c1223[_0x5da959(0xd6)]=-0x1]=_0x5da959(0xd6),_0x5c1223))(i||{});function _0x4135(_0x48ed90,_0x1923b5){const _0x3d82a0=_0x3d82();return _0x4135=function(_0x4135cd,_0x11dbf1){_0x4135cd=_0x4135cd-0xcf;let _0x57501f=_0x3d82a0[_0x4135cd];return _0x57501f;},_0x4135(_0x48ed90,_0x1923b5);}class c extends o[_0x5da959(0xd4)]{async[_0x5da959(0xd7)](_0x2cc734){const _0x4e9200=_0x5da959;return this[_0x4e9200(0xd9)](_0x2cc734);}async[_0x5da959(0xd9)](_0x2e9da4){const _0x236334=_0x5da959,_0x2ac6bf=this[_0x236334(0xe1)][_0x236334(0xf0)](r[_0x236334(0xdc)]);if(!_0x2ac6bf)throw new Error(_0x236334(0xd0));return _0x2ac6bf[_0x236334(0xd2)](_0x2e9da4,i[_0x236334(0xe9)]);}async[_0x5da959(0xf1)](_0x5cf597){return this['importXLSXToSnapshotAsync'](_0x5cf597);}async['importXLSXToSnapshotAsync'](_0x5a2632){const _0x17bb1c=_0x5da959,_0x239dc2=this[_0x17bb1c(0xe1)]['get'](r['IExchangeService']);if(!_0x239dc2)throw new Error(_0x17bb1c(0xd0));return _0x239dc2[_0x17bb1c(0xf1)](_0x5a2632);}async[_0x5da959(0xd1)](_0x48a0ed){const _0x565bff=_0x5da959;return this[_0x565bff(0xeb)](_0x48a0ed);}async[_0x5da959(0xeb)](_0x3f5b03){const _0xb4dc3d=_0x5da959,_0x454cd8=this[_0xb4dc3d(0xe1)]['get'](r[_0xb4dc3d(0xdc)]);if(!_0x454cd8)throw new Error(_0xb4dc3d(0xd0));return _0x454cd8[_0xb4dc3d(0xd1)](_0x3f5b03);}async[_0x5da959(0xdd)](_0x1e2f3b){return this['exportXLSXBySnapshotAsync'](_0x1e2f3b);}async[_0x5da959(0xee)](_0x5203ee){const _0x18d7ca=_0x5da959,_0x29b6e2=this['_injector'][_0x18d7ca(0xf0)](r[_0x18d7ca(0xdc)]);if(!_0x29b6e2)throw new Error(_0x18d7ca(0xd0));return _0x29b6e2[_0x18d7ca(0xdd)](_0x5203ee);}async['importDOCXToUnitId'](_0x500f61){const _0x14652e=_0x5da959;return this[_0x14652e(0xe6)](_0x500f61);}async['importDOCXToUnitIdAsync'](_0x76f64d){const _0x53424a=_0x5da959,_0x1ae573=this['_injector'][_0x53424a(0xf0)](r[_0x53424a(0xdc)]);if(!_0x1ae573)throw new Error(_0x53424a(0xd0));return _0x1ae573[_0x53424a(0xd2)](_0x76f64d,i['UNIVER_DOC']);}async[_0x5da959(0xe3)](_0x561664){const _0x5a930e=_0x5da959;return this[_0x5a930e(0xda)](_0x561664);}async[_0x5da959(0xda)](_0x29156e){const _0x82e662=_0x5da959,_0x55a0d5=this[_0x82e662(0xe1)][_0x82e662(0xf0)](r[_0x82e662(0xdc)]);if(!_0x55a0d5)throw new Error(_0x82e662(0xd0));return _0x55a0d5[_0x82e662(0xe3)](_0x29156e);}async[_0x5da959(0xe2)](_0x48d071){const _0x32628c=_0x5da959,_0x2f3af2=this[_0x32628c(0xe1)][_0x32628c(0xf0)](r[_0x32628c(0xdc)]);if(!_0x2f3af2)throw new Error(_0x32628c(0xd0));return _0x2f3af2['exportDOCXBySnapshot'](_0x48d071);}async[_0x5da959(0xe5)](_0x2ce37c){const _0x28deac=_0x5da959,_0x3ac87d=this[_0x28deac(0xe1)][_0x28deac(0xf0)](r[_0x28deac(0xdc)]);if(!_0x3ac87d)throw new Error(_0x28deac(0xd0));return _0x3ac87d['exportDOCXByUnitId'](_0x2ce37c);}}o['FUniver'][_0x5da959(0xed)](c);