@skill-map/cli 0.23.1 → 0.24.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 +244 -200
- package/dist/cli.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/kernel/index.d.ts +1969 -1961
- package/dist/kernel/index.js +3 -3
- package/dist/kernel/index.js.map +1 -1
- package/dist/ui/chunk-2W3RSIZM.js +1 -0
- package/dist/ui/chunk-5ABLL5JC.js +123 -0
- package/dist/ui/chunk-FHS2JKF6.js +500 -0
- package/dist/ui/chunk-JCNVT3F3.js +251 -0
- package/dist/ui/chunk-JVJ4QSO5.js +107 -0
- package/dist/ui/chunk-KHERXP5A.js +61 -0
- package/dist/ui/{chunk-2TPMJJYQ.js → chunk-MMBMFL5D.js} +5 -5
- package/dist/ui/{chunk-STE4Z72W.js → chunk-RIDAAD4I.js} +1 -1
- package/dist/ui/chunk-SVDEA4G5.js +1 -0
- package/dist/ui/chunk-YEWLFFFB.js +135 -0
- package/dist/ui/{chunk-BMAKIDAV.js → chunk-YVTETTWF.js} +30 -80
- package/dist/ui/chunk-ZR2E2QJ4.js +965 -0
- package/dist/ui/index.html +3 -3
- package/dist/ui/main-63GTHO24.js +2 -0
- package/dist/ui/{styles-ALBMEXCF.css → styles-YEWJTI4X.css} +1 -1
- package/package.json +2 -2
- package/dist/ui/chunk-3RAME7PF.js +0 -251
- package/dist/ui/chunk-4BVLXZO3.js +0 -61
- package/dist/ui/chunk-C7PRRCVD.js +0 -123
- package/dist/ui/chunk-GJJZ5QH6.js +0 -450
- package/dist/ui/chunk-I7EELB7M.js +0 -1
- package/dist/ui/chunk-KRNW54CI.js +0 -5
- package/dist/ui/chunk-NJ4PSNK3.js +0 -965
- package/dist/ui/chunk-OU26UMVW.js +0 -237
- package/dist/ui/chunk-SCSYN7U2.js +0 -1
- package/dist/ui/main-WQA6J5V5.js +0 -2
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
import{e as ye,l as ve}from"./chunk-KRNW54CI.js";import{Fb as P,Gc as z,Hb as ie,Hc as h,I as re,Ia as m,Ic as fe,J as B,Jc as j,K as E,La as K,M,Ma as U,Mc as R,Nc as X,O as u,Ob as pe,Ra as i,S as C,Sa as f,T,Ta as b,Tc as g,U as q,Ua as L,Uc as be,Va as ee,Vb as ge,Wa as te,Xa as ne,Ya as H,Yc as he,Z as Q,Za as G,_a as oe,_c as _e,ac as k,bb as $,bc as ue,cb as le,db as w,ea as _,fb as r,gb as Z,hb as Y,hc as J,ib as N,ja as ce,kb as y,kc as W,lb as v,ma as c,mc as V,nc as O,pb as se,sb as de,tb as d,ua as I,ub as A,va as S,vb as F,xa as D,xc as me,ya as x,za as p}from"./chunk-NJ4PSNK3.js";var Ce=`
|
|
2
|
-
.p-tag {
|
|
3
|
-
display: inline-flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
background: dt('tag.primary.background');
|
|
7
|
-
color: dt('tag.primary.color');
|
|
8
|
-
font-size: dt('tag.font.size');
|
|
9
|
-
font-weight: dt('tag.font.weight');
|
|
10
|
-
padding: dt('tag.padding');
|
|
11
|
-
border-radius: dt('tag.border.radius');
|
|
12
|
-
gap: dt('tag.gap');
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.p-tag-icon {
|
|
16
|
-
font-size: dt('tag.icon.size');
|
|
17
|
-
width: dt('tag.icon.size');
|
|
18
|
-
height: dt('tag.icon.size');
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.p-tag-rounded {
|
|
22
|
-
border-radius: dt('tag.rounded.border.radius');
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.p-tag-success {
|
|
26
|
-
background: dt('tag.success.background');
|
|
27
|
-
color: dt('tag.success.color');
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.p-tag-info {
|
|
31
|
-
background: dt('tag.info.background');
|
|
32
|
-
color: dt('tag.info.color');
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.p-tag-warn {
|
|
36
|
-
background: dt('tag.warn.background');
|
|
37
|
-
color: dt('tag.warn.color');
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.p-tag-danger {
|
|
41
|
-
background: dt('tag.danger.background');
|
|
42
|
-
color: dt('tag.danger.color');
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.p-tag-secondary {
|
|
46
|
-
background: dt('tag.secondary.background');
|
|
47
|
-
color: dt('tag.secondary.color');
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.p-tag-contrast {
|
|
51
|
-
background: dt('tag.contrast.background');
|
|
52
|
-
color: dt('tag.contrast.color');
|
|
53
|
-
}
|
|
54
|
-
`;var Fe=["icon"],Pe=["*"];function Ve(t,l){if(t&1&&L(0,"span",4),t&2){let e=r(2);d(e.cx("icon")),i("ngClass",e.icon)("pBind",e.ptm("icon"))}}function Oe(t,l){if(t&1&&(H(0),p(1,Ve,1,4,"span",3),G()),t&2){let e=r();c(),i("ngIf",e.icon)}}function ze(t,l){}function je(t,l){t&1&&p(0,ze,0,0,"ng-template")}function Re(t,l){if(t&1&&(f(0,"span",2),p(1,je,1,0,null,5),b()),t&2){let e=r();d(e.cx("icon")),i("pBind",e.ptm("icon")),c(),i("ngTemplateOutlet",e.iconTemplate||e._iconTemplate)}}var Qe={root:({instance:t})=>["p-tag p-component",{"p-tag-info":t.severity==="info","p-tag-success":t.severity==="success","p-tag-warn":t.severity==="warn","p-tag-danger":t.severity==="danger","p-tag-secondary":t.severity==="secondary","p-tag-contrast":t.severity==="contrast","p-tag-rounded":t.rounded}],icon:"p-tag-icon",label:"p-tag-label"},Te=(()=>{class t extends j{name="tag";style=Ce;classes=Qe;static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275prov=B({token:t,factory:t.\u0275fac})}return t})();var Ie=new M("TAG_INSTANCE"),He=(()=>{class t extends X{componentName="Tag";$pcTag=u(Ie,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=u(g,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass;severity;value;icon;rounded;iconTemplate;templates;_iconTemplate;_componentStyle=u(Te);onAfterContentInit(){this.templates?.forEach(e=>{e.getType()==="icon"&&(this._iconTemplate=e.template)})}get dataP(){return this.cn({rounded:this.rounded,[this.severity]:this.severity})}static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275cmp=I({type:t,selectors:[["p-tag"]],contentQueries:function(o,n,a){if(o&1&&N(a,Fe,4)(a,z,4),o&2){let s;y(s=v())&&(n.iconTemplate=s.first),y(s=v())&&(n.templates=s)}},hostVars:3,hostBindings:function(o,n){o&2&&(m("data-p",n.dataP),d(n.cn(n.cx("root"),n.styleClass)))},inputs:{styleClass:"styleClass",severity:"severity",value:"value",icon:"icon",rounded:[2,"rounded","rounded",k]},features:[P([Te,{provide:Ie,useExisting:t},{provide:R,useExisting:t}]),D([g]),x],ngContentSelectors:Pe,decls:5,vars:6,consts:[[4,"ngIf"],[3,"class","pBind",4,"ngIf"],[3,"pBind"],[3,"class","ngClass","pBind",4,"ngIf"],[3,"ngClass","pBind"],[4,"ngTemplateOutlet"]],template:function(o,n){o&1&&(Z(),Y(0),p(1,Oe,2,1,"ng-container",0)(2,Re,2,4,"span",1),f(3,"span",2),A(4),b()),o&2&&(c(),i("ngIf",!n.iconTemplate&&!n._iconTemplate),c(),i("ngIf",n.iconTemplate||n._iconTemplate),c(),d(n.cx("label")),i("pBind",n.ptm("label")),c(),F(n.value))},dependencies:[O,J,W,V,h,g],encapsulation:2,changeDetection:0})}return t})(),At=(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=S({type:t});static \u0275inj=E({imports:[He,h,h]})}return t})();var we=`
|
|
55
|
-
.p-togglebutton {
|
|
56
|
-
display: inline-flex;
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
user-select: none;
|
|
59
|
-
overflow: hidden;
|
|
60
|
-
position: relative;
|
|
61
|
-
color: dt('togglebutton.color');
|
|
62
|
-
background: dt('togglebutton.background');
|
|
63
|
-
border: 1px solid dt('togglebutton.border.color');
|
|
64
|
-
padding: dt('togglebutton.padding');
|
|
65
|
-
font-size: 1rem;
|
|
66
|
-
font-family: inherit;
|
|
67
|
-
font-feature-settings: inherit;
|
|
68
|
-
transition:
|
|
69
|
-
background dt('togglebutton.transition.duration'),
|
|
70
|
-
color dt('togglebutton.transition.duration'),
|
|
71
|
-
border-color dt('togglebutton.transition.duration'),
|
|
72
|
-
outline-color dt('togglebutton.transition.duration'),
|
|
73
|
-
box-shadow dt('togglebutton.transition.duration');
|
|
74
|
-
border-radius: dt('togglebutton.border.radius');
|
|
75
|
-
outline-color: transparent;
|
|
76
|
-
font-weight: dt('togglebutton.font.weight');
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.p-togglebutton-content {
|
|
80
|
-
display: inline-flex;
|
|
81
|
-
flex: 1 1 auto;
|
|
82
|
-
align-items: center;
|
|
83
|
-
justify-content: center;
|
|
84
|
-
gap: dt('togglebutton.gap');
|
|
85
|
-
padding: dt('togglebutton.content.padding');
|
|
86
|
-
background: transparent;
|
|
87
|
-
border-radius: dt('togglebutton.content.border.radius');
|
|
88
|
-
transition:
|
|
89
|
-
background dt('togglebutton.transition.duration'),
|
|
90
|
-
color dt('togglebutton.transition.duration'),
|
|
91
|
-
border-color dt('togglebutton.transition.duration'),
|
|
92
|
-
outline-color dt('togglebutton.transition.duration'),
|
|
93
|
-
box-shadow dt('togglebutton.transition.duration');
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.p-togglebutton:not(:disabled):not(.p-togglebutton-checked):hover {
|
|
97
|
-
background: dt('togglebutton.hover.background');
|
|
98
|
-
color: dt('togglebutton.hover.color');
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.p-togglebutton.p-togglebutton-checked {
|
|
102
|
-
background: dt('togglebutton.checked.background');
|
|
103
|
-
border-color: dt('togglebutton.checked.border.color');
|
|
104
|
-
color: dt('togglebutton.checked.color');
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.p-togglebutton-checked .p-togglebutton-content {
|
|
108
|
-
background: dt('togglebutton.content.checked.background');
|
|
109
|
-
box-shadow: dt('togglebutton.content.checked.shadow');
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.p-togglebutton:focus-visible {
|
|
113
|
-
box-shadow: dt('togglebutton.focus.ring.shadow');
|
|
114
|
-
outline: dt('togglebutton.focus.ring.width') dt('togglebutton.focus.ring.style') dt('togglebutton.focus.ring.color');
|
|
115
|
-
outline-offset: dt('togglebutton.focus.ring.offset');
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.p-togglebutton.p-invalid {
|
|
119
|
-
border-color: dt('togglebutton.invalid.border.color');
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.p-togglebutton:disabled {
|
|
123
|
-
opacity: 1;
|
|
124
|
-
cursor: default;
|
|
125
|
-
background: dt('togglebutton.disabled.background');
|
|
126
|
-
border-color: dt('togglebutton.disabled.border.color');
|
|
127
|
-
color: dt('togglebutton.disabled.color');
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.p-togglebutton-label,
|
|
131
|
-
.p-togglebutton-icon {
|
|
132
|
-
position: relative;
|
|
133
|
-
transition: none;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.p-togglebutton-icon {
|
|
137
|
-
color: dt('togglebutton.icon.color');
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.p-togglebutton:not(:disabled):not(.p-togglebutton-checked):hover .p-togglebutton-icon {
|
|
141
|
-
color: dt('togglebutton.icon.hover.color');
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.p-togglebutton.p-togglebutton-checked .p-togglebutton-icon {
|
|
145
|
-
color: dt('togglebutton.icon.checked.color');
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.p-togglebutton:disabled .p-togglebutton-icon {
|
|
149
|
-
color: dt('togglebutton.icon.disabled.color');
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.p-togglebutton-sm {
|
|
153
|
-
padding: dt('togglebutton.sm.padding');
|
|
154
|
-
font-size: dt('togglebutton.sm.font.size');
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.p-togglebutton-sm .p-togglebutton-content {
|
|
158
|
-
padding: dt('togglebutton.content.sm.padding');
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.p-togglebutton-lg {
|
|
162
|
-
padding: dt('togglebutton.lg.padding');
|
|
163
|
-
font-size: dt('togglebutton.lg.font.size');
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.p-togglebutton-lg .p-togglebutton-content {
|
|
167
|
-
padding: dt('togglebutton.content.lg.padding');
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.p-togglebutton-fluid {
|
|
171
|
-
width: 100%;
|
|
172
|
-
}
|
|
173
|
-
`;var Ge=["icon"],$e=["content"],Me=t=>({$implicit:t});function qe(t,l){t&1&&oe(0)}function Ke(t,l){if(t&1&&L(0,"span",0),t&2){let e=r(3);d(e.cn(e.cx("icon"),e.checked?e.onIcon:e.offIcon,e.iconPos==="left"?e.cx("iconLeft"):e.cx("iconRight"))),i("pBind",e.ptm("icon"))}}function Ue(t,l){if(t&1&&K(0,Ke,1,3,"span",2),t&2){let e=r(2);U(e.onIcon||e.offIcon?0:-1)}}function Ze(t,l){t&1&&oe(0)}function Ye(t,l){if(t&1&&p(0,Ze,1,0,"ng-container",1),t&2){let e=r(2);i("ngTemplateOutlet",e.iconTemplate||e._iconTemplate)("ngTemplateOutletContext",ie(2,Me,e.checked))}}function Je(t,l){if(t&1&&(K(0,Ue,1,1)(1,Ye,1,4,"ng-container"),f(2,"span",0),A(3),b()),t&2){let e=r();U(e.iconTemplate?1:0),c(2),d(e.cx("label")),i("pBind",e.ptm("label")),c(),F(e.checked?e.hasOnLabel?e.onLabel:"\xA0":e.hasOffLabel?e.offLabel:"\xA0")}}var We=`
|
|
174
|
-
${we}
|
|
175
|
-
|
|
176
|
-
/* For PrimeNG (iconPos) */
|
|
177
|
-
.p-togglebutton-icon-right {
|
|
178
|
-
order: 1;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.p-togglebutton.ng-invalid.ng-dirty {
|
|
182
|
-
border-color: dt('togglebutton.invalid.border.color');
|
|
183
|
-
}
|
|
184
|
-
`,Xe={root:({instance:t})=>["p-togglebutton p-component",{"p-togglebutton-checked":t.checked,"p-invalid":t.invalid(),"p-disabled":t.$disabled(),"p-togglebutton-sm p-inputfield-sm":t.size==="small","p-togglebutton-lg p-inputfield-lg":t.size==="large","p-togglebutton-fluid":t.fluid()}],content:"p-togglebutton-content",icon:"p-togglebutton-icon",iconLeft:"p-togglebutton-icon-left",iconRight:"p-togglebutton-icon-right",label:"p-togglebutton-label"},Be=(()=>{class t extends j{name="togglebutton";style=We;classes=Xe;static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275prov=B({token:t,factory:t.\u0275fac})}return t})();var Ee=new M("TOGGLEBUTTON_INSTANCE"),et={provide:ye,useExisting:re(()=>Se),multi:!0},Se=(()=>{class t extends ve{componentName="ToggleButton";$pcToggleButton=u(Ee,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=u(g,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}onKeyDown(e){switch(e.code){case"Enter":this.toggle(e),e.preventDefault();break;case"Space":this.toggle(e),e.preventDefault();break}}toggle(e){!this.$disabled()&&!(this.allowEmpty===!1&&this.checked)&&(this.checked=!this.checked,this.writeModelValue(this.checked),this.onModelChange(this.checked),this.onModelTouched(),this.onChange.emit({originalEvent:e,checked:this.checked}),this.cd.markForCheck())}onLabel="Yes";offLabel="No";onIcon;offIcon;ariaLabel;ariaLabelledBy;styleClass;inputId;tabindex=0;iconPos="left";autofocus;size;allowEmpty;fluid=ge(void 0,{transform:k});onChange=new Q;iconTemplate;contentTemplate;templates;checked=!1;onInit(){(this.checked===null||this.checked===void 0)&&(this.checked=!1)}_componentStyle=u(Be);onBlur(){this.onModelTouched()}get hasOnLabel(){return this.onLabel&&this.onLabel.length>0}get hasOffLabel(){return this.offLabel&&this.offLabel.length>0}get active(){return this.checked===!0}_iconTemplate;_contentTemplate;onAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"icon":this._iconTemplate=e.template;break;case"content":this._contentTemplate=e.template;break;default:this._contentTemplate=e.template;break}})}writeControlValue(e,o){this.checked=e,o(e),this.cd.markForCheck()}get dataP(){return this.cn({checked:this.active,invalid:this.invalid(),[this.size]:this.size})}static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275cmp=I({type:t,selectors:[["p-toggleButton"],["p-togglebutton"],["p-toggle-button"]],contentQueries:function(o,n,a){if(o&1&&N(a,Ge,4)(a,$e,4)(a,z,4),o&2){let s;y(s=v())&&(n.iconTemplate=s.first),y(s=v())&&(n.contentTemplate=s.first),y(s=v())&&(n.templates=s)}},hostVars:11,hostBindings:function(o,n){o&1&&w("keydown",function(s){return n.onKeyDown(s)})("click",function(s){return n.toggle(s)}),o&2&&(m("aria-labelledby",n.ariaLabelledBy)("aria-label",n.ariaLabel)("aria-pressed",n.checked?"true":"false")("role","button")("tabindex",n.tabindex!==void 0?n.tabindex:n.$disabled()?-1:0)("data-pc-name","togglebutton")("data-p-checked",n.active)("data-p-disabled",n.$disabled())("data-p",n.dataP),d(n.cn(n.cx("root"),n.styleClass)))},inputs:{onLabel:"onLabel",offLabel:"offLabel",onIcon:"onIcon",offIcon:"offIcon",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",styleClass:"styleClass",inputId:"inputId",tabindex:[2,"tabindex","tabindex",ue],iconPos:"iconPos",autofocus:[2,"autofocus","autofocus",k],size:"size",allowEmpty:"allowEmpty",fluid:[1,"fluid"]},outputs:{onChange:"onChange"},features:[P([et,Be,{provide:Ee,useExisting:t},{provide:R,useExisting:t}]),D([_e,g]),x],decls:3,vars:9,consts:[[3,"pBind"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"class","pBind"]],template:function(o,n){o&1&&(f(0,"span",0),p(1,qe,1,0,"ng-container",1),K(2,Je,4,5),b()),o&2&&(d(n.cx("content")),i("pBind",n.ptm("content")),m("data-p",n.dataP),c(),i("ngTemplateOutlet",n.contentTemplate||n._contentTemplate)("ngTemplateOutletContext",ie(7,Me,n.checked)),c(),U(n.contentTemplate?-1:2))},dependencies:[O,V,h,be,g],encapsulation:2,changeDetection:0})}return t})(),on=(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=S({type:t});static \u0275inj=E({imports:[Se,h,h]})}return t})();var tt=["data-p-icon","times-circle"],De=(()=>{class t extends he{pathId;onInit(){this.pathId="url(#"+me()+")"}static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275cmp=I({type:t,selectors:[["","data-p-icon","times-circle"]],features:[x],attrs:tt,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(o,n){o&1&&(q(),ee(0,"g"),ne(1,"path",0),te(),ee(2,"defs")(3,"clipPath",1),ne(4,"rect",2),te()()),o&2&&(m("clip-path",n.pathId),c(3),le("id",n.pathId))},encapsulation:2})}return t})();var Le=`
|
|
185
|
-
.p-chip {
|
|
186
|
-
display: inline-flex;
|
|
187
|
-
align-items: center;
|
|
188
|
-
background: dt('chip.background');
|
|
189
|
-
color: dt('chip.color');
|
|
190
|
-
border-radius: dt('chip.border.radius');
|
|
191
|
-
padding-block: dt('chip.padding.y');
|
|
192
|
-
padding-inline: dt('chip.padding.x');
|
|
193
|
-
gap: dt('chip.gap');
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.p-chip-icon {
|
|
197
|
-
color: dt('chip.icon.color');
|
|
198
|
-
font-size: dt('chip.icon.size');
|
|
199
|
-
width: dt('chip.icon.size');
|
|
200
|
-
height: dt('chip.icon.size');
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.p-chip-image {
|
|
204
|
-
border-radius: 50%;
|
|
205
|
-
width: dt('chip.image.width');
|
|
206
|
-
height: dt('chip.image.height');
|
|
207
|
-
margin-inline-start: calc(-1 * dt('chip.padding.y'));
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.p-chip:has(.p-chip-remove-icon) {
|
|
211
|
-
padding-inline-end: dt('chip.padding.y');
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.p-chip:has(.p-chip-image) {
|
|
215
|
-
padding-block-start: calc(dt('chip.padding.y') / 2);
|
|
216
|
-
padding-block-end: calc(dt('chip.padding.y') / 2);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.p-chip-remove-icon {
|
|
220
|
-
cursor: pointer;
|
|
221
|
-
font-size: dt('chip.remove.icon.size');
|
|
222
|
-
width: dt('chip.remove.icon.size');
|
|
223
|
-
height: dt('chip.remove.icon.size');
|
|
224
|
-
color: dt('chip.remove.icon.color');
|
|
225
|
-
border-radius: 50%;
|
|
226
|
-
transition:
|
|
227
|
-
outline-color dt('chip.transition.duration'),
|
|
228
|
-
box-shadow dt('chip.transition.duration');
|
|
229
|
-
outline-color: transparent;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.p-chip-remove-icon:focus-visible {
|
|
233
|
-
box-shadow: dt('chip.remove.icon.focus.ring.shadow');
|
|
234
|
-
outline: dt('chip.remove.icon.focus.ring.width') dt('chip.remove.icon.focus.ring.style') dt('chip.remove.icon.focus.ring.color');
|
|
235
|
-
outline-offset: dt('chip.remove.icon.focus.ring.offset');
|
|
236
|
-
}
|
|
237
|
-
`;var nt=["removeicon"],ot=["*"];function it(t,l){if(t&1){let e=$();f(0,"img",4),w("error",function(n){C(e);let a=r();return T(a.imageError(n))}),b()}if(t&2){let e=r();d(e.cx("image")),i("pBind",e.ptm("image"))("src",e.image,ce)("alt",e.alt)}}function at(t,l){if(t&1&&L(0,"span",6),t&2){let e=r(2);d(e.icon),i("pBind",e.ptm("icon"))("ngClass",e.cx("icon"))}}function rt(t,l){if(t&1&&p(0,at,1,4,"span",5),t&2){let e=r();i("ngIf",e.icon)}}function ct(t,l){if(t&1&&(f(0,"div",7),A(1),b()),t&2){let e=r();d(e.cx("label")),i("pBind",e.ptm("label")),c(),F(e.label)}}function lt(t,l){if(t&1){let e=$();f(0,"span",11),w("click",function(n){C(e);let a=r(3);return T(a.close(n))})("keydown",function(n){C(e);let a=r(3);return T(a.onKeydown(n))}),b()}if(t&2){let e=r(3);d(e.removeIcon),i("pBind",e.ptm("removeIcon"))("ngClass",e.cx("removeIcon")),m("tabindex",e.disabled?-1:0)("aria-label",e.removeAriaLabel)}}function st(t,l){if(t&1){let e=$();q(),f(0,"svg",12),w("click",function(n){C(e);let a=r(3);return T(a.close(n))})("keydown",function(n){C(e);let a=r(3);return T(a.onKeydown(n))}),b()}if(t&2){let e=r(3);d(e.cx("removeIcon")),i("pBind",e.ptm("removeIcon")),m("tabindex",e.disabled?-1:0)("aria-label",e.removeAriaLabel)}}function dt(t,l){if(t&1&&(H(0),p(1,lt,1,6,"span",9)(2,st,1,5,"svg",10),G()),t&2){let e=r(2);c(),i("ngIf",e.removeIcon),c(),i("ngIf",!e.removeIcon)}}function pt(t,l){}function gt(t,l){t&1&&p(0,pt,0,0,"ng-template")}function ut(t,l){if(t&1){let e=$();f(0,"span",13),w("click",function(n){C(e);let a=r(2);return T(a.close(n))})("keydown",function(n){C(e);let a=r(2);return T(a.onKeydown(n))}),p(1,gt,1,0,null,14),b()}if(t&2){let e=r(2);d(e.cx("removeIcon")),i("pBind",e.ptm("removeIcon")),m("tabindex",e.disabled?-1:0)("aria-label",e.removeAriaLabel),c(),i("ngTemplateOutlet",e.removeIconTemplate||e._removeIconTemplate)}}function mt(t,l){if(t&1&&(H(0),p(1,dt,3,2,"ng-container",3)(2,ut,2,6,"span",8),G()),t&2){let e=r();c(),i("ngIf",!e.removeIconTemplate&&!e._removeIconTemplate),c(),i("ngIf",e.removeIconTemplate||e._removeIconTemplate)}}var ft={root:({instance:t})=>({display:!t.visible&&"none"})},bt={root:({instance:t})=>["p-chip p-component",{"p-disabled":t.disabled}],image:"p-chip-image",icon:"p-chip-icon",label:"p-chip-label",removeIcon:"p-chip-remove-icon"},Ne=(()=>{class t extends j{name="chip";style=Le;classes=bt;inlineStyles=ft;static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275prov=B({token:t,factory:t.\u0275fac})}return t})();var Ae=new M("CHIP_INSTANCE"),ht=(()=>{class t extends X{componentName="Chip";$pcChip=u(Ae,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=u(g,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}label;icon;image;alt;styleClass;disabled=!1;removable=!1;removeIcon;onRemove=new Q;onImageError=new Q;visible=!0;get removeAriaLabel(){return this.config.getTranslation(fe.ARIA).removeLabel}get chipProps(){return this._chipProps}set chipProps(e){this._chipProps=e,e&&typeof e=="object"&&Object.entries(e).forEach(([o,n])=>this[`_${o}`]!==n&&(this[`_${o}`]=n))}_chipProps;_componentStyle=u(Ne);removeIconTemplate;templates;_removeIconTemplate;onAfterContentInit(){this.templates.forEach(e=>{e.getType()==="removeicon"?this._removeIconTemplate=e.template:this._removeIconTemplate=e.template})}onChanges(e){if(e.chipProps&&e.chipProps.currentValue){let{currentValue:o}=e.chipProps;o.label!==void 0&&(this.label=o.label),o.icon!==void 0&&(this.icon=o.icon),o.image!==void 0&&(this.image=o.image),o.alt!==void 0&&(this.alt=o.alt),o.styleClass!==void 0&&(this.styleClass=o.styleClass),o.removable!==void 0&&(this.removable=o.removable),o.removeIcon!==void 0&&(this.removeIcon=o.removeIcon)}}close(e){this.visible=!1,this.onRemove.emit(e)}onKeydown(e){(e.key==="Enter"||e.key==="Backspace")&&this.close(e)}imageError(e){this.onImageError.emit(e)}get dataP(){return this.cn({removable:this.removable})}static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275cmp=I({type:t,selectors:[["p-chip"]],contentQueries:function(o,n,a){if(o&1&&N(a,nt,4)(a,z,4),o&2){let s;y(s=v())&&(n.removeIconTemplate=s.first),y(s=v())&&(n.templates=s)}},hostVars:6,hostBindings:function(o,n){o&2&&(m("aria-label",n.label)("data-p",n.dataP),de(n.sx("root")),d(n.cn(n.cx("root"),n.styleClass)))},inputs:{label:"label",icon:"icon",image:"image",alt:"alt",styleClass:"styleClass",disabled:[2,"disabled","disabled",k],removable:[2,"removable","removable",k],removeIcon:"removeIcon",chipProps:"chipProps"},outputs:{onRemove:"onRemove",onImageError:"onImageError"},features:[P([Ne,{provide:Ae,useExisting:t},{provide:R,useExisting:t}]),D([g]),x],ngContentSelectors:ot,decls:6,vars:4,consts:[["iconTemplate",""],[3,"pBind","class","src","alt","error",4,"ngIf","ngIfElse"],[3,"pBind","class",4,"ngIf"],[4,"ngIf"],[3,"error","pBind","src","alt"],[3,"pBind","class","ngClass",4,"ngIf"],[3,"pBind","ngClass"],[3,"pBind"],["role","button",3,"pBind","class","click","keydown",4,"ngIf"],["role","button",3,"pBind","class","ngClass","click","keydown",4,"ngIf"],["data-p-icon","times-circle","role","button",3,"pBind","class","click","keydown",4,"ngIf"],["role","button",3,"click","keydown","pBind","ngClass"],["data-p-icon","times-circle","role","button",3,"click","keydown","pBind"],["role","button",3,"click","keydown","pBind"],[4,"ngTemplateOutlet"]],template:function(o,n){if(o&1&&(Z(),Y(0),p(1,it,1,5,"img",1)(2,rt,1,1,"ng-template",null,0,pe)(4,ct,2,4,"div",2)(5,mt,3,2,"ng-container",3)),o&2){let a=se(3);c(),i("ngIf",n.image)("ngIfElse",a),c(3),i("ngIf",n.label),c(),i("ngIf",n.removable)}},dependencies:[O,J,W,V,De,h,g],encapsulation:2,changeDetection:0})}return t})(),En=(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=S({type:t});static \u0275inj=E({imports:[ht,h,h]})}return t})();export{Se as a,on as b,He as c,At as d,ht as e,En as f};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{J as r,O as s,Rb as n,W as l,ba as o,ca as d,gd as i,hd as c,ld as g}from"./chunk-NJ4PSNK3.js";var S={triggerLabel:"Settings",triggerTooltip:"Settings",modalTitle:"Settings",closeLabel:"Close",sections:{plugins:"Plugins",general:"General",project:"Project",changelog:"Changelog",about:"About"},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.local.json` file.",loadErrorPrefix:"Could not load project settings:",saveErrorPrefix:"Could not save project settings:",extraFoldersLabel:"Extra folders to scan",extraFoldersDescription:"Additional folders included in the scan. Their files show up in the graph next to this project. Use ~/ for paths inside your home folder. This is the only way to extend the scan beyond this project.",extraFoldersPlaceholder:"~/.claude/agents, /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, 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. 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, 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",unsavedChangesMessage:t=>t===1?'1 unsaved change. Click "Apply" to persist it.':`${t} unsaved changes. Click "Apply" to persist them.`,startsAsDisabledRowHint:"This plugin started disabled and is not loaded in memory. Restart `sm serve` for the change to take effect.",startsAsDisabledFooterHint:"Some plugins were disabled when the server started. Consider restarting `sm serve` so they take effect.",discardChanges:"Discard",applyAndClose:"Apply",discardA11y:"Discard pending plugin changes",applyA11y:"Apply pending plugin changes and refresh the graph",confirmCloseTitle:"Apply pending changes?",confirmCloseBody:t=>t===1?"You have 1 unsaved change.":`You have ${t} unsaved changes.`,keepEditing:"Keep editing",sourceBuiltIn:"Built-in",sourceProject:"Project",sourceGlobal:"Global",enabledLabel:"Enabled",disabledLabel:"Disabled",lockedLabel:"Locked",lockedTooltip:"Locked by the host (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}`,pluginRow:t=>`Plugin ${t} row`,extensionRow:t=>`Extension ${t} row`}};var u=class t{dataSource=s(i);status=o(null);isOutdated=n(()=>this.status()?.isOutdated===!0);latest=n(()=>this.status()?.latest??null);current=n(()=>this.status()?.current??null);async load(){try{let e=await this.dataSource.getUpdateStatus();this.status.set(e)}catch(e){let a=e instanceof Error?e.message:String(e);console.warn(`UpdateCheckService: fetch failed (${a})`)}}static \u0275fac=function(a){return new(a||t)};static \u0275prov=r({token:t,factory:t.\u0275fac,providedIn:"root"})};var h=class t{dataSource=s(i);loader=s(g);scanning=o(!1);scanError=o(null);async run(){if(!this.scanning()){this.scanning.set(!0),this.scanError.set(null);try{await this.dataSource.runScan(),await this.loader.load()}catch(e){let a=e instanceof c||e instanceof Error?e.message:String(e);this.scanError.set(a),console.warn(`scan-trigger failed: ${a}`)}finally{this.scanning.set(!1)}}}static \u0275fac=function(a){return new(a||t)};static \u0275prov=r({token:t,factory:t.\u0275fac,providedIn:"root"})};var m="skill-map.ui.theme",v="app-dark",k="dark",f="(prefers-color-scheme: dark)",b=class t{doc=s(l);mode=o(this.readInitial());systemPrefersDark=o(this.readSystemPref());resolved=n(()=>{let e=this.mode();return e==="auto"?this.systemPrefersDark()?"dark":"light":e});constructor(){this.subscribeToSystemPref(),d(()=>{let e=this.resolved()==="dark",a=this.doc.documentElement;a.classList.toggle(v,e),a.classList.toggle(k,e);try{this.doc.defaultView?.localStorage.setItem(m,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(m);if(e==="auto"||e==="light"||e==="dark")return e}catch{}return"auto"}readSystemPref(){try{return this.doc.defaultView?.matchMedia(f).matches??!1}catch{return!1}}subscribeToSystemPref(){let e=this.doc.defaultView;if(!e||typeof e.matchMedia!="function")return;e.matchMedia(f).addEventListener("change",y=>{this.systemPrefersDark.set(y.matches)})}static \u0275fac=function(a){return new(a||t)};static \u0275prov=r({token:t,factory:t.\u0275fac,providedIn:"root"})};export{u as a,S as b,h as c,b as d};
|
package/dist/ui/main-WQA6J5V5.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as $e,b as W,c as je}from"./chunk-I7EELB7M.js";import{a as Ie,b as Pe,c as ke,d as Ae,e as Se,f as we,g as Ce,h as Re,i as Ee,j as Me,t as k,u as De,v as Ne}from"./chunk-4BVLXZO3.js";import{a as X,b as Fe,c as Ue,d as Be}from"./chunk-SCSYN7U2.js";import{$c as Q,Aa as me,Da as oe,Ga as ue,Ha as ge,Ia as P,J as E,Kc as Te,La as O,Lc as xe,Ma as L,N as F,O as s,Ra as g,Rb as m,S as U,Sa as l,T as B,Ta as p,Ua as y,X as le,_b as he,aa as pe,ad as J,ba as M,bb as H,ca as de,db as C,ed as Oe,f as ae,fb as _,gd as V,hd as c,id as N,ja as ce,jd as Le,kd as $,ld as G,m as x,ma as a,pc as fe,qc as ye,rb as se,rc as ve,sc as D,tc as be,ua as z,ub as u,uc as _e,vb as h,wb as K}from"./chunk-NJ4PSNK3.js";import"./chunk-3R7E3HPC.js";import"./chunk-Q7L6LLAK.js";var ze=[{path:"",pathMatch:"full",redirectTo:"graph"},{path:"graph",loadComponent:()=>import("./chunk-3RAME7PF.js").then(i=>i.GraphView),data:{title:"Graph"}},{path:"list",loadComponent:()=>import("./chunk-BMAKIDAV.js").then(i=>i.ListView),data:{title:"List"}},{path:"**",redirectTo:"graph"}];var I={errors:{unknownMode:i=>`SKILL_MAP_MODE: unknown value "${i}"`,restPrefix:i=>`BFF error [${i}]: `,malformedResponse:"BFF returned a malformed response",demoFetchFailed:(i,e)=>`Demo bundle fetch failed for "${i}": ${e}`,demoParseFailed:(i,e)=>`Demo bundle parse failed for "${i}": ${e}`,graphFormatNotInDemo:i=>`Graph format "${i}" is not bundled in demo mode (only "ascii").`}};function Y(i){let e=new TextEncoder().encode(i),t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}var d="/api",Z=class i{http;ws;kindRegistry;contributionsRegistry;constructor(e,t,n,r){this.http=e??s(D),this.ws=t??s($),this.kindRegistry=n??s(k),this.contributionsRegistry=r??s(W)}async health(){return this.getJson(`${d}/health`)}async loadScan(){let[e]=await Promise.all([this.getJson(`${d}/scan`),this.listNodes({limit:0}).catch(()=>null)]);return e}async runScan(){return this.patchJson(`${d}/scan`,{},"POST")}async listNodes(e={}){let t=tt(e),n=await this.getJson(`${d}/nodes${t}`);return this.ingestRegistry(n.kindRegistry),this.ingestContributionsRegistry(n.contributionsRegistry),n}async getNode(e,t={}){let n=Y(e),r=t.includeBody?"?include=body":"";try{let o=await this.getJson(`${d}/nodes/${n}${r}`);return this.ingestRegistry(o.kindRegistry),this.ingestContributionsRegistry(o.contributionsRegistry),o}catch(o){if(o instanceof c&&o.code==="not-found")return null;throw o}}async listLinks(e={}){let t=it(e),n=await this.getJson(`${d}/links${t}`);return this.ingestRegistry(n.kindRegistry),this.ingestContributionsRegistry(n.contributionsRegistry),n}async listIssues(e={}){let t=nt(e),n=await this.getJson(`${d}/issues${t}`);return this.ingestRegistry(n.kindRegistry),this.ingestContributionsRegistry(n.contributionsRegistry),n}async loadGraph(e="ascii"){let t=`${d}/graph?format=${encodeURIComponent(e)}`;try{return await x(this.http.get(t,{responseType:"text"}))}catch(n){throw this.translateError(n)}}async loadConfig(){let e=await this.getJson(`${d}/config`);return this.ingestRegistry(e.kindRegistry),this.ingestContributionsRegistry(e.contributionsRegistry),e.value}async listPlugins(){let e=await this.getJson(`${d}/plugins`);return this.ingestRegistry(e.kindRegistry),this.ingestContributionsRegistry(e.contributionsRegistry),e}async setPluginEnabled(e,t){let n=await this.patchJson(`${d}/plugins/${encodeURIComponent(e)}`,{enabled:t});return this.ingestRegistry(n.kindRegistry),this.ingestContributionsRegistry(n.contributionsRegistry),n}async setPluginExtensionEnabled(e,t,n){let r=await this.patchJson(`${d}/plugins/${encodeURIComponent(e)}/extensions/${encodeURIComponent(t)}`,{enabled:n});return this.ingestRegistry(r.kindRegistry),this.ingestContributionsRegistry(r.contributionsRegistry),r}async applyPluginChanges(e){let t=await this.patchJson(`${d}/plugins`,{changes:e});return this.ingestRegistry(t.kindRegistry),this.ingestContributionsRegistry(t.contributionsRegistry),t}async getPreferences(){return await this.getJson(`${d}/preferences`)}async setPreferences(e){return await this.patchJson(`${d}/preferences`,e)}async getProjectPreferences(){return await this.getJson(`${d}/project-preferences`)}async setProjectPreferences(e){return await this.patchJson(`${d}/project-preferences`,e)}async setFavorite(e){let t=Y(e);try{await x(this.http.put(`${d}/favorites/${t}`,null))}catch(n){throw this.translateError(n)}}async unsetFavorite(e){let t=Y(e);try{await x(this.http.delete(`${d}/favorites/${t}`))}catch(n){throw this.translateError(n)}}async bumpSidecar(e,t={}){let n={nodePath:e};return t.force!==void 0&&(n.force=t.force),t.confirm!==void 0&&(n.confirm=t.confirm),this.patchJson(`${d}/sidecar/bump`,n,"POST")}async getUpdateStatus(){return this.getJson(`${d}/update-status`)}async getRegisteredAnnotations(){return(await this.getJson(`${d}/annotations/registered`)).items}ingestRegistry(e){e&&this.kindRegistry.ingest(e)}ingestContributionsRegistry(e){this.contributionsRegistry.setRegistry(e)}async lookupContribution(e,t,n){let r=new URLSearchParams({path:n});try{return(await this.getJson(`${d}/contributions/${encodeURIComponent(e)}/${encodeURIComponent(t)}?${r.toString()}`)).items[0]??null}catch{return null}}events(){return this.ws.events$}async getJson(e){try{return await x(this.http.get(e))}catch(t){throw this.translateError(t)}}async patchJson(e,t,n="PATCH"){try{let r=n==="POST"?this.http.post(e,t):this.http.patch(e,t);return await x(r)}catch(r){throw this.translateError(r)}}translateError(e){if(e instanceof c)return e;if(e instanceof ve){let n=rt(e.error);return n?new c(n.error.code,n.error.message,n.error.details):new c("internal",e.message||I.errors.malformedResponse)}let t=e instanceof Error?e.message:String(e);return new c("internal",t)}static \u0275fac=function(t){return new(t||i)(F(D),F($),F(k),F(W))};static \u0275prov=E({token:i,factory:i.\u0275fac,providedIn:"root"})};function tt(i){let e=new URLSearchParams;i.kind&&i.kind.length>0&&e.set("kind",i.kind.join(",")),i.hasIssues!==void 0&&e.set("hasIssues",String(i.hasIssues)),i.path&&e.set("path",i.path),i.limit!==void 0&&e.set("limit",String(i.limit)),i.offset!==void 0&&e.set("offset",String(i.offset));let t=e.toString();return t?`?${t}`:""}function it(i){let e=new URLSearchParams;i.kind&&i.kind.length>0&&e.set("kind",i.kind.join(",")),i.from&&e.set("from",i.from),i.to&&e.set("to",i.to);let t=e.toString();return t?`?${t}`:""}function nt(i){let e=new URLSearchParams;i.severity&&e.set("severity",i.severity),i.analyzerId&&e.set("analyzerId",i.analyzerId),i.node&&e.set("node",i.node);let t=e.toString();return t?`?${t}`:""}function rt(i){if(typeof i!="object"||i===null)return null;let e=i;if(e.ok!==!1)return null;let t=e.error;if(typeof t!="object"||t===null)return null;let n=t;return typeof n.code!="string"||typeof n.message!="string"?null:{ok:!1,error:{code:n.code,message:n.message,details:n.details}}}var ot="data.json",st="data.meta.json",ee=class{constructor(e=globalThis.fetch.bind(globalThis),t){this.fetchImpl=e;this.kindRegistry=t??s(k)}metaPromise=null;dataPromise=null;kindRegistry;async health(){return(await this.loadMeta()).health}async loadScan(){let[e,t]=await Promise.all([this.loadData(),this.loadMeta()]);return this.kindRegistry.ingest(t.nodes.kindRegistry),e}async listNodes(e={}){let t=await this.loadMeta();if(at(e))return this.kindRegistry.ingest(t.nodes.kindRegistry),t.nodes;let n=await this.loadData(),r=n.issues,o=n.nodes;if(e.kind&&e.kind.length>0){let S=new Set(e.kind);o=o.filter(w=>S.has(w.kind))}if(e.path){let S=dt(e.path);o=o.filter(w=>S.test(w.path))}if(e.hasIssues===!0){let S=He(r);o=o.filter(w=>S.has(w.path))}else if(e.hasIssues===!1){let S=He(r);o=o.filter(w=>!S.has(w.path))}let f=o.length,b=e.offset??0,A=e.limit??1e3,v=o.slice(b,b+A);return this.kindRegistry.ingest(t.nodes.kindRegistry),{schemaVersion:"1",kind:"nodes",items:v,filters:{kind:e.kind??null,hasIssues:e.hasIssues??null,path:e.path?[e.path]:null},counts:{total:f,returned:v.length,page:{offset:b,limit:A}},kindRegistry:t.nodes.kindRegistry}}async getNode(e,t={}){let[n,r]=await Promise.all([this.loadData(),this.loadMeta()]),o=n.nodes.find(v=>v.path===e);if(!o)return null;let f=n.links.filter(v=>v.target===e),b=n.links.filter(v=>v.source===e),A=n.issues.filter(v=>v.nodeIds.includes(e));return this.kindRegistry.ingest(r.nodes.kindRegistry),{schemaVersion:"1",kind:"node",item:o,links:{incoming:f,outgoing:b},issues:A,kindRegistry:r.nodes.kindRegistry}}async listLinks(e={}){let t=await this.loadMeta();if(lt(e))return this.kindRegistry.ingest(t.links.kindRegistry),t.links;let r=(await this.loadData()).links;if(e.kind&&e.kind.length>0){let o=new Set(e.kind);r=r.filter(f=>o.has(f.kind))}return e.from&&(r=r.filter(o=>o.source===e.from)),e.to&&(r=r.filter(o=>o.target===e.to)),this.kindRegistry.ingest(t.links.kindRegistry),{schemaVersion:"1",kind:"links",items:r,filters:{kind:e.kind??null,from:e.from??null,to:e.to??null},counts:{total:r.length,returned:r.length},kindRegistry:t.links.kindRegistry}}async listIssues(e={}){let t=await this.loadMeta();if(pt(e))return this.kindRegistry.ingest(t.issues.kindRegistry),t.issues;let r=(await this.loadData()).issues;return e.severity&&(r=r.filter(o=>o.severity===e.severity)),e.analyzerId&&(r=r.filter(o=>o.analyzerId===e.analyzerId)),e.node&&(r=r.filter(o=>o.nodeIds.includes(e.node))),this.kindRegistry.ingest(t.issues.kindRegistry),{schemaVersion:"1",kind:"issues",items:r,filters:{severity:e.severity??null,analyzerId:e.analyzerId??null,node:e.node??null},counts:{total:r.length,returned:r.length},kindRegistry:t.issues.kindRegistry}}async loadGraph(e="ascii"){if(e!=="ascii")throw new c("bad-query",I.errors.graphFormatNotInDemo(e));return(await this.loadMeta()).graph.ascii}async loadConfig(){let e=await this.loadMeta();return this.kindRegistry.ingest(e.config.kindRegistry),e.config.value}async listPlugins(){let e=await this.loadMeta();return this.kindRegistry.ingest(e.plugins.kindRegistry),e.plugins}async setFavorite(e){throw new c("demo-readonly","Favorites are not available in demo mode (static bundle is immutable).")}async unsetFavorite(e){throw new c("demo-readonly","Favorites are not available in demo mode (static bundle is immutable).")}async setPluginEnabled(e,t){throw new c("demo-readonly","Plugin toggles are not available in demo mode (static bundle is immutable).")}async setPluginExtensionEnabled(e,t,n){throw new c("demo-readonly","Plugin toggles are not available in demo mode (static bundle is immutable).")}async applyPluginChanges(e){throw new c("demo-readonly","Plugin toggles are not available in demo mode (static bundle is immutable).")}async runScan(){throw new c("demo-readonly","Manual scan is not available in demo mode (static bundle is immutable).")}async getPreferences(){return{updateCheck:{enabled:!0}}}async setPreferences(e){throw new c("demo-readonly","Preference toggles are not available in demo mode (static bundle is immutable).")}async getProjectPreferences(){return{scan:{extraFolders:[],referencePaths:[]}}}async setProjectPreferences(e){throw new c("demo-readonly","Project preferences are not available in demo mode (static bundle is immutable).")}async lookupContribution(){return null}async bumpSidecar(e,t={}){throw new c("demo-readonly","Sidecar bump is not available in demo mode (static bundle is immutable).")}async getUpdateStatus(){return{current:(await this.loadMeta()).health.implVersion,latest:null,isOutdated:!1,checkedAt:null,shownAt:null}}async getRegisteredAnnotations(){return[]}events(){return ae}loadMeta(){return this.metaPromise||(this.metaPromise=this.fetchJson(st)),this.metaPromise}loadData(){return this.dataPromise||(this.dataPromise=this.fetchJson(ot)),this.dataPromise}async fetchJson(e){let t;try{t=await this.fetchImpl(e)}catch(n){let r=n instanceof Error?n.message:String(n);throw new c("internal",I.errors.demoFetchFailed(e,r))}if(!t.ok)throw new c("internal",I.errors.demoFetchFailed(e,`HTTP ${t.status}`));try{return await t.json()}catch(n){let r=n instanceof Error?n.message:String(n);throw new c("internal",I.errors.demoParseFailed(e,r))}}};function at(i){return!(i.kind&&i.kind.length>0||i.hasIssues!==void 0||i.path||i.offset!==void 0&&i.offset!==0||i.limit!==void 0)}function lt(i){return!(i.kind&&i.kind.length>0||i.from||i.to)}function pt(i){return!(i.severity||i.analyzerId||i.node)}function He(i){let e=new Set;for(let t of i)for(let n of t.nodeIds)e.add(n);return e}function dt(i){let t=i.replace(/[.+^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/\?/g,".");return new RegExp(`^${t}$`)}function Ke(){let i=s(N);if(i==="live")return new Z(s(D),s($));if(i==="demo")return new ee;let e=i;throw new Error(I.errors.unknownMode(String(e)))}var j=class i{dataSource=s(V);status=M(null);cwd=m(()=>this.status()?.cwd??null);implVersion=m(()=>this.status()?.implVersion??null);async load(){try{let e=await this.dataSource.health();this.status.set(e)}catch(e){let t=e instanceof Error?e.message:String(e);console.warn(`ProjectInfoService: /api/health probe failed (${t})`)}}static \u0275fac=function(t){return new(t||i)};static \u0275prov=E({token:i,factory:i.\u0275fac,providedIn:"root"})};var Qe={providers:[pe(),Ce(ze,Re()),be(_e()),xe({}),oe(async()=>{let i=s(Te),[{default:e},{definePreset:t}]=await Promise.all([import("./chunk-FWFBO7KA.js"),import("./chunk-UJOZYR5I.js")]),n=t(e,{semantic:{primary:{50:"#F5F3FF",100:"#EDE9FE",200:"#DDD6FE",300:"#C4B5FD",400:"#A78BFA",500:"#8B5CF6",600:"#7C3AED",700:"#6D28D9",800:"#4C1D95",900:"#2E1065",950:"#1E0A4D"}}});i.setThemeConfig({theme:{preset:n,options:{darkModeSelector:".app-dark"}}})}),{provide:N,useFactory:Le},{provide:V,useFactory:Ke},oe(()=>{let i=s(G),e=s(X),t=s(j);i.load(),e.load(),t.load()})]};var te={brand:"skill-map",alpha:"ALPHA - do not use in production",nav:{graph:"Graph",list:"List",searchLabel:"Search nodes (coming soon)",searchTooltip:"Search (coming soon)",listLabel:"List view (coming soon)",listTooltip:"List (coming soon)"},actions:{},badge:{nodes:"nodes",graphInfo:(i,e)=>`Run scan
|
|
2
|
-
${i.toLocaleString()} nodes \xB7 ${e.toLocaleString()} links`,graphInfoA11y:(i,e)=>`Graph contains ${i} nodes and ${e} links`},a11y:{viewSwitcher:"View switcher"},viewportWarning:{title:"Looks like you're on a small screen",subtitle:"skill-map is built for desktop",body:"The graph and inspector need room to breathe. Pop this open on a screen at least 768px wide. See you there."}};var R={toggleToAuto:"Switch to auto theme (follow system)",toggleToLight:"Switch to light theme",toggleToDark:"Switch to dark theme",currentAuto:"Auto theme (follows system)",currentLight:"Light theme",currentDark:"Dark theme"};var T={available:"Update available",tooltip:i=>`v${i} is available. Run \`npm i -g @skill-map/cli@latest\` to update.`,a11yLabel:i=>`Update available: version ${i}`,versionLabel:i=>`v${i}`,versionTooltip:i=>`skill-map CLI v${i}`,versionA11yLabel:i=>`Running version ${i}`};var Je="search",Ve="kinds",Ge="stabilities",We="hasIssues",Xe="staleOnly",Ye="favoritesOnly",ie=class i{filters=s(Ne);router=s(Ae);activatedRoute=s(Pe);kindRegistry=s(k);destroyRef=s(le);suppressUrlReadback=!1;constructor(){this.applyUrlToFilters(this.currentParams()),this.router.events.pipe(Oe(this.destroyRef)).subscribe(e=>{if(e instanceof Ie){if(this.suppressUrlReadback)return;this.applyUrlToFilters(this.currentParams())}}),de(()=>{let e=this.computeQueryParams();this.writeQueryParams(e)})}currentParams(){let e=this.router.parseUrl(this.router.url),t=new URLSearchParams;for(let[n,r]of Object.entries(e.queryParams))Array.isArray(r)?t.set(n,r.join(",")):r!=null&&t.set(n,String(r));return this.activatedRoute,t}applyUrlToFilters(e){let t=e.get(Je)??"";t!==this.filters.searchText()&&this.filters.setSearchText(t);let n=ct(e.get(Ve),this.kindRegistry.kinds().map(A=>A.name));Ze(n,this.filters.selectedKinds())||this.filters.setKinds(n);let r=mt(e.get(Ge));Ze(r,this.filters.selectedStabilities())||this.filters.setStabilities(r);let o=e.get(We)==="true";o!==this.filters.hasIssuesOnly()&&this.filters.setHasIssuesOnly(o);let f=e.get(Xe)==="true";f!==this.filters.staleOnly()&&this.filters.setStaleOnly(f);let b=e.get(Ye)==="true";b!==this.filters.favoritesOnly()&&this.filters.setFavoritesOnly(b)}computeQueryParams(){let e=this.filters.searchText().trim(),t=this.filters.selectedKinds(),n=this.filters.selectedStabilities(),r=this.filters.hasIssuesOnly(),o=this.filters.staleOnly(),f=this.filters.favoritesOnly();return{[Je]:e.length>0?e:null,[Ve]:t.length>0?t.join(","):null,[Ge]:n.length>0?n.join(","):null,[We]:r?"true":null,[Xe]:o?"true":null,[Ye]:f?"true":null}}writeQueryParams(e){let t=this.currentParams(),n=new Map(Object.entries(e)),r=!1;for(let[o,f]of n)if((t.get(o)??null)!==f){r=!0;break}r&&(this.suppressUrlReadback=!0,this.router.navigate([],{relativeTo:this.activatedRoute,queryParams:e,queryParamsHandling:"merge",replaceUrl:!0}).finally(()=>{setTimeout(()=>{this.suppressUrlReadback=!1},0)}))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=E({token:i,factory:i.\u0275fac,providedIn:"root"})};function ct(i,e){if(!i)return[];let t=new Set(e);return i.split(",").map(n=>n.trim()).filter(n=>t.has(n))}function mt(i){if(!i)return[];let e=new Set(De);return i.split(",").map(t=>t.trim()).filter(t=>e.has(t))}function Ze(i,e){if(i.length!==e.length)return!1;for(let t=0;t<i.length;t++)if(i[t]!==e[t])return!1;return!0}var qe={body:"You are viewing a static demo of skill-map's UI. Install it:",installCommand:"npm i -g @skill-map/cli",homeCta:"\u2190 Back to skill-map.dev",homeHref:"/",dismissAria:"Dismiss demo banner"};function ht(i,e){if(i&1){let t=H();l(0,"div",0),y(1,"span",1),l(2,"p",2),u(3),l(4,"code",3),u(5),p()(),l(6,"a",4),u(7),p(),l(8,"p-button",5),C("onClick",function(){U(t);let r=_();return B(r.dismiss())}),p()()}if(i&2){let t=_();a(3),K(" ",t.texts.body," "),a(2),h(t.texts.installCommand),a(),g("href",t.texts.homeHref,ce),a(),h(t.texts.homeCta),a(),g("ariaLabel",t.texts.dismissAria)("text",!0)("rounded",!0)}}var et="sm.demoBannerDismissed",ne=class i{mode=s(N);texts=qe;dismissed=M(this.readDismissed());visible=m(()=>this.mode==="demo"&&!this.dismissed());dismiss(){this.dismissed.set(!0);try{globalThis.localStorage?.setItem(et,"1")}catch{}}readDismissed(){if(this.mode!=="demo")return!0;try{return globalThis.localStorage?.getItem(et)==="1"}catch{return!1}}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["sm-demo-banner"]],decls:1,vars:1,consts:[["role","status","data-testid","demo-banner",1,"demo-banner"],["aria-hidden","true",1,"demo-banner__icon","fa-solid","fa-circle-info"],[1,"demo-banner__body"],["data-testid","demo-banner-install",1,"demo-banner__cmd"],["data-testid","demo-banner-home",1,"demo-banner__home",3,"href"],["icon","fa-solid fa-xmark","severity","secondary","size","small","data-testid","demo-banner-dismiss",3,"onClick","ariaLabel","text","rounded"]],template:function(t,n){t&1&&O(0,ht,9,7,"div",0),t&2&&L(n.visible()?0:-1)},dependencies:[J,Q],styles:["[_nghost-%COMP%]{display:block}.demo-banner[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;padding:.5rem 1rem;border-bottom:1px solid var(--p-content-border-color);background:var(--p-highlight-background);color:var(--p-text-color);font-size:.875rem}.demo-banner__icon[_ngcontent-%COMP%]{font-size:1.1rem;color:var(--p-primary-color)}.demo-banner__body[_ngcontent-%COMP%]{flex:1 1 auto;margin:0;line-height:1.4}.demo-banner__cmd[_ngcontent-%COMP%]{font-family:var(--sm-font-mono);background:var(--p-content-background);border:1px solid var(--p-content-border-color);border-radius:var(--sm-radius-md);padding:.05rem .4rem;font-size:.85em;margin-left:.25rem}.demo-banner__home[_ngcontent-%COMP%]{color:var(--p-primary-color);font-weight:500;text-decoration:none;white-space:nowrap}.demo-banner__home[_ngcontent-%COMP%]:hover, .demo-banner__home[_ngcontent-%COMP%]:focus-visible{text-decoration:underline}"],changeDetection:0})};var ft=()=>[import("./chunk-C7PRRCVD.js").then(i=>i.SettingsModal)];function yt(i,e){if(i&1&&(l(0,"span",10),u(1),p()),i&2){let t=_();g("pTooltip",t.versionTooltip()),P("aria-label",t.versionA11y()),a(),h(t.versionLabel())}}function vt(i,e){if(i&1&&(l(0,"a",12),y(1,"i",26),l(2,"span"),u(3),p()()),i&2){let t=_();g("pTooltip",t.updateChipTooltip()),P("aria-label",t.updateChipA11y()),a(3),h(t.updateChipText)}}function bt(i,e){if(i&1&&(l(0,"p",13),u(1),p()),i&2){let t=_();a(),h(t.rootLabel())}}function _t(i,e){if(i&1){let t=H();l(0,"sm-settings-modal",27),C("visibleChange",function(r){U(t);let o=_();return B(o.settingsOpen.set(r))}),p()}if(i&2){let t=_();g("visible",t.settingsOpen())}}var re=class i{loader=s(G);theme=s(Be);projectInfo=s(j);scanTrigger=s(Ue);_filterUrlSync=s(ie);_debugSlots=s($e);updateCheck=s(X);texts=te;settingsTexts=Fe;settingsOpen=M(!1);openSettings(){this.settingsOpen.set(!0)}scanning=this.scanTrigger.scanning;scanError=this.scanTrigger.scanError;triggerScan(){return this.scanTrigger.run()}updateChipText=T.available;updateChipTooltip=m(()=>T.tooltip(this.updateCheck.latest()??""));updateChipA11y=m(()=>T.a11yLabel(this.updateCheck.latest()??""));versionLabel=m(()=>T.versionLabel(this.updateCheck.current()??""));versionTooltip=m(()=>T.versionTooltip(this.updateCheck.current()??""));versionA11y=m(()=>T.versionA11yLabel(this.updateCheck.current()??""));count=this.loader.count;linkCount=m(()=>this.loader.scan()?.links?.length??0);graphInfoTooltip=m(()=>te.badge.graphInfo(this.count(),this.linkCount()));graphInfoA11y=m(()=>te.badge.graphInfoA11y(this.count(),this.linkCount()));rootLabel=m(()=>{let e=this.projectInfo.cwd();if(e&&e!==".")return e;let t=this.loader.scan()?.roots??[];if(t.length===0)return"";let n=t[0].replace(/[\\/]+$/,"");return!n||n==="."?"":n});isDevMode=he();themeMode=this.theme.mode;markSrc=m(()=>this.theme.resolved()==="dark"?"skill-map-mark-light.svg":"skill-map-mark-dark.svg");themeIcon=m(()=>{switch(this.themeMode()){case"auto":return"pi pi-desktop";case"light":return"pi pi-sun";case"dark":return"fa-regular fa-moon"}});themeLabel=m(()=>{switch(this.themeMode()){case"auto":return R.toggleToLight;case"light":return R.toggleToDark;case"dark":return R.toggleToAuto}});themeTooltip=m(()=>{switch(this.themeMode()){case"auto":return R.currentAuto;case"light":return R.currentLight;case"dark":return R.currentDark}});toggleTheme(){this.theme.toggle()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["sm-root"]],decls:40,vars:35,consts:[["role","alert","data-testid","viewport-warning",1,"viewport-warning"],[1,"viewport-warning__card"],["aria-hidden","true",1,"fa-solid","fa-desktop","viewport-warning__icon"],[1,"viewport-warning__title"],[1,"viewport-warning__subtitle"],[1,"viewport-warning__body"],["data-testid","shell",1,"shell"],["data-testid","shell-topbar",1,"shell__topbar"],[1,"shell__brand"],["width","32","height","32","priority","","alt","","aria-hidden","true",1,"shell__brand-mark",3,"ngSrc"],["tooltipPosition","bottom","data-testid","shell-version",1,"shell__version",3,"pTooltip"],[1,"shell__alpha"],["href","https://www.npmjs.com/package/@skill-map/cli","target","_blank","rel","noopener noreferrer","tooltipPosition","bottom","data-testid","shell-update-chip",1,"shell__update-chip",3,"pTooltip"],[1,"shell__tag"],["data-testid","shell-nav",1,"shell__nav"],["type","button","tooltipPosition","bottom","tabindex","-1","aria-disabled","true","data-testid","nav-search",1,"shell__nav-search",3,"pTooltip"],["aria-hidden","true",1,"pi","pi-search"],["slot","topbar.nav.start",3,"node"],["routerLink","/graph","routerLinkActive","is-active","data-testid","nav-graph"],["type","button","tooltipPosition","bottom","tabindex","-1","aria-disabled","true","data-testid","nav-list",1,"shell__nav-disabled",3,"pTooltip"],[1,"shell__actions"],["type","button","tooltipPosition","bottom","data-testid","shell-refresh",1,"shell__refresh",3,"click","pTooltip","disabled"],["aria-hidden","true",1,"pi","pi-sync"],["severity","secondary","size","small","data-testid","action-theme-toggle",3,"onClick","icon","ariaLabel","pTooltip","text","rounded"],["icon","pi pi-sliders-h","severity","secondary","size","small","data-testid","action-settings",3,"onClick","ariaLabel","pTooltip","text","rounded"],[1,"shell__main"],["aria-hidden","true",1,"pi","pi-download"],[3,"visibleChange","visible"]],template:function(t,n){if(t&1&&(l(0,"div",0)(1,"div",1),y(2,"i",2),l(3,"h2",3),u(4),p(),l(5,"p",4),u(6),p(),l(7,"p",5),u(8),p()()(),l(9,"div",6),y(10,"sm-demo-banner"),l(11,"header",7)(12,"div",8),y(13,"img",9),l(14,"div")(15,"h1"),u(16),O(17,yt,2,3,"span",10),l(18,"span",11),u(19),p(),O(20,vt,4,3,"a",12),p(),O(21,bt,2,1,"p",13),p()(),l(22,"nav",14)(23,"button",15),y(24,"i",16),p(),y(25,"sm-view-contributions-host",17),l(26,"a",18),u(27),p(),l(28,"button",19),u(29),p()(),l(30,"div",20)(31,"button",21),C("click",function(){return n.triggerScan()}),y(32,"i",22),p(),l(33,"p-button",23),C("onClick",function(){return n.toggleTheme()}),p(),l(34,"p-button",24),C("onClick",function(){return n.openSettings()}),p()()(),l(35,"main",25),y(36,"router-outlet"),p(),me(37,_t,1,1),ue(38,37,ft),p()),t&2){let r;a(4),h(n.texts.viewportWarning.title),a(2),h(n.texts.viewportWarning.subtitle),a(2),h(n.texts.viewportWarning.body),a(5),g("ngSrc",n.markSrc()),a(3),K(" ",n.texts.brand," "),a(),L((r=n.updateCheck.current())?17:-1,r),a(),P("aria-label",n.texts.alpha),a(),h(n.texts.alpha),a(),L(n.updateCheck.isOutdated()&&!n.isDevMode?20:-1),a(),L(n.rootLabel()?21:-1),a(),P("aria-label",n.texts.a11y.viewSwitcher),a(),g("pTooltip",n.texts.nav.searchTooltip),P("aria-label",n.texts.nav.searchLabel),a(2),g("node",null),a(2),h(n.texts.nav.graph),a(),g("pTooltip",n.texts.nav.listTooltip),P("aria-label",n.texts.nav.listLabel),a(),h(n.texts.nav.list),a(2),se("is-spinning",n.scanning()),g("pTooltip",n.graphInfoTooltip())("disabled",n.scanning()),P("aria-label",n.graphInfoA11y()),a(),se("pi-spin",n.scanning()),a(),g("icon",n.themeIcon())("ariaLabel",n.themeLabel())("pTooltip",n.themeTooltip())("text",!0)("rounded",!0),a(),g("ariaLabel",n.settingsTexts.a11y.triggerLabel)("pTooltip",n.settingsTexts.triggerTooltip)("text",!0)("rounded",!0),a(4),ge(n.settingsOpen())}},dependencies:[ke,Se,we,J,Q,Me,Ee,fe,ne,je],styles:["[_nghost-%COMP%]{display:block;height:100dvh;--shell-topbar-bg: #FFFFFF;--shell-topbar-border: var(--sm-violet-100);--shell-topbar-text: var(--sm-violet-800);--shell-topbar-text-strong: var(--sm-violet-900);--shell-topbar-text-muted: var(--sm-violet-600);--shell-topbar-hover-bg: color-mix(in srgb, var(--sm-violet-500) 10%, transparent);--shell-topbar-active-bg: var(--sm-violet-100);--shell-topbar-active-text: var(--sm-violet-800);--shell-topbar-badge-bg: var(--sm-violet-100)}.app-dark[_nghost-%COMP%], .app-dark [_nghost-%COMP%]{--shell-topbar-bg: #1A1B22;--shell-topbar-border: color-mix(in srgb, var(--sm-violet-300) 8%, transparent);--shell-topbar-text: var(--sm-violet-100);--shell-topbar-text-strong: var(--sm-violet-100);--shell-topbar-text-muted: var(--sm-violet-300);--shell-topbar-hover-bg: color-mix(in srgb, var(--sm-violet-400) 12%, transparent);--shell-topbar-active-bg: color-mix(in srgb, var(--sm-violet-500) 22%, transparent);--shell-topbar-active-text: var(--sm-violet-100);--shell-topbar-badge-bg: color-mix(in srgb, var(--sm-violet-500) 14%, transparent)}.shell[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100dvh}.shell__topbar[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;padding:.75rem 1.5rem;background:color-mix(in srgb,var(--shell-topbar-bg) 85%,transparent);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid var(--shell-topbar-border);color:var(--shell-topbar-text)}.shell__brand[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem}.shell__brand-mark[_ngcontent-%COMP%]{width:2rem;height:2rem;display:block}.shell__brand[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;font-size:1.05rem;font-weight:600;letter-spacing:-.01em;color:var(--shell-topbar-text-strong)}.shell__alpha[_ngcontent-%COMP%]{font-family:Geist,system-ui,sans-serif;font-weight:600;font-size:10px;line-height:1;letter-spacing:.06em;text-transform:uppercase;color:#ad322b;background:#ad322b14;border-radius:var(--sm-radius-sm);padding:4px 8px;margin-left:8px;-webkit-user-select:none;user-select:none;display:inline-block;vertical-align:middle;white-space:nowrap}.app-dark[_nghost-%COMP%] .shell__alpha[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .shell__alpha[_ngcontent-%COMP%]{color:#e07570;background:#cf464024}.shell__version[_ngcontent-%COMP%]{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:var(--sm-radius-sm);font-family:var(--p-monospace-font-family);font-size:11px;line-height:1;font-weight:500;letter-spacing:.02em;color:var(--p-text-muted-color);background:var(--p-content-hover-background);vertical-align:middle;-webkit-user-select:text;user-select:text}.shell__update-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;margin-left:8px;padding:3px 8px;font-size:11px;line-height:1;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--p-primary-color);background:var(--p-primary-50);border:1px solid var(--p-primary-200);border-radius:var(--sm-radius-pill);text-decoration:none;transition:background-color .12s ease,color .12s ease;vertical-align:middle}.shell__update-chip[_ngcontent-%COMP%]:hover, .shell__update-chip[_ngcontent-%COMP%]:focus-visible{background:var(--p-primary-100);color:var(--p-primary-700)}.shell__update-chip[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:12px;transform:translateY(1px)}.app-dark[_nghost-%COMP%] .shell__update-chip[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .shell__update-chip[_ngcontent-%COMP%]{color:var(--p-primary-300);background:#ffffff0a;border-color:var(--p-primary-700)}.shell__tag[_ngcontent-%COMP%]{margin:.35rem 0 0;font-size:.72rem;color:var(--shell-topbar-text-muted);letter-spacing:.02em;text-transform:uppercase}.shell__nav[_ngcontent-%COMP%]{display:flex;gap:.25rem;margin-left:auto}.shell__nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:.5rem .9rem;border-radius:.5rem;font-size:.9rem;font-weight:500;color:var(--shell-topbar-text-muted);transition:background .15s ease,color .15s ease}.shell__nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:var(--shell-topbar-hover-bg);color:var(--shell-topbar-text-strong)}.shell__nav[_ngcontent-%COMP%] a.is-active[_ngcontent-%COMP%]{background:var(--shell-topbar-active-bg);color:var(--shell-topbar-active-text)}.shell__nav-disabled[_ngcontent-%COMP%]{padding:.5rem .9rem;border:none;background:transparent;border-radius:.5rem;font-size:.9rem;font-weight:500;color:var(--shell-topbar-text-muted);cursor:not-allowed;opacity:.55;font-family:inherit}.shell__nav-search[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;padding:0;border:none;border-radius:.5rem;background:transparent;color:var(--shell-topbar-text-muted);cursor:not-allowed;opacity:.55;transition:background .15s ease,color .15s ease,opacity .15s ease}.shell__nav-search[_ngcontent-%COMP%]:hover:not([aria-disabled=true]){background:var(--shell-topbar-hover-bg);color:var(--shell-topbar-text-strong);opacity:1}.shell__nav-search[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:.95rem}.shell__actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;--p-button-text-secondary-color: var(--shell-topbar-text-muted);--p-button-text-secondary-hover-color: var(--shell-topbar-text-strong);--p-button-text-secondary-hover-background: var(--shell-topbar-hover-bg);--p-button-text-secondary-active-color: var(--shell-topbar-text-strong);--p-button-text-secondary-active-background: var(--shell-topbar-hover-bg)}.shell__refresh[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;border:none;border-radius:var(--sm-radius-pill);background:transparent;color:var(--shell-topbar-text-muted);cursor:pointer;transition:background .15s ease,color .15s ease}.shell__refresh[_ngcontent-%COMP%]:hover:not(:disabled), .shell__refresh[_ngcontent-%COMP%]:focus-visible:not(:disabled){background:var(--shell-topbar-hover-bg);color:var(--shell-topbar-text-strong);outline:none}.shell__refresh[_ngcontent-%COMP%]:disabled{cursor:progress;opacity:.7}.shell__refresh[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1rem}.shell__main[_ngcontent-%COMP%]{flex:1;min-height:0;overflow-y:auto;width:100%}@media(max-width:1280px){.shell__topbar[_ngcontent-%COMP%]{gap:1rem;padding:.5rem 1rem}.shell__tag[_ngcontent-%COMP%]{display:none}.shell__nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:.4rem .7rem;font-size:.85rem}}.viewport-warning[_ngcontent-%COMP%]{display:none}@media(max-width:767px){.viewport-warning[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:1.5rem;background:var(--sm-bg-content)}.viewport-warning__card[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.85rem;max-width:22rem}.viewport-warning__icon[_ngcontent-%COMP%]{font-size:3rem;color:var(--p-primary-color);margin-bottom:.25rem}.viewport-warning__title[_ngcontent-%COMP%]{margin:0;font-size:1.35rem;font-weight:700;color:var(--p-text-color);line-height:1.25}.viewport-warning__subtitle[_ngcontent-%COMP%]{margin:0;font-size:1rem;font-weight:500;color:var(--p-primary-color);line-height:1.35}.viewport-warning__body[_ngcontent-%COMP%]{margin:0;color:var(--p-text-muted-color);line-height:1.5;font-size:.9rem}.shell[_ngcontent-%COMP%]{display:none}}"],changeDetection:0})};ye(re,Qe).catch(i=>console.error(i));
|