@univerjs-pro/exchange-client 0.6.10-experimental.20250418-8830bd4 → 0.6.10-experimental.20250419-1304630

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 _0x5cf95c=_0x552f;(function(_0x53ee08,_0x404d70){const _0x4c8f9f=_0x552f,_0x6f7f5=_0x53ee08();while(!![]){try{const _0xbfc156=-parseInt(_0x4c8f9f(0x19d))/0x1*(parseInt(_0x4c8f9f(0x19c))/0x2)+-parseInt(_0x4c8f9f(0x18c))/0x3*(-parseInt(_0x4c8f9f(0x191))/0x4)+-parseInt(_0x4c8f9f(0x19b))/0x5*(parseInt(_0x4c8f9f(0x198))/0x6)+parseInt(_0x4c8f9f(0x19a))/0x7*(-parseInt(_0x4c8f9f(0x197))/0x8)+parseInt(_0x4c8f9f(0x1a8))/0x9*(-parseInt(_0x4c8f9f(0x19e))/0xa)+parseInt(_0x4c8f9f(0x190))/0xb+parseInt(_0x4c8f9f(0x196))/0xc;if(_0xbfc156===_0x404d70)break;else _0x6f7f5['push'](_0x6f7f5['shift']());}catch(_0x2b3c7f){_0x6f7f5['push'](_0x6f7f5['shift']());}}}(_0x2bfa,0xa50f9));function _0x552f(_0x581760,_0x698c9e){const _0x2bfa24=_0x2bfa();return _0x552f=function(_0x552faa,_0x268c7a){_0x552faa=_0x552faa-0x189;let _0x3a956a=_0x2bfa24[_0x552faa];return _0x3a956a;},_0x552f(_0x581760,_0x698c9e);}const r=require(_0x5cf95c(0x18d)),i=require('@univerjs/core/facade');var o=(_0x5d0893=>(_0x5d0893[_0x5d0893[_0x5cf95c(0x1a0)]=0x0]='UNIVER_UNKNOWN',_0x5d0893[_0x5d0893[_0x5cf95c(0x1a5)]=0x1]='UNIVER_DOC',_0x5d0893[_0x5d0893['UNIVER_SHEET']=0x2]=_0x5cf95c(0x1aa),_0x5d0893[_0x5d0893[_0x5cf95c(0x194)]=0x3]=_0x5cf95c(0x194),_0x5d0893[_0x5d0893[_0x5cf95c(0x19f)]=0x4]=_0x5cf95c(0x19f),_0x5d0893[_0x5d0893[_0x5cf95c(0x1a7)]=-0x1]='UNRECOGNIZED',_0x5d0893))(o||{});class c extends i[_0x5cf95c(0x1a1)]{async[_0x5cf95c(0x1a2)](_0x421270){const _0x395a26=_0x5cf95c;return this[_0x395a26(0x1ac)](_0x421270);}async[_0x5cf95c(0x1ac)](_0x5c0d99){const _0x5109ef=_0x5cf95c,_0x5bd9e1=this[_0x5109ef(0x195)]['get'](r[_0x5109ef(0x18b)]);if(!_0x5bd9e1)throw new Error(_0x5109ef(0x1ab));return _0x5bd9e1[_0x5109ef(0x199)](_0x5c0d99,o['UNIVER_SHEET']);}async[_0x5cf95c(0x18f)](_0x41f58e){const _0x457f10=_0x5cf95c;return this[_0x457f10(0x18a)](_0x41f58e);}async[_0x5cf95c(0x18a)](_0x5a4cd4){const _0x32bd3b=_0x5cf95c,_0x3d450d=this[_0x32bd3b(0x195)][_0x32bd3b(0x1a4)](r[_0x32bd3b(0x18b)]);if(!_0x3d450d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3d450d[_0x32bd3b(0x18f)](_0x5a4cd4);}async['exportXLSXByUnitId'](_0x3031ae){const _0x4ff857=_0x5cf95c;return this[_0x4ff857(0x1a9)](_0x3031ae);}async[_0x5cf95c(0x1a9)](_0x390b03){const _0x398553=_0x5cf95c,_0x5bca16=this['_injector'][_0x398553(0x1a4)](r['IExchangeService']);if(!_0x5bca16)throw new Error(_0x398553(0x1ab));return _0x5bca16[_0x398553(0x1a6)](_0x390b03);}async[_0x5cf95c(0x1a3)](_0x3b0e27){const _0x244f26=_0x5cf95c;return this[_0x244f26(0x192)](_0x3b0e27);}async[_0x5cf95c(0x192)](_0xafed15){const _0x5bf959=_0x5cf95c,_0x25600a=this[_0x5bf959(0x195)][_0x5bf959(0x1a4)](r[_0x5bf959(0x18b)]);if(!_0x25600a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x25600a[_0x5bf959(0x1a3)](_0xafed15);}async['importDOCXToUnitId'](_0x208456){const _0x112b19=_0x5cf95c;return this[_0x112b19(0x193)](_0x208456);}async[_0x5cf95c(0x193)](_0x49441b){const _0xe64c8f=_0x5cf95c,_0x2190ef=this[_0xe64c8f(0x195)][_0xe64c8f(0x1a4)](r[_0xe64c8f(0x18b)]);if(!_0x2190ef)throw new Error(_0xe64c8f(0x1ab));return _0x2190ef[_0xe64c8f(0x199)](_0x49441b,o[_0xe64c8f(0x1a5)]);}async['importDOCXToSnapshot'](_0x904be9){const _0x4cf545=_0x5cf95c;return this[_0x4cf545(0x189)](_0x904be9);}async[_0x5cf95c(0x189)](_0x5f3032){const _0x10d5cc=_0x5cf95c,_0x3191fc=this[_0x10d5cc(0x195)][_0x10d5cc(0x1a4)](r[_0x10d5cc(0x18b)]);if(!_0x3191fc)throw new Error(_0x10d5cc(0x1ab));return _0x3191fc['importDOCXToSnapshot'](_0x5f3032);}}function _0x2bfa(){const _0x30ef06=['extend','importXLSXToSnapshot','11817729lsjTyR','4901976rCGAGx','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','UNIVER_SLIDE','_injector','6840936tiEwnt','8jcqiXt','1747542MXkCru','importFileToUnitId','8218147uGhZSZ','5mwKNeL','4aeQEWf','83612ASwFDR','40RzusWV','UNIVER_PROJECT','UNIVER_UNKNOWN','FUniver','importXLSXToUnitId','exportXLSXBySnapshot','get','UNIVER_DOC','exportXLSXByUnitId','UNRECOGNIZED','1262970jgNxFb','exportXLSXByUnitIdAsync','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','IExchangeService','3egpzJv','@univerjs-pro/exchange-client'];_0x2bfa=function(){return _0x30ef06;};return _0x2bfa();}i[_0x5cf95c(0x1a1)][_0x5cf95c(0x18e)](c);
1
+ 'use strict';const _0x5382e0=_0x47a0;(function(_0x24251d,_0x36e265){const _0x2ce86f=_0x47a0,_0x2d12f8=_0x24251d();while(!![]){try{const _0x36b672=-parseInt(_0x2ce86f(0x149))/0x1*(-parseInt(_0x2ce86f(0x139))/0x2)+parseInt(_0x2ce86f(0x141))/0x3*(parseInt(_0x2ce86f(0x13c))/0x4)+parseInt(_0x2ce86f(0x12b))/0x5*(parseInt(_0x2ce86f(0x144))/0x6)+-parseInt(_0x2ce86f(0x13d))/0x7*(-parseInt(_0x2ce86f(0x142))/0x8)+-parseInt(_0x2ce86f(0x131))/0x9*(parseInt(_0x2ce86f(0x137))/0xa)+-parseInt(_0x2ce86f(0x146))/0xb+parseInt(_0x2ce86f(0x12e))/0xc*(parseInt(_0x2ce86f(0x14f))/0xd);if(_0x36b672===_0x36e265)break;else _0x2d12f8['push'](_0x2d12f8['shift']());}catch(_0x33e876){_0x2d12f8['push'](_0x2d12f8['shift']());}}}(_0x1f6b,0x27102));function _0x1f6b(){const _0xfb0ac5=['UNIVER_UNKNOWN','UNRECOGNIZED','741sxPZhF','importDOCXToSnapshotAsync','UNIVER_PROJECT','49865ilQhkt','importFileToUnitId','UNIVER_SLIDE','708eOMLCo','exportXLSXBySnapshotAsync','exportXLSXByUnitId','126NNjOQI','UNIVER_DOC','UNIVER_SHEET','importXLSXToUnitId','importDOCXToUnitIdAsync','extend','206480NCfYPh','The\x20exchange\x20service\x20is\x20not\x20available','2570XQBejI','importDOCXToSnapshot','importXLSXToSnapshotAsync','908jfmjIv','4228PKeSli','FUniver','@univerjs-pro/exchange-client','IExchangeService','141gbGfxS','1336fbrEsq','importXLSXToUnitIdAsync','108BZYCxb','importXLSXToSnapshot','546205PyQpat','_injector','exportXLSXByUnitIdAsync','159AniYEg','get','exportXLSXBySnapshot','importDOCXToUnitId'];_0x1f6b=function(){return _0xfb0ac5;};return _0x1f6b();}function _0x47a0(_0x2ee007,_0x1e4040){const _0x1f6b6e=_0x1f6b();return _0x47a0=function(_0x47a00a,_0x10915a){_0x47a00a=_0x47a00a-0x129;let _0x3de32a=_0x1f6b6e[_0x47a00a];return _0x3de32a;},_0x47a0(_0x2ee007,_0x1e4040);}const r=require(_0x5382e0(0x13f)),i=require('@univerjs/core/facade');var o=(_0x5662a1=>(_0x5662a1[_0x5662a1[_0x5382e0(0x14d)]=0x0]=_0x5382e0(0x14d),_0x5662a1[_0x5662a1['UNIVER_DOC']=0x1]=_0x5382e0(0x132),_0x5662a1[_0x5662a1[_0x5382e0(0x133)]=0x2]='UNIVER_SHEET',_0x5662a1[_0x5662a1[_0x5382e0(0x12d)]=0x3]=_0x5382e0(0x12d),_0x5662a1[_0x5662a1['UNIVER_PROJECT']=0x4]=_0x5382e0(0x12a),_0x5662a1[_0x5662a1[_0x5382e0(0x14e)]=-0x1]=_0x5382e0(0x14e),_0x5662a1))(o||{});class c extends i[_0x5382e0(0x13e)]{async[_0x5382e0(0x134)](_0x4761e7){const _0x312754=_0x5382e0;return this[_0x312754(0x143)](_0x4761e7);}async['importXLSXToUnitIdAsync'](_0x485b4f){const _0x5a4f65=_0x5382e0,_0x294e99=this[_0x5a4f65(0x147)]['get'](r[_0x5a4f65(0x140)]);if(!_0x294e99)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x294e99['importFileToUnitId'](_0x485b4f,o[_0x5a4f65(0x133)]);}async['importXLSXToSnapshot'](_0x480320){const _0x794112=_0x5382e0;return this[_0x794112(0x13b)](_0x480320);}async['importXLSXToSnapshotAsync'](_0x1bf2de){const _0x1276fe=_0x5382e0,_0x2cac0c=this[_0x1276fe(0x147)][_0x1276fe(0x14a)](r[_0x1276fe(0x140)]);if(!_0x2cac0c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2cac0c[_0x1276fe(0x145)](_0x1bf2de);}async[_0x5382e0(0x130)](_0x462584){return this['exportXLSXByUnitIdAsync'](_0x462584);}async[_0x5382e0(0x148)](_0x41a1c0){const _0x5d1fec=_0x5382e0,_0x237d4e=this[_0x5d1fec(0x147)]['get'](r['IExchangeService']);if(!_0x237d4e)throw new Error(_0x5d1fec(0x138));return _0x237d4e[_0x5d1fec(0x130)](_0x41a1c0);}async[_0x5382e0(0x14b)](_0x1dc90d){const _0x55f08b=_0x5382e0;return this[_0x55f08b(0x12f)](_0x1dc90d);}async[_0x5382e0(0x12f)](_0x1cea5d){const _0x4413d4=_0x5382e0,_0x39a3a5=this[_0x4413d4(0x147)][_0x4413d4(0x14a)](r[_0x4413d4(0x140)]);if(!_0x39a3a5)throw new Error(_0x4413d4(0x138));return _0x39a3a5[_0x4413d4(0x14b)](_0x1cea5d);}async[_0x5382e0(0x14c)](_0x510f9e){const _0x18ea13=_0x5382e0;return this[_0x18ea13(0x135)](_0x510f9e);}async[_0x5382e0(0x135)](_0xb5a546){const _0xf6880a=_0x5382e0,_0x44ecb3=this[_0xf6880a(0x147)][_0xf6880a(0x14a)](r[_0xf6880a(0x140)]);if(!_0x44ecb3)throw new Error(_0xf6880a(0x138));return _0x44ecb3[_0xf6880a(0x12c)](_0xb5a546,o['UNIVER_DOC']);}async[_0x5382e0(0x13a)](_0x544faa){const _0x2f36db=_0x5382e0;return this[_0x2f36db(0x129)](_0x544faa);}async[_0x5382e0(0x129)](_0x515a28){const _0x327e96=_0x5382e0,_0x594afd=this[_0x327e96(0x147)][_0x327e96(0x14a)](r[_0x327e96(0x140)]);if(!_0x594afd)throw new Error(_0x327e96(0x138));return _0x594afd[_0x327e96(0x13a)](_0x515a28);}}i[_0x5382e0(0x13e)][_0x5382e0(0x136)](c);