@skill-map/cli 0.19.0 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/tutorial/sm-tutorial.md +3 -3
- package/dist/cli.js +7476 -6447
- package/dist/cli.js.map +1 -1
- package/dist/conformance/index.js +1 -1
- package/dist/conformance/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +182 -141
- package/dist/index.js.map +1 -1
- package/dist/kernel/index.d.ts +268 -109
- package/dist/kernel/index.js +182 -141
- package/dist/kernel/index.js.map +1 -1
- package/dist/migrations/001_initial.sql +17 -17
- package/dist/ui/chunk-4NLC7QD2.js +124 -0
- package/dist/ui/{chunk-VWAUXWQX.js → chunk-6BZZQV42.js} +1 -1
- package/dist/ui/chunk-6GUHSAP5.js +5 -0
- package/dist/ui/chunk-E4ALROJS.js +450 -0
- package/dist/ui/{chunk-7CAK6MVK.js → chunk-EZZF5RL5.js} +10 -10
- package/dist/ui/chunk-FWX4RRDF.js +125 -0
- package/dist/ui/chunk-GGMXMGRJ.js +1 -0
- package/dist/ui/chunk-K5PULFK7.js +1 -0
- package/dist/ui/chunk-OJ6W6OIB.js +61 -0
- package/dist/ui/{chunk-BORRASJB.js → chunk-PTCD42GB.js} +6 -6
- package/dist/ui/{chunk-LFIE4SCX.js → chunk-ZSRIBCAW.js} +13 -13
- package/dist/ui/index.html +2 -2
- package/dist/ui/main-5FJWWH5I.js +1 -0
- package/dist/ui/{styles-UAABA7VK.css → styles-VJ5Q6D2X.css} +1 -1
- package/migrations/001_initial.sql +17 -17
- package/package.json +2 -2
- package/dist/ui/chunk-CZSS4D6J.js +0 -454
- package/dist/ui/chunk-EQD7AYYJ.js +0 -227
- package/dist/ui/chunk-ETTRVTFV.js +0 -1
- package/dist/ui/chunk-OKO3QOH6.js +0 -1
- package/dist/ui/chunk-PMIMYHBM.js +0 -61
- package/dist/ui/chunk-UHFGCO24.js +0 -1
- package/dist/ui/chunk-VHIPW3TH.js +0 -1
- package/dist/ui/main-BSYMJKTL.js +0 -1
|
@@ -0,0 +1,450 @@
|
|
|
1
|
+
import{a as he,d as ve,g as xe,k as ye}from"./chunk-6GUHSAP5.js";import{$a as H,Aa as N,Gb as T,Gc as ge,Hc as w,Ib as le,J as h,Ja as d,Jc as M,K as b,Ka as te,La as ne,M as v,Ma as _,Mc as k,Na as C,Nc as A,O as i,Pb as de,S as W,Sa as a,Sb as U,T as X,Ta as D,Tc as s,U as J,Ua as B,Uc as $,Va as j,Wb as g,Xc as fe,Z as K,_c as be,ba as Y,bc as S,ca as Q,cb as oe,ea as u,eb as R,gb as c,hb as F,ia as Z,ib as E,ic as pe,jb as ie,lb as O,lc as ue,mb as V,na as p,nc as me,oc as P,qb as se,sb as ae,ub as l,va as z,vb as re,wa as x,wb as ce,xa as ee,ya as y,za as I}from"./chunk-ZSRIBCAW.js";import{a as L}from"./chunk-Q7L6LLAK.js";var Ie=`
|
|
2
|
+
.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};
|