@fugood/bricks-cli 2.24.10 → 2.24.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fugood/bricks-cli",
3
- "version": "2.24.10",
3
+ "version": "2.24.11",
4
4
  "description": "BRICKS CLI - Command-line interface for BRICKS Workspace API",
5
5
  "keywords": [
6
6
  "bricks",
package/lib/63.js DELETED
@@ -1 +0,0 @@
1
- export const __webpack_esm_id__=63;export const __webpack_esm_ids__=[63];export const __webpack_esm_modules__={8870:(e,t,l)=>{var n=l(65650),o=Object.prototype,i=o.hasOwnProperty,r=o.toString,u=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,u),l=e[u];try{e[u]=void 0;var n=!0}catch(e){}var o=r.call(e);return n&&(t?e[u]=l:delete e[u]),o}},10482:e=>{var t="\\ud800-\\udfff",l="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+i+"]",u="\\d+",a="["+l+"]",c="["+n+"]",f="[^"+t+i+u+l+n+o+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",h="["+o+"]",g="(?:"+c+"|"+f+")",p="(?:"+h+"|"+f+")",D="(?:['’](?:d|ll|m|re|s|t|ve))?",b="(?:['’](?:D|LL|M|RE|S|T|VE))?",B="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",w="[\\ufe0e\\ufe0f]?",x=w+B+("(?:\\u200d(?:"+["[^"+t+"]",s,d].join("|")+")"+w+B+")*"),U="(?:"+[a,s,d].join("|")+")"+x,R=RegExp([h+"?"+c+"+"+D+"(?="+[r,h,"$"].join("|")+")",p+"+"+b+"(?="+[r,h+g,"$"].join("|")+")",h+"?"+g+"+"+D,h+"+"+b,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",u,U].join("|"),"g");e.exports=function(e){return e.match(R)||[]}},10750:(e,t,l)=>{var n=l(93640)(function(e,t,l){return e+(l?"-":"")+t.toLowerCase()});e.exports=n},15813:e=>{var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},25291:(e,t,l)=>{l.d(t,{Ay:()=>D});var n=l(51649),o=l(8498),i=l(29122);const r={circleQuestionMark:"(?)",questionMarkPrefix:"(?)",square:"█",squareDarkShade:"▓",squareMediumShade:"▒",squareLightShade:"░",squareTop:"▀",squareBottom:"▄",squareLeft:"▌",squareRight:"▐",squareCenter:"■",bullet:"●",dot:"․",ellipsis:"…",pointerSmall:"›",triangleUp:"▲",triangleUpSmall:"▴",triangleDown:"▼",triangleDownSmall:"▾",triangleLeftSmall:"◂",triangleRightSmall:"▸",home:"⌂",heart:"♥",musicNote:"♪",musicNoteBeamed:"♫",arrowUp:"↑",arrowDown:"↓",arrowLeft:"←",arrowRight:"→",arrowLeftRight:"↔",arrowUpDown:"↕",almostEqual:"≈",notEqual:"≠",lessOrEqual:"≤",greaterOrEqual:"≥",identical:"≡",infinity:"∞",subscriptZero:"₀",subscriptOne:"₁",subscriptTwo:"₂",subscriptThree:"₃",subscriptFour:"₄",subscriptFive:"₅",subscriptSix:"₆",subscriptSeven:"₇",subscriptEight:"₈",subscriptNine:"₉",oneHalf:"½",oneThird:"⅓",oneQuarter:"¼",oneFifth:"⅕",oneSixth:"⅙",oneEighth:"⅛",twoThirds:"⅔",twoFifths:"⅖",threeQuarters:"¾",threeFifths:"⅗",threeEighths:"⅜",fourFifths:"⅘",fiveSixths:"⅚",fiveEighths:"⅝",sevenEighths:"⅞",line:"─",lineBold:"━",lineDouble:"═",lineDashed0:"┄",lineDashed1:"┅",lineDashed2:"┈",lineDashed3:"┉",lineDashed4:"╌",lineDashed5:"╍",lineDashed6:"╴",lineDashed7:"╶",lineDashed8:"╸",lineDashed9:"╺",lineDashed10:"╼",lineDashed11:"╾",lineDashed12:"−",lineDashed13:"–",lineDashed14:"‐",lineDashed15:"⁃",lineVertical:"│",lineVerticalBold:"┃",lineVerticalDouble:"║",lineVerticalDashed0:"┆",lineVerticalDashed1:"┇",lineVerticalDashed2:"┊",lineVerticalDashed3:"┋",lineVerticalDashed4:"╎",lineVerticalDashed5:"╏",lineVerticalDashed6:"╵",lineVerticalDashed7:"╷",lineVerticalDashed8:"╹",lineVerticalDashed9:"╻",lineVerticalDashed10:"╽",lineVerticalDashed11:"╿",lineDownLeft:"┐",lineDownLeftArc:"╮",lineDownBoldLeftBold:"┓",lineDownBoldLeft:"┒",lineDownLeftBold:"┑",lineDownDoubleLeftDouble:"╗",lineDownDoubleLeft:"╖",lineDownLeftDouble:"╕",lineDownRight:"┌",lineDownRightArc:"╭",lineDownBoldRightBold:"┏",lineDownBoldRight:"┎",lineDownRightBold:"┍",lineDownDoubleRightDouble:"╔",lineDownDoubleRight:"╓",lineDownRightDouble:"╒",lineUpLeft:"┘",lineUpLeftArc:"╯",lineUpBoldLeftBold:"┛",lineUpBoldLeft:"┚",lineUpLeftBold:"┙",lineUpDoubleLeftDouble:"╝",lineUpDoubleLeft:"╜",lineUpLeftDouble:"╛",lineUpRight:"└",lineUpRightArc:"╰",lineUpBoldRightBold:"┗",lineUpBoldRight:"┖",lineUpRightBold:"┕",lineUpDoubleRightDouble:"╚",lineUpDoubleRight:"╙",lineUpRightDouble:"╘",lineUpDownLeft:"┤",lineUpBoldDownBoldLeftBold:"┫",lineUpBoldDownBoldLeft:"┨",lineUpDownLeftBold:"┥",lineUpBoldDownLeftBold:"┩",lineUpDownBoldLeftBold:"┪",lineUpDownBoldLeft:"┧",lineUpBoldDownLeft:"┦",lineUpDoubleDownDoubleLeftDouble:"╣",lineUpDoubleDownDoubleLeft:"╢",lineUpDownLeftDouble:"╡",lineUpDownRight:"├",lineUpBoldDownBoldRightBold:"┣",lineUpBoldDownBoldRight:"┠",lineUpDownRightBold:"┝",lineUpBoldDownRightBold:"┡",lineUpDownBoldRightBold:"┢",lineUpDownBoldRight:"┟",lineUpBoldDownRight:"┞",lineUpDoubleDownDoubleRightDouble:"╠",lineUpDoubleDownDoubleRight:"╟",lineUpDownRightDouble:"╞",lineDownLeftRight:"┬",lineDownBoldLeftBoldRightBold:"┳",lineDownLeftBoldRightBold:"┯",lineDownBoldLeftRight:"┰",lineDownBoldLeftBoldRight:"┱",lineDownBoldLeftRightBold:"┲",lineDownLeftRightBold:"┮",lineDownLeftBoldRight:"┭",lineDownDoubleLeftDoubleRightDouble:"╦",lineDownDoubleLeftRight:"╥",lineDownLeftDoubleRightDouble:"╤",lineUpLeftRight:"┴",lineUpBoldLeftBoldRightBold:"┻",lineUpLeftBoldRightBold:"┷",lineUpBoldLeftRight:"┸",lineUpBoldLeftBoldRight:"┹",lineUpBoldLeftRightBold:"┺",lineUpLeftRightBold:"┶",lineUpLeftBoldRight:"┵",lineUpDoubleLeftDoubleRightDouble:"╩",lineUpDoubleLeftRight:"╨",lineUpLeftDoubleRightDouble:"╧",lineUpDownLeftRight:"┼",lineUpBoldDownBoldLeftBoldRightBold:"╋",lineUpDownBoldLeftBoldRightBold:"╈",lineUpBoldDownLeftBoldRightBold:"╇",lineUpBoldDownBoldLeftRightBold:"╊",lineUpBoldDownBoldLeftBoldRight:"╉",lineUpBoldDownLeftRight:"╀",lineUpDownBoldLeftRight:"╁",lineUpDownLeftBoldRight:"┽",lineUpDownLeftRightBold:"┾",lineUpBoldDownBoldLeftRight:"╂",lineUpDownLeftBoldRightBold:"┿",lineUpBoldDownLeftBoldRight:"╃",lineUpBoldDownLeftRightBold:"╄",lineUpDownBoldLeftBoldRight:"╅",lineUpDownBoldLeftRightBold:"╆",lineUpDoubleDownDoubleLeftDoubleRightDouble:"╬",lineUpDoubleDownDoubleLeftRight:"╫",lineUpDownLeftDoubleRightDouble:"╪",lineCross:"╳",lineBackslash:"╲",lineSlash:"╱"},u={tick:"✔",info:"ℹ",warning:"⚠",cross:"✘",squareSmall:"◻",squareSmallFilled:"◼",circle:"◯",circleFilled:"◉",circleDotted:"◌",circleDouble:"◎",circleCircle:"ⓞ",circleCross:"ⓧ",circlePipe:"Ⓘ",radioOn:"◉",radioOff:"◯",checkboxOn:"☒",checkboxOff:"☐",checkboxCircleOn:"ⓧ",checkboxCircleOff:"Ⓘ",pointer:"❯",triangleUpOutline:"△",triangleLeft:"◀",triangleRight:"▶",lozenge:"◆",lozengeOutline:"◇",hamburger:"☰",smiley:"㋡",mustache:"෴",star:"★",play:"▶",nodejs:"⬢",oneSeventh:"⅐",oneNinth:"⅑",oneTenth:"⅒"},a={...r,...u},c={...r,tick:"√",info:"i",warning:"‼",cross:"×",squareSmall:"□",squareSmallFilled:"■",circle:"( )",circleFilled:"(*)",circleDotted:"( )",circleDouble:"( )",circleCircle:"(○)",circleCross:"(×)",circlePipe:"(│)",radioOn:"(*)",radioOff:"( )",checkboxOn:"[×]",checkboxOff:"[ ]",checkboxCircleOn:"(×)",checkboxCircleOff:"( )",pointer:">",triangleUpOutline:"∆",triangleLeft:"◄",triangleRight:"►",lozenge:"♦",lozengeOutline:"◊",hamburger:"≡",smiley:"☺",mustache:"┌─┐",star:"✶",play:"►",nodejs:"♦",oneSeventh:"1/7",oneNinth:"1/9",oneTenth:"1/10"},f=(0,i.A)(),s=f?a:c;Object.entries(u);const d=function({isSelected:e=!1}){return n.default.createElement(o.Box,{marginRight:1},e?n.default.createElement(o.Text,{color:"blue"},s.pointer):n.default.createElement(o.Text,null," "))};const h=function({isSelected:e=!1,label:t}){return n.createElement(o.Text,{color:e?"blue":void 0},t)};var g=l(57975);function p(e,t){if(!Array.isArray(e))throw new TypeError(`Expected an array, got \`${typeof e}\`.`);if(!Number.isSafeInteger(t))throw new TypeError(`The \`steps\` parameter must be an integer, got ${t}.`);const{length:l}=e;if(0===l)return[...e];const n=(t%l+l)%l;return 0===n?[...e]:[...e.slice(-n),...e.slice(0,-n)]}const D=function({items:e=[],isFocused:t=!0,initialIndex:l=0,indicatorComponent:i=d,itemComponent:r=h,limit:u,onSelect:a,onHighlight:c}){const f="number"==typeof u&&e.length>u,s=f?Math.min(u,e.length):e.length,D=s-1,[b,B]=(0,n.useState)(l>D?D-l:0),[w,x]=(0,n.useState)(l?l>D?D:l:0),U=(0,n.useRef)(e);(0,n.useEffect)(()=>{(0,g.isDeepStrictEqual)(U.current.map(e=>e.value),e.map(e=>e.value))||(B(0),x(0)),U.current=e},[e]),(0,o.useInput)((0,n.useCallback)((t,l)=>{if("k"===t||l.upArrow){const t=(f?s:e.length)-1,l=0===w,n=l?b+1:b,o=l?f?w:t:w-1;B(n),x(o);const i=f?p(e,n).slice(0,s):e;"function"==typeof c&&c(i[o])}if("j"===t||l.downArrow){const t=w===(f?s:e.length)-1,l=t?b-1:b,n=t?f?w:0:w+1;B(l),x(n);const o=f?p(e,l).slice(0,s):e;"function"==typeof c&&c(o[n])}if(/^[1-9]$/.test(t)){const l=Number.parseInt(t,10)-1,n=f?p(e,b).slice(0,s):e;if(l>=0&&l<n.length){const e=n[l];e&&a?.(e)}}if(l.return){const t=f?p(e,b).slice(0,s):e;"function"==typeof a&&a(t[w])}},[f,s,b,w,e,a,c]),{isActive:t});const R=f?p(e,b).slice(0,s):e;return n.default.createElement(o.Box,{flexDirection:"column"},R.map((e,t)=>{const l=t===w;return n.default.createElement(o.Box,{key:e.key??e.value},n.default.createElement(i,{isSelected:l}),n.default.createElement(r,{...e,isSelected:l}))}))}},29005:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},29253:(e,t,l)=>{l.d(t,{A:()=>u});var n=l(51649),o=l(8498),i=l(88568);function r({value:e,placeholder:t="",focus:l=!0,mask:r,highlightPastedText:u=!1,showCursor:a=!0,onChange:c,onSubmit:f}){const[s,d]=(0,n.useState)({cursorOffset:(e||"").length,cursorWidth:0}),{cursorOffset:h,cursorWidth:g}=s;(0,n.useEffect)(()=>{d(t=>{if(!l||!a)return t;const n=e||"";return t.cursorOffset>n.length-1?{cursorOffset:n.length,cursorWidth:0}:t})},[e,l,a]);const p=u?g:0,D=r?r.repeat(e.length):e;let b=D,B=t?i.Ay.grey(t):void 0;if(a&&l){B=t.length>0?i.Ay.inverse(t[0])+i.Ay.grey(t.slice(1)):i.Ay.inverse(" "),b=D.length>0?"":i.Ay.inverse(" ");let e=0;for(const t of D)b+=e>=h-p&&e<=h?i.Ay.inverse(t):t,e++;D.length>0&&h===D.length&&(b+=i.Ay.inverse(" "))}return(0,o.useInput)((t,l)=>{if(l.upArrow||l.downArrow||l.ctrl&&"c"===t||l.tab||l.shift&&l.tab)return;if(l.return)return void(f&&f(e));let n=h,o=e,i=0;l.leftArrow?a&&n--:l.rightArrow?a&&n++:l.backspace||l.delete?h>0&&(o=e.slice(0,h-1)+e.slice(h,e.length),n--):(o=e.slice(0,h)+t+e.slice(h,e.length),n+=t.length,t.length>1&&(i=t.length)),h<0&&(n=0),h>e.length&&(n=e.length),d({cursorOffset:n,cursorWidth:i}),o!==e&&c(o)},{isActive:l}),n.default.createElement(o.Text,null,t?D.length>0?b:B:b)}const u=r},39546:e=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},39850:(e,t,l)=>{var n=l(39546),o=l(15813),i=l(95243),r=l(10482);e.exports=function(e,t,l){return e=i(e),void 0===(t=l?void 0:t)?o(e)?r(e):n(e):e.match(t)||[]}},44187:e=>{e.exports=function(e,t,l,n){var o=-1,i=null==e?0:e.length;for(n&&i&&(l=e[++o]);++o<i;)l=t(l,e[o],o,e);return l}},45881:(e,t,l)=>{var n=l(69968),o=l(95243),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,r=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,n).replace(r,"")}},47882:(e,t,l)=>{l.d(t,{A:()=>r});var n=l(51649),o=l(8498),i=l(47661);const r=function({type:e="dots"}){const[t,l]=(0,n.useState)(0),r=i[e];return(0,n.useEffect)(()=>{const e=setInterval(()=>{l(e=>e===r.frames.length-1?0:e+1)},r.interval);return()=>{clearInterval(e)}},[r]),n.default.createElement(o.Text,null,r.frames[t])}},51035:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},51187:(e,t,l)=>{var n=l(87379),o=l(80547);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},52291:(e,t,l)=>{var n=l(65650),o=l(65111),i=l(53142),r=l(51187),u=n?n.prototype:void 0,a=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(r(t))return a?a.call(t):"";var l=t+"";return"0"==l&&1/t==-1/0?"-0":l}},53142:e=>{var t=Array.isArray;e.exports=t},65111:e=>{e.exports=function(e,t){for(var l=-1,n=null==e?0:e.length,o=Array(n);++l<n;)o[l]=t(e[l],l,e);return o}},65650:(e,t,l)=>{var n=l(78942).Symbol;e.exports=n},69968:(e,t,l)=>{var n=l(51035)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i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ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});e.exports=n},74967:e=>{var t="object"==typeof global&&global&&global.Object===Object&&global;e.exports=t},78942:(e,t,l)=>{var n=l(74967),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},80547:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},87379:(e,t,l)=>{var n=l(65650),o=l(8870),i=l(29005),r=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?o(e):i(e)}},93640:(e,t,l)=>{var n=l(44187),o=l(45881),i=l(39850),r=RegExp("['’]","g");e.exports=function(e){return function(t){return n(i(o(t).replace(r,"")),e,"")}}},95243:(e,t,l)=>{var n=l(52291);e.exports=function(e){return null==e?"":n(e)}}};