@univerjs-pro/exchange-client 0.7.0-nightly.202505131607 → 0.7.0

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 _0x261d(_0x3ef702,_0x55499c){const _0x25e71e=_0x25e7();return _0x261d=function(_0x261d4d,_0x50ffae){_0x261d4d=_0x261d4d-0x85;let _0x3ab9ca=_0x25e71e[_0x261d4d];return _0x3ab9ca;},_0x261d(_0x3ef702,_0x55499c);}const _0x32fb12=_0x261d;(function(_0x5ec9f6,_0x361d15){const _0x11c106=_0x261d,_0xee5f6=_0x5ec9f6();while(!![]){try{const _0x209478=-parseInt(_0x11c106(0x96))/0x1*(parseInt(_0x11c106(0x9c))/0x2)+parseInt(_0x11c106(0x9b))/0x3*(-parseInt(_0x11c106(0x8e))/0x4)+-parseInt(_0x11c106(0x92))/0x5+-parseInt(_0x11c106(0x8b))/0x6*(-parseInt(_0x11c106(0x9d))/0x7)+-parseInt(_0x11c106(0xa5))/0x8+-parseInt(_0x11c106(0x93))/0x9*(parseInt(_0x11c106(0x94))/0xa)+parseInt(_0x11c106(0xa1))/0xb*(parseInt(_0x11c106(0x9a))/0xc);if(_0x209478===_0x361d15)break;else _0xee5f6['push'](_0xee5f6['shift']());}catch(_0x126679){_0xee5f6['push'](_0xee5f6['shift']());}}}(_0x25e7,0x25989));const r=require(_0x32fb12(0xa4)),i=require(_0x32fb12(0x9f));var o=(_0x100abe=>(_0x100abe[_0x100abe[_0x32fb12(0xa0)]=0x0]='UNIVER_UNKNOWN',_0x100abe[_0x100abe[_0x32fb12(0x89)]=0x1]=_0x32fb12(0x89),_0x100abe[_0x100abe[_0x32fb12(0x8a)]=0x2]=_0x32fb12(0x8a),_0x100abe[_0x100abe[_0x32fb12(0x9e)]=0x3]=_0x32fb12(0x9e),_0x100abe[_0x100abe[_0x32fb12(0xa3)]=0x4]=_0x32fb12(0xa3),_0x100abe[_0x100abe[_0x32fb12(0xa9)]=-0x1]=_0x32fb12(0xa9),_0x100abe))(o||{});function _0x25e7(){const _0x3ce9de=['exportXLSXBySnapshotAsync','698050hyGpXS','18flIpAZ','1484410jxXsGD','importXLSXToSnapshot','21DWtOXj','exportXLSXByUnitId','importXLSXToUnitIdAsync','extend','108Gcwakh','21159sHeEyT','8746jigHYf','182749LngwFC','UNIVER_SLIDE','@univerjs/core/facade','UNIVER_UNKNOWN','923021iTTiJr','importXLSXToSnapshotAsync','UNIVER_PROJECT','@univerjs-pro/exchange-client','724544psYYwW','exportXLSXByUnitIdAsync','get','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED','importDOCXToSnapshotAsync','exportXLSXBySnapshot','IExchangeService','importDOCXToUnitId','_injector','importDOCXToUnitIdAsync','UNIVER_DOC','UNIVER_SHEET','30lWLxiw','importFileToUnitId','importDOCXToSnapshot','64LZofhk','FUniver','importXLSXToUnitId'];_0x25e7=function(){return _0x3ce9de;};return _0x25e7();}class c extends i[_0x32fb12(0x8f)]{async[_0x32fb12(0x90)](_0x5449c1){const _0x41a032=_0x32fb12;return this[_0x41a032(0x98)](_0x5449c1);}async[_0x32fb12(0x98)](_0x36b6c0){const _0x1b02b9=_0x32fb12,_0xec3fe4=this['_injector'][_0x1b02b9(0xa7)](r[_0x1b02b9(0x85)]);if(!_0xec3fe4)throw new Error(_0x1b02b9(0xa8));return _0xec3fe4[_0x1b02b9(0x8c)](_0x36b6c0,o[_0x1b02b9(0x8a)]);}async[_0x32fb12(0x95)](_0x419e0b){const _0x24b813=_0x32fb12;return this[_0x24b813(0xa2)](_0x419e0b);}async[_0x32fb12(0xa2)](_0x12756d){const _0x33b4fb=_0x32fb12,_0x2391e5=this[_0x33b4fb(0x87)]['get'](r['IExchangeService']);if(!_0x2391e5)throw new Error(_0x33b4fb(0xa8));return _0x2391e5[_0x33b4fb(0x95)](_0x12756d);}async[_0x32fb12(0x97)](_0x5518db){const _0x1d5e60=_0x32fb12;return this[_0x1d5e60(0xa6)](_0x5518db);}async[_0x32fb12(0xa6)](_0x4db86a){const _0x33a393=_0x32fb12,_0xf78e08=this[_0x33a393(0x87)]['get'](r[_0x33a393(0x85)]);if(!_0xf78e08)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xf78e08[_0x33a393(0x97)](_0x4db86a);}async[_0x32fb12(0xab)](_0x4ae969){const _0x32ff2b=_0x32fb12;return this[_0x32ff2b(0x91)](_0x4ae969);}async[_0x32fb12(0x91)](_0x402b34){const _0x46fac0=_0x32fb12,_0x1658e6=this[_0x46fac0(0x87)][_0x46fac0(0xa7)](r[_0x46fac0(0x85)]);if(!_0x1658e6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1658e6[_0x46fac0(0xab)](_0x402b34);}async[_0x32fb12(0x86)](_0x1f94f9){const _0x338620=_0x32fb12;return this[_0x338620(0x88)](_0x1f94f9);}async[_0x32fb12(0x88)](_0x3f6eba){const _0x15b71c=_0x32fb12,_0x2c002c=this[_0x15b71c(0x87)][_0x15b71c(0xa7)](r[_0x15b71c(0x85)]);if(!_0x2c002c)throw new Error(_0x15b71c(0xa8));return _0x2c002c[_0x15b71c(0x8c)](_0x3f6eba,o[_0x15b71c(0x89)]);}async[_0x32fb12(0x8d)](_0x352b34){const _0xd772b0=_0x32fb12;return this[_0xd772b0(0xaa)](_0x352b34);}async[_0x32fb12(0xaa)](_0x4e79f6){const _0x1c0494=_0x32fb12,_0x3802a4=this['_injector'][_0x1c0494(0xa7)](r[_0x1c0494(0x85)]);if(!_0x3802a4)throw new Error(_0x1c0494(0xa8));return _0x3802a4['importDOCXToSnapshot'](_0x4e79f6);}}i[_0x32fb12(0x8f)][_0x32fb12(0x99)](c);
1
+ 'use strict';const _0x2133a3=_0xfd28;(function(_0x5c4958,_0x1ea1f9){const _0x40623d=_0xfd28,_0x2c638c=_0x5c4958();while(!![]){try{const _0x8e09f3=-parseInt(_0x40623d(0xfe))/0x1+-parseInt(_0x40623d(0x106))/0x2*(parseInt(_0x40623d(0xf9))/0x3)+parseInt(_0x40623d(0x110))/0x4*(parseInt(_0x40623d(0x115))/0x5)+parseInt(_0x40623d(0xfc))/0x6+parseInt(_0x40623d(0x108))/0x7*(-parseInt(_0x40623d(0x10c))/0x8)+parseInt(_0x40623d(0x100))/0x9*(parseInt(_0x40623d(0x10a))/0xa)+parseInt(_0x40623d(0x105))/0xb*(parseInt(_0x40623d(0xfa))/0xc);if(_0x8e09f3===_0x1ea1f9)break;else _0x2c638c['push'](_0x2c638c['shift']());}catch(_0x1b5037){_0x2c638c['push'](_0x2c638c['shift']());}}}(_0x3b2c,0x94b08));const r=require('@univerjs-pro/exchange-client'),i=require(_0x2133a3(0x10b));function _0xfd28(_0x28ea5a,_0x2717db){const _0x3b2cc2=_0x3b2c();return _0xfd28=function(_0x41a229,_0x57cb3d){_0x41a229=_0x41a229-0xf6;let _0x453014=_0x3b2cc2[_0x41a229];return _0x453014;},_0xfd28(_0x28ea5a,_0x2717db);}function _0x3b2c(){const _0x2f1d75=['importFileToUnitId','IExchangeService','3OCXglK','18372XZSrup','UNIVER_DOC','528342Fkiman','UNRECOGNIZED','388237EdlhuY','FUniver','18vMLUNu','importXLSXToSnapshotAsync','exportXLSXBySnapshot','importXLSXToSnapshot','extend','4873KfZoVv','1811306hjLJcB','UNIVER_PROJECT','7QcEYzC','exportXLSXByUnitIdAsync','4635320jKyLcY','@univerjs/core/facade','5260648rmGHPZ','importDOCXToSnapshot','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','17972phyBoC','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','UNIVER_SLIDE','get','965QbgYIF','UNIVER_SHEET','_injector','importXLSXToUnitIdAsync'];_0x3b2c=function(){return _0x2f1d75;};return _0x3b2c();}var o=(_0x50eded=>(_0x50eded[_0x50eded[_0x2133a3(0x112)]=0x0]=_0x2133a3(0x112),_0x50eded[_0x50eded[_0x2133a3(0xfb)]=0x1]='UNIVER_DOC',_0x50eded[_0x50eded['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x50eded[_0x50eded[_0x2133a3(0x113)]=0x3]=_0x2133a3(0x113),_0x50eded[_0x50eded[_0x2133a3(0x107)]=0x4]=_0x2133a3(0x107),_0x50eded[_0x50eded[_0x2133a3(0xfd)]=-0x1]=_0x2133a3(0xfd),_0x50eded))(o||{});class c extends i[_0x2133a3(0xff)]{async['importXLSXToUnitId'](_0xcceb3d){return this['importXLSXToUnitIdAsync'](_0xcceb3d);}async[_0x2133a3(0xf6)](_0x43585a){const _0x2198db=_0x2133a3,_0x5a9a85=this[_0x2198db(0x117)][_0x2198db(0x114)](r[_0x2198db(0xf8)]);if(!_0x5a9a85)throw new Error(_0x2198db(0x111));return _0x5a9a85[_0x2198db(0xf7)](_0x43585a,o[_0x2198db(0x116)]);}async[_0x2133a3(0x103)](_0x186e5e){const _0x594914=_0x2133a3;return this[_0x594914(0x101)](_0x186e5e);}async[_0x2133a3(0x101)](_0xafaac4){const _0x152ac4=_0x2133a3,_0x5e3837=this[_0x152ac4(0x117)]['get'](r[_0x152ac4(0xf8)]);if(!_0x5e3837)throw new Error(_0x152ac4(0x111));return _0x5e3837[_0x152ac4(0x103)](_0xafaac4);}async['exportXLSXByUnitId'](_0x2644fa){const _0x1f70bc=_0x2133a3;return this[_0x1f70bc(0x109)](_0x2644fa);}async[_0x2133a3(0x109)](_0x66252f){const _0x5f285d=_0x2133a3,_0x41ef0a=this[_0x5f285d(0x117)][_0x5f285d(0x114)](r[_0x5f285d(0xf8)]);if(!_0x41ef0a)throw new Error(_0x5f285d(0x111));return _0x41ef0a['exportXLSXByUnitId'](_0x66252f);}async['exportXLSXBySnapshot'](_0xe30861){const _0x517681=_0x2133a3;return this[_0x517681(0x10e)](_0xe30861);}async[_0x2133a3(0x10e)](_0x1ce464){const _0x47fe82=_0x2133a3,_0x841222=this[_0x47fe82(0x117)]['get'](r['IExchangeService']);if(!_0x841222)throw new Error(_0x47fe82(0x111));return _0x841222[_0x47fe82(0x102)](_0x1ce464);}async['importDOCXToUnitId'](_0xd75741){const _0xf4f7a0=_0x2133a3;return this[_0xf4f7a0(0x10f)](_0xd75741);}async[_0x2133a3(0x10f)](_0x4d23de){const _0x172319=_0x2133a3,_0x1d4b53=this[_0x172319(0x117)][_0x172319(0x114)](r['IExchangeService']);if(!_0x1d4b53)throw new Error(_0x172319(0x111));return _0x1d4b53['importFileToUnitId'](_0x4d23de,o[_0x172319(0xfb)]);}async[_0x2133a3(0x10d)](_0xa76a66){return this['importDOCXToSnapshotAsync'](_0xa76a66);}async['importDOCXToSnapshotAsync'](_0x7d2051){const _0x1c8872=_0x2133a3,_0x13abc3=this[_0x1c8872(0x117)][_0x1c8872(0x114)](r[_0x1c8872(0xf8)]);if(!_0x13abc3)throw new Error(_0x1c8872(0x111));return _0x13abc3['importDOCXToSnapshot'](_0x7d2051);}}i['FUniver'][_0x2133a3(0x104)](c);