@abgov/web-components 1.20.1 → 1.20.2
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/index.js +209 -193
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var bo = Object.defineProperty;
|
|
2
2
|
var _o = (t, e, n) => e in t ? bo(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var Ye = (t, e, n) => (_o(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
function
|
|
4
|
+
function ne() {
|
|
5
5
|
}
|
|
6
6
|
const Dt = (t) => t;
|
|
7
7
|
function $t(t, e) {
|
|
@@ -38,7 +38,7 @@ function wo(t, ...e) {
|
|
|
38
38
|
if (t == null) {
|
|
39
39
|
for (const l of e)
|
|
40
40
|
l(void 0);
|
|
41
|
-
return
|
|
41
|
+
return ne;
|
|
42
42
|
}
|
|
43
43
|
const n = t.subscribe(...e);
|
|
44
44
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
@@ -95,7 +95,7 @@ function ze(t) {
|
|
|
95
95
|
return t ?? "";
|
|
96
96
|
}
|
|
97
97
|
function Oi(t) {
|
|
98
|
-
return t && dt(t.destroy) ? t.destroy :
|
|
98
|
+
return t && dt(t.destroy) ? t.destroy : ne;
|
|
99
99
|
}
|
|
100
100
|
function dn(t) {
|
|
101
101
|
const e = typeof t == "string" && t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);
|
|
@@ -106,7 +106,7 @@ function dn(t) {
|
|
|
106
106
|
];
|
|
107
107
|
}
|
|
108
108
|
const Vi = typeof window < "u";
|
|
109
|
-
let Gt = Vi ? () => window.performance.now() : () => Date.now(), nn = Vi ? (t) => requestAnimationFrame(t) :
|
|
109
|
+
let Gt = Vi ? () => window.performance.now() : () => Date.now(), nn = Vi ? (t) => requestAnimationFrame(t) : ne;
|
|
110
110
|
const _t = /* @__PURE__ */ new Set();
|
|
111
111
|
function ji(t) {
|
|
112
112
|
_t.forEach((e) => {
|
|
@@ -419,7 +419,7 @@ function fn(t, e, n) {
|
|
|
419
419
|
delay: m = 0,
|
|
420
420
|
duration: g = 300,
|
|
421
421
|
easing: h = Dt,
|
|
422
|
-
tick: v =
|
|
422
|
+
tick: v = ne,
|
|
423
423
|
css: b
|
|
424
424
|
} = i || an;
|
|
425
425
|
b && (r = Ft(t, 0, 1, g, m, h, b, a++)), v(0, 1);
|
|
@@ -460,7 +460,7 @@ function gn(t, e, n) {
|
|
|
460
460
|
delay: d = 0,
|
|
461
461
|
duration: u = 300,
|
|
462
462
|
easing: m = Dt,
|
|
463
|
-
tick: g =
|
|
463
|
+
tick: g = ne,
|
|
464
464
|
css: h
|
|
465
465
|
} = i || an;
|
|
466
466
|
h && (r = Ft(t, 1, 0, u, d, m, h));
|
|
@@ -511,7 +511,7 @@ function Yt(t, e, n, l) {
|
|
|
511
511
|
delay: v = 0,
|
|
512
512
|
duration: b = 300,
|
|
513
513
|
easing: p = Dt,
|
|
514
|
-
tick: _ =
|
|
514
|
+
tick: _ = ne,
|
|
515
515
|
css: k
|
|
516
516
|
} = o || an, q = {
|
|
517
517
|
start: Gt() + v,
|
|
@@ -607,7 +607,7 @@ function ie(t, e, n, l, i, o, r = null, s = [-1]) {
|
|
|
607
607
|
ctx: [],
|
|
608
608
|
// state
|
|
609
609
|
props: o,
|
|
610
|
-
update:
|
|
610
|
+
update: ne,
|
|
611
611
|
not_equal: i,
|
|
612
612
|
bound: cn(),
|
|
613
613
|
// lifecycle
|
|
@@ -840,7 +840,7 @@ class re {
|
|
|
840
840
|
}
|
|
841
841
|
/** @returns {void} */
|
|
842
842
|
$destroy() {
|
|
843
|
-
Ze(this, 1), this.$destroy =
|
|
843
|
+
Ze(this, 1), this.$destroy = ne;
|
|
844
844
|
}
|
|
845
845
|
/**
|
|
846
846
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -850,7 +850,7 @@ class re {
|
|
|
850
850
|
*/
|
|
851
851
|
$on(e, n) {
|
|
852
852
|
if (!dt(n))
|
|
853
|
-
return
|
|
853
|
+
return ne;
|
|
854
854
|
const l = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
|
|
855
855
|
return l.push(n), () => {
|
|
856
856
|
const i = l.indexOf(n);
|
|
@@ -2315,7 +2315,7 @@ function ar(t) {
|
|
|
2315
2315
|
m(n, l) {
|
|
2316
2316
|
T(n, e, l);
|
|
2317
2317
|
},
|
|
2318
|
-
p:
|
|
2318
|
+
p: ne,
|
|
2319
2319
|
d(n) {
|
|
2320
2320
|
n && x(e);
|
|
2321
2321
|
}
|
|
@@ -2457,8 +2457,8 @@ function dr(t) {
|
|
|
2457
2457
|
c[9]
|
|
2458
2458
|
);
|
|
2459
2459
|
},
|
|
2460
|
-
i:
|
|
2461
|
-
o:
|
|
2460
|
+
i: ne,
|
|
2461
|
+
o: ne,
|
|
2462
2462
|
d(c) {
|
|
2463
2463
|
c && x(e), s.d(), a && a.d();
|
|
2464
2464
|
}
|
|
@@ -4644,7 +4644,7 @@ function Fn(t) {
|
|
|
4644
4644
|
m(n, l) {
|
|
4645
4645
|
T(n, e, l);
|
|
4646
4646
|
},
|
|
4647
|
-
p:
|
|
4647
|
+
p: ne,
|
|
4648
4648
|
d(n) {
|
|
4649
4649
|
n && x(e);
|
|
4650
4650
|
}
|
|
@@ -4965,12 +4965,12 @@ function Ps(t) {
|
|
|
4965
4965
|
), R = [];
|
|
4966
4966
|
for (let W = 0; W < ge.length; W += 1)
|
|
4967
4967
|
R[W] = Fn(Wn(t, ge, W));
|
|
4968
|
-
let
|
|
4968
|
+
let we = Le(
|
|
4969
4969
|
/*_years*/
|
|
4970
4970
|
t[14]
|
|
4971
4971
|
), he = [];
|
|
4972
|
-
for (let W = 0; W <
|
|
4973
|
-
he[W] = In(Nn(t,
|
|
4972
|
+
for (let W = 0; W < we.length; W += 1)
|
|
4973
|
+
he[W] = In(Nn(t, we, W));
|
|
4974
4974
|
let de = Le(
|
|
4975
4975
|
/*_previousMonthDays*/
|
|
4976
4976
|
t[12]
|
|
@@ -4991,7 +4991,7 @@ function Ps(t) {
|
|
|
4991
4991
|
qe[W] = Zn(Vn(t, Ve, W));
|
|
4992
4992
|
return {
|
|
4993
4993
|
c() {
|
|
4994
|
-
var W,
|
|
4994
|
+
var W, pe;
|
|
4995
4995
|
e = z("div"), n = z("goa-block"), l = z("goa-form-item"), i = z("goa-dropdown");
|
|
4996
4996
|
for (let se = 0; se < R.length; se += 1)
|
|
4997
4997
|
R[se].c();
|
|
@@ -5011,7 +5011,7 @@ function Ps(t) {
|
|
|
5011
5011
|
t[1]} month`), C(i, "data-testid", "months"), C(i, "width", "calc(314px / 2 - 1.5rem)"), C(i, "relative", "true"), C(i, "value", r = /*_calendarDate*/
|
|
5012
5012
|
(W = t[8]) == null ? void 0 : W.getMonth()), C(l, "label", "Month"), C(l, "mt", "0"), C(c, "name", "year"), C(c, "arialabel", d = `${/*name*/
|
|
5013
5013
|
t[1]} year`), C(c, "data-testid", "years"), C(c, "width", "calc(314px / 2 - 1.5rem)"), C(c, "relative", "true"), C(c, "value", u = /*_calendarDate*/
|
|
5014
|
-
(
|
|
5014
|
+
(pe = t[8]) == null ? void 0 : pe.getFullYear()), C(a, "label", "Year"), C(a, "mt", "0"), C(n, "mb", "m"), f(h, "class", "svelte-1l1phzw"), f(b, "class", "svelte-1l1phzw"), f(_, "class", "svelte-1l1phzw"), f(q, "class", "svelte-1l1phzw"), f(D, "class", "svelte-1l1phzw"), f(E, "class", "svelte-1l1phzw"), f(j, "class", "svelte-1l1phzw"), f(g, "data-testid", "calendar"), f(g, "class", "calendar svelte-1l1phzw"), f(e, "style", V = ue(
|
|
5015
5015
|
/*mt*/
|
|
5016
5016
|
t[2],
|
|
5017
5017
|
/*mr*/
|
|
@@ -5027,8 +5027,8 @@ function Ps(t) {
|
|
|
5027
5027
|
t[6] === "true"
|
|
5028
5028
|
);
|
|
5029
5029
|
},
|
|
5030
|
-
m(W,
|
|
5031
|
-
T(W, e,
|
|
5030
|
+
m(W, pe) {
|
|
5031
|
+
T(W, e, pe), w(e, n), w(n, l), w(l, i);
|
|
5032
5032
|
for (let se = 0; se < R.length; se += 1)
|
|
5033
5033
|
R[se] && R[se].m(i, null);
|
|
5034
5034
|
w(n, s), w(n, a), w(a, c);
|
|
@@ -5058,9 +5058,9 @@ function Ps(t) {
|
|
|
5058
5058
|
)
|
|
5059
5059
|
], S = !0);
|
|
5060
5060
|
},
|
|
5061
|
-
p(W,
|
|
5061
|
+
p(W, pe) {
|
|
5062
5062
|
var se, Be;
|
|
5063
|
-
if (
|
|
5063
|
+
if (pe[0] & /*_months*/
|
|
5064
5064
|
65536) {
|
|
5065
5065
|
ge = Le(
|
|
5066
5066
|
/*_months*/
|
|
@@ -5069,36 +5069,36 @@ function Ps(t) {
|
|
|
5069
5069
|
let ee;
|
|
5070
5070
|
for (ee = 0; ee < ge.length; ee += 1) {
|
|
5071
5071
|
const Te = Wn(W, ge, ee);
|
|
5072
|
-
R[ee] ? R[ee].p(Te,
|
|
5072
|
+
R[ee] ? R[ee].p(Te, pe) : (R[ee] = Fn(Te), R[ee].c(), R[ee].m(i, null));
|
|
5073
5073
|
}
|
|
5074
5074
|
for (; ee < R.length; ee += 1)
|
|
5075
5075
|
R[ee].d(1);
|
|
5076
5076
|
R.length = ge.length;
|
|
5077
5077
|
}
|
|
5078
|
-
if (
|
|
5078
|
+
if (pe[0] & /*name*/
|
|
5079
5079
|
2 && o !== (o = `${/*name*/
|
|
5080
|
-
W[1]} month`) && C(i, "arialabel", o),
|
|
5080
|
+
W[1]} month`) && C(i, "arialabel", o), pe[0] & /*_calendarDate*/
|
|
5081
5081
|
256 && r !== (r = /*_calendarDate*/
|
|
5082
|
-
(se = W[8]) == null ? void 0 : se.getMonth()) && C(i, "value", r),
|
|
5082
|
+
(se = W[8]) == null ? void 0 : se.getMonth()) && C(i, "value", r), pe[0] & /*_years*/
|
|
5083
5083
|
16384) {
|
|
5084
|
-
|
|
5084
|
+
we = Le(
|
|
5085
5085
|
/*_years*/
|
|
5086
5086
|
W[14]
|
|
5087
5087
|
);
|
|
5088
5088
|
let ee;
|
|
5089
|
-
for (ee = 0; ee <
|
|
5090
|
-
const Te = Nn(W,
|
|
5091
|
-
he[ee] ? he[ee].p(Te,
|
|
5089
|
+
for (ee = 0; ee < we.length; ee += 1) {
|
|
5090
|
+
const Te = Nn(W, we, ee);
|
|
5091
|
+
he[ee] ? he[ee].p(Te, pe) : (he[ee] = In(Te), he[ee].c(), he[ee].m(c, null));
|
|
5092
5092
|
}
|
|
5093
5093
|
for (; ee < he.length; ee += 1)
|
|
5094
5094
|
he[ee].d(1);
|
|
5095
|
-
he.length =
|
|
5095
|
+
he.length = we.length;
|
|
5096
5096
|
}
|
|
5097
|
-
if (
|
|
5097
|
+
if (pe[0] & /*name*/
|
|
5098
5098
|
2 && d !== (d = `${/*name*/
|
|
5099
|
-
W[1]} year`) && C(c, "arialabel", d),
|
|
5099
|
+
W[1]} year`) && C(c, "arialabel", d), pe[0] & /*_calendarDate*/
|
|
5100
5100
|
256 && u !== (u = /*_calendarDate*/
|
|
5101
|
-
(Be = W[8]) == null ? void 0 : Be.getFullYear()) && C(c, "value", u),
|
|
5101
|
+
(Be = W[8]) == null ? void 0 : Be.getFullYear()) && C(c, "value", u), pe[0] & /*_previousMonthDays, _calendarDate, _min, _max, onDateClick*/
|
|
5102
5102
|
530176) {
|
|
5103
5103
|
de = Le(
|
|
5104
5104
|
/*_previousMonthDays*/
|
|
@@ -5107,13 +5107,13 @@ function Ps(t) {
|
|
|
5107
5107
|
let ee;
|
|
5108
5108
|
for (ee = 0; ee < de.length; ee += 1) {
|
|
5109
5109
|
const Te = Bn(W, de, ee);
|
|
5110
|
-
me[ee] ? me[ee].p(Te,
|
|
5110
|
+
me[ee] ? me[ee].p(Te, pe) : (me[ee] = Yn(Te), me[ee].c(), me[ee].m(g, A));
|
|
5111
5111
|
}
|
|
5112
5112
|
for (; ee < me.length; ee += 1)
|
|
5113
5113
|
me[ee].d(1);
|
|
5114
5114
|
me.length = de.length;
|
|
5115
5115
|
}
|
|
5116
|
-
if (
|
|
5116
|
+
if (pe[0] & /*_monthDays, _calendarDate, value, _selectedDate, _min, _max, onDateClick*/
|
|
5117
5117
|
528257) {
|
|
5118
5118
|
Ee = Le(
|
|
5119
5119
|
/*_monthDays*/
|
|
@@ -5122,13 +5122,13 @@ function Ps(t) {
|
|
|
5122
5122
|
let ee;
|
|
5123
5123
|
for (ee = 0; ee < Ee.length; ee += 1) {
|
|
5124
5124
|
const Te = jn(W, Ee, ee);
|
|
5125
|
-
_e[ee] ? _e[ee].p(Te,
|
|
5125
|
+
_e[ee] ? _e[ee].p(Te, pe) : (_e[ee] = Rn(Te), _e[ee].c(), _e[ee].m(g, G));
|
|
5126
5126
|
}
|
|
5127
5127
|
for (; ee < _e.length; ee += 1)
|
|
5128
5128
|
_e[ee].d(1);
|
|
5129
5129
|
_e.length = Ee.length;
|
|
5130
5130
|
}
|
|
5131
|
-
if (
|
|
5131
|
+
if (pe[0] & /*_nextMonthDays, _calendarDate, _min, _max, onDateClick*/
|
|
5132
5132
|
534272) {
|
|
5133
5133
|
Ve = Le(
|
|
5134
5134
|
/*_nextMonthDays*/
|
|
@@ -5137,13 +5137,13 @@ function Ps(t) {
|
|
|
5137
5137
|
let ee;
|
|
5138
5138
|
for (ee = 0; ee < Ve.length; ee += 1) {
|
|
5139
5139
|
const Te = Vn(W, Ve, ee);
|
|
5140
|
-
qe[ee] ? qe[ee].p(Te,
|
|
5140
|
+
qe[ee] ? qe[ee].p(Te, pe) : (qe[ee] = Zn(Te), qe[ee].c(), qe[ee].m(g, null));
|
|
5141
5141
|
}
|
|
5142
5142
|
for (; ee < qe.length; ee += 1)
|
|
5143
5143
|
qe[ee].d(1);
|
|
5144
5144
|
qe.length = Ve.length;
|
|
5145
5145
|
}
|
|
5146
|
-
|
|
5146
|
+
pe[0] & /*mt, mr, mb, ml*/
|
|
5147
5147
|
60 && V !== (V = ue(
|
|
5148
5148
|
/*mt*/
|
|
5149
5149
|
W[2],
|
|
@@ -5153,7 +5153,7 @@ function Ps(t) {
|
|
|
5153
5153
|
W[4],
|
|
5154
5154
|
/*ml*/
|
|
5155
5155
|
W[5]
|
|
5156
|
-
)) && f(e, "style", V),
|
|
5156
|
+
)) && f(e, "style", V), pe[0] & /*bordered*/
|
|
5157
5157
|
64 && I(
|
|
5158
5158
|
e,
|
|
5159
5159
|
"bordered",
|
|
@@ -5161,8 +5161,8 @@ function Ps(t) {
|
|
|
5161
5161
|
W[6] === "true"
|
|
5162
5162
|
);
|
|
5163
5163
|
},
|
|
5164
|
-
i:
|
|
5165
|
-
o:
|
|
5164
|
+
i: ne,
|
|
5165
|
+
o: ne,
|
|
5166
5166
|
d(W) {
|
|
5167
5167
|
W && x(e), Ke(R, W), Ke(he, W), Ke(me, W), Ke(_e, W), Ke(qe, W), t[22](null), S = !1, De(O);
|
|
5168
5168
|
}
|
|
@@ -5204,15 +5204,15 @@ function Ss(t, e, n) {
|
|
|
5204
5204
|
if (!mn(g))
|
|
5205
5205
|
return;
|
|
5206
5206
|
const S = Ds(g);
|
|
5207
|
-
n(11, b = new Array(S).fill(void 0).map((R,
|
|
5207
|
+
n(11, b = new Array(S).fill(void 0).map((R, we) => new Date(g.getFullYear(), g.getMonth(), we + 1)));
|
|
5208
5208
|
const O = Sn(tt(g, -1)), ge = On(g, 1);
|
|
5209
5209
|
n(12, p = []);
|
|
5210
5210
|
for (let R = 0; R < ge.getDay(); R++)
|
|
5211
5211
|
n(12, p = [...p, Fe(O, -R)]);
|
|
5212
5212
|
if (p.reverse(), n(13, _ = []), k = 7 - (p.length + b.length) % 7, k < 7) {
|
|
5213
5213
|
const R = On(tt(g, 1), 1);
|
|
5214
|
-
for (let
|
|
5215
|
-
n(13, _ = [..._, Fe(R,
|
|
5214
|
+
for (let we = 0; we < k; we++)
|
|
5215
|
+
n(13, _ = [..._, Fe(R, we)]);
|
|
5216
5216
|
}
|
|
5217
5217
|
}
|
|
5218
5218
|
function E() {
|
|
@@ -6059,9 +6059,9 @@ function na(t) {
|
|
|
6059
6059
|
m(n, l) {
|
|
6060
6060
|
T(n, e, l);
|
|
6061
6061
|
},
|
|
6062
|
-
p:
|
|
6063
|
-
i:
|
|
6064
|
-
o:
|
|
6062
|
+
p: ne,
|
|
6063
|
+
i: ne,
|
|
6064
|
+
o: ne,
|
|
6065
6065
|
d(n) {
|
|
6066
6066
|
n && x(e);
|
|
6067
6067
|
}
|
|
@@ -6777,8 +6777,8 @@ function ma(t) {
|
|
|
6777
6777
|
u[6]
|
|
6778
6778
|
);
|
|
6779
6779
|
},
|
|
6780
|
-
i:
|
|
6781
|
-
o:
|
|
6780
|
+
i: ne,
|
|
6781
|
+
o: ne,
|
|
6782
6782
|
d(u) {
|
|
6783
6783
|
u && x(e), c && c.d(), d && d.d(), t[15](null), s = !1, De(a);
|
|
6784
6784
|
}
|
|
@@ -7058,8 +7058,8 @@ function wa(t) {
|
|
|
7058
7058
|
r[4]
|
|
7059
7059
|
);
|
|
7060
7060
|
},
|
|
7061
|
-
i:
|
|
7062
|
-
o:
|
|
7061
|
+
i: ne,
|
|
7062
|
+
o: ne,
|
|
7063
7063
|
d(r) {
|
|
7064
7064
|
r && x(e), o && o.d();
|
|
7065
7065
|
}
|
|
@@ -7193,8 +7193,8 @@ function ka(t) {
|
|
|
7193
7193
|
/*isVisible*/
|
|
7194
7194
|
l[5] ? n ? n.p(l, i) : (n = $n(l), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null);
|
|
7195
7195
|
},
|
|
7196
|
-
i:
|
|
7197
|
-
o:
|
|
7196
|
+
i: ne,
|
|
7197
|
+
o: ne,
|
|
7198
7198
|
d(l) {
|
|
7199
7199
|
l && x(e), n && n.d(l);
|
|
7200
7200
|
}
|
|
@@ -7274,7 +7274,7 @@ class Ca extends re {
|
|
|
7274
7274
|
}
|
|
7275
7275
|
customElements.define("goa-circular-progress", oe(Ca, { variant: {}, size: {}, message: {}, progress: {}, visible: {} }, [], [], !0));
|
|
7276
7276
|
function Ea(t) {
|
|
7277
|
-
ce(t, "svelte-
|
|
7277
|
+
ce(t, "svelte-mdr1f2", ":host{display:flex;flex:1 1 auto}.goa-container.svelte-mdr1f2.svelte-mdr1f2{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column}.goa-container.svelte-mdr1f2 .svelte-mdr1f2{box-sizing:border-box}header.svelte-mdr1f2.svelte-mdr1f2{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--goa-font-size-4);border-width:1px;border-style:solid;border-top-left-radius:var(--goa-border-radius-m);border-top-right-radius:var(--goa-border-radius-m)}.content.svelte-mdr1f2.svelte-mdr1f2{border-bottom:1px solid var(--goa-color-greyscale-200);border-left:1px solid var(--goa-color-greyscale-200);border-right:1px solid var(--goa-color-greyscale-200);border-bottom-left-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);display:flex;flex:1 1 auto;flex-direction:column}.content.svelte-mdr1f2 ::slotted(*:last-child){margin-bottom:0 !important}.goa-container--non-interactive.accent--filled.svelte-mdr1f2 .content.svelte-mdr1f2{border-color:var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-100)}.goa-container--important.accent--filled.svelte-mdr1f2 .content.svelte-mdr1f2{border-color:var(--goa-color-warning-default);background-color:var(--goa-color-warning-background)}.goa-container--error.accent--filled.svelte-mdr1f2 .content.svelte-mdr1f2{border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-emergency-background)}.goa-container--success.accent--filled.svelte-mdr1f2 .content.svelte-mdr1f2{border-color:var(--goa-color-success-default);background-color:var(--goa-color-success-background)}.goa-container--info.accent--filled.svelte-mdr1f2 .content.svelte-mdr1f2{border-color:var(--goa-color-info-default);background-color:var(--goa-color-info-background)}.title.svelte-mdr1f2.svelte-mdr1f2,.actions.svelte-mdr1f2.svelte-mdr1f2{padding:0.5rem 0}.padding--relaxed.svelte-mdr1f2 header.svelte-mdr1f2{padding:0 1.5rem}.padding--relaxed.svelte-mdr1f2 .content.svelte-mdr1f2{padding:1.5rem}.padding--compact.svelte-mdr1f2 header.svelte-mdr1f2,.padding--compact.svelte-mdr1f2 .content.svelte-mdr1f2{padding:0 1rem}.padding--compact.svelte-mdr1f2 header.svelte-mdr1f2{padding:0 1rem}.padding--compact.svelte-mdr1f2 .content.svelte-mdr1f2{padding:1rem}@container self (max-width: 623px){.padding--relaxed.svelte-mdr1f2 header.svelte-mdr1f2{padding:0 1rem}.padding--relaxed.svelte-mdr1f2 .content.svelte-mdr1f2{padding:1rem}}.goa-container--non-interactive.svelte-mdr1f2 header.svelte-mdr1f2{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);color:var(--goa-color-greyscale-black)}.goa-container--interactive.svelte-mdr1f2 header.svelte-mdr1f2{background-color:var(--goa-color-brand-default);border-color:var(--goa-color-brand-default);color:var(--goa-color-greyscale-white)}.goa-container--info.svelte-mdr1f2 header.svelte-mdr1f2{background-color:var(--goa-color-info-default);border-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.goa-container--error.svelte-mdr1f2 header.svelte-mdr1f2{background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.goa-container--success.svelte-mdr1f2 header.svelte-mdr1f2{background-color:var(--goa-color-success-default);border-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.goa-container--important.svelte-mdr1f2 header.svelte-mdr1f2{background-color:var(--goa-color-warning-default);border-color:var(--goa-color-warning-default);color:var(--goa-color-greyscale-white)}.heading--thick.svelte-mdr1f2.svelte-mdr1f2{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--thick.svelte-mdr1f2 .title.svelte-mdr1f2{line-height:2rem}.heading--thin.svelte-mdr1f2.svelte-mdr1f2{height:0.5rem}.heading--filled.svelte-mdr1f2.svelte-mdr1f2{display:none}.heading--filled.svelte-mdr1f2~.content.svelte-mdr1f2{border-top:1px solid var(--goa-color-greyscale-200);border-top-left-radius:var(--goa-border-radius-m);border-top-right-radius:var(--goa-border-radius-m)}.heading--thin.svelte-mdr1f2 .title.svelte-mdr1f2,.heading--thin.svelte-mdr1f2 .actions.svelte-mdr1f2{display:none}.actions.svelte-mdr1f2.svelte-mdr1f2{display:flex;align-items:center}");
|
|
7278
7278
|
}
|
|
7279
7279
|
const qa = (t) => ({}), nl = (t) => ({}), Ma = (t) => ({}), ll = (t) => ({});
|
|
7280
7280
|
function La(t) {
|
|
@@ -7309,8 +7309,8 @@ function La(t) {
|
|
|
7309
7309
|
);
|
|
7310
7310
|
return {
|
|
7311
7311
|
c() {
|
|
7312
|
-
e = z("div"), n = z("header"), l = z("div"), g && g.c(), i = B(), o = z("div"), v && v.c(), s = B(), a = z("div"), p && p.c(), f(l, "class", "title svelte-
|
|
7313
|
-
t[1] + " svelte-
|
|
7312
|
+
e = z("div"), n = z("header"), l = z("div"), g && g.c(), i = B(), o = z("div"), v && v.c(), s = B(), a = z("div"), p && p.c(), f(l, "class", "title svelte-mdr1f2"), f(o, "class", "actions svelte-mdr1f2"), f(n, "class", r = "heading--" + /*accent*/
|
|
7313
|
+
t[1] + " svelte-mdr1f2"), f(a, "class", "content svelte-mdr1f2"), f(
|
|
7314
7314
|
e,
|
|
7315
7315
|
"data-testid",
|
|
7316
7316
|
/*testid*/
|
|
@@ -7332,7 +7332,7 @@ function La(t) {
|
|
|
7332
7332
|
t[2]}
|
|
7333
7333
|
accent--${/*accent*/
|
|
7334
7334
|
t[1]}
|
|
7335
|
-
`) + " svelte-
|
|
7335
|
+
`) + " svelte-mdr1f2");
|
|
7336
7336
|
},
|
|
7337
7337
|
m(_, k) {
|
|
7338
7338
|
T(_, e, k), w(e, n), w(n, l), g && g.m(l, null), w(n, i), w(n, o), v && v.m(o, null), w(e, s), w(e, a), p && p.m(a, null), u = !0;
|
|
@@ -7376,7 +7376,7 @@ function La(t) {
|
|
|
7376
7376
|
nl
|
|
7377
7377
|
), (!u || k & /*accent*/
|
|
7378
7378
|
2 && r !== (r = "heading--" + /*accent*/
|
|
7379
|
-
_[1] + " svelte-
|
|
7379
|
+
_[1] + " svelte-mdr1f2")) && f(n, "class", r), p && p.p && (!u || k & /*$$scope*/
|
|
7380
7380
|
256) && J(
|
|
7381
7381
|
p,
|
|
7382
7382
|
b,
|
|
@@ -7419,7 +7419,7 @@ function La(t) {
|
|
|
7419
7419
|
_[2]}
|
|
7420
7420
|
accent--${/*accent*/
|
|
7421
7421
|
_[1]}
|
|
7422
|
-
`) + " svelte-
|
|
7422
|
+
`) + " svelte-mdr1f2")) && f(e, "class", d);
|
|
7423
7423
|
},
|
|
7424
7424
|
i(_) {
|
|
7425
7425
|
u || (N(g, _), N(v, _), N(p, _), u = !0);
|
|
@@ -7658,8 +7658,8 @@ function Da(t) {
|
|
|
7658
7658
|
a[10]
|
|
7659
7659
|
);
|
|
7660
7660
|
},
|
|
7661
|
-
i:
|
|
7662
|
-
o:
|
|
7661
|
+
i: ne,
|
|
7662
|
+
o: ne,
|
|
7663
7663
|
d(a) {
|
|
7664
7664
|
a && x(e), t[16](null), r = !1, De(s);
|
|
7665
7665
|
}
|
|
@@ -8070,8 +8070,8 @@ function Ba(t) {
|
|
|
8070
8070
|
l[4]
|
|
8071
8071
|
)) && f(e, "style", n);
|
|
8072
8072
|
},
|
|
8073
|
-
i:
|
|
8074
|
-
o:
|
|
8073
|
+
i: ne,
|
|
8074
|
+
o: ne,
|
|
8075
8075
|
d(l) {
|
|
8076
8076
|
l && x(e);
|
|
8077
8077
|
}
|
|
@@ -8989,10 +8989,10 @@ function Ka(t, e) {
|
|
|
8989
8989
|
return n = n.toLowerCase(), e = e.toLowerCase(), n.startsWith(e) || n.includes(" " + e);
|
|
8990
8990
|
}
|
|
8991
8991
|
function Xa(t, e, n) {
|
|
8992
|
-
let l, i, o, r, s, a, { $$slots: c = {}, $$scope: d } = e, { name: u } = e, { arialabel: m = "" } = e, { arialabelledby: g = "" } = e, { value: h = "" } = e, { filterable: v = "false" } = e, { leadingicon: b = null } = e, { maxheight: p = "276px" } = e, { placeholder: _ = "" } = e, { width: k = "" } = e, { disabled: q = "false" } = e, { error: M = "false" } = e, { multiselect: D = "false" } = e, { native: L = "false" } = e, { relative: E = "false" } = e, { mt: P = null } = e, { mr: j = null } = e, { mb: H = null } = e, { ml: A = null } = e, G = [], V = !1, S = -1, O, ge, R,
|
|
8992
|
+
let l, i, o, r, s, a, { $$slots: c = {}, $$scope: d } = e, { name: u } = e, { arialabel: m = "" } = e, { arialabelledby: g = "" } = e, { value: h = "" } = e, { filterable: v = "false" } = e, { leadingicon: b = null } = e, { maxheight: p = "276px" } = e, { placeholder: _ = "" } = e, { width: k = "" } = e, { disabled: q = "false" } = e, { error: M = "false" } = e, { multiselect: D = "false" } = e, { native: L = "false" } = e, { relative: E = "false" } = e, { mt: P = null } = e, { mr: j = null } = e, { mb: H = null } = e, { ml: A = null } = e, G = [], V = !1, S = -1, O, ge, R, we, he, de, me, Ee = !1, _e = [], Ve = [];
|
|
8993
8993
|
be(async () => {
|
|
8994
|
-
var
|
|
8995
|
-
await Me(), me = s ? new so(de) : new ao(de), n(16, G = se()), r || (n(23, de.value = ((
|
|
8994
|
+
var te;
|
|
8995
|
+
await Me(), me = s ? new so(de) : new ao(de), n(16, G = se()), r || (n(23, de.value = ((te = G.find((ye) => ye.value === h)) == null ? void 0 : te.label) ?? "", de), k && (n(18, O = k), k.endsWith("%") ? qe() : n(18, O = k)), !k && G.length > 0 && n(18, O = Be(G))), ot();
|
|
8996
8996
|
const Y = R.querySelector("slot");
|
|
8997
8997
|
Y == null || Y.addEventListener("slotchange", () => {
|
|
8998
8998
|
R && (n(16, G = se()), ot(), k || n(18, O = Be(G)), r || W());
|
|
@@ -9000,40 +9000,40 @@ function Xa(t, e, n) {
|
|
|
9000
9000
|
});
|
|
9001
9001
|
function qe() {
|
|
9002
9002
|
var ye;
|
|
9003
|
-
const Y = (ye = ge.getBoundingClientRect()) == null ? void 0 : ye.width,
|
|
9004
|
-
n(18, O =
|
|
9003
|
+
const Y = (ye = ge.getBoundingClientRect()) == null ? void 0 : ye.width, te = parseInt(k) / 100;
|
|
9004
|
+
n(18, O = te * Y + "px");
|
|
9005
9005
|
}
|
|
9006
9006
|
function W() {
|
|
9007
9007
|
if (de) {
|
|
9008
|
-
const Y = G.find((
|
|
9008
|
+
const Y = G.find((te) => te.value == Ve[0]);
|
|
9009
9009
|
n(23, de.value = (Y == null ? void 0 : Y.label) ?? (Y == null ? void 0 : Y.value) ?? "", de);
|
|
9010
9010
|
}
|
|
9011
9011
|
}
|
|
9012
|
-
function
|
|
9012
|
+
function pe() {
|
|
9013
9013
|
const Y = R.querySelector("slot");
|
|
9014
9014
|
return Y ? Y.assignedElements() : [...(r ? he : R).children];
|
|
9015
9015
|
}
|
|
9016
9016
|
function se() {
|
|
9017
|
-
return
|
|
9018
|
-
const
|
|
9017
|
+
return pe().filter((Y) => Y.tagName === "GOA-DROPDOWN-ITEM").map((Y) => {
|
|
9018
|
+
const te = Y, ye = Y.getAttribute("value") || te.value || "", Ne = Y.getAttribute("label") || te.label || Y.innerHTML || ye, ft = Y.getAttribute("filter") || Ne || ye || "";
|
|
9019
9019
|
return { value: ye, label: Ne, filter: ft };
|
|
9020
9020
|
});
|
|
9021
9021
|
}
|
|
9022
9022
|
function Be(Y) {
|
|
9023
|
-
const
|
|
9024
|
-
let ye = Math.max(
|
|
9023
|
+
const te = Y.map((Ne) => (`${Ne.label}` || `${Ne.value}` || "").length).sort((Ne, ft) => Ne > ft ? 1 : -1).pop();
|
|
9024
|
+
let ye = Math.max(te || 0, _.length) + 8;
|
|
9025
9025
|
return b && (ye += 2), `${ye}ch`;
|
|
9026
9026
|
}
|
|
9027
9027
|
function ee(Y) {
|
|
9028
|
-
let
|
|
9029
|
-
ye.length !== 0 && (
|
|
9028
|
+
let te = S + Y, ye = _e != null && _e.length ? _e : G;
|
|
9029
|
+
ye.length !== 0 && (te < 0 ? te = s ? ye.length - 1 : 0 : te >= ye.length && (te = s ? 0 : ye.length - 1), n(13, S = te), Te(te));
|
|
9030
9030
|
}
|
|
9031
9031
|
function Te(Y) {
|
|
9032
|
-
const
|
|
9033
|
-
if (!
|
|
9032
|
+
const te = we.querySelector(`li[data-index="${Y}"]`);
|
|
9033
|
+
if (!te)
|
|
9034
9034
|
return;
|
|
9035
|
-
const ye =
|
|
9036
|
-
ye.top >= 0 && ye.left >= 0 && ye.bottom <= Ne.height && ye.right <= Ne.width ||
|
|
9035
|
+
const ye = te.getBoundingClientRect(), Ne = we.getBoundingClientRect();
|
|
9036
|
+
ye.top >= 0 && ye.left >= 0 && ye.bottom <= Ne.height && ye.right <= Ne.width || te.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
|
9037
9037
|
}
|
|
9038
9038
|
function ot() {
|
|
9039
9039
|
n(14, _e = s ? G.filter((Y) => Ka(Y, de.value)) : G);
|
|
@@ -9050,10 +9050,10 @@ function Xa(t, e, n) {
|
|
|
9050
9050
|
n(17, V = !1);
|
|
9051
9051
|
}
|
|
9052
9052
|
function ut(Y) {
|
|
9053
|
-
const
|
|
9053
|
+
const te = o ? { name: u, values: [Y, ...Ve] } : { name: u, value: Y };
|
|
9054
9054
|
setTimeout(
|
|
9055
9055
|
() => {
|
|
9056
|
-
R.dispatchEvent(new CustomEvent("_change", { composed: !0, detail:
|
|
9056
|
+
R.dispatchEvent(new CustomEvent("_change", { composed: !0, detail: te })), Ee = !1;
|
|
9057
9057
|
},
|
|
9058
9058
|
1
|
|
9059
9059
|
);
|
|
@@ -9082,7 +9082,7 @@ function Xa(t, e, n) {
|
|
|
9082
9082
|
Xt(), Ue(), Y.stopPropagation();
|
|
9083
9083
|
}
|
|
9084
9084
|
function oo(Y) {
|
|
9085
|
-
const
|
|
9085
|
+
const te = Y.currentTarget, ye = G[te.selectedIndex];
|
|
9086
9086
|
Z(ye);
|
|
9087
9087
|
}
|
|
9088
9088
|
function Xt() {
|
|
@@ -9092,41 +9092,41 @@ function Xa(t, e, n) {
|
|
|
9092
9092
|
Ue(), Y.stopPropagation();
|
|
9093
9093
|
}
|
|
9094
9094
|
class so {
|
|
9095
|
-
constructor(
|
|
9096
|
-
this.input =
|
|
9095
|
+
constructor(te) {
|
|
9096
|
+
this.input = te, te.addEventListener("blur", async (ye) => {
|
|
9097
9097
|
if (!Ee || !s)
|
|
9098
9098
|
return;
|
|
9099
9099
|
const Ne = ye.target;
|
|
9100
9100
|
_e.find((vo) => vo.label === Ne.value) || (ut(""), Ne.value = "");
|
|
9101
9101
|
});
|
|
9102
9102
|
}
|
|
9103
|
-
onEscape(
|
|
9104
|
-
Xt(), de.focus(),
|
|
9103
|
+
onEscape(te) {
|
|
9104
|
+
Xt(), de.focus(), te.preventDefault(), te.stopPropagation();
|
|
9105
9105
|
}
|
|
9106
|
-
onEnter(
|
|
9106
|
+
onEnter(te) {
|
|
9107
9107
|
const ye = _e[S];
|
|
9108
|
-
ye && Z(ye), de.value ? et() : Ue(),
|
|
9108
|
+
ye && Z(ye), de.value ? et() : Ue(), te.stopPropagation();
|
|
9109
9109
|
}
|
|
9110
|
-
onArrow(
|
|
9111
|
-
V || Ue(), ee(ye === "up" ? -1 : 1),
|
|
9110
|
+
onArrow(te, ye) {
|
|
9111
|
+
V || Ue(), ee(ye === "up" ? -1 : 1), te.stopPropagation();
|
|
9112
9112
|
}
|
|
9113
|
-
onTab(
|
|
9113
|
+
onTab(te) {
|
|
9114
9114
|
const ye = _e.find((Ne) => Ne.label.toLowerCase() === this.input.value.toLowerCase());
|
|
9115
9115
|
ye && Z(ye), et();
|
|
9116
9116
|
}
|
|
9117
|
-
onKeyUp(
|
|
9117
|
+
onKeyUp(te) {
|
|
9118
9118
|
Ue(), Ee = !0;
|
|
9119
9119
|
}
|
|
9120
|
-
handleKeyUp(
|
|
9121
|
-
switch (
|
|
9120
|
+
handleKeyUp(te) {
|
|
9121
|
+
switch (te.key) {
|
|
9122
9122
|
case "Enter":
|
|
9123
|
-
this.onEnter(
|
|
9123
|
+
this.onEnter(te);
|
|
9124
9124
|
break;
|
|
9125
9125
|
case "ArrowUp":
|
|
9126
|
-
this.onArrow(
|
|
9126
|
+
this.onArrow(te, "up");
|
|
9127
9127
|
break;
|
|
9128
9128
|
case "ArrowDown":
|
|
9129
|
-
this.onArrow(
|
|
9129
|
+
this.onArrow(te, "down");
|
|
9130
9130
|
break;
|
|
9131
9131
|
case "Home":
|
|
9132
9132
|
this.input.setSelectionRange(0, 0);
|
|
@@ -9135,46 +9135,46 @@ function Xa(t, e, n) {
|
|
|
9135
9135
|
this.input.setSelectionRange(this.input.value.length, this.input.value.length);
|
|
9136
9136
|
break;
|
|
9137
9137
|
default:
|
|
9138
|
-
this.onKeyUp(
|
|
9138
|
+
this.onKeyUp(te);
|
|
9139
9139
|
break;
|
|
9140
9140
|
}
|
|
9141
9141
|
}
|
|
9142
|
-
handleKeyDown(
|
|
9143
|
-
switch (
|
|
9142
|
+
handleKeyDown(te) {
|
|
9143
|
+
switch (te.key) {
|
|
9144
9144
|
case "Escape":
|
|
9145
|
-
this.onEscape(
|
|
9145
|
+
this.onEscape(te);
|
|
9146
9146
|
break;
|
|
9147
9147
|
case "Tab":
|
|
9148
|
-
this.onTab(
|
|
9148
|
+
this.onTab(te);
|
|
9149
9149
|
break;
|
|
9150
9150
|
}
|
|
9151
9151
|
}
|
|
9152
9152
|
}
|
|
9153
9153
|
class ao {
|
|
9154
|
-
constructor(
|
|
9154
|
+
constructor(te) {
|
|
9155
9155
|
}
|
|
9156
|
-
onEnter(
|
|
9156
|
+
onEnter(te) {
|
|
9157
9157
|
if (V) {
|
|
9158
9158
|
const ye = _e[S];
|
|
9159
9159
|
ye && Z(ye), et();
|
|
9160
9160
|
} else
|
|
9161
9161
|
Ue();
|
|
9162
|
-
|
|
9162
|
+
te.preventDefault(), te.stopPropagation();
|
|
9163
9163
|
}
|
|
9164
|
-
onArrow(
|
|
9165
|
-
V || Ue(), ee(ye === "up" ? -1 : 1),
|
|
9164
|
+
onArrow(te, ye) {
|
|
9165
|
+
V || Ue(), ee(ye === "up" ? -1 : 1), te.preventDefault(), te.stopPropagation();
|
|
9166
9166
|
}
|
|
9167
|
-
handleKeyDown(
|
|
9168
|
-
switch (
|
|
9167
|
+
handleKeyDown(te) {
|
|
9168
|
+
switch (te.key) {
|
|
9169
9169
|
case " ":
|
|
9170
9170
|
case "Enter":
|
|
9171
|
-
this.onEnter(
|
|
9171
|
+
this.onEnter(te);
|
|
9172
9172
|
break;
|
|
9173
9173
|
case "ArrowUp":
|
|
9174
|
-
this.onArrow(
|
|
9174
|
+
this.onArrow(te, "up");
|
|
9175
9175
|
break;
|
|
9176
9176
|
case "ArrowDown":
|
|
9177
|
-
this.onArrow(
|
|
9177
|
+
this.onArrow(te, "down");
|
|
9178
9178
|
break;
|
|
9179
9179
|
case "Tab":
|
|
9180
9180
|
et();
|
|
@@ -9182,13 +9182,13 @@ function Xa(t, e, n) {
|
|
|
9182
9182
|
}
|
|
9183
9183
|
return !1;
|
|
9184
9184
|
}
|
|
9185
|
-
handleKeyUp(
|
|
9186
|
-
switch (
|
|
9185
|
+
handleKeyUp(te) {
|
|
9186
|
+
switch (te.key) {
|
|
9187
9187
|
case "ArrowUp":
|
|
9188
9188
|
case "ArrowDown":
|
|
9189
9189
|
case " ":
|
|
9190
9190
|
case "Enter":
|
|
9191
|
-
|
|
9191
|
+
te.preventDefault(), te.stopPropagation();
|
|
9192
9192
|
}
|
|
9193
9193
|
}
|
|
9194
9194
|
}
|
|
@@ -9205,7 +9205,7 @@ function Xa(t, e, n) {
|
|
|
9205
9205
|
const fo = (Y) => Z(Y);
|
|
9206
9206
|
function go(Y) {
|
|
9207
9207
|
ae[Y ? "unshift" : "push"](() => {
|
|
9208
|
-
|
|
9208
|
+
we = Y, n(21, we);
|
|
9209
9209
|
});
|
|
9210
9210
|
}
|
|
9211
9211
|
function mo(Y) {
|
|
@@ -9252,7 +9252,7 @@ function Xa(t, e, n) {
|
|
|
9252
9252
|
O,
|
|
9253
9253
|
ge,
|
|
9254
9254
|
R,
|
|
9255
|
-
|
|
9255
|
+
we,
|
|
9256
9256
|
he,
|
|
9257
9257
|
de,
|
|
9258
9258
|
s,
|
|
@@ -9469,7 +9469,7 @@ function tc(t) {
|
|
|
9469
9469
|
m(n, l) {
|
|
9470
9470
|
T(n, e, l);
|
|
9471
9471
|
},
|
|
9472
|
-
p:
|
|
9472
|
+
p: ne,
|
|
9473
9473
|
d(n) {
|
|
9474
9474
|
n && x(e);
|
|
9475
9475
|
}
|
|
@@ -9561,7 +9561,7 @@ function ic(t) {
|
|
|
9561
9561
|
m(n, l) {
|
|
9562
9562
|
T(n, e, l);
|
|
9563
9563
|
},
|
|
9564
|
-
p:
|
|
9564
|
+
p: ne,
|
|
9565
9565
|
d(n) {
|
|
9566
9566
|
n && x(e);
|
|
9567
9567
|
}
|
|
@@ -9608,7 +9608,7 @@ function rc(t) {
|
|
|
9608
9608
|
t[11]
|
|
9609
9609
|
), n = !0);
|
|
9610
9610
|
},
|
|
9611
|
-
p:
|
|
9611
|
+
p: ne,
|
|
9612
9612
|
d(i) {
|
|
9613
9613
|
i && x(e), n = !1, l();
|
|
9614
9614
|
}
|
|
@@ -9628,7 +9628,7 @@ function sc(t) {
|
|
|
9628
9628
|
t[10]
|
|
9629
9629
|
), n = !0);
|
|
9630
9630
|
},
|
|
9631
|
-
p:
|
|
9631
|
+
p: ne,
|
|
9632
9632
|
d(i) {
|
|
9633
9633
|
i && x(e), n = !1, l();
|
|
9634
9634
|
}
|
|
@@ -9648,7 +9648,7 @@ function ac(t) {
|
|
|
9648
9648
|
t[9]
|
|
9649
9649
|
), n = !0);
|
|
9650
9650
|
},
|
|
9651
|
-
p:
|
|
9651
|
+
p: ne,
|
|
9652
9652
|
d(i) {
|
|
9653
9653
|
i && x(e), n = !1, l();
|
|
9654
9654
|
}
|
|
@@ -9735,8 +9735,8 @@ function cc(t) {
|
|
|
9735
9735
|
D[3]
|
|
9736
9736
|
);
|
|
9737
9737
|
},
|
|
9738
|
-
i:
|
|
9739
|
-
o:
|
|
9738
|
+
i: ne,
|
|
9739
|
+
o: ne,
|
|
9740
9740
|
d(D) {
|
|
9741
9741
|
D && x(e), h.d(), v && v.d(), _ && _.d(), M && M.d(), t[12](null);
|
|
9742
9742
|
}
|
|
@@ -10101,8 +10101,8 @@ function mc(t) {
|
|
|
10101
10101
|
s[0] === "button" ? o ? o.p(s, a) : (o = vl(s), o.c(), o.m(n.parentNode, n)) : o && (o.d(1), o = null), /*issues*/
|
|
10102
10102
|
s[6].length ? r ? r.p(s, a) : (r = _l(s), r.c(), r.m(l.parentNode, l)) : r && (r.d(1), r = null);
|
|
10103
10103
|
},
|
|
10104
|
-
i:
|
|
10105
|
-
o:
|
|
10104
|
+
i: ne,
|
|
10105
|
+
o: ne,
|
|
10106
10106
|
d(s) {
|
|
10107
10107
|
s && (x(e), x(n), x(l)), i && i.d(s), o && o.d(s), r && r.d(s);
|
|
10108
10108
|
}
|
|
@@ -11290,7 +11290,7 @@ function Ic(t) {
|
|
|
11290
11290
|
m(n, l) {
|
|
11291
11291
|
T(n, e, l);
|
|
11292
11292
|
},
|
|
11293
|
-
p:
|
|
11293
|
+
p: ne,
|
|
11294
11294
|
d(n) {
|
|
11295
11295
|
n && x(e);
|
|
11296
11296
|
}
|
|
@@ -11305,7 +11305,7 @@ function Yc(t) {
|
|
|
11305
11305
|
m(n, l) {
|
|
11306
11306
|
T(n, e, l);
|
|
11307
11307
|
},
|
|
11308
|
-
p:
|
|
11308
|
+
p: ne,
|
|
11309
11309
|
d(n) {
|
|
11310
11310
|
n && x(e);
|
|
11311
11311
|
}
|
|
@@ -11320,7 +11320,7 @@ function Rc(t) {
|
|
|
11320
11320
|
m(n, l) {
|
|
11321
11321
|
T(n, e, l);
|
|
11322
11322
|
},
|
|
11323
|
-
p:
|
|
11323
|
+
p: ne,
|
|
11324
11324
|
d(n) {
|
|
11325
11325
|
n && x(e);
|
|
11326
11326
|
}
|
|
@@ -11451,8 +11451,8 @@ function Zc(t) {
|
|
|
11451
11451
|
64 && I(e, "desktop", !/*_isMobile*/
|
|
11452
11452
|
p[6]);
|
|
11453
11453
|
},
|
|
11454
|
-
i:
|
|
11455
|
-
o:
|
|
11454
|
+
i: ne,
|
|
11455
|
+
o: ne,
|
|
11456
11456
|
d(p) {
|
|
11457
11457
|
p && x(e), t[11](null), v.d(), b && b.d(), t[12](null);
|
|
11458
11458
|
}
|
|
@@ -12480,8 +12480,8 @@ function vd(t) {
|
|
|
12480
12480
|
s[4]
|
|
12481
12481
|
);
|
|
12482
12482
|
},
|
|
12483
|
-
i:
|
|
12484
|
-
o:
|
|
12483
|
+
i: ne,
|
|
12484
|
+
o: ne,
|
|
12485
12485
|
d(s) {
|
|
12486
12486
|
s && x(e), o = !1, r();
|
|
12487
12487
|
}
|
|
@@ -12847,8 +12847,8 @@ function zd(t) {
|
|
|
12847
12847
|
o[14]
|
|
12848
12848
|
);
|
|
12849
12849
|
},
|
|
12850
|
-
i:
|
|
12851
|
-
o:
|
|
12850
|
+
i: ne,
|
|
12851
|
+
o: ne,
|
|
12852
12852
|
d(o) {
|
|
12853
12853
|
o && x(e), i && i.d();
|
|
12854
12854
|
}
|
|
@@ -13569,7 +13569,7 @@ function Dd(t, e, n) {
|
|
|
13569
13569
|
"url",
|
|
13570
13570
|
"week"
|
|
13571
13571
|
]), [m, g] = ke("Input auto capitalize", ["on", "off", "none", "sentences", "words", "characters"]);
|
|
13572
|
-
let { type: h = "text" } = e, { name: v = "" } = e, { value: b = "" } = e, { autocapitalize: p = "off" } = e, { placeholder: _ = "" } = e, { leadingicon: k = null } = e, { trailingicon: q = null } = e, { variant: M = "goa" } = e, { disabled: D = "false" } = e, { handletrailingiconclick: L = "false" } = e, { focused: E = "false" } = e, { readonly: P = "false" } = e, { error: j = "false" } = e, { testid: H = "" } = e, { width: A = "30ch" } = e, { arialabel: G = "" } = e, { arialabelledby: V = "" } = e, { min: S = "" } = e, { max: O = "" } = e, { step: ge = 1 } = e, { prefix: R = "" } = e, { suffix:
|
|
13572
|
+
let { type: h = "text" } = e, { name: v = "" } = e, { value: b = "" } = e, { autocapitalize: p = "off" } = e, { placeholder: _ = "" } = e, { leadingicon: k = null } = e, { trailingicon: q = null } = e, { variant: M = "goa" } = e, { disabled: D = "false" } = e, { handletrailingiconclick: L = "false" } = e, { focused: E = "false" } = e, { readonly: P = "false" } = e, { error: j = "false" } = e, { testid: H = "" } = e, { width: A = "30ch" } = e, { arialabel: G = "" } = e, { arialabelledby: V = "" } = e, { min: S = "" } = e, { max: O = "" } = e, { step: ge = 1 } = e, { prefix: R = "" } = e, { suffix: we = "" } = e, { debounce: he = 0 } = e, { maxlength: de = null } = e, { id: me = "" } = e, { mt: Ee = null } = e, { mr: _e = null } = e, { mb: Ve = null } = e, { ml: qe = null } = e, W = !1, pe = !1, se, Be, ee;
|
|
13573
13573
|
function Te(Z) {
|
|
13574
13574
|
const je = Z.target;
|
|
13575
13575
|
je && (o || (se != null && clearTimeout(se), se = setTimeout(
|
|
@@ -13614,11 +13614,11 @@ function Dd(t, e, n) {
|
|
|
13614
13614
|
));
|
|
13615
13615
|
}
|
|
13616
13616
|
be(async () => {
|
|
13617
|
-
await Me(), u(h), g(p), (R != "" ||
|
|
13617
|
+
await Me(), u(h), g(p), (R != "" || we != "") && console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.");
|
|
13618
13618
|
const Z = ee.querySelector("slot[name=leadingContent]");
|
|
13619
13619
|
Z && Z.assignedNodes().length > 0 && n(24, W = !0);
|
|
13620
13620
|
const je = ee.querySelector("slot[name=trailingContent]");
|
|
13621
|
-
je && je.assignedNodes().length > 0 && n(25,
|
|
13621
|
+
je && je.assignedNodes().length > 0 && n(25, pe = !0);
|
|
13622
13622
|
});
|
|
13623
13623
|
function et(Z) {
|
|
13624
13624
|
ae[Z ? "unshift" : "push"](() => {
|
|
@@ -13631,7 +13631,7 @@ function Dd(t, e, n) {
|
|
|
13631
13631
|
});
|
|
13632
13632
|
}
|
|
13633
13633
|
return t.$$set = (Z) => {
|
|
13634
|
-
"type" in Z && n(1, h = Z.type), "name" in Z && n(2, v = Z.name), "value" in Z && n(0, b = Z.value), "autocapitalize" in Z && n(3, p = Z.autocapitalize), "placeholder" in Z && n(4, _ = Z.placeholder), "leadingicon" in Z && n(5, k = Z.leadingicon), "trailingicon" in Z && n(6, q = Z.trailingicon), "variant" in Z && n(7, M = Z.variant), "disabled" in Z && n(34, D = Z.disabled), "handletrailingiconclick" in Z && n(35, L = Z.handletrailingiconclick), "focused" in Z && n(36, E = Z.focused), "readonly" in Z && n(37, P = Z.readonly), "error" in Z && n(38, j = Z.error), "testid" in Z && n(8, H = Z.testid), "width" in Z && n(9, A = Z.width), "arialabel" in Z && n(10, G = Z.arialabel), "arialabelledby" in Z && n(11, V = Z.arialabelledby), "min" in Z && n(12, S = Z.min), "max" in Z && n(13, O = Z.max), "step" in Z && n(14, ge = Z.step), "prefix" in Z && n(15, R = Z.prefix), "suffix" in Z && n(16,
|
|
13634
|
+
"type" in Z && n(1, h = Z.type), "name" in Z && n(2, v = Z.name), "value" in Z && n(0, b = Z.value), "autocapitalize" in Z && n(3, p = Z.autocapitalize), "placeholder" in Z && n(4, _ = Z.placeholder), "leadingicon" in Z && n(5, k = Z.leadingicon), "trailingicon" in Z && n(6, q = Z.trailingicon), "variant" in Z && n(7, M = Z.variant), "disabled" in Z && n(34, D = Z.disabled), "handletrailingiconclick" in Z && n(35, L = Z.handletrailingiconclick), "focused" in Z && n(36, E = Z.focused), "readonly" in Z && n(37, P = Z.readonly), "error" in Z && n(38, j = Z.error), "testid" in Z && n(8, H = Z.testid), "width" in Z && n(9, A = Z.width), "arialabel" in Z && n(10, G = Z.arialabel), "arialabelledby" in Z && n(11, V = Z.arialabelledby), "min" in Z && n(12, S = Z.min), "max" in Z && n(13, O = Z.max), "step" in Z && n(14, ge = Z.step), "prefix" in Z && n(15, R = Z.prefix), "suffix" in Z && n(16, we = Z.suffix), "debounce" in Z && n(39, he = Z.debounce), "maxlength" in Z && n(17, de = Z.maxlength), "id" in Z && n(18, me = Z.id), "mt" in Z && n(19, Ee = Z.mt), "mr" in Z && n(20, _e = Z.mr), "mb" in Z && n(21, Ve = Z.mb), "ml" in Z && n(22, qe = Z.ml), "$$scope" in Z && n(41, c = Z.$$scope);
|
|
13635
13635
|
}, t.$$.update = () => {
|
|
13636
13636
|
t.$$.dirty[1] & /*handletrailingiconclick*/
|
|
13637
13637
|
16 && n(30, l = ve(L)), t.$$.dirty[1] & /*focused*/
|
|
@@ -13661,7 +13661,7 @@ function Dd(t, e, n) {
|
|
|
13661
13661
|
O,
|
|
13662
13662
|
ge,
|
|
13663
13663
|
R,
|
|
13664
|
-
|
|
13664
|
+
we,
|
|
13665
13665
|
de,
|
|
13666
13666
|
me,
|
|
13667
13667
|
Ee,
|
|
@@ -13670,7 +13670,7 @@ function Dd(t, e, n) {
|
|
|
13670
13670
|
qe,
|
|
13671
13671
|
Be,
|
|
13672
13672
|
W,
|
|
13673
|
-
|
|
13673
|
+
pe,
|
|
13674
13674
|
ee,
|
|
13675
13675
|
o,
|
|
13676
13676
|
s,
|
|
@@ -14058,8 +14058,8 @@ function Sd(t) {
|
|
|
14058
14058
|
8 && a !== (a = `--max-content-width: ${/*maxcontentwidth*/
|
|
14059
14059
|
m[3]}`) && f(n, "style", a);
|
|
14060
14060
|
},
|
|
14061
|
-
i:
|
|
14062
|
-
o:
|
|
14061
|
+
i: ne,
|
|
14062
|
+
o: ne,
|
|
14063
14063
|
d(m) {
|
|
14064
14064
|
m && x(e), c && c.d(), d && d.d(), u && u.d();
|
|
14065
14065
|
}
|
|
@@ -14173,11 +14173,11 @@ function $l(t) {
|
|
|
14173
14173
|
/*$$scope*/
|
|
14174
14174
|
t[18],
|
|
14175
14175
|
null
|
|
14176
|
-
),
|
|
14176
|
+
), we = (
|
|
14177
14177
|
/*#slots*/
|
|
14178
14178
|
t[19].actions
|
|
14179
14179
|
), he = X(
|
|
14180
|
-
|
|
14180
|
+
we,
|
|
14181
14181
|
t,
|
|
14182
14182
|
/*$$scope*/
|
|
14183
14183
|
t[18],
|
|
@@ -14253,12 +14253,12 @@ function $l(t) {
|
|
|
14253
14253
|
), he && he.p && (!P || me & /*$$scope*/
|
|
14254
14254
|
262144) && J(
|
|
14255
14255
|
he,
|
|
14256
|
-
|
|
14256
|
+
we,
|
|
14257
14257
|
t,
|
|
14258
14258
|
/*$$scope*/
|
|
14259
14259
|
t[18],
|
|
14260
14260
|
P ? Q(
|
|
14261
|
-
|
|
14261
|
+
we,
|
|
14262
14262
|
/*$$scope*/
|
|
14263
14263
|
t[18],
|
|
14264
14264
|
me,
|
|
@@ -14432,8 +14432,8 @@ function Wd(t) {
|
|
|
14432
14432
|
n[1]
|
|
14433
14433
|
);
|
|
14434
14434
|
},
|
|
14435
|
-
i:
|
|
14436
|
-
o:
|
|
14435
|
+
i: ne,
|
|
14436
|
+
o: ne,
|
|
14437
14437
|
d(n) {
|
|
14438
14438
|
n && x(e);
|
|
14439
14439
|
}
|
|
@@ -14453,7 +14453,7 @@ function ti(t) {
|
|
|
14453
14453
|
t[13]
|
|
14454
14454
|
), l = !0);
|
|
14455
14455
|
},
|
|
14456
|
-
p:
|
|
14456
|
+
p: ne,
|
|
14457
14457
|
d(o) {
|
|
14458
14458
|
o && x(e), l = !1, i();
|
|
14459
14459
|
}
|
|
@@ -15252,7 +15252,7 @@ function si(t) {
|
|
|
15252
15252
|
m(n, l) {
|
|
15253
15253
|
T(n, e, l);
|
|
15254
15254
|
},
|
|
15255
|
-
p:
|
|
15255
|
+
p: ne,
|
|
15256
15256
|
d(n) {
|
|
15257
15257
|
n && x(e);
|
|
15258
15258
|
}
|
|
@@ -15339,8 +15339,8 @@ function uu(t) {
|
|
|
15339
15339
|
v[2]
|
|
15340
15340
|
);
|
|
15341
15341
|
},
|
|
15342
|
-
i:
|
|
15343
|
-
o:
|
|
15342
|
+
i: ne,
|
|
15343
|
+
o: ne,
|
|
15344
15344
|
d(v) {
|
|
15345
15345
|
v && x(e), h && h.d(), m = !1, De(g);
|
|
15346
15346
|
}
|
|
@@ -15756,8 +15756,8 @@ function bu(t, e, n) {
|
|
|
15756
15756
|
be(async () => {
|
|
15757
15757
|
await Me(), H.addEventListener("keydown", ge);
|
|
15758
15758
|
const W = H.querySelector("slot");
|
|
15759
|
-
let
|
|
15760
|
-
W ?
|
|
15759
|
+
let pe;
|
|
15760
|
+
W ? pe = W.assignedElements() : pe = [...H.children], V = pe.find((se) => se.tabIndex >= 0) || H;
|
|
15761
15761
|
});
|
|
15762
15762
|
function O(W) {
|
|
15763
15763
|
he();
|
|
@@ -15766,7 +15766,7 @@ function bu(t, e, n) {
|
|
|
15766
15766
|
switch (W.key) {
|
|
15767
15767
|
case " ":
|
|
15768
15768
|
case "Enter":
|
|
15769
|
-
|
|
15769
|
+
we();
|
|
15770
15770
|
break;
|
|
15771
15771
|
case "Escape":
|
|
15772
15772
|
he();
|
|
@@ -15780,7 +15780,7 @@ function bu(t, e, n) {
|
|
|
15780
15780
|
break;
|
|
15781
15781
|
}
|
|
15782
15782
|
}
|
|
15783
|
-
function
|
|
15783
|
+
function we() {
|
|
15784
15784
|
o || (async () => (n(13, i = !0), await Me(), G.addEventListener("keydown", R, !0), j.dispatchEvent(new CustomEvent("_open", { composed: !0 }))))();
|
|
15785
15785
|
}
|
|
15786
15786
|
function he() {
|
|
@@ -15788,12 +15788,15 @@ function bu(t, e, n) {
|
|
|
15788
15788
|
}
|
|
15789
15789
|
async function de() {
|
|
15790
15790
|
await Me();
|
|
15791
|
-
const W = di(H),
|
|
15792
|
-
(
|
|
15791
|
+
const W = di(H), pe = di(A);
|
|
15792
|
+
if (pe.height < 20)
|
|
15793
|
+
return;
|
|
15794
|
+
const se = W.top, Be = window.innerHeight - W.bottom;
|
|
15795
|
+
(g === "auto" ? Be < pe.height && se > pe.height && se > Be : g === "above") && n(
|
|
15793
15796
|
16,
|
|
15794
|
-
A.style.top =
|
|
15797
|
+
A.style.top = r ? `${-pe.height}px` : `${W.y - pe.height + window.scrollY}px`,
|
|
15795
15798
|
A
|
|
15796
|
-
), document.body.clientWidth - W.left <
|
|
15799
|
+
), document.body.clientWidth - W.left < pe.width && W.left > pe.width && n(16, A.style.left = `${W.x - (pe.width - W.width)}px`, A);
|
|
15797
15800
|
}
|
|
15798
15801
|
function me(W) {
|
|
15799
15802
|
ae[W ? "unshift" : "push"](() => {
|
|
@@ -15850,7 +15853,7 @@ function bu(t, e, n) {
|
|
|
15850
15853
|
G,
|
|
15851
15854
|
r,
|
|
15852
15855
|
l,
|
|
15853
|
-
|
|
15856
|
+
we,
|
|
15854
15857
|
he,
|
|
15855
15858
|
m,
|
|
15856
15859
|
g,
|
|
@@ -17219,8 +17222,8 @@ function Uu(t) {
|
|
|
17219
17222
|
l[3]}-${/*size*/
|
|
17220
17223
|
l[1]} svelte-vc7r7m`) && f(e, "class", n);
|
|
17221
17224
|
},
|
|
17222
|
-
i:
|
|
17223
|
-
o:
|
|
17225
|
+
i: ne,
|
|
17226
|
+
o: ne,
|
|
17224
17227
|
d(l) {
|
|
17225
17228
|
l && x(e);
|
|
17226
17229
|
}
|
|
@@ -17672,19 +17675,32 @@ class Ge extends re {
|
|
|
17672
17675
|
}
|
|
17673
17676
|
customElements.define("goa-skeleton", oe(Ge, { maxwidth: {}, size: {}, linecount: {}, type: {}, testid: {}, mt: {}, mr: {}, mb: {}, ml: {} }, [], [], !0));
|
|
17674
17677
|
function tf(t) {
|
|
17675
|
-
let e;
|
|
17678
|
+
let e, n;
|
|
17676
17679
|
return {
|
|
17677
17680
|
c() {
|
|
17678
|
-
e = z("div")
|
|
17681
|
+
e = z("div"), f(e, "style", n = `
|
|
17682
|
+
height: var(--goa-space-${/*vspacing*/
|
|
17683
|
+
t[1]});
|
|
17684
|
+
width: var(--goa-space-${/*hspacing*/
|
|
17685
|
+
t[0]});
|
|
17686
|
+
`);
|
|
17679
17687
|
},
|
|
17680
|
-
m(
|
|
17681
|
-
T(
|
|
17688
|
+
m(l, i) {
|
|
17689
|
+
T(l, e, i), t[3](e);
|
|
17682
17690
|
},
|
|
17683
|
-
p
|
|
17684
|
-
|
|
17685
|
-
|
|
17686
|
-
|
|
17687
|
-
|
|
17691
|
+
p(l, [i]) {
|
|
17692
|
+
i & /*vspacing, hspacing*/
|
|
17693
|
+
3 && n !== (n = `
|
|
17694
|
+
height: var(--goa-space-${/*vspacing*/
|
|
17695
|
+
l[1]});
|
|
17696
|
+
width: var(--goa-space-${/*hspacing*/
|
|
17697
|
+
l[0]});
|
|
17698
|
+
`) && f(e, "style", n);
|
|
17699
|
+
},
|
|
17700
|
+
i: ne,
|
|
17701
|
+
o: ne,
|
|
17702
|
+
d(l) {
|
|
17703
|
+
l && x(e), t[3](null);
|
|
17688
17704
|
}
|
|
17689
17705
|
};
|
|
17690
17706
|
}
|
|
@@ -17696,25 +17712,25 @@ function nf(t, e, n) {
|
|
|
17696
17712
|
});
|
|
17697
17713
|
function r(s) {
|
|
17698
17714
|
ae[s ? "unshift" : "push"](() => {
|
|
17699
|
-
o = s, n(
|
|
17715
|
+
o = s, n(2, o);
|
|
17700
17716
|
});
|
|
17701
17717
|
}
|
|
17702
17718
|
return t.$$set = (s) => {
|
|
17703
|
-
"hspacing" in s && n(
|
|
17704
|
-
}, [
|
|
17719
|
+
"hspacing" in s && n(0, l = s.hspacing), "vspacing" in s && n(1, i = s.vspacing);
|
|
17720
|
+
}, [l, i, o, r];
|
|
17705
17721
|
}
|
|
17706
17722
|
class lf extends re {
|
|
17707
17723
|
constructor(e) {
|
|
17708
|
-
super(), ie(this, e, nf, tf, le, { hspacing:
|
|
17724
|
+
super(), ie(this, e, nf, tf, le, { hspacing: 0, vspacing: 1 });
|
|
17709
17725
|
}
|
|
17710
17726
|
get hspacing() {
|
|
17711
|
-
return this.$$.ctx[
|
|
17727
|
+
return this.$$.ctx[0];
|
|
17712
17728
|
}
|
|
17713
17729
|
set hspacing(e) {
|
|
17714
17730
|
this.$$set({ hspacing: e }), y();
|
|
17715
17731
|
}
|
|
17716
17732
|
get vspacing() {
|
|
17717
|
-
return this.$$.ctx[
|
|
17733
|
+
return this.$$.ctx[1];
|
|
17718
17734
|
}
|
|
17719
17735
|
set vspacing(e) {
|
|
17720
17736
|
this.$$set({ vspacing: e }), y();
|
|
@@ -17722,7 +17738,7 @@ class lf extends re {
|
|
|
17722
17738
|
}
|
|
17723
17739
|
customElements.define("goa-spacer", oe(lf, { hspacing: {}, vspacing: {} }, [], [], !0));
|
|
17724
17740
|
const ht = [];
|
|
17725
|
-
function of(t, e =
|
|
17741
|
+
function of(t, e = ne) {
|
|
17726
17742
|
let n;
|
|
17727
17743
|
const l = /* @__PURE__ */ new Set();
|
|
17728
17744
|
function i(s) {
|
|
@@ -17740,9 +17756,9 @@ function of(t, e = te) {
|
|
|
17740
17756
|
function o(s) {
|
|
17741
17757
|
i(s(t));
|
|
17742
17758
|
}
|
|
17743
|
-
function r(s, a =
|
|
17759
|
+
function r(s, a = ne) {
|
|
17744
17760
|
const c = [s, a];
|
|
17745
|
-
return l.add(c), l.size === 1 && (n = e(i, o) ||
|
|
17761
|
+
return l.add(c), l.size === 1 && (n = e(i, o) || ne), s(t), () => {
|
|
17746
17762
|
l.delete(c), l.size === 0 && n && (n(), n = null);
|
|
17747
17763
|
};
|
|
17748
17764
|
}
|
|
@@ -17958,8 +17974,8 @@ function af(t) {
|
|
|
17958
17974
|
/*ready*/
|
|
17959
17975
|
l[6] ? n ? n.p(l, i) : (n = pi(l), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null);
|
|
17960
17976
|
},
|
|
17961
|
-
i:
|
|
17962
|
-
o:
|
|
17977
|
+
i: ne,
|
|
17978
|
+
o: ne,
|
|
17963
17979
|
d(l) {
|
|
17964
17980
|
l && x(e), n && n.d(l);
|
|
17965
17981
|
}
|
|
@@ -19175,8 +19191,8 @@ function Of(t) {
|
|
|
19175
19191
|
m[14]
|
|
19176
19192
|
);
|
|
19177
19193
|
},
|
|
19178
|
-
i:
|
|
19179
|
-
o:
|
|
19194
|
+
i: ne,
|
|
19195
|
+
o: ne,
|
|
19180
19196
|
d(m) {
|
|
19181
19197
|
m && x(e), t[23](null), d && d.d(), u && u.d(), a = !1, De(c);
|
|
19182
19198
|
}
|
|
@@ -19785,8 +19801,8 @@ function Kf(t) {
|
|
|
19785
19801
|
}
|
|
19786
19802
|
function Xf(t, e, n) {
|
|
19787
19803
|
let { $$slots: l = {}, $$scope: i } = e, { content: o = "" } = e, { testid: r = "" } = e, { position: s = "top" } = e, { halign: a = "center" } = e, { mt: c = null } = e, { mr: d = null } = e, { mb: u = null } = e, { ml: m = null } = e;
|
|
19788
|
-
const [g, h] = ke("Tooltip positions", ["top", "bottom", "left", "right"], !1), [v, b] = ke("Tooltip alignment", ["left", "right", "center"], !1), p = (R,
|
|
19789
|
-
(R === "left" || R === "right") &&
|
|
19804
|
+
const [g, h] = ke("Tooltip positions", ["top", "bottom", "left", "right"], !1), [v, b] = ke("Tooltip alignment", ["left", "right", "center"], !1), p = (R, we) => {
|
|
19805
|
+
(R === "left" || R === "right") && we !== "center" && console.error(`[${we}] is an invalid option for position ${R}`);
|
|
19790
19806
|
};
|
|
19791
19807
|
let _ = 0, k, q, M, D = !1, L, E, P;
|
|
19792
19808
|
be(() => {
|
|
@@ -19817,7 +19833,7 @@ function Xf(t, e, n) {
|
|
|
19817
19833
|
async function A() {
|
|
19818
19834
|
if (await Me(), !q || !k)
|
|
19819
19835
|
return;
|
|
19820
|
-
const R = q.getBoundingClientRect(),
|
|
19836
|
+
const R = q.getBoundingClientRect(), we = k.getBoundingClientRect(), he = we.top, de = window.innerHeight - we.bottom, me = we.left, Ee = window.innerWidth - we.right, _e = Math.min(_ * 0.8, 400, R.width, Math.max(me, Ee) - 10), Ve = _e > we.width || _e > me || _e > Ee;
|
|
19821
19837
|
n(9, q.style.width = `${_e - 32}px`, q), Ve ? n(9, q.style.whiteSpace = "normal", q) : n(9, q.style.whiteSpace = "nowrap", q);
|
|
19822
19838
|
let qe = s, W = a;
|
|
19823
19839
|
s === "bottom" && R.height > de ? qe = "top" : s === "top" && R.height > he && (qe = "bottom"), s === "right" && R.width > Ee ? qe = "left" : s === "left" && R.width > me && (qe = "right"), a === "right" && R.width > Ee ? W = "left" : a === "left" && R.width > me ? W = "right" : a === "center" && (s === "top" || s === "bottom") && (R.width / 2 > me || R.width / 2 > Ee) && (W = me > Ee ? "left" : "right"), n(0, s = qe), n(1, a = W);
|