@skill-map/cli 0.38.0 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,411 @@
1
+ import{a as Ce,d as we,e as ke,f as Ne}from"./chunk-GSTYLDCL.js";import{$a as A,Aa as b,Gb as S,Gc as Z,H as ie,Hc as f,I as _,Ib as be,J as x,Ja as m,Jb as he,Jc as z,Ka as re,L as C,La as ce,Ma as h,Mc as F,N as d,Na as y,Nc as P,Pb as J,Qa as de,Ra as pe,S as q,Sa as l,Sb as ye,T as K,Ta as E,Tc as c,U as se,Ua as B,Uc as j,Va as $,Wb as H,_ as R,_c as Te,bc as v,ca as ae,cb as U,cc as ve,eb as G,fa as g,gb as r,hb as V,hc as _e,ib as L,ja as le,jb as W,kc as xe,lb as k,mb as N,mc as X,md as Ie,na as p,nc as D,pd as Me,qb as ue,qd as Ee,sb as me,ub as u,ud as Be,va as T,vb as ge,wa as w,wb as fe,ya as I,za as M}from"./chunk-YXFKPYK3.js";import{V as Y,W as Q}from"./chunk-3SI3TVER.js";import{a as te}from"./chunk-VB56BUGO.js";var Se=`
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 Qe=["container"],qe=["icon"],Ke=["closeicon"],Ue=["*"],Ge=e=>({closeCallback:e});function We(e,a){e&1&&A(0)}function Je(e,a){if(e&1&&b(0,We,1,0,"ng-container",4),e&2){let t=r();l("ngTemplateOutlet",t.iconTemplate||t._iconTemplate)}}function Xe(e,a){if(e&1&&$(0,"i",1),e&2){let t=r();u(t.cn(t.cx("icon"),t.icon)),l("pBind",t.ptm("icon")),m("data-p",t.dataP)}}function Ye(e,a){e&1&&A(0)}function Ze(e,a){if(e&1&&b(0,Ye,1,0,"ng-container",5),e&2){let t=r();l("ngTemplateOutlet",t.containerTemplate||t._containerTemplate)("ngTemplateOutletContext",be(2,Ge,t.closeCallback))}}function et(e,a){if(e&1&&$(0,"span",9),e&2){let t=r(3);l("pBind",t.ptm("text"))("ngClass",t.cx("text"))("innerHTML",t.text,le),m("data-p",t.dataP)}}function tt(e,a){if(e&1&&(E(0,"div"),b(1,et,1,4,"span",8),B()),e&2){let t=r(2);p(),l("ngIf",!t.escape)}}function nt(e,a){if(e&1&&(E(0,"span",7),ge(1),B()),e&2){let t=r(3);l("pBind",t.ptm("text"))("ngClass",t.cx("text")),m("data-p",t.dataP),p(),fe(t.text)}}function ot(e,a){if(e&1&&b(0,nt,2,4,"span",10),e&2){let t=r(2);l("ngIf",t.escape&&t.text)}}function it(e,a){if(e&1&&(b(0,tt,2,1,"div",6)(1,ot,1,1,"ng-template",null,0,J),E(3,"span",7),L(4),B()),e&2){let t=ue(2),n=r();l("ngIf",!n.escape)("ngIfElse",t),p(3),l("pBind",n.ptm("text"))("ngClass",n.cx("text")),m("data-p",n.dataP)}}function st(e,a){if(e&1&&$(0,"i",7),e&2){let t=r(2);u(t.cn(t.cx("closeIcon"),t.closeIcon)),l("pBind",t.ptm("closeIcon"))("ngClass",t.closeIcon),m("data-p",t.dataP)}}function at(e,a){e&1&&A(0)}function lt(e,a){if(e&1&&b(0,at,1,0,"ng-container",4),e&2){let t=r(2);l("ngTemplateOutlet",t.closeIconTemplate||t._closeIconTemplate)}}function rt(e,a){if(e&1&&(se(),$(0,"svg",14)),e&2){let t=r(2);u(t.cx("closeIcon")),l("pBind",t.ptm("closeIcon")),m("data-p",t.dataP)}}function ct(e,a){if(e&1){let t=U();E(0,"button",11),G("click",function(o){q(t);let i=r();return K(i.close(o))}),h(1,st,1,5,"i",12),h(2,lt,1,1,"ng-container"),h(3,rt,1,4,":svg:svg",13),B()}if(e&2){let t=r();u(t.cx("closeButton")),l("pBind",t.ptm("closeButton")),m("aria-label",t.closeAriaLabel)("data-p",t.dataP),p(),y(t.closeIcon?1:-1),p(),y(t.closeIconTemplate||t._closeIconTemplate?2:-1),p(),y(!t.closeIconTemplate&&!t._closeIconTemplate&&!t.closeIcon?3:-1)}}var dt={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"},De=(()=>{class e extends z{name="message";style=Se;classes=dt;static \u0275fac=(()=>{let t;return function(o){return(t||(t=g(e)))(o||e)}})();static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})();var ze=new C("MESSAGE_INSTANCE"),pt=(()=>{class e extends P{componentName="Message";_componentStyle=d(De);bindDirectiveInstance=d(c,{self:!0});$pcMessage=d(ze,{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=H(void 0);computedMotionOptions=ye(()=>te(te({},this.ptm("motion")),this.motionOptions()));onClose=new R;get closeAriaLabel(){return this.config.translation.aria?this.config.translation.aria.close:void 0}visible=ae(!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(o){return(t||(t=g(e)))(o||e)}})();static \u0275cmp=T({type:e,selectors:[["p-message"]],contentQueries:function(n,o,i){if(n&1&&W(i,Qe,4)(i,qe,4)(i,Ke,4)(i,Z,4),n&2){let s;k(s=N())&&(o.containerTemplate=s.first),k(s=N())&&(o.iconTemplate=s.first),k(s=N())&&(o.closeIconTemplate=s.first),k(s=N())&&(o.templates=s)}},hostAttrs:["role","alert","aria-live","polite"],hostVars:5,hostBindings:function(n,o){n&1&&(re(function(){return"p-message-enter-active"}),ce(function(){return"p-message-leave-active"})),n&2&&(m("data-p",o.dataP),u(o.cn(o.cx("root"),o.styleClass)),me("p-message-leave-active",!o.visible()))},inputs:{severity:"severity",text:"text",escape:[2,"escape","escape",v],style:"style",styleClass:"styleClass",closable:[2,"closable","closable",v],icon:"icon",closeIcon:"closeIcon",life:"life",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",size:"size",variant:"variant",motionOptions:[1,"motionOptions"]},outputs:{onClose:"onClose"},features:[S([De,{provide:ze,useExisting:e},{provide:F,useExisting:e}]),I([c]),M],ngContentSelectors:Ue,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(n,o){n&1&&(V(),E(0,"div",1)(1,"div",1),h(2,Je,1,1,"ng-container"),h(3,Xe,1,4,"i",2),h(4,Ze,1,4,"ng-container")(5,it,5,5),h(6,ct,4,8,"button",3),B()()),n&2&&(u(o.cx("contentWrapper")),l("pBind",o.ptm("contentWrapper")),m("data-p",o.dataP),p(),u(o.cx("content")),l("pBind",o.ptm("content")),m("data-p",o.dataP),p(),y(o.iconTemplate||o._iconTemplate?2:-1),p(),y(o.icon?3:-1),p(),y(o.containerTemplate||o._containerTemplate?4:5),p(2),y(o.closable?6:-1))},dependencies:[D,_e,xe,X,Ce,Te,f,c,we],encapsulation:2,changeDetection:0})}return e})(),Gt=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=w({type:e});static \u0275inj=x({imports:[pt,f,f]})}return e})();var Fe=`
317
+ .p-iconfield {
318
+ position: relative;
319
+ display: block;
320
+ }
321
+
322
+ .p-inputicon {
323
+ position: absolute;
324
+ top: 50%;
325
+ margin-top: calc(-1 * (dt('icon.size') / 2));
326
+ color: dt('iconfield.icon.color');
327
+ line-height: 1;
328
+ z-index: 1;
329
+ }
330
+
331
+ .p-iconfield .p-inputicon:first-child {
332
+ inset-inline-start: dt('form.field.padding.x');
333
+ }
334
+
335
+ .p-iconfield .p-inputicon:last-child {
336
+ inset-inline-end: dt('form.field.padding.x');
337
+ }
338
+
339
+ .p-iconfield .p-inputtext:not(:first-child),
340
+ .p-iconfield .p-inputwrapper:not(:first-child) .p-inputtext {
341
+ padding-inline-start: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
342
+ }
343
+
344
+ .p-iconfield .p-inputtext:not(:last-child) {
345
+ padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
346
+ }
347
+
348
+ .p-iconfield:has(.p-inputfield-sm) .p-inputicon {
349
+ font-size: dt('form.field.sm.font.size');
350
+ width: dt('form.field.sm.font.size');
351
+ height: dt('form.field.sm.font.size');
352
+ margin-top: calc(-1 * (dt('form.field.sm.font.size') / 2));
353
+ }
354
+
355
+ .p-iconfield:has(.p-inputfield-lg) .p-inputicon {
356
+ font-size: dt('form.field.lg.font.size');
357
+ width: dt('form.field.lg.font.size');
358
+ height: dt('form.field.lg.font.size');
359
+ margin-top: calc(-1 * (dt('form.field.lg.font.size') / 2));
360
+ }
361
+ `;var ut=["*"],mt={root:({instance:e})=>["p-iconfield",{"p-iconfield-left":e.iconPosition=="left","p-iconfield-right":e.iconPosition=="right"}]},Oe=(()=>{class e extends z{name="iconfield";style=Fe;classes=mt;static \u0275fac=(()=>{let t;return function(o){return(t||(t=g(e)))(o||e)}})();static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})();var Ae=new C("ICONFIELD_INSTANCE"),gt=(()=>{class e extends P{componentName="IconField";hostName="";_componentStyle=d(Oe);$pcIconField=d(Ae,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=d(c,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}iconPosition="left";styleClass;static \u0275fac=(()=>{let t;return function(o){return(t||(t=g(e)))(o||e)}})();static \u0275cmp=T({type:e,selectors:[["p-iconfield"],["p-iconField"],["p-icon-field"]],hostVars:2,hostBindings:function(n,o){n&2&&u(o.cn(o.cx("root"),o.styleClass))},inputs:{hostName:"hostName",iconPosition:"iconPosition",styleClass:"styleClass"},features:[S([Oe,{provide:Ae,useExisting:e},{provide:F,useExisting:e}]),I([c]),M],ngContentSelectors:ut,decls:1,vars:0,template:function(n,o){n&1&&(V(),L(0))},dependencies:[D,j],encapsulation:2,changeDetection:0})}return e})(),pn=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=w({type:e});static \u0275inj=x({imports:[gt]})}return e})();var ft=["*"],bt={root:"p-inputicon"},Ve=(()=>{class e extends z{name="inputicon";classes=bt;static \u0275fac=(()=>{let t;return function(o){return(t||(t=g(e)))(o||e)}})();static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),Le=new C("INPUTICON_INSTANCE"),ht=(()=>{class e extends P{componentName="InputIcon";hostName="";styleClass;_componentStyle=d(Ve);$pcInputIcon=d(Le,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=d(c,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}static \u0275fac=(()=>{let t;return function(o){return(t||(t=g(e)))(o||e)}})();static \u0275cmp=T({type:e,selectors:[["p-inputicon"],["p-inputIcon"]],hostVars:2,hostBindings:function(n,o){n&2&&u(o.cn(o.cx("root"),o.styleClass))},inputs:{hostName:"hostName",styleClass:"styleClass"},features:[S([Ve,{provide:Le,useExisting:e},{provide:F,useExisting:e}]),I([c]),M],ngContentSelectors:ft,decls:1,vars:0,template:function(n,o){n&1&&(V(),L(0))},dependencies:[D,f,j],encapsulation:2,changeDetection:0})}return e})(),In=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=w({type:e});static \u0275inj=x({imports:[ht,f,f]})}return e})();var Pe=`
362
+ .p-selectbutton {
363
+ display: inline-flex;
364
+ user-select: none;
365
+ vertical-align: bottom;
366
+ outline-color: transparent;
367
+ border-radius: dt('selectbutton.border.radius');
368
+ }
369
+
370
+ .p-selectbutton .p-togglebutton {
371
+ border-radius: 0;
372
+ border-width: 1px 1px 1px 0;
373
+ }
374
+
375
+ .p-selectbutton .p-togglebutton:focus-visible {
376
+ position: relative;
377
+ z-index: 1;
378
+ }
379
+
380
+ .p-selectbutton .p-togglebutton:first-child {
381
+ border-inline-start-width: 1px;
382
+ border-start-start-radius: dt('selectbutton.border.radius');
383
+ border-end-start-radius: dt('selectbutton.border.radius');
384
+ }
385
+
386
+ .p-selectbutton .p-togglebutton:last-child {
387
+ border-start-end-radius: dt('selectbutton.border.radius');
388
+ border-end-end-radius: dt('selectbutton.border.radius');
389
+ }
390
+
391
+ .p-selectbutton.p-invalid {
392
+ outline: 1px solid dt('selectbutton.invalid.border.color');
393
+ outline-offset: 0;
394
+ }
395
+
396
+ .p-selectbutton-fluid {
397
+ width: 100%;
398
+ }
399
+
400
+ .p-selectbutton-fluid .p-togglebutton {
401
+ flex: 1 1 0;
402
+ }
403
+ `;var yt=["item"],vt=(e,a)=>({$implicit:e,index:a});function _t(e,a){return this.getOptionLabel(a)}function xt(e,a){e&1&&A(0)}function Ct(e,a){if(e&1&&b(0,xt,1,0,"ng-container",3),e&2){let t=r(2),n=t.$implicit,o=t.$index,i=r();l("ngTemplateOutlet",i.itemTemplate||i._itemTemplate)("ngTemplateOutletContext",he(2,vt,n,o))}}function Tt(e,a){e&1&&b(0,Ct,1,5,"ng-template",null,0,J)}function wt(e,a){if(e&1){let t=U();E(0,"p-togglebutton",2),G("onChange",function(o){let i=q(t),s=i.$implicit,O=i.$index,ee=r();return K(ee.onOptionSelect(o,s,O))}),h(1,Tt,2,0),B()}if(e&2){let t=a.$implicit,n=r();l("autofocus",n.autofocus)("styleClass",n.styleClass)("ngModel",n.isSelected(t))("onLabel",n.getOptionLabel(t))("offLabel",n.getOptionLabel(t))("disabled",n.$disabled()||n.isOptionDisabled(t))("allowEmpty",n.getAllowEmpty())("size",n.size())("fluid",n.fluid())("pt",n.ptm("pcToggleButton"))("unstyled",n.unstyled()),p(),y(n.itemTemplate||n._itemTemplate?1:-1)}}var It=`
404
+ ${Pe}
405
+
406
+ /* For PrimeNG */
407
+ .p-selectbutton.ng-invalid.ng-dirty {
408
+ outline: 1px solid dt('selectbutton.invalid.border.color');
409
+ outline-offset: 0;
410
+ }
411
+ `,Mt={root:({instance:e})=>["p-selectbutton p-component",{"p-invalid":e.invalid(),"p-selectbutton-fluid":e.fluid()}]},je=(()=>{class e extends z{name="selectbutton";style=It;classes=Mt;static \u0275fac=(()=>{let t;return function(o){return(t||(t=g(e)))(o||e)}})();static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})();var Re=new C("SELECTBUTTON_INSTANCE"),Et={provide:Ie,useExisting:ie(()=>$e),multi:!0},$e=(()=>{class e extends ke{componentName="SelectButton";options;optionLabel;optionValue;optionDisabled;get unselectable(){return this._unselectable}_unselectable=!1;set unselectable(t){this._unselectable=t,this.allowEmpty=!t}tabindex=0;multiple;allowEmpty=!0;styleClass;ariaLabelledBy;dataKey;autofocus;size=H();fluid=H(void 0,{transform:v});onOptionClick=new R;onChange=new R;itemTemplate;_itemTemplate;get equalityKey(){return this.optionValue?null:this.dataKey}value;focusedIndex=0;_componentStyle=d(je);$pcSelectButton=d(Re,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=d(c,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}getAllowEmpty(){return this.multiple?this.allowEmpty||this.value?.length!==1:this.allowEmpty}getOptionLabel(t){return this.optionLabel?Y(t,this.optionLabel):t.label!=null?t.label:t}getOptionValue(t){return this.optionValue?Y(t,this.optionValue):this.optionLabel||t.value===void 0?t:t.value}isOptionDisabled(t){return this.optionDisabled?Y(t,this.optionDisabled):t.disabled!==void 0?t.disabled:!1}onOptionSelect(t,n,o){if(this.$disabled()||this.isOptionDisabled(n))return;let i=this.isSelected(n);if(i&&this.unselectable)return;let s=this.getOptionValue(n),O;if(this.multiple)i?O=this.value.filter(ee=>!Q(ee,s,this.equalityKey||void 0)):O=this.value?[...this.value,s]:[s];else{if(i&&!this.allowEmpty)return;O=i?null:s}this.focusedIndex=o,this.value=O,this.writeModelValue(this.value),this.onModelChange(this.value),this.onChange.emit({originalEvent:t,value:this.value}),this.onOptionClick.emit({originalEvent:t,option:n,index:o})}changeTabIndexes(t,n){let o,i;for(let s=0;s<=this.el.nativeElement.children.length-1;s++)this.el.nativeElement.children[s].getAttribute("tabindex")==="0"&&(o={elem:this.el.nativeElement.children[s],index:s});n==="prev"?o.index===0?i=this.el.nativeElement.children.length-1:i=o.index-1:o.index===this.el.nativeElement.children.length-1?i=0:i=o.index+1,this.focusedIndex=i,this.el.nativeElement.children[i].focus()}onFocus(t,n){this.focusedIndex=n}onBlur(){this.onModelTouched()}removeOption(t){this.value=this.value.filter(n=>!Q(n,this.getOptionValue(t),this.dataKey))}isSelected(t){let n=!1,o=this.getOptionValue(t);if(this.multiple){if(this.value&&Array.isArray(this.value)){for(let i of this.value)if(Q(i,o,this.dataKey)){n=!0;break}}}else n=Q(this.getOptionValue(t),this.value,this.equalityKey||void 0);return n}templates;onAfterContentInit(){this.templates.forEach(t=>{t.getType()==="item"&&(this._itemTemplate=t.template)})}writeControlValue(t,n){this.value=t,n(this.value),this.cd.markForCheck()}get dataP(){return this.cn({invalid:this.invalid()})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=g(e)))(o||e)}})();static \u0275cmp=T({type:e,selectors:[["p-selectButton"],["p-selectbutton"],["p-select-button"]],contentQueries:function(n,o,i){if(n&1&&W(i,yt,4)(i,Z,4),n&2){let s;k(s=N())&&(o.itemTemplate=s.first),k(s=N())&&(o.templates=s)}},hostVars:5,hostBindings:function(n,o){n&2&&(m("role","group")("aria-labelledby",o.ariaLabelledBy)("data-p",o.dataP),u(o.cx("root")))},inputs:{options:"options",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",unselectable:[2,"unselectable","unselectable",v],tabindex:[2,"tabindex","tabindex",ve],multiple:[2,"multiple","multiple",v],allowEmpty:[2,"allowEmpty","allowEmpty",v],styleClass:"styleClass",ariaLabelledBy:"ariaLabelledBy",dataKey:"dataKey",autofocus:[2,"autofocus","autofocus",v],size:[1,"size"],fluid:[1,"fluid"]},outputs:{onOptionClick:"onOptionClick",onChange:"onChange"},features:[S([Et,je,{provide:Re,useExisting:e},{provide:F,useExisting:e}]),I([c]),M],decls:2,vars:0,consts:[["content",""],[3,"autofocus","styleClass","ngModel","onLabel","offLabel","disabled","allowEmpty","size","fluid","pt","unstyled"],[3,"onChange","autofocus","styleClass","ngModel","onLabel","offLabel","disabled","allowEmpty","size","fluid","pt","unstyled"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,o){n&1&&de(0,wt,2,12,"p-togglebutton",1,_t,!0),n&2&&pe(o.options)},dependencies:[Ne,Be,Me,Ee,D,X,f,j],encapsulation:2,changeDetection:0})}return e})(),Wn=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=w({type:e});static \u0275inj=x({imports:[$e,f,f]})}return e})();export{gt as a,pn as b,ht as c,In as d,$e as e,Wn as f,pt as g,Gt as h};
@@ -0,0 +1 @@
1
+ import{I as i,N as o,Sb as n,X as h,Y as p,ca as r,da as u,gd as c,hd as m,ld as f}from"./chunk-YXFKPYK3.js";var F={triggerLabel:"Settings",triggerTooltip:"Settings",modalTitle:"Settings",closeLabel:"Close",sections:{plugins:"Plugins",general:"General",project:"Project",changelog:"Changelog",about:"About"},general:{heading:"General",intro:"Per-machine preferences. The update-check toggle is the only setting that lives outside the project; it persists at `~/.skill-map/settings.json` and follows 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."}},localPreferences:{heading:"This browser",intro:"Visual preferences saved in this browser only. They won't sync to another machine."},extraTheme:{label:"Theme",description:"Pick a specialty theme. Overrides the topbar dark/light toggle while active; click that toggle to exit.",options:{none:{label:"None",description:"Use the topbar dark/light toggle."},matrix:{label:"Matrix",description:"Cyber-green retint on the dark palette."}}}},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:",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",commaForbidden:"Add one path at a time, without commas.",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",ignorePatternsLabel:"Ignored patterns",ignorePatternsDescription:"Patterns that exclude files and folders from the scan, stored in `.skillmapignore` at the project root. Same syntax as `.gitignore` (one pattern per line). Comments (`# ...`) and blank lines in the file are preserved on save; the list below only shows active patterns.",ignorePatternsPlaceholder:"secrets.md",ignorePatternEmpty:"Pattern cannot be empty or whitespace-only.",ignorePatternHasControlChar:"Pattern must be a single line without control characters.",ignorePatternDuplicate:"This pattern is already in the list.",addIgnorePatternLabel:"Add pattern",removeIgnorePatternLabel:"Remove",activeProviderLabel:"Active provider",activeProviderDescription:"Selects which provider sees this project. The graph reflects how the chosen provider interprets your files. Switching clears the persisted scan so the graph regenerates under the new lens; jobs and history are kept.",activeProviderSourceConfig:"Set in settings.json.",activeProviderSourceAutodetect:"Auto-detected from your files (no value saved yet).",activeProviderSourceNone:"No provider detected. Install or enable a provider to start.",activeProviderDetectedPrefix:"Detected on disk:",activeProviderEmptyOption:"(none)",activeProviderConfirmHeader:"Switch the active provider?",activeProviderConfirmIntro:"Switching will clear the persisted scan (nodes, links, issues). Jobs and history are kept. You will need to run `sm scan` after the switch.",activeProviderConfirmAccept:"Switch and clear scan",activeProviderConfirmReject:"Cancel",activeProviderSwitchedPrefix:"Lens switched. Cleared",activeProviderSwitchedSuffix:"scan table(s). Run `sm scan` to repopulate.",activeProviderSwitchedNoDb:"Lens switched. Run `sm scan` to populate the graph under the new lens."},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",changelogFooterText:"Want the full changelog?",changelogFooterLinkLabel:"See it on GitHub \u2192",changelogFooterUrl:"https://github.com/crystian/skill-map/blob/main/src/CHANGELOG.md",aboutHeading:"About",aboutIntro:"Version information for the running CLI / server.",aboutCliLabel:"skill-map CLI",aboutSpecLabel:"Spec version",aboutSchemaLabel:"Schema version",aboutFolderLabel:"Project folder",aboutDbLabel:"Project DB",aboutDbValue:(t,e)=>t==="present"?e:`${t} \xB7 ${e}`,aboutLoading:"Loading\u2026",aboutUnknown:"-",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",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 b={available:"Update available",tooltip:t=>`v${t} is available. Run \`npm i -g @skill-map/cli@latest\` to update.`,a11yLabel:t=>`Update available: version ${t}`,versionLabel:t=>`v${t}`,versionTooltip:t=>`skill-map CLI v${t}`,versionA11yLabel:t=>`Running version ${t}`,fetchFailed:t=>`UpdateCheckService: fetch failed (${t})`};var v=class t{dataSource=o(c);status=r(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(b.fetchFailed(a))}}static \u0275fac=function(a){return new(a||t)};static \u0275prov=i({token:t,factory:t.\u0275fac,providedIn:"root"})};var k={scanFailed:t=>`scan-trigger failed: ${t}`};var S=class t{dataSource=o(c);loader=o(f);scanning=r(!1);scanError=r(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 m||e instanceof Error?e.message:String(e);this.scanError.set(a),console.warn(k.scanFailed(a))}finally{this.scanning.set(!1)}}}static \u0275fac=function(a){return new(a||t)};static \u0275prov=i({token:t,factory:t.\u0275fac,providedIn:"root"})};var T="skill-map.ui.theme",g="skill-map.ui.extra-theme",A="app-dark",w="dark",C="app-matrix",P="(prefers-color-scheme: dark)",I="favicon.svg",L="favicon-matrix.svg",D='link[rel="icon"][type="image/svg+xml"]',R="https://fonts.googleapis.com/css2?family=JetBrains+Mono&display=swap",E="sm-matrix-font",x=class t{doc=o(h);destroyRef=o(p);mode=r(this.readInitialMode());extraTheme=r(this.readInitialExtra());systemPrefersDark=r(this.readSystemPref());resolved=n(()=>{let e=this.mode();return e==="auto"?this.systemPrefersDark()?"dark":"light":e});constructor(){this.subscribeToSystemPref(),u(()=>{let e=this.extraTheme(),s=this.resolved()==="dark"||e==="matrix",l=this.doc.documentElement;l.classList.toggle(A,s),l.classList.toggle(w,s),l.classList.toggle(C,e==="matrix"),this.applyFavicon(e==="matrix"?L:I),e==="matrix"&&this.ensureMatrixFont();try{let d=this.doc.defaultView?.localStorage;d?.setItem(T,this.mode()),e===null?d?.removeItem(g):d?.setItem(g,e)}catch{}})}toggle(){this.extraTheme()!==null&&this.extraTheme.set(null),this.mode.update(e=>e==="auto"?"light":e==="light"?"dark":"auto")}set(e){this.mode.set(e)}setExtraTheme(e){this.extraTheme.set(e)}readInitialMode(){try{let e=this.doc.defaultView?.localStorage.getItem(T);if(e==="auto"||e==="light"||e==="dark")return e}catch{}return"auto"}readInitialExtra(){try{let e=this.doc.defaultView?.localStorage.getItem(g);if(e==="matrix")return e}catch{}return null}readSystemPref(){try{return this.doc.defaultView?.matchMedia(P).matches??!1}catch{return!1}}ensureMatrixFont(){if(this.doc.getElementById(E))return;let e=this.doc.head;if(!e)return;let a=this.doc.createElement("link");a.id=E,a.rel="stylesheet",a.href=R,e.appendChild(a)}applyFavicon(e){let a=this.doc.querySelector(D);a&&a.getAttribute("href")!==e&&a.setAttribute("href",e)}subscribeToSystemPref(){let e=this.doc.defaultView;if(!e||typeof e.matchMedia!="function")return;let a=e.matchMedia(P),s=l=>{this.systemPrefersDark.set(l.matches)};a.addEventListener("change",s),this.destroyRef.onDestroy(()=>a.removeEventListener("change",s))}static \u0275fac=function(a){return new(a||t)};static \u0275prov=i({token:t,factory:t.\u0275fac,providedIn:"root"})};export{b as a,v as b,F as c,S as d,x as e};
@@ -0,0 +1,90 @@
1
+ import{Gb as I,I as a,J as l,Ja as h,Jc as y,L as s,Mc as N,N as o,Sb as T,Tc as r,Wb as i,Xc as M,bc as u,da as p,eb as m,fa as c,od as k,ub as b,vd as D,wa as f,xa as x,ya as g,za as v}from"./chunk-YXFKPYK3.js";var w=`
2
+ .p-inputtext {
3
+ font-family: inherit;
4
+ font-feature-settings: inherit;
5
+ font-size: 1rem;
6
+ color: dt('inputtext.color');
7
+ background: dt('inputtext.background');
8
+ padding-block: dt('inputtext.padding.y');
9
+ padding-inline: dt('inputtext.padding.x');
10
+ border: 1px solid dt('inputtext.border.color');
11
+ transition:
12
+ background dt('inputtext.transition.duration'),
13
+ color dt('inputtext.transition.duration'),
14
+ border-color dt('inputtext.transition.duration'),
15
+ outline-color dt('inputtext.transition.duration'),
16
+ box-shadow dt('inputtext.transition.duration');
17
+ appearance: none;
18
+ border-radius: dt('inputtext.border.radius');
19
+ outline-color: transparent;
20
+ box-shadow: dt('inputtext.shadow');
21
+ }
22
+
23
+ .p-inputtext:enabled:hover {
24
+ border-color: dt('inputtext.hover.border.color');
25
+ }
26
+
27
+ .p-inputtext:enabled:focus {
28
+ border-color: dt('inputtext.focus.border.color');
29
+ box-shadow: dt('inputtext.focus.ring.shadow');
30
+ outline: dt('inputtext.focus.ring.width') dt('inputtext.focus.ring.style') dt('inputtext.focus.ring.color');
31
+ outline-offset: dt('inputtext.focus.ring.offset');
32
+ }
33
+
34
+ .p-inputtext.p-invalid {
35
+ border-color: dt('inputtext.invalid.border.color');
36
+ }
37
+
38
+ .p-inputtext.p-variant-filled {
39
+ background: dt('inputtext.filled.background');
40
+ }
41
+
42
+ .p-inputtext.p-variant-filled:enabled:hover {
43
+ background: dt('inputtext.filled.hover.background');
44
+ }
45
+
46
+ .p-inputtext.p-variant-filled:enabled:focus {
47
+ background: dt('inputtext.filled.focus.background');
48
+ }
49
+
50
+ .p-inputtext:disabled {
51
+ opacity: 1;
52
+ background: dt('inputtext.disabled.background');
53
+ color: dt('inputtext.disabled.color');
54
+ }
55
+
56
+ .p-inputtext::placeholder {
57
+ color: dt('inputtext.placeholder.color');
58
+ }
59
+
60
+ .p-inputtext.p-invalid::placeholder {
61
+ color: dt('inputtext.invalid.placeholder.color');
62
+ }
63
+
64
+ .p-inputtext-sm {
65
+ font-size: dt('inputtext.sm.font.size');
66
+ padding-block: dt('inputtext.sm.padding.y');
67
+ padding-inline: dt('inputtext.sm.padding.x');
68
+ }
69
+
70
+ .p-inputtext-lg {
71
+ font-size: dt('inputtext.lg.font.size');
72
+ padding-block: dt('inputtext.lg.padding.y');
73
+ padding-inline: dt('inputtext.lg.padding.x');
74
+ }
75
+
76
+ .p-inputtext-fluid {
77
+ width: 100%;
78
+ }
79
+ `;var P=`
80
+ ${w}
81
+
82
+ /* For PrimeNG */
83
+ .p-inputtext.ng-invalid.ng-dirty {
84
+ border-color: dt('inputtext.invalid.border.color');
85
+ }
86
+
87
+ .p-inputtext.ng-invalid.ng-dirty::placeholder {
88
+ color: dt('inputtext.invalid.placeholder.color');
89
+ }
90
+ `,z={root:({instance:t})=>["p-inputtext p-component",{"p-filled":t.$filled(),"p-inputtext-sm":t.pSize==="small","p-inputtext-lg":t.pSize==="large","p-invalid":t.invalid(),"p-variant-filled":t.$variant()==="filled","p-inputtext-fluid":t.hasFluid}]},F=(()=>{class t extends y{name="inputtext";style=P;classes=z;static \u0275fac=(()=>{let n;return function(d){return(n||(n=c(t)))(d||t)}})();static \u0275prov=a({token:t,factory:t.\u0275fac})}return t})();var S=new s("INPUTTEXT_INSTANCE"),O=(()=>{class t extends D{componentName="InputText";hostName="";ptInputText=i();pInputTextPT=i();pInputTextUnstyled=i();bindDirectiveInstance=o(r,{self:!0});$pcInputText=o(S,{optional:!0,skipSelf:!0})??void 0;ngControl=o(k,{optional:!0,self:!0});pcFluid=o(M,{optional:!0,host:!0,skipSelf:!0});pSize;variant=i();fluid=i(void 0,{transform:u});invalid=i(void 0,{transform:u});$variant=T(()=>this.variant()||this.config.inputStyle()||this.config.inputVariant());_componentStyle=o(F);constructor(){super(),p(()=>{let n=this.ptInputText()||this.pInputTextPT();n&&this.directivePT.set(n)}),p(()=>{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(e){return new(e||t)};static \u0275dir=x({type:t,selectors:[["","pInputText",""]],hostVars:3,hostBindings:function(e,d){e&1&&m("input",function(){return d.onInput()}),e&2&&(h("data-p",d.dataP),b(d.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:[I([F,{provide:S,useExisting:t},{provide:N,useExisting:t}]),g([r]),v]})}return t})(),Q=(()=>{class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=f({type:t});static \u0275inj=l({})}return t})();export{O as a,Q as b};