@skill-map/cli 0.24.0 → 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.
@@ -1,450 +0,0 @@
1
- import{a as he,d as ve,g as xe,k as ye}from"./chunk-YEWLFFFB.js";import{$a as H,$c as be,Aa as N,Gb as T,Hc as ge,Ib as le,Ic as w,J as h,Ja as d,K as b,Ka as te,Kc as M,La as ne,M as v,Ma as _,Na as C,Nc as k,O as i,Oc as A,Pb as de,Sa as a,Sb as U,T as W,Ta as D,U as X,Ua as B,Uc as s,V as J,Va as j,Vc as $,Wb as g,Yc as fe,_ as K,bc as S,ca as Y,cb as oe,da as Q,eb as R,fa as u,gb as c,hb as F,ib as E,ic as pe,ja as Z,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-ZR2E2QJ4.js";import{a as L}from"./chunk-Q7L6LLAK.js";var Ie=`
2
- .p-message {
3
- display: grid;
4
- grid-template-rows: 1fr;
5
- border-radius: dt('message.border.radius');
6
- outline-width: dt('message.border.width');
7
- outline-style: solid;
8
- }
9
-
10
- .p-message-content-wrapper {
11
- min-height: 0;
12
- }
13
-
14
- .p-message-content {
15
- display: flex;
16
- align-items: center;
17
- padding: dt('message.content.padding');
18
- gap: dt('message.content.gap');
19
- }
20
-
21
- .p-message-icon {
22
- flex-shrink: 0;
23
- }
24
-
25
- .p-message-close-button {
26
- display: flex;
27
- align-items: center;
28
- justify-content: center;
29
- flex-shrink: 0;
30
- margin-inline-start: auto;
31
- overflow: hidden;
32
- position: relative;
33
- width: dt('message.close.button.width');
34
- height: dt('message.close.button.height');
35
- border-radius: dt('message.close.button.border.radius');
36
- background: transparent;
37
- transition:
38
- background dt('message.transition.duration'),
39
- color dt('message.transition.duration'),
40
- outline-color dt('message.transition.duration'),
41
- box-shadow dt('message.transition.duration'),
42
- opacity 0.3s;
43
- outline-color: transparent;
44
- color: inherit;
45
- padding: 0;
46
- border: none;
47
- cursor: pointer;
48
- user-select: none;
49
- }
50
-
51
- .p-message-close-icon {
52
- font-size: dt('message.close.icon.size');
53
- width: dt('message.close.icon.size');
54
- height: dt('message.close.icon.size');
55
- }
56
-
57
- .p-message-close-button:focus-visible {
58
- outline-width: dt('message.close.button.focus.ring.width');
59
- outline-style: dt('message.close.button.focus.ring.style');
60
- outline-offset: dt('message.close.button.focus.ring.offset');
61
- }
62
-
63
- .p-message-info {
64
- background: dt('message.info.background');
65
- outline-color: dt('message.info.border.color');
66
- color: dt('message.info.color');
67
- box-shadow: dt('message.info.shadow');
68
- }
69
-
70
- .p-message-info .p-message-close-button:focus-visible {
71
- outline-color: dt('message.info.close.button.focus.ring.color');
72
- box-shadow: dt('message.info.close.button.focus.ring.shadow');
73
- }
74
-
75
- .p-message-info .p-message-close-button:hover {
76
- background: dt('message.info.close.button.hover.background');
77
- }
78
-
79
- .p-message-info.p-message-outlined {
80
- color: dt('message.info.outlined.color');
81
- outline-color: dt('message.info.outlined.border.color');
82
- }
83
-
84
- .p-message-info.p-message-simple {
85
- color: dt('message.info.simple.color');
86
- }
87
-
88
- .p-message-success {
89
- background: dt('message.success.background');
90
- outline-color: dt('message.success.border.color');
91
- color: dt('message.success.color');
92
- box-shadow: dt('message.success.shadow');
93
- }
94
-
95
- .p-message-success .p-message-close-button:focus-visible {
96
- outline-color: dt('message.success.close.button.focus.ring.color');
97
- box-shadow: dt('message.success.close.button.focus.ring.shadow');
98
- }
99
-
100
- .p-message-success .p-message-close-button:hover {
101
- background: dt('message.success.close.button.hover.background');
102
- }
103
-
104
- .p-message-success.p-message-outlined {
105
- color: dt('message.success.outlined.color');
106
- outline-color: dt('message.success.outlined.border.color');
107
- }
108
-
109
- .p-message-success.p-message-simple {
110
- color: dt('message.success.simple.color');
111
- }
112
-
113
- .p-message-warn {
114
- background: dt('message.warn.background');
115
- outline-color: dt('message.warn.border.color');
116
- color: dt('message.warn.color');
117
- box-shadow: dt('message.warn.shadow');
118
- }
119
-
120
- .p-message-warn .p-message-close-button:focus-visible {
121
- outline-color: dt('message.warn.close.button.focus.ring.color');
122
- box-shadow: dt('message.warn.close.button.focus.ring.shadow');
123
- }
124
-
125
- .p-message-warn .p-message-close-button:hover {
126
- background: dt('message.warn.close.button.hover.background');
127
- }
128
-
129
- .p-message-warn.p-message-outlined {
130
- color: dt('message.warn.outlined.color');
131
- outline-color: dt('message.warn.outlined.border.color');
132
- }
133
-
134
- .p-message-warn.p-message-simple {
135
- color: dt('message.warn.simple.color');
136
- }
137
-
138
- .p-message-error {
139
- background: dt('message.error.background');
140
- outline-color: dt('message.error.border.color');
141
- color: dt('message.error.color');
142
- box-shadow: dt('message.error.shadow');
143
- }
144
-
145
- .p-message-error .p-message-close-button:focus-visible {
146
- outline-color: dt('message.error.close.button.focus.ring.color');
147
- box-shadow: dt('message.error.close.button.focus.ring.shadow');
148
- }
149
-
150
- .p-message-error .p-message-close-button:hover {
151
- background: dt('message.error.close.button.hover.background');
152
- }
153
-
154
- .p-message-error.p-message-outlined {
155
- color: dt('message.error.outlined.color');
156
- outline-color: dt('message.error.outlined.border.color');
157
- }
158
-
159
- .p-message-error.p-message-simple {
160
- color: dt('message.error.simple.color');
161
- }
162
-
163
- .p-message-secondary {
164
- background: dt('message.secondary.background');
165
- outline-color: dt('message.secondary.border.color');
166
- color: dt('message.secondary.color');
167
- box-shadow: dt('message.secondary.shadow');
168
- }
169
-
170
- .p-message-secondary .p-message-close-button:focus-visible {
171
- outline-color: dt('message.secondary.close.button.focus.ring.color');
172
- box-shadow: dt('message.secondary.close.button.focus.ring.shadow');
173
- }
174
-
175
- .p-message-secondary .p-message-close-button:hover {
176
- background: dt('message.secondary.close.button.hover.background');
177
- }
178
-
179
- .p-message-secondary.p-message-outlined {
180
- color: dt('message.secondary.outlined.color');
181
- outline-color: dt('message.secondary.outlined.border.color');
182
- }
183
-
184
- .p-message-secondary.p-message-simple {
185
- color: dt('message.secondary.simple.color');
186
- }
187
-
188
- .p-message-contrast {
189
- background: dt('message.contrast.background');
190
- outline-color: dt('message.contrast.border.color');
191
- color: dt('message.contrast.color');
192
- box-shadow: dt('message.contrast.shadow');
193
- }
194
-
195
- .p-message-contrast .p-message-close-button:focus-visible {
196
- outline-color: dt('message.contrast.close.button.focus.ring.color');
197
- box-shadow: dt('message.contrast.close.button.focus.ring.shadow');
198
- }
199
-
200
- .p-message-contrast .p-message-close-button:hover {
201
- background: dt('message.contrast.close.button.hover.background');
202
- }
203
-
204
- .p-message-contrast.p-message-outlined {
205
- color: dt('message.contrast.outlined.color');
206
- outline-color: dt('message.contrast.outlined.border.color');
207
- }
208
-
209
- .p-message-contrast.p-message-simple {
210
- color: dt('message.contrast.simple.color');
211
- }
212
-
213
- .p-message-text {
214
- font-size: dt('message.text.font.size');
215
- font-weight: dt('message.text.font.weight');
216
- }
217
-
218
- .p-message-icon {
219
- font-size: dt('message.icon.size');
220
- width: dt('message.icon.size');
221
- height: dt('message.icon.size');
222
- }
223
-
224
- .p-message-sm .p-message-content {
225
- padding: dt('message.content.sm.padding');
226
- }
227
-
228
- .p-message-sm .p-message-text {
229
- font-size: dt('message.text.sm.font.size');
230
- }
231
-
232
- .p-message-sm .p-message-icon {
233
- font-size: dt('message.icon.sm.size');
234
- width: dt('message.icon.sm.size');
235
- height: dt('message.icon.sm.size');
236
- }
237
-
238
- .p-message-sm .p-message-close-icon {
239
- font-size: dt('message.close.icon.sm.size');
240
- width: dt('message.close.icon.sm.size');
241
- height: dt('message.close.icon.sm.size');
242
- }
243
-
244
- .p-message-lg .p-message-content {
245
- padding: dt('message.content.lg.padding');
246
- }
247
-
248
- .p-message-lg .p-message-text {
249
- font-size: dt('message.text.lg.font.size');
250
- }
251
-
252
- .p-message-lg .p-message-icon {
253
- font-size: dt('message.icon.lg.size');
254
- width: dt('message.icon.lg.size');
255
- height: dt('message.icon.lg.size');
256
- }
257
-
258
- .p-message-lg .p-message-close-icon {
259
- font-size: dt('message.close.icon.lg.size');
260
- width: dt('message.close.icon.lg.size');
261
- height: dt('message.close.icon.lg.size');
262
- }
263
-
264
- .p-message-outlined {
265
- background: transparent;
266
- outline-width: dt('message.outlined.border.width');
267
- }
268
-
269
- .p-message-simple {
270
- background: transparent;
271
- outline-color: transparent;
272
- box-shadow: none;
273
- }
274
-
275
- .p-message-simple .p-message-content {
276
- padding: dt('message.simple.content.padding');
277
- }
278
-
279
- .p-message-outlined .p-message-close-button:hover,
280
- .p-message-simple .p-message-close-button:hover {
281
- background: transparent;
282
- }
283
-
284
- .p-message-enter-active {
285
- animation: p-animate-message-enter 0.3s ease-out forwards;
286
- overflow: hidden;
287
- }
288
-
289
- .p-message-leave-active {
290
- animation: p-animate-message-leave 0.15s ease-in forwards;
291
- overflow: hidden;
292
- }
293
-
294
- @keyframes p-animate-message-enter {
295
- from {
296
- opacity: 0;
297
- grid-template-rows: 0fr;
298
- }
299
- to {
300
- opacity: 1;
301
- grid-template-rows: 1fr;
302
- }
303
- }
304
-
305
- @keyframes p-animate-message-leave {
306
- from {
307
- opacity: 1;
308
- grid-template-rows: 1fr;
309
- }
310
- to {
311
- opacity: 0;
312
- margin: 0;
313
- grid-template-rows: 0fr;
314
- }
315
- }
316
- `;var Fe=["container"],Ee=["icon"],Se=["closeicon"],Pe=["*"],Ae=e=>({closeCallback:e});function je(e,r){e&1&&H(0)}function Oe(e,r){if(e&1&&N(0,je,1,0,"ng-container",4),e&2){let t=c();a("ngTemplateOutlet",t.iconTemplate||t._iconTemplate)}}function Ve(e,r){if(e&1&&j(0,"i",1),e&2){let t=c();l(t.cn(t.cx("icon"),t.icon)),a("pBind",t.ptm("icon")),d("data-p",t.dataP)}}function He(e,r){e&1&&H(0)}function Re(e,r){if(e&1&&N(0,He,1,0,"ng-container",5),e&2){let t=c();a("ngTemplateOutlet",t.containerTemplate||t._containerTemplate)("ngTemplateOutletContext",le(2,Ae,t.closeCallback))}}function Ue(e,r){if(e&1&&j(0,"span",9),e&2){let t=c(3);a("pBind",t.ptm("text"))("ngClass",t.cx("text"))("innerHTML",t.text,Z),d("data-p",t.dataP)}}function $e(e,r){if(e&1&&(D(0,"div"),N(1,Ue,1,4,"span",8),B()),e&2){let t=c(2);p(),a("ngIf",!t.escape)}}function Le(e,r){if(e&1&&(D(0,"span",7),re(1),B()),e&2){let t=c(3);a("pBind",t.ptm("text"))("ngClass",t.cx("text")),d("data-p",t.dataP),p(),ce(t.text)}}function Qe(e,r){if(e&1&&N(0,Le,2,4,"span",10),e&2){let t=c(2);a("ngIf",t.escape&&t.text)}}function qe(e,r){if(e&1&&(N(0,$e,2,1,"div",6)(1,Qe,1,1,"ng-template",null,0,de),D(3,"span",7),E(4),B()),e&2){let t=se(2),o=c();a("ngIf",!o.escape)("ngIfElse",t),p(3),a("pBind",o.ptm("text"))("ngClass",o.cx("text")),d("data-p",o.dataP)}}function Ge(e,r){if(e&1&&j(0,"i",7),e&2){let t=c(2);l(t.cn(t.cx("closeIcon"),t.closeIcon)),a("pBind",t.ptm("closeIcon"))("ngClass",t.closeIcon),d("data-p",t.dataP)}}function We(e,r){e&1&&H(0)}function Xe(e,r){if(e&1&&N(0,We,1,0,"ng-container",4),e&2){let t=c(2);a("ngTemplateOutlet",t.closeIconTemplate||t._closeIconTemplate)}}function Je(e,r){if(e&1&&(J(),j(0,"svg",14)),e&2){let t=c(2);l(t.cx("closeIcon")),a("pBind",t.ptm("closeIcon")),d("data-p",t.dataP)}}function Ke(e,r){if(e&1){let t=oe();D(0,"button",11),R("click",function(n){W(t);let m=c();return X(m.close(n))}),_(1,Ge,1,5,"i",12),_(2,Xe,1,1,"ng-container"),_(3,Je,1,4,":svg:svg",13),B()}if(e&2){let t=c();l(t.cx("closeButton")),a("pBind",t.ptm("closeButton")),d("aria-label",t.closeAriaLabel)("data-p",t.dataP),p(),C(t.closeIcon?1:-1),p(),C(t.closeIconTemplate||t._closeIconTemplate?2:-1),p(),C(!t.closeIconTemplate&&!t._closeIconTemplate&&!t.closeIcon?3:-1)}}var Ye={root:({instance:e})=>["p-message p-component p-message-"+e.severity,e.variant&&"p-message-"+e.variant,{"p-message-sm":e.size==="small","p-message-lg":e.size==="large"}],contentWrapper:"p-message-content-wrapper",content:"p-message-content",icon:"p-message-icon",text:"p-message-text",closeButton:"p-message-close-button",closeIcon:"p-message-close-icon"},_e=(()=>{class e extends M{name="message";style=Ie;classes=Ye;static \u0275fac=(()=>{let t;return function(n){return(t||(t=u(e)))(n||e)}})();static \u0275prov=h({token:e,factory:e.\u0275fac})}return e})();var Ce=new v("MESSAGE_INSTANCE"),Ze=(()=>{class e extends A{componentName="Message";_componentStyle=i(_e);bindDirectiveInstance=i(s,{self:!0});$pcMessage=i(Ce,{optional:!0,skipSelf:!0})??void 0;onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}severity="info";text;escape=!0;style;styleClass;closable=!1;icon;closeIcon;life;showTransitionOptions="300ms ease-out";hideTransitionOptions="200ms cubic-bezier(0.86, 0, 0.07, 1)";size;variant;motionOptions=g(void 0);computedMotionOptions=U(()=>L(L({},this.ptm("motion")),this.motionOptions()));onClose=new K;get closeAriaLabel(){return this.config.translation.aria?this.config.translation.aria.close:void 0}visible=Y(!0);containerTemplate;iconTemplate;closeIconTemplate;templates;_containerTemplate;_iconTemplate;_closeIconTemplate;closeCallback=t=>{this.close(t)};onInit(){this.life&&setTimeout(()=>{this.visible.set(!1)},this.life)}onAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"container":this._containerTemplate=t.template;break;case"icon":this._iconTemplate=t.template;break;case"closeicon":this._closeIconTemplate=t.template;break}})}close(t){this.visible.set(!1),this.onClose.emit({originalEvent:t})}get dataP(){return this.cn({outlined:this.variant==="outlined",simple:this.variant==="simple",[this.severity]:this.severity,[this.size]:this.size})}static \u0275fac=(()=>{let t;return function(n){return(t||(t=u(e)))(n||e)}})();static \u0275cmp=z({type:e,selectors:[["p-message"]],contentQueries:function(o,n,m){if(o&1&&ie(m,Fe,4)(m,Ee,4)(m,Se,4)(m,ge,4),o&2){let f;O(f=V())&&(n.containerTemplate=f.first),O(f=V())&&(n.iconTemplate=f.first),O(f=V())&&(n.closeIconTemplate=f.first),O(f=V())&&(n.templates=f)}},hostAttrs:["role","alert","aria-live","polite"],hostVars:5,hostBindings:function(o,n){o&1&&(te(function(){return"p-message-enter-active"}),ne(function(){return"p-message-leave-active"})),o&2&&(d("data-p",n.dataP),l(n.cn(n.cx("root"),n.styleClass)),ae("p-message-leave-active",!n.visible()))},inputs:{severity:"severity",text:"text",escape:[2,"escape","escape",S],style:"style",styleClass:"styleClass",closable:[2,"closable","closable",S],icon:"icon",closeIcon:"closeIcon",life:"life",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",size:"size",variant:"variant",motionOptions:[1,"motionOptions"]},outputs:{onClose:"onClose"},features:[T([_e,{provide:Ce,useExisting:e},{provide:k,useExisting:e}]),y([s]),I],ngContentSelectors:Pe,decls:7,vars:12,consts:[["escapeOut",""],[3,"pBind"],[3,"pBind","class"],["pRipple","","type","button",3,"pBind","class"],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],[3,"pBind","ngClass"],[3,"pBind","ngClass","innerHTML",4,"ngIf"],[3,"pBind","ngClass","innerHTML"],[3,"pBind","ngClass",4,"ngIf"],["pRipple","","type","button",3,"click","pBind"],[3,"pBind","class","ngClass"],["data-p-icon","times",3,"pBind","class"],["data-p-icon","times",3,"pBind"]],template:function(o,n){o&1&&(F(),D(0,"div",1)(1,"div",1),_(2,Oe,1,1,"ng-container"),_(3,Ve,1,4,"i",2),_(4,Re,1,4,"ng-container")(5,qe,5,5),_(6,Ke,4,8,"button",3),B()()),o&2&&(l(n.cx("contentWrapper")),a("pBind",n.ptm("contentWrapper")),d("data-p",n.dataP),p(),l(n.cx("content")),a("pBind",n.ptm("content")),d("data-p",n.dataP),p(),C(n.iconTemplate||n._iconTemplate?2:-1),p(),C(n.icon?3:-1),p(),C(n.containerTemplate||n._containerTemplate?4:5),p(2),C(n.closable?6:-1))},dependencies:[P,pe,ue,me,he,be,w,s,ve],encapsulation:2,changeDetection:0})}return e})(),zt=(()=>{class e{static \u0275fac=function(o){return new(o||e)};static \u0275mod=x({type:e});static \u0275inj=b({imports:[Ze,w,w]})}return e})();var Te=`
317
- .p-inputtext {
318
- font-family: inherit;
319
- font-feature-settings: inherit;
320
- font-size: 1rem;
321
- color: dt('inputtext.color');
322
- background: dt('inputtext.background');
323
- padding-block: dt('inputtext.padding.y');
324
- padding-inline: dt('inputtext.padding.x');
325
- border: 1px solid dt('inputtext.border.color');
326
- transition:
327
- background dt('inputtext.transition.duration'),
328
- color dt('inputtext.transition.duration'),
329
- border-color dt('inputtext.transition.duration'),
330
- outline-color dt('inputtext.transition.duration'),
331
- box-shadow dt('inputtext.transition.duration');
332
- appearance: none;
333
- border-radius: dt('inputtext.border.radius');
334
- outline-color: transparent;
335
- box-shadow: dt('inputtext.shadow');
336
- }
337
-
338
- .p-inputtext:enabled:hover {
339
- border-color: dt('inputtext.hover.border.color');
340
- }
341
-
342
- .p-inputtext:enabled:focus {
343
- border-color: dt('inputtext.focus.border.color');
344
- box-shadow: dt('inputtext.focus.ring.shadow');
345
- outline: dt('inputtext.focus.ring.width') dt('inputtext.focus.ring.style') dt('inputtext.focus.ring.color');
346
- outline-offset: dt('inputtext.focus.ring.offset');
347
- }
348
-
349
- .p-inputtext.p-invalid {
350
- border-color: dt('inputtext.invalid.border.color');
351
- }
352
-
353
- .p-inputtext.p-variant-filled {
354
- background: dt('inputtext.filled.background');
355
- }
356
-
357
- .p-inputtext.p-variant-filled:enabled:hover {
358
- background: dt('inputtext.filled.hover.background');
359
- }
360
-
361
- .p-inputtext.p-variant-filled:enabled:focus {
362
- background: dt('inputtext.filled.focus.background');
363
- }
364
-
365
- .p-inputtext:disabled {
366
- opacity: 1;
367
- background: dt('inputtext.disabled.background');
368
- color: dt('inputtext.disabled.color');
369
- }
370
-
371
- .p-inputtext::placeholder {
372
- color: dt('inputtext.placeholder.color');
373
- }
374
-
375
- .p-inputtext.p-invalid::placeholder {
376
- color: dt('inputtext.invalid.placeholder.color');
377
- }
378
-
379
- .p-inputtext-sm {
380
- font-size: dt('inputtext.sm.font.size');
381
- padding-block: dt('inputtext.sm.padding.y');
382
- padding-inline: dt('inputtext.sm.padding.x');
383
- }
384
-
385
- .p-inputtext-lg {
386
- font-size: dt('inputtext.lg.font.size');
387
- padding-block: dt('inputtext.lg.padding.y');
388
- padding-inline: dt('inputtext.lg.padding.x');
389
- }
390
-
391
- .p-inputtext-fluid {
392
- width: 100%;
393
- }
394
- `;var et=`
395
- ${Te}
396
-
397
- /* For PrimeNG */
398
- .p-inputtext.ng-invalid.ng-dirty {
399
- border-color: dt('inputtext.invalid.border.color');
400
- }
401
-
402
- .p-inputtext.ng-invalid.ng-dirty::placeholder {
403
- color: dt('inputtext.invalid.placeholder.color');
404
- }
405
- `,tt={root:({instance:e})=>["p-inputtext p-component",{"p-filled":e.$filled(),"p-inputtext-sm":e.pSize==="small","p-inputtext-lg":e.pSize==="large","p-invalid":e.invalid(),"p-variant-filled":e.$variant()==="filled","p-inputtext-fluid":e.hasFluid}]},we=(()=>{class e extends M{name="inputtext";style=et;classes=tt;static \u0275fac=(()=>{let t;return function(n){return(t||(t=u(e)))(n||e)}})();static \u0275prov=h({token:e,factory:e.\u0275fac})}return e})();var Me=new v("INPUTTEXT_INSTANCE"),qt=(()=>{class e extends ye{componentName="InputText";hostName="";ptInputText=g();pInputTextPT=g();pInputTextUnstyled=g();bindDirectiveInstance=i(s,{self:!0});$pcInputText=i(Me,{optional:!0,skipSelf:!0})??void 0;ngControl=i(xe,{optional:!0,self:!0});pcFluid=i(fe,{optional:!0,host:!0,skipSelf:!0});pSize;variant=g();fluid=g(void 0,{transform:S});invalid=g(void 0,{transform:S});$variant=U(()=>this.variant()||this.config.inputStyle()||this.config.inputVariant());_componentStyle=i(we);constructor(){super(),Q(()=>{let t=this.ptInputText()||this.pInputTextPT();t&&this.directivePT.set(t)}),Q(()=>{this.pInputTextUnstyled()&&this.directiveUnstyled.set(this.pInputTextUnstyled())})}onAfterViewInit(){this.writeModelValue(this.ngControl?.value??this.el.nativeElement.value),this.cd.detectChanges()}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("root"))}onDoCheck(){this.writeModelValue(this.ngControl?.value??this.el.nativeElement.value)}onInput(){this.writeModelValue(this.ngControl?.value??this.el.nativeElement.value)}get hasFluid(){return this.fluid()??!!this.pcFluid}get dataP(){return this.cn({invalid:this.invalid(),fluid:this.hasFluid,filled:this.$variant()==="filled",[this.pSize]:this.pSize})}static \u0275fac=function(o){return new(o||e)};static \u0275dir=ee({type:e,selectors:[["","pInputText",""]],hostVars:3,hostBindings:function(o,n){o&1&&R("input",function(){return n.onInput()}),o&2&&(d("data-p",n.dataP),l(n.cx("root")))},inputs:{hostName:"hostName",ptInputText:[1,"ptInputText"],pInputTextPT:[1,"pInputTextPT"],pInputTextUnstyled:[1,"pInputTextUnstyled"],pSize:"pSize",variant:[1,"variant"],fluid:[1,"fluid"],invalid:[1,"invalid"]},features:[T([we,{provide:Me,useExisting:e},{provide:k,useExisting:e}]),y([s]),I]})}return e})(),Gt=(()=>{class e{static \u0275fac=function(o){return new(o||e)};static \u0275mod=x({type:e});static \u0275inj=b({})}return e})();var ke=`
406
- .p-iconfield {
407
- position: relative;
408
- display: block;
409
- }
410
-
411
- .p-inputicon {
412
- position: absolute;
413
- top: 50%;
414
- margin-top: calc(-1 * (dt('icon.size') / 2));
415
- color: dt('iconfield.icon.color');
416
- line-height: 1;
417
- z-index: 1;
418
- }
419
-
420
- .p-iconfield .p-inputicon:first-child {
421
- inset-inline-start: dt('form.field.padding.x');
422
- }
423
-
424
- .p-iconfield .p-inputicon:last-child {
425
- inset-inline-end: dt('form.field.padding.x');
426
- }
427
-
428
- .p-iconfield .p-inputtext:not(:first-child),
429
- .p-iconfield .p-inputwrapper:not(:first-child) .p-inputtext {
430
- padding-inline-start: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
431
- }
432
-
433
- .p-iconfield .p-inputtext:not(:last-child) {
434
- padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
435
- }
436
-
437
- .p-iconfield:has(.p-inputfield-sm) .p-inputicon {
438
- font-size: dt('form.field.sm.font.size');
439
- width: dt('form.field.sm.font.size');
440
- height: dt('form.field.sm.font.size');
441
- margin-top: calc(-1 * (dt('form.field.sm.font.size') / 2));
442
- }
443
-
444
- .p-iconfield:has(.p-inputfield-lg) .p-inputicon {
445
- font-size: dt('form.field.lg.font.size');
446
- width: dt('form.field.lg.font.size');
447
- height: dt('form.field.lg.font.size');
448
- margin-top: calc(-1 * (dt('form.field.lg.font.size') / 2));
449
- }
450
- `;var nt=["*"],ot={root:({instance:e})=>["p-iconfield",{"p-iconfield-left":e.iconPosition=="left","p-iconfield-right":e.iconPosition=="right"}]},Ne=(()=>{class e extends M{name="iconfield";style=ke;classes=ot;static \u0275fac=(()=>{let t;return function(n){return(t||(t=u(e)))(n||e)}})();static \u0275prov=h({token:e,factory:e.\u0275fac})}return e})();var ze=new v("ICONFIELD_INSTANCE"),it=(()=>{class e extends A{componentName="IconField";hostName="";_componentStyle=i(Ne);$pcIconField=i(ze,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=i(s,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}iconPosition="left";styleClass;static \u0275fac=(()=>{let t;return function(n){return(t||(t=u(e)))(n||e)}})();static \u0275cmp=z({type:e,selectors:[["p-iconfield"],["p-iconField"],["p-icon-field"]],hostVars:2,hostBindings:function(o,n){o&2&&l(n.cn(n.cx("root"),n.styleClass))},inputs:{hostName:"hostName",iconPosition:"iconPosition",styleClass:"styleClass"},features:[T([Ne,{provide:ze,useExisting:e},{provide:k,useExisting:e}]),y([s]),I],ngContentSelectors:nt,decls:1,vars:0,template:function(o,n){o&1&&(F(),E(0))},dependencies:[P,$],encapsulation:2,changeDetection:0})}return e})(),ln=(()=>{class e{static \u0275fac=function(o){return new(o||e)};static \u0275mod=x({type:e});static \u0275inj=b({imports:[it]})}return e})();var st=["*"],at={root:"p-inputicon"},De=(()=>{class e extends M{name="inputicon";classes=at;static \u0275fac=(()=>{let t;return function(n){return(t||(t=u(e)))(n||e)}})();static \u0275prov=h({token:e,factory:e.\u0275fac})}return e})(),Be=new v("INPUTICON_INSTANCE"),rt=(()=>{class e extends A{componentName="InputIcon";hostName="";styleClass;_componentStyle=i(De);$pcInputIcon=i(Be,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=i(s,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}static \u0275fac=(()=>{let t;return function(n){return(t||(t=u(e)))(n||e)}})();static \u0275cmp=z({type:e,selectors:[["p-inputicon"],["p-inputIcon"]],hostVars:2,hostBindings:function(o,n){o&2&&l(n.cn(n.cx("root"),n.styleClass))},inputs:{hostName:"hostName",styleClass:"styleClass"},features:[T([De,{provide:Be,useExisting:e},{provide:k,useExisting:e}]),y([s]),I],ngContentSelectors:st,decls:1,vars:0,template:function(o,n){o&1&&(F(),E(0))},dependencies:[P,w,$],encapsulation:2,changeDetection:0})}return e})(),Cn=(()=>{class e{static \u0275fac=function(o){return new(o||e)};static \u0275mod=x({type:e});static \u0275inj=b({imports:[rt,w,w]})}return e})();export{qt as a,Gt as b,it as c,ln as d,rt as e,Cn as f,Ze as g,zt as h};
@@ -1 +0,0 @@
1
- import{J as r,O as o,Sb as n,X as d,Y as c,ca as s,da as g,hd as i,id as p,md as u}from"./chunk-ZR2E2QJ4.js";var L={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:(e,t)=>e==="present"?t:`${e} \xB7 ${t}`,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:e=>`No plugins match "${e}".`,pluginsKindFilterAll:"All",pluginsKindFilterA11y:"Filter plugins by kind",pluginsKindFilterOptionA11y:(e,t)=>t?`Show only ${e} extensions`:"Show all kinds",unsavedChangesMessage:e=>e===1?'1 unsaved change. Click "Apply" to persist it.':`${e} 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:e=>e===1?"You have 1 unsaved change.":`You have ${e} 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:(e,t)=>t?`Enable plugin ${e}`:`Disable plugin ${e}`,extensionToggle:(e,t)=>t?`Enable ${e}`:`Disable ${e}`,pluginRow:e=>`Plugin ${e} row`,extensionRow:e=>`Extension ${e} row`}};var h={available:"Update available",tooltip:e=>`v${e} is available. Run \`npm i -g @skill-map/cli@latest\` to update.`,a11yLabel:e=>`Update available: version ${e}`,versionLabel:e=>`v${e}`,versionTooltip:e=>`skill-map CLI v${e}`,versionA11yLabel:e=>`Running version ${e}`,fetchFailed:e=>`UpdateCheckService: fetch failed (${e})`};var m=class e{dataSource=o(i);status=s(null);isOutdated=n(()=>this.status()?.isOutdated===!0);latest=n(()=>this.status()?.latest??null);current=n(()=>this.status()?.current??null);async load(){try{let t=await this.dataSource.getUpdateStatus();this.status.set(t)}catch(t){let a=t instanceof Error?t.message:String(t);console.warn(h.fetchFailed(a))}}static \u0275fac=function(a){return new(a||e)};static \u0275prov=r({token:e,factory:e.\u0275fac,providedIn:"root"})};var b={scanFailed:e=>`scan-trigger failed: ${e}`};var y=class e{dataSource=o(i);loader=o(u);scanning=s(!1);scanError=s(null);async run(){if(!this.scanning()){this.scanning.set(!0),this.scanError.set(null);try{await this.dataSource.runScan(),await this.loader.load()}catch(t){let a=t instanceof p||t instanceof Error?t.message:String(t);this.scanError.set(a),console.warn(b.scanFailed(a))}finally{this.scanning.set(!1)}}}static \u0275fac=function(a){return new(a||e)};static \u0275prov=r({token:e,factory:e.\u0275fac,providedIn:"root"})};var v="skill-map.ui.theme",T="app-dark",D="dark",S="(prefers-color-scheme: dark)",k=class e{doc=o(d);destroyRef=o(c);mode=s(this.readInitial());systemPrefersDark=s(this.readSystemPref());resolved=n(()=>{let t=this.mode();return t==="auto"?this.systemPrefersDark()?"dark":"light":t});constructor(){this.subscribeToSystemPref(),g(()=>{let t=this.resolved()==="dark",a=this.doc.documentElement;a.classList.toggle(T,t),a.classList.toggle(D,t);try{this.doc.defaultView?.localStorage.setItem(v,this.mode())}catch{}})}toggle(){this.mode.update(t=>t==="auto"?"light":t==="light"?"dark":"auto")}set(t){this.mode.set(t)}readInitial(){try{let t=this.doc.defaultView?.localStorage.getItem(v);if(t==="auto"||t==="light"||t==="dark")return t}catch{}return"auto"}readSystemPref(){try{return this.doc.defaultView?.matchMedia(S).matches??!1}catch{return!1}}subscribeToSystemPref(){let t=this.doc.defaultView;if(!t||typeof t.matchMedia!="function")return;let a=t.matchMedia(S),l=E=>{this.systemPrefersDark.set(E.matches)};a.addEventListener("change",l),this.destroyRef.onDestroy(()=>a.removeEventListener("change",l))}static \u0275fac=function(a){return new(a||e)};static \u0275prov=r({token:e,factory:e.\u0275fac,providedIn:"root"})};export{h as a,m as b,L as c,y as d,k as e};