@proximus/lavender-input 1.0.0-alpha.24 → 1.0.0-alpha.26
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/index.es.js +29 -524
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,505 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
function m(a) {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
const v = new CSSStyleSheet();
|
|
7
|
-
v.replaceSync(x);
|
|
8
|
-
class u extends HTMLElement {
|
|
9
|
-
static get observedAttributes() {
|
|
10
|
-
return [
|
|
11
|
-
"grow",
|
|
12
|
-
"grow--mobile",
|
|
13
|
-
"grow--tablet",
|
|
14
|
-
"grow--laptop",
|
|
15
|
-
"grow--desktop",
|
|
16
|
-
"shrink",
|
|
17
|
-
"shrink--mobile",
|
|
18
|
-
"shrink--tablet",
|
|
19
|
-
"shrink--laptop",
|
|
20
|
-
"shrink--desktop",
|
|
21
|
-
"basis",
|
|
22
|
-
"basis--mobile",
|
|
23
|
-
"basis--tablet",
|
|
24
|
-
"basis--laptop",
|
|
25
|
-
"basis--desktop",
|
|
26
|
-
"align-self",
|
|
27
|
-
"align-self--mobile",
|
|
28
|
-
"align-self--tablet",
|
|
29
|
-
"align-self--laptop",
|
|
30
|
-
"align-self--desktop",
|
|
31
|
-
"justify-self",
|
|
32
|
-
"justify-self--mobile",
|
|
33
|
-
"justify-self--tablet",
|
|
34
|
-
"justify-self--laptop",
|
|
35
|
-
"justify-self--desktop",
|
|
36
|
-
"hidden",
|
|
37
|
-
"hidden--mobile",
|
|
38
|
-
"hidden--tablet",
|
|
39
|
-
"hidden--laptop",
|
|
40
|
-
"hidden--desktop",
|
|
41
|
-
"shown--sr",
|
|
42
|
-
"shown--sr--mobile",
|
|
43
|
-
"shown--sr--tablet",
|
|
44
|
-
"shown--sr--laptop",
|
|
45
|
-
"shown--sr--desktop",
|
|
46
|
-
"col-span",
|
|
47
|
-
"col-span--mobile",
|
|
48
|
-
"col-span--tablet",
|
|
49
|
-
"col-span--laptop",
|
|
50
|
-
"col-span--desktop",
|
|
51
|
-
"order",
|
|
52
|
-
"order--mobile",
|
|
53
|
-
"order--tablet",
|
|
54
|
-
"order--laptop",
|
|
55
|
-
"order--desktop"
|
|
56
|
-
];
|
|
57
|
-
}
|
|
58
|
-
constructor(...e) {
|
|
59
|
-
super(), this.shadowRoot || this.attachShadow({ mode: "open" }), this.shadowRoot.adoptedStyleSheets = [
|
|
60
|
-
v,
|
|
61
|
-
...e
|
|
62
|
-
];
|
|
63
|
-
}
|
|
64
|
-
attributeChangedCallback(e, t, s) {
|
|
65
|
-
if (u.observedAttributes.indexOf(e) !== -1)
|
|
66
|
-
switch (e) {
|
|
67
|
-
case "grow":
|
|
68
|
-
case "grow--mobile":
|
|
69
|
-
case "grow--tablet":
|
|
70
|
-
case "grow--laptop":
|
|
71
|
-
case "grow--desktop":
|
|
72
|
-
case "shrink":
|
|
73
|
-
case "shrink--mobile":
|
|
74
|
-
case "shrink--tablet":
|
|
75
|
-
case "shrink--laptop":
|
|
76
|
-
case "shrink--desktop":
|
|
77
|
-
case "basis":
|
|
78
|
-
case "basis--mobile":
|
|
79
|
-
case "basis--tablet":
|
|
80
|
-
case "basis--laptop":
|
|
81
|
-
case "basis--desktop":
|
|
82
|
-
this.style.setProperty(`--${e}-value`, s);
|
|
83
|
-
break;
|
|
84
|
-
case "align-self":
|
|
85
|
-
case "align-self--mobile":
|
|
86
|
-
case "align-self--tablet":
|
|
87
|
-
case "align-self--laptop":
|
|
88
|
-
case "align-self--desktop":
|
|
89
|
-
this.updateProperties(
|
|
90
|
-
e,
|
|
91
|
-
t,
|
|
92
|
-
s,
|
|
93
|
-
this.isGrid ? A : C
|
|
94
|
-
);
|
|
95
|
-
break;
|
|
96
|
-
case "justify-self":
|
|
97
|
-
case "justify-self--mobile":
|
|
98
|
-
case "justify-self--tablet":
|
|
99
|
-
case "justify-self--laptop":
|
|
100
|
-
case "justify-self--desktop":
|
|
101
|
-
this.updateProperties(
|
|
102
|
-
e,
|
|
103
|
-
t,
|
|
104
|
-
s,
|
|
105
|
-
S
|
|
106
|
-
);
|
|
107
|
-
break;
|
|
108
|
-
case "col-span":
|
|
109
|
-
case "col-span--mobile":
|
|
110
|
-
case "col-span--tablet":
|
|
111
|
-
case "col-span--laptop":
|
|
112
|
-
case "col-span--desktop":
|
|
113
|
-
this.updateProperties(e, t, s, $);
|
|
114
|
-
break;
|
|
115
|
-
case "order":
|
|
116
|
-
case "order--mobile":
|
|
117
|
-
case "order--tablet":
|
|
118
|
-
case "order--laptop":
|
|
119
|
-
case "order--desktop":
|
|
120
|
-
this.updateProperties(e, t, s, D);
|
|
121
|
-
break;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
updateProperties(e, t, s, o) {
|
|
125
|
-
if (o && !this.checkName(o, s)) {
|
|
126
|
-
console.error(`${s} is not a valid value for ${o}`);
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
const g = e.indexOf("--") > -1, i = g ? e.split("--")[0] : e;
|
|
130
|
-
if (!g)
|
|
131
|
-
this.style.setProperty(
|
|
132
|
-
`--${i}-value`,
|
|
133
|
-
t
|
|
134
|
-
), this.style.setProperty(
|
|
135
|
-
`--${i}-value`,
|
|
136
|
-
s
|
|
137
|
-
);
|
|
138
|
-
else {
|
|
139
|
-
const y = e.split("--")[1];
|
|
140
|
-
this.style.setProperty(
|
|
141
|
-
`--${i}--${y}-value`,
|
|
142
|
-
t
|
|
143
|
-
), this.style.setProperty(
|
|
144
|
-
`--${i}--${y}-value`,
|
|
145
|
-
s
|
|
146
|
-
);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
updateStyle(e, t, s) {
|
|
150
|
-
s !== null && s !== "" && s !== "default" && this.style.setProperty(
|
|
151
|
-
`--${e}--${t}-value`,
|
|
152
|
-
s
|
|
153
|
-
);
|
|
154
|
-
}
|
|
155
|
-
checkName(e, t) {
|
|
156
|
-
return e.includes(t);
|
|
157
|
-
}
|
|
158
|
-
get $el() {
|
|
159
|
-
return this;
|
|
160
|
-
}
|
|
161
|
-
get $parentElementName() {
|
|
162
|
-
var e;
|
|
163
|
-
return (e = this.parentElement) == null ? void 0 : e.tagName.toLowerCase();
|
|
164
|
-
}
|
|
165
|
-
get isGrid() {
|
|
166
|
-
return this.$parentElementName === "px-grid";
|
|
167
|
-
}
|
|
168
|
-
get isStack() {
|
|
169
|
-
return this.$parentElementName === "px-stack";
|
|
170
|
-
}
|
|
171
|
-
get grow() {
|
|
172
|
-
return this.getAttribute("grow");
|
|
173
|
-
}
|
|
174
|
-
set grow(e) {
|
|
175
|
-
this.setAttribute("grow", e);
|
|
176
|
-
}
|
|
177
|
-
get growMobile() {
|
|
178
|
-
return this.getAttribute("grow--mobile");
|
|
179
|
-
}
|
|
180
|
-
set growMobile(e) {
|
|
181
|
-
this.setAttribute("grow--mobile", e);
|
|
182
|
-
}
|
|
183
|
-
get growTablet() {
|
|
184
|
-
return this.getAttribute("grow--tablet");
|
|
185
|
-
}
|
|
186
|
-
set growTablet(e) {
|
|
187
|
-
this.setAttribute("grow--tablet", e);
|
|
188
|
-
}
|
|
189
|
-
get growLaptop() {
|
|
190
|
-
return this.getAttribute("grow--laptop");
|
|
191
|
-
}
|
|
192
|
-
set growLaptop(e) {
|
|
193
|
-
this.setAttribute("grow--laptop", e);
|
|
194
|
-
}
|
|
195
|
-
get growDesktop() {
|
|
196
|
-
return this.getAttribute("grow--desktop");
|
|
197
|
-
}
|
|
198
|
-
set growDesktop(e) {
|
|
199
|
-
this.setAttribute("grow--desktop", e);
|
|
200
|
-
}
|
|
201
|
-
get shrink() {
|
|
202
|
-
return this.getAttribute("shrink");
|
|
203
|
-
}
|
|
204
|
-
set shrink(e) {
|
|
205
|
-
this.setAttribute("shrink", e);
|
|
206
|
-
}
|
|
207
|
-
get shrinkMobile() {
|
|
208
|
-
return this.getAttribute("shrink--mobile");
|
|
209
|
-
}
|
|
210
|
-
set shrinkMobile(e) {
|
|
211
|
-
this.setAttribute("shrink--mobile", e);
|
|
212
|
-
}
|
|
213
|
-
get shrinkTablet() {
|
|
214
|
-
return this.getAttribute("shrink--tablet");
|
|
215
|
-
}
|
|
216
|
-
set shrinkTablet(e) {
|
|
217
|
-
this.setAttribute("shrink--tablet", e);
|
|
218
|
-
}
|
|
219
|
-
get shrinkLaptop() {
|
|
220
|
-
return this.getAttribute("shrink--laptop");
|
|
221
|
-
}
|
|
222
|
-
set shrinkLaptop(e) {
|
|
223
|
-
this.setAttribute("shrink--laptop", e);
|
|
224
|
-
}
|
|
225
|
-
get shrinkDesktop() {
|
|
226
|
-
return this.getAttribute("shrink--desktop");
|
|
227
|
-
}
|
|
228
|
-
set shrinkDesktop(e) {
|
|
229
|
-
this.setAttribute("shrink--desktop", e);
|
|
230
|
-
}
|
|
231
|
-
get basis() {
|
|
232
|
-
return this.getAttribute("basis");
|
|
233
|
-
}
|
|
234
|
-
set basis(e) {
|
|
235
|
-
this.setAttribute("basis", e);
|
|
236
|
-
}
|
|
237
|
-
get basisMobile() {
|
|
238
|
-
return this.getAttribute("basis--mobile");
|
|
239
|
-
}
|
|
240
|
-
set basisMobile(e) {
|
|
241
|
-
this.setAttribute("basis--mobile", e);
|
|
242
|
-
}
|
|
243
|
-
get basisTablet() {
|
|
244
|
-
return this.getAttribute("basis--tablet");
|
|
245
|
-
}
|
|
246
|
-
set basisTablet(e) {
|
|
247
|
-
this.setAttribute("basis--tablet", e);
|
|
248
|
-
}
|
|
249
|
-
get basisLaptop() {
|
|
250
|
-
return this.getAttribute("basis--laptop");
|
|
251
|
-
}
|
|
252
|
-
set basisLaptop(e) {
|
|
253
|
-
this.setAttribute("basis--laptop", e);
|
|
254
|
-
}
|
|
255
|
-
get basisDesktop() {
|
|
256
|
-
return this.getAttribute("basis--desktop");
|
|
257
|
-
}
|
|
258
|
-
set basisDesktop(e) {
|
|
259
|
-
this.setAttribute("basis--desktop", e);
|
|
260
|
-
}
|
|
261
|
-
get alignSelf() {
|
|
262
|
-
return this.getAttribute("align-self");
|
|
263
|
-
}
|
|
264
|
-
set alignSelf(e) {
|
|
265
|
-
this.setAttribute("align-self", e);
|
|
266
|
-
}
|
|
267
|
-
get alignSelfMobile() {
|
|
268
|
-
return this.getAttribute("align-self--mobile");
|
|
269
|
-
}
|
|
270
|
-
set alignSelfMobile(e) {
|
|
271
|
-
this.setAttribute("align-self--mobile", e);
|
|
272
|
-
}
|
|
273
|
-
get alignSelfTablet() {
|
|
274
|
-
return this.getAttribute("align-self--tablet");
|
|
275
|
-
}
|
|
276
|
-
set alignSelfTablet(e) {
|
|
277
|
-
this.setAttribute("align-self--tablet", e);
|
|
278
|
-
}
|
|
279
|
-
get alignSelfLaptop() {
|
|
280
|
-
return this.getAttribute("align-self--laptop");
|
|
281
|
-
}
|
|
282
|
-
set alignSelfLaptop(e) {
|
|
283
|
-
this.setAttribute("align-self--laptop", e);
|
|
284
|
-
}
|
|
285
|
-
get alignSelfDesktop() {
|
|
286
|
-
return this.getAttribute("align-self--desktop");
|
|
287
|
-
}
|
|
288
|
-
set alignSelfDesktop(e) {
|
|
289
|
-
this.setAttribute("align-self--desktop", e);
|
|
290
|
-
}
|
|
291
|
-
get justifySelf() {
|
|
292
|
-
return this.getAttribute("justify-self");
|
|
293
|
-
}
|
|
294
|
-
set justifySelf(e) {
|
|
295
|
-
this.setAttribute("justify-self", e);
|
|
296
|
-
}
|
|
297
|
-
get justifySelfMobile() {
|
|
298
|
-
return this.getAttribute("justify-self--mobile");
|
|
299
|
-
}
|
|
300
|
-
set justifySelfMobile(e) {
|
|
301
|
-
this.setAttribute("justify-self--mobile", e);
|
|
302
|
-
}
|
|
303
|
-
get justifySelfTablet() {
|
|
304
|
-
return this.getAttribute("justify-self--tablet");
|
|
305
|
-
}
|
|
306
|
-
set justifySelfTablet(e) {
|
|
307
|
-
this.setAttribute("justify-self--tablet", e);
|
|
308
|
-
}
|
|
309
|
-
get justifySelfLaptop() {
|
|
310
|
-
return this.getAttribute("justify-self--laptop");
|
|
311
|
-
}
|
|
312
|
-
set justifySelfLaptop(e) {
|
|
313
|
-
this.setAttribute("justify-self--laptop", e);
|
|
314
|
-
}
|
|
315
|
-
get justifySelfDesktop() {
|
|
316
|
-
return this.getAttribute("justify-self--desktop");
|
|
317
|
-
}
|
|
318
|
-
set justifySelfDesktop(e) {
|
|
319
|
-
this.setAttribute("justify-self--desktop", e);
|
|
320
|
-
}
|
|
321
|
-
get hiddenMobile() {
|
|
322
|
-
return this.getAttribute("hidden--mobile");
|
|
323
|
-
}
|
|
324
|
-
set hiddenMobile(e) {
|
|
325
|
-
this.setAttribute("hidden--mobile", e);
|
|
326
|
-
}
|
|
327
|
-
get hiddenTablet() {
|
|
328
|
-
return this.getAttribute("hidden--tablet");
|
|
329
|
-
}
|
|
330
|
-
set hiddenTablet(e) {
|
|
331
|
-
this.setAttribute("hidden--tablet", e);
|
|
332
|
-
}
|
|
333
|
-
get hiddenLaptop() {
|
|
334
|
-
return this.getAttribute("hidden--laptop");
|
|
335
|
-
}
|
|
336
|
-
set hiddenLaptop(e) {
|
|
337
|
-
this.setAttribute("hidden--laptop", e);
|
|
338
|
-
}
|
|
339
|
-
get hiddenDesktop() {
|
|
340
|
-
return this.getAttribute("hidden--desktop");
|
|
341
|
-
}
|
|
342
|
-
set hiddenDesktop(e) {
|
|
343
|
-
this.setAttribute("hidden--desktop", e);
|
|
344
|
-
}
|
|
345
|
-
get colSpan() {
|
|
346
|
-
return this.getAttribute("col-span");
|
|
347
|
-
}
|
|
348
|
-
set colSpan(e) {
|
|
349
|
-
this.setAttribute("col-span", e);
|
|
350
|
-
}
|
|
351
|
-
get colSpanMobile() {
|
|
352
|
-
return this.getAttribute("col-span--mobile");
|
|
353
|
-
}
|
|
354
|
-
set colSpanMobile(e) {
|
|
355
|
-
this.setAttribute("col-span--mobile", e);
|
|
356
|
-
}
|
|
357
|
-
get colSpanTablet() {
|
|
358
|
-
return this.getAttribute("col-span--tablet");
|
|
359
|
-
}
|
|
360
|
-
set colSpanTablet(e) {
|
|
361
|
-
this.setAttribute("col-span--tablet", e);
|
|
362
|
-
}
|
|
363
|
-
get colSpanLaptop() {
|
|
364
|
-
return this.getAttribute("col-span--laptop");
|
|
365
|
-
}
|
|
366
|
-
set colSpanLaptop(e) {
|
|
367
|
-
this.setAttribute("col-span--laptop", e);
|
|
368
|
-
}
|
|
369
|
-
get colSpanDesktop() {
|
|
370
|
-
return this.getAttribute("col-span--desktop");
|
|
371
|
-
}
|
|
372
|
-
set colSpanDesktop(e) {
|
|
373
|
-
this.setAttribute("col-span--desktop", e);
|
|
374
|
-
}
|
|
375
|
-
get order() {
|
|
376
|
-
return this.getAttribute("order");
|
|
377
|
-
}
|
|
378
|
-
set order(e) {
|
|
379
|
-
this.setAttribute("order", e);
|
|
380
|
-
}
|
|
381
|
-
get orderMobile() {
|
|
382
|
-
return this.getAttribute("order--mobile");
|
|
383
|
-
}
|
|
384
|
-
set orderMobile(e) {
|
|
385
|
-
this.setAttribute("order--mobile", e);
|
|
386
|
-
}
|
|
387
|
-
get orderTablet() {
|
|
388
|
-
return this.getAttribute("order--tablet");
|
|
389
|
-
}
|
|
390
|
-
set orderTablet(e) {
|
|
391
|
-
this.setAttribute("order--tablet", e);
|
|
392
|
-
}
|
|
393
|
-
get orderLaptop() {
|
|
394
|
-
return this.getAttribute("order--laptop");
|
|
395
|
-
}
|
|
396
|
-
set orderLaptop(e) {
|
|
397
|
-
this.setAttribute("order--laptop", e);
|
|
398
|
-
}
|
|
399
|
-
get orderDesktop() {
|
|
400
|
-
return this.getAttribute("order--desktop");
|
|
401
|
-
}
|
|
402
|
-
set orderDesktop(e) {
|
|
403
|
-
this.setAttribute("order--desktop", e);
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
class w extends u {
|
|
407
|
-
static get observedAttributes() {
|
|
408
|
-
return [
|
|
409
|
-
...super.observedAttributes,
|
|
410
|
-
...m(this.nativeName)
|
|
411
|
-
];
|
|
412
|
-
}
|
|
413
|
-
attributeChangedCallback(e, t, s) {
|
|
414
|
-
super.attributeChangedCallback(e, t, s), s === null ? this.$el.toggleAttribute(e) : this.$el.setAttribute(e, s);
|
|
415
|
-
}
|
|
416
|
-
constructor(...e) {
|
|
417
|
-
super(...e), this.nativeName = Object.getPrototypeOf(this).constructor.nativeName;
|
|
418
|
-
}
|
|
419
|
-
connectedCallback() {
|
|
420
|
-
var e;
|
|
421
|
-
for (const t of m(this.nativeName))
|
|
422
|
-
if (t !== "constructor")
|
|
423
|
-
try {
|
|
424
|
-
Object.defineProperty(this, t, {
|
|
425
|
-
get() {
|
|
426
|
-
return this.$el[t];
|
|
427
|
-
},
|
|
428
|
-
set(s) {
|
|
429
|
-
this.$el[t] !== s && (this.$el[t] = s);
|
|
430
|
-
}
|
|
431
|
-
});
|
|
432
|
-
} catch (s) {
|
|
433
|
-
console.warn(`Could not create property ${t} for`, this.$el, s);
|
|
434
|
-
}
|
|
435
|
-
if (this.isGrid || this.isStack) {
|
|
436
|
-
const t = (e = this.parentElement) == null ? void 0 : e.getAttribute("direction");
|
|
437
|
-
this.$el.style.display = "block", (this.isGrid || this.isStack && t === "row") && (this.$el.style.height = "100%");
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
get $el() {
|
|
441
|
-
return this.shadowRoot.querySelector(this.nativeName);
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
const C = [
|
|
445
|
-
"",
|
|
446
|
-
"default",
|
|
447
|
-
"auto",
|
|
448
|
-
"flex-start",
|
|
449
|
-
"flex-end",
|
|
450
|
-
"center",
|
|
451
|
-
"baseline",
|
|
452
|
-
"stretch"
|
|
453
|
-
], A = [
|
|
454
|
-
"",
|
|
455
|
-
"default",
|
|
456
|
-
"start",
|
|
457
|
-
"end",
|
|
458
|
-
"center",
|
|
459
|
-
"stretch"
|
|
460
|
-
], S = [
|
|
461
|
-
"",
|
|
462
|
-
"default",
|
|
463
|
-
"start",
|
|
464
|
-
"end",
|
|
465
|
-
"center",
|
|
466
|
-
"stretch"
|
|
467
|
-
], $ = [
|
|
468
|
-
"",
|
|
469
|
-
"1",
|
|
470
|
-
"2",
|
|
471
|
-
"3",
|
|
472
|
-
"4",
|
|
473
|
-
"5",
|
|
474
|
-
"6",
|
|
475
|
-
"7",
|
|
476
|
-
"8",
|
|
477
|
-
"9",
|
|
478
|
-
"10",
|
|
479
|
-
"11",
|
|
480
|
-
"12"
|
|
481
|
-
], D = [
|
|
482
|
-
"",
|
|
483
|
-
"-1",
|
|
484
|
-
"0",
|
|
485
|
-
"1",
|
|
486
|
-
"2",
|
|
487
|
-
"3",
|
|
488
|
-
"4",
|
|
489
|
-
"5",
|
|
490
|
-
"6",
|
|
491
|
-
"7",
|
|
492
|
-
"8",
|
|
493
|
-
"9",
|
|
494
|
-
"10",
|
|
495
|
-
"11",
|
|
496
|
-
"12"
|
|
497
|
-
], E = `input:not([type=file]),textarea,select,#input-file-container{margin:0;outline:0;vertical-align:baseline;align-items:center;gap:var(--px-spacing-default-mobile);padding:var(--px-padding-xs-mobile) var(--px-padding-s-mobile);height:44px;background:var(--px-color-background-container-default-default) no-repeat;background-position:center right var(--px-padding-s-mobile);box-shadow:var(--px-color-border-neutral-default) 0 0 0 var(--px-size-border-m) inset;border:none;border-radius:var(--px-radius-main);color:var(--px-color-text-neutral-default);font-family:var(--px-font-family);font-size:var(--px-text-size-label-l-mobile);font-weight:var(--px-font-weight-body);text-align:left;box-sizing:border-box;--icon-error: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' width='17' height='17'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23B30000;%7D%3C/style%3E%3C/defs%3E%3Cg id='forms-error'%3E%3Cpath id='Error' class='cls-1' d='M8.5,0A8.5,8.5,0,1,0,17,8.5,8.51,8.51,0,0,0,8.5,0ZM7.42,4.65a1.08,1.08,0,1,1,2.16,0V8.79a1.08,1.08,0,0,1-2.16,0Zm1.93,8.44a1.2,1.2,0,0,1-1.7-1.69,1.15,1.15,0,0,1,.85-.35,1.11,1.11,0,0,1,.84.35h0A1.21,1.21,0,0,1,9.35,13.09Z'/%3E%3C/g%3E%3C/svg%3E");--icon-success: url("data:image/svg+xml,%3Csvg id='forms-success' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' width='17' height='17'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23008000;%7D%3C/style%3E%3C/defs%3E%3Cpath id='Success' class='cls-1' d='M8.5,0A8.5,8.5,0,1,0,17,8.5,8.51,8.51,0,0,0,8.5,0Zm3.69,7.08-4.29,4a.81.81,0,0,1-.56.22.84.84,0,0,1-.59-.24L4.67,9A.81.81,0,0,1,5.81,7.85L7.35,9.4,11.1,5.91a.8.8,0,0,1,1.09,1.17Z'/%3E%3C/svg%3E");--icon-search: url(data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.6451%2016.6649L12.5811%2011.7844C13.4371%2010.7503%2013.9122%209.46601%2013.9282%208.10498C13.9463%206.53112%2013.351%205.04391%2012.251%203.91824C11.1511%202.79211%209.67878%202.16202%208.10492%202.14352C8.081%202.14352%208.05753%202.14307%208.03406%202.14307C6.48637%202.14307%205.02715%202.7375%203.9182%203.82074C2.79208%204.92069%202.16199%206.393%202.14349%207.96687C2.12498%209.54118%202.72031%2011.0279%203.82026%2012.1536C4.97344%2013.3339%206.50442%2013.9261%208.03677%2013.9261C9.28408%2013.9261%2010.5303%2013.528%2011.5758%2012.7405L16.6828%2017.6633C16.8173%2017.7928%2016.9906%2017.8574%2017.164%2017.8574C17.3454%2017.8574%2017.5273%2017.7865%2017.6632%2017.6452C17.929%2017.3694%2017.9209%2016.9307%2017.6451%2016.6649ZM11.1849%2011.2595C10.3237%2012.1008%209.18546%2012.5707%207.98305%2012.5418C6.7793%2012.5278%205.65317%2012.0457%204.8123%2011.185C3.97101%2010.3238%203.5156%209.18687%203.53004%207.98312C3.54403%206.77981%204.02608%205.65369%204.88678%204.81282C5.73487%203.98413%206.85106%203.52962%208.03451%203.52962C8.05256%203.52962%208.07062%203.53007%208.08867%203.53007C9.29198%203.54406%2010.4181%204.02611%2011.2589%204.88684C12.1003%205.74802%2012.5557%206.88498%2012.5417%208.08873C12.5277%209.29249%2012.0456%2010.4186%2011.1849%2011.2595Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--icon-cancel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -60 30 30'%3E%3Cpath d='M22.4707,-50.0977l-5.09766,5.09766l5.09766,5.09766c0.332031,0.332031 0.498047,0.732421 0.498047,1.20117c0,0.46875 -0.166016,0.86914 -0.498047,1.20117c-0.3125,0.332031 -0.708007,0.498047 -1.18652,0.498047c-0.478515,0 -0.874022,-0.166016 -1.18652,-0.498047l-5.09766,-5.09766l-5.09766,5.09766c-0.332031,0.332031 -0.737305,0.498047 -1.21582,0.498047c-0.478515,0 -0.874022,-0.166016 -1.18652,-0.498047c-0.332031,-0.332031 -0.498047,-0.732421 -0.498047,-1.20117c0,-0.46875 0.166016,-0.86914 0.498047,-1.20117l5.09766,-5.09766l-5.09766,-5.09766c-0.332031,-0.332031 -0.498047,-0.732421 -0.498047,-1.20117c0,-0.46875 0.166016,-0.859377 0.498047,-1.17188c0.3125,-0.332031 0.708007,-0.498047 1.18652,-0.498047c0.478515,0 0.883789,0.166016 1.21582,0.498047l5.09766,5.09766l5.09766,-5.09766c0.3125,-0.332031 0.708007,-0.498047 1.18652,-0.498047c0.478515,0 0.874022,0.166016 1.18652,0.498047c0.175781,0.15625 0.302734,0.336914 0.380859,0.541992c0.0781253,0.205078 0.117188,0.415039 0.117188,0.629883c0,0.234375 -0.0390627,0.454101 -0.117188,0.65918c-0.0781253,0.205078 -0.205078,0.385742 -0.380859,0.541992Zm-7.4707,-9.90234c-2.07031,0 -4.01367,0.390627 -5.83008,1.17188c-1.81641,0.80078 -3.40332,1.87988 -4.76074,3.2373c-1.35742,1.35742 -2.43652,2.94433 -3.2373,4.76074c-0.781253,1.81641 -1.17188,3.75977 -1.17188,5.83008c0,2.07031 0.390627,4.01367 1.17188,5.83008c0.80078,1.81641 1.87988,3.40332 3.2373,4.76074c1.35742,1.35742 2.94433,2.43652 4.76074,3.2373c1.81641,0.781253 3.75977,1.17188 5.83008,1.17188c2.07031,0 4.01367,-0.390627 5.83008,-1.17188c1.81641,-0.80078 3.40332,-1.87988 4.76074,-3.2373c1.35742,-1.35742 2.43652,-2.94433 3.2373,-4.76074c0.781253,-1.81641 1.17188,-3.75977 1.17188,-5.83008c0,-2.07031 -0.390627,-4.01367 -1.17188,-5.83008c-0.80078,-1.81641 -1.87988,-3.40332 -3.2373,-4.76074c-1.35742,-1.35742 -2.94433,-2.43652 -4.76074,-3.2373c-1.81641,-0.781253 -3.75977,-1.17188 -5.83008,-1.17188Z' fill='%235c2d91'/%3E%3C/svg%3E");--icon-calendar: url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M14.7369%201.68408H12.779V0.42102C12.779%200.188549%2012.5904%200%2012.358%200C12.1255%200%2011.9369%200.188549%2011.9369%200.42102V1.68408H9.92439V0.42102C9.92439%200.188549%209.73584%200%209.50337%200C9.2709%200%209.08235%200.188549%209.08235%200.42102V1.68408H7.0698V0.42102C7.0698%200.188549%206.88126%200%206.64878%200C6.41631%200%206.22777%200.188549%206.22777%200.42102V1.68408H4.21082V0.42102C4.21051%200.188549%204.02196%200%203.78949%200C3.55702%200%203.36847%200.188549%203.36847%200.42102V1.68408H2.52643C1.13098%201.68408%200%202.81537%200%204.21051V14.7369C0%2015.4344%200.565647%2016%201.26306%2016H13.4736C14.8687%2016%2016%2014.869%2016%2013.4736V2.94745C16%202.24973%2015.4344%201.68408%2014.7369%201.68408ZM15.158%2013.4736C15.158%2014.4038%2014.4041%2015.1576%2013.4739%2015.1576H1.26306C1.03059%2015.1576%200.842039%2014.9691%200.842039%2014.7366V6.73663H15.158V13.4736ZM15.158%205.89459H0.842039V4.21051C0.842039%203.28031%201.59592%202.52643%202.52612%202.52643H3.36816V3.78949C3.36816%204.02196%203.55671%204.21051%203.78918%204.21051C4.02165%204.21051%204.2102%204.02196%204.2102%203.78949V2.52643H6.22714V3.78949C6.22714%204.02196%206.41569%204.21051%206.64816%204.21051C6.88063%204.21051%207.06918%204.02196%207.06918%203.78949V2.52643H9.08173V3.78949C9.08173%204.02196%209.27028%204.21051%209.50275%204.21051C9.73522%204.21051%209.92377%204.02196%209.92377%203.78949V2.52643H11.9363V3.78949C11.9363%204.02196%2012.1249%204.21051%2012.3573%204.21051C12.5898%204.21051%2012.7784%204.02196%2012.7784%203.78949V2.52643H14.7363C14.9688%202.52643%2015.1573%202.71498%2015.1573%202.94745V5.89459H15.158Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--icon-clock: url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M8%200C3.5818%200%200%203.5818%200%208C0%2012.4182%203.5818%2016%208%2016C12.4182%2016%2016%2012.4182%2016%208C16%203.5818%2012.4182%200%208%200ZM8%2015.158C4.04675%2015.158%200.842039%2011.9533%200.842039%208C0.842039%204.04675%204.04675%200.842039%208%200.842039C11.9533%200.842039%2015.158%204.04675%2015.158%208C15.158%2011.9533%2011.9533%2015.158%208%2015.158Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3Cpath%20d%3D%22M7.99929%202.81256C7.76682%202.81256%207.57827%203.00111%207.57827%203.23358V7.76818C7.57607%207.89963%207.46972%208.00599%207.33827%208.00818H2.78235C2.54988%208.00818%202.36133%208.19673%202.36133%208.4292C2.36133%208.66167%202.54988%208.85022%202.78235%208.85022H7.32133C7.92117%208.85713%208.41309%208.3765%208.42031%207.77665C8.42031%207.77383%208.42031%207.771%208.42031%207.76818V3.23358C8.42031%203.00111%208.23176%202.81256%207.99929%202.81256Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E%0A);--icon-select: url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M4%206.6665L8%2010.6665L12%206.6665%22%20stroke%3D%22%235C2D91%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E);--icon-upload: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M18.7284%2020H6.54327C5.14071%2020%204%2018.816%204%2017.3603V16.102C4%2015.8589%204.18949%2015.6622%204.42374%2015.6622C4.65799%2015.6622%204.84748%2015.8589%204.84748%2016.102V17.3603C4.84748%2018.3311%205.60795%2019.1204%206.54327%2019.1204H18.7279C18.9618%2019.1204%2019.1517%2018.9233%2019.1517%2018.6806V16.0738C19.1517%2015.8307%2019.3412%2015.634%2019.5754%2015.634C19.8097%2015.634%2019.9992%2015.8307%2019.9992%2016.0738V18.6806C20%2019.4074%2019.4294%2020%2018.7284%2020Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3Cpath%20d%3D%22M12.4435%204.29306C12.0671%203.90231%2011.4576%203.90231%2011.0811%204.29306L11.0774%204.29697L7.39173%208.122C7.01526%208.51275%207.01526%209.14534%207.39173%209.53609C7.7682%209.92684%208.37766%209.92684%208.75413%209.53609L10.7929%207.41951H10.7967V15.0414C10.7967%2015.4799%2011.1397%2015.8354%2011.5622%2015.8354H11.9579C12.3808%2015.8354%2012.7234%2015.4799%2012.7234%2015.0414V7.41821H12.7292L14.7659%209.53218C15.1424%209.92293%2015.7523%209.92293%2016.1284%209.53218C16.5048%209.14186%2016.5048%208.50884%2016.1284%208.11853L12.4435%204.29306Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--cancel-icon-width: 3em;--cancel-icon-height: 1em;--search-icon-datalist-width: 2em;--search-icon-focus-width: var(--search-icon-datalist-width)}@media screen and (min-width: 768px){input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-desktop);padding:var(--px-padding-xs-desktop) var(--px-padding-s-desktop);font-size:var(--px-text-size-label-l-desktop);background-position:center right var(--px-padding-s-desktop)}}@media screen and (min-width: 1024px){input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-desktop);padding:var(--px-padding-xs-desktop) var(--px-padding-s-desktop);font-size:var(--px-text-size-label-l-desktop);background-position:center right var(--px-padding-s-desktop)}}input:not([type=file]).extended,textarea.extended,select.extended,#input-file-container.extended{width:100%}input:not([type=file]):focus-visible,input:not([type=file]):hover,input:not([type=file]).error:focus-visible,input:not([type=file]).error:hover,input:not([type=file]).success:focus-visible,input:not([type=file]).success:hover,textarea:focus-visible,textarea:hover,textarea.error:focus-visible,textarea.error:hover,textarea.success:focus-visible,textarea.success:hover,select:focus-visible,select:hover,select.error:focus-visible,select.error:hover,select.success:focus-visible,select.success:hover,#input-file-container:focus-visible,#input-file-container:hover,#input-file-container.error:focus-visible,#input-file-container.error:hover,#input-file-container.success:focus-visible,#input-file-container.success:hover{box-shadow:var(--px-color-border-state-hover-default) 0 0 0 var(--px-size-border-l) inset;outline:1px solid var(--px-color-border-state-hover-default)}input:not([type=file]):active,textarea:active,select:active,#input-file-container:active{box-shadow:var(--px-color-border-state-hover-default) 0 0 0 var(--px-size-border-l) inset}input:not([type=file]):disabled,input:not([type=file]):read-only:not(:is(select),#input-file-container),textarea:disabled,textarea:read-only:not(:is(select),#input-file-container),select:disabled,select:read-only:not(:is(select),#input-file-container),#input-file-container:disabled,#input-file-container:read-only:not(:is(select),#input-file-container){box-shadow:var(--px-color-border-neutral-default) 0 0 0 0 inset;background:transparent;padding:0;font-weight:var(--px-font-weight-title);text-align:left}input:not([type=file]).error,textarea.error,select.error,#input-file-container.error{box-shadow:var(--px-color-border-purpose-error-default) 0 0 0 var(--px-size-border-m) inset;background-repeat:no-repeat;background-image:var(--icon-error)}input:not([type=file]).success,textarea.success,select.success,#input-file-container.success{box-shadow:var(--px-color-border-purpose-success-default) 0 0 0 var(--px-size-border-m) inset;background-repeat:no-repeat;background-image:var(--icon-success)}input:not([type=file])[type=date].success,input:not([type=file])[type=date].error,input:not([type=file])[type=time].success,input:not([type=file])[type=time].error,input:not([type=file])[type=datetime-local].success,input:not([type=file])[type=datetime-local].error,input:not([type=file])[type=month].success,input:not([type=file])[type=month].error,input:not([type=file])[type=week].success,input:not([type=file])[type=week].error,input:not([type=file])[type=search].success,input:not([type=file])[type=search].error,input:not([type=file]):is(select).success,input:not([type=file]):is(select).error,input:not([type=file])#input-file-container.success,input:not([type=file])#input-file-container.error,textarea[type=date].success,textarea[type=date].error,textarea[type=time].success,textarea[type=time].error,textarea[type=datetime-local].success,textarea[type=datetime-local].error,textarea[type=month].success,textarea[type=month].error,textarea[type=week].success,textarea[type=week].error,textarea[type=search].success,textarea[type=search].error,textarea:is(select).success,textarea:is(select).error,textarea#input-file-container.success,textarea#input-file-container.error,select[type=date].success,select[type=date].error,select[type=time].success,select[type=time].error,select[type=datetime-local].success,select[type=datetime-local].error,select[type=month].success,select[type=month].error,select[type=week].success,select[type=week].error,select[type=search].success,select[type=search].error,select:is(select).success,select:is(select).error,select#input-file-container.success,select#input-file-container.error,#input-file-container[type=date].success,#input-file-container[type=date].error,#input-file-container[type=time].success,#input-file-container[type=time].error,#input-file-container[type=datetime-local].success,#input-file-container[type=datetime-local].error,#input-file-container[type=month].success,#input-file-container[type=month].error,#input-file-container[type=week].success,#input-file-container[type=week].error,#input-file-container[type=search].success,#input-file-container[type=search].error,#input-file-container:is(select).success,#input-file-container:is(select).error,#input-file-container#input-file-container.success,#input-file-container#input-file-container.error{background-position:center right 2.7em,center right 1em}input:not([type=file])[type=time],textarea[type=time],select[type=time],#input-file-container[type=time]{background-image:var(--icon-clock)}input:not([type=file])[type=time].success,textarea[type=time].success,select[type=time].success,#input-file-container[type=time].success{background-image:var(--icon-success),var(--icon-clock)}input:not([type=file])[type=time].error,textarea[type=time].error,select[type=time].error,#input-file-container[type=time].error{background-image:var(--icon-error),var(--icon-clock)}input:not([type=file])[type=date],input:not([type=file])[type=datetime-local],input:not([type=file])[type=month],input:not([type=file])[type=week],textarea[type=date],textarea[type=datetime-local],textarea[type=month],textarea[type=week],select[type=date],select[type=datetime-local],select[type=month],select[type=week],#input-file-container[type=date],#input-file-container[type=datetime-local],#input-file-container[type=month],#input-file-container[type=week]{background-image:var(--icon-calendar)}input:not([type=file])[type=date].success,input:not([type=file])[type=datetime-local].success,input:not([type=file])[type=month].success,input:not([type=file])[type=week].success,textarea[type=date].success,textarea[type=datetime-local].success,textarea[type=month].success,textarea[type=week].success,select[type=date].success,select[type=datetime-local].success,select[type=month].success,select[type=week].success,#input-file-container[type=date].success,#input-file-container[type=datetime-local].success,#input-file-container[type=month].success,#input-file-container[type=week].success{background-image:var(--icon-success),var(--icon-calendar)}input:not([type=file])[type=date].error,input:not([type=file])[type=datetime-local].error,input:not([type=file])[type=month].error,input:not([type=file])[type=week].error,textarea[type=date].error,textarea[type=datetime-local].error,textarea[type=month].error,textarea[type=week].error,select[type=date].error,select[type=datetime-local].error,select[type=month].error,select[type=week].error,#input-file-container[type=date].error,#input-file-container[type=datetime-local].error,#input-file-container[type=month].error,#input-file-container[type=week].error{background-image:var(--icon-error),var(--icon-calendar)}input:not([type=file])[type=date]::-webkit-calendar-picker-indicator,input:not([type=file])[type=datetime-local]::-webkit-calendar-picker-indicator,input:not([type=file])[type=month]::-webkit-calendar-picker-indicator,input:not([type=file])[type=week]::-webkit-calendar-picker-indicator,input:not([type=file])[type=time]::-webkit-calendar-picker-indicator,textarea[type=date]::-webkit-calendar-picker-indicator,textarea[type=datetime-local]::-webkit-calendar-picker-indicator,textarea[type=month]::-webkit-calendar-picker-indicator,textarea[type=week]::-webkit-calendar-picker-indicator,textarea[type=time]::-webkit-calendar-picker-indicator,select[type=date]::-webkit-calendar-picker-indicator,select[type=datetime-local]::-webkit-calendar-picker-indicator,select[type=month]::-webkit-calendar-picker-indicator,select[type=week]::-webkit-calendar-picker-indicator,select[type=time]::-webkit-calendar-picker-indicator,#input-file-container[type=date]::-webkit-calendar-picker-indicator,#input-file-container[type=datetime-local]::-webkit-calendar-picker-indicator,#input-file-container[type=month]::-webkit-calendar-picker-indicator,#input-file-container[type=week]::-webkit-calendar-picker-indicator,#input-file-container[type=time]::-webkit-calendar-picker-indicator{-webkit-appearance:none;opacity:0}input:not([type=file])[type=search],textarea[type=search],select[type=search],#input-file-container[type=search]{background-image:var(--icon-search)}input:not([type=file])[type=search]:focus-visible::-webkit-search-cancel-button,input:not([type=file])[type=search]:hover::-webkit-search-cancel-button,textarea[type=search]:focus-visible::-webkit-search-cancel-button,textarea[type=search]:hover::-webkit-search-cancel-button,select[type=search]:focus-visible::-webkit-search-cancel-button,select[type=search]:hover::-webkit-search-cancel-button,#input-file-container[type=search]:focus-visible::-webkit-search-cancel-button,#input-file-container[type=search]:hover::-webkit-search-cancel-button{-webkit-appearance:none;background-image:var(--icon-cancel);height:var(--cancel-icon-height);width:var(--cancel-icon-width);background-repeat:no-repeat}input:not([type=file])[type=search][list=suggestions],textarea[type=search][list=suggestions],select[type=search][list=suggestions],#input-file-container[type=search][list=suggestions]{background-position:center right var(--search-icon-datalist-width)}input:not([type=file])[type=search][list=suggestions]:focus-visible,input:not([type=file])[type=search][list=suggestions]:hover,textarea[type=search][list=suggestions]:focus-visible,textarea[type=search][list=suggestions]:hover,select[type=search][list=suggestions]:focus-visible,select[type=search][list=suggestions]:hover,#input-file-container[type=search][list=suggestions]:focus-visible,#input-file-container[type=search][list=suggestions]:hover{background-position:center right var(--search-icon-focus-width)}input:not([type=file])[type=search].success:focus-visible,input:not([type=file])[type=search].success:hover,input:not([type=file])[type=search].error:focus-visible,input:not([type=file])[type=search].error:hover,textarea[type=search].success:focus-visible,textarea[type=search].success:hover,textarea[type=search].error:focus-visible,textarea[type=search].error:hover,select[type=search].success:focus-visible,select[type=search].success:hover,select[type=search].error:focus-visible,select[type=search].error:hover,#input-file-container[type=search].success:focus-visible,#input-file-container[type=search].success:hover,#input-file-container[type=search].error:focus-visible,#input-file-container[type=search].error:hover{background-position:center right 1em;background-image:var(--icon-search)}input:not([type=file])[type=search].success,textarea[type=search].success,select[type=search].success,#input-file-container[type=search].success{background-image:var(--icon-success),var(--icon-search)}input:not([type=file])[type=search].error,textarea[type=search].error,select[type=search].error,#input-file-container[type=search].error{background-image:var(--icon-error),var(--icon-search)}input:not([type=file]):is(select),textarea:is(select),select:is(select),#input-file-container:is(select){background-image:var(--icon-select);-webkit-appearance:none}input:not([type=file]):is(select).success,textarea:is(select).success,select:is(select).success,#input-file-container:is(select).success{background-image:var(--icon-success),var(--icon-select)}input:not([type=file]):is(select).error,textarea:is(select).error,select:is(select).error,#input-file-container:is(select).error{background-image:var(--icon-error),var(--icon-select)}input:not([type=file]):is(textarea),textarea:is(textarea),select:is(textarea),#input-file-container:is(textarea){height:auto;flex-grow:0}input:not([type=file]):is(textarea).success,input:not([type=file]):is(textarea).error,textarea:is(textarea).success,textarea:is(textarea).error,select:is(textarea).success,select:is(textarea).error,#input-file-container:is(textarea).success,#input-file-container:is(textarea).error{background-position:top .5em right 1em}input:not([type=file])#input-file-container,textarea#input-file-container,select#input-file-container,#input-file-container#input-file-container{background-repeat:no-repeat;background-position:center right var(--px-padding-s-mobile);background-image:var(--icon-upload);display:flex;align-items:center}input:not([type=file])#input-file-container span,textarea#input-file-container span,select#input-file-container span,#input-file-container#input-file-container span{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}input:not([type=file])#input-file-container.success>span,input:not([type=file])#input-file-container.error>span,textarea#input-file-container.success>span,textarea#input-file-container.error>span,select#input-file-container.success>span,select#input-file-container.error>span,#input-file-container#input-file-container.success>span,#input-file-container#input-file-container.error>span{width:85%}input:not([type=file])#input-file-container.success,textarea#input-file-container.success,select#input-file-container.success,#input-file-container#input-file-container.success{background-image:var(--icon-success),var(--icon-upload)}input:not([type=file])#input-file-container.error,textarea#input-file-container.error,select#input-file-container.error,#input-file-container#input-file-container.error{background-image:var(--icon-error),var(--icon-upload)}slot{font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);font-weight:var(--px-font-weight-body);line-height:var(--px-font-line-height-m);text-align:left}slot.error{color:var(--px-color-text-purpose-error-default)}slot.success{color:var(--px-color-text-purpose-success-default)}slot[name=helper]{color:#0000008f}#container{display:inline-flex;flex-direction:column;gap:6px}#label-helper{display:flex;flex-direction:column;gap:8px}input[type=file]{-webkit-appearance:none;opacity:0;height:0;width:0}@media screen and (min-width: 768px){slot{font-size:var(--px-text-size-label-m-desktop)}}`, k = new CSSStyleSheet();
|
|
498
|
-
k.replaceSync(E);
|
|
499
|
-
class r extends w {
|
|
1
|
+
import { PxElement as h } from "@proximus/lavender-common";
|
|
2
|
+
const f = `input:not([type=file]),textarea,select,#input-file-container{margin:0;outline:0;vertical-align:baseline;align-items:center;gap:var(--px-spacing-default-mobile);padding:var(--px-padding-xs-mobile) var(--px-padding-s-mobile);height:44px!important;background:var(--px-color-background-container-default-default) no-repeat;background-position:center right var(--px-padding-s-mobile);box-shadow:var(--px-color-border-neutral-default) 0 0 0 var(--px-size-border-m) inset;border:none;border-radius:var(--px-radius-main);color:var(--px-color-text-neutral-default);font-family:var(--px-font-family);font-weight:var(--px-font-weight-body);font-size:var(--px-text-size-label-l-mobile);line-height:var(--px-font-line-height-m);text-align:left;box-sizing:border-box;--icon-error: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' width='17' height='17'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23B30000;%7D%3C/style%3E%3C/defs%3E%3Cg id='forms-error'%3E%3Cpath id='Error' class='cls-1' d='M8.5,0A8.5,8.5,0,1,0,17,8.5,8.51,8.51,0,0,0,8.5,0ZM7.42,4.65a1.08,1.08,0,1,1,2.16,0V8.79a1.08,1.08,0,0,1-2.16,0Zm1.93,8.44a1.2,1.2,0,0,1-1.7-1.69,1.15,1.15,0,0,1,.85-.35,1.11,1.11,0,0,1,.84.35h0A1.21,1.21,0,0,1,9.35,13.09Z'/%3E%3C/g%3E%3C/svg%3E");--icon-success: url("data:image/svg+xml,%3Csvg id='forms-success' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' width='17' height='17'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23008000;%7D%3C/style%3E%3C/defs%3E%3Cpath id='Success' class='cls-1' d='M8.5,0A8.5,8.5,0,1,0,17,8.5,8.51,8.51,0,0,0,8.5,0Zm3.69,7.08-4.29,4a.81.81,0,0,1-.56.22.84.84,0,0,1-.59-.24L4.67,9A.81.81,0,0,1,5.81,7.85L7.35,9.4,11.1,5.91a.8.8,0,0,1,1.09,1.17Z'/%3E%3C/svg%3E");--icon-search: url(data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.6451%2016.6649L12.5811%2011.7844C13.4371%2010.7503%2013.9122%209.46601%2013.9282%208.10498C13.9463%206.53112%2013.351%205.04391%2012.251%203.91824C11.1511%202.79211%209.67878%202.16202%208.10492%202.14352C8.081%202.14352%208.05753%202.14307%208.03406%202.14307C6.48637%202.14307%205.02715%202.7375%203.9182%203.82074C2.79208%204.92069%202.16199%206.393%202.14349%207.96687C2.12498%209.54118%202.72031%2011.0279%203.82026%2012.1536C4.97344%2013.3339%206.50442%2013.9261%208.03677%2013.9261C9.28408%2013.9261%2010.5303%2013.528%2011.5758%2012.7405L16.6828%2017.6633C16.8173%2017.7928%2016.9906%2017.8574%2017.164%2017.8574C17.3454%2017.8574%2017.5273%2017.7865%2017.6632%2017.6452C17.929%2017.3694%2017.9209%2016.9307%2017.6451%2016.6649ZM11.1849%2011.2595C10.3237%2012.1008%209.18546%2012.5707%207.98305%2012.5418C6.7793%2012.5278%205.65317%2012.0457%204.8123%2011.185C3.97101%2010.3238%203.5156%209.18687%203.53004%207.98312C3.54403%206.77981%204.02608%205.65369%204.88678%204.81282C5.73487%203.98413%206.85106%203.52962%208.03451%203.52962C8.05256%203.52962%208.07062%203.53007%208.08867%203.53007C9.29198%203.54406%2010.4181%204.02611%2011.2589%204.88684C12.1003%205.74802%2012.5557%206.88498%2012.5417%208.08873C12.5277%209.29249%2012.0456%2010.4186%2011.1849%2011.2595Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--icon-cancel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -60 30 30'%3E%3Cpath d='M22.4707,-50.0977l-5.09766,5.09766l5.09766,5.09766c0.332031,0.332031 0.498047,0.732421 0.498047,1.20117c0,0.46875 -0.166016,0.86914 -0.498047,1.20117c-0.3125,0.332031 -0.708007,0.498047 -1.18652,0.498047c-0.478515,0 -0.874022,-0.166016 -1.18652,-0.498047l-5.09766,-5.09766l-5.09766,5.09766c-0.332031,0.332031 -0.737305,0.498047 -1.21582,0.498047c-0.478515,0 -0.874022,-0.166016 -1.18652,-0.498047c-0.332031,-0.332031 -0.498047,-0.732421 -0.498047,-1.20117c0,-0.46875 0.166016,-0.86914 0.498047,-1.20117l5.09766,-5.09766l-5.09766,-5.09766c-0.332031,-0.332031 -0.498047,-0.732421 -0.498047,-1.20117c0,-0.46875 0.166016,-0.859377 0.498047,-1.17188c0.3125,-0.332031 0.708007,-0.498047 1.18652,-0.498047c0.478515,0 0.883789,0.166016 1.21582,0.498047l5.09766,5.09766l5.09766,-5.09766c0.3125,-0.332031 0.708007,-0.498047 1.18652,-0.498047c0.478515,0 0.874022,0.166016 1.18652,0.498047c0.175781,0.15625 0.302734,0.336914 0.380859,0.541992c0.0781253,0.205078 0.117188,0.415039 0.117188,0.629883c0,0.234375 -0.0390627,0.454101 -0.117188,0.65918c-0.0781253,0.205078 -0.205078,0.385742 -0.380859,0.541992Zm-7.4707,-9.90234c-2.07031,0 -4.01367,0.390627 -5.83008,1.17188c-1.81641,0.80078 -3.40332,1.87988 -4.76074,3.2373c-1.35742,1.35742 -2.43652,2.94433 -3.2373,4.76074c-0.781253,1.81641 -1.17188,3.75977 -1.17188,5.83008c0,2.07031 0.390627,4.01367 1.17188,5.83008c0.80078,1.81641 1.87988,3.40332 3.2373,4.76074c1.35742,1.35742 2.94433,2.43652 4.76074,3.2373c1.81641,0.781253 3.75977,1.17188 5.83008,1.17188c2.07031,0 4.01367,-0.390627 5.83008,-1.17188c1.81641,-0.80078 3.40332,-1.87988 4.76074,-3.2373c1.35742,-1.35742 2.43652,-2.94433 3.2373,-4.76074c0.781253,-1.81641 1.17188,-3.75977 1.17188,-5.83008c0,-2.07031 -0.390627,-4.01367 -1.17188,-5.83008c-0.80078,-1.81641 -1.87988,-3.40332 -3.2373,-4.76074c-1.35742,-1.35742 -2.94433,-2.43652 -4.76074,-3.2373c-1.81641,-0.781253 -3.75977,-1.17188 -5.83008,-1.17188Z' fill='%235c2d91'/%3E%3C/svg%3E");--icon-calendar: url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M14.7369%201.68408H12.779V0.42102C12.779%200.188549%2012.5904%200%2012.358%200C12.1255%200%2011.9369%200.188549%2011.9369%200.42102V1.68408H9.92439V0.42102C9.92439%200.188549%209.73584%200%209.50337%200C9.2709%200%209.08235%200.188549%209.08235%200.42102V1.68408H7.0698V0.42102C7.0698%200.188549%206.88126%200%206.64878%200C6.41631%200%206.22777%200.188549%206.22777%200.42102V1.68408H4.21082V0.42102C4.21051%200.188549%204.02196%200%203.78949%200C3.55702%200%203.36847%200.188549%203.36847%200.42102V1.68408H2.52643C1.13098%201.68408%200%202.81537%200%204.21051V14.7369C0%2015.4344%200.565647%2016%201.26306%2016H13.4736C14.8687%2016%2016%2014.869%2016%2013.4736V2.94745C16%202.24973%2015.4344%201.68408%2014.7369%201.68408ZM15.158%2013.4736C15.158%2014.4038%2014.4041%2015.1576%2013.4739%2015.1576H1.26306C1.03059%2015.1576%200.842039%2014.9691%200.842039%2014.7366V6.73663H15.158V13.4736ZM15.158%205.89459H0.842039V4.21051C0.842039%203.28031%201.59592%202.52643%202.52612%202.52643H3.36816V3.78949C3.36816%204.02196%203.55671%204.21051%203.78918%204.21051C4.02165%204.21051%204.2102%204.02196%204.2102%203.78949V2.52643H6.22714V3.78949C6.22714%204.02196%206.41569%204.21051%206.64816%204.21051C6.88063%204.21051%207.06918%204.02196%207.06918%203.78949V2.52643H9.08173V3.78949C9.08173%204.02196%209.27028%204.21051%209.50275%204.21051C9.73522%204.21051%209.92377%204.02196%209.92377%203.78949V2.52643H11.9363V3.78949C11.9363%204.02196%2012.1249%204.21051%2012.3573%204.21051C12.5898%204.21051%2012.7784%204.02196%2012.7784%203.78949V2.52643H14.7363C14.9688%202.52643%2015.1573%202.71498%2015.1573%202.94745V5.89459H15.158Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--icon-clock: url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M8%200C3.5818%200%200%203.5818%200%208C0%2012.4182%203.5818%2016%208%2016C12.4182%2016%2016%2012.4182%2016%208C16%203.5818%2012.4182%200%208%200ZM8%2015.158C4.04675%2015.158%200.842039%2011.9533%200.842039%208C0.842039%204.04675%204.04675%200.842039%208%200.842039C11.9533%200.842039%2015.158%204.04675%2015.158%208C15.158%2011.9533%2011.9533%2015.158%208%2015.158Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3Cpath%20d%3D%22M7.99929%202.81256C7.76682%202.81256%207.57827%203.00111%207.57827%203.23358V7.76818C7.57607%207.89963%207.46972%208.00599%207.33827%208.00818H2.78235C2.54988%208.00818%202.36133%208.19673%202.36133%208.4292C2.36133%208.66167%202.54988%208.85022%202.78235%208.85022H7.32133C7.92117%208.85713%208.41309%208.3765%208.42031%207.77665C8.42031%207.77383%208.42031%207.771%208.42031%207.76818V3.23358C8.42031%203.00111%208.23176%202.81256%207.99929%202.81256Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E%0A);--icon-select: url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M4%206.6665L8%2010.6665L12%206.6665%22%20stroke%3D%22%235C2D91%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E);--icon-upload: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M18.7284%2020H6.54327C5.14071%2020%204%2018.816%204%2017.3603V16.102C4%2015.8589%204.18949%2015.6622%204.42374%2015.6622C4.65799%2015.6622%204.84748%2015.8589%204.84748%2016.102V17.3603C4.84748%2018.3311%205.60795%2019.1204%206.54327%2019.1204H18.7279C18.9618%2019.1204%2019.1517%2018.9233%2019.1517%2018.6806V16.0738C19.1517%2015.8307%2019.3412%2015.634%2019.5754%2015.634C19.8097%2015.634%2019.9992%2015.8307%2019.9992%2016.0738V18.6806C20%2019.4074%2019.4294%2020%2018.7284%2020Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3Cpath%20d%3D%22M12.4435%204.29306C12.0671%203.90231%2011.4576%203.90231%2011.0811%204.29306L11.0774%204.29697L7.39173%208.122C7.01526%208.51275%207.01526%209.14534%207.39173%209.53609C7.7682%209.92684%208.37766%209.92684%208.75413%209.53609L10.7929%207.41951H10.7967V15.0414C10.7967%2015.4799%2011.1397%2015.8354%2011.5622%2015.8354H11.9579C12.3808%2015.8354%2012.7234%2015.4799%2012.7234%2015.0414V7.41821H12.7292L14.7659%209.53218C15.1424%209.92293%2015.7523%209.92293%2016.1284%209.53218C16.5048%209.14186%2016.5048%208.50884%2016.1284%208.11853L12.4435%204.29306Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--cancel-icon-width: 3em;--cancel-icon-height: 1em;--search-icon-datalist-width: 2em;--search-icon-focus-width: var(--search-icon-datalist-width)}input:not([type=file]).extended,textarea.extended,select.extended,#input-file-container.extended{width:100%}input:not([type=file]):focus-visible,input:not([type=file]):hover,input:not([type=file]).error:focus-visible,input:not([type=file]).error:hover,input:not([type=file]).success:focus-visible,input:not([type=file]).success:hover,textarea:focus-visible,textarea:hover,textarea.error:focus-visible,textarea.error:hover,textarea.success:focus-visible,textarea.success:hover,select:focus-visible,select:hover,select.error:focus-visible,select.error:hover,select.success:focus-visible,select.success:hover,#input-file-container:focus-visible,#input-file-container:hover,#input-file-container.error:focus-visible,#input-file-container.error:hover,#input-file-container.success:focus-visible,#input-file-container.success:hover{box-shadow:var(--px-color-border-state-hover-default) 0 0 0 var(--px-size-border-l) inset;outline:1px solid var(--px-color-border-state-hover-default)}input:not([type=file]):active,textarea:active,select:active,#input-file-container:active{box-shadow:var(--px-color-border-state-hover-default) 0 0 0 var(--px-size-border-l) inset}input:not([type=file]):disabled,input:not([type=file]):read-only:not(:is(select),#input-file-container),textarea:disabled,textarea:read-only:not(:is(select),#input-file-container),select:disabled,select:read-only:not(:is(select),#input-file-container),#input-file-container:disabled,#input-file-container:read-only:not(:is(select),#input-file-container){box-shadow:var(--px-color-border-neutral-default) 0 0 0 0 inset;background:transparent;padding:0;font-weight:var(--px-font-weight-title);text-align:left}input:not([type=file]).error,textarea.error,select.error,#input-file-container.error{box-shadow:var(--px-color-border-purpose-error-default) 0 0 0 var(--px-size-border-m) inset;background-repeat:no-repeat;background-image:var(--icon-error)}input:not([type=file]).success,textarea.success,select.success,#input-file-container.success{box-shadow:var(--px-color-border-purpose-success-default) 0 0 0 var(--px-size-border-m) inset;background-repeat:no-repeat;background-image:var(--icon-success)}input:not([type=file])[type=date].success,input:not([type=file])[type=date].error,input:not([type=file])[type=time].success,input:not([type=file])[type=time].error,input:not([type=file])[type=datetime-local].success,input:not([type=file])[type=datetime-local].error,input:not([type=file])[type=month].success,input:not([type=file])[type=month].error,input:not([type=file])[type=week].success,input:not([type=file])[type=week].error,input:not([type=file])[type=search].success,input:not([type=file])[type=search].error,input:not([type=file]):is(select).success,input:not([type=file]):is(select).error,input:not([type=file])#input-file-container.success,input:not([type=file])#input-file-container.error,textarea[type=date].success,textarea[type=date].error,textarea[type=time].success,textarea[type=time].error,textarea[type=datetime-local].success,textarea[type=datetime-local].error,textarea[type=month].success,textarea[type=month].error,textarea[type=week].success,textarea[type=week].error,textarea[type=search].success,textarea[type=search].error,textarea:is(select).success,textarea:is(select).error,textarea#input-file-container.success,textarea#input-file-container.error,select[type=date].success,select[type=date].error,select[type=time].success,select[type=time].error,select[type=datetime-local].success,select[type=datetime-local].error,select[type=month].success,select[type=month].error,select[type=week].success,select[type=week].error,select[type=search].success,select[type=search].error,select:is(select).success,select:is(select).error,select#input-file-container.success,select#input-file-container.error,#input-file-container[type=date].success,#input-file-container[type=date].error,#input-file-container[type=time].success,#input-file-container[type=time].error,#input-file-container[type=datetime-local].success,#input-file-container[type=datetime-local].error,#input-file-container[type=month].success,#input-file-container[type=month].error,#input-file-container[type=week].success,#input-file-container[type=week].error,#input-file-container[type=search].success,#input-file-container[type=search].error,#input-file-container:is(select).success,#input-file-container:is(select).error,#input-file-container#input-file-container.success,#input-file-container#input-file-container.error{background-position:center right 2.7em,center right 1em}input:not([type=file])[type=time],textarea[type=time],select[type=time],#input-file-container[type=time]{background-image:var(--icon-clock)}input:not([type=file])[type=time].success,textarea[type=time].success,select[type=time].success,#input-file-container[type=time].success{background-image:var(--icon-success),var(--icon-clock)}input:not([type=file])[type=time].error,textarea[type=time].error,select[type=time].error,#input-file-container[type=time].error{background-image:var(--icon-error),var(--icon-clock)}input:not([type=file])[type=date],input:not([type=file])[type=datetime-local],input:not([type=file])[type=month],input:not([type=file])[type=week],textarea[type=date],textarea[type=datetime-local],textarea[type=month],textarea[type=week],select[type=date],select[type=datetime-local],select[type=month],select[type=week],#input-file-container[type=date],#input-file-container[type=datetime-local],#input-file-container[type=month],#input-file-container[type=week]{background-image:var(--icon-calendar)}input:not([type=file])[type=date].success,input:not([type=file])[type=datetime-local].success,input:not([type=file])[type=month].success,input:not([type=file])[type=week].success,textarea[type=date].success,textarea[type=datetime-local].success,textarea[type=month].success,textarea[type=week].success,select[type=date].success,select[type=datetime-local].success,select[type=month].success,select[type=week].success,#input-file-container[type=date].success,#input-file-container[type=datetime-local].success,#input-file-container[type=month].success,#input-file-container[type=week].success{background-image:var(--icon-success),var(--icon-calendar)}input:not([type=file])[type=date].error,input:not([type=file])[type=datetime-local].error,input:not([type=file])[type=month].error,input:not([type=file])[type=week].error,textarea[type=date].error,textarea[type=datetime-local].error,textarea[type=month].error,textarea[type=week].error,select[type=date].error,select[type=datetime-local].error,select[type=month].error,select[type=week].error,#input-file-container[type=date].error,#input-file-container[type=datetime-local].error,#input-file-container[type=month].error,#input-file-container[type=week].error{background-image:var(--icon-error),var(--icon-calendar)}input:not([type=file])[type=date]::-webkit-calendar-picker-indicator,input:not([type=file])[type=datetime-local]::-webkit-calendar-picker-indicator,input:not([type=file])[type=month]::-webkit-calendar-picker-indicator,input:not([type=file])[type=week]::-webkit-calendar-picker-indicator,input:not([type=file])[type=time]::-webkit-calendar-picker-indicator,textarea[type=date]::-webkit-calendar-picker-indicator,textarea[type=datetime-local]::-webkit-calendar-picker-indicator,textarea[type=month]::-webkit-calendar-picker-indicator,textarea[type=week]::-webkit-calendar-picker-indicator,textarea[type=time]::-webkit-calendar-picker-indicator,select[type=date]::-webkit-calendar-picker-indicator,select[type=datetime-local]::-webkit-calendar-picker-indicator,select[type=month]::-webkit-calendar-picker-indicator,select[type=week]::-webkit-calendar-picker-indicator,select[type=time]::-webkit-calendar-picker-indicator,#input-file-container[type=date]::-webkit-calendar-picker-indicator,#input-file-container[type=datetime-local]::-webkit-calendar-picker-indicator,#input-file-container[type=month]::-webkit-calendar-picker-indicator,#input-file-container[type=week]::-webkit-calendar-picker-indicator,#input-file-container[type=time]::-webkit-calendar-picker-indicator{-webkit-appearance:none;opacity:0}input:not([type=file])[type=search],textarea[type=search],select[type=search],#input-file-container[type=search]{background-image:var(--icon-search)}input:not([type=file])[type=search]:focus-visible::-webkit-search-cancel-button,input:not([type=file])[type=search]:hover::-webkit-search-cancel-button,textarea[type=search]:focus-visible::-webkit-search-cancel-button,textarea[type=search]:hover::-webkit-search-cancel-button,select[type=search]:focus-visible::-webkit-search-cancel-button,select[type=search]:hover::-webkit-search-cancel-button,#input-file-container[type=search]:focus-visible::-webkit-search-cancel-button,#input-file-container[type=search]:hover::-webkit-search-cancel-button{-webkit-appearance:none;background-image:var(--icon-cancel);height:var(--cancel-icon-height);width:var(--cancel-icon-width);background-repeat:no-repeat}input:not([type=file])[type=search][list=suggestions],textarea[type=search][list=suggestions],select[type=search][list=suggestions],#input-file-container[type=search][list=suggestions]{background-position:center right var(--search-icon-datalist-width)}input:not([type=file])[type=search][list=suggestions]:focus-visible,input:not([type=file])[type=search][list=suggestions]:hover,textarea[type=search][list=suggestions]:focus-visible,textarea[type=search][list=suggestions]:hover,select[type=search][list=suggestions]:focus-visible,select[type=search][list=suggestions]:hover,#input-file-container[type=search][list=suggestions]:focus-visible,#input-file-container[type=search][list=suggestions]:hover{background-position:center right var(--search-icon-focus-width)}input:not([type=file])[type=search].success:focus-visible,input:not([type=file])[type=search].success:hover,input:not([type=file])[type=search].error:focus-visible,input:not([type=file])[type=search].error:hover,textarea[type=search].success:focus-visible,textarea[type=search].success:hover,textarea[type=search].error:focus-visible,textarea[type=search].error:hover,select[type=search].success:focus-visible,select[type=search].success:hover,select[type=search].error:focus-visible,select[type=search].error:hover,#input-file-container[type=search].success:focus-visible,#input-file-container[type=search].success:hover,#input-file-container[type=search].error:focus-visible,#input-file-container[type=search].error:hover{background-position:center right 1em;background-image:var(--icon-search)}input:not([type=file])[type=search].success,textarea[type=search].success,select[type=search].success,#input-file-container[type=search].success{background-image:var(--icon-success),var(--icon-search)}input:not([type=file])[type=search].error,textarea[type=search].error,select[type=search].error,#input-file-container[type=search].error{background-image:var(--icon-error),var(--icon-search)}input:not([type=file]):is(select),textarea:is(select),select:is(select),#input-file-container:is(select){background-image:var(--icon-select);-webkit-appearance:none}input:not([type=file]):is(select).success,textarea:is(select).success,select:is(select).success,#input-file-container:is(select).success{background-image:var(--icon-success),var(--icon-select)}input:not([type=file]):is(select).error,textarea:is(select).error,select:is(select).error,#input-file-container:is(select).error{background-image:var(--icon-error),var(--icon-select)}input:not([type=file]):is(textarea),textarea:is(textarea),select:is(textarea),#input-file-container:is(textarea){height:auto!important;flex-grow:0}input:not([type=file]):is(textarea).success,input:not([type=file]):is(textarea).error,textarea:is(textarea).success,textarea:is(textarea).error,select:is(textarea).success,select:is(textarea).error,#input-file-container:is(textarea).success,#input-file-container:is(textarea).error{background-position:top .5em right 1em}input:not([type=file])#input-file-container,textarea#input-file-container,select#input-file-container,#input-file-container#input-file-container{background-repeat:no-repeat;background-position:center right var(--px-padding-s-mobile);background-image:var(--icon-upload);display:flex;align-items:center}input:not([type=file])#input-file-container span,textarea#input-file-container span,select#input-file-container span,#input-file-container#input-file-container span{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}input:not([type=file])#input-file-container.success>span,input:not([type=file])#input-file-container.error>span,textarea#input-file-container.success>span,textarea#input-file-container.error>span,select#input-file-container.success>span,select#input-file-container.error>span,#input-file-container#input-file-container.success>span,#input-file-container#input-file-container.error>span{width:85%}input:not([type=file])#input-file-container.success,textarea#input-file-container.success,select#input-file-container.success,#input-file-container#input-file-container.success{background-image:var(--icon-success),var(--icon-upload)}input:not([type=file])#input-file-container.error,textarea#input-file-container.error,select#input-file-container.error,#input-file-container#input-file-container.error{background-image:var(--icon-error),var(--icon-upload)}slot{font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);font-weight:var(--px-font-weight-body);line-height:var(--px-font-line-height-m);text-align:left}slot.error{color:var(--px-color-text-purpose-error-default)}slot.success{color:var(--px-color-text-purpose-success-default)}slot[name=helper]{color:#0000008f}#container{display:inline-flex;flex-direction:column;gap:var(--px-spacing-xs-mobile)}#label-helper{display:flex;flex-direction:column;gap:8px}input[type=file]{-webkit-appearance:none;opacity:0;height:0;width:0}@media only screen and (min-width: 48em){input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-desktop);padding:var(--px-padding-xs-desktop) var(--px-padding-s-desktop);font-size:var(--px-text-size-label-l-desktop);background-position:center right var(--px-padding-s-desktop)}slot{font-size:var(--px-text-size-label-m-desktop)}}@media only screen and (min-width: 64.0625em){input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-desktop);padding:var(--px-padding-xs-desktop) var(--px-padding-s-desktop);font-size:var(--px-text-size-label-l-desktop);background-position:center right var(--px-padding-s-desktop)}}`, d = new CSSStyleSheet();
|
|
3
|
+
d.replaceSync(f);
|
|
4
|
+
class r extends h {
|
|
500
5
|
constructor() {
|
|
501
6
|
var e;
|
|
502
|
-
super(
|
|
7
|
+
super(d), this.containerTemplate = () => `
|
|
503
8
|
<div id="container">
|
|
504
9
|
<div id="label-helper">
|
|
505
10
|
<label><slot name="label"></slot></label>
|
|
@@ -513,15 +18,15 @@ class r extends w {
|
|
|
513
18
|
static get observedAttributes() {
|
|
514
19
|
return [...super.observedAttributes, "state", "extended"];
|
|
515
20
|
}
|
|
516
|
-
attributeChangedCallback(e, t,
|
|
517
|
-
e === "state" && t !==
|
|
21
|
+
attributeChangedCallback(e, t, i) {
|
|
22
|
+
e === "state" && t !== i ? this.stateChangeCallback(t, i) : e === "extended" && t !== i ? this.$el.classList.toggle("extended") : super.attributeChangedCallback(e, t, i);
|
|
518
23
|
}
|
|
519
24
|
stateChangeCallback(e, t) {
|
|
520
25
|
this.$el.classList.toggle(e), this.$el.classList.toggle(t), t === "error" ? (this.$validationSlot.classList.toggle("error"), this.$validationSlot.classList.remove("success")) : t === "success" ? (this.$validationSlot.classList.remove("error"), this.$validationSlot.classList.toggle("success")) : (this.$el.removeAttribute("aria-invalid"), this.$validationSlot.classList.remove("error", "success"), this.$labelSlot.classList.remove("error", "success"), this.$el.style.backgroundImage = ""), this.swapLabels(e, t);
|
|
521
26
|
}
|
|
522
27
|
swapLabels(e, t) {
|
|
523
|
-
const
|
|
524
|
-
e !== "error" && t === "error" ?
|
|
28
|
+
const i = this.shadowRoot.querySelector("#container");
|
|
29
|
+
e !== "error" && t === "error" ? i.insertBefore(this.$validationSlot, this.$labelHelper) : e === "error" && t !== "error" && i.insertBefore(this.$labelHelper, this.$validationSlot);
|
|
525
30
|
}
|
|
526
31
|
formData() {
|
|
527
32
|
if (this.$el.name) {
|
|
@@ -580,7 +85,7 @@ class r extends w {
|
|
|
580
85
|
return this.shadowRoot.querySelector("#label-helper");
|
|
581
86
|
}
|
|
582
87
|
}
|
|
583
|
-
const
|
|
88
|
+
const o = class o extends r {
|
|
584
89
|
constructor() {
|
|
585
90
|
super();
|
|
586
91
|
}
|
|
@@ -613,10 +118,10 @@ const d = class d extends r {
|
|
|
613
118
|
return this.shadowRoot.querySelector("div");
|
|
614
119
|
}
|
|
615
120
|
};
|
|
616
|
-
|
|
617
|
-
let
|
|
618
|
-
customElements.get("px-input") || customElements.define("px-input",
|
|
619
|
-
const
|
|
121
|
+
o.nativeName = "input";
|
|
122
|
+
let s = o;
|
|
123
|
+
customElements.get("px-input") || customElements.define("px-input", s);
|
|
124
|
+
const l = class l extends r {
|
|
620
125
|
constructor() {
|
|
621
126
|
super();
|
|
622
127
|
}
|
|
@@ -624,10 +129,10 @@ const h = class h extends r {
|
|
|
624
129
|
return "<textarea></textarea>";
|
|
625
130
|
}
|
|
626
131
|
};
|
|
627
|
-
|
|
628
|
-
let
|
|
629
|
-
customElements.get("px-textarea") || customElements.define("px-textarea",
|
|
630
|
-
const
|
|
132
|
+
l.nativeName = "textarea";
|
|
133
|
+
let a = l;
|
|
134
|
+
customElements.get("px-textarea") || customElements.define("px-textarea", a);
|
|
135
|
+
const p = class p extends r {
|
|
631
136
|
template() {
|
|
632
137
|
return '<select><slot name="options"></slot></select>';
|
|
633
138
|
}
|
|
@@ -647,10 +152,10 @@ const f = class f extends r {
|
|
|
647
152
|
this.observer.disconnect();
|
|
648
153
|
}
|
|
649
154
|
};
|
|
650
|
-
|
|
651
|
-
let
|
|
652
|
-
customElements.get("px-select") || customElements.define("px-select",
|
|
653
|
-
const
|
|
155
|
+
p.nativeName = "select";
|
|
156
|
+
let n = p;
|
|
157
|
+
customElements.get("px-select") || customElements.define("px-select", n);
|
|
158
|
+
const u = class u extends r {
|
|
654
159
|
constructor() {
|
|
655
160
|
super();
|
|
656
161
|
}
|
|
@@ -677,12 +182,12 @@ const b = class b extends r {
|
|
|
677
182
|
return this.shadowRoot.querySelector('input[type="file"]');
|
|
678
183
|
}
|
|
679
184
|
};
|
|
680
|
-
|
|
681
|
-
let
|
|
682
|
-
customElements.get("px-fileupload") || customElements.define("px-fileupload",
|
|
185
|
+
u.nativeName = "input";
|
|
186
|
+
let c = u;
|
|
187
|
+
customElements.get("px-fileupload") || customElements.define("px-fileupload", c);
|
|
683
188
|
export {
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
189
|
+
s as Input,
|
|
190
|
+
n as Select,
|
|
191
|
+
a as TextArea,
|
|
192
|
+
c as Upload
|
|
688
193
|
};
|