@univer-cli/api-reference-command 1.5.2 → 1.6.1

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -1 +1 @@
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};
1
+ (function(_0x185dfb,_0x3944ab){const _0x179c7a=_0x150c,_0x5f1854=_0x185dfb();while(!![]){try{const _0x4a6990=parseInt(_0x179c7a(0x1aa))/0x1+-parseInt(_0x179c7a(0x203))/0x2*(parseInt(_0x179c7a(0x1cc))/0x3)+-parseInt(_0x179c7a(0x1da))/0x4*(-parseInt(_0x179c7a(0x1c8))/0x5)+parseInt(_0x179c7a(0x222))/0x6+-parseInt(_0x179c7a(0x1b9))/0x7*(-parseInt(_0x179c7a(0x1d5))/0x8)+-parseInt(_0x179c7a(0x1df))/0x9+-parseInt(_0x179c7a(0x20f))/0xa;if(_0x4a6990===_0x3944ab)break;else _0x5f1854['push'](_0x5f1854['shift']());}catch(_0xc2ba88){_0x5f1854['push'](_0x5f1854['shift']());}}}(_0xa5f2,0x610f1));import{API_REFERENCE_UNITS as _0x161449}from'@univer-cli/api-reference';import{Command as _0x22cbe7,Option as _0x28044b}from'commander';var r=0x48,i=0x5a;function _0xa5f2(){const _0x277d7c=['\x20extends\x20','matches','\x20{\x0a\x20\x20','type\x20','term','--unit\x20<unit>','\x20found,\x200\x20not\x20found','composed','limit\x20results\x20to\x20one\x20unit\x20while\x20retaining\x20shared\x20APIs','api','own','entries','member','\x0a\x0a//\x20batch:\x20','filter','join','groups','argument','tags','unit','length','66242SSfkiG','command','\x20member\x20projection\x20from\x20','methods','extends','No\x20API\x20matches\x20\x22','push','//\x20','totalMatches','slice','\x20=\x20','\x20*/','2559290dGMkTc',',\x20or\x20api\x20show\x20<Class>\x20to\x20browse\x20a\x20whole\x20class.','name','declarationKind','getter','description','\x0a\x20\x20List\x20all:\x20api\x20show\x20','reduce','map','enum','match','Show\x20exact\x20API\x20classes,\x20members,\x20types,\x20fields,\x20or\x20enum\x20values','\x20has\x20no\x20','\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.','one\x20or\x20more\x20exact\x20API\x20symbols','type','summary','stringify',';\x20inherited\x20from\x20','1962384XlwwyO','interface\x20','documentation','value','relation','//\x20batch:\x20','inherited','//\x20[found]\x20','readonly','action','Find\x20API\x20methods,\x20types,\x20fields,\x20and\x20enums\x20by\x20keyword','trim','status','aliases','one\x20or\x20more\x20terms,\x20searched\x20independently','suggestions','87761iChVNo','\x20more.\x20Narrow\x20with\x20a\x20longer\x20substring,\x20or\x20api\x20show\x20<symbol>\x20for\x20details.','packageName','//\x20inherited\x20declaration\x20from\x20','not-found','reference','declare\x20enum\x20','.\x20Try\x20a\x20shorter\x20substring','show','//\x20directly\x20referenced\x20types','//\x20package:\x20','```','configureOutput','.<member>','Unknown\x20symbol:\x20','296961DgbIIL','values','replaceAll','subject','definition','*\x5c/','find','kind','<symbols...>','<Class>','appendix','optional','startsWith',',\x0a}','\x20supported\x20members','295CMFnnO','declaredBy','\x20(filtered\x20by\x20--unit\x20','══\x20','27BJTbMO','found','owner','relationOwner','exact\x20symbols;\x20shorthand\x20for\x20api\x20show','choices','readonly\x20','\x20from\x20','flatMap','80WUZRHl','query','members','signature','pop','7708kfcAAg','\x20\x20/**\x20',',\x20drop\x20--unit','split','declaration','10593PgNgoB','error','//\x20[not-found]\x20','symbols','target','//\x20full\x20member\x20docs:\x20api\x20show\x20','class','\x20not\x20found','text','example','\x20\x20[','declare\x20class\x20','writeOut','every','signatures'];_0xa5f2=function(){return _0x277d7c;};return _0xa5f2();}function a(_0x1f50c1){const _0x58e41a=_0x150c;return(_0x1f50c1[_0x58e41a(0x219)](/^(.*?[.。])(\s|$)/u)?.[0x1]??_0x1f50c1)['trim']();}function o(_0xb0249,_0x9db671){const _0x3a0841=_0x150c;return _0xb0249[_0x3a0841(0x202)]>_0x9db671?_0xb0249[_0x3a0841(0x20c)](0x0,_0x9db671-0x1)+'…':_0xb0249;}function s(_0x44e567){const _0x375f79=_0x150c;let _0x331f51=_0x44e567[_0x375f79(0x21f)]===''?'':'\x20\x20—\x20'+a(_0x44e567[_0x375f79(0x21f)]);return'['+_0x44e567['kind']+']\x20'+o(_0x44e567['signature'],r)+o(_0x331f51,i)+_0x375f79(0x1e9)+_0x44e567[_0x375f79(0x1ac)]+']';}function c(_0x11f756,_0x21ec28){const _0x579912=_0x150c;if(_0x11f756[_0x579912(0x1ef)][_0x579912(0x202)]===0x0){let _0x2da4e3=_0x21ec28===void 0x0?'':_0x579912(0x1ca)+_0x21ec28+')';return _0x579912(0x208)+_0x11f756['term']+'\x22'+_0x2da4e3+_0x579912(0x1b1)+(_0x21ec28===void 0x0?'':_0x579912(0x1dc))+_0x579912(0x210);}let _0x48b344=_0x11f756['matches'][_0x579912(0x217)](s),_0xcc07e4=_0x11f756[_0x579912(0x20b)]-_0x11f756[_0x579912(0x1ef)][_0x579912(0x202)];return _0xcc07e4>0x0&&_0x48b344['push']('…\x20'+_0xcc07e4+_0x579912(0x1ab)),_0x48b344[_0x579912(0x1fd)]('\x0a');}function l(_0x28ae08,_0x5dde0d){const _0x154e18=_0x150c;return _0x28ae08[_0x154e18(0x217)](_0x5adb1f=>{const _0xee6173=_0x154e18;let _0x171f13=c(_0x5adb1f,_0x5dde0d);return _0x28ae08[_0xee6173(0x202)]>0x1?_0xee6173(0x1cb)+_0x5adb1f[_0xee6173(0x1f2)]+'\x20══\x0a'+_0x171f13:_0x171f13;})[_0x154e18(0x1fd)]('\x0a\x0a');}function u(_0x214858){const _0x296cdf=_0x150c;return _0x214858[_0x296cdf(0x1dd)](/\n\s*\n/u,0x1)[0x0]?.[_0x296cdf(0x1a5)]()??'';}function d(_0x21eff1){const _0x3c950d=_0x150c;return _0x21eff1[_0x3c950d(0x224)]===void 0x0?{'description':_0x21eff1[_0x3c950d(0x21f)],'tags':_0x21eff1['example']===''?[]:[{'name':_0x3c950d(0x1e8),'text':_0x21eff1[_0x3c950d(0x1e8)]}]}:_0x21eff1[_0x3c950d(0x224)];}function _0x150c(_0x480c99,_0x380086){_0x480c99=_0x480c99-0x19e;const _0xa5f294=_0xa5f2();let _0x150cb6=_0xa5f294[_0x480c99];return _0x150cb6;}function f(_0x1f20c2){const _0x1282e3=_0x150c;return _0x1f20c2[_0x1282e3(0x224)]??{'description':_0x1f20c2[_0x1282e3(0x21f)],'tags':[]};}function p(_0xdaea0f){const _0x47c56a=_0x150c;let _0x25cbe0=_0xdaea0f['type']===void 0x0?'':'\x20{'+_0xdaea0f[_0x47c56a(0x21e)]+'}',_0x38d32b=_0xdaea0f['subject']===void 0x0?'':'\x20'+_0xdaea0f[_0x47c56a(0x1bc)],[_0x24a13b='',..._0x42dced]=_0xdaea0f[_0x47c56a(0x1e7)]===''?[]:_0xdaea0f[_0x47c56a(0x1e7)][_0x47c56a(0x1dd)]('\x0a');return _0xdaea0f[_0x47c56a(0x211)]===_0x47c56a(0x1e8)&&_0x24a13b['trimStart']()[_0x47c56a(0x1c5)](_0x47c56a(0x1b5))?['@'+_0xdaea0f['name']+_0x25cbe0+_0x38d32b,_0x24a13b,..._0x42dced]:['@'+_0xdaea0f['name']+_0x25cbe0+_0x38d32b+(_0x24a13b===''?'':'\x20'+_0x24a13b),..._0x42dced];}function m(_0xff1fb3,_0x3e10f9='',_0x1c7217=!0x1){const _0x27c9bd=_0x150c;if(_0xff1fb3===void 0x0)return[];let _0x3f5ca3=_0x1c7217?u(_0xff1fb3[_0x27c9bd(0x214)]):_0xff1fb3[_0x27c9bd(0x214)],_0x5691d5=_0xff1fb3[_0x27c9bd(0x200)][_0x27c9bd(0x1d4)](p),_0x2e79f=[..._0x3f5ca3[_0x27c9bd(0x1dd)]('\x0a'),..._0x1c7217||_0x5691d5['length']===0x0?[]:['',..._0x5691d5]];for(;_0x2e79f['at'](-0x1)==='';)_0x2e79f[_0x27c9bd(0x1d9)]();return _0x2e79f[_0x27c9bd(0x1ec)](_0x1949d8=>_0x1949d8==='')?[]:[_0x3e10f9+'/**',..._0x2e79f[_0x27c9bd(0x217)](_0x5a2958=>_0x3e10f9+'\x20*'+(_0x5a2958===''?'':'\x20'+_0x5a2958)),_0x3e10f9+'\x20*/'];}function h(_0x1ab973){const _0x3075b9=_0x150c;return''+((_0x1ab973[_0x3075b9(0x1c0)]===_0x3075b9(0x213)||_0x1ab973[_0x3075b9(0x1a2)])&&!_0x1ab973[_0x3075b9(0x1d8)][_0x3075b9(0x1c5)](_0x3075b9(0x1d2))?_0x3075b9(0x1d2):'')+_0x1ab973[_0x3075b9(0x1d8)]+';';}function g(_0x57bb07){const _0x382f6c=_0x150c;let _0x48b9a5=_0x57bb07[_0x382f6c(0x21f)][_0x382f6c(0x1a5)]();return[..._0x48b9a5===''?[]:[_0x382f6c(0x1db)+_0x48b9a5[_0x382f6c(0x1bb)]('*/',_0x382f6c(0x1be))+_0x382f6c(0x20e)],'\x20\x20'+h(_0x57bb07)];}function _(_0x2e0c6a,_0x4da1ad,_0x165163,_0x500501){const _0x86ba3a=_0x150c;let _0x2b2733=_0x4da1ad===_0x86ba3a(0x1f8)?[]:[_0x86ba3a(0x20a)+(_0x4da1ad===_0x86ba3a(0x1a0)?_0x86ba3a(0x1a0):_0x86ba3a(0x1f5))+_0x86ba3a(0x205)+_0x2e0c6a],_0x32dc5d=_0x4da1ad==='own'?_0x500501:_0x4da1ad===_0x86ba3a(0x1a0)?_0x86ba3a(0x1ea)+_0x2e0c6a:'interface\x20'+_0x2e0c6a;return[..._0x2b2733,_0x32dc5d+'\x20{',..._0x165163['flatMap'](g),'}'];}function v(_0x2cb032){const _0x5e38fb=_0x150c;return typeof _0x2cb032=='number'?String(_0x2cb032):JSON[_0x5e38fb(0x220)](_0x2cb032);}function y(_0x39ee4f,_0x252a5c=!0x1){const _0x2f65b5=_0x150c;let _0x4e1eb9=_0x39ee4f[_0x2f65b5(0x224)]??(_0x39ee4f[_0x2f65b5(0x21f)]===void 0x0?void 0x0:{'description':_0x39ee4f[_0x2f65b5(0x21f)],'tags':[]}),_0x1af24a=_0x39ee4f['type'][_0x2f65b5(0x1c5)]('(')&&!_0x39ee4f['type']['includes']('=>')?'':':\x20',_0x5269b9=_0x39ee4f['declaration']??''+_0x39ee4f[_0x2f65b5(0x211)]+(_0x39ee4f[_0x2f65b5(0x1c4)]?'?':'')+_0x1af24a+_0x39ee4f['type'];return[...m(_0x4e1eb9,'\x20\x20',!_0x252a5c),'\x20\x20'+_0x5269b9+';'];}function b(_0x4c872b,_0x4ad822=!0x1){const _0x55656f=_0x150c;let _0x4abec6=_0x4c872b[_0x55656f(0x1a7)]??[],_0x439118=[_0x55656f(0x1b4)+_0x4c872b['packageName']+(_0x4abec6['length']===0x0?'':';\x20runtime\x20aliases:\x20'+_0x4abec6[_0x55656f(0x1fd)](',\x20')),...m(f(_0x4c872b))];if(_0x4c872b['kind']===_0x55656f(0x218))return _0x439118[_0x55656f(0x209)](_0x55656f(0x1b0)+(_0x4c872b[_0x55656f(0x1de)]??_0x4c872b[_0x55656f(0x211)])+'\x20{',...(_0x4c872b['values']??[])[_0x55656f(0x217)](_0x5901ae=>'\x20\x20'+_0x5901ae[_0x55656f(0x211)]+'\x20=\x20'+v(_0x5901ae[_0x55656f(0x225)])+','),'}'),_0x439118[_0x55656f(0x1fd)]('\x0a');if(_0x4c872b[_0x55656f(0x1c0)]==='alias')return _0x439118['push'](_0x55656f(0x1f1)+(_0x4c872b[_0x55656f(0x1de)]??_0x4c872b[_0x55656f(0x211)]+_0x55656f(0x20d)+(_0x4c872b[_0x55656f(0x1bd)]??'unknown'))+';'),_0x439118[_0x55656f(0x1fd)]('\x0a');let _0x35d6be=_0x4c872b[_0x55656f(0x207)]===void 0x0?'':_0x55656f(0x1ee)+_0x4c872b[_0x55656f(0x207)];return _0x439118[_0x55656f(0x209)]('interface\x20'+(_0x4c872b[_0x55656f(0x1de)]??''+_0x4c872b[_0x55656f(0x211)]+_0x35d6be)+'\x20{',...(_0x4c872b[_0x55656f(0x1d7)]??[])[_0x55656f(0x1d4)](_0x39e42a=>y(_0x39e42a,_0x4ad822)),...(_0x4c872b[_0x55656f(0x1ed)]??[])[_0x55656f(0x217)](_0x4aa22b=>'\x20\x20'+_0x4aa22b+';'),'}'),_0x439118[_0x55656f(0x1fd)]('\x0a');}function x(_0x58bcab){const _0x4fde97=_0x150c;return _0x58bcab[_0x4fde97(0x202)]===0x0?[]:['',_0x4fde97(0x1b3),..._0x58bcab['flatMap']((_0x27c988,_0x169255)=>[..._0x169255===0x0?[]:[''],b(_0x27c988)])];}function S(_0x24fcea){const _0x6cde7d=_0x150c;if(_0x24fcea['status']===_0x6cde7d(0x1ae))return'';if(_0x24fcea[_0x6cde7d(0x1c0)]==='class'){let _0x294de1=_0x24fcea[_0x6cde7d(0x1fe)][_0x6cde7d(0x216)]((_0xc40167,_0xd8f9da)=>_0xc40167+_0xd8f9da[_0x6cde7d(0x1d7)][_0x6cde7d(0x202)],0x0),_0x5c15ea=_0x24fcea['groups'][_0x6cde7d(0x1bf)](_0x672842=>_0x672842[_0x6cde7d(0x19e)]==='own'),_0x57239c=_0x24fcea[_0x6cde7d(0x212)]===_0x6cde7d(0x1e5)?_0x6cde7d(0x1ea)+_0x24fcea[_0x6cde7d(0x1de)]:_0x6cde7d(0x1f1)+_0x24fcea[_0x6cde7d(0x1de)],_0x308a22=[_0x6cde7d(0x1b4)+_0x24fcea[_0x6cde7d(0x1ac)]+';\x20'+_0x294de1+_0x6cde7d(0x1c7),...m(_0x24fcea['documentation'])];_0x24fcea[_0x6cde7d(0x212)]==='alias'?(_0x308a22[_0x6cde7d(0x209)](_0x57239c+';'),_0x5c15ea!==void 0x0&&_0x308a22[_0x6cde7d(0x209)]('',..._(_0x5c15ea['owner'],_0x6cde7d(0x1f8),_0x5c15ea[_0x6cde7d(0x1d7)],'interface\x20'+_0x5c15ea[_0x6cde7d(0x1ce)]))):_0x308a22[_0x6cde7d(0x209)](..._(_0x24fcea[_0x6cde7d(0x211)],'own',_0x5c15ea?.[_0x6cde7d(0x1d7)]??[],_0x57239c));for(let _0x3af3da of _0x24fcea['groups'][_0x6cde7d(0x1fc)](_0x4b404d=>_0x4b404d['relation']!==_0x6cde7d(0x1f8)))_0x308a22['push']('',..._(_0x3af3da[_0x6cde7d(0x1ce)],_0x3af3da[_0x6cde7d(0x19e)],_0x3af3da['members'],_0x57239c));return _0x308a22['push']('',_0x6cde7d(0x1e4)+_0x24fcea['name']+_0x6cde7d(0x1b7)),_0x308a22['join']('\x0a');}if(_0x24fcea[_0x6cde7d(0x1c0)]===_0x6cde7d(0x1fa)){let [_0x5e0416]=_0x24fcea['entries'];if(_0x5e0416===void 0x0)return'';let _0x50e569=_0x5e0416[_0x6cde7d(0x19e)]===_0x6cde7d(0x1f8)?[]:[_0x6cde7d(0x20a)+_0x5e0416[_0x6cde7d(0x19e)]+_0x6cde7d(0x1d3)+_0x5e0416[_0x6cde7d(0x1cf)]];return[_0x6cde7d(0x1b4)+_0x5e0416['member'][_0x6cde7d(0x1ac)],..._0x50e569,_0x6cde7d(0x1ea)+_0x24fcea[_0x6cde7d(0x1e3)]+'\x20{',..._0x24fcea[_0x6cde7d(0x1f9)][_0x6cde7d(0x1d4)](_0x2593a0=>[...m(d(_0x2593a0['member']),'\x20\x20'),'\x20\x20'+h(_0x2593a0['member'])]),'}',...x([...new Map(_0x24fcea['entries'][_0x6cde7d(0x1d4)](_0x10deba=>_0x10deba[_0x6cde7d(0x1c3)])[_0x6cde7d(0x217)](_0x4cf3b0=>[_0x4cf3b0[_0x6cde7d(0x211)],_0x4cf3b0]))[_0x6cde7d(0x1ba)]()])]['join']('\x0a');}return _0x24fcea[_0x6cde7d(0x1c0)]===_0x6cde7d(0x21e)?[b(_0x24fcea['type']),..._0x24fcea[_0x6cde7d(0x1a0)][_0x6cde7d(0x1d4)](_0x43e62d=>['',_0x6cde7d(0x1ad)+_0x43e62d['name'],b(_0x43e62d)]),...x(_0x24fcea[_0x6cde7d(0x1c3)])]['join']('\x0a'):_0x6cde7d(0x225)in _0x24fcea[_0x6cde7d(0x1fa)]?_0x6cde7d(0x1b4)+_0x24fcea['declaredBy'][_0x6cde7d(0x1ac)]+'\x0adeclare\x20enum\x20'+_0x24fcea['declaredBy'][_0x6cde7d(0x211)]+_0x6cde7d(0x1f0)+_0x24fcea[_0x6cde7d(0x1fa)][_0x6cde7d(0x211)]+'\x20=\x20'+v(_0x24fcea[_0x6cde7d(0x1fa)]['value'])+_0x6cde7d(0x1c6):['//\x20package:\x20'+_0x24fcea['declaredBy'][_0x6cde7d(0x1ac)]+(_0x24fcea['declaredBy'][_0x6cde7d(0x211)]===_0x24fcea['requestedType']['name']?'':_0x6cde7d(0x221)+_0x24fcea[_0x6cde7d(0x1c9)][_0x6cde7d(0x211)]),_0x6cde7d(0x223)+_0x24fcea['requestedType'][_0x6cde7d(0x211)]+'\x20{',...y(_0x24fcea['member'],!0x0),'}',...x(_0x24fcea['appendix'])][_0x6cde7d(0x1fd)]('\x0a');}function C(_0x3511b9){const _0x166d9e=_0x150c;let _0x42adc4=_0x3511b9[_0x166d9e(0x1a9)][_0x166d9e(0x202)]===0x0?'':'\x0a\x20\x20Similar\x20'+(_0x3511b9['kind']===_0x166d9e(0x1fa)?_0x166d9e(0x206):_0x166d9e(0x1e2))+':\x20'+_0x3511b9['suggestions'][_0x166d9e(0x1fd)](',\x20');return _0x3511b9[_0x166d9e(0x1c0)]===_0x166d9e(0x1fa)?(_0x3511b9[_0x166d9e(0x1ce)]??'Symbol')+_0x166d9e(0x21b)+(_0x3511b9['member']??_0x166d9e(0x1fa))+_0x42adc4+_0x166d9e(0x215)+(_0x3511b9[_0x166d9e(0x1ce)]??_0x166d9e(0x1c2)):_0x166d9e(0x1b8)+_0x3511b9[_0x166d9e(0x1d6)]+_0x42adc4+_0x166d9e(0x21c);}function w(_0x35885f,_0x183b56){const _0x5aa79a=_0x150c;let _0x38decd=_0x35885f[_0x5aa79a(0x1b6)](),_0x38d694=_0x183b56[_0x5aa79a(0x1fc)](_0x53bd47=>_0x53bd47[_0x5aa79a(0x1a6)]===_0x5aa79a(0x1cd)),_0x2349d3=_0x183b56[_0x5aa79a(0x1fc)](_0x54effd=>_0x54effd[_0x5aa79a(0x1a6)]===_0x5aa79a(0x1ae)),_0x1d75f3=_0x183b56[_0x5aa79a(0x202)]>0x1;_0x38d694['length']>0x0&&_0x38decd[_0x5aa79a(0x1eb)]?.(''+_0x38d694[_0x5aa79a(0x217)](_0x98baf5=>_0x1d75f3?_0x5aa79a(0x1a1)+_0x98baf5[_0x5aa79a(0x1d6)]+'\x0a'+S(_0x98baf5):S(_0x98baf5))['join']('\x0a\x0a')+(_0x1d75f3&&_0x2349d3[_0x5aa79a(0x202)]===0x0?_0x5aa79a(0x1fb)+_0x38d694['length']+_0x5aa79a(0x1f4):'')+'\x0a'),_0x2349d3[_0x5aa79a(0x202)]>0x0&&_0x35885f[_0x5aa79a(0x1e0)]([..._0x2349d3[_0x5aa79a(0x217)](_0x7329fd=>_0x1d75f3?_0x5aa79a(0x1e1)+_0x7329fd[_0x5aa79a(0x1d6)]+'\x0a'+C(_0x7329fd):C(_0x7329fd)),..._0x1d75f3?[_0x5aa79a(0x19f)+_0x38d694['length']+'\x20found,\x20'+_0x2349d3['length']+_0x5aa79a(0x1e6)]:[]][_0x5aa79a(0x1fd)]('\x0a\x0a'),{'code':'api.reference.not-found','exitCode':0x1});}function T(_0x56dcba){const _0xed838d=_0x150c;let _0x4ecfd4=new _0x22cbe7(_0xed838d(0x1f7))['description']('Offline\x20Univer\x20Facade\x20API\x20reference')[_0xed838d(0x1ff)]('[symbols...]',_0xed838d(0x1d0))[_0xed838d(0x1a3)](_0x2b544c=>{const _0x56b109=_0xed838d;if(_0x2b544c[_0x56b109(0x202)]===0x0){_0x4ecfd4['outputHelp']();return;}w(_0x4ecfd4,_0x56dcba[_0x56b109(0x1af)]['show'](_0x2b544c));});return _0x4ecfd4[_0xed838d(0x204)]('find')[_0xed838d(0x214)](_0xed838d(0x1a4))[_0xed838d(0x1ff)]('<terms...>',_0xed838d(0x1a8))['addOption'](new _0x28044b(_0xed838d(0x1f3),_0xed838d(0x1f6))[_0xed838d(0x1d1)](_0x161449))[_0xed838d(0x1a3)]((_0x4dd6e3,_0x1af1ef)=>{const _0x3af31e=_0xed838d;let _0x22b024=_0x56dcba[_0x3af31e(0x1af)][_0x3af31e(0x1bf)]({'terms':_0x4dd6e3,..._0x1af1ef['unit']===void 0x0?{}:{'unit':_0x1af1ef[_0x3af31e(0x201)]}});_0x4ecfd4[_0x3af31e(0x1b6)]()['writeOut']?.(l(_0x22b024,_0x1af1ef['unit'])+'\x0a');}),_0x4ecfd4[_0xed838d(0x204)](_0xed838d(0x1b2))['description'](_0xed838d(0x21a))[_0xed838d(0x1ff)](_0xed838d(0x1c1),_0xed838d(0x21d))[_0xed838d(0x1a3)](_0x25e7a4=>{const _0x1fe1e5=_0xed838d;w(_0x4ecfd4,_0x56dcba[_0x1fe1e5(0x1af)][_0x1fe1e5(0x1b2)](_0x25e7a4));}),_0x4ecfd4;}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.5.2",
4
+ "version": "1.6.1",
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.5.2"
21
+ "@univer-cli/api-reference": "1.6.1"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "commander": "^15.0.0"