@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,450 +0,0 @@
|
|
|
1
|
-
import{a as he,d as ve,g as xe,k as ye}from"./chunk-KRNW54CI.js";import{Fb as T,Gc as ge,Hb as le,Hc as w,Ia as d,J as h,Ja as te,Jc as M,K as b,Ka as ne,La as _,M as v,Ma as C,Mc as k,Nc as A,O as i,Ob as de,Ra as a,Rb as U,S as W,Sa as D,T as X,Ta as B,Tc as s,U as J,Ua as j,Uc as $,Vb as g,Xc as fe,Z as K,_a as H,_c as be,ac as S,ba as Y,bb as oe,ca as Q,db as R,ea as u,fb as c,gb as F,hb as E,hc as pe,ia as Z,ib as ie,kb as O,kc as ue,lb as V,ma as p,mc as me,nc as P,pb as se,rb as ae,tb as l,ua as z,ub as re,va as x,vb as ce,wa as ee,xa as y,ya as I,za as N}from"./chunk-NJ4PSNK3.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{d as ve,i as N,j as T}from"./chunk-4BVLXZO3.js";import{Gb as ge,Hb as ye,Ia as g,J as F,La as p,Ma as m,Na as se,O as L,Pa as h,Qa as I,Ra as C,Rb as r,S as ie,Sa as f,T as re,Ta as v,Ua as P,Va as s,Vb as y,Wa as c,Xa as B,_a as le,ba as V,bb as ce,ca as ae,eb as pe,fb as a,ic as fe,ma as i,qb as me,rb as k,tb as Z,ua as _,ub as d,vb as l,wb as ue,za as de}from"./chunk-NJ4PSNK3.js";import{c as oe}from"./chunk-Q7L6LLAK.js";var z="sm-debug-slots",xe="debug-slots",Ne="is-debug-slots",A=class n{visible=V(!1);constructor(){this.visible.set(this.resolveInitial()),ae(()=>{let e=this.visible();document.documentElement.classList.toggle(Ne,e)})}toggle(){let e=!this.visible();this.visible.set(e);try{localStorage.setItem(z,e?"1":"0")}catch{}}resolveInitial(){let t=new URLSearchParams(window.location.search).get(xe);if(t==="1"||t==="true"){try{localStorage.setItem(z,"1")}catch{}return!0}if(t==="0"||t==="false"){try{localStorage.setItem(z,"0")}catch{}return!1}try{return localStorage.getItem(z)==="1"}catch{return!1}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})};var j=class n{registry=V({});setRegistry(e){e&&this.registry.set(e)}get(e){return this.registry()[e]}all(){return this.registry()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})};var x={panelHeader:"Plugin contributions",panelCount:n=>`${n} contribution${n===1?"":"s"}`,emptyDefault:"No contributions for this node.",rendererInvalid:"Contribution data failed schema validation.",rendererUnknownSlot:n=>`Unknown slot: ${n}. Update the UI to a newer catalog version.`,overflowBadge:n=>`+${n}`,overflowTooltip:n=>`Hidden: ${n}`};var Te=(n,e)=>e.label;function we(n,e){if(n&1&&(s(0,"h5",1),d(1),c()),n&2){let t=a();i(),l(t.label())}}function Me(n,e){if(n&1&&(s(0,"p",2),d(1),c()),n&2){let t=a();i(),l(t.emptyText())}}function ke(n,e){if(n&1&&(s(0,"li",4)(1,"span",5),d(2),c(),s(3,"span",6),B(4,"span",7),c(),s(5,"span",8),d(6),c()()),n&2){let t=e.$implicit,o=a(2);g("title",t.tooltip??""),i(2),l(t.label),i(2),me("width",o.percent(t.value),"%"),i(2),l(t.value)}}function Ee(n,e){if(n&1&&(s(0,"ul",3),h(1,ke,7,5,"li",4,Te),c()),n&2){let t=a();i(),I(t.entries())}}var q=class n{inputs=y.required();typed=r(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{entries:[]}:e});entries=r(()=>this.typed().entries??[]);label=r(()=>this.inputs().label);emptyText=r(()=>this.inputs().emptyText??x.emptyDefault);maxValue=r(()=>this.entries().reduce((t,o)=>o.value>t?o.value:t,0));percent(e){let t=this.maxValue();return t===0?0:Math.round(e/t*100)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["sm-node-breakdown"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-breakdown"],[1,"vc-breakdown__header"],[1,"vc-breakdown__empty"],[1,"vc-breakdown__rows"],[1,"vc-breakdown__row"],[1,"vc-breakdown__label"],[1,"vc-breakdown__bar-track"],["aria-hidden","true",1,"vc-breakdown__bar"],[1,"vc-breakdown__value"]],template:function(t,o){t&1&&(s(0,"section",0),p(1,we,2,1,"h5",1),p(2,Me,2,1,"p",2)(3,Ee,3,0,"ul",3),c()),t&2&&(g("data-testid","renderer-node-breakdown"),i(),m(o.label()?1:-1),i(),m(o.entries().length===0?2:3))},styles:[".vc-breakdown__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-breakdown__rows[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.25rem}.vc-breakdown__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(4rem,.4fr) 1fr 3rem;align-items:center;gap:.5rem;font-size:.85rem}.vc-breakdown__label[_ngcontent-%COMP%]{color:var(--p-surface-700);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vc-breakdown__bar-track[_ngcontent-%COMP%]{background:var(--p-surface-100);border-radius:var(--sm-radius-md);height:.625rem;overflow:hidden}.vc-breakdown__bar[_ngcontent-%COMP%]{display:block;height:100%;background:var(--p-primary-500)}.vc-breakdown__value[_ngcontent-%COMP%]{text-align:right;color:var(--p-surface-600)}.vc-breakdown__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};function Se(n,e){if(n&1&&(s(0,"span",1),d(1),c()),n&2){let t=a(),o=a();Z(o.hostClass()),i(),l(t.text)}}function De(n,e){if(n&1&&B(0,"i",1),n&2){let t=a(),o=a();Z(o.hostClass()+" "+t.cls)}}function Pe(n,e){n&1&&p(0,Se,2,3,"span",0)(1,De,1,2,"i",0),n&2&&m(e.kind==="emoji"?0:1)}function Oe(n){if(!n)return null;let e=n.trim();if(e.length===0)return null;let t=e.codePointAt(0)??0;if(!(t>=65&&t<=90||t>=97&&t<=122))return{kind:"emoji",text:e};if(/^pi pi-[a-z0-9-]+$/.test(e))return{kind:"pi",cls:e};if(/^pi-[a-z0-9-]+$/.test(e))return{kind:"pi",cls:`pi ${e}`};if(/^fa-(?:solid|regular|brands) fa-[a-z0-9-]+$/.test(e))return{kind:"fa",cls:e};if(/^fa-[a-z0-9-]+$/.test(e)){let u=e.slice(3);return u==="solid"||u==="regular"||u==="brands"||u.includes("fa-")?null:{kind:"fa",cls:`fa-solid ${e}`}}return null}var D=class n{icon=y(void 0);hostClass=y("");resolved=r(()=>{let e=this.icon(),t=Oe(e);return e&&!t&&console.warn(`[sm-icon] Invalid icon string "${e}". Expected emoji, pi-foo, pi pi-foo, fa-{solid|regular|brands} fa-foo, or fa-foo.`),t});static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["sm-icon"]],inputs:{icon:[1,"icon"],hostClass:[1,"hostClass"]},decls:1,vars:1,consts:[["aria-hidden","true",3,"class"],["aria-hidden","true"]],template:function(t,o){if(t&1&&p(0,Pe,2,1),t&2){let u;m((u=o.resolved())?0:-1,u)}},styles:["[_nghost-%COMP%] i[_ngcontent-%COMP%], [_nghost-%COMP%] span[_ngcontent-%COMP%]{font-size:inherit;line-height:inherit}[_nghost-%COMP%] i[_ngcontent-%COMP%]{transform:translateY(1px)}"],changeDetection:0})};function Re(n,e){if(n&1&&(f(0,"span",3),d(1),v()),n&2){let t=a();g("aria-label",t.ariaLabel()),i(),l(t.value())}}var O=class n{inputs=y.required();typed=r(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{value:0}:e});value=r(()=>this.typed().value);icon=r(()=>this.inputs().icon);severity=r(()=>this.typed().severity);resolvedTooltip=r(()=>this.typed().tooltip??this.inputs().tooltip??"");ariaLabel=r(()=>this.inputs().label??"");static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["sm-node-counter"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:12,consts:[[1,"vc-counter",3,"pTooltip"],[1,"vc-counter__icon"],[3,"icon"],[1,"vc-counter__value"]],template:function(t,o){t&1&&(f(0,"span",0)(1,"span",1),P(2,"sm-icon",2),v(),p(3,Re,2,2,"span",3),v()),t&2&&(k("vc-counter--info",o.severity()==="info")("vc-counter--warn",o.severity()==="warn")("vc-counter--success",o.severity()==="success")("vc-counter--danger",o.severity()==="danger"),C("pTooltip",o.resolvedTooltip()),g("data-testid","renderer-node-counter"),i(2),C("icon",o.icon()),i(),m(o.value()>0?3:-1))},dependencies:[T,N,D],styles:[".vc-counter[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.3rem;line-height:1}.vc-counter__icon[_ngcontent-%COMP%]{font-size:.6rem;line-height:1;display:block}.vc-counter__value[_ngcontent-%COMP%]{font-weight:600;color:var(--p-text-color);line-height:1;display:block}.vc-counter--info[_ngcontent-%COMP%], .vc-counter--info[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-info)}.vc-counter--warn[_ngcontent-%COMP%], .vc-counter--warn[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-warn)}.vc-counter--success[_ngcontent-%COMP%], .vc-counter--success[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-success)}.vc-counter--danger[_ngcontent-%COMP%], .vc-counter--danger[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-error)}"],changeDetection:0})};var $e=(n,e)=>e.key;function Le(n,e){if(n&1&&(f(0,"h5",1),d(1),v()),n&2){let t=a();i(),l(t.label())}}function Fe(n,e){if(n&1&&(f(0,"p",2),d(1),v()),n&2){let t=a();i(),l(t.emptyText())}}function Ve(n,e){if(n&1&&(f(0,"dt",4),d(1),v(),f(2,"dd"),d(3),v()),n&2){let t=e.$implicit,o=a(2);C("pTooltip",t.tooltip??""),i(),l(t.key),i(2),l(o.formatValue(t.value))}}function Be(n,e){if(n&1&&(f(0,"dl",3),h(1,Ve,4,3,null,null,$e),v()),n&2){let t=a();i(),I(t.entries())}}var K=class n{inputs=y.required();typed=r(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{entries:[]}:e});entries=r(()=>this.typed().entries??[]);label=r(()=>this.inputs().label);emptyText=r(()=>this.inputs().emptyText??x.emptyDefault);formatValue(e){return e==null?"\u2014":typeof e=="boolean"?e?"true":"false":String(e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["sm-node-key-values"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-kv"],[1,"vc-kv__header"],[1,"vc-kv__empty"],[1,"vc-kv__list"],[3,"pTooltip"]],template:function(t,o){t&1&&(f(0,"section",0),p(1,Le,2,1,"h5",1),p(2,Fe,2,1,"p",2)(3,Be,3,0,"dl",3),v()),t&2&&(g("data-testid","renderer-node-key-values"),i(),m(o.label()?1:-1),i(),m(o.entries().length===0?2:3))},dependencies:[T,N],styles:[".vc-kv__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-kv__list[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(6rem,max-content) 1fr;gap:.25rem .75rem;margin:0;font-size:.85rem}.vc-kv__list[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{color:var(--p-surface-600);font-weight:500}.vc-kv__list[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]{color:var(--p-surface-800);margin:0;word-break:break-word}.vc-kv__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};var ze=(n,e)=>e.path;function Ae(n,e){if(n&1&&(s(0,"h5",1),d(1),c()),n&2){let t=a();i(),l(t.label())}}function je(n,e){if(n&1&&(s(0,"p",2),d(1),c()),n&2){let t=a();i(),l(t.emptyText())}}function qe(n,e){if(n&1&&(s(0,"span",5),d(1),c()),n&2){let t=a().$implicit;i(),l(t.kind)}}function Ke(n,e){if(n&1){let t=ce();s(0,"li")(1,"button",4),pe("click",function(){let u=ie(t).$implicit,b=a(2);return re(b.onOpenPath(u.path))}),p(2,qe,2,1,"span",5),s(3,"span",6),d(4),c()()()}if(n&2){let t=e.$implicit;i(2),m(t.kind?2:-1),i(2),l(t.label??t.path)}}function He(n,e){if(n&1&&(s(0,"ul",3),h(1,Ke,5,2,"li",null,ze),c()),n&2){let t=a();i(),I(t.entries())}}var H=class n{router=L(ve);inputs=y.required();typed=r(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{entries:[]}:e});entries=r(()=>this.typed().entries??[]);label=r(()=>this.inputs().label);emptyText=r(()=>this.inputs().emptyText??x.emptyDefault);onOpenPath(e){this.router.navigate(["/graph"],{queryParams:{path:e}})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["sm-node-link-list"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-links"],[1,"vc-links__header"],[1,"vc-links__empty"],[1,"vc-links__list"],["type","button",1,"vc-links__btn",3,"click"],[1,"vc-links__kind"],[1,"vc-links__label"]],template:function(t,o){t&1&&(s(0,"section",0),p(1,Ae,2,1,"h5",1),p(2,je,2,1,"p",2)(3,He,3,0,"ul",3),c()),t&2&&(g("data-testid","renderer-node-link-list"),i(),m(o.label()?1:-1),i(),m(o.entries().length===0?2:3))},styles:[".vc-links__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-links__list[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.125rem;font-size:.85rem}.vc-links__btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;background:transparent;border:0;padding:.25rem .5rem;border-radius:var(--sm-radius-md);color:var(--p-primary-600);cursor:pointer;text-align:left;width:100%}.vc-links__btn[_ngcontent-%COMP%]:hover{background:var(--p-surface-100)}.vc-links__kind[_ngcontent-%COMP%]{color:var(--p-surface-500);font-family:var(--p-font-family-mono);font-size:.75rem}.vc-links__label[_ngcontent-%COMP%]{word-break:break-all}.vc-links__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};var _e=(n,e)=>e.key;function Ue(n,e){if(n&1&&(s(0,"h5",1),d(1),c()),n&2){let t=a();i(),l(t.label())}}function We(n,e){if(n&1&&(s(0,"p",2),d(1),c()),n&2){let t=a();i(),l(t.emptyText())}}function Xe(n,e){if(n&1&&(s(0,"th"),d(1),c()),n&2){let t=e.$implicit;i(),l(t.label)}}function Ye(n,e){if(n&1&&(s(0,"td"),d(1),c()),n&2){let t=e.$implicit,o=a().$implicit,u=a(2);i(),l(u.formatCell(o[t.key]))}}function Ge(n,e){if(n&1&&(s(0,"tr"),h(1,Ye,2,1,"td",null,_e),c()),n&2){let t=a(2);i(),I(t.columns())}}function Qe(n,e){if(n&1&&(s(0,"table",3)(1,"thead")(2,"tr"),h(3,Xe,2,1,"th",null,_e),c()(),s(5,"tbody"),h(6,Ge,3,0,"tr",null,se),c()()),n&2){let t=a();i(3),I(t.columns()),i(3),I(t.rows())}}var U=class n{inputs=y.required();typed=r(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{columns:[],rows:[]}:e});columns=r(()=>this.typed().columns??[]);rows=r(()=>this.typed().rows??[]);label=r(()=>this.inputs().label);emptyText=r(()=>this.inputs().emptyText??x.emptyDefault);formatCell(e){return e==null?"":typeof e=="boolean"?e?"\u2713":"\xB7":String(e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["sm-node-records"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-records"],[1,"vc-records__header"],[1,"vc-records__empty"],[1,"vc-records__table"]],template:function(t,o){t&1&&(s(0,"section",0),p(1,Ue,2,1,"h5",1),p(2,We,2,1,"p",2)(3,Qe,8,0,"table",3),c()),t&2&&(g("data-testid","renderer-node-records"),i(),m(o.label()?1:-1),i(),m(o.rows().length===0?2:3))},styles:[".vc-records__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-records__table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;font-size:.85rem}.vc-records__table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;padding:.25rem .5rem;border-bottom:1px solid var(--p-surface-200);color:var(--p-surface-700);font-weight:600}.vc-records__table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:.25rem .5rem;border-bottom:1px solid var(--p-surface-100);color:var(--p-surface-800);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:16rem}.vc-records__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};function Je(n,e){if(n&1&&(s(0,"h5",1),d(1),c()),n&2){let t=a();i(),l(t.label())}}function Ze(n,e){if(n&1&&(s(0,"p",2),d(1),c()),n&2){let t=a();i(),l(t.emptyText())}}function et(n,e){if(n&1&&(s(0,"pre",3),d(1),c()),n&2){let t=a();i(),l(t.markdown())}}var W=class n{inputs=y.required();typed=r(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{markdown:""}:e});markdown=r(()=>this.typed().markdown??"");label=r(()=>this.inputs().label);emptyText=r(()=>this.inputs().emptyText??x.emptyDefault);static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["sm-node-markdown"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-markdown"],[1,"vc-markdown__header"],[1,"vc-markdown__empty"],[1,"vc-markdown__body"]],template:function(t,o){t&1&&(s(0,"section",0),p(1,Je,2,1,"h5",1),p(2,Ze,2,1,"p",2)(3,et,2,1,"pre",3),c()),t&2&&(g("data-testid","renderer-node-markdown"),i(),m(o.label()?1:-1),i(),m(o.markdown()?3:2))},styles:[".vc-markdown__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-markdown__body[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-800);background:var(--p-surface-50);padding:.5rem;border-radius:var(--sm-radius-md);white-space:pre-wrap;word-break:break-word;margin:0;max-height:12rem;overflow:auto}.vc-markdown__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};function tt(n,e){if(n&1&&(f(0,"span",1),d(1),v()),n&2){let t=a();i(),l(t.icon())}}var X=class n{inputs=y.required();typed=r(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{label:""}:e});label=r(()=>this.typed().label||"");icon=r(()=>this.inputs().icon);severity=r(()=>this.typed().severity);resolvedTooltip=r(()=>this.typed().tooltip??this.inputs().tooltip??"");static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["sm-node-tag"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:12,consts:[[1,"vc-tag",3,"pTooltip"],["aria-hidden","true",1,"vc-tag__icon"],[1,"vc-tag__label"]],template:function(t,o){t&1&&(f(0,"span",0),p(1,tt,2,1,"span",1),f(2,"span",2),d(3),v()()),t&2&&(k("vc-tag--info",o.severity()==="info")("vc-tag--warn",o.severity()==="warn")("vc-tag--success",o.severity()==="success")("vc-tag--danger",o.severity()==="danger"),C("pTooltip",o.resolvedTooltip()),g("data-testid","renderer-node-tag"),i(),m(o.icon()?1:-1),i(2),l(o.label()))},dependencies:[T,N],styles:[".vc-tag[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.3rem;line-height:1}.vc-tag__icon[_ngcontent-%COMP%]{font-size:.85em;line-height:1;display:block}.vc-tag__label[_ngcontent-%COMP%]{font-weight:500;line-height:1;display:block}.vc-tag--info[_ngcontent-%COMP%]{background:var(--sm-severity-info-bg);color:var(--sm-severity-info);padding:.1rem .4rem;border-radius:var(--sm-radius-sm)}.vc-tag--warn[_ngcontent-%COMP%]{background:var(--sm-severity-warn-bg);color:var(--sm-severity-warn);padding:.1rem .4rem;border-radius:var(--sm-radius-sm)}.vc-tag--success[_ngcontent-%COMP%]{background:var(--sm-severity-success-bg);color:var(--sm-severity-success);padding:.1rem .4rem;border-radius:var(--sm-radius-sm)}.vc-tag--danger[_ngcontent-%COMP%]{background:var(--sm-severity-error-bg);color:var(--sm-severity-error);padding:.1rem .4rem;border-radius:var(--sm-radius-sm)}"],changeDetection:0})};var nt=()=>[],be=(n,e)=>e.label;function ot(n,e){if(n&1&&(s(0,"h5",1),d(1),c()),n&2){let t=a();i(),l(t.label())}}function it(n,e){if(n&1&&(s(0,"p",2),d(1),c()),n&2){let t=a();i(),l(t.emptyText())}}function rt(n,e){if(n&1&&(s(0,"span",5),d(1),c()),n&2){let t=a().$implicit;i(),l(t.marker)}}function at(n,e){if(n&1&&(s(0,"span",5),d(1),c()),n&2){let t=a().$implicit;i(),l(t.marker)}}function dt(n,e){if(n&1&&(s(0,"li",4),p(1,at,2,1,"span",5),s(2,"span",6),d(3),c()()),n&2){let t=e.$implicit;g("title",t.tooltip??""),i(),m(t.marker?1:-1),i(2),l(t.label)}}function st(n,e){if(n&1&&(s(0,"ul",7),h(1,dt,4,3,"li",4,be),c()),n&2){let t=a().$implicit;i(),I(t.children)}}function lt(n,e){if(n&1&&(s(0,"li",4),p(1,rt,2,1,"span",5),s(2,"span",6),d(3),c(),p(4,st,3,0,"ul",7),c()),n&2){let t=e.$implicit;g("title",t.tooltip??""),i(),m(t.marker?1:-1),i(2),l(t.label),i(),m(t.children&&t.children.length>0?4:-1)}}function ct(n,e){if(n&1&&(s(0,"ul",3),h(1,lt,5,4,"li",4,be),c()),n&2){let t=a();i(),I(t.root().children??ge(0,nt))}}var Y=class n{inputs=y.required();root=r(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{label:""}:e});rootIsEmpty=r(()=>{let e=this.root();return!e.children||e.children.length===0});label=r(()=>this.inputs().label);emptyText=r(()=>this.inputs().emptyText??x.emptyDefault);static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["sm-node-tree"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-tree"],[1,"vc-tree__header"],[1,"vc-tree__empty"],["role","tree",1,"vc-tree__list"],["role","treeitem"],["aria-hidden","true",1,"vc-tree__marker"],[1,"vc-tree__label"],["role","group",1,"vc-tree__list"]],template:function(t,o){t&1&&(s(0,"section",0),p(1,ot,2,1,"h5",1),p(2,it,2,1,"p",2)(3,ct,3,1,"ul",3),c()),t&2&&(g("data-testid","renderer-node-tree"),i(),m(o.label()?1:-1),i(),m(o.rootIsEmpty()?2:3))},styles:[".vc-tree__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-tree__list[_ngcontent-%COMP%]{list-style:none;padding-left:1rem;margin:0;font-size:.85rem}.vc-tree__list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding:.125rem 0}.vc-tree__marker[_ngcontent-%COMP%]{margin-right:.25rem;opacity:.7}.vc-tree__label[_ngcontent-%COMP%]{color:var(--p-surface-800)}.vc-tree__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})};function pt(n,e){if(n&1&&(f(0,"span",2),d(1),v()),n&2){let t=a();i(),l(t.formattedCount())}}var G=class n{inputs=y.required();typed=r(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{}:e});icon=r(()=>this.typed().icon??this.inputs().icon);severity=r(()=>this.typed().severity);count=r(()=>this.typed().count??null);resolvedTooltip=r(()=>this.typed().tooltip??this.inputs().tooltip??"");formattedCount=r(()=>{let e=this.count();return e===null?"":e>=99?"99+":String(e)});static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["sm-node-alert"]],inputs:{inputs:[1,"inputs"]},decls:3,vars:12,consts:[[1,"vc-alert",3,"pTooltip"],["hostClass","vc-alert__icon",3,"icon"],[1,"vc-alert__count"]],template:function(t,o){t&1&&(f(0,"span",0),P(1,"sm-icon",1),p(2,pt,2,1,"span",2),v()),t&2&&(k("vc-alert--info",o.severity()==="info")("vc-alert--warn",o.severity()==="warn")("vc-alert--success",o.severity()==="success")("vc-alert--danger",o.severity()==="danger"),C("pTooltip",o.resolvedTooltip()),g("data-testid","renderer-node-alert"),i(),C("icon",o.icon()),i(),m(o.count()!==null?2:-1))},dependencies:[T,N,D],styles:[".vc-alert[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;gap:.125rem;min-width:1.1rem;min-height:1.1rem;font-size:.85rem;color:var(--p-surface-700)}.vc-alert--info[_ngcontent-%COMP%]{color:var(--sm-severity-info)}.vc-alert--warn[_ngcontent-%COMP%]{color:var(--sm-severity-warn)}.vc-alert--success[_ngcontent-%COMP%]{color:var(--sm-severity-success)}.vc-alert--danger[_ngcontent-%COMP%]{color:var(--sm-severity-error)}"],changeDetection:0})};var Q=class n{inputs=y.required();typed=r(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{}:e});icon=r(()=>this.typed().icon??this.inputs().icon);severity=r(()=>this.typed().severity);resolvedTooltip=r(()=>this.typed().tooltip??this.inputs().tooltip??"");ariaLabel=r(()=>this.inputs().label??"");static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["sm-node-icon"]],inputs:{inputs:[1,"inputs"]},decls:2,vars:12,consts:[[1,"vc-icon",3,"pTooltip"],["hostClass","vc-icon__glyph",3,"icon"]],template:function(t,o){t&1&&(f(0,"span",0),P(1,"sm-icon",1),v()),t&2&&(k("vc-icon--info",o.severity()==="info")("vc-icon--warn",o.severity()==="warn")("vc-icon--success",o.severity()==="success")("vc-icon--danger",o.severity()==="danger"),C("pTooltip",o.resolvedTooltip()),g("aria-label",o.ariaLabel())("data-testid","renderer-node-icon"),i(),C("icon",o.icon()))},dependencies:[T,N,D],styles:[".vc-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;line-height:1;width:22px;height:22px}.vc-icon__glyph[_ngcontent-%COMP%]{font-size:.7rem;line-height:1;display:block}.vc-icon--info[_ngcontent-%COMP%]{color:var(--sm-severity-info)}.vc-icon--warn[_ngcontent-%COMP%]{color:var(--sm-severity-warn)}.vc-icon--success[_ngcontent-%COMP%]{color:var(--sm-severity-success)}.vc-icon--danger[_ngcontent-%COMP%]{color:var(--sm-severity-error)}"],changeDetection:0})};function mt(n,e){if(n&1&&(f(0,"span",3),d(1),v()),n&2){let t=a();i(),l(t.label())}}var J=class n{inputs=y.required();typed=r(()=>{let e=this.inputs().payload;return typeof e!="object"||e===null?{value:""}:e});value=r(()=>String(this.typed().value??""));label=r(()=>this.typed().label??this.inputs().label);icon=r(()=>this.inputs().icon);severity=r(()=>this.typed().severity);resolvedTooltip=r(()=>this.typed().tooltip??this.inputs().tooltip??"");static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["sm-scope-stat"]],inputs:{inputs:[1,"inputs"]},decls:5,vars:13,consts:[[1,"vc-stat",3,"pTooltip"],["hostClass","vc-stat__icon",3,"icon"],[1,"vc-stat__value"],[1,"vc-stat__label"]],template:function(t,o){t&1&&(f(0,"span",0),P(1,"sm-icon",1),f(2,"span",2),d(3),v(),p(4,mt,2,1,"span",3),v()),t&2&&(k("vc-stat--info",o.severity()==="info")("vc-stat--warn",o.severity()==="warn")("vc-stat--success",o.severity()==="success")("vc-stat--danger",o.severity()==="danger"),C("pTooltip",o.resolvedTooltip()),g("data-testid","renderer-scope-stat"),i(),C("icon",o.icon()),i(2),l(o.value()),i(),m(o.label()?4:-1))},dependencies:[T,N,D],styles:[".vc-stat[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;padding:.125rem .5rem;border-radius:.75rem;font-size:.85rem;background:var(--p-surface-100);color:var(--p-surface-800)}.vc-stat__label[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.8rem}.vc-stat--info[_ngcontent-%COMP%]{background:var(--p-blue-100);color:var(--p-blue-700)}.vc-stat--warn[_ngcontent-%COMP%]{background:var(--p-yellow-100);color:var(--p-yellow-800)}.vc-stat--success[_ngcontent-%COMP%]{background:var(--p-green-100);color:var(--p-green-700)}.vc-stat--danger[_ngcontent-%COMP%]{background:var(--p-red-100);color:var(--p-red-700)}"],changeDetection:0})};var ee={"card.title.right":Q,"card.subtitle.left":O,"card.footer.left":O,"card.footer.right":O,"graph.node.alert":G,"inspector.header.badge.counter":O,"inspector.header.badge.tag":X,"inspector.body.panel.breakdown":q,"inspector.body.panel.records":U,"inspector.body.panel.tree":Y,"inspector.body.panel.key-values":K,"inspector.body.panel.link-list":H,"inspector.body.panel.markdown":W,"topbar.nav.start":J};function Ce(n){return n in ee}var R={"topbar.nav.start":{id:"topbar.nav.start",cardinality:"multi",maxItems:3,order:"alphabetical",strategy:"append"},"inspector.header.badge.counter":{id:"inspector.header.badge.counter",cardinality:"multi",maxItems:4,order:"alphabetical",strategy:"append"},"inspector.header.badge.tag":{id:"inspector.header.badge.tag",cardinality:"multi",maxItems:4,order:"alphabetical",strategy:"append"},"inspector.body.panel.breakdown":{id:"inspector.body.panel.breakdown",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.records":{id:"inspector.body.panel.records",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.tree":{id:"inspector.body.panel.tree",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.key-values":{id:"inspector.body.panel.key-values",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.link-list":{id:"inspector.body.panel.link-list",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.markdown":{id:"inspector.body.panel.markdown",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"card.footer.left":{id:"card.footer.left",cardinality:"multi",maxItems:5,order:"priority",strategy:"append",respectSeverity:!0},"card.footer.right":{id:"card.footer.right",cardinality:"multi",maxItems:5,order:"priority",strategy:"append",respectSeverity:!0},"card.subtitle.left":{id:"card.subtitle.left",cardinality:"multi",maxItems:3,order:"priority",strategy:"append",respectSeverity:!0},"card.title.right":{id:"card.title.right",cardinality:"multi",maxItems:2,order:"priority",strategy:"append",respectSeverity:!0},"graph.node.alert":{id:"graph.node.alert",cardinality:"multi",maxItems:1,order:"severity",strategy:"append",showOverflowBadge:!1}};var ut=n=>({inputs:n}),gt=(n,e)=>e.qualifiedId;function yt(n,e){n&1&&le(0)}function ft(n,e){if(n&1&&(f(0,"span",1),de(1,yt,1,0,"ng-container",3),v()),n&2){let t=e.$implicit,o=a(2);g("data-testid","contribution-"+t.qualifiedId.replaceAll("/","-")),i(),C("ngComponentOutlet",o.rendererFor(t.slot))("ngComponentOutletInputs",ye(3,ut,t.rendererInputs))}}function vt(n,e){if(n&1&&(f(0,"span",2),d(1),v()),n&2){let t=a(2);C("pTooltip",t.overflowTooltip()),i(),ue(" ",t.overflowBadge()," ")}}function _t(n,e){if(n&1&&(f(0,"span",0),h(1,ft,2,5,"span",1,gt),p(3,vt,2,2,"span",2),v()),n&2){let t=a();g("data-testid","view-contributions-host-"+t.testidSuffix()),i(),I(t.visible()),i(2),m(t.overflowCount()>0&&t.showOverflowBadge()?3:-1)}}var he=class n{slot=y.required();node=y(null);debugSlots=L(A);debugVisible=this.debugSlots.visible;testidSuffix=r(()=>this.slot().replaceAll(".","-"));registry=L(j);dispatched=r(()=>{let e=this.node();if(!e)return[];let t=e.contributions??[];if(t.length===0)return[];let o=this.slot(),u=t.filter(b=>b.slot===o).filter(b=>Ce(b.slot));return this.sortBySlotOrder(u,o).map(b=>({qualifiedId:`${b.pluginId}/${b.extensionId}/${b.contributionId}`,slot:b.slot,rendererInputs:this.buildInputs(b,o)}))});visible=r(()=>{let e=this.dispatched(),t=R[this.slot()].maxItems;return e.slice(0,t)});overflowCount=r(()=>{let e=this.dispatched(),t=R[this.slot()].maxItems;return Math.max(0,e.length-t)});showOverflowBadge=r(()=>R[this.slot()].showOverflowBadge!==!1);overflowBadge=r(()=>x.overflowBadge(this.overflowCount()));overflowTooltip=r(()=>{let e=this.dispatched(),t=R[this.slot()].maxItems,o=e.slice(t).map(u=>u.qualifiedId).join(", ");return x.overflowTooltip(o)});rendererFor(e){return ee[e]}buildInputs(e,t){let o=`${e.pluginId}/${e.extensionId}/${e.contributionId}`,u=this.registry.get(o),b=R[t].respectSeverity!==!1,M=e.payload;if(!b&&typeof M=="object"&&M!==null&&"severity"in M){let ne=M,{severity:bt}=ne;M=oe(ne,["severity"])}let S={pluginId:e.pluginId,extensionId:e.extensionId,contributionId:e.contributionId,payload:M};return u?.label&&(S.label=u.label),u?.tooltip&&(S.tooltip=u.tooltip),u?.icon&&(S.icon=u.icon),u?.emptyText&&(S.emptyText=u.emptyText),S}sortBySlotOrder(e,t){let o=R[t].order;return o==="fifo"?e.slice():o==="priority"?e.slice().sort((u,b)=>{let M=this.priorityFor(u),S=this.priorityFor(b);return M!==S?M-S:te(u,b)}):o==="severity"?e.slice().sort((u,b)=>{let M=Ie(u),S=Ie(b);return M!==S?S-M:te(u,b)}):e.slice().sort(te)}priorityFor(e){let t=`${e.pluginId}/${e.extensionId}/${e.contributionId}`;return this.registry.get(t)?.priority??100}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["sm-view-contributions-host"]],hostVars:3,hostBindings:function(t,o){t&2&&(g("data-debug-slot",o.debugVisible()?o.slot():null),k("sm-debug-slot",o.debugVisible()))},inputs:{slot:[1,"slot"],node:[1,"node"]},decls:1,vars:1,consts:[[1,"vch"],[1,"vch__slot"],["data-testid","view-contributions-host-overflow",1,"vch__overflow",3,"pTooltip"],[4,"ngComponentOutlet","ngComponentOutletInputs"]],template:function(t,o){t&1&&p(0,_t,4,2,"span",0),t&2&&m(o.visible().length>0||o.overflowCount()>0?0:-1)},dependencies:[fe,T,N],styles:[".vch[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.7rem;flex-wrap:wrap}.vch__slot[_ngcontent-%COMP%]{display:inline-flex}.vch__overflow[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:.125rem .5rem;border-radius:.75rem;background:var(--p-surface-100);color:var(--p-surface-600);font-size:.8rem;cursor:default}"],changeDetection:0})};function te(n,e){let t=`${n.pluginId}/${n.extensionId}/${n.contributionId}`,o=`${e.pluginId}/${e.extensionId}/${e.contributionId}`;return t<o?-1:t>o?1:0}function Ie(n){let e=n.payload;if(typeof e!="object"||e===null)return 0;switch(e.severity){case"danger":return 4;case"warn":return 3;case"info":return 2;case"success":return 1;default:return 0}}export{A as a,j as b,he as c};
|