@univerjs-pro/exchange-client 0.6.10-experimental.20250411-f5b7b16 → 0.6.10-experimental.20250418-8830bd4

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 _0x4dd5c6=_0x5205;(function(_0xdd4056,_0x29d1cc){const _0x39f0de=_0x5205,_0x1244a8=_0xdd4056();while(!![]){try{const _0x6dc387=parseInt(_0x39f0de(0x19a))/0x1*(-parseInt(_0x39f0de(0x198))/0x2)+parseInt(_0x39f0de(0x18c))/0x3+parseInt(_0x39f0de(0x18f))/0x4*(-parseInt(_0x39f0de(0x1a2))/0x5)+-parseInt(_0x39f0de(0x1a3))/0x6+-parseInt(_0x39f0de(0x18e))/0x7+parseInt(_0x39f0de(0x187))/0x8+-parseInt(_0x39f0de(0x1a4))/0x9*(-parseInt(_0x39f0de(0x1a1))/0xa);if(_0x6dc387===_0x29d1cc)break;else _0x1244a8['push'](_0x1244a8['shift']());}catch(_0x45a3b4){_0x1244a8['push'](_0x1244a8['shift']());}}}(_0x4a59,0x189ab));const r=require(_0x4dd5c6(0x19f)),i=require('@univerjs/core/facade');var o=(_0x244db8=>(_0x244db8[_0x244db8[_0x4dd5c6(0x195)]=0x0]=_0x4dd5c6(0x195),_0x244db8[_0x244db8[_0x4dd5c6(0x194)]=0x1]=_0x4dd5c6(0x194),_0x244db8[_0x244db8[_0x4dd5c6(0x1a0)]=0x2]=_0x4dd5c6(0x1a0),_0x244db8[_0x244db8['UNIVER_SLIDE']=0x3]=_0x4dd5c6(0x196),_0x244db8[_0x244db8[_0x4dd5c6(0x185)]=0x4]=_0x4dd5c6(0x185),_0x244db8[_0x244db8[_0x4dd5c6(0x18d)]=-0x1]=_0x4dd5c6(0x18d),_0x244db8))(o||{});function _0x5205(_0x14d7b2,_0xa614a4){const _0x4a59af=_0x4a59();return _0x5205=function(_0x52050b,_0xeeda5d){_0x52050b=_0x52050b-0x184;let _0x5b6f72=_0x4a59af[_0x52050b];return _0x5b6f72;},_0x5205(_0x14d7b2,_0xa614a4);}class c extends i[_0x4dd5c6(0x184)]{async[_0x4dd5c6(0x18b)](_0x58b8bb){const _0x10e4a8=_0x4dd5c6;return this[_0x10e4a8(0x19e)](_0x58b8bb);}async[_0x4dd5c6(0x19e)](_0x4f840b){const _0x4f5f28=_0x4dd5c6,_0xaa80b0=this[_0x4f5f28(0x19d)]['get'](r['IExchangeService']);if(!_0xaa80b0)throw new Error(_0x4f5f28(0x19c));return _0xaa80b0[_0x4f5f28(0x191)](_0x4f840b,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x1232dd){return this['importXLSXToSnapshotAsync'](_0x1232dd);}async[_0x4dd5c6(0x190)](_0x479f6f){const _0x57d3f5=_0x4dd5c6,_0x5d69e0=this[_0x57d3f5(0x19d)][_0x57d3f5(0x186)](r['IExchangeService']);if(!_0x5d69e0)throw new Error(_0x57d3f5(0x19c));return _0x5d69e0[_0x57d3f5(0x193)](_0x479f6f);}async[_0x4dd5c6(0x1a5)](_0x112d37){const _0x45f18d=_0x4dd5c6;return this[_0x45f18d(0x19b)](_0x112d37);}async[_0x4dd5c6(0x19b)](_0xcc19cd){const _0x362713=_0x4dd5c6,_0x2e6761=this['_injector'][_0x362713(0x186)](r['IExchangeService']);if(!_0x2e6761)throw new Error(_0x362713(0x19c));return _0x2e6761[_0x362713(0x1a5)](_0xcc19cd);}async['exportXLSXBySnapshot'](_0x4c2735){return this['exportXLSXBySnapshotAsync'](_0x4c2735);}async[_0x4dd5c6(0x188)](_0x14143b){const _0xf83eaa=_0x4dd5c6,_0x1d81b1=this[_0xf83eaa(0x19d)][_0xf83eaa(0x186)](r[_0xf83eaa(0x189)]);if(!_0x1d81b1)throw new Error(_0xf83eaa(0x19c));return _0x1d81b1[_0xf83eaa(0x18a)](_0x14143b);}async['importDOCXToUnitId'](_0x4f30cd){const _0x14c225=_0x4dd5c6;return this[_0x14c225(0x199)](_0x4f30cd);}async['importDOCXToUnitIdAsync'](_0x41112a){const _0x2689e=_0x4dd5c6,_0x51bce6=this[_0x2689e(0x19d)]['get'](r['IExchangeService']);if(!_0x51bce6)throw new Error(_0x2689e(0x19c));return _0x51bce6[_0x2689e(0x191)](_0x41112a,o['UNIVER_DOC']);}async[_0x4dd5c6(0x192)](_0x4822a6){const _0x291a28=_0x4dd5c6;return this[_0x291a28(0x197)](_0x4822a6);}async[_0x4dd5c6(0x197)](_0x45933b){const _0x54329c=_0x4dd5c6,_0x45bda1=this[_0x54329c(0x19d)]['get'](r['IExchangeService']);if(!_0x45bda1)throw new Error(_0x54329c(0x19c));return _0x45bda1[_0x54329c(0x192)](_0x45933b);}}function _0x4a59(){const _0xd4c272=['importXLSXToSnapshot','UNIVER_DOC','UNIVER_UNKNOWN','UNIVER_SLIDE','importDOCXToSnapshotAsync','3934zAsUuw','importDOCXToUnitIdAsync','8MzrRyc','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','_injector','importXLSXToUnitIdAsync','@univerjs-pro/exchange-client','UNIVER_SHEET','43030bgvYbF','935290uZMFjo','93120jmtkAs','423OzJxhO','exportXLSXByUnitId','FUniver','UNIVER_PROJECT','get','892240XZiaxt','exportXLSXBySnapshotAsync','IExchangeService','exportXLSXBySnapshot','importXLSXToUnitId','254088ToJZHD','UNRECOGNIZED','555618sNTISF','4KeedJY','importXLSXToSnapshotAsync','importFileToUnitId','importDOCXToSnapshot'];_0x4a59=function(){return _0xd4c272;};return _0x4a59();}i[_0x4dd5c6(0x184)]['extend'](c);
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);