@univer-cli/api-reference-command 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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(_0x575bb7,_0x25f4c3){const _0xea03cf=_0x1fb5,_0x5e9268=_0x575bb7();while(!![]){try{const _0x48d705=-parseInt(_0xea03cf(0x120))/0x1*(parseInt(_0xea03cf(0xb2))/0x2)+parseInt(_0xea03cf(0xf3))/0x3*(parseInt(_0xea03cf(0xce))/0x4)+parseInt(_0xea03cf(0xf8))/0x5*(parseInt(_0xea03cf(0xeb))/0x6)+-parseInt(_0xea03cf(0xd7))/0x7+parseInt(_0xea03cf(0xf6))/0x8*(-parseInt(_0xea03cf(0xd9))/0x9)+parseInt(_0xea03cf(0x112))/0xa+-parseInt(_0xea03cf(0x11f))/0xb;if(_0x48d705===_0x25f4c3)break;else _0x5e9268['push'](_0x5e9268['shift']());}catch(_0x974379){_0x5e9268['push'](_0x5e9268['shift']());}}}(_0x2f2b,0x1cbb3));import{API_REFERENCE_UNITS as _0x5f0886}from'@univer-cli/api-reference';import{Command as _0xc2394f,Option as _0x4adedd}from'commander';var r=0x48,i=0x5a;function a(_0x1b7abb){const _0x57ad4d=_0x1fb5;return(_0x1b7abb['match'](/^(.*?[.。])(\s|$)/u)?.[0x1]??_0x1b7abb)[_0x57ad4d(0xb5)]();}function o(_0x214f9d,_0x4665d9){const _0x200b4e=_0x1fb5;return _0x214f9d[_0x200b4e(0xe9)]>_0x4665d9?_0x214f9d[_0x200b4e(0xd2)](0x0,_0x4665d9-0x1)+'…':_0x214f9d;}function s(_0x249756){const _0x34683f=_0x1fb5;let _0x5ec3f3=_0x249756[_0x34683f(0xbb)]===''?'':_0x34683f(0x125)+a(_0x249756[_0x34683f(0xbb)]);return'['+_0x249756[_0x34683f(0xbd)]+']\x20'+o(_0x249756['signature'],r)+o(_0x5ec3f3,i)+_0x34683f(0xfb)+_0x249756[_0x34683f(0xe8)]+']';}function c(_0x31042a,_0x154c13){const _0x4c47f9=_0x1fb5;if(_0x31042a[_0x4c47f9(0xc5)]['length']===0x0){let _0x3bbdcd=_0x154c13===void 0x0?'':_0x4c47f9(0xd0)+_0x154c13+')';return'No\x20API\x20matches\x20\x22'+_0x31042a['term']+'\x22'+_0x3bbdcd+_0x4c47f9(0x104)+(_0x154c13===void 0x0?'':_0x4c47f9(0x136))+_0x4c47f9(0xdd);}let _0x1d140e=_0x31042a['matches'][_0x4c47f9(0xe5)](s),_0x18505d=_0x31042a['totalMatches']-_0x31042a['matches']['length'];return _0x18505d>0x0&&_0x1d140e[_0x4c47f9(0xca)]('…\x20'+_0x18505d+_0x4c47f9(0xd5)),_0x1d140e[_0x4c47f9(0x103)]('\x0a');}function l(_0x5caf9d,_0x35de2d){const _0x1b7a53=_0x1fb5;return _0x5caf9d[_0x1b7a53(0xe5)](_0x5893d5=>{const _0x29d5ac=_0x1b7a53;let _0x3f3719=c(_0x5893d5,_0x35de2d);return _0x5caf9d[_0x29d5ac(0xe9)]>0x1?_0x29d5ac(0xf0)+_0x5893d5['term']+_0x29d5ac(0xb6)+_0x3f3719:_0x3f3719;})[_0x1b7a53(0x103)]('\x0a\x0a');}function u(_0x58c435){const _0x4c416d=_0x1fb5;return _0x58c435['split'](/\n\s*\n/u,0x1)[0x0]?.[_0x4c416d(0xb5)]()??'';}function d(_0xfb0c27){const _0x293d32=_0x1fb5;return _0xfb0c27[_0x293d32(0x126)]===void 0x0?{'description':_0xfb0c27[_0x293d32(0xbb)],'tags':_0xfb0c27['example']===''?[]:[{'name':'example','text':_0xfb0c27[_0x293d32(0x137)]}]}:_0xfb0c27[_0x293d32(0x126)];}function f(_0x26ed2a){const _0x1df7a8=_0x1fb5;return _0x26ed2a[_0x1df7a8(0x126)]??{'description':_0x26ed2a[_0x1df7a8(0xbb)],'tags':[]};}function p(_0x49e270){const _0x4c52fb=_0x1fb5;let _0x36b666=_0x49e270[_0x4c52fb(0xee)]===void 0x0?'':'\x20{'+_0x49e270[_0x4c52fb(0xee)]+'}',_0x306a03=_0x49e270['subject']===void 0x0?'':'\x20'+_0x49e270[_0x4c52fb(0xff)],[_0xb935e7='',..._0x567c24]=_0x49e270['text']===''?[]:_0x49e270[_0x4c52fb(0x12a)][_0x4c52fb(0x139)]('\x0a');return _0x49e270[_0x4c52fb(0xed)]===_0x4c52fb(0x137)&&_0xb935e7[_0x4c52fb(0xb8)]()[_0x4c52fb(0x135)](_0x4c52fb(0xd6))?['@'+_0x49e270[_0x4c52fb(0xed)]+_0x36b666+_0x306a03,_0xb935e7,..._0x567c24]:['@'+_0x49e270[_0x4c52fb(0xed)]+_0x36b666+_0x306a03+(_0xb935e7===''?'':'\x20'+_0xb935e7),..._0x567c24];}function m(_0x4fef11,_0x5b8ab4='',_0x1d5a3b=!0x1){const _0x1285ba=_0x1fb5;if(_0x4fef11===void 0x0)return[];let _0xb9518f=_0x1d5a3b?u(_0x4fef11[_0x1285ba(0x113)]):_0x4fef11[_0x1285ba(0x113)],_0x57de9a=_0x4fef11[_0x1285ba(0x105)]['flatMap'](p),_0x281ad3=[..._0xb9518f[_0x1285ba(0x139)]('\x0a'),..._0x1d5a3b||_0x57de9a[_0x1285ba(0xe9)]===0x0?[]:['',..._0x57de9a]];for(;_0x281ad3['at'](-0x1)==='';)_0x281ad3[_0x1285ba(0xe4)]();return _0x281ad3[_0x1285ba(0x107)](_0x14b7be=>_0x14b7be==='')?[]:[_0x5b8ab4+_0x1285ba(0xd8),..._0x281ad3[_0x1285ba(0xe5)](_0x465edf=>_0x5b8ab4+'\x20*'+(_0x465edf===''?'':'\x20'+_0x465edf)),_0x5b8ab4+_0x1285ba(0xe2)];}function h(_0x22ed00){const _0x793b4e=_0x1fb5;return''+((_0x22ed00[_0x793b4e(0xbd)]===_0x793b4e(0x116)||_0x22ed00['readonly'])&&!_0x22ed00[_0x793b4e(0x10a)]['startsWith'](_0x793b4e(0xea))?_0x793b4e(0xea):'')+_0x22ed00[_0x793b4e(0x10a)]+';';}function g(_0x2f9eb4){const _0x4ab72d=_0x1fb5;let _0x280168=_0x2f9eb4[_0x4ab72d(0xbb)][_0x4ab72d(0xb5)]();return[..._0x280168===''?[]:[_0x4ab72d(0xba)+_0x280168[_0x4ab72d(0xe7)]('*/',_0x4ab72d(0xf4))+'\x20*/'],'\x20\x20'+h(_0x2f9eb4)];}function _(_0x5b870c,_0x1cc5c4,_0xe1a271,_0x4ef6b9){const _0x27142c=_0x1fb5;let _0x45e0f4=_0x1cc5c4==='own'?[]:[_0x27142c(0x133)+(_0x1cc5c4==='inherited'?_0x27142c(0x102):_0x27142c(0x118))+'\x20member\x20projection\x20from\x20'+_0x5b870c],_0x1858b5=_0x1cc5c4===_0x27142c(0x106)?_0x4ef6b9:_0x1cc5c4===_0x27142c(0x102)?'declare\x20class\x20'+_0x5b870c:'interface\x20'+_0x5b870c;return[..._0x45e0f4,_0x1858b5+'\x20{',..._0xe1a271[_0x27142c(0x119)](g),'}'];}function v(_0xd6305f){const _0x2e624e=_0x1fb5;return typeof _0xd6305f==_0x2e624e(0x12f)?String(_0xd6305f):JSON[_0x2e624e(0xdc)](_0xd6305f);}function y(_0x26f945,_0x168791=!0x1){const _0x1829b5=_0x1fb5;let _0x5db73f=_0x26f945['documentation']??(_0x26f945[_0x1829b5(0xbb)]===void 0x0?void 0x0:{'description':_0x26f945[_0x1829b5(0xbb)],'tags':[]}),_0x15a12d=_0x26f945[_0x1829b5(0xee)][_0x1829b5(0x135)]('(')&&!_0x26f945[_0x1829b5(0xee)][_0x1829b5(0x110)]('=>')?'':':\x20',_0x83e15c=_0x26f945[_0x1829b5(0xc7)]??''+_0x26f945[_0x1829b5(0xed)]+(_0x26f945[_0x1829b5(0xc3)]?'?':'')+_0x15a12d+_0x26f945['type'];return[...m(_0x5db73f,'\x20\x20',!_0x168791),'\x20\x20'+_0x83e15c+';'];}function b(_0x1004c3,_0x1d2f0e=!0x1){const _0x2874a0=_0x1fb5;let _0x46cbd5=_0x1004c3['aliases']??[],_0x59fb3f=['//\x20package:\x20'+_0x1004c3[_0x2874a0(0xe8)]+(_0x46cbd5['length']===0x0?'':';\x20runtime\x20aliases:\x20'+_0x46cbd5['join'](',\x20')),...m(f(_0x1004c3))];if(_0x1004c3[_0x2874a0(0xbd)]===_0x2874a0(0x10b))return _0x59fb3f['push'](_0x2874a0(0x128)+(_0x1004c3[_0x2874a0(0xc7)]??_0x1004c3[_0x2874a0(0xed)])+'\x20{',...(_0x1004c3['values']??[])['map'](_0x21c9d9=>'\x20\x20'+_0x21c9d9[_0x2874a0(0xed)]+'\x20=\x20'+v(_0x21c9d9[_0x2874a0(0x131)])+','),'}'),_0x59fb3f[_0x2874a0(0x103)]('\x0a');if(_0x1004c3[_0x2874a0(0xbd)]===_0x2874a0(0x109))return _0x59fb3f['push'](_0x2874a0(0xc4)+(_0x1004c3['declaration']??_0x1004c3[_0x2874a0(0xed)]+_0x2874a0(0xf7)+(_0x1004c3['definition']??_0x2874a0(0xe3)))+';'),_0x59fb3f[_0x2874a0(0x103)]('\x0a');let _0xa78d7=_0x1004c3[_0x2874a0(0xd1)]===void 0x0?'':_0x2874a0(0xcc)+_0x1004c3[_0x2874a0(0xd1)];return _0x59fb3f[_0x2874a0(0xca)](_0x2874a0(0xbc)+(_0x1004c3[_0x2874a0(0xc7)]??''+_0x1004c3[_0x2874a0(0xed)]+_0xa78d7)+'\x20{',...(_0x1004c3[_0x2874a0(0xf1)]??[])['flatMap'](_0x289b37=>y(_0x289b37,_0x1d2f0e)),...(_0x1004c3['signatures']??[])[_0x2874a0(0xe5)](_0x482d92=>'\x20\x20'+_0x482d92+';'),'}'),_0x59fb3f['join']('\x0a');}function x(_0x29e637){const _0x208a5a=_0x1fb5;return _0x29e637[_0x208a5a(0xe9)]===0x0?[]:['',_0x208a5a(0xda),..._0x29e637[_0x208a5a(0x119)]((_0x455abc,_0x30ef63)=>[..._0x30ef63===0x0?[]:[''],b(_0x455abc)])];}function _0x2f2b(){const _0x4de691=['413562hbGEVf','error','name','type','unit','══\x20','members','member','291747bkPMLL','*\x5c/','status','16ARTvul','\x20=\x20','5DzBEJs',',\x0a}','requestedType','\x20\x20[','command','//\x20[found]\x20','Unknown\x20symbol:\x20','subject','--unit\x20<unit>','one\x20or\x20more\x20terms,\x20searched\x20independently','inherited','join','.\x20Try\x20a\x20shorter\x20substring','tags','own','every','relationOwner','alias','signature','enum','methods','reduce','entries','api','includes','find','1150360POvzHm','description','Offline\x20Univer\x20Facade\x20API\x20reference','writeOut','getter','//\x20package:\x20','composed','flatMap','show','declaredBy','owner','not-found','values','518705gFLsgX','23QCMxut','groups','//\x20[not-found]\x20','reference','\x20not\x20found','\x20\x20—\x20','documentation','configureOutput','declare\x20enum\x20','\x20has\x20no\x20','text','action','\x0a\x0a//\x20batch:\x20','argument','target','number','.<member>','value','choices','//\x20','exact\x20symbols;\x20shorthand\x20for\x20api\x20show','startsWith',',\x20drop\x20--unit','example','\x20found,\x200\x20not\x20found','split','relation','\x20supported\x20members','addOption','2122MtbErI','\x0adeclare\x20enum\x20','\x20found,\x20','trim','\x20══\x0a','declare\x20class\x20','trimStart','query','\x20\x20/**\x20','summary','interface\x20','kind','//\x20inherited\x20declaration\x20from\x20','filter','\x20from\x20','Show\x20exact\x20API\x20classes,\x20members,\x20types,\x20fields,\x20or\x20enum\x20values','symbols','optional','type\x20','matches','declarationKind','declaration','outputHelp','api.reference.not-found','push','\x0a\x20\x20List\x20all:\x20api\x20show\x20','\x20extends\x20','class','4LXGpKD','found','\x20(filtered\x20by\x20--unit\x20','extends','slice','suggestions','\x0a\x20\x20Similar\x20','\x20more.\x20Narrow\x20with\x20a\x20longer\x20substring,\x20or\x20api\x20show\x20<symbol>\x20for\x20details.','```','316295VcAktb','/**','210537eYwtKZ','//\x20directly\x20referenced\x20types','\x20{\x0a\x20\x20','stringify',',\x20or\x20api\x20show\x20<Class>\x20to\x20browse\x20a\x20whole\x20class.','//\x20full\x20member\x20docs:\x20api\x20show\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.','Find\x20API\x20methods,\x20types,\x20fields,\x20and\x20enums\x20by\x20keyword','appendix','\x20*/','unknown','pop','map','one\x20or\x20more\x20exact\x20API\x20symbols','replaceAll','packageName','length','readonly\x20'];_0x2f2b=function(){return _0x4de691;};return _0x2f2b();}function _0x1fb5(_0x6ed528,_0x47dc70){_0x6ed528=_0x6ed528-0xaf;const _0x2f2bf1=_0x2f2b();let _0x1fb545=_0x2f2bf1[_0x6ed528];return _0x1fb545;}function S(_0x2979ec){const _0x5076f9=_0x1fb5;if(_0x2979ec[_0x5076f9(0xf5)]==='not-found')return'';if(_0x2979ec[_0x5076f9(0xbd)]===_0x5076f9(0xcd)){let _0x23d384=_0x2979ec['groups'][_0x5076f9(0x10d)]((_0x184a83,_0x3857f4)=>_0x184a83+_0x3857f4['members']['length'],0x0),_0x40761a=_0x2979ec['groups'][_0x5076f9(0x111)](_0x379c66=>_0x379c66[_0x5076f9(0xaf)]===_0x5076f9(0x106)),_0x2a3423=_0x2979ec[_0x5076f9(0xc6)]===_0x5076f9(0xcd)?_0x5076f9(0xb7)+_0x2979ec['declaration']:_0x5076f9(0xc4)+_0x2979ec[_0x5076f9(0xc7)],_0x540c5c=[_0x5076f9(0x117)+_0x2979ec[_0x5076f9(0xe8)]+';\x20'+_0x23d384+_0x5076f9(0xb0),...m(_0x2979ec[_0x5076f9(0x126)])];_0x2979ec[_0x5076f9(0xc6)]===_0x5076f9(0x109)?(_0x540c5c['push'](_0x2a3423+';'),_0x40761a!==void 0x0&&_0x540c5c[_0x5076f9(0xca)]('',..._(_0x40761a[_0x5076f9(0x11c)],_0x5076f9(0x106),_0x40761a['members'],'interface\x20'+_0x40761a['owner']))):_0x540c5c[_0x5076f9(0xca)](..._(_0x2979ec['name'],_0x5076f9(0x106),_0x40761a?.[_0x5076f9(0xf1)]??[],_0x2a3423));for(let _0x2e17d7 of _0x2979ec[_0x5076f9(0x121)][_0x5076f9(0xbf)](_0x3fd256=>_0x3fd256[_0x5076f9(0xaf)]!==_0x5076f9(0x106)))_0x540c5c['push']('',..._(_0x2e17d7[_0x5076f9(0x11c)],_0x2e17d7['relation'],_0x2e17d7[_0x5076f9(0xf1)],_0x2a3423));return _0x540c5c[_0x5076f9(0xca)]('',_0x5076f9(0xde)+_0x2979ec[_0x5076f9(0xed)]+_0x5076f9(0x130)),_0x540c5c[_0x5076f9(0x103)]('\x0a');}if(_0x2979ec[_0x5076f9(0xbd)]===_0x5076f9(0xf2)){let [_0x5f0c80]=_0x2979ec[_0x5076f9(0x10e)];if(_0x5f0c80===void 0x0)return'';let _0x55d8e7=_0x5f0c80['relation']===_0x5076f9(0x106)?[]:[_0x5076f9(0x133)+_0x5f0c80['relation']+_0x5076f9(0xc0)+_0x5f0c80[_0x5076f9(0x108)]];return['//\x20package:\x20'+_0x5f0c80['member']['packageName'],..._0x55d8e7,_0x5076f9(0xb7)+_0x2979ec[_0x5076f9(0x12e)]+'\x20{',..._0x2979ec[_0x5076f9(0x10e)][_0x5076f9(0x119)](_0x5bf35e=>[...m(d(_0x5bf35e['member']),'\x20\x20'),'\x20\x20'+h(_0x5bf35e['member'])]),'}',...x([...new Map(_0x2979ec[_0x5076f9(0x10e)][_0x5076f9(0x119)](_0x5de7a0=>_0x5de7a0[_0x5076f9(0xe1)])[_0x5076f9(0xe5)](_0x452669=>[_0x452669[_0x5076f9(0xed)],_0x452669]))[_0x5076f9(0x11e)]()])][_0x5076f9(0x103)]('\x0a');}return _0x2979ec[_0x5076f9(0xbd)]===_0x5076f9(0xee)?[b(_0x2979ec[_0x5076f9(0xee)]),..._0x2979ec['inherited'][_0x5076f9(0x119)](_0x4fb382=>['',_0x5076f9(0xbe)+_0x4fb382[_0x5076f9(0xed)],b(_0x4fb382)]),...x(_0x2979ec[_0x5076f9(0xe1)])][_0x5076f9(0x103)]('\x0a'):'value'in _0x2979ec[_0x5076f9(0xf2)]?'//\x20package:\x20'+_0x2979ec[_0x5076f9(0x11b)][_0x5076f9(0xe8)]+_0x5076f9(0xb3)+_0x2979ec[_0x5076f9(0x11b)][_0x5076f9(0xed)]+_0x5076f9(0xdb)+_0x2979ec['member'][_0x5076f9(0xed)]+'\x20=\x20'+v(_0x2979ec[_0x5076f9(0xf2)][_0x5076f9(0x131)])+_0x5076f9(0xf9):[_0x5076f9(0x117)+_0x2979ec[_0x5076f9(0x11b)][_0x5076f9(0xe8)]+(_0x2979ec['declaredBy'][_0x5076f9(0xed)]===_0x2979ec[_0x5076f9(0xfa)][_0x5076f9(0xed)]?'':';\x20inherited\x20from\x20'+_0x2979ec[_0x5076f9(0x11b)][_0x5076f9(0xed)]),'interface\x20'+_0x2979ec[_0x5076f9(0xfa)][_0x5076f9(0xed)]+'\x20{',...y(_0x2979ec['member'],!0x0),'}',...x(_0x2979ec[_0x5076f9(0xe1)])][_0x5076f9(0x103)]('\x0a');}function C(_0x5ecd00){const _0x11ac22=_0x1fb5;let _0xe459fd=_0x5ecd00[_0x11ac22(0xd3)][_0x11ac22(0xe9)]===0x0?'':_0x11ac22(0xd4)+(_0x5ecd00['kind']===_0x11ac22(0xf2)?_0x11ac22(0x10c):_0x11ac22(0xc2))+':\x20'+_0x5ecd00['suggestions']['join'](',\x20');return _0x5ecd00['kind']===_0x11ac22(0xf2)?(_0x5ecd00[_0x11ac22(0x11c)]??'Symbol')+_0x11ac22(0x129)+(_0x5ecd00['member']??_0x11ac22(0xf2))+_0xe459fd+_0x11ac22(0xcb)+(_0x5ecd00[_0x11ac22(0x11c)]??'<Class>'):_0x11ac22(0xfe)+_0x5ecd00[_0x11ac22(0xb9)]+_0xe459fd+_0x11ac22(0xdf);}function w(_0x51aa1e,_0x3c9594){const _0x315d91=_0x1fb5;let _0x899b70=_0x51aa1e[_0x315d91(0x127)](),_0x899dd2=_0x3c9594['filter'](_0x66cbc9=>_0x66cbc9[_0x315d91(0xf5)]===_0x315d91(0xcf)),_0x52724f=_0x3c9594[_0x315d91(0xbf)](_0x50f381=>_0x50f381[_0x315d91(0xf5)]===_0x315d91(0x11d)),_0x323c79=_0x3c9594[_0x315d91(0xe9)]>0x1;_0x899dd2['length']>0x0&&_0x899b70[_0x315d91(0x115)]?.(''+_0x899dd2[_0x315d91(0xe5)](_0x2157da=>_0x323c79?_0x315d91(0xfd)+_0x2157da[_0x315d91(0xb9)]+'\x0a'+S(_0x2157da):S(_0x2157da))['join']('\x0a\x0a')+(_0x323c79&&_0x52724f[_0x315d91(0xe9)]===0x0?_0x315d91(0x12c)+_0x899dd2[_0x315d91(0xe9)]+_0x315d91(0x138):'')+'\x0a'),_0x52724f['length']>0x0&&_0x51aa1e[_0x315d91(0xec)]([..._0x52724f['map'](_0x1c281d=>_0x323c79?_0x315d91(0x122)+_0x1c281d[_0x315d91(0xb9)]+'\x0a'+C(_0x1c281d):C(_0x1c281d)),..._0x323c79?['//\x20batch:\x20'+_0x899dd2[_0x315d91(0xe9)]+_0x315d91(0xb4)+_0x52724f['length']+_0x315d91(0x124)]:[]][_0x315d91(0x103)]('\x0a\x0a'),{'code':_0x315d91(0xc9),'exitCode':0x1});}function T(_0x5af18a){const _0x1ac932=_0x1fb5;let _0x11e595=new _0xc2394f(_0x1ac932(0x10f))[_0x1ac932(0x113)](_0x1ac932(0x114))[_0x1ac932(0x12d)]('[symbols...]',_0x1ac932(0x134))['action'](_0x5cce1f=>{const _0x236b84=_0x1ac932;if(_0x5cce1f['length']===0x0){_0x11e595[_0x236b84(0xc8)]();return;}w(_0x11e595,_0x5af18a[_0x236b84(0x123)][_0x236b84(0x11a)](_0x5cce1f));});return _0x11e595[_0x1ac932(0xfc)](_0x1ac932(0x111))[_0x1ac932(0x113)](_0x1ac932(0xe0))[_0x1ac932(0x12d)]('<terms...>',_0x1ac932(0x101))[_0x1ac932(0xb1)](new _0x4adedd(_0x1ac932(0x100),'limit\x20results\x20to\x20one\x20unit\x20while\x20retaining\x20shared\x20APIs')[_0x1ac932(0x132)](_0x5f0886))[_0x1ac932(0x12b)]((_0x35198d,_0x3edfa8)=>{const _0x2a4566=_0x1ac932;let _0x1525d4=_0x5af18a[_0x2a4566(0x123)][_0x2a4566(0x111)]({'terms':_0x35198d,..._0x3edfa8[_0x2a4566(0xef)]===void 0x0?{}:{'unit':_0x3edfa8[_0x2a4566(0xef)]}});_0x11e595[_0x2a4566(0x127)]()[_0x2a4566(0x115)]?.(l(_0x1525d4,_0x3edfa8[_0x2a4566(0xef)])+'\x0a');}),_0x11e595['command'](_0x1ac932(0x11a))[_0x1ac932(0x113)](_0x1ac932(0xc1))[_0x1ac932(0x12d)]('<symbols...>',_0x1ac932(0xe6))['action'](_0x2d4ea0=>{const _0xe29606=_0x1ac932;w(_0x11e595,_0x5af18a[_0xe29606(0x123)][_0xe29606(0x11a)](_0x2d4ea0));}),_0x11e595;}export{T as createApiCommand};
1
+ (function(_0xba8933,_0x1a380c){const _0x1c6246=_0x3ea0,_0x592e66=_0xba8933();while(!![]){try{const _0x433047=parseInt(_0x1c6246(0x209))/0x1+parseInt(_0x1c6246(0x220))/0x2+-parseInt(_0x1c6246(0x1da))/0x3*(-parseInt(_0x1c6246(0x21d))/0x4)+parseInt(_0x1c6246(0x1e2))/0x5*(-parseInt(_0x1c6246(0x239))/0x6)+-parseInt(_0x1c6246(0x200))/0x7*(-parseInt(_0x1c6246(0x1f2))/0x8)+-parseInt(_0x1c6246(0x210))/0x9*(-parseInt(_0x1c6246(0x219))/0xa)+parseInt(_0x1c6246(0x23e))/0xb*(-parseInt(_0x1c6246(0x1e4))/0xc);if(_0x433047===_0x1a380c)break;else _0x592e66['push'](_0x592e66['shift']());}catch(_0x293782){_0x592e66['push'](_0x592e66['shift']());}}}(_0x2d21,0x94231));import{API_REFERENCE_UNITS as _0x6a1cd2}from'@univer-cli/api-reference';import{Command as _0x15bb55,Option as _0x404c11}from'commander';var r=0x48,i=0x5a;function a(_0x25214c){return(_0x25214c['match'](/^(.*?[.。])(\s|$)/u)?.[0x1]??_0x25214c)['trim']();}function o(_0x4cc9c8,_0x335f7d){const _0x29a6d2=_0x3ea0;return _0x4cc9c8[_0x29a6d2(0x1f4)]>_0x335f7d?_0x4cc9c8[_0x29a6d2(0x252)](0x0,_0x335f7d-0x1)+'…':_0x4cc9c8;}function s(_0x4474c3){const _0x1b8de2=_0x3ea0;let _0x317e10=_0x4474c3['summary']===''?'':'\x20\x20—\x20'+a(_0x4474c3[_0x1b8de2(0x211)]);return'['+_0x4474c3[_0x1b8de2(0x24d)]+']\x20'+o(_0x4474c3['signature'],r)+o(_0x317e10,i)+'\x20\x20['+_0x4474c3[_0x1b8de2(0x20a)]+']';}function c(_0x5e05b8,_0x5966c1){const _0x275d51=_0x3ea0;if(_0x5e05b8[_0x275d51(0x1dc)][_0x275d51(0x1f4)]===0x0){let _0x5ba6b6=_0x5966c1===void 0x0?'':_0x275d51(0x226)+_0x5966c1+')';return _0x275d51(0x230)+_0x5e05b8[_0x275d51(0x23c)]+'\x22'+_0x5ba6b6+_0x275d51(0x1f6)+(_0x5966c1===void 0x0?'':_0x275d51(0x1d6))+_0x275d51(0x22f);}let _0xad864=_0x5e05b8[_0x275d51(0x1dc)][_0x275d51(0x228)](s),_0x1ca317=_0x5e05b8[_0x275d51(0x204)]-_0x5e05b8[_0x275d51(0x1dc)][_0x275d51(0x1f4)];return _0x1ca317>0x0&&_0xad864[_0x275d51(0x202)]('…\x20'+_0x1ca317+_0x275d51(0x20d)),_0xad864[_0x275d51(0x1e6)]('\x0a');}function _0x2d21(){const _0x304d50=[',\x20or\x20api\x20show\x20<Class>\x20to\x20browse\x20a\x20whole\x20class.','No\x20API\x20matches\x20\x22','symbols','alias','\x20member\x20projection\x20from\x20','composed','own','split','trim','api','151572rRJjqh','--unit\x20<unit>','unknown','term','Symbol','7447EeoaRA','//\x20inherited\x20declaration\x20from\x20','startsWith','aliases','member','subject','Find\x20API\x20methods,\x20types,\x20fields,\x20and\x20enums\x20by\x20keyword','<Class>','readonly','argument','\x20not\x20found','type','one\x20or\x20more\x20exact\x20API\x20symbols','.<member>','documentation','kind','//\x20package:\x20','extends','getter','//\x20','slice','inherited','configureOutput','owner','name','\x0a\x20\x20Similar\x20','<symbols...>','every','show','declarationKind','Show\x20exact\x20API\x20classes,\x20members,\x20types,\x20fields,\x20or\x20enum\x20values',',\x20drop\x20--unit','stringify','appendix','outputHelp','114825RDMmSA','found','matches','text','replaceAll','Offline\x20Univer\x20Facade\x20API\x20reference','\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.',';\x20runtime\x20aliases:\x20','80ZxwmvQ','/**','45072bYLbrO','values','join','unit','declaredBy','\x20=\x20','\x20found,\x200\x20not\x20found','find','\x0a\x20\x20List\x20all:\x20api\x20show\x20','readonly\x20','relationOwner','relation','target','\x0a\x0a//\x20batch:\x20','712SsruBb','//\x20[not-found]\x20','length','class','.\x20Try\x20a\x20shorter\x20substring','interface\x20','*\x5c/','reference','//\x20directly\x20referenced\x20types','reduce','members','\x20══\x0a','optional','//\x20batch:\x20','48685lqoAdb','signature','push','\x20found,\x20','totalMatches','example','══\x20','type\x20','declaration','293145bPQGhR','packageName','declare\x20class\x20','filter','\x20more.\x20Narrow\x20with\x20a\x20longer\x20substring,\x20or\x20api\x20show\x20<symbol>\x20for\x20details.','value','includes','1539htqwAb','summary','writeOut','\x20*/','suggestions','query','\x20has\x20no\x20','description','definition','47870pMVROd','not-found','//\x20[found]\x20','trimStart','124jSaHXL','flatMap','tags','1273062bvCxOh','entries','groups','number','api.reference.not-found','action','\x20(filtered\x20by\x20--unit\x20','declare\x20enum\x20','map','status','\x20from\x20','command','[symbols...]','<terms...>','addOption'];_0x2d21=function(){return _0x304d50;};return _0x2d21();}function l(_0x232d23,_0x36935b){const _0x1e6ce9=_0x3ea0;return _0x232d23[_0x1e6ce9(0x228)](_0x292e5e=>{const _0x59cf2b=_0x1e6ce9;let _0x24cdbd=c(_0x292e5e,_0x36935b);return _0x232d23['length']>0x1?_0x59cf2b(0x206)+_0x292e5e['term']+_0x59cf2b(0x1fd)+_0x24cdbd:_0x24cdbd;})['join']('\x0a\x0a');}function u(_0x17cf22){const _0x47100b=_0x3ea0;return _0x17cf22[_0x47100b(0x236)](/\n\s*\n/u,0x1)[0x0]?.[_0x47100b(0x237)]()??'';}function d(_0x55503b){const _0x3c9699=_0x3ea0;return _0x55503b[_0x3c9699(0x24c)]===void 0x0?{'description':_0x55503b[_0x3c9699(0x211)],'tags':_0x55503b[_0x3c9699(0x205)]===''?[]:[{'name':'example','text':_0x55503b[_0x3c9699(0x205)]}]}:_0x55503b[_0x3c9699(0x24c)];}function f(_0x4b824d){const _0xd5646=_0x3ea0;return _0x4b824d[_0xd5646(0x24c)]??{'description':_0x4b824d['summary'],'tags':[]};}function _0x3ea0(_0x36b728,_0x45273a){_0x36b728=_0x36b728-0x1cf;const _0x2d2175=_0x2d21();let _0x3ea019=_0x2d2175[_0x36b728];return _0x3ea019;}function p(_0x27d972){const _0x2bc001=_0x3ea0;let _0x447bcf=_0x27d972[_0x2bc001(0x249)]===void 0x0?'':'\x20{'+_0x27d972[_0x2bc001(0x249)]+'}',_0x475d16=_0x27d972[_0x2bc001(0x243)]===void 0x0?'':'\x20'+_0x27d972['subject'],[_0x442018='',..._0x1e0756]=_0x27d972[_0x2bc001(0x1dd)]===''?[]:_0x27d972['text'][_0x2bc001(0x236)]('\x0a');return _0x27d972[_0x2bc001(0x1cf)]===_0x2bc001(0x205)&&_0x442018[_0x2bc001(0x21c)]()[_0x2bc001(0x240)]('```')?['@'+_0x27d972['name']+_0x447bcf+_0x475d16,_0x442018,..._0x1e0756]:['@'+_0x27d972[_0x2bc001(0x1cf)]+_0x447bcf+_0x475d16+(_0x442018===''?'':'\x20'+_0x442018),..._0x1e0756];}function m(_0x510067,_0x28bc14='',_0x2fb9aa=!0x1){const _0x1276f4=_0x3ea0;if(_0x510067===void 0x0)return[];let _0x1f6674=_0x2fb9aa?u(_0x510067[_0x1276f4(0x217)]):_0x510067[_0x1276f4(0x217)],_0x23f29c=_0x510067[_0x1276f4(0x21f)][_0x1276f4(0x21e)](p),_0x5bd2ca=[..._0x1f6674[_0x1276f4(0x236)]('\x0a'),..._0x2fb9aa||_0x23f29c['length']===0x0?[]:['',..._0x23f29c]];for(;_0x5bd2ca['at'](-0x1)==='';)_0x5bd2ca['pop']();return _0x5bd2ca[_0x1276f4(0x1d2)](_0x513786=>_0x513786==='')?[]:[_0x28bc14+_0x1276f4(0x1e3),..._0x5bd2ca[_0x1276f4(0x228)](_0x56e258=>_0x28bc14+'\x20*'+(_0x56e258===''?'':'\x20'+_0x56e258)),_0x28bc14+_0x1276f4(0x213)];}function h(_0x3196a7){const _0x13954c=_0x3ea0;return''+((_0x3196a7[_0x13954c(0x24d)]===_0x13954c(0x250)||_0x3196a7[_0x13954c(0x246)])&&!_0x3196a7[_0x13954c(0x201)][_0x13954c(0x240)](_0x13954c(0x1ed))?_0x13954c(0x1ed):'')+_0x3196a7[_0x13954c(0x201)]+';';}function g(_0x2f89a9){const _0x4b5ac1=_0x3ea0;let _0x1495b7=_0x2f89a9['summary'][_0x4b5ac1(0x237)]();return[..._0x1495b7===''?[]:['\x20\x20/**\x20'+_0x1495b7[_0x4b5ac1(0x1de)]('*/',_0x4b5ac1(0x1f8))+'\x20*/'],'\x20\x20'+h(_0x2f89a9)];}function _(_0xc4e7c0,_0x276575,_0x32ea90,_0x3b0550){const _0x493ebd=_0x3ea0;let _0x3e8b81=_0x276575===_0x493ebd(0x235)?[]:[_0x493ebd(0x251)+(_0x276575===_0x493ebd(0x253)?_0x493ebd(0x253):_0x493ebd(0x234))+_0x493ebd(0x233)+_0xc4e7c0],_0x5dc044=_0x276575===_0x493ebd(0x235)?_0x3b0550:_0x276575===_0x493ebd(0x253)?_0x493ebd(0x20b)+_0xc4e7c0:_0x493ebd(0x1f7)+_0xc4e7c0;return[..._0x3e8b81,_0x5dc044+'\x20{',..._0x32ea90[_0x493ebd(0x21e)](g),'}'];}function v(_0x18f8aa){const _0x4eba57=_0x3ea0;return typeof _0x18f8aa==_0x4eba57(0x223)?String(_0x18f8aa):JSON[_0x4eba57(0x1d7)](_0x18f8aa);}function y(_0x1690ae,_0x1aa24e=!0x1){const _0xe71801=_0x3ea0;let _0x372974=_0x1690ae['documentation']??(_0x1690ae[_0xe71801(0x211)]===void 0x0?void 0x0:{'description':_0x1690ae['summary'],'tags':[]}),_0x3e2635=_0x1690ae[_0xe71801(0x249)][_0xe71801(0x240)]('(')&&!_0x1690ae['type'][_0xe71801(0x20f)]('=>')?'':':\x20',_0x1033c7=_0x1690ae[_0xe71801(0x208)]??''+_0x1690ae[_0xe71801(0x1cf)]+(_0x1690ae[_0xe71801(0x1fe)]?'?':'')+_0x3e2635+_0x1690ae[_0xe71801(0x249)];return[...m(_0x372974,'\x20\x20',!_0x1aa24e),'\x20\x20'+_0x1033c7+';'];}function b(_0x3b6a6f,_0x297d3e=!0x1){const _0x25020b=_0x3ea0;let _0x3d934b=_0x3b6a6f[_0x25020b(0x241)]??[],_0x21f40e=[_0x25020b(0x24e)+_0x3b6a6f[_0x25020b(0x20a)]+(_0x3d934b['length']===0x0?'':_0x25020b(0x1e1)+_0x3d934b[_0x25020b(0x1e6)](',\x20')),...m(f(_0x3b6a6f))];if(_0x3b6a6f[_0x25020b(0x24d)]==='enum')return _0x21f40e[_0x25020b(0x202)](_0x25020b(0x227)+(_0x3b6a6f[_0x25020b(0x208)]??_0x3b6a6f['name'])+'\x20{',...(_0x3b6a6f[_0x25020b(0x1e5)]??[])[_0x25020b(0x228)](_0x29dca5=>'\x20\x20'+_0x29dca5[_0x25020b(0x1cf)]+'\x20=\x20'+v(_0x29dca5['value'])+','),'}'),_0x21f40e[_0x25020b(0x1e6)]('\x0a');if(_0x3b6a6f[_0x25020b(0x24d)]===_0x25020b(0x232))return _0x21f40e[_0x25020b(0x202)](_0x25020b(0x207)+(_0x3b6a6f[_0x25020b(0x208)]??_0x3b6a6f[_0x25020b(0x1cf)]+_0x25020b(0x1e9)+(_0x3b6a6f[_0x25020b(0x218)]??_0x25020b(0x23b)))+';'),_0x21f40e[_0x25020b(0x1e6)]('\x0a');let _0x795404=_0x3b6a6f[_0x25020b(0x24f)]===void 0x0?'':'\x20extends\x20'+_0x3b6a6f[_0x25020b(0x24f)];return _0x21f40e['push'](_0x25020b(0x1f7)+(_0x3b6a6f[_0x25020b(0x208)]??''+_0x3b6a6f['name']+_0x795404)+'\x20{',...(_0x3b6a6f[_0x25020b(0x1fc)]??[])[_0x25020b(0x21e)](_0x31a4f3=>y(_0x31a4f3,_0x297d3e)),...(_0x3b6a6f['signatures']??[])['map'](_0xead6ab=>'\x20\x20'+_0xead6ab+';'),'}'),_0x21f40e[_0x25020b(0x1e6)]('\x0a');}function x(_0x114597){const _0x117268=_0x3ea0;return _0x114597[_0x117268(0x1f4)]===0x0?[]:['',_0x117268(0x1fa),..._0x114597[_0x117268(0x21e)]((_0x4ca0a0,_0x46c77d)=>[..._0x46c77d===0x0?[]:[''],b(_0x4ca0a0)])];}function S(_0x8ccaee){const _0x1343de=_0x3ea0;if(_0x8ccaee['status']===_0x1343de(0x21a))return'';if(_0x8ccaee[_0x1343de(0x24d)]==='class'){let _0x3bfc1a=_0x8ccaee['groups'][_0x1343de(0x1fb)]((_0xd11db0,_0x3f26c8)=>_0xd11db0+_0x3f26c8['members'][_0x1343de(0x1f4)],0x0),_0x34c753=_0x8ccaee[_0x1343de(0x222)][_0x1343de(0x1eb)](_0x56b5d2=>_0x56b5d2[_0x1343de(0x1ef)]===_0x1343de(0x235)),_0x638455=_0x8ccaee[_0x1343de(0x1d4)]===_0x1343de(0x1f5)?_0x1343de(0x20b)+_0x8ccaee[_0x1343de(0x208)]:_0x1343de(0x207)+_0x8ccaee[_0x1343de(0x208)],_0x485c51=['//\x20package:\x20'+_0x8ccaee['packageName']+';\x20'+_0x3bfc1a+'\x20supported\x20members',...m(_0x8ccaee[_0x1343de(0x24c)])];_0x8ccaee['declarationKind']===_0x1343de(0x232)?(_0x485c51[_0x1343de(0x202)](_0x638455+';'),_0x34c753!==void 0x0&&_0x485c51['push']('',..._(_0x34c753[_0x1343de(0x255)],_0x1343de(0x235),_0x34c753[_0x1343de(0x1fc)],_0x1343de(0x1f7)+_0x34c753[_0x1343de(0x255)]))):_0x485c51[_0x1343de(0x202)](..._(_0x8ccaee['name'],_0x1343de(0x235),_0x34c753?.[_0x1343de(0x1fc)]??[],_0x638455));for(let _0x5f864e of _0x8ccaee[_0x1343de(0x222)]['filter'](_0x2b6bc0=>_0x2b6bc0['relation']!==_0x1343de(0x235)))_0x485c51['push']('',..._(_0x5f864e['owner'],_0x5f864e[_0x1343de(0x1ef)],_0x5f864e['members'],_0x638455));return _0x485c51[_0x1343de(0x202)]('','//\x20full\x20member\x20docs:\x20api\x20show\x20'+_0x8ccaee[_0x1343de(0x1cf)]+_0x1343de(0x24b)),_0x485c51[_0x1343de(0x1e6)]('\x0a');}if(_0x8ccaee[_0x1343de(0x24d)]==='member'){let [_0x5a39a0]=_0x8ccaee['entries'];if(_0x5a39a0===void 0x0)return'';let _0x171697=_0x5a39a0[_0x1343de(0x1ef)]===_0x1343de(0x235)?[]:[_0x1343de(0x251)+_0x5a39a0[_0x1343de(0x1ef)]+_0x1343de(0x22a)+_0x5a39a0[_0x1343de(0x1ee)]];return[_0x1343de(0x24e)+_0x5a39a0[_0x1343de(0x242)][_0x1343de(0x20a)],..._0x171697,_0x1343de(0x20b)+_0x8ccaee[_0x1343de(0x1f0)]+'\x20{',..._0x8ccaee[_0x1343de(0x221)]['flatMap'](_0x1f1b90=>[...m(d(_0x1f1b90['member']),'\x20\x20'),'\x20\x20'+h(_0x1f1b90[_0x1343de(0x242)])]),'}',...x([...new Map(_0x8ccaee[_0x1343de(0x221)]['flatMap'](_0x4eba18=>_0x4eba18['appendix'])[_0x1343de(0x228)](_0x5ed759=>[_0x5ed759[_0x1343de(0x1cf)],_0x5ed759]))[_0x1343de(0x1e5)]()])]['join']('\x0a');}return _0x8ccaee[_0x1343de(0x24d)]===_0x1343de(0x249)?[b(_0x8ccaee['type']),..._0x8ccaee['inherited'][_0x1343de(0x21e)](_0x45a28d=>['',_0x1343de(0x23f)+_0x45a28d[_0x1343de(0x1cf)],b(_0x45a28d)]),...x(_0x8ccaee[_0x1343de(0x1d8)])][_0x1343de(0x1e6)]('\x0a'):_0x1343de(0x20e)in _0x8ccaee[_0x1343de(0x242)]?_0x1343de(0x24e)+_0x8ccaee[_0x1343de(0x1e8)][_0x1343de(0x20a)]+'\x0adeclare\x20enum\x20'+_0x8ccaee[_0x1343de(0x1e8)][_0x1343de(0x1cf)]+'\x20{\x0a\x20\x20'+_0x8ccaee[_0x1343de(0x242)][_0x1343de(0x1cf)]+_0x1343de(0x1e9)+v(_0x8ccaee[_0x1343de(0x242)][_0x1343de(0x20e)])+',\x0a}':[_0x1343de(0x24e)+_0x8ccaee[_0x1343de(0x1e8)][_0x1343de(0x20a)]+(_0x8ccaee['declaredBy']['name']===_0x8ccaee['requestedType'][_0x1343de(0x1cf)]?'':';\x20inherited\x20from\x20'+_0x8ccaee[_0x1343de(0x1e8)][_0x1343de(0x1cf)]),_0x1343de(0x1f7)+_0x8ccaee['requestedType'][_0x1343de(0x1cf)]+'\x20{',...y(_0x8ccaee[_0x1343de(0x242)],!0x0),'}',...x(_0x8ccaee[_0x1343de(0x1d8)])][_0x1343de(0x1e6)]('\x0a');}function C(_0x4f34c6){const _0x3de8e9=_0x3ea0;let _0x1b2b61=_0x4f34c6[_0x3de8e9(0x214)][_0x3de8e9(0x1f4)]===0x0?'':_0x3de8e9(0x1d0)+(_0x4f34c6[_0x3de8e9(0x24d)]==='member'?'methods':_0x3de8e9(0x231))+':\x20'+_0x4f34c6[_0x3de8e9(0x214)][_0x3de8e9(0x1e6)](',\x20');return _0x4f34c6[_0x3de8e9(0x24d)]===_0x3de8e9(0x242)?(_0x4f34c6['owner']??_0x3de8e9(0x23d))+_0x3de8e9(0x216)+(_0x4f34c6['member']??_0x3de8e9(0x242))+_0x1b2b61+_0x3de8e9(0x1ec)+(_0x4f34c6[_0x3de8e9(0x255)]??_0x3de8e9(0x245)):'Unknown\x20symbol:\x20'+_0x4f34c6['query']+_0x1b2b61+_0x3de8e9(0x1e0);}function w(_0x479035,_0x45c581){const _0x258e97=_0x3ea0;let _0x9fd139=_0x479035[_0x258e97(0x254)](),_0xd50833=_0x45c581[_0x258e97(0x20c)](_0x217876=>_0x217876[_0x258e97(0x229)]===_0x258e97(0x1db)),_0x5cb4bc=_0x45c581[_0x258e97(0x20c)](_0x4181fd=>_0x4181fd[_0x258e97(0x229)]===_0x258e97(0x21a)),_0x4439fe=_0x45c581[_0x258e97(0x1f4)]>0x1;_0xd50833[_0x258e97(0x1f4)]>0x0&&_0x9fd139['writeOut']?.(''+_0xd50833[_0x258e97(0x228)](_0x444a44=>_0x4439fe?_0x258e97(0x21b)+_0x444a44['query']+'\x0a'+S(_0x444a44):S(_0x444a44))[_0x258e97(0x1e6)]('\x0a\x0a')+(_0x4439fe&&_0x5cb4bc['length']===0x0?_0x258e97(0x1f1)+_0xd50833['length']+_0x258e97(0x1ea):'')+'\x0a'),_0x5cb4bc['length']>0x0&&_0x479035['error']([..._0x5cb4bc[_0x258e97(0x228)](_0x16154b=>_0x4439fe?_0x258e97(0x1f3)+_0x16154b[_0x258e97(0x215)]+'\x0a'+C(_0x16154b):C(_0x16154b)),..._0x4439fe?[_0x258e97(0x1ff)+_0xd50833['length']+_0x258e97(0x203)+_0x5cb4bc[_0x258e97(0x1f4)]+_0x258e97(0x248)]:[]]['join']('\x0a\x0a'),{'code':_0x258e97(0x224),'exitCode':0x1});}function T(_0x1a2bdc){const _0x38e848=_0x3ea0;let _0x5d8ddf=new _0x15bb55(_0x38e848(0x238))[_0x38e848(0x217)](_0x38e848(0x1df))['argument'](_0x38e848(0x22c),'exact\x20symbols;\x20shorthand\x20for\x20api\x20show')[_0x38e848(0x225)](_0x4dfe01=>{const _0xe9e4f2=_0x38e848;if(_0x4dfe01['length']===0x0){_0x5d8ddf[_0xe9e4f2(0x1d9)]();return;}w(_0x5d8ddf,_0x1a2bdc[_0xe9e4f2(0x1f9)][_0xe9e4f2(0x1d3)](_0x4dfe01));});return _0x5d8ddf[_0x38e848(0x22b)](_0x38e848(0x1eb))[_0x38e848(0x217)](_0x38e848(0x244))[_0x38e848(0x247)](_0x38e848(0x22d),'one\x20or\x20more\x20terms,\x20searched\x20independently')[_0x38e848(0x22e)](new _0x404c11(_0x38e848(0x23a),'limit\x20results\x20to\x20one\x20unit\x20while\x20retaining\x20shared\x20APIs')['choices'](_0x6a1cd2))[_0x38e848(0x225)]((_0x4f69a7,_0x4ae708)=>{const _0x3c234d=_0x38e848;let _0x478424=_0x1a2bdc[_0x3c234d(0x1f9)][_0x3c234d(0x1eb)]({'terms':_0x4f69a7,..._0x4ae708[_0x3c234d(0x1e7)]===void 0x0?{}:{'unit':_0x4ae708[_0x3c234d(0x1e7)]}});_0x5d8ddf['configureOutput']()[_0x3c234d(0x212)]?.(l(_0x478424,_0x4ae708[_0x3c234d(0x1e7)])+'\x0a');}),_0x5d8ddf[_0x38e848(0x22b)](_0x38e848(0x1d3))[_0x38e848(0x217)](_0x38e848(0x1d5))[_0x38e848(0x247)](_0x38e848(0x1d1),_0x38e848(0x24a))['action'](_0x4e9c58=>{const _0x556eea=_0x38e848;w(_0x5d8ddf,_0x1a2bdc[_0x556eea(0x1f9)][_0x556eea(0x1d3)](_0x4e9c58));}),_0x5d8ddf;}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.1.0",
4
+ "version": "1.2.0",
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.1.0"
21
+ "@univer-cli/api-reference": "1.2.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "commander": "^15.0.0"