@univer-cli/api-reference-command 1.3.1 → 1.5.2
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/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x1a2ac4,_0x5832bd){const _0x339d5e=_0x42b0,_0x47b222=_0x1a2ac4();while(!![]){try{const _0x133a5c=parseInt(_0x339d5e(0x179))/0x1*(-parseInt(_0x339d5e(0x163))/0x2)+parseInt(_0x339d5e(0x124))/0x3+-parseInt(_0x339d5e(0x15d))/0x4*(-parseInt(_0x339d5e(0x14f))/0x5)+parseInt(_0x339d5e(0x10b))/0x6+-parseInt(_0x339d5e(0x17d))/0x7+parseInt(_0x339d5e(0x155))/0x8+-parseInt(_0x339d5e(0x15f))/0x9*(parseInt(_0x339d5e(0x164))/0xa);if(_0x133a5c===_0x5832bd)break;else _0x47b222['push'](_0x47b222['shift']());}catch(_0x2f059e){_0x47b222['push'](_0x47b222['shift']());}}}(_0x3fab,0x5a103));import{API_REFERENCE_UNITS as _0x4faeff}from'@univer-cli/api-reference';import{Command as _0x58c74,Option as _0x3fe2ea}from'commander';var r=0x48,i=0x5a;function a(_0x45a362){const _0x4b3a22=_0x42b0;return(_0x45a362[_0x4b3a22(0x153)](/^(.*?[.。])(\s|$)/u)?.[0x1]??_0x45a362)[_0x4b3a22(0x11b)]();}function o(_0x14dec4,_0x548879){const _0x112b74=_0x42b0;return _0x14dec4[_0x112b74(0x167)]>_0x548879?_0x14dec4['slice'](0x0,_0x548879-0x1)+'…':_0x14dec4;}function s(_0x310f08){const _0x43c469=_0x42b0;let _0x4b2f4a=_0x310f08[_0x43c469(0x169)]===''?'':'\x20\x20—\x20'+a(_0x310f08[_0x43c469(0x169)]);return'['+_0x310f08[_0x43c469(0x10e)]+']\x20'+o(_0x310f08[_0x43c469(0x10f)],r)+o(_0x4b2f4a,i)+_0x43c469(0x14c)+_0x310f08[_0x43c469(0x13c)]+']';}function c(_0x56dc5f,_0x4b9742){const _0x37f1ad=_0x42b0;if(_0x56dc5f[_0x37f1ad(0x14a)][_0x37f1ad(0x167)]===0x0){let _0x32bd82=_0x4b9742===void 0x0?'':_0x37f1ad(0x111)+_0x4b9742+')';return _0x37f1ad(0x123)+_0x56dc5f[_0x37f1ad(0x174)]+'\x22'+_0x32bd82+_0x37f1ad(0x12e)+(_0x4b9742===void 0x0?'':',\x20drop\x20--unit')+_0x37f1ad(0x109);}let _0x5719b2=_0x56dc5f[_0x37f1ad(0x14a)][_0x37f1ad(0x137)](s),_0x525461=_0x56dc5f[_0x37f1ad(0x161)]-_0x56dc5f['matches']['length'];return _0x525461>0x0&&_0x5719b2['push']('…\x20'+_0x525461+_0x37f1ad(0x131)),_0x5719b2[_0x37f1ad(0x126)]('\x0a');}function l(_0x1b6561,_0x4bd40b){const _0xe8a8ec=_0x42b0;return _0x1b6561[_0xe8a8ec(0x137)](_0x247366=>{const _0x1b8b9b=_0xe8a8ec;let _0x21bb9e=c(_0x247366,_0x4bd40b);return _0x1b6561[_0x1b8b9b(0x167)]>0x1?'══\x20'+_0x247366['term']+'\x20══\x0a'+_0x21bb9e:_0x21bb9e;})[_0xe8a8ec(0x126)]('\x0a\x0a');}function u(_0x2ce91d){const _0xd3ee4a=_0x42b0;return _0x2ce91d[_0xd3ee4a(0x129)](/\n\s*\n/u,0x1)[0x0]?.[_0xd3ee4a(0x11b)]()??'';}function d(_0x5d8aa7){const _0x44da6e=_0x42b0;return _0x5d8aa7[_0x44da6e(0x16c)]===void 0x0?{'description':_0x5d8aa7[_0x44da6e(0x169)],'tags':_0x5d8aa7[_0x44da6e(0x14b)]===''?[]:[{'name':_0x44da6e(0x14b),'text':_0x5d8aa7[_0x44da6e(0x14b)]}]}:_0x5d8aa7[_0x44da6e(0x16c)];}function _0x42b0(_0x3e8f9e,_0x4a2612){_0x3e8f9e=_0x3e8f9e-0x109;const _0x3fab0f=_0x3fab();let _0x42b09d=_0x3fab0f[_0x3e8f9e];return _0x42b09d;}function f(_0x3e6da5){const _0xd2b8d3=_0x42b0;return _0x3e6da5[_0xd2b8d3(0x16c)]??{'description':_0x3e6da5[_0xd2b8d3(0x169)],'tags':[]};}function p(_0x18334f){const _0x1bbda0=_0x42b0;let _0x383405=_0x18334f[_0x1bbda0(0x140)]===void 0x0?'':'\x20{'+_0x18334f[_0x1bbda0(0x140)]+'}',_0x3586ba=_0x18334f[_0x1bbda0(0x152)]===void 0x0?'':'\x20'+_0x18334f[_0x1bbda0(0x152)],[_0x478b3a='',..._0x109d37]=_0x18334f[_0x1bbda0(0x146)]===''?[]:_0x18334f[_0x1bbda0(0x146)]['split']('\x0a');return _0x18334f[_0x1bbda0(0x151)]===_0x1bbda0(0x14b)&&_0x478b3a[_0x1bbda0(0x182)]()[_0x1bbda0(0x12a)]('```')?['@'+_0x18334f['name']+_0x383405+_0x3586ba,_0x478b3a,..._0x109d37]:['@'+_0x18334f['name']+_0x383405+_0x3586ba+(_0x478b3a===''?'':'\x20'+_0x478b3a),..._0x109d37];}function m(_0x321e2f,_0x248744='',_0x39e565=!0x1){const _0x4f4405=_0x42b0;if(_0x321e2f===void 0x0)return[];let _0x323625=_0x39e565?u(_0x321e2f['description']):_0x321e2f[_0x4f4405(0x10d)],_0x12585f=_0x321e2f['tags'][_0x4f4405(0x17a)](p),_0x155d9f=[..._0x323625[_0x4f4405(0x129)]('\x0a'),..._0x39e565||_0x12585f[_0x4f4405(0x167)]===0x0?[]:['',..._0x12585f]];for(;_0x155d9f['at'](-0x1)==='';)_0x155d9f[_0x4f4405(0x15a)]();return _0x155d9f[_0x4f4405(0x157)](_0x35e1ef=>_0x35e1ef==='')?[]:[_0x248744+'/**',..._0x155d9f[_0x4f4405(0x137)](_0x4e972f=>_0x248744+'\x20*'+(_0x4e972f===''?'':'\x20'+_0x4e972f)),_0x248744+_0x4f4405(0x13e)];}function h(_0x24c967){const _0x3bb1b7=_0x42b0;return''+((_0x24c967[_0x3bb1b7(0x10e)]==='getter'||_0x24c967[_0x3bb1b7(0x160)])&&!_0x24c967[_0x3bb1b7(0x10f)][_0x3bb1b7(0x12a)](_0x3bb1b7(0x184))?'readonly\x20':'')+_0x24c967[_0x3bb1b7(0x10f)]+';';}function g(_0x2976ac){const _0x59d033=_0x42b0;let _0x42312=_0x2976ac['summary'][_0x59d033(0x11b)]();return[..._0x42312===''?[]:[_0x59d033(0x13a)+_0x42312[_0x59d033(0x11f)]('*/',_0x59d033(0x117))+'\x20*/'],'\x20\x20'+h(_0x2976ac)];}function _(_0x480ccb,_0x78ae72,_0x4af5ad,_0x209696){const _0x406f6f=_0x42b0;let _0x1a3554=_0x78ae72==='own'?[]:[_0x406f6f(0x125)+(_0x78ae72===_0x406f6f(0x17e)?_0x406f6f(0x17e):'composed')+'\x20member\x20projection\x20from\x20'+_0x480ccb],_0x1de324=_0x78ae72===_0x406f6f(0x180)?_0x209696:_0x78ae72===_0x406f6f(0x17e)?_0x406f6f(0x14e)+_0x480ccb:_0x406f6f(0x15c)+_0x480ccb;return[..._0x1a3554,_0x1de324+'\x20{',..._0x4af5ad['flatMap'](g),'}'];}function _0x3fab(){const _0x778e04=['864612hOYwkS','declare\x20enum\x20','description','kind','signature','\x0a\x0a//\x20batch:\x20','\x20(filtered\x20by\x20--unit\x20','choices','find','unit','//\x20package:\x20','type\x20','*\x5c/','target','api.reference.not-found','\x20supported\x20members','trim','\x0a\x20\x20Similar\x20','reference','appendix','replaceAll','action','\x20extends\x20','values','No\x20API\x20matches\x20\x22','261138WhQavU','//\x20','join','symbols','alias','split','startsWith','<symbols...>','configureOutput','\x0a\x20\x20List\x20all:\x20api\x20show\x20','.\x20Try\x20a\x20shorter\x20substring','push','number','\x20more.\x20Narrow\x20with\x20a\x20longer\x20substring,\x20or\x20api\x20show\x20<symbol>\x20for\x20details.','found','.<member>','relation','entries','unknown','map','//\x20batch:\x20','\x20=\x20','\x20\x20/**\x20','declaredBy','packageName','status','\x20*/','one\x20or\x20more\x20exact\x20API\x20symbols','type','member','\x20found,\x200\x20not\x20found','--unit\x20<unit>','limit\x20results\x20to\x20one\x20unit\x20while\x20retaining\x20shared\x20APIs','argument','text','filter','class','writeOut','matches','example','\x20\x20[','\x20found,\x20','declare\x20class\x20','5NeJznz','suggestions','name','subject','match','\x20{\x0a\x20\x20','5772928PPbfzH','//\x20[not-found]\x20','every','outputHelp','optional','pop','members','interface\x20','217556omrxFE',';\x20inherited\x20from\x20','9OnfwEN','readonly','totalMatches','requestedType','2SQvwjK','117110psbeNJ','exact\x20symbols;\x20shorthand\x20for\x20api\x20show','enum','length','<Class>','summary','owner','not-found','documentation','Find\x20API\x20methods,\x20types,\x20fields,\x20and\x20enums\x20by\x20keyword','groups','\x0adeclare\x20enum\x20','signatures','value','reduce','includes','term','[symbols...]','Show\x20exact\x20API\x20classes,\x20members,\x20types,\x20fields,\x20or\x20enum\x20values','declarationKind','addOption','204519aqwxwh','flatMap','show','declaration','2954168aZNMRH','inherited','\x0a\x20\x20If\x20unsure,\x20api\x20find\x20<keyword>\x20to\x20search\x20indexed\x20API\x20symbols,\x20or\x20api\x20show\x20<class\x20alias:\x20range/slide/document/presentation/api>\x20to\x20browse\x20a\x20whole\x20class.','own','query','trimStart','api','readonly\x20','extends',',\x20or\x20api\x20show\x20<Class>\x20to\x20browse\x20a\x20whole\x20class.',';\x20runtime\x20aliases:\x20'];_0x3fab=function(){return _0x778e04;};return _0x3fab();}function v(_0x4317f5){const _0x1345be=_0x42b0;return typeof _0x4317f5==_0x1345be(0x130)?String(_0x4317f5):JSON['stringify'](_0x4317f5);}function y(_0x33b51b,_0x124156=!0x1){const _0x1d26b6=_0x42b0;let _0x2522f0=_0x33b51b[_0x1d26b6(0x16c)]??(_0x33b51b[_0x1d26b6(0x169)]===void 0x0?void 0x0:{'description':_0x33b51b[_0x1d26b6(0x169)],'tags':[]}),_0x4cd292=_0x33b51b['type'][_0x1d26b6(0x12a)]('(')&&!_0x33b51b[_0x1d26b6(0x140)][_0x1d26b6(0x173)]('=>')?'':':\x20',_0x45a388=_0x33b51b['declaration']??''+_0x33b51b[_0x1d26b6(0x151)]+(_0x33b51b[_0x1d26b6(0x159)]?'?':'')+_0x4cd292+_0x33b51b['type'];return[...m(_0x2522f0,'\x20\x20',!_0x124156),'\x20\x20'+_0x45a388+';'];}function b(_0x151b7e,_0x481dd1=!0x1){const _0x270fff=_0x42b0;let _0x4913b2=_0x151b7e['aliases']??[],_0x40b717=[_0x270fff(0x115)+_0x151b7e[_0x270fff(0x13c)]+(_0x4913b2[_0x270fff(0x167)]===0x0?'':_0x270fff(0x10a)+_0x4913b2[_0x270fff(0x126)](',\x20')),...m(f(_0x151b7e))];if(_0x151b7e[_0x270fff(0x10e)]===_0x270fff(0x166))return _0x40b717[_0x270fff(0x12f)](_0x270fff(0x10c)+(_0x151b7e[_0x270fff(0x17c)]??_0x151b7e[_0x270fff(0x151)])+'\x20{',...(_0x151b7e[_0x270fff(0x122)]??[])['map'](_0x37973e=>'\x20\x20'+_0x37973e['name']+_0x270fff(0x139)+v(_0x37973e[_0x270fff(0x171)])+','),'}'),_0x40b717[_0x270fff(0x126)]('\x0a');if(_0x151b7e[_0x270fff(0x10e)]==='alias')return _0x40b717['push'](_0x270fff(0x116)+(_0x151b7e[_0x270fff(0x17c)]??_0x151b7e[_0x270fff(0x151)]+_0x270fff(0x139)+(_0x151b7e['definition']??_0x270fff(0x136)))+';'),_0x40b717[_0x270fff(0x126)]('\x0a');let _0x569096=_0x151b7e['extends']===void 0x0?'':_0x270fff(0x121)+_0x151b7e[_0x270fff(0x185)];return _0x40b717['push'](_0x270fff(0x15c)+(_0x151b7e['declaration']??''+_0x151b7e[_0x270fff(0x151)]+_0x569096)+'\x20{',...(_0x151b7e['members']??[])[_0x270fff(0x17a)](_0x1cbb02=>y(_0x1cbb02,_0x481dd1)),...(_0x151b7e[_0x270fff(0x170)]??[])[_0x270fff(0x137)](_0x406f40=>'\x20\x20'+_0x406f40+';'),'}'),_0x40b717[_0x270fff(0x126)]('\x0a');}function x(_0x258976){const _0x214b93=_0x42b0;return _0x258976['length']===0x0?[]:['','//\x20directly\x20referenced\x20types',..._0x258976[_0x214b93(0x17a)]((_0x17b027,_0x4516e7)=>[..._0x4516e7===0x0?[]:[''],b(_0x17b027)])];}function S(_0x44fcff){const _0x8cfdfd=_0x42b0;if(_0x44fcff[_0x8cfdfd(0x13d)]===_0x8cfdfd(0x16b))return'';if(_0x44fcff[_0x8cfdfd(0x10e)]===_0x8cfdfd(0x148)){let _0xcfb6da=_0x44fcff['groups'][_0x8cfdfd(0x172)]((_0x2e7511,_0x166417)=>_0x2e7511+_0x166417[_0x8cfdfd(0x15b)][_0x8cfdfd(0x167)],0x0),_0xe316b5=_0x44fcff[_0x8cfdfd(0x16e)][_0x8cfdfd(0x113)](_0x5a01ac=>_0x5a01ac[_0x8cfdfd(0x134)]===_0x8cfdfd(0x180)),_0x267f87=_0x44fcff[_0x8cfdfd(0x177)]==='class'?_0x8cfdfd(0x14e)+_0x44fcff[_0x8cfdfd(0x17c)]:'type\x20'+_0x44fcff[_0x8cfdfd(0x17c)],_0x43647c=[_0x8cfdfd(0x115)+_0x44fcff[_0x8cfdfd(0x13c)]+';\x20'+_0xcfb6da+_0x8cfdfd(0x11a),...m(_0x44fcff[_0x8cfdfd(0x16c)])];_0x44fcff[_0x8cfdfd(0x177)]===_0x8cfdfd(0x128)?(_0x43647c[_0x8cfdfd(0x12f)](_0x267f87+';'),_0xe316b5!==void 0x0&&_0x43647c['push']('',..._(_0xe316b5[_0x8cfdfd(0x16a)],'own',_0xe316b5[_0x8cfdfd(0x15b)],_0x8cfdfd(0x15c)+_0xe316b5[_0x8cfdfd(0x16a)]))):_0x43647c[_0x8cfdfd(0x12f)](..._(_0x44fcff[_0x8cfdfd(0x151)],_0x8cfdfd(0x180),_0xe316b5?.['members']??[],_0x267f87));for(let _0x5e7a85 of _0x44fcff[_0x8cfdfd(0x16e)][_0x8cfdfd(0x147)](_0x2aa7c0=>_0x2aa7c0[_0x8cfdfd(0x134)]!==_0x8cfdfd(0x180)))_0x43647c[_0x8cfdfd(0x12f)]('',..._(_0x5e7a85[_0x8cfdfd(0x16a)],_0x5e7a85[_0x8cfdfd(0x134)],_0x5e7a85[_0x8cfdfd(0x15b)],_0x267f87));return _0x43647c[_0x8cfdfd(0x12f)]('','//\x20full\x20member\x20docs:\x20api\x20show\x20'+_0x44fcff[_0x8cfdfd(0x151)]+_0x8cfdfd(0x133)),_0x43647c[_0x8cfdfd(0x126)]('\x0a');}if(_0x44fcff['kind']===_0x8cfdfd(0x141)){let [_0x5c6e87]=_0x44fcff[_0x8cfdfd(0x135)];if(_0x5c6e87===void 0x0)return'';let _0x4b127e=_0x5c6e87[_0x8cfdfd(0x134)]==='own'?[]:['//\x20'+_0x5c6e87[_0x8cfdfd(0x134)]+'\x20from\x20'+_0x5c6e87['relationOwner']];return[_0x8cfdfd(0x115)+_0x5c6e87[_0x8cfdfd(0x141)][_0x8cfdfd(0x13c)],..._0x4b127e,_0x8cfdfd(0x14e)+_0x44fcff[_0x8cfdfd(0x118)]+'\x20{',..._0x44fcff[_0x8cfdfd(0x135)][_0x8cfdfd(0x17a)](_0x4cad7a=>[...m(d(_0x4cad7a['member']),'\x20\x20'),'\x20\x20'+h(_0x4cad7a[_0x8cfdfd(0x141)])]),'}',...x([...new Map(_0x44fcff['entries'][_0x8cfdfd(0x17a)](_0x6a4bc2=>_0x6a4bc2[_0x8cfdfd(0x11e)])['map'](_0x12205=>[_0x12205['name'],_0x12205]))[_0x8cfdfd(0x122)]()])][_0x8cfdfd(0x126)]('\x0a');}return _0x44fcff[_0x8cfdfd(0x10e)]===_0x8cfdfd(0x140)?[b(_0x44fcff['type']),..._0x44fcff[_0x8cfdfd(0x17e)][_0x8cfdfd(0x17a)](_0x1c2e59=>['','//\x20inherited\x20declaration\x20from\x20'+_0x1c2e59[_0x8cfdfd(0x151)],b(_0x1c2e59)]),...x(_0x44fcff['appendix'])][_0x8cfdfd(0x126)]('\x0a'):_0x8cfdfd(0x171)in _0x44fcff[_0x8cfdfd(0x141)]?_0x8cfdfd(0x115)+_0x44fcff[_0x8cfdfd(0x13b)]['packageName']+_0x8cfdfd(0x16f)+_0x44fcff[_0x8cfdfd(0x13b)][_0x8cfdfd(0x151)]+_0x8cfdfd(0x154)+_0x44fcff[_0x8cfdfd(0x141)][_0x8cfdfd(0x151)]+_0x8cfdfd(0x139)+v(_0x44fcff['member']['value'])+',\x0a}':[_0x8cfdfd(0x115)+_0x44fcff['declaredBy'][_0x8cfdfd(0x13c)]+(_0x44fcff[_0x8cfdfd(0x13b)][_0x8cfdfd(0x151)]===_0x44fcff[_0x8cfdfd(0x162)][_0x8cfdfd(0x151)]?'':_0x8cfdfd(0x15e)+_0x44fcff[_0x8cfdfd(0x13b)][_0x8cfdfd(0x151)]),'interface\x20'+_0x44fcff[_0x8cfdfd(0x162)]['name']+'\x20{',...y(_0x44fcff['member'],!0x0),'}',...x(_0x44fcff[_0x8cfdfd(0x11e)])]['join']('\x0a');}function C(_0x167238){const _0x8402be=_0x42b0;let _0x3abc07=_0x167238[_0x8402be(0x150)][_0x8402be(0x167)]===0x0?'':_0x8402be(0x11c)+(_0x167238['kind']===_0x8402be(0x141)?'methods':_0x8402be(0x127))+':\x20'+_0x167238[_0x8402be(0x150)][_0x8402be(0x126)](',\x20');return _0x167238['kind']==='member'?(_0x167238[_0x8402be(0x16a)]??'Symbol')+'\x20has\x20no\x20'+(_0x167238[_0x8402be(0x141)]??'member')+_0x3abc07+_0x8402be(0x12d)+(_0x167238[_0x8402be(0x16a)]??_0x8402be(0x168)):'Unknown\x20symbol:\x20'+_0x167238[_0x8402be(0x181)]+_0x3abc07+_0x8402be(0x17f);}function w(_0x58bc6f,_0x13a150){const _0x18313e=_0x42b0;let _0xb7456c=_0x58bc6f[_0x18313e(0x12c)](),_0x127397=_0x13a150['filter'](_0x17d7f6=>_0x17d7f6[_0x18313e(0x13d)]===_0x18313e(0x132)),_0x3a3274=_0x13a150[_0x18313e(0x147)](_0x66d69b=>_0x66d69b[_0x18313e(0x13d)]===_0x18313e(0x16b)),_0x59a608=_0x13a150['length']>0x1;_0x127397[_0x18313e(0x167)]>0x0&&_0xb7456c['writeOut']?.(''+_0x127397[_0x18313e(0x137)](_0x2e14aa=>_0x59a608?'//\x20[found]\x20'+_0x2e14aa['query']+'\x0a'+S(_0x2e14aa):S(_0x2e14aa))['join']('\x0a\x0a')+(_0x59a608&&_0x3a3274[_0x18313e(0x167)]===0x0?_0x18313e(0x110)+_0x127397[_0x18313e(0x167)]+_0x18313e(0x142):'')+'\x0a'),_0x3a3274[_0x18313e(0x167)]>0x0&&_0x58bc6f['error']([..._0x3a3274[_0x18313e(0x137)](_0x5f2b26=>_0x59a608?_0x18313e(0x156)+_0x5f2b26[_0x18313e(0x181)]+'\x0a'+C(_0x5f2b26):C(_0x5f2b26)),..._0x59a608?[_0x18313e(0x138)+_0x127397['length']+_0x18313e(0x14d)+_0x3a3274[_0x18313e(0x167)]+'\x20not\x20found']:[]][_0x18313e(0x126)]('\x0a\x0a'),{'code':_0x18313e(0x119),'exitCode':0x1});}function T(_0xf14846){const _0x33741d=_0x42b0;let _0x44d417=new _0x58c74(_0x33741d(0x183))[_0x33741d(0x10d)]('Offline\x20Univer\x20Facade\x20API\x20reference')[_0x33741d(0x145)](_0x33741d(0x175),_0x33741d(0x165))[_0x33741d(0x120)](_0x417625=>{const _0xabd44e=_0x33741d;if(_0x417625[_0xabd44e(0x167)]===0x0){_0x44d417[_0xabd44e(0x158)]();return;}w(_0x44d417,_0xf14846[_0xabd44e(0x11d)]['show'](_0x417625));});return _0x44d417['command'](_0x33741d(0x113))[_0x33741d(0x10d)](_0x33741d(0x16d))[_0x33741d(0x145)]('<terms...>','one\x20or\x20more\x20terms,\x20searched\x20independently')[_0x33741d(0x178)](new _0x3fe2ea(_0x33741d(0x143),_0x33741d(0x144))[_0x33741d(0x112)](_0x4faeff))[_0x33741d(0x120)]((_0x54b55e,_0x37992e)=>{const _0x4ff0a5=_0x33741d;let _0x3c2267=_0xf14846[_0x4ff0a5(0x11d)]['find']({'terms':_0x54b55e,..._0x37992e['unit']===void 0x0?{}:{'unit':_0x37992e[_0x4ff0a5(0x114)]}});_0x44d417[_0x4ff0a5(0x12c)]()[_0x4ff0a5(0x149)]?.(l(_0x3c2267,_0x37992e[_0x4ff0a5(0x114)])+'\x0a');}),_0x44d417['command']('show')[_0x33741d(0x10d)](_0x33741d(0x176))[_0x33741d(0x145)](_0x33741d(0x12b),_0x33741d(0x13f))[_0x33741d(0x120)](_0x5f2361=>{const _0x2cf69a=_0x33741d;w(_0x44d417,_0xf14846[_0x2cf69a(0x11d)][_0x2cf69a(0x17b)](_0x5f2361));}),_0x44d417;}export{T as createApiCommand};
|
|
1
|
+
(function(_0x422433,_0x1a5c59){const _0x3700bf=_0x40fb,_0x3c12ac=_0x422433();while(!![]){try{const _0x3aac2a=parseInt(_0x3700bf(0x10b))/0x1+parseInt(_0x3700bf(0xc6))/0x2+parseInt(_0x3700bf(0xc3))/0x3*(-parseInt(_0x3700bf(0xb6))/0x4)+-parseInt(_0x3700bf(0xeb))/0x5*(parseInt(_0x3700bf(0xbb))/0x6)+parseInt(_0x3700bf(0xfa))/0x7*(-parseInt(_0x3700bf(0xd4))/0x8)+parseInt(_0x3700bf(0xec))/0x9+parseInt(_0x3700bf(0xdb))/0xa*(parseInt(_0x3700bf(0xd2))/0xb);if(_0x3aac2a===_0x1a5c59)break;else _0x3c12ac['push'](_0x3c12ac['shift']());}catch(_0x3d035a){_0x3c12ac['push'](_0x3c12ac['shift']());}}}(_0x406e,0x7b843));import{API_REFERENCE_UNITS as _0x4ad786}from'@univer-cli/api-reference';import{Command as _0x523da4,Option as _0x148523}from'commander';var r=0x48,i=0x5a;function a(_0x214243){const _0x1c4e7c=_0x40fb;return(_0x214243[_0x1c4e7c(0x109)](/^(.*?[.。])(\s|$)/u)?.[0x1]??_0x214243)[_0x1c4e7c(0xc1)]();}function o(_0x56712c,_0x3068c7){const _0x35879e=_0x40fb;return _0x56712c['length']>_0x3068c7?_0x56712c[_0x35879e(0xc2)](0x0,_0x3068c7-0x1)+'…':_0x56712c;}function s(_0x5df317){const _0x22e2a3=_0x40fb;let _0x22b1cd=_0x5df317[_0x22e2a3(0xb4)]===''?'':_0x22e2a3(0x9b)+a(_0x5df317[_0x22e2a3(0xb4)]);return'['+_0x5df317[_0x22e2a3(0xdc)]+']\x20'+o(_0x5df317[_0x22e2a3(0xaf)],r)+o(_0x22b1cd,i)+_0x22e2a3(0xc5)+_0x5df317[_0x22e2a3(0xfd)]+']';}function c(_0x2bfba8,_0x16aa5b){const _0x3e0278=_0x40fb;if(_0x2bfba8[_0x3e0278(0x10e)][_0x3e0278(0xa4)]===0x0){let _0x38b3ac=_0x16aa5b===void 0x0?'':_0x3e0278(0xa8)+_0x16aa5b+')';return'No\x20API\x20matches\x20\x22'+_0x2bfba8[_0x3e0278(0x106)]+'\x22'+_0x38b3ac+'.\x20Try\x20a\x20shorter\x20substring'+(_0x16aa5b===void 0x0?'':_0x3e0278(0xd5))+_0x3e0278(0x104);}let _0x535e92=_0x2bfba8[_0x3e0278(0x10e)][_0x3e0278(0x9a)](s),_0xb096b2=_0x2bfba8[_0x3e0278(0x116)]-_0x2bfba8[_0x3e0278(0x10e)][_0x3e0278(0xa4)];return _0xb096b2>0x0&&_0x535e92[_0x3e0278(0x95)]('…\x20'+_0xb096b2+_0x3e0278(0xda)),_0x535e92[_0x3e0278(0x10c)]('\x0a');}function l(_0x58831d,_0x147332){const _0x1000b0=_0x40fb;return _0x58831d[_0x1000b0(0x9a)](_0xcfb9d4=>{const _0x2b7aa1=_0x1000b0;let _0x2d657a=c(_0xcfb9d4,_0x147332);return _0x58831d[_0x2b7aa1(0xa4)]>0x1?_0x2b7aa1(0xf6)+_0xcfb9d4[_0x2b7aa1(0x106)]+'\x20══\x0a'+_0x2d657a:_0x2d657a;})['join']('\x0a\x0a');}function u(_0x3bea41){const _0x22a821=_0x40fb;return _0x3bea41['split'](/\n\s*\n/u,0x1)[0x0]?.[_0x22a821(0xc1)]()??'';}function d(_0x4214d5){const _0x285af2=_0x40fb;return _0x4214d5[_0x285af2(0x103)]===void 0x0?{'description':_0x4214d5[_0x285af2(0xb4)],'tags':_0x4214d5[_0x285af2(0xd9)]===''?[]:[{'name':'example','text':_0x4214d5[_0x285af2(0xd9)]}]}:_0x4214d5[_0x285af2(0x103)];}function f(_0x47088e){const _0x56d544=_0x40fb;return _0x47088e[_0x56d544(0x103)]??{'description':_0x47088e[_0x56d544(0xb4)],'tags':[]};}function p(_0x5981ef){const _0x919db0=_0x40fb;let _0x25c30f=_0x5981ef[_0x919db0(0xa3)]===void 0x0?'':'\x20{'+_0x5981ef['type']+'}',_0x30997e=_0x5981ef[_0x919db0(0xde)]===void 0x0?'':'\x20'+_0x5981ef[_0x919db0(0xde)],[_0x350bed='',..._0x2e5ef3]=_0x5981ef[_0x919db0(0x105)]===''?[]:_0x5981ef[_0x919db0(0x105)]['split']('\x0a');return _0x5981ef['name']===_0x919db0(0xd9)&&_0x350bed[_0x919db0(0xa6)]()[_0x919db0(0xab)](_0x919db0(0x114))?['@'+_0x5981ef['name']+_0x25c30f+_0x30997e,_0x350bed,..._0x2e5ef3]:['@'+_0x5981ef[_0x919db0(0xbd)]+_0x25c30f+_0x30997e+(_0x350bed===''?'':'\x20'+_0x350bed),..._0x2e5ef3];}function _0x40fb(_0x27ad3a,_0x3d56c2){_0x27ad3a=_0x27ad3a-0x8f;const _0x406eac=_0x406e();let _0x40fb20=_0x406eac[_0x27ad3a];return _0x40fb20;}function m(_0x9d3be,_0x1d487f='',_0x14a358=!0x1){const _0x5ef3f8=_0x40fb;if(_0x9d3be===void 0x0)return[];let _0x244495=_0x14a358?u(_0x9d3be[_0x5ef3f8(0xb5)]):_0x9d3be[_0x5ef3f8(0xb5)],_0x30a26a=_0x9d3be[_0x5ef3f8(0xf9)][_0x5ef3f8(0xbc)](p),_0xcd85d1=[..._0x244495[_0x5ef3f8(0x98)]('\x0a'),..._0x14a358||_0x30a26a[_0x5ef3f8(0xa4)]===0x0?[]:['',..._0x30a26a]];for(;_0xcd85d1['at'](-0x1)==='';)_0xcd85d1['pop']();return _0xcd85d1[_0x5ef3f8(0xe0)](_0x150557=>_0x150557==='')?[]:[_0x1d487f+_0x5ef3f8(0x113),..._0xcd85d1[_0x5ef3f8(0x9a)](_0x7bb433=>_0x1d487f+'\x20*'+(_0x7bb433===''?'':'\x20'+_0x7bb433)),_0x1d487f+_0x5ef3f8(0x99)];}function h(_0x4c71cd){const _0x7d8674=_0x40fb;return''+((_0x4c71cd[_0x7d8674(0xdc)]===_0x7d8674(0xfc)||_0x4c71cd[_0x7d8674(0xe2)])&&!_0x4c71cd[_0x7d8674(0xaf)][_0x7d8674(0xab)](_0x7d8674(0x9f))?_0x7d8674(0x9f):'')+_0x4c71cd[_0x7d8674(0xaf)]+';';}function g(_0xb414e9){const _0x4fed44=_0x40fb;let _0x3a78e0=_0xb414e9[_0x4fed44(0xb4)]['trim']();return[..._0x3a78e0===''?[]:[_0x4fed44(0xc9)+_0x3a78e0[_0x4fed44(0xf3)]('*/',_0x4fed44(0xa7))+_0x4fed44(0x99)],'\x20\x20'+h(_0xb414e9)];}function _0x406e(){const _0x432d07=['\x20\x20/**\x20','//\x20inherited\x20declaration\x20from\x20','Show\x20exact\x20API\x20classes,\x20members,\x20types,\x20fields,\x20or\x20enum\x20values','type\x20','\x20not\x20found','unit','<Class>','find','values','3178351TlQrFT',',\x0a}','2180808fZSNip',',\x20drop\x20--unit','\x20found,\x200\x20not\x20found','status','declarationKind','example','\x20more.\x20Narrow\x20with\x20a\x20longer\x20substring,\x20or\x20api\x20show\x20<symbol>\x20for\x20details.','80pIzvJS','kind','inherited','subject','addOption','every','aliases','readonly','entries','member','//\x20full\x20member\x20docs:\x20api\x20show\x20','unknown','enum','\x0adeclare\x20enum\x20','includes','error','5DUsxNj','658755OEaPxd','\x20member\x20projection\x20from\x20','reduce','//\x20','//\x20batch:\x20','suggestions','symbols','replaceAll','alias','extends','══\x20','members','one\x20or\x20more\x20exact\x20API\x20symbols','tags','21GbYDJT','--unit\x20<unit>','getter','packageName','not-found','Unknown\x20symbol:\x20','//\x20package:\x20','action','//\x20[found]\x20','documentation',',\x20or\x20api\x20show\x20<Class>\x20to\x20browse\x20a\x20whole\x20class.','text','term','choices','\x0a\x20\x20If\x20unsure,\x20api\x20find\x20<keyword>\x20to\x20search\x20indexed\x20API\x20symbols,\x20or\x20api\x20show\x20<class\x20alias:\x20range/slide/document/presentation/api>\x20to\x20browse\x20a\x20whole\x20class.','match','Symbol','108311Mkdtrn','join','[symbols...]','matches','\x20=\x20','query','methods','writeOut','/**','```','definition','totalMatches','//\x20[not-found]\x20','\x0a\x0a//\x20batch:\x20','interface\x20','optional','declare\x20enum\x20','appendix',';\x20runtime\x20aliases:\x20','push','command','declaration','split','\x20*/','map','\x20\x20—\x20','reference','filter','argument','readonly\x20','signatures','target','owner','type','length','configureOutput','trimStart','*\x5c/','\x20(filtered\x20by\x20--unit\x20','requestedType','.<member>','startsWith','number','outputHelp','declare\x20class\x20','signature','own','relation','<terms...>','value','summary','description','394084jOfRLp','\x0a\x20\x20Similar\x20','composed','show','declaredBy','4680996zERkdd','flatMap','name','//\x20directly\x20referenced\x20types','class','groups','trim','slice','30XNIOhl','found','\x20\x20[','1192136AEBvIf','\x20supported\x20members','Find\x20API\x20methods,\x20types,\x20fields,\x20and\x20enums\x20by\x20keyword'];_0x406e=function(){return _0x432d07;};return _0x406e();}function _(_0xe5d57a,_0x1975dd,_0x1e20e6,_0x49a592){const _0x2a475d=_0x40fb;let _0x173a00=_0x1975dd===_0x2a475d(0xb0)?[]:['//\x20'+(_0x1975dd===_0x2a475d(0xdd)?_0x2a475d(0xdd):_0x2a475d(0xb8))+_0x2a475d(0xed)+_0xe5d57a],_0x370d18=_0x1975dd==='own'?_0x49a592:_0x1975dd===_0x2a475d(0xdd)?_0x2a475d(0xae)+_0xe5d57a:'interface\x20'+_0xe5d57a;return[..._0x173a00,_0x370d18+'\x20{',..._0x1e20e6['flatMap'](g),'}'];}function v(_0x2093b1){const _0x467d72=_0x40fb;return typeof _0x2093b1==_0x467d72(0xac)?String(_0x2093b1):JSON['stringify'](_0x2093b1);}function y(_0x260305,_0x16d28c=!0x1){const _0x2fe073=_0x40fb;let _0x5dfeb9=_0x260305[_0x2fe073(0x103)]??(_0x260305['summary']===void 0x0?void 0x0:{'description':_0x260305['summary'],'tags':[]}),_0x5554f7=_0x260305['type'][_0x2fe073(0xab)]('(')&&!_0x260305['type'][_0x2fe073(0xe9)]('=>')?'':':\x20',_0x3d0452=_0x260305[_0x2fe073(0x97)]??''+_0x260305[_0x2fe073(0xbd)]+(_0x260305[_0x2fe073(0x91)]?'?':'')+_0x5554f7+_0x260305['type'];return[...m(_0x5dfeb9,'\x20\x20',!_0x16d28c),'\x20\x20'+_0x3d0452+';'];}function b(_0x5814d1,_0x2cb235=!0x1){const _0x3ddbba=_0x40fb;let _0x29e273=_0x5814d1[_0x3ddbba(0xe1)]??[],_0x20864a=[_0x3ddbba(0x100)+_0x5814d1[_0x3ddbba(0xfd)]+(_0x29e273[_0x3ddbba(0xa4)]===0x0?'':_0x3ddbba(0x94)+_0x29e273[_0x3ddbba(0x10c)](',\x20')),...m(f(_0x5814d1))];if(_0x5814d1[_0x3ddbba(0xdc)]===_0x3ddbba(0xe7))return _0x20864a[_0x3ddbba(0x95)](_0x3ddbba(0x92)+(_0x5814d1[_0x3ddbba(0x97)]??_0x5814d1[_0x3ddbba(0xbd)])+'\x20{',...(_0x5814d1[_0x3ddbba(0xd1)]??[])[_0x3ddbba(0x9a)](_0x29d2f5=>'\x20\x20'+_0x29d2f5[_0x3ddbba(0xbd)]+_0x3ddbba(0x10f)+v(_0x29d2f5[_0x3ddbba(0xb3)])+','),'}'),_0x20864a[_0x3ddbba(0x10c)]('\x0a');if(_0x5814d1['kind']===_0x3ddbba(0xf4))return _0x20864a[_0x3ddbba(0x95)](_0x3ddbba(0xcc)+(_0x5814d1[_0x3ddbba(0x97)]??_0x5814d1['name']+_0x3ddbba(0x10f)+(_0x5814d1[_0x3ddbba(0x115)]??_0x3ddbba(0xe6)))+';'),_0x20864a[_0x3ddbba(0x10c)]('\x0a');let _0x1eec78=_0x5814d1[_0x3ddbba(0xf5)]===void 0x0?'':'\x20extends\x20'+_0x5814d1['extends'];return _0x20864a['push'](_0x3ddbba(0x90)+(_0x5814d1['declaration']??''+_0x5814d1[_0x3ddbba(0xbd)]+_0x1eec78)+'\x20{',...(_0x5814d1[_0x3ddbba(0xf7)]??[])['flatMap'](_0x3b54f5=>y(_0x3b54f5,_0x2cb235)),...(_0x5814d1[_0x3ddbba(0xa0)]??[])[_0x3ddbba(0x9a)](_0x2a448f=>'\x20\x20'+_0x2a448f+';'),'}'),_0x20864a[_0x3ddbba(0x10c)]('\x0a');}function x(_0x35b365){const _0x1c6a6e=_0x40fb;return _0x35b365[_0x1c6a6e(0xa4)]===0x0?[]:['',_0x1c6a6e(0xbe),..._0x35b365[_0x1c6a6e(0xbc)]((_0x335671,_0x491e3a)=>[..._0x491e3a===0x0?[]:[''],b(_0x335671)])];}function S(_0x1570c7){const _0x5ac138=_0x40fb;if(_0x1570c7[_0x5ac138(0xd7)]===_0x5ac138(0xfe))return'';if(_0x1570c7[_0x5ac138(0xdc)]===_0x5ac138(0xbf)){let _0x255890=_0x1570c7[_0x5ac138(0xc0)][_0x5ac138(0xee)]((_0x5dccb5,_0x40f7f1)=>_0x5dccb5+_0x40f7f1[_0x5ac138(0xf7)][_0x5ac138(0xa4)],0x0),_0x22fb9a=_0x1570c7['groups']['find'](_0x530341=>_0x530341[_0x5ac138(0xb1)]===_0x5ac138(0xb0)),_0x2747c7=_0x1570c7['declarationKind']===_0x5ac138(0xbf)?_0x5ac138(0xae)+_0x1570c7['declaration']:_0x5ac138(0xcc)+_0x1570c7[_0x5ac138(0x97)],_0x1d3ebd=['//\x20package:\x20'+_0x1570c7[_0x5ac138(0xfd)]+';\x20'+_0x255890+_0x5ac138(0xc7),...m(_0x1570c7[_0x5ac138(0x103)])];_0x1570c7[_0x5ac138(0xd8)]===_0x5ac138(0xf4)?(_0x1d3ebd['push'](_0x2747c7+';'),_0x22fb9a!==void 0x0&&_0x1d3ebd[_0x5ac138(0x95)]('',..._(_0x22fb9a['owner'],_0x5ac138(0xb0),_0x22fb9a[_0x5ac138(0xf7)],_0x5ac138(0x90)+_0x22fb9a['owner']))):_0x1d3ebd[_0x5ac138(0x95)](..._(_0x1570c7[_0x5ac138(0xbd)],_0x5ac138(0xb0),_0x22fb9a?.[_0x5ac138(0xf7)]??[],_0x2747c7));for(let _0x179bfb of _0x1570c7[_0x5ac138(0xc0)][_0x5ac138(0x9d)](_0x5999c9=>_0x5999c9[_0x5ac138(0xb1)]!==_0x5ac138(0xb0)))_0x1d3ebd[_0x5ac138(0x95)]('',..._(_0x179bfb[_0x5ac138(0xa2)],_0x179bfb[_0x5ac138(0xb1)],_0x179bfb[_0x5ac138(0xf7)],_0x2747c7));return _0x1d3ebd['push']('',_0x5ac138(0xe5)+_0x1570c7[_0x5ac138(0xbd)]+_0x5ac138(0xaa)),_0x1d3ebd[_0x5ac138(0x10c)]('\x0a');}if(_0x1570c7[_0x5ac138(0xdc)]===_0x5ac138(0xe4)){let [_0x1f6600]=_0x1570c7[_0x5ac138(0xe3)];if(_0x1f6600===void 0x0)return'';let _0x1d3581=_0x1f6600[_0x5ac138(0xb1)]===_0x5ac138(0xb0)?[]:[_0x5ac138(0xef)+_0x1f6600[_0x5ac138(0xb1)]+'\x20from\x20'+_0x1f6600['relationOwner']];return['//\x20package:\x20'+_0x1f6600[_0x5ac138(0xe4)][_0x5ac138(0xfd)],..._0x1d3581,_0x5ac138(0xae)+_0x1570c7[_0x5ac138(0xa1)]+'\x20{',..._0x1570c7[_0x5ac138(0xe3)][_0x5ac138(0xbc)](_0x548523=>[...m(d(_0x548523[_0x5ac138(0xe4)]),'\x20\x20'),'\x20\x20'+h(_0x548523[_0x5ac138(0xe4)])]),'}',...x([...new Map(_0x1570c7[_0x5ac138(0xe3)][_0x5ac138(0xbc)](_0x396b18=>_0x396b18[_0x5ac138(0x93)])['map'](_0x2c9058=>[_0x2c9058['name'],_0x2c9058]))[_0x5ac138(0xd1)]()])][_0x5ac138(0x10c)]('\x0a');}return _0x1570c7[_0x5ac138(0xdc)]==='type'?[b(_0x1570c7[_0x5ac138(0xa3)]),..._0x1570c7['inherited'][_0x5ac138(0xbc)](_0x10a14b=>['',_0x5ac138(0xca)+_0x10a14b[_0x5ac138(0xbd)],b(_0x10a14b)]),...x(_0x1570c7['appendix'])][_0x5ac138(0x10c)]('\x0a'):_0x5ac138(0xb3)in _0x1570c7[_0x5ac138(0xe4)]?_0x5ac138(0x100)+_0x1570c7[_0x5ac138(0xba)][_0x5ac138(0xfd)]+_0x5ac138(0xe8)+_0x1570c7[_0x5ac138(0xba)][_0x5ac138(0xbd)]+'\x20{\x0a\x20\x20'+_0x1570c7[_0x5ac138(0xe4)][_0x5ac138(0xbd)]+_0x5ac138(0x10f)+v(_0x1570c7[_0x5ac138(0xe4)][_0x5ac138(0xb3)])+_0x5ac138(0xd3):[_0x5ac138(0x100)+_0x1570c7[_0x5ac138(0xba)][_0x5ac138(0xfd)]+(_0x1570c7[_0x5ac138(0xba)]['name']===_0x1570c7[_0x5ac138(0xa9)]['name']?'':';\x20inherited\x20from\x20'+_0x1570c7[_0x5ac138(0xba)][_0x5ac138(0xbd)]),'interface\x20'+_0x1570c7['requestedType']['name']+'\x20{',...y(_0x1570c7[_0x5ac138(0xe4)],!0x0),'}',...x(_0x1570c7['appendix'])][_0x5ac138(0x10c)]('\x0a');}function C(_0x5850f8){const _0x234ca8=_0x40fb;let _0x1ecb44=_0x5850f8['suggestions'][_0x234ca8(0xa4)]===0x0?'':_0x234ca8(0xb7)+(_0x5850f8[_0x234ca8(0xdc)]===_0x234ca8(0xe4)?_0x234ca8(0x111):_0x234ca8(0xf2))+':\x20'+_0x5850f8[_0x234ca8(0xf1)][_0x234ca8(0x10c)](',\x20');return _0x5850f8[_0x234ca8(0xdc)]==='member'?(_0x5850f8['owner']??_0x234ca8(0x10a))+'\x20has\x20no\x20'+(_0x5850f8[_0x234ca8(0xe4)]??'member')+_0x1ecb44+'\x0a\x20\x20List\x20all:\x20api\x20show\x20'+(_0x5850f8[_0x234ca8(0xa2)]??_0x234ca8(0xcf)):_0x234ca8(0xff)+_0x5850f8[_0x234ca8(0x110)]+_0x1ecb44+_0x234ca8(0x108);}function w(_0x185805,_0xdb61f7){const _0x23975f=_0x40fb;let _0x1d5544=_0x185805['configureOutput'](),_0x5c9354=_0xdb61f7[_0x23975f(0x9d)](_0x300634=>_0x300634['status']===_0x23975f(0xc4)),_0x40c23b=_0xdb61f7['filter'](_0x16d68c=>_0x16d68c[_0x23975f(0xd7)]===_0x23975f(0xfe)),_0x17c423=_0xdb61f7[_0x23975f(0xa4)]>0x1;_0x5c9354[_0x23975f(0xa4)]>0x0&&_0x1d5544[_0x23975f(0x112)]?.(''+_0x5c9354['map'](_0x2e7ac6=>_0x17c423?_0x23975f(0x102)+_0x2e7ac6[_0x23975f(0x110)]+'\x0a'+S(_0x2e7ac6):S(_0x2e7ac6))['join']('\x0a\x0a')+(_0x17c423&&_0x40c23b[_0x23975f(0xa4)]===0x0?_0x23975f(0x8f)+_0x5c9354[_0x23975f(0xa4)]+_0x23975f(0xd6):'')+'\x0a'),_0x40c23b['length']>0x0&&_0x185805[_0x23975f(0xea)]([..._0x40c23b[_0x23975f(0x9a)](_0x3f1f58=>_0x17c423?_0x23975f(0x117)+_0x3f1f58[_0x23975f(0x110)]+'\x0a'+C(_0x3f1f58):C(_0x3f1f58)),..._0x17c423?[_0x23975f(0xf0)+_0x5c9354[_0x23975f(0xa4)]+'\x20found,\x20'+_0x40c23b[_0x23975f(0xa4)]+_0x23975f(0xcd)]:[]]['join']('\x0a\x0a'),{'code':'api.reference.not-found','exitCode':0x1});}function T(_0x55ceaf){const _0x2c079e=_0x40fb;let _0x19ae02=new _0x523da4('api')[_0x2c079e(0xb5)]('Offline\x20Univer\x20Facade\x20API\x20reference')['argument'](_0x2c079e(0x10d),'exact\x20symbols;\x20shorthand\x20for\x20api\x20show')[_0x2c079e(0x101)](_0x262838=>{const _0x4dba07=_0x2c079e;if(_0x262838[_0x4dba07(0xa4)]===0x0){_0x19ae02[_0x4dba07(0xad)]();return;}w(_0x19ae02,_0x55ceaf[_0x4dba07(0x9c)][_0x4dba07(0xb9)](_0x262838));});return _0x19ae02['command']('find')['description'](_0x2c079e(0xc8))[_0x2c079e(0x9e)](_0x2c079e(0xb2),'one\x20or\x20more\x20terms,\x20searched\x20independently')[_0x2c079e(0xdf)](new _0x148523(_0x2c079e(0xfb),'limit\x20results\x20to\x20one\x20unit\x20while\x20retaining\x20shared\x20APIs')[_0x2c079e(0x107)](_0x4ad786))['action']((_0xc4da94,_0x5a16fa)=>{const _0x333bd4=_0x2c079e;let _0x2b9d8f=_0x55ceaf[_0x333bd4(0x9c)][_0x333bd4(0xd0)]({'terms':_0xc4da94,..._0x5a16fa[_0x333bd4(0xce)]===void 0x0?{}:{'unit':_0x5a16fa['unit']}});_0x19ae02[_0x333bd4(0xa5)]()[_0x333bd4(0x112)]?.(l(_0x2b9d8f,_0x5a16fa[_0x333bd4(0xce)])+'\x0a');}),_0x19ae02[_0x2c079e(0x96)](_0x2c079e(0xb9))[_0x2c079e(0xb5)](_0x2c079e(0xcb))['argument']('<symbols...>',_0x2c079e(0xf8))['action'](_0x2954a5=>{const _0x42f731=_0x2c079e;w(_0x19ae02,_0x55ceaf[_0x42f731(0x9c)]['show'](_0x2954a5));}),_0x19ae02;}export{T as createApiCommand};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univer-cli/api-reference-command",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.5.2",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"README.zh-CN.md"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@univer-cli/api-reference": "1.
|
|
21
|
+
"@univer-cli/api-reference": "1.5.2"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"commander": "^15.0.0"
|