@univer-cli/api-reference-command 1.0.2 → 1.0.3

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(_0x2ea2a1,_0x5e731b){const _0x168ad3=_0x4642,_0x164038=_0x2ea2a1();while(!![]){try{const _0x265e01=-parseInt(_0x168ad3(0x18f))/0x1*(-parseInt(_0x168ad3(0x118))/0x2)+-parseInt(_0x168ad3(0x11f))/0x3*(parseInt(_0x168ad3(0x146))/0x4)+-parseInt(_0x168ad3(0x16f))/0x5*(parseInt(_0x168ad3(0x13a))/0x6)+parseInt(_0x168ad3(0x120))/0x7*(-parseInt(_0x168ad3(0x153))/0x8)+parseInt(_0x168ad3(0x165))/0x9*(parseInt(_0x168ad3(0x17f))/0xa)+parseInt(_0x168ad3(0x195))/0xb*(-parseInt(_0x168ad3(0x19b))/0xc)+parseInt(_0x168ad3(0x169))/0xd;if(_0x265e01===_0x5e731b)break;else _0x164038['push'](_0x164038['shift']());}catch(_0x3c4790){_0x164038['push'](_0x164038['shift']());}}}(_0x371f,0x8e93d));import{API_REFERENCE_UNITS as _0x381247}from'@univer-cli/api-reference';import{Command as _0x213ab2,Option as _0x1ec18d}from'commander';var r=0x48,i=0x5a;function a(_0x34e838){const _0x52790e=_0x4642;return(_0x34e838['match'](/^(.*?[.。])(\s|$)/u)?.[0x1]??_0x34e838)[_0x52790e(0x119)]();}function o(_0x1e2e3b,_0x1d8984){const _0x30c1af=_0x4642;return _0x1e2e3b[_0x30c1af(0x121)]>_0x1d8984?_0x1e2e3b[_0x30c1af(0x18e)](0x0,_0x1d8984-0x1)+'…':_0x1e2e3b;}function s(_0x300c6e){const _0x2e55ae=_0x4642;let _0x5e3569=_0x300c6e['summary']===''?'':_0x2e55ae(0x151)+a(_0x300c6e[_0x2e55ae(0x177)]);return'['+_0x300c6e[_0x2e55ae(0x17d)]+']\x20'+o(_0x300c6e[_0x2e55ae(0x164)],r)+o(_0x5e3569,i)+'\x20\x20['+_0x300c6e[_0x2e55ae(0x172)]+']';}function c(_0x63cb7b,_0x4adfb1){const _0x41a68f=_0x4642;if(_0x63cb7b[_0x41a68f(0x160)][_0x41a68f(0x121)]===0x0){let _0x331c2c=_0x4adfb1===void 0x0?'':'\x20(filtered\x20by\x20--unit\x20'+_0x4adfb1+')';return _0x41a68f(0x13b)+_0x63cb7b[_0x41a68f(0x182)]+'\x22'+_0x331c2c+_0x41a68f(0x163)+(_0x4adfb1===void 0x0?'':_0x41a68f(0x175))+_0x41a68f(0x166);}let _0xa53f22=_0x63cb7b[_0x41a68f(0x160)][_0x41a68f(0x124)](s),_0x46ff92=_0x63cb7b[_0x41a68f(0x16e)]-_0x63cb7b['matches'][_0x41a68f(0x121)];return _0x46ff92>0x0&&_0xa53f22['push']('…\x20'+_0x46ff92+'\x20more.\x20Narrow\x20with\x20a\x20longer\x20substring,\x20or\x20api\x20show\x20<symbol>\x20for\x20details.'),_0xa53f22[_0x41a68f(0x168)]('\x0a');}function l(_0x416b49,_0x5ec55b){const _0x3df903=_0x4642;return _0x416b49[_0x3df903(0x124)](_0x2be4c4=>{const _0x231c46=_0x3df903;let _0x54ea75=c(_0x2be4c4,_0x5ec55b);return _0x416b49['length']>0x1?_0x231c46(0x11b)+_0x2be4c4[_0x231c46(0x182)]+_0x231c46(0x174)+_0x54ea75:_0x54ea75;})[_0x3df903(0x168)]('\x0a\x0a');}function u(_0x486adc){const _0x462d7d=_0x4642;return _0x486adc[_0x462d7d(0x12f)](/\n\s*\n/u,0x1)[0x0]?.[_0x462d7d(0x119)]()??'';}function d(_0x585cf4){const _0x455d67=_0x4642;return _0x585cf4['documentation']===void 0x0?{'description':_0x585cf4[_0x455d67(0x177)],'tags':_0x585cf4[_0x455d67(0x14a)]===''?[]:[{'name':_0x455d67(0x14a),'text':_0x585cf4[_0x455d67(0x14a)]}]}:_0x585cf4[_0x455d67(0x130)];}function f(_0x557e2a){const _0x306590=_0x4642;return _0x557e2a[_0x306590(0x130)]??{'description':_0x557e2a[_0x306590(0x177)],'tags':[]};}function p(_0x14224c){const _0x3f2484=_0x4642;let _0xaa4f55=_0x14224c['type']===void 0x0?'':'\x20{'+_0x14224c[_0x3f2484(0x15f)]+'}',_0x36ae7b=_0x14224c[_0x3f2484(0x133)]===void 0x0?'':'\x20'+_0x14224c[_0x3f2484(0x133)],[_0x47a83e='',..._0xb8c175]=_0x14224c[_0x3f2484(0x149)]===''?[]:_0x14224c[_0x3f2484(0x149)][_0x3f2484(0x12f)]('\x0a');return _0x14224c['name']===_0x3f2484(0x14a)&&_0x47a83e['trimStart']()['startsWith'](_0x3f2484(0x15e))?['@'+_0x14224c[_0x3f2484(0x14d)]+_0xaa4f55+_0x36ae7b,_0x47a83e,..._0xb8c175]:['@'+_0x14224c['name']+_0xaa4f55+_0x36ae7b+(_0x47a83e===''?'':'\x20'+_0x47a83e),..._0xb8c175];}function m(_0x18bcd1,_0x2301b1='',_0x3fbfc1=!0x1){const _0x454fb2=_0x4642;if(_0x18bcd1===void 0x0)return[];let _0x21adb2=_0x3fbfc1?u(_0x18bcd1[_0x454fb2(0x12a)]):_0x18bcd1[_0x454fb2(0x12a)],_0x2cb847=_0x18bcd1['tags']['flatMap'](p),_0x47d853=[..._0x21adb2['split']('\x0a'),..._0x3fbfc1||_0x2cb847[_0x454fb2(0x121)]===0x0?[]:['',..._0x2cb847]];for(;_0x47d853['at'](-0x1)==='';)_0x47d853[_0x454fb2(0x19e)]();return _0x47d853[_0x454fb2(0x194)](_0x113ab5=>_0x113ab5==='')?[]:[_0x2301b1+_0x454fb2(0x157),..._0x47d853[_0x454fb2(0x124)](_0x3d8233=>_0x2301b1+'\x20*'+(_0x3d8233===''?'':'\x20'+_0x3d8233)),_0x2301b1+_0x454fb2(0x139)];}function h(_0x6c576e){const _0x403613=_0x4642;return''+((_0x6c576e['kind']===_0x403613(0x13e)||_0x6c576e[_0x403613(0x140)])&&!_0x6c576e[_0x403613(0x164)]['startsWith']('readonly\x20')?_0x403613(0x189):'')+_0x6c576e[_0x403613(0x164)]+';';}function g(_0x41d986){const _0x4d519a=_0x4642;let _0x66c23a=_0x41d986[_0x4d519a(0x177)][_0x4d519a(0x119)]();return[..._0x66c23a===''?[]:['\x20\x20/**\x20'+_0x66c23a[_0x4d519a(0x12b)]('*/','*\x5c/')+_0x4d519a(0x139)],'\x20\x20'+h(_0x41d986)];}function _(_0x12f3d1,_0x12e1d3,_0x33f01b,_0x544d6b){const _0x59e6f1=_0x4642;let _0xf398ae=_0x12e1d3===_0x59e6f1(0x18b)?[]:[_0x59e6f1(0x116)+(_0x12e1d3===_0x59e6f1(0x184)?_0x59e6f1(0x184):_0x59e6f1(0x192))+_0x59e6f1(0x193)+_0x12f3d1],_0x1696bd=_0x12e1d3===_0x59e6f1(0x18b)?_0x544d6b:_0x12e1d3==='inherited'?_0x59e6f1(0x14f)+_0x12f3d1:_0x59e6f1(0x15c)+_0x12f3d1;return[..._0xf398ae,_0x1696bd+'\x20{',..._0x33f01b[_0x59e6f1(0x123)](g),'}'];}function v(_0x5319a5){return typeof _0x5319a5=='number'?String(_0x5319a5):JSON['stringify'](_0x5319a5);}function y(_0x2dad01,_0x28e35d=!0x1){const _0x44b3c5=_0x4642;let _0x3ac9d5=_0x2dad01[_0x44b3c5(0x130)]??(_0x2dad01[_0x44b3c5(0x177)]===void 0x0?void 0x0:{'description':_0x2dad01['summary'],'tags':[]}),_0x124e12=_0x2dad01[_0x44b3c5(0x15f)][_0x44b3c5(0x11c)]('(')&&!_0x2dad01[_0x44b3c5(0x15f)][_0x44b3c5(0x171)]('=>')?'':':\x20',_0x4b26ca=_0x2dad01[_0x44b3c5(0x134)]??''+_0x2dad01[_0x44b3c5(0x14d)]+(_0x2dad01[_0x44b3c5(0x183)]?'?':'')+_0x124e12+_0x2dad01[_0x44b3c5(0x15f)];return[...m(_0x3ac9d5,'\x20\x20',!_0x28e35d),'\x20\x20'+_0x4b26ca+';'];}function b(_0x2ab379,_0xd0710=!0x1){const _0x4d82fc=_0x4642;let _0x1846fd=_0x2ab379[_0x4d82fc(0x127)]??[],_0x577f30=['//\x20package:\x20'+_0x2ab379[_0x4d82fc(0x172)]+(_0x1846fd['length']===0x0?'':_0x4d82fc(0x126)+_0x1846fd[_0x4d82fc(0x168)](',\x20')),...m(f(_0x2ab379))];if(_0x2ab379[_0x4d82fc(0x17d)]===_0x4d82fc(0x17b))return _0x577f30['push'](_0x4d82fc(0x167)+(_0x2ab379[_0x4d82fc(0x134)]??_0x2ab379['name'])+'\x20{',...(_0x2ab379[_0x4d82fc(0x18a)]??[])['map'](_0x2e45c8=>'\x20\x20'+_0x2e45c8['name']+_0x4d82fc(0x128)+v(_0x2e45c8[_0x4d82fc(0x18c)])+','),'}'),_0x577f30[_0x4d82fc(0x168)]('\x0a');if(_0x2ab379[_0x4d82fc(0x17d)]===_0x4d82fc(0x12e))return _0x577f30[_0x4d82fc(0x13f)](_0x4d82fc(0x143)+(_0x2ab379[_0x4d82fc(0x134)]??_0x2ab379[_0x4d82fc(0x14d)]+'\x20=\x20'+(_0x2ab379[_0x4d82fc(0x191)]??_0x4d82fc(0x180)))+';'),_0x577f30[_0x4d82fc(0x168)]('\x0a');let _0x470452=_0x2ab379[_0x4d82fc(0x176)]===void 0x0?'':_0x4d82fc(0x115)+_0x2ab379['extends'];return _0x577f30[_0x4d82fc(0x13f)](_0x4d82fc(0x15c)+(_0x2ab379[_0x4d82fc(0x134)]??''+_0x2ab379['name']+_0x470452)+'\x20{',...(_0x2ab379[_0x4d82fc(0x170)]??[])[_0x4d82fc(0x123)](_0x249304=>y(_0x249304,_0xd0710)),...(_0x2ab379[_0x4d82fc(0x181)]??[])[_0x4d82fc(0x124)](_0x2e2658=>'\x20\x20'+_0x2e2658+';'),'}'),_0x577f30[_0x4d82fc(0x168)]('\x0a');}function x(_0x17ab58){const _0x23f01d=_0x4642;return _0x17ab58[_0x23f01d(0x121)]===0x0?[]:['',_0x23f01d(0x198),..._0x17ab58[_0x23f01d(0x123)]((_0x16988d,_0x4eaacb)=>[..._0x4eaacb===0x0?[]:[''],b(_0x16988d)])];}function S(_0x4b0802){const _0x15b942=_0x4642;if(_0x4b0802[_0x15b942(0x154)]===_0x15b942(0x137))return'';if(_0x4b0802['kind']===_0x15b942(0x135)){let _0x5b1795=_0x4b0802[_0x15b942(0x117)][_0x15b942(0x15b)]((_0x2c2c4b,_0x325248)=>_0x2c2c4b+_0x325248['members'][_0x15b942(0x121)],0x0),_0x36d910=_0x4b0802[_0x15b942(0x117)][_0x15b942(0x15a)](_0x180ed7=>_0x180ed7['relation']===_0x15b942(0x18b)),_0x4c5748=_0x4b0802[_0x15b942(0x141)]===_0x15b942(0x135)?_0x15b942(0x14f)+_0x4b0802['declaration']:_0x15b942(0x143)+_0x4b0802['declaration'],_0x21d419=['//\x20package:\x20'+_0x4b0802[_0x15b942(0x172)]+';\x20'+_0x5b1795+_0x15b942(0x199),...m(_0x4b0802[_0x15b942(0x130)])];_0x4b0802[_0x15b942(0x141)]==='alias'?(_0x21d419[_0x15b942(0x13f)](_0x4c5748+';'),_0x36d910!==void 0x0&&_0x21d419[_0x15b942(0x13f)]('',..._(_0x36d910[_0x15b942(0x19a)],_0x15b942(0x18b),_0x36d910['members'],_0x15b942(0x15c)+_0x36d910[_0x15b942(0x19a)]))):_0x21d419['push'](..._(_0x4b0802[_0x15b942(0x14d)],_0x15b942(0x18b),_0x36d910?.[_0x15b942(0x170)]??[],_0x4c5748));for(let _0x50dddf of _0x4b0802[_0x15b942(0x117)][_0x15b942(0x150)](_0x42cf1f=>_0x42cf1f[_0x15b942(0x138)]!==_0x15b942(0x18b)))_0x21d419[_0x15b942(0x13f)]('',..._(_0x50dddf['owner'],_0x50dddf[_0x15b942(0x138)],_0x50dddf[_0x15b942(0x170)],_0x4c5748));return _0x21d419[_0x15b942(0x13f)]('',_0x15b942(0x161)+_0x4b0802[_0x15b942(0x14d)]+_0x15b942(0x125)),_0x21d419[_0x15b942(0x168)]('\x0a');}if(_0x4b0802[_0x15b942(0x17d)]===_0x15b942(0x152)){let [_0x4c2f60]=_0x4b0802[_0x15b942(0x16b)];if(_0x4c2f60===void 0x0)return'';let _0x59ded5=_0x4c2f60[_0x15b942(0x138)]===_0x15b942(0x18b)?[]:[_0x15b942(0x116)+_0x4c2f60['relation']+_0x15b942(0x15d)+_0x4c2f60[_0x15b942(0x19c)]];return[_0x15b942(0x14b)+_0x4c2f60[_0x15b942(0x152)][_0x15b942(0x172)],..._0x59ded5,'declare\x20class\x20'+_0x4b0802['target']+'\x20{',..._0x4b0802[_0x15b942(0x16b)]['flatMap'](_0x3bcd28=>[...m(d(_0x3bcd28[_0x15b942(0x152)]),'\x20\x20'),'\x20\x20'+h(_0x3bcd28[_0x15b942(0x152)])]),'}',...x([...new Map(_0x4b0802[_0x15b942(0x16b)][_0x15b942(0x123)](_0x293b38=>_0x293b38[_0x15b942(0x11a)])[_0x15b942(0x124)](_0xe37289=>[_0xe37289[_0x15b942(0x14d)],_0xe37289]))[_0x15b942(0x18a)]()])][_0x15b942(0x168)]('\x0a');}return _0x4b0802[_0x15b942(0x17d)]==='type'?[b(_0x4b0802[_0x15b942(0x15f)]),..._0x4b0802[_0x15b942(0x184)][_0x15b942(0x123)](_0x2a2ce1=>['','//\x20inherited\x20declaration\x20from\x20'+_0x2a2ce1['name'],b(_0x2a2ce1)]),...x(_0x4b0802['appendix'])][_0x15b942(0x168)]('\x0a'):_0x15b942(0x18c)in _0x4b0802[_0x15b942(0x152)]?_0x15b942(0x14b)+_0x4b0802['declaredBy'][_0x15b942(0x172)]+_0x15b942(0x11e)+_0x4b0802[_0x15b942(0x156)][_0x15b942(0x14d)]+_0x15b942(0x16a)+_0x4b0802[_0x15b942(0x152)]['name']+_0x15b942(0x128)+v(_0x4b0802['member'][_0x15b942(0x18c)])+',\x0a}':[_0x15b942(0x14b)+_0x4b0802['declaredBy'][_0x15b942(0x172)]+(_0x4b0802[_0x15b942(0x156)]['name']===_0x4b0802[_0x15b942(0x17c)]['name']?'':_0x15b942(0x12d)+_0x4b0802[_0x15b942(0x156)][_0x15b942(0x14d)]),_0x15b942(0x15c)+_0x4b0802['requestedType'][_0x15b942(0x14d)]+'\x20{',...y(_0x4b0802['member'],!0x0),'}',...x(_0x4b0802['appendix'])][_0x15b942(0x168)]('\x0a');}function C(_0x1c0c7e){const _0x1acc88=_0x4642;let _0x86d6c2=_0x1c0c7e[_0x1acc88(0x185)][_0x1acc88(0x121)]===0x0?'':_0x1acc88(0x16d)+(_0x1c0c7e[_0x1acc88(0x17d)]===_0x1acc88(0x152)?_0x1acc88(0x122):_0x1acc88(0x197))+':\x20'+_0x1c0c7e[_0x1acc88(0x185)][_0x1acc88(0x168)](',\x20');return _0x1c0c7e['kind']===_0x1acc88(0x152)?(_0x1c0c7e[_0x1acc88(0x19a)]??'Symbol')+_0x1acc88(0x11d)+(_0x1c0c7e[_0x1acc88(0x152)]??'member')+_0x86d6c2+_0x1acc88(0x13d)+(_0x1c0c7e['owner']??_0x1acc88(0x19d)):'Unknown\x20symbol:\x20'+_0x1c0c7e['query']+_0x86d6c2+_0x1acc88(0x147);}function _0x371f(){const _0x587fdd=['.<member>',';\x20runtime\x20aliases:\x20','aliases','\x20=\x20','exact\x20symbols;\x20shorthand\x20for\x20api\x20show','description','replaceAll','addOption',';\x20inherited\x20from\x20','alias','split','documentation','<terms...>','choices','subject','declaration','class','show','not-found','relation','\x20*/','3498Yalppk','No\x20API\x20matches\x20\x22','configureOutput','\x0a\x20\x20List\x20all:\x20api\x20show\x20','getter','push','readonly','declarationKind','outputHelp','type\x20','limit\x20results\x20to\x20one\x20unit\x20while\x20retaining\x20shared\x20APIs','action','120xIPzdF','\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...]','text','example','//\x20package:\x20','argument','name','Find\x20API\x20methods,\x20types,\x20fields,\x20and\x20enums\x20by\x20keyword','declare\x20class\x20','filter','\x20\x20—\x20','member','32TYOhJM','status','//\x20batch:\x20','declaredBy','/**','one\x20or\x20more\x20exact\x20API\x20symbols','writeOut','find','reduce','interface\x20','\x20from\x20','```','type','matches','//\x20full\x20member\x20docs:\x20api\x20show\x20','//\x20[found]\x20','.\x20Try\x20a\x20shorter\x20substring','signature','36KdKpHk',',\x20or\x20api\x20show\x20<Class>\x20to\x20browse\x20a\x20whole\x20class.','declare\x20enum\x20','join','21306402qmCzwk','\x20{\x0a\x20\x20','entries','command','\x0a\x20\x20Similar\x20','totalMatches','7925NFzxVH','members','includes','packageName','\x0a\x0a//\x20batch:\x20','\x20══\x0a',',\x20drop\x20--unit','extends','summary','//\x20[not-found]\x20','api.reference.not-found','<symbols...>','enum','requestedType','kind','\x20found,\x20','192620HIMUea','unknown','signatures','term','optional','inherited','suggestions','error','api','reference','readonly\x20','values','own','value','unit','slice','1fZjLBr','query','definition','composed','\x20member\x20projection\x20from\x20','every','8564149kajLsG','found','symbols','//\x20directly\x20referenced\x20types','\x20supported\x20members','owner','12AliQNW','relationOwner','<Class>','pop','\x20extends\x20','//\x20','groups','1636078xGyGCX','trim','appendix','══\x20','startsWith','\x20has\x20no\x20','\x0adeclare\x20enum\x20','14745VcjgpA','174965CmIlKO','length','methods','flatMap','map'];_0x371f=function(){return _0x587fdd;};return _0x371f();}function _0x4642(_0x225a31,_0x33dfe7){_0x225a31=_0x225a31-0x115;const _0x371fb6=_0x371f();let _0x464275=_0x371fb6[_0x225a31];return _0x464275;}function w(_0xea3d05,_0x3d530a){const _0x476b08=_0x4642;let _0x160a9d=_0xea3d05[_0x476b08(0x13c)](),_0x4ef665=_0x3d530a['filter'](_0x5288ac=>_0x5288ac[_0x476b08(0x154)]===_0x476b08(0x196)),_0x445677=_0x3d530a[_0x476b08(0x150)](_0x55d578=>_0x55d578[_0x476b08(0x154)]==='not-found'),_0x1b439c=_0x3d530a[_0x476b08(0x121)]>0x1;_0x4ef665['length']>0x0&&_0x160a9d[_0x476b08(0x159)]?.(''+_0x4ef665[_0x476b08(0x124)](_0x5c092e=>_0x1b439c?_0x476b08(0x162)+_0x5c092e[_0x476b08(0x190)]+'\x0a'+S(_0x5c092e):S(_0x5c092e))['join']('\x0a\x0a')+(_0x1b439c&&_0x445677[_0x476b08(0x121)]===0x0?_0x476b08(0x173)+_0x4ef665[_0x476b08(0x121)]+'\x20found,\x200\x20not\x20found':'')+'\x0a'),_0x445677[_0x476b08(0x121)]>0x0&&_0xea3d05[_0x476b08(0x186)]([..._0x445677[_0x476b08(0x124)](_0x5becf6=>_0x1b439c?_0x476b08(0x178)+_0x5becf6['query']+'\x0a'+C(_0x5becf6):C(_0x5becf6)),..._0x1b439c?[_0x476b08(0x155)+_0x4ef665[_0x476b08(0x121)]+_0x476b08(0x17e)+_0x445677['length']+'\x20not\x20found']:[]][_0x476b08(0x168)]('\x0a\x0a'),{'code':_0x476b08(0x179),'exitCode':0x1});}function T(_0x139f72){const _0x42afa7=_0x4642;let _0x4e2e9c=new _0x213ab2(_0x42afa7(0x187))['description']('Offline\x20Univer\x20Facade\x20API\x20reference')[_0x42afa7(0x14c)](_0x42afa7(0x148),_0x42afa7(0x129))[_0x42afa7(0x145)](_0x231978=>{const _0x3a6f72=_0x42afa7;if(_0x231978[_0x3a6f72(0x121)]===0x0){_0x4e2e9c[_0x3a6f72(0x142)]();return;}w(_0x4e2e9c,_0x139f72['reference'][_0x3a6f72(0x136)](_0x231978));});return _0x4e2e9c[_0x42afa7(0x16c)](_0x42afa7(0x15a))[_0x42afa7(0x12a)](_0x42afa7(0x14e))[_0x42afa7(0x14c)](_0x42afa7(0x131),'one\x20or\x20more\x20terms,\x20searched\x20independently')[_0x42afa7(0x12c)](new _0x1ec18d('--unit\x20<unit>',_0x42afa7(0x144))[_0x42afa7(0x132)](_0x381247))['action']((_0x4fc5aa,_0x282c27)=>{const _0x3776df=_0x42afa7;let _0x12f3b2=_0x139f72[_0x3776df(0x188)][_0x3776df(0x15a)]({'terms':_0x4fc5aa,..._0x282c27['unit']===void 0x0?{}:{'unit':_0x282c27[_0x3776df(0x18d)]}});_0x4e2e9c[_0x3776df(0x13c)]()[_0x3776df(0x159)]?.(l(_0x12f3b2,_0x282c27[_0x3776df(0x18d)])+'\x0a');}),_0x4e2e9c['command'](_0x42afa7(0x136))[_0x42afa7(0x12a)]('Show\x20exact\x20API\x20classes,\x20members,\x20types,\x20fields,\x20or\x20enum\x20values')[_0x42afa7(0x14c)](_0x42afa7(0x17a),_0x42afa7(0x158))[_0x42afa7(0x145)](_0xcd8c87=>{const _0x40f089=_0x42afa7;w(_0x4e2e9c,_0x139f72[_0x40f089(0x188)][_0x40f089(0x136)](_0xcd8c87));}),_0x4e2e9c;}export{T as createApiCommand};
1
+ (function(_0x3ee009,_0xb1a6c4){const _0x19855b=_0x275e,_0x17e2bf=_0x3ee009();while(!![]){try{const _0x1bd0b3=-parseInt(_0x19855b(0x1d1))/0x1+parseInt(_0x19855b(0x227))/0x2*(parseInt(_0x19855b(0x1e3))/0x3)+-parseInt(_0x19855b(0x1f4))/0x4*(parseInt(_0x19855b(0x1e4))/0x5)+parseInt(_0x19855b(0x205))/0x6+parseInt(_0x19855b(0x21d))/0x7+-parseInt(_0x19855b(0x21a))/0x8+-parseInt(_0x19855b(0x219))/0x9*(parseInt(_0x19855b(0x1d8))/0xa);if(_0x1bd0b3===_0xb1a6c4)break;else _0x17e2bf['push'](_0x17e2bf['shift']());}catch(_0x74d005){_0x17e2bf['push'](_0x17e2bf['shift']());}}}(_0x32e6,0xf232f));import{API_REFERENCE_UNITS as _0x15eee5}from'@univer-cli/api-reference';function _0x32e6(){const _0x3adf6f=['composed','slice','type\x20','//\x20[not-found]\x20','10PQwmkC','startsWith','methods','appendix','//\x20batch:\x20','requestedType','target','every','unit','status','action','6XIpUYu','4980340WoCOPY','//\x20package:\x20','getter','readonly\x20','\x20from\x20','symbols','push','\x20found,\x200\x20not\x20found','name','groups','readonly','trim','\x20member\x20projection\x20from\x20','argument','addOption','\x20\x20—\x20','4BdsDTI','\x20more.\x20Narrow\x20with\x20a\x20longer\x20substring,\x20or\x20api\x20show\x20<symbol>\x20for\x20details.','join','optional','//\x20[found]\x20','<Class>','alias','\x20\x20/**\x20','split','reference','text','subject','length','declare\x20enum\x20','type','Find\x20API\x20methods,\x20types,\x20fields,\x20and\x20enums\x20by\x20keyword','outputHelp','489984zGaVwN','match','Offline\x20Univer\x20Facade\x20API\x20reference','//\x20inherited\x20declaration\x20from\x20','query','//\x20full\x20member\x20docs:\x20api\x20show\x20','Symbol','tags','suggestions','find','inherited','found','enum','signatures','term','kind','/**','\x20\x20[','\x20supported\x20members','No\x20API\x20matches\x20\x22','4351068moSYsg','176664UslQrz','.\x20Try\x20a\x20shorter\x20substring','\x20has\x20no\x20','13070099YzNxsB','api.reference.not-found','entries','\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.','```','\x20found,\x20','signature','aliases','Unknown\x20symbol:\x20','relation','1072488QpURaa','one\x20or\x20more\x20terms,\x20searched\x20independently','[symbols...]','declarationKind','interface\x20','writeOut','pop','member','matches','values','declaration','class','documentation','own','declaredBy','number','configureOutput','relationOwner','example','includes','\x20extends\x20','description','totalMatches','\x20=\x20','owner','reduce','\x20══\x0a','filter','*\x5c/','summary',';\x20inherited\x20from\x20','declare\x20class\x20',',\x0a}','show','packageName','<terms...>','not-found','definition','\x20*/','\x0a\x20\x20List\x20all:\x20api\x20show\x20','limit\x20results\x20to\x20one\x20unit\x20while\x20retaining\x20shared\x20APIs','flatMap',';\x20runtime\x20aliases:\x20','unknown',',\x20or\x20api\x20show\x20<Class>\x20to\x20browse\x20a\x20whole\x20class.','members','\x0a\x20\x20Similar\x20','api','map','527659IiimGr','══\x20','//\x20'];_0x32e6=function(){return _0x3adf6f;};return _0x32e6();}import{Command as _0x2452d3,Option as _0x446f70}from'commander';var r=0x48,i=0x5a;function a(_0x4c4065){const _0x233dc8=_0x275e;return(_0x4c4065[_0x233dc8(0x206)](/^(.*?[.。])(\s|$)/u)?.[0x1]??_0x4c4065)[_0x233dc8(0x1ef)]();}function o(_0x2ee0c1,_0x1f56e1){const _0x35319b=_0x275e;return _0x2ee0c1[_0x35319b(0x200)]>_0x1f56e1?_0x2ee0c1[_0x35319b(0x1d5)](0x0,_0x1f56e1-0x1)+'…':_0x2ee0c1;}function s(_0x10648b){const _0x159fad=_0x275e;let _0x1bfaad=_0x10648b[_0x159fad(0x244)]===''?'':_0x159fad(0x1f3)+a(_0x10648b[_0x159fad(0x244)]);return'['+_0x10648b['kind']+']\x20'+o(_0x10648b['signature'],r)+o(_0x1bfaad,i)+_0x159fad(0x216)+_0x10648b[_0x159fad(0x1c2)]+']';}function c(_0x4318b1,_0x44322e){const _0x6ad5bd=_0x275e;if(_0x4318b1[_0x6ad5bd(0x22f)][_0x6ad5bd(0x200)]===0x0){let _0x2650b5=_0x44322e===void 0x0?'':'\x20(filtered\x20by\x20--unit\x20'+_0x44322e+')';return _0x6ad5bd(0x218)+_0x4318b1[_0x6ad5bd(0x213)]+'\x22'+_0x2650b5+_0x6ad5bd(0x21b)+(_0x44322e===void 0x0?'':',\x20drop\x20--unit')+_0x6ad5bd(0x1cc);}let _0x4aa8c8=_0x4318b1[_0x6ad5bd(0x22f)][_0x6ad5bd(0x1d0)](s),_0xb83b=_0x4318b1[_0x6ad5bd(0x23d)]-_0x4318b1[_0x6ad5bd(0x22f)][_0x6ad5bd(0x200)];return _0xb83b>0x0&&_0x4aa8c8[_0x6ad5bd(0x1ea)]('…\x20'+_0xb83b+_0x6ad5bd(0x1f5)),_0x4aa8c8[_0x6ad5bd(0x1f6)]('\x0a');}function l(_0x4a2675,_0x6d1a82){const _0x3be169=_0x275e;return _0x4a2675[_0x3be169(0x1d0)](_0x2e84f6=>{const _0x35416c=_0x3be169;let _0x193616=c(_0x2e84f6,_0x6d1a82);return _0x4a2675[_0x35416c(0x200)]>0x1?_0x35416c(0x1d2)+_0x2e84f6[_0x35416c(0x213)]+_0x35416c(0x241)+_0x193616:_0x193616;})[_0x3be169(0x1f6)]('\x0a\x0a');}function u(_0x372b93){const _0x2f1813=_0x275e;return _0x372b93[_0x2f1813(0x1fc)](/\n\s*\n/u,0x1)[0x0]?.['trim']()??'';}function d(_0x284f22){const _0x5732b0=_0x275e;return _0x284f22[_0x5732b0(0x233)]===void 0x0?{'description':_0x284f22[_0x5732b0(0x244)],'tags':_0x284f22[_0x5732b0(0x239)]===''?[]:[{'name':_0x5732b0(0x239),'text':_0x284f22[_0x5732b0(0x239)]}]}:_0x284f22[_0x5732b0(0x233)];}function f(_0x22355c){const _0x1c7d8d=_0x275e;return _0x22355c[_0x1c7d8d(0x233)]??{'description':_0x22355c[_0x1c7d8d(0x244)],'tags':[]};}function p(_0x5cb123){const _0x5ef527=_0x275e;let _0x27a945=_0x5cb123[_0x5ef527(0x202)]===void 0x0?'':'\x20{'+_0x5cb123['type']+'}',_0x3b5858=_0x5cb123[_0x5ef527(0x1ff)]===void 0x0?'':'\x20'+_0x5cb123[_0x5ef527(0x1ff)],[_0x4a1ae2='',..._0x7ed085]=_0x5cb123['text']===''?[]:_0x5cb123[_0x5ef527(0x1fe)][_0x5ef527(0x1fc)]('\x0a');return _0x5cb123[_0x5ef527(0x1ec)]===_0x5ef527(0x239)&&_0x4a1ae2['trimStart']()[_0x5ef527(0x1d9)](_0x5ef527(0x221))?['@'+_0x5cb123[_0x5ef527(0x1ec)]+_0x27a945+_0x3b5858,_0x4a1ae2,..._0x7ed085]:['@'+_0x5cb123[_0x5ef527(0x1ec)]+_0x27a945+_0x3b5858+(_0x4a1ae2===''?'':'\x20'+_0x4a1ae2),..._0x7ed085];}function m(_0x8a5123,_0x3d4365='',_0x51ca1b=!0x1){const _0x315c36=_0x275e;if(_0x8a5123===void 0x0)return[];let _0x2f3325=_0x51ca1b?u(_0x8a5123[_0x315c36(0x23c)]):_0x8a5123['description'],_0x3ef706=_0x8a5123[_0x315c36(0x20c)]['flatMap'](p),_0x540284=[..._0x2f3325[_0x315c36(0x1fc)]('\x0a'),..._0x51ca1b||_0x3ef706['length']===0x0?[]:['',..._0x3ef706]];for(;_0x540284['at'](-0x1)==='';)_0x540284[_0x315c36(0x22d)]();return _0x540284[_0x315c36(0x1df)](_0x58fd3a=>_0x58fd3a==='')?[]:[_0x3d4365+_0x315c36(0x215),..._0x540284[_0x315c36(0x1d0)](_0x31d014=>_0x3d4365+'\x20*'+(_0x31d014===''?'':'\x20'+_0x31d014)),_0x3d4365+_0x315c36(0x1c6)];}function h(_0x1c2e4e){const _0x3d4b54=_0x275e;return''+((_0x1c2e4e[_0x3d4b54(0x214)]===_0x3d4b54(0x1e6)||_0x1c2e4e[_0x3d4b54(0x1ee)])&&!_0x1c2e4e[_0x3d4b54(0x223)]['startsWith'](_0x3d4b54(0x1e7))?'readonly\x20':'')+_0x1c2e4e[_0x3d4b54(0x223)]+';';}function g(_0x3fb021){const _0x1e5ab8=_0x275e;let _0x1a3d8c=_0x3fb021[_0x1e5ab8(0x244)][_0x1e5ab8(0x1ef)]();return[..._0x1a3d8c===''?[]:[_0x1e5ab8(0x1fb)+_0x1a3d8c['replaceAll']('*/',_0x1e5ab8(0x243))+'\x20*/'],'\x20\x20'+h(_0x3fb021)];}function _(_0x3380d7,_0x2bb837,_0x332315,_0x1ec44d){const _0x3eb5c2=_0x275e;let _0x590929=_0x2bb837===_0x3eb5c2(0x234)?[]:[_0x3eb5c2(0x1d3)+(_0x2bb837===_0x3eb5c2(0x20f)?_0x3eb5c2(0x20f):_0x3eb5c2(0x1d4))+_0x3eb5c2(0x1f0)+_0x3380d7],_0x109200=_0x2bb837===_0x3eb5c2(0x234)?_0x1ec44d:_0x2bb837===_0x3eb5c2(0x20f)?_0x3eb5c2(0x246)+_0x3380d7:_0x3eb5c2(0x22b)+_0x3380d7;return[..._0x590929,_0x109200+'\x20{',..._0x332315['flatMap'](g),'}'];}function v(_0x24b8fa){const _0x2987a8=_0x275e;return typeof _0x24b8fa==_0x2987a8(0x236)?String(_0x24b8fa):JSON['stringify'](_0x24b8fa);}function y(_0x339062,_0x8b4585=!0x1){const _0x437d1c=_0x275e;let _0x4a586b=_0x339062[_0x437d1c(0x233)]??(_0x339062['summary']===void 0x0?void 0x0:{'description':_0x339062[_0x437d1c(0x244)],'tags':[]}),_0x22244e=_0x339062[_0x437d1c(0x202)][_0x437d1c(0x1d9)]('(')&&!_0x339062[_0x437d1c(0x202)][_0x437d1c(0x23a)]('=>')?'':':\x20',_0x555b5d=_0x339062[_0x437d1c(0x231)]??''+_0x339062[_0x437d1c(0x1ec)]+(_0x339062[_0x437d1c(0x1f7)]?'?':'')+_0x22244e+_0x339062[_0x437d1c(0x202)];return[...m(_0x4a586b,'\x20\x20',!_0x8b4585),'\x20\x20'+_0x555b5d+';'];}function b(_0x172f9b,_0x559466=!0x1){const _0x190995=_0x275e;let _0x533293=_0x172f9b[_0x190995(0x224)]??[],_0x49e759=[_0x190995(0x1e5)+_0x172f9b[_0x190995(0x1c2)]+(_0x533293[_0x190995(0x200)]===0x0?'':_0x190995(0x1ca)+_0x533293[_0x190995(0x1f6)](',\x20')),...m(f(_0x172f9b))];if(_0x172f9b[_0x190995(0x214)]===_0x190995(0x211))return _0x49e759[_0x190995(0x1ea)](_0x190995(0x201)+(_0x172f9b[_0x190995(0x231)]??_0x172f9b[_0x190995(0x1ec)])+'\x20{',...(_0x172f9b['values']??[])[_0x190995(0x1d0)](_0x469556=>'\x20\x20'+_0x469556[_0x190995(0x1ec)]+_0x190995(0x23e)+v(_0x469556['value'])+','),'}'),_0x49e759[_0x190995(0x1f6)]('\x0a');if(_0x172f9b['kind']===_0x190995(0x1fa))return _0x49e759[_0x190995(0x1ea)](_0x190995(0x1d6)+(_0x172f9b[_0x190995(0x231)]??_0x172f9b[_0x190995(0x1ec)]+_0x190995(0x23e)+(_0x172f9b[_0x190995(0x1c5)]??_0x190995(0x1cb)))+';'),_0x49e759['join']('\x0a');let _0xd5447a=_0x172f9b['extends']===void 0x0?'':_0x190995(0x23b)+_0x172f9b['extends'];return _0x49e759['push'](_0x190995(0x22b)+(_0x172f9b['declaration']??''+_0x172f9b['name']+_0xd5447a)+'\x20{',...(_0x172f9b[_0x190995(0x1cd)]??[])[_0x190995(0x1c9)](_0x14a3cd=>y(_0x14a3cd,_0x559466)),...(_0x172f9b[_0x190995(0x212)]??[])[_0x190995(0x1d0)](_0x19884b=>'\x20\x20'+_0x19884b+';'),'}'),_0x49e759[_0x190995(0x1f6)]('\x0a');}function x(_0x7d45ab){const _0x58b2a3=_0x275e;return _0x7d45ab['length']===0x0?[]:['','//\x20directly\x20referenced\x20types',..._0x7d45ab[_0x58b2a3(0x1c9)]((_0x512446,_0x43b4ff)=>[..._0x43b4ff===0x0?[]:[''],b(_0x512446)])];}function S(_0x49d48c){const _0x1978e4=_0x275e;if(_0x49d48c[_0x1978e4(0x1e1)]==='not-found')return'';if(_0x49d48c[_0x1978e4(0x214)]===_0x1978e4(0x232)){let _0x436474=_0x49d48c['groups'][_0x1978e4(0x240)]((_0x1f2da2,_0x188c64)=>_0x1f2da2+_0x188c64[_0x1978e4(0x1cd)][_0x1978e4(0x200)],0x0),_0x107280=_0x49d48c['groups'][_0x1978e4(0x20e)](_0x1030b2=>_0x1030b2[_0x1978e4(0x226)]===_0x1978e4(0x234)),_0xf586f2=_0x49d48c[_0x1978e4(0x22a)]===_0x1978e4(0x232)?_0x1978e4(0x246)+_0x49d48c[_0x1978e4(0x231)]:_0x1978e4(0x1d6)+_0x49d48c[_0x1978e4(0x231)],_0x4baabd=[_0x1978e4(0x1e5)+_0x49d48c[_0x1978e4(0x1c2)]+';\x20'+_0x436474+_0x1978e4(0x217),...m(_0x49d48c['documentation'])];_0x49d48c[_0x1978e4(0x22a)]==='alias'?(_0x4baabd[_0x1978e4(0x1ea)](_0xf586f2+';'),_0x107280!==void 0x0&&_0x4baabd[_0x1978e4(0x1ea)]('',..._(_0x107280[_0x1978e4(0x23f)],_0x1978e4(0x234),_0x107280[_0x1978e4(0x1cd)],_0x1978e4(0x22b)+_0x107280[_0x1978e4(0x23f)]))):_0x4baabd[_0x1978e4(0x1ea)](..._(_0x49d48c[_0x1978e4(0x1ec)],_0x1978e4(0x234),_0x107280?.[_0x1978e4(0x1cd)]??[],_0xf586f2));for(let _0x59e7a3 of _0x49d48c[_0x1978e4(0x1ed)]['filter'](_0x46a308=>_0x46a308[_0x1978e4(0x226)]!==_0x1978e4(0x234)))_0x4baabd[_0x1978e4(0x1ea)]('',..._(_0x59e7a3['owner'],_0x59e7a3['relation'],_0x59e7a3[_0x1978e4(0x1cd)],_0xf586f2));return _0x4baabd[_0x1978e4(0x1ea)]('',_0x1978e4(0x20a)+_0x49d48c[_0x1978e4(0x1ec)]+'.<member>'),_0x4baabd[_0x1978e4(0x1f6)]('\x0a');}if(_0x49d48c['kind']===_0x1978e4(0x22e)){let [_0x3c75bb]=_0x49d48c[_0x1978e4(0x21f)];if(_0x3c75bb===void 0x0)return'';let _0x1b1c28=_0x3c75bb[_0x1978e4(0x226)]===_0x1978e4(0x234)?[]:[_0x1978e4(0x1d3)+_0x3c75bb[_0x1978e4(0x226)]+_0x1978e4(0x1e8)+_0x3c75bb[_0x1978e4(0x238)]];return[_0x1978e4(0x1e5)+_0x3c75bb[_0x1978e4(0x22e)][_0x1978e4(0x1c2)],..._0x1b1c28,_0x1978e4(0x246)+_0x49d48c[_0x1978e4(0x1de)]+'\x20{',..._0x49d48c[_0x1978e4(0x21f)][_0x1978e4(0x1c9)](_0x399418=>[...m(d(_0x399418[_0x1978e4(0x22e)]),'\x20\x20'),'\x20\x20'+h(_0x399418[_0x1978e4(0x22e)])]),'}',...x([...new Map(_0x49d48c['entries'][_0x1978e4(0x1c9)](_0x20870d=>_0x20870d['appendix'])[_0x1978e4(0x1d0)](_0x53616d=>[_0x53616d['name'],_0x53616d]))[_0x1978e4(0x230)]()])][_0x1978e4(0x1f6)]('\x0a');}return _0x49d48c[_0x1978e4(0x214)]===_0x1978e4(0x202)?[b(_0x49d48c[_0x1978e4(0x202)]),..._0x49d48c[_0x1978e4(0x20f)][_0x1978e4(0x1c9)](_0x7f2d59=>['',_0x1978e4(0x208)+_0x7f2d59['name'],b(_0x7f2d59)]),...x(_0x49d48c['appendix'])]['join']('\x0a'):'value'in _0x49d48c[_0x1978e4(0x22e)]?'//\x20package:\x20'+_0x49d48c[_0x1978e4(0x235)][_0x1978e4(0x1c2)]+'\x0adeclare\x20enum\x20'+_0x49d48c[_0x1978e4(0x235)][_0x1978e4(0x1ec)]+'\x20{\x0a\x20\x20'+_0x49d48c[_0x1978e4(0x22e)][_0x1978e4(0x1ec)]+_0x1978e4(0x23e)+v(_0x49d48c[_0x1978e4(0x22e)]['value'])+_0x1978e4(0x1c0):[_0x1978e4(0x1e5)+_0x49d48c['declaredBy'][_0x1978e4(0x1c2)]+(_0x49d48c[_0x1978e4(0x235)]['name']===_0x49d48c['requestedType'][_0x1978e4(0x1ec)]?'':_0x1978e4(0x245)+_0x49d48c[_0x1978e4(0x235)][_0x1978e4(0x1ec)]),'interface\x20'+_0x49d48c[_0x1978e4(0x1dd)][_0x1978e4(0x1ec)]+'\x20{',...y(_0x49d48c[_0x1978e4(0x22e)],!0x0),'}',...x(_0x49d48c[_0x1978e4(0x1db)])][_0x1978e4(0x1f6)]('\x0a');}function _0x275e(_0x39c921,_0xb1b6d4){_0x39c921=_0x39c921-0x1c0;const _0x32e6b6=_0x32e6();let _0x275eb2=_0x32e6b6[_0x39c921];return _0x275eb2;}function C(_0x5e6104){const _0x38a6fd=_0x275e;let _0x1e03c8=_0x5e6104[_0x38a6fd(0x20d)][_0x38a6fd(0x200)]===0x0?'':_0x38a6fd(0x1ce)+(_0x5e6104[_0x38a6fd(0x214)]===_0x38a6fd(0x22e)?_0x38a6fd(0x1da):_0x38a6fd(0x1e9))+':\x20'+_0x5e6104[_0x38a6fd(0x20d)][_0x38a6fd(0x1f6)](',\x20');return _0x5e6104[_0x38a6fd(0x214)]==='member'?(_0x5e6104['owner']??_0x38a6fd(0x20b))+_0x38a6fd(0x21c)+(_0x5e6104['member']??_0x38a6fd(0x22e))+_0x1e03c8+_0x38a6fd(0x1c7)+(_0x5e6104[_0x38a6fd(0x23f)]??_0x38a6fd(0x1f9)):_0x38a6fd(0x225)+_0x5e6104[_0x38a6fd(0x209)]+_0x1e03c8+_0x38a6fd(0x220);}function w(_0x545b28,_0x1e49bb){const _0x4b230e=_0x275e;let _0x576dbe=_0x545b28[_0x4b230e(0x237)](),_0x46d036=_0x1e49bb[_0x4b230e(0x242)](_0xb7cb9=>_0xb7cb9[_0x4b230e(0x1e1)]===_0x4b230e(0x210)),_0x2710dc=_0x1e49bb[_0x4b230e(0x242)](_0x5edbf8=>_0x5edbf8[_0x4b230e(0x1e1)]===_0x4b230e(0x1c4)),_0x541dce=_0x1e49bb['length']>0x1;_0x46d036[_0x4b230e(0x200)]>0x0&&_0x576dbe[_0x4b230e(0x22c)]?.(''+_0x46d036[_0x4b230e(0x1d0)](_0x13341e=>_0x541dce?_0x4b230e(0x1f8)+_0x13341e[_0x4b230e(0x209)]+'\x0a'+S(_0x13341e):S(_0x13341e))[_0x4b230e(0x1f6)]('\x0a\x0a')+(_0x541dce&&_0x2710dc[_0x4b230e(0x200)]===0x0?'\x0a\x0a//\x20batch:\x20'+_0x46d036[_0x4b230e(0x200)]+_0x4b230e(0x1eb):'')+'\x0a'),_0x2710dc['length']>0x0&&_0x545b28['error']([..._0x2710dc['map'](_0x2697f0=>_0x541dce?_0x4b230e(0x1d7)+_0x2697f0[_0x4b230e(0x209)]+'\x0a'+C(_0x2697f0):C(_0x2697f0)),..._0x541dce?[_0x4b230e(0x1dc)+_0x46d036[_0x4b230e(0x200)]+_0x4b230e(0x222)+_0x2710dc[_0x4b230e(0x200)]+'\x20not\x20found']:[]][_0x4b230e(0x1f6)]('\x0a\x0a'),{'code':_0x4b230e(0x21e),'exitCode':0x1});}function T(_0x5322d6){const _0x37515d=_0x275e;let _0x47192f=new _0x2452d3(_0x37515d(0x1cf))['description'](_0x37515d(0x207))['argument'](_0x37515d(0x229),'exact\x20symbols;\x20shorthand\x20for\x20api\x20show')['action'](_0x1bc39a=>{const _0x5e0cd7=_0x37515d;if(_0x1bc39a['length']===0x0){_0x47192f[_0x5e0cd7(0x204)]();return;}w(_0x47192f,_0x5322d6['reference'][_0x5e0cd7(0x1c1)](_0x1bc39a));});return _0x47192f['command']('find')[_0x37515d(0x23c)](_0x37515d(0x203))[_0x37515d(0x1f1)](_0x37515d(0x1c3),_0x37515d(0x228))[_0x37515d(0x1f2)](new _0x446f70('--unit\x20<unit>',_0x37515d(0x1c8))['choices'](_0x15eee5))[_0x37515d(0x1e2)]((_0x3c2c72,_0x44c18b)=>{const _0x4a8324=_0x37515d;let _0x3c3e07=_0x5322d6[_0x4a8324(0x1fd)][_0x4a8324(0x20e)]({'terms':_0x3c2c72,..._0x44c18b[_0x4a8324(0x1e0)]===void 0x0?{}:{'unit':_0x44c18b[_0x4a8324(0x1e0)]}});_0x47192f[_0x4a8324(0x237)]()[_0x4a8324(0x22c)]?.(l(_0x3c3e07,_0x44c18b['unit'])+'\x0a');}),_0x47192f['command'](_0x37515d(0x1c1))['description']('Show\x20exact\x20API\x20classes,\x20members,\x20types,\x20fields,\x20or\x20enum\x20values')['argument']('<symbols...>','one\x20or\x20more\x20exact\x20API\x20symbols')[_0x37515d(0x1e2)](_0x34202f=>{const _0x377c93=_0x37515d;w(_0x47192f,_0x5322d6[_0x377c93(0x1fd)][_0x377c93(0x1c1)](_0x34202f));}),_0x47192f;}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.0.2",
4
+ "version": "1.0.3",
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.0.2"
21
+ "@univer-cli/api-reference": "1.0.3"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "commander": "^15.0.0"