@skill-map/cli 0.20.0 → 0.20.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.
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/kernel/index.js +1 -1
- package/dist/kernel/index.js.map +1 -1
- package/dist/ui/{chunk-LQTUSDHD.js → chunk-4NLC7QD2.js} +1 -1
- package/dist/ui/{chunk-DLT5AP43.js → chunk-6BZZQV42.js} +1 -1
- package/dist/ui/{chunk-QICH7GU2.js → chunk-6GUHSAP5.js} +1 -1
- package/dist/ui/{chunk-HJSRMZTK.js → chunk-E4ALROJS.js} +1 -1
- package/dist/ui/{chunk-2W62S3FU.js → chunk-EZZF5RL5.js} +1 -1
- package/dist/ui/{chunk-HOBQ4G4O.js → chunk-FWX4RRDF.js} +1 -1
- package/dist/ui/{chunk-UJRROL5X.js → chunk-GGMXMGRJ.js} +1 -1
- package/dist/ui/{chunk-IBUV6OG2.js → chunk-K5PULFK7.js} +1 -1
- package/dist/ui/{chunk-VLNLJAUB.js → chunk-OJ6W6OIB.js} +1 -1
- package/dist/ui/{chunk-C7QWBAYP.js → chunk-PTCD42GB.js} +1 -1
- package/dist/ui/{chunk-W3JLG7BI.js → chunk-ZSRIBCAW.js} +5 -5
- package/dist/ui/index.html +1 -1
- package/dist/ui/main-5FJWWH5I.js +1 -0
- package/package.json +1 -1
- package/dist/ui/main-QHE47BCM.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as st,c as lt,d as rt}from"./chunk-
|
|
1
|
+
import{a as st,c as lt,d as rt}from"./chunk-6GUHSAP5.js";import{$a as S,$c as Me,Aa as c,Dc as nt,Fc as ot,Gb as Ce,Gc as Ie,Hc as V,Ib as be,Ic as U,J as N,Ja as L,Jc as De,K as ne,Kb as qe,M as de,Ma as x,Mc as ze,Na as T,Nc as ee,O as f,Oc as at,Pb as D,Pc as Oe,Qc as Ve,S as g,Sa as s,Sb as q,T as h,Ta as u,Tc as k,U as F,Ua as C,Va as E,W as je,Wa as Z,Wb as W,Xa as $,Ya as Q,Yc as we,Z as y,Za as X,_ as me,_a as Y,ba as _e,bc as d,cb as w,cc as G,db as fe,dd as te,ea as v,eb as I,gb as l,ha as Re,hb as ge,ia as Pe,ib as ae,ic as ye,jb as he,kb as Ze,lb as m,lc as xe,mb as _,mc as We,na as p,nc as Te,oc as ve,pc as le,qb as $e,ra as ke,rb as Qe,tb as se,ub as b,va as O,vb as Xe,wa as oe,wb as Ye,wc as Ge,xa as Ne,xc as M,ya as ue,yc as K,za as z,zc as it}from"./chunk-ZSRIBCAW.js";import{B as tt,D as Ee,O as J,a as Je,d as Le,h as Se,l as Be,m as Ae,p as Ke,r as Ue,u as re,v as Fe,y as et}from"./chunk-3R7E3HPC.js";import{a as P}from"./chunk-Q7L6LLAK.js";var xt=["data-p-icon","window-maximize"],ct=(()=>{class t extends we{pathId;onInit(){this.pathId="url(#"+M()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=v(t)))(i||t)}})();static \u0275cmp=O({type:t,selectors:[["","data-p-icon","window-maximize"]],features:[z],attrs:xt,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(F(),Z(0,"g"),Q(1,"path",0),$(),Z(2,"defs")(3,"clipPath",1),Q(4,"rect",2),$()()),n&2&&(L("clip-path",i.pathId),p(3),fe("id",i.pathId))},encapsulation:2})}return t})();var Tt=["data-p-icon","window-minimize"],pt=(()=>{class t extends we{pathId;onInit(){this.pathId="url(#"+M()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=v(t)))(i||t)}})();static \u0275cmp=O({type:t,selectors:[["","data-p-icon","window-minimize"]],features:[z],attrs:Tt,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(F(),Z(0,"g"),Q(1,"path",0),$(),Z(2,"defs")(3,"clipPath",1),Q(4,"rect",2),$()()),n&2&&(L("clip-path",i.pathId),p(3),fe("id",i.pathId))},encapsulation:2})}return t})();var dt=(()=>{class t extends ee{pFocusTrapDisabled=!1;platformId=f(Re);document=f(je);firstHiddenFocusableElement;lastHiddenFocusableElement;onInit(){le(this.platformId)&&!this.pFocusTrapDisabled&&!this.firstHiddenFocusableElement&&!this.lastHiddenFocusableElement&&this.createHiddenFocusableElements()}onChanges(e){e.pFocusTrapDisabled&&le(this.platformId)&&(e.pFocusTrapDisabled.currentValue?this.removeHiddenFocusableElements():this.createHiddenFocusableElements())}removeHiddenFocusableElements(){this.firstHiddenFocusableElement&&this.firstHiddenFocusableElement.parentNode&&this.firstHiddenFocusableElement.parentNode.removeChild(this.firstHiddenFocusableElement),this.lastHiddenFocusableElement&&this.lastHiddenFocusableElement.parentNode&&this.lastHiddenFocusableElement.parentNode.removeChild(this.lastHiddenFocusableElement)}getComputedSelector(e){return`:not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])${e??""}`}createHiddenFocusableElements(){let n=i=>Ue("span",{class:"p-hidden-accessible p-hidden-focusable",tabindex:"0",role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:i?.bind(this)});this.firstHiddenFocusableElement=n(this.onFirstHiddenElementFocus),this.lastHiddenFocusableElement=n(this.onLastHiddenElementFocus),this.firstHiddenFocusableElement.setAttribute("data-pc-section","firstfocusableelement"),this.lastHiddenFocusableElement.setAttribute("data-pc-section","lastfocusableelement"),this.el.nativeElement.prepend(this.firstHiddenFocusableElement),this.el.nativeElement.append(this.lastHiddenFocusableElement)}onFirstHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.lastHiddenFocusableElement||!this.el.nativeElement?.contains(i)?et(n.parentElement,":not(.p-hidden-focusable)"):this.lastHiddenFocusableElement;Fe(a)}onLastHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.firstHiddenFocusableElement||!this.el.nativeElement?.contains(i)?tt(n.parentElement,":not(.p-hidden-focusable)"):this.firstHiddenFocusableElement;Fe(a)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=v(t)))(i||t)}})();static \u0275dir=Ne({type:t,selectors:[["","pFocusTrap",""]],inputs:{pFocusTrapDisabled:[2,"pFocusTrapDisabled","pFocusTrapDisabled",d]},features:[z]})}return t})();var mt=`
|
|
2
2
|
.p-dialog {
|
|
3
3
|
max-height: 90%;
|
|
4
4
|
transform: scale(1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as ye,l as ve}from"./chunk-
|
|
1
|
+
import{e as ye,l as ve}from"./chunk-6GUHSAP5.js";import{$a as oe,Aa as p,Gb as P,Gc as z,Hc as h,I as re,Ib as ie,Ic as fe,J as B,Ja as m,Jc as j,K as E,M,Ma as K,Mc as R,Na as U,Nc as X,O as u,Pb as pe,S as C,Sa as i,T,Ta as f,Tc as g,U as q,Ua as b,Uc as be,Va as L,Wa as ee,Wb as ge,Xa as te,Ya as ne,Yc as he,Z as Q,Za as H,_a as G,_c as _e,bc as k,cb as $,cc as ue,db as le,ea as _,eb as w,gb as r,hb as Z,ib as Y,ic as J,ja as ce,jb as N,lb as y,lc as W,mb as v,na as c,nc as V,oc as O,qb as se,tb as de,ub as d,va as I,vb as A,wa as S,wb as F,xc as me,ya as D,za as x}from"./chunk-ZSRIBCAW.js";var Ce=`
|
|
2
2
|
.p-tag {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Da as Le,Gb as N,I as se,J as ae,Jc as Ye,K as T,M as E,Ma as Be,Mc as me,Na as ke,Nc as L,O as I,Rb as b,Sb as C,Tc as X,U as xe,Uc as Ke,Vb as u,Wb as o,Ya as Re,Yc as Je,Z as U,ac as We,ba as D,bc as S,ca as W,d as Ie,da as Te,dc as ue,ea as M,eb as je,fc as ce,ga as le,h as Ne,hb as Ge,ib as He,n as Se,oc as qe,qa as de,ra as v,sb as $e,t as Oe,ub as Ue,va as q,wa as P,xa as _,ya as Pe,za as m}from"./chunk-ZSRIBCAW.js";import{I as Ze,K as Z,P as fe,T as Xe,b as z,d as he,fa as pe,g as ze}from"./chunk-3R7E3HPC.js";import{a as p,b as A}from"./chunk-Q7L6LLAK.js";var Et=["data-p-icon","times"],Mn=(()=>{class t extends Je{static \u0275fac=(()=>{let e;return function(r){return(e||(e=M(t)))(r||t)}})();static \u0275cmp=q({type:t,selectors:[["","data-p-icon","times"]],features:[m],attrs:Et,decls:1,vars:0,consts:[["d","M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z","fill","currentColor"]],template:function(i,r){i&1&&(xe(),Re(0,"path",0))},encapsulation:2})}return t})();var Ft=Object.defineProperty,Qe=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,et=(t,n,e)=>n in t?Ft(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,tt=(t,n)=>{for(var e in n||(n={}))wt.call(n,e)&&et(t,e,n[e]);if(Qe)for(var e of Qe(n))It.call(n,e)&&et(t,e,n[e]);return t},Nt=(t,n,e)=>new Promise((i,r)=>{var s=l=>{try{f(e.next(l))}catch(c){r(c)}},a=l=>{try{f(e.throw(l))}catch(c){r(c)}},f=l=>l.done?i(l.value):Promise.resolve(l.value).then(s,a);f((e=e.apply(t,n)).next())}),K="animation",B="transition";function St(t){return t?t.disabled||!!(t.safe&&Ze()):!1}function Ot(t,n){return t?tt(tt({},t),Object.entries(n).reduce((e,[i,r])=>{var s;return e[i]=(s=t[i])!=null?s:r,e},{})):n}function xt(t){let{name:n,enterClass:e,leaveClass:i}=t||{};return{enter:{from:e?.from||`${n}-enter-from`,to:e?.to||`${n}-enter-to`,active:e?.active||`${n}-enter-active`},leave:{from:i?.from||`${n}-leave-from`,to:i?.to||`${n}-leave-to`,active:i?.active||`${n}-leave-active`}}}function Tt(t){return{enter:{onBefore:t?.onBeforeEnter,onStart:t?.onEnter,onAfter:t?.onAfterEnter,onCancelled:t?.onEnterCancelled},leave:{onBefore:t?.onBeforeLeave,onStart:t?.onLeave,onAfter:t?.onAfterLeave,onCancelled:t?.onLeaveCancelled}}}function Pt(t,n){let e=window.getComputedStyle(t),i=g=>{let F=e[`${g}Delay`],V=e[`${g}Duration`];return[F.split(", ").map(pe),V.split(", ").map(pe)]},[r,s]=i(B),[a,f]=i(K),l=Math.max(...s.map((g,F)=>g+r[F])),c=Math.max(...f.map((g,F)=>g+a[F])),d,h=0,y=0;return n===B?l>0&&(d=B,h=l,y=s.length):n===K?c>0&&(d=K,h=c,y=f.length):(h=Math.max(l,c),d=h>0?l>c?B:K:void 0,y=d?d===B?s.length:f.length:0),{type:d,timeout:h,count:y}}function J(t,n){return typeof t=="number"?t:typeof t=="object"&&t[n]!=null?t[n]:null}function Lt(t,n=!0,e=!1){if(!n&&!e)return;let i=ze(t);n&&fe(t,"--pui-motion-height",i.height+"px"),e&&fe(t,"--pui-motion-width",i.width+"px")}var Bt={name:"p",safe:!0,disabled:!1,enter:!0,leave:!0,autoHeight:!0,autoWidth:!1};function ge(t,n){if(!t)throw new Error("Element is required.");let e={},i=!1,r={},s=null,a={},f=d=>{if(Object.assign(e,Ot(d,Bt)),!e.enter&&!e.leave)throw new Error("Enter or leave must be true.");a=Tt(e),i=St(e),r=xt(e),s=null},l=d=>Nt(null,null,function*(){s?.();let{onBefore:h,onStart:y,onAfter:g,onCancelled:F}=a[d]||{},V={element:t};if(i){h?.(V),y?.(V),g?.(V);return}let{from:Ve,active:Ae,to:Ee}=r[d]||{};return Lt(t,e.autoHeight,e.autoWidth),h?.(V),z(t,Ve),z(t,Ae),t.offsetHeight,he(t,Ve),z(t,Ee),y?.(V),new Promise(Fe=>{let Vt=J(e.duration,d),we=()=>{he(t,[Ee,Ae]),s=null},At=()=>{we(),g?.(V),Fe()};s=()=>{we(),F?.(V),Fe()},Rt(t,e.type,Vt,At)})});f(n);let c={enter:()=>e.enter?l("enter"):Promise.resolve(),leave:()=>e.leave?l("leave"):Promise.resolve(),cancel:()=>{s?.(),s=null},update:(d,h)=>{if(!d)throw new Error("Element is required.");t=d,c.cancel(),f(h)}};return e.appear&&c.enter(),c}var kt=0;function Rt(t,n,e,i){let r=t._motionEndId=++kt,s=()=>{r===t._motionEndId&&i()};if(e!=null)return setTimeout(s,e);let{type:a,timeout:f,count:l}=Pt(t,n);if(!a){i();return}let c=a+"end",d=0,h=()=>{t.removeEventListener(c,y,!0),s()},y=g=>{g.target===t&&++d>=l&&h()};t.addEventListener(c,y,{capture:!0,once:!0}),setTimeout(()=>{d<l&&h()},f+1)}var jt=["*"];function Gt(t,n){t&1&&He(0)}var Q=new WeakMap;function k(t,n){if(t)switch(Q.has(t)||Q.set(t,{display:t.style.display,visibility:t.style.visibility,maxHeight:t.style.maxHeight,overflow:t.style.overflow}),n){case"display":t.style.display="none";break;case"visibility":t.style.visibility="hidden",t.style.maxHeight="0",t.style.overflow="hidden";break}}function ee(t,n){if(!t)return;let e=Q.get(t)??t.style;switch(n){case"display":t.style.display=e?.display||"";break;case"visibility":t.style.visibility=e?.visibility||"",t.style.maxHeight=e?.maxHeight||"",t.style.overflow=e?.overflow||"";break}Q.delete(t)}var Ht=`
|
|
2
2
|
.p-motion {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as he,d as ve,g as xe,k as ye}from"./chunk-
|
|
1
|
+
import{a as he,d as ve,g as xe,k as ye}from"./chunk-6GUHSAP5.js";import{$a as H,Aa as N,Gb as T,Gc as ge,Hc as w,Ib as le,J as h,Ja as d,Jc as M,K as b,Ka as te,La as ne,M as v,Ma as _,Mc as k,Na as C,Nc as A,O as i,Pb as de,S as W,Sa as a,Sb as U,T as X,Ta as D,Tc as s,U as J,Ua as B,Uc as $,Va as j,Wb as g,Xc as fe,Z as K,_c as be,ba as Y,bc as S,ca as Q,cb as oe,ea as u,eb as R,gb as c,hb as F,ia as Z,ib as E,ic as pe,jb as ie,lb as O,lc as ue,mb as V,na as p,nc as me,oc as P,qb as se,sb as ae,ub as l,va as z,vb as re,wa as x,wb as ce,xa as ee,ya as y,za as I}from"./chunk-ZSRIBCAW.js";import{a as L}from"./chunk-Q7L6LLAK.js";var Ie=`
|
|
2
2
|
.p-message {
|
|
3
3
|
display: grid;
|
|
4
4
|
grid-template-rows: 1fr;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as bi,b as Tn,c as In,d as kn,e as Sn}from"./chunk-
|
|
1
|
+
import{a as bi,b as Tn,c as In,d as kn,e as Sn}from"./chunk-6BZZQV42.js";import{d as ln,k as mi,m as _i,o as zi,p as fi,q as Cn,r as gi}from"./chunk-OJ6W6OIB.js";import{a as lt,b as yi,c as Lt,d as Mn,e as Rt,f as En,g as Dn,h as On}from"./chunk-E4ALROJS.js";import{a as gt,b as hi,d as Vt,e as Ke,f as wn,g as Bt,h as pt,i as ut,j as Je,l as rt}from"./chunk-6GUHSAP5.js";import{$a as D,$c as Tt,Aa as p,Ab as bt,Ac as _n,Bb as yt,Bc as Pi,Cb as vt,Cc as Et,Dc as ft,Ec as fn,Fc as gn,Gb as se,Gc as he,Hb as ct,Hc as U,I as Ne,Ib as j,Ic as De,J as ce,Ja as w,Jb as Te,Jc as ye,K as xe,Ka as Xi,Kb as oi,La as en,Lb as Fi,M as de,Ma as fe,Mb as ai,Mc as me,Na as ge,Nb as Kt,Nc as Re,O as R,Ob as an,Oc as W,Pb as Z,Pc as bn,Qa as tn,Qc as Dt,Ra as nn,Rc as Ut,S as _,Sa as l,Sb as ie,Sc as ot,T as f,Ta as u,Tc as $,U as I,Ua as m,Uc as Pe,V as ti,Va as V,Vc as yn,Wa as ne,Wb as Y,Wc as vn,Xa as oe,Xc as ui,Ya as K,Yc as q,Z as T,Za as S,Zc as Wt,_ as $e,_a as M,_c as Ot,ac as rn,ad as Ft,ba as Fe,bc as C,bd as Q,ca as ii,cb as P,cc as X,cd as xn,d as St,db as ke,dd as at,ea as E,eb as k,gb as s,hb as mt,ib as Ye,ic as tt,jb as Oe,kb as Ve,kc as Qe,lb as b,lc as Me,mb as y,mc as Ge,na as c,nc as be,oc as pe,pc as it,qb as Ee,ra as Ce,rb as Ae,tb as Se,ub as g,va as O,vb as N,wa as we,wb as ee,xa as ni,xb as le,xc as ue,ya as _e,yb as on,za as F}from"./chunk-ZSRIBCAW.js";import{A as jt,B as ci,E as dn,F as wt,G as pn,H as Li,J as dt,N as un,O as qt,Q as Ri,R as di,T as je,U as Le,V as He,W as hn,X as _t,a as Ze,aa as mn,b as $t,ba as Qt,ca as pi,d as sn,k as Gt,l as Vi,m as ri,n as li,o as cn,p as Mt,t as nt,u as ae,v as Be,w as Bi,x as xt,y as si,z as Ct}from"./chunk-3R7E3HPC.js";import{a as ve,b as We}from"./chunk-Q7L6LLAK.js";var Fn=`
|
|
2
2
|
.p-datatable {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as v,d as ct,e as gt}from"./chunk-UJRROL5X.js";import{a as Ze,b as et,c as tt,d as nt,e as rt}from"./chunk-LQTUSDHD.js";import{a as le,b as de,c as at,d as st,e as lt,f as dt,g as q,h as W}from"./chunk-HJSRMZTK.js";import{e as it,f as se,h as G,i as U,j as K,l as ot}from"./chunk-QICH7GU2.js";import{$a as Le,$c as ae,Aa as Ne,Fc as qe,Gb as oe,Gc as re,Hb as Be,I as Ee,Ib as $e,Ic as We,J as Me,Ja as h,K as Te,Lc as Qe,M as Ie,Ma as b,Na as f,O as k,Oa as Re,Pa as B,Qa as T,Ra as I,Rc as Xe,S as E,Sa as _,Sb as y,Sc as ee,T as M,Ta as l,Tc as Ye,Ua as s,Va as P,Vb as He,Wa as g,Wb as O,Xa as p,Ya as R,Z as Oe,_c as Je,ac as ve,ba as x,bc as Ge,ca as F,cb as D,db as A,dd as V,ea as be,eb as C,ed as N,gb as d,ia as De,ja as Z,jb as Ve,kb as ze,lb as te,mb as ne,mc as Ue,na as o,nc as Ke,rb as fe,sb as L,tb as ie,ub as $,va as S,vb as a,wa as je,wb as m,xb as u,ya as Fe,yb as j,yc as xe,za as Ae}from"./chunk-W3JLG7BI.js";import"./chunk-3R7E3HPC.js";import{a as Y,b as J}from"./chunk-Q7L6LLAK.js";function Mt(t,n){if(t&1&&(g(0,"p",6),a(1),p()),t&2){let e=d();o(),j(" ",e.texts.aboutErrorPrefix," ",e.loadError()," ")}}var ce=class t{dataSource=k(V);updateCheck=k(ct);theme=k(gt);visible=O.required();texts=v;health=x(null);loadError=x(null);markSrc=y(()=>this.theme.resolved()==="dark"?"skill-map-mark-light.svg":"skill-map-mark-dark.svg");cliVersion=y(()=>this.updateCheck.current()??this.health()?.implVersion??this.texts.aboutUnknown);specVersion=y(()=>this.health()?.specVersion??this.texts.aboutLoading);schemaVersion=y(()=>this.health()?.schemaVersion??this.texts.aboutLoading);scope=y(()=>this.health()?.scope??this.texts.aboutLoading);cwd=y(()=>this.health()?.cwd??this.texts.aboutLoading);dbDisplay=y(()=>{let n=this.health();return n?this.texts.aboutDbValue(n.db,Tt(n.dbPath,n.cwd)):this.texts.aboutLoading});homeDir=y(()=>this.health()?.homeDir??this.texts.aboutLoading);constructor(){F(()=>{this.visible()&&this.health()===null&&this.load()})}async load(){this.loadError.set(null);try{let n=await this.dataSource.health();this.health.set(n)}catch(n){let e=n instanceof N||n instanceof Error?n.message:String(n);this.loadError.set(e)}}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=S({type:t,selectors:[["sm-settings-about"]],inputs:{visible:[1,"visible"]},decls:67,vars:29,consts:[["aria-labelledby","settings-about-heading","data-testid","settings-about",1,"settings-about"],[1,"settings-about__header"],["alt","","aria-hidden","true","data-testid","settings-about-logo",1,"settings-about__logo",3,"src"],[1,"settings-about__heading-text"],["id","settings-about-heading",1,"settings-about__title"],[1,"settings-about__intro"],["data-testid","settings-about-error",1,"settings-about__error"],["target","_blank","rel","noopener noreferrer","data-testid","settings-about-star",1,"settings-about__star",3,"href"],["aria-hidden","true",1,"pi","pi-star-fill","settings-about__star-icon"],[1,"settings-about__star-text"],[1,"settings-about__star-heading"],[1,"settings-about__star-body"],[1,"settings-about__star-cta"],["aria-hidden","true",1,"pi","pi-star-fill"],[1,"settings-about__list"],[1,"settings-about__row"],[1,"settings-about__label"],[1,"settings-about__value"],["target","_blank","rel","noopener noreferrer","data-testid","settings-about-website",1,"settings-about__link",3,"href"],["target","_blank","rel","noopener noreferrer","data-testid","settings-about-github",1,"settings-about__link",3,"href"],["data-testid","settings-about-cli",1,"settings-about__value"],["data-testid","settings-about-spec",1,"settings-about__value"],["data-testid","settings-about-schema",1,"settings-about__value"],["data-testid","settings-about-scope",1,"settings-about__value"],["data-testid","settings-about-cwd",1,"settings-about__value"],["data-testid","settings-about-db",1,"settings-about__value"],["data-testid","settings-about-home",1,"settings-about__value"]],template:function(e,i){e&1&&(g(0,"section",0)(1,"header",1),R(2,"img",2),g(3,"div",3)(4,"h2",4),a(5),p(),g(6,"p",5),a(7),p()()(),b(8,Mt,2,2,"p",6),g(9,"a",7),R(10,"i",8),g(11,"span",9)(12,"span",10),a(13),p(),g(14,"span",11),a(15),p()(),g(16,"span",12),R(17,"i",13),a(18),p()(),g(19,"dl",14)(20,"div",15)(21,"dt",16),a(22),p(),g(23,"dd",17)(24,"a",18),a(25),p()()(),g(26,"div",15)(27,"dt",16),a(28),p(),g(29,"dd",17)(30,"a",19),a(31),p()()(),g(32,"div",15)(33,"dt",16),a(34),p(),g(35,"dd",20),a(36),p()(),g(37,"div",15)(38,"dt",16),a(39),p(),g(40,"dd",21),a(41),p()(),g(42,"div",15)(43,"dt",16),a(44),p(),g(45,"dd",22),a(46),p()(),g(47,"div",15)(48,"dt",16),a(49),p(),g(50,"dd",23),a(51),p()(),g(52,"div",15)(53,"dt",16),a(54),p(),g(55,"dd",24),a(56),p()(),g(57,"div",15)(58,"dt",16),a(59),p(),g(60,"dd",25),a(61),p()(),g(62,"div",15)(63,"dt",16),a(64),p(),g(65,"dd",26),a(66),p()()()()),e&2&&(o(2),A("src",i.markSrc(),Z),o(3),u(" ",i.texts.aboutHeading," "),o(2),m(i.texts.aboutIntro),o(),f(i.loadError()?8:-1),o(),A("href",i.texts.aboutGithubUrl,Z),h("aria-label",i.texts.aboutStarA11y),o(4),m(i.texts.aboutStarHeading),o(2),m(i.texts.aboutStarBody),o(3),u(" ",i.texts.aboutStarCta," "),o(4),m(i.texts.aboutWebsiteLabel),o(2),A("href",i.texts.aboutWebsiteUrl,Z),o(),m(i.texts.aboutWebsiteUrl),o(3),m(i.texts.aboutGithubLabel),o(2),A("href",i.texts.aboutGithubUrl,Z),o(),m(i.texts.aboutGithubUrl),o(3),m(i.texts.aboutCliLabel),o(2),u(" ",i.cliVersion()," "),o(3),m(i.texts.aboutSpecLabel),o(2),u(" ",i.specVersion()," "),o(3),m(i.texts.aboutSchemaLabel),o(2),u(" ",i.schemaVersion()," "),o(3),m(i.texts.aboutScopeLabel),o(2),u(" ",i.scope()," "),o(3),m(i.texts.aboutFolderLabel),o(2),u(" ",i.cwd()," "),o(3),m(i.texts.aboutDbLabel),o(2),u(" ",i.dbDisplay()," "),o(3),m(i.texts.aboutHomeLabel),o(2),u(" ",i.homeDir()," "))},styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-y:auto;padding:1.25rem 1.5rem}.settings-about[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem}.settings-about__header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem}.settings-about__logo[_ngcontent-%COMP%]{width:64px;height:64px;flex-shrink:0}.settings-about__heading-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;min-width:0}.settings-about__title[_ngcontent-%COMP%]{font-size:1.15rem;font-weight:600;margin:0}.settings-about__intro[_ngcontent-%COMP%]{margin:0;color:var(--p-text-muted-color);font-size:.875rem}.settings-about__error[_ngcontent-%COMP%]{margin:0;padding:.5rem .75rem;border-radius:var(--p-border-radius);background:var(--p-message-error-background);color:var(--p-message-error-color);font-size:.875rem}.settings-about__list[_ngcontent-%COMP%]{margin:0;padding:0;display:flex;flex-direction:column;gap:.25rem}.settings-about__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:180px 1fr;align-items:baseline;gap:.75rem;padding:.5rem .75rem;border-radius:var(--p-border-radius)}.settings-about__row[_ngcontent-%COMP%]:nth-child(odd){background:var(--p-content-hover-background)}.settings-about__label[_ngcontent-%COMP%]{margin:0;font-size:.875rem;color:var(--p-text-muted-color)}.settings-about__value[_ngcontent-%COMP%]{margin:0;font-family:var(--p-monospace-font-family, ui-monospace, monospace);font-size:.875rem;word-break:break-all}.settings-about__link[_ngcontent-%COMP%]{color:var(--p-primary-color);text-decoration:none}.settings-about__link[_ngcontent-%COMP%]:hover, .settings-about__link[_ngcontent-%COMP%]:focus-visible{text-decoration:underline}.settings-about__star[_ngcontent-%COMP%]{--star-accent: #f4b400;display:flex;align-items:center;gap:.875rem;padding:.875rem 1rem;border-radius:var(--p-border-radius);border:1px solid color-mix(in oklab,var(--star-accent) 45%,transparent);background:color-mix(in oklab,var(--star-accent) 12%,transparent);color:var(--p-text-color);text-decoration:none;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}.settings-about__star[_ngcontent-%COMP%]:hover, .settings-about__star[_ngcontent-%COMP%]:focus-visible{background:color-mix(in oklab,var(--star-accent) 22%,transparent);border-color:color-mix(in oklab,var(--star-accent) 70%,transparent);transform:translateY(-1px);outline:none}.app-dark[_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--star-accent) 18%,transparent);border-color:color-mix(in oklab,var(--star-accent) 55%,transparent)}.app-dark[_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]:hover, .app-dark [_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]:hover, .app-dark[_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]:focus-visible, .app-dark [_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]:focus-visible{background:color-mix(in oklab,var(--star-accent) 30%,transparent);border-color:var(--star-accent)}.settings-about__star-icon[_ngcontent-%COMP%]{font-size:1.5rem;color:var(--star-accent);flex-shrink:0}.settings-about__star-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.125rem;flex:1;min-width:0}.settings-about__star-heading[_ngcontent-%COMP%]{font-weight:600;font-size:.95rem}.settings-about__star-body[_ngcontent-%COMP%]{font-size:.8125rem;color:var(--p-text-muted-color);line-height:1.4}.settings-about__star-cta[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .75rem;border-radius:999px;background:var(--star-accent);color:#1a1a1a;font-weight:600;font-size:.8125rem;white-space:nowrap;flex-shrink:0}.settings-about__star[_ngcontent-%COMP%]:hover .settings-about__star-cta[_ngcontent-%COMP%], .settings-about__star[_ngcontent-%COMP%]:focus-visible .settings-about__star-cta[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--star-accent) 88%,white)}"],changeDetection:0})};function Tt(t,n){if(!t||!n)return t;let e=n.replace(/[/\\]+$/,"");return t.startsWith(e)?t.slice(e.length).replace(/^[/\\]+/,""):t}var pt={schemaVersion:1,entries:[{version:"0.20.0",date:"2026-05-10",kind:"user-facing",highlights:[{body:'**Update-check is now a user preference.** Whether you see "Update available" notifications no longer depends on the project you are scanning. The toggle moved to **Settings \u2192 General** in the UI; the CLI equivalent is `sm config set -g updateCheck.enabled <bool>`. `sm config set` (without `-g`) now rejects this key with a clear "rerun with -g" error so you never write it to the wrong file by accident.\n\nIf you previously had `updateCheck.enabled: false` in `<project>/.skill-map/settings.json`, that override is now **ignored** \u2014 re-set the value with `-g` (or untick the toggle in Settings \u2192 General) to make it stick across projects.',packages:["@skill-map/cli","@skill-map/spec"]},{body:"**`sm scan` now flags orphan job files.** A new built-in rule, `core/job-orphan-file`, scans `.skill-map/jobs/` for MD files that no `state_jobs` row references and reports each as a `warn` issue. This is detection only \u2014 to actually delete the files, run `sm job prune --orphan-files` (unchanged). Useful when the DB was wiped manually but the file tree is still around (or vice versa, recovered DB but the runner crashed mid-render and the file never made it into the row).",packages:["@skill-map/cli"]},{body:"**The view-contribution model is simpler.** Plugin authors now pick **one slot** from a closed catalog of 14; the slot decides where the data renders, what payload shape is expected, and which renderer draws it. The previous model required learning two catalogs (contracts and slots) and accepted that the same data would broadcast to multiple surfaces automatically \u2014 that broadcast is gone.\n\nVisible changes in the SPA:\n\n- The URL-counter chip from `core/external-url-counter` now renders only in the card's footer-right cluster (was visible in four surfaces simultaneously).\n- The `@-mention` chip from `core/at-directive`, plus new `\u{1F4CE}` (markdown links) and `/` (slash directives) counter chips from `core/markdown-link` and `core/slash`, render only in the card's footer-left cluster.\n- The `core/link-counts` rule is paused \u2014 its `linksOut` / `linksIn` chips are temporarily off the card. `linksOut` duplicated the new per-extractor counters; `linksIn` will return when the chip surface is reinstated. The rule stays registered as a no-op so re-enabling is a single-file change.\n- The CLI verb to browse the catalog is now `sm plugins slots list` (was `sm plugins contracts list`).\n- **Stale view contributions are cleaned up.** Editing a node so an extractor stops emitting a chip (e.g. removing the last `@mention` from a doc) now removes the chip on the next scan. Previously the chip would linger until the row was clobbered by an unrelated edit.\n- Renderer icons resolve correctly across emoji and PrimeIcons names (an icon like `arrow-up` no longer leaks as the literal three-character string when the renderer expected a class name).",packages:["@skill-map/cli","@skill-map/spec"]},{body:'The plugin extension kind was renamed from **Rule** to **Analyzer** to better reflect what these plugins do \u2014 they analyze the graph AND project findings into the UI. End-user-visible changes:\n\n- The CLI flag `sm check --rules <ids>` is now `sm check --analyzers <ids>`.\n- The `sm check --json` output\'s per-issue `ruleId` field is now `analyzerId`.\n- Hook triggers in plugin manifests rename from `rule.completed` to `analyzer.completed`; the event payload field `ruleId` is now `analyzerId`.\n- The Settings \u2192 Plugins page lists plugins of kind "analyzer".\n- The marketing site shows the satellite as "Analyzer plugin kind" instead of "Rule plugin kind".\n\nIf you maintain a custom plugin with `kind: "rule"`, update the manifest to `kind: "analyzer"`, rename `emitsRuleIds` to `emitsAnalyzerIds`, and rename any imported `IRule` / `IRuleContext` symbols to `IAnalyzer` / `IAnalyzerContext`. The directory name and `id` rules remain unchanged.',packages:["@skill-map/cli","@skill-map/spec","@skill-map/testkit"]},{body:"**`sm scan -g` now scans your HOME directory.** Run `sm scan -g` (without positional roots) to walk every active provider's HOME dir \u2014 typically `~/.claude`, `~/.gemini`, `~/.agents` \u2014 using the global config + DB.\n\n**Three new privacy-sensitive project settings.** Open Settings \u2192 Project to:\n- **Include HOME provider directories** \u2014 when on, `sm scan` (without `-g`) also walks `~/.claude`, `~/.gemini`, `~/.agents` alongside your project content.\n- **Extra scan roots** \u2014 paths you can add to the scan (indexed as nodes alongside the project root).\n- **Reference paths (link validation)** \u2014 paths walked only to validate links; files there aren't indexed but `core/broken-ref` won't warn when a link target exists in one of them.\n\nEvery change that expands disk access beyond your project root requires explicit confirmation: a confirm dialog in the UI listing the paths that will be read, or `sm config set <key> <value> --yes` on the CLI. Writes that narrow the surface (toggling off, removing paths) need no confirmation.",packages:["@skill-map/cli","@skill-map/spec"]},{body:'**Three new card slots and a small per-node icon contract.** The graph card now reserves room for plugin-emitted markers in three new spots: a tiny icon next to the node title (right side), a small chip in the date row, and an extra cluster on the right of the footer alongside the status icons. Existing `node-counter` plugins automatically light up the new footer-right and subtitle slots \u2014 no manifest changes needed. Plugin authors can also pick a new contract, `node-icon`, for a single-glyph marker (e.g. language flag, "has audio", platform badge) when a counter or tag would be too noisy. See [`spec/view-contracts.md`](https://github.com/crystian/skill-map/blob/main/spec/view-contracts.md#node-icon) for the full schema.\n\n**Plugins can now be locked by the host.** Settings \u2192 Plugins shows a "Locked" pill on plugins that the host marks as mandatory \u2014 today only `core/markdown` (the universal `.md` fallback). The toggle stays visible but disabled so it is obvious the lock is intentional, with a tooltip explaining why. `sm plugins disable core/markdown` now rejects the call with a clear message instead of writing a no-op override.\n\n**Reset Layout uses a proper dialog.** The "Reset all node positions" action used to fire a browser-native `confirm()` popup; it now uses the same in-app dialog style as the rest of the UI (with a destructive-styled "Reset" button and a "Cancel" escape).',packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.19.0",date:"2026-05-09",kind:"user-facing",highlights:[{body:`**Settings \u2192 Changelog.** The Changelog tab in Settings now lists what's new in skill-map: one entry per release, newest first, bullet points for the user-facing changes plus the workspace(s) each change affected. The same content is bundled with the demo so it's available offline too. The tab populates automatically on every release.
|
|
1
|
+
import{c as v,d as ct,e as gt}from"./chunk-GGMXMGRJ.js";import{a as Ze,b as et,c as tt,d as nt,e as rt}from"./chunk-4NLC7QD2.js";import{a as le,b as de,c as at,d as st,e as lt,f as dt,g as q,h as W}from"./chunk-E4ALROJS.js";import{e as it,f as se,h as G,i as U,j as K,l as ot}from"./chunk-6GUHSAP5.js";import{$a as Le,$c as Je,Aa as Ne,Gb as oe,Gc as qe,Hb as Be,Hc as re,I as Ee,Ib as $e,J as Me,Ja as h,Jc as We,K as Te,M as Ie,Ma as b,Mc as Qe,Na as f,O as k,Oa as Re,Pa as B,Qa as T,Ra as I,S as E,Sa as _,Sb as y,Sc as Xe,T as M,Ta as l,Tc as ee,Ua as s,Uc as Ye,Va as P,Vb as He,Wa as g,Wb as O,Xa as p,Ya as R,Z as Oe,ad as ae,ba as x,bc as ve,ca as F,cb as D,cc as Ge,db as A,ea as be,eb as C,ed as V,fd as N,gb as d,ia as De,ja as Z,jb as Ve,kb as ze,lb as te,mb as ne,na as o,nc as Ue,oc as Ke,rb as fe,sb as L,tb as ie,ub as $,va as S,vb as a,wa as je,wb as m,xb as u,ya as Fe,yb as j,za as Ae,zc as xe}from"./chunk-ZSRIBCAW.js";import"./chunk-3R7E3HPC.js";import{a as Y,b as J}from"./chunk-Q7L6LLAK.js";function Mt(t,n){if(t&1&&(g(0,"p",6),a(1),p()),t&2){let e=d();o(),j(" ",e.texts.aboutErrorPrefix," ",e.loadError()," ")}}var ce=class t{dataSource=k(V);updateCheck=k(ct);theme=k(gt);visible=O.required();texts=v;health=x(null);loadError=x(null);markSrc=y(()=>this.theme.resolved()==="dark"?"skill-map-mark-light.svg":"skill-map-mark-dark.svg");cliVersion=y(()=>this.updateCheck.current()??this.health()?.implVersion??this.texts.aboutUnknown);specVersion=y(()=>this.health()?.specVersion??this.texts.aboutLoading);schemaVersion=y(()=>this.health()?.schemaVersion??this.texts.aboutLoading);scope=y(()=>this.health()?.scope??this.texts.aboutLoading);cwd=y(()=>this.health()?.cwd??this.texts.aboutLoading);dbDisplay=y(()=>{let n=this.health();return n?this.texts.aboutDbValue(n.db,Tt(n.dbPath,n.cwd)):this.texts.aboutLoading});homeDir=y(()=>this.health()?.homeDir??this.texts.aboutLoading);constructor(){F(()=>{this.visible()&&this.health()===null&&this.load()})}async load(){this.loadError.set(null);try{let n=await this.dataSource.health();this.health.set(n)}catch(n){let e=n instanceof N||n instanceof Error?n.message:String(n);this.loadError.set(e)}}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=S({type:t,selectors:[["sm-settings-about"]],inputs:{visible:[1,"visible"]},decls:67,vars:29,consts:[["aria-labelledby","settings-about-heading","data-testid","settings-about",1,"settings-about"],[1,"settings-about__header"],["alt","","aria-hidden","true","data-testid","settings-about-logo",1,"settings-about__logo",3,"src"],[1,"settings-about__heading-text"],["id","settings-about-heading",1,"settings-about__title"],[1,"settings-about__intro"],["data-testid","settings-about-error",1,"settings-about__error"],["target","_blank","rel","noopener noreferrer","data-testid","settings-about-star",1,"settings-about__star",3,"href"],["aria-hidden","true",1,"pi","pi-star-fill","settings-about__star-icon"],[1,"settings-about__star-text"],[1,"settings-about__star-heading"],[1,"settings-about__star-body"],[1,"settings-about__star-cta"],["aria-hidden","true",1,"pi","pi-star-fill"],[1,"settings-about__list"],[1,"settings-about__row"],[1,"settings-about__label"],[1,"settings-about__value"],["target","_blank","rel","noopener noreferrer","data-testid","settings-about-website",1,"settings-about__link",3,"href"],["target","_blank","rel","noopener noreferrer","data-testid","settings-about-github",1,"settings-about__link",3,"href"],["data-testid","settings-about-cli",1,"settings-about__value"],["data-testid","settings-about-spec",1,"settings-about__value"],["data-testid","settings-about-schema",1,"settings-about__value"],["data-testid","settings-about-scope",1,"settings-about__value"],["data-testid","settings-about-cwd",1,"settings-about__value"],["data-testid","settings-about-db",1,"settings-about__value"],["data-testid","settings-about-home",1,"settings-about__value"]],template:function(e,i){e&1&&(g(0,"section",0)(1,"header",1),R(2,"img",2),g(3,"div",3)(4,"h2",4),a(5),p(),g(6,"p",5),a(7),p()()(),b(8,Mt,2,2,"p",6),g(9,"a",7),R(10,"i",8),g(11,"span",9)(12,"span",10),a(13),p(),g(14,"span",11),a(15),p()(),g(16,"span",12),R(17,"i",13),a(18),p()(),g(19,"dl",14)(20,"div",15)(21,"dt",16),a(22),p(),g(23,"dd",17)(24,"a",18),a(25),p()()(),g(26,"div",15)(27,"dt",16),a(28),p(),g(29,"dd",17)(30,"a",19),a(31),p()()(),g(32,"div",15)(33,"dt",16),a(34),p(),g(35,"dd",20),a(36),p()(),g(37,"div",15)(38,"dt",16),a(39),p(),g(40,"dd",21),a(41),p()(),g(42,"div",15)(43,"dt",16),a(44),p(),g(45,"dd",22),a(46),p()(),g(47,"div",15)(48,"dt",16),a(49),p(),g(50,"dd",23),a(51),p()(),g(52,"div",15)(53,"dt",16),a(54),p(),g(55,"dd",24),a(56),p()(),g(57,"div",15)(58,"dt",16),a(59),p(),g(60,"dd",25),a(61),p()(),g(62,"div",15)(63,"dt",16),a(64),p(),g(65,"dd",26),a(66),p()()()()),e&2&&(o(2),A("src",i.markSrc(),Z),o(3),u(" ",i.texts.aboutHeading," "),o(2),m(i.texts.aboutIntro),o(),f(i.loadError()?8:-1),o(),A("href",i.texts.aboutGithubUrl,Z),h("aria-label",i.texts.aboutStarA11y),o(4),m(i.texts.aboutStarHeading),o(2),m(i.texts.aboutStarBody),o(3),u(" ",i.texts.aboutStarCta," "),o(4),m(i.texts.aboutWebsiteLabel),o(2),A("href",i.texts.aboutWebsiteUrl,Z),o(),m(i.texts.aboutWebsiteUrl),o(3),m(i.texts.aboutGithubLabel),o(2),A("href",i.texts.aboutGithubUrl,Z),o(),m(i.texts.aboutGithubUrl),o(3),m(i.texts.aboutCliLabel),o(2),u(" ",i.cliVersion()," "),o(3),m(i.texts.aboutSpecLabel),o(2),u(" ",i.specVersion()," "),o(3),m(i.texts.aboutSchemaLabel),o(2),u(" ",i.schemaVersion()," "),o(3),m(i.texts.aboutScopeLabel),o(2),u(" ",i.scope()," "),o(3),m(i.texts.aboutFolderLabel),o(2),u(" ",i.cwd()," "),o(3),m(i.texts.aboutDbLabel),o(2),u(" ",i.dbDisplay()," "),o(3),m(i.texts.aboutHomeLabel),o(2),u(" ",i.homeDir()," "))},styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-y:auto;padding:1.25rem 1.5rem}.settings-about[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem}.settings-about__header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem}.settings-about__logo[_ngcontent-%COMP%]{width:64px;height:64px;flex-shrink:0}.settings-about__heading-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;min-width:0}.settings-about__title[_ngcontent-%COMP%]{font-size:1.15rem;font-weight:600;margin:0}.settings-about__intro[_ngcontent-%COMP%]{margin:0;color:var(--p-text-muted-color);font-size:.875rem}.settings-about__error[_ngcontent-%COMP%]{margin:0;padding:.5rem .75rem;border-radius:var(--p-border-radius);background:var(--p-message-error-background);color:var(--p-message-error-color);font-size:.875rem}.settings-about__list[_ngcontent-%COMP%]{margin:0;padding:0;display:flex;flex-direction:column;gap:.25rem}.settings-about__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:180px 1fr;align-items:baseline;gap:.75rem;padding:.5rem .75rem;border-radius:var(--p-border-radius)}.settings-about__row[_ngcontent-%COMP%]:nth-child(odd){background:var(--p-content-hover-background)}.settings-about__label[_ngcontent-%COMP%]{margin:0;font-size:.875rem;color:var(--p-text-muted-color)}.settings-about__value[_ngcontent-%COMP%]{margin:0;font-family:var(--p-monospace-font-family, ui-monospace, monospace);font-size:.875rem;word-break:break-all}.settings-about__link[_ngcontent-%COMP%]{color:var(--p-primary-color);text-decoration:none}.settings-about__link[_ngcontent-%COMP%]:hover, .settings-about__link[_ngcontent-%COMP%]:focus-visible{text-decoration:underline}.settings-about__star[_ngcontent-%COMP%]{--star-accent: #f4b400;display:flex;align-items:center;gap:.875rem;padding:.875rem 1rem;border-radius:var(--p-border-radius);border:1px solid color-mix(in oklab,var(--star-accent) 45%,transparent);background:color-mix(in oklab,var(--star-accent) 12%,transparent);color:var(--p-text-color);text-decoration:none;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}.settings-about__star[_ngcontent-%COMP%]:hover, .settings-about__star[_ngcontent-%COMP%]:focus-visible{background:color-mix(in oklab,var(--star-accent) 22%,transparent);border-color:color-mix(in oklab,var(--star-accent) 70%,transparent);transform:translateY(-1px);outline:none}.app-dark[_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--star-accent) 18%,transparent);border-color:color-mix(in oklab,var(--star-accent) 55%,transparent)}.app-dark[_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]:hover, .app-dark [_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]:hover, .app-dark[_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]:focus-visible, .app-dark [_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]:focus-visible{background:color-mix(in oklab,var(--star-accent) 30%,transparent);border-color:var(--star-accent)}.settings-about__star-icon[_ngcontent-%COMP%]{font-size:1.5rem;color:var(--star-accent);flex-shrink:0}.settings-about__star-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.125rem;flex:1;min-width:0}.settings-about__star-heading[_ngcontent-%COMP%]{font-weight:600;font-size:.95rem}.settings-about__star-body[_ngcontent-%COMP%]{font-size:.8125rem;color:var(--p-text-muted-color);line-height:1.4}.settings-about__star-cta[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .75rem;border-radius:999px;background:var(--star-accent);color:#1a1a1a;font-weight:600;font-size:.8125rem;white-space:nowrap;flex-shrink:0}.settings-about__star[_ngcontent-%COMP%]:hover .settings-about__star-cta[_ngcontent-%COMP%], .settings-about__star[_ngcontent-%COMP%]:focus-visible .settings-about__star-cta[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--star-accent) 88%,white)}"],changeDetection:0})};function Tt(t,n){if(!t||!n)return t;let e=n.replace(/[/\\]+$/,"");return t.startsWith(e)?t.slice(e.length).replace(/^[/\\]+/,""):t}var pt={schemaVersion:1,entries:[{version:"0.20.1",date:"2026-05-10",kind:"user-facing",highlights:[{body:"The topbar now shows the full project path under the **skill-map** wordmark, so a screenshot or a quick glance at the UI is always self-identifying. Previously only the last folder segment was shown, and projects scanned from their own root saw no path at all.",packages:["@skill-map/cli"]}]},{version:"0.20.0",date:"2026-05-10",kind:"user-facing",highlights:[{body:'**Update-check is now a user preference.** Whether you see "Update available" notifications no longer depends on the project you are scanning. The toggle moved to **Settings \u2192 General** in the UI; the CLI equivalent is `sm config set -g updateCheck.enabled <bool>`. `sm config set` (without `-g`) now rejects this key with a clear "rerun with -g" error so you never write it to the wrong file by accident.\n\nIf you previously had `updateCheck.enabled: false` in `<project>/.skill-map/settings.json`, that override is now **ignored** \u2014 re-set the value with `-g` (or untick the toggle in Settings \u2192 General) to make it stick across projects.',packages:["@skill-map/cli","@skill-map/spec"]},{body:"**`sm scan` now flags orphan job files.** A new built-in rule, `core/job-orphan-file`, scans `.skill-map/jobs/` for MD files that no `state_jobs` row references and reports each as a `warn` issue. This is detection only \u2014 to actually delete the files, run `sm job prune --orphan-files` (unchanged). Useful when the DB was wiped manually but the file tree is still around (or vice versa, recovered DB but the runner crashed mid-render and the file never made it into the row).",packages:["@skill-map/cli"]},{body:"**The view-contribution model is simpler.** Plugin authors now pick **one slot** from a closed catalog of 14; the slot decides where the data renders, what payload shape is expected, and which renderer draws it. The previous model required learning two catalogs (contracts and slots) and accepted that the same data would broadcast to multiple surfaces automatically \u2014 that broadcast is gone.\n\nVisible changes in the SPA:\n\n- The URL-counter chip from `core/external-url-counter` now renders only in the card's footer-right cluster (was visible in four surfaces simultaneously).\n- The `@-mention` chip from `core/at-directive`, plus new `\u{1F4CE}` (markdown links) and `/` (slash directives) counter chips from `core/markdown-link` and `core/slash`, render only in the card's footer-left cluster.\n- The `core/link-counts` rule is paused \u2014 its `linksOut` / `linksIn` chips are temporarily off the card. `linksOut` duplicated the new per-extractor counters; `linksIn` will return when the chip surface is reinstated. The rule stays registered as a no-op so re-enabling is a single-file change.\n- The CLI verb to browse the catalog is now `sm plugins slots list` (was `sm plugins contracts list`).\n- **Stale view contributions are cleaned up.** Editing a node so an extractor stops emitting a chip (e.g. removing the last `@mention` from a doc) now removes the chip on the next scan. Previously the chip would linger until the row was clobbered by an unrelated edit.\n- Renderer icons resolve correctly across emoji and PrimeIcons names (an icon like `arrow-up` no longer leaks as the literal three-character string when the renderer expected a class name).",packages:["@skill-map/cli","@skill-map/spec"]},{body:'The plugin extension kind was renamed from **Rule** to **Analyzer** to better reflect what these plugins do \u2014 they analyze the graph AND project findings into the UI. End-user-visible changes:\n\n- The CLI flag `sm check --rules <ids>` is now `sm check --analyzers <ids>`.\n- The `sm check --json` output\'s per-issue `ruleId` field is now `analyzerId`.\n- Hook triggers in plugin manifests rename from `rule.completed` to `analyzer.completed`; the event payload field `ruleId` is now `analyzerId`.\n- The Settings \u2192 Plugins page lists plugins of kind "analyzer".\n- The marketing site shows the satellite as "Analyzer plugin kind" instead of "Rule plugin kind".\n\nIf you maintain a custom plugin with `kind: "rule"`, update the manifest to `kind: "analyzer"`, rename `emitsRuleIds` to `emitsAnalyzerIds`, and rename any imported `IRule` / `IRuleContext` symbols to `IAnalyzer` / `IAnalyzerContext`. The directory name and `id` rules remain unchanged.',packages:["@skill-map/cli","@skill-map/spec","@skill-map/testkit"]},{body:"**`sm scan -g` now scans your HOME directory.** Run `sm scan -g` (without positional roots) to walk every active provider's HOME dir \u2014 typically `~/.claude`, `~/.gemini`, `~/.agents` \u2014 using the global config + DB.\n\n**Three new privacy-sensitive project settings.** Open Settings \u2192 Project to:\n- **Include HOME provider directories** \u2014 when on, `sm scan` (without `-g`) also walks `~/.claude`, `~/.gemini`, `~/.agents` alongside your project content.\n- **Extra scan roots** \u2014 paths you can add to the scan (indexed as nodes alongside the project root).\n- **Reference paths (link validation)** \u2014 paths walked only to validate links; files there aren't indexed but `core/broken-ref` won't warn when a link target exists in one of them.\n\nEvery change that expands disk access beyond your project root requires explicit confirmation: a confirm dialog in the UI listing the paths that will be read, or `sm config set <key> <value> --yes` on the CLI. Writes that narrow the surface (toggling off, removing paths) need no confirmation.",packages:["@skill-map/cli","@skill-map/spec"]},{body:'**Three new card slots and a small per-node icon contract.** The graph card now reserves room for plugin-emitted markers in three new spots: a tiny icon next to the node title (right side), a small chip in the date row, and an extra cluster on the right of the footer alongside the status icons. Existing `node-counter` plugins automatically light up the new footer-right and subtitle slots \u2014 no manifest changes needed. Plugin authors can also pick a new contract, `node-icon`, for a single-glyph marker (e.g. language flag, "has audio", platform badge) when a counter or tag would be too noisy. See [`spec/view-contracts.md`](https://github.com/crystian/skill-map/blob/main/spec/view-contracts.md#node-icon) for the full schema.\n\n**Plugins can now be locked by the host.** Settings \u2192 Plugins shows a "Locked" pill on plugins that the host marks as mandatory \u2014 today only `core/markdown` (the universal `.md` fallback). The toggle stays visible but disabled so it is obvious the lock is intentional, with a tooltip explaining why. `sm plugins disable core/markdown` now rejects the call with a clear message instead of writing a no-op override.\n\n**Reset Layout uses a proper dialog.** The "Reset all node positions" action used to fire a browser-native `confirm()` popup; it now uses the same in-app dialog style as the rest of the UI (with a destructive-styled "Reset" button and a "Cancel" escape).',packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.19.0",date:"2026-05-09",kind:"user-facing",highlights:[{body:`**Settings \u2192 Changelog.** The Changelog tab in Settings now lists what's new in skill-map: one entry per release, newest first, bullet points for the user-facing changes plus the workspace(s) each change affected. The same content is bundled with the demo so it's available offline too. The tab populates automatically on every release.
|
|
2
2
|
|
|
3
3
|
**Project DB path.** The "Project DB" row in Settings \u2192 About now shows the path relative to your project folder (\`.skill-map/skill-map.db\`) instead of repeating the absolute prefix already shown in the row above. Cleaner, less redundant.`,packages:["@skill-map/cli"]},{body:"**Tags zoom-to-matching.** Clicking a tag chip in the inspector now pans + zooms the graph to fit every node that carries the tag. Click the same chip again to clear the selection and return to the previous view. The chip itself lights up to show what's filtering \u2014 an active tag is unmistakable in the panel.",packages:["@skill-map/cli"]}]},{version:"0.18.0",date:"2026-05-07",kind:"user-facing",highlights:[{body:"**Bump sidecars in batch.** New `sm bump --pending` walks every node whose `.sm` sidecar reports drift (body or frontmatter hash mismatch) and refreshes them in one pass \u2014 bumps `annotations.version`, recomputes hashes, stamps `audit.lastBumpedAt` / `lastBumpedBy`. Single-node `sm bump <path>` also lands. The CLI surface mirrors the on-disk write.",packages:["@skill-map/cli","@skill-map/spec"]},{body:'**Annotation catalog now 14 fields.** Dropped `released` (redundant with `audit.lastBumpedAt`). The inspector and node card now read the activity timestamp from the reserved `audit:` block \u2014 no more confusion between "officially released" and "last bumped".',packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.17.0",date:"2026-04-29",kind:"user-facing",highlights:[{body:"**View contribution system.** Plugins can now contribute slot-aware visuals to the inspector and the graph card without being wired by hand: per-node counters, alerts, key-value rows. Two built-ins ship today: `core/external-url-counter` (counts external URLs per node) and `core/link-counts` (in / out link counters).",packages:["@skill-map/cli","@skill-map/spec"]},{body:"**Multi-provider support.** The kernel registry is now open per Provider \u2014 Claude, Gemini, and the open-standard `agent-skills` flavour all coexist. Cards paint with each Provider's accent; the kind palette in the graph view filters on the actual node kind names rather than a closed enum.",packages:["@skill-map/cli","@skill-map/spec"]}]}]};var mt=pt;var Ot=(t,n)=>n.version;function Dt(t,n){if(t&1&&(g(0,"p",3),a(1),p()),t&2){let e=d();o(),u(" ",e.texts.changelogEmpty," ")}}function jt(t,n){if(t&1&&(g(0,"p",10),a(1),p()),t&2){let e=d(3);o(),u(" ",e.texts.changelogInternalRelease," ")}}function Ft(t,n){if(t&1&&(g(0,"li",15),a(1),p()),t&2){let e=n.$implicit;o(),m(e)}}function At(t,n){if(t&1&&(g(0,"ul",14),T(1,Ft,2,1,"li",15,B),p()),t&2){let e=d().$implicit,i=d(4);h("aria-label",i.texts.changelogAffectedPackages),o(),I(e.packages)}}function Nt(t,n){if(t&1&&(g(0,"li",12),R(1,"div",13),b(2,At,3,1,"ul",14),p()),t&2){let e=n.$implicit;o(),A("innerHTML",e.bodyHtml,De),o(),f(e.packages.length?2:-1)}}function Rt(t,n){if(t&1&&(g(0,"ul",11),T(1,Nt,3,2,"li",12,Re),p()),t&2){let e=d().$implicit;o(),I(e.highlights)}}function Lt(t,n){if(t&1&&(g(0,"li",6)(1,"header",7)(2,"span",8),a(3),p(),g(4,"span",9),a(5),p()(),b(6,jt,2,1,"p",10)(7,Rt,3,0,"ul",11),p()),t&2){let e=n.$implicit;L("settings-changelog__entry--internal",e.kind==="internal"),h("data-testid","settings-changelog-entry-"+e.version),o(3),u("v",e.version),o(2),m(e.date),o(),f(e.kind==="internal"?6:7)}}function Vt(t,n){if(t&1&&(g(0,"ol",4),T(1,Lt,8,6,"li",5,Ot),p()),t&2){let e=d();o(),I(e.entries())}}var ge=class t{markdown=k(rt);texts=v;entries=x([]);hasEntries=y(()=>this.entries().length>0);ngOnInit(){this.renderAll()}async renderAll(){let n=[];for(let e of mt.entries){let i=[];for(let r of e.highlights)i.push({bodyHtml:await this.markdown.render(r.body),packages:r.packages});n.push({version:e.version,date:this.formatDate(e.date),kind:e.kind,highlights:i})}this.entries.set(n)}formatDate(n){let e=new Date(n+"T00:00:00Z");return Number.isNaN(e.getTime())?n:new Intl.DateTimeFormat("en-GB",{day:"numeric",month:"long",year:"numeric",timeZone:"UTC"}).format(e)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=S({type:t,selectors:[["sm-settings-changelog"]],decls:7,vars:4,consts:[["data-testid","settings-changelog",1,"settings-changelog"],["id","settings-changelog-heading",1,"settings-changelog__title"],[1,"settings-changelog__intro"],["data-testid","settings-changelog-empty",1,"settings-changelog__empty"],["role","list",1,"settings-changelog__list"],[1,"settings-changelog__entry",3,"settings-changelog__entry--internal"],[1,"settings-changelog__entry"],[1,"settings-changelog__entry-header"],[1,"settings-changelog__version"],[1,"settings-changelog__date"],[1,"settings-changelog__internal-body"],["role","list",1,"settings-changelog__highlights"],[1,"settings-changelog__highlight"],[1,"settings-changelog__highlight-body",3,"innerHTML"],["role","list",1,"settings-changelog__packages"],[1,"settings-changelog__package"]],template:function(e,i){e&1&&(g(0,"section",0)(1,"h2",1),a(2),p(),g(3,"p",2),a(4),p(),b(5,Dt,2,1,"p",3)(6,Vt,3,0,"ol",4),p()),e&2&&(h("aria-labelledby","settings-changelog-heading"),o(2),u(" ",i.texts.changelogHeading," "),o(2),m(i.texts.changelogIntro),o(),f(i.hasEntries()?6:5))},styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-y:auto;padding:1.25rem 1.5rem}.settings-changelog__title[_ngcontent-%COMP%]{margin:0 0 .25rem;font-size:1.05rem;font-weight:600;color:var(--p-text-color)}.settings-changelog__intro[_ngcontent-%COMP%]{margin:0 0 1.25rem;font-size:.85rem;color:var(--sm-text-muted);line-height:1.5}.settings-changelog__empty[_ngcontent-%COMP%]{margin:1.5rem 0 0;font-size:.9rem;color:var(--sm-text-muted);font-style:italic}.settings-changelog__list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1.25rem}.settings-changelog__entry[_ngcontent-%COMP%]{border-left:2px solid var(--p-primary-color);padding:.25rem 0 .25rem .85rem}.settings-changelog__entry--internal[_ngcontent-%COMP%]{border-left-color:var(--sm-border)}.settings-changelog__entry-header[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:.6rem;margin-bottom:.45rem}.settings-changelog__version[_ngcontent-%COMP%]{font-family:var(--sm-font-mono);font-size:.95rem;font-weight:600;color:var(--p-text-color)}.settings-changelog__date[_ngcontent-%COMP%]{font-size:.78rem;color:var(--sm-text-muted)}.settings-changelog__internal-body[_ngcontent-%COMP%]{margin:0;font-size:.85rem;color:var(--sm-text-muted);font-style:italic}.settings-changelog__highlights[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.7rem}.settings-changelog__highlight[_ngcontent-%COMP%]{font-size:.88rem;line-height:1.5;color:var(--p-text-color)}.settings-changelog__highlight-body[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .settings-changelog__highlight-body p{margin:0}[_nghost-%COMP%] .settings-changelog__highlight-body p+p{margin-top:.45rem}[_nghost-%COMP%] .settings-changelog__highlight-body code{font-family:var(--sm-font-mono);font-size:.82rem;padding:.05rem .3rem;border-radius:3px;background:var(--sm-bg-hover);color:var(--p-text-color)}[_nghost-%COMP%] .settings-changelog__highlight-body a{color:var(--p-primary-color);text-decoration:underline}[_nghost-%COMP%] .settings-changelog__highlight-body strong{font-weight:600}.settings-changelog__packages[_ngcontent-%COMP%]{list-style:none;margin:.4rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.3rem}.settings-changelog__package[_ngcontent-%COMP%]{font-family:var(--sm-font-mono);font-size:.7rem;padding:.1rem .4rem;border-radius:3px;background:var(--sm-bg-hover);color:var(--sm-text-muted);border:1px solid var(--sm-border);line-height:1.4}"],changeDetection:0})};var pe=class t{sectionId=O.required();sectionLabel=O.required();texts=v;headingId=y(()=>`settings-coming-soon-${this.sectionId()}-heading`);static \u0275fac=function(e){return new(e||t)};static \u0275cmp=S({type:t,selectors:[["sm-settings-coming-soon"]],inputs:{sectionId:[1,"sectionId"],sectionLabel:[1,"sectionLabel"]},decls:6,vars:5,consts:[[1,"settings-coming-soon"],["aria-hidden","true",1,"pi","pi-clock","settings-coming-soon__icon"],[1,"settings-coming-soon__title",3,"id"],[1,"settings-coming-soon__body"]],template:function(e,i){e&1&&(g(0,"section",0),R(1,"i",1),g(2,"h2",2),a(3),p(),g(4,"p",3),a(5),p()()),e&2&&(h("aria-labelledby",i.headingId())("data-testid","settings-coming-soon-"+i.sectionId()),o(2),A("id",i.headingId()),o(),u(" ",i.texts.comingSoonTitle," "),o(2),u(" ",i.texts.comingSoonBody(i.sectionLabel())," "))},styles:["[_nghost-%COMP%]{display:flex;height:100%;align-items:center;justify-content:center;padding:1.5rem}.settings-coming-soon[_ngcontent-%COMP%]{max-width:420px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.5rem;color:var(--p-text-muted-color)}.settings-coming-soon__icon[_ngcontent-%COMP%]{font-size:2rem;opacity:.6}.settings-coming-soon__title[_ngcontent-%COMP%]{font-size:1.05rem;font-weight:600;margin:0;color:var(--p-text-color)}.settings-coming-soon__body[_ngcontent-%COMP%]{margin:0;font-size:.875rem;line-height:1.5}"],changeDetection:0})};var ut=`
|
|
4
4
|
.p-toggleswitch {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{J as r,M as n,O as i,Sb as a,W as l,ba as s,ca as d}from"./chunk-
|
|
1
|
+
import{J as r,M as n,O as i,Sb as a,W as l,ba as s,ca as d}from"./chunk-ZSRIBCAW.js";var k={triggerLabel:"Settings",triggerTooltip:"Settings",modalTitle:"Settings",closeLabel:"Close",sections:{plugins:"Plugins",general:"General",project:"Project",changelog:"Changelog",about:"About"},comingSoonTitle:"Coming soon",comingSoonBody:t=>`${t} settings will land in a future release. The section is reserved here so you know where to look when it ships.`,general:{heading:"General",intro:"User-scope preferences. These settings live in your home directory (`~/.skill-map/settings.json`) and follow you across projects.",loadErrorPrefix:"Could not load preferences:",saveErrorPrefix:"Could not save preferences:",toggles:{"updateCheck.enabled":{label:"Check for updates",description:"Check npm for newer @skill-map/cli releases."}}},project:{heading:"Project",intro:"These settings apply only to this project and are saved in its `.skill-map/settings.json` file.",loadErrorPrefix:"Could not load project settings:",saveErrorPrefix:"Could not save project settings:",includeHomeLabel:"Include your HOME folders",includeHomeDescription:"Also scan typical AI-assistant folders in your HOME (like ~/.claude, ~/.gemini, ~/.agents) alongside this project. Off by default \u2014 turning this on lets the scan read those folders.",extraRootsLabel:"Extra folders to scan",extraRootsDescription:"Additional folders included in the scan. Their files show up in the graph next to this project. Use ~/ for paths inside your home folder.",extraRootsPlaceholder:"~/notes, /path/to/another/folder",referencePathsLabel:"Folders for link validation",referencePathsDescription:'Folders checked only to validate links. Files here are not indexed and do not appear in the graph \u2014 they just stop "broken link" warnings when a link points to a real file outside this project.',referencePathsPlaceholder:"~/Documents/research, ~/.claude",addPathLabel:"Add path",removePathLabel:"Remove",confirmDialogHeader:"Allow access to folders outside this project?",confirmDialogIntro:"This change lets the scan read files in:",confirmDialogAccept:"Allow access",confirmDialogReject:"Cancel"},changelogHeading:"Changelog",changelogIntro:"What's new in skill-map. Each entry covers a release of @skill-map/cli (the CLI + bundled UI) and lists the user-facing changes plus the workspace(s) each one affects.",changelogEmpty:"No release notes yet. Future releases will populate this list automatically from the changesets shipped in each PR.",changelogInternalRelease:"Internal release \u2014 focus on stability, infra, and refactors. No user-facing changes this time.",changelogAffectedPackages:"Affected packages",aboutHeading:"About",aboutIntro:"Version information for the running CLI / server.",aboutCliLabel:"skill-map CLI",aboutSpecLabel:"Spec version",aboutSchemaLabel:"Schema version",aboutScopeLabel:"Scope",aboutFolderLabel:"Project folder",aboutDbLabel:"Project DB",aboutHomeLabel:"Skill-map home",aboutDbValue:(t,e)=>t==="present"?e:`${t} \xB7 ${e}`,aboutLoading:"Loading\u2026",aboutUnknown:"\u2014",aboutErrorPrefix:"Could not read health endpoint:",aboutLinksHeading:"Links",aboutWebsiteLabel:"Website",aboutGithubLabel:"GitHub",aboutWebsiteUrl:"https://skill-map.dev/",aboutGithubUrl:"https://github.com/crystian/skill-map",aboutStarHeading:"Enjoying skill-map?",aboutStarBody:"If it's useful to you, drop us a star on GitHub \u2014 it helps a lot and keeps the project alive.",aboutStarCta:"Star on GitHub",aboutStarA11y:"Open the skill-map repository on GitHub to give it a star",pluginsHeading:"Plugins",pluginsIntro:"Enable or disable installed plugins.",pluginsSearchPlaceholder:"Filter by name\u2026",pluginsSearchA11y:"Filter plugins by name",pluginsSearchEmpty:t=>`No plugins match "${t}".`,pluginsKindFilterAll:"All",pluginsKindFilterA11y:"Filter plugins by kind",pluginsKindFilterOptionA11y:(t,e)=>e?`Show only ${t} extensions`:"Show all kinds",restartBannerTitle:"Restart required",restartBannerBody:"Toggles are persisted instantly, but the loaded plugin runtime is cached at boot. Run `sm scan` or restart `sm serve` to apply.",sourceBuiltIn:"Built-in",sourceProject:"Project",sourceGlobal:"Global",enabledLabel:"Enabled",disabledLabel:"Disabled",lockedLabel:"Locked",lockedTooltip:"Locked by the host \u2014 cannot be toggled.",expandLabel:"Show extensions",collapseLabel:"Hide extensions",statusFailure:{"incompatible-spec":"Incompatible spec version","invalid-manifest":"Invalid manifest","load-error":"Failed to load","id-collision":"Plugin id collision"},loading:"Loading plugins\u2026",empty:"No plugins installed.",errorPrefix:"Could not load plugins:",toggleErrorPrefix:"Toggle failed:",a11y:{triggerLabel:"Open settings",pluginToggle:(t,e)=>e?`Enable plugin ${t}`:`Disable plugin ${t}`,extensionToggle:(t,e)=>e?`Enable ${t}`:`Disable ${t}`}};var L=new n("SKILL_MAP_MODE");function c(){return typeof document>"u"?"live":document.querySelector('meta[name="skill-map-mode"]')?.content==="demo"?"demo":"live"}var u=class t{status=s(null);isOutdated=a(()=>this.status()?.isOutdated===!0);latest=a(()=>this.status()?.latest??null);current=a(()=>this.status()?.current??null);async load(){if(c()!=="demo")try{let e=await globalThis.fetch("/api/update-status");if(!e.ok){console.warn(`UpdateCheckService: /api/update-status returned HTTP ${e.status}`);return}let o=await e.json();this.status.set(o)}catch(e){let o=e instanceof Error?e.message:String(e);console.warn(`UpdateCheckService: fetch failed (${o})`)}}static \u0275fac=function(o){return new(o||t)};static \u0275prov=r({token:t,factory:t.\u0275fac,providedIn:"root"})};var p="skill-map.ui.theme",b="app-dark",y="dark",g="(prefers-color-scheme: dark)",h=class t{doc=i(l);mode=s(this.readInitial());systemPrefersDark=s(this.readSystemPref());resolved=a(()=>{let e=this.mode();return e==="auto"?this.systemPrefersDark()?"dark":"light":e});constructor(){this.subscribeToSystemPref(),d(()=>{let e=this.resolved()==="dark",o=this.doc.documentElement;o.classList.toggle(b,e),o.classList.toggle(y,e);try{this.doc.defaultView?.localStorage.setItem(p,this.mode())}catch{}})}toggle(){this.mode.update(e=>e==="auto"?"light":e==="light"?"dark":"auto")}set(e){this.mode.set(e)}readInitial(){try{let e=this.doc.defaultView?.localStorage.getItem(p);if(e==="auto"||e==="light"||e==="dark")return e}catch{}return"auto"}readSystemPref(){try{return this.doc.defaultView?.matchMedia(g).matches??!1}catch{return!1}}subscribeToSystemPref(){let e=this.doc.defaultView;if(!e||typeof e.matchMedia!="function")return;e.matchMedia(g).addEventListener("change",m=>{this.systemPrefersDark.set(m.matches)})}static \u0275fac=function(o){return new(o||t)};static \u0275prov=r({token:t,factory:t.\u0275fac,providedIn:"root"})};export{L as a,c as b,k as c,u as d,h as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{k as N,l as k}from"./chunk-VLNLJAUB.js";import{$a as ie,Aa as oe,Hb as ce,Ib as pe,J as Q,Ja as u,Ma as p,Na as m,O as Z,Oa as re,Qa as h,Ra as I,S as ee,Sa as _,Sb as i,T as te,Ta as g,Ua as v,Va as P,Vb as me,Wa as s,Wb as y,Xa as c,Ya as F,ba as ne,cb as ae,fb as de,gb as a,ic as ue,na as r,rb as se,sb as w,ub as H,va as f,vb as d,wb as l,xb as le}from"./chunk-W3JLG7BI.js";import{c as J}from"./chunk-Q7L6LLAK.js";var $=class n{registry=ne({});setRegistry(e){e&&this.registry.set(e)}get(e){return this.registry()[e]}all(){return this.registry()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=Q({token:n,factory:n.\u0275fac,providedIn:"root"})};var x={panelHeader:"Plugin contributions",panelCount:n=>`${n} contribution${n===1?"":"s"}`,emptyDefault:"No contributions for this node.",rendererInvalid:"Contribution data failed schema validation.",rendererUnknownSlot:n=>`Unknown slot: ${n}. Update the UI to a newer catalog version.`,overflowBadge:n=>`+${n}`,overflowTooltip:n=>`Hidden: ${n}`};var _e=(n,e)=>e.label;function Ce(n,e){if(n&1&&(s(0,"h5",1),d(1),c()),n&2){let t=a();r(),l(t.label())}}function he(n,e){if(n&1&&(s(0,"p",2),d(1),c()),n&2){let t=a();r(),l(t.emptyText())}}function Ie(n,e){if(n&1&&(s(0,"li",4)(1,"span",5),d(2),c(),s(3,"span",6),F(4,"span",7),c(),s(5,"span",8),d(6),c()()),n&2){let t=e.$implicit,o=a(2);u("title",t.tooltip??""),r(2),l(t.label),r(2),se("width",o.percent(t.value),"%"),r(2),l(t.value)}}function xe(n,e){if(n&1&&(s(0,"ul",3),h(1,Ie,7,5,"li",4,_e),c()),n&2){let t=a();r(),I(t.entries())}}var L=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{entries:[]}:e});entries=i(()=>this.typed().entries??[]);label=i(()=>this.inputs().label);emptyText=i(()=>this.inputs().emptyText??x.emptyDefault);maxValue=i(()=>this.entries().reduce((t,o)=>o.value>t?o.value:t,0));percent(e){let t=this.maxValue();return t===0?0:Math.round(e/t*100)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-breakdown"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-breakdown"],[1,"vc-breakdown__header"],[1,"vc-breakdown__empty"],[1,"vc-breakdown__rows"],[1,"vc-breakdown__row"],[1,"vc-breakdown__label"],[1,"vc-breakdown__bar-track"],["aria-hidden","true",1,"vc-breakdown__bar"],[1,"vc-breakdown__value"]],template:function(t,o){t&1&&(s(0,"section",0),p(1,Ce,2,1,"h5",1),p(2,he,2,1,"p",2)(3,xe,3,0,"ul",3),c()),t&2&&(u("data-testid","renderer-node-breakdown"),r(),m(o.label()?1:-1),r(),m(o.entries().length===0?2:3))},styles:[".vc-breakdown__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-breakdown__rows[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.25rem}.vc-breakdown__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(4rem,.4fr) 1fr 3rem;align-items:center;gap:.5rem;font-size:.85rem}.vc-breakdown__label[_ngcontent-%COMP%]{color:var(--p-surface-700);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vc-breakdown__bar-track[_ngcontent-%COMP%]{background:var(--p-surface-100);border-radius:.25rem;height:.625rem;overflow:hidden}.vc-breakdown__bar[_ngcontent-%COMP%]{display:block;height:100%;background:var(--p-primary-500)}.vc-breakdown__value[_ngcontent-%COMP%]{text-align:right;color:var(--p-surface-600)}.vc-breakdown__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};function Ne(n,e){if(n&1&&(s(0,"span",1),d(1),c()),n&2){let t=a(2);H(t.hostClass()),r(),l(t.icon())}}function ke(n,e){if(n&1&&F(0,"i",1),n&2){let t=a(2);H(t.hostClass()+" pi pi-"+t.icon())}}function Te(n,e){if(n&1&&p(0,Ne,2,3,"span",0)(1,ke,1,2,"i",0),n&2){let t=a();m(t.isEmoji()?0:1)}}var E=class n{icon=y(void 0);hostClass=y("");isEmoji=i(()=>{let e=this.icon();return e?new RegExp("\\p{Extended_Pictographic}","u").test(e):!1});static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-icon-glyph"]],inputs:{icon:[1,"icon"],hostClass:[1,"hostClass"]},decls:1,vars:1,consts:[["aria-hidden","true",3,"class"],["aria-hidden","true"]],template:function(t,o){t&1&&p(0,Te,2,1),t&2&&m(o.icon()?0:-1)},encapsulation:2,changeDetection:0})};var O=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{value:0}:e});value=i(()=>this.typed().value);icon=i(()=>this.inputs().icon);severity=i(()=>this.typed().severity);resolvedTooltip=i(()=>this.typed().tooltip??this.inputs().tooltip??"");ariaLabel=i(()=>this.inputs().label??"");static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-counter"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:13,consts:[[1,"vc-counter",3,"pTooltip"],["hostClass","vc-counter__icon",3,"icon"],[1,"vc-counter__value"]],template:function(t,o){t&1&&(g(0,"span",0),P(1,"sm-icon-glyph",1),g(2,"span",2),d(3),v()()),t&2&&(w("vc-counter--info",o.severity()==="info")("vc-counter--warn",o.severity()==="warn")("vc-counter--success",o.severity()==="success")("vc-counter--danger",o.severity()==="danger"),_("pTooltip",o.resolvedTooltip()),u("data-testid","renderer-node-counter"),r(),_("icon",o.icon()),r(),u("aria-label",o.ariaLabel()),r(),l(o.value()))},dependencies:[k,N,E],styles:[".vc-counter[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.3rem;line-height:1}.vc-counter__icon[_ngcontent-%COMP%]{font-size:.6rem;line-height:1;display:block}.vc-counter__value[_ngcontent-%COMP%]{font-weight:600;color:var(--p-text-color);line-height:1;display:block}.vc-counter--info[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-info)}.vc-counter--warn[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-warn)}.vc-counter--success[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-success)}.vc-counter--danger[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-error)}.vc-counter--info[_ngcontent-%COMP%]{background:var(--sm-severity-info-bg);color:var(--sm-severity-info);padding:.1rem .4rem;border-radius:3px}.vc-counter--warn[_ngcontent-%COMP%]{background:var(--sm-severity-warn-bg);color:var(--sm-severity-warn);padding:.1rem .4rem;border-radius:3px}.vc-counter--success[_ngcontent-%COMP%]{background:var(--sm-severity-success-bg);color:var(--sm-severity-success);padding:.1rem .4rem;border-radius:3px}.vc-counter--danger[_ngcontent-%COMP%]{background:var(--sm-severity-error-bg);color:var(--sm-severity-error);padding:.1rem .4rem;border-radius:3px}"],changeDetection:0})};var Me=(n,e)=>e.key;function we(n,e){if(n&1&&(g(0,"h5",1),d(1),v()),n&2){let t=a();r(),l(t.label())}}function Ee(n,e){if(n&1&&(g(0,"p",2),d(1),v()),n&2){let t=a();r(),l(t.emptyText())}}function De(n,e){if(n&1&&(g(0,"dt",4),d(1),v(),g(2,"dd"),d(3),v()),n&2){let t=e.$implicit,o=a(2);_("pTooltip",t.tooltip??""),r(),l(t.key),r(2),l(o.formatValue(t.value))}}function Se(n,e){if(n&1&&(g(0,"dl",3),h(1,De,4,3,null,null,Me),v()),n&2){let t=a();r(),I(t.entries())}}var B=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{entries:[]}:e});entries=i(()=>this.typed().entries??[]);label=i(()=>this.inputs().label);emptyText=i(()=>this.inputs().emptyText??x.emptyDefault);formatValue(e){return e==null?"\u2014":typeof e=="boolean"?e?"true":"false":String(e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-key-values"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-kv"],[1,"vc-kv__header"],[1,"vc-kv__empty"],[1,"vc-kv__list"],[3,"pTooltip"]],template:function(t,o){t&1&&(g(0,"section",0),p(1,we,2,1,"h5",1),p(2,Ee,2,1,"p",2)(3,Se,3,0,"dl",3),v()),t&2&&(u("data-testid","renderer-node-key-values"),r(),m(o.label()?1:-1),r(),m(o.entries().length===0?2:3))},dependencies:[k,N],styles:[".vc-kv__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-kv__list[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(6rem,max-content) 1fr;gap:.25rem .75rem;margin:0;font-size:.85rem}.vc-kv__list[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{color:var(--p-surface-600);font-weight:500}.vc-kv__list[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]{color:var(--p-surface-800);margin:0;word-break:break-word}.vc-kv__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};var Pe=(n,e)=>e.path;function Oe(n,e){if(n&1&&(s(0,"h5",1),d(1),c()),n&2){let t=a();r(),l(t.label())}}function Re(n,e){if(n&1&&(s(0,"p",2),d(1),c()),n&2){let t=a();r(),l(t.emptyText())}}function We(n,e){if(n&1&&(s(0,"span",5),d(1),c()),n&2){let t=a().$implicit;r(),l(t.kind)}}function Fe(n,e){if(n&1){let t=ae();s(0,"li")(1,"button",4),de("click",function(){let b=ee(t).$implicit,C=a(2);return te(C.openPath.emit(b.path))}),p(2,We,2,1,"span",5),s(3,"span",6),d(4),c()()()}if(n&2){let t=e.$implicit;r(2),m(t.kind?2:-1),r(2),l(t.label??t.path)}}function $e(n,e){if(n&1&&(s(0,"ul",3),h(1,Fe,5,2,"li",null,Pe),c()),n&2){let t=a();r(),I(t.entries())}}var V=class n{inputs=y.required();openPath=me();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{entries:[]}:e});entries=i(()=>this.typed().entries??[]);label=i(()=>this.inputs().label);emptyText=i(()=>this.inputs().emptyText??x.emptyDefault);static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-link-list"]],inputs:{inputs:[1,"inputs"]},outputs:{openPath:"openPath"},decls:4,vars:3,consts:[[1,"vc-links"],[1,"vc-links__header"],[1,"vc-links__empty"],[1,"vc-links__list"],["type","button",1,"vc-links__btn",3,"click"],[1,"vc-links__kind"],[1,"vc-links__label"]],template:function(t,o){t&1&&(s(0,"section",0),p(1,Oe,2,1,"h5",1),p(2,Re,2,1,"p",2)(3,$e,3,0,"ul",3),c()),t&2&&(u("data-testid","renderer-node-link-list"),r(),m(o.label()?1:-1),r(),m(o.entries().length===0?2:3))},styles:[".vc-links__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-links__list[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.125rem;font-size:.85rem}.vc-links__btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;background:transparent;border:0;padding:.25rem .5rem;border-radius:.25rem;color:var(--p-primary-600);cursor:pointer;text-align:left;width:100%}.vc-links__btn[_ngcontent-%COMP%]:hover{background:var(--p-surface-100)}.vc-links__kind[_ngcontent-%COMP%]{color:var(--p-surface-500);font-family:var(--p-font-family-mono, monospace);font-size:.75rem}.vc-links__label[_ngcontent-%COMP%]{word-break:break-all}.vc-links__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};var ye=(n,e)=>e.key;function Le(n,e){if(n&1&&(s(0,"h5",1),d(1),c()),n&2){let t=a();r(),l(t.label())}}function Be(n,e){if(n&1&&(s(0,"p",2),d(1),c()),n&2){let t=a();r(),l(t.emptyText())}}function Ve(n,e){if(n&1&&(s(0,"th"),d(1),c()),n&2){let t=e.$implicit;r(),l(t.label)}}function ze(n,e){if(n&1&&(s(0,"td"),d(1),c()),n&2){let t=e.$implicit,o=a().$implicit,b=a(2);r(),l(b.formatCell(o[t.key]))}}function Ae(n,e){if(n&1&&(s(0,"tr"),h(1,ze,2,1,"td",null,ye),c()),n&2){let t=a(2);r(),I(t.columns())}}function je(n,e){if(n&1&&(s(0,"table",3)(1,"thead")(2,"tr"),h(3,Ve,2,1,"th",null,ye),c()(),s(5,"tbody"),h(6,Ae,3,0,"tr",null,re),c()()),n&2){let t=a();r(3),I(t.columns()),r(3),I(t.rows())}}var z=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{columns:[],rows:[]}:e});columns=i(()=>this.typed().columns??[]);rows=i(()=>this.typed().rows??[]);label=i(()=>this.inputs().label);emptyText=i(()=>this.inputs().emptyText??x.emptyDefault);formatCell(e){return e==null?"":typeof e=="boolean"?e?"\u2713":"\xB7":String(e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-records"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-records"],[1,"vc-records__header"],[1,"vc-records__empty"],[1,"vc-records__table"]],template:function(t,o){t&1&&(s(0,"section",0),p(1,Le,2,1,"h5",1),p(2,Be,2,1,"p",2)(3,je,8,0,"table",3),c()),t&2&&(u("data-testid","renderer-node-records"),r(),m(o.label()?1:-1),r(),m(o.rows().length===0?2:3))},styles:[".vc-records__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-records__table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;font-size:.85rem}.vc-records__table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;padding:.25rem .5rem;border-bottom:1px solid var(--p-surface-200);color:var(--p-surface-700);font-weight:600}.vc-records__table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:.25rem .5rem;border-bottom:1px solid var(--p-surface-100);color:var(--p-surface-800);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:16rem}.vc-records__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};function qe(n,e){if(n&1&&(s(0,"h5",1),d(1),c()),n&2){let t=a();r(),l(t.label())}}function Ke(n,e){if(n&1&&(s(0,"p",2),d(1),c()),n&2){let t=a();r(),l(t.emptyText())}}function Ge(n,e){if(n&1&&(s(0,"pre",3),d(1),c()),n&2){let t=a();r(),l(t.markdown())}}var A=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{markdown:""}:e});markdown=i(()=>this.typed().markdown??"");label=i(()=>this.inputs().label);emptyText=i(()=>this.inputs().emptyText??x.emptyDefault);static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-markdown"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-markdown"],[1,"vc-markdown__header"],[1,"vc-markdown__empty"],[1,"vc-markdown__body"]],template:function(t,o){t&1&&(s(0,"section",0),p(1,qe,2,1,"h5",1),p(2,Ke,2,1,"p",2)(3,Ge,2,1,"pre",3),c()),t&2&&(u("data-testid","renderer-node-markdown"),r(),m(o.label()?1:-1),r(),m(o.markdown()?3:2))},styles:[".vc-markdown__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-markdown__body[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-800);background:var(--p-surface-50);padding:.5rem;border-radius:.25rem;white-space:pre-wrap;word-break:break-word;margin:0;max-height:12rem;overflow:auto}.vc-markdown__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};function Ue(n,e){if(n&1&&(g(0,"span",1),d(1),v()),n&2){let t=a();r(),l(t.icon())}}var j=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{label:""}:e});label=i(()=>this.typed().label||"");icon=i(()=>this.inputs().icon);severity=i(()=>this.typed().severity);resolvedTooltip=i(()=>this.typed().tooltip??this.inputs().tooltip??"");static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-tag"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:12,consts:[[1,"vc-tag",3,"pTooltip"],["aria-hidden","true",1,"vc-tag__icon"],[1,"vc-tag__label"]],template:function(t,o){t&1&&(g(0,"span",0),p(1,Ue,2,1,"span",1),g(2,"span",2),d(3),v()()),t&2&&(w("vc-tag--info",o.severity()==="info")("vc-tag--warn",o.severity()==="warn")("vc-tag--success",o.severity()==="success")("vc-tag--danger",o.severity()==="danger"),_("pTooltip",o.resolvedTooltip()),u("data-testid","renderer-node-tag"),r(),m(o.icon()?1:-1),r(2),l(o.label()))},dependencies:[k,N],styles:[".vc-tag[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.3rem;line-height:1}.vc-tag__icon[_ngcontent-%COMP%]{font-size:.85em;line-height:1;display:block}.vc-tag__label[_ngcontent-%COMP%]{font-weight:500;line-height:1;display:block}.vc-tag--info[_ngcontent-%COMP%]{background:var(--sm-severity-info-bg);color:var(--sm-severity-info);padding:.1rem .4rem;border-radius:3px}.vc-tag--warn[_ngcontent-%COMP%]{background:var(--sm-severity-warn-bg);color:var(--sm-severity-warn);padding:.1rem .4rem;border-radius:3px}.vc-tag--success[_ngcontent-%COMP%]{background:var(--sm-severity-success-bg);color:var(--sm-severity-success);padding:.1rem .4rem;border-radius:3px}.vc-tag--danger[_ngcontent-%COMP%]{background:var(--sm-severity-error-bg);color:var(--sm-severity-error);padding:.1rem .4rem;border-radius:3px}"],changeDetection:0})};var He=()=>[],ge=(n,e)=>e.label;function Xe(n,e){if(n&1&&(s(0,"h5",1),d(1),c()),n&2){let t=a();r(),l(t.label())}}function Ye(n,e){if(n&1&&(s(0,"p",2),d(1),c()),n&2){let t=a();r(),l(t.emptyText())}}function Je(n,e){if(n&1&&(s(0,"span",5),d(1),c()),n&2){let t=a().$implicit;r(),l(t.marker)}}function Qe(n,e){if(n&1&&(s(0,"span",5),d(1),c()),n&2){let t=a().$implicit;r(),l(t.marker)}}function Ze(n,e){if(n&1&&(s(0,"li",4),p(1,Qe,2,1,"span",5),s(2,"span",6),d(3),c()()),n&2){let t=e.$implicit;u("title",t.tooltip??""),r(),m(t.marker?1:-1),r(2),l(t.label)}}function et(n,e){if(n&1&&(s(0,"ul",7),h(1,Ze,4,3,"li",4,ge),c()),n&2){let t=a().$implicit;r(),I(t.children)}}function tt(n,e){if(n&1&&(s(0,"li",4),p(1,Je,2,1,"span",5),s(2,"span",6),d(3),c(),p(4,et,3,0,"ul",7),c()),n&2){let t=e.$implicit;u("title",t.tooltip??""),r(),m(t.marker?1:-1),r(2),l(t.label),r(),m(t.children&&t.children.length>0?4:-1)}}function nt(n,e){if(n&1&&(s(0,"ul",3),h(1,tt,5,4,"li",4,ge),c()),n&2){let t=a();r(),I(t.root().children??ce(0,He))}}var q=class n{inputs=y.required();root=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{label:""}:e});rootIsEmpty=i(()=>{let e=this.root();return!e.children||e.children.length===0});label=i(()=>this.inputs().label);emptyText=i(()=>this.inputs().emptyText??x.emptyDefault);static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-tree"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-tree"],[1,"vc-tree__header"],[1,"vc-tree__empty"],["role","tree",1,"vc-tree__list"],["role","treeitem"],["aria-hidden","true",1,"vc-tree__marker"],[1,"vc-tree__label"],["role","group",1,"vc-tree__list"]],template:function(t,o){t&1&&(s(0,"section",0),p(1,Xe,2,1,"h5",1),p(2,Ye,2,1,"p",2)(3,nt,3,1,"ul",3),c()),t&2&&(u("data-testid","renderer-node-tree"),r(),m(o.label()?1:-1),r(),m(o.rootIsEmpty()?2:3))},styles:[".vc-tree__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-tree__list[_ngcontent-%COMP%]{list-style:none;padding-left:1rem;margin:0;font-size:.85rem}.vc-tree__list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding:.125rem 0}.vc-tree__marker[_ngcontent-%COMP%]{margin-right:.25rem;opacity:.7}.vc-tree__label[_ngcontent-%COMP%]{color:var(--p-surface-800)}.vc-tree__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};function ot(n,e){if(n&1&&(g(0,"span",2),d(1),v()),n&2){let t=a();r(),l(t.formattedCount())}}var K=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{}:e});icon=i(()=>this.typed().icon??this.inputs().icon);severity=i(()=>this.typed().severity);count=i(()=>this.typed().count??null);resolvedTooltip=i(()=>this.typed().tooltip??this.inputs().tooltip??"");formattedCount=i(()=>{let e=this.count();return e===null?"":e>=99?"99+":String(e)});static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-alert"]],inputs:{inputs:[1,"inputs"]},decls:3,vars:12,consts:[[1,"vc-alert",3,"pTooltip"],["hostClass","vc-alert__icon",3,"icon"],[1,"vc-alert__count"]],template:function(t,o){t&1&&(g(0,"span",0),P(1,"sm-icon-glyph",1),p(2,ot,2,1,"span",2),v()),t&2&&(w("vc-alert--info",o.severity()==="info")("vc-alert--warn",o.severity()==="warn")("vc-alert--success",o.severity()==="success")("vc-alert--danger",o.severity()==="danger"),_("pTooltip",o.resolvedTooltip()),u("data-testid","renderer-node-alert"),r(),_("icon",o.icon()),r(),m(o.count()!==null?2:-1))},dependencies:[k,N,E],styles:[".vc-alert[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;gap:.125rem;min-width:1rem;min-height:1rem;padding:.05rem .25rem;border-radius:.5rem;font-size:.7rem;background:var(--p-surface-200);color:var(--p-surface-800)}.vc-alert--info[_ngcontent-%COMP%]{background:var(--p-blue-200);color:var(--p-blue-800)}.vc-alert--warn[_ngcontent-%COMP%]{background:var(--p-yellow-200);color:var(--p-yellow-900)}.vc-alert--success[_ngcontent-%COMP%]{background:var(--p-green-200);color:var(--p-green-800)}.vc-alert--danger[_ngcontent-%COMP%]{background:var(--p-red-200);color:var(--p-red-800)}"],changeDetection:0})};var G=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{}:e});icon=i(()=>this.typed().icon??this.inputs().icon);severity=i(()=>this.typed().severity);resolvedTooltip=i(()=>this.typed().tooltip??this.inputs().tooltip??"");ariaLabel=i(()=>this.inputs().label??"");static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-icon"]],inputs:{inputs:[1,"inputs"]},decls:2,vars:12,consts:[[1,"vc-icon",3,"pTooltip"],["hostClass","vc-icon__glyph",3,"icon"]],template:function(t,o){t&1&&(g(0,"span",0),P(1,"sm-icon-glyph",1),v()),t&2&&(w("vc-icon--info",o.severity()==="info")("vc-icon--warn",o.severity()==="warn")("vc-icon--success",o.severity()==="success")("vc-icon--danger",o.severity()==="danger"),_("pTooltip",o.resolvedTooltip()),u("aria-label",o.ariaLabel())("data-testid","renderer-node-icon"),r(),_("icon",o.icon()))},dependencies:[k,N,E],styles:[".vc-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;line-height:1;width:22px;height:22px;border-radius:4px}.vc-icon__glyph[_ngcontent-%COMP%]{font-size:.7rem;line-height:1;display:block}.vc-icon--info[_ngcontent-%COMP%]{background:var(--sm-severity-info-bg);color:var(--sm-severity-info)}.vc-icon--warn[_ngcontent-%COMP%]{background:var(--sm-severity-warn-bg);color:var(--sm-severity-warn)}.vc-icon--success[_ngcontent-%COMP%]{background:var(--sm-severity-success-bg);color:var(--sm-severity-success)}.vc-icon--danger[_ngcontent-%COMP%]{background:var(--sm-severity-error-bg);color:var(--sm-severity-error)}"],changeDetection:0})};function rt(n,e){if(n&1&&(g(0,"span",3),d(1),v()),n&2){let t=a();r(),l(t.label())}}var U=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{value:""}:e});value=i(()=>String(this.typed().value??""));label=i(()=>this.typed().label??this.inputs().label);icon=i(()=>this.inputs().icon);severity=i(()=>this.typed().severity);resolvedTooltip=i(()=>this.typed().tooltip??this.inputs().tooltip??"");static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-scope-stat"]],inputs:{inputs:[1,"inputs"]},decls:5,vars:13,consts:[[1,"vc-stat",3,"pTooltip"],["hostClass","vc-stat__icon",3,"icon"],[1,"vc-stat__value"],[1,"vc-stat__label"]],template:function(t,o){t&1&&(g(0,"span",0),P(1,"sm-icon-glyph",1),g(2,"span",2),d(3),v(),p(4,rt,2,1,"span",3),v()),t&2&&(w("vc-stat--info",o.severity()==="info")("vc-stat--warn",o.severity()==="warn")("vc-stat--success",o.severity()==="success")("vc-stat--danger",o.severity()==="danger"),_("pTooltip",o.resolvedTooltip()),u("data-testid","renderer-scope-stat"),r(),_("icon",o.icon()),r(2),l(o.value()),r(),m(o.label()?4:-1))},dependencies:[k,N,E],styles:[".vc-stat[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;padding:.125rem .5rem;border-radius:.75rem;font-size:.85rem;background:var(--p-surface-100);color:var(--p-surface-800)}.vc-stat__label[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.8rem}.vc-stat--info[_ngcontent-%COMP%]{background:var(--p-blue-100);color:var(--p-blue-700)}.vc-stat--warn[_ngcontent-%COMP%]{background:var(--p-yellow-100);color:var(--p-yellow-800)}.vc-stat--success[_ngcontent-%COMP%]{background:var(--p-green-100);color:var(--p-green-700)}.vc-stat--danger[_ngcontent-%COMP%]{background:var(--p-red-100);color:var(--p-red-700)}"],changeDetection:0})};var X={"card.title.right":G,"card.subtitle.left":O,"card.footer.left.counter":O,"card.footer.right":O,"graph.node.alert":K,"inspector.header.badge.counter":O,"inspector.header.badge.tag":j,"inspector.body.panel.breakdown":L,"inspector.body.panel.records":z,"inspector.body.panel.tree":q,"inspector.body.panel.key-values":B,"inspector.body.panel.link-list":V,"inspector.body.panel.markdown":A,"topbar.actions.indicator":U};function fe(n){return n in X}var W={"topbar.actions.indicator":{id:"topbar.actions.indicator",cardinality:"multi",maxItems:3,order:"alphabetical",strategy:"append"},"inspector.header.badge.counter":{id:"inspector.header.badge.counter",cardinality:"multi",maxItems:4,order:"alphabetical",strategy:"append"},"inspector.header.badge.tag":{id:"inspector.header.badge.tag",cardinality:"multi",maxItems:4,order:"alphabetical",strategy:"append"},"inspector.body.panel.breakdown":{id:"inspector.body.panel.breakdown",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.records":{id:"inspector.body.panel.records",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.tree":{id:"inspector.body.panel.tree",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.key-values":{id:"inspector.body.panel.key-values",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.link-list":{id:"inspector.body.panel.link-list",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.markdown":{id:"inspector.body.panel.markdown",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"card.footer.left.counter":{id:"card.footer.left.counter",cardinality:"multi",maxItems:5,order:"priority",strategy:"append",respectSeverity:!0},"card.footer.right":{id:"card.footer.right",cardinality:"multi",maxItems:5,order:"priority",strategy:"append",respectSeverity:!0},"card.subtitle.left":{id:"card.subtitle.left",cardinality:"multi",maxItems:3,order:"priority",strategy:"append",respectSeverity:!0},"card.title.right":{id:"card.title.right",cardinality:"multi",maxItems:2,order:"priority",strategy:"append",respectSeverity:!0},"graph.node.alert":{id:"graph.node.alert",cardinality:"multi",maxItems:1,order:"alphabetical",strategy:"append"}};var it=n=>({inputs:n}),at=(n,e)=>e.qualifiedId;function dt(n,e){n&1&&ie(0)}function st(n,e){if(n&1&&(g(0,"span",1),oe(1,dt,1,0,"ng-container",3),v()),n&2){let t=e.$implicit,o=a(2);u("data-testid","contribution-"+t.qualifiedId.replaceAll("/","-")),r(),_("ngComponentOutlet",o.rendererFor(t.slot))("ngComponentOutletInputs",pe(3,it,t.rendererInputs))}}function lt(n,e){if(n&1&&(g(0,"span",2),d(1),v()),n&2){let t=a(2);_("pTooltip",t.overflowTooltip()),r(),le(" ",t.overflowBadge()," ")}}function ct(n,e){if(n&1&&(g(0,"span",0),h(1,st,2,5,"span",1,at),p(3,lt,2,2,"span",2),v()),n&2){let t=a();u("data-testid","view-contributions-host-"+t.testidSuffix()),r(),I(t.visible()),r(2),m(t.overflowCount()>0?3:-1)}}var ve=class n{slot=y.required();node=y(null);testidSuffix=i(()=>this.slot().replaceAll(".","-"));registry=Z($);dispatched=i(()=>{let e=this.node();if(!e)return[];let t=e.contributions??[];if(t.length===0)return[];let o=this.slot(),b=t.filter(C=>C.slot===o).filter(C=>fe(C.slot));return this.sortBySlotOrder(b,o).map(C=>({qualifiedId:`${C.pluginId}/${C.extensionId}/${C.contributionId}`,slot:C.slot,rendererInputs:this.buildInputs(C,o)}))});visible=i(()=>{let e=this.dispatched(),t=W[this.slot()].maxItems;return e.slice(0,t)});overflowCount=i(()=>{let e=this.dispatched(),t=W[this.slot()].maxItems;return Math.max(0,e.length-t)});overflowBadge=i(()=>x.overflowBadge(this.overflowCount()));overflowTooltip=i(()=>{let e=this.dispatched(),t=W[this.slot()].maxItems,o=e.slice(t).map(b=>b.qualifiedId).join(", ");return x.overflowTooltip(o)});rendererFor(e){return X[e]}buildInputs(e,t){let o=`${e.pluginId}/${e.extensionId}/${e.contributionId}`,b=this.registry.get(o),C=W[t].respectSeverity!==!1,D=e.payload;if(!C&&typeof D=="object"&&D!==null&&"severity"in D){let Y=D,{severity:mt}=Y;D=J(Y,["severity"])}let S={pluginId:e.pluginId,extensionId:e.extensionId,contributionId:e.contributionId,payload:D};return b?.label&&(S.label=b.label),b?.tooltip&&(S.tooltip=b.tooltip),b?.icon&&(S.icon=b.icon),b?.emptyText&&(S.emptyText=b.emptyText),S}sortBySlotOrder(e,t){let o=W[t].order;return o==="fifo"?e.slice():o==="priority"?e.slice().sort((b,C)=>{let D=this.priorityFor(b),S=this.priorityFor(C);return D!==S?D-S:be(b,C)}):e.slice().sort(be)}priorityFor(e){let t=`${e.pluginId}/${e.extensionId}/${e.contributionId}`;return this.registry.get(t)?.priority??100}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-view-contributions-host"]],inputs:{slot:[1,"slot"],node:[1,"node"]},decls:1,vars:1,consts:[[1,"vch"],[1,"vch__slot"],["data-testid","view-contributions-host-overflow",1,"vch__overflow",3,"pTooltip"],[4,"ngComponentOutlet","ngComponentOutletInputs"]],template:function(t,o){t&1&&p(0,ct,4,2,"span",0),t&2&&m(o.visible().length>0||o.overflowCount()>0?0:-1)},dependencies:[ue,k,N],styles:[".vch[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;flex-wrap:wrap}.vch__slot[_ngcontent-%COMP%]{display:inline-flex}.vch__overflow[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:.125rem .5rem;border-radius:.75rem;background:var(--p-surface-100);color:var(--p-surface-600);font-size:.8rem;cursor:default}"],changeDetection:0})};function be(n,e){let t=`${n.pluginId}/${n.extensionId}/${n.contributionId}`,o=`${e.pluginId}/${e.extensionId}/${e.contributionId}`;return t<o?-1:t>o?1:0}function pt(n){if(typeof n!="object"||n===null)return!1;let e=n;if(typeof e.type!="string"||e.type.length===0)return!1;let t=e.timestamp;return!(typeof t!="number"&&typeof t!="string"||!("data"in e))}function Zn(n){if(!pt(n)||n.type!=="sidecar.bumped")return!1;let e=n.data;if(typeof e!="object"||e===null||typeof e.nodePath!="string"||e.nodePath.length===0)return!1;let t=e.version;return!(t!==null&&typeof t!="number"||e.status!=="fresh")}export{$ as a,ve as b,pt as c,Zn as d};
|
|
1
|
+
import{k as N,l as k}from"./chunk-OJ6W6OIB.js";import{$a as ie,Aa as oe,Hb as ce,Ib as pe,J as Q,Ja as u,Ma as p,Na as m,O as Z,Oa as re,Qa as h,Ra as I,S as ee,Sa as _,Sb as i,T as te,Ta as g,Ua as v,Va as P,Vb as me,Wa as s,Wb as y,Xa as c,Ya as F,ba as ne,cb as ae,fb as de,gb as a,jc as ue,na as r,rb as se,sb as w,ub as H,va as f,vb as d,wb as l,xb as le}from"./chunk-ZSRIBCAW.js";import{c as J}from"./chunk-Q7L6LLAK.js";var $=class n{registry=ne({});setRegistry(e){e&&this.registry.set(e)}get(e){return this.registry()[e]}all(){return this.registry()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=Q({token:n,factory:n.\u0275fac,providedIn:"root"})};var x={panelHeader:"Plugin contributions",panelCount:n=>`${n} contribution${n===1?"":"s"}`,emptyDefault:"No contributions for this node.",rendererInvalid:"Contribution data failed schema validation.",rendererUnknownSlot:n=>`Unknown slot: ${n}. Update the UI to a newer catalog version.`,overflowBadge:n=>`+${n}`,overflowTooltip:n=>`Hidden: ${n}`};var _e=(n,e)=>e.label;function Ce(n,e){if(n&1&&(s(0,"h5",1),d(1),c()),n&2){let t=a();r(),l(t.label())}}function he(n,e){if(n&1&&(s(0,"p",2),d(1),c()),n&2){let t=a();r(),l(t.emptyText())}}function Ie(n,e){if(n&1&&(s(0,"li",4)(1,"span",5),d(2),c(),s(3,"span",6),F(4,"span",7),c(),s(5,"span",8),d(6),c()()),n&2){let t=e.$implicit,o=a(2);u("title",t.tooltip??""),r(2),l(t.label),r(2),se("width",o.percent(t.value),"%"),r(2),l(t.value)}}function xe(n,e){if(n&1&&(s(0,"ul",3),h(1,Ie,7,5,"li",4,_e),c()),n&2){let t=a();r(),I(t.entries())}}var L=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{entries:[]}:e});entries=i(()=>this.typed().entries??[]);label=i(()=>this.inputs().label);emptyText=i(()=>this.inputs().emptyText??x.emptyDefault);maxValue=i(()=>this.entries().reduce((t,o)=>o.value>t?o.value:t,0));percent(e){let t=this.maxValue();return t===0?0:Math.round(e/t*100)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-breakdown"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-breakdown"],[1,"vc-breakdown__header"],[1,"vc-breakdown__empty"],[1,"vc-breakdown__rows"],[1,"vc-breakdown__row"],[1,"vc-breakdown__label"],[1,"vc-breakdown__bar-track"],["aria-hidden","true",1,"vc-breakdown__bar"],[1,"vc-breakdown__value"]],template:function(t,o){t&1&&(s(0,"section",0),p(1,Ce,2,1,"h5",1),p(2,he,2,1,"p",2)(3,xe,3,0,"ul",3),c()),t&2&&(u("data-testid","renderer-node-breakdown"),r(),m(o.label()?1:-1),r(),m(o.entries().length===0?2:3))},styles:[".vc-breakdown__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-breakdown__rows[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.25rem}.vc-breakdown__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(4rem,.4fr) 1fr 3rem;align-items:center;gap:.5rem;font-size:.85rem}.vc-breakdown__label[_ngcontent-%COMP%]{color:var(--p-surface-700);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vc-breakdown__bar-track[_ngcontent-%COMP%]{background:var(--p-surface-100);border-radius:.25rem;height:.625rem;overflow:hidden}.vc-breakdown__bar[_ngcontent-%COMP%]{display:block;height:100%;background:var(--p-primary-500)}.vc-breakdown__value[_ngcontent-%COMP%]{text-align:right;color:var(--p-surface-600)}.vc-breakdown__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};function Ne(n,e){if(n&1&&(s(0,"span",1),d(1),c()),n&2){let t=a(2);H(t.hostClass()),r(),l(t.icon())}}function ke(n,e){if(n&1&&F(0,"i",1),n&2){let t=a(2);H(t.hostClass()+" pi pi-"+t.icon())}}function Te(n,e){if(n&1&&p(0,Ne,2,3,"span",0)(1,ke,1,2,"i",0),n&2){let t=a();m(t.isEmoji()?0:1)}}var E=class n{icon=y(void 0);hostClass=y("");isEmoji=i(()=>{let e=this.icon();return e?new RegExp("\\p{Extended_Pictographic}","u").test(e):!1});static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-icon-glyph"]],inputs:{icon:[1,"icon"],hostClass:[1,"hostClass"]},decls:1,vars:1,consts:[["aria-hidden","true",3,"class"],["aria-hidden","true"]],template:function(t,o){t&1&&p(0,Te,2,1),t&2&&m(o.icon()?0:-1)},encapsulation:2,changeDetection:0})};var O=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{value:0}:e});value=i(()=>this.typed().value);icon=i(()=>this.inputs().icon);severity=i(()=>this.typed().severity);resolvedTooltip=i(()=>this.typed().tooltip??this.inputs().tooltip??"");ariaLabel=i(()=>this.inputs().label??"");static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-counter"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:13,consts:[[1,"vc-counter",3,"pTooltip"],["hostClass","vc-counter__icon",3,"icon"],[1,"vc-counter__value"]],template:function(t,o){t&1&&(g(0,"span",0),P(1,"sm-icon-glyph",1),g(2,"span",2),d(3),v()()),t&2&&(w("vc-counter--info",o.severity()==="info")("vc-counter--warn",o.severity()==="warn")("vc-counter--success",o.severity()==="success")("vc-counter--danger",o.severity()==="danger"),_("pTooltip",o.resolvedTooltip()),u("data-testid","renderer-node-counter"),r(),_("icon",o.icon()),r(),u("aria-label",o.ariaLabel()),r(),l(o.value()))},dependencies:[k,N,E],styles:[".vc-counter[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.3rem;line-height:1}.vc-counter__icon[_ngcontent-%COMP%]{font-size:.6rem;line-height:1;display:block}.vc-counter__value[_ngcontent-%COMP%]{font-weight:600;color:var(--p-text-color);line-height:1;display:block}.vc-counter--info[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-info)}.vc-counter--warn[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-warn)}.vc-counter--success[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-success)}.vc-counter--danger[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-error)}.vc-counter--info[_ngcontent-%COMP%]{background:var(--sm-severity-info-bg);color:var(--sm-severity-info);padding:.1rem .4rem;border-radius:3px}.vc-counter--warn[_ngcontent-%COMP%]{background:var(--sm-severity-warn-bg);color:var(--sm-severity-warn);padding:.1rem .4rem;border-radius:3px}.vc-counter--success[_ngcontent-%COMP%]{background:var(--sm-severity-success-bg);color:var(--sm-severity-success);padding:.1rem .4rem;border-radius:3px}.vc-counter--danger[_ngcontent-%COMP%]{background:var(--sm-severity-error-bg);color:var(--sm-severity-error);padding:.1rem .4rem;border-radius:3px}"],changeDetection:0})};var Me=(n,e)=>e.key;function we(n,e){if(n&1&&(g(0,"h5",1),d(1),v()),n&2){let t=a();r(),l(t.label())}}function Ee(n,e){if(n&1&&(g(0,"p",2),d(1),v()),n&2){let t=a();r(),l(t.emptyText())}}function De(n,e){if(n&1&&(g(0,"dt",4),d(1),v(),g(2,"dd"),d(3),v()),n&2){let t=e.$implicit,o=a(2);_("pTooltip",t.tooltip??""),r(),l(t.key),r(2),l(o.formatValue(t.value))}}function Se(n,e){if(n&1&&(g(0,"dl",3),h(1,De,4,3,null,null,Me),v()),n&2){let t=a();r(),I(t.entries())}}var B=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{entries:[]}:e});entries=i(()=>this.typed().entries??[]);label=i(()=>this.inputs().label);emptyText=i(()=>this.inputs().emptyText??x.emptyDefault);formatValue(e){return e==null?"\u2014":typeof e=="boolean"?e?"true":"false":String(e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-key-values"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-kv"],[1,"vc-kv__header"],[1,"vc-kv__empty"],[1,"vc-kv__list"],[3,"pTooltip"]],template:function(t,o){t&1&&(g(0,"section",0),p(1,we,2,1,"h5",1),p(2,Ee,2,1,"p",2)(3,Se,3,0,"dl",3),v()),t&2&&(u("data-testid","renderer-node-key-values"),r(),m(o.label()?1:-1),r(),m(o.entries().length===0?2:3))},dependencies:[k,N],styles:[".vc-kv__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-kv__list[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(6rem,max-content) 1fr;gap:.25rem .75rem;margin:0;font-size:.85rem}.vc-kv__list[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{color:var(--p-surface-600);font-weight:500}.vc-kv__list[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]{color:var(--p-surface-800);margin:0;word-break:break-word}.vc-kv__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};var Pe=(n,e)=>e.path;function Oe(n,e){if(n&1&&(s(0,"h5",1),d(1),c()),n&2){let t=a();r(),l(t.label())}}function Re(n,e){if(n&1&&(s(0,"p",2),d(1),c()),n&2){let t=a();r(),l(t.emptyText())}}function We(n,e){if(n&1&&(s(0,"span",5),d(1),c()),n&2){let t=a().$implicit;r(),l(t.kind)}}function Fe(n,e){if(n&1){let t=ae();s(0,"li")(1,"button",4),de("click",function(){let b=ee(t).$implicit,C=a(2);return te(C.openPath.emit(b.path))}),p(2,We,2,1,"span",5),s(3,"span",6),d(4),c()()()}if(n&2){let t=e.$implicit;r(2),m(t.kind?2:-1),r(2),l(t.label??t.path)}}function $e(n,e){if(n&1&&(s(0,"ul",3),h(1,Fe,5,2,"li",null,Pe),c()),n&2){let t=a();r(),I(t.entries())}}var V=class n{inputs=y.required();openPath=me();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{entries:[]}:e});entries=i(()=>this.typed().entries??[]);label=i(()=>this.inputs().label);emptyText=i(()=>this.inputs().emptyText??x.emptyDefault);static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-link-list"]],inputs:{inputs:[1,"inputs"]},outputs:{openPath:"openPath"},decls:4,vars:3,consts:[[1,"vc-links"],[1,"vc-links__header"],[1,"vc-links__empty"],[1,"vc-links__list"],["type","button",1,"vc-links__btn",3,"click"],[1,"vc-links__kind"],[1,"vc-links__label"]],template:function(t,o){t&1&&(s(0,"section",0),p(1,Oe,2,1,"h5",1),p(2,Re,2,1,"p",2)(3,$e,3,0,"ul",3),c()),t&2&&(u("data-testid","renderer-node-link-list"),r(),m(o.label()?1:-1),r(),m(o.entries().length===0?2:3))},styles:[".vc-links__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-links__list[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.125rem;font-size:.85rem}.vc-links__btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;background:transparent;border:0;padding:.25rem .5rem;border-radius:.25rem;color:var(--p-primary-600);cursor:pointer;text-align:left;width:100%}.vc-links__btn[_ngcontent-%COMP%]:hover{background:var(--p-surface-100)}.vc-links__kind[_ngcontent-%COMP%]{color:var(--p-surface-500);font-family:var(--p-font-family-mono, monospace);font-size:.75rem}.vc-links__label[_ngcontent-%COMP%]{word-break:break-all}.vc-links__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};var ye=(n,e)=>e.key;function Le(n,e){if(n&1&&(s(0,"h5",1),d(1),c()),n&2){let t=a();r(),l(t.label())}}function Be(n,e){if(n&1&&(s(0,"p",2),d(1),c()),n&2){let t=a();r(),l(t.emptyText())}}function Ve(n,e){if(n&1&&(s(0,"th"),d(1),c()),n&2){let t=e.$implicit;r(),l(t.label)}}function ze(n,e){if(n&1&&(s(0,"td"),d(1),c()),n&2){let t=e.$implicit,o=a().$implicit,b=a(2);r(),l(b.formatCell(o[t.key]))}}function Ae(n,e){if(n&1&&(s(0,"tr"),h(1,ze,2,1,"td",null,ye),c()),n&2){let t=a(2);r(),I(t.columns())}}function je(n,e){if(n&1&&(s(0,"table",3)(1,"thead")(2,"tr"),h(3,Ve,2,1,"th",null,ye),c()(),s(5,"tbody"),h(6,Ae,3,0,"tr",null,re),c()()),n&2){let t=a();r(3),I(t.columns()),r(3),I(t.rows())}}var z=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{columns:[],rows:[]}:e});columns=i(()=>this.typed().columns??[]);rows=i(()=>this.typed().rows??[]);label=i(()=>this.inputs().label);emptyText=i(()=>this.inputs().emptyText??x.emptyDefault);formatCell(e){return e==null?"":typeof e=="boolean"?e?"\u2713":"\xB7":String(e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-records"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-records"],[1,"vc-records__header"],[1,"vc-records__empty"],[1,"vc-records__table"]],template:function(t,o){t&1&&(s(0,"section",0),p(1,Le,2,1,"h5",1),p(2,Be,2,1,"p",2)(3,je,8,0,"table",3),c()),t&2&&(u("data-testid","renderer-node-records"),r(),m(o.label()?1:-1),r(),m(o.rows().length===0?2:3))},styles:[".vc-records__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-records__table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;font-size:.85rem}.vc-records__table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;padding:.25rem .5rem;border-bottom:1px solid var(--p-surface-200);color:var(--p-surface-700);font-weight:600}.vc-records__table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:.25rem .5rem;border-bottom:1px solid var(--p-surface-100);color:var(--p-surface-800);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:16rem}.vc-records__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};function qe(n,e){if(n&1&&(s(0,"h5",1),d(1),c()),n&2){let t=a();r(),l(t.label())}}function Ke(n,e){if(n&1&&(s(0,"p",2),d(1),c()),n&2){let t=a();r(),l(t.emptyText())}}function Ge(n,e){if(n&1&&(s(0,"pre",3),d(1),c()),n&2){let t=a();r(),l(t.markdown())}}var A=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{markdown:""}:e});markdown=i(()=>this.typed().markdown??"");label=i(()=>this.inputs().label);emptyText=i(()=>this.inputs().emptyText??x.emptyDefault);static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-markdown"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-markdown"],[1,"vc-markdown__header"],[1,"vc-markdown__empty"],[1,"vc-markdown__body"]],template:function(t,o){t&1&&(s(0,"section",0),p(1,qe,2,1,"h5",1),p(2,Ke,2,1,"p",2)(3,Ge,2,1,"pre",3),c()),t&2&&(u("data-testid","renderer-node-markdown"),r(),m(o.label()?1:-1),r(),m(o.markdown()?3:2))},styles:[".vc-markdown__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-markdown__body[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-800);background:var(--p-surface-50);padding:.5rem;border-radius:.25rem;white-space:pre-wrap;word-break:break-word;margin:0;max-height:12rem;overflow:auto}.vc-markdown__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};function Ue(n,e){if(n&1&&(g(0,"span",1),d(1),v()),n&2){let t=a();r(),l(t.icon())}}var j=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{label:""}:e});label=i(()=>this.typed().label||"");icon=i(()=>this.inputs().icon);severity=i(()=>this.typed().severity);resolvedTooltip=i(()=>this.typed().tooltip??this.inputs().tooltip??"");static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-tag"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:12,consts:[[1,"vc-tag",3,"pTooltip"],["aria-hidden","true",1,"vc-tag__icon"],[1,"vc-tag__label"]],template:function(t,o){t&1&&(g(0,"span",0),p(1,Ue,2,1,"span",1),g(2,"span",2),d(3),v()()),t&2&&(w("vc-tag--info",o.severity()==="info")("vc-tag--warn",o.severity()==="warn")("vc-tag--success",o.severity()==="success")("vc-tag--danger",o.severity()==="danger"),_("pTooltip",o.resolvedTooltip()),u("data-testid","renderer-node-tag"),r(),m(o.icon()?1:-1),r(2),l(o.label()))},dependencies:[k,N],styles:[".vc-tag[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.3rem;line-height:1}.vc-tag__icon[_ngcontent-%COMP%]{font-size:.85em;line-height:1;display:block}.vc-tag__label[_ngcontent-%COMP%]{font-weight:500;line-height:1;display:block}.vc-tag--info[_ngcontent-%COMP%]{background:var(--sm-severity-info-bg);color:var(--sm-severity-info);padding:.1rem .4rem;border-radius:3px}.vc-tag--warn[_ngcontent-%COMP%]{background:var(--sm-severity-warn-bg);color:var(--sm-severity-warn);padding:.1rem .4rem;border-radius:3px}.vc-tag--success[_ngcontent-%COMP%]{background:var(--sm-severity-success-bg);color:var(--sm-severity-success);padding:.1rem .4rem;border-radius:3px}.vc-tag--danger[_ngcontent-%COMP%]{background:var(--sm-severity-error-bg);color:var(--sm-severity-error);padding:.1rem .4rem;border-radius:3px}"],changeDetection:0})};var He=()=>[],ge=(n,e)=>e.label;function Xe(n,e){if(n&1&&(s(0,"h5",1),d(1),c()),n&2){let t=a();r(),l(t.label())}}function Ye(n,e){if(n&1&&(s(0,"p",2),d(1),c()),n&2){let t=a();r(),l(t.emptyText())}}function Je(n,e){if(n&1&&(s(0,"span",5),d(1),c()),n&2){let t=a().$implicit;r(),l(t.marker)}}function Qe(n,e){if(n&1&&(s(0,"span",5),d(1),c()),n&2){let t=a().$implicit;r(),l(t.marker)}}function Ze(n,e){if(n&1&&(s(0,"li",4),p(1,Qe,2,1,"span",5),s(2,"span",6),d(3),c()()),n&2){let t=e.$implicit;u("title",t.tooltip??""),r(),m(t.marker?1:-1),r(2),l(t.label)}}function et(n,e){if(n&1&&(s(0,"ul",7),h(1,Ze,4,3,"li",4,ge),c()),n&2){let t=a().$implicit;r(),I(t.children)}}function tt(n,e){if(n&1&&(s(0,"li",4),p(1,Je,2,1,"span",5),s(2,"span",6),d(3),c(),p(4,et,3,0,"ul",7),c()),n&2){let t=e.$implicit;u("title",t.tooltip??""),r(),m(t.marker?1:-1),r(2),l(t.label),r(),m(t.children&&t.children.length>0?4:-1)}}function nt(n,e){if(n&1&&(s(0,"ul",3),h(1,tt,5,4,"li",4,ge),c()),n&2){let t=a();r(),I(t.root().children??ce(0,He))}}var q=class n{inputs=y.required();root=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{label:""}:e});rootIsEmpty=i(()=>{let e=this.root();return!e.children||e.children.length===0});label=i(()=>this.inputs().label);emptyText=i(()=>this.inputs().emptyText??x.emptyDefault);static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-tree"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-tree"],[1,"vc-tree__header"],[1,"vc-tree__empty"],["role","tree",1,"vc-tree__list"],["role","treeitem"],["aria-hidden","true",1,"vc-tree__marker"],[1,"vc-tree__label"],["role","group",1,"vc-tree__list"]],template:function(t,o){t&1&&(s(0,"section",0),p(1,Xe,2,1,"h5",1),p(2,Ye,2,1,"p",2)(3,nt,3,1,"ul",3),c()),t&2&&(u("data-testid","renderer-node-tree"),r(),m(o.label()?1:-1),r(),m(o.rootIsEmpty()?2:3))},styles:[".vc-tree__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-tree__list[_ngcontent-%COMP%]{list-style:none;padding-left:1rem;margin:0;font-size:.85rem}.vc-tree__list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding:.125rem 0}.vc-tree__marker[_ngcontent-%COMP%]{margin-right:.25rem;opacity:.7}.vc-tree__label[_ngcontent-%COMP%]{color:var(--p-surface-800)}.vc-tree__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};function ot(n,e){if(n&1&&(g(0,"span",2),d(1),v()),n&2){let t=a();r(),l(t.formattedCount())}}var K=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{}:e});icon=i(()=>this.typed().icon??this.inputs().icon);severity=i(()=>this.typed().severity);count=i(()=>this.typed().count??null);resolvedTooltip=i(()=>this.typed().tooltip??this.inputs().tooltip??"");formattedCount=i(()=>{let e=this.count();return e===null?"":e>=99?"99+":String(e)});static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-alert"]],inputs:{inputs:[1,"inputs"]},decls:3,vars:12,consts:[[1,"vc-alert",3,"pTooltip"],["hostClass","vc-alert__icon",3,"icon"],[1,"vc-alert__count"]],template:function(t,o){t&1&&(g(0,"span",0),P(1,"sm-icon-glyph",1),p(2,ot,2,1,"span",2),v()),t&2&&(w("vc-alert--info",o.severity()==="info")("vc-alert--warn",o.severity()==="warn")("vc-alert--success",o.severity()==="success")("vc-alert--danger",o.severity()==="danger"),_("pTooltip",o.resolvedTooltip()),u("data-testid","renderer-node-alert"),r(),_("icon",o.icon()),r(),m(o.count()!==null?2:-1))},dependencies:[k,N,E],styles:[".vc-alert[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;gap:.125rem;min-width:1rem;min-height:1rem;padding:.05rem .25rem;border-radius:.5rem;font-size:.7rem;background:var(--p-surface-200);color:var(--p-surface-800)}.vc-alert--info[_ngcontent-%COMP%]{background:var(--p-blue-200);color:var(--p-blue-800)}.vc-alert--warn[_ngcontent-%COMP%]{background:var(--p-yellow-200);color:var(--p-yellow-900)}.vc-alert--success[_ngcontent-%COMP%]{background:var(--p-green-200);color:var(--p-green-800)}.vc-alert--danger[_ngcontent-%COMP%]{background:var(--p-red-200);color:var(--p-red-800)}"],changeDetection:0})};var G=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{}:e});icon=i(()=>this.typed().icon??this.inputs().icon);severity=i(()=>this.typed().severity);resolvedTooltip=i(()=>this.typed().tooltip??this.inputs().tooltip??"");ariaLabel=i(()=>this.inputs().label??"");static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-node-icon"]],inputs:{inputs:[1,"inputs"]},decls:2,vars:12,consts:[[1,"vc-icon",3,"pTooltip"],["hostClass","vc-icon__glyph",3,"icon"]],template:function(t,o){t&1&&(g(0,"span",0),P(1,"sm-icon-glyph",1),v()),t&2&&(w("vc-icon--info",o.severity()==="info")("vc-icon--warn",o.severity()==="warn")("vc-icon--success",o.severity()==="success")("vc-icon--danger",o.severity()==="danger"),_("pTooltip",o.resolvedTooltip()),u("aria-label",o.ariaLabel())("data-testid","renderer-node-icon"),r(),_("icon",o.icon()))},dependencies:[k,N,E],styles:[".vc-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;line-height:1;width:22px;height:22px;border-radius:4px}.vc-icon__glyph[_ngcontent-%COMP%]{font-size:.7rem;line-height:1;display:block}.vc-icon--info[_ngcontent-%COMP%]{background:var(--sm-severity-info-bg);color:var(--sm-severity-info)}.vc-icon--warn[_ngcontent-%COMP%]{background:var(--sm-severity-warn-bg);color:var(--sm-severity-warn)}.vc-icon--success[_ngcontent-%COMP%]{background:var(--sm-severity-success-bg);color:var(--sm-severity-success)}.vc-icon--danger[_ngcontent-%COMP%]{background:var(--sm-severity-error-bg);color:var(--sm-severity-error)}"],changeDetection:0})};function rt(n,e){if(n&1&&(g(0,"span",3),d(1),v()),n&2){let t=a();r(),l(t.label())}}var U=class n{inputs=y.required();typed=i(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{value:""}:e});value=i(()=>String(this.typed().value??""));label=i(()=>this.typed().label??this.inputs().label);icon=i(()=>this.inputs().icon);severity=i(()=>this.typed().severity);resolvedTooltip=i(()=>this.typed().tooltip??this.inputs().tooltip??"");static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-scope-stat"]],inputs:{inputs:[1,"inputs"]},decls:5,vars:13,consts:[[1,"vc-stat",3,"pTooltip"],["hostClass","vc-stat__icon",3,"icon"],[1,"vc-stat__value"],[1,"vc-stat__label"]],template:function(t,o){t&1&&(g(0,"span",0),P(1,"sm-icon-glyph",1),g(2,"span",2),d(3),v(),p(4,rt,2,1,"span",3),v()),t&2&&(w("vc-stat--info",o.severity()==="info")("vc-stat--warn",o.severity()==="warn")("vc-stat--success",o.severity()==="success")("vc-stat--danger",o.severity()==="danger"),_("pTooltip",o.resolvedTooltip()),u("data-testid","renderer-scope-stat"),r(),_("icon",o.icon()),r(2),l(o.value()),r(),m(o.label()?4:-1))},dependencies:[k,N,E],styles:[".vc-stat[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;padding:.125rem .5rem;border-radius:.75rem;font-size:.85rem;background:var(--p-surface-100);color:var(--p-surface-800)}.vc-stat__label[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.8rem}.vc-stat--info[_ngcontent-%COMP%]{background:var(--p-blue-100);color:var(--p-blue-700)}.vc-stat--warn[_ngcontent-%COMP%]{background:var(--p-yellow-100);color:var(--p-yellow-800)}.vc-stat--success[_ngcontent-%COMP%]{background:var(--p-green-100);color:var(--p-green-700)}.vc-stat--danger[_ngcontent-%COMP%]{background:var(--p-red-100);color:var(--p-red-700)}"],changeDetection:0})};var X={"card.title.right":G,"card.subtitle.left":O,"card.footer.left.counter":O,"card.footer.right":O,"graph.node.alert":K,"inspector.header.badge.counter":O,"inspector.header.badge.tag":j,"inspector.body.panel.breakdown":L,"inspector.body.panel.records":z,"inspector.body.panel.tree":q,"inspector.body.panel.key-values":B,"inspector.body.panel.link-list":V,"inspector.body.panel.markdown":A,"topbar.actions.indicator":U};function fe(n){return n in X}var W={"topbar.actions.indicator":{id:"topbar.actions.indicator",cardinality:"multi",maxItems:3,order:"alphabetical",strategy:"append"},"inspector.header.badge.counter":{id:"inspector.header.badge.counter",cardinality:"multi",maxItems:4,order:"alphabetical",strategy:"append"},"inspector.header.badge.tag":{id:"inspector.header.badge.tag",cardinality:"multi",maxItems:4,order:"alphabetical",strategy:"append"},"inspector.body.panel.breakdown":{id:"inspector.body.panel.breakdown",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.records":{id:"inspector.body.panel.records",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.tree":{id:"inspector.body.panel.tree",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.key-values":{id:"inspector.body.panel.key-values",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.link-list":{id:"inspector.body.panel.link-list",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.markdown":{id:"inspector.body.panel.markdown",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"card.footer.left.counter":{id:"card.footer.left.counter",cardinality:"multi",maxItems:5,order:"priority",strategy:"append",respectSeverity:!0},"card.footer.right":{id:"card.footer.right",cardinality:"multi",maxItems:5,order:"priority",strategy:"append",respectSeverity:!0},"card.subtitle.left":{id:"card.subtitle.left",cardinality:"multi",maxItems:3,order:"priority",strategy:"append",respectSeverity:!0},"card.title.right":{id:"card.title.right",cardinality:"multi",maxItems:2,order:"priority",strategy:"append",respectSeverity:!0},"graph.node.alert":{id:"graph.node.alert",cardinality:"multi",maxItems:1,order:"alphabetical",strategy:"append"}};var it=n=>({inputs:n}),at=(n,e)=>e.qualifiedId;function dt(n,e){n&1&&ie(0)}function st(n,e){if(n&1&&(g(0,"span",1),oe(1,dt,1,0,"ng-container",3),v()),n&2){let t=e.$implicit,o=a(2);u("data-testid","contribution-"+t.qualifiedId.replaceAll("/","-")),r(),_("ngComponentOutlet",o.rendererFor(t.slot))("ngComponentOutletInputs",pe(3,it,t.rendererInputs))}}function lt(n,e){if(n&1&&(g(0,"span",2),d(1),v()),n&2){let t=a(2);_("pTooltip",t.overflowTooltip()),r(),le(" ",t.overflowBadge()," ")}}function ct(n,e){if(n&1&&(g(0,"span",0),h(1,st,2,5,"span",1,at),p(3,lt,2,2,"span",2),v()),n&2){let t=a();u("data-testid","view-contributions-host-"+t.testidSuffix()),r(),I(t.visible()),r(2),m(t.overflowCount()>0?3:-1)}}var ve=class n{slot=y.required();node=y(null);testidSuffix=i(()=>this.slot().replaceAll(".","-"));registry=Z($);dispatched=i(()=>{let e=this.node();if(!e)return[];let t=e.contributions??[];if(t.length===0)return[];let o=this.slot(),b=t.filter(C=>C.slot===o).filter(C=>fe(C.slot));return this.sortBySlotOrder(b,o).map(C=>({qualifiedId:`${C.pluginId}/${C.extensionId}/${C.contributionId}`,slot:C.slot,rendererInputs:this.buildInputs(C,o)}))});visible=i(()=>{let e=this.dispatched(),t=W[this.slot()].maxItems;return e.slice(0,t)});overflowCount=i(()=>{let e=this.dispatched(),t=W[this.slot()].maxItems;return Math.max(0,e.length-t)});overflowBadge=i(()=>x.overflowBadge(this.overflowCount()));overflowTooltip=i(()=>{let e=this.dispatched(),t=W[this.slot()].maxItems,o=e.slice(t).map(b=>b.qualifiedId).join(", ");return x.overflowTooltip(o)});rendererFor(e){return X[e]}buildInputs(e,t){let o=`${e.pluginId}/${e.extensionId}/${e.contributionId}`,b=this.registry.get(o),C=W[t].respectSeverity!==!1,D=e.payload;if(!C&&typeof D=="object"&&D!==null&&"severity"in D){let Y=D,{severity:mt}=Y;D=J(Y,["severity"])}let S={pluginId:e.pluginId,extensionId:e.extensionId,contributionId:e.contributionId,payload:D};return b?.label&&(S.label=b.label),b?.tooltip&&(S.tooltip=b.tooltip),b?.icon&&(S.icon=b.icon),b?.emptyText&&(S.emptyText=b.emptyText),S}sortBySlotOrder(e,t){let o=W[t].order;return o==="fifo"?e.slice():o==="priority"?e.slice().sort((b,C)=>{let D=this.priorityFor(b),S=this.priorityFor(C);return D!==S?D-S:be(b,C)}):e.slice().sort(be)}priorityFor(e){let t=`${e.pluginId}/${e.extensionId}/${e.contributionId}`;return this.registry.get(t)?.priority??100}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=f({type:n,selectors:[["sm-view-contributions-host"]],inputs:{slot:[1,"slot"],node:[1,"node"]},decls:1,vars:1,consts:[[1,"vch"],[1,"vch__slot"],["data-testid","view-contributions-host-overflow",1,"vch__overflow",3,"pTooltip"],[4,"ngComponentOutlet","ngComponentOutletInputs"]],template:function(t,o){t&1&&p(0,ct,4,2,"span",0),t&2&&m(o.visible().length>0||o.overflowCount()>0?0:-1)},dependencies:[ue,k,N],styles:[".vch[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;flex-wrap:wrap}.vch__slot[_ngcontent-%COMP%]{display:inline-flex}.vch__overflow[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:.125rem .5rem;border-radius:.75rem;background:var(--p-surface-100);color:var(--p-surface-600);font-size:.8rem;cursor:default}"],changeDetection:0})};function be(n,e){let t=`${n.pluginId}/${n.extensionId}/${n.contributionId}`,o=`${e.pluginId}/${e.extensionId}/${e.contributionId}`;return t<o?-1:t>o?1:0}function pt(n){if(typeof n!="object"||n===null)return!1;let e=n;if(typeof e.type!="string"||e.type.length===0)return!1;let t=e.timestamp;return!(typeof t!="number"&&typeof t!="string"||!("data"in e))}function Zn(n){if(!pt(n)||n.type!=="sidecar.bumped")return!1;let e=n.data;if(typeof e!="object"||e===null||typeof e.nodePath!="string"||e.nodePath.length===0)return!1;let t=e.version;return!(t!==null&&typeof t!="number"||e.status!=="fresh")}export{$ as a,ve as b,pt as c,Zn as d};
|