@univerjs-pro/exchange-client 0.6.7-experimental.20250331-aa3ee78 → 0.6.7-experimental.20250331-d1f1879

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 _0x56887d=_0x76b6;(function(_0x54b2c0,_0x42a26b){const _0x448b90=_0x76b6,_0x52c93e=_0x54b2c0();while(!![]){try{const _0x35dd99=-parseInt(_0x448b90(0x1b4))/0x1+parseInt(_0x448b90(0x1af))/0x2+-parseInt(_0x448b90(0x1bd))/0x3+-parseInt(_0x448b90(0x1bb))/0x4*(parseInt(_0x448b90(0x1ae))/0x5)+-parseInt(_0x448b90(0x1a8))/0x6+parseInt(_0x448b90(0x1b0))/0x7+-parseInt(_0x448b90(0x1ab))/0x8*(-parseInt(_0x448b90(0x1bc))/0x9);if(_0x35dd99===_0x42a26b)break;else _0x52c93e['push'](_0x52c93e['shift']());}catch(_0x40f1ed){_0x52c93e['push'](_0x52c93e['shift']());}}}(_0x4bb1,0xdff9c));const r=require(_0x56887d(0x1c3)),i=require(_0x56887d(0x1b3));function _0x4bb1(){const _0x2cdc62=['30901644wUCBcv','3361002CKbONR','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','extend','IExchangeService','@univerjs-pro/exchange-client','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN','importDOCXToSnapshotAsync','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','UNIVER_PROJECT','FUniver','4460112NMxaSH','importXLSXToUnitId','_injector','8gkyZLF','importDOCXToSnapshot','importXLSXToSnapshot','1931970yTMGEk','280312IRxLcs','433104hnZwFo','importDOCXToUnitIdAsync','UNIVER_DOC','@univerjs/core/facade','468060brmfUL','importFileToUnitId','get','exportXLSXBySnapshot','UNIVER_SHEET','importDOCXToUnitId','UNRECOGNIZED','4XhYTRW'];_0x4bb1=function(){return _0x2cdc62;};return _0x4bb1();}function _0x76b6(_0x192d99,_0x1a28ee){const _0x4bb1c2=_0x4bb1();return _0x76b6=function(_0x76b65d,_0x4ab94d){_0x76b65d=_0x76b65d-0x1a4;let _0x42afa7=_0x4bb1c2[_0x76b65d];return _0x42afa7;},_0x76b6(_0x192d99,_0x1a28ee);}var o=(_0x2a944b=>(_0x2a944b[_0x2a944b[_0x56887d(0x1c5)]=0x0]=_0x56887d(0x1c5),_0x2a944b[_0x2a944b[_0x56887d(0x1b2)]=0x1]=_0x56887d(0x1b2),_0x2a944b[_0x2a944b[_0x56887d(0x1b8)]=0x2]=_0x56887d(0x1b8),_0x2a944b[_0x2a944b[_0x56887d(0x1c0)]=0x3]=_0x56887d(0x1c0),_0x2a944b[_0x2a944b[_0x56887d(0x1a6)]=0x4]=_0x56887d(0x1a6),_0x2a944b[_0x2a944b[_0x56887d(0x1ba)]=-0x1]='UNRECOGNIZED',_0x2a944b))(o||{});class c extends i[_0x56887d(0x1a7)]{async[_0x56887d(0x1a9)](_0x1b0337){return this['importXLSXToUnitIdAsync'](_0x1b0337);}async['importXLSXToUnitIdAsync'](_0x34914f){const _0x50396b=_0x56887d,_0x45350a=this['_injector'][_0x50396b(0x1b6)](r[_0x50396b(0x1c2)]);if(!_0x45350a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x45350a[_0x50396b(0x1b5)](_0x34914f,o[_0x50396b(0x1b8)]);}async[_0x56887d(0x1ad)](_0x1cbb91){const _0x200eab=_0x56887d;return this[_0x200eab(0x1a5)](_0x1cbb91);}async['importXLSXToSnapshotAsync'](_0x5688d3){const _0x1d5fe7=_0x56887d,_0x3686f9=this[_0x1d5fe7(0x1aa)][_0x1d5fe7(0x1b6)](r['IExchangeService']);if(!_0x3686f9)throw new Error(_0x1d5fe7(0x1bf));return _0x3686f9[_0x1d5fe7(0x1ad)](_0x5688d3);}async['exportXLSXByUnitId'](_0x5967e5){const _0x562066=_0x56887d;return this[_0x562066(0x1a4)](_0x5967e5);}async[_0x56887d(0x1a4)](_0x45e193){const _0x170209=_0x56887d,_0x2daa46=this[_0x170209(0x1aa)][_0x170209(0x1b6)](r[_0x170209(0x1c2)]);if(!_0x2daa46)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2daa46[_0x170209(0x1be)](_0x45e193);}async['exportXLSXBySnapshot'](_0x15cfa7){return this['exportXLSXBySnapshotAsync'](_0x15cfa7);}async[_0x56887d(0x1c4)](_0x25e7ad){const _0xab7b77=_0x56887d,_0x45cbb8=this['_injector'][_0xab7b77(0x1b6)](r[_0xab7b77(0x1c2)]);if(!_0x45cbb8)throw new Error(_0xab7b77(0x1bf));return _0x45cbb8[_0xab7b77(0x1b7)](_0x25e7ad);}async[_0x56887d(0x1b9)](_0x5c667e){return this['importDOCXToUnitIdAsync'](_0x5c667e);}async[_0x56887d(0x1b1)](_0x514576){const _0x1c77ec=_0x56887d,_0x4889a9=this[_0x1c77ec(0x1aa)][_0x1c77ec(0x1b6)](r[_0x1c77ec(0x1c2)]);if(!_0x4889a9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4889a9[_0x1c77ec(0x1b5)](_0x514576,o[_0x1c77ec(0x1b2)]);}async['importDOCXToSnapshot'](_0x34f882){const _0x3c0b3c=_0x56887d;return this[_0x3c0b3c(0x1c6)](_0x34f882);}async['importDOCXToSnapshotAsync'](_0x20e24f){const _0x522481=_0x56887d,_0x1102a3=this[_0x522481(0x1aa)][_0x522481(0x1b6)](r[_0x522481(0x1c2)]);if(!_0x1102a3)throw new Error(_0x522481(0x1bf));return _0x1102a3[_0x522481(0x1ac)](_0x20e24f);}}i[_0x56887d(0x1a7)][_0x56887d(0x1c1)](c);
1
+ 'use strict';const _0xb6d2d7=_0x14c5;(function(_0x4d38d0,_0x36ebfd){const _0xda371a=_0x14c5,_0x445fe4=_0x4d38d0();while(!![]){try{const _0x3ad730=-parseInt(_0xda371a(0x199))/0x1+-parseInt(_0xda371a(0x1a2))/0x2*(parseInt(_0xda371a(0x1a5))/0x3)+-parseInt(_0xda371a(0x19a))/0x4*(parseInt(_0xda371a(0x1a4))/0x5)+-parseInt(_0xda371a(0x18a))/0x6*(parseInt(_0xda371a(0x191))/0x7)+parseInt(_0xda371a(0x185))/0x8+-parseInt(_0xda371a(0x1a0))/0x9*(-parseInt(_0xda371a(0x1a7))/0xa)+parseInt(_0xda371a(0x189))/0xb;if(_0x3ad730===_0x36ebfd)break;else _0x445fe4['push'](_0x445fe4['shift']());}catch(_0x55ee55){_0x445fe4['push'](_0x445fe4['shift']());}}}(_0x9c30,0x653b1));function _0x14c5(_0x277d37,_0x5d466b){const _0x9c307a=_0x9c30();return _0x14c5=function(_0x14c588,_0x2e6e8c){_0x14c588=_0x14c588-0x185;let _0x5e64c5=_0x9c307a[_0x14c588];return _0x5e64c5;},_0x14c5(_0x277d37,_0x5d466b);}const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core/facade');function _0x9c30(){const _0x51e184=['3782120cOrqlu','_injector','exportXLSXByUnitId','importDOCXToSnapshot','21317285ttzmfw','2091792WifmPp','importXLSXToUnitIdAsync','importXLSXToSnapshot','UNIVER_SHEET','importDOCXToUnitId','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','7wrjXfI','importDOCXToUnitIdAsync','UNIVER_DOC','UNIVER_SLIDE','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','IExchangeService','importXLSXToUnitId','586348uYsOeh','174988BGNQrA','UNIVER_PROJECT','get','exportXLSXByUnitIdAsync','FUniver','importFileToUnitId','45ytLghH','exportXLSXBySnapshotAsync','4vsSZRW','UNRECOGNIZED','85qYJvBv','753525iivwPC','exportXLSXBySnapshot','369940fOLpeH'];_0x9c30=function(){return _0x51e184;};return _0x9c30();}var o=(_0x2cfd7b=>(_0x2cfd7b[_0x2cfd7b[_0xb6d2d7(0x196)]=0x0]='UNIVER_UNKNOWN',_0x2cfd7b[_0x2cfd7b[_0xb6d2d7(0x193)]=0x1]=_0xb6d2d7(0x193),_0x2cfd7b[_0x2cfd7b[_0xb6d2d7(0x18d)]=0x2]=_0xb6d2d7(0x18d),_0x2cfd7b[_0x2cfd7b['UNIVER_SLIDE']=0x3]=_0xb6d2d7(0x194),_0x2cfd7b[_0x2cfd7b[_0xb6d2d7(0x19b)]=0x4]=_0xb6d2d7(0x19b),_0x2cfd7b[_0x2cfd7b['UNRECOGNIZED']=-0x1]=_0xb6d2d7(0x1a3),_0x2cfd7b))(o||{});class c extends i[_0xb6d2d7(0x19e)]{async[_0xb6d2d7(0x198)](_0x133343){return this['importXLSXToUnitIdAsync'](_0x133343);}async[_0xb6d2d7(0x18b)](_0x55a0ea){const _0x50f0b6=_0xb6d2d7,_0x4cc8cc=this['_injector'][_0x50f0b6(0x19c)](r[_0x50f0b6(0x197)]);if(!_0x4cc8cc)throw new Error(_0x50f0b6(0x195));return _0x4cc8cc['importFileToUnitId'](_0x55a0ea,o[_0x50f0b6(0x18d)]);}async[_0xb6d2d7(0x18c)](_0x1cedfe){const _0x5f3f17=_0xb6d2d7;return this[_0x5f3f17(0x190)](_0x1cedfe);}async[_0xb6d2d7(0x190)](_0x22b78b){const _0x3c8a43=_0xb6d2d7,_0x2d74dc=this[_0x3c8a43(0x186)][_0x3c8a43(0x19c)](r[_0x3c8a43(0x197)]);if(!_0x2d74dc)throw new Error(_0x3c8a43(0x195));return _0x2d74dc[_0x3c8a43(0x18c)](_0x22b78b);}async['exportXLSXByUnitId'](_0x54a201){const _0x5e95f5=_0xb6d2d7;return this[_0x5e95f5(0x19d)](_0x54a201);}async[_0xb6d2d7(0x19d)](_0xe6bb1c){const _0x101f9f=_0xb6d2d7,_0x3b29b0=this[_0x101f9f(0x186)][_0x101f9f(0x19c)](r[_0x101f9f(0x197)]);if(!_0x3b29b0)throw new Error(_0x101f9f(0x195));return _0x3b29b0[_0x101f9f(0x187)](_0xe6bb1c);}async['exportXLSXBySnapshot'](_0x273c43){const _0xaf767e=_0xb6d2d7;return this[_0xaf767e(0x1a1)](_0x273c43);}async[_0xb6d2d7(0x1a1)](_0x274f66){const _0x1b0224=_0xb6d2d7,_0x500619=this[_0x1b0224(0x186)][_0x1b0224(0x19c)](r['IExchangeService']);if(!_0x500619)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x500619[_0x1b0224(0x1a6)](_0x274f66);}async[_0xb6d2d7(0x18e)](_0x5e1476){const _0x4d4fb7=_0xb6d2d7;return this[_0x4d4fb7(0x192)](_0x5e1476);}async[_0xb6d2d7(0x192)](_0x401619){const _0x421316=_0xb6d2d7,_0x161521=this[_0x421316(0x186)][_0x421316(0x19c)](r[_0x421316(0x197)]);if(!_0x161521)throw new Error(_0x421316(0x195));return _0x161521[_0x421316(0x19f)](_0x401619,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x4c6e67){const _0x2f4ee1=_0xb6d2d7;return this[_0x2f4ee1(0x18f)](_0x4c6e67);}async['importDOCXToSnapshotAsync'](_0x21a4a6){const _0x38c41d=_0xb6d2d7,_0x148fe1=this['_injector'][_0x38c41d(0x19c)](r[_0x38c41d(0x197)]);if(!_0x148fe1)throw new Error(_0x38c41d(0x195));return _0x148fe1[_0x38c41d(0x188)](_0x21a4a6);}}i[_0xb6d2d7(0x19e)]['extend'](c);