@univerjs-pro/exchange-client 0.7.0-nightly.202505141607 → 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';const _0x2becd8=_0xe096;(function(_0x1a5aa1,_0x20a303){const _0x4fb43a=_0xe096,_0x4037e5=_0x1a5aa1();while(!![]){try{const _0x125a14=-parseInt(_0x4fb43a(0xd4))/0x1+parseInt(_0x4fb43a(0xdd))/0x2+-parseInt(_0x4fb43a(0xd9))/0x3+parseInt(_0x4fb43a(0xca))/0x4+parseInt(_0x4fb43a(0xd0))/0x5*(parseInt(_0x4fb43a(0xd3))/0x6)+parseInt(_0x4fb43a(0xe6))/0x7+-parseInt(_0x4fb43a(0xdf))/0x8;if(_0x125a14===_0x20a303)break;else _0x4037e5['push'](_0x4037e5['shift']());}catch(_0x2a00cc){_0x4037e5['push'](_0x4037e5['shift']());}}}(_0x40f1,0xad137));const r=require(_0x2becd8(0xda)),i=require('@univerjs/core/facade');function _0xe096(_0x5f1846,_0x1dfc16){const _0x40f1d4=_0x40f1();return _0xe096=function(_0xe096a0,_0x24a384){_0xe096a0=_0xe096a0-0xc7;let _0x153549=_0x40f1d4[_0xe096a0];return _0x153549;},_0xe096(_0x5f1846,_0x1dfc16);}var o=(_0x1eabae=>(_0x1eabae[_0x1eabae['UNIVER_UNKNOWN']=0x0]=_0x2becd8(0xd8),_0x1eabae[_0x1eabae[_0x2becd8(0xdc)]=0x1]='UNIVER_DOC',_0x1eabae[_0x1eabae[_0x2becd8(0xce)]=0x2]=_0x2becd8(0xce),_0x1eabae[_0x1eabae[_0x2becd8(0xd2)]=0x3]=_0x2becd8(0xd2),_0x1eabae[_0x1eabae[_0x2becd8(0xe5)]=0x4]=_0x2becd8(0xe5),_0x1eabae[_0x1eabae['UNRECOGNIZED']=-0x1]=_0x2becd8(0xde),_0x1eabae))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x1e816e){return this['importXLSXToUnitIdAsync'](_0x1e816e);}async[_0x2becd8(0xe4)](_0x161222){const _0x25e615=_0x2becd8,_0x1acd46=this[_0x25e615(0xcc)][_0x25e615(0xe1)](r[_0x25e615(0xcf)]);if(!_0x1acd46)throw new Error(_0x25e615(0xe2));return _0x1acd46[_0x25e615(0xd5)](_0x161222,o[_0x25e615(0xce)]);}async[_0x2becd8(0xc7)](_0x55dd12){const _0x9cf949=_0x2becd8;return this[_0x9cf949(0xd6)](_0x55dd12);}async[_0x2becd8(0xd6)](_0x157f6b){const _0x79bf81=_0x2becd8,_0x83693d=this[_0x79bf81(0xcc)][_0x79bf81(0xe1)](r[_0x79bf81(0xcf)]);if(!_0x83693d)throw new Error(_0x79bf81(0xe2));return _0x83693d['importXLSXToSnapshot'](_0x157f6b);}async[_0x2becd8(0xcb)](_0x22fc1d){const _0x486c41=_0x2becd8;return this[_0x486c41(0xdb)](_0x22fc1d);}async[_0x2becd8(0xdb)](_0x17d97b){const _0x759689=_0x2becd8,_0x27cae0=this['_injector']['get'](r[_0x759689(0xcf)]);if(!_0x27cae0)throw new Error(_0x759689(0xe2));return _0x27cae0[_0x759689(0xcb)](_0x17d97b);}async[_0x2becd8(0xd1)](_0x472b83){return this['exportXLSXBySnapshotAsync'](_0x472b83);}async[_0x2becd8(0xc9)](_0x4d2edd){const _0x3d3f8e=_0x2becd8,_0x6cb223=this[_0x3d3f8e(0xcc)][_0x3d3f8e(0xe1)](r[_0x3d3f8e(0xcf)]);if(!_0x6cb223)throw new Error(_0x3d3f8e(0xe2));return _0x6cb223[_0x3d3f8e(0xd1)](_0x4d2edd);}async[_0x2becd8(0xe0)](_0xfb5761){return this['importDOCXToUnitIdAsync'](_0xfb5761);}async[_0x2becd8(0xc8)](_0x8f1bbe){const _0x2115d8=_0x2becd8,_0x1af118=this[_0x2115d8(0xcc)][_0x2115d8(0xe1)](r[_0x2115d8(0xcf)]);if(!_0x1af118)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1af118[_0x2115d8(0xd5)](_0x8f1bbe,o[_0x2115d8(0xdc)]);}async[_0x2becd8(0xd7)](_0x47a654){const _0x43c041=_0x2becd8;return this[_0x43c041(0xe3)](_0x47a654);}async[_0x2becd8(0xe3)](_0x264b1b){const _0x1463b3=_0x2becd8,_0x34cdfb=this[_0x1463b3(0xcc)][_0x1463b3(0xe1)](r[_0x1463b3(0xcf)]);if(!_0x34cdfb)throw new Error(_0x1463b3(0xe2));return _0x34cdfb[_0x1463b3(0xd7)](_0x264b1b);}}i[_0x2becd8(0xcd)]['extend'](c);function _0x40f1(){const _0x340656=['exportXLSXBySnapshotAsync','1207860TfOGfr','exportXLSXByUnitId','_injector','FUniver','UNIVER_SHEET','IExchangeService','148355OsiPIW','exportXLSXBySnapshot','UNIVER_SLIDE','258wzGylS','43233FMUzoY','importFileToUnitId','importXLSXToSnapshotAsync','importDOCXToSnapshot','UNIVER_UNKNOWN','1743699fiHPVc','@univerjs-pro/exchange-client','exportXLSXByUnitIdAsync','UNIVER_DOC','2212336eGRIoV','UNRECOGNIZED','13668960EbjgLy','importDOCXToUnitId','get','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','UNIVER_PROJECT','2506133KSfSOy','importXLSXToSnapshot','importDOCXToUnitIdAsync'];_0x40f1=function(){return _0x340656;};return _0x40f1();}
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);