@univer-cli/api-reference-command 1.6.0 → 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(_0x18d2b3,_0x2c2e8e){const _0x1adc07=_0x14b5,_0x4f6d02=_0x18d2b3();while(!![]){try{const _0x1dbbbb=-parseInt(_0x1adc07(0x17a))/0x1*(-parseInt(_0x1adc07(0x10f))/0x2)+parseInt(_0x1adc07(0x15a))/0x3*(-parseInt(_0x1adc07(0x17d))/0x4)+parseInt(_0x1adc07(0x14c))/0x5+-parseInt(_0x1adc07(0x183))/0x6+parseInt(_0x1adc07(0x18c))/0x7*(-parseInt(_0x1adc07(0x157))/0x8)+-parseInt(_0x1adc07(0x126))/0x9*(-parseInt(_0x1adc07(0x15c))/0xa)+-parseInt(_0x1adc07(0x11a))/0xb;if(_0x1dbbbb===_0x2c2e8e)break;else _0x4f6d02['push'](_0x4f6d02['shift']());}catch(_0x16a219){_0x4f6d02['push'](_0x4f6d02['shift']());}}}(_0x1e4f,0x196c4));import{API_REFERENCE_UNITS as _0x409e9d}from'@univer-cli/api-reference';import{Command as _0xdfd082,Option as _0x22d8f4}from'commander';function _0x14b5(_0x856619,_0x26a1a5){_0x856619=_0x856619-0x10a;const _0x1e4fda=_0x1e4f();let _0x14b5cb=_0x1e4fda[_0x856619];return _0x14b5cb;}var r=0x48,i=0x5a;function a(_0x2adf1b){const _0x33a4f0=_0x14b5;return(_0x2adf1b[_0x33a4f0(0x165)](/^(.*?[.。])(\s|$)/u)?.[0x1]??_0x2adf1b)[_0x33a4f0(0x148)]();}function o(_0x5d4e4f,_0x1bd2f5){return _0x5d4e4f['length']>_0x1bd2f5?_0x5d4e4f['slice'](0x0,_0x1bd2f5-0x1)+'…':_0x5d4e4f;}function s(_0x10b9a8){const _0x2ef8ca=_0x14b5;let _0x57a673=_0x10b9a8[_0x2ef8ca(0x152)]===''?'':_0x2ef8ca(0x16f)+a(_0x10b9a8['summary']);return'['+_0x10b9a8[_0x2ef8ca(0x15b)]+']\x20'+o(_0x10b9a8[_0x2ef8ca(0x178)],r)+o(_0x57a673,i)+_0x2ef8ca(0x113)+_0x10b9a8[_0x2ef8ca(0x16a)]+']';}function c(_0x2c3c98,_0x2b7bfd){const _0x10f288=_0x14b5;if(_0x2c3c98['matches'][_0x10f288(0x18b)]===0x0){let _0x1d0008=_0x2b7bfd===void 0x0?'':_0x10f288(0x17c)+_0x2b7bfd+')';return _0x10f288(0x10c)+_0x2c3c98[_0x10f288(0x14f)]+'\x22'+_0x1d0008+_0x10f288(0x155)+(_0x2b7bfd===void 0x0?'':',\x20drop\x20--unit')+',\x20or\x20api\x20show\x20<Class>\x20to\x20browse\x20a\x20whole\x20class.';}let _0x4b1613=_0x2c3c98['matches'][_0x10f288(0x144)](s),_0x282d3c=_0x2c3c98[_0x10f288(0x159)]-_0x2c3c98[_0x10f288(0x15e)][_0x10f288(0x18b)];return _0x282d3c>0x0&&_0x4b1613[_0x10f288(0x124)]('…\x20'+_0x282d3c+_0x10f288(0x185)),_0x4b1613[_0x10f288(0x172)]('\x0a');}function l(_0x569e95,_0x33fcbf){const _0x595d11=_0x14b5;return _0x569e95['map'](_0x5f1cb2=>{const _0x3ff0c2=_0x14b5;let _0x55cd15=c(_0x5f1cb2,_0x33fcbf);return _0x569e95[_0x3ff0c2(0x18b)]>0x1?_0x3ff0c2(0x16b)+_0x5f1cb2[_0x3ff0c2(0x14f)]+_0x3ff0c2(0x111)+_0x55cd15:_0x55cd15;})[_0x595d11(0x172)]('\x0a\x0a');}function u(_0x3387aa){const _0x50372f=_0x14b5;return _0x3387aa[_0x50372f(0x160)](/\n\s*\n/u,0x1)[0x0]?.[_0x50372f(0x148)]()??'';}function d(_0x50bd8f){const _0x5d3e3d=_0x14b5;return _0x50bd8f[_0x5d3e3d(0x13b)]===void 0x0?{'description':_0x50bd8f['summary'],'tags':_0x50bd8f['example']===''?[]:[{'name':'example','text':_0x50bd8f['example']}]}:_0x50bd8f['documentation'];}function f(_0x3693c8){const _0x24173c=_0x14b5;return _0x3693c8[_0x24173c(0x13b)]??{'description':_0x3693c8[_0x24173c(0x152)],'tags':[]};}function p(_0x23f9df){const _0x18e56b=_0x14b5;let _0x3bca3f=_0x23f9df['type']===void 0x0?'':'\x20{'+_0x23f9df[_0x18e56b(0x128)]+'}',_0x91343d=_0x23f9df[_0x18e56b(0x14b)]===void 0x0?'':'\x20'+_0x23f9df[_0x18e56b(0x14b)],[_0x470156='',..._0xca2f42]=_0x23f9df['text']===''?[]:_0x23f9df[_0x18e56b(0x118)][_0x18e56b(0x160)]('\x0a');return _0x23f9df[_0x18e56b(0x11f)]==='example'&&_0x470156[_0x18e56b(0x153)]()[_0x18e56b(0x18e)](_0x18e56b(0x16c))?['@'+_0x23f9df[_0x18e56b(0x11f)]+_0x3bca3f+_0x91343d,_0x470156,..._0xca2f42]:['@'+_0x23f9df[_0x18e56b(0x11f)]+_0x3bca3f+_0x91343d+(_0x470156===''?'':'\x20'+_0x470156),..._0xca2f42];}function m(_0x2b96ce,_0x3edcd1='',_0xa4a1de=!0x1){const _0x1f62b2=_0x14b5;if(_0x2b96ce===void 0x0)return[];let _0x2c31ce=_0xa4a1de?u(_0x2b96ce[_0x1f62b2(0x10e)]):_0x2b96ce[_0x1f62b2(0x10e)],_0x1a523c=_0x2b96ce[_0x1f62b2(0x18a)][_0x1f62b2(0x123)](p),_0xc3a9ba=[..._0x2c31ce[_0x1f62b2(0x160)]('\x0a'),..._0xa4a1de||_0x1a523c[_0x1f62b2(0x18b)]===0x0?[]:['',..._0x1a523c]];for(;_0xc3a9ba['at'](-0x1)==='';)_0xc3a9ba['pop']();return _0xc3a9ba[_0x1f62b2(0x130)](_0x4b0782=>_0x4b0782==='')?[]:[_0x3edcd1+_0x1f62b2(0x115),..._0xc3a9ba[_0x1f62b2(0x144)](_0x3b2abf=>_0x3edcd1+'\x20*'+(_0x3b2abf===''?'':'\x20'+_0x3b2abf)),_0x3edcd1+_0x1f62b2(0x12d)];}function _0x1e4f(){const _0x332b4b=['reduce','join','declare\x20class\x20','number','exact\x20symbols;\x20shorthand\x20for\x20api\x20show','one\x20or\x20more\x20exact\x20API\x20symbols','//\x20[not-found]\x20','signature','limit\x20results\x20to\x20one\x20unit\x20while\x20retaining\x20shared\x20APIs','58NFVgkl','not-found','\x20(filtered\x20by\x20--unit\x20','140hEmNzF','interface\x20','replaceAll',';\x20inherited\x20from\x20','relation','Find\x20API\x20methods,\x20types,\x20fields,\x20and\x20enums\x20by\x20keyword','165174CsKtlO','signatures','\x20more.\x20Narrow\x20with\x20a\x20longer\x20substring,\x20or\x20api\x20show\x20<symbol>\x20for\x20details.','owner','inherited','declarationKind','one\x20or\x20more\x20terms,\x20searched\x20independently','tags','length','44177azEfdU','filter','startsWith','declaredBy','<terms...>','No\x20API\x20matches\x20\x22','definition','description','4706jZowUu','//\x20inherited\x20declaration\x20from\x20','\x20══\x0a','enum','\x20\x20[','<Class>','/**','own','aliases','text','appendix','2622752KCLtXd','extends','argument','find','error','name','readonly\x20','alias','values','flatMap','push','suggestions','189wHecaK','\x0a\x0a//\x20batch:\x20','type','value','Unknown\x20symbol:\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.','<symbols...>','\x20*/','unit','members','every','\x0adeclare\x20enum\x20','//\x20batch:\x20','//\x20directly\x20referenced\x20types','entries','\x20extends\x20','Offline\x20Univer\x20Facade\x20API\x20reference','//\x20[found]\x20','requestedType','//\x20package:\x20','action','documentation','//\x20full\x20member\x20docs:\x20api\x20show\x20','//\x20','show','reference','\x20supported\x20members','member','class','outputHelp','map','composed','\x20=\x20','configureOutput','trim',';\x20runtime\x20aliases:\x20','\x0a\x20\x20List\x20all:\x20api\x20show\x20','subject','1029910vlpWmV','symbols','declaration','term','relationOwner','found','summary','trimStart','writeOut','.\x20Try\x20a\x20shorter\x20substring','groups','40OuUlvn','\x20not\x20found','totalMatches','9699IZdRyc','kind','82070rfOjEO','api','matches','type\x20','split','\x20has\x20no\x20','includes','query','\x20\x20/**\x20','match','.<member>','\x20found,\x200\x20not\x20found','command','status','packageName','══\x20','```',',\x0a}','readonly','\x20\x20—\x20','Show\x20exact\x20API\x20classes,\x20members,\x20types,\x20fields,\x20or\x20enum\x20values'];_0x1e4f=function(){return _0x332b4b;};return _0x1e4f();}function h(_0x3ffe77){const _0x3d86a1=_0x14b5;return''+((_0x3ffe77['kind']==='getter'||_0x3ffe77[_0x3d86a1(0x16e)])&&!_0x3ffe77[_0x3d86a1(0x178)][_0x3d86a1(0x18e)](_0x3d86a1(0x120))?_0x3d86a1(0x120):'')+_0x3ffe77[_0x3d86a1(0x178)]+';';}function g(_0x315bfd){const _0x50091f=_0x14b5;let _0x211e48=_0x315bfd[_0x50091f(0x152)]['trim']();return[..._0x211e48===''?[]:[_0x50091f(0x164)+_0x211e48[_0x50091f(0x17f)]('*/','*\x5c/')+'\x20*/'],'\x20\x20'+h(_0x315bfd)];}function _(_0x74a4c4,_0x32b777,_0x3d4135,_0x122227){const _0x190995=_0x14b5;let _0x56c7a9=_0x32b777===_0x190995(0x116)?[]:['//\x20'+(_0x32b777===_0x190995(0x187)?_0x190995(0x187):_0x190995(0x145))+'\x20member\x20projection\x20from\x20'+_0x74a4c4],_0x130ea7=_0x32b777===_0x190995(0x116)?_0x122227:_0x32b777===_0x190995(0x187)?_0x190995(0x173)+_0x74a4c4:_0x190995(0x17e)+_0x74a4c4;return[..._0x56c7a9,_0x130ea7+'\x20{',..._0x3d4135[_0x190995(0x123)](g),'}'];}function v(_0x2addfa){const _0xef16fe=_0x14b5;return typeof _0x2addfa==_0xef16fe(0x174)?String(_0x2addfa):JSON['stringify'](_0x2addfa);}function y(_0x4e66f5,_0x52466d=!0x1){const _0x546325=_0x14b5;let _0x202290=_0x4e66f5['documentation']??(_0x4e66f5[_0x546325(0x152)]===void 0x0?void 0x0:{'description':_0x4e66f5[_0x546325(0x152)],'tags':[]}),_0x577490=_0x4e66f5['type'][_0x546325(0x18e)]('(')&&!_0x4e66f5[_0x546325(0x128)][_0x546325(0x162)]('=>')?'':':\x20',_0x4b2395=_0x4e66f5[_0x546325(0x14e)]??''+_0x4e66f5[_0x546325(0x11f)]+(_0x4e66f5['optional']?'?':'')+_0x577490+_0x4e66f5[_0x546325(0x128)];return[...m(_0x202290,'\x20\x20',!_0x52466d),'\x20\x20'+_0x4b2395+';'];}function b(_0x59b0c6,_0x387118=!0x1){const _0x5d32c0=_0x14b5;let _0x201acf=_0x59b0c6[_0x5d32c0(0x117)]??[],_0x1a66f9=['//\x20package:\x20'+_0x59b0c6[_0x5d32c0(0x16a)]+(_0x201acf[_0x5d32c0(0x18b)]===0x0?'':_0x5d32c0(0x149)+_0x201acf[_0x5d32c0(0x172)](',\x20')),...m(f(_0x59b0c6))];if(_0x59b0c6['kind']===_0x5d32c0(0x112))return _0x1a66f9[_0x5d32c0(0x124)]('declare\x20enum\x20'+(_0x59b0c6['declaration']??_0x59b0c6[_0x5d32c0(0x11f)])+'\x20{',...(_0x59b0c6[_0x5d32c0(0x122)]??[])[_0x5d32c0(0x144)](_0x225d28=>'\x20\x20'+_0x225d28[_0x5d32c0(0x11f)]+_0x5d32c0(0x146)+v(_0x225d28[_0x5d32c0(0x129)])+','),'}'),_0x1a66f9[_0x5d32c0(0x172)]('\x0a');if(_0x59b0c6['kind']===_0x5d32c0(0x121))return _0x1a66f9['push'](_0x5d32c0(0x15f)+(_0x59b0c6[_0x5d32c0(0x14e)]??_0x59b0c6[_0x5d32c0(0x11f)]+_0x5d32c0(0x146)+(_0x59b0c6[_0x5d32c0(0x10d)]??'unknown'))+';'),_0x1a66f9[_0x5d32c0(0x172)]('\x0a');let _0x217976=_0x59b0c6[_0x5d32c0(0x11b)]===void 0x0?'':_0x5d32c0(0x135)+_0x59b0c6[_0x5d32c0(0x11b)];return _0x1a66f9[_0x5d32c0(0x124)](_0x5d32c0(0x17e)+(_0x59b0c6['declaration']??''+_0x59b0c6[_0x5d32c0(0x11f)]+_0x217976)+'\x20{',...(_0x59b0c6['members']??[])[_0x5d32c0(0x123)](_0x38477c=>y(_0x38477c,_0x387118)),...(_0x59b0c6[_0x5d32c0(0x184)]??[])[_0x5d32c0(0x144)](_0xd67b55=>'\x20\x20'+_0xd67b55+';'),'}'),_0x1a66f9[_0x5d32c0(0x172)]('\x0a');}function x(_0x25e2f6){const _0x436f2f=_0x14b5;return _0x25e2f6[_0x436f2f(0x18b)]===0x0?[]:['',_0x436f2f(0x133),..._0x25e2f6[_0x436f2f(0x123)]((_0x5a1461,_0x5b94aa)=>[..._0x5b94aa===0x0?[]:[''],b(_0x5a1461)])];}function S(_0x483252){const _0xe74f73=_0x14b5;if(_0x483252[_0xe74f73(0x169)]===_0xe74f73(0x17b))return'';if(_0x483252['kind']===_0xe74f73(0x142)){let _0x195c78=_0x483252['groups'][_0xe74f73(0x171)]((_0x57d365,_0x2dd9e3)=>_0x57d365+_0x2dd9e3['members'][_0xe74f73(0x18b)],0x0),_0x4ef0f9=_0x483252[_0xe74f73(0x156)][_0xe74f73(0x11d)](_0x208a2a=>_0x208a2a[_0xe74f73(0x181)]===_0xe74f73(0x116)),_0x3d57f1=_0x483252['declarationKind']==='class'?_0xe74f73(0x173)+_0x483252[_0xe74f73(0x14e)]:_0xe74f73(0x15f)+_0x483252[_0xe74f73(0x14e)],_0x3ec7ff=[_0xe74f73(0x139)+_0x483252[_0xe74f73(0x16a)]+';\x20'+_0x195c78+_0xe74f73(0x140),...m(_0x483252[_0xe74f73(0x13b)])];_0x483252[_0xe74f73(0x188)]==='alias'?(_0x3ec7ff[_0xe74f73(0x124)](_0x3d57f1+';'),_0x4ef0f9!==void 0x0&&_0x3ec7ff[_0xe74f73(0x124)]('',..._(_0x4ef0f9[_0xe74f73(0x186)],_0xe74f73(0x116),_0x4ef0f9['members'],_0xe74f73(0x17e)+_0x4ef0f9['owner']))):_0x3ec7ff[_0xe74f73(0x124)](..._(_0x483252[_0xe74f73(0x11f)],_0xe74f73(0x116),_0x4ef0f9?.[_0xe74f73(0x12f)]??[],_0x3d57f1));for(let _0x5359d3 of _0x483252[_0xe74f73(0x156)]['filter'](_0x552bb7=>_0x552bb7[_0xe74f73(0x181)]!==_0xe74f73(0x116)))_0x3ec7ff['push']('',..._(_0x5359d3[_0xe74f73(0x186)],_0x5359d3[_0xe74f73(0x181)],_0x5359d3[_0xe74f73(0x12f)],_0x3d57f1));return _0x3ec7ff[_0xe74f73(0x124)]('',_0xe74f73(0x13c)+_0x483252[_0xe74f73(0x11f)]+_0xe74f73(0x166)),_0x3ec7ff[_0xe74f73(0x172)]('\x0a');}if(_0x483252[_0xe74f73(0x15b)]===_0xe74f73(0x141)){let [_0x3ae07d]=_0x483252[_0xe74f73(0x134)];if(_0x3ae07d===void 0x0)return'';let _0x2a5d94=_0x3ae07d[_0xe74f73(0x181)]==='own'?[]:[_0xe74f73(0x13d)+_0x3ae07d[_0xe74f73(0x181)]+'\x20from\x20'+_0x3ae07d[_0xe74f73(0x150)]];return[_0xe74f73(0x139)+_0x3ae07d['member'][_0xe74f73(0x16a)],..._0x2a5d94,'declare\x20class\x20'+_0x483252['target']+'\x20{',..._0x483252[_0xe74f73(0x134)][_0xe74f73(0x123)](_0x3acb30=>[...m(d(_0x3acb30[_0xe74f73(0x141)]),'\x20\x20'),'\x20\x20'+h(_0x3acb30[_0xe74f73(0x141)])]),'}',...x([...new Map(_0x483252[_0xe74f73(0x134)][_0xe74f73(0x123)](_0x51404c=>_0x51404c['appendix'])[_0xe74f73(0x144)](_0x3e6817=>[_0x3e6817[_0xe74f73(0x11f)],_0x3e6817]))[_0xe74f73(0x122)]()])][_0xe74f73(0x172)]('\x0a');}return _0x483252[_0xe74f73(0x15b)]===_0xe74f73(0x128)?[b(_0x483252['type']),..._0x483252[_0xe74f73(0x187)][_0xe74f73(0x123)](_0x407b14=>['',_0xe74f73(0x110)+_0x407b14[_0xe74f73(0x11f)],b(_0x407b14)]),...x(_0x483252[_0xe74f73(0x119)])][_0xe74f73(0x172)]('\x0a'):'value'in _0x483252[_0xe74f73(0x141)]?_0xe74f73(0x139)+_0x483252['declaredBy'][_0xe74f73(0x16a)]+_0xe74f73(0x131)+_0x483252['declaredBy']['name']+'\x20{\x0a\x20\x20'+_0x483252['member'][_0xe74f73(0x11f)]+_0xe74f73(0x146)+v(_0x483252[_0xe74f73(0x141)][_0xe74f73(0x129)])+_0xe74f73(0x16d):[_0xe74f73(0x139)+_0x483252[_0xe74f73(0x10a)][_0xe74f73(0x16a)]+(_0x483252[_0xe74f73(0x10a)][_0xe74f73(0x11f)]===_0x483252[_0xe74f73(0x138)][_0xe74f73(0x11f)]?'':_0xe74f73(0x180)+_0x483252[_0xe74f73(0x10a)]['name']),_0xe74f73(0x17e)+_0x483252[_0xe74f73(0x138)][_0xe74f73(0x11f)]+'\x20{',...y(_0x483252['member'],!0x0),'}',...x(_0x483252[_0xe74f73(0x119)])][_0xe74f73(0x172)]('\x0a');}function C(_0x4a5404){const _0x51f1b4=_0x14b5;let _0x292d5d=_0x4a5404[_0x51f1b4(0x125)][_0x51f1b4(0x18b)]===0x0?'':'\x0a\x20\x20Similar\x20'+(_0x4a5404[_0x51f1b4(0x15b)]===_0x51f1b4(0x141)?'methods':_0x51f1b4(0x14d))+':\x20'+_0x4a5404['suggestions'][_0x51f1b4(0x172)](',\x20');return _0x4a5404[_0x51f1b4(0x15b)]===_0x51f1b4(0x141)?(_0x4a5404[_0x51f1b4(0x186)]??'Symbol')+_0x51f1b4(0x161)+(_0x4a5404['member']??'member')+_0x292d5d+_0x51f1b4(0x14a)+(_0x4a5404['owner']??_0x51f1b4(0x114)):_0x51f1b4(0x12a)+_0x4a5404['query']+_0x292d5d+_0x51f1b4(0x12b);}function w(_0x49a182,_0x1bad69){const _0x16404b=_0x14b5;let _0x171f0a=_0x49a182[_0x16404b(0x147)](),_0x375e8b=_0x1bad69[_0x16404b(0x18d)](_0x130af2=>_0x130af2[_0x16404b(0x169)]===_0x16404b(0x151)),_0x41d54e=_0x1bad69[_0x16404b(0x18d)](_0x4a79dc=>_0x4a79dc[_0x16404b(0x169)]===_0x16404b(0x17b)),_0x156100=_0x1bad69[_0x16404b(0x18b)]>0x1;_0x375e8b[_0x16404b(0x18b)]>0x0&&_0x171f0a[_0x16404b(0x154)]?.(''+_0x375e8b[_0x16404b(0x144)](_0x10b8c4=>_0x156100?_0x16404b(0x137)+_0x10b8c4[_0x16404b(0x163)]+'\x0a'+S(_0x10b8c4):S(_0x10b8c4))['join']('\x0a\x0a')+(_0x156100&&_0x41d54e[_0x16404b(0x18b)]===0x0?_0x16404b(0x127)+_0x375e8b['length']+_0x16404b(0x167):'')+'\x0a'),_0x41d54e[_0x16404b(0x18b)]>0x0&&_0x49a182[_0x16404b(0x11e)]([..._0x41d54e[_0x16404b(0x144)](_0x2eea00=>_0x156100?_0x16404b(0x177)+_0x2eea00['query']+'\x0a'+C(_0x2eea00):C(_0x2eea00)),..._0x156100?[_0x16404b(0x132)+_0x375e8b[_0x16404b(0x18b)]+'\x20found,\x20'+_0x41d54e[_0x16404b(0x18b)]+_0x16404b(0x158)]:[]][_0x16404b(0x172)]('\x0a\x0a'),{'code':'api.reference.not-found','exitCode':0x1});}function T(_0x536c43){const _0x1b20db=_0x14b5;let _0x161e41=new _0xdfd082(_0x1b20db(0x15d))['description'](_0x1b20db(0x136))[_0x1b20db(0x11c)]('[symbols...]',_0x1b20db(0x175))[_0x1b20db(0x13a)](_0xaba093=>{const _0x520127=_0x1b20db;if(_0xaba093[_0x520127(0x18b)]===0x0){_0x161e41[_0x520127(0x143)]();return;}w(_0x161e41,_0x536c43[_0x520127(0x13f)][_0x520127(0x13e)](_0xaba093));});return _0x161e41[_0x1b20db(0x168)](_0x1b20db(0x11d))[_0x1b20db(0x10e)](_0x1b20db(0x182))[_0x1b20db(0x11c)](_0x1b20db(0x10b),_0x1b20db(0x189))['addOption'](new _0x22d8f4('--unit\x20<unit>',_0x1b20db(0x179))['choices'](_0x409e9d))[_0x1b20db(0x13a)]((_0x4868f7,_0x19c279)=>{const _0x4cb7ca=_0x1b20db;let _0x522b78=_0x536c43[_0x4cb7ca(0x13f)]['find']({'terms':_0x4868f7,..._0x19c279[_0x4cb7ca(0x12e)]===void 0x0?{}:{'unit':_0x19c279['unit']}});_0x161e41['configureOutput']()['writeOut']?.(l(_0x522b78,_0x19c279[_0x4cb7ca(0x12e)])+'\x0a');}),_0x161e41[_0x1b20db(0x168)](_0x1b20db(0x13e))[_0x1b20db(0x10e)](_0x1b20db(0x170))[_0x1b20db(0x11c)](_0x1b20db(0x12c),_0x1b20db(0x176))[_0x1b20db(0x13a)](_0x9fc177=>{const _0x33baa8=_0x1b20db;w(_0x161e41,_0x536c43[_0x33baa8(0x13f)][_0x33baa8(0x13e)](_0x9fc177));}),_0x161e41;}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.6.0",
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.6.0"
21
+ "@univer-cli/api-reference": "1.6.1"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "commander": "^15.0.0"