@univerjs-pro/exchange-client 0.6.7-experimental.20250402-1f9acb8 → 0.6.7-experimental.20250402-cbaeae1

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';function _0x204a(_0x432190,_0x43877c){const _0x234b04=_0x234b();return _0x204a=function(_0x204a40,_0x5beb60){_0x204a40=_0x204a40-0x189;let _0x2b9949=_0x234b04[_0x204a40];return _0x2b9949;},_0x204a(_0x432190,_0x43877c);}const _0x245962=_0x204a;(function(_0x4f8a36,_0x3e0d0f){const _0x50064b=_0x204a,_0x1902ba=_0x4f8a36();while(!![]){try{const _0x16d673=parseInt(_0x50064b(0x19c))/0x1*(parseInt(_0x50064b(0x189))/0x2)+-parseInt(_0x50064b(0x18c))/0x3+parseInt(_0x50064b(0x18e))/0x4+parseInt(_0x50064b(0x197))/0x5*(-parseInt(_0x50064b(0x19a))/0x6)+-parseInt(_0x50064b(0x19b))/0x7+parseInt(_0x50064b(0x193))/0x8+parseInt(_0x50064b(0x1a0))/0x9*(parseInt(_0x50064b(0x18a))/0xa);if(_0x16d673===_0x3e0d0f)break;else _0x1902ba['push'](_0x1902ba['shift']());}catch(_0x317301){_0x1902ba['push'](_0x1902ba['shift']());}}}(_0x234b,0x2ec19));function _0x234b(){const _0x271c3e=['importXLSXToSnapshot','importDOCXToUnitIdAsync','UNIVER_SLIDE','importDOCXToSnapshotAsync','extend','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','1164azLPLh','40UpDILN','FUniver','220143UNPZoA','_injector','724732hQNsai','importFileToUnitId','exportXLSXByUnitIdAsync','exportXLSXBySnapshot','UNRECOGNIZED','2741144qJAGFm','importXLSXToSnapshotAsync','IExchangeService','importXLSXToUnitId','20pXURbt','UNIVER_SHEET','get','528204YqJTxu','2177770UHLfDv','185jKsElW','@univerjs/core/facade','UNIVER_UNKNOWN','exportXLSXByUnitId','667449EFKNSO','UNIVER_DOC'];_0x234b=function(){return _0x271c3e;};return _0x234b();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x245962(0x19d));var o=(_0x5f446c=>(_0x5f446c[_0x5f446c['UNIVER_UNKNOWN']=0x0]=_0x245962(0x19e),_0x5f446c[_0x5f446c['UNIVER_DOC']=0x1]=_0x245962(0x1a1),_0x5f446c[_0x5f446c[_0x245962(0x198)]=0x2]='UNIVER_SHEET',_0x5f446c[_0x5f446c[_0x245962(0x1a4)]=0x3]=_0x245962(0x1a4),_0x5f446c[_0x5f446c['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x5f446c[_0x5f446c[_0x245962(0x192)]=-0x1]=_0x245962(0x192),_0x5f446c))(o||{});class c extends i[_0x245962(0x18b)]{async[_0x245962(0x196)](_0x2dd6a5){const _0x2ee211=_0x245962;return this[_0x2ee211(0x1a8)](_0x2dd6a5);}async[_0x245962(0x1a8)](_0x158133){const _0x842a48=_0x245962,_0x15ff6f=this[_0x842a48(0x18d)][_0x842a48(0x199)](r[_0x842a48(0x195)]);if(!_0x15ff6f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x15ff6f[_0x842a48(0x18f)](_0x158133,o[_0x842a48(0x198)]);}async['importXLSXToSnapshot'](_0xa39d49){return this['importXLSXToSnapshotAsync'](_0xa39d49);}async[_0x245962(0x194)](_0x371067){const _0x28043d=_0x245962,_0x524493=this[_0x28043d(0x18d)][_0x28043d(0x199)](r[_0x28043d(0x195)]);if(!_0x524493)throw new Error(_0x28043d(0x1a7));return _0x524493[_0x28043d(0x1a2)](_0x371067);}async[_0x245962(0x19f)](_0x2f4110){const _0x3382ed=_0x245962;return this[_0x3382ed(0x190)](_0x2f4110);}async[_0x245962(0x190)](_0x3d8667){const _0x9ac7ef=_0x245962,_0x8cc890=this['_injector'][_0x9ac7ef(0x199)](r['IExchangeService']);if(!_0x8cc890)throw new Error(_0x9ac7ef(0x1a7));return _0x8cc890[_0x9ac7ef(0x19f)](_0x3d8667);}async[_0x245962(0x191)](_0x19b409){const _0x5ad202=_0x245962;return this[_0x5ad202(0x1a9)](_0x19b409);}async[_0x245962(0x1a9)](_0x5624cd){const _0x3e93ee=_0x245962,_0x483680=this[_0x3e93ee(0x18d)][_0x3e93ee(0x199)](r[_0x3e93ee(0x195)]);if(!_0x483680)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x483680['exportXLSXBySnapshot'](_0x5624cd);}async['importDOCXToUnitId'](_0x753240){const _0x2db801=_0x245962;return this[_0x2db801(0x1a3)](_0x753240);}async['importDOCXToUnitIdAsync'](_0x39db3b){const _0x32ae4d=_0x245962,_0x48d474=this['_injector'][_0x32ae4d(0x199)](r[_0x32ae4d(0x195)]);if(!_0x48d474)throw new Error(_0x32ae4d(0x1a7));return _0x48d474['importFileToUnitId'](_0x39db3b,o[_0x32ae4d(0x1a1)]);}async['importDOCXToSnapshot'](_0x3d614b){const _0x3182fb=_0x245962;return this[_0x3182fb(0x1a5)](_0x3d614b);}async['importDOCXToSnapshotAsync'](_0x3e61e7){const _0x5ddf03=_0x245962,_0x1656a1=this[_0x5ddf03(0x18d)][_0x5ddf03(0x199)](r[_0x5ddf03(0x195)]);if(!_0x1656a1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1656a1['importDOCXToSnapshot'](_0x3e61e7);}}i['FUniver'][_0x245962(0x1a6)](c);
1
+ 'use strict';function _0x44ec(){const _0x2a3322=['IExchangeService','4072Kkwdkv','get','@univerjs-pro/exchange-client','exportXLSXBySnapshotAsync','@univerjs/core/facade','exportXLSXBySnapshot','importDOCXToSnapshot','3846250ggaPyn','importXLSXToSnapshotAsync','extend','exportXLSXByUnitIdAsync','_injector','1809876yrihSU','importDOCXToUnitIdAsync','145222cNbwHi','UNIVER_PROJECT','importFileToUnitId','72owQBGQ','UNIVER_DOC','2758288aFrbct','1295tIVqPb','1652JYFQBk','importDOCXToUnitId','importXLSXToSnapshot','FUniver','4126896gqpwBo','UNIVER_SHEET','importXLSXToUnitIdAsync','UNIVER_SLIDE','importXLSXToUnitId','UNIVER_UNKNOWN','6342nuyJDa','importDOCXToSnapshotAsync','UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available'];_0x44ec=function(){return _0x2a3322;};return _0x44ec();}const _0x353966=_0xf7ca;(function(_0x5518f4,_0x33f6b1){const _0x31d82f=_0xf7ca,_0x1f0aa3=_0x5518f4();while(!![]){try{const _0x2c6e77=-parseInt(_0x31d82f(0x13d))/0x1+-parseInt(_0x31d82f(0x142))/0x2+-parseInt(_0x31d82f(0x148))/0x3+parseInt(_0x31d82f(0x13b))/0x4+-parseInt(_0x31d82f(0x143))/0x5*(-parseInt(_0x31d82f(0x14e))/0x6)+parseInt(_0x31d82f(0x144))/0x7*(-parseInt(_0x31d82f(0x12f))/0x8)+parseInt(_0x31d82f(0x140))/0x9*(parseInt(_0x31d82f(0x136))/0xa);if(_0x2c6e77===_0x33f6b1)break;else _0x1f0aa3['push'](_0x1f0aa3['shift']());}catch(_0x49c93e){_0x1f0aa3['push'](_0x1f0aa3['shift']());}}}(_0x44ec,0xbf306));function _0xf7ca(_0x45206b,_0x29e889){const _0x44ecab=_0x44ec();return _0xf7ca=function(_0xf7ca25,_0x56a3b0){_0xf7ca25=_0xf7ca25-0x12c;let _0x28dd1d=_0x44ecab[_0xf7ca25];return _0x28dd1d;},_0xf7ca(_0x45206b,_0x29e889);}const r=require(_0x353966(0x131)),i=require(_0x353966(0x133));var o=(_0x570536=>(_0x570536[_0x570536[_0x353966(0x14d)]=0x0]=_0x353966(0x14d),_0x570536[_0x570536[_0x353966(0x141)]=0x1]=_0x353966(0x141),_0x570536[_0x570536[_0x353966(0x149)]=0x2]=_0x353966(0x149),_0x570536[_0x570536[_0x353966(0x14b)]=0x3]=_0x353966(0x14b),_0x570536[_0x570536[_0x353966(0x13e)]=0x4]=_0x353966(0x13e),_0x570536[_0x570536[_0x353966(0x12c)]=-0x1]=_0x353966(0x12c),_0x570536))(o||{});class c extends i[_0x353966(0x147)]{async[_0x353966(0x14c)](_0x253b95){return this['importXLSXToUnitIdAsync'](_0x253b95);}async[_0x353966(0x14a)](_0x58d29a){const _0xc18d66=_0x353966,_0x9548dd=this[_0xc18d66(0x13a)][_0xc18d66(0x130)](r['IExchangeService']);if(!_0x9548dd)throw new Error(_0xc18d66(0x12d));return _0x9548dd[_0xc18d66(0x13f)](_0x58d29a,o['UNIVER_SHEET']);}async[_0x353966(0x146)](_0x226363){const _0x1b51a0=_0x353966;return this[_0x1b51a0(0x137)](_0x226363);}async['importXLSXToSnapshotAsync'](_0x35a5f2){const _0x11d6ef=_0x353966,_0x14ad49=this[_0x11d6ef(0x13a)][_0x11d6ef(0x130)](r[_0x11d6ef(0x12e)]);if(!_0x14ad49)throw new Error(_0x11d6ef(0x12d));return _0x14ad49[_0x11d6ef(0x146)](_0x35a5f2);}async['exportXLSXByUnitId'](_0x31623f){const _0x5f95b3=_0x353966;return this[_0x5f95b3(0x139)](_0x31623f);}async[_0x353966(0x139)](_0x27da87){const _0x2fb29b=_0x353966,_0x22fba1=this[_0x2fb29b(0x13a)][_0x2fb29b(0x130)](r['IExchangeService']);if(!_0x22fba1)throw new Error(_0x2fb29b(0x12d));return _0x22fba1['exportXLSXByUnitId'](_0x27da87);}async[_0x353966(0x134)](_0x5d15be){const _0x85624f=_0x353966;return this[_0x85624f(0x132)](_0x5d15be);}async[_0x353966(0x132)](_0x5172fb){const _0x18dfe0=_0x353966,_0x4e9274=this[_0x18dfe0(0x13a)][_0x18dfe0(0x130)](r['IExchangeService']);if(!_0x4e9274)throw new Error(_0x18dfe0(0x12d));return _0x4e9274[_0x18dfe0(0x134)](_0x5172fb);}async[_0x353966(0x145)](_0x4cb4ad){return this['importDOCXToUnitIdAsync'](_0x4cb4ad);}async[_0x353966(0x13c)](_0x19c5a1){const _0x88f449=_0x353966,_0x47c83d=this[_0x88f449(0x13a)][_0x88f449(0x130)](r[_0x88f449(0x12e)]);if(!_0x47c83d)throw new Error(_0x88f449(0x12d));return _0x47c83d[_0x88f449(0x13f)](_0x19c5a1,o[_0x88f449(0x141)]);}async[_0x353966(0x135)](_0x53dc4){const _0x17be9a=_0x353966;return this[_0x17be9a(0x14f)](_0x53dc4);}async[_0x353966(0x14f)](_0x583878){const _0x42654e=_0x353966,_0x12deb9=this[_0x42654e(0x13a)][_0x42654e(0x130)](r['IExchangeService']);if(!_0x12deb9)throw new Error(_0x42654e(0x12d));return _0x12deb9[_0x42654e(0x135)](_0x583878);}}i['FUniver'][_0x353966(0x138)](c);