@univerjs-pro/exchange-client 0.6.10-experimental.20250411-055c47d → 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 _0xcda7a3=_0x481c;function _0x481c(_0x32c5f2,_0x29f65a){const _0x30ef70=_0x30ef();return _0x481c=function(_0x481c98,_0x53015e){_0x481c98=_0x481c98-0x1e5;let _0x40e57c=_0x30ef70[_0x481c98];return _0x40e57c;},_0x481c(_0x32c5f2,_0x29f65a);}(function(_0x164684,_0x460827){const _0x43cf79=_0x481c,_0x5b99dc=_0x164684();while(!![]){try{const _0x1bfa97=-parseInt(_0x43cf79(0x1f5))/0x1+-parseInt(_0x43cf79(0x1f7))/0x2*(parseInt(_0x43cf79(0x1ff))/0x3)+-parseInt(_0x43cf79(0x209))/0x4*(parseInt(_0x43cf79(0x1e9))/0x5)+parseInt(_0x43cf79(0x1e8))/0x6*(parseInt(_0x43cf79(0x1f6))/0x7)+parseInt(_0x43cf79(0x203))/0x8*(parseInt(_0x43cf79(0x1ef))/0x9)+parseInt(_0x43cf79(0x1fd))/0xa*(-parseInt(_0x43cf79(0x1fe))/0xb)+parseInt(_0x43cf79(0x200))/0xc;if(_0x1bfa97===_0x460827)break;else _0x5b99dc['push'](_0x5b99dc['shift']());}catch(_0x257f74){_0x5b99dc['push'](_0x5b99dc['shift']());}}}(_0x30ef,0x92246));const r=require('@univerjs-pro/exchange-client'),i=require(_0xcda7a3(0x1ed));var o=(_0x312714=>(_0x312714[_0x312714[_0xcda7a3(0x1fb)]=0x0]=_0xcda7a3(0x1fb),_0x312714[_0x312714['UNIVER_DOC']=0x1]=_0xcda7a3(0x1e6),_0x312714[_0x312714[_0xcda7a3(0x1eb)]=0x2]=_0xcda7a3(0x1eb),_0x312714[_0x312714[_0xcda7a3(0x1ee)]=0x3]='UNIVER_SLIDE',_0x312714[_0x312714[_0xcda7a3(0x1ea)]=0x4]=_0xcda7a3(0x1ea),_0x312714[_0x312714['UNRECOGNIZED']=-0x1]=_0xcda7a3(0x1f3),_0x312714))(o||{});function _0x30ef(){const _0x428b43=['375020sFTYKT','exportXLSXByUnitId','UNIVER_DOC','importDOCXToUnitId','72thALQW','55ittcii','UNIVER_PROJECT','UNIVER_SHEET','exportXLSXByUnitIdAsync','@univerjs/core/facade','UNIVER_SLIDE','477KeXAkj','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','UNRECOGNIZED','extend','34214CSTgVU','635068AqAKVd','4EsPmaG','importFileToUnitId','IExchangeService','importXLSXToSnapshot','UNIVER_UNKNOWN','exportXLSXBySnapshot','7070RiNnCS','17985nECfBA','1759578omVitu','30121908ImYqsr','importDOCXToSnapshot','_injector','59512zvYBIN','exportXLSXBySnapshotAsync','FUniver','importDOCXToSnapshotAsync','get','importDOCXToUnitIdAsync'];_0x30ef=function(){return _0x428b43;};return _0x30ef();}class c extends i[_0xcda7a3(0x205)]{async['importXLSXToUnitId'](_0x849150){const _0x16eef1=_0xcda7a3;return this[_0x16eef1(0x1f1)](_0x849150);}async[_0xcda7a3(0x1f1)](_0x2b600e){const _0x5513ac=_0xcda7a3,_0x110a84=this['_injector'][_0x5513ac(0x207)](r[_0x5513ac(0x1f9)]);if(!_0x110a84)throw new Error(_0x5513ac(0x1f0));return _0x110a84['importFileToUnitId'](_0x2b600e,o[_0x5513ac(0x1eb)]);}async[_0xcda7a3(0x1fa)](_0x1a3906){const _0x287778=_0xcda7a3;return this[_0x287778(0x1f2)](_0x1a3906);}async['importXLSXToSnapshotAsync'](_0x11981d){const _0x57bf0a=_0xcda7a3,_0x5081e4=this[_0x57bf0a(0x202)][_0x57bf0a(0x207)](r[_0x57bf0a(0x1f9)]);if(!_0x5081e4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5081e4['importXLSXToSnapshot'](_0x11981d);}async[_0xcda7a3(0x1e5)](_0x245111){const _0x67ded8=_0xcda7a3;return this[_0x67ded8(0x1ec)](_0x245111);}async['exportXLSXByUnitIdAsync'](_0x4c86a5){const _0x50f7d8=_0xcda7a3,_0x280323=this[_0x50f7d8(0x202)][_0x50f7d8(0x207)](r[_0x50f7d8(0x1f9)]);if(!_0x280323)throw new Error(_0x50f7d8(0x1f0));return _0x280323[_0x50f7d8(0x1e5)](_0x4c86a5);}async[_0xcda7a3(0x1fc)](_0x14d419){const _0x20a6e3=_0xcda7a3;return this[_0x20a6e3(0x204)](_0x14d419);}async['exportXLSXBySnapshotAsync'](_0x258808){const _0x38c5bf=_0xcda7a3,_0x4e9921=this[_0x38c5bf(0x202)][_0x38c5bf(0x207)](r[_0x38c5bf(0x1f9)]);if(!_0x4e9921)throw new Error(_0x38c5bf(0x1f0));return _0x4e9921[_0x38c5bf(0x1fc)](_0x258808);}async[_0xcda7a3(0x1e7)](_0x4fc339){const _0x50abff=_0xcda7a3;return this[_0x50abff(0x208)](_0x4fc339);}async[_0xcda7a3(0x208)](_0x321882){const _0x133906=_0xcda7a3,_0x4ef355=this[_0x133906(0x202)]['get'](r['IExchangeService']);if(!_0x4ef355)throw new Error(_0x133906(0x1f0));return _0x4ef355[_0x133906(0x1f8)](_0x321882,o[_0x133906(0x1e6)]);}async[_0xcda7a3(0x201)](_0x466f92){const _0x2dba7a=_0xcda7a3;return this[_0x2dba7a(0x206)](_0x466f92);}async[_0xcda7a3(0x206)](_0x59e626){const _0xc8941c=_0xcda7a3,_0x2e6422=this['_injector'][_0xc8941c(0x207)](r['IExchangeService']);if(!_0x2e6422)throw new Error(_0xc8941c(0x1f0));return _0x2e6422[_0xc8941c(0x201)](_0x59e626);}}i['FUniver'][_0xcda7a3(0x1f4)](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);